@voicenter-team/voicenter-ui-plus 1.1.21 → 2.0.2
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,994 +0,0 @@
|
|
|
1
|
-
function mkJavaScript(parserConfig) {
|
|
2
|
-
var statementIndent = parserConfig.statementIndent;
|
|
3
|
-
var jsonldMode = parserConfig.jsonld;
|
|
4
|
-
var jsonMode = parserConfig.json || jsonldMode;
|
|
5
|
-
var isTS = parserConfig.typescript;
|
|
6
|
-
var wordRE = parserConfig.wordCharacters || /[\w$\xa1-\uffff]/;
|
|
7
|
-
var keywords = function() {
|
|
8
|
-
function kw(type2) {
|
|
9
|
-
return { type: type2, style: "keyword" };
|
|
10
|
-
}
|
|
11
|
-
var A = kw("keyword a"), B = kw("keyword b"), C = kw("keyword c"), D = kw("keyword d");
|
|
12
|
-
var operator = kw("operator"), atom = { type: "atom", style: "atom" };
|
|
13
|
-
return {
|
|
14
|
-
"if": kw("if"),
|
|
15
|
-
"while": A,
|
|
16
|
-
"with": A,
|
|
17
|
-
"else": B,
|
|
18
|
-
"do": B,
|
|
19
|
-
"try": B,
|
|
20
|
-
"finally": B,
|
|
21
|
-
"return": D,
|
|
22
|
-
"break": D,
|
|
23
|
-
"continue": D,
|
|
24
|
-
"new": kw("new"),
|
|
25
|
-
"delete": C,
|
|
26
|
-
"void": C,
|
|
27
|
-
"throw": C,
|
|
28
|
-
"debugger": kw("debugger"),
|
|
29
|
-
"var": kw("var"),
|
|
30
|
-
"const": kw("var"),
|
|
31
|
-
"let": kw("var"),
|
|
32
|
-
"function": kw("function"),
|
|
33
|
-
"catch": kw("catch"),
|
|
34
|
-
"for": kw("for"),
|
|
35
|
-
"switch": kw("switch"),
|
|
36
|
-
"case": kw("case"),
|
|
37
|
-
"default": kw("default"),
|
|
38
|
-
"in": operator,
|
|
39
|
-
"typeof": operator,
|
|
40
|
-
"instanceof": operator,
|
|
41
|
-
"true": atom,
|
|
42
|
-
"false": atom,
|
|
43
|
-
"null": atom,
|
|
44
|
-
"undefined": atom,
|
|
45
|
-
"NaN": atom,
|
|
46
|
-
"Infinity": atom,
|
|
47
|
-
"this": kw("this"),
|
|
48
|
-
"class": kw("class"),
|
|
49
|
-
"super": kw("atom"),
|
|
50
|
-
"yield": C,
|
|
51
|
-
"export": kw("export"),
|
|
52
|
-
"import": kw("import"),
|
|
53
|
-
"extends": C,
|
|
54
|
-
"await": C
|
|
55
|
-
};
|
|
56
|
-
}();
|
|
57
|
-
var isOperatorChar = /[+\-*&%=<>!?|~^@]/;
|
|
58
|
-
var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;
|
|
59
|
-
function readRegexp(stream) {
|
|
60
|
-
var escaped = false, next, inSet = false;
|
|
61
|
-
while ((next = stream.next()) != null) {
|
|
62
|
-
if (!escaped) {
|
|
63
|
-
if (next == "/" && !inSet) return;
|
|
64
|
-
if (next == "[") inSet = true;
|
|
65
|
-
else if (inSet && next == "]") inSet = false;
|
|
66
|
-
}
|
|
67
|
-
escaped = !escaped && next == "\\";
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
var type, content;
|
|
71
|
-
function ret(tp, style, cont2) {
|
|
72
|
-
type = tp;
|
|
73
|
-
content = cont2;
|
|
74
|
-
return style;
|
|
75
|
-
}
|
|
76
|
-
function tokenBase(stream, state) {
|
|
77
|
-
var ch = stream.next();
|
|
78
|
-
if (ch == '"' || ch == "'") {
|
|
79
|
-
state.tokenize = tokenString(ch);
|
|
80
|
-
return state.tokenize(stream, state);
|
|
81
|
-
} else if (ch == "." && stream.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/)) {
|
|
82
|
-
return ret("number", "number");
|
|
83
|
-
} else if (ch == "." && stream.match("..")) {
|
|
84
|
-
return ret("spread", "meta");
|
|
85
|
-
} else if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
|
|
86
|
-
return ret(ch);
|
|
87
|
-
} else if (ch == "=" && stream.eat(">")) {
|
|
88
|
-
return ret("=>", "operator");
|
|
89
|
-
} else if (ch == "0" && stream.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) {
|
|
90
|
-
return ret("number", "number");
|
|
91
|
-
} else if (/\d/.test(ch)) {
|
|
92
|
-
stream.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/);
|
|
93
|
-
return ret("number", "number");
|
|
94
|
-
} else if (ch == "/") {
|
|
95
|
-
if (stream.eat("*")) {
|
|
96
|
-
state.tokenize = tokenComment;
|
|
97
|
-
return tokenComment(stream, state);
|
|
98
|
-
} else if (stream.eat("/")) {
|
|
99
|
-
stream.skipToEnd();
|
|
100
|
-
return ret("comment", "comment");
|
|
101
|
-
} else if (expressionAllowed(stream, state, 1)) {
|
|
102
|
-
readRegexp(stream);
|
|
103
|
-
stream.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/);
|
|
104
|
-
return ret("regexp", "string.special");
|
|
105
|
-
} else {
|
|
106
|
-
stream.eat("=");
|
|
107
|
-
return ret("operator", "operator", stream.current());
|
|
108
|
-
}
|
|
109
|
-
} else if (ch == "`") {
|
|
110
|
-
state.tokenize = tokenQuasi;
|
|
111
|
-
return tokenQuasi(stream, state);
|
|
112
|
-
} else if (ch == "#" && stream.peek() == "!") {
|
|
113
|
-
stream.skipToEnd();
|
|
114
|
-
return ret("meta", "meta");
|
|
115
|
-
} else if (ch == "#" && stream.eatWhile(wordRE)) {
|
|
116
|
-
return ret("variable", "property");
|
|
117
|
-
} else if (ch == "<" && stream.match("!--") || ch == "-" && stream.match("->") && !/\S/.test(stream.string.slice(0, stream.start))) {
|
|
118
|
-
stream.skipToEnd();
|
|
119
|
-
return ret("comment", "comment");
|
|
120
|
-
} else if (isOperatorChar.test(ch)) {
|
|
121
|
-
if (ch != ">" || !state.lexical || state.lexical.type != ">") {
|
|
122
|
-
if (stream.eat("=")) {
|
|
123
|
-
if (ch == "!" || ch == "=") stream.eat("=");
|
|
124
|
-
} else if (/[<>*+\-|&?]/.test(ch)) {
|
|
125
|
-
stream.eat(ch);
|
|
126
|
-
if (ch == ">") stream.eat(ch);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
if (ch == "?" && stream.eat(".")) return ret(".");
|
|
130
|
-
return ret("operator", "operator", stream.current());
|
|
131
|
-
} else if (wordRE.test(ch)) {
|
|
132
|
-
stream.eatWhile(wordRE);
|
|
133
|
-
var word = stream.current();
|
|
134
|
-
if (state.lastType != ".") {
|
|
135
|
-
if (keywords.propertyIsEnumerable(word)) {
|
|
136
|
-
var kw = keywords[word];
|
|
137
|
-
return ret(kw.type, kw.style, word);
|
|
138
|
-
}
|
|
139
|
-
if (word == "async" && stream.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/, false))
|
|
140
|
-
return ret("async", "keyword", word);
|
|
141
|
-
}
|
|
142
|
-
return ret("variable", "variable", word);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
function tokenString(quote) {
|
|
146
|
-
return function(stream, state) {
|
|
147
|
-
var escaped = false, next;
|
|
148
|
-
if (jsonldMode && stream.peek() == "@" && stream.match(isJsonldKeyword)) {
|
|
149
|
-
state.tokenize = tokenBase;
|
|
150
|
-
return ret("jsonld-keyword", "meta");
|
|
151
|
-
}
|
|
152
|
-
while ((next = stream.next()) != null) {
|
|
153
|
-
if (next == quote && !escaped) break;
|
|
154
|
-
escaped = !escaped && next == "\\";
|
|
155
|
-
}
|
|
156
|
-
if (!escaped) state.tokenize = tokenBase;
|
|
157
|
-
return ret("string", "string");
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
function tokenComment(stream, state) {
|
|
161
|
-
var maybeEnd = false, ch;
|
|
162
|
-
while (ch = stream.next()) {
|
|
163
|
-
if (ch == "/" && maybeEnd) {
|
|
164
|
-
state.tokenize = tokenBase;
|
|
165
|
-
break;
|
|
166
|
-
}
|
|
167
|
-
maybeEnd = ch == "*";
|
|
168
|
-
}
|
|
169
|
-
return ret("comment", "comment");
|
|
170
|
-
}
|
|
171
|
-
function tokenQuasi(stream, state) {
|
|
172
|
-
var escaped = false, next;
|
|
173
|
-
while ((next = stream.next()) != null) {
|
|
174
|
-
if (!escaped && (next == "`" || next == "$" && stream.eat("{"))) {
|
|
175
|
-
state.tokenize = tokenBase;
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
escaped = !escaped && next == "\\";
|
|
179
|
-
}
|
|
180
|
-
return ret("quasi", "string.special", stream.current());
|
|
181
|
-
}
|
|
182
|
-
var brackets = "([{}])";
|
|
183
|
-
function findFatArrow(stream, state) {
|
|
184
|
-
if (state.fatArrowAt) state.fatArrowAt = null;
|
|
185
|
-
var arrow = stream.string.indexOf("=>", stream.start);
|
|
186
|
-
if (arrow < 0) return;
|
|
187
|
-
if (isTS) {
|
|
188
|
-
var m = /:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(stream.string.slice(stream.start, arrow));
|
|
189
|
-
if (m) arrow = m.index;
|
|
190
|
-
}
|
|
191
|
-
var depth = 0, sawSomething = false;
|
|
192
|
-
for (var pos = arrow - 1; pos >= 0; --pos) {
|
|
193
|
-
var ch = stream.string.charAt(pos);
|
|
194
|
-
var bracket = brackets.indexOf(ch);
|
|
195
|
-
if (bracket >= 0 && bracket < 3) {
|
|
196
|
-
if (!depth) {
|
|
197
|
-
++pos;
|
|
198
|
-
break;
|
|
199
|
-
}
|
|
200
|
-
if (--depth == 0) {
|
|
201
|
-
if (ch == "(") sawSomething = true;
|
|
202
|
-
break;
|
|
203
|
-
}
|
|
204
|
-
} else if (bracket >= 3 && bracket < 6) {
|
|
205
|
-
++depth;
|
|
206
|
-
} else if (wordRE.test(ch)) {
|
|
207
|
-
sawSomething = true;
|
|
208
|
-
} else if (/["'\/`]/.test(ch)) {
|
|
209
|
-
for (; ; --pos) {
|
|
210
|
-
if (pos == 0) return;
|
|
211
|
-
var next = stream.string.charAt(pos - 1);
|
|
212
|
-
if (next == ch && stream.string.charAt(pos - 2) != "\\") {
|
|
213
|
-
pos--;
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
} else if (sawSomething && !depth) {
|
|
218
|
-
++pos;
|
|
219
|
-
break;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
if (sawSomething && !depth) state.fatArrowAt = pos;
|
|
223
|
-
}
|
|
224
|
-
var atomicTypes = {
|
|
225
|
-
"atom": true,
|
|
226
|
-
"number": true,
|
|
227
|
-
"variable": true,
|
|
228
|
-
"string": true,
|
|
229
|
-
"regexp": true,
|
|
230
|
-
"this": true,
|
|
231
|
-
"import": true,
|
|
232
|
-
"jsonld-keyword": true
|
|
233
|
-
};
|
|
234
|
-
function JSLexical(indented, column, type2, align, prev, info) {
|
|
235
|
-
this.indented = indented;
|
|
236
|
-
this.column = column;
|
|
237
|
-
this.type = type2;
|
|
238
|
-
this.prev = prev;
|
|
239
|
-
this.info = info;
|
|
240
|
-
if (align != null) this.align = align;
|
|
241
|
-
}
|
|
242
|
-
function inScope(state, varname) {
|
|
243
|
-
for (var v = state.localVars; v; v = v.next)
|
|
244
|
-
if (v.name == varname) return true;
|
|
245
|
-
for (var cx2 = state.context; cx2; cx2 = cx2.prev) {
|
|
246
|
-
for (var v = cx2.vars; v; v = v.next)
|
|
247
|
-
if (v.name == varname) return true;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
function parseJS(state, style, type2, content2, stream) {
|
|
251
|
-
var cc = state.cc;
|
|
252
|
-
cx.state = state;
|
|
253
|
-
cx.stream = stream;
|
|
254
|
-
cx.marked = null;
|
|
255
|
-
cx.cc = cc;
|
|
256
|
-
cx.style = style;
|
|
257
|
-
if (!state.lexical.hasOwnProperty("align"))
|
|
258
|
-
state.lexical.align = true;
|
|
259
|
-
while (true) {
|
|
260
|
-
var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;
|
|
261
|
-
if (combinator(type2, content2)) {
|
|
262
|
-
while (cc.length && cc[cc.length - 1].lex)
|
|
263
|
-
cc.pop()();
|
|
264
|
-
if (cx.marked) return cx.marked;
|
|
265
|
-
if (type2 == "variable" && inScope(state, content2)) return "variableName.local";
|
|
266
|
-
return style;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
var cx = { state: null, marked: null, cc: null };
|
|
271
|
-
function pass() {
|
|
272
|
-
for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);
|
|
273
|
-
}
|
|
274
|
-
function cont() {
|
|
275
|
-
pass.apply(null, arguments);
|
|
276
|
-
return true;
|
|
277
|
-
}
|
|
278
|
-
function inList(name, list) {
|
|
279
|
-
for (var v = list; v; v = v.next) if (v.name == name) return true;
|
|
280
|
-
return false;
|
|
281
|
-
}
|
|
282
|
-
function register(varname) {
|
|
283
|
-
var state = cx.state;
|
|
284
|
-
cx.marked = "def";
|
|
285
|
-
if (state.context) {
|
|
286
|
-
if (state.lexical.info == "var" && state.context && state.context.block) {
|
|
287
|
-
var newContext = registerVarScoped(varname, state.context);
|
|
288
|
-
if (newContext != null) {
|
|
289
|
-
state.context = newContext;
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
} else if (!inList(varname, state.localVars)) {
|
|
293
|
-
state.localVars = new Var(varname, state.localVars);
|
|
294
|
-
return;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
if (parserConfig.globalVars && !inList(varname, state.globalVars))
|
|
298
|
-
state.globalVars = new Var(varname, state.globalVars);
|
|
299
|
-
}
|
|
300
|
-
function registerVarScoped(varname, context) {
|
|
301
|
-
if (!context) {
|
|
302
|
-
return null;
|
|
303
|
-
} else if (context.block) {
|
|
304
|
-
var inner = registerVarScoped(varname, context.prev);
|
|
305
|
-
if (!inner) return null;
|
|
306
|
-
if (inner == context.prev) return context;
|
|
307
|
-
return new Context(inner, context.vars, true);
|
|
308
|
-
} else if (inList(varname, context.vars)) {
|
|
309
|
-
return context;
|
|
310
|
-
} else {
|
|
311
|
-
return new Context(context.prev, new Var(varname, context.vars), false);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
function isModifier(name) {
|
|
315
|
-
return name == "public" || name == "private" || name == "protected" || name == "abstract" || name == "readonly";
|
|
316
|
-
}
|
|
317
|
-
function Context(prev, vars, block2) {
|
|
318
|
-
this.prev = prev;
|
|
319
|
-
this.vars = vars;
|
|
320
|
-
this.block = block2;
|
|
321
|
-
}
|
|
322
|
-
function Var(name, next) {
|
|
323
|
-
this.name = name;
|
|
324
|
-
this.next = next;
|
|
325
|
-
}
|
|
326
|
-
var defaultVars = new Var("this", new Var("arguments", null));
|
|
327
|
-
function pushcontext() {
|
|
328
|
-
cx.state.context = new Context(cx.state.context, cx.state.localVars, false);
|
|
329
|
-
cx.state.localVars = defaultVars;
|
|
330
|
-
}
|
|
331
|
-
function pushblockcontext() {
|
|
332
|
-
cx.state.context = new Context(cx.state.context, cx.state.localVars, true);
|
|
333
|
-
cx.state.localVars = null;
|
|
334
|
-
}
|
|
335
|
-
pushcontext.lex = pushblockcontext.lex = true;
|
|
336
|
-
function popcontext() {
|
|
337
|
-
cx.state.localVars = cx.state.context.vars;
|
|
338
|
-
cx.state.context = cx.state.context.prev;
|
|
339
|
-
}
|
|
340
|
-
popcontext.lex = true;
|
|
341
|
-
function pushlex(type2, info) {
|
|
342
|
-
var result = function() {
|
|
343
|
-
var state = cx.state, indent = state.indented;
|
|
344
|
-
if (state.lexical.type == "stat") indent = state.lexical.indented;
|
|
345
|
-
else for (var outer = state.lexical; outer && outer.type == ")" && outer.align; outer = outer.prev)
|
|
346
|
-
indent = outer.indented;
|
|
347
|
-
state.lexical = new JSLexical(indent, cx.stream.column(), type2, null, state.lexical, info);
|
|
348
|
-
};
|
|
349
|
-
result.lex = true;
|
|
350
|
-
return result;
|
|
351
|
-
}
|
|
352
|
-
function poplex() {
|
|
353
|
-
var state = cx.state;
|
|
354
|
-
if (state.lexical.prev) {
|
|
355
|
-
if (state.lexical.type == ")")
|
|
356
|
-
state.indented = state.lexical.indented;
|
|
357
|
-
state.lexical = state.lexical.prev;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
poplex.lex = true;
|
|
361
|
-
function expect(wanted) {
|
|
362
|
-
function exp(type2) {
|
|
363
|
-
if (type2 == wanted) return cont();
|
|
364
|
-
else if (wanted == ";" || type2 == "}" || type2 == ")" || type2 == "]") return pass();
|
|
365
|
-
else return cont(exp);
|
|
366
|
-
}
|
|
367
|
-
return exp;
|
|
368
|
-
}
|
|
369
|
-
function statement(type2, value) {
|
|
370
|
-
if (type2 == "var") return cont(pushlex("vardef", value), vardef, expect(";"), poplex);
|
|
371
|
-
if (type2 == "keyword a") return cont(pushlex("form"), parenExpr, statement, poplex);
|
|
372
|
-
if (type2 == "keyword b") return cont(pushlex("form"), statement, poplex);
|
|
373
|
-
if (type2 == "keyword d") return cx.stream.match(/^\s*$/, false) ? cont() : cont(pushlex("stat"), maybeexpression, expect(";"), poplex);
|
|
374
|
-
if (type2 == "debugger") return cont(expect(";"));
|
|
375
|
-
if (type2 == "{") return cont(pushlex("}"), pushblockcontext, block, poplex, popcontext);
|
|
376
|
-
if (type2 == ";") return cont();
|
|
377
|
-
if (type2 == "if") {
|
|
378
|
-
if (cx.state.lexical.info == "else" && cx.state.cc[cx.state.cc.length - 1] == poplex)
|
|
379
|
-
cx.state.cc.pop()();
|
|
380
|
-
return cont(pushlex("form"), parenExpr, statement, poplex, maybeelse);
|
|
381
|
-
}
|
|
382
|
-
if (type2 == "function") return cont(functiondef);
|
|
383
|
-
if (type2 == "for") return cont(pushlex("form"), pushblockcontext, forspec, statement, popcontext, poplex);
|
|
384
|
-
if (type2 == "class" || isTS && value == "interface") {
|
|
385
|
-
cx.marked = "keyword";
|
|
386
|
-
return cont(pushlex("form", type2 == "class" ? type2 : value), className, poplex);
|
|
387
|
-
}
|
|
388
|
-
if (type2 == "variable") {
|
|
389
|
-
if (isTS && value == "declare") {
|
|
390
|
-
cx.marked = "keyword";
|
|
391
|
-
return cont(statement);
|
|
392
|
-
} else if (isTS && (value == "module" || value == "enum" || value == "type") && cx.stream.match(/^\s*\w/, false)) {
|
|
393
|
-
cx.marked = "keyword";
|
|
394
|
-
if (value == "enum") return cont(enumdef);
|
|
395
|
-
else if (value == "type") return cont(typename, expect("operator"), typeexpr, expect(";"));
|
|
396
|
-
else return cont(pushlex("form"), pattern, expect("{"), pushlex("}"), block, poplex, poplex);
|
|
397
|
-
} else if (isTS && value == "namespace") {
|
|
398
|
-
cx.marked = "keyword";
|
|
399
|
-
return cont(pushlex("form"), expression, statement, poplex);
|
|
400
|
-
} else if (isTS && value == "abstract") {
|
|
401
|
-
cx.marked = "keyword";
|
|
402
|
-
return cont(statement);
|
|
403
|
-
} else {
|
|
404
|
-
return cont(pushlex("stat"), maybelabel);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
if (type2 == "switch") return cont(
|
|
408
|
-
pushlex("form"),
|
|
409
|
-
parenExpr,
|
|
410
|
-
expect("{"),
|
|
411
|
-
pushlex("}", "switch"),
|
|
412
|
-
pushblockcontext,
|
|
413
|
-
block,
|
|
414
|
-
poplex,
|
|
415
|
-
poplex,
|
|
416
|
-
popcontext
|
|
417
|
-
);
|
|
418
|
-
if (type2 == "case") return cont(expression, expect(":"));
|
|
419
|
-
if (type2 == "default") return cont(expect(":"));
|
|
420
|
-
if (type2 == "catch") return cont(pushlex("form"), pushcontext, maybeCatchBinding, statement, poplex, popcontext);
|
|
421
|
-
if (type2 == "export") return cont(pushlex("stat"), afterExport, poplex);
|
|
422
|
-
if (type2 == "import") return cont(pushlex("stat"), afterImport, poplex);
|
|
423
|
-
if (type2 == "async") return cont(statement);
|
|
424
|
-
if (value == "@") return cont(expression, statement);
|
|
425
|
-
return pass(pushlex("stat"), expression, expect(";"), poplex);
|
|
426
|
-
}
|
|
427
|
-
function maybeCatchBinding(type2) {
|
|
428
|
-
if (type2 == "(") return cont(funarg, expect(")"));
|
|
429
|
-
}
|
|
430
|
-
function expression(type2, value) {
|
|
431
|
-
return expressionInner(type2, value, false);
|
|
432
|
-
}
|
|
433
|
-
function expressionNoComma(type2, value) {
|
|
434
|
-
return expressionInner(type2, value, true);
|
|
435
|
-
}
|
|
436
|
-
function parenExpr(type2) {
|
|
437
|
-
if (type2 != "(") return pass();
|
|
438
|
-
return cont(pushlex(")"), maybeexpression, expect(")"), poplex);
|
|
439
|
-
}
|
|
440
|
-
function expressionInner(type2, value, noComma) {
|
|
441
|
-
if (cx.state.fatArrowAt == cx.stream.start) {
|
|
442
|
-
var body = noComma ? arrowBodyNoComma : arrowBody;
|
|
443
|
-
if (type2 == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, expect("=>"), body, popcontext);
|
|
444
|
-
else if (type2 == "variable") return pass(pushcontext, pattern, expect("=>"), body, popcontext);
|
|
445
|
-
}
|
|
446
|
-
var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;
|
|
447
|
-
if (atomicTypes.hasOwnProperty(type2)) return cont(maybeop);
|
|
448
|
-
if (type2 == "function") return cont(functiondef, maybeop);
|
|
449
|
-
if (type2 == "class" || isTS && value == "interface") {
|
|
450
|
-
cx.marked = "keyword";
|
|
451
|
-
return cont(pushlex("form"), classExpression, poplex);
|
|
452
|
-
}
|
|
453
|
-
if (type2 == "keyword c" || type2 == "async") return cont(noComma ? expressionNoComma : expression);
|
|
454
|
-
if (type2 == "(") return cont(pushlex(")"), maybeexpression, expect(")"), poplex, maybeop);
|
|
455
|
-
if (type2 == "operator" || type2 == "spread") return cont(noComma ? expressionNoComma : expression);
|
|
456
|
-
if (type2 == "[") return cont(pushlex("]"), arrayLiteral, poplex, maybeop);
|
|
457
|
-
if (type2 == "{") return contCommasep(objprop, "}", null, maybeop);
|
|
458
|
-
if (type2 == "quasi") return pass(quasi, maybeop);
|
|
459
|
-
if (type2 == "new") return cont(maybeTarget(noComma));
|
|
460
|
-
return cont();
|
|
461
|
-
}
|
|
462
|
-
function maybeexpression(type2) {
|
|
463
|
-
if (type2.match(/[;\}\)\],]/)) return pass();
|
|
464
|
-
return pass(expression);
|
|
465
|
-
}
|
|
466
|
-
function maybeoperatorComma(type2, value) {
|
|
467
|
-
if (type2 == ",") return cont(maybeexpression);
|
|
468
|
-
return maybeoperatorNoComma(type2, value, false);
|
|
469
|
-
}
|
|
470
|
-
function maybeoperatorNoComma(type2, value, noComma) {
|
|
471
|
-
var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma;
|
|
472
|
-
var expr = noComma == false ? expression : expressionNoComma;
|
|
473
|
-
if (type2 == "=>") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);
|
|
474
|
-
if (type2 == "operator") {
|
|
475
|
-
if (/\+\+|--/.test(value) || isTS && value == "!") return cont(me);
|
|
476
|
-
if (isTS && value == "<" && cx.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/, false))
|
|
477
|
-
return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, me);
|
|
478
|
-
if (value == "?") return cont(expression, expect(":"), expr);
|
|
479
|
-
return cont(expr);
|
|
480
|
-
}
|
|
481
|
-
if (type2 == "quasi") {
|
|
482
|
-
return pass(quasi, me);
|
|
483
|
-
}
|
|
484
|
-
if (type2 == ";") return;
|
|
485
|
-
if (type2 == "(") return contCommasep(expressionNoComma, ")", "call", me);
|
|
486
|
-
if (type2 == ".") return cont(property, me);
|
|
487
|
-
if (type2 == "[") return cont(pushlex("]"), maybeexpression, expect("]"), poplex, me);
|
|
488
|
-
if (isTS && value == "as") {
|
|
489
|
-
cx.marked = "keyword";
|
|
490
|
-
return cont(typeexpr, me);
|
|
491
|
-
}
|
|
492
|
-
if (type2 == "regexp") {
|
|
493
|
-
cx.state.lastType = cx.marked = "operator";
|
|
494
|
-
cx.stream.backUp(cx.stream.pos - cx.stream.start - 1);
|
|
495
|
-
return cont(expr);
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
function quasi(type2, value) {
|
|
499
|
-
if (type2 != "quasi") return pass();
|
|
500
|
-
if (value.slice(value.length - 2) != "${") return cont(quasi);
|
|
501
|
-
return cont(maybeexpression, continueQuasi);
|
|
502
|
-
}
|
|
503
|
-
function continueQuasi(type2) {
|
|
504
|
-
if (type2 == "}") {
|
|
505
|
-
cx.marked = "string.special";
|
|
506
|
-
cx.state.tokenize = tokenQuasi;
|
|
507
|
-
return cont(quasi);
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
function arrowBody(type2) {
|
|
511
|
-
findFatArrow(cx.stream, cx.state);
|
|
512
|
-
return pass(type2 == "{" ? statement : expression);
|
|
513
|
-
}
|
|
514
|
-
function arrowBodyNoComma(type2) {
|
|
515
|
-
findFatArrow(cx.stream, cx.state);
|
|
516
|
-
return pass(type2 == "{" ? statement : expressionNoComma);
|
|
517
|
-
}
|
|
518
|
-
function maybeTarget(noComma) {
|
|
519
|
-
return function(type2) {
|
|
520
|
-
if (type2 == ".") return cont(noComma ? targetNoComma : target);
|
|
521
|
-
else if (type2 == "variable" && isTS) return cont(maybeTypeArgs, noComma ? maybeoperatorNoComma : maybeoperatorComma);
|
|
522
|
-
else return pass(noComma ? expressionNoComma : expression);
|
|
523
|
-
};
|
|
524
|
-
}
|
|
525
|
-
function target(_, value) {
|
|
526
|
-
if (value == "target") {
|
|
527
|
-
cx.marked = "keyword";
|
|
528
|
-
return cont(maybeoperatorComma);
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
function targetNoComma(_, value) {
|
|
532
|
-
if (value == "target") {
|
|
533
|
-
cx.marked = "keyword";
|
|
534
|
-
return cont(maybeoperatorNoComma);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
function maybelabel(type2) {
|
|
538
|
-
if (type2 == ":") return cont(poplex, statement);
|
|
539
|
-
return pass(maybeoperatorComma, expect(";"), poplex);
|
|
540
|
-
}
|
|
541
|
-
function property(type2) {
|
|
542
|
-
if (type2 == "variable") {
|
|
543
|
-
cx.marked = "property";
|
|
544
|
-
return cont();
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
function objprop(type2, value) {
|
|
548
|
-
if (type2 == "async") {
|
|
549
|
-
cx.marked = "property";
|
|
550
|
-
return cont(objprop);
|
|
551
|
-
} else if (type2 == "variable" || cx.style == "keyword") {
|
|
552
|
-
cx.marked = "property";
|
|
553
|
-
if (value == "get" || value == "set") return cont(getterSetter);
|
|
554
|
-
var m;
|
|
555
|
-
if (isTS && cx.state.fatArrowAt == cx.stream.start && (m = cx.stream.match(/^\s*:\s*/, false)))
|
|
556
|
-
cx.state.fatArrowAt = cx.stream.pos + m[0].length;
|
|
557
|
-
return cont(afterprop);
|
|
558
|
-
} else if (type2 == "number" || type2 == "string") {
|
|
559
|
-
cx.marked = jsonldMode ? "property" : cx.style + " property";
|
|
560
|
-
return cont(afterprop);
|
|
561
|
-
} else if (type2 == "jsonld-keyword") {
|
|
562
|
-
return cont(afterprop);
|
|
563
|
-
} else if (isTS && isModifier(value)) {
|
|
564
|
-
cx.marked = "keyword";
|
|
565
|
-
return cont(objprop);
|
|
566
|
-
} else if (type2 == "[") {
|
|
567
|
-
return cont(expression, maybetype, expect("]"), afterprop);
|
|
568
|
-
} else if (type2 == "spread") {
|
|
569
|
-
return cont(expressionNoComma, afterprop);
|
|
570
|
-
} else if (value == "*") {
|
|
571
|
-
cx.marked = "keyword";
|
|
572
|
-
return cont(objprop);
|
|
573
|
-
} else if (type2 == ":") {
|
|
574
|
-
return pass(afterprop);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
function getterSetter(type2) {
|
|
578
|
-
if (type2 != "variable") return pass(afterprop);
|
|
579
|
-
cx.marked = "property";
|
|
580
|
-
return cont(functiondef);
|
|
581
|
-
}
|
|
582
|
-
function afterprop(type2) {
|
|
583
|
-
if (type2 == ":") return cont(expressionNoComma);
|
|
584
|
-
if (type2 == "(") return pass(functiondef);
|
|
585
|
-
}
|
|
586
|
-
function commasep(what, end, sep) {
|
|
587
|
-
function proceed(type2, value) {
|
|
588
|
-
if (sep ? sep.indexOf(type2) > -1 : type2 == ",") {
|
|
589
|
-
var lex = cx.state.lexical;
|
|
590
|
-
if (lex.info == "call") lex.pos = (lex.pos || 0) + 1;
|
|
591
|
-
return cont(function(type3, value2) {
|
|
592
|
-
if (type3 == end || value2 == end) return pass();
|
|
593
|
-
return pass(what);
|
|
594
|
-
}, proceed);
|
|
595
|
-
}
|
|
596
|
-
if (type2 == end || value == end) return cont();
|
|
597
|
-
if (sep && sep.indexOf(";") > -1) return pass(what);
|
|
598
|
-
return cont(expect(end));
|
|
599
|
-
}
|
|
600
|
-
return function(type2, value) {
|
|
601
|
-
if (type2 == end || value == end) return cont();
|
|
602
|
-
return pass(what, proceed);
|
|
603
|
-
};
|
|
604
|
-
}
|
|
605
|
-
function contCommasep(what, end, info) {
|
|
606
|
-
for (var i = 3; i < arguments.length; i++)
|
|
607
|
-
cx.cc.push(arguments[i]);
|
|
608
|
-
return cont(pushlex(end, info), commasep(what, end), poplex);
|
|
609
|
-
}
|
|
610
|
-
function block(type2) {
|
|
611
|
-
if (type2 == "}") return cont();
|
|
612
|
-
return pass(statement, block);
|
|
613
|
-
}
|
|
614
|
-
function maybetype(type2, value) {
|
|
615
|
-
if (isTS) {
|
|
616
|
-
if (type2 == ":") return cont(typeexpr);
|
|
617
|
-
if (value == "?") return cont(maybetype);
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
function maybetypeOrIn(type2, value) {
|
|
621
|
-
if (isTS && (type2 == ":" || value == "in")) return cont(typeexpr);
|
|
622
|
-
}
|
|
623
|
-
function mayberettype(type2) {
|
|
624
|
-
if (isTS && type2 == ":") {
|
|
625
|
-
if (cx.stream.match(/^\s*\w+\s+is\b/, false)) return cont(expression, isKW, typeexpr);
|
|
626
|
-
else return cont(typeexpr);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
function isKW(_, value) {
|
|
630
|
-
if (value == "is") {
|
|
631
|
-
cx.marked = "keyword";
|
|
632
|
-
return cont();
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
function typeexpr(type2, value) {
|
|
636
|
-
if (value == "keyof" || value == "typeof" || value == "infer" || value == "readonly") {
|
|
637
|
-
cx.marked = "keyword";
|
|
638
|
-
return cont(value == "typeof" ? expressionNoComma : typeexpr);
|
|
639
|
-
}
|
|
640
|
-
if (type2 == "variable" || value == "void") {
|
|
641
|
-
cx.marked = "type";
|
|
642
|
-
return cont(afterType);
|
|
643
|
-
}
|
|
644
|
-
if (value == "|" || value == "&") return cont(typeexpr);
|
|
645
|
-
if (type2 == "string" || type2 == "number" || type2 == "atom") return cont(afterType);
|
|
646
|
-
if (type2 == "[") return cont(pushlex("]"), commasep(typeexpr, "]", ","), poplex, afterType);
|
|
647
|
-
if (type2 == "{") return cont(pushlex("}"), typeprops, poplex, afterType);
|
|
648
|
-
if (type2 == "(") return cont(commasep(typearg, ")"), maybeReturnType, afterType);
|
|
649
|
-
if (type2 == "<") return cont(commasep(typeexpr, ">"), typeexpr);
|
|
650
|
-
if (type2 == "quasi") return pass(quasiType, afterType);
|
|
651
|
-
}
|
|
652
|
-
function maybeReturnType(type2) {
|
|
653
|
-
if (type2 == "=>") return cont(typeexpr);
|
|
654
|
-
}
|
|
655
|
-
function typeprops(type2) {
|
|
656
|
-
if (type2.match(/[\}\)\]]/)) return cont();
|
|
657
|
-
if (type2 == "," || type2 == ";") return cont(typeprops);
|
|
658
|
-
return pass(typeprop, typeprops);
|
|
659
|
-
}
|
|
660
|
-
function typeprop(type2, value) {
|
|
661
|
-
if (type2 == "variable" || cx.style == "keyword") {
|
|
662
|
-
cx.marked = "property";
|
|
663
|
-
return cont(typeprop);
|
|
664
|
-
} else if (value == "?" || type2 == "number" || type2 == "string") {
|
|
665
|
-
return cont(typeprop);
|
|
666
|
-
} else if (type2 == ":") {
|
|
667
|
-
return cont(typeexpr);
|
|
668
|
-
} else if (type2 == "[") {
|
|
669
|
-
return cont(expect("variable"), maybetypeOrIn, expect("]"), typeprop);
|
|
670
|
-
} else if (type2 == "(") {
|
|
671
|
-
return pass(functiondecl, typeprop);
|
|
672
|
-
} else if (!type2.match(/[;\}\)\],]/)) {
|
|
673
|
-
return cont();
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
function quasiType(type2, value) {
|
|
677
|
-
if (type2 != "quasi") return pass();
|
|
678
|
-
if (value.slice(value.length - 2) != "${") return cont(quasiType);
|
|
679
|
-
return cont(typeexpr, continueQuasiType);
|
|
680
|
-
}
|
|
681
|
-
function continueQuasiType(type2) {
|
|
682
|
-
if (type2 == "}") {
|
|
683
|
-
cx.marked = "string.special";
|
|
684
|
-
cx.state.tokenize = tokenQuasi;
|
|
685
|
-
return cont(quasiType);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
function typearg(type2, value) {
|
|
689
|
-
if (type2 == "variable" && cx.stream.match(/^\s*[?:]/, false) || value == "?") return cont(typearg);
|
|
690
|
-
if (type2 == ":") return cont(typeexpr);
|
|
691
|
-
if (type2 == "spread") return cont(typearg);
|
|
692
|
-
return pass(typeexpr);
|
|
693
|
-
}
|
|
694
|
-
function afterType(type2, value) {
|
|
695
|
-
if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType);
|
|
696
|
-
if (value == "|" || type2 == "." || value == "&") return cont(typeexpr);
|
|
697
|
-
if (type2 == "[") return cont(typeexpr, expect("]"), afterType);
|
|
698
|
-
if (value == "extends" || value == "implements") {
|
|
699
|
-
cx.marked = "keyword";
|
|
700
|
-
return cont(typeexpr);
|
|
701
|
-
}
|
|
702
|
-
if (value == "?") return cont(typeexpr, expect(":"), typeexpr);
|
|
703
|
-
}
|
|
704
|
-
function maybeTypeArgs(_, value) {
|
|
705
|
-
if (value == "<") return cont(pushlex(">"), commasep(typeexpr, ">"), poplex, afterType);
|
|
706
|
-
}
|
|
707
|
-
function typeparam() {
|
|
708
|
-
return pass(typeexpr, maybeTypeDefault);
|
|
709
|
-
}
|
|
710
|
-
function maybeTypeDefault(_, value) {
|
|
711
|
-
if (value == "=") return cont(typeexpr);
|
|
712
|
-
}
|
|
713
|
-
function vardef(_, value) {
|
|
714
|
-
if (value == "enum") {
|
|
715
|
-
cx.marked = "keyword";
|
|
716
|
-
return cont(enumdef);
|
|
717
|
-
}
|
|
718
|
-
return pass(pattern, maybetype, maybeAssign, vardefCont);
|
|
719
|
-
}
|
|
720
|
-
function pattern(type2, value) {
|
|
721
|
-
if (isTS && isModifier(value)) {
|
|
722
|
-
cx.marked = "keyword";
|
|
723
|
-
return cont(pattern);
|
|
724
|
-
}
|
|
725
|
-
if (type2 == "variable") {
|
|
726
|
-
register(value);
|
|
727
|
-
return cont();
|
|
728
|
-
}
|
|
729
|
-
if (type2 == "spread") return cont(pattern);
|
|
730
|
-
if (type2 == "[") return contCommasep(eltpattern, "]");
|
|
731
|
-
if (type2 == "{") return contCommasep(proppattern, "}");
|
|
732
|
-
}
|
|
733
|
-
function proppattern(type2, value) {
|
|
734
|
-
if (type2 == "variable" && !cx.stream.match(/^\s*:/, false)) {
|
|
735
|
-
register(value);
|
|
736
|
-
return cont(maybeAssign);
|
|
737
|
-
}
|
|
738
|
-
if (type2 == "variable") cx.marked = "property";
|
|
739
|
-
if (type2 == "spread") return cont(pattern);
|
|
740
|
-
if (type2 == "}") return pass();
|
|
741
|
-
if (type2 == "[") return cont(expression, expect("]"), expect(":"), proppattern);
|
|
742
|
-
return cont(expect(":"), pattern, maybeAssign);
|
|
743
|
-
}
|
|
744
|
-
function eltpattern() {
|
|
745
|
-
return pass(pattern, maybeAssign);
|
|
746
|
-
}
|
|
747
|
-
function maybeAssign(_type, value) {
|
|
748
|
-
if (value == "=") return cont(expressionNoComma);
|
|
749
|
-
}
|
|
750
|
-
function vardefCont(type2) {
|
|
751
|
-
if (type2 == ",") return cont(vardef);
|
|
752
|
-
}
|
|
753
|
-
function maybeelse(type2, value) {
|
|
754
|
-
if (type2 == "keyword b" && value == "else") return cont(pushlex("form", "else"), statement, poplex);
|
|
755
|
-
}
|
|
756
|
-
function forspec(type2, value) {
|
|
757
|
-
if (value == "await") return cont(forspec);
|
|
758
|
-
if (type2 == "(") return cont(pushlex(")"), forspec1, poplex);
|
|
759
|
-
}
|
|
760
|
-
function forspec1(type2) {
|
|
761
|
-
if (type2 == "var") return cont(vardef, forspec2);
|
|
762
|
-
if (type2 == "variable") return cont(forspec2);
|
|
763
|
-
return pass(forspec2);
|
|
764
|
-
}
|
|
765
|
-
function forspec2(type2, value) {
|
|
766
|
-
if (type2 == ")") return cont();
|
|
767
|
-
if (type2 == ";") return cont(forspec2);
|
|
768
|
-
if (value == "in" || value == "of") {
|
|
769
|
-
cx.marked = "keyword";
|
|
770
|
-
return cont(expression, forspec2);
|
|
771
|
-
}
|
|
772
|
-
return pass(expression, forspec2);
|
|
773
|
-
}
|
|
774
|
-
function functiondef(type2, value) {
|
|
775
|
-
if (value == "*") {
|
|
776
|
-
cx.marked = "keyword";
|
|
777
|
-
return cont(functiondef);
|
|
778
|
-
}
|
|
779
|
-
if (type2 == "variable") {
|
|
780
|
-
register(value);
|
|
781
|
-
return cont(functiondef);
|
|
782
|
-
}
|
|
783
|
-
if (type2 == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, statement, popcontext);
|
|
784
|
-
if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondef);
|
|
785
|
-
}
|
|
786
|
-
function functiondecl(type2, value) {
|
|
787
|
-
if (value == "*") {
|
|
788
|
-
cx.marked = "keyword";
|
|
789
|
-
return cont(functiondecl);
|
|
790
|
-
}
|
|
791
|
-
if (type2 == "variable") {
|
|
792
|
-
register(value);
|
|
793
|
-
return cont(functiondecl);
|
|
794
|
-
}
|
|
795
|
-
if (type2 == "(") return cont(pushcontext, pushlex(")"), commasep(funarg, ")"), poplex, mayberettype, popcontext);
|
|
796
|
-
if (isTS && value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, functiondecl);
|
|
797
|
-
}
|
|
798
|
-
function typename(type2, value) {
|
|
799
|
-
if (type2 == "keyword" || type2 == "variable") {
|
|
800
|
-
cx.marked = "type";
|
|
801
|
-
return cont(typename);
|
|
802
|
-
} else if (value == "<") {
|
|
803
|
-
return cont(pushlex(">"), commasep(typeparam, ">"), poplex);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
function funarg(type2, value) {
|
|
807
|
-
if (value == "@") cont(expression, funarg);
|
|
808
|
-
if (type2 == "spread") return cont(funarg);
|
|
809
|
-
if (isTS && isModifier(value)) {
|
|
810
|
-
cx.marked = "keyword";
|
|
811
|
-
return cont(funarg);
|
|
812
|
-
}
|
|
813
|
-
if (isTS && type2 == "this") return cont(maybetype, maybeAssign);
|
|
814
|
-
return pass(pattern, maybetype, maybeAssign);
|
|
815
|
-
}
|
|
816
|
-
function classExpression(type2, value) {
|
|
817
|
-
if (type2 == "variable") return className(type2, value);
|
|
818
|
-
return classNameAfter(type2, value);
|
|
819
|
-
}
|
|
820
|
-
function className(type2, value) {
|
|
821
|
-
if (type2 == "variable") {
|
|
822
|
-
register(value);
|
|
823
|
-
return cont(classNameAfter);
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
function classNameAfter(type2, value) {
|
|
827
|
-
if (value == "<") return cont(pushlex(">"), commasep(typeparam, ">"), poplex, classNameAfter);
|
|
828
|
-
if (value == "extends" || value == "implements" || isTS && type2 == ",") {
|
|
829
|
-
if (value == "implements") cx.marked = "keyword";
|
|
830
|
-
return cont(isTS ? typeexpr : expression, classNameAfter);
|
|
831
|
-
}
|
|
832
|
-
if (type2 == "{") return cont(pushlex("}"), classBody, poplex);
|
|
833
|
-
}
|
|
834
|
-
function classBody(type2, value) {
|
|
835
|
-
if (type2 == "async" || type2 == "variable" && (value == "static" || value == "get" || value == "set" || isTS && isModifier(value)) && cx.stream.match(/^\s+#?[\w$\xa1-\uffff]/, false)) {
|
|
836
|
-
cx.marked = "keyword";
|
|
837
|
-
return cont(classBody);
|
|
838
|
-
}
|
|
839
|
-
if (type2 == "variable" || cx.style == "keyword") {
|
|
840
|
-
cx.marked = "property";
|
|
841
|
-
return cont(classfield, classBody);
|
|
842
|
-
}
|
|
843
|
-
if (type2 == "number" || type2 == "string") return cont(classfield, classBody);
|
|
844
|
-
if (type2 == "[")
|
|
845
|
-
return cont(expression, maybetype, expect("]"), classfield, classBody);
|
|
846
|
-
if (value == "*") {
|
|
847
|
-
cx.marked = "keyword";
|
|
848
|
-
return cont(classBody);
|
|
849
|
-
}
|
|
850
|
-
if (isTS && type2 == "(") return pass(functiondecl, classBody);
|
|
851
|
-
if (type2 == ";" || type2 == ",") return cont(classBody);
|
|
852
|
-
if (type2 == "}") return cont();
|
|
853
|
-
if (value == "@") return cont(expression, classBody);
|
|
854
|
-
}
|
|
855
|
-
function classfield(type2, value) {
|
|
856
|
-
if (value == "!" || value == "?") return cont(classfield);
|
|
857
|
-
if (type2 == ":") return cont(typeexpr, maybeAssign);
|
|
858
|
-
if (value == "=") return cont(expressionNoComma);
|
|
859
|
-
var context = cx.state.lexical.prev, isInterface = context && context.info == "interface";
|
|
860
|
-
return pass(isInterface ? functiondecl : functiondef);
|
|
861
|
-
}
|
|
862
|
-
function afterExport(type2, value) {
|
|
863
|
-
if (value == "*") {
|
|
864
|
-
cx.marked = "keyword";
|
|
865
|
-
return cont(maybeFrom, expect(";"));
|
|
866
|
-
}
|
|
867
|
-
if (value == "default") {
|
|
868
|
-
cx.marked = "keyword";
|
|
869
|
-
return cont(expression, expect(";"));
|
|
870
|
-
}
|
|
871
|
-
if (type2 == "{") return cont(commasep(exportField, "}"), maybeFrom, expect(";"));
|
|
872
|
-
return pass(statement);
|
|
873
|
-
}
|
|
874
|
-
function exportField(type2, value) {
|
|
875
|
-
if (value == "as") {
|
|
876
|
-
cx.marked = "keyword";
|
|
877
|
-
return cont(expect("variable"));
|
|
878
|
-
}
|
|
879
|
-
if (type2 == "variable") return pass(expressionNoComma, exportField);
|
|
880
|
-
}
|
|
881
|
-
function afterImport(type2) {
|
|
882
|
-
if (type2 == "string") return cont();
|
|
883
|
-
if (type2 == "(") return pass(expression);
|
|
884
|
-
if (type2 == ".") return pass(maybeoperatorComma);
|
|
885
|
-
return pass(importSpec, maybeMoreImports, maybeFrom);
|
|
886
|
-
}
|
|
887
|
-
function importSpec(type2, value) {
|
|
888
|
-
if (type2 == "{") return contCommasep(importSpec, "}");
|
|
889
|
-
if (type2 == "variable") register(value);
|
|
890
|
-
if (value == "*") cx.marked = "keyword";
|
|
891
|
-
return cont(maybeAs);
|
|
892
|
-
}
|
|
893
|
-
function maybeMoreImports(type2) {
|
|
894
|
-
if (type2 == ",") return cont(importSpec, maybeMoreImports);
|
|
895
|
-
}
|
|
896
|
-
function maybeAs(_type, value) {
|
|
897
|
-
if (value == "as") {
|
|
898
|
-
cx.marked = "keyword";
|
|
899
|
-
return cont(importSpec);
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
function maybeFrom(_type, value) {
|
|
903
|
-
if (value == "from") {
|
|
904
|
-
cx.marked = "keyword";
|
|
905
|
-
return cont(expression);
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
function arrayLiteral(type2) {
|
|
909
|
-
if (type2 == "]") return cont();
|
|
910
|
-
return pass(commasep(expressionNoComma, "]"));
|
|
911
|
-
}
|
|
912
|
-
function enumdef() {
|
|
913
|
-
return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex);
|
|
914
|
-
}
|
|
915
|
-
function enummember() {
|
|
916
|
-
return pass(pattern, maybeAssign);
|
|
917
|
-
}
|
|
918
|
-
function isContinuedStatement(state, textAfter) {
|
|
919
|
-
return state.lastType == "operator" || state.lastType == "," || isOperatorChar.test(textAfter.charAt(0)) || /[,.]/.test(textAfter.charAt(0));
|
|
920
|
-
}
|
|
921
|
-
function expressionAllowed(stream, state, backUp) {
|
|
922
|
-
return state.tokenize == tokenBase && /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(state.lastType) || state.lastType == "quasi" && /\{\s*$/.test(stream.string.slice(0, stream.pos - backUp));
|
|
923
|
-
}
|
|
924
|
-
return {
|
|
925
|
-
name: parserConfig.name,
|
|
926
|
-
startState: function(indentUnit) {
|
|
927
|
-
var state = {
|
|
928
|
-
tokenize: tokenBase,
|
|
929
|
-
lastType: "sof",
|
|
930
|
-
cc: [],
|
|
931
|
-
lexical: new JSLexical(-indentUnit, 0, "block", false),
|
|
932
|
-
localVars: parserConfig.localVars,
|
|
933
|
-
context: parserConfig.localVars && new Context(null, null, false),
|
|
934
|
-
indented: 0
|
|
935
|
-
};
|
|
936
|
-
if (parserConfig.globalVars && typeof parserConfig.globalVars == "object")
|
|
937
|
-
state.globalVars = parserConfig.globalVars;
|
|
938
|
-
return state;
|
|
939
|
-
},
|
|
940
|
-
token: function(stream, state) {
|
|
941
|
-
if (stream.sol()) {
|
|
942
|
-
if (!state.lexical.hasOwnProperty("align"))
|
|
943
|
-
state.lexical.align = false;
|
|
944
|
-
state.indented = stream.indentation();
|
|
945
|
-
findFatArrow(stream, state);
|
|
946
|
-
}
|
|
947
|
-
if (state.tokenize != tokenComment && stream.eatSpace()) return null;
|
|
948
|
-
var style = state.tokenize(stream, state);
|
|
949
|
-
if (type == "comment") return style;
|
|
950
|
-
state.lastType = type == "operator" && (content == "++" || content == "--") ? "incdec" : type;
|
|
951
|
-
return parseJS(state, style, type, content, stream);
|
|
952
|
-
},
|
|
953
|
-
indent: function(state, textAfter, cx2) {
|
|
954
|
-
if (state.tokenize == tokenComment || state.tokenize == tokenQuasi) return null;
|
|
955
|
-
if (state.tokenize != tokenBase) return 0;
|
|
956
|
-
var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, top;
|
|
957
|
-
if (!/^\s*else\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) {
|
|
958
|
-
var c = state.cc[i];
|
|
959
|
-
if (c == poplex) lexical = lexical.prev;
|
|
960
|
-
else if (c != maybeelse && c != popcontext) break;
|
|
961
|
-
}
|
|
962
|
-
while ((lexical.type == "stat" || lexical.type == "form") && (firstChar == "}" || (top = state.cc[state.cc.length - 1]) && (top == maybeoperatorComma || top == maybeoperatorNoComma) && !/^[,\.=+\-*:?[\(]/.test(textAfter)))
|
|
963
|
-
lexical = lexical.prev;
|
|
964
|
-
if (statementIndent && lexical.type == ")" && lexical.prev.type == "stat")
|
|
965
|
-
lexical = lexical.prev;
|
|
966
|
-
var type2 = lexical.type, closing = firstChar == type2;
|
|
967
|
-
if (type2 == "vardef") return lexical.indented + (state.lastType == "operator" || state.lastType == "," ? lexical.info.length + 1 : 0);
|
|
968
|
-
else if (type2 == "form" && firstChar == "{") return lexical.indented;
|
|
969
|
-
else if (type2 == "form") return lexical.indented + cx2.unit;
|
|
970
|
-
else if (type2 == "stat")
|
|
971
|
-
return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || cx2.unit : 0);
|
|
972
|
-
else if (lexical.info == "switch" && !closing && parserConfig.doubleIndentSwitch != false)
|
|
973
|
-
return lexical.indented + (/^(?:case|default)\b/.test(textAfter) ? cx2.unit : 2 * cx2.unit);
|
|
974
|
-
else if (lexical.align) return lexical.column + (closing ? 0 : 1);
|
|
975
|
-
else return lexical.indented + (closing ? 0 : cx2.unit);
|
|
976
|
-
},
|
|
977
|
-
languageData: {
|
|
978
|
-
indentOnInput: /^\s*(?:case .*?:|default:|\{|\})$/,
|
|
979
|
-
commentTokens: jsonMode ? void 0 : { line: "//", block: { open: "/*", close: "*/" } },
|
|
980
|
-
closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
|
|
981
|
-
wordChars: "$"
|
|
982
|
-
}
|
|
983
|
-
};
|
|
984
|
-
}
|
|
985
|
-
const javascript = mkJavaScript({ name: "javascript" });
|
|
986
|
-
const json = mkJavaScript({ name: "json", json: true });
|
|
987
|
-
const jsonld = mkJavaScript({ name: "json", jsonld: true });
|
|
988
|
-
const typescript = mkJavaScript({ name: "typescript", typescript: true });
|
|
989
|
-
export {
|
|
990
|
-
javascript,
|
|
991
|
-
json,
|
|
992
|
-
jsonld,
|
|
993
|
-
typescript
|
|
994
|
-
};
|