luyoumin-ui 0.0.66 → 0.0.67
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-26ff96bf"), 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,15 @@ 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
|
+
dropdownBoxPoints.value.x = x;
|
|
6251
|
+
dropdownBoxPoints.value.y = y;
|
|
6252
|
+
console.log("dropdownBoxPoints.value----", dropdownBoxPoints.value);
|
|
6253
|
+
}
|
|
6251
6254
|
function onMouseEnter(e) {
|
|
6252
6255
|
const targetDom = e.target;
|
|
6253
6256
|
const xRange = [targetDom.offsetLeft, targetDom.offsetLeft + targetDom.offsetWidth];
|
|
@@ -6513,7 +6516,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6513
6516
|
emit("selectCompleted");
|
|
6514
6517
|
}
|
|
6515
6518
|
__expose({
|
|
6516
|
-
|
|
6519
|
+
setDropdownBoxPoints
|
|
6517
6520
|
});
|
|
6518
6521
|
return (_ctx, _cache2) => {
|
|
6519
6522
|
const _directive_lym_click_outside = resolveDirective("lym-click-outside");
|
|
@@ -6743,7 +6746,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
6743
6746
|
};
|
|
6744
6747
|
}
|
|
6745
6748
|
});
|
|
6746
|
-
const LymSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-
|
|
6749
|
+
const LymSelect = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-26ff96bf"]]);
|
|
6747
6750
|
const __vite_glob_0_20 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6748
6751
|
__proto__: null,
|
|
6749
6752
|
default: LymSelect
|