lew-ui 2.7.62 → 2.7.63
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/LICENSE +21 -21
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +4 -32
- package/dist/components/feedback/popover/src/LewPopover.vue.d.ts +0 -11
- package/dist/components/feedback/popover/src/props.d.ts +0 -5
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +4 -32
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +2 -16
- package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +2 -16
- package/dist/components/form/select/src/LewSelect.vue.d.ts +4 -32
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +4 -32
- package/dist/components/form/tree-select-multiple/src/LewTreeSelectMultiple.vue.d.ts +4 -32
- package/dist/components/navigation/dropdown/src/LewDropdown.vue.d.ts +4 -32
- package/dist/index.css +1 -1
- package/dist/index.js +4 -19
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14500,14 +14500,6 @@ const popoverProps = {
|
|
|
14500
14500
|
componentName: "LewPopover",
|
|
14501
14501
|
propName: "popoverBodyClassName"
|
|
14502
14502
|
})
|
|
14503
|
-
},
|
|
14504
|
-
triggerTarget: {
|
|
14505
|
-
type: Object,
|
|
14506
|
-
default: null,
|
|
14507
|
-
validator: validators.object({
|
|
14508
|
-
componentName: "LewPopover",
|
|
14509
|
-
propName: "triggerTarget"
|
|
14510
|
-
})
|
|
14511
14503
|
}
|
|
14512
14504
|
};
|
|
14513
14505
|
const _hoisted_1$H = { class: "lew-popover" };
|
|
@@ -14555,15 +14547,6 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14555
14547
|
},
|
|
14556
14548
|
watchOptions
|
|
14557
14549
|
);
|
|
14558
|
-
watchDebounced(
|
|
14559
|
-
() => props.triggerTarget,
|
|
14560
|
-
(value) => {
|
|
14561
|
-
instance?.setProps({
|
|
14562
|
-
triggerTarget: value
|
|
14563
|
-
});
|
|
14564
|
-
},
|
|
14565
|
-
watchOptions
|
|
14566
|
-
);
|
|
14567
14550
|
watchDebounced(
|
|
14568
14551
|
() => props.offset,
|
|
14569
14552
|
(value) => {
|
|
@@ -14577,7 +14560,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14577
14560
|
if (instance) {
|
|
14578
14561
|
return;
|
|
14579
14562
|
}
|
|
14580
|
-
let { placement,
|
|
14563
|
+
let { placement, offset: offset2, trigger, disabled } = props;
|
|
14581
14564
|
if (trigger === "hover") {
|
|
14582
14565
|
trigger = "mouseenter";
|
|
14583
14566
|
}
|
|
@@ -14587,7 +14570,6 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
14587
14570
|
instance = tippy(triggerRef.value, {
|
|
14588
14571
|
theme: "light",
|
|
14589
14572
|
trigger,
|
|
14590
|
-
triggerTarget,
|
|
14591
14573
|
content: bodyRef.value,
|
|
14592
14574
|
animation: "shift-away-subtle",
|
|
14593
14575
|
interactive: true,
|
|
@@ -15547,6 +15529,9 @@ function useVirtList(userProps, emitFunction) {
|
|
|
15547
15529
|
slotSize.footerSize = 0;
|
|
15548
15530
|
}
|
|
15549
15531
|
});
|
|
15532
|
+
onActivated(() => {
|
|
15533
|
+
scrollToOffset(reactiveData.offset);
|
|
15534
|
+
});
|
|
15550
15535
|
function getVirtualSize2beginInView() {
|
|
15551
15536
|
return reactiveData.virtualSize + getRangeSize(reactiveData.renderBegin, reactiveData.inViewBegin);
|
|
15552
15537
|
}
|