cleek 2.3.9 → 2.3.10
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 +3 -15
- package/dist/cleek.umd.js +2 -2
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -21,12 +21,7 @@ import { defineComponent, ref, openBlock, createElementBlock, createElementVNode
|
|
|
21
21
|
var defaultCleekOptions = {
|
|
22
22
|
colors: {
|
|
23
23
|
primary: "#559933",
|
|
24
|
-
secondary: "#559933"
|
|
25
|
-
success: "#559933",
|
|
26
|
-
warning: "#559933",
|
|
27
|
-
danger: "#559933",
|
|
28
|
-
dark: "#559933",
|
|
29
|
-
light: "#559933"
|
|
24
|
+
secondary: "#559933"
|
|
30
25
|
},
|
|
31
26
|
button: {
|
|
32
27
|
type: "outlined"
|
|
@@ -16814,25 +16809,18 @@ function setRootColors(colors) {
|
|
|
16814
16809
|
}
|
|
16815
16810
|
}
|
|
16816
16811
|
function getCleekOptions(userOptions) {
|
|
16817
|
-
console.log("---getCleekOptions---");
|
|
16818
|
-
console.log("userOptions", userOptions);
|
|
16819
|
-
console.log("defaultCleekOptions", defaultCleekOptions);
|
|
16820
16812
|
const options = defaultCleekOptions;
|
|
16821
16813
|
for (const category in defaultCleekOptions) {
|
|
16822
|
-
console.log("category", category);
|
|
16823
|
-
console.log("userOptions[category]", userOptions[category]);
|
|
16824
16814
|
if (userOptions[category]) {
|
|
16825
16815
|
for (const key in userOptions[category]) {
|
|
16826
|
-
console.log("key", key);
|
|
16827
16816
|
const value = userOptions[category][key];
|
|
16828
|
-
console.log("value", value);
|
|
16829
16817
|
if (value)
|
|
16830
16818
|
options[category][key] = value;
|
|
16831
16819
|
}
|
|
16832
16820
|
}
|
|
16833
16821
|
}
|
|
16834
|
-
setRootColors(options);
|
|
16835
|
-
console.log("
|
|
16822
|
+
setRootColors(options.colors);
|
|
16823
|
+
console.log("finalOptions", options);
|
|
16836
16824
|
return options;
|
|
16837
16825
|
}
|
|
16838
16826
|
const install = function installCleek(app, options) {
|