@alfadocs/ui-kit-debug 0.73.0 → 0.77.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 (338) hide show
  1. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js +1546 -0
  2. package/dist/_chunks/actions-cell-renderer-DLrcSTK_.js.map +1 -0
  3. package/dist/_chunks/{address-fields-COyjgqxA.js → address-fields-7k59FnJ6.js} +2 -2
  4. package/dist/_chunks/{address-fields-COyjgqxA.js.map → address-fields-7k59FnJ6.js.map} +1 -1
  5. package/dist/_chunks/{ai-prompt-input-DFm58UjY.js → ai-prompt-input-DziJCGLe.js} +2 -2
  6. package/dist/_chunks/{ai-prompt-input-DFm58UjY.js.map → ai-prompt-input-DziJCGLe.js.map} +1 -1
  7. package/dist/_chunks/{audio-recorder-CjAY0GAc.js → audio-recorder-Cc3KuL9y.js} +2 -2
  8. package/dist/_chunks/{audio-recorder-CjAY0GAc.js.map → audio-recorder-Cc3KuL9y.js.map} +1 -1
  9. package/dist/_chunks/{bishop-score-Bs6t6Zv1.js → bishop-score-DDW5-gb9.js} +2 -2
  10. package/dist/_chunks/{bishop-score-Bs6t6Zv1.js.map → bishop-score-DDW5-gb9.js.map} +1 -1
  11. package/dist/_chunks/{booking-CWnZhZ5g.js → booking-CLmeXtGv.js} +3 -3
  12. package/dist/_chunks/{booking-CWnZhZ5g.js.map → booking-CLmeXtGv.js.map} +1 -1
  13. package/dist/_chunks/{care-plan-card-CfIP3Vc1.js → care-plan-card-BrwhyIJI.js} +2 -2
  14. package/dist/_chunks/{care-plan-card-CfIP3Vc1.js.map → care-plan-card-BrwhyIJI.js.map} +1 -1
  15. package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js → care-plan-entry-card-DWEdCQM3.js} +2 -2
  16. package/dist/_chunks/{care-plan-entry-card-CRbS-G00.js.map → care-plan-entry-card-DWEdCQM3.js.map} +1 -1
  17. package/dist/_chunks/{country-select-DYHDLEjG.js → country-select-BN9nedAp.js} +2 -2
  18. package/dist/_chunks/{country-select-DYHDLEjG.js.map → country-select-BN9nedAp.js.map} +1 -1
  19. package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
  20. package/dist/_chunks/data-table-tabs-BEUXiRlu.js.map +1 -0
  21. package/dist/_chunks/document-preview-CvHnHf6T.js +243 -0
  22. package/dist/_chunks/document-preview-CvHnHf6T.js.map +1 -0
  23. package/dist/_chunks/{document-scanner-BE6Jz4Ob.js → document-scanner-B6h1Ir56.js} +2 -2
  24. package/dist/_chunks/{document-scanner-BE6Jz4Ob.js.map → document-scanner-B6h1Ir56.js.map} +1 -1
  25. package/dist/_chunks/{field-value-DCXJXKab.js → field-value-DHG6gEKS.js} +2 -2
  26. package/dist/_chunks/{field-value-DCXJXKab.js.map → field-value-DHG6gEKS.js.map} +1 -1
  27. package/dist/_chunks/file-Cwe9VC1A.js +40 -0
  28. package/dist/_chunks/file-Cwe9VC1A.js.map +1 -0
  29. package/dist/_chunks/file-manager-DfTG7bxx.js +1771 -0
  30. package/dist/_chunks/file-manager-DfTG7bxx.js.map +1 -0
  31. package/dist/_chunks/{file-upload-B2SXhRiN.js → file-upload-DENvuhfs.js} +98 -129
  32. package/dist/_chunks/file-upload-DENvuhfs.js.map +1 -0
  33. package/dist/_chunks/flag-Cnmivlrl.js +641 -0
  34. package/dist/_chunks/{flag-DZ6V7-hU.js.map → flag-Cnmivlrl.js.map} +1 -1
  35. package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js → gestational-age-calculator-BpYw-WF-.js} +2 -2
  36. package/dist/_chunks/{gestational-age-calculator-C9Dfis4I.js.map → gestational-age-calculator-BpYw-WF-.js.map} +1 -1
  37. package/dist/_chunks/{header-settings-CRQDCYgr.js → header-settings-DMfdx0Vq.js} +2 -2
  38. package/dist/_chunks/{header-settings-CRQDCYgr.js.map → header-settings-DMfdx0Vq.js.map} +1 -1
  39. package/dist/_chunks/{icon-picker-BePK27S-.js → icon-picker-CM9ubkew.js} +2 -2
  40. package/dist/_chunks/{icon-picker-BePK27S-.js.map → icon-picker-CM9ubkew.js.map} +1 -1
  41. package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
  42. package/dist/_chunks/link-cell-renderer-BQGUs45d.js.map +1 -0
  43. package/dist/_chunks/{locale-picker-Cbfqc0_N.js → locale-picker-EyvPrwDc.js} +3 -3
  44. package/dist/_chunks/{locale-picker-Cbfqc0_N.js.map → locale-picker-EyvPrwDc.js.map} +1 -1
  45. package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js → marketplace-app-shell-Bxq1PYAj.js} +3 -3
  46. package/dist/_chunks/{marketplace-app-shell-Dm6S-hun.js.map → marketplace-app-shell-Bxq1PYAj.js.map} +1 -1
  47. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
  48. package/dist/_chunks/{muscle-scheme-B9MIkuj0.js.map → muscle-scheme-CFBE2dme.js.map} +1 -1
  49. package/dist/_chunks/{notes-panel-B_8-Mebz.js → notes-panel-Cvdp818a.js} +2 -2
  50. package/dist/_chunks/{notes-panel-B_8-Mebz.js.map → notes-panel-Cvdp818a.js.map} +1 -1
  51. package/dist/_chunks/{optical-prescription-BQ75_kf6.js → optical-prescription-BEjYQjiO.js} +2 -2
  52. package/dist/_chunks/{optical-prescription-BQ75_kf6.js.map → optical-prescription-BEjYQjiO.js.map} +1 -1
  53. package/dist/_chunks/{patient-details-JkOI3Ijd.js → patient-details-zy76MRh7.js} +5 -5
  54. package/dist/_chunks/{patient-details-JkOI3Ijd.js.map → patient-details-zy76MRh7.js.map} +1 -1
  55. package/dist/_chunks/{patient-summary-card-CQOLMH3E.js → patient-summary-card-D6kgdTNn.js} +2 -2
  56. package/dist/_chunks/{patient-summary-card-CQOLMH3E.js.map → patient-summary-card-D6kgdTNn.js.map} +1 -1
  57. package/dist/_chunks/{patient-table-B_mOe-ZT.js → patient-table-DweKjiXg.js} +122 -118
  58. package/dist/_chunks/patient-table-DweKjiXg.js.map +1 -0
  59. package/dist/_chunks/periodontal-chart-CYBhr9vc.js +1305 -0
  60. package/dist/_chunks/periodontal-chart-CYBhr9vc.js.map +1 -0
  61. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
  62. package/dist/_chunks/periodontal-diagnosis-cco40xTa.js.map +1 -0
  63. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
  64. package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js.map +1 -0
  65. package/dist/_chunks/{phone-input-dtnrvnZf.js → phone-input-D00ZBAm-.js} +2 -2
  66. package/dist/_chunks/{phone-input-dtnrvnZf.js.map → phone-input-D00ZBAm-.js.map} +1 -1
  67. package/dist/_chunks/{popover-DGTKfLWh.js → popover-Cc0a69sw.js} +31 -28
  68. package/dist/_chunks/{popover-DGTKfLWh.js.map → popover-Cc0a69sw.js.map} +1 -1
  69. package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js → pregnancy-dating-msMl_6wz.js} +2 -2
  70. package/dist/_chunks/{pregnancy-dating-IsDVfqJX.js.map → pregnancy-dating-msMl_6wz.js.map} +1 -1
  71. package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js → radiograph-panel.agent-CxF9pVxd.js} +2 -2
  72. package/dist/_chunks/{radiograph-panel.agent-e488ooH8.js.map → radiograph-panel.agent-CxF9pVxd.js.map} +1 -1
  73. package/dist/_chunks/{rich-text-editor-CgA2bYwi.js → rich-text-editor-CCWjNkbx.js} +186 -177
  74. package/dist/_chunks/rich-text-editor-CCWjNkbx.js.map +1 -0
  75. package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
  76. package/dist/_chunks/{select-BmCbJMJS.js.map → select-BW5ecXlX.js.map} +1 -1
  77. package/dist/_chunks/{sidebar-CtU35PIX.js → sidebar-C0PbwJBc.js} +357 -320
  78. package/dist/_chunks/sidebar-C0PbwJBc.js.map +1 -0
  79. package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
  80. package/dist/_chunks/signature-request-C-mskXwi.js.map +1 -0
  81. package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
  82. package/dist/_chunks/{tabs-DVQ941Sj.js.map → tabs-CVTukWRD.js.map} +1 -1
  83. package/dist/_chunks/{tasks-panel-LCK5ZXvU.js → tasks-panel-CjGAhIN8.js} +2 -2
  84. package/dist/_chunks/{tasks-panel-LCK5ZXvU.js.map → tasks-panel-CjGAhIN8.js.map} +1 -1
  85. package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
  86. package/dist/_chunks/tooth-data-BwuoKFf4.js.map +1 -0
  87. package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
  88. package/dist/_chunks/tooth-scheme-BzJ6rcte.js.map +1 -0
  89. package/dist/_chunks/{unit-converter-3uL_tMCm.js → unit-converter-CSLWFDQh.js} +2 -2
  90. package/dist/_chunks/{unit-converter-3uL_tMCm.js.map → unit-converter-CSLWFDQh.js.map} +1 -1
  91. package/dist/agent-catalog.json +1430 -213
  92. package/dist/agent-i18n/en.json +86 -5
  93. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  94. package/dist/components/address-fields/index.js +1 -1
  95. package/dist/components/ai-prompt-input/index.js +1 -1
  96. package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
  97. package/dist/components/appointment-card/appointment-card.d.ts +1 -1
  98. package/dist/components/audio-recorder/index.js +1 -1
  99. package/dist/components/bishop-score/index.js +1 -1
  100. package/dist/components/booking/index.js +1 -1
  101. package/dist/components/card/card.d.ts +1 -1
  102. package/dist/components/care-plan-card/index.js +1 -1
  103. package/dist/components/care-plan-entry-card/index.js +1 -1
  104. package/dist/components/clinical-note-card/clinical-note-card.d.ts +1 -1
  105. package/dist/components/contact-profile-card/contact-profile-card.d.ts +1 -1
  106. package/dist/components/country-select/index.js +1 -1
  107. package/dist/components/data-table/data-table.d.ts.map +1 -1
  108. package/dist/components/data-table/filters/number-filter.d.ts.map +1 -1
  109. package/dist/components/data-table/index.js +35 -34
  110. package/dist/components/data-table/index.js.map +1 -1
  111. package/dist/components/data-table/toolbar.d.ts +1 -1
  112. package/dist/components/data-table/toolbar.d.ts.map +1 -1
  113. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
  114. package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts.map +1 -0
  115. package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
  116. package/dist/components/data-table-tabs/data-table-tabs.d.ts.map +1 -0
  117. package/dist/components/data-table-tabs/index.d.ts +5 -0
  118. package/dist/components/data-table-tabs/index.d.ts.map +1 -0
  119. package/dist/components/data-table-tabs/index.js +8 -0
  120. package/dist/components/data-table-tabs/index.js.map +1 -0
  121. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
  122. package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts.map +1 -0
  123. package/dist/components/document-preview/document-preview.agent.d.ts +4 -0
  124. package/dist/components/document-preview/document-preview.agent.d.ts.map +1 -0
  125. package/dist/components/document-preview/document-preview.d.ts +64 -0
  126. package/dist/components/document-preview/document-preview.d.ts.map +1 -0
  127. package/dist/components/document-preview/index.d.ts +4 -0
  128. package/dist/components/document-preview/index.d.ts.map +1 -0
  129. package/dist/components/document-preview/index.js +6 -0
  130. package/dist/components/document-preview/index.js.map +1 -0
  131. package/dist/components/document-scanner/index.js +1 -1
  132. package/dist/components/file-manager/dialogs.d.ts +48 -0
  133. package/dist/components/file-manager/dialogs.d.ts.map +1 -0
  134. package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
  135. package/dist/components/file-manager/file-manager.agent.d.ts.map +1 -0
  136. package/dist/components/file-manager/file-manager.d.ts +82 -0
  137. package/dist/components/file-manager/file-manager.d.ts.map +1 -0
  138. package/dist/components/file-manager/folder-tree.d.ts +12 -0
  139. package/dist/components/file-manager/folder-tree.d.ts.map +1 -0
  140. package/dist/components/file-manager/index.d.ts +5 -0
  141. package/dist/components/file-manager/index.d.ts.map +1 -0
  142. package/dist/components/file-manager/index.js +6 -0
  143. package/dist/components/file-manager/index.js.map +1 -0
  144. package/dist/components/file-manager/list-view.d.ts +49 -0
  145. package/dist/components/file-manager/list-view.d.ts.map +1 -0
  146. package/dist/components/file-manager/toolbar.d.ts +15 -0
  147. package/dist/components/file-manager/toolbar.d.ts.map +1 -0
  148. package/dist/components/file-manager/types.d.ts +167 -0
  149. package/dist/components/file-manager/types.d.ts.map +1 -0
  150. package/dist/components/file-manager/utils.d.ts +34 -0
  151. package/dist/components/file-manager/utils.d.ts.map +1 -0
  152. package/dist/components/file-upload/index.js +1 -1
  153. package/dist/components/flag/flag.d.ts.map +1 -1
  154. package/dist/components/flag/index.js +1 -1
  155. package/dist/components/gestational-age-calculator/index.js +1 -1
  156. package/dist/components/header-settings/index.js +1 -1
  157. package/dist/components/icon-picker/index.js +1 -1
  158. package/dist/components/index.d.ts +7 -0
  159. package/dist/components/index.d.ts.map +1 -1
  160. package/dist/components/locale-picker/index.js +1 -1
  161. package/dist/components/message-card/message-card.d.ts +1 -1
  162. package/dist/components/muscle-scheme/index.js +1 -1
  163. package/dist/components/muscle-scheme/muscle-scheme.d.ts.map +1 -1
  164. package/dist/components/notes-panel/index.js +1 -1
  165. package/dist/components/notification-card/notification-card.d.ts +1 -1
  166. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  167. package/dist/components/optical-prescription/index.js +1 -1
  168. package/dist/components/patient-details/index.js +1 -1
  169. package/dist/components/patient-summary-card/index.js +1 -1
  170. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  171. package/dist/components/patient-table/columns.d.ts.map +1 -1
  172. package/dist/components/patient-table/index.js +1 -1
  173. package/dist/components/payment-card/payment-card.d.ts +1 -1
  174. package/dist/components/payment-card/payment-request-card.d.ts +1 -1
  175. package/dist/components/periodontal-chart/index.d.ts +6 -0
  176. package/dist/components/periodontal-chart/index.d.ts.map +1 -0
  177. package/dist/components/periodontal-chart/index.js +23 -0
  178. package/dist/components/periodontal-chart/index.js.map +1 -0
  179. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +164 -0
  180. package/dist/components/periodontal-chart/periodontal-chart-data.d.ts.map +1 -0
  181. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
  182. package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts.map +1 -0
  183. package/dist/components/periodontal-chart/periodontal-chart.d.ts +71 -0
  184. package/dist/components/periodontal-chart/periodontal-chart.d.ts.map +1 -0
  185. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
  186. package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
  187. package/dist/components/periodontal-diagnosis/index.d.ts.map +1 -0
  188. package/dist/components/periodontal-diagnosis/index.js +13 -0
  189. package/dist/components/periodontal-diagnosis/index.js.map +1 -0
  190. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
  191. package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts.map +1 -0
  192. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
  193. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts.map +1 -0
  194. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
  195. package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts.map +1 -0
  196. package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
  197. package/dist/components/periodontal-risk-chart/index.d.ts.map +1 -0
  198. package/dist/components/periodontal-risk-chart/index.js +9 -0
  199. package/dist/components/periodontal-risk-chart/index.js.map +1 -0
  200. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
  201. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts.map +1 -0
  202. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
  203. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -0
  204. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
  205. package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts.map +1 -0
  206. package/dist/components/phone-input/index.js +1 -1
  207. package/dist/components/popover/index.js +1 -1
  208. package/dist/components/popover/popover.d.ts +1 -0
  209. package/dist/components/popover/popover.d.ts.map +1 -1
  210. package/dist/components/pregnancy-dating/index.js +1 -1
  211. package/dist/components/product-hub-tray/product-hub-panel.d.ts +1 -1
  212. package/dist/components/radiograph-panel/index.js +1 -1
  213. package/dist/components/rich-text-editor/index.js +1 -1
  214. package/dist/components/select/index.js +1 -1
  215. package/dist/components/select/select.d.ts.map +1 -1
  216. package/dist/components/sidebar/index.js +1 -1
  217. package/dist/components/sidebar/sidebar.d.ts +9 -0
  218. package/dist/components/sidebar/sidebar.d.ts.map +1 -1
  219. package/dist/components/skeleton-scheme/index.js +5 -13
  220. package/dist/components/skeleton-scheme/index.js.map +1 -1
  221. package/dist/components/stat/stat.d.ts +1 -1
  222. package/dist/components/tabs/index.js +1 -1
  223. package/dist/components/tasks-panel/index.js +1 -1
  224. package/dist/components/tooth-scheme/index.js +29 -28
  225. package/dist/components/tooth-scheme/index.js.map +1 -1
  226. package/dist/components/unit-converter/index.js +1 -1
  227. package/dist/i18n/locales/ar.d.ts +321 -0
  228. package/dist/i18n/locales/ar.d.ts.map +1 -1
  229. package/dist/i18n/locales/ar.js +321 -0
  230. package/dist/i18n/locales/ar.js.map +1 -1
  231. package/dist/i18n/locales/de.d.ts +321 -0
  232. package/dist/i18n/locales/de.d.ts.map +1 -1
  233. package/dist/i18n/locales/de.js +321 -0
  234. package/dist/i18n/locales/de.js.map +1 -1
  235. package/dist/i18n/locales/el.d.ts +321 -0
  236. package/dist/i18n/locales/el.d.ts.map +1 -1
  237. package/dist/i18n/locales/el.js +321 -0
  238. package/dist/i18n/locales/el.js.map +1 -1
  239. package/dist/i18n/locales/en.d.ts +321 -0
  240. package/dist/i18n/locales/en.d.ts.map +1 -1
  241. package/dist/i18n/locales/en.js +321 -0
  242. package/dist/i18n/locales/en.js.map +1 -1
  243. package/dist/i18n/locales/es.d.ts +321 -0
  244. package/dist/i18n/locales/es.d.ts.map +1 -1
  245. package/dist/i18n/locales/es.js +321 -0
  246. package/dist/i18n/locales/es.js.map +1 -1
  247. package/dist/i18n/locales/fr.d.ts +321 -0
  248. package/dist/i18n/locales/fr.d.ts.map +1 -1
  249. package/dist/i18n/locales/fr.js +321 -0
  250. package/dist/i18n/locales/fr.js.map +1 -1
  251. package/dist/i18n/locales/hi.d.ts +321 -0
  252. package/dist/i18n/locales/hi.d.ts.map +1 -1
  253. package/dist/i18n/locales/hi.js +321 -0
  254. package/dist/i18n/locales/hi.js.map +1 -1
  255. package/dist/i18n/locales/it.d.ts +321 -0
  256. package/dist/i18n/locales/it.d.ts.map +1 -1
  257. package/dist/i18n/locales/it.js +321 -0
  258. package/dist/i18n/locales/it.js.map +1 -1
  259. package/dist/i18n/locales/ja.d.ts +321 -0
  260. package/dist/i18n/locales/ja.d.ts.map +1 -1
  261. package/dist/i18n/locales/ja.js +321 -0
  262. package/dist/i18n/locales/ja.js.map +1 -1
  263. package/dist/i18n/locales/nl.d.ts +321 -0
  264. package/dist/i18n/locales/nl.d.ts.map +1 -1
  265. package/dist/i18n/locales/nl.js +321 -0
  266. package/dist/i18n/locales/nl.js.map +1 -1
  267. package/dist/i18n/locales/pl.d.ts +321 -0
  268. package/dist/i18n/locales/pl.d.ts.map +1 -1
  269. package/dist/i18n/locales/pl.js +321 -0
  270. package/dist/i18n/locales/pl.js.map +1 -1
  271. package/dist/i18n/locales/pt.d.ts +321 -0
  272. package/dist/i18n/locales/pt.d.ts.map +1 -1
  273. package/dist/i18n/locales/pt.js +321 -0
  274. package/dist/i18n/locales/pt.js.map +1 -1
  275. package/dist/i18n/locales/ro.d.ts +321 -0
  276. package/dist/i18n/locales/ro.d.ts.map +1 -1
  277. package/dist/i18n/locales/ro.js +321 -0
  278. package/dist/i18n/locales/ro.js.map +1 -1
  279. package/dist/i18n/locales/ru.d.ts +321 -0
  280. package/dist/i18n/locales/ru.d.ts.map +1 -1
  281. package/dist/i18n/locales/ru.js +321 -0
  282. package/dist/i18n/locales/ru.js.map +1 -1
  283. package/dist/i18n/locales/sq.d.ts +321 -0
  284. package/dist/i18n/locales/sq.d.ts.map +1 -1
  285. package/dist/i18n/locales/sq.js +321 -0
  286. package/dist/i18n/locales/sq.js.map +1 -1
  287. package/dist/i18n/locales/sv.d.ts +321 -0
  288. package/dist/i18n/locales/sv.d.ts.map +1 -1
  289. package/dist/i18n/locales/sv.js +321 -0
  290. package/dist/i18n/locales/sv.js.map +1 -1
  291. package/dist/i18n/locales/tr.d.ts +321 -0
  292. package/dist/i18n/locales/tr.d.ts.map +1 -1
  293. package/dist/i18n/locales/tr.js +321 -0
  294. package/dist/i18n/locales/tr.js.map +1 -1
  295. package/dist/i18n/locales/zh.d.ts +321 -0
  296. package/dist/i18n/locales/zh.d.ts.map +1 -1
  297. package/dist/i18n/locales/zh.js +321 -0
  298. package/dist/i18n/locales/zh.js.map +1 -1
  299. package/dist/index.js +834 -783
  300. package/dist/index.js.map +1 -1
  301. package/dist/locales/ar.json +321 -0
  302. package/dist/locales/de.json +321 -0
  303. package/dist/locales/el.json +321 -0
  304. package/dist/locales/en.json +321 -0
  305. package/dist/locales/es.json +321 -0
  306. package/dist/locales/fr.json +321 -0
  307. package/dist/locales/hi.json +321 -0
  308. package/dist/locales/it.json +321 -0
  309. package/dist/locales/ja.json +321 -0
  310. package/dist/locales/nl.json +321 -0
  311. package/dist/locales/pl.json +321 -0
  312. package/dist/locales/pt.json +321 -0
  313. package/dist/locales/ro.json +321 -0
  314. package/dist/locales/ru.json +321 -0
  315. package/dist/locales/sq.json +321 -0
  316. package/dist/locales/sv.json +321 -0
  317. package/dist/locales/tr.json +321 -0
  318. package/dist/locales/zh.json +321 -0
  319. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  320. package/dist/patterns/signature-request/index.d.ts +3 -0
  321. package/dist/patterns/signature-request/index.d.ts.map +1 -0
  322. package/dist/patterns/signature-request/index.js +5 -0
  323. package/dist/patterns/signature-request/index.js.map +1 -0
  324. package/dist/patterns/signature-request/signature-request.d.ts +81 -0
  325. package/dist/patterns/signature-request/signature-request.d.ts.map +1 -0
  326. package/dist/tokens.css +1 -1
  327. package/package.json +29 -1
  328. package/dist/_chunks/columns-2-8lq4-b8e.js +0 -15
  329. package/dist/_chunks/columns-2-8lq4-b8e.js.map +0 -1
  330. package/dist/_chunks/file-upload-B2SXhRiN.js.map +0 -1
  331. package/dist/_chunks/flag-DZ6V7-hU.js +0 -637
  332. package/dist/_chunks/link-cell-renderer-CLI7sBkX.js +0 -2210
  333. package/dist/_chunks/link-cell-renderer-CLI7sBkX.js.map +0 -1
  334. package/dist/_chunks/patient-table-B_mOe-ZT.js.map +0 -1
  335. package/dist/_chunks/rich-text-editor-CgA2bYwi.js.map +0 -1
  336. package/dist/_chunks/sidebar-CtU35PIX.js.map +0 -1
  337. package/dist/_chunks/tooth-scheme-CX49GycY.js +0 -2133
  338. package/dist/_chunks/tooth-scheme-CX49GycY.js.map +0 -1
@@ -0,0 +1,711 @@
1
+ import { jsx as u, jsxs as k } from "react/jsx-runtime";
2
+ import { useState as w, useEffect as R, useMemo as z } from "react";
3
+ import { useGridFilter as A } from "ag-grid-react";
4
+ import { D as H } from "./date-range-picker-Cbz1SKhm.js";
5
+ import { useTranslation as O } from "react-i18next";
6
+ import { C as Z } from "./checkbox-BuZ1u__2.js";
7
+ import { B as E } from "./button-CPGiR_bH.js";
8
+ import { M as J } from "./multi-select-D5QLBJM1.js";
9
+ import { S as K } from "./scroll-area-BZOvUhwQ.js";
10
+ import { A as U } from "./autocomplete-BrONKN8l.js";
11
+ import { N as L } from "./number-input-DjWzmlEY.js";
12
+ import { S as Q } from "./select-BW5ecXlX.js";
13
+ import { B as W } from "./badge-DCOqV9mI.js";
14
+ import { A as $ } from "./avatar-BNQNhoyL.js";
15
+ import { T as j } from "./tag-3wgkwwDB.js";
16
+ import { T as X } from "./tooltip-DvmfrNvB.js";
17
+ import { T as V } from "./timestamp-BV2lC-wV.js";
18
+ function q(t) {
19
+ return t ? t.toISOString().slice(0, 10) : null;
20
+ }
21
+ function S(t) {
22
+ if (!t) return;
23
+ const e = new Date(t);
24
+ return Number.isNaN(e.getTime()) ? void 0 : e;
25
+ }
26
+ function ke(t) {
27
+ const { model: e, onModelChange: n, getValue: a, doesRowPassOtherFilter: l } = t, [s, r] = w(() => ({
28
+ from: S(e == null ? void 0 : e.dateFrom),
29
+ to: S(e == null ? void 0 : e.dateTo)
30
+ }));
31
+ R(() => {
32
+ r({
33
+ from: S(e == null ? void 0 : e.dateFrom),
34
+ to: S(e == null ? void 0 : e.dateTo)
35
+ });
36
+ }, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]), A({
37
+ doesFilterPass: (i) => {
38
+ const c = S(e == null ? void 0 : e.dateFrom), d = S(e == null ? void 0 : e.dateTo);
39
+ if (!c && !d) return !0;
40
+ const m = a(i.node);
41
+ if (!m) return !1;
42
+ const b = m instanceof Date ? m : S(String(m));
43
+ return !(!b || c && b < c || d && b > d);
44
+ }
45
+ });
46
+ function p(i) {
47
+ if (r(i), !i.from && !i.to) {
48
+ n(null);
49
+ return;
50
+ }
51
+ n({
52
+ type: "inRange",
53
+ dateFrom: q(i.from),
54
+ dateTo: q(i.to)
55
+ });
56
+ }
57
+ return /* @__PURE__ */ u("div", { className: "ds:p-[var(--spacing-sm)] ds:min-w-[280px]", children: /* @__PURE__ */ u(H, { value: s, onChange: p, size: "sm" }) });
58
+ }
59
+ function we(t) {
60
+ var i, c;
61
+ const { model: e, onModelChange: n, column: a } = t, l = ((c = (i = a == null ? void 0 : a.getColDef) == null ? void 0 : i.call(a)) == null ? void 0 : c.filterParams) ?? {}, [s, r] = w(() => ({
62
+ from: S(e == null ? void 0 : e.dateFrom),
63
+ to: S(e == null ? void 0 : e.dateTo)
64
+ }));
65
+ R(() => {
66
+ r({
67
+ from: S(e == null ? void 0 : e.dateFrom),
68
+ to: S(e == null ? void 0 : e.dateTo)
69
+ });
70
+ }, [e == null ? void 0 : e.dateFrom, e == null ? void 0 : e.dateTo]);
71
+ function p(d) {
72
+ if (r(d), !d.from && !d.to) {
73
+ n(null);
74
+ return;
75
+ }
76
+ n({
77
+ type: "inRange",
78
+ dateFrom: q(d.from),
79
+ dateTo: q(d.to)
80
+ });
81
+ }
82
+ return /* @__PURE__ */ u("div", { "data-component": "date-range-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ u(
83
+ H,
84
+ {
85
+ value: s,
86
+ onChange: p,
87
+ size: "sm",
88
+ placeholder: l.placeholder
89
+ }
90
+ ) });
91
+ }
92
+ function P(t) {
93
+ return typeof t == "number" ? `n:${t}` : `s:${t}`;
94
+ }
95
+ function ze(t) {
96
+ const { model: e, onModelChange: n, getValue: a, api: l, column: s, options: r, placeholder: p } = t, { t: i } = O("ui"), c = z(() => {
97
+ if (r && r.length > 0) return r;
98
+ if (!l || !s) return [];
99
+ const v = /* @__PURE__ */ new Map();
100
+ return l.forEachNode((o) => {
101
+ const f = a(o);
102
+ if (f == null) return;
103
+ const h = typeof f == "string" || typeof f == "number" ? f : String(f), C = P(h);
104
+ v.has(C) || v.set(C, { value: h, label: String(h) });
105
+ }), Array.from(v.values()).sort(
106
+ (o, f) => String(o.label).localeCompare(String(f.label))
107
+ );
108
+ }, [r, l, s, a]), d = z(() => {
109
+ const v = /* @__PURE__ */ new Set(), o = (e == null ? void 0 : e.values) ?? [];
110
+ for (const f of o) v.add(P(f));
111
+ return v;
112
+ }, [e]), [m, b] = w(d);
113
+ R(() => {
114
+ b(d);
115
+ }, [d]), A({
116
+ doesFilterPass: (v) => {
117
+ const o = e == null ? void 0 : e.values;
118
+ if (!o || o.length === 0) return !0;
119
+ const f = a(v.node);
120
+ if (f == null) return !1;
121
+ const h = typeof f == "string" || typeof f == "number" ? f : String(f), C = P(h);
122
+ return o.some((N) => P(N) === C);
123
+ }
124
+ });
125
+ function g(v) {
126
+ b((o) => {
127
+ const f = new Set(o);
128
+ return f.has(v) ? f.delete(v) : f.add(v), f;
129
+ });
130
+ }
131
+ function T() {
132
+ if (m.size === 0) {
133
+ n(null);
134
+ return;
135
+ }
136
+ const v = [];
137
+ for (const o of c)
138
+ m.has(P(o.value)) && v.push(o.value);
139
+ n({ type: "set", values: v });
140
+ }
141
+ function F() {
142
+ b(/* @__PURE__ */ new Set()), n(null);
143
+ }
144
+ const y = p ?? i("dataTable.selectFilter.all");
145
+ return /* @__PURE__ */ k(
146
+ "div",
147
+ {
148
+ "data-component": "select-filter",
149
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[200px] ds:max-w-[260px]",
150
+ children: [
151
+ /* @__PURE__ */ u(K, { orientation: "vertical", className: "ds:max-h-[240px]", children: /* @__PURE__ */ u(
152
+ "div",
153
+ {
154
+ role: "group",
155
+ "aria-label": y,
156
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
157
+ children: c.length === 0 ? /* @__PURE__ */ u("p", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:py-[var(--spacing-xs)]", children: i("dataTable.agGrid.noRowsToShow") }) : c.map((v) => {
158
+ const o = P(v.value);
159
+ return /* @__PURE__ */ u(
160
+ Z,
161
+ {
162
+ size: "sm",
163
+ label: v.label,
164
+ checked: m.has(o),
165
+ onCheckedChange: () => g(o)
166
+ },
167
+ o
168
+ );
169
+ })
170
+ }
171
+ ) }),
172
+ /* @__PURE__ */ k("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
173
+ /* @__PURE__ */ u(E, { intent: "ghost", size: "sm", onClick: F, type: "button", children: i("dataTable.selectFilter.clear") }),
174
+ /* @__PURE__ */ u(E, { intent: "primary", size: "sm", onClick: T, type: "button", children: i("dataTable.selectFilter.apply") })
175
+ ] })
176
+ ]
177
+ }
178
+ );
179
+ }
180
+ function Re(t) {
181
+ var b;
182
+ const { model: e, onModelChange: n, column: a } = t, l = (b = a == null ? void 0 : a.getColDef) == null ? void 0 : b.call(a), s = (l == null ? void 0 : l.filterParams) ?? {}, r = s.options ?? [], p = s.placeholder ?? (typeof (l == null ? void 0 : l.headerName) == "string" ? l.headerName : void 0), i = z(() => {
183
+ const g = /* @__PURE__ */ new Map();
184
+ for (const T of r) g.set(String(T.value), T.value);
185
+ return g;
186
+ }, [r]), c = z(
187
+ () => r.map((g) => ({
188
+ value: String(g.value),
189
+ label: g.label
190
+ })),
191
+ [r]
192
+ ), d = z(
193
+ () => ((e == null ? void 0 : e.values) ?? []).map((g) => String(g)),
194
+ [e]
195
+ );
196
+ function m(g) {
197
+ if (g.length === 0) {
198
+ n(null);
199
+ return;
200
+ }
201
+ const T = [];
202
+ for (const F of g) {
203
+ const y = i.get(F);
204
+ y !== void 0 && T.push(y);
205
+ }
206
+ n({ type: "set", values: T });
207
+ }
208
+ return /* @__PURE__ */ u("div", { "data-component": "select-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ u(
209
+ J,
210
+ {
211
+ size: "sm",
212
+ options: c,
213
+ value: d,
214
+ onChange: m,
215
+ placeholder: s.placeholder,
216
+ "aria-label": p,
217
+ allowClear: !0
218
+ }
219
+ ) });
220
+ }
221
+ function D(t) {
222
+ return t.trim().toLocaleLowerCase();
223
+ }
224
+ function Oe(t) {
225
+ const {
226
+ model: e,
227
+ onModelChange: n,
228
+ getValue: a,
229
+ api: l,
230
+ column: s,
231
+ options: r,
232
+ loadOptions: p,
233
+ placeholder: i
234
+ } = t, { t: c } = O("ui"), d = z(() => {
235
+ if (r && r.length > 0) return r;
236
+ if (!l || !s) return [];
237
+ const o = /* @__PURE__ */ new Map();
238
+ return l.forEachNode((f) => {
239
+ const h = a(f);
240
+ if (h == null) return;
241
+ const C = typeof h == "string" ? h : String(h);
242
+ o.has(C) || o.set(C, { value: C, label: C });
243
+ }), Array.from(o.values()).sort(
244
+ (f, h) => f.label.localeCompare(h.label)
245
+ );
246
+ }, [r, l, s, a]), m = z(() => async (o, f) => {
247
+ if (p)
248
+ return (await p(o, f)).map((x) => ({ value: x.value, label: x.label }));
249
+ const h = D(o);
250
+ return (h ? d.filter((N) => D(N.label).includes(h)) : d).slice(0, 50).map((N) => ({ value: N.value, label: N.label }));
251
+ }, [p, d]), [b, g] = w((e == null ? void 0 : e.value) ?? "");
252
+ R(() => {
253
+ g((e == null ? void 0 : e.value) ?? "");
254
+ }, [e == null ? void 0 : e.value]), A({
255
+ doesFilterPass: (o) => {
256
+ const f = e == null ? void 0 : e.value;
257
+ if (!f) return !0;
258
+ const h = a(o.node);
259
+ if (h == null) return !1;
260
+ const C = typeof h == "string" ? h : String(h);
261
+ return D(C) === D(f);
262
+ }
263
+ });
264
+ function T(o) {
265
+ g(o.label), n({ type: "equals", value: o.value });
266
+ }
267
+ function F(o) {
268
+ g(o), o === "" && e && n(null);
269
+ }
270
+ function y() {
271
+ g(""), n(null);
272
+ }
273
+ const v = i ?? c("dataTable.typeaheadFilter.placeholder");
274
+ return /* @__PURE__ */ k(
275
+ "div",
276
+ {
277
+ "data-component": "typeahead-filter",
278
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
279
+ children: [
280
+ /* @__PURE__ */ u(
281
+ U,
282
+ {
283
+ size: "sm",
284
+ value: b,
285
+ onChange: F,
286
+ onSelect: T,
287
+ loadOptions: m,
288
+ placeholder: v,
289
+ "aria-label": v
290
+ }
291
+ ),
292
+ /* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:justify-end ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: /* @__PURE__ */ u(E, { intent: "ghost", size: "sm", onClick: y, type: "button", children: c("dataTable.typeaheadFilter.clear") }) })
293
+ ]
294
+ }
295
+ );
296
+ }
297
+ function Pe(t) {
298
+ var T, F;
299
+ const { model: e, onModelChange: n, column: a } = t, { t: l } = O("ui"), s = ((F = (T = a == null ? void 0 : a.getColDef) == null ? void 0 : T.call(a)) == null ? void 0 : F.filterParams) ?? {}, r = s.options ?? [], p = s.loadOptions, i = s.placeholder ?? l("dataTable.typeaheadFilter.placeholder"), c = z(() => async (y, v) => {
300
+ if (p)
301
+ return (await p(y, v)).map((C) => ({ value: C.value, label: C.label }));
302
+ const o = D(y);
303
+ return (o ? r.filter((h) => D(h.label).includes(o)) : r).slice(0, 50).map((h) => ({ value: h.value, label: h.label }));
304
+ }, [p, r]), [d, m] = w((e == null ? void 0 : e.value) ?? "");
305
+ R(() => {
306
+ m((e == null ? void 0 : e.value) ?? "");
307
+ }, [e == null ? void 0 : e.value]);
308
+ function b(y) {
309
+ m(y.label), n({ type: "equals", value: y.value });
310
+ }
311
+ function g(y) {
312
+ m(y), y === "" && e && n(null);
313
+ }
314
+ return /* @__PURE__ */ u("div", { "data-component": "typeahead-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ u(
315
+ U,
316
+ {
317
+ size: "sm",
318
+ value: d,
319
+ onChange: g,
320
+ onSelect: b,
321
+ loadOptions: c,
322
+ placeholder: i,
323
+ "aria-label": i
324
+ }
325
+ ) });
326
+ }
327
+ const Y = [
328
+ "equals",
329
+ "notEqual",
330
+ "greaterThan",
331
+ "greaterThanOrEqual",
332
+ "lessThan",
333
+ "lessThanOrEqual",
334
+ "inRange",
335
+ "blank",
336
+ "notBlank"
337
+ ];
338
+ function B(t) {
339
+ return t !== "blank" && t !== "notBlank";
340
+ }
341
+ function I(t) {
342
+ return t === "inRange";
343
+ }
344
+ function ee(t, e, n, a) {
345
+ if (t === "blank") return e === null;
346
+ if (t === "notBlank") return e !== null;
347
+ if (e === null) return !1;
348
+ if (n === null) return !0;
349
+ switch (t) {
350
+ case "equals":
351
+ return e === n;
352
+ case "notEqual":
353
+ return e !== n;
354
+ case "greaterThan":
355
+ return e > n;
356
+ case "greaterThanOrEqual":
357
+ return e >= n;
358
+ case "lessThan":
359
+ return e < n;
360
+ case "lessThanOrEqual":
361
+ return e <= n;
362
+ case "inRange": {
363
+ if (a === null) return e >= n;
364
+ const l = Math.min(n, a), s = Math.max(n, a);
365
+ return e >= l && e <= s;
366
+ }
367
+ default:
368
+ return !0;
369
+ }
370
+ }
371
+ function te(t) {
372
+ if (t == null || t === "") return null;
373
+ const e = typeof t == "number" ? t : Number(t);
374
+ return Number.isNaN(e) ? null : e;
375
+ }
376
+ function De(t) {
377
+ const {
378
+ model: e,
379
+ onModelChange: n,
380
+ getValue: a,
381
+ defaultOperator: l,
382
+ min: s,
383
+ max: r,
384
+ step: p,
385
+ placeholder: i
386
+ } = t, { t: c } = O("ui"), d = (e == null ? void 0 : e.type) ?? l ?? "equals", [m, b] = w(d), [g, T] = w((e == null ? void 0 : e.filter) ?? null), [F, y] = w(
387
+ (e == null ? void 0 : e.filterTo) ?? null
388
+ );
389
+ R(() => {
390
+ if (e == null) {
391
+ b(l ?? "equals"), T(null), y(null);
392
+ return;
393
+ }
394
+ b(e.type), T(e.filter ?? null), y(e.filterTo ?? null);
395
+ }, [e, l]), A({
396
+ doesFilterPass: (x) => {
397
+ if (!e) return !0;
398
+ const G = te(a(x.node));
399
+ return ee(
400
+ e.type,
401
+ G,
402
+ e.filter ?? null,
403
+ e.filterTo ?? null
404
+ );
405
+ }
406
+ });
407
+ const v = z(
408
+ () => Y.map((x) => ({
409
+ value: x,
410
+ label: c(`dataTable.numberFilter.operators.${x}`)
411
+ })),
412
+ [c]
413
+ ), o = i ?? c("dataTable.numberFilter.placeholder");
414
+ function f() {
415
+ if (!B(m)) {
416
+ n({ type: m, filter: 0 });
417
+ return;
418
+ }
419
+ if (g === null) {
420
+ n(null);
421
+ return;
422
+ }
423
+ if (I(m)) {
424
+ n({
425
+ type: m,
426
+ filter: g,
427
+ filterTo: F ?? void 0
428
+ });
429
+ return;
430
+ }
431
+ n({ type: m, filter: g });
432
+ }
433
+ function h() {
434
+ b(l ?? "equals"), T(null), y(null), n(null);
435
+ }
436
+ const C = B(m), N = I(m);
437
+ return /* @__PURE__ */ k(
438
+ "div",
439
+ {
440
+ "data-component": "number-filter",
441
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
442
+ children: [
443
+ /* @__PURE__ */ u(
444
+ Q,
445
+ {
446
+ size: "sm",
447
+ options: v,
448
+ value: m,
449
+ onValueChange: (x) => {
450
+ x !== "" && b(x);
451
+ },
452
+ "aria-label": c("dataTable.numberFilter.operators.equals")
453
+ }
454
+ ),
455
+ C && !N && /* @__PURE__ */ u(
456
+ L,
457
+ {
458
+ size: "sm",
459
+ value: g,
460
+ onChange: T,
461
+ min: s,
462
+ max: r,
463
+ step: p,
464
+ placeholder: o,
465
+ "aria-label": o
466
+ }
467
+ ),
468
+ N && /* @__PURE__ */ k("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
469
+ /* @__PURE__ */ u(
470
+ L,
471
+ {
472
+ size: "sm",
473
+ value: g,
474
+ onChange: T,
475
+ min: s,
476
+ max: r,
477
+ step: p,
478
+ placeholder: c("dataTable.numberFilter.from"),
479
+ "aria-label": c("dataTable.numberFilter.from")
480
+ }
481
+ ),
482
+ /* @__PURE__ */ u(
483
+ L,
484
+ {
485
+ size: "sm",
486
+ value: F,
487
+ onChange: y,
488
+ min: s,
489
+ max: r,
490
+ step: p,
491
+ placeholder: c("dataTable.numberFilter.to"),
492
+ "aria-label": c("dataTable.numberFilter.to")
493
+ }
494
+ )
495
+ ] }),
496
+ /* @__PURE__ */ k("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
497
+ /* @__PURE__ */ u(E, { intent: "ghost", size: "sm", onClick: h, type: "button", children: c("dataTable.numberFilter.clear") }),
498
+ /* @__PURE__ */ u(E, { intent: "primary", size: "sm", onClick: f, type: "button", children: c("dataTable.numberFilter.apply") })
499
+ ] })
500
+ ]
501
+ }
502
+ );
503
+ }
504
+ function Ee(t) {
505
+ var d, m;
506
+ const { model: e, onModelChange: n, column: a } = t, { t: l } = O("ui"), s = ((m = (d = a == null ? void 0 : a.getColDef) == null ? void 0 : d.call(a)) == null ? void 0 : m.filterParams) ?? {}, r = s.defaultOperator ?? "equals", p = s.placeholder ?? l("dataTable.numberFilter.placeholder"), [i, c] = w((e == null ? void 0 : e.filter) ?? null);
507
+ return R(() => {
508
+ c((e == null ? void 0 : e.filter) ?? null);
509
+ }, [e == null ? void 0 : e.filter]), R(() => {
510
+ if (i === ((e == null ? void 0 : e.filter) ?? null)) return;
511
+ const b = setTimeout(() => {
512
+ if (i === null || Number.isNaN(i)) {
513
+ n(null);
514
+ return;
515
+ }
516
+ n({ type: r, filter: i });
517
+ }, 200);
518
+ return () => clearTimeout(b);
519
+ }, [i, r]), /* @__PURE__ */ u("div", { "data-component": "number-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ u(
520
+ L,
521
+ {
522
+ size: "sm",
523
+ value: i,
524
+ onChange: c,
525
+ min: s.min,
526
+ max: s.max,
527
+ step: s.step,
528
+ placeholder: p,
529
+ "aria-label": p
530
+ }
531
+ ) });
532
+ }
533
+ function Le(t) {
534
+ const { value: e, variantMap: n } = t, a = (n == null ? void 0 : n[e]) ?? "neutral";
535
+ return /* @__PURE__ */ u(W, { variant: a, withDot: !0, size: "sm", children: String(e ?? "") });
536
+ }
537
+ function qe(t) {
538
+ const { value: e } = t;
539
+ return e ? /* @__PURE__ */ k("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
540
+ /* @__PURE__ */ u($, { name: e.name, src: e.src, size: "sm" }),
541
+ /* @__PURE__ */ u("span", { children: e.name })
542
+ ] }) : null;
543
+ }
544
+ const ne = {
545
+ sm: "ds:size-8",
546
+ md: "ds:size-10",
547
+ lg: "ds:size-12"
548
+ }, ae = {
549
+ square: "ds:rounded-none",
550
+ rounded: "ds:rounded-[var(--radius-md)]",
551
+ circle: "ds:rounded-[var(--radius-full)]"
552
+ };
553
+ function M(t, e) {
554
+ if (!t || typeof t != "object") return;
555
+ const n = t[e];
556
+ return typeof n == "string" ? n : void 0;
557
+ }
558
+ const re = /^(?:https?:|data:image\/)/i;
559
+ function le(t) {
560
+ if (!t) return;
561
+ const e = t.trim();
562
+ if (e.length !== 0)
563
+ return re.test(e) ? e : void 0;
564
+ }
565
+ function Ae(t) {
566
+ const {
567
+ data: e,
568
+ srcField: n,
569
+ altField: a,
570
+ fallbackField: l,
571
+ size: s = "md",
572
+ shape: r = "rounded"
573
+ } = t;
574
+ if (!e) return null;
575
+ const p = M(e, n), i = le(p), c = a ? M(e, a) ?? "" : "", d = l ? M(e, l) : void 0;
576
+ return i ? /* @__PURE__ */ u(
577
+ "img",
578
+ {
579
+ src: i,
580
+ alt: c,
581
+ loading: "lazy",
582
+ decoding: "async",
583
+ className: ["ds:object-cover", ne[s], ae[r]].join(
584
+ " "
585
+ )
586
+ }
587
+ ) : d ? /* @__PURE__ */ u($, { name: d, size: s }) : null;
588
+ }
589
+ function Me(t) {
590
+ const { value: e, maxVisible: n = 3 } = t, { t: a } = O();
591
+ if (!Array.isArray(e) || e.length === 0) return null;
592
+ const l = e.slice(0, n), s = e.length - n;
593
+ return /* @__PURE__ */ k("span", { className: "ds:inline-flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
594
+ l.map((r) => /* @__PURE__ */ u(j, { label: r, size: "sm" }, r)),
595
+ s > 0 && /* @__PURE__ */ u(X, { label: e.slice(n).join(", "), children: /* @__PURE__ */ u(
596
+ j,
597
+ {
598
+ label: a("inputs.multiSelect.overflow", { count: s }),
599
+ size: "sm",
600
+ variant: "neutral",
601
+ fill: "outline"
602
+ }
603
+ ) })
604
+ ] });
605
+ }
606
+ const se = {
607
+ date: { year: "numeric", month: "short", day: "numeric" },
608
+ time: { hour: "2-digit", minute: "2-digit" },
609
+ datetime: {
610
+ year: "numeric",
611
+ month: "short",
612
+ day: "numeric",
613
+ hour: "2-digit",
614
+ minute: "2-digit"
615
+ }
616
+ };
617
+ function je(t) {
618
+ const { value: e, format: n = "date", options: a } = t;
619
+ return e == null || e === "" ? null : n === "relative" && !a ? /* @__PURE__ */ u(V, { value: e, shape: "bare" }) : /* @__PURE__ */ u(
620
+ V,
621
+ {
622
+ value: e,
623
+ format: "absolute",
624
+ shape: "bare",
625
+ absoluteFormat: a ?? se[n === "relative" ? "date" : n]
626
+ }
627
+ );
628
+ }
629
+ function ie(t) {
630
+ if (t == null || t === "") return null;
631
+ const e = typeof t == "number" ? t : Number(t);
632
+ return Number.isFinite(e) ? e : null;
633
+ }
634
+ function Ve(t) {
635
+ const {
636
+ value: e,
637
+ currency: n = "EUR",
638
+ colorNegative: a,
639
+ strikethrough: l,
640
+ options: s
641
+ } = t, { i18n: r } = O(), p = ie(e);
642
+ if (p === null) return null;
643
+ const i = r.language || "en", c = new Intl.NumberFormat(i, {
644
+ style: "currency",
645
+ currency: n,
646
+ ...s
647
+ }).format(p), d = ["ds:tabular-nums"];
648
+ return a && p < 0 && d.push("ds:text-[color:var(--destructive)]"), l && d.push("line-through"), /* @__PURE__ */ u("span", { className: d.join(" "), children: c });
649
+ }
650
+ function _(t, e) {
651
+ return typeof t == "function" ? t(e) : t;
652
+ }
653
+ function oe(t) {
654
+ return /^(https?:\/\/|\/|#|mailto:|tel:)/i.test(t) ? t : "#";
655
+ }
656
+ function Be(t) {
657
+ const { value: e, data: n, href: a, onClick: l, secondary: s } = t;
658
+ if (!n) return null;
659
+ const r = _(a, n), p = _(s, n), i = e == null || e === "" ? "" : String(e), c = [
660
+ "ds:text-[color:var(--primary)]",
661
+ "ds:hover:underline",
662
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
663
+ "ds:focus-visible:outline-solid",
664
+ "ds:focus-visible:outline-[color:var(--ring)]",
665
+ "ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
666
+ "ds:rounded-[var(--radius-sm)]"
667
+ ].join(" "), d = (m) => {
668
+ l && (r || m.preventDefault(), m.stopPropagation(), l(n));
669
+ };
670
+ return /* @__PURE__ */ k("span", { className: "ds:flex ds:flex-col ds:leading-tight", children: [
671
+ r ? /* @__PURE__ */ u(
672
+ "a",
673
+ {
674
+ href: oe(r),
675
+ onClick: d,
676
+ className: c,
677
+ children: i
678
+ }
679
+ ) : /* @__PURE__ */ u(
680
+ "button",
681
+ {
682
+ type: "button",
683
+ onClick: d,
684
+ className: [
685
+ "ds:appearance-none ds:bg-transparent ds:p-0 ds:text-start",
686
+ c
687
+ ].join(" "),
688
+ children: i
689
+ }
690
+ ),
691
+ p ? /* @__PURE__ */ u("span", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: p }) : null
692
+ ] });
693
+ }
694
+ export {
695
+ Ve as C,
696
+ je as D,
697
+ Ae as I,
698
+ Be as L,
699
+ De as N,
700
+ ze as S,
701
+ Me as T,
702
+ qe as U,
703
+ ke as a,
704
+ we as b,
705
+ Ee as c,
706
+ Re as d,
707
+ Le as e,
708
+ Oe as f,
709
+ Pe as g
710
+ };
711
+ //# sourceMappingURL=link-cell-renderer-BQGUs45d.js.map