@alfadocs/ui-kit 1.130.1 → 1.131.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/{actions-cell-renderer-DTaIQKp9.js → actions-cell-renderer-C-l_ppP6.js} +3 -3
- package/dist/_chunks/{alia-sidebar-BBxbMRmX.js → alia-sidebar-CK1zw_Bc.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CtcULkvc.js → anamnesis-summary-rows-CCNmkq55.js} +5 -5
- package/dist/_chunks/{appointment-card-vbUsDh70.js → appointment-card-OAOur8lH.js} +2 -2
- package/dist/_chunks/{appointment-peek-DdUhqfEi.js → appointment-peek-DZa6xyUb.js} +2 -2
- package/dist/_chunks/{appointment-timeline-B5pfBl-b.js → appointment-timeline-DQePqpyH.js} +3 -3
- package/dist/_chunks/{appointment-tray-BhiXetjs.js → appointment-tray-DSFqO5Rm.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-BtFge7Y6.js → balance-badge-cell-DTiMdnCZ.js} +4 -4
- package/dist/_chunks/bill-line-table-DHKb_O7c.js +2000 -0
- package/dist/_chunks/body-pointer-lock-CsOEDm1I.js +15 -0
- package/dist/_chunks/{button-group-B2MJo0Se.js → button-group-DuQuuulC.js} +2 -2
- package/dist/_chunks/{calculator-dialog-BGX5XQCM.js → calculator-dialog-Cg3GjaRf.js} +2 -2
- package/dist/_chunks/{calendar-DzR-vdJ5.js → calendar-BIoOeBTT.js} +103 -103
- package/dist/_chunks/{calendar-appointment-editor-dialog-CXch4Pmu.js → calendar-appointment-editor-dialog-WW6V1SGh.js} +15 -15
- package/dist/_chunks/{care-plan-card-CwgkImOD.js → care-plan-card-DKScH9Ss.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-cdojypxu.js → care-plan-entry-card-AG1y3nyW.js} +2 -2
- package/dist/_chunks/{chart-Aue_2dMb.js → chart-D0EeFWst.js} +2 -2
- package/dist/_chunks/{dashboard-grid-CaxgaEgI.js → dashboard-grid-2uVXEe9e.js} +2 -2
- package/dist/_chunks/{data-grid-C9xlUMLt.js → data-grid-B2oaI7Lt.js} +2345 -2328
- package/dist/_chunks/{data-table-BCfkcPti.js → data-table-FTV3uRjX.js} +3 -3
- package/dist/_chunks/{default-tabs-BnB6FUEW.js → default-tabs-DbebYO04.js} +5 -5
- package/dist/_chunks/{dialog-CIUn5oLb.js → dialog-CVTxyR0v.js} +48 -47
- package/dist/_chunks/{document-preview-BWDTCEHI.js → document-preview-_kQ9QvZV.js} +2 -2
- package/dist/_chunks/{dropdown-menu-Dw6sgQwJ.js → dropdown-menu-DBWaW4pq.js} +92 -88
- package/dist/_chunks/{editable-currency-cell-renderer-BlK-8A7b.js → editable-currency-cell-renderer-CZMQ5xRT.js} +2 -2
- package/dist/_chunks/{face-scheme-Bt07zQJU.js → face-scheme-D_Y1StPl.js} +3 -3
- package/dist/_chunks/{file-manager-Dpwv0qs-.js → file-manager-Bzr5NK1t.js} +5 -5
- package/dist/_chunks/{header-settings-ZGvYAuKF.js → header-settings-Cu-MKOsO.js} +2 -2
- package/dist/_chunks/{heatmap-Ds5DJBUL.js → heatmap-C5gJin_F.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-C28E_rOt.js → help-me-write-templates-DO6vJeP4.js} +2 -2
- package/dist/_chunks/{icon-button-group-BKtkVZ1W.js → icon-button-group-SmkdVCNx.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-tJY7W1g_.js → invoice-upload-list-B5aMffTy.js} +22 -22
- package/dist/_chunks/{link-cell-renderer-CC9VHU68.js → link-cell-renderer-D3JLPURZ.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-D_HA8CKx.js → marketplace-app-shell-dMmxI6MT.js} +4 -4
- package/dist/_chunks/{muscle-scheme-DdIdm8Gw.js → muscle-scheme-BGJD62op.js} +2 -2
- package/dist/_chunks/{notes-panel-DIY7eNsq.js → notes-panel-Cm-_pCRJ.js} +3 -3
- package/dist/_chunks/{parts-tGzYz0uG.js → parts-BOnDDU3E.js} +2 -2
- package/dist/_chunks/{patient-search-OAwFgOW3.js → patient-search-DBvLFArV.js} +2 -2
- package/dist/_chunks/{practice-results-BDnZtbDM.js → practice-results-M5A9-X9y.js} +3 -3
- package/dist/_chunks/{public-header.agent-Db4wm6_S.js → public-header.agent-DaeDfLfy.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-B-r3BoqU.js → radiograph-panel.agent-88VjqlG7.js} +2 -2
- package/dist/_chunks/{rich-text-editor-TnX0SYdq.js → rich-text-editor-DjHL1b3E.js} +3 -3
- package/dist/_chunks/{row-actions-Dpf9CrCP.js → row-actions-BF2-uizV.js} +3 -3
- package/dist/_chunks/{sheet-uZZXaO_S.js → sheet-BdhYeQQT.js} +84 -72
- package/dist/_chunks/{signature-request-DW2PSp66.js → signature-request-4pGq3YBe.js} +3 -3
- package/dist/_chunks/{tab-bar-CF8R38Og.js → tab-bar-CeC2QOwB.js} +2 -2
- package/dist/_chunks/{tabs-P4qFmxk5.js → tabs-CRIDBLP7.js} +2 -2
- package/dist/_chunks/{task-editor-CVRrDqpe.js → task-editor-BL2hHxNz.js} +3 -3
- package/dist/_chunks/{tasks-panel-DBSm3WjK.js → tasks-panel-BE3zaayj.js} +2 -2
- package/dist/_chunks/{theme-toggle-CeKl8f_f.js → theme-toggle-BQDFxvVS.js} +3 -3
- package/dist/_chunks/{token-insert-menu-BrK5NQIq.js → token-insert-menu-BLtfMTJd.js} +2 -2
- package/dist/_chunks/{toolbar-CC-Ls_eC.js → toolbar-CfdoJzMV.js} +3 -3
- package/dist/_chunks/{tooth-scheme-DHRxV2sE.js → tooth-scheme-BtnFgugP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BrykoTOR.js → use-appointment-details-read-_b7FRB1x.js} +4 -4
- package/dist/_chunks/{verify-identity-types-D_LdByCp.js → verify-identity-types-CxtrBXsZ.js} +2 -2
- package/dist/_chunks/{warehouse-load-summary-DkAKXcw0.js → warehouse-load-summary-CMMYzTDv.js} +75 -66
- package/dist/_chunks/{widget-picker-DrxJjEkv.js → widget-picker-D3T7e8a4.js} +2 -2
- package/dist/_chunks/{workflow-map-DCjkRuS_.js → workflow-map-DaZFP9SJ.js} +2 -2
- package/dist/_chunks/{workflow-status-D0avpoeS.js → workflow-status-D1WgGVTP.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-Cae02r_4.js → workflow-webhook-action-BsGSh3h9.js} +2 -2
- package/dist/agent-catalog.json +10 -10
- package/dist/agent-i18n/en.json +3 -3
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/body-pointer-lock.d.ts +2 -0
- package/dist/components/_shared/decimal.d.ts +2 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.header.d.ts +6 -0
- package/dist/components/bill-line-table/bill-line-table.invoice-cell.d.ts +6 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +23 -10
- package/dist/components/bill-line-table/bill-line-table.scope.d.ts +56 -0
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +90 -10
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +2 -0
- package/dist/components/bill-line-table/index.d.ts +3 -2
- package/dist/components/bill-line-table/index.js +20 -18
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid/types.d.ts +6 -0
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/warehouse-load-summary/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/decimal/index.js +32 -28
- package/dist/host-compat.css +4 -1
- package/dist/index.js +1063 -1061
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/bill-line-table-CzYzg-Qh.js +0 -1757
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { jsxs as N, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as b, useId as re, useContext as G, useRef as
|
|
2
|
+
import { forwardRef as b, useId as re, useContext as G, useRef as S, useEffect as K, useMemo as O, useLayoutEffect as oe, createContext as L } from "react";
|
|
3
3
|
import * as d from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
import { c as D } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { S as ne } from "./separator-Bdc9bqoJ.js";
|
|
6
|
-
import { K as
|
|
7
|
-
import { b as
|
|
6
|
+
import { K as V } from "./kbd-Bx7eQv9f.js";
|
|
7
|
+
import { b as $ } from "./menu-row-BAr8bx1I.js";
|
|
8
8
|
import { P as E } from "./popup-region-qz_5_A0V.js";
|
|
9
9
|
import { u as de } from "./use-controllable-state-BiY4xTzM.js";
|
|
10
10
|
import { u as ie } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import {
|
|
12
|
-
import { C as le } from "./
|
|
13
|
-
import {
|
|
14
|
-
|
|
11
|
+
import { r as ce } from "./body-pointer-lock-CsOEDm1I.js";
|
|
12
|
+
import { C as le } from "./chevron-right-I9AeSxH2.js";
|
|
13
|
+
import { C as ue } from "./check-DrFSN__t.js";
|
|
14
|
+
import { a as pe } from "./use-direction-Dp8h70PP.js";
|
|
15
|
+
const me = {
|
|
15
16
|
id: "dropdown-menu",
|
|
16
17
|
capabilities: ["open", "close", "set_value"],
|
|
17
18
|
state: {
|
|
@@ -122,7 +123,7 @@ const pe = {
|
|
|
122
123
|
description: "On a ChoiceSub or SwitchItem row given a name: the setting that set_value / set_checked address."
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
|
-
},
|
|
126
|
+
}, q = D(
|
|
126
127
|
[
|
|
127
128
|
"ds:z-[var(--z-dropdown)]",
|
|
128
129
|
// Roomier panel: wider floor, larger radius, deeper float and a
|
|
@@ -195,7 +196,7 @@ const pe = {
|
|
|
195
196
|
].join(" "),
|
|
196
197
|
/* The pointer lives here, not in the base: two cursor utilities on
|
|
197
198
|
one element resolve by stylesheet order, and it would win. */
|
|
198
|
-
false: `ds:cursor-pointer ${
|
|
199
|
+
false: `ds:cursor-pointer ${$.highlighted}`
|
|
199
200
|
}
|
|
200
201
|
},
|
|
201
202
|
compoundVariants: [
|
|
@@ -212,7 +213,7 @@ const pe = {
|
|
|
212
213
|
],
|
|
213
214
|
defaultVariants: { variant: "default", unavailable: !1 }
|
|
214
215
|
}
|
|
215
|
-
),
|
|
216
|
+
), he = D(
|
|
216
217
|
[
|
|
217
218
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
218
219
|
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-2xs)]",
|
|
@@ -224,11 +225,11 @@ const pe = {
|
|
|
224
225
|
"ds:text-[color:var(--muted-foreground)]",
|
|
225
226
|
"ds:select-none"
|
|
226
227
|
].join(" ")
|
|
227
|
-
),
|
|
228
|
+
), A = "ds:inline-flex ds:items-center ds:justify-center ds:size-4 ds:shrink-0", B = L(
|
|
228
229
|
void 0
|
|
229
|
-
),
|
|
230
|
+
), fe = () => new Promise((e) => {
|
|
230
231
|
typeof requestAnimationFrame == "function" ? requestAnimationFrame(() => e()) : setTimeout(e, 16);
|
|
231
|
-
}), H =
|
|
232
|
+
}), H = L(void 0), F = ({
|
|
232
233
|
dir: e,
|
|
233
234
|
id: t,
|
|
234
235
|
open: a,
|
|
@@ -236,46 +237,46 @@ const pe = {
|
|
|
236
237
|
onOpenChange: l,
|
|
237
238
|
...u
|
|
238
239
|
}) => {
|
|
239
|
-
const
|
|
240
|
+
const h = pe(), [p, w] = de({
|
|
240
241
|
value: a,
|
|
241
242
|
defaultValue: r ?? !1,
|
|
242
243
|
onChange: l
|
|
243
|
-
}), c =
|
|
244
|
+
}), c = p ?? !1, n = S(c);
|
|
244
245
|
K(() => {
|
|
245
246
|
n.current = c;
|
|
246
247
|
}, [c]);
|
|
247
|
-
const
|
|
248
|
-
() => (
|
|
249
|
-
|
|
248
|
+
const f = S(/* @__PURE__ */ new Map()), C = S(0), I = O(
|
|
249
|
+
() => (g, k) => (f.current.set(g, k), () => {
|
|
250
|
+
f.current.get(g) === k && f.current.delete(g);
|
|
250
251
|
}),
|
|
251
252
|
[]
|
|
252
|
-
),
|
|
253
|
-
const
|
|
253
|
+
), T = O(() => {
|
|
254
|
+
const g = (i) => {
|
|
254
255
|
n.current = i, w(i);
|
|
255
|
-
}, k = async (i, o,
|
|
256
|
+
}, k = async (i, o, m) => {
|
|
256
257
|
const y = !n.current;
|
|
257
|
-
y &&
|
|
258
|
+
y && g(!0);
|
|
258
259
|
const v = C.current;
|
|
259
260
|
try {
|
|
260
|
-
let x =
|
|
261
|
+
let x = f.current.get(i);
|
|
261
262
|
for (let R = 0; !x && R < 30; R += 1)
|
|
262
|
-
await
|
|
263
|
+
await fe(), x = f.current.get(i);
|
|
263
264
|
if (!x || x.kind !== o)
|
|
264
265
|
throw new Error(`No ${o} setting named "${i}" in this menu`);
|
|
265
|
-
|
|
266
|
+
m(x);
|
|
266
267
|
} finally {
|
|
267
|
-
y && C.current === v &&
|
|
268
|
+
y && C.current === v && g(!1);
|
|
268
269
|
}
|
|
269
270
|
};
|
|
270
271
|
return {
|
|
271
272
|
getIsOpen: () => n.current,
|
|
272
273
|
open: () => {
|
|
273
|
-
C.current += 1,
|
|
274
|
+
C.current += 1, g(!0);
|
|
274
275
|
},
|
|
275
276
|
close: () => {
|
|
276
|
-
C.current += 1,
|
|
277
|
+
C.current += 1, g(!1);
|
|
277
278
|
},
|
|
278
|
-
getSettings: () => [...
|
|
279
|
+
getSettings: () => [...f.current].map(([i, o]) => {
|
|
279
280
|
if (o.kind === "choice") {
|
|
280
281
|
const { value: v, options: x, disabled: R } = o.read();
|
|
281
282
|
return {
|
|
@@ -286,46 +287,49 @@ const pe = {
|
|
|
286
287
|
disabled: R
|
|
287
288
|
};
|
|
288
289
|
}
|
|
289
|
-
const { checked:
|
|
290
|
-
return { setting: i, kind: "switch", checked:
|
|
290
|
+
const { checked: m, disabled: y } = o.read();
|
|
291
|
+
return { setting: i, kind: "switch", checked: m, disabled: y };
|
|
291
292
|
}),
|
|
292
|
-
setValue: (i, o) => k(i, "choice", (
|
|
293
|
-
const { options: y, disabled: v, closeOnSelect: x } =
|
|
293
|
+
setValue: (i, o) => k(i, "choice", (m) => {
|
|
294
|
+
const { options: y, disabled: v, closeOnSelect: x } = m.read(), R = y.find((j) => j.value === o);
|
|
294
295
|
if (v || !R || R.disabled)
|
|
295
296
|
throw new Error(
|
|
296
297
|
`"${o}" is not an option that "${i}" can take now`
|
|
297
298
|
);
|
|
298
|
-
|
|
299
|
+
m.pick(o), x && g(!1);
|
|
299
300
|
}),
|
|
300
|
-
setChecked: (i, o) => k(i, "switch", (
|
|
301
|
-
if (
|
|
301
|
+
setChecked: (i, o) => k(i, "switch", (m) => {
|
|
302
|
+
if (m.read().disabled)
|
|
302
303
|
throw new Error(`"${i}" is disabled`);
|
|
303
|
-
|
|
304
|
+
m.pick(o);
|
|
304
305
|
})
|
|
305
306
|
};
|
|
306
307
|
}, [w]);
|
|
307
|
-
return ie(
|
|
308
|
+
return ie(me, T, t), /* @__PURE__ */ s(H.Provider, { value: t, children: /* @__PURE__ */ s(B.Provider, { value: I, children: /* @__PURE__ */ s(
|
|
308
309
|
d.Root,
|
|
309
310
|
{
|
|
310
|
-
dir: e ??
|
|
311
|
+
dir: e ?? h,
|
|
311
312
|
open: c,
|
|
312
313
|
onOpenChange: w,
|
|
313
314
|
...u
|
|
314
315
|
}
|
|
315
316
|
) }) });
|
|
316
317
|
};
|
|
317
|
-
|
|
318
|
-
const
|
|
319
|
-
const
|
|
320
|
-
return /* @__PURE__ */ s(d.Portal, { children: /* @__PURE__ */ s(E, { popupRef:
|
|
318
|
+
F.displayName = "DropdownMenu.Root";
|
|
319
|
+
const ge = d.Trigger, ve = d.Portal, be = d.Group, we = d.RadioGroup, U = b(({ className: e, sideOffset: t = 8, onCloseAutoFocus: a, ...r }, l) => {
|
|
320
|
+
const u = G(H);
|
|
321
|
+
return /* @__PURE__ */ s(d.Portal, { children: /* @__PURE__ */ s(E, { popupRef: l, children: (h) => /* @__PURE__ */ s(
|
|
321
322
|
d.Content,
|
|
322
323
|
{
|
|
323
|
-
ref:
|
|
324
|
+
ref: h,
|
|
324
325
|
sideOffset: t,
|
|
325
|
-
className:
|
|
326
|
+
className: q({ className: e }),
|
|
326
327
|
"data-component": "dropdown-menu",
|
|
327
|
-
"data-component-id":
|
|
328
|
-
...
|
|
328
|
+
"data-component-id": u,
|
|
329
|
+
...r,
|
|
330
|
+
onCloseAutoFocus: (p) => {
|
|
331
|
+
ce(), a == null || a(p);
|
|
332
|
+
}
|
|
329
333
|
}
|
|
330
334
|
) }) });
|
|
331
335
|
});
|
|
@@ -338,23 +342,23 @@ const W = b(
|
|
|
338
342
|
description: r,
|
|
339
343
|
shortcut: l,
|
|
340
344
|
variant: u,
|
|
341
|
-
disabled:
|
|
342
|
-
disabledReason:
|
|
345
|
+
disabled: h,
|
|
346
|
+
disabledReason: p,
|
|
343
347
|
textValue: w,
|
|
344
348
|
onSelect: c,
|
|
345
349
|
onClick: n,
|
|
346
|
-
children:
|
|
350
|
+
children: f,
|
|
347
351
|
"aria-describedby": C,
|
|
348
352
|
...I
|
|
349
|
-
},
|
|
350
|
-
const
|
|
353
|
+
}, T) => {
|
|
354
|
+
const g = re(), k = `${g}-reason`, i = `${g}-label`, o = !!(h && p), m = o ? p : r, y = o && !I["aria-label"] && !I["aria-labelledby"];
|
|
351
355
|
return /* @__PURE__ */ N(
|
|
352
356
|
d.Item,
|
|
353
357
|
{
|
|
354
|
-
ref:
|
|
358
|
+
ref: T,
|
|
355
359
|
className: M({ variant: u, unavailable: o, className: e }),
|
|
356
|
-
disabled: o ? !1 :
|
|
357
|
-
textValue: w ?? (o && typeof
|
|
360
|
+
disabled: o ? !1 : h,
|
|
361
|
+
textValue: w ?? (o && typeof f == "string" ? f : void 0),
|
|
358
362
|
"aria-describedby": o ? [C, k].filter(Boolean).join(" ") : C,
|
|
359
363
|
onClick: (v) => {
|
|
360
364
|
o || n == null || n(v);
|
|
@@ -384,7 +388,7 @@ const W = b(
|
|
|
384
388
|
{
|
|
385
389
|
id: y ? i : void 0,
|
|
386
390
|
className: "ds:truncate",
|
|
387
|
-
children:
|
|
391
|
+
children: f
|
|
388
392
|
}
|
|
389
393
|
),
|
|
390
394
|
o ? (
|
|
@@ -395,12 +399,12 @@ const W = b(
|
|
|
395
399
|
{
|
|
396
400
|
id: k,
|
|
397
401
|
className: "type-meta ds:text-[color:var(--muted-foreground)] ds:w-0 ds:min-w-full ds:whitespace-normal ds:[overflow-wrap:anywhere]",
|
|
398
|
-
children:
|
|
402
|
+
children: m
|
|
399
403
|
}
|
|
400
404
|
)
|
|
401
|
-
) :
|
|
405
|
+
) : m ? /* @__PURE__ */ s("span", { className: "type-meta ds:text-[color:var(--muted-foreground)] ds:truncate", children: m }) : null
|
|
402
406
|
] }),
|
|
403
|
-
l ? /* @__PURE__ */ s("span", { className: "ds:ms-auto", children: /* @__PURE__ */ s(
|
|
407
|
+
l ? /* @__PURE__ */ s("span", { className: "ds:ms-auto", children: /* @__PURE__ */ s(V, { keys: l, size: "sm" }) }) : a ? /* @__PURE__ */ s(
|
|
404
408
|
"span",
|
|
405
409
|
{
|
|
406
410
|
"aria-hidden": "true",
|
|
@@ -421,14 +425,14 @@ const J = b(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ N(
|
|
|
421
425
|
className: M({ className: e }),
|
|
422
426
|
...a,
|
|
423
427
|
children: [
|
|
424
|
-
/* @__PURE__ */ s("span", { className:
|
|
428
|
+
/* @__PURE__ */ s("span", { className: A, children: /* @__PURE__ */ s(d.ItemIndicator, { children: /* @__PURE__ */ s(ue, { "aria-hidden": !0, className: "ds:size-4" }) }) }),
|
|
425
429
|
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: t })
|
|
426
430
|
]
|
|
427
431
|
}
|
|
428
432
|
));
|
|
429
433
|
J.displayName = "DropdownMenu.CheckboxItem";
|
|
430
434
|
function Q(e, t) {
|
|
431
|
-
const a = G(
|
|
435
|
+
const a = G(B), r = S(t);
|
|
432
436
|
oe(() => {
|
|
433
437
|
r.current = t;
|
|
434
438
|
}), K(() => {
|
|
@@ -449,7 +453,7 @@ function Q(e, t) {
|
|
|
449
453
|
return a(e, l);
|
|
450
454
|
}, [e, a]);
|
|
451
455
|
}
|
|
452
|
-
const
|
|
456
|
+
const ye = [
|
|
453
457
|
"ds:ms-auto ds:inline-flex ds:items-center ds:shrink-0",
|
|
454
458
|
"ds:h-4 ds:w-7 ds:p-[2px]",
|
|
455
459
|
"ds:rounded-[var(--radius-full)]",
|
|
@@ -464,7 +468,7 @@ const we = [
|
|
|
464
468
|
// HCM strips fills — paint the checked track with the system
|
|
465
469
|
// selection colour so state isn't conveyed by thumb position alone.
|
|
466
470
|
"ds:forced-colors:[[data-state=checked]_&]:bg-[SelectedItem]"
|
|
467
|
-
].join(" "),
|
|
471
|
+
].join(" "), xe = [
|
|
468
472
|
"ds:block ds:size-3",
|
|
469
473
|
"ds:rounded-[var(--radius-full)]",
|
|
470
474
|
"ds:bg-[color:var(--background)]",
|
|
@@ -473,14 +477,14 @@ const we = [
|
|
|
473
477
|
"ds:shadow-[var(--shadow-sm)]",
|
|
474
478
|
"ds:forced-colors:bg-[CanvasText]"
|
|
475
479
|
].join(" "), X = b(({ className: e, children: t, onSelect: a, name: r, ...l }, u) => {
|
|
476
|
-
const { checked:
|
|
480
|
+
const { checked: h, onCheckedChange: p, disabled: w } = l;
|
|
477
481
|
return Q(r, {
|
|
478
482
|
kind: "switch",
|
|
479
|
-
read: () => ({ checked:
|
|
483
|
+
read: () => ({ checked: h === !0, disabled: w === !0 }),
|
|
480
484
|
// What a click does, and only when it would change something: the
|
|
481
485
|
// consumer's onSelect, then the new state.
|
|
482
486
|
pick: (c) => {
|
|
483
|
-
c !== (
|
|
487
|
+
c !== (h === !0) && (a == null || a(new Event("menu.itemSelect", { cancelable: !0 })), p == null || p(c));
|
|
484
488
|
}
|
|
485
489
|
}), /* @__PURE__ */ N(
|
|
486
490
|
d.CheckboxItem,
|
|
@@ -494,20 +498,20 @@ const we = [
|
|
|
494
498
|
...l,
|
|
495
499
|
children: [
|
|
496
500
|
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: t }),
|
|
497
|
-
/* @__PURE__ */ s("span", { "aria-hidden": "true", className:
|
|
501
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", className: ye, children: /* @__PURE__ */ s("span", { className: xe }) })
|
|
498
502
|
]
|
|
499
503
|
}
|
|
500
504
|
);
|
|
501
505
|
});
|
|
502
506
|
X.displayName = "DropdownMenu.SwitchItem";
|
|
503
|
-
const Y =
|
|
507
|
+
const Y = we, z = b(({ className: e, children: t, ...a }, r) => /* @__PURE__ */ N(
|
|
504
508
|
d.RadioItem,
|
|
505
509
|
{
|
|
506
510
|
ref: r,
|
|
507
511
|
className: M({ className: e }),
|
|
508
512
|
...a,
|
|
509
513
|
children: [
|
|
510
|
-
/* @__PURE__ */ s("span", { className:
|
|
514
|
+
/* @__PURE__ */ s("span", { className: A, "aria-hidden": "true", children: /* @__PURE__ */ s(
|
|
511
515
|
"span",
|
|
512
516
|
{
|
|
513
517
|
className: [
|
|
@@ -540,7 +544,7 @@ const Z = b(({ className: e, ...t }, a) => /* @__PURE__ */ s(
|
|
|
540
544
|
d.Label,
|
|
541
545
|
{
|
|
542
546
|
ref: a,
|
|
543
|
-
className:
|
|
547
|
+
className: he({ className: e }),
|
|
544
548
|
...t
|
|
545
549
|
}
|
|
546
550
|
));
|
|
@@ -553,7 +557,7 @@ const ee = b(({ className: e, ...t }, a) => /* @__PURE__ */ s(d.Separator, { ref
|
|
|
553
557
|
) }));
|
|
554
558
|
ee.displayName = "DropdownMenu.Separator";
|
|
555
559
|
const se = b(
|
|
556
|
-
({ keys: e, separator: t = "none" }, a) => /* @__PURE__ */ s("span", { ref: a, className: "ds:ms-auto ds:ps-[var(--spacing-sm)]", children: /* @__PURE__ */ s(
|
|
560
|
+
({ keys: e, separator: t = "none" }, a) => /* @__PURE__ */ s("span", { ref: a, className: "ds:ms-auto ds:ps-[var(--spacing-sm)]", children: /* @__PURE__ */ s(V, { keys: e, separator: t, size: "sm" }) })
|
|
557
561
|
);
|
|
558
562
|
se.displayName = "DropdownMenu.Shortcut";
|
|
559
563
|
const te = d.Sub, _ = b(({ className: e, startIcon: t, children: a, ...r }, l) => /* @__PURE__ */ N(
|
|
@@ -561,7 +565,7 @@ const te = d.Sub, _ = b(({ className: e, startIcon: t, children: a, ...r }, l) =
|
|
|
561
565
|
{
|
|
562
566
|
ref: l,
|
|
563
567
|
className: M({
|
|
564
|
-
className: [
|
|
568
|
+
className: [$.open, e].filter(Boolean).join(" ")
|
|
565
569
|
}),
|
|
566
570
|
...r,
|
|
567
571
|
children: [
|
|
@@ -575,7 +579,7 @@ const te = d.Sub, _ = b(({ className: e, startIcon: t, children: a, ...r }, l) =
|
|
|
575
579
|
) : null,
|
|
576
580
|
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: a }),
|
|
577
581
|
/* @__PURE__ */ s(
|
|
578
|
-
|
|
582
|
+
le,
|
|
579
583
|
{
|
|
580
584
|
"aria-hidden": !0,
|
|
581
585
|
className: "ds:ms-auto ds:size-4 ds:shrink-0 ds:rtl:-scale-x-100"
|
|
@@ -591,7 +595,7 @@ const P = b(({ className: e, ...t }, a) => /* @__PURE__ */ s(d.Portal, { childre
|
|
|
591
595
|
ref: r,
|
|
592
596
|
sideOffset: 8,
|
|
593
597
|
"data-component": "dropdown-menu-sub-content",
|
|
594
|
-
className:
|
|
598
|
+
className: q({ className: e }),
|
|
595
599
|
...t
|
|
596
600
|
}
|
|
597
601
|
) }) }));
|
|
@@ -603,18 +607,18 @@ function ae({
|
|
|
603
607
|
options: r,
|
|
604
608
|
startIcon: l,
|
|
605
609
|
disabled: u,
|
|
606
|
-
closeOnSelect:
|
|
607
|
-
name:
|
|
610
|
+
closeOnSelect: h = !1,
|
|
611
|
+
name: p,
|
|
608
612
|
className: w
|
|
609
613
|
}) {
|
|
610
614
|
const c = r.find((n) => n.value === t);
|
|
611
|
-
return Q(
|
|
615
|
+
return Q(p, {
|
|
612
616
|
kind: "choice",
|
|
613
617
|
read: () => ({
|
|
614
618
|
value: t,
|
|
615
619
|
options: r,
|
|
616
620
|
disabled: u === !0,
|
|
617
|
-
closeOnSelect:
|
|
621
|
+
closeOnSelect: h
|
|
618
622
|
}),
|
|
619
623
|
pick: (n) => a(n)
|
|
620
624
|
}), /* @__PURE__ */ N(te, { children: [
|
|
@@ -626,7 +630,7 @@ function ae({
|
|
|
626
630
|
className: w,
|
|
627
631
|
"data-component": "dropdown-menu-choice",
|
|
628
632
|
"data-value": t,
|
|
629
|
-
"data-setting":
|
|
633
|
+
"data-setting": p,
|
|
630
634
|
children: /* @__PURE__ */ N("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
631
635
|
/* @__PURE__ */ s("span", { className: "ds:truncate", children: e }),
|
|
632
636
|
c ? /* @__PURE__ */ s("span", { className: "ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:[[data-highlighted]_&]:text-current", children: c.label }) : null
|
|
@@ -643,7 +647,7 @@ function ae({
|
|
|
643
647
|
{
|
|
644
648
|
value: n.value,
|
|
645
649
|
disabled: n.disabled,
|
|
646
|
-
onSelect:
|
|
650
|
+
onSelect: h ? void 0 : (f) => f.preventDefault(),
|
|
647
651
|
children: n.label
|
|
648
652
|
},
|
|
649
653
|
n.value
|
|
@@ -653,12 +657,12 @@ function ae({
|
|
|
653
657
|
] });
|
|
654
658
|
}
|
|
655
659
|
ae.displayName = "DropdownMenu.ChoiceSub";
|
|
656
|
-
const
|
|
657
|
-
Root:
|
|
658
|
-
Trigger:
|
|
659
|
-
Portal:
|
|
660
|
+
const Oe = {
|
|
661
|
+
Root: F,
|
|
662
|
+
Trigger: ge,
|
|
663
|
+
Portal: ve,
|
|
660
664
|
Content: U,
|
|
661
|
-
Group:
|
|
665
|
+
Group: be,
|
|
662
666
|
Item: W,
|
|
663
667
|
CheckboxItem: J,
|
|
664
668
|
SwitchItem: X,
|
|
@@ -673,7 +677,7 @@ const _e = {
|
|
|
673
677
|
ChoiceSub: ae
|
|
674
678
|
};
|
|
675
679
|
export {
|
|
676
|
-
|
|
677
|
-
|
|
680
|
+
Oe as D,
|
|
681
|
+
me as d
|
|
678
682
|
};
|
|
679
|
-
//# sourceMappingURL=dropdown-menu-
|
|
683
|
+
//# sourceMappingURL=dropdown-menu-DBWaW4pq.js.map
|
|
@@ -3,7 +3,7 @@ import { useLayoutEffect as O, useMemo as V, useState as F, useRef as S, useEffe
|
|
|
3
3
|
import { T as K } from "./tag-BNlcEJfE.js";
|
|
4
4
|
import { useTranslation as w } from "react-i18next";
|
|
5
5
|
import { I as z } from "./icon-button-S8_weU3g.js";
|
|
6
|
-
import { I as q } from "./icon-button-group-
|
|
6
|
+
import { I as q } from "./icon-button-group-SmkdVCNx.js";
|
|
7
7
|
import { A as G, a as X } from "./arrow-up-BYvcvTkB.js";
|
|
8
8
|
import { S as W } from "./square-check-big-dj0o8yA3.js";
|
|
9
9
|
import { S as Z } from "./square-DASBRZ0U.js";
|
|
@@ -490,4 +490,4 @@ export {
|
|
|
490
490
|
Ne as u,
|
|
491
491
|
Ce as w
|
|
492
492
|
};
|
|
493
|
-
//# sourceMappingURL=editable-currency-cell-renderer-
|
|
493
|
+
//# sourceMappingURL=editable-currency-cell-renderer-CZMQ5xRT.js.map
|
|
@@ -7,9 +7,9 @@ import { u as Ji } from "./registry-DvAUVLHh.js";
|
|
|
7
7
|
import { m as tt, M as Qi, A as es } from "./annotation-marker-D-M7y4R1.js";
|
|
8
8
|
import { B as P } from "./button-DohK_Ak_.js";
|
|
9
9
|
import { I as Ke } from "./icon-button-S8_weU3g.js";
|
|
10
|
-
import { B as ts } from "./button-group-
|
|
10
|
+
import { B as ts } from "./button-group-DuQuuulC.js";
|
|
11
11
|
import { C as ns } from "./combobox-BBCVQS-S.js";
|
|
12
|
-
import { I as vn } from "./icon-button-group-
|
|
12
|
+
import { I as vn } from "./icon-button-group-SmkdVCNx.js";
|
|
13
13
|
import { S as Ar } from "./state-backed-text-input-DVETOhSS.js";
|
|
14
14
|
import { C as Ze } from "./card-n6W6LW-N.js";
|
|
15
15
|
import { S as Tt } from "./separator-Bdc9bqoJ.js";
|
|
@@ -3132,4 +3132,4 @@ export {
|
|
|
3132
3132
|
Nn as t,
|
|
3133
3133
|
Kr as u
|
|
3134
3134
|
};
|
|
3135
|
-
//# sourceMappingURL=face-scheme-
|
|
3135
|
+
//# sourceMappingURL=face-scheme-D_Y1StPl.js.map
|
|
@@ -8,7 +8,7 @@ import { S as he } from "./skeleton-tTWJpvAq.js";
|
|
|
8
8
|
import { u as Ct } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
9
|
import { u as wt } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { B as Z } from "./button-DohK_Ak_.js";
|
|
11
|
-
import { D as m } from "./dialog-
|
|
11
|
+
import { D as m } from "./dialog-CVTxyR0v.js";
|
|
12
12
|
import { c as St, F as xt } from "./file-upload-DQc0LsBM.js";
|
|
13
13
|
import { S as We } from "./state-backed-text-input-DVETOhSS.js";
|
|
14
14
|
import { F as Ge } from "./folder-BghC8_S2.js";
|
|
@@ -18,8 +18,8 @@ import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
|
18
18
|
import { F as Tt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
19
19
|
import { F as At } from "./file-BuG1VMAy.js";
|
|
20
20
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
21
|
-
import { D as Fe } from "./data-table-
|
|
22
|
-
import { A as Rt, a as It } from "./actions-cell-renderer-
|
|
21
|
+
import { D as Fe } from "./data-table-FTV3uRjX.js";
|
|
22
|
+
import { A as Rt, a as It } from "./actions-cell-renderer-C-l_ppP6.js";
|
|
23
23
|
import { B as $e } from "./badge-BUk4RjTS.js";
|
|
24
24
|
import { D as Ue } from "./download-CfYKJO_j.js";
|
|
25
25
|
import { P as zt } from "./pen-line-D0De5zdl.js";
|
|
@@ -27,7 +27,7 @@ import { S as Ye } from "./share-2-B49jcW2I.js";
|
|
|
27
27
|
import { P as Xe } from "./pencil-B1sKKyuT.js";
|
|
28
28
|
import { T as Ze } from "./trash-2-uumy3fy1.js";
|
|
29
29
|
import { I as Q } from "./icon-button-S8_weU3g.js";
|
|
30
|
-
import { I as _t } from "./icon-button-group-
|
|
30
|
+
import { I as _t } from "./icon-button-group-SmkdVCNx.js";
|
|
31
31
|
import { U as Je } from "./upload-BfT2hzMg.js";
|
|
32
32
|
import { P as Lt } from "./plus-DzMQ_c6b.js";
|
|
33
33
|
/**
|
|
@@ -1744,4 +1744,4 @@ export {
|
|
|
1744
1744
|
hn as F,
|
|
1745
1745
|
Gt as f
|
|
1746
1746
|
};
|
|
1747
|
-
//# sourceMappingURL=file-manager-
|
|
1747
|
+
//# sourceMappingURL=file-manager-Bzr5NK1t.js.map
|
|
@@ -4,7 +4,7 @@ import { c as A } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ee } from "react-i18next";
|
|
5
5
|
import { B as ge } from "./button-DohK_Ak_.js";
|
|
6
6
|
import { I as he } from "./icon-button-S8_weU3g.js";
|
|
7
|
-
import { D as n } from "./dropdown-menu-
|
|
7
|
+
import { D as n } from "./dropdown-menu-DBWaW4pq.js";
|
|
8
8
|
import { u as fe, p as ye, d as S, r as be, b as te } from "./locale-picker-C86h8Yt1.js";
|
|
9
9
|
import { u as we } from "./use-media-query-CcAx5SMM.js";
|
|
10
10
|
import { u as ve } from "./use-locale-BExNy9Dl.js";
|
|
@@ -545,4 +545,4 @@ He.displayName = "HeaderSettings";
|
|
|
545
545
|
export {
|
|
546
546
|
He as H
|
|
547
547
|
};
|
|
548
|
-
//# sourceMappingURL=header-settings-
|
|
548
|
+
//# sourceMappingURL=header-settings-Cu-MKOsO.js.map
|
|
@@ -14,7 +14,7 @@ import { i as Zn } from "./is-development-CLUAnsU7.js";
|
|
|
14
14
|
import { c as he } from "./index-D2ZczOXr.js";
|
|
15
15
|
import { C as eo } from "./chevron-down-DWE7GSq9.js";
|
|
16
16
|
import { E as to } from "./error-boundary-tAn_GuCu.js";
|
|
17
|
-
import { I as no } from "./icon-button-group-
|
|
17
|
+
import { I as no } from "./icon-button-group-SmkdVCNx.js";
|
|
18
18
|
import { c as _n } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
/**
|
|
20
20
|
* @license lucide-react v1.22.0 - ISC
|
|
@@ -2824,7 +2824,7 @@ const an = Mn(
|
|
|
2824
2824
|
}
|
|
2825
2825
|
);
|
|
2826
2826
|
an.displayName = "HeatmapLegend";
|
|
2827
|
-
const rn = () => import("./data-table-
|
|
2827
|
+
const rn = () => import("./data-table-FTV3uRjX.js").then((e) => e.h).then((e) => {
|
|
2828
2828
|
const t = e.DataTable;
|
|
2829
2829
|
function n(o) {
|
|
2830
2830
|
const { t: r } = wt("ui");
|
|
@@ -3666,4 +3666,4 @@ export {
|
|
|
3666
3666
|
Dn as b,
|
|
3667
3667
|
io as h
|
|
3668
3668
|
};
|
|
3669
|
-
//# sourceMappingURL=heatmap-
|
|
3669
|
+
//# sourceMappingURL=heatmap-C5gJin_F.js.map
|
package/dist/_chunks/{help-me-write-templates-C28E_rOt.js → help-me-write-templates-DO6vJeP4.js}
RENAMED
|
@@ -6,7 +6,7 @@ import { A as Z } from "./alert-C4WKViaS.js";
|
|
|
6
6
|
import { A as de } from "./ai-credits-exhausted-notice-Lws3113e.js";
|
|
7
7
|
import { B as I } from "./button-DohK_Ak_.js";
|
|
8
8
|
import { I as L } from "./icon-button-S8_weU3g.js";
|
|
9
|
-
import { D as W } from "./dialog-
|
|
9
|
+
import { D as W } from "./dialog-CVTxyR0v.js";
|
|
10
10
|
import { E as me } from "./editor-overlay-Dc8uVxEp.js";
|
|
11
11
|
import { E as pe } from "./empty-state-DwJ5YNzz.js";
|
|
12
12
|
import { F as X } from "./form-field-CyHfOVKF.js";
|
|
@@ -684,4 +684,4 @@ export {
|
|
|
684
684
|
Ie as b,
|
|
685
685
|
nr as u
|
|
686
686
|
};
|
|
687
|
-
//# sourceMappingURL=help-me-write-templates-
|
|
687
|
+
//# sourceMappingURL=help-me-write-templates-DO6vJeP4.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as Ge, useState as J, useCallback as P, useRef as F, Childre
|
|
|
3
3
|
import { c as Oe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ue } from "react-i18next";
|
|
5
5
|
import { I as Re } from "./icon-button-S8_weU3g.js";
|
|
6
|
-
import { D as k } from "./dropdown-menu-
|
|
6
|
+
import { D as k } from "./dropdown-menu-DBWaW4pq.js";
|
|
7
7
|
import { u as $e } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as We } from "./use-priority-overflow-Cdmb5EiR.js";
|
|
9
9
|
import { E as Ce } from "./ellipsis-dRo9ouSU.js";
|
|
@@ -439,4 +439,4 @@ function Ve(n) {
|
|
|
439
439
|
export {
|
|
440
440
|
qe as I
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=icon-button-group-
|
|
442
|
+
//# sourceMappingURL=icon-button-group-SmkdVCNx.js.map
|