lew-ui 2.0.6 → 2.0.8
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/index.mjs +24 -6
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13180,7 +13180,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13180
13180
|
}, toDisplayString(item.label), 3)
|
|
13181
13181
|
], 4),
|
|
13182
13182
|
createElementVNode("div", {
|
|
13183
|
-
style: normalizeStyle(_ctx.direction === "x" ? `width:calc(100% - ${unref(any2px)(_ctx.labelWidth)})` : ""),
|
|
13183
|
+
style: normalizeStyle(_ctx.direction === "x" ? `width:calc(100% - ${unref(any2px)(_ctx.labelWidth)} - 10px)` : ""),
|
|
13184
13184
|
class: normalizeClass(["lew-form-main", { "lew-form-item-error": item.errMessage }])
|
|
13185
13185
|
}, [
|
|
13186
13186
|
item.as === "input" ? (openBlock(), createBlock(unref(LewInput), mergeProps({
|
|
@@ -13328,8 +13328,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
13328
13328
|
};
|
|
13329
13329
|
}
|
|
13330
13330
|
});
|
|
13331
|
-
const
|
|
13332
|
-
const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
13331
|
+
const LewForm_vue_vue_type_style_index_0_scoped_729e4f1b_lang = "";
|
|
13332
|
+
const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-729e4f1b"]]);
|
|
13333
13333
|
const checkboxProps = {
|
|
13334
13334
|
modelValue: {
|
|
13335
13335
|
type: Boolean,
|
|
@@ -20245,7 +20245,15 @@ const _hoisted_3$3 = {
|
|
|
20245
20245
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
20246
20246
|
__name: "LewModal",
|
|
20247
20247
|
props: modalProps,
|
|
20248
|
-
emits: [
|
|
20248
|
+
emits: [
|
|
20249
|
+
"update:visible",
|
|
20250
|
+
"ok",
|
|
20251
|
+
"cancel",
|
|
20252
|
+
"show",
|
|
20253
|
+
"close",
|
|
20254
|
+
"after-show",
|
|
20255
|
+
"after-close"
|
|
20256
|
+
],
|
|
20249
20257
|
setup(__props, { emit: __emit }) {
|
|
20250
20258
|
const { x: x2, y: y2 } = useMouse();
|
|
20251
20259
|
const { Escape } = useMagicKeys();
|
|
@@ -20277,8 +20285,18 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
20277
20285
|
if (newVal) {
|
|
20278
20286
|
transformOrigin.value = `${x2.value}px ${y2.value}px`;
|
|
20279
20287
|
emit("show");
|
|
20288
|
+
setTimeout(() => {
|
|
20289
|
+
nextTick(() => {
|
|
20290
|
+
emit("after-show");
|
|
20291
|
+
});
|
|
20292
|
+
}, 500);
|
|
20280
20293
|
} else {
|
|
20281
20294
|
emit("close");
|
|
20295
|
+
setTimeout(() => {
|
|
20296
|
+
nextTick(() => {
|
|
20297
|
+
emit("after-show");
|
|
20298
|
+
});
|
|
20299
|
+
}, 500);
|
|
20282
20300
|
}
|
|
20283
20301
|
}
|
|
20284
20302
|
);
|
|
@@ -20374,8 +20392,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
20374
20392
|
};
|
|
20375
20393
|
}
|
|
20376
20394
|
});
|
|
20377
|
-
const
|
|
20378
|
-
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
20395
|
+
const LewModal_vue_vue_type_style_index_0_scoped_92f7587e_lang = "";
|
|
20396
|
+
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-92f7587e"]]);
|
|
20379
20397
|
const popokProps = {
|
|
20380
20398
|
type: {
|
|
20381
20399
|
type: String,
|