cleek 2.7.1 → 2.7.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 +127 -61
- package/dist/cleek.umd.js +33 -33
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -81624,7 +81624,7 @@ const _hoisted_2$e = {
|
|
|
81624
81624
|
key: 0,
|
|
81625
81625
|
class: "pl-1"
|
|
81626
81626
|
};
|
|
81627
|
-
const _sfc_main$
|
|
81627
|
+
const _sfc_main$y = defineComponent$2({
|
|
81628
81628
|
__name: "ck-datetime-shower",
|
|
81629
81629
|
props: {
|
|
81630
81630
|
datetime: {},
|
|
@@ -81671,12 +81671,12 @@ const _sfc_main$x = defineComponent$2({
|
|
|
81671
81671
|
};
|
|
81672
81672
|
}
|
|
81673
81673
|
});
|
|
81674
|
-
var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81674
|
+
var ckDatetimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-4dcd4d84"]]);
|
|
81675
81675
|
var ckTimeShower_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81676
81676
|
const _withScopeId$5 = (n2) => (pushScopeId$2("data-v-4d15db47"), n2 = n2(), popScopeId$2(), n2);
|
|
81677
81677
|
const _hoisted_1$o = { class: "ck-time-shower" };
|
|
81678
81678
|
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("span", { class: "hs-text" }, " hs ", -1));
|
|
81679
|
-
const _sfc_main$
|
|
81679
|
+
const _sfc_main$x = defineComponent$2({
|
|
81680
81680
|
__name: "ck-time-shower",
|
|
81681
81681
|
props: {
|
|
81682
81682
|
time: {},
|
|
@@ -81695,7 +81695,7 @@ const _sfc_main$w = defineComponent$2({
|
|
|
81695
81695
|
};
|
|
81696
81696
|
}
|
|
81697
81697
|
});
|
|
81698
|
-
var ckTimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81698
|
+
var ckTimeShower = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4d15db47"]]);
|
|
81699
81699
|
var hooks9 = {
|
|
81700
81700
|
getCleekOptions(getCurrentInstance2) {
|
|
81701
81701
|
return getCurrentInstance2().appContext.app.config.globalProperties.$cleekOptions;
|
|
@@ -81771,7 +81771,7 @@ var hooks9 = {
|
|
|
81771
81771
|
};
|
|
81772
81772
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81773
81773
|
const _hoisted_1$n = { class: "ck-dropdown__popper-container" };
|
|
81774
|
-
const _sfc_main$
|
|
81774
|
+
const _sfc_main$w = defineComponent$2({
|
|
81775
81775
|
__name: "ck-dropdown",
|
|
81776
81776
|
props: {
|
|
81777
81777
|
dark: { type: Boolean },
|
|
@@ -81842,10 +81842,10 @@ const _sfc_main$v = defineComponent$2({
|
|
|
81842
81842
|
};
|
|
81843
81843
|
}
|
|
81844
81844
|
});
|
|
81845
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81845
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-29d5acfa"]]);
|
|
81846
81846
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81847
81847
|
const defaultPosition = "fixed";
|
|
81848
|
-
const _sfc_main$
|
|
81848
|
+
const _sfc_main$v = defineComponent$2({
|
|
81849
81849
|
__name: "ck-navbar",
|
|
81850
81850
|
props: {
|
|
81851
81851
|
backgroundColor: {},
|
|
@@ -81900,7 +81900,7 @@ const _sfc_main$u = defineComponent$2({
|
|
|
81900
81900
|
};
|
|
81901
81901
|
}
|
|
81902
81902
|
});
|
|
81903
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81903
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-14db8333"]]);
|
|
81904
81904
|
function ownKeys(object, enumerableOnly) {
|
|
81905
81905
|
var keys = Object.keys(object);
|
|
81906
81906
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -82442,7 +82442,7 @@ defineComponent$2({
|
|
|
82442
82442
|
}
|
|
82443
82443
|
});
|
|
82444
82444
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82445
|
-
const _sfc_main$
|
|
82445
|
+
const _sfc_main$u = defineComponent$2({
|
|
82446
82446
|
__name: "ck-icon",
|
|
82447
82447
|
props: {
|
|
82448
82448
|
icon: {},
|
|
@@ -82528,18 +82528,18 @@ const _sfc_main$t = defineComponent$2({
|
|
|
82528
82528
|
};
|
|
82529
82529
|
}
|
|
82530
82530
|
});
|
|
82531
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82531
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-30ba25e5"]]);
|
|
82532
82532
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82533
|
-
const _sfc_main$
|
|
82533
|
+
const _sfc_main$t = {};
|
|
82534
82534
|
const _hoisted_1$m = { class: "ck-tr" };
|
|
82535
82535
|
function _sfc_render(_ctx, _cache) {
|
|
82536
82536
|
return openBlock$2(), createElementBlock$2("tr", _hoisted_1$m, [
|
|
82537
82537
|
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
82538
82538
|
]);
|
|
82539
82539
|
}
|
|
82540
|
-
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82540
|
+
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render], ["__scopeId", "data-v-797c49c2"]]);
|
|
82541
82541
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82542
|
-
const _sfc_main$
|
|
82542
|
+
const _sfc_main$s = defineComponent$2({
|
|
82543
82543
|
__name: "ck-td",
|
|
82544
82544
|
props: {
|
|
82545
82545
|
col: {},
|
|
@@ -82625,11 +82625,11 @@ const _sfc_main$r = defineComponent$2({
|
|
|
82625
82625
|
};
|
|
82626
82626
|
}
|
|
82627
82627
|
});
|
|
82628
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82628
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-90fa19a8"]]);
|
|
82629
82629
|
var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82630
82630
|
const _hoisted_1$l = { class: "ck-th" };
|
|
82631
82631
|
const defaultAlign$1 = "left";
|
|
82632
|
-
const _sfc_main$
|
|
82632
|
+
const _sfc_main$r = defineComponent$2({
|
|
82633
82633
|
__name: "ck-th",
|
|
82634
82634
|
props: {
|
|
82635
82635
|
align: {},
|
|
@@ -82674,8 +82674,8 @@ const _sfc_main$q = defineComponent$2({
|
|
|
82674
82674
|
};
|
|
82675
82675
|
}
|
|
82676
82676
|
});
|
|
82677
|
-
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82678
|
-
const _sfc_main$
|
|
82677
|
+
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-42ada082"]]);
|
|
82678
|
+
const _sfc_main$q = defineComponent$2({
|
|
82679
82679
|
__name: "ck-table__title",
|
|
82680
82680
|
props: {
|
|
82681
82681
|
col: {},
|
|
@@ -82720,9 +82720,9 @@ var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
82720
82720
|
const _hoisted_1$k = ["title", "aria-label", "disabled"];
|
|
82721
82721
|
const defaultBackgroundColor = "transparent";
|
|
82722
82722
|
const defaultButtonType = "outlined";
|
|
82723
|
-
const defaultColor$
|
|
82723
|
+
const defaultColor$2 = "primary";
|
|
82724
82724
|
const defaultAlign = "left";
|
|
82725
|
-
const _sfc_main$
|
|
82725
|
+
const _sfc_main$p = defineComponent$2({
|
|
82726
82726
|
__name: "ck-button",
|
|
82727
82727
|
props: {
|
|
82728
82728
|
title: {},
|
|
@@ -82767,8 +82767,8 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82767
82767
|
var _a;
|
|
82768
82768
|
const list = [];
|
|
82769
82769
|
list.push(hooks9.getGroupClass(props, windowWidth.value));
|
|
82770
|
-
const color = props.color || defaultColor$
|
|
82771
|
-
if (color !== defaultColor$
|
|
82770
|
+
const color = props.color || defaultColor$2;
|
|
82771
|
+
if (color !== defaultColor$2) {
|
|
82772
82772
|
if (realButtonType.value === "filled") {
|
|
82773
82773
|
list.push(`ck-component__bg-color--${props.color}`);
|
|
82774
82774
|
} else {
|
|
@@ -82851,11 +82851,11 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82851
82851
|
};
|
|
82852
82852
|
}
|
|
82853
82853
|
});
|
|
82854
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82854
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-269ef4f6"]]);
|
|
82855
82855
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82856
82856
|
const _hoisted_1$j = ["for"];
|
|
82857
82857
|
const defaultSize$2 = "m";
|
|
82858
|
-
const _sfc_main$
|
|
82858
|
+
const _sfc_main$o = defineComponent$2({
|
|
82859
82859
|
__name: "ck-label",
|
|
82860
82860
|
props: {
|
|
82861
82861
|
for: {},
|
|
@@ -82903,13 +82903,13 @@ const _sfc_main$n = defineComponent$2({
|
|
|
82903
82903
|
};
|
|
82904
82904
|
}
|
|
82905
82905
|
});
|
|
82906
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82906
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3eb67ac4"]]);
|
|
82907
82907
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82908
82908
|
const _hoisted_1$i = ["autocomplete", "placeholder", "disabled"];
|
|
82909
82909
|
const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
|
|
82910
82910
|
const defaultType = "text";
|
|
82911
|
-
const defaultDelayChangeTime = 300;
|
|
82912
|
-
const _sfc_main$
|
|
82911
|
+
const defaultDelayChangeTime$1 = 300;
|
|
82912
|
+
const _sfc_main$n = defineComponent$2({
|
|
82913
82913
|
__name: "ck-input",
|
|
82914
82914
|
props: {
|
|
82915
82915
|
modelValue: {},
|
|
@@ -83051,10 +83051,9 @@ const _sfc_main$m = defineComponent$2({
|
|
|
83051
83051
|
}
|
|
83052
83052
|
function checkSearchTime(oldValue) {
|
|
83053
83053
|
setTimeout(() => {
|
|
83054
|
-
if (value.value === oldValue)
|
|
83054
|
+
if (value.value === oldValue)
|
|
83055
83055
|
emits("delayChange", oldValue);
|
|
83056
|
-
|
|
83057
|
-
}, props.delayChangeTime || defaultDelayChangeTime);
|
|
83056
|
+
}, props.delayChangeTime || defaultDelayChangeTime$1);
|
|
83058
83057
|
}
|
|
83059
83058
|
onMounted$1(() => {
|
|
83060
83059
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
@@ -83143,9 +83142,9 @@ const _sfc_main$m = defineComponent$2({
|
|
|
83143
83142
|
};
|
|
83144
83143
|
}
|
|
83145
83144
|
});
|
|
83146
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83145
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-4fa8d186"]]);
|
|
83147
83146
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83148
|
-
const _sfc_main$
|
|
83147
|
+
const _sfc_main$m = defineComponent$2({
|
|
83149
83148
|
__name: "ck-table__header-items",
|
|
83150
83149
|
props: {
|
|
83151
83150
|
search: {},
|
|
@@ -83268,7 +83267,7 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83268
83267
|
};
|
|
83269
83268
|
}
|
|
83270
83269
|
});
|
|
83271
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83270
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1af5a21d"]]);
|
|
83272
83271
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83273
83272
|
const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-27c654d0"), n2 = n2(), popScopeId$2(), n2);
|
|
83274
83273
|
const _hoisted_1$h = { class: "ck-table__pagination" };
|
|
@@ -83278,7 +83277,7 @@ const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
|
|
|
83278
83277
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
83279
83278
|
const _hoisted_6$2 = ["onClick"];
|
|
83280
83279
|
const itemsShowed = 5;
|
|
83281
|
-
const _sfc_main$
|
|
83280
|
+
const _sfc_main$l = defineComponent$2({
|
|
83282
83281
|
__name: "ck-table__pagination",
|
|
83283
83282
|
props: {
|
|
83284
83283
|
currentPage: {},
|
|
@@ -83427,7 +83426,7 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83427
83426
|
};
|
|
83428
83427
|
}
|
|
83429
83428
|
});
|
|
83430
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83429
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-27c654d0"]]);
|
|
83431
83430
|
const NOOP = () => {
|
|
83432
83431
|
};
|
|
83433
83432
|
const NO = () => false;
|
|
@@ -83690,7 +83689,7 @@ const _hoisted_3$8 = {
|
|
|
83690
83689
|
key: 0,
|
|
83691
83690
|
class: "c-Checkbox__label"
|
|
83692
83691
|
};
|
|
83693
|
-
const _sfc_main$
|
|
83692
|
+
const _sfc_main$k = defineComponent$2({
|
|
83694
83693
|
__name: "ck-checkbox",
|
|
83695
83694
|
props: {
|
|
83696
83695
|
modelValue: { type: Boolean },
|
|
@@ -83749,7 +83748,7 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83749
83748
|
};
|
|
83750
83749
|
}
|
|
83751
83750
|
});
|
|
83752
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83751
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1fffee96"]]);
|
|
83753
83752
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
83754
83753
|
const _hoisted_1$f = { class: "ck-popup" };
|
|
83755
83754
|
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
@@ -83765,7 +83764,7 @@ const _hoisted_5$2 = {
|
|
|
83765
83764
|
key: 0,
|
|
83766
83765
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
83767
83766
|
};
|
|
83768
|
-
const _sfc_main$
|
|
83767
|
+
const _sfc_main$j = defineComponent$2({
|
|
83769
83768
|
__name: "ck-popup",
|
|
83770
83769
|
props: {
|
|
83771
83770
|
modelValue: { type: Boolean },
|
|
@@ -84022,7 +84021,7 @@ const _sfc_main$i = defineComponent$2({
|
|
|
84022
84021
|
});
|
|
84023
84022
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
84024
84023
|
const _hoisted_1$e = { class: "columns-manger-container" };
|
|
84025
|
-
const _sfc_main$
|
|
84024
|
+
const _sfc_main$i = defineComponent$2({
|
|
84026
84025
|
__name: "ck-table__columns-manager",
|
|
84027
84026
|
props: {
|
|
84028
84027
|
modelValue: { type: Boolean },
|
|
@@ -84074,7 +84073,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84074
84073
|
props.columns[colName].isDisplayed = value;
|
|
84075
84074
|
}
|
|
84076
84075
|
return (_ctx, _cache) => {
|
|
84077
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84076
|
+
return openBlock$2(), createBlock$2(_sfc_main$j, {
|
|
84078
84077
|
modelValue: isActive.value,
|
|
84079
84078
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
84080
84079
|
title: "Administrador de columnas"
|
|
@@ -84105,7 +84104,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84105
84104
|
};
|
|
84106
84105
|
}
|
|
84107
84106
|
});
|
|
84108
|
-
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84107
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-4ef6b518"]]);
|
|
84109
84108
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
84110
84109
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
84111
84110
|
const _hoisted_1$d = { class: "ck-table" };
|
|
@@ -84125,7 +84124,7 @@ const _hoisted_6$1 = {
|
|
|
84125
84124
|
};
|
|
84126
84125
|
const defaultTableVersion = "default";
|
|
84127
84126
|
const defaultItemsPerPage = 40;
|
|
84128
|
-
const _sfc_main$
|
|
84127
|
+
const _sfc_main$h = defineComponent$2({
|
|
84129
84128
|
__name: "ck-table",
|
|
84130
84129
|
props: {
|
|
84131
84130
|
columns: {},
|
|
@@ -84321,7 +84320,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84321
84320
|
createVNode$2(CkTr, { class: "header-row" }, {
|
|
84322
84321
|
default: withCtx$2(() => [
|
|
84323
84322
|
(openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(filteredColumnsList.value, (col) => {
|
|
84324
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84323
|
+
return openBlock$2(), createBlock$2(_sfc_main$q, {
|
|
84325
84324
|
key: col.title,
|
|
84326
84325
|
col,
|
|
84327
84326
|
textColor: realHeaderTextColor.value,
|
|
@@ -84393,9 +84392,9 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84393
84392
|
};
|
|
84394
84393
|
}
|
|
84395
84394
|
});
|
|
84396
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84395
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-d9e82628"]]);
|
|
84397
84396
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
84398
|
-
const _sfc_main$
|
|
84397
|
+
const _sfc_main$g = defineComponent$2({
|
|
84399
84398
|
__name: "ck-pagination",
|
|
84400
84399
|
props: {
|
|
84401
84400
|
modelValue: {},
|
|
@@ -89542,7 +89541,7 @@ function Dt(e4, t4, r, l, o, p2) {
|
|
|
89542
89541
|
const Lt = /* @__PURE__ */ T4(vt, [["render", Dt]]);
|
|
89543
89542
|
var ckInputDate_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89544
89543
|
const _hoisted_1$c = ["id"];
|
|
89545
|
-
const _sfc_main$
|
|
89544
|
+
const _sfc_main$f = defineComponent$2({
|
|
89546
89545
|
__name: "ck-input-date",
|
|
89547
89546
|
props: {
|
|
89548
89547
|
modelValue: {},
|
|
@@ -89704,8 +89703,8 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89704
89703
|
};
|
|
89705
89704
|
}
|
|
89706
89705
|
});
|
|
89707
|
-
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89708
|
-
const _sfc_main$
|
|
89706
|
+
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-265621ef"]]);
|
|
89707
|
+
const _sfc_main$e = defineComponent$2({
|
|
89709
89708
|
__name: "ck-input-time",
|
|
89710
89709
|
props: {
|
|
89711
89710
|
modelValue: {},
|
|
@@ -89755,7 +89754,7 @@ const _hoisted_4$4 = {
|
|
|
89755
89754
|
key: 0,
|
|
89756
89755
|
class: "ck-card__header-subtitle"
|
|
89757
89756
|
};
|
|
89758
|
-
const _sfc_main$
|
|
89757
|
+
const _sfc_main$d = defineComponent$2({
|
|
89759
89758
|
__name: "ck-card",
|
|
89760
89759
|
props: {
|
|
89761
89760
|
modelValue: { type: Boolean },
|
|
@@ -89827,12 +89826,13 @@ const _sfc_main$c = defineComponent$2({
|
|
|
89827
89826
|
};
|
|
89828
89827
|
}
|
|
89829
89828
|
});
|
|
89830
|
-
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89829
|
+
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4bbb9206"]]);
|
|
89831
89830
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89832
89831
|
const _hoisted_1$a = ["color"];
|
|
89833
|
-
const
|
|
89832
|
+
const defaultTextColor$1 = "white";
|
|
89833
|
+
const defaultColor$1 = "primary";
|
|
89834
89834
|
const defaultSize$1 = "s";
|
|
89835
|
-
const _sfc_main$
|
|
89835
|
+
const _sfc_main$c = defineComponent$2({
|
|
89836
89836
|
__name: "ck-chip",
|
|
89837
89837
|
props: {
|
|
89838
89838
|
size: {},
|
|
@@ -89850,7 +89850,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89850
89850
|
const computedClass = computed$3(() => {
|
|
89851
89851
|
const list = [];
|
|
89852
89852
|
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
89853
|
-
list.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
89853
|
+
list.push(`ck-component__bg-color--${props.color || defaultColor$1}`);
|
|
89854
89854
|
}
|
|
89855
89855
|
list.push(`size-${props.size || defaultSize$1}`);
|
|
89856
89856
|
if (props.align)
|
|
@@ -89863,7 +89863,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89863
89863
|
const list = [];
|
|
89864
89864
|
if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
|
|
89865
89865
|
list.push({ backgroundColor: props.color });
|
|
89866
|
-
list.push({ color: props.textColor ||
|
|
89866
|
+
list.push({ color: props.textColor || defaultTextColor$1 });
|
|
89867
89867
|
}
|
|
89868
89868
|
return list;
|
|
89869
89869
|
});
|
|
@@ -89893,7 +89893,63 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89893
89893
|
};
|
|
89894
89894
|
}
|
|
89895
89895
|
});
|
|
89896
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89896
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7b885851"]]);
|
|
89897
|
+
var ckCircle_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89898
|
+
const defaultColor = "primary";
|
|
89899
|
+
const defaulSize = "m";
|
|
89900
|
+
const defaultTextColor = "white";
|
|
89901
|
+
const _sfc_main$b = defineComponent$2({
|
|
89902
|
+
__name: "ck-circle",
|
|
89903
|
+
props: {
|
|
89904
|
+
size: {},
|
|
89905
|
+
sizeInPx: {},
|
|
89906
|
+
color: {},
|
|
89907
|
+
textColor: {},
|
|
89908
|
+
icon: {},
|
|
89909
|
+
iconPack: {}
|
|
89910
|
+
},
|
|
89911
|
+
emits: ["click"],
|
|
89912
|
+
setup(__props, { emit: emits }) {
|
|
89913
|
+
const props = __props;
|
|
89914
|
+
const computedClass = computed$3(() => {
|
|
89915
|
+
const classes = [];
|
|
89916
|
+
let size2 = props.size;
|
|
89917
|
+
if (props.size !== "s" && props.size !== "l" && props.size !== "xs")
|
|
89918
|
+
size2 = defaulSize;
|
|
89919
|
+
classes.push(`ck-circle__size-${size2}`);
|
|
89920
|
+
classes.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
89921
|
+
return classes;
|
|
89922
|
+
});
|
|
89923
|
+
const computedStyle = computed$3(() => {
|
|
89924
|
+
const styles2 = [];
|
|
89925
|
+
if (props.sizeInPx) {
|
|
89926
|
+
styles2.push({ height: props.sizeInPx });
|
|
89927
|
+
styles2.push({ width: props.sizeInPx });
|
|
89928
|
+
}
|
|
89929
|
+
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
89930
|
+
styles2.push({ backgroundColor: props.color });
|
|
89931
|
+
styles2.push({ color: props.textColor || defaultTextColor });
|
|
89932
|
+
}
|
|
89933
|
+
return styles2;
|
|
89934
|
+
});
|
|
89935
|
+
return (_ctx, _cache) => {
|
|
89936
|
+
const _component_ck_icon = resolveComponent$2("ck-icon");
|
|
89937
|
+
return openBlock$2(), createElementBlock$2("div", {
|
|
89938
|
+
class: normalizeClass$2(["om-circle", computedClass.value]),
|
|
89939
|
+
style: normalizeStyle$2(computedStyle.value),
|
|
89940
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
|
|
89941
|
+
}, [
|
|
89942
|
+
_ctx.icon ? (openBlock$2(), createBlock$2(_component_ck_icon, {
|
|
89943
|
+
key: 0,
|
|
89944
|
+
icon: _ctx.icon,
|
|
89945
|
+
iconPack: _ctx.iconPack
|
|
89946
|
+
}, null, 8, ["icon", "iconPack"])) : createCommentVNode$2("", true),
|
|
89947
|
+
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
89948
|
+
], 6);
|
|
89949
|
+
};
|
|
89950
|
+
}
|
|
89951
|
+
});
|
|
89952
|
+
var ckCircle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-5bcee254"]]);
|
|
89897
89953
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
89898
89954
|
const _sfc_main$a = defineComponent$2({
|
|
89899
89955
|
__name: "ck-div",
|
|
@@ -90758,6 +90814,7 @@ var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "d
|
|
|
90758
90814
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90759
90815
|
const _hoisted_1$3 = { class: "ck-textarea" };
|
|
90760
90816
|
const _hoisted_2$2 = ["placeholder", "disabled"];
|
|
90817
|
+
const defaultDelayChangeTime = 300;
|
|
90761
90818
|
const _sfc_main$3 = defineComponent$2({
|
|
90762
90819
|
__name: "ck-textarea",
|
|
90763
90820
|
props: {
|
|
@@ -90777,10 +90834,11 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90777
90834
|
height: {},
|
|
90778
90835
|
capitalize: { type: Boolean },
|
|
90779
90836
|
autoSelect: { type: Boolean },
|
|
90837
|
+
delayChangeTime: {},
|
|
90780
90838
|
label: {},
|
|
90781
90839
|
labelAlign: {}
|
|
90782
90840
|
},
|
|
90783
|
-
emits: ["update:modelValue", "input", "change", "click"],
|
|
90841
|
+
emits: ["update:modelValue", "input", "change", "click", "delayChange"],
|
|
90784
90842
|
setup(__props, { emit: emits }) {
|
|
90785
90843
|
const props = __props;
|
|
90786
90844
|
let cleekOptions2 = ref$1();
|
|
@@ -90794,6 +90852,7 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90794
90852
|
if (props.capitalize)
|
|
90795
90853
|
val = qmStr.capitalize(val);
|
|
90796
90854
|
emits("update:modelValue", val);
|
|
90855
|
+
checkSearchTime(val);
|
|
90797
90856
|
}
|
|
90798
90857
|
});
|
|
90799
90858
|
const computedClassTextarea = computed$3(() => {
|
|
@@ -90845,6 +90904,12 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90845
90904
|
const onChange2 = (event) => {
|
|
90846
90905
|
emits("change", event);
|
|
90847
90906
|
};
|
|
90907
|
+
function checkSearchTime(oldValue) {
|
|
90908
|
+
setTimeout(() => {
|
|
90909
|
+
if (inputValue.value === oldValue)
|
|
90910
|
+
emits("delayChange", oldValue);
|
|
90911
|
+
}, props.delayChangeTime || defaultDelayChangeTime);
|
|
90912
|
+
}
|
|
90848
90913
|
onMounted$1(() => {
|
|
90849
90914
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
90850
90915
|
});
|
|
@@ -90877,7 +90942,7 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90877
90942
|
};
|
|
90878
90943
|
}
|
|
90879
90944
|
});
|
|
90880
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
90945
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-62b15b6a"]]);
|
|
90881
90946
|
var _imports_0 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSI2NC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KCTxnPg0KCQk8Zz4NCgkJCTxyZWN0IHg9IjQ1IiB5PSIyNC45IiBjbGFzcz0ic3QwIiB3aWR0aD0iMTAiIGhlaWdodD0iMzAuMiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPHBhdGggY2xhc3M9InN0MCIgZD0iTTY5LjIsMTYuN0w4OC41LDUwTDY5LjIsODMuM0gzMC44TDExLjUsNTBsMTkuMi0zMy4zSDY5LjIgTTc1LDYuN0gyNUwwLDUwbDI1LDQzLjNoNTBMMTAwLDUwTDc1LDYuN0w3NSw2Ljd6Ig0KCS8+DQo8L3N2Zz4NCg==";
|
|
90882
90947
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90883
90948
|
const _withScopeId = (n2) => (pushScopeId$2("data-v-d915ebb8"), n2 = n2(), popScopeId$2(), n2);
|
|
@@ -90970,7 +91035,7 @@ const _sfc_main$1 = defineComponent$2({
|
|
|
90970
91035
|
});
|
|
90971
91036
|
return (_ctx, _cache) => {
|
|
90972
91037
|
return openBlock$2(), createBlock$2(Teleport$1, { to: "body" }, [
|
|
90973
|
-
createVNode$2(_sfc_main$
|
|
91038
|
+
createVNode$2(_sfc_main$j, {
|
|
90974
91039
|
modelValue: isActive.value,
|
|
90975
91040
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
90976
91041
|
acceptButton: "",
|
|
@@ -91160,22 +91225,23 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
91160
91225
|
CkDropdown: ckDropdown,
|
|
91161
91226
|
CkNavbar: ckNavbar,
|
|
91162
91227
|
CkTable: ckTable,
|
|
91163
|
-
CkPagination: _sfc_main$
|
|
91228
|
+
CkPagination: _sfc_main$g,
|
|
91164
91229
|
CkTd,
|
|
91165
91230
|
CkTh,
|
|
91166
91231
|
CkTr,
|
|
91167
91232
|
CkInputDate: ckInputDate,
|
|
91168
|
-
CkInputTime: _sfc_main$
|
|
91233
|
+
CkInputTime: _sfc_main$e,
|
|
91169
91234
|
CkButton,
|
|
91170
91235
|
CkCard: ckCard,
|
|
91171
91236
|
CkCheckbox,
|
|
91172
91237
|
CkChip: ckChip,
|
|
91238
|
+
CkCircle: ckCircle,
|
|
91173
91239
|
CkDiv: _sfc_main$a,
|
|
91174
91240
|
CkIcon,
|
|
91175
91241
|
CkImg: ckImg,
|
|
91176
91242
|
CkInput,
|
|
91177
91243
|
CkLabel,
|
|
91178
|
-
CkPopup: _sfc_main$
|
|
91244
|
+
CkPopup: _sfc_main$j,
|
|
91179
91245
|
CkRadio: ckRadio,
|
|
91180
91246
|
CkSelect: ckSelect,
|
|
91181
91247
|
CkSidebar: ckSidebar,
|
|
@@ -91229,4 +91295,4 @@ const install3 = function installCleek(app, options) {
|
|
|
91229
91295
|
app.component(componentName, component);
|
|
91230
91296
|
});
|
|
91231
91297
|
};
|
|
91232
|
-
export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$
|
|
91298
|
+
export { CkButton, ckCard as CkCard, CkCheckbox, ckChip as CkChip, ckCircle as CkCircle, ckDatetimeShower as CkDatetimeShower, _sfc_main$a as CkDiv, ckDropdown as CkDropdown, CkIcon, ckImg as CkImg, CkInput, ckInputDate as CkInputDate, _sfc_main$e as CkInputTime, CkLabel, ckNavbar as CkNavbar, _sfc_main$g as CkPagination, _sfc_main$j as CkPopup, ckRadio as CkRadio, ckSelect as CkSelect, ckSidebar as CkSidebar, ckSwitch as CkSwitch, ckSwitchOptions as CkSwitchOptions, ckTable as CkTable, CkTd, ckTextarea as CkTextarea, CkTh, ckTimeShower as CkTimeShower, CkTr, ckNotify, install3 as default, useWindowWidth };
|