cleek 2.8.2 → 2.8.3
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 +61 -30
- package/dist/cleek.umd.js +22 -22
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3231,10 +3231,10 @@ const _hoisted_2$1$2 = {
|
|
|
3231
3231
|
ref: "inner",
|
|
3232
3232
|
class: "v-popper__inner"
|
|
3233
3233
|
};
|
|
3234
|
-
const _hoisted_3$
|
|
3234
|
+
const _hoisted_3$b = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
|
|
3235
3235
|
const _hoisted_4$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
|
|
3236
3236
|
const _hoisted_5$5 = [
|
|
3237
|
-
_hoisted_3$
|
|
3237
|
+
_hoisted_3$b,
|
|
3238
3238
|
_hoisted_4$8
|
|
3239
3239
|
];
|
|
3240
3240
|
function _sfc_render$2$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -3523,7 +3523,7 @@ const _sfc_main$z = defineComponent$1({
|
|
|
3523
3523
|
}
|
|
3524
3524
|
});
|
|
3525
3525
|
const _hoisted_1$q = ["innerHTML"];
|
|
3526
|
-
const _hoisted_2$
|
|
3526
|
+
const _hoisted_2$f = ["textContent"];
|
|
3527
3527
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3528
3528
|
const _component_PopperContent = resolveComponent$1("PopperContent");
|
|
3529
3529
|
const _component_Popper = resolveComponent$1("Popper");
|
|
@@ -3569,7 +3569,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3569
3569
|
}, null, 8, _hoisted_1$q)) : (openBlock$1(), createElementBlock$1("div", {
|
|
3570
3570
|
key: 1,
|
|
3571
3571
|
textContent: toDisplayString(_ctx.finalContent)
|
|
3572
|
-
}, null, 8, _hoisted_2$
|
|
3572
|
+
}, null, 8, _hoisted_2$f))
|
|
3573
3573
|
]),
|
|
3574
3574
|
_: 2
|
|
3575
3575
|
}, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
|
|
@@ -46393,7 +46393,7 @@ const _hoisted_1$p = {
|
|
|
46393
46393
|
key: 0,
|
|
46394
46394
|
class: "help-text"
|
|
46395
46395
|
};
|
|
46396
|
-
const _hoisted_2$
|
|
46396
|
+
const _hoisted_2$e = {
|
|
46397
46397
|
key: 0,
|
|
46398
46398
|
class: "pl-1"
|
|
46399
46399
|
};
|
|
@@ -46430,7 +46430,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent$1({
|
|
|
46430
46430
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
|
|
46431
46431
|
}, [
|
|
46432
46432
|
createTextVNode$1(toDisplayString(unref$2(computedDate)) + " ", 1),
|
|
46433
|
-
unref$2(computedTime) ? (openBlock$1(), createElementBlock$1("span", _hoisted_2$
|
|
46433
|
+
unref$2(computedTime) ? (openBlock$1(), createElementBlock$1("span", _hoisted_2$e, " | " + toDisplayString(unref$2(computedTime)), 1)) : createCommentVNode$1("", true)
|
|
46434
46434
|
])) : withDirectives((openBlock$1(), createElementBlock$1("div", {
|
|
46435
46435
|
key: 2,
|
|
46436
46436
|
class: "ck-datetime-shower",
|
|
@@ -46445,9 +46445,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent$1({
|
|
|
46445
46445
|
});
|
|
46446
46446
|
var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-4dcd4d84"]]);
|
|
46447
46447
|
var ckTimeShower_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
46448
|
-
const _withScopeId$
|
|
46448
|
+
const _withScopeId$4 = (n) => (pushScopeId$1("data-v-4d15db47"), n = n(), popScopeId$1(), n);
|
|
46449
46449
|
const _hoisted_1$o = { class: "ck-time-shower" };
|
|
46450
|
-
const _hoisted_2$
|
|
46450
|
+
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("span", { class: "hs-text" }, " hs ", -1));
|
|
46451
46451
|
const _sfc_main$x = /* @__PURE__ */ defineComponent$1({
|
|
46452
46452
|
props: {
|
|
46453
46453
|
time: null,
|
|
@@ -46461,7 +46461,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent$1({
|
|
|
46461
46461
|
], 64)) : (openBlock$1(), createElementBlock$1(Fragment$1, { key: 1 }, [
|
|
46462
46462
|
createTextVNode$1(" | " + toDisplayString(unref$2(qmDate).presentTime(__props.time)), 1)
|
|
46463
46463
|
], 64)),
|
|
46464
|
-
_hoisted_2$
|
|
46464
|
+
_hoisted_2$d
|
|
46465
46465
|
]);
|
|
46466
46466
|
};
|
|
46467
46467
|
}
|
|
@@ -47573,8 +47573,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent$1({
|
|
|
47573
47573
|
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3eb67ac4"]]);
|
|
47574
47574
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
47575
47575
|
const _hoisted_1$i = { class: "ck-input__content" };
|
|
47576
|
-
const _hoisted_2$
|
|
47577
|
-
const _hoisted_3$
|
|
47576
|
+
const _hoisted_2$c = ["autocomplete", "placeholder", "disabled"];
|
|
47577
|
+
const _hoisted_3$a = ["autocomplete", "type", "placeholder", "disabled"];
|
|
47578
47578
|
const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
47579
47579
|
props: {
|
|
47580
47580
|
modelValue: null,
|
|
@@ -47800,7 +47800,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
|
47800
47800
|
onClick: _cache[4] || (_cache[4] = ($event) => onClick2($event)),
|
|
47801
47801
|
onFocus: _cache[5] || (_cache[5] = ($event) => emits("focus", $event)),
|
|
47802
47802
|
onBlur: _cache[6] || (_cache[6] = ($event) => emits("blur", $event))
|
|
47803
|
-
}, null, 46, _hoisted_2$
|
|
47803
|
+
}, null, 46, _hoisted_2$c)), [
|
|
47804
47804
|
[vModelText, unref$2(value)]
|
|
47805
47805
|
]) : withDirectives((openBlock$1(), createElementBlock$1("input", {
|
|
47806
47806
|
key: 3,
|
|
@@ -47818,7 +47818,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
|
47818
47818
|
onClick: _cache[10] || (_cache[10] = ($event) => onClick2($event)),
|
|
47819
47819
|
onFocus: _cache[11] || (_cache[11] = ($event) => emits("focus", $event)),
|
|
47820
47820
|
onBlur: _cache[12] || (_cache[12] = ($event) => emits("blur", $event))
|
|
47821
|
-
}, null, 46, _hoisted_3$
|
|
47821
|
+
}, null, 46, _hoisted_3$a)), [
|
|
47822
47822
|
[vModelDynamic, unref$2(value)]
|
|
47823
47823
|
]),
|
|
47824
47824
|
__props.type === "password" ? (openBlock$1(), createElementBlock$1("div", {
|
|
@@ -47983,12 +47983,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent$1({
|
|
|
47983
47983
|
});
|
|
47984
47984
|
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-64173368"]]);
|
|
47985
47985
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
47986
|
-
const _withScopeId$
|
|
47986
|
+
const _withScopeId$3 = (n) => (pushScopeId$1("data-v-27c654d0"), n = n(), popScopeId$1(), n);
|
|
47987
47987
|
const _hoisted_1$h = { class: "ck-table__pagination" };
|
|
47988
|
-
const _hoisted_2$
|
|
47989
|
-
const _hoisted_3$
|
|
47988
|
+
const _hoisted_2$b = { class: "ck-table__pagination--numbers-container" };
|
|
47989
|
+
const _hoisted_3$9 = ["onClick"];
|
|
47990
47990
|
const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
|
|
47991
|
-
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$
|
|
47991
|
+
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
47992
47992
|
const _hoisted_6$2 = ["onClick"];
|
|
47993
47993
|
const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
47994
47994
|
props: {
|
|
@@ -48100,12 +48100,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
48100
48100
|
icon: unref$2(hasArrowLeft) ? "angle-left" : "grip-lines-vertical"
|
|
48101
48101
|
}, null, 8, ["icon"])
|
|
48102
48102
|
], 2),
|
|
48103
|
-
createElementVNode("div", _hoisted_2$
|
|
48103
|
+
createElementVNode("div", _hoisted_2$b, [
|
|
48104
48104
|
(openBlock$1(true), createElementBlock$1(Fragment$1, null, renderList(unref$2(listLeft), (num) => {
|
|
48105
48105
|
return openBlock$1(), createElementBlock$1("div", {
|
|
48106
48106
|
class: "ck-table__pagination-item--left",
|
|
48107
48107
|
onClick: ($event) => currentPageLocal.value = num
|
|
48108
|
-
}, toDisplayString(num), 9, _hoisted_3$
|
|
48108
|
+
}, toDisplayString(num), 9, _hoisted_3$9);
|
|
48109
48109
|
}), 256)),
|
|
48110
48110
|
createElementVNode("div", _hoisted_4$7, [
|
|
48111
48111
|
withDirectives(createElementVNode("input", {
|
|
@@ -48911,18 +48911,14 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
48911
48911
|
return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
48912
48912
|
};
|
|
48913
48913
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
48914
|
-
const _withScopeId$3 = (n) => (pushScopeId$1("data-v-1fffee96"), n = n(), popScopeId$1(), n);
|
|
48915
48914
|
const _hoisted_1$g = ["disabled", "checked"];
|
|
48916
|
-
const _hoisted_2$b = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
48917
|
-
const _hoisted_3$9 = {
|
|
48918
|
-
key: 0,
|
|
48919
|
-
class: "c-Checkbox__label"
|
|
48920
|
-
};
|
|
48921
48915
|
const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
48922
48916
|
props: {
|
|
48923
48917
|
modelValue: { type: Boolean },
|
|
48924
48918
|
label: null,
|
|
48925
|
-
disabled: { type: Boolean }
|
|
48919
|
+
disabled: { type: Boolean },
|
|
48920
|
+
color: null,
|
|
48921
|
+
colorText: null
|
|
48926
48922
|
},
|
|
48927
48923
|
emits: ["update:modelValue", "change"],
|
|
48928
48924
|
setup(__props, { emit: emits }) {
|
|
@@ -48941,6 +48937,34 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
|
48941
48937
|
tabindex: props.disabled ? void 0 : "0"
|
|
48942
48938
|
};
|
|
48943
48939
|
});
|
|
48940
|
+
const computedClass = computed(() => {
|
|
48941
|
+
const list = [];
|
|
48942
|
+
if (props.color && hooks9.isColorTemplateVariable(props.color)) {
|
|
48943
|
+
list.push(`ck-component__border-color--${props.color}`);
|
|
48944
|
+
}
|
|
48945
|
+
return list;
|
|
48946
|
+
});
|
|
48947
|
+
const computedStyle = computed(() => {
|
|
48948
|
+
const list = [];
|
|
48949
|
+
if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
|
|
48950
|
+
list.push({ borderColor: props.color });
|
|
48951
|
+
}
|
|
48952
|
+
return list;
|
|
48953
|
+
});
|
|
48954
|
+
const computedClassLabel = computed(() => {
|
|
48955
|
+
const list = [];
|
|
48956
|
+
if (props.colorText && hooks9.isColorTemplateVariable(props.colorText)) {
|
|
48957
|
+
list.push(`ck-component__color--${props.colorText}`);
|
|
48958
|
+
}
|
|
48959
|
+
return list;
|
|
48960
|
+
});
|
|
48961
|
+
const computedStyleLabel = computed(() => {
|
|
48962
|
+
const list = [];
|
|
48963
|
+
if (props.colorText && !hooks9.isColorTemplateVariable(props.colorText)) {
|
|
48964
|
+
list.push({ color: props.colorText });
|
|
48965
|
+
}
|
|
48966
|
+
return list;
|
|
48967
|
+
});
|
|
48944
48968
|
function onChange2(event) {
|
|
48945
48969
|
emits("change", event);
|
|
48946
48970
|
}
|
|
@@ -48968,15 +48992,22 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
|
48968
48992
|
onChange2($event);
|
|
48969
48993
|
})
|
|
48970
48994
|
}, null, 40, _hoisted_1$g),
|
|
48971
|
-
|
|
48972
|
-
|
|
48995
|
+
createElementVNode("div", {
|
|
48996
|
+
class: normalizeClass$1(["ck-checkbox__element", unref$2(computedClass)]),
|
|
48997
|
+
style: normalizeStyle$1(unref$2(computedStyle))
|
|
48998
|
+
}, null, 6),
|
|
48999
|
+
_ctx.$slots.default ? (openBlock$1(), createElementBlock$1("span", {
|
|
49000
|
+
key: 0,
|
|
49001
|
+
class: normalizeClass$1(["c-Checkbox__label", unref$2(computedClassLabel)]),
|
|
49002
|
+
style: normalizeStyle$1(unref$2(computedStyleLabel))
|
|
49003
|
+
}, [
|
|
48973
49004
|
renderSlot$1(_ctx.$slots, "default", {}, void 0, true)
|
|
48974
|
-
])) : createCommentVNode$1("", true)
|
|
49005
|
+
], 6)) : createCommentVNode$1("", true)
|
|
48975
49006
|
], 16);
|
|
48976
49007
|
};
|
|
48977
49008
|
}
|
|
48978
49009
|
});
|
|
48979
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
49010
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-335d1bdf"]]);
|
|
48980
49011
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
48981
49012
|
const _hoisted_1$f = { class: "ck-popup" };
|
|
48982
49013
|
const _hoisted_2$a = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|