cleek 2.3.3 → 2.3.6
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 +13 -2
- package/dist/cleek.umd.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -30,6 +30,9 @@ var defaultCleekOptions = {
|
|
|
30
30
|
},
|
|
31
31
|
button: {
|
|
32
32
|
type: "filled"
|
|
33
|
+
},
|
|
34
|
+
img: {
|
|
35
|
+
basePath: ""
|
|
33
36
|
}
|
|
34
37
|
};
|
|
35
38
|
var ckDropdown_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
@@ -13699,8 +13702,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13699
13702
|
function getImg(src) {
|
|
13700
13703
|
let path = "";
|
|
13701
13704
|
if (isMounted.value) {
|
|
13702
|
-
if ($cleekOptions)
|
|
13705
|
+
if ($cleekOptions) {
|
|
13706
|
+
console.log("$cleekOptions", $cleekOptions);
|
|
13707
|
+
console.log("$cleekOptions.img", $cleekOptions.img);
|
|
13703
13708
|
path = $cleekOptions.img.basePath;
|
|
13709
|
+
}
|
|
13704
13710
|
}
|
|
13705
13711
|
return `${path}${src}`;
|
|
13706
13712
|
}
|
|
@@ -13725,7 +13731,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13725
13731
|
};
|
|
13726
13732
|
}
|
|
13727
13733
|
});
|
|
13728
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
13734
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b875f1c4"]]);
|
|
13729
13735
|
var ckRadio_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
13730
13736
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-a5198d80"), n = n(), popScopeId(), n);
|
|
13731
13737
|
const _hoisted_1$5 = ["onKeyup"];
|
|
@@ -16813,11 +16819,16 @@ function setRootColors(colors) {
|
|
|
16813
16819
|
}
|
|
16814
16820
|
function getCleekOptions(userOptions) {
|
|
16815
16821
|
console.log("userOptions", userOptions);
|
|
16822
|
+
console.log("defaultCleekOptions", defaultCleekOptions);
|
|
16816
16823
|
const options = defaultCleekOptions;
|
|
16817
16824
|
for (const category in defaultCleekOptions) {
|
|
16825
|
+
console.log("category", category);
|
|
16826
|
+
console.log("userOptions[category]", userOptions[category]);
|
|
16818
16827
|
if (userOptions[category]) {
|
|
16819
16828
|
for (const key in category) {
|
|
16829
|
+
console.log("key", key);
|
|
16820
16830
|
const value = userOptions[category][key];
|
|
16831
|
+
console.log("value", value);
|
|
16821
16832
|
if (value)
|
|
16822
16833
|
options[category][key] = value;
|
|
16823
16834
|
}
|