lew-ui 1.8.10 → 1.8.11
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.es.js +6 -6
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -18540,7 +18540,7 @@ const textTrimProps = {
|
|
|
18540
18540
|
default: "",
|
|
18541
18541
|
description: "\u6587\u672C\u5185\u5BB9"
|
|
18542
18542
|
},
|
|
18543
|
-
|
|
18543
|
+
allowHtml: {
|
|
18544
18544
|
type: Boolean,
|
|
18545
18545
|
default: false,
|
|
18546
18546
|
description: "HTML"
|
|
@@ -18582,7 +18582,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
18582
18582
|
watchOptions
|
|
18583
18583
|
);
|
|
18584
18584
|
watchDebounced(
|
|
18585
|
-
() => props.
|
|
18585
|
+
() => props.allowHtml,
|
|
18586
18586
|
() => init(),
|
|
18587
18587
|
watchOptions
|
|
18588
18588
|
);
|
|
@@ -18592,7 +18592,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
18592
18592
|
watchOptions
|
|
18593
18593
|
);
|
|
18594
18594
|
watchDebounced(
|
|
18595
|
-
() => props.
|
|
18595
|
+
() => props.allowHtml,
|
|
18596
18596
|
() => init(),
|
|
18597
18597
|
watchOptions
|
|
18598
18598
|
);
|
|
@@ -18611,7 +18611,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
18611
18611
|
instance2 = null;
|
|
18612
18612
|
}
|
|
18613
18613
|
let isEllipsis = false;
|
|
18614
|
-
const { placement,
|
|
18614
|
+
const { placement, allowHtml, text, offset: offset2 } = props;
|
|
18615
18615
|
if (props.lineClamp) {
|
|
18616
18616
|
isEllipsis = element.offsetHeight < element.scrollHeight;
|
|
18617
18617
|
} else {
|
|
@@ -18630,7 +18630,7 @@ const _sfc_main$9 = defineComponent({
|
|
|
18630
18630
|
appendTo: () => document.body,
|
|
18631
18631
|
placement,
|
|
18632
18632
|
offset: offset2,
|
|
18633
|
-
allowHTML,
|
|
18633
|
+
allowHTML: allowHtml,
|
|
18634
18634
|
arrow: false,
|
|
18635
18635
|
maxWidth: 250
|
|
18636
18636
|
});
|
|
@@ -20420,7 +20420,7 @@ var LewTooltip = {
|
|
|
20420
20420
|
interactive: true,
|
|
20421
20421
|
appendTo: () => document.body,
|
|
20422
20422
|
placement: binding.value.placement,
|
|
20423
|
-
allowHTML: binding.value.
|
|
20423
|
+
allowHTML: binding.value.allowHtml,
|
|
20424
20424
|
arrow: false,
|
|
20425
20425
|
duration: [120, 120],
|
|
20426
20426
|
maxWidth: 250,
|