cleek 2.10.29 → 2.10.30
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/main.cjs.js +2 -2
- package/dist/main.css +1 -1
- package/dist/main.es.js +12 -11
- package/dist/types/components/ck-select.vue.d.ts +6 -0
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -103370,15 +103370,15 @@ const Wd = /* @__PURE__ */ o2(fu6, [["render", mu6], ["__scopeId", "data-v-53984
|
|
|
103370
103370
|
},
|
|
103371
103371
|
setup(c) {
|
|
103372
103372
|
const e = c, a = k(() => {
|
|
103373
|
-
var
|
|
103373
|
+
var r, l;
|
|
103374
103374
|
const o = [];
|
|
103375
|
-
(e.autoWidth || (
|
|
103376
|
-
const r = e.verticalAlign || ((f = e.col) == null ? void 0 : f.verticalAlign);
|
|
103377
|
-
return r && o.push(`vertical-align--${r}`), o;
|
|
103375
|
+
return (e.autoWidth || (r = e.col) != null && r.autoWidth) && o.push("auto-width"), (e.overflowAuto || (l = e.col) != null && l.overflowAuto) && o.push("overflow-auto"), o;
|
|
103378
103376
|
}), n = k(() => {
|
|
103379
|
-
var
|
|
103380
|
-
const o = [], r = e.align || ((
|
|
103381
|
-
|
|
103377
|
+
var s, f, C, m;
|
|
103378
|
+
const o = [], r = e.align || ((s = e.col) == null ? void 0 : s.align);
|
|
103379
|
+
r && (r === "center" && o.push("align-center"), r === "right" && o.push("align-right")), (e.block || (f = e.col) != null && f.block) && o.push("block"), (e.nowrap || (C = e.col) != null && C.nowrap) && o.push("no-wrap-text");
|
|
103380
|
+
const l = e.verticalAlign || ((m = e.col) == null ? void 0 : m.verticalAlign);
|
|
103381
|
+
return l && o.push(`vertical-align--${l}`), o;
|
|
103382
103382
|
}), i = k(() => {
|
|
103383
103383
|
var s, f, C, m, h, p, M, d, u;
|
|
103384
103384
|
const o = {};
|
|
@@ -103400,7 +103400,7 @@ const Wd = /* @__PURE__ */ o2(fu6, [["render", mu6], ["__scopeId", "data-v-53984
|
|
|
103400
103400
|
], 2)) : X("", !0);
|
|
103401
103401
|
}
|
|
103402
103402
|
});
|
|
103403
|
-
const Nw1 = /* @__PURE__ */ o2(uu6, [["__scopeId", "data-v-
|
|
103403
|
+
const Nw1 = /* @__PURE__ */ o2(uu6, [["__scopeId", "data-v-62a2de1a"]]), zu6 = { class: "ck-th" }, hu6 = "left", pu6 = /* @__PURE__ */ _1({
|
|
103404
103404
|
__name: "ck-th",
|
|
103405
103405
|
props: {
|
|
103406
103406
|
align: {},
|
|
@@ -110293,6 +110293,7 @@ const bd6 = {
|
|
|
110293
110293
|
props: /* @__PURE__ */ i4({
|
|
110294
110294
|
options: {},
|
|
110295
110295
|
optionsLimit: { default: 6 },
|
|
110296
|
+
isLoading: { type: Boolean },
|
|
110296
110297
|
reduceValueProp: { default: "id" },
|
|
110297
110298
|
reduceValueMethod: {},
|
|
110298
110299
|
reduceValueFunction: {},
|
|
@@ -110369,8 +110370,8 @@ const bd6 = {
|
|
|
110369
110370
|
}), y = k(() => {
|
|
110370
110371
|
const $ = n.value;
|
|
110371
110372
|
return V.value ? $ === V.value : typeof $ == "number" ? $ === 0 : typeof $ == "string" ? $ === "" : typeof $ == "object" && $ ? Array.isArray($) ? $.length === 0 : Object.keys($).length === 0 : $ === null;
|
|
110372
|
-
}), w = k(() => z.value ? i.emptyOptionsMsg : i.placeholder), b = k(
|
|
110373
|
-
() => (z.value || y.value) && !m.value && w.value
|
|
110373
|
+
}), w = k(() => i.isLoading ? "Cargando..." : z.value ? i.emptyOptionsMsg : i.placeholder), b = k(
|
|
110374
|
+
() => (z.value || y.value) && !m.value && w.value || i.isLoading
|
|
110374
110375
|
), S = k(() => i.notClearable ? !1 : !y.value), A = k(() => {
|
|
110375
110376
|
const $ = [];
|
|
110376
110377
|
return i.icon && $.push("has-icon-left"), i.iconRight && $.push("has-icon-right"), $;
|
|
@@ -110574,7 +110575,7 @@ const bd6 = {
|
|
|
110574
110575
|
};
|
|
110575
110576
|
}
|
|
110576
110577
|
});
|
|
110577
|
-
const Ad6 = /* @__PURE__ */ o2(kd6, [["__scopeId", "data-v-
|
|
110578
|
+
const Ad6 = /* @__PURE__ */ o2(kd6, [["__scopeId", "data-v-7a2a0214"]]), _d6 = {
|
|
110578
110579
|
key: 0,
|
|
110579
110580
|
class: "sidebar-header-title"
|
|
110580
110581
|
}, Td6 = {
|
|
@@ -45,6 +45,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
45
45
|
disabled: {
|
|
46
46
|
type: import('vue').PropType<boolean>;
|
|
47
47
|
};
|
|
48
|
+
isLoading: {
|
|
49
|
+
type: import('vue').PropType<boolean>;
|
|
50
|
+
};
|
|
48
51
|
iconRight: {
|
|
49
52
|
type: import('vue').PropType<Icon>;
|
|
50
53
|
};
|
|
@@ -163,6 +166,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
163
166
|
disabled: {
|
|
164
167
|
type: import('vue').PropType<boolean>;
|
|
165
168
|
};
|
|
169
|
+
isLoading: {
|
|
170
|
+
type: import('vue').PropType<boolean>;
|
|
171
|
+
};
|
|
166
172
|
iconRight: {
|
|
167
173
|
type: import('vue').PropType<Icon>;
|
|
168
174
|
};
|