cleek 2.3.4 → 2.3.7

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
@@ -11584,7 +11584,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11584
11584
  if (props.type)
11585
11585
  return props.type;
11586
11586
  if (isMounted.value) {
11587
- console.log("$cleekOptions", $cleekOptions);
11588
11587
  if ($cleekOptions)
11589
11588
  return $cleekOptions.button.type;
11590
11589
  }
@@ -11650,7 +11649,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11650
11649
  };
11651
11650
  }
11652
11651
  });
11653
- var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5fd48ae3"]]);
11652
+ var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5cf4066a"]]);
11654
11653
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
11655
11654
  const _hoisted_1$f = ["for"];
11656
11655
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
@@ -13701,9 +13700,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13701
13700
  }
13702
13701
  function getImg(src) {
13703
13702
  let path = "";
13704
- if (isMounted.value) {
13705
- if ($cleekOptions)
13706
- path = $cleekOptions.img.basePath;
13703
+ if ($cleekOptions) {
13704
+ console.log("$cleekOptions.img", $cleekOptions.img);
13705
+ path = $cleekOptions.img.basePath;
13707
13706
  }
13708
13707
  return `${path}${src}`;
13709
13708
  }
@@ -13728,7 +13727,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13728
13727
  };
13729
13728
  }
13730
13729
  });
13731
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b766b320"]]);
13730
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-10212089"]]);
13732
13731
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
13733
13732
  const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
13734
13733
  const _hoisted_1$5 = ["onKeyup"];
@@ -16815,12 +16814,18 @@ function setRootColors(colors) {
16815
16814
  }
16816
16815
  }
16817
16816
  function getCleekOptions(userOptions) {
16817
+ console.log("---getCleekOptions---");
16818
16818
  console.log("userOptions", userOptions);
16819
+ console.log("defaultCleekOptions", defaultCleekOptions);
16819
16820
  const options = defaultCleekOptions;
16820
16821
  for (const category in defaultCleekOptions) {
16822
+ console.log("category", category);
16823
+ console.log("userOptions[category]", userOptions[category]);
16821
16824
  if (userOptions[category]) {
16822
16825
  for (const key in category) {
16826
+ console.log("key", key);
16823
16827
  const value = userOptions[category][key];
16828
+ console.log("value", value);
16824
16829
  if (value)
16825
16830
  options[category][key] = value;
16826
16831
  }