@voicenter-team/voicenter-ui-plus 1.1.21 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/{entry-EvdwF4XL.mjs → core/index.mjs} +18563 -10397
- package/library/core/index.mjs.br +0 -0
- package/library/core/index.mjs.gz +0 -0
- package/library/core/index.umd.js +15 -0
- package/library/core/index.umd.js.br +0 -0
- package/library/core/index.umd.js.gz +0 -0
- package/library/core/style.css +1 -0
- package/library/core/style.css.br +0 -0
- package/library/core/style.css.gz +0 -0
- package/library/{types → core/types}/components/VcButton/index.d.ts +78 -78
- package/library/{types → core/types}/components/VcDropdown/VcDropdown.vue.d.ts +8 -8
- package/library/{types → core/types}/components/VcMeterGroup/VcMeterGroup.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcMeterGroup/VcMeterGroupLabel.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcSparkline/VcBarLine.vue.d.ts +25 -1
- package/library/{types → core/types}/components/VcSparkline/VcSparkline.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcSparkline/VcTrendLine.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcSparkline/helper.d.ts +1 -1
- package/library/{types → core/types}/components/VcTransfer/VcTransfer.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcTree/VcTreeSelect.vue.d.ts +20 -19
- package/library/{types/components/index.d.ts → core/types/components/exports.d.ts} +92 -105
- package/library/{types/entity/composable → core/types/composables}/useConfirmPopup.d.ts +5 -5
- package/library/core/types/entry.d.ts +32 -0
- package/library/core/types/localization/locales/en.json.d.ts +165 -0
- package/library/{types → core/types}/services/index.d.ts +2 -2
- package/library/core/types/theme/themes.json.d.ts +185 -0
- package/library/core/types/tokens/tokens.d.ts +6 -0
- package/library/{types → core/types}/types/VcDropdown.types.d.ts +2 -1
- package/library/{types → core/types}/types/VcTabs.types.d.ts +0 -4
- package/library/{types → core/types}/types/VcTree.types.d.ts +2 -2
- package/library/core/types/types/basic.types.d.ts +20 -0
- package/library/{types → core/types}/types/index.d.ts +2 -8
- package/package.json +33 -26
- package/src/{theme → core/theme}/themes.json +8 -0
- package/tailwind.config.js +1 -1
- package/library/VcExcelFileUploader-DdT4JMP3.mjs +0 -28203
- package/library/VcExcelFileUploader-DdT4JMP3.mjs.br +0 -0
- package/library/VcExcelFileUploader-DdT4JMP3.mjs.gz +0 -0
- package/library/VcHtmlEditor-C3zXhk2H.mjs +0 -691
- package/library/VcHtmlEditor-C3zXhk2H.mjs.br +0 -0
- package/library/VcHtmlEditor-C3zXhk2H.mjs.gz +0 -0
- package/library/VcImageUploader-Db8XF_ZV.mjs +0 -1772
- package/library/VcImageUploader-Db8XF_ZV.mjs.br +0 -0
- package/library/VcImageUploader-Db8XF_ZV.mjs.gz +0 -0
- package/library/VcJsonSchema-B4EM6LcW.mjs +0 -2216
- package/library/VcJsonSchema-B4EM6LcW.mjs.br +0 -0
- package/library/VcJsonSchema-B4EM6LcW.mjs.gz +0 -0
- package/library/VcMdEditor-CMlNJcLY.mjs +0 -4
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-DOX1NBnx.mjs +0 -27376
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-DOX1NBnx.mjs.br +0 -0
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-DOX1NBnx.mjs.gz +0 -0
- package/library/VcPdfDocument-Cf7CB2iK.mjs +0 -33131
- package/library/VcPdfDocument-Cf7CB2iK.mjs.br +0 -0
- package/library/VcPdfDocument-Cf7CB2iK.mjs.gz +0 -0
- package/library/VcSoundPlayer-Bc4GDrHh.mjs +0 -258
- package/library/VcSoundPlayer-Bc4GDrHh.mjs.br +0 -0
- package/library/VcSoundPlayer-Bc4GDrHh.mjs.gz +0 -0
- package/library/VcSparkline-CwjaA-i6.mjs +0 -561
- package/library/VcSparkline-CwjaA-i6.mjs.br +0 -0
- package/library/VcSparkline-CwjaA-i6.mjs.gz +0 -0
- package/library/VcSystemUserPrompt-WxIPI7kS.mjs +0 -145
- package/library/VcSystemUserPrompt-WxIPI7kS.mjs.br +0 -0
- package/library/VcSystemUserPrompt-WxIPI7kS.mjs.gz +0 -0
- package/library/VcTour-DE5ioKMo.mjs +0 -1068
- package/library/VcTour-DE5ioKMo.mjs.br +0 -0
- package/library/VcTour-DE5ioKMo.mjs.gz +0 -0
- package/library/VcTransfer-CG4j9PzS.mjs +0 -567
- package/library/VcTransfer-CG4j9PzS.mjs.br +0 -0
- package/library/VcTransfer-CG4j9PzS.mjs.gz +0 -0
- package/library/VcTree-C2VshYQH.mjs +0 -4
- package/library/VcTree.vue_vue_type_style_index_0_lang-DqIT64MT.mjs +0 -2219
- package/library/VcTree.vue_vue_type_style_index_0_lang-DqIT64MT.mjs.br +0 -0
- package/library/VcTree.vue_vue_type_style_index_0_lang-DqIT64MT.mjs.gz +0 -0
- package/library/VcTreeSelect-CwsiIyeG.mjs +0 -339
- package/library/VcTreeSelect-CwsiIyeG.mjs.br +0 -0
- package/library/VcTreeSelect-CwsiIyeG.mjs.gz +0 -0
- package/library/_isIterateeCall-jrkoht6u.mjs +0 -16
- package/library/apl-fqmucPXA.mjs +0 -140
- package/library/apl-fqmucPXA.mjs.br +0 -0
- package/library/apl-fqmucPXA.mjs.gz +0 -0
- package/library/asciiarmor-DucZyvP0.mjs +0 -56
- package/library/asciiarmor-DucZyvP0.mjs.br +0 -0
- package/library/asciiarmor-DucZyvP0.mjs.gz +0 -0
- package/library/asn1-BnOEsgAm.mjs +0 -144
- package/library/asn1-BnOEsgAm.mjs.br +0 -0
- package/library/asn1-BnOEsgAm.mjs.gz +0 -0
- package/library/asterisk-QAlztEwS.mjs +0 -345
- package/library/asterisk-QAlztEwS.mjs.br +0 -0
- package/library/asterisk-QAlztEwS.mjs.gz +0 -0
- package/library/brainfuck-DZVCuF_t.mjs +0 -53
- package/library/brainfuck-DZVCuF_t.mjs.br +0 -0
- package/library/brainfuck-DZVCuF_t.mjs.gz +0 -0
- package/library/clike-DaICHkS3.mjs +0 -805
- package/library/clike-DaICHkS3.mjs.br +0 -0
- package/library/clike-DaICHkS3.mjs.gz +0 -0
- package/library/clojure-BhXMqnxz.mjs +0 -849
- package/library/clojure-BhXMqnxz.mjs.br +0 -0
- package/library/clojure-BhXMqnxz.mjs.gz +0 -0
- package/library/cmake-BGaNd9E7.mjs +0 -71
- package/library/cmake-BGaNd9E7.mjs.br +0 -0
- package/library/cmake-BGaNd9E7.mjs.gz +0 -0
- package/library/cobol-4yqQntpt.mjs +0 -120
- package/library/cobol-4yqQntpt.mjs.br +0 -0
- package/library/cobol-4yqQntpt.mjs.gz +0 -0
- package/library/coffeescript-D2dXvhEc.mjs +0 -308
- package/library/coffeescript-D2dXvhEc.mjs.br +0 -0
- package/library/coffeescript-D2dXvhEc.mjs.gz +0 -0
- package/library/commonlisp-CF_VNHQR.mjs +0 -130
- package/library/commonlisp-CF_VNHQR.mjs.br +0 -0
- package/library/commonlisp-CF_VNHQR.mjs.gz +0 -0
- package/library/crystal-DyuLTqLs.mjs +0 -398
- package/library/crystal-DyuLTqLs.mjs.br +0 -0
- package/library/crystal-DyuLTqLs.mjs.gz +0 -0
- package/library/css-c-jst79C.mjs +0 -1783
- package/library/css-c-jst79C.mjs.br +0 -0
- package/library/css-c-jst79C.mjs.gz +0 -0
- package/library/cypher-Dlu_3r4V.mjs +0 -121
- package/library/cypher-Dlu_3r4V.mjs.br +0 -0
- package/library/cypher-Dlu_3r4V.mjs.gz +0 -0
- package/library/d-UURgV0Ux.mjs +0 -179
- package/library/d-UURgV0Ux.mjs.br +0 -0
- package/library/d-UURgV0Ux.mjs.gz +0 -0
- package/library/diff-B_Bi2Crb.mjs +0 -25
- package/library/dockerfile-D1TIj5jA.mjs +0 -201
- package/library/dockerfile-D1TIj5jA.mjs.br +0 -0
- package/library/dockerfile-D1TIj5jA.mjs.gz +0 -0
- package/library/dtd-Dy74G54E.mjs +0 -114
- package/library/dtd-Dy74G54E.mjs.br +0 -0
- package/library/dtd-Dy74G54E.mjs.gz +0 -0
- package/library/dylan-TSb-Nfix.mjs +0 -314
- package/library/dylan-TSb-Nfix.mjs.br +0 -0
- package/library/dylan-TSb-Nfix.mjs.gz +0 -0
- package/library/ebnf-DAomQUbD.mjs +0 -139
- package/library/ebnf-DAomQUbD.mjs.br +0 -0
- package/library/ebnf-DAomQUbD.mjs.gz +0 -0
- package/library/ecl-B59qGGVg.mjs +0 -178
- package/library/ecl-B59qGGVg.mjs.br +0 -0
- package/library/ecl-B59qGGVg.mjs.gz +0 -0
- package/library/eiffel-Dze7nlu3.mjs +0 -134
- package/library/eiffel-Dze7nlu3.mjs.br +0 -0
- package/library/eiffel-Dze7nlu3.mjs.gz +0 -0
- package/library/elm-DG7jkhNZ.mjs +0 -176
- package/library/elm-DG7jkhNZ.mjs.br +0 -0
- package/library/elm-DG7jkhNZ.mjs.gz +0 -0
- package/library/entry-EvdwF4XL.mjs.br +0 -0
- package/library/entry-EvdwF4XL.mjs.gz +0 -0
- package/library/erlang-BO6gOnGA.mjs +0 -674
- package/library/erlang-BO6gOnGA.mjs.br +0 -0
- package/library/erlang-BO6gOnGA.mjs.gz +0 -0
- package/library/factor-ne7PWKF0.mjs +0 -65
- package/library/factor-ne7PWKF0.mjs.br +0 -0
- package/library/factor-ne7PWKF0.mjs.gz +0 -0
- package/library/fcl-CDDUNjTj.mjs +0 -141
- package/library/fcl-CDDUNjTj.mjs.br +0 -0
- package/library/fcl-CDDUNjTj.mjs.gz +0 -0
- package/library/floating-ui.dom-CfpJisRd.mjs +0 -1401
- package/library/floating-ui.dom-CfpJisRd.mjs.br +0 -0
- package/library/floating-ui.dom-CfpJisRd.mjs.gz +0 -0
- package/library/forth-B9D2JCeE.mjs +0 -116
- package/library/forth-B9D2JCeE.mjs.br +0 -0
- package/library/forth-B9D2JCeE.mjs.gz +0 -0
- package/library/fortran-CAG2BFbe.mjs +0 -467
- package/library/fortran-CAG2BFbe.mjs.br +0 -0
- package/library/fortran-CAG2BFbe.mjs.gz +0 -0
- package/library/gas-d3KEcW3x.mjs +0 -294
- package/library/gas-d3KEcW3x.mjs.br +0 -0
- package/library/gas-d3KEcW3x.mjs.gz +0 -0
- package/library/gherkin-DhZlEZiy.mjs +0 -115
- package/library/gherkin-DhZlEZiy.mjs.br +0 -0
- package/library/gherkin-DhZlEZiy.mjs.gz +0 -0
- package/library/groovy-CpwJiBl7.mjs +0 -223
- package/library/groovy-CpwJiBl7.mjs.br +0 -0
- package/library/groovy-CpwJiBl7.mjs.gz +0 -0
- package/library/haskell-BlGBCCe3.mjs +0 -459
- package/library/haskell-BlGBCCe3.mjs.br +0 -0
- package/library/haskell-BlGBCCe3.mjs.gz +0 -0
- package/library/haxe-7MlzfeYV.mjs +0 -514
- package/library/haxe-7MlzfeYV.mjs.br +0 -0
- package/library/haxe-7MlzfeYV.mjs.gz +0 -0
- package/library/http-BqypyemW.mjs +0 -79
- package/library/http-BqypyemW.mjs.br +0 -0
- package/library/http-BqypyemW.mjs.gz +0 -0
- package/library/idl-4HIGJlDI.mjs +0 -985
- package/library/idl-4HIGJlDI.mjs.br +0 -0
- package/library/idl-4HIGJlDI.mjs.gz +0 -0
- package/library/index-4jX79S-P.mjs +0 -150
- package/library/index-4jX79S-P.mjs.br +0 -0
- package/library/index-4jX79S-P.mjs.gz +0 -0
- package/library/index-9LYQtr4h.mjs +0 -328
- package/library/index-9LYQtr4h.mjs.br +0 -0
- package/library/index-9LYQtr4h.mjs.gz +0 -0
- package/library/index-BAAqkdMI.mjs +0 -96
- package/library/index-BAAqkdMI.mjs.br +0 -0
- package/library/index-BAAqkdMI.mjs.gz +0 -0
- package/library/index-Ba4OKxCw.mjs +0 -323
- package/library/index-Ba4OKxCw.mjs.br +0 -0
- package/library/index-Ba4OKxCw.mjs.gz +0 -0
- package/library/index-Bs6_pkvd.mjs +0 -688
- package/library/index-Bs6_pkvd.mjs.br +0 -0
- package/library/index-Bs6_pkvd.mjs.gz +0 -0
- package/library/index-BulKMlHH.mjs +0 -79
- package/library/index-BulKMlHH.mjs.br +0 -0
- package/library/index-BulKMlHH.mjs.gz +0 -0
- package/library/index-CWRhvk2r.mjs +0 -156
- package/library/index-CWRhvk2r.mjs.br +0 -0
- package/library/index-CWRhvk2r.mjs.gz +0 -0
- package/library/index-CkrjnzoC.mjs +0 -384
- package/library/index-CkrjnzoC.mjs.br +0 -0
- package/library/index-CkrjnzoC.mjs.gz +0 -0
- package/library/index-DLB9KgZi.mjs +0 -301
- package/library/index-DLB9KgZi.mjs.br +0 -0
- package/library/index-DLB9KgZi.mjs.gz +0 -0
- package/library/index-DQ5kp4Rw.mjs +0 -114
- package/library/index-DQ5kp4Rw.mjs.br +0 -0
- package/library/index-DQ5kp4Rw.mjs.gz +0 -0
- package/library/index-DZkxoGn3.mjs +0 -81
- package/library/index-DZkxoGn3.mjs.br +0 -0
- package/library/index-DZkxoGn3.mjs.gz +0 -0
- package/library/index-EVu8jdcY.mjs +0 -405
- package/library/index-EVu8jdcY.mjs.br +0 -0
- package/library/index-EVu8jdcY.mjs.gz +0 -0
- package/library/index-Ftvywh65.mjs +0 -177
- package/library/index-Ftvywh65.mjs.br +0 -0
- package/library/index-Ftvywh65.mjs.gz +0 -0
- package/library/index-PFn9GZaw.mjs +0 -60
- package/library/index-PFn9GZaw.mjs.br +0 -0
- package/library/index-PFn9GZaw.mjs.gz +0 -0
- package/library/index-ef4WGzk3.mjs +0 -678
- package/library/index-ef4WGzk3.mjs.br +0 -0
- package/library/index-ef4WGzk3.mjs.gz +0 -0
- package/library/index-emKs9XKV.mjs +0 -35242
- package/library/index-emKs9XKV.mjs.br +0 -0
- package/library/index-emKs9XKV.mjs.gz +0 -0
- package/library/index-kYmjso4n.mjs +0 -311
- package/library/index-kYmjso4n.mjs.br +0 -0
- package/library/index-kYmjso4n.mjs.gz +0 -0
- package/library/index.es-DQ0tvEe9.mjs +0 -25486
- package/library/index.es-DQ0tvEe9.mjs.br +0 -0
- package/library/index.es-DQ0tvEe9.mjs.gz +0 -0
- package/library/javascript-C3MnDRiU.mjs +0 -994
- package/library/javascript-C3MnDRiU.mjs.br +0 -0
- package/library/javascript-C3MnDRiU.mjs.gz +0 -0
- package/library/jinja2-2Vo2sGef.mjs +0 -208
- package/library/jinja2-2Vo2sGef.mjs.br +0 -0
- package/library/jinja2-2Vo2sGef.mjs.gz +0 -0
- package/library/julia-Bs6JJhYG.mjs +0 -407
- package/library/julia-Bs6JJhYG.mjs.br +0 -0
- package/library/julia-Bs6JJhYG.mjs.gz +0 -0
- package/library/livescript-DmzgM3Yt.mjs +0 -296
- package/library/livescript-DmzgM3Yt.mjs.br +0 -0
- package/library/livescript-DmzgM3Yt.mjs.gz +0 -0
- package/library/lua-8cJgIlqe.mjs +0 -256
- package/library/lua-8cJgIlqe.mjs.br +0 -0
- package/library/lua-8cJgIlqe.mjs.gz +0 -0
- package/library/mathematica-DNLOL9PQ.mjs +0 -110
- package/library/mathematica-DNLOL9PQ.mjs.br +0 -0
- package/library/mathematica-DNLOL9PQ.mjs.gz +0 -0
- package/library/mbox-Ga7d4MMN.mjs +0 -117
- package/library/mbox-Ga7d4MMN.mjs.br +0 -0
- package/library/mbox-Ga7d4MMN.mjs.gz +0 -0
- package/library/mirc-Dma3B8rS.mjs +0 -107
- package/library/mirc-Dma3B8rS.mjs.br +0 -0
- package/library/mirc-Dma3B8rS.mjs.gz +0 -0
- package/library/mllike-DHn7xckP.mjs +0 -334
- package/library/mllike-DHn7xckP.mjs.br +0 -0
- package/library/mllike-DHn7xckP.mjs.gz +0 -0
- package/library/modelica-0d55jYY0.mjs +0 -147
- package/library/modelica-0d55jYY0.mjs.br +0 -0
- package/library/modelica-0d55jYY0.mjs.gz +0 -0
- package/library/mscgen-DdqZYINH.mjs +0 -135
- package/library/mscgen-DdqZYINH.mjs.br +0 -0
- package/library/mscgen-DdqZYINH.mjs.gz +0 -0
- package/library/mumps-Btr8VblO.mjs +0 -93
- package/library/mumps-Btr8VblO.mjs.br +0 -0
- package/library/mumps-Btr8VblO.mjs.gz +0 -0
- package/library/nginx-DTDtBDVN.mjs +0 -141
- package/library/nginx-DTDtBDVN.mjs.br +0 -0
- package/library/nginx-DTDtBDVN.mjs.gz +0 -0
- package/library/nsis-BnYeX9pP.mjs +0 -62
- package/library/nsis-BnYeX9pP.mjs.br +0 -0
- package/library/nsis-BnYeX9pP.mjs.gz +0 -0
- package/library/ntriples-CvgOYMpL.mjs +0 -153
- package/library/ntriples-CvgOYMpL.mjs.br +0 -0
- package/library/ntriples-CvgOYMpL.mjs.gz +0 -0
- package/library/octave-DYBj3-tl.mjs +0 -200
- package/library/octave-DYBj3-tl.mjs.br +0 -0
- package/library/octave-DYBj3-tl.mjs.gz +0 -0
- package/library/oz-R_e8WMIi.mjs +0 -231
- package/library/oz-R_e8WMIi.mjs.br +0 -0
- package/library/oz-R_e8WMIi.mjs.gz +0 -0
- package/library/pascal-GD8iposT.mjs +0 -105
- package/library/pascal-GD8iposT.mjs.br +0 -0
- package/library/pascal-GD8iposT.mjs.gz +0 -0
- package/library/perl-DL9mHpoi.mjs +0 -1105
- package/library/perl-DL9mHpoi.mjs.br +0 -0
- package/library/perl-DL9mHpoi.mjs.gz +0 -0
- package/library/pig-C_4T4YIV.mjs +0 -101
- package/library/pig-C_4T4YIV.mjs.br +0 -0
- package/library/pig-C_4T4YIV.mjs.gz +0 -0
- package/library/powershell-B0suO7Vd.mjs +0 -328
- package/library/powershell-B0suO7Vd.mjs.br +0 -0
- package/library/powershell-B0suO7Vd.mjs.gz +0 -0
- package/library/properties-BR-vP1aU.mjs +0 -58
- package/library/properties-BR-vP1aU.mjs.br +0 -0
- package/library/properties-BR-vP1aU.mjs.gz +0 -0
- package/library/protobuf-BxgpyhoW.mjs +0 -77
- package/library/protobuf-BxgpyhoW.mjs.br +0 -0
- package/library/protobuf-BxgpyhoW.mjs.gz +0 -0
- package/library/pug-DGCLwxp4.mjs +0 -405
- package/library/pug-DGCLwxp4.mjs.br +0 -0
- package/library/pug-DGCLwxp4.mjs.gz +0 -0
- package/library/puppet-Bdao66PW.mjs +0 -137
- package/library/puppet-Bdao66PW.mjs.br +0 -0
- package/library/puppet-Bdao66PW.mjs.gz +0 -0
- package/library/python-CvWbmiX4.mjs +0 -427
- package/library/python-CvWbmiX4.mjs.br +0 -0
- package/library/python-CvWbmiX4.mjs.gz +0 -0
- package/library/q-819KmTeu.mjs +0 -128
- package/library/q-819KmTeu.mjs.br +0 -0
- package/library/q-819KmTeu.mjs.gz +0 -0
- package/library/r-V7nswm59.mjs +0 -170
- package/library/r-V7nswm59.mjs.br +0 -0
- package/library/r-V7nswm59.mjs.gz +0 -0
- package/library/rpm-C-DLY-If.mjs +0 -109
- package/library/rpm-C-DLY-If.mjs.br +0 -0
- package/library/rpm-C-DLY-If.mjs.gz +0 -0
- package/library/ruby-JDKLJNK0.mjs +0 -330
- package/library/ruby-JDKLJNK0.mjs.br +0 -0
- package/library/ruby-JDKLJNK0.mjs.gz +0 -0
- package/library/sas-D2UG-yhZ.mjs +0 -207
- package/library/sas-D2UG-yhZ.mjs.br +0 -0
- package/library/sas-D2UG-yhZ.mjs.gz +0 -0
- package/library/scheme-BKzrkGJD.mjs +0 -222
- package/library/scheme-BKzrkGJD.mjs.br +0 -0
- package/library/scheme-BKzrkGJD.mjs.gz +0 -0
- package/library/shell-BlsXDxCn.mjs +0 -222
- package/library/shell-BlsXDxCn.mjs.br +0 -0
- package/library/shell-BlsXDxCn.mjs.gz +0 -0
- package/library/sieve-CjwBwOY5.mjs +0 -135
- package/library/sieve-CjwBwOY5.mjs.br +0 -0
- package/library/sieve-CjwBwOY5.mjs.gz +0 -0
- package/library/simple-mode-zrLq6ojR.mjs +0 -129
- package/library/simple-mode-zrLq6ojR.mjs.br +0 -0
- package/library/simple-mode-zrLq6ojR.mjs.gz +0 -0
- package/library/smalltalk-BOIGQuhN.mjs +0 -121
- package/library/smalltalk-BOIGQuhN.mjs.br +0 -0
- package/library/smalltalk-BOIGQuhN.mjs.gz +0 -0
- package/library/solr-CwD7U71z.mjs +0 -69
- package/library/solr-CwD7U71z.mjs.br +0 -0
- package/library/solr-CwD7U71z.mjs.gz +0 -0
- package/library/sparql-DYskk2vE.mjs +0 -249
- package/library/sparql-DYskk2vE.mjs.br +0 -0
- package/library/sparql-DYskk2vE.mjs.gz +0 -0
- package/library/spreadsheet-Bgtt3oLP.mjs +0 -87
- package/library/spreadsheet-Bgtt3oLP.mjs.br +0 -0
- package/library/spreadsheet-Bgtt3oLP.mjs.gz +0 -0
- package/library/sql-BSrOzCRI.mjs +0 -354
- package/library/sql-BSrOzCRI.mjs.br +0 -0
- package/library/sql-BSrOzCRI.mjs.gz +0 -0
- package/library/stex-B6LNC55o.mjs +0 -231
- package/library/stex-B6LNC55o.mjs.br +0 -0
- package/library/stex-B6LNC55o.mjs.gz +0 -0
- package/library/style.css +0 -1
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/stylus-BkS-boTH.mjs +0 -565
- package/library/stylus-BkS-boTH.mjs.br +0 -0
- package/library/stylus-BkS-boTH.mjs.gz +0 -0
- package/library/super.mjs +0 -168
- package/library/super.mjs.br +0 -0
- package/library/super.mjs.gz +0 -0
- package/library/super.umd.js +0 -48
- package/library/super.umd.js.br +0 -0
- package/library/super.umd.js.gz +0 -0
- package/library/swift-FRZi1uvB.mjs +0 -291
- package/library/swift-FRZi1uvB.mjs.br +0 -0
- package/library/swift-FRZi1uvB.mjs.gz +0 -0
- package/library/tcl-CUcaCdmq.mjs +0 -114
- package/library/tcl-CUcaCdmq.mjs.br +0 -0
- package/library/tcl-CUcaCdmq.mjs.gz +0 -0
- package/library/textile-BnFpjsrl.mjs +0 -414
- package/library/textile-BnFpjsrl.mjs.br +0 -0
- package/library/textile-BnFpjsrl.mjs.gz +0 -0
- package/library/tiddlywiki-CjprD-Qp.mjs +0 -218
- package/library/tiddlywiki-CjprD-Qp.mjs.br +0 -0
- package/library/tiddlywiki-CjprD-Qp.mjs.gz +0 -0
- package/library/tiki-B4EPSQ1G.mjs +0 -265
- package/library/tiki-B4EPSQ1G.mjs.br +0 -0
- package/library/tiki-B4EPSQ1G.mjs.gz +0 -0
- package/library/toml-CrLTxh7K.mjs +0 -75
- package/library/toml-CrLTxh7K.mjs.br +0 -0
- package/library/toml-CrLTxh7K.mjs.gz +0 -0
- package/library/troff-E1bJ0PPL.mjs +0 -61
- package/library/troff-E1bJ0PPL.mjs.br +0 -0
- package/library/troff-E1bJ0PPL.mjs.gz +0 -0
- package/library/ttcn-cfg-Dc39-fIP.mjs +0 -133
- package/library/ttcn-cfg-Dc39-fIP.mjs.br +0 -0
- package/library/ttcn-cfg-Dc39-fIP.mjs.gz +0 -0
- package/library/ttcn-tKd4HLu4.mjs +0 -192
- package/library/ttcn-tKd4HLu4.mjs.br +0 -0
- package/library/ttcn-tKd4HLu4.mjs.gz +0 -0
- package/library/turtle-Dq7-1WAf.mjs +0 -124
- package/library/turtle-Dq7-1WAf.mjs.br +0 -0
- package/library/turtle-Dq7-1WAf.mjs.gz +0 -0
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +0 -68
- package/library/types/components/VcExcelUploader/VcExcelFileUploadBlock.vue.d.ts +0 -70
- package/library/types/components/VcExcelUploader/VcExcelFileUploader.vue.d.ts +0 -179
- package/library/types/components/VcExcelUploader/VcFileImportErrorsCard.vue.d.ts +0 -31
- package/library/types/components/VcExcelUploader/VcFileImportParseResultBlock.vue.d.ts +0 -69
- package/library/types/components/VcExcelUploader/VcFileImportResultBindData.vue.d.ts +0 -60
- package/library/types/components/VcExcelUploader/VcFileImportResultBindDataTable.vue.d.ts +0 -40
- package/library/types/components/VcHtmlEditor/VcHtmlEditor.vue.d.ts +0 -63
- package/library/types/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.d.ts +0 -43
- package/library/types/components/VcHtmlEditor/htmlEditor.config.d.ts +0 -19
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +0 -74
- package/library/types/components/VcImageUploader/index.d.ts +0 -2
- package/library/types/components/VcJsonSchema/Components/ImportJsonSchemaModal.vue.d.ts +0 -25
- package/library/types/components/VcJsonSchema/Components/JsonCodeMirror.vue.d.ts +0 -24
- package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +0 -86
- package/library/types/components/VcJsonSchema/Components/JsonSchemaManageModal.vue.d.ts +0 -28
- package/library/types/components/VcJsonSchema/PropertySetup/JsonSchemaPropertyModal.vue.d.ts +0 -39
- package/library/types/components/VcJsonSchema/VcJsonSchema.vue.d.ts +0 -49
- package/library/types/components/VcJsonSchema/helpers/jsonSchema.enum.d.ts +0 -9
- package/library/types/components/VcJsonSchema/helpers/jsonSchema.helper.d.ts +0 -3
- package/library/types/components/VcMdEditor/ParameterNode.vue.d.ts +0 -6
- package/library/types/components/VcMdEditor/VcMdEditor.vue.d.ts +0 -30
- package/library/types/components/VcMdEditor/VcMdEditorContent.vue.d.ts +0 -82
- package/library/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +0 -27
- package/library/types/components/VcMdEditor/mdEditor.config.d.ts +0 -91
- package/library/types/components/VcMdEditor/rtlCursorPlugin.d.ts +0 -8
- package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +0 -40
- package/library/types/components/VcPdfViewer/VcPdfDocumentCard.vue.d.ts +0 -47
- package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +0 -55
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerFooter.vue.d.ts +0 -63
- package/library/types/components/VcPdfViewer/VcPdfDocumentViewerToolbar.vue.d.ts +0 -28
- package/library/types/components/VcPdfViewer/pdfjslib.d.ts +0 -4
- package/library/types/components/VcPdfViewer/utils.d.ts +0 -7
- package/library/types/components/VcSipFlow/VcSipFlow.vue.d.ts +0 -97
- package/library/types/components/VcSipFlow/index.d.ts +0 -3
- package/library/types/components/VcSipFlow/sip-flow.options.d.ts +0 -77
- package/library/types/components/VcSoundplayer/VcPlayerPlayStopButton.vue.d.ts +0 -55
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRate.vue.d.ts +0 -35
- package/library/types/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.d.ts +0 -40
- package/library/types/components/VcSoundplayer/VcPlayerSkipButtons.vue.d.ts +0 -52
- package/library/types/components/VcSoundplayer/VcSoundCurrentTime.vue.d.ts +0 -2
- package/library/types/components/VcSoundplayer/VcSoundDuration.vue.d.ts +0 -2
- package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +0 -96
- package/library/types/components/VcSoundplayer/VcSoundPlayerError.vue.d.ts +0 -21
- package/library/types/components/VcSoundplayer/VcSoundPlayerProgress.vue.d.ts +0 -15
- package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +0 -208
- package/library/types/components/VcSoundplayer/VcSoundVolume.vue.d.ts +0 -44
- package/library/types/components/VcSoundplayer/player.options.d.ts +0 -10
- package/library/types/components/VcSoundplayer/soundPlayerParts.d.ts +0 -11
- package/library/types/components/VcSoundplayer/useSoundPlayerProvideInject.d.ts +0 -3
- package/library/types/components/VcSystemUserPrompt/VcSystemUserPrompt.vue.d.ts +0 -41
- package/library/types/components/VcSystemUserPrompt/enum.d.ts +0 -13
- package/library/types/components/VcTour/VcTour.vue.d.ts +0 -70
- package/library/types/components/exports.d.ts +0 -64
- package/library/types/components/heavy-components.d.ts +0 -41
- package/library/types/composables/useCopyButton.d.ts +0 -5
- package/library/types/composables/useVModel.d.ts +0 -1
- package/library/types/entity/components/Button/VcEntityAddButton.vue.d.ts +0 -41
- package/library/types/entity/components/Button/VcEntityCancelButton.vue.d.ts +0 -54
- package/library/types/entity/components/Button/VcEntityDeleteIconButton.vue.d.ts +0 -48
- package/library/types/entity/components/Button/VcEntityEditIconButton.vue.d.ts +0 -36
- package/library/types/entity/components/Button/VcEntityRestoreButton.vue.d.ts +0 -54
- package/library/types/entity/components/Button/VcEntityStatusButton.vue.d.ts +0 -48
- package/library/types/entity/components/Form/VcBaseVerticalForm.vue.d.ts +0 -55
- package/library/types/entity/components/Form/VcEntityEditPageForm.vue.d.ts +0 -59
- package/library/types/entity/components/Form/VcEntityVerticalCreateForm.vue.d.ts +0 -50
- package/library/types/entity/components/Form/VcEntityVerticalEditForm.vue.d.ts +0 -62
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +0 -146
- package/library/types/entity/components/Tabs/VcEntityEditableTabs.vue.d.ts +0 -165
- package/library/types/entity/components/index.d.ts +0 -29
- package/library/types/entity/composable/useEditableTabs.d.ts +0 -12
- package/library/types/entity/composable/useEntityListTableExternalPaginate.d.ts +0 -17
- package/library/types/entity/composable/useEntityProvideInject.d.ts +0 -24
- package/library/types/entity/composable/useEntityTabsProviseInject.d.ts +0 -3
- package/library/types/entity/index.d.ts +0 -1
- package/library/types/entity/services/BaseEntityService.d.ts +0 -105
- package/library/types/entity/services/index.d.ts +0 -1
- package/library/types/entry.d.ts +0 -27
- package/library/types/tokens/tokens.d.ts +0 -13
- package/library/types/types/Entity.types.d.ts +0 -5
- package/library/types/types/Tabs.d.ts +0 -23
- package/library/types/types/VcSipFlow.types.d.ts +0 -85
- package/library/types/types/VcSoundPlayer.types.d.ts +0 -34
- package/library/types/types/VcSystemUserPrompt.types.d.ts +0 -4
- package/library/types/types/VcTour.types.d.ts +0 -53
- package/library/types/types/basic.types.d.ts +0 -49
- package/library/types/types/heavy-components.types.d.ts +0 -54
- package/library/types/utils/excelParser/configs.d.ts +0 -5
- package/library/types/utils/excelParser/helper.d.ts +0 -20
- package/library/types/utils/excelParser/parser.d.ts +0 -244
- package/library/types/utils/excelParser/validations.d.ts +0 -27
- package/library/types/utils/isValidTime.d.ts +0 -2
- package/library/types/utils/mime-types.d.ts +0 -12
- package/library/vb-Dp90gtsv.mjs +0 -196
- package/library/vb-Dp90gtsv.mjs.br +0 -0
- package/library/vb-Dp90gtsv.mjs.gz +0 -0
- package/library/vbscript-CI6_mxxU.mjs +0 -479
- package/library/vbscript-CI6_mxxU.mjs.br +0 -0
- package/library/vbscript-CI6_mxxU.mjs.gz +0 -0
- package/library/velocity-BwIZK1TH.mjs +0 -149
- package/library/velocity-BwIZK1TH.mjs.br +0 -0
- package/library/velocity-BwIZK1TH.mjs.gz +0 -0
- package/library/verilog-DDCYnHN8.mjs +0 -430
- package/library/verilog-DDCYnHN8.mjs.br +0 -0
- package/library/verilog-DDCYnHN8.mjs.gz +0 -0
- package/library/vhdl-DCkMIyT9.mjs +0 -158
- package/library/vhdl-DCkMIyT9.mjs.br +0 -0
- package/library/vhdl-DCkMIyT9.mjs.gz +0 -0
- package/library/webidl-BTLTThCm.mjs +0 -204
- package/library/webidl-BTLTThCm.mjs.br +0 -0
- package/library/webidl-BTLTThCm.mjs.gz +0 -0
- package/library/xquery-BgiOC5Ce.mjs +0 -525
- package/library/xquery-BgiOC5Ce.mjs.br +0 -0
- package/library/xquery-BgiOC5Ce.mjs.gz +0 -0
- package/library/yacas-b5lAVEIl.mjs +0 -130
- package/library/yacas-b5lAVEIl.mjs.br +0 -0
- package/library/yacas-b5lAVEIl.mjs.gz +0 -0
- package/library/z80-BZV19vqv.mjs +0 -93
- package/library/z80-BZV19vqv.mjs.br +0 -0
- package/library/z80-BZV19vqv.mjs.gz +0 -0
- package/src/assets/sass/main/_icons.scss +0 -36
- package/src/components/VcButton/VcButton.scss +0 -191
- package/src/components/VcButton/VcButtonIcon.scss +0 -179
- package/src/components/VcInput/VcInput.scss +0 -100
- package/src/components/VcModal/VcModal.scss +0 -232
- package/src/components/VcPopover/VcPopover.scss +0 -10
- package/src/components/VcSelect/VcSelect.scss +0 -96
- package/src/components/VcSelect/VcSelectMixin.scss +0 -39
- package/src/components/VcSelect/VcSelectOption.scss +0 -29
- package/src/components/VcSelect/VcSelectVariables.scss +0 -1
- package/src/enum/constants.ts +0 -50
- package/src/enum/countries.ts +0 -1277
- package/src/enum/dataTestAttributes.ts +0 -9
- package/src/enum/icons.ts +0 -8919
- package/src/enum/inputDefaults.ts +0 -8
- package/src/utils/makeDataTestAttributeValue.ts +0 -5
- package/library/{types → core/types}/components/VcAutocomplete/VcAutocomplete.vue.d.ts +77 -77
- package/library/{types → core/types}/components/VcButton/VcButton.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcButton/VcButtonIcon.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcButton/VcToggleButton.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcCard/VcCard.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcCheckbox/VcCheckbox.vue.d.ts +15 -15
- package/library/{types → core/types}/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +9 -9
- package/library/{types → core/types}/components/VcCollapse/VcCollapse.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcCollapse/VcCollapseItem.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcCollapse/VcCollapseTransition.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcColorPicker/VcColorPicker.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcDatePicker/VcDatePicker.vue.d.ts +18 -18
- package/library/{types → core/types}/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +6 -6
- package/library/{types → core/types}/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcDelimitedList/VcDelimitedList.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcDropdown/VcDropdownItem.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +4 -4
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/composable.d.ts +0 -0
- package/library/{types → core/types}/components/VcExtendedDatetimeRangePicker/enum.d.ts +0 -0
- package/library/{types → core/types}/components/VcFileUploader/VcFileUploader.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcForm/UiComponents/VcInputError.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcForm/VcForm.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcForm/VcFormItem.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcHyperLink/VcHyperLink.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcIconPicker/VcIconPicker.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcInput/VcInput.vue.d.ts +5 -5
- package/library/{types → core/types}/components/VcInputNumber/VcInputNumber.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcLoading/Loaders/Circles.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/Loaders/DotSpinner.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/Loaders/LoadIcon.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/Loaders/Stretch.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/Loaders/index.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/VcLoading.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcLoading/enum.d.ts +0 -0
- package/library/{types → core/types}/components/VcModal/VcConfirmModal.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcModal/VcModal.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcNotification/VcNotification.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcNotification/VcNotificationMessage.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcOtpInput/VcOtpInput.vue.d.ts +6 -6
- package/library/{types → core/types}/components/VcPagination/VcPagination.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcPagination/VcPaginationButton.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcPhoneInput/VcFlagLabel.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcPhoneInput/VcPhoneInput.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcPopover/VcConfirmPopover.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcPopover/VcSelectPopover.vue.d.ts +6 -6
- package/library/{types → core/types}/components/VcProgress/VcProgress.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcProgress/VcProgressCircular.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcProgress/progress.options.d.ts +0 -0
- package/library/{types → core/types}/components/VcRadio/VcRadio.vue.d.ts +6 -6
- package/library/{types → core/types}/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcRadioGroup/VcRadioGroup.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcSegmented/VcSegmented.vue.d.ts +9 -9
- package/library/{types → core/types}/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +18 -18
- package/library/{types → core/types}/components/VcSelect/VcSelect.vue.d.ts +30 -30
- package/library/{types → core/types}/components/VcSelect/VcSelectGrouped.vue.d.ts +27 -27
- package/library/{types → core/types}/components/VcSelect/VcSelectOption.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSlider/VcSlider.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcSplitButton/VcSplitButton.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcSwitch/VcSwitch.vue.d.ts +18 -18
- package/library/{types → core/types}/components/VcTable/VcTable.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcTable/tableOptions.d.ts +0 -0
- package/library/{types → core/types}/components/VcTabs/VcTabNav.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcTabs/VcTabPane.vue.d.ts +1 -1
- package/library/{types → core/types}/components/VcTabs/VcTabs.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcTag/VcTag.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcTagInput/VcTagInput.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcTimeInput/VcTimeInput.vue.d.ts +2 -2
- package/library/{types → core/types}/components/VcTree/VcTree.vue.d.ts +3 -3
- package/library/{types → core/types}/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +0 -0
- package/library/{types → core/types}/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +6 -6
- /package/library/{types → core/types}/components/VcWizard/VcSummaryProgress.vue.d.ts +0 -0
- /package/library/{types → core/types}/components/VcWizard/VcSummaryStep.vue.d.ts +0 -0
- /package/library/{types → core/types}/components/VcWizard/VcWizard.vue.d.ts +0 -0
- /package/library/{types → core/types}/components/VcWizard/VcWizardNavigation.vue.d.ts +0 -0
- /package/library/{types → core/types}/components/VcWizard/VcWizardSummary.vue.d.ts +0 -0
- /package/library/{types → core/types}/composables/input/useInputBase.d.ts +0 -0
- /package/library/{types → core/types}/composables/input/useInputColor.d.ts +0 -0
- /package/library/{types → core/types}/composables/input/useInputError.d.ts +0 -0
- /package/library/{types → core/types}/composables/input/useInputLabel.d.ts +0 -0
- /package/library/{types → core/types}/composables/option/useOptionMethods.d.ts +0 -0
- /package/library/{types/entity/composable → core/types/composables}/useConfirmModal.d.ts +0 -0
- /package/library/{types → core/types}/composables/useRTL.d.ts +0 -0
- /package/library/{types → core/types}/directives/click-outside.d.ts +0 -0
- /package/library/{types → core/types}/directives/index.d.ts +0 -0
- /package/library/{types → core/types}/directives/input-mask.d.ts +0 -0
- /package/library/{types → core/types}/directives/long-press.d.ts +0 -0
- /package/library/{types → core/types}/directives/resize.d.ts +0 -0
- /package/library/{types → core/types}/enum/constants.d.ts +0 -0
- /package/library/{types → core/types}/enum/countries.d.ts +0 -0
- /package/library/{types → core/types}/enum/dataTestAttributes.d.ts +0 -0
- /package/library/{types → core/types}/enum/icons.d.ts +0 -0
- /package/library/{types → core/types}/enum/inputDefaults.d.ts +0 -0
- /package/library/{types → core/types}/font/FontLoader.d.ts +0 -0
- /package/library/{types → core/types}/font/index.d.ts +0 -0
- /package/library/{types → core/types}/localization/Localization.types.d.ts +0 -0
- /package/library/{types → core/types}/localization/index.d.ts +0 -0
- /package/library/{types/utils → core/types/services}/VcNotifyService.d.ts +0 -0
- /package/library/{types → core/types}/theme/index.d.ts +0 -0
- /package/library/{types → core/types}/theme/theme.types.d.ts +0 -0
- /package/library/{types → core/types}/tokens/element-plus.tokens.d.ts +0 -0
- /package/library/{types → core/types}/tokens/index.d.ts +0 -0
- /package/library/{types → core/types}/types/AppendToTarget.types.d.ts +0 -0
- /package/library/{types → core/types}/types/Dropdown.types.d.ts +0 -0
- /package/library/{types → core/types}/types/Entry.types.d.ts +0 -0
- /package/library/{types → core/types}/types/ExcelParser.types.d.ts +0 -0
- /package/library/{types → core/types}/types/OptionAndConfig.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcButton.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcCollapse.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcDatePicker.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcDatetimeRangePicker.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcDelimitedList.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcExtendedDatetimeRangePicker.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcFileUploader.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcForm.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcHyperLink.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcIconPicker.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcInput.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcLoading.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcMeterGroup.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcModal.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcNotification.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcOtpInput.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcPagination.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcPopover.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcProgress.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcRTL.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcRadioTabs.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcSelect.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcSkeletonLoader.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcSparkline.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcSplitButton.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcSwitch.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcTable.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcTag.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcTagInput.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VcWizard.types.d.ts +0 -0
- /package/library/{types → core/types}/types/VueGeneric.types.d.ts +0 -0
- /package/library/{types → core/types}/types/generic.types.d.ts +0 -0
- /package/library/{types → core/types}/types/icons.types.d.ts +0 -0
- /package/library/{types → core/types}/utils/DomHandler.d.ts +0 -0
- /package/library/{types → core/types}/utils/ToastEventBus.d.ts +0 -0
- /package/library/{types → core/types}/utils/UniqueComponentId.d.ts +0 -0
- /package/library/{types → core/types}/utils/ZIndexUtils.d.ts +0 -0
- /package/library/{types → core/types}/utils/dateTime.d.ts +0 -0
- /package/library/{types → core/types}/utils/element-plus-imports.d.ts +0 -0
- /package/library/{types → core/types}/utils/helpers.d.ts +0 -0
- /package/library/{types → core/types}/utils/makeDataTestAttributeValue.d.ts +0 -0
- /package/src/{theme → core/theme}/index.ts +0 -0
- /package/src/{theme → core/theme}/tailwindScheme.js +0 -0
- /package/src/{theme → core/theme}/theme.types.ts +0 -0
|
@@ -1,1068 +0,0 @@
|
|
|
1
|
-
import { isRef, computed, watch, onScopeDispose, ref, onMounted, onBeforeUnmount, unref, watchEffect, defineComponent, inject, toRef, createElementBlock, createCommentVNode, openBlock, mergeProps, createElementVNode, normalizeStyle, normalizeClass, createVNode, withCtx, renderSlot, useSlots, provide, Fragment, createBlock, resolveDynamicComponent, toDisplayString, renderList, createTextVNode, createSlots } from "vue";
|
|
2
|
-
import { bl as baseGet, bm as castPath, bn as toKey, bo as flatRest, bp as arrayMap, h as copyObject, bq as getAllKeysIn, br as baseClone, bs as throwError, aC as useNamespace, bt as isClient, bu as hasClass, aS as addClass, bv as getScrollBarWidth, bw as getStyle, aR as removeClass, aE as buildProps, a_ as definePropType, aK as isArray, aN as isString, aM as isFunction, bx as keysOf, aB as _export_sfc, by as useWindowSize, bz as ElFocusTrap, bA as flattedChildren, bB as isNumber, aJ as isBoolean, b8 as UPDATE_MODEL_EVENT, bC as teleportProps, aZ as iconPropType, bD as useVModel, z as useZIndex, b9 as CHANGE_EVENT, bE as ElTeleport, a$ as useLocale, bF as CloseComponents, aU as ElIcon, bh as ElButton, aY as EVENT_CODE, aD as withInstall, bG as withNoopInstall, u as useVModel$1 } from "./entry-EvdwF4XL.mjs";
|
|
3
|
-
import { i as isPlainObject, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate, d as detectOverflow, c as computePosition } from "./floating-ui.dom-CfpJisRd.mjs";
|
|
4
|
-
function baseSlice(array, start, end) {
|
|
5
|
-
var index = -1, length = array.length;
|
|
6
|
-
if (start < 0) {
|
|
7
|
-
start = -start > length ? 0 : length + start;
|
|
8
|
-
}
|
|
9
|
-
end = end > length ? length : end;
|
|
10
|
-
if (end < 0) {
|
|
11
|
-
end += length;
|
|
12
|
-
}
|
|
13
|
-
length = start > end ? 0 : end - start >>> 0;
|
|
14
|
-
start >>>= 0;
|
|
15
|
-
var result = Array(length);
|
|
16
|
-
while (++index < length) {
|
|
17
|
-
result[index] = array[index + start];
|
|
18
|
-
}
|
|
19
|
-
return result;
|
|
20
|
-
}
|
|
21
|
-
function last(array) {
|
|
22
|
-
var length = array == null ? 0 : array.length;
|
|
23
|
-
return length ? array[length - 1] : void 0;
|
|
24
|
-
}
|
|
25
|
-
function parent(object, path) {
|
|
26
|
-
return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
|
|
27
|
-
}
|
|
28
|
-
function baseUnset(object, path) {
|
|
29
|
-
path = castPath(path, object);
|
|
30
|
-
object = parent(object, path);
|
|
31
|
-
return object == null || delete object[toKey(last(path))];
|
|
32
|
-
}
|
|
33
|
-
function customOmitClone(value) {
|
|
34
|
-
return isPlainObject(value) ? void 0 : value;
|
|
35
|
-
}
|
|
36
|
-
var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
|
|
37
|
-
var omit = flatRest(function(object, paths) {
|
|
38
|
-
var result = {};
|
|
39
|
-
if (object == null) {
|
|
40
|
-
return result;
|
|
41
|
-
}
|
|
42
|
-
var isDeep = false;
|
|
43
|
-
paths = arrayMap(paths, function(path) {
|
|
44
|
-
path = castPath(path, object);
|
|
45
|
-
isDeep || (isDeep = path.length > 1);
|
|
46
|
-
return path;
|
|
47
|
-
});
|
|
48
|
-
copyObject(object, getAllKeysIn(object), result);
|
|
49
|
-
if (isDeep) {
|
|
50
|
-
result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
|
|
51
|
-
}
|
|
52
|
-
var length = paths.length;
|
|
53
|
-
while (length--) {
|
|
54
|
-
baseUnset(result, paths[length]);
|
|
55
|
-
}
|
|
56
|
-
return result;
|
|
57
|
-
});
|
|
58
|
-
const useLockscreen = (trigger, options = {}) => {
|
|
59
|
-
if (!isRef(trigger)) {
|
|
60
|
-
throwError("[useLockscreen]", "You need to pass a ref param to this function");
|
|
61
|
-
}
|
|
62
|
-
const ns = options.ns || useNamespace("popup");
|
|
63
|
-
const hiddenCls = computed(() => ns.bm("parent", "hidden"));
|
|
64
|
-
if (!isClient || hasClass(document.body, hiddenCls.value)) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
let scrollBarWidth = 0;
|
|
68
|
-
let withoutHiddenClass = false;
|
|
69
|
-
let bodyWidth = "0";
|
|
70
|
-
const cleanup = () => {
|
|
71
|
-
setTimeout(() => {
|
|
72
|
-
if (typeof document === "undefined")
|
|
73
|
-
return;
|
|
74
|
-
if (withoutHiddenClass && document) {
|
|
75
|
-
document.body.style.width = bodyWidth;
|
|
76
|
-
removeClass(document.body, hiddenCls.value);
|
|
77
|
-
}
|
|
78
|
-
}, 200);
|
|
79
|
-
};
|
|
80
|
-
watch(trigger, (val) => {
|
|
81
|
-
if (!val) {
|
|
82
|
-
cleanup();
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
withoutHiddenClass = !hasClass(document.body, hiddenCls.value);
|
|
86
|
-
if (withoutHiddenClass) {
|
|
87
|
-
bodyWidth = document.body.style.width;
|
|
88
|
-
addClass(document.body, hiddenCls.value);
|
|
89
|
-
}
|
|
90
|
-
scrollBarWidth = getScrollBarWidth(ns.namespace.value);
|
|
91
|
-
const bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;
|
|
92
|
-
const bodyOverflowY = getStyle(document.body, "overflowY");
|
|
93
|
-
if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === "scroll") && withoutHiddenClass) {
|
|
94
|
-
document.body.style.width = `calc(100% - ${scrollBarWidth}px)`;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
onScopeDispose(() => cleanup());
|
|
98
|
-
};
|
|
99
|
-
const maskProps = buildProps({
|
|
100
|
-
zIndex: {
|
|
101
|
-
type: Number,
|
|
102
|
-
default: 1001
|
|
103
|
-
},
|
|
104
|
-
visible: Boolean,
|
|
105
|
-
fill: {
|
|
106
|
-
type: String,
|
|
107
|
-
default: "rgba(0,0,0,0.5)"
|
|
108
|
-
},
|
|
109
|
-
pos: {
|
|
110
|
-
type: definePropType(Object)
|
|
111
|
-
},
|
|
112
|
-
targetAreaClickable: {
|
|
113
|
-
type: Boolean,
|
|
114
|
-
default: true
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
const useTarget = (target, open, gap, mergedMask, scrollIntoViewOptions) => {
|
|
118
|
-
const posInfo = ref(null);
|
|
119
|
-
const getTargetEl = () => {
|
|
120
|
-
let targetEl;
|
|
121
|
-
if (isString(target.value)) {
|
|
122
|
-
targetEl = document.querySelector(target.value);
|
|
123
|
-
} else if (isFunction(target.value)) {
|
|
124
|
-
targetEl = target.value();
|
|
125
|
-
} else {
|
|
126
|
-
targetEl = target.value;
|
|
127
|
-
}
|
|
128
|
-
return targetEl;
|
|
129
|
-
};
|
|
130
|
-
const updatePosInfo = () => {
|
|
131
|
-
const targetEl = getTargetEl();
|
|
132
|
-
if (!targetEl || !open.value) {
|
|
133
|
-
posInfo.value = null;
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
if (!isInViewPort(targetEl)) {
|
|
137
|
-
targetEl.scrollIntoView(scrollIntoViewOptions.value);
|
|
138
|
-
}
|
|
139
|
-
const { left, top, width, height } = targetEl.getBoundingClientRect();
|
|
140
|
-
posInfo.value = {
|
|
141
|
-
left,
|
|
142
|
-
top,
|
|
143
|
-
width,
|
|
144
|
-
height,
|
|
145
|
-
radius: 0
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
onMounted(() => {
|
|
149
|
-
watch([open, target], () => {
|
|
150
|
-
updatePosInfo();
|
|
151
|
-
}, {
|
|
152
|
-
immediate: true
|
|
153
|
-
});
|
|
154
|
-
window.addEventListener("resize", updatePosInfo);
|
|
155
|
-
});
|
|
156
|
-
onBeforeUnmount(() => {
|
|
157
|
-
window.removeEventListener("resize", updatePosInfo);
|
|
158
|
-
});
|
|
159
|
-
const getGapOffset = (index) => {
|
|
160
|
-
var _a;
|
|
161
|
-
return (_a = isArray(gap.value.offset) ? gap.value.offset[index] : gap.value.offset) != null ? _a : 6;
|
|
162
|
-
};
|
|
163
|
-
const mergedPosInfo = computed(() => {
|
|
164
|
-
var _a;
|
|
165
|
-
if (!posInfo.value)
|
|
166
|
-
return posInfo.value;
|
|
167
|
-
const gapOffsetX = getGapOffset(0);
|
|
168
|
-
const gapOffsetY = getGapOffset(1);
|
|
169
|
-
const gapRadius = ((_a = gap.value) == null ? void 0 : _a.radius) || 2;
|
|
170
|
-
return {
|
|
171
|
-
left: posInfo.value.left - gapOffsetX,
|
|
172
|
-
top: posInfo.value.top - gapOffsetY,
|
|
173
|
-
width: posInfo.value.width + gapOffsetX * 2,
|
|
174
|
-
height: posInfo.value.height + gapOffsetY * 2,
|
|
175
|
-
radius: gapRadius
|
|
176
|
-
};
|
|
177
|
-
});
|
|
178
|
-
const triggerTarget = computed(() => {
|
|
179
|
-
const targetEl = getTargetEl();
|
|
180
|
-
if (!mergedMask.value || !targetEl || !window.DOMRect) {
|
|
181
|
-
return targetEl || void 0;
|
|
182
|
-
}
|
|
183
|
-
return {
|
|
184
|
-
getBoundingClientRect() {
|
|
185
|
-
var _a, _b, _c, _d;
|
|
186
|
-
return window.DOMRect.fromRect({
|
|
187
|
-
width: ((_a = mergedPosInfo.value) == null ? void 0 : _a.width) || 0,
|
|
188
|
-
height: ((_b = mergedPosInfo.value) == null ? void 0 : _b.height) || 0,
|
|
189
|
-
x: ((_c = mergedPosInfo.value) == null ? void 0 : _c.left) || 0,
|
|
190
|
-
y: ((_d = mergedPosInfo.value) == null ? void 0 : _d.top) || 0
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
});
|
|
195
|
-
return {
|
|
196
|
-
mergedPosInfo,
|
|
197
|
-
triggerTarget
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
const tourKey = Symbol("ElTour");
|
|
201
|
-
function isInViewPort(element) {
|
|
202
|
-
const viewWidth = window.innerWidth || document.documentElement.clientWidth;
|
|
203
|
-
const viewHeight = window.innerHeight || document.documentElement.clientHeight;
|
|
204
|
-
const { top, right, bottom, left } = element.getBoundingClientRect();
|
|
205
|
-
return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight;
|
|
206
|
-
}
|
|
207
|
-
const useFloating = (referenceRef, contentRef, arrowRef, placement, strategy, offset$1, zIndex, showArrow) => {
|
|
208
|
-
const x = ref();
|
|
209
|
-
const y = ref();
|
|
210
|
-
const middlewareData = ref({});
|
|
211
|
-
const states = {
|
|
212
|
-
x,
|
|
213
|
-
y,
|
|
214
|
-
placement,
|
|
215
|
-
strategy,
|
|
216
|
-
middlewareData
|
|
217
|
-
};
|
|
218
|
-
const middleware = computed(() => {
|
|
219
|
-
const _middleware = [
|
|
220
|
-
offset(unref(offset$1)),
|
|
221
|
-
flip(),
|
|
222
|
-
shift(),
|
|
223
|
-
overflowMiddleware()
|
|
224
|
-
];
|
|
225
|
-
if (unref(showArrow) && unref(arrowRef)) {
|
|
226
|
-
_middleware.push(arrow({
|
|
227
|
-
element: unref(arrowRef)
|
|
228
|
-
}));
|
|
229
|
-
}
|
|
230
|
-
return _middleware;
|
|
231
|
-
});
|
|
232
|
-
const update = async () => {
|
|
233
|
-
if (!isClient)
|
|
234
|
-
return;
|
|
235
|
-
const referenceEl = unref(referenceRef);
|
|
236
|
-
const contentEl = unref(contentRef);
|
|
237
|
-
if (!referenceEl || !contentEl)
|
|
238
|
-
return;
|
|
239
|
-
const data = await computePosition(referenceEl, contentEl, {
|
|
240
|
-
placement: unref(placement),
|
|
241
|
-
strategy: unref(strategy),
|
|
242
|
-
middleware: unref(middleware)
|
|
243
|
-
});
|
|
244
|
-
keysOf(states).forEach((key) => {
|
|
245
|
-
states[key].value = data[key];
|
|
246
|
-
});
|
|
247
|
-
};
|
|
248
|
-
const contentStyle = computed(() => {
|
|
249
|
-
if (!unref(referenceRef)) {
|
|
250
|
-
return {
|
|
251
|
-
position: "fixed",
|
|
252
|
-
top: "50%",
|
|
253
|
-
left: "50%",
|
|
254
|
-
transform: "translate3d(-50%, -50%, 0)",
|
|
255
|
-
maxWidth: "100vw",
|
|
256
|
-
zIndex: unref(zIndex)
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
const { overflow } = unref(middlewareData);
|
|
260
|
-
return {
|
|
261
|
-
position: unref(strategy),
|
|
262
|
-
zIndex: unref(zIndex),
|
|
263
|
-
top: unref(y) != null ? `${unref(y)}px` : "",
|
|
264
|
-
left: unref(x) != null ? `${unref(x)}px` : "",
|
|
265
|
-
maxWidth: (overflow == null ? void 0 : overflow.maxWidth) ? `${overflow == null ? void 0 : overflow.maxWidth}px` : ""
|
|
266
|
-
};
|
|
267
|
-
});
|
|
268
|
-
const arrowStyle = computed(() => {
|
|
269
|
-
if (!unref(showArrow))
|
|
270
|
-
return {};
|
|
271
|
-
const { arrow: arrow2 } = unref(middlewareData);
|
|
272
|
-
return {
|
|
273
|
-
left: (arrow2 == null ? void 0 : arrow2.x) != null ? `${arrow2 == null ? void 0 : arrow2.x}px` : "",
|
|
274
|
-
top: (arrow2 == null ? void 0 : arrow2.y) != null ? `${arrow2 == null ? void 0 : arrow2.y}px` : ""
|
|
275
|
-
};
|
|
276
|
-
});
|
|
277
|
-
let cleanup;
|
|
278
|
-
onMounted(() => {
|
|
279
|
-
const referenceEl = unref(referenceRef);
|
|
280
|
-
const contentEl = unref(contentRef);
|
|
281
|
-
if (referenceEl && contentEl) {
|
|
282
|
-
cleanup = autoUpdate(referenceEl, contentEl, update);
|
|
283
|
-
}
|
|
284
|
-
watchEffect(() => {
|
|
285
|
-
update();
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
onBeforeUnmount(() => {
|
|
289
|
-
cleanup && cleanup();
|
|
290
|
-
});
|
|
291
|
-
return {
|
|
292
|
-
update,
|
|
293
|
-
contentStyle,
|
|
294
|
-
arrowStyle
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
const overflowMiddleware = () => {
|
|
298
|
-
return {
|
|
299
|
-
name: "overflow",
|
|
300
|
-
async fn(state) {
|
|
301
|
-
const overflow = await detectOverflow(state);
|
|
302
|
-
let overWidth = 0;
|
|
303
|
-
if (overflow.left > 0)
|
|
304
|
-
overWidth = overflow.left;
|
|
305
|
-
if (overflow.right > 0)
|
|
306
|
-
overWidth = overflow.right;
|
|
307
|
-
const floatingWidth = state.rects.floating.width;
|
|
308
|
-
return {
|
|
309
|
-
data: {
|
|
310
|
-
maxWidth: floatingWidth - overWidth
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
const __default__$3 = defineComponent({
|
|
317
|
-
name: "ElTourMask",
|
|
318
|
-
inheritAttrs: false
|
|
319
|
-
});
|
|
320
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
321
|
-
...__default__$3,
|
|
322
|
-
props: maskProps,
|
|
323
|
-
setup(__props) {
|
|
324
|
-
const props = __props;
|
|
325
|
-
const { ns } = inject(tourKey);
|
|
326
|
-
const radius = computed(() => {
|
|
327
|
-
var _a, _b;
|
|
328
|
-
return (_b = (_a = props.pos) == null ? void 0 : _a.radius) != null ? _b : 2;
|
|
329
|
-
});
|
|
330
|
-
const roundInfo = computed(() => {
|
|
331
|
-
const v = radius.value;
|
|
332
|
-
const baseInfo = `a${v},${v} 0 0 1`;
|
|
333
|
-
return {
|
|
334
|
-
topRight: `${baseInfo} ${v},${v}`,
|
|
335
|
-
bottomRight: `${baseInfo} ${-v},${v}`,
|
|
336
|
-
bottomLeft: `${baseInfo} ${-v},${-v}`,
|
|
337
|
-
topLeft: `${baseInfo} ${v},${-v}`
|
|
338
|
-
};
|
|
339
|
-
});
|
|
340
|
-
const { width: windowWidth, height: windowHeight } = useWindowSize();
|
|
341
|
-
const path = computed(() => {
|
|
342
|
-
const width = windowWidth.value;
|
|
343
|
-
const height = windowHeight.value;
|
|
344
|
-
const info = roundInfo.value;
|
|
345
|
-
const _path = `M${width},0 L0,0 L0,${height} L${width},${height} L${width},0 Z`;
|
|
346
|
-
const _radius = radius.value;
|
|
347
|
-
return props.pos ? `${_path} M${props.pos.left + _radius},${props.pos.top} h${props.pos.width - _radius * 2} ${info.topRight} v${props.pos.height - _radius * 2} ${info.bottomRight} h${-props.pos.width + _radius * 2} ${info.bottomLeft} v${-props.pos.height + _radius * 2} ${info.topLeft} z` : _path;
|
|
348
|
-
});
|
|
349
|
-
const maskStyle = computed(() => ({
|
|
350
|
-
position: "fixed",
|
|
351
|
-
left: 0,
|
|
352
|
-
right: 0,
|
|
353
|
-
top: 0,
|
|
354
|
-
bottom: 0,
|
|
355
|
-
zIndex: props.zIndex,
|
|
356
|
-
pointerEvents: props.pos && props.targetAreaClickable ? "none" : "auto"
|
|
357
|
-
}));
|
|
358
|
-
const pathStyle = computed(() => ({
|
|
359
|
-
fill: props.fill,
|
|
360
|
-
pointerEvents: "auto",
|
|
361
|
-
cursor: "auto"
|
|
362
|
-
}));
|
|
363
|
-
useLockscreen(toRef(props, "visible"), {
|
|
364
|
-
ns
|
|
365
|
-
});
|
|
366
|
-
return (_ctx, _cache) => {
|
|
367
|
-
return _ctx.visible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
368
|
-
key: 0,
|
|
369
|
-
class: unref(ns).e("mask"),
|
|
370
|
-
style: unref(maskStyle)
|
|
371
|
-
}, _ctx.$attrs), [
|
|
372
|
-
(openBlock(), createElementBlock("svg", { style: {
|
|
373
|
-
width: "100%",
|
|
374
|
-
height: "100%"
|
|
375
|
-
} }, [
|
|
376
|
-
createElementVNode("path", {
|
|
377
|
-
class: normalizeClass(unref(ns).e("hollow")),
|
|
378
|
-
style: normalizeStyle(unref(pathStyle)),
|
|
379
|
-
d: unref(path)
|
|
380
|
-
}, null, 14, ["d"])
|
|
381
|
-
]))
|
|
382
|
-
], 16)) : createCommentVNode("v-if", true);
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
});
|
|
386
|
-
var ElTourMask = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "mask.vue"]]);
|
|
387
|
-
const tourStrategies = ["absolute", "fixed"];
|
|
388
|
-
const tourPlacements = [
|
|
389
|
-
"top-start",
|
|
390
|
-
"top-end",
|
|
391
|
-
"top",
|
|
392
|
-
"bottom-start",
|
|
393
|
-
"bottom-end",
|
|
394
|
-
"bottom",
|
|
395
|
-
"left-start",
|
|
396
|
-
"left-end",
|
|
397
|
-
"left",
|
|
398
|
-
"right-start",
|
|
399
|
-
"right-end",
|
|
400
|
-
"right"
|
|
401
|
-
];
|
|
402
|
-
const tourContentProps = buildProps({
|
|
403
|
-
placement: {
|
|
404
|
-
type: definePropType(String),
|
|
405
|
-
values: tourPlacements,
|
|
406
|
-
default: "bottom"
|
|
407
|
-
},
|
|
408
|
-
reference: {
|
|
409
|
-
type: definePropType(Object),
|
|
410
|
-
default: null
|
|
411
|
-
},
|
|
412
|
-
strategy: {
|
|
413
|
-
type: definePropType(String),
|
|
414
|
-
values: tourStrategies,
|
|
415
|
-
default: "absolute"
|
|
416
|
-
},
|
|
417
|
-
offset: {
|
|
418
|
-
type: Number,
|
|
419
|
-
default: 10
|
|
420
|
-
},
|
|
421
|
-
showArrow: Boolean,
|
|
422
|
-
zIndex: {
|
|
423
|
-
type: Number,
|
|
424
|
-
default: 2001
|
|
425
|
-
}
|
|
426
|
-
});
|
|
427
|
-
const tourContentEmits = {
|
|
428
|
-
close: () => true
|
|
429
|
-
};
|
|
430
|
-
const __default__$2 = defineComponent({
|
|
431
|
-
name: "ElTourContent"
|
|
432
|
-
});
|
|
433
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
434
|
-
...__default__$2,
|
|
435
|
-
props: tourContentProps,
|
|
436
|
-
emits: tourContentEmits,
|
|
437
|
-
setup(__props, { emit }) {
|
|
438
|
-
const props = __props;
|
|
439
|
-
const placement = ref(props.placement);
|
|
440
|
-
const strategy = ref(props.strategy);
|
|
441
|
-
const contentRef = ref(null);
|
|
442
|
-
const arrowRef = ref(null);
|
|
443
|
-
watch(() => props.placement, () => {
|
|
444
|
-
placement.value = props.placement;
|
|
445
|
-
});
|
|
446
|
-
const { contentStyle, arrowStyle } = useFloating(toRef(props, "reference"), contentRef, arrowRef, placement, strategy, toRef(props, "offset"), toRef(props, "zIndex"), toRef(props, "showArrow"));
|
|
447
|
-
const side = computed(() => {
|
|
448
|
-
return placement.value.split("-")[0];
|
|
449
|
-
});
|
|
450
|
-
const { ns } = inject(tourKey);
|
|
451
|
-
const onCloseRequested = () => {
|
|
452
|
-
emit("close");
|
|
453
|
-
};
|
|
454
|
-
const onFocusoutPrevented = (event) => {
|
|
455
|
-
if (event.detail.focusReason === "pointer") {
|
|
456
|
-
event.preventDefault();
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
return (_ctx, _cache) => {
|
|
460
|
-
return openBlock(), createElementBlock("div", {
|
|
461
|
-
ref_key: "contentRef",
|
|
462
|
-
ref: contentRef,
|
|
463
|
-
style: normalizeStyle(unref(contentStyle)),
|
|
464
|
-
class: normalizeClass(unref(ns).e("content")),
|
|
465
|
-
"data-side": unref(side),
|
|
466
|
-
tabindex: "-1"
|
|
467
|
-
}, [
|
|
468
|
-
createVNode(unref(ElFocusTrap), {
|
|
469
|
-
loop: "",
|
|
470
|
-
trapped: "",
|
|
471
|
-
"focus-start-el": "container",
|
|
472
|
-
"focus-trap-el": contentRef.value || void 0,
|
|
473
|
-
onReleaseRequested: onCloseRequested,
|
|
474
|
-
onFocusoutPrevented
|
|
475
|
-
}, {
|
|
476
|
-
default: withCtx(() => [
|
|
477
|
-
renderSlot(_ctx.$slots, "default")
|
|
478
|
-
]),
|
|
479
|
-
_: 3
|
|
480
|
-
}, 8, ["focus-trap-el"]),
|
|
481
|
-
_ctx.showArrow ? (openBlock(), createElementBlock("span", {
|
|
482
|
-
key: 0,
|
|
483
|
-
ref_key: "arrowRef",
|
|
484
|
-
ref: arrowRef,
|
|
485
|
-
style: normalizeStyle(unref(arrowStyle)),
|
|
486
|
-
class: normalizeClass(unref(ns).e("arrow"))
|
|
487
|
-
}, null, 6)) : createCommentVNode("v-if", true)
|
|
488
|
-
], 14, ["data-side"]);
|
|
489
|
-
};
|
|
490
|
-
}
|
|
491
|
-
});
|
|
492
|
-
var ElTourContent = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "content.vue"]]);
|
|
493
|
-
var ElTourSteps = defineComponent({
|
|
494
|
-
name: "ElTourSteps",
|
|
495
|
-
props: {
|
|
496
|
-
current: {
|
|
497
|
-
type: Number,
|
|
498
|
-
default: 0
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
emits: ["update-total"],
|
|
502
|
-
setup(props, { slots, emit }) {
|
|
503
|
-
let cacheTotal = 0;
|
|
504
|
-
return () => {
|
|
505
|
-
var _a, _b;
|
|
506
|
-
const children = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
507
|
-
const result = [];
|
|
508
|
-
let total = 0;
|
|
509
|
-
function filterSteps(children2) {
|
|
510
|
-
if (!isArray(children2))
|
|
511
|
-
return;
|
|
512
|
-
children2.forEach((item) => {
|
|
513
|
-
var _a2;
|
|
514
|
-
const name = (_a2 = (item == null ? void 0 : item.type) || {}) == null ? void 0 : _a2.name;
|
|
515
|
-
if (name === "ElTourStep") {
|
|
516
|
-
result.push(item);
|
|
517
|
-
total += 1;
|
|
518
|
-
}
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
if (children.length) {
|
|
522
|
-
filterSteps(flattedChildren((_b = children[0]) == null ? void 0 : _b.children));
|
|
523
|
-
}
|
|
524
|
-
if (cacheTotal !== total) {
|
|
525
|
-
cacheTotal = total;
|
|
526
|
-
emit("update-total", total);
|
|
527
|
-
}
|
|
528
|
-
if (result.length) {
|
|
529
|
-
return result[props.current];
|
|
530
|
-
}
|
|
531
|
-
return null;
|
|
532
|
-
};
|
|
533
|
-
}
|
|
534
|
-
});
|
|
535
|
-
const tourProps = buildProps({
|
|
536
|
-
modelValue: Boolean,
|
|
537
|
-
current: {
|
|
538
|
-
type: Number,
|
|
539
|
-
default: 0
|
|
540
|
-
},
|
|
541
|
-
showArrow: {
|
|
542
|
-
type: Boolean,
|
|
543
|
-
default: true
|
|
544
|
-
},
|
|
545
|
-
showClose: {
|
|
546
|
-
type: Boolean,
|
|
547
|
-
default: true
|
|
548
|
-
},
|
|
549
|
-
closeIcon: {
|
|
550
|
-
type: iconPropType
|
|
551
|
-
},
|
|
552
|
-
placement: tourContentProps.placement,
|
|
553
|
-
contentStyle: {
|
|
554
|
-
type: definePropType([Object])
|
|
555
|
-
},
|
|
556
|
-
mask: {
|
|
557
|
-
type: definePropType([Boolean, Object]),
|
|
558
|
-
default: true
|
|
559
|
-
},
|
|
560
|
-
gap: {
|
|
561
|
-
type: definePropType(Object),
|
|
562
|
-
default: () => ({
|
|
563
|
-
offset: 6,
|
|
564
|
-
radius: 2
|
|
565
|
-
})
|
|
566
|
-
},
|
|
567
|
-
zIndex: {
|
|
568
|
-
type: Number
|
|
569
|
-
},
|
|
570
|
-
scrollIntoViewOptions: {
|
|
571
|
-
type: definePropType([Boolean, Object]),
|
|
572
|
-
default: () => ({
|
|
573
|
-
block: "center"
|
|
574
|
-
})
|
|
575
|
-
},
|
|
576
|
-
type: {
|
|
577
|
-
type: definePropType(String)
|
|
578
|
-
},
|
|
579
|
-
appendTo: {
|
|
580
|
-
type: teleportProps.to.type,
|
|
581
|
-
default: "body"
|
|
582
|
-
},
|
|
583
|
-
closeOnPressEscape: {
|
|
584
|
-
type: Boolean,
|
|
585
|
-
default: true
|
|
586
|
-
},
|
|
587
|
-
targetAreaClickable: {
|
|
588
|
-
type: Boolean,
|
|
589
|
-
default: true
|
|
590
|
-
}
|
|
591
|
-
});
|
|
592
|
-
const tourEmits = {
|
|
593
|
-
[UPDATE_MODEL_EVENT]: (value) => isBoolean(value),
|
|
594
|
-
["update:current"]: (current) => isNumber(current),
|
|
595
|
-
close: (current) => isNumber(current),
|
|
596
|
-
finish: () => true,
|
|
597
|
-
change: (current) => isNumber(current)
|
|
598
|
-
};
|
|
599
|
-
const __default__$1 = defineComponent({
|
|
600
|
-
name: "ElTour"
|
|
601
|
-
});
|
|
602
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
603
|
-
...__default__$1,
|
|
604
|
-
props: tourProps,
|
|
605
|
-
emits: tourEmits,
|
|
606
|
-
setup(__props, { emit }) {
|
|
607
|
-
const props = __props;
|
|
608
|
-
const ns = useNamespace("tour");
|
|
609
|
-
const total = ref(0);
|
|
610
|
-
const currentStep = ref();
|
|
611
|
-
const current = useVModel(props, "current", emit, {
|
|
612
|
-
passive: true
|
|
613
|
-
});
|
|
614
|
-
const currentTarget = computed(() => {
|
|
615
|
-
var _a;
|
|
616
|
-
return (_a = currentStep.value) == null ? void 0 : _a.target;
|
|
617
|
-
});
|
|
618
|
-
const kls = computed(() => [
|
|
619
|
-
ns.b(),
|
|
620
|
-
mergedType.value === "primary" ? ns.m("primary") : ""
|
|
621
|
-
]);
|
|
622
|
-
const mergedPlacement = computed(() => {
|
|
623
|
-
var _a;
|
|
624
|
-
return ((_a = currentStep.value) == null ? void 0 : _a.placement) || props.placement;
|
|
625
|
-
});
|
|
626
|
-
const mergedContentStyle = computed(() => {
|
|
627
|
-
var _a, _b;
|
|
628
|
-
return (_b = (_a = currentStep.value) == null ? void 0 : _a.contentStyle) != null ? _b : props.contentStyle;
|
|
629
|
-
});
|
|
630
|
-
const mergedMask = computed(() => {
|
|
631
|
-
var _a, _b;
|
|
632
|
-
return (_b = (_a = currentStep.value) == null ? void 0 : _a.mask) != null ? _b : props.mask;
|
|
633
|
-
});
|
|
634
|
-
const mergedShowMask = computed(() => !!mergedMask.value && props.modelValue);
|
|
635
|
-
const mergedMaskStyle = computed(() => isBoolean(mergedMask.value) ? void 0 : mergedMask.value);
|
|
636
|
-
const mergedShowArrow = computed(() => {
|
|
637
|
-
var _a, _b;
|
|
638
|
-
return !!currentTarget.value && ((_b = (_a = currentStep.value) == null ? void 0 : _a.showArrow) != null ? _b : props.showArrow);
|
|
639
|
-
});
|
|
640
|
-
const mergedScrollIntoViewOptions = computed(() => {
|
|
641
|
-
var _a, _b;
|
|
642
|
-
return (_b = (_a = currentStep.value) == null ? void 0 : _a.scrollIntoViewOptions) != null ? _b : props.scrollIntoViewOptions;
|
|
643
|
-
});
|
|
644
|
-
const mergedType = computed(() => {
|
|
645
|
-
var _a, _b;
|
|
646
|
-
return (_b = (_a = currentStep.value) == null ? void 0 : _a.type) != null ? _b : props.type;
|
|
647
|
-
});
|
|
648
|
-
const { nextZIndex } = useZIndex();
|
|
649
|
-
const nowZIndex = nextZIndex();
|
|
650
|
-
const mergedZIndex = computed(() => {
|
|
651
|
-
var _a;
|
|
652
|
-
return (_a = props.zIndex) != null ? _a : nowZIndex;
|
|
653
|
-
});
|
|
654
|
-
const { mergedPosInfo: pos, triggerTarget } = useTarget(currentTarget, toRef(props, "modelValue"), toRef(props, "gap"), mergedMask, mergedScrollIntoViewOptions);
|
|
655
|
-
watch(() => props.modelValue, (val) => {
|
|
656
|
-
if (!val) {
|
|
657
|
-
current.value = 0;
|
|
658
|
-
}
|
|
659
|
-
});
|
|
660
|
-
const onEscClose = () => {
|
|
661
|
-
if (props.closeOnPressEscape) {
|
|
662
|
-
emit(UPDATE_MODEL_EVENT, false);
|
|
663
|
-
emit("close", current.value);
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
const onUpdateTotal = (val) => {
|
|
667
|
-
total.value = val;
|
|
668
|
-
};
|
|
669
|
-
const slots = useSlots();
|
|
670
|
-
provide(tourKey, {
|
|
671
|
-
currentStep,
|
|
672
|
-
current,
|
|
673
|
-
total,
|
|
674
|
-
showClose: toRef(props, "showClose"),
|
|
675
|
-
closeIcon: toRef(props, "closeIcon"),
|
|
676
|
-
mergedType,
|
|
677
|
-
ns,
|
|
678
|
-
slots,
|
|
679
|
-
updateModelValue(modelValue) {
|
|
680
|
-
emit(UPDATE_MODEL_EVENT, modelValue);
|
|
681
|
-
},
|
|
682
|
-
onClose() {
|
|
683
|
-
emit("close", current.value);
|
|
684
|
-
},
|
|
685
|
-
onFinish() {
|
|
686
|
-
emit("finish");
|
|
687
|
-
},
|
|
688
|
-
onChange() {
|
|
689
|
-
emit(CHANGE_EVENT, current.value);
|
|
690
|
-
}
|
|
691
|
-
});
|
|
692
|
-
return (_ctx, _cache) => {
|
|
693
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
694
|
-
createVNode(unref(ElTeleport), { to: _ctx.appendTo }, {
|
|
695
|
-
default: withCtx(() => {
|
|
696
|
-
var _a, _b;
|
|
697
|
-
return [
|
|
698
|
-
createElementVNode("div", mergeProps({ class: unref(kls) }, _ctx.$attrs), [
|
|
699
|
-
createVNode(ElTourMask, {
|
|
700
|
-
visible: unref(mergedShowMask),
|
|
701
|
-
fill: (_a = unref(mergedMaskStyle)) == null ? void 0 : _a.color,
|
|
702
|
-
style: normalizeStyle((_b = unref(mergedMaskStyle)) == null ? void 0 : _b.style),
|
|
703
|
-
pos: unref(pos),
|
|
704
|
-
"z-index": unref(mergedZIndex),
|
|
705
|
-
"target-area-clickable": _ctx.targetAreaClickable
|
|
706
|
-
}, null, 8, ["visible", "fill", "style", "pos", "z-index", "target-area-clickable"]),
|
|
707
|
-
_ctx.modelValue ? (openBlock(), createBlock(ElTourContent, {
|
|
708
|
-
key: unref(current),
|
|
709
|
-
reference: unref(triggerTarget),
|
|
710
|
-
placement: unref(mergedPlacement),
|
|
711
|
-
"show-arrow": unref(mergedShowArrow),
|
|
712
|
-
"z-index": unref(mergedZIndex),
|
|
713
|
-
style: normalizeStyle(unref(mergedContentStyle)),
|
|
714
|
-
onClose: onEscClose
|
|
715
|
-
}, {
|
|
716
|
-
default: withCtx(() => [
|
|
717
|
-
createVNode(unref(ElTourSteps), {
|
|
718
|
-
current: unref(current),
|
|
719
|
-
onUpdateTotal
|
|
720
|
-
}, {
|
|
721
|
-
default: withCtx(() => [
|
|
722
|
-
renderSlot(_ctx.$slots, "default")
|
|
723
|
-
]),
|
|
724
|
-
_: 3
|
|
725
|
-
}, 8, ["current"])
|
|
726
|
-
]),
|
|
727
|
-
_: 3
|
|
728
|
-
}, 8, ["reference", "placement", "show-arrow", "z-index", "style"])) : createCommentVNode("v-if", true)
|
|
729
|
-
], 16)
|
|
730
|
-
];
|
|
731
|
-
}),
|
|
732
|
-
_: 3
|
|
733
|
-
}, 8, ["to"]),
|
|
734
|
-
createCommentVNode(" just for IDE "),
|
|
735
|
-
createCommentVNode("v-if", true)
|
|
736
|
-
], 64);
|
|
737
|
-
};
|
|
738
|
-
}
|
|
739
|
-
});
|
|
740
|
-
var Tour = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "tour.vue"]]);
|
|
741
|
-
const tourStepProps = buildProps({
|
|
742
|
-
target: {
|
|
743
|
-
type: definePropType([String, Object, Function])
|
|
744
|
-
},
|
|
745
|
-
title: String,
|
|
746
|
-
description: String,
|
|
747
|
-
showClose: {
|
|
748
|
-
type: Boolean,
|
|
749
|
-
default: void 0
|
|
750
|
-
},
|
|
751
|
-
closeIcon: {
|
|
752
|
-
type: iconPropType
|
|
753
|
-
},
|
|
754
|
-
showArrow: {
|
|
755
|
-
type: Boolean,
|
|
756
|
-
default: void 0
|
|
757
|
-
},
|
|
758
|
-
placement: tourContentProps.placement,
|
|
759
|
-
mask: {
|
|
760
|
-
type: definePropType([Boolean, Object]),
|
|
761
|
-
default: void 0
|
|
762
|
-
},
|
|
763
|
-
contentStyle: {
|
|
764
|
-
type: definePropType([Object])
|
|
765
|
-
},
|
|
766
|
-
prevButtonProps: {
|
|
767
|
-
type: definePropType(Object)
|
|
768
|
-
},
|
|
769
|
-
nextButtonProps: {
|
|
770
|
-
type: definePropType(Object)
|
|
771
|
-
},
|
|
772
|
-
scrollIntoViewOptions: {
|
|
773
|
-
type: definePropType([Boolean, Object]),
|
|
774
|
-
default: void 0
|
|
775
|
-
},
|
|
776
|
-
type: {
|
|
777
|
-
type: definePropType(String)
|
|
778
|
-
}
|
|
779
|
-
});
|
|
780
|
-
const tourStepEmits = {
|
|
781
|
-
close: () => true
|
|
782
|
-
};
|
|
783
|
-
const __default__ = defineComponent({
|
|
784
|
-
name: "ElTourStep"
|
|
785
|
-
});
|
|
786
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
787
|
-
...__default__,
|
|
788
|
-
props: tourStepProps,
|
|
789
|
-
emits: tourStepEmits,
|
|
790
|
-
setup(__props, { emit }) {
|
|
791
|
-
const props = __props;
|
|
792
|
-
const { Close } = CloseComponents;
|
|
793
|
-
const { t } = useLocale();
|
|
794
|
-
const {
|
|
795
|
-
currentStep,
|
|
796
|
-
current,
|
|
797
|
-
total,
|
|
798
|
-
showClose,
|
|
799
|
-
closeIcon,
|
|
800
|
-
mergedType,
|
|
801
|
-
ns,
|
|
802
|
-
slots: tourSlots,
|
|
803
|
-
updateModelValue,
|
|
804
|
-
onClose: tourOnClose,
|
|
805
|
-
onFinish: tourOnFinish,
|
|
806
|
-
onChange
|
|
807
|
-
} = inject(tourKey);
|
|
808
|
-
watch(props, (val) => {
|
|
809
|
-
currentStep.value = val;
|
|
810
|
-
}, {
|
|
811
|
-
immediate: true
|
|
812
|
-
});
|
|
813
|
-
const mergedShowClose = computed(() => {
|
|
814
|
-
var _a;
|
|
815
|
-
return (_a = props.showClose) != null ? _a : showClose.value;
|
|
816
|
-
});
|
|
817
|
-
const mergedCloseIcon = computed(() => {
|
|
818
|
-
var _a, _b;
|
|
819
|
-
return (_b = (_a = props.closeIcon) != null ? _a : closeIcon.value) != null ? _b : Close;
|
|
820
|
-
});
|
|
821
|
-
const filterButtonProps = (btnProps) => {
|
|
822
|
-
if (!btnProps)
|
|
823
|
-
return;
|
|
824
|
-
return omit(btnProps, ["children", "onClick"]);
|
|
825
|
-
};
|
|
826
|
-
const onPrev = () => {
|
|
827
|
-
var _a, _b;
|
|
828
|
-
current.value -= 1;
|
|
829
|
-
if ((_a = props.prevButtonProps) == null ? void 0 : _a.onClick) {
|
|
830
|
-
(_b = props.prevButtonProps) == null ? void 0 : _b.onClick();
|
|
831
|
-
}
|
|
832
|
-
onChange();
|
|
833
|
-
};
|
|
834
|
-
const onNext = () => {
|
|
835
|
-
var _a;
|
|
836
|
-
if (current.value >= total.value - 1) {
|
|
837
|
-
onFinish();
|
|
838
|
-
} else {
|
|
839
|
-
current.value += 1;
|
|
840
|
-
}
|
|
841
|
-
if ((_a = props.nextButtonProps) == null ? void 0 : _a.onClick) {
|
|
842
|
-
props.nextButtonProps.onClick();
|
|
843
|
-
}
|
|
844
|
-
onChange();
|
|
845
|
-
};
|
|
846
|
-
const onFinish = () => {
|
|
847
|
-
onClose();
|
|
848
|
-
tourOnFinish();
|
|
849
|
-
};
|
|
850
|
-
const onClose = () => {
|
|
851
|
-
updateModelValue(false);
|
|
852
|
-
tourOnClose();
|
|
853
|
-
emit("close");
|
|
854
|
-
};
|
|
855
|
-
const handleKeydown = (e) => {
|
|
856
|
-
const target = e.target;
|
|
857
|
-
if (target == null ? void 0 : target.isContentEditable)
|
|
858
|
-
return;
|
|
859
|
-
const actions = {
|
|
860
|
-
[EVENT_CODE.left]: () => current.value > 0 && onPrev(),
|
|
861
|
-
[EVENT_CODE.right]: onNext
|
|
862
|
-
};
|
|
863
|
-
const action = actions[e.code];
|
|
864
|
-
if (action) {
|
|
865
|
-
e.preventDefault();
|
|
866
|
-
action();
|
|
867
|
-
}
|
|
868
|
-
};
|
|
869
|
-
onMounted(() => {
|
|
870
|
-
window.addEventListener("keydown", handleKeydown);
|
|
871
|
-
});
|
|
872
|
-
onBeforeUnmount(() => {
|
|
873
|
-
window.removeEventListener("keydown", handleKeydown);
|
|
874
|
-
});
|
|
875
|
-
return (_ctx, _cache) => {
|
|
876
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
877
|
-
unref(mergedShowClose) ? (openBlock(), createElementBlock("button", {
|
|
878
|
-
key: 0,
|
|
879
|
-
"aria-label": unref(t)("el.tour.close"),
|
|
880
|
-
class: normalizeClass(unref(ns).e("closebtn")),
|
|
881
|
-
type: "button",
|
|
882
|
-
onClick: onClose
|
|
883
|
-
}, [
|
|
884
|
-
createVNode(unref(ElIcon), {
|
|
885
|
-
class: normalizeClass(unref(ns).e("close"))
|
|
886
|
-
}, {
|
|
887
|
-
default: withCtx(() => [
|
|
888
|
-
(openBlock(), createBlock(resolveDynamicComponent(unref(mergedCloseIcon))))
|
|
889
|
-
]),
|
|
890
|
-
_: 1
|
|
891
|
-
}, 8, ["class"])
|
|
892
|
-
], 10, ["aria-label"])) : createCommentVNode("v-if", true),
|
|
893
|
-
createElementVNode("header", {
|
|
894
|
-
class: normalizeClass([unref(ns).e("header"), { "show-close": unref(showClose) }])
|
|
895
|
-
}, [
|
|
896
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
897
|
-
createElementVNode("span", {
|
|
898
|
-
role: "heading",
|
|
899
|
-
class: normalizeClass(unref(ns).e("title"))
|
|
900
|
-
}, toDisplayString(_ctx.title), 3)
|
|
901
|
-
])
|
|
902
|
-
], 2),
|
|
903
|
-
createElementVNode("div", {
|
|
904
|
-
class: normalizeClass(unref(ns).e("body"))
|
|
905
|
-
}, [
|
|
906
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
907
|
-
createElementVNode("span", null, toDisplayString(_ctx.description), 1)
|
|
908
|
-
])
|
|
909
|
-
], 2),
|
|
910
|
-
createElementVNode("footer", {
|
|
911
|
-
class: normalizeClass(unref(ns).e("footer"))
|
|
912
|
-
}, [
|
|
913
|
-
createElementVNode("div", {
|
|
914
|
-
class: normalizeClass(unref(ns).b("indicators"))
|
|
915
|
-
}, [
|
|
916
|
-
unref(tourSlots).indicators ? (openBlock(), createBlock(resolveDynamicComponent(unref(tourSlots).indicators), {
|
|
917
|
-
key: 0,
|
|
918
|
-
current: unref(current),
|
|
919
|
-
total: unref(total)
|
|
920
|
-
}, null, 8, ["current", "total"])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(total), (item, index) => {
|
|
921
|
-
return openBlock(), createElementBlock("span", {
|
|
922
|
-
key: item,
|
|
923
|
-
class: normalizeClass([unref(ns).b("indicator"), index === unref(current) ? "is-active" : ""])
|
|
924
|
-
}, null, 2);
|
|
925
|
-
}), 128))
|
|
926
|
-
], 2),
|
|
927
|
-
createElementVNode("div", {
|
|
928
|
-
class: normalizeClass(unref(ns).b("buttons"))
|
|
929
|
-
}, [
|
|
930
|
-
unref(current) > 0 ? (openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
931
|
-
key: 0,
|
|
932
|
-
size: "small",
|
|
933
|
-
type: unref(mergedType)
|
|
934
|
-
}, filterButtonProps(_ctx.prevButtonProps), { onClick: onPrev }), {
|
|
935
|
-
default: withCtx(() => {
|
|
936
|
-
var _a, _b;
|
|
937
|
-
return [
|
|
938
|
-
createTextVNode(toDisplayString((_b = (_a = _ctx.prevButtonProps) == null ? void 0 : _a.children) != null ? _b : unref(t)("el.tour.previous")), 1)
|
|
939
|
-
];
|
|
940
|
-
}),
|
|
941
|
-
_: 1
|
|
942
|
-
}, 16, ["type"])) : createCommentVNode("v-if", true),
|
|
943
|
-
unref(current) <= unref(total) - 1 ? (openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
944
|
-
key: 1,
|
|
945
|
-
size: "small",
|
|
946
|
-
type: unref(mergedType) === "primary" ? "default" : "primary"
|
|
947
|
-
}, filterButtonProps(_ctx.nextButtonProps), { onClick: onNext }), {
|
|
948
|
-
default: withCtx(() => {
|
|
949
|
-
var _a, _b;
|
|
950
|
-
return [
|
|
951
|
-
createTextVNode(toDisplayString((_b = (_a = _ctx.nextButtonProps) == null ? void 0 : _a.children) != null ? _b : unref(current) === unref(total) - 1 ? unref(t)("el.tour.finish") : unref(t)("el.tour.next")), 1)
|
|
952
|
-
];
|
|
953
|
-
}),
|
|
954
|
-
_: 1
|
|
955
|
-
}, 16, ["type"])) : createCommentVNode("v-if", true)
|
|
956
|
-
], 2)
|
|
957
|
-
], 2)
|
|
958
|
-
], 64);
|
|
959
|
-
};
|
|
960
|
-
}
|
|
961
|
-
});
|
|
962
|
-
var TourStep = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "step.vue"]]);
|
|
963
|
-
const ElTour = withInstall(Tour, {
|
|
964
|
-
TourStep
|
|
965
|
-
});
|
|
966
|
-
const ElTourStep = withNoopInstall(TourStep);
|
|
967
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
968
|
-
__name: "VcTour",
|
|
969
|
-
props: {
|
|
970
|
-
appendTo: { default: "body" },
|
|
971
|
-
modelValue: { type: Boolean },
|
|
972
|
-
current: {},
|
|
973
|
-
showArrow: { type: Boolean, default: true },
|
|
974
|
-
placement: {},
|
|
975
|
-
contentStyle: {},
|
|
976
|
-
mask: { type: [Boolean, Object], default: true },
|
|
977
|
-
gap: {},
|
|
978
|
-
scrollIntoViewOptions: { type: [Boolean, Object] },
|
|
979
|
-
zIndex: {},
|
|
980
|
-
showClose: { type: Boolean, default: true },
|
|
981
|
-
closeIcon: {},
|
|
982
|
-
closeOnPressEscape: { type: Boolean, default: true },
|
|
983
|
-
targetAreaClickable: { type: Boolean },
|
|
984
|
-
steps: {}
|
|
985
|
-
},
|
|
986
|
-
emits: ["update:modelValue", "update:current", "close", "change", "finish"],
|
|
987
|
-
setup(__props, { emit: __emit }) {
|
|
988
|
-
const props = __props;
|
|
989
|
-
const emit = __emit;
|
|
990
|
-
const slots = useSlots();
|
|
991
|
-
const localModel = useVModel$1(props, "modelValue", emit);
|
|
992
|
-
const localCurrent = useVModel$1(props, "current", emit);
|
|
993
|
-
function onClose(currentStep) {
|
|
994
|
-
emit("close", currentStep);
|
|
995
|
-
}
|
|
996
|
-
function onChange(currentStep) {
|
|
997
|
-
emit("change", currentStep);
|
|
998
|
-
}
|
|
999
|
-
function onFinish() {
|
|
1000
|
-
emit("finish");
|
|
1001
|
-
}
|
|
1002
|
-
return (_ctx, _cache) => {
|
|
1003
|
-
return openBlock(), createBlock(unref(ElTour), {
|
|
1004
|
-
modelValue: unref(localModel),
|
|
1005
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localModel) ? localModel.value = $event : null),
|
|
1006
|
-
current: unref(localCurrent),
|
|
1007
|
-
"onUpdate:current": _cache[1] || (_cache[1] = ($event) => isRef(localCurrent) ? localCurrent.value = $event : null),
|
|
1008
|
-
"append-to": _ctx.appendTo,
|
|
1009
|
-
"show-arrow": _ctx.showArrow,
|
|
1010
|
-
placement: _ctx.placement,
|
|
1011
|
-
"content-style": _ctx.contentStyle,
|
|
1012
|
-
mask: _ctx.mask,
|
|
1013
|
-
gap: _ctx.gap,
|
|
1014
|
-
"scroll-into-view-options": _ctx.scrollIntoViewOptions,
|
|
1015
|
-
"z-index": _ctx.zIndex,
|
|
1016
|
-
"show-close": _ctx.showClose,
|
|
1017
|
-
"close-icon": _ctx.closeIcon,
|
|
1018
|
-
"close-on-press-escape": _ctx.closeOnPressEscape,
|
|
1019
|
-
"target-area-clickable": _ctx.targetAreaClickable,
|
|
1020
|
-
class: "vc-tour",
|
|
1021
|
-
onClose,
|
|
1022
|
-
onFinish,
|
|
1023
|
-
onChange
|
|
1024
|
-
}, createSlots({
|
|
1025
|
-
default: withCtx(() => [
|
|
1026
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.steps, (step) => {
|
|
1027
|
-
return openBlock(), createBlock(unref(ElTourStep), mergeProps({
|
|
1028
|
-
key: step.step,
|
|
1029
|
-
target: step.target,
|
|
1030
|
-
title: step.title,
|
|
1031
|
-
description: step.description
|
|
1032
|
-
}, { ref_for: true }, step.props), createSlots({
|
|
1033
|
-
default: withCtx(() => [
|
|
1034
|
-
unref(slots)[step.step] ? renderSlot(_ctx.$slots, step.step, {
|
|
1035
|
-
key: 0,
|
|
1036
|
-
content: { step: step.step, title: step.title, description: step.description }
|
|
1037
|
-
}) : createCommentVNode("", true)
|
|
1038
|
-
]),
|
|
1039
|
-
_: 2
|
|
1040
|
-
}, [
|
|
1041
|
-
unref(slots)[`step-header`] ? {
|
|
1042
|
-
name: "header",
|
|
1043
|
-
fn: withCtx(() => [
|
|
1044
|
-
renderSlot(_ctx.$slots, `step-header`, {
|
|
1045
|
-
title: step.title
|
|
1046
|
-
})
|
|
1047
|
-
]),
|
|
1048
|
-
key: "0"
|
|
1049
|
-
} : void 0
|
|
1050
|
-
]), 1040, ["target", "title", "description"]);
|
|
1051
|
-
}), 128))
|
|
1052
|
-
]),
|
|
1053
|
-
_: 2
|
|
1054
|
-
}, [
|
|
1055
|
-
_ctx.$slots.indicators ? {
|
|
1056
|
-
name: "indicators",
|
|
1057
|
-
fn: withCtx((indicator) => [
|
|
1058
|
-
renderSlot(_ctx.$slots, "indicators", { indicator })
|
|
1059
|
-
]),
|
|
1060
|
-
key: "0"
|
|
1061
|
-
} : void 0
|
|
1062
|
-
]), 1032, ["modelValue", "current", "append-to", "show-arrow", "placement", "content-style", "mask", "gap", "scroll-into-view-options", "z-index", "show-close", "close-icon", "close-on-press-escape", "target-area-clickable"]);
|
|
1063
|
-
};
|
|
1064
|
-
}
|
|
1065
|
-
});
|
|
1066
|
-
export {
|
|
1067
|
-
_sfc_main as default
|
|
1068
|
-
};
|