@genesislcap/foundation-layout 14.83.3-alpha-33bf6c6.0 → 14.83.3-alpha.45c8072.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,87 +129,47 @@
129
129
  },
130
130
  {
131
131
  "kind": "javascript-module",
132
- "path": "src/styles/constants.ts",
133
- "declarations": [
134
- {
135
- "kind": "variable",
136
- "name": "glVisualConfig",
137
- "type": {
138
- "text": "Omit<LayoutConfig, 'root'>"
139
- },
140
- "default": "{\n dimensions: {\n headerHeight: 38,\n borderWidth: 12,\n },\n header: {\n maximise: 'maximise',\n minimise: 'minimise',\n popout: false,\n },\n}"
141
- },
142
- {
143
- "kind": "variable",
144
- "name": "LAYOUT_ICONS",
145
- "type": {
146
- "text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n}"
147
- },
148
- "default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n}",
149
- "description": "A collection of SVG icons in base64 format.",
150
- "privacy": "public"
151
- }
152
- ],
132
+ "path": "src/main/index.ts",
133
+ "declarations": [],
153
134
  "exports": [
154
135
  {
155
136
  "kind": "js",
156
- "name": "glVisualConfig",
137
+ "name": "FoundationLayoutItem",
157
138
  "declaration": {
158
- "name": "glVisualConfig",
159
- "module": "src/styles/constants.ts"
139
+ "name": "FoundationLayoutItem",
140
+ "module": "./layout-item"
160
141
  }
161
142
  },
162
143
  {
163
144
  "kind": "js",
164
- "name": "LAYOUT_ICONS",
145
+ "name": "FoundationLayoutRegion",
165
146
  "declaration": {
166
- "name": "LAYOUT_ICONS",
167
- "module": "src/styles/constants.ts"
147
+ "name": "FoundationLayoutRegion",
148
+ "module": "./layout-region"
168
149
  }
169
- }
170
- ]
171
- },
172
- {
173
- "kind": "javascript-module",
174
- "path": "src/styles/dragging.styles.ts",
175
- "declarations": [
176
- {
177
- "kind": "variable",
178
- "name": "globalDraggingStyles",
179
- "default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\n box-shadow: inset 0 0 30px #000000;\n outline: 1px dashed #cccccc;\n transition: all 200ms ease;\n }\n .lm_dropTargetIndicator .lm_inner {\n background: var(${neutralFillStealthRest.cssCustomProperty});\n opacity: 0.2;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n`",
180
- "description": "This is defined as a string rather than a css template\nbecause it is applied to a CSSStyleSheet object rather than\nused as a FAST template"
181
- }
182
- ],
183
- "exports": [
150
+ },
184
151
  {
185
152
  "kind": "js",
186
- "name": "globalDraggingStyles",
153
+ "name": "FoundationLayout",
187
154
  "declaration": {
188
- "name": "globalDraggingStyles",
189
- "module": "src/styles/dragging.styles.ts"
155
+ "name": "FoundationLayout",
156
+ "module": "./layout-main"
190
157
  }
191
- }
192
- ]
193
- },
194
- {
195
- "kind": "javascript-module",
196
- "path": "src/styles/index.ts",
197
- "declarations": [],
198
- "exports": [
158
+ },
199
159
  {
200
160
  "kind": "js",
201
- "name": "*",
161
+ "name": "layoutStyles",
202
162
  "declaration": {
203
- "name": "*",
204
- "package": "./constants"
163
+ "name": "layoutStyles",
164
+ "module": "./layout-main"
205
165
  }
206
166
  },
207
167
  {
208
168
  "kind": "js",
209
- "name": "*",
169
+ "name": "layoutTemplate",
210
170
  "declaration": {
211
- "name": "*",
212
- "package": "./dragging.styles"
171
+ "name": "layoutTemplate",
172
+ "module": "./layout-main"
213
173
  }
214
174
  },
215
175
  {
@@ -217,331 +177,40 @@
217
177
  "name": "*",
218
178
  "declaration": {
219
179
  "name": "*",
220
- "package": "./layout.styles"
221
- }
222
- }
223
- ]
224
- },
225
- {
226
- "kind": "javascript-module",
227
- "path": "src/styles/layout.styles.ts",
228
- "declarations": [
229
- {
230
- "kind": "variable",
231
- "name": "layoutStyles",
232
- "default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n .lm_goldenlayout {\n padding: 1px;\n background: ${neutralLayer1};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n\n .lm_stack.lm_item {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n .lm_maximised .lm_header {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n background-color: ${neutralLayer3};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n border: 1px solid;\n border-color: #2e3339;\n box-sizing: border-box;\n }\n\n .lm-header {\n z-index: 1;\n }\n .lm_header .lm_tabs {\n padding: 0 16px;\n }\n\n .lm_stack > .lm_items {\n z-index: 2;\n box-shadow: 0px -1px 15px rgba(0, 0, 0, 0.35);\n }\n\n .lm_header .lm_tab.lm_active.lm_focused {\n background-color: ${neutralLayer3};\n }\n .lm_header .lm_tab.lm_active {\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-bottom: 0;\n color: ${accentFillRest};\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background-color: ${neutralLayer4};\n border: 1px solid;\n border-bottom-color: #2e3339;\n border-bottom: 0px solid;\n border-color: rgba(0, 0, 0, 0.35);\n border-radius: calc(${controlCornerRadius} * 1.5px) calc(${controlCornerRadius} * 1.5px) 0 0;\n box-shadow: 1px -1px 2px rgba(0, 0, 0, 0.35);\n color: rgba(255, 255, 255, 0.3);\n display: flex;\n font-family: inherit;\n font-size: 13px;\n font-weight: 700;\n height: 30px;\n margin-right: 2px;\n margin-top: 3px;\n padding: 2px 16px;\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #f1f1f1;\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n .lm_header .lm_controls > * {\n width: 30px;\n height: 30px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px;\n background-color: rgba(255, 255, 255, 0.03);\n border-radius: calc(${controlCornerRadius} * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 1;\n }\n .lm_header .lm_controls > *:hover {\n background-color: rgba(255, 255, 255, 0.1);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: 10px;\n background-repeat: no-repeat;\n margin-left: 12px;\n position: relative;\n top: 0;\n right: 0;\n }\n\n .lm_header .lm_tab.lm_active {\n padding: 4px 25px 3px 10px;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: ${accentFillRest};\n opacity: 0.7;\n }\n\n .lm_header .lm_controls .lm_tabdropdown::before {\n content: none;\n }\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: 38px;\n right: 108px;\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-radius: calc(${controlCornerRadius} * 1.5px);\n box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);\n }\n .lm_header .lm_tabdropdown_list > .lm_tab {\n box-shadow: none;\n padding: 0 16px;\n white-space: nowrap;\n background-color: transparent;\n color: #c9c9c9;\n height: 36px;\n border-radius: 0;\n overflow: visible;\n text-overflow: normal;\n }\n .lm_header .lm_tabdropdown_list > .lm_tab:last-child {\n border-bottom: 0;\n }\n\n /* gl base styles start */\n .lm_root {\n position: relative;\n }\n .lm_row > .lm_item {\n float: left;\n }\n .lm_content {\n overflow: hidden;\n position: relative;\n }\n .lm_dragging,\n .lm_dragging * {\n cursor: move !important;\n user-select: none;\n }\n .lm_maximised {\n left: 0;\n padding: 1px;\n position: absolute;\n top: 0;\n z-index: 40;\n }\n .lm_maximise_placeholder {\n display: none;\n }\n .lm_splitter {\n position: relative;\n z-index: 20;\n }\n .lm_splitter:hover,\n .lm_splitter.lm_dragging {\n background: ${accentFillRest};\n border-radius: calc(${controlCornerRadius} * 4px);\n }\n .lm_splitter.lm_vertical .lm_drag_handle {\n width: 100%;\n height: 15px;\n position: absolute;\n top: -5px;\n cursor: ns-resize;\n }\n .lm_splitter.lm_horizontal {\n float: left;\n height: 100%;\n }\n .lm_splitter.lm_horizontal .lm_drag_handle {\n width: 15px;\n height: 100%;\n position: absolute;\n left: -5px;\n cursor: ew-resize;\n }\n .lm_header {\n overflow: visible;\n position: relative;\n z-index: 1;\n }\n .lm_header [class^='lm_'] {\n box-sizing: content-box !important;\n }\n .lm_header .lm_controls {\n position: absolute;\n right: 3px;\n }\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n .lm_header .lm_tabs {\n position: absolute;\n }\n .lm_header .lm_tab {\n cursor: pointer;\n float: left;\n margin-top: 1px;\n padding: 3px 25px 3px 10px;\n position: relative;\n }\n .lm_header .lm_tab i {\n width: 2px;\n height: 19px;\n position: absolute;\n }\n .lm_header .lm_tab i.lm_left {\n top: 0;\n left: -2px;\n }\n .lm_header .lm_tab i.lm_right {\n top: 0;\n right: -2px;\n }\n .lm_header .lm_tab .lm_title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .lm_header .lm_tab .lm_title:only-child {\n padding-left: 10px;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: 14px;\n height: 14px;\n position: absolute;\n top: 11px;\n right: 0;\n text-align: center;\n }\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n height: 100%;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header,\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_left .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items,\n .lm_stack.lm_left .lm_items,\n .lm_stack.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,\n .lm_stack.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab,\n .lm_stack.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_drop_tab_placeholder {\n float: left;\n width: 100px;\n height: 10px;\n visibility: hidden;\n }\n .lm_header .lm_tabdropdown_list {\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 5;\n overflow: hidden;\n }\n .lm_header .lm_tabdropdown_list .lm_tab {\n clear: both;\n padding-right: 10px;\n margin: 0;\n }\n .lm_header .lm_tabdropdown_list .lm_tab .lm_title {\n width: 100px;\n }\n .lm_header .lm_tabdropdown_list .lm_close_tab {\n display: none !important;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n .lm_popin {\n width: 20px;\n height: 20px;\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: 9999;\n }\n .lm_popin > * {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n }\n .lm_popin > .lm_bg {\n z-index: 10;\n }\n .lm_popin > .lm_icon {\n z-index: 20;\n } /*# sourceMappingURL=goldenlayout-base.css.map */\n`",
233
- "description": "`ElementStyles` which defines the css for FoundationLayout.",
234
- "privacy": "public"
235
- }
236
- ],
237
- "exports": [
238
- {
239
- "kind": "js",
240
- "name": "layoutStyles",
241
- "declaration": {
242
- "name": "layoutStyles",
243
- "module": "src/styles/layout.styles.ts"
180
+ "package": "./layout-components"
244
181
  }
245
182
  }
246
183
  ]
247
184
  },
248
185
  {
249
186
  "kind": "javascript-module",
250
- "path": "src/utils/constants.ts",
187
+ "path": "src/main/layout-components.ts",
251
188
  "declarations": [
252
189
  {
253
190
  "kind": "variable",
254
- "name": "DEFAULT_RELOAD_BUFFER",
191
+ "name": "foundationLayoutComponents",
255
192
  "type": {
256
- "text": "number"
193
+ "text": "object"
257
194
  },
258
- "default": "500",
259
- "description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
195
+ "default": "{\n foundationLayout,\n foundationLayoutRegion,\n foundationLayoutItem,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n this[key]().register(container, ...rest);\n }\n },\n}",
196
+ "description": "Registration object to register the layout with your design system.",
260
197
  "privacy": "public"
261
198
  }
262
199
  ],
263
200
  "exports": [
264
201
  {
265
202
  "kind": "js",
266
- "name": "DEFAULT_RELOAD_BUFFER",
203
+ "name": "foundationLayoutComponents",
267
204
  "declaration": {
268
- "name": "DEFAULT_RELOAD_BUFFER",
269
- "module": "src/utils/constants.ts"
205
+ "name": "foundationLayoutComponents",
206
+ "module": "src/main/layout-components.ts"
270
207
  }
271
208
  }
272
209
  ]
273
210
  },
274
211
  {
275
212
  "kind": "javascript-module",
276
- "path": "src/utils/error.ts",
277
- "declarations": [
278
- {
279
- "kind": "class",
280
- "description": "",
281
- "name": "LayoutUsageError",
282
- "superclass": {
283
- "name": "Error",
284
- "module": "src/utils/error.ts"
285
- }
286
- },
287
- {
288
- "kind": "class",
289
- "description": "",
290
- "name": "LayoutRegistrationError",
291
- "superclass": {
292
- "name": "Error",
293
- "module": "src/utils/error.ts"
294
- }
295
- }
296
- ],
297
- "exports": [
298
- {
299
- "kind": "js",
300
- "name": "LayoutUsageError",
301
- "declaration": {
302
- "name": "LayoutUsageError",
303
- "module": "src/utils/error.ts"
304
- }
305
- },
306
- {
307
- "kind": "js",
308
- "name": "LayoutRegistrationError",
309
- "declaration": {
310
- "name": "LayoutRegistrationError",
311
- "module": "src/utils/error.ts"
312
- }
313
- }
314
- ]
315
- },
316
- {
317
- "kind": "javascript-module",
318
- "path": "src/utils/events.ts",
319
- "declarations": [
320
- {
321
- "kind": "variable",
322
- "name": "LayoutEmitEvents",
323
- "type": {
324
- "text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
325
- },
326
- "default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
327
- "description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
328
- "privacy": "public"
329
- },
330
- {
331
- "kind": "variable",
332
- "name": "LayoutReceiveEvents",
333
- "type": {
334
- "text": "{\n changeTitle: 'change-title',\n}"
335
- },
336
- "default": "{\n changeTitle: 'change-title',\n}",
337
- "description": "Defines events that the layout system listens for\n\n'changeTitle' - emit this from a contained item to update the title of the window that contains it.",
338
- "privacy": "public"
339
- }
340
- ],
341
- "exports": [
342
- {
343
- "kind": "js",
344
- "name": "LayoutEmitEvents",
345
- "declaration": {
346
- "name": "LayoutEmitEvents",
347
- "module": "src/utils/events.ts"
348
- }
349
- },
350
- {
351
- "kind": "js",
352
- "name": "LayoutReceiveEvents",
353
- "declaration": {
354
- "name": "LayoutReceiveEvents",
355
- "module": "src/utils/events.ts"
356
- }
357
- }
358
- ]
359
- },
360
- {
361
- "kind": "javascript-module",
362
- "path": "src/utils/index.ts",
363
- "declarations": [],
364
- "exports": [
365
- {
366
- "kind": "js",
367
- "name": "*",
368
- "declaration": {
369
- "name": "*",
370
- "package": "./constants"
371
- }
372
- },
373
- {
374
- "kind": "js",
375
- "name": "*",
376
- "declaration": {
377
- "name": "*",
378
- "package": "./error"
379
- }
380
- },
381
- {
382
- "kind": "js",
383
- "name": "*",
384
- "declaration": {
385
- "name": "*",
386
- "package": "./events"
387
- }
388
- },
389
- {
390
- "kind": "js",
391
- "name": "*",
392
- "declaration": {
393
- "name": "*",
394
- "package": "./misc"
395
- }
396
- },
397
- {
398
- "kind": "js",
399
- "name": "*",
400
- "declaration": {
401
- "name": "*",
402
- "package": "./templates"
403
- }
404
- },
405
- {
406
- "kind": "js",
407
- "name": "*",
408
- "declaration": {
409
- "name": "*",
410
- "package": "./types"
411
- }
412
- },
413
- {
414
- "kind": "js",
415
- "name": "*",
416
- "declaration": {
417
- "name": "*",
418
- "package": "./error"
419
- }
420
- }
421
- ]
422
- },
423
- {
424
- "kind": "javascript-module",
425
- "path": "src/utils/logger.ts",
426
- "declarations": [
427
- {
428
- "kind": "variable",
429
- "name": "logger"
430
- }
431
- ],
432
- "exports": [
433
- {
434
- "kind": "js",
435
- "name": "logger",
436
- "declaration": {
437
- "name": "logger",
438
- "module": "src/utils/logger.ts"
439
- }
440
- }
441
- ]
442
- },
443
- {
444
- "kind": "javascript-module",
445
- "path": "src/utils/misc.ts",
446
- "declarations": [],
447
- "exports": []
448
- },
449
- {
450
- "kind": "javascript-module",
451
- "path": "src/utils/templates.ts",
452
- "declarations": [],
453
- "exports": []
454
- },
455
- {
456
- "kind": "javascript-module",
457
- "path": "src/utils/types.ts",
458
- "declarations": [],
459
- "exports": []
460
- },
461
- {
462
- "kind": "javascript-module",
463
- "path": "src/main/index.ts",
464
- "declarations": [],
465
- "exports": [
466
- {
467
- "kind": "js",
468
- "name": "FoundationLayoutItem",
469
- "declaration": {
470
- "name": "FoundationLayoutItem",
471
- "module": "./layout-item"
472
- }
473
- },
474
- {
475
- "kind": "js",
476
- "name": "FoundationLayoutRegion",
477
- "declaration": {
478
- "name": "FoundationLayoutRegion",
479
- "module": "./layout-region"
480
- }
481
- },
482
- {
483
- "kind": "js",
484
- "name": "FoundationLayout",
485
- "declaration": {
486
- "name": "FoundationLayout",
487
- "module": "./layout-main"
488
- }
489
- },
490
- {
491
- "kind": "js",
492
- "name": "layoutStyles",
493
- "declaration": {
494
- "name": "layoutStyles",
495
- "module": "./layout-main"
496
- }
497
- },
498
- {
499
- "kind": "js",
500
- "name": "layoutTemplate",
501
- "declaration": {
502
- "name": "layoutTemplate",
503
- "module": "./layout-main"
504
- }
505
- },
506
- {
507
- "kind": "js",
508
- "name": "*",
509
- "declaration": {
510
- "name": "*",
511
- "package": "./layout-components"
512
- }
513
- }
514
- ]
515
- },
516
- {
517
- "kind": "javascript-module",
518
- "path": "src/main/layout-components.ts",
519
- "declarations": [
520
- {
521
- "kind": "variable",
522
- "name": "foundationLayoutComponents",
523
- "type": {
524
- "text": "object"
525
- },
526
- "default": "{\n foundationLayout,\n foundationLayoutRegion,\n foundationLayoutItem,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n this[key]().register(container, ...rest);\n }\n },\n}",
527
- "description": "Registration object to register the layout with your design system.",
528
- "privacy": "public"
529
- }
530
- ],
531
- "exports": [
532
- {
533
- "kind": "js",
534
- "name": "foundationLayoutComponents",
535
- "declaration": {
536
- "name": "foundationLayoutComponents",
537
- "module": "src/main/layout-components.ts"
538
- }
539
- }
540
- ]
541
- },
542
- {
543
- "kind": "javascript-module",
544
- "path": "src/main/layout-item.ts",
213
+ "path": "src/main/layout-item.ts",
545
214
  "declarations": [
546
215
  {
547
216
  "kind": "class",
@@ -1350,6 +1019,337 @@
1350
1019
  }
1351
1020
  }
1352
1021
  ]
1022
+ },
1023
+ {
1024
+ "kind": "javascript-module",
1025
+ "path": "src/styles/constants.ts",
1026
+ "declarations": [
1027
+ {
1028
+ "kind": "variable",
1029
+ "name": "glVisualConfig",
1030
+ "type": {
1031
+ "text": "Omit<LayoutConfig, 'root'>"
1032
+ },
1033
+ "default": "{\n dimensions: {\n headerHeight: 38,\n borderWidth: 12,\n },\n header: {\n maximise: 'maximise',\n minimise: 'minimise',\n popout: false,\n },\n}"
1034
+ },
1035
+ {
1036
+ "kind": "variable",
1037
+ "name": "LAYOUT_ICONS",
1038
+ "type": {
1039
+ "text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n}"
1040
+ },
1041
+ "default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n}",
1042
+ "description": "A collection of SVG icons in base64 format.",
1043
+ "privacy": "public"
1044
+ }
1045
+ ],
1046
+ "exports": [
1047
+ {
1048
+ "kind": "js",
1049
+ "name": "glVisualConfig",
1050
+ "declaration": {
1051
+ "name": "glVisualConfig",
1052
+ "module": "src/styles/constants.ts"
1053
+ }
1054
+ },
1055
+ {
1056
+ "kind": "js",
1057
+ "name": "LAYOUT_ICONS",
1058
+ "declaration": {
1059
+ "name": "LAYOUT_ICONS",
1060
+ "module": "src/styles/constants.ts"
1061
+ }
1062
+ }
1063
+ ]
1064
+ },
1065
+ {
1066
+ "kind": "javascript-module",
1067
+ "path": "src/styles/dragging.styles.ts",
1068
+ "declarations": [
1069
+ {
1070
+ "kind": "variable",
1071
+ "name": "globalDraggingStyles",
1072
+ "default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\n box-shadow: inset 0 0 30px #000000;\n outline: 1px dashed #cccccc;\n transition: all 200ms ease;\n }\n .lm_dropTargetIndicator .lm_inner {\n background: var(${neutralFillStealthRest.cssCustomProperty});\n opacity: 0.2;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n`",
1073
+ "description": "This is defined as a string rather than a css template\nbecause it is applied to a CSSStyleSheet object rather than\nused as a FAST template"
1074
+ }
1075
+ ],
1076
+ "exports": [
1077
+ {
1078
+ "kind": "js",
1079
+ "name": "globalDraggingStyles",
1080
+ "declaration": {
1081
+ "name": "globalDraggingStyles",
1082
+ "module": "src/styles/dragging.styles.ts"
1083
+ }
1084
+ }
1085
+ ]
1086
+ },
1087
+ {
1088
+ "kind": "javascript-module",
1089
+ "path": "src/styles/index.ts",
1090
+ "declarations": [],
1091
+ "exports": [
1092
+ {
1093
+ "kind": "js",
1094
+ "name": "*",
1095
+ "declaration": {
1096
+ "name": "*",
1097
+ "package": "./constants"
1098
+ }
1099
+ },
1100
+ {
1101
+ "kind": "js",
1102
+ "name": "*",
1103
+ "declaration": {
1104
+ "name": "*",
1105
+ "package": "./dragging.styles"
1106
+ }
1107
+ },
1108
+ {
1109
+ "kind": "js",
1110
+ "name": "*",
1111
+ "declaration": {
1112
+ "name": "*",
1113
+ "package": "./layout.styles"
1114
+ }
1115
+ }
1116
+ ]
1117
+ },
1118
+ {
1119
+ "kind": "javascript-module",
1120
+ "path": "src/styles/layout.styles.ts",
1121
+ "declarations": [
1122
+ {
1123
+ "kind": "variable",
1124
+ "name": "layoutStyles",
1125
+ "default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n .lm_goldenlayout {\n padding: 1px;\n background: ${neutralLayer1};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n\n .lm_stack.lm_item {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n .lm_maximised .lm_header {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n background-color: ${neutralLayer3};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n border: 1px solid;\n border-color: #2e3339;\n box-sizing: border-box;\n }\n\n .lm-header {\n z-index: 1;\n }\n .lm_header .lm_tabs {\n padding: 0 16px;\n }\n\n .lm_stack > .lm_items {\n z-index: 2;\n box-shadow: 0px -1px 15px rgba(0, 0, 0, 0.35);\n }\n\n .lm_header .lm_tab.lm_active.lm_focused {\n background-color: ${neutralLayer3};\n }\n .lm_header .lm_tab.lm_active {\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-bottom: 0;\n color: ${accentFillRest};\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background-color: ${neutralLayer4};\n border: 1px solid;\n border-bottom-color: #2e3339;\n border-bottom: 0px solid;\n border-color: rgba(0, 0, 0, 0.35);\n border-radius: calc(${controlCornerRadius} * 1.5px) calc(${controlCornerRadius} * 1.5px) 0 0;\n box-shadow: 1px -1px 2px rgba(0, 0, 0, 0.35);\n color: rgba(255, 255, 255, 0.3);\n display: flex;\n font-family: inherit;\n font-size: 13px;\n font-weight: 700;\n height: 30px;\n margin-right: 2px;\n margin-top: 3px;\n padding: 2px 16px;\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #f1f1f1;\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n .lm_header .lm_controls > * {\n width: 30px;\n height: 30px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px;\n background-color: rgba(255, 255, 255, 0.03);\n border-radius: calc(${controlCornerRadius} * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 1;\n }\n .lm_header .lm_controls > *:hover {\n background-color: rgba(255, 255, 255, 0.1);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: 10px;\n background-repeat: no-repeat;\n margin-left: 12px;\n position: relative;\n top: 0;\n right: 0;\n }\n\n .lm_header .lm_tab.lm_active {\n padding: 4px 25px 3px 10px;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: ${accentFillRest};\n opacity: 0.7;\n }\n\n .lm_header .lm_controls .lm_tabdropdown::before {\n content: none;\n }\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: 38px;\n right: 108px;\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-radius: calc(${controlCornerRadius} * 1.5px);\n box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);\n }\n .lm_header .lm_tabdropdown_list > .lm_tab {\n box-shadow: none;\n padding: 0 16px;\n white-space: nowrap;\n background-color: transparent;\n color: #c9c9c9;\n height: 36px;\n border-radius: 0;\n overflow: visible;\n text-overflow: normal;\n }\n .lm_header .lm_tabdropdown_list > .lm_tab:last-child {\n border-bottom: 0;\n }\n\n /* gl base styles start */\n .lm_root {\n position: relative;\n }\n .lm_row > .lm_item {\n float: left;\n }\n .lm_content {\n overflow: hidden;\n position: relative;\n }\n .lm_dragging,\n .lm_dragging * {\n cursor: move !important;\n user-select: none;\n }\n .lm_maximised {\n left: 0;\n padding: 1px;\n position: absolute;\n top: 0;\n z-index: 40;\n }\n .lm_maximise_placeholder {\n display: none;\n }\n .lm_splitter {\n position: relative;\n z-index: 20;\n }\n .lm_splitter:hover,\n .lm_splitter.lm_dragging {\n background: ${accentFillRest};\n border-radius: calc(${controlCornerRadius} * 4px);\n }\n .lm_splitter.lm_vertical .lm_drag_handle {\n width: 100%;\n height: 15px;\n position: absolute;\n top: -5px;\n cursor: ns-resize;\n }\n .lm_splitter.lm_horizontal {\n float: left;\n height: 100%;\n }\n .lm_splitter.lm_horizontal .lm_drag_handle {\n width: 15px;\n height: 100%;\n position: absolute;\n left: -5px;\n cursor: ew-resize;\n }\n .lm_header {\n overflow: visible;\n position: relative;\n z-index: 1;\n }\n .lm_header [class^='lm_'] {\n box-sizing: content-box !important;\n }\n .lm_header .lm_controls {\n position: absolute;\n right: 3px;\n }\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n .lm_header .lm_tabs {\n position: absolute;\n }\n .lm_header .lm_tab {\n cursor: pointer;\n float: left;\n margin-top: 1px;\n padding: 3px 25px 3px 10px;\n position: relative;\n }\n .lm_header .lm_tab i {\n width: 2px;\n height: 19px;\n position: absolute;\n }\n .lm_header .lm_tab i.lm_left {\n top: 0;\n left: -2px;\n }\n .lm_header .lm_tab i.lm_right {\n top: 0;\n right: -2px;\n }\n .lm_header .lm_tab .lm_title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .lm_header .lm_tab .lm_title:only-child {\n padding-left: 10px;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: 14px;\n height: 14px;\n position: absolute;\n top: 11px;\n right: 0;\n text-align: center;\n }\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n height: 100%;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header,\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_left .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items,\n .lm_stack.lm_left .lm_items,\n .lm_stack.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,\n .lm_stack.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab,\n .lm_stack.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_drop_tab_placeholder {\n float: left;\n width: 100px;\n height: 10px;\n visibility: hidden;\n }\n .lm_header .lm_tabdropdown_list {\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 5;\n overflow: hidden;\n }\n .lm_header .lm_tabdropdown_list .lm_tab {\n clear: both;\n padding-right: 10px;\n margin: 0;\n }\n .lm_header .lm_tabdropdown_list .lm_tab .lm_title {\n width: 100px;\n }\n .lm_header .lm_tabdropdown_list .lm_close_tab {\n display: none !important;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n .lm_popin {\n width: 20px;\n height: 20px;\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: 9999;\n }\n .lm_popin > * {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n }\n .lm_popin > .lm_bg {\n z-index: 10;\n }\n .lm_popin > .lm_icon {\n z-index: 20;\n } /*# sourceMappingURL=goldenlayout-base.css.map */\n`",
1126
+ "description": "`ElementStyles` which defines the css for FoundationLayout.",
1127
+ "privacy": "public"
1128
+ }
1129
+ ],
1130
+ "exports": [
1131
+ {
1132
+ "kind": "js",
1133
+ "name": "layoutStyles",
1134
+ "declaration": {
1135
+ "name": "layoutStyles",
1136
+ "module": "src/styles/layout.styles.ts"
1137
+ }
1138
+ }
1139
+ ]
1140
+ },
1141
+ {
1142
+ "kind": "javascript-module",
1143
+ "path": "src/utils/constants.ts",
1144
+ "declarations": [
1145
+ {
1146
+ "kind": "variable",
1147
+ "name": "DEFAULT_RELOAD_BUFFER",
1148
+ "type": {
1149
+ "text": "number"
1150
+ },
1151
+ "default": "500",
1152
+ "description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
1153
+ "privacy": "public"
1154
+ }
1155
+ ],
1156
+ "exports": [
1157
+ {
1158
+ "kind": "js",
1159
+ "name": "DEFAULT_RELOAD_BUFFER",
1160
+ "declaration": {
1161
+ "name": "DEFAULT_RELOAD_BUFFER",
1162
+ "module": "src/utils/constants.ts"
1163
+ }
1164
+ }
1165
+ ]
1166
+ },
1167
+ {
1168
+ "kind": "javascript-module",
1169
+ "path": "src/utils/error.ts",
1170
+ "declarations": [
1171
+ {
1172
+ "kind": "class",
1173
+ "description": "",
1174
+ "name": "LayoutUsageError",
1175
+ "superclass": {
1176
+ "name": "Error",
1177
+ "module": "src/utils/error.ts"
1178
+ }
1179
+ },
1180
+ {
1181
+ "kind": "class",
1182
+ "description": "",
1183
+ "name": "LayoutRegistrationError",
1184
+ "superclass": {
1185
+ "name": "Error",
1186
+ "module": "src/utils/error.ts"
1187
+ }
1188
+ }
1189
+ ],
1190
+ "exports": [
1191
+ {
1192
+ "kind": "js",
1193
+ "name": "LayoutUsageError",
1194
+ "declaration": {
1195
+ "name": "LayoutUsageError",
1196
+ "module": "src/utils/error.ts"
1197
+ }
1198
+ },
1199
+ {
1200
+ "kind": "js",
1201
+ "name": "LayoutRegistrationError",
1202
+ "declaration": {
1203
+ "name": "LayoutRegistrationError",
1204
+ "module": "src/utils/error.ts"
1205
+ }
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ "kind": "javascript-module",
1211
+ "path": "src/utils/events.ts",
1212
+ "declarations": [
1213
+ {
1214
+ "kind": "variable",
1215
+ "name": "LayoutEmitEvents",
1216
+ "type": {
1217
+ "text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}"
1218
+ },
1219
+ "default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n}",
1220
+ "description": "Defines events that the layout system emits\n\n'firstLoaded' - emitted when the layout has finished loading the first time\nusing the declarative API after DEFAULT_RELOAD_BUFFER ms.\n<br/>\n'itemAdded' - emitted when an item is added to the layout'\n<br/>\n'itemRemoved' - emitted when an item is removed from the layout'\n<br/>\n'itemResized' - emitted when the user drags the divider to resize elements",
1221
+ "privacy": "public"
1222
+ },
1223
+ {
1224
+ "kind": "variable",
1225
+ "name": "LayoutReceiveEvents",
1226
+ "type": {
1227
+ "text": "{\n changeTitle: 'change-title',\n}"
1228
+ },
1229
+ "default": "{\n changeTitle: 'change-title',\n}",
1230
+ "description": "Defines events that the layout system listens for\n\n'changeTitle' - emit this from a contained item to update the title of the window that contains it.",
1231
+ "privacy": "public"
1232
+ }
1233
+ ],
1234
+ "exports": [
1235
+ {
1236
+ "kind": "js",
1237
+ "name": "LayoutEmitEvents",
1238
+ "declaration": {
1239
+ "name": "LayoutEmitEvents",
1240
+ "module": "src/utils/events.ts"
1241
+ }
1242
+ },
1243
+ {
1244
+ "kind": "js",
1245
+ "name": "LayoutReceiveEvents",
1246
+ "declaration": {
1247
+ "name": "LayoutReceiveEvents",
1248
+ "module": "src/utils/events.ts"
1249
+ }
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ "kind": "javascript-module",
1255
+ "path": "src/utils/index.ts",
1256
+ "declarations": [],
1257
+ "exports": [
1258
+ {
1259
+ "kind": "js",
1260
+ "name": "*",
1261
+ "declaration": {
1262
+ "name": "*",
1263
+ "package": "./constants"
1264
+ }
1265
+ },
1266
+ {
1267
+ "kind": "js",
1268
+ "name": "*",
1269
+ "declaration": {
1270
+ "name": "*",
1271
+ "package": "./error"
1272
+ }
1273
+ },
1274
+ {
1275
+ "kind": "js",
1276
+ "name": "*",
1277
+ "declaration": {
1278
+ "name": "*",
1279
+ "package": "./events"
1280
+ }
1281
+ },
1282
+ {
1283
+ "kind": "js",
1284
+ "name": "*",
1285
+ "declaration": {
1286
+ "name": "*",
1287
+ "package": "./misc"
1288
+ }
1289
+ },
1290
+ {
1291
+ "kind": "js",
1292
+ "name": "*",
1293
+ "declaration": {
1294
+ "name": "*",
1295
+ "package": "./templates"
1296
+ }
1297
+ },
1298
+ {
1299
+ "kind": "js",
1300
+ "name": "*",
1301
+ "declaration": {
1302
+ "name": "*",
1303
+ "package": "./types"
1304
+ }
1305
+ },
1306
+ {
1307
+ "kind": "js",
1308
+ "name": "*",
1309
+ "declaration": {
1310
+ "name": "*",
1311
+ "package": "./error"
1312
+ }
1313
+ }
1314
+ ]
1315
+ },
1316
+ {
1317
+ "kind": "javascript-module",
1318
+ "path": "src/utils/logger.ts",
1319
+ "declarations": [
1320
+ {
1321
+ "kind": "variable",
1322
+ "name": "logger"
1323
+ }
1324
+ ],
1325
+ "exports": [
1326
+ {
1327
+ "kind": "js",
1328
+ "name": "logger",
1329
+ "declaration": {
1330
+ "name": "logger",
1331
+ "module": "src/utils/logger.ts"
1332
+ }
1333
+ }
1334
+ ]
1335
+ },
1336
+ {
1337
+ "kind": "javascript-module",
1338
+ "path": "src/utils/misc.ts",
1339
+ "declarations": [],
1340
+ "exports": []
1341
+ },
1342
+ {
1343
+ "kind": "javascript-module",
1344
+ "path": "src/utils/templates.ts",
1345
+ "declarations": [],
1346
+ "exports": []
1347
+ },
1348
+ {
1349
+ "kind": "javascript-module",
1350
+ "path": "src/utils/types.ts",
1351
+ "declarations": [],
1352
+ "exports": []
1353
1353
  }
1354
1354
  ]
1355
1355
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-layout",
3
3
  "description": "Genesis Foundation UI App Layout",
4
- "version": "14.83.3-alpha-33bf6c6.0",
4
+ "version": "14.83.3-alpha.45c8072.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-layout.d.ts",
@@ -27,15 +27,15 @@
27
27
  "test:debug": "genx test --debug"
28
28
  },
29
29
  "devDependencies": {
30
- "@genesislcap/foundation-testing": "14.83.3-alpha-33bf6c6.0",
31
- "@genesislcap/genx": "14.83.3-alpha-33bf6c6.0",
30
+ "@genesislcap/foundation-testing": "14.83.3-alpha.45c8072.1",
31
+ "@genesislcap/genx": "14.83.3-alpha.45c8072.1",
32
32
  "rimraf": "^3.0.2"
33
33
  },
34
34
  "dependencies": {
35
35
  "@genesis-community/golden-layout": "^2.10.1",
36
- "@genesislcap/foundation-comms": "14.83.3-alpha-33bf6c6.0",
37
- "@genesislcap/foundation-logger": "14.83.3-alpha-33bf6c6.0",
38
- "@genesislcap/foundation-utils": "14.83.3-alpha-33bf6c6.0",
36
+ "@genesislcap/foundation-comms": "14.83.3-alpha.45c8072.1",
37
+ "@genesislcap/foundation-logger": "14.83.3-alpha.45c8072.1",
38
+ "@genesislcap/foundation-utils": "14.83.3-alpha.45c8072.1",
39
39
  "@microsoft/fast-components": "^2.21.3",
40
40
  "@microsoft/fast-element": "^1.7.0",
41
41
  "@microsoft/fast-foundation": "^2.33.2",
@@ -50,5 +50,5 @@
50
50
  "access": "public"
51
51
  },
52
52
  "customElements": "dist/custom-elements.json",
53
- "gitHead": "ef2d8498af52a1196dfe9e9db0dc9890a5238584"
53
+ "gitHead": "eba986dae1913b5e9521b7ae7b615db1ce9365bf"
54
54
  }