cleek 2.4.63 → 2.4.67
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 +22 -12
- package/dist/cleek.umd.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -3785,6 +3785,10 @@ const cleekOptions = {
|
|
|
3785
3785
|
primary: "#559933",
|
|
3786
3786
|
secondary: "#559933"
|
|
3787
3787
|
},
|
|
3788
|
+
styles: {
|
|
3789
|
+
layout: "base",
|
|
3790
|
+
borderColor: "#dae1e7"
|
|
3791
|
+
},
|
|
3788
3792
|
button: {
|
|
3789
3793
|
type: "outlined",
|
|
3790
3794
|
layout: "base"
|
|
@@ -3801,9 +3805,11 @@ const cleekOptions = {
|
|
|
3801
3805
|
maxWidth: "",
|
|
3802
3806
|
fontSize: ""
|
|
3803
3807
|
},
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3808
|
+
select: {
|
|
3809
|
+
clearValue: null
|
|
3810
|
+
},
|
|
3811
|
+
table: {
|
|
3812
|
+
striped: false
|
|
3807
3813
|
}
|
|
3808
3814
|
};
|
|
3809
3815
|
/*!
|
|
@@ -22066,6 +22072,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22066
22072
|
}
|
|
22067
22073
|
});
|
|
22068
22074
|
return (_ctx, _cache) => {
|
|
22075
|
+
var _a;
|
|
22069
22076
|
return openBlock(), createElementBlock("div", {
|
|
22070
22077
|
class: "ck-input",
|
|
22071
22078
|
style: normalizeStyle(unref$1(computedStyle))
|
|
@@ -22127,13 +22134,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22127
22134
|
]),
|
|
22128
22135
|
__props.type === "password" ? (openBlock(), createElementBlock("div", {
|
|
22129
22136
|
key: 4,
|
|
22130
|
-
class: "show-password",
|
|
22137
|
+
class: normalizeClass(["show-password", __props.layout || ((_a = unref$1(cleekOptions2)) == null ? void 0 : _a.styles.layout)]),
|
|
22131
22138
|
onClick: _cache[12] || (_cache[12] = ($event) => isShowingPassword.value = !isShowingPassword.value)
|
|
22132
22139
|
}, [
|
|
22133
22140
|
createVNode(CkIcon, {
|
|
22134
22141
|
icon: isShowingPassword.value ? "eye-slash" : "eye"
|
|
22135
22142
|
}, null, 8, ["icon"])
|
|
22136
|
-
])) : createCommentVNode("", true),
|
|
22143
|
+
], 2)) : createCommentVNode("", true),
|
|
22137
22144
|
__props.iconRight && __props.type !== "password" ? (openBlock(), createBlock(CkIcon, {
|
|
22138
22145
|
key: 5,
|
|
22139
22146
|
class: "ck-input__icon-right",
|
|
@@ -22145,7 +22152,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22145
22152
|
};
|
|
22146
22153
|
}
|
|
22147
22154
|
});
|
|
22148
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
22155
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-63381df9"]]);
|
|
22149
22156
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22150
22157
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
22151
22158
|
props: {
|
|
@@ -23316,14 +23323,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
23316
23323
|
const computedStyleContent = computed$2(() => {
|
|
23317
23324
|
var _a, _b, _c;
|
|
23318
23325
|
const list = [];
|
|
23319
|
-
const
|
|
23320
|
-
if (maxWidth)
|
|
23321
|
-
list.push({ "max-width": maxWidth });
|
|
23322
|
-
const fontSize = props.fontSize || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.fontSize);
|
|
23326
|
+
const fontSize = props.fontSize || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.fontSize);
|
|
23323
23327
|
if (fontSize)
|
|
23324
23328
|
list.push({ "font-size": fontSize });
|
|
23325
23329
|
if (props.width)
|
|
23326
23330
|
list.push({ width: props.width });
|
|
23331
|
+
const maxWidth = props.width ? "95%" : props.maxWidth || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.maxWidth);
|
|
23332
|
+
if (maxWidth)
|
|
23333
|
+
list.push({ "max-width": maxWidth });
|
|
23327
23334
|
const textColor = props.textColor || ((_c = cleekOptions2.value) == null ? void 0 : _c.popup.textColor);
|
|
23328
23335
|
if (textColor && !hooks8.isColorTemplateVariable(textColor)) {
|
|
23329
23336
|
list.push(`ck-component__color--${textColor}`);
|
|
@@ -23659,6 +23666,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23659
23666
|
}
|
|
23660
23667
|
}
|
|
23661
23668
|
const computedClassTable = computed$2(() => {
|
|
23669
|
+
var _a, _b;
|
|
23662
23670
|
const list = [];
|
|
23663
23671
|
if (props.cellPadding)
|
|
23664
23672
|
list.push(`table__cell-padding--${props.cellPadding}`);
|
|
@@ -23666,7 +23674,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23666
23674
|
list.push(`table__cell-padding-y--${props.cellPaddingY}`);
|
|
23667
23675
|
if (props.notFullWidth)
|
|
23668
23676
|
list.push("not-full-width");
|
|
23669
|
-
|
|
23677
|
+
console.log("cleekOptions.value", cleekOptions2.value);
|
|
23678
|
+
const striped = props.striped || ((_b = (_a = cleekOptions2.value) == null ? void 0 : _a.table) == null ? void 0 : _b.striped);
|
|
23679
|
+
if (striped)
|
|
23670
23680
|
list.push("striped-table");
|
|
23671
23681
|
return list;
|
|
23672
23682
|
});
|
|
@@ -23779,7 +23789,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23779
23789
|
};
|
|
23780
23790
|
}
|
|
23781
23791
|
});
|
|
23782
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
23792
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-2a3263ea"]]);
|
|
23783
23793
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23784
23794
|
const _hoisted_1$a = ["color"];
|
|
23785
23795
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|