cleek 2.4.26 → 2.4.27
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 +30 -27
- package/dist/cleek.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -2339,10 +2339,10 @@ const _hoisted_2$1$1 = {
|
|
|
2339
2339
|
class: "v-popper__inner"
|
|
2340
2340
|
};
|
|
2341
2341
|
const _hoisted_3$8 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
|
|
2342
|
-
const _hoisted_4$
|
|
2342
|
+
const _hoisted_4$7 = /* @__PURE__ */ createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
|
|
2343
2343
|
const _hoisted_5$3 = [
|
|
2344
2344
|
_hoisted_3$8,
|
|
2345
|
-
_hoisted_4$
|
|
2345
|
+
_hoisted_4$7
|
|
2346
2346
|
];
|
|
2347
2347
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2348
2348
|
const _component_ResizeObserver = resolveComponent("ResizeObserver");
|
|
@@ -21317,8 +21317,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21317
21317
|
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-76d9dde9"]]);
|
|
21318
21318
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21319
21319
|
const _hoisted_1$e = { class: "ck-table__pagination" };
|
|
21320
|
-
const _hoisted_2$a =
|
|
21320
|
+
const _hoisted_2$a = { class: "ck-table__pagination--numbers-container" };
|
|
21321
21321
|
const _hoisted_3$7 = ["onClick"];
|
|
21322
|
+
const _hoisted_4$6 = ["onClick"];
|
|
21322
21323
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
21323
21324
|
props: {
|
|
21324
21325
|
currentPage: null,
|
|
@@ -21395,7 +21396,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21395
21396
|
return (_ctx, _cache) => {
|
|
21396
21397
|
return __props.currentPage && unref$1(totalPages) > 1 ? (openBlock(), createElementBlock("div", {
|
|
21397
21398
|
key: 0,
|
|
21398
|
-
class: normalizeClass(["ck-table__pagination-container", `pagination-align--${__props.align}`])
|
|
21399
|
+
class: normalizeClass(["ck-table__pagination-container", `pagination-align--${__props.align || "center"}`])
|
|
21399
21400
|
}, [
|
|
21400
21401
|
createElementVNode("div", _hoisted_1$e, [
|
|
21401
21402
|
unref$1(hasArrowLeft) ? (openBlock(), createElementBlock("div", {
|
|
@@ -21405,28 +21406,30 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21405
21406
|
}, [
|
|
21406
21407
|
createVNode(CkIcon, { icon: "arrow-left" })
|
|
21407
21408
|
])) : createCommentVNode("", true),
|
|
21408
|
-
(
|
|
21409
|
-
|
|
21410
|
-
|
|
21411
|
-
|
|
21412
|
-
|
|
21413
|
-
|
|
21414
|
-
|
|
21415
|
-
|
|
21416
|
-
|
|
21417
|
-
|
|
21418
|
-
|
|
21419
|
-
|
|
21420
|
-
|
|
21421
|
-
|
|
21422
|
-
|
|
21423
|
-
|
|
21424
|
-
|
|
21425
|
-
|
|
21426
|
-
|
|
21427
|
-
|
|
21428
|
-
|
|
21429
|
-
|
|
21409
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
21410
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listLeft), (num) => {
|
|
21411
|
+
return openBlock(), createElementBlock("div", {
|
|
21412
|
+
class: "ck-table__pagination-item pagination-item__left",
|
|
21413
|
+
onClick: ($event) => updateCurrentPage(num)
|
|
21414
|
+
}, toDisplayString(num), 9, _hoisted_3$7);
|
|
21415
|
+
}), 256)),
|
|
21416
|
+
createVNode(CkInput, {
|
|
21417
|
+
class: "ck-table__pagination-input",
|
|
21418
|
+
autoSelect: "",
|
|
21419
|
+
type: "number",
|
|
21420
|
+
width: "50px",
|
|
21421
|
+
align: "center",
|
|
21422
|
+
modelValue: unref$1(currentPageLocal2),
|
|
21423
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(currentPageLocal2) ? currentPageLocal2.value = $event : null),
|
|
21424
|
+
onChange: _cache[2] || (_cache[2] = ($event) => validateInputNumber($event.target.value))
|
|
21425
|
+
}, null, 8, ["modelValue"]),
|
|
21426
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(listRight), (num) => {
|
|
21427
|
+
return openBlock(), createElementBlock("div", {
|
|
21428
|
+
class: "ck-table__pagination-item pagination-item__right",
|
|
21429
|
+
onClick: ($event) => updateCurrentPage(num)
|
|
21430
|
+
}, toDisplayString(num), 9, _hoisted_4$6);
|
|
21431
|
+
}), 256))
|
|
21432
|
+
]),
|
|
21430
21433
|
unref$1(hasArrowRight) ? (openBlock(), createElementBlock("div", {
|
|
21431
21434
|
key: 1,
|
|
21432
21435
|
class: "ck-table__pagination--arrow-right",
|
|
@@ -21439,7 +21442,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
21439
21442
|
};
|
|
21440
21443
|
}
|
|
21441
21444
|
});
|
|
21442
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
21445
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-11bbd8e0"]]);
|
|
21443
21446
|
const EMPTY_OBJ = {};
|
|
21444
21447
|
const NOOP = () => {
|
|
21445
21448
|
};
|