cleek 2.6.79 → 2.6.81
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 +56 -24
- package/dist/cleek.umd.js +33 -33
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -81626,8 +81626,9 @@ const _sfc_main$w = defineComponent$2({
|
|
|
81626
81626
|
split: { type: Boolean }
|
|
81627
81627
|
},
|
|
81628
81628
|
emits: ["click"],
|
|
81629
|
-
setup(__props, { emit:
|
|
81629
|
+
setup(__props, { emit: __emit }) {
|
|
81630
81630
|
const props = __props;
|
|
81631
|
+
const emits = __emit;
|
|
81631
81632
|
const computedTime = computed$3(() => {
|
|
81632
81633
|
if (props.time) {
|
|
81633
81634
|
if (props.timeInMinutes)
|
|
@@ -82581,8 +82582,9 @@ const _sfc_main$p = defineComponent$2({
|
|
|
82581
82582
|
pulse: { type: Boolean }
|
|
82582
82583
|
},
|
|
82583
82584
|
emits: ["click"],
|
|
82584
|
-
setup(__props, { emit:
|
|
82585
|
+
setup(__props, { emit: __emit }) {
|
|
82585
82586
|
const props = __props;
|
|
82587
|
+
const emits = __emit;
|
|
82586
82588
|
const computediconPack = computed$3(() => {
|
|
82587
82589
|
const defaultPackage = "font-awesome";
|
|
82588
82590
|
if (!props.iconPack)
|
|
@@ -82651,6 +82653,7 @@ var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
82651
82653
|
const _hoisted_1$j = ["title", "aria-label", "disabled"];
|
|
82652
82654
|
const defaultButtonType = "outlined";
|
|
82653
82655
|
const defaultColor$1 = "primary";
|
|
82656
|
+
const defaultBackgroundColor = "transparent";
|
|
82654
82657
|
const defaultAlign = "left";
|
|
82655
82658
|
const _sfc_main$o = defineComponent$2({
|
|
82656
82659
|
__name: "ck-button",
|
|
@@ -82660,6 +82663,7 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82660
82663
|
isLoading: { type: Boolean },
|
|
82661
82664
|
type: {},
|
|
82662
82665
|
color: {},
|
|
82666
|
+
backgroundColor: {},
|
|
82663
82667
|
align: {},
|
|
82664
82668
|
size: {},
|
|
82665
82669
|
width: {},
|
|
@@ -82674,8 +82678,9 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82674
82678
|
groupVertical: {}
|
|
82675
82679
|
},
|
|
82676
82680
|
emits: ["click"],
|
|
82677
|
-
setup(__props, { emit:
|
|
82681
|
+
setup(__props, { emit: __emit }) {
|
|
82678
82682
|
const props = __props;
|
|
82683
|
+
const emits = __emit;
|
|
82679
82684
|
const { windowWidth } = useWindowWidth();
|
|
82680
82685
|
let cleekOptions2 = ref$1();
|
|
82681
82686
|
const realButtonType = computed$3(() => {
|
|
@@ -82697,6 +82702,10 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82697
82702
|
list.push(`ck-component__border-color--${props.color}`);
|
|
82698
82703
|
}
|
|
82699
82704
|
}
|
|
82705
|
+
const bgColor = props.backgroundColor || defaultBackgroundColor;
|
|
82706
|
+
if (bgColor !== defaultBackgroundColor && hooks9.isColorTemplateVariable(bgColor)) {
|
|
82707
|
+
list.push(`ck-component__bg-color--${bgColor}`);
|
|
82708
|
+
}
|
|
82700
82709
|
const align = props.align || defaultAlign;
|
|
82701
82710
|
if (align === "center" || align === "right") {
|
|
82702
82711
|
list.push(`ck-button__align--${props.align}`);
|
|
@@ -82723,6 +82732,10 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82723
82732
|
}
|
|
82724
82733
|
if (props.width && !isWidthDefined)
|
|
82725
82734
|
list.push({ width: props.width });
|
|
82735
|
+
const bgColor = props.backgroundColor || defaultBackgroundColor;
|
|
82736
|
+
if (bgColor !== defaultBackgroundColor && !hooks9.isColorTemplateVariable(bgColor)) {
|
|
82737
|
+
list.push({ "background-color": bgColor });
|
|
82738
|
+
}
|
|
82726
82739
|
return list;
|
|
82727
82740
|
});
|
|
82728
82741
|
function onClick(event) {
|
|
@@ -82769,7 +82782,7 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82769
82782
|
};
|
|
82770
82783
|
}
|
|
82771
82784
|
});
|
|
82772
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
82785
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-74544b28"]]);
|
|
82773
82786
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82774
82787
|
const _hoisted_1$i = ["for"];
|
|
82775
82788
|
const defaultSize$2 = "m";
|
|
@@ -82839,8 +82852,9 @@ const _sfc_main$m = defineComponent$2({
|
|
|
82839
82852
|
justInteger: { type: Boolean }
|
|
82840
82853
|
},
|
|
82841
82854
|
emits: ["update:modelValue", "click", "input", "change", "focus", "blur", "delayChange"],
|
|
82842
|
-
setup(__props, { expose: __expose, emit:
|
|
82855
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
82843
82856
|
const props = __props;
|
|
82857
|
+
const emits = __emit;
|
|
82844
82858
|
__expose({ setFocus, setSelect });
|
|
82845
82859
|
let cleekOptions2 = ref$1();
|
|
82846
82860
|
const realInput = ref$1(null);
|
|
@@ -83052,8 +83066,9 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83052
83066
|
version: {}
|
|
83053
83067
|
},
|
|
83054
83068
|
emits: ["update:search", "refreshList", "openColumnsManager"],
|
|
83055
|
-
setup(__props, { emit:
|
|
83069
|
+
setup(__props, { emit: __emit }) {
|
|
83056
83070
|
const props = __props;
|
|
83071
|
+
const emits = __emit;
|
|
83057
83072
|
const searchLocal = computed$3({
|
|
83058
83073
|
get() {
|
|
83059
83074
|
return props.search;
|
|
@@ -83173,8 +83188,9 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83173
83188
|
layout: {}
|
|
83174
83189
|
},
|
|
83175
83190
|
emits: ["refreshList", "update:currentPage"],
|
|
83176
|
-
setup(__props, { emit:
|
|
83191
|
+
setup(__props, { emit: __emit }) {
|
|
83177
83192
|
const props = __props;
|
|
83193
|
+
const emits = __emit;
|
|
83178
83194
|
let cleekOptions2 = ref$1();
|
|
83179
83195
|
const currentPageLocal = computed$3({
|
|
83180
83196
|
get() {
|
|
@@ -83580,8 +83596,9 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83580
83596
|
disabled: { type: Boolean }
|
|
83581
83597
|
},
|
|
83582
83598
|
emits: ["update:modelValue", "change"],
|
|
83583
|
-
setup(__props, { emit:
|
|
83599
|
+
setup(__props, { emit: __emit }) {
|
|
83584
83600
|
const props = __props;
|
|
83601
|
+
const emits = __emit;
|
|
83585
83602
|
const value = computed({
|
|
83586
83603
|
get() {
|
|
83587
83604
|
return props.modelValue;
|
|
@@ -83673,8 +83690,9 @@ const _sfc_main$i = defineComponent$2({
|
|
|
83673
83690
|
fontSize: {}
|
|
83674
83691
|
},
|
|
83675
83692
|
emits: ["update:modelValue", "cancel", "accept"],
|
|
83676
|
-
setup(__props, { emit:
|
|
83693
|
+
setup(__props, { emit: __emit }) {
|
|
83677
83694
|
const props = __props;
|
|
83695
|
+
const emits = __emit;
|
|
83678
83696
|
let cleekOptions2 = ref$1();
|
|
83679
83697
|
const isActive = computed$3({
|
|
83680
83698
|
get() {
|
|
@@ -83870,8 +83888,9 @@ const _sfc_main$h = defineComponent$2({
|
|
|
83870
83888
|
columnsArray: {}
|
|
83871
83889
|
},
|
|
83872
83890
|
emits: ["update:modelValue"],
|
|
83873
|
-
setup(__props, { emit:
|
|
83891
|
+
setup(__props, { emit: __emit }) {
|
|
83874
83892
|
const props = __props;
|
|
83893
|
+
const emits = __emit;
|
|
83875
83894
|
let columnsCheckable = ref$1([]);
|
|
83876
83895
|
const isActive = computed$3({
|
|
83877
83896
|
get() {
|
|
@@ -83980,8 +83999,9 @@ const _sfc_main$g = defineComponent$2({
|
|
|
83980
83999
|
mobileMaxWidth: {}
|
|
83981
84000
|
},
|
|
83982
84001
|
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
83983
|
-
setup(__props, { emit:
|
|
84002
|
+
setup(__props, { emit: __emit }) {
|
|
83984
84003
|
const props = __props;
|
|
84004
|
+
const emits = __emit;
|
|
83985
84005
|
let cleekOptions2 = ref$1();
|
|
83986
84006
|
const { windowWidth } = useWindowWidth();
|
|
83987
84007
|
const isPopupActive = ref$1({
|
|
@@ -84205,8 +84225,9 @@ const _sfc_main$f = defineComponent$2({
|
|
|
84205
84225
|
align: {}
|
|
84206
84226
|
},
|
|
84207
84227
|
emits: ["update:modelValue"],
|
|
84208
|
-
setup(__props, { emit:
|
|
84228
|
+
setup(__props, { emit: __emit }) {
|
|
84209
84229
|
const props = __props;
|
|
84230
|
+
const emits = __emit;
|
|
84210
84231
|
const currentStep = computed$3({
|
|
84211
84232
|
get() {
|
|
84212
84233
|
return props.modelValue;
|
|
@@ -89353,8 +89374,9 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89353
89374
|
groupVertical: {}
|
|
89354
89375
|
},
|
|
89355
89376
|
emits: ["update:modelValue", "change"],
|
|
89356
|
-
setup(__props, { emit:
|
|
89377
|
+
setup(__props, { emit: __emit }) {
|
|
89357
89378
|
const props = __props;
|
|
89379
|
+
const emits = __emit;
|
|
89358
89380
|
const { windowWidth } = useWindowWidth();
|
|
89359
89381
|
const refFocusAbsorber = ref$1(null);
|
|
89360
89382
|
const inputValue = computed$3({
|
|
@@ -89430,8 +89452,9 @@ const _sfc_main$d = defineComponent$2({
|
|
|
89430
89452
|
groupVertical: {}
|
|
89431
89453
|
},
|
|
89432
89454
|
emits: ["update:modelValue", "change"],
|
|
89433
|
-
setup(__props, { emit:
|
|
89455
|
+
setup(__props, { emit: __emit }) {
|
|
89434
89456
|
const props = __props;
|
|
89457
|
+
const emits = __emit;
|
|
89435
89458
|
const inputValue = computed$3({
|
|
89436
89459
|
get() {
|
|
89437
89460
|
if (typeof props.modelValue !== "number")
|
|
@@ -89481,8 +89504,9 @@ const _sfc_main$c = defineComponent$2({
|
|
|
89481
89504
|
layout: {}
|
|
89482
89505
|
},
|
|
89483
89506
|
emits: ["update:modelValue", "closeCard"],
|
|
89484
|
-
setup(__props, { emit:
|
|
89507
|
+
setup(__props, { emit: __emit }) {
|
|
89485
89508
|
const props = __props;
|
|
89509
|
+
const emits = __emit;
|
|
89486
89510
|
let cleekOptions2 = ref$1();
|
|
89487
89511
|
const isActive = computed$3({
|
|
89488
89512
|
get() {
|
|
@@ -89560,8 +89584,9 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89560
89584
|
iconPack: {}
|
|
89561
89585
|
},
|
|
89562
89586
|
emits: ["click"],
|
|
89563
|
-
setup(__props, { emit:
|
|
89587
|
+
setup(__props, { emit: __emit }) {
|
|
89564
89588
|
const props = __props;
|
|
89589
|
+
const emits = __emit;
|
|
89565
89590
|
const computedClass = computed$3(() => {
|
|
89566
89591
|
const list = [];
|
|
89567
89592
|
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
@@ -89618,8 +89643,9 @@ const _sfc_main$a = defineComponent$2({
|
|
|
89618
89643
|
gap: {}
|
|
89619
89644
|
},
|
|
89620
89645
|
emits: ["click"],
|
|
89621
|
-
setup(__props, { emit:
|
|
89646
|
+
setup(__props, { emit: __emit }) {
|
|
89622
89647
|
const props = __props;
|
|
89648
|
+
const emits = __emit;
|
|
89623
89649
|
const { windowWidth } = useWindowWidth();
|
|
89624
89650
|
let cleekOptions2 = ref$1();
|
|
89625
89651
|
const computedStyle = computed$3(() => {
|
|
@@ -89794,8 +89820,9 @@ const _sfc_main$8 = defineComponent$2({
|
|
|
89794
89820
|
label: {}
|
|
89795
89821
|
},
|
|
89796
89822
|
emits: ["update:modelValue", "change"],
|
|
89797
|
-
setup(__props, { emit:
|
|
89823
|
+
setup(__props, { emit: __emit }) {
|
|
89798
89824
|
const props = __props;
|
|
89825
|
+
const emits = __emit;
|
|
89799
89826
|
const value = computed$3({
|
|
89800
89827
|
get() {
|
|
89801
89828
|
return props.modelValue;
|
|
@@ -89914,8 +89941,9 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
89914
89941
|
emptyOptionsMsg: {}
|
|
89915
89942
|
},
|
|
89916
89943
|
emits: ["update:modelValue", "click", "change"],
|
|
89917
|
-
setup(__props, { expose: __expose, emit:
|
|
89944
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
89918
89945
|
const props = __props;
|
|
89946
|
+
const emits = __emit;
|
|
89919
89947
|
__expose({
|
|
89920
89948
|
setFocus
|
|
89921
89949
|
});
|
|
@@ -90157,8 +90185,9 @@ const _sfc_main$6 = defineComponent$2({
|
|
|
90157
90185
|
notCloseBtn: { type: Boolean }
|
|
90158
90186
|
},
|
|
90159
90187
|
emits: ["update:modelValue"],
|
|
90160
|
-
setup(__props, { emit:
|
|
90188
|
+
setup(__props, { emit: __emit }) {
|
|
90161
90189
|
const props = __props;
|
|
90190
|
+
const emits = __emit;
|
|
90162
90191
|
const isActive = computed$3({
|
|
90163
90192
|
get() {
|
|
90164
90193
|
return props.modelValue;
|
|
@@ -90256,8 +90285,9 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
90256
90285
|
iconPack: {}
|
|
90257
90286
|
},
|
|
90258
90287
|
emits: ["update:modelValue", "click"],
|
|
90259
|
-
setup(__props, { emit:
|
|
90288
|
+
setup(__props, { emit: __emit }) {
|
|
90260
90289
|
const props = __props;
|
|
90290
|
+
const emits = __emit;
|
|
90261
90291
|
const value = computed$3({
|
|
90262
90292
|
get() {
|
|
90263
90293
|
return props.modelValue;
|
|
@@ -90355,9 +90385,10 @@ const _sfc_main$4 = defineComponent$2({
|
|
|
90355
90385
|
sameWidthOptions: { type: Boolean }
|
|
90356
90386
|
},
|
|
90357
90387
|
emits: ["update:modelValue", "change"],
|
|
90358
|
-
setup(__props, { emit:
|
|
90359
|
-
const props = __props;
|
|
90388
|
+
setup(__props, { emit: __emit }) {
|
|
90360
90389
|
const defaultReduceFunction = (option) => option.id;
|
|
90390
|
+
const props = __props;
|
|
90391
|
+
const emits = __emit;
|
|
90361
90392
|
const { windowWidth } = useWindowWidth();
|
|
90362
90393
|
const selectedOption = computed$3({
|
|
90363
90394
|
get() {
|
|
@@ -90444,8 +90475,9 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90444
90475
|
labelAlign: {}
|
|
90445
90476
|
},
|
|
90446
90477
|
emits: ["update:modelValue", "input", "change", "click"],
|
|
90447
|
-
setup(__props, { emit:
|
|
90478
|
+
setup(__props, { emit: __emit }) {
|
|
90448
90479
|
const props = __props;
|
|
90480
|
+
const emits = __emit;
|
|
90449
90481
|
let cleekOptions2 = ref$1();
|
|
90450
90482
|
const refTextarea = ref$1(null);
|
|
90451
90483
|
const { windowWidth } = useWindowWidth();
|