From e45ac25ac03f698ecbf1258602b59520fb777c8f Mon Sep 17 00:00:00 2001 From: luopei <285258675@qq.com> Date: Sun, 24 Jul 2022 17:21:09 +0800 Subject: [PATCH 01/16] feat(Collapse): collapse add toggleAll method for issues #10818 (#10837) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(Collapse): collapse add toggleAll method for issues #10818 * docs: fix some problems Co-authored-by: 骆沛 --- packages/vant/src/checkbox/README.zh-CN.md | 1 - .../vant/src/collapse-item/CollapseItem.tsx | 2 +- packages/vant/src/collapse/Collapse.tsx | 36 +- packages/vant/src/collapse/README.md | 72 ++ packages/vant/src/collapse/README.zh-CN.md | 78 ++ packages/vant/src/collapse/demo/index.vue | 49 ++ packages/vant/src/collapse/index.ts | 2 +- pnpm-lock.yaml | 712 ++++++++++++++---- 8 files changed, 785 insertions(+), 167 deletions(-) diff --git a/packages/vant/src/checkbox/README.zh-CN.md b/packages/vant/src/checkbox/README.zh-CN.md index 1c7f74ffd..2249dd0aa 100644 --- a/packages/vant/src/checkbox/README.zh-CN.md +++ b/packages/vant/src/checkbox/README.zh-CN.md @@ -192,7 +192,6 @@ export default { setup() { const checked = ref([]); const checkboxGroup = ref(null); - const checkAll = () => { checkboxGroup.value.toggleAll(true); } diff --git a/packages/vant/src/collapse-item/CollapseItem.tsx b/packages/vant/src/collapse-item/CollapseItem.tsx index 50ca2f4b8..e6e6dfde0 100644 --- a/packages/vant/src/collapse-item/CollapseItem.tsx +++ b/packages/vant/src/collapse-item/CollapseItem.tsx @@ -161,7 +161,7 @@ export default defineComponent({ )); - useExpose({ toggle }); + useExpose({ toggle, expanded, itemName: name }); return () => (
diff --git a/packages/vant/src/collapse/Collapse.tsx b/packages/vant/src/collapse/Collapse.tsx index adf682e46..dffac7ca1 100644 --- a/packages/vant/src/collapse/Collapse.tsx +++ b/packages/vant/src/collapse/Collapse.tsx @@ -3,6 +3,7 @@ import { type PropType, type InjectionKey, type ExtractPropTypes, + type ComponentPublicInstance, } from 'vue'; import { truthProp, @@ -11,6 +12,7 @@ import { type Numeric, } from '../utils'; import { useChildren } from '@vant/use'; +import { useExpose } from '../composables/use-expose'; const [name, bem] = createNamespace('collapse'); @@ -19,6 +21,13 @@ export type CollapseProvide = { isExpanded: (name: Numeric) => boolean; }; +export type CollapseToggleAllOptions = + | boolean + | { + expanded?: boolean; + skipDisabled?: boolean; + }; + export const COLLAPSE_KEY: InjectionKey = Symbol(name); const collapseProps = { @@ -32,6 +41,10 @@ const collapseProps = { export type CollapseProps = ExtractPropTypes; +export type CollapseInstance = ComponentPublicInstance<{ + toggleAll: (options?: boolean | CollapseToggleAllOptions) => void; +}>; + function validateModelValue( modelValue: Numeric | Numeric[], accordion: boolean @@ -59,7 +72,7 @@ export default defineComponent({ emits: ['change', 'update:modelValue'], setup(props, { emit, slots }) { - const { linkChildren } = useChildren(COLLAPSE_KEY); + const { linkChildren, children } = useChildren(COLLAPSE_KEY); const updateName = (name: Numeric | Numeric[]) => { emit('change', name); @@ -68,7 +81,6 @@ export default defineComponent({ const toggle = (name: Numeric, expanded: boolean) => { const { accordion, modelValue } = props; - if (accordion) { updateName(name === modelValue ? '' : name); } else if (expanded) { @@ -80,6 +92,24 @@ export default defineComponent({ } }; + const toggleAll = (options: boolean | CollapseToggleAllOptions = {}) => { + if (props.accordion) { + return; + } + if (typeof options === 'boolean') { + options = { expanded: options }; + } + const { expanded, skipDisabled } = options!; + const expandedChildren = children.filter((item: any) => { + if (item.disabled && skipDisabled) { + return item.expanded.value; + } + return expanded ?? !item.expanded.value; + }); + const names = expandedChildren.map((item) => item.itemName.value); + updateName(names); + }; + const isExpanded = (name: Numeric) => { const { accordion, modelValue } = props; @@ -94,7 +124,7 @@ export default defineComponent({ ? modelValue === name : (modelValue as Numeric[]).includes(name); }; - + useExpose({ toggleAll }); linkChildren({ toggle, isExpanded }); return () => ( diff --git a/packages/vant/src/collapse/README.md b/packages/vant/src/collapse/README.md index 90f136b89..3158070ca 100644 --- a/packages/vant/src/collapse/README.md +++ b/packages/vant/src/collapse/README.md @@ -108,6 +108,46 @@ export default { }; ``` +### Toggle All + +通过 `Collapse` 实例上的 `toggleAll` 方法可以实现全选与反选。 + +```html + + Content 1 + Content 2 + Content 3 + + +openAll +toggleAll +``` + +```js +import { ref } from 'vue'; + +export default { + setup() { + const activeNames = ref(['1']); + const collapse = ref(null); + + const openAll = () => { + collapse.value.toggleAll(true); + } + const toggleAll = () => { + collapse.value.toggleAll(); + }, + + return { + activeNames, + openAll, + toggleAll, + collapse, + }; + }, +}; +``` + ## API ### Collapse Props @@ -143,6 +183,37 @@ export default { | value-class | Value className | _string_ | - | | label-class | Label className | _string_ | - | +### Collapse Methods + +Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Collapse instance and call instance methods. + +| Name | Description | Attribute | Return value | +| --- | --- | --- | --- | +| toggleAll | Toggle expanded status of all collapses | _options?: boolean \| object_ | - | + +### toggleAll Usage + +```js +const { collapse } = this.$refs; + +// Toggle all +collapse.toggleAll(); +// Expand all +collapse.toggleAll(true); +// UnExpand all +collapse.toggleAll(false); + +// Toggle all, skip disabled +collapse.toggleAll({ + skipDisabled: true, +}); +// Expand all, skip disabled +collapse.toggleAll({ + expanded: true, + skipDisabled: true, +}); +``` + ### CollapseItem Methods Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get CollapseItem instance and call instance methods. @@ -160,6 +231,7 @@ import type { CollapseProps, CollapseItemProps, CollapseItemInstance, + CollapseToggleAllOptions, } from 'vant'; ``` diff --git a/packages/vant/src/collapse/README.zh-CN.md b/packages/vant/src/collapse/README.zh-CN.md index b047cb51f..118776703 100644 --- a/packages/vant/src/collapse/README.zh-CN.md +++ b/packages/vant/src/collapse/README.zh-CN.md @@ -124,6 +124,52 @@ export default { }; ``` +### 全部展开与全部切换 + +通过 `Collapse` 实例上的 `toggleAll` 方法可以实现全部展开与全部切换。 + +```html + + + 代码是写出来给人看的,附带能在机器上运行。 + + + 技术无非就是那些开发它的人的共同灵魂。 + + + 在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。 + + + +全部展开 +全部切换 +``` + +```js +import { ref } from 'vue'; + +export default { + setup() { + const activeNames = ref(['1']); + const collapse = ref(null); + + const openAll = () => { + collapse.value.toggleAll(true); + } + const toggleAll = () => { + collapse.value.toggleAll(); + }, + + return { + activeNames, + openAll, + toggleAll, + collapse, + }; + }, +}; +``` + ## API ### Collapse Props @@ -159,6 +205,37 @@ export default { | value-class | 右侧内容额外类名 | _string_ | - | | label-class | 描述信息额外类名 | _string_ | - | +### Collapse 方法 + +通过 ref 可以获取到 CollapseItem 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。 + +| 方法名 | 说明 | 参数 | 返回值 | +| --- | --- | --- | --- | +| toggleAll | 切换所有面板展开状态,传 `true` 为选中,`false` 为取消选中,不传参为取反 | _options?: boolean \| object_ | - | + +### toggleAll 方法示例 + +```js +const { collapse } = this.$refs; + +// 全部切换 +collapse.toggleAll(); +// 全部展开 +collapse.toggleAll(true); +// 全部收起 +collapse.toggleAll(false); + +// 全部全部切换,并跳过禁用的复选框 +collapse.toggleAll({ + skipDisabled: true, +}); +// 全部选中,并跳过禁用的复选框 +collapse.toggleAll({ + expanded: true, + skipDisabled: true, +}); +``` + ### CollapseItem 方法 通过 ref 可以获取到 CollapseItem 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。 @@ -176,6 +253,7 @@ import type { CollapseProps, CollapseItemProps, CollapseItemInstance, + CollapseToggleAllOptions, } from 'vant'; ``` diff --git a/packages/vant/src/collapse/demo/index.vue b/packages/vant/src/collapse/demo/index.vue index 53d5ffb28..c0af313e2 100644 --- a/packages/vant/src/collapse/demo/index.vue +++ b/packages/vant/src/collapse/demo/index.vue @@ -2,8 +2,10 @@ import VanCollapse from '..'; import VanCollapseItem from '../../collapse-item'; import VanIcon from '../../icon'; +import VanButton from '../../button'; import { ref } from 'vue'; import { useTranslate } from '../../../docs/site'; +import type { CollapseInstance } from '../Collapse'; const t = useTranslate({ 'zh-CN': { @@ -12,6 +14,9 @@ const t = useTranslate({ text3: '在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。', accordion: '手风琴', titleSlot: '自定义标题内容', + toggleAll: '全部展开与全部切换', + openAll: '全部展开', + inverse: '全部切换', }, 'en-US': { text1: 'Content 1', @@ -19,6 +24,9 @@ const t = useTranslate({ text3: 'Content 3', accordion: 'Accordion', titleSlot: 'Custom title', + toggleAll: 'Toggle All', + openAll: 'Open All', + inverse: 'Toggle All', }, }); @@ -26,6 +34,16 @@ const active1 = ref([0]); const active2 = ref(0); const active3 = ref([]); const active4 = ref([]); +const active5 = ref(['1']); + +const collapse = ref(); + +const openAll = () => { + collapse.value?.toggleAll?.(true); +}; +const toggleAll = () => { + collapse.value?.toggleAll?.(); +}; diff --git a/packages/vant/src/collapse/index.ts b/packages/vant/src/collapse/index.ts index 25c43e014..1168f456b 100644 --- a/packages/vant/src/collapse/index.ts +++ b/packages/vant/src/collapse/index.ts @@ -3,7 +3,7 @@ import _Collapse from './Collapse'; export const Collapse = withInstall(_Collapse); export default Collapse; -export type { CollapseProps } from './Collapse'; +export type { CollapseProps, CollapseToggleAllOptions } from './Collapse'; declare module 'vue' { export interface GlobalComponents { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fb96bce43..3cc5535b0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: 5.3 +lockfileVersion: 5.4 importers: @@ -6,19 +6,23 @@ importers: specifiers: '@vant/cli': workspace:* '@vant/eslint-config': workspace:* + '@vant/stylelint-config': workspace:* eslint: ^8.2.0 husky: ^8.0.1 nano-staged: ^0.8.0 prettier: ^2.5.0 rimraf: ^3.0.2 + stylelint: ^13.13.1 devDependencies: '@vant/cli': link:packages/vant-cli '@vant/eslint-config': link:packages/vant-eslint-config + '@vant/stylelint-config': link:packages/vant-stylelint-config eslint: 8.19.0 husky: 8.0.1 nano-staged: 0.8.0 prettier: 2.7.1 rimraf: 3.0.2 + stylelint: 13.13.1 packages/create-vant-cli-app: specifiers: @@ -95,9 +99,10 @@ importers: '@types/markdown-it': ^12.2.3 '@vant/eslint-config': ^3.3.2 '@vant/markdown-vetur': ^2.3.0 + '@vant/stylelint-config': ^1.4.2 '@vant/touch-emulator': ^1.3.2 - '@vitejs/plugin-vue': ^3.0.1 - '@vitejs/plugin-vue-jsx': ^2.0.0 + '@vitejs/plugin-vue': ^2.0.0 + '@vitejs/plugin-vue-jsx': ^1.3.3 '@vue/babel-plugin-jsx': ^1.1.1 autoprefixer: ^10.4.0 commander: ^9.3.0 @@ -126,9 +131,10 @@ importers: react: ^18 react-dom: ^18 release-it: ^15.1.1 + stylelint: ^13.0.0 transliteration: ^2.2.0 typescript: ^4.7.4 - vite: ^3.0.0 + vite: ^2.9.0 vite-plugin-html: ^2.1.1 vite-plugin-md: ^0.11.4 vue: ^3.2.27 @@ -137,13 +143,14 @@ importers: '@babel/core': 7.18.6 '@babel/preset-typescript': 7.18.6_@babel+core@7.18.6 '@docsearch/css': 3.1.1 - '@docsearch/js': 3.1.1_react-dom@18.2.0+react@18.2.0 + '@docsearch/js': 3.1.1_biqbaboplfbrettd7655fr4n2y '@types/jest': 27.5.2 '@vant/eslint-config': link:../vant-eslint-config '@vant/markdown-vetur': link:../vant-markdown-vetur + '@vant/stylelint-config': link:../vant-stylelint-config '@vant/touch-emulator': link:../vant-touch-emulator - '@vitejs/plugin-vue': 3.0.1_vite@3.0.2+vue@3.2.37 - '@vitejs/plugin-vue-jsx': 2.0.0_vite@3.0.2+vue@3.2.37 + '@vitejs/plugin-vue': 2.3.3_vite@2.9.13+vue@3.2.37 + '@vitejs/plugin-vue-jsx': 1.3.10 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6 autoprefixer: 10.4.7_postcss@8.4.14 commander: 9.3.0 @@ -162,7 +169,7 @@ importers: jest-serializer-html: 7.1.0 less: 4.1.3 markdown-it: 12.3.2 - markdown-it-anchor: 8.6.4_d643ca6eb40ae68ab966a77bead78073 + markdown-it-anchor: 8.6.4_2zb4u3vubltivolgu556vv4aom nano-staged: 0.8.0 nanospinner: 1.1.0 picocolors: 1.0.0 @@ -170,11 +177,12 @@ importers: postcss-load-config: 3.1.4_postcss@8.4.14 prettier: 2.7.1 release-it: 15.1.1 + stylelint: 13.13.1 transliteration: 2.2.0 typescript: 4.7.4 - vite: 3.0.2_less@4.1.3 - vite-plugin-html: 2.1.2_vite@3.0.2 - vite-plugin-md: 0.11.9_vite@3.0.2 + vite: 2.9.13_less@4.1.3 + vite-plugin-html: 2.1.2_vite@2.9.13 + vite-plugin-md: 0.11.9_vite@2.9.13 vue-router: 4.0.16_vue@3.2.37 devDependencies: '@jest/types': 27.5.1 @@ -197,9 +205,9 @@ importers: eslint-plugin-vue: ^9.1.1 typescript: ^4.7.4 dependencies: - '@typescript-eslint/eslint-plugin': 5.30.3_bd298502bfa44e376686f9e6b29811dd - '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 - eslint-config-airbnb-base: 15.0.0_86af6c937a18f7b068a2d4281b478827 + '@typescript-eslint/eslint-plugin': 5.30.3_xuuykav7urhdozug7htlfgar3u + '@typescript-eslint/parser': 5.30.3_4x5o4skxv6sl53vpwefgt23khm + eslint-config-airbnb-base: 15.0.0_q2xwze32dd33a2fc2qubwr4ie4 eslint-config-prettier: 8.5.0_eslint@8.19.0 eslint-plugin-import: 2.26.0_eslint@8.19.0 eslint-plugin-vue: 9.1.1_eslint@8.19.0 @@ -240,6 +248,17 @@ importers: release-it: 15.1.1 typescript: 4.7.4 + packages/vant-stylelint-config: + specifiers: + stylelint: ^13.0.0 + stylelint-config-prettier: ^8.0.1 + stylelint-config-standard: ^22.0.0 + dependencies: + stylelint-config-prettier: 8.0.2_stylelint@13.13.1 + stylelint-config-standard: 22.0.0_stylelint@13.13.1 + devDependencies: + stylelint: 13.13.1 + packages/vant-touch-emulator: specifiers: {} @@ -268,6 +287,9 @@ packages: peerDependencies: '@algolia/client-search': ^4.9.1 algoliasearch: ^4.9.1 + peerDependenciesMeta: + '@algolia/client-search': + optional: true dependencies: '@algolia/autocomplete-shared': 1.7.1 algoliasearch: 4.13.1 @@ -373,7 +395,6 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.1.1 '@jridgewell/trace-mapping': 0.3.14 - dev: false /@antfu/utils/0.5.2: resolution: {integrity: sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==} @@ -388,7 +409,6 @@ packages: /@babel/compat-data/7.18.6: resolution: {integrity: sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==} engines: {node: '>=6.9.0'} - dev: false /@babel/core/7.18.6: resolution: {integrity: sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==} @@ -411,7 +431,6 @@ packages: semver: 6.3.0 transitivePeerDependencies: - supports-color - dev: false /@babel/generator/7.18.7: resolution: {integrity: sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==} @@ -420,7 +439,6 @@ packages: '@babel/types': 7.18.7 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 - dev: false /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} @@ -440,7 +458,6 @@ packages: '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.1 semver: 6.3.0 - dev: false /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.18.6: resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} @@ -463,7 +480,6 @@ packages: /@babel/helper-environment-visitor/7.18.6: resolution: {integrity: sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==} engines: {node: '>=6.9.0'} - dev: false /@babel/helper-function-name/7.18.6: resolution: {integrity: sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==} @@ -471,14 +487,12 @@ packages: dependencies: '@babel/template': 7.18.6 '@babel/types': 7.18.7 - dev: false /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 - dev: false /@babel/helper-member-expression-to-functions/7.18.6: resolution: {integrity: sha512-CeHxqwwipekotzPDUuJOfIMtcIHBuc7WAzLmTYWctVigqS5RktNMQ5bEwQSuGewzYnCtTWa3BARXeiLxDTv+Ng==} @@ -492,7 +506,6 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 - dev: false /@babel/helper-module-transforms/7.18.6: resolution: {integrity: sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==} @@ -508,7 +521,6 @@ packages: '@babel/types': 7.18.7 transitivePeerDependencies: - supports-color - dev: false /@babel/helper-optimise-call-expression/7.18.6: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} @@ -540,14 +552,12 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 - dev: false /@babel/helper-split-export-declaration/7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 - dev: false /@babel/helper-validator-identifier/7.18.6: resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} @@ -556,7 +566,6 @@ packages: /@babel/helper-validator-option/7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} - dev: false /@babel/helpers/7.18.6: resolution: {integrity: sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==} @@ -567,7 +576,6 @@ packages: '@babel/types': 7.18.7 transitivePeerDependencies: - supports-color - dev: false /@babel/highlight/7.18.6: resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} @@ -727,20 +735,6 @@ packages: - supports-color dev: false - /@babel/plugin-transform-typescript/7.18.8_@babel+core@7.18.6: - resolution: {integrity: sha512-p2xM8HI83UObjsZGofMV/EdYjamsDm6MoN3hXPYIT0+gxIoopE+B7rPYKAxfrz9K9PK7JafTTjqYC6qipLExYA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.6 - '@babel/helper-plugin-utils': 7.18.6 - '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.6 - transitivePeerDependencies: - - supports-color - dev: false - /@babel/preset-typescript/7.18.6_@babel+core@7.18.6: resolution: {integrity: sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==} engines: {node: '>=6.9.0'} @@ -762,7 +756,6 @@ packages: '@babel/code-frame': 7.18.6 '@babel/parser': 7.18.6 '@babel/types': 7.18.7 - dev: false /@babel/traverse/7.18.6: resolution: {integrity: sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==} @@ -780,7 +773,6 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: false /@babel/types/7.18.7: resolution: {integrity: sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==} @@ -797,10 +789,10 @@ packages: resolution: {integrity: sha512-utLgg7E1agqQeqCJn05DWC7XXMk4tMUUnL7MZupcknRu2OzGN13qwey2qA/0NAKkVBGugiWtON0+rlU0QIPojg==} dev: false - /@docsearch/js/3.1.1_react-dom@18.2.0+react@18.2.0: + /@docsearch/js/3.1.1_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-bt7l2aKRoSnLUuX+s4LVQ1a7AF2c9myiZNv5uvQCePG5tpvVGpwrnMwqVXOUJn9q6FwVVhOrQMO/t+QmnnAEUw==} dependencies: - '@docsearch/react': 3.1.1_react-dom@18.2.0+react@18.2.0 + '@docsearch/react': 3.1.1_biqbaboplfbrettd7655fr4n2y preact: 10.8.2 transitivePeerDependencies: - '@algolia/client-search' @@ -809,12 +801,19 @@ packages: - react-dom dev: false - /@docsearch/react/3.1.1_react-dom@18.2.0+react@18.2.0: + /@docsearch/react/3.1.1_biqbaboplfbrettd7655fr4n2y: resolution: {integrity: sha512-cfoql4qvtsVRqBMYxhlGNpvyy/KlCoPqjIsJSZYqYf9AplZncKjLBTcwBu6RXFMVCe30cIFljniI4OjqAU67pQ==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' react-dom: '>= 16.8.0 < 19.0.0' + peerDependenciesMeta: + '@types/react': + optional: true + react: + optional: true + react-dom: + optional: true dependencies: '@algolia/autocomplete-core': 1.7.1 '@algolia/autocomplete-preset-algolia': 1.7.1_algoliasearch@4.13.1 @@ -1075,7 +1074,6 @@ packages: dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 - dev: false /@jridgewell/gen-mapping/0.3.2: resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} @@ -1084,17 +1082,14 @@ packages: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/trace-mapping': 0.3.14 - dev: false /@jridgewell/resolve-uri/3.0.8: resolution: {integrity: sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==} engines: {node: '>=6.0.0'} - dev: false /@jridgewell/set-array/1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} - dev: false /@jridgewell/source-map/0.3.2: resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} @@ -1105,14 +1100,12 @@ packages: /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - dev: false /@jridgewell/trace-mapping/0.3.14: resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} dependencies: '@jridgewell/resolve-uri': 3.0.8 '@jridgewell/sourcemap-codec': 1.4.14 - dev: false /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -1268,6 +1261,32 @@ packages: '@sinonjs/commons': 1.8.3 dev: false + /@stylelint/postcss-css-in-js/0.37.3_j55xdkkcxc32kvnyvx3y7casfm: + resolution: {integrity: sha512-scLk3cSH1H9KggSniseb2KNAU5D9FWc3H7BxCSAIdtU9OWIyw0zkEZ9qEKHryRM+SExYXRKNb7tOOVNAsQ3iwg==} + peerDependencies: + postcss: '>=7.0.0' + postcss-syntax: '>=0.36.2' + dependencies: + '@babel/core': 7.18.6 + postcss: 7.0.39 + postcss-syntax: 0.36.2_postcss@7.0.39 + transitivePeerDependencies: + - supports-color + + /@stylelint/postcss-markdown/0.36.2_j55xdkkcxc32kvnyvx3y7casfm: + resolution: {integrity: sha512-2kGbqUVJUGE8dM+bMzXG/PYUWKkjLIkRLWNh39OaADkiabDRdw8ATFCgbMz5xdIcvwspPAluSL7uY+ZiTWdWmQ==} + deprecated: 'Use the original unforked package instead: postcss-markdown' + peerDependencies: + postcss: '>=7.0.0' + postcss-syntax: '>=0.36.2' + dependencies: + postcss: 7.0.39 + postcss-syntax: 0.36.2_postcss@7.0.39 + remark: 13.0.0 + unist-util-find-all-after: 3.0.2 + transitivePeerDependencies: + - supports-color + /@szmarczak/http-timer/5.0.1: resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} @@ -1386,12 +1405,16 @@ packages: '@types/linkify-it': 3.0.2 '@types/mdurl': 1.0.2 + /@types/mdast/3.0.10: + resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} + dependencies: + '@types/unist': 2.0.6 + /@types/mdurl/1.0.2: resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==} /@types/minimist/1.2.2: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} - dev: false /@types/node/16.11.42: resolution: {integrity: sha512-iwLrPOopPy6V3E+1yHTpJea3bdsNso0b0utLOJJwaa/PLzqBt3GZl3stMcakc/gr89SfcNk2ki3z7Gvue9hYGQ==} @@ -1402,7 +1425,6 @@ packages: /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} - dev: false /@types/parse-json/4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} @@ -1426,6 +1448,9 @@ packages: '@types/node': 18.0.0 dev: true + /@types/unist/2.0.6: + resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} + /@types/yargs-parser/21.0.0: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} @@ -1434,7 +1459,7 @@ packages: dependencies: '@types/yargs-parser': 21.0.0 - /@typescript-eslint/eslint-plugin/5.30.3_bd298502bfa44e376686f9e6b29811dd: + /@typescript-eslint/eslint-plugin/5.30.3_xuuykav7urhdozug7htlfgar3u: resolution: {integrity: sha512-QEgE1uahnDbWEkZlidq7uKB630ny1NN8KbLPmznX+8hYsYpoV1/quG1Nzvs141FVuumuS7O0EpqYw3RB4AVzRg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1445,10 +1470,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/parser': 5.30.3_4x5o4skxv6sl53vpwefgt23khm '@typescript-eslint/scope-manager': 5.30.3 - '@typescript-eslint/type-utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 - '@typescript-eslint/utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/type-utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm debug: 4.3.4 eslint: 8.19.0 functional-red-black-tree: 1.0.1 @@ -1461,7 +1486,7 @@ packages: - supports-color dev: false - /@typescript-eslint/parser/5.30.3_eslint@8.19.0+typescript@4.7.4: + /@typescript-eslint/parser/5.30.3_4x5o4skxv6sl53vpwefgt23khm: resolution: {integrity: sha512-ddwGEPC3E49DduAUC8UThQafHRE5uc1NE8jdOgl+w8/NrYF50MJQNeD3u4JZrqAXdY9rJz0CdQ9HpNME20CzkA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1489,7 +1514,7 @@ packages: '@typescript-eslint/visitor-keys': 5.30.3 dev: false - /@typescript-eslint/type-utils/5.30.3_eslint@8.19.0+typescript@4.7.4: + /@typescript-eslint/type-utils/5.30.3_4x5o4skxv6sl53vpwefgt23khm: resolution: {integrity: sha512-IIzakE7OXOqdwPaXhRiPnaZ8OuJJYBLufOffd9fqzkI4IMFIYq8KC7bghdnF7QUJTirURRErQFrJ/w5UpwIqaw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1499,7 +1524,7 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm debug: 4.3.4 eslint: 8.19.0 tsutils: 3.21.0_typescript@4.7.4 @@ -1534,7 +1559,7 @@ packages: - supports-color dev: false - /@typescript-eslint/utils/5.30.3_eslint@8.19.0+typescript@4.7.4: + /@typescript-eslint/utils/5.30.3_4x5o4skxv6sl53vpwefgt23khm: resolution: {integrity: sha512-OEaBXGxxdIy35H+jyXfYAMQ66KMJczK9hEhL3gR6IRbWe5PyK+bPDC9zbQNVII6rNFTfF/Mse0z21NlEU+vOMw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1560,31 +1585,28 @@ packages: eslint-visitor-keys: 3.3.0 dev: false - /@vitejs/plugin-vue-jsx/2.0.0_vite@3.0.2+vue@3.2.37: - resolution: {integrity: sha512-WF9ApZ/ivyyW3volQfu0Td0KNPhcccYEaRNzNY1NxRLVJQLSX0nFqquv3e2g7MF74p1XZK4bGtDL2y5i5O5+1A==} - engines: {node: '>=14.18.0'} - peerDependencies: - vite: ^3.0.0 - vue: ^3.0.0 + /@vitejs/plugin-vue-jsx/1.3.10: + resolution: {integrity: sha512-Cf5zznh4yNMiEMBfTOztaDVDmK1XXfgxClzOSUVUc8WAmHzogrCUeM8B05ABzuGtg0D1amfng+mUmSIOFGP3Pw==} + engines: {node: '>=12.0.0'} dependencies: '@babel/core': 7.18.6 '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.6 - '@babel/plugin-transform-typescript': 7.18.8_@babel+core@7.18.6 + '@babel/plugin-transform-typescript': 7.18.6_@babel+core@7.18.6 + '@rollup/pluginutils': 4.2.1 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6 - vite: 3.0.2_less@4.1.3 - vue: 3.2.37 + hash-sum: 2.0.0 transitivePeerDependencies: - supports-color dev: false - /@vitejs/plugin-vue/3.0.1_vite@3.0.2+vue@3.2.37: - resolution: {integrity: sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A==} - engines: {node: ^14.18.0 || >=16.0.0} + /@vitejs/plugin-vue/2.3.3_vite@2.9.13+vue@3.2.37: + resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} + engines: {node: '>=12.0.0'} peerDependencies: - vite: ^3.0.0 + vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 3.0.2_less@4.1.3 + vite: 2.9.13_less@4.1.3 vue: 3.2.37 dev: false @@ -1769,6 +1791,14 @@ packages: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + /ajv/8.11.0: + resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + /algoliasearch/4.13.1: resolution: {integrity: sha512-dtHUSE0caWTCE7liE1xaL+19AFf6kWEcyn76uhcitWpntqvicFHXKFoZe5JJcv9whQOTRM6+B8qJz6sFj+rDJA==} dependencies: @@ -1870,7 +1900,6 @@ packages: /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - dev: false /array.prototype.flat/1.3.0: resolution: {integrity: sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==} @@ -1895,7 +1924,6 @@ packages: /arrify/1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} - dev: false /ast-types/0.13.4: resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} @@ -1903,6 +1931,10 @@ packages: dependencies: tslib: 2.4.0 + /astral-regex/2.0.0: + resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} + engines: {node: '>=8'} + /async-retry/1.3.3: resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} dependencies: @@ -1931,6 +1963,18 @@ packages: postcss-value-parser: 4.2.0 dev: false + /autoprefixer/9.8.8: + resolution: {integrity: sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==} + hasBin: true + dependencies: + browserslist: 4.21.1 + caniuse-lite: 1.0.30001361 + normalize-range: 0.1.2 + num2fraction: 1.2.2 + picocolors: 0.2.1 + postcss: 7.0.39 + postcss-value-parser: 4.2.0 + /babel-jest/27.5.1_@babel+core@7.18.6: resolution: {integrity: sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -2004,9 +2048,15 @@ packages: babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.6 dev: false + /bail/1.0.5: + resolution: {integrity: sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==} + /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + /balanced-match/2.0.0: + resolution: {integrity: sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==} + /base64-js/1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -2076,7 +2126,6 @@ packages: electron-to-chromium: 1.4.177 node-releases: 2.0.5 update-browserslist-db: 1.0.4_browserslist@4.21.1 - dev: false /bser/2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} @@ -2145,12 +2194,10 @@ packages: camelcase: 5.3.1 map-obj: 4.3.0 quick-lru: 4.0.1 - dev: false /camelcase/5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} - dev: false /camelcase/6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} @@ -2163,7 +2210,6 @@ packages: /caniuse-lite/1.0.30001361: resolution: {integrity: sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==} - dev: false /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -2189,6 +2235,15 @@ packages: engines: {node: '>=10'} dev: false + /character-entities-legacy/1.1.4: + resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} + + /character-entities/1.2.4: + resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} + + /character-reference-invalid/1.1.4: + resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} + /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -2244,6 +2299,12 @@ packages: wrap-ansi: 7.0.0 dev: false + /clone-regexp/2.2.0: + resolution: {integrity: sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==} + engines: {node: '>=6'} + dependencies: + is-regexp: 2.1.0 + /clone-response/1.0.2: resolution: {integrity: sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==} dependencies: @@ -2490,7 +2551,6 @@ packages: resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} dependencies: safe-buffer: 5.1.2 - dev: false /copy-anything/2.0.6: resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} @@ -2529,7 +2589,6 @@ packages: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} hasBin: true - dev: false /cssfontparser/1.2.1: resolution: {integrity: sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==} @@ -2605,12 +2664,10 @@ packages: dependencies: decamelize: 1.2.0 map-obj: 1.0.1 - dev: false /decamelize/1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} - dev: false /decimal.js/10.3.1: resolution: {integrity: sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==} @@ -2722,15 +2779,12 @@ packages: dependencies: domelementtype: 2.3.0 entities: 2.2.0 - dev: false /domelementtype/1.3.1: resolution: {integrity: sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==} - dev: false /domelementtype/2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} - dev: false /domexception/2.0.1: resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==} @@ -2743,14 +2797,12 @@ packages: resolution: {integrity: sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==} dependencies: domelementtype: 1.3.1 - dev: false /domutils/1.7.0: resolution: {integrity: sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==} dependencies: dom-serializer: 0.2.2 domelementtype: 1.3.1 - dev: false /dot-case/3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} @@ -2794,7 +2846,6 @@ packages: /electron-to-chromium/1.4.177: resolution: {integrity: sha512-FYPir3NSBEGexSZUEeht81oVhHfLFl6mhUKSkjHN/iB/TwEIt/WHQrqVGfTLN5gQxwJCQkIJBe05eOXjI7omgg==} - dev: false /emittery/0.8.1: resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==} @@ -2822,7 +2873,6 @@ packages: /entities/1.1.2: resolution: {integrity: sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==} - dev: false /entities/2.1.0: resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==} @@ -2830,7 +2880,6 @@ packages: /entities/2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} - dev: false /errno/0.1.8: resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} @@ -3093,7 +3142,6 @@ packages: /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} - dev: false /escape-goat/4.0.0: resolution: {integrity: sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==} @@ -3141,7 +3189,7 @@ packages: source-map: 0.6.1 dev: false - /eslint-config-airbnb-base/15.0.0_86af6c937a18f7b068a2d4281b478827: + /eslint-config-airbnb-base/15.0.0_q2xwze32dd33a2fc2qubwr4ie4: resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==} engines: {node: ^10.12.0 || >=12.0.0} peerDependencies: @@ -3363,6 +3411,12 @@ packages: signal-exit: 3.0.7 strip-final-newline: 3.0.0 + /execall/2.0.0: + resolution: {integrity: sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==} + engines: {node: '>=8'} + dependencies: + clone-regexp: 2.2.0 + /exit/0.1.2: resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} @@ -3385,6 +3439,9 @@ packages: is-extendable: 0.1.1 dev: false + /extend/3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + /external-editor/3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} @@ -3412,6 +3469,9 @@ packages: /fast-levenshtein/2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + /fastest-levenshtein/1.0.12: + resolution: {integrity: sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==} + /fastq/1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: @@ -3476,7 +3536,6 @@ packages: dependencies: locate-path: 5.0.0 path-exists: 4.0.0 - dev: false /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} @@ -3568,7 +3627,6 @@ packages: /gensync/1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} - dev: false /get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} @@ -3598,6 +3656,10 @@ packages: yargs: 16.2.0 dev: false + /get-stdin/8.0.0: + resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} + engines: {node: '>=10'} + /get-stream/5.2.0: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} @@ -3702,10 +3764,23 @@ packages: dependencies: ini: 2.0.0 + /global-modules/2.0.0: + resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==} + engines: {node: '>=6'} + dependencies: + global-prefix: 3.0.0 + + /global-prefix/3.0.0: + resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} + engines: {node: '>=6'} + dependencies: + ini: 1.3.8 + kind-of: 6.0.3 + which: 1.3.1 + /globals/11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - dev: false /globals/13.15.0: resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==} @@ -3723,7 +3798,6 @@ packages: ignore: 5.2.0 merge2: 1.4.1 slash: 3.0.0 - dev: false /globby/13.1.2: resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} @@ -3735,6 +3809,16 @@ packages: merge2: 1.4.1 slash: 4.0.0 + /globjoin/0.1.4: + resolution: {integrity: sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==} + + /gonzales-pe/4.3.0: + resolution: {integrity: sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==} + engines: {node: '>=0.6.0'} + hasBin: true + dependencies: + minimist: 1.2.6 + /got/12.1.0: resolution: {integrity: sha512-hBv2ty9QN2RdbJJMK3hesmSkFTjVIHyIDDbssCKnSmq62edGgImJWD10Eb1k77TiV1bxloxqcFAVK8+9pkhOig==} engines: {node: '>=14.16'} @@ -3782,7 +3866,6 @@ packages: /hard-rejection/2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} engines: {node: '>=6'} - dev: false /has-bigints/1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -3836,14 +3919,12 @@ packages: /hosted-git-info/2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - dev: false /hosted-git-info/4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} dependencies: lru-cache: 6.0.0 - dev: false /html-encoding-sniffer/2.0.1: resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==} @@ -3873,7 +3954,6 @@ packages: /html-tags/3.2.0: resolution: {integrity: sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==} engines: {node: '>=8'} - dev: false /htmlparser2/3.10.1: resolution: {integrity: sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==} @@ -3884,7 +3964,6 @@ packages: entities: 1.1.2 inherits: 2.0.4 readable-stream: 3.6.0 - dev: false /http-cache-semantics/4.1.0: resolution: {integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==} @@ -3994,7 +4073,6 @@ packages: /indent-string/4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} - dev: false /inflight/1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} @@ -4068,6 +4146,15 @@ packages: /ip/1.1.8: resolution: {integrity: sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==} + /is-alphabetical/1.0.4: + resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} + + /is-alphanumerical/1.0.4: + resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} + dependencies: + is-alphabetical: 1.0.4 + is-decimal: 1.0.4 + /is-arguments/1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} @@ -4090,6 +4177,10 @@ packages: call-bind: 1.0.2 has-tostringtag: 1.0.0 + /is-buffer/2.0.5: + resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} + engines: {node: '>=4'} + /is-callable/1.2.4: resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==} engines: {node: '>= 0.4'} @@ -4111,6 +4202,9 @@ packages: dependencies: has-tostringtag: 1.0.0 + /is-decimal/1.0.4: + resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} + /is-docker/2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} @@ -4140,6 +4234,9 @@ packages: dependencies: is-extglob: 2.1.1 + /is-hexadecimal/1.0.4: + resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} + /is-installed-globally/0.4.0: resolution: {integrity: sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==} engines: {node: '>=10'} @@ -4188,7 +4285,10 @@ packages: /is-plain-obj/1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} - dev: false + + /is-plain-obj/2.1.0: + resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} + engines: {node: '>=8'} /is-plain-object/5.0.0: resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} @@ -4205,6 +4305,10 @@ packages: call-bind: 1.0.2 has-tostringtag: 1.0.0 + /is-regexp/2.1.0: + resolution: {integrity: sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==} + engines: {node: '>=6'} + /is-set/2.0.2: resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} @@ -4251,7 +4355,6 @@ packages: /is-unicode-supported/0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} - dev: false /is-unicode-supported/1.2.0: resolution: {integrity: sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ==} @@ -4897,7 +5000,6 @@ packages: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} hasBin: true - dev: false /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -4912,6 +5014,9 @@ packages: /json-schema-traverse/0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + /json-schema-traverse/1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + /json-stable-stringify-without-jsonify/1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -4930,7 +5035,6 @@ packages: resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} engines: {node: '>=6'} hasBin: true - dev: false /jsonfile/4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -4959,13 +5063,15 @@ packages: /kind-of/6.0.3: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - dev: false /kleur/3.0.3: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} dev: false + /known-css-properties/0.21.0: + resolution: {integrity: sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==} + /latest-version/7.0.0: resolution: {integrity: sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg==} engines: {node: '>=14.16'} @@ -5046,7 +5152,6 @@ packages: engines: {node: '>=8'} dependencies: p-locate: 4.1.0 - dev: false /lodash.ismatch/4.4.0: resolution: {integrity: sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==} @@ -5055,6 +5160,9 @@ packages: /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + /lodash.truncate/4.4.2: + resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==} + /lodash/4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -5064,7 +5172,6 @@ packages: dependencies: chalk: 4.1.2 is-unicode-supported: 0.1.0 - dev: false /log-symbols/5.1.0: resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} @@ -5073,6 +5180,9 @@ packages: chalk: 5.0.1 is-unicode-supported: 1.2.0 + /longest-streak/2.0.4: + resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==} + /loose-envify/1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -5141,14 +5251,12 @@ packages: /map-obj/1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} - dev: false /map-obj/4.3.0: resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} engines: {node: '>=8'} - dev: false - /markdown-it-anchor/8.6.4_d643ca6eb40ae68ab966a77bead78073: + /markdown-it-anchor/8.6.4_2zb4u3vubltivolgu556vv4aom: resolution: {integrity: sha512-Ul4YVYZNxMJYALpKtu+ZRdrryYt/GlQ5CK+4l1bp/gWXOG2QWElt6AqF3Mih/wfUKdZbNAZVXGR73/n6U/8img==} peerDependencies: '@types/markdown-it': '*' @@ -5169,6 +5277,33 @@ packages: uc.micro: 1.0.6 dev: false + /mathml-tag-names/2.1.3: + resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==} + + /mdast-util-from-markdown/0.8.5: + resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + dependencies: + '@types/mdast': 3.0.10 + mdast-util-to-string: 2.0.0 + micromark: 2.11.4 + parse-entities: 2.0.0 + unist-util-stringify-position: 2.0.3 + transitivePeerDependencies: + - supports-color + + /mdast-util-to-markdown/0.6.5: + resolution: {integrity: sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==} + dependencies: + '@types/unist': 2.0.6 + longest-streak: 2.0.4 + mdast-util-to-string: 2.0.0 + parse-entities: 2.0.0 + repeat-string: 1.6.1 + zwitch: 1.0.5 + + /mdast-util-to-string/2.0.0: + resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} + /mdurl/1.0.1: resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} dev: false @@ -5190,6 +5325,23 @@ packages: yargs-parser: 20.2.9 dev: false + /meow/9.0.0: + resolution: {integrity: sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==} + engines: {node: '>=10'} + dependencies: + '@types/minimist': 1.2.2 + camelcase-keys: 6.2.2 + decamelize: 1.2.0 + decamelize-keys: 1.1.0 + hard-rejection: 2.1.0 + minimist-options: 4.1.0 + normalize-package-data: 3.0.3 + read-pkg-up: 7.0.1 + redent: 3.0.0 + trim-newlines: 3.0.1 + type-fest: 0.18.1 + yargs-parser: 20.2.9 + /merge-stream/2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -5197,6 +5349,14 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} + /micromark/2.11.4: + resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} + dependencies: + debug: 4.3.4 + parse-entities: 2.0.0 + transitivePeerDependencies: + - supports-color + /micromatch/4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} @@ -5241,7 +5401,6 @@ packages: /min-indent/1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - dev: false /minimatch/3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -5262,7 +5421,6 @@ packages: arrify: 1.0.1 is-plain-obj: 1.1.0 kind-of: 6.0.3 - dev: false /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} @@ -5363,7 +5521,6 @@ packages: /node-releases/2.0.5: resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==} - dev: false /normalize-package-data/2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -5372,7 +5529,6 @@ packages: resolve: 1.22.1 semver: 5.7.1 validate-npm-package-license: 3.0.4 - dev: false /normalize-package-data/3.0.3: resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} @@ -5382,7 +5538,6 @@ packages: is-core-module: 2.9.0 semver: 7.3.7 validate-npm-package-license: 3.0.4 - dev: false /normalize-path/3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} @@ -5392,7 +5547,9 @@ packages: /normalize-range/0.1.2: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} - dev: false + + /normalize-selector/0.2.0: + resolution: {integrity: sha512-dxvWdI8gw6eAvk9BlPffgEoGfM7AdijoCwOEJge3e3ulT2XLgmU7KvvxprOaCu05Q1uGRHmOhHe1r6emZoKyFw==} /normalize-url/6.1.0: resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} @@ -5416,6 +5573,9 @@ packages: boolbase: 1.0.0 dev: false + /num2fraction/1.2.2: + resolution: {integrity: sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==} + /nwsapi/2.2.1: resolution: {integrity: sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==} dev: false @@ -5557,7 +5717,6 @@ packages: engines: {node: '>=6'} dependencies: p-try: 2.2.0 - dev: false /p-locate/2.0.0: resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} @@ -5571,7 +5730,6 @@ packages: engines: {node: '>=8'} dependencies: p-limit: 2.3.0 - dev: false /p-try/1.0.0: resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} @@ -5581,7 +5739,6 @@ packages: /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - dev: false /pac-proxy-agent/5.0.0: resolution: {integrity: sha512-CcFG3ZtnxO8McDigozwE3AqAw15zDvGH+OjXO4kzf7IkEKkQ4gxQ+3sdF50WmhQ4P/bVusXcqNE2S3XrNURwzQ==} @@ -5629,6 +5786,16 @@ packages: dependencies: callsites: 3.1.0 + /parse-entities/2.0.0: + resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} + dependencies: + character-entities: 1.2.4 + character-entities-legacy: 1.1.4 + character-reference-invalid: 1.1.4 + is-alphanumerical: 1.0.4 + is-decimal: 1.0.4 + is-hexadecimal: 1.0.4 + /parse-json/4.0.0: resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} engines: {node: '>=4'} @@ -5686,7 +5853,6 @@ packages: /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} - dev: false /path-is-absolute/1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} @@ -5714,6 +5880,9 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /picocolors/0.2.1: + resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==} + /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} @@ -5749,6 +5918,22 @@ packages: find-up: 4.1.0 dev: false + /postcss-html/0.36.0_j55xdkkcxc32kvnyvx3y7casfm: + resolution: {integrity: sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==} + peerDependencies: + postcss: '>=5.0.0' + postcss-syntax: '>=0.36.0' + dependencies: + htmlparser2: 3.10.1 + postcss: 7.0.39 + postcss-syntax: 0.36.2_postcss@7.0.39 + + /postcss-less/3.1.4: + resolution: {integrity: sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==} + engines: {node: '>=6.14.4'} + dependencies: + postcss: 7.0.39 + /postcss-load-config/3.1.4_postcss@8.4.14: resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} @@ -5766,17 +5951,53 @@ packages: yaml: 1.10.2 dev: false + /postcss-media-query-parser/0.2.3: + resolution: {integrity: sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==} + + /postcss-resolve-nested-selector/0.1.1: + resolution: {integrity: sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==} + + /postcss-safe-parser/4.0.2: + resolution: {integrity: sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==} + engines: {node: '>=6.0.0'} + dependencies: + postcss: 7.0.39 + + /postcss-sass/0.4.4: + resolution: {integrity: sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==} + dependencies: + gonzales-pe: 4.3.0 + postcss: 7.0.39 + + /postcss-scss/2.1.1: + resolution: {integrity: sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==} + engines: {node: '>=6.0.0'} + dependencies: + postcss: 7.0.39 + /postcss-selector-parser/6.0.10: resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 - dev: false + + /postcss-syntax/0.36.2_postcss@7.0.39: + resolution: {integrity: sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==} + peerDependencies: + postcss: '>=5.0.0' + dependencies: + postcss: 7.0.39 /postcss-value-parser/4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - dev: false + + /postcss/7.0.39: + resolution: {integrity: sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==} + engines: {node: '>=6.0.0'} + dependencies: + picocolors: 0.2.1 + source-map: 0.6.1 /postcss/8.4.14: resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} @@ -5913,7 +6134,6 @@ packages: /quick-lru/4.0.1: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} - dev: false /quick-lru/5.1.1: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} @@ -5941,6 +6161,9 @@ packages: resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: react: ^18.2.0 + peerDependenciesMeta: + react: + optional: true dependencies: loose-envify: 1.4.0 react: 18.2.0 @@ -5973,7 +6196,6 @@ packages: find-up: 4.1.0 read-pkg: 5.2.0 type-fest: 0.8.1 - dev: false /read-pkg/3.0.0: resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} @@ -5992,7 +6214,6 @@ packages: normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 - dev: false /readable-stream/1.1.14: resolution: {integrity: sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==} @@ -6034,7 +6255,6 @@ packages: dependencies: indent-string: 4.0.0 strip-indent: 3.0.0 - dev: false /regexp.prototype.flags/1.4.3: resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} @@ -6100,11 +6320,40 @@ packages: - encoding - supports-color + /remark-parse/9.0.0: + resolution: {integrity: sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==} + dependencies: + mdast-util-from-markdown: 0.8.5 + transitivePeerDependencies: + - supports-color + + /remark-stringify/9.0.1: + resolution: {integrity: sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==} + dependencies: + mdast-util-to-markdown: 0.6.5 + + /remark/13.0.0: + resolution: {integrity: sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==} + dependencies: + remark-parse: 9.0.0 + remark-stringify: 9.0.1 + unified: 9.2.2 + transitivePeerDependencies: + - supports-color + + /repeat-string/1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} + /require-directory/2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} dev: false + /require-from-string/2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + /resolve-alpn/1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} @@ -6122,7 +6371,6 @@ packages: /resolve-from/5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} - dev: false /resolve.exports/1.1.0: resolution: {integrity: sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==} @@ -6195,7 +6443,6 @@ packages: /safe-buffer/5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} - dev: false /safe-buffer/5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} @@ -6238,12 +6485,10 @@ packages: /semver/5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true - dev: false /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true - dev: false /semver/7.3.7: resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==} @@ -6291,12 +6536,19 @@ packages: /slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - dev: false /slash/4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} + /slice-ansi/4.0.0: + resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + /smart-buffer/4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -6347,22 +6599,22 @@ packages: dependencies: spdx-expression-parse: 3.0.1 spdx-license-ids: 3.0.11 - dev: false /spdx-exceptions/2.3.0: resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} - dev: false /spdx-expression-parse/3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.11 - dev: false /spdx-license-ids/3.0.11: resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==} - dev: false + + /specificity/0.4.1: + resolution: {integrity: sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==} + hasBin: true /split-on-first/1.1.0: resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} @@ -6491,7 +6743,6 @@ packages: engines: {node: '>=8'} dependencies: min-indent: 1.0.1 - dev: false /strip-json-comments/2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} @@ -6501,6 +6752,97 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} + /style-search/0.1.0: + resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} + + /stylelint-config-prettier/8.0.2_stylelint@13.13.1: + resolution: {integrity: sha512-TN1l93iVTXpF9NJstlvP7nOu9zY2k+mN0NSFQ/VEGz15ZIP9ohdDZTtCWHs5LjctAhSAzaILULGbgiM0ItId3A==} + engines: {node: '>= 10', npm: '>= 5'} + hasBin: true + peerDependencies: + stylelint: '>=11.0.0' + dependencies: + stylelint: 13.13.1 + dev: false + + /stylelint-config-recommended/5.0.0_stylelint@13.13.1: + resolution: {integrity: sha512-c8aubuARSu5A3vEHLBeOSJt1udOdS+1iue7BmJDTSXoCBmfEQmmWX+59vYIj3NQdJBY6a/QRv1ozVFpaB9jaqA==} + peerDependencies: + stylelint: ^13.13.0 + dependencies: + stylelint: 13.13.1 + dev: false + + /stylelint-config-standard/22.0.0_stylelint@13.13.1: + resolution: {integrity: sha512-uQVNi87SHjqTm8+4NIP5NMAyY/arXrBgimaaT7skvRfE9u3JKXRK9KBkbr4pVmeciuCcs64kAdjlxfq6Rur7Hw==} + peerDependencies: + stylelint: ^13.13.0 + dependencies: + stylelint: 13.13.1 + stylelint-config-recommended: 5.0.0_stylelint@13.13.1 + dev: false + + /stylelint/13.13.1: + resolution: {integrity: sha512-Mv+BQr5XTUrKqAXmpqm6Ddli6Ief+AiPZkRsIrAoUKFuq/ElkUh9ZMYxXD0iQNZ5ADghZKLOWz1h7hTClB7zgQ==} + engines: {node: '>=10.13.0'} + hasBin: true + dependencies: + '@stylelint/postcss-css-in-js': 0.37.3_j55xdkkcxc32kvnyvx3y7casfm + '@stylelint/postcss-markdown': 0.36.2_j55xdkkcxc32kvnyvx3y7casfm + autoprefixer: 9.8.8 + balanced-match: 2.0.0 + chalk: 4.1.2 + cosmiconfig: 7.0.1 + debug: 4.3.4 + execall: 2.0.0 + fast-glob: 3.2.11 + fastest-levenshtein: 1.0.12 + file-entry-cache: 6.0.1 + get-stdin: 8.0.0 + global-modules: 2.0.0 + globby: 11.1.0 + globjoin: 0.1.4 + html-tags: 3.2.0 + ignore: 5.2.0 + import-lazy: 4.0.0 + imurmurhash: 0.1.4 + known-css-properties: 0.21.0 + lodash: 4.17.21 + log-symbols: 4.1.0 + mathml-tag-names: 2.1.3 + meow: 9.0.0 + micromatch: 4.0.5 + normalize-selector: 0.2.0 + postcss: 7.0.39 + postcss-html: 0.36.0_j55xdkkcxc32kvnyvx3y7casfm + postcss-less: 3.1.4 + postcss-media-query-parser: 0.2.3 + postcss-resolve-nested-selector: 0.1.1 + postcss-safe-parser: 4.0.2 + postcss-sass: 0.4.4 + postcss-scss: 2.1.1 + postcss-selector-parser: 6.0.10 + postcss-syntax: 0.36.2_postcss@7.0.39 + postcss-value-parser: 4.2.0 + resolve-from: 5.0.0 + slash: 3.0.0 + specificity: 0.4.1 + string-width: 4.2.3 + strip-ansi: 6.0.1 + style-search: 0.1.0 + sugarss: 2.0.0 + svg-tags: 1.0.0 + table: 6.8.0 + v8-compile-cache: 2.3.0 + write-file-atomic: 3.0.3 + transitivePeerDependencies: + - supports-color + + /sugarss/2.0.0: + resolution: {integrity: sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==} + dependencies: + postcss: 7.0.39 + /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} @@ -6534,12 +6876,21 @@ packages: /svg-tags/1.0.0: resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==} - dev: false /symbol-tree/3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} dev: false + /table/6.8.0: + resolution: {integrity: sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==} + engines: {node: '>=10.0.0'} + dependencies: + ajv: 8.11.0 + lodash.truncate: 4.4.2 + slice-ansi: 4.0.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + /tapable/2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -6655,7 +7006,9 @@ packages: /trim-newlines/3.0.1: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} engines: {node: '>=8'} - dev: false + + /trough/1.0.5: + resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} /tsconfig-paths/3.14.1: resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} @@ -6703,7 +7056,6 @@ packages: /type-fest/0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} engines: {node: '>=10'} - dev: false /type-fest/0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} @@ -6717,12 +7069,10 @@ packages: /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} - dev: false /type-fest/0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} - dev: false /type-fest/1.4.0: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} @@ -6762,12 +7112,35 @@ packages: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 + /unified/9.2.2: + resolution: {integrity: sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==} + dependencies: + bail: 1.0.5 + extend: 3.0.2 + is-buffer: 2.0.5 + is-plain-obj: 2.1.0 + trough: 1.0.5 + vfile: 4.2.1 + /unique-string/3.0.0: resolution: {integrity: sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==} engines: {node: '>=12'} dependencies: crypto-random-string: 4.0.0 + /unist-util-find-all-after/3.0.2: + resolution: {integrity: sha512-xaTC/AGZ0rIM2gM28YVRAFPIZpzbpDtU3dRmp7EXlNVA8ziQc4hY3H7BHXM1J49nEmiqc3svnqMReW+PGqbZKQ==} + dependencies: + unist-util-is: 4.1.0 + + /unist-util-is/4.1.0: + resolution: {integrity: sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==} + + /unist-util-stringify-position/2.0.3: + resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + dependencies: + '@types/unist': 2.0.6 + /universal-user-agent/6.0.0: resolution: {integrity: sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==} @@ -6793,7 +7166,6 @@ packages: browserslist: 4.21.1 escalade: 3.1.1 picocolors: 1.0.0 - dev: false /update-notifier/6.0.2: resolution: {integrity: sha512-EDxhTEVPZZRLWYcJ4ZXjGFN0oP7qYvbXWzEgRm/Yql4dHX5wDbvh89YHP6PK1lzZJYrMtXUuZZz8XGK+U6U1og==} @@ -6843,9 +7215,22 @@ packages: dependencies: spdx-correct: 3.1.1 spdx-expression-parse: 3.0.1 - dev: false - /vite-plugin-html/2.1.2_vite@3.0.2: + /vfile-message/2.0.4: + resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==} + dependencies: + '@types/unist': 2.0.6 + unist-util-stringify-position: 2.0.3 + + /vfile/4.2.1: + resolution: {integrity: sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==} + dependencies: + '@types/unist': 2.0.6 + is-buffer: 2.0.5 + unist-util-stringify-position: 2.0.3 + vfile-message: 2.0.4 + + /vite-plugin-html/2.1.2_vite@2.9.13: resolution: {integrity: sha512-7HXkL6n7M2qDEaUV4Vnz8yM2glW4gV36d5HSBIM5gOoAG1PkuQb4Vv9FTPgPiQxq4sPRf/6IgABX0MeLVW+CyQ==} peerDependencies: vite: '>=2.0.0' @@ -6856,10 +7241,10 @@ packages: ejs: 3.1.8 fs-extra: 10.1.0 html-minifier-terser: 6.1.0 - vite: 3.0.2_less@4.1.3 + vite: 2.9.13_less@4.1.3 dev: false - /vite-plugin-md/0.11.9_vite@3.0.2: + /vite-plugin-md/0.11.9_vite@2.9.13: resolution: {integrity: sha512-0uD2BPIct3FbEA1hAm56hlrBByEn542HTsS/FoWf33lJIgijVBDDV6FE12ud0SHS6sculITKliF2ntog2kiHmQ==} peerDependencies: vite: ^2.0.0 @@ -6869,18 +7254,17 @@ packages: '@types/markdown-it': 12.2.3 gray-matter: 4.0.3 markdown-it: 12.3.2 - vite: 3.0.2_less@4.1.3 + vite: 2.9.13_less@4.1.3 dev: false - /vite/3.0.2_less@4.1.3: - resolution: {integrity: sha512-TAqydxW/w0U5AoL5AsD9DApTvGb2iNbGs3sN4u2VdT1GFkQVUfgUldt+t08TZgi23uIauh1TUOQJALduo9GXqw==} - engines: {node: ^14.18.0 || >=16.0.0} + /vite/2.9.13_less@4.1.3: + resolution: {integrity: sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==} + engines: {node: '>=12.2.0'} hasBin: true peerDependencies: less: '*' sass: '*' stylus: '*' - terser: ^5.4.0 peerDependenciesMeta: less: optional: true @@ -6888,8 +7272,6 @@ packages: optional: true stylus: optional: true - terser: - optional: true dependencies: esbuild: 0.14.48 less: 4.1.3 @@ -7015,6 +7397,12 @@ packages: is-string: 1.0.7 is-symbol: 1.0.4 + /which/1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + dependencies: + isexe: 2.0.0 + /which/2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -7129,7 +7517,6 @@ packages: /yargs-parser/20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} - dev: false /yargs-parser/21.0.1: resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} @@ -7147,3 +7534,6 @@ packages: y18n: 5.0.8 yargs-parser: 20.2.9 dev: false + + /zwitch/1.0.5: + resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} From a1d4297c92a2d6e92227b530149d3da9f6fca079 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 24 Jul 2022 18:13:47 +0800 Subject: [PATCH 02/16] chore(Collapse): fix snapshot and update document (#10845) --- packages/vant/src/checkbox/README.md | 15 +- packages/vant/src/checkbox/README.zh-CN.md | 15 +- packages/vant/src/collapse/Collapse.tsx | 3 + packages/vant/src/collapse/README.md | 25 +- packages/vant/src/collapse/README.zh-CN.md | 19 +- packages/vant/src/collapse/index.ts | 6 +- .../test/__snapshots__/demo.spec.ts.snap | 74 ++ pnpm-lock.yaml | 770 +++++------------- 8 files changed, 336 insertions(+), 591 deletions(-) diff --git a/packages/vant/src/checkbox/README.md b/packages/vant/src/checkbox/README.md index 2589a630c..75ef9561a 100644 --- a/packages/vant/src/checkbox/README.md +++ b/packages/vant/src/checkbox/README.md @@ -301,21 +301,24 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Checkb ### toggleAll Usage ```js -const { checkboxGroup } = this.$refs; +import { ref } from 'vue'; +import type { CheckboxGroupInstance } from 'vant'; + +const checkboxGroupRef = ref(); // Toggle all -checkboxGroup.toggleAll(); +checkboxGroup.value?.toggleAll(); // Select all -checkboxGroup.toggleAll(true); +checkboxGroup.value?.toggleAll(true); // Unselect all -checkboxGroup.toggleAll(false); +checkboxGroup.value?.toggleAll(false); // Toggle all, skip disabled -checkboxGroup.toggleAll({ +checkboxGroup.value?.toggleAll({ skipDisabled: true, }); // Select all, skip disabled -checkboxGroup.toggleAll({ +checkboxGroup.value?.toggleAll({ checked: true, skipDisabled: true, }); diff --git a/packages/vant/src/checkbox/README.zh-CN.md b/packages/vant/src/checkbox/README.zh-CN.md index 2249dd0aa..49d290bb8 100644 --- a/packages/vant/src/checkbox/README.zh-CN.md +++ b/packages/vant/src/checkbox/README.zh-CN.md @@ -318,21 +318,24 @@ export default { ### toggleAll 方法示例 ```js -const { checkboxGroup } = this.$refs; +import { ref } from 'vue'; +import type { CheckboxGroupInstance } from 'vant'; + +const checkboxGroupRef = ref(); // 全部反选 -checkboxGroup.toggleAll(); +checkboxGroupRef?.value.toggleAll(); // 全部选中 -checkboxGroup.toggleAll(true); +checkboxGroupRef?.value.toggleAll(true); // 全部取消 -checkboxGroup.toggleAll(false); +checkboxGroupRef?.value.toggleAll(false); // 全部反选,并跳过禁用的复选框 -checkboxGroup.toggleAll({ +checkboxGroupRef?.value.toggleAll({ skipDisabled: true, }); // 全部选中,并跳过禁用的复选框 -checkboxGroup.toggleAll({ +checkboxGroupRef?.value.toggleAll({ checked: true, skipDisabled: true, }); diff --git a/packages/vant/src/collapse/Collapse.tsx b/packages/vant/src/collapse/Collapse.tsx index dffac7ca1..901ddf4d0 100644 --- a/packages/vant/src/collapse/Collapse.tsx +++ b/packages/vant/src/collapse/Collapse.tsx @@ -96,9 +96,11 @@ export default defineComponent({ if (props.accordion) { return; } + if (typeof options === 'boolean') { options = { expanded: options }; } + const { expanded, skipDisabled } = options!; const expandedChildren = children.filter((item: any) => { if (item.disabled && skipDisabled) { @@ -106,6 +108,7 @@ export default defineComponent({ } return expanded ?? !item.expanded.value; }); + const names = expandedChildren.map((item) => item.itemName.value); updateName(names); }; diff --git a/packages/vant/src/collapse/README.md b/packages/vant/src/collapse/README.md index 3158070ca..e279aa6e9 100644 --- a/packages/vant/src/collapse/README.md +++ b/packages/vant/src/collapse/README.md @@ -110,7 +110,7 @@ export default { ### Toggle All -通过 `Collapse` 实例上的 `toggleAll` 方法可以实现全选与反选。 +Using `toggleAll` method to toggle all items. ```html @@ -119,8 +119,8 @@ export default { Content 3 -openAll -toggleAll +Open All +Toggle All ``` ```js @@ -148,6 +148,8 @@ export default { }; ``` +> Tips: The toggleAll method cannot be used in accordion mode. + ## API ### Collapse Props @@ -189,26 +191,29 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Collap | Name | Description | Attribute | Return value | | --- | --- | --- | --- | -| toggleAll | Toggle expanded status of all collapses | _options?: boolean \| object_ | - | +| toggleAll `v3.5.3` | Toggle the expanded status of all collapses | _options?: boolean \| object_ | - | ### toggleAll Usage ```js -const { collapse } = this.$refs; +import { ref } from 'vue'; +import type { CollapseInstance } from 'vant'; + +const collapseRef = ref(); // Toggle all -collapse.toggleAll(); +collapseRef.value?.toggleAll(); // Expand all -collapse.toggleAll(true); +collapseRef.value?.toggleAll(true); // UnExpand all -collapse.toggleAll(false); +collapseRef.value?.toggleAll(false); // Toggle all, skip disabled -collapse.toggleAll({ +collapseRef.value?.toggleAll({ skipDisabled: true, }); // Expand all, skip disabled -collapse.toggleAll({ +collapseRef.value?.toggleAll({ expanded: true, skipDisabled: true, }); diff --git a/packages/vant/src/collapse/README.zh-CN.md b/packages/vant/src/collapse/README.zh-CN.md index 118776703..cfb3cd3e7 100644 --- a/packages/vant/src/collapse/README.zh-CN.md +++ b/packages/vant/src/collapse/README.zh-CN.md @@ -170,6 +170,8 @@ export default { }; ``` +> Tips: 手风琴模式下无法使用 toggleAll 方法。 + ## API ### Collapse Props @@ -211,26 +213,29 @@ export default { | 方法名 | 说明 | 参数 | 返回值 | | --- | --- | --- | --- | -| toggleAll | 切换所有面板展开状态,传 `true` 为选中,`false` 为取消选中,不传参为取反 | _options?: boolean \| object_ | - | +| toggleAll `v3.5.3` | 切换所有面板展开状态,传 `true` 为全部展开,`false` 为全部收起,不传参为全部切换 | _options?: boolean \| object_ | - | ### toggleAll 方法示例 ```js -const { collapse } = this.$refs; +import { ref } from 'vue'; +import type { CollapseInstance } from 'vant'; + +const collapseRef = ref(); // 全部切换 -collapse.toggleAll(); +collapseRef.value?.toggleAll(); // 全部展开 -collapse.toggleAll(true); +collapseRef.value?.toggleAll(true); // 全部收起 -collapse.toggleAll(false); +collapseRef.value?.toggleAll(false); // 全部全部切换,并跳过禁用的复选框 -collapse.toggleAll({ +collapseRef.value?.toggleAll({ skipDisabled: true, }); // 全部选中,并跳过禁用的复选框 -collapse.toggleAll({ +collapseRef.value?.toggleAll({ expanded: true, skipDisabled: true, }); diff --git a/packages/vant/src/collapse/index.ts b/packages/vant/src/collapse/index.ts index 1168f456b..ce4e874ca 100644 --- a/packages/vant/src/collapse/index.ts +++ b/packages/vant/src/collapse/index.ts @@ -3,7 +3,11 @@ import _Collapse from './Collapse'; export const Collapse = withInstall(_Collapse); export default Collapse; -export type { CollapseProps, CollapseToggleAllOptions } from './Collapse'; +export type { + CollapseProps, + CollapseInstance, + CollapseToggleAllOptions, +} from './Collapse'; declare module 'vue' { export interface GlobalComponents { diff --git a/packages/vant/src/collapse/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/collapse/test/__snapshots__/demo.spec.ts.snap index ae5409411..0592bf80b 100644 --- a/packages/vant/src/collapse/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/collapse/test/__snapshots__/demo.spec.ts.snap @@ -197,4 +197,78 @@ exports[`should render demo and match snapshot 1`] = `
+
+
+
+
+
+ + Title1 + +
+ + +
+
+
+ Content 1 +
+
+
+
+ +
+
+ +
+
+
+ + +
+
`; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3cc5535b0..191e9f395 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: 5.4 +lockfileVersion: 5.3 importers: @@ -6,23 +6,19 @@ importers: specifiers: '@vant/cli': workspace:* '@vant/eslint-config': workspace:* - '@vant/stylelint-config': workspace:* eslint: ^8.2.0 husky: ^8.0.1 nano-staged: ^0.8.0 prettier: ^2.5.0 rimraf: ^3.0.2 - stylelint: ^13.13.1 devDependencies: '@vant/cli': link:packages/vant-cli '@vant/eslint-config': link:packages/vant-eslint-config - '@vant/stylelint-config': link:packages/vant-stylelint-config eslint: 8.19.0 husky: 8.0.1 nano-staged: 0.8.0 prettier: 2.7.1 rimraf: 3.0.2 - stylelint: 13.13.1 packages/create-vant-cli-app: specifiers: @@ -99,10 +95,9 @@ importers: '@types/markdown-it': ^12.2.3 '@vant/eslint-config': ^3.3.2 '@vant/markdown-vetur': ^2.3.0 - '@vant/stylelint-config': ^1.4.2 '@vant/touch-emulator': ^1.3.2 - '@vitejs/plugin-vue': ^2.0.0 - '@vitejs/plugin-vue-jsx': ^1.3.3 + '@vitejs/plugin-vue': ^3.0.1 + '@vitejs/plugin-vue-jsx': ^2.0.0 '@vue/babel-plugin-jsx': ^1.1.1 autoprefixer: ^10.4.0 commander: ^9.3.0 @@ -131,10 +126,9 @@ importers: react: ^18 react-dom: ^18 release-it: ^15.1.1 - stylelint: ^13.0.0 transliteration: ^2.2.0 typescript: ^4.7.4 - vite: ^2.9.0 + vite: ^3.0.0 vite-plugin-html: ^2.1.1 vite-plugin-md: ^0.11.4 vue: ^3.2.27 @@ -143,14 +137,13 @@ importers: '@babel/core': 7.18.6 '@babel/preset-typescript': 7.18.6_@babel+core@7.18.6 '@docsearch/css': 3.1.1 - '@docsearch/js': 3.1.1_biqbaboplfbrettd7655fr4n2y + '@docsearch/js': 3.1.1_react-dom@18.2.0+react@18.2.0 '@types/jest': 27.5.2 '@vant/eslint-config': link:../vant-eslint-config '@vant/markdown-vetur': link:../vant-markdown-vetur - '@vant/stylelint-config': link:../vant-stylelint-config '@vant/touch-emulator': link:../vant-touch-emulator - '@vitejs/plugin-vue': 2.3.3_vite@2.9.13+vue@3.2.37 - '@vitejs/plugin-vue-jsx': 1.3.10 + '@vitejs/plugin-vue': 3.0.1_vite@3.0.2+vue@3.2.37 + '@vitejs/plugin-vue-jsx': 2.0.0_vite@3.0.2+vue@3.2.37 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6 autoprefixer: 10.4.7_postcss@8.4.14 commander: 9.3.0 @@ -169,7 +162,7 @@ importers: jest-serializer-html: 7.1.0 less: 4.1.3 markdown-it: 12.3.2 - markdown-it-anchor: 8.6.4_2zb4u3vubltivolgu556vv4aom + markdown-it-anchor: 8.6.4_d643ca6eb40ae68ab966a77bead78073 nano-staged: 0.8.0 nanospinner: 1.1.0 picocolors: 1.0.0 @@ -177,12 +170,11 @@ importers: postcss-load-config: 3.1.4_postcss@8.4.14 prettier: 2.7.1 release-it: 15.1.1 - stylelint: 13.13.1 transliteration: 2.2.0 typescript: 4.7.4 - vite: 2.9.13_less@4.1.3 - vite-plugin-html: 2.1.2_vite@2.9.13 - vite-plugin-md: 0.11.9_vite@2.9.13 + vite: 3.0.2_less@4.1.3 + vite-plugin-html: 2.1.2_vite@3.0.2 + vite-plugin-md: 0.11.9_vite@3.0.2 vue-router: 4.0.16_vue@3.2.37 devDependencies: '@jest/types': 27.5.1 @@ -205,11 +197,11 @@ importers: eslint-plugin-vue: ^9.1.1 typescript: ^4.7.4 dependencies: - '@typescript-eslint/eslint-plugin': 5.30.3_xuuykav7urhdozug7htlfgar3u - '@typescript-eslint/parser': 5.30.3_4x5o4skxv6sl53vpwefgt23khm - eslint-config-airbnb-base: 15.0.0_q2xwze32dd33a2fc2qubwr4ie4 + '@typescript-eslint/eslint-plugin': 5.30.3_bd298502bfa44e376686f9e6b29811dd + '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 + eslint-config-airbnb-base: 15.0.0_86af6c937a18f7b068a2d4281b478827 eslint-config-prettier: 8.5.0_eslint@8.19.0 - eslint-plugin-import: 2.26.0_eslint@8.19.0 + eslint-plugin-import: 2.26.0_b991b8cc37fbaea14375bc1442f912c5 eslint-plugin-vue: 9.1.1_eslint@8.19.0 devDependencies: enhanced-resolve: 5.10.0 @@ -248,17 +240,6 @@ importers: release-it: 15.1.1 typescript: 4.7.4 - packages/vant-stylelint-config: - specifiers: - stylelint: ^13.0.0 - stylelint-config-prettier: ^8.0.1 - stylelint-config-standard: ^22.0.0 - dependencies: - stylelint-config-prettier: 8.0.2_stylelint@13.13.1 - stylelint-config-standard: 22.0.0_stylelint@13.13.1 - devDependencies: - stylelint: 13.13.1 - packages/vant-touch-emulator: specifiers: {} @@ -395,6 +376,7 @@ packages: dependencies: '@jridgewell/gen-mapping': 0.1.1 '@jridgewell/trace-mapping': 0.3.14 + dev: false /@antfu/utils/0.5.2: resolution: {integrity: sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==} @@ -409,6 +391,7 @@ packages: /@babel/compat-data/7.18.6: resolution: {integrity: sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==} engines: {node: '>=6.9.0'} + dev: false /@babel/core/7.18.6: resolution: {integrity: sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==} @@ -431,6 +414,7 @@ packages: semver: 6.3.0 transitivePeerDependencies: - supports-color + dev: false /@babel/generator/7.18.7: resolution: {integrity: sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==} @@ -439,6 +423,7 @@ packages: '@babel/types': 7.18.7 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 + dev: false /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} @@ -458,6 +443,7 @@ packages: '@babel/helper-validator-option': 7.18.6 browserslist: 4.21.1 semver: 6.3.0 + dev: false /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.18.6: resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} @@ -480,6 +466,7 @@ packages: /@babel/helper-environment-visitor/7.18.6: resolution: {integrity: sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==} engines: {node: '>=6.9.0'} + dev: false /@babel/helper-function-name/7.18.6: resolution: {integrity: sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==} @@ -487,12 +474,14 @@ packages: dependencies: '@babel/template': 7.18.6 '@babel/types': 7.18.7 + dev: false /@babel/helper-hoist-variables/7.18.6: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 + dev: false /@babel/helper-member-expression-to-functions/7.18.6: resolution: {integrity: sha512-CeHxqwwipekotzPDUuJOfIMtcIHBuc7WAzLmTYWctVigqS5RktNMQ5bEwQSuGewzYnCtTWa3BARXeiLxDTv+Ng==} @@ -506,6 +495,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 + dev: false /@babel/helper-module-transforms/7.18.6: resolution: {integrity: sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==} @@ -521,6 +511,7 @@ packages: '@babel/types': 7.18.7 transitivePeerDependencies: - supports-color + dev: false /@babel/helper-optimise-call-expression/7.18.6: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} @@ -552,12 +543,14 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 + dev: false /@babel/helper-split-export-declaration/7.18.6: resolution: {integrity: sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==} engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.18.7 + dev: false /@babel/helper-validator-identifier/7.18.6: resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} @@ -566,6 +559,7 @@ packages: /@babel/helper-validator-option/7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} + dev: false /@babel/helpers/7.18.6: resolution: {integrity: sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==} @@ -576,6 +570,7 @@ packages: '@babel/types': 7.18.7 transitivePeerDependencies: - supports-color + dev: false /@babel/highlight/7.18.6: resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} @@ -735,6 +730,20 @@ packages: - supports-color dev: false + /@babel/plugin-transform-typescript/7.18.8_@babel+core@7.18.6: + resolution: {integrity: sha512-p2xM8HI83UObjsZGofMV/EdYjamsDm6MoN3hXPYIT0+gxIoopE+B7rPYKAxfrz9K9PK7JafTTjqYC6qipLExYA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.18.6 + '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.6 + '@babel/helper-plugin-utils': 7.18.6 + '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.6 + transitivePeerDependencies: + - supports-color + dev: false + /@babel/preset-typescript/7.18.6_@babel+core@7.18.6: resolution: {integrity: sha512-s9ik86kXBAnD760aybBucdpnLsAt0jK1xqJn2juOn9lkOvSHV60os5hxoVJsPzMQxvnUJFAlkont2DvvaYEBtQ==} engines: {node: '>=6.9.0'} @@ -756,6 +765,7 @@ packages: '@babel/code-frame': 7.18.6 '@babel/parser': 7.18.6 '@babel/types': 7.18.7 + dev: false /@babel/traverse/7.18.6: resolution: {integrity: sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==} @@ -773,6 +783,7 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: false /@babel/types/7.18.7: resolution: {integrity: sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==} @@ -789,10 +800,10 @@ packages: resolution: {integrity: sha512-utLgg7E1agqQeqCJn05DWC7XXMk4tMUUnL7MZupcknRu2OzGN13qwey2qA/0NAKkVBGugiWtON0+rlU0QIPojg==} dev: false - /@docsearch/js/3.1.1_biqbaboplfbrettd7655fr4n2y: + /@docsearch/js/3.1.1_react-dom@18.2.0+react@18.2.0: resolution: {integrity: sha512-bt7l2aKRoSnLUuX+s4LVQ1a7AF2c9myiZNv5uvQCePG5tpvVGpwrnMwqVXOUJn9q6FwVVhOrQMO/t+QmnnAEUw==} dependencies: - '@docsearch/react': 3.1.1_biqbaboplfbrettd7655fr4n2y + '@docsearch/react': 3.1.1_react-dom@18.2.0+react@18.2.0 preact: 10.8.2 transitivePeerDependencies: - '@algolia/client-search' @@ -801,7 +812,7 @@ packages: - react-dom dev: false - /@docsearch/react/3.1.1_biqbaboplfbrettd7655fr4n2y: + /@docsearch/react/3.1.1_react-dom@18.2.0+react@18.2.0: resolution: {integrity: sha512-cfoql4qvtsVRqBMYxhlGNpvyy/KlCoPqjIsJSZYqYf9AplZncKjLBTcwBu6RXFMVCe30cIFljniI4OjqAU67pQ==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' @@ -1074,6 +1085,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 + dev: false /@jridgewell/gen-mapping/0.3.2: resolution: {integrity: sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==} @@ -1082,14 +1094,17 @@ packages: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.14 '@jridgewell/trace-mapping': 0.3.14 + dev: false /@jridgewell/resolve-uri/3.0.8: resolution: {integrity: sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==} engines: {node: '>=6.0.0'} + dev: false /@jridgewell/set-array/1.1.2: resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} + dev: false /@jridgewell/source-map/0.3.2: resolution: {integrity: sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==} @@ -1100,12 +1115,14 @@ packages: /@jridgewell/sourcemap-codec/1.4.14: resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: false /@jridgewell/trace-mapping/0.3.14: resolution: {integrity: sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==} dependencies: '@jridgewell/resolve-uri': 3.0.8 '@jridgewell/sourcemap-codec': 1.4.14 + dev: false /@nodelib/fs.scandir/2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -1261,32 +1278,6 @@ packages: '@sinonjs/commons': 1.8.3 dev: false - /@stylelint/postcss-css-in-js/0.37.3_j55xdkkcxc32kvnyvx3y7casfm: - resolution: {integrity: sha512-scLk3cSH1H9KggSniseb2KNAU5D9FWc3H7BxCSAIdtU9OWIyw0zkEZ9qEKHryRM+SExYXRKNb7tOOVNAsQ3iwg==} - peerDependencies: - postcss: '>=7.0.0' - postcss-syntax: '>=0.36.2' - dependencies: - '@babel/core': 7.18.6 - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - transitivePeerDependencies: - - supports-color - - /@stylelint/postcss-markdown/0.36.2_j55xdkkcxc32kvnyvx3y7casfm: - resolution: {integrity: sha512-2kGbqUVJUGE8dM+bMzXG/PYUWKkjLIkRLWNh39OaADkiabDRdw8ATFCgbMz5xdIcvwspPAluSL7uY+ZiTWdWmQ==} - deprecated: 'Use the original unforked package instead: postcss-markdown' - peerDependencies: - postcss: '>=7.0.0' - postcss-syntax: '>=0.36.2' - dependencies: - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - remark: 13.0.0 - unist-util-find-all-after: 3.0.2 - transitivePeerDependencies: - - supports-color - /@szmarczak/http-timer/5.0.1: resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} @@ -1405,16 +1396,12 @@ packages: '@types/linkify-it': 3.0.2 '@types/mdurl': 1.0.2 - /@types/mdast/3.0.10: - resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} - dependencies: - '@types/unist': 2.0.6 - /@types/mdurl/1.0.2: resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==} /@types/minimist/1.2.2: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} + dev: false /@types/node/16.11.42: resolution: {integrity: sha512-iwLrPOopPy6V3E+1yHTpJea3bdsNso0b0utLOJJwaa/PLzqBt3GZl3stMcakc/gr89SfcNk2ki3z7Gvue9hYGQ==} @@ -1425,6 +1412,7 @@ packages: /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} + dev: false /@types/parse-json/4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} @@ -1448,9 +1436,6 @@ packages: '@types/node': 18.0.0 dev: true - /@types/unist/2.0.6: - resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} - /@types/yargs-parser/21.0.0: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} @@ -1459,7 +1444,7 @@ packages: dependencies: '@types/yargs-parser': 21.0.0 - /@typescript-eslint/eslint-plugin/5.30.3_xuuykav7urhdozug7htlfgar3u: + /@typescript-eslint/eslint-plugin/5.30.3_bd298502bfa44e376686f9e6b29811dd: resolution: {integrity: sha512-QEgE1uahnDbWEkZlidq7uKB630ny1NN8KbLPmznX+8hYsYpoV1/quG1Nzvs141FVuumuS7O0EpqYw3RB4AVzRg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1470,10 +1455,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.30.3_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 '@typescript-eslint/scope-manager': 5.30.3 - '@typescript-eslint/type-utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm - '@typescript-eslint/utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/type-utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 + '@typescript-eslint/utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 debug: 4.3.4 eslint: 8.19.0 functional-red-black-tree: 1.0.1 @@ -1486,7 +1471,7 @@ packages: - supports-color dev: false - /@typescript-eslint/parser/5.30.3_4x5o4skxv6sl53vpwefgt23khm: + /@typescript-eslint/parser/5.30.3_eslint@8.19.0+typescript@4.7.4: resolution: {integrity: sha512-ddwGEPC3E49DduAUC8UThQafHRE5uc1NE8jdOgl+w8/NrYF50MJQNeD3u4JZrqAXdY9rJz0CdQ9HpNME20CzkA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1514,7 +1499,7 @@ packages: '@typescript-eslint/visitor-keys': 5.30.3 dev: false - /@typescript-eslint/type-utils/5.30.3_4x5o4skxv6sl53vpwefgt23khm: + /@typescript-eslint/type-utils/5.30.3_eslint@8.19.0+typescript@4.7.4: resolution: {integrity: sha512-IIzakE7OXOqdwPaXhRiPnaZ8OuJJYBLufOffd9fqzkI4IMFIYq8KC7bghdnF7QUJTirURRErQFrJ/w5UpwIqaw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1524,7 +1509,7 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.30.3_4x5o4skxv6sl53vpwefgt23khm + '@typescript-eslint/utils': 5.30.3_eslint@8.19.0+typescript@4.7.4 debug: 4.3.4 eslint: 8.19.0 tsutils: 3.21.0_typescript@4.7.4 @@ -1559,7 +1544,7 @@ packages: - supports-color dev: false - /@typescript-eslint/utils/5.30.3_4x5o4skxv6sl53vpwefgt23khm: + /@typescript-eslint/utils/5.30.3_eslint@8.19.0+typescript@4.7.4: resolution: {integrity: sha512-OEaBXGxxdIy35H+jyXfYAMQ66KMJczK9hEhL3gR6IRbWe5PyK+bPDC9zbQNVII6rNFTfF/Mse0z21NlEU+vOMw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1585,28 +1570,31 @@ packages: eslint-visitor-keys: 3.3.0 dev: false - /@vitejs/plugin-vue-jsx/1.3.10: - resolution: {integrity: sha512-Cf5zznh4yNMiEMBfTOztaDVDmK1XXfgxClzOSUVUc8WAmHzogrCUeM8B05ABzuGtg0D1amfng+mUmSIOFGP3Pw==} - engines: {node: '>=12.0.0'} + /@vitejs/plugin-vue-jsx/2.0.0_vite@3.0.2+vue@3.2.37: + resolution: {integrity: sha512-WF9ApZ/ivyyW3volQfu0Td0KNPhcccYEaRNzNY1NxRLVJQLSX0nFqquv3e2g7MF74p1XZK4bGtDL2y5i5O5+1A==} + engines: {node: '>=14.18.0'} + peerDependencies: + vite: ^3.0.0 + vue: ^3.0.0 dependencies: '@babel/core': 7.18.6 '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.6 - '@babel/plugin-transform-typescript': 7.18.6_@babel+core@7.18.6 - '@rollup/pluginutils': 4.2.1 + '@babel/plugin-transform-typescript': 7.18.8_@babel+core@7.18.6 '@vue/babel-plugin-jsx': 1.1.1_@babel+core@7.18.6 - hash-sum: 2.0.0 + vite: 3.0.2_less@4.1.3 + vue: 3.2.37 transitivePeerDependencies: - supports-color dev: false - /@vitejs/plugin-vue/2.3.3_vite@2.9.13+vue@3.2.37: - resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} - engines: {node: '>=12.0.0'} + /@vitejs/plugin-vue/3.0.1_vite@3.0.2+vue@3.2.37: + resolution: {integrity: sha512-Ll9JgxG7ONIz/XZv3dssfoMUDu9qAnlJ+km+pBA0teYSXzwPCIzS/e1bmwNYl5dcQGs677D21amgfYAnzMl17A==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - vite: ^2.5.10 + vite: ^3.0.0 vue: ^3.2.25 dependencies: - vite: 2.9.13_less@4.1.3 + vite: 3.0.2_less@4.1.3 vue: 3.2.37 dev: false @@ -1638,14 +1626,12 @@ packages: '@vue/shared': 3.2.37 estree-walker: 2.0.2 source-map: 0.6.1 - dev: true /@vue/compiler-dom/3.2.37: resolution: {integrity: sha512-yxJLH167fucHKxaqXpYk7x8z7mMEnXOw3G2q62FTkmsvNxu4FQSu5+3UMb+L7fjKa26DEzhrmCxAgFLLIzVfqQ==} dependencies: '@vue/compiler-core': 3.2.37 '@vue/shared': 3.2.37 - dev: true /@vue/compiler-sfc/3.2.37: resolution: {integrity: sha512-+7i/2+9LYlpqDv+KTtWhOZH+pa8/HnX/905MdVmAcI/mPQOBwkHHIzrsEsucyOIZQYMkXUiTkmZq5am/NyXKkg==} @@ -1660,14 +1646,12 @@ packages: magic-string: 0.25.9 postcss: 8.4.14 source-map: 0.6.1 - dev: true /@vue/compiler-ssr/3.2.37: resolution: {integrity: sha512-7mQJD7HdXxQjktmsWp/J67lThEIcxLemz1Vb5I6rYJHR5vI+lON3nPGOH3ubmbvYGt8xEUaAr1j7/tIFWiEOqw==} dependencies: '@vue/compiler-dom': 3.2.37 '@vue/shared': 3.2.37 - dev: true /@vue/devtools-api/6.2.0: resolution: {integrity: sha512-pF1G4wky+hkifDiZSWn8xfuLOJI1ZXtuambpBEYaf7Xaf6zC/pM29rvAGpd3qaGXnr4BAXU1Pxz/VfvBGwexGA==} @@ -1680,20 +1664,17 @@ packages: '@vue/shared': 3.2.37 estree-walker: 2.0.2 magic-string: 0.25.9 - dev: true /@vue/reactivity/3.2.37: resolution: {integrity: sha512-/7WRafBOshOc6m3F7plwzPeCu/RCVv9uMpOwa/5PiY1Zz+WLVRWiy0MYKwmg19KBdGtFWsmZ4cD+LOdVPcs52A==} dependencies: '@vue/shared': 3.2.37 - dev: true /@vue/runtime-core/3.2.37: resolution: {integrity: sha512-JPcd9kFyEdXLl/i0ClS7lwgcs0QpUAWj+SKX2ZC3ANKi1U4DOtiEr6cRqFXsPwY5u1L9fAjkinIdB8Rz3FoYNQ==} dependencies: '@vue/reactivity': 3.2.37 '@vue/shared': 3.2.37 - dev: true /@vue/runtime-dom/3.2.37: resolution: {integrity: sha512-HimKdh9BepShW6YozwRKAYjYQWg9mQn63RGEiSswMbW+ssIht1MILYlVGkAGGQbkhSh31PCdoUcfiu4apXJoPw==} @@ -1701,7 +1682,6 @@ packages: '@vue/runtime-core': 3.2.37 '@vue/shared': 3.2.37 csstype: 2.6.20 - dev: true /@vue/server-renderer/3.2.37_vue@3.2.37: resolution: {integrity: sha512-kLITEJvaYgZQ2h47hIzPh2K3jG8c1zCVbp/o/bzQOyvzaKiCquKS7AaioPI28GNxIsE/zSx+EwWYsNxDCX95MA==} @@ -1711,11 +1691,9 @@ packages: '@vue/compiler-ssr': 3.2.37 '@vue/shared': 3.2.37 vue: 3.2.37 - dev: true /@vue/shared/3.2.37: resolution: {integrity: sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==} - dev: true /@vue/test-utils/2.0.1_vue@3.2.37: resolution: {integrity: sha512-4kt7Sw1gzXeQOsMqrwrQbmEiG8El4MP8P4hfxkmfXdUHf7yHa3xC5CQc0x2YyuhT41w2d4K4O0ZdRvZhGdZlow==} @@ -1791,14 +1769,6 @@ packages: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - /ajv/8.11.0: - resolution: {integrity: sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==} - dependencies: - fast-deep-equal: 3.1.3 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - uri-js: 4.4.1 - /algoliasearch/4.13.1: resolution: {integrity: sha512-dtHUSE0caWTCE7liE1xaL+19AFf6kWEcyn76uhcitWpntqvicFHXKFoZe5JJcv9whQOTRM6+B8qJz6sFj+rDJA==} dependencies: @@ -1900,6 +1870,7 @@ packages: /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} + dev: false /array.prototype.flat/1.3.0: resolution: {integrity: sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==} @@ -1924,6 +1895,7 @@ packages: /arrify/1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} + dev: false /ast-types/0.13.4: resolution: {integrity: sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==} @@ -1931,10 +1903,6 @@ packages: dependencies: tslib: 2.4.0 - /astral-regex/2.0.0: - resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} - engines: {node: '>=8'} - /async-retry/1.3.3: resolution: {integrity: sha512-wfr/jstw9xNi/0teMHrRW7dsz3Lt5ARhYNZ2ewpadnhaIp5mbALhOAP+EAdsC7t4Z6wqsDVv9+W6gm1Dk9mEyw==} dependencies: @@ -1963,18 +1931,6 @@ packages: postcss-value-parser: 4.2.0 dev: false - /autoprefixer/9.8.8: - resolution: {integrity: sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==} - hasBin: true - dependencies: - browserslist: 4.21.1 - caniuse-lite: 1.0.30001361 - normalize-range: 0.1.2 - num2fraction: 1.2.2 - picocolors: 0.2.1 - postcss: 7.0.39 - postcss-value-parser: 4.2.0 - /babel-jest/27.5.1_@babel+core@7.18.6: resolution: {integrity: sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -2048,15 +2004,9 @@ packages: babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.6 dev: false - /bail/1.0.5: - resolution: {integrity: sha512-xFbRxM1tahm08yHBP16MMjVUAvDaBMD38zsM9EMAUN61omwLmKlOpB/Zku5QkjZ8TZ4vn53pj+t518cH0S03RQ==} - /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - /balanced-match/2.0.0: - resolution: {integrity: sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA==} - /base64-js/1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -2126,6 +2076,7 @@ packages: electron-to-chromium: 1.4.177 node-releases: 2.0.5 update-browserslist-db: 1.0.4_browserslist@4.21.1 + dev: false /bser/2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} @@ -2194,10 +2145,12 @@ packages: camelcase: 5.3.1 map-obj: 4.3.0 quick-lru: 4.0.1 + dev: false /camelcase/5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} + dev: false /camelcase/6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} @@ -2210,6 +2163,7 @@ packages: /caniuse-lite/1.0.30001361: resolution: {integrity: sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==} + dev: false /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -2235,15 +2189,6 @@ packages: engines: {node: '>=10'} dev: false - /character-entities-legacy/1.1.4: - resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} - - /character-entities/1.2.4: - resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} - - /character-reference-invalid/1.1.4: - resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} - /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} @@ -2299,12 +2244,6 @@ packages: wrap-ansi: 7.0.0 dev: false - /clone-regexp/2.2.0: - resolution: {integrity: sha512-beMpP7BOtTipFuW8hrJvREQ2DrRu3BE7by0ZpibtfBA+qfHYvMGTc2Yb1JMYPKg/JUw0CHYvpg796aNTSW9z7Q==} - engines: {node: '>=6'} - dependencies: - is-regexp: 2.1.0 - /clone-response/1.0.2: resolution: {integrity: sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==} dependencies: @@ -2551,6 +2490,7 @@ packages: resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} dependencies: safe-buffer: 5.1.2 + dev: false /copy-anything/2.0.6: resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} @@ -2589,6 +2529,7 @@ packages: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} hasBin: true + dev: false /cssfontparser/1.2.1: resolution: {integrity: sha512-6tun4LoZnj7VN6YeegOVb67KBX/7JJsqvj+pv3ZA7F878/eN33AbGa5b/S/wXxS/tcp8nc40xRUrsPlxIyNUPg==} @@ -2611,7 +2552,6 @@ packages: /csstype/2.6.20: resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==} - dev: true /dargs/7.0.0: resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} @@ -2637,12 +2577,22 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: false /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 dev: false @@ -2664,10 +2614,12 @@ packages: dependencies: decamelize: 1.2.0 map-obj: 1.0.1 + dev: false /decamelize/1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} + dev: false /decimal.js/10.3.1: resolution: {integrity: sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==} @@ -2779,12 +2731,15 @@ packages: dependencies: domelementtype: 2.3.0 entities: 2.2.0 + dev: false /domelementtype/1.3.1: resolution: {integrity: sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==} + dev: false /domelementtype/2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + dev: false /domexception/2.0.1: resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==} @@ -2797,12 +2752,14 @@ packages: resolution: {integrity: sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==} dependencies: domelementtype: 1.3.1 + dev: false /domutils/1.7.0: resolution: {integrity: sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==} dependencies: dom-serializer: 0.2.2 domelementtype: 1.3.1 + dev: false /dot-case/3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} @@ -2846,6 +2803,7 @@ packages: /electron-to-chromium/1.4.177: resolution: {integrity: sha512-FYPir3NSBEGexSZUEeht81oVhHfLFl6mhUKSkjHN/iB/TwEIt/WHQrqVGfTLN5gQxwJCQkIJBe05eOXjI7omgg==} + dev: false /emittery/0.8.1: resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==} @@ -2873,6 +2831,7 @@ packages: /entities/1.1.2: resolution: {integrity: sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==} + dev: false /entities/2.1.0: resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==} @@ -2880,6 +2839,7 @@ packages: /entities/2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} + dev: false /errno/0.1.8: resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} @@ -3142,6 +3102,7 @@ packages: /escalade/3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} + dev: false /escape-goat/4.0.0: resolution: {integrity: sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==} @@ -3189,7 +3150,7 @@ packages: source-map: 0.6.1 dev: false - /eslint-config-airbnb-base/15.0.0_q2xwze32dd33a2fc2qubwr4ie4: + /eslint-config-airbnb-base/15.0.0_86af6c937a18f7b068a2d4281b478827: resolution: {integrity: sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==} engines: {node: ^10.12.0 || >=12.0.0} peerDependencies: @@ -3198,7 +3159,7 @@ packages: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.19.0 - eslint-plugin-import: 2.26.0_eslint@8.19.0 + eslint-plugin-import: 2.26.0_b991b8cc37fbaea14375bc1442f912c5 object.assign: 4.1.2 object.entries: 1.1.5 semver: 6.3.0 @@ -3218,29 +3179,54 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.1 + transitivePeerDependencies: + - supports-color dev: false - /eslint-module-utils/2.7.3: + /eslint-module-utils/2.7.3_0e410f8f48e63a2eb2da71474b5e1cf0: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 + transitivePeerDependencies: + - supports-color dev: false - /eslint-plugin-import/2.26.0_eslint@8.19.0: + /eslint-plugin-import/2.26.0_b991b8cc37fbaea14375bc1442f912c5: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.19.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3 + eslint-module-utils: 2.7.3_0e410f8f48e63a2eb2da71474b5e1cf0 has: 1.0.3 is-core-module: 2.9.0 is-glob: 4.0.3 @@ -3248,6 +3234,10 @@ packages: object.values: 1.1.5 resolve: 1.22.1 tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: false /eslint-plugin-vue/9.1.1_eslint@8.19.0: @@ -3411,12 +3401,6 @@ packages: signal-exit: 3.0.7 strip-final-newline: 3.0.0 - /execall/2.0.0: - resolution: {integrity: sha512-0FU2hZ5Hh6iQnarpRtQurM/aAvp3RIbfvgLHrcqJYzhXyV2KFruhuChf9NC6waAhiUR7FFtlugkI4p7f2Fqlow==} - engines: {node: '>=8'} - dependencies: - clone-regexp: 2.2.0 - /exit/0.1.2: resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} @@ -3439,9 +3423,6 @@ packages: is-extendable: 0.1.1 dev: false - /extend/3.0.2: - resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} - /external-editor/3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} @@ -3469,9 +3450,6 @@ packages: /fast-levenshtein/2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - /fastest-levenshtein/1.0.12: - resolution: {integrity: sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==} - /fastq/1.13.0: resolution: {integrity: sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==} dependencies: @@ -3536,6 +3514,7 @@ packages: dependencies: locate-path: 5.0.0 path-exists: 4.0.0 + dev: false /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} @@ -3627,6 +3606,7 @@ packages: /gensync/1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} + dev: false /get-caller-file/2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} @@ -3656,10 +3636,6 @@ packages: yargs: 16.2.0 dev: false - /get-stdin/8.0.0: - resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} - engines: {node: '>=10'} - /get-stream/5.2.0: resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} engines: {node: '>=8'} @@ -3764,23 +3740,10 @@ packages: dependencies: ini: 2.0.0 - /global-modules/2.0.0: - resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==} - engines: {node: '>=6'} - dependencies: - global-prefix: 3.0.0 - - /global-prefix/3.0.0: - resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} - engines: {node: '>=6'} - dependencies: - ini: 1.3.8 - kind-of: 6.0.3 - which: 1.3.1 - /globals/11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} + dev: false /globals/13.15.0: resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==} @@ -3798,6 +3761,7 @@ packages: ignore: 5.2.0 merge2: 1.4.1 slash: 3.0.0 + dev: false /globby/13.1.2: resolution: {integrity: sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ==} @@ -3809,16 +3773,6 @@ packages: merge2: 1.4.1 slash: 4.0.0 - /globjoin/0.1.4: - resolution: {integrity: sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==} - - /gonzales-pe/4.3.0: - resolution: {integrity: sha512-otgSPpUmdWJ43VXyiNgEYE4luzHCL2pz4wQ0OnDluC6Eg4Ko3Vexy/SrSynglw/eR+OhkzmqFCZa/OFa/RgAOQ==} - engines: {node: '>=0.6.0'} - hasBin: true - dependencies: - minimist: 1.2.6 - /got/12.1.0: resolution: {integrity: sha512-hBv2ty9QN2RdbJJMK3hesmSkFTjVIHyIDDbssCKnSmq62edGgImJWD10Eb1k77TiV1bxloxqcFAVK8+9pkhOig==} engines: {node: '>=14.16'} @@ -3866,6 +3820,7 @@ packages: /hard-rejection/2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} engines: {node: '>=6'} + dev: false /has-bigints/1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -3919,12 +3874,14 @@ packages: /hosted-git-info/2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + dev: false /hosted-git-info/4.1.0: resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} engines: {node: '>=10'} dependencies: lru-cache: 6.0.0 + dev: false /html-encoding-sniffer/2.0.1: resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==} @@ -3954,6 +3911,7 @@ packages: /html-tags/3.2.0: resolution: {integrity: sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg==} engines: {node: '>=8'} + dev: false /htmlparser2/3.10.1: resolution: {integrity: sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==} @@ -3964,6 +3922,7 @@ packages: entities: 1.1.2 inherits: 2.0.4 readable-stream: 3.6.0 + dev: false /http-cache-semantics/4.1.0: resolution: {integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==} @@ -4073,6 +4032,7 @@ packages: /indent-string/4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} + dev: false /inflight/1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} @@ -4146,15 +4106,6 @@ packages: /ip/1.1.8: resolution: {integrity: sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==} - /is-alphabetical/1.0.4: - resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} - - /is-alphanumerical/1.0.4: - resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} - dependencies: - is-alphabetical: 1.0.4 - is-decimal: 1.0.4 - /is-arguments/1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} @@ -4177,10 +4128,6 @@ packages: call-bind: 1.0.2 has-tostringtag: 1.0.0 - /is-buffer/2.0.5: - resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} - engines: {node: '>=4'} - /is-callable/1.2.4: resolution: {integrity: sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==} engines: {node: '>= 0.4'} @@ -4202,9 +4149,6 @@ packages: dependencies: has-tostringtag: 1.0.0 - /is-decimal/1.0.4: - resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} - /is-docker/2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} @@ -4234,9 +4178,6 @@ packages: dependencies: is-extglob: 2.1.1 - /is-hexadecimal/1.0.4: - resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} - /is-installed-globally/0.4.0: resolution: {integrity: sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ==} engines: {node: '>=10'} @@ -4285,10 +4226,7 @@ packages: /is-plain-obj/1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} - - /is-plain-obj/2.1.0: - resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} - engines: {node: '>=8'} + dev: false /is-plain-object/5.0.0: resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} @@ -4305,10 +4243,6 @@ packages: call-bind: 1.0.2 has-tostringtag: 1.0.0 - /is-regexp/2.1.0: - resolution: {integrity: sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA==} - engines: {node: '>=6'} - /is-set/2.0.2: resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} @@ -4355,6 +4289,7 @@ packages: /is-unicode-supported/0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} + dev: false /is-unicode-supported/1.2.0: resolution: {integrity: sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ==} @@ -5000,6 +4935,7 @@ packages: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} hasBin: true + dev: false /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -5014,9 +4950,6 @@ packages: /json-schema-traverse/0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} - /json-schema-traverse/1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - /json-stable-stringify-without-jsonify/1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} @@ -5035,6 +4968,7 @@ packages: resolution: {integrity: sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==} engines: {node: '>=6'} hasBin: true + dev: false /jsonfile/4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -5063,15 +4997,13 @@ packages: /kind-of/6.0.3: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} + dev: false /kleur/3.0.3: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} dev: false - /known-css-properties/0.21.0: - resolution: {integrity: sha512-sZLUnTqimCkvkgRS+kbPlYW5o8q5w1cu+uIisKpEWkj31I8mx8kNG162DwRav8Zirkva6N5uoFsm9kzK4mUXjw==} - /latest-version/7.0.0: resolution: {integrity: sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg==} engines: {node: '>=14.16'} @@ -5094,6 +5026,8 @@ packages: mime: 1.6.0 needle: 3.1.0 source-map: 0.6.1 + transitivePeerDependencies: + - supports-color dev: false /leven/3.1.0: @@ -5152,6 +5086,7 @@ packages: engines: {node: '>=8'} dependencies: p-locate: 4.1.0 + dev: false /lodash.ismatch/4.4.0: resolution: {integrity: sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==} @@ -5160,9 +5095,6 @@ packages: /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - /lodash.truncate/4.4.2: - resolution: {integrity: sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==} - /lodash/4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -5172,6 +5104,7 @@ packages: dependencies: chalk: 4.1.2 is-unicode-supported: 0.1.0 + dev: false /log-symbols/5.1.0: resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} @@ -5180,15 +5113,11 @@ packages: chalk: 5.0.1 is-unicode-supported: 1.2.0 - /longest-streak/2.0.4: - resolution: {integrity: sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==} - /loose-envify/1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true dependencies: js-tokens: 4.0.0 - dev: true /lower-case/2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -5223,7 +5152,6 @@ packages: resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} dependencies: sourcemap-codec: 1.4.8 - dev: true /make-dir/2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -5251,12 +5179,14 @@ packages: /map-obj/1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} + dev: false /map-obj/4.3.0: resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} engines: {node: '>=8'} + dev: false - /markdown-it-anchor/8.6.4_2zb4u3vubltivolgu556vv4aom: + /markdown-it-anchor/8.6.4_d643ca6eb40ae68ab966a77bead78073: resolution: {integrity: sha512-Ul4YVYZNxMJYALpKtu+ZRdrryYt/GlQ5CK+4l1bp/gWXOG2QWElt6AqF3Mih/wfUKdZbNAZVXGR73/n6U/8img==} peerDependencies: '@types/markdown-it': '*' @@ -5277,33 +5207,6 @@ packages: uc.micro: 1.0.6 dev: false - /mathml-tag-names/2.1.3: - resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==} - - /mdast-util-from-markdown/0.8.5: - resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} - dependencies: - '@types/mdast': 3.0.10 - mdast-util-to-string: 2.0.0 - micromark: 2.11.4 - parse-entities: 2.0.0 - unist-util-stringify-position: 2.0.3 - transitivePeerDependencies: - - supports-color - - /mdast-util-to-markdown/0.6.5: - resolution: {integrity: sha512-XeV9sDE7ZlOQvs45C9UKMtfTcctcaj/pGwH8YLbMHoMOXNNCn2LsqVQOqrF1+/NU8lKDAqozme9SCXWyo9oAcQ==} - dependencies: - '@types/unist': 2.0.6 - longest-streak: 2.0.4 - mdast-util-to-string: 2.0.0 - parse-entities: 2.0.0 - repeat-string: 1.6.1 - zwitch: 1.0.5 - - /mdast-util-to-string/2.0.0: - resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} - /mdurl/1.0.1: resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} dev: false @@ -5325,23 +5228,6 @@ packages: yargs-parser: 20.2.9 dev: false - /meow/9.0.0: - resolution: {integrity: sha512-+obSblOQmRhcyBt62furQqRAQpNyWXo8BuQ5bN7dG8wmwQ+vwHKp/rCFD4CrTP8CsDQD1sjoZ94K417XEUk8IQ==} - engines: {node: '>=10'} - dependencies: - '@types/minimist': 1.2.2 - camelcase-keys: 6.2.2 - decamelize: 1.2.0 - decamelize-keys: 1.1.0 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 7.0.1 - redent: 3.0.0 - trim-newlines: 3.0.1 - type-fest: 0.18.1 - yargs-parser: 20.2.9 - /merge-stream/2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} @@ -5349,14 +5235,6 @@ packages: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} - /micromark/2.11.4: - resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} - dependencies: - debug: 4.3.4 - parse-entities: 2.0.0 - transitivePeerDependencies: - - supports-color - /micromatch/4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} @@ -5401,6 +5279,7 @@ packages: /min-indent/1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} + dev: false /minimatch/3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -5421,6 +5300,7 @@ packages: arrify: 1.0.1 is-plain-obj: 1.1.0 kind-of: 6.0.3 + dev: false /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} @@ -5480,6 +5360,8 @@ packages: debug: 3.2.7 iconv-lite: 0.6.3 sax: 1.2.4 + transitivePeerDependencies: + - supports-color dev: false optional: true @@ -5521,6 +5403,7 @@ packages: /node-releases/2.0.5: resolution: {integrity: sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==} + dev: false /normalize-package-data/2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} @@ -5529,6 +5412,7 @@ packages: resolve: 1.22.1 semver: 5.7.1 validate-npm-package-license: 3.0.4 + dev: false /normalize-package-data/3.0.3: resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} @@ -5538,6 +5422,7 @@ packages: is-core-module: 2.9.0 semver: 7.3.7 validate-npm-package-license: 3.0.4 + dev: false /normalize-path/3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} @@ -5547,9 +5432,7 @@ packages: /normalize-range/0.1.2: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} - - /normalize-selector/0.2.0: - resolution: {integrity: sha512-dxvWdI8gw6eAvk9BlPffgEoGfM7AdijoCwOEJge3e3ulT2XLgmU7KvvxprOaCu05Q1uGRHmOhHe1r6emZoKyFw==} + dev: false /normalize-url/6.1.0: resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} @@ -5573,9 +5456,6 @@ packages: boolbase: 1.0.0 dev: false - /num2fraction/1.2.2: - resolution: {integrity: sha512-Y1wZESM7VUThYY+4W+X4ySH2maqcA+p7UR+w8VWNWVAd6lwuXXWz/w/Cz43J/dI2I+PS6wD5N+bJUF+gjWvIqg==} - /nwsapi/2.2.1: resolution: {integrity: sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==} dev: false @@ -5717,6 +5597,7 @@ packages: engines: {node: '>=6'} dependencies: p-try: 2.2.0 + dev: false /p-locate/2.0.0: resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} @@ -5730,6 +5611,7 @@ packages: engines: {node: '>=8'} dependencies: p-limit: 2.3.0 + dev: false /p-try/1.0.0: resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} @@ -5739,6 +5621,7 @@ packages: /p-try/2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} + dev: false /pac-proxy-agent/5.0.0: resolution: {integrity: sha512-CcFG3ZtnxO8McDigozwE3AqAw15zDvGH+OjXO4kzf7IkEKkQ4gxQ+3sdF50WmhQ4P/bVusXcqNE2S3XrNURwzQ==} @@ -5786,16 +5669,6 @@ packages: dependencies: callsites: 3.1.0 - /parse-entities/2.0.0: - resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} - dependencies: - character-entities: 1.2.4 - character-entities-legacy: 1.1.4 - character-reference-invalid: 1.1.4 - is-alphanumerical: 1.0.4 - is-decimal: 1.0.4 - is-hexadecimal: 1.0.4 - /parse-json/4.0.0: resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} engines: {node: '>=4'} @@ -5853,6 +5726,7 @@ packages: /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} + dev: false /path-is-absolute/1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} @@ -5880,9 +5754,6 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - /picocolors/0.2.1: - resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==} - /picocolors/1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} @@ -5918,22 +5789,6 @@ packages: find-up: 4.1.0 dev: false - /postcss-html/0.36.0_j55xdkkcxc32kvnyvx3y7casfm: - resolution: {integrity: sha512-HeiOxGcuwID0AFsNAL0ox3mW6MHH5cstWN1Z3Y+n6H+g12ih7LHdYxWwEA/QmrebctLjo79xz9ouK3MroHwOJw==} - peerDependencies: - postcss: '>=5.0.0' - postcss-syntax: '>=0.36.0' - dependencies: - htmlparser2: 3.10.1 - postcss: 7.0.39 - postcss-syntax: 0.36.2_postcss@7.0.39 - - /postcss-less/3.1.4: - resolution: {integrity: sha512-7TvleQWNM2QLcHqvudt3VYjULVB49uiW6XzEUFmvwHzvsOEF5MwBrIXZDJQvJNFGjJQTzSzZnDoCJ8h/ljyGXA==} - engines: {node: '>=6.14.4'} - dependencies: - postcss: 7.0.39 - /postcss-load-config/3.1.4_postcss@8.4.14: resolution: {integrity: sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==} engines: {node: '>= 10'} @@ -5951,53 +5806,17 @@ packages: yaml: 1.10.2 dev: false - /postcss-media-query-parser/0.2.3: - resolution: {integrity: sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==} - - /postcss-resolve-nested-selector/0.1.1: - resolution: {integrity: sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==} - - /postcss-safe-parser/4.0.2: - resolution: {integrity: sha512-Uw6ekxSWNLCPesSv/cmqf2bY/77z11O7jZGPax3ycZMFU/oi2DMH9i89AdHc1tRwFg/arFoEwX0IS3LCUxJh1g==} - engines: {node: '>=6.0.0'} - dependencies: - postcss: 7.0.39 - - /postcss-sass/0.4.4: - resolution: {integrity: sha512-BYxnVYx4mQooOhr+zer0qWbSPYnarAy8ZT7hAQtbxtgVf8gy+LSLT/hHGe35h14/pZDTw1DsxdbrwxBN++H+fg==} - dependencies: - gonzales-pe: 4.3.0 - postcss: 7.0.39 - - /postcss-scss/2.1.1: - resolution: {integrity: sha512-jQmGnj0hSGLd9RscFw9LyuSVAa5Bl1/KBPqG1NQw9w8ND55nY4ZEsdlVuYJvLPpV+y0nwTV5v/4rHPzZRihQbA==} - engines: {node: '>=6.0.0'} - dependencies: - postcss: 7.0.39 - /postcss-selector-parser/6.0.10: resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 - - /postcss-syntax/0.36.2_postcss@7.0.39: - resolution: {integrity: sha512-nBRg/i7E3SOHWxF3PpF5WnJM/jQ1YpY9000OaVXlAQj6Zp/kIqJxEDWIZ67tAd7NLuk7zqN4yqe9nc0oNAOs1w==} - peerDependencies: - postcss: '>=5.0.0' - dependencies: - postcss: 7.0.39 + dev: false /postcss-value-parser/4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - - /postcss/7.0.39: - resolution: {integrity: sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==} - engines: {node: '>=6.0.0'} - dependencies: - picocolors: 0.2.1 - source-map: 0.6.1 + dev: false /postcss/8.4.14: resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} @@ -6134,6 +5953,7 @@ packages: /quick-lru/4.0.1: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} + dev: false /quick-lru/5.1.1: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} @@ -6168,7 +5988,6 @@ packages: loose-envify: 1.4.0 react: 18.2.0 scheduler: 0.23.0 - dev: true /react-is/17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} @@ -6179,7 +5998,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 - dev: true /read-pkg-up/3.0.0: resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==} @@ -6196,6 +6014,7 @@ packages: find-up: 4.1.0 read-pkg: 5.2.0 type-fest: 0.8.1 + dev: false /read-pkg/3.0.0: resolution: {integrity: sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==} @@ -6214,6 +6033,7 @@ packages: normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 + dev: false /readable-stream/1.1.14: resolution: {integrity: sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==} @@ -6255,6 +6075,7 @@ packages: dependencies: indent-string: 4.0.0 strip-indent: 3.0.0 + dev: false /regexp.prototype.flags/1.4.3: resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} @@ -6320,40 +6141,11 @@ packages: - encoding - supports-color - /remark-parse/9.0.0: - resolution: {integrity: sha512-geKatMwSzEXKHuzBNU1z676sGcDcFoChMK38TgdHJNAYfFtsfHDQG7MoJAjs6sgYMqyLduCYWDIWZIxiPeafEw==} - dependencies: - mdast-util-from-markdown: 0.8.5 - transitivePeerDependencies: - - supports-color - - /remark-stringify/9.0.1: - resolution: {integrity: sha512-mWmNg3ZtESvZS8fv5PTvaPckdL4iNlCHTt8/e/8oN08nArHRHjNZMKzA/YW3+p7/lYqIw4nx1XsjCBo/AxNChg==} - dependencies: - mdast-util-to-markdown: 0.6.5 - - /remark/13.0.0: - resolution: {integrity: sha512-HDz1+IKGtOyWN+QgBiAT0kn+2s6ovOxHyPAFGKVE81VSzJ+mq7RwHFledEvB5F1p4iJvOah/LOKdFuzvRnNLCA==} - dependencies: - remark-parse: 9.0.0 - remark-stringify: 9.0.1 - unified: 9.2.2 - transitivePeerDependencies: - - supports-color - - /repeat-string/1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} - /require-directory/2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} dev: false - /require-from-string/2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} - /resolve-alpn/1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} @@ -6371,6 +6163,7 @@ packages: /resolve-from/5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} + dev: false /resolve.exports/1.1.0: resolution: {integrity: sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==} @@ -6443,6 +6236,7 @@ packages: /safe-buffer/5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: false /safe-buffer/5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} @@ -6466,7 +6260,6 @@ packages: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: loose-envify: 1.4.0 - dev: true /section-matter/1.0.0: resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} @@ -6485,10 +6278,12 @@ packages: /semver/5.7.1: resolution: {integrity: sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==} hasBin: true + dev: false /semver/6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true + dev: false /semver/7.3.7: resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==} @@ -6536,19 +6331,12 @@ packages: /slash/3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + dev: false /slash/4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} - /slice-ansi/4.0.0: - resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} - engines: {node: '>=10'} - dependencies: - ansi-styles: 4.3.0 - astral-regex: 2.0.0 - is-fullwidth-code-point: 3.0.0 - /smart-buffer/4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -6592,29 +6380,28 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - dev: true /spdx-correct/3.1.1: resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} dependencies: spdx-expression-parse: 3.0.1 spdx-license-ids: 3.0.11 + dev: false /spdx-exceptions/2.3.0: resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + dev: false /spdx-expression-parse/3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.11 + dev: false /spdx-license-ids/3.0.11: resolution: {integrity: sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==} - - /specificity/0.4.1: - resolution: {integrity: sha512-1klA3Gi5PD1Wv9Q0wUoOQN1IWAuPu0D1U03ThXTr0cJ20+/iq2tHSDnK7Kk/0LXJ1ztUB2/1Os0wKmfyNgUQfg==} - hasBin: true + dev: false /split-on-first/1.1.0: resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} @@ -6743,6 +6530,7 @@ packages: engines: {node: '>=8'} dependencies: min-indent: 1.0.1 + dev: false /strip-json-comments/2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} @@ -6752,97 +6540,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - /style-search/0.1.0: - resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} - - /stylelint-config-prettier/8.0.2_stylelint@13.13.1: - resolution: {integrity: sha512-TN1l93iVTXpF9NJstlvP7nOu9zY2k+mN0NSFQ/VEGz15ZIP9ohdDZTtCWHs5LjctAhSAzaILULGbgiM0ItId3A==} - engines: {node: '>= 10', npm: '>= 5'} - hasBin: true - peerDependencies: - stylelint: '>=11.0.0' - dependencies: - stylelint: 13.13.1 - dev: false - - /stylelint-config-recommended/5.0.0_stylelint@13.13.1: - resolution: {integrity: sha512-c8aubuARSu5A3vEHLBeOSJt1udOdS+1iue7BmJDTSXoCBmfEQmmWX+59vYIj3NQdJBY6a/QRv1ozVFpaB9jaqA==} - peerDependencies: - stylelint: ^13.13.0 - dependencies: - stylelint: 13.13.1 - dev: false - - /stylelint-config-standard/22.0.0_stylelint@13.13.1: - resolution: {integrity: sha512-uQVNi87SHjqTm8+4NIP5NMAyY/arXrBgimaaT7skvRfE9u3JKXRK9KBkbr4pVmeciuCcs64kAdjlxfq6Rur7Hw==} - peerDependencies: - stylelint: ^13.13.0 - dependencies: - stylelint: 13.13.1 - stylelint-config-recommended: 5.0.0_stylelint@13.13.1 - dev: false - - /stylelint/13.13.1: - resolution: {integrity: sha512-Mv+BQr5XTUrKqAXmpqm6Ddli6Ief+AiPZkRsIrAoUKFuq/ElkUh9ZMYxXD0iQNZ5ADghZKLOWz1h7hTClB7zgQ==} - engines: {node: '>=10.13.0'} - hasBin: true - dependencies: - '@stylelint/postcss-css-in-js': 0.37.3_j55xdkkcxc32kvnyvx3y7casfm - '@stylelint/postcss-markdown': 0.36.2_j55xdkkcxc32kvnyvx3y7casfm - autoprefixer: 9.8.8 - balanced-match: 2.0.0 - chalk: 4.1.2 - cosmiconfig: 7.0.1 - debug: 4.3.4 - execall: 2.0.0 - fast-glob: 3.2.11 - fastest-levenshtein: 1.0.12 - file-entry-cache: 6.0.1 - get-stdin: 8.0.0 - global-modules: 2.0.0 - globby: 11.1.0 - globjoin: 0.1.4 - html-tags: 3.2.0 - ignore: 5.2.0 - import-lazy: 4.0.0 - imurmurhash: 0.1.4 - known-css-properties: 0.21.0 - lodash: 4.17.21 - log-symbols: 4.1.0 - mathml-tag-names: 2.1.3 - meow: 9.0.0 - micromatch: 4.0.5 - normalize-selector: 0.2.0 - postcss: 7.0.39 - postcss-html: 0.36.0_j55xdkkcxc32kvnyvx3y7casfm - postcss-less: 3.1.4 - postcss-media-query-parser: 0.2.3 - postcss-resolve-nested-selector: 0.1.1 - postcss-safe-parser: 4.0.2 - postcss-sass: 0.4.4 - postcss-scss: 2.1.1 - postcss-selector-parser: 6.0.10 - postcss-syntax: 0.36.2_postcss@7.0.39 - postcss-value-parser: 4.2.0 - resolve-from: 5.0.0 - slash: 3.0.0 - specificity: 0.4.1 - string-width: 4.2.3 - strip-ansi: 6.0.1 - style-search: 0.1.0 - sugarss: 2.0.0 - svg-tags: 1.0.0 - table: 6.8.0 - v8-compile-cache: 2.3.0 - write-file-atomic: 3.0.3 - transitivePeerDependencies: - - supports-color - - /sugarss/2.0.0: - resolution: {integrity: sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==} - dependencies: - postcss: 7.0.39 - /supports-color/5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} @@ -6876,21 +6573,12 @@ packages: /svg-tags/1.0.0: resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==} + dev: false /symbol-tree/3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} dev: false - /table/6.8.0: - resolution: {integrity: sha512-s/fitrbVeEyHKFa7mFdkuQMWlH1Wgw/yEXMt5xACT4ZpzWFluehAxRtUUQKPuWhaLAWhFcVx6w3oC8VKaUfPGA==} - engines: {node: '>=10.0.0'} - dependencies: - ajv: 8.11.0 - lodash.truncate: 4.4.2 - slice-ansi: 4.0.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - /tapable/2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -7006,9 +6694,7 @@ packages: /trim-newlines/3.0.1: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} engines: {node: '>=8'} - - /trough/1.0.5: - resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} + dev: false /tsconfig-paths/3.14.1: resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} @@ -7056,6 +6742,7 @@ packages: /type-fest/0.18.1: resolution: {integrity: sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==} engines: {node: '>=10'} + dev: false /type-fest/0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} @@ -7069,10 +6756,12 @@ packages: /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} + dev: false /type-fest/0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} + dev: false /type-fest/1.4.0: resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} @@ -7112,35 +6801,12 @@ packages: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - /unified/9.2.2: - resolution: {integrity: sha512-Sg7j110mtefBD+qunSLO1lqOEKdrwBFBrR6Qd8f4uwkhWNlbkaqwHse6e7QvD3AP/MNoJdEDLaf8OxYyoWgorQ==} - dependencies: - bail: 1.0.5 - extend: 3.0.2 - is-buffer: 2.0.5 - is-plain-obj: 2.1.0 - trough: 1.0.5 - vfile: 4.2.1 - /unique-string/3.0.0: resolution: {integrity: sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==} engines: {node: '>=12'} dependencies: crypto-random-string: 4.0.0 - /unist-util-find-all-after/3.0.2: - resolution: {integrity: sha512-xaTC/AGZ0rIM2gM28YVRAFPIZpzbpDtU3dRmp7EXlNVA8ziQc4hY3H7BHXM1J49nEmiqc3svnqMReW+PGqbZKQ==} - dependencies: - unist-util-is: 4.1.0 - - /unist-util-is/4.1.0: - resolution: {integrity: sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==} - - /unist-util-stringify-position/2.0.3: - resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - dependencies: - '@types/unist': 2.0.6 - /universal-user-agent/6.0.0: resolution: {integrity: sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==} @@ -7166,6 +6832,7 @@ packages: browserslist: 4.21.1 escalade: 3.1.1 picocolors: 1.0.0 + dev: false /update-notifier/6.0.2: resolution: {integrity: sha512-EDxhTEVPZZRLWYcJ4ZXjGFN0oP7qYvbXWzEgRm/Yql4dHX5wDbvh89YHP6PK1lzZJYrMtXUuZZz8XGK+U6U1og==} @@ -7215,22 +6882,9 @@ packages: dependencies: spdx-correct: 3.1.1 spdx-expression-parse: 3.0.1 + dev: false - /vfile-message/2.0.4: - resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==} - dependencies: - '@types/unist': 2.0.6 - unist-util-stringify-position: 2.0.3 - - /vfile/4.2.1: - resolution: {integrity: sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==} - dependencies: - '@types/unist': 2.0.6 - is-buffer: 2.0.5 - unist-util-stringify-position: 2.0.3 - vfile-message: 2.0.4 - - /vite-plugin-html/2.1.2_vite@2.9.13: + /vite-plugin-html/2.1.2_vite@3.0.2: resolution: {integrity: sha512-7HXkL6n7M2qDEaUV4Vnz8yM2glW4gV36d5HSBIM5gOoAG1PkuQb4Vv9FTPgPiQxq4sPRf/6IgABX0MeLVW+CyQ==} peerDependencies: vite: '>=2.0.0' @@ -7241,10 +6895,10 @@ packages: ejs: 3.1.8 fs-extra: 10.1.0 html-minifier-terser: 6.1.0 - vite: 2.9.13_less@4.1.3 + vite: 3.0.2_less@4.1.3 dev: false - /vite-plugin-md/0.11.9_vite@2.9.13: + /vite-plugin-md/0.11.9_vite@3.0.2: resolution: {integrity: sha512-0uD2BPIct3FbEA1hAm56hlrBByEn542HTsS/FoWf33lJIgijVBDDV6FE12ud0SHS6sculITKliF2ntog2kiHmQ==} peerDependencies: vite: ^2.0.0 @@ -7254,17 +6908,18 @@ packages: '@types/markdown-it': 12.2.3 gray-matter: 4.0.3 markdown-it: 12.3.2 - vite: 2.9.13_less@4.1.3 + vite: 3.0.2_less@4.1.3 dev: false - /vite/2.9.13_less@4.1.3: - resolution: {integrity: sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==} - engines: {node: '>=12.2.0'} + /vite/3.0.2_less@4.1.3: + resolution: {integrity: sha512-TAqydxW/w0U5AoL5AsD9DApTvGb2iNbGs3sN4u2VdT1GFkQVUfgUldt+t08TZgi23uIauh1TUOQJALduo9GXqw==} + engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: less: '*' sass: '*' stylus: '*' + terser: ^5.4.0 peerDependenciesMeta: less: optional: true @@ -7272,6 +6927,8 @@ packages: optional: true stylus: optional: true + terser: + optional: true dependencies: esbuild: 0.14.48 less: 4.1.3 @@ -7324,7 +6981,6 @@ packages: '@vue/runtime-dom': 3.2.37 '@vue/server-renderer': 3.2.37_vue@3.2.37 '@vue/shared': 3.2.37 - dev: true /w3c-hr-time/1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} @@ -7397,12 +7053,6 @@ packages: is-string: 1.0.7 is-symbol: 1.0.4 - /which/1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true - dependencies: - isexe: 2.0.0 - /which/2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -7517,6 +7167,7 @@ packages: /yargs-parser/20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} + dev: false /yargs-parser/21.0.1: resolution: {integrity: sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg==} @@ -7534,6 +7185,3 @@ packages: y18n: 5.0.8 yargs-parser: 20.2.9 dev: false - - /zwitch/1.0.5: - resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} From 729e283ab55e27668c0551fb0e329380bcdc64e2 Mon Sep 17 00:00:00 2001 From: Yorksh1re Date: Tue, 26 Jul 2022 10:22:52 +0800 Subject: [PATCH 03/16] fix(docs): fix button example type in documentation (#10850) * fix(docs): fix buttons type * Update README.md Co-authored-by: neverland --- packages/vant/src/button/README.md | 12 ++++++------ packages/vant/src/button/README.zh-CN.md | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/vant/src/button/README.md b/packages/vant/src/button/README.md index 9ca21692c..dbfa7aff9 100644 --- a/packages/vant/src/button/README.md +++ b/packages/vant/src/button/README.md @@ -31,22 +31,22 @@ app.use(Button); ### Plain ```html -Primary -Danger +Plain +Plain ``` ### Hairline ```html Hairline -Hairline +Hairline ``` ### Disabled ```html Disabled -Disabled +Disabled ``` ### Loading @@ -54,14 +54,14 @@ app.use(Button); ```html - + ``` ### Shape ```html Square -Round +Round ``` ### Icon diff --git a/packages/vant/src/button/README.zh-CN.md b/packages/vant/src/button/README.zh-CN.md index 8ebc4bf8d..6a77bc8c3 100644 --- a/packages/vant/src/button/README.zh-CN.md +++ b/packages/vant/src/button/README.zh-CN.md @@ -36,7 +36,7 @@ app.use(Button); ```html 朴素按钮 -朴素按钮 +朴素按钮 ``` ### 细边框 @@ -45,7 +45,7 @@ app.use(Button); ```html 细边框按钮 -细边框按钮 +细边框按钮 ``` ### 禁用状态 @@ -54,7 +54,7 @@ app.use(Button); ```html 禁用状态 -禁用状态 +禁用状态 ``` ### 加载状态 @@ -64,7 +64,7 @@ app.use(Button); ```html - + ``` ### 按钮形状 @@ -73,7 +73,7 @@ app.use(Button); ```html 方形按钮 -圆形按钮 +圆形按钮 ``` ### 图标按钮 From e6b43db90b2b44e3584c4d24a4c9d0321e1a0f23 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 30 Jul 2022 19:55:17 +0800 Subject: [PATCH 04/16] refactor(@vant/cli): remove vetur configs (#10866) --- .gitignore | 1 - .../generators/vue3/.gitignore.tpl | 1 - packages/vant-cli/changelog.md | 6 ++ packages/vant-cli/package.json | 1 - packages/vant-cli/src/commands/build.ts | 4 +- packages/vant-cli/src/commands/clean.ts | 2 - packages/vant-cli/src/common/constant.ts | 1 - .../vant-cli/src/compiler/gen-vetur-config.ts | 25 ----- .../src/compiler/web-types}/formatter.ts | 29 +++--- .../vant-cli/src/compiler/web-types/index.ts | 54 ++++++++++ .../src/compiler/web-types}/parser.ts | 14 +-- .../src/compiler/web-types}/type.ts | 20 ---- .../src/compiler/web-types}/utils.ts | 0 .../src/compiler/web-types}/web-types.ts | 2 +- packages/vant-cli/src/module.d.ts | 1 - packages/vant-markdown-vetur/LICENSE | 10 -- packages/vant-markdown-vetur/README.md | 37 ------- packages/vant-markdown-vetur/package.json | 35 ------- packages/vant-markdown-vetur/src/index.ts | 49 --------- packages/vant-markdown-vetur/src/vetur.ts | 36 ------- packages/vant-markdown-vetur/tsconfig.json | 10 -- packages/vant/package.json | 9 +- packages/vant/vant.config.mjs | 3 - pnpm-lock.yaml | 99 +++++-------------- 24 files changed, 112 insertions(+), 337 deletions(-) delete mode 100644 packages/vant-cli/src/compiler/gen-vetur-config.ts rename packages/{vant-markdown-vetur/src => vant-cli/src/compiler/web-types}/formatter.ts (85%) create mode 100644 packages/vant-cli/src/compiler/web-types/index.ts rename packages/{vant-markdown-vetur/src => vant-cli/src/compiler/web-types}/parser.ts (91%) rename packages/{vant-markdown-vetur/src => vant-cli/src/compiler/web-types}/type.ts (66%) rename packages/{vant-markdown-vetur/src => vant-cli/src/compiler/web-types}/utils.ts (100%) rename packages/{vant-markdown-vetur/src => vant-cli/src/compiler/web-types}/web-types.ts (90%) delete mode 100644 packages/vant-markdown-vetur/LICENSE delete mode 100644 packages/vant-markdown-vetur/README.md delete mode 100644 packages/vant-markdown-vetur/package.json delete mode 100644 packages/vant-markdown-vetur/src/index.ts delete mode 100644 packages/vant-markdown-vetur/src/vetur.ts delete mode 100644 packages/vant-markdown-vetur/tsconfig.json diff --git a/.gitignore b/.gitignore index e7fa2a6cb..bbfb1619c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,5 @@ package-lock.json es lib dist -vetur **/site-dist changelog.generated.md diff --git a/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl b/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl index 45c042e07..ab4ed5005 100644 --- a/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl +++ b/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl @@ -15,6 +15,5 @@ test/coverage es lib dist -vetur site changelog.generated.md diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md index 26226fbe6..6239f3c36 100644 --- a/packages/vant-cli/changelog.md +++ b/packages/vant-cli/changelog.md @@ -25,6 +25,12 @@ yarn add stylelint@13 @vant/stylelint-config ``` +### 移除 vetur 相关配置 + +由于 Vue 3 推荐使用 volar 而不是 vetur,因此移除了 vetur 相关的配置文件。 + +现在会默认生成 WebStorm 所需的 web-types.json 文件到 `lib/web-types.json` 目录下。 + ## v4.0.3 `2022-07-02` diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index cd4bef300..7beb04e38 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -54,7 +54,6 @@ "@docsearch/js": "^3.0.0", "@types/jest": "^27.0.3", "@vant/eslint-config": "^3.3.2", - "@vant/markdown-vetur": "^2.3.0", "@vant/touch-emulator": "^1.3.2", "@vitejs/plugin-vue": "^3.0.1", "@vitejs/plugin-vue-jsx": "^2.0.0", diff --git a/packages/vant-cli/src/commands/build.ts b/packages/vant-cli/src/commands/build.ts index 80b6743bf..d848cb3ce 100644 --- a/packages/vant-cli/src/commands/build.ts +++ b/packages/vant-cli/src/commands/build.ts @@ -14,7 +14,7 @@ import { genStyleDepsMap } from '../compiler/gen-style-deps-map.js'; import { genComponentStyle } from '../compiler/gen-component-style.js'; import { SRC_DIR, LIB_DIR, ES_DIR } from '../common/constant.js'; import { genPackageStyle } from '../compiler/gen-package-style.js'; -import { genVeturConfig } from '../compiler/gen-vetur-config.js'; +import { genWebStormTypes } from '../compiler/web-types/index.js'; import { isDir, isSfc, @@ -137,7 +137,7 @@ async function buildPackageStyleEntry() { async function buildBundledOutputs() { setModuleEnv('esmodule'); await compileBundles(); - genVeturConfig(); + genWebStormTypes(); } const tasks = [ diff --git a/packages/vant-cli/src/commands/clean.ts b/packages/vant-cli/src/commands/clean.ts index 501fce953..e49e5d9ef 100644 --- a/packages/vant-cli/src/commands/clean.ts +++ b/packages/vant-cli/src/commands/clean.ts @@ -3,7 +3,6 @@ import { ES_DIR, LIB_DIR, DIST_DIR, - VETUR_DIR, SITE_DIST_DIR, } from '../common/constant.js'; @@ -14,7 +13,6 @@ export async function clean() { remove(ES_DIR), remove(LIB_DIR), remove(DIST_DIR), - remove(VETUR_DIR), remove(SITE_DIST_DIR), ]); } diff --git a/packages/vant-cli/src/common/constant.ts b/packages/vant-cli/src/common/constant.ts index 89034bbb3..7ae07fd78 100644 --- a/packages/vant-cli/src/common/constant.ts +++ b/packages/vant-cli/src/common/constant.ts @@ -21,7 +21,6 @@ export const ROOT = findRootDir(CWD); export const ES_DIR = join(ROOT, 'es'); export const LIB_DIR = join(ROOT, 'lib'); export const DOCS_DIR = join(ROOT, 'docs'); -export const VETUR_DIR = join(ROOT, 'vetur'); export const SITE_DIST_DIR = join(ROOT, 'site-dist'); export const VANT_CONFIG_FILE = join(ROOT, 'vant.config.mjs'); export const PACKAGE_JSON_FILE = join(ROOT, 'package.json'); diff --git a/packages/vant-cli/src/compiler/gen-vetur-config.ts b/packages/vant-cli/src/compiler/gen-vetur-config.ts deleted file mode 100644 index be9cf312b..000000000 --- a/packages/vant-cli/src/compiler/gen-vetur-config.ts +++ /dev/null @@ -1,25 +0,0 @@ -import markdownVetur from '@vant/markdown-vetur'; -import { - SRC_DIR, - VETUR_DIR, - getVantConfig, - getPackageJson, -} from '../common/constant.js'; - -// generate vetur tags & attributes -export function genVeturConfig() { - const pkgJson = getPackageJson(); - const vantConfig = getVantConfig(); - const options = vantConfig.build?.vetur; - - if (options) { - markdownVetur.parseAndWrite({ - name: vantConfig.name, - path: SRC_DIR, - test: /README\.md/, - version: pkgJson.version, - outputDir: VETUR_DIR, - ...options, - }); - } -} diff --git a/packages/vant-markdown-vetur/src/formatter.ts b/packages/vant-cli/src/compiler/web-types/formatter.ts similarity index 85% rename from packages/vant-markdown-vetur/src/formatter.ts rename to packages/vant-cli/src/compiler/web-types/formatter.ts index 383282207..bf9f8efae 100644 --- a/packages/vant-markdown-vetur/src/formatter.ts +++ b/packages/vant-cli/src/compiler/web-types/formatter.ts @@ -1,14 +1,19 @@ /* eslint-disable no-continue */ -import { Articals } from './parser'; -import { formatOptions, formatType, removeVersion, toKebabCase } from './utils'; -import { VueEventArgument, VueTag } from './type'; +import { Articles } from './parser.js'; +import { + formatOptions, + formatType, + removeVersion, + toKebabCase, +} from './utils.js'; +import { VueEventArgument, VueTag } from './type.js'; function formatComponentName(name: string, tagPrefix: string) { return tagPrefix + toKebabCase(name); } /** - * format arugments of events + * format arguments of events * input = value: { foo: foo or 1, bar: bar or 2 }, value2: { one: 1 and 1, two: 2 and 2 }, foo: bar * output = [{ name: 'value', type: '{ foo: foo or 1, bar: bar or 2 }' }, { name: 'value2', type: '{ one: 1 and 1, two: 2 and 2 }'}, { name: 'foo', type: 'bar' }] */ @@ -73,29 +78,29 @@ function findTag(vueTags: VueTag[], name: string) { export function formatter( vueTags: VueTag[], - articals: Articals, + articles: Articles, tagPrefix = '' ) { - if (!articals.length) { + if (!articles.length) { return; } - const mainTitle = articals[0].content; + const mainTitle = articles[0].content; const defaultName = mainTitle ? formatComponentName(mainTitle.split(' ')[0], tagPrefix) : ''; - const tables = articals.filter((artical) => artical.type === 'table'); + const tables = articles.filter((article) => article.type === 'table'); tables.forEach((item) => { const { table } = item; - const prevIndex = articals.indexOf(item) - 1; - const prevArtical = articals[prevIndex]; + const prevIndex = articles.indexOf(item) - 1; + const prevArticle = articles[prevIndex]; - if (!prevArtical || !prevArtical.content || !table || !table.body) { + if (!prevArticle || !prevArticle.content || !table || !table.body) { return; } - const tableTitle = prevArtical.content; + const tableTitle = prevArticle.content; if (tableTitle.includes('Props')) { const name = getNameFromTableTitle(tableTitle, tagPrefix) || defaultName; diff --git a/packages/vant-cli/src/compiler/web-types/index.ts b/packages/vant-cli/src/compiler/web-types/index.ts new file mode 100644 index 000000000..74eaf46d8 --- /dev/null +++ b/packages/vant-cli/src/compiler/web-types/index.ts @@ -0,0 +1,54 @@ +import glob from 'fast-glob'; +import { join } from 'path'; +import fse from 'fs-extra'; +import { mdParser } from './parser.js'; +import { formatter } from './formatter.js'; +import { genWebTypes } from './web-types.js'; +import { Options, VueTag } from './type.js'; +import { normalizePath } from './utils.js'; +import { + SRC_DIR, + LIB_DIR, + getVantConfig, + getPackageJson, +} from '../../common/constant.js'; + +async function readMarkdown(options: Options) { + const mds = await glob(normalizePath(`${options.path}/**/*.md`)); + return mds + .filter((md) => options.test.test(md)) + .map((path) => fse.readFileSync(path, 'utf-8')); +} + +export async function parseAndWrite(options: Options) { + if (!options.outputDir) { + throw new Error('outputDir can not be empty.'); + } + + const mds = await readMarkdown(options); + const vueTags: VueTag[] = []; + + mds.forEach((md) => { + const parsedMd = mdParser(md); + formatter(vueTags, parsedMd, options.tagPrefix); + }); + + const webTypes = genWebTypes(vueTags, options); + fse.outputFileSync( + join(options.outputDir, 'web-types.json'), + JSON.stringify(webTypes, null, 2) + ); +} + +export function genWebStormTypes() { + const pkgJson = getPackageJson(); + const vantConfig = getVantConfig(); + + parseAndWrite({ + name: vantConfig.name, + path: SRC_DIR, + test: /README\.md/, + version: pkgJson.version, + outputDir: LIB_DIR, + }); +} diff --git a/packages/vant-markdown-vetur/src/parser.ts b/packages/vant-cli/src/compiler/web-types/parser.ts similarity index 91% rename from packages/vant-markdown-vetur/src/parser.ts rename to packages/vant-cli/src/compiler/web-types/parser.ts index fb3776873..cfd73705c 100644 --- a/packages/vant-markdown-vetur/src/parser.ts +++ b/packages/vant-cli/src/compiler/web-types/parser.ts @@ -9,14 +9,14 @@ type TableContent = { body: string[][]; }; -export type Artical = { +export type Article = { type: string; content?: string; table?: TableContent; level?: number; }; -export type Articals = Artical[]; +export type Articles = Article[]; function readLine(input: string) { const end = input.indexOf('\n'); @@ -75,8 +75,8 @@ function tableParse(input: string) { }; } -export function mdParser(input: string): Articals { - const artical = []; +export function mdParser(input: string): Articles { + const article = []; let start = 0; const end = input.length; @@ -85,7 +85,7 @@ export function mdParser(input: string): Articals { let match; if ((match = TITLE_REG.exec(target))) { - artical.push({ + article.push({ type: 'title', content: match[2], level: match[1].length, @@ -94,7 +94,7 @@ export function mdParser(input: string): Articals { start += match.index + match[0].length; } else if ((match = TABLE_REG.exec(target))) { const { table, usedLength } = tableParse(target.substr(match.index)); - artical.push({ + article.push({ type: 'table', table, }); @@ -105,5 +105,5 @@ export function mdParser(input: string): Articals { } } - return artical; + return article; } diff --git a/packages/vant-markdown-vetur/src/type.ts b/packages/vant-cli/src/compiler/web-types/type.ts similarity index 66% rename from packages/vant-markdown-vetur/src/type.ts rename to packages/vant-cli/src/compiler/web-types/type.ts index 108df7e3c..58648efd9 100644 --- a/packages/vant-markdown-vetur/src/type.ts +++ b/packages/vant-cli/src/compiler/web-types/type.ts @@ -35,26 +35,6 @@ export type VueTag = { description?: string; }; -export type VeturTag = { - description?: string; - attributes: string[]; -}; - -export type VeturTags = Record; - -export type VeturAttribute = { - type: string; - description: string; - options?: string[]; -}; - -export type VeturAttributes = Record; - -export type VeturResult = { - tags: VeturTags; - attributes: VeturAttributes; -}; - export type Options = { name: string; path: PathLike; diff --git a/packages/vant-markdown-vetur/src/utils.ts b/packages/vant-cli/src/compiler/web-types/utils.ts similarity index 100% rename from packages/vant-markdown-vetur/src/utils.ts rename to packages/vant-cli/src/compiler/web-types/utils.ts diff --git a/packages/vant-markdown-vetur/src/web-types.ts b/packages/vant-cli/src/compiler/web-types/web-types.ts similarity index 90% rename from packages/vant-markdown-vetur/src/web-types.ts rename to packages/vant-cli/src/compiler/web-types/web-types.ts index 76b46218d..144f24890 100644 --- a/packages/vant-markdown-vetur/src/web-types.ts +++ b/packages/vant-cli/src/compiler/web-types/web-types.ts @@ -1,4 +1,4 @@ -import { VueTag, Options } from './type'; +import type { VueTag, Options } from './type.js'; // create web-types.json to provide autocomplete in JetBrains IDEs export function genWebTypes(tags: VueTag[], options: Options) { diff --git a/packages/vant-cli/src/module.d.ts b/packages/vant-cli/src/module.d.ts index 9919346f4..a623ae1e7 100644 --- a/packages/vant-cli/src/module.d.ts +++ b/packages/vant-cli/src/module.d.ts @@ -4,4 +4,3 @@ declare module 'hash-sum'; declare module '@babel/core'; declare module 'release-it'; declare module 'conventional-changelog'; -declare module '@vant/markdown-vetur'; diff --git a/packages/vant-markdown-vetur/LICENSE b/packages/vant-markdown-vetur/LICENSE deleted file mode 100644 index 26ef2dcc9..000000000 --- a/packages/vant-markdown-vetur/LICENSE +++ /dev/null @@ -1,10 +0,0 @@ -MIT License - -Copyright (c) Youzan -Copyright (c) Chen Jiahan and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/packages/vant-markdown-vetur/README.md b/packages/vant-markdown-vetur/README.md deleted file mode 100644 index f759d01e3..000000000 --- a/packages/vant-markdown-vetur/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Vant Markdown Vetur - -将 .md 文件转换成能描述 vue 组件的 .json 文件,供 WebStorm 和 vscode 的 `vetur` 插件读取,从而可以在 vue 模版语法中拥有自动补全的功能。 - -## Install - -```shell -# with npm -npm i @vant/markdown-vetur -D - -# with yarn -yarn add @vant/markdown-vetur -D - -# with pnpm -pnpm add @vant/markdown-vetur -D -``` - -## API - -#### parseAndWrite - -解析目录下所有匹配的文件,并输出为 tags.json 和 attributes.json - -```ts -interface Options { - // 需要解析的文件夹路径 - path: PathLike; - // 文件匹配正则 - test: RegExp; - // 输出目录 - outputDir: string; - // 递归的目录最大深度 - maxDeep?: number; - // 解析出来的组件名前缀 - tagPrefix?: string; -} -``` diff --git a/packages/vant-markdown-vetur/package.json b/packages/vant-markdown-vetur/package.json deleted file mode 100644 index 7c8927ca5..000000000 --- a/packages/vant-markdown-vetur/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@vant/markdown-vetur", - "version": "2.3.0", - "description": "simple parse markdown to vue component description for vetur auto-completion", - "main": "lib/index.js", - "files": [ - "lib" - ], - "scripts": { - "dev": "tsc --watch", - "build": "rimraf ./lib && tsc", - "release": "pnpm build && npm publish", - "prepare": "pnpm build" - }, - "publishConfig": { - "access": "public", - "registry": "https://registry.npmjs.org/" - }, - "repository": { - "type": "git", - "url": "https://github.com/vant-ui/vant.git", - "directory": "packages/vant-markdown-vetur" - }, - "bugs": "https://github.com/vant-ui/vant/issues", - "author": "zhangshuai", - "license": "MIT", - "dependencies": { - "fast-glob": "^3.2.2", - "fs-extra": "^10.0.0" - }, - "devDependencies": { - "@types/fs-extra": "^9.0.13", - "typescript": "^4.7.4" - } -} diff --git a/packages/vant-markdown-vetur/src/index.ts b/packages/vant-markdown-vetur/src/index.ts deleted file mode 100644 index 3825010d2..000000000 --- a/packages/vant-markdown-vetur/src/index.ts +++ /dev/null @@ -1,49 +0,0 @@ -import glob from 'fast-glob'; -import { join } from 'path'; -import { mdParser } from './parser'; -import { formatter } from './formatter'; -import { genWebTypes } from './web-types'; -import { readFileSync, outputFileSync } from 'fs-extra'; -import { Options, VueTag } from './type'; -import { normalizePath } from './utils'; -import { genVeturTags, genVeturAttributes } from './vetur'; - -async function readMarkdown(options: Options) { - const mds = await glob(normalizePath(`${options.path}/**/*.md`)); - return mds - .filter((md) => options.test.test(md)) - .map((path) => readFileSync(path, 'utf-8')); -} - -export async function parseAndWrite(options: Options) { - if (!options.outputDir) { - throw new Error('outputDir can not be empty.'); - } - - const mds = await readMarkdown(options); - const vueTags: VueTag[] = []; - - mds.forEach((md) => { - const parsedMd = mdParser(md); - formatter(vueTags, parsedMd, options.tagPrefix); - }); - - const webTypes = genWebTypes(vueTags, options); - const veturTags = genVeturTags(vueTags); - const veturAttributes = genVeturAttributes(vueTags); - - outputFileSync( - join(options.outputDir, 'tags.json'), - JSON.stringify(veturTags, null, 2) - ); - outputFileSync( - join(options.outputDir, 'attributes.json'), - JSON.stringify(veturAttributes, null, 2) - ); - outputFileSync( - join(options.outputDir, 'web-types.json'), - JSON.stringify(webTypes, null, 2) - ); -} - -export default { parseAndWrite }; diff --git a/packages/vant-markdown-vetur/src/vetur.ts b/packages/vant-markdown-vetur/src/vetur.ts deleted file mode 100644 index 8f6e40392..000000000 --- a/packages/vant-markdown-vetur/src/vetur.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { VueTag, VeturTags, VeturAttributes, VeturAttribute } from './type'; - -export function genVeturTags(tags: VueTag[]) { - const veturTags: VeturTags = {}; - - tags.forEach((tag) => { - veturTags[tag.name] = { - attributes: tag.attributes ? tag.attributes.map((item) => item.name) : [], - }; - }); - - return veturTags; -} - -export function genVeturAttributes(tags: VueTag[]) { - const veturAttributes: VeturAttributes = {}; - - tags.forEach((tag) => { - if (tag.attributes) { - tag.attributes.forEach((attr) => { - const attribute: VeturAttribute = { - type: attr.value.type, - description: `${attr.description}, Default: ${attr.default}`, - }; - - if (attr.options.length > 0) { - attribute.options = attr.options; - } - - veturAttributes[`${tag.name}/${attr.name}`] = attribute; - }); - } - }); - - return veturAttributes; -} diff --git a/packages/vant-markdown-vetur/tsconfig.json b/packages/vant-markdown-vetur/tsconfig.json deleted file mode 100644 index 738ecb181..000000000 --- a/packages/vant-markdown-vetur/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../tsconfig", - "compilerOptions": { - "target": "ES2019", - "outDir": "./lib", - "module": "commonjs", - "declaration": true - }, - "include": ["src/**/*"] -} diff --git a/packages/vant/package.json b/packages/vant/package.json index a2447ce97..4b573d92a 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -10,8 +10,7 @@ "jsdelivr": "lib/vant.min.js", "files": [ "es", - "lib", - "vetur" + "lib" ], "scripts": { "dev": "vant-cli dev", @@ -69,9 +68,5 @@ "*.css", "*.less" ], - "web-types": "vetur/web-types.json", - "vetur": { - "tags": "vetur/tags.json", - "attributes": "vetur/attributes.json" - } + "web-types": "lib/web-types.json" } diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index 604787335..e19d17078 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -12,9 +12,6 @@ export default { publicPath: (typeof window === 'undefined' && process.env.PUBLIC_PATH) || '/vant/', }, - vetur: { - tagPrefix: 'van-', - }, }, site: { defaultLang: 'en-US', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 191e9f395..09acdc75b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,7 +94,6 @@ importers: '@types/less': ^3.0.3 '@types/markdown-it': ^12.2.3 '@vant/eslint-config': ^3.3.2 - '@vant/markdown-vetur': ^2.3.0 '@vant/touch-emulator': ^1.3.2 '@vitejs/plugin-vue': ^3.0.1 '@vitejs/plugin-vue-jsx': ^2.0.0 @@ -140,7 +139,6 @@ importers: '@docsearch/js': 3.1.1_react-dom@18.2.0+react@18.2.0 '@types/jest': 27.5.2 '@vant/eslint-config': link:../vant-eslint-config - '@vant/markdown-vetur': link:../vant-markdown-vetur '@vant/touch-emulator': link:../vant-touch-emulator '@vitejs/plugin-vue': 3.0.1_vite@3.0.2+vue@3.2.37 '@vitejs/plugin-vue-jsx': 2.0.0_vite@3.0.2+vue@3.2.37 @@ -201,7 +199,7 @@ importers: '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 eslint-config-airbnb-base: 15.0.0_86af6c937a18f7b068a2d4281b478827 eslint-config-prettier: 8.5.0_eslint@8.19.0 - eslint-plugin-import: 2.26.0_b991b8cc37fbaea14375bc1442f912c5 + eslint-plugin-import: 2.26.0_eslint@8.19.0 eslint-plugin-vue: 9.1.1_eslint@8.19.0 devDependencies: enhanced-resolve: 5.10.0 @@ -214,19 +212,6 @@ importers: devDependencies: release-it: 15.1.1 - packages/vant-markdown-vetur: - specifiers: - '@types/fs-extra': ^9.0.13 - fast-glob: ^3.2.2 - fs-extra: ^10.0.0 - typescript: ^4.7.4 - dependencies: - fast-glob: 3.2.11 - fs-extra: 10.1.0 - devDependencies: - '@types/fs-extra': 9.0.13 - typescript: 4.7.4 - packages/vant-popperjs: specifiers: '@popperjs/core': ^2.9.2 @@ -268,9 +253,6 @@ packages: peerDependencies: '@algolia/client-search': ^4.9.1 algoliasearch: ^4.9.1 - peerDependenciesMeta: - '@algolia/client-search': - optional: true dependencies: '@algolia/autocomplete-shared': 1.7.1 algoliasearch: 4.13.1 @@ -818,13 +800,6 @@ packages: '@types/react': '>= 16.8.0 < 19.0.0' react: '>= 16.8.0 < 19.0.0' react-dom: '>= 16.8.0 < 19.0.0' - peerDependenciesMeta: - '@types/react': - optional: true - react: - optional: true - react-dom: - optional: true dependencies: '@algolia/autocomplete-core': 1.7.1 '@algolia/autocomplete-preset-algolia': 1.7.1_algoliasearch@4.13.1 @@ -1626,12 +1601,14 @@ packages: '@vue/shared': 3.2.37 estree-walker: 2.0.2 source-map: 0.6.1 + dev: true /@vue/compiler-dom/3.2.37: resolution: {integrity: sha512-yxJLH167fucHKxaqXpYk7x8z7mMEnXOw3G2q62FTkmsvNxu4FQSu5+3UMb+L7fjKa26DEzhrmCxAgFLLIzVfqQ==} dependencies: '@vue/compiler-core': 3.2.37 '@vue/shared': 3.2.37 + dev: true /@vue/compiler-sfc/3.2.37: resolution: {integrity: sha512-+7i/2+9LYlpqDv+KTtWhOZH+pa8/HnX/905MdVmAcI/mPQOBwkHHIzrsEsucyOIZQYMkXUiTkmZq5am/NyXKkg==} @@ -1646,12 +1623,14 @@ packages: magic-string: 0.25.9 postcss: 8.4.14 source-map: 0.6.1 + dev: true /@vue/compiler-ssr/3.2.37: resolution: {integrity: sha512-7mQJD7HdXxQjktmsWp/J67lThEIcxLemz1Vb5I6rYJHR5vI+lON3nPGOH3ubmbvYGt8xEUaAr1j7/tIFWiEOqw==} dependencies: '@vue/compiler-dom': 3.2.37 '@vue/shared': 3.2.37 + dev: true /@vue/devtools-api/6.2.0: resolution: {integrity: sha512-pF1G4wky+hkifDiZSWn8xfuLOJI1ZXtuambpBEYaf7Xaf6zC/pM29rvAGpd3qaGXnr4BAXU1Pxz/VfvBGwexGA==} @@ -1664,17 +1643,20 @@ packages: '@vue/shared': 3.2.37 estree-walker: 2.0.2 magic-string: 0.25.9 + dev: true /@vue/reactivity/3.2.37: resolution: {integrity: sha512-/7WRafBOshOc6m3F7plwzPeCu/RCVv9uMpOwa/5PiY1Zz+WLVRWiy0MYKwmg19KBdGtFWsmZ4cD+LOdVPcs52A==} dependencies: '@vue/shared': 3.2.37 + dev: true /@vue/runtime-core/3.2.37: resolution: {integrity: sha512-JPcd9kFyEdXLl/i0ClS7lwgcs0QpUAWj+SKX2ZC3ANKi1U4DOtiEr6cRqFXsPwY5u1L9fAjkinIdB8Rz3FoYNQ==} dependencies: '@vue/reactivity': 3.2.37 '@vue/shared': 3.2.37 + dev: true /@vue/runtime-dom/3.2.37: resolution: {integrity: sha512-HimKdh9BepShW6YozwRKAYjYQWg9mQn63RGEiSswMbW+ssIht1MILYlVGkAGGQbkhSh31PCdoUcfiu4apXJoPw==} @@ -1682,6 +1664,7 @@ packages: '@vue/runtime-core': 3.2.37 '@vue/shared': 3.2.37 csstype: 2.6.20 + dev: true /@vue/server-renderer/3.2.37_vue@3.2.37: resolution: {integrity: sha512-kLITEJvaYgZQ2h47hIzPh2K3jG8c1zCVbp/o/bzQOyvzaKiCquKS7AaioPI28GNxIsE/zSx+EwWYsNxDCX95MA==} @@ -1691,9 +1674,11 @@ packages: '@vue/compiler-ssr': 3.2.37 '@vue/shared': 3.2.37 vue: 3.2.37 + dev: true /@vue/shared/3.2.37: resolution: {integrity: sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==} + dev: true /@vue/test-utils/2.0.1_vue@3.2.37: resolution: {integrity: sha512-4kt7Sw1gzXeQOsMqrwrQbmEiG8El4MP8P4hfxkmfXdUHf7yHa3xC5CQc0x2YyuhT41w2d4K4O0ZdRvZhGdZlow==} @@ -2552,6 +2537,7 @@ packages: /csstype/2.6.20: resolution: {integrity: sha512-/WwNkdXfckNgw6S5R125rrW8ez139lBHWouiBvX8dfMFtcn6V81REDqnH7+CRpRipfYlyU1CmOnOxrmGcFOjeA==} + dev: true /dargs/7.0.0: resolution: {integrity: sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==} @@ -2577,22 +2563,12 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true dependencies: ms: 2.0.0 dev: false /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true dependencies: ms: 2.1.3 dev: false @@ -3159,7 +3135,7 @@ packages: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.19.0 - eslint-plugin-import: 2.26.0_b991b8cc37fbaea14375bc1442f912c5 + eslint-plugin-import: 2.26.0_eslint@8.19.0 object.assign: 4.1.2 object.entries: 1.1.5 semver: 6.3.0 @@ -3179,54 +3155,29 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.1 - transitivePeerDependencies: - - supports-color dev: false - /eslint-module-utils/2.7.3_0e410f8f48e63a2eb2da71474b5e1cf0: + /eslint-module-utils/2.7.3: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true dependencies: - '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 debug: 3.2.7 - eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 - transitivePeerDependencies: - - supports-color dev: false - /eslint-plugin-import/2.26.0_b991b8cc37fbaea14375bc1442f912c5: + /eslint-plugin-import/2.26.0_eslint@8.19.0: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: - '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true dependencies: - '@typescript-eslint/parser': 5.30.3_eslint@8.19.0+typescript@4.7.4 array-includes: 3.1.5 array.prototype.flat: 1.3.0 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.19.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3_0e410f8f48e63a2eb2da71474b5e1cf0 + eslint-module-utils: 2.7.3 has: 1.0.3 is-core-module: 2.9.0 is-glob: 4.0.3 @@ -3234,10 +3185,6 @@ packages: object.values: 1.1.5 resolve: 1.22.1 tsconfig-paths: 3.14.1 - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color dev: false /eslint-plugin-vue/9.1.1_eslint@8.19.0: @@ -5026,8 +4973,6 @@ packages: mime: 1.6.0 needle: 3.1.0 source-map: 0.6.1 - transitivePeerDependencies: - - supports-color dev: false /leven/3.1.0: @@ -5118,6 +5063,7 @@ packages: hasBin: true dependencies: js-tokens: 4.0.0 + dev: true /lower-case/2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -5152,6 +5098,7 @@ packages: resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} dependencies: sourcemap-codec: 1.4.8 + dev: true /make-dir/2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -5360,8 +5307,6 @@ packages: debug: 3.2.7 iconv-lite: 0.6.3 sax: 1.2.4 - transitivePeerDependencies: - - supports-color dev: false optional: true @@ -5981,13 +5926,11 @@ packages: resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: react: ^18.2.0 - peerDependenciesMeta: - react: - optional: true dependencies: loose-envify: 1.4.0 react: 18.2.0 scheduler: 0.23.0 + dev: true /react-is/17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} @@ -5998,6 +5941,7 @@ packages: engines: {node: '>=0.10.0'} dependencies: loose-envify: 1.4.0 + dev: true /read-pkg-up/3.0.0: resolution: {integrity: sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==} @@ -6260,6 +6204,7 @@ packages: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} dependencies: loose-envify: 1.4.0 + dev: true /section-matter/1.0.0: resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} @@ -6380,6 +6325,7 @@ packages: /sourcemap-codec/1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + dev: true /spdx-correct/3.1.1: resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} @@ -6981,6 +6927,7 @@ packages: '@vue/runtime-dom': 3.2.37 '@vue/server-renderer': 3.2.37_vue@3.2.37 '@vue/shared': 3.2.37 + dev: true /w3c-hr-time/1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} From 41d6b5191d42d9f0d50a43156526265d78283b38 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 30 Jul 2022 21:43:56 +0800 Subject: [PATCH 05/16] docs: update readme (#10868) --- README.md | 4 ++-- README.zh-CN.md | 2 +- packages/vant-cli/README.zh-CN.md | 3 ++- packages/vant/docs/markdown/home.en-US.md | 3 ++- packages/vant/docs/markdown/home.zh-CN.md | 1 + packages/vant/package.json | 2 +- packages/vant/vant.config.mjs | 2 +- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b8af6f9d4..4843d6ca0 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,13 @@

Vant

-

Mobile UI Components built on Vue

+

Lightweight Mobile UI Components built on Vue

npm version CI Status Coverage Status downloads - Jsdelivr Hits Gzip Size

@@ -29,6 +28,7 @@ - 🚀 1KB Component average size (min+gzip) - 🚀 70+ High quality components +- 🚀 Zero third-party dependencies - 💪 90%+ Unit test coverage - 💪 Written in TypeScript - 📖 Extensive documentation and demos diff --git a/README.zh-CN.md b/README.zh-CN.md index bb83e980a..a1e5b4de2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -11,7 +11,6 @@ CI Status Coverage Status downloads - Jsdelivr Hits Gzip Size

@@ -33,6 +32,7 @@ Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。 - 🚀 性能极佳,组件平均体积小于 1KB(min+gzip) - 🚀 70+ 个高质量组件,覆盖移动端主流场景 +- 🚀 零外部依赖,不依赖三方 npm 包 - 💪 使用 TypeScript 编写,提供完整的类型定义 - 💪 单元测试覆盖率超过 90%,提供稳定性保障 - 📖 提供丰富的中英文文档和组件示例 diff --git a/packages/vant-cli/README.zh-CN.md b/packages/vant-cli/README.zh-CN.md index 02b2889c5..cb8f72123 100644 --- a/packages/vant-cli/README.zh-CN.md +++ b/packages/vant-cli/README.zh-CN.md @@ -1,9 +1,10 @@ # Vant CLI -Vant CLI 是一个 Vue 组件库构建工具,通过 Vant CLI 可以快速搭建一套功能完备的 Vue 组件库。 +Vant CLI 是一个基于 Vite 实现的 Vue 组件库构建工具,通过 Vant CLI 可以快速搭建一套功能完备的 Vue 组件库。 ### 特性 +- 基于 Vite 实现,享受愉悦的开发体验 - 提供丰富的命令,涵盖从开发测试到构建发布的完整流程 - 基于约定的目录结构,自动生成优雅的文档站点和组件示例 - 内置 ESLint 校验规则,提交代码时自动执行校验 diff --git a/packages/vant/docs/markdown/home.en-US.md b/packages/vant/docs/markdown/home.en-US.md index da8020fe8..c4c642869 100644 --- a/packages/vant/docs/markdown/home.en-US.md +++ b/packages/vant/docs/markdown/home.en-US.md @@ -2,7 +2,7 @@

Vant

-

Mobile UI Components built on Vue

+

Lightweight Mobile UI Components built on Vue

@@ -10,6 +10,7 @@ - 🚀 1KB Component average size (min+gzip) - 🚀 70+ High quality components +- 🚀 Zero third-party dependencies - 💪 90%+ Unit test coverage - 💪 Written in TypeScript - 📖 Extensive documentation and demos diff --git a/packages/vant/docs/markdown/home.zh-CN.md b/packages/vant/docs/markdown/home.zh-CN.md index 540d68240..100a5973f 100644 --- a/packages/vant/docs/markdown/home.zh-CN.md +++ b/packages/vant/docs/markdown/home.zh-CN.md @@ -16,6 +16,7 @@ Vant 是一个**轻量、可靠的移动端组件库**,于 2017 年开源。 - 🚀 性能极佳,组件平均体积小于 1KB(min+gzip) - 🚀 70+ 个高质量组件,覆盖移动端主流场景 +- 🚀 零外部依赖,不依赖三方 npm 包 - 💪 使用 TypeScript 编写,提供完整的类型定义 - 💪 单元测试覆盖率超过 90%,提供稳定性保障 - 📖 提供丰富的中英文文档和组件示例 diff --git a/packages/vant/package.json b/packages/vant/package.json index 4b573d92a..e241c5cec 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -1,7 +1,7 @@ { "name": "vant", "version": "3.5.2", - "description": "Mobile UI Components built on Vue", + "description": "Lightweight Mobile UI Components built on Vue", "main": "lib/vant.cjs.js", "module": "es/index.mjs", "style": "lib/index.css", diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index e19d17078..2b4207fc4 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -458,7 +458,7 @@ export default { 'en-US': { title: 'Vant 3', subtitle: ' (for Vue 3)', - description: 'Mobile UI Components built on Vue', + description: 'Lightweight Mobile UI Components built on Vue', logo: 'https://fastly.jsdelivr.net/npm/@vant/assets/logo.png', langLabel: 'EN', links: [ From d96c4228f5c16884d10dc523217194d138bf35c6 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 31 Jul 2022 09:37:10 +0800 Subject: [PATCH 06/16] release: 3.5.3 --- packages/vant/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/package.json b/packages/vant/package.json index e241c5cec..5f3335fed 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -1,6 +1,6 @@ { "name": "vant", - "version": "3.5.2", + "version": "3.5.3", "description": "Lightweight Mobile UI Components built on Vue", "main": "lib/vant.cjs.js", "module": "es/index.mjs", From c88b034aac024b8e2d18a1ff807ac7ac81f6d62c Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 31 Jul 2022 09:43:21 +0800 Subject: [PATCH 07/16] docs(changelog): vant@3.5.3 (#10869) --- packages/vant/docs/markdown/changelog.en-US.md | 16 ++++++++++++++++ packages/vant/docs/markdown/changelog.zh-CN.md | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index e8b5bce52..cb9ea1ca5 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,22 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v3.5.3](https://github.com/vant-ui/vant/compare/v3.5.2...v3.5.3) + +`2022-07-31` + +**Feature** + +- Calendar: add getSelectedDate method [419a8e](https://github.com/vant-ui/vant/commit/419a8e4f0e6454b9aac30d5800318deabec099cb) +- Collapse: add toggleAll method [#10818](https://github.com/vant-ui/vant/issues/10818) [#10837](https://github.com/vant-ui/vant/issues/10837) + +**Bug Fixes** + +- Tabbar: fix failed to get correct height of safe area element [#10827](https://github.com/vant-ui/vant/issues/10827) +- NavBar: fix failed to get correct height of safe area element [#10827](https://github.com/vant-ui/vant/issues/10827) +- Popover: allow to dynamically set offset prop [#10840](https://github.com/vant-ui/vant/issues/10840) +- Uploader: should not preview failed images [#10790](https://github.com/vant-ui/vant/issues/10790) + ### [v3.5.2](https://github.com/vant-ui/vant/compare/v3.5.1...v3.5.2) `2022-06-26` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index 109944063..91d74a41b 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,22 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v3.5.3](https://github.com/vant-ui/vant/compare/v3.5.2...v3.5.3) + +`2022-07-31` + +**Feature** + +- Calendar: 新增 getSelectedDate 方法 [419a8e](https://github.com/vant-ui/vant/commit/419a8e4f0e6454b9aac30d5800318deabec099cb) +- Collapse: 新增 toggleAll 方法 [#10818](https://github.com/vant-ui/vant/issues/10818) [#10837](https://github.com/vant-ui/vant/issues/10837) + +**Bug Fixes** + +- Tabbar: 修复使用 placeholder 属性时可能无法获取底部安全区高度的问题 [#10827](https://github.com/vant-ui/vant/issues/10827) +- NavBar: 修复使用 placeholder 属性时可能无法获取底部安全区高度的问题 [#10827](https://github.com/vant-ui/vant/issues/10827) +- Popover: 修复动态设置 offset 属性不生效的问题 [#10840](https://github.com/vant-ui/vant/issues/10840) +- Uploader: 修复点击预览大图时会展示上传失败的图片的问题 [#10790](https://github.com/vant-ui/vant/issues/10790) + ### [v3.5.2](https://github.com/vant-ui/vant/compare/v3.5.1...v3.5.2) `2022-06-26` From c3a8275ebf33010e26c0ac111b3bf414e2f221e2 Mon Sep 17 00:00:00 2001 From: luopei <285258675@qq.com> Date: Sun, 31 Jul 2022 18:20:16 +0800 Subject: [PATCH 08/16] feat(Space): add new component space (#10857) * feat(Space): add new component space * feat(Space): improve functions,documents and add test --- packages/vant/src/space/README.md | 132 ++++++++++++++++++ packages/vant/src/space/README.zh-CN.md | 143 ++++++++++++++++++++ packages/vant/src/space/Space.tsx | 121 +++++++++++++++++ packages/vant/src/space/demo/index.vue | 99 ++++++++++++++ packages/vant/src/space/index.less | 38 ++++++ packages/vant/src/space/index.ts | 12 ++ packages/vant/src/space/test/index.spec.tsx | 133 ++++++++++++++++++ packages/vant/vant.config.mjs | 8 ++ 8 files changed, 686 insertions(+) create mode 100644 packages/vant/src/space/README.md create mode 100644 packages/vant/src/space/README.zh-CN.md create mode 100644 packages/vant/src/space/Space.tsx create mode 100644 packages/vant/src/space/demo/index.vue create mode 100644 packages/vant/src/space/index.less create mode 100644 packages/vant/src/space/index.ts create mode 100644 packages/vant/src/space/test/index.spec.tsx diff --git a/packages/vant/src/space/README.md b/packages/vant/src/space/README.md new file mode 100644 index 000000000..43e72b9f8 --- /dev/null +++ b/packages/vant/src/space/README.md @@ -0,0 +1,132 @@ +# Space + +### Intro + +Set the spacing between elements. + +### Install + +Register component globally via `app.use`, refer to [Component Registration](#/en-US/advanced-usage#zu-jian-zhu-ce) for more registration ways. + +```js +import { createApp } from 'vue'; +import { Space } from 'vant'; + +const app = createApp(); +app.use(Space); +``` + +## Usage + +### Basic Usage + +```html + + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + +``` + +### Vertical Arrangement + +```html + + 按钮 + 按钮 + 按钮 + +``` + +### Size + +```html + + small + 默认 + large + + + 按钮 + 按钮 + 按钮 + +``` + +```js +import { SpaceSize } from '../Space'; +const size = ref < SpaceSize > ''; +``` + +### Alignment + +```html + + start + center + end + baseline + +
+ +
Space
+ 按钮 +
+
标题
+
内容
+
+
+``` + +```js +import { SpaceAlign } from '../Space'; +const align = ref < SpaceAlign > 'center'; +``` + +### Wrap + +```html + + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + +``` + +## API + +### Props + +| Attribute | Description | Type | Default | +| --- | --- | --- | --- | +| direction | Spacing direction | _vertical \| horizontal_ | `horizontal` | +| align | Spacing alignment | _start \| end \| center \| baseline_ | - | +| size | Spacing size, For example, 20px 2em, the default unit is px, supports array form, and sets horizontal and vertical spacing | _number \| string \| number[] \| string[]_ | `8px` | +| wrap | Whether to wrap lines automatically is only applicable to horizontal arrangement | boolean | `false` | +| fill | Whether to fill the whole line | boolean | `false` | + +### Slots + +| Name | Description | +| ------- | ------------ | +| default | Default slot | + +### Types + +The component exports the following type definitions: + +```ts +import type { SpaceProps, SpaceSize, SpaceAlign } from 'vant'; +``` diff --git a/packages/vant/src/space/README.zh-CN.md b/packages/vant/src/space/README.zh-CN.md new file mode 100644 index 000000000..233f6f0d4 --- /dev/null +++ b/packages/vant/src/space/README.zh-CN.md @@ -0,0 +1,143 @@ +# Space 间距 + +### 介绍 + +设置元素之间的间距。 + +### 引入 + +通过以下方式来全局注册组件,更多注册方式请参考[组件注册](#/zh-CN/advanced-usage#zu-jian-zhu-ce)。 + +```js +import { createApp } from 'vue'; +import { Space } from 'vant'; + +const app = createApp(); +app.use(Space); +``` + +## 代码演示 + +### 基础用法 + +间距组件的基本用法。 + +```html + + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + +``` + +### 垂直排列 + +可以设置垂直方向排列的间距。 + +```html + + 按钮 + 按钮 + 按钮 + +``` + +### 尺寸 + +通过调整 `size` 的值来控制间距的大小。 +通过 `size` 控制组件大小, small, large, 分别对应 `8px`, `16px`的间距. 默认的间距大小为 `12px`。 + +```html + + small + 默认 + large + + + 按钮 + 按钮 + 按钮 + +``` + +```js +import { SpaceSize } from '../Space'; +const size = ref < SpaceSize > ''; +``` + +### 对齐方式 + +通过调整 `align` 的值来设置对齐方式, 分别为 `start`, `center` ,`end` ,`baseline,在水平模式下默认为` center。 + +```html + + start + center + end + baseline + +
+ +
Space
+ 按钮 +
+
标题
+
内容
+
+
+``` + +```js +import { SpaceAlign } from '../Space'; +const align = ref < SpaceAlign > 'center'; +``` + +### 自动换行 + +在水平模式下, 通过控制`wrap`来控制是否自动换行。 + +```html + + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + 按钮 + +``` + +## API + +### Props + +| 参数 | 说明 | 类型 | 默认值 | +| --- | --- | --- | --- | +| direction | 间距方向 | _vertical \| horizontal_ | `horizontal` | +| align | 对齐方式 | _start \| end \| center \| baseline_ | - | +| size | 间距大小,如 20px 2em,默认单位为 px,支持数组形式,设置横向和纵向间距 | _number \| string \| number[] \| string[]_ | `8px` | +| wrap | 是否自动换行,仅适用于水平方向排列 | boolean | `false` | +| fill | 是否充满整行 | boolean | `false` | + +### Slots + +| 名称 | 说明 | +| ------- | ------------ | +| default | 间距组件内容 | + +### 类型定义 + +组件导出以下类型定义: + +```js +import type { SpaceProps, SpaceSize, SpaceAlign } from 'vant'; +``` diff --git a/packages/vant/src/space/Space.tsx b/packages/vant/src/space/Space.tsx new file mode 100644 index 000000000..fab571e78 --- /dev/null +++ b/packages/vant/src/space/Space.tsx @@ -0,0 +1,121 @@ +import { + computed, + CSSProperties, + defineComponent, + ExtractPropTypes, + Fragment, + PropType, + type VNode, +} from 'vue'; +import { createNamespace } from '../utils'; + +const [name, bem] = createNamespace('space'); + +export type SpaceSize = number | string; +export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline'; + +const spaceProps = { + align: String as PropType, + direction: { + type: String as PropType<'vertical' | 'horizontal'>, + default: 'horizontal', + }, + size: { + type: [Number, String, Array] as PropType< + number | string | [SpaceSize, SpaceSize] + >, + default: 8, + }, + wrap: Boolean, + fill: Boolean, +}; + +export type SpaceProps = ExtractPropTypes; + +function filterEmpty(children: VNode[] = []) { + const nodes: VNode[] = []; + children.forEach((child) => { + if (Array.isArray(child)) { + nodes.push(...child); + } else if (child.type === Fragment) { + nodes.push(...filterEmpty(child.children as VNode[])); + } else { + nodes.push(child); + } + }); + return nodes.filter( + (c) => + !( + c && + ((typeof Comment !== 'undefined' && c.type === Comment) || + (c.type === Fragment && c.children?.length === 0) || + (c.type === Text && (c.children as string).trim() === '')) + ) + ); +} + +export default defineComponent({ + name, + props: spaceProps, + setup(props, { slots }) { + const mergedAlign = computed( + () => props.align ?? (props.direction === 'horizontal' ? 'center' : '') + ); + + const getMargin = (size: SpaceSize) => { + if (typeof size === 'number') { + return size + 'px'; + } + return size; + }; + const getMarginStyle = (isLast: boolean): CSSProperties => { + const style: CSSProperties = {}; + + const marginRight = `${getMargin( + Array.isArray(props.size) ? props.size[0] : props.size + )}`; + const marginBottom = `${getMargin( + Array.isArray(props.size) ? props.size[1] : props.size + )}`; + + if (isLast) { + return props.wrap ? { marginBottom } : {}; + } + + if (props.direction === 'horizontal') { + style.marginRight = marginRight; + } + if (props.direction === 'vertical' || props.wrap) { + style.marginBottom = marginBottom; + } + + return style; + }; + + return () => { + const children = filterEmpty(slots.default?.()); + return ( +
+ {children.map((c, i) => ( +
+ {c} +
+ ))} +
+ ); + }; + }, +}); diff --git a/packages/vant/src/space/demo/index.vue b/packages/vant/src/space/demo/index.vue new file mode 100644 index 000000000..0af9fa88e --- /dev/null +++ b/packages/vant/src/space/demo/index.vue @@ -0,0 +1,99 @@ + + + diff --git a/packages/vant/src/space/index.less b/packages/vant/src/space/index.less new file mode 100644 index 000000000..d301e4e21 --- /dev/null +++ b/packages/vant/src/space/index.less @@ -0,0 +1,38 @@ +.van-space { + display: inline-flex; + + &--horizontal { + .van-space-item { + display: flex; + align-items: center; + } + } + + &--vertical { + flex-direction: column; + } + + &--align-baseline { + align-items: baseline; + } + + &--align-start { + align-items: flex-start; + } + + &--align-end { + align-items: flex-end; + } + + &--align-center { + align-items: center; + } + + &--wrap { + flex-wrap: wrap; + } + + &--fill { + display: flex; + } +} diff --git a/packages/vant/src/space/index.ts b/packages/vant/src/space/index.ts new file mode 100644 index 000000000..39d4bf285 --- /dev/null +++ b/packages/vant/src/space/index.ts @@ -0,0 +1,12 @@ +import { withInstall } from '../utils'; +import _Space from './Space'; + +export const Space = withInstall(_Space); +export default Space; +export type { SpaceProps, SpaceSize, SpaceAlign } from './Space'; + +declare module 'vue' { + export interface GlobalComponents { + VanSpace: typeof Space; + } +} diff --git a/packages/vant/src/space/test/index.spec.tsx b/packages/vant/src/space/test/index.spec.tsx new file mode 100644 index 000000000..15b298aa2 --- /dev/null +++ b/packages/vant/src/space/test/index.spec.tsx @@ -0,0 +1,133 @@ +import { mount } from '../../../test'; +import { Space } from '..'; +import { Button } from '../../button'; + +test('should render space', async () => { + const wrapper = mount({ + render() { + return ( + + + + + + ); + }, + }); + const items = wrapper.findAll('.van-space-item'); + expect(items[0].style.marginRight).toBe('8px'); + expect(items[1].style.marginRight).toBe('8px'); + expect(items[2].style.marginRight).toBe(''); +}); + +test('should render vertical', async () => { + const wrapper = mount({ + render() { + return ( + + + + + + ); + }, + }); + const space = wrapper.find('.van-space'); + const items = wrapper.findAll('.van-space-item'); + expect(space.classes()).toContain('van-space--vertical'); + expect(items[0].style.marginBottom).toBe('8px'); + expect(items[1].style.marginBottom).toBe('8px'); + expect(items[2].style.marginBottom).toBe(''); +}); + +test('should render size 20px', async () => { + const wrapper = mount({ + render() { + return ( + + + + + + ); + }, + }); + const items = wrapper.findAll('.van-space-item'); + expect(items[0].style.marginRight).toBe('20px'); + expect(items[1].style.marginRight).toBe('20px'); + expect(items[2].style.marginRight).toBe(''); +}); + +test('should render align start', async () => { + const wrapper = mount({ + render() { + return ( + + + + + + ); + }, + }); + const space = wrapper.find('.van-space'); + expect(space.classes()).toContain('van-space--align-start'); +}); + +test('should render wrap', async () => { + const wrapper = mount({ + render() { + return ( + + + + + + + + + + + + ); + }, + }); + const space = wrapper.find('.van-space'); + expect(space.classes()).toContain('van-space--wrap'); +}); diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index 2b4207fc4..7e127b6ab 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -120,6 +120,10 @@ export default { path: 'popup', title: 'Popup 弹出层', }, + { + path: 'space', + title: 'Space 间距', + }, { path: 'style', title: 'Style 内置样式', @@ -528,6 +532,10 @@ export default { path: 'popup', title: 'Popup', }, + { + path: 'space', + title: 'Space', + }, { path: 'style', title: 'Built-in style', From 9e8a0864c3dfbc35c4d23629211296144175c223 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 31 Jul 2022 20:09:13 +0800 Subject: [PATCH 09/16] chore(Space): improve demo and document (#10870) --- packages/vant/src/space/README.md | 100 +++-- packages/vant/src/space/README.zh-CN.md | 73 ++-- packages/vant/src/space/demo/index.vue | 107 ++--- .../test/__snapshots__/demo.spec.ts.snap | 370 ++++++++++++++++++ packages/vant/src/space/test/demo.spec.ts | 4 + 5 files changed, 513 insertions(+), 141 deletions(-) create mode 100644 packages/vant/src/space/test/__snapshots__/demo.spec.ts.snap create mode 100644 packages/vant/src/space/test/demo.spec.ts diff --git a/packages/vant/src/space/README.md b/packages/vant/src/space/README.md index 43e72b9f8..0f3f7f81c 100644 --- a/packages/vant/src/space/README.md +++ b/packages/vant/src/space/README.md @@ -22,86 +22,84 @@ app.use(Space); ```html - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 + Button + Button + Button + Button ``` -### Vertical Arrangement +### Vertical ```html - 按钮 - 按钮 - 按钮 + Button + Button + Button ``` -### Size +### Custom Size ```html - - small - 默认 - large - - - 按钮 - 按钮 - 按钮 + + + Button + Button + Button -``` -```js -import { SpaceSize } from '../Space'; -const size = ref < SpaceSize > ''; + + + Button + Button + Button + ``` ### Alignment ```html - + start center end baseline -
- -
Space
- 按钮 -
-
标题
-
内容
-
+ + + {{ align }} +
Block
``` ```js -import { SpaceAlign } from '../Space'; -const align = ref < SpaceAlign > 'center'; +import { ref } from 'vue'; + +export default { + setup() { + const align = ref('center'); + return { align }; + }, +}; ``` -### Wrap +### Auto Wrap ```html - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 + Button + Button + Button + Button + Button + Button + Button + Button ``` @@ -112,10 +110,10 @@ const align = ref < SpaceAlign > 'center'; | Attribute | Description | Type | Default | | --- | --- | --- | --- | | direction | Spacing direction | _vertical \| horizontal_ | `horizontal` | +| size | Spacing size, such as `20px` `2em`. The default unit is px, supports using array to set horizontal and vertical spacing | _number \| string \| number[] \| string[]_ | `8px` | | align | Spacing alignment | _start \| end \| center \| baseline_ | - | -| size | Spacing size, For example, 20px 2em, the default unit is px, supports array form, and sets horizontal and vertical spacing | _number \| string \| number[] \| string[]_ | `8px` | -| wrap | Whether to wrap lines automatically is only applicable to horizontal arrangement | boolean | `false` | -| fill | Whether to fill the whole line | boolean | `false` | +| wrap | Whether to wrap automatically, only for horizontal alignment | _boolean_ | `false` | +| fill | Whether to render Space as a block element and fill the parent element | _boolean_ | `false` | ### Slots diff --git a/packages/vant/src/space/README.zh-CN.md b/packages/vant/src/space/README.zh-CN.md index 233f6f0d4..4315834b2 100644 --- a/packages/vant/src/space/README.zh-CN.md +++ b/packages/vant/src/space/README.zh-CN.md @@ -20,7 +20,7 @@ app.use(Space); ### 基础用法 -间距组件的基本用法。 +Space 组件会在各个子组件之间设置一定的间距,默认间距为 `8px`。 ```html @@ -28,13 +28,12 @@ app.use(Space); 按钮 按钮 按钮 - 按钮 ``` ### 垂直排列 -可以设置垂直方向排列的间距。 +将 `direction` 属性设置为 `vertical`,可以设置垂直方向排列的间距。 ```html @@ -44,59 +43,62 @@ app.use(Space); ``` -### 尺寸 +### 自定义间距 -通过调整 `size` 的值来控制间距的大小。 -通过 `size` 控制组件大小, small, large, 分别对应 `8px`, `16px`的间距. 默认的间距大小为 `12px`。 +通过调整 `size` 的值来控制间距的大小。传入 `number` 类型时,会默认使用 `px` 单位;也可以传入 `string` 类型,比如 `2rem` 或 `5vw` 等带有单位的值。 ```html - - small - 默认 - large - - + + + 按钮 + 按钮 + 按钮 + + + + 按钮 按钮 按钮 ``` -```js -import { SpaceSize } from '../Space'; -const size = ref < SpaceSize > ''; -``` - ### 对齐方式 -通过调整 `align` 的值来设置对齐方式, 分别为 `start`, `center` ,`end` ,`baseline,在水平模式下默认为` center。 +通过调整 `align` 的值来设置子元素的对齐方式, 可选值为 `start`, `center` ,`end` ,`baseline`,在水平模式下的默认值为 `center`。 ```html - + start center end baseline -
- -
Space
- 按钮 -
-
标题
-
内容
-
+ + + {{ align }} +
Block
``` ```js -import { SpaceAlign } from '../Space'; -const align = ref < SpaceAlign > 'center'; +import { ref } from 'vue'; + +export default { + setup() { + const align = ref('center'); + return { align }; + }, +}; ``` ### 自动换行 -在水平模式下, 通过控制`wrap`来控制是否自动换行。 +在水平模式下, 通过 `wrap` 属性来控制子元素是否自动换行。 ```html @@ -108,11 +110,6 @@ const align = ref < SpaceAlign > 'center'; 按钮 按钮 按钮 - 按钮 - 按钮 - 按钮 - 按钮 - 按钮 ``` @@ -123,10 +120,10 @@ const align = ref < SpaceAlign > 'center'; | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | direction | 间距方向 | _vertical \| horizontal_ | `horizontal` | +| size | 间距大小,如 `20px` `2em`,默认单位为 `px`,支持数组形式来分别设置横向和纵向间距 | _number \| string \| number[] \| string[]_ | `8px` | | align | 对齐方式 | _start \| end \| center \| baseline_ | - | -| size | 间距大小,如 20px 2em,默认单位为 px,支持数组形式,设置横向和纵向间距 | _number \| string \| number[] \| string[]_ | `8px` | -| wrap | 是否自动换行,仅适用于水平方向排列 | boolean | `false` | -| fill | 是否充满整行 | boolean | `false` | +| wrap | 是否自动换行,仅适用于水平方向排列 | _boolean_ | `false` | +| fill | 是否让 Space 变为一个块级元素,填充整个父元素 | _boolean_ | `false` | ### Slots diff --git a/packages/vant/src/space/demo/index.vue b/packages/vant/src/space/demo/index.vue index 0af9fa88e..e46fffb8d 100644 --- a/packages/vant/src/space/demo/index.vue +++ b/packages/vant/src/space/demo/index.vue @@ -8,92 +8,95 @@ import { useTranslate } from '../../../docs/site'; const t = useTranslate({ 'zh-CN': { - basic: '基础用法', vertical: '垂直排列', - size: '尺寸', + customSize: '自定义间距', align: '对齐方式', - wrap: '换行', + wrap: '自动换行', }, 'en-US': { - basic: 'basic', - vertical: 'vertical', - size: 'size', - align: 'align', - wrap: 'wrap', + vertical: 'Vertical', + customSize: 'Custom Size', + align: 'Alignment', + wrap: 'Auto Wrap', }, }); -const size = ref('8px'); const align = ref('center'); + + diff --git a/packages/vant/src/space/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/space/test/__snapshots__/demo.spec.ts.snap new file mode 100644 index 000000000..bfff15450 --- /dev/null +++ b/packages/vant/src/space/test/__snapshots__/demo.spec.ts.snap @@ -0,0 +1,370 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`should render demo and match snapshot 1`] = ` +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+ + + + +
+
+
+ +
+
+
+ Block +
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+`; diff --git a/packages/vant/src/space/test/demo.spec.ts b/packages/vant/src/space/test/demo.spec.ts new file mode 100644 index 000000000..c0e0c95b9 --- /dev/null +++ b/packages/vant/src/space/test/demo.spec.ts @@ -0,0 +1,4 @@ +import Demo from '../demo/index.vue'; +import { snapshotDemo } from '../../../test/demo'; + +snapshotDemo(Demo); From 6fee5cfed81a5a25b9267c71d7f8f00500df49d3 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 6 Aug 2022 17:34:30 +0800 Subject: [PATCH 10/16] docs(Space): add version tip (#10886) --- packages/vant/src/space/README.md | 2 +- packages/vant/src/space/README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vant/src/space/README.md b/packages/vant/src/space/README.md index 0f3f7f81c..d0664d33d 100644 --- a/packages/vant/src/space/README.md +++ b/packages/vant/src/space/README.md @@ -2,7 +2,7 @@ ### Intro -Set the spacing between elements. +Set the spacing between elements, requires `vant >= v3.6.0`. ### Install diff --git a/packages/vant/src/space/README.zh-CN.md b/packages/vant/src/space/README.zh-CN.md index 4315834b2..d132be836 100644 --- a/packages/vant/src/space/README.zh-CN.md +++ b/packages/vant/src/space/README.zh-CN.md @@ -2,7 +2,7 @@ ### 介绍 -设置元素之间的间距。 +设置元素之间的间距,从 `v3.6.0` 版本开始支持。 ### 引入 From 89718934af68f90e7e900f58fde3fe1c428eefdc Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 6 Aug 2022 17:37:16 +0800 Subject: [PATCH 11/16] fix(@vant/cli): should replace NODE_ENV in vite v3 (#10887) --- packages/vant-cli/src/config/vite.package.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/vant-cli/src/config/vite.package.ts b/packages/vant-cli/src/config/vite.package.ts index 467416e84..a69eb6f84 100644 --- a/packages/vant-cli/src/config/vite.package.ts +++ b/packages/vant-cli/src/config/vite.package.ts @@ -14,12 +14,19 @@ export function getViteConfigForPackage({ const { name, build } = getVantConfig(); const entryExtension = build?.extensions?.esm || '.js'; const entry = join(ES_DIR, `index${entryExtension}`); + const shouldReplaceEnv = minify || formats?.includes('umd'); return { root: CWD, logLevel: 'silent', + define: shouldReplaceEnv + ? { + 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), + } + : undefined, + build: { lib: { name, @@ -30,6 +37,7 @@ export function getViteConfigForPackage({ return minify ? `${name}${suffix}.min.js` : `${name}${suffix}.js`; }, }, + // terser has better compression than esbuild minify: minify ? 'terser' : false, rollupOptions: { From cfdb5c1fbe496f6a064ab8bebe7f1ae8734490c0 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 6 Aug 2022 20:10:04 +0800 Subject: [PATCH 12/16] release: 3.5.4 --- packages/vant/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vant/package.json b/packages/vant/package.json index 5f3335fed..8940c1a79 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -1,6 +1,6 @@ { "name": "vant", - "version": "3.5.3", + "version": "3.5.4", "description": "Lightweight Mobile UI Components built on Vue", "main": "lib/vant.cjs.js", "module": "es/index.mjs", From 961f70d523b723c864d99dceb2be1a19ec506d03 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 6 Aug 2022 20:11:38 +0800 Subject: [PATCH 13/16] docs(changelog): 3.5.4 --- packages/vant/docs/markdown/changelog.en-US.md | 8 ++++++++ packages/vant/docs/markdown/changelog.zh-CN.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index cb9ea1ca5..69c7a92b4 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,6 +19,14 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details +### [v3.5.4](https://github.com/vant-ui/vant/compare/v3.5.3...v3.5.4) + +`2022-08-06` + +**Bug Fixes** + +- should replace NODE_ENV in CDN build [#10887](https://github.com/vant-ui/vant/issues/10887) + ### [v3.5.3](https://github.com/vant-ui/vant/compare/v3.5.2...v3.5.3) `2022-07-31` diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index 91d74a41b..305897c0a 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,6 +19,14 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 +### [v3.5.4](https://github.com/vant-ui/vant/compare/v3.5.3...v3.5.4) + +`2022-08-06` + +**Bug Fixes** + +- 修复 CDN 资源中包含 `process.env.NODE_ENV` 导致报错的问题 [#10887](https://github.com/vant-ui/vant/issues/10887) + ### [v3.5.3](https://github.com/vant-ui/vant/compare/v3.5.2...v3.5.3) `2022-07-31` From b117e21dc4d2ccb8abe1052679531c4d78b415b6 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 6 Aug 2022 22:53:57 +0800 Subject: [PATCH 14/16] feat(touch-emulator): support .mjs extension (#10888) --- packages/vant-touch-emulator/build.js | 11 +++++++++++ packages/vant-touch-emulator/changelog.md | 6 ++++++ packages/vant-touch-emulator/package.json | 12 +++++++++--- packages/vant-touch-emulator/{ => src}/index.js | 0 4 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 packages/vant-touch-emulator/build.js rename packages/vant-touch-emulator/{ => src}/index.js (100%) diff --git a/packages/vant-touch-emulator/build.js b/packages/vant-touch-emulator/build.js new file mode 100644 index 000000000..f28813b81 --- /dev/null +++ b/packages/vant-touch-emulator/build.js @@ -0,0 +1,11 @@ +const fs = require('fs'); +const path = require('path'); + +const srcFile = path.join(__dirname, 'src', 'index.js'); +const distDir = path.join(__dirname, 'dist'); + +if (!fs.existsSync(distDir)) { + fs.mkdirSync(distDir); +} +fs.copyFileSync(srcFile, path.join(distDir, 'index.js')); +fs.copyFileSync(srcFile, path.join(distDir, 'index.mjs')); diff --git a/packages/vant-touch-emulator/changelog.md b/packages/vant-touch-emulator/changelog.md index 69d213800..d112a9e04 100644 --- a/packages/vant-touch-emulator/changelog.md +++ b/packages/vant-touch-emulator/changelog.md @@ -1,5 +1,11 @@ # Changelog +### [v1.4.0] + +`2022-08-06` + +- support `.mjs` extension + ### [v1.3.1] `2021-07-06` diff --git a/packages/vant-touch-emulator/package.json b/packages/vant-touch-emulator/package.json index e4cc08e51..0c1b6a406 100644 --- a/packages/vant-touch-emulator/package.json +++ b/packages/vant-touch-emulator/package.json @@ -1,10 +1,16 @@ { "name": "@vant/touch-emulator", - "version": "1.3.2", + "version": "1.4.0", "description": "Vant touch emulator", - "main": "index.js", + "main": "dist/index.js", + "module": "dist/index.mjs", + "scripts": { + "build": "node ./build.js", + "prepare": "pnpm build" + }, "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", diff --git a/packages/vant-touch-emulator/index.js b/packages/vant-touch-emulator/src/index.js similarity index 100% rename from packages/vant-touch-emulator/index.js rename to packages/vant-touch-emulator/src/index.js From ed5ea225cab25d9b8ad8a4864f26dcdacff639a3 Mon Sep 17 00:00:00 2001 From: richex-cn Date: Tue, 9 Aug 2022 10:04:13 +0800 Subject: [PATCH 15/16] feat(Popup): add role and tabindex for a11y (#10894) * feat(Popup): add role and tabindex for a11y * Update Popup.tsx Co-authored-by: neverland --- packages/vant/src/popup/Popup.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/vant/src/popup/Popup.tsx b/packages/vant/src/popup/Popup.tsx index 2095f0042..9c5f458cf 100644 --- a/packages/vant/src/popup/Popup.tsx +++ b/packages/vant/src/popup/Popup.tsx @@ -144,6 +144,8 @@ export default defineComponent({ zIndex={zIndex.value} duration={props.duration} customStyle={props.overlayStyle} + role={props.closeOnClickOverlay ? 'button' : undefined} + tabindex={props.closeOnClickOverlay ? 0 : undefined} onClick={onClickOverlay} /> ); @@ -185,6 +187,8 @@ export default defineComponent({ v-show={props.show} ref={popupRef} style={style.value} + role="dialog" + tabindex={0} class={[ bem({ round, From 7eaefd04fac0f2a188d9386ea677379ead61e903 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Tue, 9 Aug 2022 10:08:23 +0800 Subject: [PATCH 16/16] test(Popup): fix snapshot --- .../test/__snapshots__/demo.spec.ts.snap | 20 ++- .../test/__snapshots__/index.spec.ts.snap | 9 +- .../test/__snapshots__/demo.spec.ts.snap | 4 +- .../test/__snapshots__/index.spec.ts.snap | 10 +- .../test/__snapshots__/demo.spec.ts.snap | 4 +- .../test/__snapshots__/demo.spec.ts.snap | 4 +- .../test/__snapshots__/index.spec.js.snap | 4 +- .../test/__snapshots__/demo.spec.ts.snap | 40 ++++-- .../test/__snapshots__/index.spec.tsx.snap | 122 +++++++++++++----- .../test/__snapshots__/index.spec.ts.snap | 20 ++- .../test/__snapshots__/index.spec.ts.snap | 2 + .../test/__snapshots__/demo.spec.ts.snap | 4 +- .../test/__snapshots__/index.spec.tsx.snap | 11 +- .../test/__snapshots__/demo.spec.ts.snap | 36 ++++-- .../test/__snapshots__/index.spec.jsx.snap | 18 ++- .../test/__snapshots__/demo.spec.ts.snap | 16 ++- .../test/__snapshots__/index.spec.ts.snap | 9 +- packages/vant/src/space/README.zh-CN.md | 2 +- .../test/__snapshots__/index.spec.ts.snap | 4 +- 19 files changed, 254 insertions(+), 85 deletions(-) diff --git a/packages/vant/src/action-sheet/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/action-sheet/test/__snapshots__/demo.spec.ts.snap index 26711b971..a77722e10 100644 --- a/packages/vant/src/action-sheet/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/action-sheet/test/__snapshots__/demo.spec.ts.snap @@ -67,23 +67,33 @@ exports[`should render demo and match snapshot 1`] = ` - + - + - + - + - + diff --git a/packages/vant/src/action-sheet/test/__snapshots__/index.spec.ts.snap b/packages/vant/src/action-sheet/test/__snapshots__/index.spec.ts.snap index 242951ad3..5d177aec2 100644 --- a/packages/vant/src/action-sheet/test/__snapshots__/index.spec.ts.snap +++ b/packages/vant/src/action-sheet/test/__snapshots__/index.spec.ts.snap @@ -22,12 +22,17 @@ exports[`should render cancel slot correctly 1`] = ` `; exports[`should render default slot correctly 1`] = ` - +
-
+
- + diff --git a/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap b/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap index fd45e51b3..8fec73a73 100644 --- a/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap +++ b/packages/vant/src/calendar/test/__snapshots__/index.spec.ts.snap @@ -557,14 +557,18 @@ exports[`formatter prop 1`] = ` `; exports[`popup wrapper 1`] = ` - + `; exports[`popup wrapper 2`] = ` - +
@@ -572,6 +576,8 @@ exports[`popup wrapper 2`] = `