cleek 2.4.13 → 2.4.16
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 +10 -6
- package/dist/cleek.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -23418,7 +23418,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23418
23418
|
emits: ["update:modelValue"],
|
|
23419
23419
|
setup(__props, { emit: emits }) {
|
|
23420
23420
|
const props = __props;
|
|
23421
|
-
let cleekOptions2;
|
|
23421
|
+
let cleekOptions2 = ref();
|
|
23422
23422
|
const value = computed$2({
|
|
23423
23423
|
get() {
|
|
23424
23424
|
return props.modelValue;
|
|
@@ -23428,26 +23428,30 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23428
23428
|
}
|
|
23429
23429
|
});
|
|
23430
23430
|
const computedClassTextarea = computed$2(() => {
|
|
23431
|
+
var _a, _b, _c, _d;
|
|
23431
23432
|
const list = [];
|
|
23432
|
-
const layout =
|
|
23433
|
+
const layout = props.layout || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.styles) == null ? void 0 : _b.layout);
|
|
23433
23434
|
if (layout)
|
|
23434
23435
|
list.push(layout);
|
|
23435
|
-
const borderColor =
|
|
23436
|
+
const borderColor = props.borderColor || ((_d = (_c = cleekOptions2.value) == null ? void 0 : _c.styles) == null ? void 0 : _d.borderColor);
|
|
23437
|
+
console.log("textarea", borderColor);
|
|
23438
|
+
console.log("cleekOptions", cleekOptions2.value);
|
|
23436
23439
|
if (borderColor && hooks8.isColorTemplateVariable(borderColor)) {
|
|
23437
23440
|
list.push(`ck-component__border-color--${borderColor}`);
|
|
23438
23441
|
}
|
|
23439
23442
|
return list;
|
|
23440
23443
|
});
|
|
23441
23444
|
const computedStyleTextarea = computed$2(() => {
|
|
23445
|
+
var _a, _b;
|
|
23442
23446
|
const list = [];
|
|
23443
|
-
const borderColor =
|
|
23447
|
+
const borderColor = props.borderColor || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.styles) == null ? void 0 : _b.borderColor);
|
|
23444
23448
|
if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
|
|
23445
23449
|
list.push({ "border-color": borderColor });
|
|
23446
23450
|
}
|
|
23447
23451
|
return list;
|
|
23448
23452
|
});
|
|
23449
23453
|
onMounted(() => {
|
|
23450
|
-
cleekOptions2 = hooks8.getCleekOptions(getCurrentInstance);
|
|
23454
|
+
cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
|
|
23451
23455
|
});
|
|
23452
23456
|
return (_ctx, _cache) => {
|
|
23453
23457
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
@@ -23471,7 +23475,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
23471
23475
|
};
|
|
23472
23476
|
}
|
|
23473
23477
|
});
|
|
23474
|
-
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
23478
|
+
var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-334a6158"]]);
|
|
23475
23479
|
var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23476
23480
|
const _withScopeId = (n) => (pushScopeId("data-v-bc51fc7a"), n = n(), popScopeId(), n);
|
|
23477
23481
|
const _hoisted_1$1 = { class: "ck-confirm--background" };
|