cleek 2.4.9 → 2.4.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 +20 -14
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -18807,11 +18807,18 @@ var functions = {
|
|
|
18807
18807
|
classList2.push(`ck-component__group-vertical--${groupVertical}`);
|
|
18808
18808
|
return classList2;
|
|
18809
18809
|
},
|
|
18810
|
-
|
|
18811
|
-
if (props
|
|
18812
|
-
return props
|
|
18813
|
-
if (cleekOptions2
|
|
18814
|
-
return cleekOptions2
|
|
18810
|
+
geRealBorderColor(props, cleekOptions2) {
|
|
18811
|
+
if (props.borderColor)
|
|
18812
|
+
return props.borderColor;
|
|
18813
|
+
if (cleekOptions2.styles.borderColor)
|
|
18814
|
+
return cleekOptions2.styles.borderColor;
|
|
18815
|
+
return "";
|
|
18816
|
+
},
|
|
18817
|
+
geRealLayout(props, cleekOptions2) {
|
|
18818
|
+
if (props.layout)
|
|
18819
|
+
return props.layout;
|
|
18820
|
+
if (cleekOptions2.styles.layout)
|
|
18821
|
+
return cleekOptions2.styles.layout;
|
|
18815
18822
|
return "";
|
|
18816
18823
|
},
|
|
18817
18824
|
getWidthByWidthBreaks(widthBreaks, windowWidth) {
|
|
@@ -20917,7 +20924,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20917
20924
|
if (align === "center" || align === "right") {
|
|
20918
20925
|
list.push(`ck-button__align--${props.align}`);
|
|
20919
20926
|
}
|
|
20920
|
-
const layout = functions.
|
|
20927
|
+
const layout = functions.geRealLayout(props, cleekOptions2);
|
|
20921
20928
|
if (layout)
|
|
20922
20929
|
list.push(layout);
|
|
20923
20930
|
list.push(`type-${realButtonType.value}`);
|
|
@@ -20977,7 +20984,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
20977
20984
|
};
|
|
20978
20985
|
}
|
|
20979
20986
|
});
|
|
20980
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
20987
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-591130bc"]]);
|
|
20981
20988
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
20982
20989
|
const _hoisted_1$h = ["for"];
|
|
20983
20990
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
@@ -21083,7 +21090,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21083
21090
|
list.push(`align--${props.align}`);
|
|
21084
21091
|
if (props.hideBorder)
|
|
21085
21092
|
list.push("no-border");
|
|
21086
|
-
const layout = functions.
|
|
21093
|
+
const layout = functions.geRealLayout(props, cleekOptions2);
|
|
21087
21094
|
if (layout)
|
|
21088
21095
|
list.push(layout);
|
|
21089
21096
|
if (props.size)
|
|
@@ -21187,7 +21194,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
21187
21194
|
};
|
|
21188
21195
|
}
|
|
21189
21196
|
});
|
|
21190
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
21197
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2d610c78"]]);
|
|
21191
21198
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
21192
21199
|
const _hoisted_1$f = { class: "ck-table__header-items" };
|
|
21193
21200
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -22990,12 +22997,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
22990
22997
|
const computedClassSelect = computed$2(() => {
|
|
22991
22998
|
const list = [];
|
|
22992
22999
|
list.push(functions.getGroupClass(props, windowWidth.value));
|
|
22993
|
-
const layout = functions.
|
|
23000
|
+
const layout = functions.geRealLayout(props, cleekOptions2);
|
|
22994
23001
|
if (layout)
|
|
22995
23002
|
list.push(layout);
|
|
22996
23003
|
if (isClearBtnVisible.value)
|
|
22997
23004
|
list.push("clear-able");
|
|
22998
|
-
const borderColor = functions.
|
|
23005
|
+
const borderColor = functions.geRealBorderColor(props, cleekOptions2);
|
|
22999
23006
|
if (borderColor && functions.isColorTemplateVariable(borderColor)) {
|
|
23000
23007
|
list.push(`ck-input--border-color__${props.borderColor}`);
|
|
23001
23008
|
}
|
|
@@ -23003,7 +23010,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23003
23010
|
});
|
|
23004
23011
|
const computedStyleSelect = computed$2(() => {
|
|
23005
23012
|
const list = [];
|
|
23006
|
-
const borderColor = functions.
|
|
23013
|
+
const borderColor = functions.geRealBorderColor(props, cleekOptions2);
|
|
23007
23014
|
if (borderColor && functions.isColorTemplateVariable(borderColor)) {
|
|
23008
23015
|
list.push(`ck-input--border-color__${props.borderColor}`);
|
|
23009
23016
|
}
|
|
@@ -23144,7 +23151,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
23144
23151
|
};
|
|
23145
23152
|
}
|
|
23146
23153
|
});
|
|
23147
|
-
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
23154
|
+
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-cbfee918"]]);
|
|
23148
23155
|
var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23149
23156
|
const _hoisted_1$5 = {
|
|
23150
23157
|
key: 1,
|
|
@@ -23648,7 +23655,6 @@ function getCleekOptions(userOptions) {
|
|
|
23648
23655
|
}
|
|
23649
23656
|
}
|
|
23650
23657
|
setRootColors(options.colors);
|
|
23651
|
-
console.log("finalOptions", options);
|
|
23652
23658
|
return options;
|
|
23653
23659
|
}
|
|
23654
23660
|
const install = function installCleek(app, options) {
|