cleek 2.4.38 → 2.4.39
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 +73 -62
- package/dist/cleek.umd.js +6 -6
- package/dist/components/ck-chip.vue.d.ts +7 -6
- package/dist/components/ck-icon.vue.d.ts +9 -14
- package/dist/components/ck-img.vue.d.ts +7 -8
- package/dist/components/ck-label.vue.d.ts +5 -4
- package/dist/components/ck-navbar/ck-navbar.vue.d.ts +4 -4
- package/dist/components/ck-popup.vue.d.ts +2 -2
- package/dist/components/ck-select.vue.d.ts +4 -4
- package/dist/components/ck-switch.vue.d.ts +7 -6
- package/dist/components/ck-textarea.vue.d.ts +8 -0
- package/dist/style.css +1 -1
- package/dist/types/cleek-options.d.ts +2 -0
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -2630,7 +2630,7 @@ const _sfc_main$r = defineComponent({
|
|
|
2630
2630
|
}
|
|
2631
2631
|
});
|
|
2632
2632
|
const _hoisted_1$l = ["innerHTML"];
|
|
2633
|
-
const _hoisted_2$
|
|
2633
|
+
const _hoisted_2$c = ["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");
|
|
@@ -2676,7 +2676,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2676
2676
|
}, null, 8, _hoisted_1$l)) : (openBlock(), createElementBlock("div", {
|
|
2677
2677
|
key: 1,
|
|
2678
2678
|
textContent: toDisplayString(_ctx.finalContent)
|
|
2679
|
-
}, null, 8, _hoisted_2$
|
|
2679
|
+
}, null, 8, _hoisted_2$c))
|
|
2680
2680
|
]),
|
|
2681
2681
|
_: 2
|
|
2682
2682
|
}, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
|
|
@@ -18839,7 +18839,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
18839
18839
|
};
|
|
18840
18840
|
}
|
|
18841
18841
|
});
|
|
18842
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
18842
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-62129388"]]);
|
|
18843
18843
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18844
18844
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
18845
18845
|
props: {
|
|
@@ -18878,7 +18878,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18878
18878
|
};
|
|
18879
18879
|
}
|
|
18880
18880
|
});
|
|
18881
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
18881
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-66dc4f95"]]);
|
|
18882
18882
|
const _hoisted_1$j = { class: "ck-tr" };
|
|
18883
18883
|
function render2(_ctx, _cache) {
|
|
18884
18884
|
return openBlock(), createElementBlock("tr", _hoisted_1$j, [
|
|
@@ -18978,7 +18978,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
18978
18978
|
};
|
|
18979
18979
|
}
|
|
18980
18980
|
});
|
|
18981
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
18981
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-7f4cf041"]]);
|
|
18982
18982
|
var axios$2 = { exports: {} };
|
|
18983
18983
|
var bind$2 = function bind2(fn, thisArg) {
|
|
18984
18984
|
return function wrap() {
|
|
@@ -20803,17 +20803,14 @@ var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
20803
20803
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
20804
20804
|
props: {
|
|
20805
20805
|
icon: null,
|
|
20806
|
-
color: null,
|
|
20807
20806
|
iconPack: null,
|
|
20807
|
+
color: null,
|
|
20808
20808
|
size: null,
|
|
20809
|
-
rotation: null,
|
|
20810
20809
|
flip: null,
|
|
20811
|
-
|
|
20810
|
+
fixedWidth: null,
|
|
20811
|
+
rotation: null,
|
|
20812
20812
|
spin: { type: Boolean },
|
|
20813
|
-
pulse: { type: Boolean }
|
|
20814
|
-
inverse: { type: Boolean },
|
|
20815
|
-
fixedWidth: { type: Boolean },
|
|
20816
|
-
swapOpacity: { type: Boolean }
|
|
20813
|
+
pulse: { type: Boolean }
|
|
20817
20814
|
},
|
|
20818
20815
|
emits: ["click"],
|
|
20819
20816
|
setup(__props, { emit: emits }) {
|
|
@@ -20859,18 +20856,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
20859
20856
|
size: __props.size,
|
|
20860
20857
|
rotation: __props.rotation,
|
|
20861
20858
|
flip: __props.flip,
|
|
20862
|
-
pull: __props.pull,
|
|
20863
20859
|
spin: __props.spin,
|
|
20864
20860
|
pulse: __props.pulse,
|
|
20865
|
-
|
|
20866
|
-
|
|
20867
|
-
"swap-opacity": __props.swapOpacity
|
|
20868
|
-
}, null, 8, ["icon", "size", "rotation", "flip", "pull", "spin", "pulse", "inverse", "fixed-width", "swap-opacity"])) : createCommentVNode("", true)
|
|
20861
|
+
"fixed-width": __props.fixedWidth
|
|
20862
|
+
}, null, 8, ["icon", "size", "rotation", "flip", "spin", "pulse", "fixed-width"])) : createCommentVNode("", true)
|
|
20869
20863
|
], 6);
|
|
20870
20864
|
};
|
|
20871
20865
|
}
|
|
20872
20866
|
});
|
|
20873
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
20867
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a8333ef4"]]);
|
|
20874
20868
|
function useWindowWidth() {
|
|
20875
20869
|
const windowWidth = ref(0);
|
|
20876
20870
|
function handleWindowResize(event) {
|
|
@@ -21001,7 +20995,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
21001
20995
|
};
|
|
21002
20996
|
}
|
|
21003
20997
|
});
|
|
21004
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20998
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3a844574"]]);
|
|
21005
20999
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21006
21000
|
const _hoisted_1$g = ["for"];
|
|
21007
21001
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
@@ -21032,7 +21026,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
21032
21026
|
};
|
|
21033
21027
|
}
|
|
21034
21028
|
});
|
|
21035
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
21029
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a4566770"]]);
|
|
21036
21030
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21037
21031
|
const _hoisted_1$f = ["autocomplete", "type", "placeholder", "disabled"];
|
|
21038
21032
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
@@ -21215,7 +21209,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21215
21209
|
};
|
|
21216
21210
|
}
|
|
21217
21211
|
});
|
|
21218
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
21212
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-4a21992c"]]);
|
|
21219
21213
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21220
21214
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
21221
21215
|
props: {
|
|
@@ -21331,7 +21325,7 @@ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "
|
|
|
21331
21325
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21332
21326
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-78fe58de"), n = n(), popScopeId(), n);
|
|
21333
21327
|
const _hoisted_1$e = { class: "ck-table__pagination" };
|
|
21334
|
-
const _hoisted_2$
|
|
21328
|
+
const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
|
|
21335
21329
|
const _hoisted_3$7 = ["onClick"];
|
|
21336
21330
|
const _hoisted_4$6 = { class: "ck-table__pagination-input-container" };
|
|
21337
21331
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
@@ -21437,7 +21431,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21437
21431
|
icon: unref$1(hasArrowLeft) ? "angle-left" : "grip-lines-vertical"
|
|
21438
21432
|
}, null, 8, ["icon"])
|
|
21439
21433
|
], 2),
|
|
21440
|
-
createElementVNode("div", _hoisted_2$
|
|
21434
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
21441
21435
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listLeft), (num) => {
|
|
21442
21436
|
return openBlock(), createElementBlock("div", {
|
|
21443
21437
|
class: "ck-table__pagination-item--left",
|
|
@@ -22250,7 +22244,7 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
22250
22244
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22251
22245
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-113ac83f"), n = n(), popScopeId(), n);
|
|
22252
22246
|
const _hoisted_1$d = ["disabled", "checked"];
|
|
22253
|
-
const _hoisted_2$
|
|
22247
|
+
const _hoisted_2$a = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
22254
22248
|
const _hoisted_3$6 = {
|
|
22255
22249
|
key: 0,
|
|
22256
22250
|
class: "c-Checkbox__label"
|
|
@@ -22304,7 +22298,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
22304
22298
|
onChange2($event);
|
|
22305
22299
|
})
|
|
22306
22300
|
}, null, 40, _hoisted_1$d),
|
|
22307
|
-
_hoisted_2$
|
|
22301
|
+
_hoisted_2$a,
|
|
22308
22302
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
|
|
22309
22303
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
22310
22304
|
])) : createCommentVNode("", true)
|
|
@@ -22318,7 +22312,7 @@ const _hoisted_1$c = {
|
|
|
22318
22312
|
key: 0,
|
|
22319
22313
|
class: "ck-popup"
|
|
22320
22314
|
};
|
|
22321
|
-
const _hoisted_2$
|
|
22315
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
22322
22316
|
const _hoisted_3$5 = {
|
|
22323
22317
|
key: 0,
|
|
22324
22318
|
class: "ck-popup__title"
|
|
@@ -22343,9 +22337,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22343
22337
|
cancelButton: { type: Boolean },
|
|
22344
22338
|
cancelBtnText: null,
|
|
22345
22339
|
cancelBtnType: null,
|
|
22346
|
-
notClose: { type: Boolean },
|
|
22347
22340
|
notCloseBtn: { type: Boolean },
|
|
22348
22341
|
notCloseByBg: { type: Boolean },
|
|
22342
|
+
notClose: { type: Boolean },
|
|
22349
22343
|
preventCloseOnCancel: { type: Boolean },
|
|
22350
22344
|
width: null,
|
|
22351
22345
|
maxWidth: null,
|
|
@@ -22416,6 +22410,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22416
22410
|
if (headerColor && hooks8.isColorTemplateVariable(headerColor)) {
|
|
22417
22411
|
list.push(`ck-component__bg-color--${headerColor}`);
|
|
22418
22412
|
}
|
|
22413
|
+
if (!isCloseBtnVisible.value)
|
|
22414
|
+
list.push("close-btn-hidden");
|
|
22419
22415
|
return list;
|
|
22420
22416
|
});
|
|
22421
22417
|
const realAcceptBtnType = computed$2(() => {
|
|
@@ -22434,6 +22430,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22434
22430
|
return (_b = cleekOptions2.value) == null ? void 0 : _b.popup.cancelBtnType;
|
|
22435
22431
|
return "flat";
|
|
22436
22432
|
});
|
|
22433
|
+
const isCloseBtnVisible = computed$2(() => {
|
|
22434
|
+
if (props.notCloseBtn)
|
|
22435
|
+
return false;
|
|
22436
|
+
if (props.notClose)
|
|
22437
|
+
return false;
|
|
22438
|
+
return true;
|
|
22439
|
+
});
|
|
22437
22440
|
function onCancel() {
|
|
22438
22441
|
emits("cancel");
|
|
22439
22442
|
if (!props.preventCloseOnCancel)
|
|
@@ -22452,7 +22455,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22452
22455
|
});
|
|
22453
22456
|
return (_ctx, _cache) => {
|
|
22454
22457
|
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
22455
|
-
_hoisted_2$
|
|
22458
|
+
_hoisted_2$9,
|
|
22456
22459
|
createElementVNode("div", {
|
|
22457
22460
|
class: "popup-container",
|
|
22458
22461
|
onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
|
|
@@ -22469,7 +22472,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22469
22472
|
}, [
|
|
22470
22473
|
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_3$5, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
22471
22474
|
renderSlot(_ctx.$slots, "header"),
|
|
22472
|
-
|
|
22475
|
+
unref$1(isCloseBtnVisible) ? (openBlock(), createBlock(CkIcon, {
|
|
22473
22476
|
key: 1,
|
|
22474
22477
|
class: "icon-close",
|
|
22475
22478
|
icon: "times",
|
|
@@ -22489,7 +22492,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22489
22492
|
type: unref$1(realCancelBtnType)
|
|
22490
22493
|
}, {
|
|
22491
22494
|
default: withCtx(() => [
|
|
22492
|
-
createTextVNode(toDisplayString(__props.cancelBtnText || "
|
|
22495
|
+
createTextVNode(toDisplayString(__props.cancelBtnText || "Cancel"), 1)
|
|
22493
22496
|
]),
|
|
22494
22497
|
_: 1
|
|
22495
22498
|
}, 8, ["type"]),
|
|
@@ -22498,7 +22501,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22498
22501
|
type: unref$1(realAcceptBtnType)
|
|
22499
22502
|
}, {
|
|
22500
22503
|
default: withCtx(() => [
|
|
22501
|
-
createTextVNode(toDisplayString(__props.acceptBtnText || "
|
|
22504
|
+
createTextVNode(toDisplayString(__props.acceptBtnText || "Accept"), 1)
|
|
22502
22505
|
]),
|
|
22503
22506
|
_: 1
|
|
22504
22507
|
}, 8, ["type"])
|
|
@@ -22512,7 +22515,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
22512
22515
|
});
|
|
22513
22516
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22514
22517
|
const _hoisted_1$b = { class: "columns-manger-container" };
|
|
22515
|
-
const _hoisted_2$
|
|
22518
|
+
const _hoisted_2$8 = { class: "columns-manger__item" };
|
|
22516
22519
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22517
22520
|
props: {
|
|
22518
22521
|
modelValue: { type: Boolean },
|
|
@@ -22561,7 +22564,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
22561
22564
|
default: withCtx(() => [
|
|
22562
22565
|
createElementVNode("div", _hoisted_1$b, [
|
|
22563
22566
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
|
|
22564
|
-
return openBlock(), createElementBlock("div", _hoisted_2$
|
|
22567
|
+
return openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
22565
22568
|
createVNode(CkCheckbox, {
|
|
22566
22569
|
modelValue: col.value,
|
|
22567
22570
|
"onUpdate:modelValue": ($event) => col.value = $event,
|
|
@@ -22585,7 +22588,7 @@ var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId"
|
|
|
22585
22588
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
22586
22589
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
22587
22590
|
const _hoisted_1$a = { class: "ck-table" };
|
|
22588
|
-
const _hoisted_2$
|
|
22591
|
+
const _hoisted_2$7 = {
|
|
22589
22592
|
key: 0,
|
|
22590
22593
|
class: "ck-table__header"
|
|
22591
22594
|
};
|
|
@@ -22623,7 +22626,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22623
22626
|
setup(__props, { emit: emits }) {
|
|
22624
22627
|
const props = __props;
|
|
22625
22628
|
let cleekOptions2 = ref();
|
|
22626
|
-
const defaultNoResultsText = "No
|
|
22629
|
+
const defaultNoResultsText = "No results found";
|
|
22627
22630
|
const defaultItemsPerPage = 40;
|
|
22628
22631
|
const { windowWidth } = useWindowWidth();
|
|
22629
22632
|
const isPopupActive = ref({
|
|
@@ -22724,7 +22727,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22724
22727
|
columns: __props.columns || []
|
|
22725
22728
|
}, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
|
|
22726
22729
|
createElementVNode("div", _hoisted_1$a, [
|
|
22727
|
-
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
22730
|
+
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
|
|
22728
22731
|
createVNode(TableHeaderItems, {
|
|
22729
22732
|
search: unref$1(searchLocal),
|
|
22730
22733
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
|
|
@@ -22805,7 +22808,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
22805
22808
|
};
|
|
22806
22809
|
}
|
|
22807
22810
|
});
|
|
22808
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
22811
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-6d6258c2"]]);
|
|
22809
22812
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22810
22813
|
const _hoisted_1$9 = ["color"];
|
|
22811
22814
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
@@ -22847,7 +22850,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22847
22850
|
};
|
|
22848
22851
|
}
|
|
22849
22852
|
});
|
|
22850
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
22853
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-65283496"]]);
|
|
22851
22854
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
22852
22855
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22853
22856
|
props: {
|
|
@@ -22887,7 +22890,6 @@ const _hoisted_1$8 = ["src", "alt"];
|
|
|
22887
22890
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
22888
22891
|
props: {
|
|
22889
22892
|
src: null,
|
|
22890
|
-
failImgSrc: null,
|
|
22891
22893
|
alt: null,
|
|
22892
22894
|
size: null,
|
|
22893
22895
|
sizeAbsolute: null,
|
|
@@ -22896,9 +22898,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22896
22898
|
zoom: { type: Boolean },
|
|
22897
22899
|
zoomTitle: null,
|
|
22898
22900
|
hasBorder: { type: Boolean },
|
|
22899
|
-
radius: null,
|
|
22900
22901
|
borderColor: null,
|
|
22901
|
-
rounded: { type: Boolean }
|
|
22902
|
+
rounded: { type: Boolean },
|
|
22903
|
+
radius: null
|
|
22902
22904
|
},
|
|
22903
22905
|
setup(__props) {
|
|
22904
22906
|
const props = __props;
|
|
@@ -22996,11 +22998,11 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
22996
22998
|
};
|
|
22997
22999
|
}
|
|
22998
23000
|
});
|
|
22999
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
23001
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-79a0763b"]]);
|
|
23000
23002
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23001
23003
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-2e09b238"), n = n(), popScopeId(), n);
|
|
23002
23004
|
const _hoisted_1$7 = ["onKeyup"];
|
|
23003
|
-
const _hoisted_2$
|
|
23005
|
+
const _hoisted_2$6 = ["name", "value", "disabled"];
|
|
23004
23006
|
const _hoisted_3$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
|
|
23005
23007
|
const _hoisted_4$3 = {
|
|
23006
23008
|
key: 0,
|
|
@@ -23055,7 +23057,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23055
23057
|
name: __props.name,
|
|
23056
23058
|
value: option.value,
|
|
23057
23059
|
disabled: __props.disabled
|
|
23058
|
-
}, null, 8, _hoisted_2$
|
|
23060
|
+
}, null, 8, _hoisted_2$6), [
|
|
23059
23061
|
[vModelRadio, unref$1(value)]
|
|
23060
23062
|
]),
|
|
23061
23063
|
_hoisted_3$3,
|
|
@@ -23068,7 +23070,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23068
23070
|
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2e09b238"]]);
|
|
23069
23071
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23070
23072
|
const _hoisted_1$6 = ["disabled"];
|
|
23071
|
-
const _hoisted_2$
|
|
23073
|
+
const _hoisted_2$5 = ["value"];
|
|
23072
23074
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
23073
23075
|
props: {
|
|
23074
23076
|
modelValue: null,
|
|
@@ -23084,10 +23086,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23084
23086
|
notClearable: { type: Boolean },
|
|
23085
23087
|
clearValue: null,
|
|
23086
23088
|
searchable: { type: [Boolean, String] },
|
|
23087
|
-
minWidth: null,
|
|
23088
23089
|
width: null,
|
|
23089
|
-
|
|
23090
|
+
minWidth: null,
|
|
23090
23091
|
layout: null,
|
|
23092
|
+
noBorder: { type: Boolean },
|
|
23091
23093
|
borderColor: null,
|
|
23092
23094
|
bgTransparent: { type: Boolean },
|
|
23093
23095
|
disabled: { type: Boolean },
|
|
@@ -23312,7 +23314,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23312
23314
|
return openBlock(), createElementBlock("option", {
|
|
23313
23315
|
value: getOptionValue(option),
|
|
23314
23316
|
key: option
|
|
23315
|
-
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$
|
|
23317
|
+
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$5);
|
|
23316
23318
|
}), 128))
|
|
23317
23319
|
], 46, _hoisted_1$6), [
|
|
23318
23320
|
[vModelSelect, unref$1(value)]
|
|
@@ -23321,7 +23323,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23321
23323
|
};
|
|
23322
23324
|
}
|
|
23323
23325
|
});
|
|
23324
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
23326
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5aafba97"]]);
|
|
23325
23327
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23326
23328
|
const _hoisted_1$5 = {
|
|
23327
23329
|
key: 0,
|
|
@@ -23413,11 +23415,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
23413
23415
|
};
|
|
23414
23416
|
}
|
|
23415
23417
|
});
|
|
23416
|
-
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
23418
|
+
var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9dfb990e"]]);
|
|
23417
23419
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23418
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
23420
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-12938cd0"), n = n(), popScopeId(), n);
|
|
23419
23421
|
const _hoisted_1$4 = ["disabled"];
|
|
23420
|
-
const _hoisted_2$
|
|
23422
|
+
const _hoisted_2$4 = { class: "ck-switch__slider-container" };
|
|
23421
23423
|
const _hoisted_3$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
|
|
23422
23424
|
const _hoisted_4$2 = {
|
|
23423
23425
|
key: 0,
|
|
@@ -23491,7 +23493,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23491
23493
|
}, null, 8, _hoisted_1$4), [
|
|
23492
23494
|
[vModelCheckbox, unref$1(value)]
|
|
23493
23495
|
]),
|
|
23494
|
-
createElementVNode("div", _hoisted_2$
|
|
23496
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
23495
23497
|
_hoisted_3$2,
|
|
23496
23498
|
__props.icon && unref$1(value) ? (openBlock(), createBlock(CkIcon, {
|
|
23497
23499
|
key: 0,
|
|
@@ -23513,10 +23515,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23513
23515
|
};
|
|
23514
23516
|
}
|
|
23515
23517
|
});
|
|
23516
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
23518
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-12938cd0"]]);
|
|
23517
23519
|
var ckSwitchOptions_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23518
23520
|
const _hoisted_1$3 = { class: "ck-switch-options__container-exterior" };
|
|
23519
|
-
const _hoisted_2$
|
|
23521
|
+
const _hoisted_2$3 = ["onClick"];
|
|
23520
23522
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
23521
23523
|
props: {
|
|
23522
23524
|
modelValue: { type: [Boolean, Number, Object] },
|
|
@@ -23588,7 +23590,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23588
23590
|
key: `ck-switch-options${index}`,
|
|
23589
23591
|
style: normalizeStyle(unref$1(computedItemStyle)),
|
|
23590
23592
|
onClick: ($event) => selectedOption.value = getOptionValue(option)
|
|
23591
|
-
}, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$
|
|
23593
|
+
}, toDisplayString(option[__props.prop || defaultProp]), 15, _hoisted_2$3);
|
|
23592
23594
|
}), 128))
|
|
23593
23595
|
], 2)
|
|
23594
23596
|
]);
|
|
@@ -23598,13 +23600,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
23598
23600
|
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-4bc709a8"]]);
|
|
23599
23601
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23600
23602
|
const _hoisted_1$2 = { class: "ck-textarea" };
|
|
23603
|
+
const _hoisted_2$2 = ["placeholder", "disabled"];
|
|
23601
23604
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
23602
23605
|
props: {
|
|
23603
23606
|
modelValue: null,
|
|
23604
23607
|
label: null,
|
|
23605
23608
|
labelAlign: null,
|
|
23606
23609
|
layout: null,
|
|
23607
|
-
borderColor: null
|
|
23610
|
+
borderColor: null,
|
|
23611
|
+
placeholder: null,
|
|
23612
|
+
disabled: { type: Boolean },
|
|
23613
|
+
preventResize: { type: Boolean },
|
|
23614
|
+
resize: null
|
|
23608
23615
|
},
|
|
23609
23616
|
emits: ["update:modelValue"],
|
|
23610
23617
|
setup(__props, { emit: emits }) {
|
|
@@ -23637,6 +23644,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23637
23644
|
if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
|
|
23638
23645
|
list.push({ "border-color": borderColor });
|
|
23639
23646
|
}
|
|
23647
|
+
if (props.resize)
|
|
23648
|
+
list.push({ resize: props.resize || "both" });
|
|
23640
23649
|
return list;
|
|
23641
23650
|
});
|
|
23642
23651
|
onMounted(() => {
|
|
@@ -23655,18 +23664,20 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23655
23664
|
}, 8, ["label-align"])) : createCommentVNode("", true),
|
|
23656
23665
|
withDirectives(createElementVNode("textarea", {
|
|
23657
23666
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
23667
|
+
placeholder: __props.placeholder,
|
|
23668
|
+
disabled: __props.disabled,
|
|
23658
23669
|
class: normalizeClass(unref$1(computedClassTextarea)),
|
|
23659
23670
|
style: normalizeStyle(unref$1(computedStyleTextarea))
|
|
23660
|
-
}, null,
|
|
23671
|
+
}, null, 14, _hoisted_2$2), [
|
|
23661
23672
|
[vModelText, unref$1(value)]
|
|
23662
23673
|
])
|
|
23663
23674
|
]);
|
|
23664
23675
|
};
|
|
23665
23676
|
}
|
|
23666
23677
|
});
|
|
23667
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
23678
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-6f36045c"]]);
|
|
23668
23679
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23669
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
23680
|
+
const _withScopeId = (n) => (pushScopeId("data-v-7e7afc17"), n = n(), popScopeId(), n);
|
|
23670
23681
|
const _hoisted_1$1 = { class: "ck-confirm--background" };
|
|
23671
23682
|
const _hoisted_2$1 = { class: "ck-confirm" };
|
|
23672
23683
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-confirm__icon" }, [
|
|
@@ -23724,7 +23735,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
23724
23735
|
};
|
|
23725
23736
|
}
|
|
23726
23737
|
});
|
|
23727
|
-
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
23738
|
+
var CkConfirmComponent = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7e7afc17"]]);
|
|
23728
23739
|
var CkNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23729
23740
|
const _hoisted_1 = { class: "ck-notify__container" };
|
|
23730
23741
|
const _hoisted_2 = { class: "ck-notify__title" };
|
|
@@ -23778,7 +23789,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23778
23789
|
};
|
|
23779
23790
|
}
|
|
23780
23791
|
});
|
|
23781
|
-
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
23792
|
+
var CkNotifyComponent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2522350d"]]);
|
|
23782
23793
|
const defaultDuration = 2e3;
|
|
23783
23794
|
var ckNotify = {
|
|
23784
23795
|
confirmOptions({
|