@economic/taco 2.42.1-alpha.0 → 2.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (446) 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/components/Content.d.ts +1 -1
  4. package/dist/components/Calendar/Calendar.d.ts +1 -1
  5. package/dist/components/Datepicker/Datepicker.d.ts +3 -3
  6. package/dist/components/Dialog/components/Content.d.ts +1 -1
  7. package/dist/components/Dialog/components/DialogDrawer.d.ts +1 -1
  8. package/dist/components/Drawer/components/Content.d.ts +2 -2
  9. package/dist/components/Header/components/Agreement/Badge.d.ts +1 -1
  10. package/dist/components/Header/components/Agreement/Display.d.ts +2 -2
  11. package/dist/components/Header/components/Agreement/Item.d.ts +2 -2
  12. package/dist/components/Header/components/AgreementSelector.d.ts +2 -2
  13. package/dist/components/Header/components/Button.d.ts +1 -1
  14. package/dist/components/HoverCard/HoverCard.d.ts +1 -1
  15. package/dist/components/Icon/components/AccountPreview.d.ts +1 -1
  16. package/dist/components/Icon/components/Accounting.d.ts +1 -1
  17. package/dist/components/Icon/components/AccountingYear.d.ts +1 -1
  18. package/dist/components/Icon/components/AccountingYearCancel.d.ts +1 -1
  19. package/dist/components/Icon/components/AiChatSolid.d.ts +1 -1
  20. package/dist/components/Icon/components/AiStars.d.ts +1 -1
  21. package/dist/components/Icon/components/ArrowBottom.d.ts +1 -1
  22. package/dist/components/Icon/components/ArrowDown.d.ts +1 -1
  23. package/dist/components/Icon/components/ArrowEnd.d.ts +1 -1
  24. package/dist/components/Icon/components/ArrowLeft.d.ts +1 -1
  25. package/dist/components/Icon/components/ArrowRight.d.ts +1 -1
  26. package/dist/components/Icon/components/ArrowStart.d.ts +1 -1
  27. package/dist/components/Icon/components/ArrowTop.d.ts +1 -1
  28. package/dist/components/Icon/components/ArrowUp.d.ts +1 -1
  29. package/dist/components/Icon/components/Attach.d.ts +1 -1
  30. package/dist/components/Icon/components/AttachAuto.d.ts +1 -1
  31. package/dist/components/Icon/components/AttachCancel.d.ts +1 -1
  32. package/dist/components/Icon/components/AttachWarning.d.ts +1 -1
  33. package/dist/components/Icon/components/Autotext.d.ts +1 -1
  34. package/dist/components/Icon/components/AutotextInsert.d.ts +1 -1
  35. package/dist/components/Icon/components/Basic.d.ts +1 -1
  36. package/dist/components/Icon/components/BasicTabs.d.ts +1 -1
  37. package/dist/components/Icon/components/BellSolid.d.ts +1 -1
  38. package/dist/components/Icon/components/Book.d.ts +1 -1
  39. package/dist/components/Icon/components/Booking.d.ts +1 -1
  40. package/dist/components/Icon/components/Budget.d.ts +1 -1
  41. package/dist/components/Icon/components/Calendar.d.ts +1 -1
  42. package/dist/components/Icon/components/CashAccount.d.ts +1 -1
  43. package/dist/components/Icon/components/CashReports.d.ts +1 -1
  44. package/dist/components/Icon/components/ChartArea.d.ts +1 -1
  45. package/dist/components/Icon/components/ChartBar.d.ts +1 -1
  46. package/dist/components/Icon/components/ChartLine.d.ts +1 -1
  47. package/dist/components/Icon/components/ChartPie.d.ts +1 -1
  48. package/dist/components/Icon/components/ChartTable.d.ts +1 -1
  49. package/dist/components/Icon/components/Chat.d.ts +1 -1
  50. package/dist/components/Icon/components/ChatSolid.d.ts +1 -1
  51. package/dist/components/Icon/components/ChevronDown.d.ts +1 -1
  52. package/dist/components/Icon/components/ChevronDownDouble.d.ts +1 -1
  53. package/dist/components/Icon/components/ChevronDownSolid.d.ts +1 -1
  54. package/dist/components/Icon/components/ChevronLeft.d.ts +1 -1
  55. package/dist/components/Icon/components/ChevronLeftDouble.d.ts +1 -1
  56. package/dist/components/Icon/components/ChevronLeftSolid.d.ts +1 -1
  57. package/dist/components/Icon/components/ChevronRight.d.ts +1 -1
  58. package/dist/components/Icon/components/ChevronRightDouble.d.ts +1 -1
  59. package/dist/components/Icon/components/ChevronRightSolid.d.ts +1 -1
  60. package/dist/components/Icon/components/ChevronUp.d.ts +1 -1
  61. package/dist/components/Icon/components/ChevronUpDouble.d.ts +1 -1
  62. package/dist/components/Icon/components/ChevronUpSolid.d.ts +1 -1
  63. package/dist/components/Icon/components/CircleClose.d.ts +1 -1
  64. package/dist/components/Icon/components/CircleInformation.d.ts +1 -1
  65. package/dist/components/Icon/components/CircleMinus.d.ts +1 -1
  66. package/dist/components/Icon/components/CirclePlus.d.ts +1 -1
  67. package/dist/components/Icon/components/CircleQuestionmark.d.ts +1 -1
  68. package/dist/components/Icon/components/CircleTick.d.ts +1 -1
  69. package/dist/components/Icon/components/CircleWarning.d.ts +1 -1
  70. package/dist/components/Icon/components/Clamp.d.ts +1 -1
  71. package/dist/components/Icon/components/ClampOpen.d.ts +1 -1
  72. package/dist/components/Icon/components/Close.d.ts +1 -1
  73. package/dist/components/Icon/components/ColumnFreeze.d.ts +1 -1
  74. package/dist/components/Icon/components/ColumnUnfreeze.d.ts +1 -1
  75. package/dist/components/Icon/components/Columns.d.ts +1 -1
  76. package/dist/components/Icon/components/ConnectionEnable.d.ts +1 -1
  77. package/dist/components/Icon/components/ConnectionRevoke.d.ts +1 -1
  78. package/dist/components/Icon/components/Contacts.d.ts +1 -1
  79. package/dist/components/Icon/components/Copy.d.ts +1 -1
  80. package/dist/components/Icon/components/Courses.d.ts +1 -1
  81. package/dist/components/Icon/components/Credit.d.ts +1 -1
  82. package/dist/components/Icon/components/Delete.d.ts +1 -1
  83. package/dist/components/Icon/components/DeletePermanently.d.ts +1 -1
  84. package/dist/components/Icon/components/Depecriate.d.ts +1 -1
  85. package/dist/components/Icon/components/Developer.d.ts +1 -1
  86. package/dist/components/Icon/components/DistributionTemplate.d.ts +1 -1
  87. package/dist/components/Icon/components/Document.d.ts +1 -1
  88. package/dist/components/Icon/components/DocumentApprove.d.ts +1 -1
  89. package/dist/components/Icon/components/DocumentCreateEntry.d.ts +1 -1
  90. package/dist/components/Icon/components/DocumentCut.d.ts +1 -1
  91. package/dist/components/Icon/components/DocumentError.d.ts +1 -1
  92. package/dist/components/Icon/components/DocumentIsolatePage.d.ts +1 -1
  93. package/dist/components/Icon/components/DocumentMerge.d.ts +1 -1
  94. package/dist/components/Icon/components/DocumentMove.d.ts +1 -1
  95. package/dist/components/Icon/components/DocumentPreview.d.ts +1 -1
  96. package/dist/components/Icon/components/DocumentReceived.d.ts +1 -1
  97. package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +1 -1
  98. package/dist/components/Icon/components/DocumentSigned.d.ts +1 -1
  99. package/dist/components/Icon/components/DocumentSignedSolid.d.ts +1 -1
  100. package/dist/components/Icon/components/DocumentSplit.d.ts +1 -1
  101. package/dist/components/Icon/components/DocumentTime.d.ts +1 -1
  102. package/dist/components/Icon/components/Download.d.ts +1 -1
  103. package/dist/components/Icon/components/Drag.d.ts +1 -1
  104. package/dist/components/Icon/components/ECopedia.d.ts +1 -1
  105. package/dist/components/Icon/components/Edit.d.ts +1 -1
  106. package/dist/components/Icon/components/EditSimple.d.ts +1 -1
  107. package/dist/components/Icon/components/EllipsisHorizontal.d.ts +1 -1
  108. package/dist/components/Icon/components/EllipsisVertical.d.ts +1 -1
  109. package/dist/components/Icon/components/EntriesOnAccount.d.ts +1 -1
  110. package/dist/components/Icon/components/EntriesOpen.d.ts +1 -1
  111. package/dist/components/Icon/components/EntriesWarning.d.ts +1 -1
  112. package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +1 -1
  113. package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +1 -1
  114. package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +1 -1
  115. package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +1 -1
  116. package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +1 -1
  117. package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +1 -1
  118. package/dist/components/Icon/components/Envelope.d.ts +1 -1
  119. package/dist/components/Icon/components/EnvelopeApproved.d.ts +1 -1
  120. package/dist/components/Icon/components/EnvelopeSolid.d.ts +1 -1
  121. package/dist/components/Icon/components/ExpandView.d.ts +1 -1
  122. package/dist/components/Icon/components/Expenses.d.ts +1 -1
  123. package/dist/components/Icon/components/Export.d.ts +1 -1
  124. package/dist/components/Icon/components/ExportToExcel.d.ts +1 -1
  125. package/dist/components/Icon/components/ExportToPdf.d.ts +1 -1
  126. package/dist/components/Icon/components/EyeOff.d.ts +1 -1
  127. package/dist/components/Icon/components/EyeOn.d.ts +1 -1
  128. package/dist/components/Icon/components/Filter.d.ts +1 -1
  129. package/dist/components/Icon/components/FilterSolid.d.ts +1 -1
  130. package/dist/components/Icon/components/FontSize.d.ts +1 -1
  131. package/dist/components/Icon/components/GraphSolid.d.ts +1 -1
  132. package/dist/components/Icon/components/Hash.d.ts +1 -1
  133. package/dist/components/Icon/components/HeightExtraTall.d.ts +1 -1
  134. package/dist/components/Icon/components/HeightMedium.d.ts +1 -1
  135. package/dist/components/Icon/components/HeightShort.d.ts +1 -1
  136. package/dist/components/Icon/components/HeightTall.d.ts +1 -1
  137. package/dist/components/Icon/components/House.d.ts +1 -1
  138. package/dist/components/Icon/components/HouseSolid.d.ts +1 -1
  139. package/dist/components/Icon/components/Id.d.ts +1 -1
  140. package/dist/components/Icon/components/Images.d.ts +1 -1
  141. package/dist/components/Icon/components/Import.d.ts +1 -1
  142. package/dist/components/Icon/components/Inbox.d.ts +1 -1
  143. package/dist/components/Icon/components/InboxEinvoicing.d.ts +1 -1
  144. package/dist/components/Icon/components/InboxScanning.d.ts +1 -1
  145. package/dist/components/Icon/components/InboxSmart.d.ts +1 -1
  146. package/dist/components/Icon/components/Info.d.ts +1 -1
  147. package/dist/components/Icon/components/Inventory.d.ts +1 -1
  148. package/dist/components/Icon/components/InventoryMatrix.d.ts +1 -1
  149. package/dist/components/Icon/components/JournalPro.d.ts +1 -1
  150. package/dist/components/Icon/components/Layout.d.ts +1 -1
  151. package/dist/components/Icon/components/LayoutBoth.d.ts +1 -1
  152. package/dist/components/Icon/components/LayoutFirst.d.ts +1 -1
  153. package/dist/components/Icon/components/LayoutLast.d.ts +1 -1
  154. package/dist/components/Icon/components/LayoutNone.d.ts +1 -1
  155. package/dist/components/Icon/components/LedgerCard.d.ts +1 -1
  156. package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +1 -1
  157. package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +1 -1
  158. package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +1 -1
  159. package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +1 -1
  160. package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +1 -1
  161. package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +1 -1
  162. package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +1 -1
  163. package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +1 -1
  164. package/dist/components/Icon/components/Lightbulb.d.ts +1 -1
  165. package/dist/components/Icon/components/Line.d.ts +1 -1
  166. package/dist/components/Icon/components/LinkExternal.d.ts +1 -1
  167. package/dist/components/Icon/components/List.d.ts +1 -1
  168. package/dist/components/Icon/components/ListBulleted.d.ts +1 -1
  169. package/dist/components/Icon/components/ListSearch.d.ts +1 -1
  170. package/dist/components/Icon/components/Location.d.ts +1 -1
  171. package/dist/components/Icon/components/Lock.d.ts +1 -1
  172. package/dist/components/Icon/components/LockOpen.d.ts +1 -1
  173. package/dist/components/Icon/components/Log.d.ts +1 -1
  174. package/dist/components/Icon/components/LogOut.d.ts +1 -1
  175. package/dist/components/Icon/components/Market.d.ts +1 -1
  176. package/dist/components/Icon/components/MastercardOs.d.ts +1 -1
  177. package/dist/components/Icon/components/MatchAmount.d.ts +1 -1
  178. package/dist/components/Icon/components/MatchEntries.d.ts +1 -1
  179. package/dist/components/Icon/components/Menu.d.ts +1 -1
  180. package/dist/components/Icon/components/Mileage.d.ts +1 -1
  181. package/dist/components/Icon/components/ModalResize.d.ts +1 -1
  182. package/dist/components/Icon/components/ModalShrink.d.ts +1 -1
  183. package/dist/components/Icon/components/More.d.ts +1 -1
  184. package/dist/components/Icon/components/MoreSolid.d.ts +1 -1
  185. package/dist/components/Icon/components/Move.d.ts +1 -1
  186. package/dist/components/Icon/components/NavigationList.d.ts +1 -1
  187. package/dist/components/Icon/components/Note.d.ts +1 -1
  188. package/dist/components/Icon/components/NoteFollowUp.d.ts +1 -1
  189. package/dist/components/Icon/components/NoteRead.d.ts +1 -1
  190. package/dist/components/Icon/components/NovemberFirst.d.ts +1 -1
  191. package/dist/components/Icon/components/Numbers.d.ts +1 -1
  192. package/dist/components/Icon/components/PartnerApi.d.ts +1 -1
  193. package/dist/components/Icon/components/PaymentPaid.d.ts +1 -1
  194. package/dist/components/Icon/components/PaymentUnpaid.d.ts +1 -1
  195. package/dist/components/Icon/components/Period.d.ts +1 -1
  196. package/dist/components/Icon/components/PersonChange.d.ts +1 -1
  197. package/dist/components/Icon/components/PersonMinus.d.ts +1 -1
  198. package/dist/components/Icon/components/PersonPlus.d.ts +1 -1
  199. package/dist/components/Icon/components/PersonTick.d.ts +1 -1
  200. package/dist/components/Icon/components/Phone.d.ts +1 -1
  201. package/dist/components/Icon/components/PhoneSolid.d.ts +1 -1
  202. package/dist/components/Icon/components/Play.d.ts +1 -1
  203. package/dist/components/Icon/components/PlusMinus.d.ts +1 -1
  204. package/dist/components/Icon/components/Print.d.ts +1 -1
  205. package/dist/components/Icon/components/ProcessPayment.d.ts +1 -1
  206. package/dist/components/Icon/components/ProductLedgerCard.d.ts +1 -1
  207. package/dist/components/Icon/components/Profile.d.ts +1 -1
  208. package/dist/components/Icon/components/ProjectCards.d.ts +1 -1
  209. package/dist/components/Icon/components/Projects.d.ts +1 -1
  210. package/dist/components/Icon/components/QuestionMark.d.ts +1 -1
  211. package/dist/components/Icon/components/QuestionMarkBold.d.ts +1 -1
  212. package/dist/components/Icon/components/Quicklinks.d.ts +1 -1
  213. package/dist/components/Icon/components/RatingBankruptcy.d.ts +1 -1
  214. package/dist/components/Icon/components/RatingPaymentProblems.d.ts +1 -1
  215. package/dist/components/Icon/components/Reconciled.d.ts +1 -1
  216. package/dist/components/Icon/components/Refresh.d.ts +1 -1
  217. package/dist/components/Icon/components/Report.d.ts +1 -1
  218. package/dist/components/Icon/components/ReportSolid.d.ts +1 -1
  219. package/dist/components/Icon/components/Restore.d.ts +1 -1
  220. package/dist/components/Icon/components/RotateLeft.d.ts +1 -1
  221. package/dist/components/Icon/components/RotateRight.d.ts +1 -1
  222. package/dist/components/Icon/components/Sales.d.ts +1 -1
  223. package/dist/components/Icon/components/Search.d.ts +1 -1
  224. package/dist/components/Icon/components/SearchBold.d.ts +1 -1
  225. package/dist/components/Icon/components/Secure.d.ts +1 -1
  226. package/dist/components/Icon/components/SecureTick.d.ts +1 -1
  227. package/dist/components/Icon/components/Settings.d.ts +1 -1
  228. package/dist/components/Icon/components/SettingsSolid.d.ts +1 -1
  229. package/dist/components/Icon/components/Shortcuts.d.ts +1 -1
  230. package/dist/components/Icon/components/ShowAll.d.ts +1 -1
  231. package/dist/components/Icon/components/ShowLess.d.ts +1 -1
  232. package/dist/components/Icon/components/ShowMore.d.ts +1 -1
  233. package/dist/components/Icon/components/ShowTemplate.d.ts +1 -1
  234. package/dist/components/Icon/components/Sliders.d.ts +1 -1
  235. package/dist/components/Icon/components/Smartpay.d.ts +1 -1
  236. package/dist/components/Icon/components/SortBy.d.ts +1 -1
  237. package/dist/components/Icon/components/Star.d.ts +1 -1
  238. package/dist/components/Icon/components/StarSolid.d.ts +1 -1
  239. package/dist/components/Icon/components/Subscriptions.d.ts +1 -1
  240. package/dist/components/Icon/components/SystemEntries.d.ts +1 -1
  241. package/dist/components/Icon/components/Tag.d.ts +1 -1
  242. package/dist/components/Icon/components/TemplateOverride.d.ts +1 -1
  243. package/dist/components/Icon/components/Templates.d.ts +1 -1
  244. package/dist/components/Icon/components/ThumbBoth.d.ts +1 -1
  245. package/dist/components/Icon/components/ThumbDown.d.ts +1 -1
  246. package/dist/components/Icon/components/ThumbDownSolid.d.ts +1 -1
  247. package/dist/components/Icon/components/ThumbUp.d.ts +1 -1
  248. package/dist/components/Icon/components/ThumbUpSolid.d.ts +1 -1
  249. package/dist/components/Icon/components/Tick.d.ts +1 -1
  250. package/dist/components/Icon/components/TickBold.d.ts +1 -1
  251. package/dist/components/Icon/components/Time.d.ts +1 -1
  252. package/dist/components/Icon/components/Transfer.d.ts +1 -1
  253. package/dist/components/Icon/components/TransferCancel.d.ts +1 -1
  254. package/dist/components/Icon/components/TransferLocked.d.ts +1 -1
  255. package/dist/components/Icon/components/Undo.d.ts +1 -1
  256. package/dist/components/Icon/components/Undock.d.ts +1 -1
  257. package/dist/components/Icon/components/Unreconciled.d.ts +1 -1
  258. package/dist/components/Icon/components/Warning.d.ts +1 -1
  259. package/dist/components/Icon/components/Webshop.d.ts +1 -1
  260. package/dist/components/Icon/components/Website.d.ts +1 -1
  261. package/dist/components/Icon/components/Workflow.d.ts +1 -1
  262. package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +1 -1
  263. package/dist/components/Icon/components/Zoom.d.ts +1 -1
  264. package/dist/components/IconButton/IconButton.d.ts +2 -2
  265. package/dist/components/Input/Input.d.ts +2 -2
  266. package/dist/components/Input/util.d.ts +1 -11
  267. package/dist/components/Layout/components/Sidebar.d.ts +2 -14
  268. package/dist/components/Layout/components/Top.d.ts +2 -2
  269. package/dist/components/List/List.d.ts +7 -7
  270. package/dist/components/List/components/Button.d.ts +1 -1
  271. package/dist/components/List/components/Collapsible.d.ts +1 -1
  272. package/dist/components/List/components/Group.d.ts +1 -1
  273. package/dist/components/List/components/Item.d.ts +1 -1
  274. package/dist/components/List/components/Link.d.ts +1 -1
  275. package/dist/components/List/components/Toggle.d.ts +2 -2
  276. package/dist/components/Listbox/Listbox.d.ts +2 -2
  277. package/dist/components/Listbox/ScrollableList.d.ts +1 -1
  278. package/dist/components/Listbox/util.d.ts +2 -2
  279. package/dist/components/Menu/components/Checkbox.d.ts +1 -1
  280. package/dist/components/Menu/components/Content.d.ts +2 -2
  281. package/dist/components/Menu/components/Item.d.ts +8 -8
  282. package/dist/components/Menu/components/Link.d.ts +1 -1
  283. package/dist/components/Menu/components/RadioGroup.d.ts +1 -1
  284. package/dist/components/Menu/components/SubMenu.d.ts +1 -1
  285. package/dist/components/Menu/components/Trigger.d.ts +1 -1
  286. package/dist/components/Navigation2/components/Group.d.ts +1 -1
  287. package/dist/components/Popover/Popover.d.ts +2 -2
  288. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  289. package/dist/components/ScrollArea/ScrollArea.d.ts +2 -2
  290. package/dist/components/SearchInput/SearchInput.d.ts +1 -1
  291. package/dist/components/Select/Select.d.ts +1 -1
  292. package/dist/components/Select2/components/All.d.ts +2 -2
  293. package/dist/components/Select2/components/Collection.d.ts +1 -1
  294. package/dist/components/Select2/components/Create.d.ts +1 -1
  295. package/dist/components/Select2/components/Edit.d.ts +2 -2
  296. package/dist/components/Select2/components/Group.d.ts +1 -1
  297. package/dist/components/Select2/components/Option.d.ts +1 -1
  298. package/dist/components/Select2/components/Search.d.ts +3 -3
  299. package/dist/components/Select2/components/Trigger.d.ts +1 -1
  300. package/dist/components/Select2/hooks/useChildren.d.ts +2 -2
  301. package/dist/components/Shortcut/Shortcut.d.ts +1 -1
  302. package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +2 -2
  303. package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +1 -1
  304. package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +2 -2
  305. package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +2 -2
  306. package/dist/components/Table3/components/Editing/Alert.d.ts +1 -1
  307. package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +2 -2
  308. package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +2 -2
  309. package/dist/components/Table3/components/Row/Row.d.ts +2 -2
  310. package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +1 -1
  311. package/dist/components/Table3/features/useTableEditing.d.ts +2 -2
  312. package/dist/components/Table3/util/editing.d.ts +1 -1
  313. package/dist/components/Tag/Tag.d.ts +2 -2
  314. package/dist/components/Tooltip/Tooltip.d.ts +1 -1
  315. package/dist/components/Tour/Tour.d.ts +3 -3
  316. package/dist/components/Truncate/Truncate.d.ts +1 -1
  317. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +6 -14
  318. package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -1
  319. package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -1
  320. package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js +9 -13
  321. package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -1
  322. package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -1
  323. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +3 -3
  324. package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -1
  325. package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -1
  326. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +3 -5
  327. package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -1
  328. package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
  329. package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
  330. package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -1
  331. package/dist/esm/packages/taco/src/components/Listbox/util.js +1 -7
  332. package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -1
  333. package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
  334. package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
  335. package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
  336. package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -1
  337. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +4 -4
  338. package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
  339. package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -1
  340. package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -1
  341. package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
  342. package/dist/esm/packages/taco/src/components/Select2/components/Create.js +10 -11
  343. package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
  344. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +2 -0
  345. package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
  346. package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
  347. package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
  348. package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
  349. package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -1
  350. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
  351. package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
  352. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -1
  353. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +5 -4
  354. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -1
  355. package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -1
  356. package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -1
  357. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -1
  358. package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -1
  359. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +1 -4
  360. package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -1
  361. package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -1
  362. package/dist/esm/packages/taco/src/components/Table3/util/editing.js +2 -3
  363. package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -1
  364. package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
  365. package/dist/esm/packages/taco/src/components/Tour/Tour.js +3 -3
  366. package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -1
  367. package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +1 -1
  368. package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +1 -1
  369. package/dist/esm/packages/taco/src/index.js +1 -1
  370. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +1 -1
  371. package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -1
  372. package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -1
  373. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +4 -4
  374. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -1
  375. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -1
  376. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -1
  377. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -1
  378. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +2 -2
  379. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -1
  380. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -1
  381. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -1
  382. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -1
  383. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -1
  384. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
  385. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +1 -3
  386. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -1
  387. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -1
  388. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
  389. package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -1
  390. package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -1
  391. package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -1
  392. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +13 -5
  393. package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -1
  394. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -1
  395. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -1
  396. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -1
  397. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -1
  398. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/dataTypes.js +5 -15
  399. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/dataTypes.js.map +1 -1
  400. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -1
  401. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -1
  402. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
  403. package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -1
  404. package/dist/esm/packages/taco/src/utils/date.js +19 -7
  405. package/dist/esm/packages/taco/src/utils/date.js.map +1 -1
  406. package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
  407. package/dist/primitives/BubbleSelect.d.ts +1 -1
  408. package/dist/primitives/Sortable/components/Container.d.ts +2 -2
  409. package/dist/primitives/Sortable/components/Item.d.ts +1 -2
  410. package/dist/primitives/Sortable/components/List.d.ts +1 -1
  411. package/dist/primitives/Table/Core/Table.d.ts +2 -2
  412. package/dist/primitives/Table/Core/components/Body/Body.d.ts +1 -1
  413. package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +1 -1
  414. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +2 -2
  415. package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +2 -2
  416. package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +1 -1
  417. package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +2 -2
  418. package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +3 -3
  419. package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +2 -2
  420. package/dist/primitives/Table/Core/components/Header/Header.d.ts +1 -1
  421. package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +2 -2
  422. package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +1 -1
  423. package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +2 -2
  424. package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +3 -3
  425. package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +2 -2
  426. package/dist/primitives/Table/Core/components/Row/Row.d.ts +1 -1
  427. package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +1 -1
  428. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +2 -2
  429. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +2 -2
  430. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
  431. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +1 -1
  432. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +2 -2
  433. package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +2 -2
  434. package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +1 -1
  435. package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
  436. package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +1 -1
  437. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +2 -2
  438. package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +2 -2
  439. package/dist/primitives/Table/useTableManager/util/settings.d.ts +1 -1
  440. package/dist/taco.cjs.development.js +87 -98
  441. package/dist/taco.cjs.development.js.map +1 -1
  442. package/dist/taco.cjs.production.min.js +1 -1
  443. package/dist/taco.cjs.production.min.js.map +1 -1
  444. package/dist/utils/date.d.ts +2 -1
  445. package/dist/utils/dom.d.ts +1 -1
  446. package/package.json +12 -10
@@ -4037,33 +4037,25 @@ const Accordion = props => {
4037
4037
  const context = React__default.useMemo(() => ({
4038
4038
  as
4039
4039
  }), [as]);
4040
- const type = typeof defaultId === 'string' || typeof id === 'string' ? 'single' : 'multiple';
4041
4040
  let valueProps;
4042
4041
  if (defaultId) {
4043
- valueProps = type === 'single' ? {
4044
- type: 'single',
4045
- defaultValue: defaultId
4046
- } : {
4047
- type: 'multiple',
4048
- defaultValue: defaultId
4042
+ valueProps = {
4043
+ defaultValue: defaultId || undefined
4049
4044
  };
4050
4045
  } else {
4051
- valueProps = type === 'single' ? {
4052
- type: 'single',
4053
- onValueChange: onChange,
4054
- value: id || undefined
4055
- } : {
4056
- type: 'multiple',
4046
+ valueProps = {
4057
4047
  onValueChange: onChange,
4058
4048
  value: id || undefined
4059
4049
  };
4060
4050
  }
4051
+ const type = typeof valueProps.defaultValue === 'string' || typeof valueProps.value === 'string' ? 'single' : 'multiple';
4061
4052
  const className = cn('divide-y divide-grey-200', props.className);
4062
4053
  return /*#__PURE__*/React__default.createElement(AccordionContext.Provider, {
4063
4054
  value: context
4064
4055
  }, /*#__PURE__*/React__default.createElement(AccordionPrimitive.Root, Object.assign({}, otherProps, valueProps, {
4065
4056
  "data-taco": "accordion",
4066
- className: className
4057
+ className: className,
4058
+ type: type
4067
4059
  })));
4068
4060
  };
4069
4061
  Accordion.Item = Item;
@@ -5744,13 +5736,7 @@ const searchForString = (child, value, strategy = 'includes') => {
5744
5736
  }
5745
5737
  return searchForString((_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.children, value, strategy);
5746
5738
  } else {
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
- }
5739
+ return child.toString().toLowerCase()[strategy](String(value).toLowerCase());
5754
5740
  }
5755
5741
  } catch {
5756
5742
  return false;
@@ -6188,17 +6174,29 @@ const Combobox = /*#__PURE__*/React.forwardRef(function Combobox(props, ref) {
6188
6174
  const isWeakEqual = (leftDate, rightDate) => {
6189
6175
  return leftDate.getFullYear() === rightDate.getFullYear() && leftDate.getMonth() === rightDate.getMonth() && leftDate.getDate() === rightDate.getDate();
6190
6176
  };
6191
- const format = (date, mask = 'dd.mm.yy') => {
6192
- if (!date) {
6193
- return undefined;
6177
+ function parse(date) {
6178
+ let value;
6179
+ if (dateFns.isDate(date)) {
6180
+ value = date;
6181
+ } else if (typeof date === 'string') {
6182
+ value = parseFromISOString(date);
6194
6183
  }
6195
- const value = dateFns.isDate(date) ? date : dateFns.toDate(date);
6196
6184
  if (!dateFns.isValid(value)) {
6197
6185
  return undefined;
6198
6186
  }
6187
+ return value;
6188
+ }
6189
+ function format(date, mask = 'dd.mm.yy') {
6190
+ if (date === undefined) {
6191
+ return undefined;
6192
+ }
6193
+ const value = parse(date);
6194
+ if (!dateFns.isValid(value) || value === undefined) {
6195
+ return undefined;
6196
+ }
6199
6197
  const pad = v => String(v).length === 1 ? `0${v}` : v.toString();
6200
6198
  return mask.replace('dd', pad(value.getDate())).replace('mm', pad(value.getMonth() + 1)).replace('yy', String(value.getFullYear()).slice(2));
6201
- };
6199
+ }
6202
6200
  const parseFromCustomString = (date = '', mask = 'dd.mm.yy', defaultMonth = undefined, defaultYear = undefined) => {
6203
6201
  if (!date || !date.length) {
6204
6202
  return undefined;
@@ -6256,22 +6254,19 @@ const useDatepicker = ({
6256
6254
  const {
6257
6255
  formatting
6258
6256
  } = useLocalization();
6259
- const [internalValue, setInternalValue] = React.useState(value && dateFns.isValid(value) ? format(value, formatting.date) : '');
6257
+ const [internalValue, setInternalValue] = React.useState(format(value, formatting.date));
6258
+ const originalValueAsDate = parse(value);
6260
6259
  // update internal value if it changed 'externally'
6261
6260
  React.useEffect(() => {
6262
- if (value && dateFns.isValid(value)) {
6263
- const formattedValue = format(value, formatting.date);
6264
- if (formattedValue !== internalValue) {
6265
- setInternalValue(formattedValue);
6266
- }
6267
- } else {
6268
- setInternalValue('');
6261
+ const formattedValue = format(value, formatting.date);
6262
+ if (formattedValue !== internalValue) {
6263
+ setInternalValue(formattedValue);
6269
6264
  }
6270
6265
  }, [value]);
6271
6266
  // event handlers
6272
6267
  const handleInputBlur = event => {
6273
6268
  event.persist();
6274
- const valueAsDate = parseFromCustomString(event.target.value, 'dd.mm.yy', value === null || value === void 0 ? void 0 : value.getMonth(), value === null || value === void 0 ? void 0 : value.getFullYear());
6269
+ const valueAsDate = parseFromCustomString(event.target.value, 'dd.mm.yy', originalValueAsDate === null || originalValueAsDate === void 0 ? void 0 : originalValueAsDate.getMonth(), originalValueAsDate === null || originalValueAsDate === void 0 ? void 0 : originalValueAsDate.getFullYear());
6275
6270
  const formattedValue = valueAsDate ? format(valueAsDate) || '' : '';
6276
6271
  event.target.value = formattedValue;
6277
6272
  if (onChange) {
@@ -6295,7 +6290,7 @@ const useDatepicker = ({
6295
6290
  if (props.onKeyDown) {
6296
6291
  props.onKeyDown(event);
6297
6292
  }
6298
- if (!event.isPropagationStopped() && !event.isDefaultPrevented() && event.key === 'Enter') {
6293
+ if (event.key === 'Enter') {
6299
6294
  event.target.dispatchEvent(new Event('focusout', {
6300
6295
  bubbles: true
6301
6296
  }));
@@ -6314,7 +6309,7 @@ const useDatepicker = ({
6314
6309
  const calendarProps = {
6315
6310
  ...calendar,
6316
6311
  onChange: handleChange,
6317
- value
6312
+ value: originalValueAsDate
6318
6313
  };
6319
6314
  return {
6320
6315
  input: inputProps,
@@ -6688,7 +6683,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6688
6683
  }), /*#__PURE__*/React.createElement("div", {
6689
6684
  className: containerClassName,
6690
6685
  "data-taco": "dialog"
6691
- }, /*#__PURE__*/React.createElement(React.Fragment, null, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6686
+ }, output, dialog.draggable && (/*#__PURE__*/React.createElement("div", Object.assign({}, dragHandleProps, {
6692
6687
  role: "button",
6693
6688
  draggable: true,
6694
6689
  "aria-grabbed": dragging,
@@ -6702,7 +6697,7 @@ const Content$4 = /*#__PURE__*/React.forwardRef(function DialogContent(props, re
6702
6697
  "aria-label": texts.dialog.close,
6703
6698
  className: "absolute right-0 top-0 mr-2 mt-2 print:hidden",
6704
6699
  icon: "close"
6705
- }))) : null)), dialog.elements.drawer, dialog.elements.extra))));
6700
+ }))) : null), dialog.elements.drawer, dialog.elements.extra))));
6706
6701
  });
6707
6702
 
6708
6703
  const DialogDrawer = /*#__PURE__*/React.forwardRef(function DialogDrawer(props, ref) {
@@ -6895,12 +6890,12 @@ const Bar = props => {
6895
6890
  className: className
6896
6891
  }));
6897
6892
  };
6898
- const Thumb = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, {
6893
+ const Thumb = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, Object.assign({}, props, {
6899
6894
  className: "flex-[1] rounded bg-black opacity-50"
6900
- });
6901
- const Corner = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, {
6895
+ }));
6896
+ const Corner = props => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, Object.assign({}, props, {
6902
6897
  className: "bg-grey-500"
6903
- });
6898
+ }));
6904
6899
  const ScrollArea = props => {
6905
6900
  const {
6906
6901
  children,
@@ -9830,17 +9825,8 @@ const dataTypes = {
9830
9825
  sortingFn: 'datetime',
9831
9826
  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
9827
  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);
9828
+ var _date$format, _options$localization;
9829
+ return (_date$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 && _date$format !== void 0 ? _date$format : '';
9844
9830
  }
9845
9831
  },
9846
9832
  boolean: {
@@ -9853,11 +9839,11 @@ const dataTypes = {
9853
9839
  sortingFn: 'basic',
9854
9840
  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
9841
  getDisplayValue: (value, options) => {
9856
- var _options$localization3;
9842
+ var _options$localization2;
9857
9843
  if (value === undefined) {
9858
9844
  return '';
9859
9845
  }
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, {
9846
+ return new Intl.NumberFormat(options === null || options === void 0 ? void 0 : (_options$localization2 = options.localization) === null || _options$localization2 === void 0 ? void 0 : _options$localization2.locale, {
9861
9847
  minimumFractionDigits: 2
9862
9848
  }).format(Number(value));
9863
9849
  }
@@ -11177,6 +11163,7 @@ function useTableDataLoader(fetchPage, fetchAll, options = {
11177
11163
  const _lastUsedSorting = React__default.useRef([]);
11178
11164
  const _lastUsedFilters = React__default.useRef([]);
11179
11165
  const _lastUsedSearch = React__default.useRef();
11166
+ const _lastUsedPageIndex = React__default.useRef();
11180
11167
  const _forceReset = React__default.useRef(false);
11181
11168
  const loadPage = function (pageIndex, sorting, filters) {
11182
11169
  try {
@@ -11194,6 +11181,8 @@ function useTableDataLoader(fetchPage, fetchAll, options = {
11194
11181
  _pendingPageRequests.current[pageIndex] = true;
11195
11182
  }
11196
11183
  _forceReset.current = false;
11184
+ // set the last page loaded (or tried to load), so that we can load it back again after resets
11185
+ _lastUsedPageIndex.current = pageIndex;
11197
11186
  // set the sorting so we can track if it changed between loads
11198
11187
  _lastUsedSorting.current = sorting;
11199
11188
  // set the filters so we can track if it changed between loads
@@ -11257,12 +11246,15 @@ function useTableDataLoader(fetchPage, fetchAll, options = {
11257
11246
  };
11258
11247
  const invalidate = function () {
11259
11248
  try {
11249
+ // empties the entire data array
11260
11250
  _forceReset.current = true;
11261
11251
  if (_lastUsedSearch.current) {
11262
11252
  // we're searching, which means we need to refetch all with the correct sorting applied
11263
11253
  return loadAll(_lastUsedSorting.current, _lastUsedFilters.current);
11264
11254
  } else {
11265
- return loadPage(0, _lastUsedSorting.current, _lastUsedFilters.current);
11255
+ var _lastUsedPageIndex$cu;
11256
+ // load the last page that we scrolled to
11257
+ return loadPage((_lastUsedPageIndex$cu = _lastUsedPageIndex.current) !== null && _lastUsedPageIndex$cu !== void 0 ? _lastUsedPageIndex$cu : 0, _lastUsedSorting.current, _lastUsedFilters.current);
11266
11258
  }
11267
11259
  } catch (e) {
11268
11260
  return Promise.reject(e);
@@ -11276,8 +11268,9 @@ function useTableDataLoader(fetchPage, fetchAll, options = {
11276
11268
  // we're searching, which means we need to refetch all with the correct sorting applied
11277
11269
  loadAll(sorting, _lastUsedFilters.current);
11278
11270
  } else {
11279
- // reset the page to 0 whenever sorting
11280
- loadPage(0, sorting, _lastUsedFilters.current);
11271
+ var _lastUsedPageIndex$cu2;
11272
+ // load the last page that we scrolled to
11273
+ loadPage((_lastUsedPageIndex$cu2 = _lastUsedPageIndex.current) !== null && _lastUsedPageIndex$cu2 !== void 0 ? _lastUsedPageIndex$cu2 : 0, sorting, _lastUsedFilters.current);
11281
11274
  }
11282
11275
  return Promise.resolve();
11283
11276
  } catch (e) {
@@ -11290,8 +11283,9 @@ function useTableDataLoader(fetchPage, fetchAll, options = {
11290
11283
  // we're searching, which means we need to refetch all with the correct sorting applied
11291
11284
  loadAll(_lastUsedSorting.current, filters);
11292
11285
  } else {
11293
- // reset the page to 0 whenever sorting
11294
- loadPage(0, _lastUsedSorting.current, filters);
11286
+ var _lastUsedPageIndex$cu3;
11287
+ // load the last page that we scrolled to
11288
+ loadPage((_lastUsedPageIndex$cu3 = _lastUsedPageIndex.current) !== null && _lastUsedPageIndex$cu3 !== void 0 ? _lastUsedPageIndex$cu3 : 0, _lastUsedSorting.current, filters);
11295
11289
  }
11296
11290
  return Promise.resolve();
11297
11291
  } catch (e) {
@@ -13233,11 +13227,11 @@ function HeaderMenu(props) {
13233
13227
  return Promise.reject(e);
13234
13228
  }
13235
13229
  };
13236
- popoverElement = props => (/*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13230
+ popoverElement = props => /*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
13237
13231
  open: true,
13238
13232
  onChange: handleClosePopover,
13239
13233
  onGoto: goto
13240
- })));
13234
+ }));
13241
13235
  }
13242
13236
  }
13243
13237
  }
@@ -13580,10 +13574,10 @@ const FOCUS_MANAGER_OPTIONS_ARROW_KEYS = {
13580
13574
  };
13581
13575
  function useAugmentedFocusManager() {
13582
13576
  const focusManager = focus.useFocusManager();
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);
13577
+ const focusPrevious = (arrowNavigation = false) => focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13578
+ const focusNext = (arrowNavigation = false) => focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
13579
+ const focusFirst = () => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
13580
+ const focusLast = () => focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
13587
13581
  return {
13588
13582
  focusPrevious,
13589
13583
  focusNext,
@@ -14100,7 +14094,7 @@ function Container(externalProps) {
14100
14094
  if (!(activeList !== null && activeList !== void 0 && activeList.id) || !(overList !== null && overList !== void 0 && overList.id) || activeList.id === overList.id) {
14101
14095
  return;
14102
14096
  }
14103
- move === null || move === void 0 ? void 0 : move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
14097
+ move(active.id, activeList === null || activeList === void 0 ? void 0 : activeList.id, overList.id);
14104
14098
  }
14105
14099
  function handleDragEnd(event) {
14106
14100
  const {
@@ -14919,6 +14913,7 @@ const Colours = props => {
14919
14913
  const {
14920
14914
  color,
14921
14915
  onChangeColor,
14916
+ onClick,
14922
14917
  onKeyDown
14923
14918
  } = props;
14924
14919
  const {
@@ -14927,6 +14922,7 @@ const Colours = props => {
14927
14922
  return /*#__PURE__*/React__default.createElement(RadioGroupPrimitive.Root, {
14928
14923
  "aria-label": texts.select2.chooseColor,
14929
14924
  className: "grid grid-cols-4 gap-2 focus:outline-none",
14925
+ onClick: onClick,
14930
14926
  onKeyDown: onKeyDown,
14931
14927
  onValueChange: color => onChangeColor(color),
14932
14928
  value: color
@@ -15524,20 +15520,19 @@ const filterOption = (child, searchQuery) => {
15524
15520
  };
15525
15521
 
15526
15522
  const getNextColor = options => {
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 => {
15523
+ let occurrences = {};
15524
+ AVAILABLE_COLORS.filter(color => color !== 'transparent').forEach(color => {
15525
+ occurrences = {
15526
+ ...occurrences,
15527
+ [color]: 0
15528
+ };
15529
+ });
15530
+ options.reduce((occurrences, option) => {
15537
15531
  if (option.props.color) {
15538
15532
  occurrences[option.props.color] = occurrences[option.props.color] ? occurrences[option.props.color] + 1 : 1;
15539
15533
  }
15540
- });
15534
+ return occurrences;
15535
+ }, occurrences);
15541
15536
  const colors = Object.keys(occurrences);
15542
15537
  if (colors.length) {
15543
15538
  return colors.sort((a, b) => occurrences[a] - occurrences[b])[0];
@@ -16375,7 +16370,6 @@ function Control(props) {
16375
16370
  } = props;
16376
16371
  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;
16377
16372
  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);
16379
16373
  React.useEffect(() => {
16380
16374
  // 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
16381
16375
  if (controlRenderer === 'switch' && value === undefined) {
@@ -16386,8 +16380,7 @@ function Control(props) {
16386
16380
  return /*#__PURE__*/React__default.cloneElement(controlRenderer({
16387
16381
  ...attributes,
16388
16382
  setValue: value => onChange(value),
16389
- value,
16390
- ref
16383
+ value
16391
16384
  }), {
16392
16385
  ['data-query-selector']: querySelector,
16393
16386
  className: 'focus:yt-focus'
@@ -18413,7 +18406,7 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18413
18406
  if (rowIndex < rows.length - 1) {
18414
18407
  miniSortRows.push(rows[rowIndex + 1]);
18415
18408
  }
18416
- const sortRows = (rowA, rowB) => {
18409
+ const resortedRows = [...miniSortRows].sort((rowA, rowB) => {
18417
18410
  const sortFn = cell.column.getSortingFn();
18418
18411
  const sortUndefined = cell.column.columnDef.sortUndefined;
18419
18412
  if (!table.options.manualSorting && sortUndefined) {
@@ -18426,8 +18419,7 @@ function willRowMoveAfterSorting(cell, change, rowIndex) {
18426
18419
  }
18427
18420
  }
18428
18421
  return sortFn(rowA, rowB, cell.column.id);
18429
- };
18430
- const resortedRows = [...miniSortRows].sort(sortRows);
18422
+ });
18431
18423
  if (cell.column.getIsSorted() === 'desc') {
18432
18424
  resortedRows.reverse();
18433
18425
  }
@@ -19268,10 +19260,11 @@ const MemoedEditingCell = /*#__PURE__*/React__default.memo(function MemoedEditin
19268
19260
  }
19269
19261
  };
19270
19262
  if (type === 'datepicker') {
19263
+ const valueAsDate = parse(value);
19271
19264
  const handleChange = event => {
19272
19265
  const newDate = event.detail;
19273
- if (!value || !newDate || dateFns.isDate(value) && dateFns.isDate(newDate) && !isWeakEqual(value, newDate)) {
19274
- props.onChange(event.detail);
19266
+ if (!valueAsDate || !newDate || dateFns.isDate(valueAsDate) && dateFns.isDate(newDate) && !isWeakEqual(valueAsDate, newDate)) {
19267
+ props.onChange(newDate);
19275
19268
  }
19276
19269
  };
19277
19270
  return /*#__PURE__*/React__default.createElement(Datepicker, Object.assign({}, commonProps, {
@@ -19280,7 +19273,7 @@ const MemoedEditingCell = /*#__PURE__*/React__default.memo(function MemoedEditin
19280
19273
  onFocus: handleFocus,
19281
19274
  onKeyDown: handleInputKeyDown,
19282
19275
  ref: controlRef,
19283
- value: value
19276
+ value: valueAsDate
19284
19277
  }));
19285
19278
  }
19286
19279
  if (type === 'textarea') {
@@ -19467,10 +19460,7 @@ function Row$2(props) {
19467
19460
  const isActiveRow = tableMeta.rowActive.rowActiveIndex === index;
19468
19461
  React__default.useEffect(() => {
19469
19462
  if (tableMeta.editing.isEditing && isActiveRow && tableMeta.editing.lastFocusedCellIndex === undefined) {
19470
- const element = focusManager.focusFirst();
19471
- if (element) {
19472
- setDataFocusAttribute(element);
19473
- }
19463
+ setDataFocusAttribute(focusManager.focusFirst());
19474
19464
  }
19475
19465
  }, [tableMeta.editing.isEditing, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.lastFocusedCellIndex]);
19476
19466
  const handleFocus = React__default.useCallback(event => {
@@ -19959,7 +19949,7 @@ const Tooltip$1 = ({
19959
19949
  icon: "close",
19960
19950
  title: locale.skip,
19961
19951
  "aria-label": locale.skip,
19962
- className: "absolute right-0 top-0 mr-1 mt-1"
19952
+ className: "absolute top-0 right-0 mt-1 mr-1"
19963
19953
  })), step.title && /*#__PURE__*/React.createElement("h5", null, step.title), step.content, /*#__PURE__*/React.createElement(Group, {
19964
19954
  className: "mt-4 justify-end"
19965
19955
  }, index > 0 && (/*#__PURE__*/React.createElement(Button$1, Object.assign({}, backProps, {
@@ -20321,15 +20311,13 @@ const AgreementDisplay = props => {
20321
20311
  }));
20322
20312
  };
20323
20313
 
20324
- const Container$1 = ({
20325
- children
20326
- }) => {
20314
+ const Container$1 = props => {
20327
20315
  return /*#__PURE__*/React__default.createElement("div", {
20328
20316
  className: "-ml-2 flex flex-shrink-0 flex-grow-0 items-center gap-2 pr-2 xl:ml-auto xl:w-64",
20329
20317
  "data-taco": "header-agreements"
20330
20318
  }, /*#__PURE__*/React__default.createElement("span", {
20331
20319
  className: "hidden h-8 w-px flex-shrink-0 flex-grow-0 bg-white/[0.3] xl:flex"
20332
- }), children);
20320
+ }), props.children);
20333
20321
  };
20334
20322
  function AgreementSelector(props) {
20335
20323
  const {
@@ -20401,7 +20389,7 @@ function AgreementSelector(props) {
20401
20389
  }
20402
20390
  return button;
20403
20391
  })), handleAddAgreement ? (/*#__PURE__*/React__default.createElement(Button$1, {
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]",
20392
+ 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]",
20405
20393
  onClick: handleAddAgreement
20406
20394
  }, texts.header.addAgreement)) : null, /*#__PURE__*/React__default.createElement("hr", {
20407
20395
  className: "my-0 h-px w-full bg-white/[0.08]"
@@ -20876,6 +20864,7 @@ exports.isMacOs = isMacOs;
20876
20864
  exports.isPressingMetaKey = isPressingMetaKey;
20877
20865
  exports.isWeakEqual = isWeakEqual;
20878
20866
  exports.mergeRefs = mergeRefs;
20867
+ exports.parse = parse;
20879
20868
  exports.parseFromCustomString = parseFromCustomString;
20880
20869
  exports.parseFromISOString = parseFromISOString;
20881
20870
  exports.removeChildTableRow = removeChildTableRow;