dockview 0.0.28 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +60 -0
- package/dist/cjs/actionbar/actionsContainer.d.ts +7 -7
- package/dist/cjs/actionbar/actionsContainer.js +26 -26
- package/dist/cjs/api/component.api.d.ts +135 -131
- package/dist/cjs/api/component.api.js +486 -444
- package/dist/cjs/api/component.api.js.map +1 -1
- package/dist/cjs/api/gridviewPanelApi.d.ts +36 -36
- package/dist/cjs/api/gridviewPanelApi.js +46 -46
- package/dist/cjs/api/groupPanelApi.d.ts +44 -44
- package/dist/cjs/api/groupPanelApi.js +94 -94
- package/dist/cjs/api/groupPanelApi.js.map +1 -1
- package/dist/cjs/api/panelApi.d.ts +107 -107
- package/dist/cjs/api/panelApi.js +140 -140
- package/dist/cjs/api/paneviewPanelApi.d.ts +26 -26
- package/dist/cjs/api/paneviewPanelApi.js +56 -56
- package/dist/cjs/api/splitviewPanelApi.d.ts +33 -33
- package/dist/cjs/api/splitviewPanelApi.js +51 -51
- package/dist/cjs/array.d.ts +13 -13
- package/dist/cjs/array.js +77 -77
- package/dist/cjs/dnd/abstractDragHandler.d.ts +11 -11
- package/dist/cjs/dnd/abstractDragHandler.js +115 -115
- package/dist/cjs/dnd/dataTransfer.d.ts +56 -56
- package/dist/cjs/dnd/dataTransfer.js +144 -144
- package/dist/cjs/dnd/dataTransfer.js.map +1 -1
- package/dist/cjs/dnd/dnd.d.ts +40 -40
- package/dist/cjs/dnd/dnd.js +142 -142
- package/dist/cjs/dnd/droptarget.d.ts +33 -37
- package/dist/cjs/dnd/droptarget.js +177 -177
- package/dist/cjs/dnd/droptarget.js.map +1 -1
- package/dist/cjs/dockview/components/tab/defaultTab.d.ts +44 -44
- package/dist/cjs/dockview/components/tab/defaultTab.js +186 -186
- package/dist/cjs/dockview/components/watermark/watermark.d.ts +20 -20
- package/dist/cjs/dockview/components/watermark/watermark.js +99 -99
- package/dist/cjs/dockview/defaultGroupPanelView.d.ts +34 -34
- package/dist/cjs/dockview/defaultGroupPanelView.js +85 -83
- package/dist/cjs/dockview/defaultGroupPanelView.js.map +1 -1
- package/dist/cjs/dockview/deserializer.d.ts +14 -14
- package/dist/cjs/dockview/deserializer.js +47 -47
- package/dist/cjs/dockview/dockviewComponent.d.ts +121 -121
- package/dist/cjs/dockview/dockviewComponent.js +692 -692
- package/dist/cjs/dockview/dockviewComponent.js.map +1 -1
- package/dist/cjs/dockview/dockviewGroupPanel.d.ts +35 -35
- package/dist/cjs/dockview/dockviewGroupPanel.js +195 -195
- package/dist/cjs/dockview/options.d.ts +79 -79
- package/dist/cjs/dockview/options.js +2 -2
- package/dist/cjs/dom.d.ts +14 -14
- package/dist/cjs/dom.js +182 -182
- package/dist/cjs/events.d.ts +30 -23
- package/dist/cjs/events.js +108 -87
- package/dist/cjs/events.js.map +1 -1
- package/dist/cjs/functions.d.ts +1 -1
- package/dist/cjs/functions.js +41 -41
- package/dist/cjs/gridview/baseComponentGridview.d.ts +98 -98
- package/dist/cjs/gridview/baseComponentGridview.js +285 -292
- package/dist/cjs/gridview/baseComponentGridview.js.map +1 -1
- package/dist/cjs/gridview/basePanelView.d.ts +46 -46
- package/dist/cjs/gridview/basePanelView.js +115 -115
- package/dist/cjs/gridview/branchNode.d.ts +46 -46
- package/dist/cjs/gridview/branchNode.js +342 -342
- package/dist/cjs/gridview/gridview.d.ts +123 -123
- package/dist/cjs/gridview/gridview.js +476 -477
- package/dist/cjs/gridview/gridview.js.map +1 -1
- package/dist/cjs/gridview/gridviewComponent.d.ts +88 -88
- package/dist/cjs/gridview/gridviewComponent.js +303 -303
- package/dist/cjs/gridview/gridviewComponent.js.map +1 -1
- package/dist/cjs/gridview/gridviewPanel.d.ts +62 -62
- package/dist/cjs/gridview/gridviewPanel.js +205 -205
- package/dist/cjs/gridview/leafNode.d.ts +31 -31
- package/dist/cjs/gridview/leafNode.js +164 -164
- package/dist/cjs/gridview/options.d.ts +18 -18
- package/dist/cjs/gridview/options.js +2 -2
- package/dist/cjs/gridview/types.d.ts +3 -3
- package/dist/cjs/gridview/types.js +2 -2
- package/dist/cjs/groupview/dnd.d.ts +5 -5
- package/dist/cjs/groupview/dnd.js +9 -9
- package/dist/cjs/groupview/groupPanel.d.ts +41 -41
- package/dist/cjs/groupview/groupPanel.js +2 -2
- package/dist/cjs/groupview/groupview.d.ts +154 -154
- package/dist/cjs/groupview/groupview.js +633 -633
- package/dist/cjs/groupview/groupview.js.map +1 -1
- package/dist/cjs/groupview/groupviewPanel.d.ts +18 -18
- package/dist/cjs/groupview/groupviewPanel.js +83 -83
- package/dist/cjs/groupview/panel/content.d.ts +30 -30
- package/dist/cjs/groupview/panel/content.js +99 -99
- package/dist/cjs/groupview/panel/hostedPanel.d.ts +22 -22
- package/dist/cjs/groupview/panel/hostedPanel.js +56 -56
- package/dist/cjs/groupview/panel/hostedPanel.js.map +1 -1
- package/dist/cjs/groupview/tab.d.ts +44 -44
- package/dist/cjs/groupview/tab.js +182 -182
- package/dist/cjs/groupview/titlebar/tabsContainer.d.ts +66 -66
- package/dist/cjs/groupview/titlebar/tabsContainer.js +260 -260
- package/dist/cjs/groupview/titlebar/tabsContainer.js.map +1 -1
- package/dist/cjs/groupview/types.d.ts +59 -59
- package/dist/cjs/groupview/types.js +2 -2
- package/dist/cjs/hostedContainer.d.ts +23 -23
- package/dist/cjs/hostedContainer.js +73 -73
- package/dist/cjs/hostedContainer.js.map +1 -1
- package/dist/cjs/index.d.ts +28 -26
- package/dist/cjs/index.js +37 -35
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/json.d.ts +1 -1
- package/dist/cjs/json.js +13 -13
- package/dist/cjs/lifecycle.d.ts +22 -22
- package/dist/cjs/lifecycle.js +87 -87
- package/dist/cjs/math.d.ts +4 -4
- package/dist/cjs/math.js +15 -15
- package/dist/cjs/math.js.map +1 -1
- package/dist/cjs/panel/componentFactory.d.ts +8 -8
- package/dist/cjs/panel/componentFactory.js +30 -30
- package/dist/cjs/panel/componentFactory.js.map +1 -1
- package/dist/cjs/panel/types.d.ts +34 -34
- package/dist/cjs/panel/types.js +2 -2
- package/dist/cjs/paneview/defaultPaneviewHeader.d.ts +18 -18
- package/dist/cjs/paneview/defaultPaneviewHeader.js +64 -64
- package/dist/cjs/paneview/draggablePaneviewPanel.d.ts +17 -17
- package/dist/cjs/paneview/draggablePaneviewPanel.js +111 -111
- package/dist/cjs/paneview/options.d.ts +25 -25
- package/dist/cjs/paneview/options.js +2 -2
- package/dist/cjs/paneview/paneview.d.ts +38 -38
- package/dist/cjs/paneview/paneview.js +195 -198
- package/dist/cjs/paneview/paneview.js.map +1 -1
- package/dist/cjs/paneview/paneviewComponent.d.ts +115 -113
- package/dist/cjs/paneview/paneviewComponent.js +338 -338
- package/dist/cjs/paneview/paneviewComponent.js.map +1 -1
- package/dist/cjs/paneview/paneviewPanel.d.ts +85 -85
- package/dist/cjs/paneview/paneviewPanel.js +262 -262
- package/dist/cjs/paneview/paneviewPanel.js.map +1 -1
- package/dist/cjs/react/deserializer.d.ts +8 -8
- package/dist/cjs/react/deserializer.js +39 -39
- package/dist/cjs/react/dockview/components.d.ts +11 -11
- package/dist/cjs/react/dockview/components.js +76 -76
- package/dist/cjs/react/dockview/dockview.d.ts +34 -34
- package/dist/cjs/react/dockview/dockview.js +151 -135
- package/dist/cjs/react/dockview/dockview.js.map +1 -1
- package/dist/cjs/react/dockview/reactContentPart.d.ts +47 -47
- package/dist/cjs/react/dockview/reactContentPart.js +88 -88
- package/dist/cjs/react/dockview/reactHeaderPart.d.ts +24 -24
- package/dist/cjs/react/dockview/reactHeaderPart.js +50 -50
- package/dist/cjs/react/dockview/reactWatermarkPart.d.ts +30 -30
- package/dist/cjs/react/dockview/reactWatermarkPart.js +66 -66
- package/dist/cjs/react/dockview/v2/reactContentRenderer.d.ts +30 -30
- package/dist/cjs/react/dockview/v2/reactContentRenderer.js +90 -90
- package/dist/cjs/react/dockview/v2/reactGroupPanelView.d.ts +7 -7
- package/dist/cjs/react/dockview/v2/reactGroupPanelView.js +34 -34
- package/dist/cjs/react/dockview/v2/webviewContentRenderer.d.ts +18 -18
- package/dist/cjs/react/dockview/v2/webviewContentRenderer.js +45 -45
- package/dist/cjs/react/gridview/gridview.d.ts +24 -24
- package/dist/cjs/react/gridview/gridview.js +104 -96
- package/dist/cjs/react/gridview/gridview.js.map +1 -1
- package/dist/cjs/react/gridview/view.d.ts +10 -10
- package/dist/cjs/react/gridview/view.js +40 -40
- package/dist/cjs/react/index.d.ts +9 -9
- package/dist/cjs/react/index.js +21 -21
- package/dist/cjs/react/paneview/paneview.d.ts +28 -28
- package/dist/cjs/react/paneview/paneview.js +142 -138
- package/dist/cjs/react/paneview/paneview.js.map +1 -1
- package/dist/cjs/react/paneview/view.d.ts +20 -20
- package/dist/cjs/react/paneview/view.js +44 -44
- package/dist/cjs/react/react.d.ts +35 -35
- package/dist/cjs/react/react.js +181 -181
- package/dist/cjs/react/react.js.map +1 -1
- package/dist/cjs/react/splitview/splitview.d.ts +24 -24
- package/dist/cjs/react/splitview/splitview.js +101 -93
- package/dist/cjs/react/splitview/splitview.js.map +1 -1
- package/dist/cjs/react/splitview/view.d.ts +10 -10
- package/dist/cjs/react/splitview/view.js +40 -40
- package/dist/cjs/react/types.d.ts +7 -7
- package/dist/cjs/react/types.js +2 -2
- package/dist/cjs/splitview/core/options.d.ts +26 -26
- package/dist/cjs/splitview/core/options.js +2 -2
- package/dist/cjs/splitview/core/splitview.d.ts +124 -124
- package/dist/cjs/splitview/core/splitview.js +908 -908
- package/dist/cjs/splitview/core/splitview.js.map +1 -1
- package/dist/cjs/splitview/core/viewItem.d.ts +25 -25
- package/dist/cjs/splitview/core/viewItem.js +124 -124
- package/dist/cjs/splitview/splitviewComponent.d.ts +100 -100
- package/dist/cjs/splitview/splitviewComponent.js +327 -327
- package/dist/cjs/splitview/splitviewComponent.js.map +1 -1
- package/dist/cjs/splitview/splitviewPanel.d.ts +47 -47
- package/dist/cjs/splitview/splitviewPanel.js +178 -178
- package/dist/cjs/types.d.ts +7 -7
- package/dist/cjs/types.js +2 -2
- package/dist/dockview.amd.js +6759 -6712
- package/dist/dockview.amd.min.js +3 -3
- package/dist/dockview.amd.min.noStyle.js +3 -3
- package/dist/dockview.amd.noStyle.js +6752 -6705
- package/dist/dockview.cjs.js +6755 -6708
- package/dist/dockview.esm.js +6750 -6707
- package/dist/dockview.esm.min.js +3 -3
- package/dist/dockview.js +6759 -6712
- package/dist/dockview.min.js +3 -3
- package/dist/dockview.min.noStyle.js +3 -3
- package/dist/dockview.noStyle.js +6752 -6705
- package/dist/esm/actionbar/actionsContainer.d.ts +7 -7
- package/dist/esm/actionbar/actionsContainer.js +17 -17
- package/dist/esm/api/component.api.d.ts +135 -131
- package/dist/esm/api/component.api.js +305 -287
- package/dist/esm/api/gridviewPanelApi.d.ts +36 -36
- package/dist/esm/api/gridviewPanelApi.js +24 -24
- package/dist/esm/api/groupPanelApi.d.ts +44 -44
- package/dist/esm/api/groupPanelApi.js +52 -52
- package/dist/esm/api/panelApi.d.ts +107 -107
- package/dist/esm/api/panelApi.js +98 -98
- package/dist/esm/api/paneviewPanelApi.d.ts +26 -26
- package/dist/esm/api/paneviewPanelApi.js +26 -26
- package/dist/esm/api/splitviewPanelApi.d.ts +33 -33
- package/dist/esm/api/splitviewPanelApi.js +29 -29
- package/dist/esm/array.d.ts +13 -13
- package/dist/esm/array.js +67 -67
- package/dist/esm/dnd/abstractDragHandler.d.ts +11 -11
- package/dist/esm/dnd/abstractDragHandler.js +37 -37
- package/dist/esm/dnd/dataTransfer.d.ts +56 -56
- package/dist/esm/dnd/dataTransfer.js +109 -109
- package/dist/esm/dnd/dnd.d.ts +40 -40
- package/dist/esm/dnd/dnd.js +109 -109
- package/dist/esm/dnd/droptarget.d.ts +33 -37
- package/dist/esm/dnd/droptarget.js +143 -143
- package/dist/esm/dockview/components/tab/defaultTab.d.ts +44 -44
- package/dist/esm/dockview/components/tab/defaultTab.js +130 -130
- package/dist/esm/dockview/components/watermark/watermark.d.ts +20 -20
- package/dist/esm/dockview/components/watermark/watermark.js +68 -68
- package/dist/esm/dockview/defaultGroupPanelView.d.ts +34 -34
- package/dist/esm/dockview/defaultGroupPanelView.js +57 -55
- package/dist/esm/dockview/deserializer.d.ts +14 -14
- package/dist/esm/dockview/deserializer.js +20 -20
- package/dist/esm/dockview/dockviewComponent.d.ts +121 -121
- package/dist/esm/dockview/dockviewComponent.js +533 -533
- package/dist/esm/dockview/dockviewGroupPanel.d.ts +35 -35
- package/dist/esm/dockview/dockviewGroupPanel.js +145 -145
- package/dist/esm/dockview/options.d.ts +79 -79
- package/dist/esm/dockview/options.js +1 -1
- package/dist/esm/dom.d.ts +14 -14
- package/dist/esm/dom.js +113 -113
- package/dist/esm/events.d.ts +30 -23
- package/dist/esm/events.js +89 -71
- package/dist/esm/functions.d.ts +1 -1
- package/dist/esm/functions.js +8 -8
- package/dist/esm/gridview/baseComponentGridview.d.ts +98 -98
- package/dist/esm/gridview/baseComponentGridview.js +217 -224
- package/dist/esm/gridview/basePanelView.d.ts +46 -46
- package/dist/esm/gridview/basePanelView.js +70 -70
- package/dist/esm/gridview/branchNode.d.ts +46 -46
- package/dist/esm/gridview/branchNode.js +218 -218
- package/dist/esm/gridview/gridview.d.ts +123 -123
- package/dist/esm/gridview/gridview.js +395 -396
- package/dist/esm/gridview/gridviewComponent.d.ts +88 -88
- package/dist/esm/gridview/gridviewComponent.js +238 -238
- package/dist/esm/gridview/gridviewPanel.d.ts +62 -62
- package/dist/esm/gridview/gridviewPanel.js +141 -141
- package/dist/esm/gridview/leafNode.d.ts +31 -31
- package/dist/esm/gridview/leafNode.js +97 -97
- package/dist/esm/gridview/options.d.ts +18 -18
- package/dist/esm/gridview/options.js +1 -1
- package/dist/esm/gridview/types.d.ts +3 -3
- package/dist/esm/gridview/types.js +1 -1
- package/dist/esm/groupview/dnd.d.ts +5 -5
- package/dist/esm/groupview/dnd.js +6 -6
- package/dist/esm/groupview/groupPanel.d.ts +41 -41
- package/dist/esm/groupview/groupPanel.js +1 -1
- package/dist/esm/groupview/groupview.d.ts +154 -154
- package/dist/esm/groupview/groupview.js +448 -448
- package/dist/esm/groupview/groupviewPanel.d.ts +18 -18
- package/dist/esm/groupview/groupviewPanel.js +41 -41
- package/dist/esm/groupview/panel/content.d.ts +30 -30
- package/dist/esm/groupview/panel/content.js +72 -72
- package/dist/esm/groupview/panel/hostedPanel.d.ts +22 -22
- package/dist/esm/groupview/panel/hostedPanel.js +43 -43
- package/dist/esm/groupview/tab.d.ts +44 -44
- package/dist/esm/groupview/tab.js +101 -101
- package/dist/esm/groupview/titlebar/tabsContainer.d.ts +66 -66
- package/dist/esm/groupview/titlebar/tabsContainer.js +185 -185
- package/dist/esm/groupview/types.d.ts +59 -59
- package/dist/esm/groupview/types.js +1 -1
- package/dist/esm/hostedContainer.d.ts +23 -23
- package/dist/esm/hostedContainer.js +63 -63
- package/dist/esm/index.d.ts +28 -26
- package/dist/esm/index.js +23 -21
- package/dist/esm/json.d.ts +1 -1
- package/dist/esm/json.js +9 -9
- package/dist/esm/lifecycle.d.ts +22 -22
- package/dist/esm/lifecycle.js +38 -38
- package/dist/esm/math.d.ts +4 -4
- package/dist/esm/math.js +10 -10
- package/dist/esm/panel/componentFactory.d.ts +8 -8
- package/dist/esm/panel/componentFactory.js +24 -24
- package/dist/esm/panel/types.d.ts +34 -34
- package/dist/esm/panel/types.js +1 -1
- package/dist/esm/paneview/defaultPaneviewHeader.d.ts +18 -18
- package/dist/esm/paneview/defaultPaneviewHeader.js +37 -37
- package/dist/esm/paneview/draggablePaneviewPanel.d.ts +17 -17
- package/dist/esm/paneview/draggablePaneviewPanel.js +72 -72
- package/dist/esm/paneview/options.d.ts +25 -25
- package/dist/esm/paneview/options.js +1 -1
- package/dist/esm/paneview/paneview.d.ts +38 -38
- package/dist/esm/paneview/paneview.js +141 -144
- package/dist/esm/paneview/paneviewComponent.d.ts +115 -113
- package/dist/esm/paneview/paneviewComponent.js +247 -247
- package/dist/esm/paneview/paneviewPanel.d.ts +85 -85
- package/dist/esm/paneview/paneviewPanel.js +183 -183
- package/dist/esm/react/deserializer.d.ts +8 -8
- package/dist/esm/react/deserializer.js +34 -34
- package/dist/esm/react/dockview/components.d.ts +11 -11
- package/dist/esm/react/dockview/components.js +54 -54
- package/dist/esm/react/dockview/dockview.d.ts +34 -34
- package/dist/esm/react/dockview/dockview.js +113 -97
- package/dist/esm/react/dockview/reactContentPart.d.ts +47 -47
- package/dist/esm/react/dockview/reactContentPart.js +75 -75
- package/dist/esm/react/dockview/reactHeaderPart.d.ts +24 -24
- package/dist/esm/react/dockview/reactHeaderPart.js +41 -41
- package/dist/esm/react/dockview/reactWatermarkPart.d.ts +30 -30
- package/dist/esm/react/dockview/reactWatermarkPart.js +56 -56
- package/dist/esm/react/dockview/v2/reactContentRenderer.d.ts +30 -30
- package/dist/esm/react/dockview/v2/reactContentRenderer.js +72 -72
- package/dist/esm/react/dockview/v2/reactGroupPanelView.d.ts +7 -7
- package/dist/esm/react/dockview/v2/reactGroupPanelView.js +12 -12
- package/dist/esm/react/dockview/v2/webviewContentRenderer.d.ts +18 -18
- package/dist/esm/react/dockview/v2/webviewContentRenderer.js +36 -36
- package/dist/esm/react/gridview/gridview.d.ts +24 -24
- package/dist/esm/react/gridview/gridview.js +66 -58
- package/dist/esm/react/gridview/view.d.ts +10 -10
- package/dist/esm/react/gridview/view.js +18 -18
- package/dist/esm/react/index.d.ts +9 -9
- package/dist/esm/react/index.js +9 -9
- package/dist/esm/react/paneview/paneview.d.ts +28 -28
- package/dist/esm/react/paneview/paneview.js +91 -87
- package/dist/esm/react/paneview/view.d.ts +20 -20
- package/dist/esm/react/paneview/view.js +35 -35
- package/dist/esm/react/react.d.ts +35 -35
- package/dist/esm/react/react.js +116 -116
- package/dist/esm/react/splitview/splitview.d.ts +24 -24
- package/dist/esm/react/splitview/splitview.js +63 -55
- package/dist/esm/react/splitview/view.d.ts +10 -10
- package/dist/esm/react/splitview/view.js +18 -18
- package/dist/esm/react/types.d.ts +7 -7
- package/dist/esm/react/types.js +1 -1
- package/dist/esm/splitview/core/options.d.ts +26 -26
- package/dist/esm/splitview/core/options.js +1 -1
- package/dist/esm/splitview/core/splitview.d.ts +124 -124
- package/dist/esm/splitview/core/splitview.js +689 -689
- package/dist/esm/splitview/core/viewItem.d.ts +25 -25
- package/dist/esm/splitview/core/viewItem.js +79 -79
- package/dist/esm/splitview/splitviewComponent.d.ts +100 -100
- package/dist/esm/splitview/splitviewComponent.js +241 -241
- package/dist/esm/splitview/splitviewPanel.d.ts +47 -47
- package/dist/esm/splitview/splitviewPanel.js +107 -107
- package/dist/esm/types.d.ts +7 -7
- package/dist/esm/types.js +1 -1
- package/dist/styles/dockview.css +45 -45
- package/package.json +75 -75
- package/dist/cjs/footnote.d.ts +0 -1
- package/dist/cjs/footnote.js +0 -20
- package/dist/cjs/footnote.js.map +0 -1
- package/dist/esm/footnote.d.ts +0 -1
- package/dist/esm/footnote.js +0 -19
|
@@ -1,445 +1,487 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
69
|
-
SplitviewApi.prototype.
|
|
70
|
-
this.component.
|
|
71
|
-
};
|
|
72
|
-
SplitviewApi.prototype.
|
|
73
|
-
|
|
74
|
-
};
|
|
75
|
-
SplitviewApi.prototype.
|
|
76
|
-
this.component.
|
|
77
|
-
};
|
|
78
|
-
SplitviewApi.prototype.
|
|
79
|
-
return this.component.
|
|
80
|
-
};
|
|
81
|
-
SplitviewApi.prototype.
|
|
82
|
-
this.component.
|
|
83
|
-
};
|
|
84
|
-
SplitviewApi.prototype.
|
|
85
|
-
this.component.
|
|
86
|
-
};
|
|
87
|
-
SplitviewApi.prototype.
|
|
88
|
-
this.component.
|
|
89
|
-
};
|
|
90
|
-
SplitviewApi.prototype.
|
|
91
|
-
this.component.
|
|
92
|
-
};
|
|
93
|
-
SplitviewApi.prototype.
|
|
94
|
-
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
150
|
-
PaneviewApi.prototype
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
Object.defineProperty(GridviewApi.prototype, "
|
|
218
|
-
get: function () {
|
|
219
|
-
return this.component.
|
|
220
|
-
},
|
|
221
|
-
enumerable: false,
|
|
222
|
-
configurable: true
|
|
223
|
-
});
|
|
224
|
-
Object.defineProperty(GridviewApi.prototype, "
|
|
225
|
-
get: function () {
|
|
226
|
-
return this.component.
|
|
227
|
-
},
|
|
228
|
-
enumerable: false,
|
|
229
|
-
configurable: true
|
|
230
|
-
});
|
|
231
|
-
Object.defineProperty(GridviewApi.prototype, "
|
|
232
|
-
get: function () {
|
|
233
|
-
return this.component.
|
|
234
|
-
},
|
|
235
|
-
enumerable: false,
|
|
236
|
-
configurable: true
|
|
237
|
-
});
|
|
238
|
-
Object.defineProperty(GridviewApi.prototype, "
|
|
239
|
-
get: function () {
|
|
240
|
-
return this.component.
|
|
241
|
-
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
};
|
|
273
|
-
GridviewApi.prototype
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
}
|
|
334
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
335
|
-
get: function () {
|
|
336
|
-
return this.component.
|
|
337
|
-
},
|
|
338
|
-
enumerable: false,
|
|
339
|
-
configurable: true
|
|
340
|
-
});
|
|
341
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
342
|
-
get: function () {
|
|
343
|
-
return this.component.
|
|
344
|
-
},
|
|
345
|
-
enumerable: false,
|
|
346
|
-
configurable: true
|
|
347
|
-
});
|
|
348
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
349
|
-
get: function () {
|
|
350
|
-
return this.component.
|
|
351
|
-
},
|
|
352
|
-
enumerable: false,
|
|
353
|
-
configurable: true
|
|
354
|
-
});
|
|
355
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
356
|
-
get: function () {
|
|
357
|
-
return this.component.
|
|
358
|
-
},
|
|
359
|
-
enumerable: false,
|
|
360
|
-
configurable: true
|
|
361
|
-
});
|
|
362
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
363
|
-
get: function () {
|
|
364
|
-
return this.component.
|
|
365
|
-
},
|
|
366
|
-
enumerable: false,
|
|
367
|
-
configurable: true
|
|
368
|
-
});
|
|
369
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
370
|
-
get: function () {
|
|
371
|
-
return this.component.
|
|
372
|
-
},
|
|
373
|
-
enumerable: false,
|
|
374
|
-
configurable: true
|
|
375
|
-
});
|
|
376
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
377
|
-
get: function () {
|
|
378
|
-
return this.component.
|
|
379
|
-
},
|
|
380
|
-
enumerable: false,
|
|
381
|
-
configurable: true
|
|
382
|
-
});
|
|
383
|
-
Object.defineProperty(DockviewApi.prototype, "
|
|
384
|
-
get: function () {
|
|
385
|
-
return this.component.
|
|
386
|
-
},
|
|
387
|
-
enumerable: false,
|
|
388
|
-
configurable: true
|
|
389
|
-
});
|
|
390
|
-
DockviewApi.prototype
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
};
|
|
418
|
-
DockviewApi.prototype
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
444
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.DockviewApi = exports.GridviewApi = exports.PaneviewApi = exports.SplitviewApi = void 0;
|
|
15
|
+
var events_1 = require("../events");
|
|
16
|
+
var SplitviewApi = /** @class */ (function () {
|
|
17
|
+
function SplitviewApi(component) {
|
|
18
|
+
this.component = component;
|
|
19
|
+
}
|
|
20
|
+
Object.defineProperty(SplitviewApi.prototype, "minimumSize", {
|
|
21
|
+
get: function () {
|
|
22
|
+
return this.component.minimumSize;
|
|
23
|
+
},
|
|
24
|
+
enumerable: false,
|
|
25
|
+
configurable: true
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(SplitviewApi.prototype, "maximumSize", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this.component.maximumSize;
|
|
30
|
+
},
|
|
31
|
+
enumerable: false,
|
|
32
|
+
configurable: true
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(SplitviewApi.prototype, "height", {
|
|
35
|
+
get: function () {
|
|
36
|
+
return this.component.height;
|
|
37
|
+
},
|
|
38
|
+
enumerable: false,
|
|
39
|
+
configurable: true
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(SplitviewApi.prototype, "width", {
|
|
42
|
+
get: function () {
|
|
43
|
+
return this.component.width;
|
|
44
|
+
},
|
|
45
|
+
enumerable: false,
|
|
46
|
+
configurable: true
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(SplitviewApi.prototype, "length", {
|
|
49
|
+
get: function () {
|
|
50
|
+
return this.component.length;
|
|
51
|
+
},
|
|
52
|
+
enumerable: false,
|
|
53
|
+
configurable: true
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(SplitviewApi.prototype, "onDidLayoutChange", {
|
|
56
|
+
get: function () {
|
|
57
|
+
return this.component.onDidLayoutChange;
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(SplitviewApi.prototype, "orientation", {
|
|
63
|
+
get: function () {
|
|
64
|
+
return this.component.orientation;
|
|
65
|
+
},
|
|
66
|
+
enumerable: false,
|
|
67
|
+
configurable: true
|
|
68
|
+
});
|
|
69
|
+
SplitviewApi.prototype.updateOptions = function (options) {
|
|
70
|
+
this.component.updateOptions(options);
|
|
71
|
+
};
|
|
72
|
+
SplitviewApi.prototype.removePanel = function (panel, sizing) {
|
|
73
|
+
this.component.removePanel(panel, sizing);
|
|
74
|
+
};
|
|
75
|
+
SplitviewApi.prototype.setVisible = function (panel, isVisible) {
|
|
76
|
+
this.component.setVisible(panel, isVisible);
|
|
77
|
+
};
|
|
78
|
+
SplitviewApi.prototype.getPanels = function () {
|
|
79
|
+
return this.component.getPanels();
|
|
80
|
+
};
|
|
81
|
+
SplitviewApi.prototype.focus = function () {
|
|
82
|
+
this.component.focus();
|
|
83
|
+
};
|
|
84
|
+
SplitviewApi.prototype.getPanel = function (id) {
|
|
85
|
+
return this.component.getPanel(id);
|
|
86
|
+
};
|
|
87
|
+
SplitviewApi.prototype.setActive = function (panel) {
|
|
88
|
+
this.component.setActive(panel);
|
|
89
|
+
};
|
|
90
|
+
SplitviewApi.prototype.layout = function (width, height) {
|
|
91
|
+
return this.component.layout(width, height);
|
|
92
|
+
};
|
|
93
|
+
SplitviewApi.prototype.addPanel = function (options) {
|
|
94
|
+
this.component.addPanel(options);
|
|
95
|
+
};
|
|
96
|
+
SplitviewApi.prototype.resizeToFit = function () {
|
|
97
|
+
this.component.resizeToFit();
|
|
98
|
+
};
|
|
99
|
+
SplitviewApi.prototype.movePanel = function (from, to) {
|
|
100
|
+
this.component.movePanel(from, to);
|
|
101
|
+
};
|
|
102
|
+
SplitviewApi.prototype.fromJSON = function (data, deferComponentLayout) {
|
|
103
|
+
this.component.fromJSON(data, deferComponentLayout);
|
|
104
|
+
};
|
|
105
|
+
SplitviewApi.prototype.toJSON = function () {
|
|
106
|
+
return this.component.toJSON();
|
|
107
|
+
};
|
|
108
|
+
return SplitviewApi;
|
|
109
|
+
}());
|
|
110
|
+
exports.SplitviewApi = SplitviewApi;
|
|
111
|
+
var PaneviewApi = /** @class */ (function () {
|
|
112
|
+
function PaneviewApi(component) {
|
|
113
|
+
this.component = component;
|
|
114
|
+
}
|
|
115
|
+
Object.defineProperty(PaneviewApi.prototype, "width", {
|
|
116
|
+
get: function () {
|
|
117
|
+
return this.component.width;
|
|
118
|
+
},
|
|
119
|
+
enumerable: false,
|
|
120
|
+
configurable: true
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(PaneviewApi.prototype, "height", {
|
|
123
|
+
get: function () {
|
|
124
|
+
return this.component.height;
|
|
125
|
+
},
|
|
126
|
+
enumerable: false,
|
|
127
|
+
configurable: true
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(PaneviewApi.prototype, "minimumSize", {
|
|
130
|
+
get: function () {
|
|
131
|
+
return this.component.minimumSize;
|
|
132
|
+
},
|
|
133
|
+
enumerable: false,
|
|
134
|
+
configurable: true
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(PaneviewApi.prototype, "maximumSize", {
|
|
137
|
+
get: function () {
|
|
138
|
+
return this.component.maximumSize;
|
|
139
|
+
},
|
|
140
|
+
enumerable: false,
|
|
141
|
+
configurable: true
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(PaneviewApi.prototype, "onDidLayoutChange", {
|
|
144
|
+
get: function () {
|
|
145
|
+
return this.component.onDidLayoutChange;
|
|
146
|
+
},
|
|
147
|
+
enumerable: false,
|
|
148
|
+
configurable: true
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(PaneviewApi.prototype, "onDidAddView", {
|
|
151
|
+
get: function () {
|
|
152
|
+
return this.component.onDidAddView;
|
|
153
|
+
},
|
|
154
|
+
enumerable: false,
|
|
155
|
+
configurable: true
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(PaneviewApi.prototype, "onDidRemoveView", {
|
|
158
|
+
get: function () {
|
|
159
|
+
return this.component.onDidRemoveView;
|
|
160
|
+
},
|
|
161
|
+
enumerable: false,
|
|
162
|
+
configurable: true
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(PaneviewApi.prototype, "onDidDrop", {
|
|
165
|
+
get: function () {
|
|
166
|
+
var _this = this;
|
|
167
|
+
var emitter = new events_1.Emitter();
|
|
168
|
+
var disposable = this.component.onDidDrop(function (e) {
|
|
169
|
+
emitter.fire(__assign(__assign({}, e), { api: _this }));
|
|
170
|
+
});
|
|
171
|
+
emitter.dispose = function () {
|
|
172
|
+
disposable.dispose();
|
|
173
|
+
emitter.dispose();
|
|
174
|
+
};
|
|
175
|
+
return emitter.event;
|
|
176
|
+
},
|
|
177
|
+
enumerable: false,
|
|
178
|
+
configurable: true
|
|
179
|
+
});
|
|
180
|
+
PaneviewApi.prototype.getPanels = function () {
|
|
181
|
+
return this.component.getPanels();
|
|
182
|
+
};
|
|
183
|
+
PaneviewApi.prototype.removePanel = function (panel) {
|
|
184
|
+
this.component.removePanel(panel);
|
|
185
|
+
};
|
|
186
|
+
PaneviewApi.prototype.getPanel = function (id) {
|
|
187
|
+
return this.component.getPanel(id);
|
|
188
|
+
};
|
|
189
|
+
PaneviewApi.prototype.movePanel = function (from, to) {
|
|
190
|
+
this.component.movePanel(from, to);
|
|
191
|
+
};
|
|
192
|
+
PaneviewApi.prototype.focus = function () {
|
|
193
|
+
this.component.focus();
|
|
194
|
+
};
|
|
195
|
+
PaneviewApi.prototype.layout = function (width, height) {
|
|
196
|
+
this.component.layout(width, height);
|
|
197
|
+
};
|
|
198
|
+
PaneviewApi.prototype.addPanel = function (options) {
|
|
199
|
+
return this.component.addPanel(options);
|
|
200
|
+
};
|
|
201
|
+
PaneviewApi.prototype.resizeToFit = function () {
|
|
202
|
+
this.component.resizeToFit();
|
|
203
|
+
};
|
|
204
|
+
PaneviewApi.prototype.fromJSON = function (data, deferComponentLayout) {
|
|
205
|
+
this.component.fromJSON(data, deferComponentLayout);
|
|
206
|
+
};
|
|
207
|
+
PaneviewApi.prototype.toJSON = function () {
|
|
208
|
+
return this.component.toJSON();
|
|
209
|
+
};
|
|
210
|
+
return PaneviewApi;
|
|
211
|
+
}());
|
|
212
|
+
exports.PaneviewApi = PaneviewApi;
|
|
213
|
+
var GridviewApi = /** @class */ (function () {
|
|
214
|
+
function GridviewApi(component) {
|
|
215
|
+
this.component = component;
|
|
216
|
+
}
|
|
217
|
+
Object.defineProperty(GridviewApi.prototype, "width", {
|
|
218
|
+
get: function () {
|
|
219
|
+
return this.component.width;
|
|
220
|
+
},
|
|
221
|
+
enumerable: false,
|
|
222
|
+
configurable: true
|
|
223
|
+
});
|
|
224
|
+
Object.defineProperty(GridviewApi.prototype, "height", {
|
|
225
|
+
get: function () {
|
|
226
|
+
return this.component.height;
|
|
227
|
+
},
|
|
228
|
+
enumerable: false,
|
|
229
|
+
configurable: true
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(GridviewApi.prototype, "minimumHeight", {
|
|
232
|
+
get: function () {
|
|
233
|
+
return this.component.minimumHeight;
|
|
234
|
+
},
|
|
235
|
+
enumerable: false,
|
|
236
|
+
configurable: true
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(GridviewApi.prototype, "maximumHeight", {
|
|
239
|
+
get: function () {
|
|
240
|
+
return this.component.maximumHeight;
|
|
241
|
+
},
|
|
242
|
+
enumerable: false,
|
|
243
|
+
configurable: true
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(GridviewApi.prototype, "minimumWidth", {
|
|
246
|
+
get: function () {
|
|
247
|
+
return this.component.minimumWidth;
|
|
248
|
+
},
|
|
249
|
+
enumerable: false,
|
|
250
|
+
configurable: true
|
|
251
|
+
});
|
|
252
|
+
Object.defineProperty(GridviewApi.prototype, "maximumWidth", {
|
|
253
|
+
get: function () {
|
|
254
|
+
return this.component.maximumWidth;
|
|
255
|
+
},
|
|
256
|
+
enumerable: false,
|
|
257
|
+
configurable: true
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(GridviewApi.prototype, "onGridEvent", {
|
|
260
|
+
get: function () {
|
|
261
|
+
return this.component.onGridEvent;
|
|
262
|
+
},
|
|
263
|
+
enumerable: false,
|
|
264
|
+
configurable: true
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(GridviewApi.prototype, "onDidLayoutChange", {
|
|
267
|
+
get: function () {
|
|
268
|
+
return this.component.onDidLayoutChange;
|
|
269
|
+
},
|
|
270
|
+
enumerable: false,
|
|
271
|
+
configurable: true
|
|
272
|
+
});
|
|
273
|
+
Object.defineProperty(GridviewApi.prototype, "panels", {
|
|
274
|
+
get: function () {
|
|
275
|
+
return this.component.groups;
|
|
276
|
+
},
|
|
277
|
+
enumerable: false,
|
|
278
|
+
configurable: true
|
|
279
|
+
});
|
|
280
|
+
Object.defineProperty(GridviewApi.prototype, "orientation", {
|
|
281
|
+
get: function () {
|
|
282
|
+
return this.component.orientation;
|
|
283
|
+
},
|
|
284
|
+
set: function (value) {
|
|
285
|
+
this.component.updateOptions({ orientation: value });
|
|
286
|
+
},
|
|
287
|
+
enumerable: false,
|
|
288
|
+
configurable: true
|
|
289
|
+
});
|
|
290
|
+
GridviewApi.prototype.focus = function () {
|
|
291
|
+
this.component.focus();
|
|
292
|
+
};
|
|
293
|
+
GridviewApi.prototype.layout = function (width, height, force) {
|
|
294
|
+
if (force === void 0) { force = false; }
|
|
295
|
+
this.component.layout(width, height, force);
|
|
296
|
+
};
|
|
297
|
+
GridviewApi.prototype.addPanel = function (options) {
|
|
298
|
+
this.component.addPanel(options);
|
|
299
|
+
};
|
|
300
|
+
GridviewApi.prototype.removePanel = function (panel, sizing) {
|
|
301
|
+
this.component.removePanel(panel, sizing);
|
|
302
|
+
};
|
|
303
|
+
GridviewApi.prototype.movePanel = function (panel, options) {
|
|
304
|
+
this.component.movePanel(panel, options);
|
|
305
|
+
};
|
|
306
|
+
GridviewApi.prototype.resizeToFit = function () {
|
|
307
|
+
this.component.resizeToFit();
|
|
308
|
+
};
|
|
309
|
+
GridviewApi.prototype.getPanel = function (id) {
|
|
310
|
+
return this.component.getPanel(id);
|
|
311
|
+
};
|
|
312
|
+
GridviewApi.prototype.toggleVisibility = function (panel) {
|
|
313
|
+
this.component.toggleVisibility(panel);
|
|
314
|
+
};
|
|
315
|
+
GridviewApi.prototype.setVisible = function (panel, visible) {
|
|
316
|
+
this.component.setVisible(panel, visible);
|
|
317
|
+
};
|
|
318
|
+
GridviewApi.prototype.setActive = function (panel) {
|
|
319
|
+
this.component.setActive(panel);
|
|
320
|
+
};
|
|
321
|
+
GridviewApi.prototype.fromJSON = function (data, deferComponentLayout) {
|
|
322
|
+
return this.component.fromJSON(data, deferComponentLayout);
|
|
323
|
+
};
|
|
324
|
+
GridviewApi.prototype.toJSON = function () {
|
|
325
|
+
return this.component.toJSON();
|
|
326
|
+
};
|
|
327
|
+
return GridviewApi;
|
|
328
|
+
}());
|
|
329
|
+
exports.GridviewApi = GridviewApi;
|
|
330
|
+
var DockviewApi = /** @class */ (function () {
|
|
331
|
+
function DockviewApi(component) {
|
|
332
|
+
this.component = component;
|
|
333
|
+
}
|
|
334
|
+
Object.defineProperty(DockviewApi.prototype, "width", {
|
|
335
|
+
get: function () {
|
|
336
|
+
return this.component.width;
|
|
337
|
+
},
|
|
338
|
+
enumerable: false,
|
|
339
|
+
configurable: true
|
|
340
|
+
});
|
|
341
|
+
Object.defineProperty(DockviewApi.prototype, "height", {
|
|
342
|
+
get: function () {
|
|
343
|
+
return this.component.height;
|
|
344
|
+
},
|
|
345
|
+
enumerable: false,
|
|
346
|
+
configurable: true
|
|
347
|
+
});
|
|
348
|
+
Object.defineProperty(DockviewApi.prototype, "minimumHeight", {
|
|
349
|
+
get: function () {
|
|
350
|
+
return this.component.minimumHeight;
|
|
351
|
+
},
|
|
352
|
+
enumerable: false,
|
|
353
|
+
configurable: true
|
|
354
|
+
});
|
|
355
|
+
Object.defineProperty(DockviewApi.prototype, "maximumHeight", {
|
|
356
|
+
get: function () {
|
|
357
|
+
return this.component.maximumHeight;
|
|
358
|
+
},
|
|
359
|
+
enumerable: false,
|
|
360
|
+
configurable: true
|
|
361
|
+
});
|
|
362
|
+
Object.defineProperty(DockviewApi.prototype, "minimumWidth", {
|
|
363
|
+
get: function () {
|
|
364
|
+
return this.component.minimumWidth;
|
|
365
|
+
},
|
|
366
|
+
enumerable: false,
|
|
367
|
+
configurable: true
|
|
368
|
+
});
|
|
369
|
+
Object.defineProperty(DockviewApi.prototype, "maximumWidth", {
|
|
370
|
+
get: function () {
|
|
371
|
+
return this.component.maximumWidth;
|
|
372
|
+
},
|
|
373
|
+
enumerable: false,
|
|
374
|
+
configurable: true
|
|
375
|
+
});
|
|
376
|
+
Object.defineProperty(DockviewApi.prototype, "size", {
|
|
377
|
+
get: function () {
|
|
378
|
+
return this.component.size;
|
|
379
|
+
},
|
|
380
|
+
enumerable: false,
|
|
381
|
+
configurable: true
|
|
382
|
+
});
|
|
383
|
+
Object.defineProperty(DockviewApi.prototype, "totalPanels", {
|
|
384
|
+
get: function () {
|
|
385
|
+
return this.component.totalPanels;
|
|
386
|
+
},
|
|
387
|
+
enumerable: false,
|
|
388
|
+
configurable: true
|
|
389
|
+
});
|
|
390
|
+
Object.defineProperty(DockviewApi.prototype, "onGridEvent", {
|
|
391
|
+
get: function () {
|
|
392
|
+
return this.component.onGridEvent;
|
|
393
|
+
},
|
|
394
|
+
enumerable: false,
|
|
395
|
+
configurable: true
|
|
396
|
+
});
|
|
397
|
+
Object.defineProperty(DockviewApi.prototype, "onDidLayoutChange", {
|
|
398
|
+
get: function () {
|
|
399
|
+
return this.component.onDidLayoutChange;
|
|
400
|
+
},
|
|
401
|
+
enumerable: false,
|
|
402
|
+
configurable: true
|
|
403
|
+
});
|
|
404
|
+
Object.defineProperty(DockviewApi.prototype, "panels", {
|
|
405
|
+
get: function () {
|
|
406
|
+
return this.component.panels;
|
|
407
|
+
},
|
|
408
|
+
enumerable: false,
|
|
409
|
+
configurable: true
|
|
410
|
+
});
|
|
411
|
+
Object.defineProperty(DockviewApi.prototype, "groups", {
|
|
412
|
+
get: function () {
|
|
413
|
+
return this.component.groups;
|
|
414
|
+
},
|
|
415
|
+
enumerable: false,
|
|
416
|
+
configurable: true
|
|
417
|
+
});
|
|
418
|
+
Object.defineProperty(DockviewApi.prototype, "activePanel", {
|
|
419
|
+
get: function () {
|
|
420
|
+
return this.component.activePanel;
|
|
421
|
+
},
|
|
422
|
+
enumerable: false,
|
|
423
|
+
configurable: true
|
|
424
|
+
});
|
|
425
|
+
Object.defineProperty(DockviewApi.prototype, "activeGroup", {
|
|
426
|
+
get: function () {
|
|
427
|
+
return this.component.activeGroup;
|
|
428
|
+
},
|
|
429
|
+
enumerable: false,
|
|
430
|
+
configurable: true
|
|
431
|
+
});
|
|
432
|
+
DockviewApi.prototype.getTabHeight = function () {
|
|
433
|
+
return this.component.tabHeight;
|
|
434
|
+
};
|
|
435
|
+
DockviewApi.prototype.setTabHeight = function (height) {
|
|
436
|
+
this.component.tabHeight = height;
|
|
437
|
+
};
|
|
438
|
+
DockviewApi.prototype.focus = function () {
|
|
439
|
+
this.component.focus();
|
|
440
|
+
};
|
|
441
|
+
DockviewApi.prototype.getPanel = function (id) {
|
|
442
|
+
return this.component.getGroupPanel(id);
|
|
443
|
+
};
|
|
444
|
+
DockviewApi.prototype.setActivePanel = function (panel) {
|
|
445
|
+
this.component.setActivePanel(panel);
|
|
446
|
+
};
|
|
447
|
+
DockviewApi.prototype.layout = function (width, height, force) {
|
|
448
|
+
if (force === void 0) { force = false; }
|
|
449
|
+
this.component.layout(width, height, force);
|
|
450
|
+
};
|
|
451
|
+
DockviewApi.prototype.addPanel = function (options) {
|
|
452
|
+
return this.component.addPanel(options);
|
|
453
|
+
};
|
|
454
|
+
DockviewApi.prototype.removePanel = function (panel) {
|
|
455
|
+
this.component.removePanel(panel);
|
|
456
|
+
};
|
|
457
|
+
DockviewApi.prototype.addEmptyGroup = function (options) {
|
|
458
|
+
this.component.addEmptyGroup(options);
|
|
459
|
+
};
|
|
460
|
+
DockviewApi.prototype.moveToNext = function (options) {
|
|
461
|
+
this.component.moveToNext(options);
|
|
462
|
+
};
|
|
463
|
+
DockviewApi.prototype.moveToPrevious = function (options) {
|
|
464
|
+
this.component.moveToPrevious(options);
|
|
465
|
+
};
|
|
466
|
+
DockviewApi.prototype.closeAllGroups = function () {
|
|
467
|
+
return this.component.closeAllGroups();
|
|
468
|
+
};
|
|
469
|
+
DockviewApi.prototype.removeGroup = function (group) {
|
|
470
|
+
this.component.removeGroup(group);
|
|
471
|
+
};
|
|
472
|
+
DockviewApi.prototype.resizeToFit = function () {
|
|
473
|
+
return this.component.resizeToFit();
|
|
474
|
+
};
|
|
475
|
+
DockviewApi.prototype.getGroup = function (id) {
|
|
476
|
+
return this.component.getPanel(id);
|
|
477
|
+
};
|
|
478
|
+
DockviewApi.prototype.fromJSON = function (data) {
|
|
479
|
+
this.component.fromJSON(data);
|
|
480
|
+
};
|
|
481
|
+
DockviewApi.prototype.toJSON = function () {
|
|
482
|
+
return this.component.toJSON();
|
|
483
|
+
};
|
|
484
|
+
return DockviewApi;
|
|
485
|
+
}());
|
|
486
|
+
exports.DockviewApi = DockviewApi;
|
|
445
487
|
//# sourceMappingURL=component.api.js.map
|