From c087596e8c793618cb7a0e46944e22798ad294d3 Mon Sep 17 00:00:00 2001 From: JD Solanki Date: Sat, 30 Jul 2022 17:17:20 +0530 Subject: [PATCH] feat(useGroupModel): useGroupModel supports various options now --- packages/anu-vue/package.json | 14 +- .../anu-vue/src/composables/useGroupModel.ts | 153 +++--- .../useGroupModel/DemoUseGroupModelBasic.vue | 61 ++- .../docs/guide/composables/useGroupModel.md | 4 - packages/documentation/package.json | 8 +- pnpm-lock.yaml | 449 +++++++++--------- 6 files changed, 356 insertions(+), 333 deletions(-) diff --git a/packages/anu-vue/package.json b/packages/anu-vue/package.json index c906d92b..9c95ff41 100644 --- a/packages/anu-vue/package.json +++ b/packages/anu-vue/package.json @@ -46,19 +46,19 @@ "vue": "^3.2.37" }, "devDependencies": { - "@unocss/core": "^0.44.7", - "@unocss/reset": "^0.44.7", + "@unocss/core": "^0.45.1", + "@unocss/reset": "^0.45.1", "@vitejs/plugin-vue": "^3.0.1", "@vitejs/plugin-vue-jsx": "^2.0.0", - "@vueuse/core": "^9.0.0", + "@vueuse/core": "^9.0.2", "sass": "^1.54.0", "typescript": "^4.7.4", - "unocss": "^0.44.7", + "unocss": "^0.45.1", "unplugin-vue-components": "^0.21.2", - "vite": "^3.0.3", + "vite": "^3.0.4", "vite-plugin-dts": "^1.4.0", - "vue-router": "^4.1.2", - "vue-tsc": "^0.39.0" + "vue-router": "^4.1.3", + "vue-tsc": "^0.39.2" }, "peerDependencies": { "@unocss/reset": "^0.41.1", diff --git a/packages/anu-vue/src/composables/useGroupModel.ts b/packages/anu-vue/src/composables/useGroupModel.ts index 50543363..0fd23794 100644 --- a/packages/anu-vue/src/composables/useGroupModel.ts +++ b/packages/anu-vue/src/composables/useGroupModel.ts @@ -1,103 +1,66 @@ -import { computed, ref } from 'vue' +import type { MaybeComputedRef } from '@vueuse/core' +import type { ComputedRef, Ref } from 'vue' +import { computed, ref, toRaw, unref, watch } from 'vue' -// type Options = string | Record -type ComposableParams = { - multi?: boolean -} & ( - { options: T[]; count?: never } - | { options?: never; count: number } -) +// TODO: Improve typings -// TODO: Add xor in function params -export const useGroupModel = (params: ComposableParams) => { - /* - In: - - options: { - count?: number => Useful for using composable with undefined options like switches, radio, etc where no id or name is given. - multi: boolean = false => Allow selecting multiple values - } - - Out: - - options => Options to render using v-for - - trueValue => Value to set when selected - - falseValue => Value to set when not selected - - value => Current value/state of option - - isSelected => If current option is selected - - key => This will get used to get trueValue from object when object[] is passed ~or finding unique option~ - - select => Select function to select an option - - value => modelValue - - === - - If I pass array of string `['banana', 'apple', 'mango']` then it should return: - ``` - [ - 'banana': { - trueValue: 'banana', - falseValue: null, - value: 'banana', - isSelected: false, - }, - ...so on - ] - ``` - - If I pass count then it should return: - ``` - [ - 0: { - trueValue: true, - falseValue: false, - value: false, - isSelected: false, - } - ] - ``` - - If I pass array of objects [{ key: 'title', title: 'VueJS', color: 'green' }] then it should return: - ``` - [ - 'VueJS': { - trueValue: 'VueJS', - falseValue: null, - value: false, - isSelected: false, - title: 'VueJS', - color: 'green', - key: 'title', - } - ] - ``` - - Notes: Allow passing extra properties so it can be returned via `options`. e.g. Color - - Usage: const { options, value } = useGroupModel({ options: ['banana', 'apple', 'mango'] }) - */ - - const { options, count, multi } = params - - const value = ref() +interface ComposableParams { + multi?: MaybeComputedRef + options: T[] | number +} - const select = (option: T) => { - value.value = option - } +interface OptionsOut { + value: T + isSelected: ComputedRef +} - // TODO: Remove any - const _options = ref(options?.map(option => { - if (typeof option === 'string') { - return ({ - trueValue: option, - falseValue: null, - value: option, - isSelected: computed(() => option === value.value), - }) +export const useGroupModel = (params: ComposableParams) => { + const { options, multi } = params + + const value = ref | undefined>() + + const select = (option: T | number) => { + // If multiple selection is enabled + if (unref(multi)) { + // If value is not set (Means previously multi was false) => Initialize new set and assign it to value + if (!(value.value instanceof Set)) { value.value = new Set([option]) } + + // Else toggle option in set + else { + if (value.value.has(option)) + value.value.delete(option) + else value.value.add(option) + } } - - // WIP - return null - - // other types - })) + else { + value.value = option + } + } + watch( + () => unref(multi), + () => { + value.value = undefined + }, + ) + + const _options = ref([]) as Ref[]> + + if (typeof options === 'number') { + _options.value = [...Array(options)].map((_, i) => ({ + value: i, + isSelected: computed(() => i === value.value), + })) + } + else { + _options.value = options.map(option => ({ + value: option, + isSelected: computed(() => { + return unref(multi) + ? value.value instanceof Set ? value.value.has(option) : false + : option === toRaw(value.value) + }), + })) + } return { options: _options, diff --git a/packages/documentation/docs/demos/composables/useGroupModel/DemoUseGroupModelBasic.vue b/packages/documentation/docs/demos/composables/useGroupModel/DemoUseGroupModelBasic.vue index c7b35cc1..083da1ec 100644 --- a/packages/documentation/docs/demos/composables/useGroupModel/DemoUseGroupModelBasic.vue +++ b/packages/documentation/docs/demos/composables/useGroupModel/DemoUseGroupModelBasic.vue @@ -1,14 +1,28 @@ diff --git a/packages/documentation/docs/guide/composables/useGroupModel.md b/packages/documentation/docs/guide/composables/useGroupModel.md index 72d6d84d..8db49f68 100644 --- a/packages/documentation/docs/guide/composables/useGroupModel.md +++ b/packages/documentation/docs/guide/composables/useGroupModel.md @@ -1,9 +1,5 @@ # useGroupModel -:::warning -API might change till I complete this composable -::: - diff --git a/packages/documentation/package.json b/packages/documentation/package.json index 64663918..78284686 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -15,14 +15,14 @@ "@iconify-json/bx": "^1.1.3", "@iconify-json/logos": "^1.1.13", "@iconify-json/ph": "^1.1.2", - "@unocss/preset-icons": "^0.44.7", - "@unocss/preset-uno": "0.44.7", + "@unocss/preset-icons": "^0.45.1", + "@unocss/preset-uno": "0.45.1", "postcss-prefix-selector": "^1.16.0", - "unocss": "^0.44.7", + "unocss": "^0.45.1", "vitepress": "1.0.0-alpha.4" }, "dependencies": { - "@vueuse/core": "^9.0.0", + "@vueuse/core": "^9.0.2", "anu-vue": "workspace:*", "vee-validate": "^4.6.2" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d75b047..29d6979f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,38 +33,38 @@ importers: packages/anu-vue: specifiers: '@floating-ui/dom': ^1.0.0 - '@unocss/core': ^0.44.7 - '@unocss/reset': ^0.44.7 + '@unocss/core': ^0.45.1 + '@unocss/reset': ^0.45.1 '@vitejs/plugin-vue': ^3.0.1 '@vitejs/plugin-vue-jsx': ^2.0.0 - '@vueuse/core': ^9.0.0 + '@vueuse/core': ^9.0.2 defu: ^6.0.0 sass: ^1.54.0 typescript: ^4.7.4 - unocss: ^0.44.7 + unocss: ^0.45.1 unplugin-vue-components: ^0.21.2 - vite: ^3.0.3 + vite: ^3.0.4 vite-plugin-dts: ^1.4.0 vue: ^3.2.37 - vue-router: ^4.1.2 - vue-tsc: ^0.39.0 + vue-router: ^4.1.3 + vue-tsc: ^0.39.2 dependencies: '@floating-ui/dom': 1.0.0 defu: 6.0.0 vue: 3.2.37 devDependencies: - '@unocss/core': 0.44.7 - '@unocss/reset': 0.44.7 + '@unocss/core': 0.45.1 + '@unocss/reset': 0.45.1 '@vitejs/plugin-vue': 3.0.1_vite@3.0.4+vue@3.2.37 '@vitejs/plugin-vue-jsx': 2.0.0_vite@3.0.4+vue@3.2.37 - '@vueuse/core': 9.0.0_vue@3.2.37 + '@vueuse/core': 9.0.2_vue@3.2.37 sass: 1.54.0 typescript: 4.7.4 - unocss: 0.44.7_vite@3.0.4 + unocss: 0.45.1_vite@3.0.4 unplugin-vue-components: 0.21.2_vite@3.0.4+vue@3.2.37 vite: 3.0.4_sass@1.54.0 vite-plugin-dts: 1.4.0_vite@3.0.4 - vue-router: 4.1.2_vue@3.2.37 + vue-router: 4.1.3_vue@3.2.37 vue-tsc: 0.39.2_typescript@4.7.4 packages/documentation: @@ -72,26 +72,26 @@ importers: '@iconify-json/bx': ^1.1.3 '@iconify-json/logos': ^1.1.13 '@iconify-json/ph': ^1.1.2 - '@unocss/preset-icons': ^0.44.7 - '@unocss/preset-uno': 0.44.7 - '@vueuse/core': ^9.0.0 + '@unocss/preset-icons': ^0.45.1 + '@unocss/preset-uno': 0.45.1 + '@vueuse/core': ^9.0.2 anu-vue: workspace:* postcss-prefix-selector: ^1.16.0 - unocss: ^0.44.7 + unocss: ^0.45.1 vee-validate: ^4.6.2 vitepress: 1.0.0-alpha.4 dependencies: - '@vueuse/core': 9.0.0 + '@vueuse/core': 9.0.2 anu-vue: link:../anu-vue vee-validate: 4.6.2 devDependencies: '@iconify-json/bx': 1.1.3 '@iconify-json/logos': 1.1.13 '@iconify-json/ph': 1.1.2 - '@unocss/preset-icons': 0.44.7 - '@unocss/preset-uno': 0.44.7 + '@unocss/preset-icons': 0.45.1 + '@unocss/preset-uno': 0.45.1 postcss-prefix-selector: 1.16.0 - unocss: 0.44.7 + unocss: 0.45.1 vitepress: 1.0.0-alpha.4 packages: @@ -734,19 +734,19 @@ packages: type-detect: 4.0.8 dev: true - /@microsoft/api-extractor-model/7.21.0: - resolution: {integrity: sha512-NN4mXzoQWTuzznIcnLWeV6tGyn6Os9frDK6M/mmTXZ73vUYOvSWoKQ5SYzyzP7HF3YtvTmr1Rs+DsBb0HRx7WQ==} + /@microsoft/api-extractor-model/7.22.1: + resolution: {integrity: sha512-3Bx6VC8F4ti8XlhaOCynCpwGvdXGwHD2dGBpo2xpJT9gEmPQvpAL3Ni+5gaEX0eQ27zGILVTUZDqZSRYskk/Rw==} dependencies: '@microsoft/tsdoc': 0.14.1 '@microsoft/tsdoc-config': 0.16.1 '@rushstack/node-core-library': 3.49.0 dev: true - /@microsoft/api-extractor/7.28.4: - resolution: {integrity: sha512-7JeROBGYTUt4/4HPnpMscsQgLzX0OfGTQR2qOQzzh3kdkMyxmiv2mzpuhoMnwbubb1GvPcyFm+NguoqOqkCVaw==} + /@microsoft/api-extractor/7.28.6: + resolution: {integrity: sha512-RNUokJTlBGD0ax/Jo8xLPWv4s6IboqrYrcabEEh6rFadO/tVPoV/R5YHtEeZ2q4ubvwhHTtX3sRm+p4fJo/3Sg==} hasBin: true dependencies: - '@microsoft/api-extractor-model': 7.21.0 + '@microsoft/api-extractor-model': 7.22.1 '@microsoft/tsdoc': 0.14.1 '@microsoft/tsdoc-config': 0.16.1 '@rushstack/node-core-library': 3.49.0 @@ -1075,14 +1075,14 @@ packages: eslint-visitor-keys: 3.3.0 dev: true - /@unocss/cli/0.44.7: - resolution: {integrity: sha512-/FthkzWK3DT4u06rUnl5i7+fDPpp0sNH9oEz1EssrobmRIVWF7e7uGOUs8bc522uFMy8vOvxiQUn69v4RSGdGQ==} + /@unocss/cli/0.45.1: + resolution: {integrity: sha512-VdmX/iChUQh7s4sI9XOT/f2r1rjNjvJxHz2f04+YyTp8tYsYmIVR6GEQ3G4YL33LVmiyVBR5pU6jYMZA1fVfFw==} engines: {node: '>=14'} hasBin: true dependencies: - '@unocss/config': 0.44.7 - '@unocss/core': 0.44.7 - '@unocss/preset-uno': 0.44.7 + '@unocss/config': 0.45.1 + '@unocss/core': 0.45.1 + '@unocss/preset-uno': 0.45.1 cac: 6.7.12 chokidar: 3.5.3 colorette: 2.0.19 @@ -1092,135 +1092,141 @@ packages: perfect-debounce: 0.1.3 dev: true - /@unocss/config/0.44.7: - resolution: {integrity: sha512-KSboUqIMkSLBQtVaQ2oTWSqdIBvj8Ged38h9un7Qe047jrYFHzgpCYVfmr7ZgZ2hqDYCdNc1357WgqNZO4AwiQ==} + /@unocss/config/0.45.1: + resolution: {integrity: sha512-/yYlzu7t8J0QBclh5EHcodHcZL6yv38pwH6oDIoPkBX47S5nfTCXHsqN4MedcNO+9RWaeQhosnRmgaQybXQfvg==} engines: {node: '>=14'} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 unconfig: 0.3.5 dev: true - /@unocss/core/0.44.7: - resolution: {integrity: sha512-EPs3IxvPdzxEkEynAyCqyJX25IPp5RtFK3mFdgmXGvigwpgq9sxJBzQRXmYNtDeZriSyiwjYmc9yclLEJH3IiA==} + /@unocss/core/0.45.1: + resolution: {integrity: sha512-PRbpgWtXs+GnU8Mi6MAG3l/VCqmzn6s5k/QvQLG9J27AzN+ps651YKBfWKiGYrjMtt+0B41iq0w9fcNd8vQUpg==} dev: true - /@unocss/inspector/0.44.7: - resolution: {integrity: sha512-uH0dla42tiKEfCpgCcDLC0FwKzrNRLqsN7R3az0B/eHSkeOuXrg7jdA9RWaNNmjnl6/ZOqevtyE5+g7JZf7E6A==} + /@unocss/inspector/0.45.1: + resolution: {integrity: sha512-JSXw4VRve25YVjfkE+4j5BiNBHX/pNl6GWNLHUtC4dbxkly7dGyH+W/IWxUupLQu0L+hISKdWiqKYSpDOQK96w==} dependencies: gzip-size: 6.0.0 sirv: 2.0.2 dev: true - /@unocss/preset-attributify/0.44.7: - resolution: {integrity: sha512-aXW06aBcrHFzf0eKLpDpNmaQ7LPz6RibCHTNhSF/IkyDPAp7HDltIGoWY2+D/C1LUO3gXahnH4Mj4dlvv7fZtg==} + /@unocss/preset-attributify/0.45.1: + resolution: {integrity: sha512-xA5t6+HRHVxn5p8IFTFrlnxMldhw8H82Wvrd/Gw8zAK5PeZlFrkyKo2uyfjR+AcO2QuiICZylLgLwoxNJmj57Q==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/preset-icons/0.44.7: - resolution: {integrity: sha512-3PC8a1yjm/rV0Sq192OB+yWokccjNZlh8dsmt3NPdz7OTIRTreNvUaFlV5CHk1JSk2/CNus1VWLG1VeDHqdotg==} + /@unocss/preset-icons/0.45.1: + resolution: {integrity: sha512-pZVJLTnoqphJOCMtiiHeesCoqtafuRwAPQtlsr3M4es1i9Dsjbs5+pLFF3fjC1MhcVN8yIXFh4HSZiOIlqYFiw==} dependencies: '@iconify/utils': 1.0.33 - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 ohmyfetch: 0.4.18 transitivePeerDependencies: - supports-color dev: true - /@unocss/preset-mini/0.44.7: - resolution: {integrity: sha512-EPRogHZstaRGh4244FUixaQUgfQW1lfKnbyh8ZewtL+iCN0YdDEyWuITtqA1yv9sMlJdn9nAEowA3is9ZkWtBQ==} + /@unocss/preset-mini/0.45.1: + resolution: {integrity: sha512-tlZf9E0jOVdEB9dmOPRME7CjL64oIYubowtibG+cHGMXb8QV9M9mpHMuuGnBbPOJQkSMkqBO7gl9yKqHEtWYrQ==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/preset-tagify/0.44.7: - resolution: {integrity: sha512-+9K3qX1bAIU7BINXi5qTFBr828WXrXGhq3Nzys8rHgrZShPpwwlfJl26oN3cteWEDxSOlM6DZ3xSqoIMtWcQXA==} + /@unocss/preset-tagify/0.45.1: + resolution: {integrity: sha512-0IDihyDWJIQ23xkyQQjl28idRkHRrBG0MtprrE8uKs9j1ou3g+FzAIx34o4+tQ/CJ0pwCuCZ9ouEgOQ0HRv3CQ==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/preset-typography/0.44.7: - resolution: {integrity: sha512-2YAkIuClWIgi0F95VFMz0cY8wPmngpxlKE8wRNF29hZ5Qvz+MfFDe6ECypApKUDMP2+dfhAHwXu9MlN/Vgnr5A==} + /@unocss/preset-typography/0.45.1: + resolution: {integrity: sha512-tnvxmO2SlJmIfeDMuMZLaX4VQMIPhBvnB6a5/K+foK3+2/2pIW1QFS5f/cHvYxN0BqNWB+5tiiVjjB5TCvVMfg==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/preset-uno/0.44.7: - resolution: {integrity: sha512-JN1/hCy51RdQmDjCkVZWzFZv0XREyFIxSv/Wy3XfI3rzD42vdcTei/OraFfEhkh9/SdF9uUlIh9QQwOFZUWpyg==} + /@unocss/preset-uno/0.45.1: + resolution: {integrity: sha512-AzYW4K3jMDqNNvf1zRJ8h+iiyvADEVbcrZVxh9EYtFf040HzylbdPHkX4TwsgIkdmAGnv43HsZpRlXbW+ge54A==} dependencies: - '@unocss/core': 0.44.7 - '@unocss/preset-mini': 0.44.7 - '@unocss/preset-wind': 0.44.7 + '@unocss/core': 0.45.1 + '@unocss/preset-mini': 0.45.1 + '@unocss/preset-wind': 0.45.1 dev: true - /@unocss/preset-web-fonts/0.44.7: - resolution: {integrity: sha512-1dI3B9LnSt9yLnvsVsiI454SMhlraRdyNU1xrBQ8Z0YBF41/it0yk4+xf2uD8o87brBgfTib4gzPdVxgqQsiqQ==} + /@unocss/preset-web-fonts/0.45.1: + resolution: {integrity: sha512-IfaQey27l544AB6QEOIlI18AHeQrcCfBYqvXu6w/oXdgwFLGihNaoE7hQ0XmFnFd6wDHbUOXYa8XpezDCJAPoQ==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 ohmyfetch: 0.4.18 dev: true - /@unocss/preset-wind/0.44.7: - resolution: {integrity: sha512-mjzNwY18A/WT8cSGuxf52rYR/gy1jjDXg1xF38/Jn1Nln4jOBkKzrQTyk4c/3GJWNrHav8hE3VanD8+l7Q6W6A==} + /@unocss/preset-wind/0.45.1: + resolution: {integrity: sha512-42EXlYndppz7bxv3q4J5CEV/SL+Oj51PXCbHLs1npufdsASFGOLkslDzB0lQlmk8RwoBCQSbodHzNhqOxaGjcA==} dependencies: - '@unocss/core': 0.44.7 - '@unocss/preset-mini': 0.44.7 + '@unocss/core': 0.45.1 + '@unocss/preset-mini': 0.45.1 dev: true - /@unocss/reset/0.44.7: - resolution: {integrity: sha512-izmqZafDMClT1vQEGpPzfKWvyft8xkA33xC0r0iOWEiDd94+wlC+7ohSnsafyl0iwEuwPp/ONzDft5ouHrOWLA==} + /@unocss/reset/0.45.1: + resolution: {integrity: sha512-Dmz0/x2ION2noD4/t6Tjgwwp0R7lRP5QIkc3EuumYFXjdivU0gDRhNfcdM3yZUOsZRDreMkfiZoVKlypbNxD/g==} dev: true - /@unocss/scope/0.44.7: - resolution: {integrity: sha512-E6kqHWfJpm3TXHj9KWs23oVEzknVAUfqbDpGYxh9JYG+hIvbYQdrBpIXNspodxQllNeQtGrtkQ8/PrHDo/3hpw==} + /@unocss/scope/0.45.1: + resolution: {integrity: sha512-JVz/mW60DgImH5Mbc70tzoiGvK4kv/+1KAZPzjEPYR5sA2E9AhcF2/HcTFjYuwT4fzQRlNipUZ/c5fYcGpUCMw==} dev: true - /@unocss/transformer-compile-class/0.44.7: - resolution: {integrity: sha512-LwyjtdHIrgX6AREKiPmXSXjXclSUSnY/cHXSlwTqfs3Q0bkp6voFNG2CzhJF5xMoMa27ZszpvACbZG5CIZYOuA==} + /@unocss/transformer-attributify-jsx/0.45.1: + resolution: {integrity: sha512-aUkAhEDKEoa7FX/38bRDTxQaxYKBtvMNxk9zc7jwP9Ht7AA0QmdApDSmx5dqc8Za7DoCuJU8WGyglXWqRaPY+w==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/transformer-directives/0.44.7: - resolution: {integrity: sha512-tDjFHfjpoaru/e468Nhhz+5ofdJY46mYgamF1n98RDLtH1hnKxS+PvD4mm0AxsY5NJ20hLUihzFbN0Mnuos4Ew==} + /@unocss/transformer-compile-class/0.45.1: + resolution: {integrity: sha512-GaVjiEyVRfGza1/NmMWyxnLQCVPY5vAm2wvc74nDf6Yn0goYjBmPviqmKGG533O/rl9zl78m+U7eP3ClPMLqQQ==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 + dev: true + + /@unocss/transformer-directives/0.45.1: + resolution: {integrity: sha512-Wjb2JCn16dJXITIGgJ/T0DBshHT8bE4g5P8vqJDerHLBRxhhLHJWkjHl9OJLoqYJQ0/tu+dhzDppV0CZXBQ4Cg==} + dependencies: + '@unocss/core': 0.45.1 css-tree: 2.1.0 dev: true - /@unocss/transformer-variant-group/0.44.7: - resolution: {integrity: sha512-f5tJZ8rfpix245JgcezqjtvWC9wkc9Sdg0R/2yb3fyPBLGNonYGqAp2GViqmVo8UsFerullpKeUCmCSk8gCyFg==} + /@unocss/transformer-variant-group/0.45.1: + resolution: {integrity: sha512-NNHM81rf/oVg5CtXRK5ZitXoxsAJNsj93X76nY69ybuH5UHYJU0djJB1PlISOP+NE1WWtBdy3smVfj06NpilvQ==} dependencies: - '@unocss/core': 0.44.7 + '@unocss/core': 0.45.1 dev: true - /@unocss/vite/0.44.7: - resolution: {integrity: sha512-RjOB+Yv2bg/p5NOzwXDYap0fl7m+1VmIfej8Afceisy0mDL1NniGISiA0pQjOhUewPdSaBDpRXxlpoDGnYaPjw==} + /@unocss/vite/0.45.1: + resolution: {integrity: sha512-O5w8bIYFRBIO9MFc5Nca9FHHKh6vHu8OHNosfP5Ca0dq1TYMffR4qZ32QCudbdB1F7XQKhArgt/CJ2ADhhkBZw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 dependencies: '@ampproject/remapping': 2.2.0 '@rollup/pluginutils': 4.2.1 - '@unocss/config': 0.44.7 - '@unocss/core': 0.44.7 - '@unocss/inspector': 0.44.7 - '@unocss/scope': 0.44.7 - '@unocss/transformer-directives': 0.44.7 + '@unocss/config': 0.45.1 + '@unocss/core': 0.45.1 + '@unocss/inspector': 0.45.1 + '@unocss/scope': 0.45.1 + '@unocss/transformer-directives': 0.45.1 magic-string: 0.26.2 dev: true - /@unocss/vite/0.44.7_vite@3.0.4: - resolution: {integrity: sha512-RjOB+Yv2bg/p5NOzwXDYap0fl7m+1VmIfej8Afceisy0mDL1NniGISiA0pQjOhUewPdSaBDpRXxlpoDGnYaPjw==} + /@unocss/vite/0.45.1_vite@3.0.4: + resolution: {integrity: sha512-O5w8bIYFRBIO9MFc5Nca9FHHKh6vHu8OHNosfP5Ca0dq1TYMffR4qZ32QCudbdB1F7XQKhArgt/CJ2ADhhkBZw==} peerDependencies: vite: ^2.9.0 || ^3.0.0-0 dependencies: '@ampproject/remapping': 2.2.0 '@rollup/pluginutils': 4.2.1 - '@unocss/config': 0.44.7 - '@unocss/core': 0.44.7 - '@unocss/inspector': 0.44.7 - '@unocss/scope': 0.44.7 - '@unocss/transformer-directives': 0.44.7 + '@unocss/config': 0.45.1 + '@unocss/core': 0.45.1 + '@unocss/inspector': 0.45.1 + '@unocss/scope': 0.45.1 + '@unocss/transformer-directives': 0.45.1 magic-string: 0.26.2 vite: 3.0.4_sass@1.54.0 dev: true @@ -1371,13 +1377,8 @@ packages: resolution: {integrity: sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ==} dev: true - /@vue/devtools-api/6.2.0: - resolution: {integrity: sha512-pF1G4wky+hkifDiZSWn8xfuLOJI1ZXtuambpBEYaf7Xaf6zC/pM29rvAGpd3qaGXnr4BAXU1Pxz/VfvBGwexGA==} - dev: true - /@vue/devtools-api/6.2.1: resolution: {integrity: sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ==} - dev: false /@vue/reactivity-transform/3.2.37: resolution: {integrity: sha512-IWopkKEb+8qpu/1eMKVeXrK0NLw9HicGviJzhJDEyfxTR9e1WtpnnbYkJWurX6WwoFP0sz10xQg8yL8lgskAZg==} @@ -1436,24 +1437,24 @@ packages: vue-demi: 0.13.4_vue@3.2.37 dev: true - /@vueuse/core/9.0.0: - resolution: {integrity: sha512-hMMc2ajuVknkL7Z39JdP9gFFND2OgnDTSS5mmuinWGAE1Vxy1AwDvTHm3+juyk+GzJjYRAktnBIPy7Fq53iOnw==} + /@vueuse/core/9.0.2: + resolution: {integrity: sha512-kOIqaQPSs7OSByWg1ulEKRUJbsq3FmbJiUr0RhEKpt3O1Uhl4DrDj85DUbQBABVYgPvSaY6AE/fP3/FOcRIOoQ==} dependencies: '@types/web-bluetooth': 0.0.15 - '@vueuse/metadata': 9.0.0 - '@vueuse/shared': 9.0.0 + '@vueuse/metadata': 9.0.2 + '@vueuse/shared': 9.0.2 vue-demi: 0.13.6 transitivePeerDependencies: - '@vue/composition-api' - vue dev: false - /@vueuse/core/9.0.0_vue@3.2.37: - resolution: {integrity: sha512-hMMc2ajuVknkL7Z39JdP9gFFND2OgnDTSS5mmuinWGAE1Vxy1AwDvTHm3+juyk+GzJjYRAktnBIPy7Fq53iOnw==} + /@vueuse/core/9.0.2_vue@3.2.37: + resolution: {integrity: sha512-kOIqaQPSs7OSByWg1ulEKRUJbsq3FmbJiUr0RhEKpt3O1Uhl4DrDj85DUbQBABVYgPvSaY6AE/fP3/FOcRIOoQ==} dependencies: '@types/web-bluetooth': 0.0.15 - '@vueuse/metadata': 9.0.0 - '@vueuse/shared': 9.0.0_vue@3.2.37 + '@vueuse/metadata': 9.0.2 + '@vueuse/shared': 9.0.2_vue@3.2.37 vue-demi: 0.13.6_vue@3.2.37 transitivePeerDependencies: - '@vue/composition-api' @@ -1464,8 +1465,8 @@ packages: resolution: {integrity: sha512-IwSfzH80bnJMzqhaapqJl9JRIiyQU0zsRGEgnxN6jhq7992cPUJIRfV+JHRIZXjYqbwt07E1gTEp0R0zPJ1aqw==} dev: true - /@vueuse/metadata/9.0.0: - resolution: {integrity: sha512-79YVIsAP1bbWm5GdQuG7jDVF/9uuExzhkO0Sd4/TLuSfzH2uZOrHvGwy+ZNJHjbyRn3uf56rKINWLJdBuTLSqQ==} + /@vueuse/metadata/9.0.2: + resolution: {integrity: sha512-TRh+TNUYXiodatSAxd0xZc7sh4RfktVVgNFIN7TCQXKyancbCAcWfHvKfgdlX8LcqSBxKoHVa90n0XdUbboTkw==} /@vueuse/shared/8.9.4_vue@3.2.37: resolution: {integrity: sha512-wt+T30c4K6dGRMVqPddexEVLa28YwxW5OFIPmzUHICjphfAuBFTTdDoyqREZNDOFJZ44ARH1WWQNCUK8koJ+Ag==} @@ -1482,8 +1483,8 @@ packages: vue-demi: 0.13.4_vue@3.2.37 dev: true - /@vueuse/shared/9.0.0: - resolution: {integrity: sha512-WRCyr/wIz5e/2gR/+qFucbCUcGMyJKkQZAzlECl3e71ebQQ9X/w3aBWT9FbnogJX+DNZ/t3Pj+TqPbC7TH1Yog==} + /@vueuse/shared/9.0.2: + resolution: {integrity: sha512-KwBDefK2ljLESpt0ffe2w8EGUCb3IaMfTzeytB/uHHjHOGOEIHLHHyn8W2C48uGQEvoe5iwaW4Bfp8cRUM6IFA==} dependencies: vue-demi: 0.13.6 transitivePeerDependencies: @@ -1491,8 +1492,8 @@ packages: - vue dev: false - /@vueuse/shared/9.0.0_vue@3.2.37: - resolution: {integrity: sha512-WRCyr/wIz5e/2gR/+qFucbCUcGMyJKkQZAzlECl3e71ebQQ9X/w3aBWT9FbnogJX+DNZ/t3Pj+TqPbC7TH1Yog==} + /@vueuse/shared/9.0.2_vue@3.2.37: + resolution: {integrity: sha512-KwBDefK2ljLESpt0ffe2w8EGUCb3IaMfTzeytB/uHHjHOGOEIHLHHyn8W2C48uGQEvoe5iwaW4Bfp8cRUM6IFA==} dependencies: vue-demi: 0.13.6_vue@3.2.37 transitivePeerDependencies: @@ -1514,6 +1515,12 @@ packages: hasBin: true dev: true + /acorn/8.8.0: + resolution: {integrity: sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + /ajv/6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} dependencies: @@ -1762,8 +1769,8 @@ packages: escape-string-regexp: 1.0.5 dev: true - /code-block-writer/11.0.2: - resolution: {integrity: sha512-goP2FghRVwp940jOvhtUrRDiSVU0h4Ah2jPX1gu2ueGW8boQmdQV4NwiHoM5MQQbUWLQuZopougO8+Ajljgpnw==} + /code-block-writer/11.0.3: + resolution: {integrity: sha512-NiujjUFB4SwScJq2bwbYUtXbZhBSlY6vYzm++3Q6oC+U+injTqfPYFK8wS9COOmb2lueqp0ZRB4nK1VYeHgNyw==} dev: true /color-convert/1.9.3: @@ -2036,8 +2043,8 @@ packages: dev: true optional: true - /esbuild-android-64/0.14.49: - resolution: {integrity: sha512-vYsdOTD+yi+kquhBiFWl3tyxnj2qZJsl4tAqwhT90ktUdnyTizgle7TjNx6Ar1bN7wcwWqZ9QInfdk2WVagSww==} + /esbuild-android-64/0.14.51: + resolution: {integrity: sha512-6FOuKTHnC86dtrKDmdSj2CkcKF8PnqkaIXqvgydqfJmqBazCPdw+relrMlhGjkvVdiiGV70rpdnyFmA65ekBCQ==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -2054,8 +2061,8 @@ packages: dev: true optional: true - /esbuild-android-arm64/0.14.49: - resolution: {integrity: sha512-g2HGr/hjOXCgSsvQZ1nK4nW/ei8JUx04Li74qub9qWrStlysaVmadRyTVuW32FGIpLQyc5sUjjZopj49eGGM2g==} + /esbuild-android-arm64/0.14.51: + resolution: {integrity: sha512-vBtp//5VVkZWmYYvHsqBRCMMi1MzKuMIn5XDScmnykMTu9+TD9v0NMEDqQxvtFToeYmojdo5UCV2vzMQWJcJ4A==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -2072,8 +2079,8 @@ packages: dev: true optional: true - /esbuild-darwin-64/0.14.49: - resolution: {integrity: sha512-3rvqnBCtX9ywso5fCHixt2GBCUsogNp9DjGmvbBohh31Ces34BVzFltMSxJpacNki96+WIcX5s/vum+ckXiLYg==} + /esbuild-darwin-64/0.14.51: + resolution: {integrity: sha512-YFmXPIOvuagDcwCejMRtCDjgPfnDu+bNeh5FU2Ryi68ADDVlWEpbtpAbrtf/lvFTWPexbgyKgzppNgsmLPr8PA==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -2090,8 +2097,8 @@ packages: dev: true optional: true - /esbuild-darwin-arm64/0.14.49: - resolution: {integrity: sha512-XMaqDxO846srnGlUSJnwbijV29MTKUATmOLyQSfswbK/2X5Uv28M9tTLUJcKKxzoo9lnkYPsx2o8EJcTYwCs/A==} + /esbuild-darwin-arm64/0.14.51: + resolution: {integrity: sha512-juYD0QnSKwAMfzwKdIF6YbueXzS6N7y4GXPDeDkApz/1RzlT42mvX9jgNmyOlWKN7YzQAYbcUEJmZJYQGdf2ow==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -2108,8 +2115,8 @@ packages: dev: true optional: true - /esbuild-freebsd-64/0.14.49: - resolution: {integrity: sha512-NJ5Q6AjV879mOHFri+5lZLTp5XsO2hQ+KSJYLbfY9DgCu8s6/Zl2prWXVANYTeCDLlrIlNNYw8y34xqyLDKOmQ==} + /esbuild-freebsd-64/0.14.51: + resolution: {integrity: sha512-cLEI/aXjb6vo5O2Y8rvVSQ7smgLldwYY5xMxqh/dQGfWO+R1NJOFsiax3IS4Ng300SVp7Gz3czxT6d6qf2cw0g==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -2126,8 +2133,8 @@ packages: dev: true optional: true - /esbuild-freebsd-arm64/0.14.49: - resolution: {integrity: sha512-lFLtgXnAc3eXYqj5koPlBZvEbBSOSUbWO3gyY/0+4lBdRqELyz4bAuamHvmvHW5swJYL7kngzIZw6kdu25KGOA==} + /esbuild-freebsd-arm64/0.14.51: + resolution: {integrity: sha512-TcWVw/rCL2F+jUgRkgLa3qltd5gzKjIMGhkVybkjk6PJadYInPtgtUBp1/hG+mxyigaT7ib+od1Xb84b+L+1Mg==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -2144,8 +2151,8 @@ packages: dev: true optional: true - /esbuild-linux-32/0.14.49: - resolution: {integrity: sha512-zTTH4gr2Kb8u4QcOpTDVn7Z8q7QEIvFl/+vHrI3cF6XOJS7iEI1FWslTo3uofB2+mn6sIJEQD9PrNZKoAAMDiA==} + /esbuild-linux-32/0.14.51: + resolution: {integrity: sha512-RFqpyC5ChyWrjx8Xj2K0EC1aN0A37H6OJfmUXIASEqJoHcntuV3j2Efr9RNmUhMfNE6yEj2VpYuDteZLGDMr0w==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -2162,8 +2169,8 @@ packages: dev: true optional: true - /esbuild-linux-64/0.14.49: - resolution: {integrity: sha512-hYmzRIDzFfLrB5c1SknkxzM8LdEUOusp6M2TnuQZJLRtxTgyPnZZVtyMeCLki0wKgYPXkFsAVhi8vzo2mBNeTg==} + /esbuild-linux-64/0.14.51: + resolution: {integrity: sha512-dxjhrqo5i7Rq6DXwz5v+MEHVs9VNFItJmHBe1CxROWNf4miOGoQhqSG8StStbDkQ1Mtobg6ng+4fwByOhoQoeA==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -2180,8 +2187,8 @@ packages: dev: true optional: true - /esbuild-linux-arm/0.14.49: - resolution: {integrity: sha512-iE3e+ZVv1Qz1Sy0gifIsarJMQ89Rpm9mtLSRtG3AH0FPgAzQ5Z5oU6vYzhc/3gSPi2UxdCOfRhw2onXuFw/0lg==} + /esbuild-linux-arm/0.14.51: + resolution: {integrity: sha512-LsJynDxYF6Neg7ZC7748yweCDD+N8ByCv22/7IAZglIEniEkqdF4HCaa49JNDLw1UQGlYuhOB8ZT/MmcSWzcWg==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -2198,8 +2205,8 @@ packages: dev: true optional: true - /esbuild-linux-arm64/0.14.49: - resolution: {integrity: sha512-KLQ+WpeuY+7bxukxLz5VgkAAVQxUv67Ft4DmHIPIW+2w3ObBPQhqNoeQUHxopoW/aiOn3m99NSmSV+bs4BSsdA==} + /esbuild-linux-arm64/0.14.51: + resolution: {integrity: sha512-D9rFxGutoqQX3xJPxqd6o+kvYKeIbM0ifW2y0bgKk5HPgQQOo2k9/2Vpto3ybGYaFPCE5qTGtqQta9PoP6ZEzw==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -2216,8 +2223,8 @@ packages: dev: true optional: true - /esbuild-linux-mips64le/0.14.49: - resolution: {integrity: sha512-n+rGODfm8RSum5pFIqFQVQpYBw+AztL8s6o9kfx7tjfK0yIGF6tm5HlG6aRjodiiKkH2xAiIM+U4xtQVZYU4rA==} + /esbuild-linux-mips64le/0.14.51: + resolution: {integrity: sha512-vS54wQjy4IinLSlb5EIlLoln8buh1yDgliP4CuEHumrPk4PvvP4kTRIG4SzMXm6t19N0rIfT4bNdAxzJLg2k6A==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -2234,8 +2241,8 @@ packages: dev: true optional: true - /esbuild-linux-ppc64le/0.14.49: - resolution: {integrity: sha512-WP9zR4HX6iCBmMFH+XHHng2LmdoIeUmBpL4aL2TR8ruzXyT4dWrJ5BSbT8iNo6THN8lod6GOmYDLq/dgZLalGw==} + /esbuild-linux-ppc64le/0.14.51: + resolution: {integrity: sha512-xcdd62Y3VfGoyphNP/aIV9LP+RzFw5M5Z7ja+zdpQHHvokJM7d0rlDRMN+iSSwvUymQkqZO+G/xjb4/75du8BQ==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -2252,8 +2259,8 @@ packages: dev: true optional: true - /esbuild-linux-riscv64/0.14.49: - resolution: {integrity: sha512-h66ORBz+Dg+1KgLvzTVQEA1LX4XBd1SK0Fgbhhw4akpG/YkN8pS6OzYI/7SGENiN6ao5hETRDSkVcvU9NRtkMQ==} + /esbuild-linux-riscv64/0.14.51: + resolution: {integrity: sha512-syXHGak9wkAnFz0gMmRBoy44JV0rp4kVCEA36P5MCeZcxFq8+fllBC2t6sKI23w3qd8Vwo9pTADCgjTSf3L3rA==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -2270,8 +2277,8 @@ packages: dev: true optional: true - /esbuild-linux-s390x/0.14.49: - resolution: {integrity: sha512-DhrUoFVWD+XmKO1y7e4kNCqQHPs6twz6VV6Uezl/XHYGzM60rBewBF5jlZjG0nCk5W/Xy6y1xWeopkrhFFM0sQ==} + /esbuild-linux-s390x/0.14.51: + resolution: {integrity: sha512-kFAJY3dv+Wq8o28K/C7xkZk/X34rgTwhknSsElIqoEo8armCOjMJ6NsMxm48KaWY2h2RUYGtQmr+RGuUPKBhyw==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -2288,8 +2295,8 @@ packages: dev: true optional: true - /esbuild-netbsd-64/0.14.49: - resolution: {integrity: sha512-BXaUwFOfCy2T+hABtiPUIpWjAeWK9P8O41gR4Pg73hpzoygVGnj0nI3YK4SJhe52ELgtdgWP/ckIkbn2XaTxjQ==} + /esbuild-netbsd-64/0.14.51: + resolution: {integrity: sha512-ZZBI7qrR1FevdPBVHz/1GSk1x5GDL/iy42Zy8+neEm/HA7ma+hH/bwPEjeHXKWUDvM36CZpSL/fn1/y9/Hb+1A==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -2306,8 +2313,8 @@ packages: dev: true optional: true - /esbuild-openbsd-64/0.14.49: - resolution: {integrity: sha512-lP06UQeLDGmVPw9Rg437Btu6J9/BmyhdoefnQ4gDEJTtJvKtQaUcOQrhjTq455ouZN4EHFH1h28WOJVANK41kA==} + /esbuild-openbsd-64/0.14.51: + resolution: {integrity: sha512-7R1/p39M+LSVQVgDVlcY1KKm6kFKjERSX1lipMG51NPcspJD1tmiZSmmBXoY5jhHIu6JL1QkFDTx94gMYK6vfA==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -2324,8 +2331,8 @@ packages: dev: true optional: true - /esbuild-sunos-64/0.14.49: - resolution: {integrity: sha512-4c8Zowp+V3zIWje329BeLbGh6XI9c/rqARNaj5yPHdC61pHI9UNdDxT3rePPJeWcEZVKjkiAS6AP6kiITp7FSw==} + /esbuild-sunos-64/0.14.51: + resolution: {integrity: sha512-HoHaCswHxLEYN8eBTtyO0bFEWvA3Kdb++hSQ/lLG7TyKF69TeSG0RNoBRAs45x/oCeWaTDntEZlYwAfQlhEtJA==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -2342,8 +2349,8 @@ packages: dev: true optional: true - /esbuild-windows-32/0.14.49: - resolution: {integrity: sha512-q7Rb+J9yHTeKr9QTPDYkqfkEj8/kcKz9lOabDuvEXpXuIcosWCJgo5Z7h/L4r7rbtTH4a8U2FGKb6s1eeOHmJA==} + /esbuild-windows-32/0.14.51: + resolution: {integrity: sha512-4rtwSAM35A07CBt1/X8RWieDj3ZUHQqUOaEo5ZBs69rt5WAFjP4aqCIobdqOy4FdhYw1yF8Z0xFBTyc9lgPtEg==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -2360,8 +2367,8 @@ packages: dev: true optional: true - /esbuild-windows-64/0.14.49: - resolution: {integrity: sha512-+Cme7Ongv0UIUTniPqfTX6mJ8Deo7VXw9xN0yJEN1lQMHDppTNmKwAM3oGbD/Vqff+07K2gN0WfNkMohmG+dVw==} + /esbuild-windows-64/0.14.51: + resolution: {integrity: sha512-HoN/5HGRXJpWODprGCgKbdMvrC3A2gqvzewu2eECRw2sYxOUoh2TV1tS+G7bHNapPGI79woQJGV6pFH7GH7qnA==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -2378,8 +2385,8 @@ packages: dev: true optional: true - /esbuild-windows-arm64/0.14.49: - resolution: {integrity: sha512-v+HYNAXzuANrCbbLFJ5nmO3m5y2PGZWLe3uloAkLt87aXiO2mZr3BTmacZdjwNkNEHuH3bNtN8cak+mzVjVPfA==} + /esbuild-windows-arm64/0.14.51: + resolution: {integrity: sha512-JQDqPjuOH7o+BsKMSddMfmVJXrnYZxXDHsoLHc0xgmAZkOOCflRmC43q31pk79F9xuyWY45jDBPolb5ZgGOf9g==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -2415,32 +2422,32 @@ packages: esbuild-windows-arm64: 0.14.47 dev: true - /esbuild/0.14.49: - resolution: {integrity: sha512-/TlVHhOaq7Yz8N1OJrjqM3Auzo5wjvHFLk+T8pIue+fhnhIMpfAzsG6PLVMbFveVxqD2WOp3QHei+52IMUNmCw==} + /esbuild/0.14.51: + resolution: {integrity: sha512-+CvnDitD7Q5sT7F+FM65sWkF8wJRf+j9fPcprxYV4j+ohmzVj2W7caUqH2s5kCaCJAfcAICjSlKhDCcvDpU7nw==} engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - esbuild-android-64: 0.14.49 - esbuild-android-arm64: 0.14.49 - esbuild-darwin-64: 0.14.49 - esbuild-darwin-arm64: 0.14.49 - esbuild-freebsd-64: 0.14.49 - esbuild-freebsd-arm64: 0.14.49 - esbuild-linux-32: 0.14.49 - esbuild-linux-64: 0.14.49 - esbuild-linux-arm: 0.14.49 - esbuild-linux-arm64: 0.14.49 - esbuild-linux-mips64le: 0.14.49 - esbuild-linux-ppc64le: 0.14.49 - esbuild-linux-riscv64: 0.14.49 - esbuild-linux-s390x: 0.14.49 - esbuild-netbsd-64: 0.14.49 - esbuild-openbsd-64: 0.14.49 - esbuild-sunos-64: 0.14.49 - esbuild-windows-32: 0.14.49 - esbuild-windows-64: 0.14.49 - esbuild-windows-arm64: 0.14.49 + esbuild-android-64: 0.14.51 + esbuild-android-arm64: 0.14.51 + esbuild-darwin-64: 0.14.51 + esbuild-darwin-arm64: 0.14.51 + esbuild-freebsd-64: 0.14.51 + esbuild-freebsd-arm64: 0.14.51 + esbuild-linux-32: 0.14.51 + esbuild-linux-64: 0.14.51 + esbuild-linux-arm: 0.14.51 + esbuild-linux-arm64: 0.14.51 + esbuild-linux-mips64le: 0.14.51 + esbuild-linux-ppc64le: 0.14.51 + esbuild-linux-riscv64: 0.14.51 + esbuild-linux-s390x: 0.14.51 + esbuild-netbsd-64: 0.14.51 + esbuild-openbsd-64: 0.14.51 + esbuild-sunos-64: 0.14.51 + esbuild-windows-32: 0.14.51 + esbuild-windows-64: 0.14.51 + esbuild-windows-arm64: 0.14.51 dev: true /escalade/3.1.1: @@ -4041,8 +4048,8 @@ packages: fsevents: 2.3.2 dev: true - /rollup/2.77.0: - resolution: {integrity: sha512-vL8xjY4yOQEw79DvyXLijhnhh+R/O9zpF/LEgkCebZFtb6ELeN9H3/2T0r8+mp+fFTBHZ5qGpOpW2ela2zRt3g==} + /rollup/2.77.2: + resolution: {integrity: sha512-m/4YzYgLcpMQbxX3NmAqDvwLATZzxt8bIegO78FZLl+lAgKJBd1DRAOeEiZcKOIOPjxE6ewHWHNgGEalFXuz1g==} engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: @@ -4306,7 +4313,7 @@ packages: resolution: {integrity: sha512-tO8YQ1dP41fw8GVmeQAdNsD8roZi1JMqB7YwZrqU856DvmG5/710e41q2XauzTYrygH9XmMryaFeLo+kdCziyA==} dependencies: '@ts-morph/common': 0.13.0 - code-block-writer: 11.0.2 + code-block-writer: 11.0.3 dev: true /tsconfig-paths/3.14.1: @@ -4416,59 +4423,61 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.44.7: - resolution: {integrity: sha512-4XQZAZ7F5gFi30Dn4e7PdxYc2BVTBtrkXA5QzHgmBy/RqNoM5kEuQwsooEVEMl6Cp3Q+vHuQCueVffOBHUl9rQ==} + /unocss/0.45.1: + resolution: {integrity: sha512-PRPU8WIqEYN+cS7YbptGOJqeAcdDBllRnknUNiK6vzaK9YqomR+Gzk81zxcSW3A159QERmy3TdvpaxmDwO4ZCA==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 0.44.7 + '@unocss/webpack': 0.45.1 peerDependenciesMeta: '@unocss/webpack': optional: true dependencies: - '@unocss/cli': 0.44.7 - '@unocss/core': 0.44.7 - '@unocss/preset-attributify': 0.44.7 - '@unocss/preset-icons': 0.44.7 - '@unocss/preset-mini': 0.44.7 - '@unocss/preset-tagify': 0.44.7 - '@unocss/preset-typography': 0.44.7 - '@unocss/preset-uno': 0.44.7 - '@unocss/preset-web-fonts': 0.44.7 - '@unocss/preset-wind': 0.44.7 - '@unocss/reset': 0.44.7 - '@unocss/transformer-compile-class': 0.44.7 - '@unocss/transformer-directives': 0.44.7 - '@unocss/transformer-variant-group': 0.44.7 - '@unocss/vite': 0.44.7 + '@unocss/cli': 0.45.1 + '@unocss/core': 0.45.1 + '@unocss/preset-attributify': 0.45.1 + '@unocss/preset-icons': 0.45.1 + '@unocss/preset-mini': 0.45.1 + '@unocss/preset-tagify': 0.45.1 + '@unocss/preset-typography': 0.45.1 + '@unocss/preset-uno': 0.45.1 + '@unocss/preset-web-fonts': 0.45.1 + '@unocss/preset-wind': 0.45.1 + '@unocss/reset': 0.45.1 + '@unocss/transformer-attributify-jsx': 0.45.1 + '@unocss/transformer-compile-class': 0.45.1 + '@unocss/transformer-directives': 0.45.1 + '@unocss/transformer-variant-group': 0.45.1 + '@unocss/vite': 0.45.1 transitivePeerDependencies: - supports-color - vite dev: true - /unocss/0.44.7_vite@3.0.4: - resolution: {integrity: sha512-4XQZAZ7F5gFi30Dn4e7PdxYc2BVTBtrkXA5QzHgmBy/RqNoM5kEuQwsooEVEMl6Cp3Q+vHuQCueVffOBHUl9rQ==} + /unocss/0.45.1_vite@3.0.4: + resolution: {integrity: sha512-PRPU8WIqEYN+cS7YbptGOJqeAcdDBllRnknUNiK6vzaK9YqomR+Gzk81zxcSW3A159QERmy3TdvpaxmDwO4ZCA==} engines: {node: '>=14'} peerDependencies: - '@unocss/webpack': 0.44.7 + '@unocss/webpack': 0.45.1 peerDependenciesMeta: '@unocss/webpack': optional: true dependencies: - '@unocss/cli': 0.44.7 - '@unocss/core': 0.44.7 - '@unocss/preset-attributify': 0.44.7 - '@unocss/preset-icons': 0.44.7 - '@unocss/preset-mini': 0.44.7 - '@unocss/preset-tagify': 0.44.7 - '@unocss/preset-typography': 0.44.7 - '@unocss/preset-uno': 0.44.7 - '@unocss/preset-web-fonts': 0.44.7 - '@unocss/preset-wind': 0.44.7 - '@unocss/reset': 0.44.7 - '@unocss/transformer-compile-class': 0.44.7 - '@unocss/transformer-directives': 0.44.7 - '@unocss/transformer-variant-group': 0.44.7 - '@unocss/vite': 0.44.7_vite@3.0.4 + '@unocss/cli': 0.45.1 + '@unocss/core': 0.45.1 + '@unocss/preset-attributify': 0.45.1 + '@unocss/preset-icons': 0.45.1 + '@unocss/preset-mini': 0.45.1 + '@unocss/preset-tagify': 0.45.1 + '@unocss/preset-typography': 0.45.1 + '@unocss/preset-uno': 0.45.1 + '@unocss/preset-web-fonts': 0.45.1 + '@unocss/preset-wind': 0.45.1 + '@unocss/reset': 0.45.1 + '@unocss/transformer-attributify-jsx': 0.45.1 + '@unocss/transformer-compile-class': 0.45.1 + '@unocss/transformer-directives': 0.45.1 + '@unocss/transformer-variant-group': 0.45.1 + '@unocss/vite': 0.45.1_vite@3.0.4 transitivePeerDependencies: - supports-color - vite @@ -4520,7 +4529,7 @@ packages: webpack: optional: true dependencies: - acorn: 8.7.1 + acorn: 8.8.0 chokidar: 3.5.3 vite: 3.0.4_sass@1.54.0 webpack-sources: 3.2.3 @@ -4578,7 +4587,7 @@ packages: peerDependencies: vite: '>=2.4.4' dependencies: - '@microsoft/api-extractor': 7.28.4 + '@microsoft/api-extractor': 7.28.6 '@rushstack/node-core-library': 3.49.0 chalk: 4.1.2 debug: 4.3.4 @@ -4633,10 +4642,10 @@ packages: terser: optional: true dependencies: - esbuild: 0.14.49 + esbuild: 0.14.51 postcss: 8.4.14 resolve: 1.22.1 - rollup: 2.77.0 + rollup: 2.77.2 sass: 1.54.0 optionalDependencies: fsevents: 2.3.2 @@ -4735,12 +4744,12 @@ packages: - supports-color dev: true - /vue-router/4.1.2_vue@3.2.37: - resolution: {integrity: sha512-5BP1qXFncVRwgV/XnqzsKApdMjQPqWIpoUBdL1ynz8HyLxIX/UDAx7Ql2BjmA5CXT/p61JfZvkpiFWFpaqcfag==} + /vue-router/4.1.3_vue@3.2.37: + resolution: {integrity: sha512-XvK81bcYglKiayT7/vYAg/f36ExPC4t90R/HIpzrZ5x+17BOWptXLCrEPufGgZeuq68ww4ekSIMBZY1qdUdfjA==} peerDependencies: vue: ^3.2.0 dependencies: - '@vue/devtools-api': 6.2.0 + '@vue/devtools-api': 6.2.1 vue: 3.2.37 dev: true