cleek 2.6.0 → 2.6.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 +21 -8
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3806,7 +3806,8 @@ const cleekOptions = {
|
|
|
3806
3806
|
clearValue: "auto"
|
|
3807
3807
|
},
|
|
3808
3808
|
table: {
|
|
3809
|
-
striped: false
|
|
3809
|
+
striped: false,
|
|
3810
|
+
version: "default"
|
|
3810
3811
|
}
|
|
3811
3812
|
};
|
|
3812
3813
|
/*!
|
|
@@ -47292,7 +47293,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
|
|
|
47292
47293
|
setup(__props, { emit: emits }) {
|
|
47293
47294
|
const props = __props;
|
|
47294
47295
|
const { windowWidth } = useWindowWidth();
|
|
47295
|
-
const
|
|
47296
|
+
const defaultButtonType2 = "outlined";
|
|
47296
47297
|
const defaultColor = "primary";
|
|
47297
47298
|
const defaultAlign = "left";
|
|
47298
47299
|
let cleekOptions2 = ref();
|
|
@@ -47301,7 +47302,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
|
|
|
47301
47302
|
return props.type;
|
|
47302
47303
|
if (cleekOptions2.value)
|
|
47303
47304
|
return cleekOptions2.value.button.type;
|
|
47304
|
-
return
|
|
47305
|
+
return defaultButtonType2;
|
|
47305
47306
|
});
|
|
47306
47307
|
const computedClass = computed$3(() => {
|
|
47307
47308
|
var _a;
|
|
@@ -58742,7 +58743,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
58742
58743
|
itemsPerPage: null,
|
|
58743
58744
|
hideHeaderActions: { type: Boolean },
|
|
58744
58745
|
listLength: null,
|
|
58745
|
-
layout: null
|
|
58746
|
+
layout: null,
|
|
58747
|
+
version: null
|
|
58746
58748
|
},
|
|
58747
58749
|
emits: ["update:search", "refreshList", "openColumnsManager"],
|
|
58748
58750
|
setup(__props, { emit: emits }) {
|
|
@@ -58787,6 +58789,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
58787
58789
|
const list = [];
|
|
58788
58790
|
if (props.layout)
|
|
58789
58791
|
list.push(props.layout);
|
|
58792
|
+
if (props.version)
|
|
58793
|
+
list.push(`version-${props.version}`);
|
|
58790
58794
|
return list;
|
|
58791
58795
|
});
|
|
58792
58796
|
function checkRefresh() {
|
|
@@ -58820,6 +58824,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
58820
58824
|
}, toDisplayString(unref$2(itemsPerPageStart)) + " - " + toDisplayString(unref$2(itemsPerPageEnd)) + " de " + toDisplayString(__props.listLength), 3)) : createCommentVNode$1("", true),
|
|
58821
58825
|
unref$2(isSearchVisible) ? (openBlock$1(), createBlock$1(CkInput, {
|
|
58822
58826
|
key: 2,
|
|
58827
|
+
class: "ck-table--search-input",
|
|
58823
58828
|
modelValue: unref$2(searchLocal),
|
|
58824
58829
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef$3(searchLocal) ? searchLocal.value = $event : null),
|
|
58825
58830
|
icon: "magnifying-glass",
|
|
@@ -58842,7 +58847,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
58842
58847
|
};
|
|
58843
58848
|
}
|
|
58844
58849
|
});
|
|
58845
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-
|
|
58850
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c44ec0d4"]]);
|
|
58846
58851
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
58847
58852
|
const _withScopeId$4 = (n) => (pushScopeId$1("data-v-02d0ab88"), n = n(), popScopeId$1(), n);
|
|
58848
58853
|
const _hoisted_1$g = { class: "ck-table__pagination" };
|
|
@@ -60006,7 +60011,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
|
|
|
60006
60011
|
}, [
|
|
60007
60012
|
createElementVNode("div", {
|
|
60008
60013
|
class: normalizeClass$1(["ck-popup__content", unref$2(computedClassContent)]),
|
|
60009
|
-
|
|
60014
|
+
onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
60010
60015
|
}, ["stop"])),
|
|
60011
60016
|
style: normalizeStyle$1(unref$2(computedStyleContent))
|
|
60012
60017
|
}, [
|
|
@@ -60053,7 +60058,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
|
|
|
60053
60058
|
}, 8, ["type"])) : createCommentVNode$1("", true)
|
|
60054
60059
|
])) : createCommentVNode$1("", true)
|
|
60055
60060
|
])) : createCommentVNode$1("", true)
|
|
60056
|
-
],
|
|
60061
|
+
], 38)
|
|
60057
60062
|
], 32)
|
|
60058
60063
|
])
|
|
60059
60064
|
])) : createCommentVNode$1("", true);
|
|
@@ -60173,6 +60178,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60173
60178
|
noResultsText: null,
|
|
60174
60179
|
notOverflow: { type: Boolean },
|
|
60175
60180
|
layout: null,
|
|
60181
|
+
version: null,
|
|
60176
60182
|
mobileMaxWidth: null
|
|
60177
60183
|
},
|
|
60178
60184
|
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
@@ -60190,6 +60196,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60190
60196
|
return "No se encontraron resultados";
|
|
60191
60197
|
return "No results found";
|
|
60192
60198
|
});
|
|
60199
|
+
computed$3(() => {
|
|
60200
|
+
if (props.version)
|
|
60201
|
+
return props.version;
|
|
60202
|
+
if (cleekOptions2.value)
|
|
60203
|
+
return cleekOptions2.value.table.version;
|
|
60204
|
+
return defaultButtonType;
|
|
60205
|
+
});
|
|
60193
60206
|
const columnsAreObj = computed$3(() => !qmObj.isArray(props.columns || []));
|
|
60194
60207
|
const columnsArray = computed$3(() => {
|
|
60195
60208
|
if (columnsAreObj.value) {
|
|
@@ -60370,7 +60383,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60370
60383
|
};
|
|
60371
60384
|
}
|
|
60372
60385
|
});
|
|
60373
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
60386
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-748cd312"]]);
|
|
60374
60387
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
60375
60388
|
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
60376
60389
|
props: {
|