@cube-dev/ui-kit 0.187.2 → 0.188.0
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/CHANGELOG.md +33 -0
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.d.ts +4 -0
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Action/Action.js.map +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.js +2 -2
- package/dist/components/actions/Button/Button.js.map +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +3 -3
- package/dist/components/actions/ItemButton/ItemButton.js.map +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +7 -5
- package/dist/components/actions/Menu/MenuSection.js.map +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.d.ts +4 -0
- package/dist/components/actions/use-action.js +6 -1
- package/dist/components/actions/use-action.js.map +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.d.ts +7 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +6 -1
- package/dist/components/content/InfoBadge/InfoBadge.js.map +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Tree/Tree.js +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/data/DataTable/DataTable.js +31 -5
- package/dist/components/data/DataTable/DataTable.js.map +1 -1
- package/dist/components/data/DataTable/types.d.ts +3 -1
- package/dist/components/data/ItemTable/ItemTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableView.js +9 -7
- package/dist/components/data/TableBase/TableView.js.map +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-styles.js +82 -0
- package/dist/components/data/TableBase/column-styles.js.map +1 -0
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/styled.js +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/types.d.ts +11 -0
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/types.js.map +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-column-order.js +1 -1
- package/dist/components/data/TableBase/use-container-width.js +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/fields/ComboBox/ComboBox.d.ts +9 -4
- package/dist/components/fields/ComboBox/ComboBox.js +2 -1
- package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.js +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +46 -44
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.d.ts +2 -2
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +3 -3
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +2 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/fields/Picker/Picker.js +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.d.ts +9 -4
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +2 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +1 -1
- package/dist/components/fields/Select/Select.js +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TagInput/TagInput.js +170 -158
- package/dist/components/fields/TagInput/TagInput.js.map +1 -1
- package/dist/components/fields/TagInput/TagList.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.d.ts +2 -2
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js.map +1 -1
- package/dist/components/fields/TextInput/TextInputBase.d.ts +2 -2
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/reset-unbound-controls.js +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +1 -1
- package/dist/components/form/Form/use-field/use-field.js +1 -1
- package/dist/components/form/Form/use-form.js +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Label.js +1 -1
- package/dist/components/form/legacy-tooltip.js +1 -1
- package/dist/components/form/validation/ValidationIndicator.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/use-validation-props.js +1 -1
- package/dist/components/form/wrapper.js +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/layout/Board/Board.js +1 -1
- package/dist/components/layout/Board/BoardProvider.js +1 -1
- package/dist/components/layout/Board/BoardResponsive.js +1 -1
- package/dist/components/layout/Board/Widget.js +1 -1
- package/dist/components/layout/Board/WidgetHost.js +1 -1
- package/dist/components/layout/Board/board-context.js +1 -1
- package/dist/components/layout/Board/board-store.js +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js +1 -1
- package/dist/components/layout/Board/grid-core/collision-modes.js +1 -1
- package/dist/components/layout/Board/grid-core/collision.js +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js +1 -1
- package/dist/components/layout/Board/grid-core/constraints.js +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js +1 -1
- package/dist/components/layout/Board/grid-core/layout.js +1 -1
- package/dist/components/layout/Board/grid-core/placement.js +1 -1
- package/dist/components/layout/Board/grid-core/sort.js +1 -1
- package/dist/components/layout/Board/index.js +1 -1
- package/dist/components/layout/Board/responsive-utils.js +1 -1
- package/dist/components/layout/Board/use-board-layout.js +1 -1
- package/dist/components/layout/Board/use-board-registry.js +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
- package/dist/components/layout/Board/use-board-selection.js +1 -1
- package/dist/components/layout/Flex.js +1 -1
- package/dist/components/layout/Flow.js +1 -1
- package/dist/components/layout/Grid.js +1 -1
- package/dist/components/layout/Panel.js +1 -1
- package/dist/components/layout/Prefix.js +1 -1
- package/dist/components/layout/ResizablePanel.js +1 -1
- package/dist/components/layout/Space.js +1 -1
- package/dist/components/layout/Suffix.js +1 -1
- package/dist/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +470 -407
- package/dist/components/navigation/Tabs/TabButton.js.map +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +22 -4
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.d.ts +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/types.js.map +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +78 -116
- package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +2 -2
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.d.ts +2 -2
- package/dist/components/overlays/Dialog/DialogForm.js +4 -5
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +5 -6
- package/dist/components/overlays/Dialog/ModernDialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/default-button-text.js +30 -0
- package/dist/components/overlays/Dialog/default-button-text.js.map +1 -0
- package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.js +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +2 -2
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +4 -1
- package/dist/i18n/locales/en-US/uikit.js +4 -1
- package/dist/i18n/locales/en-US/uikit.json.d.ts +3 -0
- package/dist/i18n/locales/es-ES/uikit.js +4 -1
- package/dist/i18n/locales/es-MX/uikit.js +4 -1
- package/dist/i18n/locales/fr-FR/uikit.js +4 -1
- package/dist/i18n/locales/it-IT/uikit.js +4 -1
- package/dist/i18n/locales/ja-JP/uikit.js +4 -1
- package/dist/i18n/locales/nb-NO/uikit.js +4 -1
- package/dist/i18n/locales/pt-BR/uikit.js +4 -1
- package/dist/i18n/locales/pt-PT/uikit.js +4 -1
- package/dist/i18n/locales/sv-SE/uikit.js +4 -1
- package/dist/i18n/locales/vi-VN/uikit.js +4 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/shared/form.d.ts +29 -1
- package/dist/shared/index.d.ts +1 -1
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/resolve.js +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/escapePropagation.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +2 -2
- package/docs/components/actions/Action.md +1 -1
- package/docs/components/actions/Button.md +4 -2
- package/docs/components/actions/ItemButton.md +1 -0
- package/docs/components/actions/Link.md +1 -1
- package/docs/components/content/InfoBadge.md +1 -1
- package/docs/components/content/Item.md +1 -1
- package/docs/components/data/DataTable.md +18 -0
- package/docs/components/data/ItemTable.md +3 -1
- package/docs/components/fields/ComboBox.md +49 -1
- package/docs/components/fields/FilterPicker.md +3 -3
- package/docs/components/fields/NumberInput.md +27 -0
- package/docs/components/fields/PasswordInput.md +24 -0
- package/docs/components/fields/Picker.md +3 -3
- package/docs/components/fields/SearchComboBox.md +3 -1
- package/docs/components/fields/TagInput.md +4 -2
- package/docs/components/fields/TextArea.md +24 -0
- package/docs/components/fields/TextInput.md +24 -0
- package/docs/components/navigation/Tabs.md +8 -3
- package/docs/components/overlays/AlertDialog.md +3 -3
- package/docs/components/overlays/DialogForm.md +3 -3
- package/docs/components/overlays/UseDialogContainer.md +4 -7
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.188.0 | Cube Dev Team */
|
|
2
2
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
3
3
|
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
4
4
|
import { ItemAction } from "../../actions/ItemAction/ItemAction.js";
|
|
@@ -100,6 +100,35 @@ function disableTooltip(tooltip) {
|
|
|
100
100
|
return tooltip;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
+
* Scroll the tab strip, and only the strip, so the tab is fully inside it.
|
|
104
|
+
* Unlike `scrollIntoView` this never scrolls the page: it runs in response to a
|
|
105
|
+
* layout change rather than to the user, so it must not move anything else.
|
|
106
|
+
*/
|
|
107
|
+
function scrollTabIntoStrip(tab, placement) {
|
|
108
|
+
const strip = tab.closest("[data-element=\"Scroll\"]");
|
|
109
|
+
if (!strip) return;
|
|
110
|
+
const isVertical = placement === "left" || placement === "right";
|
|
111
|
+
const stripRect = strip.getBoundingClientRect();
|
|
112
|
+
const tabRect = tab.getBoundingClientRect();
|
|
113
|
+
const start = isVertical ? tabRect.top - stripRect.top : tabRect.left - stripRect.left;
|
|
114
|
+
const end = isVertical ? tabRect.bottom - stripRect.bottom : tabRect.right - stripRect.right;
|
|
115
|
+
const delta = start < 0 ? start : end > 0 ? Math.min(end, start) : 0;
|
|
116
|
+
if (!delta) return;
|
|
117
|
+
if (isVertical) strip.scrollTop += delta;
|
|
118
|
+
else strip.scrollLeft += delta;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Events on the tab bar that mean the user has taken over the strip's scroll
|
|
122
|
+
* position. Listened for on the whole `Bar`, not just the `Scroll` element: the
|
|
123
|
+
* custom scrollbar and the scroll arrows sit outside it.
|
|
124
|
+
*/
|
|
125
|
+
const STRIP_INTERACTION_EVENTS = [
|
|
126
|
+
"wheel",
|
|
127
|
+
"pointerdown",
|
|
128
|
+
"touchstart",
|
|
129
|
+
"keydown"
|
|
130
|
+
];
|
|
131
|
+
/**
|
|
103
132
|
* Individual tab button component.
|
|
104
133
|
*
|
|
105
134
|
* Uses TabsContext to access shared props, dramatically reducing prop drilling.
|
|
@@ -111,98 +140,107 @@ function disableTooltip(tooltip) {
|
|
|
111
140
|
* - Focus and hover states
|
|
112
141
|
*/
|
|
113
142
|
function TabButton(t0) {
|
|
114
|
-
const $ = c(
|
|
115
|
-
const { item, tabData, isLastTab } = t0;
|
|
143
|
+
const $ = c(200);
|
|
144
|
+
const { item, tabData, isLastTab, hasPanel: t1 } = t0;
|
|
145
|
+
const hasPanel = t1 === void 0 ? true : t1;
|
|
116
146
|
const { t } = useI18n();
|
|
117
|
-
let
|
|
147
|
+
let t2;
|
|
118
148
|
if ($[0] !== t) {
|
|
119
|
-
|
|
149
|
+
t2 = t("tabs.editTabTitle", "Edit tab title");
|
|
120
150
|
$[0] = t;
|
|
121
|
-
$[1] =
|
|
122
|
-
} else
|
|
123
|
-
const editTabTitleLabel =
|
|
151
|
+
$[1] = t2;
|
|
152
|
+
} else t2 = $[1];
|
|
153
|
+
const editTabTitleLabel = t2;
|
|
124
154
|
const { state, type, size, placement, autoHideActions: parentAutoHideActions, isEditable: parentIsEditable, menu: parentMenu, menuTriggerProps: parentMenuTriggerProps, menuProps: parentMenuProps, contextMenu: parentContextMenu, onAction: parentOnAction, onDelete, dragState, dropState, editingKey, startEditing, submitEditing, cancelEditing } = useTabsContext();
|
|
125
155
|
const ref = useRef(null);
|
|
126
156
|
const containerRef = useRef(null);
|
|
127
157
|
const inlineInputRef = useRef(null);
|
|
128
|
-
let
|
|
158
|
+
let t3;
|
|
129
159
|
if ($[2] !== item.key) {
|
|
130
|
-
|
|
160
|
+
t3 = { key: item.key };
|
|
131
161
|
$[2] = item.key;
|
|
132
|
-
$[3] =
|
|
133
|
-
} else
|
|
134
|
-
const { tabProps } = useTab(
|
|
162
|
+
$[3] = t3;
|
|
163
|
+
} else t3 = $[3];
|
|
164
|
+
const { tabProps: ariaTabProps } = useTab(t3, state, ref);
|
|
165
|
+
let tabPropsWithoutControls;
|
|
166
|
+
if ($[4] !== ariaTabProps) {
|
|
167
|
+
const { "aria-controls": _ariaControls, ...t4 } = ariaTabProps;
|
|
168
|
+
tabPropsWithoutControls = t4;
|
|
169
|
+
$[4] = ariaTabProps;
|
|
170
|
+
$[5] = tabPropsWithoutControls;
|
|
171
|
+
} else tabPropsWithoutControls = $[5];
|
|
172
|
+
const tabProps = hasPanel ? ariaTabProps : tabPropsWithoutControls;
|
|
135
173
|
const isDraggable = !!dragState && !!dropState;
|
|
136
|
-
let t3;
|
|
137
|
-
if ($[4] !== state.collection || $[5] !== state.selectionManager) {
|
|
138
|
-
t3 = createMockDragState(state.collection, state.selectionManager);
|
|
139
|
-
$[4] = state.collection;
|
|
140
|
-
$[5] = state.selectionManager;
|
|
141
|
-
$[6] = t3;
|
|
142
|
-
} else t3 = $[6];
|
|
143
|
-
const mockDragState = t3;
|
|
144
174
|
let t4;
|
|
145
|
-
if ($[7] !==
|
|
146
|
-
t4 =
|
|
147
|
-
$[
|
|
175
|
+
if ($[6] !== state.collection || $[7] !== state.selectionManager) {
|
|
176
|
+
t4 = createMockDragState(state.collection, state.selectionManager);
|
|
177
|
+
$[6] = state.collection;
|
|
178
|
+
$[7] = state.selectionManager;
|
|
148
179
|
$[8] = t4;
|
|
149
180
|
} else t4 = $[8];
|
|
150
|
-
const
|
|
181
|
+
const mockDragState = t4;
|
|
151
182
|
let t5;
|
|
152
|
-
if ($[9] !==
|
|
153
|
-
t5 =
|
|
154
|
-
$[9] =
|
|
155
|
-
$[10] =
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
183
|
+
if ($[9] !== item.key) {
|
|
184
|
+
t5 = { key: item.key };
|
|
185
|
+
$[9] = item.key;
|
|
186
|
+
$[10] = t5;
|
|
187
|
+
} else t5 = $[10];
|
|
188
|
+
const dragResult = useDraggableItem(t5, dragState ?? mockDragState);
|
|
189
|
+
let t6;
|
|
190
|
+
if ($[11] !== dragResult || $[12] !== isDraggable) {
|
|
191
|
+
t6 = isDraggable ? dragResult.dragProps : {};
|
|
192
|
+
$[11] = dragResult;
|
|
193
|
+
$[12] = isDraggable;
|
|
194
|
+
$[13] = t6;
|
|
195
|
+
} else t6 = $[13];
|
|
196
|
+
const effectiveDragProps = t6;
|
|
159
197
|
const isDragging = isDraggable && dragResult.isDragging;
|
|
160
198
|
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
161
|
-
let t6;
|
|
162
|
-
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
163
|
-
t6 = {};
|
|
164
|
-
$[12] = t6;
|
|
165
|
-
} else t6 = $[12];
|
|
166
|
-
const { hoverProps, isHovered } = useHover(t6);
|
|
167
|
-
const [isFocused, setIsFocused] = useState(false);
|
|
168
199
|
let t7;
|
|
169
|
-
if ($[
|
|
170
|
-
t7 = {
|
|
171
|
-
$[
|
|
172
|
-
} else t7 = $[
|
|
173
|
-
const {
|
|
200
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
201
|
+
t7 = {};
|
|
202
|
+
$[14] = t7;
|
|
203
|
+
} else t7 = $[14];
|
|
204
|
+
const { hoverProps, isHovered } = useHover(t7);
|
|
205
|
+
const [isFocused, setIsFocused] = useState(false);
|
|
206
|
+
let t8;
|
|
207
|
+
if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
208
|
+
t8 = { onFocusChange: setIsFocused };
|
|
209
|
+
$[15] = t8;
|
|
210
|
+
} else t8 = $[15];
|
|
211
|
+
const { focusProps } = useFocus(t8);
|
|
174
212
|
const { isFocusVisible } = useFocusVisible();
|
|
175
213
|
const [suppressFocusVisible, setSuppressFocusVisible] = useState(false);
|
|
176
214
|
const effectiveFocusVisible = isFocusVisible && !suppressFocusVisible;
|
|
177
215
|
const isActive = state.selectedKey === item.key;
|
|
178
|
-
let
|
|
179
|
-
if ($[
|
|
180
|
-
|
|
181
|
-
$[
|
|
182
|
-
$[
|
|
183
|
-
$[
|
|
184
|
-
} else
|
|
185
|
-
const isDisabled =
|
|
216
|
+
let t9;
|
|
217
|
+
if ($[16] !== item.key || $[17] !== state.disabledKeys) {
|
|
218
|
+
t9 = state.disabledKeys.has(item.key);
|
|
219
|
+
$[16] = item.key;
|
|
220
|
+
$[17] = state.disabledKeys;
|
|
221
|
+
$[18] = t9;
|
|
222
|
+
} else t9 = $[18];
|
|
223
|
+
const isDisabled = t9;
|
|
186
224
|
const isDeletable = !!onDelete;
|
|
187
225
|
const isEditing = editingKey === item.key;
|
|
188
226
|
const isBoardDragActive = useBoardDragActive();
|
|
189
227
|
const [isDropPending, setIsDropPending] = useState(false);
|
|
190
228
|
const springLoadTimerRef = useRef(null);
|
|
191
|
-
let
|
|
192
|
-
if ($[
|
|
193
|
-
|
|
229
|
+
let t10;
|
|
230
|
+
if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
231
|
+
t10 = () => {
|
|
194
232
|
if (springLoadTimerRef.current != null) {
|
|
195
233
|
clearTimeout(springLoadTimerRef.current);
|
|
196
234
|
springLoadTimerRef.current = null;
|
|
197
235
|
}
|
|
198
236
|
setIsDropPending(false);
|
|
199
237
|
};
|
|
200
|
-
$[
|
|
201
|
-
} else
|
|
202
|
-
const clearSpringLoad = useEvent(
|
|
203
|
-
let
|
|
204
|
-
if ($[
|
|
205
|
-
|
|
238
|
+
$[19] = t10;
|
|
239
|
+
} else t10 = $[19];
|
|
240
|
+
const clearSpringLoad = useEvent(t10);
|
|
241
|
+
let t11;
|
|
242
|
+
if ($[20] !== isActive || $[21] !== isBoardDragActive || $[22] !== isDisabled || $[23] !== item.key || $[24] !== state) {
|
|
243
|
+
t11 = () => {
|
|
206
244
|
if (!isBoardDragActive || isActive || isDisabled) return;
|
|
207
245
|
if (springLoadTimerRef.current != null) return;
|
|
208
246
|
setIsDropPending(true);
|
|
@@ -212,140 +250,140 @@ function TabButton(t0) {
|
|
|
212
250
|
state.setSelectedKey(item.key);
|
|
213
251
|
}, SPRING_LOAD_DELAY);
|
|
214
252
|
};
|
|
215
|
-
$[
|
|
216
|
-
$[
|
|
217
|
-
$[
|
|
218
|
-
$[
|
|
219
|
-
$[
|
|
220
|
-
$[
|
|
221
|
-
} else
|
|
222
|
-
const handleSpringLoadEnter = useEvent(
|
|
223
|
-
let t11;
|
|
253
|
+
$[20] = isActive;
|
|
254
|
+
$[21] = isBoardDragActive;
|
|
255
|
+
$[22] = isDisabled;
|
|
256
|
+
$[23] = item.key;
|
|
257
|
+
$[24] = state;
|
|
258
|
+
$[25] = t11;
|
|
259
|
+
} else t11 = $[25];
|
|
260
|
+
const handleSpringLoadEnter = useEvent(t11);
|
|
224
261
|
let t12;
|
|
225
|
-
|
|
226
|
-
|
|
262
|
+
let t13;
|
|
263
|
+
if ($[26] !== clearSpringLoad || $[27] !== isBoardDragActive) {
|
|
264
|
+
t12 = () => {
|
|
227
265
|
if (!isBoardDragActive) clearSpringLoad();
|
|
228
266
|
return clearSpringLoad;
|
|
229
267
|
};
|
|
230
|
-
|
|
231
|
-
$[
|
|
232
|
-
$[
|
|
233
|
-
$[
|
|
234
|
-
$[
|
|
268
|
+
t13 = [isBoardDragActive, clearSpringLoad];
|
|
269
|
+
$[26] = clearSpringLoad;
|
|
270
|
+
$[27] = isBoardDragActive;
|
|
271
|
+
$[28] = t12;
|
|
272
|
+
$[29] = t13;
|
|
235
273
|
} else {
|
|
236
|
-
|
|
237
|
-
|
|
274
|
+
t12 = $[28];
|
|
275
|
+
t13 = $[29];
|
|
238
276
|
}
|
|
239
|
-
useEffect(
|
|
277
|
+
useEffect(t12, t13);
|
|
240
278
|
const effectiveIsEditable = (tabData.isEditable ?? parentIsEditable ?? false) && tabData.title != null;
|
|
241
279
|
const effectiveMenu = tabData.menu === null ? null : tabData.menu ?? parentMenu;
|
|
242
|
-
let
|
|
243
|
-
if ($[
|
|
244
|
-
|
|
280
|
+
let t14;
|
|
281
|
+
if ($[30] !== parentMenuTriggerProps || $[31] !== tabData.menuTriggerProps) {
|
|
282
|
+
t14 = {
|
|
245
283
|
...parentMenuTriggerProps,
|
|
246
284
|
...tabData.menuTriggerProps
|
|
247
285
|
};
|
|
248
|
-
$[
|
|
249
|
-
$[
|
|
250
|
-
$[
|
|
251
|
-
} else
|
|
252
|
-
const effectiveMenuTriggerProps =
|
|
253
|
-
let
|
|
254
|
-
if ($[
|
|
255
|
-
|
|
286
|
+
$[30] = parentMenuTriggerProps;
|
|
287
|
+
$[31] = tabData.menuTriggerProps;
|
|
288
|
+
$[32] = t14;
|
|
289
|
+
} else t14 = $[32];
|
|
290
|
+
const effectiveMenuTriggerProps = t14;
|
|
291
|
+
let t15;
|
|
292
|
+
if ($[33] !== parentMenuProps || $[34] !== tabData.menuProps) {
|
|
293
|
+
t15 = {
|
|
256
294
|
...parentMenuProps,
|
|
257
295
|
...tabData.menuProps
|
|
258
296
|
};
|
|
259
|
-
$[
|
|
260
|
-
$[
|
|
261
|
-
$[
|
|
262
|
-
} else
|
|
263
|
-
const effectiveMenuProps =
|
|
297
|
+
$[33] = parentMenuProps;
|
|
298
|
+
$[34] = tabData.menuProps;
|
|
299
|
+
$[35] = t15;
|
|
300
|
+
} else t15 = $[35];
|
|
301
|
+
const effectiveMenuProps = t15;
|
|
264
302
|
const effectiveContextMenu = tabData.contextMenu ?? parentContextMenu ?? false;
|
|
265
303
|
const effectiveType = type ?? "default";
|
|
266
304
|
const contextMenuEnabled = effectiveContextMenu === true || effectiveContextMenu === "context-only";
|
|
267
305
|
const contextMenuOnly = effectiveContextMenu === "context-only";
|
|
268
|
-
let t15;
|
|
269
|
-
if ($[34] !== contextMenuOnly || $[35] !== effectiveMenu || $[36] !== isDeletable) {
|
|
270
|
-
t15 = isDeletable && (isMenuEmpty(effectiveMenu) || contextMenuOnly);
|
|
271
|
-
$[34] = contextMenuOnly;
|
|
272
|
-
$[35] = effectiveMenu;
|
|
273
|
-
$[36] = isDeletable;
|
|
274
|
-
$[37] = t15;
|
|
275
|
-
} else t15 = $[37];
|
|
276
|
-
const showDeleteButton = t15;
|
|
277
306
|
let t16;
|
|
278
|
-
if ($[
|
|
279
|
-
t16 =
|
|
280
|
-
$[
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
$[
|
|
284
|
-
} else t16 = $[
|
|
285
|
-
const
|
|
286
|
-
const itemKeyStr = String(item.key);
|
|
307
|
+
if ($[36] !== contextMenuOnly || $[37] !== effectiveMenu || $[38] !== isDeletable) {
|
|
308
|
+
t16 = isDeletable && (isMenuEmpty(effectiveMenu) || contextMenuOnly);
|
|
309
|
+
$[36] = contextMenuOnly;
|
|
310
|
+
$[37] = effectiveMenu;
|
|
311
|
+
$[38] = isDeletable;
|
|
312
|
+
$[39] = t16;
|
|
313
|
+
} else t16 = $[39];
|
|
314
|
+
const showDeleteButton = t16;
|
|
287
315
|
let t17;
|
|
288
|
-
if ($[
|
|
289
|
-
t17 = ()
|
|
316
|
+
if ($[40] !== effectiveIsEditable || $[41] !== effectiveMenu || $[42] !== isDeletable) {
|
|
317
|
+
t17 = effectiveMenu && !isMenuEmpty(effectiveMenu) ? processMenuItems(effectiveMenu, effectiveIsEditable, isDeletable) : null;
|
|
318
|
+
$[40] = effectiveIsEditable;
|
|
319
|
+
$[41] = effectiveMenu;
|
|
320
|
+
$[42] = isDeletable;
|
|
321
|
+
$[43] = t17;
|
|
322
|
+
} else t17 = $[43];
|
|
323
|
+
const processedMenu = t17;
|
|
324
|
+
const itemKeyStr = String(item.key);
|
|
325
|
+
let t18;
|
|
326
|
+
if ($[44] !== itemKeyStr || $[45] !== onDelete) {
|
|
327
|
+
t18 = () => {
|
|
290
328
|
onDelete?.(itemKeyStr);
|
|
291
329
|
};
|
|
292
|
-
$[
|
|
293
|
-
$[
|
|
294
|
-
$[
|
|
295
|
-
} else
|
|
296
|
-
const handleDelete = useEvent(
|
|
330
|
+
$[44] = itemKeyStr;
|
|
331
|
+
$[45] = onDelete;
|
|
332
|
+
$[46] = t18;
|
|
333
|
+
} else t18 = $[46];
|
|
334
|
+
const handleDelete = useEvent(t18);
|
|
297
335
|
const titleString = typeof tabData.title === "string" ? tabData.title : itemKeyStr;
|
|
298
|
-
let
|
|
299
|
-
if ($[
|
|
300
|
-
|
|
336
|
+
let t19;
|
|
337
|
+
if ($[47] !== effectiveIsEditable || $[48] !== isDisabled || $[49] !== itemKeyStr || $[50] !== startEditing || $[51] !== titleString) {
|
|
338
|
+
t19 = () => {
|
|
301
339
|
if (!effectiveIsEditable || isDisabled) return;
|
|
302
340
|
startEditing(itemKeyStr, titleString);
|
|
303
341
|
};
|
|
304
|
-
$[
|
|
305
|
-
$[
|
|
306
|
-
$[
|
|
307
|
-
$[
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
310
|
-
} else
|
|
311
|
-
const handleStartEditing = useEvent(
|
|
312
|
-
let
|
|
313
|
-
if ($[
|
|
314
|
-
|
|
342
|
+
$[47] = effectiveIsEditable;
|
|
343
|
+
$[48] = isDisabled;
|
|
344
|
+
$[49] = itemKeyStr;
|
|
345
|
+
$[50] = startEditing;
|
|
346
|
+
$[51] = titleString;
|
|
347
|
+
$[52] = t19;
|
|
348
|
+
} else t19 = $[52];
|
|
349
|
+
const handleStartEditing = useEvent(t19);
|
|
350
|
+
let t20;
|
|
351
|
+
if ($[53] !== itemKeyStr || $[54] !== submitEditing || $[55] !== tabData.onTitleChange) {
|
|
352
|
+
t20 = (newTitle) => {
|
|
315
353
|
submitEditing(itemKeyStr, newTitle, tabData.onTitleChange);
|
|
316
354
|
setSuppressFocusVisible(true);
|
|
317
355
|
ref.current?.focus();
|
|
318
356
|
};
|
|
319
|
-
$[
|
|
320
|
-
$[
|
|
321
|
-
$[
|
|
322
|
-
$[
|
|
323
|
-
} else
|
|
324
|
-
const handleSubmitEditing = useEvent(
|
|
325
|
-
let
|
|
326
|
-
if ($[
|
|
327
|
-
|
|
357
|
+
$[53] = itemKeyStr;
|
|
358
|
+
$[54] = submitEditing;
|
|
359
|
+
$[55] = tabData.onTitleChange;
|
|
360
|
+
$[56] = t20;
|
|
361
|
+
} else t20 = $[56];
|
|
362
|
+
const handleSubmitEditing = useEvent(t20);
|
|
363
|
+
let t21;
|
|
364
|
+
if ($[57] !== cancelEditing) {
|
|
365
|
+
t21 = () => {
|
|
328
366
|
cancelEditing();
|
|
329
367
|
setSuppressFocusVisible(true);
|
|
330
368
|
ref.current?.focus();
|
|
331
369
|
};
|
|
332
|
-
$[
|
|
333
|
-
$[
|
|
334
|
-
} else
|
|
335
|
-
const handleCancelEditing = useEvent(
|
|
336
|
-
let
|
|
337
|
-
if ($[
|
|
338
|
-
|
|
370
|
+
$[57] = cancelEditing;
|
|
371
|
+
$[58] = t21;
|
|
372
|
+
} else t21 = $[58];
|
|
373
|
+
const handleCancelEditing = useEvent(t21);
|
|
374
|
+
let t22;
|
|
375
|
+
if ($[59] !== handleStartEditing || $[60] !== isEditing) {
|
|
376
|
+
t22 = (editing) => {
|
|
339
377
|
if (editing && !isEditing) handleStartEditing();
|
|
340
378
|
};
|
|
341
|
-
$[
|
|
342
|
-
$[
|
|
343
|
-
$[
|
|
344
|
-
} else
|
|
345
|
-
const handleEditingChange = useEvent(
|
|
346
|
-
let
|
|
347
|
-
if ($[
|
|
348
|
-
|
|
379
|
+
$[59] = handleStartEditing;
|
|
380
|
+
$[60] = isEditing;
|
|
381
|
+
$[61] = t22;
|
|
382
|
+
} else t22 = $[61];
|
|
383
|
+
const handleEditingChange = useEvent(t22);
|
|
384
|
+
let t23;
|
|
385
|
+
if ($[62] !== effectiveIsEditable || $[63] !== isDeletable || $[64] !== itemKeyStr || $[65] !== onDelete || $[66] !== parentOnAction || $[67] !== tabData) {
|
|
386
|
+
t23 = (action) => {
|
|
349
387
|
const actionStr = String(action);
|
|
350
388
|
const normalizedAction = actionStr.startsWith(".$") ? actionStr.slice(2) : actionStr;
|
|
351
389
|
if (normalizedAction === "rename" && effectiveIsEditable) inlineInputRef.current?.startEditing();
|
|
@@ -353,51 +391,51 @@ function TabButton(t0) {
|
|
|
353
391
|
tabData.onAction?.(normalizedAction);
|
|
354
392
|
parentOnAction?.(normalizedAction, itemKeyStr);
|
|
355
393
|
};
|
|
356
|
-
$[
|
|
357
|
-
$[
|
|
358
|
-
$[
|
|
359
|
-
$[
|
|
360
|
-
$[
|
|
361
|
-
$[
|
|
362
|
-
$[
|
|
363
|
-
} else
|
|
364
|
-
const handleMenuAction = useEvent(
|
|
365
|
-
let
|
|
366
|
-
if ($[
|
|
367
|
-
|
|
394
|
+
$[62] = effectiveIsEditable;
|
|
395
|
+
$[63] = isDeletable;
|
|
396
|
+
$[64] = itemKeyStr;
|
|
397
|
+
$[65] = onDelete;
|
|
398
|
+
$[66] = parentOnAction;
|
|
399
|
+
$[67] = tabData;
|
|
400
|
+
$[68] = t23;
|
|
401
|
+
} else t23 = $[68];
|
|
402
|
+
const handleMenuAction = useEvent(t23);
|
|
403
|
+
let t24;
|
|
404
|
+
if ($[69] !== effectiveMenuProps || $[70] !== handleMenuAction || $[71] !== processedMenu) {
|
|
405
|
+
t24 = processedMenu ? /* @__PURE__ */ jsx(__Menu, {
|
|
368
406
|
...effectiveMenuProps,
|
|
369
407
|
onAction: handleMenuAction,
|
|
370
408
|
children: processedMenu
|
|
371
409
|
}) : null;
|
|
372
|
-
$[
|
|
373
|
-
$[
|
|
374
|
-
$[
|
|
375
|
-
$[70] = t23;
|
|
376
|
-
} else t23 = $[70];
|
|
377
|
-
const menuElement = t23;
|
|
378
|
-
const menuPopoverPlacement = POPOVER_PLACEMENT_BY_TABS_PLACEMENT[placement];
|
|
379
|
-
let t24;
|
|
380
|
-
if ($[71] !== menuPopoverPlacement) {
|
|
381
|
-
t24 = { placement: menuPopoverPlacement };
|
|
382
|
-
$[71] = menuPopoverPlacement;
|
|
410
|
+
$[69] = effectiveMenuProps;
|
|
411
|
+
$[70] = handleMenuAction;
|
|
412
|
+
$[71] = processedMenu;
|
|
383
413
|
$[72] = t24;
|
|
384
414
|
} else t24 = $[72];
|
|
415
|
+
const menuElement = t24;
|
|
416
|
+
const menuPopoverPlacement = POPOVER_PLACEMENT_BY_TABS_PLACEMENT[placement];
|
|
385
417
|
let t25;
|
|
386
|
-
if ($[73] !==
|
|
387
|
-
t25 = {
|
|
418
|
+
if ($[73] !== menuPopoverPlacement) {
|
|
419
|
+
t25 = { placement: menuPopoverPlacement };
|
|
420
|
+
$[73] = menuPopoverPlacement;
|
|
421
|
+
$[74] = t25;
|
|
422
|
+
} else t25 = $[74];
|
|
423
|
+
let t26;
|
|
424
|
+
if ($[75] !== effectiveMenuProps || $[76] !== handleMenuAction || $[77] !== processedMenu) {
|
|
425
|
+
t26 = {
|
|
388
426
|
...effectiveMenuProps,
|
|
389
427
|
onAction: handleMenuAction,
|
|
390
428
|
children: processedMenu
|
|
391
429
|
};
|
|
392
|
-
$[
|
|
393
|
-
$[
|
|
394
|
-
$[
|
|
395
|
-
$[
|
|
396
|
-
} else
|
|
397
|
-
const contextMenu = useContextMenu(__Menu,
|
|
398
|
-
let
|
|
399
|
-
if ($[
|
|
400
|
-
|
|
430
|
+
$[75] = effectiveMenuProps;
|
|
431
|
+
$[76] = handleMenuAction;
|
|
432
|
+
$[77] = processedMenu;
|
|
433
|
+
$[78] = t26;
|
|
434
|
+
} else t26 = $[78];
|
|
435
|
+
const contextMenu = useContextMenu(__Menu, t25, t26);
|
|
436
|
+
let t27;
|
|
437
|
+
if ($[79] !== contextMenu || $[80] !== contextMenuOnly || $[81] !== effectiveIsEditable || $[82] !== isDeletable || $[83] !== isDisabled || $[84] !== isEditing || $[85] !== itemKeyStr || $[86] !== onDelete || $[87] !== processedMenu || $[88] !== suppressFocusVisible) {
|
|
438
|
+
t27 = (e) => {
|
|
401
439
|
if (suppressFocusVisible) setSuppressFocusVisible(false);
|
|
402
440
|
if (e.key === "F2" && effectiveIsEditable && !isDisabled) {
|
|
403
441
|
e.preventDefault();
|
|
@@ -415,22 +453,22 @@ function TabButton(t0) {
|
|
|
415
453
|
onDelete?.(itemKeyStr);
|
|
416
454
|
}
|
|
417
455
|
};
|
|
418
|
-
$[
|
|
419
|
-
$[
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
423
|
-
$[
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
$[
|
|
427
|
-
$[
|
|
428
|
-
$[
|
|
429
|
-
} else
|
|
430
|
-
const handleKeyDown = useEvent(
|
|
431
|
-
let
|
|
432
|
-
if ($[
|
|
433
|
-
|
|
456
|
+
$[79] = contextMenu;
|
|
457
|
+
$[80] = contextMenuOnly;
|
|
458
|
+
$[81] = effectiveIsEditable;
|
|
459
|
+
$[82] = isDeletable;
|
|
460
|
+
$[83] = isDisabled;
|
|
461
|
+
$[84] = isEditing;
|
|
462
|
+
$[85] = itemKeyStr;
|
|
463
|
+
$[86] = onDelete;
|
|
464
|
+
$[87] = processedMenu;
|
|
465
|
+
$[88] = suppressFocusVisible;
|
|
466
|
+
$[89] = t27;
|
|
467
|
+
} else t27 = $[89];
|
|
468
|
+
const handleKeyDown = useEvent(t27);
|
|
469
|
+
let t28;
|
|
470
|
+
if ($[90] !== effectiveFocusVisible || $[91] !== effectiveType || $[92] !== isActive || $[93] !== isDeletable || $[94] !== isDisabled || $[95] !== isDraggable || $[96] !== isDragging || $[97] !== isDropPending || $[98] !== isEditing || $[99] !== isFocused || $[100] !== isHovered || $[101] !== placement) {
|
|
471
|
+
t28 = {
|
|
434
472
|
type: effectiveType,
|
|
435
473
|
placement,
|
|
436
474
|
active: isActive,
|
|
@@ -444,42 +482,67 @@ function TabButton(t0) {
|
|
|
444
482
|
dragging: isDragging,
|
|
445
483
|
"drop-pending": isDropPending
|
|
446
484
|
};
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
$[
|
|
454
|
-
$[
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
} else
|
|
461
|
-
const mods =
|
|
462
|
-
let t28;
|
|
485
|
+
$[90] = effectiveFocusVisible;
|
|
486
|
+
$[91] = effectiveType;
|
|
487
|
+
$[92] = isActive;
|
|
488
|
+
$[93] = isDeletable;
|
|
489
|
+
$[94] = isDisabled;
|
|
490
|
+
$[95] = isDraggable;
|
|
491
|
+
$[96] = isDragging;
|
|
492
|
+
$[97] = isDropPending;
|
|
493
|
+
$[98] = isEditing;
|
|
494
|
+
$[99] = isFocused;
|
|
495
|
+
$[100] = isHovered;
|
|
496
|
+
$[101] = placement;
|
|
497
|
+
$[102] = t28;
|
|
498
|
+
} else t28 = $[102];
|
|
499
|
+
const mods = t28;
|
|
463
500
|
let t29;
|
|
464
|
-
if ($[
|
|
465
|
-
|
|
466
|
-
if (ref.current
|
|
501
|
+
if ($[103] !== placement) {
|
|
502
|
+
t29 = () => {
|
|
503
|
+
if (ref.current) scrollTabIntoStrip(ref.current, placement);
|
|
504
|
+
};
|
|
505
|
+
$[103] = placement;
|
|
506
|
+
$[104] = t29;
|
|
507
|
+
} else t29 = $[104];
|
|
508
|
+
const keepActiveTabInStrip = useEvent(t29);
|
|
509
|
+
let t30;
|
|
510
|
+
let t31;
|
|
511
|
+
if ($[105] !== isActive || $[106] !== keepActiveTabInStrip) {
|
|
512
|
+
t30 = () => {
|
|
513
|
+
const tab = ref.current;
|
|
514
|
+
if (!tab || !isActive) return;
|
|
515
|
+
tab.scrollIntoView?.({
|
|
467
516
|
block: "nearest",
|
|
468
517
|
inline: "nearest"
|
|
469
518
|
});
|
|
519
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
520
|
+
const bar = tab.closest("[data-element=\"Bar\"]");
|
|
521
|
+
const observer = new ResizeObserver(keepActiveTabInStrip);
|
|
522
|
+
const stopFollowing = () => {
|
|
523
|
+
observer.disconnect();
|
|
524
|
+
for (const type_0 of STRIP_INTERACTION_EVENTS) bar?.removeEventListener(type_0, stopFollowing, true);
|
|
525
|
+
};
|
|
526
|
+
observer.observe(tab);
|
|
527
|
+
for (const type_1 of STRIP_INTERACTION_EVENTS) bar?.addEventListener(type_1, stopFollowing, {
|
|
528
|
+
capture: true,
|
|
529
|
+
passive: true
|
|
530
|
+
});
|
|
531
|
+
return stopFollowing;
|
|
470
532
|
};
|
|
471
|
-
|
|
472
|
-
$[
|
|
473
|
-
$[
|
|
474
|
-
$[
|
|
533
|
+
t31 = [isActive, keepActiveTabInStrip];
|
|
534
|
+
$[105] = isActive;
|
|
535
|
+
$[106] = keepActiveTabInStrip;
|
|
536
|
+
$[107] = t30;
|
|
537
|
+
$[108] = t31;
|
|
475
538
|
} else {
|
|
476
|
-
|
|
477
|
-
|
|
539
|
+
t30 = $[107];
|
|
540
|
+
t31 = $[108];
|
|
478
541
|
}
|
|
479
|
-
useEffect(
|
|
480
|
-
let
|
|
481
|
-
if ($[
|
|
482
|
-
|
|
542
|
+
useEffect(t30, t31);
|
|
543
|
+
let t32;
|
|
544
|
+
if ($[109] !== contextMenuOnly || $[110] !== effectiveMenuTriggerProps || $[111] !== isMenuOpen || $[112] !== menuElement || $[113] !== menuPopoverPlacement) {
|
|
545
|
+
t32 = menuElement && !contextMenuOnly ? /* @__PURE__ */ jsxs(_MenuTrigger, {
|
|
483
546
|
isOpen: isMenuOpen,
|
|
484
547
|
placement: menuPopoverPlacement,
|
|
485
548
|
onOpenChange: setIsMenuOpen,
|
|
@@ -489,41 +552,41 @@ function TabButton(t0) {
|
|
|
489
552
|
...effectiveMenuTriggerProps
|
|
490
553
|
}), menuElement]
|
|
491
554
|
}) : null;
|
|
492
|
-
$[
|
|
493
|
-
$[
|
|
494
|
-
$[
|
|
495
|
-
$[
|
|
496
|
-
$[
|
|
497
|
-
$[
|
|
498
|
-
} else
|
|
499
|
-
const menuAction =
|
|
500
|
-
let
|
|
501
|
-
if ($[
|
|
502
|
-
|
|
555
|
+
$[109] = contextMenuOnly;
|
|
556
|
+
$[110] = effectiveMenuTriggerProps;
|
|
557
|
+
$[111] = isMenuOpen;
|
|
558
|
+
$[112] = menuElement;
|
|
559
|
+
$[113] = menuPopoverPlacement;
|
|
560
|
+
$[114] = t32;
|
|
561
|
+
} else t32 = $[114];
|
|
562
|
+
const menuAction = t32;
|
|
563
|
+
let t33;
|
|
564
|
+
if ($[115] !== handleDelete || $[116] !== showDeleteButton || $[117] !== t) {
|
|
565
|
+
t33 = showDeleteButton ? /* @__PURE__ */ jsx(ItemAction, {
|
|
503
566
|
tabIndex: -1,
|
|
504
567
|
icon: /* @__PURE__ */ jsx(CloseIcon, {}),
|
|
505
568
|
tooltip: t("tabs.close", "Close"),
|
|
506
569
|
onPress: handleDelete
|
|
507
570
|
}) : null;
|
|
508
|
-
$[
|
|
509
|
-
$[
|
|
510
|
-
$[
|
|
511
|
-
$[
|
|
512
|
-
} else
|
|
513
|
-
const deleteAction =
|
|
514
|
-
let
|
|
515
|
-
if ($[
|
|
516
|
-
|
|
571
|
+
$[115] = handleDelete;
|
|
572
|
+
$[116] = showDeleteButton;
|
|
573
|
+
$[117] = t;
|
|
574
|
+
$[118] = t33;
|
|
575
|
+
} else t33 = $[118];
|
|
576
|
+
const deleteAction = t33;
|
|
577
|
+
let t34;
|
|
578
|
+
if ($[119] !== deleteAction || $[120] !== menuAction || $[121] !== tabData.actions) {
|
|
579
|
+
t34 = tabData.actions || menuAction || deleteAction ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
517
580
|
tabData.actions,
|
|
518
581
|
menuAction,
|
|
519
582
|
deleteAction
|
|
520
583
|
] }) : void 0;
|
|
521
|
-
$[
|
|
522
|
-
$[
|
|
523
|
-
$[
|
|
524
|
-
$[
|
|
525
|
-
} else
|
|
526
|
-
const actions =
|
|
584
|
+
$[119] = deleteAction;
|
|
585
|
+
$[120] = menuAction;
|
|
586
|
+
$[121] = tabData.actions;
|
|
587
|
+
$[122] = t34;
|
|
588
|
+
} else t34 = $[122];
|
|
589
|
+
const actions = t34;
|
|
527
590
|
const effectiveSize = tabData.size ?? size ?? "medium";
|
|
528
591
|
const itemSize = effectiveType === "radio" ? RADIO_SIZE_MAP[effectiveSize === "large" ? "large" : "medium"] : effectiveSize;
|
|
529
592
|
const itemShape = effectiveType === "file" ? "sharp" : void 0;
|
|
@@ -533,46 +596,46 @@ function TabButton(t0) {
|
|
|
533
596
|
let qaVal;
|
|
534
597
|
let styles;
|
|
535
598
|
let tabTooltip;
|
|
536
|
-
if ($[
|
|
537
|
-
const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip:
|
|
538
|
-
tabTooltip =
|
|
539
|
-
qa =
|
|
540
|
-
qaVal =
|
|
541
|
-
styles =
|
|
542
|
-
itemStyleProps =
|
|
543
|
-
$[
|
|
544
|
-
$[
|
|
545
|
-
$[
|
|
546
|
-
$[
|
|
547
|
-
$[
|
|
548
|
-
$[
|
|
599
|
+
if ($[123] !== tabData) {
|
|
600
|
+
const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip: t35, qa: t36, qaVal: t37, styles: t38, ...t39 } = tabData;
|
|
601
|
+
tabTooltip = t35;
|
|
602
|
+
qa = t36;
|
|
603
|
+
qaVal = t37;
|
|
604
|
+
styles = t38;
|
|
605
|
+
itemStyleProps = t39;
|
|
606
|
+
$[123] = tabData;
|
|
607
|
+
$[124] = itemStyleProps;
|
|
608
|
+
$[125] = qa;
|
|
609
|
+
$[126] = qaVal;
|
|
610
|
+
$[127] = styles;
|
|
611
|
+
$[128] = tabTooltip;
|
|
549
612
|
} else {
|
|
550
|
-
itemStyleProps = $[
|
|
551
|
-
qa = $[
|
|
552
|
-
qaVal = $[
|
|
553
|
-
styles = $[
|
|
554
|
-
tabTooltip = $[
|
|
613
|
+
itemStyleProps = $[124];
|
|
614
|
+
qa = $[125];
|
|
615
|
+
qaVal = $[126];
|
|
616
|
+
styles = $[127];
|
|
617
|
+
tabTooltip = $[128];
|
|
555
618
|
}
|
|
556
|
-
let t33;
|
|
557
|
-
if ($[124] !== tabData.title) {
|
|
558
|
-
t33 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
|
|
559
|
-
$[124] = tabData.title;
|
|
560
|
-
$[125] = t33;
|
|
561
|
-
} else t33 = $[125];
|
|
562
|
-
const renderTitleDisplay = t33;
|
|
563
|
-
let t34;
|
|
564
|
-
if ($[126] !== effectiveIsEditable || $[127] !== isEditing || $[128] !== renderTitleDisplay || $[129] !== tabTooltip) {
|
|
565
|
-
t34 = !effectiveIsEditable ? tabTooltip : !renderTitleDisplay ? false : isEditing ? disableTooltip(tabTooltip) : tabTooltip;
|
|
566
|
-
$[126] = effectiveIsEditable;
|
|
567
|
-
$[127] = isEditing;
|
|
568
|
-
$[128] = renderTitleDisplay;
|
|
569
|
-
$[129] = tabTooltip;
|
|
570
|
-
$[130] = t34;
|
|
571
|
-
} else t34 = $[130];
|
|
572
|
-
const tabElementTooltip = t34;
|
|
573
619
|
let t35;
|
|
574
|
-
if ($[
|
|
575
|
-
t35 =
|
|
620
|
+
if ($[129] !== tabData.title) {
|
|
621
|
+
t35 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
|
|
622
|
+
$[129] = tabData.title;
|
|
623
|
+
$[130] = t35;
|
|
624
|
+
} else t35 = $[130];
|
|
625
|
+
const renderTitleDisplay = t35;
|
|
626
|
+
let t36;
|
|
627
|
+
if ($[131] !== effectiveIsEditable || $[132] !== isEditing || $[133] !== renderTitleDisplay || $[134] !== tabTooltip) {
|
|
628
|
+
t36 = !effectiveIsEditable ? tabTooltip : !renderTitleDisplay ? false : isEditing ? disableTooltip(tabTooltip) : tabTooltip;
|
|
629
|
+
$[131] = effectiveIsEditable;
|
|
630
|
+
$[132] = isEditing;
|
|
631
|
+
$[133] = renderTitleDisplay;
|
|
632
|
+
$[134] = tabTooltip;
|
|
633
|
+
$[135] = t36;
|
|
634
|
+
} else t36 = $[135];
|
|
635
|
+
const tabElementTooltip = t36;
|
|
636
|
+
let t37;
|
|
637
|
+
if ($[136] !== editTabTitleLabel || $[137] !== effectiveIsEditable || $[138] !== handleCancelEditing || $[139] !== handleEditingChange || $[140] !== handleSubmitEditing || $[141] !== isDisabled || $[142] !== isEditing || $[143] !== renderTitleDisplay || $[144] !== tabData.title || $[145] !== tabTooltip || $[146] !== titleString) {
|
|
638
|
+
t37 = effectiveIsEditable ? /* @__PURE__ */ jsx(InlineInput, {
|
|
576
639
|
ref: inlineInputRef,
|
|
577
640
|
value: titleString,
|
|
578
641
|
isEditing,
|
|
@@ -586,42 +649,42 @@ function TabButton(t0) {
|
|
|
586
649
|
onSubmit: handleSubmitEditing,
|
|
587
650
|
onCancel: handleCancelEditing
|
|
588
651
|
}) : tabData.title;
|
|
589
|
-
$[
|
|
590
|
-
$[
|
|
591
|
-
$[
|
|
592
|
-
$[
|
|
593
|
-
$[
|
|
594
|
-
$[
|
|
595
|
-
$[
|
|
596
|
-
$[
|
|
597
|
-
$[
|
|
598
|
-
$[
|
|
599
|
-
$[
|
|
600
|
-
$[
|
|
601
|
-
} else
|
|
602
|
-
const titleContent =
|
|
652
|
+
$[136] = editTabTitleLabel;
|
|
653
|
+
$[137] = effectiveIsEditable;
|
|
654
|
+
$[138] = handleCancelEditing;
|
|
655
|
+
$[139] = handleEditingChange;
|
|
656
|
+
$[140] = handleSubmitEditing;
|
|
657
|
+
$[141] = isDisabled;
|
|
658
|
+
$[142] = isEditing;
|
|
659
|
+
$[143] = renderTitleDisplay;
|
|
660
|
+
$[144] = tabData.title;
|
|
661
|
+
$[145] = tabTooltip;
|
|
662
|
+
$[146] = titleString;
|
|
663
|
+
$[147] = t37;
|
|
664
|
+
} else t37 = $[147];
|
|
665
|
+
const titleContent = t37;
|
|
603
666
|
const effectiveContainerRef = contextMenuEnabled && processedMenu ? contextMenu.targetRef : containerRef;
|
|
604
|
-
let
|
|
605
|
-
if ($[
|
|
606
|
-
|
|
607
|
-
$[
|
|
608
|
-
$[
|
|
609
|
-
} else
|
|
610
|
-
const ariaProps =
|
|
611
|
-
let
|
|
612
|
-
if ($[
|
|
613
|
-
|
|
667
|
+
let t38;
|
|
668
|
+
if ($[148] !== processedMenu) {
|
|
669
|
+
t38 = processedMenu ? { "aria-haspopup": "menu" } : {};
|
|
670
|
+
$[148] = processedMenu;
|
|
671
|
+
$[149] = t38;
|
|
672
|
+
} else t38 = $[149];
|
|
673
|
+
const ariaProps = t38;
|
|
674
|
+
let t39;
|
|
675
|
+
if ($[150] !== effectiveAutoHideActions || $[151] !== mods) {
|
|
676
|
+
t39 = {
|
|
614
677
|
...mods,
|
|
615
678
|
"auto-hide-actions": effectiveAutoHideActions
|
|
616
679
|
};
|
|
617
|
-
$[
|
|
618
|
-
$[
|
|
619
|
-
$[
|
|
620
|
-
} else
|
|
621
|
-
const containerMods =
|
|
622
|
-
let
|
|
623
|
-
if ($[
|
|
624
|
-
|
|
680
|
+
$[150] = effectiveAutoHideActions;
|
|
681
|
+
$[151] = mods;
|
|
682
|
+
$[152] = t39;
|
|
683
|
+
} else t39 = $[152];
|
|
684
|
+
const containerMods = t39;
|
|
685
|
+
let t40;
|
|
686
|
+
if ($[153] !== dropState || $[154] !== isDraggable || $[155] !== item.key) {
|
|
687
|
+
t40 = isDraggable && dropState && /* @__PURE__ */ jsx(TabDropIndicator, {
|
|
625
688
|
target: {
|
|
626
689
|
type: "item",
|
|
627
690
|
key: item.key,
|
|
@@ -630,16 +693,16 @@ function TabButton(t0) {
|
|
|
630
693
|
dropState,
|
|
631
694
|
position: "before"
|
|
632
695
|
});
|
|
633
|
-
$[
|
|
634
|
-
$[
|
|
635
|
-
$[
|
|
636
|
-
$[
|
|
637
|
-
} else
|
|
638
|
-
const
|
|
639
|
-
let
|
|
640
|
-
if ($[
|
|
641
|
-
|
|
642
|
-
const { showActions, skipActionsWidthTransition } =
|
|
696
|
+
$[153] = dropState;
|
|
697
|
+
$[154] = isDraggable;
|
|
698
|
+
$[155] = item.key;
|
|
699
|
+
$[156] = t40;
|
|
700
|
+
} else t40 = $[156];
|
|
701
|
+
const t41 = effectiveAutoHideActions && !isActive;
|
|
702
|
+
let t42;
|
|
703
|
+
if ($[157] !== actions || $[158] !== ariaProps || $[159] !== clearSpringLoad || $[160] !== effectiveAutoHideActions || $[161] !== focusProps || $[162] !== handleKeyDown || $[163] !== handleSpringLoadEnter || $[164] !== hoverProps || $[165] !== isActive || $[166] !== isDisabled || $[167] !== item.key || $[168] !== itemShape || $[169] !== itemSize || $[170] !== itemStyleProps || $[171] !== mods || $[172] !== qa || $[173] !== qaVal || $[174] !== styles || $[175] !== tabElementTooltip || $[176] !== tabProps || $[177] !== titleContent) {
|
|
704
|
+
t42 = (t43) => {
|
|
705
|
+
const { showActions, skipActionsWidthTransition } = t43;
|
|
643
706
|
return /* @__PURE__ */ jsx(TabElement, {
|
|
644
707
|
insideWrapper: true,
|
|
645
708
|
preserveActionsSpace: true,
|
|
@@ -669,34 +732,34 @@ function TabButton(t0) {
|
|
|
669
732
|
children: titleContent
|
|
670
733
|
});
|
|
671
734
|
};
|
|
672
|
-
$[
|
|
673
|
-
$[
|
|
674
|
-
$[
|
|
675
|
-
$[
|
|
676
|
-
$[
|
|
677
|
-
$[
|
|
678
|
-
$[
|
|
679
|
-
$[
|
|
680
|
-
$[
|
|
681
|
-
$[
|
|
682
|
-
$[
|
|
683
|
-
$[
|
|
684
|
-
$[
|
|
685
|
-
$[
|
|
686
|
-
$[
|
|
687
|
-
$[
|
|
688
|
-
$[
|
|
689
|
-
$[
|
|
690
|
-
$[
|
|
691
|
-
$[
|
|
692
|
-
$[
|
|
693
|
-
$[
|
|
694
|
-
} else
|
|
695
|
-
let
|
|
696
|
-
if ($[
|
|
697
|
-
|
|
735
|
+
$[157] = actions;
|
|
736
|
+
$[158] = ariaProps;
|
|
737
|
+
$[159] = clearSpringLoad;
|
|
738
|
+
$[160] = effectiveAutoHideActions;
|
|
739
|
+
$[161] = focusProps;
|
|
740
|
+
$[162] = handleKeyDown;
|
|
741
|
+
$[163] = handleSpringLoadEnter;
|
|
742
|
+
$[164] = hoverProps;
|
|
743
|
+
$[165] = isActive;
|
|
744
|
+
$[166] = isDisabled;
|
|
745
|
+
$[167] = item.key;
|
|
746
|
+
$[168] = itemShape;
|
|
747
|
+
$[169] = itemSize;
|
|
748
|
+
$[170] = itemStyleProps;
|
|
749
|
+
$[171] = mods;
|
|
750
|
+
$[172] = qa;
|
|
751
|
+
$[173] = qaVal;
|
|
752
|
+
$[174] = styles;
|
|
753
|
+
$[175] = tabElementTooltip;
|
|
754
|
+
$[176] = tabProps;
|
|
755
|
+
$[177] = titleContent;
|
|
756
|
+
$[178] = t42;
|
|
757
|
+
} else t42 = $[178];
|
|
758
|
+
let t43;
|
|
759
|
+
if ($[179] !== actions || $[180] !== isDisabled || $[181] !== itemSize || $[182] !== mods || $[183] !== t41 || $[184] !== t42) {
|
|
760
|
+
t43 = /* @__PURE__ */ jsx(ItemActionsWrapper, {
|
|
698
761
|
preserveActionsSpace: true,
|
|
699
|
-
autoHideActions:
|
|
762
|
+
autoHideActions: t41,
|
|
700
763
|
type: "clear",
|
|
701
764
|
theme: "default",
|
|
702
765
|
size: itemSize,
|
|
@@ -704,20 +767,20 @@ function TabButton(t0) {
|
|
|
704
767
|
mods,
|
|
705
768
|
actions,
|
|
706
769
|
actionsProps: ACTIONS_EVENT_HANDLERS,
|
|
707
|
-
children:
|
|
770
|
+
children: t42
|
|
708
771
|
});
|
|
709
|
-
$[
|
|
710
|
-
$[
|
|
711
|
-
$[
|
|
712
|
-
$[
|
|
713
|
-
$[
|
|
714
|
-
$[
|
|
715
|
-
$[
|
|
716
|
-
} else
|
|
717
|
-
const
|
|
718
|
-
let
|
|
719
|
-
if ($[
|
|
720
|
-
|
|
772
|
+
$[179] = actions;
|
|
773
|
+
$[180] = isDisabled;
|
|
774
|
+
$[181] = itemSize;
|
|
775
|
+
$[182] = mods;
|
|
776
|
+
$[183] = t41;
|
|
777
|
+
$[184] = t42;
|
|
778
|
+
$[185] = t43;
|
|
779
|
+
} else t43 = $[185];
|
|
780
|
+
const t44 = contextMenuEnabled && processedMenu && contextMenu.rendered;
|
|
781
|
+
let t45;
|
|
782
|
+
if ($[186] !== dropState || $[187] !== isDraggable || $[188] !== isLastTab || $[189] !== item.key) {
|
|
783
|
+
t45 = isDraggable && dropState && isLastTab && /* @__PURE__ */ jsx(TabDropIndicator, {
|
|
721
784
|
target: {
|
|
722
785
|
type: "item",
|
|
723
786
|
key: item.key,
|
|
@@ -726,37 +789,37 @@ function TabButton(t0) {
|
|
|
726
789
|
dropState,
|
|
727
790
|
position: "after"
|
|
728
791
|
});
|
|
729
|
-
$[
|
|
730
|
-
$[
|
|
731
|
-
$[
|
|
732
|
-
$[
|
|
733
|
-
$[
|
|
734
|
-
} else
|
|
735
|
-
let
|
|
736
|
-
if ($[
|
|
737
|
-
|
|
792
|
+
$[186] = dropState;
|
|
793
|
+
$[187] = isDraggable;
|
|
794
|
+
$[188] = isLastTab;
|
|
795
|
+
$[189] = item.key;
|
|
796
|
+
$[190] = t45;
|
|
797
|
+
} else t45 = $[190];
|
|
798
|
+
let t46;
|
|
799
|
+
if ($[191] !== containerMods || $[192] !== effectiveContainerRef || $[193] !== effectiveDragProps || $[194] !== itemSize || $[195] !== t40 || $[196] !== t43 || $[197] !== t44 || $[198] !== t45) {
|
|
800
|
+
t46 = /* @__PURE__ */ jsxs(TabContainer, {
|
|
738
801
|
ref: effectiveContainerRef,
|
|
739
802
|
"data-size": itemSize,
|
|
740
803
|
mods: containerMods,
|
|
741
804
|
...effectiveDragProps,
|
|
742
805
|
children: [
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
806
|
+
t40,
|
|
807
|
+
t43,
|
|
808
|
+
t44,
|
|
809
|
+
t45
|
|
747
810
|
]
|
|
748
811
|
});
|
|
749
|
-
$[
|
|
750
|
-
$[
|
|
751
|
-
$[
|
|
752
|
-
$[
|
|
753
|
-
$[
|
|
754
|
-
$[
|
|
755
|
-
$[
|
|
756
|
-
$[
|
|
757
|
-
$[
|
|
758
|
-
} else
|
|
759
|
-
return
|
|
812
|
+
$[191] = containerMods;
|
|
813
|
+
$[192] = effectiveContainerRef;
|
|
814
|
+
$[193] = effectiveDragProps;
|
|
815
|
+
$[194] = itemSize;
|
|
816
|
+
$[195] = t40;
|
|
817
|
+
$[196] = t43;
|
|
818
|
+
$[197] = t44;
|
|
819
|
+
$[198] = t45;
|
|
820
|
+
$[199] = t46;
|
|
821
|
+
} else t46 = $[199];
|
|
822
|
+
return t46;
|
|
760
823
|
}
|
|
761
824
|
|
|
762
825
|
//#endregion
|