@powerhousedao/document-engineering 1.28.0 → 1.30.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 (271) hide show
  1. package/dist/src/scalars/components/phone-number-field/index.d.ts +3 -0
  2. package/dist/src/scalars/components/phone-number-field/index.d.ts.map +1 -0
  3. package/dist/src/scalars/components/phone-number-field/index.js +2 -0
  4. package/dist/src/scalars/components/phone-number-field/index.js.map +1 -0
  5. package/dist/src/scalars/components/phone-number-field/phone-number-field.d.ts +3 -0
  6. package/dist/src/scalars/components/phone-number-field/phone-number-field.d.ts.map +1 -0
  7. package/dist/src/scalars/components/phone-number-field/phone-number-field.js +17 -0
  8. package/dist/src/scalars/components/phone-number-field/phone-number-field.js.map +1 -0
  9. package/dist/src/scalars/components/phone-number-field/types.d.ts +5 -0
  10. package/dist/src/scalars/components/phone-number-field/types.d.ts.map +1 -0
  11. package/dist/src/scalars/components/phone-number-field/types.js +2 -0
  12. package/dist/src/scalars/components/phone-number-field/types.js.map +1 -0
  13. package/dist/src/table/components/cells/render-cell/render-cell.d.ts +2 -2
  14. package/dist/src/table/components/cells/render-cell/render-cell.d.ts.map +1 -1
  15. package/dist/src/table/components/cells/render-cell/render-cell.js +4 -4
  16. package/dist/src/table/components/cells/render-cell/render-cell.js.map +1 -1
  17. package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts +3 -4
  18. package/dist/src/table/components/cells/render-cell/use-cell-logic.d.ts.map +1 -1
  19. package/dist/src/table/components/cells/render-cell/use-cell-logic.js +3 -3
  20. package/dist/src/table/components/cells/render-cell/use-cell-logic.js.map +1 -1
  21. package/dist/src/table/components/default-cell-editors/aid-editor.d.ts +4 -0
  22. package/dist/src/table/components/default-cell-editors/aid-editor.d.ts.map +1 -0
  23. package/dist/src/table/components/default-cell-editors/aid-editor.js +12 -0
  24. package/dist/src/table/components/default-cell-editors/aid-editor.js.map +1 -0
  25. package/dist/src/table/components/default-cell-editors/amount-editor.d.ts +4 -0
  26. package/dist/src/table/components/default-cell-editors/amount-editor.d.ts.map +1 -0
  27. package/dist/src/table/components/default-cell-editors/amount-editor.js +15 -0
  28. package/dist/src/table/components/default-cell-editors/amount-editor.js.map +1 -0
  29. package/dist/src/table/components/default-cell-editors/boolean-editor.d.ts +1 -1
  30. package/dist/src/table/components/default-cell-editors/boolean-editor.d.ts.map +1 -1
  31. package/dist/src/table/components/default-cell-editors/boolean-editor.js +1 -1
  32. package/dist/src/table/components/default-cell-editors/boolean-editor.js.map +1 -1
  33. package/dist/src/table/components/default-cell-editors/country-editor.d.ts +4 -0
  34. package/dist/src/table/components/default-cell-editors/country-editor.d.ts.map +1 -0
  35. package/dist/src/table/components/default-cell-editors/country-editor.js +12 -0
  36. package/dist/src/table/components/default-cell-editors/country-editor.js.map +1 -0
  37. package/dist/src/table/components/default-cell-editors/currency-editor.d.ts +4 -0
  38. package/dist/src/table/components/default-cell-editors/currency-editor.d.ts.map +1 -0
  39. package/dist/src/table/components/default-cell-editors/currency-editor.js +12 -0
  40. package/dist/src/table/components/default-cell-editors/currency-editor.js.map +1 -0
  41. package/dist/src/table/components/default-cell-editors/date-editor.d.ts +4 -0
  42. package/dist/src/table/components/default-cell-editors/date-editor.d.ts.map +1 -0
  43. package/dist/src/table/components/default-cell-editors/date-editor.js +12 -0
  44. package/dist/src/table/components/default-cell-editors/date-editor.js.map +1 -0
  45. package/dist/src/table/components/default-cell-editors/datetime-editor.d.ts +4 -0
  46. package/dist/src/table/components/default-cell-editors/datetime-editor.d.ts.map +1 -0
  47. package/dist/src/table/components/default-cell-editors/datetime-editor.js +12 -0
  48. package/dist/src/table/components/default-cell-editors/datetime-editor.js.map +1 -0
  49. package/dist/src/table/components/default-cell-editors/email-editor.d.ts +4 -0
  50. package/dist/src/table/components/default-cell-editors/email-editor.d.ts.map +1 -0
  51. package/dist/src/table/components/default-cell-editors/email-editor.js +12 -0
  52. package/dist/src/table/components/default-cell-editors/email-editor.js.map +1 -0
  53. package/dist/src/table/components/default-cell-editors/enum-editor.d.ts +4 -0
  54. package/dist/src/table/components/default-cell-editors/enum-editor.d.ts.map +1 -0
  55. package/dist/src/table/components/default-cell-editors/enum-editor.js +12 -0
  56. package/dist/src/table/components/default-cell-editors/enum-editor.js.map +1 -0
  57. package/dist/src/table/components/default-cell-editors/get-cell-editor-fn.d.ts.map +1 -1
  58. package/dist/src/table/components/default-cell-editors/get-cell-editor-fn.js +44 -8
  59. package/dist/src/table/components/default-cell-editors/get-cell-editor-fn.js.map +1 -1
  60. package/dist/src/table/components/default-cell-editors/index.d.ts +3 -3
  61. package/dist/src/table/components/default-cell-editors/index.d.ts.map +1 -1
  62. package/dist/src/table/components/default-cell-editors/index.js +3 -3
  63. package/dist/src/table/components/default-cell-editors/index.js.map +1 -1
  64. package/dist/src/table/components/default-cell-editors/number-editor.d.ts +1 -1
  65. package/dist/src/table/components/default-cell-editors/number-editor.d.ts.map +1 -1
  66. package/dist/src/table/components/default-cell-editors/number-editor.js +1 -1
  67. package/dist/src/table/components/default-cell-editors/number-editor.js.map +1 -1
  68. package/dist/src/table/components/default-cell-editors/oid-editor.d.ts +4 -0
  69. package/dist/src/table/components/default-cell-editors/oid-editor.d.ts.map +1 -0
  70. package/dist/src/table/components/default-cell-editors/oid-editor.js +12 -0
  71. package/dist/src/table/components/default-cell-editors/oid-editor.js.map +1 -0
  72. package/dist/src/table/components/default-cell-editors/phid-editor.d.ts +4 -0
  73. package/dist/src/table/components/default-cell-editors/phid-editor.d.ts.map +1 -0
  74. package/dist/src/table/components/default-cell-editors/phid-editor.js +12 -0
  75. package/dist/src/table/components/default-cell-editors/phid-editor.js.map +1 -0
  76. package/dist/src/table/components/default-cell-editors/string-editor.d.ts +1 -1
  77. package/dist/src/table/components/default-cell-editors/string-editor.d.ts.map +1 -1
  78. package/dist/src/table/components/default-cell-editors/string-editor.js +1 -1
  79. package/dist/src/table/components/default-cell-editors/string-editor.js.map +1 -1
  80. package/dist/src/table/components/default-cell-editors/time-editor.d.ts +4 -0
  81. package/dist/src/table/components/default-cell-editors/time-editor.d.ts.map +1 -0
  82. package/dist/src/table/components/default-cell-editors/time-editor.js +12 -0
  83. package/dist/src/table/components/default-cell-editors/time-editor.js.map +1 -0
  84. package/dist/src/table/components/default-cell-editors/url-editor.d.ts +4 -0
  85. package/dist/src/table/components/default-cell-editors/url-editor.d.ts.map +1 -0
  86. package/dist/src/table/components/default-cell-editors/url-editor.js +12 -0
  87. package/dist/src/table/components/default-cell-editors/url-editor.js.map +1 -0
  88. package/dist/src/table/components/default-cell-renderers/aid-render.d.ts +4 -0
  89. package/dist/src/table/components/default-cell-renderers/aid-render.d.ts.map +1 -0
  90. package/dist/src/table/components/default-cell-renderers/aid-render.js +11 -0
  91. package/dist/src/table/components/default-cell-renderers/aid-render.js.map +1 -0
  92. package/dist/src/table/components/default-cell-renderers/amount-render.d.ts +4 -0
  93. package/dist/src/table/components/default-cell-renderers/amount-render.d.ts.map +1 -0
  94. package/dist/src/table/components/default-cell-renderers/amount-render.js +11 -0
  95. package/dist/src/table/components/default-cell-renderers/amount-render.js.map +1 -0
  96. package/dist/src/table/components/default-cell-renderers/country-render.d.ts +4 -0
  97. package/dist/src/table/components/default-cell-renderers/country-render.d.ts.map +1 -0
  98. package/dist/src/table/components/default-cell-renderers/country-render.js +11 -0
  99. package/dist/src/table/components/default-cell-renderers/country-render.js.map +1 -0
  100. package/dist/src/table/components/default-cell-renderers/currency-render.d.ts +4 -0
  101. package/dist/src/table/components/default-cell-renderers/currency-render.d.ts.map +1 -0
  102. package/dist/src/table/components/default-cell-renderers/currency-render.js +11 -0
  103. package/dist/src/table/components/default-cell-renderers/currency-render.js.map +1 -0
  104. package/dist/src/table/components/default-cell-renderers/date-render.d.ts +4 -0
  105. package/dist/src/table/components/default-cell-renderers/date-render.d.ts.map +1 -0
  106. package/dist/src/table/components/default-cell-renderers/date-render.js +24 -0
  107. package/dist/src/table/components/default-cell-renderers/date-render.js.map +1 -0
  108. package/dist/src/table/components/default-cell-renderers/datetime-render.d.ts +4 -0
  109. package/dist/src/table/components/default-cell-renderers/datetime-render.d.ts.map +1 -0
  110. package/dist/src/table/components/default-cell-renderers/datetime-render.js +24 -0
  111. package/dist/src/table/components/default-cell-renderers/datetime-render.js.map +1 -0
  112. package/dist/src/table/components/default-cell-renderers/email-render.d.ts +4 -0
  113. package/dist/src/table/components/default-cell-renderers/email-render.d.ts.map +1 -0
  114. package/dist/src/table/components/default-cell-renderers/email-render.js +11 -0
  115. package/dist/src/table/components/default-cell-renderers/email-render.js.map +1 -0
  116. package/dist/src/table/components/default-cell-renderers/enum-render.d.ts +4 -0
  117. package/dist/src/table/components/default-cell-renderers/enum-render.d.ts.map +1 -0
  118. package/dist/src/table/components/default-cell-renderers/enum-render.js +11 -0
  119. package/dist/src/table/components/default-cell-renderers/enum-render.js.map +1 -0
  120. package/dist/src/table/components/default-cell-renderers/get-render-fn.d.ts.map +1 -1
  121. package/dist/src/table/components/default-cell-renderers/get-render-fn.js +36 -0
  122. package/dist/src/table/components/default-cell-renderers/get-render-fn.js.map +1 -1
  123. package/dist/src/table/components/default-cell-renderers/oid-render.d.ts +4 -0
  124. package/dist/src/table/components/default-cell-renderers/oid-render.d.ts.map +1 -0
  125. package/dist/src/table/components/default-cell-renderers/oid-render.js +11 -0
  126. package/dist/src/table/components/default-cell-renderers/oid-render.js.map +1 -0
  127. package/dist/src/table/components/default-cell-renderers/phid-render.d.ts +4 -0
  128. package/dist/src/table/components/default-cell-renderers/phid-render.d.ts.map +1 -0
  129. package/dist/src/table/components/default-cell-renderers/phid-render.js +11 -0
  130. package/dist/src/table/components/default-cell-renderers/phid-render.js.map +1 -0
  131. package/dist/src/table/components/default-cell-renderers/time-render.d.ts +4 -0
  132. package/dist/src/table/components/default-cell-renderers/time-render.d.ts.map +1 -0
  133. package/dist/src/table/components/default-cell-renderers/time-render.js +11 -0
  134. package/dist/src/table/components/default-cell-renderers/time-render.js.map +1 -0
  135. package/dist/src/table/components/default-cell-renderers/url-render.d.ts +4 -0
  136. package/dist/src/table/components/default-cell-renderers/url-render.d.ts.map +1 -0
  137. package/dist/src/table/components/default-cell-renderers/url-render.js +12 -0
  138. package/dist/src/table/components/default-cell-renderers/url-render.js.map +1 -0
  139. package/dist/src/table/components/default-fns/default-column-config.d.ts.map +1 -1
  140. package/dist/src/table/components/default-fns/default-column-config.js +12 -0
  141. package/dist/src/table/components/default-fns/default-column-config.js.map +1 -1
  142. package/dist/src/table/components/default-sort-columns/default-sort-fns.d.ts.map +1 -1
  143. package/dist/src/table/components/default-sort-columns/default-sort-fns.js +12 -0
  144. package/dist/src/table/components/default-sort-columns/default-sort-fns.js.map +1 -1
  145. package/dist/src/table/components/rows/render-row.js +3 -3
  146. package/dist/src/table/components/rows/render-row.js.map +1 -1
  147. package/dist/src/table/components/rows/row-actions.d.ts.map +1 -1
  148. package/dist/src/table/components/rows/row-actions.js +5 -2
  149. package/dist/src/table/components/rows/row-actions.js.map +1 -1
  150. package/dist/src/table/components/table-provider/table-provider.d.ts.map +1 -1
  151. package/dist/src/table/components/table-provider/table-provider.js +2 -4
  152. package/dist/src/table/components/table-provider/table-provider.js.map +1 -1
  153. package/dist/src/table/components/table-provider/table-reducer.d.ts.map +1 -1
  154. package/dist/src/table/components/table-provider/table-reducer.js +0 -3
  155. package/dist/src/table/components/table-provider/table-reducer.js.map +1 -1
  156. package/dist/src/table/examples/table-editing/table-editing.d.ts.map +1 -1
  157. package/dist/src/table/examples/table-editing/table-editing.js +9 -7
  158. package/dist/src/table/examples/table-editing/table-editing.js.map +1 -1
  159. package/dist/src/table/hooks/useGlobalTableKeyEvents.d.ts.map +1 -1
  160. package/dist/src/table/hooks/useGlobalTableKeyEvents.js +20 -0
  161. package/dist/src/table/hooks/useGlobalTableKeyEvents.js.map +1 -1
  162. package/dist/src/table/index.d.ts +1 -0
  163. package/dist/src/table/index.d.ts.map +1 -1
  164. package/dist/src/table/index.js +1 -0
  165. package/dist/src/table/index.js.map +1 -1
  166. package/dist/src/table/logic/table-api.d.ts.map +1 -1
  167. package/dist/src/table/logic/table-api.js +43 -16
  168. package/dist/src/table/logic/table-api.js.map +1 -1
  169. package/dist/src/table/table/mock-data.d.ts +1 -0
  170. package/dist/src/table/table/mock-data.d.ts.map +1 -1
  171. package/dist/src/table/table/mock-data.js +7 -0
  172. package/dist/src/table/table/mock-data.js.map +1 -1
  173. package/dist/src/table/table/object-set-table.d.ts.map +1 -1
  174. package/dist/src/table/table/object-set-table.js +5 -1
  175. package/dist/src/table/table/object-set-table.js.map +1 -1
  176. package/dist/src/table/table/types.d.ts +12 -3
  177. package/dist/src/table/table/types.d.ts.map +1 -1
  178. package/dist/src/table/table/utils.js +2 -2
  179. package/dist/src/table/table/utils.js.map +1 -1
  180. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.d.ts.map +1 -1
  181. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js +3 -2
  182. package/dist/src/ui/components/data-entry/amount-input/use-amount-input.js.map +1 -1
  183. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.d.ts.map +1 -1
  184. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js +8 -3
  185. package/dist/src/ui/components/data-entry/country-code-picker/country-code-picker.js.map +1 -1
  186. package/dist/src/ui/components/data-entry/file-input/file-input.d.ts.map +1 -1
  187. package/dist/src/ui/components/data-entry/file-input/file-input.js +15 -7
  188. package/dist/src/ui/components/data-entry/file-input/file-input.js.map +1 -1
  189. package/dist/src/ui/components/data-entry/file-input/index.d.ts +1 -1
  190. package/dist/src/ui/components/data-entry/file-input/index.d.ts.map +1 -1
  191. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts +12 -3
  192. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.d.ts.map +1 -1
  193. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js +16 -8
  194. package/dist/src/ui/components/data-entry/file-input/sub-components/file-upload-item.js.map +1 -1
  195. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts +7 -0
  196. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.d.ts.map +1 -0
  197. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.js +8 -0
  198. package/dist/src/ui/components/data-entry/file-input/sub-components/loading-bar.js.map +1 -0
  199. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-image.d.ts +9 -0
  200. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-image.d.ts.map +1 -0
  201. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-image.js +13 -0
  202. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-image.js.map +1 -0
  203. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-pdf.d.ts +9 -0
  204. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-pdf.d.ts.map +1 -0
  205. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-pdf.js +13 -0
  206. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-pdf.js.map +1 -0
  207. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-unsupported.d.ts +8 -0
  208. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-unsupported.d.ts.map +1 -0
  209. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-unsupported.js +11 -0
  210. package/dist/src/ui/components/data-entry/file-input/sub-components/place-holder-unsupported.js.map +1 -0
  211. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-file.d.ts +10 -0
  212. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-file.d.ts.map +1 -0
  213. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-file.js +13 -0
  214. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-file.js.map +1 -0
  215. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-header.d.ts +9 -0
  216. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-header.d.ts.map +1 -0
  217. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-header.js +9 -0
  218. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-header.js.map +1 -0
  219. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-image.d.ts +10 -0
  220. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-image.d.ts.map +1 -0
  221. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-image.js +13 -0
  222. package/dist/src/ui/components/data-entry/file-input/sub-components/preview-image.js.map +1 -0
  223. package/dist/src/ui/components/data-entry/file-input/types.d.ts +17 -0
  224. package/dist/src/ui/components/data-entry/file-input/types.d.ts.map +1 -1
  225. package/dist/src/ui/components/data-entry/file-input/types.js +6 -1
  226. package/dist/src/ui/components/data-entry/file-input/types.js.map +1 -1
  227. package/dist/src/ui/components/data-entry/file-input/useUploadFile.d.ts +8 -0
  228. package/dist/src/ui/components/data-entry/file-input/useUploadFile.d.ts.map +1 -1
  229. package/dist/src/ui/components/data-entry/file-input/useUploadFile.js +63 -2
  230. package/dist/src/ui/components/data-entry/file-input/useUploadFile.js.map +1 -1
  231. package/dist/src/ui/components/data-entry/file-input/utils.d.ts +6 -0
  232. package/dist/src/ui/components/data-entry/file-input/utils.d.ts.map +1 -1
  233. package/dist/src/ui/components/data-entry/file-input/utils.js +96 -0
  234. package/dist/src/ui/components/data-entry/file-input/utils.js.map +1 -1
  235. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.d.ts.map +1 -1
  236. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.js +7 -4
  237. package/dist/src/ui/components/data-entry/phone-number-input/phone-number-input.js.map +1 -1
  238. package/dist/src/ui/components/data-entry/phone-number-input/types.d.ts +3 -2
  239. package/dist/src/ui/components/data-entry/phone-number-input/types.d.ts.map +1 -1
  240. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts +9 -1
  241. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.d.ts.map +1 -1
  242. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js +192 -22
  243. package/dist/src/ui/components/data-entry/phone-number-input/use-phone-number-input.js.map +1 -1
  244. package/dist/src/ui/components/data-entry/select/command-list-item.d.ts.map +1 -1
  245. package/dist/src/ui/components/data-entry/select/command-list-item.js +1 -1
  246. package/dist/src/ui/components/data-entry/select/command-list-item.js.map +1 -1
  247. package/dist/src/ui/components/data-entry/textarea/textarea.d.ts.map +1 -1
  248. package/dist/src/ui/components/data-entry/textarea/textarea.js +23 -9
  249. package/dist/src/ui/components/data-entry/textarea/textarea.js.map +1 -1
  250. package/dist/src/ui/components/icon-components/BookOpenText.d.ts +7 -0
  251. package/dist/src/ui/components/icon-components/BookOpenText.d.ts.map +1 -0
  252. package/dist/src/ui/components/icon-components/BookOpenText.js +7 -0
  253. package/dist/src/ui/components/icon-components/BookOpenText.js.map +1 -0
  254. package/dist/src/ui/components/icon-components/BrokenImage.d.ts +7 -0
  255. package/dist/src/ui/components/icon-components/BrokenImage.d.ts.map +1 -0
  256. package/dist/src/ui/components/icon-components/BrokenImage.js +7 -0
  257. package/dist/src/ui/components/icon-components/BrokenImage.js.map +1 -0
  258. package/dist/src/ui/components/icon-components/ContentUnavailableIcon.d.ts +7 -0
  259. package/dist/src/ui/components/icon-components/ContentUnavailableIcon.d.ts.map +1 -0
  260. package/dist/src/ui/components/icon-components/ContentUnavailableIcon.js +7 -0
  261. package/dist/src/ui/components/icon-components/ContentUnavailableIcon.js.map +1 -0
  262. package/dist/src/ui/components/icon-components/Image.d.ts.map +1 -1
  263. package/dist/src/ui/components/icon-components/Image.js +2 -2
  264. package/dist/src/ui/components/icon-components/Image.js.map +1 -1
  265. package/dist/src/ui/components/icon-components/index.d.ts +1 -1
  266. package/dist/src/ui/components/icon-components/index.d.ts.map +1 -1
  267. package/dist/src/ui/components/icon-components/index.js +12 -0
  268. package/dist/src/ui/components/icon-components/index.js.map +1 -1
  269. package/dist/style.css +85 -0
  270. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  271. package/package.json +2 -1
@@ -1,4 +1,4 @@
1
1
  import type { NumberFieldProps } from '../../../scalars/components/number-field/types.js';
2
2
  import type { CellContext, DataType } from '../../table/types.js';
3
- export declare const numberCellEditorFactory: <T extends DataType>(numberFieldProps: Omit<NumberFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const buildNumberCellEditor: <T extends DataType>(numberFieldProps: Omit<NumberFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
4
  //# sourceMappingURL=number-editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"number-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/number-editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAA;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,QAAQ,EACxD,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEtC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,WAAW,WAAW,CAAC,CAAC,CAAC,4CAmB5G,CAAA"}
1
+ {"version":3,"file":"number-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/number-editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAA;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,QAAQ,EACtD,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEtC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,OAAO,WAAW,WAAW,CAAC,CAAC,CAAC,4CAmB5G,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { NumberField } from '../../../scalars/components/number-field/number-field.js';
3
- export const numberCellEditorFactory = (numberFieldProps) => {
3
+ export const buildNumberCellEditor = (numberFieldProps) => {
4
4
  const NumberCellEditor = (value, onChange, context) => {
5
5
  const numericValue = typeof value === 'number' ? value : Number(value) || 0;
6
6
  return (_jsx(NumberField, { name: context.column.field, autoComplete: "off", className: "max-w-full", autoFocus: true, ...numberFieldProps, value: numericValue, onChange: (event) => {
@@ -1 +1 @@
1
- {"version":3,"file":"number-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/number-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAA;AAItF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,gBAAuE,EACvE,EAAE;IACF,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAE,QAAwC,EAAE,OAAuB,EAAE,EAAE;QAC7G,MAAM,YAAY,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAE3E,OAAO,CACL,KAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,YAAY,EAAC,KAAK,EAClB,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,gBAAgB,EACpB,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClB,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;YACtC,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,gBAAgB,CAAA;AACzB,CAAC,CAAA"}
1
+ {"version":3,"file":"number-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/number-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAA;AAItF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,gBAAuE,EACvE,EAAE;IACF,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAE,QAAwC,EAAE,OAAuB,EAAE,EAAE;QAC7G,MAAM,YAAY,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAE3E,OAAO,CACL,KAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,YAAY,EAAC,KAAK,EAClB,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,gBAAgB,EACpB,KAAK,EAAE,YAAY,EACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClB,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;YACtC,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,gBAAgB,CAAA;AACzB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { OIDFieldProps } from '../../../scalars/components/oid-field/types.js';
2
+ import type { CellContext, DataType } from '../../table/types.js';
3
+ export declare const buildOidCellEditor: <T extends DataType>(oidFieldProps: Omit<OIDFieldProps, "name" | "value" | "onChange" | "autoComplete" | "fetchOptionsCallback" | "fetchSelectedOptionCallback" | "previewPlaceholder">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=oid-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/oid-editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAA;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,QAAQ,EACnD,eAAe,IAAI,CACjB,aAAa,EACX,MAAM,GACN,OAAO,GACP,UAAU,GACV,cAAc,GACd,sBAAsB,GACtB,6BAA6B,GAC7B,oBAAoB,CACvB,aAE6B,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAmBtG,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { OIDField } from '../../../scalars/components/oid-field/oid-field.js';
3
+ export const buildOidCellEditor = (oidFieldProps) => {
4
+ const OidCellEditor = (value, onChange, context) => {
5
+ const oidValue = typeof value === 'string' ? value : String(value ?? '');
6
+ return (_jsx(OIDField, { name: context.column.field, className: "max-w-full", autoFocus: true, autoComplete: false, ...oidFieldProps, value: oidValue, onChange: (value) => {
7
+ onChange(value);
8
+ } }));
9
+ };
10
+ return OidCellEditor;
11
+ };
12
+ //# sourceMappingURL=oid-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/oid-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAA;AAI7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,aASC,EACD,EAAE;IACF,MAAM,aAAa,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QACvG,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAA;QAExE,OAAO,CACL,KAAC,QAAQ,IACP,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,QACT,YAAY,EAAE,KAAK,KACf,aAAa,EACjB,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE;gBAC1B,QAAQ,CAAC,KAAK,CAAC,CAAA;YACjB,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,aAAa,CAAA;AACtB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { PHIDFieldProps } from '../../../scalars/components/phid-field/types.js';
2
+ import type { CellContext, DataType } from '../../table/types.js';
3
+ export declare const buildPhidCellEditor: <T extends DataType>(phidFieldProps: Omit<PHIDFieldProps, "name" | "value" | "onChange" | "autoComplete" | "allowUris" | "allowedScopes" | "fetchOptionsCallback" | "fetchSelectedOptionCallback" | "previewPlaceholder">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=phid-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phid-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/phid-editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAA;AACrF,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,QAAQ,EACpD,gBAAgB,IAAI,CAClB,cAAc,EACZ,MAAM,GACN,OAAO,GACP,UAAU,GACV,cAAc,GACd,WAAW,GACX,eAAe,GACf,sBAAsB,GACtB,6BAA6B,GAC7B,oBAAoB,CACvB,aAE8B,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAoBvG,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PHIDField } from '../../../scalars/components/phid-field/phid-field.js';
3
+ export const buildPhidCellEditor = (phidFieldProps) => {
4
+ const PhidCellEditor = (value, onChange, context) => {
5
+ const phidValue = typeof value === 'string' ? value : String(value ?? '');
6
+ return (_jsx(PHIDField, { name: context.column.field, className: "max-w-full", autoFocus: true, autoComplete: false, allowUris: false, ...phidFieldProps, value: phidValue, onChange: (value) => {
7
+ onChange(value);
8
+ } }));
9
+ };
10
+ return PhidCellEditor;
11
+ };
12
+ //# sourceMappingURL=phid-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phid-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/phid-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAA;AAIhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,cAWC,EACD,EAAE;IACF,MAAM,cAAc,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QACxG,MAAM,SAAS,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAA;QAEzE,OAAO,CACL,KAAC,SAAS,IACR,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,QACT,YAAY,EAAE,KAAK,EACnB,SAAS,EAAE,KAAK,KACZ,cAAc,EAClB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,CAAC,KAAa,EAAE,EAAE;gBAC1B,QAAQ,CAAC,KAAK,CAAC,CAAA;YACjB,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,cAAc,CAAA;AACvB,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { type StringFieldProps } from '../../../scalars/components/string-field/string-field.js';
2
2
  import type { CellContext, DataType } from '../../table/types.js';
3
- export declare const stringCellEditorFactory: <T extends DataType>(stringFieldProps: Omit<StringFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const buildStringCellEditor: <T extends DataType>(stringFieldProps: Omit<StringFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
4
  //# sourceMappingURL=string-editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"string-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/string-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,0DAA0D,CAAA;AAC7G,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,uBAAuB,GAAI,CAAC,SAAS,QAAQ,EACxD,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEtC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAkBzG,CAAA"}
1
+ {"version":3,"file":"string-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/string-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,0DAA0D,CAAA;AAC7G,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,QAAQ,EACtD,kBAAkB,IAAI,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEtC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAkBzG,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { StringField } from '../../../scalars/components/string-field/string-field.js';
3
- export const stringCellEditorFactory = (stringFieldProps) => {
3
+ export const buildStringCellEditor = (stringFieldProps) => {
4
4
  const StringCellEditor = (value, onChange, context) => {
5
5
  const stringValue = typeof value === 'string' ? value : String(value ?? '');
6
6
  return (_jsx(StringField, { name: context.column.field, className: "max-w-full", autoFocus: true, ...stringFieldProps, value: stringValue, onChange: (e) => {
@@ -1 +1 @@
1
- {"version":3,"file":"string-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/string-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,0DAA0D,CAAA;AAG7G,MAAM,CAAC,MAAM,uBAAuB,GAAG,CACrC,gBAAuE,EACvE,EAAE;IACF,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QAC1G,MAAM,WAAW,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAA;QAE3E,OAAO,CACL,KAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,gBAAgB,EACpB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC1B,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,gBAAgB,CAAA;AACzB,CAAC,CAAA"}
1
+ {"version":3,"file":"string-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/string-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,0DAA0D,CAAA;AAG7G,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,gBAAuE,EACvE,EAAE;IACF,MAAM,gBAAgB,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QAC1G,MAAM,WAAW,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAA;QAE3E,OAAO,CACL,KAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,gBAAgB,EACpB,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC1B,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,gBAAgB,CAAA;AACzB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { type TimeFieldProps } from '../../../scalars/components/time-picker-field/index.js';
2
+ import type { CellContext, DataType } from '../../table/types.js';
3
+ export declare const buildTimeCellEditor: <T extends DataType>(timeFieldProps: Omit<TimeFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=time-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/time-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,wDAAwD,CAAA;AAC7G,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,QAAQ,EACpD,gBAAgB,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEpC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAkBvG,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { TimePickerField } from '../../../scalars/components/time-picker-field/index.js';
3
+ export const buildTimeCellEditor = (timeFieldProps) => {
4
+ const TimeCellEditor = (value, onChange, context) => {
5
+ const timeValue = typeof value === 'string' ? value : String(value ?? '');
6
+ return (_jsx(TimePickerField, { name: context.column.field, className: "max-w-full", autoFocus: true, ...timeFieldProps, value: timeValue, onChange: (e) => {
7
+ onChange(e.target.value);
8
+ } }));
9
+ };
10
+ return TimeCellEditor;
11
+ };
12
+ //# sourceMappingURL=time-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/time-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAuB,eAAe,EAAE,MAAM,wDAAwD,CAAA;AAG7G,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,cAAmE,EACnE,EAAE;IACF,MAAM,cAAc,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QACxG,MAAM,SAAS,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAA;QAEzE,OAAO,CACL,KAAC,eAAe,IACd,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,cAAc,EAClB,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC1B,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,cAAc,CAAA;AACvB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { type UrlFieldProps } from '../../../scalars/components/url-field/url-field.js';
2
+ import type { CellContext, DataType } from '../../table/types.js';
3
+ export declare const buildUrlCellEditor: <T extends DataType>(urlFieldProps: Omit<UrlFieldProps, "name" | "value" | "onChange">) => (value: unknown, onChange: (newValue: unknown) => void, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=url-editor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-editor.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/url-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,oDAAoD,CAAA;AACjG,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,QAAQ,EACnD,eAAe,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC,aAEnC,OAAO,YAAY,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,WAAW,WAAW,CAAC,CAAC,CAAC,4CAkBtG,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { UrlField } from '../../../scalars/components/url-field/url-field.js';
3
+ export const buildUrlCellEditor = (urlFieldProps) => {
4
+ const UrlCellEditor = (value, onChange, context) => {
5
+ const urlValue = typeof value === 'string' ? value : (value?.toString() ?? '');
6
+ return (_jsx(UrlField, { name: context.column.field, className: "max-w-full", autoFocus: true, ...urlFieldProps, value: urlValue, onChange: (e) => {
7
+ onChange(e.target.value);
8
+ } }));
9
+ };
10
+ return UrlCellEditor;
11
+ };
12
+ //# sourceMappingURL=url-editor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-editor.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-editors/url-editor.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,oDAAoD,CAAA;AAGjG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,aAAiE,EACjE,EAAE;IACF,MAAM,aAAa,GAAG,CAAC,KAAc,EAAE,QAAqC,EAAE,OAAuB,EAAE,EAAE;QACvG,MAAM,QAAQ,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAA;QAE9E,OAAO,CACL,KAAC,QAAQ,IACP,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,EAC1B,SAAS,EAAC,YAAY,EACtB,SAAS,WACL,aAAa,EACjB,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;YAC1B,CAAC,GACD,CACH,CAAA;IACH,CAAC,CAAA;IAED,OAAO,aAAa,CAAA;AACtB,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderAidCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderAidCell };
4
+ //# sourceMappingURL=aid-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aid-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/aid-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY5F,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderAidCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderAidCell };
11
+ //# sourceMappingURL=aid-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aid-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/aid-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,aAAa,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAC/F,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderAmountCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderAmountCell };
4
+ //# sourceMappingURL=amount-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amount-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/amount-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,gBAAgB,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY/F,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderAmountCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderAmountCell };
11
+ //# sourceMappingURL=amount-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"amount-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/amount-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,gBAAgB,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAClG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderCountryCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderCountryCell };
4
+ //# sourceMappingURL=country-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/country-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAYhG,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderCountryCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderCountryCell };
11
+ //# sourceMappingURL=country-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/country-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,iBAAiB,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IACnG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderCurrencyCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderCurrencyCell };
4
+ //# sourceMappingURL=currency-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/currency-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAYjG,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderCurrencyCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderCurrencyCell };
11
+ //# sourceMappingURL=currency-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"currency-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/currency-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,kBAAkB,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IACpG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderDateCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderDateCell };
4
+ //# sourceMappingURL=date-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/date-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAyB7F,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderDateCell = (value, context) => {
4
+ const formatDate = (dateValue) => {
5
+ if (!dateValue)
6
+ return '';
7
+ try {
8
+ const date = new Date(dateValue);
9
+ if (isNaN(date.getTime()))
10
+ return String(dateValue);
11
+ return date.toLocaleDateString();
12
+ }
13
+ catch {
14
+ return String(dateValue);
15
+ }
16
+ };
17
+ return (_jsx("div", { className: cn({
18
+ 'text-right': context.column.align === 'right',
19
+ 'text-center': context.column.align === 'center',
20
+ 'text-left': context.column.align === 'left' || !context.column.align,
21
+ }), children: formatDate(value) }));
22
+ };
23
+ export { renderDateCell };
24
+ //# sourceMappingURL=date-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/date-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,cAAc,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAChG,MAAM,UAAU,GAAG,CAAC,SAAkB,EAAU,EAAE;QAChD,IAAI,CAAC,SAAS;YAAE,OAAO,EAAE,CAAA;QAEzB,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,SAA0B,CAAC,CAAA;YACjD,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;gBAAE,OAAO,MAAM,CAAC,SAAS,CAAC,CAAA;YAEnD,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAA;QAClC,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,MAAM,CAAC,SAAS,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,UAAU,CAAC,KAAK,CAAC,GACd,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderDateTimeCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderDateTimeCell };
4
+ //# sourceMappingURL=datetime-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/datetime-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,kBAAkB,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAyBjG,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderDateTimeCell = (value, context) => {
4
+ const formatDateTime = (dateValue) => {
5
+ if (!dateValue)
6
+ return '';
7
+ try {
8
+ const date = new Date(dateValue);
9
+ if (isNaN(date.getTime()))
10
+ return String(dateValue);
11
+ return date.toLocaleString();
12
+ }
13
+ catch {
14
+ return String(dateValue);
15
+ }
16
+ };
17
+ return (_jsx("div", { className: cn({
18
+ 'text-right': context.column.align === 'right',
19
+ 'text-center': context.column.align === 'center',
20
+ 'text-left': context.column.align === 'left' || !context.column.align,
21
+ }), children: formatDateTime(value) }));
22
+ };
23
+ export { renderDateTimeCell };
24
+ //# sourceMappingURL=datetime-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datetime-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/datetime-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,kBAAkB,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IACpG,MAAM,cAAc,GAAG,CAAC,SAAkB,EAAU,EAAE;QACpD,IAAI,CAAC,SAAS;YAAE,OAAO,EAAE,CAAA;QAEzB,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,SAA0B,CAAC,CAAA;YACjD,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;gBAAE,OAAO,MAAM,CAAC,SAAS,CAAC,CAAA;YAEnD,OAAO,IAAI,CAAC,cAAc,EAAE,CAAA;QAC9B,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,MAAM,CAAC,SAAS,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,cAAc,CAAC,KAAK,CAAC,GAClB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderEmailCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderEmailCell };
4
+ //# sourceMappingURL=email-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/email-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,eAAe,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY9F,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderEmailCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderEmailCell };
11
+ //# sourceMappingURL=email-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/email-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,eAAe,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IACjG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderEnumCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderEnumCell };
4
+ //# sourceMappingURL=enum-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/enum-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY7F,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderEnumCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderEnumCell };
11
+ //# sourceMappingURL=enum-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enum-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/enum-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,cAAc,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAChG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-fn.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/get-render-fn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKpE,QAAA,MAAM,WAAW,GAAI,CAAC,EAAE,MAAM,UAAU,GAAG,SAAS,KAAG,YAAY,CAAC,CAAC,CAapE,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"get-render-fn.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/get-render-fn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAiBpE,QAAA,MAAM,WAAW,GAAI,CAAC,EAAE,MAAM,UAAU,GAAG,SAAS,KAAG,YAAY,CAAC,CAAC,CAqCpE,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,6 +1,18 @@
1
1
  import { renderBooleanCell } from './boolean-render.js';
2
+ import { renderCountryCell } from './country-render.js';
3
+ import { renderDateCell } from './date-render.js';
4
+ import { renderDateTimeCell } from './datetime-render.js';
2
5
  import { renderNumberCell } from './number-render.js';
3
6
  import { renderTextCell } from './text-render.js';
7
+ import { renderTimeCell } from './time-render.js';
8
+ import { renderUrlCell } from './url-render.js';
9
+ import { renderPhidCell } from './phid-render.js';
10
+ import { renderOidCell } from './oid-render.js';
11
+ import { renderAidCell } from './aid-render.js';
12
+ import { renderEmailCell } from './email-render.js';
13
+ import { renderEnumCell } from './enum-render.js';
14
+ import { renderCurrencyCell } from './currency-render.js';
15
+ import { renderAmountCell } from './amount-render.js';
4
16
  const getRenderFn = (type) => {
5
17
  switch (type) {
6
18
  case 'string':
@@ -9,6 +21,30 @@ const getRenderFn = (type) => {
9
21
  return renderNumberCell;
10
22
  case 'boolean':
11
23
  return renderBooleanCell;
24
+ case 'country':
25
+ return renderCountryCell;
26
+ case 'date':
27
+ return renderDateCell;
28
+ case 'datetime':
29
+ return renderDateTimeCell;
30
+ case 'time':
31
+ return renderTimeCell;
32
+ case 'url':
33
+ return renderUrlCell;
34
+ case 'phid':
35
+ return renderPhidCell;
36
+ case 'oid':
37
+ return renderOidCell;
38
+ case 'aid':
39
+ return renderAidCell;
40
+ case 'email':
41
+ return renderEmailCell;
42
+ case 'enum':
43
+ return renderEnumCell;
44
+ case 'currency':
45
+ return renderCurrencyCell;
46
+ case 'amount':
47
+ return renderAmountCell;
12
48
  case undefined:
13
49
  return renderTextCell;
14
50
  default:
@@ -1 +1 @@
1
- {"version":3,"file":"get-render-fn.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/get-render-fn.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,WAAW,GAAG,CAAI,IAA4B,EAAmB,EAAE;IACvE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,cAAc,CAAA;QACvB,KAAK,QAAQ;YACX,OAAO,gBAAgB,CAAA;QACzB,KAAK,SAAS;YACZ,OAAO,iBAAiB,CAAA;QAC1B,KAAK,SAAS;YACZ,OAAO,cAAc,CAAA;QACvB;YACE,OAAO,cAAc,CAAA;IACzB,CAAC;AACH,CAAC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"get-render-fn.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/get-render-fn.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,GAAG,CAAI,IAA4B,EAAmB,EAAE;IACvE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,cAAc,CAAA;QACvB,KAAK,QAAQ;YACX,OAAO,gBAAgB,CAAA;QACzB,KAAK,SAAS;YACZ,OAAO,iBAAiB,CAAA;QAC1B,KAAK,SAAS;YACZ,OAAO,iBAAiB,CAAA;QAC1B,KAAK,MAAM;YACT,OAAO,cAAc,CAAA;QACvB,KAAK,UAAU;YACb,OAAO,kBAAkB,CAAA;QAC3B,KAAK,MAAM;YACT,OAAO,cAAc,CAAA;QACvB,KAAK,KAAK;YACR,OAAO,aAAa,CAAA;QACtB,KAAK,MAAM;YACT,OAAO,cAAc,CAAA;QACvB,KAAK,KAAK;YACR,OAAO,aAAa,CAAA;QACtB,KAAK,KAAK;YACR,OAAO,aAAa,CAAA;QACtB,KAAK,OAAO;YACV,OAAO,eAAe,CAAA;QACxB,KAAK,MAAM;YACT,OAAO,cAAc,CAAA;QACvB,KAAK,UAAU;YACb,OAAO,kBAAkB,CAAA;QAC3B,KAAK,QAAQ;YACX,OAAO,gBAAgB,CAAA;QACzB,KAAK,SAAS;YACZ,OAAO,cAAc,CAAA;QACvB;YACE,OAAO,cAAc,CAAA;IACzB,CAAC;AACH,CAAC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderOidCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderOidCell };
4
+ //# sourceMappingURL=oid-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/oid-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,aAAa,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY5F,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderOidCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderOidCell };
11
+ //# sourceMappingURL=oid-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oid-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/oid-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,aAAa,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAC/F,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderPhidCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderPhidCell };
4
+ //# sourceMappingURL=phid-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phid-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/phid-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY7F,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderPhidCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderPhidCell };
11
+ //# sourceMappingURL=phid-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phid-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/phid-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,cAAc,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAChG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderTimeCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderTimeCell };
4
+ //# sourceMappingURL=time-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-render.d.ts","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/time-render.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAEjE,QAAA,MAAM,cAAc,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EAAE,OAAO,OAAO,EAAE,SAAS,WAAW,CAAC,CAAC,CAAC,4CAY7F,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { cn } from '../../../scalars/lib/utils.js';
3
+ const renderTimeCell = (value, context) => {
4
+ return (_jsx("div", { className: cn({
5
+ 'text-right': context.column.align === 'right',
6
+ 'text-center': context.column.align === 'center',
7
+ 'text-left': context.column.align === 'left' || !context.column.align,
8
+ }), children: value?.toString() ?? '' }));
9
+ };
10
+ export { renderTimeCell };
11
+ //# sourceMappingURL=time-render.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-render.js","sourceRoot":"","sources":["../../../../../src/table/components/default-cell-renderers/time-render.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAA;AAGlD,MAAM,cAAc,GAAG,CAAgC,KAAc,EAAE,OAAuB,EAAE,EAAE;IAChG,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC;YACZ,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,OAAO;YAC9C,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,QAAQ;YAChD,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;SACtE,CAAC,YAED,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GACpB,CACP,CAAA;AACH,CAAC,CAAA;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,4 @@
1
+ import type { CellContext, DataType } from '../../table/types.js';
2
+ declare const renderUrlCell: <T extends DataType = DataType>(value: unknown, context: CellContext<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export { renderUrlCell };
4
+ //# sourceMappingURL=url-render.d.ts.map