cleek 1.7.4 → 1.7.5
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 +13 -5
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -12484,7 +12484,7 @@ const __default__ = {
|
|
|
12484
12484
|
hideRefreshBtn: { type: Boolean, default: false },
|
|
12485
12485
|
hideItemsPerPage: { type: Boolean, default: false }
|
|
12486
12486
|
},
|
|
12487
|
-
emits: ["refreshList", "update:search"],
|
|
12487
|
+
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
12488
12488
|
computed: {
|
|
12489
12489
|
searchLocal: {
|
|
12490
12490
|
get() {
|
|
@@ -12493,6 +12493,14 @@ const __default__ = {
|
|
|
12493
12493
|
set(val) {
|
|
12494
12494
|
this.$emit("update:search", val);
|
|
12495
12495
|
}
|
|
12496
|
+
},
|
|
12497
|
+
currentPageLocal: {
|
|
12498
|
+
get() {
|
|
12499
|
+
return this.currentPage;
|
|
12500
|
+
},
|
|
12501
|
+
set(val) {
|
|
12502
|
+
this.$emit("update:currentPage", val);
|
|
12503
|
+
}
|
|
12496
12504
|
}
|
|
12497
12505
|
},
|
|
12498
12506
|
methods: {
|
|
@@ -12511,7 +12519,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12511
12519
|
key: 0,
|
|
12512
12520
|
search: _ctx.searchLocal,
|
|
12513
12521
|
"onUpdate:search": _cache[0] || (_cache[0] = ($event) => isRef(searchLocal) ? searchLocal.value = $event : null),
|
|
12514
|
-
currentPage:
|
|
12522
|
+
currentPage: _ctx.currentPageLocal,
|
|
12515
12523
|
itemsPerPage: __props.itemsPerPage,
|
|
12516
12524
|
listLength: __props.listLength,
|
|
12517
12525
|
hideRefreshBtn: __props.hideRefreshBtn,
|
|
@@ -12541,8 +12549,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12541
12549
|
])) : createCommentVNode("", true)
|
|
12542
12550
|
]),
|
|
12543
12551
|
createVNode(TablePagination, {
|
|
12544
|
-
currentPage:
|
|
12545
|
-
"onUpdate:currentPage": _cache[2] || (_cache[2] = ($event) => isRef(
|
|
12552
|
+
currentPage: _ctx.currentPageLocal,
|
|
12553
|
+
"onUpdate:currentPage": _cache[2] || (_cache[2] = ($event) => isRef(currentPageLocal) ? currentPageLocal.value = $event : null),
|
|
12546
12554
|
itemsPerPage: __props.itemsPerPage,
|
|
12547
12555
|
listLength: __props.listLength,
|
|
12548
12556
|
align: __props.paginationAlign,
|
|
@@ -12552,7 +12560,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
12552
12560
|
};
|
|
12553
12561
|
}
|
|
12554
12562
|
}));
|
|
12555
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
12563
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-7f2e2c40"]]);
|
|
12556
12564
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12557
12565
|
return openBlock(), createElementBlock("td", {
|
|
12558
12566
|
class: normalizeClass(["ck-td", $options.computedTdClass])
|