@breadstone/mosaik-elements-foundation 0.0.216 → 0.0.218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +101 -0
- package/Controls/Components/Abstracts/CustomElement.d.ts +38 -1
- package/Controls/Components/Abstracts/CustomElement.d.ts.map +1 -1
- package/Controls/Components/Abstracts/CustomElement.js +35 -6
- package/Controls/Components/Abstracts/CustomElement.js.map +1 -1
- package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.js +1 -0
- package/Controls/Components/Buttons/Anchor/AnchorElementTemplate.js.map +1 -1
- package/Controls/Components/Buttons/Button/ButtonElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Buttons/Button/ButtonElementTemplate.js +2 -1
- package/Controls/Components/Buttons/Button/ButtonElementTemplate.js.map +1 -1
- package/Controls/Components/Cells/CellElement.d.ts +1 -1
- package/Controls/Components/Cells/CellElement.js +1 -1
- package/Controls/Components/Grouping/Toolbar/ToolbarElement.d.ts +2 -2
- package/Controls/Components/Grouping/Toolbar/ToolbarElement.js +2 -2
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxElement.d.ts +0 -6
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxElement.d.ts.map +1 -1
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.d.ts +9 -0
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.d.ts.map +1 -0
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.js +3 -0
- package/Controls/Components/Inputs/AutoCompleteBox/AutoCompleteBoxItemRenderer.js.map +1 -0
- package/Controls/Components/Inputs/AutoCompleteBox/IAutoCompleteBoxElementProps.d.ts +1 -8
- package/Controls/Components/Inputs/AutoCompleteBox/IAutoCompleteBoxElementProps.d.ts.map +1 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxElement.d.ts +0 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxElement.d.ts.map +1 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxElement.js +0 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxElement.js.map +1 -1
- package/Controls/Components/Inputs/Radio/RadioElement.d.ts +0 -1
- package/Controls/Components/Inputs/Radio/RadioElement.d.ts.map +1 -1
- package/Controls/Components/Inputs/Radio/RadioElement.js +0 -1
- package/Controls/Components/Inputs/Radio/RadioElement.js.map +1 -1
- package/Controls/Components/Inputs/Select/SelectItemElement.d.ts +1 -0
- package/Controls/Components/Inputs/Select/SelectItemElement.d.ts.map +1 -1
- package/Controls/Components/Inputs/Select/SelectItemElement.js +7 -1
- package/Controls/Components/Inputs/Select/SelectItemElement.js.map +1 -1
- package/Controls/Components/Layouts/Page/PageContentElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Page/PageElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Page/PageHeaderElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Page/PagePreContentElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Page/PagePreHeaderElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.d.ts +18 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.js +3 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeCancelEventDetail.js.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.d.ts +18 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.js +3 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEndEventDetail.js.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.d.ts +18 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.js +3 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeEventDetail.js.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.d.ts +18 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.js +3 -0
- package/Controls/Components/Layouts/Resize/Events/IResizeResizeStartEventDetail.js.map +1 -0
- package/Controls/Components/Layouts/Resize/IResizeElementProps.d.ts +13 -0
- package/Controls/Components/Layouts/Resize/IResizeElementProps.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/IResizeElementProps.js +3 -0
- package/Controls/Components/Layouts/Resize/IResizeElementProps.js.map +1 -0
- package/Controls/Components/Layouts/Resize/ResizeElement.d.ts +148 -0
- package/Controls/Components/Layouts/Resize/ResizeElement.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/ResizeElement.js +299 -0
- package/Controls/Components/Layouts/Resize/ResizeElement.js.map +1 -0
- package/Controls/Components/Layouts/Resize/ResizeElementTemplate.d.ts +9 -0
- package/Controls/Components/Layouts/Resize/ResizeElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/ResizeElementTemplate.js +56 -0
- package/Controls/Components/Layouts/Resize/ResizeElementTemplate.js.map +1 -0
- package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.d.ts +6 -0
- package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.js +118 -0
- package/Controls/Components/Layouts/Resize/Themes/ResizeElement.Joy.js.map +1 -0
- package/Controls/Components/Layouts/Split/SplitElement.d.ts +19 -19
- package/Controls/Components/Layouts/Split/SplitElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/SplitElement.js +45 -45
- package/Controls/Components/Layouts/Split/SplitElement.js.map +1 -1
- package/Controls/Components/Layouts/Split/SplitElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/SplitElementTemplate.js +6 -7
- package/Controls/Components/Layouts/Split/SplitElementTemplate.js.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.js +6 -13
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.js +6 -18
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Joy.js.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.js +6 -13
- package/Controls/Components/Layouts/Split/Themes/SplitElement.Memphis.js.map +1 -1
- package/Controls/Components/Layouts/Stack/StackElement.d.ts +4 -4
- package/Controls/Components/Layouts/Stack/StackElement.js +4 -4
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.js +12 -0
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.js +12 -0
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Joy.js.map +1 -1
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.js +12 -0
- package/Controls/Components/Layouts/TileList/Themes/TileListItemElement.Memphis.js.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListElement.d.ts +5 -5
- package/Controls/Components/Layouts/TileList/TileListElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListElement.js +11 -11
- package/Controls/Components/Layouts/TileList/TileListElement.js.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListItemElement.d.ts +21 -5
- package/Controls/Components/Layouts/TileList/TileListItemElement.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListItemElement.js +32 -13
- package/Controls/Components/Layouts/TileList/TileListItemElement.js.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.js +39 -6
- package/Controls/Components/Layouts/TileList/TileListItemElementTemplate.js.map +1 -1
- package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.d.ts +31 -0
- package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/LayoutChangeEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.d.ts +34 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragCancelEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.d.ts +34 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragEndEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.d.ts +34 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileDragStartEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.d.ts +34 -0
- package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileFullscreenEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.d.ts +34 -0
- package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileMaximizeEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.d.ts +38 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeCancelEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.d.ts +38 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeEndEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.d.ts +38 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.js +3 -0
- package/Controls/Components/Layouts/TileManager/Events/TileResizeStartEvent.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/IResizeProps.d.ts +14 -0
- package/Controls/Components/Layouts/TileManager/IResizeProps.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/IResizeProps.js +2 -0
- package/Controls/Components/Layouts/TileManager/IResizeProps.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/IResizeSpanProps.d.ts +15 -0
- package/Controls/Components/Layouts/TileManager/IResizeSpanProps.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/IResizeSpanProps.js +3 -0
- package/Controls/Components/Layouts/TileManager/IResizeSpanProps.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISerializedLayout.d.ts +10 -0
- package/Controls/Components/Layouts/TileManager/ISerializedLayout.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISerializedLayout.js +3 -0
- package/Controls/Components/Layouts/TileManager/ISerializedLayout.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISerializedTile.d.ts +14 -0
- package/Controls/Components/Layouts/TileManager/ISerializedTile.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISerializedTile.js +2 -0
- package/Controls/Components/Layouts/TileManager/ISerializedTile.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISnappedDimension.d.ts +10 -0
- package/Controls/Components/Layouts/TileManager/ISnappedDimension.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ISnappedDimension.js +2 -0
- package/Controls/Components/Layouts/TileManager/ISnappedDimension.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileGridDimension.d.ts +11 -0
- package/Controls/Components/Layouts/TileManager/ITileGridDimension.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileGridDimension.js +2 -0
- package/Controls/Components/Layouts/TileManager/ITileGridDimension.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileGridPosition.d.ts +11 -0
- package/Controls/Components/Layouts/TileManager/ITileGridPosition.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileGridPosition.js +3 -0
- package/Controls/Components/Layouts/TileManager/ITileGridPosition.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.d.ts +41 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.js +3 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerElementProps.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.d.ts +46 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.js +2 -0
- package/Controls/Components/Layouts/TileManager/ITileManagerTileElementProps.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITilePosition.d.ts +10 -0
- package/Controls/Components/Layouts/TileManager/ITilePosition.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITilePosition.js +2 -0
- package/Controls/Components/Layouts/TileManager/ITilePosition.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.d.ts +10 -0
- package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.js +2 -0
- package/Controls/Components/Layouts/TileManager/ITileResizeDimensions.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Index.d.ts +28 -0
- package/Controls/Components/Layouts/TileManager/Index.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Index.js +8 -0
- package/Controls/Components/Layouts/TileManager/Index.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.js +134 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.js +134 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Joy.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.js +134 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerElement.Memphis.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.js +292 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.js +292 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Joy.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.d.ts +6 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.js +292 -0
- package/Controls/Components/Layouts/TileManager/Themes/TileManagerTileElement.Memphis.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElement.d.ts +195 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElement.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElement.js +332 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElement.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.d.ts +12 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.js +57 -0
- package/Controls/Components/Layouts/TileManager/TileManagerElementTemplate.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.d.ts +47 -0
- package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.js +165 -0
- package/Controls/Components/Layouts/TileManager/TileManagerGhostUtil.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerPosition.d.ts +143 -0
- package/Controls/Components/Layouts/TileManager/TileManagerPosition.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerPosition.js +294 -0
- package/Controls/Components/Layouts/TileManager/TileManagerPosition.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeState.d.ts +130 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeState.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeState.js +332 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeState.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.d.ts +55 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.js +151 -0
- package/Controls/Components/Layouts/TileManager/TileManagerResizeUtil.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerSerializer.d.ts +45 -0
- package/Controls/Components/Layouts/TileManager/TileManagerSerializer.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerSerializer.js +81 -0
- package/Controls/Components/Layouts/TileManager/TileManagerSerializer.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElement.d.ts +585 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElement.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElement.js +1341 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElement.js.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.d.ts +12 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.js +102 -0
- package/Controls/Components/Layouts/TileManager/TileManagerTileElementTemplate.js.map +1 -0
- package/Controls/Components/Media/Badge/BadgeElement.d.ts +4 -36
- package/Controls/Components/Media/Badge/BadgeElement.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/BadgeElement.js +18 -46
- package/Controls/Components/Media/Badge/BadgeElement.js.map +1 -1
- package/Controls/Components/Media/Badge/BadgeElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/BadgeElementTemplate.js +10 -16
- package/Controls/Components/Media/Badge/BadgeElementTemplate.js.map +1 -1
- package/Controls/Components/Media/Badge/IBadgeElementProps.d.ts +10 -1
- package/Controls/Components/Media/Badge/IBadgeElementProps.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Cosmopolitan.js +101 -34
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Joy.js +308 -115
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Joy.js.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Memphis.js +290 -60
- package/Controls/Components/Media/Badge/Themes/BadgeElement.Memphis.js.map +1 -1
- package/Controls/Components/Media/Chat/Events/IChatAttachmentRejectEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Events/IChatAttachmentRejectEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecCancelEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecCancelEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecPauseEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecPauseEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecResumeEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecResumeEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStartEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStartEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStopEvent.d.ts +1 -1
- package/Controls/Components/Media/Chat/Tools/Events/IRecorderRecStopEvent.d.ts.map +1 -1
- package/Controls/Components/Media/Icon/IconElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Media/Icon/IconElementTemplate.js +1 -3
- package/Controls/Components/Media/Icon/IconElementTemplate.js.map +1 -1
- package/Controls/Components/Primitives/Divider/DividerElement.d.ts.map +1 -1
- package/Controls/Components/Primitives/Portal/PortalElement.d.ts.map +1 -1
- package/Controls/Components/Primitives/Portal/PortalElement.js +1 -0
- package/Controls/Components/Primitives/Portal/PortalElement.js.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts +1 -1
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js +27 -1
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js +23 -12
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js +23 -100
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js +23 -12
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js.map +1 -1
- package/Controls/Components/Primitives/Summary/SummaryElement.d.ts +2 -1
- package/Controls/Components/Primitives/Summary/SummaryElement.d.ts.map +1 -1
- package/Controls/Components/Primitives/Summary/SummaryElement.js +2 -1
- package/Controls/Components/Primitives/Summary/SummaryElement.js.map +1 -1
- package/Controls/Components/Primitives/Summary/SummaryElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Primitives/Summary/SummaryElementTemplate.js +6 -9
- package/Controls/Components/Primitives/Summary/SummaryElementTemplate.js.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Cosmopolitan.js +12 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Joy.js +12 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Joy.js.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Memphis.js +12 -1
- package/Controls/Components/Primitives/Summary/Themes/SummaryElement.Memphis.js.map +1 -1
- package/Controls/Components/Primitives/Text/TextElement.d.ts.map +1 -1
- package/Controls/Components/Primitives/Text/TextElement.js +10 -1
- package/Controls/Components/Primitives/Text/TextElement.js.map +1 -1
- package/Controls/Components/Primitives/Text/Themes/TextElement.Joy.js +5 -5
- package/Controls/Components/Primitives/ghost/GhostElement.d.ts +58 -0
- package/Controls/Components/Primitives/ghost/GhostElement.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/GhostElement.js +119 -0
- package/Controls/Components/Primitives/ghost/GhostElement.js.map +1 -0
- package/Controls/Components/Primitives/ghost/GhostElementTemplate.d.ts +9 -0
- package/Controls/Components/Primitives/ghost/GhostElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/GhostElementTemplate.js +24 -0
- package/Controls/Components/Primitives/ghost/GhostElementTemplate.js.map +1 -0
- package/Controls/Components/Primitives/ghost/IGhostElementProps.d.ts +12 -0
- package/Controls/Components/Primitives/ghost/IGhostElementProps.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/IGhostElementProps.js +3 -0
- package/Controls/Components/Primitives/ghost/IGhostElementProps.js.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.js +86 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.d.ts +6 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.js +86 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Joy.js.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.d.ts +6 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.js +86 -0
- package/Controls/Components/Primitives/ghost/themes/GhostElement.Memphis.js.map +1 -0
- package/Controls/Components/Primitives/thumb/IThumbElementProps.d.ts +11 -0
- package/Controls/Components/Primitives/thumb/IThumbElementProps.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/IThumbElementProps.js +3 -0
- package/Controls/Components/Primitives/thumb/IThumbElementProps.js.map +1 -0
- package/Controls/Components/Primitives/thumb/ThumbElement.d.ts +49 -0
- package/Controls/Components/Primitives/thumb/ThumbElement.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/ThumbElement.js +87 -0
- package/Controls/Components/Primitives/thumb/ThumbElement.js.map +1 -0
- package/Controls/Components/Primitives/thumb/ThumbElementTemplate.d.ts +9 -0
- package/Controls/Components/Primitives/thumb/ThumbElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/ThumbElementTemplate.js +14 -0
- package/Controls/Components/Primitives/thumb/ThumbElementTemplate.js.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.js +127 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.d.ts +6 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.js +144 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Joy.js.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.d.ts +6 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.js +127 -0
- package/Controls/Components/Primitives/thumb/themes/ThumbElement.Memphis.js.map +1 -0
- package/Controls/Components/Ranges/MeterBar/IMeterBarElementProps.d.ts +2 -0
- package/Controls/Components/Ranges/MeterBar/IMeterBarElementProps.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/MeterBarElement.d.ts +43 -0
- package/Controls/Components/Ranges/MeterBar/MeterBarElement.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/MeterBarElement.js +81 -3
- package/Controls/Components/Ranges/MeterBar/MeterBarElement.js.map +1 -1
- package/Controls/Components/Ranges/MeterBar/MeterBarElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/MeterBarElementTemplate.js +19 -5
- package/Controls/Components/Ranges/MeterBar/MeterBarElementTemplate.js.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Cosmopolitan.js +50 -0
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Joy.js +55 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Joy.js.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Memphis.js +50 -0
- package/Controls/Components/Ranges/MeterBar/Themes/MeterBarElement.Memphis.js.map +1 -1
- package/Controls/Components/Ranges/MeterRing/IMeterRingElementProps.d.ts +2 -0
- package/Controls/Components/Ranges/MeterRing/IMeterRingElementProps.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/MeterRingElement.d.ts +119 -6
- package/Controls/Components/Ranges/MeterRing/MeterRingElement.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/MeterRingElement.js +174 -19
- package/Controls/Components/Ranges/MeterRing/MeterRingElement.js.map +1 -1
- package/Controls/Components/Ranges/MeterRing/MeterRingElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/MeterRingElementTemplate.js +31 -16
- package/Controls/Components/Ranges/MeterRing/MeterRingElementTemplate.js.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Cosmopolitan.js +87 -3
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Joy.js +82 -22
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Joy.js.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Memphis.js +102 -18
- package/Controls/Components/Ranges/MeterRing/Themes/MeterRingElement.Memphis.js.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Cosmopolitan.js +44 -20
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Joy.js +33 -31
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Joy.js.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Memphis.js +68 -20
- package/Controls/Components/Ranges/ProgressBar/Themes/ProgressBarElement.Memphis.js.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElement.d.ts +1 -2
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElement.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElement.js +1 -2
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElement.js.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElementTemplate.js +4 -5
- package/Controls/Components/Ranges/ProgressRing/ProgressRingElementTemplate.js.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Cosmopolitan.js +31 -21
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Joy.js +51 -41
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Joy.js.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Memphis.js +31 -21
- package/Controls/Components/Ranges/ProgressRing/Themes/ProgressRingElement.Memphis.js.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboElement.d.ts +9 -0
- package/Controls/Components/Selectors/Combo/ComboElement.d.ts.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboElement.js +84 -14
- package/Controls/Components/Selectors/Combo/ComboElement.js.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboItemElement.d.ts +1 -0
- package/Controls/Components/Selectors/Combo/ComboItemElement.d.ts.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboItemElement.js +7 -1
- package/Controls/Components/Selectors/Combo/ComboItemElement.js.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboItemElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboItemElementTemplate.js +2 -1
- package/Controls/Components/Selectors/Combo/ComboItemElementTemplate.js.map +1 -1
- package/Controls/Components/Shell/AppElement.d.ts +2 -2
- package/Controls/Components/Shell/AppElement.js +2 -2
- package/Controls/Controllers/AutoCompleteController.d.ts +10 -0
- package/Controls/Controllers/AutoCompleteController.d.ts.map +1 -1
- package/Controls/Controllers/AutoCompleteController.js +12 -0
- package/Controls/Controllers/AutoCompleteController.js.map +1 -1
- package/Controls/Controllers/DragController.d.ts +433 -0
- package/Controls/Controllers/DragController.d.ts.map +1 -0
- package/Controls/Controllers/DragController.js +605 -0
- package/Controls/Controllers/DragController.js.map +1 -0
- package/Controls/Controllers/DragResizeController.d.ts +419 -0
- package/Controls/Controllers/DragResizeController.d.ts.map +1 -0
- package/Controls/Controllers/DragResizeController.js +557 -0
- package/Controls/Controllers/DragResizeController.js.map +1 -0
- package/Controls/Controllers/ResizeContainerController.d.ts +88 -0
- package/Controls/Controllers/ResizeContainerController.d.ts.map +1 -0
- package/Controls/Controllers/ResizeContainerController.js +263 -0
- package/Controls/Controllers/ResizeContainerController.js.map +1 -0
- package/Controls/Directives/Directives.d.ts +2 -1
- package/Controls/Directives/Directives.d.ts.map +1 -1
- package/Controls/Directives/Directives.js.map +1 -1
- package/Controls/Directives/part-map/PartMapDirective.d.ts +15 -0
- package/Controls/Directives/part-map/PartMapDirective.d.ts.map +1 -0
- package/Controls/Directives/part-map/PartMapDirective.js +49 -0
- package/Controls/Directives/part-map/PartMapDirective.js.map +1 -0
- package/Controls/Types/ContainerResizeMode.d.ts +22 -0
- package/Controls/Types/ContainerResizeMode.d.ts.map +1 -0
- package/Controls/Types/ContainerResizeMode.js +19 -0
- package/Controls/Types/ContainerResizeMode.js.map +1 -0
- package/Controls/Types/MeterScale.d.ts +25 -0
- package/Controls/Types/MeterScale.d.ts.map +1 -0
- package/Controls/Types/MeterScale.js +22 -0
- package/Controls/Types/MeterScale.js.map +1 -0
- package/Controls/Types/ThumbEdge.d.ts +23 -0
- package/Controls/Types/ThumbEdge.d.ts.map +1 -0
- package/Controls/Types/ThumbEdge.js +20 -0
- package/Controls/Types/ThumbEdge.js.map +1 -0
- package/Controls/Types/TileManagerDragMode.d.ts +26 -0
- package/Controls/Types/TileManagerDragMode.d.ts.map +1 -0
- package/Controls/Types/TileManagerDragMode.js +23 -0
- package/Controls/Types/TileManagerDragMode.js.map +1 -0
- package/Controls/Types/TileManagerResizeMode.d.ts +26 -0
- package/Controls/Types/TileManagerResizeMode.d.ts.map +1 -0
- package/Controls/Types/TileManagerResizeMode.js +23 -0
- package/Controls/Types/TileManagerResizeMode.js.map +1 -0
- package/Dom/AbortHandle.d.ts +31 -0
- package/Dom/AbortHandle.d.ts.map +1 -0
- package/Dom/AbortHandle.js +50 -0
- package/Dom/AbortHandle.js.map +1 -0
- package/Index.d.ts +19 -3
- package/Index.d.ts.map +1 -1
- package/Index.js +13 -0
- package/Index.js.map +1 -1
- package/custom-elements.json +20665 -16228
- package/package.json +3 -3
- package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.d.ts +0 -131
- package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.d.ts.map +0 -1
- package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.js +0 -353
- package/Controls/Components/Inputs/AutoCompleteBox/Providers/GoogleFontsProvider.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.d.ts +0 -139
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.js +0 -344
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElement.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.d.ts +0 -9
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.js +0 -53
- package/Controls/Components/Overlays/BottomSheet/BottomSheetElementTemplate.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetService.d.ts +0 -134
- package/Controls/Components/Overlays/BottomSheet/BottomSheetService.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/BottomSheetService.js +0 -250
- package/Controls/Components/Overlays/BottomSheet/BottomSheetService.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.d.ts +0 -28
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.js +0 -3
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetElementProps.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.d.ts +0 -30
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.js +0 -11
- package/Controls/Components/Overlays/BottomSheet/IBottomSheetServiceConfig.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.d.ts +0 -6
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.js +0 -180
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Cosmopolitan.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.d.ts +0 -6
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.js +0 -179
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Joy.js.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.d.ts +0 -6
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.d.ts.map +0 -1
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.js +0 -180
- package/Controls/Components/Overlays/BottomSheet/Themes/BottomSheetElement.Memphis.js.map +0 -1
- package/Controls/Components/Overlays/Dialog/DialogStackBehavior.d.ts +0 -127
- package/Controls/Components/Overlays/Dialog/DialogStackBehavior.d.ts.map +0 -1
- package/Controls/Components/Overlays/Dialog/DialogStackBehavior.js +0 -246
- package/Controls/Components/Overlays/Dialog/DialogStackBehavior.js.map +0 -1
- package/Controls/Components/Overlays/Dialog/IDialogStackConfig.d.ts +0 -80
- package/Controls/Components/Overlays/Dialog/IDialogStackConfig.d.ts.map +0 -1
- package/Controls/Components/Overlays/Dialog/IDialogStackConfig.js +0 -17
- package/Controls/Components/Overlays/Dialog/IDialogStackConfig.js.map +0 -1
- package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.d.ts +0 -136
- package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.d.ts.map +0 -1
- package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.js +0 -298
- package/Controls/Components/Overlays/Drawer/DrawerStackBehavior.js.map +0 -1
- package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.d.ts +0 -73
- package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.d.ts.map +0 -1
- package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.js +0 -16
- package/Controls/Components/Overlays/Drawer/IDrawerStackConfig.js.map +0 -1
- package/Controls/Components/Selectors/Menu/SubMenuMode.d.ts +0 -20
- package/Controls/Components/Selectors/Menu/SubMenuMode.d.ts.map +0 -1
- package/Controls/Components/Selectors/Menu/SubMenuMode.js +0 -18
- package/Controls/Components/Selectors/Menu/SubMenuMode.js.map +0 -1
- package/Theming/ITheme2ElementProps.d.ts +0 -11
- package/Theming/ITheme2ElementProps.d.ts.map +0 -1
- package/Theming/ITheme2ElementProps.js +0 -3
- package/Theming/ITheme2ElementProps.js.map +0 -1
- package/Theming/Theme2.d.ts +0 -143
- package/Theming/Theme2.d.ts.map +0 -1
- package/Theming/Theme2.js +0 -253
- package/Theming/Theme2.js.map +0 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Manages the state and positioning of tiles within a tile manager.
|
|
3
|
+
*
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class TileManagerTilesState {
|
|
7
|
+
private _nextEmptyPosition;
|
|
8
|
+
private _tiles;
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a new instance of the `TileManagerTilesState` class.
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
constructor();
|
|
15
|
+
/**
|
|
16
|
+
* Returns the current tiles sorted by their position.
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
|
+
get tiles(): Array<ITileElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Updates the tiles state with a new list of tiles.
|
|
24
|
+
*
|
|
25
|
+
* @param tiles - The tiles to update.
|
|
26
|
+
*
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
update(tiles: Array<ITileElement>): void;
|
|
30
|
+
/**
|
|
31
|
+
* Assigns positions to tiles, respecting explicitly set positions.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
assignPositions(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Adds a new tile to the state.
|
|
38
|
+
*
|
|
39
|
+
* @param tile - The tile to add.
|
|
40
|
+
*
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
add(tile: ITileElement): void;
|
|
44
|
+
/**
|
|
45
|
+
* Checks and adjusts tile spans based on the column count.
|
|
46
|
+
*
|
|
47
|
+
* @param columnCount - The column count.
|
|
48
|
+
*
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
adjustTileGridPosition(columnCount: number): void;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Factory function to create a new TileManagerTilesState instance.
|
|
55
|
+
*
|
|
56
|
+
* @returns A new TileManagerTilesState instance.
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare function createTileManagerTilesState(): TileManagerTilesState;
|
|
61
|
+
/**
|
|
62
|
+
* Manages the drag stack during tile drag operations.
|
|
63
|
+
*
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class TileManagerDragStack {
|
|
67
|
+
private _stack;
|
|
68
|
+
/**
|
|
69
|
+
* Constructs a new instance of the `TileManagerDragStack` class.
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor();
|
|
74
|
+
/**
|
|
75
|
+
* Gets the current stack.
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
* @readonly
|
|
79
|
+
*/
|
|
80
|
+
get stack(): Array<ITileDragStackEntry>;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the length of the stack.
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
* @readonly
|
|
86
|
+
*/
|
|
87
|
+
get length(): number;
|
|
88
|
+
/**
|
|
89
|
+
* Pushes a tile onto the stack with its current state.
|
|
90
|
+
*
|
|
91
|
+
* @param tile - The tile to push.
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
push(tile: ITileElement): void;
|
|
96
|
+
/**
|
|
97
|
+
* Pops the last entry from the stack.
|
|
98
|
+
*
|
|
99
|
+
* @returns The popped entry, or undefined.
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
pop(): ITileDragStackEntry | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* Clears the stack.
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
reset(): void;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the tile from the last entry in the stack.
|
|
112
|
+
*
|
|
113
|
+
* @returns The last tile, or undefined.
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
peek(): ITileElement | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Restores all tiles to their original state when the drag operation was started.
|
|
120
|
+
* Processes the stack in reverse order to correctly restore positions.
|
|
121
|
+
*
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
restore(): void;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Factory function to create a new TileManagerDragStack instance.
|
|
128
|
+
*
|
|
129
|
+
* @returns A new TileManagerDragStack instance.
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare function createTileManagerDragStack(): TileManagerDragStack;
|
|
134
|
+
/**
|
|
135
|
+
* Swaps the positions of two tiles.
|
|
136
|
+
*
|
|
137
|
+
* @param sourceTile - The source tile.
|
|
138
|
+
* @param targetTile - The target tile.
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare function swapTiles(sourceTile: ITileElement, targetTile: ITileElement): void;
|
|
143
|
+
//# sourceMappingURL=TileManagerPosition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileManagerPosition.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/TileManager/TileManagerPosition.ts"],"names":[],"mappings":"AAqEA;;;;GAIG;AACH,qBAAa,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|
|
5
|
+
* @param array - The array.
|
|
6
|
+
* @returns The last element.
|
|
7
|
+
*
|
|
8
|
+
* @private
|
|
9
|
+
*/
|
|
10
|
+
function last(array) {
|
|
11
|
+
return array[array.length - 1];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Partitions an array into two arrays based on a predicate.
|
|
15
|
+
*
|
|
16
|
+
* @param array - The array to partition.
|
|
17
|
+
* @param predicate - The predicate function.
|
|
18
|
+
* @returns A tuple of [matching, non-matching] arrays.
|
|
19
|
+
*
|
|
20
|
+
* @private
|
|
21
|
+
*/
|
|
22
|
+
function partition(array, predicate) {
|
|
23
|
+
const matching = [];
|
|
24
|
+
const nonMatching = [];
|
|
25
|
+
for (const item of array) {
|
|
26
|
+
if (predicate(item)) {
|
|
27
|
+
matching.push(item);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
nonMatching.push(item);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return [matching, nonMatching];
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Manages the state and positioning of tiles within a tile manager.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export class TileManagerTilesState {
|
|
41
|
+
// #region Fields
|
|
42
|
+
_nextEmptyPosition;
|
|
43
|
+
_tiles;
|
|
44
|
+
// #endregion
|
|
45
|
+
// #region Ctor
|
|
46
|
+
/**
|
|
47
|
+
* Constructs a new instance of the `TileManagerTilesState` class.
|
|
48
|
+
*
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
constructor() {
|
|
52
|
+
this._nextEmptyPosition = 0;
|
|
53
|
+
this._tiles = [];
|
|
54
|
+
}
|
|
55
|
+
// #endregion
|
|
56
|
+
// #region Properties
|
|
57
|
+
/**
|
|
58
|
+
* Returns the current tiles sorted by their position.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
* @readonly
|
|
62
|
+
*/
|
|
63
|
+
get tiles() {
|
|
64
|
+
return [...this._tiles].sort((a, b) => a.position - b.position);
|
|
65
|
+
}
|
|
66
|
+
// #endregion
|
|
67
|
+
// #region Methods
|
|
68
|
+
/**
|
|
69
|
+
* Updates the tiles state with a new list of tiles.
|
|
70
|
+
*
|
|
71
|
+
* @param tiles - The tiles to update.
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
update(tiles) {
|
|
76
|
+
this._tiles = tiles;
|
|
77
|
+
this.assignPositions();
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Assigns positions to tiles, respecting explicitly set positions.
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
assignPositions() {
|
|
85
|
+
let nextPosition = 0;
|
|
86
|
+
const [positionedTiles, nonPositionedTiles] = partition(this._tiles, (tile) => tile.position !== -1);
|
|
87
|
+
positionedTiles.sort((a, b) => a.position - b.position);
|
|
88
|
+
for (const tile of positionedTiles) {
|
|
89
|
+
// Fill any unassigned slots before the next assigned tile's position
|
|
90
|
+
while (nextPosition < tile.position && nonPositionedTiles.length > 0) {
|
|
91
|
+
const nonPositionedTile = nonPositionedTiles.shift();
|
|
92
|
+
if (nonPositionedTile) {
|
|
93
|
+
nonPositionedTile.position = nextPosition++;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
tile.position = nextPosition;
|
|
97
|
+
nextPosition = tile.position + 1;
|
|
98
|
+
}
|
|
99
|
+
for (const tile of nonPositionedTiles) {
|
|
100
|
+
tile.position = nextPosition++;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Adds a new tile to the state.
|
|
105
|
+
*
|
|
106
|
+
* @param tile - The tile to add.
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
add(tile) {
|
|
111
|
+
const tiles = this.tiles;
|
|
112
|
+
if (tile.position > -1) {
|
|
113
|
+
for (const each of tiles) {
|
|
114
|
+
if (each !== tile && each.position >= tile.position) {
|
|
115
|
+
each.position++;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
const positionedTiles = this._tiles.filter((t) => t.position > -1);
|
|
121
|
+
tile.position =
|
|
122
|
+
positionedTiles.length > 1
|
|
123
|
+
? Math.max(...positionedTiles.map((t) => t.position)) + 1
|
|
124
|
+
: this._nextEmptyPosition;
|
|
125
|
+
this._nextEmptyPosition += 1;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Checks and adjusts tile spans based on the column count.
|
|
130
|
+
*
|
|
131
|
+
* @param columnCount - The column count.
|
|
132
|
+
*
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
adjustTileGridPosition(columnCount) {
|
|
136
|
+
if (columnCount > 0) {
|
|
137
|
+
for (const tile of this.tiles) {
|
|
138
|
+
let colStart = tile.colStart ?? 0;
|
|
139
|
+
let colStartDelta = colStart > 0 ? 1 : 0;
|
|
140
|
+
const colSpan = tile.colSpan;
|
|
141
|
+
if (colStart > columnCount) {
|
|
142
|
+
colStart = 0;
|
|
143
|
+
colStartDelta = 0;
|
|
144
|
+
tile.colStart = null;
|
|
145
|
+
}
|
|
146
|
+
if (colStart + colSpan + colStartDelta > columnCount) {
|
|
147
|
+
tile.colSpan = Math.max(1, columnCount - colStart - colStartDelta);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Factory function to create a new TileManagerTilesState instance.
|
|
155
|
+
*
|
|
156
|
+
* @returns A new TileManagerTilesState instance.
|
|
157
|
+
*
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export function createTileManagerTilesState() {
|
|
161
|
+
return new TileManagerTilesState();
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Manages the drag stack during tile drag operations.
|
|
165
|
+
*
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export class TileManagerDragStack {
|
|
169
|
+
// #region Fields
|
|
170
|
+
_stack;
|
|
171
|
+
// #endregion
|
|
172
|
+
// #region Ctor
|
|
173
|
+
/**
|
|
174
|
+
* Constructs a new instance of the `TileManagerDragStack` class.
|
|
175
|
+
*
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
constructor() {
|
|
179
|
+
this._stack = [];
|
|
180
|
+
}
|
|
181
|
+
// #endregion
|
|
182
|
+
// #region Properties
|
|
183
|
+
/**
|
|
184
|
+
* Gets the current stack.
|
|
185
|
+
*
|
|
186
|
+
* @public
|
|
187
|
+
* @readonly
|
|
188
|
+
*/
|
|
189
|
+
get stack() {
|
|
190
|
+
return this._stack;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Gets the length of the stack.
|
|
194
|
+
*
|
|
195
|
+
* @public
|
|
196
|
+
* @readonly
|
|
197
|
+
*/
|
|
198
|
+
get length() {
|
|
199
|
+
return this._stack.length;
|
|
200
|
+
}
|
|
201
|
+
// #endregion
|
|
202
|
+
// #region Methods
|
|
203
|
+
/**
|
|
204
|
+
* Pushes a tile onto the stack with its current state.
|
|
205
|
+
*
|
|
206
|
+
* @param tile - The tile to push.
|
|
207
|
+
*
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
push(tile) {
|
|
211
|
+
this._stack.push({
|
|
212
|
+
tile,
|
|
213
|
+
position: tile.position,
|
|
214
|
+
column: tile.colStart,
|
|
215
|
+
row: tile.rowStart
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Pops the last entry from the stack.
|
|
220
|
+
*
|
|
221
|
+
* @returns The popped entry, or undefined.
|
|
222
|
+
*
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
pop() {
|
|
226
|
+
return this._stack.pop();
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Clears the stack.
|
|
230
|
+
*
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
reset() {
|
|
234
|
+
this._stack = [];
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Returns the tile from the last entry in the stack.
|
|
238
|
+
*
|
|
239
|
+
* @returns The last tile, or undefined.
|
|
240
|
+
*
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
peek() {
|
|
244
|
+
const entry = last(this._stack);
|
|
245
|
+
return entry.tile;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Restores all tiles to their original state when the drag operation was started.
|
|
249
|
+
* Processes the stack in reverse order to correctly restore positions.
|
|
250
|
+
*
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
restore() {
|
|
254
|
+
for (const entry of [...this._stack].reverse()) {
|
|
255
|
+
const { tile, position, column, row } = entry;
|
|
256
|
+
tile.position = position;
|
|
257
|
+
tile.colStart = column;
|
|
258
|
+
tile.rowStart = row;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Factory function to create a new TileManagerDragStack instance.
|
|
264
|
+
*
|
|
265
|
+
* @returns A new TileManagerDragStack instance.
|
|
266
|
+
*
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export function createTileManagerDragStack() {
|
|
270
|
+
return new TileManagerDragStack();
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Swaps the positions of two tiles.
|
|
274
|
+
*
|
|
275
|
+
* @param sourceTile - The source tile.
|
|
276
|
+
* @param targetTile - The target tile.
|
|
277
|
+
*
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
export function swapTiles(sourceTile, targetTile) {
|
|
281
|
+
// Swap colStart
|
|
282
|
+
const tempColStart = sourceTile.colStart;
|
|
283
|
+
sourceTile.colStart = targetTile.colStart;
|
|
284
|
+
targetTile.colStart = tempColStart;
|
|
285
|
+
// Swap rowStart
|
|
286
|
+
const tempRowStart = sourceTile.rowStart;
|
|
287
|
+
sourceTile.rowStart = targetTile.rowStart;
|
|
288
|
+
targetTile.rowStart = tempRowStart;
|
|
289
|
+
// Swap position
|
|
290
|
+
const tempPosition = sourceTile.position;
|
|
291
|
+
sourceTile.position = targetTile.position;
|
|
292
|
+
targetTile.position = tempPosition;
|
|
293
|
+
}
|
|
294
|
+
//# sourceMappingURL=TileManagerPosition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileManagerPosition.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/TileManager/TileManagerPosition.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAiClB;;;;;;;GAOG;AACH,SAAS,IAAI,CAAI,KAAe;IAC5B,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACnC,CAAC;AAED;;;;;;;;GAQG;AACH,SAAS,SAAS,CAAI,KAAe,EAAE,SAA+B;IAClE,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,MAAM,WAAW,GAAa,EAAE,CAAC;IAEjC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACvB,IAAI,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;YAClB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC;aAAM,CAAC;YACJ,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC;IACL,CAAC;IAED,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;AACnC,CAAC;AAED;;;;GAIG;AACH,MAAM,OAAO,qBAAqB;IAE9B,iBAAiB;IAET,kBAAkB,CAAS;IAC3B,MAAM,CAAsB;IAEpC,aAAa;IAEb,eAAe;IAEf;;;;OAIG;IACH;QACI,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,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AC1C,UAAU,CAAC,QAAQ,GAAG,YAAY,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { ITileGridDimension } from './ITileGridDimension';
|
|
2
|
+
import type { ITileGridPosition } from './ITileGridPosition';
|
|
3
|
+
import type { ITileResizeDimensions } from './ITileResizeDimensions';
|
|
4
|
+
/**
|
|
5
|
+
* Manages the resize state for a tile during resize operations.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class TileManagerResizeState {
|
|
10
|
+
private _gap;
|
|
11
|
+
private _prevDeltaX;
|
|
12
|
+
private _prevDeltaY;
|
|
13
|
+
private _prevSnappedWidth;
|
|
14
|
+
private _prevSnappedHeight;
|
|
15
|
+
private _position;
|
|
16
|
+
private _columns;
|
|
17
|
+
private _rows;
|
|
18
|
+
private _initialPosition;
|
|
19
|
+
private _resizeUtil;
|
|
20
|
+
/**
|
|
21
|
+
* Constructs a new instance of the `TileManagerResizeState` class.
|
|
22
|
+
*
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
constructor();
|
|
26
|
+
/**
|
|
27
|
+
* The resized dimensions.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
resizedDimensions: ITileResizeDimensions;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the gap size.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
* @readonly
|
|
37
|
+
*/
|
|
38
|
+
get gap(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Gets a clone of the current position.
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
* @readonly
|
|
44
|
+
*/
|
|
45
|
+
get position(): ITileGridPosition;
|
|
46
|
+
/**
|
|
47
|
+
* Gets a clone of the columns information.
|
|
48
|
+
*
|
|
49
|
+
* @public
|
|
50
|
+
* @readonly
|
|
51
|
+
*/
|
|
52
|
+
get columns(): ITileGridDimension;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a clone of the rows information.
|
|
55
|
+
*
|
|
56
|
+
* @public
|
|
57
|
+
* @readonly
|
|
58
|
+
*/
|
|
59
|
+
get rows(): ITileGridDimension;
|
|
60
|
+
/**
|
|
61
|
+
* Calculates the snapped width during resize.
|
|
62
|
+
*
|
|
63
|
+
* @param state - The resize state containing current dimensions.
|
|
64
|
+
* @returns The snapped width.
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
calculateSnappedWidth(state: ISnappedWidthParams): number;
|
|
69
|
+
/**
|
|
70
|
+
* Calculates the snapped height during resize.
|
|
71
|
+
*
|
|
72
|
+
* @param state - The resize state containing current dimensions.
|
|
73
|
+
* @returns The snapped height.
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
calculateSnappedHeight(state: ISnappedHeightParams): number;
|
|
78
|
+
/**
|
|
79
|
+
* Updates the resize state with new values.
|
|
80
|
+
*
|
|
81
|
+
* @param tileRect - The tile's bounding rectangle.
|
|
82
|
+
* @param tile - The tile element.
|
|
83
|
+
* @param grid - The grid container element.
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
updateState(tileRect: DOMRect, tile: ITileElementShape, grid: HTMLElement): void;
|
|
88
|
+
/**
|
|
89
|
+
* Calculates the resized grid position after a resize operation.
|
|
90
|
+
*
|
|
91
|
+
* @param rect - The new bounding rectangle.
|
|
92
|
+
* @returns The new column and row spans.
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
calculateResizedGridPosition(rect: DOMRect): IResizedGridPositionResult;
|
|
97
|
+
/**
|
|
98
|
+
* Gets the grid offset for a given axis.
|
|
99
|
+
*
|
|
100
|
+
* @param grid - The grid container element.
|
|
101
|
+
* @param axis - The axis ('horizontal' or 'vertical').
|
|
102
|
+
* @returns The offset value.
|
|
103
|
+
*/
|
|
104
|
+
private getGridOffset;
|
|
105
|
+
/**
|
|
106
|
+
* Gets the resize properties for the current state.
|
|
107
|
+
*
|
|
108
|
+
* @param state - The resize state.
|
|
109
|
+
* @param isRow - Whether this is for row (vertical) resize.
|
|
110
|
+
* @returns The resize properties.
|
|
111
|
+
*/
|
|
112
|
+
private getResizeProps;
|
|
113
|
+
/**
|
|
114
|
+
* Gets the resize span properties.
|
|
115
|
+
*
|
|
116
|
+
* @param rect - The bounding rectangle.
|
|
117
|
+
* @param isRow - Whether this is for row (vertical) resize.
|
|
118
|
+
* @returns The resize span properties.
|
|
119
|
+
*/
|
|
120
|
+
private getResizeSpanProps;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Factory function to create a new TileManagerResizeState instance.
|
|
124
|
+
*
|
|
125
|
+
* @returns A new TileManagerResizeState instance.
|
|
126
|
+
*
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
export declare function createTileManagerResizeState(): TileManagerResizeState;
|
|
130
|
+
//# sourceMappingURL=TileManagerResizeState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TileManagerResizeState.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/Layouts/TileManager/TileManagerResizeState.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AA8IrE;;;;GAIG;AACH,qBAAa,sBAAsB;IAI/B,OAAO,CAAC,IAAI,CAAS;IACrB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,kBAAkB,CAAS;IACnC,OAAO,CAAC,SAAS,CAAoB;IACrC,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,KA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