lew-ui 2.5.4 → 2.5.7
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 +19 -10
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4328,7 +4328,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4328
4328
|
...sizeConfig,
|
|
4329
4329
|
borderRadius: round2 ? "20px" : sizeConfig.borderRadius,
|
|
4330
4330
|
opacity: disabled ? "var(--lew-disabled-opacity)" : void 0,
|
|
4331
|
-
pointerEvents: disabled ? "none" :
|
|
4331
|
+
pointerEvents: disabled ? "none" : void 0
|
|
4332
4332
|
};
|
|
4333
4333
|
});
|
|
4334
4334
|
return (_ctx, _cache) => {
|
|
@@ -8099,8 +8099,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8099
8099
|
} else {
|
|
8100
8100
|
if (modelValue2.value !== props2.menuKey) {
|
|
8101
8101
|
modelValue2.value = props2.menuKey;
|
|
8102
|
-
} else {
|
|
8103
|
-
modelValue2.value = "";
|
|
8104
8102
|
}
|
|
8105
8103
|
}
|
|
8106
8104
|
expandKeys.value = cloneDeep(expandKeys.value);
|
|
@@ -8172,7 +8170,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8172
8170
|
};
|
|
8173
8171
|
}
|
|
8174
8172
|
});
|
|
8175
|
-
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
8173
|
+
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-cc37e11f"]]);
|
|
8176
8174
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
8177
8175
|
__name: "LewMenuTree",
|
|
8178
8176
|
props: /* @__PURE__ */ mergeModels(menuTreeProps, {
|
|
@@ -12727,13 +12725,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12727
12725
|
style: { "max-width": "100%" },
|
|
12728
12726
|
size: _ctx.size,
|
|
12729
12727
|
closable: !_ctx.readonly && !_ctx.disabled,
|
|
12728
|
+
disabled: _ctx.disabled,
|
|
12730
12729
|
onClose: ($event) => delTag(index2)
|
|
12731
12730
|
}, {
|
|
12732
12731
|
default: withCtx(() => [
|
|
12733
12732
|
createTextVNode(toDisplayString(item), 1)
|
|
12734
12733
|
]),
|
|
12735
12734
|
_: 2
|
|
12736
|
-
}, 1032, ["size", "closable", "onClose"]);
|
|
12735
|
+
}, 1032, ["size", "closable", "disabled", "onClose"]);
|
|
12737
12736
|
}), 128)),
|
|
12738
12737
|
unref(isFocus) || (modelValue2.value || []).length === 0 ? (openBlock(), createBlock(unref(LewInput), {
|
|
12739
12738
|
key: 0,
|
|
@@ -12773,7 +12772,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12773
12772
|
};
|
|
12774
12773
|
}
|
|
12775
12774
|
});
|
|
12776
|
-
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
12775
|
+
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1b2570c1"]]);
|
|
12777
12776
|
const checkboxModel = {
|
|
12778
12777
|
modelValue: {
|
|
12779
12778
|
type: Boolean,
|
|
@@ -14483,7 +14482,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14483
14482
|
unref(getChecked)(templateProps.value) && _ctx.showCheckIcon ? (openBlock(), createBlock(Icon, {
|
|
14484
14483
|
key: 0,
|
|
14485
14484
|
class: "lew-icon-check",
|
|
14486
|
-
size:
|
|
14485
|
+
size: 16,
|
|
14486
|
+
strokeWidth: 3,
|
|
14487
14487
|
type: "check"
|
|
14488
14488
|
})) : createCommentVNode("", true)
|
|
14489
14489
|
], 2))
|
|
@@ -14500,7 +14500,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14500
14500
|
};
|
|
14501
14501
|
}
|
|
14502
14502
|
});
|
|
14503
|
-
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
14503
|
+
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-45397f66"]]);
|
|
14504
14504
|
const selectMultipleModel = {
|
|
14505
14505
|
modelValue: {
|
|
14506
14506
|
type: Array,
|
|
@@ -18627,7 +18627,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18627
18627
|
};
|
|
18628
18628
|
}
|
|
18629
18629
|
});
|
|
18630
|
-
const LewSlider = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
18630
|
+
const LewSlider = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-0fac63bf"]]);
|
|
18631
18631
|
const sliderRangeModel = {
|
|
18632
18632
|
modelValue: {
|
|
18633
18633
|
type: Array,
|
|
@@ -19017,7 +19017,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19017
19017
|
};
|
|
19018
19018
|
}
|
|
19019
19019
|
});
|
|
19020
|
-
const LewSliderRange = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
19020
|
+
const LewSliderRange = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-d48f33f4"]]);
|
|
19021
19021
|
const colorPickerModel = {
|
|
19022
19022
|
modelValue: {
|
|
19023
19023
|
type: String,
|
|
@@ -20413,6 +20413,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20413
20413
|
deep: true
|
|
20414
20414
|
}
|
|
20415
20415
|
);
|
|
20416
|
+
watch(
|
|
20417
|
+
() => props2.dataSource,
|
|
20418
|
+
() => {
|
|
20419
|
+
compTrHeight();
|
|
20420
|
+
},
|
|
20421
|
+
{
|
|
20422
|
+
deep: true
|
|
20423
|
+
}
|
|
20424
|
+
);
|
|
20416
20425
|
const handleTableResize = throttle(() => {
|
|
20417
20426
|
const table = tableRef.value;
|
|
20418
20427
|
if (!table) return;
|