cleek 2.7.3 → 2.7.5
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 +14 -16
- package/dist/cleek.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -90409,21 +90409,19 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90409
90409
|
const valueIsDefault = computed$3(() => {
|
|
90410
90410
|
if (logicClearValue.value !== "auto")
|
|
90411
90411
|
return value.value === logicClearValue.value;
|
|
90412
|
-
|
|
90413
|
-
|
|
90414
|
-
|
|
90415
|
-
|
|
90416
|
-
|
|
90417
|
-
|
|
90418
|
-
|
|
90419
|
-
|
|
90420
|
-
|
|
90421
|
-
|
|
90422
|
-
|
|
90423
|
-
|
|
90424
|
-
|
|
90425
|
-
return props.modelValue === null;
|
|
90426
|
-
}
|
|
90412
|
+
const currentValue = props.modelValue;
|
|
90413
|
+
if (typeof currentValue === "number")
|
|
90414
|
+
return currentValue === 0;
|
|
90415
|
+
if (typeof currentValue === "string")
|
|
90416
|
+
return currentValue === "";
|
|
90417
|
+
if (typeof currentValue === "object") {
|
|
90418
|
+
if (!currentValue)
|
|
90419
|
+
return currentValue === null;
|
|
90420
|
+
if (Array.isArray(currentValue))
|
|
90421
|
+
return currentValue.length === 0;
|
|
90422
|
+
return Object.keys(currentValue).length === 0;
|
|
90423
|
+
}
|
|
90424
|
+
return currentValue === null;
|
|
90427
90425
|
});
|
|
90428
90426
|
const isPlaceholderVisible = computed$3(() => {
|
|
90429
90427
|
if (!props.placeholder)
|
|
@@ -90520,7 +90518,7 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90520
90518
|
};
|
|
90521
90519
|
}
|
|
90522
90520
|
});
|
|
90523
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
90521
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2d01c17a"]]);
|
|
90524
90522
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90525
90523
|
const _hoisted_1$6 = {
|
|
90526
90524
|
key: 0,
|