cleek 2.3.61 → 2.3.62
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/dist/cleek.es.js +214 -154
- package/dist/cleek.umd.js +6 -6
- package/dist/components/ck-button.vue.d.ts +49 -0
- package/dist/components/ck-checkbox.vue.d.ts +26 -0
- package/dist/components/ck-chip.vue.d.ts +27 -0
- package/dist/components/ck-div.vue.d.ts +19 -0
- package/dist/components/ck-dropdown/ck-dropdown.vue.d.ts +17 -0
- package/dist/components/ck-icon.vue.d.ts +39 -0
- package/dist/components/ck-img.vue.d.ts +39 -0
- package/dist/components/ck-input.vue.d.ts +72 -0
- package/dist/components/ck-label.vue.d.ts +19 -0
- package/dist/components/ck-navbar/ck-navbar.vue.d.ts +17 -0
- package/dist/components/ck-notify/ck-notify.d.ts +20 -0
- package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +9 -0
- package/dist/components/ck-notify/components/CkNotify.vue.d.ts +6 -0
- package/dist/components/ck-popup.vue.d.ts +41 -0
- package/dist/components/ck-radio.vue.d.ts +34 -0
- package/dist/components/ck-select.vue.d.ts +69 -0
- package/dist/components/ck-sidebar.vue.d.ts +25 -0
- package/dist/components/ck-switch-options.vue.d.ts +42 -0
- package/dist/components/ck-switch.vue.d.ts +31 -0
- package/dist/components/ck-table/ck-table.vue.d.ts +56 -0
- package/dist/components/ck-table/ck-td.vue.d.ts +43 -0
- package/dist/components/ck-table/ck-th.vue.d.ts +17 -0
- package/dist/components/ck-table/ck-tr.vue.d.ts +2 -0
- package/dist/components/ck-table/inner-components/ck-table__columns-manager.vue.d.ts +24 -0
- package/dist/components/ck-table/inner-components/ck-table__header-items.vue.d.ts +39 -0
- package/dist/components/ck-table/inner-components/ck-table__pagination.vue.d.ts +28 -0
- package/dist/components/ck-table/inner-components/ck-table__title.vue.d.ts +16 -0
- package/dist/components/ck-textarea.vue.d.ts +23 -0
- package/dist/components/index.d.ts +22 -0
- package/dist/hooks/windowWidth.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/types/cleek-options.d.ts +12 -0
- package/dist/types/table.d.ts +6 -0
- package/dist/utils/functions.d.ts +14 -0
- package/dist/utils/globalVariables.d.ts +6 -0
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -29,7 +29,7 @@ var __objRest = (source2, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText } from "vue";
|
|
32
|
+
import { pushScopeId, popScopeId, defineComponent, nextTick as nextTick$1, openBlock, createBlock, withScopeId, resolveComponent, createElementBlock, normalizeClass, normalizeStyle, withKeys, createElementVNode, Fragment, renderSlot, createCommentVNode, mergeProps, withCtx, createVNode, ref, createApp, h, toDisplayString, computed as computed$2, unref as unref$1, createTextVNode, watch, onMounted, onBeforeUnmount, getCurrentInstance, withDirectives, isRef as isRef$1, vModelDynamic, renderList, withModifiers, vModelRadio, vModelSelect, vModelCheckbox, vModelText, Teleport } from "vue";
|
|
33
33
|
function getBasePlacement(placement) {
|
|
34
34
|
return placement.split("-")[0];
|
|
35
35
|
}
|
|
@@ -2338,11 +2338,11 @@ const _hoisted_2$1$1 = {
|
|
|
2338
2338
|
ref: "inner",
|
|
2339
2339
|
class: "v-popper__inner"
|
|
2340
2340
|
};
|
|
2341
|
-
const _hoisted_3$
|
|
2342
|
-
const _hoisted_4$
|
|
2341
|
+
const _hoisted_3$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
|
|
2342
|
+
const _hoisted_4$6 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
|
|
2343
2343
|
const _hoisted_5$3 = [
|
|
2344
|
-
_hoisted_3$
|
|
2345
|
-
_hoisted_4$
|
|
2344
|
+
_hoisted_3$8,
|
|
2345
|
+
_hoisted_4$6
|
|
2346
2346
|
];
|
|
2347
2347
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2348
2348
|
const _component_ResizeObserver = resolveComponent("ResizeObserver");
|
|
@@ -2538,7 +2538,7 @@ const _sfc_main$1$1 = defineComponent(__spreadProps2(__spreadValues2({}, Private
|
|
|
2538
2538
|
name: "VTooltip",
|
|
2539
2539
|
vPopperTheme: "tooltip"
|
|
2540
2540
|
}));
|
|
2541
|
-
const _sfc_main$
|
|
2541
|
+
const _sfc_main$r = defineComponent({
|
|
2542
2542
|
name: "VTooltipDirective",
|
|
2543
2543
|
components: {
|
|
2544
2544
|
Popper: PrivatePopper(),
|
|
@@ -2629,8 +2629,8 @@ const _sfc_main$q = defineComponent({
|
|
|
2629
2629
|
}
|
|
2630
2630
|
}
|
|
2631
2631
|
});
|
|
2632
|
-
const _hoisted_1$
|
|
2633
|
-
const _hoisted_2$
|
|
2632
|
+
const _hoisted_1$m = ["innerHTML"];
|
|
2633
|
+
const _hoisted_2$b = ["textContent"];
|
|
2634
2634
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2635
2635
|
const _component_PopperContent = resolveComponent("PopperContent");
|
|
2636
2636
|
const _component_Popper = resolveComponent("Popper");
|
|
@@ -2673,10 +2673,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2673
2673
|
_ctx.html ? (openBlock(), createElementBlock("div", {
|
|
2674
2674
|
key: 0,
|
|
2675
2675
|
innerHTML: _ctx.finalContent
|
|
2676
|
-
}, null, 8, _hoisted_1$
|
|
2676
|
+
}, null, 8, _hoisted_1$m)) : (openBlock(), createElementBlock("div", {
|
|
2677
2677
|
key: 1,
|
|
2678
2678
|
textContent: toDisplayString(_ctx.finalContent)
|
|
2679
|
-
}, null, 8, _hoisted_2$
|
|
2679
|
+
}, null, 8, _hoisted_2$b))
|
|
2680
2680
|
]),
|
|
2681
2681
|
_: 2
|
|
2682
2682
|
}, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
|
|
@@ -2684,7 +2684,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2684
2684
|
_: 1
|
|
2685
2685
|
}, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
|
|
2686
2686
|
}
|
|
2687
|
-
var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2687
|
+
var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render]]);
|
|
2688
2688
|
const TARGET_CLASS = "v-popper--has-tooltip";
|
|
2689
2689
|
function getPlacement(options2, modifiers) {
|
|
2690
2690
|
let result = options2.placement;
|
|
@@ -18680,8 +18680,8 @@ var _export_sfc = (sfc, props) => {
|
|
|
18680
18680
|
}
|
|
18681
18681
|
return target;
|
|
18682
18682
|
};
|
|
18683
|
-
const _hoisted_1$
|
|
18684
|
-
const _sfc_main$
|
|
18683
|
+
const _hoisted_1$l = { class: "ck-dropdown__popper-container" };
|
|
18684
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
18685
18685
|
props: {
|
|
18686
18686
|
dark: { type: Boolean },
|
|
18687
18687
|
align: null
|
|
@@ -18719,7 +18719,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18719
18719
|
}, [
|
|
18720
18720
|
renderSlot(_ctx.$slots, "trigger", {}, void 0, true)
|
|
18721
18721
|
]),
|
|
18722
|
-
createElementVNode("div", _hoisted_1$
|
|
18722
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
18723
18723
|
isOpen.value ? (openBlock(), createElementBlock("section", {
|
|
18724
18724
|
key: 0,
|
|
18725
18725
|
class: normalizeClass(["ck-dropdown__popper", { "ck-dropdown__popper--dark": __props.dark }]),
|
|
@@ -18736,9 +18736,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18736
18736
|
};
|
|
18737
18737
|
}
|
|
18738
18738
|
});
|
|
18739
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18739
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-ba11ff8e"]]);
|
|
18740
18740
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18741
|
-
const _sfc_main$
|
|
18741
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18742
18742
|
props: {
|
|
18743
18743
|
padding: null,
|
|
18744
18744
|
position: null
|
|
@@ -18775,16 +18775,16 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18775
18775
|
};
|
|
18776
18776
|
}
|
|
18777
18777
|
});
|
|
18778
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18779
|
-
const _hoisted_1$
|
|
18778
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e0fbc7aa"]]);
|
|
18779
|
+
const _hoisted_1$k = { class: "ck-tr" };
|
|
18780
18780
|
function render2(_ctx, _cache) {
|
|
18781
|
-
return openBlock(), createElementBlock("tr", _hoisted_1$
|
|
18781
|
+
return openBlock(), createElementBlock("tr", _hoisted_1$k, [
|
|
18782
18782
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18783
18783
|
]);
|
|
18784
18784
|
}
|
|
18785
18785
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18786
|
-
const _sfc_main$
|
|
18787
|
-
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18786
|
+
const _sfc_main$o = {};
|
|
18787
|
+
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", render2], ["__scopeId", "data-v-519cf874"]]);
|
|
18788
18788
|
var functions = {
|
|
18789
18789
|
getCleekOptions(getCurrentInstance2) {
|
|
18790
18790
|
return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
|
|
@@ -18854,7 +18854,7 @@ var functions = {
|
|
|
18854
18854
|
}
|
|
18855
18855
|
};
|
|
18856
18856
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18857
|
-
const _sfc_main$
|
|
18857
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
18858
18858
|
props: {
|
|
18859
18859
|
col: null,
|
|
18860
18860
|
nowrap: { type: Boolean },
|
|
@@ -18943,7 +18943,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18943
18943
|
};
|
|
18944
18944
|
}
|
|
18945
18945
|
});
|
|
18946
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18946
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3abbbf2a"]]);
|
|
18947
18947
|
var axios$2 = { exports: {} };
|
|
18948
18948
|
var bind$2 = function bind2(fn, thisArg) {
|
|
18949
18949
|
return function wrap() {
|
|
@@ -20281,8 +20281,8 @@ const qmStr = {
|
|
|
20281
20281
|
}
|
|
20282
20282
|
};
|
|
20283
20283
|
var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20284
|
-
const _hoisted_1$
|
|
20285
|
-
const _sfc_main$
|
|
20284
|
+
const _hoisted_1$j = { class: "ck-th" };
|
|
20285
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
20286
20286
|
props: {
|
|
20287
20287
|
align: null,
|
|
20288
20288
|
minWidth: null
|
|
@@ -20302,7 +20302,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20302
20302
|
return list;
|
|
20303
20303
|
});
|
|
20304
20304
|
return (_ctx, _cache) => {
|
|
20305
|
-
return openBlock(), createElementBlock("th", _hoisted_1$
|
|
20305
|
+
return openBlock(), createElementBlock("th", _hoisted_1$j, [
|
|
20306
20306
|
createElementVNode("span", {
|
|
20307
20307
|
class: normalizeClass(unref$1(computedSpanClass)),
|
|
20308
20308
|
style: normalizeStyle(unref$1(computedStyle))
|
|
@@ -20313,8 +20313,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
20313
20313
|
};
|
|
20314
20314
|
}
|
|
20315
20315
|
});
|
|
20316
|
-
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20317
|
-
const _sfc_main$
|
|
20316
|
+
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-33e06a08"]]);
|
|
20317
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
20318
20318
|
props: {
|
|
20319
20319
|
col: null
|
|
20320
20320
|
},
|
|
@@ -20765,7 +20765,7 @@ defineComponent({
|
|
|
20765
20765
|
}
|
|
20766
20766
|
});
|
|
20767
20767
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20768
|
-
const _sfc_main$
|
|
20768
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
20769
20769
|
props: {
|
|
20770
20770
|
icon: null,
|
|
20771
20771
|
color: null,
|
|
@@ -20835,7 +20835,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20835
20835
|
};
|
|
20836
20836
|
}
|
|
20837
20837
|
});
|
|
20838
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20838
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-8816423e"]]);
|
|
20839
20839
|
function useWindowWidth() {
|
|
20840
20840
|
const windowWidth = ref(0);
|
|
20841
20841
|
function handleWindowResize(event) {
|
|
@@ -20855,8 +20855,8 @@ function useWindowWidth() {
|
|
|
20855
20855
|
};
|
|
20856
20856
|
}
|
|
20857
20857
|
var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20858
|
-
const _hoisted_1$
|
|
20859
|
-
const _sfc_main$
|
|
20858
|
+
const _hoisted_1$i = ["title", "aria-label", "disabled"];
|
|
20859
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
20860
20860
|
props: {
|
|
20861
20861
|
title: null,
|
|
20862
20862
|
disabled: { type: Boolean },
|
|
@@ -20966,14 +20966,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
20966
20966
|
icon: __props.iconRight,
|
|
20967
20967
|
"icon-pack": __props.iconPack
|
|
20968
20968
|
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode("", true)
|
|
20969
|
-
], 14, _hoisted_1$
|
|
20969
|
+
], 14, _hoisted_1$i);
|
|
20970
20970
|
};
|
|
20971
20971
|
}
|
|
20972
20972
|
});
|
|
20973
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20973
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-debd87be"]]);
|
|
20974
20974
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20975
|
-
const _hoisted_1$
|
|
20976
|
-
const _sfc_main$
|
|
20975
|
+
const _hoisted_1$h = ["for"];
|
|
20976
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
20977
20977
|
props: {
|
|
20978
20978
|
for: null,
|
|
20979
20979
|
align: null,
|
|
@@ -20997,14 +20997,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20997
20997
|
for: __props.for
|
|
20998
20998
|
}, [
|
|
20999
20999
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
21000
|
-
], 10, _hoisted_1$
|
|
21000
|
+
], 10, _hoisted_1$h);
|
|
21001
21001
|
};
|
|
21002
21002
|
}
|
|
21003
21003
|
});
|
|
21004
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21004
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-43625692"]]);
|
|
21005
21005
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21006
|
-
const _hoisted_1$
|
|
21007
|
-
const _sfc_main$
|
|
21006
|
+
const _hoisted_1$g = ["autocomplete", "type", "placeholder", "disabled"];
|
|
21007
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
21008
21008
|
props: {
|
|
21009
21009
|
modelValue: null,
|
|
21010
21010
|
type: null,
|
|
@@ -21149,7 +21149,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21149
21149
|
onChange: _cache[1] || (_cache[1] = ($event) => onChange2($event)),
|
|
21150
21150
|
onInput: _cache[2] || (_cache[2] = ($event) => onInput($event)),
|
|
21151
21151
|
onClick: _cache[3] || (_cache[3] = ($event) => onClick2($event))
|
|
21152
|
-
}, null, 42, _hoisted_1$
|
|
21152
|
+
}, null, 42, _hoisted_1$g), [
|
|
21153
21153
|
[vModelDynamic, unref$1(value)]
|
|
21154
21154
|
]),
|
|
21155
21155
|
__props.iconRight ? (openBlock(), createBlock(CkIcon, {
|
|
@@ -21163,10 +21163,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21163
21163
|
};
|
|
21164
21164
|
}
|
|
21165
21165
|
});
|
|
21166
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21166
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-30f54a2c"]]);
|
|
21167
21167
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21168
|
-
const _hoisted_1$
|
|
21169
|
-
const _sfc_main$
|
|
21168
|
+
const _hoisted_1$f = { class: "ck-table__header-items" };
|
|
21169
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
21170
21170
|
props: {
|
|
21171
21171
|
search: null,
|
|
21172
21172
|
hasColumnsManager: { type: Boolean },
|
|
@@ -21229,7 +21229,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21229
21229
|
checkRefresh
|
|
21230
21230
|
]);
|
|
21231
21231
|
return (_ctx, _cache) => {
|
|
21232
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21232
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
21233
21233
|
!__props.hideHeaderActions ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
21234
21234
|
unref$1(refreshBtnIsVisible) ? (openBlock(), createBlock(CkButton, {
|
|
21235
21235
|
key: 0,
|
|
@@ -21264,12 +21264,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21264
21264
|
};
|
|
21265
21265
|
}
|
|
21266
21266
|
});
|
|
21267
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21267
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-76d9dde9"]]);
|
|
21268
21268
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21269
|
-
const _hoisted_1$
|
|
21270
|
-
const _hoisted_2$
|
|
21271
|
-
const _hoisted_3$
|
|
21272
|
-
const _sfc_main$
|
|
21269
|
+
const _hoisted_1$e = { class: "ck-table__pagination" };
|
|
21270
|
+
const _hoisted_2$a = ["onClick"];
|
|
21271
|
+
const _hoisted_3$7 = ["onClick"];
|
|
21272
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
21273
21273
|
props: {
|
|
21274
21274
|
currentPage: null,
|
|
21275
21275
|
align: null,
|
|
@@ -21347,7 +21347,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
21347
21347
|
key: 0,
|
|
21348
21348
|
class: normalizeClass(["ck-table__pagination-container", `pagination-align--${__props.align}`])
|
|
21349
21349
|
}, [
|
|
21350
|
-
createElementVNode("div", _hoisted_1$
|
|
21350
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
21351
21351
|
unref$1(hasArrowLeft) ? (openBlock(), createElementBlock("div", {
|
|
21352
21352
|
key: 0,
|
|
21353
21353
|
class: "ck-table__pagination--arrow-left",
|
|
@@ -21359,7 +21359,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
21359
21359
|
return openBlock(), createElementBlock("div", {
|
|
21360
21360
|
class: "ck-table__pagination-item pagination-item__left",
|
|
21361
21361
|
onClick: ($event) => updateCurrentPage(num)
|
|
21362
|
-
}, toDisplayString(num), 9, _hoisted_2$
|
|
21362
|
+
}, toDisplayString(num), 9, _hoisted_2$a);
|
|
21363
21363
|
}), 256)),
|
|
21364
21364
|
createVNode(CkInput, {
|
|
21365
21365
|
class: "ck-table__pagination-input",
|
|
@@ -21375,7 +21375,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
21375
21375
|
return openBlock(), createElementBlock("div", {
|
|
21376
21376
|
class: "ck-table__pagination-item pagination-item__right",
|
|
21377
21377
|
onClick: ($event) => updateCurrentPage(num)
|
|
21378
|
-
}, toDisplayString(num), 9, _hoisted_3$
|
|
21378
|
+
}, toDisplayString(num), 9, _hoisted_3$7);
|
|
21379
21379
|
}), 256)),
|
|
21380
21380
|
unref$1(hasArrowRight) ? (openBlock(), createElementBlock("div", {
|
|
21381
21381
|
key: 1,
|
|
@@ -21389,7 +21389,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
21389
21389
|
};
|
|
21390
21390
|
}
|
|
21391
21391
|
});
|
|
21392
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21392
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-b8a184d6"]]);
|
|
21393
21393
|
const EMPTY_OBJ = {};
|
|
21394
21394
|
const NOOP = () => {
|
|
21395
21395
|
};
|
|
@@ -22162,13 +22162,13 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
22162
22162
|
};
|
|
22163
22163
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22164
22164
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-113ac83f"), n = n(), popScopeId(), n);
|
|
22165
|
-
const _hoisted_1$
|
|
22166
|
-
const _hoisted_2$
|
|
22167
|
-
const _hoisted_3$
|
|
22165
|
+
const _hoisted_1$d = ["disabled", "checked"];
|
|
22166
|
+
const _hoisted_2$9 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
22167
|
+
const _hoisted_3$6 = {
|
|
22168
22168
|
key: 0,
|
|
22169
22169
|
class: "c-Checkbox__label"
|
|
22170
22170
|
};
|
|
22171
|
-
const _sfc_main$
|
|
22171
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
22172
22172
|
props: {
|
|
22173
22173
|
modelValue: { type: Boolean },
|
|
22174
22174
|
label: null,
|
|
@@ -22216,24 +22216,24 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22216
22216
|
value.value = $event.target.checked;
|
|
22217
22217
|
onChange2($event);
|
|
22218
22218
|
})
|
|
22219
|
-
}, null, 40, _hoisted_1$
|
|
22220
|
-
_hoisted_2$
|
|
22221
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
22219
|
+
}, null, 40, _hoisted_1$d),
|
|
22220
|
+
_hoisted_2$9,
|
|
22221
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
|
|
22222
22222
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
22223
22223
|
])) : createCommentVNode("", true)
|
|
22224
22224
|
], 16);
|
|
22225
22225
|
};
|
|
22226
22226
|
}
|
|
22227
22227
|
});
|
|
22228
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22228
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-113ac83f"]]);
|
|
22229
22229
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
22230
|
-
const _hoisted_1$
|
|
22230
|
+
const _hoisted_1$c = {
|
|
22231
22231
|
key: 0,
|
|
22232
22232
|
class: "ck-popup"
|
|
22233
22233
|
};
|
|
22234
|
-
const _hoisted_2$
|
|
22235
|
-
const _hoisted_3$
|
|
22236
|
-
const _hoisted_4$
|
|
22234
|
+
const _hoisted_2$8 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
22235
|
+
const _hoisted_3$5 = { class: "ck-popup__slot-header" };
|
|
22236
|
+
const _hoisted_4$5 = {
|
|
22237
22237
|
key: 0,
|
|
22238
22238
|
class: "ck-popup__title"
|
|
22239
22239
|
};
|
|
@@ -22248,7 +22248,7 @@ const _hoisted_7 = {
|
|
|
22248
22248
|
};
|
|
22249
22249
|
const _hoisted_8 = /* @__PURE__ */ createTextVNode("Cancelar");
|
|
22250
22250
|
const _hoisted_9 = /* @__PURE__ */ createTextVNode("Aceptar");
|
|
22251
|
-
const _sfc_main$
|
|
22251
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
22252
22252
|
props: {
|
|
22253
22253
|
modelValue: { type: Boolean },
|
|
22254
22254
|
title: null,
|
|
@@ -22293,8 +22293,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22293
22293
|
isActive.value = false;
|
|
22294
22294
|
}
|
|
22295
22295
|
return (_ctx, _cache) => {
|
|
22296
|
-
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22297
|
-
_hoisted_2$
|
|
22296
|
+
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
22297
|
+
_hoisted_2$8,
|
|
22298
22298
|
createElementVNode("div", {
|
|
22299
22299
|
class: "popup-container",
|
|
22300
22300
|
onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
|
|
@@ -22305,8 +22305,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22305
22305
|
}, ["stop"])),
|
|
22306
22306
|
style: normalizeStyle(unref$1(computedStyleContent))
|
|
22307
22307
|
}, [
|
|
22308
|
-
createElementVNode("div", _hoisted_3$
|
|
22309
|
-
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$
|
|
22308
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
22309
|
+
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
22310
22310
|
renderSlot(_ctx.$slots, "header"),
|
|
22311
22311
|
!(__props.notCloseBtn || __props.notClose) ? (openBlock(), createBlock(CkIcon, {
|
|
22312
22312
|
key: 1,
|
|
@@ -22349,9 +22349,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22349
22349
|
}
|
|
22350
22350
|
});
|
|
22351
22351
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22352
|
-
const _hoisted_1$
|
|
22353
|
-
const _hoisted_2$
|
|
22354
|
-
const _sfc_main$
|
|
22352
|
+
const _hoisted_1$b = { class: "columns-manger-container" };
|
|
22353
|
+
const _hoisted_2$7 = { class: "columns-manger__item" };
|
|
22354
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22355
22355
|
props: {
|
|
22356
22356
|
modelValue: { type: Boolean },
|
|
22357
22357
|
columns: null,
|
|
@@ -22391,15 +22391,15 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22391
22391
|
props.columns[colName].isDisplayed = value;
|
|
22392
22392
|
}
|
|
22393
22393
|
return (_ctx, _cache) => {
|
|
22394
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22394
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
22395
22395
|
modelValue: unref$1(isActive),
|
|
22396
22396
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(isActive) ? isActive.value = $event : null),
|
|
22397
22397
|
title: "Administrador de columnas"
|
|
22398
22398
|
}, {
|
|
22399
22399
|
default: withCtx(() => [
|
|
22400
|
-
createElementVNode("div", _hoisted_1$
|
|
22400
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
22401
22401
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
|
|
22402
|
-
return openBlock(), createElementBlock("div", _hoisted_2$
|
|
22402
|
+
return openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
22403
22403
|
createVNode(CkCheckbox, {
|
|
22404
22404
|
modelValue: col.value,
|
|
22405
22405
|
"onUpdate:modelValue": ($event) => col.value = $event,
|
|
@@ -22419,25 +22419,25 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22419
22419
|
};
|
|
22420
22420
|
}
|
|
22421
22421
|
});
|
|
22422
|
-
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22422
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-2d6fd542"]]);
|
|
22423
22423
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
22424
22424
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
22425
|
-
const _hoisted_1$
|
|
22426
|
-
const _hoisted_2$
|
|
22425
|
+
const _hoisted_1$a = { class: "ck-table" };
|
|
22426
|
+
const _hoisted_2$6 = {
|
|
22427
22427
|
key: 0,
|
|
22428
22428
|
class: "ck-table__header"
|
|
22429
22429
|
};
|
|
22430
|
-
const _hoisted_3$
|
|
22430
|
+
const _hoisted_3$4 = {
|
|
22431
22431
|
key: 0,
|
|
22432
22432
|
class: "ck-table__header--slot"
|
|
22433
22433
|
};
|
|
22434
|
-
const _hoisted_4$
|
|
22434
|
+
const _hoisted_4$4 = { key: 0 };
|
|
22435
22435
|
const _hoisted_5$1 = { key: 1 };
|
|
22436
22436
|
const _hoisted_6$1 = {
|
|
22437
22437
|
key: 2,
|
|
22438
22438
|
class: "ck-table--mobile-container"
|
|
22439
22439
|
};
|
|
22440
|
-
const _sfc_main$
|
|
22440
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
22441
22441
|
props: {
|
|
22442
22442
|
columns: null,
|
|
22443
22443
|
hasColumnsManager: { type: Boolean },
|
|
@@ -22541,7 +22541,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22541
22541
|
TableColumnsManager,
|
|
22542
22542
|
TablePagination,
|
|
22543
22543
|
TableHeaderItems,
|
|
22544
|
-
_sfc_main$
|
|
22544
|
+
_sfc_main$l
|
|
22545
22545
|
]);
|
|
22546
22546
|
return (_ctx, _cache) => {
|
|
22547
22547
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -22552,8 +22552,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22552
22552
|
columnsArray: unref$1(columnsArray),
|
|
22553
22553
|
columns: __props.columns || []
|
|
22554
22554
|
}, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
|
|
22555
|
-
createElementVNode("div", _hoisted_1$
|
|
22556
|
-
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
22555
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
22556
|
+
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
22557
22557
|
createVNode(TableHeaderItems, {
|
|
22558
22558
|
search: unref$1(searchLocal),
|
|
22559
22559
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
|
|
@@ -22567,7 +22567,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22567
22567
|
onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
|
|
22568
22568
|
onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
|
|
22569
22569
|
}, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage"]),
|
|
22570
|
-
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
22570
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
22571
22571
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
22572
22572
|
])) : createCommentVNode("", true)
|
|
22573
22573
|
])) : createCommentVNode("", true),
|
|
@@ -22578,11 +22578,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22578
22578
|
createElementVNode("table", {
|
|
22579
22579
|
class: normalizeClass(["ck-table__table", unref$1(computedClassTable)])
|
|
22580
22580
|
}, [
|
|
22581
|
-
unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$
|
|
22581
|
+
unref$1(filteredColumnsList).length && !(_ctx.$slots.mobile && unref$1(isMobileVisible)) ? (openBlock(), createElementBlock("thead", _hoisted_4$4, [
|
|
22582
22582
|
createVNode(CkTr, null, {
|
|
22583
22583
|
default: withCtx(() => [
|
|
22584
22584
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
|
|
22585
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22585
|
+
return openBlock(), createBlock(_sfc_main$l, {
|
|
22586
22586
|
key: col.title,
|
|
22587
22587
|
col
|
|
22588
22588
|
}, null, 8, ["col"]);
|
|
@@ -22632,10 +22632,10 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22632
22632
|
};
|
|
22633
22633
|
}
|
|
22634
22634
|
});
|
|
22635
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22635
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-26890d44"]]);
|
|
22636
22636
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22637
|
-
const _hoisted_1$
|
|
22638
|
-
const _sfc_main$
|
|
22637
|
+
const _hoisted_1$9 = ["color"];
|
|
22638
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22639
22639
|
props: {
|
|
22640
22640
|
size: null,
|
|
22641
22641
|
color: null,
|
|
@@ -22670,13 +22670,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
22670
22670
|
"icon-pack": __props.iconPack
|
|
22671
22671
|
}, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
|
|
22672
22672
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
22673
|
-
], 14, _hoisted_1$
|
|
22673
|
+
], 14, _hoisted_1$9);
|
|
22674
22674
|
};
|
|
22675
22675
|
}
|
|
22676
22676
|
});
|
|
22677
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22677
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-36521210"]]);
|
|
22678
22678
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
22679
|
-
const _sfc_main$
|
|
22679
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22680
22680
|
props: {
|
|
22681
22681
|
widthBreaks: null
|
|
22682
22682
|
},
|
|
@@ -22710,8 +22710,8 @@ var globalVariables = {
|
|
|
22710
22710
|
defaultImgBorderColor: "#EEEEEE"
|
|
22711
22711
|
};
|
|
22712
22712
|
var ckImg_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22713
|
-
const _hoisted_1$
|
|
22714
|
-
const _sfc_main$
|
|
22713
|
+
const _hoisted_1$8 = ["src", "alt"];
|
|
22714
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
22715
22715
|
props: {
|
|
22716
22716
|
src: null,
|
|
22717
22717
|
failImgSrc: null,
|
|
@@ -22820,22 +22820,22 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
22820
22820
|
style: normalizeStyle(unref$1(computedImgStyle)),
|
|
22821
22821
|
alt: __props.alt,
|
|
22822
22822
|
onError: _cache[0] || (_cache[0] = ($event) => altNeeded.value = true)
|
|
22823
|
-
}, null, 44, _hoisted_1$
|
|
22823
|
+
}, null, 44, _hoisted_1$8)
|
|
22824
22824
|
], 6);
|
|
22825
22825
|
};
|
|
22826
22826
|
}
|
|
22827
22827
|
});
|
|
22828
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22828
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-4d100c3a"]]);
|
|
22829
22829
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22830
22830
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
|
|
22831
|
-
const _hoisted_1$
|
|
22832
|
-
const _hoisted_2$
|
|
22833
|
-
const _hoisted_3$
|
|
22834
|
-
const _hoisted_4$
|
|
22831
|
+
const _hoisted_1$7 = ["onKeyup"];
|
|
22832
|
+
const _hoisted_2$5 = ["name", "value", "disabled"];
|
|
22833
|
+
const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
|
|
22834
|
+
const _hoisted_4$3 = {
|
|
22835
22835
|
key: 0,
|
|
22836
22836
|
class: "c-Radio__label"
|
|
22837
22837
|
};
|
|
22838
|
-
const _sfc_main$
|
|
22838
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
22839
22839
|
props: {
|
|
22840
22840
|
modelValue: null,
|
|
22841
22841
|
name: null,
|
|
@@ -22884,21 +22884,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22884
22884
|
name: __props.name,
|
|
22885
22885
|
value: option.value,
|
|
22886
22886
|
disabled: __props.disabled
|
|
22887
|
-
}, null, 8, _hoisted_2$
|
|
22887
|
+
}, null, 8, _hoisted_2$5), [
|
|
22888
22888
|
[vModelRadio, unref$1(value)]
|
|
22889
22889
|
]),
|
|
22890
|
-
_hoisted_3$
|
|
22891
|
-
option.label ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
22892
|
-
], 16, _hoisted_1$
|
|
22890
|
+
_hoisted_3$3,
|
|
22891
|
+
option.label ? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString(option.label), 1)) : createCommentVNode("", true)
|
|
22892
|
+
], 16, _hoisted_1$7);
|
|
22893
22893
|
}), 128);
|
|
22894
22894
|
};
|
|
22895
22895
|
}
|
|
22896
22896
|
});
|
|
22897
|
-
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22897
|
+
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2e09b238"]]);
|
|
22898
22898
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22899
|
-
const _hoisted_1$
|
|
22900
|
-
const _hoisted_2$
|
|
22901
|
-
const _sfc_main$
|
|
22899
|
+
const _hoisted_1$6 = ["disabled"];
|
|
22900
|
+
const _hoisted_2$4 = ["value"];
|
|
22901
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
22902
22902
|
props: {
|
|
22903
22903
|
modelValue: null,
|
|
22904
22904
|
prop: null,
|
|
@@ -23086,22 +23086,22 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23086
23086
|
return openBlock(), createElementBlock("option", {
|
|
23087
23087
|
value: getOptionValue(option),
|
|
23088
23088
|
key: option
|
|
23089
|
-
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$
|
|
23089
|
+
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$4);
|
|
23090
23090
|
}), 128))
|
|
23091
|
-
], 42, _hoisted_1$
|
|
23091
|
+
], 42, _hoisted_1$6), [
|
|
23092
23092
|
[vModelSelect, unref$1(value)]
|
|
23093
23093
|
])
|
|
23094
23094
|
], 4);
|
|
23095
23095
|
};
|
|
23096
23096
|
}
|
|
23097
23097
|
});
|
|
23098
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23098
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-37612997"]]);
|
|
23099
23099
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23100
|
-
const _hoisted_1$
|
|
23100
|
+
const _hoisted_1$5 = {
|
|
23101
23101
|
key: 1,
|
|
23102
23102
|
class: "sidebar-header-title"
|
|
23103
23103
|
};
|
|
23104
|
-
const _sfc_main$
|
|
23104
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
23105
23105
|
props: {
|
|
23106
23106
|
modelValue: { type: Boolean },
|
|
23107
23107
|
title: null,
|
|
@@ -23150,7 +23150,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23150
23150
|
class: "mr-2",
|
|
23151
23151
|
icon: "times"
|
|
23152
23152
|
})) : createCommentVNode("", true),
|
|
23153
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23153
|
+
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
23154
23154
|
!__props.rightSide ? (openBlock(), createBlock(_component_ck_icon, {
|
|
23155
23155
|
key: 2,
|
|
23156
23156
|
class: "ml-2",
|
|
@@ -23165,17 +23165,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23165
23165
|
};
|
|
23166
23166
|
}
|
|
23167
23167
|
});
|
|
23168
|
-
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23168
|
+
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-caa98a4c"]]);
|
|
23169
23169
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23170
23170
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-f66bfcc0"), n = n(), popScopeId(), n);
|
|
23171
|
-
const _hoisted_1$
|
|
23172
|
-
const _hoisted_2$
|
|
23173
|
-
const _hoisted_3$
|
|
23174
|
-
const _hoisted_4$
|
|
23171
|
+
const _hoisted_1$4 = ["disabled"];
|
|
23172
|
+
const _hoisted_2$3 = { class: "ck-switch__slider-container" };
|
|
23173
|
+
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
|
|
23174
|
+
const _hoisted_4$2 = {
|
|
23175
23175
|
key: 0,
|
|
23176
23176
|
class: "ck-switch__content"
|
|
23177
23177
|
};
|
|
23178
|
-
const _sfc_main$
|
|
23178
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
23179
23179
|
props: {
|
|
23180
23180
|
modelValue: { type: [Boolean, Number] },
|
|
23181
23181
|
disabled: { type: Boolean },
|
|
@@ -23240,11 +23240,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23240
23240
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
23241
23241
|
disabled: __props.disabled,
|
|
23242
23242
|
onClick: _cache[1] || (_cache[1] = ($event) => onTrigger())
|
|
23243
|
-
}, null, 8, _hoisted_1$
|
|
23243
|
+
}, null, 8, _hoisted_1$4), [
|
|
23244
23244
|
[vModelCheckbox, unref$1(value)]
|
|
23245
23245
|
]),
|
|
23246
|
-
createElementVNode("div", _hoisted_2$
|
|
23247
|
-
_hoisted_3$
|
|
23246
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
23247
|
+
_hoisted_3$2,
|
|
23248
23248
|
__props.icon && unref$1(value) ? (openBlock(), createBlock(CkIcon, {
|
|
23249
23249
|
key: 0,
|
|
23250
23250
|
class: normalizeClass(["ck-switch__icon-left", unref$1(iconClass)]),
|
|
@@ -23258,18 +23258,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23258
23258
|
"icon-pack": __props.iconPack
|
|
23259
23259
|
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode("", true)
|
|
23260
23260
|
]),
|
|
23261
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
23261
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_4$2, [
|
|
23262
23262
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
23263
23263
|
])) : createCommentVNode("", true)
|
|
23264
23264
|
], 16);
|
|
23265
23265
|
};
|
|
23266
23266
|
}
|
|
23267
23267
|
});
|
|
23268
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23268
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f66bfcc0"]]);
|
|
23269
23269
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23270
|
-
const _hoisted_1$
|
|
23271
|
-
const _hoisted_2$
|
|
23272
|
-
const _sfc_main$
|
|
23270
|
+
const _hoisted_1$3 = { class: "ck-switch-options__container-exterior" };
|
|
23271
|
+
const _hoisted_2$2 = ["onClick"];
|
|
23272
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
23273
23273
|
props: {
|
|
23274
23274
|
modelValue: { type: [Boolean, Number, Object] },
|
|
23275
23275
|
options: null,
|
|
@@ -23321,7 +23321,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23321
23321
|
getOptionValue
|
|
23322
23322
|
]);
|
|
23323
23323
|
return (_ctx, _cache) => {
|
|
23324
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23324
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
23325
23325
|
__props.label ? (openBlock(), createBlock(CkLabel, {
|
|
23326
23326
|
key: 0,
|
|
23327
23327
|
align: __props.labelAlign
|
|
@@ -23340,17 +23340,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23340
23340
|
key: `ck-switch-options${index}`,
|
|
23341
23341
|
style: normalizeStyle(unref$1(computedItemStyle)),
|
|
23342
23342
|
onClick: ($event) => selectedOption.value = getOptionValue(option)
|
|
23343
|
-
}, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$
|
|
23343
|
+
}, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$2);
|
|
23344
23344
|
}), 128))
|
|
23345
23345
|
], 2)
|
|
23346
23346
|
]);
|
|
23347
23347
|
};
|
|
23348
23348
|
}
|
|
23349
23349
|
});
|
|
23350
|
-
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23350
|
+
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4bc709a8"]]);
|
|
23351
23351
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23352
|
-
const _hoisted_1$
|
|
23353
|
-
const _sfc_main$
|
|
23352
|
+
const _hoisted_1$2 = { class: "ck-textarea" };
|
|
23353
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
23354
23354
|
props: {
|
|
23355
23355
|
modelValue: null,
|
|
23356
23356
|
label: null,
|
|
@@ -23368,7 +23368,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23368
23368
|
}
|
|
23369
23369
|
});
|
|
23370
23370
|
return (_ctx, _cache) => {
|
|
23371
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23371
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
23372
23372
|
__props.label ? (openBlock(), createBlock(CkLabel, {
|
|
23373
23373
|
key: 0,
|
|
23374
23374
|
"label-align": __props.labelAlign
|
|
@@ -23387,24 +23387,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23387
23387
|
};
|
|
23388
23388
|
}
|
|
23389
23389
|
});
|
|
23390
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23390
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-373450fe"]]);
|
|
23391
23391
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23392
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
23393
|
-
const _hoisted_1 = { class: "ck-confirm--background" };
|
|
23394
|
-
const _hoisted_2 = { class: "ck-confirm" };
|
|
23395
|
-
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
|
|
23392
|
+
const _withScopeId = (n) => (pushScopeId("data-v-559f1615"), n = n(), popScopeId(), n);
|
|
23393
|
+
const _hoisted_1$1 = { class: "ck-confirm--background" };
|
|
23394
|
+
const _hoisted_2$1 = { class: "ck-confirm" };
|
|
23395
|
+
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
|
|
23396
23396
|
/* @__PURE__ */ createElementVNode("img", {
|
|
23397
23397
|
class: "ck-confirm__icon--img",
|
|
23398
23398
|
src: "https://img.quanticonion.com/icons/hexagon-exclamation.png",
|
|
23399
23399
|
height: "7rem"
|
|
23400
23400
|
})
|
|
23401
23401
|
], -1));
|
|
23402
|
-
const _hoisted_4 = { class: "ck-confirm__title" };
|
|
23402
|
+
const _hoisted_4$1 = { class: "ck-confirm__title" };
|
|
23403
23403
|
const _hoisted_5 = { class: "ck-confirm__message" };
|
|
23404
23404
|
const _hoisted_6 = { class: "ck-confirm__buttons-container" };
|
|
23405
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23405
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
23406
23406
|
setup(__props, { expose }) {
|
|
23407
|
-
ref(true);
|
|
23408
23407
|
const title = ref("");
|
|
23409
23408
|
const msg = ref("");
|
|
23410
23409
|
const acceptText = ref("Aceptar");
|
|
@@ -23428,10 +23427,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23428
23427
|
responseFailure
|
|
23429
23428
|
});
|
|
23430
23429
|
return (_ctx, _cache) => {
|
|
23431
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
23432
|
-
createElementVNode("div", _hoisted_2, [
|
|
23433
|
-
_hoisted_3,
|
|
23434
|
-
createElementVNode("div", _hoisted_4, toDisplayString(title.value), 1),
|
|
23430
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
23431
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
23432
|
+
_hoisted_3$1,
|
|
23433
|
+
createElementVNode("div", _hoisted_4$1, toDisplayString(title.value), 1),
|
|
23435
23434
|
createElementVNode("div", _hoisted_5, toDisplayString(msg.value), 1),
|
|
23436
23435
|
createElementVNode("div", _hoisted_6, [
|
|
23437
23436
|
createElementVNode("button", {
|
|
@@ -23448,7 +23447,49 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23448
23447
|
};
|
|
23449
23448
|
}
|
|
23450
23449
|
});
|
|
23451
|
-
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
23450
|
+
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-559f1615"]]);
|
|
23451
|
+
var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23452
|
+
const _hoisted_1 = { class: "ck-notify__container" };
|
|
23453
|
+
const _hoisted_2 = { class: "ck-notify__title" };
|
|
23454
|
+
const _hoisted_3 = { class: "close-btn" };
|
|
23455
|
+
const _hoisted_4 = { class: "ck-notify__text" };
|
|
23456
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23457
|
+
setup(__props, { expose }) {
|
|
23458
|
+
const isActive = ref(true);
|
|
23459
|
+
const title = ref("");
|
|
23460
|
+
const text2 = ref("");
|
|
23461
|
+
const color = ref("");
|
|
23462
|
+
expose({
|
|
23463
|
+
title,
|
|
23464
|
+
text: text2,
|
|
23465
|
+
color
|
|
23466
|
+
});
|
|
23467
|
+
return (_ctx, _cache) => {
|
|
23468
|
+
return isActive.value ? (openBlock(), createBlock(Teleport, {
|
|
23469
|
+
key: 0,
|
|
23470
|
+
to: "body"
|
|
23471
|
+
}, [
|
|
23472
|
+
createElementVNode("div", _hoisted_1, [
|
|
23473
|
+
createElementVNode("div", {
|
|
23474
|
+
class: "ck-notify",
|
|
23475
|
+
style: normalizeStyle({ "background-color": color.value }),
|
|
23476
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isActive.value.value = false)
|
|
23477
|
+
}, [
|
|
23478
|
+
createElementVNode("div", _hoisted_2, [
|
|
23479
|
+
createElementVNode("div", _hoisted_3, [
|
|
23480
|
+
createVNode(CkIcon, { icon: "times" })
|
|
23481
|
+
]),
|
|
23482
|
+
createTextVNode(toDisplayString(title.value), 1)
|
|
23483
|
+
]),
|
|
23484
|
+
createElementVNode("div", _hoisted_4, toDisplayString(text2.value), 1)
|
|
23485
|
+
], 4)
|
|
23486
|
+
])
|
|
23487
|
+
])) : createCommentVNode("", true);
|
|
23488
|
+
};
|
|
23489
|
+
}
|
|
23490
|
+
});
|
|
23491
|
+
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-515c0b0b"]]);
|
|
23492
|
+
const defaultDuration = 2e3;
|
|
23452
23493
|
var ckNotify = {
|
|
23453
23494
|
confirm({
|
|
23454
23495
|
title = "\xBFEst\xE1s seguro?",
|
|
@@ -23475,6 +23516,25 @@ var ckNotify = {
|
|
|
23475
23516
|
failure();
|
|
23476
23517
|
};
|
|
23477
23518
|
document.body.appendChild(instance.$el);
|
|
23519
|
+
},
|
|
23520
|
+
notify({ text: text2 = "", title = "", color = "#ccc", duration = defaultDuration }) {
|
|
23521
|
+
const tempDiv = document.createElement("div");
|
|
23522
|
+
const instance = createApp(CkNotifyComponent).mount(tempDiv);
|
|
23523
|
+
instance.title = title;
|
|
23524
|
+
instance.text = text2;
|
|
23525
|
+
instance.color = color;
|
|
23526
|
+
setTimeout(() => {
|
|
23527
|
+
instance.$el.remove();
|
|
23528
|
+
}, duration);
|
|
23529
|
+
},
|
|
23530
|
+
notifySuccess(text2 = "", title = "\xC9xito") {
|
|
23531
|
+
this.notify({ text: text2, title, color: "#66CC00" });
|
|
23532
|
+
},
|
|
23533
|
+
notifyError(text2 = "", title = "Error") {
|
|
23534
|
+
this.notify({ text: text2, title, color: "#FF3333" });
|
|
23535
|
+
},
|
|
23536
|
+
notifyWarning(text2 = "", title = "Atenci\xF3n") {
|
|
23537
|
+
this.notify({ text: text2, title, color: "#FFDD33" });
|
|
23478
23538
|
}
|
|
23479
23539
|
};
|
|
23480
23540
|
var components = /* @__PURE__ */ Object.freeze({
|
|
@@ -23489,12 +23549,12 @@ var components = /* @__PURE__ */ Object.freeze({
|
|
|
23489
23549
|
CkButton,
|
|
23490
23550
|
CkCheckbox,
|
|
23491
23551
|
CkChip: ckChip,
|
|
23492
|
-
CkDiv: _sfc_main$
|
|
23552
|
+
CkDiv: _sfc_main$9,
|
|
23493
23553
|
CkIcon,
|
|
23494
23554
|
CkImg: ckImg,
|
|
23495
23555
|
CkInput,
|
|
23496
23556
|
CkLabel,
|
|
23497
|
-
CkPopup: _sfc_main$
|
|
23557
|
+
CkPopup: _sfc_main$d,
|
|
23498
23558
|
CkRadio: ckRadio,
|
|
23499
23559
|
CkSelect: ckSelect,
|
|
23500
23560
|
CkSidebar: ckSidebar,
|
|
@@ -23534,4 +23594,4 @@ const install = function installCleek(app, options) {
|
|
|
23534
23594
|
app.component(componentName, component);
|
|
23535
23595
|
});
|
|
23536
23596
|
};
|
|
23537
|
-
export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$
|
|
23597
|
+
export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$9 as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$d as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, CkTr, ckNotify, install as default };
|