@alfadocs/ui-kit 1.36.1 → 1.37.0
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/_chunks/appointment-peek-5S4O1VQP.js +115 -0
- package/dist/_chunks/appointment-peek.agent-C539tNFM.js +17 -0
- package/dist/_chunks/building-2-D33bLCWL.js +24 -0
- package/dist/_chunks/calendar-workspace-BqKBj26r.js +9715 -0
- package/dist/_chunks/{control-room-rail-Ds45_g4f.js → control-room-rail-DQoHdE1U.js} +2 -2
- package/dist/_chunks/editable-description-BOfAeY3T.js +112 -0
- package/dist/_chunks/editable-description.agent-Bm_LBV2j.js +21 -0
- package/dist/_chunks/{money.agent-Dw55UxUA.js → money-BY-HmKhZ.js} +33 -47
- package/dist/_chunks/money.agent-BjJ6gOkx.js +17 -0
- package/dist/_chunks/notes-panel-4y5JioWN.js +556 -0
- package/dist/_chunks/panel-subview-BNXN8OEL.js +160 -0
- package/dist/_chunks/panel-subview.agent-BIBvE-IW.js +17 -0
- package/dist/_chunks/{patient-details-f7SSXkTJ.js → patient-details-2cIaL-Zb.js} +2 -2
- package/dist/_chunks/{patient-field-row-BQZoP4m2.js → patient-field-row-IHb2VFc2.js} +193 -172
- package/dist/_chunks/{patient-summary-card-Bz7KdUin.js → patient-summary-card-BzmJH9a-.js} +2 -2
- package/dist/_chunks/{section-card.agent-W18CHEgX.js → section-card-XR2bW1Ie.js} +20 -34
- package/dist/_chunks/section-card.agent-Bz1BhM_j.js +17 -0
- package/dist/_chunks/smartphone-DaPcFw-X.js +32 -0
- package/dist/_chunks/{task-card-BalrLkSz.js → task-card-qTKD1fIT.js} +39 -57
- package/dist/_chunks/{task-tray-wl9eti6J.js → task-tray-CQ8UAR2j.js} +2 -2
- package/dist/_chunks/{tasks-panel-BDNB7hsZ.js → tasks-panel-CBGMtQ_f.js} +2 -2
- package/dist/_chunks/{tool-rail-Bq5eiFMG.js → tool-rail-BP8sjxCw.js} +310 -231
- package/dist/_chunks/treatment-receipt-D4kOLXOk.js +94 -0
- package/dist/_chunks/treatment-receipt.agent-bpFm2RPH.js +21 -0
- package/dist/_chunks/use-presence-transition-cDwWUXV-.js +58 -0
- package/dist/_chunks/{workflow-map-D-LEni11.js → workflow-map-CXdsxvUj.js} +140 -156
- package/dist/agent-catalog.json +65 -1
- package/dist/components/appointment-peek/appointment-peek.agent.d.ts +3 -0
- package/dist/components/appointment-peek/appointment-peek.d.ts +45 -0
- package/dist/components/appointment-peek/index.d.ts +4 -0
- package/dist/components/appointment-peek/index.js +7 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/editable-description/editable-description.agent.d.ts +3 -0
- package/dist/components/editable-description/editable-description.d.ts +20 -0
- package/dist/components/editable-description/index.d.ts +4 -0
- package/dist/components/editable-description/index.js +7 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/money/index.js +2 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +16 -0
- package/dist/components/panel-subview/index.d.ts +4 -0
- package/dist/components/panel-subview/index.js +7 -0
- package/dist/components/panel-subview/panel-subview.agent.d.ts +3 -0
- package/dist/components/panel-subview/panel-subview.d.ts +32 -0
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/section-card/index.js +4 -3
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/treatment-receipt/index.d.ts +4 -0
- package/dist/components/treatment-receipt/index.js +7 -0
- package/dist/components/treatment-receipt/treatment-receipt.agent.d.ts +3 -0
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +30 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +9 -7
- package/dist/hooks/use-presence-transition.d.ts +40 -0
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +29 -5
- package/dist/i18n/locales/ar.js +29 -5
- package/dist/i18n/locales/de.d.ts +29 -5
- package/dist/i18n/locales/de.js +29 -5
- package/dist/i18n/locales/el.d.ts +29 -5
- package/dist/i18n/locales/el.js +29 -5
- package/dist/i18n/locales/en.d.ts +29 -5
- package/dist/i18n/locales/en.js +29 -5
- package/dist/i18n/locales/es.d.ts +29 -5
- package/dist/i18n/locales/es.js +29 -5
- package/dist/i18n/locales/fr.d.ts +29 -5
- package/dist/i18n/locales/fr.js +29 -5
- package/dist/i18n/locales/hi.d.ts +29 -5
- package/dist/i18n/locales/hi.js +29 -5
- package/dist/i18n/locales/it.d.ts +29 -5
- package/dist/i18n/locales/it.js +29 -5
- package/dist/i18n/locales/ja.d.ts +29 -5
- package/dist/i18n/locales/ja.js +29 -5
- package/dist/i18n/locales/nl.d.ts +29 -5
- package/dist/i18n/locales/nl.js +29 -5
- package/dist/i18n/locales/pl.d.ts +29 -5
- package/dist/i18n/locales/pl.js +29 -5
- package/dist/i18n/locales/pt.d.ts +29 -5
- package/dist/i18n/locales/pt.js +29 -5
- package/dist/i18n/locales/ro.d.ts +29 -5
- package/dist/i18n/locales/ro.js +29 -5
- package/dist/i18n/locales/ru.d.ts +29 -5
- package/dist/i18n/locales/ru.js +29 -5
- package/dist/i18n/locales/sq.d.ts +29 -5
- package/dist/i18n/locales/sq.js +29 -5
- package/dist/i18n/locales/sv.d.ts +29 -5
- package/dist/i18n/locales/sv.js +29 -5
- package/dist/i18n/locales/tr.d.ts +29 -5
- package/dist/i18n/locales/tr.js +29 -5
- package/dist/i18n/locales/zh.d.ts +29 -5
- package/dist/i18n/locales/zh.js +29 -5
- package/dist/index.js +958 -940
- package/dist/locales/ar.json +29 -5
- package/dist/locales/de.json +29 -5
- package/dist/locales/el.json +29 -5
- package/dist/locales/en.json +29 -5
- package/dist/locales/es.json +29 -5
- package/dist/locales/fr.json +29 -5
- package/dist/locales/hi.json +29 -5
- package/dist/locales/it.json +29 -5
- package/dist/locales/ja.json +29 -5
- package/dist/locales/nl.json +29 -5
- package/dist/locales/pl.json +29 -5
- package/dist/locales/pt.json +29 -5
- package/dist/locales/ro.json +29 -5
- package/dist/locales/ru.json +29 -5
- package/dist/locales/sq.json +29 -5
- package/dist/locales/sv.json +29 -5
- package/dist/locales/tr.json +29 -5
- package/dist/locales/zh.json +29 -5
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +15 -6
- package/dist/patterns/calendar/calendar-appointment-details.sections.d.ts +23 -23
- package/dist/patterns/calendar/calendar-info-hover.d.ts +18 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +10 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +2 -2
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +17 -1
- package/dist/_chunks/calendar-workspace-BYwQK7fz.js +0 -9478
- package/dist/_chunks/hourglass-BEAzW1wE.js +0 -26
- package/dist/_chunks/notes-panel-Co8D3uDd.js +0 -469
- package/dist/_chunks/smartphone-C0rFF2if.js +0 -15
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as T, jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ue, useRef as v, useState as k, useMemo as D, useId as We, useCallback as P, useEffect as ge, useImperativeHandle as $e, Fragment as Ze } from "react";
|
|
3
3
|
import { c as w } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as
|
|
6
|
-
import { S as
|
|
7
|
-
import { a as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { a as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
|
|
4
|
+
import { useTranslation as Xe } from "react-i18next";
|
|
5
|
+
import { I as be } from "./icon-button-8xqRnkdG.js";
|
|
6
|
+
import { S as Ye } from "./scroll-area-BZOvUhwQ.js";
|
|
7
|
+
import { a as Ge } from "./tooltip-Cp-PLePW.js";
|
|
8
|
+
import { u as Je } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
+
import { u as Qe } from "./use-edge-resize-ZnGG7gyO.js";
|
|
10
|
+
import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
+
import { a as et, u as tt, R as st } from "./use-list-reflow-Cw43nxw5.js";
|
|
12
|
+
import { u as at } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
13
|
+
import { u as nt } from "./use-presence-transition-cDwWUXV-.js";
|
|
14
|
+
import { u as rt } from "./use-theme-CAuo6EYT.js";
|
|
15
|
+
import { u as it } from "./registry-DvAUVLHh.js";
|
|
16
|
+
const ot = {
|
|
15
17
|
id: "tool-rail",
|
|
16
18
|
capabilities: ["open", "close", "select_single"],
|
|
17
19
|
state: {
|
|
@@ -83,7 +85,7 @@ const Ze = {
|
|
|
83
85
|
description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
|
-
},
|
|
88
|
+
}, dt = "ds:[inline-size:3rem]", lt = "ds:[inline-size:var(--tool-rail-panel-inline-size,var(--ai-tools-rail-panel-inline-size,22rem))]", he = "--tool-rail-panel-inline-size", ct = 288, ut = 880, ft = 352, pt = w(
|
|
87
89
|
["ds:flex ds:shrink-0 ds:h-full", "ds:bg-[var(--background)]"].join(" "),
|
|
88
90
|
{
|
|
89
91
|
variants: {
|
|
@@ -101,23 +103,46 @@ const Ze = {
|
|
|
101
103
|
},
|
|
102
104
|
defaultVariants: { side: "end" }
|
|
103
105
|
}
|
|
104
|
-
),
|
|
106
|
+
), vt = w(
|
|
105
107
|
[
|
|
106
108
|
"ds:flex ds:shrink-0 ds:flex-col ds:items-center",
|
|
107
109
|
"ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]",
|
|
108
110
|
"ds:gap-[var(--spacing-xs)]",
|
|
109
|
-
|
|
111
|
+
dt
|
|
110
112
|
].join(" ")
|
|
111
|
-
),
|
|
113
|
+
), mt = w(
|
|
112
114
|
[
|
|
113
115
|
"ds:relative ds:flex ds:min-h-0 ds:flex-col ds:h-full",
|
|
114
116
|
"ds:bg-[var(--background)]",
|
|
115
|
-
|
|
116
|
-
//
|
|
117
|
-
//
|
|
117
|
+
lt,
|
|
118
|
+
// Open / collapse: the panel fades and slides from the strip. The WIDTH
|
|
119
|
+
// snaps on purpose — animating it would re-lay-out the main area (a
|
|
120
|
+
// calendar grid) on every frame. Declared at rest so both directions
|
|
121
|
+
// have a value to move from.
|
|
122
|
+
"ds:transition-[opacity,translate] ds:duration-[var(--animation-duration)]",
|
|
123
|
+
"ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none",
|
|
124
|
+
"ds:data-[presence=entering]:opacity-0 ds:data-[presence=leaving]:opacity-0",
|
|
125
|
+
"ds:data-[presence=leaving]:pointer-events-none",
|
|
118
126
|
"ds:data-[resizing]:transition-none"
|
|
127
|
+
].join(" "),
|
|
128
|
+
{
|
|
129
|
+
variants: {
|
|
130
|
+
// Slide toward the strip the panel belongs to, mirrored in RTL.
|
|
131
|
+
side: {
|
|
132
|
+
end: "ds:data-[presence=entering]:translate-x-[var(--spacing-md)] ds:data-[presence=leaving]:translate-x-[var(--spacing-md)] ds:rtl:data-[presence=entering]:-translate-x-[var(--spacing-md)] ds:rtl:data-[presence=leaving]:-translate-x-[var(--spacing-md)]",
|
|
133
|
+
start: "ds:data-[presence=entering]:-translate-x-[var(--spacing-md)] ds:data-[presence=leaving]:-translate-x-[var(--spacing-md)] ds:rtl:data-[presence=entering]:translate-x-[var(--spacing-md)] ds:rtl:data-[presence=leaving]:translate-x-[var(--spacing-md)]"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
defaultVariants: { side: "end" }
|
|
137
|
+
}
|
|
138
|
+
), gt = w(
|
|
139
|
+
[
|
|
140
|
+
"ds:flex ds:min-h-0 ds:flex-1 ds:flex-col",
|
|
141
|
+
"ds:transition-opacity ds:duration-[var(--animation-duration)]",
|
|
142
|
+
"ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none",
|
|
143
|
+
"ds:data-[presence=entering]:opacity-0"
|
|
119
144
|
].join(" ")
|
|
120
|
-
),
|
|
145
|
+
), bt = w(
|
|
121
146
|
[
|
|
122
147
|
"ds:absolute ds:[inset-block:0] ds:z-[1] ds:select-none ds:touch-none",
|
|
123
148
|
"ds:[inline-size:var(--resizable-handle-size)] ds:cursor-col-resize",
|
|
@@ -141,7 +166,7 @@ const Ze = {
|
|
|
141
166
|
},
|
|
142
167
|
defaultVariants: { edge: "inline-start" }
|
|
143
168
|
}
|
|
144
|
-
),
|
|
169
|
+
), ht = w(
|
|
145
170
|
[
|
|
146
171
|
"ds:absolute ds:-top-[var(--spacing-xs)] ds:-end-[var(--spacing-xs)]",
|
|
147
172
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
@@ -154,7 +179,7 @@ const Ze = {
|
|
|
154
179
|
"ds:pointer-events-none ds:select-none",
|
|
155
180
|
"ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
|
|
156
181
|
].join(" ")
|
|
157
|
-
),
|
|
182
|
+
), ye = w(
|
|
158
183
|
// `group/rail-tool` lets an affordance overlay (e.g. a pin star) reveal on
|
|
159
184
|
// hover / focus-within of the whole slot.
|
|
160
185
|
["ds:group/rail-tool ds:relative", "ds:rounded-[var(--radius-sm)]"],
|
|
@@ -176,203 +201,247 @@ const Ze = {
|
|
|
176
201
|
reorderable: !1
|
|
177
202
|
}
|
|
178
203
|
}
|
|
179
|
-
),
|
|
204
|
+
), yt = "ds:opacity-0", we = [
|
|
180
205
|
"ds:transition-opacity ds:duration-[var(--animation-duration)]",
|
|
181
206
|
"ds:ease-[var(--ease-out)] ds:motion-reduce:transition-none"
|
|
182
207
|
].join(" ");
|
|
183
|
-
function
|
|
208
|
+
function wt(l, a) {
|
|
184
209
|
return l > 99 ? a : String(l);
|
|
185
210
|
}
|
|
186
|
-
const
|
|
211
|
+
const xt = Ue(
|
|
187
212
|
({
|
|
188
213
|
id: l,
|
|
189
214
|
tools: a,
|
|
190
|
-
activeToolId:
|
|
191
|
-
defaultActiveToolId:
|
|
192
|
-
onActiveToolChange:
|
|
193
|
-
side:
|
|
194
|
-
railLabel:
|
|
195
|
-
resizablePanel:
|
|
196
|
-
onReorder:
|
|
197
|
-
formatReorderAnnouncement:
|
|
198
|
-
renderToolAffordance:
|
|
199
|
-
renderPanelHeader:
|
|
200
|
-
dataComponent:
|
|
201
|
-
agentAdapter:
|
|
202
|
-
className:
|
|
203
|
-
},
|
|
204
|
-
var
|
|
205
|
-
const { t:
|
|
206
|
-
value:
|
|
207
|
-
defaultValue:
|
|
208
|
-
onChange:
|
|
209
|
-
}),
|
|
210
|
-
() => a.findIndex((e) => e.id ===
|
|
211
|
-
[a,
|
|
212
|
-
), d =
|
|
215
|
+
activeToolId: xe,
|
|
216
|
+
defaultActiveToolId: Ie = null,
|
|
217
|
+
onActiveToolChange: Re,
|
|
218
|
+
side: A = "end",
|
|
219
|
+
railLabel: Te,
|
|
220
|
+
resizablePanel: N = !1,
|
|
221
|
+
onReorder: L,
|
|
222
|
+
formatReorderAnnouncement: F,
|
|
223
|
+
renderToolAffordance: K,
|
|
224
|
+
renderPanelHeader: Q,
|
|
225
|
+
dataComponent: ke = "tool-rail",
|
|
226
|
+
agentAdapter: Ae = ot,
|
|
227
|
+
className: Se
|
|
228
|
+
}, Ee) => {
|
|
229
|
+
var pe;
|
|
230
|
+
const { t: m } = Xe(), [_e, g] = Je({
|
|
231
|
+
value: xe,
|
|
232
|
+
defaultValue: Ie,
|
|
233
|
+
onChange: Re
|
|
234
|
+
}), b = _e ?? null, q = v([]), S = v(null), [B, H] = k(0), x = v(!1), O = v(!1), h = D(
|
|
235
|
+
() => a.findIndex((e) => e.id === b),
|
|
236
|
+
[a, b]
|
|
237
|
+
), d = h >= 0 ? a[h] : null, U = v(d);
|
|
238
|
+
d && (U.current = d);
|
|
239
|
+
const ze = D(
|
|
213
240
|
() => a.findIndex((e) => !e.disabled),
|
|
214
241
|
[a]
|
|
215
|
-
),
|
|
216
|
-
var s;
|
|
217
|
-
const e = (s = a[0]) == null ? void 0 : s.scope;
|
|
218
|
-
return e ? a.findIndex((t) => t.scope && t.scope !== e) : -1;
|
|
219
|
-
}, [a]), Re = W > 0, c = k(() => {
|
|
242
|
+
), ee = D(() => {
|
|
220
243
|
var t;
|
|
244
|
+
const e = (t = a[0]) == null ? void 0 : t.scope;
|
|
245
|
+
return e ? a.findIndex((s) => s.scope && s.scope !== e) : -1;
|
|
246
|
+
}, [a]), De = ee > 0, c = D(() => {
|
|
247
|
+
var s;
|
|
221
248
|
const e = a.findIndex((n) => n.reorderable);
|
|
222
249
|
if (e < 0) return null;
|
|
223
|
-
let
|
|
224
|
-
for (;
|
|
225
|
-
return { first: e, last:
|
|
226
|
-
}, [a]),
|
|
250
|
+
let t = e;
|
|
251
|
+
for (; t + 1 < a.length && ((s = a[t + 1]) != null && s.reorderable); ) t += 1;
|
|
252
|
+
return { first: e, last: t };
|
|
253
|
+
}, [a]), te = !!L && c !== null, Ne = We(), [E, W] = k(null), [se, C] = k(null), { resolvedTheme: Le } = rt(), V = Le.endsWith("-accessible") || void 0, { containerRef: Ce } = et({
|
|
227
254
|
key: a.map((e) => e.id).join(),
|
|
228
|
-
reduceMotion:
|
|
229
|
-
}),
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
255
|
+
reduceMotion: V
|
|
256
|
+
}), $ = tt({ reduceMotion: V }), Z = nt(
|
|
257
|
+
d !== null,
|
|
258
|
+
{ reduceMotion: V }
|
|
259
|
+
), y = d === null && Z.mounted, p = d ?? (y ? U.current : null), { ref: ae } = Z, Ve = P(
|
|
260
|
+
(e) => {
|
|
261
|
+
S.current = e, ae(e);
|
|
262
|
+
},
|
|
263
|
+
[ae]
|
|
264
|
+
);
|
|
265
|
+
M(() => {
|
|
266
|
+
var s, n;
|
|
267
|
+
const e = S.current;
|
|
268
|
+
if (!e) return;
|
|
269
|
+
const t = document.activeElement;
|
|
270
|
+
if (y && t instanceof HTMLElement && e.contains(t)) {
|
|
271
|
+
const i = (s = U.current) == null ? void 0 : s.id, o = i ? (n = z.current) == null ? void 0 : n.querySelector(
|
|
272
|
+
`[data-tool-id="${CSS.escape(i)}"]`
|
|
273
|
+
) : null;
|
|
274
|
+
t.blur(), e.setAttribute("inert", ""), o == null || o.focus();
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
e.toggleAttribute("inert", y);
|
|
278
|
+
}, [y]);
|
|
279
|
+
const je = at(), [j, ne] = k(
|
|
280
|
+
(d == null ? void 0 : d.id) ?? null
|
|
281
|
+
), I = (d == null ? void 0 : d.id) ?? null, X = !V && !je && I !== null && j !== null && j !== I;
|
|
282
|
+
M(() => {
|
|
283
|
+
if (j === I) return;
|
|
284
|
+
if (!X) {
|
|
285
|
+
ne(I);
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
let e = 0;
|
|
289
|
+
const t = () => ne(I), s = requestAnimationFrame(() => {
|
|
290
|
+
e = requestAnimationFrame(t);
|
|
291
|
+
}), n = window.setTimeout(t, 64);
|
|
292
|
+
return () => {
|
|
293
|
+
cancelAnimationFrame(s), cancelAnimationFrame(e), window.clearTimeout(n);
|
|
294
|
+
};
|
|
295
|
+
}, [I, j, X]);
|
|
296
|
+
const [Pe, re] = k([]), ie = v(a);
|
|
297
|
+
ge(() => {
|
|
298
|
+
const e = ie.current, t = new Set(a.map((n) => n.id)), s = e.filter((n) => !t.has(n.id));
|
|
299
|
+
if (s.length > 0) {
|
|
300
|
+
re((n) => {
|
|
234
301
|
const i = new Set(n.map((o) => o.id));
|
|
235
302
|
return [
|
|
236
303
|
...n,
|
|
237
|
-
...
|
|
304
|
+
...s.filter((o) => !i.has(o.id))
|
|
238
305
|
];
|
|
239
306
|
});
|
|
240
|
-
for (const n of
|
|
241
|
-
|
|
242
|
-
|
|
307
|
+
for (const n of s)
|
|
308
|
+
$.leave(n.id, () => {
|
|
309
|
+
re(
|
|
243
310
|
(i) => i.filter((o) => o.id !== n.id)
|
|
244
311
|
);
|
|
245
312
|
});
|
|
246
313
|
}
|
|
247
|
-
|
|
248
|
-
}, [a,
|
|
249
|
-
const [
|
|
250
|
-
(e,
|
|
251
|
-
if (!
|
|
252
|
-
const
|
|
314
|
+
ie.current = a;
|
|
315
|
+
}, [a, $]);
|
|
316
|
+
const [Me, Fe] = k(""), Y = v(!1), oe = P(
|
|
317
|
+
(e, t) => {
|
|
318
|
+
if (!L || !c) return;
|
|
319
|
+
const s = Math.max(
|
|
253
320
|
c.first,
|
|
254
|
-
Math.min(c.last,
|
|
321
|
+
Math.min(c.last, t)
|
|
255
322
|
);
|
|
256
|
-
if (
|
|
257
|
-
|
|
323
|
+
if (s === e) return;
|
|
324
|
+
L(e, s);
|
|
258
325
|
const n = a[e];
|
|
259
326
|
if (n) {
|
|
260
|
-
const i =
|
|
327
|
+
const i = F ? F({ tool: n, from: e, to: s }) : m("toolRail.reorderAnnounce", {
|
|
261
328
|
tool: n.label,
|
|
262
|
-
to:
|
|
329
|
+
to: s - c.first + 1,
|
|
263
330
|
total: c.last - c.first + 1,
|
|
264
331
|
defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
|
|
265
332
|
});
|
|
266
|
-
i && (
|
|
333
|
+
i && (Y.current = !Y.current, Fe(Y.current ? i : `${i}`));
|
|
267
334
|
}
|
|
268
335
|
},
|
|
269
|
-
[
|
|
270
|
-
),
|
|
271
|
-
(e,
|
|
272
|
-
const
|
|
273
|
-
!
|
|
336
|
+
[L, c, a, m, F]
|
|
337
|
+
), _ = h >= 0 ? h : B >= 0 && !((pe = a[B]) != null && pe.disabled) ? B : ze, Ke = P(
|
|
338
|
+
(e, t) => {
|
|
339
|
+
const s = a.find((n) => n.id === e);
|
|
340
|
+
!s || s.disabled || (x.current = t, g(b === e ? null : e));
|
|
274
341
|
},
|
|
275
|
-
[a,
|
|
276
|
-
),
|
|
342
|
+
[a, b, g]
|
|
343
|
+
), qe = P(
|
|
277
344
|
(e) => {
|
|
278
|
-
var
|
|
279
|
-
const
|
|
280
|
-
if (
|
|
281
|
-
let
|
|
282
|
-
if (e.key === "ArrowDown" ?
|
|
345
|
+
var R, r, u;
|
|
346
|
+
const t = a.length;
|
|
347
|
+
if (t === 0 || e.altKey) return;
|
|
348
|
+
let s = null;
|
|
349
|
+
if (e.key === "ArrowDown" ? s = (_ + 1) % t : e.key === "ArrowUp" ? s = (_ - 1 + t) % t : e.key === "Home" ? s = 0 : e.key === "End" && (s = t - 1), s === null) return;
|
|
283
350
|
const n = e.key === "ArrowUp" || e.key === "End";
|
|
284
|
-
let i =
|
|
285
|
-
for (; o <
|
|
286
|
-
i = n ? (i - 1 +
|
|
287
|
-
(r = a[i]) != null && r.disabled || (e.preventDefault(),
|
|
351
|
+
let i = s, o = 0;
|
|
352
|
+
for (; o < t && ((R = a[i]) != null && R.disabled); )
|
|
353
|
+
i = n ? (i - 1 + t) % t : (i + 1) % t, o += 1;
|
|
354
|
+
(r = a[i]) != null && r.disabled || (e.preventDefault(), H(i), (u = q.current[i]) == null || u.focus());
|
|
288
355
|
},
|
|
289
|
-
[a,
|
|
290
|
-
),
|
|
291
|
-
|
|
292
|
-
const e =
|
|
356
|
+
[a, _]
|
|
357
|
+
), z = v(null);
|
|
358
|
+
ge(() => {
|
|
359
|
+
const e = z.current;
|
|
293
360
|
if (!e) return;
|
|
294
|
-
const
|
|
295
|
-
if (
|
|
296
|
-
|
|
297
|
-
const n =
|
|
298
|
-
|
|
361
|
+
const t = (s) => {
|
|
362
|
+
if (s.key !== "Escape" || h < 0) return;
|
|
363
|
+
s.preventDefault();
|
|
364
|
+
const n = h;
|
|
365
|
+
g(null), H(n), requestAnimationFrame(() => {
|
|
299
366
|
var i;
|
|
300
|
-
(i =
|
|
367
|
+
(i = q.current[n]) == null || i.focus();
|
|
301
368
|
});
|
|
302
369
|
};
|
|
303
|
-
return e.addEventListener("keydown",
|
|
304
|
-
}, [
|
|
370
|
+
return e.addEventListener("keydown", t), () => e.removeEventListener("keydown", t);
|
|
371
|
+
}, [h, g]), M(() => {
|
|
305
372
|
var e;
|
|
306
|
-
d &&
|
|
373
|
+
d && x.current && ((e = S.current) == null || e.focus()), x.current = !1;
|
|
307
374
|
}, [d]);
|
|
308
|
-
const
|
|
309
|
-
edge:
|
|
310
|
-
targetRef:
|
|
311
|
-
cssProperty:
|
|
312
|
-
minSize:
|
|
313
|
-
maxSize:
|
|
314
|
-
defaultSize:
|
|
315
|
-
disabled: !
|
|
316
|
-
}),
|
|
317
|
-
|
|
375
|
+
const de = A === "end" ? "inline-start" : "inline-end", { separatorProps: le, isResizing: ce, isResized: ue } = Qe({
|
|
376
|
+
edge: de,
|
|
377
|
+
targetRef: S,
|
|
378
|
+
cssProperty: he,
|
|
379
|
+
minSize: ct,
|
|
380
|
+
maxSize: ut,
|
|
381
|
+
defaultSize: ft,
|
|
382
|
+
disabled: !N
|
|
383
|
+
}), fe = le["aria-valuenow"];
|
|
384
|
+
M(() => {
|
|
318
385
|
var e;
|
|
319
|
-
!
|
|
320
|
-
|
|
321
|
-
`${
|
|
386
|
+
!N || !ue || !d || (e = S.current) == null || e.style.setProperty(
|
|
387
|
+
he,
|
|
388
|
+
`${fe}px`
|
|
322
389
|
);
|
|
323
|
-
}, [d,
|
|
324
|
-
const
|
|
325
|
-
|
|
326
|
-
const
|
|
390
|
+
}, [d, N, ue, fe]);
|
|
391
|
+
const G = v(b);
|
|
392
|
+
G.current = b;
|
|
393
|
+
const J = D(
|
|
327
394
|
() => ({
|
|
328
|
-
getActiveToolId: () =>
|
|
395
|
+
getActiveToolId: () => G.current,
|
|
329
396
|
setActiveTool: (e) => {
|
|
330
|
-
|
|
397
|
+
x.current = !1, g(e);
|
|
331
398
|
},
|
|
332
399
|
open: (e) => {
|
|
333
|
-
const
|
|
334
|
-
!
|
|
400
|
+
const t = a.find((s) => s.id === e);
|
|
401
|
+
!t || t.disabled || (x.current = !1, g(e));
|
|
335
402
|
},
|
|
336
403
|
close: () => {
|
|
337
|
-
const e =
|
|
338
|
-
|
|
339
|
-
var
|
|
340
|
-
(
|
|
404
|
+
const e = G.current;
|
|
405
|
+
x.current = !1, g(null), e != null && requestAnimationFrame(() => {
|
|
406
|
+
var t, s;
|
|
407
|
+
(s = (t = z.current) == null ? void 0 : t.querySelector(
|
|
341
408
|
`[data-tool-id="${CSS.escape(e)}"]`
|
|
342
|
-
)) == null ||
|
|
409
|
+
)) == null || s.focus();
|
|
343
410
|
});
|
|
344
411
|
}
|
|
345
412
|
}),
|
|
346
|
-
[a,
|
|
413
|
+
[a, g]
|
|
347
414
|
);
|
|
348
|
-
|
|
349
|
-
const
|
|
415
|
+
$e(Ee, () => J, [J]), it(Ae, J, l);
|
|
416
|
+
const Be = m("toolRail.badgeCountOverflow", {
|
|
350
417
|
defaultValue: "99+"
|
|
351
418
|
});
|
|
352
|
-
return /* @__PURE__ */
|
|
419
|
+
return /* @__PURE__ */ T(
|
|
353
420
|
"div",
|
|
354
421
|
{
|
|
355
|
-
ref:
|
|
356
|
-
"data-component":
|
|
422
|
+
ref: z,
|
|
423
|
+
"data-component": ke,
|
|
357
424
|
"data-component-id": l,
|
|
358
|
-
"data-side":
|
|
359
|
-
className: [
|
|
425
|
+
"data-side": A,
|
|
426
|
+
className: [pt({ side: A }), Se].filter(Boolean).join(" "),
|
|
360
427
|
children: [
|
|
361
|
-
|
|
362
|
-
|
|
428
|
+
te ? /* @__PURE__ */ f("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: Me }) : null,
|
|
429
|
+
p ? /* @__PURE__ */ T(
|
|
363
430
|
"aside",
|
|
364
431
|
{
|
|
365
|
-
ref:
|
|
432
|
+
ref: Ve,
|
|
366
433
|
tabIndex: -1,
|
|
367
|
-
"aria-label":
|
|
368
|
-
tool:
|
|
434
|
+
"aria-label": m("toolRail.panelLabel", {
|
|
435
|
+
tool: p.label,
|
|
369
436
|
defaultValue: "{{tool}} panel"
|
|
370
437
|
}),
|
|
371
|
-
"
|
|
372
|
-
"data-
|
|
373
|
-
"data-
|
|
438
|
+
"aria-hidden": y || void 0,
|
|
439
|
+
"data-tool-rail-state": y ? "collapsing" : "expanded",
|
|
440
|
+
"data-presence": Z.phase,
|
|
441
|
+
"data-active-tool": p.id,
|
|
442
|
+
"data-resizing": ce ? "" : void 0,
|
|
374
443
|
className: [
|
|
375
|
-
|
|
444
|
+
mt({ side: A }),
|
|
376
445
|
// Subtle shadow — not a line — separating the panel from the
|
|
377
446
|
// icon strip (the tab row). The panel casts a soft chrome
|
|
378
447
|
// shadow toward the strip on its strip-facing edge. `z-[1]`
|
|
@@ -384,57 +453,67 @@ const os = Le(
|
|
|
384
453
|
// theme the soft shadow becomes a solid 1px border on that same
|
|
385
454
|
// strip-facing edge.
|
|
386
455
|
"ds:z-[1]",
|
|
387
|
-
|
|
456
|
+
A === "end" ? "ds:shadow-[var(--shadow-chrome-end)] ds:[.theme-accessible_&]:border-e ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none" : "ds:shadow-[var(--shadow-chrome-start)] ds:[.theme-accessible_&]:border-s ds:[.theme-accessible_&]:border-[var(--border)] ds:[.theme-accessible_&]:shadow-none",
|
|
388
457
|
"ds:focus-visible:outline-none"
|
|
389
458
|
].join(" "),
|
|
390
459
|
children: [
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
// data-tool-fill: a self-scrolling panel owns its own native
|
|
395
|
-
// scroll (it can't use the rail's ScrollArea), so a token rule
|
|
396
|
-
// paints its scrollbar to match the 8px overlay. See tokens/index.css.
|
|
397
|
-
/* @__PURE__ */ f("div", { "data-tool-fill": "", className: "ds:flex-1 ds:min-h-0", children: d.panel })
|
|
398
|
-
) : /* @__PURE__ */ f(
|
|
399
|
-
Pe,
|
|
460
|
+
Q ? Q(p, { isActive: !y }) : null,
|
|
461
|
+
/* @__PURE__ */ T(
|
|
462
|
+
"div",
|
|
400
463
|
{
|
|
401
|
-
|
|
402
|
-
className:
|
|
403
|
-
children:
|
|
404
|
-
|
|
464
|
+
"data-presence": X ? "entering" : "present",
|
|
465
|
+
className: gt(),
|
|
466
|
+
children: [
|
|
467
|
+
p.header ? /* @__PURE__ */ f("div", { className: "ds:shrink-0", children: p.header }) : null,
|
|
468
|
+
p.fill ? (
|
|
469
|
+
// data-tool-fill: a self-scrolling panel owns its own native
|
|
470
|
+
// scroll (it can't use the rail's ScrollArea), so a token rule
|
|
471
|
+
// paints its scrollbar to match the 8px overlay. See tokens/index.css.
|
|
472
|
+
/* @__PURE__ */ f("div", { "data-tool-fill": "", className: "ds:flex-1 ds:min-h-0", children: p.panel })
|
|
473
|
+
) : /* @__PURE__ */ f(
|
|
474
|
+
Ye,
|
|
475
|
+
{
|
|
476
|
+
orientation: "vertical",
|
|
477
|
+
className: "ds:flex-1 ds:min-h-0",
|
|
478
|
+
children: p.panel
|
|
479
|
+
}
|
|
480
|
+
)
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
p.id
|
|
405
484
|
),
|
|
406
|
-
|
|
485
|
+
N ? /* @__PURE__ */ f(
|
|
407
486
|
"div",
|
|
408
487
|
{
|
|
409
|
-
...
|
|
410
|
-
"aria-label":
|
|
488
|
+
...le,
|
|
489
|
+
"aria-label": m("toolRail.resizePanel", {
|
|
411
490
|
defaultValue: "Resize tool panel"
|
|
412
491
|
}),
|
|
413
|
-
"data-resizing":
|
|
414
|
-
className:
|
|
492
|
+
"data-resizing": ce ? "" : void 0,
|
|
493
|
+
className: bt({ edge: de })
|
|
415
494
|
}
|
|
416
495
|
) : null
|
|
417
496
|
]
|
|
418
497
|
}
|
|
419
498
|
) : null,
|
|
420
|
-
/* @__PURE__ */ f(
|
|
499
|
+
/* @__PURE__ */ f(Ge, { children: /* @__PURE__ */ T(
|
|
421
500
|
"div",
|
|
422
501
|
{
|
|
423
|
-
ref:
|
|
502
|
+
ref: Ce,
|
|
424
503
|
role: "toolbar",
|
|
425
504
|
"aria-orientation": "vertical",
|
|
426
|
-
"aria-label":
|
|
427
|
-
className:
|
|
428
|
-
onKeyDown:
|
|
505
|
+
"aria-label": Te ?? m("toolRail.railLabel", { defaultValue: "Tools" }),
|
|
506
|
+
className: vt(),
|
|
507
|
+
onKeyDown: qe,
|
|
429
508
|
children: [
|
|
430
|
-
a.map((e,
|
|
431
|
-
const
|
|
509
|
+
a.map((e, t) => {
|
|
510
|
+
const s = e.id === b, n = typeof e.badgeCount == "number" && e.badgeCount > 0, i = n ? m("toolRail.toolWithCount", {
|
|
432
511
|
tool: e.label,
|
|
433
512
|
count: e.badgeCount,
|
|
434
513
|
defaultValue: "{{tool}}, {{count}} updates"
|
|
435
|
-
}) : e.label, o =
|
|
436
|
-
return /* @__PURE__ */
|
|
437
|
-
|
|
514
|
+
}) : e.label, o = te && !!e.reorderable && !e.disabled, R = o ? `${Ne}-${e.id}` : void 0;
|
|
515
|
+
return /* @__PURE__ */ T(Ze, { children: [
|
|
516
|
+
De && t === ee ? /* @__PURE__ */ f(
|
|
438
517
|
"div",
|
|
439
518
|
{
|
|
440
519
|
role: "separator",
|
|
@@ -442,45 +521,45 @@ const os = Le(
|
|
|
442
521
|
className: "ds:my-[var(--spacing-2xs)] ds:h-px ds:w-[var(--spacing-lg)] ds:shrink-0 ds:bg-[var(--border)] ds:forced-colors:bg-[CanvasText]"
|
|
443
522
|
}
|
|
444
523
|
) : null,
|
|
445
|
-
/* @__PURE__ */
|
|
524
|
+
/* @__PURE__ */ T(
|
|
446
525
|
"div",
|
|
447
526
|
{
|
|
448
527
|
className: [
|
|
449
|
-
|
|
450
|
-
dragging:
|
|
451
|
-
dropTarget:
|
|
528
|
+
ye({
|
|
529
|
+
dragging: E === t,
|
|
530
|
+
dropTarget: se === t && E !== t,
|
|
452
531
|
reorderable: o
|
|
453
532
|
}),
|
|
454
|
-
|
|
455
|
-
|
|
533
|
+
we,
|
|
534
|
+
st
|
|
456
535
|
].filter(Boolean).join(" "),
|
|
457
536
|
"data-reflow-id": e.id,
|
|
458
|
-
"data-dragging":
|
|
537
|
+
"data-dragging": E === t ? "" : void 0,
|
|
459
538
|
draggable: o || void 0,
|
|
460
539
|
onDragStart: o ? (r) => {
|
|
461
|
-
|
|
540
|
+
W(t), r.dataTransfer.effectAllowed = "move", r.dataTransfer.setData(
|
|
462
541
|
"text/plain",
|
|
463
|
-
String(
|
|
542
|
+
String(t)
|
|
464
543
|
);
|
|
465
544
|
} : void 0,
|
|
466
545
|
onDragOver: o ? (r) => {
|
|
467
|
-
|
|
546
|
+
E !== null && (r.preventDefault(), r.dataTransfer.dropEffect = "move", se !== t && C(t));
|
|
468
547
|
} : void 0,
|
|
469
|
-
onDragLeave: o ? () =>
|
|
548
|
+
onDragLeave: o ? () => C((r) => r === t ? null : r) : void 0,
|
|
470
549
|
onDrop: o ? (r) => {
|
|
471
550
|
r.preventDefault();
|
|
472
|
-
const u =
|
|
473
|
-
|
|
551
|
+
const u = E;
|
|
552
|
+
C(null), W(null), !(u === null || u === t) && oe(u, t);
|
|
474
553
|
} : void 0,
|
|
475
554
|
onDragEnd: o ? () => {
|
|
476
|
-
|
|
555
|
+
W(null), C(null);
|
|
477
556
|
} : void 0,
|
|
478
557
|
children: [
|
|
479
558
|
/* @__PURE__ */ f(
|
|
480
|
-
|
|
559
|
+
be,
|
|
481
560
|
{
|
|
482
561
|
ref: (r) => {
|
|
483
|
-
|
|
562
|
+
q.current[t] = r;
|
|
484
563
|
},
|
|
485
564
|
icon: e.icon,
|
|
486
565
|
tooltip: e.label,
|
|
@@ -488,54 +567,54 @@ const os = Le(
|
|
|
488
567
|
intent: "ghost",
|
|
489
568
|
size: "sm",
|
|
490
569
|
disabled: e.disabled,
|
|
491
|
-
"aria-pressed":
|
|
492
|
-
"aria-expanded":
|
|
493
|
-
"data-active":
|
|
570
|
+
"aria-pressed": s,
|
|
571
|
+
"aria-expanded": s,
|
|
572
|
+
"data-active": s ? e.id : void 0,
|
|
494
573
|
"data-tool-id": e.id,
|
|
495
|
-
"aria-describedby":
|
|
574
|
+
"aria-describedby": R,
|
|
496
575
|
"aria-keyshortcuts": o ? "Alt+ArrowUp Alt+ArrowDown" : void 0,
|
|
497
|
-
tabIndex:
|
|
576
|
+
tabIndex: t === _ ? 0 : -1,
|
|
498
577
|
onFocus: () => {
|
|
499
|
-
e.disabled ||
|
|
578
|
+
e.disabled || H(t);
|
|
500
579
|
},
|
|
501
|
-
onClick: () =>
|
|
580
|
+
onClick: () => Ke(e.id, O.current),
|
|
502
581
|
onKeyDown: (r) => {
|
|
503
582
|
if (r.key === "Enter" || r.key === " ") {
|
|
504
|
-
|
|
583
|
+
O.current = !0;
|
|
505
584
|
return;
|
|
506
585
|
}
|
|
507
586
|
if (o && r.altKey && c) {
|
|
508
587
|
let u = null;
|
|
509
|
-
if (r.key === "ArrowUp" ? u =
|
|
588
|
+
if (r.key === "ArrowUp" ? u = t - 1 : r.key === "ArrowDown" ? u = t + 1 : r.key === "Home" ? u = c.first : r.key === "End" && (u = c.last), u !== null) {
|
|
510
589
|
r.preventDefault();
|
|
511
|
-
const
|
|
590
|
+
const He = Math.max(
|
|
512
591
|
c.first,
|
|
513
592
|
Math.min(c.last, u)
|
|
514
|
-
),
|
|
515
|
-
|
|
516
|
-
var
|
|
517
|
-
(
|
|
518
|
-
`[data-tool-id="${CSS.escape(
|
|
519
|
-
)) == null ||
|
|
593
|
+
), Oe = e.id;
|
|
594
|
+
oe(t, He), requestAnimationFrame(() => {
|
|
595
|
+
var ve, me;
|
|
596
|
+
(me = (ve = z.current) == null ? void 0 : ve.querySelector(
|
|
597
|
+
`[data-tool-id="${CSS.escape(Oe)}"]`
|
|
598
|
+
)) == null || me.focus();
|
|
520
599
|
});
|
|
521
600
|
}
|
|
522
601
|
}
|
|
523
602
|
},
|
|
524
603
|
onKeyUp: (r) => {
|
|
525
|
-
(r.key === "Enter" || r.key === " ") && (
|
|
604
|
+
(r.key === "Enter" || r.key === " ") && (O.current = !1);
|
|
526
605
|
}
|
|
527
606
|
}
|
|
528
607
|
),
|
|
529
|
-
n ? /* @__PURE__ */ f("span", { "aria-hidden": "true", className:
|
|
608
|
+
n ? /* @__PURE__ */ f("span", { "aria-hidden": "true", className: ht(), children: wt(
|
|
530
609
|
e.badgeCount,
|
|
531
|
-
|
|
610
|
+
Be
|
|
532
611
|
) }) : null,
|
|
533
|
-
|
|
534
|
-
index:
|
|
535
|
-
isActive:
|
|
536
|
-
isRovingTarget:
|
|
612
|
+
K == null ? void 0 : K(e, {
|
|
613
|
+
index: t,
|
|
614
|
+
isActive: s,
|
|
615
|
+
isRovingTarget: t === _
|
|
537
616
|
}),
|
|
538
|
-
|
|
617
|
+
R ? /* @__PURE__ */ f("span", { id: R, className: "ds:sr-only", children: m("toolRail.reorderInstructions", {
|
|
539
618
|
tool: e.label,
|
|
540
619
|
defaultValue: "Reorder {{tool}}. Press Alt + Up or Alt + Down to move."
|
|
541
620
|
}) }) : null
|
|
@@ -544,22 +623,22 @@ const os = Le(
|
|
|
544
623
|
)
|
|
545
624
|
] }, e.id);
|
|
546
625
|
}),
|
|
547
|
-
|
|
548
|
-
(e) =>
|
|
626
|
+
Pe.map(
|
|
627
|
+
(e) => $.isLeaving(e.id) ? /* @__PURE__ */ f(
|
|
549
628
|
"div",
|
|
550
629
|
{
|
|
551
630
|
className: [
|
|
552
|
-
|
|
631
|
+
ye({
|
|
553
632
|
dragging: !1,
|
|
554
633
|
dropTarget: !1,
|
|
555
634
|
reorderable: !1
|
|
556
635
|
}),
|
|
557
|
-
|
|
558
|
-
|
|
636
|
+
we,
|
|
637
|
+
yt
|
|
559
638
|
].filter(Boolean).join(" "),
|
|
560
639
|
"aria-hidden": "true",
|
|
561
640
|
children: /* @__PURE__ */ f(
|
|
562
|
-
|
|
641
|
+
be,
|
|
563
642
|
{
|
|
564
643
|
icon: e.icon,
|
|
565
644
|
intent: "ghost",
|
|
@@ -580,9 +659,9 @@ const os = Le(
|
|
|
580
659
|
);
|
|
581
660
|
}
|
|
582
661
|
);
|
|
583
|
-
|
|
662
|
+
xt.displayName = "ToolRail";
|
|
584
663
|
export {
|
|
585
|
-
|
|
586
|
-
|
|
664
|
+
xt as T,
|
|
665
|
+
ot as t
|
|
587
666
|
};
|
|
588
|
-
//# sourceMappingURL=tool-rail-
|
|
667
|
+
//# sourceMappingURL=tool-rail-BP8sjxCw.js.map
|