@economic/taco 2.26.0 → 2.26.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (570) hide show
  1. package/dist/{packages/taco/src/components → components}/Report/Report.d.ts +1 -2
  2. package/dist/components/Report/useReport.d.ts +5 -0
  3. package/dist/{packages/taco/src/components → components}/Table3/Table3.d.ts +1 -2
  4. package/dist/components/Table3/useTable3.d.ts +11 -0
  5. package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
  6. package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
  7. package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
  8. package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -1
  9. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -1
  10. package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -1
  11. package/dist/{packages/taco/src/primitives → primitives}/Table/Core/Table.d.ts +4 -4
  12. package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
  13. package/dist/{packages/taco/src/primitives → primitives}/Table/Core/types.d.ts +0 -3
  14. package/dist/primitives/Table/Core/useTable.d.ts +27 -0
  15. package/dist/taco.cjs.development.js.map +1 -1
  16. package/dist/taco.cjs.production.min.js.map +1 -1
  17. package/package.json +2 -5
  18. package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +0 -19
  19. package/dist/packages/taco/src/components/Report/useReport.d.ts +0 -23
  20. package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +0 -35
  21. package/dist/packages/taco/src/components/Table3/useTable3.d.ts +0 -30
  22. package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +0 -7
  23. package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +0 -25
  24. package/types.json +0 -557898
  25. /package/dist/{packages/taco/src/components → components}/Accordion/Accordion.d.ts +0 -0
  26. /package/dist/{packages/taco/src/components → components}/Alert/Alert.d.ts +0 -0
  27. /package/dist/{packages/taco/src/components → components}/AlertDialog/AlertDialog.d.ts +0 -0
  28. /package/dist/{packages/taco/src/components → components}/AlertDialog/Context.d.ts +0 -0
  29. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Content.d.ts +0 -0
  30. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Footer.d.ts +0 -0
  31. /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Trigger.d.ts +0 -0
  32. /package/dist/{packages/taco/src/components → components}/Backdrop/Backdrop.d.ts +0 -0
  33. /package/dist/{packages/taco/src/components → components}/Badge/Badge.d.ts +0 -0
  34. /package/dist/{packages/taco/src/components → components}/BadgeIcon/BadgeIcon.d.ts +0 -0
  35. /package/dist/{packages/taco/src/components → components}/Banner/Banner.d.ts +0 -0
  36. /package/dist/{packages/taco/src/components → components}/Banner/util.d.ts +0 -0
  37. /package/dist/{packages/taco/src/components → components}/Button/Button.d.ts +0 -0
  38. /package/dist/{packages/taco/src/components → components}/Button/util.d.ts +0 -0
  39. /package/dist/{packages/taco/src/components → components}/Calendar/Calendar.d.ts +0 -0
  40. /package/dist/{packages/taco/src/components → components}/Card/Card.d.ts +0 -0
  41. /package/dist/{packages/taco/src/components → components}/Checkbox/Checkbox.d.ts +0 -0
  42. /package/dist/{packages/taco/src/components → components}/Combobox/Combobox.d.ts +0 -0
  43. /package/dist/{packages/taco/src/components → components}/Combobox/useCombobox.d.ts +0 -0
  44. /package/dist/{packages/taco/src/components → components}/Datepicker/Datepicker.d.ts +0 -0
  45. /package/dist/{packages/taco/src/components → components}/Datepicker/useDatepicker.d.ts +0 -0
  46. /package/dist/{packages/taco/src/components → components}/Dialog/Context.d.ts +0 -0
  47. /package/dist/{packages/taco/src/components → components}/Dialog/Dialog.d.ts +0 -0
  48. /package/dist/{packages/taco/src/components → components}/Dialog/components/Content.d.ts +0 -0
  49. /package/dist/{packages/taco/src/components → components}/Dialog/components/DialogDrawer.d.ts +0 -0
  50. /package/dist/{packages/taco/src/components → components}/Dialog/components/Extra.d.ts +0 -0
  51. /package/dist/{packages/taco/src/components → components}/Dialog/components/Trigger.d.ts +0 -0
  52. /package/dist/{packages/taco/src/components → components}/Dialog/types.d.ts +0 -0
  53. /package/dist/{packages/taco/src/components → components}/Dialog/util.d.ts +0 -0
  54. /package/dist/{packages/taco/src/components → components}/Drawer/Context.d.ts +0 -0
  55. /package/dist/{packages/taco/src/components → components}/Drawer/Drawer.d.ts +0 -0
  56. /package/dist/{packages/taco/src/components → components}/Drawer/components/Content.d.ts +0 -0
  57. /package/dist/{packages/taco/src/components → components}/Drawer/components/Trigger.d.ts +0 -0
  58. /package/dist/{packages/taco/src/components → components}/Drawer/images.d.ts +0 -0
  59. /package/dist/{packages/taco/src/components → components}/Drawer/types.d.ts +0 -0
  60. /package/dist/{packages/taco/src/components → components}/Drawer/util.d.ts +0 -0
  61. /package/dist/{packages/taco/src/components → components}/Field/Field.d.ts +0 -0
  62. /package/dist/{packages/taco/src/components → components}/Form/Form.d.ts +0 -0
  63. /package/dist/{packages/taco/src/components → components}/Group/Group.d.ts +0 -0
  64. /package/dist/{packages/taco/src/components → components}/Hanger/Hanger.d.ts +0 -0
  65. /package/dist/{packages/taco/src/components → components}/Header/Header.d.ts +0 -0
  66. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Avatar.d.ts +0 -0
  67. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Badge.d.ts +0 -0
  68. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Display.d.ts +0 -0
  69. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Item.d.ts +0 -0
  70. /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/types.d.ts +0 -0
  71. /package/dist/{packages/taco/src/components → components}/Header/components/AgreementSelector.d.ts +0 -0
  72. /package/dist/{packages/taco/src/components → components}/Header/components/Button.d.ts +0 -0
  73. /package/dist/{packages/taco/src/components → components}/Header/components/Link.d.ts +0 -0
  74. /package/dist/{packages/taco/src/components → components}/Header/components/Logo.d.ts +0 -0
  75. /package/dist/{packages/taco/src/components → components}/Header/components/MenuButton.d.ts +0 -0
  76. /package/dist/{packages/taco/src/components → components}/Header/components/PrimaryNavigation.d.ts +0 -0
  77. /package/dist/{packages/taco/src/components → components}/Header/components/SecondaryNavigation.d.ts +0 -0
  78. /package/dist/{packages/taco/src/components → components}/HoverCard/HoverCard.d.ts +0 -0
  79. /package/dist/{packages/taco/src/components → components}/HoverCard/Primitives.d.ts +0 -0
  80. /package/dist/{packages/taco/src/components → components}/Icon/Icon.d.ts +0 -0
  81. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountPreview.d.ts +0 -0
  82. /package/dist/{packages/taco/src/components → components}/Icon/components/Accounting.d.ts +0 -0
  83. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYear.d.ts +0 -0
  84. /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYearCancel.d.ts +0 -0
  85. /package/dist/{packages/taco/src/components → components}/Icon/components/AiChatSolid.d.ts +0 -0
  86. /package/dist/{packages/taco/src/components → components}/Icon/components/AiStars.d.ts +0 -0
  87. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowBottom.d.ts +0 -0
  88. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowDown.d.ts +0 -0
  89. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowEnd.d.ts +0 -0
  90. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowLeft.d.ts +0 -0
  91. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowRight.d.ts +0 -0
  92. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowStart.d.ts +0 -0
  93. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowTop.d.ts +0 -0
  94. /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowUp.d.ts +0 -0
  95. /package/dist/{packages/taco/src/components → components}/Icon/components/Attach.d.ts +0 -0
  96. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachAuto.d.ts +0 -0
  97. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachCancel.d.ts +0 -0
  98. /package/dist/{packages/taco/src/components → components}/Icon/components/AttachWarning.d.ts +0 -0
  99. /package/dist/{packages/taco/src/components → components}/Icon/components/Autotext.d.ts +0 -0
  100. /package/dist/{packages/taco/src/components → components}/Icon/components/AutotextInsert.d.ts +0 -0
  101. /package/dist/{packages/taco/src/components → components}/Icon/components/Basic.d.ts +0 -0
  102. /package/dist/{packages/taco/src/components → components}/Icon/components/BasicTabs.d.ts +0 -0
  103. /package/dist/{packages/taco/src/components → components}/Icon/components/BellSolid.d.ts +0 -0
  104. /package/dist/{packages/taco/src/components → components}/Icon/components/Book.d.ts +0 -0
  105. /package/dist/{packages/taco/src/components → components}/Icon/components/Booking.d.ts +0 -0
  106. /package/dist/{packages/taco/src/components → components}/Icon/components/Budget.d.ts +0 -0
  107. /package/dist/{packages/taco/src/components → components}/Icon/components/Calendar.d.ts +0 -0
  108. /package/dist/{packages/taco/src/components → components}/Icon/components/CashAccount.d.ts +0 -0
  109. /package/dist/{packages/taco/src/components → components}/Icon/components/CashReports.d.ts +0 -0
  110. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartArea.d.ts +0 -0
  111. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartBar.d.ts +0 -0
  112. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartLine.d.ts +0 -0
  113. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartPie.d.ts +0 -0
  114. /package/dist/{packages/taco/src/components → components}/Icon/components/ChartTable.d.ts +0 -0
  115. /package/dist/{packages/taco/src/components → components}/Icon/components/Chat.d.ts +0 -0
  116. /package/dist/{packages/taco/src/components → components}/Icon/components/ChatSolid.d.ts +0 -0
  117. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDown.d.ts +0 -0
  118. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownDouble.d.ts +0 -0
  119. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownSolid.d.ts +0 -0
  120. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeft.d.ts +0 -0
  121. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
  122. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
  123. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRight.d.ts +0 -0
  124. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightDouble.d.ts +0 -0
  125. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightSolid.d.ts +0 -0
  126. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUp.d.ts +0 -0
  127. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpDouble.d.ts +0 -0
  128. /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpSolid.d.ts +0 -0
  129. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleClose.d.ts +0 -0
  130. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleInformation.d.ts +0 -0
  131. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleMinus.d.ts +0 -0
  132. /package/dist/{packages/taco/src/components → components}/Icon/components/CirclePlus.d.ts +0 -0
  133. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleQuestionmark.d.ts +0 -0
  134. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleTick.d.ts +0 -0
  135. /package/dist/{packages/taco/src/components → components}/Icon/components/CircleWarning.d.ts +0 -0
  136. /package/dist/{packages/taco/src/components → components}/Icon/components/Clamp.d.ts +0 -0
  137. /package/dist/{packages/taco/src/components → components}/Icon/components/ClampOpen.d.ts +0 -0
  138. /package/dist/{packages/taco/src/components → components}/Icon/components/Close.d.ts +0 -0
  139. /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnFreeze.d.ts +0 -0
  140. /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
  141. /package/dist/{packages/taco/src/components → components}/Icon/components/Columns.d.ts +0 -0
  142. /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionEnable.d.ts +0 -0
  143. /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionRevoke.d.ts +0 -0
  144. /package/dist/{packages/taco/src/components → components}/Icon/components/Contacts.d.ts +0 -0
  145. /package/dist/{packages/taco/src/components → components}/Icon/components/Copy.d.ts +0 -0
  146. /package/dist/{packages/taco/src/components → components}/Icon/components/Courses.d.ts +0 -0
  147. /package/dist/{packages/taco/src/components → components}/Icon/components/Credit.d.ts +0 -0
  148. /package/dist/{packages/taco/src/components → components}/Icon/components/Delete.d.ts +0 -0
  149. /package/dist/{packages/taco/src/components → components}/Icon/components/DeletePermanently.d.ts +0 -0
  150. /package/dist/{packages/taco/src/components → components}/Icon/components/Depecriate.d.ts +0 -0
  151. /package/dist/{packages/taco/src/components → components}/Icon/components/Developer.d.ts +0 -0
  152. /package/dist/{packages/taco/src/components → components}/Icon/components/DistributionTemplate.d.ts +0 -0
  153. /package/dist/{packages/taco/src/components → components}/Icon/components/Document.d.ts +0 -0
  154. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentApprove.d.ts +0 -0
  155. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
  156. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCut.d.ts +0 -0
  157. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentError.d.ts +0 -0
  158. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
  159. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMerge.d.ts +0 -0
  160. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMove.d.ts +0 -0
  161. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentPreview.d.ts +0 -0
  162. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentReceived.d.ts +0 -0
  163. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
  164. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentSplit.d.ts +0 -0
  165. /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentTime.d.ts +0 -0
  166. /package/dist/{packages/taco/src/components → components}/Icon/components/Download.d.ts +0 -0
  167. /package/dist/{packages/taco/src/components → components}/Icon/components/Drag.d.ts +0 -0
  168. /package/dist/{packages/taco/src/components → components}/Icon/components/ECopedia.d.ts +0 -0
  169. /package/dist/{packages/taco/src/components → components}/Icon/components/ESignature.d.ts +0 -0
  170. /package/dist/{packages/taco/src/components → components}/Icon/components/Edit.d.ts +0 -0
  171. /package/dist/{packages/taco/src/components → components}/Icon/components/EditSimple.d.ts +0 -0
  172. /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
  173. /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisVertical.d.ts +0 -0
  174. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOnAccount.d.ts +0 -0
  175. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOpen.d.ts +0 -0
  176. /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesWarning.d.ts +0 -0
  177. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
  178. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
  179. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
  180. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
  181. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
  182. /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
  183. /package/dist/{packages/taco/src/components → components}/Icon/components/Envelope.d.ts +0 -0
  184. /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeApproved.d.ts +0 -0
  185. /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeSolid.d.ts +0 -0
  186. /package/dist/{packages/taco/src/components → components}/Icon/components/ExpandView.d.ts +0 -0
  187. /package/dist/{packages/taco/src/components → components}/Icon/components/Expenses.d.ts +0 -0
  188. /package/dist/{packages/taco/src/components → components}/Icon/components/Export.d.ts +0 -0
  189. /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToExcel.d.ts +0 -0
  190. /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToPdf.d.ts +0 -0
  191. /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOff.d.ts +0 -0
  192. /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOn.d.ts +0 -0
  193. /package/dist/{packages/taco/src/components → components}/Icon/components/Filter.d.ts +0 -0
  194. /package/dist/{packages/taco/src/components → components}/Icon/components/FilterSolid.d.ts +0 -0
  195. /package/dist/{packages/taco/src/components → components}/Icon/components/FontSize.d.ts +0 -0
  196. /package/dist/{packages/taco/src/components → components}/Icon/components/GraphSolid.d.ts +0 -0
  197. /package/dist/{packages/taco/src/components → components}/Icon/components/Hash.d.ts +0 -0
  198. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightExtraTall.d.ts +0 -0
  199. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightMedium.d.ts +0 -0
  200. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightShort.d.ts +0 -0
  201. /package/dist/{packages/taco/src/components → components}/Icon/components/HeightTall.d.ts +0 -0
  202. /package/dist/{packages/taco/src/components → components}/Icon/components/Home.d.ts +0 -0
  203. /package/dist/{packages/taco/src/components → components}/Icon/components/Images.d.ts +0 -0
  204. /package/dist/{packages/taco/src/components → components}/Icon/components/Import.d.ts +0 -0
  205. /package/dist/{packages/taco/src/components → components}/Icon/components/Inbox.d.ts +0 -0
  206. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxEinvoicing.d.ts +0 -0
  207. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxScanning.d.ts +0 -0
  208. /package/dist/{packages/taco/src/components → components}/Icon/components/InboxSmart.d.ts +0 -0
  209. /package/dist/{packages/taco/src/components → components}/Icon/components/Info.d.ts +0 -0
  210. /package/dist/{packages/taco/src/components → components}/Icon/components/Inventory.d.ts +0 -0
  211. /package/dist/{packages/taco/src/components → components}/Icon/components/InventoryMatrix.d.ts +0 -0
  212. /package/dist/{packages/taco/src/components → components}/Icon/components/JournalPro.d.ts +0 -0
  213. /package/dist/{packages/taco/src/components → components}/Icon/components/Layout.d.ts +0 -0
  214. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutBoth.d.ts +0 -0
  215. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutFirst.d.ts +0 -0
  216. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutLast.d.ts +0 -0
  217. /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutNone.d.ts +0 -0
  218. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCard.d.ts +0 -0
  219. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
  220. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
  221. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
  222. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
  223. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
  224. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
  225. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
  226. /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
  227. /package/dist/{packages/taco/src/components → components}/Icon/components/Lightbulb.d.ts +0 -0
  228. /package/dist/{packages/taco/src/components → components}/Icon/components/Line.d.ts +0 -0
  229. /package/dist/{packages/taco/src/components → components}/Icon/components/List.d.ts +0 -0
  230. /package/dist/{packages/taco/src/components → components}/Icon/components/ListBulleted.d.ts +0 -0
  231. /package/dist/{packages/taco/src/components → components}/Icon/components/ListSearch.d.ts +0 -0
  232. /package/dist/{packages/taco/src/components → components}/Icon/components/Location.d.ts +0 -0
  233. /package/dist/{packages/taco/src/components → components}/Icon/components/Lock.d.ts +0 -0
  234. /package/dist/{packages/taco/src/components → components}/Icon/components/LockOpen.d.ts +0 -0
  235. /package/dist/{packages/taco/src/components → components}/Icon/components/Log.d.ts +0 -0
  236. /package/dist/{packages/taco/src/components → components}/Icon/components/LogOut.d.ts +0 -0
  237. /package/dist/{packages/taco/src/components → components}/Icon/components/Market.d.ts +0 -0
  238. /package/dist/{packages/taco/src/components → components}/Icon/components/MatchAmount.d.ts +0 -0
  239. /package/dist/{packages/taco/src/components → components}/Icon/components/MatchEntries.d.ts +0 -0
  240. /package/dist/{packages/taco/src/components → components}/Icon/components/Menu.d.ts +0 -0
  241. /package/dist/{packages/taco/src/components → components}/Icon/components/Mileage.d.ts +0 -0
  242. /package/dist/{packages/taco/src/components → components}/Icon/components/ModalResize.d.ts +0 -0
  243. /package/dist/{packages/taco/src/components → components}/Icon/components/ModalShrink.d.ts +0 -0
  244. /package/dist/{packages/taco/src/components → components}/Icon/components/More.d.ts +0 -0
  245. /package/dist/{packages/taco/src/components → components}/Icon/components/MoreSolid.d.ts +0 -0
  246. /package/dist/{packages/taco/src/components → components}/Icon/components/Move.d.ts +0 -0
  247. /package/dist/{packages/taco/src/components → components}/Icon/components/NavigationList.d.ts +0 -0
  248. /package/dist/{packages/taco/src/components → components}/Icon/components/Note.d.ts +0 -0
  249. /package/dist/{packages/taco/src/components → components}/Icon/components/NoteFollowUp.d.ts +0 -0
  250. /package/dist/{packages/taco/src/components → components}/Icon/components/NoteRead.d.ts +0 -0
  251. /package/dist/{packages/taco/src/components → components}/Icon/components/Numbers.d.ts +0 -0
  252. /package/dist/{packages/taco/src/components → components}/Icon/components/PartnerApi.d.ts +0 -0
  253. /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentPaid.d.ts +0 -0
  254. /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentUnpaid.d.ts +0 -0
  255. /package/dist/{packages/taco/src/components → components}/Icon/components/Period.d.ts +0 -0
  256. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonChange.d.ts +0 -0
  257. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonMinus.d.ts +0 -0
  258. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonPlus.d.ts +0 -0
  259. /package/dist/{packages/taco/src/components → components}/Icon/components/PersonTick.d.ts +0 -0
  260. /package/dist/{packages/taco/src/components → components}/Icon/components/PhoneSolid.d.ts +0 -0
  261. /package/dist/{packages/taco/src/components → components}/Icon/components/Play.d.ts +0 -0
  262. /package/dist/{packages/taco/src/components → components}/Icon/components/PlusMinus.d.ts +0 -0
  263. /package/dist/{packages/taco/src/components → components}/Icon/components/Print.d.ts +0 -0
  264. /package/dist/{packages/taco/src/components → components}/Icon/components/ProcessPayment.d.ts +0 -0
  265. /package/dist/{packages/taco/src/components → components}/Icon/components/ProductLedgerCard.d.ts +0 -0
  266. /package/dist/{packages/taco/src/components → components}/Icon/components/Profile.d.ts +0 -0
  267. /package/dist/{packages/taco/src/components → components}/Icon/components/ProjectCards.d.ts +0 -0
  268. /package/dist/{packages/taco/src/components → components}/Icon/components/Projects.d.ts +0 -0
  269. /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMark.d.ts +0 -0
  270. /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMarkBold.d.ts +0 -0
  271. /package/dist/{packages/taco/src/components → components}/Icon/components/Quicklinks.d.ts +0 -0
  272. /package/dist/{packages/taco/src/components → components}/Icon/components/RatingBankruptcy.d.ts +0 -0
  273. /package/dist/{packages/taco/src/components → components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
  274. /package/dist/{packages/taco/src/components → components}/Icon/components/Reconciled.d.ts +0 -0
  275. /package/dist/{packages/taco/src/components → components}/Icon/components/Refresh.d.ts +0 -0
  276. /package/dist/{packages/taco/src/components → components}/Icon/components/Report.d.ts +0 -0
  277. /package/dist/{packages/taco/src/components → components}/Icon/components/ReportSolid.d.ts +0 -0
  278. /package/dist/{packages/taco/src/components → components}/Icon/components/Restore.d.ts +0 -0
  279. /package/dist/{packages/taco/src/components → components}/Icon/components/RotateLeft.d.ts +0 -0
  280. /package/dist/{packages/taco/src/components → components}/Icon/components/RotateRight.d.ts +0 -0
  281. /package/dist/{packages/taco/src/components → components}/Icon/components/Sales.d.ts +0 -0
  282. /package/dist/{packages/taco/src/components → components}/Icon/components/Search.d.ts +0 -0
  283. /package/dist/{packages/taco/src/components → components}/Icon/components/SearchBold.d.ts +0 -0
  284. /package/dist/{packages/taco/src/components → components}/Icon/components/Secure.d.ts +0 -0
  285. /package/dist/{packages/taco/src/components → components}/Icon/components/SecureTick.d.ts +0 -0
  286. /package/dist/{packages/taco/src/components → components}/Icon/components/Settings.d.ts +0 -0
  287. /package/dist/{packages/taco/src/components → components}/Icon/components/SettingsSolid.d.ts +0 -0
  288. /package/dist/{packages/taco/src/components → components}/Icon/components/Shortcuts.d.ts +0 -0
  289. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowAll.d.ts +0 -0
  290. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowLess.d.ts +0 -0
  291. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowMore.d.ts +0 -0
  292. /package/dist/{packages/taco/src/components → components}/Icon/components/ShowTemplate.d.ts +0 -0
  293. /package/dist/{packages/taco/src/components → components}/Icon/components/Sliders.d.ts +0 -0
  294. /package/dist/{packages/taco/src/components → components}/Icon/components/Smartpay.d.ts +0 -0
  295. /package/dist/{packages/taco/src/components → components}/Icon/components/SortBy.d.ts +0 -0
  296. /package/dist/{packages/taco/src/components → components}/Icon/components/Star.d.ts +0 -0
  297. /package/dist/{packages/taco/src/components → components}/Icon/components/StarSolid.d.ts +0 -0
  298. /package/dist/{packages/taco/src/components → components}/Icon/components/Subscriptions.d.ts +0 -0
  299. /package/dist/{packages/taco/src/components → components}/Icon/components/SystemEntries.d.ts +0 -0
  300. /package/dist/{packages/taco/src/components → components}/Icon/components/Tag.d.ts +0 -0
  301. /package/dist/{packages/taco/src/components → components}/Icon/components/TemplateOverride.d.ts +0 -0
  302. /package/dist/{packages/taco/src/components → components}/Icon/components/Templates.d.ts +0 -0
  303. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbBoth.d.ts +0 -0
  304. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDown.d.ts +0 -0
  305. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDownSolid.d.ts +0 -0
  306. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUp.d.ts +0 -0
  307. /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUpSolid.d.ts +0 -0
  308. /package/dist/{packages/taco/src/components → components}/Icon/components/Tick.d.ts +0 -0
  309. /package/dist/{packages/taco/src/components → components}/Icon/components/TickBold.d.ts +0 -0
  310. /package/dist/{packages/taco/src/components → components}/Icon/components/Time.d.ts +0 -0
  311. /package/dist/{packages/taco/src/components → components}/Icon/components/Transfer.d.ts +0 -0
  312. /package/dist/{packages/taco/src/components → components}/Icon/components/TransferCancel.d.ts +0 -0
  313. /package/dist/{packages/taco/src/components → components}/Icon/components/TransferLocked.d.ts +0 -0
  314. /package/dist/{packages/taco/src/components → components}/Icon/components/Undo.d.ts +0 -0
  315. /package/dist/{packages/taco/src/components → components}/Icon/components/Undock.d.ts +0 -0
  316. /package/dist/{packages/taco/src/components → components}/Icon/components/Unreconciled.d.ts +0 -0
  317. /package/dist/{packages/taco/src/components → components}/Icon/components/Warning.d.ts +0 -0
  318. /package/dist/{packages/taco/src/components → components}/Icon/components/Webshop.d.ts +0 -0
  319. /package/dist/{packages/taco/src/components → components}/Icon/components/Website.d.ts +0 -0
  320. /package/dist/{packages/taco/src/components → components}/Icon/components/Workflow.d.ts +0 -0
  321. /package/dist/{packages/taco/src/components → components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
  322. /package/dist/{packages/taco/src/components → components}/Icon/components/Zoom.d.ts +0 -0
  323. /package/dist/{packages/taco/src/components → components}/Icon/components/index.d.ts +0 -0
  324. /package/dist/{packages/taco/src/components → components}/IconButton/IconButton.d.ts +0 -0
  325. /package/dist/{packages/taco/src/components → components}/Input/Input.d.ts +0 -0
  326. /package/dist/{packages/taco/src/components → components}/Input/util.d.ts +0 -0
  327. /package/dist/{packages/taco/src/components → components}/Layout/Layout.d.ts +0 -0
  328. /package/dist/{packages/taco/src/components → components}/Layout/components/Content.d.ts +0 -0
  329. /package/dist/{packages/taco/src/components → components}/Layout/components/Context.d.ts +0 -0
  330. /package/dist/{packages/taco/src/components → components}/Layout/components/Page.d.ts +0 -0
  331. /package/dist/{packages/taco/src/components → components}/Layout/components/Sidebar.d.ts +0 -0
  332. /package/dist/{packages/taco/src/components → components}/Layout/components/Top.d.ts +0 -0
  333. /package/dist/{packages/taco/src/components → components}/Listbox/Listbox.d.ts +0 -0
  334. /package/dist/{packages/taco/src/components → components}/Listbox/ScrollableList.d.ts +0 -0
  335. /package/dist/{packages/taco/src/components → components}/Listbox/useListbox.d.ts +0 -0
  336. /package/dist/{packages/taco/src/components → components}/Listbox/useMultiListbox.d.ts +0 -0
  337. /package/dist/{packages/taco/src/components → components}/Listbox/useTypeahead.d.ts +0 -0
  338. /package/dist/{packages/taco/src/components → components}/Listbox/util.d.ts +0 -0
  339. /package/dist/{packages/taco/src/components → components}/Menu/Context.d.ts +0 -0
  340. /package/dist/{packages/taco/src/components → components}/Menu/Menu.d.ts +0 -0
  341. /package/dist/{packages/taco/src/components → components}/Menu/components/Checkbox.d.ts +0 -0
  342. /package/dist/{packages/taco/src/components → components}/Menu/components/Content.d.ts +0 -0
  343. /package/dist/{packages/taco/src/components → components}/Menu/components/Header.d.ts +0 -0
  344. /package/dist/{packages/taco/src/components → components}/Menu/components/Item.d.ts +0 -0
  345. /package/dist/{packages/taco/src/components → components}/Menu/components/Link.d.ts +0 -0
  346. /package/dist/{packages/taco/src/components → components}/Menu/components/RadioGroup.d.ts +0 -0
  347. /package/dist/{packages/taco/src/components → components}/Menu/components/Separator.d.ts +0 -0
  348. /package/dist/{packages/taco/src/components → components}/Menu/components/SubMenu.d.ts +0 -0
  349. /package/dist/{packages/taco/src/components → components}/Menu/components/Trigger.d.ts +0 -0
  350. /package/dist/{packages/taco/src/components → components}/ModeSwitch/ModeSwitch.d.ts +0 -0
  351. /package/dist/{packages/taco/src/components → components}/Navigation/Navigation.d.ts +0 -0
  352. /package/dist/{packages/taco/src/components → components}/Navigation2/Navigation2.d.ts +0 -0
  353. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Content.d.ts +0 -0
  354. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Group.d.ts +0 -0
  355. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Link.d.ts +0 -0
  356. /package/dist/{packages/taco/src/components → components}/Navigation2/components/Section.d.ts +0 -0
  357. /package/dist/{packages/taco/src/components → components}/Navigation2/components/util.d.ts +0 -0
  358. /package/dist/{packages/taco/src/components → components}/OverflowGroup/OverflowGroup.d.ts +0 -0
  359. /package/dist/{packages/taco/src/components → components}/Pagination/PageNumbers.d.ts +0 -0
  360. /package/dist/{packages/taco/src/components → components}/Pagination/Pagination.d.ts +0 -0
  361. /package/dist/{packages/taco/src/components → components}/Pagination/usePagination.d.ts +0 -0
  362. /package/dist/{packages/taco/src/components → components}/Pagination/usePaginationShortcuts.d.ts +0 -0
  363. /package/dist/{packages/taco/src/components → components}/Popover/Popover.d.ts +0 -0
  364. /package/dist/{packages/taco/src/components → components}/Popover/Primitives.d.ts +0 -0
  365. /package/dist/{packages/taco/src/components → components}/Popover/util.d.ts +0 -0
  366. /package/dist/{packages/taco/src/components → components}/Progress/Progress.d.ts +0 -0
  367. /package/dist/{packages/taco/src/components → components}/Provider/Localization.d.ts +0 -0
  368. /package/dist/{packages/taco/src/components → components}/Provider/Provider.d.ts +0 -0
  369. /package/dist/{packages/taco/src/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
  370. /package/dist/{packages/taco/src/components → components}/RadioGroup/util.d.ts +0 -0
  371. /package/dist/{packages/taco/src/components → components}/ScrollArea/ScrollArea.d.ts +0 -0
  372. /package/dist/{packages/taco/src/components → components}/SearchInput/SearchInput.d.ts +0 -0
  373. /package/dist/{packages/taco/src/components → components}/SearchInput2/SearchInput2.d.ts +0 -0
  374. /package/dist/{packages/taco/src/components → components}/Select/Select.d.ts +0 -0
  375. /package/dist/{packages/taco/src/components → components}/Select/useSelect.d.ts +0 -0
  376. /package/dist/{packages/taco/src/components → components}/Select2/Select2.d.ts +0 -0
  377. /package/dist/{packages/taco/src/components → components}/Select2/components/All.d.ts +0 -0
  378. /package/dist/{packages/taco/src/components → components}/Select2/components/Collection.d.ts +0 -0
  379. /package/dist/{packages/taco/src/components → components}/Select2/components/Context.d.ts +0 -0
  380. /package/dist/{packages/taco/src/components → components}/Select2/components/Create.d.ts +0 -0
  381. /package/dist/{packages/taco/src/components → components}/Select2/components/Edit.d.ts +0 -0
  382. /package/dist/{packages/taco/src/components → components}/Select2/components/Group.d.ts +0 -0
  383. /package/dist/{packages/taco/src/components → components}/Select2/components/Option.d.ts +0 -0
  384. /package/dist/{packages/taco/src/components → components}/Select2/components/Search.d.ts +0 -0
  385. /package/dist/{packages/taco/src/components → components}/Select2/components/Title.d.ts +0 -0
  386. /package/dist/{packages/taco/src/components → components}/Select2/components/Trigger.d.ts +0 -0
  387. /package/dist/{packages/taco/src/components → components}/Select2/hooks/useChildren.d.ts +0 -0
  388. /package/dist/{packages/taco/src/components → components}/Select2/types.d.ts +0 -0
  389. /package/dist/{packages/taco/src/components → components}/Select2/utilities.d.ts +0 -0
  390. /package/dist/{packages/taco/src/components → components}/Shortcut/Shortcut.d.ts +0 -0
  391. /package/dist/{packages/taco/src/components → components}/Spinner/Spinner.d.ts +0 -0
  392. /package/dist/{packages/taco/src/components → components}/Switch/Switch.d.ts +0 -0
  393. /package/dist/{packages/taco/src/components → components}/Table/Table.d.ts +0 -0
  394. /package/dist/{packages/taco/src/components → components}/Table/Table.storyexample.d.ts +0 -0
  395. /package/dist/{packages/taco/src/components → components}/Table/components/BaseTable.d.ts +0 -0
  396. /package/dist/{packages/taco/src/components → components}/Table/components/PaginatedTable.d.ts +0 -0
  397. /package/dist/{packages/taco/src/components → components}/Table/components/Table.d.ts +0 -0
  398. /package/dist/{packages/taco/src/components → components}/Table/components/WindowedTable.d.ts +0 -0
  399. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
  400. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
  401. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
  402. /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
  403. /package/dist/{packages/taco/src/components → components}/Table/hooks/useRowCreation.d.ts +0 -0
  404. /package/dist/{packages/taco/src/components → components}/Table/hooks/useTable.d.ts +0 -0
  405. /package/dist/{packages/taco/src/components → components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
  406. /package/dist/{packages/taco/src/components → components}/Table/types.d.ts +0 -0
  407. /package/dist/{packages/taco/src/components → components}/Table/util/renderColumn.d.ts +0 -0
  408. /package/dist/{packages/taco/src/components → components}/Table/util/renderRow.d.ts +0 -0
  409. /package/dist/{packages/taco/src/components → components}/Table/util/rowIndexPath.d.ts +0 -0
  410. /package/dist/{packages/taco/src/components → components}/Table/util/sortTypes.d.ts +0 -0
  411. /package/dist/{packages/taco/src/components → components}/Table/util.d.ts +0 -0
  412. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Cell.d.ts +0 -0
  413. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +0 -0
  414. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +0 -0
  415. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/EditingControlCell.d.ts +0 -0
  416. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +0 -0
  417. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/util.d.ts +0 -0
  418. /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +0 -0
  419. /package/dist/{packages/taco/src/components → components}/Table3/components/Editing/Alert.d.ts +0 -0
  420. /package/dist/{packages/taco/src/components → components}/Table3/components/Row/Editing/SaveStatus.d.ts +0 -0
  421. /package/dist/{packages/taco/src/components → components}/Table3/components/Row/Row.d.ts +0 -0
  422. /package/dist/{packages/taco/src/components → components}/Table3/components/Toolbar/Editing/Editing.d.ts +0 -0
  423. /package/dist/{packages/taco/src/components → components}/Table3/features/useTableEditing.d.ts +0 -0
  424. /package/dist/{packages/taco/src/components → components}/Table3/listeners/useTableEditingListener.d.ts +0 -0
  425. /package/dist/{packages/taco/src/components → components}/Table3/types.d.ts +0 -0
  426. /package/dist/{packages/taco/src/components → components}/Table3/util/editing.d.ts +0 -0
  427. /package/dist/{packages/taco/src/components → components}/Tabs/Tabs.d.ts +0 -0
  428. /package/dist/{packages/taco/src/components → components}/Tag/Tag.d.ts +0 -0
  429. /package/dist/{packages/taco/src/components → components}/Textarea/Textarea.d.ts +0 -0
  430. /package/dist/{packages/taco/src/components → components}/Toast/Toast.d.ts +0 -0
  431. /package/dist/{packages/taco/src/components → components}/Toast/Toaster.d.ts +0 -0
  432. /package/dist/{packages/taco/src/components → components}/Toast/util.d.ts +0 -0
  433. /package/dist/{packages/taco/src/components → components}/Tooltip/Tooltip.d.ts +0 -0
  434. /package/dist/{packages/taco/src/components → components}/Tour/Tour.d.ts +0 -0
  435. /package/dist/{packages/taco/src/components → components}/Treeview/Treeview.d.ts +0 -0
  436. /package/dist/{packages/taco/src/components → components}/Truncate/Truncate.d.ts +0 -0
  437. /package/dist/{packages/taco/src/components → components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
  438. /package/dist/{packages/taco/src/hooks → hooks}/useBoundaryOverflowDetection.d.ts +0 -0
  439. /package/dist/{packages/taco/src/hooks → hooks}/useBoundingClientRectListener.d.ts +0 -0
  440. /package/dist/{packages/taco/src/hooks → hooks}/useDebouncedEffect.d.ts +0 -0
  441. /package/dist/{packages/taco/src/hooks → hooks}/useGlobalKeyDown.d.ts +0 -0
  442. /package/dist/{packages/taco/src/hooks → hooks}/useId.d.ts +0 -0
  443. /package/dist/{packages/taco/src/hooks → hooks}/useIntersectionObserver.d.ts +0 -0
  444. /package/dist/{packages/taco/src/hooks → hooks}/useIsFormControl.d.ts +0 -0
  445. /package/dist/{packages/taco/src/hooks → hooks}/useIsHoverStatePaused.d.ts +0 -0
  446. /package/dist/{packages/taco/src/hooks → hooks}/useIsLargeScreen.d.ts +0 -0
  447. /package/dist/{packages/taco/src/hooks → hooks}/useLazyEffect.d.ts +0 -0
  448. /package/dist/{packages/taco/src/hooks → hooks}/useLocalStorage.d.ts +0 -0
  449. /package/dist/{packages/taco/src/hooks → hooks}/useMatchMedia.d.ts +0 -0
  450. /package/dist/{packages/taco/src/hooks → hooks}/useMergedRef.d.ts +0 -0
  451. /package/dist/{packages/taco/src/hooks → hooks}/usePrevious.d.ts +0 -0
  452. /package/dist/{packages/taco/src/hooks → hooks}/useTacoSettings.d.ts +0 -0
  453. /package/dist/{packages/taco/src/index.d.ts → index.d.ts} +0 -0
  454. /package/dist/{packages/taco/src/primitives → primitives}/BubbleSelect.d.ts +0 -0
  455. /package/dist/{packages/taco/src/primitives → primitives}/Button.d.ts +0 -0
  456. /package/dist/{packages/taco/src/primitives → primitives}/Collection/Collection.d.ts +0 -0
  457. /package/dist/{packages/taco/src/primitives → primitives}/Collection/components/Root.d.ts +0 -0
  458. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/Listbox2.d.ts +0 -0
  459. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Context.d.ts +0 -0
  460. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Group.d.ts +0 -0
  461. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Option.d.ts +0 -0
  462. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Root.d.ts +0 -0
  463. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Title.d.ts +0 -0
  464. /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/types.d.ts +0 -0
  465. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/Sortable.d.ts +0 -0
  466. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Container.d.ts +0 -0
  467. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Item.d.ts +0 -0
  468. /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/List.d.ts +0 -0
  469. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/Body.d.ts +0 -0
  470. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/EmptyStateBody.d.ts +0 -0
  471. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/util.d.ts +0 -0
  472. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +0 -0
  473. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +0 -0
  474. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/Cell.d.ts +0 -0
  475. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/util.d.ts +0 -0
  476. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Actions.d.ts +0 -0
  477. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Drag.d.ts +0 -0
  478. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Expansion.d.ts +0 -0
  479. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Selection.d.ts +0 -0
  480. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Footer/Footer.d.ts +0 -0
  481. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Footer/Summary.d.ts +0 -0
  482. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/Header.d.ts +0 -0
  483. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Goto.d.ts +0 -0
  484. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Menu.d.ts +0 -0
  485. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Resizer.d.ts +0 -0
  486. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/SortIndicator.d.ts +0 -0
  487. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/util.d.ts +0 -0
  488. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +0 -0
  489. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +0 -0
  490. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/Row.d.ts +0 -0
  491. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/RowContext.d.ts +0 -0
  492. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +0 -0
  493. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
  494. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +0 -0
  495. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -0
  496. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -0
  497. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -0
  498. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/util.d.ts +0 -0
  499. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Print/Print.d.ts +0 -0
  500. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +0 -0
  501. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Search/Search.d.ts +0 -0
  502. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -0
  503. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +0 -0
  504. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheet.d.ts +0 -0
  505. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheetColumnFreezing.d.ts +0 -0
  506. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheetCssGrid.d.ts +0 -0
  507. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableGlobalShortcuts.d.ts +0 -0
  508. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableRef.d.ts +0 -0
  509. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableRenderer.d.ts +0 -0
  510. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/listeners/useTableRowActiveListener.d.ts +0 -0
  511. /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/util/rows.d.ts +0 -0
  512. /package/dist/{packages/taco/src/primitives → primitives}/Table/types.d.ts +0 -0
  513. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableDataLoader.d.ts +0 -0
  514. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
  515. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
  516. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
  517. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
  518. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
  519. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
  520. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActive.d.ts +0 -0
  521. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
  522. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowDrag.d.ts +0 -0
  523. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowDrop.d.ts +0 -0
  524. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
  525. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
  526. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
  527. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
  528. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
  529. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
  530. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
  531. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
  532. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
  533. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
  534. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
  535. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
  536. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
  537. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
  538. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
  539. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
  540. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
  541. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
  542. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/types.d.ts +0 -0
  543. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/useTableManager.d.ts +0 -0
  544. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.d.ts +0 -0
  545. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
  546. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
  547. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/presets.d.ts +0 -0
  548. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/search.d.ts +0 -0
  549. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/settings.d.ts +0 -0
  550. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/setup.d.ts +0 -0
  551. /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
  552. /package/dist/{packages/taco/src/types.d.ts → types.d.ts} +0 -0
  553. /package/dist/{packages/taco/src/utils → utils}/aria.d.ts +0 -0
  554. /package/dist/{packages/taco/src/utils → utils}/date.d.ts +0 -0
  555. /package/dist/{packages/taco/src/utils → utils}/debounce.d.ts +0 -0
  556. /package/dist/{packages/taco/src/utils → utils}/device.d.ts +0 -0
  557. /package/dist/{packages/taco/src/utils → utils}/dom.d.ts +0 -0
  558. /package/dist/{packages/taco/src/utils → utils}/hooks/useDraggable.d.ts +0 -0
  559. /package/dist/{packages/taco/src/utils → utils}/hooks/useDropTarget.d.ts +0 -0
  560. /package/dist/{packages/taco/src/utils → utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
  561. /package/dist/{packages/taco/src/utils → utils}/hooks/useListScrollTo.d.ts +0 -0
  562. /package/dist/{packages/taco/src/utils → utils}/hooks/useOnClickOutside.d.ts +0 -0
  563. /package/dist/{packages/taco/src/utils → utils}/hooks/useRefState.d.ts +0 -0
  564. /package/dist/{packages/taco/src/utils → utils}/hooks/useTimer.d.ts +0 -0
  565. /package/dist/{packages/taco/src/utils → utils}/hooks/useTruncated.d.ts +0 -0
  566. /package/dist/{packages/taco/src/utils → utils}/input.d.ts +0 -0
  567. /package/dist/{packages/taco/src/utils → utils}/keyboard.d.ts +0 -0
  568. /package/dist/{packages/taco/src/utils → utils}/mergeRefs.d.ts +0 -0
  569. /package/dist/{packages/taco/src/utils → utils}/storyutils.d.ts +0 -0
  570. /package/dist/{packages/taco/src/utils → utils}/tailwind.d.ts +0 -0
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- import { TableRef } from '../../primitives/Table/types';
3
- import { TableColumnProps, TableGroupProps, TableProps } from '../../primitives/Table/types';
2
+ import { TableColumnProps, TableGroupProps, TableProps, TableRef } from '../../primitives/Table/types';
4
3
  declare function Column<TType = unknown>(_: TableColumnProps<TType>): null;
5
4
  declare function Group(_: TableGroupProps): null;
6
5
  export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").TableClientProps<TType> & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").TableServerProps<TType> & React.RefAttributes<TableRef>)) => JSX.Element) & {
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TableRef } from '../../primitives/Table/types';
3
+ import { useTableReturnValue } from '../../primitives/Table/Core/useTable';
4
+ import { TableProps } from '../../primitives/Table/types';
5
+ export declare function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>): useTableReturnValue<TType>;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- import { TableRef } from '../../primitives/Table/types';
3
- import { TableColumnProps, TableGroupProps } from '../../primitives/Table/types';
2
+ import { TableColumnProps, TableGroupProps, TableRef } from '../../primitives/Table/types';
4
3
  import { Table3Props } from './types';
5
4
  import './style.css';
6
5
  declare function Column<TType = unknown>(_: TableColumnProps<TType>): null;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { RowData } from '@tanstack/react-table';
3
+ import { TableRef } from '../../primitives/Table/types';
4
+ import { useTableEditing } from './features/useTableEditing';
5
+ import { Table3Props } from './types';
6
+ declare module '@tanstack/table-core' {
7
+ interface TableMeta<TData extends RowData> {
8
+ editing: ReturnType<typeof useTableEditing>;
9
+ }
10
+ }
11
+ export declare function useTable3<TType>(props: Table3Props<TType>, ref: React.Ref<TableRef>): import("../../primitives/Table/Core/useTable").useTableReturnValue<TType>;
@@ -1 +1 @@
1
- {"version":3,"file":"Report.js","sources":["../../../../../../../src/components/Report/Report.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useReport } from './useReport';\nimport { TableRef } from '../../primitives/Table/types';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps, TableProps } from '../../primitives/Table/types';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Report = fixedForwardRef<TableRef, TableProps>(function Report<TType = unknown>(\n props: TableProps<TType>,\n ref: React.Ref<TableRef>\n) {\n const report = useReport<TType>(props, ref);\n\n return (\n <Table>\n <Table.Toolbar table={report as any} />\n <Table.Grid data-taco=\"table-report\" table={report as any} />\n </Table>\n );\n}) as (<TType = unknown>(props: TableProps<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nReport.Column = Column;\nReport.Group = Group;\n"],"names":["Column","_","Group","Report","fixedForwardRef","props","ref","report","useReport","React","Table","Toolbar","table","Grid"],"mappings":";;;;;AAOA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAuB,SAASD,MAAMA,CACvEE,KAAwB,EACxBC,GAAwB;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,oBACIG,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAACC,KAAK,EAAEL;IAAiB,eACvCE,6BAACC,KAAK,CAACG,IAAI;iBAAW,cAAc;IAACD,KAAK,EAAEL;IAAiB,CACzD;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
1
+ {"version":3,"file":"Report.js","sources":["../../../../../../../src/components/Report/Report.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useReport } from './useReport';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps, TableProps, TableRef } from '../../primitives/Table/types';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Report = fixedForwardRef<TableRef, TableProps>(function Report<TType = unknown>(\n props: TableProps<TType>,\n ref: React.Ref<TableRef>\n) {\n const report = useReport<TType>(props, ref);\n\n return (\n <Table>\n <Table.Toolbar<TType> table={report} />\n <Table.Grid<TType> data-taco=\"table-report\" table={report} />\n </Table>\n );\n}) as (<TType = unknown>(props: TableProps<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nReport.Column = Column;\nReport.Group = Group;\n"],"names":["Column","_","Group","Report","fixedForwardRef","props","ref","report","useReport","React","Table","Toolbar","table","Grid"],"mappings":";;;;;AAMA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAuB,SAASD,MAAMA,CACvEE,KAAwB,EACxBC,GAAwB;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,oBACIG,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAAQC,KAAK,EAAEL;IAAU,eACvCE,6BAACC,KAAK,CAACG,IAAI;iBAAkB,cAAc;IAACD,KAAK,EAAEL;IAAU,CACzD;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"useReport.js","sources":["../../../../../../../src/components/Report/useReport.tsx"],"sourcesContent":["import React from 'react';\nimport { TableRef } from '../../primitives/Table/types';\nimport { useTable } from '../../primitives/Table/Core/useTable';\nimport { DisplayRow } from '../../primitives/Table/Core/components/Row/BuiltIns/DisplayRow';\nimport { DisplayCell } from '../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { TableProps } from '../../primitives/Table/types';\n\nconst RENDERERS = {\n row: DisplayRow,\n cell: DisplayCell,\n};\n\nexport function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>) {\n return useTable<TType>(props, ref, RENDERERS);\n}\n"],"names":["RENDERERS","row","DisplayRow","cell","DisplayCell","useReport","props","ref","useTable"],"mappings":";;;;AAOA,MAAMA,SAAS,GAAG;EACdC,GAAG,EAAEC,UAAU;EACfC,IAAI,EAAEC;CACT;SAEeC,SAASA,CAAQC,KAAwB,EAAEC,GAAwB;EAC/E,OAAOC,QAAQ,CAAQF,KAAK,EAAEC,GAAG,EAAEP,SAAS,CAAC;AACjD;;;;"}
1
+ {"version":3,"file":"useReport.js","sources":["../../../../../../../src/components/Report/useReport.tsx"],"sourcesContent":["import React from 'react';\nimport { TableRef } from '../../primitives/Table/types';\nimport { useTable, useTableReturnValue } from '../../primitives/Table/Core/useTable';\nimport { DisplayRow } from '../../primitives/Table/Core/components/Row/BuiltIns/DisplayRow';\nimport { DisplayCell } from '../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { TableProps } from '../../primitives/Table/types';\n\nconst RENDERERS = {\n row: DisplayRow,\n cell: DisplayCell,\n};\n\nexport function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>): useTableReturnValue<TType> {\n return useTable<TType>(props, ref, RENDERERS);\n}\n"],"names":["RENDERERS","row","DisplayRow","cell","DisplayCell","useReport","props","ref","useTable"],"mappings":";;;;AAOA,MAAMA,SAAS,GAAG;EACdC,GAAG,EAAEC,UAAU;EACfC,IAAI,EAAEC;CACT;SAEeC,SAASA,CAAQC,KAAwB,EAAEC,GAAwB;EAC/E,OAAOC,QAAQ,CAAQF,KAAK,EAAEC,GAAG,EAAEP,SAAS,CAAC;AACjD;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Table3.js","sources":["../../../../../../../src/components/Table3/Table3.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useTable3 } from './useTable3';\nimport { TableRef } from '../../primitives/Table/types';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps } from '../../primitives/Table/types';\nimport { Alert } from './components/Editing/Alert';\nimport { Table3Props } from './types';\nimport { Editing } from './components/Toolbar/Editing/Editing';\nimport './style.css';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Table3 = fixedForwardRef<TableRef, Table3Props>(function Table3<TType = unknown>(\n props: Table3Props<TType>,\n ref: React.Ref<TableRef>\n) {\n const table3 = useTable3<TType>(props, ref);\n\n const handleBlur = (event: React.FocusEvent<HTMLTableElement>) => {\n if (table3.meta.editing.isEditing) {\n table3.meta.editing.handleBlur(event);\n }\n };\n\n const gridAttributes = {\n 'data-table-editing-mode': table3.meta.editing?.isEditing\n ? table3.meta.editing?.isDetailedMode\n ? 'detailed'\n : 'normal'\n : undefined,\n enableHorizontalArrowKeyNavigation: table3.meta.editing.isEditing,\n onBlur: handleBlur,\n };\n\n const hasValidationErrors = table3.meta.editing.hasErrors(table3.instance, table3.ref);\n\n return (\n <Table>\n <Table.Toolbar table={table3 as any}>\n {table3.meta.editing.isEnabled ? (\n <Editing scrollToIndex={table3.renderer.scrollToIndex} table={table3.instance} />\n ) : null}\n </Table.Toolbar>\n {hasValidationErrors ? (\n <Alert\n className=\"mb-4\"\n scrollToIndex={table3.renderer.scrollToIndex}\n table={table3.instance}\n tableRef={table3.ref}\n />\n ) : null}\n <Table.Grid {...gridAttributes} data-taco=\"table3\" table={table3 as any} />\n </Table>\n );\n}) as (<TType = unknown>(props: Table3Props<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nTable3.Column = Column;\nTable3.Group = Group;\n"],"names":["Column","_","Group","Table3","fixedForwardRef","props","ref","table3","useTable3","handleBlur","event","meta","editing","isEditing","gridAttributes","_table3$meta$editing","_table3$meta$editing2","isDetailedMode","undefined","enableHorizontalArrowKeyNavigation","onBlur","hasValidationErrors","hasErrors","instance","React","Table","Toolbar","table","isEnabled","Editing","scrollToIndex","renderer","Alert","className","tableRef","Grid"],"mappings":";;;;;;;AAWA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAwB,SAASD,MAAMA,CACxEE,KAAyB,EACzBC,GAAwB;;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,MAAMG,UAAU,GAAIC,KAAyC;IACzD,IAAIH,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS,EAAE;MAC/BN,MAAM,CAACI,IAAI,CAACC,OAAO,CAACH,UAAU,CAACC,KAAK,CAAC;;GAE5C;EAED,MAAMI,cAAc,GAAG;IACnB,yBAAyB,EAAE,CAAAC,oBAAA,GAAAR,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAG,oBAAA,eAAnBA,oBAAA,CAAqBF,SAAS,GACnD,CAAAG,qBAAA,GAAAT,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAI,qBAAA,eAAnBA,qBAAA,CAAqBC,cAAc,GAC/B,UAAU,GACV,QAAQ,GACZC,SAAS;IACfC,kCAAkC,EAAEZ,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS;IACjEO,MAAM,EAAEX;GACX;EAED,MAAMY,mBAAmB,GAAGd,MAAM,CAACI,IAAI,CAACC,OAAO,CAACU,SAAS,CAACf,MAAM,CAACgB,QAAQ,EAAEhB,MAAM,CAACD,GAAG,CAAC;EAEtF,oBACIkB,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAACC,KAAK,EAAEpB;KACjBA,MAAM,CAACI,IAAI,CAACC,OAAO,CAACgB,SAAS,kBAC1BJ,6BAACK,OAAO;IAACC,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAAEH,KAAK,EAAEpB,MAAM,CAACgB;IAAY,IACjF,IAAI,CACI,EACfF,mBAAmB,kBAChBG,6BAACQ,KAAK;IACFC,SAAS,EAAC,MAAM;IAChBH,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAC5CH,KAAK,EAAEpB,MAAM,CAACgB,QAAQ;IACtBW,QAAQ,EAAE3B,MAAM,CAACD;IACnB,IACF,IAAI,eACRkB,6BAACC,KAAK,CAACU,IAAI,oBAAKrB,cAAc;iBAAY,QAAQ;IAACa,KAAK,EAAEpB;KAAiB,CACvE;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
1
+ {"version":3,"file":"Table3.js","sources":["../../../../../../../src/components/Table3/Table3.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useTable3 } from './useTable3';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps, TableRef } from '../../primitives/Table/types';\nimport { Alert } from './components/Editing/Alert';\nimport { Table3Props } from './types';\nimport { Editing } from './components/Toolbar/Editing/Editing';\nimport './style.css';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Table3 = fixedForwardRef<TableRef, Table3Props>(function Table3<TType = unknown>(\n props: Table3Props<TType>,\n ref: React.Ref<TableRef>\n) {\n const table3 = useTable3<TType>(props, ref);\n\n const handleBlur = (event: React.FocusEvent<HTMLTableElement>) => {\n if (table3.meta.editing.isEditing) {\n table3.meta.editing.handleBlur(event);\n }\n };\n\n const gridAttributes = {\n 'data-table-editing-mode': table3.meta.editing?.isEditing\n ? table3.meta.editing?.isDetailedMode\n ? 'detailed'\n : 'normal'\n : undefined,\n enableHorizontalArrowKeyNavigation: table3.meta.editing.isEditing,\n onBlur: handleBlur,\n };\n\n const hasValidationErrors = table3.meta.editing.hasErrors(table3.instance, table3.ref);\n\n return (\n <Table>\n <Table.Toolbar<TType> table={table3}>\n {table3.meta.editing.isEnabled ? (\n <Editing scrollToIndex={table3.renderer.scrollToIndex} table={table3.instance} />\n ) : null}\n </Table.Toolbar>\n {hasValidationErrors ? (\n <Alert\n className=\"mb-4\"\n scrollToIndex={table3.renderer.scrollToIndex}\n table={table3.instance}\n tableRef={table3.ref}\n />\n ) : null}\n <Table.Grid<TType> {...gridAttributes} data-taco=\"table3\" table={table3} />\n </Table>\n );\n}) as (<TType = unknown>(props: Table3Props<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nTable3.Column = Column;\nTable3.Group = Group;\n"],"names":["Column","_","Group","Table3","fixedForwardRef","props","ref","table3","useTable3","handleBlur","event","meta","editing","isEditing","gridAttributes","_table3$meta$editing","_table3$meta$editing2","isDetailedMode","undefined","enableHorizontalArrowKeyNavigation","onBlur","hasValidationErrors","hasErrors","instance","React","Table","Toolbar","table","isEnabled","Editing","scrollToIndex","renderer","Alert","className","tableRef","Grid"],"mappings":";;;;;;;AAUA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAwB,SAASD,MAAMA,CACxEE,KAAyB,EACzBC,GAAwB;;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,MAAMG,UAAU,GAAIC,KAAyC;IACzD,IAAIH,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS,EAAE;MAC/BN,MAAM,CAACI,IAAI,CAACC,OAAO,CAACH,UAAU,CAACC,KAAK,CAAC;;GAE5C;EAED,MAAMI,cAAc,GAAG;IACnB,yBAAyB,EAAE,CAAAC,oBAAA,GAAAR,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAG,oBAAA,eAAnBA,oBAAA,CAAqBF,SAAS,GACnD,CAAAG,qBAAA,GAAAT,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAI,qBAAA,eAAnBA,qBAAA,CAAqBC,cAAc,GAC/B,UAAU,GACV,QAAQ,GACZC,SAAS;IACfC,kCAAkC,EAAEZ,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS;IACjEO,MAAM,EAAEX;GACX;EAED,MAAMY,mBAAmB,GAAGd,MAAM,CAACI,IAAI,CAACC,OAAO,CAACU,SAAS,CAACf,MAAM,CAACgB,QAAQ,EAAEhB,MAAM,CAACD,GAAG,CAAC;EAEtF,oBACIkB,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAAQC,KAAK,EAAEpB;KACxBA,MAAM,CAACI,IAAI,CAACC,OAAO,CAACgB,SAAS,kBAC1BJ,6BAACK,OAAO;IAACC,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAAEH,KAAK,EAAEpB,MAAM,CAACgB;IAAY,IACjF,IAAI,CACI,EACfF,mBAAmB,kBAChBG,6BAACQ,KAAK;IACFC,SAAS,EAAC,MAAM;IAChBH,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAC5CH,KAAK,EAAEpB,MAAM,CAACgB,QAAQ;IACtBW,QAAQ,EAAE3B,MAAM,CAACD;IACnB,IACF,IAAI,eACRkB,6BAACC,KAAK,CAACU,IAAI,oBAAYrB,cAAc;iBAAY,QAAQ;IAACa,KAAK,EAAEpB;KAAU,CACvE;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sources":["../../../../../../../../src/primitives/Table/Core/Table.tsx"],"sourcesContent":["import React from 'react';\nimport { FocusScope } from '@react-aria/focus';\nimport { Header } from './components/Header/Header';\nimport { Body } from './components/Body/Body';\nimport { Footer } from './components/Footer/Footer';\nimport { EmptyStateBody } from './components/Body/EmptyStateBody';\nimport { useTable } from './useTable';\nimport { TableToolbar } from './components/Toolbar/Toolbar';\nimport './style.css';\n\ntype TableProps = {\n children: JSX.Element | Array<JSX.Element | null>;\n};\n\nexport function Table(props: TableProps) {\n return <>{props.children}</>;\n}\nTable.Toolbar = TableToolbar;\nTable.Grid = TableGrid;\n\nexport type TableGridProps = React.TableHTMLAttributes<HTMLTableElement> & {\n 'data-taco': string;\n enableHorizontalArrowKeyNavigation?: boolean;\n table: ReturnType<typeof useTable>;\n};\n\nexport function TableGrid(props: TableGridProps) {\n const { enableHorizontalArrowKeyNavigation, table, ...attributes } = props;\n const handleFocus =\n table.meta.rowActive.rowActiveIndex === undefined\n ? (event: React.FocusEvent) => {\n table.meta.rowActive.handleFocus(event, table.meta.length, table.renderer.scrollToIndex);\n }\n : undefined;\n\n return (\n <>\n {table.stylesheet}\n <FocusScope>\n <table\n {...attributes}\n id={table.id}\n data-table-font-size={table.meta.fontSize.size}\n data-table-horizontally-scrolled={table.meta.columnFreezing.isHorizontallyScrolled ? true : undefined}\n data-table-pause-hover={table.meta.rowActive.isHoverStatePaused ? true : undefined}\n data-table-resizing={table.state.columnSizingInfo.isResizingColumn ? true : undefined}\n data-table-row-height={table.meta.rowHeight.height}\n data-table-grouped={!!table.state.grouping?.length}\n onFocus={handleFocus}\n onScroll={table.meta.columnFreezing.handleScroll}\n ref={table.ref}\n tabIndex={-1}>\n <thead>\n {table.instance.getHeaderGroups().map(headerGroup => (\n <tr key={headerGroup.id}>\n {headerGroup.headers.map(props => (\n <Header key={props.id} header={props} scrollToIndex={table.renderer.scrollToIndex} />\n ))}\n </tr>\n ))}\n </thead>\n {table.renderer.rows?.length ? (\n <>\n <Body\n enableHorizontalArrowKeyNavigation={enableHorizontalArrowKeyNavigation}\n table={table.instance}\n style={table.renderer.style}>\n {table.renderer.rows}\n </Body>\n {table.meta.footer.isEnabled ? (\n <tfoot>\n <tr>{table.instance.getFooterGroups()[0].headers.map(Footer)}</tr>\n </tfoot>\n ) : null}\n </>\n ) : (\n <EmptyStateBody emptyState={table.props.emptyState} />\n )}\n </table>\n </FocusScope>\n </>\n );\n}\n"],"names":["Table","props","React","children","Toolbar","TableToolbar","Grid","TableGrid","enableHorizontalArrowKeyNavigation","table","attributes","handleFocus","meta","rowActive","rowActiveIndex","undefined","event","length","renderer","scrollToIndex","stylesheet","FocusScope","id","fontSize","size","columnFreezing","isHorizontallyScrolled","isHoverStatePaused","state","columnSizingInfo","isResizingColumn","rowHeight","height","_table$state$grouping","grouping","onFocus","onScroll","handleScroll","ref","tabIndex","instance","getHeaderGroups","map","headerGroup","key","headers","Header","header","_table$renderer$rows","rows","Body","style","footer","isEnabled","getFooterGroups","Footer","EmptyStateBody","emptyState"],"mappings":";;;;;;;;SAcgBA,KAAKA,CAACC,KAAiB;EACnC,oBAAOC,4DAAGD,KAAK,CAACE,QAAQ,CAAI;AAChC;AACAH,KAAK,CAACI,OAAO,GAAGC,YAAY;AAC5BL,KAAK,CAACM,IAAI,GAAGC,SAAS;SAQNA,SAASA,CAACN,KAAqB;;EAC3C,MAAM;IAAEO,kCAAkC;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGT,KAAK;EAC1E,MAAMU,WAAW,GACbF,KAAK,CAACG,IAAI,CAACC,SAAS,CAACC,cAAc,KAAKC,SAAS,GAC1CC,KAAuB;IACpBP,KAAK,CAACG,IAAI,CAACC,SAAS,CAACF,WAAW,CAACK,KAAK,EAAEP,KAAK,CAACG,IAAI,CAACK,MAAM,EAAER,KAAK,CAACS,QAAQ,CAACC,aAAa,CAAC;GAC3F,GACDJ,SAAS;EAEnB,oBACIb,4DACKO,KAAK,CAACW,UAAU,eACjBlB,6BAACmB,UAAU,qBACPnB,wDACQQ,UAAU;IACdY,EAAE,EAAEb,KAAK,CAACa,EAAE;4BACUb,KAAK,CAACG,IAAI,CAACW,QAAQ,CAACC,IAAI;wCACZf,KAAK,CAACG,IAAI,CAACa,cAAc,CAACC,sBAAsB,GAAG,IAAI,GAAGX,SAAS;8BAC7EN,KAAK,CAACG,IAAI,CAACC,SAAS,CAACc,kBAAkB,GAAG,IAAI,GAAGZ,SAAS;2BAC7DN,KAAK,CAACmB,KAAK,CAACC,gBAAgB,CAACC,gBAAgB,GAAG,IAAI,GAAGf,SAAS;6BAC9DN,KAAK,CAACG,IAAI,CAACmB,SAAS,CAACC,MAAM;0BAC9B,CAAC,GAAAC,qBAAA,GAACxB,KAAK,CAACmB,KAAK,CAACM,QAAQ,cAAAD,qBAAA,eAApBA,qBAAA,CAAsBhB,MAAM;IAClDkB,OAAO,EAAExB,WAAW;IACpByB,QAAQ,EAAE3B,KAAK,CAACG,IAAI,CAACa,cAAc,CAACY,YAAY;IAChDC,GAAG,EAAE7B,KAAK,CAAC6B,GAAG;IACdC,QAAQ,EAAE,CAAC;mBACXrC,4CACKO,KAAK,CAAC+B,QAAQ,CAACC,eAAe,EAAE,CAACC,GAAG,CAACC,WAAW,mBAC7CzC;IAAI0C,GAAG,EAAED,WAAW,CAACrB;KAChBqB,WAAW,CAACE,OAAO,CAACH,GAAG,CAACzC,KAAK,mBAC1BC,6BAAC4C,MAAM;IAACF,GAAG,EAAE3C,KAAK,CAACqB,EAAE;IAAEyB,MAAM,EAAE9C,KAAK;IAAEkB,aAAa,EAAEV,KAAK,CAACS,QAAQ,CAACC;IAAiB,CACxF,CAAC,CACD,CACR,CAAC,CACE,EACP,CAAA6B,oBAAA,GAAAvC,KAAK,CAACS,QAAQ,CAAC+B,IAAI,cAAAD,oBAAA,eAAnBA,oBAAA,CAAqB/B,MAAM,kBACxBf,yEACIA,6BAACgD,IAAI;IACD1C,kCAAkC,EAAEA,kCAAkC;IACtEC,KAAK,EAAEA,KAAK,CAAC+B,QAAQ;IACrBW,KAAK,EAAE1C,KAAK,CAACS,QAAQ,CAACiC;KACrB1C,KAAK,CAACS,QAAQ,CAAC+B,IAAI,CACjB,EACNxC,KAAK,CAACG,IAAI,CAACwC,MAAM,CAACC,SAAS,kBACxBnD,yDACIA,yCAAKO,KAAK,CAAC+B,QAAQ,CAACc,eAAe,EAAE,CAAC,CAAC,CAAC,CAACT,OAAO,CAACH,GAAG,CAACa,MAAM,CAAC,CAAM,CAC9D,IACR,IAAI,CACT,mBAEHrD,6BAACsD,cAAc;IAACC,UAAU,EAAEhD,KAAK,CAACR,KAAK,CAACwD;IAAc,CACzD,CACG,CACC,CACd;AAEX;;;;"}
1
+ {"version":3,"file":"Table.js","sources":["../../../../../../../../src/primitives/Table/Core/Table.tsx"],"sourcesContent":["import React from 'react';\nimport { FocusScope } from '@react-aria/focus';\nimport { Header } from './components/Header/Header';\nimport { Body } from './components/Body/Body';\nimport { Footer } from './components/Footer/Footer';\nimport { EmptyStateBody } from './components/Body/EmptyStateBody';\nimport { useTableReturnValue } from './useTable';\nimport { TableToolbar } from './components/Toolbar/Toolbar';\nimport './style.css';\n\ntype TableProps = {\n children: JSX.Element | Array<JSX.Element | null>;\n};\n\nexport function Table(props: TableProps) {\n return <>{props.children}</>;\n}\nTable.Toolbar = TableToolbar;\nTable.Grid = TableGrid;\n\nexport type TableGridProps<TType = unknown> = React.TableHTMLAttributes<HTMLTableElement> & {\n 'data-taco': string;\n enableHorizontalArrowKeyNavigation?: boolean;\n table: useTableReturnValue<TType>;\n};\n\nexport function TableGrid<TType = unknown>(props: TableGridProps<TType>) {\n const { enableHorizontalArrowKeyNavigation, table, ...attributes } = props;\n const handleFocus =\n table.meta.rowActive.rowActiveIndex === undefined\n ? (event: React.FocusEvent) => {\n table.meta.rowActive.handleFocus(event, table.meta.length, table.renderer.scrollToIndex);\n }\n : undefined;\n\n return (\n <>\n {table.stylesheet}\n <FocusScope>\n <table\n {...attributes}\n id={table.id}\n data-table-font-size={table.meta.fontSize.size}\n data-table-horizontally-scrolled={table.meta.columnFreezing.isHorizontallyScrolled ? true : undefined}\n data-table-pause-hover={table.meta.rowActive.isHoverStatePaused ? true : undefined}\n data-table-resizing={table.state.columnSizingInfo.isResizingColumn ? true : undefined}\n data-table-row-height={table.meta.rowHeight.height}\n data-table-grouped={!!table.state.grouping?.length}\n onFocus={handleFocus}\n onScroll={table.meta.columnFreezing.handleScroll}\n ref={table.ref}\n tabIndex={-1}>\n <thead>\n {table.instance.getHeaderGroups().map(headerGroup => (\n <tr key={headerGroup.id}>\n {headerGroup.headers.map(props => (\n <Header key={props.id} header={props} scrollToIndex={table.renderer.scrollToIndex} />\n ))}\n </tr>\n ))}\n </thead>\n {table.renderer.rows?.length ? (\n <>\n <Body\n enableHorizontalArrowKeyNavigation={enableHorizontalArrowKeyNavigation}\n table={table.instance}\n style={table.renderer.style}>\n {table.renderer.rows}\n </Body>\n {table.meta.footer.isEnabled ? (\n <tfoot>\n <tr>{table.instance.getFooterGroups()[0].headers.map(Footer)}</tr>\n </tfoot>\n ) : null}\n </>\n ) : (\n <EmptyStateBody emptyState={table.props.emptyState} />\n )}\n </table>\n </FocusScope>\n </>\n );\n}\n"],"names":["Table","props","React","children","Toolbar","TableToolbar","Grid","TableGrid","enableHorizontalArrowKeyNavigation","table","attributes","handleFocus","meta","rowActive","rowActiveIndex","undefined","event","length","renderer","scrollToIndex","stylesheet","FocusScope","id","fontSize","size","columnFreezing","isHorizontallyScrolled","isHoverStatePaused","state","columnSizingInfo","isResizingColumn","rowHeight","height","_table$state$grouping","grouping","onFocus","onScroll","handleScroll","ref","tabIndex","instance","getHeaderGroups","map","headerGroup","key","headers","Header","header","_table$renderer$rows","rows","Body","style","footer","isEnabled","getFooterGroups","Footer","EmptyStateBody","emptyState"],"mappings":";;;;;;;;SAcgBA,KAAKA,CAACC,KAAiB;EACnC,oBAAOC,4DAAGD,KAAK,CAACE,QAAQ,CAAI;AAChC;AACAH,KAAK,CAACI,OAAO,GAAGC,YAAY;AAC5BL,KAAK,CAACM,IAAI,GAAGC,SAAS;SAQNA,SAASA,CAAkBN,KAA4B;;EACnE,MAAM;IAAEO,kCAAkC;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGT,KAAK;EAC1E,MAAMU,WAAW,GACbF,KAAK,CAACG,IAAI,CAACC,SAAS,CAACC,cAAc,KAAKC,SAAS,GAC1CC,KAAuB;IACpBP,KAAK,CAACG,IAAI,CAACC,SAAS,CAACF,WAAW,CAACK,KAAK,EAAEP,KAAK,CAACG,IAAI,CAACK,MAAM,EAAER,KAAK,CAACS,QAAQ,CAACC,aAAa,CAAC;GAC3F,GACDJ,SAAS;EAEnB,oBACIb,4DACKO,KAAK,CAACW,UAAU,eACjBlB,6BAACmB,UAAU,qBACPnB,wDACQQ,UAAU;IACdY,EAAE,EAAEb,KAAK,CAACa,EAAE;4BACUb,KAAK,CAACG,IAAI,CAACW,QAAQ,CAACC,IAAI;wCACZf,KAAK,CAACG,IAAI,CAACa,cAAc,CAACC,sBAAsB,GAAG,IAAI,GAAGX,SAAS;8BAC7EN,KAAK,CAACG,IAAI,CAACC,SAAS,CAACc,kBAAkB,GAAG,IAAI,GAAGZ,SAAS;2BAC7DN,KAAK,CAACmB,KAAK,CAACC,gBAAgB,CAACC,gBAAgB,GAAG,IAAI,GAAGf,SAAS;6BAC9DN,KAAK,CAACG,IAAI,CAACmB,SAAS,CAACC,MAAM;0BAC9B,CAAC,GAAAC,qBAAA,GAACxB,KAAK,CAACmB,KAAK,CAACM,QAAQ,cAAAD,qBAAA,eAApBA,qBAAA,CAAsBhB,MAAM;IAClDkB,OAAO,EAAExB,WAAW;IACpByB,QAAQ,EAAE3B,KAAK,CAACG,IAAI,CAACa,cAAc,CAACY,YAAY;IAChDC,GAAG,EAAE7B,KAAK,CAAC6B,GAAG;IACdC,QAAQ,EAAE,CAAC;mBACXrC,4CACKO,KAAK,CAAC+B,QAAQ,CAACC,eAAe,EAAE,CAACC,GAAG,CAACC,WAAW,mBAC7CzC;IAAI0C,GAAG,EAAED,WAAW,CAACrB;KAChBqB,WAAW,CAACE,OAAO,CAACH,GAAG,CAACzC,KAAK,mBAC1BC,6BAAC4C,MAAM;IAACF,GAAG,EAAE3C,KAAK,CAACqB,EAAE;IAAEyB,MAAM,EAAE9C,KAAK;IAAEkB,aAAa,EAAEV,KAAK,CAACS,QAAQ,CAACC;IAAiB,CACxF,CAAC,CACD,CACR,CAAC,CACE,EACP,CAAA6B,oBAAA,GAAAvC,KAAK,CAACS,QAAQ,CAAC+B,IAAI,cAAAD,oBAAA,eAAnBA,oBAAA,CAAqB/B,MAAM,kBACxBf,yEACIA,6BAACgD,IAAI;IACD1C,kCAAkC,EAAEA,kCAAkC;IACtEC,KAAK,EAAEA,KAAK,CAAC+B,QAAQ;IACrBW,KAAK,EAAE1C,KAAK,CAACS,QAAQ,CAACiC;KACrB1C,KAAK,CAACS,QAAQ,CAAC+B,IAAI,CACjB,EACNxC,KAAK,CAACG,IAAI,CAACwC,MAAM,CAACC,SAAS,kBACxBnD,yDACIA,yCAAKO,KAAK,CAAC+B,QAAQ,CAACc,eAAe,EAAE,CAAC,CAAC,CAAC,CAACT,OAAO,CAACH,GAAG,CAACa,MAAM,CAAC,CAAM,CAC9D,IACR,IAAI,CACT,mBAEHrD,6BAACsD,cAAc;IAACC,UAAU,EAAEhD,KAAK,CAACR,KAAK,CAACwD;IAAc,CACzD,CACG,CACC,CACd;AAEX;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toolbar.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Group } from '../../../../../components/Group/Group';\nimport { Search } from './components/Search/Search';\nimport { Settings } from './components/Settings/Settings';\nimport { Print } from './components/Print/Print';\nimport { Filters } from './components/Filters/Filters';\nimport { TableCustomSettingsRenderer } from '../../../types';\nimport { useTable } from '../../useTable';\n\nexport type TableToolbarProps = React.HTMLAttributes<HTMLDivElement> & {\n children?: JSX.Element | null;\n table: ReturnType<typeof useTable>;\n};\n\nexport function TableToolbar(props: TableToolbarProps) {\n const { children: customTools, table, ...attributes } = props;\n\n if (!isToolbarVisible(table, !!customTools)) {\n return null;\n }\n\n const canFilter = table.instance.options.enableColumnFilters;\n const canPrint = table.meta.printing.isEnabled;\n const canSettings = canChangeSettings(table.instance, table.props.customSettings);\n const canSearch = table.meta.search.isEnabled;\n\n return (\n <>\n <div\n {...attributes}\n className=\"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden\"\n data-taco=\"table-toolbar\">\n {table.props.toolbarLeft}\n <Group className=\"ml-auto flex-shrink-0 items-center print:hidden\">\n {customTools}\n {canFilter ? <Filters length={table.meta.length} table={table.instance} /> : null}\n {table.props.toolbarRight}\n {canPrint ? <Print table={table.instance} tableId={table.id} tableRef={table.ref} /> : null}\n {canSettings ? <Settings customSettings={table.props.customSettings} table={table.instance} /> : null}\n {canSearch ? (\n <Search scrollToIndex={table.renderer.scrollToIndex} table={table.instance} tableRef={table.ref} />\n ) : null}\n </Group>\n </div>\n {table.props.toolbarPanel ? <div className=\"mb-4\">{table.props.toolbarPanel}</div> : undefined}\n </>\n );\n}\n\nfunction canChangeSettings<TType = unknown>(table: ReactTable<TType>, customSettings?: TableCustomSettingsRenderer) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n return (\n table.options.enableHiding ||\n tableMeta.columnOrdering.isEnabled ||\n tableMeta.fontSize.isEnabled ||\n tableMeta.rowHeight.isEnabled ||\n typeof customSettings === 'function'\n );\n}\n\nfunction isToolbarVisible(table: ReturnType<typeof useTable>, customTools: boolean) {\n const hasInternalToolbar =\n customTools ||\n table.instance.options.enableColumnFilters ||\n table.meta.printing.isEnabled ||\n canChangeSettings(table.instance, table.props.customSettings) ||\n table.meta.search.isEnabled;\n\n return hasInternalToolbar || !!table.props.toolbarLeft || !!table.props.toolbarRight;\n}\n"],"names":["TableToolbar","props","children","customTools","table","attributes","isToolbarVisible","canFilter","instance","options","enableColumnFilters","canPrint","meta","printing","isEnabled","canSettings","canChangeSettings","customSettings","canSearch","search","React","className","toolbarLeft","Group","Filters","length","toolbarRight","Print","tableId","id","tableRef","ref","Settings","Search","scrollToIndex","renderer","toolbarPanel","undefined","tableMeta","enableHiding","columnOrdering","fontSize","rowHeight","hasInternalToolbar"],"mappings":";;;;;;;SAegBA,YAAYA,CAACC,KAAwB;EACjD,MAAM;IAAEC,QAAQ,EAAEC,WAAW;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGJ,KAAK;EAE7D,IAAI,CAACK,gBAAgB,CAACF,KAAK,EAAE,CAAC,CAACD,WAAW,CAAC,EAAE;IACzC,OAAO,IAAI;;EAGf,MAAMI,SAAS,GAAGH,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB;EAC5D,MAAMC,QAAQ,GAAGP,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS;EAC9C,MAAMC,WAAW,GAAGC,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC;EACjF,MAAMC,SAAS,GAAGd,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE7C,oBACIM,yEACIA,sDACQf,UAAU;IACdgB,SAAS,EAAC,gEAAgE;iBAChE;MACTjB,KAAK,CAACH,KAAK,CAACqB,WAAW,eACxBF,6BAACG,KAAK;IAACF,SAAS,EAAC;KACZlB,WAAW,EACXI,SAAS,gBAAGa,6BAACI,OAAO;IAACC,MAAM,EAAErB,KAAK,CAACQ,IAAI,CAACa,MAAM;IAAErB,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EAChFJ,KAAK,CAACH,KAAK,CAACyB,YAAY,EACxBf,QAAQ,gBAAGS,6BAACO,KAAK;IAACvB,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEoB,OAAO,EAAExB,KAAK,CAACyB,EAAE;IAAEC,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,GAAG,IAAI,EAC1FhB,WAAW,gBAAGK,6BAACY,QAAQ;IAACf,cAAc,EAAEb,KAAK,CAACH,KAAK,CAACgB,cAAc;IAAEb,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EACpGU,SAAS,kBACNE,6BAACa,MAAM;IAACC,aAAa,EAAE9B,KAAK,CAAC+B,QAAQ,CAACD,aAAa;IAAE9B,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEsB,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,IACnG,IAAI,CACJ,CACN,EACL3B,KAAK,CAACH,KAAK,CAACmC,YAAY,gBAAGhB;IAAKC,SAAS,EAAC;KAAQjB,KAAK,CAACH,KAAK,CAACmC,YAAY,CAAO,GAAGC,SAAS,CAC/F;AAEX;AAEA,SAASrB,iBAAiBA,CAAkBZ,KAAwB,EAAEa,cAA4C;EAC9G,MAAMqB,SAAS,GAAGlC,KAAK,CAACK,OAAO,CAACG,IAA6B;EAE7D,OACIR,KAAK,CAACK,OAAO,CAAC8B,YAAY,IAC1BD,SAAS,CAACE,cAAc,CAAC1B,SAAS,IAClCwB,SAAS,CAACG,QAAQ,CAAC3B,SAAS,IAC5BwB,SAAS,CAACI,SAAS,CAAC5B,SAAS,IAC7B,OAAOG,cAAc,KAAK,UAAU;AAE5C;AAEA,SAASX,gBAAgBA,CAACF,KAAkC,EAAED,WAAoB;EAC9E,MAAMwC,kBAAkB,GACpBxC,WAAW,IACXC,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB,IAC1CN,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS,IAC7BE,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC,IAC7Db,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE/B,OAAO6B,kBAAkB,IAAI,CAAC,CAACvC,KAAK,CAACH,KAAK,CAACqB,WAAW,IAAI,CAAC,CAAClB,KAAK,CAACH,KAAK,CAACyB,YAAY;AACxF;;;;"}
1
+ {"version":3,"file":"Toolbar.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Group } from '../../../../../components/Group/Group';\nimport { Search } from './components/Search/Search';\nimport { Settings } from './components/Settings/Settings';\nimport { Print } from './components/Print/Print';\nimport { Filters } from './components/Filters/Filters';\nimport { TableCustomSettingsRenderer } from '../../../types';\nimport { useTableReturnValue } from '../../useTable';\n\nexport type TableToolbarProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {\n children?: JSX.Element | null;\n table: useTableReturnValue<TType>;\n};\n\nexport function TableToolbar<TType = unknown>(props: TableToolbarProps<TType>) {\n const { children: customTools, table, ...attributes } = props;\n\n if (!isToolbarVisible<TType>(table, !!customTools)) {\n return null;\n }\n\n const canFilter = table.instance.options.enableColumnFilters;\n const canPrint = table.meta.printing.isEnabled;\n const canSettings = canChangeSettings(table.instance, table.props.customSettings);\n const canSearch = table.meta.search.isEnabled;\n\n return (\n <>\n <div\n {...attributes}\n className=\"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden\"\n data-taco=\"table-toolbar\">\n {table.props.toolbarLeft}\n <Group className=\"ml-auto flex-shrink-0 items-center print:hidden\">\n {customTools}\n {canFilter ? <Filters length={table.meta.length} table={table.instance} /> : null}\n {table.props.toolbarRight}\n {canPrint ? <Print table={table.instance} tableId={table.id} tableRef={table.ref} /> : null}\n {canSettings ? <Settings customSettings={table.props.customSettings} table={table.instance} /> : null}\n {canSearch ? (\n <Search scrollToIndex={table.renderer.scrollToIndex} table={table.instance} tableRef={table.ref} />\n ) : null}\n </Group>\n </div>\n {table.props.toolbarPanel ? <div className=\"mb-4\">{table.props.toolbarPanel}</div> : undefined}\n </>\n );\n}\n\nfunction canChangeSettings<TType = unknown>(table: ReactTable<TType>, customSettings?: TableCustomSettingsRenderer) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n return (\n table.options.enableHiding ||\n tableMeta.columnOrdering.isEnabled ||\n tableMeta.fontSize.isEnabled ||\n tableMeta.rowHeight.isEnabled ||\n typeof customSettings === 'function'\n );\n}\n\nfunction isToolbarVisible<TType = unknown>(table: useTableReturnValue<TType>, customTools: boolean) {\n const hasInternalToolbar =\n customTools ||\n table.instance.options.enableColumnFilters ||\n table.meta.printing.isEnabled ||\n canChangeSettings(table.instance, table.props.customSettings) ||\n table.meta.search.isEnabled;\n\n return hasInternalToolbar || !!table.props.toolbarLeft || !!table.props.toolbarRight;\n}\n"],"names":["TableToolbar","props","children","customTools","table","attributes","isToolbarVisible","canFilter","instance","options","enableColumnFilters","canPrint","meta","printing","isEnabled","canSettings","canChangeSettings","customSettings","canSearch","search","React","className","toolbarLeft","Group","Filters","length","toolbarRight","Print","tableId","id","tableRef","ref","Settings","Search","scrollToIndex","renderer","toolbarPanel","undefined","tableMeta","enableHiding","columnOrdering","fontSize","rowHeight","hasInternalToolbar"],"mappings":";;;;;;;SAegBA,YAAYA,CAAkBC,KAA+B;EACzE,MAAM;IAAEC,QAAQ,EAAEC,WAAW;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGJ,KAAK;EAE7D,IAAI,CAACK,gBAAgB,CAAQF,KAAK,EAAE,CAAC,CAACD,WAAW,CAAC,EAAE;IAChD,OAAO,IAAI;;EAGf,MAAMI,SAAS,GAAGH,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB;EAC5D,MAAMC,QAAQ,GAAGP,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS;EAC9C,MAAMC,WAAW,GAAGC,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC;EACjF,MAAMC,SAAS,GAAGd,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE7C,oBACIM,yEACIA,sDACQf,UAAU;IACdgB,SAAS,EAAC,gEAAgE;iBAChE;MACTjB,KAAK,CAACH,KAAK,CAACqB,WAAW,eACxBF,6BAACG,KAAK;IAACF,SAAS,EAAC;KACZlB,WAAW,EACXI,SAAS,gBAAGa,6BAACI,OAAO;IAACC,MAAM,EAAErB,KAAK,CAACQ,IAAI,CAACa,MAAM;IAAErB,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EAChFJ,KAAK,CAACH,KAAK,CAACyB,YAAY,EACxBf,QAAQ,gBAAGS,6BAACO,KAAK;IAACvB,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEoB,OAAO,EAAExB,KAAK,CAACyB,EAAE;IAAEC,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,GAAG,IAAI,EAC1FhB,WAAW,gBAAGK,6BAACY,QAAQ;IAACf,cAAc,EAAEb,KAAK,CAACH,KAAK,CAACgB,cAAc;IAAEb,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EACpGU,SAAS,kBACNE,6BAACa,MAAM;IAACC,aAAa,EAAE9B,KAAK,CAAC+B,QAAQ,CAACD,aAAa;IAAE9B,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEsB,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,IACnG,IAAI,CACJ,CACN,EACL3B,KAAK,CAACH,KAAK,CAACmC,YAAY,gBAAGhB;IAAKC,SAAS,EAAC;KAAQjB,KAAK,CAACH,KAAK,CAACmC,YAAY,CAAO,GAAGC,SAAS,CAC/F;AAEX;AAEA,SAASrB,iBAAiBA,CAAkBZ,KAAwB,EAAEa,cAA4C;EAC9G,MAAMqB,SAAS,GAAGlC,KAAK,CAACK,OAAO,CAACG,IAA6B;EAE7D,OACIR,KAAK,CAACK,OAAO,CAAC8B,YAAY,IAC1BD,SAAS,CAACE,cAAc,CAAC1B,SAAS,IAClCwB,SAAS,CAACG,QAAQ,CAAC3B,SAAS,IAC5BwB,SAAS,CAACI,SAAS,CAAC5B,SAAS,IAC7B,OAAOG,cAAc,KAAK,UAAU;AAE5C;AAEA,SAASX,gBAAgBA,CAAkBF,KAAiC,EAAED,WAAoB;EAC9F,MAAMwC,kBAAkB,GACpBxC,WAAW,IACXC,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB,IAC1CN,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS,IAC7BE,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC,IAC7Db,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE/B,OAAO6B,kBAAkB,IAAI,CAAC,CAACvC,KAAK,CAACH,KAAK,CAACqB,WAAW,IAAI,CAAC,CAAClB,KAAK,CAACH,KAAK,CAACyB,YAAY;AACxF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTable.js","sources":["../../../../../../../../src/primitives/Table/Core/useTable.ts"],"sourcesContent":["import { TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useMergedRef } from '../../../hooks/useMergedRef';\nimport { TableProps } from '../types';\nimport { useTableManager } from '../useTableManager/useTableManager';\nimport { useStylesheet } from './features/useStylesheet';\nimport { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts';\nimport { useTableRef } from './features/useTableRef';\nimport { useTableRenderer } from './features/useTableRenderer';\nimport { useTableRowActiveListener } from './listeners/useTableRowActiveListener';\nimport { TableRef } from '../types';\nimport { useTableRenderers } from './types';\nimport { renderer as rowActions } from './components/Columns/Internal/Actions';\nimport { renderer as rowDrag } from './components/Columns/Internal/Drag';\nimport { renderer as rowExpansion } from './components/Columns/Internal/Expansion';\nimport { renderer as rowSelection } from './components/Columns/Internal/Selection';\nimport { useTableManagerInternalColumns } from '../useTableManager/types';\n\nconst INTERNAL_RENDERERS = {\n rowActions,\n rowDrag,\n rowExpansion,\n rowSelection,\n};\n\nexport function useTable<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n externalRef: React.Ref<TableRef>,\n renderers: useTableRenderers<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta\n) {\n // create a ref and merge with the consumer's ref\n const ref = useMergedRef<TableRef>(externalRef);\n // configure the table\n const manager = useTableManager<TType>(props, meta, INTERNAL_RENDERERS as useTableManagerInternalColumns<TType>);\n // configure the virtualised renderer\n const renderer = useTableRenderer<TType>(renderers, manager.instance, ref, props.defaultRowActiveIndex);\n // configure dynamic styling\n const stylesheet = useStylesheet(manager.id, manager.instance);\n // configure global keyboard shortcuts\n useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);\n // augment the ref with some helper functions\n useTableRef(manager.instance, ref);\n\n // listeners - they are here and not in useTableManager because they rely on the dom and the table ref\n useTableRowActiveListener(manager.instance, ref);\n\n return {\n ...manager,\n props: {\n customSettings: props.customSettings,\n emptyState: props.emptyState,\n toolbarLeft: props.toolbarLeft,\n toolbarPanel: props.toolbarPanel,\n toolbarRight: props.toolbarRight,\n },\n renderer,\n stylesheet,\n ref,\n };\n}\n"],"names":["INTERNAL_RENDERERS","rowActions","rowDrag","rowExpansion","rowSelection","useTable","props","externalRef","renderers","meta","ref","useMergedRef","manager","useTableManager","renderer","useTableRenderer","instance","defaultRowActiveIndex","stylesheet","useStylesheet","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;AAiBA,MAAMA,kBAAkB,GAAG;cACvBC,QAAU;WACVC,UAAO;gBACPC,UAAY;gBACZC;CACH;SAEeC,QAAQA,CACpBC,KAAwB,EACxBC,WAAgC,EAChCC,SAAmC,EACnCC,IAA6C;;EAG7C,MAAMC,GAAG,GAAGC,YAAY,CAAWJ,WAAW,CAAC;;EAE/C,MAAMK,OAAO,GAAGC,eAAe,CAAQP,KAAK,EAAEG,IAAI,EAAET,kBAA2D,CAAC;;EAEhH,MAAMc,QAAQ,GAAGC,gBAAgB,CAAQP,SAAS,EAAEI,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEJ,KAAK,CAACW,qBAAqB,CAAC;;EAEvG,MAAMC,UAAU,GAAGC,aAAa,CAACP,OAAO,CAACQ,EAAE,EAAER,OAAO,CAACI,QAAQ,CAAC;;EAE9DK,uBAAuB,CAACT,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEI,QAAQ,CAACQ,aAAa,CAAC;;EAEtEC,WAAW,CAACX,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;;EAGlCc,yBAAyB,CAACZ,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;EAEhD,OAAO;IACH,GAAGE,OAAO;IACVN,KAAK,EAAE;MACHmB,cAAc,EAAEnB,KAAK,CAACmB,cAAc;MACpCC,UAAU,EAAEpB,KAAK,CAACoB,UAAU;MAC5BC,WAAW,EAAErB,KAAK,CAACqB,WAAW;MAC9BC,YAAY,EAAEtB,KAAK,CAACsB,YAAY;MAChCC,YAAY,EAAEvB,KAAK,CAACuB;KACvB;IACDf,QAAQ;IACRI,UAAU;IACVR;GACH;AACL;;;;"}
1
+ {"version":3,"file":"useTable.js","sources":["../../../../../../../../src/primitives/Table/Core/useTable.ts"],"sourcesContent":["import { Table as ReactTable, TableMeta as ReactTableMeta, TableState as ReactTableState } from '@tanstack/react-table';\nimport { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';\nimport { useMergedRef } from '../../../hooks/useMergedRef';\nimport { TableCustomSettingsRenderer, TableEmptyStateRenderer, TableProps } from '../types';\nimport { useTableManager } from '../useTableManager/useTableManager';\nimport { useStylesheet } from './features/useStylesheet';\nimport { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts';\nimport { useTableRef } from './features/useTableRef';\nimport { useTableRenderer } from './features/useTableRenderer';\nimport { useTableRowActiveListener } from './listeners/useTableRowActiveListener';\nimport { TableRef } from '../types';\nimport { useTableRenderers } from './types';\nimport { renderer as rowActions } from './components/Columns/Internal/Actions';\nimport { renderer as rowDrag } from './components/Columns/Internal/Drag';\nimport { renderer as rowExpansion } from './components/Columns/Internal/Expansion';\nimport { renderer as rowSelection } from './components/Columns/Internal/Selection';\nimport { useTableManagerInternalColumns } from '../useTableManager/types';\n\nconst INTERNAL_RENDERERS = {\n rowActions,\n rowDrag,\n rowExpansion,\n rowSelection,\n};\n\nexport type useTableReturnValue<TType = unknown> = {\n id: string;\n instance: ReactTable<TType>;\n meta: ReactTableMeta<TType>;\n props: {\n customSettings: TableCustomSettingsRenderer | undefined;\n emptyState: TableEmptyStateRenderer | undefined;\n toolbarLeft: JSX.Element | undefined;\n toolbarPanel: JSX.Element | undefined;\n toolbarRight: JSX.Element | undefined;\n };\n ref: React.RefObject<TableRef>;\n renderer: {\n rows: JSX.Element[] | null;\n style: React.CSSProperties;\n scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;\n };\n stylesheet: JSX.Element;\n state: ReactTableState;\n};\n\nexport function useTable<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n externalRef: React.Ref<TableRef>,\n renderers: useTableRenderers<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta\n): useTableReturnValue<TType> {\n // create a ref and merge with the consumer's ref\n const ref = useMergedRef<TableRef>(externalRef);\n // configure the table\n const manager = useTableManager<TType>(props, meta, INTERNAL_RENDERERS as useTableManagerInternalColumns<TType>);\n // configure the virtualised renderer\n const renderer = useTableRenderer<TType>(renderers, manager.instance, ref, props.defaultRowActiveIndex);\n // configure dynamic styling\n const stylesheet = useStylesheet(manager.id, manager.instance);\n // configure global keyboard shortcuts\n useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);\n // augment the ref with some helper functions\n useTableRef(manager.instance, ref);\n\n // listeners - they are here and not in useTableManager because they rely on the dom and the table ref\n useTableRowActiveListener(manager.instance, ref);\n\n return {\n ...manager,\n props: {\n customSettings: props.customSettings,\n emptyState: props.emptyState,\n toolbarLeft: props.toolbarLeft,\n toolbarPanel: props.toolbarPanel,\n toolbarRight: props.toolbarRight,\n },\n renderer,\n stylesheet,\n ref,\n };\n}\n"],"names":["INTERNAL_RENDERERS","rowActions","rowDrag","rowExpansion","rowSelection","useTable","props","externalRef","renderers","meta","ref","useMergedRef","manager","useTableManager","renderer","useTableRenderer","instance","defaultRowActiveIndex","stylesheet","useStylesheet","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;AAkBA,MAAMA,kBAAkB,GAAG;cACvBC,QAAU;WACVC,UAAO;gBACPC,UAAY;gBACZC;CACH;SAuBeC,QAAQA,CACpBC,KAAwB,EACxBC,WAAgC,EAChCC,SAAmC,EACnCC,IAA6C;;EAG7C,MAAMC,GAAG,GAAGC,YAAY,CAAWJ,WAAW,CAAC;;EAE/C,MAAMK,OAAO,GAAGC,eAAe,CAAQP,KAAK,EAAEG,IAAI,EAAET,kBAA2D,CAAC;;EAEhH,MAAMc,QAAQ,GAAGC,gBAAgB,CAAQP,SAAS,EAAEI,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEJ,KAAK,CAACW,qBAAqB,CAAC;;EAEvG,MAAMC,UAAU,GAAGC,aAAa,CAACP,OAAO,CAACQ,EAAE,EAAER,OAAO,CAACI,QAAQ,CAAC;;EAE9DK,uBAAuB,CAACT,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEI,QAAQ,CAACQ,aAAa,CAAC;;EAEtEC,WAAW,CAACX,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;;EAGlCc,yBAAyB,CAACZ,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;EAEhD,OAAO;IACH,GAAGE,OAAO;IACVN,KAAK,EAAE;MACHmB,cAAc,EAAEnB,KAAK,CAACmB,cAAc;MACpCC,UAAU,EAAEpB,KAAK,CAACoB,UAAU;MAC5BC,WAAW,EAAErB,KAAK,CAACqB,WAAW;MAC9BC,YAAY,EAAEtB,KAAK,CAACsB,YAAY;MAChCC,YAAY,EAAEvB,KAAK,CAACuB;KACvB;IACDf,QAAQ;IACRI,UAAU;IACVR;GACH;AACL;;;;"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { useTable } from './useTable';
2
+ import { useTableReturnValue } from './useTable';
3
3
  import { TableToolbar } from './components/Toolbar/Toolbar';
4
4
  import './style.css';
5
5
  declare type TableProps = {
@@ -10,10 +10,10 @@ export declare namespace Table {
10
10
  var Toolbar: typeof TableToolbar;
11
11
  var Grid: typeof TableGrid;
12
12
  }
13
- export declare type TableGridProps = React.TableHTMLAttributes<HTMLTableElement> & {
13
+ export declare type TableGridProps<TType = unknown> = React.TableHTMLAttributes<HTMLTableElement> & {
14
14
  'data-taco': string;
15
15
  enableHorizontalArrowKeyNavigation?: boolean;
16
- table: ReturnType<typeof useTable>;
16
+ table: useTableReturnValue<TType>;
17
17
  };
18
- export declare function TableGrid(props: TableGridProps): JSX.Element;
18
+ export declare function TableGrid<TType = unknown>(props: TableGridProps<TType>): JSX.Element;
19
19
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { useTableReturnValue } from '../../useTable';
3
+ export declare type TableToolbarProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {
4
+ children?: JSX.Element | null;
5
+ table: useTableReturnValue<TType>;
6
+ };
7
+ export declare function TableToolbar<TType = unknown>(props: TableToolbarProps<TType>): JSX.Element | null;
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Table as ReactTable, Row as ReactTableRow, Cell as ReactTableCell } from '@tanstack/react-table';
3
- import { TableSettings } from '../types';
4
- import { MenuItemProps } from '../../../components/Menu/components/Item';
5
- export declare type TableCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];
6
3
  export declare type useTableRenderers<TType = unknown> = {
7
4
  row: TableRowRenderer<TType>;
8
5
  cell: TableCellRenderer<TType>;
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import { Table as ReactTable, TableMeta as ReactTableMeta, TableState as ReactTableState } from '@tanstack/react-table';
3
+ import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
4
+ import { TableCustomSettingsRenderer, TableEmptyStateRenderer, TableProps } from '../types';
5
+ import { TableRef } from '../types';
6
+ import { useTableRenderers } from './types';
7
+ export declare type useTableReturnValue<TType = unknown> = {
8
+ id: string;
9
+ instance: ReactTable<TType>;
10
+ meta: ReactTableMeta<TType>;
11
+ props: {
12
+ customSettings: TableCustomSettingsRenderer | undefined;
13
+ emptyState: TableEmptyStateRenderer | undefined;
14
+ toolbarLeft: JSX.Element | undefined;
15
+ toolbarPanel: JSX.Element | undefined;
16
+ toolbarRight: JSX.Element | undefined;
17
+ };
18
+ ref: React.RefObject<TableRef>;
19
+ renderer: {
20
+ rows: JSX.Element[] | null;
21
+ style: React.CSSProperties;
22
+ scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
23
+ };
24
+ stylesheet: JSX.Element;
25
+ state: ReactTableState;
26
+ };
27
+ export declare function useTable<TType = unknown, TMeta = {}>(props: TableProps<TType>, externalRef: React.Ref<TableRef>, renderers: useTableRenderers<TType>, meta?: Partial<ReactTableMeta<TType>> & TMeta): useTableReturnValue<TType>;