@economic/taco 2.40.0 → 2.40.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Accordion/Accordion.d.ts +42 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialog.d.ts +24 -0
- package/dist/components/AlertDialog/Context.d.ts +7 -0
- package/dist/components/AlertDialog/components/Content.d.ts +13 -0
- package/dist/components/AlertDialog/components/Footer.d.ts +7 -0
- package/dist/components/AlertDialog/components/Trigger.d.ts +3 -0
- package/dist/components/Backdrop/Backdrop.d.ts +3 -0
- package/dist/components/Badge/Badge.d.ts +54 -0
- package/dist/components/BadgeIcon/BadgeIcon.d.ts +23 -0
- package/dist/components/Banner/Banner.d.ts +20 -0
- package/dist/components/Banner/util.d.ts +3 -0
- package/dist/components/Button/Button.d.ts +74 -0
- package/dist/components/Button/util.d.ts +6 -0
- package/dist/components/Calendar/Calendar.d.ts +32 -0
- package/dist/components/Card/Card.d.ts +15 -0
- package/dist/components/Checkbox/Checkbox.d.ts +27 -0
- package/dist/components/Combobox/Combobox.d.ts +51 -0
- package/dist/components/Combobox/useCombobox.d.ts +20 -0
- package/dist/components/Datepicker/Datepicker.d.ts +50 -0
- package/dist/components/Datepicker/useDatepicker.d.ts +13 -0
- package/dist/components/Dialog/Context.d.ts +21 -0
- package/dist/components/Dialog/Dialog.d.ts +47 -0
- package/dist/components/Dialog/components/Content.d.ts +28 -0
- package/dist/components/Dialog/components/DialogDrawer.d.ts +10 -0
- package/dist/components/Dialog/components/Extra.d.ts +4 -0
- package/dist/components/Dialog/components/Trigger.d.ts +3 -0
- package/dist/components/Dialog/types.d.ts +1 -0
- package/dist/components/Dialog/util.d.ts +4 -0
- package/dist/components/Drawer/Context.d.ts +19 -0
- package/dist/components/Drawer/Drawer.d.ts +61 -0
- package/dist/components/Drawer/components/Content.d.ts +53 -0
- package/dist/components/Drawer/components/Trigger.d.ts +3 -0
- package/dist/components/Drawer/images.d.ts +1 -0
- package/dist/components/Drawer/types.d.ts +2 -0
- package/dist/components/Drawer/util.d.ts +7 -0
- package/dist/components/Field/Field.d.ts +28 -0
- package/dist/components/Form/Form.d.ts +14 -0
- package/dist/components/Group/Group.d.ts +30 -0
- package/dist/components/Hanger/Hanger.d.ts +31 -0
- package/dist/components/Header/Header.d.ts +29 -0
- package/dist/components/Header/components/Agreement/Avatar.d.ts +7 -0
- package/dist/components/Header/components/Agreement/Badge.d.ts +6 -0
- package/dist/components/Header/components/Agreement/Display.d.ts +9 -0
- package/dist/components/Header/components/Agreement/Item.d.ts +8 -0
- package/dist/components/Header/components/Agreement/types.d.ts +13 -0
- package/dist/components/Header/components/AgreementSelector.d.ts +20 -0
- package/dist/components/Header/components/Button.d.ts +9 -0
- package/dist/components/Header/components/Link.d.ts +20 -0
- package/dist/components/Header/components/Logo.d.ts +4 -0
- package/dist/components/Header/components/MenuButton.d.ts +5 -0
- package/dist/components/Header/components/PrimaryNavigation.d.ts +3 -0
- package/dist/components/Header/components/SecondaryNavigation.d.ts +3 -0
- package/dist/components/HoverCard/HoverCard.d.ts +16 -0
- package/dist/components/HoverCard/Primitives.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +12 -0
- package/dist/components/Icon/components/AccountPreview.d.ts +3 -0
- package/dist/components/Icon/components/Accounting.d.ts +3 -0
- package/dist/components/Icon/components/AccountingYear.d.ts +3 -0
- package/dist/components/Icon/components/AccountingYearCancel.d.ts +3 -0
- package/dist/components/Icon/components/AiChatSolid.d.ts +3 -0
- package/dist/components/Icon/components/AiStars.d.ts +3 -0
- package/dist/components/Icon/components/ArrowBottom.d.ts +3 -0
- package/dist/components/Icon/components/ArrowDown.d.ts +3 -0
- package/dist/components/Icon/components/ArrowEnd.d.ts +3 -0
- package/dist/components/Icon/components/ArrowLeft.d.ts +3 -0
- package/dist/components/Icon/components/ArrowRight.d.ts +3 -0
- package/dist/components/Icon/components/ArrowStart.d.ts +3 -0
- package/dist/components/Icon/components/ArrowTop.d.ts +3 -0
- package/dist/components/Icon/components/ArrowUp.d.ts +3 -0
- package/dist/components/Icon/components/Attach.d.ts +3 -0
- package/dist/components/Icon/components/AttachAuto.d.ts +3 -0
- package/dist/components/Icon/components/AttachCancel.d.ts +3 -0
- package/dist/components/Icon/components/AttachWarning.d.ts +3 -0
- package/dist/components/Icon/components/Autotext.d.ts +3 -0
- package/dist/components/Icon/components/AutotextInsert.d.ts +3 -0
- package/dist/components/Icon/components/Basic.d.ts +3 -0
- package/dist/components/Icon/components/BasicTabs.d.ts +3 -0
- package/dist/components/Icon/components/BellSolid.d.ts +3 -0
- package/dist/components/Icon/components/Book.d.ts +3 -0
- package/dist/components/Icon/components/Booking.d.ts +3 -0
- package/dist/components/Icon/components/Budget.d.ts +3 -0
- package/dist/components/Icon/components/Calendar.d.ts +3 -0
- package/dist/components/Icon/components/CashAccount.d.ts +3 -0
- package/dist/components/Icon/components/CashReports.d.ts +3 -0
- package/dist/components/Icon/components/ChartArea.d.ts +3 -0
- package/dist/components/Icon/components/ChartBar.d.ts +3 -0
- package/dist/components/Icon/components/ChartLine.d.ts +3 -0
- package/dist/components/Icon/components/ChartPie.d.ts +3 -0
- package/dist/components/Icon/components/ChartTable.d.ts +3 -0
- package/dist/components/Icon/components/Chat.d.ts +3 -0
- package/dist/components/Icon/components/ChatSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDown.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDownDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronDownSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeft.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeftDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronLeftSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRight.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRightDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronRightSolid.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUp.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUpDouble.d.ts +3 -0
- package/dist/components/Icon/components/ChevronUpSolid.d.ts +3 -0
- package/dist/components/Icon/components/CircleClose.d.ts +3 -0
- package/dist/components/Icon/components/CircleInformation.d.ts +3 -0
- package/dist/components/Icon/components/CircleMinus.d.ts +3 -0
- package/dist/components/Icon/components/CirclePlus.d.ts +3 -0
- package/dist/components/Icon/components/CircleQuestionmark.d.ts +3 -0
- package/dist/components/Icon/components/CircleTick.d.ts +3 -0
- package/dist/components/Icon/components/CircleWarning.d.ts +3 -0
- package/dist/components/Icon/components/Clamp.d.ts +3 -0
- package/dist/components/Icon/components/ClampOpen.d.ts +3 -0
- package/dist/components/Icon/components/Close.d.ts +3 -0
- package/dist/components/Icon/components/ColumnFreeze.d.ts +3 -0
- package/dist/components/Icon/components/ColumnUnfreeze.d.ts +3 -0
- package/dist/components/Icon/components/Columns.d.ts +3 -0
- package/dist/components/Icon/components/ConnectionEnable.d.ts +3 -0
- package/dist/components/Icon/components/ConnectionRevoke.d.ts +3 -0
- package/dist/components/Icon/components/Contacts.d.ts +3 -0
- package/dist/components/Icon/components/Copy.d.ts +3 -0
- package/dist/components/Icon/components/Courses.d.ts +3 -0
- package/dist/components/Icon/components/Credit.d.ts +3 -0
- package/dist/components/Icon/components/Delete.d.ts +3 -0
- package/dist/components/Icon/components/DeletePermanently.d.ts +3 -0
- package/dist/components/Icon/components/Depecriate.d.ts +3 -0
- package/dist/components/Icon/components/Developer.d.ts +3 -0
- package/dist/components/Icon/components/DistributionTemplate.d.ts +3 -0
- package/dist/components/Icon/components/Document.d.ts +3 -0
- package/dist/components/Icon/components/DocumentApprove.d.ts +3 -0
- package/dist/components/Icon/components/DocumentCreateEntry.d.ts +3 -0
- package/dist/components/Icon/components/DocumentCut.d.ts +3 -0
- package/dist/components/Icon/components/DocumentError.d.ts +3 -0
- package/dist/components/Icon/components/DocumentIsolatePage.d.ts +3 -0
- package/dist/components/Icon/components/DocumentMerge.d.ts +3 -0
- package/dist/components/Icon/components/DocumentMove.d.ts +3 -0
- package/dist/components/Icon/components/DocumentPreview.d.ts +3 -0
- package/dist/components/Icon/components/DocumentReceived.d.ts +3 -0
- package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSigned.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSignedSolid.d.ts +3 -0
- package/dist/components/Icon/components/DocumentSplit.d.ts +3 -0
- package/dist/components/Icon/components/DocumentTime.d.ts +3 -0
- package/dist/components/Icon/components/Download.d.ts +3 -0
- package/dist/components/Icon/components/Drag.d.ts +3 -0
- package/dist/components/Icon/components/ECopedia.d.ts +3 -0
- package/dist/components/Icon/components/Edit.d.ts +3 -0
- package/dist/components/Icon/components/EditSimple.d.ts +3 -0
- package/dist/components/Icon/components/EllipsisHorizontal.d.ts +3 -0
- package/dist/components/Icon/components/EllipsisVertical.d.ts +3 -0
- package/dist/components/Icon/components/EntriesOnAccount.d.ts +3 -0
- package/dist/components/Icon/components/EntriesOpen.d.ts +3 -0
- package/dist/components/Icon/components/EntriesWarning.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +3 -0
- package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +3 -0
- package/dist/components/Icon/components/Envelope.d.ts +3 -0
- package/dist/components/Icon/components/EnvelopeApproved.d.ts +3 -0
- package/dist/components/Icon/components/EnvelopeSolid.d.ts +3 -0
- package/dist/components/Icon/components/ExpandView.d.ts +3 -0
- package/dist/components/Icon/components/Expenses.d.ts +3 -0
- package/dist/components/Icon/components/Export.d.ts +3 -0
- package/dist/components/Icon/components/ExportToExcel.d.ts +3 -0
- package/dist/components/Icon/components/ExportToPdf.d.ts +3 -0
- package/dist/components/Icon/components/EyeOff.d.ts +3 -0
- package/dist/components/Icon/components/EyeOn.d.ts +3 -0
- package/dist/components/Icon/components/Filter.d.ts +3 -0
- package/dist/components/Icon/components/FilterSolid.d.ts +3 -0
- package/dist/components/Icon/components/FontSize.d.ts +3 -0
- package/dist/components/Icon/components/GraphSolid.d.ts +3 -0
- package/dist/components/Icon/components/Hash.d.ts +3 -0
- package/dist/components/Icon/components/HeightExtraTall.d.ts +3 -0
- package/dist/components/Icon/components/HeightMedium.d.ts +3 -0
- package/dist/components/Icon/components/HeightShort.d.ts +3 -0
- package/dist/components/Icon/components/HeightTall.d.ts +3 -0
- package/dist/components/Icon/components/House.d.ts +3 -0
- package/dist/components/Icon/components/HouseSolid.d.ts +3 -0
- package/dist/components/Icon/components/Id.d.ts +3 -0
- package/dist/components/Icon/components/Images.d.ts +3 -0
- package/dist/components/Icon/components/Import.d.ts +3 -0
- package/dist/components/Icon/components/Inbox.d.ts +3 -0
- package/dist/components/Icon/components/InboxEinvoicing.d.ts +3 -0
- package/dist/components/Icon/components/InboxScanning.d.ts +3 -0
- package/dist/components/Icon/components/InboxSmart.d.ts +3 -0
- package/dist/components/Icon/components/Info.d.ts +3 -0
- package/dist/components/Icon/components/Inventory.d.ts +3 -0
- package/dist/components/Icon/components/InventoryMatrix.d.ts +3 -0
- package/dist/components/Icon/components/JournalPro.d.ts +3 -0
- package/dist/components/Icon/components/Layout.d.ts +3 -0
- package/dist/components/Icon/components/LayoutBoth.d.ts +3 -0
- package/dist/components/Icon/components/LayoutFirst.d.ts +3 -0
- package/dist/components/Icon/components/LayoutLast.d.ts +3 -0
- package/dist/components/Icon/components/LayoutNone.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCard.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +3 -0
- package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +3 -0
- package/dist/components/Icon/components/Lightbulb.d.ts +3 -0
- package/dist/components/Icon/components/Line.d.ts +3 -0
- package/dist/components/Icon/components/LinkExternal.d.ts +3 -0
- package/dist/components/Icon/components/List.d.ts +3 -0
- package/dist/components/Icon/components/ListBulleted.d.ts +3 -0
- package/dist/components/Icon/components/ListSearch.d.ts +3 -0
- package/dist/components/Icon/components/Location.d.ts +3 -0
- package/dist/components/Icon/components/Lock.d.ts +3 -0
- package/dist/components/Icon/components/LockOpen.d.ts +3 -0
- package/dist/components/Icon/components/Log.d.ts +3 -0
- package/dist/components/Icon/components/LogOut.d.ts +3 -0
- package/dist/components/Icon/components/Market.d.ts +3 -0
- package/dist/components/Icon/components/MastercardOs.d.ts +3 -0
- package/dist/components/Icon/components/MatchAmount.d.ts +3 -0
- package/dist/components/Icon/components/MatchEntries.d.ts +3 -0
- package/dist/components/Icon/components/Menu.d.ts +3 -0
- package/dist/components/Icon/components/Mileage.d.ts +3 -0
- package/dist/components/Icon/components/ModalResize.d.ts +3 -0
- package/dist/components/Icon/components/ModalShrink.d.ts +3 -0
- package/dist/components/Icon/components/More.d.ts +3 -0
- package/dist/components/Icon/components/MoreSolid.d.ts +3 -0
- package/dist/components/Icon/components/Move.d.ts +3 -0
- package/dist/components/Icon/components/NavigationList.d.ts +3 -0
- package/dist/components/Icon/components/Note.d.ts +3 -0
- package/dist/components/Icon/components/NoteFollowUp.d.ts +3 -0
- package/dist/components/Icon/components/NoteRead.d.ts +3 -0
- package/dist/components/Icon/components/NovemberFirst.d.ts +3 -0
- package/dist/components/Icon/components/Numbers.d.ts +3 -0
- package/dist/components/Icon/components/PartnerApi.d.ts +3 -0
- package/dist/components/Icon/components/PaymentPaid.d.ts +3 -0
- package/dist/components/Icon/components/PaymentUnpaid.d.ts +3 -0
- package/dist/components/Icon/components/Period.d.ts +3 -0
- package/dist/components/Icon/components/PersonChange.d.ts +3 -0
- package/dist/components/Icon/components/PersonMinus.d.ts +3 -0
- package/dist/components/Icon/components/PersonPlus.d.ts +3 -0
- package/dist/components/Icon/components/PersonTick.d.ts +3 -0
- package/dist/components/Icon/components/Phone.d.ts +3 -0
- package/dist/components/Icon/components/PhoneSolid.d.ts +3 -0
- package/dist/components/Icon/components/Play.d.ts +3 -0
- package/dist/components/Icon/components/PlusMinus.d.ts +3 -0
- package/dist/components/Icon/components/Print.d.ts +3 -0
- package/dist/components/Icon/components/ProcessPayment.d.ts +3 -0
- package/dist/components/Icon/components/ProductLedgerCard.d.ts +3 -0
- package/dist/components/Icon/components/Profile.d.ts +3 -0
- package/dist/components/Icon/components/ProjectCards.d.ts +3 -0
- package/dist/components/Icon/components/Projects.d.ts +3 -0
- package/dist/components/Icon/components/QuestionMark.d.ts +3 -0
- package/dist/components/Icon/components/QuestionMarkBold.d.ts +3 -0
- package/dist/components/Icon/components/Quicklinks.d.ts +3 -0
- package/dist/components/Icon/components/RatingBankruptcy.d.ts +3 -0
- package/dist/components/Icon/components/RatingPaymentProblems.d.ts +3 -0
- package/dist/components/Icon/components/Reconciled.d.ts +3 -0
- package/dist/components/Icon/components/Refresh.d.ts +3 -0
- package/dist/components/Icon/components/Report.d.ts +3 -0
- package/dist/components/Icon/components/ReportSolid.d.ts +3 -0
- package/dist/components/Icon/components/Restore.d.ts +3 -0
- package/dist/components/Icon/components/RotateLeft.d.ts +3 -0
- package/dist/components/Icon/components/RotateRight.d.ts +3 -0
- package/dist/components/Icon/components/Sales.d.ts +3 -0
- package/dist/components/Icon/components/Search.d.ts +3 -0
- package/dist/components/Icon/components/SearchBold.d.ts +3 -0
- package/dist/components/Icon/components/Secure.d.ts +3 -0
- package/dist/components/Icon/components/SecureTick.d.ts +3 -0
- package/dist/components/Icon/components/Settings.d.ts +3 -0
- package/dist/components/Icon/components/SettingsSolid.d.ts +3 -0
- package/dist/components/Icon/components/Shortcuts.d.ts +3 -0
- package/dist/components/Icon/components/ShowAll.d.ts +3 -0
- package/dist/components/Icon/components/ShowLess.d.ts +3 -0
- package/dist/components/Icon/components/ShowMore.d.ts +3 -0
- package/dist/components/Icon/components/ShowTemplate.d.ts +3 -0
- package/dist/components/Icon/components/Sliders.d.ts +3 -0
- package/dist/components/Icon/components/Smartpay.d.ts +3 -0
- package/dist/components/Icon/components/SortBy.d.ts +3 -0
- package/dist/components/Icon/components/Star.d.ts +3 -0
- package/dist/components/Icon/components/StarSolid.d.ts +3 -0
- package/dist/components/Icon/components/Subscriptions.d.ts +3 -0
- package/dist/components/Icon/components/SystemEntries.d.ts +3 -0
- package/dist/components/Icon/components/Tag.d.ts +3 -0
- package/dist/components/Icon/components/TemplateOverride.d.ts +3 -0
- package/dist/components/Icon/components/Templates.d.ts +3 -0
- package/dist/components/Icon/components/ThumbBoth.d.ts +3 -0
- package/dist/components/Icon/components/ThumbDown.d.ts +3 -0
- package/dist/components/Icon/components/ThumbDownSolid.d.ts +3 -0
- package/dist/components/Icon/components/ThumbUp.d.ts +3 -0
- package/dist/components/Icon/components/ThumbUpSolid.d.ts +3 -0
- package/dist/components/Icon/components/Tick.d.ts +3 -0
- package/dist/components/Icon/components/TickBold.d.ts +3 -0
- package/dist/components/Icon/components/Time.d.ts +3 -0
- package/dist/components/Icon/components/Transfer.d.ts +3 -0
- package/dist/components/Icon/components/TransferCancel.d.ts +3 -0
- package/dist/components/Icon/components/TransferLocked.d.ts +3 -0
- package/dist/components/Icon/components/Undo.d.ts +3 -0
- package/dist/components/Icon/components/Undock.d.ts +3 -0
- package/dist/components/Icon/components/Unreconciled.d.ts +3 -0
- package/dist/components/Icon/components/Warning.d.ts +3 -0
- package/dist/components/Icon/components/Webshop.d.ts +3 -0
- package/dist/components/Icon/components/Website.d.ts +3 -0
- package/dist/components/Icon/components/Workflow.d.ts +3 -0
- package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +3 -0
- package/dist/components/Icon/components/Zoom.d.ts +3 -0
- package/dist/components/Icon/components/index.d.ts +3 -0
- package/dist/components/IconButton/IconButton.d.ts +92 -0
- package/dist/components/Input/Input.d.ts +27 -0
- package/dist/components/Input/util.d.ts +2 -0
- package/dist/components/Layout/Layout.d.ts +16 -0
- package/dist/components/Layout/components/Content.d.ts +3 -0
- package/dist/components/Layout/components/Context.d.ts +6 -0
- package/dist/components/Layout/components/Page.d.ts +3 -0
- package/dist/components/Layout/components/Sidebar.d.ts +3 -0
- package/dist/components/Layout/components/Top.d.ts +7 -0
- package/dist/components/List/List.d.ts +28 -0
- package/dist/components/List/components/Button.d.ts +8 -0
- package/dist/components/List/components/Collapsible.d.ts +11 -0
- package/dist/components/List/components/Group.d.ts +7 -0
- package/dist/components/List/components/Item.d.ts +14 -0
- package/dist/components/List/components/Link.d.ts +8 -0
- package/dist/components/List/components/Toggle.d.ts +8 -0
- package/dist/components/Listbox/Listbox.d.ts +96 -0
- package/dist/components/Listbox/ScrollableList.d.ts +120 -0
- package/dist/components/Listbox/useListbox.d.ts +9 -0
- package/dist/components/Listbox/useMultiListbox.d.ts +9 -0
- package/dist/components/Listbox/useTypeahead.d.ts +10 -0
- package/dist/components/Listbox/util.d.ts +25 -0
- package/dist/components/Menu/Context.d.ts +17 -0
- package/dist/components/Menu/Menu.d.ts +33 -0
- package/dist/components/Menu/components/Checkbox.d.ts +11 -0
- package/dist/components/Menu/components/Content.d.ts +15 -0
- package/dist/components/Menu/components/Header.d.ts +3 -0
- package/dist/components/Menu/components/Item.d.ts +31 -0
- package/dist/components/Menu/components/Link.d.ts +14 -0
- package/dist/components/Menu/components/RadioGroup.d.ts +9 -0
- package/dist/components/Menu/components/Separator.d.ts +3 -0
- package/dist/components/Menu/components/SubMenu.d.ts +8 -0
- package/dist/components/Menu/components/Trigger.d.ts +7 -0
- package/dist/components/ModeSwitch/ModeSwitch.d.ts +17 -0
- package/dist/components/Navigation/Navigation.d.ts +50 -0
- package/dist/components/Navigation2/Navigation2.d.ts +17 -0
- package/dist/components/Navigation2/components/Content.d.ts +3 -0
- package/dist/components/Navigation2/components/Group.d.ts +11 -0
- package/dist/components/Navigation2/components/Link.d.ts +24 -0
- package/dist/components/Navigation2/components/Section.d.ts +7 -0
- package/dist/components/Navigation2/components/util.d.ts +1 -0
- package/dist/components/OverflowGroup/OverflowGroup.d.ts +5 -0
- package/dist/components/Pagination/PageNumbers.d.ts +8 -0
- package/dist/components/Pagination/Pagination.d.ts +100 -0
- package/dist/components/Pagination/usePagination.d.ts +11 -0
- package/dist/components/Pagination/usePaginationShortcuts.d.ts +8 -0
- package/dist/components/Popover/Popover.d.ts +34 -0
- package/dist/components/Popover/Primitives.d.ts +2 -0
- package/dist/components/Popover/util.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +10 -0
- package/dist/components/Provider/Localization.d.ts +391 -0
- package/dist/components/Provider/Provider.d.ts +14 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +52 -0
- package/dist/components/RadioGroup/util.d.ts +1 -0
- package/dist/components/Report/Report.d.ts +9 -0
- package/dist/components/Report/types.d.ts +5 -0
- package/dist/components/Report/useReport.d.ts +5 -0
- package/dist/components/ScrollArea/ScrollArea.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.d.ts +17 -0
- package/dist/components/SearchInput2/SearchInput2.d.ts +25 -0
- package/dist/components/Select/Select.d.ts +40 -0
- package/dist/components/Select/useSelect.d.ts +21 -0
- package/dist/components/Select2/Select2.d.ts +75 -0
- package/dist/components/Select2/components/All.d.ts +7 -0
- package/dist/components/Select2/components/Collection.d.ts +7 -0
- package/dist/components/Select2/components/Context.d.ts +33 -0
- package/dist/components/Select2/components/Create.d.ts +10 -0
- package/dist/components/Select2/components/Edit.d.ts +10 -0
- package/dist/components/Select2/components/Group.d.ts +13 -0
- package/dist/components/Select2/components/Option.d.ts +23 -0
- package/dist/components/Select2/components/Search.d.ts +16 -0
- package/dist/components/Select2/components/Title.d.ts +4 -0
- package/dist/components/Select2/components/Trigger.d.ts +7 -0
- package/dist/components/Select2/hooks/useChildren.d.ts +19 -0
- package/dist/components/Select2/types.d.ts +12 -0
- package/dist/components/Select2/utilities.d.ts +3 -0
- package/dist/components/Shortcut/Shortcut.d.ts +6 -0
- package/dist/components/Spinner/Spinner.d.ts +20 -0
- package/dist/components/Switch/Switch.d.ts +19 -0
- package/dist/components/Table/Table.d.ts +14 -0
- package/dist/components/Table/components/BaseTable.d.ts +8 -0
- package/dist/components/Table/components/PaginatedTable.d.ts +2 -0
- package/dist/components/Table/components/Table.d.ts +2 -0
- package/dist/components/Table/components/WindowedTable.d.ts +2 -0
- package/dist/components/Table/hooks/plugins/useRowActions.d.ts +4 -0
- package/dist/components/Table/hooks/plugins/useRowDraggable.d.ts +3 -0
- package/dist/components/Table/hooks/plugins/useRowEditing.d.ts +2 -0
- package/dist/components/Table/hooks/plugins/useRowSelect.d.ts +3 -0
- package/dist/components/Table/hooks/useRowCreation.d.ts +11 -0
- package/dist/components/Table/hooks/useTable.d.ts +38 -0
- package/dist/components/Table/hooks/useTableKeyboardNavigation.d.ts +3 -0
- package/dist/components/Table/types.d.ts +284 -0
- package/dist/components/Table/util/renderColumn.d.ts +1 -0
- package/dist/components/Table/util/renderRow.d.ts +2 -0
- package/dist/components/Table/util/rowIndexPath.d.ts +5 -0
- package/dist/components/Table/util/sortTypes.d.ts +4 -0
- package/dist/components/Table/util.d.ts +12 -0
- package/dist/components/Table3/Table3.d.ts +28 -0
- package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +9 -0
- package/dist/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.d.ts +10 -0
- package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/EditingDisplayCell.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Cell/util.d.ts +3 -0
- package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +11 -0
- package/dist/components/Table3/components/Editing/Alert.d.ts +12 -0
- package/dist/components/Table3/components/Row/Editing/CreateRowButton.d.ts +11 -0
- package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +8 -0
- package/dist/components/Table3/components/Row/Row.d.ts +3 -0
- package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +8 -0
- package/dist/components/Table3/features/useTableEditing.d.ts +46 -0
- package/dist/components/Table3/listeners/useTableEditingListener.d.ts +4 -0
- package/dist/components/Table3/types.d.ts +73 -0
- package/dist/components/Table3/useTable3.d.ts +10 -0
- package/dist/components/Table3/util/editing.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts +56 -0
- package/dist/components/Tag/Tag.d.ts +19 -0
- package/dist/components/Textarea/Textarea.d.ts +15 -0
- package/dist/components/Toast/Toast.d.ts +36 -0
- package/dist/components/Toast/Toaster.d.ts +35 -0
- package/dist/components/Toast/util.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.d.ts +27 -0
- package/dist/components/Tour/Tour.d.ts +72 -0
- package/dist/components/Treeview/Treeview.d.ts +25 -0
- package/dist/components/Truncate/Truncate.d.ts +6 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +4 -0
- package/dist/esm/index.css +1317 -0
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js +192 -0
- package/dist/esm/node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js +86 -0
- package/dist/esm/packages/taco/src/components/Accordion/Accordion.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Alert/Alert.js +50 -0
- package/dist/esm/packages/taco/src/components/Alert/Alert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js +37 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js +13 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js +26 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js +26 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js +19 -0
- package/dist/esm/packages/taco/src/components/AlertDialog/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js +14 -0
- package/dist/esm/packages/taco/src/components/Backdrop/Backdrop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Badge/Badge.js +52 -0
- package/dist/esm/packages/taco/src/components/Badge/Badge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js +39 -0
- package/dist/esm/packages/taco/src/components/BadgeIcon/BadgeIcon.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Banner/Banner.js +31 -0
- package/dist/esm/packages/taco/src/components/Banner/Banner.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Banner/util.js +36 -0
- package/dist/esm/packages/taco/src/components/Banner/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js +53 -0
- package/dist/esm/packages/taco/src/components/Button/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Button/util.js +82 -0
- package/dist/esm/packages/taco/src/components/Button/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js +155 -0
- package/dist/esm/packages/taco/src/components/Calendar/Calendar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js +47 -0
- package/dist/esm/packages/taco/src/components/Card/Card.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js +83 -0
- package/dist/esm/packages/taco/src/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js +90 -0
- package/dist/esm/packages/taco/src/components/Combobox/Combobox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js +269 -0
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js +86 -0
- package/dist/esm/packages/taco/src/components/Datepicker/Datepicker.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js +87 -0
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/Context.js +26 -0
- package/dist/esm/packages/taco/src/components/Dialog/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js +77 -0
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js +116 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js +41 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js +15 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Extra.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js +19 -0
- package/dist/esm/packages/taco/src/components/Dialog/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Dialog/util.js +19 -0
- package/dist/esm/packages/taco/src/components/Dialog/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/Context.js +20 -0
- package/dist/esm/packages/taco/src/components/Drawer/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js +109 -0
- package/dist/esm/packages/taco/src/components/Drawer/Drawer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js +325 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js +12 -0
- package/dist/esm/packages/taco/src/components/Drawer/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Drawer/util.js +37 -0
- package/dist/esm/packages/taco/src/components/Drawer/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Field/Field.js +39 -0
- package/dist/esm/packages/taco/src/components/Field/Field.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Form/Form.js +20 -0
- package/dist/esm/packages/taco/src/components/Form/Form.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Group/Group.js +21 -0
- package/dist/esm/packages/taco/src/components/Group/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js +101 -0
- package/dist/esm/packages/taco/src/components/Hanger/Hanger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/Header.js +31 -0
- package/dist/esm/packages/taco/src/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js +28 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Avatar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js +23 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Badge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js +36 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Display.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js +39 -0
- package/dist/esm/packages/taco/src/components/Header/components/Agreement/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +144 -0
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Button.js +22 -0
- package/dist/esm/packages/taco/src/components/Header/components/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Link.js +45 -0
- package/dist/esm/packages/taco/src/components/Header/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js +90 -0
- package/dist/esm/packages/taco/src/components/Header/components/Logo.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js +17 -0
- package/dist/esm/packages/taco/src/components/Header/components/MenuButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js +28 -0
- package/dist/esm/packages/taco/src/components/Header/components/PrimaryNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js +13 -0
- package/dist/esm/packages/taco/src/components/Header/components/SecondaryNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js +37 -0
- package/dist/esm/packages/taco/src/components/HoverCard/HoverCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js +27 -0
- package/dist/esm/packages/taco/src/components/HoverCard/Primitives.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/Icon.js +28 -0
- package/dist/esm/packages/taco/src/components/Icon/Icon.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountPreview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Accounting.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYear.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AccountingYearCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiChatSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js +30 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AiStars.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowBottom.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowEnd.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowStart.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowTop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ArrowUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Attach.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachAuto.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AttachWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Autotext.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/AutotextInsert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Basic.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BasicTabs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/BellSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Book.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Booking.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Budget.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Calendar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashAccount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CashReports.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartArea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartBar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartLine.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartPie.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChartTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Chat.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChatSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronDownSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronLeftSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronRightSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpDouble.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ChevronUpSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js +18 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleClose.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleInformation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CirclePlus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleQuestionmark.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/CircleWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Clamp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ClampOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Close.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnFreeze.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ColumnUnfreeze.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Columns.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionEnable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ConnectionRevoke.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Contacts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Copy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Courses.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Credit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Delete.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DeletePermanently.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Depecriate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Developer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DistributionTemplate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Document.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentApprove.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCreateEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentCut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentError.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentIsolatePage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMerge.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentMove.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentPreview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentReceived.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentRejectedRequest.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSigned.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSignedSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentSplit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/DocumentTime.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Download.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ECopedia.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Edit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EditSimple.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisHorizontal.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EllipsisVertical.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOnAccount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntriesWarning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeCustomerPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeJournalEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeManualCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EntryTypeSupplierPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Envelope.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeApproved.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EnvelopeSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExpandView.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Expenses.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Export.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToExcel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ExportToPdf.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOff.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/EyeOn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FilterSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/FontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/GraphSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Hash.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightExtraTall.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightMedium.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightShort.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HeightTall.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/House.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/House.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/HouseSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Id.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Images.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Import.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxEinvoicing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxScanning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InboxSmart.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js +22 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Info.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Inventory.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/InventoryMatrix.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/JournalPro.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Layout.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutBoth.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutFirst.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutLast.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LayoutNone.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardCustomerReminder.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardManualCustomerInvoice.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardObsoleteStock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardOpeningEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardReservedEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardShrinkagePilferage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardStockAdjustment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LedgerCardTransferredOpeningEntry.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lightbulb.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Line.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js +22 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LinkExternal.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/List.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/List.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListBulleted.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ListSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Location.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Lock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LockOpen.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Log.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/LogOut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Market.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js +23 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MastercardOs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchAmount.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MatchEntries.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Mileage.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalResize.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ModalShrink.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/More.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/More.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/MoreSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Move.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NavigationList.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Note.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteFollowUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NoteRead.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js +20 -0
- package/dist/esm/packages/taco/src/components/Icon/components/NovemberFirst.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Numbers.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PartnerApi.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentPaid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PaymentUnpaid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Period.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonChange.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonPlus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PersonTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Phone.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PhoneSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Play.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/PlusMinus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProcessPayment.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProductLedgerCard.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Profile.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ProjectCards.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Projects.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMark.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/QuestionMarkBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Quicklinks.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingBankruptcy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RatingPaymentProblems.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Reconciled.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Refresh.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Report.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ReportSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Restore.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateLeft.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/RotateRight.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sales.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SearchBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Secure.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SecureTick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SettingsSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Shortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowAll.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowLess.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowMore.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ShowTemplate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Sliders.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Smartpay.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SortBy.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Star.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/StarSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Subscriptions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/SystemEntries.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TemplateOverride.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Templates.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbBoth.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDown.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbDownSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUp.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/ThumbUpSolid.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Tick.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js +19 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TickBold.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Time.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Transfer.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js +23 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferCancel.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/TransferLocked.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js +25 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undo.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Undock.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Unreconciled.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Warning.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Webshop.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Website.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js +16 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Workflow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js +18 -0
- package/dist/esm/packages/taco/src/components/Icon/components/WorkflowTemplateBasic.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js +17 -0
- package/dist/esm/packages/taco/src/components/Icon/components/Zoom.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Icon/components/index.js +504 -0
- package/dist/esm/packages/taco/src/components/Icon/components/index.js.map +1 -0
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js +48 -0
- package/dist/esm/packages/taco/src/components/IconButton/IconButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js +160 -0
- package/dist/esm/packages/taco/src/components/Input/Input.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Input/util.js +34 -0
- package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/Layout.js +28 -0
- package/dist/esm/packages/taco/src/components/Layout/Layout.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js +13 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js +9 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js +13 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Page.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js +87 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js +15 -0
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/List.js +21 -0
- package/dist/esm/packages/taco/src/components/List/List.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Button.js +12 -0
- package/dist/esm/packages/taco/src/components/List/components/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js +30 -0
- package/dist/esm/packages/taco/src/components/List/components/Collapsible.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Group.js +11 -0
- package/dist/esm/packages/taco/src/components/List/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Item.js +40 -0
- package/dist/esm/packages/taco/src/components/List/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Link.js +27 -0
- package/dist/esm/packages/taco/src/components/List/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js +105 -0
- package/dist/esm/packages/taco/src/components/List/components/Toggle.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js +55 -0
- package/dist/esm/packages/taco/src/components/Listbox/Listbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js +168 -0
- package/dist/esm/packages/taco/src/components/Listbox/ScrollableList.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js +130 -0
- package/dist/esm/packages/taco/src/components/Listbox/useListbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js +177 -0
- package/dist/esm/packages/taco/src/components/Listbox/useMultiListbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js +26 -0
- package/dist/esm/packages/taco/src/components/Listbox/useTypeahead.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Listbox/util.js +130 -0
- package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/Context.js +9 -0
- package/dist/esm/packages/taco/src/components/Menu/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/Menu.js +62 -0
- package/dist/esm/packages/taco/src/components/Menu/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js +32 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Checkbox.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js +61 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js +19 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js +107 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js +37 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js +49 -0
- package/dist/esm/packages/taco/src/components/Menu/components/RadioGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js +13 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Separator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js +22 -0
- package/dist/esm/packages/taco/src/components/Menu/components/SubMenu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js +33 -0
- package/dist/esm/packages/taco/src/components/Menu/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js +30 -0
- package/dist/esm/packages/taco/src/components/ModeSwitch/ModeSwitch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js +120 -0
- package/dist/esm/packages/taco/src/components/Navigation/Navigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js +31 -0
- package/dist/esm/packages/taco/src/components/Navigation2/Navigation2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js +20 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Content.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js +46 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js +72 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Link.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js +25 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/Section.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js +12 -0
- package/dist/esm/packages/taco/src/components/Navigation2/components/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js +82 -0
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js +44 -0
- package/dist/esm/packages/taco/src/components/Pagination/PageNumbers.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js +102 -0
- package/dist/esm/packages/taco/src/components/Pagination/Pagination.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js +15 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePagination.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js +44 -0
- package/dist/esm/packages/taco/src/components/Pagination/usePaginationShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/Popover.js +106 -0
- package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js +27 -0
- package/dist/esm/packages/taco/src/components/Popover/Primitives.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Popover/util.js +4 -0
- package/dist/esm/packages/taco/src/components/Popover/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Progress/Progress.js +30 -0
- package/dist/esm/packages/taco/src/components/Progress/Progress.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js +333 -0
- package/dist/esm/packages/taco/src/components/Provider/Localization.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js +24 -0
- package/dist/esm/packages/taco/src/components/Provider/Provider.js.map +1 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js +103 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js +14 -0
- package/dist/esm/packages/taco/src/components/RadioGroup/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/Report.js +35 -0
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Report/useReport.js +14 -0
- package/dist/esm/packages/taco/src/components/Report/useReport.js.map +1 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +38 -0
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js +68 -0
- package/dist/esm/packages/taco/src/components/SearchInput/SearchInput.js.map +1 -0
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js +194 -0
- package/dist/esm/packages/taco/src/components/SearchInput2/SearchInput2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js +98 -0
- package/dist/esm/packages/taco/src/components/Select/Select.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js +211 -0
- package/dist/esm/packages/taco/src/components/Select/useSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/Select2.js +339 -0
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js +15 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Collection.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js +7 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js +113 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +197 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js +28 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js +108 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js +64 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js +17 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Title.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js +274 -0
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js +66 -0
- package/dist/esm/packages/taco/src/components/Select2/hooks/useChildren.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Select2/utilities.js +21 -0
- package/dist/esm/packages/taco/src/components/Select2/utilities.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js +58 -0
- package/dist/esm/packages/taco/src/components/Shortcut/Shortcut.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js +44 -0
- package/dist/esm/packages/taco/src/components/Spinner/Spinner.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Switch/Switch.js +50 -0
- package/dist/esm/packages/taco/src/components/Switch/Switch.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js +48 -0
- package/dist/esm/packages/taco/src/components/Table/components/BaseTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js +14 -0
- package/dist/esm/packages/taco/src/components/Table/components/PaginatedTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/Table.js +52 -0
- package/dist/esm/packages/taco/src/components/Table/components/Table.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js +178 -0
- package/dist/esm/packages/taco/src/components/Table/components/WindowedTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js +207 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js +113 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowDraggable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js +92 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js +95 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js +95 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useRowCreation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js +211 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js +118 -0
- package/dist/esm/packages/taco/src/components/Table/hooks/useTableKeyboardNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js +40 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js +100 -0
- package/dist/esm/packages/taco/src/components/Table/util/renderRow.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js +47 -0
- package/dist/esm/packages/taco/src/components/Table/util/rowIndexPath.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js +87 -0
- package/dist/esm/packages/taco/src/components/Table/util/sortTypes.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table/util.js +87 -0
- package/dist/esm/packages/taco/src/components/Table/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +60 -0
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js +39 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js +85 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js +72 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/TextareaWithAutosizing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +218 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js +14 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingDisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js +54 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js +70 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Internal/EditingActionsMenu.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js +139 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Editing/Alert.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js +90 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/CreateRowButton.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js +54 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Editing/SaveStatus.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +42 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js +49 -0
- package/dist/esm/packages/taco/src/components/Table3/components/Toolbar/Editing/Editing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js +434 -0
- package/dist/esm/packages/taco/src/components/Table3/features/useTableEditing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js +64 -0
- package/dist/esm/packages/taco/src/components/Table3/listeners/useTableEditingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js +43 -0
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js +106 -0
- package/dist/esm/packages/taco/src/components/Table3/util/editing.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js +90 -0
- package/dist/esm/packages/taco/src/components/Tabs/Tabs.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js +43 -0
- package/dist/esm/packages/taco/src/components/Tag/Tag.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js +42 -0
- package/dist/esm/packages/taco/src/components/Textarea/Textarea.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/Toast.js +79 -0
- package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js +152 -0
- package/dist/esm/packages/taco/src/components/Toast/Toaster.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js +43 -0
- package/dist/esm/packages/taco/src/components/Toast/util.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js +39 -0
- package/dist/esm/packages/taco/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Tour/Tour.js +136 -0
- package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js +70 -0
- package/dist/esm/packages/taco/src/components/Treeview/Treeview.js.map +1 -0
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js +34 -0
- package/dist/esm/packages/taco/src/components/Truncate/Truncate.js.map +1 -0
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js +11 -0
- package/dist/esm/packages/taco/src/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js +18 -0
- package/dist/esm/packages/taco/src/hooks/useBoundaryOverflowDetection.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js +43 -0
- package/dist/esm/packages/taco/src/hooks/useBoundingClientRectListener.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js +20 -0
- package/dist/esm/packages/taco/src/hooks/useGlobalKeyDown.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useId.js +10 -0
- package/dist/esm/packages/taco/src/hooks/useId.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js +48 -0
- package/dist/esm/packages/taco/src/hooks/useIntersectionObserver.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js +28 -0
- package/dist/esm/packages/taco/src/hooks/useIsFormControl.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js +19 -0
- package/dist/esm/packages/taco/src/hooks/useIsHoverStatePaused.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js +6 -0
- package/dist/esm/packages/taco/src/hooks/useIsLargeScreen.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js +16 -0
- package/dist/esm/packages/taco/src/hooks/useLazyEffect.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js +44 -0
- package/dist/esm/packages/taco/src/hooks/useLocalStorage.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js +18 -0
- package/dist/esm/packages/taco/src/hooks/useMatchMedia.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js +19 -0
- package/dist/esm/packages/taco/src/hooks/useMergedRef.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/usePrevious.js +17 -0
- package/dist/esm/packages/taco/src/hooks/usePrevious.js.map +1 -0
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js +9 -0
- package/dist/esm/packages/taco/src/hooks/useTacoSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/index.js +83 -0
- package/dist/esm/packages/taco/src/index.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js +53 -0
- package/dist/esm/packages/taco/src/primitives/BubbleSelect.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Button.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Button.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js +3 -0
- package/dist/esm/packages/taco/src/primitives/Collection/Collection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js +157 -0
- package/dist/esm/packages/taco/src/primitives/Collection/components/Root.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js +7 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Context.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Group.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js +62 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Option.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js +65 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Root.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js +25 -0
- package/dist/esm/packages/taco/src/primitives/Listbox2/components/Title.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js +61 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Container.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js +51 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js +28 -0
- package/dist/esm/packages/taco/src/primitives/Sortable/components/List.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js +77 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/Table.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +100 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js +21 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/EmptyStateBody.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +29 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js +45 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js +67 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/Cell.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js +70 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Cell/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js +101 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Actions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js +73 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Drag.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Expansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js +167 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Columns/Internal/Selection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js +55 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Footer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js +39 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Footer/Summary.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js +222 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/Header.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js +28 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Goto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +164 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js +66 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js +41 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +118 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js +64 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/Row.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/RowContext.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js +54 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js +62 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js +130 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js +111 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js +50 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js +66 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js +129 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js +53 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/util.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js +134 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js +88 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js +114 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Search/Search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js +119 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js +103 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js +30 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableGlobalShortcuts.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js +17 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRef.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +164 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js +86 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyle.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js +61 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleGrid.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js +24 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js +54 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/useTable.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/util/rows.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js +27 -0
- package/dist/esm/packages/taco/src/primitives/Table/types.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js +165 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js +21 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnFreezing.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js +8 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableColumnOrdering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js +13 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFontSize.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js +8 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableFooter.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js +36 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTablePrinting.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js +11 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActions.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js +80 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowActive.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowClick.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js +14 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrag.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowDrop.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowExpansion.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGoto.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js +9 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowGroups.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js +13 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowHeight.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js +33 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableRowSelection.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js +38 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js +71 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableServerLoading.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js +69 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSettings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js +15 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableDataListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFilterListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js +47 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableFontSizeListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js +14 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowHeightListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js +23 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSearchListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js +15 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js +26 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSettingsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js +49 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js +19 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableSortingListener.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js +126 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/useTableManager.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js +120 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/columns.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js +131 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/filtering.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js +147 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/presets.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js +57 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/search.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js +34 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/settings.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js +282 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js +18 -0
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/sorting.js.map +1 -0
- package/dist/esm/packages/taco/src/types.js +12 -0
- package/dist/esm/packages/taco/src/types.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/aria.js +15 -0
- package/dist/esm/packages/taco/src/utils/aria.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/date.js +63 -0
- package/dist/esm/packages/taco/src/utils/date.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/debounce.js +10 -0
- package/dist/esm/packages/taco/src/utils/debounce.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/device.js +5 -0
- package/dist/esm/packages/taco/src/utils/device.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/dom.js +88 -0
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js +54 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDraggable.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js +36 -0
- package/dist/esm/packages/taco/src/utils/hooks/useDropTarget.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js +34 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListKeyboardNavigation.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js +33 -0
- package/dist/esm/packages/taco/src/utils/hooks/useListScrollTo.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js +22 -0
- package/dist/esm/packages/taco/src/utils/hooks/useOnClickOutside.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js +49 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTimer.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js +20 -0
- package/dist/esm/packages/taco/src/utils/hooks/useTruncated.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/input.js +42 -0
- package/dist/esm/packages/taco/src/utils/input.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/keyboard.js +44 -0
- package/dist/esm/packages/taco/src/utils/keyboard.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/mergeRefs.js +14 -0
- package/dist/esm/packages/taco/src/utils/mergeRefs.js.map +1 -0
- package/dist/esm/packages/taco/src/utils/tailwind.js +92 -0
- package/dist/esm/packages/taco/src/utils/tailwind.js.map +1 -0
- package/dist/hooks/useBoundaryOverflowDetection.d.ts +2 -0
- package/dist/hooks/useBoundingClientRectListener.d.ts +2 -0
- package/dist/hooks/useDebouncedEffect.d.ts +2 -0
- package/dist/hooks/useGlobalKeyDown.d.ts +2 -0
- package/dist/hooks/useId.d.ts +1 -0
- package/dist/hooks/useIntersectionObserver.d.ts +2 -0
- package/dist/hooks/useIsFormControl.d.ts +2 -0
- package/dist/hooks/useIsHoverStatePaused.d.ts +2 -0
- package/dist/hooks/useIsLargeScreen.d.ts +1 -0
- package/dist/hooks/useLazyEffect.d.ts +2 -0
- package/dist/hooks/useLocalStorage.d.ts +2 -0
- package/dist/hooks/useMatchMedia.d.ts +1 -0
- package/dist/hooks/useMergedRef.d.ts +2 -0
- package/dist/hooks/usePrevious.d.ts +2 -0
- package/dist/hooks/useTacoSettings.d.ts +1 -0
- package/dist/index.css +1085 -811
- package/dist/index.d.ts +75 -3257
- package/dist/index.js +8 -0
- package/dist/primitives/BubbleSelect.d.ts +2 -0
- package/dist/primitives/Button.d.ts +22 -0
- package/dist/primitives/Collection/Collection.d.ts +2 -0
- package/dist/primitives/Collection/components/Root.d.ts +12 -0
- package/dist/primitives/Listbox2/Listbox2.d.ts +5 -0
- package/dist/primitives/Listbox2/components/Context.d.ts +10 -0
- package/dist/primitives/Listbox2/components/Group.d.ts +8 -0
- package/dist/primitives/Listbox2/components/Option.d.ts +10 -0
- package/dist/primitives/Listbox2/components/Root.d.ts +20 -0
- package/dist/primitives/Listbox2/components/Title.d.ts +3 -0
- package/dist/primitives/Listbox2/types.d.ts +2 -0
- package/dist/primitives/Sortable/Sortable.d.ts +6 -0
- package/dist/primitives/Sortable/components/Container.d.ts +11 -0
- package/dist/primitives/Sortable/components/Item.d.ts +10 -0
- package/dist/primitives/Sortable/components/List.d.ts +8 -0
- package/dist/primitives/Table/Core/Table.d.ts +19 -0
- package/dist/primitives/Table/Core/components/Body/Body.d.ts +11 -0
- package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +8 -0
- package/dist/primitives/Table/Core/components/Body/util.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +3 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +3 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Columns/Cell/util.d.ts +18 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +13 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Drag.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Expansion.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Columns/Internal/Selection.d.ts +2 -0
- package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +15 -0
- package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Header/Header.d.ts +46 -0
- package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +22 -0
- package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +13 -0
- package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +15 -0
- package/dist/primitives/Table/Core/components/Header/util.d.ts +4 -0
- package/dist/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.d.ts +4 -0
- package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +8 -0
- package/dist/primitives/Table/Core/components/Row/Row.d.ts +6 -0
- package/dist/primitives/Table/Core/components/Row/RowContext.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +12 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +12 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/util.d.ts +5 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +9 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +17 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +10 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +7 -0
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +8 -0
- package/dist/primitives/Table/Core/features/useTableGlobalShortcuts.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableRef.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableRenderer.d.ts +10 -0
- package/dist/primitives/Table/Core/features/useTableStyle.d.ts +797 -0
- package/dist/primitives/Table/Core/features/useTableStyleColumnFreezing.d.ts +4 -0
- package/dist/primitives/Table/Core/features/useTableStyleGrid.d.ts +7 -0
- package/dist/primitives/Table/Core/listeners/useTableRowActiveListener.d.ts +3 -0
- package/dist/primitives/Table/Core/types.d.ts +21 -0
- package/dist/primitives/Table/Core/useTable.d.ts +28 -0
- package/dist/primitives/Table/Core/util/rows.d.ts +6 -0
- package/dist/primitives/Table/types.d.ts +381 -0
- package/dist/primitives/Table/useTableDataLoader.d.ts +24 -0
- package/dist/primitives/Table/useTableManager/features/useTableColumnFreezing.d.ts +6 -0
- package/dist/primitives/Table/useTableManager/features/useTableColumnOrdering.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/features/useTableFontSize.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableFooter.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/features/useTablePrinting.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowActions.d.ts +6 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowActive.d.ts +13 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowClick.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowDrag.d.ts +8 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowDrop.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowExpansion.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowGoto.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowGroups.d.ts +5 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowHeight.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableRowSelection.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/features/useTableSearch.d.ts +11 -0
- package/dist/primitives/Table/useTableManager/features/useTableServerLoading.d.ts +10 -0
- package/dist/primitives/Table/useTableManager/features/useTableSettings.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableDataListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableFilterListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableFontSizeListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableRowHeightListener.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableRowSelectionListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSearchListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableServerLoadingListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSettingsListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableShortcutsListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/listeners/useTableSortingListener.d.ts +3 -0
- package/dist/primitives/Table/useTableManager/types.d.ts +14 -0
- package/dist/primitives/Table/useTableManager/useTableManager.d.ts +66 -0
- package/dist/primitives/Table/useTableManager/util/columns.d.ts +10 -0
- package/dist/primitives/Table/useTableManager/util/columns.spec.d.ts +1 -0
- package/dist/primitives/Table/useTableManager/util/filtering.d.ts +7 -0
- package/dist/primitives/Table/useTableManager/util/presets.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/util/search.d.ts +2 -0
- package/dist/primitives/Table/useTableManager/util/settings.d.ts +12 -0
- package/dist/primitives/Table/useTableManager/util/setup.d.ts +15 -0
- package/dist/primitives/Table/useTableManager/util/sorting.d.ts +2 -0
- package/dist/taco.cjs.development.js +20761 -0
- package/dist/taco.cjs.development.js.map +1 -0
- package/dist/taco.cjs.production.min.js +2 -0
- package/dist/taco.cjs.production.min.js.map +1 -0
- package/dist/types.d.ts +20 -0
- package/dist/utils/aria.d.ts +2 -0
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/debounce.d.ts +1 -0
- package/dist/utils/device.d.ts +1 -0
- package/dist/utils/dom.d.ts +10 -0
- package/dist/utils/hooks/useDraggable.d.ts +2 -0
- package/dist/utils/hooks/useDropTarget.d.ts +8 -0
- package/dist/utils/hooks/useListKeyboardNavigation.d.ts +8 -0
- package/dist/utils/hooks/useListScrollTo.d.ts +1 -0
- package/dist/utils/hooks/useOnClickOutside.d.ts +2 -0
- package/dist/utils/hooks/useRefState.d.ts +1 -0
- package/dist/utils/hooks/useTimer.d.ts +7 -0
- package/dist/utils/hooks/useTruncated.d.ts +3 -0
- package/dist/utils/input.d.ts +4 -0
- package/dist/utils/keyboard.d.ts +10 -0
- package/dist/utils/mergeRefs.d.ts +2 -0
- package/dist/utils/storyutils.d.ts +8 -0
- package/dist/utils/tailwind.d.ts +6 -0
- package/package.json +7 -7
- package/dist/index.cjs.js +0 -22562
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.css.map +0 -1
- package/dist/index.d.mts +0 -3257
- package/dist/index.esm.js +0 -22562
- package/dist/index.esm.js.map +0 -1
@@ -0,0 +1,86 @@
|
|
1
|
+
import { useTableStyleGrid } from './useTableStyleGrid.js';
|
2
|
+
import { useTableStyleColumnFreezing } from './useTableStyleColumnFreezing.js';
|
3
|
+
|
4
|
+
function useTableStyle(tableId, table) {
|
5
|
+
const tableMeta = table.options.meta;
|
6
|
+
const {
|
7
|
+
style: cssGridStyle,
|
8
|
+
stylesheet: cssGridStylesheet
|
9
|
+
} = useTableStyleGrid(tableId, table, tableMeta.fontSize.size);
|
10
|
+
const {
|
11
|
+
stylesheet: columnFreezingStylesheet
|
12
|
+
} = useTableStyleColumnFreezing(tableId, table);
|
13
|
+
const style = {
|
14
|
+
// css vars required by children of table
|
15
|
+
'--table-header-group-depth': table.getHeaderGroups().length,
|
16
|
+
'--table-cell-padding-x': getCellWidthPadding(tableMeta.fontSize.size),
|
17
|
+
'--table-cell-padding-y': getCellHeightPadding(tableMeta.rowHeight.height, tableMeta.fontSize.size),
|
18
|
+
...cssGridStyle
|
19
|
+
};
|
20
|
+
const stylesheet = [cssGridStylesheet, columnFreezingStylesheet].filter(s => !!s).join('\n');
|
21
|
+
return {
|
22
|
+
style,
|
23
|
+
stylesheet
|
24
|
+
};
|
25
|
+
}
|
26
|
+
// we cannot just use a fixed height because our rows need to grow in height (images, edit mode validation etc)
|
27
|
+
function getCellHeightPadding(height, fontSize) {
|
28
|
+
// TODO: can we get the rem values from tailwind
|
29
|
+
switch (height) {
|
30
|
+
case 'short':
|
31
|
+
{
|
32
|
+
switch (fontSize) {
|
33
|
+
case 'small':
|
34
|
+
return '8px';
|
35
|
+
default:
|
36
|
+
return '6px';
|
37
|
+
}
|
38
|
+
}
|
39
|
+
case 'tall':
|
40
|
+
{
|
41
|
+
switch (fontSize) {
|
42
|
+
case 'small':
|
43
|
+
return '16px';
|
44
|
+
case 'large':
|
45
|
+
return '12px';
|
46
|
+
default:
|
47
|
+
return '14px';
|
48
|
+
}
|
49
|
+
}
|
50
|
+
case 'extra-tall':
|
51
|
+
{
|
52
|
+
switch (fontSize) {
|
53
|
+
case 'small':
|
54
|
+
return '22px';
|
55
|
+
case 'large':
|
56
|
+
return '18px';
|
57
|
+
default:
|
58
|
+
return '20px';
|
59
|
+
}
|
60
|
+
}
|
61
|
+
default:
|
62
|
+
{
|
63
|
+
switch (fontSize) {
|
64
|
+
case 'small':
|
65
|
+
return '12px';
|
66
|
+
case 'large':
|
67
|
+
return '8px';
|
68
|
+
default:
|
69
|
+
return '10px';
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
function getCellWidthPadding(fontSize) {
|
75
|
+
switch (fontSize) {
|
76
|
+
case 'small':
|
77
|
+
return '8px';
|
78
|
+
case 'medium':
|
79
|
+
return '12px';
|
80
|
+
default:
|
81
|
+
return '16px';
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
export { useTableStyle };
|
86
|
+
//# sourceMappingURL=useTableStyle.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useTableStyle.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableStyle.tsx"],"sourcesContent":["import { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { useTableStyleGrid } from './useTableStyleGrid';\nimport { useTableStyleColumnFreezing } from './useTableStyleColumnFreezing';\nimport { TableFontSize, TableRowHeight } from '../../types';\n\nexport function useTableStyle<TType = unknown>(tableId: string, table: ReactTable<TType>) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const { style: cssGridStyle, stylesheet: cssGridStylesheet } = useTableStyleGrid<TType>(\n tableId,\n table,\n tableMeta.fontSize.size\n );\n const { stylesheet: columnFreezingStylesheet } = useTableStyleColumnFreezing(tableId, table);\n\n const style = {\n // css vars required by children of table\n '--table-header-group-depth': table.getHeaderGroups().length,\n '--table-cell-padding-x': getCellWidthPadding(tableMeta.fontSize.size),\n '--table-cell-padding-y': getCellHeightPadding(tableMeta.rowHeight.height, tableMeta.fontSize.size),\n ...cssGridStyle,\n };\n\n const stylesheet = [cssGridStylesheet, columnFreezingStylesheet].filter(s => !!s).join('\\n');\n\n return { style, stylesheet };\n}\n\n// we cannot just use a fixed height because our rows need to grow in height (images, edit mode validation etc)\nfunction getCellHeightPadding(height: TableRowHeight, fontSize: TableFontSize) {\n // TODO: can we get the rem values from tailwind\n switch (height) {\n case 'short': {\n switch (fontSize) {\n case 'small':\n return '8px';\n\n default:\n return '6px';\n }\n }\n\n case 'tall': {\n switch (fontSize) {\n case 'small':\n return '16px';\n\n case 'large':\n return '12px';\n\n default:\n return '14px';\n }\n }\n\n case 'extra-tall': {\n switch (fontSize) {\n case 'small':\n return '22px';\n\n case 'large':\n return '18px';\n\n default:\n return '20px';\n }\n }\n\n default: {\n switch (fontSize) {\n case 'small':\n return '12px';\n\n case 'large':\n return '8px';\n\n default:\n return '10px';\n }\n }\n }\n}\n\nfunction getCellWidthPadding(fontSize: TableFontSize) {\n switch (fontSize) {\n case 'small':\n return '8px';\n\n case 'medium':\n return '12px';\n\n default:\n return '16px';\n }\n}\n"],"names":["useTableStyle","tableId","table","tableMeta","options","meta","style","cssGridStyle","stylesheet","cssGridStylesheet","useTableStyleGrid","fontSize","size","columnFreezingStylesheet","useTableStyleColumnFreezing","getHeaderGroups","length","getCellWidthPadding","getCellHeightPadding","rowHeight","height","filter","s","join"],"mappings":";;;SAKgBA,aAAaA,CAAkBC,OAAe,EAAEC,KAAwB;EACpF,MAAMC,SAAS,GAAGD,KAAK,CAACE,OAAO,CAACC,IAA6B;EAC7D,MAAM;IAAEC,KAAK,EAAEC,YAAY;IAAEC,UAAU,EAAEC;GAAmB,GAAGC,iBAAiB,CAC5ET,OAAO,EACPC,KAAK,EACLC,SAAS,CAACQ,QAAQ,CAACC,IAAI,CAC1B;EACD,MAAM;IAAEJ,UAAU,EAAEK;GAA0B,GAAGC,2BAA2B,CAACb,OAAO,EAAEC,KAAK,CAAC;EAE5F,MAAMI,KAAK,GAAG;;IAEV,4BAA4B,EAAEJ,KAAK,CAACa,eAAe,EAAE,CAACC,MAAM;IAC5D,wBAAwB,EAAEC,mBAAmB,CAACd,SAAS,CAACQ,QAAQ,CAACC,IAAI,CAAC;IACtE,wBAAwB,EAAEM,oBAAoB,CAACf,SAAS,CAACgB,SAAS,CAACC,MAAM,EAAEjB,SAAS,CAACQ,QAAQ,CAACC,IAAI,CAAC;IACnG,GAAGL;GACN;EAED,MAAMC,UAAU,GAAG,CAACC,iBAAiB,EAAEI,wBAAwB,CAAC,CAACQ,MAAM,CAACC,CAAC,IAAI,CAAC,CAACA,CAAC,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC;EAE5F,OAAO;IAAEjB,KAAK;IAAEE;GAAY;AAChC;AAEA;AACA,SAASU,oBAAoBA,CAACE,MAAsB,EAAET,QAAuB;;EAEzE,QAAQS,MAAM;IACV,KAAK,OAAO;MAAE;QACV,QAAQT,QAAQ;UACZ,KAAK,OAAO;YACR,OAAO,KAAK;UAEhB;YACI,OAAO,KAAK;;;IAIxB,KAAK,MAAM;MAAE;QACT,QAAQA,QAAQ;UACZ,KAAK,OAAO;YACR,OAAO,MAAM;UAEjB,KAAK,OAAO;YACR,OAAO,MAAM;UAEjB;YACI,OAAO,MAAM;;;IAIzB,KAAK,YAAY;MAAE;QACf,QAAQA,QAAQ;UACZ,KAAK,OAAO;YACR,OAAO,MAAM;UAEjB,KAAK,OAAO;YACR,OAAO,MAAM;UAEjB;YACI,OAAO,MAAM;;;IAIzB;MAAS;QACL,QAAQA,QAAQ;UACZ,KAAK,OAAO;YACR,OAAO,MAAM;UAEjB,KAAK,OAAO;YACR,OAAO,KAAK;UAEhB;YACI,OAAO,MAAM;;;;AAIjC;AAEA,SAASM,mBAAmBA,CAACN,QAAuB;EAChD,QAAQA,QAAQ;IACZ,KAAK,OAAO;MACR,OAAO,KAAK;IAEhB,KAAK,QAAQ;MACT,OAAO,MAAM;IAEjB;MACI,OAAO,MAAM;;AAEzB;;;;"}
|
package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
|
3
|
+
function useTableStyleColumnFreezing(tableId, table) {
|
4
|
+
const {
|
5
|
+
columnPinning,
|
6
|
+
columnSizing
|
7
|
+
} = table.getState();
|
8
|
+
const stylesheet = React__default.useMemo(() => {
|
9
|
+
const styles = [];
|
10
|
+
// might be a better way to get this information, but it wasn't obvious
|
11
|
+
const all = table.getFlatHeaders().filter(column => !column.subHeaders.length).map(x => x.id);
|
12
|
+
const left = table.getLeftFlatHeaders().filter(column => !column.subHeaders.length);
|
13
|
+
const right = table.getRightFlatHeaders().filter(column => !column.subHeaders.length);
|
14
|
+
if (left.length) {
|
15
|
+
left.forEach(cell => {
|
16
|
+
styles.push(`table[data-taco^='table']#${tableId} [data-cell-id="${cell.column.id}"] {
|
17
|
+
left: ${cell.column.getStart(cell.column.getIsPinned())}px;
|
18
|
+
}`);
|
19
|
+
});
|
20
|
+
const leftIds = left.map(x => x.id);
|
21
|
+
const index = all.indexOf(leftIds[leftIds.length - 1]);
|
22
|
+
// add right border, hide the header seperator and add shadow when scrolled
|
23
|
+
// we have to be specific so that nested tables don't inherit the same css
|
24
|
+
styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}),
|
25
|
+
table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}),
|
26
|
+
table[data-taco^='table']#${tableId} > tfoot > tr > td:nth-child(${index + 1}):not([data-cell-id^="__"]) {
|
27
|
+
border-right-width: 1px;
|
28
|
+
}\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1})[data-cell-id^="__"],
|
29
|
+
table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1})[data-cell-id^="__"] {
|
30
|
+
border-right-color: transparent;
|
31
|
+
}\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):after {
|
32
|
+
content: none;
|
33
|
+
}\ntable[data-taco^='table'][data-table-horizontally-scrolled="true"]#${tableId} > thead > tr > th:nth-child(${index + 1}),
|
34
|
+
table[data-taco^='table'][data-table-horizontally-scrolled="true"]#${tableId} > tbody > tr > td:nth-child(${index + 1}),
|
35
|
+
table[data-taco^='table'][data-table-horizontally-scrolled="true"]#${tableId} > tfoot > tr > td:nth-child(${index + 1}) {
|
36
|
+
border-right-color: rgb(221, 221, 221);
|
37
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);
|
38
|
+
}`);
|
39
|
+
}
|
40
|
+
if (right.length) {
|
41
|
+
right.forEach(cell => {
|
42
|
+
styles.push(`table[data-taco^='table']#${tableId} [data-cell-id="${cell.column.id}"] {
|
43
|
+
right: ${cell.column.getStart(cell.column.getIsPinned())}px;
|
44
|
+
}`);
|
45
|
+
});
|
46
|
+
const rightIds = right.map(x => x.id);
|
47
|
+
const index = all.indexOf(rightIds[rightIds.length - 1]);
|
48
|
+
styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):not([data-cell-id^="__"]),
|
49
|
+
table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}):not([data-cell-id^="__"]) {
|
50
|
+
border-left-width: 1px;
|
51
|
+
}`);
|
52
|
+
}
|
53
|
+
return styles.join('\n');
|
54
|
+
}, [columnPinning, columnSizing]);
|
55
|
+
return {
|
56
|
+
stylesheet
|
57
|
+
};
|
58
|
+
}
|
59
|
+
|
60
|
+
export { useTableStyleColumnFreezing };
|
61
|
+
//# sourceMappingURL=useTableStyleColumnFreezing.js.map
|
package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableStyleColumnFreezing.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useTableStyleColumnFreezing.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableStyleColumnFreezing.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable } from '@tanstack/react-table';\n\nexport function useTableStyleColumnFreezing<TType = unknown>(tableId: string, table: ReactTable<TType>) {\n const { columnPinning, columnSizing } = table.getState();\n\n const stylesheet = React.useMemo(() => {\n const styles: string[] = [];\n\n // might be a better way to get this information, but it wasn't obvious\n const all = table\n .getFlatHeaders()\n .filter(column => !column.subHeaders.length)\n .map(x => x.id);\n const left = table.getLeftFlatHeaders().filter(column => !column.subHeaders.length);\n const right = table.getRightFlatHeaders().filter(column => !column.subHeaders.length);\n\n if (left.length) {\n left.forEach(cell => {\n styles.push(`table[data-taco^='table']#${tableId} [data-cell-id=\"${cell.column.id}\"] {\n left: ${cell.column.getStart(cell.column.getIsPinned())}px;\n }`);\n });\n const leftIds = left.map(x => x.id);\n const index = all.indexOf(leftIds[leftIds.length - 1]);\n\n // add right border, hide the header seperator and add shadow when scrolled\n // we have to be specific so that nested tables don't inherit the same css\n styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}),\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}),\n table[data-taco^='table']#${tableId} > tfoot > tr > td:nth-child(${index + 1}):not([data-cell-id^=\"__\"]) {\n border-right-width: 1px;\n }\\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1})[data-cell-id^=\"__\"],\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1})[data-cell-id^=\"__\"] {\n border-right-color: transparent;\n }\\ntable[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):after {\n content: none;\n }\\ntable[data-taco^='table'][data-table-horizontally-scrolled=\"true\"]#${tableId} > thead > tr > th:nth-child(${\n index + 1\n }),\n table[data-taco^='table'][data-table-horizontally-scrolled=\"true\"]#${tableId} > tbody > tr > td:nth-child(${\n index + 1\n }),\n table[data-taco^='table'][data-table-horizontally-scrolled=\"true\"]#${tableId} > tfoot > tr > td:nth-child(${\n index + 1\n }) {\n border-right-color: rgb(221, 221, 221);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 6px 0px 6px rgb(0 0 0/8%);\n }`);\n }\n\n if (right.length) {\n right.forEach(cell => {\n styles.push(`table[data-taco^='table']#${tableId} [data-cell-id=\"${cell.column.id}\"] {\n right: ${cell.column.getStart(cell.column.getIsPinned())}px;\n }`);\n });\n const rightIds = right.map(x => x.id);\n const index = all.indexOf(rightIds[rightIds.length - 1]);\n\n styles.push(`table[data-taco^='table']#${tableId} > thead > tr > th:nth-child(${index + 1}):not([data-cell-id^=\"__\"]),\n table[data-taco^='table']#${tableId} > tbody > tr > td:nth-child(${index + 1}):not([data-cell-id^=\"__\"]) {\n border-left-width: 1px;\n }`);\n }\n\n return styles.join('\\n');\n }, [columnPinning, columnSizing]);\n\n return { stylesheet };\n}\n"],"names":["useTableStyleColumnFreezing","tableId","table","columnPinning","columnSizing","getState","stylesheet","React","useMemo","styles","all","getFlatHeaders","filter","column","subHeaders","length","map","x","id","left","getLeftFlatHeaders","right","getRightFlatHeaders","forEach","cell","push","getStart","getIsPinned","leftIds","index","indexOf","rightIds","join"],"mappings":";;SAGgBA,2BAA2BA,CAAkBC,OAAe,EAAEC,KAAwB;EAClG,MAAM;IAAEC,aAAa;IAAEC;GAAc,GAAGF,KAAK,CAACG,QAAQ,EAAE;EAExD,MAAMC,UAAU,GAAGC,cAAK,CAACC,OAAO,CAAC;IAC7B,MAAMC,MAAM,GAAa,EAAE;;IAG3B,MAAMC,GAAG,GAAGR,KAAK,CACZS,cAAc,EAAE,CAChBC,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC,CAC3CC,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;IACnB,MAAMC,IAAI,GAAGjB,KAAK,CAACkB,kBAAkB,EAAE,CAACR,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC;IACnF,MAAMM,KAAK,GAAGnB,KAAK,CAACoB,mBAAmB,EAAE,CAACV,MAAM,CAACC,MAAM,IAAI,CAACA,MAAM,CAACC,UAAU,CAACC,MAAM,CAAC;IAErF,IAAII,IAAI,CAACJ,MAAM,EAAE;MACbI,IAAI,CAACI,OAAO,CAACC,IAAI;QACbf,MAAM,CAACgB,IAAI,CAAC,6BAA6BxB,OAAO,mBAAmBuB,IAAI,CAACX,MAAM,CAACK,EAAE;4BACrEM,IAAI,CAACX,MAAM,CAACa,QAAQ,CAACF,IAAI,CAACX,MAAM,CAACc,WAAW,EAAE,CAAC;kBACzD,CAAC;OACN,CAAC;MACF,MAAMC,OAAO,GAAGT,IAAI,CAACH,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;MACnC,MAAMW,KAAK,GAAGnB,GAAG,CAACoB,OAAO,CAACF,OAAO,CAACA,OAAO,CAACb,MAAM,GAAG,CAAC,CAAC,CAAC;;;MAItDN,MAAM,CAACgB,IAAI,CAAC,6BAA6BxB,OAAO,gCAAgC4B,KAAK,GAAG,CAAC;4CACzD5B,OAAO,iCAAiC4B,KAAK,GAAG,CAAC;4CACjD5B,OAAO,iCAAiC4B,KAAK,GAAG,CAAC;;+CAE9C5B,OAAO,iCAAiC4B,KAAK,GAAG,CAAC;4CACpD5B,OAAO,iCAAiC4B,KAAK,GAAG,CAAC;;+CAE9C5B,OAAO,iCAAiC4B,KAAK,GAAG,CAAC;;wFAER5B,OAAO,iCAC/E4B,KAAK,GAAG,CACZ;qFACyE5B,OAAO,iCAC5E4B,KAAK,GAAG,CACZ;qFACyE5B,OAAO,iCAC5E4B,KAAK,GAAG,CACZ;;;kBAGM,CAAC;;IAGX,IAAIR,KAAK,CAACN,MAAM,EAAE;MACdM,KAAK,CAACE,OAAO,CAACC,IAAI;QACdf,MAAM,CAACgB,IAAI,CAAC,6BAA6BxB,OAAO,mBAAmBuB,IAAI,CAACX,MAAM,CAACK,EAAE;6BACpEM,IAAI,CAACX,MAAM,CAACa,QAAQ,CAACF,IAAI,CAACX,MAAM,CAACc,WAAW,EAAE,CAAC;kBAC1D,CAAC;OACN,CAAC;MACF,MAAMI,QAAQ,GAAGV,KAAK,CAACL,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,EAAE,CAAC;MACrC,MAAMW,KAAK,GAAGnB,GAAG,CAACoB,OAAO,CAACC,QAAQ,CAACA,QAAQ,CAAChB,MAAM,GAAG,CAAC,CAAC,CAAC;MAExDN,MAAM,CAACgB,IAAI,CAAC,6BAA6BxB,OAAO,gCAAgC4B,KAAK,GAAG,CAAC;4CACzD5B,OAAO,gCAAgC4B,KAAK,GAAG,CAAC;;kBAE1E,CAAC;;IAGX,OAAOpB,MAAM,CAACuB,IAAI,CAAC,IAAI,CAAC;GAC3B,EAAE,CAAC7B,aAAa,EAAEC,YAAY,CAAC,CAAC;EAEjC,OAAO;IAAEE;GAAY;AACzB;;;;"}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { isInternalColumn, getCellMinWidth } from '../../useTableManager/util/columns.js';
|
3
|
+
|
4
|
+
function useTableStyleGrid(tableId, table, fontSize) {
|
5
|
+
const tableMeta = table.options.meta;
|
6
|
+
const allVisibleColumns = table.getVisibleLeafColumns();
|
7
|
+
const columnSizing = table.getState().columnSizing;
|
8
|
+
const globalMinSize = getCellMinWidth(fontSize);
|
9
|
+
// header body ?footer
|
10
|
+
const gridTemplateRows = table.getRowModel().rows.length ? 'min-content 1fr min-content' : 'min-content 1fr';
|
11
|
+
return React__default.useMemo(() => {
|
12
|
+
let printGridTemplateColumns = 0;
|
13
|
+
const printHiddenColumns = [];
|
14
|
+
const gridTemplateColumns = allVisibleColumns.reduce((accum, column, index) => {
|
15
|
+
var _column$columnDef$min, _column$columnDef$met;
|
16
|
+
if (table.options.enableGrouping && column.getIsGrouped()) {
|
17
|
+
return accum;
|
18
|
+
}
|
19
|
+
const minSize = (_column$columnDef$min = column.columnDef.minSize) !== null && _column$columnDef$min !== void 0 ? _column$columnDef$min : globalMinSize;
|
20
|
+
const width = columnSizing[column.id];
|
21
|
+
let size;
|
22
|
+
if (isInternalColumn(column.id)) {
|
23
|
+
if (column.id === '__actions') {
|
24
|
+
const minWidth = tableMeta.rowActions.rowActionsLength * 32 + 8; /* button margins l+r */
|
25
|
+
size = `minmax(${minWidth}px, auto)`;
|
26
|
+
} else {
|
27
|
+
// getSize method is used instead of columnSizing state because internal columns have defined widths
|
28
|
+
size = `${column.getSize()}px`;
|
29
|
+
}
|
30
|
+
} else if (width !== undefined) {
|
31
|
+
const isLastColumn = index === allVisibleColumns.length - 1;
|
32
|
+
if (width === 'grow' || Number.isNaN(width) && !isLastColumn) {
|
33
|
+
size = `minmax(max-content, 1fr)`;
|
34
|
+
} else {
|
35
|
+
const minWidth = width < minSize ? minSize : width;
|
36
|
+
if (isLastColumn) {
|
37
|
+
size = `minmax(${minWidth}px, auto)`;
|
38
|
+
} else {
|
39
|
+
size = `${minWidth}px`;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
} else {
|
43
|
+
size = `minmax(max-content, auto)`;
|
44
|
+
}
|
45
|
+
// printing
|
46
|
+
if (((_column$columnDef$met = column.columnDef.meta) === null || _column$columnDef$met === void 0 ? void 0 : _column$columnDef$met.enablePrinting) === false) {
|
47
|
+
printHiddenColumns.push(column.id);
|
48
|
+
} else {
|
49
|
+
printGridTemplateColumns++;
|
50
|
+
}
|
51
|
+
return `${accum} ${size}`.trim();
|
52
|
+
}, '');
|
53
|
+
// normal grid
|
54
|
+
const style = {
|
55
|
+
gridTemplateColumns,
|
56
|
+
gridTemplateRows
|
57
|
+
};
|
58
|
+
// printing grid
|
59
|
+
// we have to be specific so that nested tables don't inherit the same css
|
60
|
+
const hiddenColumns = printHiddenColumns.map(id => `table[data-taco^='table']#${tableId} > thead > tr > th[data-cell-id='${id}']\n,table[data-taco^='table']#${tableId} > tbody > tr > td[data-cell-id='${id}']\n`).join(',');
|
61
|
+
const stylesheet = `@media print { table[data-taco^='table']#${tableId} { grid-template-columns: repeat(${printGridTemplateColumns}, auto) !important; }
|
62
|
+
table[data-taco^='table']#${tableId} [data-cell-id^='__']${hiddenColumns ? `, ${hiddenColumns}` : ''} { display: none; }}`;
|
63
|
+
return {
|
64
|
+
style,
|
65
|
+
stylesheet
|
66
|
+
};
|
67
|
+
}, [allVisibleColumns, columnSizing, globalMinSize, tableMeta.rowActions.rowActionsLength]);
|
68
|
+
}
|
69
|
+
|
70
|
+
export { useTableStyleGrid };
|
71
|
+
//# sourceMappingURL=useTableStyleGrid.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useTableStyleGrid.js","sources":["../../../../../../../../../src/primitives/Table/Core/features/useTableStyleGrid.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { TableFontSize } from '../../types';\nimport { getCellMinWidth, isInternalColumn } from '../../useTableManager/util/columns';\n\nexport function useTableStyleGrid<TType = unknown>(tableId: string, table: ReactTable<TType>, fontSize: TableFontSize) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n const allVisibleColumns = table.getVisibleLeafColumns();\n const columnSizing = table.getState().columnSizing;\n const globalMinSize = getCellMinWidth(fontSize);\n\n // header body ?footer\n const gridTemplateRows = table.getRowModel().rows.length ? 'min-content 1fr min-content' : 'min-content 1fr';\n\n return React.useMemo(() => {\n let printGridTemplateColumns = 0;\n const printHiddenColumns: string[] = [];\n\n const gridTemplateColumns = allVisibleColumns.reduce((accum, column, index) => {\n if (table.options.enableGrouping && column.getIsGrouped()) {\n return accum;\n }\n\n const minSize = column.columnDef.minSize ?? globalMinSize;\n const width = columnSizing[column.id] as number | 'grow';\n\n let size;\n\n if (isInternalColumn(column.id)) {\n if (column.id === '__actions') {\n const minWidth = tableMeta.rowActions.rowActionsLength * 32 + 8; /* button margins l+r */\n size = `minmax(${minWidth}px, auto)`;\n } else {\n // getSize method is used instead of columnSizing state because internal columns have defined widths\n size = `${column.getSize()}px`;\n }\n } else if (width !== undefined) {\n const isLastColumn = index === allVisibleColumns.length - 1;\n\n if (width === 'grow' || (Number.isNaN(width) && !isLastColumn)) {\n size = `minmax(max-content, 1fr)`;\n } else {\n const minWidth = width < minSize ? minSize : width;\n\n if (isLastColumn) {\n size = `minmax(${minWidth}px, auto)`;\n } else {\n size = `${minWidth}px`;\n }\n }\n } else {\n size = `minmax(max-content, auto)`;\n }\n\n // printing\n if (column.columnDef.meta?.enablePrinting === false) {\n printHiddenColumns.push(column.id);\n } else {\n printGridTemplateColumns++;\n }\n\n return `${accum} ${size}`.trim();\n }, '');\n\n // normal grid\n const style: React.CSSProperties = {\n gridTemplateColumns,\n gridTemplateRows,\n };\n\n // printing grid\n // we have to be specific so that nested tables don't inherit the same css\n const hiddenColumns = printHiddenColumns\n .map(\n id =>\n `table[data-taco^='table']#${tableId} > thead > tr > th[data-cell-id='${id}']\\n,table[data-taco^='table']#${tableId} > tbody > tr > td[data-cell-id='${id}']\\n`\n )\n .join(',');\n const stylesheet = `@media print { table[data-taco^='table']#${tableId} { grid-template-columns: repeat(${printGridTemplateColumns}, auto) !important; }\n table[data-taco^='table']#${tableId} [data-cell-id^='__']${\n hiddenColumns ? `, ${hiddenColumns}` : ''\n } { display: none; }}`;\n\n return { style, stylesheet };\n }, [allVisibleColumns, columnSizing, globalMinSize, tableMeta.rowActions.rowActionsLength]);\n}\n"],"names":["useTableStyleGrid","tableId","table","fontSize","tableMeta","options","meta","allVisibleColumns","getVisibleLeafColumns","columnSizing","getState","globalMinSize","getCellMinWidth","gridTemplateRows","getRowModel","rows","length","React","useMemo","printGridTemplateColumns","printHiddenColumns","gridTemplateColumns","reduce","accum","column","index","enableGrouping","getIsGrouped","minSize","_column$columnDef$min","columnDef","width","id","size","isInternalColumn","minWidth","rowActions","rowActionsLength","getSize","undefined","isLastColumn","Number","isNaN","_column$columnDef$met","enablePrinting","push","trim","style","hiddenColumns","map","join","stylesheet"],"mappings":";;;SAKgBA,iBAAiBA,CAAkBC,OAAe,EAAEC,KAAwB,EAAEC,QAAuB;EACjH,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;EAC7D,MAAMC,iBAAiB,GAAGL,KAAK,CAACM,qBAAqB,EAAE;EACvD,MAAMC,YAAY,GAAGP,KAAK,CAACQ,QAAQ,EAAE,CAACD,YAAY;EAClD,MAAME,aAAa,GAAGC,eAAe,CAACT,QAAQ,CAAC;;EAG/C,MAAMU,gBAAgB,GAAGX,KAAK,CAACY,WAAW,EAAE,CAACC,IAAI,CAACC,MAAM,GAAG,6BAA6B,GAAG,iBAAiB;EAE5G,OAAOC,cAAK,CAACC,OAAO,CAAC;IACjB,IAAIC,wBAAwB,GAAG,CAAC;IAChC,MAAMC,kBAAkB,GAAa,EAAE;IAEvC,MAAMC,mBAAmB,GAAGd,iBAAiB,CAACe,MAAM,CAAC,CAACC,KAAK,EAAEC,MAAM,EAAEC,KAAK;;MACtE,IAAIvB,KAAK,CAACG,OAAO,CAACqB,cAAc,IAAIF,MAAM,CAACG,YAAY,EAAE,EAAE;QACvD,OAAOJ,KAAK;;MAGhB,MAAMK,OAAO,IAAAC,qBAAA,GAAGL,MAAM,CAACM,SAAS,CAACF,OAAO,cAAAC,qBAAA,cAAAA,qBAAA,GAAIlB,aAAa;MACzD,MAAMoB,KAAK,GAAGtB,YAAY,CAACe,MAAM,CAACQ,EAAE,CAAoB;MAExD,IAAIC,IAAI;MAER,IAAIC,gBAAgB,CAACV,MAAM,CAACQ,EAAE,CAAC,EAAE;QAC7B,IAAIR,MAAM,CAACQ,EAAE,KAAK,WAAW,EAAE;UAC3B,MAAMG,QAAQ,GAAG/B,SAAS,CAACgC,UAAU,CAACC,gBAAgB,GAAG,EAAE,GAAG,CAAC,CAAC;UAChEJ,IAAI,GAAG,UAAUE,QAAQ,WAAW;SACvC,MAAM;;UAEHF,IAAI,GAAG,GAAGT,MAAM,CAACc,OAAO,EAAE,IAAI;;OAErC,MAAM,IAAIP,KAAK,KAAKQ,SAAS,EAAE;QAC5B,MAAMC,YAAY,GAAGf,KAAK,KAAKlB,iBAAiB,CAACS,MAAM,GAAG,CAAC;QAE3D,IAAIe,KAAK,KAAK,MAAM,IAAKU,MAAM,CAACC,KAAK,CAACX,KAAK,CAAC,IAAI,CAACS,YAAa,EAAE;UAC5DP,IAAI,GAAG,0BAA0B;SACpC,MAAM;UACH,MAAME,QAAQ,GAAGJ,KAAK,GAAGH,OAAO,GAAGA,OAAO,GAAGG,KAAK;UAElD,IAAIS,YAAY,EAAE;YACdP,IAAI,GAAG,UAAUE,QAAQ,WAAW;WACvC,MAAM;YACHF,IAAI,GAAG,GAAGE,QAAQ,IAAI;;;OAGjC,MAAM;QACHF,IAAI,GAAG,2BAA2B;;;MAItC,IAAI,EAAAU,qBAAA,GAAAnB,MAAM,CAACM,SAAS,CAACxB,IAAI,cAAAqC,qBAAA,uBAArBA,qBAAA,CAAuBC,cAAc,MAAK,KAAK,EAAE;QACjDxB,kBAAkB,CAACyB,IAAI,CAACrB,MAAM,CAACQ,EAAE,CAAC;OACrC,MAAM;QACHb,wBAAwB,EAAE;;MAG9B,OAAO,GAAGI,KAAK,IAAIU,IAAI,EAAE,CAACa,IAAI,EAAE;KACnC,EAAE,EAAE,CAAC;;IAGN,MAAMC,KAAK,GAAwB;MAC/B1B,mBAAmB;MACnBR;KACH;;;IAID,MAAMmC,aAAa,GAAG5B,kBAAkB,CACnC6B,GAAG,CACAjB,EAAE,IACE,6BAA6B/B,OAAO,oCAAoC+B,EAAE,kCAAkC/B,OAAO,oCAAoC+B,EAAE,MAAM,CACtK,CACAkB,IAAI,CAAC,GAAG,CAAC;IACd,MAAMC,UAAU,GAAG,4CAA4ClD,OAAO,oCAAoCkB,wBAAwB;oCACtGlB,OAAO,wBAC/B+C,aAAa,GAAG,KAAKA,aAAa,EAAE,GAAG,EAC3C,sBAAsB;IAEtB,OAAO;MAAED,KAAK;MAAEI;KAAY;GAC/B,EAAE,CAAC5C,iBAAiB,EAAEE,YAAY,EAAEE,aAAa,EAAEP,SAAS,CAACgC,UAAU,CAACC,gBAAgB,CAAC,CAAC;AAC/F;;;;"}
|
package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { isElementInsideOrTriggeredFromContainer, isElementInteractive } from '../../../../utils/dom.js';
|
3
|
+
|
4
|
+
function useTableRowActiveListener(table, tableRef) {
|
5
|
+
const tableMeta = table.options.meta;
|
6
|
+
// move focus to the row when active row changes, this makes sure we start within the row when tabbing
|
7
|
+
React__default.useEffect(() => {
|
8
|
+
if (tableMeta.rowActive.rowActiveIndex !== undefined) {
|
9
|
+
var _tableRef$current$que, _tableRef$current;
|
10
|
+
const activeRow = (_tableRef$current$que = (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.querySelector('tbody tr[data-row-active="true"]')) !== null && _tableRef$current$que !== void 0 ? _tableRef$current$que : null;
|
11
|
+
// if the focused element, or it's parent if it's portalled, aren't in the row, then focus the row
|
12
|
+
// this ensures the next tab press starts at the row
|
13
|
+
if (!isElementInsideOrTriggeredFromContainer(document.activeElement, activeRow) && !isElementInteractive(document.activeElement)) {
|
14
|
+
var _activeRow$focus;
|
15
|
+
activeRow === null || activeRow === void 0 ? void 0 : (_activeRow$focus = activeRow.focus) === null || _activeRow$focus === void 0 ? void 0 : _activeRow$focus.call(activeRow, {
|
16
|
+
preventScroll: true
|
17
|
+
});
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}, [tableMeta.rowActive.rowActiveIndex]);
|
21
|
+
}
|
22
|
+
|
23
|
+
export { useTableRowActiveListener };
|
24
|
+
//# sourceMappingURL=useTableRowActiveListener.js.map
|
package/dist/esm/packages/taco/src/primitives/Table/Core/listeners/useTableRowActiveListener.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useTableRowActiveListener.js","sources":["../../../../../../../../../src/primitives/Table/Core/listeners/useTableRowActiveListener.ts"],"sourcesContent":["import React from 'react';\nimport { Table as ReactTable, TableMeta as ReactTableMeta } from '@tanstack/react-table';\nimport { isElementInsideOrTriggeredFromContainer, isElementInteractive } from '../../../../utils/dom';\n\nexport function useTableRowActiveListener<TType = unknown>(\n table: ReactTable<TType>,\n tableRef: React.RefObject<HTMLTableElement>\n) {\n const tableMeta = table.options.meta as ReactTableMeta<TType>;\n\n // move focus to the row when active row changes, this makes sure we start within the row when tabbing\n React.useEffect(() => {\n if (tableMeta.rowActive.rowActiveIndex !== undefined) {\n const activeRow = tableRef.current?.querySelector('tbody tr[data-row-active=\"true\"]') ?? null;\n\n // if the focused element, or it's parent if it's portalled, aren't in the row, then focus the row\n // this ensures the next tab press starts at the row\n if (\n !isElementInsideOrTriggeredFromContainer(document.activeElement, activeRow) &&\n !isElementInteractive(document.activeElement)\n ) {\n (activeRow as HTMLElement)?.focus?.({ preventScroll: true });\n }\n }\n }, [tableMeta.rowActive.rowActiveIndex]);\n}\n"],"names":["useTableRowActiveListener","table","tableRef","tableMeta","options","meta","React","useEffect","rowActive","rowActiveIndex","undefined","_tableRef$current$que","_tableRef$current","activeRow","current","querySelector","isElementInsideOrTriggeredFromContainer","document","activeElement","isElementInteractive","_activeRow$focus","focus","call","preventScroll"],"mappings":";;;SAIgBA,yBAAyBA,CACrCC,KAAwB,EACxBC,QAA2C;EAE3C,MAAMC,SAAS,GAAGF,KAAK,CAACG,OAAO,CAACC,IAA6B;;EAG7DC,cAAK,CAACC,SAAS,CAAC;IACZ,IAAIJ,SAAS,CAACK,SAAS,CAACC,cAAc,KAAKC,SAAS,EAAE;MAAA,IAAAC,qBAAA,EAAAC,iBAAA;MAClD,MAAMC,SAAS,IAAAF,qBAAA,IAAAC,iBAAA,GAAGV,QAAQ,CAACY,OAAO,cAAAF,iBAAA,uBAAhBA,iBAAA,CAAkBG,aAAa,CAAC,kCAAkC,CAAC,cAAAJ,qBAAA,cAAAA,qBAAA,GAAI,IAAI;;;MAI7F,IACI,CAACK,uCAAuC,CAACC,QAAQ,CAACC,aAAa,EAAEL,SAAS,CAAC,IAC3E,CAACM,oBAAoB,CAACF,QAAQ,CAACC,aAAa,CAAC,EAC/C;QAAA,IAAAE,gBAAA;QACGP,SAAyB,aAAzBA,SAAyB,wBAAAO,gBAAA,GAAzBP,SAAyB,CAAEQ,KAAK,cAAAD,gBAAA,uBAAhCA,gBAAA,CAAAE,IAAA,CAAAT,SAAyB,EAAU;UAAEU,aAAa,EAAE;SAAM,CAAC;;;GAGvE,EAAE,CAACpB,SAAS,CAACK,SAAS,CAACC,cAAc,CAAC,CAAC;AAC5C;;;;"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import { useMergedRef } from '../../../hooks/useMergedRef.js';
|
2
|
+
import { useTableManager } from '../useTableManager/useTableManager.js';
|
3
|
+
import { useTableStyle } from './features/useTableStyle.js';
|
4
|
+
import { useTableGlobalShortcuts } from './features/useTableGlobalShortcuts.js';
|
5
|
+
import { useTableRef } from './features/useTableRef.js';
|
6
|
+
import { useTableRenderer } from './features/useTableRenderer.js';
|
7
|
+
import { useTableRowActiveListener } from './listeners/useTableRowActiveListener.js';
|
8
|
+
import { renderer } from './components/Columns/Internal/Actions.js';
|
9
|
+
import { renderer as renderer$1 } from './components/Columns/Internal/Drag.js';
|
10
|
+
import { renderer as renderer$2 } from './components/Columns/Internal/Expansion.js';
|
11
|
+
import { renderer as renderer$3 } from './components/Columns/Internal/Selection.js';
|
12
|
+
|
13
|
+
const INTERNAL_RENDERERS = {
|
14
|
+
rowActions: renderer,
|
15
|
+
rowDrag: renderer$1,
|
16
|
+
rowExpansion: renderer$2,
|
17
|
+
rowSelection: renderer$3
|
18
|
+
};
|
19
|
+
function useTable(props, externalRef, renderers, meta) {
|
20
|
+
// create a ref and merge with the consumer's ref
|
21
|
+
const ref = useMergedRef(externalRef);
|
22
|
+
// configure the table
|
23
|
+
const manager = useTableManager(props, meta, INTERNAL_RENDERERS);
|
24
|
+
// configure the virtualised renderer
|
25
|
+
const renderer = useTableRenderer(renderers, manager.instance, ref, props.defaultRowActiveIndex);
|
26
|
+
// configure dynamic styling
|
27
|
+
const {
|
28
|
+
style,
|
29
|
+
stylesheet
|
30
|
+
} = useTableStyle(manager.id, manager.instance);
|
31
|
+
// configure global keyboard shortcuts
|
32
|
+
useTableGlobalShortcuts(manager.instance, ref, renderer.scrollToIndex);
|
33
|
+
// augment the ref with some helper functions
|
34
|
+
useTableRef(manager.instance, ref);
|
35
|
+
// listeners - they are here and not in useTableManager because they rely on the dom and the table ref
|
36
|
+
useTableRowActiveListener(manager.instance, ref);
|
37
|
+
return {
|
38
|
+
...manager,
|
39
|
+
props: {
|
40
|
+
customSettings: props.customSettings,
|
41
|
+
emptyState: props.emptyState,
|
42
|
+
toolbarLeft: props.toolbarLeft,
|
43
|
+
toolbarPanel: props.toolbarPanel,
|
44
|
+
toolbarRight: props.toolbarRight
|
45
|
+
},
|
46
|
+
renderer,
|
47
|
+
style,
|
48
|
+
stylesheet,
|
49
|
+
ref
|
50
|
+
};
|
51
|
+
}
|
52
|
+
|
53
|
+
export { useTable };
|
54
|
+
//# sourceMappingURL=useTable.js.map
|
@@ -0,0 +1 @@
|
|
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 { useTableStyle } from './features/useTableStyle';\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)[] | null;\n style: React.CSSProperties;\n scrollToIndex: (index: number, options?: ReactVirtualScrollToOptions) => void;\n };\n style: React.CSSProperties;\n stylesheet: string;\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 { style, stylesheet } = useTableStyle(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 style,\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","style","stylesheet","useTableStyle","id","useTableGlobalShortcuts","scrollToIndex","useTableRef","useTableRowActiveListener","customSettings","emptyState","toolbarLeft","toolbarPanel","toolbarRight"],"mappings":";;;;;;;;;;;;AAkBA,MAAMA,kBAAkB,GAAG;cACvBC,QAAU;WACVC,UAAO;gBACPC,UAAY;gBACZC;CACH;SAwBeC,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,MAAM;IAAEC,KAAK;IAAEC;GAAY,GAAGC,aAAa,CAACR,OAAO,CAACS,EAAE,EAAET,OAAO,CAACI,QAAQ,CAAC;;EAEzEM,uBAAuB,CAACV,OAAO,CAACI,QAAQ,EAAEN,GAAG,EAAEI,QAAQ,CAACS,aAAa,CAAC;;EAEtEC,WAAW,CAACZ,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;;EAGlCe,yBAAyB,CAACb,OAAO,CAACI,QAAQ,EAAEN,GAAG,CAAC;EAEhD,OAAO;IACH,GAAGE,OAAO;IACVN,KAAK,EAAE;MACHoB,cAAc,EAAEpB,KAAK,CAACoB,cAAc;MACpCC,UAAU,EAAErB,KAAK,CAACqB,UAAU;MAC5BC,WAAW,EAAEtB,KAAK,CAACsB,WAAW;MAC9BC,YAAY,EAAEvB,KAAK,CAACuB,YAAY;MAChCC,YAAY,EAAExB,KAAK,CAACwB;KACvB;IACDhB,QAAQ;IACRI,KAAK;IACLC,UAAU;IACVT;GACH;AACL;;;;"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rows.js","sources":["../../../../../../../../../src/primitives/Table/Core/util/rows.ts"],"sourcesContent":["export const ROW_HEIGHT_ESTIMATES = {\n short: 33,\n medium: 41,\n tall: 49,\n 'extra-tall': 57,\n};\n"],"names":["ROW_HEIGHT_ESTIMATES","short","medium","tall"],"mappings":"MAAaA,oBAAoB,GAAG;EAChCC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE,EAAE;EACVC,IAAI,EAAE,EAAE;EACR,YAAY,EAAE;;;;;"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// filtering
|
2
|
+
var TableFilterComparator;
|
3
|
+
(function (TableFilterComparator) {
|
4
|
+
TableFilterComparator[TableFilterComparator["Contains"] = 0] = "Contains";
|
5
|
+
TableFilterComparator[TableFilterComparator["DoesNotContain"] = 1] = "DoesNotContain";
|
6
|
+
TableFilterComparator[TableFilterComparator["IsEqualTo"] = 2] = "IsEqualTo";
|
7
|
+
TableFilterComparator[TableFilterComparator["IsNotEqualTo"] = 3] = "IsNotEqualTo";
|
8
|
+
TableFilterComparator[TableFilterComparator["IsGreaterThan"] = 4] = "IsGreaterThan";
|
9
|
+
TableFilterComparator[TableFilterComparator["IsLessThan"] = 5] = "IsLessThan";
|
10
|
+
TableFilterComparator[TableFilterComparator["IsBetween"] = 6] = "IsBetween";
|
11
|
+
TableFilterComparator[TableFilterComparator["IsEmpty"] = 7] = "IsEmpty";
|
12
|
+
TableFilterComparator[TableFilterComparator["IsNotEmpty"] = 8] = "IsNotEmpty";
|
13
|
+
TableFilterComparator[TableFilterComparator["IsLessThanOrEqualTo"] = 9] = "IsLessThanOrEqualTo";
|
14
|
+
TableFilterComparator[TableFilterComparator["IsGreaterThanOrEqualTo"] = 10] = "IsGreaterThanOrEqualTo";
|
15
|
+
TableFilterComparator[TableFilterComparator["HasAnyOf"] = 11] = "HasAnyOf";
|
16
|
+
TableFilterComparator[TableFilterComparator["HasAllOf"] = 12] = "HasAllOf";
|
17
|
+
TableFilterComparator[TableFilterComparator["HasNoneOf"] = 13] = "HasNoneOf";
|
18
|
+
})(TableFilterComparator || (TableFilterComparator = {}));
|
19
|
+
var TableServerLoadAllState;
|
20
|
+
(function (TableServerLoadAllState) {
|
21
|
+
TableServerLoadAllState[TableServerLoadAllState["Incomplete"] = 0] = "Incomplete";
|
22
|
+
TableServerLoadAllState[TableServerLoadAllState["Loading"] = 1] = "Loading";
|
23
|
+
TableServerLoadAllState[TableServerLoadAllState["Completed"] = 2] = "Completed";
|
24
|
+
})(TableServerLoadAllState || (TableServerLoadAllState = {}));
|
25
|
+
|
26
|
+
export { TableFilterComparator, TableServerLoadAllState };
|
27
|
+
//# sourceMappingURL=types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../../../../../../src/primitives/Table/types.ts"],"sourcesContent":["import {\n ColumnFilter as ReactTableColumnFilter,\n ColumnFiltersState as ReactTableColumnFilterState,\n ColumnOrderState as ReactTableColumnOrderState,\n ColumnPinningState as ReactTableColumnPinningState,\n ColumnSort as ReactTableColumnSort,\n ColumnSizingState as ReactTableColumnSizingState,\n VisibilityState as ReactTableColumnVisibilityState,\n SortingState as ReactTableSortingState,\n BuiltInAggregationFn as ReactTableBuiltInAggregationFn,\n BuiltInSortingFn as ReactTableBuiltInSortingFn,\n} from '@tanstack/react-table';\nimport { FontSize, FontSizes, StringWithAutocompleteOptions, ValueOf } from '../../types';\nimport { MenuItemProps } from '../../components/Menu/components/Item';\n\nexport type TableRef = HTMLTableElement & {\n instance: {\n resetFiltering: () => void;\n resetRowExpansion: () => void;\n resetRowSelection: () => void;\n resetSorting: () => void;\n };\n};\n\n// filtering\nexport enum TableFilterComparator {\n Contains,\n DoesNotContain,\n IsEqualTo,\n IsNotEqualTo,\n IsGreaterThan,\n IsLessThan,\n IsBetween,\n IsEmpty,\n IsNotEmpty,\n IsLessThanOrEqualTo,\n IsGreaterThanOrEqualTo,\n HasAnyOf,\n HasAllOf,\n HasNoneOf,\n}\nexport type TableFilterValue = {\n comparator: TableFilterComparator;\n value: any;\n};\nexport type TableFilter = {\n id: string;\n value: TableFilterValue;\n};\n\n// columns\nexport type TableColumnAlignment = 'left' | 'center' | 'right';\nexport type TableColumnClassNameHandler<TType = unknown> = string | ((row: TType) => string | undefined);\nexport type TableColumnDataType = 'auto' | 'number' | 'alphanumeric' | 'alphanumericCaseSensitive' | 'datetime' | 'boolean';\nexport type TableColumnFilter = ReactTableColumnFilter;\nexport type TableColumnMenu = ((columnId: string) => React.ReactNode | null)[];\nexport type TableColumnRenderer<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererAggregate<TType, TValue> = (value: TValue, row: TType) => JSX.Element | string | number | null;\nexport type TableColumnRendererControl<TType = unknown> =\n | ((props: TableColumnRendererControlProps, row?: TType) => JSX.Element)\n | 'datepicker'\n | 'input'\n | 'switch'\n | 'textarea';\nexport type TableColumnRendererControlProps = {\n className?: string;\n disabled?: boolean;\n fontSize?: FontSize;\n invalid?: boolean;\n onBlur?: (value: any) => void;\n onFocus?: React.FocusEventHandler;\n readOnly?: boolean;\n ref: React.RefObject<HTMLElement> | ((instance: HTMLElement | null | undefined) => void);\n setValue: (value: any) => void;\n value: any;\n};\nexport type TableColumnRendererHeader = string;\nexport type TableColumnRendererFooter<TType> = (rows: TType[]) => JSX.Element | string | number | null;\nexport type TableColumnSort = ReactTableColumnSort;\nexport type TableColumnSortDirection = 'asc' | 'desc';\nexport type TableColumnSortFn<TType = unknown> =\n | ((rowA: TType, rowB: TType, columnId: string) => -1 | 0 | 1)\n | ReactTableBuiltInSortingFn\n | 'auto';\nexport type TableColumnWidth = number | 'grow';\n\n// rows\nexport type TableRowActionRenderer<TType = unknown> = (row: TType, internalRowId: string) => JSX.Element | null;\nexport type TableRowActionGroupRenderer<TType = unknown> = (rows: TType[]) => JSX.Element | null;\nexport type TableRowClickHandler<TType = unknown> = (row: TType) => void;\nexport type TableRowDragHandler<TType = unknown> = (\n rows: TType[],\n showPlaceholder: (string) => void,\n setDataTransfer: (data: string) => void\n) => void;\nexport type TableRowDropHandler<TType = unknown> = (event: React.DragEvent, row: TType) => void;\nexport type TableRowGotoHandler = (\n column: string,\n query: string,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[],\n search: string | undefined\n) => Promise<number>;\nexport type TableRowHeight = 'short' | 'medium' | 'tall' | 'extra-tall';\nexport type TableRowSelectHandler<TType = unknown> = (rows: TType[]) => void;\nexport type TableRowWithMetaData<TType = unknown> = TType & {\n _meta?: {\n layout?: 'heading' | 'summary' | 'item';\n };\n};\n\n// shortcuts\nexport type TableShortcutHandlerFn<TType = unknown> = (row: TType) => void;\nexport type TableShortcutHandlerObject<TType = unknown> = {\n handler: TableShortcutHandlerFn<TType>;\n meta?: boolean;\n shift?: boolean;\n};\n\n// table\nexport type TableFilterHandler = (filters: TableColumnFilter[]) => void | Promise<void>;\nexport type TableFontSize = keyof typeof FontSizes;\nexport type TablePreset = 'complex' | 'list' | 'simple';\nexport type TableRowExpansionRenderer<TType = unknown> = (row: TType) => (() => JSX.Element) | null;\nexport type TableScrollToIndexHandler = (index: number, options?: { align: 'start' | 'center' | 'end' | 'auto' }) => void;\nexport type TableSearchHandler = (search: string | undefined) => void | Promise<void>;\nexport type TableServerLoadPageHandler = (\n pageIndex: number,\n sorting: TableColumnSort[],\n filters: TableColumnFilter[]\n) => Promise<void>;\nexport type TableServerLoadAllHandler = (sorting: TableColumnSort[], filters: TableColumnFilter[]) => Promise<void>;\nexport enum TableServerLoadAllState {\n Incomplete,\n Loading,\n Completed,\n}\nexport type TableSettingsHandler = (settings: TableSettings) => void | Promise<void>;\nexport type TableShortcuts<TType = unknown> = Record<string, TableShortcutHandlerFn<TType> | TableShortcutHandlerObject<TType>>;\nexport type TableSortHandler = (sorting: TableColumnSort[]) => void | Promise<void>;\nexport type TableCustomSettingsRenderer = (props: TableSettings) => React.ReactElement<MenuItemProps>[];\nexport type TableEmptyStateReason = 'empty' | 'filtering' | 'searching';\nexport type TableEmptyStateRenderer = (props: { reason: TableEmptyStateReason }) => JSX.Element | null;\n\n// settings\nexport type TableSettings = {\n columnFilters?: ReactTableColumnFilterState;\n columnOrder?: ReactTableColumnOrderState;\n columnPinning?: ReactTableColumnPinningState;\n columnSizing?: ReactTableColumnSizingState;\n columnVisibility?: ReactTableColumnVisibilityState;\n excludeUnmatchedRecordsInSearch?: boolean;\n fontSize?: TableFontSize;\n rowHeight?: TableRowHeight;\n searchQuery?: string;\n sorting?: ReactTableSortingState;\n};\nexport type TableEnableSettingsOptions = {\n columnOrder: boolean;\n columnPinning: boolean;\n columnSizing: boolean;\n columnVisibility: boolean;\n excludeUnmatchedRecordsInSearch: boolean;\n fontSize: boolean;\n grouping: boolean;\n rowHeight: boolean;\n sorting: boolean;\n};\n\n// props\nexport type TableFeatureProps<TType = unknown> = {\n // react-table built-in\n enableFiltering?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableColumnFreezing?: boolean;\n enableColumnHiding?: boolean;\n enableColumnResizing?: boolean;\n enableRowExpansion?: boolean;\n enableRowSelection?: boolean;\n enableRowSelectionSingle?: boolean;\n\n // custom -- common between all table types\n enableColumnOrdering?: boolean;\n enableFontSize?: boolean;\n enableFooter?: boolean;\n enablePrinting?: boolean;\n enableRowActions?: boolean;\n enableRowActive?: boolean;\n enableRowClick?: boolean | ((row: TType) => boolean);\n enableRowDrag?: boolean;\n enableRowDrop?: boolean;\n enableRowGoto?: boolean;\n enableRowHeight?: boolean;\n enableSaveSettings?: boolean | Partial<TableEnableSettingsOptions>;\n};\n\nexport type TableCommonProps<TType = unknown> = TableFeatureProps<TType> & {\n children: (JSX.Element | boolean | null | undefined)[];\n data: TType[];\n id: string;\n\n // misc\n customSettings?: TableCustomSettingsRenderer;\n defaultColumnFreezingIndex?: number;\n defaultRowActiveIndex?: number;\n defaultRowGroupColumnId?: keyof TType;\n defaultSettings?: TableSettings;\n emptyState?: TableEmptyStateRenderer;\n preset?: TablePreset;\n rowActions?: TableRowActionRenderer<TType>[];\n rowActionsForGroup?: TableRowActionGroupRenderer<TType>[];\n rowActionsLength?: number;\n rowExpansionRenderer?: TableRowExpansionRenderer<TType>;\n rowIdentityColumnId?: string;\n shortcuts?: TableShortcuts<TType>;\n toolbarLeft?: JSX.Element;\n toolbarRight?: JSX.Element;\n toolbarPanel?: JSX.Element;\n\n // handlers\n onRowClick?: TableRowClickHandler<TType>;\n onRowDrag?: TableRowDragHandler<TType>;\n onRowDrop?: TableRowDropHandler<TType>;\n onRowGoto?: TableRowGotoHandler;\n onRowSelect?: TableRowSelectHandler<TType>;\n\n // state change handlers\n onChangeFilter?: TableFilterHandler;\n onChangeSearch?: TableSearchHandler;\n onChangeSettings?: TableSettingsHandler;\n onChangeSort?: TableSortHandler;\n};\n\nexport interface TableClientProps<TType = unknown> extends TableCommonProps<TType> {\n length?: never;\n loadAll?: never;\n loadPage?: never;\n pageSize?: never;\n}\n\nexport interface TableServerProps<TType = unknown> extends TableCommonProps<TType> {\n length: number | undefined;\n loadAll: TableServerLoadAllHandler;\n loadPage: TableServerLoadPageHandler;\n pageSize?: number;\n}\n\nexport type TableProps<TType = unknown> = TableClientProps<TType> | TableServerProps<TType>;\n\nexport type TableColumnProps<TType = unknown> = ValueOf<{\n [Key in keyof TType]: {\n accessor?: Key;\n id: StringWithAutocompleteOptions<Key>;\n // renderers\n renderer?: TableColumnRenderer<TType, TType[Key]>;\n /** Renderer to use if the cell is an aggregate cell and part of a grouped row */\n aggregate?: TableColumnRendererAggregate<TType, TType[Key]>;\n control?: TableColumnRendererControl<TType>;\n footer?: TableColumnRendererFooter<TType>;\n header: TableColumnRendererHeader;\n // options\n /** Aggregation function to be used when the column is part of a grouped row */\n aggregationFn?: 'auto' | ReactTableBuiltInAggregationFn;\n align?: TableColumnAlignment;\n className?: TableColumnClassNameHandler<TType>;\n dataType?: TableColumnDataType;\n defaultHidden?: boolean;\n defaultWidth?: TableColumnWidth;\n enableFiltering?: boolean;\n enableGrouping?: boolean;\n enableHiding?: boolean;\n enableOrdering?: boolean;\n enablePrinting?: boolean;\n enableResizing?: boolean;\n enableSearch?: boolean;\n enableSorting?: boolean;\n enableTruncate?: boolean;\n filters?: TableFilterComparator[];\n headerClassName?: string;\n menu?: TableColumnMenu;\n minWidth?: number;\n sort?: TableColumnSortDirection;\n sortFn?: TableColumnSortFn<TType>;\n tooltip?: string;\n };\n}>;\n\nexport type TableGroupProps = {\n children: (JSX.Element | boolean | null | undefined)[];\n header: string;\n id: string;\n};\n\nexport type TableTexts = {\n columns: {\n actions: {\n tooltip: string;\n };\n drag: {\n tooltip: string;\n };\n expansion: {\n collapse: string;\n collapseAll: string;\n expand: string;\n expandAll: string;\n };\n menu: {\n editFilter: string;\n filter: string;\n freezeFirstColumn: string;\n freezeUptoColumn: string;\n gotoRow: string;\n hideColumn: string;\n unfreezeColumns: string;\n sorting: string;\n sortingOrder: {\n ascending: string;\n descending: string;\n unsorted: string;\n };\n };\n resize: {\n tooltip: string;\n };\n select: {\n deselect: string;\n deselectAll: string;\n select: string;\n selectAll: string;\n };\n };\n columnSettings: {\n button: string;\n noResults: string;\n search: string;\n tooltip: string;\n };\n filters: {\n button: string;\n buttons: {\n addFilter: string;\n clearFilters: string;\n cancel: string;\n clear: string;\n apply: string;\n };\n comparators: {\n contains: string;\n doesNotContain: string;\n isEqualTo: string;\n isNotEqualTo: string;\n isGreaterThan: string;\n isLessThan: string;\n isBetween: string;\n isEmpty: string;\n isNotEmpty: string;\n isBefore: string;\n isAfter: string;\n isLessThanOrEqualTo: string;\n isGreaterThanOrEqualTo: string;\n isOnOrBefore: string;\n isOnOrAfter: string;\n hasAnyOf: string;\n hasAllOf: string;\n hasNoneOf: string;\n };\n conditions: {\n and: string;\n where: string;\n };\n emptyFilter: {\n condition: string;\n value: string;\n };\n hiddenColumn: string;\n hiddenGroupedColumn: string;\n tooltip: string;\n total: string;\n };\n fontSize: {\n tooltip: string;\n sizes: {\n small: string;\n medium: string;\n large: string;\n };\n };\n footer: {\n summary: {\n count: string;\n records: string;\n selected: string;\n };\n };\n print: {\n error: string;\n loading: string;\n tooltip: string;\n warningDialog: {\n title: string;\n description: string;\n checkboxVisibilityLabel: string;\n cancelButtonText: string;\n printButtonText: string;\n };\n settingsDialog: {\n title: string;\n size: string;\n sizeA5: string;\n sizeA4: string;\n sizeA3: string;\n sizeLetter: string;\n sizeLegal: string;\n orientation: string;\n orientationLandscape: string;\n orientationPortrait: string;\n rows: string;\n rowsAll: string;\n rowsSelected: string;\n layout: string;\n layoutSplitGroups: string;\n };\n };\n rowHeight: {\n tooltip: string;\n sizes: {\n short: string;\n medium: string;\n tall: string;\n extraTall: string;\n };\n };\n search: {\n excludeUnmatchedResults: string;\n placeholder: string;\n };\n otherOptions: {\n tooltip: string;\n };\n};\n"],"names":["TableFilterComparator","TableServerLoadAllState"],"mappings":"AAwBA;IACYA;AAAZ,WAAYA,qBAAqB;EAC7BA,yEAAQ;EACRA,qFAAc;EACdA,2EAAS;EACTA,iFAAY;EACZA,mFAAa;EACbA,6EAAU;EACVA,2EAAS;EACTA,uEAAO;EACPA,6EAAU;EACVA,+FAAmB;EACnBA,sGAAsB;EACtBA,0EAAQ;EACRA,0EAAQ;EACRA,4EAAS;AACb,CAAC,EAfWA,qBAAqB,KAArBA,qBAAqB;IA2GrBC;AAAZ,WAAYA,uBAAuB;EAC/BA,iFAAU;EACVA,2EAAO;EACPA,+EAAS;AACb,CAAC,EAJWA,uBAAuB,KAAvBA,uBAAuB;;;;"}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
import React__default from 'react';
|
2
|
+
import { _finallyRethrows, _catch } from '../../../../../node_modules/babel-plugin-transform-async-to-promises/helpers.mjs.js';
|
3
|
+
|
4
|
+
const DEFAULT_PAGE_SIZE = 100;
|
5
|
+
function useTableDataLoader(fetchPage, fetchAll, options = {
|
6
|
+
pageSize: DEFAULT_PAGE_SIZE
|
7
|
+
}) {
|
8
|
+
const {
|
9
|
+
pageSize
|
10
|
+
} = options;
|
11
|
+
// track the data length, we don't know it until the first request
|
12
|
+
const length = React__default.useRef(undefined);
|
13
|
+
// data will be filled after the first request, then we'll update values in place
|
14
|
+
const [data, setData] = React__default.useState([]);
|
15
|
+
// track which pages have been loaded to dedupe requests
|
16
|
+
const _pendingPageRequests = React__default.useRef({});
|
17
|
+
const _lastUsedSorting = React__default.useRef([]);
|
18
|
+
const _lastUsedFilters = React__default.useRef([]);
|
19
|
+
const _lastUsedSearch = React__default.useRef();
|
20
|
+
const _forceReset = React__default.useRef(false);
|
21
|
+
const loadPage = function (pageIndex, sorting, filters) {
|
22
|
+
try {
|
23
|
+
let reset = false;
|
24
|
+
// sorting or filters changed, reset everything
|
25
|
+
if (_forceReset.current || JSON.stringify(sorting) !== JSON.stringify(_lastUsedSorting.current) || JSON.stringify(filters) !== JSON.stringify(_lastUsedFilters.current)) {
|
26
|
+
_pendingPageRequests.current = {};
|
27
|
+
// nuke the dataset so that we "start again" after sorting
|
28
|
+
reset = true;
|
29
|
+
}
|
30
|
+
if (_pendingPageRequests.current[pageIndex]) {
|
31
|
+
// if page is already loaded/loading, abort, otherwise mark it as loading
|
32
|
+
return Promise.resolve();
|
33
|
+
} else {
|
34
|
+
_pendingPageRequests.current[pageIndex] = true;
|
35
|
+
}
|
36
|
+
_forceReset.current = false;
|
37
|
+
// set the sorting so we can track if it changed between loads
|
38
|
+
_lastUsedSorting.current = sorting;
|
39
|
+
// set the filters so we can track if it changed between loads
|
40
|
+
_lastUsedFilters.current = filters;
|
41
|
+
const _temp = _finallyRethrows(function () {
|
42
|
+
return _catch(function () {
|
43
|
+
return Promise.resolve(fetchPage(pageIndex, pageSize, sorting, filters)).then(function (response) {
|
44
|
+
// update state, here we do some "magic" to support "load in place"
|
45
|
+
setData(currentData => {
|
46
|
+
let nextData;
|
47
|
+
// reset table state if:
|
48
|
+
// - the length isn't set at all (first load)
|
49
|
+
// - the client length and server length are different (the data changed)
|
50
|
+
if (reset || length.current !== response.length) {
|
51
|
+
length.current = response.length;
|
52
|
+
nextData = Array(length.current).fill(undefined);
|
53
|
+
} else {
|
54
|
+
nextData = [...currentData];
|
55
|
+
}
|
56
|
+
const startIndex = pageIndex * pageSize;
|
57
|
+
nextData.splice(startIndex, pageSize, ...response.data);
|
58
|
+
return nextData;
|
59
|
+
});
|
60
|
+
});
|
61
|
+
}, function () {});
|
62
|
+
}, function (_wasThrown, _result) {
|
63
|
+
_pendingPageRequests.current[pageIndex] = false;
|
64
|
+
if (_wasThrown) throw _result;
|
65
|
+
return _result;
|
66
|
+
});
|
67
|
+
return Promise.resolve(_temp && _temp.then ? _temp.then(function () {}) : void 0);
|
68
|
+
} catch (e) {
|
69
|
+
return Promise.reject(e);
|
70
|
+
}
|
71
|
+
};
|
72
|
+
const loadAll = function (sorting, filters) {
|
73
|
+
try {
|
74
|
+
// set the sorting so we can track if it changed between loads
|
75
|
+
_lastUsedSorting.current = sorting;
|
76
|
+
// set the filters so we can track if it changed between loads
|
77
|
+
_lastUsedFilters.current = filters;
|
78
|
+
const _temp2 = _catch(function () {
|
79
|
+
return Promise.resolve(fetchAll(sorting, filters)).then(function (response) {
|
80
|
+
length.current = response.length;
|
81
|
+
setData(() => {
|
82
|
+
let nextData;
|
83
|
+
if (response.data.length !== response.length) {
|
84
|
+
nextData = Array(response.length).fill(undefined);
|
85
|
+
nextData.splice(0, response.data.length, ...response.data);
|
86
|
+
} else {
|
87
|
+
nextData = [...response.data];
|
88
|
+
}
|
89
|
+
return nextData;
|
90
|
+
});
|
91
|
+
});
|
92
|
+
}, function () {});
|
93
|
+
return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
|
94
|
+
} catch (e) {
|
95
|
+
return Promise.reject(e);
|
96
|
+
}
|
97
|
+
};
|
98
|
+
const invalidate = function () {
|
99
|
+
try {
|
100
|
+
_forceReset.current = true;
|
101
|
+
if (_lastUsedSearch.current) {
|
102
|
+
// we're searching, which means we need to refetch all with the correct sorting applied
|
103
|
+
return loadAll(_lastUsedSorting.current, _lastUsedFilters.current);
|
104
|
+
} else {
|
105
|
+
return loadPage(0, _lastUsedSorting.current, _lastUsedFilters.current);
|
106
|
+
}
|
107
|
+
} catch (e) {
|
108
|
+
return Promise.reject(e);
|
109
|
+
}
|
110
|
+
};
|
111
|
+
// search works client side - it fetches all then works client side - so these handlers are a little "weird"
|
112
|
+
// if a search is currently "active", we need to re load all because
|
113
|
+
const handleSort = function (sorting) {
|
114
|
+
try {
|
115
|
+
if (_lastUsedSearch.current) {
|
116
|
+
// we're searching, which means we need to refetch all with the correct sorting applied
|
117
|
+
loadAll(sorting, _lastUsedFilters.current);
|
118
|
+
} else {
|
119
|
+
// reset the page to 0 whenever sorting
|
120
|
+
loadPage(0, sorting, _lastUsedFilters.current);
|
121
|
+
}
|
122
|
+
return Promise.resolve();
|
123
|
+
} catch (e) {
|
124
|
+
return Promise.reject(e);
|
125
|
+
}
|
126
|
+
};
|
127
|
+
const handleFilter = function (filters) {
|
128
|
+
try {
|
129
|
+
if (_lastUsedSearch.current) {
|
130
|
+
// we're searching, which means we need to refetch all with the correct sorting applied
|
131
|
+
loadAll(_lastUsedSorting.current, filters);
|
132
|
+
} else {
|
133
|
+
// reset the page to 0 whenever sorting
|
134
|
+
loadPage(0, _lastUsedSorting.current, filters);
|
135
|
+
}
|
136
|
+
return Promise.resolve();
|
137
|
+
} catch (e) {
|
138
|
+
return Promise.reject(e);
|
139
|
+
}
|
140
|
+
};
|
141
|
+
const handleSearch = function (search) {
|
142
|
+
try {
|
143
|
+
// set the search so we can track if it changed between loads
|
144
|
+
_lastUsedSearch.current = search || undefined;
|
145
|
+
// search works client side, and focusing the search field triggers a load of all so we don't actually
|
146
|
+
// want to load anything when search gets changed, we just store the value for other handlers
|
147
|
+
return Promise.resolve();
|
148
|
+
} catch (e) {
|
149
|
+
return Promise.reject(e);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
return [{
|
153
|
+
data,
|
154
|
+
length: length.current,
|
155
|
+
loadAll,
|
156
|
+
loadPage,
|
157
|
+
onChangeFilter: handleFilter,
|
158
|
+
onChangeSearch: handleSearch,
|
159
|
+
onChangeSort: handleSort,
|
160
|
+
pageSize
|
161
|
+
}, invalidate];
|
162
|
+
}
|
163
|
+
|
164
|
+
export { DEFAULT_PAGE_SIZE, useTableDataLoader };
|
165
|
+
//# sourceMappingURL=useTableDataLoader.js.map
|