From 67820ece3276ae12d534dd38847a7e67935b4359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 16 Jan 2023 23:27:35 +0100 Subject: [PATCH 001/302] refactor: move `isVisible` to utilities --- .../coreui-vue/src/components/carousel/CCarousel.ts | 10 +--------- .../coreui-vue/src/components/sidebar/CSidebar.ts | 12 ++---------- packages/coreui-vue/src/utils/index.ts | 3 +++ packages/coreui-vue/src/utils/isVisible.ts | 11 +++++++++++ 4 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 packages/coreui-vue/src/utils/index.ts create mode 100644 packages/coreui-vue/src/utils/isVisible.ts diff --git a/packages/coreui-vue/src/components/carousel/CCarousel.ts b/packages/coreui-vue/src/components/carousel/CCarousel.ts index 3097fcb9..182579d4 100644 --- a/packages/coreui-vue/src/components/carousel/CCarousel.ts +++ b/packages/coreui-vue/src/components/carousel/CCarousel.ts @@ -11,15 +11,7 @@ import { watch, } from 'vue' -const isVisible = (element: HTMLDivElement) => { - const rect = element.getBoundingClientRect() - return ( - rect.top >= 0 && - rect.left >= 0 && - rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && - rect.right <= (window.innerWidth || document.documentElement.clientWidth) - ) -} +import { isVisible } from './../../utils' const CCarousel = defineComponent({ name: 'CCarousel', diff --git a/packages/coreui-vue/src/components/sidebar/CSidebar.ts b/packages/coreui-vue/src/components/sidebar/CSidebar.ts index 7b86ee68..34dfa7ad 100644 --- a/packages/coreui-vue/src/components/sidebar/CSidebar.ts +++ b/packages/coreui-vue/src/components/sidebar/CSidebar.ts @@ -1,19 +1,11 @@ import { defineComponent, h, onBeforeUnmount, onMounted, ref, watch } from 'vue' import { CBackdrop } from '../backdrop' +import { isVisible } from './../../utils' + const isOnMobile = (element: HTMLDivElement) => Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile')) -const isVisible = (element: HTMLDivElement) => { - const rect = element.getBoundingClientRect() - return ( - rect.top >= 0 && - rect.left >= 0 && - rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && - rect.right <= (window.innerWidth || document.documentElement.clientWidth) - ) -} - const CSidebar = defineComponent({ name: 'CSidebar', props: { diff --git a/packages/coreui-vue/src/utils/index.ts b/packages/coreui-vue/src/utils/index.ts new file mode 100644 index 00000000..ac72a6ad --- /dev/null +++ b/packages/coreui-vue/src/utils/index.ts @@ -0,0 +1,3 @@ +import isVisible from './isVisible' + +export { isVisible } diff --git a/packages/coreui-vue/src/utils/isVisible.ts b/packages/coreui-vue/src/utils/isVisible.ts new file mode 100644 index 00000000..0bf5cb30 --- /dev/null +++ b/packages/coreui-vue/src/utils/isVisible.ts @@ -0,0 +1,11 @@ +const isVisible = (element: HTMLElement) => { + const rect = element.getBoundingClientRect() + return ( + rect.top >= 0 && + rect.left >= 0 && + rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && + rect.right <= (window.innerWidth || document.documentElement.clientWidth) + ) +} + +export default isVisible From 183231679e231dce94bcfdb4e556f1d5c487a219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 16 Jan 2023 23:29:30 +0100 Subject: [PATCH 002/302] fix(CFormInput): ReferenceError: File is not defined --- packages/coreui-vue/src/components/form/CFormInput.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/coreui-vue/src/components/form/CFormInput.ts b/packages/coreui-vue/src/components/form/CFormInput.ts index 23f7c783..aaffb2d9 100644 --- a/packages/coreui-vue/src/components/form/CFormInput.ts +++ b/packages/coreui-vue/src/components/form/CFormInput.ts @@ -1,6 +1,8 @@ import { defineComponent, h } from 'vue' import { CFormControlWrapper } from './CFormControlWrapper' +export const File = typeof window !== 'undefined' ? window.File : class File extends Object {} + const CFormInput = defineComponent({ name: 'CFormInput', props: { From be6d18fd7f817a8079810d1c2129ab3da5040288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 16 Jan 2023 23:32:46 +0100 Subject: [PATCH 003/302] build: update API generator --- packages/docs/build/templates/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/build/templates/events.js b/packages/docs/build/templates/events.js index 625a7fb7..56550438 100644 --- a/packages/docs/build/templates/events.js +++ b/packages/docs/build/templates/events.js @@ -24,7 +24,7 @@ const tmpl = (events) => { events.forEach(evt => { const { description = '', ...e } = evt const readableProperties = e.properties ? `${formatProperties(e.properties)}` : '' - ret += `| **${mdclean(e.name.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g) + ret += `| **${e.name.includes('update:') ? mdclean(e.name) : mdclean(e.name.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g) .map(x => x.toLowerCase()) .join('-'))}** | ${mdclean(description)}| ${mdclean(readableProperties)}\n` }) From db07fabf77943b7206a0720fd4e1298cf07c7d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Mon, 16 Jan 2023 23:44:42 +0100 Subject: [PATCH 004/302] build: update rollup to v3 --- packages/coreui-vue-chartjs/package.json | 10 +- packages/coreui-vue/package.json | 10 +- packages/coreui-vue/rollup.config.js | 1 - yarn.lock | 136 ++++++++++++++--------- 4 files changed, 91 insertions(+), 66 deletions(-) diff --git a/packages/coreui-vue-chartjs/package.json b/packages/coreui-vue-chartjs/package.json index 5c76a1a2..d55302e3 100644 --- a/packages/coreui-vue-chartjs/package.json +++ b/packages/coreui-vue-chartjs/package.json @@ -32,18 +32,18 @@ "src/" ], "scripts": { - "build": "rollup -c" + "build": "rollup -c --bundleConfigAsCjs" }, "devDependencies": { "@coreui/chartjs": "^3.0.0", - "@rollup/plugin-commonjs": "^22.0.2", - "@rollup/plugin-node-resolve": "^13.3.0", - "@rollup/plugin-typescript": "^8.5.0", + "@rollup/plugin-commonjs": "^24.0.0", + "@rollup/plugin-node-resolve": "^15.0.1", + "@rollup/plugin-typescript": "^11.0.0", "@types/lodash": "^4.14.185", "@vue/test-utils": "^2.0.2", "chart.js": "^3.8.2", "lodash": "^4.17.21", - "rollup": "^2.79.0", + "rollup": "^3.10.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-vue": "^6.0.0", "typescript": "^4.8.3", diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index a8319f25..b8faeabf 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -31,18 +31,18 @@ "src/" ], "scripts": { - "build": "rollup -c" + "build": "rollup -c --bundleConfigAsCjs" }, "config": { "version_short": "4.5" }, "devDependencies": { "@popperjs/core": "^2.11.6", - "@rollup/plugin-commonjs": "^22.0.2", - "@rollup/plugin-node-resolve": "^13.3.0", - "@rollup/plugin-typescript": "^8.5.0", + "@rollup/plugin-commonjs": "^24.0.0", + "@rollup/plugin-node-resolve": "^15.0.1", + "@rollup/plugin-typescript": "^11.0.0", "@vue/test-utils": "^2.0.2", - "rollup": "^2.79.0", + "rollup": "^3.10.0", "rollup-plugin-vue": "^6.0.0", "typescript": "^4.8.3", "vue": "^3.2.39", diff --git a/packages/coreui-vue/rollup.config.js b/packages/coreui-vue/rollup.config.js index c2431368..c4b5a462 100644 --- a/packages/coreui-vue/rollup.config.js +++ b/packages/coreui-vue/rollup.config.js @@ -5,7 +5,6 @@ import vue from 'rollup-plugin-vue' import pkg from './package.json' const plugins = [ - // external(), resolve({ dedupe: ['vue'], extensions: ['.ts', '.json', '.vue'], diff --git a/yarn.lock b/yarn.lock index 541d4d85..4c6bbc99 100644 --- a/yarn.lock +++ b/yarn.lock @@ -620,7 +620,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/sourcemap-codec@^1.4.10": +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== @@ -1501,47 +1501,46 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== -"@rollup/plugin-commonjs@^22.0.2": - version "22.0.2" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.2.tgz#ee8ca8415cda30d383b4096aad5222435b4b69b6" - integrity sha512-//NdP6iIwPbMTcazYsiBMbJW7gfmpHom33u1beiIoHDEM0Q9clvtQB1T0efvMqHeKsGohiHo97BCPCkBXdscwg== +"@rollup/plugin-commonjs@^24.0.0": + version "24.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.0.tgz#fb7cf4a6029f07ec42b25daa535c75b05a43f75c" + integrity sha512-0w0wyykzdyRRPHOb0cQt14mIBLujfAv6GgP6g8nvg/iBxEm112t3YPPq+Buqe2+imvElTka+bjNlJ/gB56TD8g== dependencies: - "@rollup/pluginutils" "^3.1.0" + "@rollup/pluginutils" "^5.0.1" commondir "^1.0.1" - estree-walker "^2.0.1" - glob "^7.1.6" - is-reference "^1.2.1" - magic-string "^0.25.7" - resolve "^1.17.0" + estree-walker "^2.0.2" + glob "^8.0.3" + is-reference "1.2.1" + magic-string "^0.27.0" -"@rollup/plugin-node-resolve@^13.3.0": - version "13.3.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz#da1c5c5ce8316cef96a2f823d111c1e4e498801c" - integrity sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw== +"@rollup/plugin-node-resolve@^15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.1.tgz#72be449b8e06f6367168d5b3cd5e2802e0248971" + integrity sha512-ReY88T7JhJjeRVbfCyNj+NXAG3IIsVMsX9b5/9jC98dRP8/yxlZdz7mHZbHk5zHr24wZZICS5AcXsFZAXYUQEg== dependencies: - "@rollup/pluginutils" "^3.1.0" - "@types/resolve" "1.17.1" + "@rollup/pluginutils" "^5.0.1" + "@types/resolve" "1.20.2" deepmerge "^4.2.2" - is-builtin-module "^3.1.0" + is-builtin-module "^3.2.0" is-module "^1.0.0" - resolve "^1.19.0" + resolve "^1.22.1" -"@rollup/plugin-typescript@^8.5.0": - version "8.5.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-8.5.0.tgz#7ea11599a15b0a30fa7ea69ce3b791d41b862515" - integrity sha512-wMv1/scv0m/rXx21wD2IsBbJFba8wGF3ErJIr6IKRfRj49S85Lszbxb4DCo8iILpluTjk2GAAu9CoZt4G3ppgQ== +"@rollup/plugin-typescript@^11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-11.0.0.tgz#f136272d1df5209daca0cb6f171c574b1d505545" + integrity sha512-goPyCWBiimk1iJgSTgsehFD5OOFHiAknrRJjqFCudcW8JtWiBlK284Xnn4flqMqg6YAjVG/EE+3aVzrL5qNSzQ== dependencies: - "@rollup/pluginutils" "^3.1.0" - resolve "^1.17.0" + "@rollup/pluginutils" "^5.0.1" + resolve "^1.22.1" -"@rollup/pluginutils@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b" - integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== +"@rollup/pluginutils@^5.0.1": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" + integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== dependencies: - "@types/estree" "0.0.39" - estree-walker "^1.0.1" - picomatch "^2.2.2" + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^2.3.1" "@sinclair/typebox@^0.24.1": version "0.24.42" @@ -1612,16 +1611,11 @@ dependencies: "@types/ms" "*" -"@types/estree@*": +"@types/estree@*", "@types/estree@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== -"@types/estree@0.0.39": - version "0.0.39" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" - integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - "@types/fs-extra@^9.0.13": version "9.0.13" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45" @@ -1758,12 +1752,10 @@ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== -"@types/resolve@1.17.1": - version "1.17.1" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6" - integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== - dependencies: - "@types/node" "*" +"@types/resolve@1.20.2": + version "1.20.2" + resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" + integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q== "@types/stack-utils@^2.0.0": version "2.0.1" @@ -2659,6 +2651,13 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" @@ -3793,12 +3792,7 @@ estree-walker@^0.6.1: resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== -estree-walker@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" - integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== - -estree-walker@^2.0.1, estree-walker@^2.0.2: +estree-walker@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== @@ -4226,6 +4220,17 @@ glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^8.0.3: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -4604,7 +4609,7 @@ is-boolean-object@^1.1.0: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-builtin-module@^3.1.0: +is-builtin-module@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-3.2.0.tgz#bb0310dfe881f144ca83f30100ceb10cf58835e0" integrity sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw== @@ -4748,7 +4753,7 @@ is-promise@^2.0.0: resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== -is-reference@^1.2.1: +is-reference@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7" integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== @@ -5607,6 +5612,13 @@ magic-string@^0.25.7: dependencies: sourcemap-codec "^1.4.8" +magic-string@^0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3" + integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.13" + make-dir@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" @@ -5797,6 +5809,13 @@ minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: dependencies: brace-expansion "^1.1.7" +minimatch@^5.0.1: + version "5.1.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.4.tgz#4e2d39d872684e97b309a9104251c3f1aa4e9d1c" + integrity sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -6528,7 +6547,7 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.2, picomatch@^2.2.3, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -7087,7 +7106,7 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.10.0, resolve@^1.15.1, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0: +resolve@^1.10.0, resolve@^1.15.1, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -7156,13 +7175,20 @@ rollup-pluginutils@^2.8.2: optionalDependencies: fsevents "~2.3.2" -rollup@^2.70.1, rollup@^2.79.0: +rollup@^2.70.1: version "2.79.0" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.0.tgz#9177992c9f09eb58c5e56cbfa641607a12b57ce2" integrity sha512-x4KsrCgwQ7ZJPcFA/SUu6QVcYlO7uRLfLAy0DSA4NS2eG8japdbpM50ToH7z4iObodRYOJ0soneF0iaQRJ6zhA== optionalDependencies: fsevents "~2.3.2" +rollup@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.10.0.tgz#6eb19196d8b3b375ca651cb78261faac48e24cd6" + integrity sha512-JmRYz44NjC1MjVF2VKxc0M1a97vn+cDxeqWmnwyAF4FvpjK8YFdHpaqvQB+3IxCvX05vJxKZkoMDU8TShhmJVA== + optionalDependencies: + fsevents "~2.3.2" + run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" From 32ed8c2bdd42ae5b0dc3fb382feef50f0e15a15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 00:55:10 +0100 Subject: [PATCH 005/302] docs: update API documentation --- packages/docs/api/form/CFormCheck.api.md | 8 ++++---- packages/docs/api/form/CFormInput.api.md | 10 +++++----- packages/docs/api/form/CFormRange.api.md | 8 ++++---- packages/docs/api/form/CFormSelect.api.md | 8 ++++---- packages/docs/api/form/CFormSwitch.api.md | 8 ++++---- packages/docs/api/form/CFormTextarea.api.md | 10 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/packages/docs/api/form/CFormCheck.api.md b/packages/docs/api/form/CFormCheck.api.md index 3a3488b4..34035a8f 100644 --- a/packages/docs/api/form/CFormCheck.api.md +++ b/packages/docs/api/form/CFormCheck.api.md @@ -27,7 +27,7 @@ import CFormCheck from '@coreui/vue/src/components/form/CFormCheck' #### Events -| Event name | Description | Properties | -| ---------------------- | ----------------------------------------------------- | ---------- | -| **change** | Event occurs when the checked value has been changed. | -| **update-model-value** | Emit the new value whenever there’s a change event. | +| Event name | Description | Properties | +| --------------------- | ----------------------------------------------------- | ---------- | +| **change** | Event occurs when the checked value has been changed. | +| **update:modelValue** | Emit the new value whenever there’s a change event. | diff --git a/packages/docs/api/form/CFormInput.api.md b/packages/docs/api/form/CFormInput.api.md index b64db069..0fa98532 100644 --- a/packages/docs/api/form/CFormInput.api.md +++ b/packages/docs/api/form/CFormInput.api.md @@ -29,8 +29,8 @@ import CFormInput from '@coreui/vue/src/components/form/CFormInput' #### Events -| Event name | Description | Properties | -| ---------------------- | ------------------------------------------------------------------------------ | ---------- | -| **change** | Event occurs when the element loses focus, after the content has been changed. | -| **input** | Event occurs immediately after the value of a component has changed. | -| **update-model-value** | Emit the new value whenever there’s an input or change event. | +| Event name | Description | Properties | +| --------------------- | ------------------------------------------------------------------------------ | ---------- | +| **change** | Event occurs when the element loses focus, after the content has been changed. | +| **input** | Event occurs immediately after the value of a component has changed. | +| **update:modelValue** | Emit the new value whenever there’s an input or change event. | diff --git a/packages/docs/api/form/CFormRange.api.md b/packages/docs/api/form/CFormRange.api.md index 05eb187d..d2e1bd67 100644 --- a/packages/docs/api/form/CFormRange.api.md +++ b/packages/docs/api/form/CFormRange.api.md @@ -21,7 +21,7 @@ import CFormRange from '@coreui/vue/src/components/form/CFormRange' #### Events -| Event name | Description | Properties | -| ---------------------- | --------------------------------------------------- | ---------- | -| **change** | Event occurs when the value has been changed. | -| **update-model-value** | Emit the new value whenever there’s a change event. | +| Event name | Description | Properties | +| --------------------- | --------------------------------------------------- | ---------- | +| **change** | Event occurs when the value has been changed. | +| **update:modelValue** | Emit the new value whenever there’s a change event. | diff --git a/packages/docs/api/form/CFormSelect.api.md b/packages/docs/api/form/CFormSelect.api.md index 8ddf5f19..d67ebe75 100644 --- a/packages/docs/api/form/CFormSelect.api.md +++ b/packages/docs/api/form/CFormSelect.api.md @@ -27,7 +27,7 @@ import CFormSelect from '@coreui/vue/src/components/form/CFormSelect' #### Events -| Event name | Description | Properties | -| ---------------------- | ---------------------------------------------------------------------------------- | ---------- | -| **change** | Event occurs when when a user changes the selected option of a `` element. | +| **update:modelValue** | Emit the new value whenever there’s a change event. | diff --git a/packages/docs/api/form/CFormSwitch.api.md b/packages/docs/api/form/CFormSwitch.api.md index 373b2619..5d159008 100644 --- a/packages/docs/api/form/CFormSwitch.api.md +++ b/packages/docs/api/form/CFormSwitch.api.md @@ -20,7 +20,7 @@ import CFormSwitch from '@coreui/vue/src/components/form/CFormSwitch' #### Events -| Event name | Description | Properties | -| ---------------------- | ----------------------------------------------------- | ---------- | -| **change** | Event occurs when the checked value has been changed. | -| **update-model-value** | Emit the new value whenever there’s a change event. | +| Event name | Description | Properties | +| --------------------- | ----------------------------------------------------- | ---------- | +| **change** | Event occurs when the checked value has been changed. | +| **update:modelValue** | Emit the new value whenever there’s a change event. | diff --git a/packages/docs/api/form/CFormTextarea.api.md b/packages/docs/api/form/CFormTextarea.api.md index c89b2b8a..62fa25a8 100644 --- a/packages/docs/api/form/CFormTextarea.api.md +++ b/packages/docs/api/form/CFormTextarea.api.md @@ -27,8 +27,8 @@ import CFormTextarea from '@coreui/vue/src/components/form/CFormTextarea' #### Events -| Event name | Description | Properties | -| ---------------------- | ------------------------------------------------------------------------------ | ---------- | -| **change** | Event occurs when the element loses focus, after the content has been changed. | -| **input** | Event occurs immediately after the value of a component has changed. | -| **update-model-value** | Emit the new value whenever there’s an input or change event. | +| Event name | Description | Properties | +| --------------------- | ------------------------------------------------------------------------------ | ---------- | +| **change** | Event occurs when the element loses focus, after the content has been changed. | +| **input** | Event occurs immediately after the value of a component has changed. | +| **update:modelValue** | Emit the new value whenever there’s an input or change event. | From c17453fc58b8c6b993abe68d67354fa399dafb45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 00:58:20 +0100 Subject: [PATCH 006/302] refactor(CTableCaption): remove empty props object --- packages/coreui-vue/src/components/table/CTableCaption.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/coreui-vue/src/components/table/CTableCaption.ts b/packages/coreui-vue/src/components/table/CTableCaption.ts index 11322222..ef069990 100644 --- a/packages/coreui-vue/src/components/table/CTableCaption.ts +++ b/packages/coreui-vue/src/components/table/CTableCaption.ts @@ -2,7 +2,6 @@ import { defineComponent, h } from 'vue' const CTableCaption = defineComponent({ name: 'CTableCaption', - props: {}, setup(_, { slots }) { return () => h('caption', {}, slots.default && slots.default()) }, From d0ae644228aa0fd16ae691643586fc40406bc2a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 00:59:39 +0100 Subject: [PATCH 007/302] chore: update dependencies and devDependencies --- package.json | 14 +- packages/coreui-vue-chartjs/package.json | 10 +- packages/coreui-vue/package.json | 10 +- packages/docs/package.json | 4 +- yarn.lock | 338 ++++++++++++++++++----- 5 files changed, 285 insertions(+), 91 deletions(-) diff --git a/package.json b/package.json index 7676447a..39bbc4f5 100644 --- a/package.json +++ b/package.json @@ -21,20 +21,20 @@ }, "devDependencies": { "@types/jest": "^28.1.8", - "@typescript-eslint/eslint-plugin": "^5.37.0", - "@typescript-eslint/parser": "^5.37.0", - "@vue/compiler-sfc": "^3.2.39", + "@typescript-eslint/eslint-plugin": "^5.28.2", + "@typescript-eslint/parser": "^5.28.2", + "@vue/compiler-sfc": "^3.2.45", "@vue/eslint-config-prettier": "^7.0.0", - "@vue/eslint-config-typescript": "^11.0.1", + "@vue/eslint-config-typescript": "^11.0.2", "@vue/vue3-jest": "28.0.1", - "eslint": "8.23.1", + "eslint": "8.32.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-vue": "^9.5.1", + "eslint-plugin-vue": "^9.9.0", "jest": "^28.1.3", "jest-canvas-mock": "^2.4.0", "jest-environment-jsdom": "^28.1.3", "lerna": "^4.0.0", - "prettier": "^2.7.1", + "prettier": "^2.8.3", "ts-jest": "^28.0.8" } } diff --git a/packages/coreui-vue-chartjs/package.json b/packages/coreui-vue-chartjs/package.json index d55302e3..ccc02f72 100644 --- a/packages/coreui-vue-chartjs/package.json +++ b/packages/coreui-vue-chartjs/package.json @@ -39,16 +39,16 @@ "@rollup/plugin-commonjs": "^24.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", - "@types/lodash": "^4.14.185", - "@vue/test-utils": "^2.0.2", + "@types/lodash": "^4.14.191", + "@vue/test-utils": "^2.2.7", "chart.js": "^3.8.2", "lodash": "^4.17.21", "rollup": "^3.10.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-vue": "^6.0.0", - "typescript": "^4.8.3", - "vue": "^3.2.39", - "vue-types": "^4.2.1" + "typescript": "^4.9.4", + "vue": "^3.2.45", + "vue-types": "^5.0.2" }, "peerDependencies": { "@coreui/chartjs": "^3.0.0", diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index b8faeabf..67830c77 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -41,15 +41,15 @@ "@rollup/plugin-commonjs": "^24.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", - "@vue/test-utils": "^2.0.2", + "@vue/test-utils": "^2.2.7", "rollup": "^3.10.0", "rollup-plugin-vue": "^6.0.0", - "typescript": "^4.8.3", - "vue": "^3.2.39", - "vue-types": "^4.2.1" + "typescript": "^4.9.4", + "vue": "^3.2.45", + "vue-types": "^5.0.2" }, "peerDependencies": { - "@coreui/coreui": "^4.2.2", + "@coreui/coreui": "^4.2.6", "vue": "^3.2.21" }, "standard": { diff --git a/packages/docs/package.json b/packages/docs/package.json index 1dfd7deb..a4fbfd39 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -12,13 +12,13 @@ "license": "MIT", "devDependencies": { "@coreui/chartjs": "^3.0.0", - "@coreui/coreui": "^4.2.2", + "@coreui/coreui": "^4.2.6", "@coreui/icons": "^2.1.0", "@coreui/icons-vue": "^2.0.0", "@coreui/vue-chartjs": "^2.0.1", "@vuepress/plugin-toc": "2.0.0-beta.38", "markdown-it-include": "^2.0.0", - "vue-docgen-cli": "^4.45.0", + "vue-docgen-cli": "^4.56.1", "vuepress": "2.0.0-beta.38" } } diff --git a/yarn.lock b/yarn.lock index 4c6bbc99..478578a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -313,10 +313,10 @@ resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.0.tgz#52ebe0197411a829ba48057ade61923e05859eec" integrity sha512-8vH6fJrmvCR/Oy5v0E+/1AL3Ygb4jhQ7NXK2fMYWJyK13BePDm9muB3y6S0IdqkpBwjY3hHVwHyt2lJqJdesmQ== -"@coreui/coreui@^4.2.2": - version "4.2.2" - resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.2.2.tgz#9702c1bec21ffd03415598aedf1ee58b752b3e1e" - integrity sha512-aPL7Rv98CBkIU4y7wmZOUBHuBN2qwRS3CFeWmUV3kPeGiPQe9FG4+kOtcITbttNQ35HVMSZeauJyoy2LSM0ygA== +"@coreui/coreui@^4.2.6": + version "4.2.6" + resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.2.6.tgz#8ae8aa4c834552328c5748385be5bc33df86aab7" + integrity sha512-h9j1BVnaDi9vSr1t0H8NL3hlDD4lU9kIdGLXn7g9k5iaFq5EDlRDcSBDer6lR2O4sIEl7W7YqTlevLxFC+1cIA== dependencies: postcss-combine-duplicated-selectors "^10.0.3" @@ -335,15 +335,15 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028" integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw== -"@eslint/eslintrc@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.2.tgz#58b69582f3b7271d8fa67fe5251767a5b38ea356" - integrity sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ== +"@eslint/eslintrc@^1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e" + integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA== dependencies: ajv "^6.12.4" debug "^4.3.2" espree "^9.4.0" - globals "^13.15.0" + globals "^13.19.0" ignore "^5.2.0" import-fresh "^3.2.1" js-yaml "^4.1.0" @@ -355,19 +355,14 @@ resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== -"@humanwhocodes/config-array@^0.10.4": - version "0.10.4" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" - integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw== +"@humanwhocodes/config-array@^0.11.8": + version "0.11.8" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" + integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== dependencies: "@humanwhocodes/object-schema" "^1.2.1" debug "^4.1.1" - minimatch "^3.0.4" - -"@humanwhocodes/gitignore-to-minimatch@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" - integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== + minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" @@ -1317,7 +1312,7 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@nodelib/fs.walk@^1.2.3": +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": version "1.2.8" resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== @@ -1689,10 +1684,10 @@ resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== -"@types/lodash@^4.14.185": - version "4.14.185" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.185.tgz#c9843f5a40703a8f5edfd53358a58ae729816908" - integrity sha512-evMDG1bC4rgQg4ku9tKpuMh5iBNEwNa3tf9zRHdP1qlv+1WUg44xat4IxCE14gIpZRGUUWAx2VhItCZc25NfMA== +"@types/lodash@^4.14.191": + version "4.14.191" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa" + integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ== "@types/markdown-it@^12.2.3": version "12.2.3" @@ -1757,6 +1752,11 @@ resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q== +"@types/semver@^7.3.12": + version "7.3.13" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" + integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== + "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" @@ -1794,7 +1794,7 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.0.0", "@typescript-eslint/eslint-plugin@^5.37.0": +"@typescript-eslint/eslint-plugin@^5.0.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.37.0.tgz#5ccdd5d9004120f28fc6e717fb4b5c9bddcfbc04" integrity sha512-Fde6W0IafXktz1UlnhGkrrmnnGpAo1kyX7dnyHHVrmwJOn72Oqm3eYtddrpOwwel2W8PAK9F3pIL5S+lfoM0og== @@ -1809,7 +1809,22 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.37.0": +"@typescript-eslint/eslint-plugin@^5.28.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.2.tgz#112e6ae1e23a1dc8333ce82bb9c65c2608b4d8a3" + integrity sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg== + dependencies: + "@typescript-eslint/scope-manager" "5.48.2" + "@typescript-eslint/type-utils" "5.48.2" + "@typescript-eslint/utils" "5.48.2" + debug "^4.3.4" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + regexpp "^3.2.0" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/parser@^5.0.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.37.0.tgz#c382077973f3a4ede7453fb14cadcad3970cbf3b" integrity sha512-01VzI/ipYKuaG5PkE5+qyJ6m02fVALmMPY3Qq5BHflDx3y4VobbLdHQkSMg9VPRS4KdNt4oYTMaomFoHonBGAw== @@ -1819,6 +1834,16 @@ "@typescript-eslint/typescript-estree" "5.37.0" debug "^4.3.4" +"@typescript-eslint/parser@^5.28.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.2.tgz#c9edef2a0922d26a37dba03be20c5fff378313b3" + integrity sha512-38zMsKsG2sIuM5Oi/olurGwYJXzmtdsHhn5mI/pQogP+BjYVkK5iRazCQ8RGS0V+YLk282uWElN70zAAUmaYHw== + dependencies: + "@typescript-eslint/scope-manager" "5.48.2" + "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/typescript-estree" "5.48.2" + debug "^4.3.4" + "@typescript-eslint/scope-manager@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.37.0.tgz#044980e4f1516a774a418dafe701a483a6c9f9ca" @@ -1827,6 +1852,14 @@ "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" +"@typescript-eslint/scope-manager@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.2.tgz#bb7676cb78f1e94921eaab637a4b5d596f838abc" + integrity sha512-zEUFfonQid5KRDKoI3O+uP1GnrFd4tIHlvs+sTJXiWuypUWMuDaottkJuR612wQfOkjYbsaskSIURV9xo4f+Fw== + dependencies: + "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/visitor-keys" "5.48.2" + "@typescript-eslint/type-utils@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.37.0.tgz#43ed2f567ada49d7e33a6e4b6f9babd060445fe5" @@ -1837,11 +1870,26 @@ debug "^4.3.4" tsutils "^3.21.0" +"@typescript-eslint/type-utils@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.2.tgz#7d3aeca9fa37a7ab7e3d9056a99b42f342c48ad7" + integrity sha512-QVWx7J5sPMRiOMJp5dYshPxABRoZV1xbRirqSk8yuIIsu0nvMTZesKErEA3Oix1k+uvsk8Cs8TGJ6kQ0ndAcew== + dependencies: + "@typescript-eslint/typescript-estree" "5.48.2" + "@typescript-eslint/utils" "5.48.2" + debug "^4.3.4" + tsutils "^3.21.0" + "@typescript-eslint/types@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== +"@typescript-eslint/types@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.2.tgz#635706abb1ec164137f92148f06f794438c97b8e" + integrity sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA== + "@typescript-eslint/typescript-estree@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.37.0.tgz#956dcf5c98363bcb97bdd5463a0a86072ff79355" @@ -1855,6 +1903,19 @@ semver "^7.3.7" tsutils "^3.21.0" +"@typescript-eslint/typescript-estree@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz#6e206b462942b32383582a6c9251c05021cc21b0" + integrity sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg== + dependencies: + "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/visitor-keys" "5.48.2" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + "@typescript-eslint/utils@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.37.0.tgz#7784cb8e91390c4f90ccaffd24a0cf9874df81b2" @@ -1867,6 +1928,20 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" +"@typescript-eslint/utils@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.2.tgz#3777a91dcb22b8499a25519e06eef2e9569295a3" + integrity sha512-2h18c0d7jgkw6tdKTlNaM7wyopbLRBiit8oAxoP89YnuBOzCZ8g8aBCaCqq7h208qUTroL7Whgzam7UY3HVLow== + dependencies: + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.48.2" + "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/typescript-estree" "5.48.2" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + semver "^7.3.7" + "@typescript-eslint/visitor-keys@5.37.0": version "5.37.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.37.0.tgz#7b72dd343295ea11e89b624995abc7103c554eee" @@ -1875,6 +1950,14 @@ "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" +"@typescript-eslint/visitor-keys@5.48.2": + version "5.48.2" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz#c247582a0bcce467461d7b696513bf9455000060" + integrity sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ== + dependencies: + "@typescript-eslint/types" "5.48.2" + eslint-visitor-keys "^3.3.0" + "@vitejs/plugin-vue@^2.3.1": version "2.3.4" resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-2.3.4.tgz#966a6279060eb2d9d1a02ea1a331af071afdcf9e" @@ -1890,6 +1973,16 @@ estree-walker "^2.0.2" source-map "^0.6.1" +"@vue/compiler-core@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.45.tgz#d9311207d96f6ebd5f4660be129fb99f01ddb41b" + integrity sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/shared" "3.2.45" + estree-walker "^2.0.2" + source-map "^0.6.1" + "@vue/compiler-dom@3.2.39", "@vue/compiler-dom@^3.2.0": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.39.tgz#bd69d35c1a48fe2cea4ab9e96d2a3a735d146fdf" @@ -1898,7 +1991,15 @@ "@vue/compiler-core" "3.2.39" "@vue/shared" "3.2.39" -"@vue/compiler-sfc@3.2.39", "@vue/compiler-sfc@^3.2.0", "@vue/compiler-sfc@^3.2.31", "@vue/compiler-sfc@^3.2.39": +"@vue/compiler-dom@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.45.tgz#c43cc15e50da62ecc16a42f2622d25dc5fd97dce" + integrity sha512-tyYeUEuKqqZO137WrZkpwfPCdiiIeXYCcJ8L4gWz9vqaxzIQRccTSwSWZ/Axx5YR2z+LvpUbmPNXxuBU45lyRw== + dependencies: + "@vue/compiler-core" "3.2.45" + "@vue/shared" "3.2.45" + +"@vue/compiler-sfc@3.2.39", "@vue/compiler-sfc@^3.2.0", "@vue/compiler-sfc@^3.2.31": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.39.tgz#8fe29990f672805b7c5a2ecfa5b05e681c862ea2" integrity sha512-fqAQgFs1/BxTUZkd0Vakn3teKUt//J3c420BgnYgEOoVdTwYpBTSXCMJ88GOBCylmUBbtquGPli9tVs7LzsWIA== @@ -1914,6 +2015,22 @@ postcss "^8.1.10" source-map "^0.6.1" +"@vue/compiler-sfc@3.2.45", "@vue/compiler-sfc@^3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.45.tgz#7f7989cc04ec9e7c55acd406827a2c4e96872c70" + integrity sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.45" + "@vue/compiler-dom" "3.2.45" + "@vue/compiler-ssr" "3.2.45" + "@vue/reactivity-transform" "3.2.45" + "@vue/shared" "3.2.45" + estree-walker "^2.0.2" + magic-string "^0.25.7" + postcss "^8.1.10" + source-map "^0.6.1" + "@vue/compiler-ssr@3.2.39": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.39.tgz#4f3bfb535cb98b764bee45e078700e03ccc60633" @@ -1922,6 +2039,14 @@ "@vue/compiler-dom" "3.2.39" "@vue/shared" "3.2.39" +"@vue/compiler-ssr@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.45.tgz#bd20604b6e64ea15344d5b6278c4141191c983b2" + integrity sha512-6BRaggEGqhWht3lt24CrIbQSRD5O07MTmd+LjAn5fJj568+R9eUD2F7wMQJjX859seSlrYog7sUtrZSd7feqrQ== + dependencies: + "@vue/compiler-dom" "3.2.45" + "@vue/shared" "3.2.45" + "@vue/devtools-api@^6.1.4": version "6.2.1" resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.2.1.tgz#6f2948ff002ec46df01420dfeff91de16c5b4092" @@ -1935,10 +2060,10 @@ eslint-config-prettier "^8.3.0" eslint-plugin-prettier "^4.0.0" -"@vue/eslint-config-typescript@^11.0.1": - version "11.0.1" - resolved "https://registry.yarnpkg.com/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.1.tgz#d79b3656aecea844ec9875bc93155163f684dde7" - integrity sha512-0U+nL0nA7ahnGPk3rTN49x76miUwuQtQPQNWOFvAcjg6nFJkIkA8qbGNtXwsuHtwBwRtWpHhShL3zK07v+632w== +"@vue/eslint-config-typescript@^11.0.2": + version "11.0.2" + resolved "https://registry.yarnpkg.com/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.2.tgz#03353f404d4472900794e653450bb6623de3c642" + integrity sha512-EiKud1NqlWmSapBFkeSrE994qpKx7/27uCGnhdqzllYDpQZroyX/O6bwjEpeuyKamvLbsGdO6PMR2faIf+zFnw== dependencies: "@typescript-eslint/eslint-plugin" "^5.0.0" "@typescript-eslint/parser" "^5.0.0" @@ -1955,6 +2080,17 @@ estree-walker "^2.0.2" magic-string "^0.25.7" +"@vue/reactivity-transform@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.45.tgz#07ac83b8138550c83dfb50db43cde1e0e5e8124d" + integrity sha512-BHVmzYAvM7vcU5WmuYqXpwaBHjsS8T63jlKGWVtHxAHIoMIlmaMyurUSEs1Zcg46M4AYT5MtB1U274/2aNzjJQ== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.45" + "@vue/shared" "3.2.45" + estree-walker "^2.0.2" + magic-string "^0.25.7" + "@vue/reactivity@3.2.39": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.39.tgz#e6e3615fe2288d4232b104640ddabd0729a78c80" @@ -1962,6 +2098,13 @@ dependencies: "@vue/shared" "3.2.39" +"@vue/reactivity@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.45.tgz#412a45b574de601be5a4a5d9a8cbd4dee4662ff0" + integrity sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A== + dependencies: + "@vue/shared" "3.2.45" + "@vue/runtime-core@3.2.39": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.39.tgz#dc1faccab11b3e81197aba33fb30c9447c1d2c84" @@ -1970,6 +2113,14 @@ "@vue/reactivity" "3.2.39" "@vue/shared" "3.2.39" +"@vue/runtime-core@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.45.tgz#7ad7ef9b2519d41062a30c6fa001ec43ac549c7f" + integrity sha512-gzJiTA3f74cgARptqzYswmoQx0fIA+gGYBfokYVhF8YSXjWTUA2SngRzZRku2HbGbjzB6LBYSbKGIaK8IW+s0A== + dependencies: + "@vue/reactivity" "3.2.45" + "@vue/shared" "3.2.45" + "@vue/runtime-dom@3.2.39": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.39.tgz#4a8cb132bcef316e8151c5ed07fc7272eb064614" @@ -1979,6 +2130,15 @@ "@vue/shared" "3.2.39" csstype "^2.6.8" +"@vue/runtime-dom@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.45.tgz#1a2ef6ee2ad876206fbbe2a884554bba2d0faf59" + integrity sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA== + dependencies: + "@vue/runtime-core" "3.2.45" + "@vue/shared" "3.2.45" + csstype "^2.6.8" + "@vue/server-renderer@3.2.39", "@vue/server-renderer@^3.2.31": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.39.tgz#4358292d925233b0d8b54cf0513eaece8b2351c5" @@ -1987,15 +2147,28 @@ "@vue/compiler-ssr" "3.2.39" "@vue/shared" "3.2.39" +"@vue/server-renderer@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.45.tgz#ca9306a0c12b0530a1a250e44f4a0abac6b81f3f" + integrity sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g== + dependencies: + "@vue/compiler-ssr" "3.2.45" + "@vue/shared" "3.2.45" + "@vue/shared@3.2.39", "@vue/shared@^3.2.31": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.39.tgz#302df167559a1a5156da162d8cc6760cef67f8e3" integrity sha512-D3dl2ZB9qE6mTuWPk9RlhDeP1dgNRUKC3NJxji74A4yL8M2MwlhLKUC/49WHjrNzSPug58fWx/yFbaTzGAQSBw== -"@vue/test-utils@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.2.tgz#0b5edd683366153d5bc5a91edc62f292118710eb" - integrity sha512-E2P4oXSaWDqTZNbmKZFVLrNN/siVN78YkEqs7pHryWerrlZR9bBFLWdJwRoguX45Ru6HxIflzKl4vQvwRMwm5g== +"@vue/shared@3.2.45": + version "3.2.45" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.45.tgz#a3fffa7489eafff38d984e23d0236e230c818bc2" + integrity sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg== + +"@vue/test-utils@^2.2.7": + version "2.2.7" + resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.2.7.tgz#0d93d635031a4cca2de70b825aef3fe20a41e702" + integrity sha512-BMuoruUFTEqhLoOgsMcgNVMiByYbfHCKGr2C4CPdGtz/affUtDVX5zr1RnPuq0tYSiaqq+Enw5voUpG6JY8Q7g== "@vue/vue3-jest@28.0.1": version "28.0.1" @@ -3658,10 +3831,10 @@ eslint-plugin-prettier@^4.0.0, eslint-plugin-prettier@^4.2.1: dependencies: prettier-linter-helpers "^1.0.0" -eslint-plugin-vue@^9.5.1: - version "9.5.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.5.1.tgz#87ce075882cf7d824b95f46c224f91495fafcc54" - integrity sha512-Y0sL2RY7Xc9S8kNih9lbwHIDmewUg9bfas6WSzsOWRgDXhIHKxRBZYNAnVcXBFfE+bMWHUA5GLChl7TcTYUI8w== +eslint-plugin-vue@^9.9.0: + version "9.9.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.9.0.tgz#ac788ebccd2eb94d846a507df55da50693b80c91" + integrity sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ== dependencies: eslint-utils "^3.0.0" natural-compare "^1.4.0" @@ -3704,15 +3877,15 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@8.23.1: - version "8.23.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.23.1.tgz#cfd7b3f7fdd07db8d16b4ac0516a29c8d8dca5dc" - integrity sha512-w7C1IXCc6fNqjpuYd0yPlcTKKmHlHHktRkzmBPZ+7cvNBQuiNjx0xaMTjAJGCafJhQkrFJooREv0CtrVzmHwqg== +eslint@8.32.0: + version "8.32.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.32.0.tgz#d9690056bb6f1a302bd991e7090f5b68fbaea861" + integrity sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ== dependencies: - "@eslint/eslintrc" "^1.3.2" - "@humanwhocodes/config-array" "^0.10.4" - "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" + "@eslint/eslintrc" "^1.4.1" + "@humanwhocodes/config-array" "^0.11.8" "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" @@ -3728,14 +3901,14 @@ eslint@8.23.1: fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" find-up "^5.0.0" - glob-parent "^6.0.1" - globals "^13.15.0" - globby "^11.1.0" + glob-parent "^6.0.2" + globals "^13.19.0" grapheme-splitter "^1.0.4" ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" + is-path-inside "^3.0.3" js-sdsl "^4.1.4" js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" @@ -4201,7 +4374,7 @@ glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.1: +glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== @@ -4236,10 +4409,10 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.15.0: - version "13.17.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.17.0.tgz#902eb1e680a41da93945adbdcb5a9f361ba69bd4" - integrity sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw== +globals@^13.19.0: + version "13.19.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.19.0.tgz#7a42de8e6ad4f7242fbcca27ea5b23aca367b5c8" + integrity sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ== dependencies: type-fest "^0.20.2" @@ -4721,6 +4894,11 @@ is-obj@^2.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -5802,7 +5980,7 @@ min-indent@^1.0.0: resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== -minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -5971,6 +6149,11 @@ nanoid@^3.3.4: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -6642,10 +6825,10 @@ prettier@^1.19.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== -prettier@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" - integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +prettier@^2.8.3: + version "2.8.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" + integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== pretty-format@^28.0.0, pretty-format@^28.1.3: version "28.1.3" @@ -7927,10 +8110,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.8.3: - version "4.8.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" - integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== +typescript@^4.9.4: + version "4.9.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" + integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" @@ -8108,10 +8291,10 @@ vue-docgen-api@^4.45.0: ts-map "^1.0.3" vue-inbrowser-compiler-independent-utils "^4.52.0" -vue-docgen-cli@^4.45.0: - version "4.51.0" - resolved "https://registry.yarnpkg.com/vue-docgen-cli/-/vue-docgen-cli-4.51.0.tgz#84fd5b0412fb3abbff5ca5f4283cab8d397fc464" - integrity sha512-w9IzAT2cwSRrnT9Hq48YerIHbd5g1MhWQEGuQw4h699yUoTlmBW/RGZ5y/IBZ1noKVIW9j77q6zyyrjJh29Tpw== +vue-docgen-cli@^4.56.1: + version "4.56.1" + resolved "https://registry.yarnpkg.com/vue-docgen-cli/-/vue-docgen-cli-4.56.1.tgz#bd226a6a078cedec8b6b6f6dc3828ab03e57a88e" + integrity sha512-JwZ/6UBDvhRjK3VEm7SAYrr7DE67+2iknH12j5TpP83nQFRgd6gLkciG1ge5xV3Q83IIzsA8NncY5sE29DwHYQ== dependencies: chokidar "^3.5.1" globby "^10.0.2" @@ -8146,14 +8329,14 @@ vue-router@^4.0.14: dependencies: "@vue/devtools-api" "^6.1.4" -vue-types@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/vue-types/-/vue-types-4.2.1.tgz#f8f7e5fb42d4a6acda6d92c9736b510e5534c753" - integrity sha512-DNQZmJuOvovLUIp0BENRkdnZHbI0V4e2mNvjAZOAXKD56YGvRchtUYOXA/XqTxdv7Ng5SJLZqRKRpAhm5NLaPQ== +vue-types@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/vue-types/-/vue-types-5.0.2.tgz#d04966bd416510db878f23030014f424a2e6378e" + integrity sha512-+/5hnQ65XOYqPs+tEUF8GGTJX95UFVH0wPQo71IJJYh5TKMfik2tGKTLkZ42JqAczANA9hGu5FrZmPgxn20nnA== dependencies: is-plain-object "5.0.0" -vue@^3.2.31, vue@^3.2.39: +vue@^3.2.31: version "3.2.39" resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.39.tgz#de071c56c4c32c41cbd54e55f11404295c0dd62d" integrity sha512-tRkguhRTw9NmIPXhzk21YFBqXHT2t+6C6wPOgQ50fcFVWnPdetmRqbmySRHznrYjX2E47u0cGlKGcxKZJ38R/g== @@ -8164,6 +8347,17 @@ vue@^3.2.31, vue@^3.2.39: "@vue/server-renderer" "3.2.39" "@vue/shared" "3.2.39" +vue@^3.2.45: + version "3.2.45" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.45.tgz#94a116784447eb7dbd892167784619fef379b3c8" + integrity sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA== + dependencies: + "@vue/compiler-dom" "3.2.45" + "@vue/compiler-sfc" "3.2.45" + "@vue/runtime-dom" "3.2.45" + "@vue/server-renderer" "3.2.45" + "@vue/shared" "3.2.45" + vuepress-vite@2.0.0-beta.38: version "2.0.0-beta.38" resolved "https://registry.yarnpkg.com/vuepress-vite/-/vuepress-vite-2.0.0-beta.38.tgz#d1aa7badecc3686bf77ed5665614b243d8f37d6c" From f8800272f8af5fd6b549dcce4def20e8a76b2d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 01:38:35 +0100 Subject: [PATCH 008/302] feat(CFormInput, CFormSelect, CFormTextarea): add feedback support to floating labels --- .../components/form/CFormControlWrapper.ts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/packages/coreui-vue/src/components/form/CFormControlWrapper.ts b/packages/coreui-vue/src/components/form/CFormControlWrapper.ts index 579ca3ac..1f07eeb9 100644 --- a/packages/coreui-vue/src/components/form/CFormControlWrapper.ts +++ b/packages/coreui-vue/src/components/form/CFormControlWrapper.ts @@ -54,6 +54,38 @@ const CFormControlWrapper = defineComponent({ default: () => (slots.label && slots.label()) || props.label || props.floatingLabel, }, ), + (props.text || slots.text) && + h( + CFormText, + { + id: props.describedby, + }, + { + default: () => (slots.text && slots.text()) || props.text, + }, + ), + h( + CFormControlValidation, + { + describedby: props.describedby, + feedback: props.feedback, + feedbackInvalid: props.feedbackInvalid, + feedbackValid: props.feedbackValid, + floatingLabel: props.floatingLabel, + invalid: props.invalid, + tooltipFeedback: props.tooltipFeedback, + valid: props.valid, + }, + { + ...(slots.feedback && { feedback: () => slots.feedback && slots.feedback() }), + ...(slots.feedbackInvalid && { + feedbackInvalid: () => slots.feedbackInvalid && slots.feedbackInvalid(), + }), + ...(slots.feedbackValid && { + feedbackValid: () => slots.feedbackInvalid && slots.feedbackInvalid(), + }), + }, + ), ]) : [ (props.label || slots.label) && From 6730f6a3aabefa57005a18ad638b24c305d0a3e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 13:35:57 +0100 Subject: [PATCH 009/302] refactor(CFormControlWrapper): optimise duplicated code --- .../components/form/CFormControlWrapper.ts | 70 +++++++------------ 1 file changed, 26 insertions(+), 44 deletions(-) diff --git a/packages/coreui-vue/src/components/form/CFormControlWrapper.ts b/packages/coreui-vue/src/components/form/CFormControlWrapper.ts index 1f07eeb9..8392ef4a 100644 --- a/packages/coreui-vue/src/components/form/CFormControlWrapper.ts +++ b/packages/coreui-vue/src/components/form/CFormControlWrapper.ts @@ -41,6 +41,30 @@ const CFormControlWrapper = defineComponent({ }, }, setup(props, { slots }) { + const formControlValidation = () => + h( + CFormControlValidation, + { + describedby: props.describedby, + feedback: props.feedback, + feedbackInvalid: props.feedbackInvalid, + feedbackValid: props.feedbackValid, + floatingLabel: props.floatingLabel, + invalid: props.invalid, + tooltipFeedback: props.tooltipFeedback, + valid: props.valid, + }, + { + ...(slots.feedback && { feedback: () => slots.feedback && slots.feedback() }), + ...(slots.feedbackInvalid && { + feedbackInvalid: () => slots.feedbackInvalid && slots.feedbackInvalid(), + }), + ...(slots.feedbackValid && { + feedbackValid: () => slots.feedbackInvalid && slots.feedbackInvalid(), + }), + }, + ) + return () => props.floatingLabel ? h(CFormFloating, () => [ @@ -64,28 +88,7 @@ const CFormControlWrapper = defineComponent({ default: () => (slots.text && slots.text()) || props.text, }, ), - h( - CFormControlValidation, - { - describedby: props.describedby, - feedback: props.feedback, - feedbackInvalid: props.feedbackInvalid, - feedbackValid: props.feedbackValid, - floatingLabel: props.floatingLabel, - invalid: props.invalid, - tooltipFeedback: props.tooltipFeedback, - valid: props.valid, - }, - { - ...(slots.feedback && { feedback: () => slots.feedback && slots.feedback() }), - ...(slots.feedbackInvalid && { - feedbackInvalid: () => slots.feedbackInvalid && slots.feedbackInvalid(), - }), - ...(slots.feedbackValid && { - feedbackValid: () => slots.feedbackInvalid && slots.feedbackInvalid(), - }), - }, - ), + formControlValidation(), ]) : [ (props.label || slots.label) && @@ -109,28 +112,7 @@ const CFormControlWrapper = defineComponent({ default: () => (slots.text && slots.text()) || props.text, }, ), - h( - CFormControlValidation, - { - describedby: props.describedby, - feedback: props.feedback, - feedbackInvalid: props.feedbackInvalid, - feedbackValid: props.feedbackValid, - floatingLabel: props.floatingLabel, - invalid: props.invalid, - tooltipFeedback: props.tooltipFeedback, - valid: props.valid, - }, - { - ...(slots.feedback && { feedback: () => slots.feedback && slots.feedback() }), - ...(slots.feedbackInvalid && { - feedbackInvalid: () => slots.feedbackInvalid && slots.feedbackInvalid(), - }), - ...(slots.feedbackValid && { - feedbackValid: () => slots.feedbackInvalid && slots.feedbackInvalid(), - }), - }, - ), + formControlValidation(), ] }, }) From bf9be0b3d25c0c9c01afb94dab1539300b1894fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 18:04:51 +0100 Subject: [PATCH 010/302] build: update API generator --- packages/docs/build/docgen.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/build/docgen.config.js b/packages/docs/build/docgen.config.js index 76936a43..67b35dee 100644 --- a/packages/docs/build/docgen.config.js +++ b/packages/docs/build/docgen.config.js @@ -28,8 +28,8 @@ module.exports = { props: require('./templates/props'), slots: require('./templates/slots'), }, - docsRepo: 'profile/repo', - docsBranch: 'master', + docsRepo: '@coreui/vue', + docsBranch: 'main', docsFolder: '', editLinkLabel: 'Edit on github', } \ No newline at end of file From 26de0b165d74517d966526f851c2b2bb0f644a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 18:07:17 +0100 Subject: [PATCH 011/302] chore: clean-up --- packages/coreui-vue/package.json | 3 --- packages/docs/.vuepress/config.ts | 4 ++-- packages/docs/package.json | 3 --- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index 67830c77..71cb825b 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -33,9 +33,6 @@ "scripts": { "build": "rollup -c --bundleConfigAsCjs" }, - "config": { - "version_short": "4.5" - }, "devDependencies": { "@popperjs/core": "^2.11.6", "@rollup/plugin-commonjs": "^24.0.0", diff --git a/packages/docs/.vuepress/config.ts b/packages/docs/.vuepress/config.ts index d20fe34a..f530df4b 100644 --- a/packages/docs/.vuepress/config.ts +++ b/packages/docs/.vuepress/config.ts @@ -7,12 +7,12 @@ import pkg from '../package.json' const path = require('path') export default defineUserConfig({ - base: `/vue/docs/${pkg.config.version_short}/`, + base: `/vue/docs/`, lang: 'en-US', title: 'Vue UI Components · CoreUI', description: 'UI Components Library for Vue.js (Vue 3)', head: [ - ['link', { rel: 'icon', href: `/vue/docs/${pkg.config.version_short}/favicons/favicon-96x96.png` }], + ['link', { rel: 'icon', href: `/vue/docs/favicons/favicon-96x96.png` }], // ['link', { rel: 'manifest', href: '/favicons/manifest.json' }], ], extendsMarkdown: (md) => { diff --git a/packages/docs/package.json b/packages/docs/package.json index a4fbfd39..0d464d01 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,9 +1,6 @@ { "name": "@coreui/vue-docs", "version": "4.5.0", - "config": { - "version_short": "4.5" - }, "scripts": { "api": "vue-docgen -c build/docgen.config.js", "dev": "vuepress dev --clean-cache", From debf7c7c5f8f1a30a5abcc7941cc5f2f50e47d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 18:43:53 +0100 Subject: [PATCH 012/302] docs: update config --- packages/docs/.vuepress/config.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/docs/.vuepress/config.ts b/packages/docs/.vuepress/config.ts index f530df4b..0233f50c 100644 --- a/packages/docs/.vuepress/config.ts +++ b/packages/docs/.vuepress/config.ts @@ -1,10 +1,8 @@ import { defineUserConfig } from 'vuepress' -import type { DefaultThemeOptions } from 'vuepress' import { permalink } from 'markdown-it-anchor' -import pkg from '../package.json' +import { resolve } from 'node:path' -// const md = require('markdown-it')() -const path = require('path') +import type { DefaultThemeOptions } from 'vuepress' export default defineUserConfig({ base: `/vue/docs/`, @@ -71,7 +69,7 @@ export default defineUserConfig({ }, ], ], - theme: path.resolve(__dirname, './theme-coreui'), + theme: resolve(__dirname, './theme-coreui'), themeConfig: { sidebar: [ { From c8dccec29eb0092d18e538860fc3745b8c8663f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Tue, 17 Jan 2023 18:48:04 +0100 Subject: [PATCH 013/302] release: v4.6.0 --- README.md | 2 +- lerna.json | 2 +- packages/coreui-vue/package.json | 2 +- packages/docs/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2e709270..ceb59459 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.5.0.zip) +- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.6.0.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-vue.git` - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue` - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue` diff --git a/lerna.json b/lerna.json index e3154cd5..886a1436 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/*" ], "useWorkspaces": true, - "version": "4.5.0" + "version": "4.6.0" } diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index 71cb825b..3719840a 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue", - "version": "4.5.0", + "version": "4.6.0", "description": "UI Components Library for Vue.js", "keywords": [ "vue", diff --git a/packages/docs/package.json b/packages/docs/package.json index 0d464d01..151afe05 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue-docs", - "version": "4.5.0", + "version": "4.6.0", "scripts": { "api": "vue-docgen -c build/docgen.config.js", "dev": "vuepress dev --clean-cache", From 8d6fb3b2ddd59c28648d34b75886157b8bf0a8d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 25 Jan 2023 15:11:27 +0100 Subject: [PATCH 014/302] refactor(CTable): update interface --- packages/coreui-vue/src/components/table/CTable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coreui-vue/src/components/table/CTable.ts b/packages/coreui-vue/src/components/table/CTable.ts index cdbeea13..2a7ff5bc 100644 --- a/packages/coreui-vue/src/components/table/CTable.ts +++ b/packages/coreui-vue/src/components/table/CTable.ts @@ -137,7 +137,7 @@ const CTable = defineComponent({ * @since 4.5.0 */ footer: { - type: Array as PropType, + type: Array as PropType, default: () => [], required: false, }, From abd6230e8dc2e4ff51f6e4c75dbc2134108866b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 25 Jan 2023 15:13:43 +0100 Subject: [PATCH 015/302] change the `isVisible` utility name to `isInViewport` --- .../coreui-vue/src/components/carousel/CCarousel.ts | 6 +++--- .../coreui-vue/src/components/sidebar/CSidebar.ts | 10 +++++----- packages/coreui-vue/src/utils/index.ts | 4 ++-- packages/coreui-vue/src/utils/isInViewport.ts | 11 +++++++++++ packages/coreui-vue/src/utils/isVisible.ts | 11 ----------- 5 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 packages/coreui-vue/src/utils/isInViewport.ts delete mode 100644 packages/coreui-vue/src/utils/isVisible.ts diff --git a/packages/coreui-vue/src/components/carousel/CCarousel.ts b/packages/coreui-vue/src/components/carousel/CCarousel.ts index 182579d4..e3ff42e1 100644 --- a/packages/coreui-vue/src/components/carousel/CCarousel.ts +++ b/packages/coreui-vue/src/components/carousel/CCarousel.ts @@ -11,7 +11,7 @@ import { watch, } from 'vue' -import { isVisible } from './../../utils' +import { isInViewport } from './../../utils' const CCarousel = defineComponent({ name: 'CCarousel', @@ -133,7 +133,7 @@ const CCarousel = defineComponent({ const nextItemWhenVisible = () => { // Don't call next when the page isn't visible // or the carousel or its parent isn't visible - if (!document.hidden && isVisible(carouselRef.value)) { + if (!document.hidden && isInViewport(carouselRef.value)) { handleControlClick('next') } } @@ -156,7 +156,7 @@ const CCarousel = defineComponent({ } const handleScroll = () => { - if (!document.hidden && isVisible(carouselRef.value)) { + if (!document.hidden && isInViewport(carouselRef.value)) { visible.value = true } else { visible.value = false diff --git a/packages/coreui-vue/src/components/sidebar/CSidebar.ts b/packages/coreui-vue/src/components/sidebar/CSidebar.ts index 34dfa7ad..9f2ad49a 100644 --- a/packages/coreui-vue/src/components/sidebar/CSidebar.ts +++ b/packages/coreui-vue/src/components/sidebar/CSidebar.ts @@ -1,7 +1,7 @@ import { defineComponent, h, onBeforeUnmount, onMounted, ref, watch } from 'vue' import { CBackdrop } from '../backdrop' -import { isVisible } from './../../utils' +import { isInViewport } from './../../utils' const isOnMobile = (element: HTMLDivElement) => Boolean(getComputedStyle(element).getPropertyValue('--cui-is-mobile')) @@ -88,7 +88,7 @@ const CSidebar = defineComponent({ onMounted(() => { mobile.value = isOnMobile(sidebarRef.value) - inViewport.value = isVisible(sidebarRef.value) + inViewport.value = isInViewport(sidebarRef.value) window.addEventListener('resize', () => handleResize()) window.addEventListener('mouseup', handleClickOutside) @@ -96,7 +96,7 @@ const CSidebar = defineComponent({ sidebarRef.value.addEventListener('mouseup', handleOnClick) sidebarRef.value.addEventListener('transitionend', () => { - inViewport.value = isVisible(sidebarRef.value) + inViewport.value = isInViewport(sidebarRef.value) }) }) @@ -107,7 +107,7 @@ const CSidebar = defineComponent({ sidebarRef.value.removeEventListener('mouseup', handleOnClick) sidebarRef.value.removeEventListener('transitionend', () => { - inViewport.value = isVisible(sidebarRef.value) + inViewport.value = isInViewport(sidebarRef.value) }) }) @@ -118,7 +118,7 @@ const CSidebar = defineComponent({ const handleResize = () => { mobile.value = isOnMobile(sidebarRef.value) - inViewport.value = isVisible(sidebarRef.value) + inViewport.value = isInViewport(sidebarRef.value) } const handleKeyup = (event: Event) => { diff --git a/packages/coreui-vue/src/utils/index.ts b/packages/coreui-vue/src/utils/index.ts index ac72a6ad..b5450801 100644 --- a/packages/coreui-vue/src/utils/index.ts +++ b/packages/coreui-vue/src/utils/index.ts @@ -1,3 +1,3 @@ -import isVisible from './isVisible' +import isInViewport from './isInViewport' -export { isVisible } +export { isInViewport } diff --git a/packages/coreui-vue/src/utils/isInViewport.ts b/packages/coreui-vue/src/utils/isInViewport.ts new file mode 100644 index 00000000..7aae5391 --- /dev/null +++ b/packages/coreui-vue/src/utils/isInViewport.ts @@ -0,0 +1,11 @@ +const isInViewport = (element: HTMLElement) => { + const rect = element.getBoundingClientRect() + return ( + Math.floor(rect.top) >= 0 && + Math.floor(rect.left) >= 0 && + Math.floor(rect.bottom) <= (window.innerHeight || document.documentElement.clientHeight) && + Math.floor(rect.right) <= (window.innerWidth || document.documentElement.clientWidth) + ) +} + +export default isInViewport diff --git a/packages/coreui-vue/src/utils/isVisible.ts b/packages/coreui-vue/src/utils/isVisible.ts deleted file mode 100644 index 0bf5cb30..00000000 --- a/packages/coreui-vue/src/utils/isVisible.ts +++ /dev/null @@ -1,11 +0,0 @@ -const isVisible = (element: HTMLElement) => { - const rect = element.getBoundingClientRect() - return ( - rect.top >= 0 && - rect.left >= 0 && - rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && - rect.right <= (window.innerWidth || document.documentElement.clientWidth) - ) -} - -export default isVisible From 68e5e77c01cc62bf4364c623c147bc9752a7f62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 25 Jan 2023 15:42:54 +0100 Subject: [PATCH 016/302] refactor(CTable): remove default values for `footer` and `items` props --- .../coreui-vue/src/components/table/CTable.ts | 83 ++++++++++--------- 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/packages/coreui-vue/src/components/table/CTable.ts b/packages/coreui-vue/src/components/table/CTable.ts index 2a7ff5bc..4da70f63 100644 --- a/packages/coreui-vue/src/components/table/CTable.ts +++ b/packages/coreui-vue/src/components/table/CTable.ts @@ -138,7 +138,6 @@ const CTable = defineComponent({ */ footer: { type: Array as PropType, - default: () => [], required: false, }, /** @@ -158,7 +157,6 @@ const CTable = defineComponent({ */ items: { type: Array as PropType, - default: () => [], required: false, }, responsive: { @@ -228,7 +226,7 @@ const CTable = defineComponent({ if (typeof column === 'object') return column.key else return column }) - : Object.keys(props.items[0] || {}).filter((el) => el.charAt(0) !== '_'), + : Object.keys((props.items && props.items[0]) || {}).filter((el) => el.charAt(0) !== '_'), ) const table = () => @@ -301,34 +299,37 @@ const CTable = defineComponent({ {}, { default: () => [ - props.items.map((item: Item) => - h( - CTableRow, - { - ...(item._props && { ...item._props }), - }, - { - default: () => [ - rawColumnNames.value.map( - (colName: string) => - item[colName] && - h( - CTableDataCell, - { - ...(item._cellProps && - item._cellProps['all'] && { ...item._cellProps['all'] }), - ...(item._cellProps && - item._cellProps[colName] && { ...item._cellProps[colName] }), - }, - { - default: () => item[colName], - }, - ), - ), - ], - }, + props.items && + props.items.map((item: Item) => + h( + CTableRow, + { + ...(item._props && { ...item._props }), + }, + { + default: () => [ + rawColumnNames.value.map( + (colName: string) => + item[colName] && + h( + CTableDataCell, + { + ...(item._cellProps && + item._cellProps['all'] && { ...item._cellProps['all'] }), + ...(item._cellProps && + item._cellProps[colName] && { + ...item._cellProps[colName], + }), + }, + { + default: () => item[colName], + }, + ), + ), + ], + }, + ), ), - ), ], }, ), @@ -346,17 +347,19 @@ const CTable = defineComponent({ {}, { default: () => [ - props.footer.map((item: FooterItem | string) => - h( - CTableDataCell, - { - ...(typeof item === 'object' && item._props && { ...item._props }), - }, - { - default: () => (typeof item === 'object' ? item.label : item), - }, + props.footer && + props.footer.map((item: FooterItem | string) => + h( + CTableDataCell, + { + ...(typeof item === 'object' && + item._props && { ...item._props }), + }, + { + default: () => (typeof item === 'object' ? item.label : item), + }, + ), ), - ), ], }, ), From 1fbc9cc0278352ada51be8d8d2744a6f3aecaa87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Thu, 26 Jan 2023 13:47:05 +0100 Subject: [PATCH 017/302] refactor(CTable): update prop types --- packages/coreui-vue/src/components/table/CTable.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coreui-vue/src/components/table/CTable.ts b/packages/coreui-vue/src/components/table/CTable.ts index 4da70f63..ec991aa9 100644 --- a/packages/coreui-vue/src/components/table/CTable.ts +++ b/packages/coreui-vue/src/components/table/CTable.ts @@ -117,7 +117,7 @@ const CTable = defineComponent({ * @since 4.5.0 */ columns: { - type: Array as PropType, + type: Array as PropType<(Column | string)[]>, required: false, }, /** @@ -137,7 +137,7 @@ const CTable = defineComponent({ * @since 4.5.0 */ footer: { - type: Array as PropType, + type: Array as PropType<(FooterItem | string)[]>, required: false, }, /** From 7700bfeb69a48305ef097b0b419f206abb840d0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Thu, 26 Jan 2023 13:47:36 +0100 Subject: [PATCH 018/302] chore: update dependencies and devDependencies --- packages/docs/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/docs/package.json b/packages/docs/package.json index 151afe05..d56bb502 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@coreui/chartjs": "^3.0.0", "@coreui/coreui": "^4.2.6", - "@coreui/icons": "^2.1.0", + "@coreui/icons": "^3.0.0-0", "@coreui/icons-vue": "^2.0.0", "@coreui/vue-chartjs": "^2.0.1", "@vuepress/plugin-toc": "2.0.0-beta.38", diff --git a/yarn.lock b/yarn.lock index 478578a3..1187b5e3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -325,10 +325,10 @@ resolved "https://registry.yarnpkg.com/@coreui/icons-vue/-/icons-vue-2.0.0.tgz#722e55f74badba58fdf0ab6f83ffa54deffbcbb3" integrity sha512-3OLOv6TExmi93kapV4n9kmJ36fqxTHv3Vn/SPGAUX1btwf0wCmXen4xF3A8OdLEwR0i6Ggqw+MY/T7WjA6k2xg== -"@coreui/icons@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@coreui/icons/-/icons-2.1.0.tgz#b21641d3d034fdef308c87dc347c8684c408a753" - integrity sha512-3yY9J0088TSY403jwJeP5YERH3RLOvxdhOa4VIQsGOX4fuQZiyVUM+vwlzyCSpgAv9NwKPkCor+gc+JJaYf0TA== +"@coreui/icons@^3.0.0-0": + version "3.0.0-rc.0" + resolved "https://registry.yarnpkg.com/@coreui/icons/-/icons-3.0.0-rc.0.tgz#37710d41ff24220f3a33dde1c88d93a2e450a014" + integrity sha512-lDazxGn10cQxH3hhNrUKg62YqBYilL4VPcXj7Z9FTHTiRVxLfx8HmjqVMoeuKTNBa0tGGUys7brBwXvqN0ijKQ== "@esbuild/linux-loong64@0.14.54": version "0.14.54" From 26c04798f0a2413a21e235d20247f05eb32756d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Thu, 26 Jan 2023 13:52:19 +0100 Subject: [PATCH 019/302] release: v4.6.1 --- README.md | 2 +- lerna.json | 2 +- packages/coreui-vue/package.json | 2 +- packages/docs/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ceb59459..67ec0841 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.6.0.zip) +- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.6.1.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-vue.git` - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue` - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue` diff --git a/lerna.json b/lerna.json index 886a1436..79924ce0 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/*" ], "useWorkspaces": true, - "version": "4.6.0" + "version": "4.6.1" } diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index 3719840a..2216bd7c 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue", - "version": "4.6.0", + "version": "4.6.1", "description": "UI Components Library for Vue.js", "keywords": [ "vue", diff --git a/packages/docs/package.json b/packages/docs/package.json index d56bb502..e4c3a67a 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue-docs", - "version": "4.6.0", + "version": "4.6.1", "scripts": { "api": "vue-docgen -c build/docgen.config.js", "dev": "vuepress dev --clean-cache", From c87ee002d09da16b81bbf8bb2933752fbbbf5927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 15 Feb 2023 14:06:00 +0100 Subject: [PATCH 020/302] feat(COffcanvas): add static backdrop support --- .../src/components/offcanvas/COffcanvas.ts | 53 +++-- packages/docs/components/offcanvas.md | 204 +++++++++++------- 2 files changed, 147 insertions(+), 110 deletions(-) diff --git a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts index 1d4ab3a0..a1d532a6 100644 --- a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts +++ b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts @@ -10,11 +10,21 @@ const COffcanvas = defineComponent({ props: { /** * Apply a backdrop on body while offcanvas is open. + * + * @values boolean | 'static' */ backdrop: { - type: Boolean, + type: [Boolean, String], default: true, - require: false, + validator: (value: boolean | string) => { + if (typeof value === 'string') { + return ['static'].includes(value) + } + if (typeof value === 'boolean') { + return true + } + return false + }, }, /** * Closes the offcanvas when escape key is pressed. @@ -22,7 +32,6 @@ const COffcanvas = defineComponent({ keyboard: { type: Boolean, default: true, - require: false, }, /** * Components placement, there’s no default placement. @@ -43,15 +52,11 @@ const COffcanvas = defineComponent({ scroll: { type: Boolean, default: false, - required: false, }, /** * Toggle the visibility of offcanvas component. */ - visible: { - type: Boolean, - require: false, - }, + visible: Boolean, }, emits: [ /** @@ -93,22 +98,18 @@ const COffcanvas = defineComponent({ emit('show') executeAfterTransition(() => done(), el as HTMLElement) setTimeout(() => { - el.style.visibility = 'visible' el.classList.add('show') }, 1) } const handleAfterEnter = () => { - window.addEventListener('mousedown', handleMouseDown) - window.addEventListener('keyup', handleKeyUp) + offcanvasRef.value.focus() } const handleLeave = (el: RendererElement, done: () => void) => { executeAfterTransition(() => done(), el as HTMLElement) - window.removeEventListener('mousedown', handleMouseDown) - window.removeEventListener('keyup', handleKeyUp) - el.classList.remove('show') + el.classList.add('hiding') } const handleAfterLeave = (el: RendererElement) => { - el.style.visibility = 'hidden' + el.classList.remove('show', 'hiding') } const handleDismiss = () => { @@ -116,21 +117,16 @@ const COffcanvas = defineComponent({ emit('hide') } - const handleKeyUp = (event: KeyboardEvent) => { - if (offcanvasRef.value && !offcanvasRef.value.contains(event.target as HTMLElement)) { - if (event.key === 'Escape' && props.keyboard && props.backdrop) { - return handleDismiss() - } + const handleBackdropDismiss = () => { + if (props.backdrop !== 'static') { + handleDismiss() } } - const handleMouseDown = (event: Event) => { - window.addEventListener('mouseup', () => handleMouseUp(event), { once: true }) - } - - const handleMouseUp = (event: Event) => { - if (offcanvasRef.value && !offcanvasRef.value.contains(event.target as HTMLElement)) { - props.backdrop && handleDismiss() + const handleKeyDown = (event: KeyboardEvent) => { + console.log('keydown') + if (event.key === 'Escape' && props.keyboard) { + handleDismiss() } } @@ -155,8 +151,10 @@ const COffcanvas = defineComponent({ [`offcanvas-${props.placement}`]: props.placement, }, ], + onKeydown: (event: KeyboardEvent) => handleKeyDown(event), ref: offcanvasRef, role: 'dialog', + tabindex: -1, }, slots.default && slots.default(), ), @@ -166,6 +164,7 @@ const COffcanvas = defineComponent({ props.backdrop && h(CBackdrop, { class: 'offcanvas-backdrop', + onClick: handleBackdropDismiss, visible: visible.value, }), ] diff --git a/packages/docs/components/offcanvas.md b/packages/docs/components/offcanvas.md index 671d5959..95eef1f0 100644 --- a/packages/docs/components/offcanvas.md +++ b/packages/docs/components/offcanvas.md @@ -85,6 +85,126 @@ Use the buttons below to show and hide an offcanvas component. ``` +### Body scrolling + +Scrolling the `` element is disabled when an offcanvas and its backdrop are visible. Use the scroll property to toggle `` scrolling and backdrop to toggle the backdrop. + +::: demo +Enable body scrolling + + + Offcanvas + + + +

Try scrolling the rest of the page to see this option in action.

+
+
+::: +```vue + + +``` + +### Body scrolling and backdrop + +You can also enable `` scrolling with a visible backdrop. + +::: demo +Enable both scrolling & backdrop + + + Offcanvas + + + +

Try scrolling the rest of the page to see this option in action.

+
+
+::: +```vue + + +``` + +### Static backdrop + +If you set a `backdrop` to `static`, your React offcanvas component will not close when clicking outside of it. + +::: demo +Toggle static offcanvas + + + Offcanvas + + + +

I will not close if you click outside of me.

+
+
+::: +```vue + + +``` + ## Placement There's no default placement for offcanvas components, so you must add one of the modifier classes below; @@ -210,88 +330,6 @@ Try the top, right, and bottom examples out below. ``` -## Backdrop - -Scrolling the `` element is disabled when an offcanvas and its backdrop are visible. Use the `scroll` property to toggle `` scrolling and `backdrop` to toggle the backdrop. - -::: demo -Enable body scrolling -Enable backdrop (default) -Enable both scrolling & backdrop - - - Offcanvas - - - -

Try scrolling the rest of the page to see this option in action.

-
-
- - - Offcanvas - - - -

.....

-
-
- - - Offcanvas - - - -

Try scrolling the rest of the page to see this option in action.

-
-
-::: -```vue - - -``` - ## Accessibility Since the offcanvas panel is conceptually a modal dialog, be sure to add `aria-labelledby="..."`—referencing the offcanvas title—to ``. Note that you don’t need to add `role="dialog"` since we already add it automatically. @@ -305,7 +343,7 @@ Since the offcanvas panel is conceptually a modal dialog, be sure to add `aria-l visibleEnd: false, visibleBottom: false, visibleScrolling: false, - visibleWithBackdrop: false, + visibleWithStaticBackdrop: false, visibleWithBothOptions: false, } } From 6589d07e45d26cae8a1350548ab695e8e8011a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 15 Feb 2023 15:00:41 +0100 Subject: [PATCH 021/302] feat(Offcanvas): add responsive variations --- .../src/components/offcanvas/COffcanvas.ts | 25 +++- packages/docs/components/navbar.md | 124 ++++++++++++++++++ packages/docs/components/offcanvas.md | 46 +++++++ 3 files changed, 194 insertions(+), 1 deletion(-) diff --git a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts index a1d532a6..b2ed8564 100644 --- a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts +++ b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts @@ -46,6 +46,24 @@ const COffcanvas = defineComponent({ return ['start', 'end', 'top', 'bottom'].includes(value) }, }, + /** + * Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down. + * + * @values boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' + */ + responsive: { + type: [Boolean, String], + default: true, + validator: (value: boolean | string) => { + if (typeof value === 'string') { + return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value) + } + if (typeof value === 'boolean') { + return true + } + return false + }, + }, /** * Allow body scrolling while offcanvas is open */ @@ -101,13 +119,16 @@ const COffcanvas = defineComponent({ el.classList.add('show') }, 1) } + const handleAfterEnter = () => { offcanvasRef.value.focus() } + const handleLeave = (el: RendererElement, done: () => void) => { executeAfterTransition(() => done(), el as HTMLElement) el.classList.add('hiding') } + const handleAfterLeave = (el: RendererElement) => { el.classList.remove('show', 'hiding') } @@ -146,8 +167,10 @@ const COffcanvas = defineComponent({ 'div', { class: [ - 'offcanvas', { + [`offcanvas${ + typeof props.responsive !== 'boolean' ? '-' + props.responsive : '' + }`]: props.responsive, [`offcanvas-${props.placement}`]: props.placement, }, ], diff --git a/packages/docs/components/navbar.md b/packages/docs/components/navbar.md index feaeccc2..8e0a32f4 100644 --- a/packages/docs/components/navbar.md +++ b/packages/docs/components/navbar.md @@ -1035,6 +1035,7 @@ In the example below, to create an offcanvas navbar that is always collapsed acr :::demo + Offcanvas navbar ::: +```vue + + +``` To create an offcanvas navbar that expands into a normal navbar at a specific breakpoint like `xxl`, use `expand="xxl"` property. :::demo + Offcanvas navbar ::: +```vue + + +``` ``` +## Responsive + +Responsive offcanvas properties hide content outside the viewport from a specified breakpoint and down. +Above that breakpoint, the contents within will behave as usual. +For example, `responsive="lg"` hides content in an offcanvas below the lg breakpoint, but shows the content above the lg breakpoint. + +::: demo +Toggle offcanvas +Resize your browser to show the responsive offcanvas toggle. + + + Responsive offcanvas + + + +

This is content within an .offcanvas-lg

. +
+
+::: +```vue + + +``` + + ## Placement There's no default placement for offcanvas components, so you must add one of the modifier classes below; @@ -343,6 +388,7 @@ Since the offcanvas panel is conceptually a modal dialog, be sure to add `aria-l visibleEnd: false, visibleBottom: false, visibleScrolling: false, + visibleResponsiveBackdrop: false, visibleWithStaticBackdrop: false, visibleWithBothOptions: false, } From 44f24f99313757e46fcebff4deecf87931a97de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 15 Feb 2023 15:09:56 +0100 Subject: [PATCH 022/302] chore: update dependencies and devDependencies --- package.json | 20 +- packages/coreui-vue-chartjs/package.json | 14 +- packages/coreui-vue/package.json | 10 +- packages/docs/package.json | 6 +- yarn.lock | 1405 +++++++++++----------- 5 files changed, 744 insertions(+), 711 deletions(-) diff --git a/package.json b/package.json index 39bbc4f5..bccb7e86 100644 --- a/package.json +++ b/package.json @@ -20,21 +20,21 @@ "test:update": "jest --coverage --updateSnapshot" }, "devDependencies": { - "@types/jest": "^28.1.8", - "@typescript-eslint/eslint-plugin": "^5.28.2", - "@typescript-eslint/parser": "^5.28.2", - "@vue/compiler-sfc": "^3.2.45", + "@types/jest": "^29.4.0", + "@typescript-eslint/eslint-plugin": "^5.52.0", + "@typescript-eslint/parser": "^5.52.0", + "@vue/compiler-sfc": "^3.2.47", "@vue/eslint-config-prettier": "^7.0.0", "@vue/eslint-config-typescript": "^11.0.2", - "@vue/vue3-jest": "28.0.1", - "eslint": "8.32.0", + "@vue/vue3-jest": "29.2.2", + "eslint": "8.34.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-vue": "^9.9.0", - "jest": "^28.1.3", + "jest": "^29.4.3", "jest-canvas-mock": "^2.4.0", - "jest-environment-jsdom": "^28.1.3", + "jest-environment-jsdom": "^29.4.3", "lerna": "^4.0.0", - "prettier": "^2.8.3", - "ts-jest": "^28.0.8" + "prettier": "^2.8.4", + "ts-jest": "^29.0.5" } } diff --git a/packages/coreui-vue-chartjs/package.json b/packages/coreui-vue-chartjs/package.json index ccc02f72..9d5dd621 100644 --- a/packages/coreui-vue-chartjs/package.json +++ b/packages/coreui-vue-chartjs/package.json @@ -35,19 +35,19 @@ "build": "rollup -c --bundleConfigAsCjs" }, "devDependencies": { - "@coreui/chartjs": "^3.0.0", - "@rollup/plugin-commonjs": "^24.0.0", + "@coreui/chartjs": "^3.1.1", + "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", "@types/lodash": "^4.14.191", - "@vue/test-utils": "^2.2.7", - "chart.js": "^3.8.2", + "@vue/test-utils": "^2.2.10", + "chart.js": "^3.9.1", "lodash": "^4.17.21", - "rollup": "^3.10.0", + "rollup": "^3.15.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-vue": "^6.0.0", - "typescript": "^4.9.4", - "vue": "^3.2.45", + "typescript": "^4.9.5", + "vue": "^3.2.47", "vue-types": "^5.0.2" }, "peerDependencies": { diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index 2216bd7c..90344051 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -35,14 +35,14 @@ }, "devDependencies": { "@popperjs/core": "^2.11.6", - "@rollup/plugin-commonjs": "^24.0.0", + "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^11.0.0", - "@vue/test-utils": "^2.2.7", - "rollup": "^3.10.0", + "@vue/test-utils": "^2.2.10", + "rollup": "^3.15.0", "rollup-plugin-vue": "^6.0.0", - "typescript": "^4.9.4", - "vue": "^3.2.45", + "typescript": "^4.9.5", + "vue": "^3.2.47", "vue-types": "^5.0.2" }, "peerDependencies": { diff --git a/packages/docs/package.json b/packages/docs/package.json index e4c3a67a..fa6a8903 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -8,14 +8,14 @@ }, "license": "MIT", "devDependencies": { - "@coreui/chartjs": "^3.0.0", + "@coreui/chartjs": "^3.1.1", "@coreui/coreui": "^4.2.6", - "@coreui/icons": "^3.0.0-0", + "@coreui/icons": "^3.0.0", "@coreui/icons-vue": "^2.0.0", "@coreui/vue-chartjs": "^2.0.1", "@vuepress/plugin-toc": "2.0.0-beta.38", "markdown-it-include": "^2.0.0", - "vue-docgen-cli": "^4.56.1", + "vue-docgen-cli": "^4.57.1", "vuepress": "2.0.0-beta.38" } } diff --git a/yarn.lock b/yarn.lock index 1187b5e3..3236b4e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -195,6 +195,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.7.2": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz#a8feef63b010150abd97f1649ec296e849943ca0" + integrity sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -300,18 +307,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@coreui/chartjs@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@coreui/chartjs/-/chartjs-3.0.0.tgz#54b55d85de0f3146237b7d1d36b1bf33bc051735" - integrity sha512-udbvSxanTNltv94lqTMW8bLRXTtzk9G2SrmFdM/7HH+JSaLX2wdQpZ4VIJhyOCRGLCSKHktl29BnW1/uXQecAg== +"@coreui/chartjs@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@coreui/chartjs/-/chartjs-3.1.1.tgz#df7978f46ff2623817c0bf8f22d56118062e0fe1" + integrity sha512-lI/GCszpbPnEr6T/XDnIcOFTg2mMWqPToR5os6C6KM98BQihhZhuCeMzixyu0Wi72GoFFMkP5/SW028KpskMSw== dependencies: - "@coreui/coreui" "4.0.0" - chart.js "^3.4.0" - -"@coreui/coreui@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@coreui/coreui/-/coreui-4.0.0.tgz#52ebe0197411a829ba48057ade61923e05859eec" - integrity sha512-8vH6fJrmvCR/Oy5v0E+/1AL3Ygb4jhQ7NXK2fMYWJyK13BePDm9muB3y6S0IdqkpBwjY3hHVwHyt2lJqJdesmQ== + "@coreui/coreui" "^4.2.6" + chart.js "^3.9.1" "@coreui/coreui@^4.2.6": version "4.2.6" @@ -325,10 +327,10 @@ resolved "https://registry.yarnpkg.com/@coreui/icons-vue/-/icons-vue-2.0.0.tgz#722e55f74badba58fdf0ab6f83ffa54deffbcbb3" integrity sha512-3OLOv6TExmi93kapV4n9kmJ36fqxTHv3Vn/SPGAUX1btwf0wCmXen4xF3A8OdLEwR0i6Ggqw+MY/T7WjA6k2xg== -"@coreui/icons@^3.0.0-0": - version "3.0.0-rc.0" - resolved "https://registry.yarnpkg.com/@coreui/icons/-/icons-3.0.0-rc.0.tgz#37710d41ff24220f3a33dde1c88d93a2e450a014" - integrity sha512-lDazxGn10cQxH3hhNrUKg62YqBYilL4VPcXj7Z9FTHTiRVxLfx8HmjqVMoeuKTNBa0tGGUys7brBwXvqN0ijKQ== +"@coreui/icons@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@coreui/icons/-/icons-3.0.0.tgz#e36ef6e10fdc61aaff22e4ab1f6e71775b26f365" + integrity sha512-t4hJilv5IFBvaHIIQeUoXctV5nJkW21PTIhgeGO80xS25Ii4kkXa2gzryj6v6OEPSDPnY2YWhYm39TBjbXt1Xw== "@esbuild/linux-loong64@0.14.54": version "0.14.54" @@ -395,110 +397,110 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-28.1.3.tgz#2030606ec03a18c31803b8a36382762e447655df" - integrity sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw== +"@jest/console@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.4.3.tgz#1f25a99f7f860e4c46423b5b1038262466fadde1" + integrity sha512-W/o/34+wQuXlgqlPYTansOSiBnuxrTv61dEVkA6HNmpcgHLUjfaUbdqt6oVvOzaawwo9IdW9QOtMgQ1ScSZC4A== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-message-util "^29.4.3" + jest-util "^29.4.3" slash "^3.0.0" -"@jest/core@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-28.1.3.tgz#0ebf2bd39840f1233cd5f2d1e6fc8b71bd5a1ac7" - integrity sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA== +"@jest/core@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.4.3.tgz#829dd65bffdb490de5b0f69e97de8e3b5eadd94b" + integrity sha512-56QvBq60fS4SPZCuM7T+7scNrkGIe7Mr6PVIXUpu48ouvRaWOFqRPV91eifvFM0ay2HmfswXiGf97NGUN5KofQ== dependencies: - "@jest/console" "^28.1.3" - "@jest/reporters" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.4.3" + "@jest/reporters" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/transform" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" ci-info "^3.2.0" exit "^0.1.2" graceful-fs "^4.2.9" - jest-changed-files "^28.1.3" - jest-config "^28.1.3" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-resolve-dependencies "^28.1.3" - jest-runner "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" - jest-watcher "^28.1.3" + jest-changed-files "^29.4.3" + jest-config "^29.4.3" + jest-haste-map "^29.4.3" + jest-message-util "^29.4.3" + jest-regex-util "^29.4.3" + jest-resolve "^29.4.3" + jest-resolve-dependencies "^29.4.3" + jest-runner "^29.4.3" + jest-runtime "^29.4.3" + jest-snapshot "^29.4.3" + jest-util "^29.4.3" + jest-validate "^29.4.3" + jest-watcher "^29.4.3" micromatch "^4.0.4" - pretty-format "^28.1.3" - rimraf "^3.0.0" + pretty-format "^29.4.3" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-28.1.3.tgz#abed43a6b040a4c24fdcb69eab1f97589b2d663e" - integrity sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA== +"@jest/environment@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.4.3.tgz#9fe2f3169c3b33815dc4bd3960a064a83eba6548" + integrity sha512-dq5S6408IxIa+lr54zeqce+QgI+CJT4nmmA+1yzFgtcsGK8c/EyiUb9XQOgz3BMKrRDfKseeOaxj2eO8LlD3lA== dependencies: - "@jest/fake-timers" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/fake-timers" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" - jest-mock "^28.1.3" + jest-mock "^29.4.3" -"@jest/expect-utils@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-28.1.3.tgz#58561ce5db7cd253a7edddbc051fb39dda50f525" - integrity sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA== +"@jest/expect-utils@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.4.3.tgz#95ce4df62952f071bcd618225ac7c47eaa81431e" + integrity sha512-/6JWbkxHOP8EoS8jeeTd9dTfc9Uawi+43oLKHfp6zzux3U2hqOOVnV3ai4RpDYHOccL6g+5nrxpoc8DmJxtXVQ== dependencies: - jest-get-type "^28.0.2" + jest-get-type "^29.4.3" -"@jest/expect@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-28.1.3.tgz#9ac57e1d4491baca550f6bdbd232487177ad6a72" - integrity sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw== +"@jest/expect@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.4.3.tgz#d31a28492e45a6bcd0f204a81f783fe717045c6e" + integrity sha512-iktRU/YsxEtumI9zsPctYUk7ptpC+AVLLk1Ax3AsA4g1C+8OOnKDkIQBDHtD5hA/+VtgMd5AWI5gNlcAlt2vxQ== dependencies: - expect "^28.1.3" - jest-snapshot "^28.1.3" + expect "^29.4.3" + jest-snapshot "^29.4.3" -"@jest/fake-timers@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-28.1.3.tgz#230255b3ad0a3d4978f1d06f70685baea91c640e" - integrity sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw== +"@jest/fake-timers@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.4.3.tgz#31e982638c60fa657d310d4b9d24e023064027b0" + integrity sha512-4Hote2MGcCTWSD2gwl0dwbCpBRHhE6olYEuTj8FMowdg3oQWNKr2YuxenPQYZ7+PfqPY1k98wKDU4Z+Hvd4Tiw== dependencies: - "@jest/types" "^28.1.3" - "@sinonjs/fake-timers" "^9.1.2" + "@jest/types" "^29.4.3" + "@sinonjs/fake-timers" "^10.0.2" "@types/node" "*" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-util "^28.1.3" + jest-message-util "^29.4.3" + jest-mock "^29.4.3" + jest-util "^29.4.3" -"@jest/globals@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-28.1.3.tgz#a601d78ddc5fdef542728309894895b4a42dc333" - integrity sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA== +"@jest/globals@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.4.3.tgz#63a2c4200d11bc6d46f12bbe25b07f771fce9279" + integrity sha512-8BQ/5EzfOLG7AaMcDh7yFCbfRLtsc+09E1RQmRBI4D6QQk4m6NSK/MXo+3bJrBN0yU8A2/VIcqhvsOLFmziioA== dependencies: - "@jest/environment" "^28.1.3" - "@jest/expect" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/environment" "^29.4.3" + "@jest/expect" "^29.4.3" + "@jest/types" "^29.4.3" + jest-mock "^29.4.3" -"@jest/reporters@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-28.1.3.tgz#9adf6d265edafc5fc4a434cfb31e2df5a67a369a" - integrity sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg== +"@jest/reporters@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.4.3.tgz#0a68a0c0f20554760cc2e5443177a0018969e353" + integrity sha512-sr2I7BmOjJhyqj9ANC6CTLsL4emMoka7HkQpcoMRlhCbQJjz2zsRzw0BDPiPyEFDXAbxKgGFYuQZiSJ1Y6YoTg== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" - "@jridgewell/trace-mapping" "^0.3.13" + "@jest/console" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/transform" "^29.4.3" + "@jest/types" "^29.4.3" + "@jridgewell/trace-mapping" "^0.3.15" "@types/node" "*" chalk "^4.0.0" collect-v8-coverage "^1.0.0" @@ -510,78 +512,77 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" - jest-worker "^28.1.3" + jest-message-util "^29.4.3" + jest-util "^29.4.3" + jest-worker "^29.4.3" slash "^3.0.0" string-length "^4.0.1" strip-ansi "^6.0.0" - terminal-link "^2.0.0" v8-to-istanbul "^9.0.1" -"@jest/schemas@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" - integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== +"@jest/schemas@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.4.3.tgz#39cf1b8469afc40b6f5a2baaa146e332c4151788" + integrity sha512-VLYKXQmtmuEz6IxJsrZwzG9NvtkQsWNnWMsKxqWNu3+CnfzJQhp0WDDKWLVV9hLKr0l3SLLFRqcYHjhtyuDVxg== dependencies: - "@sinclair/typebox" "^0.24.1" + "@sinclair/typebox" "^0.25.16" -"@jest/source-map@^28.1.2": - version "28.1.2" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-28.1.2.tgz#7fe832b172b497d6663cdff6c13b0a920e139e24" - integrity sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww== +"@jest/source-map@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.4.3.tgz#ff8d05cbfff875d4a791ab679b4333df47951d20" + integrity sha512-qyt/mb6rLyd9j1jUts4EQncvS6Yy3PM9HghnNv86QBlV+zdL2inCdK1tuVlL+J+lpiw2BI67qXOrX3UurBqQ1w== dependencies: - "@jridgewell/trace-mapping" "^0.3.13" + "@jridgewell/trace-mapping" "^0.3.15" callsites "^3.0.0" graceful-fs "^4.2.9" -"@jest/test-result@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-28.1.3.tgz#5eae945fd9f4b8fcfce74d239e6f725b6bf076c5" - integrity sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg== +"@jest/test-result@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.4.3.tgz#e13d973d16c8c7cc0c597082d5f3b9e7f796ccb8" + integrity sha512-Oi4u9NfBolMq9MASPwuWTlC5WvmNRwI4S8YrQg5R5Gi47DYlBe3sh7ILTqi/LGrK1XUE4XY9KZcQJTH1WJCLLA== dependencies: - "@jest/console" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.4.3" + "@jest/types" "^29.4.3" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-28.1.3.tgz#9d0c283d906ac599c74bde464bc0d7e6a82886c3" - integrity sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw== +"@jest/test-sequencer@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.4.3.tgz#0862e876a22993385a0f3e7ea1cc126f208a2898" + integrity sha512-yi/t2nES4GB4G0mjLc0RInCq/cNr9dNwJxcGg8sslajua5Kb4kmozAc+qPLzplhBgfw1vLItbjyHzUN92UXicw== dependencies: - "@jest/test-result" "^28.1.3" + "@jest/test-result" "^29.4.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" + jest-haste-map "^29.4.3" slash "^3.0.0" -"@jest/transform@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" - integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== +"@jest/transform@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.4.3.tgz#f7d17eac9cb5bb2e1222ea199c7c7e0835e0c037" + integrity sha512-8u0+fBGWolDshsFgPQJESkDa72da/EVwvL+II0trN2DR66wMwiQ9/CihaGfHdlLGFzbBZwMykFtxuwFdZqlKwg== dependencies: "@babel/core" "^7.11.6" - "@jest/types" "^28.1.3" - "@jridgewell/trace-mapping" "^0.3.13" + "@jest/types" "^29.4.3" + "@jridgewell/trace-mapping" "^0.3.15" babel-plugin-istanbul "^6.1.1" chalk "^4.0.0" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" + convert-source-map "^2.0.0" + fast-json-stable-stringify "^2.1.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" + jest-haste-map "^29.4.3" + jest-regex-util "^29.4.3" + jest-util "^29.4.3" micromatch "^4.0.4" pirates "^4.0.4" slash "^3.0.0" - write-file-atomic "^4.0.1" + write-file-atomic "^4.0.2" -"@jest/types@^28.1.3": - version "28.1.3" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" - integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== +"@jest/types@^29.4.3": + version "29.4.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.4.3.tgz#9069145f4ef09adf10cec1b2901b2d390031431f" + integrity sha512-bPYfw8V65v17m2Od1cv44FH+SiKW7w2Xu7trhcdTLUmSv85rfKsP+qXSjO4KGJr4dtPSzl/gvslZBXctf1qGEA== dependencies: - "@jest/schemas" "^28.1.3" + "@jest/schemas" "^29.4.3" "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" "@types/node" "*" @@ -605,7 +606,7 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" -"@jridgewell/resolve-uri@^3.0.3": +"@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== @@ -615,12 +616,12 @@ resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== -"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": +"@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": version "1.4.14" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.9": version "0.3.15" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" integrity sha512-oWZNOULl+UbhsgB51uuZzglikfIKSUBO/M9W2OfEjn7cmqoAiCgmv9lyACTUacZwBz0ITnJ2NqjU8Tx0DHL88g== @@ -628,6 +629,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.15": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@lerna/add@4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@lerna/add/-/add-4.0.0.tgz#c36f57d132502a57b9e7058d1548b7a565ef183f" @@ -1496,10 +1505,10 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== -"@rollup/plugin-commonjs@^24.0.0": - version "24.0.0" - resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.0.tgz#fb7cf4a6029f07ec42b25daa535c75b05a43f75c" - integrity sha512-0w0wyykzdyRRPHOb0cQt14mIBLujfAv6GgP6g8nvg/iBxEm112t3YPPq+Buqe2+imvElTka+bjNlJ/gB56TD8g== +"@rollup/plugin-commonjs@^24.0.1": + version "24.0.1" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.1.tgz#d54ba26a3e3c495dc332bd27a81f7e9e2df46f90" + integrity sha512-15LsiWRZk4eOGqvrJyu3z3DaBu5BhXIMeWnijSRvd8irrrg9SHpQ1pH+BUK4H6Z9wL9yOxZJMTLU+Au86XHxow== dependencies: "@rollup/pluginutils" "^5.0.1" commondir "^1.0.1" @@ -1537,24 +1546,24 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@sinclair/typebox@^0.24.1": - version "0.24.42" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.42.tgz#a74b608d494a1f4cc079738e050142a678813f52" - integrity sha512-d+2AtrHGyWek2u2ITF0lHRIv6Tt7X0dEHW+0rP+5aDCEjC3fiN2RBjrLD0yU0at52BcZbRGxLbAtXiR0hFCjYw== +"@sinclair/typebox@^0.25.16": + version "0.25.22" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.25.22.tgz#2808d895e9c2722b20a622a9c8cb332f6720eb4a" + integrity sha512-6U6r2L7rnM7EG8G1tWzIjdB3QlsHF4slgcqXNN/SF0xJOAr0nDmT2GedlkyO3mrv8mDTJ24UuOMWR3diBrCvQQ== -"@sinonjs/commons@^1.7.0": - version "1.8.3" - resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" - integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== +"@sinonjs/commons@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-2.0.0.tgz#fd4ca5b063554307e8327b4564bd56d3b73924a3" + integrity sha512-uLa0j859mMrg2slwQYdO/AkrOfmH+X6LTVmNTS9CqexuE2IvVORIkSpJLqePAbEnKJ77aMmCwr1NUZ57120Xcg== dependencies: type-detect "4.0.8" -"@sinonjs/fake-timers@^9.1.2": - version "9.1.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" - integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== +"@sinonjs/fake-timers@^10.0.2": + version "10.0.2" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.0.2.tgz#d10549ed1f423d80639c528b6c7f5a1017747d0c" + integrity sha512-SwUDyjWnah1AaNl7kxsa7cfLhlTYoiyhDAIgyh+El30YvXs/o7OLXpYH88Zdhyx9JExKrmHDJ+10bwIcY80Jmw== dependencies: - "@sinonjs/commons" "^1.7.0" + "@sinonjs/commons" "^2.0.0" "@tootallnate/once@1": version "1.1.2" @@ -1657,22 +1666,22 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^28.1.8": - version "28.1.8" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-28.1.8.tgz#6936409f3c9724ea431efd412ea0238a0f03b09b" - integrity sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw== +"@types/jest@^29.4.0": + version "29.4.0" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.4.0.tgz#a8444ad1704493e84dbf07bb05990b275b3b9206" + integrity sha512-VaywcGQ9tPorCX/Jkkni7RWGFfI11whqzs8dvxF41P17Z+z872thvEvlIbznjPJ02kl1HMX3LmLOonsj2n7HeQ== dependencies: - expect "^28.0.0" - pretty-format "^28.0.0" + expect "^29.0.0" + pretty-format "^29.0.0" -"@types/jsdom@^16.2.4": - version "16.2.15" - resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-16.2.15.tgz#6c09990ec43b054e49636cba4d11d54367fc90d6" - integrity sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ== +"@types/jsdom@^20.0.0": + version "20.0.1" + resolved "https://registry.yarnpkg.com/@types/jsdom/-/jsdom-20.0.1.tgz#07c14bc19bd2f918c1929541cdaacae894744808" + integrity sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ== dependencies: "@types/node" "*" - "@types/parse5" "^6.0.3" "@types/tough-cookie" "*" + parse5 "^7.0.0" "@types/json-schema@^7.0.9": version "7.0.11" @@ -1737,11 +1746,6 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/parse5@^6.0.3": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-6.0.3.tgz#705bb349e789efa06f43f128cef51240753424cb" - integrity sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g== - "@types/prettier@^2.1.5": version "2.7.0" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" @@ -1809,15 +1813,16 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/eslint-plugin@^5.28.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.2.tgz#112e6ae1e23a1dc8333ce82bb9c65c2608b4d8a3" - integrity sha512-sR0Gja9Ky1teIq4qJOl0nC+Tk64/uYdX+mi+5iB//MH8gwyx8e3SOyhEzeLZEFEEfCaLf8KJq+Bd/6je1t+CAg== +"@typescript-eslint/eslint-plugin@^5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.52.0.tgz#5fb0d43574c2411f16ea80f5fc335b8eaa7b28a8" + integrity sha512-lHazYdvYVsBokwCdKOppvYJKaJ4S41CgKBcPvyd0xjZNbvQdhn/pnJlGtQksQ/NhInzdaeaSarlBjDXHuclEbg== dependencies: - "@typescript-eslint/scope-manager" "5.48.2" - "@typescript-eslint/type-utils" "5.48.2" - "@typescript-eslint/utils" "5.48.2" + "@typescript-eslint/scope-manager" "5.52.0" + "@typescript-eslint/type-utils" "5.52.0" + "@typescript-eslint/utils" "5.52.0" debug "^4.3.4" + grapheme-splitter "^1.0.4" ignore "^5.2.0" natural-compare-lite "^1.4.0" regexpp "^3.2.0" @@ -1834,14 +1839,14 @@ "@typescript-eslint/typescript-estree" "5.37.0" debug "^4.3.4" -"@typescript-eslint/parser@^5.28.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.2.tgz#c9edef2a0922d26a37dba03be20c5fff378313b3" - integrity sha512-38zMsKsG2sIuM5Oi/olurGwYJXzmtdsHhn5mI/pQogP+BjYVkK5iRazCQ8RGS0V+YLk282uWElN70zAAUmaYHw== +"@typescript-eslint/parser@^5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.52.0.tgz#73c136df6c0133f1d7870de7131ccf356f5be5a4" + integrity sha512-e2KiLQOZRo4Y0D/b+3y08i3jsekoSkOYStROYmPUnGMEoA0h+k2qOH5H6tcjIc68WDvGwH+PaOrP1XRzLJ6QlA== dependencies: - "@typescript-eslint/scope-manager" "5.48.2" - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/typescript-estree" "5.48.2" + "@typescript-eslint/scope-manager" "5.52.0" + "@typescript-eslint/types" "5.52.0" + "@typescript-eslint/typescript-estree" "5.52.0" debug "^4.3.4" "@typescript-eslint/scope-manager@5.37.0": @@ -1852,13 +1857,13 @@ "@typescript-eslint/types" "5.37.0" "@typescript-eslint/visitor-keys" "5.37.0" -"@typescript-eslint/scope-manager@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.2.tgz#bb7676cb78f1e94921eaab637a4b5d596f838abc" - integrity sha512-zEUFfonQid5KRDKoI3O+uP1GnrFd4tIHlvs+sTJXiWuypUWMuDaottkJuR612wQfOkjYbsaskSIURV9xo4f+Fw== +"@typescript-eslint/scope-manager@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.52.0.tgz#a993d89a0556ea16811db48eabd7c5b72dcb83d1" + integrity sha512-AR7sxxfBKiNV0FWBSARxM8DmNxrwgnYMPwmpkC1Pl1n+eT8/I2NAUPuwDy/FmDcC6F8pBfmOcaxcxRHspgOBMw== dependencies: - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/visitor-keys" "5.48.2" + "@typescript-eslint/types" "5.52.0" + "@typescript-eslint/visitor-keys" "5.52.0" "@typescript-eslint/type-utils@5.37.0": version "5.37.0" @@ -1870,13 +1875,13 @@ debug "^4.3.4" tsutils "^3.21.0" -"@typescript-eslint/type-utils@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.2.tgz#7d3aeca9fa37a7ab7e3d9056a99b42f342c48ad7" - integrity sha512-QVWx7J5sPMRiOMJp5dYshPxABRoZV1xbRirqSk8yuIIsu0nvMTZesKErEA3Oix1k+uvsk8Cs8TGJ6kQ0ndAcew== +"@typescript-eslint/type-utils@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.52.0.tgz#9fd28cd02e6f21f5109e35496df41893f33167aa" + integrity sha512-tEKuUHfDOv852QGlpPtB3lHOoig5pyFQN/cUiZtpw99D93nEBjexRLre5sQZlkMoHry/lZr8qDAt2oAHLKA6Jw== dependencies: - "@typescript-eslint/typescript-estree" "5.48.2" - "@typescript-eslint/utils" "5.48.2" + "@typescript-eslint/typescript-estree" "5.52.0" + "@typescript-eslint/utils" "5.52.0" debug "^4.3.4" tsutils "^3.21.0" @@ -1885,10 +1890,10 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.37.0.tgz#09e4870a5f3af7af3f84e08d792644a87d232261" integrity sha512-3frIJiTa5+tCb2iqR/bf7XwU20lnU05r/sgPJnRpwvfZaqCJBrl8Q/mw9vr3NrNdB/XtVyMA0eppRMMBqdJ1bA== -"@typescript-eslint/types@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.2.tgz#635706abb1ec164137f92148f06f794438c97b8e" - integrity sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA== +"@typescript-eslint/types@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.52.0.tgz#19e9abc6afb5bd37a1a9bea877a1a836c0b3241b" + integrity sha512-oV7XU4CHYfBhk78fS7tkum+/Dpgsfi91IIDy7fjCyq2k6KB63M6gMC0YIvy+iABzmXThCRI6xpCEyVObBdWSDQ== "@typescript-eslint/typescript-estree@5.37.0": version "5.37.0" @@ -1903,13 +1908,13 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/typescript-estree@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz#6e206b462942b32383582a6c9251c05021cc21b0" - integrity sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg== +"@typescript-eslint/typescript-estree@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.52.0.tgz#6408cb3c2ccc01c03c278cb201cf07e73347dfca" + integrity sha512-WeWnjanyEwt6+fVrSR0MYgEpUAuROxuAH516WPjUblIrClzYJj0kBbjdnbQXLpgAN8qbEuGywiQsXUVDiAoEuQ== dependencies: - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/visitor-keys" "5.48.2" + "@typescript-eslint/types" "5.52.0" + "@typescript-eslint/visitor-keys" "5.52.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -1928,16 +1933,16 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/utils@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.2.tgz#3777a91dcb22b8499a25519e06eef2e9569295a3" - integrity sha512-2h18c0d7jgkw6tdKTlNaM7wyopbLRBiit8oAxoP89YnuBOzCZ8g8aBCaCqq7h208qUTroL7Whgzam7UY3HVLow== +"@typescript-eslint/utils@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.52.0.tgz#b260bb5a8f6b00a0ed51db66bdba4ed5e4845a72" + integrity sha512-As3lChhrbwWQLNk2HC8Ree96hldKIqk98EYvypd3It8Q1f8d5zWyIoaZEp2va5667M4ZyE7X8UUR+azXrFl+NA== dependencies: "@types/json-schema" "^7.0.9" "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.48.2" - "@typescript-eslint/types" "5.48.2" - "@typescript-eslint/typescript-estree" "5.48.2" + "@typescript-eslint/scope-manager" "5.52.0" + "@typescript-eslint/types" "5.52.0" + "@typescript-eslint/typescript-estree" "5.52.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" semver "^7.3.7" @@ -1950,12 +1955,12 @@ "@typescript-eslint/types" "5.37.0" eslint-visitor-keys "^3.3.0" -"@typescript-eslint/visitor-keys@5.48.2": - version "5.48.2" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz#c247582a0bcce467461d7b696513bf9455000060" - integrity sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ== +"@typescript-eslint/visitor-keys@5.52.0": + version "5.52.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.52.0.tgz#e38c971259f44f80cfe49d97dbffa38e3e75030f" + integrity sha512-qMwpw6SU5VHCPr99y274xhbm+PRViK/NATY6qzt+Et7+mThGuFSl/ompj2/hrBlRP/kq+BFdgagnOSgw9TB0eA== dependencies: - "@typescript-eslint/types" "5.48.2" + "@typescript-eslint/types" "5.52.0" eslint-visitor-keys "^3.3.0" "@vitejs/plugin-vue@^2.3.1": @@ -1973,13 +1978,13 @@ estree-walker "^2.0.2" source-map "^0.6.1" -"@vue/compiler-core@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.45.tgz#d9311207d96f6ebd5f4660be129fb99f01ddb41b" - integrity sha512-rcMj7H+PYe5wBV3iYeUgbCglC+pbpN8hBLTJvRiK2eKQiWqu+fG9F+8sW99JdL4LQi7Re178UOxn09puSXvn4A== +"@vue/compiler-core@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.47.tgz#3e07c684d74897ac9aa5922c520741f3029267f8" + integrity sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig== dependencies: "@babel/parser" "^7.16.4" - "@vue/shared" "3.2.45" + "@vue/shared" "3.2.47" estree-walker "^2.0.2" source-map "^0.6.1" @@ -1991,13 +1996,13 @@ "@vue/compiler-core" "3.2.39" "@vue/shared" "3.2.39" -"@vue/compiler-dom@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.45.tgz#c43cc15e50da62ecc16a42f2622d25dc5fd97dce" - integrity sha512-tyYeUEuKqqZO137WrZkpwfPCdiiIeXYCcJ8L4gWz9vqaxzIQRccTSwSWZ/Axx5YR2z+LvpUbmPNXxuBU45lyRw== +"@vue/compiler-dom@3.2.47", "@vue/compiler-dom@^3.0.1": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz#a0b06caf7ef7056939e563dcaa9cbde30794f305" + integrity sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ== dependencies: - "@vue/compiler-core" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-core" "3.2.47" + "@vue/shared" "3.2.47" "@vue/compiler-sfc@3.2.39", "@vue/compiler-sfc@^3.2.0", "@vue/compiler-sfc@^3.2.31": version "3.2.39" @@ -2015,17 +2020,17 @@ postcss "^8.1.10" source-map "^0.6.1" -"@vue/compiler-sfc@3.2.45", "@vue/compiler-sfc@^3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.45.tgz#7f7989cc04ec9e7c55acd406827a2c4e96872c70" - integrity sha512-1jXDuWah1ggsnSAOGsec8cFjT/K6TMZ0sPL3o3d84Ft2AYZi2jWJgRMjw4iaK0rBfA89L5gw427H4n1RZQBu6Q== +"@vue/compiler-sfc@3.2.47", "@vue/compiler-sfc@^3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz#1bdc36f6cdc1643f72e2c397eb1a398f5004ad3d" + integrity sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ== dependencies: "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.45" - "@vue/compiler-dom" "3.2.45" - "@vue/compiler-ssr" "3.2.45" - "@vue/reactivity-transform" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-core" "3.2.47" + "@vue/compiler-dom" "3.2.47" + "@vue/compiler-ssr" "3.2.47" + "@vue/reactivity-transform" "3.2.47" + "@vue/shared" "3.2.47" estree-walker "^2.0.2" magic-string "^0.25.7" postcss "^8.1.10" @@ -2039,13 +2044,13 @@ "@vue/compiler-dom" "3.2.39" "@vue/shared" "3.2.39" -"@vue/compiler-ssr@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.45.tgz#bd20604b6e64ea15344d5b6278c4141191c983b2" - integrity sha512-6BRaggEGqhWht3lt24CrIbQSRD5O07MTmd+LjAn5fJj568+R9eUD2F7wMQJjX859seSlrYog7sUtrZSd7feqrQ== +"@vue/compiler-ssr@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz#35872c01a273aac4d6070ab9d8da918ab13057ee" + integrity sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw== dependencies: - "@vue/compiler-dom" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-dom" "3.2.47" + "@vue/shared" "3.2.47" "@vue/devtools-api@^6.1.4": version "6.2.1" @@ -2080,14 +2085,14 @@ estree-walker "^2.0.2" magic-string "^0.25.7" -"@vue/reactivity-transform@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.45.tgz#07ac83b8138550c83dfb50db43cde1e0e5e8124d" - integrity sha512-BHVmzYAvM7vcU5WmuYqXpwaBHjsS8T63jlKGWVtHxAHIoMIlmaMyurUSEs1Zcg46M4AYT5MtB1U274/2aNzjJQ== +"@vue/reactivity-transform@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz#e45df4d06370f8abf29081a16afd25cffba6d84e" + integrity sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA== dependencies: "@babel/parser" "^7.16.4" - "@vue/compiler-core" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-core" "3.2.47" + "@vue/shared" "3.2.47" estree-walker "^2.0.2" magic-string "^0.25.7" @@ -2098,12 +2103,12 @@ dependencies: "@vue/shared" "3.2.39" -"@vue/reactivity@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.45.tgz#412a45b574de601be5a4a5d9a8cbd4dee4662ff0" - integrity sha512-PRvhCcQcyEVohW0P8iQ7HDcIOXRjZfAsOds3N99X/Dzewy8TVhTCT4uXpAHfoKjVTJRA0O0K+6QNkDIZAxNi3A== +"@vue/reactivity@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.47.tgz#1d6399074eadfc3ed35c727e2fd707d6881140b6" + integrity sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ== dependencies: - "@vue/shared" "3.2.45" + "@vue/shared" "3.2.47" "@vue/runtime-core@3.2.39": version "3.2.39" @@ -2113,13 +2118,13 @@ "@vue/reactivity" "3.2.39" "@vue/shared" "3.2.39" -"@vue/runtime-core@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.45.tgz#7ad7ef9b2519d41062a30c6fa001ec43ac549c7f" - integrity sha512-gzJiTA3f74cgARptqzYswmoQx0fIA+gGYBfokYVhF8YSXjWTUA2SngRzZRku2HbGbjzB6LBYSbKGIaK8IW+s0A== +"@vue/runtime-core@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.47.tgz#406ebade3d5551c00fc6409bbc1eeb10f32e121d" + integrity sha512-RZxbLQIRB/K0ev0K9FXhNbBzT32H9iRtYbaXb0ZIz2usLms/D55dJR2t6cIEUn6vyhS3ALNvNthI+Q95C+NOpA== dependencies: - "@vue/reactivity" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/reactivity" "3.2.47" + "@vue/shared" "3.2.47" "@vue/runtime-dom@3.2.39": version "3.2.39" @@ -2130,13 +2135,13 @@ "@vue/shared" "3.2.39" csstype "^2.6.8" -"@vue/runtime-dom@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.45.tgz#1a2ef6ee2ad876206fbbe2a884554bba2d0faf59" - integrity sha512-cy88YpfP5Ue2bDBbj75Cb4bIEZUMM/mAkDMfqDTpUYVgTf/kuQ2VQ8LebuZ8k6EudgH8pYhsGWHlY0lcxlvTwA== +"@vue/runtime-dom@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.47.tgz#93e760eeaeab84dedfb7c3eaf3ed58d776299382" + integrity sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA== dependencies: - "@vue/runtime-core" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/runtime-core" "3.2.47" + "@vue/shared" "3.2.47" csstype "^2.6.8" "@vue/server-renderer@3.2.39", "@vue/server-renderer@^3.2.31": @@ -2147,33 +2152,37 @@ "@vue/compiler-ssr" "3.2.39" "@vue/shared" "3.2.39" -"@vue/server-renderer@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.45.tgz#ca9306a0c12b0530a1a250e44f4a0abac6b81f3f" - integrity sha512-ebiMq7q24WBU1D6uhPK//2OTR1iRIyxjF5iVq/1a5I1SDMDyDu4Ts6fJaMnjrvD3MqnaiFkKQj+LKAgz5WIK3g== +"@vue/server-renderer@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.47.tgz#8aa1d1871fc4eb5a7851aa7f741f8f700e6de3c0" + integrity sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA== dependencies: - "@vue/compiler-ssr" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-ssr" "3.2.47" + "@vue/shared" "3.2.47" "@vue/shared@3.2.39", "@vue/shared@^3.2.31": version "3.2.39" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.39.tgz#302df167559a1a5156da162d8cc6760cef67f8e3" integrity sha512-D3dl2ZB9qE6mTuWPk9RlhDeP1dgNRUKC3NJxji74A4yL8M2MwlhLKUC/49WHjrNzSPug58fWx/yFbaTzGAQSBw== -"@vue/shared@3.2.45": - version "3.2.45" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.45.tgz#a3fffa7489eafff38d984e23d0236e230c818bc2" - integrity sha512-Ewzq5Yhimg7pSztDV+RH1UDKBzmtqieXQlpTVm2AwraoRL/Rks96mvd8Vgi7Lj+h+TH8dv7mXD3FRZR3TUvbSg== +"@vue/shared@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.47.tgz#e597ef75086c6e896ff5478a6bfc0a7aa4bbd14c" + integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ== -"@vue/test-utils@^2.2.7": - version "2.2.7" - resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.2.7.tgz#0d93d635031a4cca2de70b825aef3fe20a41e702" - integrity sha512-BMuoruUFTEqhLoOgsMcgNVMiByYbfHCKGr2C4CPdGtz/affUtDVX5zr1RnPuq0tYSiaqq+Enw5voUpG6JY8Q7g== +"@vue/test-utils@^2.2.10": + version "2.2.10" + resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.2.10.tgz#d2a5e00c973c68818352aa01513dc6288d96d716" + integrity sha512-UPY+VdWST5vYZ/Qhl+sLuJAv596e6kTbrOPgdGY82qd9kGN/MfjzLT5KXlmpChkiCbPP3abZ8XT25u1n5h+mRg== + dependencies: + js-beautify "1.14.6" + optionalDependencies: + "@vue/compiler-dom" "^3.0.1" -"@vue/vue3-jest@28.0.1": - version "28.0.1" - resolved "https://registry.yarnpkg.com/@vue/vue3-jest/-/vue3-jest-28.0.1.tgz#ff04e6de6cac8fcc3797ab9bdd5d7884a17fbab7" - integrity sha512-fdzbp4HvU8dbo3Pup5sgll4R6hmBf5dHOjpLOFPiwwGnuA57g+Fe2u56nmBVYNd+XA4RInQobdBCl5GbnmhGhw== +"@vue/vue3-jest@29.2.2": + version "29.2.2" + resolved "https://registry.yarnpkg.com/@vue/vue3-jest/-/vue3-jest-29.2.2.tgz#fbae1865a280c5b2fa8a87d875e66ffd55026e55" + integrity sha512-cwREf/2RSOIzXVoKtLsF/VaGvq2iGHtUls+FxbU/4SUnBg9fgfbBancisifQPLoOvjdaYs9T20ho5b2EsNi2Lw== dependencies: "@babel/plugin-transform-modules-commonjs" "^7.2.0" chalk "^2.1.0" @@ -2446,40 +2455,45 @@ JSONStream@^1.0.4: jsonparse "^1.2.0" through ">=2.2.7 <3" -abab@^2.0.5, abab@^2.0.6: +abab@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== -abbrev@1: +abbrev@1, abbrev@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -acorn-globals@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" - integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== +acorn-globals@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-7.0.1.tgz#0dbf05c44fa7c94332914c02066d5beff62c40c3" + integrity sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q== dependencies: - acorn "^7.1.1" - acorn-walk "^7.1.1" + acorn "^8.1.0" + acorn-walk "^8.0.2" acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^7.1.1: - version "7.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" - integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== +acorn-walk@^8.0.2: + version "8.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== acorn@^7.1.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.5.0, acorn@^8.8.0: +acorn@^8.1.0, acorn@^8.8.1: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + +acorn@^8.8.0: version "8.8.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -2701,15 +2715,15 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== -babel-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-28.1.3.tgz#c1187258197c099072156a0a121c11ee1e3917d5" - integrity sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q== +babel-jest@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.4.3.tgz#478b84d430972b277ad67dd631be94abea676792" + integrity sha512-o45Wyn32svZE+LnMVWv/Z4x0SwtLbh4FyGcYtR20kIWd+rdrDZ9Fzq8Ml3MYLD+mZvEdzCjZsCnYZ2jpJyQ+Nw== dependencies: - "@jest/transform" "^28.1.3" + "@jest/transform" "^29.4.3" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.1.1" - babel-preset-jest "^28.1.3" + babel-preset-jest "^29.4.3" chalk "^4.0.0" graceful-fs "^4.2.9" slash "^3.0.0" @@ -2732,10 +2746,10 @@ babel-plugin-istanbul@^6.1.1: istanbul-lib-instrument "^5.0.4" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-28.1.3.tgz#1952c4d0ea50f2d6d794353762278d1d8cca3fbe" - integrity sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q== +babel-plugin-jest-hoist@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.4.3.tgz#ad1dfb5d31940957e00410ef7d9b2aa94b216101" + integrity sha512-mB6q2q3oahKphy5V7CpnNqZOCkxxZ9aokf1eh82Dy3jQmg4xvM1tGrh5y6BQUJh4a3Pj9+eLfwvAZ7VNKg7H8Q== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" @@ -2760,12 +2774,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-28.1.3.tgz#5dfc20b99abed5db994406c2b9ab94c73aaa419d" - integrity sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A== +babel-preset-jest@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.4.3.tgz#bb926b66ae253b69c6e3ef87511b8bb5c53c5b52" + integrity sha512-gWx6COtSuma6n9bw+8/F+2PCXrIgxV/D1TJFnp6OyBK2cxPWg0K9p/sriNYeifKjpUkMViWQ09DSWtzJQRETsw== dependencies: - babel-plugin-jest-hoist "^28.1.3" + babel-plugin-jest-hoist "^29.4.3" babel-preset-current-node-syntax "^1.0.0" babel-walk@3.0.0-canary-5: @@ -2838,11 +2852,6 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -browser-process-hrtime@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" - integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== - browserslist@^4.21.3: version "4.21.4" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.4.tgz#e7496bbc67b9e39dd0f98565feccdcb0d4ff6987" @@ -3005,7 +3014,7 @@ chardet@^0.7.0: resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chart.js@^3.4.0, chart.js@^3.8.2: +chart.js@^3.9.1: version "3.9.1" resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.9.1.tgz#3abf2c775169c4c71217a107163ac708515924b8" integrity sha512-Ro2JbLmvg83gXF5F4sniaQ+lTbSv18E+TIf2cOeiH1Iqd2PGFOtem+DUufMZsCJwFE7ywPOpfXFBwRTGq7dh6w== @@ -3156,6 +3165,11 @@ combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +commander@^2.19.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -3184,7 +3198,7 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -config-chain@^1.1.12: +config-chain@^1.1.12, config-chain@^1.1.13: version "1.1.13" resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== @@ -3292,13 +3306,18 @@ conventional-recommended-bump@^6.1.0: meow "^8.0.0" q "^1.5.1" -convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.8.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== dependencies: safe-buffer "~5.1.1" +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + core-util-is@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3388,7 +3407,7 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -data-urls@^3.0.1: +data-urls@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-3.0.2.tgz#9cf24a477ae22bcef5cd5f6f0bfbc1d2d3be9143" integrity sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ== @@ -3427,10 +3446,10 @@ decamelize@^1.1.0: resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== -decimal.js@^10.3.1: - version "10.4.1" - resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.1.tgz#be75eeac4a2281aace80c1a8753587c27ef053e7" - integrity sha512-F29o+vci4DodHYT9UrR5IEbfBw9pE5eSapIJdTqXK5+6hq+t8VRxwQyKlW2i+KDKFkkJQRvFyI/QXD83h8LyQw== +decimal.js@^10.4.2: + version "10.4.3" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== decode-uri-component@^0.2.0: version "0.2.0" @@ -3510,10 +3529,10 @@ dezalgo@^1.0.0: asap "^2.0.0" wrappy "1" -diff-sequences@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" - integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== +diff-sequences@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.4.3.tgz#9314bc1fabe09267ffeca9cbafc457d8499a13f2" + integrity sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA== dir-glob@^3.0.1: version "3.0.1" @@ -3568,15 +3587,25 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" +editorconfig@^0.15.3: + version "0.15.3" + resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-0.15.3.tgz#bef84c4e75fb8dcb0ce5cee8efd51c15999befc5" + integrity sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g== + dependencies: + commander "^2.19.0" + lru-cache "^4.1.5" + semver "^5.6.0" + sigmund "^1.0.1" + electron-to-chromium@^1.4.251: version "1.4.254" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.254.tgz#c6203583890abf88dfc0be046cd72d3b48f8beb6" integrity sha512-Sh/7YsHqQYkA6ZHuHMy24e6TE4eX6KZVsZb9E/DvU1nQRIrH4BflO/4k+83tfdYvDl+MObvlqHPRICzEdC9c6Q== -emittery@^0.10.2: - version "0.10.2" - resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.10.2.tgz#902eec8aedb8c41938c46e9385e9db7e03182933" - integrity sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw== +emittery@^0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" + integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== emoji-regex@^8.0.0: version "8.0.0" @@ -3590,6 +3619,11 @@ encoding@^0.1.12: dependencies: iconv-lite "^0.6.2" +entities@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.4.0.tgz#97bdaba170339446495e653cfd2db78962900174" + integrity sha512-oYp7156SP8LkeGD0GF85ad1X9Ai79WtRsZ2gxJqtBuzH+98YUV6jkHEKlZkMbcrjJjIVJNIDP/3WL9wQkoPbWA== + entities@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5" @@ -3877,10 +3911,10 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@8.32.0: - version "8.32.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.32.0.tgz#d9690056bb6f1a302bd991e7090f5b68fbaea861" - integrity sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ== +eslint@8.34.0: + version "8.34.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.34.0.tgz#fe0ab0ef478104c1f9ebc5537e303d25a8fb22d6" + integrity sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg== dependencies: "@eslint/eslintrc" "^1.4.1" "@humanwhocodes/config-array" "^0.11.8" @@ -4000,16 +4034,16 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== -expect@^28.0.0, expect@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/expect/-/expect-28.1.3.tgz#90a7c1a124f1824133dd4533cce2d2bdcb6603ec" - integrity sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g== +expect@^29.0.0, expect@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/expect/-/expect-29.4.3.tgz#5e47757316df744fe3b8926c3ae8a3ebdafff7fe" + integrity sha512-uC05+Q7eXECFpgDrHdXA4k2rpMyStAYPItEDLyQDo5Ta7fVkJnNA/4zh/OIVkVVNZ1oOK1PipQoyNjuZ6sz6Dg== dependencies: - "@jest/expect-utils" "^28.1.3" - jest-get-type "^28.0.2" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + "@jest/expect-utils" "^29.4.3" + jest-get-type "^29.4.3" + jest-matcher-utils "^29.4.3" + jest-message-util "^29.4.3" + jest-util "^29.4.3" extend-shallow@^2.0.1: version "2.0.1" @@ -4063,7 +4097,7 @@ fast-glob@^3.0.3, fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== @@ -4604,7 +4638,7 @@ http-signature@~1.2.0: jsprim "^1.2.2" sshpk "^1.7.0" -https-proxy-agent@^5.0.0: +https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -5073,377 +5107,390 @@ jest-canvas-mock@^2.4.0: cssfontparser "^1.2.1" moo-color "^1.0.2" -jest-changed-files@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-28.1.3.tgz#d9aeee6792be3686c47cb988a8eaf82ff4238831" - integrity sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA== +jest-changed-files@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.4.3.tgz#7961fe32536b9b6d5c28dfa0abcfab31abcf50a7" + integrity sha512-Vn5cLuWuwmi2GNNbokPOEcvrXGSGrqVnPEZV7rC6P7ck07Dyw9RFnvWglnupSh+hGys0ajGtw/bc2ZgweljQoQ== dependencies: execa "^5.0.0" p-limit "^3.1.0" -jest-circus@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-28.1.3.tgz#d14bd11cf8ee1a03d69902dc47b6bd4634ee00e4" - integrity sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow== +jest-circus@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.4.3.tgz#fff7be1cf5f06224dd36a857d52a9efeb005ba04" + integrity sha512-Vw/bVvcexmdJ7MLmgdT3ZjkJ3LKu8IlpefYokxiqoZy6OCQ2VAm6Vk3t/qHiAGUXbdbJKJWnc8gH3ypTbB/OBw== dependencies: - "@jest/environment" "^28.1.3" - "@jest/expect" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/environment" "^29.4.3" + "@jest/expect" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" is-generator-fn "^2.0.0" - jest-each "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-runtime "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" + jest-each "^29.4.3" + jest-matcher-utils "^29.4.3" + jest-message-util "^29.4.3" + jest-runtime "^29.4.3" + jest-snapshot "^29.4.3" + jest-util "^29.4.3" p-limit "^3.1.0" - pretty-format "^28.1.3" + pretty-format "^29.4.3" slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-28.1.3.tgz#558b33c577d06de55087b8448d373b9f654e46b2" - integrity sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ== +jest-cli@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.4.3.tgz#fe31fdd0c90c765f392b8b7c97e4845071cd2163" + integrity sha512-PiiAPuFNfWWolCE6t3ZrDXQc6OsAuM3/tVW0u27UWc1KE+n/HSn5dSE6B2juqN7WP+PP0jAcnKtGmI4u8GMYCg== dependencies: - "@jest/core" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/core" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/types" "^29.4.3" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.9" import-local "^3.0.2" - jest-config "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-config "^29.4.3" + jest-util "^29.4.3" + jest-validate "^29.4.3" prompts "^2.0.1" yargs "^17.3.1" -jest-config@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-28.1.3.tgz#e315e1f73df3cac31447eed8b8740a477392ec60" - integrity sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ== +jest-config@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.4.3.tgz#fca9cdfe6298ae6d04beef1624064d455347c978" + integrity sha512-eCIpqhGnIjdUCXGtLhz4gdDoxKSWXKjzNcc5r+0S1GKOp2fwOipx5mRcwa9GB/ArsxJ1jlj2lmlD9bZAsBxaWQ== dependencies: "@babel/core" "^7.11.6" - "@jest/test-sequencer" "^28.1.3" - "@jest/types" "^28.1.3" - babel-jest "^28.1.3" + "@jest/test-sequencer" "^29.4.3" + "@jest/types" "^29.4.3" + babel-jest "^29.4.3" chalk "^4.0.0" ci-info "^3.2.0" deepmerge "^4.2.2" glob "^7.1.3" graceful-fs "^4.2.9" - jest-circus "^28.1.3" - jest-environment-node "^28.1.3" - jest-get-type "^28.0.2" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-runner "^28.1.3" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-circus "^29.4.3" + jest-environment-node "^29.4.3" + jest-get-type "^29.4.3" + jest-regex-util "^29.4.3" + jest-resolve "^29.4.3" + jest-runner "^29.4.3" + jest-util "^29.4.3" + jest-validate "^29.4.3" micromatch "^4.0.4" parse-json "^5.2.0" - pretty-format "^28.1.3" + pretty-format "^29.4.3" slash "^3.0.0" strip-json-comments "^3.1.1" -jest-diff@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-28.1.3.tgz#948a192d86f4e7a64c5264ad4da4877133d8792f" - integrity sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw== +jest-diff@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.4.3.tgz#42f4eb34d0bf8c0fb08b0501069b87e8e84df347" + integrity sha512-YB+ocenx7FZ3T5O9lMVMeLYV4265socJKtkwgk/6YUz/VsEzYDkiMuMhWzZmxm3wDRQvayJu/PjkjjSkjoHsCA== dependencies: chalk "^4.0.0" - diff-sequences "^28.1.1" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + diff-sequences "^29.4.3" + jest-get-type "^29.4.3" + pretty-format "^29.4.3" -jest-docblock@^28.1.1: - version "28.1.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-28.1.1.tgz#6f515c3bf841516d82ecd57a62eed9204c2f42a8" - integrity sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA== +jest-docblock@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.4.3.tgz#90505aa89514a1c7dceeac1123df79e414636ea8" + integrity sha512-fzdTftThczeSD9nZ3fzA/4KkHtnmllawWrXO69vtI+L9WjEIuXWs4AmyME7lN5hU7dB0sHhuPfcKofRsUb/2Fg== dependencies: detect-newline "^3.0.0" -jest-each@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-28.1.3.tgz#bdd1516edbe2b1f3569cfdad9acd543040028f81" - integrity sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g== +jest-each@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.4.3.tgz#a434c199a2f6151c5e3dc80b2d54586bdaa72819" + integrity sha512-1ElHNAnKcbJb/b+L+7j0/w7bDvljw4gTv1wL9fYOczeJrbTbkMGQ5iQPFJ3eFQH19VPTx1IyfePdqSpePKss7Q== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" chalk "^4.0.0" - jest-get-type "^28.0.2" - jest-util "^28.1.3" - pretty-format "^28.1.3" - -jest-environment-jsdom@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-28.1.3.tgz#2d4e5d61b7f1d94c3bddfbb21f0308ee506c09fb" - integrity sha512-HnlGUmZRdxfCByd3GM2F100DgQOajUBzEitjGqIREcb45kGjZvRrKUdlaF6escXBdcXNl0OBh+1ZrfeZT3GnAg== - dependencies: - "@jest/environment" "^28.1.3" - "@jest/fake-timers" "^28.1.3" - "@jest/types" "^28.1.3" - "@types/jsdom" "^16.2.4" + jest-get-type "^29.4.3" + jest-util "^29.4.3" + pretty-format "^29.4.3" + +jest-environment-jsdom@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-29.4.3.tgz#bd8ed3808e6d3f616403fbaf8354f77019613d90" + integrity sha512-rFjf8JXrw3OjUzzmSE5l0XjMj0/MSVEUMCSXBGPDkfwb1T03HZI7iJSL0cGctZApPSyJxbjyKDVxkZuyhHkuTw== + dependencies: + "@jest/environment" "^29.4.3" + "@jest/fake-timers" "^29.4.3" + "@jest/types" "^29.4.3" + "@types/jsdom" "^20.0.0" "@types/node" "*" - jest-mock "^28.1.3" - jest-util "^28.1.3" - jsdom "^19.0.0" - -jest-environment-node@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-28.1.3.tgz#7e74fe40eb645b9d56c0c4b70ca4357faa349be5" - integrity sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A== - dependencies: - "@jest/environment" "^28.1.3" - "@jest/fake-timers" "^28.1.3" - "@jest/types" "^28.1.3" + jest-mock "^29.4.3" + jest-util "^29.4.3" + jsdom "^20.0.0" + +jest-environment-node@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.4.3.tgz#579c4132af478befc1889ddc43c2413a9cdbe014" + integrity sha512-gAiEnSKF104fsGDXNkwk49jD/0N0Bqu2K9+aMQXA6avzsA9H3Fiv1PW2D+gzbOSR705bWd2wJZRFEFpV0tXISg== + dependencies: + "@jest/environment" "^29.4.3" + "@jest/fake-timers" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" - jest-mock "^28.1.3" - jest-util "^28.1.3" + jest-mock "^29.4.3" + jest-util "^29.4.3" -jest-get-type@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-28.0.2.tgz#34622e628e4fdcd793d46db8a242227901fcf203" - integrity sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA== +jest-get-type@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.4.3.tgz#1ab7a5207c995161100b5187159ca82dd48b3dd5" + integrity sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg== -jest-haste-map@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" - integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== +jest-haste-map@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.4.3.tgz#085a44283269e7ace0645c63a57af0d2af6942e2" + integrity sha512-eZIgAS8tvm5IZMtKlR8Y+feEOMfo2pSQkmNbufdbMzMSn9nitgGxF1waM/+LbryO3OkMcKS98SUb+j/cQxp/vQ== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" "@types/graceful-fs" "^4.1.3" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.9" - jest-regex-util "^28.0.2" - jest-util "^28.1.3" - jest-worker "^28.1.3" + jest-regex-util "^29.4.3" + jest-util "^29.4.3" + jest-worker "^29.4.3" micromatch "^4.0.4" walker "^1.0.8" optionalDependencies: fsevents "^2.3.2" -jest-leak-detector@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-28.1.3.tgz#a6685d9b074be99e3adee816ce84fd30795e654d" - integrity sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA== +jest-leak-detector@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.4.3.tgz#2b35191d6b35aa0256e63a9b79b0f949249cf23a" + integrity sha512-9yw4VC1v2NspMMeV3daQ1yXPNxMgCzwq9BocCwYrRgXe4uaEJPAN0ZK37nFBhcy3cUwEVstFecFLaTHpF7NiGA== dependencies: - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + jest-get-type "^29.4.3" + pretty-format "^29.4.3" -jest-matcher-utils@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-28.1.3.tgz#5a77f1c129dd5ba3b4d7fc20728806c78893146e" - integrity sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw== +jest-matcher-utils@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.4.3.tgz#ea68ebc0568aebea4c4213b99f169ff786df96a0" + integrity sha512-TTciiXEONycZ03h6R6pYiZlSkvYgT0l8aa49z/DLSGYjex4orMUcafuLXYyyEDWB1RKglq00jzwY00Ei7yFNVg== dependencies: chalk "^4.0.0" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - pretty-format "^28.1.3" + jest-diff "^29.4.3" + jest-get-type "^29.4.3" + pretty-format "^29.4.3" -jest-message-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-28.1.3.tgz#232def7f2e333f1eecc90649b5b94b0055e7c43d" - integrity sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g== +jest-message-util@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.4.3.tgz#65b5280c0fdc9419503b49d4f48d4999d481cb5b" + integrity sha512-1Y8Zd4ZCN7o/QnWdMmT76If8LuDv23Z1DRovBj/vcSFNlGCJGoO8D1nJDw1AdyAGUk0myDLFGN5RbNeJyCRGCw== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.9" micromatch "^4.0.4" - pretty-format "^28.1.3" + pretty-format "^29.4.3" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-28.1.3.tgz#d4e9b1fc838bea595c77ab73672ebf513ab249da" - integrity sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA== +jest-mock@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.4.3.tgz#23d84a20a74cdfff0510fdbeefb841ed57b0fe7e" + integrity sha512-LjFgMg+xed9BdkPMyIJh+r3KeHt1klXPJYBULXVVAkbTaaKjPX1o1uVCAZADMEp/kOxGTwy/Ot8XbvgItOrHEg== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" "@types/node" "*" + jest-util "^29.4.3" jest-pnp-resolver@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^28.0.2: - version "28.0.2" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" - integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== +jest-regex-util@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.4.3.tgz#a42616141e0cae052cfa32c169945d00c0aa0bb8" + integrity sha512-O4FglZaMmWXbGHSQInfXewIsd1LMn9p3ZXB/6r4FOkyhX2/iP/soMG98jGvk/A3HAN78+5VWcBGO0BJAPRh4kg== -jest-resolve-dependencies@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-28.1.3.tgz#8c65d7583460df7275c6ea2791901fa975c1fe66" - integrity sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA== +jest-resolve-dependencies@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.4.3.tgz#9ad7f23839a6d88cef91416bda9393a6e9fd1da5" + integrity sha512-uvKMZAQ3nmXLH7O8WAOhS5l0iWyT3WmnJBdmIHiV5tBbdaDZ1wqtNX04FONGoaFvSOSHBJxnwAVnSn1WHdGVaw== dependencies: - jest-regex-util "^28.0.2" - jest-snapshot "^28.1.3" + jest-regex-util "^29.4.3" + jest-snapshot "^29.4.3" -jest-resolve@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-28.1.3.tgz#cfb36100341ddbb061ec781426b3c31eb51aa0a8" - integrity sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ== +jest-resolve@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.4.3.tgz#3c5b5c984fa8a763edf9b3639700e1c7900538e2" + integrity sha512-GPokE1tzguRyT7dkxBim4wSx6E45S3bOQ7ZdKEG+Qj0Oac9+6AwJPCk0TZh5Vu0xzeX4afpb+eDmgbmZFFwpOw== dependencies: chalk "^4.0.0" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" + jest-haste-map "^29.4.3" jest-pnp-resolver "^1.2.2" - jest-util "^28.1.3" - jest-validate "^28.1.3" + jest-util "^29.4.3" + jest-validate "^29.4.3" resolve "^1.20.0" - resolve.exports "^1.1.0" + resolve.exports "^2.0.0" slash "^3.0.0" -jest-runner@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-28.1.3.tgz#5eee25febd730b4713a2cdfd76bdd5557840f9a1" - integrity sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA== +jest-runner@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.4.3.tgz#68dc82c68645eda12bea42b5beece6527d7c1e5e" + integrity sha512-GWPTEiGmtHZv1KKeWlTX9SIFuK19uLXlRQU43ceOQ2hIfA5yPEJC7AMkvFKpdCHx6pNEdOD+2+8zbniEi3v3gA== dependencies: - "@jest/console" "^28.1.3" - "@jest/environment" "^28.1.3" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/console" "^29.4.3" + "@jest/environment" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/transform" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" chalk "^4.0.0" - emittery "^0.10.2" + emittery "^0.13.1" graceful-fs "^4.2.9" - jest-docblock "^28.1.1" - jest-environment-node "^28.1.3" - jest-haste-map "^28.1.3" - jest-leak-detector "^28.1.3" - jest-message-util "^28.1.3" - jest-resolve "^28.1.3" - jest-runtime "^28.1.3" - jest-util "^28.1.3" - jest-watcher "^28.1.3" - jest-worker "^28.1.3" + jest-docblock "^29.4.3" + jest-environment-node "^29.4.3" + jest-haste-map "^29.4.3" + jest-leak-detector "^29.4.3" + jest-message-util "^29.4.3" + jest-resolve "^29.4.3" + jest-runtime "^29.4.3" + jest-util "^29.4.3" + jest-watcher "^29.4.3" + jest-worker "^29.4.3" p-limit "^3.1.0" source-map-support "0.5.13" -jest-runtime@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-28.1.3.tgz#a57643458235aa53e8ec7821949e728960d0605f" - integrity sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw== - dependencies: - "@jest/environment" "^28.1.3" - "@jest/fake-timers" "^28.1.3" - "@jest/globals" "^28.1.3" - "@jest/source-map" "^28.1.2" - "@jest/test-result" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" +jest-runtime@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.4.3.tgz#f25db9874dcf35a3ab27fdaabca426666cc745bf" + integrity sha512-F5bHvxSH+LvLV24vVB3L8K467dt3y3dio6V3W89dUz9nzvTpqd/HcT9zfYKL2aZPvD63vQFgLvaUX/UpUhrP6Q== + dependencies: + "@jest/environment" "^29.4.3" + "@jest/fake-timers" "^29.4.3" + "@jest/globals" "^29.4.3" + "@jest/source-map" "^29.4.3" + "@jest/test-result" "^29.4.3" + "@jest/transform" "^29.4.3" + "@jest/types" "^29.4.3" + "@types/node" "*" chalk "^4.0.0" cjs-module-lexer "^1.0.0" collect-v8-coverage "^1.0.0" - execa "^5.0.0" glob "^7.1.3" graceful-fs "^4.2.9" - jest-haste-map "^28.1.3" - jest-message-util "^28.1.3" - jest-mock "^28.1.3" - jest-regex-util "^28.0.2" - jest-resolve "^28.1.3" - jest-snapshot "^28.1.3" - jest-util "^28.1.3" + jest-haste-map "^29.4.3" + jest-message-util "^29.4.3" + jest-mock "^29.4.3" + jest-regex-util "^29.4.3" + jest-resolve "^29.4.3" + jest-snapshot "^29.4.3" + jest-util "^29.4.3" slash "^3.0.0" strip-bom "^4.0.0" -jest-snapshot@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-28.1.3.tgz#17467b3ab8ddb81e2f605db05583d69388fc0668" - integrity sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg== +jest-snapshot@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.4.3.tgz#183d309371450d9c4a3de7567ed2151eb0e91145" + integrity sha512-NGlsqL0jLPDW91dz304QTM/SNO99lpcSYYAjNiX0Ou+sSGgkanKBcSjCfp/pqmiiO1nQaOyLp6XQddAzRcx3Xw== dependencies: "@babel/core" "^7.11.6" "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-jsx" "^7.7.2" "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.3.3" - "@jest/expect-utils" "^28.1.3" - "@jest/transform" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/expect-utils" "^29.4.3" + "@jest/transform" "^29.4.3" + "@jest/types" "^29.4.3" "@types/babel__traverse" "^7.0.6" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^28.1.3" + expect "^29.4.3" graceful-fs "^4.2.9" - jest-diff "^28.1.3" - jest-get-type "^28.0.2" - jest-haste-map "^28.1.3" - jest-matcher-utils "^28.1.3" - jest-message-util "^28.1.3" - jest-util "^28.1.3" + jest-diff "^29.4.3" + jest-get-type "^29.4.3" + jest-haste-map "^29.4.3" + jest-matcher-utils "^29.4.3" + jest-message-util "^29.4.3" + jest-util "^29.4.3" natural-compare "^1.4.0" - pretty-format "^28.1.3" + pretty-format "^29.4.3" semver "^7.3.5" -jest-util@^28.0.0, jest-util@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" - integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== +jest-util@^29.0.0, jest-util@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.4.3.tgz#851a148e23fc2b633c55f6dad2e45d7f4579f496" + integrity sha512-ToSGORAz4SSSoqxDSylWX8JzkOQR7zoBtNRsA7e+1WUX5F8jrOwaNpuh1YfJHJKDHXLHmObv5eOjejUd+/Ws+Q== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" "@types/node" "*" chalk "^4.0.0" ci-info "^3.2.0" graceful-fs "^4.2.9" picomatch "^2.2.3" -jest-validate@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-28.1.3.tgz#e322267fd5e7c64cea4629612c357bbda96229df" - integrity sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA== +jest-validate@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.4.3.tgz#a13849dec4f9e95446a7080ad5758f58fa88642f" + integrity sha512-J3u5v7aPQoXPzaar6GndAVhdQcZr/3osWSgTeKg5v574I9ybX/dTyH0AJFb5XgXIB7faVhf+rS7t4p3lL9qFaw== dependencies: - "@jest/types" "^28.1.3" + "@jest/types" "^29.4.3" camelcase "^6.2.0" chalk "^4.0.0" - jest-get-type "^28.0.2" + jest-get-type "^29.4.3" leven "^3.1.0" - pretty-format "^28.1.3" + pretty-format "^29.4.3" -jest-watcher@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-28.1.3.tgz#c6023a59ba2255e3b4c57179fc94164b3e73abd4" - integrity sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g== +jest-watcher@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.4.3.tgz#e503baa774f0c2f8f3c8db98a22ebf885f19c384" + integrity sha512-zwlXH3DN3iksoIZNk73etl1HzKyi5FuQdYLnkQKm5BW4n8HpoG59xSwpVdFrnh60iRRaRBGw0gcymIxjJENPcA== dependencies: - "@jest/test-result" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/test-result" "^29.4.3" + "@jest/types" "^29.4.3" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - emittery "^0.10.2" - jest-util "^28.1.3" + emittery "^0.13.1" + jest-util "^29.4.3" string-length "^4.0.1" -jest-worker@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" - integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== +jest-worker@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.4.3.tgz#9a4023e1ea1d306034237c7133d7da4240e8934e" + integrity sha512-GLHN/GTAAMEy5BFdvpUfzr9Dr80zQqBrh0fz1mtRMe05hqP45+HfQltu7oTBfduD0UeZs09d+maFtFYAXFWvAA== dependencies: "@types/node" "*" + jest-util "^29.4.3" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/jest/-/jest-28.1.3.tgz#e9c6a7eecdebe3548ca2b18894a50f45b36dfc6b" - integrity sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA== +jest@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/jest/-/jest-29.4.3.tgz#1b8be541666c6feb99990fd98adac4737e6e6386" + integrity sha512-XvK65feuEFGZT8OO0fB/QAQS+LGHvQpaadkH5p47/j3Ocqq3xf2pK9R+G0GzgfuhXVxEv76qCOOcMb5efLk6PA== dependencies: - "@jest/core" "^28.1.3" - "@jest/types" "^28.1.3" + "@jest/core" "^29.4.3" + "@jest/types" "^29.4.3" import-local "^3.0.2" - jest-cli "^28.1.3" + jest-cli "^29.4.3" + +js-beautify@1.14.6: + version "1.14.6" + resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.14.6.tgz#b23ca5d74a462c282c7711bb51150bcc97f2b507" + integrity sha512-GfofQY5zDp+cuHc+gsEXKPpNw2KbPddreEo35O6jT6i0RVK6LhsoYBhq5TvK4/n74wnA0QbK8gGd+jUZwTMKJw== + dependencies: + config-chain "^1.1.13" + editorconfig "^0.15.3" + glob "^8.0.3" + nopt "^6.0.0" js-sdsl@^4.1.4: version "4.1.4" @@ -5480,37 +5527,36 @@ jsbn@~0.1.0: resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== -jsdom@^19.0.0: - version "19.0.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-19.0.0.tgz#93e67c149fe26816d38a849ea30ac93677e16b6a" - integrity sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A== +jsdom@^20.0.0: + version "20.0.3" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-20.0.3.tgz#886a41ba1d4726f67a8858028c99489fed6ad4db" + integrity sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ== dependencies: - abab "^2.0.5" - acorn "^8.5.0" - acorn-globals "^6.0.0" + abab "^2.0.6" + acorn "^8.8.1" + acorn-globals "^7.0.0" cssom "^0.5.0" cssstyle "^2.3.0" - data-urls "^3.0.1" - decimal.js "^10.3.1" + data-urls "^3.0.2" + decimal.js "^10.4.2" domexception "^4.0.0" escodegen "^2.0.0" form-data "^4.0.0" html-encoding-sniffer "^3.0.0" http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.1" is-potential-custom-element-name "^1.0.1" - nwsapi "^2.2.0" - parse5 "6.0.1" - saxes "^5.0.1" + nwsapi "^2.2.2" + parse5 "^7.1.1" + saxes "^6.0.0" symbol-tree "^3.2.4" - tough-cookie "^4.0.0" - w3c-hr-time "^1.0.2" - w3c-xmlserializer "^3.0.0" + tough-cookie "^4.1.2" + w3c-xmlserializer "^4.0.0" webidl-conversions "^7.0.0" whatwg-encoding "^2.0.0" whatwg-mimetype "^3.0.0" - whatwg-url "^10.0.0" - ws "^8.2.3" + whatwg-url "^11.0.0" + ws "^8.11.0" xml-name-validator "^4.0.0" jsesc@^2.5.1: @@ -5553,6 +5599,11 @@ json5@^2.2.1: resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c" integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA== +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" @@ -6234,6 +6285,13 @@ nopt@^5.0.0: dependencies: abbrev "1" +nopt@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" + integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== + dependencies: + abbrev "^1.0.0" + normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -6391,7 +6449,7 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== -nwsapi@^2.2.0: +nwsapi@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.2.tgz#e5418863e7905df67d51ec95938d67bf801f0bb0" integrity sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw== @@ -6678,10 +6736,12 @@ parse-url@^6.0.0: parse-path "^4.0.0" protocols "^1.4.0" -parse5@6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" - integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== +parse5@^7.0.0, parse5@^7.1.1: + version "7.1.2" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" + integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw== + dependencies: + entities "^4.4.0" path-exists@^3.0.0: version "3.0.0" @@ -6825,18 +6885,17 @@ prettier@^1.19.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== -prettier@^2.8.3: - version "2.8.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" - integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== +prettier@^2.8.4: + version "2.8.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3" + integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw== -pretty-format@^28.0.0, pretty-format@^28.1.3: - version "28.1.3" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-28.1.3.tgz#c9fba8cedf99ce50963a11b27d982a9ae90970d5" - integrity sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q== +pretty-format@^29.0.0, pretty-format@^29.4.3: + version "29.4.3" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.4.3.tgz#25500ada21a53c9e8423205cf0337056b201244c" + integrity sha512-cvpcHTc42lcsvOOAzd3XuNWTcvk1Jmnzqeu+WsOuiPmxUJTnkbAcFNsRKvEpBEUFVUgy/GTZLulZDcDEi+CIlA== dependencies: - "@jest/schemas" "^28.1.3" - ansi-regex "^5.0.1" + "@jest/schemas" "^29.4.3" ansi-styles "^5.0.0" react-is "^18.0.0" @@ -7284,10 +7343,10 @@ resolve-from@^5.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== -resolve.exports@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" - integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== +resolve.exports@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.0.tgz#c1a0028c2d166ec2fbf7d0644584927e76e7400e" + integrity sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg== resolve@^1.10.0, resolve@^1.15.1, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1: version "1.22.1" @@ -7323,7 +7382,7 @@ rimraf@^2.6.3: dependencies: glob "^7.1.3" -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -7365,10 +7424,10 @@ rollup@^2.70.1: optionalDependencies: fsevents "~2.3.2" -rollup@^3.10.0: - version "3.10.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.10.0.tgz#6eb19196d8b3b375ca651cb78261faac48e24cd6" - integrity sha512-JmRYz44NjC1MjVF2VKxc0M1a97vn+cDxeqWmnwyAF4FvpjK8YFdHpaqvQB+3IxCvX05vJxKZkoMDU8TShhmJVA== +rollup@^3.15.0: + version "3.15.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.15.0.tgz#6f4105e8c4b8145229657b74ad660b02fbfacc05" + integrity sha512-F9hrCAhnp5/zx/7HYmftvsNBkMfLfk/dXUh73hPSM2E3CRgap65orDNJbLetoiUFwSAk6iHPLvBrZ5iHYvzqsg== optionalDependencies: fsevents "~2.3.2" @@ -7423,10 +7482,10 @@ sass@^1.49.10: immutable "^4.0.0" source-map-js ">=0.6.2 <2.0.0" -saxes@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" - integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== +saxes@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-6.0.0.tgz#fe5b4a4768df4f14a201b1ba6a65c1f3d9988cc5" + integrity sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA== dependencies: xmlchars "^2.2.0" @@ -7488,6 +7547,11 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +sigmund@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590" + integrity sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g== + signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" @@ -7790,7 +7854,7 @@ supports-color@^5.3.0: dependencies: has-flag "^3.0.0" -supports-color@^7.0.0, supports-color@^7.1.0: +supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== @@ -7804,14 +7868,6 @@ supports-color@^8.0.0: dependencies: has-flag "^4.0.0" -supports-hyperlinks@^2.0.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" - integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== - dependencies: - has-flag "^4.0.0" - supports-color "^7.0.0" - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -7863,14 +7919,6 @@ temp-write@^4.0.0: temp-dir "^1.0.0" uuid "^3.3.2" -terminal-link@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" - integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== - dependencies: - ansi-escapes "^4.2.1" - supports-hyperlinks "^2.0.0" - test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -7944,7 +7992,7 @@ toml@^3.0.0: resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee" integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w== -tough-cookie@^4.0.0: +tough-cookie@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.2.tgz#e53e84b85f24e0b65dd526f46628db6c85f6b874" integrity sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ== @@ -7991,15 +8039,15 @@ ts-debounce@^4.0.0: resolved "https://registry.yarnpkg.com/ts-debounce/-/ts-debounce-4.0.0.tgz#33440ef64fab53793c3d546a8ca6ae539ec15841" integrity sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg== -ts-jest@^28.0.8: - version "28.0.8" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-28.0.8.tgz#cd204b8e7a2f78da32cf6c95c9a6165c5b99cc73" - integrity sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg== +ts-jest@^29.0.5: + version "29.0.5" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.0.5.tgz#c5557dcec8fe434fcb8b70c3e21c6b143bfce066" + integrity sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" - jest-util "^28.0.0" - json5 "^2.2.1" + jest-util "^29.0.0" + json5 "^2.2.3" lodash.memoize "4.x" make-error "1.x" semver "7.x" @@ -8110,10 +8158,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@^4.9.4: - version "4.9.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78" - integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== +typescript@^4.9.5: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" @@ -8291,10 +8339,10 @@ vue-docgen-api@^4.45.0: ts-map "^1.0.3" vue-inbrowser-compiler-independent-utils "^4.52.0" -vue-docgen-cli@^4.56.1: - version "4.56.1" - resolved "https://registry.yarnpkg.com/vue-docgen-cli/-/vue-docgen-cli-4.56.1.tgz#bd226a6a078cedec8b6b6f6dc3828ab03e57a88e" - integrity sha512-JwZ/6UBDvhRjK3VEm7SAYrr7DE67+2iknH12j5TpP83nQFRgd6gLkciG1ge5xV3Q83IIzsA8NncY5sE29DwHYQ== +vue-docgen-cli@^4.57.1: + version "4.57.1" + resolved "https://registry.yarnpkg.com/vue-docgen-cli/-/vue-docgen-cli-4.57.1.tgz#d503ee699f34c418e850511b8e790a66b59b8c04" + integrity sha512-40RRLdEMG9YLIYlGVQmJQm14iOrt4Ju9438GqdObHmxMBeFL4IgsDHqWkcdqMR9bfsprymIhukphoFxUERbUJg== dependencies: chokidar "^3.5.1" globby "^10.0.2" @@ -8347,16 +8395,16 @@ vue@^3.2.31: "@vue/server-renderer" "3.2.39" "@vue/shared" "3.2.39" -vue@^3.2.45: - version "3.2.45" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.45.tgz#94a116784447eb7dbd892167784619fef379b3c8" - integrity sha512-9Nx/Mg2b2xWlXykmCwiTUCWHbWIj53bnkizBxKai1g61f2Xit700A1ljowpTIM11e3uipOeiPcSqnmBg6gyiaA== +vue@^3.2.47: + version "3.2.47" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.47.tgz#3eb736cbc606fc87038dbba6a154707c8a34cff0" + integrity sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ== dependencies: - "@vue/compiler-dom" "3.2.45" - "@vue/compiler-sfc" "3.2.45" - "@vue/runtime-dom" "3.2.45" - "@vue/server-renderer" "3.2.45" - "@vue/shared" "3.2.45" + "@vue/compiler-dom" "3.2.47" + "@vue/compiler-sfc" "3.2.47" + "@vue/runtime-dom" "3.2.47" + "@vue/server-renderer" "3.2.47" + "@vue/shared" "3.2.47" vuepress-vite@2.0.0-beta.38: version "2.0.0-beta.38" @@ -8375,17 +8423,10 @@ vuepress@2.0.0-beta.38: dependencies: vuepress-vite "2.0.0-beta.38" -w3c-hr-time@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" - integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== - dependencies: - browser-process-hrtime "^1.0.0" - -w3c-xmlserializer@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-3.0.0.tgz#06cdc3eefb7e4d0b20a560a5a3aeb0d2d9a65923" - integrity sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg== +w3c-xmlserializer@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz#aebdc84920d806222936e3cdce408e32488a3073" + integrity sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw== dependencies: xml-name-validator "^4.0.0" @@ -8430,14 +8471,6 @@ whatwg-mimetype@^3.0.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz#5fa1a7623867ff1af6ca3dc72ad6b8a4208beba7" integrity sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q== -whatwg-url@^10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-10.0.0.tgz#37264f720b575b4a311bd4094ed8c760caaa05da" - integrity sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w== - dependencies: - tr46 "^3.0.0" - webidl-conversions "^7.0.0" - whatwg-url@^11.0.0: version "11.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" @@ -8548,7 +8581,7 @@ write-file-atomic@^3.0.0, write-file-atomic@^3.0.3: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write-file-atomic@^4.0.1: +write-file-atomic@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -8589,10 +8622,10 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -ws@^8.2.3: - version "8.8.1" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.8.1.tgz#5dbad0feb7ade8ecc99b830c1d77c913d4955ff0" - integrity sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA== +ws@^8.11.0: + version "8.12.1" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.1.tgz#c51e583d79140b5e42e39be48c934131942d4a8f" + integrity sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew== xml-name-validator@^4.0.0: version "4.0.0" From 5016bc109d98d913e2eff7724ec84ac851e5794e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 15 Feb 2023 15:11:15 +0100 Subject: [PATCH 023/302] docs: update API documentation --- .../src/components/offcanvas/COffcanvas.ts | 1 + packages/docs/api/modal/CModal.api.md | 2 +- packages/docs/api/offcanvas/COffcanvas.api.md | 15 ++++---- packages/docs/api/table/CTable.api.md | 36 +++++++++---------- 4 files changed, 28 insertions(+), 26 deletions(-) diff --git a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts index b2ed8564..f8589911 100644 --- a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts +++ b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts @@ -50,6 +50,7 @@ const COffcanvas = defineComponent({ * Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down. * * @values boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' + * @since 4.7.0 */ responsive: { type: [Boolean, String], diff --git a/packages/docs/api/modal/CModal.api.md b/packages/docs/api/modal/CModal.api.md index 11872ba7..f59e26d4 100644 --- a/packages/docs/api/modal/CModal.api.md +++ b/packages/docs/api/modal/CModal.api.md @@ -11,7 +11,7 @@ import CModal from '@coreui/vue/src/components/modal/CModal' | Prop name | Description | Type | Values | Default | | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------- | ------- | | **alignment** | Align the modal in the center or top of the screen. | string | `'top'`, `'center'` | 'top' | -| **backdrop** | Apply a backdrop on body while offcanvas is open. | boolean\|string | `'static'` | true | +| **backdrop** | Apply a backdrop on body while offcanvas is open. | boolean\|string | `boolean \| 'static'` | true | | **content-class-name** | A string of all className you want applied to the modal content component. | string | - | - | | **fullscreen** | Set modal to covers the entire user viewport | boolean\|string | `boolean`, `'sm'`, `'md'`, `'lg'`, `'xl'`, `'xxl'` | - | | **keyboard** | Closes the modal when escape key is pressed. | boolean | - | true | diff --git a/packages/docs/api/offcanvas/COffcanvas.api.md b/packages/docs/api/offcanvas/COffcanvas.api.md index 19f01df5..e9101166 100644 --- a/packages/docs/api/offcanvas/COffcanvas.api.md +++ b/packages/docs/api/offcanvas/COffcanvas.api.md @@ -8,13 +8,14 @@ import COffcanvas from '@coreui/vue/src/components/offcanvas/COffcanvas' #### Props -| Prop name | Description | Type | Values | Default | -| ------------- | --------------------------------------------------- | ------- | --------------------------------------- | ------- | -| **backdrop** | Apply a backdrop on body while offcanvas is open. | boolean | - | true | -| **keyboard** | Closes the offcanvas when escape key is pressed. | boolean | - | true | -| **placement** | Components placement, there’s no default placement. | string | `'start'`, `'end'`, `'top'`, `'bottom'` | - | -| **scroll** | Allow body scrolling while offcanvas is open | boolean | - | false | -| **visible** | Toggle the visibility of offcanvas component. | boolean | - | | +| Prop name | Description | Type | Values | Default | +| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------- | ------- | +| **backdrop** | Apply a backdrop on body while offcanvas is open. | boolean\|string | `boolean \| 'static'` | true | +| **keyboard** | Closes the offcanvas when escape key is pressed. | boolean | - | true | +| **placement** | Components placement, there’s no default placement. | string | `'start'`, `'end'`, `'top'`, `'bottom'` | - | +| **responsive**
4.7.0+
| Responsive offcanvas property hide content outside the viewport from a specified breakpoint and down. | boolean\|string | `boolean \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'xxl'` | true | +| **scroll** | Allow body scrolling while offcanvas is open | boolean | - | false | +| **visible** | Toggle the visibility of offcanvas component. | boolean | - | | #### Events diff --git a/packages/docs/api/table/CTable.api.md b/packages/docs/api/table/CTable.api.md index e8325987..d0c6dcd1 100644 --- a/packages/docs/api/table/CTable.api.md +++ b/packages/docs/api/table/CTable.api.md @@ -8,21 +8,21 @@ import CTable from '@coreui/vue/src/components/table/CTable' #### Props -| Prop name | Description | Type | Values | Default | -| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------------------------------------------------------------------- | -------- | -| **align** | Set the vertical aligment. | string | `'bottom'`, `'middle'`, `'top'` | - | -| **border-color** | Sets the border color of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | | -| **bordered** | Add borders on all sides of the table and cells. | boolean | - | | -| **borderless** | Remove borders on all sides of the table and cells. | boolean | - | | -| **caption** | Put the `` on the top of the table. | string | `'top' \| string` | - | -| **caption-top**
4.5.0+
| Set the text of the table caption and the caption on the top of the table. | string | - | - | -| **columns**
4.5.0+
| Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '\_props')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- \_props (Object) - adds classes to all cels in column, ex. \_props: { scope: 'col', className: 'custom-class' },
- \_style (Object) - adds styles to the column header (useful for defining widths) | Column[] \| string[] | - | | -| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'`, `string` | | -| **footer**
4.5.0+
| Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...] | FooterItem[] | - | () => [] | -| **hover** | Enable a hover state on table rows within a ``. | boolean | - | | -| **items**
4.5.0+
| Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '\_props' key and to single cell by '\_cellProps'.

Example item:
{ name: 'John' , age: 12, \_props: { color: 'success' }, \_cellProps: { age: { className: 'fw-bold'}}} | Item[] | - | () => [] | -| **small** | Make table more compact by cutting all cell `padding` in half. | boolean | - | | -| **striped** | Add zebra-striping to any table row within the ``. | boolean | - | | -| **striped-columns**
4.4.0+
| Add zebra-striping to any table column. | boolean | - | | -| **table-foot-props**
4.5.0+
| Properties that will be passed to the table footer component.

Properties to [CTableFoot](#ctablefoot) component. | object | - | - | -| **table-head-props**
4.5.0+
| Properties that will be passed to the table head component.

Properties to [CTableHead](#ctablehead) component. | object | - | - | +| Prop name | Description | Type | Values | Default | +| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------ | --------------------------------------------------------------------------------------------------------- | ------- | +| **align** | Set the vertical aligment. | string | `'bottom'`, `'middle'`, `'top'` | - | +| **border-color** | Sets the border color of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | | +| **bordered** | Add borders on all sides of the table and cells. | boolean | - | | +| **borderless** | Remove borders on all sides of the table and cells. | boolean | - | | +| **caption** | Put the `` on the top of the table. | string | `'top' \| string` | - | +| **caption-top**
4.5.0+
| Set the text of the table caption and the caption on the top of the table. | string | - | - | +| **columns**
4.5.0+
| Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '\_props')

In columns prop each array item represents one column. Item might be specified in two ways:
String: each item define column name equal to item value.
Object: item is object with following keys available as column configuration:
- key (required)(String) - define column name equal to item key.
- label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
- \_props (Object) - adds classes to all cels in column, ex. \_props: { scope: 'col', className: 'custom-class' },
- \_style (Object) - adds styles to the column header (useful for defining widths) | (Column \| string)[] | - | | +| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'`, `string` | | +| **footer**
4.5.0+
| Array of objects or strings, where each element represents one cell in the table footer.

Example items:
['FooterCell', 'FooterCell', 'FooterCell']
or
[{ label: 'FooterCell', _props: { color: 'success' }, ...] | (FooterItem \| string)[] | - | | +| **hover** | Enable a hover state on table rows within a ``. | boolean | - | | +| **items**
4.5.0+
| Array of objects, where each object represents one item - row in table. Additionally, you can add style classes to each row by passing them by '\_props' key and to single cell by '\_cellProps'.

Example item:
{ name: 'John' , age: 12, \_props: { color: 'success' }, \_cellProps: { age: { className: 'fw-bold'}}} | Item[] | - | | +| **small** | Make table more compact by cutting all cell `padding` in half. | boolean | - | | +| **striped** | Add zebra-striping to any table row within the ``. | boolean | - | | +| **striped-columns**
4.4.0+
| Add zebra-striping to any table column. | boolean | - | | +| **table-foot-props**
4.5.0+
| Properties that will be passed to the table footer component.

Properties to [CTableFoot](#ctablefoot) component. | object | - | - | +| **table-head-props**
4.5.0+
| Properties that will be passed to the table head component.

Properties to [CTableHead](#ctablehead) component. | object | - | - | From b0ccf7086421767cb0eddef835eb5ec91dc4f5bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 15 Feb 2023 15:11:43 +0100 Subject: [PATCH 024/302] refactor(CModal): update props --- .../coreui-vue/src/components/modal/CModal.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/coreui-vue/src/components/modal/CModal.ts b/packages/coreui-vue/src/components/modal/CModal.ts index a03cff21..90ccf5df 100644 --- a/packages/coreui-vue/src/components/modal/CModal.ts +++ b/packages/coreui-vue/src/components/modal/CModal.ts @@ -25,7 +25,6 @@ const CModal = defineComponent({ */ alignment: { default: 'top', - required: false, validator: (value: string) => { return ['top', 'center'].includes(value) }, @@ -33,12 +32,20 @@ const CModal = defineComponent({ /** * Apply a backdrop on body while offcanvas is open. * - * @values 'static' + * @values boolean | 'static' */ backdrop: { type: [Boolean, String], default: true, - require: false, + validator: (value: boolean | string) => { + if (typeof value == 'string') { + return ['static'].includes(value) + } + if (typeof value == 'boolean') { + return true + } + return false + }, }, /** * A string of all className you want applied to the modal content component. @@ -46,7 +53,6 @@ const CModal = defineComponent({ contentClassName: { type: String, default: undefined, - required: false, }, /** * Set modal to covers the entire user viewport @@ -56,7 +62,6 @@ const CModal = defineComponent({ fullscreen: { type: [Boolean, String], default: undefined, - required: false, validator: (value: boolean | string) => { if (typeof value == 'string') { return ['sm', 'md', 'lg', 'xl', 'xxl'].includes(value) @@ -73,14 +78,12 @@ const CModal = defineComponent({ keyboard: { type: Boolean, default: true, - required: false, }, /** * Create a scrollable modal that allows scrolling the modal body. */ scrollable: { type: Boolean, - required: false, }, /** * Size the component small, large, or extra large. @@ -90,7 +93,6 @@ const CModal = defineComponent({ size: { type: String, default: undefined, - required: false, validator: (value: string) => { return ['sm', 'lg', 'xl'].includes(value) }, @@ -101,7 +103,6 @@ const CModal = defineComponent({ transition: { type: Boolean, default: true, - required: false, }, /** * By default the component is unmounted after close animation, if you want to keep the component mounted set this property to false. @@ -109,7 +110,6 @@ const CModal = defineComponent({ unmountOnClose: { type: Boolean, default: true, - required: false, }, /** * Toggle the visibility of alert component. From 243508e03500495f85bc00dad472c4b2f6ebe6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Thu, 16 Feb 2023 14:07:35 +0100 Subject: [PATCH 025/302] chore: clean-up --- packages/coreui-vue/src/components/offcanvas/COffcanvas.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts index f8589911..7285df6e 100644 --- a/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts +++ b/packages/coreui-vue/src/components/offcanvas/COffcanvas.ts @@ -146,7 +146,6 @@ const COffcanvas = defineComponent({ } const handleKeyDown = (event: KeyboardEvent) => { - console.log('keydown') if (event.key === 'Escape' && props.keyboard) { handleDismiss() } From e78e5c6b357ed776db9f0bc63f6a741f81cc93f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Holeczek?= Date: Wed, 22 Feb 2023 13:44:22 +0100 Subject: [PATCH 026/302] docs: add docsearch --- .../src/client/components/Header.vue | 1 + .../src/client/layouts/Layout.vue | 15 +- .../src/client/styles/_search.scss | 114 ++++++++++++ .../theme-coreui/src/client/styles/index.scss | 2 + packages/docs/package.json | 2 + yarn.lock | 171 ++++++++++++++++++ 6 files changed, 304 insertions(+), 1 deletion(-) create mode 100644 packages/docs/.vuepress/theme-coreui/src/client/styles/_search.scss diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/Header.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/Header.vue index ccd0232a..8e548abf 100644 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/Header.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/components/Header.vue @@ -3,6 +3,7 @@ + diff --git a/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue b/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue index a578bafc..bd13c446 100755 --- a/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue @@ -45,7 +45,7 @@ ``` ## Browser defaults @@ -707,86 +728,98 @@ If your form layout allows it, you can swap the text for the tooltip to display ::: ```vue - - - Email - - - Looks good! - - - - Email - - - Looks good! - - - - Username - - @ - + +``` + + diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/Sidebar.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/Sidebar.vue index d9fba4ea..ce1b07f7 100755 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/Sidebar.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/components/Sidebar.vue @@ -1,8 +1,23 @@ diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/Home.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/Home.vue deleted file mode 100755 index 4c69d855..00000000 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/Home.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroup.ts b/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroup.ts deleted file mode 100755 index f7d22994..00000000 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroup.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { defineComponent, h, ref } from 'vue' -import type { Component, VNode } from 'vue' - -export default defineComponent({ - name: 'CodeGroup', - - setup(_, { slots }) { - // index of current active item - const activeIndex = ref(-1) - - // refs of the tab buttons - const tabRefs = ref([]) - - // activate next tab - const activateNext = (i = activeIndex.value): void => { - if (i < tabRefs.value.length - 1) { - activeIndex.value = i + 1 - } else { - activeIndex.value = 0 - } - tabRefs.value[activeIndex.value].focus() - } - - // activate previous tab - const activatePrev = (i = activeIndex.value): void => { - if (i > 0) { - activeIndex.value = i - 1 - } else { - activeIndex.value = tabRefs.value.length - 1 - } - tabRefs.value[activeIndex.value].focus() - } - - // handle keyboard event - const keyboardHandler = (event: KeyboardEvent, i: number): void => { - if (event.key === ' ' || event.key === 'Enter') { - event.preventDefault() - activeIndex.value = i - } else if (event.key === 'ArrowRight') { - event.preventDefault() - activateNext(i) - } else if (event.key === 'ArrowLeft') { - event.preventDefault() - activatePrev(i) - } - } - - return () => { - // NOTICE: here we put the `slots.default()` inside the render function to make - // the slots reactive, otherwise the slot content won't be changed once the - // `setup()` function of current component is called - - // get children code-group-item - const items = (slots.default?.() || []) - .filter((vnode) => (vnode.type as Component).name === 'CodeGroupItem') - .map((vnode) => { - if (vnode.props === null) { - vnode.props = {} - } - return vnode as VNode & { props: Exclude } - }) - - // clear tabRefs for HMR - tabRefs.value = [] - - // do not render anything if there is no code-group-item - if (items.length === 0) { - return null - } - - if (activeIndex.value < 0 || activeIndex.value > items.length - 1) { - // if `activeIndex` is invalid - - // find the index of the code-group-item with `active` props - activeIndex.value = items.findIndex( - (vnode) => vnode.props.active === '' || vnode.props.active === true - ) - - // if there is no `active` props on code-group-item, set the first item active - if (activeIndex.value === -1) { - activeIndex.value = 0 - } - } else { - // set the active item - items.forEach((vnode, i) => { - vnode.props.active = i === activeIndex.value - }) - } - - return h('div', { class: 'code-group' }, [ - h( - 'div', - { class: 'code-group__nav' }, - h( - 'ul', - { class: 'code-group__ul' }, - items.map((vnode, i) => { - const isActive = i === activeIndex.value - - return h( - 'li', - { class: 'code-group__li' }, - h( - 'button', - { - ref: (element) => { - if (element) { - tabRefs.value[i] = element as HTMLButtonElement - } - }, - class: { - 'code-group__nav-tab': true, - 'code-group__nav-tab-active': isActive, - }, - ariaPressed: isActive, - ariaExpanded: isActive, - onClick: () => (activeIndex.value = i), - onKeydown: (e) => keyboardHandler(e, i), - }, - vnode.props.title - ) - ) - }) - ) - ), - items, - ]) - } - }, -}) diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroupItem.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroupItem.vue deleted file mode 100755 index f22b7370..00000000 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/global/CodeGroupItem.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/global/_Badge.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/global/_Badge.vue deleted file mode 100755 index 392aa4d8..00000000 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/global/_Badge.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/packages/docs/.vuepress/theme-coreui/src/client/composables/index.ts b/packages/docs/.vuepress/theme-coreui/src/client/composables/index.ts index ce3616fa..0e953614 100755 --- a/packages/docs/.vuepress/theme-coreui/src/client/composables/index.ts +++ b/packages/docs/.vuepress/theme-coreui/src/client/composables/index.ts @@ -1,6 +1,4 @@ -export * from './useDarkMode' -export * from './useNavLink' -export * from './useResolveRouteWithRedirect' +export * from './useColorMode' export * from './useScrollPromise' export * from './useSidebarItems' export * from './useThemeData' diff --git a/packages/docs/.vuepress/theme-coreui/src/client/composables/useColorMode.ts b/packages/docs/.vuepress/theme-coreui/src/client/composables/useColorMode.ts new file mode 100755 index 00000000..4ee78aba --- /dev/null +++ b/packages/docs/.vuepress/theme-coreui/src/client/composables/useColorMode.ts @@ -0,0 +1,46 @@ +import { onMounted, ref, watch } from 'vue' +import type { Ref } from 'vue' + +export const useColorMode = (): Ref => { + const storedTheme = ref() + const theme = 'coreui-react-docs-theme' + + const getPreferredTheme = (storedTheme: string | undefined) => { + if (storedTheme) { + return storedTheme + } + + return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light' + } + + const setTheme = (theme: string) => { + document.documentElement.dataset.coreuiTheme = + theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : theme + + const event = new Event('ColorSchemeChange') + document.documentElement.dispatchEvent(event) + storedTheme.value = theme + + localStorage.setItem('coreui-react-docs-theme', theme) + } + + onMounted(() => { + if (typeof localStorage.getItem(theme) === 'string') { + storedTheme.value = localStorage.getItem(theme) + } + + window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => { + if (storedTheme.value !== 'light' || storedTheme.value !== 'dark') { + setTheme(getPreferredTheme(storedTheme.value)) + } + }) + + if (typeof localStorage.getItem(theme) === 'string') { + setTheme(localStorage.getItem(theme) as string) + } + + watch(storedTheme, setTheme) + }) + + return storedTheme +} diff --git a/packages/docs/.vuepress/theme-coreui/src/client/composables/useDarkMode.ts b/packages/docs/.vuepress/theme-coreui/src/client/composables/useDarkMode.ts deleted file mode 100755 index 2e734fdd..00000000 --- a/packages/docs/.vuepress/theme-coreui/src/client/composables/useDarkMode.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { onMounted, onUnmounted, ref, watch } from 'vue' -import type { Ref } from 'vue' - -export const useDarkMode = (): Ref => { - const isDarkMode = ref(false) - - const updateDarkModeClass = (value = isDarkMode.value): void => { - // set `class="dark"` on `` element - const htmlEl = window?.document.querySelector('html') - htmlEl?.classList.toggle('dark', value) - } - - const mediaQuery = ref(null) - const onMediaQueryChange = (event: MediaQueryListEvent): void => { - isDarkMode.value = event.matches - } - - onMounted(() => { - // get `prefers-color-scheme` media query and set the initial mode - mediaQuery.value = window.matchMedia('(prefers-color-scheme: dark)') - isDarkMode.value = mediaQuery.value.matches - - // watch changes - mediaQuery.value.addEventListener('change', onMediaQueryChange) - watch(isDarkMode, updateDarkModeClass, { immediate: true }) - }) - - onUnmounted(() => { - mediaQuery.value?.removeEventListener('change', onMediaQueryChange) - updateDarkModeClass(false) - }) - - return isDarkMode -} diff --git a/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue b/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue index 8acddac3..4662bea1 100755 --- a/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/layouts/Layout.vue @@ -1,27 +1,14 @@ +``` + +## Usage + +### Disabled elements + +Elements with the disabled attribute aren't interactive, meaning users cannot hover or click them to trigger a popover (or tooltip). As a workaround, you'll want to trigger the popover from a wrapper `
` or ``, ideally made keyboard-focusable using `tabindex="0"`. + +For disabled popover triggers, you may also prefer `:trigger="['hover', 'focus']"` so that the popover appears as immediate visual feedback to your users as they may not expect to click on a disabled element. + +:::demo + + + +::: +```vue + + + +``` + ## Customizing ### CSS variables Vue popovers use local CSS variables on `.popover` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. -```sass ---cui-popover-zindex: #{$zindex-popover}; ---cui-popover-max-width: #{$popover-max-width}; ---cui-popover-font-size: {$popover-font-size}; ---cui-popover-bg: #{$popover-bg}; ---cui-popover-border-width: #{$popover-border-width}; ---cui-popover-border-color: #{$popover-border-color}; ---cui-popover-border-radius: #{$popover-border-radius}; ---cui-popover-inner-border-radius: #{$popover-inner-border-radius}; ---cui-popover-box-shadow: #{$popover-box-shadow}; ---cui-popover-header-padding-x: #{$popover-header-padding-x}; ---cui-popover-header-padding-y: #{$popover-header-padding-y}; ---cui-popover-header-font-size: {$popover-header-font-size}; ---cui-popover-header-color: #{$popover-header-color}; ---cui-popover-header-bg: #{$popover-header-bg}; ---cui-popover-body-padding-x: #{$popover-body-padding-x}; ---cui-popover-body-padding-y: #{$popover-body-padding-y}; ---cui-popover-body-color: #{$popover-body-color}; ---cui-popover-arrow-width: #{$popover-arrow-width}; ---cui-popover-arrow-height: #{$popover-arrow-height}; ---cui-popover-arrow-border: var(--cui-popover-border-color); -``` + #### How to use CSS variables @@ -140,30 +201,25 @@ return ... ### SASS variables -```sass -$popover-font-size: $font-size-sm; -$popover-bg: $white; -$popover-max-width: 276px; -$popover-border-width: $border-width; -$popover-border-color: var(--cui-border-color-translucent); -$popover-border-radius: $border-radius-lg; -$popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width); -$popover-box-shadow: $box-shadow; - -$popover-header-font-size: $font-size-base; -$popover-header-bg: shade-color($popover-bg, 6%); -$popover-header-color: var(--cui-heading-color); -$popover-header-padding-y: .5rem; -$popover-header-padding-x: $spacer; - -$popover-body-color: $body-color; -$popover-body-padding-y: $spacer; -$popover-body-padding-x: $spacer; - -$popover-arrow-width: 1rem; -$popover-arrow-height: .5rem; -``` + ## API -!!!include(./api/popover/CPopover.api.md)!!! \ No newline at end of file +!!!include(./api/popover/CPopover.api.md)!!! + + \ No newline at end of file diff --git a/packages/docs/components/progress.md b/packages/docs/components/progress.md index 71da71ce..9c32dbcb 100644 --- a/packages/docs/components/progress.md +++ b/packages/docs/components/progress.md @@ -206,16 +206,7 @@ The striped gradient can also be animated. Add `animated` property to ` #### How to use CSS variables @@ -229,20 +220,7 @@ return ... ### SASS variables -```sass -$progress-height: 1rem; -$progress-font-size: $font-size-base * .75; -$progress-bg: $gray-200; -$progress-border-radius: $border-radius; -$progress-box-shadow: $box-shadow-inset; -$progress-bar-color: $high-emphasis-inverse; -$progress-bar-bg: $primary; -$progress-bar-animation-timing: 1s linear infinite; -$progress-bar-transition: width .6s ease; - -$progress-group-margin-bottom: $spacer; -$progress-group-header-margin-bottom: $spacer * .25; -``` + ## API diff --git a/packages/docs/components/sidebar.md b/packages/docs/components/sidebar.md index 5faaa9d4..99afd650 100644 --- a/packages/docs/components/sidebar.md +++ b/packages/docs/components/sidebar.md @@ -92,69 +92,9 @@ Sidebar come with built-in support for a handful of sub-components. Choose from Vue sidebars use local CSS variables on `.sidebar` and `.sidebar-backdrop` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. -```sass ---cui-sidebar-width: #{$sidebar-width}; ---cui-sidebar-bg: #{$sidebar-bg}; ---cui-sidebar-padding-x: #{$sidebar-padding-x}; ---cui-sidebar-padding-y: #{$sidebar-padding-y}; ---cui-sidebar-color: #{$sidebar-color}; ---cui-sidebar-border-width: #{$sidebar-border-width}; ---cui-sidebar-border-color: #{$sidebar-border-color}; ---cui-sidebar-brand-color: #{$sidebar-brand-color}; ---cui-sidebar-brand-height: #{$sidebar-brand-height}; ---cui-sidebar-brand-bg: #{$sidebar-brand-bg}; ---cui-sidebar-header-height: #{$sidebar-header-height}; ---cui-sidebar-header-bg: #{$sidebar-header-bg}; ---cui-sidebar-header-padding-x: #{$sidebar-header-padding-x}; ---cui-sidebar-header-padding-y: #{$sidebar-header-padding-y}; ---cui-sidebar-footer-bg: #{$sidebar-footer-bg}; ---cui-sidebar-footer-height: #{$sidebar-footer-height}; ---cui-sidebar-footer-padding-x: #{$sidebar-footer-padding-x}; ---cui-sidebar-footer-padding-y: #{$sidebar-footer-padding-y}; ---cui-sidebar-toggler-bg: #{$sidebar-toggler-bg}; ---cui-sidebar-toggler-height: #{$sidebar-toggler-height}; ---cui-sidebar-toggler-indicator: #{escape-svg($sidebar-toggler-indicator-icon)}; ---cui-sidebar-toggler-indicator-width: #{$sidebar-toggler-indicator-width}; ---cui-sidebar-toggler-indicator-height: #{$sidebar-toggler-indicator-height}; ---cui-sidebar-toggler-hover-bg: #{$sidebar-toggler-hover-bg}; ---cui-sidebar-toggler-indicator-hover: #{escape-svg($sidebar-toggler-indicator-hover-icon)} ---cui-sidebar-narrow-width: #{$sidebar-narrow-width}; ---cui-sidebar-nav-title-padding-x: #{$sidebar-nav-title-padding-x}; ---cui-sidebar-nav-title-padding-y: #{$sidebar-nav-title-padding-y}; ---cui-sidebar-nav-title-margin-top: #{$sidebar-nav-title-margin-top}; ---cui-sidebar-nav-title-color: #{$sidebar-nav-title-color}; ---cui-sidebar-nav-link-padding-x: #{$sidebar-nav-link-padding-x}; ---cui-sidebar-nav-link-padding-y: #{$sidebar-nav-link-padding-y}; ---cui-sidebar-nav-link-color: #{$sidebar-nav-link-color}; ---cui-sidebar-nav-link-bg: #{$sidebar-nav-link-bg}; ---cui-sidebar-nav-link-border-color: #{$sidebar-nav-link-border-color}; ---cui-sidebar-nav-link-border: #{$sidebar-nav-link-border-width} solid var(--cui-sidebar-nav-link-border-color); ---cui-sidebar-nav-link-border-radius: #{$sidebar-nav-link-border-radius}; ---cui-sidebar-nav-link-active-color: #{$sidebar-nav-link-active-color}; ---cui-sidebar-nav-link-active-bg: #{$sidebar-nav-link-active-bg}; ---cui-sidebar-nav-link-active-icon-color: #{$sidebar-nav-link-active-icon-color}; ---cui-sidebar-nav-link-disabled-color: #{$sidebar-nav-link-disabled-color}; ---cui-sidebar-nav-link-disabled-icon-color: #{$sidebar-nav-link-disabled-icon-color}; ---cui-sidebar-nav-link-hover-color: #{$sidebar-nav-link-hover-color}; ---cui-sidebar-nav-link-hover-bg: #{$sidebar-nav-link-hover-bg}; ---cui-sidebar-nav-link-hover-icon-color: #{$sidebar-nav-link-hover-icon-color}; ---cui-sidebar-nav-icon-width: #{$sidebar-nav-icon-width}; ---cui-sidebar-nav-icon-height: #{$sidebar-nav-icon-height}; ---cui-sidebar-nav-icon-font-size: #{$sidebar-nav-icon-font-size}; ---cui-sidebar-nav-link-icon-color: #{$sidebar-nav-link-icon-color}; ---cui-sidebar-nav-group-bg: #{$sidebar-nav-group-bg}; ---cui-sidebar-nav-group-items-padding-y: #{$sidebar-nav-group-items-padding-y}; ---cui-sidebar-nav-group-items-padding-x: #{$sidebar-nav-group-items-padding-x}; ---cui-sidebar-nav-group-indicator: #{escape-svg($sidebar-nav-group-indicator-icon)}; ---cui-sidebar-nav-group-indicator-hover: #{escape-svg($sidebar-nav-group-indicator-hover-icon)}; ---cui-sidebar-nav-group-toggle-show-color: #{$sidebar-nav-group-toggle-show-color}; -``` + -```sass ---cui-backdrop-zindex: #{$zindex-sidebar-backdrop}; ---cui-backdrop-bg: #{$sidebar-backdrop-bg}; ---cui-backdrop-opacity: #{$sidebar-backdrop-opacity}; -``` + #### How to use CSS variables @@ -168,144 +108,7 @@ return ... ### SASS variables -```sass -$sidebar-width: 16rem; -$sidebar-widths: ( - sm: 12rem, - lg: 20rem, - xl: 24rem -); -$sidebar-padding-y: 0; -$sidebar-padding-x: 0; -$sidebar-color: $high-emphasis-inverse; -$sidebar-bg: $gray-base; -$sidebar-border-width: 0; -$sidebar-border-color: transparent; -$sidebar-transition: margin-left .15s, margin-right .15s, box-shadow .075s, transform .15s, width .15s, z-index 0s ease .15s; - -$sidebar-brand-height: 4rem; -$sidebar-brand-color: $high-emphasis-inverse; -$sidebar-brand-bg: rgba($black, .2); - -$sidebar-header-height: 4rem; -$sidebar-header-padding-y: .75rem; -$sidebar-header-padding-x: 1rem; -$sidebar-header-bg: rgba($black, .2); -$sidebar-header-height-transition: height .15s, padding .15s; - -$sidebar-narrow-width: 4rem; - -$sidebar-backdrop-bg: $black; -$sidebar-backdrop-opacity: .5; - -$sidebar-nav-title-padding-y: .75rem; -$sidebar-nav-title-padding-x: 1rem; -$sidebar-nav-title-margin-top: 1rem; -$sidebar-nav-title-color: $medium-emphasis-inverse; -$sidebar-nav-title-transition: height .15s, margin .15s; - -$sidebar-nav-link-padding-y: .8445rem; -$sidebar-nav-link-padding-x: 1rem; -$sidebar-nav-link-color: $medium-emphasis-inverse; -$sidebar-nav-link-bg: transparent; -$sidebar-nav-link-border-width: 0; -$sidebar-nav-link-border-color: transparent; -$sidebar-nav-link-border-radius: 0; -$sidebar-nav-link-transition: background .15s ease, color .15s ease; -$sidebar-nav-link-icon-color: $medium-emphasis-inverse; - -$sidebar-nav-link-hover-color: $high-emphasis-inverse; -$sidebar-nav-link-hover-bg: rgba($white, .05); -$sidebar-nav-link-hover-icon-color: $high-emphasis-inverse; - -$sidebar-nav-link-active-color: $high-emphasis-inverse; -$sidebar-nav-link-active-bg: rgba($white, .05); -$sidebar-nav-link-active-icon-color: $high-emphasis-inverse; - -$sidebar-nav-link-disabled-color: $disabled-inverse; -$sidebar-nav-link-disabled-icon-color: $sidebar-nav-link-icon-color; - -$sidebar-nav-icon-width: 4rem; -$sidebar-nav-icon-height: 1.25rem; -$sidebar-nav-icon-font-size: $sidebar-nav-icon-height; - -$sidebar-nav-group-bg: rgba(0, 0, 0, .2); -$sidebar-nav-group-transition: background .15s ease-in-out; -$sidebar-nav-group-toggle-show-color: $sidebar-nav-link-color; - -$sidebar-nav-group-items-padding-y: 0; -$sidebar-nav-group-items-padding-x: 0; -$sidebar-nav-group-items-transition: height .15s ease; - -$sidebar-nav-group-indicator-color: $medium-emphasis-inverse; -$sidebar-nav-group-indicator-icon: url("data:image/svg+xml,"); -$sidebar-nav-group-indicator-hover-color: $sidebar-nav-link-hover-color; -$sidebar-nav-group-indicator-hover-icon: url("data:image/svg+xml,"); -$sidebar-nav-group-indicator-transition: transform .15s; - -$sidebar-footer-height: auto; -$sidebar-footer-padding-y: .75rem; -$sidebar-footer-padding-x: 1rem; -$sidebar-footer-bg: rgba($black, .2); -$sidebar-footer-height-transition: height .15s, padding .15s; - -$sidebar-toggler-height: 3rem; -$sidebar-toggler-bg: rgba($black, .2); -$sidebar-toggler-transition: transform .15s; - -$sidebar-toggler-indicator-width: 4rem; -$sidebar-toggler-indicator-height: 3rem; -$sidebar-toggler-indicator-color: $gray-600; -$sidebar-toggler-indicator-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-toggler-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); -$sidebar-toggler-hover-bg: rgba(0, 0, 0, .3); - -$sidebar-toggler-indicator-hover-color: $sidebar-nav-link-hover-color; -$sidebar-toggler-indicator-hover-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-toggler-indicator-hover-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); - -$sidebar-light-color: $body-color; -$sidebar-light-bg: $white; -$sidebar-light-border-width: 0; -$sidebar-light-border-color: transparent; - -$sidebar-light-brand-color: $white; -$sidebar-light-brand-bg: $primary; - -$sidebar-light-header-bg: rgba($black, .2); - -$sidebar-light-nav-title-color: $medium-emphasis; - -$sidebar-light-nav-link-color: $medium-emphasis; -$sidebar-light-nav-link-bg: transparent; -$sidebar-light-nav-link-icon-color: $medium-emphasis; - -$sidebar-light-nav-link-hover-color: $high-emphasis; -$sidebar-light-nav-link-hover-bg: theme-color("primary"); -$sidebar-light-nav-link-hover-icon-color: $high-emphasis; - -$sidebar-light-nav-link-active-color: $high-emphasis; -$sidebar-light-nav-link-active-bg: rgba($white, .05); -$sidebar-light-nav-link-active-icon-color: $high-emphasis; - -$sidebar-light-nav-link-disabled-color: $disabled; -$sidebar-light-nav-link-disabled-icon-color: $sidebar-light-nav-link-icon-color; - -$sidebar-light-nav-group-bg: rgba(0, 0, 0, .05); -$sidebar-light-nav-group-toggle-show-color: $sidebar-light-nav-link-color; - -$sidebar-light-nav-group-indicator-color: $medium-emphasis; -$sidebar-light-nav-group-indicator-icon: url("data:image/svg+xml,"); -$sidebar-light-nav-group-indicator-hover-color: $sidebar-light-nav-link-hover-color; -$sidebar-light-nav-group-indicator-hover-icon: url("data:image/svg+xml,"); - -$sidebar-light-footer-bg: rgba($black, .1); - -$sidebar-light-toggler-bg: rgba($black, .1); -$sidebar-light-toggler-hover-bg: rgba(0, 0, 0, .2); -$sidebar-light-toggler-indicator-color: $medium-emphasis; -$sidebar-light-toggler-indicator-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-light-toggler-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); -$sidebar-light-toggler-indicator-hover-color: $sidebar-light-nav-link-hover-color; -$sidebar-light-toggler-indicator-hover-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-light-toggler-indicator-hover-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"); -``` + ## API diff --git a/packages/docs/components/spinner.md b/packages/docs/components/spinner.md index fc8eae19..7c3dda54 100644 --- a/packages/docs/components/spinner.md +++ b/packages/docs/components/spinner.md @@ -146,32 +146,15 @@ Vue spinners use local CSS variables on `.spinner-border` and `.spinner-grow` fo Border spinner variables: -```sass ---cui-spinner-width: #{$spinner-width}; ---cui-spinner-height: #{$spinner-height}; ---cui-spinner-vertical-align: #{$spinner-vertical-align}; ---cui-spinner-border-width: #{$spinner-border-width}; ---cui-spinner-animation-speed: #{$spinner-animation-speed}; ---cui-spinner-animation-name: spinner-border; -``` + Growing spinner variables: -```sass ---cui-spinner-width: #{$spinner-width}; ---cui-spinner-height: #{$spinner-height}; ---cui-spinner-vertical-align: #{$spinner-vertical-align}; ---cui-spinner-animation-speed: #{$spinner-animation-speed}; ---cui-spinner-animation-name: spinner-grow; -``` + For both spinners, small spinner modifier classes are used to update the values of these CSS variables as needed. For example, the `.spinner-border-sm` class does the following: -```sass ---cui-spinner-width: #{$spinner-width-sm}; ---cui-spinner-height: #{$spinner-height-sm}; ---cui-spinner-border-width: #{$spinner-border-width-sm}; -``` + #### How to use CSS variables @@ -185,17 +168,7 @@ return ... ### SASS variables -```sass -$spinner-width: 2rem; -$spinner-height: $spinner-width; -$spinner-vertical-align: -.125em; -$spinner-border-width: .25em; -$spinner-animation-speed: .75s; - -$spinner-width-sm: 1rem; -$spinner-height-sm: $spinner-width-sm; -$spinner-border-width-sm: .2em; -``` + ## API diff --git a/packages/docs/components/toast.md b/packages/docs/components/toast.md index 297e8904..1d27d176 100644 --- a/packages/docs/components/toast.md +++ b/packages/docs/components/toast.md @@ -339,22 +339,7 @@ Building on the above example, you can create different toast color schemes with Vue toasts use local CSS variables on `.toast` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. -```sass ---cui-toast-padding-x: #{$toast-padding-x}; ---cui-toast-padding-y: #{$toast-padding-y}; ---cui-toast-spacing: #{$toast-spacing}; ---cui-toast-max-width: #{$toast-max-width}; ---cui-toast-font-size: #{$toast-font-size}; ---cui-toast-color: #{$toast-color}; ---cui-toast-bg: #{$toast-background-color}; ---cui-toast-border-width: #{$toast-border-width}; ---cui-toast-border-color: #{$toast-border-color}; ---cui-toast-border-radius: #{$toast-border-radius}; ---cui-toast-box-shadow: #{$toast-box-shadow}; ---cui-toast-header-color: #{$toast-header-color}; ---cui-toast-header-bg: #{$toast-header-background-color}; ---cui-toast-header-border-color: #{$toast-header-border-color}; -``` + #### How to use CSS variables @@ -368,23 +353,7 @@ return ... ### SASS variables -```sass -$toast-max-width: 350px; -$toast-padding-x: .75rem; -$toast-padding-y: .5rem; -$toast-font-size: .875rem; -$toast-color: unset; -$toast-background-color: rgba($white, .85); -$toast-border-width: $border-width; -$toast-border-color: var(--cui-border-color-translucent); -$toast-border-radius: $border-radius; -$toast-box-shadow: $box-shadow; -$toast-spacing: $container-padding-x; - -$toast-header-color: $gray-600; -$toast-header-background-color: rgba($white, .85); -$toast-header-border-color: rgba($black, .05); -``` + ## API diff --git a/packages/docs/components/tooltip.md b/packages/docs/components/tooltip.md index 3bec5159..a03128d5 100644 --- a/packages/docs/components/tooltip.md +++ b/packages/docs/components/tooltip.md @@ -7,6 +7,8 @@ other_frameworks: tooltip ## Examples +### Tooltips on links + Hover over the links below to see tooltips: ::: demo @@ -112,26 +114,84 @@ Hover over the buttons below to see the four tooltips directions: top, right, bo Tooltip on left ``` +### Custom popovers + +You can customize the appearance of tooltips using [CSS variables](#css-variables). We set a custom `style` to scope our custom appearance and use it to override some of the local CSS variables. + +::: demo + + + +::: +```vue + + +``` + +## Usage + +### Disabled elements + +Elements with the disabled attribute aren’t interactive, meaning users cannot focus, hover, or click them to trigger a tooltip (or popover). As a workaround, you’ll want to trigger the tooltip from a wrapper `
` or ``, ideally made keyboard-focusable using `tabindex="0"`. + +:::demo + + + +::: +```vue + + + +``` + ## Customizing ### CSS variables Vue toltips use local CSS variables on `.tooltip` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. -```sass ---cui-tooltip-zindex: #{$zindex-tooltip}; ---cui-tooltip-max-width: #{$tooltip-max-width}; ---cui-tooltip-padding-x: #{$tooltip-padding-x}; ---cui-tooltip-padding-y: #{$tooltip-padding-y}; ---cui-tooltip-margin: #{$tooltip-margin}; ---cui-tooltip-font-size: #{$tooltip-font-size}; ---cui-tooltip-color: #{$tooltip-color}; ---cui-tooltip-bg: #{$tooltip-bg}; ---cui-tooltip-border-radius: #{$tooltip-border-radius}; ---cui-tooltip-opacity: #{$tooltip-opacity}; ---cui-tooltip-arrow-width: #{$tooltip-arrow-width}; ---cui-tooltip-arrow-height: #{$tooltip-arrow-height}; -``` + #### How to use CSS variables @@ -145,23 +205,21 @@ return ... ### SASS variables -```sass -$tooltip-font-size: $font-size-sm; -$tooltip-max-width: 200px; -$tooltip-color: $high-emphasis-inverse; -$tooltip-bg: $black; -$tooltip-border-radius: $border-radius; -$tooltip-opacity: .9; -$tooltip-padding-y: $spacer * .25; -$tooltip-padding-x: $spacer * .5; -$tooltip-margin: null; - -$tooltip-arrow-width: .8rem; -$tooltip-arrow-height: .4rem; -$tooltip-arrow-color: null; -``` + ## API -!!!include(./api/tooltip/CTooltip.api.md)!!! \ No newline at end of file +!!!include(./api/tooltip/CTooltip.api.md)!!! + + \ No newline at end of file From ec17c7bc07a05b46dae71d0a41cf086a357e2f63 Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 10 Jun 2023 12:58:51 +0200 Subject: [PATCH 079/302] refactor(CTooltip): update offset --- packages/coreui-vue/src/directives/v-c-tooltip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/coreui-vue/src/directives/v-c-tooltip.ts b/packages/coreui-vue/src/directives/v-c-tooltip.ts index 8a98b348..5c12fab1 100644 --- a/packages/coreui-vue/src/directives/v-c-tooltip.ts +++ b/packages/coreui-vue/src/directives/v-c-tooltip.ts @@ -44,7 +44,7 @@ export default { const trigger = value.trigger ?? 'hover' // Popper Config - const offset = value.offset ?? [0, 0] + const offset = value.offset ?? [0, 6] const placement = value.placement ?? 'top' const popperOptions = { From 3be14286d254aaa6cdfb8bd895f2b5f5178f5b15 Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 10 Jun 2023 13:01:12 +0200 Subject: [PATCH 080/302] fix(CPopover, CTooltip): inline styles attribute don't work --- packages/coreui-vue/src/components/popover/CPopover.ts | 3 ++- packages/coreui-vue/src/components/tooltip/CTooltip.ts | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/coreui-vue/src/components/popover/CPopover.ts b/packages/coreui-vue/src/components/popover/CPopover.ts index cb76ab7d..1bfe5348 100644 --- a/packages/coreui-vue/src/components/popover/CPopover.ts +++ b/packages/coreui-vue/src/components/popover/CPopover.ts @@ -79,7 +79,7 @@ const CPopover = defineComponent({ */ 'show', ], - setup(props, { slots, emit }) { + setup(props, { attrs, slots, emit }) { const togglerRef = ref() const popoverRef = ref() const popper = ref() @@ -149,6 +149,7 @@ const CPopover = defineComponent({ class: 'popover fade bs-popover-auto', ref: popoverRef, role: 'tooltip', + ...attrs, }, [ h('div', { class: 'popover-arrow', 'data-popper-arrow': '' }), diff --git a/packages/coreui-vue/src/components/tooltip/CTooltip.ts b/packages/coreui-vue/src/components/tooltip/CTooltip.ts index e1d7488c..4ceda0b2 100644 --- a/packages/coreui-vue/src/components/tooltip/CTooltip.ts +++ b/packages/coreui-vue/src/components/tooltip/CTooltip.ts @@ -30,7 +30,7 @@ const CTooltip = defineComponent({ */ offset: { type: Array, - default: () => [0, 0], + default: () => [0, 6], }, /** * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. @@ -75,7 +75,7 @@ const CTooltip = defineComponent({ */ 'show', ], - setup(props, { slots, emit }) { + setup(props, { attrs, slots, emit }) { const togglerRef = ref() const tooltipRef = ref() const popper = ref() @@ -145,6 +145,7 @@ const CTooltip = defineComponent({ class: 'tooltip fade bs-tooltip-auto', ref: tooltipRef, role: 'tooltip', + ...attrs, }, [ h('div', { class: 'tooltip-arrow', 'data-popper-arrow': '' }), From 0cfa7353150716bf2887a7d96b4321508bf842c4 Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 10 Jun 2023 13:02:57 +0200 Subject: [PATCH 081/302] docs: update theme --- packages/docs/.vuepress/config.ts | 9 ++++ .../src/client/components/ScssDocs.vue | 51 +++++++++++++++++++ packages/docs/package.json | 1 + 3 files changed, 61 insertions(+) create mode 100644 packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue diff --git a/packages/docs/.vuepress/config.ts b/packages/docs/.vuepress/config.ts index ece96d9c..736add24 100644 --- a/packages/docs/.vuepress/config.ts +++ b/packages/docs/.vuepress/config.ts @@ -4,7 +4,11 @@ import include_plugin from 'markdown-it-include' import { defaultTheme } from './theme-coreui' import { containerPlugin } from '@vuepress/plugin-container' +import { registerComponentsPlugin } from '@vuepress/plugin-register-components' import { tocPlugin } from '@vuepress/plugin-toc' +import { getDirname, path } from '@vuepress/utils' + +const __dirname = getDirname(import.meta.url) export default defineUserConfig({ base: `/vue/docs/`, @@ -63,6 +67,11 @@ export default defineUserConfig({ }, }), tocPlugin({}), + registerComponentsPlugin({ + components: { + ScssDocs: path.resolve(__dirname, './theme-coreui/src/client/components/ScssDocs.vue'), + }, + }), ], theme: defaultTheme({ sidebar: [ diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue new file mode 100644 index 00000000..1a5a2897 --- /dev/null +++ b/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue @@ -0,0 +1,51 @@ + + + diff --git a/packages/docs/package.json b/packages/docs/package.json index bfc1cdd5..451a7933 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -15,6 +15,7 @@ "@coreui/vue-chartjs": "^2.0.1", "@docsearch/css": "^3.4.0", "@docsearch/js": "^3.4.0", + "@vuepress/plugin-register-components": "2.0.0-beta.62", "@vuepress/plugin-toc": "2.0.0-beta.62", "markdown-it-include": "^2.0.0", "vue-docgen-cli": "^4.67.0", From 6795b6b6bf8ce9a79f4fc10c4304e82dd2e11e2e Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 10 Jun 2023 13:14:18 +0200 Subject: [PATCH 082/302] build: update tsconfig --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 040f7e33..8cf48188 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "module": "esnext", "target": "esnext", "strict": true, - "lib": ["es6", "dom", "es2016", "es2017"], + "lib": ["dom", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021"], "sourceMap": true, "allowJs": false, "declaration": true, From 39197fa12895bf0ca21256fc0e034b0de939968a Mon Sep 17 00:00:00 2001 From: mrholek Date: Sat, 10 Jun 2023 13:37:25 +0200 Subject: [PATCH 083/302] docs: update content --- packages/docs/forms/checkbox.md | 6 +++++ packages/docs/forms/floating-labels.md | 8 +++++- packages/docs/forms/input-group.md | 6 +++++ packages/docs/forms/input.md | 18 +++++++++++++ packages/docs/forms/radio.md | 6 +++++ packages/docs/forms/range.md | 14 +++++++--- packages/docs/forms/select.md | 7 +++++ packages/docs/forms/switch.md | 6 +++++ packages/docs/forms/textarea.md | 14 ++++++++++ packages/docs/forms/validation.md | 37 ++++++++++++++++++++++++++ 10 files changed, 117 insertions(+), 5 deletions(-) diff --git a/packages/docs/forms/checkbox.md b/packages/docs/forms/checkbox.md index 2a4cec18..ceced278 100644 --- a/packages/docs/forms/checkbox.md +++ b/packages/docs/forms/checkbox.md @@ -135,6 +135,12 @@ Different variants of button, such at the various outlined styles, are supported ``` +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CFormCheck.api.md)!!! \ No newline at end of file diff --git a/packages/docs/forms/floating-labels.md b/packages/docs/forms/floating-labels.md index 7ca253d3..75980909 100644 --- a/packages/docs/forms/floating-labels.md +++ b/packages/docs/forms/floating-labels.md @@ -247,4 +247,10 @@ When working with the CoreUI for Bootstrap grid system, be sure to place form el -``` \ No newline at end of file +``` + +## Customizing + +### SASS variables + + \ No newline at end of file diff --git a/packages/docs/forms/input-group.md b/packages/docs/forms/input-group.md index e263aecf..d8540628 100644 --- a/packages/docs/forms/input-group.md +++ b/packages/docs/forms/input-group.md @@ -536,6 +536,12 @@ Input groups include support for custom selects and custom file inputs. Browser ``` +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CInputGroup.api.md)!!! \ No newline at end of file diff --git a/packages/docs/forms/input.md b/packages/docs/forms/input.md index b4c07adc..211afd82 100644 --- a/packages/docs/forms/input.md +++ b/packages/docs/forms/input.md @@ -230,6 +230,24 @@ If you want to have `` elements in your form styled as plain tex /> ``` +## Customizing + +### SASS variables + +`$input-*` are shared across most of our form controls (and not buttons). + + + +`$form-label-*` and `$form-text-*` are for our ``s and `` component. + + + + + +`$form-file-*` are for file input. + + + ## API !!!include(./api/form/CFormInput.api.md)!!! diff --git a/packages/docs/forms/radio.md b/packages/docs/forms/radio.md index 7ee5cbac..3a942a5e 100644 --- a/packages/docs/forms/radio.md +++ b/packages/docs/forms/radio.md @@ -117,6 +117,12 @@ Different variants of button, such at the various outlined styles, are supported ``` +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CFormCheck.api.md)!!! diff --git a/packages/docs/forms/range.md b/packages/docs/forms/range.md index 4a7dec20..39b1d0d9 100644 --- a/packages/docs/forms/range.md +++ b/packages/docs/forms/range.md @@ -32,10 +32,10 @@ Add the `disabled` boolean attribute on an input to give it a grayed out appeara Range inputs have implicit values for `min` and `max`—`0` and `100`, respectively. You may specify new values for those using the `min` and `max` attributes. ::: demo - + ::: ```vue - + ``` ## Steps @@ -43,12 +43,18 @@ Range inputs have implicit values for `min` and `max`—`0` and `100`, respectiv By default, range inputs "snap" to integer values. To change this, you can specify a `step` value. In the example below, we double the number of steps by using `:step="0.5"`. ::: demo - + ::: ```vue - + ``` +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CFormRange.api.md)!!! \ No newline at end of file diff --git a/packages/docs/forms/select.md b/packages/docs/forms/select.md index e70dd0da..98f33a18 100644 --- a/packages/docs/forms/select.md +++ b/packages/docs/forms/select.md @@ -128,6 +128,13 @@ Add the `disabled` boolean attribute on a select to give it a grayed out appeara ``` + +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CFormSelect.api.md)!!! \ No newline at end of file diff --git a/packages/docs/forms/switch.md b/packages/docs/forms/switch.md index 5286fe98..657ceef2 100644 --- a/packages/docs/forms/switch.md +++ b/packages/docs/forms/switch.md @@ -54,6 +54,12 @@ Put your switches on the opposite side by adding `reverse` boolean property. ``` +## Customizing + +### SASS variables + + + ## API !!!include(./api/form/CFormSwitch.api.md)!!! \ No newline at end of file diff --git a/packages/docs/forms/textarea.md b/packages/docs/forms/textarea.md index c0cb5127..c9754840 100644 --- a/packages/docs/forms/textarea.md +++ b/packages/docs/forms/textarea.md @@ -82,6 +82,20 @@ Add the `readonly` boolean attribute on an textarea to prevent modification of t > ``` +## Customizing + +### SASS variables + +`$input-*` are shared across most of our form controls (and not buttons). + + + +`$form-label-*` and `$form-text-*` are for our ``s and `` component. + + + + + ## API !!!include(./api/form/CFormTextarea.api.md)!!! diff --git a/packages/docs/forms/validation.md b/packages/docs/forms/validation.md index 7af4216b..9e7af3db 100644 --- a/packages/docs/forms/validation.md +++ b/packages/docs/forms/validation.md @@ -804,6 +804,43 @@ If your form layout allows it, you can swap the text for the tooltip to display ``` +## Customizing + +### CSS variables + +CoreUI forms components use local CSS variables for validation for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. + + + +These variables are also color mode adaptive, meaning they change color while in dark mode. + +### SASS variables + + + + + + + +### SASS mixins + +Two mixins are combined, through our loop, to generate our form validation feedback styles. + + + +### SASS maps +This is the validation Sass map from `_variables.scss`. Override or extend this to generate different or additional states. + + + +Maps of `$form-validation-states` can contain three optional parameters to override tooltips and focus styles. + +### SASS loops + +Used to iterate over `$form-validation-states` map values to generate our validation styles. Any modifications to the above Sass map will be reflected in your compiled CSS via this loop. + + + + ## API !!!include(./api/CChart.api.md)!!! \ No newline at end of file From 7f1fc3bd4eb6d2097ff3a34c600872eea07e4278 Mon Sep 17 00:00:00 2001 From: mrholek Date: Mon, 12 Jun 2023 23:59:13 +0200 Subject: [PATCH 102/302] refactor(useColorModes): change `onMounted` to `onBeforeMount` --- packages/coreui-vue/src/composables/useColorModes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coreui-vue/src/composables/useColorModes.ts b/packages/coreui-vue/src/composables/useColorModes.ts index 06db746e..4b344a89 100644 --- a/packages/coreui-vue/src/composables/useColorModes.ts +++ b/packages/coreui-vue/src/composables/useColorModes.ts @@ -1,4 +1,4 @@ -import { onMounted, ref, watch } from 'vue' +import { onBeforeMount, ref, watch } from 'vue' const getStoredTheme = (localStorageItemName: string) => localStorage.getItem(localStorageItemName) const setStoredTheme = (localStorageItemName: string, colorMode: string) => @@ -32,7 +32,7 @@ export const useColorModes = (localStorageItemName = 'coreui-vue-color-scheme') setTheme(colorMode.value) }) - onMounted(() => { + onBeforeMount(() => { if (typeof getStoredTheme(localStorageItemName) === 'string') { setTheme(colorMode.value) } From e6d18a1098b4627dd58498d52a18f6714adb9a94 Mon Sep 17 00:00:00 2001 From: mrholek Date: Mon, 12 Jun 2023 23:59:47 +0200 Subject: [PATCH 103/302] chore: update dependencies and devDependencies --- packages/docs/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/docs/package.json b/packages/docs/package.json index c8359a3e..937db90c 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -12,7 +12,8 @@ "@coreui/coreui": "^4.3.0-beta.0", "@coreui/icons": "^3.0.1", "@coreui/icons-vue": "^2.0.0", - "@coreui/vue-chartjs": "^2.0.1", + "@coreui/utils": "^2.0.2", + "@coreui/vue-chartjs": "^2.1.0", "@docsearch/css": "^3.5.0", "@docsearch/js": "^3.5.0", "@vuepress/plugin-register-components": "2.0.0-beta.62", From f4519d4326532bd1168f62a7460cdddc65a3121f Mon Sep 17 00:00:00 2001 From: mrholek Date: Tue, 13 Jun 2023 00:00:05 +0200 Subject: [PATCH 104/302] docs: update theme --- packages/docs/.vuepress/theme-coreui/templates/build.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/.vuepress/theme-coreui/templates/build.html b/packages/docs/.vuepress/theme-coreui/templates/build.html index 5ba656d6..0ffbc946 100644 --- a/packages/docs/.vuepress/theme-coreui/templates/build.html +++ b/packages/docs/.vuepress/theme-coreui/templates/build.html @@ -5,7 +5,7 @@ + + +
- \ No newline at end of file + From d714fb856ed1fe8fe997bdcb10dd8b462adc26ce Mon Sep 17 00:00:00 2001 From: mrholek Date: Thu, 15 Jun 2023 23:58:49 +0200 Subject: [PATCH 112/302] fix: add proper directives names --- packages/coreui-vue/src/directives/v-c-tooltip.ts | 1 + packages/coreui-vue/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/coreui-vue/src/directives/v-c-tooltip.ts b/packages/coreui-vue/src/directives/v-c-tooltip.ts index baa371c2..20b0c09d 100644 --- a/packages/coreui-vue/src/directives/v-c-tooltip.ts +++ b/packages/coreui-vue/src/directives/v-c-tooltip.ts @@ -40,6 +40,7 @@ const toggleTooltipElement = (tooltip: HTMLDivElement, el: HTMLElement, popperOp } export default { + name: 'c-tooltip', mounted(el: HTMLElement, binding: DirectiveBinding): void { const value = binding.value const content = typeof value === 'string' ? value : value.content ?? '' diff --git a/packages/coreui-vue/src/index.ts b/packages/coreui-vue/src/index.ts index 427bcd53..262ecc6b 100644 --- a/packages/coreui-vue/src/index.ts +++ b/packages/coreui-vue/src/index.ts @@ -9,7 +9,7 @@ const CoreuiVue = { } for (const key in Directives) { - app.directive(key, Directives[key]) + app.directive(Directives[key]['name'], Directives[key]) } }, } From daf54e396070998f53cab3a52a22305af23153a4 Mon Sep 17 00:00:00 2001 From: mrholek Date: Fri, 16 Jun 2023 10:06:24 +0200 Subject: [PATCH 113/302] release: v4.9.0-beta.2 --- README.md | 2 +- lerna.json | 2 +- packages/coreui-vue/package.json | 2 +- packages/docs/package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cea3eda8..a71b31fc 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.9.0-beta.1.zip) +- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v4.9.0-beta.2.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-vue.git` - Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue` - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue` diff --git a/lerna.json b/lerna.json index eb9a19fc..a64928e9 100644 --- a/lerna.json +++ b/lerna.json @@ -4,5 +4,5 @@ "packages/*" ], "useWorkspaces": true, - "version": "4.9.0-beta.1" + "version": "4.9.0-beta.2" } diff --git a/packages/coreui-vue/package.json b/packages/coreui-vue/package.json index 75d5c387..a8bc07f0 100644 --- a/packages/coreui-vue/package.json +++ b/packages/coreui-vue/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue", - "version": "4.9.0-beta.1", + "version": "4.9.0-beta.2", "description": "UI Components Library for Vue.js", "keywords": [ "vue", diff --git a/packages/docs/package.json b/packages/docs/package.json index 299eb858..140c3ee8 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/vue-docs", - "version": "4.9.0-beta.1", + "version": "4.9.0-beta.2", "scripts": { "api": "vue-docgen -c build/docgen.config.js", "dev": "vuepress dev --clean-cache", From 99ddbbcee706b182bb4a82f6e8a67c2c3c80e4b5 Mon Sep 17 00:00:00 2001 From: mrholek Date: Fri, 16 Jun 2023 14:06:07 +0200 Subject: [PATCH 114/302] docs: update theme --- .../docs/.vuepress/theme-coreui/src/client/components/Page.vue | 2 +- .../.vuepress/theme-coreui/src/client/components/ScssDocs.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/Page.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/Page.vue index 8beadbf2..4ae63055 100755 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/Page.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/components/Page.vue @@ -3,7 +3,7 @@ v-if="pro_component" class="bg-danger bg-opacity-10 border-start border-start-5 border-start-danger p-4 pb-3 mb-5" > -

CoreUI PRO Component

+

CoreUI PRO Component

To use this component you must have a CoreUI PRO license. Buy the CoreUI PRO diff --git a/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue b/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue index f398aae2..ae622b73 100644 --- a/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue +++ b/packages/docs/.vuepress/theme-coreui/src/client/components/ScssDocs.vue @@ -1,5 +1,5 @@ From 30eac653d708c18e995256b64ca12fbdff835f05 Mon Sep 17 00:00:00 2001 From: mrholek Date: Fri, 16 Jun 2023 14:06:18 +0200 Subject: [PATCH 115/302] docs: update content --- packages/docs/components/widgets.md | 2 +- packages/docs/forms/textarea.md | 4 ++-- packages/docs/forms/validation.md | 4 ++-- packages/docs/getting-started/accessibility.md | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/docs/components/widgets.md b/packages/docs/components/widgets.md index a8bd91a5..77421487 100644 --- a/packages/docs/components/widgets.md +++ b/packages/docs/components/widgets.md @@ -966,7 +966,7 @@ description: