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 +89 -86
- package/dist/cleek.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
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 =
|
|
82909
|
-
const _hoisted_2$c = ["autocomplete", "
|
|
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
|
-
|
|
83103
|
-
|
|
83104
|
-
|
|
83105
|
-
|
|
83106
|
-
|
|
83107
|
-
|
|
83108
|
-
|
|
83109
|
-
|
|
83110
|
-
|
|
83111
|
-
|
|
83112
|
-
|
|
83113
|
-
|
|
83114
|
-
|
|
83115
|
-
|
|
83116
|
-
|
|
83117
|
-
|
|
83118
|
-
|
|
83119
|
-
|
|
83120
|
-
|
|
83121
|
-
|
|
83122
|
-
|
|
83123
|
-
|
|
83124
|
-
|
|
83125
|
-
|
|
83126
|
-
|
|
83127
|
-
|
|
83128
|
-
|
|
83129
|
-
|
|
83130
|
-
|
|
83131
|
-
|
|
83132
|
-
|
|
83133
|
-
|
|
83134
|
-
|
|
83135
|
-
|
|
83136
|
-
|
|
83137
|
-
|
|
83138
|
-
|
|
83139
|
-
|
|
83140
|
-
|
|
83141
|
-
|
|
83142
|
-
|
|
83143
|
-
|
|
83144
|
-
|
|
83145
|
-
|
|
83146
|
-
|
|
83147
|
-
|
|
83148
|
-
|
|
83149
|
-
|
|
83150
|
-
|
|
83151
|
-
|
|
83152
|
-
|
|
83153
|
-
|
|
83154
|
-
|
|
83155
|
-
|
|
83156
|
-
|
|
83157
|
-
|
|
83158
|
-
|
|
83159
|
-
|
|
83160
|
-
|
|
83161
|
-
|
|
83162
|
-
|
|
83163
|
-
|
|
83164
|
-
|
|
83165
|
-
|
|
83166
|
-
|
|
83167
|
-
|
|
83168
|
-
|
|
83169
|
-
|
|
83170
|
-
|
|
83171
|
-
|
|
83172
|
-
|
|
83173
|
-
|
|
83174
|
-
|
|
83175
|
-
|
|
83176
|
-
|
|
83177
|
-
|
|
83178
|
-
|
|
83179
|
-
|
|
83180
|
-
|
|
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-
|
|
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",
|