cleek 2.3.32 → 2.3.35
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 +47 -46
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -16992,7 +16992,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
16992
16992
|
};
|
|
16993
16993
|
}
|
|
16994
16994
|
});
|
|
16995
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
16995
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2f390047"]]);
|
|
16996
16996
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
16997
16997
|
const _hoisted_1$d = { class: "ck-table__header-items" };
|
|
16998
16998
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
@@ -17003,6 +17003,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
17003
17003
|
hideItemsPerPage: { type: Boolean, required: true },
|
|
17004
17004
|
currentPage: { type: Number, required: true },
|
|
17005
17005
|
itemsPerPage: { type: Number, required: true },
|
|
17006
|
+
hideHeaderActions: { type: Boolean, required: true },
|
|
17006
17007
|
listLength: { type: Number, default: 0 }
|
|
17007
17008
|
},
|
|
17008
17009
|
emits: ["update:search", "refreshList", "openColumnsManager"],
|
|
@@ -17054,39 +17055,41 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
17054
17055
|
}
|
|
17055
17056
|
return (_ctx, _cache) => {
|
|
17056
17057
|
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
17057
|
-
|
|
17058
|
-
|
|
17059
|
-
|
|
17060
|
-
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
17069
|
-
|
|
17070
|
-
|
|
17071
|
-
|
|
17072
|
-
|
|
17073
|
-
|
|
17074
|
-
|
|
17075
|
-
|
|
17076
|
-
|
|
17077
|
-
|
|
17078
|
-
|
|
17079
|
-
|
|
17080
|
-
|
|
17081
|
-
|
|
17082
|
-
|
|
17083
|
-
|
|
17084
|
-
|
|
17058
|
+
!__props.hideHeaderActions ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
17059
|
+
unref$1(refreshBtnIsVisible) ? (openBlock(), createBlock(ckButton, {
|
|
17060
|
+
key: 0,
|
|
17061
|
+
type: "flat",
|
|
17062
|
+
icon: "rotate-right",
|
|
17063
|
+
title: "Recargar lista",
|
|
17064
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("refreshList", false))
|
|
17065
|
+
})) : createCommentVNode("", true),
|
|
17066
|
+
unref$1(itemsPerPageIsVisible) ? (openBlock(), createElementBlock("div", {
|
|
17067
|
+
key: 1,
|
|
17068
|
+
class: normalizeClass(["items-per-page", { "ck-component__group--left": !unref$1(hideSearch) }])
|
|
17069
|
+
}, toDisplayString(unref$1(itemsPerPageStart)) + " - " + toDisplayString(unref$1(itemsPerPageEnd)) + " de " + toDisplayString(__props.listLength), 3)) : createCommentVNode("", true),
|
|
17070
|
+
!unref$1(hideSearch) ? (openBlock(), createBlock(ckInput, {
|
|
17071
|
+
key: 2,
|
|
17072
|
+
modelValue: unref$1(searchLocal),
|
|
17073
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
|
|
17074
|
+
icon: "magnifying-glass",
|
|
17075
|
+
placeholder: "Buscar...",
|
|
17076
|
+
group: unref$1(searchGroupValue),
|
|
17077
|
+
onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
|
|
17078
|
+
}, null, 8, ["modelValue", "group"])) : createCommentVNode("", true),
|
|
17079
|
+
__props.hasColumnsManager ? (openBlock(), createBlock(ckButton, {
|
|
17080
|
+
key: 3,
|
|
17081
|
+
icon: "columns",
|
|
17082
|
+
type: "filled",
|
|
17083
|
+
title: "Administrador de columnas",
|
|
17084
|
+
group: unref$1(itemsPerPageIsVisible) || !unref$1(hideSearch) ? "right" : "",
|
|
17085
|
+
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("openColumnsManager"))
|
|
17086
|
+
}, null, 8, ["group"])) : createCommentVNode("", true)
|
|
17087
|
+
], 64)) : createCommentVNode("", true)
|
|
17085
17088
|
]);
|
|
17086
17089
|
};
|
|
17087
17090
|
}
|
|
17088
17091
|
});
|
|
17089
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
17092
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-ad4db5f6"]]);
|
|
17090
17093
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
17091
17094
|
const _hoisted_1$c = { class: "ck-table__pagination" };
|
|
17092
17095
|
const _hoisted_2$7 = ["onClick"];
|
|
@@ -18627,21 +18630,19 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18627
18630
|
}, null, 8, ["modelValue", "columnsArray", "columns"])) : createCommentVNode("", true),
|
|
18628
18631
|
createElementVNode("div", _hoisted_1$8, [
|
|
18629
18632
|
_ctx.$slots.header || !__props.hideHeaderActions ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
}, null, 8, ["search", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage"])) : createCommentVNode("", true)
|
|
18644
|
-
]),
|
|
18633
|
+
createVNode(TableHeaderItems, {
|
|
18634
|
+
search: unref$1(searchLocal),
|
|
18635
|
+
"onUpdate:search": _cache[1] || (_cache[1] = ($event) => isRef$1(searchLocal) ? searchLocal.value = $event : null),
|
|
18636
|
+
hideHeaderActions: __props.hideHeaderActions,
|
|
18637
|
+
currentPage: __props.currentPage,
|
|
18638
|
+
hasColumnsManager: __props.hasColumnsManager,
|
|
18639
|
+
itemsPerPage: __props.itemsPerPage,
|
|
18640
|
+
listLength: __props.listLength,
|
|
18641
|
+
showRefreshBtn: __props.showRefreshBtn,
|
|
18642
|
+
hideItemsPerPage: __props.hideItemsPerPage,
|
|
18643
|
+
onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
|
|
18644
|
+
onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
|
|
18645
|
+
}, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage"]),
|
|
18645
18646
|
_ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
18646
18647
|
renderSlot(_ctx.$slots, "header", {}, void 0, true)
|
|
18647
18648
|
])) : createCommentVNode("", true)
|
|
@@ -18702,7 +18703,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18702
18703
|
};
|
|
18703
18704
|
}
|
|
18704
18705
|
});
|
|
18705
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
18706
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-6545e800"]]);
|
|
18706
18707
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
18707
18708
|
const _hoisted_1$7 = ["color"];
|
|
18708
18709
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|