@opentiny/tiny-robot 0.3.0-alpha.0 → 0.3.0-alpha.2

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/dist/close.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as o } from "./index6.js";
1
+ import { s as o } from "./index6.js";
2
2
  import { createElementBlock as n, openBlock as r, createElementVNode as t } from "vue";
3
3
  var c = {
4
4
  viewBox: "0 0 16 16",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as m, useCssVars as v, useModel as d, computed as _, createElementBlock as w, openBlock as g, createElementVNode as n, renderSlot as r, createVNode as c, unref as a } from "vue";
2
- import { N as h, K as $, T as C } from "../tiny-robot-svgs.js";
2
+ import { l as h, w as $, s as C } from "../tiny-robot-svgs.js";
3
3
  import u from "../icon-button/index.js";
4
4
  import { _ as b } from "../_plugin-vue_export-helper.js";
5
- const z = { class: "tr-container" }, B = { class: "tr-container__header" }, N = { class: "tr-container__header-operations" }, T = { class: "tr-container__footer" }, k = /* @__PURE__ */ m({
5
+ const z = { class: "tr-container" }, B = { class: "tr-container__header" }, k = { class: "tr-container__header-operations" }, y = { class: "tr-container__footer" }, E = /* @__PURE__ */ m({
6
6
  __name: "index",
7
7
  props: {
8
8
  show: { type: Boolean, required: !0 },
@@ -27,7 +27,7 @@ const z = { class: "tr-container" }, B = { class: "tr-container__header" }, N =
27
27
  r(t.$slots, "title", {}, () => [
28
28
  e[2] || (e[2] = n("h3", { class: "tr-container__title" }, "OpenTiny NEXT", -1))
29
29
  ]),
30
- n("div", N, [
30
+ n("div", k, [
31
31
  r(t.$slots, "operations"),
32
32
  c(a(u), {
33
33
  size: "28",
@@ -44,17 +44,17 @@ const z = { class: "tr-container" }, B = { class: "tr-container__header" }, N =
44
44
  ])
45
45
  ]),
46
46
  r(t.$slots, "default"),
47
- n("div", T, [
47
+ n("div", y, [
48
48
  r(t.$slots, "footer")
49
49
  ])
50
50
  ]));
51
51
  }
52
- }), i = /* @__PURE__ */ b(k, [["__scopeId", "data-v-6a9b9126"]]);
52
+ }), i = /* @__PURE__ */ b(E, [["__scopeId", "data-v-6a9b9126"]]);
53
53
  i.name = "TrContainer";
54
- const y = function(o) {
54
+ const I = function(o) {
55
55
  o.component(i.name, i);
56
56
  };
57
- i.install = y;
57
+ i.install = I;
58
58
  export {
59
59
  i as default
60
60
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as S, useCssVars as T, unref as M, ref as m, computed as R, watch as V, createElementBlock as o, openBlock as r, Fragment as p, createElementVNode as f, createVNode as B, renderSlot as E, Transition as N, withCtx as O, createCommentVNode as W, normalizeStyle as I, renderList as b, toDisplayString as z } from "vue";
2
- import { d as _, o as F } from "../index2.js";
1
+ import { defineComponent as B, useCssVars as E, unref as f, useAttrs as N, computed as _, ref as m, watch as O, createElementBlock as o, openBlock as s, Fragment as w, createElementVNode as h, createVNode as W, normalizeStyle as v, normalizeClass as z, renderSlot as I, Transition as A, withCtx as F, createCommentVNode as H, renderList as L, toDisplayString as P } from "vue";
2
+ import { c as g, o as U } from "../index2.js";
3
3
  import { t as n } from "../utils.js";
4
- import { _ as H } from "../_plugin-vue_export-helper.js";
5
- const L = { class: "tr-dropdown-menu__list" }, P = ["onClick"], U = /* @__PURE__ */ S({
4
+ import { _ as b } from "../_plugin-vue_export-helper.js";
5
+ const j = { class: "tr-dropdown-menu__list" }, q = ["onClick"], G = /* @__PURE__ */ B({
6
6
  __name: "index",
7
7
  props: {
8
8
  items: {},
@@ -10,62 +10,63 @@ const L = { class: "tr-dropdown-menu__list" }, P = ["onClick"], U = /* @__PURE__
10
10
  topOffset: { default: 0 }
11
11
  },
12
12
  emits: ["item-click"],
13
- setup(l, { emit: w }) {
14
- T((e) => ({
15
- "90b2d29e": M(n)(a.minWidth)
13
+ setup(l, { emit: k }) {
14
+ E((e) => ({
15
+ d82a8430: f(n)(a.minWidth)
16
16
  }));
17
- const a = l, t = m(!1), h = w, i = m(null), d = m(null), { x: v, y: g, update: k } = _(i), { width: x, height: C } = _(d), y = R(() => ({
18
- left: `min(${n(v.value)}, 100% - ${n(x.value)})`,
19
- top: `max(${n(g.value)} - ${n(C.value)} + ${n(a.topOffset)} - 8px, 0px)`
17
+ const a = l, p = N(), y = _(() => p.style), t = m(!1), C = k, i = m(null), d = m(null), { x, y: $, update: S } = g(i), { width: D, height: T } = g(d), M = _(() => ({
18
+ left: `min(${n(x.value)}, 100% - ${n(D.value)})`,
19
+ top: `max(${n($.value)} - ${n(T.value)} + ${n(a.topOffset)} - 8px, 0px)`
20
20
  }));
21
- F(d, (e) => {
21
+ U(d, (e) => {
22
22
  var u;
23
23
  (u = i.value) != null && u.contains(e.target) && e.stopPropagation(), t.value = !1;
24
- }), V(t, (e) => {
25
- e && k();
24
+ }), O(t, (e) => {
25
+ e && S();
26
26
  });
27
- const $ = () => {
27
+ const R = () => {
28
28
  t.value = !t.value;
29
- }, D = (e) => {
30
- t.value = !1, h("item-click", e);
29
+ }, V = (e) => {
30
+ t.value = !1, C("item-click", e);
31
31
  };
32
- return (e, u) => (r(), o(p, null, [
33
- f("div", {
34
- class: "tr-dropdown-menu__wrapper",
32
+ return (e, u) => (s(), o(w, null, [
33
+ h("div", {
34
+ class: z(["tr-dropdown-menu__wrapper", f(p).class]),
35
+ style: v(y.value),
35
36
  ref_key: "dropDownTriggerRef",
36
37
  ref: i,
37
- onClick: $
38
+ onClick: R
38
39
  }, [
39
- E(e.$slots, "default", {}, void 0, !0)
40
- ], 512),
41
- B(N, { name: "tr-dropdown-menu" }, {
42
- default: O(() => [
43
- t.value ? (r(), o("div", {
40
+ I(e.$slots, "default", {}, void 0, !0)
41
+ ], 6),
42
+ W(A, { name: "tr-dropdown-menu" }, {
43
+ default: F(() => [
44
+ t.value ? (s(), o("div", {
44
45
  key: 0,
45
46
  class: "tr-dropdown-menu",
46
- style: I(y.value),
47
+ style: v(M.value),
47
48
  ref_key: "dropdownMenuRef",
48
49
  ref: d
49
50
  }, [
50
- f("ul", L, [
51
- (r(!0), o(p, null, b(a.items, (c) => (r(), o("li", {
51
+ h("ul", j, [
52
+ (s(!0), o(w, null, L(a.items, (c) => (s(), o("li", {
52
53
  class: "tr-dropdown-menu__list-item",
53
54
  key: c.id,
54
- onClick: (q) => D(c)
55
- }, z(c.text), 9, P))), 128))
55
+ onClick: (K) => V(c)
56
+ }, P(c.text), 9, q))), 128))
56
57
  ])
57
- ], 4)) : W("", !0)
58
+ ], 4)) : H("", !0)
58
59
  ]),
59
60
  _: 1
60
61
  })
61
62
  ], 64));
62
63
  }
63
- }), s = /* @__PURE__ */ H(U, [["__scopeId", "data-v-ce90a07c"]]);
64
- s.name = "TrDropdownMenu";
65
- const j = function(l) {
66
- l.component(s.name, s);
64
+ }), r = /* @__PURE__ */ b(G, [["__scopeId", "data-v-620f91f9"]]);
65
+ r.name = "TrDropdownMenu";
66
+ const J = function(l) {
67
+ l.component(r.name, r);
67
68
  };
68
- s.install = j;
69
+ r.install = J;
69
70
  export {
70
- s as default
71
+ r as default
71
72
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as X, ref as E, computed as j, onMounted as z, watch as D, createElementBlock as a, openBlock as t, createCommentVNode as k, Fragment as I, renderList as S, toDisplayString as y, createVNode as h, unref as l, nextTick as H, createElementVNode as d, createBlock as _, withCtx as f, createTextVNode as O, resolveDynamicComponent as C } from "vue";
2
- import { H as T, B as N, E as q, $ as J, i as K, j as Q } from "../tiny-robot-svgs.js";
3
- import { B as G } from "../index3.js";
4
- import R, { ActionGroupItem as V } from "../action-group/index.js";
1
+ import { defineComponent as X, ref as A, computed as z, onMounted as D, watch as O, createElementBlock as a, openBlock as t, createCommentVNode as k, Fragment as E, renderList as S, toDisplayString as y, createVNode as h, unref as l, nextTick as q, createElementVNode as p, createBlock as d, withCtx as f, createTextVNode as j, resolveDynamicComponent as C } from "vue";
2
+ import { f as T, A as N, c as H, a as J, b as K, v as Q } from "../tiny-robot-svgs.js";
3
+ import { B as R } from "../index3.js";
4
+ import $, { ActionGroupItem as V } from "../action-group/index.js";
5
5
  import U from "../icon-button/index.js";
6
6
  import { _ as P } from "../_plugin-vue_export-helper.js";
7
7
  const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__ */ X({
@@ -11,8 +11,8 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
11
11
  linesLimit: { default: Number.MAX_SAFE_INTEGER }
12
12
  },
13
13
  setup(b) {
14
- const m = b, e = E(!1), g = E([]), c = E(null), L = () => {
15
- H(() => {
14
+ const m = b, e = A(!1), g = A([]), c = A(null), L = () => {
15
+ q(() => {
16
16
  const u = g.value.slice(0, m.sources.length).map((o) => (o == null ? void 0 : o.offsetTop) || 0), n = Array.from(new Set(u));
17
17
  if (n.length > m.linesLimit) {
18
18
  const o = n[m.linesLimit - 1], s = u.lastIndexOf(o);
@@ -20,26 +20,26 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
20
20
  } else
21
21
  c.value = null;
22
22
  });
23
- }, A = j(() => m.sources.length - (c.value || 0));
24
- z(L), D(() => m.sources, L);
25
- const p = (u, n) => {
23
+ }, x = z(() => m.sources.length - (c.value || 0));
24
+ D(L), O(() => m.sources, L);
25
+ const _ = (u, n) => {
26
26
  u && (g.value[n] = u);
27
27
  };
28
28
  return (u, n) => (t(), a("div", W, [
29
- (t(!0), a(I, null, S(m.sources, (o, s) => (t(), a(I, { key: s }, [
29
+ (t(!0), a(E, null, S(m.sources, (o, s) => (t(), a(E, { key: s }, [
30
30
  !c.value || e.value || s < c.value ? (t(), a("a", {
31
31
  key: 0,
32
32
  class: "pill",
33
33
  href: o.link,
34
34
  target: "_blank",
35
35
  ref_for: !0,
36
- ref: (r) => p(r, s)
36
+ ref: (r) => _(r, s)
37
37
  }, y(o.label), 9, Y)) : k("", !0),
38
38
  c.value && !e.value && s === c.value ? (t(), a("span", {
39
39
  key: 1,
40
40
  class: "pill",
41
41
  onClick: n[0] || (n[0] = (r) => e.value = !0)
42
- }, y(A.value) + "+ ", 1)) : k("", !0)
42
+ }, y(x.value) + "+ ", 1)) : k("", !0)
43
43
  ], 64))), 128)),
44
44
  e.value ? (t(), a("span", {
45
45
  key: 0,
@@ -69,22 +69,22 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
69
69
  copy: Q,
70
70
  refresh: K,
71
71
  like: J,
72
- dislike: q
72
+ dislike: H
73
73
  }, c = m, L = (n) => {
74
74
  var o, s, r;
75
75
  (r = (s = (o = e.operations) == null ? void 0 : o.find((v) => v.name === n)) == null ? void 0 : s.onClick) == null || r.call(s), c("operation", n);
76
- }, A = (n) => {
76
+ }, x = (n) => {
77
77
  var o, s, r;
78
78
  (r = (s = (o = e.actions) == null ? void 0 : o.find((v) => v.name === n)) == null ? void 0 : s.onClick) == null || r.call(s), c("action", n);
79
- }, p = E(!1), u = () => {
80
- p.value = !p.value;
79
+ }, _ = A(!1), u = () => {
80
+ _.value = !_.value;
81
81
  };
82
82
  return (n, o) => {
83
- var s, r, v, B, w, F, M, $;
83
+ var s, r, v, w, B, F, M, G;
84
84
  return t(), a("div", te, [
85
- d("div", se, [
86
- d("div", oe, [
87
- (s = e.operations) != null && s.length ? (t(), _(l(R), {
85
+ p("div", se, [
86
+ p("div", oe, [
87
+ (s = e.operations) != null && s.length ? (t(), d(l($), {
88
88
  key: 0,
89
89
  "max-num": e.operationsLimit,
90
90
  "drop-down-show-label-only": !0,
@@ -92,33 +92,34 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
92
92
  class: "tr-feedback__operations-left-action-group"
93
93
  }, {
94
94
  moreBtn: f(() => [
95
- h(l(G), {
95
+ h(l(R), {
96
96
  round: "",
97
97
  size: "mini",
98
98
  "reset-time": 0,
99
99
  class: "tr-feedback__operations-more-btn"
100
100
  }, {
101
101
  default: f(() => [
102
- o[0] || (o[0] = d("span", null, "更多", -1)),
102
+ o[0] || (o[0] = p("span", null, "更多", -1)),
103
103
  h(l(N))
104
104
  ]),
105
- _: 1
105
+ _: 1,
106
+ __: [0]
106
107
  })
107
108
  ]),
108
109
  default: f(() => [
109
- (t(!0), a(I, null, S(e.operations, (i) => (t(), _(l(V), {
110
+ (t(!0), a(E, null, S(e.operations, (i) => (t(), d(l(V), {
110
111
  key: i.name,
111
112
  name: i.name,
112
113
  label: i.label
113
114
  }, {
114
115
  default: f(() => [
115
- h(l(G), {
116
+ h(l(R), {
116
117
  round: "",
117
118
  "reset-time": 0,
118
119
  size: "mini"
119
120
  }, {
120
121
  default: f(() => [
121
- O(y(i.label), 1)
122
+ j(y(i.label), 1)
122
123
  ]),
123
124
  _: 2
124
125
  }, 1024)
@@ -128,32 +129,32 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
128
129
  ]),
129
130
  _: 1
130
131
  }, 8, ["max-num"])) : (r = e.sources) != null && r.length ? (t(), a("div", ne, [
131
- d("span", {
132
+ p("span", {
132
133
  class: "tr-feedback__source",
133
134
  onClick: u
134
135
  }, [
135
- d("span", null, y((v = e.sources) == null ? void 0 : v.length) + "条来源", 1),
136
- (t(), _(C(p.value ? l(T) : l(N))))
136
+ p("span", null, y((v = e.sources) == null ? void 0 : v.length) + "条来源", 1),
137
+ (t(), d(C(_.value ? l(T) : l(N))))
137
138
  ])
138
139
  ])) : k("", !0)
139
140
  ]),
140
- d("div", le, [
141
- h(l(R), {
141
+ p("div", le, [
142
+ h(l($), {
142
143
  "max-num": e.actionsLimit,
143
144
  "show-tooltip": !0,
144
- onItemClick: A
145
+ onItemClick: x
145
146
  }, {
146
147
  default: f(() => [
147
- (t(!0), a(I, null, S(e.actions, (i) => (t(), _(l(V), {
148
+ (t(!0), a(E, null, S(e.actions, (i) => (t(), d(l(V), {
148
149
  key: i.name,
149
150
  name: i.name,
150
151
  label: i.label
151
152
  }, {
152
153
  default: f(() => [
153
- typeof i.icon == "string" ? (t(), _(l(U), {
154
+ typeof i.icon == "string" ? (t(), d(l(U), {
154
155
  key: 0,
155
156
  icon: g[i.icon]
156
- }, null, 8, ["icon"])) : (t(), _(C(i.icon), { key: 1 }))
157
+ }, null, 8, ["icon"])) : (t(), d(C(i.icon), { key: 1 }))
157
158
  ]),
158
159
  _: 2
159
160
  }, 1032, ["name", "label"]))), 128))
@@ -162,17 +163,17 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
162
163
  }, 8, ["max-num"])
163
164
  ])
164
165
  ]),
165
- (B = e.operations) != null && B.length && ((w = e.sources) != null && w.length) || p.value && e.sources ? (t(), a("div", ae, [
166
+ (w = e.operations) != null && w.length && ((B = e.sources) != null && B.length) || _.value && e.sources ? (t(), a("div", ae, [
166
167
  (F = e.operations) != null && F.length && ((M = e.sources) != null && M.length) ? (t(), a("div", re, [
167
- d("span", {
168
+ p("span", {
168
169
  class: "tr-feedback__source",
169
170
  onClick: u
170
171
  }, [
171
- d("span", null, y(($ = e.sources) == null ? void 0 : $.length) + "条来源", 1),
172
- (t(), _(C(p.value ? l(T) : l(N))))
172
+ p("span", null, y((G = e.sources) == null ? void 0 : G.length) + "条来源", 1),
173
+ (t(), d(C(_.value ? l(T) : l(N))))
173
174
  ])
174
175
  ])) : k("", !0),
175
- p.value && e.sources ? (t(), _(l(ee), {
176
+ _.value && e.sources ? (t(), d(l(ee), {
176
177
  key: 1,
177
178
  sources: e.sources,
178
179
  "lines-limit": e.sourcesLinesLimit
@@ -181,12 +182,12 @@ const W = { class: "tr-feedback__source-list" }, Y = ["href"], Z = /* @__PURE__
181
182
  ]);
182
183
  };
183
184
  }
184
- }), x = /* @__PURE__ */ P(ie, [["__scopeId", "data-v-cc6ef316"]]);
185
- x.name = "TrFeedback";
185
+ }), I = /* @__PURE__ */ P(ie, [["__scopeId", "data-v-cc6ef316"]]);
186
+ I.name = "TrFeedback";
186
187
  const ce = function(b) {
187
- b.component(x.name, x);
188
+ b.component(I.name, I);
188
189
  };
189
- x.install = ce;
190
+ I.install = ce;
190
191
  export {
191
- x as default
192
+ I as default
192
193
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as q, mergeModels as E, useModel as G, watch as g, ref as i, computed as $, createElementBlock as a, openBlock as l, createElementVNode as B, Fragment as C, renderList as S, createCommentVNode as _, normalizeClass as I, createBlock as x, resolveDynamicComponent as b, toDisplayString as D, nextTick as H } from "vue";
2
- import { B as X } from "../tiny-robot-svgs.js";
3
- import { c as j, o as J } from "../index2.js";
1
+ import { defineComponent as q, mergeModels as E, useModel as G, watch as g, ref as i, computed as $, createElementBlock as a, openBlock as l, createElementVNode as C, Fragment as I, renderList as A, createCommentVNode as _, normalizeClass as b, createBlock as x, resolveDynamicComponent as B, toDisplayString as S, nextTick as H } from "vue";
2
+ import { A as X } from "../tiny-robot-svgs.js";
3
+ import { b as j, o as J } from "../index2.js";
4
4
  import { _ as K } from "../_plugin-vue_export-helper.js";
5
5
  const P = ["onClick"], Q = {
6
6
  key: 0,
@@ -18,7 +18,7 @@ const P = ["onClick"], Q = {
18
18
  selectedModifiers: {}
19
19
  }),
20
20
  emits: /* @__PURE__ */ E(["item-click"], ["update:selected"]),
21
- setup(d, { emit: F }) {
21
+ setup(d, { emit: D }) {
22
22
  const n = d, u = G(d, "selected");
23
23
  g(
24
24
  () => n.items,
@@ -27,7 +27,7 @@ const P = ["onClick"], Q = {
27
27
  },
28
28
  { immediate: !0 }
29
29
  );
30
- const N = F, y = i(null), w = i(null), k = i(null), M = i([]), s = i(null), m = i(!1), c = i(!1), A = (t, o) => {
30
+ const F = D, y = i(null), w = i(null), k = i(null), M = i([]), s = i(null), m = i(!1), c = i(!1), N = (t, o) => {
31
31
  t && (M.value[o] = t);
32
32
  }, L = () => {
33
33
  s.value = null, m.value = !1, H(() => {
@@ -48,7 +48,7 @@ const P = ["onClick"], Q = {
48
48
  t > 0 && L();
49
49
  });
50
50
  const z = $(() => s.value !== null ? n.items.slice(s.value) : []), O = $(() => s.value === null ? !1 : n.items.findIndex((o) => o.id === u.value) >= s.value), R = (t) => {
51
- u.value = t, c.value = !1, N("item-click", t);
51
+ u.value = t, c.value = !1, F("item-click", t);
52
52
  }, V = () => {
53
53
  n.showMoreTrigger === "click" && (c.value = !c.value);
54
54
  }, v = (t) => {
@@ -62,33 +62,33 @@ const P = ["onClick"], Q = {
62
62
  ref_key: "containerRef",
63
63
  ref: y
64
64
  }, [
65
- (l(!0), a(C, null, S(n.items, (e, f) => (l(), a(C, {
65
+ (l(!0), a(I, null, A(n.items, (e, f) => (l(), a(I, {
66
66
  key: e.id
67
67
  }, [
68
68
  s.value === null || f < s.value ? (l(), a("button", {
69
69
  key: 0,
70
- class: I(["tr-flow-layout__item", { "icon-only": !e.label }, { selected: e.id === u.value }]),
70
+ class: b(["tr-flow-layout__item", { "icon-only": !e.label }, { selected: e.id === u.value }]),
71
71
  ref_for: !0,
72
- ref: (r) => A(r, f),
72
+ ref: (r) => N(r, f),
73
73
  onClick: (r) => R(e.id)
74
74
  }, [
75
- (l(), x(b(e.icon), { class: "tr-flow-layout__item-icon" })),
76
- e.label ? (l(), a("span", Q, D(e.label), 1)) : _("", !0)
75
+ (l(), x(B(e.icon), { class: "tr-flow-layout__item-icon" })),
76
+ e.label ? (l(), a("span", Q, S(e.label), 1)) : _("", !0)
77
77
  ], 10, P)) : _("", !0)
78
78
  ], 64))), 128)),
79
- B("div", U, [
79
+ C("div", U, [
80
80
  m.value ? _("", !0) : (l(), a("button", {
81
81
  key: 0,
82
- class: I(["tr-flow-layout__item", "icon-only", { selected: O.value }]),
82
+ class: b(["tr-flow-layout__item", "icon-only", { selected: O.value }]),
83
83
  ref_key: "moreButtonRef",
84
84
  ref: w,
85
85
  onClick: V,
86
86
  onMouseenter: o[0] || (o[0] = (e) => v(!0)),
87
87
  onMouseleave: o[1] || (o[1] = (e) => v(!1))
88
88
  }, [
89
- (l(), x(b(n.moreIcon), { class: "tr-flow-layout__item-icon" }))
89
+ (l(), x(B(n.moreIcon), { class: "tr-flow-layout__item-icon" }))
90
90
  ], 34)),
91
- B("div", {
91
+ C("div", {
92
92
  class: "tr-flow-layout__dropdown-container",
93
93
  onMouseenter: o[2] || (o[2] = (e) => v(!0)),
94
94
  onMouseleave: o[3] || (o[3] = (e) => v(!1))
@@ -99,20 +99,20 @@ const P = ["onClick"], Q = {
99
99
  ref_key: "dropDownRef",
100
100
  ref: k
101
101
  }, [
102
- (l(!0), a(C, null, S(z.value, (e) => (l(), a("button", {
103
- class: I(["tr-flow-layout__dropdown_item", { selected: e.id === u.value }]),
102
+ (l(!0), a(I, null, A(z.value, (e) => (l(), a("button", {
103
+ class: b(["tr-flow-layout__dropdown_item", { selected: e.id === u.value }]),
104
104
  key: e.id,
105
105
  onClick: (f) => R(e.id)
106
106
  }, [
107
- (l(), x(b(e.icon), { class: "tr-flow-layout__item-icon" })),
108
- B("span", Z, D(e.label), 1)
107
+ (l(), x(B(e.icon), { class: "tr-flow-layout__item-icon" })),
108
+ C("span", Z, S(e.label), 1)
109
109
  ], 10, Y))), 128))
110
110
  ], 512)) : _("", !0)
111
111
  ], 32)
112
112
  ])
113
113
  ], 512));
114
114
  }
115
- }), p = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-5c283520"]]);
115
+ }), p = /* @__PURE__ */ K(ee, [["__scopeId", "data-v-8d510691"]]);
116
116
  p.name = "TrFlowLayout";
117
117
  const te = function(d) {
118
118
  d.component(p.name, p);