cleek 2.3.6 → 2.3.9

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
@@ -29,7 +29,7 @@ var defaultCleekOptions = {
29
29
  light: "#559933"
30
30
  },
31
31
  button: {
32
- type: "filled"
32
+ type: "outlined"
33
33
  },
34
34
  img: {
35
35
  basePath: ""
@@ -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,12 +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
- console.log("$cleekOptions", $cleekOptions);
13707
- console.log("$cleekOptions.img", $cleekOptions.img);
13708
- path = $cleekOptions.img.basePath;
13709
- }
13703
+ if ($cleekOptions) {
13704
+ console.log("$cleekOptions.img", $cleekOptions.img);
13705
+ path = $cleekOptions.img.basePath;
13710
13706
  }
13711
13707
  return `${path}${src}`;
13712
13708
  }
@@ -13731,7 +13727,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
13731
13727
  };
13732
13728
  }
13733
13729
  });
13734
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b875f1c4"]]);
13730
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-10212089"]]);
13735
13731
  var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
13736
13732
  const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
13737
13733
  const _hoisted_1$5 = ["onKeyup"];
@@ -16818,6 +16814,7 @@ function setRootColors(colors) {
16818
16814
  }
16819
16815
  }
16820
16816
  function getCleekOptions(userOptions) {
16817
+ console.log("---getCleekOptions---");
16821
16818
  console.log("userOptions", userOptions);
16822
16819
  console.log("defaultCleekOptions", defaultCleekOptions);
16823
16820
  const options = defaultCleekOptions;
@@ -16825,7 +16822,7 @@ function getCleekOptions(userOptions) {
16825
16822
  console.log("category", category);
16826
16823
  console.log("userOptions[category]", userOptions[category]);
16827
16824
  if (userOptions[category]) {
16828
- for (const key in category) {
16825
+ for (const key in userOptions[category]) {
16829
16826
  console.log("key", key);
16830
16827
  const value = userOptions[category][key];
16831
16828
  console.log("value", value);