cleek 2.6.107 → 2.6.109
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 +13 -4
- package/dist/cleek.umd.js +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -82758,7 +82758,7 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82758
82758
|
const realBackgroundColor = computed$3(() => {
|
|
82759
82759
|
if (props.backgroundColor)
|
|
82760
82760
|
return props.backgroundColor;
|
|
82761
|
-
if (cleekOptions2.value && props.type)
|
|
82761
|
+
if (cleekOptions2.value && !props.type)
|
|
82762
82762
|
return cleekOptions2.value.button.backgroundColor;
|
|
82763
82763
|
return defaultBackgroundColor;
|
|
82764
82764
|
});
|
|
@@ -82847,7 +82847,7 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82847
82847
|
};
|
|
82848
82848
|
}
|
|
82849
82849
|
});
|
|
82850
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
82850
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-0f00ebc9"]]);
|
|
82851
82851
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82852
82852
|
const _hoisted_1$j = ["for"];
|
|
82853
82853
|
const defaultSize$2 = "m";
|
|
@@ -90200,10 +90200,12 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90200
90200
|
},
|
|
90201
90201
|
emits: ["update:modelValue", "click", "change"],
|
|
90202
90202
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
90203
|
+
const refSelect = ref$1(null);
|
|
90203
90204
|
const props = __props;
|
|
90204
90205
|
const emits = __emit;
|
|
90205
90206
|
__expose({
|
|
90206
|
-
setFocus
|
|
90207
|
+
setFocus,
|
|
90208
|
+
click
|
|
90207
90209
|
});
|
|
90208
90210
|
let cleekOptions2 = ref$1();
|
|
90209
90211
|
const { windowWidth } = useWindowWidth();
|
|
@@ -90374,6 +90376,11 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90374
90376
|
function setClearValue() {
|
|
90375
90377
|
value.value = realClearValue.value;
|
|
90376
90378
|
}
|
|
90379
|
+
function click() {
|
|
90380
|
+
if (!refSelect.value)
|
|
90381
|
+
return;
|
|
90382
|
+
refSelect.value.click();
|
|
90383
|
+
}
|
|
90377
90384
|
function setFocus() {
|
|
90378
90385
|
}
|
|
90379
90386
|
onMounted$1(() => {
|
|
@@ -90416,6 +90423,8 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90416
90423
|
_: 1
|
|
90417
90424
|
}, 8, ["align"])) : createCommentVNode$2("", true),
|
|
90418
90425
|
withDirectives$1(createElementVNode("select", {
|
|
90426
|
+
ref_key: "refSelect",
|
|
90427
|
+
ref: refSelect,
|
|
90419
90428
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
|
|
90420
90429
|
class: normalizeClass$2(computedClassSelect.value),
|
|
90421
90430
|
style: normalizeStyle$2(computedStyleSelect.value),
|
|
@@ -90436,7 +90445,7 @@ const _sfc_main$7 = defineComponent$2({
|
|
|
90436
90445
|
};
|
|
90437
90446
|
}
|
|
90438
90447
|
});
|
|
90439
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
90448
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-16dca429"]]);
|
|
90440
90449
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
90441
90450
|
const _hoisted_1$6 = {
|
|
90442
90451
|
key: 0,
|