@opentiny/tiny-robot 0.3.0-alpha.7 → 0.3.0-alpha.9

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,8 +1,8 @@
1
- import { defineComponent as C, mergeModels as f, useModel as M, computed as i, ref as B, watch as R, createBlock as x, openBlock as a, unref as E, withCtx as v, createElementVNode as T, createElementBlock as w, Fragment as D, renderList as b, toDisplayString as H, renderSlot as L } from "vue";
2
- import { o as P, a as h } from "../index2.js";
3
- import { B as I } from "../index3.js";
4
- import { _ as S } from "../_plugin-vue_export-helper.js";
5
- const $ = { class: "tr-dropdown-menu__list" }, F = ["onClick"], N = /* @__PURE__ */ C({
1
+ import { defineComponent as M, mergeModels as f, useModel as B, computed as a, ref as x, watch as R, createBlock as E, openBlock as i, unref as T, withCtx as v, createElementVNode as D, createElementBlock as w, Fragment as H, renderList as L, toDisplayString as P, renderSlot as b } from "vue";
2
+ import { o as I, a as h } from "../index2.js";
3
+ import { B as S } from "../index3.js";
4
+ import { _ as $ } from "../_plugin-vue_export-helper.js";
5
+ const F = { class: "tr-dropdown-menu__list" }, N = ["onClick"], O = /* @__PURE__ */ M({
6
6
  __name: "index",
7
7
  props: /* @__PURE__ */ f({
8
8
  appendTo: {},
@@ -14,29 +14,29 @@ const $ = { class: "tr-dropdown-menu__list" }, F = ["onClick"], N = /* @__PURE__
14
14
  showModifiers: {}
15
15
  }),
16
16
  emits: /* @__PURE__ */ f(["item-click", "click-outside"], ["update:show"]),
17
- setup(n, { emit: k }) {
18
- const t = n, c = k, d = M(n, "show"), o = i({
19
- get: () => t.trigger === "manual" ? t.show : d.value,
17
+ setup(n, { expose: k, emit: _ }) {
18
+ const t = n, c = _, p = B(n, "show"), o = a({
19
+ get: () => t.trigger === "manual" ? t.show : p.value,
20
20
  set: (e) => {
21
- t.trigger !== "manual" && (d.value = e);
21
+ t.trigger !== "manual" && (p.value = e);
22
22
  }
23
- }), l = B(null), p = i(() => {
23
+ }), s = x(null), u = a(() => {
24
24
  var e;
25
- return (e = l.value) == null ? void 0 : e.triggerRef;
26
- }), u = i(() => {
25
+ return (e = s.value) == null ? void 0 : e.triggerRef;
26
+ }), d = a(() => {
27
27
  var e;
28
- return (e = l.value) == null ? void 0 : e.popperRef;
28
+ return (e = s.value) == null ? void 0 : e.popperRef;
29
29
  });
30
30
  if (t.trigger === "click" || t.trigger === "manual")
31
- P(
32
- u,
31
+ I(
32
+ d,
33
33
  (e) => {
34
34
  c("click-outside", e), o.value = !1;
35
35
  },
36
- { ignore: [p] }
36
+ { ignore: [u] }
37
37
  );
38
38
  else if (t.trigger === "hover") {
39
- const e = h(p, { delayEnter: 100, delayLeave: 300 }), m = h(u, { delayEnter: 100, delayLeave: 300 });
39
+ const e = h(u, { delayEnter: 100, delayLeave: 300 }), m = h(d, { delayEnter: 100, delayLeave: 300 });
40
40
  R(
41
41
  () => [e.value, m.value],
42
42
  ([r, g]) => {
@@ -44,44 +44,49 @@ const $ = { class: "tr-dropdown-menu__list" }, F = ["onClick"], N = /* @__PURE__
44
44
  }
45
45
  );
46
46
  }
47
- const _ = () => {
47
+ const y = () => {
48
48
  t.trigger === "click" && (o.value = !o.value);
49
- }, y = (e) => {
49
+ }, C = (e) => {
50
50
  o.value = !1, c("item-click", e);
51
51
  };
52
- return (e, m) => (a(), x(E(I), {
52
+ return k({
53
+ update: () => {
54
+ var e;
55
+ return (e = s.value) == null ? void 0 : e.update();
56
+ }
57
+ }), (e, m) => (i(), E(T(S), {
53
58
  show: o.value,
54
59
  class: "tr-dropdown-menu",
55
60
  ref_key: "basePopperRef",
56
- ref: l,
61
+ ref: s,
57
62
  placement: "top-left",
58
63
  "append-to": t.appendTo,
59
64
  offset: 8,
60
65
  "transition-props": { name: "tr-dropdown-menu" },
61
66
  "prevent-overflow": !0,
62
- "trigger-events": { onClick: _ }
67
+ "trigger-events": { onClick: y }
63
68
  }, {
64
69
  trigger: v(() => [
65
- L(e.$slots, "trigger", {}, void 0, !0)
70
+ b(e.$slots, "trigger", {}, void 0, !0)
66
71
  ]),
67
72
  content: v(() => [
68
- T("ul", $, [
69
- (a(!0), w(D, null, b(t.items, (r) => (a(), w("li", {
73
+ D("ul", F, [
74
+ (i(!0), w(H, null, L(t.items, (r) => (i(), w("li", {
70
75
  class: "tr-dropdown-menu__list-item",
71
76
  key: r.id,
72
- onClick: (g) => y(r)
73
- }, H(r.text), 9, F))), 128))
77
+ onClick: (g) => C(r)
78
+ }, P(r.text), 9, N))), 128))
74
79
  ])
75
80
  ]),
76
81
  _: 3
77
82
  }, 8, ["show", "append-to", "trigger-events"]));
78
83
  }
79
- }), s = /* @__PURE__ */ S(N, [["__scopeId", "data-v-cb0454c9"]]);
80
- s.name = "TrDropdownMenu";
81
- const O = function(n) {
82
- n.component(s.name, s);
84
+ }), l = /* @__PURE__ */ $(O, [["__scopeId", "data-v-0cae3303"]]);
85
+ l.name = "TrDropdownMenu";
86
+ const V = function(n) {
87
+ n.component(l.name, l);
83
88
  };
84
- s.install = O;
89
+ l.install = V;
85
90
  export {
86
- s as default
91
+ l as default
87
92
  };
package/dist/index.d.ts CHANGED
@@ -54,7 +54,9 @@ declare const __VLS_component_2: DefineComponent<__VLS_PublicProps, {}, {}, {},
54
54
  "onUpdate:fullscreen"?: ((value: boolean | undefined) => any) | undefined;
55
55
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
56
56
 
57
- declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
57
+ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_2, {
58
+ update: () => void | undefined;
59
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
58
60
  "update:show": (value: boolean) => any;
59
61
  } & {
60
62
  "item-click": (item: DropdownMenuItem) => any;
@@ -108,7 +110,8 @@ transitionProps?: TransitionProps;
108
110
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
109
111
  }> & Readonly<{}>, {
110
112
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
111
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
113
+ popperRef: ComputedRef<HTMLDivElement | null>;
114
+ update: () => void;
112
115
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
113
116
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
114
117
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -144,9 +147,10 @@ preventOverflow?: boolean;
144
147
  show?: boolean;
145
148
  transitionProps?: TransitionProps;
146
149
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
147
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
150
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
148
151
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
149
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
152
+ popperRef: ComputedRef<HTMLDivElement | null>;
153
+ update: () => void;
150
154
  }> & {} & ComponentCustomProperties & {} & {
151
155
  $slots: Readonly<{
152
156
  trigger?: () => VNode[];
@@ -727,7 +731,9 @@ floatingItemsRef: HTMLDivElement;
727
731
  floatingMaybeItemRefs: unknown[];
728
732
  }, HTMLDivElement>;
729
733
 
730
- declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
734
+ declare const __VLS_component_8: DefineComponent<__VLS_PublicProps_4, {
735
+ update: () => void | undefined;
736
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
731
737
  "update:selectedGroup": (value: string) => any;
732
738
  } & {
733
739
  close: () => any;
@@ -790,7 +796,8 @@ transitionProps?: TransitionProps;
790
796
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
791
797
  }> & Readonly<{}>, {
792
798
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
793
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
799
+ popperRef: ComputedRef<HTMLDivElement | null>;
800
+ update: () => void;
794
801
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
795
802
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
796
803
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -826,9 +833,10 @@ preventOverflow?: boolean;
826
833
  show?: boolean;
827
834
  transitionProps?: TransitionProps;
828
835
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
829
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
836
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
830
837
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
831
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
838
+ popperRef: ComputedRef<HTMLDivElement | null>;
839
+ update: () => void;
832
840
  }> & {} & ComponentCustomProperties & {} & {
833
841
  $slots: Readonly<{
834
842
  trigger?: () => VNode[];
@@ -948,7 +956,8 @@ declare function __VLS_template_3(): {
948
956
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
949
957
  }> & Readonly<{}>, {
950
958
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
951
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
959
+ popperRef: ComputedRef<HTMLDivElement | null>;
960
+ update: () => void;
952
961
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
953
962
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
954
963
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -984,9 +993,10 @@ declare function __VLS_template_3(): {
984
993
  show?: boolean;
985
994
  transitionProps?: TransitionProps;
986
995
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
987
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
996
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
988
997
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
989
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
998
+ popperRef: ComputedRef<HTMLDivElement | null>;
999
+ update: () => void;
990
1000
  }> & {} & ComponentCustomProperties & {} & {
991
1001
  $slots: Readonly<{
992
1002
  trigger?: () => VNode[];
@@ -1594,7 +1604,8 @@ declare function __VLS_template_8(): {
1594
1604
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1595
1605
  }> & Readonly<{}>, {
1596
1606
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1597
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
1607
+ popperRef: ComputedRef<HTMLDivElement | null>;
1608
+ update: () => void;
1598
1609
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1599
1610
  placement: "top-center" | "bottom-center" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
1600
1611
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -1630,9 +1641,10 @@ declare function __VLS_template_8(): {
1630
1641
  show?: boolean;
1631
1642
  transitionProps?: TransitionProps;
1632
1643
  triggerEvents?: Partial<Record<`on${Capitalize<string>}`, (...args: any[]) => void>>;
1633
- }> & Readonly<{}>, "placement" | "triggerRef" | "popperRef"> & ShallowUnwrapRef< {
1644
+ }> & Readonly<{}>, "placement" | "popperRef" | "update" | "triggerRef"> & ShallowUnwrapRef< {
1634
1645
  triggerRef: ComputedRef<HTMLElement | SVGElement | null | undefined>;
1635
- popperRef: Ref<HTMLElement | SVGElement | null | undefined, HTMLElement | SVGElement | null | undefined>;
1646
+ popperRef: ComputedRef<HTMLDivElement | null>;
1647
+ update: () => void;
1636
1648
  }> & {} & ComponentCustomProperties & {} & {
1637
1649
  $slots: Readonly<{
1638
1650
  trigger?: () => VNode[];
package/dist/index3.js CHANGED
@@ -1,49 +1,54 @@
1
- import { nextTick as h, h as R, defineComponent as x, render as b, onBeforeUnmount as j, Teleport as Z, computed as g, createBlock as S, openBlock as _, Transition as q, normalizeProps as G, guardReactiveProps as J, withCtx as K, createElementBlock as L, createCommentVNode as Q, renderSlot as X, useSlots as Y, ref as ee, watch as te, useAttrs as oe, reactive as se, resolveDynamicComponent as re, unref as B, mergeProps as T, createVNode as ne } from "vue";
2
- import { d as E, f as ae, c as le } from "./index2.js";
3
- import { t as p } from "./utils.js";
4
- import { _ as $ } from "./_plugin-vue_export-helper.js";
5
- import { u as pe } from "./useSlotRefs.js";
6
- const ce = x({
7
- setup: (r) => () => R(Z, r.teleportProps, r.vnodeFactory()),
1
+ import { nextTick as R, h as k, defineComponent as g, render as B, onBeforeUnmount as j, Teleport as Z, computed as m, ref as $, createBlock as C, openBlock as h, Transition as q, normalizeProps as G, guardReactiveProps as J, withCtx as K, createElementBlock as L, createCommentVNode as Q, renderSlot as X, useSlots as Y, watch as ee, useAttrs as te, reactive as oe, resolveDynamicComponent as re, unref as T, mergeProps as S, createVNode as se } from "vue";
2
+ import { d as ne, f as pe, c as ae } from "./index2.js";
3
+ import { t as c } from "./utils.js";
4
+ import { _ as O } from "./_plugin-vue_export-helper.js";
5
+ import { u as le } from "./useSlotRefs.js";
6
+ const ce = g({
7
+ setup: (r) => () => k(Z, r.teleportProps, r.vnodeFactory()),
8
8
  props: ["teleportProps", "vnodeFactory"]
9
9
  });
10
- function ie(r, n) {
11
- let e = null, o = null, c = !1;
12
- h(() => {
13
- c || (o = document.createElement("div"), e = R(ce, { teleportProps: r, vnodeFactory: n }), b(e, o));
10
+ function ie(r, p) {
11
+ let e = null, o = null, a = !1;
12
+ R(() => {
13
+ a || (o = document.createElement("div"), e = k(ce, { teleportProps: r, vnodeFactory: p }), B(e, o));
14
14
  }), j(() => {
15
- c = !0, h(() => {
16
- o && (b(null, o), o.remove(), e = null, o = null);
15
+ a = !0, R(() => {
16
+ o && (B(null, o), o.remove(), e = null, o = null);
17
17
  });
18
18
  });
19
19
  }
20
- function ue(r, n) {
21
- return g(() => {
20
+ function ue(r, p) {
21
+ return m(() => {
22
22
  var f;
23
- const e = E(r), o = (f = e == null ? void 0 : e.getRootNode) == null ? void 0 : f.call(e);
23
+ const e = ne(r), o = (f = e == null ? void 0 : e.getRootNode) == null ? void 0 : f.call(e);
24
24
  return o instanceof ShadowRoot ? o : document.body;
25
25
  });
26
26
  }
27
- const fe = {
28
- key: 0,
29
- class: "tr-base-popper"
30
- }, de = /* @__PURE__ */ x({
27
+ const fe = /* @__PURE__ */ g({
31
28
  __name: "Popper",
32
29
  props: {
33
30
  show: { type: Boolean },
34
31
  transitionProps: {}
35
32
  },
36
- setup(r) {
37
- return (n, e) => (_(), S(q, G(J(n.transitionProps)), {
33
+ setup(r, { expose: p }) {
34
+ const e = $(null);
35
+ return p({
36
+ popperRef: e
37
+ }), (o, a) => (h(), C(q, G(J(o.transitionProps)), {
38
38
  default: K(() => [
39
- n.show ? (_(), L("div", fe, [
40
- X(n.$slots, "default", {}, void 0, !0)
41
- ])) : Q("", !0)
39
+ o.show ? (h(), L("div", {
40
+ key: 0,
41
+ class: "tr-base-popper",
42
+ ref_key: "popperRef",
43
+ ref: e
44
+ }, [
45
+ X(o.$slots, "default", {}, void 0, !0)
46
+ ], 512)) : Q("", !0)
42
47
  ]),
43
48
  _: 3
44
49
  }, 16));
45
50
  }
46
- }), me = /* @__PURE__ */ $(de, [["__scopeId", "data-v-082a686e"]]), ve = /* @__PURE__ */ x({
51
+ }), de = /* @__PURE__ */ O(fe, [["__scopeId", "data-v-25c13ab7"]]), me = /* @__PURE__ */ g({
47
52
  inheritAttrs: !1,
48
53
  __name: "index",
49
54
  props: {
@@ -62,22 +67,21 @@ const fe = {
62
67
  triggerEvents: {}
63
68
  },
64
69
  setup(r, {
65
- expose: n
70
+ expose: p
66
71
  }) {
67
72
  const e = r, o = Y(), {
68
- vnodes: c,
73
+ vnodes: a,
69
74
  ref: u,
70
75
  setRef: f
71
- } = pe(o.trigger), k = (t = {}) => {
76
+ } = le(o.trigger), E = (t = {}) => {
72
77
  const s = {};
73
- for (const [l, a] of Object.entries(t))
74
- /^on[A-Z]/.test(l) && typeof a == "function" && (s[l] = a);
78
+ for (const [l, n] of Object.entries(t))
79
+ /^on[A-Z]/.test(l) && typeof n == "function" && (s[l] = n);
75
80
  return s;
76
- }, d = ee(null), C = async (t) => {
77
- await h();
78
- const s = E(t);
79
- s instanceof Element ? d.value = s : d.value = null;
80
- }, i = g(() => {
81
+ }, x = $(null), _ = m(() => {
82
+ var t;
83
+ return ((t = x.value) == null ? void 0 : t.popperRef) || null;
84
+ }), i = m(() => {
81
85
  var t, s;
82
86
  return typeof e.offset == "number" ? {
83
87
  mainAxis: e.offset,
@@ -87,60 +91,61 @@ const fe = {
87
91
  crossAxis: ((s = e.offset) == null ? void 0 : s.crossAxis) ?? 0
88
92
  };
89
93
  }), {
90
- top: O,
91
- bottom: N,
94
+ top: N,
95
+ bottom: V,
92
96
  left: w,
93
- right: V,
94
- width: z,
95
- update: D
96
- } = ae(u), {
97
+ right: z,
98
+ width: D,
99
+ update: y
100
+ } = pe(u), {
97
101
  width: P,
98
102
  height: v
99
- } = le(d, void 0, {
103
+ } = ae(_, void 0, {
100
104
  box: "border-box"
101
- }), F = g(() => {
105
+ }), F = m(() => {
102
106
  const {
103
107
  placement: t,
104
108
  preventOverflow: s
105
- } = e, l = {}, a = (m, y) => {
109
+ } = e, l = {}, n = (d, A) => {
106
110
  if (!s) {
107
- l[m] = y;
111
+ l[d] = A;
108
112
  return;
109
113
  }
110
- const A = m === "top" || m === "bottom", M = A ? "100dvh" : "100dvw", W = p(A ? v.value : P.value);
111
- l[m] = `clamp(0px, ${y}, calc(${M} - ${W}))`;
114
+ const b = d === "top" || d === "bottom", M = b ? "100dvh" : "100dvw", W = c(b ? v.value : P.value);
115
+ l[d] = `clamp(0px, ${A}, calc(${M} - ${W}))`;
112
116
  };
113
- return t.includes("top") && a("top", p(O.value - v.value - i.value.mainAxis)), t.includes("bottom") && a("bottom", `calc(100% - ${p(N.value + v.value + i.value.mainAxis)})`), t.includes("left") && a("left", p(w.value + i.value.crossAxis)), t.includes("right") && a("right", `calc(100% - ${p(V.value + i.value.crossAxis)})`), t.includes("center") && a("left", p(w.value + z.value / 2 - P.value / 2 + i.value.crossAxis)), l;
117
+ return t.includes("top") && n("top", c(N.value - v.value - i.value.mainAxis)), t.includes("bottom") && n("bottom", `calc(100% - ${c(V.value + v.value + i.value.mainAxis)})`), t.includes("left") && n("left", c(w.value + i.value.crossAxis)), t.includes("right") && n("right", `calc(100% - ${c(z.value + i.value.crossAxis)})`), t.includes("center") && n("left", c(w.value + D.value / 2 - P.value / 2 + i.value.crossAxis)), l;
114
118
  });
115
- te(() => e.show, (t) => {
116
- t && D();
119
+ ee(() => e.show, (t) => {
120
+ t && y();
117
121
  }, {
118
122
  flush: "post"
119
123
  });
120
- const U = ue(u), H = oe(), I = se({
121
- to: e.appendTo || U.value
124
+ const I = ue(u), U = te(), H = oe({
125
+ to: e.appendTo || I.value
122
126
  });
123
- return ie(I, () => ne(me, T({
124
- ref: C,
127
+ return ie(H, () => se(de, S({
128
+ ref: x,
125
129
  show: e.show,
126
130
  transitionProps: e.transitionProps,
127
131
  style: F.value
128
- }, H), {
132
+ }, U), {
129
133
  default: () => {
130
134
  var t;
131
135
  return [(t = o.content) == null ? void 0 : t.call(o)];
132
136
  }
133
- })), n({
137
+ })), p({
134
138
  triggerRef: u,
135
- popperRef: d
136
- }), (t, s) => (_(), S(re(B(c)[0]), T({
137
- ref: B(f)
138
- }, k(e.triggerEvents)), null, 16));
139
+ popperRef: _,
140
+ update: y
141
+ }), (t, s) => (h(), C(re(T(a)[0]), S({
142
+ ref: T(f)
143
+ }, E(e.triggerEvents)), null, 16));
139
144
  }
140
- }), he = /* @__PURE__ */ $(ve, [["__scopeId", "data-v-aa8afcd1"]]);
141
- he.name = "TrBasePopper";
145
+ }), ve = /* @__PURE__ */ O(me, [["__scopeId", "data-v-c09160be"]]);
146
+ ve.name = "TrBasePopper";
142
147
  export {
143
- he as B,
148
+ ve as B,
144
149
  ie as c,
145
150
  ue as u
146
151
  };