@motifx-community/ui 0.1.0-beta.6 → 0.1.0-beta.9
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/CHANGELOG.md +324 -0
- package/dist/components/accordion/Accordion.d.ts +3 -0
- package/dist/components/accordion/AccordionItem.d.ts +9 -7
- package/dist/components/appbar/AppBar.d.ts +9 -3
- package/dist/components/appbar/app-bar-props.d.ts +2 -2
- package/dist/components/appmenu/AppMenu.d.ts +204 -0
- package/dist/components/appmenu/app-menu-item-click-event-args.d.ts +11 -0
- package/dist/components/appmenu/app-menu-item.d.ts +46 -0
- package/dist/components/appmenu/app-menu-items-changed-event-args.d.ts +7 -0
- package/dist/components/appmenu/app-menu-props.d.ts +38 -0
- package/dist/components/appmenu/app-menu-search-text-changed-event-args.d.ts +5 -0
- package/dist/components/appmenu/app-menu-selecting-event-args.d.ts +5 -0
- package/dist/components/appmenu/app-menu-selection-changed-event-args.d.ts +13 -0
- package/dist/components/appmenu/index.d.ts +8 -0
- package/dist/components/avatar/Avatar.d.ts +2 -0
- package/dist/components/avatar/AvatarGroup.d.ts +18 -2
- package/dist/components/badge/Badge.d.ts +4 -1
- package/dist/components/barcode/Barcode.d.ts +7 -1
- package/dist/components/bargauge/BarGauge.d.ts +35 -22
- package/dist/components/bottomnavigation/BottomNavigation.d.ts +44 -12
- package/dist/components/bottomnavigation/bottom-navigation-item.d.ts +1 -1
- package/dist/components/bottomnavigation/bottom-navigation-props.d.ts +2 -2
- package/dist/components/breadcrumb/Breadcrumb.d.ts +12 -8
- package/dist/components/button/Button.d.ts +24 -3
- package/dist/components/button/button-props.d.ts +1 -0
- package/dist/components/button/menu-item-of.d.ts +4 -0
- package/dist/components/buttongroup/ButtonGroup.d.ts +2 -1
- package/dist/components/calendar/Calendar.d.ts +11 -3
- package/dist/components/calendar/calendar-props.d.ts +2 -0
- package/dist/components/card/Card.d.ts +10 -0
- package/dist/components/card/card-props.d.ts +1 -1
- package/dist/components/chart/Chart.d.ts +30 -17
- package/dist/components/chart/ChartLegend.d.ts +10 -7
- package/dist/components/chart/ChartPlot.d.ts +40 -31
- package/dist/components/chart/ChartTable.d.ts +0 -1
- package/dist/components/chart/ChartTooltip.d.ts +23 -4
- package/dist/components/chart/PartsPlot.d.ts +19 -7
- package/dist/components/chart/RadarPlot.d.ts +23 -9
- package/dist/components/chart/chart-export.d.ts +3 -3
- package/dist/components/chart/chart-look.d.ts +7 -5
- package/dist/components/chart/chart-tooltip-options.d.ts +3 -2
- package/dist/components/chart/plot-room.d.ts +9 -0
- package/dist/components/chart/plot-view.d.ts +12 -2
- package/dist/components/chart/text-parts.d.ts +12 -0
- package/dist/components/checkbox/ToggleField.d.ts +6 -4
- package/dist/components/chip/Chip.d.ts +16 -7
- package/dist/components/chip/ChipGroup.d.ts +14 -1
- package/dist/components/chip/chip-props.d.ts +1 -1
- package/dist/components/colorbox/ColorBox.d.ts +5 -3
- package/dist/components/colorpicker/ColorPicker.d.ts +3 -0
- package/dist/components/combobox/ComboBox.d.ts +8 -4
- package/dist/components/combobox/combo-box-props.d.ts +2 -2
- package/dist/components/contextmenu/ContextMenu.d.ts +26 -15
- package/dist/components/contextmenu/attach-context-menu.d.ts +3 -3
- package/dist/components/contextmenu/context-menu-opening-event-args.d.ts +8 -4
- package/dist/components/contextmenu/context-menu-props.d.ts +2 -2
- package/dist/components/contextmenu/context-menu-target.d.ts +2 -2
- package/dist/components/datagrid/DataGrid.d.ts +104 -31
- package/dist/components/datagrid/filter-editor-context.d.ts +22 -0
- package/dist/components/datagrid/grid-action.d.ts +2 -2
- package/dist/components/datagrid/grid-cell-click-event-args.d.ts +3 -3
- package/dist/components/datagrid/grid-cell-prepared-event-args.d.ts +6 -4
- package/dist/components/datagrid/grid-column.d.ts +10 -2
- package/dist/components/datagrid/grid-editor-prepared-event-args.d.ts +2 -2
- package/dist/components/datagrid/grid-lookup.d.ts +4 -4
- package/dist/components/datagrid/grid-master-detail.d.ts +1 -1
- package/dist/components/datagrid/grid-row-click-event-args.d.ts +3 -3
- package/dist/components/datagrid/grid-row-drag-event-args.d.ts +3 -2
- package/dist/components/datagrid/grid-row-dragging.d.ts +8 -8
- package/dist/components/datagrid/grid-row-prepared-event-args.d.ts +4 -2
- package/dist/components/datagrid/grid-visible-row.d.ts +3 -1
- package/dist/components/datagrid/index.d.ts +1 -0
- package/dist/components/datagrid/model/CellFormatter.d.ts +8 -1
- package/dist/components/datagrid/model/ChoiceListAdapter.d.ts +23 -0
- package/dist/components/datagrid/model/GridExport.d.ts +1 -1
- package/dist/components/datagrid/model/GridModel.d.ts +5 -0
- package/dist/components/datagrid/model/ListChoices.d.ts +28 -0
- package/dist/components/datagrid/model/row-dragging-values.d.ts +3 -2
- package/dist/components/datagrid/view/ActionWidths.d.ts +16 -4
- package/dist/components/datagrid/view/BandRows.d.ts +12 -14
- package/dist/components/datagrid/view/CellEditor.d.ts +3 -5
- package/dist/components/datagrid/view/CellTip.d.ts +20 -8
- package/dist/components/datagrid/view/ColumnMenu.d.ts +4 -2
- package/dist/components/datagrid/view/ColumnStyles.d.ts +3 -2
- package/dist/components/datagrid/view/DetailRow.d.ts +9 -4
- package/dist/components/datagrid/view/DragSelect.d.ts +19 -7
- package/dist/components/datagrid/view/EditForm.d.ts +4 -0
- package/dist/components/datagrid/view/FilterCell.d.ts +30 -7
- package/dist/components/datagrid/view/FilterPanel.d.ts +1 -1
- package/dist/components/datagrid/view/FilterRow.d.ts +10 -6
- package/dist/components/datagrid/view/GridBody.d.ts +87 -43
- package/dist/components/datagrid/view/GridPager.d.ts +8 -1
- package/dist/components/datagrid/view/GridRow.d.ts +32 -17
- package/dist/components/datagrid/view/GridToolbar.d.ts +6 -5
- package/dist/components/datagrid/view/GroupFooterRow.d.ts +7 -1
- package/dist/components/datagrid/view/GroupPanel.d.ts +26 -8
- package/dist/components/datagrid/view/GroupRow.d.ts +17 -10
- package/dist/components/datagrid/view/HeaderFilter.d.ts +2 -1
- package/dist/components/datagrid/view/HeaderRow.d.ts +18 -3
- package/dist/components/datagrid/view/MenuPopup.d.ts +3 -2
- package/dist/components/datagrid/view/RowActions.d.ts +13 -5
- package/dist/components/datagrid/view/RowDrag.d.ts +24 -10
- package/dist/components/datagrid/view/TotalRow.d.ts +4 -2
- package/dist/components/datagrid/view/action-button.d.ts +11 -5
- package/dist/components/datagrid/view/cell-tip-target.d.ts +11 -0
- package/dist/components/datagrid/view/check-mark.d.ts +4 -3
- package/dist/components/datagrid/view/column-fit.d.ts +9 -0
- package/dist/components/datagrid/view/drag-handle.d.ts +3 -2
- package/dist/components/datagrid/view/drag-select-host.d.ts +5 -5
- package/dist/components/datagrid/view/expand-button.d.ts +4 -3
- package/dist/components/datagrid/view/group-drop.d.ts +7 -0
- package/dist/components/datagrid/view/group-panel-host.d.ts +7 -4
- package/dist/components/datagrid/view/header-host.d.ts +3 -2
- package/dist/components/datagrid/view/row-drag-host.d.ts +5 -3
- package/dist/components/datagrid/view/summary-cell.d.ts +5 -3
- package/dist/components/datagrid/view/toolbar-host.d.ts +3 -2
- package/dist/components/datebox/DateBox.d.ts +5 -3
- package/dist/components/daterangebox/DateRangeBox.d.ts +12 -9
- package/dist/components/draggable/Draggable.d.ts +24 -11
- package/dist/components/draggable/draggable-props.d.ts +3 -3
- package/dist/components/drawer/Drawer.d.ts +18 -10
- package/dist/components/drawer/drawer-props.d.ts +2 -2
- package/dist/components/dropdown/DropDown.d.ts +12 -3
- package/dist/components/dropdown/drop-down-props.d.ts +3 -3
- package/dist/components/fileuploader/FileUploader.d.ts +9 -6
- package/dist/components/filterbuilder/FilterBuilder.d.ts +42 -13
- package/dist/components/form/MxForm.d.ts +33 -12
- package/dist/components/form/form-props.d.ts +1 -1
- package/dist/components/form/message-box-options.d.ts +1 -1
- package/dist/components/formlayout/FormLayout.d.ts +26 -5
- package/dist/components/gallery/Gallery.d.ts +30 -17
- package/dist/components/gauge/Gauge.d.ts +51 -37
- package/dist/components/layout/ChildSettings.d.ts +2 -2
- package/dist/components/layout/GroupBox.d.ts +7 -5
- package/dist/components/layout/Panel.d.ts +1 -0
- package/dist/components/layout/SplitContainer.d.ts +8 -8
- package/dist/components/layout/set-padding.d.ts +2 -1
- package/dist/components/layout/set-space.d.ts +2 -1
- package/dist/components/listbox/ListBox.d.ts +7 -5
- package/dist/components/listbox/item-template.d.ts +7 -2
- package/dist/components/listbox/list-rows.d.ts +2 -0
- package/dist/components/loadpanel/LoadPanel.d.ts +7 -3
- package/dist/components/loadpanel/load-panel-props.d.ts +1 -1
- package/dist/components/loadpanel/load-panel-target.d.ts +2 -2
- package/dist/components/lookup/Lookup.d.ts +1 -1
- package/dist/components/menubar/MenuBar.d.ts +115 -5
- package/dist/components/menubar/index.d.ts +7 -0
- package/dist/components/menubar/menu-bar-added-item.d.ts +11 -0
- package/dist/components/menubar/menu-bar-custom-menu-opening-event-args.d.ts +19 -0
- package/dist/components/menubar/menu-bar-customization.d.ts +18 -0
- package/dist/components/menubar/menu-bar-customized-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-items-changed-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-merge-when.d.ts +5 -0
- package/dist/components/menubar/menu-bar-merged-event-args.d.ts +7 -0
- package/dist/components/menubar/menu-bar-props.d.ts +43 -1
- package/dist/components/menubar/menu-merge.d.ts +10 -0
- package/dist/components/menubar/menu-node.d.ts +4 -0
- package/dist/components/menubar/merge-hosts.d.ts +9 -0
- package/dist/components/menubar/merged-item.d.ts +18 -0
- package/dist/components/numberbox/NumberBox.d.ts +13 -4
- package/dist/components/numberbox/number-box-props.d.ts +1 -1
- package/dist/components/otpinput/OtpInput.d.ts +19 -8
- package/dist/components/pagination/Pagination.d.ts +9 -4
- package/dist/components/popover/Popover.d.ts +24 -7
- package/dist/components/popover/popover-props.d.ts +1 -1
- package/dist/components/progress/ProgressBar.d.ts +1 -0
- package/dist/components/progress/ProgressWave.d.ts +13 -12
- package/dist/components/progress/Spinner.d.ts +5 -5
- package/dist/components/progress/progress-bar-props.d.ts +1 -1
- package/dist/components/qrcode/QRCode.d.ts +5 -1
- package/dist/components/radiogroup/RadioGroup.d.ts +8 -6
- package/dist/components/rating/Rating.d.ts +2 -2
- package/dist/components/resizable/Resizable.d.ts +19 -17
- package/dist/components/resizable/resizable-props.d.ts +3 -3
- package/dist/components/resizable/resize-start.d.ts +11 -0
- package/dist/components/ribbonmenu/RibbonGallery.d.ts +32 -0
- package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +61 -0
- package/dist/components/ribbonmenu/RibbonMenu.d.ts +419 -0
- package/dist/components/ribbonmenu/index.d.ts +22 -0
- package/dist/components/ribbonmenu/ribbon-app-button-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-command-click-event-args.d.ts +15 -0
- package/dist/components/ribbonmenu/ribbon-command-size.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-command-type.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-command.d.ts +63 -0
- package/dist/components/ribbonmenu/ribbon-gallery-item.d.ts +18 -0
- package/dist/components/ribbonmenu/ribbon-group-more-event-args.d.ts +12 -0
- package/dist/components/ribbonmenu/ribbon-group.d.ts +31 -0
- package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +22 -0
- package/dist/components/ribbonmenu/ribbon-menu-customization.d.ts +18 -0
- package/dist/components/ribbonmenu/ribbon-menu-customized-event-args.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-menu-display-changed-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-menu-display.d.ts +5 -0
- package/dist/components/ribbonmenu/ribbon-menu-items-changed-event-args.d.ts +7 -0
- package/dist/components/ribbonmenu/ribbon-menu-layout-changed-event-args.d.ts +8 -0
- package/dist/components/ribbonmenu/ribbon-menu-layout.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +79 -0
- package/dist/components/ribbonmenu/ribbon-quick-bar-position.d.ts +2 -0
- package/dist/components/ribbonmenu/ribbon-tab-selecting-event-args.d.ts +5 -0
- package/dist/components/ribbonmenu/ribbon-tab-selection-changed-event-args.d.ts +10 -0
- package/dist/components/ribbonmenu/ribbon-tab.d.ts +24 -0
- package/dist/components/scheduler/AppointmentEditor.d.ts +16 -7
- package/dist/components/scheduler/Scheduler.d.ts +23 -9
- package/dist/components/scheduler/view/AgendaView.d.ts +7 -2
- package/dist/components/scheduler/view/AppointmentDrag.d.ts +26 -3
- package/dist/components/scheduler/view/CellAttributes.d.ts +1 -0
- package/dist/components/scheduler/view/CellWriter.d.ts +6 -3
- package/dist/components/scheduler/view/KeyedParts.d.ts +2 -0
- package/dist/components/scheduler/view/MonthView.d.ts +18 -7
- package/dist/components/scheduler/view/SchedulerTouch.d.ts +8 -2
- package/dist/components/scheduler/view/TimeView.d.ts +23 -11
- package/dist/components/scheduler/view/TimelineLine.d.ts +19 -2
- package/dist/components/scheduler/view/TimelineView.d.ts +27 -16
- package/dist/components/scheduler/view/scheduler-host.d.ts +4 -4
- package/dist/components/scheduler/view/shown-view.d.ts +11 -0
- package/dist/components/scheduler/view/touch-host.d.ts +6 -2
- package/dist/components/scrollview/ScrollView.d.ts +27 -8
- package/dist/components/sheet/BottomSheet.d.ts +13 -6
- package/dist/components/shortcuteditor/ShortcutEditor.d.ts +82 -0
- package/dist/components/shortcuteditor/index.d.ts +3 -0
- package/dist/components/shortcuteditor/shortcut-editor-keys-changed-event-args.d.ts +9 -0
- package/dist/components/shortcuteditor/shortcut-editor-props.d.ts +21 -0
- package/dist/components/signature/Signature.d.ts +18 -13
- package/dist/components/slider/Slider.d.ts +7 -6
- package/dist/components/slider/slider-props.d.ts +1 -1
- package/dist/components/sortable/Sortable.d.ts +24 -12
- package/dist/components/sortable/sortable-props.d.ts +1 -1
- package/dist/components/sparkline/Sparkline.d.ts +17 -19
- package/dist/components/speeddial/SpeedDial.d.ts +8 -2
- package/dist/components/speeddial/speed-dial-action.d.ts +1 -1
- package/dist/components/splitter/SplitPane.d.ts +3 -0
- package/dist/components/splitter/Splitter.d.ts +11 -5
- package/dist/components/stepper/Stepper.d.ts +30 -12
- package/dist/components/tabdocs/AutoHideStrip.d.ts +10 -4
- package/dist/components/tabdocs/DockGuides.d.ts +6 -4
- package/dist/components/tabdocs/DocumentList.d.ts +19 -7
- package/dist/components/tabdocs/DocumentTab.d.ts +12 -9
- package/dist/components/tabdocs/DropMarks.d.ts +8 -3
- package/dist/components/tabdocs/MoveByKeys.d.ts +2 -1
- package/dist/components/tabdocs/PhoneBar.d.ts +2 -1
- package/dist/components/tabdocs/PhoneList.d.ts +14 -4
- package/dist/components/tabdocs/PhoneTools.d.ts +8 -1
- package/dist/components/tabdocs/SplitSash.d.ts +3 -5
- package/dist/components/tabdocs/TabBrowserWindow.d.ts +3 -2
- package/dist/components/tabdocs/TabDockArea.d.ts +5 -2
- package/dist/components/tabdocs/TabDocumentManager.d.ts +51 -25
- package/dist/components/tabdocs/TabDrag.d.ts +27 -12
- package/dist/components/tabdocs/TabGroup.d.ts +30 -16
- package/dist/components/tabdocs/TabMenus.d.ts +11 -4
- package/dist/components/tabdocs/TabPresenter.d.ts +21 -5
- package/dist/components/tabdocs/TabSplit.d.ts +10 -4
- package/dist/components/tabdocs/TabWindow.d.ts +7 -4
- package/dist/components/tabdocs/item-part.d.ts +4 -0
- package/dist/components/tabdocs/layout-item.d.ts +4 -1
- package/dist/components/tabdocs/place-node.d.ts +11 -4
- package/dist/components/tabdocs/strip-room.d.ts +13 -0
- package/dist/components/tabdocs/tab-header.d.ts +3 -0
- package/dist/components/tabs/PanelContent.d.ts +1 -1
- package/dist/components/tabs/Tab.d.ts +4 -4
- package/dist/components/tabs/Tabs.d.ts +11 -6
- package/dist/components/tagbox/TagBox.d.ts +24 -6
- package/dist/components/textarea/TextArea.d.ts +9 -5
- package/dist/components/textbox/TextBox.d.ts +13 -4
- package/dist/components/tileview/TileView.d.ts +15 -5
- package/dist/components/timeline/Timeline.d.ts +11 -0
- package/dist/components/toast/Toaster.d.ts +9 -2
- package/dist/components/toolbar/Toolbar.d.ts +18 -5
- package/dist/components/toolbar/toolbar-item.d.ts +5 -0
- package/dist/components/tooltip/Tooltip.d.ts +10 -2
- package/dist/components/tooltip/add-tooltip.d.ts +3 -3
- package/dist/components/tooltip/tooltip-hub.d.ts +5 -3
- package/dist/components/tooltip/tooltip-props.d.ts +1 -1
- package/dist/components/tooltip/tooltip-target.d.ts +2 -2
- package/dist/components/treeview/TreeView.d.ts +34 -9
- package/dist/components/treeview/tree-row-parts.d.ts +13 -0
- package/dist/components/treeview/tree-view-item-template.d.ts +7 -2
- package/dist/components/treeview/tree-view-props.d.ts +1 -1
- package/dist/components/validationsummary/ValidationSummary.d.ts +1 -1
- package/dist/core/access-key-entry.d.ts +10 -0
- package/dist/core/access-key.d.ts +24 -12
- package/dist/core/chord.d.ts +9 -0
- package/dist/core/command-fields.d.ts +17 -0
- package/dist/core/command-registry.d.ts +37 -0
- package/dist/core/command-run-event-args.d.ts +11 -0
- package/dist/core/command.d.ts +41 -0
- package/dist/core/commands-changed-event-args.d.ts +4 -0
- package/dist/core/component-tree.d.ts +10 -0
- package/dist/core/container.d.ts +8 -5
- package/dist/core/control.d.ts +44 -15
- package/dist/core/cover-record.d.ts +9 -0
- package/dist/core/cover.d.ts +11 -0
- package/dist/core/draw-parts.d.ts +12 -20
- package/dist/core/flow-home.d.ts +7 -4
- package/dist/core/focus-mark.d.ts +8 -0
- package/dist/core/focus.d.ts +109 -10
- package/dist/core/glyphs.d.ts +42 -40
- package/dist/core/icon-source.d.ts +15 -2
- package/dist/core/key-windows.d.ts +8 -0
- package/dist/core/keyboard.d.ts +25 -30
- package/dist/core/keymap-changed-event-args.d.ts +7 -0
- package/dist/core/keymap.d.ts +6 -0
- package/dist/core/language-look.d.ts +20 -7
- package/dist/core/live-controls.d.ts +12 -0
- package/dist/core/look-watch.d.ts +4 -1
- package/dist/core/measure/box.d.ts +21 -0
- package/dist/core/measure/element-of.d.ts +12 -0
- package/dist/core/measure/every-frame.d.ts +8 -0
- package/dist/core/measure/hit-cover.d.ts +8 -0
- package/dist/core/measure/hit-options.d.ts +12 -0
- package/dist/core/measure/hits.d.ts +18 -0
- package/dist/core/measure/index.d.ts +27 -0
- package/dist/core/measure/job.d.ts +9 -0
- package/dist/core/measure/layout-change.d.ts +2 -0
- package/dist/core/measure/layout-options.d.ts +11 -0
- package/dist/core/measure/lengths.d.ts +13 -0
- package/dist/core/measure/look.d.ts +11 -0
- package/dist/core/measure/loop.d.ts +10 -0
- package/dist/core/measure/media.d.ts +8 -0
- package/dist/core/measure/motion.d.ts +10 -0
- package/dist/core/measure/observers.d.ts +13 -0
- package/dist/core/measure/on-layout.d.ts +23 -0
- package/dist/core/measure/page-events.d.ts +6 -0
- package/dist/core/measure/page.d.ts +11 -0
- package/dist/core/measure/pending-scroll.d.ts +9 -0
- package/dist/core/measure/pending-scrolls.d.ts +7 -0
- package/dist/core/measure/point.d.ts +5 -0
- package/dist/core/measure/probe-set.d.ts +35 -0
- package/dist/core/measure/read.d.ts +54 -0
- package/dist/core/measure/rect.d.ts +9 -0
- package/dist/core/measure/reveal-options.d.ts +20 -0
- package/dist/core/measure/reveal-range.d.ts +7 -0
- package/dist/core/measure/round-reads.d.ts +14 -0
- package/dist/core/measure/rounds.d.ts +36 -0
- package/dist/core/measure/scroll-motion.d.ts +5 -0
- package/dist/core/measure/scroll-place.d.ts +5 -0
- package/dist/core/measure/scroll.d.ts +41 -0
- package/dist/core/measure/size-box.d.ts +2 -0
- package/dist/core/measure/size.d.ts +5 -0
- package/dist/core/measure/text-probes.d.ts +19 -0
- package/dist/core/measure/text-widths.d.ts +14 -0
- package/dist/core/measure/view.d.ts +2 -0
- package/dist/core/measure/viewport-rect.d.ts +10 -0
- package/dist/core/measure/viewport.d.ts +12 -0
- package/dist/core/measure/watch.d.ts +35 -0
- package/dist/core/measure/watcher.d.ts +41 -0
- package/dist/core/measure/window-bound.d.ts +11 -0
- package/dist/core/measure/window-frame.d.ts +25 -0
- package/dist/core/order-controls.d.ts +7 -0
- package/dist/core/page-documents.d.ts +13 -0
- package/dist/core/page-layer.d.ts +18 -0
- package/dist/core/parsed-access-key.d.ts +9 -0
- package/dist/core/part-writes.d.ts +25 -0
- package/dist/core/press-origin.d.ts +3 -0
- package/dist/core/shortcut-conflict.d.ts +12 -0
- package/dist/core/shortcut-handler.d.ts +2 -0
- package/dist/core/shortcut-info.d.ts +19 -0
- package/dist/core/shortcut-options.d.ts +33 -0
- package/dist/core/shortcut-registration.d.ts +21 -0
- package/dist/core/shortcut-registry.d.ts +46 -0
- package/dist/core/shortcut-text.d.ts +2 -0
- package/dist/core/show-icon.d.ts +7 -0
- package/dist/core/stacked-window.d.ts +9 -0
- package/dist/core/ui-locale.d.ts +2 -2
- package/dist/core/ui-strings.d.ts +128 -0
- package/dist/core/window-events.d.ts +14 -0
- package/dist/core/window-stack.d.ts +11 -11
- package/dist/generated/tokens.d.ts +1391 -11
- package/dist/index.d.ts +16 -1
- package/dist/index.js +35277 -22566
- package/dist/index.js.map +1 -1
- package/dist/locales/en.json +121 -2
- package/dist/locales/tr.json +121 -2
- package/dist/parts/chart/chart-text.d.ts +29 -5
- package/dist/parts/chart/svg-parts.d.ts +11 -7
- package/dist/parts/chart/value-motion.d.ts +3 -2
- package/dist/parts/code/code-image.d.ts +6 -9
- package/dist/parts/customizer/Customizer.d.ts +64 -0
- package/dist/parts/customizer/NameForm.d.ts +10 -0
- package/dist/parts/customizer/customizer-command.d.ts +5 -0
- package/dist/parts/customizer/customizer-names.d.ts +9 -0
- package/dist/parts/customizer/customizer-node.d.ts +15 -0
- package/dist/parts/customizer/customizer-source.d.ts +27 -0
- package/dist/parts/data/DataItems.d.ts +2 -0
- package/dist/parts/data/KeyedItems.d.ts +2 -1
- package/dist/parts/data/empty-key.d.ts +2 -0
- package/dist/parts/drag/DragGhost.d.ts +23 -16
- package/dist/parts/drag/auto-scroll-options.d.ts +19 -0
- package/dist/parts/drag/auto-scroll.d.ts +11 -0
- package/dist/parts/drag/drag-boxes.d.ts +33 -0
- package/dist/parts/drag/stack-cover.d.ts +7 -0
- package/dist/parts/field/Field.d.ts +37 -9
- package/dist/parts/field/pressed-focusable.d.ts +3 -0
- package/dist/parts/item-layout/ItemLayout.d.ts +61 -0
- package/dist/parts/item-layout/item-layout-options.d.ts +17 -0
- package/dist/parts/item-layout/layout-added-item.d.ts +13 -0
- package/dist/parts/item-layout/layout-customization.d.ts +13 -0
- package/dist/parts/item-layout/layout-node.d.ts +24 -0
- package/dist/parts/item-tree/ItemTree.d.ts +34 -0
- package/dist/parts/item-tree/children-at.d.ts +2 -0
- package/dist/parts/item-tree/item-paths.d.ts +18 -0
- package/dist/parts/item-tree/ordered.d.ts +2 -0
- package/dist/parts/list/OptionList.d.ts +73 -17
- package/dist/parts/list/item-source.d.ts +4 -0
- package/dist/parts/list/option-parts.d.ts +10 -0
- package/dist/parts/mask/InputMask.d.ts +11 -4
- package/dist/parts/menu/MenuList.d.ts +35 -11
- package/dist/parts/menu/menu-item-merge-at.d.ts +6 -0
- package/dist/parts/menu/menu-item-merge.d.ts +6 -0
- package/dist/parts/menu/menu-item.d.ts +17 -2
- package/dist/parts/overlay/OverlayPanel.d.ts +21 -12
- package/dist/parts/overlay/inert-around.d.ts +6 -3
- package/dist/parts/overlay/overlay-container.d.ts +2 -2
- package/dist/parts/overlay/overlay-panel-props.d.ts +2 -2
- package/dist/parts/popup/Popup.d.ts +17 -2
- package/dist/parts/popup/place-near.d.ts +10 -0
- package/dist/parts/popup/place-options.d.ts +10 -0
- package/dist/parts/popup/place-popup.d.ts +4 -1
- package/dist/parts/popup/placed.d.ts +7 -0
- package/dist/parts/popup/popup-anchor.d.ts +4 -0
- package/dist/parts/popup/popup-open-options.d.ts +9 -4
- package/dist/parts/slide/slide-track-host.d.ts +3 -2
- package/dist/parts/slide/slide-track.d.ts +10 -4
- package/dist/parts/validation/validate-fields.d.ts +6 -2
- package/dist/parts/validation/validation-target.d.ts +3 -1
- package/dist/parts/window/follow-pointer.d.ts +2 -1
- package/dist/parts/window/resize-frame-parts.d.ts +7 -0
- package/dist/parts/window/resize-frame.d.ts +3 -2
- package/dist/styles.css +2144 -12
- package/dist/tokens/index.d.ts +14836 -13454
- package/dist/tokens/index.js +1397 -12
- package/dist/tokens/index.js.map +1 -1
- package/dist/{tr-DhIFcH3c.js → tr-BvKE8jSF.js} +241 -3
- package/dist/tr-BvKE8jSF.js.map +1 -0
- package/docs/accordion.md +2 -2
- package/docs/actionsheet.md +4 -3
- package/docs/appbar.md +3 -3
- package/docs/appmenu-api.md +83 -0
- package/docs/appmenu-programmatic.md +76 -0
- package/docs/appmenu-search.md +66 -0
- package/docs/appmenu.md +150 -0
- package/docs/avatar.md +2 -2
- package/docs/badge.md +1 -1
- package/docs/bar-gauge-angles.md +1 -1
- package/docs/bar-gauge-data.md +1 -1
- package/docs/bar-gauge-labels.md +1 -1
- package/docs/bar-gauge.md +1 -1
- package/docs/barcode.md +1 -1
- package/docs/bottomnavigation.md +3 -3
- package/docs/bottomsheet.md +3 -3
- package/docs/breadcrumb.md +1 -1
- package/docs/button.md +4 -4
- package/docs/buttongroup.md +1 -1
- package/docs/buttons.md +1 -1
- package/docs/calendar.md +1 -1
- package/docs/card.md +2 -2
- package/docs/chart-bars.md +1 -1
- package/docs/chart-candles.md +1 -1
- package/docs/chart-funnel.md +1 -1
- package/docs/chart-heatmap.md +1 -1
- package/docs/chart-lines.md +1 -1
- package/docs/chart-live.md +1 -1
- package/docs/chart-pie.md +1 -1
- package/docs/chart-radar.md +1 -1
- package/docs/chart-ranges.md +1 -1
- package/docs/chart-references.md +1 -1
- package/docs/chart-scatter.md +1 -1
- package/docs/chart-waterfall.md +1 -1
- package/docs/chart-zoom.md +1 -1
- package/docs/chart.md +1 -1
- package/docs/checkbox.md +2 -2
- package/docs/chip.md +7 -8
- package/docs/choice.md +1 -1
- package/docs/colorbox.md +1 -1
- package/docs/combobox.md +1 -1
- package/docs/control.md +2 -2
- package/docs/data.md +1 -1
- package/docs/datagrid-api.md +7 -4
- package/docs/datagrid-bands.md +1 -1
- package/docs/datagrid-drag-select.md +1 -1
- package/docs/datagrid-drag.md +4 -4
- package/docs/datagrid-editing.md +1 -1
- package/docs/datagrid-filtering.md +106 -1
- package/docs/datagrid-forms.md +2 -2
- package/docs/datagrid-grouping.md +1 -1
- package/docs/datagrid-layout.md +7 -7
- package/docs/datagrid-lookups.md +3 -3
- package/docs/datagrid-master-detail.md +3 -3
- package/docs/datagrid-scrolling.md +1 -1
- package/docs/datagrid-selection.md +1 -1
- package/docs/datagrid.md +1 -1
- package/docs/datebox.md +2 -2
- package/docs/daterangebox.md +2 -2
- package/docs/display.md +1 -1
- package/docs/draggable.md +4 -4
- package/docs/drawer.md +2 -2
- package/docs/dropdown.md +5 -5
- package/docs/editors.md +1 -1
- package/docs/feedback.md +1 -1
- package/docs/fileuploader.md +1 -1
- package/docs/filterbuilder.md +2 -2
- package/docs/formlayout.md +1 -1
- package/docs/foundations.md +1 -1
- package/docs/gallery.md +1 -1
- package/docs/gauge-base.md +1 -1
- package/docs/gauge-circular.md +1 -1
- package/docs/gauge-dashboards.md +1 -1
- package/docs/gauge-linear.md +1 -1
- package/docs/gauge-markers.md +1 -1
- package/docs/gauge-marks.md +1 -1
- package/docs/gauge-ranges.md +1 -1
- package/docs/gauge-scales.md +1 -1
- package/docs/gauge.md +1 -1
- package/docs/home.md +1 -1
- package/docs/keyboard.md +2 -4
- package/docs/language.md +2 -2
- package/docs/layout.md +3 -3
- package/docs/listbox.md +5 -5
- package/docs/loadpanel.md +4 -4
- package/docs/lookup.md +1 -1
- package/docs/menus.md +17 -16
- package/docs/multiview.md +1 -1
- package/docs/navigation.md +1 -1
- package/docs/numberbox.md +5 -4
- package/docs/otpinput.md +1 -1
- package/docs/pagination.md +1 -1
- package/docs/popover.md +10 -9
- package/docs/progress.md +5 -5
- package/docs/qrcode.md +1 -1
- package/docs/radiogroup.md +3 -3
- package/docs/rating.md +1 -1
- package/docs/resizable.md +4 -4
- package/docs/ribbonmenu-api.md +130 -0
- package/docs/ribbonmenu-commands.md +118 -0
- package/docs/ribbonmenu-customization.md +93 -0
- package/docs/ribbonmenu-display.md +96 -0
- package/docs/ribbonmenu-layouts.md +59 -0
- package/docs/ribbonmenu-programmatic.md +91 -0
- package/docs/ribbonmenu.md +233 -0
- package/docs/scheduler-agenda.md +1 -1
- package/docs/scheduler-big-data.md +1 -1
- package/docs/scheduler-editing.md +1 -1
- package/docs/scheduler-form.md +1 -1
- package/docs/scheduler-icalendar.md +1 -1
- package/docs/scheduler-mobile.md +1 -1
- package/docs/scheduler-recurrence.md +1 -1
- package/docs/scheduler-resources.md +1 -1
- package/docs/scheduler-timeline.md +1 -1
- package/docs/scheduler.md +1 -1
- package/docs/scrollview.md +7 -6
- package/docs/showcase-home.md +1 -1
- package/docs/showcase.md +2 -2
- package/docs/signature.md +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/slider.md +4 -4
- package/docs/sortable.md +2 -2
- package/docs/sparkline.md +1 -1
- package/docs/speeddial.md +2 -2
- package/docs/splitter.md +1 -1
- package/docs/stepper.md +6 -8
- package/docs/switch.md +2 -2
- package/docs/tabdocs-dock.md +2 -2
- package/docs/tabdocs-drag.md +1 -1
- package/docs/tabdocs-menus.md +1 -1
- package/docs/tabdocs-mobile.md +1 -1
- package/docs/tabdocs-tabs.md +1 -1
- package/docs/tabdocs-windows.md +1 -2
- package/docs/tabdocs-workspace.md +1 -1
- package/docs/tabdocs.md +1 -1
- package/docs/tabs.md +2 -2
- package/docs/tagbox.md +9 -10
- package/docs/textarea.md +2 -2
- package/docs/textbox.md +6 -3
- package/docs/tileview.md +1 -1
- package/docs/timeline.md +1 -1
- package/docs/toast.md +1 -1
- package/docs/tokens.md +265 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.md +3 -3
- package/docs/treeview.md +15 -24
- package/docs/validationsummary.md +1 -1
- package/docs/window.md +3 -3
- package/docs/wizard.md +1 -1
- package/llms-full.txt +1904 -290
- package/llms.txt +18 -1
- package/package.json +4 -4
- package/dist/components/datagrid/view/next-frame.d.ts +0 -4
- package/dist/components/datagrid/view/place-in-order.d.ts +0 -6
- package/dist/components/tabdocs/keep-scroll.d.ts +0 -6
- package/dist/core/control-map.d.ts +0 -7
- package/dist/core/document-watch.d.ts +0 -10
- package/dist/core/enable.d.ts +0 -16
- package/dist/core/fonts-loaded.d.ts +0 -2
- package/dist/core/icon-node.d.ts +0 -10
- package/dist/core/next-frame.d.ts +0 -6
- package/dist/core/resize-watch.d.ts +0 -21
- package/dist/core/scroll-watch.d.ts +0 -13
- package/dist/parts/chart/token-lengths.d.ts +0 -16
- package/dist/parts/overlay/css-length.d.ts +0 -2
- package/dist/tr-DhIFcH3c.js.map +0 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ComponentBase } from '@motifx/core';
|
|
2
|
+
import { type Rect } from '../../core/measure';
|
|
1
3
|
/**
|
|
2
4
|
* What a drag shows for a manager: the translucent area a drop would take, and the mark between
|
|
3
5
|
* two tabs where a tab would go. Both sit in the manager's element, fixed in the viewport above its
|
|
@@ -5,12 +7,15 @@
|
|
|
5
7
|
* makes it jump).
|
|
6
8
|
*/
|
|
7
9
|
export declare class DropMarks {
|
|
8
|
-
private readonly
|
|
10
|
+
private readonly host;
|
|
9
11
|
private readonly area;
|
|
10
12
|
private readonly mark;
|
|
11
|
-
|
|
13
|
+
/** The marks showing now. */
|
|
14
|
+
private readonly showing;
|
|
15
|
+
/** `host`: the manager, or a new window's part; the marks are its children while they show. */
|
|
16
|
+
constructor(host: ComponentBase);
|
|
12
17
|
/** Shows the area and the mark (viewport boxes); `null` hides one. */
|
|
13
|
-
show(area:
|
|
18
|
+
show(area: Rect | null, mark: Rect | null): void;
|
|
14
19
|
hide(): void;
|
|
15
20
|
private place;
|
|
16
21
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ComponentBase } from '@motifx/core';
|
|
1
2
|
import type { TabDocumentManager } from './TabDocumentManager';
|
|
2
3
|
import type { TabDrag } from './TabDrag';
|
|
3
4
|
import type { TabDragSubject } from './tab-drag-subject';
|
|
@@ -16,7 +17,7 @@ export declare class MoveByKeys {
|
|
|
16
17
|
constructor(manager: TabDocumentManager, drag: TabDrag);
|
|
17
18
|
get isOn(): boolean;
|
|
18
19
|
/** Starts it for a document (its tab is `source`) or a group. */
|
|
19
|
-
start(subject: TabDragSubject, source:
|
|
20
|
+
start(subject: TabDragSubject, source: ComponentBase | null): boolean;
|
|
20
21
|
/** Drops where it points (`drop`), or puts everything back. */
|
|
21
22
|
end(drop: boolean): boolean;
|
|
22
23
|
private key;
|
|
@@ -8,7 +8,8 @@ import type { TabPresenter } from './TabPresenter';
|
|
|
8
8
|
export declare class PhoneBar {
|
|
9
9
|
private readonly manager;
|
|
10
10
|
private readonly presenter;
|
|
11
|
-
|
|
11
|
+
/** The bar as a component of the manager: its buttons are its children. */
|
|
12
|
+
private readonly part;
|
|
12
13
|
private readonly title;
|
|
13
14
|
private readonly label;
|
|
14
15
|
private readonly icon;
|
|
@@ -12,12 +12,14 @@ export declare class PhoneList {
|
|
|
12
12
|
private readonly presenter;
|
|
13
13
|
private readonly sheet;
|
|
14
14
|
private readonly search;
|
|
15
|
-
private readonly
|
|
15
|
+
private readonly sectionsPart;
|
|
16
16
|
private readonly empty;
|
|
17
17
|
private readonly rows;
|
|
18
18
|
private readonly lists;
|
|
19
19
|
private query;
|
|
20
20
|
private gesture;
|
|
21
|
+
/** The lifted row's gesture, from the lift until it is let go and dropped. */
|
|
22
|
+
private dragged;
|
|
21
23
|
constructor(manager: TabDocumentManager, presenter: TabPresenter);
|
|
22
24
|
get isOpen(): boolean;
|
|
23
25
|
open(): boolean;
|
|
@@ -25,13 +27,18 @@ export declare class PhoneList {
|
|
|
25
27
|
dispose(): void;
|
|
26
28
|
/** Draws the sections and rows again for the documents open now. */
|
|
27
29
|
render(): void;
|
|
30
|
+
/** A group's section, made the first time (and placed by `render`). */
|
|
28
31
|
private listOf;
|
|
32
|
+
/** A document's row, made the first time (and placed by `render`); its parts written in place when the document changes. */
|
|
29
33
|
private rowOf;
|
|
34
|
+
/** A document's row with the parts every row has; `rowOf` writes them. */
|
|
35
|
+
private makeRow;
|
|
30
36
|
private filter;
|
|
31
37
|
/** One row is a Tab stop: the active document's, else the first shown. */
|
|
32
38
|
private renderRoving;
|
|
39
|
+
/** The rows the search shows, in their order on the screen. */
|
|
33
40
|
private visibleRows;
|
|
34
|
-
|
|
41
|
+
/** The document whose row an event started in, `null` when none. */
|
|
35
42
|
private docOf;
|
|
36
43
|
private listen;
|
|
37
44
|
/** A document chosen: the list closes and the phone shows it. */
|
|
@@ -45,8 +52,11 @@ export declare class PhoneList {
|
|
|
45
52
|
/** The long press: the row lifts and follows the finger up and down. */
|
|
46
53
|
private lift;
|
|
47
54
|
private touchMove;
|
|
48
|
-
/**
|
|
49
|
-
private
|
|
55
|
+
/** What a drag can aim at, front first: the other rows the search shows, then the sections. */
|
|
56
|
+
private aimParts;
|
|
57
|
+
/** The row or the section under the finger: the lifted row goes before or after that row, or into that section. */
|
|
58
|
+
private readonly readAim;
|
|
59
|
+
private readonly drawAim;
|
|
50
60
|
private touchEnd;
|
|
51
61
|
private endGesture;
|
|
52
62
|
/** The lifted row let go: where it is now is where the document goes; not moved, its commands open. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Component } from '@motifx/core';
|
|
1
2
|
import type { TabDocumentManager } from './TabDocumentManager';
|
|
2
3
|
import type { TabPresenter } from './TabPresenter';
|
|
3
4
|
/**
|
|
@@ -7,12 +8,18 @@ import type { TabPresenter } from './TabPresenter';
|
|
|
7
8
|
export declare class PhoneTools {
|
|
8
9
|
private readonly manager;
|
|
9
10
|
private readonly presenter;
|
|
10
|
-
|
|
11
|
+
/** The bar as a component of the manager: its buttons are its children. */
|
|
12
|
+
readonly part: Component<HTMLDivElement>;
|
|
11
13
|
private readonly buttons;
|
|
14
|
+
private hasTools;
|
|
12
15
|
constructor(manager: TabDocumentManager, presenter: TabPresenter);
|
|
16
|
+
/** Whether the bar shows: it hides itself when no dock area has a tool to give. */
|
|
17
|
+
get isShown(): boolean;
|
|
13
18
|
render(): void;
|
|
14
19
|
dispose(): void;
|
|
20
|
+
/** A tool's button, made the first time (and placed by `render`); its mark and label written in place when they change. */
|
|
15
21
|
private entryOf;
|
|
22
|
+
/** The tool whose button an event started on, `null` when none. */
|
|
16
23
|
private documentAt;
|
|
17
24
|
/** A tool's button: opens its area with it, or closes the area when it shows it already. */
|
|
18
25
|
private toggle;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Component } from '@motifx/core';
|
|
1
2
|
import type { SashOwner } from './sash-owner';
|
|
2
3
|
import type { TabDocumentManager } from './TabDocumentManager';
|
|
3
4
|
/**
|
|
@@ -8,16 +9,13 @@ import type { TabDocumentManager } from './TabDocumentManager';
|
|
|
8
9
|
export declare class SplitSash {
|
|
9
10
|
readonly split: SashOwner;
|
|
10
11
|
private readonly manager;
|
|
11
|
-
|
|
12
|
+
/** As a component of the layout. */
|
|
13
|
+
readonly part: Component<HTMLDivElement>;
|
|
12
14
|
private drag;
|
|
13
|
-
/** The splitter whose element this is. */
|
|
14
|
-
static of(element: Element | null): SplitSash | null;
|
|
15
15
|
constructor(split: SashOwner, manager: TabDocumentManager);
|
|
16
16
|
/** The index of the child before it. */
|
|
17
17
|
get index(): number;
|
|
18
18
|
private start;
|
|
19
19
|
private move;
|
|
20
20
|
private end;
|
|
21
|
-
/** Where the pointer is along the split, growing in the reading direction. */
|
|
22
|
-
private position;
|
|
23
21
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Component } from '@motifx/core';
|
|
1
2
|
import { DropMarks } from './DropMarks';
|
|
2
3
|
import type { LayoutItem } from './layout-item';
|
|
3
4
|
import type { TabDocument } from './TabDocument';
|
|
@@ -16,7 +17,7 @@ export declare class TabBrowserWindow {
|
|
|
16
17
|
/** The browser window. */
|
|
17
18
|
readonly window: Window;
|
|
18
19
|
/** The manager's part in that window, which fills it and contains the groups. */
|
|
19
|
-
readonly
|
|
20
|
+
readonly part: Component<HTMLDivElement>;
|
|
20
21
|
/** @internal The top of its layout. */
|
|
21
22
|
root: LayoutItem | null;
|
|
22
23
|
/** @internal Where its documents go back to: the group they came from. */
|
|
@@ -24,7 +25,7 @@ export declare class TabBrowserWindow {
|
|
|
24
25
|
/** @internal What a drag shows in this window. */
|
|
25
26
|
readonly marks: DropMarks;
|
|
26
27
|
/** @internal Its announcements: a screen reader reads those of the window it is in. */
|
|
27
|
-
readonly
|
|
28
|
+
readonly livePart: Component<HTMLDivElement>;
|
|
28
29
|
/** @internal When it last had focus: the window in front comes last in `browserWindows`. */
|
|
29
30
|
focusedAt: number;
|
|
30
31
|
private readonly active;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Bind } from '@motifx/core';
|
|
1
|
+
import { Component, type Bind } from '@motifx/core';
|
|
2
2
|
import type { LayoutOrientation } from '../layout/layout-orientation';
|
|
3
3
|
import type { AutoHideStrip } from './AutoHideStrip';
|
|
4
4
|
import type { LayoutItem } from './layout-item';
|
|
@@ -22,7 +22,10 @@ import type { TabGroup } from './TabGroup';
|
|
|
22
22
|
export declare class TabDockArea extends TabBarSettings implements SashOwner {
|
|
23
23
|
private readonly owner;
|
|
24
24
|
readonly side: TabDockSide;
|
|
25
|
-
|
|
25
|
+
/** As a component of the layout. */
|
|
26
|
+
readonly part: Component<HTMLDivElement>;
|
|
27
|
+
/** The id written on it: its splitter and its tab titles name it as what they control. */
|
|
28
|
+
readonly id: string;
|
|
26
29
|
/** @internal */
|
|
27
30
|
readonly sash: SplitSash;
|
|
28
31
|
/** @internal The top of its layout. */
|
|
@@ -94,8 +94,10 @@ import type { PresentationChangingEventArgs } from './presentation-changing-even
|
|
|
94
94
|
import type { TabDockPresentation } from './tab-dock-presentation';
|
|
95
95
|
import type { TabPresentation } from './tab-presentation';
|
|
96
96
|
import type { TabPresentationKind } from './tab-presentation-kind';
|
|
97
|
+
import type { TabHeader } from './tab-header';
|
|
97
98
|
import type { TabNarrowBars } from './tab-narrow-bars';
|
|
98
99
|
import type { TabTabletWhen } from './tab-tablet-when';
|
|
100
|
+
import { type Size } from '../../core/measure';
|
|
99
101
|
/**
|
|
100
102
|
* Arranges documents in tabs, in groups that split side by side and one above the other, the way
|
|
101
103
|
* code editors do. A document's content can be any component, and it is moved, never recreated,
|
|
@@ -620,7 +622,7 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
620
622
|
* Moves focus to the next part, or with `-1` the previous part: the documents, each dock area that
|
|
621
623
|
* is not collapsed, and each floating window.
|
|
622
624
|
*/
|
|
623
|
-
|
|
625
|
+
focusNextPart(by?: 1 | -1): boolean;
|
|
624
626
|
/**
|
|
625
627
|
* Moves a document, a whole group or a floating window with its contents into a new browser
|
|
626
628
|
* window (`window.open`, or `openWindow`) at `options.rect` on the screen. By default, the window is
|
|
@@ -661,7 +663,7 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
661
663
|
*/
|
|
662
664
|
loadLayout(layout: TabLayout, factory?: TabLayoutFactory): boolean;
|
|
663
665
|
focus(): boolean;
|
|
664
|
-
|
|
666
|
+
get focusPart(): ComponentBase;
|
|
665
667
|
/** @internal A touchmove in a bar: stopped while a finger drags a tab or a group, so the page does not scroll. */
|
|
666
668
|
holdTouch(e: TouchEvent): void;
|
|
667
669
|
/** @internal A text for this manager: `texts` first, then `uiLocale`. Reactive. */
|
|
@@ -700,20 +702,22 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
700
702
|
tabDoubleClicked(group: TabGroup, document: TabDocument): void;
|
|
701
703
|
/** @internal The drop marks shown in a document: the main window's, or a new window's. */
|
|
702
704
|
marksIn(doc: Document): DropMarks;
|
|
703
|
-
/** @internal Where the manager's things go in a document (drag pictures, guides):
|
|
704
|
-
|
|
705
|
-
/** @internal The manager
|
|
706
|
-
|
|
707
|
-
/** @internal Whether a node is in the manager: in its element, or in one of its new windows. */
|
|
708
|
-
owns(node: Node | null): boolean;
|
|
705
|
+
/** @internal Where the manager's things go in a document (drag pictures, guides): the manager, or a new window's part. */
|
|
706
|
+
hostIn(doc: Document): ComponentBase;
|
|
707
|
+
/** @internal The manager and the part of each new window: what the strip's look and a drag's cursor are written on. */
|
|
708
|
+
hostParts(): ComponentBase[];
|
|
709
709
|
/** @internal While a drag aims, the document whose viewport its point is in (the main one by default). */
|
|
710
710
|
get dragSpace(): Document;
|
|
711
711
|
set dragSpace(doc: Document | null);
|
|
712
|
+
/** @internal Whether a drag aims in the manager's own window, not in a new window. */
|
|
713
|
+
get dragInOwnWindow(): boolean;
|
|
712
714
|
/** @internal The new windows, the one focused last first, and the main window's document with when it had focus. */
|
|
713
715
|
spaces(): {
|
|
714
716
|
doc: Document;
|
|
715
717
|
at: number;
|
|
716
718
|
}[];
|
|
719
|
+
/** The document of the window the manager is in, from the component tree. */
|
|
720
|
+
private get ownDocument();
|
|
717
721
|
/** @internal A new window's title, as `newWindowTitle` makes it. Reactive. */
|
|
718
722
|
windowTitleOf(w: TabBrowserWindow): string;
|
|
719
723
|
/** @internal Whether what is dragged (or named) may move into a new browser window: its own documents' `allowNewWindow`, else the manager's. */
|
|
@@ -744,19 +748,19 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
744
748
|
recentGroupsNow(): readonly TabGroup[];
|
|
745
749
|
/** @internal The headers a group's strip shows besides its own (the groups folded into it on a tablet). */
|
|
746
750
|
guestHeaders(group: TabGroup): {
|
|
747
|
-
before:
|
|
748
|
-
after:
|
|
751
|
+
before: TabHeader[];
|
|
752
|
+
after: TabHeader[];
|
|
749
753
|
} | null;
|
|
750
754
|
/** @internal Whether a group's strip shows the tabs of groups folded into it on a tablet. Reactive. */
|
|
751
755
|
groupHasGuests(group: TabGroup): boolean;
|
|
752
756
|
/** @internal Whether a group is folded into another on a tablet: its tabs show in that group's strip. */
|
|
753
757
|
groupFolded(group: TabGroup): boolean;
|
|
754
|
-
/** @internal The tab whose header
|
|
755
|
-
|
|
758
|
+
/** @internal The tab whose header an event came from, whichever group it is in. */
|
|
759
|
+
tabOfEvent(e: Event): DocumentTab | undefined;
|
|
756
760
|
/** @internal How the tab menus show now: `menuPresentation`, else a sheet on a phone, a sheet for a finger on a tablet, a menu on a desktop. Reactive. */
|
|
757
761
|
get menuPresentationNow(): ContextMenuPresentation;
|
|
758
|
-
/** @internal A document's commands in an action sheet (the phone's title, a row of its list)
|
|
759
|
-
openDocumentSheet(doc: TabDocument, group: TabGroup, byKeyboard: boolean, returnFocus:
|
|
762
|
+
/** @internal A document's commands in an action sheet (the phone's title, a row of its list); focus goes back to `returnFocus`. */
|
|
763
|
+
openDocumentSheet(doc: TabDocument, group: TabGroup, byKeyboard: boolean, returnFocus: ComponentBase | null): void;
|
|
760
764
|
/** @internal The phone's list closes a document (or hides one that may only be hidden). */
|
|
761
765
|
closeOrHideFromList(doc: TabDocument): Promise<boolean>;
|
|
762
766
|
/** @internal Whether the phone's list may move a document: its own `allowDrag`, else the manager's. */
|
|
@@ -791,8 +795,8 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
791
795
|
activateFromDrag(document: TabDocument): void;
|
|
792
796
|
/** @internal A canceled drag gives the active group back. */
|
|
793
797
|
useGroupFromDrag(group: TabGroup): void;
|
|
794
|
-
/** @internal A long press let go without moving: the tab's
|
|
795
|
-
|
|
798
|
+
/** @internal A long press let go without moving: the menu of what was pressed (a tab's document, a group's strip) at that point. */
|
|
799
|
+
openMenuAt(subject: Pick<TabDragSubject, 'document' | 'group'>, x: number, y: number, source: ComponentBase): void;
|
|
796
800
|
/** @internal The group next to `group` on that side, `null` when it is at that edge of the layout. */
|
|
797
801
|
neighbourOf(group: TabGroup, direction: SplitDirection): TabGroup | null;
|
|
798
802
|
/** @internal The group at an edge of the layout (the one used last, when several are). */
|
|
@@ -958,6 +962,12 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
958
962
|
/** The new window is open and ready: the document, the group or the floating window's layout moves into it. */
|
|
959
963
|
private moveInto;
|
|
960
964
|
private createBrowserWindow;
|
|
965
|
+
/**
|
|
966
|
+
* The token values the manager has go along into a new window where that window's own differ: the app's overrides on
|
|
967
|
+
* the manager or around it, a theme of a part of the page. Read from the token list (loaded with the first new window,
|
|
968
|
+
* so the manager does not carry it) a round in each window; written on the window's part.
|
|
969
|
+
*/
|
|
970
|
+
private carryTokens;
|
|
961
971
|
/** A window made for a move that did not happen goes without a word. */
|
|
962
972
|
private discardBrowserWindow;
|
|
963
973
|
/** A new window is gone: emptied, its documents back in the main window, or closed. */
|
|
@@ -992,14 +1002,28 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
992
1002
|
renderDock(): void;
|
|
993
1003
|
/** @internal A dock area's size kept between its smallest and what leaves the documents their smallest. */
|
|
994
1004
|
clampAreaSize(area: TabDockArea, px: number): number;
|
|
995
|
-
/**
|
|
1005
|
+
/** The presentation `presentation` asks for, or the manager's width; null while it has no width to tell by. */
|
|
1006
|
+
private wantedPresentation;
|
|
1007
|
+
/**
|
|
1008
|
+
* Shows the layout as `presentation` says, or by the manager's width; asks `onPresentationChanging` first. `kept`: the
|
|
1009
|
+
* scrolls of what goes back home, noted in a measure's read (`TabPresenter.readScrolls`).
|
|
1010
|
+
*/
|
|
996
1011
|
private resolvePresentation;
|
|
997
1012
|
/** A screen that gets or loses its touch (a tablet with a keyboard and a mouse) may change the presentation. */
|
|
998
1013
|
private watchPointer;
|
|
999
|
-
|
|
1014
|
+
private readonly presentBySize;
|
|
1015
|
+
/** A dock area sized by a share follows the manager's size, and so does the presentation. */
|
|
1000
1016
|
private watchSize;
|
|
1001
|
-
/** @internal
|
|
1002
|
-
|
|
1017
|
+
/** @internal The manager's size as last measured, 0 before it is on the page: the room its dock areas share. */
|
|
1018
|
+
get measuredSize(): Size;
|
|
1019
|
+
/**
|
|
1020
|
+
* @internal A window kept inside the viewport (when `keepFloatingInView` is on), at least its strip in reach. `room`:
|
|
1021
|
+
* the window's room as a measure's read found it (its write moves the window), else read here.
|
|
1022
|
+
*/
|
|
1023
|
+
keepWindowInView(w: TabWindow, room?: {
|
|
1024
|
+
w: number;
|
|
1025
|
+
h: number;
|
|
1026
|
+
}): void;
|
|
1003
1027
|
/** Where a window floated from `group` opens: at `at` (the pointer), else beside the group; as large as the group, or `floatingWindowSize`. */
|
|
1004
1028
|
private floatRect;
|
|
1005
1029
|
/** Whether the user and the code may float a document: its own `allowFloat`, else the manager's. */
|
|
@@ -1041,8 +1065,8 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
1041
1065
|
/** Closes the slid out area without asking (it is going away, or another one slides out). */
|
|
1042
1066
|
private stopSlide;
|
|
1043
1067
|
/**
|
|
1044
|
-
* While an area is slid out: a click outside it, Escape in it, or focus leaving it closes it.
|
|
1045
|
-
*
|
|
1068
|
+
* While an area is slid out: a click outside it, Escape in it, or focus leaving it closes it. Its strip and the
|
|
1069
|
+
* manager's menus and lists opened from it (the tab's menu, the documents) count as inside.
|
|
1046
1070
|
*/
|
|
1047
1071
|
private watchSlide;
|
|
1048
1072
|
/** @internal The pointer left a title and the area it slid out by resting on it: it slides back, unless focus went in. */
|
|
@@ -1083,10 +1107,12 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
1083
1107
|
private readNode;
|
|
1084
1108
|
private restoreDocument;
|
|
1085
1109
|
private registerKeys;
|
|
1110
|
+
/** The headers of its tabs, wherever they stand: the strip's keys work on them. */
|
|
1111
|
+
private tabParts;
|
|
1112
|
+
/** Its splitters: those of each split, and each dock area's own. The resize keys work on them. */
|
|
1113
|
+
private sashes;
|
|
1086
1114
|
/** The recent list's key: opens the list, or walks it while it is open. */
|
|
1087
1115
|
private recentKey;
|
|
1088
|
-
/** The tab of this manager (not of one inside it) whose header is `target`. */
|
|
1089
|
-
private tabAt;
|
|
1090
1116
|
private stepByKey;
|
|
1091
1117
|
private stripKey;
|
|
1092
1118
|
private sashKey;
|
|
@@ -1102,7 +1128,7 @@ export declare class TabDocumentManager extends FocusContainer<HTMLDivElement, T
|
|
|
1102
1128
|
/** A polite announcement for screen readers. */
|
|
1103
1129
|
private say;
|
|
1104
1130
|
/** @internal Said in the window that has focus: a screen reader reads the live regions of the window it is in. */
|
|
1105
|
-
sayText(
|
|
1131
|
+
sayText(value: string): void;
|
|
1106
1132
|
private get parts();
|
|
1107
1133
|
private createParts;
|
|
1108
1134
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { ComponentBase } from '@motifx/core';
|
|
1
2
|
import type { TabDocumentManager } from './TabDocumentManager';
|
|
2
3
|
import type { TabDragSubject } from './tab-drag-subject';
|
|
4
|
+
import type { TabDropMarks } from './tab-drop-marks';
|
|
3
5
|
import type { TabDropPlace } from './tab-drop-place';
|
|
4
6
|
import type { TabDropTarget } from './tab-drop-target';
|
|
5
7
|
/**
|
|
@@ -17,22 +19,25 @@ export declare class TabDrag {
|
|
|
17
19
|
private readonly ghost;
|
|
18
20
|
private readonly stops;
|
|
19
21
|
constructor(manager: TabDocumentManager);
|
|
20
|
-
/** Drags start from the strips under `root`: the manager
|
|
21
|
-
listen(root:
|
|
22
|
+
/** Drags start from the strips under `root`: the manager, or a new window's part. Returns the function that stops it. */
|
|
23
|
+
listen(root: ComponentBase): () => void;
|
|
22
24
|
/** A touchmove in a bar: once a long press drags, the finger moves the tab, not the strip or the page. */
|
|
23
25
|
holdTouch(e: TouchEvent): void;
|
|
24
26
|
/** What is being dragged now. */
|
|
25
27
|
get subject(): TabDragSubject | null;
|
|
26
|
-
/** Starts a drag: `onDragStarting` may cancel it. */
|
|
27
|
-
begin(subject: TabDragSubject, pointerType: string,
|
|
28
|
-
/**
|
|
29
|
-
|
|
28
|
+
/** Starts a drag: `onDragStarting` may cancel it. From the keys, `from` is the tab's part or the group: the window the move starts in. */
|
|
29
|
+
begin(subject: TabDragSubject, pointerType: string, from: ComponentBase | null, x?: number, y?: number, pointerId?: number, space?: Document): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Aims at a place (from a target, or chosen by the keys): `onDragOver` may change or refuse it. `marks` are the
|
|
32
|
+
* place's marks read in the read of a measure; without them they are read here, where the keys aim.
|
|
33
|
+
*/
|
|
34
|
+
aim(place: TabDropPlace | null, target: TabDropTarget | null, marks?: TabDropMarks | null): boolean;
|
|
30
35
|
/** Ends the drag: drops where it aims (`onDropping` may stop it), or puts everything back. */
|
|
31
36
|
finish(drop: boolean, quiet?: boolean): boolean;
|
|
32
37
|
/** Stops a drag (or a click that may become one); `quiet` says nothing. */
|
|
33
38
|
cancel(quiet?: boolean): void;
|
|
34
39
|
private pointerDown;
|
|
35
|
-
/** The document of a tab, or the group of an empty bar, that a
|
|
40
|
+
/** The document of a tab, or the group of an empty bar, that a press there would drag, and the part pressed. */
|
|
36
41
|
private subjectAt;
|
|
37
42
|
private longPress;
|
|
38
43
|
/** The press became a drag: by moving past the threshold (`e`), or by a long press. */
|
|
@@ -40,8 +45,15 @@ export declare class TabDrag {
|
|
|
40
45
|
private pointerMove;
|
|
41
46
|
private pointerUp;
|
|
42
47
|
private key;
|
|
43
|
-
/** The pointer moved, or the copy key changed: aim
|
|
48
|
+
/** The pointer moved, or the copy key changed: a window moved follows at once; the aim and the hover come with the next frame. */
|
|
44
49
|
private track;
|
|
50
|
+
private readonly readAim;
|
|
51
|
+
private readonly drawAim;
|
|
52
|
+
/** The marks of a place `onDragOver` chose in a write, read with the next round's reads. */
|
|
53
|
+
private readonly readMarks;
|
|
54
|
+
private readonly drawMarks;
|
|
55
|
+
/** Where the drag's frames are read: the window it started in. */
|
|
56
|
+
private ownerOf;
|
|
45
57
|
/**
|
|
46
58
|
* The place under the pointer: the targets of the manager it is over (or of the manager of the
|
|
47
59
|
* floating window it is over: windows lie above everything), else floating, else outside. Past
|
|
@@ -61,12 +73,15 @@ export declare class TabDrag {
|
|
|
61
73
|
private args;
|
|
62
74
|
/** Shows the marks where the drag aims, in the manager it aims at, and what a drop would do. */
|
|
63
75
|
private paint;
|
|
64
|
-
/**
|
|
76
|
+
/** The tab of a strip under a point, read with the frame's reads. */
|
|
77
|
+
private tabAt;
|
|
78
|
+
/** Resting on a tab of another group (`under`, as the frame read it) activates it after `dragHoverDelay`. */
|
|
65
79
|
private hover;
|
|
66
80
|
private hoverActivate;
|
|
67
|
-
/**
|
|
68
|
-
private
|
|
69
|
-
|
|
81
|
+
/** The row of the strip under the pointer, read with the frame's reads: the one that scrolls near its ends. */
|
|
82
|
+
private edgeRow;
|
|
83
|
+
/** A strip scrolled on: where it started is kept for a cancel, and the drag aims again. */
|
|
84
|
+
private scrolled;
|
|
70
85
|
/** Canceled: what hovering activated and the strips scrolling moved go back, and a window moved. */
|
|
71
86
|
private putBack;
|
|
72
87
|
private copyHeld;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type Bind } from '@motifx/core';
|
|
1
|
+
import { Component, type Bind, type ComponentBase } from '@motifx/core';
|
|
2
2
|
import { FocusContainer } from '../../core/container';
|
|
3
|
+
import type { Control } from '../../core/control';
|
|
3
4
|
import type { MenuItem } from '../../parts/menu/menu-item';
|
|
4
5
|
import type { DocumentTab } from './DocumentTab';
|
|
5
6
|
import type { SplitDirection } from './split-direction';
|
|
@@ -18,6 +19,10 @@ import type { TabWindow } from './TabWindow';
|
|
|
18
19
|
* own row when `pinnedTabsOnSeparateRow` is on.
|
|
19
20
|
*/
|
|
20
21
|
export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
22
|
+
/** @internal The id written on the group's element. */
|
|
23
|
+
readonly id: string;
|
|
24
|
+
private readonly readStrip;
|
|
25
|
+
private readonly drawStrip;
|
|
21
26
|
constructor(manager: TabDocumentManager);
|
|
22
27
|
get manager(): TabDocumentManager;
|
|
23
28
|
/** The documents in strip order, with the pinned documents first. Reactive. */
|
|
@@ -66,7 +71,8 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
66
71
|
unlock(): boolean;
|
|
67
72
|
/** Makes it the active group and sets focus on what last had focus in it. */
|
|
68
73
|
focus(): boolean;
|
|
69
|
-
|
|
74
|
+
get focusPart(): ComponentBase;
|
|
75
|
+
onMounted(): void;
|
|
70
76
|
/** @internal */
|
|
71
77
|
get tabs(): readonly DocumentTab[];
|
|
72
78
|
/** @internal */
|
|
@@ -77,13 +83,15 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
77
83
|
get parentSplit(): TabSplit | null;
|
|
78
84
|
set parentSplit(split: TabSplit | null);
|
|
79
85
|
/** @internal The tab list. */
|
|
80
|
-
get
|
|
86
|
+
get listPart(): Component<HTMLDivElement>;
|
|
87
|
+
/** @internal The tab list and its scroll buttons. */
|
|
88
|
+
get stripPart(): Component<HTMLDivElement>;
|
|
81
89
|
/** @internal The strip and the toolbar. */
|
|
82
|
-
get
|
|
90
|
+
get barPart(): Component<HTMLDivElement>;
|
|
83
91
|
/** @internal The row of the tabs that are not pinned: it scrolls. */
|
|
84
|
-
get
|
|
92
|
+
get rowPart(): Component<HTMLDivElement>;
|
|
85
93
|
/** @internal Where the content shows. */
|
|
86
|
-
get
|
|
94
|
+
get panelsPart(): Component<HTMLDivElement>;
|
|
87
95
|
/** @internal Whether its bar keeps only some buttons and has one "…" menu for the rest and the documents. Reactive. */
|
|
88
96
|
get isCompact(): boolean;
|
|
89
97
|
/** @internal In a compact bar: the buttons not in the toolbar, as items of the "…" menu; the built-in ones first. */
|
|
@@ -93,7 +101,7 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
93
101
|
/** @internal The sides a drop on the content may take now: the group's own, else the manager's. */
|
|
94
102
|
get dropSidesNow(): readonly TabDropSide[];
|
|
95
103
|
/** @internal The "…" button, while it is shown (not folded into the toolbar's menu). */
|
|
96
|
-
get
|
|
104
|
+
get moreButtonPart(): Control | null;
|
|
97
105
|
/** @internal Puts a tab (and its panel) in at `index`; pinned tabs stay first. */
|
|
98
106
|
addTab(tab: DocumentTab, index: number): void;
|
|
99
107
|
/** @internal Takes a tab out without disposing it; the manager has chosen the next active one. */
|
|
@@ -119,12 +127,16 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
119
127
|
markMaximized(on: boolean): void;
|
|
120
128
|
/** @internal The texts that carry the group's number. */
|
|
121
129
|
renderTexts(number: number): void;
|
|
122
|
-
/** @internal The tab whose header
|
|
123
|
-
|
|
124
|
-
/** @internal
|
|
125
|
-
|
|
126
|
-
/** @internal Whether
|
|
127
|
-
|
|
130
|
+
/** @internal The tab whose header an event started on. */
|
|
131
|
+
tabOfEvent(e: Event): DocumentTab | undefined;
|
|
132
|
+
/** @internal The tab whose header an event started on: one of its own, or on a tablet one of a group folded into it. */
|
|
133
|
+
stripTabOfEvent(e: Event): DocumentTab | undefined;
|
|
134
|
+
/** @internal Whether an event started on the group's drag handle. */
|
|
135
|
+
isGripEvent(e: Event): boolean;
|
|
136
|
+
/** @internal Whether an event started in the strip's empty room: in the bar, not on one of its tabs, the scrollbar or a toolbar button. */
|
|
137
|
+
isStripSpaceEvent(e: Event): boolean;
|
|
138
|
+
/** @internal Whether an event started on one of the strip's scroll buttons. */
|
|
139
|
+
isScrollButtonEvent(e: Event): boolean;
|
|
128
140
|
/** @internal Scrolls the strip, not the page, so that a tab is in sight. */
|
|
129
141
|
reveal(tab: DocumentTab): void;
|
|
130
142
|
/** @internal The roving tab stop: the active tab. */
|
|
@@ -133,9 +145,11 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
133
145
|
restoreRecent(order: readonly number[]): void;
|
|
134
146
|
/** @internal */
|
|
135
147
|
disposeTabs(): void;
|
|
136
|
-
/** @internal Shows the scroll buttons when the tabs do not fit, each dimmed at its end. */
|
|
148
|
+
/** @internal Shows the scroll buttons when the tabs do not fit, each dimmed at its end; drawn in the window's next frame. */
|
|
137
149
|
queueOverflow(): void;
|
|
138
|
-
|
|
150
|
+
/** Makes `tab` the active one and watches its header's size: a late font changes its width, and it stays in sight. */
|
|
151
|
+
private setActive;
|
|
152
|
+
private stripResized;
|
|
139
153
|
/** The thin scrollbar: along the tabs that scroll, its thumb as long as the share in sight. */
|
|
140
154
|
private placeThumb;
|
|
141
155
|
/** The thumb is dragged: the strip follows, as far as the tabs go for each pixel of the track. */
|
|
@@ -146,7 +160,7 @@ export declare class TabGroup extends FocusContainer<HTMLDivElement> {
|
|
|
146
160
|
private renderLook;
|
|
147
161
|
/** The name of the "…" button: the documents, or the documents and the commands, and how many tabs are out of sight. */
|
|
148
162
|
private moreText;
|
|
149
|
-
private
|
|
163
|
+
private scrollStrip;
|
|
150
164
|
/** The app's buttons, recreated only when `toolbarItems` is another function. */
|
|
151
165
|
private appItems;
|
|
152
166
|
private changed;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { type ComponentBase } from '@motifx/core';
|
|
1
2
|
import type { MenuItem } from '../../parts/menu/menu-item';
|
|
2
3
|
import { ContextMenu } from '../contextmenu/ContextMenu';
|
|
4
|
+
import type { ContextMenuTarget } from '../contextmenu/context-menu-target';
|
|
5
|
+
import type { TabDragSubject } from './tab-drag-subject';
|
|
3
6
|
import type { TabDocument } from './TabDocument';
|
|
4
7
|
import type { TabDocumentManager } from './TabDocumentManager';
|
|
5
8
|
import type { TabGroup } from './TabGroup';
|
|
@@ -14,11 +17,13 @@ export declare class TabMenus {
|
|
|
14
17
|
private readonly others;
|
|
15
18
|
/** The action sheet a phone shows a document's commands in (from its title, or its row in the list). */
|
|
16
19
|
private sheet;
|
|
20
|
+
/** What a menu opened by `openAt` is for: an opening made by code has no event that tells. */
|
|
21
|
+
private given;
|
|
17
22
|
constructor(manager: TabDocumentManager);
|
|
18
23
|
/** Gives the strips under `root` (a new window's) the menus; returns the function that takes them off. */
|
|
19
|
-
attach(root:
|
|
20
|
-
/**
|
|
21
|
-
|
|
24
|
+
attach(root: ContextMenuTarget): () => void;
|
|
25
|
+
/** Opens the menu of a tab's document, or of a group's strip without one, at a point: a long press let go where it started. */
|
|
26
|
+
openAt(subject: Pick<TabDragSubject, 'document' | 'group'>, x: number, y: number, source: ComponentBase): boolean;
|
|
22
27
|
private create;
|
|
23
28
|
/** The items of a tab's menu. */
|
|
24
29
|
forTab(doc: TabDocument, group: TabGroup): MenuItem[];
|
|
@@ -27,8 +32,10 @@ export declare class TabMenus {
|
|
|
27
32
|
/** The items of the empty strip's menu. */
|
|
28
33
|
forStrip(group: TabGroup): MenuItem[];
|
|
29
34
|
/** A document's commands in an action sheet, asking `onContextMenuOpening` first as a tab's menu does. */
|
|
30
|
-
openSheet(doc: TabDocument, group: TabGroup, byKeyboard: boolean, returnFocus:
|
|
35
|
+
openSheet(doc: TabDocument, group: TabGroup, byKeyboard: boolean, returnFocus: ComponentBase | null): boolean;
|
|
31
36
|
dispose(): void;
|
|
32
37
|
private build;
|
|
33
38
|
private opening;
|
|
39
|
+
/** What a right click or the menu key is on: a tab, or a strip's empty room; `null` elsewhere. */
|
|
40
|
+
private subjectOf;
|
|
34
41
|
}
|