@jimka/typescript-ui 0.1.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/THIRD-PARTY-NOTICES.md +7 -3
- package/dist/lib/{AbstractBooleanInput-C3rj7sje.js → AbstractBooleanInput-C3O4kv7_.js} +2 -2
- package/dist/lib/{AbstractBooleanInput-C3rj7sje.js.map → AbstractBooleanInput-C3O4kv7_.js.map} +1 -1
- package/dist/lib/{AbstractInput-CfjW_HM2.js → AbstractInput-DFWniHqq.js} +2 -2
- package/dist/lib/{AbstractInput-CfjW_HM2.js.map → AbstractInput-DFWniHqq.js.map} +1 -1
- package/dist/lib/AnchorConstraints-CSUcj8Wx.js +2 -0
- package/dist/lib/AnchorConstraints-CSUcj8Wx.js.map +1 -0
- package/dist/lib/AnimatedDropdown-e9urCXK1.js +2 -0
- package/dist/lib/AnimatedDropdown-e9urCXK1.js.map +1 -0
- package/dist/lib/Border-Dq6dXkmS.js +2 -0
- package/dist/lib/Border-Dq6dXkmS.js.map +1 -0
- package/dist/lib/Button-B36rBMKC.js +2 -0
- package/dist/lib/Button-B36rBMKC.js.map +1 -0
- package/dist/lib/{Card-AKIUAWYS.js → Card-P8iUH2-C.js} +2 -2
- package/dist/lib/{Card-AKIUAWYS.js.map → Card-P8iUH2-C.js.map} +1 -1
- package/dist/lib/ComboBox-BjAhXXkY.js +2 -0
- package/dist/lib/ComboBox-BjAhXXkY.js.map +1 -0
- package/dist/lib/Component-CHTzJxEf.js +2 -0
- package/dist/lib/Component-CHTzJxEf.js.map +1 -0
- package/dist/lib/Container-xUbHk6l_.js +2 -0
- package/dist/lib/{Container-3KsvsJ6S.js.map → Container-xUbHk6l_.js.map} +1 -1
- package/dist/lib/DOM-BeR95tE8.js +2 -0
- package/dist/lib/DOM-BeR95tE8.js.map +1 -0
- package/dist/lib/{DragManager-c6M_mE3e.js → DragManager-T5Oljd0F.js} +2 -2
- package/dist/lib/{DragManager-tPMnbjeO.js.map → DragManager-T5Oljd0F.js.map} +1 -1
- package/dist/lib/FieldDecorator-BaTGfKiW.js +2 -0
- package/dist/lib/{FieldDecorator-Bl0h9UEF.js.map → FieldDecorator-BaTGfKiW.js.map} +1 -1
- package/dist/lib/{Fit-CFIr4P9R.js → Fit-E-EIZv1k.js} +2 -2
- package/dist/lib/{Fit-CUS1JXy3.js.map → Fit-E-EIZv1k.js.map} +1 -1
- package/dist/lib/Glyph-CnNslL95.js +2 -0
- package/dist/lib/Glyph-CnNslL95.js.map +1 -0
- package/dist/lib/{Grid-Czux--Mr.js → Grid-BXS2T8MT.js} +2 -2
- package/dist/lib/{Grid-D8luwRPI.js.map → Grid-BXS2T8MT.js.map} +1 -1
- package/dist/lib/GridConstraints-D_kbd-h2.js +2 -0
- package/dist/lib/GridConstraints-D_kbd-h2.js.map +1 -0
- package/dist/lib/HBox-Dm3xgsDE.js +2 -0
- package/dist/lib/{HBox-BWMf9h6r.js.map → HBox-Dm3xgsDE.js.map} +1 -1
- package/dist/lib/{Header-CQjomjo0.js → Header-CqFc2OUx.js} +2 -2
- package/dist/lib/{Header-CQjomjo0.js.map → Header-CqFc2OUx.js.map} +1 -1
- package/dist/lib/{IconText-BXJK0MOq.js → IconText-CTM2r0Tv.js} +2 -2
- package/dist/lib/{IconText-BXJK0MOq.js.map → IconText-CTM2r0Tv.js.map} +1 -1
- package/dist/lib/LayoutConstraints-DkctJZXB.js +2 -0
- package/dist/lib/LayoutConstraints-DkctJZXB.js.map +1 -0
- package/dist/lib/LayoutSerialization-D1OHmxSB.js +2 -0
- package/dist/lib/LayoutSerialization-D1OHmxSB.js.map +1 -0
- package/dist/lib/LayoutSizes-CvMmMgHJ.js +2 -0
- package/dist/lib/LayoutSizes-CvMmMgHJ.js.map +1 -0
- package/dist/lib/List-DHeOPAK2.js +2 -0
- package/dist/lib/List-DHeOPAK2.js.map +1 -0
- package/dist/lib/MemoryStore-DT6iWWco.js +2 -0
- package/dist/lib/MemoryStore-DT6iWWco.js.map +1 -0
- package/dist/lib/Menu-B6ippw-p.js +2 -0
- package/dist/lib/Menu-B6ippw-p.js.map +1 -0
- package/dist/lib/{MenuButton-D15cSbMf.js → MenuButton-Bjm1OyB-.js} +2 -2
- package/dist/lib/{MenuButton-D15cSbMf.js.map → MenuButton-Bjm1OyB-.js.map} +1 -1
- package/dist/lib/Panel-D9lTLGqP.js +2 -0
- package/dist/lib/Panel-D9lTLGqP.js.map +1 -0
- package/dist/lib/Position-DRSlWn4Z.js +2 -0
- package/dist/lib/Position-DRSlWn4Z.js.map +1 -0
- package/dist/lib/ProgressSpinner-glv-29eK.js +2 -0
- package/dist/lib/ProgressSpinner-glv-29eK.js.map +1 -0
- package/dist/lib/RadioButton-R4S3c9WD.js +2 -0
- package/dist/lib/RadioButton-R4S3c9WD.js.map +1 -0
- package/dist/lib/{RovingTabIndex-CFIzIjjU.js → RovingTabIndex-Dgt01LOE.js} +2 -2
- package/dist/lib/{RovingTabIndex-D-zOuptw.js.map → RovingTabIndex-Dgt01LOE.js.map} +1 -1
- package/dist/lib/Scrollbar-CiVV3axj.js +2 -0
- package/dist/lib/Scrollbar-CiVV3axj.js.map +1 -0
- package/dist/lib/Slider-_JVvuQ8M.js +2 -0
- package/dist/lib/Slider-_JVvuQ8M.js.map +1 -0
- package/dist/lib/{Spacer-BVQncB5B.js → Spacer-B57i2-_G.js} +2 -2
- package/dist/lib/{Spacer-BVQncB5B.js.map → Spacer-B57i2-_G.js.map} +1 -1
- package/dist/lib/{TabButton-DqYDfN7P.js → TabButton-DEypdlZf.js} +2 -2
- package/dist/lib/{TabButton-DqYDfN7P.js.map → TabButton-DEypdlZf.js.map} +1 -1
- package/dist/lib/Text-Bni4icFY.js +2 -0
- package/dist/lib/Text-Bni4icFY.js.map +1 -0
- package/dist/lib/Tooltip-BUy6uFKN.js +3 -0
- package/dist/lib/Tooltip-BUy6uFKN.js.map +1 -0
- package/dist/lib/VBox-Dr7Ge9M6.js +2 -0
- package/dist/lib/VBox-Dr7Ge9M6.js.map +1 -0
- package/dist/lib/{VirtualScroller-BKMvTisA.js → VirtualScroller-BPy6KmSX.js} +2 -2
- package/dist/lib/{VirtualScroller-BKMvTisA.js.map → VirtualScroller-BPy6KmSX.js.map} +1 -1
- package/dist/lib/component/button.es.js +1 -1
- package/dist/lib/component/button.es.js.map +1 -1
- package/dist/lib/component/chart.es.js +1 -1
- package/dist/lib/component/chart.es.js.map +1 -1
- package/dist/lib/component/container.es.js +1 -1
- package/dist/lib/component/container.es.js.map +1 -1
- package/dist/lib/component/diagram.es.js +1 -1
- package/dist/lib/component/diagram.es.js.map +1 -1
- package/dist/lib/component/display.es.js +1 -1
- package/dist/lib/component/display.es.js.map +1 -1
- package/dist/lib/component/editor.es.js +3 -3
- package/dist/lib/component/editor.es.js.map +1 -1
- package/dist/lib/component/input.es.js +1 -1
- package/dist/lib/component/input.es.js.map +1 -1
- package/dist/lib/component/list.es.js +1 -1
- package/dist/lib/component/menubar.es.js +1 -1
- package/dist/lib/component/menubar.es.js.map +1 -1
- package/dist/lib/component/table.es.js +2 -2
- package/dist/lib/component/table.es.js.map +1 -1
- package/dist/lib/component/tree.es.js +1 -1
- package/dist/lib/component/tree.es.js.map +1 -1
- package/dist/lib/core.es.js +1 -1
- package/dist/lib/core.es.js.map +1 -1
- package/dist/lib/data.es.js +1 -1
- package/dist/lib/data.es.js.map +1 -1
- package/dist/lib/glyphs/solid/index.es.js +1 -1
- package/dist/lib/layout.es.js +1 -1
- package/dist/lib/layout.es.js.map +1 -1
- package/dist/lib/overlay.es.js +1 -1
- package/dist/lib/overlay.es.js.map +1 -1
- package/dist/lib/primitive.es.js +1 -1
- package/dist/lib/router.es.js +1 -1
- package/dist/lib/router.es.js.map +1 -1
- package/dist/lib/{VirtualRowView-C18j90n5.js → selectionsEqual-2PJrcimg.js} +2 -2
- package/dist/lib/{VirtualRowView-C18j90n5.js.map → selectionsEqual-2PJrcimg.js.map} +1 -1
- package/dist/lib/types/component/button/Button.d.ts +4 -3
- package/dist/lib/types/component/chart/AbstractChart.d.ts +1 -1
- package/dist/lib/types/component/chart/ChartLegend.d.ts +1 -1
- package/dist/lib/types/component/container/DialogBackdrop.d.ts +2 -1
- package/dist/lib/types/component/container/MenuItem.d.ts +1 -1
- package/dist/lib/types/component/container/ScrollStrip.d.ts +1 -0
- package/dist/lib/types/component/container/SplitGutter.d.ts +3 -2
- package/dist/lib/types/component/container/TabBar.d.ts +1 -2
- package/dist/lib/types/component/container/TabPanel.d.ts +6 -3
- package/dist/lib/types/component/container/WindowBorder.d.ts +2 -1
- package/dist/lib/types/component/container/WindowHeader.d.ts +2 -1
- package/dist/lib/types/component/diagram/DiagramEdgeLayer.d.ts +14 -1
- package/dist/lib/types/component/diagram/DiagramModel.d.ts +1 -0
- package/dist/lib/types/component/diagram/DiagramNode.d.ts +4 -0
- package/dist/lib/types/component/diagram/DiagramView.d.ts +76 -5
- package/dist/lib/types/component/diagram/ElkLayoutEngine.d.ts +14 -1
- package/dist/lib/types/component/diagram/index.d.ts +2 -2
- package/dist/lib/types/component/display/Glyph.d.ts +2 -1
- package/dist/lib/types/component/display/Markdown.d.ts +1 -1
- package/dist/lib/types/component/display/PaginationBar.d.ts +1 -1
- package/dist/lib/types/component/display/SpinnerWrap.d.ts +2 -0
- package/dist/lib/types/component/display/Video.d.ts +1 -1
- package/dist/lib/types/component/display/VideoPlayer.d.ts +1 -1
- package/dist/lib/types/component/editor/CodeEditor.d.ts +5 -3
- package/dist/lib/types/component/editor/MarkdownEditor.d.ts +1 -1
- package/dist/lib/types/component/input/Checkbox.d.ts +2 -1
- package/dist/lib/types/component/input/Link.d.ts +1 -1
- package/dist/lib/types/component/input/RadioButton.d.ts +2 -1
- package/dist/lib/types/component/input/Slider.d.ts +2 -1
- package/dist/lib/types/component/input/Text.d.ts +4 -4
- package/dist/lib/types/component/input/TextInput.d.ts +3 -2
- package/dist/lib/types/component/list/AbstractSelectableList.d.ts +2 -1
- package/dist/lib/types/component/menubar/MenuBarButton.d.ts +1 -1
- package/dist/lib/types/component/shared/selectionsEqual.d.ts +1 -0
- package/dist/lib/types/component/table/Column.d.ts +2 -0
- package/dist/lib/types/component/table/ColumnConfig.d.ts +1 -0
- package/dist/lib/types/component/table/Header.d.ts +1 -0
- package/dist/lib/types/component/table/Table.d.ts +20 -0
- package/dist/lib/types/component/table/cell/Header.d.ts +1 -0
- package/dist/lib/types/component/table/index.d.ts +1 -1
- package/dist/lib/types/component/tree/Tree.d.ts +1 -0
- package/dist/lib/types/core/AnimatedDropdown.d.ts +6 -2
- package/dist/lib/types/core/Animation.d.ts +9 -6
- package/dist/lib/types/core/Aria.d.ts +0 -2
- package/dist/lib/types/core/Body.d.ts +1 -0
- package/dist/lib/types/core/ClassStyleRules.d.ts +17 -0
- package/dist/lib/types/core/Component.d.ts +26 -13
- package/dist/lib/types/core/ComponentDefaults.d.ts +1 -0
- package/dist/lib/types/core/DOM.d.ts +19 -2
- package/dist/lib/types/core/ElementAttributes.d.ts +15 -0
- package/dist/lib/types/core/Event.d.ts +12 -6
- package/dist/lib/types/core/PendingTransitions.d.ts +4 -0
- package/dist/lib/types/core/StyleTarget.d.ts +1 -0
- package/dist/lib/types/core/Util.d.ts +2 -0
- package/dist/lib/types/core/index.d.ts +3 -2
- package/dist/lib/types/layout/Accordion.d.ts +2 -0
- package/dist/lib/types/layout/Border.d.ts +2 -0
- package/dist/lib/types/layout/CollapseSupport.d.ts +5 -1
- package/dist/lib/types/layout/LayoutConstraints.d.ts +1 -0
- package/dist/lib/types/layout/LayoutManager.d.ts +2 -0
- package/dist/lib/types/layout/Split.d.ts +1 -0
- package/dist/lib/types/layout/Tab.d.ts +13 -3
- package/dist/lib/types/layout/Table.d.ts +1 -0
- package/dist/lib/types/overlay/AbstractWindow.d.ts +10 -2
- package/dist/lib/types/overlay/Dialog.d.ts +6 -0
- package/dist/lib/types/overlay/Dock.d.ts +12 -2
- package/dist/lib/types/overlay/Drawer.d.ts +5 -0
- package/dist/lib/types/overlay/Menu.d.ts +3 -1
- package/dist/lib/types/overlay/Notification.d.ts +3 -0
- package/dist/lib/types/overlay/Popover.d.ts +3 -1
- package/dist/lib/types/overlay/Rail.d.ts +7 -0
- package/dist/lib/types/overlay/Tooltip.d.ts +3 -0
- package/dist/lib/types/overlay/index.d.ts +1 -1
- package/dist/lib/types/router/RoutePattern.d.ts +7 -0
- package/dist/lib/types/router/Router.d.ts +13 -2
- package/dist/lib/types/router/index.d.ts +1 -1
- package/dist/lib/validation.es.js +1 -1
- package/llms.txt +2 -2
- package/package.json +4 -8
- package/dist/lib/AbstractBooleanInput-C6CidMMX.js +0 -2
- package/dist/lib/AbstractBooleanInput-C6CidMMX.js.map +0 -1
- package/dist/lib/AbstractInput-DD-NpicS.js +0 -2
- package/dist/lib/AbstractInput-DD-NpicS.js.map +0 -1
- package/dist/lib/AnimatedDropdown-BFz-DO7R.js +0 -2
- package/dist/lib/AnimatedDropdown-BFz-DO7R.js.map +0 -1
- package/dist/lib/AnimatedDropdown-BbGCs70E.js +0 -2
- package/dist/lib/AnimatedDropdown-BbGCs70E.js.map +0 -1
- package/dist/lib/Border-5Ki2DCWz.js +0 -2
- package/dist/lib/Border-5Ki2DCWz.js.map +0 -1
- package/dist/lib/Border-oZC_SDy8.js +0 -2
- package/dist/lib/Border-oZC_SDy8.js.map +0 -1
- package/dist/lib/BoxLayout-8ryMD4j5.js +0 -2
- package/dist/lib/BoxLayout-8ryMD4j5.js.map +0 -1
- package/dist/lib/BoxLayout-DgZukB5_.js +0 -2
- package/dist/lib/BoxLayout-DgZukB5_.js.map +0 -1
- package/dist/lib/Button-Cdq2ySPL.js +0 -2
- package/dist/lib/Button-Cdq2ySPL.js.map +0 -1
- package/dist/lib/Button-DEUtBqK4.js +0 -2
- package/dist/lib/Button-DEUtBqK4.js.map +0 -1
- package/dist/lib/Card-UF0fq8cQ.js +0 -2
- package/dist/lib/Card-UF0fq8cQ.js.map +0 -1
- package/dist/lib/ComboBox-GOBOAJ1N.js +0 -2
- package/dist/lib/ComboBox-GOBOAJ1N.js.map +0 -1
- package/dist/lib/ComboBox-e_YVsWBr.js +0 -2
- package/dist/lib/ComboBox-e_YVsWBr.js.map +0 -1
- package/dist/lib/Component-BR2f0Itb.js +0 -2
- package/dist/lib/Component-BR2f0Itb.js.map +0 -1
- package/dist/lib/Component-Bs6TvaGZ.js +0 -2
- package/dist/lib/Component-Bs6TvaGZ.js.map +0 -1
- package/dist/lib/Container-3KsvsJ6S.js +0 -2
- package/dist/lib/Container-CzyZeMyZ.js +0 -2
- package/dist/lib/Container-CzyZeMyZ.js.map +0 -1
- package/dist/lib/DOM-DeF_dWe2.js +0 -2
- package/dist/lib/DOM-DeF_dWe2.js.map +0 -1
- package/dist/lib/DragManager-c6M_mE3e.js.map +0 -1
- package/dist/lib/DragManager-tPMnbjeO.js +0 -2
- package/dist/lib/FieldDecorator-Bl0h9UEF.js +0 -2
- package/dist/lib/FieldDecorator-E7WzutjO.js +0 -2
- package/dist/lib/FieldDecorator-E7WzutjO.js.map +0 -1
- package/dist/lib/Fit-CFIr4P9R.js.map +0 -1
- package/dist/lib/Fit-CUS1JXy3.js +0 -2
- package/dist/lib/Glyph-6Ki3A1_a.js +0 -2
- package/dist/lib/Glyph-6Ki3A1_a.js.map +0 -1
- package/dist/lib/Glyph-WUqTF_Z9.js +0 -2
- package/dist/lib/Glyph-WUqTF_Z9.js.map +0 -1
- package/dist/lib/Grid-Czux--Mr.js.map +0 -1
- package/dist/lib/Grid-D8luwRPI.js +0 -2
- package/dist/lib/GridConstraints-CzC0w4i-.js +0 -2
- package/dist/lib/GridConstraints-CzC0w4i-.js.map +0 -1
- package/dist/lib/GridConstraints-Q3wvuovN.js +0 -2
- package/dist/lib/GridConstraints-Q3wvuovN.js.map +0 -1
- package/dist/lib/HBox-BWMf9h6r.js +0 -2
- package/dist/lib/HBox-Q8y1PHlk.js +0 -2
- package/dist/lib/HBox-Q8y1PHlk.js.map +0 -1
- package/dist/lib/Header-zPdvC2AX.js +0 -2
- package/dist/lib/Header-zPdvC2AX.js.map +0 -1
- package/dist/lib/IconText-BvGfu7eq.js +0 -2
- package/dist/lib/IconText-BvGfu7eq.js.map +0 -1
- package/dist/lib/LayoutConstraints-CHI2lhPd.js +0 -2
- package/dist/lib/LayoutConstraints-CHI2lhPd.js.map +0 -1
- package/dist/lib/LayoutSerialization-CWU0iEuV.js +0 -2
- package/dist/lib/LayoutSerialization-CWU0iEuV.js.map +0 -1
- package/dist/lib/LayoutSerialization-C_zcwaN3.js +0 -2
- package/dist/lib/LayoutSerialization-C_zcwaN3.js.map +0 -1
- package/dist/lib/LayoutSizes-BW4wyGDI.js +0 -2
- package/dist/lib/LayoutSizes-BW4wyGDI.js.map +0 -1
- package/dist/lib/LayoutSizes-XdhpAOmc.js +0 -2
- package/dist/lib/LayoutSizes-XdhpAOmc.js.map +0 -1
- package/dist/lib/List-BgxnLWnl.js +0 -2
- package/dist/lib/List-BgxnLWnl.js.map +0 -1
- package/dist/lib/List-D-GhoVgB.js +0 -2
- package/dist/lib/List-D-GhoVgB.js.map +0 -1
- package/dist/lib/Menu-BdnwRY0M.js +0 -2
- package/dist/lib/Menu-BdnwRY0M.js.map +0 -1
- package/dist/lib/Menu-Wz4MK6sA.js +0 -2
- package/dist/lib/Menu-Wz4MK6sA.js.map +0 -1
- package/dist/lib/MenuButton-JQQaKThJ.js +0 -2
- package/dist/lib/MenuButton-JQQaKThJ.js.map +0 -1
- package/dist/lib/Panel-DApa7vA6.js +0 -2
- package/dist/lib/Panel-DApa7vA6.js.map +0 -1
- package/dist/lib/Panel-DIsdaqc2.js +0 -2
- package/dist/lib/Panel-DIsdaqc2.js.map +0 -1
- package/dist/lib/Position-B-WfZYAJ.js +0 -2
- package/dist/lib/Position-B-WfZYAJ.js.map +0 -1
- package/dist/lib/Position-DJKB0N3l.js +0 -2
- package/dist/lib/Position-DJKB0N3l.js.map +0 -1
- package/dist/lib/ProgressSpinner-CNYcsBhw.js +0 -2
- package/dist/lib/ProgressSpinner-CNYcsBhw.js.map +0 -1
- package/dist/lib/ProgressSpinner-Dzaka7_c.js +0 -2
- package/dist/lib/ProgressSpinner-Dzaka7_c.js.map +0 -1
- package/dist/lib/RadioButton-CepkneSA.js +0 -2
- package/dist/lib/RadioButton-CepkneSA.js.map +0 -1
- package/dist/lib/RadioButton-eI3-vXn3.js +0 -2
- package/dist/lib/RadioButton-eI3-vXn3.js.map +0 -1
- package/dist/lib/RovingTabIndex-CFIzIjjU.js.map +0 -1
- package/dist/lib/RovingTabIndex-D-zOuptw.js +0 -2
- package/dist/lib/Scrollbar-DQdCdj94.js +0 -2
- package/dist/lib/Scrollbar-DQdCdj94.js.map +0 -1
- package/dist/lib/Scrollbar-DchfiFKC.js +0 -2
- package/dist/lib/Scrollbar-DchfiFKC.js.map +0 -1
- package/dist/lib/Slider-DvDdVvRm.js +0 -2
- package/dist/lib/Slider-DvDdVvRm.js.map +0 -1
- package/dist/lib/Slider-xRxNSjFN.js +0 -2
- package/dist/lib/Slider-xRxNSjFN.js.map +0 -1
- package/dist/lib/Spacer-BqiPiCqz.js +0 -2
- package/dist/lib/Spacer-BqiPiCqz.js.map +0 -1
- package/dist/lib/TabButton-pZKFYg7b.js +0 -2
- package/dist/lib/TabButton-pZKFYg7b.js.map +0 -1
- package/dist/lib/Text-D1RrBY52.js +0 -2
- package/dist/lib/Text-D1RrBY52.js.map +0 -1
- package/dist/lib/Text-DJoUHukb.js +0 -2
- package/dist/lib/Text-DJoUHukb.js.map +0 -1
- package/dist/lib/Tooltip-4lU_tf6r.js +0 -3
- package/dist/lib/Tooltip-4lU_tf6r.js.map +0 -1
- package/dist/lib/Tooltip-5BR7yYEX.js +0 -3
- package/dist/lib/Tooltip-5BR7yYEX.js.map +0 -1
- package/dist/lib/VBox-CdV9VGxR.js +0 -2
- package/dist/lib/VBox-CdV9VGxR.js.map +0 -1
- package/dist/lib/VBox-D5B9ecw0.js +0 -2
- package/dist/lib/VBox-D5B9ecw0.js.map +0 -1
- package/dist/lib/VirtualRowView-Con9SWiU.js +0 -2
- package/dist/lib/VirtualRowView-Con9SWiU.js.map +0 -1
- package/dist/lib/VirtualScroller-BPDmO1ir.js +0 -2
- package/dist/lib/VirtualScroller-BPDmO1ir.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Component } from "../core/Component.js";
|
|
2
|
-
import type { Handle } from "../core/DOM.js";
|
|
3
2
|
export type AriaRole = 'grid' | 'treegrid' | 'rowgroup' | 'row' | 'gridcell' | 'columnheader' | 'tablist' | 'tab' | 'tabpanel' | 'tree' | 'treeitem' | 'group' | 'button' | 'link' | 'region' | 'combobox' | 'listbox' | 'option' | 'menubar' | 'menuitem' | 'menu' | 'toolbar' | 'separator' | 'spinbutton' | 'progressbar' | 'status' | 'alert' | 'dialog' | 'checkbox' | 'radio' | 'slider' | 'switch';
|
|
4
3
|
export type AriaSort = 'none' | 'ascending' | 'descending';
|
|
5
4
|
export type AriaLive = 'off' | 'polite' | 'assertive';
|
|
@@ -70,6 +69,5 @@ export declare class Aria {
|
|
|
70
69
|
clearLabel(): this;
|
|
71
70
|
setOrientation(value: AriaOrientation): this;
|
|
72
71
|
getOrientation(): AriaOrientation | null;
|
|
73
|
-
applyToElement(element: Handle): void;
|
|
74
72
|
private setAttribute;
|
|
75
73
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const COMPONENT_CLASS = "ts-ui-component";
|
|
2
|
+
interface ClassStyleDefaults {
|
|
3
|
+
visible?: boolean | null;
|
|
4
|
+
displayed?: boolean;
|
|
5
|
+
minSize?: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
} | null;
|
|
9
|
+
maxSize?: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
} | null;
|
|
13
|
+
overflow?: string | null;
|
|
14
|
+
}
|
|
15
|
+
type ClassStyleBag = Readonly<Record<string, string>>;
|
|
16
|
+
export declare function ensureClassStyleRule(ctor: Function, defaults: ClassStyleDefaults): ClassStyleBag | null;
|
|
17
|
+
export {};
|
|
@@ -7,6 +7,7 @@ import { BaseObject } from "../core/BaseObject.js";
|
|
|
7
7
|
import { LayoutConstraints } from "../layout/LayoutConstraints.js";
|
|
8
8
|
import { Position } from "../primitive/Position.js";
|
|
9
9
|
import { Aria } from "../core/Aria.js";
|
|
10
|
+
import { Event } from "../core/Event.js";
|
|
10
11
|
import { StyleRule } from "../core/StyleTarget.js";
|
|
11
12
|
export interface Comparator<V, U> {
|
|
12
13
|
(a: V, b: U): number;
|
|
@@ -20,8 +21,9 @@ export interface PerimeterSize {
|
|
|
20
21
|
bottom: number;
|
|
21
22
|
left: number;
|
|
22
23
|
}
|
|
24
|
+
export type ComponentFactory = () => Component | Promise<Component>;
|
|
23
25
|
export interface ConstrainedComponent {
|
|
24
|
-
component: Component;
|
|
26
|
+
component: Component | ComponentFactory;
|
|
25
27
|
constraints?: LayoutConstraints;
|
|
26
28
|
}
|
|
27
29
|
export interface ComponentStyleRuleSpec {
|
|
@@ -61,7 +63,7 @@ export interface ComponentOptions {
|
|
|
61
63
|
id?: string;
|
|
62
64
|
name?: string | null;
|
|
63
65
|
attributes?: Record<string, string>;
|
|
64
|
-
components?: Array<Component | ConstrainedComponent>;
|
|
66
|
+
components?: Array<Component | ComponentFactory | ConstrainedComponent>;
|
|
65
67
|
styleRules?: ComponentStyleRuleSpec[];
|
|
66
68
|
}
|
|
67
69
|
declare class Component<TOptions extends ComponentOptions = ComponentOptions> extends BaseObject {
|
|
@@ -72,7 +74,7 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
72
74
|
private readonly _ownedSelectors;
|
|
73
75
|
private readonly _themeCleanups;
|
|
74
76
|
private _tag;
|
|
75
|
-
private
|
|
77
|
+
private _elementAttributes;
|
|
76
78
|
private _boxSizing;
|
|
77
79
|
private _left;
|
|
78
80
|
private _top;
|
|
@@ -105,6 +107,7 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
105
107
|
private _borderWidths;
|
|
106
108
|
private _borderThemeSubscribed;
|
|
107
109
|
private _autoCommitStyle;
|
|
110
|
+
private _autoCommitAttributes;
|
|
108
111
|
private _layoutPaused;
|
|
109
112
|
private _aria;
|
|
110
113
|
private _whiteSpace;
|
|
@@ -112,6 +115,7 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
112
115
|
private _verticalAlign;
|
|
113
116
|
private _styleRule;
|
|
114
117
|
private _inlineStyle;
|
|
118
|
+
private _inheritedStyleBag;
|
|
115
119
|
private _clipFrame;
|
|
116
120
|
private _clipFrameStyle;
|
|
117
121
|
private _contentFrame;
|
|
@@ -119,12 +123,14 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
119
123
|
private _deferredStyleRules;
|
|
120
124
|
private _parent;
|
|
121
125
|
protected _options: TOptions;
|
|
122
|
-
protected _defaultOptions: TOptions
|
|
126
|
+
protected _defaultOptions: Readonly<TOptions>;
|
|
127
|
+
private _defaultLayoutManager;
|
|
123
128
|
constructor(options?: TOptions, subclassDefaults?: Partial<TOptions>);
|
|
124
129
|
protected applyOptions(options: TOptions): this;
|
|
125
130
|
protected applyChromeOptions(options: TOptions): void;
|
|
126
131
|
protected applyListeners(listeners: Record<string, ((...args: any[]) => void) | undefined> | undefined): void;
|
|
127
132
|
protected subscribeTheme(listener: () => void): void;
|
|
133
|
+
dispose(): void;
|
|
128
134
|
protected destructor(): void;
|
|
129
135
|
protected trackHandle(handle: Handle): Handle;
|
|
130
136
|
private trackSelector;
|
|
@@ -154,6 +160,9 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
154
160
|
getAutoCommitStyle(): boolean;
|
|
155
161
|
setAutoCommitStyle(value: boolean): this;
|
|
156
162
|
protected commitElementStyle(): this;
|
|
163
|
+
getAutoCommitAttributes(): boolean;
|
|
164
|
+
setAutoCommitAttributes(value: boolean): this;
|
|
165
|
+
protected commitElementAttributes(): this;
|
|
157
166
|
protected setElementCSSRules(values: Style): this;
|
|
158
167
|
protected setElementCSSRule(key: string, value: Object | null): this;
|
|
159
168
|
protected commitCSSRule(): this;
|
|
@@ -231,14 +240,15 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
231
240
|
getPreferredSizeConstraint(): Size | null;
|
|
232
241
|
getPreferredSize(): Size | null;
|
|
233
242
|
private clampPreferredToConstraints;
|
|
234
|
-
setPreferredSize(
|
|
243
|
+
setPreferredSize(size: Size): this;
|
|
244
|
+
clearPreferredSize(): this;
|
|
235
245
|
getMinSizeConstraint(): Size | null;
|
|
236
246
|
getMaxSizeConstraint(): Size | null;
|
|
237
247
|
private mergeConstraintSize;
|
|
238
248
|
getMinSize(): Size | null;
|
|
239
|
-
setMinSize(
|
|
249
|
+
setMinSize(size: Size): this;
|
|
240
250
|
getMaxSize(): Size | null;
|
|
241
|
-
setMaxSize(
|
|
251
|
+
setMaxSize(size: Size): this;
|
|
242
252
|
getInnerSize(): Size | null;
|
|
243
253
|
getBorderSize(): PerimeterSize;
|
|
244
254
|
private estimateBorderSideWidth;
|
|
@@ -321,6 +331,7 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
321
331
|
clearUserSelect(): this;
|
|
322
332
|
focus(preventScroll?: boolean): this;
|
|
323
333
|
unfocus(): this;
|
|
334
|
+
private writeRuleDeclaration;
|
|
324
335
|
applyStyle(element: Handle): this;
|
|
325
336
|
private applyBoxAndVisibilityStyles;
|
|
326
337
|
private replayGeometryStyles;
|
|
@@ -328,13 +339,14 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
328
339
|
private applyOverflowStyles;
|
|
329
340
|
private applyChromeStyles;
|
|
330
341
|
private applyMiscInlineStyles;
|
|
342
|
+
protected materialiseStyleRule(): void;
|
|
331
343
|
private materialiseDeferredRules;
|
|
332
344
|
sync(): void;
|
|
333
345
|
getParentComponent(): Component | null;
|
|
334
|
-
addComponents(...specs: Array<Component | ConstrainedComponent | Array<Component | ConstrainedComponent>>): this;
|
|
346
|
+
addComponents(...specs: Array<Component | ComponentFactory | ConstrainedComponent | Array<Component | ComponentFactory | ConstrainedComponent>>): this;
|
|
335
347
|
private wireChild;
|
|
336
348
|
private unwireChild;
|
|
337
|
-
addComponent(component: Component, constraints?: LayoutConstraints): this;
|
|
349
|
+
addComponent(component: Component | ComponentFactory, constraints?: LayoutConstraints): this;
|
|
338
350
|
insertComponent(component: Component, index: number, constraints?: LayoutConstraints): this;
|
|
339
351
|
moveComponent(child: Component, index?: number, constraints?: LayoutConstraints): this;
|
|
340
352
|
removeComponent(component: Component): LayoutConstraints | undefined;
|
|
@@ -359,11 +371,12 @@ declare class Component<TOptions extends ComponentOptions = ComponentOptions> ex
|
|
|
359
371
|
static afterNextLayout(callback: () => void): void;
|
|
360
372
|
flushLayout(): this;
|
|
361
373
|
static flushEffectiveVisibility(): void;
|
|
362
|
-
addMouseDownListener(listener:
|
|
363
|
-
removeMouseDownListener(listener:
|
|
364
|
-
addMouseDownSubtreeListener(listener:
|
|
365
|
-
removeMouseDownSubtreeListener(listener:
|
|
374
|
+
addMouseDownListener(listener: Event.Listener): this;
|
|
375
|
+
removeMouseDownListener(listener: Event.Listener): this;
|
|
376
|
+
addMouseDownSubtreeListener(listener: Event.Listener): this;
|
|
377
|
+
removeMouseDownSubtreeListener(listener: Event.Listener): this;
|
|
366
378
|
protected init(element?: Handle): this;
|
|
379
|
+
protected reattachElementBuffers(): this;
|
|
367
380
|
protected createRootElement(): Handle;
|
|
368
381
|
protected render(): Handle;
|
|
369
382
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveClassDefaults<TOptions>(ctor: Function, subclassDefaults: Partial<TOptions> | undefined): Readonly<TOptions>;
|
|
@@ -35,6 +35,7 @@ export interface MediaState {
|
|
|
35
35
|
export type Handle = number & {
|
|
36
36
|
readonly __handleBrand: unique symbol;
|
|
37
37
|
};
|
|
38
|
+
export type TimerId = ReturnType<typeof setTimeout>;
|
|
38
39
|
export interface ElementPatch {
|
|
39
40
|
style?: Readonly<Record<string, string | null>>;
|
|
40
41
|
removeClass?: readonly string[];
|
|
@@ -62,7 +63,7 @@ export interface DOMSink {
|
|
|
62
63
|
apply(handle: Handle, patch: ElementPatch): void;
|
|
63
64
|
edit(handle: Handle): PatchBuilder;
|
|
64
65
|
release(handle: Handle): void;
|
|
65
|
-
|
|
66
|
+
setRuleStyles(rule: CSSStyleRule, styles: Record<string, string | null>): void;
|
|
66
67
|
ensureStyleRule(selector: string): CSSStyleRule;
|
|
67
68
|
deleteStyleRule(selector: string): void;
|
|
68
69
|
ensureKeyframes(name: string, body: string): void;
|
|
@@ -80,12 +81,17 @@ export interface DOMSink {
|
|
|
80
81
|
setSelectionRange(handle: Handle, start: number, end: number): void;
|
|
81
82
|
setLocationHash(hash: string): void;
|
|
82
83
|
replaceLocationHash(hash: string): void;
|
|
84
|
+
pushHistoryPath(url: string): void;
|
|
85
|
+
replaceHistoryPath(url: string): void;
|
|
83
86
|
addListener<T extends Event = Event>(target: Handle, type: string, handler: (event: T) => void, options?: boolean | AddEventListenerOptions): void;
|
|
84
87
|
removeListener<T extends Event = Event>(target: Handle, type: string, handler: (event: T) => void, options?: boolean | EventListenerOptions): void;
|
|
85
88
|
dispatchEvent(target: Handle, event: Event): void;
|
|
86
89
|
dispatchCustomEvent(target: Handle, type: string, init?: CustomEventInit): void;
|
|
87
90
|
requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
88
91
|
cancelAnimationFrame(handle: number): void;
|
|
92
|
+
setTimeout(callback: () => void, delayMs: number): TimerId;
|
|
93
|
+
clearTimeout(id: TimerId): void;
|
|
94
|
+
clearAllTimeouts(): void;
|
|
89
95
|
setId(handle: Handle, id: string): void;
|
|
90
96
|
insertBefore(parent: Handle, node: Handle, reference: Handle | null): void;
|
|
91
97
|
createDocumentFragment(): Handle;
|
|
@@ -133,6 +139,7 @@ export interface DOMSource {
|
|
|
133
139
|
isWindow(target: Handle | null): boolean;
|
|
134
140
|
getWindow(): Handle;
|
|
135
141
|
getLocationHash(): string;
|
|
142
|
+
getLocationPathname(): string;
|
|
136
143
|
contains(ancestor: Handle, node: Handle | null): boolean;
|
|
137
144
|
querySelector(root: Handle, selector: string): Handle | null;
|
|
138
145
|
querySelectorAll(root: Handle, selector: string): Handle[];
|
|
@@ -177,13 +184,17 @@ export interface MediaQueryResult {
|
|
|
177
184
|
addChangeListener(handler: (event: MediaQueryListEvent) => void): void;
|
|
178
185
|
}
|
|
179
186
|
export declare class ProductionDOMSink implements DOMSink {
|
|
187
|
+
private readonly _timers;
|
|
188
|
+
private _ruleIndex;
|
|
189
|
+
private _indexedSheet;
|
|
180
190
|
apply(handle: Handle, patch: ElementPatch): void;
|
|
181
191
|
edit(handle: Handle): PatchBuilder;
|
|
182
192
|
release(handle: Handle): void;
|
|
183
|
-
|
|
193
|
+
setRuleStyles(rule: CSSStyleRule, styles: Record<string, string | null>): void;
|
|
184
194
|
ensureStyleRule(selector: string): CSSStyleRule;
|
|
185
195
|
deleteStyleRule(selector: string): void;
|
|
186
196
|
ensureKeyframes(name: string, body: string): void;
|
|
197
|
+
private ruleIndex;
|
|
187
198
|
private mainSheet;
|
|
188
199
|
createElement(tag: string): Handle;
|
|
189
200
|
createElementNS(ns: string, tag: string): Handle;
|
|
@@ -199,12 +210,17 @@ export declare class ProductionDOMSink implements DOMSink {
|
|
|
199
210
|
setSelectionRange(handle: Handle, start: number, end: number): void;
|
|
200
211
|
setLocationHash(hash: string): void;
|
|
201
212
|
replaceLocationHash(hash: string): void;
|
|
213
|
+
pushHistoryPath(url: string): void;
|
|
214
|
+
replaceHistoryPath(url: string): void;
|
|
202
215
|
addListener<T extends Event = Event>(target: Handle, type: string, handler: (event: T) => void, options?: boolean | AddEventListenerOptions): void;
|
|
203
216
|
removeListener<T extends Event = Event>(target: Handle, type: string, handler: (event: T) => void, options?: boolean | EventListenerOptions): void;
|
|
204
217
|
dispatchEvent(target: Handle, event: Event): void;
|
|
205
218
|
dispatchCustomEvent(target: Handle, type: string, init?: CustomEventInit): void;
|
|
206
219
|
requestAnimationFrame(callback: FrameRequestCallback): number;
|
|
207
220
|
cancelAnimationFrame(handle: number): void;
|
|
221
|
+
setTimeout(callback: () => void, delayMs: number): TimerId;
|
|
222
|
+
clearTimeout(id: TimerId): void;
|
|
223
|
+
clearAllTimeouts(): void;
|
|
208
224
|
setId(handle: Handle, id: string): void;
|
|
209
225
|
insertBefore(parent: Handle, node: Handle, reference: Handle | null): void;
|
|
210
226
|
createDocumentFragment(): Handle;
|
|
@@ -252,6 +268,7 @@ export declare class ProductionDOMSource implements DOMSource {
|
|
|
252
268
|
isWindow(target: Handle | null): boolean;
|
|
253
269
|
getWindow(): Handle;
|
|
254
270
|
getLocationHash(): string;
|
|
271
|
+
getLocationPathname(): string;
|
|
255
272
|
contains(ancestor: Handle, node: Handle | null): boolean;
|
|
256
273
|
querySelector(root: Handle, selector: string): Handle | null;
|
|
257
274
|
querySelectorAll(root: Handle, selector: string): Handle[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Handle } from "../core/DOM.js";
|
|
2
|
+
declare class ElementAttributes {
|
|
3
|
+
private _handle;
|
|
4
|
+
private _state;
|
|
5
|
+
private _pending;
|
|
6
|
+
set(key: string, value: string): void;
|
|
7
|
+
remove(key: string): void;
|
|
8
|
+
queue(key: string, value: string): void;
|
|
9
|
+
queueRemove(key: string): void;
|
|
10
|
+
get(key: string): string | undefined;
|
|
11
|
+
flush(): void;
|
|
12
|
+
attach(handle: Handle): void;
|
|
13
|
+
isMaterialized(): boolean;
|
|
14
|
+
}
|
|
15
|
+
export { ElementAttributes };
|
|
@@ -3,14 +3,20 @@ export declare namespace Event {
|
|
|
3
3
|
interface ListenerOptions {
|
|
4
4
|
passive?: boolean;
|
|
5
5
|
}
|
|
6
|
+
interface EventDisposition {
|
|
7
|
+
stop?: boolean;
|
|
8
|
+
prevent?: boolean;
|
|
9
|
+
}
|
|
10
|
+
type ListenerResult = boolean | EventDisposition | void;
|
|
11
|
+
type Listener = (event: any) => ListenerResult;
|
|
6
12
|
function init(): void;
|
|
7
13
|
function fireEvent(component: Component, type: string, payload?: any): void;
|
|
8
14
|
function fireEvent(component: Component, event: globalThis.Event): void;
|
|
9
|
-
function addListener(component: Component, type: string, listener:
|
|
10
|
-
function removeListener(component: Component, type: string, listener:
|
|
11
|
-
function addSubtreeListener(component: Component, type: string, listener:
|
|
12
|
-
function removeSubtreeListener(component: Component, type: string, listener:
|
|
15
|
+
function addListener(component: Component, type: string, listener: Listener, options?: ListenerOptions): void;
|
|
16
|
+
function removeListener(component: Component, type: string, listener: Listener): void;
|
|
17
|
+
function addSubtreeListener(component: Component, type: string, listener: Listener, options?: ListenerOptions): void;
|
|
18
|
+
function removeSubtreeListener(component: Component, type: string, listener: Listener): void;
|
|
13
19
|
function reindexComponent(oldId: string, newId: string): void;
|
|
14
|
-
function addViewportListener(component: Component, type: string, listener:
|
|
15
|
-
function removeViewportListener(component: Component, type: string, listener:
|
|
20
|
+
function addViewportListener(component: Component, type: string, listener: Listener): void;
|
|
21
|
+
function removeViewportListener(component: Component, type: string, listener: Listener): void;
|
|
16
22
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Handle } from "../core/DOM.js";
|
|
2
|
+
export declare function registerTransition(handle: Handle, cancel: () => void): void;
|
|
3
|
+
export declare function unregisterTransition(handle: Handle, cancel: () => void): void;
|
|
4
|
+
export declare function cancelTransitions(handle: Handle): void;
|
|
@@ -8,6 +8,7 @@ declare abstract class StyleTarget<T> {
|
|
|
8
8
|
queueMany(values: Record<string, string | null>): void;
|
|
9
9
|
flush(): void;
|
|
10
10
|
isMaterialized(): boolean;
|
|
11
|
+
hasQueuedWrites(): boolean;
|
|
11
12
|
protected materialize(target: T): void;
|
|
12
13
|
protected abstract writeStyle(key: string, value: string | null): void;
|
|
13
14
|
protected abstract flushDirty(dirty: Record<string, string | null>): void;
|
|
@@ -28,6 +28,8 @@ export declare namespace Util {
|
|
|
28
28
|
bottom: number;
|
|
29
29
|
}): number;
|
|
30
30
|
function opticalCenterOffset(): number;
|
|
31
|
+
function textMetricsGeneration(): number;
|
|
32
|
+
function boundFontSizePx(cssVar: string, cssRule: string | null): number | null;
|
|
31
33
|
function invalidateTextMetricsCache(): void;
|
|
32
34
|
function generateUUID(): string;
|
|
33
35
|
function isInteger(value: Object): boolean;
|
|
@@ -9,11 +9,11 @@ export type { SmoothScrollTarget, ScrollAxis } from '../core/SmoothScroller.js';
|
|
|
9
9
|
export { Util } from '../core/Util.js';
|
|
10
10
|
export type { TextMeasureOptions, TextMetrics } from '../core/Util.js';
|
|
11
11
|
export { DOM, ProductionDOMSink, ProductionDOMSource, PatchBuilder } from '../core/DOM.js';
|
|
12
|
-
export type { DOMSink, DOMSource, DOMSeams, Rect, ScrollMetrics, OffsetSize, MediaState, Handle, ElementPatch, MediaQueryResult } from '../core/DOM.js';
|
|
12
|
+
export type { DOMSink, DOMSource, DOMSeams, Rect, ScrollMetrics, OffsetSize, MediaState, Handle, TimerId, ElementPatch, MediaQueryResult } from '../core/DOM.js';
|
|
13
13
|
export { callable } from '../core/Callable.js';
|
|
14
14
|
export type { Callable } from '../core/Callable.js';
|
|
15
15
|
export { Component } from '../core/Component.js';
|
|
16
|
-
export type { Comparator, Style, ComponentOptions, ComponentStyleRuleSpec, ConstrainedComponent, PerimeterSize } from '../core/Component.js';
|
|
16
|
+
export type { Comparator, Style, ComponentOptions, ComponentStyleRuleSpec, ComponentFactory, ConstrainedComponent, PerimeterSize } from '../core/Component.js';
|
|
17
17
|
export { Container } from '../core/Container.js';
|
|
18
18
|
export type { ContainerOptions } from '../core/Container.js';
|
|
19
19
|
export { Panel } from '../core/Panel.js';
|
|
@@ -34,6 +34,7 @@ export { ThemeManager, BaseTheme, ClassicTheme, DarkTheme, ModernTheme, defineTh
|
|
|
34
34
|
export type { Theme, DeepPartial, ScaleToken, ResolvedScale, FontSizeToken } from '../core/Theme.js';
|
|
35
35
|
export { StyleTarget, StyleRule, InlineStyle } from '../core/StyleTarget.js';
|
|
36
36
|
export type { StyleRuleScope, StyleRuleSpec } from '../core/StyleTarget.js';
|
|
37
|
+
export { ElementAttributes } from '../core/ElementAttributes.js';
|
|
37
38
|
export { Binding } from '../core/Binding.js';
|
|
38
39
|
export type { BeforeRecordListener, BindingEvent } from '../core/Binding.js';
|
|
39
40
|
export type { Bindable, BindingAccessors } from '../core/Bindable.js';
|
|
@@ -55,6 +55,8 @@ declare class Accordion extends LayoutManager {
|
|
|
55
55
|
private _dragOpenIndices;
|
|
56
56
|
private _dragGutterUpperPos;
|
|
57
57
|
private _toggleAnimations;
|
|
58
|
+
private _shrinkAnimations;
|
|
59
|
+
private _wrapperAnimations;
|
|
58
60
|
private _boundOnGutterDragEnd;
|
|
59
61
|
constructor(options?: AccordionOptions);
|
|
60
62
|
protected applyOptions(options: AccordionOptions): void;
|
|
@@ -17,6 +17,7 @@ declare class Border extends LayoutManager {
|
|
|
17
17
|
private _collapsible;
|
|
18
18
|
private _gutters;
|
|
19
19
|
private _collapseAnimation;
|
|
20
|
+
private readonly _pendingCollapseTransitions;
|
|
20
21
|
private _collapsing;
|
|
21
22
|
constructor(options?: BorderOptions);
|
|
22
23
|
protected applyOptions(options: BorderOptions): void;
|
|
@@ -31,6 +32,7 @@ declare class Border extends LayoutManager {
|
|
|
31
32
|
setRegionCollapsible(placement: Placement, value: boolean): this;
|
|
32
33
|
private ensureGutter;
|
|
33
34
|
private regionExtent;
|
|
35
|
+
private flooredMainExtent;
|
|
34
36
|
private applyRegionClip;
|
|
35
37
|
private updateRegionGutter;
|
|
36
38
|
private innerEdgeTrack;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Component } from "../core/Component.js";
|
|
2
2
|
export declare const COLLAPSE_STRIP_SIZE = 18;
|
|
3
|
+
export interface CollapseTransition {
|
|
4
|
+
cancel(): void;
|
|
5
|
+
settle(): void;
|
|
6
|
+
}
|
|
3
7
|
export interface CollapseParticipant {
|
|
4
8
|
component: Component;
|
|
5
9
|
relayout: boolean;
|
|
6
10
|
}
|
|
7
|
-
export declare function runCollapse(container: Component, toggled: Component, participants: CollapseParticipant[], previous: (() => void) | null, onIdle?: () => void): () => void;
|
|
11
|
+
export declare function runCollapse(container: Component, toggled: Component, participants: CollapseParticipant[], previous: (() => void) | null, pending: CollapseTransition[], onIdle?: () => void): () => void;
|
|
@@ -3,6 +3,7 @@ import { AnchorType } from "../layout/AnchorType.js";
|
|
|
3
3
|
import { LayoutConstraints } from "../layout/LayoutConstraints";
|
|
4
4
|
import { Size } from "../primitive/Size.js";
|
|
5
5
|
import { Component } from "../core/Component.js";
|
|
6
|
+
import type { ComponentFactory } from "../core/Component.js";
|
|
6
7
|
import { BaseObject } from "../core/BaseObject.js";
|
|
7
8
|
export interface LayoutManagerOptions {
|
|
8
9
|
}
|
|
@@ -15,6 +16,7 @@ export declare abstract class LayoutManager extends BaseObject {
|
|
|
15
16
|
private _overflowing;
|
|
16
17
|
constructor();
|
|
17
18
|
protected applyOptions(_options: LayoutManagerOptions): void;
|
|
19
|
+
addDeferredComponent(_factory: ComponentFactory, _constraints?: LayoutConstraints): boolean;
|
|
18
20
|
attach(container: Component): this;
|
|
19
21
|
detach(): this;
|
|
20
22
|
getContainer(): Component | null;
|
|
@@ -30,6 +30,7 @@ declare class Split extends LayoutManager {
|
|
|
30
30
|
private _dragOriginRhsSize;
|
|
31
31
|
private _lastAvailableMain;
|
|
32
32
|
private _collapseAnimation;
|
|
33
|
+
private readonly _pendingCollapseTransitions;
|
|
33
34
|
constructor(options?: SplitOptions);
|
|
34
35
|
protected applyOptions(options: SplitOptions): void;
|
|
35
36
|
on(event: "paneresize", listener: PaneResizeCallback): this;
|
|
@@ -2,10 +2,11 @@ import { LayoutManager, LayoutManagerOptions } from "../layout/LayoutManager.js"
|
|
|
2
2
|
import { LayoutConstraints } from "../layout/LayoutConstraints.js";
|
|
3
3
|
import { Size } from "../primitive/Size.js";
|
|
4
4
|
import { Component } from "../core/Component.js";
|
|
5
|
+
import type { ComponentFactory } from "../core/Component.js";
|
|
5
6
|
import { AbstractWindow } from "../overlay/AbstractWindow.js";
|
|
6
7
|
import type { TabToolDescriptor } from "../component/container/TabBar.js";
|
|
7
8
|
import type { AxisPosition, AxisEnd } from "../primitive/Axis.js";
|
|
8
|
-
export type TabEvent = "tabclose" | "empty" | "detach" | "activate" | "dock";
|
|
9
|
+
export type TabEvent = "tabclose" | "empty" | "detach" | "select" | "activate" | "dock" | "exception";
|
|
9
10
|
export type TabDetachWindowMode = "bare" | "strip";
|
|
10
11
|
export type TabWidthMode = "fill" | "content" | "equal" | "fixed";
|
|
11
12
|
export type TabSide = "north" | "south" | "west" | "east";
|
|
@@ -14,6 +15,7 @@ export interface TabOptions extends LayoutManagerOptions {
|
|
|
14
15
|
listeners?: {
|
|
15
16
|
tabclose?: (component: Component) => void;
|
|
16
17
|
empty?: () => void;
|
|
18
|
+
exception?: (error: unknown, label: string) => void;
|
|
17
19
|
};
|
|
18
20
|
widthMode?: TabWidthMode;
|
|
19
21
|
maxWidth?: number | null;
|
|
@@ -37,6 +39,7 @@ declare class Tab extends LayoutManager {
|
|
|
37
39
|
private _selectedTabIndex;
|
|
38
40
|
private _pendingActiveContent;
|
|
39
41
|
private _lastFadedTabIndex;
|
|
42
|
+
private _tabFadeAnimation;
|
|
40
43
|
private _listeners;
|
|
41
44
|
private _barIgnoreParentInsets;
|
|
42
45
|
private _detachWindowMode;
|
|
@@ -102,9 +105,12 @@ declare class Tab extends LayoutManager {
|
|
|
102
105
|
private composeSize;
|
|
103
106
|
createTab(component: Component): void;
|
|
104
107
|
private wireComponentAria;
|
|
105
|
-
|
|
106
|
-
|
|
108
|
+
addDeferredComponent(factory: ComponentFactory, constraints?: LayoutConstraints): boolean;
|
|
109
|
+
addLazyTab(factory: ComponentFactory, name: string, constraints?: LayoutConstraints): void;
|
|
110
|
+
private syncUntabbedChildren;
|
|
107
111
|
private materializeAsync;
|
|
112
|
+
private announcePendingActivation;
|
|
113
|
+
private failEntry;
|
|
108
114
|
protected computeTotalMinSize(): Size;
|
|
109
115
|
doLayout(): void;
|
|
110
116
|
getActiveTabIndex(): number;
|
|
@@ -125,14 +131,18 @@ declare class Tab extends LayoutManager {
|
|
|
125
131
|
on(event: "tabclose", listener: (component: Component) => void): this;
|
|
126
132
|
on(event: "empty", listener: () => void): this;
|
|
127
133
|
on(event: "detach", listener: (window: AbstractWindow) => void): this;
|
|
134
|
+
on(event: "select", listener: (index: number, label: string) => void): this;
|
|
128
135
|
on(event: "activate", listener: (content: Component, index: number) => void): this;
|
|
129
136
|
on(event: "dock", listener: (content: Component) => void): this;
|
|
137
|
+
on(event: "exception", listener: (error: unknown, label: string) => void): this;
|
|
130
138
|
off(event: TabEvent, listener: Function): this;
|
|
131
139
|
protected emit(event: "tabclose", component: Component): void;
|
|
132
140
|
protected emit(event: "empty"): void;
|
|
133
141
|
protected emit(event: "detach", window: AbstractWindow): void;
|
|
142
|
+
protected emit(event: "select", index: number, label: string): void;
|
|
134
143
|
protected emit(event: "activate", content: Component, index: number): void;
|
|
135
144
|
protected emit(event: "dock", content: Component): void;
|
|
145
|
+
protected emit(event: "exception", error: unknown, label: string): void;
|
|
136
146
|
}
|
|
137
147
|
declare const TabCallable: import("../core/Callable.js").Callable<typeof Tab>;
|
|
138
148
|
type TabCallable = Tab;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component } from "../core/Component.js";
|
|
2
2
|
import type { Handle } from "../core/DOM.js";
|
|
3
3
|
import { WindowBorder } from "../component/container/WindowBorder.js";
|
|
4
|
+
import { Event } from "../core/Event.js";
|
|
4
5
|
import { DismissableLayer, LayerDismissMode } from "../core/LayerManager.js";
|
|
5
6
|
import { Container, ContainerOptions } from "../core/Container.js";
|
|
6
7
|
import { Size } from "../primitive/Size.js";
|
|
@@ -68,6 +69,11 @@ export declare abstract class AbstractWindow extends Container<WindowOptions> im
|
|
|
68
69
|
private _rail;
|
|
69
70
|
private _windowListeners;
|
|
70
71
|
private _stateAnimHandle;
|
|
72
|
+
private _showAnimation;
|
|
73
|
+
private _materializeAnimation;
|
|
74
|
+
private _closeAnimation;
|
|
75
|
+
private _railCollapseAnimation;
|
|
76
|
+
private _railExpandAnimation;
|
|
71
77
|
private _viewportResizeBound;
|
|
72
78
|
private _snapEnabled;
|
|
73
79
|
private _snapKeysAttached;
|
|
@@ -84,6 +90,7 @@ export declare abstract class AbstractWindow extends Container<WindowOptions> im
|
|
|
84
90
|
private readonly _boundOnSnapBlur;
|
|
85
91
|
private readonly _boundOnBorderResize;
|
|
86
92
|
private readonly _boundOnBringToFront;
|
|
93
|
+
private readonly _boundOnThemeReflow;
|
|
87
94
|
constructor(options?: WindowOptions);
|
|
88
95
|
protected initChrome(options?: WindowOptions): void;
|
|
89
96
|
protected applyOptions(options: WindowOptions): this;
|
|
@@ -113,6 +120,7 @@ export declare abstract class AbstractWindow extends Container<WindowOptions> im
|
|
|
113
120
|
isLayerRoot(): boolean;
|
|
114
121
|
onZIndexChanged(zIndex: number): void;
|
|
115
122
|
onExitAction(): void;
|
|
123
|
+
protected destructor(): void;
|
|
116
124
|
getWindowState(): WindowState;
|
|
117
125
|
static getOpenWindows(): AbstractWindow[];
|
|
118
126
|
getRect(): WindowRect;
|
|
@@ -157,8 +165,8 @@ export declare abstract class AbstractWindow extends Container<WindowOptions> im
|
|
|
157
165
|
private viewportPositionBounds;
|
|
158
166
|
private clampDragDelta;
|
|
159
167
|
clampPositionToViewport(): this;
|
|
160
|
-
onDrag(e: MouseEvent):
|
|
161
|
-
onMouseUp(
|
|
168
|
+
onDrag(e: MouseEvent): Event.ListenerResult;
|
|
169
|
+
onMouseUp(): Event.ListenerResult;
|
|
162
170
|
doLayout(): this;
|
|
163
171
|
render(): Handle;
|
|
164
172
|
private currentRect;
|
|
@@ -73,6 +73,11 @@ declare class Dialog extends Component implements DismissableLayer {
|
|
|
73
73
|
private _previousFocus;
|
|
74
74
|
private _boundKeyHandler;
|
|
75
75
|
private _boundResizeHandler;
|
|
76
|
+
private _panelInAnimation;
|
|
77
|
+
private _backdropInAnimation;
|
|
78
|
+
private _panelOutAnimation;
|
|
79
|
+
private _backdropOutAnimation;
|
|
80
|
+
private _finalizing;
|
|
76
81
|
constructor(config: DialogConfig);
|
|
77
82
|
private computeHeaderVariant;
|
|
78
83
|
private applyHeaderVariant;
|
|
@@ -92,6 +97,7 @@ declare class Dialog extends Component implements DismissableLayer {
|
|
|
92
97
|
private primaryResult;
|
|
93
98
|
private onViewportResize;
|
|
94
99
|
hide(result: DialogResult): this;
|
|
100
|
+
protected destructor(): void;
|
|
95
101
|
getContentComponent(): Component;
|
|
96
102
|
protected clampsToContentSize(): boolean;
|
|
97
103
|
getTitleBar(): DialogTitleBar;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Container, ContainerOptions } from "../core/Container.js";
|
|
2
2
|
import { Component } from "../core/Component.js";
|
|
3
|
+
import type { ComponentFactory } from "../core/Component.js";
|
|
3
4
|
import { AbstractWindow } from "../overlay/AbstractWindow.js";
|
|
4
5
|
import { LayoutState } from "../layout/LayoutSerialization.js";
|
|
5
6
|
import type { AxisOrientation } from "../primitive/Axis.js";
|
|
@@ -9,7 +10,7 @@ export interface DockPanelSpec {
|
|
|
9
10
|
glyph?: string;
|
|
10
11
|
tooltip?: string;
|
|
11
12
|
closeable?: boolean;
|
|
12
|
-
content: Component |
|
|
13
|
+
content: Component | ComponentFactory;
|
|
13
14
|
}
|
|
14
15
|
export type DockLayoutSpec = DockPanelSpec | {
|
|
15
16
|
split: AxisOrientation;
|
|
@@ -27,9 +28,10 @@ export interface DockOptions extends ContainerOptions {
|
|
|
27
28
|
focus?: (event: DockPanelEvent | null) => void;
|
|
28
29
|
close?: (event: DockPanelEvent) => void;
|
|
29
30
|
emptychange?: (event: DockEmptyEvent) => void;
|
|
31
|
+
exception?: (event: DockExceptionEvent) => void;
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
|
-
export type DockEvent = "attach" | "detach" | "move" | "focus" | "close" | "emptychange";
|
|
34
|
+
export type DockEvent = "attach" | "detach" | "move" | "focus" | "close" | "emptychange" | "exception";
|
|
33
35
|
export interface DockPanelEvent {
|
|
34
36
|
id: string;
|
|
35
37
|
content: Component;
|
|
@@ -38,6 +40,10 @@ export interface DockPanelEvent {
|
|
|
38
40
|
export interface DockEmptyEvent {
|
|
39
41
|
empty: boolean;
|
|
40
42
|
}
|
|
43
|
+
export interface DockExceptionEvent {
|
|
44
|
+
id: string;
|
|
45
|
+
error: unknown;
|
|
46
|
+
}
|
|
41
47
|
declare class Dock extends Container<DockOptions> {
|
|
42
48
|
private _panels;
|
|
43
49
|
private _frames;
|
|
@@ -103,6 +109,7 @@ declare class Dock extends Container<DockOptions> {
|
|
|
103
109
|
private isTab;
|
|
104
110
|
private regionKind;
|
|
105
111
|
private onPanelClosed;
|
|
112
|
+
private failPanel;
|
|
106
113
|
private onPanelFocused;
|
|
107
114
|
private onPanelDetached;
|
|
108
115
|
private onFloatActivated;
|
|
@@ -122,12 +129,15 @@ declare class Dock extends Container<DockOptions> {
|
|
|
122
129
|
on(event: "attach" | "detach" | "move" | "close", listener: (event: DockPanelEvent) => void): this;
|
|
123
130
|
on(event: "focus", listener: (event: DockPanelEvent | null) => void): this;
|
|
124
131
|
on(event: "emptychange", listener: (event: DockEmptyEvent) => void): this;
|
|
132
|
+
on(event: "exception", listener: (event: DockExceptionEvent) => void): this;
|
|
125
133
|
off(event: "attach" | "detach" | "move" | "close", listener: (event: DockPanelEvent) => void): this;
|
|
126
134
|
off(event: "focus", listener: (event: DockPanelEvent | null) => void): this;
|
|
127
135
|
off(event: "emptychange", listener: (event: DockEmptyEvent) => void): this;
|
|
136
|
+
off(event: "exception", listener: (event: DockExceptionEvent) => void): this;
|
|
128
137
|
protected emit(event: "attach" | "detach" | "move" | "close", payload: DockPanelEvent): void;
|
|
129
138
|
protected emit(event: "focus", payload: DockPanelEvent | null): void;
|
|
130
139
|
protected emit(event: "emptychange", payload: DockEmptyEvent): void;
|
|
140
|
+
protected emit(event: "exception", payload: DockExceptionEvent): void;
|
|
131
141
|
}
|
|
132
142
|
declare const DockCallable: import("../core/Callable.js").Callable<typeof Dock>;
|
|
133
143
|
type DockCallable = Dock;
|