@motifx-community/ui 0.1.0-beta.7 → 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 (595) hide show
  1. package/CHANGELOG.md +310 -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 +1 -1
  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 +3 -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/loadpanel/LoadPanel.d.ts +7 -3
  142. package/dist/components/loadpanel/load-panel-props.d.ts +1 -1
  143. package/dist/components/loadpanel/load-panel-target.d.ts +2 -2
  144. package/dist/components/lookup/Lookup.d.ts +1 -1
  145. package/dist/components/menubar/MenuBar.d.ts +115 -5
  146. package/dist/components/menubar/index.d.ts +7 -0
  147. package/dist/components/menubar/menu-bar-added-item.d.ts +11 -0
  148. package/dist/components/menubar/menu-bar-custom-menu-opening-event-args.d.ts +19 -0
  149. package/dist/components/menubar/menu-bar-customization.d.ts +18 -0
  150. package/dist/components/menubar/menu-bar-customized-event-args.d.ts +7 -0
  151. package/dist/components/menubar/menu-bar-items-changed-event-args.d.ts +7 -0
  152. package/dist/components/menubar/menu-bar-merge-when.d.ts +5 -0
  153. package/dist/components/menubar/menu-bar-merged-event-args.d.ts +7 -0
  154. package/dist/components/menubar/menu-bar-props.d.ts +43 -1
  155. package/dist/components/menubar/menu-merge.d.ts +10 -0
  156. package/dist/components/menubar/menu-node.d.ts +4 -0
  157. package/dist/components/menubar/merge-hosts.d.ts +9 -0
  158. package/dist/components/menubar/merged-item.d.ts +18 -0
  159. package/dist/components/numberbox/NumberBox.d.ts +13 -4
  160. package/dist/components/numberbox/number-box-props.d.ts +1 -1
  161. package/dist/components/otpinput/OtpInput.d.ts +19 -8
  162. package/dist/components/pagination/Pagination.d.ts +9 -4
  163. package/dist/components/popover/Popover.d.ts +24 -7
  164. package/dist/components/popover/popover-props.d.ts +1 -1
  165. package/dist/components/progress/ProgressBar.d.ts +1 -0
  166. package/dist/components/progress/ProgressWave.d.ts +13 -12
  167. package/dist/components/progress/Spinner.d.ts +5 -5
  168. package/dist/components/progress/progress-bar-props.d.ts +1 -1
  169. package/dist/components/qrcode/QRCode.d.ts +5 -1
  170. package/dist/components/radiogroup/RadioGroup.d.ts +8 -6
  171. package/dist/components/rating/Rating.d.ts +2 -2
  172. package/dist/components/resizable/Resizable.d.ts +19 -17
  173. package/dist/components/resizable/resizable-props.d.ts +3 -3
  174. package/dist/components/resizable/resize-start.d.ts +11 -0
  175. package/dist/components/ribbonmenu/RibbonGallery.d.ts +32 -0
  176. package/dist/components/ribbonmenu/RibbonKeyHints.d.ts +61 -0
  177. package/dist/components/ribbonmenu/RibbonMenu.d.ts +419 -0
  178. package/dist/components/ribbonmenu/index.d.ts +22 -0
  179. package/dist/components/ribbonmenu/ribbon-app-button-event-args.d.ts +8 -0
  180. package/dist/components/ribbonmenu/ribbon-command-click-event-args.d.ts +15 -0
  181. package/dist/components/ribbonmenu/ribbon-command-size.d.ts +2 -0
  182. package/dist/components/ribbonmenu/ribbon-command-type.d.ts +7 -0
  183. package/dist/components/ribbonmenu/ribbon-command.d.ts +63 -0
  184. package/dist/components/ribbonmenu/ribbon-gallery-item.d.ts +18 -0
  185. package/dist/components/ribbonmenu/ribbon-group-more-event-args.d.ts +12 -0
  186. package/dist/components/ribbonmenu/ribbon-group.d.ts +31 -0
  187. package/dist/components/ribbonmenu/ribbon-menu-custom-menu-opening-event-args.d.ts +22 -0
  188. package/dist/components/ribbonmenu/ribbon-menu-customization.d.ts +18 -0
  189. package/dist/components/ribbonmenu/ribbon-menu-customized-event-args.d.ts +7 -0
  190. package/dist/components/ribbonmenu/ribbon-menu-display-changed-event-args.d.ts +8 -0
  191. package/dist/components/ribbonmenu/ribbon-menu-display.d.ts +5 -0
  192. package/dist/components/ribbonmenu/ribbon-menu-items-changed-event-args.d.ts +7 -0
  193. package/dist/components/ribbonmenu/ribbon-menu-layout-changed-event-args.d.ts +8 -0
  194. package/dist/components/ribbonmenu/ribbon-menu-layout.d.ts +2 -0
  195. package/dist/components/ribbonmenu/ribbon-menu-props.d.ts +79 -0
  196. package/dist/components/ribbonmenu/ribbon-quick-bar-position.d.ts +2 -0
  197. package/dist/components/ribbonmenu/ribbon-tab-selecting-event-args.d.ts +5 -0
  198. package/dist/components/ribbonmenu/ribbon-tab-selection-changed-event-args.d.ts +10 -0
  199. package/dist/components/ribbonmenu/ribbon-tab.d.ts +24 -0
  200. package/dist/components/scheduler/AppointmentEditor.d.ts +16 -7
  201. package/dist/components/scheduler/Scheduler.d.ts +23 -9
  202. package/dist/components/scheduler/view/AgendaView.d.ts +7 -2
  203. package/dist/components/scheduler/view/AppointmentDrag.d.ts +26 -3
  204. package/dist/components/scheduler/view/CellAttributes.d.ts +1 -0
  205. package/dist/components/scheduler/view/CellWriter.d.ts +6 -3
  206. package/dist/components/scheduler/view/KeyedParts.d.ts +2 -0
  207. package/dist/components/scheduler/view/MonthView.d.ts +18 -7
  208. package/dist/components/scheduler/view/SchedulerTouch.d.ts +8 -2
  209. package/dist/components/scheduler/view/TimeView.d.ts +23 -11
  210. package/dist/components/scheduler/view/TimelineLine.d.ts +19 -2
  211. package/dist/components/scheduler/view/TimelineView.d.ts +27 -16
  212. package/dist/components/scheduler/view/scheduler-host.d.ts +4 -4
  213. package/dist/components/scheduler/view/shown-view.d.ts +11 -0
  214. package/dist/components/scheduler/view/touch-host.d.ts +6 -2
  215. package/dist/components/scrollview/ScrollView.d.ts +27 -8
  216. package/dist/components/sheet/BottomSheet.d.ts +13 -6
  217. package/dist/components/shortcuteditor/ShortcutEditor.d.ts +82 -0
  218. package/dist/components/shortcuteditor/index.d.ts +3 -0
  219. package/dist/components/shortcuteditor/shortcut-editor-keys-changed-event-args.d.ts +9 -0
  220. package/dist/components/shortcuteditor/shortcut-editor-props.d.ts +21 -0
  221. package/dist/components/signature/Signature.d.ts +18 -13
  222. package/dist/components/slider/Slider.d.ts +7 -6
  223. package/dist/components/slider/slider-props.d.ts +1 -1
  224. package/dist/components/sortable/Sortable.d.ts +24 -12
  225. package/dist/components/sortable/sortable-props.d.ts +1 -1
  226. package/dist/components/sparkline/Sparkline.d.ts +17 -19
  227. package/dist/components/speeddial/SpeedDial.d.ts +8 -2
  228. package/dist/components/speeddial/speed-dial-action.d.ts +1 -1
  229. package/dist/components/splitter/SplitPane.d.ts +3 -0
  230. package/dist/components/splitter/Splitter.d.ts +11 -5
  231. package/dist/components/stepper/Stepper.d.ts +30 -12
  232. package/dist/components/tabdocs/AutoHideStrip.d.ts +10 -4
  233. package/dist/components/tabdocs/DockGuides.d.ts +6 -4
  234. package/dist/components/tabdocs/DocumentList.d.ts +19 -7
  235. package/dist/components/tabdocs/DocumentTab.d.ts +12 -9
  236. package/dist/components/tabdocs/DropMarks.d.ts +8 -3
  237. package/dist/components/tabdocs/MoveByKeys.d.ts +2 -1
  238. package/dist/components/tabdocs/PhoneBar.d.ts +2 -1
  239. package/dist/components/tabdocs/PhoneList.d.ts +14 -4
  240. package/dist/components/tabdocs/PhoneTools.d.ts +8 -1
  241. package/dist/components/tabdocs/SplitSash.d.ts +3 -5
  242. package/dist/components/tabdocs/TabBrowserWindow.d.ts +3 -2
  243. package/dist/components/tabdocs/TabDockArea.d.ts +5 -2
  244. package/dist/components/tabdocs/TabDocumentManager.d.ts +51 -25
  245. package/dist/components/tabdocs/TabDrag.d.ts +27 -12
  246. package/dist/components/tabdocs/TabGroup.d.ts +30 -16
  247. package/dist/components/tabdocs/TabMenus.d.ts +11 -4
  248. package/dist/components/tabdocs/TabPresenter.d.ts +21 -5
  249. package/dist/components/tabdocs/TabSplit.d.ts +10 -4
  250. package/dist/components/tabdocs/TabWindow.d.ts +7 -4
  251. package/dist/components/tabdocs/item-part.d.ts +4 -0
  252. package/dist/components/tabdocs/layout-item.d.ts +4 -1
  253. package/dist/components/tabdocs/place-node.d.ts +11 -4
  254. package/dist/components/tabdocs/strip-room.d.ts +13 -0
  255. package/dist/components/tabdocs/tab-header.d.ts +3 -0
  256. package/dist/components/tabs/PanelContent.d.ts +1 -1
  257. package/dist/components/tabs/Tab.d.ts +4 -4
  258. package/dist/components/tabs/Tabs.d.ts +11 -6
  259. package/dist/components/tagbox/TagBox.d.ts +24 -6
  260. package/dist/components/textarea/TextArea.d.ts +9 -5
  261. package/dist/components/textbox/TextBox.d.ts +13 -4
  262. package/dist/components/tileview/TileView.d.ts +15 -5
  263. package/dist/components/timeline/Timeline.d.ts +11 -0
  264. package/dist/components/toast/Toaster.d.ts +9 -2
  265. package/dist/components/toolbar/Toolbar.d.ts +18 -5
  266. package/dist/components/toolbar/toolbar-item.d.ts +5 -0
  267. package/dist/components/tooltip/Tooltip.d.ts +10 -2
  268. package/dist/components/tooltip/add-tooltip.d.ts +3 -3
  269. package/dist/components/tooltip/tooltip-hub.d.ts +5 -3
  270. package/dist/components/tooltip/tooltip-props.d.ts +1 -1
  271. package/dist/components/tooltip/tooltip-target.d.ts +2 -2
  272. package/dist/components/treeview/TreeView.d.ts +34 -9
  273. package/dist/components/treeview/tree-row-parts.d.ts +13 -0
  274. package/dist/components/treeview/tree-view-item-template.d.ts +7 -2
  275. package/dist/components/treeview/tree-view-props.d.ts +1 -1
  276. package/dist/components/validationsummary/ValidationSummary.d.ts +1 -1
  277. package/dist/core/access-key-entry.d.ts +10 -0
  278. package/dist/core/access-key.d.ts +24 -12
  279. package/dist/core/chord.d.ts +9 -0
  280. package/dist/core/command-fields.d.ts +17 -0
  281. package/dist/core/command-registry.d.ts +37 -0
  282. package/dist/core/command-run-event-args.d.ts +11 -0
  283. package/dist/core/command.d.ts +41 -0
  284. package/dist/core/commands-changed-event-args.d.ts +4 -0
  285. package/dist/core/component-tree.d.ts +10 -0
  286. package/dist/core/container.d.ts +8 -5
  287. package/dist/core/control.d.ts +44 -15
  288. package/dist/core/cover-record.d.ts +9 -0
  289. package/dist/core/cover.d.ts +11 -0
  290. package/dist/core/draw-parts.d.ts +12 -20
  291. package/dist/core/flow-home.d.ts +7 -4
  292. package/dist/core/focus-mark.d.ts +8 -0
  293. package/dist/core/focus.d.ts +109 -10
  294. package/dist/core/glyphs.d.ts +42 -40
  295. package/dist/core/icon-source.d.ts +15 -2
  296. package/dist/core/key-windows.d.ts +8 -0
  297. package/dist/core/keyboard.d.ts +25 -30
  298. package/dist/core/keymap-changed-event-args.d.ts +7 -0
  299. package/dist/core/keymap.d.ts +6 -0
  300. package/dist/core/language-look.d.ts +20 -7
  301. package/dist/core/live-controls.d.ts +12 -0
  302. package/dist/core/look-watch.d.ts +4 -1
  303. package/dist/core/measure/box.d.ts +21 -0
  304. package/dist/core/measure/element-of.d.ts +12 -0
  305. package/dist/core/measure/every-frame.d.ts +8 -0
  306. package/dist/core/measure/hit-cover.d.ts +8 -0
  307. package/dist/core/measure/hit-options.d.ts +12 -0
  308. package/dist/core/measure/hits.d.ts +18 -0
  309. package/dist/core/measure/index.d.ts +27 -0
  310. package/dist/core/measure/job.d.ts +9 -0
  311. package/dist/core/measure/layout-change.d.ts +2 -0
  312. package/dist/core/measure/layout-options.d.ts +11 -0
  313. package/dist/core/measure/lengths.d.ts +13 -0
  314. package/dist/core/measure/look.d.ts +11 -0
  315. package/dist/core/measure/loop.d.ts +10 -0
  316. package/dist/core/measure/media.d.ts +8 -0
  317. package/dist/core/measure/motion.d.ts +10 -0
  318. package/dist/core/measure/observers.d.ts +13 -0
  319. package/dist/core/measure/on-layout.d.ts +23 -0
  320. package/dist/core/measure/page-events.d.ts +6 -0
  321. package/dist/core/measure/page.d.ts +11 -0
  322. package/dist/core/measure/pending-scroll.d.ts +9 -0
  323. package/dist/core/measure/pending-scrolls.d.ts +7 -0
  324. package/dist/core/measure/point.d.ts +5 -0
  325. package/dist/core/measure/probe-set.d.ts +35 -0
  326. package/dist/core/measure/read.d.ts +54 -0
  327. package/dist/core/measure/rect.d.ts +9 -0
  328. package/dist/core/measure/reveal-options.d.ts +20 -0
  329. package/dist/core/measure/reveal-range.d.ts +7 -0
  330. package/dist/core/measure/round-reads.d.ts +14 -0
  331. package/dist/core/measure/rounds.d.ts +36 -0
  332. package/dist/core/measure/scroll-motion.d.ts +5 -0
  333. package/dist/core/measure/scroll-place.d.ts +5 -0
  334. package/dist/core/measure/scroll.d.ts +41 -0
  335. package/dist/core/measure/size-box.d.ts +2 -0
  336. package/dist/core/measure/size.d.ts +5 -0
  337. package/dist/core/measure/text-probes.d.ts +19 -0
  338. package/dist/core/measure/text-widths.d.ts +14 -0
  339. package/dist/core/measure/view.d.ts +2 -0
  340. package/dist/core/measure/viewport-rect.d.ts +10 -0
  341. package/dist/core/measure/viewport.d.ts +12 -0
  342. package/dist/core/measure/watch.d.ts +35 -0
  343. package/dist/core/measure/watcher.d.ts +41 -0
  344. package/dist/core/measure/window-bound.d.ts +11 -0
  345. package/dist/core/measure/window-frame.d.ts +25 -0
  346. package/dist/core/order-controls.d.ts +7 -0
  347. package/dist/core/page-documents.d.ts +13 -0
  348. package/dist/core/page-layer.d.ts +18 -0
  349. package/dist/core/parsed-access-key.d.ts +9 -0
  350. package/dist/core/part-writes.d.ts +25 -0
  351. package/dist/core/press-origin.d.ts +3 -0
  352. package/dist/core/shortcut-conflict.d.ts +12 -0
  353. package/dist/core/shortcut-handler.d.ts +2 -0
  354. package/dist/core/shortcut-info.d.ts +19 -0
  355. package/dist/core/shortcut-options.d.ts +33 -0
  356. package/dist/core/shortcut-registration.d.ts +21 -0
  357. package/dist/core/shortcut-registry.d.ts +46 -0
  358. package/dist/core/shortcut-text.d.ts +2 -0
  359. package/dist/core/show-icon.d.ts +7 -0
  360. package/dist/core/stacked-window.d.ts +9 -0
  361. package/dist/core/ui-locale.d.ts +2 -2
  362. package/dist/core/ui-strings.d.ts +128 -0
  363. package/dist/core/window-events.d.ts +14 -0
  364. package/dist/core/window-stack.d.ts +11 -11
  365. package/dist/generated/tokens.d.ts +1391 -11
  366. package/dist/index.d.ts +16 -1
  367. package/dist/index.js +35219 -22569
  368. package/dist/index.js.map +1 -1
  369. package/dist/locales/en.json +121 -2
  370. package/dist/locales/tr.json +121 -2
  371. package/dist/parts/chart/chart-text.d.ts +29 -5
  372. package/dist/parts/chart/svg-parts.d.ts +11 -7
  373. package/dist/parts/chart/value-motion.d.ts +3 -2
  374. package/dist/parts/code/code-image.d.ts +6 -9
  375. package/dist/parts/customizer/Customizer.d.ts +64 -0
  376. package/dist/parts/customizer/NameForm.d.ts +10 -0
  377. package/dist/parts/customizer/customizer-command.d.ts +5 -0
  378. package/dist/parts/customizer/customizer-names.d.ts +9 -0
  379. package/dist/parts/customizer/customizer-node.d.ts +15 -0
  380. package/dist/parts/customizer/customizer-source.d.ts +27 -0
  381. package/dist/parts/data/KeyedItems.d.ts +1 -1
  382. package/dist/parts/data/empty-key.d.ts +2 -0
  383. package/dist/parts/drag/DragGhost.d.ts +23 -16
  384. package/dist/parts/drag/auto-scroll-options.d.ts +19 -0
  385. package/dist/parts/drag/auto-scroll.d.ts +11 -0
  386. package/dist/parts/drag/drag-boxes.d.ts +33 -0
  387. package/dist/parts/drag/stack-cover.d.ts +7 -0
  388. package/dist/parts/field/Field.d.ts +37 -9
  389. package/dist/parts/field/pressed-focusable.d.ts +3 -0
  390. package/dist/parts/item-layout/ItemLayout.d.ts +61 -0
  391. package/dist/parts/item-layout/item-layout-options.d.ts +17 -0
  392. package/dist/parts/item-layout/layout-added-item.d.ts +13 -0
  393. package/dist/parts/item-layout/layout-customization.d.ts +13 -0
  394. package/dist/parts/item-layout/layout-node.d.ts +24 -0
  395. package/dist/parts/item-tree/ItemTree.d.ts +34 -0
  396. package/dist/parts/item-tree/children-at.d.ts +2 -0
  397. package/dist/parts/item-tree/item-paths.d.ts +18 -0
  398. package/dist/parts/item-tree/ordered.d.ts +2 -0
  399. package/dist/parts/list/OptionList.d.ts +67 -17
  400. package/dist/parts/list/option-parts.d.ts +10 -0
  401. package/dist/parts/mask/InputMask.d.ts +11 -4
  402. package/dist/parts/menu/MenuList.d.ts +35 -11
  403. package/dist/parts/menu/menu-item-merge-at.d.ts +6 -0
  404. package/dist/parts/menu/menu-item-merge.d.ts +6 -0
  405. package/dist/parts/menu/menu-item.d.ts +17 -2
  406. package/dist/parts/overlay/OverlayPanel.d.ts +21 -12
  407. package/dist/parts/overlay/inert-around.d.ts +6 -3
  408. package/dist/parts/overlay/overlay-container.d.ts +2 -2
  409. package/dist/parts/overlay/overlay-panel-props.d.ts +2 -2
  410. package/dist/parts/popup/Popup.d.ts +17 -2
  411. package/dist/parts/popup/place-near.d.ts +10 -0
  412. package/dist/parts/popup/place-options.d.ts +10 -0
  413. package/dist/parts/popup/place-popup.d.ts +4 -1
  414. package/dist/parts/popup/placed.d.ts +7 -0
  415. package/dist/parts/popup/popup-anchor.d.ts +4 -0
  416. package/dist/parts/popup/popup-open-options.d.ts +9 -4
  417. package/dist/parts/slide/slide-track-host.d.ts +3 -2
  418. package/dist/parts/slide/slide-track.d.ts +10 -4
  419. package/dist/parts/validation/validate-fields.d.ts +6 -2
  420. package/dist/parts/validation/validation-target.d.ts +3 -1
  421. package/dist/parts/window/follow-pointer.d.ts +2 -1
  422. package/dist/parts/window/resize-frame-parts.d.ts +7 -0
  423. package/dist/parts/window/resize-frame.d.ts +3 -2
  424. package/dist/styles.css +2144 -12
  425. package/dist/tokens/index.d.ts +14836 -13454
  426. package/dist/tokens/index.js +1397 -12
  427. package/dist/tokens/index.js.map +1 -1
  428. package/dist/{tr-DhIFcH3c.js → tr-BvKE8jSF.js} +241 -3
  429. package/dist/tr-BvKE8jSF.js.map +1 -0
  430. package/docs/accordion.md +2 -2
  431. package/docs/actionsheet.md +4 -3
  432. package/docs/appbar.md +3 -3
  433. package/docs/appmenu-api.md +83 -0
  434. package/docs/appmenu-programmatic.md +76 -0
  435. package/docs/appmenu-search.md +66 -0
  436. package/docs/appmenu.md +150 -0
  437. package/docs/avatar.md +2 -2
  438. package/docs/badge.md +1 -1
  439. package/docs/bar-gauge-angles.md +1 -1
  440. package/docs/bar-gauge-data.md +1 -1
  441. package/docs/bar-gauge-labels.md +1 -1
  442. package/docs/bar-gauge.md +1 -1
  443. package/docs/barcode.md +1 -1
  444. package/docs/bottomnavigation.md +3 -3
  445. package/docs/bottomsheet.md +3 -3
  446. package/docs/breadcrumb.md +1 -1
  447. package/docs/button.md +4 -4
  448. package/docs/buttongroup.md +1 -1
  449. package/docs/buttons.md +1 -1
  450. package/docs/calendar.md +1 -1
  451. package/docs/card.md +2 -2
  452. package/docs/chart-bars.md +1 -1
  453. package/docs/chart-candles.md +1 -1
  454. package/docs/chart-funnel.md +1 -1
  455. package/docs/chart-heatmap.md +1 -1
  456. package/docs/chart-lines.md +1 -1
  457. package/docs/chart-live.md +1 -1
  458. package/docs/chart-pie.md +1 -1
  459. package/docs/chart-radar.md +1 -1
  460. package/docs/chart-ranges.md +1 -1
  461. package/docs/chart-references.md +1 -1
  462. package/docs/chart-scatter.md +1 -1
  463. package/docs/chart-waterfall.md +1 -1
  464. package/docs/chart-zoom.md +1 -1
  465. package/docs/chart.md +1 -1
  466. package/docs/checkbox.md +2 -2
  467. package/docs/chip.md +7 -8
  468. package/docs/choice.md +1 -1
  469. package/docs/colorbox.md +1 -1
  470. package/docs/combobox.md +1 -1
  471. package/docs/control.md +2 -2
  472. package/docs/data.md +1 -1
  473. package/docs/datagrid-api.md +7 -4
  474. package/docs/datagrid-bands.md +1 -1
  475. package/docs/datagrid-drag-select.md +1 -1
  476. package/docs/datagrid-drag.md +4 -4
  477. package/docs/datagrid-editing.md +1 -1
  478. package/docs/datagrid-filtering.md +106 -1
  479. package/docs/datagrid-forms.md +2 -2
  480. package/docs/datagrid-grouping.md +1 -1
  481. package/docs/datagrid-layout.md +7 -7
  482. package/docs/datagrid-lookups.md +2 -2
  483. package/docs/datagrid-master-detail.md +3 -3
  484. package/docs/datagrid-scrolling.md +1 -1
  485. package/docs/datagrid-selection.md +1 -1
  486. package/docs/datagrid.md +1 -1
  487. package/docs/datebox.md +2 -2
  488. package/docs/daterangebox.md +2 -2
  489. package/docs/display.md +1 -1
  490. package/docs/draggable.md +4 -4
  491. package/docs/drawer.md +2 -2
  492. package/docs/dropdown.md +5 -5
  493. package/docs/editors.md +1 -1
  494. package/docs/feedback.md +1 -1
  495. package/docs/fileuploader.md +1 -1
  496. package/docs/filterbuilder.md +2 -2
  497. package/docs/formlayout.md +1 -1
  498. package/docs/foundations.md +1 -1
  499. package/docs/gallery.md +1 -1
  500. package/docs/gauge-base.md +1 -1
  501. package/docs/gauge-circular.md +1 -1
  502. package/docs/gauge-dashboards.md +1 -1
  503. package/docs/gauge-linear.md +1 -1
  504. package/docs/gauge-markers.md +1 -1
  505. package/docs/gauge-marks.md +1 -1
  506. package/docs/gauge-ranges.md +1 -1
  507. package/docs/gauge-scales.md +1 -1
  508. package/docs/gauge.md +1 -1
  509. package/docs/home.md +1 -1
  510. package/docs/keyboard.md +2 -4
  511. package/docs/language.md +2 -2
  512. package/docs/layout.md +3 -3
  513. package/docs/listbox.md +5 -5
  514. package/docs/loadpanel.md +4 -4
  515. package/docs/lookup.md +1 -1
  516. package/docs/menus.md +17 -16
  517. package/docs/multiview.md +1 -1
  518. package/docs/navigation.md +1 -1
  519. package/docs/numberbox.md +5 -4
  520. package/docs/otpinput.md +1 -1
  521. package/docs/pagination.md +1 -1
  522. package/docs/popover.md +10 -9
  523. package/docs/progress.md +5 -5
  524. package/docs/qrcode.md +1 -1
  525. package/docs/radiogroup.md +3 -3
  526. package/docs/rating.md +1 -1
  527. package/docs/resizable.md +4 -4
  528. package/docs/ribbonmenu-api.md +130 -0
  529. package/docs/ribbonmenu-commands.md +118 -0
  530. package/docs/ribbonmenu-customization.md +93 -0
  531. package/docs/ribbonmenu-display.md +96 -0
  532. package/docs/ribbonmenu-layouts.md +59 -0
  533. package/docs/ribbonmenu-programmatic.md +91 -0
  534. package/docs/ribbonmenu.md +233 -0
  535. package/docs/scheduler-agenda.md +1 -1
  536. package/docs/scheduler-big-data.md +1 -1
  537. package/docs/scheduler-editing.md +1 -1
  538. package/docs/scheduler-form.md +1 -1
  539. package/docs/scheduler-icalendar.md +1 -1
  540. package/docs/scheduler-mobile.md +1 -1
  541. package/docs/scheduler-recurrence.md +1 -1
  542. package/docs/scheduler-resources.md +1 -1
  543. package/docs/scheduler-timeline.md +1 -1
  544. package/docs/scheduler.md +1 -1
  545. package/docs/scrollview.md +7 -6
  546. package/docs/showcase-home.md +1 -1
  547. package/docs/showcase.md +2 -2
  548. package/docs/signature.md +1 -1
  549. package/docs/skeleton.md +1 -1
  550. package/docs/slider.md +4 -4
  551. package/docs/sortable.md +2 -2
  552. package/docs/sparkline.md +1 -1
  553. package/docs/speeddial.md +2 -2
  554. package/docs/splitter.md +1 -1
  555. package/docs/stepper.md +6 -8
  556. package/docs/switch.md +2 -2
  557. package/docs/tabdocs-dock.md +2 -2
  558. package/docs/tabdocs-drag.md +1 -1
  559. package/docs/tabdocs-menus.md +1 -1
  560. package/docs/tabdocs-mobile.md +1 -1
  561. package/docs/tabdocs-tabs.md +1 -1
  562. package/docs/tabdocs-windows.md +1 -2
  563. package/docs/tabdocs-workspace.md +1 -1
  564. package/docs/tabdocs.md +1 -1
  565. package/docs/tabs.md +2 -2
  566. package/docs/tagbox.md +9 -10
  567. package/docs/textarea.md +2 -2
  568. package/docs/textbox.md +6 -3
  569. package/docs/tileview.md +1 -1
  570. package/docs/timeline.md +1 -1
  571. package/docs/toast.md +1 -1
  572. package/docs/tokens.md +265 -1
  573. package/docs/toolbar.md +1 -1
  574. package/docs/tooltip.md +3 -3
  575. package/docs/treeview.md +15 -24
  576. package/docs/validationsummary.md +1 -1
  577. package/docs/window.md +3 -3
  578. package/docs/wizard.md +1 -1
  579. package/llms-full.txt +1903 -289
  580. package/llms.txt +18 -1
  581. package/package.json +4 -4
  582. package/dist/components/datagrid/view/next-frame.d.ts +0 -4
  583. package/dist/components/datagrid/view/place-in-order.d.ts +0 -6
  584. package/dist/components/tabdocs/keep-scroll.d.ts +0 -6
  585. package/dist/core/control-map.d.ts +0 -7
  586. package/dist/core/document-watch.d.ts +0 -10
  587. package/dist/core/enable.d.ts +0 -16
  588. package/dist/core/fonts-loaded.d.ts +0 -2
  589. package/dist/core/icon-node.d.ts +0 -10
  590. package/dist/core/next-frame.d.ts +0 -6
  591. package/dist/core/resize-watch.d.ts +0 -21
  592. package/dist/core/scroll-watch.d.ts +0 -13
  593. package/dist/parts/chart/token-lengths.d.ts +0 -16
  594. package/dist/parts/overlay/css-length.d.ts +0 -2
  595. package/dist/tr-DhIFcH3c.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import type { Bind } from '@motifx/core';
1
+ import type { Bind, ComponentBase } from '@motifx/core';
2
2
  import type { ControlProps } from '../../core/control';
3
3
  import type { DraggableEventArgs } from './draggable-event-args';
4
4
  /** The directions a draggable can move in. */
@@ -12,8 +12,8 @@ export interface DragPosition {
12
12
  export interface DraggableProps extends ControlProps {
13
13
  /** The directions it can move in. The default is `'both'`. */
14
14
  axis?: Bind<DragAxis>;
15
- /** The area it stays inside: its parent, or an element that contains it. The default is `null`, no limit. */
16
- boundary?: Bind<'parent' | HTMLElement | null>;
15
+ /** The area it stays inside: its parent, or a component that contains it. The default is `null`, no limit. */
16
+ boundary?: Bind<'parent' | ComponentBase | null>;
17
17
  /**
18
18
  * A selector inside the draggable. Only this part starts a drag, and it receives keyboard input.
19
19
  * The default is `null`, the whole draggable.
@@ -1,4 +1,4 @@
1
- import { type Bind, type ComponentBase, type IBaseProp } from '@motifx/core';
1
+ import { ComponentBase, type Bind, type IBaseProp } from '@motifx/core';
2
2
  import type { OverlayCloseReason } from '../../parts/overlay/overlay-close-reason';
3
3
  import { OverlayPanel } from '../../parts/overlay/OverlayPanel';
4
4
  import type { DrawerMode } from './drawer-mode';
@@ -17,14 +17,18 @@ import type { DrawerSide } from './drawer-side';
17
17
  */
18
18
  export declare class Drawer extends OverlayPanel<DrawerProps> {
19
19
  static overlayClass: string;
20
+ private readonly readPush;
21
+ private readonly drawPush;
22
+ private readonly readSwipeSize;
23
+ private readonly swipeSized;
20
24
  constructor(props?: IBaseProp<DrawerProps>);
21
25
  get side(): DrawerSide;
22
26
  set side(value: Bind<DrawerSide>);
23
27
  get mode(): DrawerMode;
24
28
  set mode(value: Bind<DrawerMode>);
25
- /** The element that push mode moves aside. A function is read each time the drawer opens. */
26
- get pushTarget(): HTMLElement | ComponentBase | null;
27
- set pushTarget(value: Bind<HTMLElement | ComponentBase | null>);
29
+ /** The component that push mode moves aside. A function is read each time the drawer opens. */
30
+ get pushTarget(): ComponentBase | null;
31
+ set pushTarget(value: Bind<ComponentBase | null>);
28
32
  get size(): number | string | null;
29
33
  set size(value: Bind<number | string | null>);
30
34
  get edgeSwipe(): boolean;
@@ -44,15 +48,15 @@ export declare class Drawer extends OverlayPanel<DrawerProps> {
44
48
  private get drawer();
45
49
  /** The logical edge it comes from: `left` and `right` turned into start and end for the reading direction. */
46
50
  private logicalSide;
47
- private rtl;
48
- /** Along which axis it moves, and which way is in: +1 from the left or the top, -1 from the right or the bottom. */
49
- private axis;
51
+ private way;
50
52
  private renderSide;
51
53
  private renderSize;
52
- /** The panel's size along its axis, in pixels. */
53
- private panelSize;
54
- /** How far the panel is from open, signed along its axis; `null` takes the drag position away. */
54
+ /** The panel's size along `way`'s axis, in pixels: a read. */
55
+ private sizeAlong;
56
+ /** How far the panel is from open, signed along `way`'s axis. */
55
57
  private setShift;
58
+ /** Takes the drag position away. */
59
+ private clearShift;
56
60
  private push;
57
61
  private pushBy;
58
62
  private unpush;
@@ -64,5 +68,9 @@ export declare class Drawer extends OverlayPanel<DrawerProps> {
64
68
  private swipeMove;
65
69
  /** The swipe is the drawer's: it opens (out of sight yet) to follow the finger. */
66
70
  private take;
71
+ /** How much of the panel the finger shows. */
72
+ private shownBy;
73
+ private follow;
67
74
  private swipeEnd;
75
+ private finish;
68
76
  }
@@ -8,8 +8,8 @@ export interface DrawerProps extends OverlayPanelProps {
8
8
  side?: Bind<DrawerSide>;
9
9
  /** Whether it covers the content or pushes it aside. The default is `'over'`. */
10
10
  mode?: Bind<DrawerMode>;
11
- /** In `push` mode, the element or component that moves aside. Without it, `push` behaves like `over`. */
12
- pushTarget?: Bind<HTMLElement | ComponentBase | null>;
11
+ /** In `push` mode, the component that moves aside. Without it, `push` behaves like `over`. */
12
+ pushTarget?: Bind<ComponentBase | null>;
13
13
  /**
14
14
  * Its width, or its height from the top or bottom, in pixels or as a CSS length. `null` uses `drawer.size`.
15
15
  * It never exceeds 85% of the available space. The default is `null`.
@@ -1,12 +1,14 @@
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 type { data } from '@motifx-community/data';
3
3
  import { Field } from '../../parts/field/Field';
4
4
  import type { ItemField } from '../../parts/list/item-field';
5
5
  import { OptionList } from '../../parts/list/OptionList';
6
+ import type { OptionParts } from '../../parts/list/option-parts';
6
7
  import { Popup } from '../../parts/popup/Popup';
7
8
  import type { PopupCloseReason } from '../../parts/popup/popup-close-reason';
8
9
  import type { DropDownProps } from './drop-down-props';
9
- type Template<T> = ((item: T, host: HTMLElement) => (() => void) | void) | null;
10
+ type Template<T> = ((item: T, host: ComponentBase<HTMLElement>) => (() => void) | void) | null;
11
+ type OptionDrawer<T> = ((item: T, option: OptionParts) => (() => void) | void) | null;
10
12
  /**
11
13
  * Selects one item from a list (the APG select-only combobox). The field shows the selected item, the
12
14
  * list opens below it with the keyboard or a click, and it can be searched. Items are plain values,
@@ -74,9 +76,15 @@ export declare class DropDown<T = unknown, V = unknown> extends Field<V | null,
74
76
  * can be plain or reactive, and the drop-down reads them as they are.
75
77
  */
76
78
  refresh(): void;
79
+ /**
80
+ * For subclasses: draws an option's content into its parts instead of its text. It wins over `itemTemplate`;
81
+ * the open list is drawn again when it changes.
82
+ */
83
+ protected get optionDrawer(): OptionDrawer<T>;
84
+ protected set optionDrawer(value: OptionDrawer<T>);
77
85
  /** For subclasses: the popup and its list were created (e.g. to add a header above the list). */
78
86
  protected popupCreated(_popup: Popup, _list: OptionList<T>): void;
79
- protected createControl(): HTMLElement;
87
+ protected createControl(): ComponentBase;
80
88
  protected emptyValue(): V | null;
81
89
  protected renderValue(): void;
82
90
  private get dropParts();
@@ -103,6 +111,7 @@ export declare class DropDown<T = unknown, V = unknown> extends Field<V | null,
103
111
  /** While open, the list follows the items and their fields. */
104
112
  private watchList;
105
113
  private drawList;
114
+ /** The value in the field: what shows it changes only when it does, the marks and the title as they are. */
106
115
  private renderField;
107
116
  /** The texts of the wait and of a missing key are the kit's: the field draws them again when its language changes. */
108
117
  private followLanguage;
@@ -1,4 +1,4 @@
1
- import type { Bind } from '@motifx/core';
1
+ import type { Bind, ComponentBase } from '@motifx/core';
2
2
  import type { data } from '@motifx-community/data';
3
3
  import type { FieldProps } from '../../parts/field/field-props';
4
4
  import type { ItemField } from '../../parts/list/item-field';
@@ -34,9 +34,9 @@ export interface DropDownProps<T, V> extends FieldProps<V | null> {
34
34
  searchMode?: Bind<'contains' | 'startswith'>;
35
35
  clearButton?: Bind<boolean>;
36
36
  /** Customizes how an option is drawn. It can return a cleanup function. */
37
- itemTemplate?: Bind<((item: T, host: HTMLElement) => (() => void) | void) | null>;
37
+ itemTemplate?: Bind<((item: T, host: ComponentBase<HTMLElement>) => (() => void) | void) | null>;
38
38
  /** Customizes how the selected item is drawn in the field. It can return a cleanup function. */
39
- fieldTemplate?: Bind<((item: T, host: HTMLElement) => (() => void) | void) | null>;
39
+ fieldTemplate?: Bind<((item: T, host: ComponentBase<HTMLElement>) => (() => void) | void) | null>;
40
40
  /** The list is at least as wide as the field. The default is `true`. */
41
41
  matchWidth?: Bind<boolean>;
42
42
  onOpened?: () => void;
@@ -1,4 +1,4 @@
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 { Field } from "../../parts/field/Field";
3
3
  import type { ValidationRule } from "../../parts/validation/validation-rule";
4
4
  import { Button } from "../button/Button";
@@ -10,11 +10,13 @@ import type { UploadItem } from "./upload-item";
10
10
  import type { UploadMode } from "./upload-mode";
11
11
  import type { UploadStatus } from "./upload-status";
12
12
  interface Parts {
13
- select: HTMLButtonElement;
14
- selectText: HTMLSpanElement;
13
+ selectPart: Component<HTMLButtonElement>;
14
+ selectText: Component<HTMLSpanElement>;
15
+ selectTextId: string;
15
16
  input: HTMLInputElement;
16
- drop: HTMLSpanElement;
17
- uploadButton: HTMLButtonElement;
17
+ inputPart: Component<HTMLInputElement>;
18
+ dropPart: Component<HTMLSpanElement>;
19
+ uploadPart: Component<HTMLButtonElement>;
18
20
  list: Component<HTMLUListElement> | null;
19
21
  rows: Map<UploadItem, Row>;
20
22
  items: UploadItem[];
@@ -110,7 +112,8 @@ export declare class FileUploader extends Field<readonly File[], FileUploaderPro
110
112
  remove(item: UploadItem, event?: Event): void;
111
113
  /** Removes every file. */
112
114
  clear(): void;
113
- protected createControl(): HTMLElement;
115
+ protected get controlTag(): string;
116
+ protected createControl(): ComponentBase;
114
117
  protected emptyValue(): readonly File[];
115
118
  protected normalizeValue(value: readonly File[]): readonly File[];
116
119
  protected sameValue(a: readonly File[], b: readonly File[]): boolean;
@@ -1,4 +1,4 @@
1
- import { type Bind, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
1
+ import { Component, type Bind, type Event as MotifEvent, type IBaseProp } from '@motifx/core';
2
2
  import { data } from '@motifx-community/data';
3
3
  import { Control } from '../../core/control';
4
4
  import type { ControlSize } from '../../core/control-size';
@@ -73,8 +73,8 @@ export declare class FilterBuilder extends Control<HTMLDivElement, FilterBuilder
73
73
  refresh(): void;
74
74
  /** The logic behind the builder: field operations, text, and conversion between expressions and the tree. */
75
75
  get model(): FilterBuilderModel;
76
- /** The element with `role="treegrid"`. */
77
- get treeElement(): HTMLElement | null;
76
+ /** The part with `role="treegrid"`. */
77
+ get treePart(): Component<HTMLDivElement> | null;
78
78
  /** The condition whose value editor is open. */
79
79
  get editingCondition(): FilterBuilderCondition | null;
80
80
  get onValueChanged(): MotifEvent<FilterBuilderValueChangedEventArgs>;
@@ -125,30 +125,59 @@ export declare class FilterBuilder extends Control<HTMLDivElement, FilterBuilder
125
125
  private fitOperations;
126
126
  /** A condition put on another field keeps its operation and value only where they still make sense there. */
127
127
  private fitToField;
128
- /** The tree changed: the value follows (when it is another filter) and the rows are drawn again. */
128
+ /** The tree changed (`bump` says what): the value follows (when it is another filter) and only the rows of what changed write again. */
129
129
  private changed;
130
- /** A value from the prop or programmatically: the tree is built again, unless it is the value the tree stands for already. */
130
+ /**
131
+ * A value from the prop or programmatically: the tree takes it, unless it is the value the tree stands for already.
132
+ * The items that stay where they are keep their rows; only what differs writes again.
133
+ */
131
134
  private takeValue;
135
+ /**
136
+ * Makes the tree `into` say what `from` says, item by item in place: an item of the same kind in the same place is
137
+ * kept (its row too) and takes the other's field, operation and value; the rest come or go.
138
+ */
139
+ private adopt;
140
+ /** An item changed: its row's buttons write again. */
141
+ private touch;
142
+ private tickOf;
132
143
  private inTree;
133
144
  /** Reads what the rows show, so the drawing effect follows it. */
134
145
  private watchOptions;
135
- /** Draws every row again, the same button keeping focus. */
136
- private draw;
137
- private drawGroup;
138
- private drawCondition;
146
+ /**
147
+ * Builds the tree once: its rows come and go with the items, and each row's buttons write only what changed of
148
+ * their own item (or of what every row shows).
149
+ */
150
+ private buildTree;
151
+ /** What every row shows changed: the rows' buttons write again, in place. */
152
+ private restyle;
153
+ /** The tree's Tab stop on the current button, and focus there when it was in the tree (once that button is made). */
154
+ private settle;
155
+ /** The items in the order of their rows: each group, then its items. */
156
+ private treeItems;
157
+ /** The rows in their order. */
158
+ private get rows();
159
+ /** What a row's button shows for its item now. */
160
+ private lookOf;
161
+ /** The buttons an item's row shows now. */
162
+ private keysOf;
139
163
  /** The fields to choose from, as submenus of their parts with `allowHierarchicalFields`. */
140
164
  private fieldMenu;
141
- private newRow;
142
- private addRemove;
143
- private addCell;
165
+ /** An item's row, made once when the item comes: its place and its buttons follow the item from then on. */
166
+ private makeRow;
167
+ /** A row's button, made once: it writes again only when its item, or what every row shows, changes. */
168
+ private makeCell;
144
169
  private cellOf;
145
- /** The button that is the tree's Tab stop: the one focused last, else the first. */
170
+ /** An item's row, while the item is in the tree. */
171
+ private rowIn;
172
+ /** The button that is the tree's Tab stop: the one focused last, else the first; none while that one is still to be made. */
146
173
  private currentCell;
174
+ /** The cell whose button an event started on: the row it started in, then the button there. */
147
175
  private cellAt;
148
176
  private moveTo;
149
177
  private listen;
150
178
  private onMoveKey;
151
179
  private startEditor;
180
+ /** A control takes focus itself; any other editor gives it to the first place inside that takes it. */
152
181
  private focusEditor;
153
182
  /** The editor of a value: your own (the operation's, the field's, or from `onEditorPreparing`), else the kit's for the field's type. */
154
183
  private makeEditor;
@@ -1,4 +1,4 @@
1
- import { type Bind, type ComponentBase, 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 { Control } from '../../core/control';
4
4
  import type { IconSource } from '../../core/icon-source';
@@ -62,8 +62,8 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
62
62
  set acceptButton(value: Bind<Control | null>);
63
63
  get cancelButton(): Control | null;
64
64
  set cancelButton(value: Bind<Control | null>);
65
- get minimizeTarget(): HTMLElement | ComponentBase | null;
66
- set minimizeTarget(value: Bind<HTMLElement | ComponentBase | null>);
65
+ get minimizeTarget(): ComponentBase | null;
66
+ set minimizeTarget(value: Bind<ComponentBase | null>);
67
67
  get windowState(): FormWindowState;
68
68
  set windowState(value: Bind<FormWindowState>);
69
69
  get startPosition(): FormStartPosition;
@@ -94,8 +94,8 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
94
94
  get isModal(): boolean;
95
95
  /** Indicates whether it is the active (front) window of the page. Reactive. */
96
96
  get isActive(): boolean;
97
- /** The content area, for code that places elements itself. */
98
- get contentElement(): HTMLDivElement;
97
+ /** The content area as a component, for code that places components itself: they are added to its controls. */
98
+ get contentPart(): Component<HTMLDivElement>;
99
99
  /** Occurs before the form is first shown, and is where to populate it. */
100
100
  get onLoaded(): MotifEvent<FormEventArgs>;
101
101
  get onShown(): MotifEvent<FormEventArgs>;
@@ -109,16 +109,22 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
109
109
  * Shows the form as modeless, so the page and other windows stay usable. It is added to `host`
110
110
  * (a component or the application) unless it is already placed, and it is disposed with
111
111
  * `disposeRef`, or with the host, even while open. If it is already shown, it moves to the front.
112
+ * The browser shows it after this call returns: code that needs it on screen, such as moving focus into
113
+ * it, belongs in `onShown`, which occurs in the window's next frame.
112
114
  */
113
115
  show(host: FormHost, disposeRef?: ComponentBase): void;
114
116
  /**
115
117
  * Shows the form as modal, so nothing else on the page can be used until it closes. Resolves with
116
- * its result (`'ok'`, `'cancel'` or a custom word) when it closes.
118
+ * its result (`'ok'`, `'cancel'` or a custom word) when it closes. As with `show`, the browser shows
119
+ * it after this call returns, and `onShown` occurs in the window's next frame.
117
120
  */
118
121
  showDialog(host: FormHost, disposeRef?: ComponentBase): Promise<FormResult>;
119
122
  /**
120
123
  * Closes the form with `result`, or with its current `result`. A form that `show` or `showDialog` added to
121
124
  * its host is disposed, and one declared in JSX is hidden. Returns `false` if an `onClosing` listener kept it open.
125
+ * The browser closes it after this call returns; once it has (its `close` event, at the latest the window's next
126
+ * frame), focus goes back, `onClosed` occurs and `showDialog` resolves. Until then a modal form still blocks the
127
+ * page, so focus moved elsewhere after closing belongs in `onClosed`.
122
128
  */
123
129
  close(result?: FormResult): boolean;
124
130
  /** Brings the form to the front with focus on its last active control. */
@@ -131,7 +137,7 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
131
137
  center(): void;
132
138
  restoreFocus(): boolean;
133
139
  /** A window is a root: the controls around it do not disable it, and it handles Tab itself. */
134
- get parentControl(): Control | null;
140
+ get isWindow(): boolean;
135
141
  protected get cyclesTab(): boolean;
136
142
  onMounted(): void;
137
143
  protected applyProperty(name: string, value: unknown): void;
@@ -140,6 +146,8 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
140
146
  private listen;
141
147
  /** Children core put at the root (JSX children, `view()`, `controls.add`) go to their area. */
142
148
  private placeStrays;
149
+ /** Whether an event started on one of the title bar's buttons. */
150
+ private fromTool;
143
151
  /** Adds a control of the form's own to an area. */
144
152
  private placeIn;
145
153
  private unplace;
@@ -155,21 +163,28 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
155
163
  private renderToolLook;
156
164
  private renderFrame;
157
165
  private renderMode;
158
- private renderLength;
166
+ /** Writes the width or the height (`--_mx-w`, `--_mx-h`) and keeps it; '' leaves it to the content. */
167
+ private renderSize;
159
168
  /** Draws `windowState`; `opening`: the form is just being shown and focuses itself. */
160
169
  private renderState;
161
170
  private toggleMinimized;
162
171
  /** The chip a minimized form leaves in its `minimizeTarget`. */
163
172
  private dock;
173
+ /** Keeps `minimizeTarget`, the component a minimized form leaves its chip in. */
174
+ private takeTarget;
164
175
  private removeChip;
165
176
  private request;
166
177
  private openWhenReady;
167
178
  private openNow;
179
+ /** The dialog is open: its state is drawn, focus goes in and the app hears it. */
180
+ private afterOpen;
168
181
  /** Focus on open: `[autofocus]`, the first field, the accept button, the first control, the form itself. */
169
182
  private focusFirst;
170
- private tryFocus;
171
183
  private closeWith;
184
+ /** `closed`: the browser closed the dialog itself already. */
172
185
  private finishClose;
186
+ /** Runs what waited for the browser to close the dialog, once. */
187
+ private closeDone;
173
188
  /** Back to where focus was when the form opened, else to the window now on top. */
174
189
  private returnFocus;
175
190
  private valueChanged;
@@ -180,16 +195,22 @@ export declare class MxForm extends FocusContainer<HTMLDialogElement, FormProps>
180
195
  private keyDown;
181
196
  /** Escape: the cancel button, else close when `closeOnEscape`. Returns whether it did something. */
182
197
  private escape;
183
- private get rtl();
184
- /** Where the form is, from the start edge of the viewport. */
198
+ /** Where the form is, from the start edge of the viewport of its window, whose page is `page`. */
185
199
  private box;
200
+ /** Where the form is, with the page of its window. */
201
+ private readonly readPlace;
202
+ private readonly readBox;
203
+ /** Puts the form, `w` by `h`, at `x` and `y`, inside `page`. */
186
204
  private placeAt;
187
205
  private placeAtProps;
206
+ /** Placed by a move or by `left` and `top` (`data-placed`), else centered. */
207
+ private renderPlaced;
188
208
  private readonly keepInView;
189
209
  private barPointerDown;
210
+ /** A press on the handle of `edge`: the form follows the pointer from that side or corner. */
190
211
  private resizePointerDown;
191
212
  /** Follows the pointer from `e` until it is released, then keeps the new place and size. */
192
213
  private drag;
193
214
  /** After a move or a resize, the props say where the form is and how big. */
194
- private keepGeometry;
215
+ private readonly keepGeometry;
195
216
  }
@@ -40,7 +40,7 @@ export interface FormProps extends ControlProps {
40
40
  /** The button Escape clicks. */
41
41
  cancelButton?: Bind<Control | null>;
42
42
  /** Where a minimized form leaves a chip that restores it. Without it, the form collapses to its title bar. */
43
- minimizeTarget?: Bind<HTMLElement | ComponentBase | null>;
43
+ minimizeTarget?: Bind<ComponentBase | null>;
44
44
  /** The state of the window. The default is `'normal'`. */
45
45
  windowState?: Bind<FormWindowState>;
46
46
  /** Where the form opens. The default is `'center'`. */
@@ -16,6 +16,6 @@ export interface MessageBoxOptions {
16
16
  * otherwise the first button. In a danger box, focus starts on the safe button.
17
17
  */
18
18
  defaultButton?: FormResult;
19
- /** Where it is shown. The default is the application, otherwise a holder it creates on the page. */
19
+ /** Where it is shown. The default is the application, otherwise the page's body. */
20
20
  host?: FormHost;
21
21
  }
@@ -1,4 +1,4 @@
1
- import { type Bind, type ComponentBase, type IBaseProp } from '@motifx/core';
1
+ import { ComponentBase, type Bind, type IBaseProp } from '@motifx/core';
2
2
  import { Control } from '../../core/control';
3
3
  import type { FieldLabelMode } from '../../parts/field/field-label-mode';
4
4
  import { ValidationGroup } from '../../parts/validation/ValidationGroup';
@@ -61,16 +61,37 @@ export declare class FormLayout<T extends object = Record<string, unknown>> exte
61
61
  * cleared, and comes back once its item is shown. A field on a tab not chosen is still checked.
62
62
  */
63
63
  private restHidden;
64
+ /** Whether a field sits in an item that is not shown: one of this form's, or of a form around it. */
65
+ private isHidden;
66
+ /** Whether `part` is in one of this form's items that are not shown. */
67
+ private hides;
64
68
  private get formParts();
65
- /** The items and every item inside them (groups, tabs), in order. */
66
- private flatten;
67
69
  private clear;
68
- /** Selects the tab an element is on (each tab up from it, for tabs in tabs). */
70
+ /** Selects the tab a field is on (each tab up from it, for tabs in tabs). */
69
71
  private reveal;
70
- private render;
72
+ /**
73
+ * Lays the items of `read` out in `host`, one cell each, made when its item comes and taken out when it goes. An
74
+ * item that stays (the same field, or the same kind in the same place) keeps its cell, and the cell shows the new
75
+ * item; an item made another way (another editor or template function, a group given a caption) is made again.
76
+ */
77
+ private cells;
78
+ /** What an item is made as. */
79
+ private kindOf;
80
+ /**
81
+ * Whether an item is made the same way: by the same template or editor function (another one makes its part
82
+ * again), and a button with the same look (its handlers are its item's, whichever is given now).
83
+ */
84
+ private sameMake;
85
+ /** A new item for a cell that stays: what reads the item follows it, and its editor takes the item's props. */
86
+ private restate;
71
87
  private place;
88
+ /** The columns of a group or a tab, as its item gives them now. */
89
+ private gridColumns;
90
+ /** A template's component, made once: its `context.data` is the form's data now, followed where it is read. */
91
+ private template;
72
92
  /** Tabs of items: every panel is built at once, so every field is checked whichever tab shows. */
73
93
  private placeTabs;
94
+ /** A button, made once: its handlers and getters are its item's, whichever is given now. */
74
95
  private button;
75
96
  private editor;
76
97
  /** An editor that fits the value: text, number, check box or date. */
@@ -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 {};