cleek 2.3.39 → 2.3.40
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 -5
- package/dist/cleek.umd.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -18094,7 +18094,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18094
18094
|
notClose: { type: Boolean, default: false },
|
|
18095
18095
|
notCloseBtn: { type: Boolean, default: false },
|
|
18096
18096
|
notCloseByBg: { type: Boolean, default: false },
|
|
18097
|
-
preventCloseOnCancel: { type: Boolean, default: false }
|
|
18097
|
+
preventCloseOnCancel: { type: Boolean, default: false },
|
|
18098
|
+
maxWidth: { type: String, default: void 0 }
|
|
18098
18099
|
},
|
|
18099
18100
|
emits: ["update:modelValue", "cancel", "accept"],
|
|
18100
18101
|
setup(__props, { emit: emits }) {
|
|
@@ -18107,6 +18108,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18107
18108
|
emits("update:modelValue", val);
|
|
18108
18109
|
}
|
|
18109
18110
|
});
|
|
18111
|
+
const computedStyleContent = computed$2(() => {
|
|
18112
|
+
const list = [];
|
|
18113
|
+
if (props.maxWidth)
|
|
18114
|
+
list.push({ maxWidth: props.maxWidth });
|
|
18115
|
+
return list;
|
|
18116
|
+
});
|
|
18110
18117
|
function onCancel() {
|
|
18111
18118
|
emits("cancel");
|
|
18112
18119
|
if (!props.preventCloseOnCancel)
|
|
@@ -18130,7 +18137,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18130
18137
|
createElementVNode("div", {
|
|
18131
18138
|
class: "ck-popup__content",
|
|
18132
18139
|
onClick: _cache[3] || (_cache[3] = withModifiers(() => {
|
|
18133
|
-
}, ["stop"]))
|
|
18140
|
+
}, ["stop"])),
|
|
18141
|
+
style: normalizeStyle(unref$1(computedStyleContent))
|
|
18134
18142
|
}, [
|
|
18135
18143
|
createElementVNode("div", _hoisted_3$3, [
|
|
18136
18144
|
__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$3, toDisplayString(__props.title), 1)) : createCommentVNode("", true),
|
|
@@ -18169,7 +18177,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
18169
18177
|
})
|
|
18170
18178
|
])) : createCommentVNode("", true)
|
|
18171
18179
|
])) : createCommentVNode("", true)
|
|
18172
|
-
])
|
|
18180
|
+
], 4)
|
|
18173
18181
|
])
|
|
18174
18182
|
])) : createCommentVNode("", true);
|
|
18175
18183
|
};
|
|
@@ -18753,6 +18761,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18753
18761
|
}
|
|
18754
18762
|
});
|
|
18755
18763
|
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-1e92de86"]]);
|
|
18764
|
+
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
18756
18765
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
18757
18766
|
props: {
|
|
18758
18767
|
widthBreaks: { type: Array, default: void 0 }
|
|
@@ -19247,7 +19256,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
19247
19256
|
label: { type: String, default: "" },
|
|
19248
19257
|
labelAlign: { type: String, default: "" },
|
|
19249
19258
|
group: { type: String, default: "" },
|
|
19250
|
-
lineBreak: { type: [String, Number], default: "" },
|
|
19251
19259
|
widthBreaks: { type: Array, default: void 0 },
|
|
19252
19260
|
groupVertical: { type: String, default: "" },
|
|
19253
19261
|
sameWidthOptions: { type: Boolean, default: false }
|
|
@@ -19308,7 +19316,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
19308
19316
|
};
|
|
19309
19317
|
}
|
|
19310
19318
|
});
|
|
19311
|
-
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
19319
|
+
var ckSwitchOptions = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f200edc8"]]);
|
|
19312
19320
|
var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
19313
19321
|
const _hoisted_1$1 = { class: "ck-textarea" };
|
|
19314
19322
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|