@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.
Files changed (135) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DTaIQKp9.js → actions-cell-renderer-C-l_ppP6.js} +3 -3
  2. package/dist/_chunks/{alia-sidebar-BBxbMRmX.js → alia-sidebar-CK1zw_Bc.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-CtcULkvc.js → anamnesis-summary-rows-CCNmkq55.js} +5 -5
  4. package/dist/_chunks/{appointment-card-vbUsDh70.js → appointment-card-OAOur8lH.js} +2 -2
  5. package/dist/_chunks/{appointment-peek-DdUhqfEi.js → appointment-peek-DZa6xyUb.js} +2 -2
  6. package/dist/_chunks/{appointment-timeline-B5pfBl-b.js → appointment-timeline-DQePqpyH.js} +3 -3
  7. package/dist/_chunks/{appointment-tray-BhiXetjs.js → appointment-tray-DSFqO5Rm.js} +2 -2
  8. package/dist/_chunks/{balance-badge-cell-BtFge7Y6.js → balance-badge-cell-DTiMdnCZ.js} +4 -4
  9. package/dist/_chunks/bill-line-table-DHKb_O7c.js +2000 -0
  10. package/dist/_chunks/body-pointer-lock-CsOEDm1I.js +15 -0
  11. package/dist/_chunks/{button-group-B2MJo0Se.js → button-group-DuQuuulC.js} +2 -2
  12. package/dist/_chunks/{calculator-dialog-BGX5XQCM.js → calculator-dialog-Cg3GjaRf.js} +2 -2
  13. package/dist/_chunks/{calendar-DzR-vdJ5.js → calendar-BIoOeBTT.js} +103 -103
  14. package/dist/_chunks/{calendar-appointment-editor-dialog-CXch4Pmu.js → calendar-appointment-editor-dialog-WW6V1SGh.js} +15 -15
  15. package/dist/_chunks/{care-plan-card-CwgkImOD.js → care-plan-card-DKScH9Ss.js} +2 -2
  16. package/dist/_chunks/{care-plan-entry-card-cdojypxu.js → care-plan-entry-card-AG1y3nyW.js} +2 -2
  17. package/dist/_chunks/{chart-Aue_2dMb.js → chart-D0EeFWst.js} +2 -2
  18. package/dist/_chunks/{dashboard-grid-CaxgaEgI.js → dashboard-grid-2uVXEe9e.js} +2 -2
  19. package/dist/_chunks/{data-grid-C9xlUMLt.js → data-grid-B2oaI7Lt.js} +2345 -2328
  20. package/dist/_chunks/{data-table-BCfkcPti.js → data-table-FTV3uRjX.js} +3 -3
  21. package/dist/_chunks/{default-tabs-BnB6FUEW.js → default-tabs-DbebYO04.js} +5 -5
  22. package/dist/_chunks/{dialog-CIUn5oLb.js → dialog-CVTxyR0v.js} +48 -47
  23. package/dist/_chunks/{document-preview-BWDTCEHI.js → document-preview-_kQ9QvZV.js} +2 -2
  24. package/dist/_chunks/{dropdown-menu-Dw6sgQwJ.js → dropdown-menu-DBWaW4pq.js} +92 -88
  25. package/dist/_chunks/{editable-currency-cell-renderer-BlK-8A7b.js → editable-currency-cell-renderer-CZMQ5xRT.js} +2 -2
  26. package/dist/_chunks/{face-scheme-Bt07zQJU.js → face-scheme-D_Y1StPl.js} +3 -3
  27. package/dist/_chunks/{file-manager-Dpwv0qs-.js → file-manager-Bzr5NK1t.js} +5 -5
  28. package/dist/_chunks/{header-settings-ZGvYAuKF.js → header-settings-Cu-MKOsO.js} +2 -2
  29. package/dist/_chunks/{heatmap-Ds5DJBUL.js → heatmap-C5gJin_F.js} +3 -3
  30. package/dist/_chunks/{help-me-write-templates-C28E_rOt.js → help-me-write-templates-DO6vJeP4.js} +2 -2
  31. package/dist/_chunks/{icon-button-group-BKtkVZ1W.js → icon-button-group-SmkdVCNx.js} +2 -2
  32. package/dist/_chunks/{invoice-upload-list-tJY7W1g_.js → invoice-upload-list-B5aMffTy.js} +22 -22
  33. package/dist/_chunks/{link-cell-renderer-CC9VHU68.js → link-cell-renderer-D3JLPURZ.js} +2 -2
  34. package/dist/_chunks/{marketplace-app-shell-D_HA8CKx.js → marketplace-app-shell-dMmxI6MT.js} +4 -4
  35. package/dist/_chunks/{muscle-scheme-DdIdm8Gw.js → muscle-scheme-BGJD62op.js} +2 -2
  36. package/dist/_chunks/{notes-panel-DIY7eNsq.js → notes-panel-Cm-_pCRJ.js} +3 -3
  37. package/dist/_chunks/{parts-tGzYz0uG.js → parts-BOnDDU3E.js} +2 -2
  38. package/dist/_chunks/{patient-search-OAwFgOW3.js → patient-search-DBvLFArV.js} +2 -2
  39. package/dist/_chunks/{practice-results-BDnZtbDM.js → practice-results-M5A9-X9y.js} +3 -3
  40. package/dist/_chunks/{public-header.agent-Db4wm6_S.js → public-header.agent-DaeDfLfy.js} +2 -2
  41. package/dist/_chunks/{radiograph-panel.agent-B-r3BoqU.js → radiograph-panel.agent-88VjqlG7.js} +2 -2
  42. package/dist/_chunks/{rich-text-editor-TnX0SYdq.js → rich-text-editor-DjHL1b3E.js} +3 -3
  43. package/dist/_chunks/{row-actions-Dpf9CrCP.js → row-actions-BF2-uizV.js} +3 -3
  44. package/dist/_chunks/{sheet-uZZXaO_S.js → sheet-BdhYeQQT.js} +84 -72
  45. package/dist/_chunks/{signature-request-DW2PSp66.js → signature-request-4pGq3YBe.js} +3 -3
  46. package/dist/_chunks/{tab-bar-CF8R38Og.js → tab-bar-CeC2QOwB.js} +2 -2
  47. package/dist/_chunks/{tabs-P4qFmxk5.js → tabs-CRIDBLP7.js} +2 -2
  48. package/dist/_chunks/{task-editor-CVRrDqpe.js → task-editor-BL2hHxNz.js} +3 -3
  49. package/dist/_chunks/{tasks-panel-DBSm3WjK.js → tasks-panel-BE3zaayj.js} +2 -2
  50. package/dist/_chunks/{theme-toggle-CeKl8f_f.js → theme-toggle-BQDFxvVS.js} +3 -3
  51. package/dist/_chunks/{token-insert-menu-BrK5NQIq.js → token-insert-menu-BLtfMTJd.js} +2 -2
  52. package/dist/_chunks/{toolbar-CC-Ls_eC.js → toolbar-CfdoJzMV.js} +3 -3
  53. package/dist/_chunks/{tooth-scheme-DHRxV2sE.js → tooth-scheme-BtnFgugP.js} +2 -2
  54. package/dist/_chunks/{use-appointment-details-read-BrykoTOR.js → use-appointment-details-read-_b7FRB1x.js} +4 -4
  55. package/dist/_chunks/{verify-identity-types-D_LdByCp.js → verify-identity-types-CxtrBXsZ.js} +2 -2
  56. package/dist/_chunks/{warehouse-load-summary-DkAKXcw0.js → warehouse-load-summary-CMMYzTDv.js} +75 -66
  57. package/dist/_chunks/{widget-picker-DrxJjEkv.js → widget-picker-D3T7e8a4.js} +2 -2
  58. package/dist/_chunks/{workflow-map-DCjkRuS_.js → workflow-map-DaZFP9SJ.js} +2 -2
  59. package/dist/_chunks/{workflow-status-D0avpoeS.js → workflow-status-D1WgGVTP.js} +2 -2
  60. package/dist/_chunks/{workflow-webhook-action-Cae02r_4.js → workflow-webhook-action-BsGSh3h9.js} +2 -2
  61. package/dist/agent-catalog.json +10 -10
  62. package/dist/agent-i18n/en.json +3 -3
  63. package/dist/browser-support.js +1 -1
  64. package/dist/components/_shared/body-pointer-lock.d.ts +2 -0
  65. package/dist/components/_shared/decimal.d.ts +2 -0
  66. package/dist/components/appointment-card/index.js +2 -2
  67. package/dist/components/appointment-details-panel/index.js +1 -1
  68. package/dist/components/appointment-peek/index.js +1 -1
  69. package/dist/components/appointment-timeline/index.js +1 -1
  70. package/dist/components/bill-line-table/bill-line-table.columns.d.ts +4 -0
  71. package/dist/components/bill-line-table/bill-line-table.header.d.ts +6 -0
  72. package/dist/components/bill-line-table/bill-line-table.invoice-cell.d.ts +6 -0
  73. package/dist/components/bill-line-table/bill-line-table.model.d.ts +23 -10
  74. package/dist/components/bill-line-table/bill-line-table.scope.d.ts +56 -0
  75. package/dist/components/bill-line-table/bill-line-table.types.d.ts +90 -10
  76. package/dist/components/bill-line-table/bill-line-table.variants.d.ts +2 -0
  77. package/dist/components/bill-line-table/index.d.ts +3 -2
  78. package/dist/components/bill-line-table/index.js +20 -18
  79. package/dist/components/bill-table/index.js +1 -1
  80. package/dist/components/button-group/index.js +1 -1
  81. package/dist/components/calculator-dialog/index.js +1 -1
  82. package/dist/components/calendar/index.js +1 -1
  83. package/dist/components/care-plan-card/index.js +1 -1
  84. package/dist/components/care-plan-entry-card/index.js +1 -1
  85. package/dist/components/chart/index.js +1 -1
  86. package/dist/components/dashboard-grid/index.js +1 -1
  87. package/dist/components/data-grid/index.js +2 -2
  88. package/dist/components/data-grid/types.d.ts +6 -0
  89. package/dist/components/data-table/index.js +4 -4
  90. package/dist/components/dialog/index.js +1 -1
  91. package/dist/components/document-preview/index.js +1 -1
  92. package/dist/components/dropdown-menu/index.js +1 -1
  93. package/dist/components/face-scheme/index.js +1 -1
  94. package/dist/components/file-manager/index.js +1 -1
  95. package/dist/components/header-settings/index.js +1 -1
  96. package/dist/components/heatmap/index.js +1 -1
  97. package/dist/components/icon-button-group/index.js +1 -1
  98. package/dist/components/invoice-upload-list/index.js +1 -1
  99. package/dist/components/muscle-scheme/index.js +1 -1
  100. package/dist/components/notes-panel/index.js +1 -1
  101. package/dist/components/patient-search/index.js +1 -1
  102. package/dist/components/patient-table/index.js +1 -1
  103. package/dist/components/practice-results/index.js +1 -1
  104. package/dist/components/public-header/index.js +1 -1
  105. package/dist/components/radiograph-panel/index.js +1 -1
  106. package/dist/components/rich-text-editor/index.js +1 -1
  107. package/dist/components/row-actions/index.js +1 -1
  108. package/dist/components/sheet/index.js +1 -1
  109. package/dist/components/skeleton-scheme/index.js +1 -1
  110. package/dist/components/tab-bar/index.js +1 -1
  111. package/dist/components/tabs/index.js +1 -1
  112. package/dist/components/task-editor/index.js +1 -1
  113. package/dist/components/tasks-panel/index.js +1 -1
  114. package/dist/components/theme-toggle/index.js +1 -1
  115. package/dist/components/token-insert-menu/index.js +1 -1
  116. package/dist/components/tooth-scheme/index.js +1 -1
  117. package/dist/components/warehouse-load-summary/index.js +1 -1
  118. package/dist/components/widget-picker/index.js +1 -1
  119. package/dist/components/workflow/index.js +1 -1
  120. package/dist/components/workflow-status/index.js +1 -1
  121. package/dist/core.css +1 -1
  122. package/dist/decimal/index.js +32 -28
  123. package/dist/host-compat.css +4 -1
  124. package/dist/index.js +1063 -1061
  125. package/dist/patterns/alia-assistant/index.js +1 -1
  126. package/dist/patterns/anamnesis/index.js +1 -1
  127. package/dist/patterns/calendar/index.js +1 -1
  128. package/dist/patterns/help-me-write-templates/index.js +1 -1
  129. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  130. package/dist/patterns/signature-request/index.js +1 -1
  131. package/dist/patterns/verify-identity/index.js +1 -1
  132. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  133. package/dist/tokens.css +1 -1
  134. package/package.json +1 -1
  135. package/dist/_chunks/bill-line-table-CzYzg-Qh.js +0 -1757
@@ -6,10 +6,10 @@ import { A as q } from "./alert-C4WKViaS.js";
6
6
  import { B as Te } from "./button-DohK_Ak_.js";
7
7
  import { I as We } from "./icon-button-S8_weU3g.js";
8
8
  import { C as Qe } from "./combobox-BBCVQS-S.js";
9
- import { D as de } from "./dialog-CIUn5oLb.js";
9
+ import { D as de } from "./dialog-CVTxyR0v.js";
10
10
  import { D as Pt } from "./date-picker-BmVBVpVu.js";
11
11
  import { F as H } from "./form-field-CyHfOVKF.js";
12
- import { I as Ft } from "./icon-button-group-BKtkVZ1W.js";
12
+ import { I as Ft } from "./icon-button-group-SmkdVCNx.js";
13
13
  import { P as Ot } from "./panel-header-CbtlTe85.js";
14
14
  import { P as jt } from "./panel-subview-DCyvn-49.js";
15
15
  import { R as je } from "./radio-BZQs6_36.js";
@@ -1253,4 +1253,4 @@ export {
1253
1253
  yn as T,
1254
1254
  un as t
1255
1255
  };
1256
- //# sourceMappingURL=task-editor-CVRrDqpe.js.map
1256
+ //# sourceMappingURL=task-editor-BL2hHxNz.js.map
@@ -6,7 +6,7 @@ import { A as He } from "./alert-C4WKViaS.js";
6
6
  import { B as $s } from "./badge-BUk4RjTS.js";
7
7
  import { B as Pe } from "./button-DohK_Ak_.js";
8
8
  import { I as qe } from "./icon-button-S8_weU3g.js";
9
- import { B as Et } from "./button-group-B2MJo0Se.js";
9
+ import { B as Et } from "./button-group-DuQuuulC.js";
10
10
  import { P as Ws } from "./panel-header-CbtlTe85.js";
11
11
  import { S as Ot } from "./select-uESzXTX6.js";
12
12
  import { S as Ks } from "./switch-DO6uC4HJ.js";
@@ -1239,4 +1239,4 @@ export {
1239
1239
  En as T,
1240
1240
  dn as t
1241
1241
  };
1242
- //# sourceMappingURL=tasks-panel-DBSm3WjK.js.map
1242
+ //# sourceMappingURL=tasks-panel-BE3zaayj.js.map
@@ -3,9 +3,9 @@ import { forwardRef as M, useRef as k, useImperativeHandle as N, useMemo as P, u
3
3
  import { c as _ } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as u } from "react-i18next";
5
5
  import { I as T } from "./icon-button-S8_weU3g.js";
6
- import { I as j } from "./icon-button-group-BKtkVZ1W.js";
6
+ import { I as j } from "./icon-button-group-SmkdVCNx.js";
7
7
  import { S as x } from "./switch-DO6uC4HJ.js";
8
- import { D as o } from "./dropdown-menu-Dw6sgQwJ.js";
8
+ import { D as o } from "./dropdown-menu-DBWaW4pq.js";
9
9
  import { u as K } from "./use-theme-CYGyzFgZ.js";
10
10
  import { u as L } from "./registry-DvAUVLHh.js";
11
11
  import { u as z } from "./length-token-DwMnGEYT.js";
@@ -373,4 +373,4 @@ export {
373
373
  O as T,
374
374
  D as t
375
375
  };
376
- //# sourceMappingURL=theme-toggle-CeKl8f_f.js.map
376
+ //# sourceMappingURL=theme-toggle-BQDFxvVS.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as v, useState as O, useRef as w, useEffect as x, useMemo as y, Fragment as R } from "react";
3
3
  import { B as S } from "./button-DohK_Ak_.js";
4
- import { D as r } from "./dropdown-menu-Dw6sgQwJ.js";
4
+ import { D as r } from "./dropdown-menu-DBWaW4pq.js";
5
5
  import { u as C } from "./registry-DvAUVLHh.js";
6
6
  const K = {
7
7
  id: "token-insert-menu",
@@ -144,4 +144,4 @@ export {
144
144
  j as T,
145
145
  K as t
146
146
  };
147
- //# sourceMappingURL=token-insert-menu-BrK5NQIq.js.map
147
+ //# sourceMappingURL=token-insert-menu-BLtfMTJd.js.map
@@ -1,11 +1,11 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as M, useEffect as G, forwardRef as m, useCallback as w } from "react";
3
3
  import { useTranslation as I } from "react-i18next";
4
- import { T as v, c as N, a as R } from "./parts-tGzYz0uG.js";
4
+ import { T as v, c as N, a as R } from "./parts-BOnDDU3E.js";
5
5
  import { e as k, s as P, w as A, a as B } from "./export-files-BByoK9Cg.js";
6
6
  import { i as O } from "./is-development-CLUAnsU7.js";
7
7
  import { d as j, g as Q, u as _ } from "./grid-context-jn9y8tNE.js";
8
- import { g as U } from "./data-grid-C9xlUMLt.js";
8
+ import { g as U } from "./data-grid-B2oaI7Lt.js";
9
9
  function S() {
10
10
  var t;
11
11
  return ((t = _()) == null ? void 0 : t.toolbarSeam) ?? null;
@@ -156,4 +156,4 @@ export {
156
156
  Z as D,
157
157
  Y as a
158
158
  };
159
- //# sourceMappingURL=toolbar-CC-Ls_eC.js.map
159
+ //# sourceMappingURL=toolbar-CfdoJzMV.js.map
@@ -6,7 +6,7 @@ import { c as re } from "./index-D2ZczOXr.js";
6
6
  import { useTranslation as oo } from "react-i18next";
7
7
  import { u as Go } from "./registry-DvAUVLHh.js";
8
8
  import { I as Qo } from "./icon-button-S8_weU3g.js";
9
- import { D as H } from "./dropdown-menu-Dw6sgQwJ.js";
9
+ import { D as H } from "./dropdown-menu-DBWaW4pq.js";
10
10
  import { S as Zo } from "./switch-DO6uC4HJ.js";
11
11
  import { o as Ut, K as Xo, a0 as Jo, J as Ue, R as Ye, u as no, U as io, G as en, S as tn, w as Be, X as F, f as le, $ as at, _ as Yt, E as ut, a1 as de, H as zt, z as lt, y as on, l as st, A as ro, L as nn, t as ht, W as ct, s as ao, Y as so, x as rn, V as an, a2 as sn, a3 as $, a4 as U, a5 as cn, Z as dn, C as co, Q as ln, a6 as hn, k as Vt, T as un, O as pn, q as fn, N as mn } from "./tooth-data-DR8Kdnup.js";
12
12
  import { S as gn } from "./settings-d25ju_6L.js";
@@ -1993,4 +1993,4 @@ export {
1993
1993
  On as r,
1994
1994
  _n as t
1995
1995
  };
1996
- //# sourceMappingURL=tooth-scheme-DHRxV2sE.js.map
1996
+ //# sourceMappingURL=tooth-scheme-BtnFgugP.js.map
@@ -10,8 +10,8 @@ import { a as pn, b as Lt } from "./privacy-mask-DJ1gee4c.js";
10
10
  import { A as $ } from "./alert-C4WKViaS.js";
11
11
  import { B as L } from "./button-DohK_Ak_.js";
12
12
  import { I as Yt } from "./icon-button-S8_weU3g.js";
13
- import { B as hn } from "./button-group-B2MJo0Se.js";
14
- import { D as qe } from "./dropdown-menu-Dw6sgQwJ.js";
13
+ import { B as hn } from "./button-group-DuQuuulC.js";
14
+ import { D as qe } from "./dropdown-menu-DBWaW4pq.js";
15
15
  import { E as Gt } from "./editable-description-KU56SP4P.js";
16
16
  import { N as lt } from "./note-timeline-BQeW0VZY.js";
17
17
  import { P as Vt } from "./panel-header-CbtlTe85.js";
@@ -23,7 +23,7 @@ import { T as gn } from "./text-area-COMVJ1yE.js";
23
23
  import { T as vn } from "./tooltip-uEBdD1-5.js";
24
24
  import { T as Qt } from "./treatment-receipt-BZzwvsnY.js";
25
25
  import { a as st } from "./whatsapp-button-XbozeDl_.js";
26
- import { a as Jt, W as yn } from "./workflow-status-D0avpoeS.js";
26
+ import { a as Jt, W as yn } from "./workflow-status-D1WgGVTP.js";
27
27
  import { u as yt, a as Ot, i as bn } from "./appointment-workflow-status-DMjuIK90.js";
28
28
  import { E as kn } from "./empty-state-DwJ5YNzz.js";
29
29
  import { T as Oe } from "./timeline-DXko0M1t.js";
@@ -2472,4 +2472,4 @@ export {
2472
2472
  da as s,
2473
2473
  ps as u
2474
2474
  };
2475
- //# sourceMappingURL=use-appointment-details-read-BrykoTOR.js.map
2475
+ //# sourceMappingURL=use-appointment-details-read-_b7FRB1x.js.map
@@ -4,7 +4,7 @@ import { useTranslation as Y } from "react-i18next";
4
4
  import { i as ge } from "./isEmail-BfVspSvV.js";
5
5
  import { A as S } from "./alert-C4WKViaS.js";
6
6
  import { B as q } from "./button-DohK_Ak_.js";
7
- import { D } from "./dialog-CIUn5oLb.js";
7
+ import { D } from "./dialog-CVTxyR0v.js";
8
8
  import { F as ee } from "./form-field-CyHfOVKF.js";
9
9
  import { T as oe } from "./text-input-B6iAgCr3.js";
10
10
  import { c as ce } from "./index-D2ZczOXr.js";
@@ -704,4 +704,4 @@ export {
704
704
  de as a,
705
705
  Oe as b
706
706
  };
707
- //# sourceMappingURL=verify-identity-types-D_LdByCp.js.map
707
+ //# sourceMappingURL=verify-identity-types-CxtrBXsZ.js.map
@@ -1,5 +1,5 @@
1
- import { jsx as t, jsxs as l, Fragment as _ } from "react/jsx-runtime";
2
- import { useId as W, useRef as C, useEffect as j, useMemo as I } from "react";
1
+ import { jsx as r, jsxs as i, Fragment as _ } from "react/jsx-runtime";
2
+ import { useId as W, useRef as C, useEffect as j, useMemo as N } from "react";
3
3
  import { useTranslation as R } from "react-i18next";
4
4
  import { u as U } from "./registry-DvAUVLHh.js";
5
5
  import { A as m } from "./alert-C4WKViaS.js";
@@ -13,23 +13,23 @@ const V = /* @__PURE__ */ new Set([
13
13
  "invoicesLoaded",
14
14
  "filesWithErrors"
15
15
  ]);
16
- function L(a) {
16
+ function w(a) {
17
17
  return typeof a == "number" && Number.isFinite(a) && a >= 0;
18
18
  }
19
19
  function B(a, s) {
20
20
  const o = [];
21
- for (const r of $) {
22
- if (s === "invoice" && O.has(r)) continue;
23
- const d = a[r];
24
- if (!L(d)) continue;
21
+ for (const t of $) {
22
+ if (s === "invoice" && O.has(t)) continue;
23
+ const d = a[t];
24
+ if (!w(d)) continue;
25
25
  const n = Math.trunc(d);
26
- n === 0 && V.has(r) || o.push({ key: r, count: n });
26
+ n === 0 && V.has(t) || o.push({ key: t, count: n });
27
27
  }
28
28
  return o;
29
29
  }
30
30
  function Y(a, s, o) {
31
31
  if (a) return a;
32
- const d = (s.filesWithErrors ?? 0) > 0 || o.length > 0, n = L(s.invoicesLoaded) && s.invoicesLoaded >= 1 || L(s.linesLoaded) && s.linesLoaded >= 1;
32
+ const d = (s.filesWithErrors ?? 0) > 0 || o.length > 0, n = w(s.invoicesLoaded) && s.invoicesLoaded >= 1 || w(s.linesLoaded) && s.linesLoaded >= 1;
33
33
  return d ? n ? "partial" : "error" : n ? "success" : "unchanged";
34
34
  }
35
35
  const z = {
@@ -64,7 +64,7 @@ const z = {
64
64
  description: "Each failed file row emits its id as data-file-id."
65
65
  }
66
66
  }
67
- }, N = {
67
+ }, I = {
68
68
  success: "success",
69
69
  partial: "warning",
70
70
  error: "error",
@@ -72,103 +72,112 @@ const z = {
72
72
  }, G = [], S = {
73
73
  filesWithErrors: "destructive"
74
74
  };
75
- function re({
75
+ function te({
76
76
  counts: a,
77
77
  scope: s = "batch",
78
78
  outcome: o,
79
- failedFiles: r = G,
79
+ failedFiles: t = G,
80
80
  headingLevel: d = 2,
81
81
  focusOnMount: n = !0,
82
- actions: f,
82
+ actions: p,
83
83
  variant: E = "full",
84
84
  id: h,
85
- className: b
85
+ className: x
86
86
  }) {
87
- const { t: c, i18n: T } = R("ui"), g = T.language, w = W(), v = C(null);
87
+ const { t: c, i18n: T } = R("ui"), g = T.language, L = W(), v = C(null);
88
88
  j(() => {
89
89
  var e;
90
90
  n && ((e = v.current) == null || e.focus({ preventScroll: !0 }));
91
91
  }, [n]);
92
- const u = I(() => B(a, s), [a, s]), i = Y(o, a, r), A = I(
92
+ const u = N(() => B(a, s), [a, s]), l = Y(o, a, t), A = N(
93
93
  () => ({
94
94
  getCounts: () => Object.fromEntries(u.map((e) => [e.key, e.count])),
95
- getFailedFileIds: () => r.map((e) => e.id)
95
+ getFailedFileIds: () => t.map((e) => e.id)
96
96
  }),
97
- [u, r]
97
+ [u, t]
98
98
  );
99
99
  U(z, A, h);
100
- const y = c(`warehouseLoadSummary.title.${s}.${i}`, {
101
- defaultValue: K[s][i]
102
- }), F = u.filter((e) => e.count > 0).map((e) => D(c, g, e.key, e.count)), p = P(F, g);
103
- return E === "banner" ? /* @__PURE__ */ t(
100
+ const b = c(`warehouseLoadSummary.title.${s}.${l}`, {
101
+ defaultValue: K[s][l]
102
+ }), F = u.filter((e) => e.count > 0).map((e) => D(c, g, e.key, e.count)), f = P(F, g);
103
+ return E === "banner" ? /* @__PURE__ */ r(
104
104
  "div",
105
105
  {
106
106
  "data-component": "warehouse-load-summary",
107
107
  "data-component-id": h,
108
- "data-outcome": i,
108
+ "data-outcome": l,
109
109
  "data-variant": "banner",
110
- className: b,
111
- children: /* @__PURE__ */ t(
110
+ className: x,
111
+ children: /* @__PURE__ */ r(
112
112
  m,
113
113
  {
114
- variant: N[i],
114
+ variant: I[l],
115
115
  announce: n ? "off" : "polite",
116
- children: /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-xs)] ds:gap-y-[var(--spacing-xs)]", children: [
117
- /* @__PURE__ */ t(
118
- m.Title,
119
- {
120
- ref: v,
121
- tabIndex: -1,
122
- className: "ds:outline-none",
123
- as: `h${d}`,
124
- children: y
125
- }
126
- ),
127
- p ? /* @__PURE__ */ l(_, { children: [
128
- /* @__PURE__ */ t("span", { "aria-hidden": "true", children: "·" }),
129
- /* @__PURE__ */ t("p", { className: "type-body-sm ds:m-0", children: p })
130
- ] }) : null,
131
- f ? /* @__PURE__ */ t("div", { className: "ds:ms-auto ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: f }) : null
116
+ children: /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-xs)] ds:gap-y-[var(--spacing-xs)]", children: [
117
+ /* @__PURE__ */ i("div", { className: "ds:min-w-0", children: [
118
+ /* @__PURE__ */ r(
119
+ m.Title,
120
+ {
121
+ ref: v,
122
+ tabIndex: -1,
123
+ className: "ds:inline ds:outline-none",
124
+ as: `h${d}`,
125
+ children: b
126
+ }
127
+ ),
128
+ f ? /* @__PURE__ */ i(_, { children: [
129
+ /* @__PURE__ */ r(
130
+ "span",
131
+ {
132
+ "aria-hidden": "true",
133
+ className: "ds:mx-[var(--spacing-xs)]",
134
+ children: "·"
135
+ }
136
+ ),
137
+ /* @__PURE__ */ r("p", { className: "type-body-sm ds:m-0 ds:inline", children: f })
138
+ ] }) : null
139
+ ] }),
140
+ p ? /* @__PURE__ */ r("div", { className: "ds:ms-auto ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: p }) : null
132
141
  ] })
133
142
  }
134
143
  )
135
144
  }
136
- ) : /* @__PURE__ */ l(
145
+ ) : /* @__PURE__ */ i(
137
146
  "div",
138
147
  {
139
148
  "data-component": "warehouse-load-summary",
140
149
  "data-component-id": h,
141
- "data-outcome": i,
142
- className: ["ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", b].filter(Boolean).join(" "),
150
+ "data-outcome": l,
151
+ className: ["ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", x].filter(Boolean).join(" "),
143
152
  children: [
144
- /* @__PURE__ */ l(
153
+ /* @__PURE__ */ i(
145
154
  m,
146
155
  {
147
- variant: N[i],
156
+ variant: I[l],
148
157
  announce: n ? "off" : "polite",
149
158
  children: [
150
- /* @__PURE__ */ t(
159
+ /* @__PURE__ */ r(
151
160
  m.Title,
152
161
  {
153
162
  ref: v,
154
163
  tabIndex: -1,
155
164
  className: "ds:outline-none",
156
165
  as: `h${d}`,
157
- children: y
166
+ children: b
158
167
  }
159
168
  ),
160
- p ? /* @__PURE__ */ t(m.Description, { children: p }) : null
169
+ f ? /* @__PURE__ */ r(m.Description, { children: f }) : null
161
170
  ]
162
171
  }
163
172
  ),
164
- u.length > 0 ? /* @__PURE__ */ t(
173
+ u.length > 0 ? /* @__PURE__ */ r(
165
174
  H,
166
175
  {
167
176
  "aria-label": c("warehouseLoadSummary.counts", {
168
177
  defaultValue: "Load counts"
169
178
  }),
170
179
  maxColumns: 4,
171
- children: u.map(({ key: e, count: x }) => /* @__PURE__ */ t(
180
+ children: u.map(({ key: e, count: y }) => /* @__PURE__ */ r(
172
181
  k,
173
182
  {
174
183
  variant: "outlined",
@@ -176,43 +185,43 @@ function re({
176
185
  label: c(`warehouseLoadSummary.stat.${e}`, {
177
186
  defaultValue: M[e]
178
187
  }),
179
- value: x,
188
+ value: y,
180
189
  locale: g,
181
- intent: x > 0 && e in S ? S[e] : "foreground"
190
+ intent: y > 0 && e in S ? S[e] : "foreground"
182
191
  },
183
192
  e
184
193
  ))
185
194
  }
186
195
  ) : null,
187
- r.length > 0 ? /* @__PURE__ */ l(
196
+ t.length > 0 ? /* @__PURE__ */ i(
188
197
  "div",
189
198
  {
190
199
  role: "group",
191
- "aria-labelledby": w,
200
+ "aria-labelledby": L,
192
201
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
193
202
  children: [
194
- /* @__PURE__ */ t(
203
+ /* @__PURE__ */ r(
195
204
  Z,
196
205
  {
197
206
  as: `h${Math.min(d + 1, 6)}`,
198
- id: w,
207
+ id: L,
199
208
  children: c("warehouseLoadSummary.failedFiles", {
200
209
  defaultValue: "Files that could not be loaded"
201
210
  })
202
211
  }
203
212
  ),
204
- /* @__PURE__ */ t(
213
+ /* @__PURE__ */ r(
205
214
  "ul",
206
215
  {
207
216
  role: "list",
208
217
  className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-xs)] ds:p-0",
209
- children: r.map((e) => /* @__PURE__ */ l(
218
+ children: t.map((e) => /* @__PURE__ */ i(
210
219
  "li",
211
220
  {
212
221
  "data-file-id": e.id,
213
222
  className: "ds:flex ds:flex-col ds:break-words ds:border-s-[length:var(--border-width-md)] ds:border-s-[color:var(--destructive)] ds:ps-[var(--spacing-sm)]",
214
223
  children: [
215
- /* @__PURE__ */ t(
224
+ /* @__PURE__ */ r(
216
225
  "span",
217
226
  {
218
227
  dir: "auto",
@@ -220,7 +229,7 @@ function re({
220
229
  children: e.fileName
221
230
  }
222
231
  ),
223
- /* @__PURE__ */ t(
232
+ /* @__PURE__ */ r(
224
233
  "span",
225
234
  {
226
235
  dir: "auto",
@@ -237,7 +246,7 @@ function re({
237
246
  ]
238
247
  }
239
248
  ) : null,
240
- f ? /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: f }) : null
249
+ p ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:justify-end ds:gap-[var(--spacing-sm)]", children: p }) : null
241
250
  ]
242
251
  }
243
252
  );
@@ -280,10 +289,10 @@ function Z({
280
289
  id: s,
281
290
  children: o
282
291
  }) {
283
- return /* @__PURE__ */ t(a, { id: s, className: "type-label ds:m-0 ds:text-[var(--foreground)]", children: o });
292
+ return /* @__PURE__ */ r(a, { id: s, className: "type-label ds:m-0 ds:text-[var(--foreground)]", children: o });
284
293
  }
285
294
  export {
286
- re as W,
295
+ te as W,
287
296
  z as w
288
297
  };
289
- //# sourceMappingURL=warehouse-load-summary-DkAKXcw0.js.map
298
+ //# sourceMappingURL=warehouse-load-summary-CMMYzTDv.js.map
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
2
  import { forwardRef as _, useState as p, useEffect as N, useMemo as v, useCallback as j, useImperativeHandle as B } from "react";
3
3
  import { c as C } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as H } from "react-i18next";
5
- import { D as u } from "./dialog-CIUn5oLb.js";
5
+ import { D as u } from "./dialog-CVTxyR0v.js";
6
6
  import { S as A } from "./state-backed-text-input-DVETOhSS.js";
7
7
  import { B as I } from "./badge-BUk4RjTS.js";
8
8
  import { u as D } from "./registry-DvAUVLHh.js";
@@ -213,4 +213,4 @@ export {
213
213
  E as W,
214
214
  K as w
215
215
  };
216
- //# sourceMappingURL=widget-picker-DrxJjEkv.js.map
216
+ //# sourceMappingURL=widget-picker-D3T7e8a4.js.map
@@ -15,7 +15,7 @@ import { C as Ce } from "./circle-j7oZoouK.js";
15
15
  import { u as _e } from "./registry-DvAUVLHh.js";
16
16
  import { A as V } from "./alert-C4WKViaS.js";
17
17
  import { B as Se } from "./button-DohK_Ak_.js";
18
- import { D as N } from "./dropdown-menu-Dw6sgQwJ.js";
18
+ import { D as N } from "./dropdown-menu-DBWaW4pq.js";
19
19
  import { E } from "./empty-state-DwJ5YNzz.js";
20
20
  import { P as ne } from "./plus-DzMQ_c6b.js";
21
21
  import { G as ie } from "./globe-sHBW1JN5.js";
@@ -1321,4 +1321,4 @@ export {
1321
1321
  ee as r,
1322
1322
  D as w
1323
1323
  };
1324
- //# sourceMappingURL=workflow-map-DCjkRuS_.js.map
1324
+ //# sourceMappingURL=workflow-map-DaZFP9SJ.js.map
@@ -7,7 +7,7 @@ import { u as Ce } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as Ne } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
8
8
  import { g as ze, h as We } from "./handled-rejection-6gqCf5vt.js";
9
9
  import { a as B } from "./input-surface-BMffm2Vd.js";
10
- import { D as p } from "./dropdown-menu-Dw6sgQwJ.js";
10
+ import { D as p } from "./dropdown-menu-DBWaW4pq.js";
11
11
  import { C as U } from "./circle-alert-rGDZ73Wh.js";
12
12
  import { L as je } from "./loader-circle-BECIU_8N.js";
13
13
  import { C as Te } from "./chevron-down-DWE7GSq9.js";
@@ -516,4 +516,4 @@ export {
516
516
  Oe as a,
517
517
  _e as w
518
518
  };
519
- //# sourceMappingURL=workflow-status-D0avpoeS.js.map
519
+ //# sourceMappingURL=workflow-status-D1WgGVTP.js.map
@@ -14,7 +14,7 @@ import { F as _t } from "./field-array-CA-gn526.js";
14
14
  import { F as J } from "./form-field-CyHfOVKF.js";
15
15
  import { P as $t } from "./password-input-SJGHFdOO.js";
16
16
  import { T as ue } from "./text-input-B6iAgCr3.js";
17
- import { T as Xt } from "./token-insert-menu-BrK5NQIq.js";
17
+ import { T as Xt } from "./token-insert-menu-BLtfMTJd.js";
18
18
  import { u as Ue } from "./use-copy-to-clipboard-Cyfc_dlv.js";
19
19
  import { u as Kt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
20
20
  import { C as Je } from "./check-DrFSN__t.js";
@@ -784,4 +784,4 @@ export {
784
784
  To as W,
785
785
  ao as a
786
786
  };
787
- //# sourceMappingURL=workflow-webhook-action-Cae02r_4.js.map
787
+ //# sourceMappingURL=workflow-webhook-action-BsGSh3h9.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.130.1",
3
+ "packageVersion": "1.131.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1179,20 +1179,20 @@
1179
1179
  "state": [
1180
1180
  {
1181
1181
  "name": "lines",
1182
- "type": "Array<{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }>",
1183
- "description": "Every invoice line in invoice order, with what Confirm will do with it. matchState is one of matched, newItem, itemToUpdate (a matched line whose price, VAT or discount will change; counted inside matchedCount), skip or alreadyLoaded. Quantities are exact decimal text as shown, unsigned; there are no descriptions or names.",
1182
+ "type": "Array<{ id, invoiceId, sourceLineId, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }>",
1183
+ "description": "Every invoice line in invoice order, with what Confirm will do with it. matchState is one of matched, newItem, itemToUpdate (a matched line whose price, VAT or discount will change; counted inside matchedCount), skip or alreadyLoaded. Quantities are exact decimal text as shown, unsigned; there are no descriptions or names. With several invoices (the invoices prop) id is the row key built from invoiceId and the line id, invoiceId names the invoice and sourceLineId is the host's own line id; every lineId argument below is a row key.",
1184
1184
  "descriptionKey": "ui.agent.billLineTable.state.lines"
1185
1185
  },
1186
1186
  {
1187
1187
  "name": "selection",
1188
1188
  "type": "string[]",
1189
- "description": "Ids of the ticked lines: the lines Confirm will load.",
1189
+ "description": "Ids (row keys with several invoices) of the ticked lines: the lines Confirm will load.",
1190
1190
  "descriptionKey": "ui.agent.billLineTable.state.selection"
1191
1191
  },
1192
1192
  {
1193
1193
  "name": "summary",
1194
- "type": "{ lineCount, selectedCount, matchedCount, newItemCount, itemUpdateCount, skippedCount, alreadyLoadedCount, warningLineCount, invoiceLoaded, invalidCount, net, vat, gross, canConfirm, dirty }",
1195
- "description": "Counts and totals of the ticked lines. net, vat and gross are exact decimal text with 2 places (\"14.58\"). canConfirm is false while no line is ticked, a ticked line cannot load, or the invoice is already loaded (invoiceLoaded).",
1194
+ "type": "{ lineCount, invoiceCount, selectedInvoiceCount, selectedCount, matchedCount, newItemCount, itemUpdateCount, skippedCount, alreadyLoadedCount, warningLineCount, invoiceLoaded, invalidCount, net, vat, gross, canConfirm, dirty }",
1195
+ "description": "Counts and totals of the ticked lines. net, vat and gross are exact decimal text with 2 places (\"14.58\"). canConfirm is false while no line is ticked, a ticked line cannot load, or every invoice is already loaded (invoiceLoaded). With several invoices the counts cover the invoices still open, and a credit note counts against net, vat and gross.",
1196
1196
  "descriptionKey": "ui.agent.billLineTable.state.summary"
1197
1197
  },
1198
1198
  {
@@ -1297,7 +1297,7 @@
1297
1297
  ],
1298
1298
  "additionalProperties": false
1299
1299
  },
1300
- "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1300
+ "returns": "{ id, invoiceId, sourceLineId, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1301
1301
  "idempotent": true,
1302
1302
  "errors": [
1303
1303
  "UNKNOWN_LINE",
@@ -1345,7 +1345,7 @@
1345
1345
  ],
1346
1346
  "additionalProperties": false
1347
1347
  },
1348
- "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1348
+ "returns": "{ id, invoiceId, sourceLineId, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1349
1349
  "idempotent": true,
1350
1350
  "errors": [
1351
1351
  "UNKNOWN_LINE",
@@ -1378,7 +1378,7 @@
1378
1378
  ],
1379
1379
  "additionalProperties": false
1380
1380
  },
1381
- "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1381
+ "returns": "{ id, invoiceId, sourceLineId, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1382
1382
  "idempotent": true,
1383
1383
  "errors": [
1384
1384
  "UNKNOWN_LINE",
@@ -1436,7 +1436,7 @@
1436
1436
  "item": {
1437
1437
  "attr": "data-row-id",
1438
1438
  "sourceProp": "lines[].id",
1439
- "description": "BillLine.id on each body row (written by DataGrid). The only line datum in the DOM."
1439
+ "description": "BillLine.id on each body row (written by DataGrid), or the row key with several invoices. The only line datum in the DOM."
1440
1440
  }
1441
1441
  }
1442
1442
  },
@@ -128,9 +128,9 @@
128
128
  },
129
129
  "billLineTable": {
130
130
  "state": {
131
- "lines": "Every invoice line in invoice order, with what Confirm will do with it. matchState is one of matched, newItem, itemToUpdate (a matched line whose price, VAT or discount will change; counted inside matchedCount), skip or alreadyLoaded. Quantities are exact decimal text as shown, unsigned; there are no descriptions or names.",
132
- "selection": "Ids of the ticked lines: the lines Confirm will load.",
133
- "summary": "Counts and totals of the ticked lines. net, vat and gross are exact decimal text with 2 places (\"14.58\"). canConfirm is false while no line is ticked, a ticked line cannot load, or the invoice is already loaded (invoiceLoaded).",
131
+ "lines": "Every invoice line in invoice order, with what Confirm will do with it. matchState is one of matched, newItem, itemToUpdate (a matched line whose price, VAT or discount will change; counted inside matchedCount), skip or alreadyLoaded. Quantities are exact decimal text as shown, unsigned; there are no descriptions or names. With several invoices (the invoices prop) id is the row key built from invoiceId and the line id, invoiceId names the invoice and sourceLineId is the host's own line id; every lineId argument below is a row key.",
132
+ "selection": "Ids (row keys with several invoices) of the ticked lines: the lines Confirm will load.",
133
+ "summary": "Counts and totals of the ticked lines. net, vat and gross are exact decimal text with 2 places (\"14.58\"). canConfirm is false while no line is ticked, a ticked line cannot load, or every invoice is already loaded (invoiceLoaded). With several invoices the counts cover the invoices still open, and a credit note counts against net, vat and gross.",
134
134
  "invalidLineIds": "Ticked lines that cannot load as they are: an empty or zero quantity, an item no longer in the warehouse, or an error from the server."
135
135
  },
136
136
  "actions": {