cleek 2.4.48 → 2.4.51
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-styles/clear-app.styl +12 -0
- package/dist/cleek.es.js +183 -112
- package/dist/cleek.umd.js +10 -10
- package/dist/components/ck-input.vue.d.ts +2 -0
- package/dist/components/ck-notify/ck-notify.d.ts +6 -0
- package/dist/components/ck-notify/components/CkAlert.vue.d.ts +6 -0
- package/dist/components/ck-notify/components/CkConfirm.vue.d.ts +6 -7
- package/dist/style.css +1 -1
- package/dist/types/cleek-options.d.ts +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -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$s = defineComponent({
|
|
2542
2542
|
name: "VTooltipDirective",
|
|
2543
2543
|
components: {
|
|
2544
2544
|
Popper: PrivatePopper(),
|
|
@@ -2629,7 +2629,7 @@ const _sfc_main$r = defineComponent({
|
|
|
2629
2629
|
}
|
|
2630
2630
|
}
|
|
2631
2631
|
});
|
|
2632
|
-
const _hoisted_1$
|
|
2632
|
+
const _hoisted_1$m = ["innerHTML"];
|
|
2633
2633
|
const _hoisted_2$c = ["textContent"];
|
|
2634
2634
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2635
2635
|
const _component_PopperContent = resolveComponent("PopperContent");
|
|
@@ -2673,7 +2673,7 @@ 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
2679
|
}, null, 8, _hoisted_2$c))
|
|
@@ -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$s, [["render", _sfc_render]]);
|
|
2688
2688
|
const TARGET_CLASS = "v-popper--has-tooltip";
|
|
2689
2689
|
function getPlacement(options2, modifiers) {
|
|
2690
2690
|
let result = options2.placement;
|
|
@@ -18769,8 +18769,8 @@ var _export_sfc = (sfc, props) => {
|
|
|
18769
18769
|
}
|
|
18770
18770
|
return target;
|
|
18771
18771
|
};
|
|
18772
|
-
const _hoisted_1$
|
|
18773
|
-
const _sfc_main$
|
|
18772
|
+
const _hoisted_1$l = { class: "ck-dropdown__popper-container" };
|
|
18773
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
18774
18774
|
props: {
|
|
18775
18775
|
dark: { type: Boolean },
|
|
18776
18776
|
align: null,
|
|
@@ -18823,7 +18823,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18823
18823
|
}, [
|
|
18824
18824
|
renderSlot(_ctx.$slots, "trigger", {}, void 0, true)
|
|
18825
18825
|
]),
|
|
18826
|
-
createElementVNode("div", _hoisted_1$
|
|
18826
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
18827
18827
|
isOpen.value ? (openBlock(), createElementBlock("section", {
|
|
18828
18828
|
key: 0,
|
|
18829
18829
|
class: normalizeClass(["ck-dropdown__popper", unref$1(computedClassPopper)]),
|
|
@@ -18840,9 +18840,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18840
18840
|
};
|
|
18841
18841
|
}
|
|
18842
18842
|
});
|
|
18843
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18843
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-62129388"]]);
|
|
18844
18844
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18845
|
-
const _sfc_main$
|
|
18845
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
18846
18846
|
props: {
|
|
18847
18847
|
padding: null,
|
|
18848
18848
|
position: null
|
|
@@ -18879,18 +18879,18 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18879
18879
|
};
|
|
18880
18880
|
}
|
|
18881
18881
|
});
|
|
18882
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18883
|
-
const _hoisted_1$
|
|
18882
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-66dc4f95"]]);
|
|
18883
|
+
const _hoisted_1$k = { class: "ck-tr" };
|
|
18884
18884
|
function render2(_ctx, _cache) {
|
|
18885
|
-
return openBlock(), createElementBlock("tr", _hoisted_1$
|
|
18885
|
+
return openBlock(), createElementBlock("tr", _hoisted_1$k, [
|
|
18886
18886
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18887
18887
|
]);
|
|
18888
18888
|
}
|
|
18889
18889
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18890
|
-
const _sfc_main$
|
|
18891
|
-
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18890
|
+
const _sfc_main$p = {};
|
|
18891
|
+
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", render2], ["__scopeId", "data-v-519cf874"]]);
|
|
18892
18892
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18893
|
-
const _sfc_main$
|
|
18893
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
18894
18894
|
props: {
|
|
18895
18895
|
col: null,
|
|
18896
18896
|
nowrap: { type: Boolean },
|
|
@@ -18979,7 +18979,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18979
18979
|
};
|
|
18980
18980
|
}
|
|
18981
18981
|
});
|
|
18982
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18982
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-eb135f78"]]);
|
|
18983
18983
|
var axios$2 = { exports: {} };
|
|
18984
18984
|
var bind$2 = function bind2(fn, thisArg) {
|
|
18985
18985
|
return function wrap() {
|
|
@@ -20317,8 +20317,8 @@ const qmStr = {
|
|
|
20317
20317
|
}
|
|
20318
20318
|
};
|
|
20319
20319
|
var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20320
|
-
const _hoisted_1$
|
|
20321
|
-
const _sfc_main$
|
|
20320
|
+
const _hoisted_1$j = { class: "ck-th" };
|
|
20321
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
20322
20322
|
props: {
|
|
20323
20323
|
align: null,
|
|
20324
20324
|
minWidth: null
|
|
@@ -20338,7 +20338,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
20338
20338
|
return list;
|
|
20339
20339
|
});
|
|
20340
20340
|
return (_ctx, _cache) => {
|
|
20341
|
-
return openBlock(), createElementBlock("th", _hoisted_1$
|
|
20341
|
+
return openBlock(), createElementBlock("th", _hoisted_1$j, [
|
|
20342
20342
|
createElementVNode("span", {
|
|
20343
20343
|
class: normalizeClass(unref$1(computedSpanClass)),
|
|
20344
20344
|
style: normalizeStyle(unref$1(computedStyle))
|
|
@@ -20349,8 +20349,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
20349
20349
|
};
|
|
20350
20350
|
}
|
|
20351
20351
|
});
|
|
20352
|
-
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20353
|
-
const _sfc_main$
|
|
20352
|
+
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-33e06a08"]]);
|
|
20353
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
20354
20354
|
props: {
|
|
20355
20355
|
col: null
|
|
20356
20356
|
},
|
|
@@ -20801,7 +20801,7 @@ defineComponent({
|
|
|
20801
20801
|
}
|
|
20802
20802
|
});
|
|
20803
20803
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20804
|
-
const _sfc_main$
|
|
20804
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
20805
20805
|
props: {
|
|
20806
20806
|
icon: null,
|
|
20807
20807
|
iconPack: null,
|
|
@@ -20865,7 +20865,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20865
20865
|
};
|
|
20866
20866
|
}
|
|
20867
20867
|
});
|
|
20868
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20868
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a8333ef4"]]);
|
|
20869
20869
|
function useWindowWidth() {
|
|
20870
20870
|
const windowWidth = ref(0);
|
|
20871
20871
|
function handleWindowResize(event) {
|
|
@@ -20885,8 +20885,8 @@ function useWindowWidth() {
|
|
|
20885
20885
|
};
|
|
20886
20886
|
}
|
|
20887
20887
|
var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20888
|
-
const _hoisted_1$
|
|
20889
|
-
const _sfc_main$
|
|
20888
|
+
const _hoisted_1$i = ["title", "aria-label", "disabled"];
|
|
20889
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
20890
20890
|
props: {
|
|
20891
20891
|
title: null,
|
|
20892
20892
|
disabled: { type: Boolean },
|
|
@@ -20992,14 +20992,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20992
20992
|
icon: __props.iconRight,
|
|
20993
20993
|
"icon-pack": __props.iconPack
|
|
20994
20994
|
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode("", true)
|
|
20995
|
-
], 14, _hoisted_1$
|
|
20995
|
+
], 14, _hoisted_1$i);
|
|
20996
20996
|
};
|
|
20997
20997
|
}
|
|
20998
20998
|
});
|
|
20999
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20999
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3a844574"]]);
|
|
21000
21000
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21001
|
-
const _hoisted_1$
|
|
21002
|
-
const _sfc_main$
|
|
21001
|
+
const _hoisted_1$h = ["for"];
|
|
21002
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
21003
21003
|
props: {
|
|
21004
21004
|
for: null,
|
|
21005
21005
|
align: null,
|
|
@@ -21023,14 +21023,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
21023
21023
|
for: __props.for
|
|
21024
21024
|
}, [
|
|
21025
21025
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
21026
|
-
], 10, _hoisted_1$
|
|
21026
|
+
], 10, _hoisted_1$h);
|
|
21027
21027
|
};
|
|
21028
21028
|
}
|
|
21029
21029
|
});
|
|
21030
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21030
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-a4566770"]]);
|
|
21031
21031
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21032
|
-
const _hoisted_1$
|
|
21033
|
-
const _sfc_main$
|
|
21032
|
+
const _hoisted_1$g = ["autocomplete", "type", "placeholder", "disabled"];
|
|
21033
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
21034
21034
|
props: {
|
|
21035
21035
|
modelValue: null,
|
|
21036
21036
|
type: null,
|
|
@@ -21052,6 +21052,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21052
21052
|
align: null,
|
|
21053
21053
|
layout: null,
|
|
21054
21054
|
borderColor: null,
|
|
21055
|
+
textColor: null,
|
|
21055
21056
|
capitalize: { type: Boolean },
|
|
21056
21057
|
autoSelect: { type: Boolean },
|
|
21057
21058
|
delayChangeTime: null
|
|
@@ -21121,6 +21122,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21121
21122
|
const computedStyleInput = computed$2(() => {
|
|
21122
21123
|
var _a;
|
|
21123
21124
|
const list = [];
|
|
21125
|
+
if (props.fontSize)
|
|
21126
|
+
list.push({ "font-size": props.fontSize });
|
|
21127
|
+
if (props.textColor)
|
|
21128
|
+
list.push({ "color": props.textColor });
|
|
21124
21129
|
const borderColor = props.borderColor || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.borderColor);
|
|
21125
21130
|
if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
|
|
21126
21131
|
list.push({ "border-color": borderColor });
|
|
@@ -21200,7 +21205,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21200
21205
|
onChange: _cache[1] || (_cache[1] = ($event) => onChange2($event)),
|
|
21201
21206
|
onInput: _cache[2] || (_cache[2] = ($event) => onInput($event)),
|
|
21202
21207
|
onClick: _cache[3] || (_cache[3] = ($event) => onClick2($event))
|
|
21203
|
-
}, null, 46, _hoisted_1$
|
|
21208
|
+
}, null, 46, _hoisted_1$g), [
|
|
21204
21209
|
[vModelDynamic, unref$1(value)]
|
|
21205
21210
|
]),
|
|
21206
21211
|
__props.iconRight ? (openBlock(), createBlock(CkIcon, {
|
|
@@ -21214,9 +21219,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21214
21219
|
};
|
|
21215
21220
|
}
|
|
21216
21221
|
});
|
|
21217
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21222
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bd6a630e"]]);
|
|
21218
21223
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21219
|
-
const _sfc_main$
|
|
21224
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
21220
21225
|
props: {
|
|
21221
21226
|
search: null,
|
|
21222
21227
|
hasColumnsManager: { type: Boolean },
|
|
@@ -21326,16 +21331,16 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21326
21331
|
};
|
|
21327
21332
|
}
|
|
21328
21333
|
});
|
|
21329
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21334
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4bfc21c8"]]);
|
|
21330
21335
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21331
21336
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-78fe58de"), n = n(), popScopeId(), n);
|
|
21332
|
-
const _hoisted_1$
|
|
21337
|
+
const _hoisted_1$f = { class: "ck-table__pagination" };
|
|
21333
21338
|
const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
|
|
21334
21339
|
const _hoisted_3$7 = ["onClick"];
|
|
21335
21340
|
const _hoisted_4$6 = { class: "ck-table__pagination-input-container" };
|
|
21336
21341
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
21337
21342
|
const _hoisted_6$3 = ["onClick"];
|
|
21338
|
-
const _sfc_main$
|
|
21343
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
21339
21344
|
props: {
|
|
21340
21345
|
currentPage: null,
|
|
21341
21346
|
align: null,
|
|
@@ -21427,7 +21432,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21427
21432
|
key: 0,
|
|
21428
21433
|
class: normalizeClass(["ck-table__pagination-container", unref$1(computedClass)])
|
|
21429
21434
|
}, [
|
|
21430
|
-
createElementVNode("div", _hoisted_1$
|
|
21435
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
21431
21436
|
createElementVNode("div", {
|
|
21432
21437
|
class: normalizeClass(["ck-table__pagination--arrow-left", { disabled: !unref$1(hasArrowLeft) }]),
|
|
21433
21438
|
onClick: _cache[0] || (_cache[0] = ($event) => updateCurrentPage(__props.currentPage - 1, unref$1(hasArrowLeft)))
|
|
@@ -21475,7 +21480,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21475
21480
|
};
|
|
21476
21481
|
}
|
|
21477
21482
|
});
|
|
21478
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21483
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-78fe58de"]]);
|
|
21479
21484
|
const EMPTY_OBJ = {};
|
|
21480
21485
|
const NOOP = () => {
|
|
21481
21486
|
};
|
|
@@ -22248,13 +22253,13 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
22248
22253
|
};
|
|
22249
22254
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22250
22255
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-113ac83f"), n = n(), popScopeId(), n);
|
|
22251
|
-
const _hoisted_1$
|
|
22256
|
+
const _hoisted_1$e = ["disabled", "checked"];
|
|
22252
22257
|
const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
22253
22258
|
const _hoisted_3$6 = {
|
|
22254
22259
|
key: 0,
|
|
22255
22260
|
class: "c-Checkbox__label"
|
|
22256
22261
|
};
|
|
22257
|
-
const _sfc_main$
|
|
22262
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
22258
22263
|
props: {
|
|
22259
22264
|
modelValue: { type: Boolean },
|
|
22260
22265
|
label: null,
|
|
@@ -22302,7 +22307,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22302
22307
|
value.value = $event.target.checked;
|
|
22303
22308
|
onChange2($event);
|
|
22304
22309
|
})
|
|
22305
|
-
}, null, 40, _hoisted_1$
|
|
22310
|
+
}, null, 40, _hoisted_1$e),
|
|
22306
22311
|
_hoisted_2$a,
|
|
22307
22312
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
|
|
22308
22313
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -22311,9 +22316,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22311
22316
|
};
|
|
22312
22317
|
}
|
|
22313
22318
|
});
|
|
22314
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22319
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-113ac83f"]]);
|
|
22315
22320
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
22316
|
-
const _hoisted_1$
|
|
22321
|
+
const _hoisted_1$d = {
|
|
22317
22322
|
key: 0,
|
|
22318
22323
|
class: "ck-popup"
|
|
22319
22324
|
};
|
|
@@ -22331,7 +22336,7 @@ const _hoisted_6$2 = {
|
|
|
22331
22336
|
key: 0,
|
|
22332
22337
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
22333
22338
|
};
|
|
22334
|
-
const _sfc_main$
|
|
22339
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
22335
22340
|
props: {
|
|
22336
22341
|
modelValue: { type: Boolean },
|
|
22337
22342
|
title: null,
|
|
@@ -22475,7 +22480,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22475
22480
|
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
22476
22481
|
});
|
|
22477
22482
|
return (_ctx, _cache) => {
|
|
22478
|
-
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
22483
|
+
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
22479
22484
|
_hoisted_2$9,
|
|
22480
22485
|
createElementVNode("div", {
|
|
22481
22486
|
class: "popup-container",
|
|
@@ -22537,9 +22542,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22537
22542
|
}
|
|
22538
22543
|
});
|
|
22539
22544
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22540
|
-
const _hoisted_1$
|
|
22545
|
+
const _hoisted_1$c = { class: "columns-manger-container" };
|
|
22541
22546
|
const _hoisted_2$8 = { class: "columns-manger__item" };
|
|
22542
|
-
const _sfc_main$
|
|
22547
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
22543
22548
|
props: {
|
|
22544
22549
|
modelValue: { type: Boolean },
|
|
22545
22550
|
columns: null,
|
|
@@ -22579,13 +22584,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22579
22584
|
props.columns[colName].isDisplayed = value;
|
|
22580
22585
|
}
|
|
22581
22586
|
return (_ctx, _cache) => {
|
|
22582
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22587
|
+
return openBlock(), createBlock(_sfc_main$e, {
|
|
22583
22588
|
modelValue: unref$1(isActive),
|
|
22584
22589
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(isActive) ? isActive.value = $event : null),
|
|
22585
22590
|
title: "Administrador de columnas"
|
|
22586
22591
|
}, {
|
|
22587
22592
|
default: withCtx(() => [
|
|
22588
|
-
createElementVNode("div", _hoisted_1$
|
|
22593
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
22589
22594
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
|
|
22590
22595
|
return openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
22591
22596
|
createVNode(CkCheckbox, {
|
|
@@ -22607,10 +22612,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22607
22612
|
};
|
|
22608
22613
|
}
|
|
22609
22614
|
});
|
|
22610
|
-
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22615
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-31e8c81c"]]);
|
|
22611
22616
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
22612
22617
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
22613
|
-
const _hoisted_1$
|
|
22618
|
+
const _hoisted_1$b = { class: "ck-table" };
|
|
22614
22619
|
const _hoisted_2$7 = {
|
|
22615
22620
|
key: 0,
|
|
22616
22621
|
class: "ck-table__header"
|
|
@@ -22625,7 +22630,7 @@ const _hoisted_6$1 = {
|
|
|
22625
22630
|
key: 2,
|
|
22626
22631
|
class: "ck-table--mobile-container"
|
|
22627
22632
|
};
|
|
22628
|
-
const _sfc_main$
|
|
22633
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22629
22634
|
props: {
|
|
22630
22635
|
columns: null,
|
|
22631
22636
|
hasColumnsManager: { type: Boolean },
|
|
@@ -22743,7 +22748,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22743
22748
|
TableColumnsManager,
|
|
22744
22749
|
TablePagination,
|
|
22745
22750
|
TableHeaderItems,
|
|
22746
|
-
_sfc_main$
|
|
22751
|
+
_sfc_main$m
|
|
22747
22752
|
]);
|
|
22748
22753
|
return (_ctx, _cache) => {
|
|
22749
22754
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -22754,7 +22759,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22754
22759
|
columnsArray: unref$1(columnsArray),
|
|
22755
22760
|
columns: __props.columns || []
|
|
22756
22761
|
}, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
|
|
22757
|
-
createElementVNode("div", _hoisted_1$
|
|
22762
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
22758
22763
|
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
22759
22764
|
createVNode(TableHeaderItems, {
|
|
22760
22765
|
search: unref$1(searchLocal),
|
|
@@ -22785,7 +22790,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22785
22790
|
createVNode(CkTr, { class: "header-row" }, {
|
|
22786
22791
|
default: withCtx(() => [
|
|
22787
22792
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
|
|
22788
|
-
return openBlock(), createBlock(_sfc_main$
|
|
22793
|
+
return openBlock(), createBlock(_sfc_main$m, {
|
|
22789
22794
|
key: col.title,
|
|
22790
22795
|
col
|
|
22791
22796
|
}, null, 8, ["col"]);
|
|
@@ -22836,10 +22841,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22836
22841
|
};
|
|
22837
22842
|
}
|
|
22838
22843
|
});
|
|
22839
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22844
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-64f91af6"]]);
|
|
22840
22845
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22841
|
-
const _hoisted_1$
|
|
22842
|
-
const _sfc_main$
|
|
22846
|
+
const _hoisted_1$a = ["color"];
|
|
22847
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
22843
22848
|
props: {
|
|
22844
22849
|
size: null,
|
|
22845
22850
|
color: null,
|
|
@@ -22877,13 +22882,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22877
22882
|
"icon-pack": __props.iconPack
|
|
22878
22883
|
}, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
|
|
22879
22884
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
22880
|
-
], 14, _hoisted_1$
|
|
22885
|
+
], 14, _hoisted_1$a);
|
|
22881
22886
|
};
|
|
22882
22887
|
}
|
|
22883
22888
|
});
|
|
22884
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22889
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ad665c4a"]]);
|
|
22885
22890
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
22886
|
-
const _sfc_main$
|
|
22891
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
22887
22892
|
props: {
|
|
22888
22893
|
widthBreaks: null
|
|
22889
22894
|
},
|
|
@@ -22917,8 +22922,8 @@ var globalVariables = {
|
|
|
22917
22922
|
defaultImgBorderColor: "#EEEEEE"
|
|
22918
22923
|
};
|
|
22919
22924
|
var ckImg_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22920
|
-
const _hoisted_1$
|
|
22921
|
-
const _sfc_main$
|
|
22925
|
+
const _hoisted_1$9 = ["src", "alt"];
|
|
22926
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22922
22927
|
props: {
|
|
22923
22928
|
src: null,
|
|
22924
22929
|
alt: null,
|
|
@@ -23024,22 +23029,22 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
23024
23029
|
style: normalizeStyle(unref$1(computedImgStyle)),
|
|
23025
23030
|
alt: __props.alt,
|
|
23026
23031
|
onError: _cache[0] || (_cache[0] = ($event) => altNeeded.value = true)
|
|
23027
|
-
}, null, 44, _hoisted_1$
|
|
23032
|
+
}, null, 44, _hoisted_1$9)
|
|
23028
23033
|
], 6);
|
|
23029
23034
|
};
|
|
23030
23035
|
}
|
|
23031
23036
|
});
|
|
23032
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23037
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-79a0763b"]]);
|
|
23033
23038
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23034
23039
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
|
|
23035
|
-
const _hoisted_1$
|
|
23040
|
+
const _hoisted_1$8 = ["onKeyup"];
|
|
23036
23041
|
const _hoisted_2$6 = ["name", "value", "disabled"];
|
|
23037
23042
|
const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
|
|
23038
23043
|
const _hoisted_4$3 = {
|
|
23039
23044
|
key: 0,
|
|
23040
23045
|
class: "c-Radio__label"
|
|
23041
23046
|
};
|
|
23042
|
-
const _sfc_main$
|
|
23047
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
23043
23048
|
props: {
|
|
23044
23049
|
modelValue: null,
|
|
23045
23050
|
name: null,
|
|
@@ -23093,16 +23098,16 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23093
23098
|
]),
|
|
23094
23099
|
_hoisted_3$3,
|
|
23095
23100
|
option.label ? (openBlock(), createElementBlock("span", _hoisted_4$3, toDisplayString(option.label), 1)) : createCommentVNode("", true)
|
|
23096
|
-
], 16, _hoisted_1$
|
|
23101
|
+
], 16, _hoisted_1$8);
|
|
23097
23102
|
}), 128);
|
|
23098
23103
|
};
|
|
23099
23104
|
}
|
|
23100
23105
|
});
|
|
23101
|
-
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23106
|
+
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-2e09b238"]]);
|
|
23102
23107
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23103
|
-
const _hoisted_1$
|
|
23108
|
+
const _hoisted_1$7 = ["disabled"];
|
|
23104
23109
|
const _hoisted_2$5 = ["value"];
|
|
23105
|
-
const _sfc_main$
|
|
23110
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
23106
23111
|
props: {
|
|
23107
23112
|
modelValue: null,
|
|
23108
23113
|
prop: null,
|
|
@@ -23347,20 +23352,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23347
23352
|
key: option
|
|
23348
23353
|
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$5);
|
|
23349
23354
|
}), 128))
|
|
23350
|
-
], 46, _hoisted_1$
|
|
23355
|
+
], 46, _hoisted_1$7), [
|
|
23351
23356
|
[vModelSelect, unref$1(value)]
|
|
23352
23357
|
])
|
|
23353
23358
|
], 4);
|
|
23354
23359
|
};
|
|
23355
23360
|
}
|
|
23356
23361
|
});
|
|
23357
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23362
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5aafba97"]]);
|
|
23358
23363
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23359
|
-
const _hoisted_1$
|
|
23364
|
+
const _hoisted_1$6 = {
|
|
23360
23365
|
key: 0,
|
|
23361
23366
|
class: "sidebar-header-title"
|
|
23362
23367
|
};
|
|
23363
|
-
const _sfc_main$
|
|
23368
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
23364
23369
|
props: {
|
|
23365
23370
|
modelValue: { type: Boolean },
|
|
23366
23371
|
title: null,
|
|
@@ -23432,7 +23437,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23432
23437
|
onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false),
|
|
23433
23438
|
style: normalizeStyle(unref$1(computedStyleHeader))
|
|
23434
23439
|
}, [
|
|
23435
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
23440
|
+
__props.title ? (openBlock(), createElementBlock("div", _hoisted_1$6, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
23436
23441
|
createVNode(_component_ck_icon, {
|
|
23437
23442
|
class: "close-btn",
|
|
23438
23443
|
icon: "times"
|
|
@@ -23446,17 +23451,17 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23446
23451
|
};
|
|
23447
23452
|
}
|
|
23448
23453
|
});
|
|
23449
|
-
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23454
|
+
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9dfb990e"]]);
|
|
23450
23455
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23451
23456
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-12938cd0"), n = n(), popScopeId(), n);
|
|
23452
|
-
const _hoisted_1$
|
|
23457
|
+
const _hoisted_1$5 = ["disabled"];
|
|
23453
23458
|
const _hoisted_2$4 = { class: "ck-switch__slider-container" };
|
|
23454
23459
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
|
|
23455
23460
|
const _hoisted_4$2 = {
|
|
23456
23461
|
key: 0,
|
|
23457
23462
|
class: "ck-switch__content"
|
|
23458
23463
|
};
|
|
23459
|
-
const _sfc_main$
|
|
23464
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
23460
23465
|
props: {
|
|
23461
23466
|
modelValue: { type: [Boolean, Number] },
|
|
23462
23467
|
disabled: { type: Boolean },
|
|
@@ -23521,7 +23526,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23521
23526
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
23522
23527
|
disabled: __props.disabled,
|
|
23523
23528
|
onClick: _cache[1] || (_cache[1] = ($event) => onTrigger())
|
|
23524
|
-
}, null, 8, _hoisted_1$
|
|
23529
|
+
}, null, 8, _hoisted_1$5), [
|
|
23525
23530
|
[vModelCheckbox, unref$1(value)]
|
|
23526
23531
|
]),
|
|
23527
23532
|
createElementVNode("div", _hoisted_2$4, [
|
|
@@ -23546,11 +23551,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23546
23551
|
};
|
|
23547
23552
|
}
|
|
23548
23553
|
});
|
|
23549
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23554
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-12938cd0"]]);
|
|
23550
23555
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23551
|
-
const _hoisted_1$
|
|
23556
|
+
const _hoisted_1$4 = { class: "ck-switch-options__container-exterior" };
|
|
23552
23557
|
const _hoisted_2$3 = ["onClick"];
|
|
23553
|
-
const _sfc_main$
|
|
23558
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
23554
23559
|
props: {
|
|
23555
23560
|
modelValue: { type: [Boolean, Number, Object] },
|
|
23556
23561
|
options: null,
|
|
@@ -23602,7 +23607,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23602
23607
|
getOptionValue
|
|
23603
23608
|
]);
|
|
23604
23609
|
return (_ctx, _cache) => {
|
|
23605
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23610
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
23606
23611
|
__props.label ? (openBlock(), createBlock(CkLabel, {
|
|
23607
23612
|
key: 0,
|
|
23608
23613
|
align: __props.labelAlign
|
|
@@ -23628,11 +23633,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23628
23633
|
};
|
|
23629
23634
|
}
|
|
23630
23635
|
});
|
|
23631
|
-
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23636
|
+
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-4bc709a8"]]);
|
|
23632
23637
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23633
|
-
const _hoisted_1$
|
|
23638
|
+
const _hoisted_1$3 = { class: "ck-textarea" };
|
|
23634
23639
|
const _hoisted_2$2 = ["placeholder", "disabled"];
|
|
23635
|
-
const _sfc_main$
|
|
23640
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
23636
23641
|
props: {
|
|
23637
23642
|
modelValue: null,
|
|
23638
23643
|
disabled: { type: Boolean },
|
|
@@ -23722,7 +23727,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23722
23727
|
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
23723
23728
|
});
|
|
23724
23729
|
return (_ctx, _cache) => {
|
|
23725
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23730
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
23726
23731
|
__props.label ? (openBlock(), createBlock(CkLabel, {
|
|
23727
23732
|
key: 0,
|
|
23728
23733
|
"label-align": __props.labelAlign
|
|
@@ -23750,10 +23755,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23750
23755
|
};
|
|
23751
23756
|
}
|
|
23752
23757
|
});
|
|
23753
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23758
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-032f62d5"]]);
|
|
23754
23759
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23755
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
23756
|
-
const _hoisted_1$
|
|
23760
|
+
const _withScopeId = (n) => (pushScopeId("data-v-1fa2b058"), n = n(), popScopeId(), n);
|
|
23761
|
+
const _hoisted_1$2 = { class: "ck-confirm--background" };
|
|
23757
23762
|
const _hoisted_2$1 = { class: "ck-confirm" };
|
|
23758
23763
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
|
|
23759
23764
|
/* @__PURE__ */ createElementVNode("img", {
|
|
@@ -23765,9 +23770,8 @@ const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
|
|
|
23765
23770
|
const _hoisted_4$1 = { class: "ck-confirm__title" };
|
|
23766
23771
|
const _hoisted_5 = { class: "ck-confirm__message" };
|
|
23767
23772
|
const _hoisted_6 = { class: "ck-confirm__buttons-container" };
|
|
23768
|
-
const _sfc_main$
|
|
23773
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
23769
23774
|
setup(__props, { expose }) {
|
|
23770
|
-
let cleekOptions2 = ref();
|
|
23771
23775
|
const title = ref("");
|
|
23772
23776
|
const msg = ref("");
|
|
23773
23777
|
const acceptText = ref("");
|
|
@@ -23791,9 +23795,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23791
23795
|
function onAccept() {
|
|
23792
23796
|
responseSuccess.value();
|
|
23793
23797
|
}
|
|
23794
|
-
onMounted(() => {
|
|
23795
|
-
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
23796
|
-
});
|
|
23797
23798
|
expose({
|
|
23798
23799
|
title,
|
|
23799
23800
|
msg,
|
|
@@ -23803,9 +23804,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23803
23804
|
responseFailure
|
|
23804
23805
|
});
|
|
23805
23806
|
return (_ctx, _cache) => {
|
|
23806
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
23807
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
23807
23808
|
createElementVNode("div", _hoisted_2$1, [
|
|
23808
|
-
createElementVNode("div", null, "cleekOptions " + toDisplayString(unref$1(cleekOptions2)), 1),
|
|
23809
23809
|
_hoisted_3$1,
|
|
23810
23810
|
createElementVNode("div", _hoisted_4$1, toDisplayString(title.value || unref$1(defaultTitle)), 1),
|
|
23811
23811
|
createElementVNode("div", _hoisted_5, toDisplayString(msg.value), 1),
|
|
@@ -23824,7 +23824,50 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23824
23824
|
};
|
|
23825
23825
|
}
|
|
23826
23826
|
});
|
|
23827
|
-
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
23827
|
+
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-1fa2b058"]]);
|
|
23828
|
+
var CkAlert_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23829
|
+
const _hoisted_1$1 = { class: "alert--msg" };
|
|
23830
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
23831
|
+
setup(__props, { expose }) {
|
|
23832
|
+
const title = ref("");
|
|
23833
|
+
const msg = ref("");
|
|
23834
|
+
const acceptText = ref("");
|
|
23835
|
+
const isActive = ref(true);
|
|
23836
|
+
const defaultTitle = computed$2(() => {
|
|
23837
|
+
return "Atenci\xF3n";
|
|
23838
|
+
});
|
|
23839
|
+
const defaultAcceptText = computed$2(() => {
|
|
23840
|
+
return "Aceptar";
|
|
23841
|
+
});
|
|
23842
|
+
expose({
|
|
23843
|
+
title,
|
|
23844
|
+
msg,
|
|
23845
|
+
acceptText
|
|
23846
|
+
});
|
|
23847
|
+
return (_ctx, _cache) => {
|
|
23848
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
23849
|
+
createVNode(_sfc_main$e, {
|
|
23850
|
+
modelValue: isActive.value,
|
|
23851
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
23852
|
+
acceptButton: "",
|
|
23853
|
+
notCloseBtn: "",
|
|
23854
|
+
headerColor: "primary",
|
|
23855
|
+
headerAlign: "center",
|
|
23856
|
+
acceptBtnType: "filled",
|
|
23857
|
+
title: title.value || unref$1(defaultTitle),
|
|
23858
|
+
acceptBtnText: acceptText.value || unref$1(defaultAcceptText),
|
|
23859
|
+
onAccept: _cache[1] || (_cache[1] = ($event) => isActive.value = false)
|
|
23860
|
+
}, {
|
|
23861
|
+
default: withCtx(() => [
|
|
23862
|
+
createElementVNode("div", _hoisted_1$1, toDisplayString(msg.value), 1)
|
|
23863
|
+
]),
|
|
23864
|
+
_: 1
|
|
23865
|
+
}, 8, ["modelValue", "title", "acceptBtnText"])
|
|
23866
|
+
]);
|
|
23867
|
+
};
|
|
23868
|
+
}
|
|
23869
|
+
});
|
|
23870
|
+
var CkAlertComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-3aea511e"]]);
|
|
23828
23871
|
var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23829
23872
|
const _hoisted_1 = { class: "ck-notify__container" };
|
|
23830
23873
|
const _hoisted_2 = { class: "ck-notify__title" };
|
|
@@ -23910,6 +23953,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23910
23953
|
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7c413389"]]);
|
|
23911
23954
|
const defaultDuration = 2e3;
|
|
23912
23955
|
var ckNotify = {
|
|
23956
|
+
alert(msg) {
|
|
23957
|
+
this.alertOptions({
|
|
23958
|
+
title: "",
|
|
23959
|
+
msg,
|
|
23960
|
+
acceptText: ""
|
|
23961
|
+
});
|
|
23962
|
+
},
|
|
23963
|
+
alertOptions({
|
|
23964
|
+
title = "",
|
|
23965
|
+
msg = "",
|
|
23966
|
+
acceptText = ""
|
|
23967
|
+
}) {
|
|
23968
|
+
const tempDiv = document.createElement("div");
|
|
23969
|
+
const instance = createApp(CkAlertComponent);
|
|
23970
|
+
const instanceMounted = instance.mount(tempDiv);
|
|
23971
|
+
instanceMounted.title = title;
|
|
23972
|
+
instanceMounted.msg = msg;
|
|
23973
|
+
instanceMounted.acceptText = acceptText;
|
|
23974
|
+
document.body.appendChild(instanceMounted.$el);
|
|
23975
|
+
},
|
|
23913
23976
|
confirmOptions({
|
|
23914
23977
|
title = "",
|
|
23915
23978
|
msg = "",
|
|
@@ -23921,13 +23984,21 @@ var ckNotify = {
|
|
|
23921
23984
|
}
|
|
23922
23985
|
}) {
|
|
23923
23986
|
const tempDiv = document.createElement("div");
|
|
23924
|
-
const
|
|
23925
|
-
const
|
|
23926
|
-
|
|
23927
|
-
|
|
23928
|
-
|
|
23929
|
-
|
|
23930
|
-
|
|
23987
|
+
const app = createApp(CkConfirmComponent);
|
|
23988
|
+
const instance = app.mount(tempDiv);
|
|
23989
|
+
instance.title = title;
|
|
23990
|
+
instance.msg = msg;
|
|
23991
|
+
instance.acceptText = acceptText;
|
|
23992
|
+
instance.cancelText = cancelText;
|
|
23993
|
+
instance.responseSuccess = () => {
|
|
23994
|
+
app.unmount();
|
|
23995
|
+
success();
|
|
23996
|
+
};
|
|
23997
|
+
instance.responseFailure = () => {
|
|
23998
|
+
app.unmount();
|
|
23999
|
+
failure();
|
|
24000
|
+
};
|
|
24001
|
+
document.body.appendChild(instance.$el);
|
|
23931
24002
|
},
|
|
23932
24003
|
confirm(msg, success, failure) {
|
|
23933
24004
|
this.confirmOptions({
|
|
@@ -23970,12 +24041,12 @@ var components = /* @__PURE__ */ Object.freeze({
|
|
|
23970
24041
|
CkButton,
|
|
23971
24042
|
CkCheckbox,
|
|
23972
24043
|
CkChip: ckChip,
|
|
23973
|
-
CkDiv: _sfc_main$
|
|
24044
|
+
CkDiv: _sfc_main$a,
|
|
23974
24045
|
CkIcon,
|
|
23975
24046
|
CkImg: ckImg,
|
|
23976
24047
|
CkInput,
|
|
23977
24048
|
CkLabel,
|
|
23978
|
-
CkPopup: _sfc_main$
|
|
24049
|
+
CkPopup: _sfc_main$e,
|
|
23979
24050
|
CkRadio: ckRadio,
|
|
23980
24051
|
CkSelect: ckSelect,
|
|
23981
24052
|
CkSidebar: ckSidebar,
|
|
@@ -24019,4 +24090,4 @@ const install = function installCleek(app, options) {
|
|
|
24019
24090
|
app.component(componentName, component);
|
|
24020
24091
|
});
|
|
24021
24092
|
};
|
|
24022
|
-
export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$
|
|
24093
|
+
export { CkButton, CkCheckbox, ckChip as CkChip, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, CkLabel, ckNavbar as CkNavbar, _sfc_main$e 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 };
|