cleek 2.10.58 → 2.10.60
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 +4 -4
- package/dist/main.css +1 -1
- package/dist/main.es.js +129 -127
- package/dist/types/cleek-options/cleek-options.store.d.ts +6 -0
- package/dist/types/cleek-options/cleek-options.types.d.ts +1 -0
- package/dist/types/components/ck-chip.vue.d.ts +3 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -15996,7 +15996,8 @@ const gW = {
|
|
|
15996
15996
|
textColor: ""
|
|
15997
15997
|
},
|
|
15998
15998
|
chip: {
|
|
15999
|
-
type: "outlined"
|
|
15999
|
+
type: "outlined",
|
|
16000
|
+
layout: "rounded"
|
|
16000
16001
|
},
|
|
16001
16002
|
div: {
|
|
16002
16003
|
gap: 0
|
|
@@ -36523,8 +36524,8 @@ function A43() {
|
|
|
36523
36524
|
const [
|
|
36524
36525
|
_43,
|
|
36525
36526
|
T43,
|
|
36526
|
-
|
|
36527
|
-
|
|
36527
|
+
_L6,
|
|
36528
|
+
TL6
|
|
36528
36529
|
] = /* @__PURE__ */ A43();
|
|
36529
36530
|
function c81(c, e) {
|
|
36530
36531
|
const a = c ? T43 : _43;
|
|
@@ -54991,7 +54992,7 @@ function aF3() {
|
|
|
54991
54992
|
n
|
|
54992
54993
|
];
|
|
54993
54994
|
}
|
|
54994
|
-
const [nF3, iF3,
|
|
54995
|
+
const [nF3, iF3, PL6, DL6] = /* @__PURE__ */ aF3();
|
|
54995
54996
|
function ao1(c, e) {
|
|
54996
54997
|
const a = c ? iF3 : nF3;
|
|
54997
54998
|
return (n, i, t) => i === "__v_isReactive" ? !c : i === "__v_isReadonly" ? c : i === "__v_raw" ? n : Reflect.get(JC(a, i) && i in n ? a : n, i, t);
|
|
@@ -110105,7 +110106,7 @@ const ad6 = /* @__PURE__ */ Z1(ed6, [["__scopeId", "data-v-d8e2991f"]]), nd6 = {
|
|
|
110105
110106
|
};
|
|
110106
110107
|
}
|
|
110107
110108
|
});
|
|
110108
|
-
const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = ["color"], sd6 = "white", fd6 = "primary", Cd6 = "s", md6 = "outlined", ud6 = /* @__PURE__ */ _1({
|
|
110109
|
+
const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = ["color"], sd6 = "white", fd6 = "primary", Cd6 = "s", md6 = "outlined", ud6 = "rounded", zd6 = /* @__PURE__ */ _1({
|
|
110109
110110
|
__name: "ck-chip",
|
|
110110
110111
|
props: {
|
|
110111
110112
|
size: {},
|
|
@@ -110118,51 +110119,52 @@ const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = [
|
|
|
110118
110119
|
iconPack: {},
|
|
110119
110120
|
clickable: { type: Boolean },
|
|
110120
110121
|
group: {},
|
|
110121
|
-
type: {}
|
|
110122
|
+
type: {},
|
|
110123
|
+
layout: {}
|
|
110122
110124
|
},
|
|
110123
110125
|
emits: ["click"],
|
|
110124
110126
|
setup(c, { emit: e }) {
|
|
110125
|
-
const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.type ? a.type : i.value ? i.value.chip.type : md6),
|
|
110126
|
-
const
|
|
110127
|
-
return
|
|
110127
|
+
const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.layout ? a.layout : i.value ? i.value.chip.layout : ud6), r = _(() => a.type ? a.type : i.value ? i.value.chip.type : md6), l = _(() => a.color || fd6), s = _(() => {
|
|
110128
|
+
const m = [];
|
|
110129
|
+
return r.value === "outlined" ? m.push("type--outlined") : M1.isColorTemplateVariable(l.value) && m.push(`ck-component__bg-color--${l.value}`), o.value && m.push(`layout--${o.value}`), m.push(M1.getGroupClass(a, n.value)), m.push(`size-${a.size || Cd6}`), a.align && m.push(`align--${a.align}`), a.nowrap && m.push(`ck-chip--${a.nowrap}`), a.clickable && m.push("clickable"), m;
|
|
110128
110130
|
});
|
|
110129
|
-
function
|
|
110130
|
-
return M1.isColorTemplateVariable(
|
|
110131
|
+
function f(m) {
|
|
110132
|
+
return M1.isColorTemplateVariable(m) ? M1.getColorHexFromTemplateVariable(m, i.value.colors) : m;
|
|
110131
110133
|
}
|
|
110132
|
-
const
|
|
110133
|
-
const
|
|
110134
|
-
if (
|
|
110135
|
-
const
|
|
110136
|
-
|
|
110134
|
+
const C = _(() => {
|
|
110135
|
+
const m = [];
|
|
110136
|
+
if (r.value === "outlined") {
|
|
110137
|
+
const z = f(l.value), p = f(a.textColor || l.value);
|
|
110138
|
+
m.push({ "--chip-bg": z }), m.push({ borderColor: z }), m.push({ color: p });
|
|
110137
110139
|
} else
|
|
110138
|
-
M1.isColorTemplateVariable(
|
|
110139
|
-
return
|
|
110140
|
+
M1.isColorTemplateVariable(l.value) || (m.push({ backgroundColor: l.value }), m.push({ color: a.textColor || sd6 }));
|
|
110141
|
+
return m;
|
|
110140
110142
|
});
|
|
110141
|
-
return (
|
|
110142
|
-
class: h1(["ck-chip",
|
|
110143
|
-
color:
|
|
110144
|
-
style: R1(
|
|
110145
|
-
onClick:
|
|
110143
|
+
return (m, z) => (T(), q("div", {
|
|
110144
|
+
class: h1(["ck-chip", s.value]),
|
|
110145
|
+
color: m.color,
|
|
110146
|
+
style: R1(C.value),
|
|
110147
|
+
onClick: z[0] || (z[0] = (p) => t("click", p))
|
|
110146
110148
|
}, [
|
|
110147
|
-
|
|
110149
|
+
m.icon ? (T(), l1(A3, {
|
|
110148
110150
|
key: 0,
|
|
110149
110151
|
class: "pr-2",
|
|
110150
|
-
icon:
|
|
110151
|
-
"icon-pack":
|
|
110152
|
+
icon: m.icon,
|
|
110153
|
+
"icon-pack": m.iconPack
|
|
110152
110154
|
}, null, 8, ["icon", "icon-pack"])) : Z("", !0),
|
|
110153
110155
|
Y("span", null, [
|
|
110154
|
-
O1(
|
|
110156
|
+
O1(m.$slots, "default", {}, void 0, !0)
|
|
110155
110157
|
]),
|
|
110156
|
-
|
|
110158
|
+
m.iconRight ? (T(), l1(A3, {
|
|
110157
110159
|
key: 1,
|
|
110158
110160
|
class: "pl-2",
|
|
110159
|
-
icon:
|
|
110160
|
-
"icon-pack":
|
|
110161
|
+
icon: m.iconRight,
|
|
110162
|
+
"icon-pack": m.iconPack
|
|
110161
110163
|
}, null, 8, ["icon", "icon-pack"])) : Z("", !0)
|
|
110162
110164
|
], 14, ld6));
|
|
110163
110165
|
}
|
|
110164
110166
|
});
|
|
110165
|
-
const
|
|
110167
|
+
const hd6 = /* @__PURE__ */ Z1(zd6, [["__scopeId", "data-v-110cf468"]]), pd6 = "primary", Md6 = "m", dd6 = "white", Ld6 = /* @__PURE__ */ _1({
|
|
110166
110168
|
__name: "ck-circle",
|
|
110167
110169
|
props: {
|
|
110168
110170
|
size: {},
|
|
@@ -110177,10 +110179,10 @@ const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-88dd56c9"]]), hd6 = "
|
|
|
110177
110179
|
const a = c, n = e, i = _(() => {
|
|
110178
110180
|
const o = [];
|
|
110179
110181
|
let r = a.size;
|
|
110180
|
-
return a.size !== "s" && a.size !== "l" && a.size !== "xs" && (r =
|
|
110182
|
+
return a.size !== "s" && a.size !== "l" && a.size !== "xs" && (r = Md6), o.push(`ck-circle__size-${r}`), o.push(`ck-component__bg-color--${a.color || pd6}`), o;
|
|
110181
110183
|
}), t = _(() => {
|
|
110182
110184
|
const o = [];
|
|
110183
|
-
return a.sizeInPx && (o.push({ height: a.sizeInPx }), o.push({ width: a.sizeInPx })), (a.color || M1.isColorTemplateVariable(a.color)) && (o.push({ backgroundColor: a.color }), o.push({ color: a.textColor ||
|
|
110185
|
+
return a.sizeInPx && (o.push({ height: a.sizeInPx }), o.push({ width: a.sizeInPx })), (a.color || M1.isColorTemplateVariable(a.color)) && (o.push({ backgroundColor: a.color }), o.push({ color: a.textColor || dd6 })), o;
|
|
110184
110186
|
});
|
|
110185
110187
|
return (o, r) => {
|
|
110186
110188
|
const l = Y1("ck-icon");
|
|
@@ -110199,7 +110201,7 @@ const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-88dd56c9"]]), hd6 = "
|
|
|
110199
110201
|
};
|
|
110200
110202
|
}
|
|
110201
110203
|
});
|
|
110202
|
-
const
|
|
110204
|
+
const Hd6 = /* @__PURE__ */ Z1(Ld6, [["__scopeId", "data-v-ba0b3fb6"]]), vd6 = /* @__PURE__ */ _1({
|
|
110203
110205
|
__name: "ck-div",
|
|
110204
110206
|
props: {
|
|
110205
110207
|
widthBreaks: {},
|
|
@@ -110226,11 +110228,11 @@ const Ld6 = /* @__PURE__ */ Z1(dd6, [["__scopeId", "data-v-ba0b3fb6"]]), Hd6 = /
|
|
|
110226
110228
|
], 4));
|
|
110227
110229
|
}
|
|
110228
110230
|
});
|
|
110229
|
-
const
|
|
110231
|
+
const Vd6 = {
|
|
110230
110232
|
defaultFailImg: "df",
|
|
110231
110233
|
imagesFolderPath: "",
|
|
110232
110234
|
defaultImgBorderColor: "#EEEEEE"
|
|
110233
|
-
},
|
|
110235
|
+
}, gd6 = ["src", "alt"], bd6 = /* @__PURE__ */ _1({
|
|
110234
110236
|
__name: "ck-img",
|
|
110235
110237
|
props: {
|
|
110236
110238
|
src: {},
|
|
@@ -110261,7 +110263,7 @@ const vd6 = {
|
|
|
110261
110263
|
}), C = _(() => {
|
|
110262
110264
|
const p = [];
|
|
110263
110265
|
return a.radius && p.push({ "border-radius": a.radius }), a.width && p.push({ width: a.width }), a.height && p.push({ height: a.height }), p;
|
|
110264
|
-
}), m = _(() => a.borderColor ? a.borderColor :
|
|
110266
|
+
}), m = _(() => a.borderColor ? a.borderColor : Vd6.defaultImgBorderColor);
|
|
110265
110267
|
function z(p) {
|
|
110266
110268
|
let M = i.value.img.basePath;
|
|
110267
110269
|
return i.value.img.basePath && (M = i.value.img.basePath), M || (M = i.value.img.basePathStatic), a.dynamic && (M = i.value.img.basePathDynamic), `${M}${p}`;
|
|
@@ -110278,14 +110280,14 @@ const vd6 = {
|
|
|
110278
110280
|
style: R1(C.value),
|
|
110279
110281
|
alt: p.alt,
|
|
110280
110282
|
onError: M[0] || (M[0] = (d) => t.value = !0)
|
|
110281
|
-
}, null, 44,
|
|
110283
|
+
}, null, 44, gd6)
|
|
110282
110284
|
], 6));
|
|
110283
110285
|
}
|
|
110284
110286
|
});
|
|
110285
|
-
const
|
|
110287
|
+
const xd6 = /* @__PURE__ */ Z1(bd6, [["__scopeId", "data-v-485e840f"]]), yd6 = ["onKeyup"], Nd6 = ["name", "value", "disabled"], wd6 = {
|
|
110286
110288
|
key: 0,
|
|
110287
110289
|
class: "c-Radio__label"
|
|
110288
|
-
},
|
|
110290
|
+
}, Sd6 = /* @__PURE__ */ _1({
|
|
110289
110291
|
__name: "ck-radio",
|
|
110290
110292
|
props: {
|
|
110291
110293
|
modelValue: {},
|
|
@@ -110345,16 +110347,16 @@ const bd6 = /* @__PURE__ */ Z1(gd6, [["__scopeId", "data-v-485e840f"]]), xd6 = [
|
|
|
110345
110347
|
name: s.name,
|
|
110346
110348
|
value: C.value,
|
|
110347
110349
|
disabled: s.disabled
|
|
110348
|
-
}, null, 8,
|
|
110350
|
+
}, null, 8, Nd6), [
|
|
110349
110351
|
[LS1, i.value]
|
|
110350
110352
|
]),
|
|
110351
110353
|
f[2] || (f[2] = Y("div", { class: "c-Radio__element" }, null, -1)),
|
|
110352
|
-
C.label ? (T(), q("span",
|
|
110353
|
-
], 16,
|
|
110354
|
+
C.label ? (T(), q("span", wd6, H1(C.label), 1)) : Z("", !0)
|
|
110355
|
+
], 16, yd6))), 128));
|
|
110354
110356
|
}
|
|
110355
110357
|
});
|
|
110356
|
-
const
|
|
110357
|
-
function
|
|
110358
|
+
const kd6 = /* @__PURE__ */ Z1(Sd6, [["__scopeId", "data-v-d37d3f3e"]]);
|
|
110359
|
+
function Ad6(c, e) {
|
|
110358
110360
|
const a = (n) => {
|
|
110359
110361
|
var t;
|
|
110360
110362
|
let i = (t = c.value) == null ? void 0 : t.parentElement;
|
|
@@ -110369,10 +110371,10 @@ function kd6(c, e) {
|
|
|
110369
110371
|
function OD(c) {
|
|
110370
110372
|
return c.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
110371
110373
|
}
|
|
110372
|
-
const
|
|
110374
|
+
const _d6 = {
|
|
110373
110375
|
key: 0,
|
|
110374
110376
|
class: "ck-select--optional-label"
|
|
110375
|
-
},
|
|
110377
|
+
}, Td6 = ["disabled"], Pd6 = ["value"], Dd6 = ["placeholder", "disabled"], Od6 = ["onMousedown", "onMouseenter"], Bd6 = ["textContent"], Rd6 = /* @__PURE__ */ _1({
|
|
110376
110378
|
__name: "ck-select",
|
|
110377
110379
|
props: /* @__PURE__ */ H3({
|
|
110378
110380
|
options: {},
|
|
@@ -110548,7 +110550,7 @@ const Ad6 = {
|
|
|
110548
110550
|
} else
|
|
110549
110551
|
M.value = -1;
|
|
110550
110552
|
}
|
|
110551
|
-
return
|
|
110553
|
+
return Ad6(s, () => {
|
|
110552
110554
|
var $;
|
|
110553
110555
|
return ($ = s.value) == null ? void 0 : $.blur();
|
|
110554
110556
|
}), W1(), ($, u1) => {
|
|
@@ -110564,7 +110566,7 @@ const Ad6 = {
|
|
|
110564
110566
|
}, {
|
|
110565
110567
|
default: U1(() => [
|
|
110566
110568
|
u2(H1($.label) + " ", 1),
|
|
110567
|
-
$.optional ? (T(), q("span",
|
|
110569
|
+
$.optional ? (T(), q("span", _d6, "opcional")) : Z("", !0)
|
|
110568
110570
|
]),
|
|
110569
110571
|
_: 1
|
|
110570
110572
|
}, 8, ["align"])) : Z("", !0),
|
|
@@ -110584,8 +110586,8 @@ const Ad6 = {
|
|
|
110584
110586
|
value: X(S1),
|
|
110585
110587
|
key: S1,
|
|
110586
110588
|
style: R1(W.value)
|
|
110587
|
-
}, H1(x1(S1)), 13,
|
|
110588
|
-
], 46,
|
|
110589
|
+
}, H1(x1(S1)), 13, Pd6))), 128))
|
|
110590
|
+
], 46, Td6)), [
|
|
110589
110591
|
[HS1, n.value]
|
|
110590
110592
|
]) : a4((T(), q("input", {
|
|
110591
110593
|
key: 2,
|
|
@@ -110603,7 +110605,7 @@ const Ad6 = {
|
|
|
110603
110605
|
onBlur: u1[6] || (u1[6] = (S1) => y1()),
|
|
110604
110606
|
onInput: u1[7] || (u1[7] = (S1) => l2()),
|
|
110605
110607
|
onKeydown: u1[8] || (u1[8] = (S1) => U2(S1.key))
|
|
110606
|
-
}, null, 46,
|
|
110608
|
+
}, null, 46, Dd6)), [
|
|
110607
110609
|
[Xs, m.value]
|
|
110608
110610
|
]),
|
|
110609
110611
|
(T(), l1(ci, { to: "body" }, [
|
|
@@ -110622,14 +110624,14 @@ const Ad6 = {
|
|
|
110622
110624
|
}]),
|
|
110623
110625
|
onMousedown: (R) => r3(X(S1)),
|
|
110624
110626
|
onMouseenter: (R) => M.value = p3
|
|
110625
|
-
}, H1(x1(S1)), 43,
|
|
110627
|
+
}, H1(x1(S1)), 43, Od6))), 128))
|
|
110626
110628
|
], 4)) : Z("", !0)
|
|
110627
110629
|
])),
|
|
110628
110630
|
b.value ? (T(), q("span", {
|
|
110629
110631
|
key: 3,
|
|
110630
110632
|
class: "ck-select--placeholder",
|
|
110631
110633
|
textContent: H1(A.value)
|
|
110632
|
-
}, null, 8,
|
|
110634
|
+
}, null, 8, Bd6)) : Z("", !0),
|
|
110633
110635
|
$.icon ? (T(), l1(A3, {
|
|
110634
110636
|
key: 4,
|
|
110635
110637
|
class: "ck-select--icon-left",
|
|
@@ -110663,19 +110665,19 @@ const Ad6 = {
|
|
|
110663
110665
|
};
|
|
110664
110666
|
}
|
|
110665
110667
|
});
|
|
110666
|
-
const
|
|
110668
|
+
const Fd6 = /* @__PURE__ */ Z1(Rd6, [["__scopeId", "data-v-56f1b460"]]), $d6 = {
|
|
110667
110669
|
key: 0,
|
|
110668
110670
|
class: "sidebar-header-title"
|
|
110669
|
-
},
|
|
110671
|
+
}, Ed6 = {
|
|
110670
110672
|
key: 1,
|
|
110671
110673
|
class: "loader-container"
|
|
110672
|
-
},
|
|
110674
|
+
}, qd6 = {
|
|
110673
110675
|
key: 2,
|
|
110674
110676
|
class: "ck-sidebar__content"
|
|
110675
|
-
},
|
|
110677
|
+
}, Ud6 = {
|
|
110676
110678
|
key: 3,
|
|
110677
110679
|
class: "ck-sidbar__footer"
|
|
110678
|
-
},
|
|
110680
|
+
}, jd6 = /* @__PURE__ */ _1({
|
|
110679
110681
|
__name: "ck-sidebar",
|
|
110680
110682
|
props: /* @__PURE__ */ H3({
|
|
110681
110683
|
title: {},
|
|
@@ -110724,23 +110726,23 @@ const Rd6 = /* @__PURE__ */ Z1(Bd6, [["__scopeId", "data-v-56f1b460"]]), Fd6 = {
|
|
|
110724
110726
|
style: R1(o.value),
|
|
110725
110727
|
onClick: s[0] || (s[0] = (C) => e.value = !1)
|
|
110726
110728
|
}, [
|
|
110727
|
-
l.title ? (T(), q("div",
|
|
110729
|
+
l.title ? (T(), q("div", $d6, H1(l.title), 1)) : Z("", !0),
|
|
110728
110730
|
L2(f, {
|
|
110729
110731
|
class: "close-btn",
|
|
110730
110732
|
icon: r.value
|
|
110731
110733
|
}, null, 8, ["icon"])
|
|
110732
110734
|
], 6)) : Z("", !0),
|
|
110733
|
-
l.isLoading ? (T(), q("div",
|
|
110735
|
+
l.isLoading ? (T(), q("div", Ed6, [
|
|
110734
110736
|
L2(f, {
|
|
110735
110737
|
icon: "spinner",
|
|
110736
110738
|
size: "xxl",
|
|
110737
110739
|
spin: "",
|
|
110738
110740
|
color: "primary"
|
|
110739
110741
|
})
|
|
110740
|
-
])) : (T(), q("div",
|
|
110742
|
+
])) : (T(), q("div", qd6, [
|
|
110741
110743
|
O1(l.$slots, "default", {}, void 0, !0)
|
|
110742
110744
|
])),
|
|
110743
|
-
l.$slots.footer ? (T(), q("div",
|
|
110745
|
+
l.$slots.footer ? (T(), q("div", Ud6, [
|
|
110744
110746
|
O1(l.$slots, "footer", {}, void 0, !0)
|
|
110745
110747
|
])) : Z("", !0)
|
|
110746
110748
|
], 6)
|
|
@@ -110748,7 +110750,7 @@ const Rd6 = /* @__PURE__ */ Z1(Bd6, [["__scopeId", "data-v-56f1b460"]]), Fd6 = {
|
|
|
110748
110750
|
};
|
|
110749
110751
|
}
|
|
110750
110752
|
});
|
|
110751
|
-
const
|
|
110753
|
+
const Id6 = /* @__PURE__ */ Z1(jd6, [["__scopeId", "data-v-21b28906"]]), Wd6 = ["disabled"], Gd6 = { class: "ck-switch__slider-container" }, Wz = "s", Yd6 = "m", Zd6 = /* @__PURE__ */ _1({
|
|
110752
110754
|
__name: "ck-switch",
|
|
110753
110755
|
props: /* @__PURE__ */ H3({
|
|
110754
110756
|
preventAutoUpdate: { type: Boolean },
|
|
@@ -110782,7 +110784,7 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
|
|
|
110782
110784
|
return t.value.darkMode && m.push({ color: t.value.darkModeColorText }), n.size && n.size !== Wz && m.push(`ck-switch__icon-size--${n.size}`), m;
|
|
110783
110785
|
}), f = _(() => {
|
|
110784
110786
|
const m = [];
|
|
110785
|
-
return n.textSize && n.textSize !==
|
|
110787
|
+
return n.textSize && n.textSize !== Yd6 && m.push(`ck-switch__text-size--${n.textSize}`), m;
|
|
110786
110788
|
});
|
|
110787
110789
|
function C(m) {
|
|
110788
110790
|
if (n.preventAutoUpdate) {
|
|
@@ -110810,10 +110812,10 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
|
|
|
110810
110812
|
"aria-hidden": "true",
|
|
110811
110813
|
disabled: m.disabled,
|
|
110812
110814
|
onClick: z[1] || (z[1] = (p) => C(p))
|
|
110813
|
-
}, null, 8,
|
|
110815
|
+
}, null, 8, Wd6), [
|
|
110814
110816
|
[vS1, a.value]
|
|
110815
110817
|
]),
|
|
110816
|
-
Y("div",
|
|
110818
|
+
Y("div", Gd6, [
|
|
110817
110819
|
z[3] || (z[3] = Y("div", { class: "ck-switch__slider" }, null, -1)),
|
|
110818
110820
|
m.icon && a.value ? (T(), l1(A3, {
|
|
110819
110821
|
key: 0,
|
|
@@ -110838,7 +110840,7 @@ const jd6 = /* @__PURE__ */ Z1(Ud6, [["__scopeId", "data-v-21b28906"]]), Id6 = [
|
|
|
110838
110840
|
], 16));
|
|
110839
110841
|
}
|
|
110840
110842
|
});
|
|
110841
|
-
const
|
|
110843
|
+
const Xd6 = /* @__PURE__ */ Z1(Zd6, [["__scopeId", "data-v-9b21ac28"]]), Qd6 = { class: "ck-switch-options" }, Kd6 = ["onClick"], Jd6 = /* @__PURE__ */ _1({
|
|
110842
110844
|
__name: "ck-switch-options",
|
|
110843
110845
|
props: /* @__PURE__ */ H3({
|
|
110844
110846
|
options: {},
|
|
@@ -110882,7 +110884,7 @@ const Zd6 = /* @__PURE__ */ Z1(Yd6, [["__scopeId", "data-v-9b21ac28"]]), Xd6 = {
|
|
|
110882
110884
|
}
|
|
110883
110885
|
return (C, m) => {
|
|
110884
110886
|
const z = Y1("ck-icon");
|
|
110885
|
-
return T(), q("div",
|
|
110887
|
+
return T(), q("div", Qd6, [
|
|
110886
110888
|
C.label ? (T(), l1(Zi, {
|
|
110887
110889
|
key: 0,
|
|
110888
110890
|
align: C.labelAlign
|
|
@@ -110907,16 +110909,16 @@ const Zd6 = /* @__PURE__ */ Z1(Yd6, [["__scopeId", "data-v-9b21ac28"]]), Xd6 = {
|
|
|
110907
110909
|
icon: p.icon
|
|
110908
110910
|
}, null, 8, ["icon"])) : Z("", !0),
|
|
110909
110911
|
u2(" " + H1(s(p)), 1)
|
|
110910
|
-
], 14,
|
|
110912
|
+
], 14, Kd6))), 128))
|
|
110911
110913
|
], 2)
|
|
110912
110914
|
]);
|
|
110913
110915
|
};
|
|
110914
110916
|
}
|
|
110915
110917
|
});
|
|
110916
|
-
const
|
|
110918
|
+
const cL6 = /* @__PURE__ */ Z1(Jd6, [["__scopeId", "data-v-a455f214"]]), eL6 = { class: "ck-textarea" }, aL6 = {
|
|
110917
110919
|
key: 0,
|
|
110918
110920
|
class: "ck-textarea__optional-label"
|
|
110919
|
-
},
|
|
110921
|
+
}, nL6 = ["placeholder", "disabled"], iL6 = 300, tL6 = /* @__PURE__ */ _1({
|
|
110920
110922
|
__name: "ck-textarea",
|
|
110921
110923
|
props: {
|
|
110922
110924
|
modelValue: {},
|
|
@@ -110971,16 +110973,16 @@ const Jd6 = /* @__PURE__ */ Z1(Kd6, [["__scopeId", "data-v-a455f214"]]), cL6 = {
|
|
|
110971
110973
|
function z(p) {
|
|
110972
110974
|
setTimeout(() => {
|
|
110973
110975
|
r.value === p && n("changeDelayed", p);
|
|
110974
|
-
}, a.delayChangeTime ||
|
|
110976
|
+
}, a.delayChangeTime || iL6);
|
|
110975
110977
|
}
|
|
110976
|
-
return (p, M) => (T(), q("div",
|
|
110978
|
+
return (p, M) => (T(), q("div", eL6, [
|
|
110977
110979
|
p.label ? (T(), l1(Zi, {
|
|
110978
110980
|
key: 0,
|
|
110979
110981
|
align: p.labelAlign
|
|
110980
110982
|
}, {
|
|
110981
110983
|
default: U1(() => [
|
|
110982
110984
|
u2(H1(p.label) + " ", 1),
|
|
110983
|
-
p.optional ? (T(), q("span",
|
|
110985
|
+
p.optional ? (T(), q("span", aL6, "opcional")) : Z("", !0)
|
|
110984
110986
|
]),
|
|
110985
110987
|
_: 1
|
|
110986
110988
|
}, 8, ["align"])) : Z("", !0),
|
|
@@ -110995,13 +110997,13 @@ const Jd6 = /* @__PURE__ */ Z1(Kd6, [["__scopeId", "data-v-a455f214"]]), cL6 = {
|
|
|
110995
110997
|
onClick: M[1] || (M[1] = (d) => f(d)),
|
|
110996
110998
|
onInput: M[2] || (M[2] = (d) => C(d)),
|
|
110997
110999
|
onChange: M[3] || (M[3] = (d) => m(d))
|
|
110998
|
-
}, null, 46,
|
|
111000
|
+
}, null, 46, nL6), [
|
|
110999
111001
|
[Xs, r.value]
|
|
111000
111002
|
])
|
|
111001
111003
|
]));
|
|
111002
111004
|
}
|
|
111003
111005
|
});
|
|
111004
|
-
const
|
|
111006
|
+
const oL6 = /* @__PURE__ */ Z1(tL6, [["__scopeId", "data-v-02767f25"]]), rL6 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==", lL6 = { class: "ck-confirm--background" }, sL6 = { class: "ck-confirm" }, fL6 = { class: "ck-confirm__title" }, CL6 = { class: "ck-confirm__message" }, mL6 = { class: "ck-confirm__buttons-container" }, uL6 = /* @__PURE__ */ _1({
|
|
111005
111007
|
__name: "CkConfirm",
|
|
111006
111008
|
setup(c, { expose: e }) {
|
|
111007
111009
|
const a = p1(""), n = p1(""), i = p1(""), t = p1(""), o = p1(() => {
|
|
@@ -111020,17 +111022,17 @@ const tL6 = /* @__PURE__ */ Z1(iL6, [["__scopeId", "data-v-02767f25"]]), oL6 = "
|
|
|
111020
111022
|
cancelText: t,
|
|
111021
111023
|
responseSuccess: o,
|
|
111022
111024
|
responseFailure: r
|
|
111023
|
-
}), (z, p) => (T(), q("div",
|
|
111024
|
-
Y("div",
|
|
111025
|
+
}), (z, p) => (T(), q("div", lL6, [
|
|
111026
|
+
Y("div", sL6, [
|
|
111025
111027
|
p[2] || (p[2] = Y("div", { class: "ck-confirm__icon" }, [
|
|
111026
111028
|
Y("img", {
|
|
111027
|
-
src:
|
|
111029
|
+
src: rL6,
|
|
111028
111030
|
height: "125"
|
|
111029
111031
|
})
|
|
111030
111032
|
], -1)),
|
|
111031
|
-
Y("div",
|
|
111032
|
-
Y("div",
|
|
111033
|
-
Y("div",
|
|
111033
|
+
Y("div", fL6, H1(a.value || l.value), 1),
|
|
111034
|
+
Y("div", CL6, H1(n.value), 1),
|
|
111035
|
+
Y("div", mL6, [
|
|
111034
111036
|
Y("button", {
|
|
111035
111037
|
class: "ck-confirm__button--cancel",
|
|
111036
111038
|
onClick: p[0] || (p[0] = (M) => C())
|
|
@@ -111044,7 +111046,7 @@ const tL6 = /* @__PURE__ */ Z1(iL6, [["__scopeId", "data-v-02767f25"]]), oL6 = "
|
|
|
111044
111046
|
]));
|
|
111045
111047
|
}
|
|
111046
111048
|
});
|
|
111047
|
-
const
|
|
111049
|
+
const zL6 = /* @__PURE__ */ Z1(uL6, [["__scopeId", "data-v-ff0fbed3"]]), hL6 = { class: "alert--msg" }, pL6 = /* @__PURE__ */ _1({
|
|
111048
111050
|
__name: "CkAlert",
|
|
111049
111051
|
setup(c, { expose: e }) {
|
|
111050
111052
|
const a = p1(""), n = p1(""), i = p1(""), t = p1(!0), o = _(() => "Atención"), r = _(() => "Aceptar");
|
|
@@ -111066,14 +111068,14 @@ const uL6 = /* @__PURE__ */ Z1(mL6, [["__scopeId", "data-v-ff0fbed3"]]), zL6 = {
|
|
|
111066
111068
|
onAccept: s[1] || (s[1] = (f) => t.value = !1)
|
|
111067
111069
|
}, {
|
|
111068
111070
|
default: U1(() => [
|
|
111069
|
-
Y("div",
|
|
111071
|
+
Y("div", hL6, H1(n.value), 1)
|
|
111070
111072
|
]),
|
|
111071
111073
|
_: 1
|
|
111072
111074
|
}, 8, ["modelValue", "title", "acceptBtnText"])
|
|
111073
111075
|
]));
|
|
111074
111076
|
}
|
|
111075
111077
|
});
|
|
111076
|
-
const
|
|
111078
|
+
const ML6 = /* @__PURE__ */ Z1(pL6, [["__scopeId", "data-v-08c93dad"]]), dL6 = { class: "ck-notify__container" }, LL6 = { class: "ck-notify__title" }, HL6 = { class: "close-btn" }, vL6 = ["innerHTML"], VL6 = /* @__PURE__ */ _1({
|
|
111077
111079
|
__name: "CkNotify",
|
|
111078
111080
|
setup(c, { expose: e }) {
|
|
111079
111081
|
const a = p1(!0), n = p1(""), i = p1(""), t = p1(""), o = p1(0), r = p1(() => {
|
|
@@ -111112,7 +111114,7 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
|
|
|
111112
111114
|
key: 0,
|
|
111113
111115
|
to: "body"
|
|
111114
111116
|
}, [
|
|
111115
|
-
Y("div",
|
|
111117
|
+
Y("div", dL6, [
|
|
111116
111118
|
Y("div", {
|
|
111117
111119
|
class: h1(["ck-notify", s.value]),
|
|
111118
111120
|
style: R1(f.value),
|
|
@@ -111120,8 +111122,8 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
|
|
|
111120
111122
|
a.value = !1, r.value();
|
|
111121
111123
|
})
|
|
111122
111124
|
}, [
|
|
111123
|
-
Y("div",
|
|
111124
|
-
Y("div",
|
|
111125
|
+
Y("div", LL6, [
|
|
111126
|
+
Y("div", HL6, [
|
|
111125
111127
|
L2(A3, { icon: "times" })
|
|
111126
111128
|
]),
|
|
111127
111129
|
u2(" " + H1(n.value || l.value), 1)
|
|
@@ -111129,13 +111131,13 @@ const pL6 = /* @__PURE__ */ Z1(hL6, [["__scopeId", "data-v-08c93dad"]]), ML6 = {
|
|
|
111129
111131
|
Y("div", {
|
|
111130
111132
|
class: "ck-notify__text",
|
|
111131
111133
|
innerHTML: i.value
|
|
111132
|
-
}, null, 8,
|
|
111134
|
+
}, null, 8, vL6)
|
|
111133
111135
|
], 6)
|
|
111134
111136
|
])
|
|
111135
111137
|
])) : Z("", !0);
|
|
111136
111138
|
}
|
|
111137
111139
|
});
|
|
111138
|
-
const
|
|
111140
|
+
const gL6 = /* @__PURE__ */ Z1(VL6, [["__scopeId", "data-v-bb914f84"]]), bL6 = 3e3, xL6 = {
|
|
111139
111141
|
alert(c) {
|
|
111140
111142
|
this.alertOptions({
|
|
111141
111143
|
title: "",
|
|
@@ -111144,7 +111146,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
|
|
|
111144
111146
|
});
|
|
111145
111147
|
},
|
|
111146
111148
|
alertOptions({ title: c = "", msg: e = "", acceptText: a = "" }) {
|
|
111147
|
-
const n = document.createElement("div"), t = so(
|
|
111149
|
+
const n = document.createElement("div"), t = so(ML6).mount(n);
|
|
111148
111150
|
t.title = c, t.msg = e, t.acceptText = a, document.body.appendChild(t.$el);
|
|
111149
111151
|
},
|
|
111150
111152
|
confirmOptions({
|
|
@@ -111157,7 +111159,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
|
|
|
111157
111159
|
failure: t = () => {
|
|
111158
111160
|
}
|
|
111159
111161
|
}) {
|
|
111160
|
-
const o = document.createElement("div"), r = so(
|
|
111162
|
+
const o = document.createElement("div"), r = so(zL6), l = r.mount(o);
|
|
111161
111163
|
l.title = c, l.msg = e, l.acceptText = a, l.cancelText = n, l.responseSuccess = () => {
|
|
111162
111164
|
r.unmount(), i();
|
|
111163
111165
|
}, l.responseFailure = () => {
|
|
@@ -111172,8 +111174,8 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
|
|
|
111172
111174
|
});
|
|
111173
111175
|
},
|
|
111174
111176
|
notify({ text: c = "", title: e = "", color: a = "", duration: n = 0 }) {
|
|
111175
|
-
const i = document.createElement("div"), t = so(
|
|
111176
|
-
o.title = e, o.text = c, o.color = a, o.duration = n ||
|
|
111177
|
+
const i = document.createElement("div"), t = so(gL6), o = t.mount(i);
|
|
111178
|
+
o.title = e, o.text = c, o.color = a, o.duration = n || bL6, o.closeCallback = () => {
|
|
111177
111179
|
t.unmount();
|
|
111178
111180
|
};
|
|
111179
111181
|
},
|
|
@@ -111187,7 +111189,7 @@ const VL6 = /* @__PURE__ */ Z1(vL6, [["__scopeId", "data-v-bb914f84"]]), gL6 = 3
|
|
|
111187
111189
|
this.notify({ text: c, title: e, color: "warning", duration: a });
|
|
111188
111190
|
}
|
|
111189
111191
|
};
|
|
111190
|
-
class
|
|
111192
|
+
class yL6 {
|
|
111191
111193
|
constructor(e) {
|
|
111192
111194
|
g8(this, "search", "");
|
|
111193
111195
|
g8(this, "currentPage", 1);
|
|
@@ -111198,7 +111200,7 @@ class xL6 {
|
|
|
111198
111200
|
e && (this.itemsPerPage = e);
|
|
111199
111201
|
}
|
|
111200
111202
|
}
|
|
111201
|
-
class
|
|
111203
|
+
class NL6 {
|
|
111202
111204
|
constructor(e, a) {
|
|
111203
111205
|
g8(this, "ids", /* @__PURE__ */ new Set([]));
|
|
111204
111206
|
g8(this, "toggleable", !0);
|
|
@@ -111235,18 +111237,18 @@ class yL6 {
|
|
|
111235
111237
|
this.ids.clear();
|
|
111236
111238
|
}
|
|
111237
111239
|
}
|
|
111238
|
-
const
|
|
111240
|
+
const wL6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
111239
111241
|
__proto__: null,
|
|
111240
111242
|
CkButton: Qn,
|
|
111241
111243
|
CkCard: rd6,
|
|
111242
111244
|
CkCheckbox: _w1,
|
|
111243
|
-
CkChip:
|
|
111244
|
-
CkCircle:
|
|
111245
|
+
CkChip: hd6,
|
|
111246
|
+
CkCircle: Hd6,
|
|
111245
111247
|
CkDatetimeShower: eu6,
|
|
111246
|
-
CkDiv:
|
|
111248
|
+
CkDiv: vd6,
|
|
111247
111249
|
CkDropdown: ou6,
|
|
111248
111250
|
CkIcon: A3,
|
|
111249
|
-
CkImg:
|
|
111251
|
+
CkImg: xd6,
|
|
111250
111252
|
CkInput: Aw1,
|
|
111251
111253
|
CkInputDate: $M6,
|
|
111252
111254
|
CkInputTime: EM6,
|
|
@@ -111254,31 +111256,31 @@ const NL6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
111254
111256
|
CkNavbar: su6,
|
|
111255
111257
|
CkPagination: wz6,
|
|
111256
111258
|
CkPopup: RN,
|
|
111257
|
-
CkRadio:
|
|
111258
|
-
CkSelect:
|
|
111259
|
-
CkSidebar:
|
|
111260
|
-
CkSwitch:
|
|
111261
|
-
CkSwitchOptions:
|
|
111259
|
+
CkRadio: kd6,
|
|
111260
|
+
CkSelect: Fd6,
|
|
111261
|
+
CkSidebar: Id6,
|
|
111262
|
+
CkSwitch: Xd6,
|
|
111263
|
+
CkSwitchOptions: cL6,
|
|
111262
111264
|
CkTab: jM6,
|
|
111263
111265
|
CkTable: Nz6,
|
|
111264
111266
|
CkTabs: XM6,
|
|
111265
111267
|
CkTd: Nw1,
|
|
111266
|
-
CkTextarea:
|
|
111268
|
+
CkTextarea: oL6,
|
|
111267
111269
|
CkTh: ww1,
|
|
111268
111270
|
CkTimeShower: iu6,
|
|
111269
111271
|
CkToggle: JM6,
|
|
111270
111272
|
CkToggleGroup: ad6,
|
|
111271
111273
|
CkTr: yw1,
|
|
111272
|
-
SelectedRows:
|
|
111273
|
-
TableData:
|
|
111274
|
-
ckNotify:
|
|
111274
|
+
SelectedRows: NL6,
|
|
111275
|
+
TableData: yL6,
|
|
111276
|
+
ckNotify: xL6,
|
|
111275
111277
|
useWindowWidth: V8
|
|
111276
111278
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
111277
111279
|
hL.add(Y82);
|
|
111278
111280
|
hL.add(i92);
|
|
111279
111281
|
hL.add(ml2);
|
|
111280
|
-
function
|
|
111281
|
-
b3().cleekOptions = xS1(gW, e), c.use(SS1), c.use(kk1, gS1), Object.entries(
|
|
111282
|
+
function OL6(c, e) {
|
|
111283
|
+
b3().cleekOptions = xS1(gW, e), c.use(SS1), c.use(kk1, gS1), Object.entries(wL6).forEach(([a, n]) => {
|
|
111282
111284
|
c.component(a, n);
|
|
111283
111285
|
});
|
|
111284
111286
|
}
|
|
@@ -111286,13 +111288,13 @@ export {
|
|
|
111286
111288
|
Qn as CkButton,
|
|
111287
111289
|
rd6 as CkCard,
|
|
111288
111290
|
_w1 as CkCheckbox,
|
|
111289
|
-
|
|
111290
|
-
|
|
111291
|
+
hd6 as CkChip,
|
|
111292
|
+
Hd6 as CkCircle,
|
|
111291
111293
|
eu6 as CkDatetimeShower,
|
|
111292
|
-
|
|
111294
|
+
vd6 as CkDiv,
|
|
111293
111295
|
ou6 as CkDropdown,
|
|
111294
111296
|
A3 as CkIcon,
|
|
111295
|
-
|
|
111297
|
+
xd6 as CkImg,
|
|
111296
111298
|
Aw1 as CkInput,
|
|
111297
111299
|
$M6 as CkInputDate,
|
|
111298
111300
|
EM6 as CkInputTime,
|
|
@@ -111300,25 +111302,25 @@ export {
|
|
|
111300
111302
|
su6 as CkNavbar,
|
|
111301
111303
|
wz6 as CkPagination,
|
|
111302
111304
|
RN as CkPopup,
|
|
111303
|
-
|
|
111304
|
-
|
|
111305
|
-
|
|
111306
|
-
|
|
111307
|
-
|
|
111305
|
+
kd6 as CkRadio,
|
|
111306
|
+
Fd6 as CkSelect,
|
|
111307
|
+
Id6 as CkSidebar,
|
|
111308
|
+
Xd6 as CkSwitch,
|
|
111309
|
+
cL6 as CkSwitchOptions,
|
|
111308
111310
|
jM6 as CkTab,
|
|
111309
111311
|
Nz6 as CkTable,
|
|
111310
111312
|
XM6 as CkTabs,
|
|
111311
111313
|
Nw1 as CkTd,
|
|
111312
|
-
|
|
111314
|
+
oL6 as CkTextarea,
|
|
111313
111315
|
ww1 as CkTh,
|
|
111314
111316
|
iu6 as CkTimeShower,
|
|
111315
111317
|
JM6 as CkToggle,
|
|
111316
111318
|
ad6 as CkToggleGroup,
|
|
111317
111319
|
yw1 as CkTr,
|
|
111318
|
-
|
|
111319
|
-
|
|
111320
|
-
|
|
111321
|
-
|
|
111320
|
+
NL6 as SelectedRows,
|
|
111321
|
+
yL6 as TableData,
|
|
111322
|
+
xL6 as ckNotify,
|
|
111323
|
+
OL6 as default,
|
|
111322
111324
|
b3 as useCleekOptionsStore,
|
|
111323
111325
|
V8 as useWindowWidth
|
|
111324
111326
|
};
|