dockview 0.0.28 → 1.0.0

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