cleek 2.7.7 → 2.7.9

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
@@ -27369,10 +27369,10 @@ const _hoisted_2$1$2 = {
27369
27369
  ref: "inner",
27370
27370
  class: "v-popper__inner"
27371
27371
  };
27372
- const _hoisted_3$a = /* @__PURE__ */ createBaseVNode$1("div", { class: "v-popper__arrow-outer" }, null, -1);
27372
+ const _hoisted_3$a$1 = /* @__PURE__ */ createBaseVNode$1("div", { class: "v-popper__arrow-outer" }, null, -1);
27373
27373
  const _hoisted_4$8 = /* @__PURE__ */ createBaseVNode$1("div", { class: "v-popper__arrow-inner" }, null, -1);
27374
27374
  const _hoisted_5$5 = [
27375
- _hoisted_3$a,
27375
+ _hoisted_3$a$1,
27376
27376
  _hoisted_4$8
27377
27377
  ];
27378
27378
  function _sfc_render$2$1(_ctx, _cache, $props, $setup, $data, $options) {
@@ -82905,8 +82905,9 @@ const _sfc_main$o = defineComponent$2({
82905
82905
  });
82906
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
- const _hoisted_1$i = ["autocomplete", "placeholder", "disabled"];
82909
- const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
82908
+ const _hoisted_1$i = { class: "ck-input__content" };
82909
+ const _hoisted_2$c = ["autocomplete", "placeholder", "disabled"];
82910
+ const _hoisted_3$a = ["autocomplete", "type", "placeholder", "disabled"];
82910
82911
  const defaultType = "text";
82911
82912
  const plusMinusButtonsDefaultWithInput = "120px";
82912
82913
  const plusMinusButtonsDefaultAlign = "center";
@@ -82962,9 +82963,9 @@ const _sfc_main$n = defineComponent$2({
82962
82963
  val = qmStr.capitalize(`${val}`);
82963
82964
  if (props.justInteger)
82964
82965
  val = parseInt(`${+val}`);
82965
- if (props.min && +val < +props.min)
82966
+ if (typeof props.min !== "undefined" && +val < +props.min)
82966
82967
  val = +props.min;
82967
- if (props.max && +val > +props.max)
82968
+ if (typeof props.max !== "undefined" && +val > +props.max)
82968
82969
  val = +props.max;
82969
82970
  emits("update:modelValue", val);
82970
82971
  checkSearchTime(val);
@@ -83099,90 +83100,92 @@ const _sfc_main$n = defineComponent$2({
83099
83100
  ]),
83100
83101
  _: 1
83101
83102
  }, 8, ["size", "align"])) : createCommentVNode$2("", true),
83102
- _ctx.icon ? (openBlock$2(), createBlock$2(CkIcon, {
83103
- key: 1,
83104
- class: "ck-input__icon-left",
83105
- color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
83106
- icon: _ctx.icon,
83107
- "icon-pack": _ctx.iconPack,
83108
- size: "s"
83109
- }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true),
83110
- _ctx.plusMinusButtons ? (openBlock$2(), createBlock$2(_component_ck_button, {
83111
- key: 2,
83112
- size: "s",
83113
- icon: "minus",
83114
- group: "left",
83115
- type: "filled",
83116
- class: "ck-input-plus-minus-buttons",
83117
- onClick: _cache[0] || (_cache[0] = ($event) => value.value = +value.value - 1)
83118
- })) : createCommentVNode$2("", true),
83119
- isShowingPassword.value ? withDirectives$1((openBlock$2(), createElementBlock$2("input", {
83120
- key: 3,
83121
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
83122
- ref_key: "realInput",
83123
- ref: realInput,
83124
- type: "text",
83125
- autocomplete: _ctx.autocomplete ? "on" : "off",
83126
- placeholder: _ctx.placeholder,
83127
- class: normalizeClass$2(computedClassInput.value),
83128
- style: normalizeStyle$2(computedStyleInput.value),
83129
- disabled: _ctx.disabled,
83130
- onChange: _cache[2] || (_cache[2] = ($event) => onChange2($event)),
83131
- onInput: _cache[3] || (_cache[3] = ($event) => onInput($event)),
83132
- onClick: _cache[4] || (_cache[4] = ($event) => onClick($event)),
83133
- onFocus: _cache[5] || (_cache[5] = ($event) => emits("focus", $event)),
83134
- onBlur: _cache[6] || (_cache[6] = ($event) => emits("blur", $event))
83135
- }, null, 46, _hoisted_1$i)), [
83136
- [vModelText, value.value]
83137
- ]) : withDirectives$1((openBlock$2(), createElementBlock$2("input", {
83138
- key: 4,
83139
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => value.value = $event),
83140
- ref_key: "realInput",
83141
- ref: realInput,
83142
- autocomplete: _ctx.autocomplete ? "on" : "off",
83143
- type: _ctx.type || defaultType,
83144
- placeholder: _ctx.placeholder,
83145
- class: normalizeClass$2(computedClassInput.value),
83146
- style: normalizeStyle$2(computedStyleInput.value),
83147
- disabled: _ctx.disabled,
83148
- onChange: _cache[8] || (_cache[8] = ($event) => onChange2($event)),
83149
- onInput: _cache[9] || (_cache[9] = ($event) => onInput($event)),
83150
- onClick: _cache[10] || (_cache[10] = ($event) => onClick($event)),
83151
- onFocus: _cache[11] || (_cache[11] = ($event) => emits("focus", $event)),
83152
- onBlur: _cache[12] || (_cache[12] = ($event) => emits("blur", $event))
83153
- }, null, 46, _hoisted_2$c)), [
83154
- [vModelDynamic, value.value]
83155
- ]),
83156
- _ctx.type === "password" ? (openBlock$2(), createElementBlock$2("div", {
83157
- key: 5,
83158
- class: normalizeClass$2(["show-password", _ctx.layout || ((_a = unref$3(cleekOptions2)) == null ? void 0 : _a.styles.layout)]),
83159
- onClick: _cache[13] || (_cache[13] = ($event) => isShowingPassword.value = !isShowingPassword.value)
83160
- }, [
83161
- createVNode$2(CkIcon, {
83162
- icon: isShowingPassword.value ? "eye-slash" : "eye"
83163
- }, null, 8, ["icon"])
83164
- ], 2)) : createCommentVNode$2("", true),
83165
- _ctx.iconRight && _ctx.type !== "password" ? (openBlock$2(), createBlock$2(CkIcon, {
83166
- key: 6,
83167
- class: "ck-input__icon-right",
83168
- color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
83169
- icon: _ctx.iconRight,
83170
- "icon-pack": _ctx.iconPack
83171
- }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true),
83172
- _ctx.plusMinusButtons ? (openBlock$2(), createBlock$2(_component_ck_button, {
83173
- key: 7,
83174
- size: "s",
83175
- icon: "plus",
83176
- group: "right",
83177
- type: "filled",
83178
- class: "ck-input-plus-minus-buttons",
83179
- onClick: _cache[14] || (_cache[14] = ($event) => value.value = +value.value + 1)
83180
- })) : createCommentVNode$2("", true)
83103
+ createElementVNode("div", _hoisted_1$i, [
83104
+ _ctx.plusMinusButtons ? (openBlock$2(), createBlock$2(_component_ck_button, {
83105
+ key: 0,
83106
+ size: "s",
83107
+ icon: "minus",
83108
+ group: "left",
83109
+ type: "filled",
83110
+ class: "ck-input-plus-minus-buttons",
83111
+ onClick: _cache[0] || (_cache[0] = ($event) => value.value = +value.value - 1)
83112
+ })) : createCommentVNode$2("", true),
83113
+ _ctx.icon ? (openBlock$2(), createBlock$2(CkIcon, {
83114
+ key: 1,
83115
+ class: "ck-input__icon-left",
83116
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
83117
+ icon: _ctx.icon,
83118
+ "icon-pack": _ctx.iconPack,
83119
+ size: "s"
83120
+ }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true),
83121
+ isShowingPassword.value ? withDirectives$1((openBlock$2(), createElementBlock$2("input", {
83122
+ key: 2,
83123
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
83124
+ ref_key: "realInput",
83125
+ ref: realInput,
83126
+ type: "text",
83127
+ autocomplete: _ctx.autocomplete ? "on" : "off",
83128
+ placeholder: _ctx.placeholder,
83129
+ class: normalizeClass$2(computedClassInput.value),
83130
+ style: normalizeStyle$2(computedStyleInput.value),
83131
+ disabled: _ctx.disabled,
83132
+ onChange: _cache[2] || (_cache[2] = ($event) => onChange2($event)),
83133
+ onInput: _cache[3] || (_cache[3] = ($event) => onInput($event)),
83134
+ onClick: _cache[4] || (_cache[4] = ($event) => onClick($event)),
83135
+ onFocus: _cache[5] || (_cache[5] = ($event) => emits("focus", $event)),
83136
+ onBlur: _cache[6] || (_cache[6] = ($event) => emits("blur", $event))
83137
+ }, null, 46, _hoisted_2$c)), [
83138
+ [vModelText, value.value]
83139
+ ]) : withDirectives$1((openBlock$2(), createElementBlock$2("input", {
83140
+ key: 3,
83141
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => value.value = $event),
83142
+ ref_key: "realInput",
83143
+ ref: realInput,
83144
+ autocomplete: _ctx.autocomplete ? "on" : "off",
83145
+ type: _ctx.type || defaultType,
83146
+ placeholder: _ctx.placeholder,
83147
+ class: normalizeClass$2(computedClassInput.value),
83148
+ style: normalizeStyle$2(computedStyleInput.value),
83149
+ disabled: _ctx.disabled,
83150
+ onChange: _cache[8] || (_cache[8] = ($event) => onChange2($event)),
83151
+ onInput: _cache[9] || (_cache[9] = ($event) => onInput($event)),
83152
+ onClick: _cache[10] || (_cache[10] = ($event) => onClick($event)),
83153
+ onFocus: _cache[11] || (_cache[11] = ($event) => emits("focus", $event)),
83154
+ onBlur: _cache[12] || (_cache[12] = ($event) => emits("blur", $event))
83155
+ }, null, 46, _hoisted_3$a)), [
83156
+ [vModelDynamic, value.value]
83157
+ ]),
83158
+ _ctx.type === "password" ? (openBlock$2(), createElementBlock$2("div", {
83159
+ key: 4,
83160
+ class: normalizeClass$2(["show-password", _ctx.layout || ((_a = unref$3(cleekOptions2)) == null ? void 0 : _a.styles.layout)]),
83161
+ onClick: _cache[13] || (_cache[13] = ($event) => isShowingPassword.value = !isShowingPassword.value)
83162
+ }, [
83163
+ createVNode$2(CkIcon, {
83164
+ icon: isShowingPassword.value ? "eye-slash" : "eye"
83165
+ }, null, 8, ["icon"])
83166
+ ], 2)) : createCommentVNode$2("", true),
83167
+ _ctx.iconRight && _ctx.type !== "password" ? (openBlock$2(), createBlock$2(CkIcon, {
83168
+ key: 5,
83169
+ class: "ck-input__icon-right",
83170
+ color: _ctx.iconColor ? _ctx.iconColor : "lightgrey",
83171
+ icon: _ctx.iconRight,
83172
+ "icon-pack": _ctx.iconPack
83173
+ }, null, 8, ["color", "icon", "icon-pack"])) : createCommentVNode$2("", true),
83174
+ _ctx.plusMinusButtons ? (openBlock$2(), createBlock$2(_component_ck_button, {
83175
+ key: 6,
83176
+ size: "s",
83177
+ icon: "plus",
83178
+ group: "right",
83179
+ type: "filled",
83180
+ class: "ck-input-plus-minus-buttons",
83181
+ onClick: _cache[14] || (_cache[14] = ($event) => value.value = +value.value + 1)
83182
+ })) : createCommentVNode$2("", true)
83183
+ ])
83181
83184
  ], 4);
83182
83185
  };
83183
83186
  }
83184
83187
  });
83185
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b58d67ca"]]);
83188
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-9e41a4a6"]]);
83186
83189
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
83187
83190
  const _sfc_main$m = defineComponent$2({
83188
83191
  __name: "ck-table__header-items",