flexlayout-react 0.8.12 → 0.8.13

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 (307) hide show
  1. package/README.md +16 -5
  2. package/declarations/Attribute.d.ts +25 -1
  3. package/declarations/AttributeDefinitions.d.ts +18 -1
  4. package/declarations/DockLocation.d.ts +22 -0
  5. package/declarations/I18nLabel.d.ts +2 -1
  6. package/declarations/Orientation.d.ts +4 -0
  7. package/declarations/Rect.d.ts +3 -0
  8. package/declarations/index.d.ts +1 -0
  9. package/declarations/model/BorderNode.d.ts +53 -0
  10. package/declarations/model/BorderSet.d.ts +28 -0
  11. package/declarations/model/IDraggable.d.ts +4 -0
  12. package/declarations/model/IDropTarget.d.ts +10 -0
  13. package/declarations/model/LayoutWindow.d.ts +16 -0
  14. package/declarations/model/Model.d.ts +55 -0
  15. package/declarations/model/Node.d.ts +61 -0
  16. package/declarations/model/RowNode.d.ts +67 -0
  17. package/declarations/model/TabNode.d.ts +79 -0
  18. package/declarations/model/TabSetNode.d.ts +60 -0
  19. package/declarations/model/Utils.d.ts +8 -0
  20. package/declarations/view/BorderButton.d.ts +13 -1
  21. package/declarations/view/BorderTab.d.ts +8 -0
  22. package/declarations/view/BorderTabSet.d.ts +10 -1
  23. package/declarations/view/DragContainer.d.ts +9 -1
  24. package/declarations/view/ErrorBoundary.d.ts +22 -1
  25. package/declarations/view/Icons.d.ts +1 -0
  26. package/declarations/view/Layout.d.ts +143 -1
  27. package/declarations/view/Overlay.d.ts +8 -1
  28. package/declarations/view/PopoutWindow.d.ts +14 -1
  29. package/declarations/view/PopupMenu.d.ts +12 -1
  30. package/declarations/view/Row.d.ts +9 -1
  31. package/declarations/view/Splitter.d.ts +14 -1
  32. package/declarations/view/Tab.d.ts +11 -1
  33. package/declarations/view/TabButton.d.ts +11 -1
  34. package/declarations/view/TabButtonStamp.d.ts +9 -1
  35. package/declarations/view/TabOverflowHook.d.ts +16 -1
  36. package/declarations/view/TabSet.d.ts +9 -1
  37. package/declarations/view/Utils.d.ts +13 -0
  38. package/lib/index.js +6410 -22
  39. package/package.json +34 -26
  40. package/ChangeLog.txt +0 -372
  41. package/declarations/DragDrop.d.ts +0 -15
  42. package/declarations/PopupMenu.d.ts +0 -1
  43. package/declarations/model/SplitterNode.d.ts +0 -5
  44. package/declarations/model/WindowLayout.d.ts +0 -24
  45. package/declarations/src/Attribute.d.ts +0 -1
  46. package/declarations/src/AttributeDefinitions.d.ts +0 -1
  47. package/declarations/src/DockLocation.d.ts +0 -12
  48. package/declarations/src/DropInfo.d.ts +0 -12
  49. package/declarations/src/I18nLabel.d.ts +0 -10
  50. package/declarations/src/Orientation.d.ts +0 -7
  51. package/declarations/src/PopupMenu.d.ts +0 -1
  52. package/declarations/src/Rect.d.ts +0 -31
  53. package/declarations/src/Types.d.ts +0 -92
  54. package/declarations/src/index.d.ts +0 -20
  55. package/declarations/src/model/Action.d.ts +0 -5
  56. package/declarations/src/model/Actions.d.ts +0 -110
  57. package/declarations/src/model/BorderNode.d.ts +0 -28
  58. package/declarations/src/model/BorderSet.d.ts +0 -3
  59. package/declarations/src/model/ICloseType.d.ts +0 -5
  60. package/declarations/src/model/IDraggable.d.ts +0 -2
  61. package/declarations/src/model/IDropTarget.d.ts +0 -2
  62. package/declarations/src/model/IJsonModel.d.ts +0 -153
  63. package/declarations/src/model/Model.d.ts +0 -98
  64. package/declarations/src/model/Node.d.ts +0 -16
  65. package/declarations/src/model/RowNode.d.ts +0 -11
  66. package/declarations/src/model/TabNode.d.ts +0 -36
  67. package/declarations/src/model/TabSetNode.d.ts +0 -37
  68. package/declarations/src/model/Utils.d.ts +0 -1
  69. package/declarations/src/view/BorderButton.d.ts +0 -1
  70. package/declarations/src/view/BorderTab.d.ts +0 -2
  71. package/declarations/src/view/BorderTabSet.d.ts +0 -1
  72. package/declarations/src/view/DragContainer.d.ts +0 -1
  73. package/declarations/src/view/ErrorBoundary.d.ts +0 -1
  74. package/declarations/src/view/FloatingWindow.d.ts +0 -1
  75. package/declarations/src/view/Icons.d.ts +0 -7
  76. package/declarations/src/view/Layout.d.ts +0 -113
  77. package/declarations/src/view/Overlay.d.ts +0 -1
  78. package/declarations/src/view/PopupMenu.d.ts +0 -1
  79. package/declarations/src/view/Row.d.ts +0 -1
  80. package/declarations/src/view/Splitter.d.ts +0 -1
  81. package/declarations/src/view/Tab.d.ts +0 -1
  82. package/declarations/src/view/TabButton.d.ts +0 -1
  83. package/declarations/src/view/TabButtonStamp.d.ts +0 -1
  84. package/declarations/src/view/TabOverflowHook.d.ts +0 -1
  85. package/declarations/src/view/TabSet.d.ts +0 -1
  86. package/declarations/src/view/Utils.d.ts +0 -4
  87. package/declarations/view/ExtendedResizeObserver.d.ts +0 -23
  88. package/declarations/view/FloatingWindow.d.ts +0 -1
  89. package/declarations/view/FloatingWindowTab.d.ts +0 -1
  90. package/declarations/view/TabFloating.d.ts +0 -1
  91. package/dist/flexlayout.js +0 -610
  92. package/dist/flexlayout_min.js +0 -2
  93. package/dist/flexlayout_min.js.LICENSE.txt +0 -29
  94. package/dist/src/Attribute.js +0 -43
  95. package/dist/src/Attribute.js.map +0 -1
  96. package/dist/src/AttributeDefinitions.js +0 -132
  97. package/dist/src/AttributeDefinitions.js.map +0 -1
  98. package/dist/src/DockLocation.js +0 -121
  99. package/dist/src/DockLocation.js.map +0 -1
  100. package/dist/src/DropInfo.js +0 -10
  101. package/dist/src/DropInfo.js.map +0 -1
  102. package/dist/src/I18nLabel.js +0 -14
  103. package/dist/src/I18nLabel.js.map +0 -1
  104. package/dist/src/Orientation.js +0 -23
  105. package/dist/src/Orientation.js.map +0 -1
  106. package/dist/src/Rect.js +0 -111
  107. package/dist/src/Rect.js.map +0 -1
  108. package/dist/src/Types.js +0 -95
  109. package/dist/src/Types.js.map +0 -1
  110. package/dist/src/index.js +0 -22
  111. package/dist/src/index.js.map +0 -1
  112. package/dist/src/model/Action.js +0 -7
  113. package/dist/src/model/Action.js.map +0 -1
  114. package/dist/src/model/Actions.js +0 -170
  115. package/dist/src/model/Actions.js.map +0 -1
  116. package/dist/src/model/BorderNode.js +0 -390
  117. package/dist/src/model/BorderNode.js.map +0 -1
  118. package/dist/src/model/BorderSet.js +0 -67
  119. package/dist/src/model/BorderSet.js.map +0 -1
  120. package/dist/src/model/ICloseType.js +0 -7
  121. package/dist/src/model/ICloseType.js.map +0 -1
  122. package/dist/src/model/IDraggable.js +0 -2
  123. package/dist/src/model/IDraggable.js.map +0 -1
  124. package/dist/src/model/IDropTarget.js +0 -2
  125. package/dist/src/model/IDropTarget.js.map +0 -1
  126. package/dist/src/model/IJsonModel.js +0 -2
  127. package/dist/src/model/IJsonModel.js.map +0 -1
  128. package/dist/src/model/LayoutWindow.js +0 -81
  129. package/dist/src/model/LayoutWindow.js.map +0 -1
  130. package/dist/src/model/Model.js +0 -608
  131. package/dist/src/model/Model.js.map +0 -1
  132. package/dist/src/model/Node.js +0 -218
  133. package/dist/src/model/Node.js.map +0 -1
  134. package/dist/src/model/RowNode.js +0 -492
  135. package/dist/src/model/RowNode.js.map +0 -1
  136. package/dist/src/model/TabNode.js +0 -293
  137. package/dist/src/model/TabNode.js.map +0 -1
  138. package/dist/src/model/TabSetNode.js +0 -469
  139. package/dist/src/model/TabSetNode.js.map +0 -1
  140. package/dist/src/model/Utils.js +0 -48
  141. package/dist/src/model/Utils.js.map +0 -1
  142. package/dist/src/view/BorderButton.js +0 -126
  143. package/dist/src/view/BorderButton.js.map +0 -1
  144. package/dist/src/view/BorderTab.js +0 -44
  145. package/dist/src/view/BorderTab.js.map +0 -1
  146. package/dist/src/view/BorderTabSet.js +0 -138
  147. package/dist/src/view/BorderTabSet.js.map +0 -1
  148. package/dist/src/view/DragContainer.js +0 -16
  149. package/dist/src/view/DragContainer.js.map +0 -1
  150. package/dist/src/view/ErrorBoundary.js +0 -24
  151. package/dist/src/view/ErrorBoundary.js.map +0 -1
  152. package/dist/src/view/Icons.js +0 -29
  153. package/dist/src/view/Icons.js.map +0 -1
  154. package/dist/src/view/Layout.js +0 -881
  155. package/dist/src/view/Layout.js.map +0 -1
  156. package/dist/src/view/Overlay.js +0 -9
  157. package/dist/src/view/Overlay.js.map +0 -1
  158. package/dist/src/view/PopoutWindow.js +0 -129
  159. package/dist/src/view/PopoutWindow.js.map +0 -1
  160. package/dist/src/view/PopupMenu.js +0 -89
  161. package/dist/src/view/PopupMenu.js.map +0 -1
  162. package/dist/src/view/Row.js +0 -46
  163. package/dist/src/view/Row.js.map +0 -1
  164. package/dist/src/view/SizeTracker.js +0 -12
  165. package/dist/src/view/SizeTracker.js.map +0 -1
  166. package/dist/src/view/Splitter.js +0 -192
  167. package/dist/src/view/Splitter.js.map +0 -1
  168. package/dist/src/view/Tab.js +0 -91
  169. package/dist/src/view/Tab.js.map +0 -1
  170. package/dist/src/view/TabButton.js +0 -124
  171. package/dist/src/view/TabButton.js.map +0 -1
  172. package/dist/src/view/TabButtonStamp.js +0 -15
  173. package/dist/src/view/TabButtonStamp.js.map +0 -1
  174. package/dist/src/view/TabOverflowHook.js +0 -266
  175. package/dist/src/view/TabOverflowHook.js.map +0 -1
  176. package/dist/src/view/TabSet.js +0 -256
  177. package/dist/src/view/TabSet.js.map +0 -1
  178. package/dist/src/view/Utils.js +0 -110
  179. package/dist/src/view/Utils.js.map +0 -1
  180. package/lib/Attribute.js +0 -43
  181. package/lib/Attribute.js.map +0 -1
  182. package/lib/AttributeDefinitions.js +0 -132
  183. package/lib/AttributeDefinitions.js.map +0 -1
  184. package/lib/DockLocation.js +0 -121
  185. package/lib/DockLocation.js.map +0 -1
  186. package/lib/DropInfo.js +0 -10
  187. package/lib/DropInfo.js.map +0 -1
  188. package/lib/I18nLabel.js +0 -14
  189. package/lib/I18nLabel.js.map +0 -1
  190. package/lib/Orientation.js +0 -23
  191. package/lib/Orientation.js.map +0 -1
  192. package/lib/Rect.js +0 -111
  193. package/lib/Rect.js.map +0 -1
  194. package/lib/Types.js +0 -95
  195. package/lib/Types.js.map +0 -1
  196. package/lib/index.js.map +0 -1
  197. package/lib/model/Action.js +0 -7
  198. package/lib/model/Action.js.map +0 -1
  199. package/lib/model/Actions.js +0 -170
  200. package/lib/model/Actions.js.map +0 -1
  201. package/lib/model/BorderNode.js +0 -390
  202. package/lib/model/BorderNode.js.map +0 -1
  203. package/lib/model/BorderSet.js +0 -67
  204. package/lib/model/BorderSet.js.map +0 -1
  205. package/lib/model/ICloseType.js +0 -7
  206. package/lib/model/ICloseType.js.map +0 -1
  207. package/lib/model/IDraggable.js +0 -2
  208. package/lib/model/IDraggable.js.map +0 -1
  209. package/lib/model/IDropTarget.js +0 -2
  210. package/lib/model/IDropTarget.js.map +0 -1
  211. package/lib/model/IJsonModel.js +0 -2
  212. package/lib/model/IJsonModel.js.map +0 -1
  213. package/lib/model/LayoutWindow.js +0 -81
  214. package/lib/model/LayoutWindow.js.map +0 -1
  215. package/lib/model/Model.js +0 -608
  216. package/lib/model/Model.js.map +0 -1
  217. package/lib/model/Node.js +0 -218
  218. package/lib/model/Node.js.map +0 -1
  219. package/lib/model/RowNode.js +0 -492
  220. package/lib/model/RowNode.js.map +0 -1
  221. package/lib/model/TabNode.js +0 -293
  222. package/lib/model/TabNode.js.map +0 -1
  223. package/lib/model/TabSetNode.js +0 -469
  224. package/lib/model/TabSetNode.js.map +0 -1
  225. package/lib/model/Utils.js +0 -48
  226. package/lib/model/Utils.js.map +0 -1
  227. package/lib/view/BorderButton.js +0 -126
  228. package/lib/view/BorderButton.js.map +0 -1
  229. package/lib/view/BorderTab.js +0 -56
  230. package/lib/view/BorderTab.js.map +0 -1
  231. package/lib/view/BorderTabSet.js +0 -138
  232. package/lib/view/BorderTabSet.js.map +0 -1
  233. package/lib/view/DragContainer.js +0 -16
  234. package/lib/view/DragContainer.js.map +0 -1
  235. package/lib/view/ErrorBoundary.js +0 -24
  236. package/lib/view/ErrorBoundary.js.map +0 -1
  237. package/lib/view/Icons.js +0 -29
  238. package/lib/view/Icons.js.map +0 -1
  239. package/lib/view/Layout.js +0 -881
  240. package/lib/view/Layout.js.map +0 -1
  241. package/lib/view/Overlay.js +0 -9
  242. package/lib/view/Overlay.js.map +0 -1
  243. package/lib/view/PopoutWindow.js +0 -129
  244. package/lib/view/PopoutWindow.js.map +0 -1
  245. package/lib/view/PopupMenu.js +0 -89
  246. package/lib/view/PopupMenu.js.map +0 -1
  247. package/lib/view/Row.js +0 -46
  248. package/lib/view/Row.js.map +0 -1
  249. package/lib/view/SizeTracker.js +0 -12
  250. package/lib/view/SizeTracker.js.map +0 -1
  251. package/lib/view/Splitter.js +0 -197
  252. package/lib/view/Splitter.js.map +0 -1
  253. package/lib/view/Tab.js +0 -91
  254. package/lib/view/Tab.js.map +0 -1
  255. package/lib/view/TabButton.js +0 -124
  256. package/lib/view/TabButton.js.map +0 -1
  257. package/lib/view/TabButtonStamp.js +0 -15
  258. package/lib/view/TabButtonStamp.js.map +0 -1
  259. package/lib/view/TabOverflowHook.js +0 -266
  260. package/lib/view/TabOverflowHook.js.map +0 -1
  261. package/lib/view/TabSet.js +0 -269
  262. package/lib/view/TabSet.js.map +0 -1
  263. package/lib/view/Utils.js +0 -110
  264. package/lib/view/Utils.js.map +0 -1
  265. package/src/Attribute.ts +0 -64
  266. package/src/AttributeDefinitions.ts +0 -144
  267. package/src/DockLocation.ts +0 -133
  268. package/src/DropInfo.ts +0 -20
  269. package/src/I18nLabel.ts +0 -12
  270. package/src/Orientation.ts +0 -28
  271. package/src/Rect.ts +0 -147
  272. package/src/Types.ts +0 -112
  273. package/src/index.ts +0 -23
  274. package/src/model/Action.ts +0 -9
  275. package/src/model/Actions.ts +0 -188
  276. package/src/model/BorderNode.ts +0 -458
  277. package/src/model/BorderSet.ts +0 -87
  278. package/src/model/ICloseType.ts +0 -5
  279. package/src/model/IDraggable.ts +0 -7
  280. package/src/model/IDropTarget.ts +0 -14
  281. package/src/model/IJsonModel.ts +0 -967
  282. package/src/model/LayoutWindow.ts +0 -119
  283. package/src/model/Model.ts +0 -704
  284. package/src/model/Node.ts +0 -280
  285. package/src/model/RowNode.ts +0 -559
  286. package/src/model/TabNode.ts +0 -424
  287. package/src/model/TabSetNode.ts +0 -592
  288. package/src/model/Utils.ts +0 -52
  289. package/src/view/BorderButton.tsx +0 -201
  290. package/src/view/BorderTab.tsx +0 -81
  291. package/src/view/BorderTabSet.tsx +0 -259
  292. package/src/view/DragContainer.tsx +0 -32
  293. package/src/view/ErrorBoundary.tsx +0 -42
  294. package/src/view/Icons.tsx +0 -57
  295. package/src/view/Layout.tsx +0 -1334
  296. package/src/view/Overlay.tsx +0 -21
  297. package/src/view/PopoutWindow.tsx +0 -152
  298. package/src/view/PopupMenu.tsx +0 -156
  299. package/src/view/Row.tsx +0 -68
  300. package/src/view/SizeTracker.tsx +0 -20
  301. package/src/view/Splitter.tsx +0 -262
  302. package/src/view/Tab.tsx +0 -128
  303. package/src/view/TabButton.tsx +0 -200
  304. package/src/view/TabButtonStamp.tsx +0 -42
  305. package/src/view/TabOverflowHook.tsx +0 -305
  306. package/src/view/TabSet.tsx +0 -475
  307. package/src/view/Utils.tsx +0 -135
@@ -1,967 +0,0 @@
1
- import { ICloseType } from "./ICloseType";
2
- export type IBorderLocation = "top" | "bottom" | "left" | "right";
3
- export type ITabLocation = "top" | "bottom";
4
-
5
- export interface IJsonModel {
6
- global?: IGlobalAttributes;
7
- borders?: IJsonBorderNode[];
8
- layout: IJsonRowNode; // top level 'row' is horizontal, rows inside rows take opposite orientation to parent row (ie can act as columns)
9
- popouts?: Record<string, IJsonPopout>;
10
- }
11
-
12
- export interface IJsonRect {
13
- x: number;
14
- y: number;
15
- width: number;
16
- height: number;
17
- }
18
-
19
- export interface IJsonPopout {
20
- layout: IJsonRowNode;
21
- rect: IJsonRect ;
22
- }
23
-
24
- export interface IJsonBorderNode extends IBorderAttributes {
25
- location: IBorderLocation;
26
- children: IJsonTabNode[];
27
- }
28
-
29
- export interface IJsonRowNode extends IRowAttributes {
30
- children: (IJsonRowNode | IJsonTabSetNode)[];
31
- }
32
-
33
- export interface IJsonTabSetNode extends ITabSetAttributes {
34
- /** Marks this as the active tab set, read from initial json but
35
- * must subseqently be set on the model (only one tab set can be active)*/
36
- active?: boolean;
37
- /** Marks this tab set as being maximized, read from initial json but
38
- * must subseqently be set on the model (only one tab set can be maximized) */
39
- maximized?: boolean;
40
- children: IJsonTabNode[];
41
- }
42
-
43
- export interface IJsonTabNode extends ITabAttributes {
44
- }
45
-
46
- //----------------------------------------------------------------------------------------------------------
47
- // below this line is autogenerated from attributes in code via Model static method toTypescriptInterfaces()
48
- //----------------------------------------------------------------------------------------------------------
49
- export interface IGlobalAttributes {
50
- /**
51
- Value for BorderNode attribute autoSelectTabWhenClosed if not overridden
52
-
53
- whether to select new/moved tabs in border when the border is currently closed
54
-
55
- Default: false
56
- */
57
- borderAutoSelectTabWhenClosed?: boolean;
58
-
59
- /**
60
- Value for BorderNode attribute autoSelectTabWhenOpen if not overridden
61
-
62
- whether to select new/moved tabs in border when the border is already open
63
-
64
- Default: true
65
- */
66
- borderAutoSelectTabWhenOpen?: boolean;
67
-
68
- /**
69
- Value for BorderNode attribute className if not overridden
70
-
71
- class applied to tab button
72
-
73
- Default: undefined
74
- */
75
- borderClassName?: string;
76
-
77
- /**
78
- Value for BorderNode attribute enableAutoHide if not overridden
79
-
80
- hide border if it has zero tabs
81
-
82
- Default: false
83
- */
84
- borderEnableAutoHide?: boolean;
85
-
86
- /**
87
- Value for BorderNode attribute enableDrop if not overridden
88
-
89
- whether tabs can be dropped into this border
90
-
91
- Default: true
92
- */
93
- borderEnableDrop?: boolean;
94
-
95
- /**
96
- Value for BorderNode attribute enableTabScrollbar if not overridden
97
-
98
- whether to show a mini scrollbar for the tabs
99
-
100
- Default: false
101
- */
102
- borderEnableTabScrollbar?: boolean;
103
-
104
- /**
105
- Value for BorderNode attribute maxSize if not overridden
106
-
107
- the maximum size of the tab area
108
-
109
- Default: 99999
110
- */
111
- borderMaxSize?: number;
112
-
113
- /**
114
- Value for BorderNode attribute minSize if not overridden
115
-
116
- the minimum size of the tab area
117
-
118
- Default: 0
119
- */
120
- borderMinSize?: number;
121
-
122
- /**
123
- Value for BorderNode attribute size if not overridden
124
-
125
- size of the tab area when selected
126
-
127
- Default: 200
128
- */
129
- borderSize?: number;
130
-
131
- /**
132
- enable docking to the edges of the layout, this will show the edge indicators
133
-
134
- Default: true
135
- */
136
- enableEdgeDock?: boolean;
137
-
138
- /**
139
- boolean indicating if tab icons should rotate with the text in the left and right borders
140
-
141
- Default: true
142
- */
143
- enableRotateBorderIcons?: boolean;
144
-
145
- /**
146
- the top level 'row' will layout horizontally by default, set this option true to make it layout vertically
147
-
148
- Default: false
149
- */
150
- rootOrientationVertical?: boolean;
151
-
152
- /**
153
- enable a small centralized handle on all splitters
154
-
155
- Default: false
156
- */
157
- splitterEnableHandle?: boolean;
158
-
159
- /**
160
- additional width in pixels of the splitter hit test area
161
-
162
- Default: 0
163
- */
164
- splitterExtra?: number;
165
-
166
- /**
167
- width in pixels of all splitters between tabsets/borders
168
-
169
- Default: 8
170
- */
171
- splitterSize?: number;
172
-
173
- /**
174
- Value for TabNode attribute borderHeight if not overridden
175
-
176
- height when added to border, -1 will use border size
177
-
178
- Default: -1
179
- */
180
- tabBorderHeight?: number;
181
-
182
- /**
183
- Value for TabNode attribute borderWidth if not overridden
184
-
185
- width when added to border, -1 will use border size
186
-
187
- Default: -1
188
- */
189
- tabBorderWidth?: number;
190
-
191
- /**
192
- Value for TabNode attribute className if not overridden
193
-
194
- class applied to tab button
195
-
196
- Default: undefined
197
- */
198
- tabClassName?: string;
199
-
200
- /**
201
- Value for TabNode attribute closeType if not overridden
202
-
203
- see values in ICloseType
204
-
205
- Default: 1
206
- */
207
- tabCloseType?: ICloseType;
208
-
209
- /**
210
- Value for TabNode attribute contentClassName if not overridden
211
-
212
- class applied to tab content
213
-
214
- Default: undefined
215
- */
216
- tabContentClassName?: string;
217
-
218
- /**
219
-
220
-
221
- Default: 0.3
222
- */
223
- tabDragSpeed?: number;
224
-
225
- /**
226
- Value for TabNode attribute enableClose if not overridden
227
-
228
- allow user to close tab via close button
229
-
230
- Default: true
231
- */
232
- tabEnableClose?: boolean;
233
-
234
- /**
235
- Value for TabNode attribute enableDrag if not overridden
236
-
237
- allow user to drag tab to new location
238
-
239
- Default: true
240
- */
241
- tabEnableDrag?: boolean;
242
-
243
- /**
244
- Value for TabNode attribute enablePopout if not overridden
245
-
246
- enable popout (in popout capable browser)
247
-
248
- Default: false
249
- */
250
- tabEnablePopout?: boolean;
251
-
252
- /**
253
- Value for TabNode attribute enablePopoutIcon if not overridden
254
-
255
- whether to show the popout icon in the tabset header if this tab enables popouts
256
-
257
- Default: true
258
- */
259
- tabEnablePopoutIcon?: boolean;
260
-
261
- /**
262
- Value for TabNode attribute enablePopoutOverlay if not overridden
263
-
264
- if this tab will not work correctly in a popout window when the main window is backgrounded (inactive)
265
- then enabling this option will gray out this tab
266
-
267
- Default: false
268
- */
269
- tabEnablePopoutOverlay?: boolean;
270
-
271
- /**
272
- Value for TabNode attribute enableRename if not overridden
273
-
274
- allow user to rename tabs by double clicking
275
-
276
- Default: true
277
- */
278
- tabEnableRename?: boolean;
279
-
280
- /**
281
- Value for TabNode attribute enableRenderOnDemand if not overridden
282
-
283
- whether to avoid rendering component until tab is visible
284
-
285
- Default: true
286
- */
287
- tabEnableRenderOnDemand?: boolean;
288
-
289
- /**
290
- Value for TabNode attribute icon if not overridden
291
-
292
- the tab icon
293
-
294
- Default: undefined
295
- */
296
- tabIcon?: string;
297
-
298
- /**
299
- Value for TabNode attribute maxHeight if not overridden
300
-
301
- the max height of this tab
302
-
303
- Default: 99999
304
- */
305
- tabMaxHeight?: number;
306
-
307
- /**
308
- Value for TabNode attribute maxWidth if not overridden
309
-
310
- the max width of this tab
311
-
312
- Default: 99999
313
- */
314
- tabMaxWidth?: number;
315
-
316
- /**
317
- Value for TabNode attribute minHeight if not overridden
318
-
319
- the min height of this tab
320
-
321
- Default: 0
322
- */
323
- tabMinHeight?: number;
324
-
325
- /**
326
- Value for TabNode attribute minWidth if not overridden
327
-
328
- the min width of this tab
329
-
330
- Default: 0
331
- */
332
- tabMinWidth?: number;
333
-
334
- /**
335
- Value for TabSetNode attribute autoSelectTab if not overridden
336
-
337
- whether to select new/moved tabs in tabset
338
-
339
- Default: true
340
- */
341
- tabSetAutoSelectTab?: boolean;
342
-
343
- /**
344
- Value for TabSetNode attribute classNameTabStrip if not overridden
345
-
346
- a class name to apply to the tab strip
347
-
348
- Default: undefined
349
- */
350
- tabSetClassNameTabStrip?: string;
351
-
352
- /**
353
- Value for TabSetNode attribute enableActiveIcon if not overridden
354
-
355
- whether the active icon (*) should be displayed when the tabset is active
356
-
357
- Default: false
358
- */
359
- tabSetEnableActiveIcon?: boolean;
360
-
361
- /**
362
- Value for TabSetNode attribute enableClose if not overridden
363
-
364
- allow user to close tabset via a close button
365
-
366
- Default: false
367
- */
368
- tabSetEnableClose?: boolean;
369
-
370
- /**
371
- Value for TabSetNode attribute enableDeleteWhenEmpty if not overridden
372
-
373
- whether to delete this tabset when is has no tabs
374
-
375
- Default: true
376
- */
377
- tabSetEnableDeleteWhenEmpty?: boolean;
378
-
379
- /**
380
- Value for TabSetNode attribute enableDivide if not overridden
381
-
382
- allow user to drag tabs to region of this tabset, splitting into new tabset
383
-
384
- Default: true
385
- */
386
- tabSetEnableDivide?: boolean;
387
-
388
- /**
389
- Value for TabSetNode attribute enableDrag if not overridden
390
-
391
- allow user to drag tabs out this tabset
392
-
393
- Default: true
394
- */
395
- tabSetEnableDrag?: boolean;
396
-
397
- /**
398
- Value for TabSetNode attribute enableDrop if not overridden
399
-
400
- allow user to drag tabs into this tabset
401
-
402
- Default: true
403
- */
404
- tabSetEnableDrop?: boolean;
405
-
406
- /**
407
- Value for TabSetNode attribute enableMaximize if not overridden
408
-
409
- allow user to maximize tabset to fill view via maximize button
410
-
411
- Default: true
412
- */
413
- tabSetEnableMaximize?: boolean;
414
-
415
- /**
416
- Value for TabSetNode attribute enableSingleTabStretch if not overridden
417
-
418
- if the tabset has only a single tab then stretch the single tab to fill area and display in a header style
419
-
420
- Default: false
421
- */
422
- tabSetEnableSingleTabStretch?: boolean;
423
-
424
- /**
425
- Value for TabSetNode attribute enableTabScrollbar if not overridden
426
-
427
- whether to show a mini scrollbar for the tabs
428
-
429
- Default: false
430
- */
431
- tabSetEnableTabScrollbar?: boolean;
432
-
433
- /**
434
- Value for TabSetNode attribute enableTabStrip if not overridden
435
-
436
- enable tab strip and allow multiple tabs in this tabset
437
-
438
- Default: true
439
- */
440
- tabSetEnableTabStrip?: boolean;
441
-
442
- /**
443
- Value for TabSetNode attribute enableTabWrap if not overridden
444
-
445
- wrap tabs onto multiple lines
446
-
447
- Default: false
448
- */
449
- tabSetEnableTabWrap?: boolean;
450
-
451
- /**
452
- Value for TabSetNode attribute maxHeight if not overridden
453
-
454
- maximum height (in px) for this tabset
455
-
456
- Default: 99999
457
- */
458
- tabSetMaxHeight?: number;
459
-
460
- /**
461
- Value for TabSetNode attribute maxWidth if not overridden
462
-
463
- maximum width (in px) for this tabset
464
-
465
- Default: 99999
466
- */
467
- tabSetMaxWidth?: number;
468
-
469
- /**
470
- Value for TabSetNode attribute minHeight if not overridden
471
-
472
- minimum height (in px) for this tabset
473
-
474
- Default: 0
475
- */
476
- tabSetMinHeight?: number;
477
-
478
- /**
479
- Value for TabSetNode attribute minWidth if not overridden
480
-
481
- minimum width (in px) for this tabset
482
-
483
- Default: 0
484
- */
485
- tabSetMinWidth?: number;
486
-
487
- /**
488
- Value for TabSetNode attribute tabLocation if not overridden
489
-
490
- the location of the tabs either top or bottom
491
-
492
- Default: "top"
493
- */
494
- tabSetTabLocation?: ITabLocation;
495
-
496
- }
497
- export interface IRowAttributes {
498
- /**
499
- the unique id of the row, if left undefined a uuid will be assigned
500
-
501
- Default: undefined
502
- */
503
- id?: string;
504
-
505
- /**
506
-
507
-
508
- Fixed value: "row"
509
- */
510
- type?: string;
511
-
512
- /**
513
- relative weight for sizing of this row in parent row
514
-
515
- Default: 100
516
- */
517
- weight?: number;
518
-
519
- }
520
- export interface ITabSetAttributes {
521
- /**
522
- whether to select new/moved tabs in tabset
523
-
524
- Default: inherited from Global attribute tabSetAutoSelectTab (default true)
525
- */
526
- autoSelectTab?: boolean;
527
-
528
- /**
529
- a class name to apply to the tab strip
530
-
531
- Default: inherited from Global attribute tabSetClassNameTabStrip (default undefined)
532
- */
533
- classNameTabStrip?: string;
534
-
535
- /**
536
- a place to hold json config used in your own code
537
-
538
- Default: undefined
539
- */
540
- config?: any;
541
-
542
- /**
543
- whether the active icon (*) should be displayed when the tabset is active
544
-
545
- Default: inherited from Global attribute tabSetEnableActiveIcon (default false)
546
- */
547
- enableActiveIcon?: boolean;
548
-
549
- /**
550
- allow user to close tabset via a close button
551
-
552
- Default: inherited from Global attribute tabSetEnableClose (default false)
553
- */
554
- enableClose?: boolean;
555
-
556
- /**
557
- whether to delete this tabset when is has no tabs
558
-
559
- Default: inherited from Global attribute tabSetEnableDeleteWhenEmpty (default true)
560
- */
561
- enableDeleteWhenEmpty?: boolean;
562
-
563
- /**
564
- allow user to drag tabs to region of this tabset, splitting into new tabset
565
-
566
- Default: inherited from Global attribute tabSetEnableDivide (default true)
567
- */
568
- enableDivide?: boolean;
569
-
570
- /**
571
- allow user to drag tabs out this tabset
572
-
573
- Default: inherited from Global attribute tabSetEnableDrag (default true)
574
- */
575
- enableDrag?: boolean;
576
-
577
- /**
578
- allow user to drag tabs into this tabset
579
-
580
- Default: inherited from Global attribute tabSetEnableDrop (default true)
581
- */
582
- enableDrop?: boolean;
583
-
584
- /**
585
- allow user to maximize tabset to fill view via maximize button
586
-
587
- Default: inherited from Global attribute tabSetEnableMaximize (default true)
588
- */
589
- enableMaximize?: boolean;
590
-
591
- /**
592
- if the tabset has only a single tab then stretch the single tab to fill area and display in a header style
593
-
594
- Default: inherited from Global attribute tabSetEnableSingleTabStretch (default false)
595
- */
596
- enableSingleTabStretch?: boolean;
597
-
598
- /**
599
- whether to show a mini scrollbar for the tabs
600
-
601
- Default: inherited from Global attribute tabSetEnableTabScrollbar (default false)
602
- */
603
- enableTabScrollbar?: boolean;
604
-
605
- /**
606
- enable tab strip and allow multiple tabs in this tabset
607
-
608
- Default: inherited from Global attribute tabSetEnableTabStrip (default true)
609
- */
610
- enableTabStrip?: boolean;
611
-
612
- /**
613
- wrap tabs onto multiple lines
614
-
615
- Default: inherited from Global attribute tabSetEnableTabWrap (default false)
616
- */
617
- enableTabWrap?: boolean;
618
-
619
- /**
620
- the unique id of the tab set, if left undefined a uuid will be assigned
621
-
622
- Default: undefined
623
- */
624
- id?: string;
625
-
626
- /**
627
- maximum height (in px) for this tabset
628
-
629
- Default: inherited from Global attribute tabSetMaxHeight (default 99999)
630
- */
631
- maxHeight?: number;
632
-
633
- /**
634
- maximum width (in px) for this tabset
635
-
636
- Default: inherited from Global attribute tabSetMaxWidth (default 99999)
637
- */
638
- maxWidth?: number;
639
-
640
- /**
641
- minimum height (in px) for this tabset
642
-
643
- Default: inherited from Global attribute tabSetMinHeight (default 0)
644
- */
645
- minHeight?: number;
646
-
647
- /**
648
- minimum width (in px) for this tabset
649
-
650
- Default: inherited from Global attribute tabSetMinWidth (default 0)
651
- */
652
- minWidth?: number;
653
-
654
- /**
655
-
656
-
657
- Default: undefined
658
- */
659
- name?: string;
660
-
661
- /**
662
- index of selected/visible tab in tabset
663
-
664
- Default: 0
665
- */
666
- selected?: number;
667
-
668
- /**
669
- the location of the tabs either top or bottom
670
-
671
- Default: inherited from Global attribute tabSetTabLocation (default "top")
672
- */
673
- tabLocation?: ITabLocation;
674
-
675
- /**
676
-
677
-
678
- Fixed value: "tabset"
679
- */
680
- type?: string;
681
-
682
- /**
683
- relative weight for sizing of this tabset in parent row
684
-
685
- Default: 100
686
- */
687
- weight?: number;
688
-
689
- }
690
- export interface ITabAttributes {
691
- /**
692
- if there is no name specifed then this value will be used in the overflow menu
693
-
694
- Default: undefined
695
- */
696
- altName?: string;
697
-
698
- /**
699
- height when added to border, -1 will use border size
700
-
701
- Default: inherited from Global attribute tabBorderHeight (default -1)
702
- */
703
- borderHeight?: number;
704
-
705
- /**
706
- width when added to border, -1 will use border size
707
-
708
- Default: inherited from Global attribute tabBorderWidth (default -1)
709
- */
710
- borderWidth?: number;
711
-
712
- /**
713
- class applied to tab button
714
-
715
- Default: inherited from Global attribute tabClassName (default undefined)
716
- */
717
- className?: string;
718
-
719
- /**
720
- see values in ICloseType
721
-
722
- Default: inherited from Global attribute tabCloseType (default 1)
723
- */
724
- closeType?: ICloseType;
725
-
726
- /**
727
- string identifying which component to run (for factory)
728
-
729
- Default: undefined
730
- */
731
- component?: string;
732
-
733
- /**
734
- a place to hold json config for the hosted component
735
-
736
- Default: undefined
737
- */
738
- config?: any;
739
-
740
- /**
741
- class applied to tab content
742
-
743
- Default: inherited from Global attribute tabContentClassName (default undefined)
744
- */
745
- contentClassName?: string;
746
-
747
- /**
748
- allow user to close tab via close button
749
-
750
- Default: inherited from Global attribute tabEnableClose (default true)
751
- */
752
- enableClose?: boolean;
753
-
754
- /**
755
- allow user to drag tab to new location
756
-
757
- Default: inherited from Global attribute tabEnableDrag (default true)
758
- */
759
- enableDrag?: boolean;
760
-
761
- /**
762
- enable popout (in popout capable browser)
763
-
764
- Default: inherited from Global attribute tabEnablePopout (default false)
765
- */
766
- enablePopout?: boolean;
767
-
768
- /**
769
- whether to show the popout icon in the tabset header if this tab enables popouts
770
-
771
- Default: inherited from Global attribute tabEnablePopoutIcon (default true)
772
- */
773
- enablePopoutIcon?: boolean;
774
-
775
- /**
776
- if this tab will not work correctly in a popout window when the main window is backgrounded (inactive)
777
- then enabling this option will gray out this tab
778
-
779
- Default: inherited from Global attribute tabEnablePopoutOverlay (default false)
780
- */
781
- enablePopoutOverlay?: boolean;
782
-
783
- /**
784
- allow user to rename tabs by double clicking
785
-
786
- Default: inherited from Global attribute tabEnableRename (default true)
787
- */
788
- enableRename?: boolean;
789
-
790
- /**
791
- whether to avoid rendering component until tab is visible
792
-
793
- Default: inherited from Global attribute tabEnableRenderOnDemand (default true)
794
- */
795
- enableRenderOnDemand?: boolean;
796
-
797
- /**
798
- if enabled the tab will re-mount when popped out/in
799
-
800
- Default: false
801
- */
802
- enableWindowReMount?: boolean;
803
-
804
- /**
805
- An optional help text for the tab to be displayed upon tab hover.
806
-
807
- Default: undefined
808
- */
809
- helpText?: string;
810
-
811
- /**
812
- the tab icon
813
-
814
- Default: inherited from Global attribute tabIcon (default undefined)
815
- */
816
- icon?: string;
817
-
818
- /**
819
- the unique id of the tab, if left undefined a uuid will be assigned
820
-
821
- Default: undefined
822
- */
823
- id?: string;
824
-
825
- /**
826
- the max height of this tab
827
-
828
- Default: inherited from Global attribute tabMaxHeight (default 99999)
829
- */
830
- maxHeight?: number;
831
-
832
- /**
833
- the max width of this tab
834
-
835
- Default: inherited from Global attribute tabMaxWidth (default 99999)
836
- */
837
- maxWidth?: number;
838
-
839
- /**
840
- the min height of this tab
841
-
842
- Default: inherited from Global attribute tabMinHeight (default 0)
843
- */
844
- minHeight?: number;
845
-
846
- /**
847
- the min width of this tab
848
-
849
- Default: inherited from Global attribute tabMinWidth (default 0)
850
- */
851
- minWidth?: number;
852
-
853
- /**
854
- name of tab to be displayed in the tab button
855
-
856
- Default: "[Unnamed Tab]"
857
- */
858
- name?: string;
859
-
860
- /**
861
- class applied to parent tabset when this is the only tab and it is stretched to fill the tabset
862
-
863
- Default: undefined
864
- */
865
- tabsetClassName?: string;
866
-
867
- /**
868
-
869
-
870
- Fixed value: "tab"
871
- */
872
- type?: string;
873
-
874
- }
875
- export interface IBorderAttributes {
876
- /**
877
- whether to select new/moved tabs in border when the border is currently closed
878
-
879
- Default: inherited from Global attribute borderAutoSelectTabWhenClosed (default false)
880
- */
881
- autoSelectTabWhenClosed?: boolean;
882
-
883
- /**
884
- whether to select new/moved tabs in border when the border is already open
885
-
886
- Default: inherited from Global attribute borderAutoSelectTabWhenOpen (default true)
887
- */
888
- autoSelectTabWhenOpen?: boolean;
889
-
890
- /**
891
- class applied to tab button
892
-
893
- Default: inherited from Global attribute borderClassName (default undefined)
894
- */
895
- className?: string;
896
-
897
- /**
898
- a place to hold json config used in your own code
899
-
900
- Default: undefined
901
- */
902
- config?: any;
903
-
904
- /**
905
- hide border if it has zero tabs
906
-
907
- Default: inherited from Global attribute borderEnableAutoHide (default false)
908
- */
909
- enableAutoHide?: boolean;
910
-
911
- /**
912
- whether tabs can be dropped into this border
913
-
914
- Default: inherited from Global attribute borderEnableDrop (default true)
915
- */
916
- enableDrop?: boolean;
917
-
918
- /**
919
- whether to show a mini scrollbar for the tabs
920
-
921
- Default: inherited from Global attribute borderEnableTabScrollbar (default false)
922
- */
923
- enableTabScrollbar?: boolean;
924
-
925
- /**
926
- the maximum size of the tab area
927
-
928
- Default: inherited from Global attribute borderMaxSize (default 99999)
929
- */
930
- maxSize?: number;
931
-
932
- /**
933
- the minimum size of the tab area
934
-
935
- Default: inherited from Global attribute borderMinSize (default 0)
936
- */
937
- minSize?: number;
938
-
939
- /**
940
- index of selected/visible tab in border; -1 means no tab selected
941
-
942
- Default: -1
943
- */
944
- selected?: number;
945
-
946
- /**
947
- show/hide this border
948
-
949
- Default: true
950
- */
951
- show?: boolean;
952
-
953
- /**
954
- size of the tab area when selected
955
-
956
- Default: inherited from Global attribute borderSize (default 200)
957
- */
958
- size?: number;
959
-
960
- /**
961
-
962
-
963
- Fixed value: "border"
964
- */
965
- type?: string;
966
-
967
- }