@alfadocs/ui-kit 1.115.0 → 1.117.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 (339) hide show
  1. package/dist/_chunks/accessible-target-D3j6F-AG.js +7 -0
  2. package/dist/_chunks/{actions-cell-renderer-bI27uXXC.js → actions-cell-renderer-DTaIQKp9.js} +3 -3
  3. package/dist/_chunks/{address-autocomplete-DC-H-MZw.js → address-autocomplete-Bnc9ieKO.js} +2 -2
  4. package/dist/_chunks/{address-fields-D5Ije0S2.js → address-fields-RIaGnpnm.js} +4 -4
  5. package/dist/_chunks/{anamnesis-card-Ddnrdfx3.js → anamnesis-card-sUFT0dpF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-summary-card-S1H_AARG.js → anamnesis-summary-card-BtFPpegp.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-BZ36ULQk.js → anamnesis-summary-rows-BbAREK-3.js} +7 -7
  8. package/dist/_chunks/{antenatal-schedule-timeline-va9zx7tJ.js → antenatal-schedule-timeline-86YVlMYJ.js} +2 -2
  9. package/dist/_chunks/{appointment-card-D_-aBrx5.js → appointment-card-0PebvrOS.js} +3 -3
  10. package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-DdUhqfEi.js} +2 -2
  11. package/dist/_chunks/{appointment-timeline-DxLu3afn.js → appointment-timeline-CC7nmBOH.js} +3 -3
  12. package/dist/_chunks/{appointment-tray-BhXOJpIJ.js → appointment-tray-B04zKY7g.js} +2 -2
  13. package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
  14. package/dist/_chunks/{balance-badge-cell-CXHihM22.js → balance-badge-cell-DPjab0eJ.js} +6 -6
  15. package/dist/_chunks/bill-line-table-vCnVo7_a.js +1565 -0
  16. package/dist/_chunks/{bishop-score-QJu-sM1y.js → bishop-score-CKztphVz.js} +2 -2
  17. package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-rri5vvMt.js} +3 -3
  18. package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-B2MJo0Se.js} +2 -2
  19. package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
  20. package/dist/_chunks/{calendar-appointment-editor-dialog-BVzFi4hH.js → calendar-appointment-editor-dialog-BEmBcb61.js} +18 -18
  21. package/dist/_chunks/{card-DVO3x8E-.js → card-n6W6LW-N.js} +78 -47
  22. package/dist/_chunks/{care-plan-card-BA3MfdfZ.js → care-plan-card-bGTIliXc.js} +3 -3
  23. package/dist/_chunks/{care-plan-entry-card-CUtFZ813.js → care-plan-entry-card-cdojypxu.js} +3 -3
  24. package/dist/_chunks/{chart-DebrFZ6L.js → chart-Aue_2dMb.js} +2 -2
  25. package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
  26. package/dist/_chunks/{clinical-note-card-Zz5_GEz-.js → clinical-note-card-DHn5W_bv.js} +2 -2
  27. package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
  28. package/dist/_chunks/{compact-editor-fields-cP6yh7xv.js → compact-editor-fields-6sTWRLtf.js} +3 -3
  29. package/dist/_chunks/{connection-status-DjarASoU.js → connection-status-DWClakYw.js} +2 -2
  30. package/dist/_chunks/{contact-card-Cv-Nwvac.js → contact-card-CGpbYuxl.js} +2 -2
  31. package/dist/_chunks/{contact-profile-card-DMXWBBkU.js → contact-profile-card-BubJPyRB.js} +3 -3
  32. package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
  33. package/dist/_chunks/{cycle-calculator-C68V9rdH.js → cycle-calculator-C8nWAeTk.js} +3 -3
  34. package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-CaxgaEgI.js} +2 -2
  35. package/dist/_chunks/{toolbar-Bc3pjfG5.js → data-grid-DiBSbN2Y.js} +3017 -3106
  36. package/dist/_chunks/{data-grid-tabs-CsLbIv0h.js → data-grid-tabs-D9Y4DeeH.js} +2 -2
  37. package/dist/_chunks/{data-table-DXaE2Ret.js → data-table-DhYx-hCD.js} +101 -100
  38. package/dist/_chunks/{date-range-panel-CBFfkgmz.js → date-range-panel-CT6nXjRM.js} +7 -7
  39. package/dist/_chunks/default-tabs-CD285u0C.js +2250 -0
  40. package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
  41. package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-BWDTCEHI.js} +3 -3
  42. package/dist/_chunks/dropdown-menu-Dw6sgQwJ.js +679 -0
  43. package/dist/_chunks/{due-date-calculator-C1UA5jpS.js → due-date-calculator-c1NJPw9F.js} +4 -4
  44. package/dist/_chunks/{editable-currency-cell-renderer-CtlMhLai.js → editable-currency-cell-renderer-BlK-8A7b.js} +2 -2
  45. package/dist/_chunks/{entity-summary-DGCBQDt1.js → entity-summary-BanguTa6.js} +2 -2
  46. package/dist/_chunks/export-files-BByoK9Cg.js +248 -0
  47. package/dist/_chunks/{face-scheme-DkoxiDCh.js → face-scheme-Bt07zQJU.js} +20 -19
  48. package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-D0KofJJw.js} +3 -3
  49. package/dist/_chunks/{file-manager-DFFExyym.js → file-manager-CV1_GtjC.js} +5 -5
  50. package/dist/_chunks/{finished-terminal-BKTFUk3S.js → finished-terminal-FR8uc_Ws.js} +2 -2
  51. package/dist/_chunks/{forgot-password-form-Bc_UPax6.js → forgot-password-form-YvI9vX-G.js} +2 -2
  52. package/dist/_chunks/format-price-CIX0YJZn.js +179 -0
  53. package/dist/_chunks/{gestational-age-calculator-60y1RyQL.js → gestational-age-calculator-Cg4Gq42R.js} +3 -3
  54. package/dist/_chunks/{grid-context-AwsLJRhH.js → grid-context-jn9y8tNE.js} +4 -4
  55. package/dist/_chunks/{hcg-doubling-CC-dbKE8.js → hcg-doubling-BjTa_77t.js} +3 -3
  56. package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DsvheAOt.js} +160 -147
  57. package/dist/_chunks/{heatmap-eXdtmEoU.js → heatmap-BurtKmeu.js} +3 -3
  58. package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
  59. package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
  60. package/dist/_chunks/{icon-button-group-C9mPK-bX.js → icon-button-group-BKtkVZ1W.js} +2 -2
  61. package/dist/_chunks/{kit-extensions-CzG0RmhQ.js → kit-extensions-C3oL0WTp.js} +7 -7
  62. package/dist/_chunks/{link-cell-renderer-Ditt5mvT.js → link-cell-renderer-NFNGdAGt.js} +4 -4
  63. package/dist/_chunks/{login-dev-card-CPndtWdz.js → login-dev-card-Dz3ezx1o.js} +2 -2
  64. package/dist/_chunks/map-view-Frj8vE7n.js +1105 -0
  65. package/dist/_chunks/{maps-core-gate-DkNqGkm3.js → maps-core-gate-Dgs7jXxy.js} +6 -6
  66. package/dist/_chunks/{marketplace-app-shell-CcEHJgDd.js → marketplace-app-shell-BOBWmzoT.js} +6 -6
  67. package/dist/_chunks/money-OE6_oDPH.js +138 -0
  68. package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-C9dnSxzw.js} +2 -2
  69. package/dist/_chunks/{notes-panel-BVYG_MJE.js → notes-panel-CHR-Jv6N.js} +5 -5
  70. package/dist/_chunks/{notification-card-CPW4poUr.js → notification-card-DRMv2_pW.js} +20 -20
  71. package/dist/_chunks/{notification-tray-CQK3lw87.js → notification-tray-mlCfxNRH.js} +2 -2
  72. package/dist/_chunks/number-input-DUSvP7Dq.js +625 -0
  73. package/dist/_chunks/{operator-hero-BWayX73x.js → operator-hero-CnfWckNQ.js} +2 -2
  74. package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
  75. package/dist/_chunks/parts-CcyRkB8t.js +869 -0
  76. package/dist/_chunks/{patient-details-DlT-vpSe.js → patient-details-C4dHR4iu.js} +3 -3
  77. package/dist/_chunks/{patient-field-row-B54uzvu-.js → patient-field-row-0QP8KCVp.js} +5 -5
  78. package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-D_S7joff.js} +3 -3
  79. package/dist/_chunks/{patient-summary-card-Dy9-CzON.js → patient-summary-card-x0-AhCyC.js} +4 -4
  80. package/dist/_chunks/{payment-automation-upsell-D7yaD4u1.js → payment-automation-upsell-CGdG2Mwk.js} +2 -2
  81. package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-CEIalOtr.js} +15 -14
  82. package/dist/_chunks/{periodontal-chart-Bjz7O4wT.js → periodontal-chart-DqHrQY4e.js} +2 -2
  83. package/dist/_chunks/{periodontal-chart-card-CxEXHl2x.js → periodontal-chart-card-q9WSHRC2.js} +2 -2
  84. package/dist/_chunks/{periodontal-diagnosis-DnZuZD14.js → periodontal-diagnosis-CJPWluQU.js} +2 -2
  85. package/dist/_chunks/{periodontal-risk-chart-BBPB9wf1.js → periodontal-risk-chart-CKkyOROk.js} +2 -2
  86. package/dist/_chunks/{practice-profile-hero-Cw4NZp0A.js → practice-profile-hero-BFS6lO2a.js} +2 -2
  87. package/dist/_chunks/{practice-results-BlxfBx-D.js → practice-results-CzHWprX4.js} +922 -787
  88. package/dist/_chunks/{pregnancy-dating-qZpw3zj8.js → pregnancy-dating-BO6diQMZ.js} +4 -4
  89. package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-DkGcEc_l.js} +3 -3
  90. package/dist/_chunks/{privacy-mask-BlJK51MD.js → privacy-mask-DJ1gee4c.js} +2 -2
  91. package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
  92. package/dist/_chunks/{radiograph-panel.agent-C1LGeX-G.js → radiograph-panel.agent-9jwXlOXB.js} +2 -2
  93. package/dist/_chunks/{registration-form-DW-0X7S4.js → registration-form-CMXefBnC.js} +2 -2
  94. package/dist/_chunks/{reserved.agent-6p3Hm4oH.js → reserved.agent-TaZfI3yj.js} +5 -5
  95. package/dist/_chunks/{reset-password-form-C93SH0Tx.js → reset-password-form-D_TePSM1.js} +2 -2
  96. package/dist/_chunks/{reviews-panel-CfJPEkH7.js → reviews-panel-CdHUSndF.js} +2 -2
  97. package/dist/_chunks/{rich-text-editor-efaMWbYz.js → rich-text-editor-CMPA5Wgy.js} +12 -11
  98. package/dist/_chunks/row-actions-Dpf9CrCP.js +213 -0
  99. package/dist/_chunks/{section-card-DFr2wGal.js → section-card-CYfeQ6EQ.js} +2 -2
  100. package/dist/_chunks/{send-registration-link-form-DWxWa_cJ.js → send-registration-link-form-DuZQuKnI.js} +2 -2
  101. package/dist/_chunks/{signature-request-BnTihryS.js → signature-request-Dzs0jZsd.js} +3 -3
  102. package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-CF8R38Og.js} +2 -2
  103. package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-P4qFmxk5.js} +2 -2
  104. package/dist/_chunks/{task-editor-CSa6vQ9r.js → task-editor-WdDCqbIL.js} +168 -178
  105. package/dist/_chunks/{tasks-panel-CVjY1d7Q.js → tasks-panel-DBSm3WjK.js} +2 -2
  106. package/dist/_chunks/{theme-toggle-CObX2Ffa.js → theme-toggle-CeKl8f_f.js} +3 -3
  107. package/dist/_chunks/{timeline-AMqE-c2T.js → timeline-DXko0M1t.js} +2 -2
  108. package/dist/_chunks/{token-insert-menu-Dl3x2ekR.js → token-insert-menu-BrK5NQIq.js} +2 -2
  109. package/dist/_chunks/toolbar-z8vXnpXz.js +159 -0
  110. package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-DHRxV2sE.js} +2 -2
  111. package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
  112. package/dist/_chunks/{treatment-receipt-BydbojdD.js → treatment-receipt-1VnuinhY.js} +2 -2
  113. package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
  114. package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
  115. package/dist/_chunks/{use-appointment-details-read-BMAiQYo6.js → use-appointment-details-read-B-SXnszJ.js} +10 -10
  116. package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
  117. package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
  118. package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-DCjkRuS_.js} +3 -3
  119. package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-D0avpoeS.js} +2 -2
  120. package/dist/_chunks/{workflow-webhook-action-DNSe65yd.js → workflow-webhook-action-dgUjv9T7.js} +3 -3
  121. package/dist/agent-catalog.json +1080 -1
  122. package/dist/agent-i18n/en.json +50 -0
  123. package/dist/browser-support.js +2 -0
  124. package/dist/components/_shared/accessible-target.d.ts +19 -0
  125. package/dist/components/_shared/decimal.d.ts +171 -0
  126. package/dist/components/_shared/focus-visible.d.ts +8 -0
  127. package/dist/components/_shared/format-price.d.ts +54 -2
  128. package/dist/components/address-autocomplete/index.js +1 -1
  129. package/dist/components/address-fields/index.js +1 -1
  130. package/dist/components/anamnesis-card/index.js +1 -1
  131. package/dist/components/anamnesis-summary-card/index.js +1 -1
  132. package/dist/components/appointment-card/index.js +2 -2
  133. package/dist/components/appointment-details-panel/index.js +1 -1
  134. package/dist/components/appointment-peek/index.js +1 -1
  135. package/dist/components/appointment-timeline/index.js +1 -1
  136. package/dist/components/bill-line-table/bill-line-table.agent.d.ts +4 -0
  137. package/dist/components/bill-line-table/bill-line-table.columns.d.ts +49 -0
  138. package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
  139. package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
  140. package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
  141. package/dist/components/bill-line-table/bill-line-table.variants.d.ts +36 -0
  142. package/dist/components/bill-line-table/index.d.ts +6 -0
  143. package/dist/components/bill-line-table/index.js +23 -0
  144. package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
  145. package/dist/components/bill-table/bill-table.d.ts +13 -0
  146. package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
  147. package/dist/components/bill-table/cells.d.ts +89 -0
  148. package/dist/components/bill-table/columns.d.ts +21 -0
  149. package/dist/components/bill-table/default-tabs.d.ts +21 -0
  150. package/dist/components/bill-table/handle.d.ts +19 -0
  151. package/dist/components/bill-table/index.d.ts +7 -0
  152. package/dist/components/bill-table/index.js +19 -0
  153. package/dist/components/bill-table/model.d.ts +103 -0
  154. package/dist/components/bill-table/row-actions.d.ts +27 -0
  155. package/dist/components/bill-table/status-maps.d.ts +225 -0
  156. package/dist/components/bill-table/types.d.ts +542 -0
  157. package/dist/components/bishop-score/index.js +1 -1
  158. package/dist/components/bmi-calculator/index.js +1 -1
  159. package/dist/components/booking/index.js +1 -1
  160. package/dist/components/button-group/index.js +1 -1
  161. package/dist/components/calculator-dialog/index.js +1 -1
  162. package/dist/components/card/card.d.ts +9 -2
  163. package/dist/components/card/index.js +1 -1
  164. package/dist/components/care-plan-card/index.js +1 -1
  165. package/dist/components/care-plan-entry-card/index.js +1 -1
  166. package/dist/components/chart/index.js +1 -1
  167. package/dist/components/clinical-note-card/index.js +1 -1
  168. package/dist/components/combobox/combobox.d.ts +59 -1
  169. package/dist/components/combobox/index.d.ts +1 -1
  170. package/dist/components/combobox/index.js +1 -1
  171. package/dist/components/connection-status/index.js +1 -1
  172. package/dist/components/contact-card/index.js +1 -1
  173. package/dist/components/contact-profile-card/index.js +1 -1
  174. package/dist/components/country-select/index.js +1 -1
  175. package/dist/components/cycle-calculator/index.js +1 -1
  176. package/dist/components/dashboard-grid/index.js +1 -1
  177. package/dist/components/data-grid/body.d.ts +6 -0
  178. package/dist/components/data-grid/data-grid.variants.d.ts +1 -9
  179. package/dist/components/data-grid/editors.d.ts +7 -1
  180. package/dist/components/data-grid/index.js +9 -8
  181. package/dist/components/data-grid/selection.d.ts +10 -0
  182. package/dist/components/data-grid/types.d.ts +61 -11
  183. package/dist/components/data-grid-tabs/index.js +1 -1
  184. package/dist/components/data-table/index.js +4 -4
  185. package/dist/components/dialog/focus-return.d.ts +12 -0
  186. package/dist/components/dialog/index.js +1 -1
  187. package/dist/components/document-preview/index.js +1 -1
  188. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
  189. package/dist/components/dropdown-menu/index.js +1 -1
  190. package/dist/components/due-date-calculator/index.js +2 -2
  191. package/dist/components/entity-summary/index.js +1 -1
  192. package/dist/components/face-scheme/index.js +1 -1
  193. package/dist/components/fetal-weight/index.js +1 -1
  194. package/dist/components/file-manager/index.js +1 -1
  195. package/dist/components/finished-terminal/index.js +1 -1
  196. package/dist/components/gestational-age-calculator/index.js +1 -1
  197. package/dist/components/hcg-doubling/index.js +1 -1
  198. package/dist/components/header-settings/header-settings.d.ts +7 -3
  199. package/dist/components/header-settings/index.js +1 -1
  200. package/dist/components/heatmap/index.js +1 -1
  201. package/dist/components/icon-button-group/index.js +1 -1
  202. package/dist/components/index.d.ts +6 -0
  203. package/dist/components/map-view/index.d.ts +1 -1
  204. package/dist/components/map-view/index.js +1 -1
  205. package/dist/components/map-view/map-view.d.ts +48 -0
  206. package/dist/components/money/index.js +1 -1
  207. package/dist/components/money/money.d.ts +39 -6
  208. package/dist/components/muscle-scheme/index.js +1 -1
  209. package/dist/components/notes-panel/index.js +1 -1
  210. package/dist/components/notification-card/index.js +1 -1
  211. package/dist/components/notification-card/notification-card.d.ts +2 -1
  212. package/dist/components/notification-tray/index.js +1 -1
  213. package/dist/components/number-input/index.d.ts +2 -2
  214. package/dist/components/number-input/index.js +1 -1
  215. package/dist/components/number-input/number-input.d.ts +43 -2
  216. package/dist/components/number-input/use-locale-number.d.ts +67 -3
  217. package/dist/components/operator-hero/index.js +1 -1
  218. package/dist/components/optical-prescription/index.js +1 -1
  219. package/dist/components/patient-details/index.js +1 -1
  220. package/dist/components/patient-search/index.js +1 -1
  221. package/dist/components/patient-summary-card/index.js +1 -1
  222. package/dist/components/patient-table/index.js +1 -1
  223. package/dist/components/payment-card/index.js +1 -1
  224. package/dist/components/periodontal-chart/index.js +1 -1
  225. package/dist/components/periodontal-chart-card/index.js +1 -1
  226. package/dist/components/periodontal-diagnosis/index.js +1 -1
  227. package/dist/components/periodontal-risk-chart/index.js +1 -1
  228. package/dist/components/practice-profile-hero/index.js +1 -1
  229. package/dist/components/practice-results/index.js +1 -1
  230. package/dist/components/practice-results/practice-results.d.ts +20 -0
  231. package/dist/components/pregnancy-dating/index.js +1 -1
  232. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  233. package/dist/components/province-select/index.js +1 -1
  234. package/dist/components/radiograph-panel/index.js +1 -1
  235. package/dist/components/reviews-panel/index.js +1 -1
  236. package/dist/components/rich-text-editor/index.js +2 -2
  237. package/dist/components/row-actions/index.d.ts +3 -0
  238. package/dist/components/row-actions/index.js +5 -0
  239. package/dist/components/row-actions/row-actions.d.ts +63 -0
  240. package/dist/components/section-card/index.js +1 -1
  241. package/dist/components/skeleton-scheme/index.js +1 -1
  242. package/dist/components/smart-date/smart-date.d.ts +1 -1
  243. package/dist/components/tab-bar/index.js +1 -1
  244. package/dist/components/tabs/index.js +1 -1
  245. package/dist/components/task-editor/index.js +1 -1
  246. package/dist/components/tasks-panel/index.js +1 -1
  247. package/dist/components/theme-toggle/index.js +1 -1
  248. package/dist/components/timeline/index.js +1 -1
  249. package/dist/components/token-insert-menu/index.js +1 -1
  250. package/dist/components/tooth-scheme/index.js +1 -1
  251. package/dist/components/transaction-chip/index.js +1 -1
  252. package/dist/components/transaction-chip/transaction-chip.d.ts +1 -1
  253. package/dist/components/treatment-receipt/index.js +1 -1
  254. package/dist/components/unit-converter/index.js +1 -1
  255. package/dist/components/widget-picker/index.js +1 -1
  256. package/dist/components/workflow/index.js +1 -1
  257. package/dist/components/workflow-status/index.js +1 -1
  258. package/dist/core.css +1 -1
  259. package/dist/decimal/index.js +149 -0
  260. package/dist/host-compat.css +7 -1
  261. package/dist/i18n/locales/ar.d.ts +262 -0
  262. package/dist/i18n/locales/ar.js +263 -1
  263. package/dist/i18n/locales/de.d.ts +262 -0
  264. package/dist/i18n/locales/de.js +263 -1
  265. package/dist/i18n/locales/el.d.ts +262 -0
  266. package/dist/i18n/locales/el.js +263 -1
  267. package/dist/i18n/locales/en.d.ts +262 -0
  268. package/dist/i18n/locales/en.js +263 -1
  269. package/dist/i18n/locales/es.d.ts +262 -0
  270. package/dist/i18n/locales/es.js +263 -1
  271. package/dist/i18n/locales/fr.d.ts +262 -0
  272. package/dist/i18n/locales/fr.js +263 -1
  273. package/dist/i18n/locales/hi.d.ts +262 -0
  274. package/dist/i18n/locales/hi.js +263 -1
  275. package/dist/i18n/locales/it.d.ts +262 -0
  276. package/dist/i18n/locales/it.js +263 -1
  277. package/dist/i18n/locales/ja.d.ts +262 -0
  278. package/dist/i18n/locales/ja.js +263 -1
  279. package/dist/i18n/locales/nl.d.ts +262 -0
  280. package/dist/i18n/locales/nl.js +263 -1
  281. package/dist/i18n/locales/pl.d.ts +262 -0
  282. package/dist/i18n/locales/pl.js +263 -1
  283. package/dist/i18n/locales/pt.d.ts +262 -0
  284. package/dist/i18n/locales/pt.js +263 -1
  285. package/dist/i18n/locales/ro.d.ts +262 -0
  286. package/dist/i18n/locales/ro.js +263 -1
  287. package/dist/i18n/locales/ru.d.ts +262 -0
  288. package/dist/i18n/locales/ru.js +263 -1
  289. package/dist/i18n/locales/sq.d.ts +262 -0
  290. package/dist/i18n/locales/sq.js +263 -1
  291. package/dist/i18n/locales/sv.d.ts +262 -0
  292. package/dist/i18n/locales/sv.js +263 -1
  293. package/dist/i18n/locales/tr.d.ts +262 -0
  294. package/dist/i18n/locales/tr.js +263 -1
  295. package/dist/i18n/locales/zh.d.ts +262 -0
  296. package/dist/i18n/locales/zh.js +263 -1
  297. package/dist/index.js +1298 -1246
  298. package/dist/locales/ar.json +263 -1
  299. package/dist/locales/de.json +263 -1
  300. package/dist/locales/el.json +263 -1
  301. package/dist/locales/en.json +263 -1
  302. package/dist/locales/es.json +263 -1
  303. package/dist/locales/fr.json +263 -1
  304. package/dist/locales/hi.json +263 -1
  305. package/dist/locales/it.json +263 -1
  306. package/dist/locales/ja.json +263 -1
  307. package/dist/locales/nl.json +263 -1
  308. package/dist/locales/pl.json +263 -1
  309. package/dist/locales/pt.json +263 -1
  310. package/dist/locales/ro.json +263 -1
  311. package/dist/locales/ru.json +263 -1
  312. package/dist/locales/sq.json +263 -1
  313. package/dist/locales/sv.json +263 -1
  314. package/dist/locales/tr.json +263 -1
  315. package/dist/locales/zh.json +263 -1
  316. package/dist/patterns/anamnesis/index.js +1 -1
  317. package/dist/patterns/calendar/index.js +1 -1
  318. package/dist/patterns/forgot-password-form/index.js +1 -1
  319. package/dist/patterns/help-me-write-templates/index.js +1 -1
  320. package/dist/patterns/login-form/index.js +1 -1
  321. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  322. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  323. package/dist/patterns/registration-form/index.js +1 -1
  324. package/dist/patterns/reset-password-form/index.js +1 -1
  325. package/dist/patterns/send-registration-link-form/index.js +1 -1
  326. package/dist/patterns/signature-request/index.js +1 -1
  327. package/dist/patterns/verify-identity/index.js +1 -1
  328. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  329. package/dist/tokens.css +1 -1
  330. package/package.json +22 -3
  331. package/dist/_chunks/combobox-duuDRI1t.js +0 -688
  332. package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
  333. package/dist/_chunks/dropdown-menu-CqxBthww.js +0 -595
  334. package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
  335. package/dist/_chunks/map-view-Bny79cWa.js +0 -856
  336. package/dist/_chunks/money-Tsczpjfz.js +0 -102
  337. package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
  338. package/dist/_chunks/parts-Wz2LeGnH.js +0 -1113
  339. package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "1.115.0",
3
+ "packageVersion": "1.117.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -1168,6 +1168,1085 @@
1168
1168
  }
1169
1169
  }
1170
1170
  },
1171
+ {
1172
+ "kind": "component",
1173
+ "id": "bill-line-table",
1174
+ "capabilities": [
1175
+ "select_multiple",
1176
+ "set_value",
1177
+ "scroll"
1178
+ ],
1179
+ "state": [
1180
+ {
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. Quantities are exact decimal text as shown, unsigned; there are no descriptions or names.",
1184
+ "descriptionKey": "ui.agent.billLineTable.state.lines"
1185
+ },
1186
+ {
1187
+ "name": "selection",
1188
+ "type": "string[]",
1189
+ "description": "Ids of the ticked lines: the lines Confirm will load.",
1190
+ "descriptionKey": "ui.agent.billLineTable.state.selection"
1191
+ },
1192
+ {
1193
+ "name": "summary",
1194
+ "type": "{ lineCount, selectedCount, matchedCount, newItemCount, 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).",
1196
+ "descriptionKey": "ui.agent.billLineTable.state.summary"
1197
+ },
1198
+ {
1199
+ "name": "invalidLineIds",
1200
+ "type": "string[]",
1201
+ "description": "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.",
1202
+ "descriptionKey": "ui.agent.billLineTable.state.invalidLineIds"
1203
+ }
1204
+ ],
1205
+ "actions": [
1206
+ {
1207
+ "name": "select_lines",
1208
+ "safety": "write",
1209
+ "argsType": "{ ids: string[]; mode?: 'replace' | 'add' | 'remove' }",
1210
+ "argsSchema": {
1211
+ "type": "object",
1212
+ "properties": {
1213
+ "ids": {
1214
+ "type": "array",
1215
+ "items": {
1216
+ "type": "string",
1217
+ "minLength": 1
1218
+ },
1219
+ "uniqueItems": true
1220
+ },
1221
+ "mode": {
1222
+ "type": "string",
1223
+ "enum": [
1224
+ "replace",
1225
+ "add",
1226
+ "remove"
1227
+ ]
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "ids"
1232
+ ],
1233
+ "additionalProperties": false
1234
+ },
1235
+ "returns": "string[]",
1236
+ "idempotent": true,
1237
+ "errors": [
1238
+ "UNKNOWN_LINE",
1239
+ "LINE_READ_ONLY",
1240
+ "TABLE_READ_ONLY"
1241
+ ],
1242
+ "examples": [
1243
+ {
1244
+ "args": {
1245
+ "ids": [
1246
+ "ln-3",
1247
+ "ln-4"
1248
+ ],
1249
+ "mode": "add"
1250
+ }
1251
+ }
1252
+ ],
1253
+ "description": "Tick or untick lines. Lines of an invoice that is already loaded cannot be ticked. Returns the ticked ids.",
1254
+ "descriptionKey": "ui.agent.billLineTable.actions.selectLines"
1255
+ },
1256
+ {
1257
+ "name": "select_all_lines",
1258
+ "safety": "write",
1259
+ "returns": "string[]",
1260
+ "idempotent": true,
1261
+ "errors": [
1262
+ "TABLE_READ_ONLY"
1263
+ ],
1264
+ "description": "Tick every line that can load. Returns the ticked ids.",
1265
+ "descriptionKey": "ui.agent.billLineTable.actions.selectAllLines"
1266
+ },
1267
+ {
1268
+ "name": "clear_selection",
1269
+ "safety": "write",
1270
+ "returns": "string[]",
1271
+ "idempotent": true,
1272
+ "errors": [
1273
+ "TABLE_READ_ONLY"
1274
+ ],
1275
+ "description": "Untick every line.",
1276
+ "descriptionKey": "ui.agent.billLineTable.actions.clearSelection"
1277
+ },
1278
+ {
1279
+ "name": "set_quantity",
1280
+ "safety": "write",
1281
+ "argsType": "{ lineId: string; quantity: string }",
1282
+ "argsSchema": {
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "lineId": {
1286
+ "type": "string",
1287
+ "minLength": 1
1288
+ },
1289
+ "quantity": {
1290
+ "type": "string",
1291
+ "pattern": "^[0-9]{1,8}([.][0-9]{1,8})?$"
1292
+ }
1293
+ },
1294
+ "required": [
1295
+ "lineId",
1296
+ "quantity"
1297
+ ],
1298
+ "additionalProperties": false
1299
+ },
1300
+ "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1301
+ "idempotent": true,
1302
+ "errors": [
1303
+ "UNKNOWN_LINE",
1304
+ "INVALID_QUANTITY",
1305
+ "TABLE_READ_ONLY",
1306
+ "LINE_READ_ONLY"
1307
+ ],
1308
+ "examples": [
1309
+ {
1310
+ "args": {
1311
+ "lineId": "ln-2",
1312
+ "quantity": "2.5"
1313
+ }
1314
+ },
1315
+ {
1316
+ "args": {
1317
+ "lineId": "ln-7",
1318
+ "quantity": "3"
1319
+ },
1320
+ "note": "On a credit note this removes 3 from stock."
1321
+ }
1322
+ ],
1323
+ "description": "Set the quantity of a line as shown in the table: a decimal above 0 and at most 10000000, with a dot and up to 8 places, never signed. On a credit note it is the quantity to remove. The line amount stays as invoiced. Does not tick the line.",
1324
+ "descriptionKey": "ui.agent.billLineTable.actions.setQuantity"
1325
+ },
1326
+ {
1327
+ "name": "set_item",
1328
+ "safety": "write",
1329
+ "argsType": "{ lineId: string; itemId: string }",
1330
+ "argsSchema": {
1331
+ "type": "object",
1332
+ "properties": {
1333
+ "lineId": {
1334
+ "type": "string",
1335
+ "minLength": 1
1336
+ },
1337
+ "itemId": {
1338
+ "type": "string",
1339
+ "minLength": 1
1340
+ }
1341
+ },
1342
+ "required": [
1343
+ "lineId",
1344
+ "itemId"
1345
+ ],
1346
+ "additionalProperties": false
1347
+ },
1348
+ "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1349
+ "idempotent": true,
1350
+ "errors": [
1351
+ "UNKNOWN_LINE",
1352
+ "UNKNOWN_ITEM",
1353
+ "TABLE_READ_ONLY",
1354
+ "LINE_READ_ONLY"
1355
+ ],
1356
+ "description": "Load a line into an existing warehouse item, by item id. Does not tick the line.",
1357
+ "descriptionKey": "ui.agent.billLineTable.actions.setItem"
1358
+ },
1359
+ {
1360
+ "name": "create_new_item",
1361
+ "safety": "write",
1362
+ "argsType": "{ lineId: string; name?: string }",
1363
+ "argsSchema": {
1364
+ "type": "object",
1365
+ "properties": {
1366
+ "lineId": {
1367
+ "type": "string",
1368
+ "minLength": 1
1369
+ },
1370
+ "name": {
1371
+ "type": "string",
1372
+ "minLength": 1,
1373
+ "maxLength": 255
1374
+ }
1375
+ },
1376
+ "required": [
1377
+ "lineId"
1378
+ ],
1379
+ "additionalProperties": false
1380
+ },
1381
+ "returns": "{ id, lineNumber, matchState, selected, selectable, readOnly, quantityLocked, itemKind, itemId, quantity, removesStock, warningCodes, invalid }",
1382
+ "idempotent": true,
1383
+ "errors": [
1384
+ "UNKNOWN_LINE",
1385
+ "INVALID_ARGS",
1386
+ "TABLE_READ_ONLY",
1387
+ "LINE_READ_ONLY"
1388
+ ],
1389
+ "description": "Mark a line to create a new warehouse item when the invoice is loaded. Without a name, the item takes the line description. Nothing is created until Confirm. Does not tick the line.",
1390
+ "descriptionKey": "ui.agent.billLineTable.actions.createNewItem"
1391
+ },
1392
+ {
1393
+ "name": "focus_line",
1394
+ "safety": "read",
1395
+ "argsType": "{ lineId: string; field?: 'select' | 'quantity' | 'item' }",
1396
+ "argsSchema": {
1397
+ "type": "object",
1398
+ "properties": {
1399
+ "lineId": {
1400
+ "type": "string",
1401
+ "minLength": 1
1402
+ },
1403
+ "field": {
1404
+ "type": "string",
1405
+ "enum": [
1406
+ "select",
1407
+ "quantity",
1408
+ "item"
1409
+ ]
1410
+ }
1411
+ },
1412
+ "required": [
1413
+ "lineId"
1414
+ ],
1415
+ "additionalProperties": false
1416
+ },
1417
+ "idempotent": true,
1418
+ "errors": [
1419
+ "UNKNOWN_LINE"
1420
+ ],
1421
+ "description": "Scroll a line into view and move focus to its checkbox, quantity or item field.",
1422
+ "descriptionKey": "ui.agent.billLineTable.actions.focusLine"
1423
+ }
1424
+ ],
1425
+ "domHooks": {
1426
+ "root": {
1427
+ "attr": "data-component",
1428
+ "value": "bill-line-table",
1429
+ "description": "Marks the element as a kit BillLineTable."
1430
+ },
1431
+ "instanceId": {
1432
+ "attr": "data-component-id",
1433
+ "sourceProp": "gridId",
1434
+ "description": "The agent instance id."
1435
+ },
1436
+ "item": {
1437
+ "attr": "data-row-id",
1438
+ "sourceProp": "lines[].id",
1439
+ "description": "BillLine.id on each body row (written by DataGrid). The only line datum in the DOM."
1440
+ }
1441
+ }
1442
+ },
1443
+ {
1444
+ "kind": "component",
1445
+ "id": "bill-table",
1446
+ "capabilities": [
1447
+ "select_multiple",
1448
+ "range_pick",
1449
+ "filter",
1450
+ "sort",
1451
+ "paginate",
1452
+ "view_change",
1453
+ "scroll",
1454
+ "navigate",
1455
+ "open"
1456
+ ],
1457
+ "state": [
1458
+ {
1459
+ "name": "features",
1460
+ "type": "{ selectable, privacyMode, showWarehouseStatus, sortableColumns, status }",
1461
+ "description": "What this bill list can do now: selection, privacy mode, the warehouse column, sortable columns and loading status.",
1462
+ "descriptionKey": "ui.agent.billTable.state.features"
1463
+ },
1464
+ {
1465
+ "name": "rows",
1466
+ "type": "Array<{ id, number, type, date, direction, counterpartyKind, counterpartyName?, amountMinor, paymentStatus, sdiStatus, warehouseStatus, actions }>",
1467
+ "description": "The bills on the current page, amounts in hundredths. A counterparty name is given only for companies; patients and other people are never named.",
1468
+ "descriptionKey": "ui.agent.billTable.state.rows"
1469
+ },
1470
+ {
1471
+ "name": "selection",
1472
+ "type": "string[]",
1473
+ "description": "Ids of the selected bills, on every page.",
1474
+ "descriptionKey": "ui.agent.billTable.state.selection"
1475
+ },
1476
+ {
1477
+ "name": "sort",
1478
+ "type": "Array<{ colId, sort }>",
1479
+ "description": "The active sort, as the server receives it. A counterparty sort is left out while privacy mode is on.",
1480
+ "descriptionKey": "ui.agent.billTable.state.sort"
1481
+ },
1482
+ {
1483
+ "name": "filter",
1484
+ "type": "object",
1485
+ "description": "The active filters. Under privacy mode, filters that can point at a person read { masked: true }.",
1486
+ "descriptionKey": "ui.agent.billTable.state.filter"
1487
+ },
1488
+ {
1489
+ "name": "quickFilter",
1490
+ "type": "'' | { masked: true }",
1491
+ "description": "Empty when no quick search is set; otherwise { masked: true }, since the text may be a name. Set it with set_quick_filter.",
1492
+ "descriptionKey": "ui.agent.billTable.state.quickFilter"
1493
+ },
1494
+ {
1495
+ "name": "currentPage",
1496
+ "type": "number",
1497
+ "description": "Zero-based page index.",
1498
+ "descriptionKey": "ui.agent.billTable.state.currentPage"
1499
+ },
1500
+ {
1501
+ "name": "pageSize",
1502
+ "type": "number",
1503
+ "description": "Bills per page.",
1504
+ "descriptionKey": "ui.agent.billTable.state.pageSize"
1505
+ },
1506
+ {
1507
+ "name": "pageCount",
1508
+ "type": "number",
1509
+ "description": "Number of pages; -1 when the total is unknown.",
1510
+ "descriptionKey": "ui.agent.billTable.state.pageCount"
1511
+ },
1512
+ {
1513
+ "name": "rowCount",
1514
+ "type": "number",
1515
+ "description": "Bills matching the filters, on every page; -1 when unknown.",
1516
+ "descriptionKey": "ui.agent.billTable.state.rowCount"
1517
+ },
1518
+ {
1519
+ "name": "columns",
1520
+ "type": "Array<{ id, label, visible, canHide, sortable, masked }>",
1521
+ "description": "The columns, in display order.",
1522
+ "descriptionKey": "ui.agent.billTable.state.columns"
1523
+ }
1524
+ ],
1525
+ "actions": [
1526
+ {
1527
+ "name": "select_rows",
1528
+ "safety": "read",
1529
+ "argsType": "{ ids: string[] }",
1530
+ "argsSchema": {
1531
+ "type": "object",
1532
+ "properties": {
1533
+ "ids": {
1534
+ "type": "array",
1535
+ "items": {
1536
+ "type": "string"
1537
+ }
1538
+ }
1539
+ },
1540
+ "required": [
1541
+ "ids"
1542
+ ],
1543
+ "additionalProperties": false
1544
+ },
1545
+ "returns": "string[]",
1546
+ "idempotent": true,
1547
+ "errors": [
1548
+ "SELECTION_DISABLED: the list is read-only."
1549
+ ],
1550
+ "description": "Replace the selection with the given bill ids. Changing a filter or the search clears it.",
1551
+ "descriptionKey": "ui.agent.billTable.actions.selectRows"
1552
+ },
1553
+ {
1554
+ "name": "select_range",
1555
+ "safety": "read",
1556
+ "argsType": "{ fromId: string, toId: string }",
1557
+ "argsSchema": {
1558
+ "type": "object",
1559
+ "properties": {
1560
+ "fromId": {
1561
+ "type": "string"
1562
+ },
1563
+ "toId": {
1564
+ "type": "string"
1565
+ }
1566
+ },
1567
+ "required": [
1568
+ "fromId",
1569
+ "toId"
1570
+ ],
1571
+ "additionalProperties": false
1572
+ },
1573
+ "idempotent": true,
1574
+ "errors": [
1575
+ "SELECTION_DISABLED: the list is read-only.",
1576
+ "UNKNOWN_ROW: fromId or toId is not on the current page."
1577
+ ],
1578
+ "description": "Select every bill from fromId to toId on the current page, inclusive.",
1579
+ "descriptionKey": "ui.agent.billTable.actions.selectRange"
1580
+ },
1581
+ {
1582
+ "name": "clear_selection",
1583
+ "safety": "read",
1584
+ "idempotent": true,
1585
+ "description": "Clear the selection on every page.",
1586
+ "descriptionKey": "ui.agent.billTable.actions.clearSelection"
1587
+ },
1588
+ {
1589
+ "name": "sort_by",
1590
+ "safety": "read",
1591
+ "argsType": "{ colId: \"number\" | \"date\" | \"counterparty\" | \"amount\", sort: \"asc\" | \"desc\" }",
1592
+ "argsSchema": {
1593
+ "type": "object",
1594
+ "properties": {
1595
+ "colId": {
1596
+ "enum": [
1597
+ "number",
1598
+ "date",
1599
+ "counterparty",
1600
+ "amount"
1601
+ ]
1602
+ },
1603
+ "sort": {
1604
+ "enum": [
1605
+ "asc",
1606
+ "desc"
1607
+ ]
1608
+ }
1609
+ },
1610
+ "required": [
1611
+ "colId",
1612
+ "sort"
1613
+ ],
1614
+ "additionalProperties": false
1615
+ },
1616
+ "idempotent": true,
1617
+ "openWorld": true,
1618
+ "errors": [
1619
+ "SORT_DISABLED: the server cannot sort this column (features.sortableColumns).",
1620
+ "COLUMN_MASKED: counterparty cannot be sorted while privacy mode is on."
1621
+ ],
1622
+ "examples": [
1623
+ {
1624
+ "args": {
1625
+ "colId": "amount",
1626
+ "sort": "desc"
1627
+ }
1628
+ }
1629
+ ],
1630
+ "description": "Sort the bills by one column. The host fetches the first page again.",
1631
+ "descriptionKey": "ui.agent.billTable.actions.sortBy"
1632
+ },
1633
+ {
1634
+ "name": "apply_filter",
1635
+ "safety": "read",
1636
+ "argsType": "{ model: BillTableFilterModel }",
1637
+ "argsSchema": {
1638
+ "type": "object",
1639
+ "properties": {
1640
+ "model": {
1641
+ "type": "object",
1642
+ "additionalProperties": false,
1643
+ "properties": {
1644
+ "date": {
1645
+ "type": "object",
1646
+ "properties": {
1647
+ "type": {
1648
+ "const": "inRange"
1649
+ },
1650
+ "dateFrom": {
1651
+ "type": [
1652
+ "string",
1653
+ "null"
1654
+ ],
1655
+ "format": "date"
1656
+ },
1657
+ "dateTo": {
1658
+ "type": [
1659
+ "string",
1660
+ "null"
1661
+ ],
1662
+ "format": "date"
1663
+ }
1664
+ },
1665
+ "required": [
1666
+ "type",
1667
+ "dateFrom",
1668
+ "dateTo"
1669
+ ],
1670
+ "additionalProperties": false
1671
+ },
1672
+ "direction": {
1673
+ "type": "object",
1674
+ "properties": {
1675
+ "type": {
1676
+ "const": "set"
1677
+ },
1678
+ "values": {
1679
+ "type": "array",
1680
+ "items": {
1681
+ "enum": [
1682
+ "incoming",
1683
+ "outgoing"
1684
+ ]
1685
+ }
1686
+ }
1687
+ },
1688
+ "required": [
1689
+ "type",
1690
+ "values"
1691
+ ],
1692
+ "additionalProperties": false
1693
+ },
1694
+ "amount": {
1695
+ "type": "object",
1696
+ "description": "Amount in major units (12.50), as on the platform form.",
1697
+ "properties": {
1698
+ "type": {
1699
+ "enum": [
1700
+ "inRange",
1701
+ "greaterThanOrEqual",
1702
+ "lessThanOrEqual",
1703
+ "equals"
1704
+ ]
1705
+ },
1706
+ "filter": {
1707
+ "type": "number"
1708
+ },
1709
+ "filterTo": {
1710
+ "type": "number"
1711
+ }
1712
+ },
1713
+ "required": [
1714
+ "type"
1715
+ ],
1716
+ "additionalProperties": false
1717
+ },
1718
+ "paymentStatus": {
1719
+ "type": "object",
1720
+ "properties": {
1721
+ "type": {
1722
+ "const": "set"
1723
+ },
1724
+ "values": {
1725
+ "type": "array",
1726
+ "items": {
1727
+ "enum": [
1728
+ "paid",
1729
+ "partiallyPaid",
1730
+ "unpaid",
1731
+ "overdue",
1732
+ "writtenOff",
1733
+ "noPaymentDue"
1734
+ ]
1735
+ }
1736
+ }
1737
+ },
1738
+ "required": [
1739
+ "type",
1740
+ "values"
1741
+ ],
1742
+ "additionalProperties": false
1743
+ },
1744
+ "sdiStatus": {
1745
+ "type": "object",
1746
+ "properties": {
1747
+ "type": {
1748
+ "const": "set"
1749
+ },
1750
+ "values": {
1751
+ "type": "array",
1752
+ "items": {
1753
+ "enum": [
1754
+ "notSent",
1755
+ "sending",
1756
+ "pending",
1757
+ "accepted",
1758
+ "delivered",
1759
+ "notDelivered",
1760
+ "rejected",
1761
+ "received"
1762
+ ]
1763
+ }
1764
+ }
1765
+ },
1766
+ "required": [
1767
+ "type",
1768
+ "values"
1769
+ ],
1770
+ "additionalProperties": false
1771
+ },
1772
+ "warehouseStatus": {
1773
+ "type": "object",
1774
+ "properties": {
1775
+ "type": {
1776
+ "const": "set"
1777
+ },
1778
+ "values": {
1779
+ "type": "array",
1780
+ "items": {
1781
+ "enum": [
1782
+ "notLoaded",
1783
+ "toReview",
1784
+ "loaded"
1785
+ ]
1786
+ }
1787
+ }
1788
+ },
1789
+ "required": [
1790
+ "type",
1791
+ "values"
1792
+ ],
1793
+ "additionalProperties": false
1794
+ },
1795
+ "datePreset": {
1796
+ "enum": [
1797
+ "today",
1798
+ "thisMonth",
1799
+ "thisYear"
1800
+ ]
1801
+ },
1802
+ "type": {
1803
+ "type": "object",
1804
+ "properties": {
1805
+ "type": {
1806
+ "const": "set"
1807
+ },
1808
+ "values": {
1809
+ "type": "array",
1810
+ "items": {
1811
+ "enum": [
1812
+ "full",
1813
+ "partial",
1814
+ "credit",
1815
+ "proforma",
1816
+ "other"
1817
+ ]
1818
+ }
1819
+ }
1820
+ },
1821
+ "required": [
1822
+ "type",
1823
+ "values"
1824
+ ],
1825
+ "additionalProperties": false
1826
+ },
1827
+ "number": {
1828
+ "type": "string"
1829
+ },
1830
+ "prefix": {
1831
+ "type": "string"
1832
+ },
1833
+ "withInsuranceNet": {
1834
+ "type": "boolean",
1835
+ "description": "true = yes, false = no; leave the key out for either."
1836
+ },
1837
+ "withVat": {
1838
+ "type": "boolean",
1839
+ "description": "true = yes, false = no; leave the key out for either."
1840
+ },
1841
+ "withTaxAtSource": {
1842
+ "type": "boolean",
1843
+ "description": "true = yes, false = no; leave the key out for either."
1844
+ },
1845
+ "withWelfareFundContribution": {
1846
+ "type": "boolean",
1847
+ "description": "true = yes, false = no; leave the key out for either."
1848
+ },
1849
+ "withUnpaidAmount": {
1850
+ "type": "boolean",
1851
+ "description": "true = yes, false = no; leave the key out for either."
1852
+ },
1853
+ "writtenOff": {
1854
+ "type": "boolean",
1855
+ "description": "true = yes, false = no; leave the key out for either."
1856
+ },
1857
+ "taxOfficeNotification": {
1858
+ "type": "boolean",
1859
+ "description": "true = yes, false = no; leave the key out for either."
1860
+ },
1861
+ "receivedFromSdi": {
1862
+ "type": "boolean",
1863
+ "description": "true = yes, false = no; leave the key out for either."
1864
+ },
1865
+ "sentToSdi": {
1866
+ "type": "boolean",
1867
+ "description": "true = yes, false = no; leave the key out for either."
1868
+ },
1869
+ "selfBill": {
1870
+ "type": "boolean",
1871
+ "description": "true = yes, false = no; leave the key out for either."
1872
+ },
1873
+ "liabilityDate": {
1874
+ "type": "object",
1875
+ "properties": {
1876
+ "type": {
1877
+ "const": "inRange"
1878
+ },
1879
+ "dateFrom": {
1880
+ "type": [
1881
+ "string",
1882
+ "null"
1883
+ ],
1884
+ "format": "date"
1885
+ },
1886
+ "dateTo": {
1887
+ "type": [
1888
+ "string",
1889
+ "null"
1890
+ ],
1891
+ "format": "date"
1892
+ }
1893
+ },
1894
+ "required": [
1895
+ "type",
1896
+ "dateFrom",
1897
+ "dateTo"
1898
+ ],
1899
+ "additionalProperties": false
1900
+ },
1901
+ "sdiEntryDate": {
1902
+ "type": "object",
1903
+ "properties": {
1904
+ "type": {
1905
+ "const": "inRange"
1906
+ },
1907
+ "dateFrom": {
1908
+ "type": [
1909
+ "string",
1910
+ "null"
1911
+ ],
1912
+ "format": "date"
1913
+ },
1914
+ "dateTo": {
1915
+ "type": [
1916
+ "string",
1917
+ "null"
1918
+ ],
1919
+ "format": "date"
1920
+ }
1921
+ },
1922
+ "required": [
1923
+ "type",
1924
+ "dateFrom",
1925
+ "dateTo"
1926
+ ],
1927
+ "additionalProperties": false
1928
+ },
1929
+ "relationType": {
1930
+ "enum": [
1931
+ "patient",
1932
+ "company",
1933
+ "operator"
1934
+ ]
1935
+ },
1936
+ "insurance": {
1937
+ "type": "string"
1938
+ }
1939
+ }
1940
+ }
1941
+ },
1942
+ "required": [
1943
+ "model"
1944
+ ],
1945
+ "additionalProperties": false
1946
+ },
1947
+ "idempotent": true,
1948
+ "openWorld": true,
1949
+ "errors": [
1950
+ "UNKNOWN_FILTER: a key is not a bill filter.",
1951
+ "Changing filters clears the selection."
1952
+ ],
1953
+ "examples": [
1954
+ {
1955
+ "args": {
1956
+ "model": {
1957
+ "sdiStatus": {
1958
+ "type": "set",
1959
+ "values": [
1960
+ "received"
1961
+ ]
1962
+ },
1963
+ "warehouseStatus": {
1964
+ "type": "set",
1965
+ "values": [
1966
+ "toReview"
1967
+ ]
1968
+ }
1969
+ }
1970
+ },
1971
+ "note": "Bills from SDI that need a warehouse review."
1972
+ }
1973
+ ],
1974
+ "description": "Replace the filters. The host fetches the first page again.",
1975
+ "descriptionKey": "ui.agent.billTable.actions.applyFilter"
1976
+ },
1977
+ {
1978
+ "name": "set_quick_filter",
1979
+ "safety": "read",
1980
+ "argsType": "{ text: string }",
1981
+ "argsSchema": {
1982
+ "type": "object",
1983
+ "properties": {
1984
+ "text": {
1985
+ "type": "string"
1986
+ }
1987
+ },
1988
+ "required": [
1989
+ "text"
1990
+ ],
1991
+ "additionalProperties": false
1992
+ },
1993
+ "idempotent": true,
1994
+ "openWorld": true,
1995
+ "errors": [
1996
+ "Changing the search clears the selection."
1997
+ ],
1998
+ "description": "Search by bill number, and by counterparty name unless privacy mode is on.",
1999
+ "descriptionKey": "ui.agent.billTable.actions.setQuickFilter"
2000
+ },
2001
+ {
2002
+ "name": "clear_filters",
2003
+ "safety": "read",
2004
+ "idempotent": true,
2005
+ "openWorld": true,
2006
+ "description": "Remove every filter and the quick search.",
2007
+ "descriptionKey": "ui.agent.billTable.actions.clearFilters"
2008
+ },
2009
+ {
2010
+ "name": "go_to_page",
2011
+ "safety": "read",
2012
+ "argsType": "{ pageIndex: number }",
2013
+ "argsSchema": {
2014
+ "type": "object",
2015
+ "properties": {
2016
+ "pageIndex": {
2017
+ "type": "integer",
2018
+ "minimum": 0
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "pageIndex"
2023
+ ],
2024
+ "additionalProperties": false
2025
+ },
2026
+ "idempotent": true,
2027
+ "openWorld": true,
2028
+ "description": "Go to a zero-based page.",
2029
+ "descriptionKey": "ui.agent.billTable.actions.goToPage"
2030
+ },
2031
+ {
2032
+ "name": "set_page_size",
2033
+ "safety": "read",
2034
+ "argsType": "{ size: 25 | 50 | 100 }",
2035
+ "argsSchema": {
2036
+ "type": "object",
2037
+ "properties": {
2038
+ "size": {
2039
+ "enum": [
2040
+ 25,
2041
+ 50,
2042
+ 100
2043
+ ]
2044
+ }
2045
+ },
2046
+ "required": [
2047
+ "size"
2048
+ ],
2049
+ "additionalProperties": false
2050
+ },
2051
+ "idempotent": true,
2052
+ "openWorld": true,
2053
+ "description": "Change how many bills show per page.",
2054
+ "descriptionKey": "ui.agent.billTable.actions.setPageSize"
2055
+ },
2056
+ {
2057
+ "name": "scroll_to_row",
2058
+ "safety": "read",
2059
+ "argsType": "{ id: string }",
2060
+ "argsSchema": {
2061
+ "type": "object",
2062
+ "properties": {
2063
+ "id": {
2064
+ "type": "string",
2065
+ "description": "A bill id (rows)."
2066
+ }
2067
+ },
2068
+ "required": [
2069
+ "id"
2070
+ ],
2071
+ "additionalProperties": false
2072
+ },
2073
+ "idempotent": true,
2074
+ "errors": [
2075
+ "UNKNOWN_ROW: the id is not on the current page."
2076
+ ],
2077
+ "description": "Scroll a bill on the current page into view.",
2078
+ "descriptionKey": "ui.agent.billTable.actions.scrollToRow"
2079
+ },
2080
+ {
2081
+ "name": "set_column_visibility",
2082
+ "safety": "write",
2083
+ "argsType": "{ id: string, visible: boolean }",
2084
+ "argsSchema": {
2085
+ "type": "object",
2086
+ "properties": {
2087
+ "id": {
2088
+ "enum": [
2089
+ "date",
2090
+ "direction",
2091
+ "counterparty",
2092
+ "amount",
2093
+ "paymentStatus",
2094
+ "sdiStatus",
2095
+ "warehouseStatus"
2096
+ ]
2097
+ },
2098
+ "visible": {
2099
+ "type": "boolean"
2100
+ }
2101
+ },
2102
+ "required": [
2103
+ "id",
2104
+ "visible"
2105
+ ],
2106
+ "additionalProperties": false
2107
+ },
2108
+ "idempotent": true,
2109
+ "errors": [
2110
+ "UNKNOWN_COLUMN: the column is not in this list (warehouseStatus needs the warehouse module).",
2111
+ "NOT_HIDEABLE: number and actions always show."
2112
+ ],
2113
+ "description": "Show or hide a column. The choice is saved for this list.",
2114
+ "descriptionKey": "ui.agent.billTable.actions.setColumnVisibility"
2115
+ },
2116
+ {
2117
+ "name": "reset_columns",
2118
+ "safety": "destructive",
2119
+ "idempotent": true,
2120
+ "description": "Put every column back to its default and delete the column choices saved for this list.",
2121
+ "descriptionKey": "ui.agent.billTable.actions.resetColumns"
2122
+ },
2123
+ {
2124
+ "name": "get_row_actions",
2125
+ "safety": "read",
2126
+ "argsType": "{ id: string }",
2127
+ "argsSchema": {
2128
+ "type": "object",
2129
+ "properties": {
2130
+ "id": {
2131
+ "type": "string",
2132
+ "description": "A bill id (rows)."
2133
+ }
2134
+ },
2135
+ "required": [
2136
+ "id"
2137
+ ],
2138
+ "additionalProperties": false
2139
+ },
2140
+ "returns": "Record<action, \"enabled\" | { disabled: reason }>",
2141
+ "idempotent": true,
2142
+ "errors": [
2143
+ "UNKNOWN_ROW: the id is not on the current page."
2144
+ ],
2145
+ "description": "Which actions one bill offers now, and why a disabled one is disabled.",
2146
+ "descriptionKey": "ui.agent.billTable.actions.getRowActions"
2147
+ },
2148
+ {
2149
+ "name": "open_bill",
2150
+ "safety": "read",
2151
+ "argsType": "{ id: string }",
2152
+ "argsSchema": {
2153
+ "type": "object",
2154
+ "properties": {
2155
+ "id": {
2156
+ "type": "string",
2157
+ "description": "A bill id (rows)."
2158
+ }
2159
+ },
2160
+ "required": [
2161
+ "id"
2162
+ ],
2163
+ "additionalProperties": false
2164
+ },
2165
+ "openWorld": true,
2166
+ "errors": [
2167
+ "UNKNOWN_ROW: the id is not on the current page.",
2168
+ "ACTION_UNAVAILABLE: the bill offers no open action.",
2169
+ "ACTION_DISABLED: followed by the reason code."
2170
+ ],
2171
+ "description": "Open one bill. The host shows its page.",
2172
+ "descriptionKey": "ui.agent.billTable.actions.openBill"
2173
+ },
2174
+ {
2175
+ "name": "download_bill",
2176
+ "safety": "phi",
2177
+ "argsType": "{ id: string, format: \"pdf\" | \"xml\" }",
2178
+ "argsSchema": {
2179
+ "type": "object",
2180
+ "properties": {
2181
+ "id": {
2182
+ "type": "string"
2183
+ },
2184
+ "format": {
2185
+ "enum": [
2186
+ "pdf",
2187
+ "xml"
2188
+ ]
2189
+ }
2190
+ },
2191
+ "required": [
2192
+ "id",
2193
+ "format"
2194
+ ],
2195
+ "additionalProperties": false
2196
+ },
2197
+ "openWorld": true,
2198
+ "errors": [
2199
+ "UNKNOWN_ROW: the id is not on the current page.",
2200
+ "ACTION_UNAVAILABLE: the bill offers no download in this format.",
2201
+ "ACTION_DISABLED: followed by the reason code."
2202
+ ],
2203
+ "description": "Download one bill as a PDF or an electronic invoice (XML).",
2204
+ "descriptionKey": "ui.agent.billTable.actions.downloadBill"
2205
+ },
2206
+ {
2207
+ "name": "load_into_warehouse",
2208
+ "safety": "read",
2209
+ "argsType": "{ id: string }",
2210
+ "argsSchema": {
2211
+ "type": "object",
2212
+ "properties": {
2213
+ "id": {
2214
+ "type": "string",
2215
+ "description": "A bill id (rows)."
2216
+ }
2217
+ },
2218
+ "required": [
2219
+ "id"
2220
+ ],
2221
+ "additionalProperties": false
2222
+ },
2223
+ "openWorld": true,
2224
+ "errors": [
2225
+ "UNKNOWN_ROW: the id is not on the current page.",
2226
+ "ACTION_UNAVAILABLE: not an incoming SDI bill.",
2227
+ "ACTION_DISABLED: alreadyLoaded, when the bill is already in the warehouse."
2228
+ ],
2229
+ "description": "Open the dialog that loads an incoming SDI bill's lines into the warehouse. Nothing loads until the user confirms.",
2230
+ "descriptionKey": "ui.agent.billTable.actions.loadIntoWarehouse"
2231
+ }
2232
+ ],
2233
+ "domHooks": {
2234
+ "root": {
2235
+ "attr": "data-component",
2236
+ "value": "bill-table",
2237
+ "description": "Marks the element as a kit BillTable."
2238
+ },
2239
+ "instanceId": {
2240
+ "attr": "data-component-id",
2241
+ "sourceProp": "gridId",
2242
+ "description": "Sourced from gridId (default accounting-bills)."
2243
+ },
2244
+ "item": {
2245
+ "attr": "data-row-id",
2246
+ "description": "Opaque bill id on each row (DataGrid). Act through the handle, not the DOM."
2247
+ }
2248
+ }
2249
+ },
1171
2250
  {
1172
2251
  "kind": "component",
1173
2252
  "id": "bishop-score",