cleek 2.1.12 → 2.1.13
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-styles/clear-app.styl +2 -1
- package/dist/cleek.es.js +177 -96
- package/dist/cleek.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeClass, createCommentVNode, computed as computed$2, normalizeStyle, unref as unref$1, watch, h, createBlock, onMounted, getCurrentInstance, mergeProps, withKeys, withModifiers, pushScopeId, popScopeId, withCtx,
|
|
20
|
+
import { defineComponent, ref, openBlock, createElementBlock, createElementVNode, renderSlot, normalizeClass, createCommentVNode, computed as computed$2, normalizeStyle, unref as unref$1, watch, h, createBlock, Teleport, createVNode, createTextVNode, toDisplayString, onMounted, getCurrentInstance, mergeProps, withKeys, withModifiers, pushScopeId, popScopeId, withCtx, withDirectives, isRef as isRef$1, vModelDynamic, Fragment, renderList, vModelRadio, vModelSelect, vModelCheckbox, vModelText } from "vue";
|
|
21
21
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22
22
|
var _export_sfc = (sfc, props) => {
|
|
23
23
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -26,8 +26,8 @@ var _export_sfc = (sfc, props) => {
|
|
|
26
26
|
}
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
|
-
const _hoisted_1$
|
|
30
|
-
const _sfc_main$
|
|
29
|
+
const _hoisted_1$k = { class: "ck-dropdown" };
|
|
30
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
31
31
|
props: {
|
|
32
32
|
triggerType: { type: String, default: "click" },
|
|
33
33
|
dark: { type: Boolean, default: false }
|
|
@@ -49,7 +49,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
isOpen.value = true;
|
|
50
50
|
}
|
|
51
51
|
return (_ctx, _cache) => {
|
|
52
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
52
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
53
53
|
createElementVNode("div", {
|
|
54
54
|
class: "ck-dropdown__trigger",
|
|
55
55
|
onClick: _cache[0] || (_cache[0] = ($event) => openClose())
|
|
@@ -71,9 +71,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
74
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-64a91fb4"]]);
|
|
75
75
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
76
|
-
const _sfc_main$
|
|
76
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
77
77
|
props: {
|
|
78
78
|
padding: { type: String, default: 0 },
|
|
79
79
|
position: { type: String, default: "fixed" }
|
|
@@ -108,77 +108,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
112
|
-
var validators = {
|
|
113
|
-
size: (type) => {
|
|
114
|
-
return ["", "xs", "s", "m", "l", "xl"].includes(type);
|
|
115
|
-
},
|
|
116
|
-
group: (type) => {
|
|
117
|
-
return ["", "left", "right", "center"].includes(type);
|
|
118
|
-
},
|
|
119
|
-
groupVertical: (type) => {
|
|
120
|
-
return ["top", "bottom", "center"].includes(type);
|
|
121
|
-
},
|
|
122
|
-
align: (type) => {
|
|
123
|
-
return ["left", "center", "right"].includes(type);
|
|
124
|
-
},
|
|
125
|
-
buttonType: (type) => {
|
|
126
|
-
return ["filled", "outlined", "flat"].includes(type);
|
|
127
|
-
},
|
|
128
|
-
inputType: (type) => {
|
|
129
|
-
return ["text", "number", "date", "time", "password"].includes(type);
|
|
130
|
-
},
|
|
131
|
-
radioOptions: (options) => {
|
|
132
|
-
let isValid = true;
|
|
133
|
-
options.forEach((option) => {
|
|
134
|
-
isValid = isValid && "label" in option && "value" in option;
|
|
135
|
-
});
|
|
136
|
-
return isValid;
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
var functions$1 = {
|
|
140
|
-
getGroupClass({ group = "", groupVertical = "", groupBreak = "" } = {}) {
|
|
141
|
-
const _screenSize = "";
|
|
142
|
-
if (groupBreak && groupBreak === _screenSize)
|
|
143
|
-
return [];
|
|
144
|
-
const classList2 = [];
|
|
145
|
-
if (group)
|
|
146
|
-
classList2.push(`ck-component__group--${group}`);
|
|
147
|
-
if (groupVertical)
|
|
148
|
-
classList2.push(`ck-component__group-vertical--${groupVertical}`);
|
|
149
|
-
return classList2;
|
|
150
|
-
},
|
|
151
|
-
isColorTemplateVariable(color) {
|
|
152
|
-
if (color === "primary")
|
|
153
|
-
return true;
|
|
154
|
-
if (color === "secondary")
|
|
155
|
-
return true;
|
|
156
|
-
if (color === "success")
|
|
157
|
-
return true;
|
|
158
|
-
if (color === "warning")
|
|
159
|
-
return true;
|
|
160
|
-
if (color === "danger")
|
|
161
|
-
return true;
|
|
162
|
-
if (color === "dark")
|
|
163
|
-
return true;
|
|
164
|
-
if (color === "light")
|
|
165
|
-
return true;
|
|
166
|
-
return false;
|
|
167
|
-
},
|
|
168
|
-
isColumnDisplayed(column) {
|
|
169
|
-
if (column.isDisplayed === false)
|
|
170
|
-
return false;
|
|
171
|
-
if (column.unchangeable) {
|
|
172
|
-
if (column.isDisplayed === true)
|
|
173
|
-
return true;
|
|
174
|
-
return false;
|
|
175
|
-
}
|
|
176
|
-
return true;
|
|
177
|
-
},
|
|
178
|
-
getCleekOptions(getCurrentInstance2) {
|
|
179
|
-
return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
|
|
180
|
-
}
|
|
181
|
-
};
|
|
111
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-5024db6a"]]);
|
|
182
112
|
/*!
|
|
183
113
|
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
184
114
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -384,11 +314,11 @@ if (!w[NAMESPACE_IDENTIFIER].hooks)
|
|
|
384
314
|
if (!w[NAMESPACE_IDENTIFIER].shims)
|
|
385
315
|
w[NAMESPACE_IDENTIFIER].shims = [];
|
|
386
316
|
var namespace = w[NAMESPACE_IDENTIFIER];
|
|
387
|
-
var functions = [];
|
|
317
|
+
var functions$1 = [];
|
|
388
318
|
var listener = function listener2() {
|
|
389
319
|
DOCUMENT.removeEventListener("DOMContentLoaded", listener2);
|
|
390
320
|
loaded = 1;
|
|
391
|
-
functions.map(function(fn2) {
|
|
321
|
+
functions$1.map(function(fn2) {
|
|
392
322
|
return fn2();
|
|
393
323
|
});
|
|
394
324
|
};
|
|
@@ -11299,7 +11229,7 @@ defineComponent({
|
|
|
11299
11229
|
}
|
|
11300
11230
|
});
|
|
11301
11231
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11302
|
-
const _sfc_main$
|
|
11232
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
11303
11233
|
props: {
|
|
11304
11234
|
icon: { type: [String, Array], default: "" },
|
|
11305
11235
|
color: { type: String, default: "" },
|
|
@@ -11359,7 +11289,147 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11359
11289
|
};
|
|
11360
11290
|
}
|
|
11361
11291
|
});
|
|
11362
|
-
var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11292
|
+
var ckIcon = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-25801d7b"]]);
|
|
11293
|
+
var ckNotify_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11294
|
+
const _hoisted_1$j = { class: "ck-notify__container" };
|
|
11295
|
+
const _hoisted_2$9 = { class: "ck-notify__title" };
|
|
11296
|
+
const _hoisted_3$6 = { class: "close-btn" };
|
|
11297
|
+
const _hoisted_4$4 = { class: "ck-notify__text" };
|
|
11298
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
11299
|
+
setup(__props, { expose }) {
|
|
11300
|
+
expose({
|
|
11301
|
+
ckNotify: ckNotify2,
|
|
11302
|
+
ckNotifySuccess,
|
|
11303
|
+
ckNotifyDanger,
|
|
11304
|
+
ckNotifyWarning
|
|
11305
|
+
});
|
|
11306
|
+
const isActive = ref(false);
|
|
11307
|
+
const globalTitle = ref("");
|
|
11308
|
+
const globalText = ref("");
|
|
11309
|
+
const globalColor = ref("");
|
|
11310
|
+
const defaultDuration = ref(2e3);
|
|
11311
|
+
function closeNotification() {
|
|
11312
|
+
isActive.value = false;
|
|
11313
|
+
}
|
|
11314
|
+
function ckNotify2({ text: text3 = "", title = "", color = "#ccc", duration = defaultDuration.value }) {
|
|
11315
|
+
console.log("openNotify", title);
|
|
11316
|
+
globalTitle.value = title;
|
|
11317
|
+
globalText.value = text3;
|
|
11318
|
+
globalColor.value = color;
|
|
11319
|
+
isActive.value = true;
|
|
11320
|
+
setTimeout(() => {
|
|
11321
|
+
closeNotification();
|
|
11322
|
+
}, duration);
|
|
11323
|
+
}
|
|
11324
|
+
function ckNotifySuccess(text3 = "", title = "\xC9xito") {
|
|
11325
|
+
ckNotify2({
|
|
11326
|
+
text: text3,
|
|
11327
|
+
title,
|
|
11328
|
+
color: "#66CC00"
|
|
11329
|
+
});
|
|
11330
|
+
}
|
|
11331
|
+
function ckNotifyDanger(text3 = "", title = "Error") {
|
|
11332
|
+
ckNotify2({ text: text3, title, color: "#FF3333" });
|
|
11333
|
+
}
|
|
11334
|
+
function ckNotifyWarning(text3 = "", title = "Atenci\xF3n") {
|
|
11335
|
+
ckNotify2({ text: text3, title, color: "#FFDD33" });
|
|
11336
|
+
}
|
|
11337
|
+
return (_ctx, _cache) => {
|
|
11338
|
+
return isActive.value ? (openBlock(), createBlock(Teleport, {
|
|
11339
|
+
key: 0,
|
|
11340
|
+
to: "body"
|
|
11341
|
+
}, [
|
|
11342
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
11343
|
+
createElementVNode("div", {
|
|
11344
|
+
class: "ck-notify",
|
|
11345
|
+
style: normalizeStyle({ "background-color": globalColor.value }),
|
|
11346
|
+
onClick: _cache[0] || (_cache[0] = ($event) => closeNotification())
|
|
11347
|
+
}, [
|
|
11348
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
11349
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
11350
|
+
createVNode(ckIcon, { icon: "times" })
|
|
11351
|
+
]),
|
|
11352
|
+
createTextVNode(toDisplayString(globalTitle.value), 1)
|
|
11353
|
+
]),
|
|
11354
|
+
createElementVNode("div", _hoisted_4$4, toDisplayString(globalText.value), 1)
|
|
11355
|
+
], 4)
|
|
11356
|
+
])
|
|
11357
|
+
])) : createCommentVNode("", true);
|
|
11358
|
+
};
|
|
11359
|
+
}
|
|
11360
|
+
});
|
|
11361
|
+
var ckNotify = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-33c8c0d8"]]);
|
|
11362
|
+
var validators = {
|
|
11363
|
+
size: (type) => {
|
|
11364
|
+
return ["", "xs", "s", "m", "l", "xl"].includes(type);
|
|
11365
|
+
},
|
|
11366
|
+
group: (type) => {
|
|
11367
|
+
return ["", "left", "right", "center"].includes(type);
|
|
11368
|
+
},
|
|
11369
|
+
groupVertical: (type) => {
|
|
11370
|
+
return ["top", "bottom", "center"].includes(type);
|
|
11371
|
+
},
|
|
11372
|
+
align: (type) => {
|
|
11373
|
+
return ["left", "center", "right"].includes(type);
|
|
11374
|
+
},
|
|
11375
|
+
buttonType: (type) => {
|
|
11376
|
+
return ["filled", "outlined", "flat"].includes(type);
|
|
11377
|
+
},
|
|
11378
|
+
inputType: (type) => {
|
|
11379
|
+
return ["text", "number", "date", "time", "password"].includes(type);
|
|
11380
|
+
},
|
|
11381
|
+
radioOptions: (options) => {
|
|
11382
|
+
let isValid = true;
|
|
11383
|
+
options.forEach((option) => {
|
|
11384
|
+
isValid = isValid && "label" in option && "value" in option;
|
|
11385
|
+
});
|
|
11386
|
+
return isValid;
|
|
11387
|
+
}
|
|
11388
|
+
};
|
|
11389
|
+
var functions = {
|
|
11390
|
+
getGroupClass({ group = "", groupVertical = "", groupBreak = "" } = {}) {
|
|
11391
|
+
const _screenSize = "";
|
|
11392
|
+
if (groupBreak && groupBreak === _screenSize)
|
|
11393
|
+
return [];
|
|
11394
|
+
const classList2 = [];
|
|
11395
|
+
if (group)
|
|
11396
|
+
classList2.push(`ck-component__group--${group}`);
|
|
11397
|
+
if (groupVertical)
|
|
11398
|
+
classList2.push(`ck-component__group-vertical--${groupVertical}`);
|
|
11399
|
+
return classList2;
|
|
11400
|
+
},
|
|
11401
|
+
isColorTemplateVariable(color) {
|
|
11402
|
+
if (color === "primary")
|
|
11403
|
+
return true;
|
|
11404
|
+
if (color === "secondary")
|
|
11405
|
+
return true;
|
|
11406
|
+
if (color === "success")
|
|
11407
|
+
return true;
|
|
11408
|
+
if (color === "warning")
|
|
11409
|
+
return true;
|
|
11410
|
+
if (color === "danger")
|
|
11411
|
+
return true;
|
|
11412
|
+
if (color === "dark")
|
|
11413
|
+
return true;
|
|
11414
|
+
if (color === "light")
|
|
11415
|
+
return true;
|
|
11416
|
+
return false;
|
|
11417
|
+
},
|
|
11418
|
+
isColumnDisplayed(column) {
|
|
11419
|
+
if (column.isDisplayed === false)
|
|
11420
|
+
return false;
|
|
11421
|
+
if (column.unchangeable) {
|
|
11422
|
+
if (column.isDisplayed === true)
|
|
11423
|
+
return true;
|
|
11424
|
+
return false;
|
|
11425
|
+
}
|
|
11426
|
+
return true;
|
|
11427
|
+
},
|
|
11428
|
+
getCleekOptions(getCurrentInstance2) {
|
|
11429
|
+
console.log("getCurrentInstance", getCurrentInstance2);
|
|
11430
|
+
return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
|
|
11431
|
+
}
|
|
11432
|
+
};
|
|
11363
11433
|
var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
11364
11434
|
const _hoisted_1$i = ["title", "aria-label", "disabled"];
|
|
11365
11435
|
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
@@ -11385,7 +11455,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
11385
11455
|
const isMounted = ref(false);
|
|
11386
11456
|
const computedClass = computed$2(() => {
|
|
11387
11457
|
const classList2 = [];
|
|
11388
|
-
classList2.push(functions
|
|
11458
|
+
classList2.push(functions.getGroupClass(props));
|
|
11389
11459
|
if (props.color !== "primary") {
|
|
11390
11460
|
if (props.type === "filled") {
|
|
11391
11461
|
classList2.push(`ck-component__bg-color--${props.color}`);
|
|
@@ -12380,7 +12450,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12380
12450
|
classList2.push("is-rounded");
|
|
12381
12451
|
if (props.hasBorder) {
|
|
12382
12452
|
classList2.push("ck-img__has-border");
|
|
12383
|
-
if (functions
|
|
12453
|
+
if (functions.isColorTemplateVariable(realBorderColor.value)) {
|
|
12384
12454
|
classList2.push(`ck-component__border-color--${realBorderColor.value}`);
|
|
12385
12455
|
}
|
|
12386
12456
|
}
|
|
@@ -12397,7 +12467,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12397
12467
|
if (props.radius)
|
|
12398
12468
|
styleList.push({ "border-radius": props.radius });
|
|
12399
12469
|
if (props.hasBorder) {
|
|
12400
|
-
if (!functions
|
|
12470
|
+
if (!functions.isColorTemplateVariable(realBorderColor.value)) {
|
|
12401
12471
|
styleList.push({ "border-color": realBorderColor.value });
|
|
12402
12472
|
}
|
|
12403
12473
|
}
|
|
@@ -12424,7 +12494,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
12424
12494
|
}
|
|
12425
12495
|
function getImg(src) {
|
|
12426
12496
|
let path = "";
|
|
12427
|
-
const $cleekOptions = functions
|
|
12497
|
+
const $cleekOptions = functions.getCleekOptions(getCurrentInstance);
|
|
12428
12498
|
if ($cleekOptions) {
|
|
12429
12499
|
if ($cleekOptions.imgPath)
|
|
12430
12500
|
path = $cleekOptions.imgPath;
|
|
@@ -12503,8 +12573,10 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12503
12573
|
autoSelect: { type: Boolean, default: false }
|
|
12504
12574
|
},
|
|
12505
12575
|
emits: ["update:modelValue", "click", "input", "change"],
|
|
12506
|
-
setup(__props, { emit: emits }) {
|
|
12576
|
+
setup(__props, { expose, emit: emits }) {
|
|
12507
12577
|
const props = __props;
|
|
12578
|
+
expose({ setFocus, setSelect });
|
|
12579
|
+
const realInput = ref(null);
|
|
12508
12580
|
const value = computed$2({
|
|
12509
12581
|
get() {
|
|
12510
12582
|
return props.modelValue;
|
|
@@ -12532,7 +12604,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12532
12604
|
});
|
|
12533
12605
|
const computedClassInput = computed$2(() => {
|
|
12534
12606
|
const list = [];
|
|
12535
|
-
list.push(functions
|
|
12607
|
+
list.push(functions.getGroupClass(props));
|
|
12536
12608
|
if (props.icon)
|
|
12537
12609
|
list.push("has-icon-left");
|
|
12538
12610
|
if (props.iconRight)
|
|
@@ -12543,6 +12615,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12543
12615
|
list.push("no-border");
|
|
12544
12616
|
return list;
|
|
12545
12617
|
});
|
|
12618
|
+
function setFocus() {
|
|
12619
|
+
realInput.value.focus();
|
|
12620
|
+
}
|
|
12621
|
+
function setSelect() {
|
|
12622
|
+
realInput.value.select();
|
|
12623
|
+
}
|
|
12546
12624
|
return (_ctx, _cache) => {
|
|
12547
12625
|
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
12548
12626
|
__props.label ? (openBlock(), createBlock(ckLabel, {
|
|
@@ -12563,6 +12641,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12563
12641
|
"icon-pack": __props.iconPack
|
|
12564
12642
|
}, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
|
|
12565
12643
|
withDirectives(createElementVNode("input", {
|
|
12644
|
+
ref_key: "realInput",
|
|
12645
|
+
ref: realInput,
|
|
12566
12646
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef$1(value) ? value.value = $event : null),
|
|
12567
12647
|
type: __props.type,
|
|
12568
12648
|
placeholder: __props.placeholder,
|
|
@@ -12587,7 +12667,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
12587
12667
|
};
|
|
12588
12668
|
}
|
|
12589
12669
|
});
|
|
12590
|
-
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
12670
|
+
var ckInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-19dca096"]]);
|
|
12591
12671
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
12592
12672
|
const _hoisted_1$c = {
|
|
12593
12673
|
key: 0,
|
|
@@ -12657,10 +12737,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
12657
12737
|
}, [
|
|
12658
12738
|
createElementVNode("div", _hoisted_3$4, [
|
|
12659
12739
|
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
12660
|
-
renderSlot(_ctx.$slots, "header"
|
|
12740
|
+
renderSlot(_ctx.$slots, "header"),
|
|
12661
12741
|
!__props.notCloseBtn ? (openBlock(), createBlock(ckIcon, {
|
|
12662
12742
|
key: 1,
|
|
12663
|
-
class: "
|
|
12743
|
+
class: "close",
|
|
12664
12744
|
icon: "times",
|
|
12665
12745
|
onClick: _cache[0] || (_cache[0] = ($event) => isActive.value = false)
|
|
12666
12746
|
})) : createCommentVNode("", true)
|
|
@@ -13091,7 +13171,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
13091
13171
|
});
|
|
13092
13172
|
const computedClass = computed$2(() => {
|
|
13093
13173
|
const classList2 = [];
|
|
13094
|
-
classList2.push(functions
|
|
13174
|
+
classList2.push(functions.getGroupClass(props));
|
|
13095
13175
|
return classList2;
|
|
13096
13176
|
});
|
|
13097
13177
|
const computedStyle = computed$2(() => {
|
|
@@ -13325,7 +13405,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
13325
13405
|
});
|
|
13326
13406
|
const computedClass = computed$2(() => {
|
|
13327
13407
|
const classList2 = [];
|
|
13328
|
-
classList2.push(functions
|
|
13408
|
+
classList2.push(functions.getGroupClass(props));
|
|
13329
13409
|
return classList2;
|
|
13330
13410
|
});
|
|
13331
13411
|
const computedItemStyle = computed$2(() => {
|
|
@@ -13685,7 +13765,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
13685
13765
|
list.push({
|
|
13686
13766
|
name: col.name,
|
|
13687
13767
|
title: col.title,
|
|
13688
|
-
value: functions
|
|
13768
|
+
value: functions.isColumnDisplayed(col)
|
|
13689
13769
|
});
|
|
13690
13770
|
}
|
|
13691
13771
|
});
|
|
@@ -13771,7 +13851,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13771
13851
|
return arr;
|
|
13772
13852
|
});
|
|
13773
13853
|
const filteredColumnsList = computed$2(() => {
|
|
13774
|
-
return columnsArray.value.filter(functions
|
|
13854
|
+
return columnsArray.value.filter(functions.isColumnDisplayed);
|
|
13775
13855
|
});
|
|
13776
13856
|
const searchLocal = computed$2({
|
|
13777
13857
|
get() {
|
|
@@ -13925,7 +14005,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
13925
14005
|
const isColumnDisplayed = computed$2(() => {
|
|
13926
14006
|
if (!props.col)
|
|
13927
14007
|
return true;
|
|
13928
|
-
return functions
|
|
14008
|
+
return functions.isColumnDisplayed(props.col);
|
|
13929
14009
|
});
|
|
13930
14010
|
return (_ctx, _cache) => {
|
|
13931
14011
|
return unref$1(isColumnDisplayed) ? (openBlock(), createElementBlock("td", {
|
|
@@ -16585,6 +16665,7 @@ var components = /* @__PURE__ */ Object.freeze({
|
|
|
16585
16665
|
[Symbol.toStringTag]: "Module",
|
|
16586
16666
|
ckDropdown,
|
|
16587
16667
|
ckNavbar,
|
|
16668
|
+
ckNotify,
|
|
16588
16669
|
ckButton,
|
|
16589
16670
|
ckCheckbox,
|
|
16590
16671
|
ckChip,
|
|
@@ -16639,4 +16720,4 @@ const install = function installCleek(app, options) {
|
|
|
16639
16720
|
app.component(componentName, component);
|
|
16640
16721
|
});
|
|
16641
16722
|
};
|
|
16642
|
-
export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, ckNavbar, _sfc_main$e as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
|
|
16723
|
+
export { events as EVENTS, mitt as EventBus, ckButton, ckCheckbox, ckChip, ckDropdown, ckIcon, ckImg, ckInput, ckLabel, ckNavbar, ckNotify, _sfc_main$e as ckPopup, ckRadio, ckSelect, ckSwitch, ckSwitchOptions, ckTable, ckTd, ckTextarea, ckTh, ckTooltip, ckTr, install as default, lockScroll, unlockScroll };
|