cleek 2.7.1 → 2.7.2
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 +113 -55
- 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
82911
|
const defaultDelayChangeTime = 300;
|
|
82912
|
-
const _sfc_main$
|
|
82912
|
+
const _sfc_main$n = defineComponent$2({
|
|
82913
82913
|
__name: "ck-input",
|
|
82914
82914
|
props: {
|
|
82915
82915
|
modelValue: {},
|
|
@@ -83143,9 +83143,9 @@ const _sfc_main$m = defineComponent$2({
|
|
|
83143
83143
|
};
|
|
83144
83144
|
}
|
|
83145
83145
|
});
|
|
83146
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83146
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-8e1a7a6a"]]);
|
|
83147
83147
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83148
|
-
const _sfc_main$
|
|
83148
|
+
const _sfc_main$m = defineComponent$2({
|
|
83149
83149
|
__name: "ck-table__header-items",
|
|
83150
83150
|
props: {
|
|
83151
83151
|
search: {},
|
|
@@ -83268,7 +83268,7 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83268
83268
|
};
|
|
83269
83269
|
}
|
|
83270
83270
|
});
|
|
83271
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83271
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1af5a21d"]]);
|
|
83272
83272
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83273
83273
|
const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-27c654d0"), n2 = n2(), popScopeId$2(), n2);
|
|
83274
83274
|
const _hoisted_1$h = { class: "ck-table__pagination" };
|
|
@@ -83278,7 +83278,7 @@ const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
|
|
|
83278
83278
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
83279
83279
|
const _hoisted_6$2 = ["onClick"];
|
|
83280
83280
|
const itemsShowed = 5;
|
|
83281
|
-
const _sfc_main$
|
|
83281
|
+
const _sfc_main$l = defineComponent$2({
|
|
83282
83282
|
__name: "ck-table__pagination",
|
|
83283
83283
|
props: {
|
|
83284
83284
|
currentPage: {},
|
|
@@ -83427,7 +83427,7 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83427
83427
|
};
|
|
83428
83428
|
}
|
|
83429
83429
|
});
|
|
83430
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83430
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-27c654d0"]]);
|
|
83431
83431
|
const NOOP = () => {
|
|
83432
83432
|
};
|
|
83433
83433
|
const NO = () => false;
|
|
@@ -83690,7 +83690,7 @@ const _hoisted_3$8 = {
|
|
|
83690
83690
|
key: 0,
|
|
83691
83691
|
class: "c-Checkbox__label"
|
|
83692
83692
|
};
|
|
83693
|
-
const _sfc_main$
|
|
83693
|
+
const _sfc_main$k = defineComponent$2({
|
|
83694
83694
|
__name: "ck-checkbox",
|
|
83695
83695
|
props: {
|
|
83696
83696
|
modelValue: { type: Boolean },
|
|
@@ -83749,7 +83749,7 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83749
83749
|
};
|
|
83750
83750
|
}
|
|
83751
83751
|
});
|
|
83752
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83752
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1fffee96"]]);
|
|
83753
83753
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
83754
83754
|
const _hoisted_1$f = { class: "ck-popup" };
|
|
83755
83755
|
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
@@ -83765,7 +83765,7 @@ const _hoisted_5$2 = {
|
|
|
83765
83765
|
key: 0,
|
|
83766
83766
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
83767
83767
|
};
|
|
83768
|
-
const _sfc_main$
|
|
83768
|
+
const _sfc_main$j = defineComponent$2({
|
|
83769
83769
|
__name: "ck-popup",
|
|
83770
83770
|
props: {
|
|
83771
83771
|
modelValue: { type: Boolean },
|
|
@@ -84022,7 +84022,7 @@ const _sfc_main$i = defineComponent$2({
|
|
|
84022
84022
|
});
|
|
84023
84023
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
84024
84024
|
const _hoisted_1$e = { class: "columns-manger-container" };
|
|
84025
|
-
const _sfc_main$
|
|
84025
|
+
const _sfc_main$i = defineComponent$2({
|
|
84026
84026
|
__name: "ck-table__columns-manager",
|
|
84027
84027
|
props: {
|
|
84028
84028
|
modelValue: { type: Boolean },
|
|
@@ -84074,7 +84074,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84074
84074
|
props.columns[colName].isDisplayed = value;
|
|
84075
84075
|
}
|
|
84076
84076
|
return (_ctx, _cache) => {
|
|
84077
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84077
|
+
return openBlock$2(), createBlock$2(_sfc_main$j, {
|
|
84078
84078
|
modelValue: isActive.value,
|
|
84079
84079
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
84080
84080
|
title: "Administrador de columnas"
|
|
@@ -84105,7 +84105,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84105
84105
|
};
|
|
84106
84106
|
}
|
|
84107
84107
|
});
|
|
84108
|
-
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84108
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-4ef6b518"]]);
|
|
84109
84109
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
84110
84110
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
84111
84111
|
const _hoisted_1$d = { class: "ck-table" };
|
|
@@ -84125,7 +84125,7 @@ const _hoisted_6$1 = {
|
|
|
84125
84125
|
};
|
|
84126
84126
|
const defaultTableVersion = "default";
|
|
84127
84127
|
const defaultItemsPerPage = 40;
|
|
84128
|
-
const _sfc_main$
|
|
84128
|
+
const _sfc_main$h = defineComponent$2({
|
|
84129
84129
|
__name: "ck-table",
|
|
84130
84130
|
props: {
|
|
84131
84131
|
columns: {},
|
|
@@ -84321,7 +84321,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84321
84321
|
createVNode$2(CkTr, { class: "header-row" }, {
|
|
84322
84322
|
default: withCtx$2(() => [
|
|
84323
84323
|
(openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(filteredColumnsList.value, (col) => {
|
|
84324
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84324
|
+
return openBlock$2(), createBlock$2(_sfc_main$q, {
|
|
84325
84325
|
key: col.title,
|
|
84326
84326
|
col,
|
|
84327
84327
|
textColor: realHeaderTextColor.value,
|
|
@@ -84393,9 +84393,9 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84393
84393
|
};
|
|
84394
84394
|
}
|
|
84395
84395
|
});
|
|
84396
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84396
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-d9e82628"]]);
|
|
84397
84397
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
84398
|
-
const _sfc_main$
|
|
84398
|
+
const _sfc_main$g = defineComponent$2({
|
|
84399
84399
|
__name: "ck-pagination",
|
|
84400
84400
|
props: {
|
|
84401
84401
|
modelValue: {},
|
|
@@ -89542,7 +89542,7 @@ function Dt(e4, t4, r, l, o, p2) {
|
|
|
89542
89542
|
const Lt = /* @__PURE__ */ T4(vt, [["render", Dt]]);
|
|
89543
89543
|
var ckInputDate_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89544
89544
|
const _hoisted_1$c = ["id"];
|
|
89545
|
-
const _sfc_main$
|
|
89545
|
+
const _sfc_main$f = defineComponent$2({
|
|
89546
89546
|
__name: "ck-input-date",
|
|
89547
89547
|
props: {
|
|
89548
89548
|
modelValue: {},
|
|
@@ -89704,8 +89704,8 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89704
89704
|
};
|
|
89705
89705
|
}
|
|
89706
89706
|
});
|
|
89707
|
-
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89708
|
-
const _sfc_main$
|
|
89707
|
+
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-265621ef"]]);
|
|
89708
|
+
const _sfc_main$e = defineComponent$2({
|
|
89709
89709
|
__name: "ck-input-time",
|
|
89710
89710
|
props: {
|
|
89711
89711
|
modelValue: {},
|
|
@@ -89755,7 +89755,7 @@ const _hoisted_4$4 = {
|
|
|
89755
89755
|
key: 0,
|
|
89756
89756
|
class: "ck-card__header-subtitle"
|
|
89757
89757
|
};
|
|
89758
|
-
const _sfc_main$
|
|
89758
|
+
const _sfc_main$d = defineComponent$2({
|
|
89759
89759
|
__name: "ck-card",
|
|
89760
89760
|
props: {
|
|
89761
89761
|
modelValue: { type: Boolean },
|
|
@@ -89827,12 +89827,13 @@ const _sfc_main$c = defineComponent$2({
|
|
|
89827
89827
|
};
|
|
89828
89828
|
}
|
|
89829
89829
|
});
|
|
89830
|
-
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89830
|
+
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4bbb9206"]]);
|
|
89831
89831
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89832
89832
|
const _hoisted_1$a = ["color"];
|
|
89833
|
-
const
|
|
89833
|
+
const defaultTextColor$1 = "white";
|
|
89834
|
+
const defaultColor$1 = "primary";
|
|
89834
89835
|
const defaultSize$1 = "s";
|
|
89835
|
-
const _sfc_main$
|
|
89836
|
+
const _sfc_main$c = defineComponent$2({
|
|
89836
89837
|
__name: "ck-chip",
|
|
89837
89838
|
props: {
|
|
89838
89839
|
size: {},
|
|
@@ -89850,7 +89851,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89850
89851
|
const computedClass = computed$3(() => {
|
|
89851
89852
|
const list = [];
|
|
89852
89853
|
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
89853
|
-
list.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
89854
|
+
list.push(`ck-component__bg-color--${props.color || defaultColor$1}`);
|
|
89854
89855
|
}
|
|
89855
89856
|
list.push(`size-${props.size || defaultSize$1}`);
|
|
89856
89857
|
if (props.align)
|
|
@@ -89863,7 +89864,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89863
89864
|
const list = [];
|
|
89864
89865
|
if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
|
|
89865
89866
|
list.push({ backgroundColor: props.color });
|
|
89866
|
-
list.push({ color: props.textColor ||
|
|
89867
|
+
list.push({ color: props.textColor || defaultTextColor$1 });
|
|
89867
89868
|
}
|
|
89868
89869
|
return list;
|
|
89869
89870
|
});
|
|
@@ -89893,7 +89894,63 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89893
89894
|
};
|
|
89894
89895
|
}
|
|
89895
89896
|
});
|
|
89896
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89897
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7b885851"]]);
|
|
89898
|
+
var ckCircle_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89899
|
+
const defaultColor = "primary";
|
|
89900
|
+
const defaulSize = "m";
|
|
89901
|
+
const defaultTextColor = "white";
|
|
89902
|
+
const _sfc_main$b = defineComponent$2({
|
|
89903
|
+
__name: "ck-circle",
|
|
89904
|
+
props: {
|
|
89905
|
+
size: {},
|
|
89906
|
+
sizeInPx: {},
|
|
89907
|
+
color: {},
|
|
89908
|
+
textColor: {},
|
|
89909
|
+
icon: {},
|
|
89910
|
+
iconPack: {}
|
|
89911
|
+
},
|
|
89912
|
+
emits: ["click"],
|
|
89913
|
+
setup(__props, { emit: emits }) {
|
|
89914
|
+
const props = __props;
|
|
89915
|
+
const computedClass = computed$3(() => {
|
|
89916
|
+
const classes = [];
|
|
89917
|
+
let size2 = props.size;
|
|
89918
|
+
if (props.size !== "s" && props.size !== "l" && props.size !== "xs")
|
|
89919
|
+
size2 = defaulSize;
|
|
89920
|
+
classes.push(`ck-circle__size-${size2}`);
|
|
89921
|
+
classes.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
89922
|
+
return classes;
|
|
89923
|
+
});
|
|
89924
|
+
const computedStyle = computed$3(() => {
|
|
89925
|
+
const styles2 = [];
|
|
89926
|
+
if (props.sizeInPx) {
|
|
89927
|
+
styles2.push({ height: props.sizeInPx });
|
|
89928
|
+
styles2.push({ width: props.sizeInPx });
|
|
89929
|
+
}
|
|
89930
|
+
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
89931
|
+
styles2.push({ backgroundColor: props.color });
|
|
89932
|
+
styles2.push({ color: props.textColor || defaultTextColor });
|
|
89933
|
+
}
|
|
89934
|
+
return styles2;
|
|
89935
|
+
});
|
|
89936
|
+
return (_ctx, _cache) => {
|
|
89937
|
+
const _component_ck_icon = resolveComponent$2("ck-icon");
|
|
89938
|
+
return openBlock$2(), createElementBlock$2("div", {
|
|
89939
|
+
class: normalizeClass$2(["om-circle", computedClass.value]),
|
|
89940
|
+
style: normalizeStyle$2(computedStyle.value),
|
|
89941
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
|
|
89942
|
+
}, [
|
|
89943
|
+
_ctx.icon ? (openBlock$2(), createBlock$2(_component_ck_icon, {
|
|
89944
|
+
key: 0,
|
|
89945
|
+
icon: _ctx.icon,
|
|
89946
|
+
iconPack: _ctx.iconPack
|
|
89947
|
+
}, null, 8, ["icon", "iconPack"])) : createCommentVNode$2("", true),
|
|
89948
|
+
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
89949
|
+
], 6);
|
|
89950
|
+
};
|
|
89951
|
+
}
|
|
89952
|
+
});
|
|
89953
|
+
var ckCircle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-5bcee254"]]);
|
|
89897
89954
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
89898
89955
|
const _sfc_main$a = defineComponent$2({
|
|
89899
89956
|
__name: "ck-div",
|
|
@@ -90970,7 +91027,7 @@ const _sfc_main$1 = defineComponent$2({
|
|
|
90970
91027
|
});
|
|
90971
91028
|
return (_ctx, _cache) => {
|
|
90972
91029
|
return openBlock$2(), createBlock$2(Teleport$1, { to: "body" }, [
|
|
90973
|
-
createVNode$2(_sfc_main$
|
|
91030
|
+
createVNode$2(_sfc_main$j, {
|
|
90974
91031
|
modelValue: isActive.value,
|
|
90975
91032
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
90976
91033
|
acceptButton: "",
|
|
@@ -91160,22 +91217,23 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
91160
91217
|
CkDropdown: ckDropdown,
|
|
91161
91218
|
CkNavbar: ckNavbar,
|
|
91162
91219
|
CkTable: ckTable,
|
|
91163
|
-
CkPagination: _sfc_main$
|
|
91220
|
+
CkPagination: _sfc_main$g,
|
|
91164
91221
|
CkTd,
|
|
91165
91222
|
CkTh,
|
|
91166
91223
|
CkTr,
|
|
91167
91224
|
CkInputDate: ckInputDate,
|
|
91168
|
-
CkInputTime: _sfc_main$
|
|
91225
|
+
CkInputTime: _sfc_main$e,
|
|
91169
91226
|
CkButton,
|
|
91170
91227
|
CkCard: ckCard,
|
|
91171
91228
|
CkCheckbox,
|
|
91172
91229
|
CkChip: ckChip,
|
|
91230
|
+
CkCircle: ckCircle,
|
|
91173
91231
|
CkDiv: _sfc_main$a,
|
|
91174
91232
|
CkIcon,
|
|
91175
91233
|
CkImg: ckImg,
|
|
91176
91234
|
CkInput,
|
|
91177
91235
|
CkLabel,
|
|
91178
|
-
CkPopup: _sfc_main$
|
|
91236
|
+
CkPopup: _sfc_main$j,
|
|
91179
91237
|
CkRadio: ckRadio,
|
|
91180
91238
|
CkSelect: ckSelect,
|
|
91181
91239
|
CkSidebar: ckSidebar,
|
|
@@ -91229,4 +91287,4 @@ const install3 = function installCleek(app, options) {
|
|
|
91229
91287
|
app.component(componentName, component);
|
|
91230
91288
|
});
|
|
91231
91289
|
};
|
|
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$
|
|
91290
|
+
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 };
|