cleek 2.4.62 → 2.4.66
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 +19 -16
- package/dist/cleek.umd.js +2 -2
- 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"
|
|
@@ -3800,10 +3804,6 @@ const cleekOptions = {
|
|
|
3800
3804
|
cancelBtnType: "",
|
|
3801
3805
|
maxWidth: "",
|
|
3802
3806
|
fontSize: ""
|
|
3803
|
-
},
|
|
3804
|
-
styles: {
|
|
3805
|
-
layout: "base",
|
|
3806
|
-
borderColor: "#dae1e7"
|
|
3807
3807
|
}
|
|
3808
3808
|
};
|
|
3809
3809
|
/*!
|
|
@@ -22127,13 +22127,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22127
22127
|
]),
|
|
22128
22128
|
__props.type === "password" ? (openBlock(), createElementBlock("div", {
|
|
22129
22129
|
key: 4,
|
|
22130
|
-
class: "show-password",
|
|
22130
|
+
class: normalizeClass(["show-password", __props.layout]),
|
|
22131
22131
|
onClick: _cache[12] || (_cache[12] = ($event) => isShowingPassword.value = !isShowingPassword.value)
|
|
22132
22132
|
}, [
|
|
22133
22133
|
createVNode(CkIcon, {
|
|
22134
22134
|
icon: isShowingPassword.value ? "eye-slash" : "eye"
|
|
22135
22135
|
}, null, 8, ["icon"])
|
|
22136
|
-
])) : createCommentVNode("", true),
|
|
22136
|
+
], 2)) : createCommentVNode("", true),
|
|
22137
22137
|
__props.iconRight && __props.type !== "password" ? (openBlock(), createBlock(CkIcon, {
|
|
22138
22138
|
key: 5,
|
|
22139
22139
|
class: "ck-input__icon-right",
|
|
@@ -22145,7 +22145,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
22145
22145
|
};
|
|
22146
22146
|
}
|
|
22147
22147
|
});
|
|
22148
|
-
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
22148
|
+
var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a06ec450"]]);
|
|
22149
22149
|
var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
22150
22150
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
22151
22151
|
props: {
|
|
@@ -23316,14 +23316,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
23316
23316
|
const computedStyleContent = computed$2(() => {
|
|
23317
23317
|
var _a, _b, _c;
|
|
23318
23318
|
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);
|
|
23319
|
+
const fontSize = props.fontSize || ((_a = cleekOptions2.value) == null ? void 0 : _a.popup.fontSize);
|
|
23323
23320
|
if (fontSize)
|
|
23324
23321
|
list.push({ "font-size": fontSize });
|
|
23325
23322
|
if (props.width)
|
|
23326
23323
|
list.push({ width: props.width });
|
|
23324
|
+
const maxWidth = props.width ? "95%" : props.maxWidth || ((_b = cleekOptions2.value) == null ? void 0 : _b.popup.maxWidth);
|
|
23325
|
+
if (maxWidth)
|
|
23326
|
+
list.push({ "max-width": maxWidth });
|
|
23327
23327
|
const textColor = props.textColor || ((_c = cleekOptions2.value) == null ? void 0 : _c.popup.textColor);
|
|
23328
23328
|
if (textColor && !hooks8.isColorTemplateVariable(textColor)) {
|
|
23329
23329
|
list.push(`ck-component__color--${textColor}`);
|
|
@@ -23659,6 +23659,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23659
23659
|
}
|
|
23660
23660
|
}
|
|
23661
23661
|
const computedClassTable = computed$2(() => {
|
|
23662
|
+
var _a;
|
|
23662
23663
|
const list = [];
|
|
23663
23664
|
if (props.cellPadding)
|
|
23664
23665
|
list.push(`table__cell-padding--${props.cellPadding}`);
|
|
@@ -23666,7 +23667,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23666
23667
|
list.push(`table__cell-padding-y--${props.cellPaddingY}`);
|
|
23667
23668
|
if (props.notFullWidth)
|
|
23668
23669
|
list.push("not-full-width");
|
|
23669
|
-
|
|
23670
|
+
const striped = props.striped || ((_a = cleekOptions2.value) == null ? void 0 : _a.table.layout);
|
|
23671
|
+
if (striped)
|
|
23670
23672
|
list.push("striped-table");
|
|
23671
23673
|
return list;
|
|
23672
23674
|
});
|
|
@@ -23779,7 +23781,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
23779
23781
|
};
|
|
23780
23782
|
}
|
|
23781
23783
|
});
|
|
23782
|
-
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
23784
|
+
var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-a606f70e"]]);
|
|
23783
23785
|
var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
23784
23786
|
const _hoisted_1$a = ["color"];
|
|
23785
23787
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
@@ -23789,6 +23791,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23789
23791
|
textColor: null,
|
|
23790
23792
|
align: null,
|
|
23791
23793
|
icon: null,
|
|
23794
|
+
iconRight: null,
|
|
23792
23795
|
iconPack: null
|
|
23793
23796
|
},
|
|
23794
23797
|
emits: ["click"],
|
|
@@ -23814,7 +23817,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23814
23817
|
style: normalizeStyle(unref$1(computedStyle)),
|
|
23815
23818
|
onClick: _cache[0] || (_cache[0] = ($event) => emits("click", $event))
|
|
23816
23819
|
}, [
|
|
23817
|
-
__props.icon && !
|
|
23820
|
+
__props.icon && !__props.iconRight ? (openBlock(), createBlock(CkIcon, {
|
|
23818
23821
|
key: 0,
|
|
23819
23822
|
class: "pr-2",
|
|
23820
23823
|
icon: __props.icon,
|
|
@@ -23823,7 +23826,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23823
23826
|
createElementVNode("span", null, [
|
|
23824
23827
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
23825
23828
|
]),
|
|
23826
|
-
__props.icon &&
|
|
23829
|
+
__props.icon && __props.iconRight ? (openBlock(), createBlock(CkIcon, {
|
|
23827
23830
|
key: 1,
|
|
23828
23831
|
class: "pl-2",
|
|
23829
23832
|
icon: __props.icon,
|
|
@@ -23833,7 +23836,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
23833
23836
|
};
|
|
23834
23837
|
}
|
|
23835
23838
|
});
|
|
23836
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
23839
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-79eb3d08"]]);
|
|
23837
23840
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
23838
23841
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
23839
23842
|
props: {
|