cleek 2.6.78 → 2.6.80

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 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: emits }) {
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: emits }) {
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)
@@ -82660,6 +82662,7 @@ const _sfc_main$o = defineComponent$2({
82660
82662
  isLoading: { type: Boolean },
82661
82663
  type: {},
82662
82664
  color: {},
82665
+ backgroundColor: {},
82663
82666
  align: {},
82664
82667
  size: {},
82665
82668
  width: {},
@@ -82674,8 +82677,9 @@ const _sfc_main$o = defineComponent$2({
82674
82677
  groupVertical: {}
82675
82678
  },
82676
82679
  emits: ["click"],
82677
- setup(__props, { emit: emits }) {
82680
+ setup(__props, { emit: __emit }) {
82678
82681
  const props = __props;
82682
+ const emits = __emit;
82679
82683
  const { windowWidth } = useWindowWidth();
82680
82684
  let cleekOptions2 = ref$1();
82681
82685
  const realButtonType = computed$3(() => {
@@ -82769,7 +82773,7 @@ const _sfc_main$o = defineComponent$2({
82769
82773
  };
82770
82774
  }
82771
82775
  });
82772
- var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-c080c6b8"]]);
82776
+ var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-88a11642"]]);
82773
82777
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
82774
82778
  const _hoisted_1$i = ["for"];
82775
82779
  const defaultSize$2 = "m";
@@ -82839,8 +82843,9 @@ const _sfc_main$m = defineComponent$2({
82839
82843
  justInteger: { type: Boolean }
82840
82844
  },
82841
82845
  emits: ["update:modelValue", "click", "input", "change", "focus", "blur", "delayChange"],
82842
- setup(__props, { expose: __expose, emit: emits }) {
82846
+ setup(__props, { expose: __expose, emit: __emit }) {
82843
82847
  const props = __props;
82848
+ const emits = __emit;
82844
82849
  __expose({ setFocus, setSelect });
82845
82850
  let cleekOptions2 = ref$1();
82846
82851
  const realInput = ref$1(null);
@@ -83052,8 +83057,9 @@ const _sfc_main$l = defineComponent$2({
83052
83057
  version: {}
83053
83058
  },
83054
83059
  emits: ["update:search", "refreshList", "openColumnsManager"],
83055
- setup(__props, { emit: emits }) {
83060
+ setup(__props, { emit: __emit }) {
83056
83061
  const props = __props;
83062
+ const emits = __emit;
83057
83063
  const searchLocal = computed$3({
83058
83064
  get() {
83059
83065
  return props.search;
@@ -83173,8 +83179,9 @@ const _sfc_main$k = defineComponent$2({
83173
83179
  layout: {}
83174
83180
  },
83175
83181
  emits: ["refreshList", "update:currentPage"],
83176
- setup(__props, { emit: emits }) {
83182
+ setup(__props, { emit: __emit }) {
83177
83183
  const props = __props;
83184
+ const emits = __emit;
83178
83185
  let cleekOptions2 = ref$1();
83179
83186
  const currentPageLocal = computed$3({
83180
83187
  get() {
@@ -83580,8 +83587,9 @@ const _sfc_main$j = defineComponent$2({
83580
83587
  disabled: { type: Boolean }
83581
83588
  },
83582
83589
  emits: ["update:modelValue", "change"],
83583
- setup(__props, { emit: emits }) {
83590
+ setup(__props, { emit: __emit }) {
83584
83591
  const props = __props;
83592
+ const emits = __emit;
83585
83593
  const value = computed({
83586
83594
  get() {
83587
83595
  return props.modelValue;
@@ -83663,6 +83671,7 @@ const _sfc_main$i = defineComponent$2({
83663
83671
  notCloseByBg: { type: Boolean },
83664
83672
  notClose: { type: Boolean },
83665
83673
  preventCloseOnCancel: { type: Boolean },
83674
+ isLoading: { type: Boolean },
83666
83675
  width: {},
83667
83676
  maxWidth: {},
83668
83677
  layout: {},
@@ -83672,8 +83681,9 @@ const _sfc_main$i = defineComponent$2({
83672
83681
  fontSize: {}
83673
83682
  },
83674
83683
  emits: ["update:modelValue", "cancel", "accept"],
83675
- setup(__props, { emit: emits }) {
83684
+ setup(__props, { emit: __emit }) {
83676
83685
  const props = __props;
83686
+ const emits = __emit;
83677
83687
  let cleekOptions2 = ref$1();
83678
83688
  const isActive = computed$3({
83679
83689
  get() {
@@ -83842,13 +83852,14 @@ const _sfc_main$i = defineComponent$2({
83842
83852
  _ctx.confirmButtons || _ctx.acceptButton ? (openBlock$2(), createBlock$2(CkButton, {
83843
83853
  key: 1,
83844
83854
  type: realAcceptBtnType.value,
83855
+ isLoading: _ctx.isLoading,
83845
83856
  onClick: _cache[2] || (_cache[2] = ($event) => onAccept())
83846
83857
  }, {
83847
83858
  default: withCtx$2(() => [
83848
83859
  createTextVNode$2(toDisplayString$1(realAcceptBtnText.value), 1)
83849
83860
  ]),
83850
83861
  _: 1
83851
- }, 8, ["type"])) : createCommentVNode$2("", true)
83862
+ }, 8, ["type", "isLoading"])) : createCommentVNode$2("", true)
83852
83863
  ])) : createCommentVNode$2("", true)
83853
83864
  ])) : createCommentVNode$2("", true)
83854
83865
  ], 38)
@@ -83868,8 +83879,9 @@ const _sfc_main$h = defineComponent$2({
83868
83879
  columnsArray: {}
83869
83880
  },
83870
83881
  emits: ["update:modelValue"],
83871
- setup(__props, { emit: emits }) {
83882
+ setup(__props, { emit: __emit }) {
83872
83883
  const props = __props;
83884
+ const emits = __emit;
83873
83885
  let columnsCheckable = ref$1([]);
83874
83886
  const isActive = computed$3({
83875
83887
  get() {
@@ -83978,8 +83990,9 @@ const _sfc_main$g = defineComponent$2({
83978
83990
  mobileMaxWidth: {}
83979
83991
  },
83980
83992
  emits: ["refreshList", "update:search", "update:currentPage"],
83981
- setup(__props, { emit: emits }) {
83993
+ setup(__props, { emit: __emit }) {
83982
83994
  const props = __props;
83995
+ const emits = __emit;
83983
83996
  let cleekOptions2 = ref$1();
83984
83997
  const { windowWidth } = useWindowWidth();
83985
83998
  const isPopupActive = ref$1({
@@ -84203,8 +84216,9 @@ const _sfc_main$f = defineComponent$2({
84203
84216
  align: {}
84204
84217
  },
84205
84218
  emits: ["update:modelValue"],
84206
- setup(__props, { emit: emits }) {
84219
+ setup(__props, { emit: __emit }) {
84207
84220
  const props = __props;
84221
+ const emits = __emit;
84208
84222
  const currentStep = computed$3({
84209
84223
  get() {
84210
84224
  return props.modelValue;
@@ -89351,8 +89365,9 @@ const _sfc_main$e = defineComponent$2({
89351
89365
  groupVertical: {}
89352
89366
  },
89353
89367
  emits: ["update:modelValue", "change"],
89354
- setup(__props, { emit: emits }) {
89368
+ setup(__props, { emit: __emit }) {
89355
89369
  const props = __props;
89370
+ const emits = __emit;
89356
89371
  const { windowWidth } = useWindowWidth();
89357
89372
  const refFocusAbsorber = ref$1(null);
89358
89373
  const inputValue = computed$3({
@@ -89428,8 +89443,9 @@ const _sfc_main$d = defineComponent$2({
89428
89443
  groupVertical: {}
89429
89444
  },
89430
89445
  emits: ["update:modelValue", "change"],
89431
- setup(__props, { emit: emits }) {
89446
+ setup(__props, { emit: __emit }) {
89432
89447
  const props = __props;
89448
+ const emits = __emit;
89433
89449
  const inputValue = computed$3({
89434
89450
  get() {
89435
89451
  if (typeof props.modelValue !== "number")
@@ -89479,8 +89495,9 @@ const _sfc_main$c = defineComponent$2({
89479
89495
  layout: {}
89480
89496
  },
89481
89497
  emits: ["update:modelValue", "closeCard"],
89482
- setup(__props, { emit: emits }) {
89498
+ setup(__props, { emit: __emit }) {
89483
89499
  const props = __props;
89500
+ const emits = __emit;
89484
89501
  let cleekOptions2 = ref$1();
89485
89502
  const isActive = computed$3({
89486
89503
  get() {
@@ -89558,8 +89575,9 @@ const _sfc_main$b = defineComponent$2({
89558
89575
  iconPack: {}
89559
89576
  },
89560
89577
  emits: ["click"],
89561
- setup(__props, { emit: emits }) {
89578
+ setup(__props, { emit: __emit }) {
89562
89579
  const props = __props;
89580
+ const emits = __emit;
89563
89581
  const computedClass = computed$3(() => {
89564
89582
  const list = [];
89565
89583
  if (!props.color || hooks9.isColorTemplateVariable(props.color)) {
@@ -89616,8 +89634,9 @@ const _sfc_main$a = defineComponent$2({
89616
89634
  gap: {}
89617
89635
  },
89618
89636
  emits: ["click"],
89619
- setup(__props, { emit: emits }) {
89637
+ setup(__props, { emit: __emit }) {
89620
89638
  const props = __props;
89639
+ const emits = __emit;
89621
89640
  const { windowWidth } = useWindowWidth();
89622
89641
  let cleekOptions2 = ref$1();
89623
89642
  const computedStyle = computed$3(() => {
@@ -89792,8 +89811,9 @@ const _sfc_main$8 = defineComponent$2({
89792
89811
  label: {}
89793
89812
  },
89794
89813
  emits: ["update:modelValue", "change"],
89795
- setup(__props, { emit: emits }) {
89814
+ setup(__props, { emit: __emit }) {
89796
89815
  const props = __props;
89816
+ const emits = __emit;
89797
89817
  const value = computed$3({
89798
89818
  get() {
89799
89819
  return props.modelValue;
@@ -89912,8 +89932,9 @@ const _sfc_main$7 = defineComponent$2({
89912
89932
  emptyOptionsMsg: {}
89913
89933
  },
89914
89934
  emits: ["update:modelValue", "click", "change"],
89915
- setup(__props, { expose: __expose, emit: emits }) {
89935
+ setup(__props, { expose: __expose, emit: __emit }) {
89916
89936
  const props = __props;
89937
+ const emits = __emit;
89917
89938
  __expose({
89918
89939
  setFocus
89919
89940
  });
@@ -90155,8 +90176,9 @@ const _sfc_main$6 = defineComponent$2({
90155
90176
  notCloseBtn: { type: Boolean }
90156
90177
  },
90157
90178
  emits: ["update:modelValue"],
90158
- setup(__props, { emit: emits }) {
90179
+ setup(__props, { emit: __emit }) {
90159
90180
  const props = __props;
90181
+ const emits = __emit;
90160
90182
  const isActive = computed$3({
90161
90183
  get() {
90162
90184
  return props.modelValue;
@@ -90254,8 +90276,9 @@ const _sfc_main$5 = defineComponent$2({
90254
90276
  iconPack: {}
90255
90277
  },
90256
90278
  emits: ["update:modelValue", "click"],
90257
- setup(__props, { emit: emits }) {
90279
+ setup(__props, { emit: __emit }) {
90258
90280
  const props = __props;
90281
+ const emits = __emit;
90259
90282
  const value = computed$3({
90260
90283
  get() {
90261
90284
  return props.modelValue;
@@ -90353,9 +90376,10 @@ const _sfc_main$4 = defineComponent$2({
90353
90376
  sameWidthOptions: { type: Boolean }
90354
90377
  },
90355
90378
  emits: ["update:modelValue", "change"],
90356
- setup(__props, { emit: emits }) {
90357
- const props = __props;
90379
+ setup(__props, { emit: __emit }) {
90358
90380
  const defaultReduceFunction = (option) => option.id;
90381
+ const props = __props;
90382
+ const emits = __emit;
90359
90383
  const { windowWidth } = useWindowWidth();
90360
90384
  const selectedOption = computed$3({
90361
90385
  get() {
@@ -90442,8 +90466,9 @@ const _sfc_main$3 = defineComponent$2({
90442
90466
  labelAlign: {}
90443
90467
  },
90444
90468
  emits: ["update:modelValue", "input", "change", "click"],
90445
- setup(__props, { emit: emits }) {
90469
+ setup(__props, { emit: __emit }) {
90446
90470
  const props = __props;
90471
+ const emits = __emit;
90447
90472
  let cleekOptions2 = ref$1();
90448
90473
  const refTextarea = ref$1(null);
90449
90474
  const { windowWidth } = useWindowWidth();