cleek 2.6.93 → 2.6.95
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 +95 -78
- package/dist/cleek.umd.js +15 -15
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3547,7 +3547,9 @@ const cleekOptions = {
|
|
|
3547
3547
|
gap: 0
|
|
3548
3548
|
},
|
|
3549
3549
|
img: {
|
|
3550
|
-
basePath: ""
|
|
3550
|
+
basePath: "",
|
|
3551
|
+
basePathStatic: "",
|
|
3552
|
+
basePathDynamic: ""
|
|
3551
3553
|
},
|
|
3552
3554
|
popup: {
|
|
3553
3555
|
textColor: "",
|
|
@@ -81612,7 +81614,7 @@ var _export_sfc = (sfc, props) => {
|
|
|
81612
81614
|
}
|
|
81613
81615
|
return target;
|
|
81614
81616
|
};
|
|
81615
|
-
const _hoisted_1$
|
|
81617
|
+
const _hoisted_1$p = {
|
|
81616
81618
|
key: 0,
|
|
81617
81619
|
class: "help-text"
|
|
81618
81620
|
};
|
|
@@ -81620,7 +81622,7 @@ const _hoisted_2$e = {
|
|
|
81620
81622
|
key: 0,
|
|
81621
81623
|
class: "pl-1"
|
|
81622
81624
|
};
|
|
81623
|
-
const _sfc_main$
|
|
81625
|
+
const _sfc_main$x = defineComponent$2({
|
|
81624
81626
|
__name: "ck-datetime-shower",
|
|
81625
81627
|
props: {
|
|
81626
81628
|
datetime: {},
|
|
@@ -81649,7 +81651,7 @@ const _sfc_main$w = defineComponent$2({
|
|
|
81649
81651
|
});
|
|
81650
81652
|
return (_ctx, _cache) => {
|
|
81651
81653
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
81652
|
-
return !computedDate.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_1$
|
|
81654
|
+
return !computedDate.value ? (openBlock$2(), createElementBlock$2("span", _hoisted_1$p, toDisplayString$1(_ctx.noDateMsg), 1)) : _ctx.split || _ctx.date ? (openBlock$2(), createElementBlock$2("div", {
|
|
81653
81655
|
key: 1,
|
|
81654
81656
|
class: "ck-datetime-shower--split",
|
|
81655
81657
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
|
|
@@ -81668,12 +81670,12 @@ const _sfc_main$w = defineComponent$2({
|
|
|
81668
81670
|
};
|
|
81669
81671
|
}
|
|
81670
81672
|
});
|
|
81671
|
-
var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81673
|
+
var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4dcd4d84"]]);
|
|
81672
81674
|
var ckTimeShower_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81673
81675
|
const _withScopeId$5 = (n2) => (pushScopeId$2("data-v-4d15db47"), n2 = n2(), popScopeId$2(), n2);
|
|
81674
|
-
const _hoisted_1$
|
|
81676
|
+
const _hoisted_1$o = { class: "ck-time-shower" };
|
|
81675
81677
|
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", { class: "hs-text" }, " hs ", -1));
|
|
81676
|
-
const _sfc_main$
|
|
81678
|
+
const _sfc_main$w = defineComponent$2({
|
|
81677
81679
|
__name: "ck-time-shower",
|
|
81678
81680
|
props: {
|
|
81679
81681
|
time: {},
|
|
@@ -81681,7 +81683,7 @@ const _sfc_main$v = defineComponent$2({
|
|
|
81681
81683
|
},
|
|
81682
81684
|
setup(__props) {
|
|
81683
81685
|
return (_ctx, _cache) => {
|
|
81684
|
-
return openBlock$2(), createElementBlock$2("span", _hoisted_1$
|
|
81686
|
+
return openBlock$2(), createElementBlock$2("span", _hoisted_1$o, [
|
|
81685
81687
|
_ctx.minutes ? (openBlock$2(), createElementBlock$2(Fragment$2, { key: 0 }, [
|
|
81686
81688
|
createTextVNode$2(toDisplayString$1(unref$3(qmDate).minToHour(_ctx.minutes)), 1)
|
|
81687
81689
|
], 64)) : (openBlock$2(), createElementBlock$2(Fragment$2, { key: 1 }, [
|
|
@@ -81692,7 +81694,7 @@ const _sfc_main$v = defineComponent$2({
|
|
|
81692
81694
|
};
|
|
81693
81695
|
}
|
|
81694
81696
|
});
|
|
81695
|
-
var ckTimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81697
|
+
var ckTimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-4d15db47"]]);
|
|
81696
81698
|
var hooks9 = {
|
|
81697
81699
|
getCleekOptions(getCurrentInstance2) {
|
|
81698
81700
|
return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
|
|
@@ -81763,8 +81765,8 @@ var hooks9 = {
|
|
|
81763
81765
|
}
|
|
81764
81766
|
};
|
|
81765
81767
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81766
|
-
const _hoisted_1$
|
|
81767
|
-
const _sfc_main$
|
|
81768
|
+
const _hoisted_1$n = { class: "ck-dropdown__popper-container" };
|
|
81769
|
+
const _sfc_main$v = defineComponent$2({
|
|
81768
81770
|
__name: "ck-dropdown",
|
|
81769
81771
|
props: {
|
|
81770
81772
|
dark: { type: Boolean },
|
|
@@ -81818,7 +81820,7 @@ const _sfc_main$u = defineComponent$2({
|
|
|
81818
81820
|
}, [
|
|
81819
81821
|
renderSlot$2(_ctx.$slots, "trigger", {}, void 0, true)
|
|
81820
81822
|
]),
|
|
81821
|
-
createElementVNode("div", _hoisted_1$
|
|
81823
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
81822
81824
|
isOpen.value ? (openBlock$2(), createElementBlock$2("section", {
|
|
81823
81825
|
key: 0,
|
|
81824
81826
|
ref_key: "popperRef",
|
|
@@ -81835,10 +81837,10 @@ const _sfc_main$u = defineComponent$2({
|
|
|
81835
81837
|
};
|
|
81836
81838
|
}
|
|
81837
81839
|
});
|
|
81838
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81840
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-29d5acfa"]]);
|
|
81839
81841
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81840
81842
|
const defaultPosition = "fixed";
|
|
81841
|
-
const _sfc_main$
|
|
81843
|
+
const _sfc_main$u = defineComponent$2({
|
|
81842
81844
|
__name: "ck-navbar",
|
|
81843
81845
|
props: {
|
|
81844
81846
|
backgroundColor: {},
|
|
@@ -81893,7 +81895,7 @@ const _sfc_main$t = defineComponent$2({
|
|
|
81893
81895
|
};
|
|
81894
81896
|
}
|
|
81895
81897
|
});
|
|
81896
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81898
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-14db8333"]]);
|
|
81897
81899
|
function ownKeys(object, enumerableOnly) {
|
|
81898
81900
|
var keys = Object.keys(object);
|
|
81899
81901
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -82435,7 +82437,7 @@ defineComponent$2({
|
|
|
82435
82437
|
}
|
|
82436
82438
|
});
|
|
82437
82439
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82438
|
-
const _sfc_main$
|
|
82440
|
+
const _sfc_main$t = defineComponent$2({
|
|
82439
82441
|
__name: "ck-icon",
|
|
82440
82442
|
props: {
|
|
82441
82443
|
icon: {},
|
|
@@ -82497,18 +82499,18 @@ const _sfc_main$s = defineComponent$2({
|
|
|
82497
82499
|
};
|
|
82498
82500
|
}
|
|
82499
82501
|
});
|
|
82500
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82502
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-3fac81ed"]]);
|
|
82501
82503
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82502
|
-
const _sfc_main$
|
|
82503
|
-
const _hoisted_1$
|
|
82504
|
+
const _sfc_main$s = {};
|
|
82505
|
+
const _hoisted_1$m = { class: "ck-tr" };
|
|
82504
82506
|
function _sfc_render(_ctx, _cache) {
|
|
82505
|
-
return openBlock$2(), createElementBlock$2("tr", _hoisted_1$
|
|
82507
|
+
return openBlock$2(), createElementBlock$2("tr", _hoisted_1$m, [
|
|
82506
82508
|
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
82507
82509
|
]);
|
|
82508
82510
|
}
|
|
82509
|
-
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82511
|
+
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render], ["__scopeId", "data-v-797c49c2"]]);
|
|
82510
82512
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82511
|
-
const _sfc_main$
|
|
82513
|
+
const _sfc_main$r = defineComponent$2({
|
|
82512
82514
|
__name: "ck-td",
|
|
82513
82515
|
props: {
|
|
82514
82516
|
col: {},
|
|
@@ -82594,11 +82596,11 @@ const _sfc_main$q = defineComponent$2({
|
|
|
82594
82596
|
};
|
|
82595
82597
|
}
|
|
82596
82598
|
});
|
|
82597
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82599
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-90fa19a8"]]);
|
|
82598
82600
|
var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82599
|
-
const _hoisted_1$
|
|
82601
|
+
const _hoisted_1$l = { class: "ck-th" };
|
|
82600
82602
|
const defaultAlign$1 = "left";
|
|
82601
|
-
const _sfc_main$
|
|
82603
|
+
const _sfc_main$q = defineComponent$2({
|
|
82602
82604
|
__name: "ck-th",
|
|
82603
82605
|
props: {
|
|
82604
82606
|
align: {},
|
|
@@ -82632,7 +82634,7 @@ const _sfc_main$p = defineComponent$2({
|
|
|
82632
82634
|
return list;
|
|
82633
82635
|
});
|
|
82634
82636
|
return (_ctx, _cache) => {
|
|
82635
|
-
return openBlock$2(), createElementBlock$2("th", _hoisted_1$
|
|
82637
|
+
return openBlock$2(), createElementBlock$2("th", _hoisted_1$l, [
|
|
82636
82638
|
createElementVNode("span", {
|
|
82637
82639
|
class: normalizeClass$2(computedSpanClass.value),
|
|
82638
82640
|
style: normalizeStyle$2(computedStyle.value)
|
|
@@ -82643,8 +82645,8 @@ const _sfc_main$p = defineComponent$2({
|
|
|
82643
82645
|
};
|
|
82644
82646
|
}
|
|
82645
82647
|
});
|
|
82646
|
-
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82647
|
-
const _sfc_main$
|
|
82648
|
+
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-42ada082"]]);
|
|
82649
|
+
const _sfc_main$p = defineComponent$2({
|
|
82648
82650
|
__name: "ck-table__title",
|
|
82649
82651
|
props: {
|
|
82650
82652
|
col: {},
|
|
@@ -82686,12 +82688,12 @@ function useWindowWidth() {
|
|
|
82686
82688
|
};
|
|
82687
82689
|
}
|
|
82688
82690
|
var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82689
|
-
const _hoisted_1$
|
|
82691
|
+
const _hoisted_1$k = ["title", "aria-label", "disabled"];
|
|
82690
82692
|
const defaultButtonType = "outlined";
|
|
82691
82693
|
const defaultColor$1 = "primary";
|
|
82692
82694
|
const defaultBackgroundColor = "transparent";
|
|
82693
82695
|
const defaultAlign = "left";
|
|
82694
|
-
const _sfc_main$
|
|
82696
|
+
const _sfc_main$o = defineComponent$2({
|
|
82695
82697
|
__name: "ck-button",
|
|
82696
82698
|
props: {
|
|
82697
82699
|
title: {},
|
|
@@ -82809,15 +82811,15 @@ const _sfc_main$n = defineComponent$2({
|
|
|
82809
82811
|
"icon-pack": _ctx.iconPack
|
|
82810
82812
|
}, null, 8, ["icon", "icon-pack", "class"])) : createCommentVNode$2("", true)
|
|
82811
82813
|
], 64))
|
|
82812
|
-
], 14, _hoisted_1$
|
|
82814
|
+
], 14, _hoisted_1$k);
|
|
82813
82815
|
};
|
|
82814
82816
|
}
|
|
82815
82817
|
});
|
|
82816
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82818
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-91767c62"]]);
|
|
82817
82819
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82818
|
-
const _hoisted_1$
|
|
82820
|
+
const _hoisted_1$j = ["for"];
|
|
82819
82821
|
const defaultSize$2 = "m";
|
|
82820
|
-
const _sfc_main$
|
|
82822
|
+
const _sfc_main$n = defineComponent$2({
|
|
82821
82823
|
__name: "ck-label",
|
|
82822
82824
|
props: {
|
|
82823
82825
|
for: {},
|
|
@@ -82841,17 +82843,17 @@ const _sfc_main$m = defineComponent$2({
|
|
|
82841
82843
|
for: props.for
|
|
82842
82844
|
}, [
|
|
82843
82845
|
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
82844
|
-
], 10, _hoisted_1$
|
|
82846
|
+
], 10, _hoisted_1$j);
|
|
82845
82847
|
};
|
|
82846
82848
|
}
|
|
82847
82849
|
});
|
|
82848
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82850
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b85f16e0"]]);
|
|
82849
82851
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82850
|
-
const _hoisted_1$
|
|
82852
|
+
const _hoisted_1$i = ["autocomplete", "placeholder", "disabled"];
|
|
82851
82853
|
const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
|
|
82852
82854
|
const defaultType = "text";
|
|
82853
82855
|
const defaultDelayChangeTime = 300;
|
|
82854
|
-
const _sfc_main$
|
|
82856
|
+
const _sfc_main$m = defineComponent$2({
|
|
82855
82857
|
__name: "ck-input",
|
|
82856
82858
|
props: {
|
|
82857
82859
|
modelValue: {},
|
|
@@ -83030,7 +83032,7 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83030
83032
|
onClick: _cache[3] || (_cache[3] = ($event) => onClick($event)),
|
|
83031
83033
|
onFocus: _cache[4] || (_cache[4] = ($event) => emits("focus", $event)),
|
|
83032
83034
|
onBlur: _cache[5] || (_cache[5] = ($event) => emits("blur", $event))
|
|
83033
|
-
}, null, 46, _hoisted_1$
|
|
83035
|
+
}, null, 46, _hoisted_1$i)), [
|
|
83034
83036
|
[vModelText, value.value]
|
|
83035
83037
|
]) : withDirectives$1((openBlock$2(), createElementBlock$2("input", {
|
|
83036
83038
|
key: 3,
|
|
@@ -83071,9 +83073,9 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83071
83073
|
};
|
|
83072
83074
|
}
|
|
83073
83075
|
});
|
|
83074
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83076
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-7f73d878"]]);
|
|
83075
83077
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83076
|
-
const _sfc_main$
|
|
83078
|
+
const _sfc_main$l = defineComponent$2({
|
|
83077
83079
|
__name: "ck-table__header-items",
|
|
83078
83080
|
props: {
|
|
83079
83081
|
search: {},
|
|
@@ -83195,17 +83197,17 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83195
83197
|
};
|
|
83196
83198
|
}
|
|
83197
83199
|
});
|
|
83198
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83200
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-4362a796"]]);
|
|
83199
83201
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83200
83202
|
const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-27c654d0"), n2 = n2(), popScopeId$2(), n2);
|
|
83201
|
-
const _hoisted_1$
|
|
83203
|
+
const _hoisted_1$h = { class: "ck-table__pagination" };
|
|
83202
83204
|
const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
|
|
83203
83205
|
const _hoisted_3$9 = ["onClick"];
|
|
83204
83206
|
const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
|
|
83205
83207
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
83206
83208
|
const _hoisted_6$3 = ["onClick"];
|
|
83207
83209
|
const itemsShowed = 5;
|
|
83208
|
-
const _sfc_main$
|
|
83210
|
+
const _sfc_main$k = defineComponent$2({
|
|
83209
83211
|
__name: "ck-table__pagination",
|
|
83210
83212
|
props: {
|
|
83211
83213
|
currentPage: {},
|
|
@@ -83307,7 +83309,7 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83307
83309
|
key: 0,
|
|
83308
83310
|
class: normalizeClass$2(["ck-table__pagination-container", computedClass.value])
|
|
83309
83311
|
}, [
|
|
83310
|
-
createElementVNode("div", _hoisted_1$
|
|
83312
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
83311
83313
|
createElementVNode("div", {
|
|
83312
83314
|
class: normalizeClass$2(["ck-table__pagination--arrow-left", { disabled: !hasArrowLeft.value }]),
|
|
83313
83315
|
onClick: _cache[0] || (_cache[0] = ($event) => currentPageLocal.value = _ctx.currentPage - 1)
|
|
@@ -83355,7 +83357,7 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83355
83357
|
};
|
|
83356
83358
|
}
|
|
83357
83359
|
});
|
|
83358
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83360
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-27c654d0"]]);
|
|
83359
83361
|
const NOOP = () => {
|
|
83360
83362
|
};
|
|
83361
83363
|
const NO = () => false;
|
|
@@ -83612,13 +83614,13 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
83612
83614
|
};
|
|
83613
83615
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83614
83616
|
const _withScopeId$3 = (n2) => (pushScopeId$2("data-v-1fffee96"), n2 = n2(), popScopeId$2(), n2);
|
|
83615
|
-
const _hoisted_1$
|
|
83617
|
+
const _hoisted_1$g = ["disabled", "checked"];
|
|
83616
83618
|
const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
83617
83619
|
const _hoisted_3$8 = {
|
|
83618
83620
|
key: 0,
|
|
83619
83621
|
class: "c-Checkbox__label"
|
|
83620
83622
|
};
|
|
83621
|
-
const _sfc_main$
|
|
83623
|
+
const _sfc_main$j = defineComponent$2({
|
|
83622
83624
|
__name: "ck-checkbox",
|
|
83623
83625
|
props: {
|
|
83624
83626
|
modelValue: { type: Boolean },
|
|
@@ -83669,7 +83671,7 @@ const _sfc_main$i = defineComponent$2({
|
|
|
83669
83671
|
value.value = $event.target.checked;
|
|
83670
83672
|
onChange2($event);
|
|
83671
83673
|
})
|
|
83672
|
-
}, null, 40, _hoisted_1$
|
|
83674
|
+
}, null, 40, _hoisted_1$g),
|
|
83673
83675
|
_hoisted_2$a,
|
|
83674
83676
|
_ctx.$slots.default ? (openBlock$2(), createElementBlock$2("span", _hoisted_3$8, [
|
|
83675
83677
|
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -83678,9 +83680,9 @@ const _sfc_main$i = defineComponent$2({
|
|
|
83678
83680
|
};
|
|
83679
83681
|
}
|
|
83680
83682
|
});
|
|
83681
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83683
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-1fffee96"]]);
|
|
83682
83684
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
83683
|
-
const _hoisted_1$
|
|
83685
|
+
const _hoisted_1$f = { class: "ck-popup" };
|
|
83684
83686
|
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
83685
83687
|
const _hoisted_3$7 = {
|
|
83686
83688
|
key: 0,
|
|
@@ -83695,7 +83697,7 @@ const _hoisted_6$2 = {
|
|
|
83695
83697
|
key: 0,
|
|
83696
83698
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
83697
83699
|
};
|
|
83698
|
-
const _sfc_main$
|
|
83700
|
+
const _sfc_main$i = defineComponent$2({
|
|
83699
83701
|
__name: "ck-popup",
|
|
83700
83702
|
props: {
|
|
83701
83703
|
modelValue: { type: Boolean },
|
|
@@ -83867,7 +83869,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
83867
83869
|
key: 0,
|
|
83868
83870
|
to: "body"
|
|
83869
83871
|
}, [
|
|
83870
|
-
createElementVNode("div", _hoisted_1$
|
|
83872
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
83871
83873
|
_hoisted_2$9,
|
|
83872
83874
|
createElementVNode("div", {
|
|
83873
83875
|
class: "popup-container",
|
|
@@ -83931,8 +83933,8 @@ const _sfc_main$h = defineComponent$2({
|
|
|
83931
83933
|
}
|
|
83932
83934
|
});
|
|
83933
83935
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83934
|
-
const _hoisted_1$
|
|
83935
|
-
defineComponent$2({
|
|
83936
|
+
const _hoisted_1$e = { class: "columns-manger-container" };
|
|
83937
|
+
const _sfc_main$h = defineComponent$2({
|
|
83936
83938
|
__name: "ck-table__columns-manager",
|
|
83937
83939
|
props: {
|
|
83938
83940
|
modelValue: { type: Boolean },
|
|
@@ -83985,13 +83987,13 @@ defineComponent$2({
|
|
|
83985
83987
|
props.columns[colName].isDisplayed = value;
|
|
83986
83988
|
}
|
|
83987
83989
|
return (_ctx, _cache) => {
|
|
83988
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
83990
|
+
return openBlock$2(), createBlock$2(_sfc_main$i, {
|
|
83989
83991
|
modelValue: isActive.value,
|
|
83990
83992
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
83991
83993
|
title: "Administrador de columnas"
|
|
83992
83994
|
}, {
|
|
83993
83995
|
default: withCtx$2(() => [
|
|
83994
|
-
createElementVNode("div", _hoisted_1$
|
|
83996
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
83995
83997
|
(openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(unref$3(columnsCheckable), (col, colIndex) => {
|
|
83996
83998
|
return openBlock$2(), createElementBlock$2("div", {
|
|
83997
83999
|
class: "columns-manger__item",
|
|
@@ -84016,9 +84018,10 @@ defineComponent$2({
|
|
|
84016
84018
|
};
|
|
84017
84019
|
}
|
|
84018
84020
|
});
|
|
84021
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4ef6b518"]]);
|
|
84019
84022
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
84020
84023
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
84021
|
-
const _hoisted_1$
|
|
84024
|
+
const _hoisted_1$d = { class: "ck-table" };
|
|
84022
84025
|
const _hoisted_2$8 = {
|
|
84023
84026
|
key: 0,
|
|
84024
84027
|
class: "ck-table__header"
|
|
@@ -84177,9 +84180,8 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84177
84180
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
84178
84181
|
});
|
|
84179
84182
|
return (_ctx, _cache) => {
|
|
84180
|
-
const _component_TableColumnsManager40 = resolveComponent$2("TableColumnsManager(");
|
|
84181
84183
|
return openBlock$2(), createElementBlock$2(Fragment$2, null, [
|
|
84182
|
-
_ctx.hasColumnsManager && columnsAreObj.value ? (openBlock$2(), createBlock$2(
|
|
84184
|
+
_ctx.hasColumnsManager && columnsAreObj.value ? (openBlock$2(), createBlock$2(TableColumnsManager, {
|
|
84183
84185
|
key: 0,
|
|
84184
84186
|
modelValue: isPopupActive.value.columnsManager,
|
|
84185
84187
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isPopupActive.value.columnsManager = $event),
|
|
@@ -84187,7 +84189,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84187
84189
|
columnsArray: columnsArray.value,
|
|
84188
84190
|
columns: _ctx.columns || []
|
|
84189
84191
|
}, null, 8, ["modelValue", "isLoading", "columnsArray", "columns"])) : createCommentVNode$2("", true),
|
|
84190
|
-
createElementVNode("div", _hoisted_1$
|
|
84192
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
84191
84193
|
_ctx.$slots.header || !_ctx.hideHeaderActions ? (openBlock$2(), createElementBlock$2("div", _hoisted_2$8, [
|
|
84192
84194
|
createVNode$2(TableHeaderItems, {
|
|
84193
84195
|
search: searchLocal.value,
|
|
@@ -84219,7 +84221,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84219
84221
|
createVNode$2(CkTr, { class: "header-row" }, {
|
|
84220
84222
|
default: withCtx$2(() => [
|
|
84221
84223
|
(openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(filteredColumnsList.value, (col) => {
|
|
84222
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84224
|
+
return openBlock$2(), createBlock$2(_sfc_main$p, {
|
|
84223
84225
|
key: col.title,
|
|
84224
84226
|
col,
|
|
84225
84227
|
textColor: realHeaderTextColor.value,
|
|
@@ -84291,7 +84293,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84291
84293
|
};
|
|
84292
84294
|
}
|
|
84293
84295
|
});
|
|
84294
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
84296
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-00204c08"]]);
|
|
84295
84297
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
84296
84298
|
const _sfc_main$f = defineComponent$2({
|
|
84297
84299
|
__name: "ck-pagination",
|
|
@@ -89440,6 +89442,7 @@ function Dt(e4, t4, r, l, o, p2) {
|
|
|
89440
89442
|
}
|
|
89441
89443
|
const Lt = /* @__PURE__ */ T4(vt, [["render", Dt]]);
|
|
89442
89444
|
var ckInputDate_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89445
|
+
const _hoisted_1$c = { class: "ck-picker-container" };
|
|
89443
89446
|
const _sfc_main$e = defineComponent$2({
|
|
89444
89447
|
__name: "ck-input-date",
|
|
89445
89448
|
props: {
|
|
@@ -89468,9 +89471,13 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89468
89471
|
emits("update:modelValue", dateToString(val));
|
|
89469
89472
|
}
|
|
89470
89473
|
});
|
|
89474
|
+
const isOnPopup = ref$1(false);
|
|
89471
89475
|
const computedClass = computed$3(() => {
|
|
89472
89476
|
const classes = [];
|
|
89473
89477
|
classes.push(hooks9.getGroupClass(props, windowWidth.value));
|
|
89478
|
+
isOnPopup.value = document.querySelector(".ck-popup__content") ? true : false;
|
|
89479
|
+
if (isOnPopup.value)
|
|
89480
|
+
classes.push("ck-picker-popup");
|
|
89474
89481
|
return classes;
|
|
89475
89482
|
});
|
|
89476
89483
|
function convertToDate() {
|
|
@@ -89504,12 +89511,14 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89504
89511
|
]),
|
|
89505
89512
|
_: 1
|
|
89506
89513
|
}),
|
|
89507
|
-
|
|
89508
|
-
|
|
89509
|
-
|
|
89510
|
-
|
|
89511
|
-
|
|
89512
|
-
|
|
89514
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
89515
|
+
createVNode$2(unref$3(Lt), {
|
|
89516
|
+
modelValue: inputValue.value,
|
|
89517
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
89518
|
+
onChange: _cache[1] || (_cache[1] = ($event) => emits("change", inputValue.value)),
|
|
89519
|
+
inputFormat: "dd-MM-yyyy"
|
|
89520
|
+
}, null, 8, ["modelValue"])
|
|
89521
|
+
])
|
|
89513
89522
|
], 2)
|
|
89514
89523
|
]),
|
|
89515
89524
|
_: 1
|
|
@@ -89517,7 +89526,7 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89517
89526
|
};
|
|
89518
89527
|
}
|
|
89519
89528
|
});
|
|
89520
|
-
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
89529
|
+
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e41c6ac4"]]);
|
|
89521
89530
|
const _sfc_main$d = defineComponent$2({
|
|
89522
89531
|
__name: "ck-input-time",
|
|
89523
89532
|
props: {
|
|
@@ -89770,7 +89779,9 @@ const _sfc_main$9 = defineComponent$2({
|
|
|
89770
89779
|
hasBorder: { type: Boolean },
|
|
89771
89780
|
borderColor: {},
|
|
89772
89781
|
rounded: { type: Boolean },
|
|
89773
|
-
radius: {}
|
|
89782
|
+
radius: {},
|
|
89783
|
+
static: { type: Boolean },
|
|
89784
|
+
dynamic: { type: Boolean }
|
|
89774
89785
|
},
|
|
89775
89786
|
setup(__props) {
|
|
89776
89787
|
const props = __props;
|
|
@@ -89843,9 +89854,15 @@ const _sfc_main$9 = defineComponent$2({
|
|
|
89843
89854
|
;
|
|
89844
89855
|
}
|
|
89845
89856
|
function getImg(src) {
|
|
89846
|
-
var _a;
|
|
89847
|
-
let
|
|
89848
|
-
|
|
89857
|
+
var _a, _b, _c, _d, _e2;
|
|
89858
|
+
let basePath = (_a = cleekOptions2.value) == null ? void 0 : _a.img.basePath;
|
|
89859
|
+
if ((_b = cleekOptions2.value) == null ? void 0 : _b.img.basePath)
|
|
89860
|
+
basePath = (_c = cleekOptions2.value) == null ? void 0 : _c.img.basePath;
|
|
89861
|
+
if (!basePath)
|
|
89862
|
+
basePath = (_d = cleekOptions2.value) == null ? void 0 : _d.img.basePathStatic;
|
|
89863
|
+
if (props.dynamic)
|
|
89864
|
+
basePath = (_e2 = cleekOptions2.value) == null ? void 0 : _e2.img.basePathDynamic;
|
|
89865
|
+
return `${basePath}${src}`;
|
|
89849
89866
|
}
|
|
89850
89867
|
onMounted$1(() => {
|
|
89851
89868
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
@@ -89867,7 +89884,7 @@ const _sfc_main$9 = defineComponent$2({
|
|
|
89867
89884
|
};
|
|
89868
89885
|
}
|
|
89869
89886
|
});
|
|
89870
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
89887
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-24eb46e8"]]);
|
|
89871
89888
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89872
89889
|
const _withScopeId$2 = (n2) => (pushScopeId$2("data-v-494ed67e"), n2 = n2(), popScopeId$2(), n2);
|
|
89873
89890
|
const _hoisted_1$8 = ["onKeyup"];
|
|
@@ -90745,7 +90762,7 @@ const _sfc_main$1 = defineComponent$2({
|
|
|
90745
90762
|
});
|
|
90746
90763
|
return (_ctx, _cache) => {
|
|
90747
90764
|
return openBlock$2(), createBlock$2(Teleport$1, { to: "body" }, [
|
|
90748
|
-
createVNode$2(_sfc_main$
|
|
90765
|
+
createVNode$2(_sfc_main$i, {
|
|
90749
90766
|
modelValue: isActive.value,
|
|
90750
90767
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
90751
90768
|
acceptButton: "",
|
|
@@ -90950,7 +90967,7 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
90950
90967
|
CkImg: ckImg,
|
|
90951
90968
|
CkInput,
|
|
90952
90969
|
CkLabel,
|
|
90953
|
-
CkPopup: _sfc_main$
|
|
90970
|
+
CkPopup: _sfc_main$i,
|
|
90954
90971
|
CkRadio: ckRadio,
|
|
90955
90972
|
CkSelect: ckSelect,
|
|
90956
90973
|
CkSidebar: ckSidebar,
|
|
@@ -90995,4 +91012,4 @@ const install3 = function installCleek(app, options) {
|
|
|
90995
91012
|
app.component(componentName, component);
|
|
90996
91013
|
});
|
|
90997
91014
|
};
|
|
90998
|
-
export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$d as CkInputTime, CkLabel, ckNavbar as CkNavbar, _sfc_main$f as CkPagination, _sfc_main$
|
|
91015
|
+
export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$d as CkInputTime, CkLabel, ckNavbar as CkNavbar, _sfc_main$f as CkPagination, _sfc_main$i 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, ckTimeShower as CkTimeShower, CkTr, ckNotify, install3 as default, useWindowWidth };
|