@selectwin/kit 0.1.244 → 0.1.246

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,10 +1,11 @@
1
1
  /* empty css */
2
2
  import { useSelectReveal as e } from "./internal/useSelectReveal.js";
3
- import { createContext as t, forwardRef as n, useContext as r } from "react";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
3
+ import { registerSheetFrame as t } from "./internal/sheetBands.js";
4
+ import { createContext as n, forwardRef as r, useContext as i } from "react";
5
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
5
6
  //#region src/SelectDetail.tsx
6
- var o = t(!1), s = t(!1);
7
- function c({ children: t, stacked: n = !1, compact: r = !1, loading: a = !1, as: c = "div", className: l, ...u }) {
7
+ var s = n(!1), c = n(!1);
8
+ function l({ children: t, stacked: n = !1, compact: r = !1, loading: i = !1, as: o = "div", className: l, ...u }) {
8
9
  let d = e({
9
10
  selector: ".select-detail",
10
11
  y: 8,
@@ -12,11 +13,11 @@ function c({ children: t, stacked: n = !1, compact: r = !1, loading: a = !1, as:
12
13
  stagger: .05,
13
14
  scroll: !0
14
15
  }), f = `select-detaillist${n ? " select-detaillist--stacked" : ""}${r ? " select-detaillist--compact" : ""}${l ? " " + l : ""}`;
15
- return /* @__PURE__ */ i(o.Provider, {
16
- value: a,
17
- children: /* @__PURE__ */ i(s.Provider, {
18
- value: c === "dl",
19
- children: i(c === "dl" ? "dl" : "div", {
16
+ return /* @__PURE__ */ a(s.Provider, {
17
+ value: i,
18
+ children: /* @__PURE__ */ a(c.Provider, {
19
+ value: o === "dl",
20
+ children: a(o === "dl" ? "dl" : "div", {
20
21
  ...u,
21
22
  className: f,
22
23
  ref: d,
@@ -25,22 +26,23 @@ function c({ children: t, stacked: n = !1, compact: r = !1, loading: a = !1, as:
25
26
  })
26
27
  });
27
28
  }
28
- var l = n(function({ label: e, children: t, action: n, align: c = "center", loading: l, className: u, ...d }, f) {
29
- let p = r(o), m = l ?? p, h = r(s), g = h ? "dt" : "div", _ = h ? "dd" : "div";
30
- return /* @__PURE__ */ a("div", {
29
+ t(l);
30
+ var u = r(function({ label: e, children: t, action: n, align: r = "center", loading: l, className: u, ...d }, f) {
31
+ let p = i(s), m = l ?? p, h = i(c), g = h ? "dt" : "div", _ = h ? "dd" : "div";
32
+ return /* @__PURE__ */ o("div", {
31
33
  ref: f,
32
34
  ...d,
33
- className: `select-detail select-detail--${c}${u ? " " + u : ""}`,
35
+ className: `select-detail select-detail--${r}${u ? " " + u : ""}`,
34
36
  children: [
35
- /* @__PURE__ */ i(g, {
37
+ /* @__PURE__ */ a(g, {
36
38
  className: "select-detail__label",
37
39
  children: e
38
40
  }),
39
- /* @__PURE__ */ i(_, {
41
+ /* @__PURE__ */ a(_, {
40
42
  className: "select-detail__value",
41
- children: m ? /* @__PURE__ */ i("span", { className: "select-skeleton select-detail__skel" }) : t
43
+ children: m ? /* @__PURE__ */ a("span", { className: "select-skeleton select-detail__skel" }) : t
42
44
  }),
43
- n && /* @__PURE__ */ i(_, {
45
+ n && /* @__PURE__ */ a(_, {
44
46
  className: "select-detail__action",
45
47
  children: n
46
48
  })
@@ -48,6 +50,6 @@ var l = n(function({ label: e, children: t, action: n, align: c = "center", load
48
50
  });
49
51
  });
50
52
  //#endregion
51
- export { c as SelectDetailList, l as SelectDetailRow };
53
+ export { l as SelectDetailList, u as SelectDetailRow };
52
54
 
53
55
  //# sourceMappingURL=SelectDetail.js.map
@@ -107,6 +107,12 @@ export interface SelectFlowLayoutProps {
107
107
  * nada muda: o painel é a coluna da direita. */
108
108
  inspectorOpen?: boolean;
109
109
  onInspectorClose?: () => void;
110
+ /**
111
+ * 0.1.246: a largura do painel lateral no desktop — `md` (27rem, o padrão) ou `lg` (30rem: o passo a passo e as
112
+ * configurações do SmartOps, que pedem mais respiro). A troca anima (a coluna do desenho cede o espaço devagar). No
113
+ * celular e no estreito nada muda.
114
+ */
115
+ inspectorSize?: 'md' | 'lg';
110
116
  }
111
117
  /**
112
118
  * SelectFlowLayout — a página de um editor de fluxo: barra (voltar · identidade · ferramentas · ações),
@@ -115,4 +121,4 @@ export interface SelectFlowLayoutProps {
115
121
  * de rodapé para ela). Em telas estreitas o painel desce para baixo do canvas — ou, com `inspectorOpen`, vira
116
122
  * uma folha que sobe por cima do desenho no celular, e o desenho fica com a tela inteira.
117
123
  */
118
- export declare function SelectFlowLayout({ title, subtitle, onBack, backLabel, toolbar, actions, error, canvas, inspectorHead, inspector, inspectorLabel, inspectorOpen, onInspectorClose, }: SelectFlowLayoutProps): import("react").JSX.Element;
124
+ export declare function SelectFlowLayout({ title, subtitle, onBack, backLabel, toolbar, actions, error, canvas, inspectorHead, inspector, inspectorLabel, inspectorOpen, onInspectorClose, inspectorSize, }: SelectFlowLayoutProps): import("react").JSX.Element;
@@ -2,77 +2,124 @@
2
2
  import { ArrowLeftIcon as e, CloseIcon as t, MinusCircleIcon as n, PlusIcon as r, TrashIcon as i } from "./icons.js";
3
3
  import { SelectAlert as a } from "./SelectAlert.js";
4
4
  import { SelectIconButton as o } from "./SelectIconButton.js";
5
- import { useId as s, useState as c } from "react";
6
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
+ import { useId as s, useRef as c, useState as l } from "react";
6
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
7
7
  //#region src/SelectFlowCanvas.tsx
8
- var d = (e) => Math.round(e * 100) / 100;
9
- function f({ width: e, height: t, edges: i, labels: a = [], pluses: f = [], children: p, zoom: m, defaultZoom: h = 1, onZoomChange: g, minZoom: _ = .5, maxZoom: v = 1.3, onBackgroundClick: y, ariaLabel: b }) {
10
- let x = s().replace(/:/g, ""), [S, C] = c(h), w = m ?? S, T = (e) => {
11
- let t = d(Math.min(v, Math.max(_, e)));
12
- m === void 0 && C(t), g == null || g(t);
13
- }, E = `select-flow-arrow-${x}`, D = `select-flow-arrow-on-${x}`;
14
- return /* @__PURE__ */ u("div", {
8
+ var f = (e) => Math.round(e * 100) / 100;
9
+ function p({ width: e, height: t, edges: i, labels: a = [], pluses: p = [], children: m, zoom: h, defaultZoom: g = 1, onZoomChange: _, minZoom: v = .5, maxZoom: y = 1.3, onBackgroundClick: b, ariaLabel: x }) {
10
+ let S = s().replace(/:/g, ""), [C, w] = l(g), T = h ?? C, E = (e) => {
11
+ let t = f(Math.min(y, Math.max(v, e)));
12
+ h === void 0 && w(t), _ == null || _(t);
13
+ }, D = c(null), O = c(null), k = c(!1), [A, j] = l(!1), M = (e) => {
14
+ var t;
15
+ let n = D.current;
16
+ if (!n || e.pointerType && e.pointerType !== "mouse") return;
17
+ let r = e.button === 1, i = ((t = e.target.dataset) == null ? void 0 : t.flowBackground) === "true";
18
+ (r || e.button === 0 && i) && (r && e.preventDefault(), O.current = {
19
+ id: e.pointerId,
20
+ x: e.clientX,
21
+ y: e.clientY,
22
+ left: n.scrollLeft,
23
+ top: n.scrollTop,
24
+ moved: !1
25
+ });
26
+ }, N = (e) => {
27
+ let t = O.current, n = D.current;
28
+ if (!t || !n || e.pointerId !== t.id) return;
29
+ let r = e.clientX - t.x, i = e.clientY - t.y;
30
+ if (!t.moved) {
31
+ if (Math.abs(r) < 4 && Math.abs(i) < 4) return;
32
+ t.moved = !0, j(!0);
33
+ try {
34
+ var a;
35
+ (a = n.setPointerCapture) == null || a.call(n, e.pointerId);
36
+ } catch {}
37
+ }
38
+ n.scrollLeft = t.left - r, n.scrollTop = t.top - i;
39
+ }, P = (e) => {
40
+ let t = O.current;
41
+ if (t && e.pointerId === t.id) {
42
+ t.moved && (k.current = !0), O.current = null, j(!1);
43
+ try {
44
+ var n, r;
45
+ (n = D.current) == null || (r = n.releasePointerCapture) == null || r.call(n, e.pointerId);
46
+ } catch {}
47
+ }
48
+ }, F = (e) => {
49
+ e.button === 1 && e.preventDefault();
50
+ }, I = `select-flow-arrow-${S}`, L = `select-flow-arrow-on-${S}`;
51
+ return /* @__PURE__ */ d("div", {
15
52
  className: "select-flow",
16
53
  role: "region",
17
- "aria-label": b,
18
- children: [/* @__PURE__ */ l("div", {
19
- className: "select-flow__scroll",
54
+ "aria-label": x,
55
+ children: [/* @__PURE__ */ u("div", {
56
+ ref: D,
57
+ className: `select-flow__scroll${A ? " is-panning" : ""}`,
58
+ onPointerDown: M,
59
+ onPointerMove: N,
60
+ onPointerUp: P,
61
+ onPointerCancel: P,
62
+ onMouseDown: F,
20
63
  onClick: (e) => {
21
- e.target.dataset.flowBackground === "true" && (y == null || y());
64
+ if (k.current) {
65
+ k.current = !1;
66
+ return;
67
+ }
68
+ e.target.dataset.flowBackground === "true" && (b == null || b());
22
69
  },
23
70
  "data-flow-background": "true",
24
- children: /* @__PURE__ */ l("div", {
71
+ children: /* @__PURE__ */ u("div", {
25
72
  className: "select-flow__sizer",
26
73
  style: {
27
- width: e * w,
28
- height: t * w
74
+ width: e * T,
75
+ height: t * T
29
76
  },
30
77
  "data-flow-background": "true",
31
- children: /* @__PURE__ */ u("div", {
78
+ children: /* @__PURE__ */ d("div", {
32
79
  className: "select-flow__stage",
33
80
  style: {
34
81
  width: e,
35
82
  height: t,
36
- transform: `scale(${w})`
83
+ transform: `scale(${T})`
37
84
  },
38
85
  "data-flow-background": "true",
39
86
  children: [
40
- /* @__PURE__ */ u("svg", {
87
+ /* @__PURE__ */ d("svg", {
41
88
  className: "select-flow__edges",
42
89
  width: e,
43
90
  height: t,
44
91
  "aria-hidden": "true",
45
- children: [/* @__PURE__ */ u("defs", { children: [/* @__PURE__ */ l("marker", {
46
- id: E,
92
+ children: [/* @__PURE__ */ d("defs", { children: [/* @__PURE__ */ u("marker", {
93
+ id: I,
47
94
  viewBox: "0 0 10 10",
48
95
  refX: "8",
49
96
  refY: "5",
50
97
  markerWidth: "7",
51
98
  markerHeight: "7",
52
99
  orient: "auto-start-reverse",
53
- children: /* @__PURE__ */ l("path", {
100
+ children: /* @__PURE__ */ u("path", {
54
101
  className: "select-flow__arrow",
55
102
  d: "M 0 0 L 10 5 L 0 10 z"
56
103
  })
57
- }), /* @__PURE__ */ l("marker", {
58
- id: D,
104
+ }), /* @__PURE__ */ u("marker", {
105
+ id: L,
59
106
  viewBox: "0 0 10 10",
60
107
  refX: "8",
61
108
  refY: "5",
62
109
  markerWidth: "7",
63
110
  markerHeight: "7",
64
111
  orient: "auto-start-reverse",
65
- children: /* @__PURE__ */ l("path", {
112
+ children: /* @__PURE__ */ u("path", {
66
113
  className: "select-flow__arrow select-flow__arrow--on",
67
114
  d: "M 0 0 L 10 5 L 0 10 z"
68
115
  })
69
- })] }), i.map((e) => /* @__PURE__ */ l("path", {
116
+ })] }), i.map((e) => /* @__PURE__ */ u("path", {
70
117
  d: e.d,
71
118
  className: `select-flow__edge${e.state === "on" ? " select-flow__edge--on" : e.state === "muted" ? " select-flow__edge--muted" : ""}`,
72
- markerEnd: `url(#${e.state === "on" ? D : E})`
119
+ markerEnd: `url(#${e.state === "on" ? L : I})`
73
120
  }, e.id))]
74
121
  }),
75
- a.map((e) => /* @__PURE__ */ l("span", {
122
+ a.map((e) => /* @__PURE__ */ u("span", {
76
123
  className: `select-flow__label${e.tone === "yes" ? " select-flow__label--yes" : ""}${e.active ? " select-flow__label--on" : ""}`,
77
124
  style: {
78
125
  left: e.x,
@@ -80,8 +127,8 @@ function f({ width: e, height: t, edges: i, labels: a = [], pluses: f = [], chil
80
127
  },
81
128
  children: e.text
82
129
  }, e.id)),
83
- p,
84
- f.map((e) => /* @__PURE__ */ l("button", {
130
+ m,
131
+ p.map((e) => /* @__PURE__ */ u("button", {
85
132
  type: "button",
86
133
  className: "select-flow__plus",
87
134
  style: {
@@ -91,49 +138,49 @@ function f({ width: e, height: t, edges: i, labels: a = [], pluses: f = [], chil
91
138
  title: e.label,
92
139
  "aria-label": e.label,
93
140
  onClick: e.onClick,
94
- children: /* @__PURE__ */ l(r, {})
141
+ children: /* @__PURE__ */ u(r, {})
95
142
  }, e.id))
96
143
  ]
97
144
  })
98
145
  })
99
- }), /* @__PURE__ */ u("div", {
146
+ }), /* @__PURE__ */ d("div", {
100
147
  className: "select-flow__zoom",
101
148
  children: [
102
- /* @__PURE__ */ l(o, {
103
- icon: /* @__PURE__ */ l(n, {}),
149
+ /* @__PURE__ */ u(o, {
150
+ icon: /* @__PURE__ */ u(n, {}),
104
151
  label: "Diminuir o zoom",
105
152
  size: "sm",
106
- disabled: w <= _,
107
- onClick: () => T(w - .1)
153
+ disabled: T <= v,
154
+ onClick: () => E(T - .1)
108
155
  }),
109
- /* @__PURE__ */ u("button", {
156
+ /* @__PURE__ */ d("button", {
110
157
  type: "button",
111
158
  className: "select-flow__zoomvalue",
112
- onClick: () => T(1),
159
+ onClick: () => E(1),
113
160
  title: "Voltar a 100%",
114
- children: [Math.round(w * 100), "%"]
161
+ children: [Math.round(T * 100), "%"]
115
162
  }),
116
- /* @__PURE__ */ l(o, {
117
- icon: /* @__PURE__ */ l(r, {}),
163
+ /* @__PURE__ */ u(o, {
164
+ icon: /* @__PURE__ */ u(r, {}),
118
165
  label: "Aumentar o zoom",
119
166
  size: "sm",
120
- disabled: w >= v,
121
- onClick: () => T(w + .1)
167
+ disabled: T >= y,
168
+ onClick: () => E(T + .1)
122
169
  })
123
170
  ]
124
171
  })]
125
172
  });
126
173
  }
127
- function p({ x: e, y: t, width: n, height: r, shape: a = "card", tone: o = "neutral", icon: s, order: c, eyebrow: d, title: f, subtitle: p, tags: h, titleTone: g = "default", selected: _ = !1, active: v = !1, muted: y = !1, invalid: b = !1, onClick: x, ariaLabel: S, onRemove: C, removeLabel: w = "Remover" }) {
128
- let T = m({
174
+ function m({ x: e, y: t, width: n, height: r, shape: a = "card", tone: o = "neutral", icon: s, order: c, eyebrow: l, title: f, subtitle: p, tags: m, titleTone: g = "default", selected: _ = !1, active: v = !1, muted: y = !1, invalid: b = !1, onClick: x, ariaLabel: S, onRemove: C, removeLabel: w = "Remover" }) {
175
+ let T = h({
129
176
  shape: a,
130
177
  tone: o,
131
178
  icon: s,
132
179
  order: c,
133
- eyebrow: d,
180
+ eyebrow: l,
134
181
  title: f,
135
182
  subtitle: p,
136
- tags: h,
183
+ tags: m,
137
184
  titleTone: g,
138
185
  selected: _,
139
186
  active: v,
@@ -152,7 +199,7 @@ function p({ x: e, y: t, width: n, height: r, shape: a = "card", tone: o = "neut
152
199
  width: n,
153
200
  height: r
154
201
  });
155
- return C ? /* @__PURE__ */ u("div", {
202
+ return C ? /* @__PURE__ */ d("div", {
156
203
  className: `select-flownode-slot select-flownode-slot--${a}${_ ? " is-selected" : ""}`,
157
204
  style: {
158
205
  left: e,
@@ -160,7 +207,7 @@ function p({ x: e, y: t, width: n, height: r, shape: a = "card", tone: o = "neut
160
207
  width: n,
161
208
  height: r
162
209
  },
163
- children: [T, /* @__PURE__ */ l("button", {
210
+ children: [T, /* @__PURE__ */ u("button", {
164
211
  type: "button",
165
212
  className: "select-flownode__remove",
166
213
  "aria-label": w,
@@ -168,74 +215,74 @@ function p({ x: e, y: t, width: n, height: r, shape: a = "card", tone: o = "neut
168
215
  onClick: (e) => {
169
216
  e.stopPropagation(), C();
170
217
  },
171
- children: /* @__PURE__ */ l(i, {})
218
+ children: /* @__PURE__ */ u(i, {})
172
219
  })]
173
220
  }) : T;
174
221
  }
175
- function m({ shape: e = "card", tone: t = "neutral", icon: n, order: r, eyebrow: i, title: a, subtitle: o, tags: s, titleTone: c = "default", selected: d = !1, active: f = !1, muted: p = !1, invalid: m = !1, onClick: h, ariaLabel: g }, _) {
176
- let v = `${d ? " is-selected" : m ? " is-invalid" : f ? " is-on" : ""}${p ? " is-muted" : ""}`, y = a != null && /* @__PURE__ */ l("span", {
222
+ function h({ shape: e = "card", tone: t = "neutral", icon: n, order: r, eyebrow: i, title: a, subtitle: o, tags: s, titleTone: c = "default", selected: l = !1, active: f = !1, muted: p = !1, invalid: m = !1, onClick: h, ariaLabel: g }, _) {
223
+ let v = `${l ? " is-selected" : m ? " is-invalid" : f ? " is-on" : ""}${p ? " is-muted" : ""}`, y = a != null && /* @__PURE__ */ u("span", {
177
224
  className: `select-flownode__title${c === "warning" ? " select-flownode__title--warning" : ""}`,
178
225
  children: a
179
226
  });
180
- return e === "decision" ? /* @__PURE__ */ l("button", {
227
+ return e === "decision" ? /* @__PURE__ */ u("button", {
181
228
  type: "button",
182
229
  className: `select-flownode select-flownode--decision${v}`,
183
230
  style: _,
184
231
  onClick: h,
185
232
  "aria-label": g,
186
- children: /* @__PURE__ */ u("span", {
233
+ children: /* @__PURE__ */ d("span", {
187
234
  className: "select-flownode__inner",
188
- children: [r != null && /* @__PURE__ */ l("span", {
235
+ children: [r != null && /* @__PURE__ */ u("span", {
189
236
  className: "select-flownode__order",
190
237
  children: r
191
- }), /* @__PURE__ */ u("span", {
238
+ }), /* @__PURE__ */ d("span", {
192
239
  className: "select-flownode__text",
193
240
  children: [
194
- i != null && /* @__PURE__ */ l("span", {
241
+ i != null && /* @__PURE__ */ u("span", {
195
242
  className: "select-flownode__eyebrow",
196
243
  children: i
197
244
  }),
198
245
  y,
199
- o != null && /* @__PURE__ */ l("span", {
246
+ o != null && /* @__PURE__ */ u("span", {
200
247
  className: "select-flownode__sub",
201
248
  children: o
202
249
  }),
203
- s != null && /* @__PURE__ */ l("span", {
250
+ s != null && /* @__PURE__ */ u("span", {
204
251
  className: "select-flownode__tags",
205
252
  children: s
206
253
  })
207
254
  ]
208
255
  })]
209
256
  })
210
- }) : e === "pill" ? /* @__PURE__ */ u("button", {
257
+ }) : e === "pill" ? /* @__PURE__ */ d("button", {
211
258
  type: "button",
212
259
  className: `select-flownode select-flownode--pill${v}`,
213
260
  style: _,
214
261
  onClick: h,
215
262
  "aria-label": g,
216
263
  children: [n, a]
217
- }) : /* @__PURE__ */ u("button", {
264
+ }) : /* @__PURE__ */ d("button", {
218
265
  type: "button",
219
266
  className: `select-flownode select-flownode--${e === "terminal" ? "terminal" : "card"}${v}`,
220
267
  style: _,
221
268
  onClick: h,
222
269
  "aria-label": g,
223
- children: [e === "card" && n != null && /* @__PURE__ */ l("span", {
270
+ children: [e === "card" && n != null && /* @__PURE__ */ u("span", {
224
271
  className: `select-flownode__chip select-flownode__chip--${t}`,
225
272
  children: n
226
- }), /* @__PURE__ */ u("span", {
273
+ }), /* @__PURE__ */ d("span", {
227
274
  className: "select-flownode__text",
228
275
  children: [
229
- i != null && /* @__PURE__ */ l("span", {
276
+ i != null && /* @__PURE__ */ u("span", {
230
277
  className: "select-flownode__eyebrow",
231
278
  children: i
232
279
  }),
233
280
  y,
234
- o != null && /* @__PURE__ */ l("span", {
281
+ o != null && /* @__PURE__ */ u("span", {
235
282
  className: "select-flownode__sub",
236
283
  children: o
237
284
  }),
238
- s != null && /* @__PURE__ */ l("span", {
285
+ s != null && /* @__PURE__ */ u("span", {
239
286
  className: "select-flownode__tags",
240
287
  children: s
241
288
  })
@@ -243,73 +290,73 @@ function m({ shape: e = "card", tone: t = "neutral", icon: n, order: r, eyebrow:
243
290
  })]
244
291
  });
245
292
  }
246
- function h({ title: n, subtitle: r, onBack: i, backLabel: s = "Voltar", toolbar: c, actions: d, error: f, canvas: p, inspectorHead: m, inspector: h, inspectorLabel: g = "Painel", inspectorOpen: _, onInspectorClose: v }) {
247
- let y = _ !== void 0;
248
- return /* @__PURE__ */ u("div", {
249
- className: `select-flowpage${y ? " select-flowpage--sheet" : ""}${y && _ ? " is-inspecting" : ""}`,
293
+ function g({ title: n, subtitle: r, onBack: i, backLabel: s = "Voltar", toolbar: c, actions: l, error: f, canvas: p, inspectorHead: m, inspector: h, inspectorLabel: g = "Painel", inspectorOpen: _, onInspectorClose: v, inspectorSize: y = "md" }) {
294
+ let b = _ !== void 0;
295
+ return /* @__PURE__ */ d("div", {
296
+ className: `select-flowpage${b ? " select-flowpage--sheet" : ""}${b && _ ? " is-inspecting" : ""}${y === "lg" ? " select-flowpage--inspector-lg" : ""}`,
250
297
  children: [
251
- /* @__PURE__ */ u("header", {
298
+ /* @__PURE__ */ d("header", {
252
299
  className: "select-flowpage__bar",
253
300
  children: [
254
- i && /* @__PURE__ */ l(o, {
255
- icon: /* @__PURE__ */ l(e, {}),
301
+ i && /* @__PURE__ */ u(o, {
302
+ icon: /* @__PURE__ */ u(e, {}),
256
303
  label: s,
257
304
  variant: "outline",
258
305
  onClick: i
259
306
  }),
260
- /* @__PURE__ */ u("div", {
307
+ /* @__PURE__ */ d("div", {
261
308
  className: "select-flowpage__ident",
262
- children: [/* @__PURE__ */ l("span", {
309
+ children: [/* @__PURE__ */ u("span", {
263
310
  className: "select-flowpage__title",
264
311
  children: n
265
- }), r != null && /* @__PURE__ */ l("span", {
312
+ }), r != null && /* @__PURE__ */ u("span", {
266
313
  className: "select-flowpage__sub",
267
314
  children: r
268
315
  })]
269
316
  }),
270
- c != null && /* @__PURE__ */ l("div", {
317
+ c != null && /* @__PURE__ */ u("div", {
271
318
  className: "select-flowpage__tools",
272
319
  children: c
273
320
  }),
274
- d != null && /* @__PURE__ */ l("div", {
321
+ l != null && /* @__PURE__ */ u("div", {
275
322
  className: "select-flowpage__actions",
276
- children: d
323
+ children: l
277
324
  })
278
325
  ]
279
326
  }),
280
- f != null && f !== "" && /* @__PURE__ */ l("div", {
327
+ f != null && f !== "" && /* @__PURE__ */ u("div", {
281
328
  className: "select-flowpage__error",
282
- children: /* @__PURE__ */ l(a, {
329
+ children: /* @__PURE__ */ u(a, {
283
330
  tone: "critical",
284
331
  children: f
285
332
  })
286
333
  }),
287
- /* @__PURE__ */ u("div", {
334
+ /* @__PURE__ */ d("div", {
288
335
  className: "select-flowpage__body",
289
- children: [/* @__PURE__ */ l("div", {
336
+ children: [/* @__PURE__ */ u("div", {
290
337
  className: "select-flowpage__canvas",
291
338
  children: p
292
- }), /* @__PURE__ */ u("aside", {
339
+ }), /* @__PURE__ */ d("aside", {
293
340
  className: "select-flowpage__inspector",
294
341
  "aria-label": g,
295
342
  children: [
296
- y && v && /* @__PURE__ */ u("button", {
343
+ b && v && /* @__PURE__ */ d("button", {
297
344
  type: "button",
298
345
  className: "select-flowpage__sheetclose",
299
346
  onClick: v,
300
- children: [/* @__PURE__ */ l("span", {
347
+ children: [/* @__PURE__ */ u("span", {
301
348
  className: "select-flowpage__sheetgrip",
302
349
  "aria-hidden": "true"
303
- }), /* @__PURE__ */ u("span", {
350
+ }), /* @__PURE__ */ d("span", {
304
351
  className: "select-flowpage__sheetlabel",
305
- children: [/* @__PURE__ */ l(t, {}), "Fechar"]
352
+ children: [/* @__PURE__ */ u(t, {}), "Fechar"]
306
353
  })]
307
354
  }),
308
- m != null && /* @__PURE__ */ l("div", {
355
+ m != null && /* @__PURE__ */ u("div", {
309
356
  className: "select-flowpage__inspectorhead",
310
357
  children: m
311
358
  }),
312
- /* @__PURE__ */ l("div", {
359
+ /* @__PURE__ */ u("div", {
313
360
  className: "select-flowpage__inspectorbody",
314
361
  children: h
315
362
  })
@@ -320,6 +367,6 @@ function h({ title: n, subtitle: r, onBack: i, backLabel: s = "Voltar", toolbar:
320
367
  });
321
368
  }
322
369
  //#endregion
323
- export { f as SelectFlowCanvas, h as SelectFlowLayout, p as SelectFlowNode };
370
+ export { p as SelectFlowCanvas, g as SelectFlowLayout, m as SelectFlowNode };
324
371
 
325
372
  //# sourceMappingURL=SelectFlowCanvas.js.map