cleek 2.3.47 → 2.3.50
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 +27 -22
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -16465,7 +16465,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16465
16465
|
var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-ddf67f32"]]);
|
|
16466
16466
|
var ckNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16467
16467
|
const _hoisted_1$j = { class: "ck-notify__container" };
|
|
16468
|
-
const _hoisted_2$
|
|
16468
|
+
const _hoisted_2$9 = { class: "ck-notify__title" };
|
|
16469
16469
|
const _hoisted_3$6 = { class: "close-btn" };
|
|
16470
16470
|
const _hoisted_4$4 = { class: "ck-notify__text" };
|
|
16471
16471
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
@@ -16517,7 +16517,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16517
16517
|
style: normalizeStyle({ "background-color": globalColor.value }),
|
|
16518
16518
|
onClick: _cache[0] || (_cache[0] = ($event) => closeNotification())
|
|
16519
16519
|
}, [
|
|
16520
|
-
createElementVNode("div", _hoisted_2$
|
|
16520
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
16521
16521
|
createElementVNode("div", _hoisted_3$6, [
|
|
16522
16522
|
createVNode(ckIcon, { icon: "times" })
|
|
16523
16523
|
]),
|
|
@@ -16859,7 +16859,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
16859
16859
|
};
|
|
16860
16860
|
}
|
|
16861
16861
|
});
|
|
16862
|
-
var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
16862
|
+
var ckLabel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-4a9527c9"]]);
|
|
16863
16863
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16864
16864
|
const _hoisted_1$e = ["autocomplete", "type", "placeholder", "disabled"];
|
|
16865
16865
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
@@ -17107,7 +17107,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
17107
17107
|
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-ad4db5f6"]]);
|
|
17108
17108
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17109
17109
|
const _hoisted_1$c = { class: "ck-table__pagination" };
|
|
17110
|
-
const _hoisted_2$
|
|
17110
|
+
const _hoisted_2$8 = ["onClick"];
|
|
17111
17111
|
const _hoisted_3$5 = ["onClick"];
|
|
17112
17112
|
const itemsShowed = 5;
|
|
17113
17113
|
const __default__ = {
|
|
@@ -17202,7 +17202,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
17202
17202
|
return openBlock(), createElementBlock("div", {
|
|
17203
17203
|
class: "ck-table__pagination-item pagination-item__left",
|
|
17204
17204
|
onClick: ($event) => _ctx.updateCurrentPage(num)
|
|
17205
|
-
}, toDisplayString(num), 9, _hoisted_2$
|
|
17205
|
+
}, toDisplayString(num), 9, _hoisted_2$8);
|
|
17206
17206
|
}), 256)),
|
|
17207
17207
|
createVNode(ckInput, {
|
|
17208
17208
|
class: "ck-table__pagination-input",
|
|
@@ -18008,9 +18008,9 @@ const computed = (getterOrOptions, debugOptions) => {
|
|
|
18008
18008
|
return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
18009
18009
|
};
|
|
18010
18010
|
var ckCheckbox_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18011
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
18011
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-79b1a82b"), n = n(), popScopeId(), n);
|
|
18012
18012
|
const _hoisted_1$b = ["disabled", "checked"];
|
|
18013
|
-
const _hoisted_2$
|
|
18013
|
+
const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
18014
18014
|
const _hoisted_3$4 = {
|
|
18015
18015
|
key: 0,
|
|
18016
18016
|
class: "c-Checkbox__label"
|
|
@@ -18064,7 +18064,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18064
18064
|
onChange2($event);
|
|
18065
18065
|
})
|
|
18066
18066
|
}, null, 40, _hoisted_1$b),
|
|
18067
|
-
_hoisted_2$
|
|
18067
|
+
_hoisted_2$7,
|
|
18068
18068
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_3$4, [
|
|
18069
18069
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
18070
18070
|
])) : createCommentVNode("", true)
|
|
@@ -18072,13 +18072,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
18072
18072
|
};
|
|
18073
18073
|
}
|
|
18074
18074
|
});
|
|
18075
|
-
var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
18075
|
+
var ckCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-79b1a82b"]]);
|
|
18076
18076
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
18077
18077
|
const _hoisted_1$a = {
|
|
18078
18078
|
key: 0,
|
|
18079
18079
|
class: "ck-popup"
|
|
18080
18080
|
};
|
|
18081
|
-
const _hoisted_2$
|
|
18081
|
+
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
18082
18082
|
const _hoisted_3$3 = { class: "ck-popup__slot-header" };
|
|
18083
18083
|
const _hoisted_4$3 = {
|
|
18084
18084
|
key: 0,
|
|
@@ -18104,6 +18104,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18104
18104
|
notCloseBtn: { type: Boolean, default: false },
|
|
18105
18105
|
notCloseByBg: { type: Boolean, default: false },
|
|
18106
18106
|
preventCloseOnCancel: { type: Boolean, default: false },
|
|
18107
|
+
width: { type: String, default: void 0 },
|
|
18107
18108
|
maxWidth: { type: String, default: void 0 }
|
|
18108
18109
|
},
|
|
18109
18110
|
emits: ["update:modelValue", "cancel", "accept"],
|
|
@@ -18121,6 +18122,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18121
18122
|
const list = [];
|
|
18122
18123
|
if (props.maxWidth)
|
|
18123
18124
|
list.push({ maxWidth: props.maxWidth });
|
|
18125
|
+
if (props.width)
|
|
18126
|
+
list.push({ width: props.width });
|
|
18124
18127
|
return list;
|
|
18125
18128
|
});
|
|
18126
18129
|
function onCancel() {
|
|
@@ -18138,7 +18141,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18138
18141
|
}
|
|
18139
18142
|
return (_ctx, _cache) => {
|
|
18140
18143
|
return unref$1(isActive) ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
18141
|
-
_hoisted_2$
|
|
18144
|
+
_hoisted_2$6,
|
|
18142
18145
|
createElementVNode("div", {
|
|
18143
18146
|
class: "popup-container",
|
|
18144
18147
|
onClick: _cache[4] || (_cache[4] = ($event) => onBgClick())
|
|
@@ -18194,7 +18197,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18194
18197
|
});
|
|
18195
18198
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18196
18199
|
const _hoisted_1$9 = { class: "columns-manger-container" };
|
|
18197
|
-
const _hoisted_2$
|
|
18200
|
+
const _hoisted_2$5 = { class: "columns-manger__item" };
|
|
18198
18201
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
18199
18202
|
props: {
|
|
18200
18203
|
modelValue: { type: Boolean, required: true },
|
|
@@ -18243,7 +18246,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18243
18246
|
default: withCtx(() => [
|
|
18244
18247
|
createElementVNode("div", _hoisted_1$9, [
|
|
18245
18248
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(columnsCheckable), (col) => {
|
|
18246
|
-
return openBlock(), createElementBlock("div", _hoisted_2$
|
|
18249
|
+
return openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
18247
18250
|
createVNode(ckCheckbox, {
|
|
18248
18251
|
modelValue: col.value,
|
|
18249
18252
|
"onUpdate:modelValue": ($event) => col.value = $event,
|
|
@@ -18542,7 +18545,7 @@ var App;
|
|
|
18542
18545
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
18543
18546
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
18544
18547
|
const _hoisted_1$8 = { class: "ck-table" };
|
|
18545
|
-
const _hoisted_2$
|
|
18548
|
+
const _hoisted_2$4 = {
|
|
18546
18549
|
key: 0,
|
|
18547
18550
|
class: "ck-table__header"
|
|
18548
18551
|
};
|
|
@@ -18656,7 +18659,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
18656
18659
|
columns: __props.columns
|
|
18657
18660
|
}, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
|
|
18658
18661
|
createElementVNode("div", _hoisted_1$8, [
|
|
18659
|
-
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18662
|
+
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
18660
18663
|
createVNode(TableHeaderItems, {
|
|
18661
18664
|
search: unref$1(searchLocal),
|
|
18662
18665
|
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
|
|
@@ -18928,7 +18931,7 @@ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-bcb0
|
|
|
18928
18931
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18929
18932
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
|
|
18930
18933
|
const _hoisted_1$5 = ["onKeyup"];
|
|
18931
|
-
const _hoisted_2$
|
|
18934
|
+
const _hoisted_2$3 = ["name", "value", "disabled"];
|
|
18932
18935
|
const _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "c-Radio__element" }, null, -1));
|
|
18933
18936
|
const _hoisted_4$1 = {
|
|
18934
18937
|
key: 0,
|
|
@@ -18983,7 +18986,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
18983
18986
|
name: __props.name,
|
|
18984
18987
|
value: item.value,
|
|
18985
18988
|
disabled: __props.disabled
|
|
18986
|
-
}, null, 8, _hoisted_2$
|
|
18989
|
+
}, null, 8, _hoisted_2$3), [
|
|
18987
18990
|
[vModelRadio, unref$1(value)]
|
|
18988
18991
|
]),
|
|
18989
18992
|
_hoisted_3$1,
|
|
@@ -18995,7 +18998,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
18995
18998
|
});
|
|
18996
18999
|
var ckRadio = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5198d80"]]);
|
|
18997
19000
|
var ckSelect_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18998
|
-
const _hoisted_1$4 = ["
|
|
19001
|
+
const _hoisted_1$4 = ["disabled"];
|
|
19002
|
+
const _hoisted_2$2 = ["value"];
|
|
18999
19003
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
19000
19004
|
props: {
|
|
19001
19005
|
modelValue: { default: null, type: [Boolean, Number, Object, Array, String] },
|
|
@@ -19015,7 +19019,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19015
19019
|
minWidth: { type: String, default: "180px" },
|
|
19016
19020
|
noBorder: { type: Boolean, default: false },
|
|
19017
19021
|
bgTransparent: { type: Boolean, default: false },
|
|
19018
|
-
disabled: { type:
|
|
19022
|
+
disabled: { type: Boolean, default: false },
|
|
19019
19023
|
group: { type: String, default: "" },
|
|
19020
19024
|
widthBreaks: { type: Array, default: void 0 },
|
|
19021
19025
|
groupVertical: { type: String, default: "" },
|
|
@@ -19148,6 +19152,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19148
19152
|
withDirectives(createElementVNode("select", {
|
|
19149
19153
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
19150
19154
|
class: normalizeClass(unref$1(computedClassSelect)),
|
|
19155
|
+
disabled: __props.disabled,
|
|
19151
19156
|
onClick: _cache[1] || (_cache[1] = ($event) => onClick($event)),
|
|
19152
19157
|
onChange: _cache[2] || (_cache[2] = ($event) => onChange2($event))
|
|
19153
19158
|
}, [
|
|
@@ -19155,16 +19160,16 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
19155
19160
|
return openBlock(), createElementBlock("option", {
|
|
19156
19161
|
value: getOptionValue(option),
|
|
19157
19162
|
key: option
|
|
19158
|
-
}, toDisplayString(getOptionName(option)), 9,
|
|
19163
|
+
}, toDisplayString(getOptionName(option)), 9, _hoisted_2$2);
|
|
19159
19164
|
}), 128))
|
|
19160
|
-
],
|
|
19165
|
+
], 42, _hoisted_1$4), [
|
|
19161
19166
|
[vModelSelect, unref$1(value)]
|
|
19162
19167
|
])
|
|
19163
19168
|
], 4);
|
|
19164
19169
|
};
|
|
19165
19170
|
}
|
|
19166
19171
|
});
|
|
19167
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
19172
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7c5ab996"]]);
|
|
19168
19173
|
var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19169
19174
|
const _withScopeId = (n) => (pushScopeId("data-v-7e2f20c4"), n = n(), popScopeId(), n);
|
|
19170
19175
|
const _hoisted_1$3 = ["disabled"];
|