@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.
Files changed (598) hide show
  1. package/CHANGELOG.md +324 -0
  2. package/dist/components/accordion/Accordion.d.ts +3 -0
  3. package/dist/components/accordion/AccordionItem.d.ts +9 -7
  4. package/dist/components/appbar/AppBar.d.ts +9 -3
  5. package/dist/components/appbar/app-bar-props.d.ts +2 -2
  6. package/dist/components/appmenu/AppMenu.d.ts +204 -0
  7. package/dist/components/appmenu/app-menu-item-click-event-args.d.ts +11 -0
  8. package/dist/components/appmenu/app-menu-item.d.ts +46 -0
  9. package/dist/components/appmenu/app-menu-items-changed-event-args.d.ts +7 -0
  10. package/dist/components/appmenu/app-menu-props.d.ts +38 -0
  11. package/dist/components/appmenu/app-menu-search-text-changed-event-args.d.ts +5 -0
  12. package/dist/components/appmenu/app-menu-selecting-event-args.d.ts +5 -0
  13. package/dist/components/appmenu/app-menu-selection-changed-event-args.d.ts +13 -0
  14. package/dist/components/appmenu/index.d.ts +8 -0
  15. package/dist/components/avatar/Avatar.d.ts +2 -0
  16. package/dist/components/avatar/AvatarGroup.d.ts +18 -2
  17. package/dist/components/badge/Badge.d.ts +4 -1
  18. package/dist/components/barcode/Barcode.d.ts +7 -1
  19. package/dist/components/bargauge/BarGauge.d.ts +35 -22
  20. package/dist/components/bottomnavigation/BottomNavigation.d.ts +44 -12
  21. package/dist/components/bottomnavigation/bottom-navigation-item.d.ts +1 -1
  22. package/dist/components/bottomnavigation/bottom-navigation-props.d.ts +2 -2
  23. package/dist/components/breadcrumb/Breadcrumb.d.ts +12 -8
  24. package/dist/components/button/Button.d.ts +24 -3
  25. package/dist/components/button/button-props.d.ts +1 -0
  26. package/dist/components/button/menu-item-of.d.ts +4 -0
  27. package/dist/components/buttongroup/ButtonGroup.d.ts +2 -1
  28. package/dist/components/calendar/Calendar.d.ts +11 -3
  29. package/dist/components/calendar/calendar-props.d.ts +2 -0
  30. package/dist/components/card/Card.d.ts +10 -0
  31. package/dist/components/card/card-props.d.ts +1 -1
  32. package/dist/components/chart/Chart.d.ts +30 -17
  33. package/dist/components/chart/ChartLegend.d.ts +10 -7
  34. package/dist/components/chart/ChartPlot.d.ts +40 -31
  35. package/dist/components/chart/ChartTable.d.ts +0 -1
  36. package/dist/components/chart/ChartTooltip.d.ts +23 -4
  37. package/dist/components/chart/PartsPlot.d.ts +19 -7
  38. package/dist/components/chart/RadarPlot.d.ts +23 -9
  39. package/dist/components/chart/chart-export.d.ts +3 -3
  40. package/dist/components/chart/chart-look.d.ts +7 -5
  41. package/dist/components/chart/chart-tooltip-options.d.ts +3 -2
  42. package/dist/components/chart/plot-room.d.ts +9 -0
  43. package/dist/components/chart/plot-view.d.ts +12 -2
  44. package/dist/components/chart/text-parts.d.ts +12 -0
  45. package/dist/components/checkbox/ToggleField.d.ts +6 -4
  46. package/dist/components/chip/Chip.d.ts +16 -7
  47. package/dist/components/chip/ChipGroup.d.ts +14 -1
  48. package/dist/components/chip/chip-props.d.ts +1 -1
  49. package/dist/components/colorbox/ColorBox.d.ts +5 -3
  50. package/dist/components/colorpicker/ColorPicker.d.ts +3 -0
  51. package/dist/components/combobox/ComboBox.d.ts +8 -4
  52. package/dist/components/combobox/combo-box-props.d.ts +2 -2
  53. package/dist/components/contextmenu/ContextMenu.d.ts +26 -15
  54. package/dist/components/contextmenu/attach-context-menu.d.ts +3 -3
  55. package/dist/components/contextmenu/context-menu-opening-event-args.d.ts +8 -4
  56. package/dist/components/contextmenu/context-menu-props.d.ts +2 -2
  57. package/dist/components/contextmenu/context-menu-target.d.ts +2 -2
  58. package/dist/components/datagrid/DataGrid.d.ts +104 -31
  59. package/dist/components/datagrid/filter-editor-context.d.ts +22 -0
  60. package/dist/components/datagrid/grid-action.d.ts +2 -2
  61. package/dist/components/datagrid/grid-cell-click-event-args.d.ts +3 -3
  62. package/dist/components/datagrid/grid-cell-prepared-event-args.d.ts +6 -4
  63. package/dist/components/datagrid/grid-column.d.ts +10 -2
  64. package/dist/components/datagrid/grid-editor-prepared-event-args.d.ts +2 -2
  65. package/dist/components/datagrid/grid-lookup.d.ts +4 -4
  66. package/dist/components/datagrid/grid-master-detail.d.ts +1 -1
  67. package/dist/components/datagrid/grid-row-click-event-args.d.ts +3 -3
  68. package/dist/components/datagrid/grid-row-drag-event-args.d.ts +3 -2
  69. package/dist/components/datagrid/grid-row-dragging.d.ts +8 -8
  70. package/dist/components/datagrid/grid-row-prepared-event-args.d.ts +4 -2
  71. package/dist/components/datagrid/grid-visible-row.d.ts +3 -1
  72. package/dist/components/datagrid/index.d.ts +1 -0
  73. package/dist/components/datagrid/model/CellFormatter.d.ts +8 -1
  74. package/dist/components/datagrid/model/ChoiceListAdapter.d.ts +23 -0
  75. package/dist/components/datagrid/model/GridExport.d.ts +1 -1
  76. package/dist/components/datagrid/model/GridModel.d.ts +5 -0
  77. package/dist/components/datagrid/model/ListChoices.d.ts +28 -0
  78. package/dist/components/datagrid/model/row-dragging-values.d.ts +3 -2
  79. package/dist/components/datagrid/view/ActionWidths.d.ts +16 -4
  80. package/dist/components/datagrid/view/BandRows.d.ts +12 -14
  81. package/dist/components/datagrid/view/CellEditor.d.ts +3 -5
  82. package/dist/components/datagrid/view/CellTip.d.ts +20 -8
  83. package/dist/components/datagrid/view/ColumnMenu.d.ts +4 -2
  84. package/dist/components/datagrid/view/ColumnStyles.d.ts +3 -2
  85. package/dist/components/datagrid/view/DetailRow.d.ts +9 -4
  86. package/dist/components/datagrid/view/DragSelect.d.ts +19 -7
  87. package/dist/components/datagrid/view/EditForm.d.ts +4 -0
  88. package/dist/components/datagrid/view/FilterCell.d.ts +30 -7
  89. package/dist/components/datagrid/view/FilterPanel.d.ts +1 -1
  90. package/dist/components/datagrid/view/FilterRow.d.ts +10 -6
  91. package/dist/components/datagrid/view/GridBody.d.ts +87 -43
  92. package/dist/components/datagrid/view/GridPager.d.ts +8 -1
  93. package/dist/components/datagrid/view/GridRow.d.ts +32 -17
  94. package/dist/components/datagrid/view/GridToolbar.d.ts +6 -5
  95. package/dist/components/datagrid/view/GroupFooterRow.d.ts +7 -1
  96. package/dist/components/datagrid/view/GroupPanel.d.ts +26 -8
  97. package/dist/components/datagrid/view/GroupRow.d.ts +17 -10
  98. package/dist/components/datagrid/view/HeaderFilter.d.ts +2 -1
  99. package/dist/components/datagrid/view/HeaderRow.d.ts +18 -3
  100. package/dist/components/datagrid/view/MenuPopup.d.ts +3 -2
  101. package/dist/components/datagrid/view/RowActions.d.ts +13 -5
  102. package/dist/components/datagrid/view/RowDrag.d.ts +24 -10
  103. package/dist/components/datagrid/view/TotalRow.d.ts +4 -2
  104. package/dist/components/datagrid/view/action-button.d.ts +11 -5
  105. package/dist/components/datagrid/view/cell-tip-target.d.ts +11 -0
  106. package/dist/components/datagrid/view/check-mark.d.ts +4 -3
  107. package/dist/components/datagrid/view/column-fit.d.ts +9 -0
  108. package/dist/components/datagrid/view/drag-handle.d.ts +3 -2
  109. package/dist/components/datagrid/view/drag-select-host.d.ts +5 -5
  110. package/dist/components/datagrid/view/expand-button.d.ts +4 -3
  111. package/dist/components/datagrid/view/group-drop.d.ts +7 -0
  112. package/dist/components/datagrid/view/group-panel-host.d.ts +7 -4
  113. package/dist/components/datagrid/view/header-host.d.ts +3 -2
  114. package/dist/components/datagrid/view/row-drag-host.d.ts +5 -3
  115. package/dist/components/datagrid/view/summary-cell.d.ts +5 -3
  116. package/dist/components/datagrid/view/toolbar-host.d.ts +3 -2
  117. package/dist/components/datebox/DateBox.d.ts +5 -3
  118. package/dist/components/daterangebox/DateRangeBox.d.ts +12 -9
  119. package/dist/components/draggable/Draggable.d.ts +24 -11
  120. package/dist/components/draggable/draggable-props.d.ts +3 -3
  121. package/dist/components/drawer/Drawer.d.ts +18 -10
  122. package/dist/components/drawer/drawer-props.d.ts +2 -2
  123. package/dist/components/dropdown/DropDown.d.ts +12 -3
  124. package/dist/components/dropdown/drop-down-props.d.ts +3 -3
  125. package/dist/components/fileuploader/FileUploader.d.ts +9 -6
  126. package/dist/components/filterbuilder/FilterBuilder.d.ts +42 -13
  127. package/dist/components/form/MxForm.d.ts +33 -12
  128. package/dist/components/form/form-props.d.ts +1 -1
  129. package/dist/components/form/message-box-options.d.ts +1 -1
  130. package/dist/components/formlayout/FormLayout.d.ts +26 -5
  131. package/dist/components/gallery/Gallery.d.ts +30 -17
  132. package/dist/components/gauge/Gauge.d.ts +51 -37
  133. package/dist/components/layout/ChildSettings.d.ts +2 -2
  134. package/dist/components/layout/GroupBox.d.ts +7 -5
  135. package/dist/components/layout/Panel.d.ts +1 -0
  136. package/dist/components/layout/SplitContainer.d.ts +8 -8
  137. package/dist/components/layout/set-padding.d.ts +2 -1
  138. package/dist/components/layout/set-space.d.ts +2 -1
  139. package/dist/components/listbox/ListBox.d.ts +7 -5
  140. package/dist/components/listbox/item-template.d.ts +7 -2
  141. package/dist/components/listbox/list-rows.d.ts +2 -0
  142. package/dist/components/loadpanel/LoadPanel.d.ts +7 -3
  143. package/dist/components/loadpanel/load-panel-props.d.ts +1 -1
  144. package/dist/components/loadpanel/load-panel-target.d.ts +2 -2
  145. package/dist/components/lookup/Lookup.d.ts +1 -1
  146. package/dist/components/menubar/MenuBar.d.ts +115 -5
  147. package/dist/components/menubar/index.d.ts +7 -0
  148. package/dist/components/menubar/menu-bar-added-item.d.ts +11 -0
  149. package/dist/components/menubar/menu-bar-custom-menu-opening-event-args.d.ts +19 -0
  150. package/dist/components/menubar/menu-bar-customization.d.ts +18 -0
  151. package/dist/components/menubar/menu-bar-customized-event-args.d.ts +7 -0
  152. package/dist/components/menubar/menu-bar-items-changed-event-args.d.ts +7 -0
  153. package/dist/components/menubar/menu-bar-merge-when.d.ts +5 -0
  154. package/dist/components/menubar/menu-bar-merged-event-args.d.ts +7 -0
  155. package/dist/components/menubar/menu-bar-props.d.ts +43 -1
  156. package/dist/components/menubar/menu-merge.d.ts +10 -0
  157. package/dist/components/menubar/menu-node.d.ts +4 -0
  158. package/dist/components/menubar/merge-hosts.d.ts +9 -0
  159. package/dist/components/menubar/merged-item.d.ts +18 -0
  160. package/dist/components/numberbox/NumberBox.d.ts +13 -4
  161. package/dist/components/numberbox/number-box-props.d.ts +1 -1
  162. package/dist/components/otpinput/OtpInput.d.ts +19 -8
  163. package/dist/components/pagination/Pagination.d.ts +9 -4
  164. package/dist/components/popover/Popover.d.ts +24 -7
  165. package/dist/components/popover/popover-props.d.ts +1 -1
  166. package/dist/components/progress/ProgressBar.d.ts +1 -0
  167. package/dist/components/progress/ProgressWave.d.ts +13 -12
  168. package/dist/components/progress/Spinner.d.ts +5 -5
  169. package/dist/components/progress/progress-bar-props.d.ts +1 -1
  170. package/dist/components/qrcode/QRCode.d.ts +5 -1
  171. package/dist/components/radiogroup/RadioGroup.d.ts +8 -6
  172. package/dist/components/rating/Rating.d.ts +2 -2
  173. package/dist/components/resizable/Resizable.d.ts +19 -17
  174. package/dist/components/resizable/resizable-props.d.ts +3 -3
  175. package/dist/components/resizable/resize-start.d.ts +11 -0
  176. package/dist/components/ribbonmenu/RibbonGallery.d.ts +32 -0
  177. package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +61 -0
  178. package/dist/components/ribbonmenu/RibbonMenu.d.ts +419 -0
  179. package/dist/components/ribbonmenu/index.d.ts +22 -0
  180. package/dist/components/ribbonmenu/ribbon-app-button-event-args.d.ts +8 -0
  181. package/dist/components/ribbonmenu/ribbon-command-click-event-args.d.ts +15 -0
  182. package/dist/components/ribbonmenu/ribbon-command-size.d.ts +2 -0
  183. package/dist/components/ribbonmenu/ribbon-command-type.d.ts +7 -0
  184. package/dist/components/ribbonmenu/ribbon-command.d.ts +63 -0
  185. package/dist/components/ribbonmenu/ribbon-gallery-item.d.ts +18 -0
  186. package/dist/components/ribbonmenu/ribbon-group-more-event-args.d.ts +12 -0
  187. package/dist/components/ribbonmenu/ribbon-group.d.ts +31 -0
  188. package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +22 -0
  189. package/dist/components/ribbonmenu/ribbon-menu-customization.d.ts +18 -0
  190. package/dist/components/ribbonmenu/ribbon-menu-customized-event-args.d.ts +7 -0
  191. package/dist/components/ribbonmenu/ribbon-menu-display-changed-event-args.d.ts +8 -0
  192. package/dist/components/ribbonmenu/ribbon-menu-display.d.ts +5 -0
  193. package/dist/components/ribbonmenu/ribbon-menu-items-changed-event-args.d.ts +7 -0
  194. package/dist/components/ribbonmenu/ribbon-menu-layout-changed-event-args.d.ts +8 -0
  195. package/dist/components/ribbonmenu/ribbon-menu-layout.d.ts +2 -0
  196. package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +79 -0
  197. package/dist/components/ribbonmenu/ribbon-quick-bar-position.d.ts +2 -0
  198. package/dist/components/ribbonmenu/ribbon-tab-selecting-event-args.d.ts +5 -0
  199. package/dist/components/ribbonmenu/ribbon-tab-selection-changed-event-args.d.ts +10 -0
  200. package/dist/components/ribbonmenu/ribbon-tab.d.ts +24 -0
  201. package/dist/components/scheduler/AppointmentEditor.d.ts +16 -7
  202. package/dist/components/scheduler/Scheduler.d.ts +23 -9
  203. package/dist/components/scheduler/view/AgendaView.d.ts +7 -2
  204. package/dist/components/scheduler/view/AppointmentDrag.d.ts +26 -3
  205. package/dist/components/scheduler/view/CellAttributes.d.ts +1 -0
  206. package/dist/components/scheduler/view/CellWriter.d.ts +6 -3
  207. package/dist/components/scheduler/view/KeyedParts.d.ts +2 -0
  208. package/dist/components/scheduler/view/MonthView.d.ts +18 -7
  209. package/dist/components/scheduler/view/SchedulerTouch.d.ts +8 -2
  210. package/dist/components/scheduler/view/TimeView.d.ts +23 -11
  211. package/dist/components/scheduler/view/TimelineLine.d.ts +19 -2
  212. package/dist/components/scheduler/view/TimelineView.d.ts +27 -16
  213. package/dist/components/scheduler/view/scheduler-host.d.ts +4 -4
  214. package/dist/components/scheduler/view/shown-view.d.ts +11 -0
  215. package/dist/components/scheduler/view/touch-host.d.ts +6 -2
  216. package/dist/components/scrollview/ScrollView.d.ts +27 -8
  217. package/dist/components/sheet/BottomSheet.d.ts +13 -6
  218. package/dist/components/shortcuteditor/ShortcutEditor.d.ts +82 -0
  219. package/dist/components/shortcuteditor/index.d.ts +3 -0
  220. package/dist/components/shortcuteditor/shortcut-editor-keys-changed-event-args.d.ts +9 -0
  221. package/dist/components/shortcuteditor/shortcut-editor-props.d.ts +21 -0
  222. package/dist/components/signature/Signature.d.ts +18 -13
  223. package/dist/components/slider/Slider.d.ts +7 -6
  224. package/dist/components/slider/slider-props.d.ts +1 -1
  225. package/dist/components/sortable/Sortable.d.ts +24 -12
  226. package/dist/components/sortable/sortable-props.d.ts +1 -1
  227. package/dist/components/sparkline/Sparkline.d.ts +17 -19
  228. package/dist/components/speeddial/SpeedDial.d.ts +8 -2
  229. package/dist/components/speeddial/speed-dial-action.d.ts +1 -1
  230. package/dist/components/splitter/SplitPane.d.ts +3 -0
  231. package/dist/components/splitter/Splitter.d.ts +11 -5
  232. package/dist/components/stepper/Stepper.d.ts +30 -12
  233. package/dist/components/tabdocs/AutoHideStrip.d.ts +10 -4
  234. package/dist/components/tabdocs/DockGuides.d.ts +6 -4
  235. package/dist/components/tabdocs/DocumentList.d.ts +19 -7
  236. package/dist/components/tabdocs/DocumentTab.d.ts +12 -9
  237. package/dist/components/tabdocs/DropMarks.d.ts +8 -3
  238. package/dist/components/tabdocs/MoveByKeys.d.ts +2 -1
  239. package/dist/components/tabdocs/PhoneBar.d.ts +2 -1
  240. package/dist/components/tabdocs/PhoneList.d.ts +14 -4
  241. package/dist/components/tabdocs/PhoneTools.d.ts +8 -1
  242. package/dist/components/tabdocs/SplitSash.d.ts +3 -5
  243. package/dist/components/tabdocs/TabBrowserWindow.d.ts +3 -2
  244. package/dist/components/tabdocs/TabDockArea.d.ts +5 -2
  245. package/dist/components/tabdocs/TabDocumentManager.d.ts +51 -25
  246. package/dist/components/tabdocs/TabDrag.d.ts +27 -12
  247. package/dist/components/tabdocs/TabGroup.d.ts +30 -16
  248. package/dist/components/tabdocs/TabMenus.d.ts +11 -4
  249. package/dist/components/tabdocs/TabPresenter.d.ts +21 -5
  250. package/dist/components/tabdocs/TabSplit.d.ts +10 -4
  251. package/dist/components/tabdocs/TabWindow.d.ts +7 -4
  252. package/dist/components/tabdocs/item-part.d.ts +4 -0
  253. package/dist/components/tabdocs/layout-item.d.ts +4 -1
  254. package/dist/components/tabdocs/place-node.d.ts +11 -4
  255. package/dist/components/tabdocs/strip-room.d.ts +13 -0
  256. package/dist/components/tabdocs/tab-header.d.ts +3 -0
  257. package/dist/components/tabs/PanelContent.d.ts +1 -1
  258. package/dist/components/tabs/Tab.d.ts +4 -4
  259. package/dist/components/tabs/Tabs.d.ts +11 -6
  260. package/dist/components/tagbox/TagBox.d.ts +24 -6
  261. package/dist/components/textarea/TextArea.d.ts +9 -5
  262. package/dist/components/textbox/TextBox.d.ts +13 -4
  263. package/dist/components/tileview/TileView.d.ts +15 -5
  264. package/dist/components/timeline/Timeline.d.ts +11 -0
  265. package/dist/components/toast/Toaster.d.ts +9 -2
  266. package/dist/components/toolbar/Toolbar.d.ts +18 -5
  267. package/dist/components/toolbar/toolbar-item.d.ts +5 -0
  268. package/dist/components/tooltip/Tooltip.d.ts +10 -2
  269. package/dist/components/tooltip/add-tooltip.d.ts +3 -3
  270. package/dist/components/tooltip/tooltip-hub.d.ts +5 -3
  271. package/dist/components/tooltip/tooltip-props.d.ts +1 -1
  272. package/dist/components/tooltip/tooltip-target.d.ts +2 -2
  273. package/dist/components/treeview/TreeView.d.ts +34 -9
  274. package/dist/components/treeview/tree-row-parts.d.ts +13 -0
  275. package/dist/components/treeview/tree-view-item-template.d.ts +7 -2
  276. package/dist/components/treeview/tree-view-props.d.ts +1 -1
  277. package/dist/components/validationsummary/ValidationSummary.d.ts +1 -1
  278. package/dist/core/access-key-entry.d.ts +10 -0
  279. package/dist/core/access-key.d.ts +24 -12
  280. package/dist/core/chord.d.ts +9 -0
  281. package/dist/core/command-fields.d.ts +17 -0
  282. package/dist/core/command-registry.d.ts +37 -0
  283. package/dist/core/command-run-event-args.d.ts +11 -0
  284. package/dist/core/command.d.ts +41 -0
  285. package/dist/core/commands-changed-event-args.d.ts +4 -0
  286. package/dist/core/component-tree.d.ts +10 -0
  287. package/dist/core/container.d.ts +8 -5
  288. package/dist/core/control.d.ts +44 -15
  289. package/dist/core/cover-record.d.ts +9 -0
  290. package/dist/core/cover.d.ts +11 -0
  291. package/dist/core/draw-parts.d.ts +12 -20
  292. package/dist/core/flow-home.d.ts +7 -4
  293. package/dist/core/focus-mark.d.ts +8 -0
  294. package/dist/core/focus.d.ts +109 -10
  295. package/dist/core/glyphs.d.ts +42 -40
  296. package/dist/core/icon-source.d.ts +15 -2
  297. package/dist/core/key-windows.d.ts +8 -0
  298. package/dist/core/keyboard.d.ts +25 -30
  299. package/dist/core/keymap-changed-event-args.d.ts +7 -0
  300. package/dist/core/keymap.d.ts +6 -0
  301. package/dist/core/language-look.d.ts +20 -7
  302. package/dist/core/live-controls.d.ts +12 -0
  303. package/dist/core/look-watch.d.ts +4 -1
  304. package/dist/core/measure/box.d.ts +21 -0
  305. package/dist/core/measure/element-of.d.ts +12 -0
  306. package/dist/core/measure/every-frame.d.ts +8 -0
  307. package/dist/core/measure/hit-cover.d.ts +8 -0
  308. package/dist/core/measure/hit-options.d.ts +12 -0
  309. package/dist/core/measure/hits.d.ts +18 -0
  310. package/dist/core/measure/index.d.ts +27 -0
  311. package/dist/core/measure/job.d.ts +9 -0
  312. package/dist/core/measure/layout-change.d.ts +2 -0
  313. package/dist/core/measure/layout-options.d.ts +11 -0
  314. package/dist/core/measure/lengths.d.ts +13 -0
  315. package/dist/core/measure/look.d.ts +11 -0
  316. package/dist/core/measure/loop.d.ts +10 -0
  317. package/dist/core/measure/media.d.ts +8 -0
  318. package/dist/core/measure/motion.d.ts +10 -0
  319. package/dist/core/measure/observers.d.ts +13 -0
  320. package/dist/core/measure/on-layout.d.ts +23 -0
  321. package/dist/core/measure/page-events.d.ts +6 -0
  322. package/dist/core/measure/page.d.ts +11 -0
  323. package/dist/core/measure/pending-scroll.d.ts +9 -0
  324. package/dist/core/measure/pending-scrolls.d.ts +7 -0
  325. package/dist/core/measure/point.d.ts +5 -0
  326. package/dist/core/measure/probe-set.d.ts +35 -0
  327. package/dist/core/measure/read.d.ts +54 -0
  328. package/dist/core/measure/rect.d.ts +9 -0
  329. package/dist/core/measure/reveal-options.d.ts +20 -0
  330. package/dist/core/measure/reveal-range.d.ts +7 -0
  331. package/dist/core/measure/round-reads.d.ts +14 -0
  332. package/dist/core/measure/rounds.d.ts +36 -0
  333. package/dist/core/measure/scroll-motion.d.ts +5 -0
  334. package/dist/core/measure/scroll-place.d.ts +5 -0
  335. package/dist/core/measure/scroll.d.ts +41 -0
  336. package/dist/core/measure/size-box.d.ts +2 -0
  337. package/dist/core/measure/size.d.ts +5 -0
  338. package/dist/core/measure/text-probes.d.ts +19 -0
  339. package/dist/core/measure/text-widths.d.ts +14 -0
  340. package/dist/core/measure/view.d.ts +2 -0
  341. package/dist/core/measure/viewport-rect.d.ts +10 -0
  342. package/dist/core/measure/viewport.d.ts +12 -0
  343. package/dist/core/measure/watch.d.ts +35 -0
  344. package/dist/core/measure/watcher.d.ts +41 -0
  345. package/dist/core/measure/window-bound.d.ts +11 -0
  346. package/dist/core/measure/window-frame.d.ts +25 -0
  347. package/dist/core/order-controls.d.ts +7 -0
  348. package/dist/core/page-documents.d.ts +13 -0
  349. package/dist/core/page-layer.d.ts +18 -0
  350. package/dist/core/parsed-access-key.d.ts +9 -0
  351. package/dist/core/part-writes.d.ts +25 -0
  352. package/dist/core/press-origin.d.ts +3 -0
  353. package/dist/core/shortcut-conflict.d.ts +12 -0
  354. package/dist/core/shortcut-handler.d.ts +2 -0
  355. package/dist/core/shortcut-info.d.ts +19 -0
  356. package/dist/core/shortcut-options.d.ts +33 -0
  357. package/dist/core/shortcut-registration.d.ts +21 -0
  358. package/dist/core/shortcut-registry.d.ts +46 -0
  359. package/dist/core/shortcut-text.d.ts +2 -0
  360. package/dist/core/show-icon.d.ts +7 -0
  361. package/dist/core/stacked-window.d.ts +9 -0
  362. package/dist/core/ui-locale.d.ts +2 -2
  363. package/dist/core/ui-strings.d.ts +128 -0
  364. package/dist/core/window-events.d.ts +14 -0
  365. package/dist/core/window-stack.d.ts +11 -11
  366. package/dist/generated/tokens.d.ts +1391 -11
  367. package/dist/index.d.ts +16 -1
  368. package/dist/index.js +35277 -22566
  369. package/dist/index.js.map +1 -1
  370. package/dist/locales/en.json +121 -2
  371. package/dist/locales/tr.json +121 -2
  372. package/dist/parts/chart/chart-text.d.ts +29 -5
  373. package/dist/parts/chart/svg-parts.d.ts +11 -7
  374. package/dist/parts/chart/value-motion.d.ts +3 -2
  375. package/dist/parts/code/code-image.d.ts +6 -9
  376. package/dist/parts/customizer/Customizer.d.ts +64 -0
  377. package/dist/parts/customizer/NameForm.d.ts +10 -0
  378. package/dist/parts/customizer/customizer-command.d.ts +5 -0
  379. package/dist/parts/customizer/customizer-names.d.ts +9 -0
  380. package/dist/parts/customizer/customizer-node.d.ts +15 -0
  381. package/dist/parts/customizer/customizer-source.d.ts +27 -0
  382. package/dist/parts/data/DataItems.d.ts +2 -0
  383. package/dist/parts/data/KeyedItems.d.ts +2 -1
  384. package/dist/parts/data/empty-key.d.ts +2 -0
  385. package/dist/parts/drag/DragGhost.d.ts +23 -16
  386. package/dist/parts/drag/auto-scroll-options.d.ts +19 -0
  387. package/dist/parts/drag/auto-scroll.d.ts +11 -0
  388. package/dist/parts/drag/drag-boxes.d.ts +33 -0
  389. package/dist/parts/drag/stack-cover.d.ts +7 -0
  390. package/dist/parts/field/Field.d.ts +37 -9
  391. package/dist/parts/field/pressed-focusable.d.ts +3 -0
  392. package/dist/parts/item-layout/ItemLayout.d.ts +61 -0
  393. package/dist/parts/item-layout/item-layout-options.d.ts +17 -0
  394. package/dist/parts/item-layout/layout-added-item.d.ts +13 -0
  395. package/dist/parts/item-layout/layout-customization.d.ts +13 -0
  396. package/dist/parts/item-layout/layout-node.d.ts +24 -0
  397. package/dist/parts/item-tree/ItemTree.d.ts +34 -0
  398. package/dist/parts/item-tree/children-at.d.ts +2 -0
  399. package/dist/parts/item-tree/item-paths.d.ts +18 -0
  400. package/dist/parts/item-tree/ordered.d.ts +2 -0
  401. package/dist/parts/list/OptionList.d.ts +73 -17
  402. package/dist/parts/list/item-source.d.ts +4 -0
  403. package/dist/parts/list/option-parts.d.ts +10 -0
  404. package/dist/parts/mask/InputMask.d.ts +11 -4
  405. package/dist/parts/menu/MenuList.d.ts +35 -11
  406. package/dist/parts/menu/menu-item-merge-at.d.ts +6 -0
  407. package/dist/parts/menu/menu-item-merge.d.ts +6 -0
  408. package/dist/parts/menu/menu-item.d.ts +17 -2
  409. package/dist/parts/overlay/OverlayPanel.d.ts +21 -12
  410. package/dist/parts/overlay/inert-around.d.ts +6 -3
  411. package/dist/parts/overlay/overlay-container.d.ts +2 -2
  412. package/dist/parts/overlay/overlay-panel-props.d.ts +2 -2
  413. package/dist/parts/popup/Popup.d.ts +17 -2
  414. package/dist/parts/popup/place-near.d.ts +10 -0
  415. package/dist/parts/popup/place-options.d.ts +10 -0
  416. package/dist/parts/popup/place-popup.d.ts +4 -1
  417. package/dist/parts/popup/placed.d.ts +7 -0
  418. package/dist/parts/popup/popup-anchor.d.ts +4 -0
  419. package/dist/parts/popup/popup-open-options.d.ts +9 -4
  420. package/dist/parts/slide/slide-track-host.d.ts +3 -2
  421. package/dist/parts/slide/slide-track.d.ts +10 -4
  422. package/dist/parts/validation/validate-fields.d.ts +6 -2
  423. package/dist/parts/validation/validation-target.d.ts +3 -1
  424. package/dist/parts/window/follow-pointer.d.ts +2 -1
  425. package/dist/parts/window/resize-frame-parts.d.ts +7 -0
  426. package/dist/parts/window/resize-frame.d.ts +3 -2
  427. package/dist/styles.css +2144 -12
  428. package/dist/tokens/index.d.ts +14836 -13454
  429. package/dist/tokens/index.js +1397 -12
  430. package/dist/tokens/index.js.map +1 -1
  431. package/dist/{tr-DhIFcH3c.js → tr-BvKE8jSF.js} +241 -3
  432. package/dist/tr-BvKE8jSF.js.map +1 -0
  433. package/docs/accordion.md +2 -2
  434. package/docs/actionsheet.md +4 -3
  435. package/docs/appbar.md +3 -3
  436. package/docs/appmenu-api.md +83 -0
  437. package/docs/appmenu-programmatic.md +76 -0
  438. package/docs/appmenu-search.md +66 -0
  439. package/docs/appmenu.md +150 -0
  440. package/docs/avatar.md +2 -2
  441. package/docs/badge.md +1 -1
  442. package/docs/bar-gauge-angles.md +1 -1
  443. package/docs/bar-gauge-data.md +1 -1
  444. package/docs/bar-gauge-labels.md +1 -1
  445. package/docs/bar-gauge.md +1 -1
  446. package/docs/barcode.md +1 -1
  447. package/docs/bottomnavigation.md +3 -3
  448. package/docs/bottomsheet.md +3 -3
  449. package/docs/breadcrumb.md +1 -1
  450. package/docs/button.md +4 -4
  451. package/docs/buttongroup.md +1 -1
  452. package/docs/buttons.md +1 -1
  453. package/docs/calendar.md +1 -1
  454. package/docs/card.md +2 -2
  455. package/docs/chart-bars.md +1 -1
  456. package/docs/chart-candles.md +1 -1
  457. package/docs/chart-funnel.md +1 -1
  458. package/docs/chart-heatmap.md +1 -1
  459. package/docs/chart-lines.md +1 -1
  460. package/docs/chart-live.md +1 -1
  461. package/docs/chart-pie.md +1 -1
  462. package/docs/chart-radar.md +1 -1
  463. package/docs/chart-ranges.md +1 -1
  464. package/docs/chart-references.md +1 -1
  465. package/docs/chart-scatter.md +1 -1
  466. package/docs/chart-waterfall.md +1 -1
  467. package/docs/chart-zoom.md +1 -1
  468. package/docs/chart.md +1 -1
  469. package/docs/checkbox.md +2 -2
  470. package/docs/chip.md +7 -8
  471. package/docs/choice.md +1 -1
  472. package/docs/colorbox.md +1 -1
  473. package/docs/combobox.md +1 -1
  474. package/docs/control.md +2 -2
  475. package/docs/data.md +1 -1
  476. package/docs/datagrid-api.md +7 -4
  477. package/docs/datagrid-bands.md +1 -1
  478. package/docs/datagrid-drag-select.md +1 -1
  479. package/docs/datagrid-drag.md +4 -4
  480. package/docs/datagrid-editing.md +1 -1
  481. package/docs/datagrid-filtering.md +106 -1
  482. package/docs/datagrid-forms.md +2 -2
  483. package/docs/datagrid-grouping.md +1 -1
  484. package/docs/datagrid-layout.md +7 -7
  485. package/docs/datagrid-lookups.md +3 -3
  486. package/docs/datagrid-master-detail.md +3 -3
  487. package/docs/datagrid-scrolling.md +1 -1
  488. package/docs/datagrid-selection.md +1 -1
  489. package/docs/datagrid.md +1 -1
  490. package/docs/datebox.md +2 -2
  491. package/docs/daterangebox.md +2 -2
  492. package/docs/display.md +1 -1
  493. package/docs/draggable.md +4 -4
  494. package/docs/drawer.md +2 -2
  495. package/docs/dropdown.md +5 -5
  496. package/docs/editors.md +1 -1
  497. package/docs/feedback.md +1 -1
  498. package/docs/fileuploader.md +1 -1
  499. package/docs/filterbuilder.md +2 -2
  500. package/docs/formlayout.md +1 -1
  501. package/docs/foundations.md +1 -1
  502. package/docs/gallery.md +1 -1
  503. package/docs/gauge-base.md +1 -1
  504. package/docs/gauge-circular.md +1 -1
  505. package/docs/gauge-dashboards.md +1 -1
  506. package/docs/gauge-linear.md +1 -1
  507. package/docs/gauge-markers.md +1 -1
  508. package/docs/gauge-marks.md +1 -1
  509. package/docs/gauge-ranges.md +1 -1
  510. package/docs/gauge-scales.md +1 -1
  511. package/docs/gauge.md +1 -1
  512. package/docs/home.md +1 -1
  513. package/docs/keyboard.md +2 -4
  514. package/docs/language.md +2 -2
  515. package/docs/layout.md +3 -3
  516. package/docs/listbox.md +5 -5
  517. package/docs/loadpanel.md +4 -4
  518. package/docs/lookup.md +1 -1
  519. package/docs/menus.md +17 -16
  520. package/docs/multiview.md +1 -1
  521. package/docs/navigation.md +1 -1
  522. package/docs/numberbox.md +5 -4
  523. package/docs/otpinput.md +1 -1
  524. package/docs/pagination.md +1 -1
  525. package/docs/popover.md +10 -9
  526. package/docs/progress.md +5 -5
  527. package/docs/qrcode.md +1 -1
  528. package/docs/radiogroup.md +3 -3
  529. package/docs/rating.md +1 -1
  530. package/docs/resizable.md +4 -4
  531. package/docs/ribbonmenu-api.md +130 -0
  532. package/docs/ribbonmenu-commands.md +118 -0
  533. package/docs/ribbonmenu-customization.md +93 -0
  534. package/docs/ribbonmenu-display.md +96 -0
  535. package/docs/ribbonmenu-layouts.md +59 -0
  536. package/docs/ribbonmenu-programmatic.md +91 -0
  537. package/docs/ribbonmenu.md +233 -0
  538. package/docs/scheduler-agenda.md +1 -1
  539. package/docs/scheduler-big-data.md +1 -1
  540. package/docs/scheduler-editing.md +1 -1
  541. package/docs/scheduler-form.md +1 -1
  542. package/docs/scheduler-icalendar.md +1 -1
  543. package/docs/scheduler-mobile.md +1 -1
  544. package/docs/scheduler-recurrence.md +1 -1
  545. package/docs/scheduler-resources.md +1 -1
  546. package/docs/scheduler-timeline.md +1 -1
  547. package/docs/scheduler.md +1 -1
  548. package/docs/scrollview.md +7 -6
  549. package/docs/showcase-home.md +1 -1
  550. package/docs/showcase.md +2 -2
  551. package/docs/signature.md +1 -1
  552. package/docs/skeleton.md +1 -1
  553. package/docs/slider.md +4 -4
  554. package/docs/sortable.md +2 -2
  555. package/docs/sparkline.md +1 -1
  556. package/docs/speeddial.md +2 -2
  557. package/docs/splitter.md +1 -1
  558. package/docs/stepper.md +6 -8
  559. package/docs/switch.md +2 -2
  560. package/docs/tabdocs-dock.md +2 -2
  561. package/docs/tabdocs-drag.md +1 -1
  562. package/docs/tabdocs-menus.md +1 -1
  563. package/docs/tabdocs-mobile.md +1 -1
  564. package/docs/tabdocs-tabs.md +1 -1
  565. package/docs/tabdocs-windows.md +1 -2
  566. package/docs/tabdocs-workspace.md +1 -1
  567. package/docs/tabdocs.md +1 -1
  568. package/docs/tabs.md +2 -2
  569. package/docs/tagbox.md +9 -10
  570. package/docs/textarea.md +2 -2
  571. package/docs/textbox.md +6 -3
  572. package/docs/tileview.md +1 -1
  573. package/docs/timeline.md +1 -1
  574. package/docs/toast.md +1 -1
  575. package/docs/tokens.md +265 -1
  576. package/docs/toolbar.md +1 -1
  577. package/docs/tooltip.md +3 -3
  578. package/docs/treeview.md +15 -24
  579. package/docs/validationsummary.md +1 -1
  580. package/docs/window.md +3 -3
  581. package/docs/wizard.md +1 -1
  582. package/llms-full.txt +1904 -290
  583. package/llms.txt +18 -1
  584. package/package.json +4 -4
  585. package/dist/components/datagrid/view/next-frame.d.ts +0 -4
  586. package/dist/components/datagrid/view/place-in-order.d.ts +0 -6
  587. package/dist/components/tabdocs/keep-scroll.d.ts +0 -6
  588. package/dist/core/control-map.d.ts +0 -7
  589. package/dist/core/document-watch.d.ts +0 -10
  590. package/dist/core/enable.d.ts +0 -16
  591. package/dist/core/fonts-loaded.d.ts +0 -2
  592. package/dist/core/icon-node.d.ts +0 -10
  593. package/dist/core/next-frame.d.ts +0 -6
  594. package/dist/core/resize-watch.d.ts +0 -21
  595. package/dist/core/scroll-watch.d.ts +0 -13
  596. package/dist/parts/chart/token-lengths.d.ts +0 -16
  597. package/dist/parts/overlay/css-length.d.ts +0 -2
  598. package/dist/tr-DhIFcH3c.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Emitter, type Bind, type ComponentBase, type Event as MotifEvent, type IBaseProp } from "@motifx/core";
1
+ import { Emitter, type Bind, type Component, type ComponentBase, type Event as MotifEvent, type IBaseProp } from "@motifx/core";
2
2
  import { Control } from "../../core/control";
3
3
  import { SlideTrack } from "../../parts/slide/slide-track";
4
4
  import type { GalleryItem } from "./gallery-item";
@@ -15,15 +15,15 @@ interface Look {
15
15
  description: string;
16
16
  content: (() => ComponentBase) | null;
17
17
  }
18
- interface Pane {
18
+ /** A slide's place: the same while its item is given (an item given twice has two). */
19
+ interface Entry {
19
20
  item: unknown;
20
- pane: Component<HTMLDivElement>;
21
- figure: Component<HTMLDivElement>;
22
- image: HTMLImageElement | null;
23
- content: ComponentBase | null;
24
- caption: Component<HTMLDivElement>;
25
- title: Component<HTMLSpanElement>;
26
- description: Component<HTMLSpanElement>;
21
+ pane: Component<HTMLDivElement> | null;
22
+ }
23
+ /** A dot's place: the same while there is a slide at its index. */
24
+ interface DotSlot {
25
+ index: number;
26
+ dot: Component<HTMLButtonElement> | null;
27
27
  }
28
28
  type Hold = 'hover' | 'focus' | 'drag';
29
29
  /**
@@ -48,9 +48,15 @@ export declare class Gallery extends Control<HTMLElement, GalleryProps> {
48
48
  viewport: Component<HTMLDivElement>;
49
49
  list: Component<HTMLDivElement>;
50
50
  slide: SlideTrack;
51
- panes: Pane[];
52
- dots: HTMLButtonElement[];
53
- looks: Look[];
51
+ /** The slides, in item order. */
52
+ entries: Entry[];
53
+ /** The dots by index. */
54
+ dotSlots: DotSlot[];
55
+ stopVisibility: (() => void) | null;
56
+ /** What the items say, in order. */
57
+ looksNow: import("@motifx/core").Signal<Look[]>;
58
+ /** Counted up by `refresh()` and a new language: what the slides say is read again. */
59
+ revision: import("@motifx/core").Signal<number>;
54
60
  stopItems: (() => void) | null;
55
61
  previousIndex: number;
56
62
  byUser: boolean;
@@ -58,7 +64,7 @@ export declare class Gallery extends Control<HTMLElement, GalleryProps> {
58
64
  playing: boolean;
59
65
  holds: Set<Hold>;
60
66
  timer: number;
61
- reduced: MediaQueryList | null;
67
+ stopReduced: (() => void) | null;
62
68
  constructor(props?: IBaseProp<GalleryProps>);
63
69
  get items(): readonly (GalleryItem | string)[];
64
70
  set items(value: Bind<readonly (GalleryItem | string)[]>);
@@ -90,6 +96,8 @@ export declare class Gallery extends Control<HTMLElement, GalleryProps> {
90
96
  get onSlideChanged(): MotifEvent<SlideChangedEventArgs>;
91
97
  /** Occurs when a slide is clicked without dragging. */
92
98
  get onItemClick(): MotifEvent<GalleryItemClickEventArgs>;
99
+ /** What the items say, in order; followed where it is read in a binding. */
100
+ get looks(): Look[];
93
101
  /** The index of the current slide, or -1 if there is none. */
94
102
  get selectedIndex(): number;
95
103
  /** The number of slides. */
@@ -120,16 +128,21 @@ export declare class Gallery extends Control<HTMLElement, GalleryProps> {
120
128
  renderName(): void;
121
129
  renderItems(): void;
122
130
  lookOf(item: unknown): Look;
123
- drawPanes(): void;
124
- makePane(look: Look): Pane;
125
- writePane(pane: Pane, look: Look): void;
126
- drawDots(): void;
131
+ /** A slide, built once: its content is made once, and what its item says or where the gallery is changes only what shows it. */
132
+ makePane(entry: Entry): Component<HTMLDivElement>;
133
+ makeImage(entry: Entry): Component<HTMLImageElement>;
134
+ /** A dot, built once: it follows the number of slides and the current one. */
135
+ makeDot(slot: DotSlot): Component<HTMLButtonElement>;
127
136
  drawStates(): void;
128
137
  schedule: () => void;
129
138
  hold(reason: Hold, on: boolean): void;
130
139
  go(to: number, byUser: boolean, event?: Event): Promise<boolean>;
131
140
  makeNav(direction: 'previous' | 'next'): Component<HTMLButtonElement>;
141
+ /** Whether a side button has nowhere to go: the first or the last pane is in view, and `loop` is off. */
142
+ atEnd(direction: 'previous' | 'next'): boolean;
132
143
  listen(): void;
144
+ /** Whether an event came from something inside `from` that takes focus: a button, a link, a field. */
145
+ fromFocusable(e: Event, from: ComponentBase): boolean;
133
146
  keyDown(e: KeyboardEvent, onDots: boolean): void;
134
147
  }
135
148
  export {};
@@ -1,10 +1,8 @@
1
- import type { Bind, IBaseProp } from "@motifx/core";
1
+ import type { Bind, Component, IBaseProp } from "@motifx/core";
2
2
  import { Control } from "../../core/control";
3
- import { ResizeWatch } from "../../core/resize-watch";
4
3
  import type { Place } from "../../parts/chart/chart-paths";
5
- import { type ChartFormat } from "../../parts/chart/chart-text";
4
+ import { DrawnTexts, type ChartFormat } from "../../parts/chart/chart-text";
6
5
  import { TextPool } from "../../parts/chart/svg-parts";
7
- import { TokenLengths } from "../../parts/chart/token-lengths";
8
6
  import { ValueMotion } from "../../parts/chart/value-motion";
9
7
  import type { GaugeMark } from "./gauge-mark";
10
8
  import type { GaugeMarker } from "./gauge-marker";
@@ -15,6 +13,7 @@ import type { GaugeRange } from "./gauge-range";
15
13
  import type { GaugeScale } from "./gauge-scale";
16
14
  import { GaugeShape } from "./gauge-shape";
17
15
  import type { GaugeType } from "./gauge-type";
16
+ declare const FONT: readonly ['font', 'font-size', 'font-family', 'line-height'];
18
17
  interface Look {
19
18
  size: number;
20
19
  length: number;
@@ -33,7 +32,7 @@ interface Drawn {
33
32
  bandOut: number;
34
33
  markFrom: number;
35
34
  lineHeight: number;
36
- measure: (text: string) => number;
35
+ widthOf: (text: string) => number;
37
36
  box: {
38
37
  x: number;
39
38
  y: number;
@@ -41,6 +40,19 @@ interface Drawn {
41
40
  height: number;
42
41
  };
43
42
  }
43
+ /** What a draw reads of the page before it writes. */
44
+ interface Measured {
45
+ look: Look;
46
+ font: Record<(typeof FONT)[number], string>;
47
+ width: number;
48
+ valueHeight: number;
49
+ }
50
+ /** The parts of a mark of the scale: its shape, and the text of a callout. */
51
+ interface MarkParts {
52
+ group: Component<SVGGElement>;
53
+ path: Component<SVGPathElement>;
54
+ label: Component<SVGTextElement>;
55
+ }
44
56
  /**
45
57
  * A value against its scale: an arc, a circle or a straight bar, across or upright. The scale shows its ends or ticks
46
58
  * with their values; ranges give stretches of it a meaning, and the fill takes the tone of the range its value is in. The
@@ -53,35 +65,35 @@ interface Drawn {
53
65
  * ranges={[{ from: 0, to: 70, tone: 'good' }, { from: 70, to: 90, tone: 'warning' }, { from: 90, to: 100, tone: 'danger' }]} />
54
66
  */
55
67
  export declare class Gauge extends Control<HTMLDivElement, GaugeProps> {
56
- svg: SVGSVGElement;
57
- track: SVGPathElement;
58
- bands: SVGGElement;
59
- fillPath: SVGPathElement;
60
- minorPath: SVGPathElement;
61
- tickPath: SVGPathElement;
62
- tickLabels: SVGGElement;
63
- probe: SVGTextElement;
68
+ svg: Component<SVGSVGElement>;
69
+ track: Component<SVGPathElement>;
70
+ bands: Component<SVGGElement>;
71
+ bandPaths: Component<SVGPathElement>[];
72
+ fillPath: Component<SVGPathElement>;
73
+ minorPath: Component<SVGPathElement>;
74
+ tickPath: Component<SVGPathElement>;
75
+ tickLabels: Component<SVGGElement>;
76
+ /** The texts of the scale, measured in its font and numbers. */
77
+ texts: DrawnTexts;
64
78
  labelPool: TextPool;
65
- markGroup: SVGGElement;
66
- markerPath: SVGPathElement;
67
- calloutGroup: SVGGElement;
68
- calloutPath: SVGPathElement;
69
- calloutText: SVGTextElement;
70
- needlePath: SVGPathElement;
71
- needleTip: SVGPathElement;
72
- valueText: HTMLDivElement;
73
- valueProbe: HTMLSpanElement;
74
- labelText: HTMLDivElement;
75
- tip: HTMLSpanElement;
79
+ markGroup: Component<SVGGElement>;
80
+ markParts: MarkParts[];
81
+ markerPath: Component<SVGPathElement>;
82
+ calloutGroup: Component<SVGGElement>;
83
+ calloutPath: Component<SVGPathElement>;
84
+ calloutText: Component<SVGTextElement>;
85
+ needlePath: Component<SVGPathElement>;
86
+ needleTip: Component<SVGPathElement>;
87
+ valueText: Component<HTMLDivElement>;
88
+ labelText: Component<HTMLDivElement>;
89
+ tip: Component<HTMLSpanElement>;
76
90
  shape: GaugeShape;
77
91
  motion: ValueMotion;
78
- tokens: TokenLengths;
79
92
  drawn: Drawn | null;
80
93
  placed: boolean;
81
- queued: boolean;
82
- watch: ResizeWatch | null;
83
- stopLook: (() => void) | null;
84
- stopFonts: (() => void) | null;
94
+ stopRoom: (() => void) | null;
95
+ readDraw: () => Measured;
96
+ drawMeasured: (measured: Measured) => void;
85
97
  constructor(props?: IBaseProp<GaugeProps>);
86
98
  onMounted(): void;
87
99
  get value(): number | null;
@@ -136,6 +148,10 @@ export declare class Gauge extends Control<HTMLDivElement, GaugeProps> {
136
148
  /** The color of a range: its own, its tone's, or the next chart color for a range with neither. */
137
149
  toneOf(range: GaugeRange | null): string;
138
150
  number(value: number): string;
151
+ /**
152
+ * Writes what the drawing is measured with now, and draws with the next reads of the window. A straight gauge first
153
+ * measures the room its value keeps.
154
+ */
139
155
  again(): void;
140
156
  moveTo(): void;
141
157
  lengths(): Look;
@@ -144,14 +160,11 @@ export declare class Gauge extends Control<HTMLDivElement, GaugeProps> {
144
160
  majors: number[];
145
161
  minors: number[];
146
162
  };
147
- draw(): void;
148
- /** The size of a text as the scale draws it; an estimate where nothing is laid out. */
149
- textBox(value: string, font: string, height: number): {
150
- width: number;
151
- height: number;
152
- };
153
- /** The width of the widest value the gauge can show: the ends of the scale, or a value past them. */
154
- valueRoom(min: number, max: number, value: number | null): number;
163
+ /** The type, the name, the value and the label: what the drawing is laid out and measured with. */
164
+ drawText(): void;
165
+ draw(measured: Measured): void;
166
+ /** The values the gauge keeps room for: the ends of the scale, or a value past them. */
167
+ roomValues(): string[];
155
168
  markerKind(): GaugeMarker | null;
156
169
  shapeOf(m: GaugeMark): GaugeMarker;
157
170
  drawTicks(majors: number[], minors: number[], share: (v: number) => number, from: number, length: number, side: 1 | -1, on: boolean): void;
@@ -161,6 +174,7 @@ export declare class Gauge extends Control<HTMLDivElement, GaugeProps> {
161
174
  anchor: 'start' | 'middle' | 'end';
162
175
  }[]): void;
163
176
  drawMarks(marks: readonly GaugeMark[], share: (v: number) => number): void;
177
+ makeMark(): MarkParts;
164
178
  /** The path of a marker or a mark, and its text for a callout. */
165
179
  shapePath(kind: GaugeMarker, at: number, drawn: Drawn, value: string): {
166
180
  d: string;
@@ -2,9 +2,9 @@ import type { Bind, ComponentBase } from '@motifx/core';
2
2
  /** What a container does with its children's settings. */
3
3
  interface ChildSettingsHandler {
4
4
  /** A child arrived or one of its settings changed. */
5
- changed(child: ComponentBase, element: HTMLElement): void;
5
+ changed(child: ComponentBase): void;
6
6
  /** A child left (moved elsewhere or disposed): undo what `changed` wrote on it. */
7
- left(child: ComponentBase, element: HTMLElement): void;
7
+ left(child: ComponentBase): void;
8
8
  }
9
9
  /**
10
10
  * The settings a layout container reads from its children (`dock`, `row`, `grow`…). A child
@@ -1,4 +1,4 @@
1
- import { type Bind, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
1
+ import { type Bind, type Component, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
2
2
  import { Control } from '../../core/control';
3
3
  import type { GroupBoxProps } from './group-box-props';
4
4
  import type { GroupBoxToggledEventArgs } from './group-box-toggled-event-args';
@@ -36,8 +36,8 @@ export declare class GroupBox extends Control<HTMLFieldSetElement, GroupBoxProps
36
36
  set variant(value: Bind<GroupBoxVariant>);
37
37
  /** Occurs when the content is shown or hidden, by the user or by code (`e.byUser`). */
38
38
  get onToggled(): MotifEvent<GroupBoxToggledEventArgs>;
39
- /** The `<legend>` element that holds the title. */
40
- get legendElement(): HTMLLegendElement;
39
+ /** The `<legend>` part that holds the title. */
40
+ get legendPart(): Component<HTMLLegendElement>;
41
41
  get canFocus(): boolean;
42
42
  /** Sets focus on the first control inside, expanding the content first if it is collapsed. */
43
43
  focus(): boolean;
@@ -45,8 +45,10 @@ export declare class GroupBox extends Control<HTMLFieldSetElement, GroupBoxProps
45
45
  private get isCollapsed();
46
46
  private get parts();
47
47
  private createParts;
48
- /** The first control inside the content, else the toggle. */
49
- private focusTarget;
48
+ /** Moves focus to the first Tab stop among `items` and inside them, in order, leaving out the legend and any window. */
49
+ private focusFirstStop;
50
+ /** Moves focus to `item` when it takes focus itself, else to the first Tab stop inside it. */
51
+ private focusStop;
50
52
  private change;
51
53
  private renderTitle;
52
54
  private renderToggle;
@@ -22,6 +22,7 @@ export declare class Panel extends Control<HTMLDivElement, PanelProps> {
22
22
  set padding(value: Bind<LayoutSpace | undefined>);
23
23
  get variant(): PanelVariant;
24
24
  set variant(value: Bind<PanelVariant>);
25
+ get focusPart(): Control | null;
25
26
  protected applyProperty(name: string, value: unknown): void;
26
27
  private renderName;
27
28
  private renderScroll;
@@ -1,4 +1,4 @@
1
- import { type Bind, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
1
+ import { Component, type Bind, type ComponentBase, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
2
2
  import { FocusContainer } from '../../core/container';
3
3
  import type { LayoutOrientation } from './layout-orientation';
4
4
  import { Panel } from './Panel';
@@ -30,8 +30,8 @@ export declare class SplitContainer extends FocusContainer<HTMLDivElement, Split
30
30
  get first(): Panel;
31
31
  /** The second pane (end or bottom), as a `Panel`. */
32
32
  get second(): Panel;
33
- /** The splitter element (`role="separator"`). */
34
- get splitterElement(): HTMLDivElement;
33
+ /** The splitter part (`role="separator"`). */
34
+ get splitterPart(): Component<HTMLDivElement>;
35
35
  get orientation(): LayoutOrientation;
36
36
  set orientation(value: Bind<LayoutOrientation>);
37
37
  get position(): SplitPosition;
@@ -61,7 +61,7 @@ export declare class SplitContainer extends FocusContainer<HTMLDivElement, Split
61
61
  collapse(pane?: 'first' | 'second'): void;
62
62
  /** Shows both panes again, with the splitter at its previous position. */
63
63
  restore(): void;
64
- protected get focusElement(): HTMLElement;
64
+ get focusPart(): ComponentBase;
65
65
  protected applyProperty(name: string, value: unknown): void;
66
66
  private get parts();
67
67
  private createParts;
@@ -69,12 +69,12 @@ export declare class SplitContainer extends FocusContainer<HTMLDivElement, Split
69
69
  private route;
70
70
  private renderLayout;
71
71
  private tracks;
72
- /** `aria-valuenow`: the first pane's share of the room, 0 to 100. */
72
+ /** `aria-valuenow`: the first pane's share of the room, 0 to 100; with both panes shown, from their sizes at the next frame. */
73
73
  private renderValue;
74
+ private readonly drawValue;
74
75
  private renderSplitter;
75
- /** The first pane's size and the room both panes share, in pixels; 0 when not laid out. */
76
- private measure;
77
- /** Puts the splitter so the first pane is `size` pixels, within the minimum sizes. */
76
+ private readonly readSizes;
77
+ /** Puts the splitter so the first pane is `size` pixels of `room`, within the minimum sizes. */
78
78
  private moveTo;
79
79
  private userChange;
80
80
  private toggleCollapsed;
@@ -1,6 +1,7 @@
1
+ import type { ComponentBase } from '@motifx/core';
1
2
  import type { LayoutSpace } from './layout-space';
2
3
  /**
3
4
  * Writes a padding the way CSS reads one to four values (block-start, inline-end, block-end,
4
5
  * inline-start), on the logical sides, so it follows the reading direction.
5
6
  */
6
- export declare function setPadding(el: HTMLElement, value: LayoutSpace | null | undefined): void;
7
+ export declare function setPadding(part: ComponentBase, value: LayoutSpace | null | undefined): void;
@@ -1,3 +1,4 @@
1
+ import type { ComponentBase } from '@motifx/core';
1
2
  import type { LayoutSpace } from './layout-space';
2
3
  /** Writes a space to a custom property of the element the CSS reads (`--_gap`), or removes it. */
3
- export declare function setSpace(el: HTMLElement, variable: string, value: LayoutSpace | null | undefined): void;
4
+ export declare function setSpace(part: ComponentBase, variable: string, value: LayoutSpace | null | undefined): void;
@@ -1,4 +1,4 @@
1
- import { type Bind, type IBaseProp } from '@motifx/core';
1
+ import { type Bind, type ComponentBase, type IBaseProp } from '@motifx/core';
2
2
  import type { data } from '@motifx-community/data';
3
3
  import { DataItems } from '../../parts/data/DataItems';
4
4
  import { Field } from '../../parts/field/Field';
@@ -71,7 +71,7 @@ export declare class ListBox<T = unknown, V = unknown> extends Field<V | V[] | n
71
71
  refresh(): void;
72
72
  /** Scrolls an item into view and highlights it. */
73
73
  scrollToItem(item: T): void;
74
- protected createControl(): HTMLElement;
74
+ protected createControl(): ComponentBase;
75
75
  protected emptyValue(): V | V[] | null;
76
76
  protected sameValue(a: V | V[] | null, b: V | V[] | null): boolean;
77
77
  protected renderValue(value: V | V[] | null): void;
@@ -79,6 +79,8 @@ export declare class ListBox<T = unknown, V = unknown> extends Field<V | V[] | n
79
79
  protected itemValue(item: T): unknown;
80
80
  private get listParts();
81
81
  private setUpList;
82
+ /** Gives the list a drawing for the template now, made anew only when the template changes. */
83
+ private drawWithTemplate;
82
84
  private isMultiple;
83
85
  private valuesOf;
84
86
  private canChoose;
@@ -87,12 +89,13 @@ export declare class ListBox<T = unknown, V = unknown> extends Field<V | V[] | n
87
89
  private renderSource;
88
90
  private renderHeight;
89
91
  private renderSearch;
90
- /** Above the list, in the box; the build places controls at the end. */
91
- private placeSearch;
92
92
  private searchFor;
93
93
  /** `all`: the rows' look may have changed too, not only which rows there are. */
94
94
  private drawList;
95
+ /** Marks the "Select all" rows drawn, letting go of those the list took away. */
95
96
  private markSelectAll;
97
+ /** Keeps a "Select all" row the list drew, to mark it again when the selection changes. */
98
+ private keepSelectAllRow;
96
99
  /** The "Select all" row is chosen when every item is, and shows a dash when some are. */
97
100
  private markSelectAllRow;
98
101
  private pointAt;
@@ -101,7 +104,6 @@ export declare class ListBox<T = unknown, V = unknown> extends Field<V | V[] | n
101
104
  private keyDown;
102
105
  /** The highlight moved with a key: the item follows it in a single list; Shift chooses in a multiple one. */
103
106
  private moved;
104
- private pageRows;
105
107
  private chosen;
106
108
  /** `add` chooses the item (the only one in a single list), `toggle` flips it, `only` makes it the only one. */
107
109
  private chooseAt;
@@ -1,2 +1,7 @@
1
- /** Draws an item into `host` instead of its text. It can return a cleanup function. */
2
- export type ItemTemplate<T> = (item: T, host: HTMLElement) => (() => void) | void;
1
+ import type { ComponentBase } from '@motifx/core';
2
+ /**
3
+ * Draws an item instead of its text. It can return a cleanup function.
4
+ *
5
+ * @param host The place the item goes in: add your components to its `controls`, or give it a text.
6
+ */
7
+ export type ItemTemplate<T> = (item: T, host: ComponentBase<HTMLElement>) => (() => void) | void;
@@ -8,5 +8,7 @@ export declare class ListRows<T> implements ItemSource<T | SelectAllRow> {
8
8
  get count(): number;
9
9
  at(index: number): T | SelectAllRow | undefined;
10
10
  ensure(first: number, end: number): void;
11
+ failedAt(index?: number): boolean;
12
+ retryFailed(): void;
11
13
  private get offset();
12
14
  }
@@ -1,5 +1,6 @@
1
- import { Component, Emitter, type Bind, type Event as MotifEvent, type IBaseProp } from "@motifx/core";
1
+ import { Component, Emitter, type Bind, type ComponentBase, type Event as MotifEvent, type IBaseProp } from "@motifx/core";
2
2
  import { Control } from "../../core/control";
3
+ import type { FocusMark } from "../../core/focus-mark";
3
4
  import { Button } from "../button/Button";
4
5
  import { Spinner } from "../progress/Spinner";
5
6
  import type { LoadPanelProps } from "./load-panel-props";
@@ -23,9 +24,10 @@ export declare class LoadPanel extends Control<HTMLDivElement, LoadPanelProps> {
23
24
  cancelButton: Button;
24
25
  shownNow: boolean;
25
26
  timer: ReturnType<typeof setTimeout> | null;
26
- host: HTMLElement | null;
27
+ targetPart: ComponentBase | null;
28
+ host: ComponentBase | null;
27
29
  undo: (() => void) | null;
28
- returnTo: HTMLElement | null;
30
+ returnTo: FocusMark | null;
29
31
  telling: boolean;
30
32
  shownEmitter: Emitter<void>;
31
33
  hiddenEmitter: Emitter<void>;
@@ -65,6 +67,8 @@ export declare class LoadPanel extends Control<HTMLDivElement, LoadPanelProps> {
65
67
  /** The action of the Cancel button: raises `onCancel`, and then hides the panel. */
66
68
  cancel(): void;
67
69
  mount(): void;
70
+ /** Keeps the target, the component it covers (`null` for the page). */
71
+ takeTarget(target: LoadPanelTarget): void;
68
72
  tell(value: boolean): void;
69
73
  drawTexts(): void;
70
74
  }
@@ -3,7 +3,7 @@ import type { ControlProps } from '../../core/control';
3
3
  import type { LoadPanelTarget } from './load-panel-target';
4
4
  /** Props of `LoadPanel`. Each prop is also a settable property, and a function is tracked. */
5
5
  export interface LoadPanelProps extends ControlProps {
6
- /** The area to cover, a component or element. The default, `null`, covers the whole page. */
6
+ /** The area to cover, a component. The default, `null`, covers the whole page. */
7
7
  target?: Bind<LoadPanelTarget | undefined>;
8
8
  /**
9
9
  * The message below the indicator. This is the same property as `text`. The default is the kit's "Loading…"
@@ -1,3 +1,3 @@
1
1
  import type { ComponentBase } from '@motifx/core';
2
- /** The area a load panel covers: a component, an element, or the whole page (`null`). */
3
- export type LoadPanelTarget = ComponentBase | HTMLElement | null;
2
+ /** The area a load panel covers: a component, or the whole page (`null`). */
3
+ export type LoadPanelTarget = ComponentBase | null;
@@ -1,4 +1,4 @@
1
- import type { Bind, IBaseProp } from '@motifx/core';
1
+ import { type Bind, type IBaseProp } from '@motifx/core';
2
2
  import type { OptionList } from '../../parts/list/OptionList';
3
3
  import type { Popup } from '../../parts/popup/Popup';
4
4
  import { DropDown } from '../dropdown/DropDown';
@@ -1,7 +1,13 @@
1
- import { type Bind, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
1
+ import { type Bind, type ComponentBase, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
2
2
  import { Control } from '../../core/control';
3
3
  import type { MenuItem } from '../../parts/menu/menu-item';
4
4
  import type { MenuItemClickEventArgs } from '../../parts/menu/menu-item-click-event-args';
5
+ import type { MenuBarMergeWhen } from './menu-bar-merge-when';
6
+ import type { MenuBarMergedEventArgs } from './menu-bar-merged-event-args';
7
+ import type { MenuBarCustomization } from './menu-bar-customization';
8
+ import type { MenuBarCustomizedEventArgs } from './menu-bar-customized-event-args';
9
+ import type { MenuBarCustomMenuOpeningEventArgs } from './menu-bar-custom-menu-opening-event-args';
10
+ import type { MenuBarItemsChangedEventArgs } from './menu-bar-items-changed-event-args';
5
11
  import type { MenuBarProps } from './menu-bar-props';
6
12
  /**
7
13
  * A bar of menus (`role="menubar"`), as at the top of an application: File, Edit, View. Left and Right
@@ -16,6 +22,8 @@ import type { MenuBarProps } from './menu-bar-props';
16
22
  * bar.onItemClick((e) => console.log(e.item.text));
17
23
  */
18
24
  export declare class MenuBar extends Control<HTMLDivElement, MenuBarProps> {
25
+ /** The items made for the app's commands in the customizer, kept by key. */
26
+ private registryItems;
19
27
  constructor(props?: IBaseProp<MenuBarProps>);
20
28
  get label(): string;
21
29
  set label(value: Bind<string>);
@@ -25,6 +33,35 @@ export declare class MenuBar extends Control<HTMLDivElement, MenuBarProps> {
25
33
  set focusOnF10(value: Bind<boolean>);
26
34
  get openOnHover(): boolean;
27
35
  set openOnHover(value: Bind<boolean>);
36
+ get customizable(): boolean;
37
+ set customizable(value: Bind<boolean>);
38
+ /** What the user changed so far: a copy, to save. Give it back to restore the bar as the user left it. */
39
+ get customization(): MenuBarCustomization;
40
+ set customization(value: Bind<MenuBarCustomization | null>);
41
+ get commands(): readonly MenuItem[];
42
+ set commands(value: Bind<readonly MenuItem[]>);
43
+ get customizerKeyboard(): boolean;
44
+ set customizerKeyboard(value: Bind<boolean>);
45
+ get customizer(): boolean;
46
+ set customizer(value: Bind<boolean>);
47
+ get mergeHost(): boolean;
48
+ set mergeHost(value: Bind<boolean>);
49
+ get mergeName(): string;
50
+ set mergeName(value: Bind<string>);
51
+ get mergeInto(): string | MenuBar | null;
52
+ set mergeInto(value: Bind<string | MenuBar | null>);
53
+ get mergeWhen(): MenuBarMergeWhen;
54
+ set mergeWhen(value: Bind<MenuBarMergeWhen>);
55
+ get mergeScope(): ComponentBase | null;
56
+ set mergeScope(value: Bind<ComponentBase | null>);
57
+ get hideWhenMerged(): boolean;
58
+ set hideWhenMerged(value: Bind<boolean>);
59
+ /** As a main bar: the bars merged into it, in the order they came. */
60
+ get mergedBars(): readonly MenuBar[];
61
+ /** As a bar that merges: the main bar it is merged into, or `null`. */
62
+ get mergedInto(): MenuBar | null;
63
+ /** The top items as drawn now, the merged bars' included. */
64
+ get mergedItems(): readonly MenuItem[];
28
65
  /** The top-level item whose menu is open, or `null` if there is none. Reactive. */
29
66
  get openItem(): MenuItem | null;
30
67
  /**
@@ -32,34 +69,107 @@ export declare class MenuBar extends Control<HTMLDivElement, MenuBarProps> {
32
69
  * `click`.
33
70
  */
34
71
  get onItemClick(): MotifEvent<MenuItemClickEventArgs>;
72
+ /** On the main bar: occurs when a bar merged into it. */
73
+ get onMerged(): MotifEvent<MenuBarMergedEventArgs>;
74
+ /** On the main bar: occurs when a bar left it. */
75
+ get onUnmerged(): MotifEvent<MenuBarMergedEventArgs>;
76
+ /** Occurs when the user changed the bar, with everything changed so far. */
77
+ get onCustomized(): MotifEvent<MenuBarCustomizedEventArgs>;
78
+ /** Occurs before the menu of the right button opens: add commands of your own or leave some out. */
79
+ get onCustomMenuOpening(): MotifEvent<MenuBarCustomMenuOpeningEventArgs>;
80
+ /** Occurs after a change by path, with the new list of items to keep. */
81
+ get onItemsChanged(): MotifEvent<MenuBarItemsChangedEventArgs>;
35
82
  /**
36
- * Opens the menu of a top-level item, or the item at an index, with focus on its first item. Returns `false` if it has
37
- * none or cannot be used.
83
+ * Opens the menu of a top-level item: the item itself, its index among the items shown, or its key. Focus goes to its
84
+ * first item. Returns `false` if it has none or cannot be used.
38
85
  */
39
- open(item: MenuItem | number): boolean;
86
+ open(item: MenuItem | number | string): boolean;
40
87
  close(): void;
41
88
  /**
42
89
  * Re-reads the items after they have been changed in place, and updates the bar, the open menu and its submenus.
43
90
  * Your items can be plain or reactive, and the bar reads them as they are.
44
91
  */
45
92
  refresh(): void;
93
+ /** The item at `path`, as it is now; `null` when there is none. */
94
+ findItem(path: string): MenuItem | null;
95
+ /** Adds an item to the menu at `parentPath` (the bar when empty) at `index`, the end by default. */
96
+ addItem(parentPath: string, item: MenuItem, index?: number): boolean;
97
+ /** Removes the item at `path`, with its menu. */
98
+ removeItem(path: string): boolean;
99
+ /** Moves the item at `path` to `index` in its menu, or in the menu at `toParent` (the bar when empty). */
100
+ moveItem(path: string, index: number, toParent?: string): boolean;
101
+ /** Changes fields of the item at `path`; the others stay as they are. */
102
+ updateItem(path: string, changes: Partial<MenuItem>): boolean;
103
+ /**
104
+ * Opens the customizer: every item of the bar in a tree, to show and hide, move, rename, and add commands of
105
+ * `commands` and menus of the user's own. Returns `false` when it is already open.
106
+ */
107
+ openCustomizer(): boolean;
108
+ /**
109
+ * Merges the bar into its main bar (`mergeInto`): its items are shown there by their `merge` and `mergeAt`, and the
110
+ * bar is hidden (`hideWhenMerged`). With the main bar not there yet, it merges when the main bar comes. `mergeWhen`
111
+ * calls it by itself, except `'manual'`.
112
+ */
113
+ merge(): boolean;
114
+ /** Takes the bar's items back from its main bar, and shows the bar again. */
115
+ unmerge(): boolean;
116
+ /** Leaves the main bar that is going away or stops being one; the bar merges again when a main bar comes. */
117
+ release(): void;
118
+ /** `show`: the bar is shown in its place again; not while its place is hidden and a main bar may take it back. */
119
+ private leave;
120
+ onBuilt(): void;
121
+ onMounted(): void;
122
+ private hostToMerge;
123
+ private registerHost;
124
+ /** Follows what `mergeWhen` merges on: the bar's place shown, or focus in it. */
125
+ private watchMerge;
126
+ /** The place `mergeWhen` follows: `mergeScope`, else the component the bar is in (past a fragment, which has no element). */
127
+ private mergePlace;
128
+ /** Holds the changes by path until `endUpdate()`, which applies them at once. */
129
+ beginUpdate(): void;
130
+ endUpdate(): void;
46
131
  /** The top item Tab reaches. */
47
- protected get focusElement(): HTMLElement;
132
+ get focusPart(): ComponentBase;
48
133
  protected applyProperty(name: string, value: unknown): void;
49
134
  private get parts();
50
135
  private createParts;
136
+ private applyItems;
51
137
  /** Draws the items again whenever a function in one of them reads something that changes, or on `reState()`. */
52
138
  private followItems;
139
+ private lookOf;
140
+ /** The top items with the merged bars' items: the main bar's first, then each bar's by its rules. */
141
+ private mergedTop;
53
142
  private draw;
143
+ /** Lets go of the parts kept for `bar`'s items: the bar is going away, or its items changed while it was away. */
144
+ private dropStash;
145
+ /** The part of the top item of `key`: the one kept, else a new one. */
146
+ private slotOf;
147
+ /** The item's icon, drawn again only when its source changes. */
148
+ private drawIcon;
54
149
  /** The item Tab reaches: the last one focused, else the first. */
55
150
  private stop;
56
151
  private renderRoving;
57
152
  private renderF10;
58
153
  private openMenu;
59
154
  private createPopup;
155
+ /** The items of the menu of `node`: as given while the user changed nothing, so that its functions stay followed. */
156
+ /** The commands the user can add: `commands` when given, else those of the app (`commands` registry) with a text. */
157
+ private catalog;
158
+ private menuOf;
159
+ private takeCustomization;
160
+ private remember;
161
+ private customMenuOpening;
162
+ private customCommands;
163
+ /** Applies a change made from the menu, and puts focus back on its item, else on the first item of the open menu. */
164
+ private changeByUser;
165
+ /** The customizer's view of the bar: its tree, and each change applied as the user's. */
166
+ private customizerSource;
60
167
  private chosen;
168
+ /** The top item an event started on. */
61
169
  private entryOf;
62
170
  private listen;
171
+ /** An item's access key: its menu opens at once, focus on its first item; an item without a menu is clicked. */
172
+ private pressAccessKey;
63
173
  private onClick;
64
174
  private onKeyDown;
65
175
  }