@economic/taco 2.26.0 → 2.26.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{packages/taco/src/components → components}/Report/Report.d.ts +1 -2
- package/dist/components/Report/useReport.d.ts +5 -0
- package/dist/{packages/taco/src/components → components}/Table3/Table3.d.ts +1 -2
- package/dist/components/Table3/useTable3.d.ts +11 -0
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -1
- package/dist/{packages/taco/src/primitives → primitives}/Table/Core/Table.d.ts +4 -4
- package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
- package/dist/{packages/taco/src/primitives → primitives}/Table/Core/types.d.ts +0 -3
- package/dist/primitives/Table/Core/useTable.d.ts +27 -0
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/package.json +2 -5
- package/dist/packages/taco/src/components/Report/__stories__/util.d.ts +0 -19
- package/dist/packages/taco/src/components/Report/useReport.d.ts +0 -23
- package/dist/packages/taco/src/components/Table3/__stories__/util.d.ts +0 -35
- package/dist/packages/taco/src/components/Table3/useTable3.d.ts +0 -30
- package/dist/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +0 -7
- package/dist/packages/taco/src/primitives/Table/Core/useTable.d.ts +0 -25
- package/types.json +0 -557898
- /package/dist/{packages/taco/src/components → components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Alert/Alert.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/AlertDialog.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Footer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/AlertDialog/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Backdrop/Backdrop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Badge/Badge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/BadgeIcon/BadgeIcon.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Banner/Banner.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Banner/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Button/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Button/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Calendar/Calendar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Card/Card.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Combobox/Combobox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Combobox/useCombobox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Datepicker/Datepicker.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Datepicker/useDatepicker.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/DialogDrawer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Extra.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Dialog/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/Drawer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/images.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Drawer/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Field/Field.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Form/Form.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Group/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Hanger/Hanger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/Header.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Avatar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Badge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Display.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Agreement/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/AgreementSelector.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/Logo.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/MenuButton.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/PrimaryNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Header/components/SecondaryNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/HoverCard/HoverCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/HoverCard/Primitives.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/Icon.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountPreview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Accounting.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYear.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AccountingYearCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AiChatSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AiStars.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowBottom.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowEnd.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowStart.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowTop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ArrowUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Attach.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachAuto.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AttachWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Autotext.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/AutotextInsert.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Basic.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/BasicTabs.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/BellSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Book.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Booking.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Budget.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Calendar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CashAccount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CashReports.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartArea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartBar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartLine.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartPie.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChartTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Chat.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChatSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronDownSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronLeftSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronRightSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpDouble.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ChevronUpSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleClose.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleInformation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CirclePlus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleQuestionmark.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/CircleWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Clamp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ClampOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Close.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnFreeze.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ColumnUnfreeze.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Columns.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionEnable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ConnectionRevoke.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Contacts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Copy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Courses.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Credit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Delete.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DeletePermanently.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Depecriate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Developer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DistributionTemplate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Document.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentApprove.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCreateEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentCut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentError.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentIsolatePage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMerge.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentMove.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentPreview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentReceived.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentRejectedRequest.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentSplit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/DocumentTime.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Download.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Drag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ECopedia.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ESignature.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Edit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EditSimple.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisHorizontal.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EllipsisVertical.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOnAccount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntriesWarning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeCustomerPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeJournalEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeManualCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EntryTypeSupplierPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Envelope.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeApproved.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EnvelopeSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExpandView.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Expenses.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Export.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToExcel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ExportToPdf.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOff.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/EyeOn.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Filter.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/FilterSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/FontSize.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/GraphSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Hash.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightExtraTall.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightMedium.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightShort.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/HeightTall.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Home.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Images.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Import.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Inbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxEinvoicing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxScanning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InboxSmart.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Info.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Inventory.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/InventoryMatrix.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/JournalPro.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Layout.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutBoth.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutFirst.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutLast.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LayoutNone.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardCustomerReminder.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardManualCustomerInvoice.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardObsoleteStock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardOpeningEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardReservedEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardShrinkagePilferage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardStockAdjustment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Lightbulb.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Line.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/List.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ListBulleted.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ListSearch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Location.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Lock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LockOpen.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Log.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/LogOut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Market.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MatchAmount.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MatchEntries.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Menu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Mileage.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ModalResize.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ModalShrink.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/More.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/MoreSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Move.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NavigationList.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Note.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NoteFollowUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/NoteRead.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Numbers.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PartnerApi.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentPaid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PaymentUnpaid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Period.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonChange.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonPlus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PersonTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PhoneSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Play.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/PlusMinus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Print.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProcessPayment.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProductLedgerCard.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Profile.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ProjectCards.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Projects.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMark.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/QuestionMarkBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Quicklinks.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RatingBankruptcy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RatingPaymentProblems.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Reconciled.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Refresh.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Report.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ReportSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Restore.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RotateLeft.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/RotateRight.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Sales.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SearchBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Secure.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SecureTick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Settings.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SettingsSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Shortcuts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowAll.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowLess.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowMore.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ShowTemplate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Sliders.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Smartpay.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SortBy.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Star.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/StarSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Subscriptions.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/SystemEntries.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Tag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TemplateOverride.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Templates.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbBoth.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDown.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbDownSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUp.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/ThumbUpSolid.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Tick.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TickBold.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Time.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Transfer.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TransferCancel.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/TransferLocked.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Undo.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Undock.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Unreconciled.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Warning.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Webshop.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Website.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Workflow.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/WorkflowTemplateBasic.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/Zoom.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Icon/components/index.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/IconButton/IconButton.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Input/Input.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Input/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/Layout.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Page.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Sidebar.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Layout/components/Top.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/Listbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/ScrollableList.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useListbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useMultiListbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/useTypeahead.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Listbox/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/Menu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Checkbox.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Header.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/RadioGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Separator.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/SubMenu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Menu/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/ModeSwitch/ModeSwitch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation/Navigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/Navigation2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Content.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Link.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/Section.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Navigation2/components/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/OverflowGroup/OverflowGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/PageNumbers.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/Pagination.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/usePagination.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Pagination/usePaginationShortcuts.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/Popover.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/Primitives.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Popover/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Progress/Progress.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Provider/Localization.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Provider/Provider.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/RadioGroup/RadioGroup.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/RadioGroup/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/ScrollArea/ScrollArea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/SearchInput2/SearchInput2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select/Select.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select/useSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/Select2.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/All.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Collection.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Create.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Edit.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Option.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Title.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/components/Trigger.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/hooks/useChildren.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Select2/utilities.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Shortcut/Shortcut.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Spinner/Spinner.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Switch/Switch.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/Table.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/Table.storyexample.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/BaseTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/PaginatedTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/Table.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/components/WindowedTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowActions.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowDraggable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowEditing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/plugins/useRowSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useRowCreation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useTable.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/hooks/useTableKeyboardNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/renderColumn.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/renderRow.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/rowIndexPath.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util/sortTypes.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Cell.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/EditingControlCell.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Cell/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Editing/Alert.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Row/Editing/SaveStatus.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Row/Row.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/components/Toolbar/Editing/Editing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/features/useTableEditing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/listeners/useTableEditingListener.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/types.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Table3/util/editing.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tag/Tag.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Textarea/Textarea.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/Toast.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/Toaster.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Toast/util.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Tour/Tour.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Treeview/Treeview.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/Truncate/Truncate.d.ts +0 -0
- /package/dist/{packages/taco/src/components → components}/VisuallyHidden/VisuallyHidden.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useBoundaryOverflowDetection.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useBoundingClientRectListener.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useDebouncedEffect.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useGlobalKeyDown.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useId.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIntersectionObserver.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsFormControl.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsHoverStatePaused.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useIsLargeScreen.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useLazyEffect.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useLocalStorage.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useMatchMedia.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useMergedRef.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/usePrevious.d.ts +0 -0
- /package/dist/{packages/taco/src/hooks → hooks}/useTacoSettings.d.ts +0 -0
- /package/dist/{packages/taco/src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/BubbleSelect.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Button.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Collection/Collection.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Collection/components/Root.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/Listbox2.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Context.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Group.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Option.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Root.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/components/Title.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Listbox2/types.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/Sortable.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Container.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/Item.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Sortable/components/List.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/Body.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/EmptyStateBody.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Body/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/Cell.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Cell/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Actions.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Drag.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Expansion.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Columns/Internal/Selection.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Footer/Footer.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Footer/Summary.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/Header.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Goto.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Menu.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/Resizer.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/components/SortIndicator.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Header/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/Row.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Row/RowContext.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Filters/util.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Print/Print.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Search/Search.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheet.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheetColumnFreezing.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useStylesheetCssGrid.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableGlobalShortcuts.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableRef.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/features/useTableRenderer.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/listeners/useTableRowActiveListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/Core/util/rows.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/types.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableDataLoader.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnFreezing.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableColumnOrdering.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFontSize.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableFooter.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTablePrinting.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActions.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowActive.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowClick.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowDrag.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowDrop.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowExpansion.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGoto.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowGroups.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowHeight.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableRowSelection.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSearch.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableServerLoading.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/features/useTableSettings.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableDataListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFilterListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSearchListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSettingsListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/listeners/useTableSortingListener.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/types.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/useTableManager.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/columns.spec.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/filtering.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/presets.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/search.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/settings.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/setup.d.ts +0 -0
- /package/dist/{packages/taco/src/primitives → primitives}/Table/useTableManager/util/sorting.d.ts +0 -0
- /package/dist/{packages/taco/src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{packages/taco/src/utils → utils}/aria.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/date.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/debounce.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/device.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/dom.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useDraggable.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useDropTarget.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useListKeyboardNavigation.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useListScrollTo.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useOnClickOutside.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useRefState.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useTimer.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/hooks/useTruncated.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/input.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/keyboard.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/mergeRefs.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/storyutils.d.ts +0 -0
- /package/dist/{packages/taco/src/utils → utils}/tailwind.d.ts +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { TableRef } from '../../primitives/Table/types';
|
3
|
-
import { TableColumnProps, TableGroupProps, TableProps } from '../../primitives/Table/types';
|
2
|
+
import { TableColumnProps, TableGroupProps, TableProps, TableRef } from '../../primitives/Table/types';
|
4
3
|
declare function Column<TType = unknown>(_: TableColumnProps<TType>): null;
|
5
4
|
declare function Group(_: TableGroupProps): null;
|
6
5
|
export declare const Report: (<TType = unknown>(props: (import("../../primitives/Table/types").TableClientProps<TType> & React.RefAttributes<TableRef>) | (import("../../primitives/Table/types").TableServerProps<TType> & React.RefAttributes<TableRef>)) => JSX.Element) & {
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { TableRef } from '../../primitives/Table/types';
|
3
|
+
import { useTableReturnValue } from '../../primitives/Table/Core/useTable';
|
4
|
+
import { TableProps } from '../../primitives/Table/types';
|
5
|
+
export declare function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>): useTableReturnValue<TType>;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { TableRef } from '../../primitives/Table/types';
|
3
|
-
import { TableColumnProps, TableGroupProps } from '../../primitives/Table/types';
|
2
|
+
import { TableColumnProps, TableGroupProps, TableRef } from '../../primitives/Table/types';
|
4
3
|
import { Table3Props } from './types';
|
5
4
|
import './style.css';
|
6
5
|
declare function Column<TType = unknown>(_: TableColumnProps<TType>): null;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { RowData } from '@tanstack/react-table';
|
3
|
+
import { TableRef } from '../../primitives/Table/types';
|
4
|
+
import { useTableEditing } from './features/useTableEditing';
|
5
|
+
import { Table3Props } from './types';
|
6
|
+
declare module '@tanstack/table-core' {
|
7
|
+
interface TableMeta<TData extends RowData> {
|
8
|
+
editing: ReturnType<typeof useTableEditing>;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
export declare function useTable3<TType>(props: Table3Props<TType>, ref: React.Ref<TableRef>): import("../../primitives/Table/Core/useTable").useTableReturnValue<TType>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Report.js","sources":["../../../../../../../src/components/Report/Report.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useReport } from './useReport';\nimport {
|
1
|
+
{"version":3,"file":"Report.js","sources":["../../../../../../../src/components/Report/Report.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useReport } from './useReport';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps, TableProps, TableRef } from '../../primitives/Table/types';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Report = fixedForwardRef<TableRef, TableProps>(function Report<TType = unknown>(\n props: TableProps<TType>,\n ref: React.Ref<TableRef>\n) {\n const report = useReport<TType>(props, ref);\n\n return (\n <Table>\n <Table.Toolbar<TType> table={report} />\n <Table.Grid<TType> data-taco=\"table-report\" table={report} />\n </Table>\n );\n}) as (<TType = unknown>(props: TableProps<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nReport.Column = Column;\nReport.Group = Group;\n"],"names":["Column","_","Group","Report","fixedForwardRef","props","ref","report","useReport","React","Table","Toolbar","table","Grid"],"mappings":";;;;;AAMA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAuB,SAASD,MAAMA,CACvEE,KAAwB,EACxBC,GAAwB;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,oBACIG,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAAQC,KAAK,EAAEL;IAAU,eACvCE,6BAACC,KAAK,CAACG,IAAI;iBAAkB,cAAc;IAACD,KAAK,EAAEL;IAAU,CACzD;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useReport.js","sources":["../../../../../../../src/components/Report/useReport.tsx"],"sourcesContent":["import React from 'react';\nimport { TableRef } from '../../primitives/Table/types';\nimport { useTable } from '../../primitives/Table/Core/useTable';\nimport { DisplayRow } from '../../primitives/Table/Core/components/Row/BuiltIns/DisplayRow';\nimport { DisplayCell } from '../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { TableProps } from '../../primitives/Table/types';\n\nconst RENDERERS = {\n row: DisplayRow,\n cell: DisplayCell,\n};\n\nexport function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>) {\n return useTable<TType>(props, ref, RENDERERS);\n}\n"],"names":["RENDERERS","row","DisplayRow","cell","DisplayCell","useReport","props","ref","useTable"],"mappings":";;;;AAOA,MAAMA,SAAS,GAAG;EACdC,GAAG,EAAEC,UAAU;EACfC,IAAI,EAAEC;CACT;SAEeC,SAASA,CAAQC,KAAwB,EAAEC,GAAwB;EAC/E,OAAOC,QAAQ,CAAQF,KAAK,EAAEC,GAAG,EAAEP,SAAS,CAAC;AACjD;;;;"}
|
1
|
+
{"version":3,"file":"useReport.js","sources":["../../../../../../../src/components/Report/useReport.tsx"],"sourcesContent":["import React from 'react';\nimport { TableRef } from '../../primitives/Table/types';\nimport { useTable, useTableReturnValue } from '../../primitives/Table/Core/useTable';\nimport { DisplayRow } from '../../primitives/Table/Core/components/Row/BuiltIns/DisplayRow';\nimport { DisplayCell } from '../../primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell';\nimport { TableProps } from '../../primitives/Table/types';\n\nconst RENDERERS = {\n row: DisplayRow,\n cell: DisplayCell,\n};\n\nexport function useReport<TType>(props: TableProps<TType>, ref: React.Ref<TableRef>): useTableReturnValue<TType> {\n return useTable<TType>(props, ref, RENDERERS);\n}\n"],"names":["RENDERERS","row","DisplayRow","cell","DisplayCell","useReport","props","ref","useTable"],"mappings":";;;;AAOA,MAAMA,SAAS,GAAG;EACdC,GAAG,EAAEC,UAAU;EACfC,IAAI,EAAEC;CACT;SAEeC,SAASA,CAAQC,KAAwB,EAAEC,GAAwB;EAC/E,OAAOC,QAAQ,CAAQF,KAAK,EAAEC,GAAG,EAAEP,SAAS,CAAC;AACjD;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Table3.js","sources":["../../../../../../../src/components/Table3/Table3.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useTable3 } from './useTable3';\nimport {
|
1
|
+
{"version":3,"file":"Table3.js","sources":["../../../../../../../src/components/Table3/Table3.tsx"],"sourcesContent":["import React from 'react';\nimport { fixedForwardRef } from '../../types';\nimport { useTable3 } from './useTable3';\nimport { Table } from '../../primitives/Table/Core/Table';\nimport { TableColumnProps, TableGroupProps, TableRef } from '../../primitives/Table/types';\nimport { Alert } from './components/Editing/Alert';\nimport { Table3Props } from './types';\nimport { Editing } from './components/Toolbar/Editing/Editing';\nimport './style.css';\n\nfunction Column<TType = unknown>(_: TableColumnProps<TType>) {\n return null;\n}\n\nfunction Group(_: TableGroupProps) {\n return null;\n}\n\nexport const Table3 = fixedForwardRef<TableRef, Table3Props>(function Table3<TType = unknown>(\n props: Table3Props<TType>,\n ref: React.Ref<TableRef>\n) {\n const table3 = useTable3<TType>(props, ref);\n\n const handleBlur = (event: React.FocusEvent<HTMLTableElement>) => {\n if (table3.meta.editing.isEditing) {\n table3.meta.editing.handleBlur(event);\n }\n };\n\n const gridAttributes = {\n 'data-table-editing-mode': table3.meta.editing?.isEditing\n ? table3.meta.editing?.isDetailedMode\n ? 'detailed'\n : 'normal'\n : undefined,\n enableHorizontalArrowKeyNavigation: table3.meta.editing.isEditing,\n onBlur: handleBlur,\n };\n\n const hasValidationErrors = table3.meta.editing.hasErrors(table3.instance, table3.ref);\n\n return (\n <Table>\n <Table.Toolbar<TType> table={table3}>\n {table3.meta.editing.isEnabled ? (\n <Editing scrollToIndex={table3.renderer.scrollToIndex} table={table3.instance} />\n ) : null}\n </Table.Toolbar>\n {hasValidationErrors ? (\n <Alert\n className=\"mb-4\"\n scrollToIndex={table3.renderer.scrollToIndex}\n table={table3.instance}\n tableRef={table3.ref}\n />\n ) : null}\n <Table.Grid<TType> {...gridAttributes} data-taco=\"table3\" table={table3} />\n </Table>\n );\n}) as (<TType = unknown>(props: Table3Props<TType> & React.RefAttributes<TableRef>) => JSX.Element) & {\n Column: typeof Column;\n Group: typeof Group;\n};\nTable3.Column = Column;\nTable3.Group = Group;\n"],"names":["Column","_","Group","Table3","fixedForwardRef","props","ref","table3","useTable3","handleBlur","event","meta","editing","isEditing","gridAttributes","_table3$meta$editing","_table3$meta$editing2","isDetailedMode","undefined","enableHorizontalArrowKeyNavigation","onBlur","hasValidationErrors","hasErrors","instance","React","Table","Toolbar","table","isEnabled","Editing","scrollToIndex","renderer","Alert","className","tableRef","Grid"],"mappings":";;;;;;;AAUA,SAASA,MAAMA,CAAkBC,CAA0B;EACvD,OAAO,IAAI;AACf;AAEA,SAASC,KAAKA,CAACD,CAAkB;EAC7B,OAAO,IAAI;AACf;MAEaE,MAAM,gBAAGC,eAAe,CAAwB,SAASD,MAAMA,CACxEE,KAAyB,EACzBC,GAAwB;;EAExB,MAAMC,MAAM,GAAGC,SAAS,CAAQH,KAAK,EAAEC,GAAG,CAAC;EAE3C,MAAMG,UAAU,GAAIC,KAAyC;IACzD,IAAIH,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS,EAAE;MAC/BN,MAAM,CAACI,IAAI,CAACC,OAAO,CAACH,UAAU,CAACC,KAAK,CAAC;;GAE5C;EAED,MAAMI,cAAc,GAAG;IACnB,yBAAyB,EAAE,CAAAC,oBAAA,GAAAR,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAG,oBAAA,eAAnBA,oBAAA,CAAqBF,SAAS,GACnD,CAAAG,qBAAA,GAAAT,MAAM,CAACI,IAAI,CAACC,OAAO,cAAAI,qBAAA,eAAnBA,qBAAA,CAAqBC,cAAc,GAC/B,UAAU,GACV,QAAQ,GACZC,SAAS;IACfC,kCAAkC,EAAEZ,MAAM,CAACI,IAAI,CAACC,OAAO,CAACC,SAAS;IACjEO,MAAM,EAAEX;GACX;EAED,MAAMY,mBAAmB,GAAGd,MAAM,CAACI,IAAI,CAACC,OAAO,CAACU,SAAS,CAACf,MAAM,CAACgB,QAAQ,EAAEhB,MAAM,CAACD,GAAG,CAAC;EAEtF,oBACIkB,6BAACC,KAAK,qBACFD,6BAACC,KAAK,CAACC,OAAO;IAAQC,KAAK,EAAEpB;KACxBA,MAAM,CAACI,IAAI,CAACC,OAAO,CAACgB,SAAS,kBAC1BJ,6BAACK,OAAO;IAACC,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAAEH,KAAK,EAAEpB,MAAM,CAACgB;IAAY,IACjF,IAAI,CACI,EACfF,mBAAmB,kBAChBG,6BAACQ,KAAK;IACFC,SAAS,EAAC,MAAM;IAChBH,aAAa,EAAEvB,MAAM,CAACwB,QAAQ,CAACD,aAAa;IAC5CH,KAAK,EAAEpB,MAAM,CAACgB,QAAQ;IACtBW,QAAQ,EAAE3B,MAAM,CAACD;IACnB,IACF,IAAI,eACRkB,6BAACC,KAAK,CAACU,IAAI,oBAAYrB,cAAc;iBAAY,QAAQ;IAACa,KAAK,EAAEpB;KAAU,CACvE;AAEhB,CAAC;AAIDJ,MAAM,CAACH,MAAM,GAAGA,MAAM;AACtBG,MAAM,CAACD,KAAK,GAAGA,KAAK;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Table.js","sources":["../../../../../../../../src/primitives/Table/Core/Table.tsx"],"sourcesContent":["import React from 'react';\nimport { FocusScope } from '@react-aria/focus';\nimport { Header } from './components/Header/Header';\nimport { Body } from './components/Body/Body';\nimport { Footer } from './components/Footer/Footer';\nimport { EmptyStateBody } from './components/Body/EmptyStateBody';\nimport {
|
1
|
+
{"version":3,"file":"Table.js","sources":["../../../../../../../../src/primitives/Table/Core/Table.tsx"],"sourcesContent":["import React from 'react';\nimport { FocusScope } from '@react-aria/focus';\nimport { Header } from './components/Header/Header';\nimport { Body } from './components/Body/Body';\nimport { Footer } from './components/Footer/Footer';\nimport { EmptyStateBody } from './components/Body/EmptyStateBody';\nimport { useTableReturnValue } from './useTable';\nimport { TableToolbar } from './components/Toolbar/Toolbar';\nimport './style.css';\n\ntype TableProps = {\n children: JSX.Element | Array<JSX.Element | null>;\n};\n\nexport function Table(props: TableProps) {\n return <>{props.children}</>;\n}\nTable.Toolbar = TableToolbar;\nTable.Grid = TableGrid;\n\nexport type TableGridProps<TType = unknown> = React.TableHTMLAttributes<HTMLTableElement> & {\n 'data-taco': string;\n enableHorizontalArrowKeyNavigation?: boolean;\n table: useTableReturnValue<TType>;\n};\n\nexport function TableGrid<TType = unknown>(props: TableGridProps<TType>) {\n const { enableHorizontalArrowKeyNavigation, table, ...attributes } = props;\n const handleFocus =\n table.meta.rowActive.rowActiveIndex === undefined\n ? (event: React.FocusEvent) => {\n table.meta.rowActive.handleFocus(event, table.meta.length, table.renderer.scrollToIndex);\n }\n : undefined;\n\n return (\n <>\n {table.stylesheet}\n <FocusScope>\n <table\n {...attributes}\n id={table.id}\n data-table-font-size={table.meta.fontSize.size}\n data-table-horizontally-scrolled={table.meta.columnFreezing.isHorizontallyScrolled ? true : undefined}\n data-table-pause-hover={table.meta.rowActive.isHoverStatePaused ? true : undefined}\n data-table-resizing={table.state.columnSizingInfo.isResizingColumn ? true : undefined}\n data-table-row-height={table.meta.rowHeight.height}\n data-table-grouped={!!table.state.grouping?.length}\n onFocus={handleFocus}\n onScroll={table.meta.columnFreezing.handleScroll}\n ref={table.ref}\n tabIndex={-1}>\n <thead>\n {table.instance.getHeaderGroups().map(headerGroup => (\n <tr key={headerGroup.id}>\n {headerGroup.headers.map(props => (\n <Header key={props.id} header={props} scrollToIndex={table.renderer.scrollToIndex} />\n ))}\n </tr>\n ))}\n </thead>\n {table.renderer.rows?.length ? (\n <>\n <Body\n enableHorizontalArrowKeyNavigation={enableHorizontalArrowKeyNavigation}\n table={table.instance}\n style={table.renderer.style}>\n {table.renderer.rows}\n </Body>\n {table.meta.footer.isEnabled ? (\n <tfoot>\n <tr>{table.instance.getFooterGroups()[0].headers.map(Footer)}</tr>\n </tfoot>\n ) : null}\n </>\n ) : (\n <EmptyStateBody emptyState={table.props.emptyState} />\n )}\n </table>\n </FocusScope>\n </>\n );\n}\n"],"names":["Table","props","React","children","Toolbar","TableToolbar","Grid","TableGrid","enableHorizontalArrowKeyNavigation","table","attributes","handleFocus","meta","rowActive","rowActiveIndex","undefined","event","length","renderer","scrollToIndex","stylesheet","FocusScope","id","fontSize","size","columnFreezing","isHorizontallyScrolled","isHoverStatePaused","state","columnSizingInfo","isResizingColumn","rowHeight","height","_table$state$grouping","grouping","onFocus","onScroll","handleScroll","ref","tabIndex","instance","getHeaderGroups","map","headerGroup","key","headers","Header","header","_table$renderer$rows","rows","Body","style","footer","isEnabled","getFooterGroups","Footer","EmptyStateBody","emptyState"],"mappings":";;;;;;;;SAcgBA,KAAKA,CAACC,KAAiB;EACnC,oBAAOC,4DAAGD,KAAK,CAACE,QAAQ,CAAI;AAChC;AACAH,KAAK,CAACI,OAAO,GAAGC,YAAY;AAC5BL,KAAK,CAACM,IAAI,GAAGC,SAAS;SAQNA,SAASA,CAAkBN,KAA4B;;EACnE,MAAM;IAAEO,kCAAkC;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGT,KAAK;EAC1E,MAAMU,WAAW,GACbF,KAAK,CAACG,IAAI,CAACC,SAAS,CAACC,cAAc,KAAKC,SAAS,GAC1CC,KAAuB;IACpBP,KAAK,CAACG,IAAI,CAACC,SAAS,CAACF,WAAW,CAACK,KAAK,EAAEP,KAAK,CAACG,IAAI,CAACK,MAAM,EAAER,KAAK,CAACS,QAAQ,CAACC,aAAa,CAAC;GAC3F,GACDJ,SAAS;EAEnB,oBACIb,4DACKO,KAAK,CAACW,UAAU,eACjBlB,6BAACmB,UAAU,qBACPnB,wDACQQ,UAAU;IACdY,EAAE,EAAEb,KAAK,CAACa,EAAE;4BACUb,KAAK,CAACG,IAAI,CAACW,QAAQ,CAACC,IAAI;wCACZf,KAAK,CAACG,IAAI,CAACa,cAAc,CAACC,sBAAsB,GAAG,IAAI,GAAGX,SAAS;8BAC7EN,KAAK,CAACG,IAAI,CAACC,SAAS,CAACc,kBAAkB,GAAG,IAAI,GAAGZ,SAAS;2BAC7DN,KAAK,CAACmB,KAAK,CAACC,gBAAgB,CAACC,gBAAgB,GAAG,IAAI,GAAGf,SAAS;6BAC9DN,KAAK,CAACG,IAAI,CAACmB,SAAS,CAACC,MAAM;0BAC9B,CAAC,GAAAC,qBAAA,GAACxB,KAAK,CAACmB,KAAK,CAACM,QAAQ,cAAAD,qBAAA,eAApBA,qBAAA,CAAsBhB,MAAM;IAClDkB,OAAO,EAAExB,WAAW;IACpByB,QAAQ,EAAE3B,KAAK,CAACG,IAAI,CAACa,cAAc,CAACY,YAAY;IAChDC,GAAG,EAAE7B,KAAK,CAAC6B,GAAG;IACdC,QAAQ,EAAE,CAAC;mBACXrC,4CACKO,KAAK,CAAC+B,QAAQ,CAACC,eAAe,EAAE,CAACC,GAAG,CAACC,WAAW,mBAC7CzC;IAAI0C,GAAG,EAAED,WAAW,CAACrB;KAChBqB,WAAW,CAACE,OAAO,CAACH,GAAG,CAACzC,KAAK,mBAC1BC,6BAAC4C,MAAM;IAACF,GAAG,EAAE3C,KAAK,CAACqB,EAAE;IAAEyB,MAAM,EAAE9C,KAAK;IAAEkB,aAAa,EAAEV,KAAK,CAACS,QAAQ,CAACC;IAAiB,CACxF,CAAC,CACD,CACR,CAAC,CACE,EACP,CAAA6B,oBAAA,GAAAvC,KAAK,CAACS,QAAQ,CAAC+B,IAAI,cAAAD,oBAAA,eAAnBA,oBAAA,CAAqB/B,MAAM,kBACxBf,yEACIA,6BAACgD,IAAI;IACD1C,kCAAkC,EAAEA,kCAAkC;IACtEC,KAAK,EAAEA,KAAK,CAAC+B,QAAQ;IACrBW,KAAK,EAAE1C,KAAK,CAACS,QAAQ,CAACiC;KACrB1C,KAAK,CAACS,QAAQ,CAAC+B,IAAI,CACjB,EACNxC,KAAK,CAACG,IAAI,CAACwC,MAAM,CAACC,SAAS,kBACxBnD,yDACIA,yCAAKO,KAAK,CAAC+B,QAAQ,CAACc,eAAe,EAAE,CAAC,CAAC,CAAC,CAACT,OAAO,CAACH,GAAG,CAACa,MAAM,CAAC,CAAM,CAC9D,IACR,IAAI,CACT,mBAEHrD,6BAACsD,cAAc;IAACC,UAAU,EAAEhD,KAAK,CAACR,KAAK,CAACwD;IAAc,CACzD,CACG,CACC,CACd;AAEX;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Toolbar.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Group } from '../../../../../components/Group/Group';\nimport { Search } from './components/Search/Search';\nimport { Settings } from './components/Settings/Settings';\nimport { Print } from './components/Print/Print';\nimport { Filters } from './components/Filters/Filters';\nimport { TableCustomSettingsRenderer } from '../../../types';\nimport {
|
1
|
+
{"version":3,"file":"Toolbar.js","sources":["../../../../../../../../../../src/primitives/Table/Core/components/Toolbar/Toolbar.tsx"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { Group } from '../../../../../components/Group/Group';\nimport { Search } from './components/Search/Search';\nimport { Settings } from './components/Settings/Settings';\nimport { Print } from './components/Print/Print';\nimport { Filters } from './components/Filters/Filters';\nimport { TableCustomSettingsRenderer } from '../../../types';\nimport { useTableReturnValue } from '../../useTable';\n\nexport type TableToolbarProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {\n children?: JSX.Element | null;\n table: useTableReturnValue<TType>;\n};\n\nexport function TableToolbar<TType = unknown>(props: TableToolbarProps<TType>) {\n const { children: customTools, table, ...attributes } = props;\n\n if (!isToolbarVisible<TType>(table, !!customTools)) {\n return null;\n }\n\n const canFilter = table.instance.options.enableColumnFilters;\n const canPrint = table.meta.printing.isEnabled;\n const canSettings = canChangeSettings(table.instance, table.props.customSettings);\n const canSearch = table.meta.search.isEnabled;\n\n return (\n <>\n <div\n {...attributes}\n className=\"mb-4 flex flex-shrink flex-grow-0 flex-wrap gap-2 print:hidden\"\n data-taco=\"table-toolbar\">\n {table.props.toolbarLeft}\n <Group className=\"ml-auto flex-shrink-0 items-center print:hidden\">\n {customTools}\n {canFilter ? <Filters length={table.meta.length} table={table.instance} /> : null}\n {table.props.toolbarRight}\n {canPrint ? <Print table={table.instance} tableId={table.id} tableRef={table.ref} /> : null}\n {canSettings ? <Settings customSettings={table.props.customSettings} table={table.instance} /> : null}\n {canSearch ? (\n <Search scrollToIndex={table.renderer.scrollToIndex} table={table.instance} tableRef={table.ref} />\n ) : null}\n </Group>\n </div>\n {table.props.toolbarPanel ? <div className=\"mb-4\">{table.props.toolbarPanel}</div> : undefined}\n </>\n );\n}\n\nfunction canChangeSettings<TType = unknown>(table: ReactTable<TType>, customSettings?: TableCustomSettingsRenderer) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n return (\n table.options.enableHiding ||\n tableMeta.columnOrdering.isEnabled ||\n tableMeta.fontSize.isEnabled ||\n tableMeta.rowHeight.isEnabled ||\n typeof customSettings === 'function'\n );\n}\n\nfunction isToolbarVisible<TType = unknown>(table: useTableReturnValue<TType>, customTools: boolean) {\n const hasInternalToolbar =\n customTools ||\n table.instance.options.enableColumnFilters ||\n table.meta.printing.isEnabled ||\n canChangeSettings(table.instance, table.props.customSettings) ||\n table.meta.search.isEnabled;\n\n return hasInternalToolbar || !!table.props.toolbarLeft || !!table.props.toolbarRight;\n}\n"],"names":["TableToolbar","props","children","customTools","table","attributes","isToolbarVisible","canFilter","instance","options","enableColumnFilters","canPrint","meta","printing","isEnabled","canSettings","canChangeSettings","customSettings","canSearch","search","React","className","toolbarLeft","Group","Filters","length","toolbarRight","Print","tableId","id","tableRef","ref","Settings","Search","scrollToIndex","renderer","toolbarPanel","undefined","tableMeta","enableHiding","columnOrdering","fontSize","rowHeight","hasInternalToolbar"],"mappings":";;;;;;;SAegBA,YAAYA,CAAkBC,KAA+B;EACzE,MAAM;IAAEC,QAAQ,EAAEC,WAAW;IAAEC,KAAK;IAAE,GAAGC;GAAY,GAAGJ,KAAK;EAE7D,IAAI,CAACK,gBAAgB,CAAQF,KAAK,EAAE,CAAC,CAACD,WAAW,CAAC,EAAE;IAChD,OAAO,IAAI;;EAGf,MAAMI,SAAS,GAAGH,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB;EAC5D,MAAMC,QAAQ,GAAGP,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS;EAC9C,MAAMC,WAAW,GAAGC,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC;EACjF,MAAMC,SAAS,GAAGd,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE7C,oBACIM,yEACIA,sDACQf,UAAU;IACdgB,SAAS,EAAC,gEAAgE;iBAChE;MACTjB,KAAK,CAACH,KAAK,CAACqB,WAAW,eACxBF,6BAACG,KAAK;IAACF,SAAS,EAAC;KACZlB,WAAW,EACXI,SAAS,gBAAGa,6BAACI,OAAO;IAACC,MAAM,EAAErB,KAAK,CAACQ,IAAI,CAACa,MAAM;IAAErB,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EAChFJ,KAAK,CAACH,KAAK,CAACyB,YAAY,EACxBf,QAAQ,gBAAGS,6BAACO,KAAK;IAACvB,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEoB,OAAO,EAAExB,KAAK,CAACyB,EAAE;IAAEC,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,GAAG,IAAI,EAC1FhB,WAAW,gBAAGK,6BAACY,QAAQ;IAACf,cAAc,EAAEb,KAAK,CAACH,KAAK,CAACgB,cAAc;IAAEb,KAAK,EAAEA,KAAK,CAACI;IAAY,GAAG,IAAI,EACpGU,SAAS,kBACNE,6BAACa,MAAM;IAACC,aAAa,EAAE9B,KAAK,CAAC+B,QAAQ,CAACD,aAAa;IAAE9B,KAAK,EAAEA,KAAK,CAACI,QAAQ;IAAEsB,QAAQ,EAAE1B,KAAK,CAAC2B;IAAO,IACnG,IAAI,CACJ,CACN,EACL3B,KAAK,CAACH,KAAK,CAACmC,YAAY,gBAAGhB;IAAKC,SAAS,EAAC;KAAQjB,KAAK,CAACH,KAAK,CAACmC,YAAY,CAAO,GAAGC,SAAS,CAC/F;AAEX;AAEA,SAASrB,iBAAiBA,CAAkBZ,KAAwB,EAAEa,cAA4C;EAC9G,MAAMqB,SAAS,GAAGlC,KAAK,CAACK,OAAO,CAACG,IAA6B;EAE7D,OACIR,KAAK,CAACK,OAAO,CAAC8B,YAAY,IAC1BD,SAAS,CAACE,cAAc,CAAC1B,SAAS,IAClCwB,SAAS,CAACG,QAAQ,CAAC3B,SAAS,IAC5BwB,SAAS,CAACI,SAAS,CAAC5B,SAAS,IAC7B,OAAOG,cAAc,KAAK,UAAU;AAE5C;AAEA,SAASX,gBAAgBA,CAAkBF,KAAiC,EAAED,WAAoB;EAC9F,MAAMwC,kBAAkB,GACpBxC,WAAW,IACXC,KAAK,CAACI,QAAQ,CAACC,OAAO,CAACC,mBAAmB,IAC1CN,KAAK,CAACQ,IAAI,CAACC,QAAQ,CAACC,SAAS,IAC7BE,iBAAiB,CAACZ,KAAK,CAACI,QAAQ,EAAEJ,KAAK,CAACH,KAAK,CAACgB,cAAc,CAAC,IAC7Db,KAAK,CAACQ,IAAI,CAACO,MAAM,CAACL,SAAS;EAE/B,OAAO6B,kBAAkB,IAAI,CAAC,CAACvC,KAAK,CAACH,KAAK,CAACqB,WAAW,IAAI,CAAC,CAAClB,KAAK,CAACH,KAAK,CAACyB,YAAY;AACxF;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useTable.js","sources":["../../../../../../../../src/primitives/Table/Core/useTable.ts"],"sourcesContent":["import { TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useMergedRef } from '../../../hooks/useMergedRef';\nimport { TableProps } from '../types';\nimport { useTableManager } from '../useTableManager/useTableManager';\nimport { useStylesheet } from './features/useStylesheet';\nimport { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts';\nimport { useTableRef } from './features/useTableRef';\nimport { useTableRenderer } from './features/useTableRenderer';\nimport { useTableRowActiveListener } from './listeners/useTableRowActiveListener';\nimport { TableRef } from '../types';\nimport { useTableRenderers } from './types';\nimport { renderer as rowActions } from './components/Columns/Internal/Actions';\nimport { renderer as rowDrag } from './components/Columns/Internal/Drag';\nimport { renderer as rowExpansion } from './components/Columns/Internal/Expansion';\nimport { renderer as rowSelection } from './components/Columns/Internal/Selection';\nimport { useTableManagerInternalColumns } from '../useTableManager/types';\n\nconst INTERNAL_RENDERERS = {\n rowActions,\n rowDrag,\n rowExpansion,\n rowSelection,\n};\n\nexport function useTable<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n externalRef: React.Ref<TableRef>,\n renderers: useTableRenderers<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta\n) {\n // create a ref and merge with the consumer's ref\n const ref = useMergedRef<TableRef>(externalRef);\n // configure the table\n const manager = useTableManager<TType>(props, meta, INTERNAL_RENDERERS as useTableManagerInternalColumns<TType>);\n // configure the virtualised renderer\n const renderer = useTableRenderer<TType>(renderers, manager.instance, ref, props.defaultRowActiveIndex);\n // configure dynamic styling\n const stylesheet = useStylesheet(manager.id, manager.instance);\n // configure global keyboard shortcuts\n useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);\n // augment the ref with some helper functions\n useTableRef(manager.instance, ref);\n\n // listeners - they are here and not in useTableManager because they rely on the dom and the table ref\n useTableRowActiveListener(manager.instance, ref);\n\n return {\n ...manager,\n props: {\n customSettings: props.customSettings,\n emptyState: props.emptyState,\n toolbarLeft: props.toolbarLeft,\n toolbarPanel: props.toolbarPanel,\n toolbarRight: props.toolbarRight,\n },\n renderer,\n stylesheet,\n ref,\n };\n}\n"],"names":["INTERNAL_RENDERERS","rowActions","rowDrag","rowExpansion","rowSelection","useTable","props","externalRef","renderers","meta","ref","useMergedRef","manager","useTableManager","renderer","useTableRenderer","instance","defaultRowActiveIndex","stylesheet","useStylesheet","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"useTable.js","sources":["../../../../../../../../src/primitives/Table/Core/useTable.ts"],"sourcesContent":["import { Table as ReactTable, TableMeta as ReactTableMeta, TableState as ReactTableState } from '@tanstack/react-table';\nimport { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';\nimport { useMergedRef } from '../../../hooks/useMergedRef';\nimport { TableCustomSettingsRenderer, TableEmptyStateRenderer, TableProps } from '../types';\nimport { useTableManager } from '../useTableManager/useTableManager';\nimport { useStylesheet } from './features/useStylesheet';\nimport { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts';\nimport { useTableRef } from './features/useTableRef';\nimport { useTableRenderer } from './features/useTableRenderer';\nimport { useTableRowActiveListener } from './listeners/useTableRowActiveListener';\nimport { TableRef } from '../types';\nimport { useTableRenderers } from './types';\nimport { renderer as rowActions } from './components/Columns/Internal/Actions';\nimport { renderer as rowDrag } from './components/Columns/Internal/Drag';\nimport { renderer as rowExpansion } from './components/Columns/Internal/Expansion';\nimport { renderer as rowSelection } from './components/Columns/Internal/Selection';\nimport { useTableManagerInternalColumns } from '../useTableManager/types';\n\nconst INTERNAL_RENDERERS = {\n rowActions,\n rowDrag,\n rowExpansion,\n rowSelection,\n};\n\nexport type useTableReturnValue<TType = unknown> = {\n id: string;\n instance: ReactTable<TType>;\n meta: ReactTableMeta<TType>;\n props: {\n customSettings: TableCustomSettingsRenderer | undefined;\n emptyState: TableEmptyStateRenderer | undefined;\n toolbarLeft: JSX.Element | undefined;\n toolbarPanel: JSX.Element | undefined;\n toolbarRight: JSX.Element | undefined;\n };\n ref: React.RefObject<TableRef>;\n renderer: {\n rows: JSX.Element[] | null;\n style: React.CSSProperties;\n scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;\n };\n stylesheet: JSX.Element;\n state: ReactTableState;\n};\n\nexport function useTable<TType = unknown, TMeta = {}>(\n props: TableProps<TType>,\n externalRef: React.Ref<TableRef>,\n renderers: useTableRenderers<TType>,\n meta?: Partial<ReactTableMeta<TType>> & TMeta\n): useTableReturnValue<TType> {\n // create a ref and merge with the consumer's ref\n const ref = useMergedRef<TableRef>(externalRef);\n // configure the table\n const manager = useTableManager<TType>(props, meta, INTERNAL_RENDERERS as useTableManagerInternalColumns<TType>);\n // configure the virtualised renderer\n const renderer = useTableRenderer<TType>(renderers, manager.instance, ref, props.defaultRowActiveIndex);\n // configure dynamic styling\n const stylesheet = useStylesheet(manager.id, manager.instance);\n // configure global keyboard shortcuts\n useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);\n // augment the ref with some helper functions\n useTableRef(manager.instance, ref);\n\n // listeners - they are here and not in useTableManager because they rely on the dom and the table ref\n useTableRowActiveListener(manager.instance, ref);\n\n return {\n ...manager,\n props: {\n customSettings: props.customSettings,\n emptyState: props.emptyState,\n toolbarLeft: props.toolbarLeft,\n toolbarPanel: props.toolbarPanel,\n toolbarRight: props.toolbarRight,\n },\n renderer,\n stylesheet,\n ref,\n };\n}\n"],"names":["INTERNAL_RENDERERS","rowActions","rowDrag","rowExpansion","rowSelection","useTable","props","externalRef","renderers","meta","ref","useMergedRef","manager","useTableManager","renderer","useTableRenderer","instance","defaultRowActiveIndex","stylesheet","useStylesheet","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;AAkBA,MAAMA,kBAAkB,GAAG;cACvBC,QAAU;WACVC,UAAO;gBACPC,UAAY;gBACZC;CACH;SAuBeC,QAAQA,CACpBC,KAAwB,EACxBC,WAAgC,EAChCC,SAAmC,EACnCC,IAA6C;;EAG7C,MAAMC,GAAG,GAAGC,YAAY,CAAWJ,WAAW,CAAC;;EAE/C,MAAMK,OAAO,GAAGC,eAAe,CAAQP,KAAK,EAAEG,IAAI,EAAET,kBAA2D,CAAC;;EAEhH,MAAMc,QAAQ,GAAGC,gBAAgB,CAAQP,SAAS,EAAEI,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEJ,KAAK,CAACW,qBAAqB,CAAC;;EAEvG,MAAMC,UAAU,GAAGC,aAAa,CAACP,OAAO,CAACQ,EAAE,EAAER,OAAO,CAACI,QAAQ,CAAC;;EAE9DK,uBAAuB,CAACT,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEI,QAAQ,CAACQ,aAAa,CAAC;;EAEtEC,WAAW,CAACX,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;;EAGlCc,yBAAyB,CAACZ,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;EAEhD,OAAO;IACH,GAAGE,OAAO;IACVN,KAAK,EAAE;MACHmB,cAAc,EAAEnB,KAAK,CAACmB,cAAc;MACpCC,UAAU,EAAEpB,KAAK,CAACoB,UAAU;MAC5BC,WAAW,EAAErB,KAAK,CAACqB,WAAW;MAC9BC,YAAY,EAAEtB,KAAK,CAACsB,YAAY;MAChCC,YAAY,EAAEvB,KAAK,CAACuB;KACvB;IACDf,QAAQ;IACRI,UAAU;IACVR;GACH;AACL;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import {
|
2
|
+
import { useTableReturnValue } from './useTable';
|
3
3
|
import { TableToolbar } from './components/Toolbar/Toolbar';
|
4
4
|
import './style.css';
|
5
5
|
declare type TableProps = {
|
@@ -10,10 +10,10 @@ export declare namespace Table {
|
|
10
10
|
var Toolbar: typeof TableToolbar;
|
11
11
|
var Grid: typeof TableGrid;
|
12
12
|
}
|
13
|
-
export declare type TableGridProps = React.TableHTMLAttributes<HTMLTableElement> & {
|
13
|
+
export declare type TableGridProps<TType = unknown> = React.TableHTMLAttributes<HTMLTableElement> & {
|
14
14
|
'data-taco': string;
|
15
15
|
enableHorizontalArrowKeyNavigation?: boolean;
|
16
|
-
table:
|
16
|
+
table: useTableReturnValue<TType>;
|
17
17
|
};
|
18
|
-
export declare function TableGrid(props: TableGridProps): JSX.Element;
|
18
|
+
export declare function TableGrid<TType = unknown>(props: TableGridProps<TType>): JSX.Element;
|
19
19
|
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { useTableReturnValue } from '../../useTable';
|
3
|
+
export declare type TableToolbarProps<TType = unknown> = React.HTMLAttributes<HTMLDivElement> & {
|
4
|
+
children?: JSX.Element | null;
|
5
|
+
table: useTableReturnValue<TType>;
|
6
|
+
};
|
7
|
+
export declare function TableToolbar<TType = unknown>(props: TableToolbarProps<TType>): JSX.Element | null;
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { Table as ReactTable, Row as ReactTableRow, Cell as ReactTableCell } from '@tanstack/react-table';
|
3
|
-
import { TableSettings } from '../types';
|
4
|
-
import { MenuItemProps } from '../../../components/Menu/components/Item';
|
5
|
-
export declare type TableCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];
|
6
3
|
export declare type useTableRenderers<TType = unknown> = {
|
7
4
|
row: TableRowRenderer<TType>;
|
8
5
|
cell: TableCellRenderer<TType>;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Table as ReactTable, TableMeta as ReactTableMeta, TableState as ReactTableState } from '@tanstack/react-table';
|
3
|
+
import { ScrollToOptions as ReactVirtualScrollToOptions } from '@tanstack/react-virtual';
|
4
|
+
import { TableCustomSettingsRenderer, TableEmptyStateRenderer, TableProps } from '../types';
|
5
|
+
import { TableRef } from '../types';
|
6
|
+
import { useTableRenderers } from './types';
|
7
|
+
export declare type useTableReturnValue<TType = unknown> = {
|
8
|
+
id: string;
|
9
|
+
instance: ReactTable<TType>;
|
10
|
+
meta: ReactTableMeta<TType>;
|
11
|
+
props: {
|
12
|
+
customSettings: TableCustomSettingsRenderer | undefined;
|
13
|
+
emptyState: TableEmptyStateRenderer | undefined;
|
14
|
+
toolbarLeft: JSX.Element | undefined;
|
15
|
+
toolbarPanel: JSX.Element | undefined;
|
16
|
+
toolbarRight: JSX.Element | undefined;
|
17
|
+
};
|
18
|
+
ref: React.RefObject<TableRef>;
|
19
|
+
renderer: {
|
20
|
+
rows: JSX.Element[] | null;
|
21
|
+
style: React.CSSProperties;
|
22
|
+
scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;
|
23
|
+
};
|
24
|
+
stylesheet: JSX.Element;
|
25
|
+
state: ReactTableState;
|
26
|
+
};
|
27
|
+
export declare function useTable<TType = unknown, TMeta = {}>(props: TableProps<TType>, externalRef: React.Ref<TableRef>, renderers: useTableRenderers<TType>, meta?: Partial<ReactTableMeta<TType>> & TMeta): useTableReturnValue<TType>;
|