@vc-shell/framework 1.1.2 → 1.1.3
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/CHANGELOG.md +4 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BUuHEmgZ.js +620 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/css-bIlmDBTK.js +1560 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/{assets/dockerfile-D0MivFIF.js → dockerfile-DIy8NleC.js} +36 -41
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/factor-DDOC7X6P.js +65 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/framework.js +288 -29
- package/dist/gas-BdfkXJT_.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-Bvt3Qq1t.js +375 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/{assets/index-C7zlEJy8.js → index-B83didIY.js} +229 -302
- package/dist/{assets/index-BT8o9-M5.js → index-BKR3ecN5.js} +267 -386
- package/dist/{assets/index-B1srGfDb.js → index-BN-_cebP.js} +119 -165
- package/dist/index-BUHouW8T.js +249 -0
- package/dist/index-BW3krAiY.js +341 -0
- package/dist/index-C6tcHNVl.js +75 -0
- package/dist/index-CGyGGihY.js +538 -0
- package/dist/{assets/index-DMTL7O1s.js → index-CnQ56kqq.js} +570 -586
- package/dist/index-Cv6c_1IG.js +71 -0
- package/dist/{assets/index-CeeaNa4F.js → index-CxMfHOup.js} +136 -167
- package/dist/index-DRL7VovM.js +308 -0
- package/dist/index-Dfcy8w9c.js +58 -0
- package/dist/{assets/index-CtmpJVwa.js → index-DyGIijU2.js} +270 -312
- package/dist/index-Ek7_XgGk.js +98 -0
- package/dist/{assets/index-Bv_z_qRq.js → index-TSGli7LX.js} +121 -124
- package/dist/index-UnPPbmRc.js +145659 -0
- package/dist/{assets/index-BKF-A58l.js → index-xFQltarK.js} +79 -92
- package/dist/index.css +9 -18
- package/dist/javascript-WMWNx-Vj.js +690 -0
- package/dist/jinja2-DnB6dQmV.js +154 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-XplVlWi_.js +217 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nsis-fePjrhq7.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pug-BqUR2bBq.js +248 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-B5QdSKoL.js +313 -0
- package/dist/q-DXjKs-tC.js +83 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/ruby-CcYfvIk6.js +228 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/simple-mode-B0dvCdAA.js +89 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-mMre1Bo3.js +282 -0
- package/dist/stex-92raWT1r.js +129 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/toml-BHiuTcfn.js +49 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vbscript-Dz1TtKsy.js +324 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-C4VGD9n1.js +263 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-BUQdORAS.js +422 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/z80-C8rPtw-0.js +61 -0
- package/package.json +4 -4
- package/dist/assets/apl-NdZ6-T1z.js +0 -142
- package/dist/assets/asciiarmor-CmJEbAuq.js +0 -56
- package/dist/assets/asn1-Ctc8K72v.js +0 -192
- package/dist/assets/asterisk-D6r__RMF.js +0 -187
- package/dist/assets/brainfuck-COwWCBpq.js +0 -70
- package/dist/assets/clike-C-PtfL50.js +0 -1019
- package/dist/assets/clojure-C2XPrGCa.js +0 -274
- package/dist/assets/cmake-BGrEgXCL.js +0 -81
- package/dist/assets/cobol-DShPmpZe.js +0 -234
- package/dist/assets/coffeescript-BG8vTfSz.js +0 -329
- package/dist/assets/commonlisp-8oE2EpEe.js +0 -108
- package/dist/assets/core-api-BMLS9FrT.js +0 -8288
- package/dist/assets/core-composables-DYxpIWyY.js +0 -1799
- package/dist/assets/core-constants-DiKDBbnD.js +0 -83
- package/dist/assets/core-directives-QhJx9kWh.js +0 -41
- package/dist/assets/core-interceptors-CSjUvxQ0.js +0 -78
- package/dist/assets/core-plugins-wv2bDZ0l.js +0 -4919
- package/dist/assets/core-services-CAfJRsjs.js +0 -4
- package/dist/assets/core-utilities-BTktq_a-.js +0 -33
- package/dist/assets/crystal--rIRMl16.js +0 -419
- package/dist/assets/css/core-directives-FL4vIIkN.css +0 -73
- package/dist/assets/css/fonts-M1mtyV8L.css +0 -305
- package/dist/assets/css/icons-css-DbCVsovz.css +0 -41
- package/dist/assets/css/shared-components-bnLHdCtf.css +0 -429
- package/dist/assets/css/shared-modules-CNOICmYQ.css +0 -45
- package/dist/assets/css/styles-C62nDZwV.css +0 -4096
- package/dist/assets/css/ui-app-Bh9hmlIB.css +0 -1287
- package/dist/assets/css/ui-content-B29jsmK7.css +0 -1187
- package/dist/assets/css/ui-controls-CRtfFczw.css +0 -387
- package/dist/assets/css/ui-data-CYLxfdUa.css +0 -1555
- package/dist/assets/css/ui-form-C3WrWfVl.css +0 -71
- package/dist/assets/css/ui-form-fields-DOtHhDeM.css +0 -1360
- package/dist/assets/css/ui-helpers-bOoNv5dS.css +0 -37
- package/dist/assets/css/ui-indicators-CybQnCoU.css +0 -628
- package/dist/assets/css/ui-layout-DyGKgizy.css +0 -251
- package/dist/assets/css/ui-media-TWYep8js.css +0 -298
- package/dist/assets/css/ui-media-advanced-BGxy3VSB.css +0 -183
- package/dist/assets/css/ui-navigation-DcPRn8SB.css +0 -1693
- package/dist/assets/css-C_ZeEwz2.js +0 -847
- package/dist/assets/cypher-Bayei42D.js +0 -122
- package/dist/assets/d-B0hhz6be.js +0 -205
- package/dist/assets/diff-DQutOIXs.js +0 -30
- package/dist/assets/dtd-C1CeYVnM.js +0 -121
- package/dist/assets/dylan-Dm9-uD-A.js +0 -337
- package/dist/assets/ebnf-jWG_1Yly.js +0 -151
- package/dist/assets/ecl-CgJPA6z9.js +0 -190
- package/dist/assets/eiffel-lj7uLahq.js +0 -146
- package/dist/assets/elm-Cz7o1ijk.js +0 -230
- package/dist/assets/erlang-CyL5QOyR.js +0 -581
- package/dist/assets/factor-BVWHwYpu.js +0 -65
- package/dist/assets/fcl-DiozYjc8.js +0 -154
- package/dist/assets/forth-B7vn5ze0.js +0 -164
- package/dist/assets/fortran-D2XNEnBT.js +0 -172
- package/dist/assets/gas-B_Tj57Ve.js +0 -343
- package/dist/assets/gherkin-CJ6Qk4EZ.js +0 -147
- package/dist/assets/groovy-ioGz2WSV.js +0 -228
- package/dist/assets/haskell-BHnm1B83.js +0 -239
- package/dist/assets/haxe-Bn6Yo6N3.js +0 -490
- package/dist/assets/http-BOd5SYCT.js +0 -89
- package/dist/assets/idl-FSFk8_xX.js +0 -274
- package/dist/assets/index--5fKpGeN.js +0 -792
- package/dist/assets/index-0lME64YH.js +0 -342
- package/dist/assets/index-B6Ip0FgO.js +0 -437
- package/dist/assets/index-BmV05E5M.js +0 -479
- package/dist/assets/index-C6MavZDA.js +0 -131
- package/dist/assets/index-CwKpgcYl.js +0 -85
- package/dist/assets/index-DRUmDL0J.js +0 -59
- package/dist/assets/index-DgFC-M9G.js +0 -96
- package/dist/assets/javascript-DGrAs70C.js +0 -922
- package/dist/assets/jinja2-D9k5QrXv.js +0 -171
- package/dist/assets/julia-DM42tOPB.js +0 -369
- package/dist/assets/livescript-Dci8HnOi.js +0 -259
- package/dist/assets/lua-CByQu4v6.js +0 -137
- package/dist/assets/lucide-icons-af0BY3bi.js +0 -34555
- package/dist/assets/mathematica-Dkv0uCYF.js +0 -153
- package/dist/assets/mbox-CYTvs5kC.js +0 -114
- package/dist/assets/mirc-DpgP3GCo.js +0 -176
- package/dist/assets/mllike-C6tNn2Yt.js +0 -343
- package/dist/assets/modelica-CR6hTSce.js +0 -192
- package/dist/assets/mscgen-D0GXtzMS.js +0 -149
- package/dist/assets/mumps-Bf1EyDa6.js +0 -129
- package/dist/assets/nginx-By9Phklj.js +0 -163
- package/dist/assets/nsis-B5ggMLQ9.js +0 -80
- package/dist/assets/ntriples-C7VJ7pnm.js +0 -141
- package/dist/assets/octave-6yR_ix15.js +0 -112
- package/dist/assets/oz-CEUnktiQ.js +0 -235
- package/dist/assets/pascal-Dksf1EyF.js +0 -124
- package/dist/assets/perl-B99DUQQt.js +0 -819
- package/dist/assets/pig-DFeDRta6.js +0 -149
- package/dist/assets/powershell-DhwsNWMx.js +0 -381
- package/dist/assets/properties-o21uErwC.js +0 -62
- package/dist/assets/protobuf-YxlANsmD.js +0 -54
- package/dist/assets/pug-bUgjeODZ.js +0 -504
- package/dist/assets/puppet-B8WICGYE.js +0 -205
- package/dist/assets/python-D3FFx1Id.js +0 -389
- package/dist/assets/q-D2Hjhl2C.js +0 -123
- package/dist/assets/r-D73k5lac.js +0 -174
- package/dist/assets/rpm-Duv_WH0z.js +0 -89
- package/dist/assets/ruby-DGCVqZDt.js +0 -287
- package/dist/assets/sas-XjPv1Vy5.js +0 -268
- package/dist/assets/scheme-DeaA28vt.js +0 -263
- package/dist/assets/shared-components-CfAt2hC6.js +0 -1501
- package/dist/assets/shared-composables-v9NkNuAe.js +0 -35
- package/dist/assets/shared-modules-CDP-H5ZB.js +0 -3588
- package/dist/assets/shared-pages-BGRRA5WB.js +0 -20
- package/dist/assets/shell-Bx6QZTgx.js +0 -145
- package/dist/assets/sieve-CWCD62sW.js +0 -178
- package/dist/assets/simple-mode-BAO9cD7H.js +0 -136
- package/dist/assets/smalltalk-DSQbF4MF.js +0 -153
- package/dist/assets/solr-v_XRf31C.js +0 -80
- package/dist/assets/sparql-BrfDqf0-.js +0 -170
- package/dist/assets/spreadsheet-Csn84Pef.js +0 -98
- package/dist/assets/sql-D4utlq1l.js +0 -480
- package/dist/assets/stex-DBkktma-.js +0 -246
- package/dist/assets/stylus-ByG-Fd6f.js +0 -750
- package/dist/assets/swift-CHbTprt3.js +0 -202
- package/dist/assets/tcl-BRlMUELr.js +0 -125
- package/dist/assets/textile-CqfTUjd4.js +0 -441
- package/dist/assets/tiddlywiki-BrsoM8KB.js +0 -278
- package/dist/assets/tiki-D-ivWPkc.js +0 -289
- package/dist/assets/toml-t_IhJu83.js +0 -75
- package/dist/assets/troff-DckGF2AE.js +0 -64
- package/dist/assets/ttcn-B8TAFbRR.js +0 -253
- package/dist/assets/ttcn-cfg-NHh25oCM.js +0 -197
- package/dist/assets/turtle-D9Js0BlL.js +0 -141
- package/dist/assets/ui-app-D31Pr1WY.js +0 -1993
- package/dist/assets/ui-content-B7SxH8y9.js +0 -52887
- package/dist/assets/ui-controls-nmDJYLmC.js +0 -348
- package/dist/assets/ui-data-Ci3b1ye0.js +0 -22901
- package/dist/assets/ui-form-Cs5ooOo7.js +0 -159
- package/dist/assets/ui-form-fields-DFQi31jT.js +0 -40575
- package/dist/assets/ui-helpers-CF-EUlOg.js +0 -1736
- package/dist/assets/ui-indicators-mIQeEqha.js +0 -199
- package/dist/assets/ui-layout-v2XBQky3.js +0 -320
- package/dist/assets/ui-media-WWYrwmZw.js +0 -1259
- package/dist/assets/ui-media-advanced-T8ibi153.js +0 -492
- package/dist/assets/ui-modals-BdZXzI85.js +0 -2
- package/dist/assets/ui-navigation-BtHa6ovW.js +0 -24269
- package/dist/assets/utils-DZK5fu48.js +0 -17216
- package/dist/assets/vb-CbIGLrpY.js +0 -249
- package/dist/assets/vbscript-8ANWle9n.js +0 -320
- package/dist/assets/velocity-D6hz3Hzw.js +0 -186
- package/dist/assets/verilog-DIV442at.js +0 -565
- package/dist/assets/vhdl-BlTiZo_v.js +0 -174
- package/dist/assets/vueuse-CTQm4Zh0.js +0 -9308
- package/dist/assets/webidl-Cp3tcqdk.js +0 -179
- package/dist/assets/xquery-Dd4TBzXv.js +0 -411
- package/dist/assets/yacas-DQ1WucF0.js +0 -182
- package/dist/assets/z80-P1j44jDI.js +0 -102
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createElementVNode, renderSlot, createCommentVNode, normalizeStyle, toDisplayString, Fragment, renderList, createBlock, unref } from 'vue';
|
|
2
|
-
import { _ as _sfc_main$5 } from './ui-media-WWYrwmZw.js';
|
|
3
|
-
import './ui-controls-nmDJYLmC.js';
|
|
4
|
-
import './ui-layout-v2XBQky3.js';
|
|
5
|
-
import './ui-helpers-CF-EUlOg.js';
|
|
6
|
-
import './ui-navigation-BtHa6ovW.js';
|
|
7
|
-
import './core-composables-DYxpIWyY.js';
|
|
8
|
-
import './ui-app-D31Pr1WY.js';
|
|
9
|
-
import 'vee-validate';
|
|
10
|
-
import './ui-content-B7SxH8y9.js';
|
|
11
|
-
import './ui-form-Cs5ooOo7.js';
|
|
12
|
-
import './ui-form-fields-DFQi31jT.js';
|
|
13
|
-
import './shared-composables-v9NkNuAe.js';
|
|
14
|
-
import './core-plugins-wv2bDZ0l.js';
|
|
15
|
-
import 'vue-router';
|
|
16
|
-
import './shared-components-CfAt2hC6.js';
|
|
17
|
-
import './shared-modules-CDP-H5ZB.js';
|
|
18
|
-
import './ui-data-Ci3b1ye0.js';
|
|
19
|
-
import './ui-media-advanced-T8ibi153.js';
|
|
20
|
-
|
|
21
|
-
const _hoisted_1$3 = { class: "vc-badge__content" };
|
|
22
|
-
const _hoisted_2$1 = {
|
|
23
|
-
key: 0,
|
|
24
|
-
class: "vc-badge__text"
|
|
25
|
-
};
|
|
26
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
27
|
-
__name: "vc-badge",
|
|
28
|
-
props: {
|
|
29
|
-
active: { type: Boolean },
|
|
30
|
-
disabled: { type: Boolean },
|
|
31
|
-
clickable: { type: Boolean },
|
|
32
|
-
content: {},
|
|
33
|
-
size: { default: "m" },
|
|
34
|
-
isDot: { type: Boolean, default: false },
|
|
35
|
-
variant: { default: "primary" },
|
|
36
|
-
customPosition: { type: Boolean, default: false },
|
|
37
|
-
top: { default: void 0 },
|
|
38
|
-
right: { default: void 0 }
|
|
39
|
-
},
|
|
40
|
-
emits: ["click"],
|
|
41
|
-
setup(__props, { emit: __emit }) {
|
|
42
|
-
const props = __props;
|
|
43
|
-
const emit = __emit;
|
|
44
|
-
function onClick() {
|
|
45
|
-
if (props.clickable && !props.disabled) {
|
|
46
|
-
emit("click");
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
const customPositionStyle = computed(() => {
|
|
50
|
-
if (!props.customPosition) return {};
|
|
51
|
-
return {
|
|
52
|
-
top: props.top,
|
|
53
|
-
right: props.right
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
|
-
return (_ctx, _cache) => {
|
|
57
|
-
return openBlock(), createElementBlock("div", {
|
|
58
|
-
ref: "badgeContainer",
|
|
59
|
-
class: normalizeClass(["vc-badge", {
|
|
60
|
-
"vc-badge--small": _ctx.size === "s",
|
|
61
|
-
"vc-badge--medium": _ctx.size === "m"
|
|
62
|
-
}])
|
|
63
|
-
}, [
|
|
64
|
-
createElementVNode("div", _hoisted_1$3, [
|
|
65
|
-
renderSlot(_ctx.$slots, "default"),
|
|
66
|
-
typeof _ctx.content !== "undefined" ? (openBlock(), createElementBlock("div", {
|
|
67
|
-
key: 0,
|
|
68
|
-
ref: "badge",
|
|
69
|
-
class: normalizeClass(["vc-badge__badge", [
|
|
70
|
-
`vc-badge__badge--${_ctx.variant}`,
|
|
71
|
-
{
|
|
72
|
-
"vc-badge__badge--active": _ctx.active,
|
|
73
|
-
"vc-badge__badge--clickable": _ctx.clickable,
|
|
74
|
-
"vc-badge__badge--disabled": _ctx.disabled,
|
|
75
|
-
"vc-badge__badge--content-long": String(_ctx.content).length > 1,
|
|
76
|
-
"vc-badge__badge--content-very-long": String(_ctx.content).length > 2,
|
|
77
|
-
"vc-badge__badge--dot": _ctx.isDot,
|
|
78
|
-
"vc-badge__badge--custom-position": _ctx.customPosition
|
|
79
|
-
}
|
|
80
|
-
]]),
|
|
81
|
-
style: normalizeStyle(customPositionStyle.value),
|
|
82
|
-
onClick
|
|
83
|
-
}, [
|
|
84
|
-
!_ctx.isDot ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(_ctx.content), 1)) : createCommentVNode("", true)
|
|
85
|
-
], 6)) : createCommentVNode("", true)
|
|
86
|
-
])
|
|
87
|
-
], 2);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
const _hoisted_1$2 = { class: "vc-loading-overlay__content" };
|
|
93
|
-
const _hoisted_2 = { class: "vc-loading-overlay__markers" };
|
|
94
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
95
|
-
__name: "vc-loading",
|
|
96
|
-
props: {
|
|
97
|
-
active: { type: Boolean }
|
|
98
|
-
},
|
|
99
|
-
setup(__props) {
|
|
100
|
-
return (_ctx, _cache) => {
|
|
101
|
-
return openBlock(), createElementBlock("div", {
|
|
102
|
-
class: normalizeClass(["vc-loading-overlay", {
|
|
103
|
-
"vc-loading-overlay--active": _ctx.active
|
|
104
|
-
}])
|
|
105
|
-
}, [
|
|
106
|
-
createElementVNode("div", _hoisted_1$2, [
|
|
107
|
-
_cache[0] || (_cache[0] = createElementVNode("span", { class: "vc-loading-overlay__main-marker" }, null, -1)),
|
|
108
|
-
createElementVNode("div", _hoisted_2, [
|
|
109
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(3, (item) => {
|
|
110
|
-
return createElementVNode("span", {
|
|
111
|
-
key: `marker_${item}`,
|
|
112
|
-
class: "vc-loading-overlay__marker"
|
|
113
|
-
});
|
|
114
|
-
}), 64))
|
|
115
|
-
])
|
|
116
|
-
])
|
|
117
|
-
], 2);
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
|
|
122
|
-
const VcLoading = _sfc_main$3;
|
|
123
|
-
|
|
124
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
125
|
-
__name: "vc-progress",
|
|
126
|
-
props: {
|
|
127
|
-
value: { default: 0 },
|
|
128
|
-
variant: { default: "default" }
|
|
129
|
-
},
|
|
130
|
-
setup(__props) {
|
|
131
|
-
return (_ctx, _cache) => {
|
|
132
|
-
return openBlock(), createElementBlock("div", {
|
|
133
|
-
class: normalizeClass(["vc-progress", {
|
|
134
|
-
"vc-progress--striped": _ctx.variant === "striped"
|
|
135
|
-
}])
|
|
136
|
-
}, [
|
|
137
|
-
createElementVNode("div", {
|
|
138
|
-
class: "vc-progress__value",
|
|
139
|
-
style: normalizeStyle(`width: ${_ctx.value}%`)
|
|
140
|
-
}, null, 4)
|
|
141
|
-
], 2);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
const VcProgress = _sfc_main$2;
|
|
147
|
-
|
|
148
|
-
const _hoisted_1$1 = { class: "vc-status__content" };
|
|
149
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
150
|
-
__name: "vc-status",
|
|
151
|
-
props: {
|
|
152
|
-
variant: { default: "info" },
|
|
153
|
-
outline: { type: Boolean, default: false },
|
|
154
|
-
extend: { type: Boolean },
|
|
155
|
-
dot: { type: Boolean, default: false }
|
|
156
|
-
},
|
|
157
|
-
setup(__props) {
|
|
158
|
-
return (_ctx, _cache) => {
|
|
159
|
-
return openBlock(), createElementBlock("div", {
|
|
160
|
-
class: normalizeClass(["vc-status", [
|
|
161
|
-
`vc-status_${_ctx.variant}`,
|
|
162
|
-
{
|
|
163
|
-
"vc-status_extended": _ctx.extend,
|
|
164
|
-
"vc-status_dot": _ctx.dot
|
|
165
|
-
}
|
|
166
|
-
]])
|
|
167
|
-
}, [
|
|
168
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
169
|
-
renderSlot(_ctx.$slots, "default")
|
|
170
|
-
])
|
|
171
|
-
], 2);
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
|
|
176
|
-
const _hoisted_1 = { class: "vc-status-icon" };
|
|
177
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
178
|
-
__name: "vc-status-icon",
|
|
179
|
-
props: {
|
|
180
|
-
status: { type: Boolean }
|
|
181
|
-
},
|
|
182
|
-
setup(__props) {
|
|
183
|
-
return (_ctx, _cache) => {
|
|
184
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
185
|
-
_ctx.status ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
186
|
-
key: 0,
|
|
187
|
-
icon: "material-check_circle",
|
|
188
|
-
class: "vc-status-icon__icon vc-status-icon__icon--success"
|
|
189
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
190
|
-
key: 1,
|
|
191
|
-
icon: "material-cancel",
|
|
192
|
-
class: "vc-status-icon__icon vc-status-icon__icon--info"
|
|
193
|
-
}))
|
|
194
|
-
]);
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
|
|
199
|
-
export { VcLoading as V, _sfc_main$4 as _, VcProgress as a, _sfc_main$1 as b, _sfc_main as c };
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, createCommentVNode, createVNode, renderSlot, createBlock, createElementVNode, unref, toDisplayString, Transition, withCtx, withDirectives, vShow, normalizeStyle, shallowRef, inject, computed, onMounted, getCurrentInstance, resolveComponent } from 'vue';
|
|
2
|
-
import { _ as _sfc_main$5 } from './ui-media-WWYrwmZw.js';
|
|
3
|
-
import { u as useWidgets } from './ui-navigation-BtHa6ovW.js';
|
|
4
|
-
import './core-composables-DYxpIWyY.js';
|
|
5
|
-
import './ui-app-D31Pr1WY.js';
|
|
6
|
-
import 'vee-validate';
|
|
7
|
-
|
|
8
|
-
const _hoisted_1$3 = { class: "vc-card__header-content" };
|
|
9
|
-
const _hoisted_2$2 = { class: "vc-card__title" };
|
|
10
|
-
const _hoisted_3$2 = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "vc-card__actions"
|
|
13
|
-
};
|
|
14
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
15
|
-
__name: "vc-card",
|
|
16
|
-
props: {
|
|
17
|
-
header: {},
|
|
18
|
-
icon: {},
|
|
19
|
-
isCollapsable: { type: Boolean },
|
|
20
|
-
isCollapsed: { type: Boolean },
|
|
21
|
-
fill: { type: Boolean },
|
|
22
|
-
variant: { default: "default" }
|
|
23
|
-
},
|
|
24
|
-
emits: ["header:click", "state:collapsed"],
|
|
25
|
-
setup(__props, { emit: __emit }) {
|
|
26
|
-
const props = __props;
|
|
27
|
-
const emit = __emit;
|
|
28
|
-
const isCollapsedInternal = ref();
|
|
29
|
-
function onHeaderClick() {
|
|
30
|
-
if (props.isCollapsable) {
|
|
31
|
-
isCollapsedInternal.value = !isCollapsedInternal.value;
|
|
32
|
-
emit("state:collapsed", isCollapsedInternal.value);
|
|
33
|
-
}
|
|
34
|
-
emit("header:click");
|
|
35
|
-
}
|
|
36
|
-
watch(
|
|
37
|
-
() => props.isCollapsed,
|
|
38
|
-
(value) => {
|
|
39
|
-
isCollapsedInternal.value = value;
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
immediate: true
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
return (_ctx, _cache) => {
|
|
46
|
-
return openBlock(), createElementBlock("div", {
|
|
47
|
-
class: normalizeClass(["vc-card", [{ "vc-card_collapsable": _ctx.isCollapsable }, `vc-card_${_ctx.variant}`]])
|
|
48
|
-
}, [
|
|
49
|
-
_ctx.header ? (openBlock(), createElementBlock("div", {
|
|
50
|
-
key: 0,
|
|
51
|
-
class: "vc-card__header",
|
|
52
|
-
onClick: onHeaderClick
|
|
53
|
-
}, [
|
|
54
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
55
|
-
createElementVNode("div", _hoisted_1$3, [
|
|
56
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
57
|
-
key: 0,
|
|
58
|
-
class: "vc-card__icon",
|
|
59
|
-
icon: _ctx.icon,
|
|
60
|
-
size: "xl"
|
|
61
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
62
|
-
createElementVNode("div", _hoisted_2$2, toDisplayString(_ctx.header), 1)
|
|
63
|
-
])
|
|
64
|
-
]),
|
|
65
|
-
_ctx.$slots["actions"] ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
66
|
-
renderSlot(_ctx.$slots, "actions")
|
|
67
|
-
])) : createCommentVNode("", true),
|
|
68
|
-
_ctx.isCollapsable ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
69
|
-
key: 1,
|
|
70
|
-
class: "vc-card__collapse",
|
|
71
|
-
icon: `material-keyboard_arrow_${isCollapsedInternal.value ? "down" : "up"}`,
|
|
72
|
-
size: "s"
|
|
73
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
74
|
-
])) : createCommentVNode("", true),
|
|
75
|
-
createVNode(Transition, { name: "fade" }, {
|
|
76
|
-
default: withCtx(() => [
|
|
77
|
-
withDirectives(createElementVNode("div", {
|
|
78
|
-
class: normalizeClass([{ "tw-flex": _ctx.fill }, "vc-card__body"])
|
|
79
|
-
}, [
|
|
80
|
-
renderSlot(_ctx.$slots, "default")
|
|
81
|
-
], 2), [
|
|
82
|
-
[vShow, !isCollapsedInternal.value]
|
|
83
|
-
])
|
|
84
|
-
]),
|
|
85
|
-
_: 3
|
|
86
|
-
})
|
|
87
|
-
], 2);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
const VcCard = _sfc_main$4;
|
|
93
|
-
|
|
94
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
95
|
-
__name: "vc-col",
|
|
96
|
-
props: {
|
|
97
|
-
size: { default: 1 }
|
|
98
|
-
},
|
|
99
|
-
setup(__props) {
|
|
100
|
-
return (_ctx, _cache) => {
|
|
101
|
-
return openBlock(), createElementBlock("div", {
|
|
102
|
-
class: "vc-col",
|
|
103
|
-
style: normalizeStyle({ flexGrow: _ctx.size })
|
|
104
|
-
}, [
|
|
105
|
-
renderSlot(_ctx.$slots, "default")
|
|
106
|
-
], 4);
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
const _hoisted_1$2 = { class: "vc-container__status" };
|
|
112
|
-
const _hoisted_2$1 = { key: 0 };
|
|
113
|
-
const _hoisted_3$1 = { key: 1 };
|
|
114
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
115
|
-
__name: "vc-container",
|
|
116
|
-
props: {
|
|
117
|
-
shadow: { type: Boolean },
|
|
118
|
-
noPadding: { type: Boolean },
|
|
119
|
-
usePtr: { type: Boolean }
|
|
120
|
-
},
|
|
121
|
-
emits: ["scroll:ptr", "scroll"],
|
|
122
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
123
|
-
const props = __props;
|
|
124
|
-
const emit = __emit;
|
|
125
|
-
const component = ref();
|
|
126
|
-
const scroll = ref(false);
|
|
127
|
-
const pullDist = ref(60);
|
|
128
|
-
const touchDiff = shallowRef(0);
|
|
129
|
-
let touchstartY = 0;
|
|
130
|
-
const refreshing = shallowRef(false);
|
|
131
|
-
const goingUp = shallowRef(false);
|
|
132
|
-
const touching = shallowRef(false);
|
|
133
|
-
const isMobile = inject("isMobile");
|
|
134
|
-
const topOffset = computed(() => Math.max(0, Math.min(pullDist.value, touchDiff.value)));
|
|
135
|
-
const canRefresh = computed(() => touchDiff.value >= pullDist.value && !refreshing.value);
|
|
136
|
-
const scrollTop = () => {
|
|
137
|
-
if (component.value) {
|
|
138
|
-
component.value.scroll(0, 0);
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
function onTouchstart(e) {
|
|
142
|
-
if (!isMobile.value || refreshing.value || !props.usePtr || component.value && component.value.scrollTop > 0)
|
|
143
|
-
return;
|
|
144
|
-
touching.value = true;
|
|
145
|
-
touchstartY = "clientY" in e ? e.clientY : e.touches[0].clientY;
|
|
146
|
-
}
|
|
147
|
-
function onTouchmove(e) {
|
|
148
|
-
if (refreshing.value || !touching.value) return;
|
|
149
|
-
const touchY = "clientY" in e ? e.clientY : e.touches[0].clientY;
|
|
150
|
-
if (component.value && component.value.scrollTop === 0) {
|
|
151
|
-
touchDiff.value = touchY - touchstartY;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
function onTouchend() {
|
|
155
|
-
if (refreshing.value) return;
|
|
156
|
-
touching.value = false;
|
|
157
|
-
if (canRefresh.value) {
|
|
158
|
-
touchDiff.value = 0;
|
|
159
|
-
refreshing.value = true;
|
|
160
|
-
emit("scroll:ptr");
|
|
161
|
-
refreshing.value = false;
|
|
162
|
-
} else {
|
|
163
|
-
touchDiff.value = 0;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
function onScroll(e) {
|
|
167
|
-
emit("scroll", e);
|
|
168
|
-
}
|
|
169
|
-
onMounted(() => {
|
|
170
|
-
const observer = new ResizeObserver(() => {
|
|
171
|
-
scroll.value = component.value && component.value.clientHeight < component.value.scrollHeight;
|
|
172
|
-
});
|
|
173
|
-
if (component.value) {
|
|
174
|
-
observer.observe(component.value);
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
watch(topOffset, (newVal, oldVal) => {
|
|
178
|
-
goingUp.value = newVal < oldVal;
|
|
179
|
-
});
|
|
180
|
-
__expose({
|
|
181
|
-
scrollTop,
|
|
182
|
-
component
|
|
183
|
-
});
|
|
184
|
-
return (_ctx, _cache) => {
|
|
185
|
-
return openBlock(), createElementBlock("div", {
|
|
186
|
-
class: normalizeClass([
|
|
187
|
-
"vc-container",
|
|
188
|
-
{
|
|
189
|
-
"vc-container_shadow": _ctx.shadow && scroll.value,
|
|
190
|
-
"vc-container_nopadding": _ctx.noPadding
|
|
191
|
-
}
|
|
192
|
-
]),
|
|
193
|
-
onTouchstart,
|
|
194
|
-
onTouchmove,
|
|
195
|
-
onTouchend
|
|
196
|
-
}, [
|
|
197
|
-
createElementVNode("div", {
|
|
198
|
-
class: normalizeClass(["vc-container__overscroll", { "vc-container__overscroll_touching": touching.value }]),
|
|
199
|
-
style: normalizeStyle({
|
|
200
|
-
top: -1 * pullDist.value + topOffset.value + "px",
|
|
201
|
-
height: pullDist.value + "px"
|
|
202
|
-
})
|
|
203
|
-
}, [
|
|
204
|
-
createElementVNode("div", _hoisted_1$2, [
|
|
205
|
-
createVNode(unref(_sfc_main$5), {
|
|
206
|
-
icon: canRefresh.value || goingUp.value ? "material-arrow_upward" : "material-arrow_downward",
|
|
207
|
-
class: "vc-container__overscroll-icon"
|
|
208
|
-
}, null, 8, ["icon"]),
|
|
209
|
-
!(canRefresh.value || goingUp.value) ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(_ctx.$t("COMPONENTS.ATOMS.VC_CONTAINER.PULL_TO_REFRESH")), 1)) : (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(_ctx.$t("COMPONENTS.ATOMS.VC_CONTAINER.REFRESHING")), 1))
|
|
210
|
-
])
|
|
211
|
-
], 6),
|
|
212
|
-
createElementVNode("div", {
|
|
213
|
-
ref_key: "component",
|
|
214
|
-
ref: component,
|
|
215
|
-
class: normalizeClass(["vc-container__inner", {
|
|
216
|
-
"vc-container__inner_touching": touching.value
|
|
217
|
-
}]),
|
|
218
|
-
style: normalizeStyle({ top: topOffset.value + "px" }),
|
|
219
|
-
onScroll
|
|
220
|
-
}, [
|
|
221
|
-
renderSlot(_ctx.$slots, "default")
|
|
222
|
-
], 38)
|
|
223
|
-
], 34);
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
|
|
228
|
-
const VcContainer = _sfc_main$2;
|
|
229
|
-
|
|
230
|
-
const _hoisted_1$1 = { class: "vc-row" };
|
|
231
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
232
|
-
__name: "vc-row",
|
|
233
|
-
setup(__props) {
|
|
234
|
-
return (_ctx, _cache) => {
|
|
235
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
236
|
-
renderSlot(_ctx.$slots, "default")
|
|
237
|
-
]);
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
const _hoisted_1 = ["data-widget-id", "data-widget-name"];
|
|
243
|
-
const _hoisted_2 = { class: "vc-widget__icon-container" };
|
|
244
|
-
const _hoisted_3 = {
|
|
245
|
-
key: 0,
|
|
246
|
-
class: "vc-widget__content"
|
|
247
|
-
};
|
|
248
|
-
const _hoisted_4 = { class: "vc-widget__title" };
|
|
249
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
250
|
-
__name: "vc-widget",
|
|
251
|
-
props: {
|
|
252
|
-
icon: {},
|
|
253
|
-
title: {},
|
|
254
|
-
value: {},
|
|
255
|
-
disabled: { type: Boolean },
|
|
256
|
-
isExpanded: { type: Boolean },
|
|
257
|
-
horizontal: { type: Boolean }
|
|
258
|
-
},
|
|
259
|
-
emits: ["click"],
|
|
260
|
-
setup(__props, { emit: __emit }) {
|
|
261
|
-
const props = __props;
|
|
262
|
-
const emit = __emit;
|
|
263
|
-
const instance = getCurrentInstance();
|
|
264
|
-
const widgetService = useWidgets();
|
|
265
|
-
const widgetName = instance?.parent?.type.__name;
|
|
266
|
-
function onClick() {
|
|
267
|
-
if (!props.disabled) {
|
|
268
|
-
if (widgetName && instance?.parent?.exposed) {
|
|
269
|
-
widgetService.setActiveWidget(instance?.parent?.exposed);
|
|
270
|
-
}
|
|
271
|
-
emit("click");
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
const truncateCount = computed(() => {
|
|
275
|
-
if (typeof props.value === "string" && parseInt(props.value) > 99 || typeof props.value === "number" && props.value > 99) {
|
|
276
|
-
return "99+";
|
|
277
|
-
} else {
|
|
278
|
-
return props.value;
|
|
279
|
-
}
|
|
280
|
-
});
|
|
281
|
-
return (_ctx, _cache) => {
|
|
282
|
-
const _component_VcBadge = resolveComponent("VcBadge");
|
|
283
|
-
return openBlock(), createElementBlock("div", {
|
|
284
|
-
class: normalizeClass(["vc-widget", [
|
|
285
|
-
{ "vc-widget--expanded": _ctx.isExpanded },
|
|
286
|
-
{ "vc-widget--collapsed": !_ctx.isExpanded },
|
|
287
|
-
{ "vc-widget--disabled": _ctx.disabled },
|
|
288
|
-
{ "vc-widget--horizontal": _ctx.horizontal }
|
|
289
|
-
]]),
|
|
290
|
-
"data-widget-id": unref(widgetName),
|
|
291
|
-
"data-widget-name": _ctx.title,
|
|
292
|
-
onClick
|
|
293
|
-
}, [
|
|
294
|
-
createVNode(_component_VcBadge, {
|
|
295
|
-
content: truncateCount.value,
|
|
296
|
-
size: "s"
|
|
297
|
-
}, {
|
|
298
|
-
default: withCtx(() => [
|
|
299
|
-
createElementVNode("div", _hoisted_2, [
|
|
300
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
301
|
-
key: 0,
|
|
302
|
-
class: "vc-widget__icon",
|
|
303
|
-
icon: _ctx.icon,
|
|
304
|
-
size: "m"
|
|
305
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
306
|
-
])
|
|
307
|
-
]),
|
|
308
|
-
_: 1
|
|
309
|
-
}, 8, ["content"]),
|
|
310
|
-
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
311
|
-
createElementVNode("div", _hoisted_4, toDisplayString(_ctx.title), 1)
|
|
312
|
-
])) : createCommentVNode("", true)
|
|
313
|
-
], 10, _hoisted_1);
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
});
|
|
317
|
-
|
|
318
|
-
const VcWidget = _sfc_main;
|
|
319
|
-
|
|
320
|
-
export { VcCard as V, _sfc_main$3 as _, VcContainer as a, _sfc_main$1 as b, VcWidget as c, _sfc_main$2 as d };
|