cleek 2.1.1 → 2.1.2
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 +32 -26
- package/dist/cleek.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -13635,7 +13635,7 @@ const _hoisted_3 = {
|
|
|
13635
13635
|
key: 1,
|
|
13636
13636
|
class: "ck-table__header--slot"
|
|
13637
13637
|
};
|
|
13638
|
-
const _hoisted_4 = { class: "ck-table__table" };
|
|
13638
|
+
const _hoisted_4 = { class: "ck-table__table-container" };
|
|
13639
13639
|
const _hoisted_5 = { key: 0 };
|
|
13640
13640
|
const _hoisted_6 = { key: 1 };
|
|
13641
13641
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -13649,7 +13649,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13649
13649
|
search: { type: String, default: void 0 },
|
|
13650
13650
|
hideHeaderActions: { type: Boolean, default: false },
|
|
13651
13651
|
hideRefreshBtn: { type: Boolean, default: false },
|
|
13652
|
-
hideItemsPerPage: { type: Boolean, default: false }
|
|
13652
|
+
hideItemsPerPage: { type: Boolean, default: false },
|
|
13653
|
+
notFullWidth: { type: Boolean, default: false }
|
|
13653
13654
|
},
|
|
13654
13655
|
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
13655
13656
|
setup(__props, { emit: emits }) {
|
|
@@ -13727,28 +13728,33 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13727
13728
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
13728
13729
|
])) : createCommentVNode("", true)
|
|
13729
13730
|
])) : createCommentVNode("", true),
|
|
13730
|
-
createElementVNode("
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13731
|
+
createElementVNode("div", _hoisted_4, [
|
|
13732
|
+
createElementVNode("table", {
|
|
13733
|
+
class: normalizeClass(["ck-table__table", { "not-full-width": __props.notFullWidth }])
|
|
13734
|
+
}, [
|
|
13735
|
+
unref$1(filteredColumnsList).length ? (openBlock(), createElementBlock("thead", _hoisted_5, [
|
|
13736
|
+
createVNode(ckTr, null, {
|
|
13737
|
+
default: withCtx(() => [
|
|
13738
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(filteredColumnsList), (col) => {
|
|
13739
|
+
return openBlock(), createBlock(_sfc_main$7, {
|
|
13740
|
+
key: col.title,
|
|
13741
|
+
col
|
|
13742
|
+
}, null, 8, ["col"]);
|
|
13743
|
+
}), 128))
|
|
13744
|
+
]),
|
|
13745
|
+
_: 1
|
|
13746
|
+
})
|
|
13747
|
+
])) : createCommentVNode("", true),
|
|
13748
|
+
createElementVNode("tbody", null, [
|
|
13749
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
13750
|
+
]),
|
|
13751
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("tfoot", _hoisted_6, [
|
|
13752
|
+
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
13753
|
+
])) : createCommentVNode("", true)
|
|
13754
|
+
], 2)
|
|
13750
13755
|
]),
|
|
13751
13756
|
createVNode(TablePagination, {
|
|
13757
|
+
class: "ck-table__pagination",
|
|
13752
13758
|
currentPage: unref$1(currentPageLocal),
|
|
13753
13759
|
"onUpdate:currentPage": _cache[4] || (_cache[4] = ($event) => isRef$1(currentPageLocal) ? currentPageLocal.value = $event : null),
|
|
13754
13760
|
itemsPerPage: __props.itemsPerPage,
|
|
@@ -13761,12 +13767,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13761
13767
|
};
|
|
13762
13768
|
}
|
|
13763
13769
|
});
|
|
13764
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
13770
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-a5722810"]]);
|
|
13765
13771
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13766
13772
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
13767
13773
|
props: {
|
|
13768
13774
|
col: { type: Object, default: void 0 },
|
|
13769
|
-
|
|
13775
|
+
nowrap: { type: Boolean, default: false },
|
|
13770
13776
|
block: { type: Boolean, default: false },
|
|
13771
13777
|
autoWidth: { type: Boolean, default: false },
|
|
13772
13778
|
align: { type: String, default: void 0, validator: validators.align },
|
|
@@ -13798,7 +13804,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
13798
13804
|
if (props.block)
|
|
13799
13805
|
list.push("block");
|
|
13800
13806
|
if (props.block)
|
|
13801
|
-
list.push("wrap-text");
|
|
13807
|
+
list.push("no-wrap-text");
|
|
13802
13808
|
return list;
|
|
13803
13809
|
});
|
|
13804
13810
|
const computedStyle = computed$2(() => {
|
|
@@ -13835,7 +13841,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
13835
13841
|
};
|
|
13836
13842
|
}
|
|
13837
13843
|
});
|
|
13838
|
-
var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
13844
|
+
var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-47b8a441"]]);
|
|
13839
13845
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13840
13846
|
const _hoisted_1$1 = { class: "ck-textarea" };
|
|
13841
13847
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|