cleek 2.6.2 → 2.6.3
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 +8 -6
- package/dist/cleek.umd.js +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -47293,7 +47293,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
|
|
|
47293
47293
|
setup(__props, { emit: emits }) {
|
|
47294
47294
|
const props = __props;
|
|
47295
47295
|
const { windowWidth } = useWindowWidth();
|
|
47296
|
-
const
|
|
47296
|
+
const defaultButtonType = "outlined";
|
|
47297
47297
|
const defaultColor = "primary";
|
|
47298
47298
|
const defaultAlign = "left";
|
|
47299
47299
|
let cleekOptions2 = ref();
|
|
@@ -47302,7 +47302,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
|
|
|
47302
47302
|
return props.type;
|
|
47303
47303
|
if (cleekOptions2.value)
|
|
47304
47304
|
return cleekOptions2.value.button.type;
|
|
47305
|
-
return
|
|
47305
|
+
return defaultButtonType;
|
|
47306
47306
|
});
|
|
47307
47307
|
const computedClass = computed$3(() => {
|
|
47308
47308
|
var _a;
|
|
@@ -60185,6 +60185,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60185
60185
|
setup(__props, { emit: emits }) {
|
|
60186
60186
|
const props = __props;
|
|
60187
60187
|
let cleekOptions2 = ref();
|
|
60188
|
+
const defaultTableVersion = "default";
|
|
60188
60189
|
const defaultItemsPerPage = 40;
|
|
60189
60190
|
const { windowWidth } = useWindowWidth();
|
|
60190
60191
|
const isPopupActive = ref({
|
|
@@ -60196,12 +60197,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60196
60197
|
return "No se encontraron resultados";
|
|
60197
60198
|
return "No results found";
|
|
60198
60199
|
});
|
|
60199
|
-
computed$3(() => {
|
|
60200
|
+
const realTableVersion = computed$3(() => {
|
|
60200
60201
|
if (props.version)
|
|
60201
60202
|
return props.version;
|
|
60202
60203
|
if (cleekOptions2.value)
|
|
60203
60204
|
return cleekOptions2.value.table.version;
|
|
60204
|
-
return
|
|
60205
|
+
return defaultTableVersion;
|
|
60205
60206
|
});
|
|
60206
60207
|
const columnsAreObj = computed$3(() => !qmObj.isArray(props.columns || []));
|
|
60207
60208
|
const columnsArray = computed$3(() => {
|
|
@@ -60314,9 +60315,10 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60314
60315
|
showRefreshBtn: __props.showRefreshBtn,
|
|
60315
60316
|
hideItemsPerPage: __props.hideItemsPerPage,
|
|
60316
60317
|
layout: unref$2(realLayout),
|
|
60318
|
+
version: unref$2(realTableVersion),
|
|
60317
60319
|
onRefreshList: _cache[2] || (_cache[2] = ($event) => refreshList($event)),
|
|
60318
60320
|
onOpenColumnsManager: _cache[3] || (_cache[3] = ($event) => openColumnsManager())
|
|
60319
|
-
}, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage", "layout"]),
|
|
60321
|
+
}, null, 8, ["search", "hideHeaderActions", "currentPage", "hasColumnsManager", "itemsPerPage", "listLength", "showRefreshBtn", "hideItemsPerPage", "layout", "version"]),
|
|
60320
60322
|
_ctx.$slots.header ? (openBlock$1(), createElementBlock$1("div", _hoisted_3$6, [
|
|
60321
60323
|
renderSlot$1(_ctx.$slots, "header", {}, void 0, true)
|
|
60322
60324
|
])) : createCommentVNode$1("", true)
|
|
@@ -60383,7 +60385,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
60383
60385
|
};
|
|
60384
60386
|
}
|
|
60385
60387
|
});
|
|
60386
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
60388
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-5e64407e"]]);
|
|
60387
60389
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
60388
60390
|
const _sfc_main$f = /* @__PURE__ */ defineComponent$1({
|
|
60389
60391
|
props: {
|