cleek 2.7.0 → 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 +117 -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;
|
|
@@ -81750,6 +81750,10 @@ var hooks9 = {
|
|
|
81750
81750
|
return true;
|
|
81751
81751
|
if (color === "light")
|
|
81752
81752
|
return true;
|
|
81753
|
+
if (color === "primary-light")
|
|
81754
|
+
return true;
|
|
81755
|
+
if (color === "secondary-light")
|
|
81756
|
+
return true;
|
|
81753
81757
|
return false;
|
|
81754
81758
|
},
|
|
81755
81759
|
isColumnDisplayed(column) {
|
|
@@ -81767,7 +81771,7 @@ var hooks9 = {
|
|
|
81767
81771
|
};
|
|
81768
81772
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81769
81773
|
const _hoisted_1$n = { class: "ck-dropdown__popper-container" };
|
|
81770
|
-
const _sfc_main$
|
|
81774
|
+
const _sfc_main$w = defineComponent$2({
|
|
81771
81775
|
__name: "ck-dropdown",
|
|
81772
81776
|
props: {
|
|
81773
81777
|
dark: { type: Boolean },
|
|
@@ -81838,10 +81842,10 @@ const _sfc_main$v = defineComponent$2({
|
|
|
81838
81842
|
};
|
|
81839
81843
|
}
|
|
81840
81844
|
});
|
|
81841
|
-
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81845
|
+
var ckDropdown = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-29d5acfa"]]);
|
|
81842
81846
|
var ckNavbar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
81843
81847
|
const defaultPosition = "fixed";
|
|
81844
|
-
const _sfc_main$
|
|
81848
|
+
const _sfc_main$v = defineComponent$2({
|
|
81845
81849
|
__name: "ck-navbar",
|
|
81846
81850
|
props: {
|
|
81847
81851
|
backgroundColor: {},
|
|
@@ -81896,7 +81900,7 @@ const _sfc_main$u = defineComponent$2({
|
|
|
81896
81900
|
};
|
|
81897
81901
|
}
|
|
81898
81902
|
});
|
|
81899
|
-
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
81903
|
+
var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-14db8333"]]);
|
|
81900
81904
|
function ownKeys(object, enumerableOnly) {
|
|
81901
81905
|
var keys = Object.keys(object);
|
|
81902
81906
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -82438,7 +82442,7 @@ defineComponent$2({
|
|
|
82438
82442
|
}
|
|
82439
82443
|
});
|
|
82440
82444
|
var ckIcon_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82441
|
-
const _sfc_main$
|
|
82445
|
+
const _sfc_main$u = defineComponent$2({
|
|
82442
82446
|
__name: "ck-icon",
|
|
82443
82447
|
props: {
|
|
82444
82448
|
icon: {},
|
|
@@ -82524,18 +82528,18 @@ const _sfc_main$t = defineComponent$2({
|
|
|
82524
82528
|
};
|
|
82525
82529
|
}
|
|
82526
82530
|
});
|
|
82527
|
-
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82531
|
+
var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-30ba25e5"]]);
|
|
82528
82532
|
var ckTr_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82529
|
-
const _sfc_main$
|
|
82533
|
+
const _sfc_main$t = {};
|
|
82530
82534
|
const _hoisted_1$m = { class: "ck-tr" };
|
|
82531
82535
|
function _sfc_render(_ctx, _cache) {
|
|
82532
82536
|
return openBlock$2(), createElementBlock$2("tr", _hoisted_1$m, [
|
|
82533
82537
|
renderSlot$2(_ctx.$slots, "default", {}, void 0, true)
|
|
82534
82538
|
]);
|
|
82535
82539
|
}
|
|
82536
|
-
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82540
|
+
var CkTr = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render], ["__scopeId", "data-v-797c49c2"]]);
|
|
82537
82541
|
var ckTd_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82538
|
-
const _sfc_main$
|
|
82542
|
+
const _sfc_main$s = defineComponent$2({
|
|
82539
82543
|
__name: "ck-td",
|
|
82540
82544
|
props: {
|
|
82541
82545
|
col: {},
|
|
@@ -82621,11 +82625,11 @@ const _sfc_main$r = defineComponent$2({
|
|
|
82621
82625
|
};
|
|
82622
82626
|
}
|
|
82623
82627
|
});
|
|
82624
|
-
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82628
|
+
var CkTd = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-90fa19a8"]]);
|
|
82625
82629
|
var ckTh_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82626
82630
|
const _hoisted_1$l = { class: "ck-th" };
|
|
82627
82631
|
const defaultAlign$1 = "left";
|
|
82628
|
-
const _sfc_main$
|
|
82632
|
+
const _sfc_main$r = defineComponent$2({
|
|
82629
82633
|
__name: "ck-th",
|
|
82630
82634
|
props: {
|
|
82631
82635
|
align: {},
|
|
@@ -82670,8 +82674,8 @@ const _sfc_main$q = defineComponent$2({
|
|
|
82670
82674
|
};
|
|
82671
82675
|
}
|
|
82672
82676
|
});
|
|
82673
|
-
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82674
|
-
const _sfc_main$
|
|
82677
|
+
var CkTh = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-42ada082"]]);
|
|
82678
|
+
const _sfc_main$q = defineComponent$2({
|
|
82675
82679
|
__name: "ck-table__title",
|
|
82676
82680
|
props: {
|
|
82677
82681
|
col: {},
|
|
@@ -82716,9 +82720,9 @@ var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
82716
82720
|
const _hoisted_1$k = ["title", "aria-label", "disabled"];
|
|
82717
82721
|
const defaultBackgroundColor = "transparent";
|
|
82718
82722
|
const defaultButtonType = "outlined";
|
|
82719
|
-
const defaultColor$
|
|
82723
|
+
const defaultColor$2 = "primary";
|
|
82720
82724
|
const defaultAlign = "left";
|
|
82721
|
-
const _sfc_main$
|
|
82725
|
+
const _sfc_main$p = defineComponent$2({
|
|
82722
82726
|
__name: "ck-button",
|
|
82723
82727
|
props: {
|
|
82724
82728
|
title: {},
|
|
@@ -82763,8 +82767,8 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82763
82767
|
var _a;
|
|
82764
82768
|
const list = [];
|
|
82765
82769
|
list.push(hooks9.getGroupClass(props, windowWidth.value));
|
|
82766
|
-
const color = props.color || defaultColor$
|
|
82767
|
-
if (color !== defaultColor$
|
|
82770
|
+
const color = props.color || defaultColor$2;
|
|
82771
|
+
if (color !== defaultColor$2) {
|
|
82768
82772
|
if (realButtonType.value === "filled") {
|
|
82769
82773
|
list.push(`ck-component__bg-color--${props.color}`);
|
|
82770
82774
|
} else {
|
|
@@ -82847,11 +82851,11 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82847
82851
|
};
|
|
82848
82852
|
}
|
|
82849
82853
|
});
|
|
82850
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82854
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-269ef4f6"]]);
|
|
82851
82855
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82852
82856
|
const _hoisted_1$j = ["for"];
|
|
82853
82857
|
const defaultSize$2 = "m";
|
|
82854
|
-
const _sfc_main$
|
|
82858
|
+
const _sfc_main$o = defineComponent$2({
|
|
82855
82859
|
__name: "ck-label",
|
|
82856
82860
|
props: {
|
|
82857
82861
|
for: {},
|
|
@@ -82899,13 +82903,13 @@ const _sfc_main$n = defineComponent$2({
|
|
|
82899
82903
|
};
|
|
82900
82904
|
}
|
|
82901
82905
|
});
|
|
82902
|
-
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
82906
|
+
var CkLabel = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3eb67ac4"]]);
|
|
82903
82907
|
var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82904
82908
|
const _hoisted_1$i = ["autocomplete", "placeholder", "disabled"];
|
|
82905
82909
|
const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
|
|
82906
82910
|
const defaultType = "text";
|
|
82907
82911
|
const defaultDelayChangeTime = 300;
|
|
82908
|
-
const _sfc_main$
|
|
82912
|
+
const _sfc_main$n = defineComponent$2({
|
|
82909
82913
|
__name: "ck-input",
|
|
82910
82914
|
props: {
|
|
82911
82915
|
modelValue: {},
|
|
@@ -83139,9 +83143,9 @@ const _sfc_main$m = defineComponent$2({
|
|
|
83139
83143
|
};
|
|
83140
83144
|
}
|
|
83141
83145
|
});
|
|
83142
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83146
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-8e1a7a6a"]]);
|
|
83143
83147
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83144
|
-
const _sfc_main$
|
|
83148
|
+
const _sfc_main$m = defineComponent$2({
|
|
83145
83149
|
__name: "ck-table__header-items",
|
|
83146
83150
|
props: {
|
|
83147
83151
|
search: {},
|
|
@@ -83264,7 +83268,7 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83264
83268
|
};
|
|
83265
83269
|
}
|
|
83266
83270
|
});
|
|
83267
|
-
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83271
|
+
var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1af5a21d"]]);
|
|
83268
83272
|
var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83269
83273
|
const _withScopeId$4 = (n2) => (pushScopeId$2("data-v-27c654d0"), n2 = n2(), popScopeId$2(), n2);
|
|
83270
83274
|
const _hoisted_1$h = { class: "ck-table__pagination" };
|
|
@@ -83274,7 +83278,7 @@ const _hoisted_4$7 = { class: "ck-table__pagination-input-container" };
|
|
|
83274
83278
|
const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-table__pagination--input-pointer" }, null, -1));
|
|
83275
83279
|
const _hoisted_6$2 = ["onClick"];
|
|
83276
83280
|
const itemsShowed = 5;
|
|
83277
|
-
const _sfc_main$
|
|
83281
|
+
const _sfc_main$l = defineComponent$2({
|
|
83278
83282
|
__name: "ck-table__pagination",
|
|
83279
83283
|
props: {
|
|
83280
83284
|
currentPage: {},
|
|
@@ -83423,7 +83427,7 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83423
83427
|
};
|
|
83424
83428
|
}
|
|
83425
83429
|
});
|
|
83426
|
-
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83430
|
+
var TablePagination = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-27c654d0"]]);
|
|
83427
83431
|
const NOOP = () => {
|
|
83428
83432
|
};
|
|
83429
83433
|
const NO = () => false;
|
|
@@ -83686,7 +83690,7 @@ const _hoisted_3$8 = {
|
|
|
83686
83690
|
key: 0,
|
|
83687
83691
|
class: "c-Checkbox__label"
|
|
83688
83692
|
};
|
|
83689
|
-
const _sfc_main$
|
|
83693
|
+
const _sfc_main$k = defineComponent$2({
|
|
83690
83694
|
__name: "ck-checkbox",
|
|
83691
83695
|
props: {
|
|
83692
83696
|
modelValue: { type: Boolean },
|
|
@@ -83745,7 +83749,7 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83745
83749
|
};
|
|
83746
83750
|
}
|
|
83747
83751
|
});
|
|
83748
|
-
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
83752
|
+
var CkCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-1fffee96"]]);
|
|
83749
83753
|
var ckPopup_vue_vue_type_style_index_0_lang = "";
|
|
83750
83754
|
const _hoisted_1$f = { class: "ck-popup" };
|
|
83751
83755
|
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "blackout" }, null, -1);
|
|
@@ -83761,7 +83765,7 @@ const _hoisted_5$2 = {
|
|
|
83761
83765
|
key: 0,
|
|
83762
83766
|
class: "ck-popup-slot-footer__confirm-buttons"
|
|
83763
83767
|
};
|
|
83764
|
-
const _sfc_main$
|
|
83768
|
+
const _sfc_main$j = defineComponent$2({
|
|
83765
83769
|
__name: "ck-popup",
|
|
83766
83770
|
props: {
|
|
83767
83771
|
modelValue: { type: Boolean },
|
|
@@ -84018,7 +84022,7 @@ const _sfc_main$i = defineComponent$2({
|
|
|
84018
84022
|
});
|
|
84019
84023
|
var ckTable__columnsManager_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
84020
84024
|
const _hoisted_1$e = { class: "columns-manger-container" };
|
|
84021
|
-
const _sfc_main$
|
|
84025
|
+
const _sfc_main$i = defineComponent$2({
|
|
84022
84026
|
__name: "ck-table__columns-manager",
|
|
84023
84027
|
props: {
|
|
84024
84028
|
modelValue: { type: Boolean },
|
|
@@ -84070,7 +84074,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84070
84074
|
props.columns[colName].isDisplayed = value;
|
|
84071
84075
|
}
|
|
84072
84076
|
return (_ctx, _cache) => {
|
|
84073
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84077
|
+
return openBlock$2(), createBlock$2(_sfc_main$j, {
|
|
84074
84078
|
modelValue: isActive.value,
|
|
84075
84079
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
84076
84080
|
title: "Administrador de columnas"
|
|
@@ -84101,7 +84105,7 @@ const _sfc_main$h = defineComponent$2({
|
|
|
84101
84105
|
};
|
|
84102
84106
|
}
|
|
84103
84107
|
});
|
|
84104
|
-
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84108
|
+
var TableColumnsManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-4ef6b518"]]);
|
|
84105
84109
|
var ckTable_vue_vue_type_style_index_0_lang = "";
|
|
84106
84110
|
var ckTable_vue_vue_type_style_index_1_scoped_true_lang = "";
|
|
84107
84111
|
const _hoisted_1$d = { class: "ck-table" };
|
|
@@ -84121,7 +84125,7 @@ const _hoisted_6$1 = {
|
|
|
84121
84125
|
};
|
|
84122
84126
|
const defaultTableVersion = "default";
|
|
84123
84127
|
const defaultItemsPerPage = 40;
|
|
84124
|
-
const _sfc_main$
|
|
84128
|
+
const _sfc_main$h = defineComponent$2({
|
|
84125
84129
|
__name: "ck-table",
|
|
84126
84130
|
props: {
|
|
84127
84131
|
columns: {},
|
|
@@ -84317,7 +84321,7 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84317
84321
|
createVNode$2(CkTr, { class: "header-row" }, {
|
|
84318
84322
|
default: withCtx$2(() => [
|
|
84319
84323
|
(openBlock$2(true), createElementBlock$2(Fragment$2, null, renderList$1(filteredColumnsList.value, (col) => {
|
|
84320
|
-
return openBlock$2(), createBlock$2(_sfc_main$
|
|
84324
|
+
return openBlock$2(), createBlock$2(_sfc_main$q, {
|
|
84321
84325
|
key: col.title,
|
|
84322
84326
|
col,
|
|
84323
84327
|
textColor: realHeaderTextColor.value,
|
|
@@ -84389,9 +84393,9 @@ const _sfc_main$g = defineComponent$2({
|
|
|
84389
84393
|
};
|
|
84390
84394
|
}
|
|
84391
84395
|
});
|
|
84392
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
84396
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-d9e82628"]]);
|
|
84393
84397
|
var ckPagination_vue_vue_type_style_index_0_lang = "";
|
|
84394
|
-
const _sfc_main$
|
|
84398
|
+
const _sfc_main$g = defineComponent$2({
|
|
84395
84399
|
__name: "ck-pagination",
|
|
84396
84400
|
props: {
|
|
84397
84401
|
modelValue: {},
|
|
@@ -89538,7 +89542,7 @@ function Dt(e4, t4, r, l, o, p2) {
|
|
|
89538
89542
|
const Lt = /* @__PURE__ */ T4(vt, [["render", Dt]]);
|
|
89539
89543
|
var ckInputDate_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89540
89544
|
const _hoisted_1$c = ["id"];
|
|
89541
|
-
const _sfc_main$
|
|
89545
|
+
const _sfc_main$f = defineComponent$2({
|
|
89542
89546
|
__name: "ck-input-date",
|
|
89543
89547
|
props: {
|
|
89544
89548
|
modelValue: {},
|
|
@@ -89700,8 +89704,8 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89700
89704
|
};
|
|
89701
89705
|
}
|
|
89702
89706
|
});
|
|
89703
|
-
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89704
|
-
const _sfc_main$
|
|
89707
|
+
var ckInputDate = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-265621ef"]]);
|
|
89708
|
+
const _sfc_main$e = defineComponent$2({
|
|
89705
89709
|
__name: "ck-input-time",
|
|
89706
89710
|
props: {
|
|
89707
89711
|
modelValue: {},
|
|
@@ -89751,7 +89755,7 @@ const _hoisted_4$4 = {
|
|
|
89751
89755
|
key: 0,
|
|
89752
89756
|
class: "ck-card__header-subtitle"
|
|
89753
89757
|
};
|
|
89754
|
-
const _sfc_main$
|
|
89758
|
+
const _sfc_main$d = defineComponent$2({
|
|
89755
89759
|
__name: "ck-card",
|
|
89756
89760
|
props: {
|
|
89757
89761
|
modelValue: { type: Boolean },
|
|
@@ -89823,12 +89827,13 @@ const _sfc_main$c = defineComponent$2({
|
|
|
89823
89827
|
};
|
|
89824
89828
|
}
|
|
89825
89829
|
});
|
|
89826
|
-
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
89830
|
+
var ckCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4bbb9206"]]);
|
|
89827
89831
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
89828
89832
|
const _hoisted_1$a = ["color"];
|
|
89829
|
-
const
|
|
89833
|
+
const defaultTextColor$1 = "white";
|
|
89834
|
+
const defaultColor$1 = "primary";
|
|
89830
89835
|
const defaultSize$1 = "s";
|
|
89831
|
-
const _sfc_main$
|
|
89836
|
+
const _sfc_main$c = defineComponent$2({
|
|
89832
89837
|
__name: "ck-chip",
|
|
89833
89838
|
props: {
|
|
89834
89839
|
size: {},
|
|
@@ -89846,7 +89851,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89846
89851
|
const computedClass = computed$3(() => {
|
|
89847
89852
|
const list = [];
|
|
89848
89853
|
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
89849
|
-
list.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
89854
|
+
list.push(`ck-component__bg-color--${props.color || defaultColor$1}`);
|
|
89850
89855
|
}
|
|
89851
89856
|
list.push(`size-${props.size || defaultSize$1}`);
|
|
89852
89857
|
if (props.align)
|
|
@@ -89859,7 +89864,7 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89859
89864
|
const list = [];
|
|
89860
89865
|
if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
|
|
89861
89866
|
list.push({ backgroundColor: props.color });
|
|
89862
|
-
list.push({ color: props.textColor ||
|
|
89867
|
+
list.push({ color: props.textColor || defaultTextColor$1 });
|
|
89863
89868
|
}
|
|
89864
89869
|
return list;
|
|
89865
89870
|
});
|
|
@@ -89889,7 +89894,63 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89889
89894
|
};
|
|
89890
89895
|
}
|
|
89891
89896
|
});
|
|
89892
|
-
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"]]);
|
|
89893
89954
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
89894
89955
|
const _sfc_main$a = defineComponent$2({
|
|
89895
89956
|
__name: "ck-div",
|
|
@@ -90966,7 +91027,7 @@ const _sfc_main$1 = defineComponent$2({
|
|
|
90966
91027
|
});
|
|
90967
91028
|
return (_ctx, _cache) => {
|
|
90968
91029
|
return openBlock$2(), createBlock$2(Teleport$1, { to: "body" }, [
|
|
90969
|
-
createVNode$2(_sfc_main$
|
|
91030
|
+
createVNode$2(_sfc_main$j, {
|
|
90970
91031
|
modelValue: isActive.value,
|
|
90971
91032
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isActive.value = $event),
|
|
90972
91033
|
acceptButton: "",
|
|
@@ -91156,22 +91217,23 @@ var components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
91156
91217
|
CkDropdown: ckDropdown,
|
|
91157
91218
|
CkNavbar: ckNavbar,
|
|
91158
91219
|
CkTable: ckTable,
|
|
91159
|
-
CkPagination: _sfc_main$
|
|
91220
|
+
CkPagination: _sfc_main$g,
|
|
91160
91221
|
CkTd,
|
|
91161
91222
|
CkTh,
|
|
91162
91223
|
CkTr,
|
|
91163
91224
|
CkInputDate: ckInputDate,
|
|
91164
|
-
CkInputTime: _sfc_main$
|
|
91225
|
+
CkInputTime: _sfc_main$e,
|
|
91165
91226
|
CkButton,
|
|
91166
91227
|
CkCard: ckCard,
|
|
91167
91228
|
CkCheckbox,
|
|
91168
91229
|
CkChip: ckChip,
|
|
91230
|
+
CkCircle: ckCircle,
|
|
91169
91231
|
CkDiv: _sfc_main$a,
|
|
91170
91232
|
CkIcon,
|
|
91171
91233
|
CkImg: ckImg,
|
|
91172
91234
|
CkInput,
|
|
91173
91235
|
CkLabel,
|
|
91174
|
-
CkPopup: _sfc_main$
|
|
91236
|
+
CkPopup: _sfc_main$j,
|
|
91175
91237
|
CkRadio: ckRadio,
|
|
91176
91238
|
CkSelect: ckSelect,
|
|
91177
91239
|
CkSidebar: ckSidebar,
|
|
@@ -91225,4 +91287,4 @@ const install3 = function installCleek(app, options) {
|
|
|
91225
91287
|
app.component(componentName, component);
|
|
91226
91288
|
});
|
|
91227
91289
|
};
|
|
91228
|
-
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 };
|