igniteui-dockmanager 1.16.0-beta.2 → 1.16.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/custom-elements.json +289 -127
  2. package/dist/cjs/igc-button-component_20.cjs.entry.js +899 -120
  3. package/dist/cjs/igc-button-component_20.cjs.entry.js.map +1 -1
  4. package/dist/cjs/igniteui-dockmanager.cjs.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/locale-98a30720.js.map +1 -1
  7. package/dist/collection/collection-manifest.json +1 -1
  8. package/dist/collection/components/dockmanager/dockmanager-component.css +6 -1
  9. package/dist/collection/components/dockmanager/dockmanager-component.js +69 -16
  10. package/dist/collection/components/dockmanager/dockmanager-component.js.map +1 -1
  11. package/dist/collection/components/dockmanager/dockmanager.interfaces.js +4 -0
  12. package/dist/collection/components/dockmanager/dockmanager.interfaces.js.map +1 -1
  13. package/dist/collection/components/dockmanager/dockmanager.public-interfaces.js.map +1 -1
  14. package/dist/collection/components/dockmanager/dockmanager.service.js +155 -37
  15. package/dist/collection/components/dockmanager/dockmanager.service.js.map +1 -1
  16. package/dist/collection/components/dockmanager/dockmanager.service.spec.js +179 -0
  17. package/dist/collection/components/dockmanager/dockmanager.service.spec.js.map +1 -1
  18. package/dist/collection/components/dockmanager/panes/content-pane-component.js +21 -2
  19. package/dist/collection/components/dockmanager/panes/content-pane-component.js.map +1 -1
  20. package/dist/collection/components/dockmanager/panes/document-host-component.js +20 -1
  21. package/dist/collection/components/dockmanager/panes/document-host-component.js.map +1 -1
  22. package/dist/collection/components/dockmanager/panes/split-pane-component.js +39 -1
  23. package/dist/collection/components/dockmanager/panes/split-pane-component.js.map +1 -1
  24. package/dist/collection/components/dockmanager/panes/splitter-component.js +28 -7
  25. package/dist/collection/components/dockmanager/panes/splitter-component.js.map +1 -1
  26. package/dist/collection/components/sample-component/sample-component.css +39 -4
  27. package/dist/collection/components/sample-component/sample-component.js +644 -48
  28. package/dist/collection/components/sample-component/sample-component.js.map +1 -1
  29. package/dist/collection/components/tabs/tabs-component.js +20 -1
  30. package/dist/collection/components/tabs/tabs-component.js.map +1 -1
  31. package/dist/esm/igc-button-component_20.entry.js +893 -114
  32. package/dist/esm/igc-button-component_20.entry.js.map +1 -1
  33. package/dist/esm/igniteui-dockmanager.js +1 -1
  34. package/dist/esm/loader.js +1 -1
  35. package/dist/esm/locale-81ccabef.js.map +1 -1
  36. package/dist/igniteui-dockmanager/igniteui-dockmanager.esm.js +1 -1
  37. package/dist/igniteui-dockmanager/igniteui-dockmanager.esm.js.map +1 -1
  38. package/dist/igniteui-dockmanager/p-90285d40.entry.js +2 -0
  39. package/dist/igniteui-dockmanager/p-90285d40.entry.js.map +1 -0
  40. package/dist/igniteui-dockmanager/p-f09ed94c.js.map +1 -1
  41. package/dist/types/components/dockmanager/dockmanager-component.d.ts +4 -0
  42. package/dist/types/components/dockmanager/dockmanager.interfaces.d.ts +4 -0
  43. package/dist/types/components/dockmanager/dockmanager.public-interfaces.d.ts +5 -0
  44. package/dist/types/components/dockmanager/dockmanager.service.d.ts +8 -2
  45. package/dist/types/components/dockmanager/panes/content-pane-component.d.ts +1 -0
  46. package/dist/types/components/dockmanager/panes/document-host-component.d.ts +1 -0
  47. package/dist/types/components/dockmanager/panes/split-pane-component.d.ts +2 -0
  48. package/dist/types/components/dockmanager/panes/splitter-component.d.ts +1 -0
  49. package/dist/types/components/sample-component/sample-component.d.ts +12 -19
  50. package/dist/types/components/tabs/tabs-component.d.ts +1 -0
  51. package/dist/types/components.d.ts +12 -0
  52. package/loader/cdn.js +2 -2
  53. package/loader/index.cjs.js +2 -2
  54. package/package.json +1 -1
  55. package/dist/igniteui-dockmanager/p-b20b97f6.entry.js +0 -2
  56. package/dist/igniteui-dockmanager/p-b20b97f6.entry.js.map +0 -1
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy([["igc-button-component_20.cjs",[[2,"sample-component",{"hiddenPanes":[1040]}],[1,"igc-dockmanager",{"navigationPaneMeta":[1040],"allowMaximize":[4,"allow-maximize"],"showPaneHeaders":[1,"show-pane-headers"],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"],"maximizedPane":[1040],"resourceStrings":[1040],"allowFloatingPanesResize":[4,"allow-floating-panes-resize"],"disableKeyboardNavigation":[4,"disable-keyboard-navigation"],"contextMenuPosition":[1,"context-menu-position"],"containedInBoundaries":[4,"contained-in-boundaries"],"allowInnerDock":[4,"allow-inner-dock"],"proximityDock":[4,"proximity-dock"],"closeBehavior":[1,"close-behavior"],"unpinBehavior":[1,"unpin-behavior"],"layout":[1040],"draggedPane":[1040],"dropPosition":[16],"activePane":[1040],"dropTargetPaneInfo":[32],"flyoutPane":[32],"floatingPaneZIndicesMap":[32],"contextMenuMeta":[32],"dropShadowRect":[32],"templates":[32],"hasCustomMaximizeButton":[32],"hasCustomMinimizeButton":[32],"hoveredPane":[32],"dropPane":[64],"removePane":[64],"focusPane":[64]},[[0,"focusout","handleFocusOut"],[0,"keydown","handleKeyDown"],[1,"pointerdown","handlePointerDown"],[1,"pointerup","handlePointerUp"]],{"flyoutPane":["flyoutPaneChanged"],"containedInBoundaries":["containedInBoundariesChanged"],"layout":["layoutChanged"],"draggedPane":["draggedPaneChanged"],"dropPosition":["dropPositionChanged"],"activePane":["activePaneChange"]}],[1,"igc-tabs-component",{"size":[2],"maximized":[4],"allowMaximize":[4,"allow-maximize"],"tabHeadersPosition":[1,"tab-headers-position"],"selectedIndex":[1026,"selected-index"],"hasHeaders":[4,"has-headers"],"showHiddenTabsMenu":[4,"show-hidden-tabs-menu"],"resourceStrings":[16],"contentIds":[16],"hiddenTabsMenuMeta":[32],"hasHiddenTabs":[32]},[[0,"tabMouseDown","handleTabMouseDown"]],{"selectedIndex":["selectedIndexPropertyChanged"]}],[2,"igc-joystick-indicator-component",{"dropTargetPaneInfo":[16],"documentOnlyDrag":[4,"document-only-drag"],"allowCenterDock":[4,"allow-center-dock"]}],[1,"igc-pane-header-component",{"dragService":[1040],"pinned":[4],"maximized":[4],"isFloating":[4,"is-floating"],"forcedDrag":[4,"forced-drag"],"isFloatingPaneHeader":[4,"is-floating-pane-header"],"allowClose":[4,"allow-close"],"allowMaximize":[4,"allow-maximize"],"allowPinning":[4,"allow-pinning"],"pane":[16],"isActive":[4,"is-active"],"disabled":[4],"resourceStrings":[16]},null,{"forcedDrag":["forcedDragChanged"]}],[1,"igc-tab-header-component",{"dragService":[1040],"selected":[4],"hovered":[4],"position":[1],"iconName":[1,"icon-name"],"header":[1],"isActive":[4,"is-active"],"resourceStrings":[16],"forcedDrag":[4,"forced-drag"],"disabled":[4],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"]},[[1,"mousedown","handleMouseDown"],[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"]],{"forcedDrag":["forcedDragChanged"],"isActive":["activeChanged"],"selected":["activeChanged"],"hovered":["activeChanged"]}],[1,"igc-floating-pane-component",{"allowResize":[4,"allow-resize"],"floatingLocation":[16],"floatingWidth":[2,"floating-width"],"floatingHeight":[2,"floating-height"],"hasHeader":[4,"has-header"],"maximized":[4],"floatingMinHeight":[2,"floating-min-height"],"floatingMinWidth":[2,"floating-min-width"],"floatingId":[1,"floating-id"]}],[2,"igc-root-docking-indicator-component",{"position":[1]}],[1,"igc-content-pane-component",{"size":[2],"isFlyout":[4,"is-flyout"],"unpinnedSize":[2,"unpinned-size"],"header":[1],"disabled":[4],"isSingleFloating":[4,"is-single-floating"],"contentId":[1,"content-id"]}],[2,"igc-document-host-component",{"size":[2]}],[1,"igc-pane-navigator-component",{"activeDocuments":[16],"activePanes":[16],"selectedIndex":[1026,"selected-index"],"previousActivePaneIndex":[2,"previous-active-pane-index"],"resourceStrings":[16]},[[0,"keyup","handleKeyUp"],[0,"keydown","handleKeydown"]]],[2,"igc-split-pane-component",{"orientation":[1],"size":[2]}],[1,"igc-splitter-component",{"showDragGhost":[4,"show-drag-ghost"],"splitPaneOrientation":[1,"split-pane-orientation"],"flyoutLocation":[1,"flyout-location"],"dragOffset":[32],"hasCustomSplitterHandle":[32]},[[0,"keydown","handleKeydownEvent"],[1,"mousedown","handleMouseDown"]]],[1,"igc-tab-panel-component",{"selected":[4],"disabled":[4]},null,{"selected":["selectedPropChange"]}],[1,"igc-unpinned-pane-header-component",{"location":[1],"isActive":[4,"is-active"],"disabled":[4]}],[1,"igc-context-menu-component",{"orientation":[1],"position":[1],"target":[16],"items":[16],"activeIndex":[1026,"active-index"]},[[0,"focusout","emitMenuClosed"]]],[2,"igc-joystick-icon-component",{"isDocHost":[4,"is-doc-host"],"position":[1],"direction":[1],"empty":[4]}],[2,"igc-resizer-component",{"orientation":[1],"dragOffsetX":[32],"dragOffsetY":[32]}],[1,"igc-button-component",{"disabled":[4],"name":[513],"type":[513],"value":[513]}],[2,"igc-icon-component",{"name":[1]}]]]], options);
20
+ return index.bootstrapLazy([["igc-button-component_20.cjs",[[2,"sample-component",{"hiddenPanes":[1040]}],[1,"igc-dockmanager",{"navigationPaneMeta":[1040],"allowMaximize":[4,"allow-maximize"],"showPaneHeaders":[1,"show-pane-headers"],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"],"maximizedPane":[1040],"resourceStrings":[1040],"allowFloatingPanesResize":[4,"allow-floating-panes-resize"],"disableKeyboardNavigation":[4,"disable-keyboard-navigation"],"contextMenuPosition":[1,"context-menu-position"],"containedInBoundaries":[4,"contained-in-boundaries"],"allowInnerDock":[4,"allow-inner-dock"],"proximityDock":[4,"proximity-dock"],"closeBehavior":[1,"close-behavior"],"unpinBehavior":[1,"unpin-behavior"],"layout":[1040],"draggedPane":[1040],"dropPosition":[16],"activePane":[1040],"dropTargetPaneInfo":[32],"flyoutPane":[32],"floatingPaneZIndicesMap":[32],"contextMenuMeta":[32],"dropShadowRect":[32],"templates":[32],"hasCustomMaximizeButton":[32],"hasCustomMinimizeButton":[32],"hoveredPane":[32],"dropPane":[64],"removePane":[64],"focusPane":[64]},[[0,"focusout","handleFocusOut"],[0,"keydown","handleKeyDown"],[1,"pointerdown","handlePointerDown"],[1,"pointerup","handlePointerUp"]],{"flyoutPane":["flyoutPaneChanged"],"containedInBoundaries":["containedInBoundariesChanged"],"layout":["layoutChanged"],"draggedPane":["draggedPaneChanged"],"dropPosition":["dropPositionChanged"],"activePane":["activePaneChange"]}],[1,"igc-tabs-component",{"size":[2],"maximized":[4],"allowMaximize":[4,"allow-maximize"],"tabHeadersPosition":[1,"tab-headers-position"],"selectedIndex":[1026,"selected-index"],"hasHeaders":[4,"has-headers"],"showHiddenTabsMenu":[4,"show-hidden-tabs-menu"],"resourceStrings":[16],"contentIds":[16],"parentUseFixedSize":[4,"parent-use-fixed-size"],"hiddenTabsMenuMeta":[32],"hasHiddenTabs":[32]},[[0,"tabMouseDown","handleTabMouseDown"]],{"selectedIndex":["selectedIndexPropertyChanged"]}],[2,"igc-joystick-indicator-component",{"dropTargetPaneInfo":[16],"documentOnlyDrag":[4,"document-only-drag"],"allowCenterDock":[4,"allow-center-dock"]}],[1,"igc-pane-header-component",{"dragService":[1040],"pinned":[4],"maximized":[4],"isFloating":[4,"is-floating"],"forcedDrag":[4,"forced-drag"],"isFloatingPaneHeader":[4,"is-floating-pane-header"],"allowClose":[4,"allow-close"],"allowMaximize":[4,"allow-maximize"],"allowPinning":[4,"allow-pinning"],"pane":[16],"isActive":[4,"is-active"],"disabled":[4],"resourceStrings":[16]},null,{"forcedDrag":["forcedDragChanged"]}],[1,"igc-tab-header-component",{"dragService":[1040],"selected":[4],"hovered":[4],"position":[1],"iconName":[1,"icon-name"],"header":[1],"isActive":[4,"is-active"],"resourceStrings":[16],"forcedDrag":[4,"forced-drag"],"disabled":[4],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"]},[[1,"mousedown","handleMouseDown"],[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"]],{"forcedDrag":["forcedDragChanged"],"isActive":["activeChanged"],"selected":["activeChanged"],"hovered":["activeChanged"]}],[1,"igc-floating-pane-component",{"allowResize":[4,"allow-resize"],"floatingLocation":[16],"floatingWidth":[2,"floating-width"],"floatingHeight":[2,"floating-height"],"hasHeader":[4,"has-header"],"maximized":[4],"floatingMinHeight":[2,"floating-min-height"],"floatingMinWidth":[2,"floating-min-width"],"floatingId":[1,"floating-id"]}],[2,"igc-root-docking-indicator-component",{"position":[1]}],[1,"igc-content-pane-component",{"size":[2],"isFlyout":[4,"is-flyout"],"unpinnedSize":[2,"unpinned-size"],"header":[1],"disabled":[4],"isSingleFloating":[4,"is-single-floating"],"contentId":[1,"content-id"],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[2,"igc-document-host-component",{"size":[2],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[1,"igc-pane-navigator-component",{"activeDocuments":[16],"activePanes":[16],"selectedIndex":[1026,"selected-index"],"previousActivePaneIndex":[2,"previous-active-pane-index"],"resourceStrings":[16]},[[0,"keyup","handleKeyUp"],[0,"keydown","handleKeydown"]]],[2,"igc-split-pane-component",{"orientation":[1],"size":[2],"useFixedSize":[4,"use-fixed-size"],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[1,"igc-splitter-component",{"showDragGhost":[4,"show-drag-ghost"],"splitPaneOrientation":[1,"split-pane-orientation"],"flyoutLocation":[1,"flyout-location"],"parentUseFixedSize":[4,"parent-use-fixed-size"],"dragOffset":[32],"hasCustomSplitterHandle":[32]},[[0,"keydown","handleKeydownEvent"],[1,"mousedown","handleMouseDown"]]],[1,"igc-tab-panel-component",{"selected":[4],"disabled":[4]},null,{"selected":["selectedPropChange"]}],[1,"igc-unpinned-pane-header-component",{"location":[1],"isActive":[4,"is-active"],"disabled":[4]}],[1,"igc-context-menu-component",{"orientation":[1],"position":[1],"target":[16],"items":[16],"activeIndex":[1026,"active-index"]},[[0,"focusout","emitMenuClosed"]]],[2,"igc-joystick-icon-component",{"isDocHost":[4,"is-doc-host"],"position":[1],"direction":[1],"empty":[4]}],[2,"igc-resizer-component",{"orientation":[1],"dragOffsetX":[32],"dragOffsetY":[32]}],[1,"igc-button-component",{"disabled":[4],"name":[513],"type":[513],"value":[513]}],[2,"igc-icon-component",{"name":[1]}]]]], options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -6,7 +6,7 @@ const index = require('./index-050356a8.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
9
- return index.bootstrapLazy([["igc-button-component_20.cjs",[[2,"sample-component",{"hiddenPanes":[1040]}],[1,"igc-dockmanager",{"navigationPaneMeta":[1040],"allowMaximize":[4,"allow-maximize"],"showPaneHeaders":[1,"show-pane-headers"],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"],"maximizedPane":[1040],"resourceStrings":[1040],"allowFloatingPanesResize":[4,"allow-floating-panes-resize"],"disableKeyboardNavigation":[4,"disable-keyboard-navigation"],"contextMenuPosition":[1,"context-menu-position"],"containedInBoundaries":[4,"contained-in-boundaries"],"allowInnerDock":[4,"allow-inner-dock"],"proximityDock":[4,"proximity-dock"],"closeBehavior":[1,"close-behavior"],"unpinBehavior":[1,"unpin-behavior"],"layout":[1040],"draggedPane":[1040],"dropPosition":[16],"activePane":[1040],"dropTargetPaneInfo":[32],"flyoutPane":[32],"floatingPaneZIndicesMap":[32],"contextMenuMeta":[32],"dropShadowRect":[32],"templates":[32],"hasCustomMaximizeButton":[32],"hasCustomMinimizeButton":[32],"hoveredPane":[32],"dropPane":[64],"removePane":[64],"focusPane":[64]},[[0,"focusout","handleFocusOut"],[0,"keydown","handleKeyDown"],[1,"pointerdown","handlePointerDown"],[1,"pointerup","handlePointerUp"]],{"flyoutPane":["flyoutPaneChanged"],"containedInBoundaries":["containedInBoundariesChanged"],"layout":["layoutChanged"],"draggedPane":["draggedPaneChanged"],"dropPosition":["dropPositionChanged"],"activePane":["activePaneChange"]}],[1,"igc-tabs-component",{"size":[2],"maximized":[4],"allowMaximize":[4,"allow-maximize"],"tabHeadersPosition":[1,"tab-headers-position"],"selectedIndex":[1026,"selected-index"],"hasHeaders":[4,"has-headers"],"showHiddenTabsMenu":[4,"show-hidden-tabs-menu"],"resourceStrings":[16],"contentIds":[16],"hiddenTabsMenuMeta":[32],"hasHiddenTabs":[32]},[[0,"tabMouseDown","handleTabMouseDown"]],{"selectedIndex":["selectedIndexPropertyChanged"]}],[2,"igc-joystick-indicator-component",{"dropTargetPaneInfo":[16],"documentOnlyDrag":[4,"document-only-drag"],"allowCenterDock":[4,"allow-center-dock"]}],[1,"igc-pane-header-component",{"dragService":[1040],"pinned":[4],"maximized":[4],"isFloating":[4,"is-floating"],"forcedDrag":[4,"forced-drag"],"isFloatingPaneHeader":[4,"is-floating-pane-header"],"allowClose":[4,"allow-close"],"allowMaximize":[4,"allow-maximize"],"allowPinning":[4,"allow-pinning"],"pane":[16],"isActive":[4,"is-active"],"disabled":[4],"resourceStrings":[16]},null,{"forcedDrag":["forcedDragChanged"]}],[1,"igc-tab-header-component",{"dragService":[1040],"selected":[4],"hovered":[4],"position":[1],"iconName":[1,"icon-name"],"header":[1],"isActive":[4,"is-active"],"resourceStrings":[16],"forcedDrag":[4,"forced-drag"],"disabled":[4],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"]},[[1,"mousedown","handleMouseDown"],[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"]],{"forcedDrag":["forcedDragChanged"],"isActive":["activeChanged"],"selected":["activeChanged"],"hovered":["activeChanged"]}],[1,"igc-floating-pane-component",{"allowResize":[4,"allow-resize"],"floatingLocation":[16],"floatingWidth":[2,"floating-width"],"floatingHeight":[2,"floating-height"],"hasHeader":[4,"has-header"],"maximized":[4],"floatingMinHeight":[2,"floating-min-height"],"floatingMinWidth":[2,"floating-min-width"],"floatingId":[1,"floating-id"]}],[2,"igc-root-docking-indicator-component",{"position":[1]}],[1,"igc-content-pane-component",{"size":[2],"isFlyout":[4,"is-flyout"],"unpinnedSize":[2,"unpinned-size"],"header":[1],"disabled":[4],"isSingleFloating":[4,"is-single-floating"],"contentId":[1,"content-id"]}],[2,"igc-document-host-component",{"size":[2]}],[1,"igc-pane-navigator-component",{"activeDocuments":[16],"activePanes":[16],"selectedIndex":[1026,"selected-index"],"previousActivePaneIndex":[2,"previous-active-pane-index"],"resourceStrings":[16]},[[0,"keyup","handleKeyUp"],[0,"keydown","handleKeydown"]]],[2,"igc-split-pane-component",{"orientation":[1],"size":[2]}],[1,"igc-splitter-component",{"showDragGhost":[4,"show-drag-ghost"],"splitPaneOrientation":[1,"split-pane-orientation"],"flyoutLocation":[1,"flyout-location"],"dragOffset":[32],"hasCustomSplitterHandle":[32]},[[0,"keydown","handleKeydownEvent"],[1,"mousedown","handleMouseDown"]]],[1,"igc-tab-panel-component",{"selected":[4],"disabled":[4]},null,{"selected":["selectedPropChange"]}],[1,"igc-unpinned-pane-header-component",{"location":[1],"isActive":[4,"is-active"],"disabled":[4]}],[1,"igc-context-menu-component",{"orientation":[1],"position":[1],"target":[16],"items":[16],"activeIndex":[1026,"active-index"]},[[0,"focusout","emitMenuClosed"]]],[2,"igc-joystick-icon-component",{"isDocHost":[4,"is-doc-host"],"position":[1],"direction":[1],"empty":[4]}],[2,"igc-resizer-component",{"orientation":[1],"dragOffsetX":[32],"dragOffsetY":[32]}],[1,"igc-button-component",{"disabled":[4],"name":[513],"type":[513],"value":[513]}],[2,"igc-icon-component",{"name":[1]}]]]], options);
9
+ return index.bootstrapLazy([["igc-button-component_20.cjs",[[2,"sample-component",{"hiddenPanes":[1040]}],[1,"igc-dockmanager",{"navigationPaneMeta":[1040],"allowMaximize":[4,"allow-maximize"],"showPaneHeaders":[1,"show-pane-headers"],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"],"maximizedPane":[1040],"resourceStrings":[1040],"allowFloatingPanesResize":[4,"allow-floating-panes-resize"],"disableKeyboardNavigation":[4,"disable-keyboard-navigation"],"contextMenuPosition":[1,"context-menu-position"],"containedInBoundaries":[4,"contained-in-boundaries"],"allowInnerDock":[4,"allow-inner-dock"],"proximityDock":[4,"proximity-dock"],"closeBehavior":[1,"close-behavior"],"unpinBehavior":[1,"unpin-behavior"],"layout":[1040],"draggedPane":[1040],"dropPosition":[16],"activePane":[1040],"dropTargetPaneInfo":[32],"flyoutPane":[32],"floatingPaneZIndicesMap":[32],"contextMenuMeta":[32],"dropShadowRect":[32],"templates":[32],"hasCustomMaximizeButton":[32],"hasCustomMinimizeButton":[32],"hoveredPane":[32],"dropPane":[64],"removePane":[64],"focusPane":[64]},[[0,"focusout","handleFocusOut"],[0,"keydown","handleKeyDown"],[1,"pointerdown","handlePointerDown"],[1,"pointerup","handlePointerUp"]],{"flyoutPane":["flyoutPaneChanged"],"containedInBoundaries":["containedInBoundariesChanged"],"layout":["layoutChanged"],"draggedPane":["draggedPaneChanged"],"dropPosition":["dropPositionChanged"],"activePane":["activePaneChange"]}],[1,"igc-tabs-component",{"size":[2],"maximized":[4],"allowMaximize":[4,"allow-maximize"],"tabHeadersPosition":[1,"tab-headers-position"],"selectedIndex":[1026,"selected-index"],"hasHeaders":[4,"has-headers"],"showHiddenTabsMenu":[4,"show-hidden-tabs-menu"],"resourceStrings":[16],"contentIds":[16],"parentUseFixedSize":[4,"parent-use-fixed-size"],"hiddenTabsMenuMeta":[32],"hasHiddenTabs":[32]},[[0,"tabMouseDown","handleTabMouseDown"]],{"selectedIndex":["selectedIndexPropertyChanged"]}],[2,"igc-joystick-indicator-component",{"dropTargetPaneInfo":[16],"documentOnlyDrag":[4,"document-only-drag"],"allowCenterDock":[4,"allow-center-dock"]}],[1,"igc-pane-header-component",{"dragService":[1040],"pinned":[4],"maximized":[4],"isFloating":[4,"is-floating"],"forcedDrag":[4,"forced-drag"],"isFloatingPaneHeader":[4,"is-floating-pane-header"],"allowClose":[4,"allow-close"],"allowMaximize":[4,"allow-maximize"],"allowPinning":[4,"allow-pinning"],"pane":[16],"isActive":[4,"is-active"],"disabled":[4],"resourceStrings":[16]},null,{"forcedDrag":["forcedDragChanged"]}],[1,"igc-tab-header-component",{"dragService":[1040],"selected":[4],"hovered":[4],"position":[1],"iconName":[1,"icon-name"],"header":[1],"isActive":[4,"is-active"],"resourceStrings":[16],"forcedDrag":[4,"forced-drag"],"disabled":[4],"showHeaderIconOnHover":[1,"show-header-icon-on-hover"]},[[1,"mousedown","handleMouseDown"],[1,"mouseenter","handleMouseEnter"],[1,"mouseleave","handleMouseLeave"]],{"forcedDrag":["forcedDragChanged"],"isActive":["activeChanged"],"selected":["activeChanged"],"hovered":["activeChanged"]}],[1,"igc-floating-pane-component",{"allowResize":[4,"allow-resize"],"floatingLocation":[16],"floatingWidth":[2,"floating-width"],"floatingHeight":[2,"floating-height"],"hasHeader":[4,"has-header"],"maximized":[4],"floatingMinHeight":[2,"floating-min-height"],"floatingMinWidth":[2,"floating-min-width"],"floatingId":[1,"floating-id"]}],[2,"igc-root-docking-indicator-component",{"position":[1]}],[1,"igc-content-pane-component",{"size":[2],"isFlyout":[4,"is-flyout"],"unpinnedSize":[2,"unpinned-size"],"header":[1],"disabled":[4],"isSingleFloating":[4,"is-single-floating"],"contentId":[1,"content-id"],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[2,"igc-document-host-component",{"size":[2],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[1,"igc-pane-navigator-component",{"activeDocuments":[16],"activePanes":[16],"selectedIndex":[1026,"selected-index"],"previousActivePaneIndex":[2,"previous-active-pane-index"],"resourceStrings":[16]},[[0,"keyup","handleKeyUp"],[0,"keydown","handleKeydown"]]],[2,"igc-split-pane-component",{"orientation":[1],"size":[2],"useFixedSize":[4,"use-fixed-size"],"parentUseFixedSize":[4,"parent-use-fixed-size"]}],[1,"igc-splitter-component",{"showDragGhost":[4,"show-drag-ghost"],"splitPaneOrientation":[1,"split-pane-orientation"],"flyoutLocation":[1,"flyout-location"],"parentUseFixedSize":[4,"parent-use-fixed-size"],"dragOffset":[32],"hasCustomSplitterHandle":[32]},[[0,"keydown","handleKeydownEvent"],[1,"mousedown","handleMouseDown"]]],[1,"igc-tab-panel-component",{"selected":[4],"disabled":[4]},null,{"selected":["selectedPropChange"]}],[1,"igc-unpinned-pane-header-component",{"location":[1],"isActive":[4,"is-active"],"disabled":[4]}],[1,"igc-context-menu-component",{"orientation":[1],"position":[1],"target":[16],"items":[16],"activeIndex":[1026,"active-index"]},[[0,"focusout","emitMenuClosed"]]],[2,"igc-joystick-icon-component",{"isDocHost":[4,"is-doc-host"],"position":[1],"direction":[1],"empty":[4]}],[2,"igc-resizer-component",{"orientation":[1],"dragOffsetX":[32],"dragOffsetY":[32]}],[1,"igc-button-component",{"disabled":[4],"name":[513],"type":[513],"value":[513]}],[2,"igc-icon-component",{"name":[1]}]]]], options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;
@@ -1 +1 @@
1
- {"file":"locale-98a30720.js","mappings":"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","names":["IgcDockManagerPaneType","IgcSplitPaneOrientation","IgcUnpinnedLocation","IgcPaneActionBehavior","IgcDockingIndicatorPosition","IgcPaneDragActionType","IgcResizerLocation"],"sources":["src/components/dockmanager/dockmanager.public-interfaces.ts","src/i18n/resources.en.ts","src/i18n/resources.jp.ts","src/i18n/resources.es.ts","src/i18n/resources.ko.ts","src/utils/locale.ts"],"sourcesContent":["import { IgcDragService } from '../drag-drop/drag.service';\r\n\r\nexport enum IgcDockManagerPaneType {\r\n splitPane = 'splitPane',\r\n contentPane = 'contentPane',\r\n tabGroupPane = 'tabGroupPane',\r\n documentHost = 'documentHost'\r\n}\r\n\r\nexport enum IgcSplitPaneOrientation {\r\n horizontal = 'horizontal',\r\n vertical = 'vertical'\r\n}\r\n\r\nexport enum IgcUnpinnedLocation {\r\n top = 'top',\r\n bottom = 'bottom',\r\n left = 'left',\r\n right = 'right',\r\n}\r\n\r\n/**\r\n * Enumeration used to determine which panes within a dockable TabGroupPane are affected by a particular pane action such as closing or unpinning a pane.\r\n */\r\nexport enum IgcPaneActionBehavior {\r\n allPanes = 'allPanes',\r\n selectedPane = 'selectedPane'\r\n}\r\n\r\nexport interface IgcDockManagerPoint {\r\n x: number;\r\n y: number;\r\n}\r\n\r\nexport interface IgcActivePaneEventArgs {\r\n /**\r\n * Gets the new active pane.\r\n */\r\n readonly newPane: IgcContentPane;\r\n /**\r\n * Gets the old active pane.\r\n */\r\n readonly oldPane: IgcContentPane;\r\n}\r\n\r\nexport enum IgcDockingIndicatorPosition {\r\n left = 'left',\r\n outerLeft = 'outerLeft',\r\n right = 'right',\r\n outerRight = 'outerRight',\r\n top = 'top',\r\n outerTop = 'outerTop',\r\n bottom = 'bottom',\r\n outerBottom = 'outerBottom',\r\n center = 'center'\r\n}\r\n\r\nexport interface IgcDockingIndicator {\r\n /**\r\n * Gets the position of the docking indicator.\r\n */\r\n readonly position: IgcDockingIndicatorPosition;\r\n /**\r\n * Gets a value indicating whether the docking indicator is a root one.\r\n */\r\n readonly isRoot: boolean;\r\n /**\r\n * Gets a value indicating the direction of the docking indicator.\r\n */\r\n readonly direction?: string;\r\n}\r\n\r\nexport interface IgcPaneHeaderConnectionEventArgs {\r\n /**\r\n * The pane whose header is being connected/disconnected.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * The header element that is being connected/disconnected.\r\n */\r\n readonly element: IgcPaneHeaderElement;\r\n}\r\n\r\nexport interface IgcTabHeaderConnectionEventArgs {\r\n /**\r\n * The pane whose tab header is being connected/disconnected.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * The tab header element that is being connected/disconnected.\r\n */\r\n readonly element: IgcTabHeaderElement;\r\n}\r\n\r\nexport interface IgcPaneCloseEventArgs {\r\n /**\r\n * Get the source pane that triggers the close.\r\n */\r\n readonly sourcePane: IgcDockManagerPane;\r\n /**\r\n * Gets/sets the panes that are about to close.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n panes: IgcContentPane[];\r\n}\r\n\r\nexport interface IgcPaneScrollEventArgs {\r\n /**\r\n * Gets the content pane that is scrolled.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * Gets the content element that is scrolled.\r\n */\r\n /* blazorSuppress */\r\n readonly contentElement: HTMLElement;\r\n}\r\n\r\nexport interface IgcPanePinnedEventArgs {\r\n /**\r\n * Gets the source pane that triggers the pinned state change.\r\n */\r\n readonly sourcePane: IgcContentPane;\r\n /**\r\n * Gets/sets the panes that are about to get pinned/unpinned.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n panes: IgcContentPane[];\r\n /**\r\n * Gets the new pinned value.\r\n */\r\n readonly newValue: boolean;\r\n /**\r\n * Gets the unpinned location.\r\n */\r\n readonly location: IgcUnpinnedLocation;\r\n}\r\n\r\nexport interface IgcPaneDragStartEventArgs {\r\n /**\r\n * Gets the source pane that triggers the drag start.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcContentPane;\r\n /**\r\n * Gets the panes that are about to get dragged.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n}\r\n\r\nexport enum IgcPaneDragActionType {\r\n floatPane = 'floatPane',\r\n moveFloatingPane = 'moveFloatingPane',\r\n dockPane = 'dockPane',\r\n moveTab = 'moveTab'\r\n}\r\n\r\nexport interface IgcFloatPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.floatPane;\r\n readonly location: IgcDockManagerPoint;\r\n width: number;\r\n height: number;\r\n}\r\n\r\nexport interface IgcMoveFloatingPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.moveFloatingPane;\r\n readonly oldLocation: IgcDockManagerPoint;\r\n readonly newLocation: IgcDockManagerPoint;\r\n}\r\n\r\nexport interface IgcDockPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.dockPane;\r\n readonly dockingIndicator: IgcDockingIndicator;\r\n readonly targetPane: IgcDockManagerPane;\r\n}\r\n\r\nexport interface IgcMoveTabAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.moveTab;\r\n readonly oldIndex: number;\r\n readonly newIndex: number;\r\n}\r\n\r\nexport type IgcPaneDragAction = IgcFloatPaneAction | IgcMoveFloatingPaneAction | IgcDockPaneAction | IgcMoveTabAction;\r\n\r\nexport interface IgcPaneDragOverEventArgs {\r\n /**\r\n * Gets the source pane that triggers the drag over.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcTabGroupPane | IgcContentPane;\r\n /**\r\n * Gets the panes that are dragged over.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n /**\r\n * Gets information about the action being performed.\r\n */\r\n readonly action: IgcPaneDragAction;\r\n /**\r\n * Gets/sets whether the action is valid.\r\n */\r\n isValid: boolean;\r\n}\r\n\r\nexport interface IgcPaneDragEndEventArgs {\r\n /**\r\n * Gets the source pane that ends dragging.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcTabGroupPane | IgcContentPane;\r\n /**\r\n * Gets the panes that end dragging.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcContentPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.contentPane;\r\n /**\r\n * The slot attribute's value of the content element.\r\n */\r\n contentId: string;\r\n /**\r\n * The text header of the content pane. Even if header slot templates are used, the text header is used for aria label.\r\n */\r\n header: string;\r\n /**\r\n * The slot attribute's value of the content pane header element. If not set, the `header` property value is used.\r\n */\r\n headerId?: string;\r\n /**\r\n * The slot attribute's value of the tab header element. If not set, the `header` property value is used.\r\n */\r\n tabHeaderId?: string;\r\n /**\r\n * The slot attribute's value of the unpinned header element. If not set, the `header` property value is used.\r\n */\r\n unpinnedHeaderId?: string;\r\n /**\r\n * The slot attribute's value of the floating header element. If not set, the `headerId` property value is used.\r\n */\r\n floatingHeaderId?: string;\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * Determines whether the end user is allowed to close the pane. Defaults to true.\r\n */\r\n allowClose?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to maximize the pane.\r\n */\r\n allowMaximize?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to pin/unpin the pane. Defaults to true.\r\n */\r\n allowPinning?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to dock the pane. Defaults to true.\r\n */\r\n allowDocking?: boolean;\r\n /**\r\n * Determines whether the end user can inner dock another pane in this one. Defaults to true.\r\n */\r\n acceptsInnerDock?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to make the pane floating. Defaults to true.\r\n */\r\n allowFloating?: boolean;\r\n /**\r\n * The absolute size of the pane in an unpinned state. Defaults to 200.\r\n */\r\n unpinnedSize?: number;\r\n /**\r\n * Determines whether a content pane is pinned or not. Defaults to true.\r\n */\r\n isPinned?: boolean;\r\n /**\r\n * Determines whether a content pane is maximized or not. Defaults to false.\r\n */\r\n isMaximized?: boolean;\r\n /**\r\n * The desired unpinned location of the content pane.\r\n *\r\n * If not set the Dock Manager automatically calculates it based on the location of the pane relatively to the document host.\r\n * If more than one document host is presented, the closest one in the pane hierarchy will be used for the calculation.\r\n * If there is no document host, the default location is left.\r\n */\r\n unpinnedLocation?: IgcUnpinnedLocation;\r\n /**\r\n * Determines whether a pane is hidden in the UI. Defaults to false.\r\n */\r\n hidden?: boolean;\r\n /**\r\n * Determines whether a pane is disabled. Defaults to false.\r\n */\r\n disabled?: boolean;\r\n /**\r\n * Marks that a content pane can be docked only inside a document host.\r\n */\r\n documentOnly?: boolean;\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcSplitPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.splitPane;\r\n /**\r\n * The orientation of the split pane.\r\n */\r\n orientation: IgcSplitPaneOrientation;\r\n /**\r\n * The child panes of the split pane.\r\n */\r\n /* blazorCollectionName: DockManagerPaneCollection */\r\n /* blazorTreatAsCollection */\r\n panes: IgcDockManagerPane[];\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * The absolute location point of the pane. Applies only for floating panes.\r\n */\r\n floatingLocation?: IgcDockManagerPoint;\r\n /**\r\n * The absolute width of the pane. Applies only for floating panes. Defaults to 100.\r\n */\r\n floatingWidth?: number;\r\n /**\r\n * The absolute height of the pane. Applies only for floating panes. Defaults to 100.\r\n */\r\n floatingHeight?: number;\r\n /**\r\n * Determines whether floating pane resizing is allowed. Applies only for floating panes.\r\n */\r\n floatingResizable?: boolean;\r\n /**\r\n * Determines whether the pane should present in the UI when empty.\r\n */\r\n allowEmpty?: boolean;\r\n /**\r\n * Determines whether a split pane is maximized or not. Defaults to false.\r\n * @deprecated in 1.14.4. Use the `isMaximized` property of TabGroupPane and/or ContentPane instead.\r\n * Having isMaximized set to true on a split pane level has no real effect as split panes serve as containers only, meaning they have no actual content to be shown maximized.\r\n */\r\n isMaximized?: boolean;\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcTabGroupPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.tabGroupPane;\r\n /**\r\n * The child content panes of the tab group.\r\n */\r\n /* blazorCollectionName: ContentPaneCollection */\r\n /* blazorTreatAsCollection */\r\n panes: IgcContentPane[];\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * The index of the selected tab.\r\n */\r\n selectedIndex?: number;\r\n /**\r\n * Determines whether the pane should present in the UI when empty.\r\n */\r\n allowEmpty?: boolean;\r\n /**\r\n * Determines whether a tab group is maximized or not. Defaults to false.\r\n */\r\n isMaximized?: boolean;\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcDocumentHost {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.documentHost;\r\n /**\r\n * The root split pane of the document host.\r\n */\r\n rootPane: IgcSplitPane;\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n}\r\n\r\nexport type IgcDockManagerPane = IgcContentPane | IgcSplitPane | IgcTabGroupPane | IgcDocumentHost;\r\n\r\n/**\r\n * Describes a Dock Manager layout.\r\n */\r\n/* marshalByValue */\r\nexport interface IgcDockManagerLayout {\r\n /**\r\n * The root split pane of the layout.\r\n */\r\n rootPane: IgcSplitPane;\r\n /**\r\n * The floating panes of the layout.\r\n */\r\n /* blazorCollectionName: SplitPaneCollection */\r\n /* blazorTreatAsCollection */\r\n floatingPanes?: IgcSplitPane[];\r\n}\r\n\r\nexport interface IgcDockManagerEventMap extends HTMLElementEventMap {\r\n /**\r\n * An event raised when a splitter resizing starts.\r\n */\r\n 'splitterResizeStart': CustomEvent;\r\n /**\r\n * An event raised when a splitter resizing ends.\r\n */\r\n 'splitterResizeEnd': CustomEvent;\r\n /**\r\n * An event raised when a pane header element is connected.\r\n */\r\n 'paneHeaderConnected': CustomEvent<IgcPaneHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a pane header element is disconnected.\r\n */\r\n 'paneHeaderDisconnected': CustomEvent<IgcPaneHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a tab header element is connected.\r\n */\r\n 'tabHeaderConnected': CustomEvent<IgcTabHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a tab header element is disconnected.\r\n */\r\n 'tabHeaderDisconnected': CustomEvent<IgcTabHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when panes are about to close.\r\n */\r\n 'paneClose': CustomEvent<IgcPaneCloseEventArgs>;\r\n /**\r\n * An event raised when pane is scrolled.\r\n */\r\n 'paneScroll': CustomEvent<IgcPaneScrollEventArgs>;\r\n /**\r\n * An event raised when panes are about to get pinned/unpinned.\r\n */\r\n 'panePinnedToggle': CustomEvent<IgcPanePinnedEventArgs>;\r\n /**\r\n * An event raised when a pane drag starts.\r\n */\r\n 'paneDragStart': CustomEvent<IgcPaneDragStartEventArgs>;\r\n /**\r\n * An event raised when a pane is dragged over.\r\n */\r\n 'paneDragOver': CustomEvent<IgcPaneDragOverEventArgs>;\r\n /**\r\n * An event raised when a pane drag ends.\r\n */\r\n 'paneDragEnd': CustomEvent<IgcPaneDragEndEventArgs>;\r\n\r\n /**\r\n * An event raised when a pane is selected/activated\r\n */\r\n 'activePaneChanged': CustomEvent<IgcActivePaneEventArgs>;\r\n /**\r\n * An event raised when a floating pane resize operation ends.\r\n */\r\n 'floatingPaneResizeEnd': CustomEvent<IgcFloatingPaneResizeEventArgs>;\r\n /**\r\n * An event raised when a floating pane resizing operation starts.\r\n */\r\n 'floatingPaneResizeStart': CustomEvent<IgcFloatingPaneResizeEventArgs>;\r\n /**\r\n * An event raised when a floating pane resizing operation is in progress.\r\n */\r\n 'floatingPaneResizeMove': CustomEvent<IgcFloatingPaneResizeMoveEventArgs>;\r\n /**\r\n * An event raised when the layout changes.\r\n */\r\n 'layoutChange': CustomEvent;\r\n}\r\n\r\n/**\r\n * Describes a Dock Manager component.\r\n */\r\n/* blazorAdditionalDependency: DockManagerLayout */\r\n/* blazorAdditionalDependency: ContentPane */\r\n/* blazorAdditionalDependency: SplitPane */\r\n/* blazorAdditionalDependency: DocumentHost */\r\n/* blazorAdditionalDependency: TabGroupPane */\r\n/* blazorAdditionalDependency: TabHeaderElement */\r\n/* blazorSupportsVisualChildren */\r\nexport class IgcDockManagerComponent extends HTMLElement {\r\n /* @tsTwoWayProperty (true, \"LayoutChange\", \"Detail\", false) */\r\n /**\r\n * Gets/sets the layout configuration of the Dock Manager.\r\n */\r\n layout: IgcDockManagerLayout;\r\n /**\r\n * Gets/sets the currently dragged pane.\r\n */\r\n draggedPane: IgcContentPane | IgcSplitPane | IgcTabGroupPane;\r\n /**\r\n * Gets/sets the current drop position when performing custom drag/drop.\r\n */\r\n dropPosition: IgcDockManagerPoint;\r\n /**\r\n * Gets/sets the active pane of the Dock Manager.\r\n */\r\n activePane: IgcContentPane;\r\n /**\r\n * Determines whether the end user is allowed to maximize panes. Defaults to true.\r\n */\r\n allowMaximize: boolean;\r\n /**\r\n * Determines whether the floating panes are kept inside the Dock Manager boundaries. Defaults to false.\r\n */\r\n containedInBoundaries: boolean;\r\n /**\r\n * Determines which tab header icons should show when hovering over the tab with the mouse. Defaults to undefined.\r\n */\r\n showHeaderIconOnHover: 'closeOnly' | 'moreOptionsOnly' | 'all';\r\n /**\r\n * Gets/sets the maximized pane.\r\n */\r\n maximizedPane: IgcContentPane | IgcSplitPane | IgcTabGroupPane;\r\n /**\r\n * Gets/sets the resource strings.\r\n */\r\n resourceStrings: IgcDockManagerResourceStrings;\r\n /**\r\n * Determines whether the end user is allowed to resize floating panes. Defaults to true.\r\n */\r\n allowFloatingPanesResize: boolean;\r\n /**\r\n * Disables the built-in keyboard shortcuts for pane navigation. Defaults to false.\r\n */\r\n disableKeyboardNavigation: boolean;\r\n /**\r\n * Determines whether the end user is allowed to inner dock panes. Defaults to true.\r\n */\r\n allowInnerDock?: boolean;\r\n /**\r\n * Determines whether pane headers are only shown on hover or always visible. Defaults to 'always'.\r\n */\r\n showPaneHeaders: 'onHoverOnly' | 'always';\r\n /**\r\n * Determines whether the end user can dock the dragged pane by dragging it close to the target pane edges.\r\n * If enabled, docking indicators are not visible. Defaults to false.\r\n */\r\n proximityDock?: boolean;\r\n /**\r\n * Determines whether the selected pane or all panes are closed when clicking the close button of a pane within a dockable TabGroup.\r\n * Defaults to 'allPanes'.\r\n */\r\n closeBehavior: IgcPaneActionBehavior;\r\n /**\r\n * Determines whether the selected pane or all panes are unpinned when clicking the unpin button of a pane within a dockable TabGroup.\r\n * Defaults to 'allPanes'.\r\n */\r\n unpinBehavior: IgcPaneActionBehavior;\r\n\r\n /**\r\n * Performs drop of the `draggedPane` into the specified `dropPosition`.\r\n * Returns true if the pane has been docked otherwise returns false.\r\n */\r\n dropPane(): Promise<boolean> {\r\n return null;\r\n }\r\n /**\r\n * Removes a pane from the layout.\r\n */\r\n removePane(pane: IgcDockManagerPane): Promise<void> {\r\n pane = pane;\r\n return null;\r\n }\r\n /**\r\n * Focuses a pane from the layout.\r\n */\r\n focusPane(contentId: string): Promise<void> {\r\n contentId = contentId;\r\n return null;\r\n }\r\n\r\n addEventListener<K extends keyof IgcDockManagerEventMap>(type: K, listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\r\n addEventListener(): void { }\r\n removeEventListener<K extends keyof IgcDockManagerEventMap>(type: K, listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\r\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\r\n removeEventListener(): void { }\r\n}\r\n\r\n/**\r\n * Describes a pane header element.\r\n */\r\nexport interface IgcPaneHeaderElement extends HTMLElement {\r\n /**\r\n * Gets/sets the drag service.\r\n */\r\n dragService: IgcDragService;\r\n}\r\n\r\n/**\r\n * Describes a tab header element.\r\n */\r\nexport interface IgcTabHeaderElement extends HTMLElement {\r\n /**\r\n * Gets/sets the drag service.\r\n */\r\n dragService: IgcDragService;\r\n}\r\n\r\n/**\r\n * Describes dock manager resource strings.\r\n */\r\nexport interface IgcDockManagerResourceStrings {\r\n close?: string;\r\n pin?: string;\r\n unpin?: string;\r\n maximize?: string;\r\n minimize?: string;\r\n moreOptions?: string;\r\n moreTabs?: string;\r\n panes?: string;\r\n documents?: string;\r\n}\r\n\r\nexport enum IgcResizerLocation {\r\n top = 'top',\r\n bottom = 'bottom',\r\n left = 'left',\r\n right = 'right',\r\n topLeft = 'topLeft',\r\n topRight = 'topRight',\r\n bottomLeft = 'bottomLeft',\r\n bottomRight = 'bottomRight'\r\n}\r\n\r\nexport interface IgcSplitterResizeEventArgs {\r\n /**\r\n * Gets the pane being resized with the splitter.\r\n */\r\n readonly pane: IgcDockManagerPane;\r\n /**\r\n * Gets the pane's orientation.\r\n */\r\n readonly orientation: IgcSplitPaneOrientation;\r\n /**\r\n * Gets the pane's width.\r\n */\r\n readonly paneWidth: number;\r\n /**\r\n * Gets the pane's height.\r\n */\r\n readonly paneHeight: number;\r\n}\r\n\r\nexport interface IgcFloatingPaneResizeEventArgs {\r\n /**\r\n * Gets the source pane that triggers the resize operation.\r\n */\r\n readonly sourcePane: IgcSplitPane;\r\n /**\r\n * Gets the edge/corner that is being dragged.\r\n */\r\n readonly resizerLocation: IgcResizerLocation;\r\n}\r\n\r\nexport interface IgcFloatingPaneResizeMoveEventArgs extends IgcFloatingPaneResizeEventArgs {\r\n /**\r\n * Gets the pane's width before the resizing operation.\r\n */\r\n readonly oldWidth: number;\r\n /**\r\n * Gets the pane's width after the resizing operation.\r\n */\r\n newWidth: number;\r\n /**\r\n * Gets the pane's height before the resizing operation.\r\n */\r\n readonly oldHeight: number;\r\n /**\r\n * Gets the pane's height after the resizing operation.\r\n */\r\n newHeight: number;\r\n /**\r\n * Gets the pane's floating location before the resizing operation.\r\n */\r\n readonly oldLocation: IgcDockManagerPoint;\r\n /**\r\n * Gets the pane's floating location after the resizing operation.\r\n */\r\n newLocation: IgcDockManagerPoint;\r\n}\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * English resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsEN: IgcDockManagerResourceStrings = {\r\n close: 'Close',\r\n pin: 'Pin',\r\n unpin: 'Unpin',\r\n maximize: 'Maximize',\r\n minimize: 'Minimize',\r\n moreOptions: 'More options',\r\n moreTabs: 'More tabs',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Japanese resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsJP: IgcDockManagerResourceStrings = {\r\n close: '閉じる',\r\n pin: '固定',\r\n unpin: '固定解除',\r\n maximize: '最大化',\r\n minimize: '最小化',\r\n moreOptions: 'その他のオプション',\r\n moreTabs: 'その他のタブ',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Spanish resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsES: IgcDockManagerResourceStrings = {\r\n close: 'Cerrar',\r\n pin: 'Anclar',\r\n unpin: 'Desanclar',\r\n maximize: 'Maximizar',\r\n minimize: 'Minimizar',\r\n moreOptions: 'Más opciones',\r\n moreTabs: 'Más fichas',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Korean resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsKO: IgcDockManagerResourceStrings = {\r\n close: '닫기',\r\n pin: '고정',\r\n unpin: '고정 해제',\r\n maximize: '최대화',\r\n minimize: '최소화',\r\n moreOptions: '더 많은 옵션',\r\n moreTabs: '탭 더 보기',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\nimport { IgcDockManagerResourceStringsEN } from '../i18n/resources.en';\r\nimport { IgcDockManagerResourceStringsES } from '../i18n/resources.es';\r\nimport { IgcDockManagerResourceStringsJP } from '../i18n/resources.jp';\r\nimport { IgcDockManagerResourceStringsKO } from '../i18n/resources.ko';\r\n\r\n/**\r\n * @hidden\r\n */\r\nexport const resourceStringsMap = new Map<string, IgcDockManagerResourceStrings>();\r\nresourceStringsMap.set('en', IgcDockManagerResourceStringsEN);\r\nresourceStringsMap.set('jp', IgcDockManagerResourceStringsJP);\r\nresourceStringsMap.set('es', IgcDockManagerResourceStringsES);\r\nresourceStringsMap.set('ko', IgcDockManagerResourceStringsKO);\r\n\r\n/**\r\n * Adds custom resource strings for a specified language.\r\n * @param language The name of the language that should match the `lang` attribute of the page.\r\n * @param resourceStrings The resource strings to be added.\r\n */\r\nexport function addResourceStrings(language: string, resourceStrings: IgcDockManagerResourceStrings) {\r\n resourceStringsMap.set(language, resourceStrings);\r\n}\r\n"],"version":3}
1
+ {"file":"locale-98a30720.js","mappings":"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","names":["IgcDockManagerPaneType","IgcSplitPaneOrientation","IgcUnpinnedLocation","IgcPaneActionBehavior","IgcDockingIndicatorPosition","IgcPaneDragActionType","IgcResizerLocation"],"sources":["src/components/dockmanager/dockmanager.public-interfaces.ts","src/i18n/resources.en.ts","src/i18n/resources.jp.ts","src/i18n/resources.es.ts","src/i18n/resources.ko.ts","src/utils/locale.ts"],"sourcesContent":["import { IgcDragService } from '../drag-drop/drag.service';\r\n\r\nexport enum IgcDockManagerPaneType {\r\n splitPane = 'splitPane',\r\n contentPane = 'contentPane',\r\n tabGroupPane = 'tabGroupPane',\r\n documentHost = 'documentHost'\r\n}\r\n\r\nexport enum IgcSplitPaneOrientation {\r\n horizontal = 'horizontal',\r\n vertical = 'vertical'\r\n}\r\n\r\nexport enum IgcUnpinnedLocation {\r\n top = 'top',\r\n bottom = 'bottom',\r\n left = 'left',\r\n right = 'right',\r\n}\r\n\r\n/**\r\n * Enumeration used to determine which panes within a dockable TabGroupPane are affected by a particular pane action such as closing or unpinning a pane.\r\n */\r\nexport enum IgcPaneActionBehavior {\r\n allPanes = 'allPanes',\r\n selectedPane = 'selectedPane'\r\n}\r\n\r\nexport interface IgcDockManagerPoint {\r\n x: number;\r\n y: number;\r\n}\r\n\r\nexport interface IgcActivePaneEventArgs {\r\n /**\r\n * Gets the new active pane.\r\n */\r\n readonly newPane: IgcContentPane;\r\n /**\r\n * Gets the old active pane.\r\n */\r\n readonly oldPane: IgcContentPane;\r\n}\r\n\r\nexport enum IgcDockingIndicatorPosition {\r\n left = 'left',\r\n outerLeft = 'outerLeft',\r\n right = 'right',\r\n outerRight = 'outerRight',\r\n top = 'top',\r\n outerTop = 'outerTop',\r\n bottom = 'bottom',\r\n outerBottom = 'outerBottom',\r\n center = 'center'\r\n}\r\n\r\nexport interface IgcDockingIndicator {\r\n /**\r\n * Gets the position of the docking indicator.\r\n */\r\n readonly position: IgcDockingIndicatorPosition;\r\n /**\r\n * Gets a value indicating whether the docking indicator is a root one.\r\n */\r\n readonly isRoot: boolean;\r\n /**\r\n * Gets a value indicating the direction of the docking indicator.\r\n */\r\n readonly direction?: string;\r\n}\r\n\r\nexport interface IgcPaneHeaderConnectionEventArgs {\r\n /**\r\n * The pane whose header is being connected/disconnected.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * The header element that is being connected/disconnected.\r\n */\r\n readonly element: IgcPaneHeaderElement;\r\n}\r\n\r\nexport interface IgcTabHeaderConnectionEventArgs {\r\n /**\r\n * The pane whose tab header is being connected/disconnected.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * The tab header element that is being connected/disconnected.\r\n */\r\n readonly element: IgcTabHeaderElement;\r\n}\r\n\r\nexport interface IgcPaneCloseEventArgs {\r\n /**\r\n * Get the source pane that triggers the close.\r\n */\r\n readonly sourcePane: IgcDockManagerPane;\r\n /**\r\n * Gets/sets the panes that are about to close.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n panes: IgcContentPane[];\r\n}\r\n\r\nexport interface IgcPaneScrollEventArgs {\r\n /**\r\n * Gets the content pane that is scrolled.\r\n */\r\n readonly pane: IgcContentPane;\r\n /**\r\n * Gets the content element that is scrolled.\r\n */\r\n /* blazorSuppress */\r\n readonly contentElement: HTMLElement;\r\n}\r\n\r\nexport interface IgcPanePinnedEventArgs {\r\n /**\r\n * Gets the source pane that triggers the pinned state change.\r\n */\r\n readonly sourcePane: IgcContentPane;\r\n /**\r\n * Gets/sets the panes that are about to get pinned/unpinned.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n panes: IgcContentPane[];\r\n /**\r\n * Gets the new pinned value.\r\n */\r\n readonly newValue: boolean;\r\n /**\r\n * Gets the unpinned location.\r\n */\r\n readonly location: IgcUnpinnedLocation;\r\n}\r\n\r\nexport interface IgcPaneDragStartEventArgs {\r\n /**\r\n * Gets the source pane that triggers the drag start.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcContentPane;\r\n /**\r\n * Gets the panes that are about to get dragged.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n}\r\n\r\nexport enum IgcPaneDragActionType {\r\n floatPane = 'floatPane',\r\n moveFloatingPane = 'moveFloatingPane',\r\n dockPane = 'dockPane',\r\n moveTab = 'moveTab'\r\n}\r\n\r\nexport interface IgcFloatPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.floatPane;\r\n readonly location: IgcDockManagerPoint;\r\n width: number;\r\n height: number;\r\n}\r\n\r\nexport interface IgcMoveFloatingPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.moveFloatingPane;\r\n readonly oldLocation: IgcDockManagerPoint;\r\n readonly newLocation: IgcDockManagerPoint;\r\n}\r\n\r\nexport interface IgcDockPaneAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.dockPane;\r\n readonly dockingIndicator: IgcDockingIndicator;\r\n readonly targetPane: IgcDockManagerPane;\r\n}\r\n\r\nexport interface IgcMoveTabAction {\r\n /* alternateName: actionType */\r\n readonly type: IgcPaneDragActionType.moveTab;\r\n readonly oldIndex: number;\r\n readonly newIndex: number;\r\n}\r\n\r\nexport type IgcPaneDragAction = IgcFloatPaneAction | IgcMoveFloatingPaneAction | IgcDockPaneAction | IgcMoveTabAction;\r\n\r\nexport interface IgcPaneDragOverEventArgs {\r\n /**\r\n * Gets the source pane that triggers the drag over.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcTabGroupPane | IgcContentPane;\r\n /**\r\n * Gets the panes that are dragged over.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n /**\r\n * Gets information about the action being performed.\r\n */\r\n readonly action: IgcPaneDragAction;\r\n /**\r\n * Gets/sets whether the action is valid.\r\n */\r\n isValid: boolean;\r\n}\r\n\r\nexport interface IgcPaneDragEndEventArgs {\r\n /**\r\n * Gets the source pane that ends dragging.\r\n */\r\n readonly sourcePane: IgcSplitPane | IgcTabGroupPane | IgcContentPane;\r\n /**\r\n * Gets the panes that end dragging.\r\n */\r\n /* alternateType: ContentPaneCollection */\r\n readonly panes: IgcContentPane[];\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcContentPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.contentPane;\r\n /**\r\n * The slot attribute's value of the content element.\r\n */\r\n contentId: string;\r\n /**\r\n * The text header of the content pane. Even if header slot templates are used, the text header is used for aria label.\r\n */\r\n header: string;\r\n /**\r\n * The slot attribute's value of the content pane header element. If not set, the `header` property value is used.\r\n */\r\n headerId?: string;\r\n /**\r\n * The slot attribute's value of the tab header element. If not set, the `header` property value is used.\r\n */\r\n tabHeaderId?: string;\r\n /**\r\n * The slot attribute's value of the unpinned header element. If not set, the `header` property value is used.\r\n */\r\n unpinnedHeaderId?: string;\r\n /**\r\n * The slot attribute's value of the floating header element. If not set, the `headerId` property value is used.\r\n */\r\n floatingHeaderId?: string;\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * Determines whether the end user is allowed to close the pane. Defaults to true.\r\n */\r\n allowClose?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to maximize the pane.\r\n */\r\n allowMaximize?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to pin/unpin the pane. Defaults to true.\r\n */\r\n allowPinning?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to dock the pane. Defaults to true.\r\n */\r\n allowDocking?: boolean;\r\n /**\r\n * Determines whether the end user can inner dock another pane in this one. Defaults to true.\r\n */\r\n acceptsInnerDock?: boolean;\r\n /**\r\n * Determines whether the end user is allowed to make the pane floating. Defaults to true.\r\n */\r\n allowFloating?: boolean;\r\n /**\r\n * The absolute size of the pane in an unpinned state. Defaults to 200.\r\n */\r\n unpinnedSize?: number;\r\n /**\r\n * Determines whether a content pane is pinned or not. Defaults to true.\r\n */\r\n isPinned?: boolean;\r\n /**\r\n * Determines whether a content pane is maximized or not. Defaults to false.\r\n */\r\n isMaximized?: boolean;\r\n /**\r\n * The desired unpinned location of the content pane.\r\n *\r\n * If not set the Dock Manager automatically calculates it based on the location of the pane relatively to the document host.\r\n * If more than one document host is presented, the closest one in the pane hierarchy will be used for the calculation.\r\n * If there is no document host, the default location is left.\r\n */\r\n unpinnedLocation?: IgcUnpinnedLocation;\r\n /**\r\n * Determines whether a pane is hidden in the UI. Defaults to false.\r\n */\r\n hidden?: boolean;\r\n /**\r\n * Determines whether a pane is disabled. Defaults to false.\r\n */\r\n disabled?: boolean;\r\n /**\r\n * Marks that a content pane can be docked only inside a document host.\r\n */\r\n documentOnly?: boolean;\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcSplitPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.splitPane;\r\n /**\r\n * The orientation of the split pane.\r\n */\r\n orientation: IgcSplitPaneOrientation;\r\n /**\r\n * The child panes of the split pane.\r\n */\r\n /* blazorCollectionName: DockManagerPaneCollection */\r\n /* blazorTreatAsCollection */\r\n panes: IgcDockManagerPane[];\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * The absolute location point of the pane. Applies only for floating panes.\r\n */\r\n floatingLocation?: IgcDockManagerPoint;\r\n /**\r\n * The absolute width of the pane. Applies only for floating panes. Defaults to 100.\r\n */\r\n floatingWidth?: number;\r\n /**\r\n * The absolute height of the pane. Applies only for floating panes. Defaults to 100.\r\n */\r\n floatingHeight?: number;\r\n /**\r\n * Determines whether floating pane resizing is allowed. Applies only for floating panes.\r\n */\r\n floatingResizable?: boolean;\r\n /**\r\n * Determines whether the pane should present in the UI when empty.\r\n */\r\n allowEmpty?: boolean;\r\n /**\r\n * Determines whether a split pane is maximized or not. Defaults to false.\r\n * @deprecated in 1.14.4. Use the `isMaximized` property of TabGroupPane and/or ContentPane instead.\r\n * Having isMaximized set to true on a split pane level has no real effect as split panes serve as containers only, meaning they have no actual content to be shown maximized.\r\n */\r\n isMaximized?: boolean;\r\n /**\r\n * Determines whether child panes are sized in pixels (instead of relatively to their siblings) and can be resized beyond the viewport, allowing scrollable overflow within the container.\r\n * Defaults to false.\r\n */\r\n useFixedSize?: boolean\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcTabGroupPane {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.tabGroupPane;\r\n /**\r\n * The child content panes of the tab group.\r\n */\r\n /* blazorCollectionName: ContentPaneCollection */\r\n /* blazorTreatAsCollection */\r\n panes: IgcContentPane[];\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n /**\r\n * The index of the selected tab.\r\n */\r\n selectedIndex?: number;\r\n /**\r\n * Determines whether the pane should present in the UI when empty.\r\n */\r\n allowEmpty?: boolean;\r\n /**\r\n * Determines whether a tab group is maximized or not. Defaults to false.\r\n */\r\n isMaximized?: boolean;\r\n}\r\n\r\n/* marshalByValue */\r\nexport interface IgcDocumentHost {\r\n /**\r\n * The id of the pane. If not set the Dock Manager generates it automatically.\r\n */\r\n id?: string;\r\n /**\r\n * The type of the pane.\r\n */\r\n /* alternateName: paneType */\r\n type: IgcDockManagerPaneType.documentHost;\r\n /**\r\n * The root split pane of the document host.\r\n */\r\n rootPane: IgcSplitPane;\r\n /**\r\n * The size of the pane relative to its sibling panes' sizes. Defaults to 100.\r\n */\r\n size?: number;\r\n}\r\n\r\nexport type IgcDockManagerPane = IgcContentPane | IgcSplitPane | IgcTabGroupPane | IgcDocumentHost;\r\n\r\n/**\r\n * Describes a Dock Manager layout.\r\n */\r\n/* marshalByValue */\r\nexport interface IgcDockManagerLayout {\r\n /**\r\n * The root split pane of the layout.\r\n */\r\n rootPane: IgcSplitPane;\r\n /**\r\n * The floating panes of the layout.\r\n */\r\n /* blazorCollectionName: SplitPaneCollection */\r\n /* blazorTreatAsCollection */\r\n floatingPanes?: IgcSplitPane[];\r\n}\r\n\r\nexport interface IgcDockManagerEventMap extends HTMLElementEventMap {\r\n /**\r\n * An event raised when a splitter resizing starts.\r\n */\r\n 'splitterResizeStart': CustomEvent;\r\n /**\r\n * An event raised when a splitter resizing ends.\r\n */\r\n 'splitterResizeEnd': CustomEvent;\r\n /**\r\n * An event raised when a pane header element is connected.\r\n */\r\n 'paneHeaderConnected': CustomEvent<IgcPaneHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a pane header element is disconnected.\r\n */\r\n 'paneHeaderDisconnected': CustomEvent<IgcPaneHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a tab header element is connected.\r\n */\r\n 'tabHeaderConnected': CustomEvent<IgcTabHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when a tab header element is disconnected.\r\n */\r\n 'tabHeaderDisconnected': CustomEvent<IgcTabHeaderConnectionEventArgs>;\r\n /**\r\n * An event raised when panes are about to close.\r\n */\r\n 'paneClose': CustomEvent<IgcPaneCloseEventArgs>;\r\n /**\r\n * An event raised when pane is scrolled.\r\n */\r\n 'paneScroll': CustomEvent<IgcPaneScrollEventArgs>;\r\n /**\r\n * An event raised when panes are about to get pinned/unpinned.\r\n */\r\n 'panePinnedToggle': CustomEvent<IgcPanePinnedEventArgs>;\r\n /**\r\n * An event raised when a pane drag starts.\r\n */\r\n 'paneDragStart': CustomEvent<IgcPaneDragStartEventArgs>;\r\n /**\r\n * An event raised when a pane is dragged over.\r\n */\r\n 'paneDragOver': CustomEvent<IgcPaneDragOverEventArgs>;\r\n /**\r\n * An event raised when a pane drag ends.\r\n */\r\n 'paneDragEnd': CustomEvent<IgcPaneDragEndEventArgs>;\r\n\r\n /**\r\n * An event raised when a pane is selected/activated\r\n */\r\n 'activePaneChanged': CustomEvent<IgcActivePaneEventArgs>;\r\n /**\r\n * An event raised when a floating pane resize operation ends.\r\n */\r\n 'floatingPaneResizeEnd': CustomEvent<IgcFloatingPaneResizeEventArgs>;\r\n /**\r\n * An event raised when a floating pane resizing operation starts.\r\n */\r\n 'floatingPaneResizeStart': CustomEvent<IgcFloatingPaneResizeEventArgs>;\r\n /**\r\n * An event raised when a floating pane resizing operation is in progress.\r\n */\r\n 'floatingPaneResizeMove': CustomEvent<IgcFloatingPaneResizeMoveEventArgs>;\r\n /**\r\n * An event raised when the layout changes.\r\n */\r\n 'layoutChange': CustomEvent;\r\n}\r\n\r\n/**\r\n * Describes a Dock Manager component.\r\n */\r\n/* blazorAdditionalDependency: DockManagerLayout */\r\n/* blazorAdditionalDependency: ContentPane */\r\n/* blazorAdditionalDependency: SplitPane */\r\n/* blazorAdditionalDependency: DocumentHost */\r\n/* blazorAdditionalDependency: TabGroupPane */\r\n/* blazorAdditionalDependency: TabHeaderElement */\r\n/* blazorSupportsVisualChildren */\r\nexport class IgcDockManagerComponent extends HTMLElement {\r\n /* @tsTwoWayProperty (true, \"LayoutChange\", \"Detail\", false) */\r\n /**\r\n * Gets/sets the layout configuration of the Dock Manager.\r\n */\r\n layout: IgcDockManagerLayout;\r\n /**\r\n * Gets/sets the currently dragged pane.\r\n */\r\n draggedPane: IgcContentPane | IgcSplitPane | IgcTabGroupPane;\r\n /**\r\n * Gets/sets the current drop position when performing custom drag/drop.\r\n */\r\n dropPosition: IgcDockManagerPoint;\r\n /**\r\n * Gets/sets the active pane of the Dock Manager.\r\n */\r\n activePane: IgcContentPane;\r\n /**\r\n * Determines whether the end user is allowed to maximize panes. Defaults to true.\r\n */\r\n allowMaximize: boolean;\r\n /**\r\n * Determines whether the floating panes are kept inside the Dock Manager boundaries. Defaults to false.\r\n */\r\n containedInBoundaries: boolean;\r\n /**\r\n * Determines which tab header icons should show when hovering over the tab with the mouse. Defaults to undefined.\r\n */\r\n showHeaderIconOnHover: 'closeOnly' | 'moreOptionsOnly' | 'all';\r\n /**\r\n * Gets/sets the maximized pane.\r\n */\r\n maximizedPane: IgcContentPane | IgcSplitPane | IgcTabGroupPane;\r\n /**\r\n * Gets/sets the resource strings.\r\n */\r\n resourceStrings: IgcDockManagerResourceStrings;\r\n /**\r\n * Determines whether the end user is allowed to resize floating panes. Defaults to true.\r\n */\r\n allowFloatingPanesResize: boolean;\r\n /**\r\n * Disables the built-in keyboard shortcuts for pane navigation. Defaults to false.\r\n */\r\n disableKeyboardNavigation: boolean;\r\n /**\r\n * Determines whether the end user is allowed to inner dock panes. Defaults to true.\r\n */\r\n allowInnerDock?: boolean;\r\n /**\r\n * Determines whether pane headers are only shown on hover or always visible. Defaults to 'always'.\r\n */\r\n showPaneHeaders: 'onHoverOnly' | 'always';\r\n /**\r\n * Determines whether the end user can dock the dragged pane by dragging it close to the target pane edges.\r\n * If enabled, docking indicators are not visible. Defaults to false.\r\n */\r\n proximityDock?: boolean;\r\n /**\r\n * Determines whether the selected pane or all panes are closed when clicking the close button of a pane within a dockable TabGroup.\r\n * Defaults to 'allPanes'.\r\n */\r\n closeBehavior: IgcPaneActionBehavior;\r\n /**\r\n * Determines whether the selected pane or all panes are unpinned when clicking the unpin button of a pane within a dockable TabGroup.\r\n * Defaults to 'allPanes'.\r\n */\r\n unpinBehavior: IgcPaneActionBehavior;\r\n\r\n /**\r\n * Performs drop of the `draggedPane` into the specified `dropPosition`.\r\n * Returns true if the pane has been docked otherwise returns false.\r\n */\r\n dropPane(): Promise<boolean> {\r\n return null;\r\n }\r\n /**\r\n * Removes a pane from the layout.\r\n */\r\n removePane(pane: IgcDockManagerPane): Promise<void> {\r\n pane = pane;\r\n return null;\r\n }\r\n /**\r\n * Focuses a pane from the layout.\r\n */\r\n focusPane(contentId: string): Promise<void> {\r\n contentId = contentId;\r\n return null;\r\n }\r\n\r\n addEventListener<K extends keyof IgcDockManagerEventMap>(type: K, listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\r\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\r\n addEventListener(): void { }\r\n removeEventListener<K extends keyof IgcDockManagerEventMap>(type: K, listener: (this: HTMLElement, ev: IgcDockManagerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\r\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\r\n removeEventListener(): void { }\r\n}\r\n\r\n/**\r\n * Describes a pane header element.\r\n */\r\nexport interface IgcPaneHeaderElement extends HTMLElement {\r\n /**\r\n * Gets/sets the drag service.\r\n */\r\n dragService: IgcDragService;\r\n}\r\n\r\n/**\r\n * Describes a tab header element.\r\n */\r\nexport interface IgcTabHeaderElement extends HTMLElement {\r\n /**\r\n * Gets/sets the drag service.\r\n */\r\n dragService: IgcDragService;\r\n}\r\n\r\n/**\r\n * Describes dock manager resource strings.\r\n */\r\nexport interface IgcDockManagerResourceStrings {\r\n close?: string;\r\n pin?: string;\r\n unpin?: string;\r\n maximize?: string;\r\n minimize?: string;\r\n moreOptions?: string;\r\n moreTabs?: string;\r\n panes?: string;\r\n documents?: string;\r\n}\r\n\r\nexport enum IgcResizerLocation {\r\n top = 'top',\r\n bottom = 'bottom',\r\n left = 'left',\r\n right = 'right',\r\n topLeft = 'topLeft',\r\n topRight = 'topRight',\r\n bottomLeft = 'bottomLeft',\r\n bottomRight = 'bottomRight'\r\n}\r\n\r\nexport interface IgcSplitterResizeEventArgs {\r\n /**\r\n * Gets the pane being resized with the splitter.\r\n */\r\n readonly pane: IgcDockManagerPane;\r\n /**\r\n * Gets the pane's orientation.\r\n */\r\n readonly orientation: IgcSplitPaneOrientation;\r\n /**\r\n * Gets the pane's width.\r\n */\r\n readonly paneWidth: number;\r\n /**\r\n * Gets the pane's height.\r\n */\r\n readonly paneHeight: number;\r\n}\r\n\r\nexport interface IgcFloatingPaneResizeEventArgs {\r\n /**\r\n * Gets the source pane that triggers the resize operation.\r\n */\r\n readonly sourcePane: IgcSplitPane;\r\n /**\r\n * Gets the edge/corner that is being dragged.\r\n */\r\n readonly resizerLocation: IgcResizerLocation;\r\n}\r\n\r\nexport interface IgcFloatingPaneResizeMoveEventArgs extends IgcFloatingPaneResizeEventArgs {\r\n /**\r\n * Gets the pane's width before the resizing operation.\r\n */\r\n readonly oldWidth: number;\r\n /**\r\n * Gets the pane's width after the resizing operation.\r\n */\r\n newWidth: number;\r\n /**\r\n * Gets the pane's height before the resizing operation.\r\n */\r\n readonly oldHeight: number;\r\n /**\r\n * Gets the pane's height after the resizing operation.\r\n */\r\n newHeight: number;\r\n /**\r\n * Gets the pane's floating location before the resizing operation.\r\n */\r\n readonly oldLocation: IgcDockManagerPoint;\r\n /**\r\n * Gets the pane's floating location after the resizing operation.\r\n */\r\n newLocation: IgcDockManagerPoint;\r\n}\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * English resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsEN: IgcDockManagerResourceStrings = {\r\n close: 'Close',\r\n pin: 'Pin',\r\n unpin: 'Unpin',\r\n maximize: 'Maximize',\r\n minimize: 'Minimize',\r\n moreOptions: 'More options',\r\n moreTabs: 'More tabs',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Japanese resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsJP: IgcDockManagerResourceStrings = {\r\n close: '閉じる',\r\n pin: '固定',\r\n unpin: '固定解除',\r\n maximize: '最大化',\r\n minimize: '最小化',\r\n moreOptions: 'その他のオプション',\r\n moreTabs: 'その他のタブ',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Spanish resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsES: IgcDockManagerResourceStrings = {\r\n close: 'Cerrar',\r\n pin: 'Anclar',\r\n unpin: 'Desanclar',\r\n maximize: 'Maximizar',\r\n minimize: 'Minimizar',\r\n moreOptions: 'Más opciones',\r\n moreTabs: 'Más fichas',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\n\r\n/**\r\n * Korean resource strings for the Dock Manager\r\n */\r\nexport const IgcDockManagerResourceStringsKO: IgcDockManagerResourceStrings = {\r\n close: '닫기',\r\n pin: '고정',\r\n unpin: '고정 해제',\r\n maximize: '최대화',\r\n minimize: '최소화',\r\n moreOptions: '더 많은 옵션',\r\n moreTabs: '탭 더 보기',\r\n panes: 'Panes',\r\n documents: 'Documents'\r\n};\r\n","import { IgcDockManagerResourceStrings } from '../components/dockmanager/dockmanager.public-interfaces';\r\nimport { IgcDockManagerResourceStringsEN } from '../i18n/resources.en';\r\nimport { IgcDockManagerResourceStringsES } from '../i18n/resources.es';\r\nimport { IgcDockManagerResourceStringsJP } from '../i18n/resources.jp';\r\nimport { IgcDockManagerResourceStringsKO } from '../i18n/resources.ko';\r\n\r\n/**\r\n * @hidden\r\n */\r\nexport const resourceStringsMap = new Map<string, IgcDockManagerResourceStrings>();\r\nresourceStringsMap.set('en', IgcDockManagerResourceStringsEN);\r\nresourceStringsMap.set('jp', IgcDockManagerResourceStringsJP);\r\nresourceStringsMap.set('es', IgcDockManagerResourceStringsES);\r\nresourceStringsMap.set('ko', IgcDockManagerResourceStringsKO);\r\n\r\n/**\r\n * Adds custom resource strings for a specified language.\r\n * @param language The name of the language that should match the `lang` attribute of the page.\r\n * @param resourceStrings The resource strings to be added.\r\n */\r\nexport function addResourceStrings(language: string, resourceStrings: IgcDockManagerResourceStrings) {\r\n resourceStringsMap.set(language, resourceStrings);\r\n}\r\n"],"version":3}
@@ -2,6 +2,7 @@
2
2
  "entries": [
3
3
  "components/button/button-component.js",
4
4
  "components/context-menu/context-menu-component.js",
5
+ "components/dockmanager/panes/floating-pane-component.js",
5
6
  "components/dockmanager/panes/splitter-component.js",
6
7
  "components/dockmanager/dockmanager-component.js",
7
8
  "components/dockmanager/docking/joystick-icon-component.js",
@@ -10,7 +11,6 @@
10
11
  "components/dockmanager/pane-navigator/pane-navigator-component.js",
11
12
  "components/dockmanager/panes/content-pane-component.js",
12
13
  "components/dockmanager/panes/document-host-component.js",
13
- "components/dockmanager/panes/floating-pane-component.js",
14
14
  "components/dockmanager/panes/pane-header-component.js",
15
15
  "components/dockmanager/panes/resizer-component.js",
16
16
  "components/dockmanager/panes/split-pane-component.js",
@@ -19,13 +19,18 @@
19
19
  .pane-container--vertical, .pane-container--horizontal, .pane-container {
20
20
  display: flex;
21
21
  flex-grow: 1;
22
+ max-height: 100vh;
23
+ max-width: 100vw;
22
24
  height: 100%;
23
25
  width: 100%;
24
- overflow: hidden;
25
26
  }
26
27
 
28
+ .pane-container--horizontal {
29
+ overflow-x: auto;
30
+ }
27
31
  .pane-container--vertical {
28
32
  flex-direction: column;
33
+ overflow-y: auto;
29
34
  }
30
35
 
31
36
  .unpinned-tab-area {
@@ -33,6 +33,7 @@ export class IgcDockManager {
33
33
  this.resizeObserver = new ResizeObserver(this.restrictFloatingPaneSize.bind(this));
34
34
  this.proximityDockThreshold = 50;
35
35
  this.proximityOuterDockThreshold = 25;
36
+ this.anyPaneIgnoringResizeConstraints = false;
36
37
  this.templatableComponents = [
37
38
  {
38
39
  slot: 'paneHeaderCloseButton',
@@ -226,7 +227,7 @@ export class IgcDockManager {
226
227
  const panes = this.draggedPane.type === IgcDockManagerPaneType.contentPane ?
227
228
  [this.draggedPane] :
228
229
  this.service.getChildContentPanes(this.draggedPane);
229
- this.showDockingIndicators = panes.every(p => p.allowDocking !== false);
230
+ this.showDockingIndicators = panes.every(p => p.allowDocking !== false) && !this.anyPaneIgnoringResizeConstraints;
230
231
  this.documentOnlyDrag = panes.some(p => p.documentOnly);
231
232
  }
232
233
  else {
@@ -354,6 +355,7 @@ export class IgcDockManager {
354
355
  this.contextMenuMeta = null;
355
356
  this.navigationPaneMeta = null;
356
357
  if (this.layout) {
358
+ this.updateLayout();
357
359
  this.layoutChanged();
358
360
  }
359
361
  if (!this.resourceStrings) {
@@ -397,6 +399,17 @@ export class IgcDockManager {
397
399
  focusElement() {
398
400
  this.element.focus();
399
401
  }
402
+ updateLayout() {
403
+ //Check for useFixedSize in the layout and create a placeholder pane for resizing.
404
+ this.service.checkAndAddPlaceholderPane(this.layout.rootPane);
405
+ for (const p of this.layout.floatingPanes) {
406
+ // Do not add a placeholder pane for floating pane's root splitPane
407
+ p.panes.forEach(cp => this.service.checkAndAddPlaceholderPane(cp));
408
+ // Should we add a resolved prop instead of setting useFixedSize to false?
409
+ // Used to prevent the root parent splitPane of having flex grow and shrink set to 0 which breaks floating pane resizing.
410
+ p.useFixedSize = false;
411
+ }
412
+ }
400
413
  handleTabsRendered(pane) {
401
414
  var _a;
402
415
  if (this.reason !== ActionReason.drop) {
@@ -601,7 +614,11 @@ export class IgcDockManager {
601
614
  pane.unpinnedSize = minSize;
602
615
  }
603
616
  // If new pane size does not meet the size constraints, do not resize
604
- let offset = this.isPaneSizeWithinConstraints(previousPane, event.detail, orientation, 'previous') ? this.splitterOffset * event.detail : 0;
617
+ let parent = this.service.getParent(pane);
618
+ let offset = this.service.isSplitPaneIgnoringResizeConstraints(parent) ||
619
+ this.isPaneSizeWithinConstraints(previousPane, event.detail, orientation, 'previous') ?
620
+ this.splitterOffset * event.detail :
621
+ 0;
605
622
  this.service.resizeFlyoutPane(offset);
606
623
  let rect;
607
624
  rect = splitter.previousElementSibling.getBoundingClientRect();
@@ -637,7 +654,9 @@ export class IgcDockManager {
637
654
  const sizeProperty = parentPane.orientation === IgcSplitPaneOrientation.horizontal ? 'offsetWidth' : 'offsetHeight';
638
655
  const sizeSum = paneComponents.reduce((s, p) => p[sizeProperty] + s, 0);
639
656
  // If the new size is smaller or bigger that the size constraints, do not resize
640
- const offset = this.isPaneSizeWithinConstraints(previousPane, event.detail, parentPane.orientation, 'previous') && this.isPaneSizeWithinConstraints(nextPane, event.detail, parentPane.orientation) ? event.detail : 0;
657
+ const offset = parentPane.useFixedSize ||
658
+ this.isPaneSizeWithinConstraints(previousPane, event.detail, parentPane.orientation, 'previous') &&
659
+ this.isPaneSizeWithinConstraints(nextPane, event.detail, parentPane.orientation) ? event.detail : 0;
641
660
  let offsetPercentage = this.splitterOffset * offset / sizeSum;
642
661
  let rtl = false;
643
662
  if (this.element.dir !== '') {
@@ -725,7 +744,7 @@ export class IgcDockManager {
725
744
  }
726
745
  this.shouldClearActivePane = false;
727
746
  this.focusElement();
728
- const dragStarted = this.service.dragPaneStart(pane, rect, event.detail.clientX, event.detail.clientY);
747
+ const dragStarted = this.service.dragPaneStart(pane, rect, event.detail.clientX, event.detail.clientY, this.anyPaneIgnoringResizeConstraints);
729
748
  this.isDragging = true;
730
749
  this.scheduleAfterRender(() => {
731
750
  this.shouldClearActivePane = true;
@@ -765,6 +784,22 @@ export class IgcDockManager {
765
784
  if (event && !dragMoved) {
766
785
  event.detail.cancel = true;
767
786
  }
787
+ // After successfull pane drag, check if there is a splitPane with useFixedSize = true
788
+ // that is left with a single placeholder pane and remove it.
789
+ // This would happen only when the last non placeholder pane of a split pane gets dragged.
790
+ if (dragMoved) {
791
+ const elements = this.element.shadowRoot.elementsFromPoint(clientX, clientY);
792
+ const splitPanes = elements.filter(e => e.tagName.toLowerCase() === 'igc-split-pane-component');
793
+ for (const sp of splitPanes) {
794
+ const splitPane = this.panesElementMap.getByValue(sp);
795
+ if (splitPane.useFixedSize &&
796
+ splitPane.panes.length === 1 &&
797
+ splitPane.panes[0].type === IgcDockManagerPaneType.contentPane &&
798
+ splitPane.panes[0].contentId === "placeholder") {
799
+ this.service.closePane(splitPane.panes[0]);
800
+ }
801
+ }
802
+ }
768
803
  }
769
804
  getInnerDropTargetParentRect() {
770
805
  if (this.dropTargetPaneInfo && this.service.proximityDockPosition) {
@@ -933,7 +968,7 @@ export class IgcDockManager {
933
968
  tabsRect
934
969
  };
935
970
  this.handleDropPositionChange(event.detail.clientX, event.detail.clientY, event === null || event === void 0 ? void 0 : event.target);
936
- const tabMoved = this.service.dragTabMove(pane, event.detail, tabRectsInfo);
971
+ const tabMoved = this.service.dragTabMove(pane, event.detail, tabRectsInfo, this.anyPaneIgnoringResizeConstraints);
937
972
  if (event && !tabMoved) {
938
973
  event.detail.cancel = true;
939
974
  }
@@ -962,6 +997,9 @@ export class IgcDockManager {
962
997
  }
963
998
  handleDropPositionChange(clientX, clientY, target) {
964
999
  var _a;
1000
+ if (this.highlightedJoystick) {
1001
+ this.highlightedJoystick.style.boxShadow = '';
1002
+ }
965
1003
  const elements = clientX && clientY ?
966
1004
  this.element.shadowRoot.elementsFromPoint(clientX, clientY) :
967
1005
  null;
@@ -998,13 +1036,17 @@ export class IgcDockManager {
998
1036
  let indicatorTarget = null;
999
1037
  let dockingIndicatorElement = topElement.closest('igc-root-docking-indicator-component');
1000
1038
  if (dockingIndicatorElement) {
1039
+ // root docking indicator
1001
1040
  this.service.dockingIndicator = {
1002
1041
  position: dockingIndicatorElement.position,
1003
1042
  isRoot: true,
1004
- direction: this.direction
1043
+ direction: this.direction,
1005
1044
  };
1045
+ this.highlightedJoystick = dockingIndicatorElement;
1046
+ this.highlightedJoystick.style.boxShadow = 'inset 0 0 0 3px rgba(0,0,0,0.2), inset 0 0 0 25px rgba(100,149,237,0.2)';
1006
1047
  }
1007
- if (!dockingIndicatorElement) {
1048
+ else {
1049
+ // regular docking indicator
1008
1050
  const joystickIcon = topElement.closest('igc-joystick-icon-component');
1009
1051
  if (joystickIcon && !joystickIcon.empty) {
1010
1052
  dockingIndicatorElement = joystickIcon;
@@ -1015,6 +1057,8 @@ export class IgcDockManager {
1015
1057
  };
1016
1058
  const joystickIndicator = joystickIcon.closest('igc-joystick-indicator-component');
1017
1059
  indicatorTarget = joystickIndicator.dropTargetPaneInfo;
1060
+ this.highlightedJoystick = joystickIcon;
1061
+ this.highlightedJoystick.style.boxShadow = 'inset 0 0 0 3px rgba(0,0,0,0.2), inset 0 0 0 25px rgba(100,149,237,0.2)';
1018
1062
  }
1019
1063
  }
1020
1064
  if (dockingIndicatorElement &&
@@ -1296,7 +1340,7 @@ export class IgcDockManager {
1296
1340
  const maximized = this.maximizedPane === pane ||
1297
1341
  (parentPane.type === IgcDockManagerPaneType.tabGroupPane && this.maximizedPane === parentPane) ||
1298
1342
  isFloating && isSingleFloatingContentPane && floatingPane === this.maximizedPane;
1299
- return (h("igc-content-pane-component", { key: pane.id, contentId: pane.contentId, size: pane.size, isFlyout: isFlyout, unpinnedSize: pane.unpinnedSize, disabled: pane.disabled, isSingleFloating: isSingleFloatingContentPane, onMouseMove: this.togglePaneHeaderVisibility.bind(this, pane), onMouseLeave: this.removeHoveredPane.bind(this), ref: el => {
1343
+ return (h("igc-content-pane-component", { key: pane.id, contentId: pane.contentId, size: pane.size, isFlyout: isFlyout, unpinnedSize: pane.unpinnedSize, disabled: pane.disabled, isSingleFloating: isSingleFloatingContentPane, onMouseMove: this.togglePaneHeaderVisibility.bind(this, pane), onMouseLeave: this.removeHoveredPane.bind(this), parentUseFixedSize: this.service.isParentUseFixedSize(pane), ref: el => {
1300
1344
  if (el) {
1301
1345
  this.panesElementMap.set(pane, el);
1302
1346
  this.contentPanesElementMap.set(pane, el);
@@ -1311,10 +1355,10 @@ export class IgcDockManager {
1311
1355
  pane.header), h("div", { class: "content", onMouseDown: this.handlePaneContentMouseDown.bind(this, pane), onScroll: this.handlePaneContentScroll.bind(this, pane) }, h("slot", { name: pane.contentId }))));
1312
1356
  }
1313
1357
  renderSplitter(parentPane, pane) {
1314
- return (h("igc-splitter-component", { splitPaneOrientation: parentPane.orientation, onResizeStart: this.handleSplitterResizeStart.bind(this, pane), onResizeEnd: this.handleSplitterResizeEnd.bind(this, parentPane, pane), onFocusin: this.clearActivePane.bind(this) }));
1358
+ return (h("igc-splitter-component", { splitPaneOrientation: parentPane.orientation, onResizeStart: this.handleSplitterResizeStart.bind(this, pane), onResizeEnd: this.handleSplitterResizeEnd.bind(this, parentPane, pane), onFocusin: this.clearActivePane.bind(this), parentUseFixedSize: parentPane.useFixedSize }));
1315
1359
  }
1316
1360
  renderDocumentHost(docHost) {
1317
- return (h("igc-document-host-component", { key: docHost.id, size: docHost.size, ref: el => {
1361
+ return (h("igc-document-host-component", { key: docHost.id, size: docHost.size, parentUseFixedSize: this.service.isParentUseFixedSize(docHost), ref: el => {
1318
1362
  if (el) {
1319
1363
  this.panesElementMap.set(docHost, el);
1320
1364
  }
@@ -1338,7 +1382,7 @@ export class IgcDockManager {
1338
1382
  else {
1339
1383
  contentIds.push(pane.contentId);
1340
1384
  }
1341
- return (allowEmpty || tabs.length > 0) && (h("igc-tabs-component", { key: pane.id, contentIds: contentIds, size: pane.size, selectedIndex: selectedIndex, hasHeaders: !isSingleTab, maximized: this.maximizedPane === pane, allowMaximize: position === IgcTabHeadersPosition.top && allowMaximize, onMaximizeMinimizeFocus: this.clearActivePane.bind(this), onMaximize: this.handleMaximize.bind(this, pane), onSelectedIndexChanged: this.handleTabSelectedIndexChanged.bind(this, pane), onHiddenTabSelected: this.handleHiddenTabSelected.bind(this, pane), onSelectedTabOutOfView: this.handleSelectedTabOutOfView.bind(this, pane), onRendered: this.handleTabsRendered.bind(this, pane), tabHeadersPosition: position, resourceStrings: this.resourceStrings, ref: el => {
1385
+ return (allowEmpty || tabs.length > 0) && (h("igc-tabs-component", { key: pane.id, contentIds: contentIds, size: pane.size, selectedIndex: selectedIndex, hasHeaders: !isSingleTab, parentUseFixedSize: this.service.isParentUseFixedSize(pane), maximized: this.maximizedPane === pane, allowMaximize: position === IgcTabHeadersPosition.top && allowMaximize, onMaximizeMinimizeFocus: this.clearActivePane.bind(this), onMaximize: this.handleMaximize.bind(this, pane), onSelectedIndexChanged: this.handleTabSelectedIndexChanged.bind(this, pane), onHiddenTabSelected: this.handleHiddenTabSelected.bind(this, pane), onSelectedTabOutOfView: this.handleSelectedTabOutOfView.bind(this, pane), onRendered: this.handleTabsRendered.bind(this, pane), tabHeadersPosition: position, resourceStrings: this.resourceStrings, ref: el => {
1342
1386
  if (el) {
1343
1387
  this.panesElementMap.set(pane, el);
1344
1388
  }
@@ -1381,7 +1425,7 @@ export class IgcDockManager {
1381
1425
  }
1382
1426
  renderSplitPane(splitPane, isFloating, isInDocumentHost) {
1383
1427
  const panes = this.service.getSplitPaneVisibleChildren(splitPane);
1384
- return (splitPane.allowEmpty || panes.length > 0) && (h("igc-split-pane-component", { key: splitPane.id, orientation: splitPane.orientation, size: splitPane.size, onRendered: this.handleSplitPaneRendered.bind(this, panes), ref: el => {
1428
+ return (splitPane.allowEmpty || panes.length > 0) && (h("igc-split-pane-component", { key: splitPane.id, orientation: splitPane.orientation, size: splitPane.size, useFixedSize: splitPane.useFixedSize, parentUseFixedSize: this.service.isParentUseFixedSize(splitPane), onRendered: this.handleSplitPaneRendered.bind(this, panes), ref: el => {
1385
1429
  if (el) {
1386
1430
  this.panesElementMap.set(splitPane, el);
1387
1431
  }
@@ -1391,9 +1435,11 @@ export class IgcDockManager {
1391
1435
  paneComponent = this.renderSplitPane(p, isFloating, isInDocumentHost);
1392
1436
  }
1393
1437
  else if (p.type === IgcDockManagerPaneType.contentPane) {
1394
- paneComponent = isInDocumentHost ?
1395
- this.renderTabGroup(p, isFloating, true) :
1396
- this.renderContentPane(p, isFloating, false);
1438
+ paneComponent = p.contentId === "placeholder" ?
1439
+ this.renderPlaceholder(p) :
1440
+ isInDocumentHost ?
1441
+ this.renderTabGroup(p, isFloating, true) :
1442
+ this.renderContentPane(p, isFloating, false);
1397
1443
  }
1398
1444
  else if (p.type === IgcDockManagerPaneType.documentHost) {
1399
1445
  paneComponent = this.renderDocumentHost(p);
@@ -1406,6 +1452,9 @@ export class IgcDockManager {
1406
1452
  paneComponent;
1407
1453
  })));
1408
1454
  }
1455
+ renderPlaceholder(pane) {
1456
+ return (h("igc-content-pane-component", { key: pane.id, contentId: pane.contentId, size: pane.size }));
1457
+ }
1409
1458
  renderUnpinnedTabArea(location) {
1410
1459
  const panes = [];
1411
1460
  const isHorizontal = location === IgcUnpinnedLocation.top || location === IgcUnpinnedLocation.bottom;
@@ -1477,6 +1526,10 @@ export class IgcDockManager {
1477
1526
  renderDockingIndicators() {
1478
1527
  const startPosition = this.direction !== 'rtl' ? IgcDockingIndicatorPosition.left : IgcDockingIndicatorPosition.right;
1479
1528
  const endPosition = this.direction !== 'rtl' ? IgcDockingIndicatorPosition.right : IgcDockingIndicatorPosition.left;
1529
+ // Only show the joystick indicator if the target drop location is an empty split pane
1530
+ const hideJoystickIndicator = this.dropTargetPaneInfo &&
1531
+ this.dropTargetPaneInfo.pane.type == "splitPane" &&
1532
+ this.service.getSplitPaneVisibleChildren(this.dropTargetPaneInfo.pane).length;
1480
1533
  return (h("div", { class: "docking-indicators-container", style: {
1481
1534
  display: this.showDockingIndicators ? 'flex' : 'none'
1482
1535
  } }, !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(IgcDockingIndicatorPosition.top), h("div", { style: {
@@ -1484,7 +1537,7 @@ export class IgcDockManager {
1484
1537
  display: 'flex',
1485
1538
  flexDirection: 'row',
1486
1539
  justifyContent: 'space-between'
1487
- } }, !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(startPosition), !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(endPosition)), !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(IgcDockingIndicatorPosition.bottom), this.dropTargetPaneInfo && !this.proximityDock &&
1540
+ } }, !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(startPosition), !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(endPosition)), !this.documentOnlyDrag && !this.proximityDock && this.renderRootDockingIndicator(IgcDockingIndicatorPosition.bottom), this.dropTargetPaneInfo && !this.proximityDock && !hideJoystickIndicator &&
1488
1541
  h("igc-joystick-indicator-component", { dropTargetPaneInfo: this.dropTargetPaneInfo, documentOnlyDrag: this.documentOnlyDrag, allowCenterDock: this.allowInnerDock })));
1489
1542
  }
1490
1543
  renderContextMenu() {