cleek 2.1.14 → 2.1.15

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.
@@ -57,6 +57,7 @@ my-box-shadow(val = 0.05, color = black)
57
57
  box-shadow 0 4px 20px 0 rgba(color, val)
58
58
  ck-box-shadow(val = 0.05, color = black)
59
59
  box-shadow 0 4px 20px 0 rgba(color, val)
60
+
60
61
  // flex shortcuts
61
62
  justify-align-center()
62
63
  align-items center
package/dist/cleek.es.js CHANGED
@@ -13524,7 +13524,6 @@ const _hoisted_1$6 = ["src", "alt"];
13524
13524
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13525
13525
  props: {
13526
13526
  src: { type: String, default: "" },
13527
- isFullPath: { type: Boolean, default: false },
13528
13527
  failImgSrc: { type: String, default: "" },
13529
13528
  alt: { type: String, default: "" },
13530
13529
  size: { type: String, default: "", validator: validators.size },
@@ -13542,10 +13541,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13542
13541
  const props = __props;
13543
13542
  const altNeeded = ref(false);
13544
13543
  let isMounted = ref(false);
13544
+ const isFullPath = computed$2(() => {
13545
+ return props.src.substring(0, 4) === "http";
13546
+ });
13545
13547
  const imageUrl = computed$2(() => {
13546
13548
  if (!isMounted.value)
13547
13549
  return "";
13548
- if (props.isFullPath)
13550
+ if (isFullPath.value)
13549
13551
  return props.src;
13550
13552
  return getImg(props.src);
13551
13553
  });
@@ -13628,7 +13630,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13628
13630
  };
13629
13631
  }
13630
13632
  });
13631
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e808078e"]]);
13633
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-65d88644"]]);
13632
13634
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
13633
13635
  const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
13634
13636
  const _hoisted_1$5 = ["onKeyup"];