luyoumin-ui 0.0.65 → 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 getDropdownBoxPoints(): void;
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
- getDropdownBoxPoints: typeof getDropdownBoxPoints;
126
+ setDropdownBoxPoints: typeof setDropdownBoxPoints;
127
127
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
128
128
  "update:modelValue": (val: any) => void;
129
129
  selectCompleted: () => void;
@@ -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-089f8bd8"), n = n(), popScopeId(), n);
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" };
@@ -6238,14 +6238,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6238
6238
  inputText.value = defaultSelectedData ? defaultSelectedData[props.labelKey] : "";
6239
6239
  }
6240
6240
  }
6241
+ getDropdownBoxPoints();
6242
+ }
6243
+ function getDropdownBoxPoints() {
6241
6244
  nextTick(() => {
6242
- getDropdownBoxPoints();
6245
+ dropdownBoxPoints.value.x = lymSelectRef.value.offsetLeft;
6246
+ dropdownBoxPoints.value.y = lymSelectRef.value.offsetTop + lymSelectRef.value.offsetHeight + 15;
6243
6247
  });
6244
6248
  }
6245
- function getDropdownBoxPoints() {
6246
- console.log("lymSelectRef.value----", lymSelectRef.value);
6247
- dropdownBoxPoints.value.x = lymSelectRef.value.offsetLeft;
6248
- dropdownBoxPoints.value.y = lymSelectRef.value.offsetTop + lymSelectRef.value.offsetHeight + 15;
6249
+ function setDropdownBoxPoints(x, y) {
6250
+ dropdownBoxPoints.value.x = x;
6251
+ dropdownBoxPoints.value.y = y;
6249
6252
  console.log("dropdownBoxPoints.value----", dropdownBoxPoints.value);
6250
6253
  }
6251
6254
  function onMouseEnter(e) {
@@ -6513,7 +6516,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6513
6516
  emit("selectCompleted");
6514
6517
  }
6515
6518
  __expose({
6516
- getDropdownBoxPoints
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-089f8bd8"]]);
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