@economic/taco 2.53.0-settings.6 → 2.53.0-settings.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts/components/Area/AreaChart.d.ts +1 -1
- package/dist/charts/components/Bar/BarChart.d.ts +1 -1
- package/dist/charts/components/Donut/ActiveShape.d.ts +2 -2
- package/dist/charts/components/Donut/CenteredLabel.d.ts +2 -2
- package/dist/charts/components/Donut/DonutChart.d.ts +1 -1
- package/dist/charts/components/Donut/Legend.d.ts +1 -1
- package/dist/charts/components/Legend.d.ts +2 -2
- package/dist/charts/components/Line/LineChart.d.ts +1 -1
- package/dist/charts/components/ResponsiveContainer.d.ts +1 -1
- package/dist/charts/components/Tooltip.d.ts +2 -2
- package/dist/charts/utils/common.d.ts +3 -3
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/AlertDialog/components/Content.d.ts +1 -1
- package/dist/components/Calendar/Calendar.d.ts +1 -1
- package/dist/components/Datepicker/Datepicker.d.ts +1 -1
- package/dist/components/Dialog/components/Content.d.ts +1 -1
- package/dist/components/Dialog/components/DialogDrawer.d.ts +2 -2
- package/dist/components/Drawer/components/Content.d.ts +2 -2
- package/dist/components/Header/components/Agreement/Badge.d.ts +1 -1
- package/dist/components/Header/components/Agreement/Display.d.ts +2 -2
- package/dist/components/Header/components/Agreement/Item.d.ts +2 -2
- package/dist/components/Header/components/AgreementSelector.d.ts +2 -2
- package/dist/components/Header/components/Button.d.ts +1 -1
- package/dist/components/HoverCard/HoverCard.d.ts +1 -1
- package/dist/components/Icon/components/AccountPreview.d.ts +1 -1
- package/dist/components/Icon/components/Accounting.d.ts +1 -1
- package/dist/components/Icon/components/AccountingYear.d.ts +1 -1
- package/dist/components/Icon/components/AccountingYearCancel.d.ts +1 -1
- package/dist/components/Icon/components/AiChatSolid.d.ts +1 -1
- package/dist/components/Icon/components/AiStars.d.ts +1 -1
- package/dist/components/Icon/components/ArrowBottom.d.ts +1 -1
- package/dist/components/Icon/components/ArrowDown.d.ts +1 -1
- package/dist/components/Icon/components/ArrowEnd.d.ts +1 -1
- package/dist/components/Icon/components/ArrowLeft.d.ts +1 -1
- package/dist/components/Icon/components/ArrowRight.d.ts +1 -1
- package/dist/components/Icon/components/ArrowStart.d.ts +1 -1
- package/dist/components/Icon/components/ArrowTop.d.ts +1 -1
- package/dist/components/Icon/components/ArrowUp.d.ts +1 -1
- package/dist/components/Icon/components/Attach.d.ts +1 -1
- package/dist/components/Icon/components/AttachAuto.d.ts +1 -1
- package/dist/components/Icon/components/AttachCancel.d.ts +1 -1
- package/dist/components/Icon/components/AttachWarning.d.ts +1 -1
- package/dist/components/Icon/components/Autopay.d.ts +1 -1
- package/dist/components/Icon/components/AutopayPaused.d.ts +1 -1
- package/dist/components/Icon/components/Autotext.d.ts +1 -1
- package/dist/components/Icon/components/AutotextInsert.d.ts +1 -1
- package/dist/components/Icon/components/Basic.d.ts +1 -1
- package/dist/components/Icon/components/BasicTabs.d.ts +1 -1
- package/dist/components/Icon/components/BellSolid.d.ts +1 -1
- package/dist/components/Icon/components/Book.d.ts +1 -1
- package/dist/components/Icon/components/Booking.d.ts +1 -1
- package/dist/components/Icon/components/Budget.d.ts +1 -1
- package/dist/components/Icon/components/Calendar.d.ts +1 -1
- package/dist/components/Icon/components/CashAccount.d.ts +1 -1
- package/dist/components/Icon/components/CashReports.d.ts +1 -1
- package/dist/components/Icon/components/ChartArea.d.ts +1 -1
- package/dist/components/Icon/components/ChartBar.d.ts +1 -1
- package/dist/components/Icon/components/ChartLine.d.ts +1 -1
- package/dist/components/Icon/components/ChartPie.d.ts +1 -1
- package/dist/components/Icon/components/ChartTable.d.ts +1 -1
- package/dist/components/Icon/components/Chat.d.ts +1 -1
- package/dist/components/Icon/components/ChatSolid.d.ts +1 -1
- package/dist/components/Icon/components/ChevronDown.d.ts +1 -1
- package/dist/components/Icon/components/ChevronDownDouble.d.ts +1 -1
- package/dist/components/Icon/components/ChevronDownSolid.d.ts +1 -1
- package/dist/components/Icon/components/ChevronLeft.d.ts +1 -1
- package/dist/components/Icon/components/ChevronLeftDouble.d.ts +1 -1
- package/dist/components/Icon/components/ChevronLeftSolid.d.ts +1 -1
- package/dist/components/Icon/components/ChevronRight.d.ts +1 -1
- package/dist/components/Icon/components/ChevronRightDouble.d.ts +1 -1
- package/dist/components/Icon/components/ChevronRightSolid.d.ts +1 -1
- package/dist/components/Icon/components/ChevronUp.d.ts +1 -1
- package/dist/components/Icon/components/ChevronUpDouble.d.ts +1 -1
- package/dist/components/Icon/components/ChevronUpSolid.d.ts +1 -1
- package/dist/components/Icon/components/CircleClose.d.ts +1 -1
- package/dist/components/Icon/components/CircleInformation.d.ts +1 -1
- package/dist/components/Icon/components/CircleMinus.d.ts +1 -1
- package/dist/components/Icon/components/CirclePlus.d.ts +1 -1
- package/dist/components/Icon/components/CircleQuestionmark.d.ts +1 -1
- package/dist/components/Icon/components/CircleTick.d.ts +1 -1
- package/dist/components/Icon/components/CircleWarning.d.ts +1 -1
- package/dist/components/Icon/components/Clamp.d.ts +1 -1
- package/dist/components/Icon/components/ClampOpen.d.ts +1 -1
- package/dist/components/Icon/components/Close.d.ts +1 -1
- package/dist/components/Icon/components/ColumnFreeze.d.ts +1 -1
- package/dist/components/Icon/components/ColumnUnfreeze.d.ts +1 -1
- package/dist/components/Icon/components/Columns.d.ts +1 -1
- package/dist/components/Icon/components/ConnectionEnable.d.ts +1 -1
- package/dist/components/Icon/components/ConnectionRevoke.d.ts +1 -1
- package/dist/components/Icon/components/Contacts.d.ts +1 -1
- package/dist/components/Icon/components/Copy.d.ts +1 -1
- package/dist/components/Icon/components/Courses.d.ts +1 -1
- package/dist/components/Icon/components/Credit.d.ts +1 -1
- package/dist/components/Icon/components/Delete.d.ts +1 -1
- package/dist/components/Icon/components/DeletePermanently.d.ts +1 -1
- package/dist/components/Icon/components/Depecriate.d.ts +1 -1
- package/dist/components/Icon/components/Developer.d.ts +1 -1
- package/dist/components/Icon/components/DistributionTemplate.d.ts +1 -1
- package/dist/components/Icon/components/Document.d.ts +1 -1
- package/dist/components/Icon/components/DocumentApprove.d.ts +1 -1
- package/dist/components/Icon/components/DocumentCreateEntry.d.ts +1 -1
- package/dist/components/Icon/components/DocumentCut.d.ts +1 -1
- package/dist/components/Icon/components/DocumentError.d.ts +1 -1
- package/dist/components/Icon/components/DocumentIsolatePage.d.ts +1 -1
- package/dist/components/Icon/components/DocumentMerge.d.ts +1 -1
- package/dist/components/Icon/components/DocumentMove.d.ts +1 -1
- package/dist/components/Icon/components/DocumentPreview.d.ts +1 -1
- package/dist/components/Icon/components/DocumentReceived.d.ts +1 -1
- package/dist/components/Icon/components/DocumentRejectedRequest.d.ts +1 -1
- package/dist/components/Icon/components/DocumentSigned.d.ts +1 -1
- package/dist/components/Icon/components/DocumentSignedSolid.d.ts +1 -1
- package/dist/components/Icon/components/DocumentSplit.d.ts +1 -1
- package/dist/components/Icon/components/DocumentTime.d.ts +1 -1
- package/dist/components/Icon/components/Download.d.ts +1 -1
- package/dist/components/Icon/components/Drag.d.ts +1 -1
- package/dist/components/Icon/components/ECopedia.d.ts +1 -1
- package/dist/components/Icon/components/Edit.d.ts +1 -1
- package/dist/components/Icon/components/EditSimple.d.ts +1 -1
- package/dist/components/Icon/components/EllipsisHorizontal.d.ts +1 -1
- package/dist/components/Icon/components/EllipsisVertical.d.ts +1 -1
- package/dist/components/Icon/components/EntriesOnAccount.d.ts +1 -1
- package/dist/components/Icon/components/EntriesOpen.d.ts +1 -1
- package/dist/components/Icon/components/EntriesWarning.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeCustomerInvoice.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeCustomerPayment.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeJournalEntry.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeManualCustomerInvoice.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeSupplierInvoice.d.ts +1 -1
- package/dist/components/Icon/components/EntryTypeSupplierPayment.d.ts +1 -1
- package/dist/components/Icon/components/Envelope.d.ts +1 -1
- package/dist/components/Icon/components/EnvelopeApproved.d.ts +1 -1
- package/dist/components/Icon/components/EnvelopeSolid.d.ts +1 -1
- package/dist/components/Icon/components/ExpandView.d.ts +1 -1
- package/dist/components/Icon/components/Expenses.d.ts +1 -1
- package/dist/components/Icon/components/Experiment.d.ts +1 -1
- package/dist/components/Icon/components/Export.d.ts +1 -1
- package/dist/components/Icon/components/ExportToExcel.d.ts +1 -1
- package/dist/components/Icon/components/ExportToPdf.d.ts +1 -1
- package/dist/components/Icon/components/EyeOff.d.ts +1 -1
- package/dist/components/Icon/components/EyeOn.d.ts +1 -1
- package/dist/components/Icon/components/Filter.d.ts +1 -1
- package/dist/components/Icon/components/FilterSolid.d.ts +1 -1
- package/dist/components/Icon/components/FontSize.d.ts +1 -1
- package/dist/components/Icon/components/GraphSolid.d.ts +1 -1
- package/dist/components/Icon/components/Hash.d.ts +1 -1
- package/dist/components/Icon/components/HeightExtraTall.d.ts +1 -1
- package/dist/components/Icon/components/HeightMedium.d.ts +1 -1
- package/dist/components/Icon/components/HeightShort.d.ts +1 -1
- package/dist/components/Icon/components/HeightTall.d.ts +1 -1
- package/dist/components/Icon/components/House.d.ts +1 -1
- package/dist/components/Icon/components/HouseSolid.d.ts +1 -1
- package/dist/components/Icon/components/Id.d.ts +1 -1
- package/dist/components/Icon/components/Images.d.ts +1 -1
- package/dist/components/Icon/components/Import.d.ts +1 -1
- package/dist/components/Icon/components/Inbox.d.ts +1 -1
- package/dist/components/Icon/components/InboxEinvoicing.d.ts +1 -1
- package/dist/components/Icon/components/InboxScanning.d.ts +1 -1
- package/dist/components/Icon/components/InboxSmart.d.ts +1 -1
- package/dist/components/Icon/components/Info.d.ts +1 -1
- package/dist/components/Icon/components/Inventory.d.ts +1 -1
- package/dist/components/Icon/components/InventoryMatrix.d.ts +1 -1
- package/dist/components/Icon/components/JournalPro.d.ts +1 -1
- package/dist/components/Icon/components/Layout.d.ts +1 -1
- package/dist/components/Icon/components/LayoutBoth.d.ts +1 -1
- package/dist/components/Icon/components/LayoutFirst.d.ts +1 -1
- package/dist/components/Icon/components/LayoutLast.d.ts +1 -1
- package/dist/components/Icon/components/LayoutNone.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCard.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardCustomerReminder.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardManualCustomerInvoice.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardObsoleteStock.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardOpeningEntry.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardReservedEntry.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardShrinkagePilferage.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardStockAdjustment.d.ts +1 -1
- package/dist/components/Icon/components/LedgerCardTransferredOpeningEntry.d.ts +1 -1
- package/dist/components/Icon/components/Lightbulb.d.ts +1 -1
- package/dist/components/Icon/components/Line.d.ts +1 -1
- package/dist/components/Icon/components/LinkExternal.d.ts +1 -1
- package/dist/components/Icon/components/List.d.ts +1 -1
- package/dist/components/Icon/components/ListBulleted.d.ts +1 -1
- package/dist/components/Icon/components/ListSearch.d.ts +1 -1
- package/dist/components/Icon/components/Location.d.ts +1 -1
- package/dist/components/Icon/components/Lock.d.ts +1 -1
- package/dist/components/Icon/components/LockOpen.d.ts +1 -1
- package/dist/components/Icon/components/Log.d.ts +1 -1
- package/dist/components/Icon/components/LogOut.d.ts +1 -1
- package/dist/components/Icon/components/Market.d.ts +1 -1
- package/dist/components/Icon/components/MastercardOs.d.ts +1 -1
- package/dist/components/Icon/components/MatchAmount.d.ts +1 -1
- package/dist/components/Icon/components/MatchEntries.d.ts +1 -1
- package/dist/components/Icon/components/Menu.d.ts +1 -1
- package/dist/components/Icon/components/Mileage.d.ts +1 -1
- package/dist/components/Icon/components/ModalResize.d.ts +1 -1
- package/dist/components/Icon/components/ModalShrink.d.ts +1 -1
- package/dist/components/Icon/components/More.d.ts +1 -1
- package/dist/components/Icon/components/MoreSolid.d.ts +1 -1
- package/dist/components/Icon/components/Move.d.ts +1 -1
- package/dist/components/Icon/components/NavigationList.d.ts +1 -1
- package/dist/components/Icon/components/Note.d.ts +1 -1
- package/dist/components/Icon/components/NoteFollowUp.d.ts +1 -1
- package/dist/components/Icon/components/NoteRead.d.ts +1 -1
- package/dist/components/Icon/components/NovemberFirst.d.ts +1 -1
- package/dist/components/Icon/components/Numbers.d.ts +1 -1
- package/dist/components/Icon/components/PartnerApi.d.ts +1 -1
- package/dist/components/Icon/components/PaymentPaid.d.ts +1 -1
- package/dist/components/Icon/components/PaymentUnpaid.d.ts +1 -1
- package/dist/components/Icon/components/Period.d.ts +1 -1
- package/dist/components/Icon/components/Person.d.ts +1 -1
- package/dist/components/Icon/components/PersonChange.d.ts +1 -1
- package/dist/components/Icon/components/PersonMinus.d.ts +1 -1
- package/dist/components/Icon/components/PersonPlus.d.ts +1 -1
- package/dist/components/Icon/components/PersonSolid.d.ts +1 -1
- package/dist/components/Icon/components/PersonTick.d.ts +1 -1
- package/dist/components/Icon/components/Phone.d.ts +1 -1
- package/dist/components/Icon/components/PhoneSolid.d.ts +1 -1
- package/dist/components/Icon/components/Play.d.ts +1 -1
- package/dist/components/Icon/components/PlusMinus.d.ts +1 -1
- package/dist/components/Icon/components/Print.d.ts +1 -1
- package/dist/components/Icon/components/ProcessPayment.d.ts +1 -1
- package/dist/components/Icon/components/ProductLedgerCard.d.ts +1 -1
- package/dist/components/Icon/components/Profile.d.ts +1 -1
- package/dist/components/Icon/components/ProjectCards.d.ts +1 -1
- package/dist/components/Icon/components/Projects.d.ts +1 -1
- package/dist/components/Icon/components/QuestionMark.d.ts +1 -1
- package/dist/components/Icon/components/QuestionMarkBold.d.ts +1 -1
- package/dist/components/Icon/components/Quicklinks.d.ts +1 -1
- package/dist/components/Icon/components/RatingBankruptcy.d.ts +1 -1
- package/dist/components/Icon/components/RatingPaymentProblems.d.ts +1 -1
- package/dist/components/Icon/components/Reconciled.d.ts +1 -1
- package/dist/components/Icon/components/Refresh.d.ts +1 -1
- package/dist/components/Icon/components/Report.d.ts +1 -1
- package/dist/components/Icon/components/ReportSolid.d.ts +1 -1
- package/dist/components/Icon/components/Restore.d.ts +1 -1
- package/dist/components/Icon/components/RotateLeft.d.ts +1 -1
- package/dist/components/Icon/components/RotateRight.d.ts +1 -1
- package/dist/components/Icon/components/Sales.d.ts +1 -1
- package/dist/components/Icon/components/Search.d.ts +1 -1
- package/dist/components/Icon/components/SearchBold.d.ts +1 -1
- package/dist/components/Icon/components/Secure.d.ts +1 -1
- package/dist/components/Icon/components/SecureTick.d.ts +1 -1
- package/dist/components/Icon/components/Settings.d.ts +1 -1
- package/dist/components/Icon/components/SettingsSolid.d.ts +1 -1
- package/dist/components/Icon/components/Shortcuts.d.ts +1 -1
- package/dist/components/Icon/components/ShowAll.d.ts +1 -1
- package/dist/components/Icon/components/ShowLess.d.ts +1 -1
- package/dist/components/Icon/components/ShowMore.d.ts +1 -1
- package/dist/components/Icon/components/ShowTemplate.d.ts +1 -1
- package/dist/components/Icon/components/Sliders.d.ts +1 -1
- package/dist/components/Icon/components/Smartpay.d.ts +1 -1
- package/dist/components/Icon/components/SortBy.d.ts +1 -1
- package/dist/components/Icon/components/Star.d.ts +1 -1
- package/dist/components/Icon/components/StarSolid.d.ts +1 -1
- package/dist/components/Icon/components/Subscriptions.d.ts +1 -1
- package/dist/components/Icon/components/SystemEntries.d.ts +1 -1
- package/dist/components/Icon/components/Tag.d.ts +1 -1
- package/dist/components/Icon/components/TemplateOverride.d.ts +1 -1
- package/dist/components/Icon/components/Templates.d.ts +1 -1
- package/dist/components/Icon/components/ThumbBoth.d.ts +1 -1
- package/dist/components/Icon/components/ThumbDown.d.ts +1 -1
- package/dist/components/Icon/components/ThumbDownSolid.d.ts +1 -1
- package/dist/components/Icon/components/ThumbUp.d.ts +1 -1
- package/dist/components/Icon/components/ThumbUpSolid.d.ts +1 -1
- package/dist/components/Icon/components/Tick.d.ts +1 -1
- package/dist/components/Icon/components/TickBold.d.ts +1 -1
- package/dist/components/Icon/components/Time.d.ts +1 -1
- package/dist/components/Icon/components/Transfer.d.ts +1 -1
- package/dist/components/Icon/components/TransferCancel.d.ts +1 -1
- package/dist/components/Icon/components/TransferLocked.d.ts +1 -1
- package/dist/components/Icon/components/Undo.d.ts +1 -1
- package/dist/components/Icon/components/Undock.d.ts +1 -1
- package/dist/components/Icon/components/Unreconciled.d.ts +1 -1
- package/dist/components/Icon/components/Wallet.d.ts +1 -1
- package/dist/components/Icon/components/Warning.d.ts +1 -1
- package/dist/components/Icon/components/Webshop.d.ts +1 -1
- package/dist/components/Icon/components/Website.d.ts +1 -1
- package/dist/components/Icon/components/Workflow.d.ts +1 -1
- package/dist/components/Icon/components/WorkflowTemplateBasic.d.ts +1 -1
- package/dist/components/Icon/components/Zoom.d.ts +1 -1
- package/dist/components/IconButton/IconButton.d.ts +2 -2
- package/dist/components/Input/Input.d.ts +2 -2
- package/dist/components/Input/util.d.ts +7 -1
- package/dist/components/Layout/components/Sidebar.d.ts +14 -2
- package/dist/components/Layout/components/Top.d.ts +4 -4
- package/dist/components/List/List.d.ts +7 -7
- package/dist/components/List/components/Button.d.ts +1 -1
- package/dist/components/List/components/Collapsible.d.ts +1 -1
- package/dist/components/List/components/Group.d.ts +1 -1
- package/dist/components/List/components/Item.d.ts +1 -1
- package/dist/components/List/components/Link.d.ts +1 -1
- package/dist/components/List/components/Toggle.d.ts +2 -2
- package/dist/components/Listbox/Listbox.d.ts +2 -2
- package/dist/components/Listbox/ScrollableList.d.ts +1 -1
- package/dist/components/Listbox/util.d.ts +3 -3
- package/dist/components/Menu/components/Checkbox.d.ts +1 -1
- package/dist/components/Menu/components/Content.d.ts +2 -2
- package/dist/components/Menu/components/Item.d.ts +8 -8
- package/dist/components/Menu/components/Link.d.ts +1 -1
- package/dist/components/Menu/components/RadioGroup.d.ts +1 -1
- package/dist/components/Menu/components/SubMenu.d.ts +1 -1
- package/dist/components/Menu/components/Trigger.d.ts +1 -1
- package/dist/components/Navigation2/components/Group.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Report/Report.d.ts +3 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts +2 -2
- package/dist/components/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select2/components/All.d.ts +2 -2
- package/dist/components/Select2/components/Collection.d.ts +1 -1
- package/dist/components/Select2/components/Create.d.ts +1 -1
- package/dist/components/Select2/components/Edit.d.ts +2 -2
- package/dist/components/Select2/components/Group.d.ts +1 -1
- package/dist/components/Select2/components/Option.d.ts +1 -1
- package/dist/components/Select2/components/Search.d.ts +3 -3
- package/dist/components/Select2/components/Trigger.d.ts +1 -1
- package/dist/components/Select2/hooks/useChildren.d.ts +2 -2
- package/dist/components/Shortcut/Shortcut.d.ts +1 -1
- package/dist/components/Table3/Table3.d.ts +3 -4
- package/dist/components/Table3/components/Columns/Cell/Cell.d.ts +2 -2
- package/dist/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.d.ts +1 -1
- package/dist/components/Table3/components/Columns/Cell/EditingControlCell.d.ts +2 -2
- package/dist/components/Table3/components/Columns/Internal/EditingActionsMenu.d.ts +2 -2
- package/dist/components/Table3/components/Editing/Alert.d.ts +1 -1
- package/dist/components/Table3/components/Editing/DiscardChangesConfirmationDialog.d.ts +2 -2
- package/dist/components/Table3/components/Row/Editing/CreateNewRow.d.ts +1 -1
- package/dist/components/Table3/components/Row/Editing/SaveStatus.d.ts +2 -2
- package/dist/components/Table3/components/Row/Editing/TemporaryRow.d.ts +1 -1
- package/dist/components/Table3/components/Row/Row.d.ts +2 -2
- package/dist/components/Table3/components/Toolbar/Editing/Editing.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tour/Tour.d.ts +1 -1
- package/dist/components/Truncate/Truncate.d.ts +1 -1
- package/dist/esm/packages/taco/src/charts/components/Donut/DonutChart.js.map +1 -1
- package/dist/esm/packages/taco/src/charts/components/Donut/Legend.js.map +1 -1
- package/dist/esm/packages/taco/src/charts/components/Legend.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js +9 -6
- package/dist/esm/packages/taco/src/components/Combobox/useCombobox.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Datepicker/useDatepicker.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/Dialog.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Dialog/components/DialogDrawer.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js +1 -1
- package/dist/esm/packages/taco/src/components/Header/components/AgreementSelector.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Input/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Sidebar.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js +2 -2
- package/dist/esm/packages/taco/src/components/Layout/components/Top.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Listbox/util.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Menu/components/Item.js.map +1 -1
- package/dist/esm/packages/taco/src/components/OverflowGroup/OverflowGroup.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Popover/Popover.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Report/Report.js +2 -3
- package/dist/esm/packages/taco/src/components/Report/Report.js.map +1 -1
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js +4 -4
- package/dist/esm/packages/taco/src/components/ScrollArea/ScrollArea.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/Select2.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Create.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js +0 -2
- package/dist/esm/packages/taco/src/components/Select2/components/Edit.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Option.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Search.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Select2/components/Trigger.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowEditing.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table/hooks/plugins/useRowSelect.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/Table3.js +1 -3
- package/dist/esm/packages/taco/src/components/Table3/Table3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/Editing/RowMoveIndicator.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js +4 -2
- package/dist/esm/packages/taco/src/components/Table3/components/Columns/Cell/EditingControlCell.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js +4 -1
- package/dist/esm/packages/taco/src/components/Table3/components/Row/Row.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Table3/useTable3.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Toast/Toast.js.map +1 -1
- package/dist/esm/packages/taco/src/components/Tour/Tour.js +1 -1
- package/dist/esm/packages/taco/src/components/Tour/Tour.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Sortable/components/Item.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js +2 -0
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/Body.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js +4 -4
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Body/util.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js +2 -2
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Menu.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/Resizer.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Header/components/SortIndicator.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js +6 -14
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Row/BuiltIns/DisplayRow.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/Filters.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Print/Print.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/components/Toolbar/components/Settings/Settings.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js +12 -45
- package/dist/esm/packages/taco/src/primitives/Table/Core/features/useTableRenderer.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableDataLoader2.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js +3 -3
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/features/useTableSearch.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/listeners/useTableShortcutsListener.js.map +1 -1
- package/dist/esm/packages/taco/src/primitives/Table/useTableManager/util/setup.js.map +1 -1
- package/dist/esm/packages/taco/src/utils/dom.js +3 -2
- package/dist/esm/packages/taco/src/utils/dom.js.map +1 -1
- package/dist/primitives/BubbleSelect.d.ts +1 -1
- package/dist/primitives/Sortable/components/Container.d.ts +2 -2
- package/dist/primitives/Sortable/components/Item.d.ts +2 -1
- package/dist/primitives/Sortable/components/List.d.ts +1 -1
- package/dist/primitives/Table/Core/Table.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Body/Body.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Body/EmptyStateBody.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Body/util.d.ts +4 -4
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/DisplayCell.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Columns/Cell/BuiltIns/GroupedCell.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Columns/Cell/Cell.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Columns/Internal/Actions.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Footer/Footer.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Footer/Summary.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Header/Header.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Header/components/Goto.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Header/components/Menu.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Header/components/Resizer.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Header/components/SortIndicator.d.ts +3 -3
- package/dist/primitives/Table/Core/components/Row/BuiltIns/SkeletonRow.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Row/Row.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/Filters.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/ManageFiltersPopover.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/Filter.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterColumn.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterComparator.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Filters/components/FilterValue.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/Print.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Toolbar/components/Print/PrintDialog.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Search/Search.d.ts +1 -1
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts +2 -2
- package/dist/primitives/Table/Core/components/Toolbar/components/Settings/Settings.d.ts +2 -2
- package/dist/primitives/Table/Core/types.d.ts +1 -1
- package/dist/taco.cjs.development.js +60 -95
- package/dist/taco.cjs.development.js.map +1 -1
- package/dist/taco.cjs.production.min.js +1 -1
- package/dist/taco.cjs.production.min.js.map +1 -1
- package/dist/utils/dom.d.ts +2 -2
- package/package.json +26 -27
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Table as ReactTable } from '@tanstack/react-table';
|
3
3
|
import { Select2Value } from '../../../../../../../components/Select2/Select2';
|
4
4
|
import { RadioGroupItemValue } from '../../../../../../../components/RadioGroup/RadioGroup';
|
@@ -14,4 +14,4 @@ export declare type PrintDialogProps<TType = unknown> = {
|
|
14
14
|
splitGroups: boolean;
|
15
15
|
setSplitGroups: (splitGroups: boolean) => void;
|
16
16
|
};
|
17
|
-
export declare function PrintDialog<TType = unknown>(props: PrintDialogProps<TType>): JSX.Element;
|
17
|
+
export declare function PrintDialog<TType = unknown>(props: PrintDialogProps<TType>): React.JSX.Element;
|
@@ -6,5 +6,5 @@ declare type SearchProps<TType = unknown> = {
|
|
6
6
|
table: ReactTable<TType>;
|
7
7
|
tableRef: React.RefObject<TableRef>;
|
8
8
|
};
|
9
|
-
export declare function Search<TType = unknown>(props: SearchProps<TType>): JSX.Element;
|
9
|
+
export declare function Search<TType = unknown>(props: SearchProps<TType>): React.JSX.Element;
|
10
10
|
export {};
|
package/dist/primitives/Table/Core/components/Toolbar/components/Settings/HideOrOrderPopover.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Table as ReactTable } from '@tanstack/react-table';
|
3
3
|
import { PopoverProps } from '../../../../../../../components/Popover/Popover';
|
4
4
|
export declare type HideOrOrderPopoverProps<TType = unknown> = PopoverProps & {
|
5
5
|
table: ReactTable<TType>;
|
6
6
|
};
|
7
|
-
export declare function HideOrOrderPopover<TType = unknown>(props: HideOrOrderPopoverProps<TType>): JSX.Element;
|
7
|
+
export declare function HideOrOrderPopover<TType = unknown>(props: HideOrOrderPopoverProps<TType>): React.JSX.Element;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { Table as ReactTable } from '@tanstack/react-table';
|
3
3
|
import { TableCustomSettingsRenderer } from '../../../../../types';
|
4
4
|
export declare type SettingsProps<TType = unknown> = {
|
5
5
|
customSettings?: TableCustomSettingsRenderer;
|
6
6
|
table: ReactTable<TType>;
|
7
7
|
};
|
8
|
-
export declare function Settings<TType = unknown>(props: SettingsProps<TType>): JSX.Element;
|
8
|
+
export declare function Settings<TType = unknown>(props: SettingsProps<TType>): React.JSX.Element;
|
@@ -12,7 +12,7 @@ export declare type TableRowRendererProps<TType = unknown> = {
|
|
12
12
|
hideInternalColumns?: boolean;
|
13
13
|
hideRowActions?: boolean;
|
14
14
|
index: number;
|
15
|
-
measureRow: (size: number
|
15
|
+
measureRow: (size: number) => void;
|
16
16
|
row: ReactTableRow<TType>;
|
17
17
|
table: ReactTable<TType>;
|
18
18
|
};
|
@@ -4328,10 +4328,11 @@ function isElementTriggeredFromContainer(element, container) {
|
|
4328
4328
|
var _getOverlaySelector, _element$closest;
|
4329
4329
|
const selector = (_getOverlaySelector = getOverlaySelector(element)) !== null && _getOverlaySelector !== void 0 ? _getOverlaySelector : getOverlaySelector((_element$closest = element === null || element === void 0 ? void 0 : element.closest('[role=dialog],[role=menu]')) !== null && _element$closest !== void 0 ? _element$closest : null);
|
4330
4330
|
if (selector) {
|
4331
|
-
|
4331
|
+
const escapedSelector = CSS.escape(selector);
|
4332
|
+
if (container !== null && container !== void 0 && container.querySelector(escapedSelector)) {
|
4332
4333
|
return true;
|
4333
4334
|
}
|
4334
|
-
const elementInDocument = document.querySelector(
|
4335
|
+
const elementInDocument = document.querySelector(escapedSelector);
|
4335
4336
|
if (elementInDocument === container) {
|
4336
4337
|
return true;
|
4337
4338
|
}
|
@@ -6002,22 +6003,23 @@ const useCombobox = ({
|
|
6002
6003
|
const data = React.useMemo(() => shouldFilterData ? filterData(flattenedData, inputValue) : flattenedData, [shouldFilterData, inputValue, flattenedData]);
|
6003
6004
|
// listbox/select change value _with_ the index, but combobox changes on select of an index (click/enter), so we need state
|
6004
6005
|
const [currentIndex, setCurrentIndex] = React.useState(inputValue !== undefined ? getIndexFromValue(data, inputValue) : undefined);
|
6005
|
-
const setInputValueByIndex = index => {
|
6006
|
+
const setInputValueByIndex = (index, event) => {
|
6006
6007
|
if (index !== undefined) {
|
6007
6008
|
const option = data[index];
|
6008
6009
|
if (option && !option.disabled) {
|
6009
|
-
|
6010
|
+
const eventType = event !== null && event !== void 0 ? event : 'focusout';
|
6011
|
+
setInputValueByRef$1(inputRef.current, option.value, eventType);
|
6010
6012
|
}
|
6011
6013
|
}
|
6012
6014
|
};
|
6013
|
-
const setCurrentValue = index => {
|
6015
|
+
const setCurrentValue = (index, event) => {
|
6014
6016
|
if (index === undefined) {
|
6015
6017
|
return;
|
6016
6018
|
}
|
6017
6019
|
const option = data[index];
|
6018
6020
|
// if the selected option is not already selected, trigger blur event
|
6019
6021
|
if (option.value !== value) {
|
6020
|
-
setInputValueByIndex(index);
|
6022
|
+
setInputValueByIndex(index, event);
|
6021
6023
|
} else {
|
6022
6024
|
// if the selected option is already selected, refill input with its value
|
6023
6025
|
setInputValue(convertToInputValue(value));
|
@@ -6113,7 +6115,8 @@ const useCombobox = ({
|
|
6113
6115
|
}
|
6114
6116
|
case 'Tab':
|
6115
6117
|
{
|
6116
|
-
|
6118
|
+
// default focusout will trigger onBlur and we don't want to trigger it twice
|
6119
|
+
setCurrentValue(currentIndex, 'change');
|
6117
6120
|
setOpen(false);
|
6118
6121
|
return;
|
6119
6122
|
}
|
@@ -6128,7 +6131,8 @@ const useCombobox = ({
|
|
6128
6131
|
}
|
6129
6132
|
}
|
6130
6133
|
if (open) {
|
6131
|
-
|
6134
|
+
// we need to focusout to trigger onBlur as we are not actually blurring the input
|
6135
|
+
setCurrentValue(currentIndex, 'focusout');
|
6132
6136
|
setOpen(false);
|
6133
6137
|
}
|
6134
6138
|
return;
|
@@ -7056,12 +7060,12 @@ const Bar = props => {
|
|
7056
7060
|
className: className
|
7057
7061
|
}));
|
7058
7062
|
};
|
7059
|
-
const Thumb =
|
7063
|
+
const Thumb = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Thumb, {
|
7060
7064
|
className: "flex-[1] rounded bg-black opacity-50"
|
7061
|
-
})
|
7062
|
-
const Corner =
|
7065
|
+
});
|
7066
|
+
const Corner = () => /*#__PURE__*/React__default.createElement(ScrollAreaPrimitive.Corner, {
|
7063
7067
|
className: "bg-grey-500"
|
7064
|
-
})
|
7068
|
+
});
|
7065
7069
|
const ScrollArea = props => {
|
7066
7070
|
const {
|
7067
7071
|
children,
|
@@ -11183,10 +11187,10 @@ function useTableSearch(isEnabled = false, onChangeSearch, defaultEnableGlobalFi
|
|
11183
11187
|
// react-table doesn't re-render when options.enableGlobalFilter changes, so for now we force it
|
11184
11188
|
const currentFilter = instance.getState().globalFilter;
|
11185
11189
|
if (currentFilter) {
|
11186
|
-
|
11187
|
-
|
11190
|
+
instance.resetGlobalFilter(true);
|
11191
|
+
window.requestAnimationFrame(() => {
|
11188
11192
|
instance.setGlobalFilter(currentFilter);
|
11189
|
-
}
|
11193
|
+
});
|
11190
11194
|
}
|
11191
11195
|
}
|
11192
11196
|
// highlighting
|
@@ -12433,16 +12437,13 @@ function getPaddingEndOffset(table, options) {
|
|
12433
12437
|
const bottomRows = (_table$getBottomRows = table.getBottomRows()) !== null && _table$getBottomRows !== void 0 ? _table$getBottomRows : [];
|
12434
12438
|
return ROW_HEIGHT_ESTIMATES.medium * ((_options$virtualiserP = options === null || options === void 0 ? void 0 : options.virtualiserPaddingEndOffset) !== null && _options$virtualiserP !== void 0 ? _options$virtualiserP : 1) * bottomRows.length;
|
12435
12439
|
}
|
12440
|
+
// A higher number ensure less scroll jumping for dynamic row heights, but too high can reduce performance. 8 worked well
|
12441
|
+
const OVERSCAN_ROW_COUNT = 8;
|
12436
12442
|
function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIndex, options) {
|
12437
12443
|
var _table$getState$group, _table$getCenterRows, _virtualItems$padding, _virtualItems$padding2, _virtualItems$padding3, _virtualItems$end, _virtualItems;
|
12438
12444
|
const tableMeta = table.options.meta;
|
12439
12445
|
const isTableRowGrouped = !!((_table$getState$group = table.getState().grouping) !== null && _table$getState$group !== void 0 && _table$getState$group.length);
|
12440
12446
|
const rows = (_table$getCenterRows = table.getCenterRows()) !== null && _table$getCenterRows !== void 0 ? _table$getCenterRows : [];
|
12441
|
-
// expanded rows
|
12442
|
-
const {
|
12443
|
-
createRowMeasurer,
|
12444
|
-
estimateSize
|
12445
|
-
} = useRowHeightVirtualisation(table);
|
12446
12447
|
// row groups
|
12447
12448
|
const rangeExtractor = useRowGroupVirtualisation(table);
|
12448
12449
|
// account for thead and tfoot in the scroll area - both are always medium row height
|
@@ -12450,15 +12451,20 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
12450
12451
|
const count = tableMeta.server.isEnabled && tableMeta.server._experimentalDataLoader2 ? length : rows.length;
|
12451
12452
|
const virtualiser = reactVirtual.useVirtualizer({
|
12452
12453
|
count,
|
12453
|
-
estimateSize
|
12454
|
+
estimateSize: () => {
|
12455
|
+
return tableMeta.rowHeight.height ? ROW_HEIGHT_ESTIMATES[tableMeta.rowHeight.height] : ROW_HEIGHT_ESTIMATES.medium;
|
12456
|
+
},
|
12454
12457
|
getScrollElement: () => tableRef.current,
|
12455
|
-
overscan: tableMeta.printing.isPrinting ? count :
|
12458
|
+
overscan: tableMeta.printing.isPrinting ? count : OVERSCAN_ROW_COUNT,
|
12456
12459
|
rangeExtractor,
|
12457
12460
|
// correctly sets the scroll padding offset, e.g. when keyboard navigating rows in the list
|
12458
12461
|
scrollPaddingStart,
|
12459
12462
|
scrollPaddingEnd: getScrollPaddingEndOffset(table),
|
12460
12463
|
paddingEnd: getPaddingEndOffset(table, options)
|
12461
12464
|
});
|
12465
|
+
React__default.useEffect(() => {
|
12466
|
+
virtualiser.measure();
|
12467
|
+
}, [table.getState().expanded]);
|
12462
12468
|
const totalSize = virtualiser.getTotalSize();
|
12463
12469
|
const virtualItems = virtualiser.getVirtualItems();
|
12464
12470
|
const scrollToIndex = React__default.useCallback((index, options = {
|
@@ -12540,7 +12546,9 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
12540
12546
|
table: table
|
12541
12547
|
});
|
12542
12548
|
}
|
12543
|
-
const measureRow =
|
12549
|
+
const measureRow = rowHeight => {
|
12550
|
+
virtualiser.resizeItem(virtualRow, rowHeight);
|
12551
|
+
};
|
12544
12552
|
return /*#__PURE__*/React__default.createElement(Row, {
|
12545
12553
|
key: row.id,
|
12546
12554
|
row: row,
|
@@ -12559,43 +12567,6 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
12559
12567
|
scrollToIndex
|
12560
12568
|
};
|
12561
12569
|
}
|
12562
|
-
// support varying row heights - variable row heights, row expansion
|
12563
|
-
function useRowHeightVirtualisation(table) {
|
12564
|
-
const tableMeta = table.options.meta;
|
12565
|
-
const rows = table.getRowModel().rows;
|
12566
|
-
const expandedState = table.getState().expanded;
|
12567
|
-
const [expandedRowHeightsCache, setExpandedRowHeightsCache] = React__default.useState({});
|
12568
|
-
// look at all registered expanded row heights and use them to form a more accurate average size
|
12569
|
-
// it might be worth considering if taking the max, or an upper bound, would be better
|
12570
|
-
const averageExpandedRowHeight = React__default.useMemo(() => {
|
12571
|
-
const values = Object.values(expandedRowHeightsCache);
|
12572
|
-
return values.length ? values.reduce((a, b) => a + b, 0) / values.length : 0;
|
12573
|
-
}, [expandedRowHeightsCache]);
|
12574
|
-
// row heights
|
12575
|
-
const estimateSize = React__default.useCallback(index => {
|
12576
|
-
var _rows$index, _rows$index$getIsExpa;
|
12577
|
-
const rowHeight = tableMeta.rowHeight.height ? ROW_HEIGHT_ESTIMATES[tableMeta.rowHeight.height] : ROW_HEIGHT_ESTIMATES.medium;
|
12578
|
-
if (expandedState === true || (_rows$index = rows[index]) !== null && _rows$index !== void 0 && (_rows$index$getIsExpa = _rows$index.getIsExpanded) !== null && _rows$index$getIsExpa !== void 0 && _rows$index$getIsExpa.call(_rows$index)) {
|
12579
|
-
return rowHeight + averageExpandedRowHeight;
|
12580
|
-
}
|
12581
|
-
return rowHeight;
|
12582
|
-
}, [tableMeta.rowHeight.height, averageExpandedRowHeight, expandedState]);
|
12583
|
-
const createRowMeasurer = React__default.useCallback((resizeItem, virtualRow) => (rowHeight, expansionHeight) => {
|
12584
|
-
// register the expansion height so that it can be used to determine an average
|
12585
|
-
if (expansionHeight) {
|
12586
|
-
setExpandedRowHeightsCache(cache => ({
|
12587
|
-
...cache,
|
12588
|
-
[virtualRow.index]: expansionHeight
|
12589
|
-
}));
|
12590
|
-
}
|
12591
|
-
// update the whole row's size to include the expanded height
|
12592
|
-
resizeItem(virtualRow, rowHeight + (expansionHeight !== null && expansionHeight !== void 0 ? expansionHeight : 0));
|
12593
|
-
}, []);
|
12594
|
-
return {
|
12595
|
-
estimateSize,
|
12596
|
-
createRowMeasurer
|
12597
|
-
};
|
12598
|
-
}
|
12599
12570
|
// support virtualised row groups (where the row group headers are sticky)
|
12600
12571
|
function useRowGroupVirtualisation(table) {
|
12601
12572
|
const rows = table.getRowModel().rows;
|
@@ -13282,8 +13253,12 @@ const DisplayRow = /*#__PURE__*/React__default.memo(function DisplayRow(props) {
|
|
13282
13253
|
}
|
13283
13254
|
const ref = React__default.useRef(null);
|
13284
13255
|
const expansionRef = React__default.useRef(null);
|
13285
|
-
|
13286
|
-
|
13256
|
+
React__default.useEffect(() => {
|
13257
|
+
var _ref$current$getBound, _ref$current, _expansionRef$current, _expansionRef$current2;
|
13258
|
+
const rowHeight = (_ref$current$getBound = (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.getBoundingClientRect().height) !== null && _ref$current$getBound !== void 0 ? _ref$current$getBound : 0;
|
13259
|
+
const expansionHeight = (_expansionRef$current = (_expansionRef$current2 = expansionRef.current) === null || _expansionRef$current2 === void 0 ? void 0 : _expansionRef$current2.getBoundingClientRect().height) !== null && _expansionRef$current !== void 0 ? _expansionRef$current : 0;
|
13260
|
+
measureRow(rowHeight + expansionHeight);
|
13261
|
+
}, [expansionRef.current]);
|
13287
13262
|
const className = cn('group/row', otherAttributes.className, {
|
13288
13263
|
'hover:cursor-grab': tableMeta.rowDrag.isEnabled && typeof attributes.onClick !== 'function',
|
13289
13264
|
'hover:cursor-pointer': typeof attributes.onClick === 'function'
|
@@ -13306,18 +13281,6 @@ const DisplayRow = /*#__PURE__*/React__default.memo(function DisplayRow(props) {
|
|
13306
13281
|
className: "col-span-full"
|
13307
13282
|
}, expandedRow))) : null);
|
13308
13283
|
});
|
13309
|
-
function useSetVirtualisedRowHeight(measureRow, rowEl, expansionEl, isExpanded) {
|
13310
|
-
React__default.useEffect(() => {
|
13311
|
-
if (rowEl) {
|
13312
|
-
const height = rowEl.getBoundingClientRect().height;
|
13313
|
-
if (isExpanded && expansionEl) {
|
13314
|
-
measureRow(height, expansionEl.getBoundingClientRect().height);
|
13315
|
-
} else {
|
13316
|
-
measureRow(height);
|
13317
|
-
}
|
13318
|
-
}
|
13319
|
-
}, [isExpanded, rowEl, expansionEl]);
|
13320
|
-
}
|
13321
13284
|
|
13322
13285
|
function DisplayCell(props) {
|
13323
13286
|
const {
|
@@ -13593,11 +13556,11 @@ function HeaderMenu(props) {
|
|
13593
13556
|
return Promise.reject(e);
|
13594
13557
|
}
|
13595
13558
|
};
|
13596
|
-
popoverElement = props => /*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
|
13559
|
+
popoverElement = props => (/*#__PURE__*/React__default.createElement(GotoPopover, Object.assign({}, props, {
|
13597
13560
|
open: true,
|
13598
13561
|
onChange: handleClosePopover,
|
13599
13562
|
onGoto: goto
|
13600
|
-
}));
|
13563
|
+
})));
|
13601
13564
|
}
|
13602
13565
|
}
|
13603
13566
|
}
|
@@ -13954,10 +13917,10 @@ const FOCUS_MANAGER_OPTIONS_ARROW_KEYS = {
|
|
13954
13917
|
};
|
13955
13918
|
function useAugmentedFocusManager() {
|
13956
13919
|
const focusManager = focus.useFocusManager();
|
13957
|
-
const focusPrevious = (arrowNavigation = false) => focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
|
13958
|
-
const focusNext = (arrowNavigation = false) => focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
|
13959
|
-
const focusFirst = () => focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
|
13960
|
-
const focusLast = () => focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
|
13920
|
+
const focusPrevious = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusPrevious(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
|
13921
|
+
const focusNext = (arrowNavigation = false) => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusNext(arrowNavigation ? FOCUS_MANAGER_OPTIONS_ARROW_KEYS : FOCUS_MANAGER_OPTIONS_TAB);
|
13922
|
+
const focusFirst = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusFirst(FOCUS_MANAGER_OPTIONS_TAB);
|
13923
|
+
const focusLast = () => focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusLast(FOCUS_MANAGER_OPTIONS_TAB);
|
13961
13924
|
return {
|
13962
13925
|
focusPrevious,
|
13963
13926
|
focusNext,
|
@@ -14055,6 +14018,8 @@ function Body(props) {
|
|
14055
14018
|
onKeyDown: handleKeyDown,
|
14056
14019
|
onMouseLeave: handleMouseLeave,
|
14057
14020
|
onMouseMove: handleMouseMove,
|
14021
|
+
// Prevents menu dropdowns inside the row from being closed straight after being opened, wehn clicked on a menu trigger
|
14022
|
+
onFocus: e => e.stopPropagation(),
|
14058
14023
|
ref: ref
|
14059
14024
|
}));
|
14060
14025
|
}
|
@@ -15375,7 +15340,6 @@ const Colours = props => {
|
|
15375
15340
|
const {
|
15376
15341
|
color,
|
15377
15342
|
onChangeColor,
|
15378
|
-
onClick,
|
15379
15343
|
onKeyDown
|
15380
15344
|
} = props;
|
15381
15345
|
const {
|
@@ -15384,7 +15348,6 @@ const Colours = props => {
|
|
15384
15348
|
return /*#__PURE__*/React__default.createElement(RadioGroupPrimitive.Root, {
|
15385
15349
|
"aria-label": texts.select2.chooseColor,
|
15386
15350
|
className: "grid grid-cols-4 gap-2 focus:outline-none",
|
15387
|
-
onClick: onClick,
|
15388
15351
|
onKeyDown: onKeyDown,
|
15389
15352
|
onValueChange: color => onChangeColor(color),
|
15390
15353
|
value: color
|
@@ -17352,9 +17315,8 @@ function useTableSettingsPreloader(tableId) {
|
|
17352
17315
|
};
|
17353
17316
|
}
|
17354
17317
|
|
17355
|
-
|
17356
|
-
|
17357
|
-
}
|
17318
|
+
const Column$1 = () => null;
|
17319
|
+
Column$1.displayName = 'Table3Column';
|
17358
17320
|
function Group$4(_) {
|
17359
17321
|
return null;
|
17360
17322
|
}
|
@@ -19891,8 +19853,10 @@ function EditingControlCell(props) {
|
|
19891
19853
|
}
|
19892
19854
|
}, [hasNonTextControl, cell.row.id, cell.column.id, cell.row.original, rowIndex, value]);
|
19893
19855
|
const blur = React__default.useCallback(function blur() {
|
19894
|
-
|
19895
|
-
|
19856
|
+
requestAnimationFrame(() => {
|
19857
|
+
tableMeta.editing.toggleDetailedMode(false);
|
19858
|
+
tableMeta.editing.onCellChanged(cell, rowIndex, undefined, !hasNonTextControl);
|
19859
|
+
});
|
19896
19860
|
}, [hasNonTextControl, cell.row.id, cell.column.id, cell.row.original, rowIndex]);
|
19897
19861
|
const handleBlur = React__default.useCallback(event => {
|
19898
19862
|
if (isElementInsideOrTriggeredFromContainer(event.relatedTarget, event.currentTarget)) {
|
@@ -20262,7 +20226,10 @@ function Row$2(props) {
|
|
20262
20226
|
const isActiveRow = tableMeta.rowActive.rowActiveIndex === index;
|
20263
20227
|
React__default.useEffect(() => {
|
20264
20228
|
if (tableMeta.editing.isEditing && isActiveRow && tableMeta.editing.lastFocusedCellIndex === undefined) {
|
20265
|
-
|
20229
|
+
const element = focusManager.focusFirst();
|
20230
|
+
if (element) {
|
20231
|
+
setDataFocusAttribute(element);
|
20232
|
+
}
|
20266
20233
|
}
|
20267
20234
|
}, [tableMeta.editing.isEditing, tableMeta.rowActive.rowActiveIndex, tableMeta.editing.lastFocusedCellIndex]);
|
20268
20235
|
const handleFocus = React__default.useCallback(event => {
|
@@ -20695,9 +20662,7 @@ function TemporaryRow(props) {
|
|
20695
20662
|
}))));
|
20696
20663
|
}
|
20697
20664
|
|
20698
|
-
|
20699
|
-
return null;
|
20700
|
-
}
|
20665
|
+
const Column$3 = () => null;
|
20701
20666
|
Column$3.displayName = 'Table3Column';
|
20702
20667
|
function Group$5(_) {
|
20703
20668
|
return null;
|
@@ -20901,7 +20866,7 @@ const Tooltip$1 = ({
|
|
20901
20866
|
icon: "close",
|
20902
20867
|
title: locale.skip,
|
20903
20868
|
"aria-label": locale.skip,
|
20904
|
-
className: "absolute
|
20869
|
+
className: "absolute right-0 top-0 mr-1 mt-1"
|
20905
20870
|
})), step.title && /*#__PURE__*/React.createElement("h5", null, step.title), step.content, /*#__PURE__*/React.createElement(Group, {
|
20906
20871
|
className: "mt-4 justify-end"
|
20907
20872
|
}, index > 0 && (/*#__PURE__*/React.createElement(Button$1, Object.assign({}, backProps, {
|
@@ -22131,7 +22096,7 @@ function AgreementSelector(props) {
|
|
22131
22096
|
}
|
22132
22097
|
return button;
|
22133
22098
|
})), handleAddAgreement ? (/*#__PURE__*/React__default.createElement(Button$1, {
|
22134
|
-
className: "focus-visible:!yt-focus-dark my-1
|
22099
|
+
className: "focus-visible:!yt-focus-dark mx-2 my-1 !h-9 shrink-0 !bg-white/[0.08] !text-white hover:!bg-white/[0.16]",
|
22135
22100
|
onClick: handleAddAgreement
|
22136
22101
|
}, texts.header.addAgreement)) : null, /*#__PURE__*/React__default.createElement("hr", {
|
22137
22102
|
className: "my-0 h-px w-full bg-white/[0.08]"
|
@@ -22297,9 +22262,9 @@ const Top = props => {
|
|
22297
22262
|
setSidebarOpen
|
22298
22263
|
} = React__default.useContext(LayoutContext);
|
22299
22264
|
const toggleSidebar = () => setSidebarOpen(open => !open);
|
22300
|
-
return typeof props.children === 'function' ? props.children({
|
22265
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, typeof props.children === 'function' ? props.children({
|
22301
22266
|
toggleSidebar
|
22302
|
-
}) : props.children;
|
22267
|
+
}) : props.children);
|
22303
22268
|
};
|
22304
22269
|
|
22305
22270
|
const Page = /*#__PURE__*/React__default.forwardRef(function LayoutPage(props, ref) {
|