@ixfx/components 0.6.2 → 0.7.1
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/bundle/index.d.ts +1918 -835
- package/bundle/index.d.ts.map +1 -1
- package/bundle/index.js +22137 -16840
- package/bundle/index.js.map +1 -1
- package/bundle/style.css +1 -1
- package/dist/ac-text.d.ts +1 -1
- package/dist/ac-text.js +3 -2
- package/dist/ac-text.js.map +1 -1
- package/dist/{ac-token-BAa6ke09.d.ts → ac-token--_vCHXWw.d.ts} +2 -2
- package/dist/{ac-token-BAa6ke09.d.ts.map → ac-token--_vCHXWw.d.ts.map} +1 -1
- package/dist/ac-token.d.ts +1 -1
- package/dist/ac-token.js +3 -2
- package/dist/ac-token.js.map +1 -1
- package/dist/{button-Bn0BuLpO.js → button-DsFbV4XD.js} +5 -4
- package/dist/button-DsFbV4XD.js.map +1 -0
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{colour-picker-0stHB90J.js → colour-picker-Ddsk-7E_.js} +4 -3
- package/dist/{colour-picker-0stHB90J.js.map → colour-picker-Ddsk-7E_.js.map} +1 -1
- package/dist/colour-picker.js +1 -1
- package/dist/crumbs.d.ts +1 -1
- package/dist/crumbs.js +4 -2
- package/dist/crumbs.js.map +1 -1
- package/dist/data-display.js +1 -1
- package/dist/{data-grid-C8qIo1-u.d.ts → data-grid-Bh4YrQGK.d.ts} +2 -2
- package/dist/{data-grid-C8qIo1-u.d.ts.map → data-grid-Bh4YrQGK.d.ts.map} +1 -1
- package/dist/data-grid.d.ts +1 -1
- package/dist/data-grid.js +4 -2
- package/dist/data-grid.js.map +1 -1
- package/dist/{defaults-BCiDhZbF.js → defaults-BJwDsMH4.js} +27 -20
- package/dist/defaults-BJwDsMH4.js.map +1 -0
- package/dist/editable-label-rzXkjf1H.d.ts +75 -0
- package/dist/editable-label-rzXkjf1H.d.ts.map +1 -0
- package/dist/editable-label.d.ts +2 -75
- package/dist/editable-label.js +2 -1
- package/dist/editable-label.js.map +1 -1
- package/dist/{fallbacks-DEE1nCTt.js → fallbacks-DNI9xt0F.js} +2 -2
- package/dist/{fallbacks-DEE1nCTt.js.map → fallbacks-DNI9xt0F.js.map} +1 -1
- package/dist/{grouped-item-lister-_pMDwIo1.d.ts → grouped-item-lister-DnWB-eFT.d.ts} +2 -2
- package/dist/{grouped-item-lister-_pMDwIo1.d.ts.map → grouped-item-lister-DnWB-eFT.d.ts.map} +1 -1
- package/dist/grouped-item-lister.d.ts +1 -1
- package/dist/{hex-editor-Bk6rxhfg.js → hex-editor-BiRfwTz1.js} +2 -2
- package/dist/{hex-editor-Bk6rxhfg.js.map → hex-editor-BiRfwTz1.js.map} +1 -1
- package/dist/hex.js +1 -1
- package/dist/{icon-DpA9x2Ve.d.ts → icon-CDGprSdE.d.ts} +1 -12
- package/dist/icon-CDGprSdE.d.ts.map +1 -0
- package/dist/{icons-Bm2ByQ3s.js → icon-DcEEGQa_.js} +38 -12
- package/dist/icon-DcEEGQa_.js.map +1 -0
- package/dist/icons.d.ts +3 -3
- package/dist/icons.js +9 -3
- package/dist/icons.js.map +1 -0
- package/dist/{index-CKtLhgYj.d.ts → index-9AhaHIT2.d.ts} +3 -3
- package/dist/{index-CKtLhgYj.d.ts.map → index-9AhaHIT2.d.ts.map} +1 -1
- package/dist/index-CG2vIgPv.d.ts +101 -0
- package/dist/index-CG2vIgPv.d.ts.map +1 -0
- package/dist/{index-BtGFYfaK.d.ts → index-CS9yM8L-.d.ts} +14 -4
- package/dist/index-CS9yM8L-.d.ts.map +1 -0
- package/dist/index.d.ts +861 -71
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4257 -931
- package/dist/index.js.map +1 -1
- package/dist/interaction-D5XdKzbR.js +2 -0
- package/dist/labelled-radial-input.js +2 -1
- package/dist/labelled-radial-input.js.map +1 -1
- package/dist/labelled-slider-input-DzigjMwP.js +808 -0
- package/dist/labelled-slider-input-DzigjMwP.js.map +1 -0
- package/dist/labelled-slider-input.d.ts +2 -0
- package/dist/labelled-slider-input.js +2 -0
- package/dist/{types-DlVNJez_.d.ts → list-selection-types-DSuRNWpx.d.ts} +10 -2
- package/dist/list-selection-types-DSuRNWpx.d.ts.map +1 -0
- package/dist/menu-CXDFJxNm.js +825 -0
- package/dist/menu-CXDFJxNm.js.map +1 -0
- package/dist/{menu-item-Bs2MYyHq.d.ts → menu-item-CZi9vy5O.d.ts} +4 -2
- package/dist/menu-item-CZi9vy5O.d.ts.map +1 -0
- package/dist/menu-item-D2S4i8u1.js +809 -0
- package/dist/menu-item-D2S4i8u1.js.map +1 -0
- package/dist/menu.d.ts +2 -2
- package/dist/menu.js +2 -1
- package/dist/miller.d.ts +1 -1
- package/dist/miller.js +3 -2
- package/dist/miller.js.map +1 -1
- package/dist/narrowed-text.js +4 -2
- package/dist/narrowed-text.js.map +1 -1
- package/dist/notification-pill-DyZydXoZ.d.ts.map +1 -1
- package/dist/notifier.js +4 -3
- package/dist/notifier.js.map +1 -1
- package/dist/panel.d.ts +13 -13
- package/dist/panel.d.ts.map +1 -1
- package/dist/panel.js +37 -253
- package/dist/panel.js.map +1 -1
- package/dist/plots.js +1 -1
- package/dist/polar-pad.js +1 -1
- package/dist/{radial-input-Dk8Wydp5.js → radial-input-Dp5qz0ly.js} +2 -2
- package/dist/{radial-input-Dk8Wydp5.js.map → radial-input-Dp5qz0ly.js.map} +1 -1
- package/dist/radial-input.js +1 -1
- package/dist/range-input.js +1 -1
- package/dist/range.js +1 -1
- package/dist/registry-BEtb8_wB.js +46 -0
- package/dist/registry-BEtb8_wB.js.map +1 -0
- package/dist/select-horiz.js +3 -2
- package/dist/select-horiz.js.map +1 -1
- package/dist/{slider-input-XppH3vcy.d.ts → slider-input-BfRUW2ZB.d.ts} +16 -3
- package/dist/slider-input-BfRUW2ZB.d.ts.map +1 -0
- package/dist/{slider-input-CT4gcF-o.js → slider-input-De4eoT11.js} +382 -67
- package/dist/slider-input-De4eoT11.js.map +1 -0
- package/dist/slider-input.d.ts +1 -1
- package/dist/slider-input.js +1 -1
- package/dist/snackbar.js +1 -1
- package/dist/split-layout-BFSbUZQv.js +969 -0
- package/dist/split-layout-BFSbUZQv.js.map +1 -0
- package/dist/split-layout-JK3xWVX2.d.ts +179 -0
- package/dist/split-layout-JK3xWVX2.d.ts.map +1 -0
- package/dist/split-layout.d.ts +2 -60
- package/dist/split-layout.js +1 -617
- package/dist/style.css +1 -1
- package/dist/swipe.js +1 -1
- package/dist/{tab-list-D_1cYhB_.d.ts → tab-list-CGyPt07Z.d.ts} +10 -2
- package/dist/tab-list-CGyPt07Z.d.ts.map +1 -0
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +128 -27
- package/dist/tabs.js.map +1 -1
- package/dist/{tickled-controller-BtevrRLV.d.ts → tickled-controller-CRzdIEjJ.d.ts} +7 -1
- package/dist/tickled-controller-CRzdIEjJ.d.ts.map +1 -0
- package/dist/{tickled-controller-DkAU-0qL.js → tickled-controller-h9GmJ_bU.js} +8 -2
- package/dist/tickled-controller-h9GmJ_bU.js.map +1 -0
- package/dist/titlebar-Bj5pfdw_.d.ts +50 -0
- package/dist/titlebar-Bj5pfdw_.d.ts.map +1 -0
- package/dist/titlebar.d.ts +2 -0
- package/dist/titlebar.js +324 -0
- package/dist/titlebar.js.map +1 -0
- package/dist/tooltip-BlvBUQxx.d.ts.map +1 -1
- package/dist/{tree-BO6BXI2b.js → tree-Ch4W8qXQ.js} +4 -3
- package/dist/{tree-BO6BXI2b.js.map → tree-Ch4W8qXQ.js.map} +1 -1
- package/dist/tree.d.ts +1 -1
- package/dist/tree.js +1 -1
- package/dist/vertical-list-ClnqTkF3.js +814 -0
- package/dist/vertical-list-ClnqTkF3.js.map +1 -0
- package/dist/vertical-list.d.ts +8 -9
- package/dist/vertical-list.d.ts.map +1 -1
- package/dist/vertical-list.js +1 -736
- package/dist/{xy-axis-B6yMjckW.js → xy-axis-DWizs0bt.js} +109 -3
- package/dist/xy-axis-DWizs0bt.js.map +1 -0
- package/dist/xy-pad.js +1 -1
- package/docs-user/README.md +5 -0
- package/docs-user/detail-list.md +398 -0
- package/docs-user/dock.md +461 -0
- package/docs-user/icons.md +4 -0
- package/docs-user/index.json +28 -3
- package/docs-user/labelled-slider-input.md +198 -0
- package/docs-user/llms.txt +6 -1
- package/docs-user/panel.md +20 -1
- package/docs-user/slider-input.md +55 -15
- package/docs-user/split-layout.md +136 -170
- package/docs-user/tabs.md +54 -0
- package/docs-user/titlebar.md +102 -0
- package/docs-user/toolbar.md +95 -22
- package/docs-user/twosplit-layout.md +254 -0
- package/docs-user/user-catalog.md +8 -1
- package/docs-user/user-theming.md +109 -0
- package/llms.txt +6 -1
- package/package.json +1 -2
- package/dist/button-Bn0BuLpO.js.map +0 -1
- package/dist/defaults-BCiDhZbF.js.map +0 -1
- package/dist/editable-label.d.ts.map +0 -1
- package/dist/icon-DpA9x2Ve.d.ts.map +0 -1
- package/dist/icons-Bm2ByQ3s.js.map +0 -1
- package/dist/index-BtGFYfaK.d.ts.map +0 -1
- package/dist/menu-DIfU70AA.js +0 -1609
- package/dist/menu-DIfU70AA.js.map +0 -1
- package/dist/menu-item-Bs2MYyHq.d.ts.map +0 -1
- package/dist/slider-input-CT4gcF-o.js.map +0 -1
- package/dist/slider-input-XppH3vcy.d.ts.map +0 -1
- package/dist/split-layout.d.ts.map +0 -1
- package/dist/split-layout.js.map +0 -1
- package/dist/tab-list-D_1cYhB_.d.ts.map +0 -1
- package/dist/tickled-controller-BtevrRLV.d.ts.map +0 -1
- package/dist/tickled-controller-DkAU-0qL.js.map +0 -1
- package/dist/types-DlVNJez_.d.ts.map +0 -1
- package/dist/vertical-list.js.map +0 -1
- package/dist/xy-axis-B6yMjckW.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
|
-
import { t as IxfxIconElement } from "./icon-
|
|
1
|
+
import { t as IxfxIconElement } from "./icon-CDGprSdE.js";
|
|
2
2
|
import { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent } from "./ac-text.js";
|
|
3
3
|
import { i as collectDataResult, n as DataProviderResult, r as IDataProvider, t as DataBatch } from "./data-provider-BAn_-oR1.js";
|
|
4
|
-
import { a as AcTokenItem, c as AcTokenizerFn, i as AcTokenElementEventMap, l as AcTokensChangeDetail, n as AcTokenAddDetail, o as AcTokenRemoveDetail, r as AcTokenAddEvent, s as AcTokenRemoveEvent, t as AcTokenElement, u as AcTokensChangeEvent } from "./ac-token
|
|
4
|
+
import { a as AcTokenItem, c as AcTokenizerFn, i as AcTokenElementEventMap, l as AcTokensChangeDetail, n as AcTokenAddDetail, o as AcTokenRemoveDetail, r as AcTokenAddEvent, s as AcTokenRemoveEvent, t as AcTokenElement, u as AcTokensChangeEvent } from "./ac-token--_vCHXWw.js";
|
|
5
5
|
import { ButtonElement } from "./button.js";
|
|
6
6
|
import { Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap } from "./checkbox.js";
|
|
7
7
|
import { a as ColourPickerInputEvent, i as ColourPickerEventDetail, n as ColourPicker, o as OklchValue, r as ColourPickerChangeEvent, t as ColourPickerPopup } from "./index-tq6f8007.js";
|
|
8
8
|
import { t as LabelledRangeInput } from "./index-CoqtMSd9.js";
|
|
9
9
|
import { a as TreeItem, i as TreeInteractionMode, n as TreeExclusivity, o as TreeNode, r as TreeFilterPredicate, s as TreeSelectionFilter, t as LoadChildrenCallback } from "./types-Bc23SI94.js";
|
|
10
10
|
import { _ as TreeDataModelOptions, a as TreeComponent, c as TreeExpandEvent, d as TreeSearchHost, f as TreeSelectDetail, g as TreeDataModel, h as TreeTickleEvent, i as TreeCollapseEvent, l as TreeItemClickDetail, m as TreeTickleDetail, n as TreeActivateEvent, o as TreeComponentEventMap, p as TreeSelectEvent, r as TreeCollapseDetail, s as TreeExpandDetail, t as TreeActivateDetail, u as TreeItemClickEvent } from "./tree-component-BvV4muxx.js";
|
|
11
|
-
import "./menu-item-
|
|
11
|
+
import "./menu-item-CZi9vy5O.js";
|
|
12
12
|
import { FuzzySearchResult, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, Orientation, SelectionMode } from "./narrowed-text.js";
|
|
13
13
|
import { CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent } from "./crumbs.js";
|
|
14
14
|
import { ConfigEntry, DataDisplayComponent, FormattingOptions, RendererStyle } from "./data-display.js";
|
|
15
|
-
import { _ as DataGridSortDetail, a as DataGridColumnReorderDetail, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridSelectEvent, h as DataGridSelectDetail, i as DataGridCellEditEvent, l as DataGridColumnVisibilityDetail, m as DataGridGroupChangeEvent, n as DataGridCellClickEvent, o as DataGridColumnReorderEvent, p as DataGridGroupChangeDetail, r as DataGridCellEditDetail, s as DataGridColumnResizeDetail, t as DataGridCellClickDetail, u as DataGridColumnVisibilityEvent, v as DataGridSortEvent } from "./data-grid-
|
|
16
|
-
import { t as index_d_exports } from "./index-
|
|
17
|
-
import {
|
|
15
|
+
import { _ as DataGridSortDetail, a as DataGridColumnReorderDetail, c as DataGridColumnResizeEvent, d as DataGridElement, f as DataGridElementEventMap, g as DataGridSelectEvent, h as DataGridSelectDetail, i as DataGridCellEditEvent, l as DataGridColumnVisibilityDetail, m as DataGridGroupChangeEvent, n as DataGridCellClickEvent, o as DataGridColumnReorderEvent, p as DataGridGroupChangeDetail, r as DataGridCellEditDetail, s as DataGridColumnResizeDetail, t as DataGridCellClickDetail, u as DataGridColumnVisibilityEvent, v as DataGridSortEvent } from "./data-grid-Bh4YrQGK.js";
|
|
16
|
+
import { t as index_d_exports } from "./index-9AhaHIT2.js";
|
|
17
|
+
import { a as EditableMode, i as EditableLabelChangeEvent, n as EditableLabel, o as EntryMode, r as EditableLabelChangeDetail, t as DisplayTextLogic } from "./editable-label-rzXkjf1H.js";
|
|
18
18
|
import { FormElement } from "./form.js";
|
|
19
|
-
import { a as ListItemClickDetail, c as ListSelectEvent, d as ListTickleEvent, i as ListInteractionMode, l as ListSelectionMode, n as ListActivateEvent, o as ListItemClickEvent, r as ListElementEventMap, s as ListSelectDetail, t as ListActivateDetail, u as ListTickleDetail } from "./types-
|
|
20
|
-
import { a as IGroupedSubComponent, c as SubComponentActivateEvent, d as SubComponentItemClickEvent, f as SubComponentSelectDetail, h as SubComponentTickleEvent, i as GroupedSelectEvent, l as SubComponentFactory, m as SubComponentTickleDetail, n as GroupedItemListerElementEventMap, o as IGroupedSubComponentEventMap, p as SubComponentSelectEvent, r as GroupedSelectDetail, s as SubComponentActivateDetail, t as GroupedItemListerElement, u as SubComponentItemClickDetail } from "./grouped-item-lister-
|
|
19
|
+
import { a as ListItemClickDetail, c as ListSelectEvent, d as ListTickleEvent, i as ListInteractionMode, l as ListSelectionMode, n as ListActivateEvent, o as ListItemClickEvent, r as ListElementEventMap, s as ListSelectDetail, t as ListActivateDetail, u as ListTickleDetail } from "./list-selection-types-DSuRNWpx.js";
|
|
20
|
+
import { a as IGroupedSubComponent, c as SubComponentActivateEvent, d as SubComponentItemClickEvent, f as SubComponentSelectDetail, h as SubComponentTickleEvent, i as GroupedSelectEvent, l as SubComponentFactory, m as SubComponentTickleDetail, n as GroupedItemListerElementEventMap, o as IGroupedSubComponentEventMap, p as SubComponentSelectEvent, r as GroupedSelectDetail, s as SubComponentActivateDetail, t as GroupedItemListerElement, u as SubComponentItemClickDetail } from "./grouped-item-lister-DnWB-eFT.js";
|
|
21
|
+
import { a as TitlebarToggleDetail, c as TitlebarVariant, i as TitlebarOrientation, n as TitlebarElement, o as TitlebarToggleEvent, r as TitlebarElementEventMap, s as TitlebarToggleInteraction, t as TitlebarCloseEvent } from "./titlebar-Bj5pfdw_.js";
|
|
21
22
|
import { PanelCloseEvent, PanelElement, PanelElementEventMap, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant } from "./panel.js";
|
|
22
23
|
import { a as NoneSelectEventDetail, c as SingleSelectEventDetail, i as IxfxHexEditorElement, n as HexChangeDetail, o as RectangularSelectEventDetail, r as HexChangeEvent, s as SelectEventDetail, t as ContiguousSelectEventDetail } from "./hex-editor-Caq8vNQk.js";
|
|
23
|
-
import { a as
|
|
24
|
+
import { a as getIconEntry, c as iconBus, d as setIconFont, f as svgToDataUri, g as ICON_CLOSE, h as ICON_CHEVRON_DOWN, i as getIcon, l as registerFontIcon, m as ICON_CHECK, n as IconChangedEvent, o as getIconFont, p as ICON_CARET_RIGHT, r as IconEntry, s as hasIcon, t as IconChangedDetail, u as registerIcon } from "./index-CS9yM8L-.js";
|
|
24
25
|
import { _ as IncrSearchChangeCallback, a as createFuzzySearch, b as IncrSearchState, c as IncrSearchTreeController, d as ElementIncrSearchOptions, f as FuzzySearch, g as IncrSearch, h as HighlightTarget, i as clearHighlights, l as IncrSearchTreeOptions, m as HighlightOptions, n as applyHighlights, o as ElementIncrSearch, p as FuzzySearchOptions, r as buildHighlightTargets, s as createElementIncrSearch, t as createIncrSearch, u as createAcCompletionProvider, v as IncrSearchOptions, y as IncrSearchResult } from "./index-Cu5i8zZY.js";
|
|
25
|
-
import { n as WheelNudgeConsumerType, t as WheelDirection } from "./wheel-nudge-DGrNzWuE.js";
|
|
26
26
|
import { AddItemOptions, CustomCheckboxOptions, VerticalListElement } from "./vertical-list.js";
|
|
27
|
+
import { _ as SplitExpandEvent, a as LayoutNode, b as SplitResizeEvent, c as PanelNode, d as SplitChangeEvent, f as SplitCloseDetail, g as SplitExpandDetail, h as SplitCollapseEvent, i as GroupNode, l as SnapshotNode, m as SplitCollapseDetail, n as SplitPanelElement, o as LayoutSnapshot, p as SplitCloseEvent, r as Axis, s as PanelInfo, t as SplitLayoutElement, u as SplitChangeDetail, v as SplitLayoutElementEventMap, x as WhenSmall, y as SplitResizeDetail } from "./split-layout-JK3xWVX2.js";
|
|
28
|
+
import { a as TabListReorderDetail, i as TabListElement, n as TabListChangeEvent, o as TabListReorderEvent, r as TabListDragMode, s as TabListItemElement, t as TabListChangeDetail } from "./tab-list-CGyPt07Z.js";
|
|
29
|
+
import { n as EditableNumber, t as LabelledSliderInput } from "./index-CG2vIgPv.js";
|
|
27
30
|
import { a as RadialInputChangeDetail, c as RadialInputInputEvent, i as MarkerStyle, l as ValueMode, n as LaneData, o as RadialInputChangeEvent, r as LaneType, s as RadialInputInputDetail, t as RadialInputElement } from "./radial-input-DXMN55Nz.js";
|
|
28
31
|
import { LabelledRadialInput } from "./labelled-radial-input.js";
|
|
32
|
+
import { _ as SliderValueMode, a as SliderInputChangeDetail, c as SliderInputInputDetail, d as SliderLaneType, f as SliderMarkerStyle, g as SliderValueDrag, h as SliderValueCFollow, i as SliderHandleKey, l as SliderInputInputEvent, m as SliderSingleStyle, n as SliderChangedField, o as SliderInputChangeEvent, p as SliderOrientation, r as SliderCrossover, s as SliderInputElementEventMap, t as SliderInputElement, u as SliderLaneData } from "./slider-input-BfRUW2ZB.js";
|
|
29
33
|
import { LedElement } from "./led.js";
|
|
30
34
|
import { MillerBaseElement, MillerBaseElementEventMap, MillerConfig, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, MillerSelectionMode, MillerTreeController, MillerTreeControllerOptions } from "./miller.js";
|
|
31
35
|
import { a as Notification, c as NotificationRendererHooks, i as PillTapEvent, l as NotificationType, n as NotificationPillElementEventMap, o as NotificationContent, r as PillTapDetail, s as NotificationRenderer, t as NotificationPillElement, u as NotifierOptions } from "./notification-pill-DyZydXoZ.js";
|
|
@@ -35,17 +39,14 @@ import { n as TooltipElement, r as TooltipOrientations, t as FormatValueForHuman
|
|
|
35
39
|
import { RangeInput } from "./range-input.js";
|
|
36
40
|
import { RangeElement } from "./range.js";
|
|
37
41
|
import { SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap } from "./select-horiz.js";
|
|
38
|
-
import { _ as SliderValueMode, a as SliderInputChangeDetail, c as SliderInputInputDetail, d as SliderLaneType, f as SliderMarkerStyle, g as SliderValueDrag, h as SliderValueCFollow, i as SliderHandleKey, l as SliderInputInputEvent, m as SliderSingleStyle, n as SliderChangedField, o as SliderInputChangeEvent, p as SliderOrientation, r as SliderCrossover, s as SliderInputElementEventMap, t as SliderInputElement, u as SliderLaneData } from "./slider-input-XppH3vcy.js";
|
|
39
42
|
import { SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement } from "./snackbar.js";
|
|
40
43
|
import { ClickSnapMode, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic } from "./snap-container.js";
|
|
41
|
-
import { SplitLayoutElement } from "./split-layout.js";
|
|
42
44
|
import { SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent } from "./swipe.js";
|
|
43
|
-
import { a as TabListReorderDetail, i as TabListElement, n as TabListChangeEvent, o as TabListReorderEvent, r as TabListDragMode, s as TabListItemElement, t as TabListChangeDetail } from "./tab-list-D_1cYhB_.js";
|
|
44
45
|
import { A as TimelineTrackReorderEvent, C as TimelineEventResizeEvent, D as TimelineTickleChangeEvent, E as TimelineTickleChangeDetail, F as TrackHeightMode, I as TrackLayout, L as UserScale, M as TimelineTrackResizeEvent, N as TimelineTrackSelectDetail, O as TimelineTrack, P as TimelineTrackSelectEvent, R as ViewRange, S as TimelineEventResizeDetail, T as TimelineSelectionChangeEvent, _ as TimelineDraggingEvent, a as CssVars, b as TimelineEventMoveDetail, c as resolveGrid, d as DragSnappingFn, f as DragTarget, g as TimelineDraggingDetail, h as TimelineDraggingCallbackDetail, i as TimelineTrackTabElement, j as TimelineTrackResizeDetail, k as TimelineTrackReorderDetail, l as TimelineController, m as GridResolution, n as attachTimelineInteractions, o as Rect, p as GridMode, r as IxfxTimelineElement, s as resolveCssVars, t as timelineStyles, u as TimelineControllerConfig, v as TimelineElementEventMap, w as TimelineSelectionChangeDetail, x as TimelineEventMoveEvent, y as TimelineEvent } from "./index-BeuCXtiO.js";
|
|
45
46
|
import { Effect, TransitoryLabelElement } from "./transitory-label.js";
|
|
46
47
|
import { TreeBaseElement, TreeBaseElementEventMap, TreeCheckboxState, TreeConfig, TreeController, TreeControllerOptions, TreeListElement } from "./tree.js";
|
|
47
48
|
import { XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent } from "./xy-pad.js";
|
|
48
|
-
import {
|
|
49
|
+
import { LitElement, PropertyValues, ReactiveController, ReactiveControllerHost } from "lit";
|
|
49
50
|
import { CommandId, CommandRegistry, KeyboardManager } from "@clinth/ui-commands";
|
|
50
51
|
//#region src/button/radio-group.d.ts
|
|
51
52
|
type RadioGroupMode = `compact` | `max`;
|
|
@@ -314,76 +315,787 @@ declare class CrumbPathController {
|
|
|
314
315
|
disconnect(): void;
|
|
315
316
|
}
|
|
316
317
|
//#endregion
|
|
317
|
-
//#region src/
|
|
318
|
-
|
|
319
|
-
|
|
318
|
+
//#region src/detail-list/types.d.ts
|
|
319
|
+
/** Sort direction applied to the item columns. */
|
|
320
|
+
type DetailSortMode = `none` | `ascending` | `descending`;
|
|
321
|
+
/** Per-item view of a row passed to `sortComparator`. */
|
|
322
|
+
type DetailSortItem = {
|
|
323
|
+
readonly element: HTMLElement;
|
|
324
|
+
readonly data: unknown;
|
|
325
|
+
readonly label: string;
|
|
326
|
+
};
|
|
327
|
+
/** Custom comparator — return negative when `a` sorts before `b`. */
|
|
328
|
+
type DetailSortComparator = (a: DetailSortItem, b: DetailSortItem) => number;
|
|
329
|
+
/** Turns one object item into row content — a plain string or a DOM node. */
|
|
330
|
+
type DetailFormatter = (item: unknown, index: number) => string | Node;
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/detail-list/detail-list.d.ts
|
|
333
|
+
/**
|
|
334
|
+
* A list that scales horizontally, not vertically.
|
|
335
|
+
*
|
|
336
|
+
* Items are laid out in equal-width columns; they flow top→bottom down a
|
|
337
|
+
* column, then wrap to the top of the next column to the right. The
|
|
338
|
+
* component has a fixed vertical extent and scrolls horizontally.
|
|
339
|
+
*
|
|
340
|
+
* Selection semantics match `ixfx-vertical-list` — same modes, same
|
|
341
|
+
* `list-*` events, same keyboard gestures — but navigation is a 2-D grid
|
|
342
|
+
* (Up/Down move within a column, Left/Right jump columns).
|
|
343
|
+
*
|
|
344
|
+
* Items come from any of three sources (later writes win):
|
|
345
|
+
* 1. declarative `<li>` children in light DOM,
|
|
346
|
+
* 2. `addItem()` / `setItems()`,
|
|
347
|
+
* 3. an `items` array of objects rendered via `displayProperty` /
|
|
348
|
+
* `formatter`, optionally streamed in via a `provider`.
|
|
349
|
+
*/
|
|
350
|
+
declare class DetailListElement extends LitElement {
|
|
320
351
|
#private;
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
352
|
+
selectionMode: ListSelectionMode;
|
|
353
|
+
interactionMode: ListInteractionMode;
|
|
354
|
+
sort: DetailSortMode;
|
|
355
|
+
sortBy: string;
|
|
356
|
+
sortComparator: DetailSortComparator | undefined;
|
|
357
|
+
items: readonly unknown[];
|
|
358
|
+
provider: IDataProvider<void, unknown> | undefined;
|
|
359
|
+
displayProperty: string;
|
|
360
|
+
formatter: DetailFormatter | undefined;
|
|
361
|
+
iconProperty: string;
|
|
362
|
+
keyProperty: string;
|
|
363
|
+
filterPredicate: ((el: Element) => boolean) | undefined;
|
|
364
|
+
/**
|
|
365
|
+
* Whether keyboard navigation wraps from last to first and vice versa.
|
|
366
|
+
* - 'stop' (default): navigation stops at the boundary
|
|
367
|
+
* - 'wrap': navigation wraps around
|
|
368
|
+
*/
|
|
369
|
+
itemWrap: `stop` | `wrap`;
|
|
370
|
+
/** Optional renderer for the checkbox shown in `checked` interactionMode. */
|
|
371
|
+
checkboxRenderer: ((checked: boolean) => unknown) | CustomCheckboxOptions | undefined;
|
|
372
|
+
private _searchVisible;
|
|
373
|
+
private _searchQuery;
|
|
374
|
+
private _searchInputEl;
|
|
375
|
+
private _listEl;
|
|
376
|
+
private readonly selection;
|
|
377
|
+
private tickled;
|
|
335
378
|
connectedCallback(): void;
|
|
336
379
|
disconnectedCallback(): void;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
380
|
+
firstUpdated(): void;
|
|
381
|
+
updated(changed: PropertyValues): void;
|
|
382
|
+
/** The most recently selected item, or `undefined` if nothing is selected. */
|
|
383
|
+
get selectedItem(): Element | undefined;
|
|
384
|
+
/** The full current selection set (read-only). */
|
|
385
|
+
get selectedItems(): ReadonlySet<Element>;
|
|
386
|
+
/**
|
|
387
|
+
* Force an immediate geometry recompute. Called automatically on resize,
|
|
388
|
+
* DOM changes, sort/filter/search changes — only needed when layout is
|
|
389
|
+
* changed by outside forces (e.g. an external font load).
|
|
390
|
+
*/
|
|
391
|
+
refreshLayout(): void;
|
|
392
|
+
addItem(item: Element | string, options?: AddItemOptions): void;
|
|
393
|
+
removeItem(item: Element): void;
|
|
394
|
+
clearItems(): void;
|
|
395
|
+
/**
|
|
396
|
+
* Replace the entire item list in one call.
|
|
397
|
+
* Equivalent to `clearItems()` followed by `addItem()` for each element.
|
|
398
|
+
*/
|
|
399
|
+
setItems(items: readonly Element[]): void;
|
|
400
|
+
/**
|
|
401
|
+
* Get the source object behind an `<li>` built from an `items` array or
|
|
402
|
+
* provider. Returns `undefined` for declarative / programmatic elements.
|
|
403
|
+
*/
|
|
404
|
+
getItemData(item: HTMLLIElement): unknown;
|
|
405
|
+
/** Dispatch a command to this list. No-op by default (grouped-lister parity). */
|
|
406
|
+
dispatch(_commandId: CommandId, _args?: Record<string, unknown>): void;
|
|
407
|
+
select(item: Element): void;
|
|
408
|
+
selectMany(items: Iterable<Element>): void;
|
|
409
|
+
deselect(item: Element): void;
|
|
410
|
+
clearSelection(): void;
|
|
411
|
+
selectAll(): void;
|
|
412
|
+
selectedFilter(kind: `selected` | `checked` | `either`): Generator<Element>;
|
|
413
|
+
private _getVisibleItems;
|
|
414
|
+
private _isCheckable;
|
|
415
|
+
private _setLabel;
|
|
416
|
+
private _syncItemStates;
|
|
417
|
+
private _syncCheckboxes;
|
|
418
|
+
/**
|
|
419
|
+
* Native checkbox cell: a span that stretches to the row's full cross-axis
|
|
420
|
+
* (so the entire column height is a click target) with a real `<input>`
|
|
421
|
+
* centred inside. The span owns the click; the input is purely visual and
|
|
422
|
+
* has `pointer-events:none` so a single click produces one toggle.
|
|
423
|
+
*/
|
|
424
|
+
private _createNativeCheckboxCell;
|
|
425
|
+
/** Custom checkbox cell: same shape as the native cell; renderer content inside. */
|
|
426
|
+
private _createCustomCheckbox;
|
|
427
|
+
private _findListItem;
|
|
428
|
+
private _dispatch;
|
|
429
|
+
private _openSearch;
|
|
430
|
+
private _closeSearch;
|
|
431
|
+
private _onPointerOver;
|
|
432
|
+
private _onPointerLeave;
|
|
354
433
|
private _onKeyDown;
|
|
355
|
-
private
|
|
434
|
+
private _onClick;
|
|
435
|
+
private _onDblClick;
|
|
436
|
+
private _onWheel;
|
|
437
|
+
private _activateItem;
|
|
438
|
+
private _onSearchInput;
|
|
439
|
+
private _onSearchKeydown;
|
|
440
|
+
static styles: import("lit").CSSResult[];
|
|
441
|
+
render(): import("lit").TemplateResult<1>;
|
|
442
|
+
}
|
|
443
|
+
declare global {
|
|
444
|
+
interface HTMLElementTagNameMap {
|
|
445
|
+
'ixfx-detail-list': DetailListElement;
|
|
446
|
+
}
|
|
447
|
+
interface HTMLElementEventMap extends ListElementEventMap {}
|
|
448
|
+
}
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region src/dock/types.d.ts
|
|
451
|
+
/** Axis values used by `ixfx-split-layout` — stored verbatim in the model. */
|
|
452
|
+
type DockAxis = `row` | `column`;
|
|
453
|
+
type DockLayout = {
|
|
454
|
+
readonly version: 1;
|
|
455
|
+
readonly root: DockNode;
|
|
456
|
+
};
|
|
457
|
+
type DockNode = DockSplitNode | DockStackNode;
|
|
458
|
+
/**
|
|
459
|
+
* N-ary split node, rendered as a single `ixfx-split-layout`.
|
|
460
|
+
* `direction` uses the element's flexbox sense: `row` places children
|
|
461
|
+
* side-by-side, `column` stacks them vertically.
|
|
462
|
+
*/
|
|
463
|
+
interface DockSplitNode {
|
|
464
|
+
kind: `split`;
|
|
465
|
+
direction: DockAxis;
|
|
466
|
+
/** Flex weights, parallel to `children`. Need not sum to 1. */
|
|
467
|
+
sizes: number[];
|
|
468
|
+
/** Two or more children (post-normalize). */
|
|
469
|
+
children: DockNode[];
|
|
470
|
+
}
|
|
471
|
+
interface DockStackNode {
|
|
472
|
+
kind: `stack`;
|
|
473
|
+
/** Panel-ids in tab order. */
|
|
474
|
+
panels: string[];
|
|
475
|
+
/** Active panel-id (empty when the stack is empty). */
|
|
476
|
+
active: string;
|
|
477
|
+
/**
|
|
478
|
+
* App-defined container name (e.g. `primary-sidebar`). Must be unique
|
|
479
|
+
* within a layout; lookups resolve to the first match in tree order.
|
|
480
|
+
* Survives serialization and `normalize()` (named empty stacks are kept).
|
|
481
|
+
*/
|
|
482
|
+
name?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Hide tab labels in this leaf's strip (icon-only tabs). Passed down to
|
|
485
|
+
* the leaf's `ixfx-tab-list` as `hide-labels`.
|
|
486
|
+
*/
|
|
487
|
+
hideLabels?: boolean;
|
|
488
|
+
/** Whole stack collapsed to its titlebar / strip. */
|
|
489
|
+
collapsed?: boolean;
|
|
490
|
+
/** Size to restore into the parent split on expand. */
|
|
491
|
+
preCollapseSize?: string;
|
|
492
|
+
}
|
|
493
|
+
type DockOperation = `tabs` | `split-horizontal` | `split-vertical`;
|
|
494
|
+
interface DockPanelDragStartDetail {
|
|
495
|
+
readonly panelId: string;
|
|
496
|
+
readonly pointerId: number;
|
|
497
|
+
readonly clientX: number;
|
|
498
|
+
readonly clientY: number;
|
|
499
|
+
}
|
|
500
|
+
type DockPanelDragStartEvent = CustomEvent<DockPanelDragStartDetail>;
|
|
501
|
+
interface DockChangeDetail {
|
|
502
|
+
readonly layout: DockLayout;
|
|
503
|
+
}
|
|
504
|
+
type DockChangeEvent = CustomEvent<DockChangeDetail>;
|
|
505
|
+
interface DockPanelAddedDetail {
|
|
506
|
+
readonly panelId: string;
|
|
507
|
+
}
|
|
508
|
+
type DockPanelAddedEvent = CustomEvent<DockPanelAddedDetail>;
|
|
509
|
+
interface DockPanelRemovedDetail {
|
|
510
|
+
readonly panelId: string;
|
|
511
|
+
}
|
|
512
|
+
type DockPanelRemovedEvent = CustomEvent<DockPanelRemovedDetail>;
|
|
513
|
+
interface DockPanelActivatedDetail {
|
|
514
|
+
readonly panelId: string;
|
|
515
|
+
}
|
|
516
|
+
type DockPanelActivatedEvent = CustomEvent<DockPanelActivatedDetail>;
|
|
517
|
+
type DockPanelInit = {
|
|
518
|
+
panelId: string;
|
|
519
|
+
title?: string;
|
|
520
|
+
iconName?: string;
|
|
521
|
+
closable?: boolean;
|
|
522
|
+
collapsible?: boolean;
|
|
523
|
+
/** Content kind for leaf placement rules (default `'any'`). */
|
|
524
|
+
kind?: string;
|
|
525
|
+
};
|
|
526
|
+
/**
|
|
527
|
+
* Placement rules for one named leaf. A panel kind is accepted when it is
|
|
528
|
+
* not denied and (when an allowlist is present) it is allowed. `'any'` is
|
|
529
|
+
* the default panel kind and matches literally — it is not a wildcard.
|
|
530
|
+
*/
|
|
531
|
+
interface DockLeafContentRules {
|
|
532
|
+
/** Exclusive allowlist, or null when unrestricted. `[]` seals the leaf. */
|
|
533
|
+
readonly allow: readonly string[] | null;
|
|
534
|
+
/** Denylist (empty when nothing is denied). */
|
|
535
|
+
readonly deny: readonly string[];
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Reference to a stack leaf: either its container `name` or its numeric
|
|
539
|
+
* `path` in the layout tree (e.g. `[0, 1]`). Names resolve first-match in
|
|
540
|
+
* tree order; paths are validated against the current model.
|
|
541
|
+
*/
|
|
542
|
+
type DockLeafRef = string | readonly number[];
|
|
543
|
+
type DockDirection = `up` | `down` | `left` | `right`;
|
|
544
|
+
type DockEdge = `top` | `bottom` | `left` | `right`;
|
|
545
|
+
/** A neighbouring leaf: `name` is null for unnamed leaves. */
|
|
546
|
+
interface DockLeafInfo {
|
|
547
|
+
readonly name: string | null;
|
|
548
|
+
/** Path of the leaf in the current model (positional — may shift after mutations). */
|
|
549
|
+
readonly path: number[];
|
|
550
|
+
}
|
|
551
|
+
/** Geometric neighbours of a leaf, as flat lists (most-overlapping first). */
|
|
552
|
+
interface DockNeighbours {
|
|
553
|
+
readonly above: DockLeafInfo[];
|
|
554
|
+
readonly below: DockLeafInfo[];
|
|
555
|
+
readonly left: DockLeafInfo[];
|
|
556
|
+
readonly right: DockLeafInfo[];
|
|
557
|
+
}
|
|
558
|
+
type DockAddPanelTarget = {
|
|
559
|
+
/**
|
|
560
|
+
* Name of a named stack leaf (`DockStackNode.name`). Takes precedence over
|
|
561
|
+
* `stack` when both are given. Unknown names fall back to the first stack.
|
|
562
|
+
*/
|
|
563
|
+
container?: string;
|
|
564
|
+
/** A panel-id in the target stack (legacy lookup). */
|
|
565
|
+
stack?: string;
|
|
566
|
+
index?: number;
|
|
567
|
+
op?: DockOperation;
|
|
568
|
+
};
|
|
569
|
+
/**
|
|
570
|
+
* Plain, structured-clone-safe description of a panel. Enough to recreate an
|
|
571
|
+
* `ixfx-dock-panel` in another document / process (e.g. a new Electron
|
|
572
|
+
* `BrowserWindow`). `contentHTML` is a best-effort capture of the panel's
|
|
573
|
+
* light-DOM markup at snapshot time — apps whose panels hold live state or
|
|
574
|
+
* framework-managed DOM should rebuild the body from their own model instead
|
|
575
|
+
* and ignore this field.
|
|
576
|
+
*/
|
|
577
|
+
interface DockPanelSnapshot {
|
|
578
|
+
panelId: string;
|
|
579
|
+
title: string;
|
|
580
|
+
iconName: string;
|
|
581
|
+
closable: boolean;
|
|
582
|
+
collapsible: boolean;
|
|
583
|
+
/** Content kind for leaf placement rules (`'any'` when unset). */
|
|
584
|
+
kind: string;
|
|
585
|
+
/** The panel's `accepts` restriction token string (may be empty). */
|
|
586
|
+
accepts: string;
|
|
587
|
+
/** Best-effort `innerHTML` of the panel element at capture time. */
|
|
588
|
+
contentHTML: string;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Serializable result of hit-testing a point against a host — what a drop
|
|
592
|
+
* there would do. Returned by `queryDropTarget()` / `previewExternalDrop()`
|
|
593
|
+
* so a coordinator (in-page or over IPC) can reason about the outcome without
|
|
594
|
+
* a live `DockDropZone` (which carries element references).
|
|
595
|
+
*/
|
|
596
|
+
interface DockDropTarget {
|
|
597
|
+
operation: DockOperation;
|
|
598
|
+
/** Path of the target stack in the host model; `[]` = the host root. */
|
|
599
|
+
targetPath: number[];
|
|
600
|
+
side: `before` | `after`;
|
|
601
|
+
/** Tab insertion index for `tabs` drops. */
|
|
602
|
+
gapIndex?: number;
|
|
603
|
+
}
|
|
604
|
+
interface DockPanelTearOutDetail {
|
|
605
|
+
readonly panelId: string;
|
|
606
|
+
/** Snapshot captured from the source panel at release. */
|
|
607
|
+
readonly snapshot: DockPanelSnapshot;
|
|
608
|
+
/** Pointer position in the source window's viewport at release. */
|
|
609
|
+
readonly clientX: number;
|
|
610
|
+
readonly clientY: number;
|
|
611
|
+
/** Pointer position in screen coordinates at release — for window placement. */
|
|
612
|
+
readonly screenX: number;
|
|
613
|
+
readonly screenY: number;
|
|
614
|
+
}
|
|
615
|
+
type DockPanelTearOutEvent = CustomEvent<DockPanelTearOutDetail>;
|
|
616
|
+
interface DockDragBoundaryDetail {
|
|
617
|
+
readonly panelId: string;
|
|
618
|
+
readonly clientX: number;
|
|
619
|
+
readonly clientY: number;
|
|
620
|
+
readonly screenX: number;
|
|
621
|
+
readonly screenY: number;
|
|
622
|
+
}
|
|
623
|
+
/** `dock-panel-drag-out` / `dock-panel-drag-in`. */
|
|
624
|
+
type DockDragBoundaryEvent = CustomEvent<DockDragBoundaryDetail>;
|
|
625
|
+
//#endregion
|
|
626
|
+
//#region src/dock/dock-panel.d.ts
|
|
627
|
+
interface DockPanelElementEventMap {
|
|
628
|
+
'dock-panel-drag-start': DockPanelDragStartEvent;
|
|
629
|
+
'toggle': TitlebarToggleEvent;
|
|
630
|
+
'close': TitlebarCloseEvent;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Leaf content + metadata + drag handle. Renders `ixfx-titlebar` chrome when
|
|
634
|
+
* standalone (`presentation="solo"`) and content only when docked
|
|
635
|
+
* (`presentation="tabbed"` — the host's tab strip carries the title chrome).
|
|
636
|
+
* Adds `panel-id` and the titlebar drag handle. Works standalone outside a
|
|
637
|
+
* host (the drag-start event has no listener and is inert).
|
|
638
|
+
*/
|
|
639
|
+
declare class DockPanelElement extends LitElement {
|
|
640
|
+
/** Stable identity: model key, slot name suffix, serialization id. */
|
|
641
|
+
panelId: string;
|
|
356
642
|
/**
|
|
357
|
-
*
|
|
358
|
-
*
|
|
643
|
+
* Display text (tab label, titlebar). Stored in the `label` attribute —
|
|
644
|
+
* deliberately not `title`, so browsers never tooltip it.
|
|
359
645
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
646
|
+
title: string;
|
|
647
|
+
iconName: string;
|
|
648
|
+
closable: boolean;
|
|
649
|
+
collapsible: boolean;
|
|
650
|
+
/**
|
|
651
|
+
* Content kind for the host's leaf placement rules
|
|
652
|
+
* (`setLeafExclusiveContents` / `setLeafDenyContents`). Matched literally;
|
|
653
|
+
* defaults to `'any'`.
|
|
654
|
+
*/
|
|
655
|
+
kind: string;
|
|
656
|
+
/**
|
|
657
|
+
* Per-panel restriction when this panel is itself a drop target (solo
|
|
658
|
+
* leaf). Space-separated `tabs` / `horizontal` / `vertical` / `all`;
|
|
659
|
+
* `none` rejects everything; default is unrestricted.
|
|
660
|
+
*/
|
|
661
|
+
accepts: string;
|
|
662
|
+
/**
|
|
663
|
+
* Host-controlled. Docked panels are always `tabbed` (content only — the
|
|
664
|
+
* leaf's tab strip carries the title chrome). `solo` (full titlebar chrome)
|
|
665
|
+
* applies to panels outside a host or not currently docked.
|
|
666
|
+
*/
|
|
667
|
+
presentation: `solo` | `tabbed`;
|
|
668
|
+
/** Solo-mode collapse state, mirrored from the titlebar. */
|
|
669
|
+
private _collapsed;
|
|
670
|
+
private _dragPointerId;
|
|
671
|
+
private _dragStartX;
|
|
672
|
+
private _dragStartY;
|
|
673
|
+
private _dragStarted;
|
|
674
|
+
connectedCallback(): void;
|
|
675
|
+
disconnectedCallback(): void;
|
|
363
676
|
private _onPointerDown;
|
|
364
677
|
private _onPointerMove;
|
|
365
678
|
private _onPointerUp;
|
|
366
|
-
private
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
679
|
+
private _teardownDragListeners;
|
|
680
|
+
/** Clicks that begin on the close / caret buttons or the toolbar are not drags. */
|
|
681
|
+
private _isDragHandle;
|
|
682
|
+
private _dispatchDragStart;
|
|
683
|
+
private _onTitlebarToggle;
|
|
684
|
+
private _onTitlebarClose;
|
|
685
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
686
|
+
static styles: import("lit").CSSResult[];
|
|
687
|
+
}
|
|
688
|
+
declare global {
|
|
689
|
+
interface HTMLElementTagNameMap {
|
|
690
|
+
'ixfx-dock-panel': DockPanelElement;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
interface DockPanelElement {
|
|
694
|
+
addEventListener: (<K extends keyof DockPanelElementEventMap>(type: K, listener: (this: DockPanelElement, event: DockPanelElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
695
|
+
}
|
|
696
|
+
//#endregion
|
|
697
|
+
//#region src/dock/dock-host.d.ts
|
|
698
|
+
interface DockHostElementEventMap {
|
|
699
|
+
'dock-change': DockChangeEvent;
|
|
700
|
+
'dock-panel-added': DockPanelAddedEvent;
|
|
701
|
+
'dock-panel-removed': DockPanelRemovedEvent;
|
|
702
|
+
'dock-panel-activated': DockPanelActivatedEvent;
|
|
703
|
+
'dock-panel-drag-start': DockPanelDragStartEvent;
|
|
704
|
+
/** Panel released outside every host — request to move it to a new window. */
|
|
705
|
+
'dock-panel-tear-out': DockPanelTearOutEvent;
|
|
706
|
+
/** Drag pointer left every host's bounds during a drag. */
|
|
707
|
+
'dock-panel-drag-out': DockDragBoundaryEvent;
|
|
708
|
+
/** Drag pointer re-entered a host's bounds after being outside. */
|
|
709
|
+
'dock-panel-drag-in': DockDragBoundaryEvent;
|
|
710
|
+
}
|
|
711
|
+
declare class DockHostElement extends LitElement {
|
|
712
|
+
/** Initial layout as `DockLayout` JSON. Absent ⇒ all pooled panels go into one root stack. */
|
|
713
|
+
layout: string | null;
|
|
714
|
+
/**
|
|
715
|
+
* Space-separated drop operations this host allows: `tabs`, `horizontal`,
|
|
716
|
+
* `vertical`, and convenience `all`. `""` / `none` ⇒ nothing may be dropped.
|
|
717
|
+
*/
|
|
718
|
+
accepts: string;
|
|
719
|
+
/** Finest-grained veto, consulted per candidate zone. */
|
|
720
|
+
canAccept: ((panelId: string, op: DockOperation) => boolean) | undefined;
|
|
721
|
+
private _model;
|
|
722
|
+
private _pool;
|
|
723
|
+
private _dropZone;
|
|
724
|
+
private _dragActive;
|
|
725
|
+
private _junctions;
|
|
726
|
+
/** panelId → toolbar nodes currently moved out into a tab item. */
|
|
727
|
+
private _toolbarsOut;
|
|
728
|
+
/**
|
|
729
|
+
* Placement policy per named leaf: `{ allow, deny }` kind sets.
|
|
730
|
+
* Host-level only — never serialized into the layout, but kept across
|
|
731
|
+
* `loadLayout()` calls. Existing panels are grandfathered; rules govern
|
|
732
|
+
* future placements (drags, `addPanel`, re-homing).
|
|
733
|
+
*/
|
|
734
|
+
private _leafContentRules;
|
|
735
|
+
private _tabDragPending;
|
|
736
|
+
private _junctionsKey;
|
|
737
|
+
private _junctionsRaf;
|
|
738
|
+
private _hostResizeObserver;
|
|
739
|
+
/** `toolbar-<name>` slot names currently provided as light-DOM children. */
|
|
740
|
+
private _toolbarSlots;
|
|
741
|
+
private _toolbarObserver;
|
|
742
|
+
connectedCallback(): void;
|
|
743
|
+
disconnectedCallback(): void;
|
|
744
|
+
private _onDragStart;
|
|
745
|
+
willUpdate(changed: Map<string, unknown>): void;
|
|
746
|
+
updated(changed: Map<string, unknown>): void;
|
|
747
|
+
private _buildInitialModel;
|
|
748
|
+
/** Ensure every pooled panel element appears in the model (appended to the first stack). */
|
|
749
|
+
private _mergePoolIntoModel;
|
|
750
|
+
private _scanPanels;
|
|
751
|
+
/** Refresh the set of provided `toolbar-<name>` slots; re-render on change. */
|
|
752
|
+
private _scanToolbarSlots;
|
|
753
|
+
private _findPanelEl;
|
|
754
|
+
private _firstStack;
|
|
755
|
+
private _appendPanelToFirstStack;
|
|
756
|
+
/** Normalized content kind of a panel (`'any'` when unknown/unset). */
|
|
757
|
+
private _panelKind;
|
|
758
|
+
/** Whether `kind` may live in `stack` under the current leaf rules. */
|
|
759
|
+
private _stackAllowsKind;
|
|
760
|
+
/** First stack (tree order) whose rules admit `kind`, else the first stack. */
|
|
761
|
+
private _firstStackAllowing;
|
|
762
|
+
private _onPoolSlotChange;
|
|
763
|
+
private _syncPool;
|
|
764
|
+
/** Serialize the current layout, folding live split weights from the DOM. */
|
|
765
|
+
saveLayout(): DockLayout;
|
|
766
|
+
loadLayout(layout: DockLayout): void;
|
|
767
|
+
/**
|
|
768
|
+
* Dock a panel. Returns false (without touching the DOM) when the
|
|
769
|
+
* explicitly targeted container denies the panel's `kind`.
|
|
770
|
+
*/
|
|
771
|
+
addPanel(panel: DockPanelElement | DockPanelInit, target?: DockAddPanelTarget): boolean;
|
|
772
|
+
/** Whether the stack at `stackPath` admits `kind` under the leaf rules. */
|
|
773
|
+
private _stackAllowsKindAt;
|
|
774
|
+
removePanel(panelId: string): boolean;
|
|
775
|
+
activatePanel(panelId: string): boolean;
|
|
776
|
+
getPanelIds(): string[];
|
|
777
|
+
/** Names of every named stack leaf, in tree order. */
|
|
778
|
+
getContainerNames(): string[];
|
|
779
|
+
/**
|
|
780
|
+
* Snapshot of a named container (`{ name, panels, active }`), or null when
|
|
781
|
+
* no stack carries that name. First match wins when duplicated.
|
|
782
|
+
*/
|
|
783
|
+
getContainer(name: string): {
|
|
784
|
+
name: string;
|
|
785
|
+
panels: string[];
|
|
786
|
+
active: string;
|
|
787
|
+
} | null;
|
|
788
|
+
/** Panel-ids in a named container, in tab order (`[]` when unknown/empty). */
|
|
789
|
+
getContainerPanels(name: string): string[];
|
|
790
|
+
/** Panel elements in a named container, in tab order — for iterating children. */
|
|
791
|
+
getContainerElements(name: string): DockPanelElement[];
|
|
792
|
+
/**
|
|
793
|
+
* Restrict a named container to only the given panel kinds — e.g.
|
|
794
|
+
* `setLeafExclusiveContents('editor', ['document'])`. `tabs` drops,
|
|
795
|
+
* `addPanel`, and re-homing into the leaf then refuse other kinds, while
|
|
796
|
+
* edge splits beside the leaf stay allowed (they create a new leaf).
|
|
797
|
+
* Pass `[]` to seal the leaf (nothing admitted). Warns when no stack
|
|
798
|
+
* currently carries `name`, but the rule is still stored and applies once
|
|
799
|
+
* one appears. Rules are host policy: kept across `loadLayout()`, never
|
|
800
|
+
* serialized.
|
|
801
|
+
*/
|
|
802
|
+
setLeafExclusiveContents(name: string, kinds: readonly string[]): void;
|
|
803
|
+
/**
|
|
804
|
+
* Forbid the given panel kinds in a named container — e.g.
|
|
805
|
+
* `setLeafDenyContents('footer', ['files', 'document'])`. Everything else
|
|
806
|
+
* stays admitted. Pass `[]` to lift the denial. See
|
|
807
|
+
* {@link setLeafExclusiveContents} for scope/ordering notes.
|
|
808
|
+
*/
|
|
809
|
+
setLeafDenyContents(name: string, kinds: readonly string[]): void;
|
|
810
|
+
/** Remove every content rule for a named container. */
|
|
811
|
+
clearLeafContentRestrictions(name: string): void;
|
|
812
|
+
/** Copy of a container's rules, or null when unrestricted. */
|
|
813
|
+
getLeafContentRestrictions(name: string): DockLeafContentRules | null;
|
|
814
|
+
/**
|
|
815
|
+
* Geometric neighbours of a leaf (`name` or numeric `path`) — what sits
|
|
816
|
+
* above / below / left / right of it on screen. Each entry is
|
|
817
|
+
* `{ name, path }` (`name` is null for unnamed leaves), ordered
|
|
818
|
+
* most-overlapping first. Returns null when the leaf is unknown.
|
|
819
|
+
*/
|
|
820
|
+
getNeighbours(leaf: DockLeafRef): DockNeighbours | null;
|
|
821
|
+
/**
|
|
822
|
+
* Move a leaf one position in `direction`, swapping with the neighbour it
|
|
823
|
+
* shares the longest edge with (both keep the remaining structure intact).
|
|
824
|
+
* Returns false when the leaf is unknown or nothing adjoins that way.
|
|
825
|
+
*/
|
|
826
|
+
moveLeaf(leaf: DockLeafRef, direction: DockDirection): boolean;
|
|
827
|
+
/**
|
|
828
|
+
* Move a leaf to an edge of the overall layout (e.g. toggle a sidebar from
|
|
829
|
+
* `left` to `right`). The rest of the layout stays intact as a single
|
|
830
|
+
* subtree and the leaf keeps its absolute size along the target axis.
|
|
831
|
+
* Returns false when the leaf is unknown or the layout holds one leaf.
|
|
832
|
+
*/
|
|
833
|
+
moveLeafToEdge(leaf: DockLeafRef, edge: DockEdge): boolean;
|
|
834
|
+
/**
|
|
835
|
+
* Capture a structured-clone-safe {@link DockPanelSnapshot} of a panel
|
|
836
|
+
* (identity, chrome attributes, and a best-effort `innerHTML`). Returns
|
|
837
|
+
* null when no such panel element is known to this host.
|
|
838
|
+
*/
|
|
839
|
+
getPanelSnapshot(panelId: string): DockPanelSnapshot | null;
|
|
840
|
+
/**
|
|
841
|
+
* {@link getPanelSnapshot} + {@link removePanel} in one step: take the
|
|
842
|
+
* snapshot, then drop the panel (and its element) from this host. Call this
|
|
843
|
+
* from a `dock-panel-tear-out` handler once the receiving window has
|
|
844
|
+
* recreated the panel.
|
|
845
|
+
*/
|
|
846
|
+
detachPanel(panelId: string): DockPanelSnapshot | null;
|
|
847
|
+
/**
|
|
848
|
+
* Hit-test viewport coordinates against this host and return a plain,
|
|
849
|
+
* serializable {@link DockDropTarget} (no element references) — or null when
|
|
850
|
+
* the point is outside the host or the resulting zone is disallowed by
|
|
851
|
+
* `accepts` / `canAccept`. Pure query: no model mutation, no overlay.
|
|
852
|
+
*
|
|
853
|
+
* `panelId` is passed to `canAccept`; use any stable id for an external
|
|
854
|
+
* panel (defaults to `"__external__"`). `kind` covers leaf content rules
|
|
855
|
+
* for panels unknown to this host (defaults to `'any'`).
|
|
856
|
+
*/
|
|
857
|
+
queryDropTarget(clientX: number, clientY: number, panelId?: string, kind?: string): DockDropTarget | null;
|
|
858
|
+
/**
|
|
859
|
+
* Like {@link queryDropTarget}, but also shows the drop overlay so an
|
|
860
|
+
* external (cross-window) drag gets the same visual feedback as an in-page
|
|
861
|
+
* one. Call on every pointer update from the outer coordinator, then
|
|
862
|
+
* {@link endExternalDrop} when the drag leaves or ends.
|
|
863
|
+
*/
|
|
864
|
+
previewExternalDrop(clientX: number, clientY: number, panelId?: string, kind?: string): DockDropTarget | null;
|
|
865
|
+
/** Clear any overlay left by {@link previewExternalDrop}. */
|
|
866
|
+
endExternalDrop(): void;
|
|
867
|
+
/**
|
|
868
|
+
* Recreate a panel from a {@link DockPanelSnapshot} (or a bare
|
|
869
|
+
* {@link DockPanelInit}) and dock it. With `at` viewport coordinates the
|
|
870
|
+
* panel lands where a drop there would put it (respecting `accepts` /
|
|
871
|
+
* `canAccept` and leaf content rules); without them, or when the point
|
|
872
|
+
* misses the host, it goes into the first stack admitting its kind.
|
|
873
|
+
* Returns the created element, or null when a panel
|
|
874
|
+
* with that id is already docked here.
|
|
875
|
+
*/
|
|
876
|
+
acceptExternalPanel(snapshot: DockPanelSnapshot | DockPanelInit, at?: {
|
|
877
|
+
clientX: number;
|
|
878
|
+
clientY: number;
|
|
879
|
+
}): DockPanelElement | null;
|
|
880
|
+
/**
|
|
881
|
+
* Hit-test a pointer position against this host's leaves and edges. Returns
|
|
882
|
+
* a zone with rects relative to the host, or null when the pointer is
|
|
883
|
+
* outside the host or the candidate zone is disallowed.
|
|
884
|
+
*/
|
|
885
|
+
computeDropZone(clientX: number, clientY: number, panelId: string, kind?: string): DockDropZone | null;
|
|
886
|
+
private _zoneAllowed;
|
|
887
|
+
/**
|
|
888
|
+
* Apply a drop. `sourceHost` differs from `this` when the drag crossed
|
|
889
|
+
* hosts; the panel element is adopted into this host first.
|
|
890
|
+
*/
|
|
891
|
+
handleDrop(panelId: string, zone: DockDropZone, sourceHost?: DockHostElement): void;
|
|
892
|
+
/**
|
|
893
|
+
* Move `panelId` (already present somewhere in the model) to the position
|
|
894
|
+
* described by `zone`. Shared by in-page drops and external panel adoption.
|
|
895
|
+
*/
|
|
896
|
+
private _applyZone;
|
|
897
|
+
/**
|
|
898
|
+
* Move a panel element out of this host into `target`, dropping it from
|
|
899
|
+
* this host's model. Used for cross-host drags.
|
|
900
|
+
*/
|
|
901
|
+
releasePanel(panelId: string, target: DockHostElement): void;
|
|
902
|
+
/** Adopt a panel element from another host (the one sanctioned reparent). */
|
|
903
|
+
adoptPanelElement(el: DockPanelElement): void;
|
|
904
|
+
setDragActive(active: boolean): void;
|
|
905
|
+
setDropZone(zone: DockDropZone | null): void;
|
|
906
|
+
private _scheduleJunctions;
|
|
907
|
+
/**
|
|
908
|
+
* Find points where a parent split's gutter line meets a nested split's
|
|
909
|
+
* gutter (T and + crossings). Each junction handle starts both gutter drags
|
|
910
|
+
* at once, like a corner resize in VS Code.
|
|
911
|
+
*/
|
|
912
|
+
private _computeJunctions;
|
|
913
|
+
private _onJunctionPointerDown;
|
|
914
|
+
/** Fold live weights from each rendered `ixfx-split-layout` into the model. */
|
|
915
|
+
private _foldLiveWeights;
|
|
916
|
+
private _onSplitWeightsChanged;
|
|
917
|
+
private _onSplitCollapsed;
|
|
918
|
+
private _onSplitClose;
|
|
919
|
+
private _onTabChange;
|
|
920
|
+
private _onStripPointerDown;
|
|
921
|
+
private _onTabDragMove;
|
|
922
|
+
private _onTabDragUp;
|
|
923
|
+
private _teardownTabDragListeners;
|
|
924
|
+
/** After a dock drag from a tab/titlebar, swallow the trailing click so it cannot re-select or toggle. */
|
|
925
|
+
private _suppressNextClick;
|
|
926
|
+
private _removeFromModel;
|
|
927
|
+
/** Normalize, re-render, and announce the structural change. */
|
|
928
|
+
private _commit;
|
|
929
|
+
private _syncSlots;
|
|
930
|
+
/**
|
|
931
|
+
* Per-panel toolbar routing: docked panels render content-only, so the
|
|
932
|
+
* active panel's toolbar nodes live in its generated tab item (shown
|
|
933
|
+
* right-aligned while active). Node moves preserve element state. Panels
|
|
934
|
+
* outside the model keep their toolbar in their own (solo) chrome.
|
|
935
|
+
*/
|
|
936
|
+
private _syncToolbars;
|
|
937
|
+
private _returnToolbar;
|
|
938
|
+
private _returnAllToolbars;
|
|
939
|
+
private _emitChange;
|
|
940
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
941
|
+
private _renderNode;
|
|
942
|
+
private _renderSplit;
|
|
943
|
+
private _renderLeaf;
|
|
944
|
+
private _renderTabItem;
|
|
945
|
+
private _stripCaretRect;
|
|
946
|
+
static styles: import("lit").CSSResult[];
|
|
381
947
|
}
|
|
382
948
|
declare global {
|
|
383
949
|
interface HTMLElementTagNameMap {
|
|
384
|
-
'ixfx-
|
|
950
|
+
'ixfx-dock-host': DockHostElement;
|
|
385
951
|
}
|
|
386
952
|
}
|
|
953
|
+
interface DockHostElement {
|
|
954
|
+
addEventListener: (<K extends keyof DockHostElementEventMap>(type: K, listener: (this: DockHostElement, event: DockHostElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void);
|
|
955
|
+
}
|
|
956
|
+
//#endregion
|
|
957
|
+
//#region src/dock/dock-drag.d.ts
|
|
958
|
+
interface Rect$1 {
|
|
959
|
+
readonly x: number;
|
|
960
|
+
readonly y: number;
|
|
961
|
+
readonly w: number;
|
|
962
|
+
readonly h: number;
|
|
963
|
+
}
|
|
964
|
+
interface DockDropZone {
|
|
965
|
+
/** Host whose model would receive the drop. */
|
|
966
|
+
readonly host: DockHostElement;
|
|
967
|
+
readonly operation: DockOperation;
|
|
968
|
+
/** Path of the target stack (`[]` = the host root). */
|
|
969
|
+
readonly targetPath: number[];
|
|
970
|
+
readonly side: `before` | `after`;
|
|
971
|
+
/** Insert position for `tabs` drops (panel index in the target stack). */
|
|
972
|
+
readonly gapIndex?: number;
|
|
973
|
+
/** Highlight rect, relative to the host. */
|
|
974
|
+
readonly rect: Rect$1;
|
|
975
|
+
/** Optional insertion caret for strip gaps, relative to the host. */
|
|
976
|
+
readonly caretRect?: Rect$1;
|
|
977
|
+
}
|
|
978
|
+
/** True when the point lies within the bounding box of any registered host. */
|
|
979
|
+
declare function pointerOverAnyHost(clientX: number, clientY: number): boolean;
|
|
980
|
+
declare function isDragging(): boolean;
|
|
981
|
+
declare function getActiveDragPanelId(): string | null;
|
|
982
|
+
//#endregion
|
|
983
|
+
//#region src/dock/dock-model.d.ts
|
|
984
|
+
/**
|
|
985
|
+
* The dock model is a plain mutable tree owned exclusively by the host
|
|
986
|
+
* element. Mutators below change the tree in place; the host calls
|
|
987
|
+
* `normalize(root)` then `requestUpdate()` after batching mutations.
|
|
988
|
+
*/
|
|
989
|
+
declare function isSplit(node: DockNode): node is DockSplitNode;
|
|
990
|
+
declare function isStack(node: DockNode): node is DockStackNode;
|
|
991
|
+
declare function createEmptyStack(): DockStackNode;
|
|
992
|
+
declare function createEmptyLayout(): DockLayout;
|
|
993
|
+
declare function createStack(panels: string[], active?: string, name?: string): DockStackNode;
|
|
994
|
+
declare function createSplit(direction: DockAxis, children: DockNode[], sizes?: number[]): DockSplitNode;
|
|
995
|
+
/**
|
|
996
|
+
* Runs after every mutation:
|
|
997
|
+
* - stack `active` fixed to a member of `panels` (or `''` when empty)
|
|
998
|
+
* - empty *unnamed* stacks removed from their parent split (and their
|
|
999
|
+
* `sizes` entry); named empty stacks are kept so the name stays addressable
|
|
1000
|
+
* - splits with ≤1 child replaced by that child (spliced into the parent)
|
|
1001
|
+
* - a child split whose direction equals its parent's is flattened into it,
|
|
1002
|
+
* spreading its sizes across the slot it vacated
|
|
1003
|
+
* - `sizes` kept parallel to `children` (padded with the mean weight)
|
|
1004
|
+
* - an empty root collapses to a single empty stack
|
|
1005
|
+
*/
|
|
1006
|
+
declare function normalize(root: DockNode): DockNode;
|
|
1007
|
+
declare function findNode(root: DockNode, path: number[]): DockNode | null;
|
|
1008
|
+
/** Parent split of the node at `path`; null when path is empty or malformed. */
|
|
1009
|
+
declare function findParentOf(root: DockNode, path: number[]): DockSplitNode | null;
|
|
1010
|
+
/** Path of the stack containing `panelId`, or null. */
|
|
1011
|
+
declare function findStackOf(root: DockNode, panelId: string): number[] | null;
|
|
1012
|
+
declare function collectPanelIds(root: DockNode): string[];
|
|
1013
|
+
/**
|
|
1014
|
+
* Path of the first stack (tree order) whose `name` matches, or null.
|
|
1015
|
+
* Names are expected to be unique per layout; duplicates resolve first-wins.
|
|
1016
|
+
*/
|
|
1017
|
+
declare function findStackPathByName(root: DockNode, name: string): number[] | null;
|
|
1018
|
+
/** Names of every named stack leaf, in tree order. */
|
|
1019
|
+
declare function collectContainerNames(root: DockNode): string[];
|
|
1020
|
+
/**
|
|
1021
|
+
* Paths of every stack leaf, in tree order. `[]` is the root itself when it
|
|
1022
|
+
* is a stack.
|
|
1023
|
+
*/
|
|
1024
|
+
declare function collectStackPaths(root: DockNode): number[][];
|
|
1025
|
+
declare function addPanelToStack(stack: DockStackNode, panelId: string, index?: number): void;
|
|
1026
|
+
declare function removePanelFromStack(stack: DockStackNode, panelId: string): void;
|
|
1027
|
+
declare function setActive(stack: DockStackNode, panelId: string): boolean;
|
|
1028
|
+
/**
|
|
1029
|
+
* Insert `node` beside the child at `targetPath`, into the parent split when
|
|
1030
|
+
* its direction matches `direction`, otherwise wrap the target in a new split.
|
|
1031
|
+
* `side` selects before/after; the neighbour's weight is split 50/50.
|
|
1032
|
+
* Returns the path of the inserted node, or null.
|
|
1033
|
+
*/
|
|
1034
|
+
declare function insertBeside(root: DockNode, targetPath: number[], direction: DockAxis, newNode: DockNode, side: `before` | `after`): number[] | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* Wrap the whole root in a new split of `direction`, replacing it in place so
|
|
1037
|
+
* the caller's reference stays valid. Returns true on success.
|
|
1038
|
+
*/
|
|
1039
|
+
declare function wrapRoot(root: DockNode, direction: DockAxis, newNode: DockNode, side: `before` | `after`): boolean;
|
|
1040
|
+
/**
|
|
1041
|
+
* Remove the stack at `stackPath` from the tree. Its panels are moved into
|
|
1042
|
+
* `fallbackStack` (if given and still attached) so they are not silently
|
|
1043
|
+
* lost; otherwise they are dropped from the model (elements return to the
|
|
1044
|
+
* pool). Returns the removed stack.
|
|
1045
|
+
*/
|
|
1046
|
+
declare function extractStack(root: DockNode, stackPath: number[], fallbackStack?: DockStackNode): DockStackNode | null;
|
|
1047
|
+
interface DockRect {
|
|
1048
|
+
x: number;
|
|
1049
|
+
y: number;
|
|
1050
|
+
w: number;
|
|
1051
|
+
h: number;
|
|
1052
|
+
}
|
|
1053
|
+
interface LeafGeom {
|
|
1054
|
+
path: number[];
|
|
1055
|
+
name: string | null;
|
|
1056
|
+
rect: DockRect;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Resolve a {@link DockLeafRef} to a stack path. Strings match container
|
|
1060
|
+
* `name` first-wins; arrays must index an existing stack leaf. Returns null
|
|
1061
|
+
* when unresolvable.
|
|
1062
|
+
*/
|
|
1063
|
+
declare function resolveLeafPath(root: DockNode, ref: DockLeafRef): number[] | null;
|
|
1064
|
+
/** Absolute (unit-square) rect of every stack leaf, in tree order. */
|
|
1065
|
+
declare function computeLeafGeoms(root: DockNode): LeafGeom[];
|
|
1066
|
+
/**
|
|
1067
|
+
* Geometric neighbours of a leaf — what the user sees above / below / left /
|
|
1068
|
+
* right of it. Each list holds `{ name, path }` (name is null for unnamed
|
|
1069
|
+
* leaves), ordered most-overlapping first. Returns null when `ref` is
|
|
1070
|
+
* unresolvable.
|
|
1071
|
+
*/
|
|
1072
|
+
declare function getLeafNeighbours(root: DockNode, ref: DockLeafRef): DockNeighbours | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Exchange two leaves' positions in the tree, each carrying its size slot so
|
|
1075
|
+
* the remaining structure and proportions are untouched. Returns false when
|
|
1076
|
+
* either path is not a stack leaf.
|
|
1077
|
+
*/
|
|
1078
|
+
declare function swapLeaves(root: DockNode, pathA: number[], pathB: number[]): boolean;
|
|
1079
|
+
/**
|
|
1080
|
+
* Move a leaf one position in `direction`, swapping with the neighbour it
|
|
1081
|
+
* shares the longest edge with. Returns false when `ref` is unresolvable or
|
|
1082
|
+
* nothing adjoins in that direction. Run `normalize()` afterwards.
|
|
1083
|
+
*/
|
|
1084
|
+
declare function moveLeafStep(root: DockNode, ref: DockLeafRef, direction: DockDirection): boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* Move a leaf to an edge of the overall layout, keeping the rest of the
|
|
1087
|
+
* tree intact as a single subtree and preserving the leaf's absolute size
|
|
1088
|
+
* along the target axis. Returns false when `ref` is unresolvable or the
|
|
1089
|
+
* layout holds a single leaf. Run `normalize()` afterwards (also safe to
|
|
1090
|
+
* call it twice — the host's commit does).
|
|
1091
|
+
*/
|
|
1092
|
+
declare function moveLeafNodeToEdge(root: DockNode, ref: DockLeafRef, edge: DockEdge): boolean;
|
|
1093
|
+
declare function serializeLayout(root: DockNode): DockLayout;
|
|
1094
|
+
/**
|
|
1095
|
+
* Parse layout JSON, validate loosely, and normalize. Returns null when the
|
|
1096
|
+
* JSON is malformed or the root is missing/invalid.
|
|
1097
|
+
*/
|
|
1098
|
+
declare function parseLayout(json: string): DockLayout | null;
|
|
387
1099
|
//#endregion
|
|
388
1100
|
//#region src/form/form-group.d.ts
|
|
389
1101
|
declare class FormGroupElement extends LitElement {
|
|
@@ -560,6 +1272,7 @@ declare class PanelGroupElement extends LitElement {
|
|
|
560
1272
|
orientation: PanelGroupOrientation;
|
|
561
1273
|
variant: PanelVariant;
|
|
562
1274
|
toggleInteraction: PanelToggleInteraction;
|
|
1275
|
+
collapsible: boolean;
|
|
563
1276
|
allowMultiple: boolean;
|
|
564
1277
|
gap: string;
|
|
565
1278
|
private _panels;
|
|
@@ -761,6 +1474,24 @@ declare global {
|
|
|
761
1474
|
}
|
|
762
1475
|
}
|
|
763
1476
|
//#endregion
|
|
1477
|
+
//#region src/split-layout/split-model.d.ts
|
|
1478
|
+
declare function buildModel(rootEl: HTMLElement): GroupNode;
|
|
1479
|
+
declare function normalise(group: GroupNode): GroupNode;
|
|
1480
|
+
interface DistributeResult {
|
|
1481
|
+
sizesPx: number[];
|
|
1482
|
+
belowMin: number[];
|
|
1483
|
+
}
|
|
1484
|
+
declare function distribute(sizesPx: number[], gutterIndex: number, deltaPx: number, constraints: Array<{
|
|
1485
|
+
minPx: number;
|
|
1486
|
+
maxPx: number | null;
|
|
1487
|
+
fixedPx: number | null;
|
|
1488
|
+
whenSmall: WhenSmall;
|
|
1489
|
+
}>): DistributeResult;
|
|
1490
|
+
declare function resolveTracks(group: GroupNode, _containerPx: number): string;
|
|
1491
|
+
declare function toSnapshot(group: GroupNode): LayoutSnapshot;
|
|
1492
|
+
declare function applySnapshot(group: GroupNode, snapshot: LayoutSnapshot): GroupNode;
|
|
1493
|
+
declare function walk(group: GroupNode, visitor: (node: LayoutNode, path: number[]) => void): void;
|
|
1494
|
+
//#endregion
|
|
764
1495
|
//#region src/tabs/tab-panel.d.ts
|
|
765
1496
|
declare class TabPanelElement extends LitElement {
|
|
766
1497
|
render(): import("lit").TemplateResult<1>;
|
|
@@ -956,12 +1687,14 @@ declare global {
|
|
|
956
1687
|
type ToolbarOrientation = `horizontal` | `vertical-left` | `vertical-right`;
|
|
957
1688
|
type ToolbarLayout = `one-line` | `wrap`;
|
|
958
1689
|
type ToolbarVerticalWriting = `auto` | `up` | `down` | `none`;
|
|
1690
|
+
type ToolbarAlign = `near` | `far`;
|
|
959
1691
|
//#endregion
|
|
960
1692
|
//#region src/toolbar/toolbar.d.ts
|
|
961
1693
|
declare class ToolbarElement extends LitElement {
|
|
962
1694
|
orientation: ToolbarOrientation;
|
|
963
1695
|
layout: ToolbarLayout;
|
|
964
1696
|
verticalWriting: ToolbarVerticalWriting;
|
|
1697
|
+
toolbarAlign: ToolbarAlign;
|
|
965
1698
|
showGroupLabels: boolean;
|
|
966
1699
|
invisibleGroups: boolean;
|
|
967
1700
|
private _overflowCount;
|
|
@@ -992,11 +1725,68 @@ declare global {
|
|
|
992
1725
|
}
|
|
993
1726
|
}
|
|
994
1727
|
//#endregion
|
|
1728
|
+
//#region src/twosplit-layout/split-layout.d.ts
|
|
1729
|
+
/**
|
|
1730
|
+
* Lays out two elements within a container, with a bar to resize them
|
|
1731
|
+
* proportionally.
|
|
1732
|
+
*
|
|
1733
|
+
* Events
|
|
1734
|
+
* ixfx-split-collapsed: Dispatched when a panel is collapsed/uncollapsed via drag.
|
|
1735
|
+
* detail: { panel: 'A' | 'B', collapsed: boolean }
|
|
1736
|
+
*
|
|
1737
|
+
* Attributes
|
|
1738
|
+
* layout: `vertical`|`horizontal`
|
|
1739
|
+
* sizeA/B: CSS size of section A or B. Can use relative or absolute values
|
|
1740
|
+
* fixedA/B: If _true_ size will be calculated in pixels. By default (_false_) it uses % of whole
|
|
1741
|
+
* collapsible: If _true_, panels can be collapsed by dragging to edge (default: false)
|
|
1742
|
+
* minSizeA/B: Minimum size for panel A or B (e.g., "100px" or "20%"). Default: none
|
|
1743
|
+
* maxSizeA/B: Maximum size for panel A or B (e.g., "200px" or "80%"). Default: none
|
|
1744
|
+
*
|
|
1745
|
+
* CSS variables
|
|
1746
|
+
* --handle-size: 2px; // Width/height of split bar
|
|
1747
|
+
* --handle-colour: var(--surface-5); // Colour of handle
|
|
1748
|
+
* --handle-hover-colour: var(--surface-6); // Colour of handle when hovering
|
|
1749
|
+
* --handle-active-colour: var(--accent); // Colour of handle when being used
|
|
1750
|
+
* --handle-bg: var(--handle-colour); // Background of grab handle rectangle
|
|
1751
|
+
* --handle-grab-colour: var(--surface-muted-text); // Colour of grab handle dots
|
|
1752
|
+
* --handle-grab-dot-size: 3px; // Diameter of grab handle dots
|
|
1753
|
+
* --handle-grab-size: 16px; // Length of grab handle
|
|
1754
|
+
* --handle-grab-thickness: 8px; // Thickness of grab handle
|
|
1755
|
+
*/
|
|
1756
|
+
declare class TwoSplitLayoutElement extends LitElement {
|
|
1757
|
+
#private;
|
|
1758
|
+
layout: `vertical` | `horizontal`;
|
|
1759
|
+
sizeA: string;
|
|
1760
|
+
sizeB: string;
|
|
1761
|
+
fixedA: boolean;
|
|
1762
|
+
fixedB: boolean;
|
|
1763
|
+
collapsible: boolean;
|
|
1764
|
+
collapsedA: boolean;
|
|
1765
|
+
collapsedB: boolean;
|
|
1766
|
+
minSizeA: string;
|
|
1767
|
+
maxSizeA: string;
|
|
1768
|
+
minSizeB: string;
|
|
1769
|
+
maxSizeB: string;
|
|
1770
|
+
private _hasCorner;
|
|
1771
|
+
private get showGrabHandle();
|
|
1772
|
+
disconnectedCallback(): void;
|
|
1773
|
+
firstUpdated(): void;
|
|
1774
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
1775
|
+
getZone(): HTMLElement | undefined;
|
|
1776
|
+
render(): import("lit").TemplateResult<1>;
|
|
1777
|
+
static styles: import("lit").CSSResult[];
|
|
1778
|
+
}
|
|
1779
|
+
declare global {
|
|
1780
|
+
interface HTMLElementTagNameMap {
|
|
1781
|
+
"ixfx-twosplit-layout": TwoSplitLayoutElement;
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
//#endregion
|
|
995
1785
|
//#region src/util/checkbox.d.ts
|
|
996
1786
|
declare function monitorIndeterminate(targetElOrQuery: string | HTMLElement, watchedElsOrQueries: Array<string | HTMLElement>): () => void;
|
|
997
1787
|
//#endregion
|
|
998
1788
|
//#region src/index.d.ts
|
|
999
1789
|
declare function init(): void;
|
|
1000
1790
|
//#endregion
|
|
1001
|
-
export { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, ButtonElement, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, ConfigEntry, ContiguousSelectEventDetail, CrossoverBehaviour, CrumbNavChangeDetail, CrumbNavChangeEvent, CrumbNavExpandDetail, CrumbNavExpandEvent, CrumbNavNavigateDetail, CrumbNavNavigateEvent, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, CrumbPathController, CrumbPathControllerOptions, CrumbPathElement, CrumbPathElementEventMap, CrumbSegment, CrumbSiblingLookupFn, type CssVars, CustomCheckboxOptions, DataBatch, DataController, DataControllerOptions, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, DataGridElement, DataGridElementEventMap, DataGridGroupChangeDetail, DataGridGroupChangeEvent, DataGridSelectDetail, DataGridSelectEvent, DataGridSortDetail, DataGridSortEvent, DataProviderResult, DisplayTextLogic, DragSnappingFn, DragTarget, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, Endpoints, EntryMode, FormElement, FormGroupElement, FormPartElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GridMode, GridResolution, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, type IconChangedDetail, type IconChangedEvent, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxRatingElement, IxfxTimelineElement, LabelledRadialInput, LabelledRangeInput, LaneData, LaneType, LedElement, type ListActivateDetail, type ListActivateEvent, type ListElementEventMap, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListSelectDetail, type ListSelectEvent, type ListSelectionMode, type ListTickleDetail, type ListTickleEvent, LoadChildrenCallback, MarkerStyle, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, MillerConfig, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type TreeNode as MillerNode, TreeNode, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, NoneSelectEventDetail, Notification, NotificationContent, NotificationManager, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, Orientation, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelGroupElement, PanelGroupOrientation, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PillPosition, PillQueueDisplay, PillRendererOptions, PillSafeArea, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramOrientation, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RadioGroup, RadioGroupChangeDetail, RadioGroupChangeEvent, RadioGroupMode, RadioItem, RangeElement, RangeInput, RangeMultiElement, RangeMultiInputDetail, RangeMultiInputEvent, RatingChangeDetail, RatingChangeEvent, RatingElement, RatingElementEventMap, RatingInputEvent, RatingVariant, type Rect, RectangularSelectEventDetail, RendererStyle, ResizeMode, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SlidingNumberElement, SlidingNumberTrend, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SortCompareFn, SplitButton, SplitButtonMode, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitLayoutElement, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, Tab, TabAddOptions, TabController, TabControllerOptions, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TabPanelElement, TabPanelsElement, TextShimmerElement, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, ToolbarElement, ToolbarGroupElement, TooltipElement, TooltipOrientations, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeBaseElement, TreeBaseElementEventMap, TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeListAdapterOptions, TreeListElement, TreeSearchHost, TreeSelectionFilter, UserScale, ValueMode, VerticalListAdapterOptions, VerticalListElement, ViewRange, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, applyAgeModification, applyHighlights, attachTimelineInteractions, buildHighlightTargets, clearHighlights, collectDataResult, computeColour, createAcCompletionProvider, createElementIncrSearch, createFuzzySearch, createIncrSearch, createPillRenderer, createTreeListAdapter, createVerticalListAdapter, getIcon, hasIcon, iconBus, init, monitorIndeterminate, parseColourScaleAttr, readBaseColour, registerIcon, resolveCssVars, resolveGrid, svgToDataUri, timelineStyles };
|
|
1791
|
+
export { AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, Axis, ButtonElement, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, ConfigEntry, ContiguousSelectEventDetail, CrossoverBehaviour, CrumbNavChangeDetail, CrumbNavChangeEvent, CrumbNavExpandDetail, CrumbNavExpandEvent, CrumbNavNavigateDetail, CrumbNavNavigateEvent, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, CrumbPathController, CrumbPathControllerOptions, CrumbPathElement, CrumbPathElementEventMap, CrumbSegment, CrumbSiblingLookupFn, type CssVars, CustomCheckboxOptions, DataBatch, DataController, DataControllerOptions, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, DataGridElement, DataGridElementEventMap, DataGridGroupChangeDetail, DataGridGroupChangeEvent, DataGridSelectDetail, DataGridSelectEvent, DataGridSortDetail, DataGridSortEvent, DataProviderResult, type DetailFormatter, DetailListElement, type DetailSortComparator, type DetailSortItem, type DetailSortMode, DisplayTextLogic, DistributeResult, DockAddPanelTarget, DockAxis, DockChangeDetail, DockChangeEvent, DockDirection, DockDragBoundaryDetail, DockDragBoundaryEvent, DockDropTarget, type DockDropZone, DockEdge, DockHostElement, DockHostElementEventMap, DockLayout, DockLeafContentRules, DockLeafInfo, DockLeafRef, DockNeighbours, DockNode, DockOperation, DockPanelActivatedDetail, DockPanelActivatedEvent, DockPanelAddedDetail, DockPanelAddedEvent, DockPanelDragStartDetail, DockPanelDragStartEvent, DockPanelElement, DockPanelElementEventMap, DockPanelInit, DockPanelRemovedDetail, DockPanelRemovedEvent, DockPanelSnapshot, DockPanelTearOutDetail, DockPanelTearOutEvent, DockRect, DockSplitNode, DockStackNode, DragSnappingFn, DragTarget, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, Endpoints, EntryMode, FormElement, FormGroupElement, FormPartElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GridMode, GridResolution, GroupNode, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, type IconChangedDetail, type IconChangedEvent, type IconEntry, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxRatingElement, IxfxTimelineElement, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LaneData, LaneType, LayoutNode, LayoutSnapshot, LeafGeom, LedElement, type ListActivateDetail, type ListActivateEvent, type ListElementEventMap, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListSelectDetail, type ListSelectEvent, type ListSelectionMode, type ListTickleDetail, type ListTickleEvent, LoadChildrenCallback, MarkerStyle, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, MillerConfig, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type TreeNode as MillerNode, TreeNode, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, NoneSelectEventDetail, Notification, NotificationContent, NotificationManager, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, Orientation, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelGroupElement, PanelGroupOrientation, PanelInfo, PanelNode, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PillPosition, PillQueueDisplay, PillRendererOptions, PillSafeArea, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramOrientation, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RadioGroup, RadioGroupChangeDetail, RadioGroupChangeEvent, RadioGroupMode, RadioItem, RangeElement, RangeInput, RangeMultiElement, RangeMultiInputDetail, RangeMultiInputEvent, RatingChangeDetail, RatingChangeEvent, RatingElement, RatingElementEventMap, RatingInputEvent, RatingVariant, type Rect, RectangularSelectEventDetail, RendererStyle, ResizeMode, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SlidingNumberElement, SlidingNumberTrend, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SnapshotNode, SortCompareFn, SplitButton, SplitButtonMode, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitChangeDetail, SplitChangeEvent, SplitCloseDetail, SplitCloseEvent, SplitCollapseDetail, SplitCollapseEvent, SplitExpandDetail, SplitExpandEvent, SplitLayoutElement, SplitLayoutElementEventMap, SplitPanelElement, SplitResizeDetail, SplitResizeEvent, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, Tab, TabAddOptions, TabController, TabControllerOptions, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TabPanelElement, TabPanelsElement, TextShimmerElement, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, TitlebarCloseEvent, TitlebarElement, TitlebarElementEventMap, TitlebarOrientation, TitlebarToggleDetail, TitlebarToggleEvent, TitlebarToggleInteraction, TitlebarVariant, ToolbarAlign, ToolbarElement, ToolbarGroupElement, ToolbarLayout, ToolbarOrientation, ToolbarVerticalWriting, TooltipElement, TooltipOrientations, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeBaseElement, TreeBaseElementEventMap, TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeListAdapterOptions, TreeListElement, TreeSearchHost, TreeSelectionFilter, TwoSplitLayoutElement, UserScale, ValueMode, VerticalListAdapterOptions, VerticalListElement, ViewRange, WhenSmall, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, addPanelToStack, applyAgeModification, applyHighlights, applySnapshot, attachTimelineInteractions, buildHighlightTargets, buildModel, clearHighlights, collectContainerNames, collectDataResult, collectPanelIds, collectStackPaths, computeColour, computeLeafGeoms, createAcCompletionProvider, createElementIncrSearch, createEmptyLayout, createEmptyStack, createFuzzySearch, createIncrSearch, createPillRenderer, createSplit, createStack, createTreeListAdapter, createVerticalListAdapter, distribute, extractStack, findNode, findParentOf, findStackOf, findStackPathByName, getActiveDragPanelId, getIcon, getIconEntry, getIconFont, getLeafNeighbours, hasIcon, iconBus, init, insertBeside, isDragging, isSplit, isStack, monitorIndeterminate, moveLeafNodeToEdge, moveLeafStep, normalise, normalize, parseColourScaleAttr, parseLayout, pointerOverAnyHost, readBaseColour, registerFontIcon, registerIcon, removePanelFromStack, resolveCssVars, resolveGrid, resolveLeafPath, resolveTracks, serializeLayout, setActive, setIconFont, svgToDataUri, swapLeaves, timelineStyles, toSnapshot, walk, wrapRoot };
|
|
1002
1792
|
//# sourceMappingURL=index.d.ts.map
|