cleek 2.4.15 → 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 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,30 +23428,30 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23428
23428
  }
23429
23429
  });
23430
23430
  const computedClassTextarea = computed$2(() => {
23431
- var _a, _b;
23431
+ var _a, _b, _c, _d;
23432
23432
  const list = [];
23433
- const layout = props.layout || ((_a = cleekOptions2 == null ? void 0 : cleekOptions2.styles) == null ? void 0 : _a.layout);
23433
+ const layout = props.layout || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.styles) == null ? void 0 : _b.layout);
23434
23434
  if (layout)
23435
23435
  list.push(layout);
23436
- const borderColor = props.borderColor || ((_b = cleekOptions2 == null ? void 0 : cleekOptions2.styles) == null ? void 0 : _b.borderColor);
23436
+ const borderColor = props.borderColor || ((_d = (_c = cleekOptions2.value) == null ? void 0 : _c.styles) == null ? void 0 : _d.borderColor);
23437
23437
  console.log("textarea", borderColor);
23438
- console.log("cleekOptions", cleekOptions2);
23438
+ console.log("cleekOptions", cleekOptions2.value);
23439
23439
  if (borderColor && hooks8.isColorTemplateVariable(borderColor)) {
23440
23440
  list.push(`ck-component__border-color--${borderColor}`);
23441
23441
  }
23442
23442
  return list;
23443
23443
  });
23444
23444
  const computedStyleTextarea = computed$2(() => {
23445
- var _a;
23445
+ var _a, _b;
23446
23446
  const list = [];
23447
- const borderColor = props.borderColor || ((_a = cleekOptions2 == null ? void 0 : cleekOptions2.styles) == null ? void 0 : _a.borderColor);
23447
+ const borderColor = props.borderColor || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.styles) == null ? void 0 : _b.borderColor);
23448
23448
  if (borderColor && !hooks8.isColorTemplateVariable(borderColor)) {
23449
23449
  list.push({ "border-color": borderColor });
23450
23450
  }
23451
23451
  return list;
23452
23452
  });
23453
23453
  onMounted(() => {
23454
- cleekOptions2 = hooks8.getCleekOptions(getCurrentInstance);
23454
+ cleekOptions2.value = hooks8.getCleekOptions(getCurrentInstance);
23455
23455
  });
23456
23456
  return (_ctx, _cache) => {
23457
23457
  return openBlock(), createElementBlock("div", _hoisted_1$2, [
@@ -23475,7 +23475,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
23475
23475
  };
23476
23476
  }
23477
23477
  });
23478
- var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-056dba2e"]]);
23478
+ var ckTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-334a6158"]]);
23479
23479
  var CkConfirm_vue_vue_type_style_index_0_scoped_true_lang = "";
23480
23480
  const _withScopeId = (n) => (pushScopeId("data-v-bc51fc7a"), n = n(), popScopeId(), n);
23481
23481
  const _hoisted_1$1 = { class: "ck-confirm--background" };