@vc-shell/framework 1.1.0 → 1.1.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/CHANGELOG.md +8 -0
- package/dist/assets/apl-NdZ6-T1z.js +142 -0
- package/dist/assets/asciiarmor-CmJEbAuq.js +56 -0
- package/dist/assets/asn1-Ctc8K72v.js +192 -0
- package/dist/assets/asterisk-D6r__RMF.js +187 -0
- package/dist/assets/brainfuck-COwWCBpq.js +70 -0
- package/dist/assets/clike-C-PtfL50.js +1019 -0
- package/dist/assets/clojure-C2XPrGCa.js +274 -0
- package/dist/assets/cmake-BGrEgXCL.js +81 -0
- package/dist/assets/cobol-DShPmpZe.js +234 -0
- package/dist/assets/coffeescript-BG8vTfSz.js +329 -0
- package/dist/assets/commonlisp-8oE2EpEe.js +108 -0
- package/dist/assets/core-api-BMLS9FrT.js +8288 -0
- package/dist/assets/core-composables-DYxpIWyY.js +1799 -0
- package/dist/assets/core-constants-DiKDBbnD.js +83 -0
- package/dist/assets/core-directives-QhJx9kWh.js +41 -0
- package/dist/assets/core-interceptors-CSjUvxQ0.js +78 -0
- package/dist/assets/core-plugins-wv2bDZ0l.js +4919 -0
- package/dist/assets/core-services-CAfJRsjs.js +4 -0
- package/dist/assets/core-utilities-BTktq_a-.js +33 -0
- package/dist/assets/crystal--rIRMl16.js +419 -0
- package/dist/assets/css/core-directives-FL4vIIkN.css +73 -0
- package/dist/assets/css/fonts-M1mtyV8L.css +305 -0
- package/dist/assets/css/icons-css-DbCVsovz.css +41 -0
- package/dist/assets/css/shared-components-bnLHdCtf.css +429 -0
- package/dist/assets/css/shared-modules-CNOICmYQ.css +45 -0
- package/dist/assets/css/styles-C62nDZwV.css +4096 -0
- package/dist/assets/css/ui-app-Bh9hmlIB.css +1287 -0
- package/dist/assets/css/ui-content-B29jsmK7.css +1187 -0
- package/dist/assets/css/ui-controls-CRtfFczw.css +387 -0
- package/dist/assets/css/ui-data-CYLxfdUa.css +1555 -0
- package/dist/assets/css/ui-form-C3WrWfVl.css +71 -0
- package/dist/assets/css/ui-form-fields-DOtHhDeM.css +1360 -0
- package/dist/assets/css/ui-helpers-bOoNv5dS.css +37 -0
- package/dist/assets/css/ui-indicators-CybQnCoU.css +628 -0
- package/dist/assets/css/ui-layout-DyGKgizy.css +251 -0
- package/dist/assets/css/ui-media-TWYep8js.css +298 -0
- package/dist/assets/css/ui-media-advanced-BGxy3VSB.css +183 -0
- package/dist/assets/css/ui-navigation-DcPRn8SB.css +1693 -0
- package/dist/assets/css-C_ZeEwz2.js +847 -0
- package/dist/assets/cypher-Bayei42D.js +122 -0
- package/dist/assets/d-B0hhz6be.js +205 -0
- package/dist/assets/diff-DQutOIXs.js +30 -0
- package/dist/assets/dockerfile-D0MivFIF.js +199 -0
- package/dist/assets/dtd-C1CeYVnM.js +121 -0
- package/dist/assets/dylan-Dm9-uD-A.js +337 -0
- package/dist/assets/ebnf-jWG_1Yly.js +151 -0
- package/dist/assets/ecl-CgJPA6z9.js +190 -0
- package/dist/assets/eiffel-lj7uLahq.js +146 -0
- package/dist/assets/elm-Cz7o1ijk.js +230 -0
- package/dist/assets/erlang-CyL5QOyR.js +581 -0
- package/dist/assets/factor-BVWHwYpu.js +65 -0
- package/dist/assets/fcl-DiozYjc8.js +154 -0
- package/dist/assets/forth-B7vn5ze0.js +164 -0
- package/dist/assets/fortran-D2XNEnBT.js +172 -0
- package/dist/assets/gas-B_Tj57Ve.js +343 -0
- package/dist/assets/gherkin-CJ6Qk4EZ.js +147 -0
- package/dist/assets/groovy-ioGz2WSV.js +228 -0
- package/dist/assets/haskell-BHnm1B83.js +239 -0
- package/dist/assets/haxe-Bn6Yo6N3.js +490 -0
- package/dist/assets/http-BOd5SYCT.js +89 -0
- package/dist/assets/idl-FSFk8_xX.js +274 -0
- package/dist/assets/index--5fKpGeN.js +792 -0
- package/dist/assets/index-0lME64YH.js +342 -0
- package/dist/assets/index-B1srGfDb.js +183 -0
- package/dist/assets/index-B6Ip0FgO.js +437 -0
- package/dist/assets/index-BKF-A58l.js +106 -0
- package/dist/assets/index-BT8o9-M5.js +418 -0
- package/dist/assets/index-BmV05E5M.js +479 -0
- package/dist/assets/index-Bv_z_qRq.js +137 -0
- package/dist/assets/index-C6MavZDA.js +131 -0
- package/dist/assets/index-C7zlEJy8.js +338 -0
- package/dist/assets/index-CeeaNa4F.js +187 -0
- package/dist/assets/index-CtmpJVwa.js +330 -0
- package/dist/assets/index-CwKpgcYl.js +85 -0
- package/dist/assets/index-DMTL7O1s.js +627 -0
- package/dist/assets/index-DRUmDL0J.js +59 -0
- package/dist/assets/index-DgFC-M9G.js +96 -0
- package/dist/assets/javascript-DGrAs70C.js +922 -0
- package/dist/assets/jinja2-D9k5QrXv.js +171 -0
- package/dist/assets/julia-DM42tOPB.js +369 -0
- package/dist/assets/livescript-Dci8HnOi.js +259 -0
- package/dist/assets/lua-CByQu4v6.js +137 -0
- package/dist/assets/lucide-icons-af0BY3bi.js +34555 -0
- package/dist/assets/mathematica-Dkv0uCYF.js +153 -0
- package/dist/assets/mbox-CYTvs5kC.js +114 -0
- package/dist/assets/mirc-DpgP3GCo.js +176 -0
- package/dist/assets/mllike-C6tNn2Yt.js +343 -0
- package/dist/assets/modelica-CR6hTSce.js +192 -0
- package/dist/assets/mscgen-D0GXtzMS.js +149 -0
- package/dist/assets/mumps-Bf1EyDa6.js +129 -0
- package/dist/assets/nginx-By9Phklj.js +163 -0
- package/dist/assets/nsis-B5ggMLQ9.js +80 -0
- package/dist/assets/ntriples-C7VJ7pnm.js +141 -0
- package/dist/assets/octave-6yR_ix15.js +112 -0
- package/dist/assets/oz-CEUnktiQ.js +235 -0
- package/dist/assets/pascal-Dksf1EyF.js +124 -0
- package/dist/assets/perl-B99DUQQt.js +819 -0
- package/dist/assets/pig-DFeDRta6.js +149 -0
- package/dist/assets/powershell-DhwsNWMx.js +381 -0
- package/dist/assets/properties-o21uErwC.js +62 -0
- package/dist/assets/protobuf-YxlANsmD.js +54 -0
- package/dist/assets/pug-bUgjeODZ.js +504 -0
- package/dist/assets/puppet-B8WICGYE.js +205 -0
- package/dist/assets/python-D3FFx1Id.js +389 -0
- package/dist/assets/q-D2Hjhl2C.js +123 -0
- package/dist/assets/r-D73k5lac.js +174 -0
- package/dist/assets/rpm-Duv_WH0z.js +89 -0
- package/dist/assets/ruby-DGCVqZDt.js +287 -0
- package/dist/assets/sas-XjPv1Vy5.js +268 -0
- package/dist/assets/scheme-DeaA28vt.js +263 -0
- package/dist/assets/shared-components-CfAt2hC6.js +1501 -0
- package/dist/assets/shared-composables-v9NkNuAe.js +35 -0
- package/dist/assets/shared-modules-CDP-H5ZB.js +3588 -0
- package/dist/assets/shared-pages-BGRRA5WB.js +20 -0
- package/dist/assets/shell-Bx6QZTgx.js +145 -0
- package/dist/assets/sieve-CWCD62sW.js +178 -0
- package/dist/assets/simple-mode-BAO9cD7H.js +136 -0
- package/dist/assets/smalltalk-DSQbF4MF.js +153 -0
- package/dist/assets/solr-v_XRf31C.js +80 -0
- package/dist/assets/sparql-BrfDqf0-.js +170 -0
- package/dist/assets/spreadsheet-Csn84Pef.js +98 -0
- package/dist/assets/sql-D4utlq1l.js +480 -0
- package/dist/assets/stex-DBkktma-.js +246 -0
- package/dist/assets/stylus-ByG-Fd6f.js +750 -0
- package/dist/assets/swift-CHbTprt3.js +202 -0
- package/dist/assets/tcl-BRlMUELr.js +125 -0
- package/dist/assets/textile-CqfTUjd4.js +441 -0
- package/dist/assets/tiddlywiki-BrsoM8KB.js +278 -0
- package/dist/assets/tiki-D-ivWPkc.js +289 -0
- package/dist/assets/toml-t_IhJu83.js +75 -0
- package/dist/assets/troff-DckGF2AE.js +64 -0
- package/dist/assets/ttcn-B8TAFbRR.js +253 -0
- package/dist/assets/ttcn-cfg-NHh25oCM.js +197 -0
- package/dist/assets/turtle-D9Js0BlL.js +141 -0
- package/dist/assets/ui-app-D31Pr1WY.js +1993 -0
- package/dist/assets/ui-content-B7SxH8y9.js +52887 -0
- package/dist/assets/ui-controls-nmDJYLmC.js +348 -0
- package/dist/assets/ui-data-Ci3b1ye0.js +22901 -0
- package/dist/assets/ui-form-Cs5ooOo7.js +159 -0
- package/dist/assets/ui-form-fields-DFQi31jT.js +40575 -0
- package/dist/assets/ui-helpers-CF-EUlOg.js +1736 -0
- package/dist/assets/ui-indicators-mIQeEqha.js +199 -0
- package/dist/assets/ui-layout-v2XBQky3.js +320 -0
- package/dist/assets/ui-media-WWYrwmZw.js +1259 -0
- package/dist/assets/ui-media-advanced-T8ibi153.js +492 -0
- package/dist/assets/ui-modals-BdZXzI85.js +2 -0
- package/dist/assets/ui-navigation-BtHa6ovW.js +24269 -0
- package/dist/assets/utils-DZK5fu48.js +17216 -0
- package/dist/assets/vb-CbIGLrpY.js +249 -0
- package/dist/assets/vbscript-8ANWle9n.js +320 -0
- package/dist/assets/velocity-D6hz3Hzw.js +186 -0
- package/dist/assets/verilog-DIV442at.js +565 -0
- package/dist/assets/vhdl-BlTiZo_v.js +174 -0
- package/dist/assets/vueuse-CTQm4Zh0.js +9308 -0
- package/dist/assets/webidl-Cp3tcqdk.js +179 -0
- package/dist/assets/xquery-Dd4TBzXv.js +411 -0
- package/dist/assets/yacas-DQ1WucF0.js +182 -0
- package/dist/assets/z80-P1j44jDI.js +102 -0
- package/dist/framework.js +29 -0
- package/dist/index.css +18 -0
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, unref, renderSlot, createElementVNode, createVNode, withCtx, toDisplayString, createTextVNode, Fragment, renderList, normalizeStyle } from 'vue';
|
|
2
|
+
import { _ as _sfc_main$5, a as _sfc_main$7, b as _sfc_main$8, c as _sfc_main$9, d as _sfc_main$a, e as _sfc_main$b, f as _sfc_main$c, g as _sfc_main$d, h as _sfc_main$e, i as _sfc_main$f, j as _sfc_main$g, k as _sfc_main$h, l as _sfc_main$i, m as _sfc_main$j, n as _sfc_main$k, o as _sfc_main$l, p as _sfc_main$m, q as _sfc_main$n, r as _sfc_main$o, s as _sfc_main$p, t as _sfc_main$q, u as _sfc_main$r, v as _sfc_main$s, w as _sfc_main$t, x as _sfc_main$u, y as _sfc_main$v, z as _sfc_main$w, A as _sfc_main$H, B as _sfc_main$W, C as _sfc_main$X } from './ui-media-WWYrwmZw.js';
|
|
3
|
+
import { _ as _sfc_main$y, V as VcLoading, a as VcProgress, b as _sfc_main$R, c as _sfc_main$S } from './ui-indicators-mIQeEqha.js';
|
|
4
|
+
import { V as VcCard, _ as _sfc_main$B, a as VcContainer, b as _sfc_main$P, c as VcWidget } from './ui-layout-v2XBQky3.js';
|
|
5
|
+
import { _ as _sfc_main$6, V as VcHint } from './ui-helpers-CF-EUlOg.js';
|
|
6
|
+
import { _ as _sfc_main$z, a as _sfc_main$M } from './ui-navigation-BtHa6ovW.js';
|
|
7
|
+
import './core-composables-DYxpIWyY.js';
|
|
8
|
+
import { _ as _sfc_main$x, a as _sfc_main$K } from './ui-app-D31Pr1WY.js';
|
|
9
|
+
import 'vee-validate';
|
|
10
|
+
import { _ as _sfc_main$A, a as _sfc_main$D, V as VcPagination, b as _sfc_main$V } from './ui-content-B7SxH8y9.js';
|
|
11
|
+
import { _ as _sfc_main$F, V as VcForm } from './ui-form-Cs5ooOo7.js';
|
|
12
|
+
import { V as VcCheckbox, _ as _sfc_main$E, a as _sfc_main$I, b as _sfc_main$J, c as _sfc_main$L, d as _sfc_main$N, e as _sfc_main$O, f as _sfc_main$Q, g as VcSlider, h as _sfc_main$U } from './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 { _ as _sfc_main$C, a as _sfc_main$T } from './ui-data-Ci3b1ye0.js';
|
|
19
|
+
import { _ as _sfc_main$G } from './ui-media-advanced-T8ibi153.js';
|
|
20
|
+
|
|
21
|
+
const _hoisted_1$2 = ["disabled"];
|
|
22
|
+
const _hoisted_2$2 = {
|
|
23
|
+
key: 1,
|
|
24
|
+
class: "vc-button__title"
|
|
25
|
+
};
|
|
26
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
27
|
+
__name: "vc-button",
|
|
28
|
+
props: {
|
|
29
|
+
icon: {},
|
|
30
|
+
iconClass: {},
|
|
31
|
+
iconSize: { default: "s" },
|
|
32
|
+
variant: { default: "primary" },
|
|
33
|
+
disabled: { type: Boolean },
|
|
34
|
+
size: { default: "base" },
|
|
35
|
+
small: { type: Boolean },
|
|
36
|
+
outline: { type: Boolean },
|
|
37
|
+
selected: { type: Boolean },
|
|
38
|
+
text: { type: Boolean },
|
|
39
|
+
raised: { type: Boolean }
|
|
40
|
+
},
|
|
41
|
+
emits: ["click"],
|
|
42
|
+
setup(__props, { emit: __emit }) {
|
|
43
|
+
const props = __props;
|
|
44
|
+
const emit = __emit;
|
|
45
|
+
const buttonClass = computed(() => {
|
|
46
|
+
return [
|
|
47
|
+
"vc-button",
|
|
48
|
+
{
|
|
49
|
+
[`vc-button-${props.variant}`]: props.variant,
|
|
50
|
+
[`vc-button_${props.size}`]: props.size,
|
|
51
|
+
// "vc-button_small": props.small,
|
|
52
|
+
// "vc-button_outline": props.outline,
|
|
53
|
+
"vc-button_selected": props.selected,
|
|
54
|
+
"vc-button_text": props.text,
|
|
55
|
+
"vc-button_disabled": props.disabled
|
|
56
|
+
// "vc-button_raised": props.raised,
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
});
|
|
60
|
+
function onClick(e) {
|
|
61
|
+
if (!props.disabled) {
|
|
62
|
+
e.preventDefault();
|
|
63
|
+
emit("click", e);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return openBlock(), createElementBlock("button", {
|
|
68
|
+
class: normalizeClass(buttonClass.value),
|
|
69
|
+
disabled: _ctx.disabled,
|
|
70
|
+
onClick
|
|
71
|
+
}, [
|
|
72
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$5), {
|
|
73
|
+
key: 0,
|
|
74
|
+
class: normalizeClass(["vc-button__icon", _ctx.iconClass]),
|
|
75
|
+
icon: _ctx.icon,
|
|
76
|
+
size: _ctx.iconSize
|
|
77
|
+
}, null, 8, ["class", "icon", "size"])) : createCommentVNode("", true),
|
|
78
|
+
_ctx.$slots["default"] ? (openBlock(), createElementBlock("p", _hoisted_2$2, [
|
|
79
|
+
renderSlot(_ctx.$slots, "default")
|
|
80
|
+
])) : createCommentVNode("", true)
|
|
81
|
+
], 10, _hoisted_1$2);
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const _hoisted_1$1 = { class: "vc-label__text" };
|
|
87
|
+
const _hoisted_2$1 = { class: "vc-label__content" };
|
|
88
|
+
const _hoisted_3$1 = {
|
|
89
|
+
key: 0,
|
|
90
|
+
class: "vc-label__required"
|
|
91
|
+
};
|
|
92
|
+
const _hoisted_4 = {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "vc-label__tooltip"
|
|
95
|
+
};
|
|
96
|
+
const _hoisted_5 = {
|
|
97
|
+
key: 1,
|
|
98
|
+
class: "vc-label__language"
|
|
99
|
+
};
|
|
100
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
101
|
+
__name: "vc-label",
|
|
102
|
+
props: {
|
|
103
|
+
required: { type: Boolean },
|
|
104
|
+
tooltipIcon: { default: "material-info" },
|
|
105
|
+
multilanguage: { type: Boolean },
|
|
106
|
+
currentLanguage: {},
|
|
107
|
+
error: { type: Boolean }
|
|
108
|
+
},
|
|
109
|
+
setup(__props) {
|
|
110
|
+
return (_ctx, _cache) => {
|
|
111
|
+
return openBlock(), createElementBlock("div", {
|
|
112
|
+
class: normalizeClass(["vc-label", {
|
|
113
|
+
"vc-label_error": _ctx.error
|
|
114
|
+
}])
|
|
115
|
+
}, [
|
|
116
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
117
|
+
createElementVNode("span", _hoisted_2$1, [
|
|
118
|
+
renderSlot(_ctx.$slots, "default")
|
|
119
|
+
]),
|
|
120
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$1, "*")) : createCommentVNode("", true)
|
|
121
|
+
]),
|
|
122
|
+
_ctx.$slots["tooltip"] ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
123
|
+
createVNode(unref(_sfc_main$6), { placement: "top-start" }, {
|
|
124
|
+
tooltip: withCtx(() => [
|
|
125
|
+
renderSlot(_ctx.$slots, "tooltip")
|
|
126
|
+
]),
|
|
127
|
+
default: withCtx(() => [
|
|
128
|
+
createVNode(unref(_sfc_main$5), {
|
|
129
|
+
class: "vc-label__tooltip-icon",
|
|
130
|
+
icon: _ctx.tooltipIcon,
|
|
131
|
+
size: "s"
|
|
132
|
+
}, null, 8, ["icon"])
|
|
133
|
+
]),
|
|
134
|
+
_: 3
|
|
135
|
+
})
|
|
136
|
+
])) : createCommentVNode("", true),
|
|
137
|
+
_ctx.multilanguage ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(_ctx.currentLanguage), 1)) : createCommentVNode("", true)
|
|
138
|
+
], 2);
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
144
|
+
__name: "vc-link",
|
|
145
|
+
props: {
|
|
146
|
+
active: { type: Boolean },
|
|
147
|
+
disabled: { type: Boolean },
|
|
148
|
+
onClick: { type: Function }
|
|
149
|
+
},
|
|
150
|
+
emits: ["click"],
|
|
151
|
+
setup(__props, { emit: __emit }) {
|
|
152
|
+
const props = __props;
|
|
153
|
+
const emit = __emit;
|
|
154
|
+
function onClickFn() {
|
|
155
|
+
if (!props.disabled) {
|
|
156
|
+
emit("click");
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return (_ctx, _cache) => {
|
|
160
|
+
return openBlock(), createElementBlock("div", {
|
|
161
|
+
class: normalizeClass(["vc-link", {
|
|
162
|
+
"vc-link--active": _ctx.active,
|
|
163
|
+
"vc-link--disabled": _ctx.disabled
|
|
164
|
+
}]),
|
|
165
|
+
onClick: onClickFn
|
|
166
|
+
}, [
|
|
167
|
+
renderSlot(_ctx.$slots, "default")
|
|
168
|
+
], 2);
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
const VcLink = _sfc_main$2;
|
|
174
|
+
|
|
175
|
+
const _hoisted_1 = { class: "vc-switch" };
|
|
176
|
+
const _hoisted_2 = { class: "vc-switch__container" };
|
|
177
|
+
const _hoisted_3 = ["checked", "disabled"];
|
|
178
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
179
|
+
__name: "vc-switch",
|
|
180
|
+
props: {
|
|
181
|
+
modelValue: { type: Boolean },
|
|
182
|
+
disabled: { type: Boolean },
|
|
183
|
+
tooltip: {},
|
|
184
|
+
required: { type: Boolean },
|
|
185
|
+
label: {},
|
|
186
|
+
trueValue: { type: Boolean, default: true },
|
|
187
|
+
falseValue: { type: Boolean, default: false }
|
|
188
|
+
},
|
|
189
|
+
emits: ["update:modelValue"],
|
|
190
|
+
setup(__props, { emit: __emit }) {
|
|
191
|
+
const props = __props;
|
|
192
|
+
const emit = __emit;
|
|
193
|
+
const invertValue = (value) => {
|
|
194
|
+
if (typeof value !== "undefined") {
|
|
195
|
+
return props.trueValue ? value : !value;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
function onInput(e) {
|
|
199
|
+
const newValue = e.target.checked;
|
|
200
|
+
emit("update:modelValue", invertValue(newValue));
|
|
201
|
+
}
|
|
202
|
+
return (_ctx, _cache) => {
|
|
203
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
204
|
+
_ctx.label ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
205
|
+
key: 0,
|
|
206
|
+
class: "vc-switch__label",
|
|
207
|
+
required: _ctx.required
|
|
208
|
+
}, {
|
|
209
|
+
default: withCtx(() => [
|
|
210
|
+
createElementVNode("span", null, toDisplayString(_ctx.label), 1)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 8, ["required"])) : createCommentVNode("", true),
|
|
214
|
+
createElementVNode("div", _hoisted_2, [
|
|
215
|
+
createElementVNode("label", null, [
|
|
216
|
+
createElementVNode("input", {
|
|
217
|
+
type: "checkbox",
|
|
218
|
+
class: "vc-switch__input",
|
|
219
|
+
checked: invertValue(_ctx.modelValue),
|
|
220
|
+
disabled: _ctx.disabled,
|
|
221
|
+
onInput
|
|
222
|
+
}, null, 40, _hoisted_3),
|
|
223
|
+
_cache[0] || (_cache[0] = createElementVNode("span", { class: "vc-switch__slider" }, null, -1))
|
|
224
|
+
]),
|
|
225
|
+
_ctx.tooltip ? (openBlock(), createBlock(unref(VcHint), {
|
|
226
|
+
key: 0,
|
|
227
|
+
class: "vc-switch__hint"
|
|
228
|
+
}, {
|
|
229
|
+
default: withCtx(() => [
|
|
230
|
+
createTextVNode(toDisplayString(_ctx.tooltip), 1)
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
})) : createCommentVNode("", true)
|
|
234
|
+
])
|
|
235
|
+
]);
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
241
|
+
__name: "vc-skeleton",
|
|
242
|
+
props: {
|
|
243
|
+
rows: { default: 1 },
|
|
244
|
+
animated: { type: Boolean, default: false }
|
|
245
|
+
},
|
|
246
|
+
setup(__props) {
|
|
247
|
+
const props = __props;
|
|
248
|
+
function getRowWidth(index) {
|
|
249
|
+
if (index === props.rows) {
|
|
250
|
+
return "60%";
|
|
251
|
+
}
|
|
252
|
+
return "100%";
|
|
253
|
+
}
|
|
254
|
+
return (_ctx, _cache) => {
|
|
255
|
+
return openBlock(), createElementBlock("div", {
|
|
256
|
+
class: normalizeClass(["vc-skeleton", {
|
|
257
|
+
"vc-skeleton--animated": _ctx.animated
|
|
258
|
+
}])
|
|
259
|
+
}, [
|
|
260
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (index) => {
|
|
261
|
+
return openBlock(), createElementBlock("div", {
|
|
262
|
+
key: index,
|
|
263
|
+
class: "vc-skeleton__row",
|
|
264
|
+
style: normalizeStyle({
|
|
265
|
+
width: getRowWidth(index)
|
|
266
|
+
})
|
|
267
|
+
}, null, 4);
|
|
268
|
+
}), 128))
|
|
269
|
+
], 2);
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
|
|
274
|
+
const components = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
275
|
+
__proto__: null,
|
|
276
|
+
AppWindowIcon: _sfc_main$7,
|
|
277
|
+
ArrowLeftIcon: _sfc_main$8,
|
|
278
|
+
ArrowRightIcon: _sfc_main$9,
|
|
279
|
+
BellIcon: _sfc_main$a,
|
|
280
|
+
ChevronDownIcon: _sfc_main$b,
|
|
281
|
+
ChevronLeftIcon: _sfc_main$c,
|
|
282
|
+
ChevronRightIcon: _sfc_main$d,
|
|
283
|
+
ChevronUpIcon: _sfc_main$e,
|
|
284
|
+
CircleDotsIcon: _sfc_main$f,
|
|
285
|
+
CrossSignIcon: _sfc_main$g,
|
|
286
|
+
DoubleArrowLeftIcon: _sfc_main$h,
|
|
287
|
+
DoubleArrowRightIcon: _sfc_main$i,
|
|
288
|
+
FulfillmentCentersIcon: _sfc_main$j,
|
|
289
|
+
GridDotsIcon: _sfc_main$k,
|
|
290
|
+
LogoutIcon: _sfc_main$l,
|
|
291
|
+
MenuBurgerIcon: _sfc_main$m,
|
|
292
|
+
MinusSignIcon: _sfc_main$n,
|
|
293
|
+
OffersIcon: _sfc_main$o,
|
|
294
|
+
OrdersIcon: _sfc_main$p,
|
|
295
|
+
PeopleIcon: _sfc_main$q,
|
|
296
|
+
PlusSignIcon: _sfc_main$r,
|
|
297
|
+
ProductsIcon: _sfc_main$s,
|
|
298
|
+
ProfileIcon: _sfc_main$t,
|
|
299
|
+
SearchIcon: _sfc_main$u,
|
|
300
|
+
SettingsBoltIcon: _sfc_main$v,
|
|
301
|
+
ShoppingCardIcon: _sfc_main$w,
|
|
302
|
+
VcApp: _sfc_main$x,
|
|
303
|
+
VcBadge: _sfc_main$y,
|
|
304
|
+
VcBlade: _sfc_main$z,
|
|
305
|
+
VcBreadcrumbs: _sfc_main$A,
|
|
306
|
+
VcButton: _sfc_main$4,
|
|
307
|
+
VcCard,
|
|
308
|
+
VcCheckbox,
|
|
309
|
+
VcCol: _sfc_main$B,
|
|
310
|
+
VcContainer,
|
|
311
|
+
VcDynamicProperty: _sfc_main$C,
|
|
312
|
+
VcEditor: _sfc_main$D,
|
|
313
|
+
VcField: _sfc_main$E,
|
|
314
|
+
VcFileUpload: _sfc_main$F,
|
|
315
|
+
VcForm,
|
|
316
|
+
VcGallery: _sfc_main$G,
|
|
317
|
+
VcHint,
|
|
318
|
+
VcIcon: _sfc_main$5,
|
|
319
|
+
VcImage: _sfc_main$H,
|
|
320
|
+
VcInput: _sfc_main$I,
|
|
321
|
+
VcInputCurrency: _sfc_main$J,
|
|
322
|
+
VcLabel: _sfc_main$3,
|
|
323
|
+
VcLink,
|
|
324
|
+
VcLoading,
|
|
325
|
+
VcLoginForm: _sfc_main$K,
|
|
326
|
+
VcMultivalue: _sfc_main$L,
|
|
327
|
+
VcPagination,
|
|
328
|
+
VcPopup: _sfc_main$M,
|
|
329
|
+
VcProgress,
|
|
330
|
+
VcRadioButton: _sfc_main$N,
|
|
331
|
+
VcRating: _sfc_main$O,
|
|
332
|
+
VcRow: _sfc_main$P,
|
|
333
|
+
VcSelect: _sfc_main$Q,
|
|
334
|
+
VcSkeleton: _sfc_main,
|
|
335
|
+
VcSlider,
|
|
336
|
+
VcStatus: _sfc_main$R,
|
|
337
|
+
VcStatusIcon: _sfc_main$S,
|
|
338
|
+
VcSwitch: _sfc_main$1,
|
|
339
|
+
VcTable: _sfc_main$T,
|
|
340
|
+
VcTextarea: _sfc_main$U,
|
|
341
|
+
VcToast: _sfc_main$V,
|
|
342
|
+
VcTooltip: _sfc_main$6,
|
|
343
|
+
VcVideo: _sfc_main$W,
|
|
344
|
+
VcWidget,
|
|
345
|
+
VertDotsIcon: _sfc_main$X
|
|
346
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
347
|
+
|
|
348
|
+
export { VcLink as V, _sfc_main$3 as _, _sfc_main$1 as a, _sfc_main$4 as b, components as c, _sfc_main as d };
|