luyoumin-ui 0.0.66 → 0.0.68
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare function
|
|
1
|
+
declare function setDropdownBoxPoints(x: number, y: number): void;
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: (StringConstructor | {
|
|
@@ -123,7 +123,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
123
123
|
default: boolean;
|
|
124
124
|
};
|
|
125
125
|
}, {
|
|
126
|
-
|
|
126
|
+
setDropdownBoxPoints: typeof setDropdownBoxPoints;
|
|
127
127
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
128
128
|
"update:modelValue": (val: any) => void;
|
|
129
129
|
selectCompleted: () => void;
|
package/dist/luyoumin-ui.es.js
CHANGED
|
@@ -5942,7 +5942,7 @@ const __vite_glob_0_27 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
5942
5942
|
__proto__: null,
|
|
5943
5943
|
default: LymCascader
|
|
5944
5944
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5945
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
5945
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-1bca6cbb"), n = n(), popScopeId(), n);
|
|
5946
5946
|
const _hoisted_1$k = { class: "lym-select__wrapper lym-flex-cb no-select" };
|
|
5947
5947
|
const _hoisted_2$6 = { style: { "flex": "1" } };
|
|
5948
5948
|
const _hoisted_3$6 = { class: "lym-flex-c lym-select__multiple-item" };
|
|
@@ -6242,12 +6242,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6242
6242
|
}
|
|
6243
6243
|
function getDropdownBoxPoints() {
|
|
6244
6244
|
nextTick(() => {
|
|
6245
|
-
console.log("lymSelectRef.value----", lymSelectRef.value);
|
|
6246
6245
|
dropdownBoxPoints.value.x = lymSelectRef.value.offsetLeft;
|
|
6247
6246
|
dropdownBoxPoints.value.y = lymSelectRef.value.offsetTop + lymSelectRef.value.offsetHeight + 15;
|
|
6248
|
-
console.log("dropdownBoxPoints.value----", dropdownBoxPoints.value);
|
|
6249
6247
|
});
|
|
6250
6248
|
}
|
|
6249
|
+
function setDropdownBoxPoints(x, y) {
|
|
6250
|
+
console.log("lymSelectRef.value----", lymSelectRef.value.offsetLeft, lymSelectRef.value.offsetTop);
|
|
6251
|
+
dropdownBoxPoints.value.x = x + lymSelectRef.value.offsetLeft;
|
|
6252
|
+
dropdownBoxPoints.value.y = y + lymSelectRef.value.offsetTop;
|
|
6253
|
+
console.log("dropdownBoxPoints.value----", dropdownBoxPoints.value);
|
|
6254
|
+
}
|
|
6251
6255
|
function onMouseEnter(e) {
|
|
6252
6256
|
const targetDom = e.target;
|
|
6253
6257
|
const xRange = [targetDom.offsetLeft, targetDom.offsetLeft + targetDom.offsetWidth];
|
|
@@ -6513,7 +6517,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6513
6517
|
emit("selectCompleted");
|
|
6514
6518
|
}
|
|
6515
6519
|
__expose({
|
|
6516
|
-
|
|
6520
|
+
setDropdownBoxPoints
|
|
6517
6521
|
});
|
|
6518
6522
|
return (_ctx, _cache2) => {
|
|
6519
6523
|
const _directive_lym_click_outside = resolveDirective("lym-click-outside");
|
|
@@ -6743,7 +6747,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6743
6747
|
};
|
|
6744
6748
|
}
|
|
6745
6749
|
});
|
|
6746
|
-
const LymSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
6750
|
+
const LymSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-1bca6cbb"]]);
|
|
6747
6751
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6748
6752
|
__proto__: null,
|
|
6749
6753
|
default: LymSelect
|