cleek 1.7.11 → 1.7.12
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 +21 -15
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -11670,7 +11670,7 @@ const _hoisted_5$1 = {
|
|
|
11670
11670
|
key: 0,
|
|
11671
11671
|
class: "ck-popup__slot-footer"
|
|
11672
11672
|
};
|
|
11673
|
-
const _hoisted_6 = {
|
|
11673
|
+
const _hoisted_6$1 = {
|
|
11674
11674
|
key: 0,
|
|
11675
11675
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
11676
11676
|
};
|
|
@@ -11737,7 +11737,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
11737
11737
|
]),
|
|
11738
11738
|
_ctx.$slots.footer || __props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
11739
11739
|
renderSlot(_ctx.$slots, "footer"),
|
|
11740
|
-
__props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
11740
|
+
__props.confirmButtons ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
11741
11741
|
createVNode(ckButton, {
|
|
11742
11742
|
class: "cancel-button",
|
|
11743
11743
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.onCancel()),
|
|
@@ -12206,7 +12206,7 @@ function render$6(_ctx, _cache) {
|
|
|
12206
12206
|
}
|
|
12207
12207
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12208
12208
|
const _sfc_main$8 = {};
|
|
12209
|
-
var ckTr = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", render$6], ["__scopeId", "data-v-
|
|
12209
|
+
var ckTr = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", render$6], ["__scopeId", "data-v-1dd12190"]]);
|
|
12210
12210
|
const _hoisted_1$5 = { class: "ck-th" };
|
|
12211
12211
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12212
12212
|
return openBlock(), createElementBlock("th", _hoisted_1$5, [
|
|
@@ -12415,7 +12415,7 @@ const __default__$1 = {
|
|
|
12415
12415
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
|
|
12416
12416
|
setup(__props) {
|
|
12417
12417
|
return (_ctx, _cache) => {
|
|
12418
|
-
return __props.currentPage ? (openBlock(), createElementBlock("div", {
|
|
12418
|
+
return __props.currentPage && _ctx.totalPages > 1 ? (openBlock(), createElementBlock("div", {
|
|
12419
12419
|
key: 0,
|
|
12420
12420
|
class: normalizeClass(["ck-table__pagination-container", `pagination-align--${__props.align}`])
|
|
12421
12421
|
}, [
|
|
@@ -12460,16 +12460,20 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12460
12460
|
};
|
|
12461
12461
|
}
|
|
12462
12462
|
}));
|
|
12463
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
12463
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1338efe2"]]);
|
|
12464
12464
|
var ckTable_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
12465
12465
|
const _hoisted_1$2 = { class: "ck-table" };
|
|
12466
12466
|
const _hoisted_2 = {
|
|
12467
12467
|
key: 0,
|
|
12468
12468
|
class: "ck-table__header"
|
|
12469
12469
|
};
|
|
12470
|
-
const _hoisted_3 = {
|
|
12471
|
-
|
|
12472
|
-
|
|
12470
|
+
const _hoisted_3 = {
|
|
12471
|
+
key: 0,
|
|
12472
|
+
class: "ck-table__header--slot"
|
|
12473
|
+
};
|
|
12474
|
+
const _hoisted_4 = { class: "ck-table__table" };
|
|
12475
|
+
const _hoisted_5 = { key: 0 };
|
|
12476
|
+
const _hoisted_6 = { key: 1 };
|
|
12473
12477
|
const defaultPaginationAlign = "center";
|
|
12474
12478
|
const defaultItemsPerPage = 40;
|
|
12475
12479
|
const __default__ = {
|
|
@@ -12520,9 +12524,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12520
12524
|
return (_ctx, _cache) => {
|
|
12521
12525
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
12522
12526
|
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
12523
|
-
|
|
12527
|
+
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
12528
|
+
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
12529
|
+
])) : createCommentVNode("", true),
|
|
12524
12530
|
!__props.hideHeaderActions ? (openBlock(), createBlock(TableHeaderItems, {
|
|
12525
|
-
key:
|
|
12531
|
+
key: 1,
|
|
12526
12532
|
search: _ctx.searchLocal,
|
|
12527
12533
|
"onUpdate:search": _cache[0] || (_cache[0] = ($event) => isRef(searchLocal) ? searchLocal.value = $event : null),
|
|
12528
12534
|
currentPage: __props.currentPage,
|
|
@@ -12533,8 +12539,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12533
12539
|
onRefreshList: _cache[1] || (_cache[1] = ($event) => _ctx.refreshList($event))
|
|
12534
12540
|
}, null, 8, ["search", "currentPage", "itemsPerPage", "listLength", "hideRefreshBtn", "hideItemsPerPage"])) : createCommentVNode("", true)
|
|
12535
12541
|
])) : createCommentVNode("", true),
|
|
12536
|
-
createElementVNode("table",
|
|
12537
|
-
__props.columns.length ? (openBlock(), createElementBlock("thead",
|
|
12542
|
+
createElementVNode("table", _hoisted_4, [
|
|
12543
|
+
__props.columns.length ? (openBlock(), createElementBlock("thead", _hoisted_5, [
|
|
12538
12544
|
createVNode(ckTr, null, {
|
|
12539
12545
|
default: withCtx(() => [
|
|
12540
12546
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
@@ -12550,7 +12556,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12550
12556
|
createElementVNode("tbody", null, [
|
|
12551
12557
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
12552
12558
|
]),
|
|
12553
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot",
|
|
12559
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_6, [
|
|
12554
12560
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
12555
12561
|
])) : createCommentVNode("", true)
|
|
12556
12562
|
]),
|
|
@@ -12566,7 +12572,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12566
12572
|
};
|
|
12567
12573
|
}
|
|
12568
12574
|
}));
|
|
12569
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
12575
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-321fae5a"]]);
|
|
12570
12576
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12571
12577
|
return openBlock(), createElementBlock("td", {
|
|
12572
12578
|
class: normalizeClass(["ck-td", $options.computedTdClass])
|
|
@@ -12622,7 +12628,7 @@ const _sfc_main$2 = {
|
|
|
12622
12628
|
}
|
|
12623
12629
|
}
|
|
12624
12630
|
};
|
|
12625
|
-
var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", render$3], ["__scopeId", "data-v-
|
|
12631
|
+
var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", render$3], ["__scopeId", "data-v-5f7dcb09"]]);
|
|
12626
12632
|
const _hoisted_1$1 = { class: "ck-textarea" };
|
|
12627
12633
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12628
12634
|
const _component_ck_label = resolveComponent("ck-label");
|