cleek 2.6.73 → 2.6.74
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 +36 -46
- package/dist/cleek.umd.js +21 -21
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3539,6 +3539,9 @@ const cleekOptions = {
|
|
|
3539
3539
|
type: "outlined",
|
|
3540
3540
|
layout: "base"
|
|
3541
3541
|
},
|
|
3542
|
+
div: {
|
|
3543
|
+
gap: 0
|
|
3544
|
+
},
|
|
3542
3545
|
img: {
|
|
3543
3546
|
basePath: ""
|
|
3544
3547
|
},
|
|
@@ -81623,9 +81626,8 @@ const _sfc_main$w = defineComponent$2({
|
|
|
81623
81626
|
split: { type: Boolean }
|
|
81624
81627
|
},
|
|
81625
81628
|
emits: ["click"],
|
|
81626
|
-
setup(__props, { emit:
|
|
81629
|
+
setup(__props, { emit: emits }) {
|
|
81627
81630
|
const props = __props;
|
|
81628
|
-
const emits = __emit;
|
|
81629
81631
|
const computedTime = computed$3(() => {
|
|
81630
81632
|
if (props.time) {
|
|
81631
81633
|
if (props.timeInMinutes)
|
|
@@ -82579,9 +82581,8 @@ const _sfc_main$p = defineComponent$2({
|
|
|
82579
82581
|
pulse: { type: Boolean }
|
|
82580
82582
|
},
|
|
82581
82583
|
emits: ["click"],
|
|
82582
|
-
setup(__props, { emit:
|
|
82584
|
+
setup(__props, { emit: emits }) {
|
|
82583
82585
|
const props = __props;
|
|
82584
|
-
const emits = __emit;
|
|
82585
82586
|
const computediconPack = computed$3(() => {
|
|
82586
82587
|
const defaultPackage = "font-awesome";
|
|
82587
82588
|
if (!props.iconPack)
|
|
@@ -82673,9 +82674,8 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82673
82674
|
groupVertical: {}
|
|
82674
82675
|
},
|
|
82675
82676
|
emits: ["click"],
|
|
82676
|
-
setup(__props, { emit:
|
|
82677
|
+
setup(__props, { emit: emits }) {
|
|
82677
82678
|
const props = __props;
|
|
82678
|
-
const emits = __emit;
|
|
82679
82679
|
const { windowWidth } = useWindowWidth();
|
|
82680
82680
|
let cleekOptions2 = ref$1();
|
|
82681
82681
|
const realButtonType = computed$3(() => {
|
|
@@ -82839,9 +82839,8 @@ const _sfc_main$m = defineComponent$2({
|
|
|
82839
82839
|
justInteger: { type: Boolean }
|
|
82840
82840
|
},
|
|
82841
82841
|
emits: ["update:modelValue", "click", "input", "change", "focus", "blur", "delayChange"],
|
|
82842
|
-
setup(__props, { expose: __expose, emit:
|
|
82842
|
+
setup(__props, { expose: __expose, emit: emits }) {
|
|
82843
82843
|
const props = __props;
|
|
82844
|
-
const emits = __emit;
|
|
82845
82844
|
__expose({ setFocus, setSelect });
|
|
82846
82845
|
let cleekOptions2 = ref$1();
|
|
82847
82846
|
const realInput = ref$1(null);
|
|
@@ -83053,9 +83052,8 @@ const _sfc_main$l = defineComponent$2({
|
|
|
83053
83052
|
version: {}
|
|
83054
83053
|
},
|
|
83055
83054
|
emits: ["update:search", "refreshList", "openColumnsManager"],
|
|
83056
|
-
setup(__props, { emit:
|
|
83055
|
+
setup(__props, { emit: emits }) {
|
|
83057
83056
|
const props = __props;
|
|
83058
|
-
const emits = __emit;
|
|
83059
83057
|
const searchLocal = computed$3({
|
|
83060
83058
|
get() {
|
|
83061
83059
|
return props.search;
|
|
@@ -83175,9 +83173,8 @@ const _sfc_main$k = defineComponent$2({
|
|
|
83175
83173
|
layout: {}
|
|
83176
83174
|
},
|
|
83177
83175
|
emits: ["refreshList", "update:currentPage"],
|
|
83178
|
-
setup(__props, { emit:
|
|
83176
|
+
setup(__props, { emit: emits }) {
|
|
83179
83177
|
const props = __props;
|
|
83180
|
-
const emits = __emit;
|
|
83181
83178
|
let cleekOptions2 = ref$1();
|
|
83182
83179
|
const currentPageLocal = computed$3({
|
|
83183
83180
|
get() {
|
|
@@ -83583,9 +83580,8 @@ const _sfc_main$j = defineComponent$2({
|
|
|
83583
83580
|
disabled: { type: Boolean }
|
|
83584
83581
|
},
|
|
83585
83582
|
emits: ["update:modelValue", "change"],
|
|
83586
|
-
setup(__props, { emit:
|
|
83583
|
+
setup(__props, { emit: emits }) {
|
|
83587
83584
|
const props = __props;
|
|
83588
|
-
const emits = __emit;
|
|
83589
83585
|
const value = computed({
|
|
83590
83586
|
get() {
|
|
83591
83587
|
return props.modelValue;
|
|
@@ -83676,9 +83672,8 @@ const _sfc_main$i = defineComponent$2({
|
|
|
83676
83672
|
fontSize: {}
|
|
83677
83673
|
},
|
|
83678
83674
|
emits: ["update:modelValue", "cancel", "accept"],
|
|
83679
|
-
setup(__props, { emit:
|
|
83675
|
+
setup(__props, { emit: emits }) {
|
|
83680
83676
|
const props = __props;
|
|
83681
|
-
const emits = __emit;
|
|
83682
83677
|
let cleekOptions2 = ref$1();
|
|
83683
83678
|
const isActive = computed$3({
|
|
83684
83679
|
get() {
|
|
@@ -83873,9 +83868,8 @@ const _sfc_main$h = defineComponent$2({
|
|
|
83873
83868
|
columnsArray: {}
|
|
83874
83869
|
},
|
|
83875
83870
|
emits: ["update:modelValue"],
|
|
83876
|
-
setup(__props, { emit:
|
|
83871
|
+
setup(__props, { emit: emits }) {
|
|
83877
83872
|
const props = __props;
|
|
83878
|
-
const emits = __emit;
|
|
83879
83873
|
let columnsCheckable = ref$1([]);
|
|
83880
83874
|
const isActive = computed$3({
|
|
83881
83875
|
get() {
|
|
@@ -83984,9 +83978,8 @@ const _sfc_main$g = defineComponent$2({
|
|
|
83984
83978
|
mobileMaxWidth: {}
|
|
83985
83979
|
},
|
|
83986
83980
|
emits: ["refreshList", "update:search", "update:currentPage"],
|
|
83987
|
-
setup(__props, { emit:
|
|
83981
|
+
setup(__props, { emit: emits }) {
|
|
83988
83982
|
const props = __props;
|
|
83989
|
-
const emits = __emit;
|
|
83990
83983
|
let cleekOptions2 = ref$1();
|
|
83991
83984
|
const { windowWidth } = useWindowWidth();
|
|
83992
83985
|
const isPopupActive = ref$1({
|
|
@@ -84210,9 +84203,8 @@ const _sfc_main$f = defineComponent$2({
|
|
|
84210
84203
|
align: {}
|
|
84211
84204
|
},
|
|
84212
84205
|
emits: ["update:modelValue"],
|
|
84213
|
-
setup(__props, { emit:
|
|
84206
|
+
setup(__props, { emit: emits }) {
|
|
84214
84207
|
const props = __props;
|
|
84215
|
-
const emits = __emit;
|
|
84216
84208
|
const currentStep = computed$3({
|
|
84217
84209
|
get() {
|
|
84218
84210
|
return props.modelValue;
|
|
@@ -89359,9 +89351,8 @@ const _sfc_main$e = defineComponent$2({
|
|
|
89359
89351
|
groupVertical: {}
|
|
89360
89352
|
},
|
|
89361
89353
|
emits: ["update:modelValue", "change"],
|
|
89362
|
-
setup(__props, { emit:
|
|
89354
|
+
setup(__props, { emit: emits }) {
|
|
89363
89355
|
const props = __props;
|
|
89364
|
-
const emits = __emit;
|
|
89365
89356
|
const { windowWidth } = useWindowWidth();
|
|
89366
89357
|
const refFocusAbsorber = ref$1(null);
|
|
89367
89358
|
const inputValue = computed$3({
|
|
@@ -89437,9 +89428,8 @@ const _sfc_main$d = defineComponent$2({
|
|
|
89437
89428
|
groupVertical: {}
|
|
89438
89429
|
},
|
|
89439
89430
|
emits: ["update:modelValue", "change"],
|
|
89440
|
-
setup(__props, { emit:
|
|
89431
|
+
setup(__props, { emit: emits }) {
|
|
89441
89432
|
const props = __props;
|
|
89442
|
-
const emits = __emit;
|
|
89443
89433
|
const inputValue = computed$3({
|
|
89444
89434
|
get() {
|
|
89445
89435
|
if (typeof props.modelValue !== "number")
|
|
@@ -89489,9 +89479,8 @@ const _sfc_main$c = defineComponent$2({
|
|
|
89489
89479
|
layout: {}
|
|
89490
89480
|
},
|
|
89491
89481
|
emits: ["update:modelValue", "closeCard"],
|
|
89492
|
-
setup(__props, { emit:
|
|
89482
|
+
setup(__props, { emit: emits }) {
|
|
89493
89483
|
const props = __props;
|
|
89494
|
-
const emits = __emit;
|
|
89495
89484
|
let cleekOptions2 = ref$1();
|
|
89496
89485
|
const isActive = computed$3({
|
|
89497
89486
|
get() {
|
|
@@ -89569,9 +89558,8 @@ const _sfc_main$b = defineComponent$2({
|
|
|
89569
89558
|
iconPack: {}
|
|
89570
89559
|
},
|
|
89571
89560
|
emits: ["click"],
|
|
89572
|
-
setup(__props, { emit:
|
|
89561
|
+
setup(__props, { emit: emits }) {
|
|
89573
89562
|
const props = __props;
|
|
89574
|
-
const emits = __emit;
|
|
89575
89563
|
const computedClass = computed$3(() => {
|
|
89576
89564
|
const list = [];
|
|
89577
89565
|
if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
|
|
@@ -89624,24 +89612,32 @@ const _sfc_main$a = defineComponent$2({
|
|
|
89624
89612
|
__name: "ck-div",
|
|
89625
89613
|
props: {
|
|
89626
89614
|
widthBreaks: {},
|
|
89627
|
-
block: { type: Boolean }
|
|
89615
|
+
block: { type: Boolean },
|
|
89616
|
+
gap: {}
|
|
89628
89617
|
},
|
|
89629
89618
|
emits: ["click"],
|
|
89630
|
-
setup(__props, { emit:
|
|
89619
|
+
setup(__props, { emit: emits }) {
|
|
89631
89620
|
const props = __props;
|
|
89632
|
-
const emits = __emit;
|
|
89633
89621
|
const { windowWidth } = useWindowWidth();
|
|
89622
|
+
let cleekOptions2 = ref$1();
|
|
89634
89623
|
const computedStyle = computed$3(() => {
|
|
89624
|
+
var _a;
|
|
89635
89625
|
const list = [];
|
|
89636
89626
|
if (props.widthBreaks) {
|
|
89637
89627
|
const width = hooks9.getWidthByWidthBreaks(props.widthBreaks, windowWidth.value);
|
|
89638
89628
|
if (width)
|
|
89639
89629
|
list.push({ width });
|
|
89640
89630
|
}
|
|
89631
|
+
const gap = props.gap || ((_a = cleekOptions2.value) == null ? void 0 : _a.div.gap);
|
|
89632
|
+
if (gap)
|
|
89633
|
+
list.push({ gap });
|
|
89641
89634
|
if (props.block)
|
|
89642
89635
|
list.push({ display: "block" });
|
|
89643
89636
|
return list;
|
|
89644
89637
|
});
|
|
89638
|
+
onMounted$1(() => {
|
|
89639
|
+
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
89640
|
+
});
|
|
89645
89641
|
return (_ctx, _cache) => {
|
|
89646
89642
|
return openBlock$2(), createElementBlock$2("div", {
|
|
89647
89643
|
class: "ck-div",
|
|
@@ -89800,9 +89796,8 @@ const _sfc_main$8 = defineComponent$2({
|
|
|
89800
89796
|
label: {}
|
|
89801
89797
|
},
|
|
89802
89798
|
emits: ["update:modelValue", "change"],
|
|
89803
|
-
setup(__props, { emit:
|
|
89799
|
+
setup(__props, { emit: emits }) {
|
|
89804
89800
|
const props = __props;
|
|
89805
|
-
const emits = __emit;
|
|
89806
89801
|
const value = computed$3({
|
|
89807
89802
|
get() {
|
|
89808
89803
|
return props.modelValue;
|
|
@@ -89921,9 +89916,8 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
89921
89916
|
emptyOptionsMsg: {}
|
|
89922
89917
|
},
|
|
89923
89918
|
emits: ["update:modelValue", "click", "change"],
|
|
89924
|
-
setup(__props, { expose: __expose, emit:
|
|
89919
|
+
setup(__props, { expose: __expose, emit: emits }) {
|
|
89925
89920
|
const props = __props;
|
|
89926
|
-
const emits = __emit;
|
|
89927
89921
|
__expose({
|
|
89928
89922
|
setFocus
|
|
89929
89923
|
});
|
|
@@ -90165,9 +90159,8 @@ const _sfc_main$6 = defineComponent$2({
|
|
|
90165
90159
|
notCloseBtn: { type: Boolean }
|
|
90166
90160
|
},
|
|
90167
90161
|
emits: ["update:modelValue"],
|
|
90168
|
-
setup(__props, { emit:
|
|
90162
|
+
setup(__props, { emit: emits }) {
|
|
90169
90163
|
const props = __props;
|
|
90170
|
-
const emits = __emit;
|
|
90171
90164
|
const isActive = computed$3({
|
|
90172
90165
|
get() {
|
|
90173
90166
|
return props.modelValue;
|
|
@@ -90265,9 +90258,8 @@ const _sfc_main$5 = defineComponent$2({
|
|
|
90265
90258
|
iconPack: {}
|
|
90266
90259
|
},
|
|
90267
90260
|
emits: ["update:modelValue", "click"],
|
|
90268
|
-
setup(__props, { emit:
|
|
90261
|
+
setup(__props, { emit: emits }) {
|
|
90269
90262
|
const props = __props;
|
|
90270
|
-
const emits = __emit;
|
|
90271
90263
|
const value = computed$3({
|
|
90272
90264
|
get() {
|
|
90273
90265
|
return props.modelValue;
|
|
@@ -90365,10 +90357,9 @@ const _sfc_main$4 = defineComponent$2({
|
|
|
90365
90357
|
sameWidthOptions: { type: Boolean }
|
|
90366
90358
|
},
|
|
90367
90359
|
emits: ["update:modelValue", "change"],
|
|
90368
|
-
setup(__props, { emit:
|
|
90369
|
-
const defaultReduceFunction = (option) => option.id;
|
|
90360
|
+
setup(__props, { emit: emits }) {
|
|
90370
90361
|
const props = __props;
|
|
90371
|
-
const
|
|
90362
|
+
const defaultReduceFunction = (option) => option.id;
|
|
90372
90363
|
const { windowWidth } = useWindowWidth();
|
|
90373
90364
|
const selectedOption = computed$3({
|
|
90374
90365
|
get() {
|
|
@@ -90455,9 +90446,8 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90455
90446
|
labelAlign: {}
|
|
90456
90447
|
},
|
|
90457
90448
|
emits: ["update:modelValue", "input", "change", "click"],
|
|
90458
|
-
setup(__props, { emit:
|
|
90449
|
+
setup(__props, { emit: emits }) {
|
|
90459
90450
|
const props = __props;
|
|
90460
|
-
const emits = __emit;
|
|
90461
90451
|
let cleekOptions2 = ref$1();
|
|
90462
90452
|
const refTextarea = ref$1(null);
|
|
90463
90453
|
const { windowWidth } = useWindowWidth();
|