cleek 2.7.2 → 2.7.3
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 +15 -7
- package/dist/cleek.umd.js +20 -20
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -82908,7 +82908,7 @@ var ckInput_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
82908
82908
|
const _hoisted_1$i = ["autocomplete", "placeholder", "disabled"];
|
|
82909
82909
|
const _hoisted_2$c = ["autocomplete", "type", "placeholder", "disabled"];
|
|
82910
82910
|
const defaultType = "text";
|
|
82911
|
-
const defaultDelayChangeTime = 300;
|
|
82911
|
+
const defaultDelayChangeTime$1 = 300;
|
|
82912
82912
|
const _sfc_main$n = defineComponent$2({
|
|
82913
82913
|
__name: "ck-input",
|
|
82914
82914
|
props: {
|
|
@@ -83051,10 +83051,9 @@ const _sfc_main$n = defineComponent$2({
|
|
|
83051
83051
|
}
|
|
83052
83052
|
function checkSearchTime(oldValue) {
|
|
83053
83053
|
setTimeout(() => {
|
|
83054
|
-
if (value.value === oldValue)
|
|
83054
|
+
if (value.value === oldValue)
|
|
83055
83055
|
emits("delayChange", oldValue);
|
|
83056
|
-
|
|
83057
|
-
}, props.delayChangeTime || defaultDelayChangeTime);
|
|
83056
|
+
}, props.delayChangeTime || defaultDelayChangeTime$1);
|
|
83058
83057
|
}
|
|
83059
83058
|
onMounted$1(() => {
|
|
83060
83059
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
@@ -83143,7 +83142,7 @@ const _sfc_main$n = defineComponent$2({
|
|
|
83143
83142
|
};
|
|
83144
83143
|
}
|
|
83145
83144
|
});
|
|
83146
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
83145
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-4fa8d186"]]);
|
|
83147
83146
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
83148
83147
|
const _sfc_main$m = defineComponent$2({
|
|
83149
83148
|
__name: "ck-table__header-items",
|
|
@@ -90815,6 +90814,7 @@ var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "d
|
|
|
90815
90814
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90816
90815
|
const _hoisted_1$3 = { class: "ck-textarea" };
|
|
90817
90816
|
const _hoisted_2$2 = ["placeholder", "disabled"];
|
|
90817
|
+
const defaultDelayChangeTime = 300;
|
|
90818
90818
|
const _sfc_main$3 = defineComponent$2({
|
|
90819
90819
|
__name: "ck-textarea",
|
|
90820
90820
|
props: {
|
|
@@ -90834,10 +90834,11 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90834
90834
|
height: {},
|
|
90835
90835
|
capitalize: { type: Boolean },
|
|
90836
90836
|
autoSelect: { type: Boolean },
|
|
90837
|
+
delayChangeTime: {},
|
|
90837
90838
|
label: {},
|
|
90838
90839
|
labelAlign: {}
|
|
90839
90840
|
},
|
|
90840
|
-
emits: ["update:modelValue", "input", "change", "click"],
|
|
90841
|
+
emits: ["update:modelValue", "input", "change", "click", "delayChange"],
|
|
90841
90842
|
setup(__props, { emit: emits }) {
|
|
90842
90843
|
const props = __props;
|
|
90843
90844
|
let cleekOptions2 = ref$1();
|
|
@@ -90851,6 +90852,7 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90851
90852
|
if (props.capitalize)
|
|
90852
90853
|
val = qmStr.capitalize(val);
|
|
90853
90854
|
emits("update:modelValue", val);
|
|
90855
|
+
checkSearchTime(val);
|
|
90854
90856
|
}
|
|
90855
90857
|
});
|
|
90856
90858
|
const computedClassTextarea = computed$3(() => {
|
|
@@ -90902,6 +90904,12 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90902
90904
|
const onChange2 = (event) => {
|
|
90903
90905
|
emits("change", event);
|
|
90904
90906
|
};
|
|
90907
|
+
function checkSearchTime(oldValue) {
|
|
90908
|
+
setTimeout(() => {
|
|
90909
|
+
if (inputValue.value === oldValue)
|
|
90910
|
+
emits("delayChange", oldValue);
|
|
90911
|
+
}, props.delayChangeTime || defaultDelayChangeTime);
|
|
90912
|
+
}
|
|
90905
90913
|
onMounted$1(() => {
|
|
90906
90914
|
cleekOptions2.value = hooks9.getCleekOptions(getCurrentInstance$1);
|
|
90907
90915
|
});
|
|
@@ -90934,7 +90942,7 @@ const _sfc_main$3 = defineComponent$2({
|
|
|
90934
90942
|
};
|
|
90935
90943
|
}
|
|
90936
90944
|
});
|
|
90937
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
90945
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-62b15b6a"]]);
|
|
90938
90946
|
var _imports_0 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNy43LjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNFQTRCNEI7fQ0KPC9zdHlsZ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