@economic/taco 2.41.4 → 2.42.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +2 -2
  2. package/dist/components/Alert/Alert.d.ts +1 -1
  3. package/dist/components/AlertDialog/AlertDialog.d.ts +2 -0
  4. package/dist/components/AlertDialog/components/Content.d.ts +1 -1
  5. package/dist/components/Calendar/Calendar.d.ts +1 -1
  6. package/dist/components/Datepicker/Datepicker.d.ts +1 -1
  7. package/dist/components/Dialog/components/Content.d.ts +1 -1
  8. package/dist/components/Dialog/components/DialogDrawer.d.ts +1 -1
  9. package/dist/components/Drawer/components/Content.d.ts +2 -2
  10. package/dist/components/Header/components/Agreement/Badge.d.ts +1 -1
  11. package/dist/components/Header/components/Agreement/Display.d.ts +2 -2
  12. package/dist/components/Header/components/Agreement/Item.d.ts +2 -2
  13. package/dist/components/Header/components/AgreementSelector.d.ts +2 -2
  14. package/dist/components/Header/components/Button.d.ts +1 -1
  15. package/dist/components/HoverCard/HoverCard.d.ts +1 -1
  16. package/dist/components/Icon/components/AccountPreview.d.ts +1 -1
  17. package/dist/components/Icon/components/Accounting.d.ts +1 -1
  18. package/dist/components/Icon/components/AccountingYear.d.ts +1 -1
  19. package/dist/components/Icon/components/AccountingYearCancel.d.ts +1 -1
  20. package/dist/components/Icon/components/AiChatSolid.d.ts +1 -1
  21. package/dist/components/Icon/components/AiStars.d.ts +1 -1
  22. package/dist/components/Icon/components/ArrowBottom.d.ts +1 -1
  23. package/dist/components/Icon/components/ArrowDown.d.ts +1 -1
  24. package/dist/components/Icon/components/ArrowEnd.d.ts +1 -1
  25. package/dist/components/Icon/components/ArrowLeft.d.ts +1 -1
  26. package/dist/components/Icon/components/ArrowRight.d.ts +1 -1
  27. package/dist/components/Icon/components/ArrowStart.d.ts +1 -1
  28. package/dist/components/Icon/components/ArrowTop.d.ts +1 -1
  29. package/dist/components/Icon/components/ArrowUp.d.ts +1 -1
  30. package/dist/components/Icon/components/Attach.d.ts +1 -1
  31. package/dist/components/Icon/components/AttachAuto.d.ts +1 -1
  32. package/dist/components/Icon/components/AttachCancel.d.ts +1 -1
  33. package/dist/components/Icon/components/AttachWarning.d.ts +1 -1
  34. package/dist/components/Icon/components/Autotext.d.ts +1 -1
  35. package/dist/components/Icon/components/AutotextInsert.d.ts +1 -1
  36. package/dist/components/Icon/components/Basic.d.ts +1 -1
  37. package/dist/components/Icon/components/BasicTabs.d.ts +1 -1
  38. package/dist/components/Icon/components/BellSolid.d.ts +1 -1
  39. package/dist/components/Icon/components/Book.d.ts +1 -1
  40. package/dist/components/Icon/components/Booking.d.ts +1 -1
  41. package/dist/components/Icon/components/Budget.d.ts +1 -1
  42. package/dist/components/Icon/components/Calendar.d.ts +1 -1
  43. package/dist/components/Icon/components/CashAccount.d.ts +1 -1
  44. package/dist/components/Icon/components/CashReports.d.ts +1 -1
  45. package/dist/components/Icon/components/ChartArea.d.ts +1 -1
  46. package/dist/components/Icon/components/ChartBar.d.ts +1 -1
  47. package/dist/components/Icon/components/ChartLine.d.ts +1 -1
  48. package/dist/components/Icon/components/ChartPie.d.ts +1 -1
  49. package/dist/components/Icon/components/ChartTable.d.ts +1 -1
  50. package/dist/components/Icon/components/Chat.d.ts +1 -1
  51. package/dist/components/Icon/components/ChatSolid.d.ts +1 -1
  52. package/dist/components/Icon/components/ChevronDown.d.ts +1 -1
  53. package/dist/components/Icon/components/ChevronDownDouble.d.ts +1 -1
  54. package/dist/components/Icon/components/ChevronDownSolid.d.ts +1 -1
  55. package/dist/components/Icon/components/ChevronLeft.d.ts +1 -1
  56. package/dist/components/Icon/components/ChevronLeftDouble.d.ts +1 -1
  57. package/dist/components/Icon/components/ChevronLeftSolid.d.ts +1 -1
  58. package/dist/components/Icon/components/ChevronRight.d.ts +1 -1
  59. package/dist/components/Icon/components/ChevronRightDouble.d.ts +1 -1
  60. package/dist/components/Icon/components/ChevronRightSolid.d.ts +1 -1
  61. package/dist/components/Icon/components/ChevronUp.d.ts +1 -1
  62. package/dist/components/Icon/components/ChevronUpDouble.d.ts +1 -1
  63. package/dist/components/Icon/components/ChevronUpSolid.d.ts +1 -1
  64. package/dist/components/Icon/components/CircleClose.d.ts +1 -1
  65. package/dist/components/Icon/components/CircleInformation.d.ts +1 -1
  66. package/dist/components/Icon/components/CircleMinus.d.ts +1 -1
  67. package/dist/components/Icon/components/CirclePlus.d.ts +1 -1
  68. package/dist/components/Icon/components/CircleQuestionmark.d.ts +1 -1
  69. package/dist/components/Icon/components/CircleTick.d.ts +1 -1
  70. package/dist/components/Icon/components/CircleWarning.d.ts +1 -1
  71. package/dist/components/Icon/components/Clamp.d.ts +1 -1
  72. package/dist/components/Icon/components/ClampOpen.d.ts +1 -1
  73. package/dist/components/Icon/components/Close.d.ts +1 -1
  74. package/dist/components/Icon/components/ColumnFreeze.d.ts +1 -1
  75. package/dist/components/Icon/components/ColumnUnfreeze.d.ts +1 -1
  76. package/dist/components/Icon/components/Columns.d.ts +1 -1
  77. package/dist/components/Icon/components/ConnectionEnable.d.ts +1 -1
  78. package/dist/components/Icon/components/ConnectionRevoke.d.ts +1 -1
  79. package/dist/components/Icon/components/Contacts.d.ts +1 -1
  80. package/dist/components/Icon/components/Copy.d.ts +1 -1
  81. package/dist/components/Icon/components/Courses.d.ts +1 -1
  82. package/dist/components/Icon/components/Credit.d.ts +1 -1
  83. package/dist/components/Icon/components/Delete.d.ts +1 -1
  84. package/dist/components/Icon/components/DeletePermanently.d.ts +1 -1
  85. package/dist/components/Icon/components/Depecriate.d.ts +1 -1
  86. package/dist/components/Icon/components/Developer.d.ts +1 -1
  87. package/dist/components/Icon/components/DistributionTemplate.d.ts +1 -1
  88. package/dist/components/Icon/components/Document.d.ts +1 -1
  89. package/dist/components/Icon/components/DocumentApprove.d.ts +1 -1
  90. package/dist/components/Icon/components/DocumentCreateEntry.d.ts +1 -1
  91. package/dist/components/Icon/components/DocumentCut.d.ts +1 -1
  92. package/dist/components/Icon/components/DocumentError.d.ts +1 -1
  93. package/dist/components/Icon/components/DocumentIsolatePage.d.ts +1 -1
  94. package/dist/components/Icon/components/DocumentMerge.d.ts +1 -1
  95. package/dist/components/Icon/components/DocumentMove.d.ts +1 -1
  96. package/dist/components/Icon/components/DocumentPreview.d.ts +1 -1
  97. package/dist/components/Icon/components/DocumentReceived.d.ts +1 -1
  98. package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +1 -1
  99. package/dist/components/Icon/components/DocumentSigned.d.ts +1 -1
  100. package/dist/components/Icon/components/DocumentSignedSolid.d.ts +1 -1
  101. package/dist/components/Icon/components/DocumentSplit.d.ts +1 -1
  102. package/dist/components/Icon/components/DocumentTime.d.ts +1 -1
  103. package/dist/components/Icon/components/Download.d.ts +1 -1
  104. package/dist/components/Icon/components/Drag.d.ts +1 -1
  105. package/dist/components/Icon/components/ECopedia.d.ts +1 -1
  106. package/dist/components/Icon/components/Edit.d.ts +1 -1
  107. package/dist/components/Icon/components/EditSimple.d.ts +1 -1
  108. package/dist/components/Icon/components/EllipsisHorizontal.d.ts +1 -1
  109. package/dist/components/Icon/components/EllipsisVertical.d.ts +1 -1
  110. package/dist/components/Icon/components/EntriesOnAccount.d.ts +1 -1
  111. package/dist/components/Icon/components/EntriesOpen.d.ts +1 -1
  112. package/dist/components/Icon/components/EntriesWarning.d.ts +1 -1
  113. package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +1 -1
  114. package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +1 -1
  115. package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +1 -1
  116. package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +1 -1
  117. package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +1 -1
  118. package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +1 -1
  119. package/dist/components/Icon/components/Envelope.d.ts +1 -1
  120. package/dist/components/Icon/components/EnvelopeApproved.d.ts +1 -1
  121. package/dist/components/Icon/components/EnvelopeSolid.d.ts +1 -1
  122. package/dist/components/Icon/components/ExpandView.d.ts +1 -1
  123. package/dist/components/Icon/components/Expenses.d.ts +1 -1
  124. package/dist/components/Icon/components/Export.d.ts +1 -1
  125. package/dist/components/Icon/components/ExportToExcel.d.ts +1 -1
  126. package/dist/components/Icon/components/ExportToPdf.d.ts +1 -1
  127. package/dist/components/Icon/components/EyeOff.d.ts +1 -1
  128. package/dist/components/Icon/components/EyeOn.d.ts +1 -1
  129. package/dist/components/Icon/components/Filter.d.ts +1 -1
  130. package/dist/components/Icon/components/FilterSolid.d.ts +1 -1
  131. package/dist/components/Icon/components/FontSize.d.ts +1 -1
  132. package/dist/components/Icon/components/GraphSolid.d.ts +1 -1
  133. package/dist/components/Icon/components/Hash.d.ts +1 -1
  134. package/dist/components/Icon/components/HeightExtraTall.d.ts +1 -1
  135. package/dist/components/Icon/components/HeightMedium.d.ts +1 -1
  136. package/dist/components/Icon/components/HeightShort.d.ts +1 -1
  137. package/dist/components/Icon/components/HeightTall.d.ts +1 -1
  138. package/dist/components/Icon/components/House.d.ts +1 -1
  139. package/dist/components/Icon/components/HouseSolid.d.ts +1 -1
  140. package/dist/components/Icon/components/Id.d.ts +1 -1
  141. package/dist/components/Icon/components/Images.d.ts +1 -1
  142. package/dist/components/Icon/components/Import.d.ts +1 -1
  143. package/dist/components/Icon/components/Inbox.d.ts +1 -1
  144. package/dist/components/Icon/components/InboxEinvoicing.d.ts +1 -1
  145. package/dist/components/Icon/components/InboxScanning.d.ts +1 -1
  146. package/dist/components/Icon/components/InboxSmart.d.ts +1 -1
  147. package/dist/components/Icon/components/Info.d.ts +1 -1
  148. package/dist/components/Icon/components/Inventory.d.ts +1 -1
  149. package/dist/components/Icon/components/InventoryMatrix.d.ts +1 -1
  150. package/dist/components/Icon/components/JournalPro.d.ts +1 -1
  151. package/dist/components/Icon/components/Layout.d.ts +1 -1
  152. package/dist/components/Icon/components/LayoutBoth.d.ts +1 -1
  153. package/dist/components/Icon/components/LayoutFirst.d.ts +1 -1
  154. package/dist/components/Icon/components/LayoutLast.d.ts +1 -1
  155. package/dist/components/Icon/components/LayoutNone.d.ts +1 -1
  156. package/dist/components/Icon/components/LedgerCard.d.ts +1 -1
  157. package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +1 -1
  158. package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +1 -1
  159. package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +1 -1
  160. package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +1 -1
  161. package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +1 -1
  162. package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +1 -1
  163. package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +1 -1
  164. package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +1 -1
  165. package/dist/components/Icon/components/Lightbulb.d.ts +1 -1
  166. package/dist/components/Icon/components/Line.d.ts +1 -1
  167. package/dist/components/Icon/components/LinkExternal.d.ts +1 -1
  168. package/dist/components/Icon/components/List.d.ts +1 -1
  169. package/dist/components/Icon/components/ListBulleted.d.ts +1 -1
  170. package/dist/components/Icon/components/ListSearch.d.ts +1 -1
  171. package/dist/components/Icon/components/Location.d.ts +1 -1
  172. package/dist/components/Icon/components/Lock.d.ts +1 -1
  173. package/dist/components/Icon/components/LockOpen.d.ts +1 -1
  174. package/dist/components/Icon/components/Log.d.ts +1 -1
  175. package/dist/components/Icon/components/LogOut.d.ts +1 -1
  176. package/dist/components/Icon/components/Market.d.ts +1 -1
  177. package/dist/components/Icon/components/MastercardOs.d.ts +1 -1
  178. package/dist/components/Icon/components/MatchAmount.d.ts +1 -1
  179. package/dist/components/Icon/components/MatchEntries.d.ts +1 -1
  180. package/dist/components/Icon/components/Menu.d.ts +1 -1
  181. package/dist/components/Icon/components/Mileage.d.ts +1 -1
  182. package/dist/components/Icon/components/ModalResize.d.ts +1 -1
  183. package/dist/components/Icon/components/ModalShrink.d.ts +1 -1
  184. package/dist/components/Icon/components/More.d.ts +1 -1
  185. package/dist/components/Icon/components/MoreSolid.d.ts +1 -1
  186. package/dist/components/Icon/components/Move.d.ts +1 -1
  187. package/dist/components/Icon/components/NavigationList.d.ts +1 -1
  188. package/dist/components/Icon/components/Note.d.ts +1 -1
  189. package/dist/components/Icon/components/NoteFollowUp.d.ts +1 -1
  190. package/dist/components/Icon/components/NoteRead.d.ts +1 -1
  191. package/dist/components/Icon/components/NovemberFirst.d.ts +1 -1
  192. package/dist/components/Icon/components/Numbers.d.ts +1 -1
  193. package/dist/components/Icon/components/PartnerApi.d.ts +1 -1
  194. package/dist/components/Icon/components/PaymentPaid.d.ts +1 -1
  195. package/dist/components/Icon/components/PaymentUnpaid.d.ts +1 -1
  196. package/dist/components/Icon/components/Period.d.ts +1 -1
  197. package/dist/components/Icon/components/PersonChange.d.ts +1 -1
  198. package/dist/components/Icon/components/PersonMinus.d.ts +1 -1
  199. package/dist/components/Icon/components/PersonPlus.d.ts +1 -1
  200. package/dist/components/Icon/components/PersonTick.d.ts +1 -1
  201. package/dist/components/Icon/components/Phone.d.ts +1 -1
  202. package/dist/components/Icon/components/PhoneSolid.d.ts +1 -1
  203. package/dist/components/Icon/components/Play.d.ts +1 -1
  204. package/dist/components/Icon/components/PlusMinus.d.ts +1 -1
  205. package/dist/components/Icon/components/Print.d.ts +1 -1
  206. package/dist/components/Icon/components/ProcessPayment.d.ts +1 -1
  207. package/dist/components/Icon/components/ProductLedgerCard.d.ts +1 -1
  208. package/dist/components/Icon/components/Profile.d.ts +1 -1
  209. package/dist/components/Icon/components/ProjectCards.d.ts +1 -1
  210. package/dist/components/Icon/components/Projects.d.ts +1 -1
  211. package/dist/components/Icon/components/QuestionMark.d.ts +1 -1
  212. package/dist/components/Icon/components/QuestionMarkBold.d.ts +1 -1
  213. package/dist/components/Icon/components/Quicklinks.d.ts +1 -1
  214. package/dist/components/Icon/components/RatingBankruptcy.d.ts +1 -1
  215. package/dist/components/Icon/components/RatingPaymentProblems.d.ts +1 -1
  216. package/dist/components/Icon/components/Reconciled.d.ts +1 -1
  217. package/dist/components/Icon/components/Refresh.d.ts +1 -1
  218. package/dist/components/Icon/components/Report.d.ts +1 -1
  219. package/dist/components/Icon/components/ReportSolid.d.ts +1 -1
  220. package/dist/components/Icon/components/Restore.d.ts +1 -1
  221. package/dist/components/Icon/components/RotateLeft.d.ts +1 -1
  222. package/dist/components/Icon/components/RotateRight.d.ts +1 -1
  223. package/dist/components/Icon/components/Sales.d.ts +1 -1
  224. package/dist/components/Icon/components/Search.d.ts +1 -1
  225. package/dist/components/Icon/components/SearchBold.d.ts +1 -1
  226. package/dist/components/Icon/components/Secure.d.ts +1 -1
  227. package/dist/components/Icon/components/SecureTick.d.ts +1 -1
  228. package/dist/components/Icon/components/Settings.d.ts +1 -1
  229. package/dist/components/Icon/components/SettingsSolid.d.ts +1 -1
  230. package/dist/components/Icon/components/Shortcuts.d.ts +1 -1
  231. package/dist/components/Icon/components/ShowAll.d.ts +1 -1
  232. package/dist/components/Icon/components/ShowLess.d.ts +1 -1
  233. package/dist/components/Icon/components/ShowMore.d.ts +1 -1
  234. package/dist/components/Icon/components/ShowTemplate.d.ts +1 -1
  235. package/dist/components/Icon/components/Sliders.d.ts +1 -1
  236. package/dist/components/Icon/components/Smartpay.d.ts +1 -1
  237. package/dist/components/Icon/components/SortBy.d.ts +1 -1
  238. package/dist/components/Icon/components/Star.d.ts +1 -1
  239. package/dist/components/Icon/components/StarSolid.d.ts +1 -1
  240. package/dist/components/Icon/components/Subscriptions.d.ts +1 -1
  241. package/dist/components/Icon/components/SystemEntries.d.ts +1 -1
  242. package/dist/components/Icon/components/Tag.d.ts +1 -1
  243. package/dist/components/Icon/components/TemplateOverride.d.ts +1 -1
  244. package/dist/components/Icon/components/Templates.d.ts +1 -1
  245. package/dist/components/Icon/components/ThumbBoth.d.ts +1 -1
  246. package/dist/components/Icon/components/ThumbDown.d.ts +1 -1
  247. package/dist/components/Icon/components/ThumbDownSolid.d.ts +1 -1
  248. package/dist/components/Icon/components/ThumbUp.d.ts +1 -1
  249. package/dist/components/Icon/components/ThumbUpSolid.d.ts +1 -1
  250. package/dist/components/Icon/components/Tick.d.ts +1 -1
  251. package/dist/components/Icon/components/TickBold.d.ts +1 -1
  252. package/dist/components/Icon/components/Time.d.ts +1 -1
  253. package/dist/components/Icon/components/Transfer.d.ts +1 -1
  254. package/dist/components/Icon/components/TransferCancel.d.ts +1 -1
  255. package/dist/components/Icon/components/TransferLocked.d.ts +1 -1
  256. package/dist/components/Icon/components/Undo.d.ts +1 -1
  257. package/dist/components/Icon/components/Undock.d.ts +1 -1
  258. package/dist/components/Icon/components/Unreconciled.d.ts +1 -1
  259. package/dist/components/Icon/components/Warning.d.ts +1 -1
  260. package/dist/components/Icon/components/Webshop.d.ts +1 -1
  261. package/dist/components/Icon/components/Website.d.ts +1 -1
  262. package/dist/components/Icon/components/Workflow.d.ts +1 -1
  263. package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +1 -1
  264. package/dist/components/Icon/components/Zoom.d.ts +1 -1
  265. package/dist/components/IconButton/IconButton.d.ts +2 -2
  266. package/dist/components/Input/Input.d.ts +2 -2
  267. package/dist/components/Input/util.d.ts +11 -1
  268. package/dist/components/Layout/components/Sidebar.d.ts +14 -2
  269. package/dist/components/Layout/components/Top.d.ts +2 -2
  270. package/dist/components/List/List.d.ts +7 -7
  271. package/dist/components/List/components/Button.d.ts +1 -1
  272. package/dist/components/List/components/Collapsible.d.ts +1 -1
  273. package/dist/components/List/components/Group.d.ts +1 -1
  274. package/dist/components/List/components/Item.d.ts +1 -1
  275. package/dist/components/List/components/Link.d.ts +1 -1
  276. package/dist/components/List/components/Toggle.d.ts +2 -2
  277. package/dist/components/Listbox/Listbox.d.ts +2 -2
  278. package/dist/components/Listbox/ScrollableList.d.ts +1 -1
  279. package/dist/components/Listbox/util.d.ts +2 -2
  280. package/dist/components/Menu/components/Checkbox.d.ts +1 -1
  281. package/dist/components/Menu/components/Content.d.ts +2 -2
  282. package/dist/components/Menu/components/Item.d.ts +8 -8
  283. package/dist/components/Menu/components/Link.d.ts +1 -1
  284. package/dist/components/Menu/components/RadioGroup.d.ts +1 -1
  285. package/dist/components/Menu/components/SubMenu.d.ts +1 -1
  286. package/dist/components/Menu/components/Trigger.d.ts +1 -1
  287. package/dist/components/Navigation2/components/Group.d.ts +1 -1
  288. package/dist/components/Popover/Popover.d.ts +2 -2
  289. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  290. package/dist/components/ScrollArea/ScrollArea.d.ts +2 -2
  291. package/dist/components/SearchInput/SearchInput.d.ts +1 -1
  292. package/dist/components/Select/Select.d.ts +1 -1
  293. package/dist/components/Select2/components/All.d.ts +2 -2
  294. package/dist/components/Select2/components/Collection.d.ts +1 -1
  295. package/dist/components/Select2/components/Create.d.ts +1 -1
  296. package/dist/components/Select2/components/Edit.d.ts +2 -2
  297. package/dist/components/Select2/components/Group.d.ts +1 -1
  298. package/dist/components/Select2/components/Option.d.ts +1 -1
  299. package/dist/components/Select2/components/Search.d.ts +3 -3
  300. package/dist/components/Select2/components/Trigger.d.ts +1 -1
  301. package/dist/components/Select2/hooks/useChildren.d.ts +2 -2
  302. package/dist/components/Shortcut/Shortcut.d.ts +1 -1
  303. package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +2 -2
  304. package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +1 -1
  305. package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +2 -2
  306. package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +2 -2
  307. package/dist/components/Table3/components/Editing/Alert.d.ts +1 -1
  308. package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +2 -2
  309. package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +2 -2
  310. package/dist/components/Table3/components/Row/Row.d.ts +2 -2
  311. package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +1 -1
  312. package/dist/components/Table3/features/useTableEditing.d.ts +2 -2
  313. package/dist/components/Table3/util/editing.d.ts +3 -2
  314. package/dist/components/Tag/Tag.d.ts +2 -2
  315. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  316. package/dist/components/Tour/Tour.d.ts +3 -3
  317. package/dist/components/Truncate/Truncate.d.ts +1 -1
  318. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +14 -6
  319. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -1
  320. package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +1 -1
  321. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +31 -3
  322. package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -1
  323. package/dist/esm/packages/taco/src/components/Card/Card.js +7 -5
  324. package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -1
  325. package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -1
  326. package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -1
  327. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +3 -3
  328. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  329. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -1
  330. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +5 -3
  331. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -1
  332. package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
  333. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
  334. package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -1
  335. package/dist/esm/packages/taco/src/components/Listbox/util.js +7 -1
  336. package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -1
  337. package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
  338. package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
  339. package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
  340. package/dist/esm/packages/taco/src/components/Popover/Primitives.js +2 -1
  341. package/dist/esm/packages/taco/src/components/Popover/Primitives.js.map +1 -1
  342. package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -1
  343. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +4 -4
  344. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
  345. package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
  346. package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -1
  347. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  348. package/dist/esm/packages/taco/src/components/Select2/components/Create.js +11 -10
  349. package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
  350. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +0 -2
  351. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
  352. package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
  353. package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
  354. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
  355. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  356. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  357. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  358. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -1
  359. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -1
  360. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -1
  361. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -1
  362. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -1
  363. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -1
  364. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +4 -1
  365. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -1
  366. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +7 -4
  367. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -1
  368. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +9 -7
  369. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  370. package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
  371. package/dist/esm/packages/taco/src/components/Tour/Tour.js +3 -3
  372. package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -1
  373. package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +1 -1
  374. package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +1 -1
  375. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +1 -1
  376. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  377. package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -1
  378. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +4 -4
  379. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -1
  380. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +3 -1
  381. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -1
  382. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -1
  383. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +1 -1
  384. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -1
  385. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -1
  386. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +2 -2
  387. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -1
  388. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -1
  389. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -1
  390. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -1
  391. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -1
  392. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +1 -1
  393. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
  394. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +3 -1
  395. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
  396. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js +5 -7
  397. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -1
  398. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -1
  399. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
  400. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -1
  401. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -1
  402. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  403. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -1
  404. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -1
  405. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js +3 -1
  406. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -1
  407. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  408. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -1
  409. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +4 -2
  410. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  411. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js +4 -17
  412. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -1
  413. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/dataTypes.js +62 -0
  414. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/dataTypes.js.map +1 -0
  415. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js +1 -15
  416. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -1
  417. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js +37 -7
  418. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -1
  419. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  420. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +22 -8
  421. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  422. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js +4 -6
  423. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -1
  424. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  425. package/dist/primitives/BubbleSelect.d.ts +1 -1
  426. package/dist/primitives/Sortable/components/Container.d.ts +2 -2
  427. package/dist/primitives/Sortable/components/Item.d.ts +2 -1
  428. package/dist/primitives/Sortable/components/List.d.ts +1 -1
  429. package/dist/primitives/Table/Core/Table.d.ts +2 -2
  430. package/dist/primitives/Table/Core/components/Body/Body.d.ts +1 -1
  431. package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +1 -1
  432. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +2 -2
  433. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +2 -2
  434. package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +1 -1
  435. package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +2 -2
  436. package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +3 -3
  437. package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +2 -2
  438. package/dist/primitives/Table/Core/components/Header/Header.d.ts +1 -1
  439. package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +2 -2
  440. package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +1 -1
  441. package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +2 -2
  442. package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +3 -3
  443. package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +2 -2
  444. package/dist/primitives/Table/Core/components/Row/Row.d.ts +1 -1
  445. package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +1 -1
  446. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +2 -2
  447. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +2 -2
  448. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
  449. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +1 -1
  450. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +2 -2
  451. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +2 -2
  452. package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +1 -1
  453. package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
  454. package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +1 -1
  455. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +2 -2
  456. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +2 -2
  457. package/dist/primitives/Table/types.d.ts +1 -1
  458. package/dist/primitives/Table/useTableManager/util/columns.d.ts +2 -2
  459. package/dist/primitives/Table/useTableManager/util/dataTypes.d.ts +12 -0
  460. package/dist/primitives/Table/useTableManager/util/filtering.d.ts +0 -2
  461. package/dist/primitives/Table/useTableManager/util/search.d.ts +6 -2
  462. package/dist/primitives/Table/useTableManager/util/settings.d.ts +1 -1
  463. package/dist/primitives/Table/useTableManager/util/setup.d.ts +3 -2
  464. package/dist/primitives/Table/useTableManager/util/sorting.d.ts +2 -1
  465. package/dist/taco.cjs.development.js +380 -259
  466. package/dist/taco.cjs.development.js.map +1 -1
  467. package/dist/taco.cjs.production.min.js +1 -1
  468. package/dist/taco.cjs.production.min.js.map +1 -1
  469. package/dist/utils/dom.d.ts +1 -1
  470. package/package.json +10 -12
@@ -3911,12 +3911,38 @@ const getDialogSizeClassnames = size => {
3911
3911
  const getDialogPositionClassnames = () => 'mt-16 mx-auto';
3912
3912
  const getDialogStylingClassnames = () => 'bg-white rounded animate-[fade-in_150ms] shadow-[0_6px_9px_0_rgba(89,85,98,0.3),0_0_1px_0_rgba(89,85,98,0.2)]';
3913
3913
 
3914
+ const iconPropsByVariant = variant => {
3915
+ switch (variant) {
3916
+ case 'information':
3917
+ return {
3918
+ color: 'blue',
3919
+ icon: 'info'
3920
+ };
3921
+ case 'error':
3922
+ return {
3923
+ color: 'red',
3924
+ icon: 'close'
3925
+ };
3926
+ case 'warning':
3927
+ return {
3928
+ color: 'yellow',
3929
+ icon: 'warning'
3930
+ };
3931
+ default:
3932
+ return undefined;
3933
+ }
3934
+ };
3914
3935
  const Title = /*#__PURE__*/React.forwardRef(function AlertDialogTitle(props, ref) {
3915
- const className = cn('text-center', props.className);
3936
+ const {
3937
+ props: parentProps
3938
+ } = useCurrentAlertDialog();
3939
+ const iconProps = iconPropsByVariant(parentProps.variant);
3916
3940
  return /*#__PURE__*/React.createElement(AlertDialogPrimitive.Title, Object.assign({}, props, {
3917
- className: className,
3941
+ className: cn('flex items-center', props.className),
3918
3942
  ref: ref
3919
- }));
3943
+ }), iconProps ? /*#__PURE__*/React.createElement(BadgeIcon, Object.assign({}, iconProps, {
3944
+ className: "mr-2"
3945
+ })) : undefined, props.children);
3920
3946
  });
3921
3947
  const Content = /*#__PURE__*/React.forwardRef(function AlertDialogContent(props, ref) {
3922
3948
  const className = cn('p-6', getDialogPositionClassnames(), getDialogStylingClassnames(), getDialogSizeClassnames('dialog'));
@@ -4011,25 +4037,33 @@ const Accordion = props => {
4011
4037
  const context = React__default.useMemo(() => ({
4012
4038
  as
4013
4039
  }), [as]);
4040
+ const type = typeof defaultId === 'string' || typeof id === 'string' ? 'single' : 'multiple';
4014
4041
  let valueProps;
4015
4042
  if (defaultId) {
4016
- valueProps = {
4017
- defaultValue: defaultId || undefined
4043
+ valueProps = type === 'single' ? {
4044
+ type: 'single',
4045
+ defaultValue: defaultId
4046
+ } : {
4047
+ type: 'multiple',
4048
+ defaultValue: defaultId
4018
4049
  };
4019
4050
  } else {
4020
- valueProps = {
4051
+ valueProps = type === 'single' ? {
4052
+ type: 'single',
4053
+ onValueChange: onChange,
4054
+ value: id || undefined
4055
+ } : {
4056
+ type: 'multiple',
4021
4057
  onValueChange: onChange,
4022
4058
  value: id || undefined
4023
4059
  };
4024
4060
  }
4025
- const type = typeof valueProps.defaultValue === 'string' || typeof valueProps.value === 'string' ? 'single' : 'multiple';
4026
4061
  const className = cn('divide-y divide-grey-200', props.className);
4027
4062
  return /*#__PURE__*/React__default.createElement(AccordionContext.Provider, {
4028
4063
  value: context
4029
4064
  }, /*#__PURE__*/React__default.createElement(AccordionPrimitive.Root, Object.assign({}, otherProps, valueProps, {
4030
4065
  "data-taco": "accordion",
4031
- className: className,
4032
- type: type
4066
+ className: className
4033
4067
  })));
4034
4068
  };
4035
4069
  Accordion.Item = Item;
@@ -5060,14 +5094,16 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(props, ref) {
5060
5094
  const {
5061
5095
  title,
5062
5096
  menu,
5063
- children
5097
+ children,
5098
+ className,
5099
+ ...otherProps
5064
5100
  } = props;
5065
- const className = cn('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500', props.className);
5066
- return /*#__PURE__*/React.createElement("div", {
5067
- className: className,
5101
+ const cardClassName = cn('bg-white flex flex-col rounded-xl border border-solid border-radius-[12px] border-grey-300 hover:border-grey-500', className);
5102
+ return /*#__PURE__*/React.createElement("div", Object.assign({}, otherProps, {
5103
+ className: cardClassName,
5068
5104
  "data-taco": "card",
5069
5105
  ref: ref
5070
- }, /*#__PURE__*/React.createElement("div", {
5106
+ }), /*#__PURE__*/React.createElement("div", {
5071
5107
  className: "mx-4 mb-2 mt-4 flex justify-between"
5072
5108
  }, title && (/*#__PURE__*/React.createElement(Truncate, {
5073
5109
  tooltip: title
@@ -5708,7 +5744,13 @@ const searchForString = (child, value, strategy = 'includes') => {
5708
5744
  }
5709
5745
  return searchForString((_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.children, value, strategy);
5710
5746
  } else {
5711
- return child.toString().toLowerCase()[strategy](String(value).toLowerCase());
5747
+ const childLowerCase = child.toString().toLowerCase();
5748
+ const valueLowerCase = String(value).toLowerCase();
5749
+ if (strategy === 'startsWith') {
5750
+ return childLowerCase.startsWith(valueLowerCase);
5751
+ } else {
5752
+ return childLowerCase.includes(valueLowerCase);
5753
+ }
5712
5754
  }
5713
5755
  } catch {
5714
5756
  return false;
@@ -6294,7 +6336,8 @@ const UnstyledArrow = /*#__PURE__*/React.forwardRef(function PopoverArrow(props,
6294
6336
  transform: 'rotateZ(180deg)'
6295
6337
  }
6296
6338
  }), /*#__PURE__*/React.createElement("path", {
6297
- className: "text-grey-300 fill-current group-focus:text-blue-300",
6339
+ // rgba(89, 85, 98, 0.35) is the primary color of the yt-shadow, giving the arrow a shadow-like appearance
6340
+ className: "text-[rgba(89, 85, 98, 0.35)] fill-current",
6298
6341
  d: "M23.7,27.1L17,19.9C16.5,19.3,15.8,19,15,19s-1.6,0.3-2.1,0.9l-6.6,7.2C5.3,28.1,3.4,29,2,29h26 C26.7,29,24.6,28.1,23.7,27.1z"
6299
6342
  }), /*#__PURE__*/React.createElement("path", {
6300
6343
  className: "fill-current",
@@ -6645,7 +6688,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6645
6688
  }), /*#__PURE__*/React.createElement("div", {
6646
6689
  className: containerClassName,
6647
6690
  "data-taco": "dialog"
6648
- }, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6691
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6649
6692
  role: "button",
6650
6693
  draggable: true,
6651
6694
  "aria-grabbed": dragging,
@@ -6659,7 +6702,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6659
6702
  "aria-label": texts.dialog.close,
6660
6703
  className: "absolute right-0 top-0 mr-2 mt-2 print:hidden",
6661
6704
  icon: "close"
6662
- }))) : null), dialog.elements.drawer, dialog.elements.extra))));
6705
+ }))) : null)), dialog.elements.drawer, dialog.elements.extra))));
6663
6706
  });
6664
6707
 
6665
6708
  const DialogDrawer = /*#__PURE__*/React.forwardRef(function DialogDrawer(props, ref) {
@@ -6852,12 +6895,12 @@ const Bar = props => {
6852
6895
  className: className
6853
6896
  }));
6854
6897
  };
6855
- const Thumb = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, Object.assign({}, props, {
6898
+ const Thumb = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, {
6856
6899
  className: "flex-[1] rounded bg-black opacity-50"
6857
- }));
6858
- const Corner = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, Object.assign({}, props, {
6900
+ });
6901
+ const Corner = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, {
6859
6902
  className: "bg-grey-500"
6860
- }));
6903
+ });
6861
6904
  const ScrollArea = props => {
6862
6905
  const {
6863
6906
  children,
@@ -9746,136 +9789,6 @@ const Provider = props => {
9746
9789
  })(exports.FontSizes || (exports.FontSizes = {}));
9747
9790
  const fixedForwardRef = React__default.forwardRef;
9748
9791
 
9749
- function getSortingFn(dataType, customFnOrBuiltIn) {
9750
- if (typeof customFnOrBuiltIn === 'function') {
9751
- return (rowA, rowB, columnId) => customFnOrBuiltIn(rowA.original, rowB.original, columnId);
9752
- }
9753
- // if a built in is being used, just return that
9754
- if (customFnOrBuiltIn) {
9755
- return customFnOrBuiltIn;
9756
- }
9757
- // some times we alias based on the type
9758
- if (dataType && dataType !== 'boolean' && dataType !== 'number') {
9759
- return dataType;
9760
- }
9761
- // otherwise fall back to auto
9762
- return 'auto';
9763
- }
9764
-
9765
- function isInternalColumn(id) {
9766
- return id === null || id === void 0 ? void 0 : id.startsWith('__');
9767
- }
9768
- // column widths
9769
- const getCellMinWidth = (fontSize = 'medium') => {
9770
- switch (fontSize) {
9771
- case exports.FontSizes.small:
9772
- return 57;
9773
- case exports.FontSizes.large:
9774
- return 83;
9775
- default:
9776
- case exports.FontSizes.medium:
9777
- return 72;
9778
- }
9779
- };
9780
- // highlighting
9781
- function isCellHighlighted(query, value, dataType) {
9782
- if (value === undefined || value === null) {
9783
- return false;
9784
- }
9785
- return String(getCellValueAsString(value, dataType)).toLocaleLowerCase().includes(query.toLocaleLowerCase());
9786
- }
9787
- function getCellValueAsString(value, dataType) {
9788
- if (value === undefined || value === null) {
9789
- return '';
9790
- } else if (dateFns.isDate(value)) {
9791
- var _format;
9792
- return (_format = format(value)) !== null && _format !== void 0 ? _format : '';
9793
- } else if (dataType === 'datetime' && typeof value === 'string') {
9794
- var _format2;
9795
- return (_format2 = format(parseFromISOString(value))) !== null && _format2 !== void 0 ? _format2 : '';
9796
- }
9797
- return String(value);
9798
- }
9799
- function orderColumn(column, {
9800
- orderingDisabled,
9801
- orderingEnabled
9802
- }) {
9803
- const groupedColumn = column;
9804
- if (Array.isArray(groupedColumn.columns) && groupedColumn.columns.length > 0) {
9805
- groupedColumn.columns.forEach(subcolumn => orderColumn(subcolumn, {
9806
- orderingDisabled,
9807
- orderingEnabled
9808
- }));
9809
- } else {
9810
- var _column$meta;
9811
- if ((_column$meta = column.meta) !== null && _column$meta !== void 0 && _column$meta.enableOrdering) {
9812
- orderingEnabled.push(column.id);
9813
- } else {
9814
- orderingDisabled.push(column.id);
9815
- }
9816
- }
9817
- }
9818
- // ordering
9819
- function ensureOrdering(columns, settingsOrder, pinnedOrder = [], internalColumnsPinnedToTheRight = ['__actions']) {
9820
- // internal columns come with a defined order
9821
- const internalColumns = columns.filter(column => isInternalColumn(column.id) && !internalColumnsPinnedToTheRight.includes(String(column.id))).map(column => column.id);
9822
- // columns with ordering disabled should be moved to the front
9823
- const orderingDisabled = [];
9824
- let orderingEnabled = [];
9825
- let orderedColumns = columns;
9826
- // if settings is defined, make sure the columns that are actual children are sorted by it
9827
- if (Array.isArray(settingsOrder)) {
9828
- orderedColumns = columns.slice().sort(
9829
- // the magic >>> 0 here ensures that columns that aren't found in settings, but are children, are pushed to the end
9830
- (a, b) => (settingsOrder.indexOf(a.id) >>> 0) - (settingsOrder.indexOf(b.id) >>> 0));
9831
- }
9832
- orderedColumns.forEach(column => {
9833
- if (isInternalColumn(column.id)) {
9834
- return;
9835
- }
9836
- orderColumn(column, {
9837
- orderingDisabled,
9838
- orderingEnabled
9839
- });
9840
- });
9841
- if (settingsOrder && settingsOrder.length > 0) {
9842
- const columnsAbsentInSettingsOrder = [];
9843
- orderingEnabled = orderingEnabled.reduce((acc, column) => {
9844
- const index = settingsOrder.indexOf(column);
9845
- if (index > -1) {
9846
- acc[index] = column;
9847
- } else {
9848
- columnsAbsentInSettingsOrder.push(column);
9849
- }
9850
- return acc;
9851
- }, []).filter(column => !!column)
9852
- // Append absent columns at the end
9853
- .concat(columnsAbsentInSettingsOrder);
9854
- }
9855
- // if pinned columns are defined, make sure they are sorted first, this ensures state matches the freezing "upto" behaviour
9856
- if (Array.isArray(pinnedOrder)) {
9857
- orderingEnabled.sort(
9858
- // the magic >>> 0 here ensures that columns that aren't found in settings, but are children, are pushed to the end
9859
- (a, b) => (pinnedOrder.indexOf(a) >>> 0) - (pinnedOrder.indexOf(b) >>> 0));
9860
- }
9861
- const order = [...internalColumns, ...orderingDisabled, ...orderingEnabled];
9862
- // actions should always be last, enforce that
9863
- internalColumnsPinnedToTheRight.forEach(id => {
9864
- if (columns.findIndex(column => column.id === id) > -1) {
9865
- order.push(id);
9866
- }
9867
- });
9868
- return order;
9869
- }
9870
- // freezing - we use the react-table pinning state, but that requires some mapping between them
9871
- function unfreezeAllExternalColumns(leftPinnedState) {
9872
- var _leftPinnedState$filt;
9873
- return (_leftPinnedState$filt = leftPinnedState === null || leftPinnedState === void 0 ? void 0 : leftPinnedState.filter(id => isInternalColumn(id) && id !== '__actions')) !== null && _leftPinnedState$filt !== void 0 ? _leftPinnedState$filt : [];
9874
- }
9875
- function freezeUptoExternalColumn(index, columns) {
9876
- return columns.slice(0, index + 1);
9877
- }
9878
-
9879
9792
  // filtering
9880
9793
  (function (TableFilterComparator) {
9881
9794
  TableFilterComparator[TableFilterComparator["Contains"] = 0] = "Contains";
@@ -9899,6 +9812,74 @@ function freezeUptoExternalColumn(index, columns) {
9899
9812
  TableServerLoadAllState[TableServerLoadAllState["Completed"] = 2] = "Completed";
9900
9813
  })(exports.TableServerLoadAllState || (exports.TableServerLoadAllState = {}));
9901
9814
 
9815
+ const dataTypes = {
9816
+ auto: {
9817
+ sortingFn: 'auto',
9818
+ filterComparators: [exports.TableFilterComparator.Contains, exports.TableFilterComparator.DoesNotContain, exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty]
9819
+ },
9820
+ // base
9821
+ text: {
9822
+ sortingFn: 'alphanumeric',
9823
+ filterComparators: [exports.TableFilterComparator.Contains, exports.TableFilterComparator.DoesNotContain, exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty]
9824
+ },
9825
+ number: {
9826
+ sortingFn: 'basic',
9827
+ filterComparators: [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsGreaterThan, exports.TableFilterComparator.IsLessThan, exports.TableFilterComparator.IsGreaterThanOrEqualTo, exports.TableFilterComparator.IsLessThanOrEqualTo, exports.TableFilterComparator.IsBetween, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty]
9828
+ },
9829
+ datetime: {
9830
+ sortingFn: 'datetime',
9831
+ filterComparators: [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsGreaterThan, exports.TableFilterComparator.IsLessThan, exports.TableFilterComparator.IsGreaterThanOrEqualTo, exports.TableFilterComparator.IsLessThanOrEqualTo, exports.TableFilterComparator.IsBetween, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty],
9832
+ getDisplayValue: (value, options) => {
9833
+ if (value === undefined) {
9834
+ return '';
9835
+ }
9836
+ if (dateFns.isDate(value)) {
9837
+ var _format, _options$localization;
9838
+ return (_format = format(value, options === null || options === void 0 ? void 0 : (_options$localization = options.localization) === null || _options$localization === void 0 ? void 0 : _options$localization.formatting.date)) !== null && _format !== void 0 ? _format : '';
9839
+ } else if (typeof value === 'string') {
9840
+ var _format2, _options$localization2;
9841
+ return (_format2 = format(parseFromISOString(value), options === null || options === void 0 ? void 0 : (_options$localization2 = options.localization) === null || _options$localization2 === void 0 ? void 0 : _options$localization2.formatting.date)) !== null && _format2 !== void 0 ? _format2 : '';
9842
+ }
9843
+ return String(value);
9844
+ }
9845
+ },
9846
+ boolean: {
9847
+ sortingFn: 'basic',
9848
+ filterComparators: [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo]
9849
+ },
9850
+ // advanced
9851
+ amount: {
9852
+ align: 'right',
9853
+ sortingFn: 'basic',
9854
+ filterComparators: [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsGreaterThan, exports.TableFilterComparator.IsLessThan, exports.TableFilterComparator.IsGreaterThanOrEqualTo, exports.TableFilterComparator.IsLessThanOrEqualTo, exports.TableFilterComparator.IsBetween, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty],
9855
+ getDisplayValue: (value, options) => {
9856
+ var _options$localization3;
9857
+ if (value === undefined) {
9858
+ return '';
9859
+ }
9860
+ return new Intl.NumberFormat(options === null || options === void 0 ? void 0 : (_options$localization3 = options.localization) === null || _options$localization3 === void 0 ? void 0 : _options$localization3.locale, {
9861
+ minimumFractionDigits: 2
9862
+ }).format(Number(value));
9863
+ }
9864
+ }
9865
+ };
9866
+ function getDataTypeProperties(dataType) {
9867
+ var _dataTypes;
9868
+ return (_dataTypes = dataTypes[dataType !== null && dataType !== void 0 ? dataType : 'text']) !== null && _dataTypes !== void 0 ? _dataTypes : dataTypes.text;
9869
+ }
9870
+
9871
+ function getSortingFn(dataType, customFnOrBuiltIn) {
9872
+ // custom functions should override any that come from dataType
9873
+ if (typeof customFnOrBuiltIn === 'function') {
9874
+ return (rowA, rowB, columnId) => customFnOrBuiltIn(rowA.original, rowB.original, columnId);
9875
+ }
9876
+ // if a built in is being used, just return that
9877
+ if (customFnOrBuiltIn) {
9878
+ return customFnOrBuiltIn;
9879
+ }
9880
+ return getDataTypeProperties(dataType).sortingFn;
9881
+ }
9882
+
9902
9883
  const toLowerCase = value => String(value !== null && value !== void 0 ? value : '').toLocaleLowerCase();
9903
9884
  const isWeakContains = (left, right) => toLowerCase(left).includes(toLowerCase(right));
9904
9885
  const isWeakEqual$1 = (left, right) => toLowerCase(left) === toLowerCase(right);
@@ -10009,19 +9990,189 @@ function columnFilterFn(value, filter) {
10009
9990
  return true;
10010
9991
  }
10011
9992
  }
10012
- function globalFilterFn(row, columnId, searchQuery) {
9993
+
9994
+ function isMatched(searchQuery, cellValue, dataType, localization) {
9995
+ const cellValueAsString = String(cellValue !== null && cellValue !== void 0 ? cellValue : '');
9996
+ if (cellValueAsString !== undefined && isWeakContains(cellValueAsString, searchQuery)) {
9997
+ return true;
9998
+ } else {
9999
+ const dataTypeProperties = getDataTypeProperties(dataType);
10000
+ if (dataTypeProperties.getDisplayValue) {
10001
+ const cellDisplayValue = dataTypeProperties.getDisplayValue(cellValue, {
10002
+ localization
10003
+ });
10004
+ if (cellDisplayValue !== undefined && isWeakContains(cellDisplayValue, searchQuery)) {
10005
+ return true;
10006
+ }
10007
+ }
10008
+ }
10009
+ return false;
10010
+ }
10011
+ function globalFilterFn(row, columnId, searchQuery, localization) {
10013
10012
  try {
10014
10013
  if (row.original) {
10015
10014
  var _row$_getAllCellsByCo, _row$_getAllCellsByCo2;
10015
+ const cellValue = row.original[columnId];
10016
10016
  const dataType = (_row$_getAllCellsByCo = row._getAllCellsByColumnId()[columnId]) === null || _row$_getAllCellsByCo === void 0 ? void 0 : (_row$_getAllCellsByCo2 = _row$_getAllCellsByCo.column.columnDef.meta) === null || _row$_getAllCellsByCo2 === void 0 ? void 0 : _row$_getAllCellsByCo2.dataType;
10017
- const cellValue = getCellValueAsString(row.original[columnId], dataType);
10018
- return isWeakContains(cellValue, searchQuery);
10017
+ return isMatched(searchQuery, cellValue, dataType, localization);
10019
10018
  }
10020
10019
  } catch {
10021
10020
  // we don't care, just fail silently and return no results
10022
10021
  }
10023
10022
  return false;
10024
10023
  }
10024
+ function resetHighlightedColumnIndexes(searchQuery, table, localization) {
10025
+ const tableMeta = table.options.meta;
10026
+ let firstRowIndex;
10027
+ if (searchQuery) {
10028
+ const indexes = [];
10029
+ const columns = table.getVisibleLeafColumns();
10030
+ const rowGrouping = table.getState().grouping;
10031
+ table.getRowModel().rows.forEach((row, rowIndex) => {
10032
+ columns.forEach((column, columnIndex) => {
10033
+ try {
10034
+ let allowSearch = true;
10035
+ if (rowGrouping !== null && rowGrouping !== void 0 && rowGrouping.length) {
10036
+ // if it's the grouped row, only allow search of the grouped column - because that's all that's visible
10037
+ if (row.getIsGrouped()) {
10038
+ allowSearch = column.getIsGrouped();
10039
+ }
10040
+ // otherwise for other rows, don't search the grouped column - because it isn't visible
10041
+ else if (rowGrouping.includes(column.id)) {
10042
+ allowSearch = false;
10043
+ }
10044
+ }
10045
+ if (column.getIsVisible() && column.columnDef.enableGlobalFilter && allowSearch) {
10046
+ var _column$columnDef$met;
10047
+ const cellValue = get(row.original, column.id);
10048
+ const dataType = (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.dataType;
10049
+ if (isMatched(searchQuery, cellValue, dataType, localization)) {
10050
+ indexes.push([rowIndex, columnIndex]);
10051
+ }
10052
+ }
10053
+ } catch (e) {
10054
+ //
10055
+ }
10056
+ });
10057
+ });
10058
+ tableMeta.search.setHighlightedColumnIndexes(indexes);
10059
+ if (indexes.length) {
10060
+ firstRowIndex = indexes[0][0];
10061
+ tableMeta.search.setCurrentHighlightColumnIndex(0);
10062
+ } else {
10063
+ tableMeta.search.setCurrentHighlightColumnIndex(undefined);
10064
+ }
10065
+ } else {
10066
+ tableMeta.search.setHighlightedColumnIndexes([]);
10067
+ tableMeta.search.setCurrentHighlightColumnIndex(undefined);
10068
+ }
10069
+ if (firstRowIndex !== undefined) {
10070
+ tableMeta.rowActive.setRowActiveIndex(firstRowIndex);
10071
+ }
10072
+ return firstRowIndex;
10073
+ }
10074
+
10075
+ function isInternalColumn(id) {
10076
+ return id === null || id === void 0 ? void 0 : id.startsWith('__');
10077
+ }
10078
+ // column widths
10079
+ const getCellMinWidth = (fontSize = 'medium') => {
10080
+ switch (fontSize) {
10081
+ case exports.FontSizes.small:
10082
+ return 57;
10083
+ case exports.FontSizes.large:
10084
+ return 83;
10085
+ default:
10086
+ case exports.FontSizes.medium:
10087
+ return 72;
10088
+ }
10089
+ };
10090
+ // highlighting
10091
+ function isCellHighlighted(query, value, dataType, localization) {
10092
+ if (value === undefined || value === null) {
10093
+ return false;
10094
+ }
10095
+ return isMatched(query, value, dataType, localization);
10096
+ }
10097
+ function orderColumn(column, {
10098
+ orderingDisabled,
10099
+ orderingEnabled
10100
+ }) {
10101
+ const groupedColumn = column;
10102
+ if (Array.isArray(groupedColumn.columns) && groupedColumn.columns.length > 0) {
10103
+ groupedColumn.columns.forEach(subcolumn => orderColumn(subcolumn, {
10104
+ orderingDisabled,
10105
+ orderingEnabled
10106
+ }));
10107
+ } else {
10108
+ var _column$meta;
10109
+ if ((_column$meta = column.meta) !== null && _column$meta !== void 0 && _column$meta.enableOrdering) {
10110
+ orderingEnabled.push(column.id);
10111
+ } else {
10112
+ orderingDisabled.push(column.id);
10113
+ }
10114
+ }
10115
+ }
10116
+ // ordering
10117
+ function ensureOrdering(columns, settingsOrder, pinnedOrder = [], internalColumnsPinnedToTheRight = ['__actions']) {
10118
+ // internal columns come with a defined order
10119
+ const internalColumns = columns.filter(column => isInternalColumn(column.id) && !internalColumnsPinnedToTheRight.includes(String(column.id))).map(column => column.id);
10120
+ // columns with ordering disabled should be moved to the front
10121
+ const orderingDisabled = [];
10122
+ let orderingEnabled = [];
10123
+ let orderedColumns = columns;
10124
+ // if settings is defined, make sure the columns that are actual children are sorted by it
10125
+ if (Array.isArray(settingsOrder)) {
10126
+ orderedColumns = columns.slice().sort(
10127
+ // the magic >>> 0 here ensures that columns that aren't found in settings, but are children, are pushed to the end
10128
+ (a, b) => (settingsOrder.indexOf(a.id) >>> 0) - (settingsOrder.indexOf(b.id) >>> 0));
10129
+ }
10130
+ orderedColumns.forEach(column => {
10131
+ if (isInternalColumn(column.id)) {
10132
+ return;
10133
+ }
10134
+ orderColumn(column, {
10135
+ orderingDisabled,
10136
+ orderingEnabled
10137
+ });
10138
+ });
10139
+ if (settingsOrder && settingsOrder.length > 0) {
10140
+ const columnsAbsentInSettingsOrder = [];
10141
+ orderingEnabled = orderingEnabled.reduce((acc, column) => {
10142
+ const index = settingsOrder.indexOf(column);
10143
+ if (index > -1) {
10144
+ acc[index] = column;
10145
+ } else {
10146
+ columnsAbsentInSettingsOrder.push(column);
10147
+ }
10148
+ return acc;
10149
+ }, []).filter(column => !!column)
10150
+ // Append absent columns at the end
10151
+ .concat(columnsAbsentInSettingsOrder);
10152
+ }
10153
+ // if pinned columns are defined, make sure they are sorted first, this ensures state matches the freezing "upto" behaviour
10154
+ if (Array.isArray(pinnedOrder)) {
10155
+ orderingEnabled.sort(
10156
+ // the magic >>> 0 here ensures that columns that aren't found in settings, but are children, are pushed to the end
10157
+ (a, b) => (pinnedOrder.indexOf(a) >>> 0) - (pinnedOrder.indexOf(b) >>> 0));
10158
+ }
10159
+ const order = [...internalColumns, ...orderingDisabled, ...orderingEnabled];
10160
+ // actions should always be last, enforce that
10161
+ internalColumnsPinnedToTheRight.forEach(id => {
10162
+ if (columns.findIndex(column => column.id === id) > -1) {
10163
+ order.push(id);
10164
+ }
10165
+ });
10166
+ return order;
10167
+ }
10168
+ // freezing - we use the react-table pinning state, but that requires some mapping between them
10169
+ function unfreezeAllExternalColumns(leftPinnedState) {
10170
+ var _leftPinnedState$filt;
10171
+ return (_leftPinnedState$filt = leftPinnedState === null || leftPinnedState === void 0 ? void 0 : leftPinnedState.filter(id => isInternalColumn(id) && id !== '__actions')) !== null && _leftPinnedState$filt !== void 0 ? _leftPinnedState$filt : [];
10172
+ }
10173
+ function freezeUptoExternalColumn(index, columns) {
10174
+ return columns.slice(0, index + 1);
10175
+ }
10025
10176
 
10026
10177
  function getSettings(table) {
10027
10178
  const meta = table.options.meta;
@@ -10054,7 +10205,7 @@ function ignoreInternalColumns(data) {
10054
10205
  }
10055
10206
 
10056
10207
  // mapping children to react-table columns
10057
- function processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId) {
10208
+ function processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId, localization) {
10058
10209
  const columnHelper = reactTable.createColumnHelper();
10059
10210
  if (/*#__PURE__*/React__default.isValidElement(child) && child.props.children) {
10060
10211
  const {
@@ -10065,11 +10216,12 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
10065
10216
  columns.push(columnHelper.group({
10066
10217
  id,
10067
10218
  header,
10068
- columns: React__default.Children.toArray(children).reduce((columns, child) => processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId), []),
10219
+ columns: React__default.Children.toArray(children).reduce((columns, child) => processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId, localization), []),
10069
10220
  // we don't want to let column groups be grouped/aggregrated
10070
10221
  enableGrouping: false
10071
10222
  }));
10072
10223
  } else if (/*#__PURE__*/React__default.isValidElement(child) && (child.props.accessor || child.props.id)) {
10224
+ var _meta$align;
10073
10225
  const {
10074
10226
  id: untypedId,
10075
10227
  accessor: accessorKey = untypedId,
@@ -10098,6 +10250,7 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
10098
10250
  ...meta
10099
10251
  } = child.props;
10100
10252
  const id = untypedId;
10253
+ const dataTypeProperties = getDataTypeProperties(child.props.dataType);
10101
10254
  if (defaultHidden && enableHiding) {
10102
10255
  defaultVisibility[id] = false;
10103
10256
  }
@@ -10130,6 +10283,7 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
10130
10283
  // meta
10131
10284
  meta: {
10132
10285
  ...meta,
10286
+ align: (_meta$align = meta.align) !== null && _meta$align !== void 0 ? _meta$align : dataTypeProperties.align,
10133
10287
  defaultWidth,
10134
10288
  enableOrdering: isGrouped ? false : enableOrdering,
10135
10289
  enablePrinting,
@@ -10139,9 +10293,18 @@ function processChildren(child, columns, defaultSizing, defaultSorting, defaultV
10139
10293
  renderer
10140
10294
  }
10141
10295
  };
10142
- // renderers
10296
+ // renderers - use defined renderers first, then fall back to data type renderers (if there is one)
10143
10297
  if (typeof renderer === 'function') {
10144
10298
  column.cell = info => renderer(info.getValue(), info.row.original);
10299
+ } else if (dataTypeProperties.getDisplayValue) {
10300
+ const dataTypeRenderer = value => {
10301
+ var _dataTypeProperties$g, _dataTypeProperties$g2;
10302
+ return (_dataTypeProperties$g = (_dataTypeProperties$g2 = dataTypeProperties.getDisplayValue) === null || _dataTypeProperties$g2 === void 0 ? void 0 : _dataTypeProperties$g2.call(dataTypeProperties, value, {
10303
+ localization
10304
+ })) !== null && _dataTypeProperties$g !== void 0 ? _dataTypeProperties$g : value;
10305
+ };
10306
+ column.cell = info => dataTypeRenderer(info.getValue());
10307
+ column.meta.renderer = dataTypeRenderer;
10145
10308
  }
10146
10309
  if (typeof footer === 'function') {
10147
10310
  column.footer = info => footer(info.table.getRowModel().rows.flatMap(row => row.original !== undefined ? row.original : []));
@@ -10195,7 +10358,7 @@ function createInternalColumn(id, column, defaultSizing) {
10195
10358
  }
10196
10359
  };
10197
10360
  }
10198
- function mapTableChildrenToColumns(props, settings, options, internalColumns) {
10361
+ function mapTableChildrenToColumns(props, settings, options, internalColumns, localization) {
10199
10362
  const {
10200
10363
  children,
10201
10364
  defaultRowGroupColumnId
@@ -10203,7 +10366,7 @@ function mapTableChildrenToColumns(props, settings, options, internalColumns) {
10203
10366
  const defaultSizing = {};
10204
10367
  const defaultSorting = [];
10205
10368
  const defaultVisibility = {};
10206
- const columns = React__default.Children.toArray(children).reduce((columns, child) => processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId), []);
10369
+ const columns = React__default.Children.toArray(children).reduce((columns, child) => processChildren(child, columns, defaultSizing, defaultSorting, defaultVisibility, settings, defaultRowGroupColumnId, localization), []);
10207
10370
  if (internalColumns) {
10208
10371
  var _props$rowActions;
10209
10372
  if (options.enableRowExpansion && props.rowExpansionRenderer && internalColumns.rowExpansion) {
@@ -10230,7 +10393,7 @@ function mapTableChildrenToColumns(props, settings, options, internalColumns) {
10230
10393
  defaultVisibility
10231
10394
  };
10232
10395
  }
10233
- function configureReactTableOptions(options, props) {
10396
+ function configureReactTableOptions(options, props, localization) {
10234
10397
  var _options$enableFilter, _options$enableColumn, _options$enableRowExp, _options$enableColumn2, _options$enableColumn3, _options$enableSortin;
10235
10398
  const enableRowSelection = options.enableRowSelection || options.enableRowSelectionSingle;
10236
10399
  // We don't want to expose internal Tanstack Table row, so we need to wrap enableRowSelection callback into additional function,
@@ -10277,7 +10440,7 @@ function configureReactTableOptions(options, props) {
10277
10440
  if (options.enableSearch) {
10278
10441
  // always set these because enableGlobalFilter can be toggled on and off by the user
10279
10442
  tableOptions.getFilteredRowModel = reactTable.getFilteredRowModel();
10280
- tableOptions.globalFilterFn = globalFilterFn;
10443
+ tableOptions.globalFilterFn = (row, columnId, searchQuery) => globalFilterFn(row, columnId, searchQuery, localization);
10281
10444
  tableOptions.getColumnCanGlobalFilter = column => {
10282
10445
  var _column$columnDef$met, _column$columnDef$met2;
10283
10446
  return (_column$columnDef$met = (_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.enableSearch) !== null && _column$columnDef$met !== void 0 ? _column$columnDef$met : true;
@@ -11394,64 +11557,14 @@ function useTableRowSelectionListener(table, onRowSelect) {
11394
11557
  }, [!!table.options.enableRowSelection, !!table.options.enableMultiRowSelection, JSON.stringify(rowSelection)]);
11395
11558
  }
11396
11559
 
11397
- function resetHighlightedColumnIndexes(value, table) {
11398
- const tableMeta = table.options.meta;
11399
- let firstRowIndex;
11400
- if (value) {
11401
- const indexes = [];
11402
- const columns = table.getVisibleLeafColumns();
11403
- const rowGrouping = table.getState().grouping;
11404
- table.getRowModel().rows.forEach((row, rowIndex) => {
11405
- columns.forEach((column, columnIndex) => {
11406
- try {
11407
- let allowSearch = true;
11408
- if (rowGrouping !== null && rowGrouping !== void 0 && rowGrouping.length) {
11409
- // if it's the grouped row, only allow search of the grouped column - because that's all that's visible
11410
- if (row.getIsGrouped()) {
11411
- allowSearch = column.getIsGrouped();
11412
- }
11413
- // otherwise for other rows, don't search the grouped column - because it isn't visible
11414
- else if (rowGrouping.includes(column.id)) {
11415
- allowSearch = false;
11416
- }
11417
- }
11418
- if (column.getIsVisible() && column.columnDef.enableGlobalFilter && allowSearch) {
11419
- var _column$columnDef$met;
11420
- const cellValue = getCellValueAsString(get(row.original, column.id), (_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.dataType);
11421
- // indexes don't map to sorted data
11422
- if (cellValue !== undefined && isWeakContains(cellValue, value)) {
11423
- indexes.push([rowIndex, columnIndex]);
11424
- }
11425
- }
11426
- } catch (e) {
11427
- //
11428
- }
11429
- });
11430
- });
11431
- tableMeta.search.setHighlightedColumnIndexes(indexes);
11432
- if (indexes.length) {
11433
- firstRowIndex = indexes[0][0];
11434
- tableMeta.search.setCurrentHighlightColumnIndex(0);
11435
- } else {
11436
- tableMeta.search.setCurrentHighlightColumnIndex(undefined);
11437
- }
11438
- } else {
11439
- tableMeta.search.setHighlightedColumnIndexes([]);
11440
- tableMeta.search.setCurrentHighlightColumnIndex(undefined);
11441
- }
11442
- if (firstRowIndex !== undefined) {
11443
- tableMeta.rowActive.setRowActiveIndex(firstRowIndex);
11444
- }
11445
- return firstRowIndex;
11446
- }
11447
-
11448
11560
  function useTableSearchListener(table, onChangeSearch) {
11449
11561
  const meta = table.options.meta;
11562
+ const localization = useLocalization();
11450
11563
  // recalculates highlighted indexes whenever something important changes
11451
11564
  React__default.useEffect(() => {
11452
11565
  if (meta.search.isEnabled) {
11453
11566
  const query = table.getState().globalFilter;
11454
- resetHighlightedColumnIndexes(query, table);
11567
+ resetHighlightedColumnIndexes(query, table, localization);
11455
11568
  if (typeof onChangeSearch === 'function') {
11456
11569
  onChangeSearch(query);
11457
11570
  }
@@ -11571,6 +11684,7 @@ function useTableRowDrop(isEnabled = false, onRowDrop) {
11571
11684
  const DEFAULT_EMPTY_ARRAY = [];
11572
11685
  function useTableManager(props, meta, internalColumns) {
11573
11686
  var _props$data, _props$length, _meta$editing, _instance$options$met;
11687
+ const localization = useLocalization();
11574
11688
  // CSS.escape would be best here, but it doesn't seem to work very well
11575
11689
  const safeId = props.id.replace('.', '_');
11576
11690
  // configure table options, merging props with presets
@@ -11603,7 +11717,7 @@ function useTableManager(props, meta, internalColumns) {
11603
11717
  const {
11604
11718
  columns,
11605
11719
  ...defaultState
11606
- } = mapTableChildrenToColumns(props, settings, options, internalColumns);
11720
+ } = mapTableChildrenToColumns(props, settings, options, internalColumns, localization);
11607
11721
  // configure initial table state
11608
11722
  const initialState = useReactTableInitialState(props, columns, settings, defaultState);
11609
11723
  // create a react-table instance
@@ -11614,7 +11728,7 @@ function useTableManager(props, meta, internalColumns) {
11614
11728
  initialState,
11615
11729
  getCoreRowModel: reactTable.getCoreRowModel(),
11616
11730
  // configure react-table built-in features
11617
- ...configureReactTableOptions(options, props),
11731
+ ...configureReactTableOptions(options, props, localization),
11618
11732
  // settings that can be toggled by the user, and therefore require our own state
11619
11733
  enableGlobalFilter: search.enableGlobalFilter,
11620
11734
  // custom context
@@ -12568,6 +12682,7 @@ function getCellAttributes(cell, index, isHighlighted) {
12568
12682
  };
12569
12683
  }
12570
12684
  function useSearchHighlighting(cell, cellIndex, ref) {
12685
+ const localization = useLocalization();
12571
12686
  const {
12572
12687
  rowIndex
12573
12688
  } = React__default.useContext(RowContext);
@@ -12580,7 +12695,7 @@ function useSearchHighlighting(cell, cellIndex, ref) {
12580
12695
  }
12581
12696
  let isHighlighted = false;
12582
12697
  if (context.table.getState().globalFilter) {
12583
- isHighlighted = isCellHighlighted(context.table.getState().globalFilter, cell.getValue(), columnMeta.dataType);
12698
+ isHighlighted = isCellHighlighted(context.table.getState().globalFilter, cell.getValue(), columnMeta.dataType, localization);
12584
12699
  }
12585
12700
  if (!isHighlighted || tableMeta.search.currentHighlightColumnIndex === undefined) {
12586
12701
  return undefined;
@@ -13118,11 +13233,11 @@ function HeaderMenu(props) {
13118
13233
  return Promise.reject(e);
13119
13234
  }
13120
13235
  };
13121
- popoverElement = props => /*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13236
+ popoverElement = props => (/*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13122
13237
  open: true,
13123
13238
  onChange: handleClosePopover,
13124
13239
  onGoto: goto
13125
- }));
13240
+ })));
13126
13241
  }
13127
13242
  }
13128
13243
  }
@@ -13465,10 +13580,10 @@ const FOCUS_MANAGER_OPTIONS_ARROW_KEYS = {
13465
13580
  };
13466
13581
  function useAugmentedFocusManager() {
13467
13582
  const focusManager = focus.useFocusManager();
13468
- const focusPrevious = (arrowNavigation = false) => focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13469
- const focusNext = (arrowNavigation = false) => focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13470
- const focusFirst = () => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
13471
- const focusLast = () => focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
13583
+ const focusPrevious = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13584
+ const focusNext = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13585
+ const focusFirst = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
13586
+ const focusLast = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
13472
13587
  return {
13473
13588
  focusPrevious,
13474
13589
  focusNext,
@@ -13985,7 +14100,7 @@ function Container(externalProps) {
13985
14100
  if (!(activeList !== null && activeList !== void 0 && activeList.id) || !(overList !== null && overList !== void 0 && overList.id) || activeList.id === overList.id) {
13986
14101
  return;
13987
14102
  }
13988
- move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
14103
+ move === null || move === void 0 ? void 0 : move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
13989
14104
  }
13990
14105
  function handleDragEnd(event) {
13991
14106
  const {
@@ -14804,7 +14919,6 @@ const Colours = props => {
14804
14919
  const {
14805
14920
  color,
14806
14921
  onChangeColor,
14807
- onClick,
14808
14922
  onKeyDown
14809
14923
  } = props;
14810
14924
  const {
@@ -14813,7 +14927,6 @@ const Colours = props => {
14813
14927
  return /*#__PURE__*/React__default.createElement(RadioGroupPrimitive.Root, {
14814
14928
  "aria-label": texts.select2.chooseColor,
14815
14929
  className: "grid grid-cols-4 gap-2 focus:outline-none",
14816
- onClick: onClick,
14817
14930
  onKeyDown: onKeyDown,
14818
14931
  onValueChange: color => onChangeColor(color),
14819
14932
  value: color
@@ -15411,19 +15524,20 @@ const filterOption = (child, searchQuery) => {
15411
15524
  };
15412
15525
 
15413
15526
  const getNextColor = options => {
15414
- let occurrences = {};
15415
- AVAILABLE_COLORS.filter(color => color !== 'transparent').forEach(color => {
15416
- occurrences = {
15417
- ...occurrences,
15418
- [color]: 0
15419
- };
15420
- });
15421
- options.reduce((occurrences, option) => {
15527
+ const occurrences = AVAILABLE_COLORS.reduce((prev, color) => {
15528
+ if (color !== 'transparent') {
15529
+ return {
15530
+ ...prev,
15531
+ [color]: 0
15532
+ };
15533
+ }
15534
+ return prev;
15535
+ }, {});
15536
+ options.forEach(option => {
15422
15537
  if (option.props.color) {
15423
15538
  occurrences[option.props.color] = occurrences[option.props.color] ? occurrences[option.props.color] + 1 : 1;
15424
15539
  }
15425
- return occurrences;
15426
- }, occurrences);
15540
+ });
15427
15541
  const colors = Object.keys(occurrences);
15428
15542
  if (colors.length) {
15429
15543
  return colors.sort((a, b) => occurrences[a] - occurrences[b])[0];
@@ -16076,16 +16190,13 @@ function guessComparatorsBasedOnControl(column) {
16076
16190
  }
16077
16191
  }
16078
16192
  }
16079
- if (columnMeta.dataType === 'number') {
16080
- return [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsGreaterThan, exports.TableFilterComparator.IsLessThan, exports.TableFilterComparator.IsBetween, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty];
16081
- }
16082
- if (columnMeta.control === 'datepicker' || columnMeta.dataType === 'datetime') {
16083
- return [exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsBetween, exports.TableFilterComparator.IsLessThan, exports.TableFilterComparator.IsGreaterThan, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty, exports.TableFilterComparator.IsLessThanOrEqualTo, exports.TableFilterComparator.IsGreaterThanOrEqualTo];
16193
+ if (columnMeta.control === 'datepicker') {
16194
+ return getDataTypeProperties('datetime').filterComparators;
16084
16195
  }
16085
16196
  if (columnMeta.control === 'switch') {
16086
- return [exports.TableFilterComparator.IsEqualTo];
16197
+ return getDataTypeProperties('boolean').filterComparators;
16087
16198
  }
16088
- return [exports.TableFilterComparator.Contains, exports.TableFilterComparator.DoesNotContain, exports.TableFilterComparator.IsEqualTo, exports.TableFilterComparator.IsNotEqualTo, exports.TableFilterComparator.IsEmpty, exports.TableFilterComparator.IsNotEmpty];
16199
+ return getDataTypeProperties(columnMeta.dataType).filterComparators;
16089
16200
  }
16090
16201
 
16091
16202
  const FilterColumn = /*#__PURE__*/React__default.forwardRef((props, ref) => {
@@ -16264,6 +16375,7 @@ function Control(props) {
16264
16375
  } = props;
16265
16376
  const controlRenderer = column === null || column === void 0 ? void 0 : (_column$columnDef$met2 = column.columnDef.meta) === null || _column$columnDef$met2 === void 0 ? void 0 : _column$columnDef$met2.control;
16266
16377
  const dataType = column === null || column === void 0 ? void 0 : (_column$columnDef$met3 = column.columnDef.meta) === null || _column$columnDef$met3 === void 0 ? void 0 : _column$columnDef$met3.dataType;
16378
+ const ref = React__default.useRef(null);
16267
16379
  React.useEffect(() => {
16268
16380
  // Set value to false only after first render of the control (when it's undefined) after setting the FilterColumn value, because we don't want to change then the value every time filter is opened
16269
16381
  if (controlRenderer === 'switch' && value === undefined) {
@@ -16274,7 +16386,8 @@ function Control(props) {
16274
16386
  return /*#__PURE__*/React__default.cloneElement(controlRenderer({
16275
16387
  ...attributes,
16276
16388
  setValue: value => onChange(value),
16277
- value
16389
+ value,
16390
+ ref
16278
16391
  }), {
16279
16392
  ['data-query-selector']: querySelector,
16280
16393
  className: 'focus:yt-focus'
@@ -18242,11 +18355,11 @@ function useTableEditingListener(table, tableRef) {
18242
18355
  }, [saveChanges, tableMeta.editing.isEditing]);
18243
18356
  }
18244
18357
 
18245
- function willRowMove(cell, change, rowIndex) {
18358
+ function willRowMove(cell, change, rowIndex, localization) {
18246
18359
  const {
18247
18360
  table
18248
18361
  } = cell.getContext();
18249
- if (willRowMoveAfterSearch(cell, change, table)) {
18362
+ if (willRowMoveAfterSearch(cell, change, table, localization)) {
18250
18363
  return 'search';
18251
18364
  } else if (willRowMoveAfterFilter(cell, change)) {
18252
18365
  return 'filter';
@@ -18255,7 +18368,7 @@ function willRowMove(cell, change, rowIndex) {
18255
18368
  }
18256
18369
  return undefined;
18257
18370
  }
18258
- function willRowMoveAfterSearch(cell, change, table) {
18371
+ function willRowMoveAfterSearch(cell, change, table, localization) {
18259
18372
  const searchQuery = table.getState().globalFilter;
18260
18373
  if (!table.options.enableGlobalFilter || !searchQuery) {
18261
18374
  return false;
@@ -18267,7 +18380,7 @@ function willRowMoveAfterSearch(cell, change, table) {
18267
18380
  [cell.column.id]: change
18268
18381
  }
18269
18382
  };
18270
- return !globalFilterFn(rowWithChange, cell.column.id, searchQuery);
18383
+ return !globalFilterFn(rowWithChange, cell.column.id, searchQuery, localization);
18271
18384
  }
18272
18385
  function willRowMoveAfterFilter(cell, change) {
18273
18386
  if (!cell.column.getIsFiltered()) {
@@ -18300,7 +18413,7 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18300
18413
  if (rowIndex < rows.length - 1) {
18301
18414
  miniSortRows.push(rows[rowIndex + 1]);
18302
18415
  }
18303
- const resortedRows = [...miniSortRows].sort((rowA, rowB) => {
18416
+ const sortRows = (rowA, rowB) => {
18304
18417
  const sortFn = cell.column.getSortingFn();
18305
18418
  const sortUndefined = cell.column.columnDef.sortUndefined;
18306
18419
  if (!table.options.manualSorting && sortUndefined) {
@@ -18313,7 +18426,8 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18313
18426
  }
18314
18427
  }
18315
18428
  return sortFn(rowA, rowB, cell.column.id);
18316
- });
18429
+ };
18430
+ const resortedRows = [...miniSortRows].sort(sortRows);
18317
18431
  if (cell.column.getIsSorted() === 'desc') {
18318
18432
  resortedRows.reverse();
18319
18433
  }
@@ -18499,7 +18613,7 @@ function usePendingChanges(isEnabled, handleSave, handleChange, validator) {
18499
18613
  [cell.column.id]: change
18500
18614
  };
18501
18615
  setPendingChanges(currentChanges => {
18502
- const nextChanges = createPendingChangesSetter(currentChanges, cell.row, rowIndex, changes);
18616
+ const nextChanges = createPendingChangesSetter(currentChanges, cell.row, rowIndex, changes, localization);
18503
18617
  pendingChangesUpdater.syncCellChanges(nextChanges);
18504
18618
  return nextChanges;
18505
18619
  });
@@ -18543,6 +18657,7 @@ function usePendingChanges(isEnabled, handleSave, handleChange, validator) {
18543
18657
  return Promise.reject(e);
18544
18658
  }
18545
18659
  };
18660
+ const localization = useLocalization();
18546
18661
  const [pendingChanges, setPendingChanges] = React__default.useState({});
18547
18662
  // we maintain save status as separate state because 'complete' needs to briefly show after pendingChanges are deleted
18548
18663
  const [saveStates, setSaveState] = React__default.useState({});
@@ -18676,6 +18791,7 @@ function useLastFocusedCellIndex() {
18676
18791
  return [lastFocusedCellIndexRef.current, setLastFocusedCellIndex];
18677
18792
  }
18678
18793
  function usePendingChangesUpdater(handleChange, setPendingChanges) {
18794
+ const localization = useLocalization();
18679
18795
  const updatersRef = React__default.useRef({});
18680
18796
  const runCellUpdates = React__default.useCallback(lodash.debounce(function (changes, cell, rowIndex) {
18681
18797
  try {
@@ -18691,7 +18807,7 @@ function usePendingChangesUpdater(handleChange, setPendingChanges) {
18691
18807
  };
18692
18808
  return Promise.resolve(handleChange(cell.column.id, changes[cell.column.id], nextValues, previousValues)).then(function (updates) {
18693
18809
  if (updates && Object.keys(updates).length) {
18694
- setPendingChanges(currentChanges => createPendingChangesSetter(currentChanges, cell.row, rowIndex, updates));
18810
+ setPendingChanges(currentChanges => createPendingChangesSetter(currentChanges, cell.row, rowIndex, updates, localization));
18695
18811
  }
18696
18812
  });
18697
18813
  }
@@ -18709,7 +18825,7 @@ function usePendingChangesUpdater(handleChange, setPendingChanges) {
18709
18825
  runCellUpdates
18710
18826
  };
18711
18827
  }
18712
- function createPendingChangesSetter(currentChanges, row, rowIndex, changes) {
18828
+ function createPendingChangesSetter(currentChanges, row, rowIndex, changes, localization) {
18713
18829
  var _currentChanges$row$i, _currentChanges$row$i2, _currentChanges$row$i3;
18714
18830
  // prepare
18715
18831
  const nextChanges = {
@@ -18736,7 +18852,7 @@ function createPendingChangesSetter(currentChanges, row, rowIndex, changes) {
18736
18852
  if (change !== row.original[accessor]) {
18737
18853
  rowChanges[accessor] = change;
18738
18854
  // determine if the row will move position based on this change, and save why it will move
18739
- const reason = willRowMove(cells[accessor], change, rowIndex);
18855
+ const reason = willRowMove(cells[accessor], change, rowIndex, localization);
18740
18856
  if (reason) {
18741
18857
  rowChanges._meta.moveReason[accessor] = reason;
18742
18858
  } else {
@@ -19351,7 +19467,10 @@ function Row$2(props) {
19351
19467
  const isActiveRow = tableMeta.rowActive.rowActiveIndex === index;
19352
19468
  React__default.useEffect(() => {
19353
19469
  if (tableMeta.editing.isEditing && isActiveRow && tableMeta.editing.lastFocusedCellIndex === undefined) {
19354
- setDataFocusAttribute(focusManager.focusFirst());
19470
+ const element = focusManager.focusFirst();
19471
+ if (element) {
19472
+ setDataFocusAttribute(element);
19473
+ }
19355
19474
  }
19356
19475
  }, [tableMeta.editing.isEditing, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.lastFocusedCellIndex]);
19357
19476
  const handleFocus = React__default.useCallback(event => {
@@ -19840,7 +19959,7 @@ const Tooltip$1 = ({
19840
19959
  icon: "close",
19841
19960
  title: locale.skip,
19842
19961
  "aria-label": locale.skip,
19843
- className: "absolute top-0 right-0 mt-1 mr-1"
19962
+ className: "absolute right-0 top-0 mr-1 mt-1"
19844
19963
  })), step.title && /*#__PURE__*/React.createElement("h5", null, step.title), step.content, /*#__PURE__*/React.createElement(Group, {
19845
19964
  className: "mt-4 justify-end"
19846
19965
  }, index > 0 && (/*#__PURE__*/React.createElement(Button$1, Object.assign({}, backProps, {
@@ -20202,13 +20321,15 @@ const AgreementDisplay = props => {
20202
20321
  }));
20203
20322
  };
20204
20323
 
20205
- const Container$1 = props => {
20324
+ const Container$1 = ({
20325
+ children
20326
+ }) => {
20206
20327
  return /*#__PURE__*/React__default.createElement("div", {
20207
20328
  className: "-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64",
20208
20329
  "data-taco": "header-agreements"
20209
20330
  }, /*#__PURE__*/React__default.createElement("span", {
20210
20331
  className: "hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"
20211
- }), props.children);
20332
+ }), children);
20212
20333
  };
20213
20334
  function AgreementSelector(props) {
20214
20335
  const {
@@ -20280,7 +20401,7 @@ function AgreementSelector(props) {
20280
20401
  }
20281
20402
  return button;
20282
20403
  })), handleAddAgreement ? (/*#__PURE__*/React__default.createElement(Button$1, {
20283
- className: "focus-visible:!yt-focus-dark my-1 mx-2 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",
20404
+ className: "focus-visible:!yt-focus-dark mx-2 my-1 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",
20284
20405
  onClick: handleAddAgreement
20285
20406
  }, texts.header.addAgreement)) : null, /*#__PURE__*/React__default.createElement("hr", {
20286
20407
  className: "my-0 h-px w-full bg-white/[0.08]"