@genesislcap/foundation-layout 15.111.5-FUI-2675.5 → 15.111.5-FUI-2675.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1318 -1318
- package/package.json +13 -13
|
@@ -187,88 +187,47 @@
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"kind": "javascript-module",
|
|
190
|
-
"path": "src/
|
|
191
|
-
"declarations": [
|
|
192
|
-
{
|
|
193
|
-
"kind": "function",
|
|
194
|
-
"name": "glVisualConfig",
|
|
195
|
-
"return": {
|
|
196
|
-
"type": {
|
|
197
|
-
"text": "Omit<LayoutConfig, 'root'>"
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"kind": "variable",
|
|
203
|
-
"name": "LAYOUT_ICONS",
|
|
204
|
-
"type": {
|
|
205
|
-
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
|
206
|
-
},
|
|
207
|
-
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
|
208
|
-
"description": "A collection of SVG icons in base64 format.",
|
|
209
|
-
"privacy": "public"
|
|
210
|
-
}
|
|
211
|
-
],
|
|
190
|
+
"path": "src/main/index.ts",
|
|
191
|
+
"declarations": [],
|
|
212
192
|
"exports": [
|
|
213
193
|
{
|
|
214
194
|
"kind": "js",
|
|
215
|
-
"name": "
|
|
195
|
+
"name": "FoundationLayoutItem",
|
|
216
196
|
"declaration": {
|
|
217
|
-
"name": "
|
|
218
|
-
"module": "
|
|
197
|
+
"name": "FoundationLayoutItem",
|
|
198
|
+
"module": "./layout-item"
|
|
219
199
|
}
|
|
220
200
|
},
|
|
221
201
|
{
|
|
222
202
|
"kind": "js",
|
|
223
|
-
"name": "
|
|
203
|
+
"name": "FoundationLayoutRegion",
|
|
224
204
|
"declaration": {
|
|
225
|
-
"name": "
|
|
226
|
-
"module": "
|
|
205
|
+
"name": "FoundationLayoutRegion",
|
|
206
|
+
"module": "./layout-region"
|
|
227
207
|
}
|
|
228
|
-
}
|
|
229
|
-
]
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"kind": "javascript-module",
|
|
233
|
-
"path": "src/styles/dragging.styles.ts",
|
|
234
|
-
"declarations": [
|
|
235
|
-
{
|
|
236
|
-
"kind": "variable",
|
|
237
|
-
"name": "globalDraggingStyles",
|
|
238
|
-
"default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\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 cursor: move;\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_title {\n color: white;\n padding-left: 10px;\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`",
|
|
239
|
-
"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"
|
|
240
|
-
}
|
|
241
|
-
],
|
|
242
|
-
"exports": [
|
|
208
|
+
},
|
|
243
209
|
{
|
|
244
210
|
"kind": "js",
|
|
245
|
-
"name": "
|
|
211
|
+
"name": "FoundationLayout",
|
|
246
212
|
"declaration": {
|
|
247
|
-
"name": "
|
|
248
|
-
"module": "
|
|
213
|
+
"name": "FoundationLayout",
|
|
214
|
+
"module": "./layout-main"
|
|
249
215
|
}
|
|
250
|
-
}
|
|
251
|
-
]
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "src/styles/index.ts",
|
|
256
|
-
"declarations": [],
|
|
257
|
-
"exports": [
|
|
216
|
+
},
|
|
258
217
|
{
|
|
259
218
|
"kind": "js",
|
|
260
|
-
"name": "
|
|
219
|
+
"name": "layoutStyles",
|
|
261
220
|
"declaration": {
|
|
262
|
-
"name": "
|
|
263
|
-
"
|
|
221
|
+
"name": "layoutStyles",
|
|
222
|
+
"module": "./layout-main"
|
|
264
223
|
}
|
|
265
224
|
},
|
|
266
225
|
{
|
|
267
226
|
"kind": "js",
|
|
268
|
-
"name": "
|
|
227
|
+
"name": "layoutTemplate",
|
|
269
228
|
"declaration": {
|
|
270
|
-
"name": "
|
|
271
|
-
"
|
|
229
|
+
"name": "layoutTemplate",
|
|
230
|
+
"module": "./layout-main"
|
|
272
231
|
}
|
|
273
232
|
},
|
|
274
233
|
{
|
|
@@ -276,646 +235,593 @@
|
|
|
276
235
|
"name": "*",
|
|
277
236
|
"declaration": {
|
|
278
237
|
"name": "*",
|
|
279
|
-
"package": "./layout
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
]
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"kind": "javascript-module",
|
|
286
|
-
"path": "src/styles/layout.styles.ts",
|
|
287
|
-
"declarations": [
|
|
288
|
-
{
|
|
289
|
-
"kind": "variable",
|
|
290
|
-
"name": "layoutStyles",
|
|
291
|
-
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n :host {\n /* Tab strip uses its own multiplier (9 → 32px) so panel contents keep the 28px control height. */\n --foundation-tab-height: calc(\n (((var(--layout-tab-height-multiplier, 9) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .lm_goldenlayout {\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n font-family: var(--body-font);\n box-sizing: border-box;\n }\n\n .lm_goldenlayout * {\n box-sizing: border-box;\n }\n\n /*\n * Defaults match flexlayout (rapid-design-system flexlayout-react.overrides.css) and rapid-tabs:\n * a bordered layer-2 panel whose strip holds flat tabs split by 1px separators, over a\n * card-container content area with a top edge only. Only fallbacks changed; the theming tokens\n * (--card-*, --rapid-layout-item-*, --tab-rest-*, --tab-active-*) still win when set.\n */\n /*\n * Borders on golden-layout boxes must not take up space. golden-layout sizes each box's content\n * in JS from the box's outer size (offsetWidth/offsetHeight minus a single \\`itemBorder\\`), so a real\n * border pushes the content past the box and it clips on the right and bottom. The panel border is\n * therefore drawn by an overlay above the panel's content (.lm_stack::after), as is the content's\n * edge (.lm_content::after), with \\`itemBorder\\` pinned to 0 (glVisualConfig). The tokens are\n * unchanged.\n */\n .lm_stack.lm_item {\n background-color: var(--rapid-layout-item-background, var(--neutral-layer-2));\n border: 0;\n border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 3px));\n box-sizing: border-box;\n /* Rapid's panel elevation (rapid-design-system tokens/elevation.ts); none outside Rapid. */\n box-shadow: var(--nested-shadow, var(--panel-shadow-override, var(--card-box-shadow, var(--panel-shadow, none))));\n }\n\n /* Positions the overlay; a maximised stack keeps golden-layout's absolute positioning. */\n .lm_stack.lm_item:not(.lm_maximised) {\n position: relative;\n }\n\n .lm_stack.lm_item::after {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 2;\n pointer-events: none;\n border-radius: inherit;\n border-style: solid;\n border-width: var(--rapid-layout-item-border-width, 1px);\n border-color: var(--rapid-layout-item-border-color, var(--panel-border, var(--neutral-stroke-rest)));\n }\n\n .lm_maximised .lm_header {\n border-bottom: var(--card-border, 0);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n /* The panel frames its content, so nested self-framing components (accordions) drop their own\n border. */\n --nested-border: 0;\n /* ...and nested containers (cards, tabs) drop their shadow. */\n --nested-shadow: none;\n\n background-color: var(--neutral-layer-card-container);\n /* The content fills the panel's whole box (its border is an overlay), so it shares its radius. */\n border-radius: 0 0 var(--card-corner-radius, calc(var(--control-corner-radius) * 3px))\n var(--card-corner-radius, calc(var(--control-corner-radius) * 3px));\n box-sizing: border-box;\n color: var(--neutral-foreground-rest);\n }\n\n /* A theme's --rapid-layout-item-inner-border, drawn over the content rather than as a border\n (see .lm_stack.lm_item). None by default: the header draws the top edge (see .lm_header). */\n .lm_content::after {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n pointer-events: none;\n border-radius: inherit;\n border: var(--rapid-layout-item-inner-border, 0);\n }\n\n .lm_header .lm_tabs {\n padding: 0 0 0 12px;\n }\n\n .lm_header .lm_tab.lm_active {\n background: var(--tab-active-background-color, var(--neutral-layer-card-container));\n color: var(--accent-foreground-rest);\n border-style: solid;\n border-width: var(--tab-active-border-width, 0 0 0 var(--tab-rest-border-width, 1px));\n border-color: var(--tab-active-border-color, var(--tab-rest-border-color, var(--neutral-stroke-rest)));\n }\n\n /* The content's top edge is drawn along the bottom of the header (an inset shadow under the\n tabs), not over the content, so the active tab's own background covers it and the tab flows\n straight into its panel: paint order alone, no z-index. Inactive tabs redraw the edge over\n their own (hover) background. */\n .lm_header,\n .lm_header .lm_tab:not(.lm_active) {\n box-shadow: inset 0 -1px 0 var(--neutral-stroke-rest);\n }\n\n /* A separator before each tab and after the last, as flexlayout's spacers draw. */\n .lm_header .lm_tab {\n align-items: center;\n background: var(--tab-rest-background-color, transparent);\n border-style: solid;\n border-width: 0 0 0 var(--tab-rest-border-width, 1px);\n border-color: var(--tab-rest-border-color, var(--neutral-stroke-rest));\n border-radius: 0;\n color: var(--accent-foreground-rest);\n display: flex;\n font-family: inherit;\n font-size: var(--type-ramp-minus-1-font-size);\n font-weight: 400;\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n margin-right: 0;\n padding: 0 calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);\n float: left;\n cursor: pointer;\n position: relative;\n }\n\n .lm_header .lm_tabs .lm_tab:last-child {\n border-right: var(--tab-rest-border-width, 1px) solid var(--tab-rest-border-color, var(--neutral-stroke-rest));\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: var(--neutral-fill-stealth-active);\n color: var(--neutral-foreground-rest);\n }\n\n .lm_header .lm_tab:not(.lm_active):hover .lm_title {\n color: var(--neutral-foreground-rest);\n }\n\n /*\n * Window controls (tab dropdown, maximise / restore, close): round neutral icon buttons, the\n * same face as a neutral rapid-button (foundation-ui button-face.ts). The face paints the\n * background, so the icon is a mask on a ::before layer, coloured like a button's icon. Each\n * control names its icon in --layout-control-icon (custom buttons too, see setupCustomButtons).\n */\n .lm_header .lm_controls {\n top: 0;\n right: 6px;\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n display: flex;\n align-items: center;\n gap: 4px;\n }\n .lm_header .lm_controls > * {\n position: relative;\n top: 0;\n width: 24px;\n height: 24px;\n margin: 0;\n box-sizing: border-box;\n border-radius: 9999px;\n opacity: 1;\n cursor: pointer;\n transition:\n ${GRADIENT_START} 200ms ease-out,\n ${GRADIENT_END} 200ms ease-out,\n box-shadow 200ms ease-out;\n }\n ${neutralButtonFace(\n '.lm_header .lm_controls > *',\n '.lm_header .lm_controls > *:hover',\n '.lm_header .lm_controls > *:active',\n )}\n .lm_header .lm_controls > *::before {\n content: '';\n position: absolute;\n inset: 0;\n background-color: var(--icon-color, var(--neutral-foreground-hint));\n mask-image: var(--layout-control-icon, none);\n mask-repeat: no-repeat;\n mask-position: center;\n /* The golden-layout glyphs fill their viewBox edge to edge (flexlayout's have built-in\n padding), so they're drawn a little smaller to match flexlayout's icons. */\n mask-size: calc(var(--design-unit) * 2.5px);\n }\n .lm_header .lm_controls > *:hover::before {\n background-color: var(--neutral-foreground-rest);\n }\n\n .lm_controls .lm_maximise {\n --layout-control-icon: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n --layout-control-icon: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n --layout-control-icon: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.2777);\n background-repeat: no-repeat;\n background-position: center;\n margin-left: calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);\n position: relative;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: var(--neutral-foreground-hint);\n }\n\n .lm_header .lm_controls .lm_tabdropdown {\n --layout-control-icon: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n right: 108px;\n background-color: var(--neutral-layer-3);\n border: 1px solid;\n border-color: var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 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: var(--neutral-foreground-rest);\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n border-width: 0;\n border-radius: 0;\n overflow: visible;\n text-overflow: unset;\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: 0;\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: var(--accent-stroke, var(--accent-fill-rest));\n border-radius: calc(var(--control-corner-radius) * 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 !important;\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 !important;\n }\n .lm_header {\n overflow: visible;\n position: relative;\n border-bottom: var(--card-border, 0);\n }\n .lm_header .lm_controls {\n position: absolute;\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 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 user-select: none;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);\n height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);\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::after {\n content: none;\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 box-shadow: none;\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`",
|
|
292
|
-
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
|
293
|
-
"privacy": "public"
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
"exports": [
|
|
297
|
-
{
|
|
298
|
-
"kind": "js",
|
|
299
|
-
"name": "layoutStyles",
|
|
300
|
-
"declaration": {
|
|
301
|
-
"name": "layoutStyles",
|
|
302
|
-
"module": "src/styles/layout.styles.ts"
|
|
238
|
+
"package": "./layout-components"
|
|
303
239
|
}
|
|
304
240
|
}
|
|
305
241
|
]
|
|
306
242
|
},
|
|
307
243
|
{
|
|
308
244
|
"kind": "javascript-module",
|
|
309
|
-
"path": "src/
|
|
245
|
+
"path": "src/main/layout-components.ts",
|
|
310
246
|
"declarations": [
|
|
311
247
|
{
|
|
312
248
|
"kind": "variable",
|
|
313
|
-
"name": "
|
|
249
|
+
"name": "foundationLayoutComponents",
|
|
314
250
|
"type": {
|
|
315
|
-
"text": "
|
|
251
|
+
"text": "object"
|
|
316
252
|
},
|
|
317
|
-
"default": "
|
|
318
|
-
"description": "
|
|
253
|
+
"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}",
|
|
254
|
+
"description": "Registration object to register the layout with your design system.",
|
|
319
255
|
"privacy": "public"
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
"kind": "variable",
|
|
323
|
-
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
324
|
-
"type": {
|
|
325
|
-
"text": "string"
|
|
326
|
-
},
|
|
327
|
-
"default": "'f-layout-key'",
|
|
328
|
-
"description": "Key to be used for controlling popout behaviour"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"kind": "variable",
|
|
332
|
-
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
333
|
-
"type": {
|
|
334
|
-
"text": "number"
|
|
335
|
-
},
|
|
336
|
-
"default": "1000",
|
|
337
|
-
"description": "How often a popout window should check to broadcast its\ngeometry"
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
"kind": "variable",
|
|
341
|
-
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
342
|
-
"type": {
|
|
343
|
-
"text": "string"
|
|
344
|
-
},
|
|
345
|
-
"default": "'f-layout-popout'",
|
|
346
|
-
"description": "Put this classname on an element which is a DOM parent of the layout, and\nif the layout goes into popout mode then it will place itself as the only child\nfor the popout container you set."
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
"kind": "variable",
|
|
350
|
-
"name": "DEFAULT_TAB_HEIGHT",
|
|
351
|
-
"type": {
|
|
352
|
-
"text": "string"
|
|
353
|
-
},
|
|
354
|
-
"default": "'32px'"
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
"kind": "variable",
|
|
358
|
-
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
359
|
-
"type": {
|
|
360
|
-
"text": "number"
|
|
361
|
-
},
|
|
362
|
-
"default": "9",
|
|
363
|
-
"description": "Default height multiplier for layout tab strips: 9 → 32px, a step above the 28px control height.\nKept separate from `--base-height-multiplier` so panel contents aren't resized with the strip."
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "function",
|
|
367
|
-
"name": "getLayoutHeaderHeight"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"kind": "variable",
|
|
371
|
-
"name": "DEFAULT_BORDER_WIDTH",
|
|
372
|
-
"type": {
|
|
373
|
-
"text": "number"
|
|
374
|
-
},
|
|
375
|
-
"default": "0"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"kind": "function",
|
|
379
|
-
"name": "getItemBorderWidth"
|
|
380
256
|
}
|
|
381
257
|
],
|
|
382
258
|
"exports": [
|
|
383
259
|
{
|
|
384
260
|
"kind": "js",
|
|
385
|
-
"name": "
|
|
386
|
-
"declaration": {
|
|
387
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
|
388
|
-
"module": "src/utils/constants.ts"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"kind": "js",
|
|
393
|
-
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
394
|
-
"declaration": {
|
|
395
|
-
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
396
|
-
"module": "src/utils/constants.ts"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"kind": "js",
|
|
401
|
-
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
402
|
-
"declaration": {
|
|
403
|
-
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
404
|
-
"module": "src/utils/constants.ts"
|
|
405
|
-
}
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"kind": "js",
|
|
409
|
-
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
410
|
-
"declaration": {
|
|
411
|
-
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
412
|
-
"module": "src/utils/constants.ts"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"kind": "js",
|
|
417
|
-
"name": "DEFAULT_TAB_HEIGHT",
|
|
418
|
-
"declaration": {
|
|
419
|
-
"name": "DEFAULT_TAB_HEIGHT",
|
|
420
|
-
"module": "src/utils/constants.ts"
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"kind": "js",
|
|
425
|
-
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
426
|
-
"declaration": {
|
|
427
|
-
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
428
|
-
"module": "src/utils/constants.ts"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"kind": "js",
|
|
433
|
-
"name": "getLayoutHeaderHeight",
|
|
434
|
-
"declaration": {
|
|
435
|
-
"name": "getLayoutHeaderHeight",
|
|
436
|
-
"module": "src/utils/constants.ts"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"kind": "js",
|
|
441
|
-
"name": "DEFAULT_BORDER_WIDTH",
|
|
442
|
-
"declaration": {
|
|
443
|
-
"name": "DEFAULT_BORDER_WIDTH",
|
|
444
|
-
"module": "src/utils/constants.ts"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
{
|
|
448
|
-
"kind": "js",
|
|
449
|
-
"name": "getItemBorderWidth",
|
|
261
|
+
"name": "foundationLayoutComponents",
|
|
450
262
|
"declaration": {
|
|
451
|
-
"name": "
|
|
452
|
-
"module": "src/
|
|
263
|
+
"name": "foundationLayoutComponents",
|
|
264
|
+
"module": "src/main/layout-components.ts"
|
|
453
265
|
}
|
|
454
266
|
}
|
|
455
267
|
]
|
|
456
268
|
},
|
|
457
269
|
{
|
|
458
270
|
"kind": "javascript-module",
|
|
459
|
-
"path": "src/
|
|
271
|
+
"path": "src/main/layout-item.ts",
|
|
460
272
|
"declarations": [
|
|
461
273
|
{
|
|
462
274
|
"kind": "class",
|
|
463
275
|
"description": "",
|
|
464
|
-
"name": "
|
|
465
|
-
"
|
|
466
|
-
"name": "Error",
|
|
467
|
-
"module": "src/utils/error.ts"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"kind": "class",
|
|
472
|
-
"description": "",
|
|
473
|
-
"name": "LayoutRegistrationError",
|
|
474
|
-
"superclass": {
|
|
475
|
-
"name": "Error",
|
|
476
|
-
"module": "src/utils/error.ts"
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
],
|
|
480
|
-
"exports": [
|
|
481
|
-
{
|
|
482
|
-
"kind": "js",
|
|
483
|
-
"name": "LayoutUsageError",
|
|
484
|
-
"declaration": {
|
|
485
|
-
"name": "LayoutUsageError",
|
|
486
|
-
"module": "src/utils/error.ts"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
{
|
|
490
|
-
"kind": "js",
|
|
491
|
-
"name": "LayoutRegistrationError",
|
|
492
|
-
"declaration": {
|
|
493
|
-
"name": "LayoutRegistrationError",
|
|
494
|
-
"module": "src/utils/error.ts"
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
]
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"kind": "javascript-module",
|
|
501
|
-
"path": "src/utils/events.ts",
|
|
502
|
-
"declarations": [
|
|
503
|
-
{
|
|
504
|
-
"kind": "variable",
|
|
505
|
-
"name": "LayoutEmitEvents",
|
|
506
|
-
"type": {
|
|
507
|
-
"text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n stateChanged: 'state-changed',\n}"
|
|
508
|
-
},
|
|
509
|
-
"default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n stateChanged: 'state-changed',\n}",
|
|
510
|
-
"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\n<br/>\n'stateChanged' - emitted on every persisted layout change. This is the broadest\nevent: it fires wherever the layout caches/saves its state, which includes item\nadd/remove/resize but ALSO the changes the granular events miss — dragging a pane\nto a new position, loading a whole layout via FoundationLayout.loadLayout,\nreverting to the default, and contained-item autosave requests. Prefer this when\nyou need to mirror the layout to your own store and must not miss any change.",
|
|
511
|
-
"privacy": "public"
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
"kind": "variable",
|
|
515
|
-
"name": "LayoutReceiveEvents",
|
|
516
|
-
"type": {
|
|
517
|
-
"text": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}"
|
|
518
|
-
},
|
|
519
|
-
"default": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}",
|
|
520
|
-
"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.\n'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See LayoutComponentWithState.",
|
|
521
|
-
"privacy": "public"
|
|
522
|
-
}
|
|
523
|
-
],
|
|
524
|
-
"exports": [
|
|
525
|
-
{
|
|
526
|
-
"kind": "js",
|
|
527
|
-
"name": "LayoutEmitEvents",
|
|
528
|
-
"declaration": {
|
|
529
|
-
"name": "LayoutEmitEvents",
|
|
530
|
-
"module": "src/utils/events.ts"
|
|
531
|
-
}
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
"kind": "js",
|
|
535
|
-
"name": "LayoutReceiveEvents",
|
|
536
|
-
"declaration": {
|
|
537
|
-
"name": "LayoutReceiveEvents",
|
|
538
|
-
"module": "src/utils/events.ts"
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
]
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"kind": "javascript-module",
|
|
545
|
-
"path": "src/utils/factory-registry.ts",
|
|
546
|
-
"declarations": [
|
|
547
|
-
{
|
|
548
|
-
"kind": "function",
|
|
549
|
-
"name": "registerFactory",
|
|
550
|
-
"return": {
|
|
551
|
-
"type": {
|
|
552
|
-
"text": "void"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
"parameters": [
|
|
276
|
+
"name": "FoundationLayoutItem",
|
|
277
|
+
"members": [
|
|
556
278
|
{
|
|
557
|
-
"
|
|
279
|
+
"kind": "field",
|
|
280
|
+
"name": "title",
|
|
558
281
|
"type": {
|
|
559
282
|
"text": "string"
|
|
560
283
|
},
|
|
561
|
-
"description": "
|
|
284
|
+
"description": "Sets the title of the item which is displayed on the tab.",
|
|
285
|
+
"privacy": "public"
|
|
562
286
|
},
|
|
563
287
|
{
|
|
564
|
-
"
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "closable",
|
|
565
290
|
"type": {
|
|
566
|
-
"text": "
|
|
291
|
+
"text": "boolean"
|
|
567
292
|
},
|
|
568
|
-
"
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
"privacy": "public"
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
"kind": "function",
|
|
576
|
-
"name": "getFactory",
|
|
577
|
-
"return": {
|
|
578
|
-
"type": {
|
|
579
|
-
"text": ""
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
"parameters": [
|
|
293
|
+
"default": "false",
|
|
294
|
+
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
295
|
+
"privacy": "public"
|
|
296
|
+
},
|
|
583
297
|
{
|
|
584
|
-
"
|
|
298
|
+
"kind": "field",
|
|
299
|
+
"name": "size",
|
|
585
300
|
"type": {
|
|
586
301
|
"text": "string"
|
|
587
302
|
},
|
|
588
|
-
"description": "
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
"description": "Retrieves a factory function by its key.",
|
|
592
|
-
"privacy": "public"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"kind": "function",
|
|
596
|
-
"name": "unregisterFactory",
|
|
597
|
-
"return": {
|
|
598
|
-
"type": {
|
|
599
|
-
"text": ""
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
"parameters": [
|
|
303
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
304
|
+
"privacy": "public"
|
|
305
|
+
},
|
|
603
306
|
{
|
|
604
|
-
"
|
|
307
|
+
"kind": "field",
|
|
308
|
+
"name": "registration",
|
|
605
309
|
"type": {
|
|
606
310
|
"text": "string"
|
|
607
311
|
},
|
|
608
|
-
"description": "
|
|
312
|
+
"description": "Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem.",
|
|
313
|
+
"privacy": "public"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"kind": "field",
|
|
317
|
+
"name": "_presentation",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "ComponentPresentation | null | undefined"
|
|
320
|
+
},
|
|
321
|
+
"privacy": "private",
|
|
322
|
+
"default": "void 0",
|
|
323
|
+
"inheritedFrom": {
|
|
324
|
+
"name": "FoundationElement",
|
|
325
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"kind": "field",
|
|
330
|
+
"name": "$presentation",
|
|
331
|
+
"type": {
|
|
332
|
+
"text": "ComponentPresentation | null"
|
|
333
|
+
},
|
|
334
|
+
"privacy": "public",
|
|
335
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
336
|
+
"inheritedFrom": {
|
|
337
|
+
"name": "FoundationElement",
|
|
338
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "field",
|
|
343
|
+
"name": "template",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "ElementViewTemplate | void | null"
|
|
346
|
+
},
|
|
347
|
+
"privacy": "public",
|
|
348
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
349
|
+
"inheritedFrom": {
|
|
350
|
+
"name": "FoundationElement",
|
|
351
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"kind": "method",
|
|
356
|
+
"name": "templateChanged",
|
|
357
|
+
"privacy": "protected",
|
|
358
|
+
"return": {
|
|
359
|
+
"type": {
|
|
360
|
+
"text": "void"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"inheritedFrom": {
|
|
364
|
+
"name": "FoundationElement",
|
|
365
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"kind": "field",
|
|
370
|
+
"name": "styles",
|
|
371
|
+
"type": {
|
|
372
|
+
"text": "ElementStyles | void | null"
|
|
373
|
+
},
|
|
374
|
+
"privacy": "public",
|
|
375
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
376
|
+
"inheritedFrom": {
|
|
377
|
+
"name": "FoundationElement",
|
|
378
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "method",
|
|
383
|
+
"name": "stylesChanged",
|
|
384
|
+
"privacy": "protected",
|
|
385
|
+
"return": {
|
|
386
|
+
"type": {
|
|
387
|
+
"text": "void"
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"inheritedFrom": {
|
|
391
|
+
"name": "FoundationElement",
|
|
392
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"kind": "method",
|
|
397
|
+
"name": "compose",
|
|
398
|
+
"privacy": "public",
|
|
399
|
+
"static": true,
|
|
400
|
+
"return": {
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"parameters": [
|
|
406
|
+
{
|
|
407
|
+
"name": "this",
|
|
408
|
+
"type": {
|
|
409
|
+
"text": "K"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "elementDefinition",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "T"
|
|
416
|
+
},
|
|
417
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
421
|
+
"inheritedFrom": {
|
|
422
|
+
"name": "FoundationElement",
|
|
423
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
424
|
+
}
|
|
609
425
|
}
|
|
610
426
|
],
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
"kind": "js",
|
|
649
|
-
"name": "*",
|
|
650
|
-
"declaration": {
|
|
651
|
-
"name": "*",
|
|
652
|
-
"package": "./constants"
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
"kind": "js",
|
|
657
|
-
"name": "*",
|
|
658
|
-
"declaration": {
|
|
659
|
-
"name": "*",
|
|
660
|
-
"package": "./error"
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
"kind": "js",
|
|
665
|
-
"name": "*",
|
|
666
|
-
"declaration": {
|
|
667
|
-
"name": "*",
|
|
668
|
-
"package": "./events"
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
"kind": "js",
|
|
673
|
-
"name": "*",
|
|
674
|
-
"declaration": {
|
|
675
|
-
"name": "*",
|
|
676
|
-
"package": "./factory-registry"
|
|
677
|
-
}
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"kind": "js",
|
|
681
|
-
"name": "*",
|
|
682
|
-
"declaration": {
|
|
683
|
-
"name": "*",
|
|
684
|
-
"package": "./misc"
|
|
685
|
-
}
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"kind": "js",
|
|
689
|
-
"name": "*",
|
|
690
|
-
"declaration": {
|
|
691
|
-
"name": "*",
|
|
692
|
-
"package": "./templates"
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"kind": "js",
|
|
697
|
-
"name": "*",
|
|
698
|
-
"declaration": {
|
|
699
|
-
"name": "*",
|
|
700
|
-
"package": "./popout-events"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"kind": "js",
|
|
705
|
-
"name": "*",
|
|
706
|
-
"declaration": {
|
|
707
|
-
"name": "*",
|
|
708
|
-
"package": "./types"
|
|
709
|
-
}
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"kind": "js",
|
|
713
|
-
"name": "*",
|
|
714
|
-
"declaration": {
|
|
715
|
-
"name": "*",
|
|
716
|
-
"package": "./error"
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
]
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"kind": "javascript-module",
|
|
723
|
-
"path": "src/utils/logger.ts",
|
|
724
|
-
"declarations": [
|
|
725
|
-
{
|
|
726
|
-
"kind": "variable",
|
|
727
|
-
"name": "logger"
|
|
728
|
-
}
|
|
729
|
-
],
|
|
730
|
-
"exports": [
|
|
731
|
-
{
|
|
732
|
-
"kind": "js",
|
|
733
|
-
"name": "logger",
|
|
734
|
-
"declaration": {
|
|
735
|
-
"name": "logger",
|
|
736
|
-
"module": "src/utils/logger.ts"
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
]
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"kind": "javascript-module",
|
|
743
|
-
"path": "src/utils/misc.ts",
|
|
744
|
-
"declarations": [],
|
|
745
|
-
"exports": []
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"kind": "javascript-module",
|
|
749
|
-
"path": "src/utils/popout-events.ts",
|
|
750
|
-
"declarations": [
|
|
751
|
-
{
|
|
752
|
-
"kind": "variable",
|
|
753
|
-
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
754
|
-
"type": {
|
|
755
|
-
"text": "string"
|
|
427
|
+
"attributes": [
|
|
428
|
+
{
|
|
429
|
+
"name": "title",
|
|
430
|
+
"type": {
|
|
431
|
+
"text": "string"
|
|
432
|
+
},
|
|
433
|
+
"description": "Sets the title of the item which is displayed on the tab.",
|
|
434
|
+
"fieldName": "title"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": {
|
|
438
|
+
"text": "boolean"
|
|
439
|
+
},
|
|
440
|
+
"default": "false",
|
|
441
|
+
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
442
|
+
"fieldName": "closable"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "size",
|
|
446
|
+
"type": {
|
|
447
|
+
"text": "string"
|
|
448
|
+
},
|
|
449
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
450
|
+
"fieldName": "size"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "registration",
|
|
454
|
+
"type": {
|
|
455
|
+
"text": "string"
|
|
456
|
+
},
|
|
457
|
+
"description": "Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem.",
|
|
458
|
+
"fieldName": "registration"
|
|
459
|
+
}
|
|
460
|
+
],
|
|
461
|
+
"superclass": {
|
|
462
|
+
"name": "FoundationElement",
|
|
463
|
+
"package": "@microsoft/fast-foundation"
|
|
756
464
|
},
|
|
757
|
-
"
|
|
758
|
-
"
|
|
759
|
-
"privacy": "public"
|
|
465
|
+
"tagName": "%%prefix%%-layout-item",
|
|
466
|
+
"customElement": true
|
|
760
467
|
}
|
|
761
468
|
],
|
|
762
469
|
"exports": [
|
|
763
470
|
{
|
|
764
471
|
"kind": "js",
|
|
765
|
-
"name": "
|
|
766
|
-
"declaration": {
|
|
767
|
-
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
768
|
-
"module": "src/utils/popout-events.ts"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
{
|
|
772
|
-
"kind": "js",
|
|
773
|
-
"name": "PopoutGeometry",
|
|
472
|
+
"name": "FoundationLayoutItem",
|
|
774
473
|
"declaration": {
|
|
775
|
-
"name": "
|
|
776
|
-
"module": "src/
|
|
474
|
+
"name": "FoundationLayoutItem",
|
|
475
|
+
"module": "src/main/layout-item.ts"
|
|
777
476
|
}
|
|
778
477
|
}
|
|
779
478
|
]
|
|
780
479
|
},
|
|
781
480
|
{
|
|
782
481
|
"kind": "javascript-module",
|
|
783
|
-
"path": "src/
|
|
784
|
-
"declarations": [
|
|
785
|
-
"exports": []
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
"kind": "javascript-module",
|
|
789
|
-
"path": "src/utils/types.ts",
|
|
790
|
-
"declarations": [],
|
|
791
|
-
"exports": []
|
|
792
|
-
},
|
|
793
|
-
{
|
|
794
|
-
"kind": "javascript-module",
|
|
795
|
-
"path": "src/main/index.ts",
|
|
796
|
-
"declarations": [],
|
|
797
|
-
"exports": [
|
|
798
|
-
{
|
|
799
|
-
"kind": "js",
|
|
800
|
-
"name": "FoundationLayoutItem",
|
|
801
|
-
"declaration": {
|
|
802
|
-
"name": "FoundationLayoutItem",
|
|
803
|
-
"module": "./layout-item"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
{
|
|
807
|
-
"kind": "js",
|
|
808
|
-
"name": "FoundationLayoutRegion",
|
|
809
|
-
"declaration": {
|
|
810
|
-
"name": "FoundationLayoutRegion",
|
|
811
|
-
"module": "./layout-region"
|
|
812
|
-
}
|
|
813
|
-
},
|
|
482
|
+
"path": "src/main/layout-main.ts",
|
|
483
|
+
"declarations": [
|
|
814
484
|
{
|
|
815
|
-
"kind": "
|
|
485
|
+
"kind": "class",
|
|
486
|
+
"description": "",
|
|
816
487
|
"name": "FoundationLayout",
|
|
817
|
-
"declaration": {
|
|
818
|
-
"name": "FoundationLayout",
|
|
819
|
-
"module": "./layout-main"
|
|
820
|
-
}
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
"kind": "js",
|
|
824
|
-
"name": "layoutStyles",
|
|
825
|
-
"declaration": {
|
|
826
|
-
"name": "layoutStyles",
|
|
827
|
-
"module": "./layout-main"
|
|
828
|
-
}
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"kind": "js",
|
|
832
|
-
"name": "layoutTemplate",
|
|
833
|
-
"declaration": {
|
|
834
|
-
"name": "layoutTemplate",
|
|
835
|
-
"module": "./layout-main"
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"kind": "js",
|
|
840
|
-
"name": "*",
|
|
841
|
-
"declaration": {
|
|
842
|
-
"name": "*",
|
|
843
|
-
"package": "./layout-components"
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
]
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"kind": "javascript-module",
|
|
850
|
-
"path": "src/main/layout-components.ts",
|
|
851
|
-
"declarations": [
|
|
852
|
-
{
|
|
853
|
-
"kind": "variable",
|
|
854
|
-
"name": "foundationLayoutComponents",
|
|
855
|
-
"type": {
|
|
856
|
-
"text": "object"
|
|
857
|
-
},
|
|
858
|
-
"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}",
|
|
859
|
-
"description": "Registration object to register the layout with your design system.",
|
|
860
|
-
"privacy": "public"
|
|
861
|
-
}
|
|
862
|
-
],
|
|
863
|
-
"exports": [
|
|
864
|
-
{
|
|
865
|
-
"kind": "js",
|
|
866
|
-
"name": "foundationLayoutComponents",
|
|
867
|
-
"declaration": {
|
|
868
|
-
"name": "foundationLayoutComponents",
|
|
869
|
-
"module": "src/main/layout-components.ts"
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
]
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"kind": "javascript-module",
|
|
876
|
-
"path": "src/main/layout-item.ts",
|
|
877
|
-
"declarations": [
|
|
878
|
-
{
|
|
879
|
-
"kind": "class",
|
|
880
|
-
"description": "",
|
|
881
|
-
"name": "FoundationLayoutItem",
|
|
882
488
|
"members": [
|
|
883
489
|
{
|
|
884
490
|
"kind": "field",
|
|
885
|
-
"name": "
|
|
491
|
+
"name": "layout",
|
|
886
492
|
"type": {
|
|
887
|
-
"text": "
|
|
493
|
+
"text": "GoldenLayout"
|
|
888
494
|
},
|
|
889
|
-
"
|
|
495
|
+
"privacy": "private"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"kind": "field",
|
|
499
|
+
"name": "layoutConfig",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "LayoutConfig"
|
|
502
|
+
},
|
|
503
|
+
"privacy": "private",
|
|
504
|
+
"default": "{ root: undefined }"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"kind": "field",
|
|
508
|
+
"name": "defaultLayoutConfig",
|
|
509
|
+
"type": {
|
|
510
|
+
"text": "LayoutConfig"
|
|
511
|
+
},
|
|
512
|
+
"privacy": "private",
|
|
513
|
+
"default": "{ root: undefined }"
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"kind": "field",
|
|
517
|
+
"name": "reloadBuffer",
|
|
518
|
+
"type": {
|
|
519
|
+
"text": "number"
|
|
520
|
+
},
|
|
521
|
+
"default": "DEFAULT_RELOAD_BUFFER",
|
|
522
|
+
"description": "Number describing how long to wait in ms before reloading the config when adding items\ndeclaratively by the html API. Default 500 (ms).",
|
|
890
523
|
"privacy": "public"
|
|
891
524
|
},
|
|
892
525
|
{
|
|
893
526
|
"kind": "field",
|
|
894
|
-
"name": "
|
|
527
|
+
"name": "reloadPending",
|
|
528
|
+
"type": {
|
|
529
|
+
"text": "boolean"
|
|
530
|
+
},
|
|
531
|
+
"privacy": "private",
|
|
532
|
+
"default": "false"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"kind": "field",
|
|
536
|
+
"name": "registeredComponents",
|
|
537
|
+
"type": {
|
|
538
|
+
"text": "number"
|
|
539
|
+
},
|
|
540
|
+
"privacy": "private",
|
|
541
|
+
"default": "0"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"kind": "field",
|
|
545
|
+
"name": "autoSaveKey",
|
|
546
|
+
"type": {
|
|
547
|
+
"text": "string | undefined"
|
|
548
|
+
},
|
|
549
|
+
"description": "Attribute which if set will auto save and load the layout as the user changes it.\nOmit this attribute to disable this feature.\nSet attribute using `auto-save-key`.",
|
|
550
|
+
"privacy": "public"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"kind": "field",
|
|
554
|
+
"name": "missingItemPlaceholder",
|
|
555
|
+
"description": "Function which is used to generate the placeholder text when a layout is loaded\nwith a missing item.",
|
|
556
|
+
"privacy": "public"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "field",
|
|
560
|
+
"name": "dimensionsConfig",
|
|
561
|
+
"type": {
|
|
562
|
+
"text": "LayoutConfig.Dimensions | undefined"
|
|
563
|
+
},
|
|
564
|
+
"description": "Apply dimensions config to the layout, such as setting the size of the drag handles.",
|
|
565
|
+
"privacy": "public"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"kind": "field",
|
|
569
|
+
"name": "hasFirstLoaded",
|
|
895
570
|
"type": {
|
|
896
571
|
"text": "boolean"
|
|
897
572
|
},
|
|
898
573
|
"default": "false",
|
|
899
|
-
"description": "Boolean
|
|
574
|
+
"description": "Boolean signifies whether the layout has loaded for the first time or not.",
|
|
575
|
+
"privacy": "public"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "customButtons",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "CustomButton[]"
|
|
582
|
+
},
|
|
583
|
+
"default": "[]",
|
|
584
|
+
"description": "Set custom button definition on this property to add them to the layout header controls",
|
|
585
|
+
"privacy": "public"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"kind": "field",
|
|
589
|
+
"name": "dragging",
|
|
590
|
+
"type": {
|
|
591
|
+
"text": "boolean"
|
|
592
|
+
},
|
|
593
|
+
"default": "false",
|
|
594
|
+
"privacy": "public"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "class",
|
|
599
|
+
"privacy": "public",
|
|
600
|
+
"default": "'FoundationLayoutMain'",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "'FoundationLayoutMain'"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"kind": "field",
|
|
607
|
+
"name": "lifecycleUpdateToken",
|
|
608
|
+
"type": {
|
|
609
|
+
"text": "string | undefined"
|
|
610
|
+
},
|
|
611
|
+
"privacy": "public",
|
|
612
|
+
"default": "undefined",
|
|
613
|
+
"description": "Used to calculate whether a layout item should run its lifecycle methods or not"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"kind": "field",
|
|
617
|
+
"name": "popoutConfig",
|
|
618
|
+
"type": {
|
|
619
|
+
"text": "LayoutPopoutConfig | undefined"
|
|
620
|
+
},
|
|
621
|
+
"default": "undefined",
|
|
622
|
+
"description": "Controls whether popout functionality is enabled on the layout. Defaults to disabled.\nPass an empty object `{}` to use default configurations, or a LayoutPopoutConfig object to further customise."
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "method",
|
|
626
|
+
"name": "layoutRequiredRegistrations",
|
|
627
|
+
"static": true,
|
|
628
|
+
"return": {
|
|
629
|
+
"type": {
|
|
630
|
+
"text": ""
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"parameters": [
|
|
634
|
+
{
|
|
635
|
+
"name": "layout",
|
|
636
|
+
"type": {
|
|
637
|
+
"text": "SerialisedLayout"
|
|
638
|
+
},
|
|
639
|
+
"description": "any version of {@link SerialisedLayout}object describing the layout\n * "
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"description": "JS API, public",
|
|
643
|
+
"privacy": "public"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"kind": "method",
|
|
647
|
+
"name": "registeredItems",
|
|
648
|
+
"return": {
|
|
649
|
+
"type": {
|
|
650
|
+
"text": ""
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
"privacy": "public"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"kind": "method",
|
|
657
|
+
"name": "getLayout",
|
|
658
|
+
"return": {
|
|
659
|
+
"type": {
|
|
660
|
+
"text": ""
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"privacy": "public"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"kind": "method",
|
|
667
|
+
"name": "tryActivatePopoutMode",
|
|
668
|
+
"return": {
|
|
669
|
+
"type": {
|
|
670
|
+
"text": "boolean"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"description": "If in a popout window from the dynamic layout, this function will run the flow to put the component in popout mode.\nThis function is automatically called if using the declarative HTML API, but if only using the JavaScript API then you will need to call this function manually."
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"kind": "method",
|
|
677
|
+
"name": "tryLoadLayoutFromLocalStorage",
|
|
678
|
+
"return": {
|
|
679
|
+
"type": {
|
|
680
|
+
"text": ""
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"description": "Try to load a layout from local storage, or return false. Only required if manually calling FoundationLayout.registerItem",
|
|
684
|
+
"privacy": "public"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"kind": "method",
|
|
688
|
+
"name": "clearAutosaveAndRevertToDefault",
|
|
689
|
+
"return": {
|
|
690
|
+
"type": {
|
|
691
|
+
"text": ""
|
|
692
|
+
}
|
|
693
|
+
},
|
|
694
|
+
"privacy": "public"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"kind": "method",
|
|
698
|
+
"name": "loadLayout",
|
|
699
|
+
"parameters": [
|
|
700
|
+
{
|
|
701
|
+
"name": "layout",
|
|
702
|
+
"type": {
|
|
703
|
+
"text": "SerialisedLayout"
|
|
704
|
+
},
|
|
705
|
+
"description": "any version of {@link SerialisedLayout}object describing the layout\n * "
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "handleMissingItem",
|
|
709
|
+
"default": "'error'",
|
|
710
|
+
"type": {
|
|
711
|
+
"text": "'placeholder' | 'error'"
|
|
712
|
+
},
|
|
713
|
+
"description": "what to do if the layout contains items that are not currently registered with the layout system. Defaults to 'error' which will throw an error. If set to 'placeholder' then any missing items will be replaced with a placeholder element. You can control the text of the placeholder element with {@link FoundationLayout.missingItemPlaceholder}.\n * "
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "disableCache",
|
|
717
|
+
"default": "false",
|
|
718
|
+
"type": {
|
|
719
|
+
"text": "boolean"
|
|
720
|
+
},
|
|
721
|
+
"description": "if set to true then the layout will give you a new instance of every item, even if it has a currently cached item to use. Using this will not stop you from saving and loading state via the {@link LayoutComponentWithState}interface. Defaults to false.\n * "
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"privacy": "public"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"kind": "method",
|
|
728
|
+
"name": "addItem",
|
|
729
|
+
"parameters": [
|
|
730
|
+
{
|
|
731
|
+
"name": "config",
|
|
732
|
+
"type": {
|
|
733
|
+
"text": "RegisteredElementConfig | RegisteredElementConfig[]"
|
|
734
|
+
},
|
|
735
|
+
"description": "{@link RegisteredElementConfig}configuration items for the new items(s). Pass an array of {@link RegisteredElementConfig}to add multiple items at once.\n * "
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "placement",
|
|
739
|
+
"default": "defaultAddItemPlacement",
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "Placement"
|
|
742
|
+
},
|
|
743
|
+
"description": "where and how to add the new items to the layout. For more info and defaults see {@link Placement}.\n * "
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"privacy": "public"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "method",
|
|
750
|
+
"name": "removeItems",
|
|
751
|
+
"return": {
|
|
752
|
+
"type": {
|
|
753
|
+
"text": ""
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"parameters": [
|
|
757
|
+
{
|
|
758
|
+
"name": "registration",
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "string"
|
|
761
|
+
},
|
|
762
|
+
"description": "string of the registration ID"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "force",
|
|
766
|
+
"default": "false",
|
|
767
|
+
"type": {
|
|
768
|
+
"text": "boolean"
|
|
769
|
+
},
|
|
770
|
+
"description": "if set to true then the item will be removed even if it is not closable. Defaults to false, which is the same behaviour as the close button on the header."
|
|
771
|
+
}
|
|
772
|
+
],
|
|
773
|
+
"privacy": "public"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"kind": "method",
|
|
777
|
+
"name": "registerItem",
|
|
778
|
+
"return": {
|
|
779
|
+
"type": {
|
|
780
|
+
"text": ""
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"parameters": [
|
|
784
|
+
{
|
|
785
|
+
"name": "registration",
|
|
786
|
+
"type": {
|
|
787
|
+
"text": "string"
|
|
788
|
+
},
|
|
789
|
+
"description": "string of the registration ID"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
"name": "elementsOrFactory",
|
|
793
|
+
"type": {
|
|
794
|
+
"text": "Element[] | ComponentFactory"
|
|
795
|
+
},
|
|
796
|
+
"description": "Either Elements[] containing the reference to the elements to register, or a ComponentFactory function"
|
|
797
|
+
}
|
|
798
|
+
],
|
|
900
799
|
"privacy": "public"
|
|
901
800
|
},
|
|
902
801
|
{
|
|
903
|
-
"kind": "
|
|
904
|
-
"name": "
|
|
905
|
-
"
|
|
906
|
-
|
|
802
|
+
"kind": "method",
|
|
803
|
+
"name": "updateLifecycleToken",
|
|
804
|
+
"privacy": "private",
|
|
805
|
+
"return": {
|
|
806
|
+
"type": {
|
|
807
|
+
"text": "void"
|
|
808
|
+
}
|
|
907
809
|
},
|
|
908
|
-
"description": "
|
|
909
|
-
"privacy": "public"
|
|
810
|
+
"description": "The `LifecycleMixin` can use the lifecycleUpdateToken to determine if it needs to gate\nlifecycle methods from running when other items have been added or deleted.\nThis key is updated every time one of these actions are performed, so you can check if the key has changed and know you potentially need to gate some of your lifecycle functionality.\nThis method should be called whenever we are about to perform an action which will cause a lifecycle update, should as adding or removing an item from the layout"
|
|
910
811
|
},
|
|
911
812
|
{
|
|
912
|
-
"kind": "
|
|
913
|
-
"name": "
|
|
914
|
-
"
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
813
|
+
"kind": "method",
|
|
814
|
+
"name": "handleGLRunErrors",
|
|
815
|
+
"privacy": "private",
|
|
816
|
+
"parameters": [
|
|
817
|
+
{
|
|
818
|
+
"name": "e",
|
|
819
|
+
"type": {
|
|
820
|
+
"text": "Error"
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"description": "For specific golden layout errors we can provide better information to the caller. Else re-throw the original error"
|
|
919
825
|
},
|
|
920
826
|
{
|
|
921
827
|
"kind": "field",
|
|
@@ -1029,404 +935,375 @@
|
|
|
1029
935
|
}
|
|
1030
936
|
}
|
|
1031
937
|
],
|
|
1032
|
-
"
|
|
938
|
+
"events": [
|
|
1033
939
|
{
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1036
|
-
"text": "string"
|
|
1037
|
-
},
|
|
1038
|
-
"description": "Sets the title of the item which is displayed on the tab.",
|
|
1039
|
-
"fieldName": "title"
|
|
940
|
+
"description": "emitted when the layout has finished loading the first time",
|
|
941
|
+
"name": "first-loaded"
|
|
1040
942
|
},
|
|
1041
943
|
{
|
|
1042
|
-
"
|
|
1043
|
-
|
|
1044
|
-
},
|
|
1045
|
-
"default": "false",
|
|
1046
|
-
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
1047
|
-
"fieldName": "closable"
|
|
944
|
+
"description": "emitted when an item is added to the layout",
|
|
945
|
+
"name": "item-added"
|
|
1048
946
|
},
|
|
1049
947
|
{
|
|
1050
|
-
"
|
|
948
|
+
"description": "emitted when an item is removed from the layout",
|
|
949
|
+
"name": "item-removed"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"description": "emitted when the user drags the divider to resize elements",
|
|
953
|
+
"name": "item-resized"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"description": "emitted on every persisted layout change (add/remove/resize, drag-move, loadLayout, revert-to-default, autosave request); use this to mirror the layout without missing any change",
|
|
957
|
+
"name": "state-changed"
|
|
958
|
+
}
|
|
959
|
+
],
|
|
960
|
+
"attributes": [
|
|
961
|
+
{
|
|
962
|
+
"name": "reload-buffer",
|
|
1051
963
|
"type": {
|
|
1052
|
-
"text": "
|
|
964
|
+
"text": "number"
|
|
1053
965
|
},
|
|
1054
|
-
"
|
|
1055
|
-
"
|
|
966
|
+
"default": "DEFAULT_RELOAD_BUFFER",
|
|
967
|
+
"description": "Number describing how long to wait in ms before reloading the config when adding items\ndeclaratively by the html API. Default 500 (ms).",
|
|
968
|
+
"resolveInitializer": {
|
|
969
|
+
"module": "/src/utils"
|
|
970
|
+
},
|
|
971
|
+
"fieldName": "reloadBuffer"
|
|
1056
972
|
},
|
|
1057
973
|
{
|
|
1058
|
-
"name": "
|
|
974
|
+
"name": "auto-save-key",
|
|
1059
975
|
"type": {
|
|
1060
|
-
"text": "string"
|
|
976
|
+
"text": "string | undefined"
|
|
1061
977
|
},
|
|
1062
|
-
"description": "
|
|
1063
|
-
"fieldName": "
|
|
978
|
+
"description": "Attribute which if set will auto save and load the layout as the user changes it.\nOmit this attribute to disable this feature.\nSet attribute using `auto-save-key`.",
|
|
979
|
+
"fieldName": "autoSaveKey"
|
|
1064
980
|
}
|
|
1065
981
|
],
|
|
1066
982
|
"superclass": {
|
|
1067
983
|
"name": "FoundationElement",
|
|
1068
984
|
"package": "@microsoft/fast-foundation"
|
|
1069
985
|
},
|
|
1070
|
-
"tagName": "%%prefix%%-layout
|
|
986
|
+
"tagName": "%%prefix%%-layout",
|
|
1071
987
|
"customElement": true
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"kind": "variable",
|
|
991
|
+
"name": "layoutTemplate",
|
|
992
|
+
"default": "html<FoundationLayout>`\n <template>\n ${when(\n (x) => Boolean(x.popoutConfig),\n html<FoundationLayout>`\n <foundation-layout-popout-controller\n ${ref('popoutController')}\n :parentLayout=\"${(x) => x}\"\n channel-name=\"${(x) => x.popoutConfig?.channelName}\"\n ></foundation-layout-popout-controller>\n `,\n )}\n ${when((x) => !x.hasFirstLoaded && x.usingDeclerativeAPI, loadingTemplate)}\n <div class=\"layout-container\" ${ref('layoutElement')}></div>\n </template>\n`",
|
|
993
|
+
"description": "`ViewTemplate` which defines the html for FoundationLayout.",
|
|
994
|
+
"privacy": "public"
|
|
1072
995
|
}
|
|
1073
996
|
],
|
|
1074
997
|
"exports": [
|
|
1075
998
|
{
|
|
1076
999
|
"kind": "js",
|
|
1077
|
-
"name": "
|
|
1000
|
+
"name": "layoutStyles",
|
|
1078
1001
|
"declaration": {
|
|
1079
|
-
"name": "
|
|
1080
|
-
"module": "
|
|
1002
|
+
"name": "layoutStyles",
|
|
1003
|
+
"module": "../styles"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"kind": "js",
|
|
1008
|
+
"name": "FoundationLayout",
|
|
1009
|
+
"declaration": {
|
|
1010
|
+
"name": "FoundationLayout",
|
|
1011
|
+
"module": "src/main/layout-main.ts"
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"kind": "js",
|
|
1016
|
+
"name": "layoutTemplate",
|
|
1017
|
+
"declaration": {
|
|
1018
|
+
"name": "layoutTemplate",
|
|
1019
|
+
"module": "src/main/layout-main.ts"
|
|
1081
1020
|
}
|
|
1082
1021
|
}
|
|
1083
1022
|
]
|
|
1084
1023
|
},
|
|
1085
1024
|
{
|
|
1086
1025
|
"kind": "javascript-module",
|
|
1087
|
-
"path": "src/main/layout-
|
|
1026
|
+
"path": "src/main/layout-popout-controller.ts",
|
|
1088
1027
|
"declarations": [
|
|
1089
1028
|
{
|
|
1090
1029
|
"kind": "class",
|
|
1091
1030
|
"description": "",
|
|
1092
|
-
"name": "
|
|
1031
|
+
"name": "FoundationLayoutPopoutController",
|
|
1093
1032
|
"members": [
|
|
1094
1033
|
{
|
|
1095
1034
|
"kind": "field",
|
|
1096
|
-
"name": "
|
|
1097
|
-
"type": {
|
|
1098
|
-
"text": "GoldenLayout"
|
|
1099
|
-
},
|
|
1100
|
-
"privacy": "private"
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
"kind": "field",
|
|
1104
|
-
"name": "layoutConfig",
|
|
1105
|
-
"type": {
|
|
1106
|
-
"text": "LayoutConfig"
|
|
1107
|
-
},
|
|
1108
|
-
"privacy": "private",
|
|
1109
|
-
"default": "{ root: undefined }"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
"kind": "field",
|
|
1113
|
-
"name": "defaultLayoutConfig",
|
|
1114
|
-
"type": {
|
|
1115
|
-
"text": "LayoutConfig"
|
|
1116
|
-
},
|
|
1117
|
-
"privacy": "private",
|
|
1118
|
-
"default": "{ root: undefined }"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
"kind": "field",
|
|
1122
|
-
"name": "reloadBuffer",
|
|
1123
|
-
"type": {
|
|
1124
|
-
"text": "number"
|
|
1125
|
-
},
|
|
1126
|
-
"default": "DEFAULT_RELOAD_BUFFER",
|
|
1127
|
-
"description": "Number describing how long to wait in ms before reloading the config when adding items\ndeclaratively by the html API. Default 500 (ms).",
|
|
1128
|
-
"privacy": "public"
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
"kind": "field",
|
|
1132
|
-
"name": "reloadPending",
|
|
1035
|
+
"name": "channelName",
|
|
1133
1036
|
"type": {
|
|
1134
|
-
"text": "
|
|
1135
|
-
}
|
|
1136
|
-
"privacy": "private",
|
|
1137
|
-
"default": "false"
|
|
1037
|
+
"text": "string"
|
|
1038
|
+
}
|
|
1138
1039
|
},
|
|
1139
1040
|
{
|
|
1140
1041
|
"kind": "field",
|
|
1141
|
-
"name": "
|
|
1042
|
+
"name": "layoutKey",
|
|
1142
1043
|
"type": {
|
|
1143
|
-
"text": "
|
|
1044
|
+
"text": "string"
|
|
1144
1045
|
},
|
|
1145
|
-
"privacy": "private"
|
|
1146
|
-
"default": "0"
|
|
1046
|
+
"privacy": "private"
|
|
1147
1047
|
},
|
|
1148
1048
|
{
|
|
1149
1049
|
"kind": "field",
|
|
1150
|
-
"name": "
|
|
1050
|
+
"name": "channel",
|
|
1151
1051
|
"type": {
|
|
1152
|
-
"text": "
|
|
1052
|
+
"text": "TypedBroadcastChannel<LayoutPopoutEvents>"
|
|
1153
1053
|
},
|
|
1154
|
-
"
|
|
1155
|
-
"privacy": "public"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
"kind": "field",
|
|
1159
|
-
"name": "missingItemPlaceholder",
|
|
1160
|
-
"description": "Function which is used to generate the placeholder text when a layout is loaded\nwith a missing item.",
|
|
1161
|
-
"privacy": "public"
|
|
1054
|
+
"privacy": "private"
|
|
1162
1055
|
},
|
|
1163
1056
|
{
|
|
1164
1057
|
"kind": "field",
|
|
1165
|
-
"name": "
|
|
1058
|
+
"name": "pollInterval",
|
|
1166
1059
|
"type": {
|
|
1167
|
-
"text": "
|
|
1060
|
+
"text": "any"
|
|
1168
1061
|
},
|
|
1169
|
-
"
|
|
1170
|
-
"privacy": "public"
|
|
1062
|
+
"privacy": "private"
|
|
1171
1063
|
},
|
|
1172
1064
|
{
|
|
1173
1065
|
"kind": "field",
|
|
1174
|
-
"name": "
|
|
1066
|
+
"name": "unloadHandler",
|
|
1175
1067
|
"type": {
|
|
1176
|
-
"text": "
|
|
1068
|
+
"text": "() => void"
|
|
1177
1069
|
},
|
|
1178
|
-
"
|
|
1179
|
-
"description": "Boolean signifies whether the layout has loaded for the first time or not.",
|
|
1180
|
-
"privacy": "public"
|
|
1070
|
+
"privacy": "private"
|
|
1181
1071
|
},
|
|
1182
1072
|
{
|
|
1183
1073
|
"kind": "field",
|
|
1184
|
-
"name": "
|
|
1074
|
+
"name": "lastUpdate",
|
|
1185
1075
|
"type": {
|
|
1186
|
-
"text": "
|
|
1076
|
+
"text": "string"
|
|
1187
1077
|
},
|
|
1188
|
-
"
|
|
1189
|
-
"description": "Set custom button definition on this property to add them to the layout header controls",
|
|
1190
|
-
"privacy": "public"
|
|
1078
|
+
"privacy": "private"
|
|
1191
1079
|
},
|
|
1192
1080
|
{
|
|
1193
1081
|
"kind": "field",
|
|
1194
|
-
"name": "
|
|
1082
|
+
"name": "popoutRegistry",
|
|
1195
1083
|
"type": {
|
|
1196
|
-
"text": "
|
|
1084
|
+
"text": "Map<\n string,\n { geometry: PopoutGeometry; state?: unknown; window?: Window }\n >"
|
|
1197
1085
|
},
|
|
1198
|
-
"
|
|
1199
|
-
"
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "field",
|
|
1203
|
-
"name": "class",
|
|
1204
|
-
"privacy": "public",
|
|
1205
|
-
"default": "'FoundationLayoutMain'",
|
|
1206
|
-
"type": {
|
|
1207
|
-
"text": "'FoundationLayoutMain'"
|
|
1208
|
-
}
|
|
1086
|
+
"privacy": "private",
|
|
1087
|
+
"default": "new Map()"
|
|
1209
1088
|
},
|
|
1210
1089
|
{
|
|
1211
|
-
"kind": "
|
|
1212
|
-
"name": "
|
|
1213
|
-
"
|
|
1214
|
-
"text": "string | undefined"
|
|
1215
|
-
},
|
|
1216
|
-
"privacy": "public",
|
|
1217
|
-
"default": "undefined",
|
|
1218
|
-
"description": "Used to calculate whether a layout item should run its lifecycle methods or not"
|
|
1090
|
+
"kind": "method",
|
|
1091
|
+
"name": "setupChannel",
|
|
1092
|
+
"privacy": "private"
|
|
1219
1093
|
},
|
|
1220
1094
|
{
|
|
1221
|
-
"kind": "
|
|
1222
|
-
"name": "
|
|
1223
|
-
"
|
|
1224
|
-
"text": "LayoutPopoutConfig | undefined"
|
|
1225
|
-
},
|
|
1226
|
-
"default": "undefined",
|
|
1227
|
-
"description": "Controls whether popout functionality is enabled on the layout. Defaults to disabled.\nPass an empty object `{}` to use default configurations, or a LayoutPopoutConfig object to further customise."
|
|
1095
|
+
"kind": "method",
|
|
1096
|
+
"name": "setupListener",
|
|
1097
|
+
"privacy": "private"
|
|
1228
1098
|
},
|
|
1229
1099
|
{
|
|
1230
1100
|
"kind": "method",
|
|
1231
|
-
"name": "
|
|
1232
|
-
"
|
|
1233
|
-
"return": {
|
|
1234
|
-
"type": {
|
|
1235
|
-
"text": ""
|
|
1236
|
-
}
|
|
1237
|
-
},
|
|
1101
|
+
"name": "applyStateToParent",
|
|
1102
|
+
"privacy": "private",
|
|
1238
1103
|
"parameters": [
|
|
1239
1104
|
{
|
|
1240
|
-
"name": "
|
|
1105
|
+
"name": "state",
|
|
1241
1106
|
"type": {
|
|
1242
|
-
"text": "
|
|
1243
|
-
}
|
|
1244
|
-
"description": "any version of {@link SerialisedLayout}object describing the layout\n * "
|
|
1107
|
+
"text": "unknown"
|
|
1108
|
+
}
|
|
1245
1109
|
}
|
|
1246
|
-
]
|
|
1247
|
-
"description": "JS API, public",
|
|
1248
|
-
"privacy": "public"
|
|
1110
|
+
]
|
|
1249
1111
|
},
|
|
1250
1112
|
{
|
|
1251
1113
|
"kind": "method",
|
|
1252
|
-
"name": "
|
|
1253
|
-
"
|
|
1254
|
-
"type": {
|
|
1255
|
-
"text": ""
|
|
1256
|
-
}
|
|
1257
|
-
},
|
|
1258
|
-
"privacy": "public"
|
|
1114
|
+
"name": "setupUnloadListener",
|
|
1115
|
+
"privacy": "private"
|
|
1259
1116
|
},
|
|
1260
1117
|
{
|
|
1261
1118
|
"kind": "method",
|
|
1262
|
-
"name": "
|
|
1263
|
-
"
|
|
1264
|
-
"type": {
|
|
1265
|
-
"text": ""
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
"privacy": "public"
|
|
1119
|
+
"name": "teardownUnloadListener",
|
|
1120
|
+
"privacy": "private"
|
|
1269
1121
|
},
|
|
1270
1122
|
{
|
|
1271
1123
|
"kind": "method",
|
|
1272
|
-
"name": "
|
|
1273
|
-
"
|
|
1274
|
-
"type": {
|
|
1275
|
-
"text": "boolean"
|
|
1276
|
-
}
|
|
1277
|
-
},
|
|
1278
|
-
"description": "If in a popout window from the dynamic layout, this function will run the flow to put the component in popout mode.\nThis function is automatically called if using the declarative HTML API, but if only using the JavaScript API then you will need to call this function manually."
|
|
1124
|
+
"name": "emitAutosave",
|
|
1125
|
+
"privacy": "private"
|
|
1279
1126
|
},
|
|
1280
1127
|
{
|
|
1281
1128
|
"kind": "method",
|
|
1282
|
-
"name": "
|
|
1129
|
+
"name": "startPolling",
|
|
1130
|
+
"privacy": "private"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"kind": "method",
|
|
1134
|
+
"name": "stopPolling",
|
|
1135
|
+
"privacy": "private"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"kind": "method",
|
|
1139
|
+
"name": "getGeometry",
|
|
1140
|
+
"privacy": "private",
|
|
1283
1141
|
"return": {
|
|
1284
1142
|
"type": {
|
|
1285
|
-
"text": ""
|
|
1143
|
+
"text": "Promise<PopoutGeometry>"
|
|
1286
1144
|
}
|
|
1287
|
-
}
|
|
1288
|
-
"description": "Try to load a layout from local storage, or return false. Only required if manually calling FoundationLayout.registerItem",
|
|
1289
|
-
"privacy": "public"
|
|
1145
|
+
}
|
|
1290
1146
|
},
|
|
1291
1147
|
{
|
|
1292
1148
|
"kind": "method",
|
|
1293
|
-
"name": "
|
|
1149
|
+
"name": "getComponentState",
|
|
1150
|
+
"privacy": "private",
|
|
1294
1151
|
"return": {
|
|
1295
1152
|
"type": {
|
|
1296
|
-
"text": ""
|
|
1153
|
+
"text": "unknown"
|
|
1297
1154
|
}
|
|
1298
|
-
}
|
|
1299
|
-
"privacy": "public"
|
|
1155
|
+
}
|
|
1300
1156
|
},
|
|
1301
1157
|
{
|
|
1302
1158
|
"kind": "method",
|
|
1303
|
-
"name": "
|
|
1159
|
+
"name": "broadcastUpdate",
|
|
1160
|
+
"privacy": "private",
|
|
1304
1161
|
"parameters": [
|
|
1305
1162
|
{
|
|
1306
|
-
"name": "
|
|
1307
|
-
"type": {
|
|
1308
|
-
"text": "SerialisedLayout"
|
|
1309
|
-
},
|
|
1310
|
-
"description": "any version of {@link SerialisedLayout}object describing the layout\n * "
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"name": "handleMissingItem",
|
|
1314
|
-
"default": "'error'",
|
|
1163
|
+
"name": "geometry",
|
|
1315
1164
|
"type": {
|
|
1316
|
-
"text": "
|
|
1317
|
-
}
|
|
1318
|
-
"description": "what to do if the layout contains items that are not currently registered with the layout system. Defaults to 'error' which will throw an error. If set to 'placeholder' then any missing items will be replaced with a placeholder element. You can control the text of the placeholder element with {@link FoundationLayout.missingItemPlaceholder}.\n * "
|
|
1165
|
+
"text": "PopoutGeometry"
|
|
1166
|
+
}
|
|
1319
1167
|
},
|
|
1320
1168
|
{
|
|
1321
|
-
"name": "
|
|
1322
|
-
"
|
|
1169
|
+
"name": "state",
|
|
1170
|
+
"optional": true,
|
|
1323
1171
|
"type": {
|
|
1324
|
-
"text": "
|
|
1325
|
-
}
|
|
1326
|
-
"description": "if set to true then the layout will give you a new instance of every item, even if it has a currently cached item to use. Using this will not stop you from saving and loading state via the {@link LayoutComponentWithState}interface. Defaults to false.\n * "
|
|
1172
|
+
"text": "unknown"
|
|
1173
|
+
}
|
|
1327
1174
|
}
|
|
1328
|
-
]
|
|
1329
|
-
"privacy": "public"
|
|
1175
|
+
]
|
|
1330
1176
|
},
|
|
1331
1177
|
{
|
|
1332
1178
|
"kind": "method",
|
|
1333
|
-
"name": "
|
|
1179
|
+
"name": "openPopout",
|
|
1180
|
+
"privacy": "public",
|
|
1334
1181
|
"parameters": [
|
|
1335
1182
|
{
|
|
1336
|
-
"name": "
|
|
1183
|
+
"name": "registration",
|
|
1337
1184
|
"type": {
|
|
1338
|
-
"text": "
|
|
1185
|
+
"text": "string"
|
|
1339
1186
|
},
|
|
1340
|
-
"description": "
|
|
1187
|
+
"description": "The registration ID of the component to pop out."
|
|
1341
1188
|
},
|
|
1342
1189
|
{
|
|
1343
|
-
"name": "
|
|
1344
|
-
"
|
|
1345
|
-
"type": {
|
|
1346
|
-
"text": "Placement"
|
|
1347
|
-
},
|
|
1348
|
-
"description": "where and how to add the new items to the layout. For more info and defaults see {@link Placement}.\n * "
|
|
1349
|
-
}
|
|
1350
|
-
],
|
|
1351
|
-
"privacy": "public"
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
"kind": "method",
|
|
1355
|
-
"name": "removeItems",
|
|
1356
|
-
"return": {
|
|
1357
|
-
"type": {
|
|
1358
|
-
"text": ""
|
|
1359
|
-
}
|
|
1360
|
-
},
|
|
1361
|
-
"parameters": [
|
|
1362
|
-
{
|
|
1363
|
-
"name": "registration",
|
|
1190
|
+
"name": "popoutState",
|
|
1191
|
+
"optional": true,
|
|
1364
1192
|
"type": {
|
|
1365
|
-
"text": "
|
|
1193
|
+
"text": "PopoutState"
|
|
1366
1194
|
},
|
|
1367
|
-
"description": "
|
|
1195
|
+
"description": "Optional state (geometry and component state) to use for the new window."
|
|
1368
1196
|
},
|
|
1369
1197
|
{
|
|
1370
|
-
"name": "
|
|
1371
|
-
"
|
|
1198
|
+
"name": "uuid",
|
|
1199
|
+
"optional": true,
|
|
1372
1200
|
"type": {
|
|
1373
|
-
"text": "
|
|
1201
|
+
"text": "any"
|
|
1374
1202
|
},
|
|
1375
|
-
"description": "
|
|
1203
|
+
"description": "UUID generator from parent layout"
|
|
1376
1204
|
}
|
|
1377
1205
|
],
|
|
1378
|
-
"
|
|
1206
|
+
"description": "Opens a component in a popout window."
|
|
1379
1207
|
},
|
|
1380
1208
|
{
|
|
1381
1209
|
"kind": "method",
|
|
1382
|
-
"name": "
|
|
1210
|
+
"name": "getRegistry",
|
|
1211
|
+
"privacy": "public",
|
|
1383
1212
|
"return": {
|
|
1384
1213
|
"type": {
|
|
1385
|
-
"text": ""
|
|
1214
|
+
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1386
1215
|
}
|
|
1387
|
-
}
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"kind": "method",
|
|
1220
|
+
"name": "restorePopouts",
|
|
1221
|
+
"privacy": "public",
|
|
1388
1222
|
"parameters": [
|
|
1389
1223
|
{
|
|
1390
|
-
"name": "
|
|
1224
|
+
"name": "registry",
|
|
1391
1225
|
"type": {
|
|
1392
|
-
"text": "string"
|
|
1393
|
-
}
|
|
1394
|
-
"description": "string of the registration ID"
|
|
1226
|
+
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1227
|
+
}
|
|
1395
1228
|
},
|
|
1396
1229
|
{
|
|
1397
|
-
"name": "
|
|
1230
|
+
"name": "uuid",
|
|
1398
1231
|
"type": {
|
|
1399
|
-
"text": "
|
|
1400
|
-
}
|
|
1401
|
-
"description": "Either Elements[] containing the reference to the elements to register, or a ComponentFactory function"
|
|
1232
|
+
"text": "any"
|
|
1233
|
+
}
|
|
1402
1234
|
}
|
|
1403
1235
|
],
|
|
1404
|
-
"
|
|
1236
|
+
"description": "Restores popouts from a registry"
|
|
1405
1237
|
},
|
|
1406
1238
|
{
|
|
1407
1239
|
"kind": "method",
|
|
1408
|
-
"name": "
|
|
1409
|
-
"privacy": "
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1240
|
+
"name": "closeAllPopouts",
|
|
1241
|
+
"privacy": "public"
|
|
1242
|
+
}
|
|
1243
|
+
],
|
|
1244
|
+
"attributes": [
|
|
1245
|
+
{
|
|
1246
|
+
"name": "channel-name",
|
|
1247
|
+
"type": {
|
|
1248
|
+
"text": "string"
|
|
1414
1249
|
},
|
|
1415
|
-
"
|
|
1250
|
+
"fieldName": "channelName"
|
|
1251
|
+
}
|
|
1252
|
+
],
|
|
1253
|
+
"superclass": {
|
|
1254
|
+
"name": "FASTElement",
|
|
1255
|
+
"package": "@microsoft/fast-element"
|
|
1256
|
+
},
|
|
1257
|
+
"tagName": "foundation-layout-popout-controller",
|
|
1258
|
+
"customElement": true
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
1261
|
+
"exports": [
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "js",
|
|
1264
|
+
"name": "FoundationLayoutPopoutController",
|
|
1265
|
+
"declaration": {
|
|
1266
|
+
"name": "FoundationLayoutPopoutController",
|
|
1267
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"kind": "custom-element-definition",
|
|
1272
|
+
"name": "foundation-layout-popout-controller",
|
|
1273
|
+
"declaration": {
|
|
1274
|
+
"name": "FoundationLayoutPopoutController",
|
|
1275
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
]
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "javascript-module",
|
|
1282
|
+
"path": "src/main/layout-region.ts",
|
|
1283
|
+
"declarations": [
|
|
1284
|
+
{
|
|
1285
|
+
"kind": "class",
|
|
1286
|
+
"description": "",
|
|
1287
|
+
"name": "FoundationLayoutRegion",
|
|
1288
|
+
"members": [
|
|
1289
|
+
{
|
|
1290
|
+
"kind": "field",
|
|
1291
|
+
"name": "size",
|
|
1292
|
+
"type": {
|
|
1293
|
+
"text": "string"
|
|
1294
|
+
},
|
|
1295
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
1296
|
+
"privacy": "public"
|
|
1416
1297
|
},
|
|
1417
1298
|
{
|
|
1418
|
-
"kind": "
|
|
1419
|
-
"name": "
|
|
1420
|
-
"
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
],
|
|
1429
|
-
"description": "For specific golden layout errors we can provide better information to the caller. Else re-throw the original error"
|
|
1299
|
+
"kind": "field",
|
|
1300
|
+
"name": "type",
|
|
1301
|
+
"type": {
|
|
1302
|
+
"text": "LayoutRegionType"
|
|
1303
|
+
},
|
|
1304
|
+
"default": "layoutRegionValue[0]",
|
|
1305
|
+
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
|
1306
|
+
"privacy": "public"
|
|
1430
1307
|
},
|
|
1431
1308
|
{
|
|
1432
1309
|
"kind": "field",
|
|
@@ -1540,528 +1417,651 @@
|
|
|
1540
1417
|
}
|
|
1541
1418
|
}
|
|
1542
1419
|
],
|
|
1543
|
-
"events": [
|
|
1544
|
-
{
|
|
1545
|
-
"description": "emitted when the layout has finished loading the first time",
|
|
1546
|
-
"name": "first-loaded"
|
|
1547
|
-
},
|
|
1548
|
-
{
|
|
1549
|
-
"description": "emitted when an item is added to the layout",
|
|
1550
|
-
"name": "item-added"
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"description": "emitted when an item is removed from the layout",
|
|
1554
|
-
"name": "item-removed"
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"description": "emitted when the user drags the divider to resize elements",
|
|
1558
|
-
"name": "item-resized"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"description": "emitted on every persisted layout change (add/remove/resize, drag-move, loadLayout, revert-to-default, autosave request); use this to mirror the layout without missing any change",
|
|
1562
|
-
"name": "state-changed"
|
|
1563
|
-
}
|
|
1564
|
-
],
|
|
1565
1420
|
"attributes": [
|
|
1566
1421
|
{
|
|
1567
|
-
"name": "
|
|
1422
|
+
"name": "size",
|
|
1568
1423
|
"type": {
|
|
1569
|
-
"text": "
|
|
1570
|
-
},
|
|
1571
|
-
"default": "DEFAULT_RELOAD_BUFFER",
|
|
1572
|
-
"description": "Number describing how long to wait in ms before reloading the config when adding items\ndeclaratively by the html API. Default 500 (ms).",
|
|
1573
|
-
"resolveInitializer": {
|
|
1574
|
-
"module": "/src/utils"
|
|
1424
|
+
"text": "string"
|
|
1575
1425
|
},
|
|
1576
|
-
"
|
|
1426
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
1427
|
+
"fieldName": "size"
|
|
1577
1428
|
},
|
|
1578
1429
|
{
|
|
1579
|
-
"name": "
|
|
1430
|
+
"name": "type",
|
|
1580
1431
|
"type": {
|
|
1581
|
-
"text": "
|
|
1432
|
+
"text": "LayoutRegionType"
|
|
1582
1433
|
},
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1434
|
+
"default": "defaultLayoutType",
|
|
1435
|
+
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
|
1436
|
+
"resolveInitializer": {
|
|
1437
|
+
"module": "src/main/layout-region.ts"
|
|
1438
|
+
},
|
|
1439
|
+
"fieldName": "type"
|
|
1585
1440
|
}
|
|
1586
1441
|
],
|
|
1587
1442
|
"superclass": {
|
|
1588
1443
|
"name": "FoundationElement",
|
|
1589
1444
|
"package": "@microsoft/fast-foundation"
|
|
1590
1445
|
},
|
|
1591
|
-
"tagName": "%%prefix%%-layout",
|
|
1446
|
+
"tagName": "%%prefix%%-layout-region",
|
|
1592
1447
|
"customElement": true
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
"exports": [
|
|
1451
|
+
{
|
|
1452
|
+
"kind": "js",
|
|
1453
|
+
"name": "FoundationLayoutRegion",
|
|
1454
|
+
"declaration": {
|
|
1455
|
+
"name": "FoundationLayoutRegion",
|
|
1456
|
+
"module": "src/main/layout-region.ts"
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
]
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"kind": "javascript-module",
|
|
1463
|
+
"path": "src/styles/constants.ts",
|
|
1464
|
+
"declarations": [
|
|
1465
|
+
{
|
|
1466
|
+
"kind": "function",
|
|
1467
|
+
"name": "glVisualConfig",
|
|
1468
|
+
"return": {
|
|
1469
|
+
"type": {
|
|
1470
|
+
"text": "Omit<LayoutConfig, 'root'>"
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "variable",
|
|
1476
|
+
"name": "LAYOUT_ICONS",
|
|
1477
|
+
"type": {
|
|
1478
|
+
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
|
1479
|
+
},
|
|
1480
|
+
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
|
1481
|
+
"description": "A collection of SVG icons in base64 format.",
|
|
1482
|
+
"privacy": "public"
|
|
1483
|
+
}
|
|
1484
|
+
],
|
|
1485
|
+
"exports": [
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "js",
|
|
1488
|
+
"name": "glVisualConfig",
|
|
1489
|
+
"declaration": {
|
|
1490
|
+
"name": "glVisualConfig",
|
|
1491
|
+
"module": "src/styles/constants.ts"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"kind": "js",
|
|
1496
|
+
"name": "LAYOUT_ICONS",
|
|
1497
|
+
"declaration": {
|
|
1498
|
+
"name": "LAYOUT_ICONS",
|
|
1499
|
+
"module": "src/styles/constants.ts"
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
]
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"kind": "javascript-module",
|
|
1506
|
+
"path": "src/styles/dragging.styles.ts",
|
|
1507
|
+
"declarations": [
|
|
1508
|
+
{
|
|
1509
|
+
"kind": "variable",
|
|
1510
|
+
"name": "globalDraggingStyles",
|
|
1511
|
+
"default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\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 cursor: move;\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_title {\n color: white;\n padding-left: 10px;\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`",
|
|
1512
|
+
"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"
|
|
1513
|
+
}
|
|
1514
|
+
],
|
|
1515
|
+
"exports": [
|
|
1516
|
+
{
|
|
1517
|
+
"kind": "js",
|
|
1518
|
+
"name": "globalDraggingStyles",
|
|
1519
|
+
"declaration": {
|
|
1520
|
+
"name": "globalDraggingStyles",
|
|
1521
|
+
"module": "src/styles/dragging.styles.ts"
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
]
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"kind": "javascript-module",
|
|
1528
|
+
"path": "src/styles/index.ts",
|
|
1529
|
+
"declarations": [],
|
|
1530
|
+
"exports": [
|
|
1531
|
+
{
|
|
1532
|
+
"kind": "js",
|
|
1533
|
+
"name": "*",
|
|
1534
|
+
"declaration": {
|
|
1535
|
+
"name": "*",
|
|
1536
|
+
"package": "./constants"
|
|
1537
|
+
}
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"kind": "js",
|
|
1541
|
+
"name": "*",
|
|
1542
|
+
"declaration": {
|
|
1543
|
+
"name": "*",
|
|
1544
|
+
"package": "./dragging.styles"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"kind": "js",
|
|
1549
|
+
"name": "*",
|
|
1550
|
+
"declaration": {
|
|
1551
|
+
"name": "*",
|
|
1552
|
+
"package": "./layout.styles"
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
]
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
"kind": "javascript-module",
|
|
1559
|
+
"path": "src/styles/layout.styles.ts",
|
|
1560
|
+
"declarations": [
|
|
1561
|
+
{
|
|
1562
|
+
"kind": "variable",
|
|
1563
|
+
"name": "layoutStyles",
|
|
1564
|
+
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n :host {\n /* Tab strip uses its own multiplier (9 → 32px) so panel contents keep the 28px control height. */\n --foundation-tab-height: calc(\n (((var(--layout-tab-height-multiplier, 9) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .lm_goldenlayout {\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n font-family: var(--body-font);\n box-sizing: border-box;\n }\n\n .lm_goldenlayout * {\n box-sizing: border-box;\n }\n\n /*\n * Defaults match flexlayout (rapid-design-system flexlayout-react.overrides.css) and rapid-tabs:\n * a bordered layer-2 panel whose strip holds flat tabs split by 1px separators, over a\n * card-container content area with a top edge only. Only fallbacks changed; the theming tokens\n * (--card-*, --rapid-layout-item-*, --tab-rest-*, --tab-active-*) still win when set.\n */\n /*\n * Borders on golden-layout boxes must not take up space. golden-layout sizes each box's content\n * in JS from the box's outer size (offsetWidth/offsetHeight minus a single \\`itemBorder\\`), so a real\n * border pushes the content past the box and it clips on the right and bottom. The panel border is\n * therefore drawn by an overlay above the panel's content (.lm_stack::after), as is the content's\n * edge (.lm_content::after), with \\`itemBorder\\` pinned to 0 (glVisualConfig). The tokens are\n * unchanged.\n */\n .lm_stack.lm_item {\n background-color: var(--rapid-layout-item-background, var(--neutral-layer-2));\n border: 0;\n border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 3px));\n box-sizing: border-box;\n /* Rapid's panel elevation (rapid-design-system tokens/elevation.ts); none outside Rapid. */\n box-shadow: var(--nested-shadow, var(--panel-shadow-override, var(--card-box-shadow, var(--panel-shadow, none))));\n }\n\n /* Positions the overlay; a maximised stack keeps golden-layout's absolute positioning. */\n .lm_stack.lm_item:not(.lm_maximised) {\n position: relative;\n }\n\n .lm_stack.lm_item::after {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 2;\n pointer-events: none;\n border-radius: inherit;\n border-style: solid;\n border-width: var(--rapid-layout-item-border-width, 1px);\n border-color: var(--rapid-layout-item-border-color, var(--panel-border, var(--neutral-stroke-rest)));\n }\n\n .lm_maximised .lm_header {\n border-bottom: var(--card-border, 0);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n /* The panel frames its content, so nested self-framing components (accordions) drop their own\n border. */\n --nested-border: 0;\n /* ...and nested containers (cards, tabs) drop their shadow. */\n --nested-shadow: none;\n\n background-color: var(--neutral-layer-card-container);\n /* The content fills the panel's whole box (its border is an overlay), so it shares its radius. */\n border-radius: 0 0 var(--card-corner-radius, calc(var(--control-corner-radius) * 3px))\n var(--card-corner-radius, calc(var(--control-corner-radius) * 3px));\n box-sizing: border-box;\n color: var(--neutral-foreground-rest);\n }\n\n /* A theme's --rapid-layout-item-inner-border, drawn over the content rather than as a border\n (see .lm_stack.lm_item). None by default: the header draws the top edge (see .lm_header). */\n .lm_content::after {\n content: '';\n position: absolute;\n inset: 0;\n z-index: 1;\n pointer-events: none;\n border-radius: inherit;\n border: var(--rapid-layout-item-inner-border, 0);\n }\n\n .lm_header .lm_tabs {\n padding: 0 0 0 12px;\n }\n\n .lm_header .lm_tab.lm_active {\n background: var(--tab-active-background-color, var(--neutral-layer-card-container));\n color: var(--accent-foreground-rest);\n border-style: solid;\n border-width: var(--tab-active-border-width, 0 0 0 var(--tab-rest-border-width, 1px));\n border-color: var(--tab-active-border-color, var(--tab-rest-border-color, var(--neutral-stroke-rest)));\n }\n\n /* The content's top edge is drawn along the bottom of the header (an inset shadow under the\n tabs), not over the content, so the active tab's own background covers it and the tab flows\n straight into its panel: paint order alone, no z-index. Inactive tabs redraw the edge over\n their own (hover) background. */\n .lm_header,\n .lm_header .lm_tab:not(.lm_active) {\n box-shadow: inset 0 -1px 0 var(--neutral-stroke-rest);\n }\n\n /* A separator before each tab and after the last, as flexlayout's spacers draw. */\n .lm_header .lm_tab {\n align-items: center;\n background: var(--tab-rest-background-color, transparent);\n border-style: solid;\n border-width: 0 0 0 var(--tab-rest-border-width, 1px);\n border-color: var(--tab-rest-border-color, var(--neutral-stroke-rest));\n border-radius: 0;\n color: var(--accent-foreground-rest);\n display: flex;\n font-family: inherit;\n font-size: var(--type-ramp-minus-1-font-size);\n font-weight: 400;\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n margin-right: 0;\n padding: 0 calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);\n float: left;\n cursor: pointer;\n position: relative;\n }\n\n .lm_header .lm_tabs .lm_tab:last-child {\n border-right: var(--tab-rest-border-width, 1px) solid var(--tab-rest-border-color, var(--neutral-stroke-rest));\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: var(--neutral-fill-stealth-active);\n color: var(--neutral-foreground-rest);\n }\n\n .lm_header .lm_tab:not(.lm_active):hover .lm_title {\n color: var(--neutral-foreground-rest);\n }\n\n /*\n * Window controls (tab dropdown, maximise / restore, close): round neutral icon buttons, the\n * same face as a neutral rapid-button (foundation-ui button-face.ts). The face paints the\n * background, so the icon is a mask on a ::before layer, coloured like a button's icon. Each\n * control names its icon in --layout-control-icon (custom buttons too, see setupCustomButtons).\n */\n .lm_header .lm_controls {\n top: 0;\n right: 6px;\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n display: flex;\n align-items: center;\n gap: 4px;\n }\n .lm_header .lm_controls > * {\n position: relative;\n top: 0;\n width: 24px;\n height: 24px;\n margin: 0;\n box-sizing: border-box;\n border-radius: 9999px;\n opacity: 1;\n cursor: pointer;\n transition:\n ${GRADIENT_START} 200ms ease-out,\n ${GRADIENT_END} 200ms ease-out,\n box-shadow 200ms ease-out;\n }\n ${neutralButtonFace(\n '.lm_header .lm_controls > *',\n '.lm_header .lm_controls > *:hover',\n '.lm_header .lm_controls > *:active',\n )}\n .lm_header .lm_controls > *::before {\n content: '';\n position: absolute;\n inset: 0;\n background-color: var(--icon-color, var(--neutral-foreground-hint));\n mask-image: var(--layout-control-icon, none);\n mask-repeat: no-repeat;\n mask-position: center;\n /* The golden-layout glyphs fill their viewBox edge to edge (flexlayout's have built-in\n padding), so they're drawn a little smaller to match flexlayout's icons. */\n mask-size: calc(var(--design-unit) * 2.5px);\n }\n .lm_header .lm_controls > *:hover::before {\n background-color: var(--neutral-foreground-rest);\n }\n\n .lm_controls .lm_maximise {\n --layout-control-icon: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n --layout-control-icon: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n --layout-control-icon: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.2777);\n background-repeat: no-repeat;\n background-position: center;\n margin-left: calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);\n position: relative;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: var(--neutral-foreground-hint);\n }\n\n .lm_header .lm_controls .lm_tabdropdown {\n --layout-control-icon: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n right: 108px;\n background-color: var(--neutral-layer-3);\n border: 1px solid;\n border-color: var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 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: var(--neutral-foreground-rest);\n height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});\n border-width: 0;\n border-radius: 0;\n overflow: visible;\n text-overflow: unset;\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: 0;\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: var(--accent-stroke, var(--accent-fill-rest));\n border-radius: calc(var(--control-corner-radius) * 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 !important;\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 !important;\n }\n .lm_header {\n overflow: visible;\n position: relative;\n border-bottom: var(--card-border, 0);\n }\n .lm_header .lm_controls {\n position: absolute;\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 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 user-select: none;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);\n height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);\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::after {\n content: none;\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 box-shadow: none;\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`",
|
|
1565
|
+
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
|
1566
|
+
"privacy": "public"
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1569
|
+
"exports": [
|
|
1570
|
+
{
|
|
1571
|
+
"kind": "js",
|
|
1572
|
+
"name": "layoutStyles",
|
|
1573
|
+
"declaration": {
|
|
1574
|
+
"name": "layoutStyles",
|
|
1575
|
+
"module": "src/styles/layout.styles.ts"
|
|
1576
|
+
}
|
|
1577
|
+
}
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "javascript-module",
|
|
1582
|
+
"path": "src/utils/constants.ts",
|
|
1583
|
+
"declarations": [
|
|
1584
|
+
{
|
|
1585
|
+
"kind": "variable",
|
|
1586
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
|
1587
|
+
"type": {
|
|
1588
|
+
"text": "number"
|
|
1589
|
+
},
|
|
1590
|
+
"default": "500",
|
|
1591
|
+
"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.",
|
|
1592
|
+
"privacy": "public"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "variable",
|
|
1596
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1597
|
+
"type": {
|
|
1598
|
+
"text": "string"
|
|
1599
|
+
},
|
|
1600
|
+
"default": "'f-layout-key'",
|
|
1601
|
+
"description": "Key to be used for controlling popout behaviour"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "variable",
|
|
1605
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "number"
|
|
1608
|
+
},
|
|
1609
|
+
"default": "1000",
|
|
1610
|
+
"description": "How often a popout window should check to broadcast its\ngeometry"
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"kind": "variable",
|
|
1614
|
+
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
1615
|
+
"type": {
|
|
1616
|
+
"text": "string"
|
|
1617
|
+
},
|
|
1618
|
+
"default": "'f-layout-popout'",
|
|
1619
|
+
"description": "Put this classname on an element which is a DOM parent of the layout, and\nif the layout goes into popout mode then it will place itself as the only child\nfor the popout container you set."
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "variable",
|
|
1623
|
+
"name": "DEFAULT_TAB_HEIGHT",
|
|
1624
|
+
"type": {
|
|
1625
|
+
"text": "string"
|
|
1626
|
+
},
|
|
1627
|
+
"default": "'32px'"
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "variable",
|
|
1631
|
+
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
1632
|
+
"type": {
|
|
1633
|
+
"text": "number"
|
|
1634
|
+
},
|
|
1635
|
+
"default": "9",
|
|
1636
|
+
"description": "Default height multiplier for layout tab strips: 9 → 32px, a step above the 28px control height.\nKept separate from `--base-height-multiplier` so panel contents aren't resized with the strip."
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "function",
|
|
1640
|
+
"name": "getLayoutHeaderHeight"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"kind": "variable",
|
|
1644
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1645
|
+
"type": {
|
|
1646
|
+
"text": "number"
|
|
1647
|
+
},
|
|
1648
|
+
"default": "0"
|
|
1593
1649
|
},
|
|
1594
1650
|
{
|
|
1595
|
-
"kind": "
|
|
1596
|
-
"name": "
|
|
1597
|
-
"default": "html<FoundationLayout>`\n <template>\n ${when(\n (x) => Boolean(x.popoutConfig),\n html<FoundationLayout>`\n <foundation-layout-popout-controller\n ${ref('popoutController')}\n :parentLayout=\"${(x) => x}\"\n channel-name=\"${(x) => x.popoutConfig?.channelName}\"\n ></foundation-layout-popout-controller>\n `,\n )}\n ${when((x) => !x.hasFirstLoaded && x.usingDeclerativeAPI, loadingTemplate)}\n <div class=\"layout-container\" ${ref('layoutElement')}></div>\n </template>\n`",
|
|
1598
|
-
"description": "`ViewTemplate` which defines the html for FoundationLayout.",
|
|
1599
|
-
"privacy": "public"
|
|
1651
|
+
"kind": "function",
|
|
1652
|
+
"name": "getItemBorderWidth"
|
|
1600
1653
|
}
|
|
1601
1654
|
],
|
|
1602
1655
|
"exports": [
|
|
1603
1656
|
{
|
|
1604
1657
|
"kind": "js",
|
|
1605
|
-
"name": "
|
|
1658
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
|
1606
1659
|
"declaration": {
|
|
1607
|
-
"name": "
|
|
1608
|
-
"module": "
|
|
1660
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
|
1661
|
+
"module": "src/utils/constants.ts"
|
|
1609
1662
|
}
|
|
1610
1663
|
},
|
|
1611
1664
|
{
|
|
1612
1665
|
"kind": "js",
|
|
1613
|
-
"name": "
|
|
1666
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1614
1667
|
"declaration": {
|
|
1615
|
-
"name": "
|
|
1616
|
-
"module": "src/
|
|
1668
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1669
|
+
"module": "src/utils/constants.ts"
|
|
1617
1670
|
}
|
|
1618
1671
|
},
|
|
1619
1672
|
{
|
|
1620
1673
|
"kind": "js",
|
|
1621
|
-
"name": "
|
|
1674
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1622
1675
|
"declaration": {
|
|
1623
|
-
"name": "
|
|
1624
|
-
"module": "src/
|
|
1676
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1677
|
+
"module": "src/utils/constants.ts"
|
|
1625
1678
|
}
|
|
1626
|
-
}
|
|
1627
|
-
]
|
|
1628
|
-
},
|
|
1629
|
-
{
|
|
1630
|
-
"kind": "javascript-module",
|
|
1631
|
-
"path": "src/main/layout-popout-controller.ts",
|
|
1632
|
-
"declarations": [
|
|
1679
|
+
},
|
|
1633
1680
|
{
|
|
1634
|
-
"kind": "
|
|
1635
|
-
"
|
|
1636
|
-
"
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
{
|
|
1783
|
-
"kind": "method",
|
|
1784
|
-
"name": "openPopout",
|
|
1785
|
-
"privacy": "public",
|
|
1786
|
-
"parameters": [
|
|
1787
|
-
{
|
|
1788
|
-
"name": "registration",
|
|
1789
|
-
"type": {
|
|
1790
|
-
"text": "string"
|
|
1791
|
-
},
|
|
1792
|
-
"description": "The registration ID of the component to pop out."
|
|
1793
|
-
},
|
|
1794
|
-
{
|
|
1795
|
-
"name": "popoutState",
|
|
1796
|
-
"optional": true,
|
|
1797
|
-
"type": {
|
|
1798
|
-
"text": "PopoutState"
|
|
1799
|
-
},
|
|
1800
|
-
"description": "Optional state (geometry and component state) to use for the new window."
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"name": "uuid",
|
|
1804
|
-
"optional": true,
|
|
1805
|
-
"type": {
|
|
1806
|
-
"text": "any"
|
|
1807
|
-
},
|
|
1808
|
-
"description": "UUID generator from parent layout"
|
|
1809
|
-
}
|
|
1810
|
-
],
|
|
1811
|
-
"description": "Opens a component in a popout window."
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"kind": "method",
|
|
1815
|
-
"name": "getRegistry",
|
|
1816
|
-
"privacy": "public",
|
|
1817
|
-
"return": {
|
|
1818
|
-
"type": {
|
|
1819
|
-
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1820
|
-
}
|
|
1821
|
-
}
|
|
1822
|
-
},
|
|
1681
|
+
"kind": "js",
|
|
1682
|
+
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
1683
|
+
"declaration": {
|
|
1684
|
+
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
1685
|
+
"module": "src/utils/constants.ts"
|
|
1686
|
+
}
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "js",
|
|
1690
|
+
"name": "DEFAULT_TAB_HEIGHT",
|
|
1691
|
+
"declaration": {
|
|
1692
|
+
"name": "DEFAULT_TAB_HEIGHT",
|
|
1693
|
+
"module": "src/utils/constants.ts"
|
|
1694
|
+
}
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "js",
|
|
1698
|
+
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
1699
|
+
"declaration": {
|
|
1700
|
+
"name": "DEFAULT_TAB_HEIGHT_MULTIPLIER",
|
|
1701
|
+
"module": "src/utils/constants.ts"
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "js",
|
|
1706
|
+
"name": "getLayoutHeaderHeight",
|
|
1707
|
+
"declaration": {
|
|
1708
|
+
"name": "getLayoutHeaderHeight",
|
|
1709
|
+
"module": "src/utils/constants.ts"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"kind": "js",
|
|
1714
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1715
|
+
"declaration": {
|
|
1716
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1717
|
+
"module": "src/utils/constants.ts"
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"kind": "js",
|
|
1722
|
+
"name": "getItemBorderWidth",
|
|
1723
|
+
"declaration": {
|
|
1724
|
+
"name": "getItemBorderWidth",
|
|
1725
|
+
"module": "src/utils/constants.ts"
|
|
1726
|
+
}
|
|
1727
|
+
}
|
|
1728
|
+
]
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "javascript-module",
|
|
1732
|
+
"path": "src/utils/error.ts",
|
|
1733
|
+
"declarations": [
|
|
1734
|
+
{
|
|
1735
|
+
"kind": "class",
|
|
1736
|
+
"description": "",
|
|
1737
|
+
"name": "LayoutUsageError",
|
|
1738
|
+
"superclass": {
|
|
1739
|
+
"name": "Error",
|
|
1740
|
+
"module": "src/utils/error.ts"
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "class",
|
|
1745
|
+
"description": "",
|
|
1746
|
+
"name": "LayoutRegistrationError",
|
|
1747
|
+
"superclass": {
|
|
1748
|
+
"name": "Error",
|
|
1749
|
+
"module": "src/utils/error.ts"
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
],
|
|
1753
|
+
"exports": [
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "js",
|
|
1756
|
+
"name": "LayoutUsageError",
|
|
1757
|
+
"declaration": {
|
|
1758
|
+
"name": "LayoutUsageError",
|
|
1759
|
+
"module": "src/utils/error.ts"
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "js",
|
|
1764
|
+
"name": "LayoutRegistrationError",
|
|
1765
|
+
"declaration": {
|
|
1766
|
+
"name": "LayoutRegistrationError",
|
|
1767
|
+
"module": "src/utils/error.ts"
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"kind": "javascript-module",
|
|
1774
|
+
"path": "src/utils/events.ts",
|
|
1775
|
+
"declarations": [
|
|
1776
|
+
{
|
|
1777
|
+
"kind": "variable",
|
|
1778
|
+
"name": "LayoutEmitEvents",
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n stateChanged: 'state-changed',\n}"
|
|
1781
|
+
},
|
|
1782
|
+
"default": "{\n firstLoaded: 'first-loaded',\n itemAdded: 'item-added',\n itemRemoved: 'item-removed',\n itemResized: 'item-resized',\n stateChanged: 'state-changed',\n}",
|
|
1783
|
+
"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\n<br/>\n'stateChanged' - emitted on every persisted layout change. This is the broadest\nevent: it fires wherever the layout caches/saves its state, which includes item\nadd/remove/resize but ALSO the changes the granular events miss — dragging a pane\nto a new position, loading a whole layout via FoundationLayout.loadLayout,\nreverting to the default, and contained-item autosave requests. Prefer this when\nyou need to mirror the layout to your own store and must not miss any change.",
|
|
1784
|
+
"privacy": "public"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"kind": "variable",
|
|
1788
|
+
"name": "LayoutReceiveEvents",
|
|
1789
|
+
"type": {
|
|
1790
|
+
"text": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}"
|
|
1791
|
+
},
|
|
1792
|
+
"default": "{\n changeTitle: 'change-title',\n autosave: 'autosave',\n}",
|
|
1793
|
+
"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.\n'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See LayoutComponentWithState.",
|
|
1794
|
+
"privacy": "public"
|
|
1795
|
+
}
|
|
1796
|
+
],
|
|
1797
|
+
"exports": [
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "js",
|
|
1800
|
+
"name": "LayoutEmitEvents",
|
|
1801
|
+
"declaration": {
|
|
1802
|
+
"name": "LayoutEmitEvents",
|
|
1803
|
+
"module": "src/utils/events.ts"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"kind": "js",
|
|
1808
|
+
"name": "LayoutReceiveEvents",
|
|
1809
|
+
"declaration": {
|
|
1810
|
+
"name": "LayoutReceiveEvents",
|
|
1811
|
+
"module": "src/utils/events.ts"
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
]
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "javascript-module",
|
|
1818
|
+
"path": "src/utils/factory-registry.ts",
|
|
1819
|
+
"declarations": [
|
|
1820
|
+
{
|
|
1821
|
+
"kind": "function",
|
|
1822
|
+
"name": "registerFactory",
|
|
1823
|
+
"return": {
|
|
1824
|
+
"type": {
|
|
1825
|
+
"text": "void"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
"parameters": [
|
|
1823
1829
|
{
|
|
1824
|
-
"
|
|
1825
|
-
"
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
"name": "registry",
|
|
1830
|
-
"type": {
|
|
1831
|
-
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1832
|
-
}
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"name": "uuid",
|
|
1836
|
-
"type": {
|
|
1837
|
-
"text": "any"
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
],
|
|
1841
|
-
"description": "Restores popouts from a registry"
|
|
1830
|
+
"name": "key",
|
|
1831
|
+
"type": {
|
|
1832
|
+
"text": "string"
|
|
1833
|
+
},
|
|
1834
|
+
"description": "Unique identifier for the factory. Should be descriptive and unique across the application."
|
|
1842
1835
|
},
|
|
1843
1836
|
{
|
|
1844
|
-
"
|
|
1845
|
-
"
|
|
1846
|
-
|
|
1837
|
+
"name": "factory",
|
|
1838
|
+
"type": {
|
|
1839
|
+
"text": "ComponentFactory"
|
|
1840
|
+
},
|
|
1841
|
+
"description": "The factory function that creates the component."
|
|
1847
1842
|
}
|
|
1848
1843
|
],
|
|
1849
|
-
"
|
|
1844
|
+
"description": "Registers a factory function with a unique key.\nThis allows framework components to be used in the declarative layout API\nwithout needing to pass function references through HTML attributes.",
|
|
1845
|
+
"privacy": "public"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"kind": "function",
|
|
1849
|
+
"name": "getFactory",
|
|
1850
|
+
"return": {
|
|
1851
|
+
"type": {
|
|
1852
|
+
"text": ""
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
"parameters": [
|
|
1850
1856
|
{
|
|
1851
|
-
"name": "
|
|
1857
|
+
"name": "key",
|
|
1852
1858
|
"type": {
|
|
1853
1859
|
"text": "string"
|
|
1854
1860
|
},
|
|
1855
|
-
"
|
|
1861
|
+
"description": "The unique identifier for the factory."
|
|
1856
1862
|
}
|
|
1857
1863
|
],
|
|
1858
|
-
"
|
|
1859
|
-
|
|
1860
|
-
|
|
1864
|
+
"description": "Retrieves a factory function by its key.",
|
|
1865
|
+
"privacy": "public"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"kind": "function",
|
|
1869
|
+
"name": "unregisterFactory",
|
|
1870
|
+
"return": {
|
|
1871
|
+
"type": {
|
|
1872
|
+
"text": ""
|
|
1873
|
+
}
|
|
1861
1874
|
},
|
|
1862
|
-
"
|
|
1863
|
-
|
|
1875
|
+
"parameters": [
|
|
1876
|
+
{
|
|
1877
|
+
"name": "key",
|
|
1878
|
+
"type": {
|
|
1879
|
+
"text": "string"
|
|
1880
|
+
},
|
|
1881
|
+
"description": "The unique identifier for the factory to remove."
|
|
1882
|
+
}
|
|
1883
|
+
],
|
|
1884
|
+
"description": "Removes a factory from the registry.\nThis is useful for cleanup when a component is unmounted or no longer needed.",
|
|
1885
|
+
"privacy": "public"
|
|
1864
1886
|
}
|
|
1865
1887
|
],
|
|
1866
1888
|
"exports": [
|
|
1867
1889
|
{
|
|
1868
1890
|
"kind": "js",
|
|
1869
|
-
"name": "
|
|
1891
|
+
"name": "registerFactory",
|
|
1892
|
+
"declaration": {
|
|
1893
|
+
"name": "registerFactory",
|
|
1894
|
+
"module": "src/utils/factory-registry.ts"
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"kind": "js",
|
|
1899
|
+
"name": "getFactory",
|
|
1900
|
+
"declaration": {
|
|
1901
|
+
"name": "getFactory",
|
|
1902
|
+
"module": "src/utils/factory-registry.ts"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"kind": "js",
|
|
1907
|
+
"name": "unregisterFactory",
|
|
1908
|
+
"declaration": {
|
|
1909
|
+
"name": "unregisterFactory",
|
|
1910
|
+
"module": "src/utils/factory-registry.ts"
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
]
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"kind": "javascript-module",
|
|
1917
|
+
"path": "src/utils/index.ts",
|
|
1918
|
+
"declarations": [],
|
|
1919
|
+
"exports": [
|
|
1920
|
+
{
|
|
1921
|
+
"kind": "js",
|
|
1922
|
+
"name": "*",
|
|
1923
|
+
"declaration": {
|
|
1924
|
+
"name": "*",
|
|
1925
|
+
"package": "./constants"
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"kind": "js",
|
|
1930
|
+
"name": "*",
|
|
1931
|
+
"declaration": {
|
|
1932
|
+
"name": "*",
|
|
1933
|
+
"package": "./error"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "js",
|
|
1938
|
+
"name": "*",
|
|
1939
|
+
"declaration": {
|
|
1940
|
+
"name": "*",
|
|
1941
|
+
"package": "./events"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"kind": "js",
|
|
1946
|
+
"name": "*",
|
|
1947
|
+
"declaration": {
|
|
1948
|
+
"name": "*",
|
|
1949
|
+
"package": "./factory-registry"
|
|
1950
|
+
}
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"kind": "js",
|
|
1954
|
+
"name": "*",
|
|
1955
|
+
"declaration": {
|
|
1956
|
+
"name": "*",
|
|
1957
|
+
"package": "./misc"
|
|
1958
|
+
}
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"kind": "js",
|
|
1962
|
+
"name": "*",
|
|
1870
1963
|
"declaration": {
|
|
1871
|
-
"name": "
|
|
1872
|
-
"
|
|
1964
|
+
"name": "*",
|
|
1965
|
+
"package": "./templates"
|
|
1873
1966
|
}
|
|
1874
1967
|
},
|
|
1875
1968
|
{
|
|
1876
|
-
"kind": "
|
|
1877
|
-
"name": "
|
|
1969
|
+
"kind": "js",
|
|
1970
|
+
"name": "*",
|
|
1878
1971
|
"declaration": {
|
|
1879
|
-
"name": "
|
|
1880
|
-
"
|
|
1972
|
+
"name": "*",
|
|
1973
|
+
"package": "./popout-events"
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"kind": "js",
|
|
1978
|
+
"name": "*",
|
|
1979
|
+
"declaration": {
|
|
1980
|
+
"name": "*",
|
|
1981
|
+
"package": "./types"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "js",
|
|
1986
|
+
"name": "*",
|
|
1987
|
+
"declaration": {
|
|
1988
|
+
"name": "*",
|
|
1989
|
+
"package": "./error"
|
|
1881
1990
|
}
|
|
1882
1991
|
}
|
|
1883
1992
|
]
|
|
1884
1993
|
},
|
|
1885
1994
|
{
|
|
1886
1995
|
"kind": "javascript-module",
|
|
1887
|
-
"path": "src/
|
|
1996
|
+
"path": "src/utils/logger.ts",
|
|
1888
1997
|
"declarations": [
|
|
1889
1998
|
{
|
|
1890
|
-
"kind": "
|
|
1891
|
-
"
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
"default": "void 0",
|
|
1921
|
-
"inheritedFrom": {
|
|
1922
|
-
"name": "FoundationElement",
|
|
1923
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1924
|
-
}
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"kind": "field",
|
|
1928
|
-
"name": "$presentation",
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ComponentPresentation | null"
|
|
1931
|
-
},
|
|
1932
|
-
"privacy": "public",
|
|
1933
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1934
|
-
"inheritedFrom": {
|
|
1935
|
-
"name": "FoundationElement",
|
|
1936
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1937
|
-
}
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"kind": "field",
|
|
1941
|
-
"name": "template",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "ElementViewTemplate | void | null"
|
|
1944
|
-
},
|
|
1945
|
-
"privacy": "public",
|
|
1946
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1947
|
-
"inheritedFrom": {
|
|
1948
|
-
"name": "FoundationElement",
|
|
1949
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1950
|
-
}
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"kind": "method",
|
|
1954
|
-
"name": "templateChanged",
|
|
1955
|
-
"privacy": "protected",
|
|
1956
|
-
"return": {
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "void"
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
"inheritedFrom": {
|
|
1962
|
-
"name": "FoundationElement",
|
|
1963
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "field",
|
|
1968
|
-
"name": "styles",
|
|
1969
|
-
"type": {
|
|
1970
|
-
"text": "ElementStyles | void | null"
|
|
1971
|
-
},
|
|
1972
|
-
"privacy": "public",
|
|
1973
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1974
|
-
"inheritedFrom": {
|
|
1975
|
-
"name": "FoundationElement",
|
|
1976
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1977
|
-
}
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"kind": "method",
|
|
1981
|
-
"name": "stylesChanged",
|
|
1982
|
-
"privacy": "protected",
|
|
1983
|
-
"return": {
|
|
1984
|
-
"type": {
|
|
1985
|
-
"text": "void"
|
|
1986
|
-
}
|
|
1987
|
-
},
|
|
1988
|
-
"inheritedFrom": {
|
|
1989
|
-
"name": "FoundationElement",
|
|
1990
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
|
-
{
|
|
1994
|
-
"kind": "method",
|
|
1995
|
-
"name": "compose",
|
|
1996
|
-
"privacy": "public",
|
|
1997
|
-
"static": true,
|
|
1998
|
-
"return": {
|
|
1999
|
-
"type": {
|
|
2000
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2001
|
-
}
|
|
2002
|
-
},
|
|
2003
|
-
"parameters": [
|
|
2004
|
-
{
|
|
2005
|
-
"name": "this",
|
|
2006
|
-
"type": {
|
|
2007
|
-
"text": "K"
|
|
2008
|
-
}
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
"name": "elementDefinition",
|
|
2012
|
-
"type": {
|
|
2013
|
-
"text": "T"
|
|
2014
|
-
},
|
|
2015
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2016
|
-
}
|
|
2017
|
-
],
|
|
2018
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2019
|
-
"inheritedFrom": {
|
|
2020
|
-
"name": "FoundationElement",
|
|
2021
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
],
|
|
2025
|
-
"attributes": [
|
|
2026
|
-
{
|
|
2027
|
-
"name": "size",
|
|
2028
|
-
"type": {
|
|
2029
|
-
"text": "string"
|
|
2030
|
-
},
|
|
2031
|
-
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
2032
|
-
"fieldName": "size"
|
|
2033
|
-
},
|
|
2034
|
-
{
|
|
2035
|
-
"name": "type",
|
|
2036
|
-
"type": {
|
|
2037
|
-
"text": "LayoutRegionType"
|
|
2038
|
-
},
|
|
2039
|
-
"default": "defaultLayoutType",
|
|
2040
|
-
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
|
2041
|
-
"resolveInitializer": {
|
|
2042
|
-
"module": "src/main/layout-region.ts"
|
|
2043
|
-
},
|
|
2044
|
-
"fieldName": "type"
|
|
2045
|
-
}
|
|
2046
|
-
],
|
|
2047
|
-
"superclass": {
|
|
2048
|
-
"name": "FoundationElement",
|
|
2049
|
-
"package": "@microsoft/fast-foundation"
|
|
1999
|
+
"kind": "variable",
|
|
2000
|
+
"name": "logger"
|
|
2001
|
+
}
|
|
2002
|
+
],
|
|
2003
|
+
"exports": [
|
|
2004
|
+
{
|
|
2005
|
+
"kind": "js",
|
|
2006
|
+
"name": "logger",
|
|
2007
|
+
"declaration": {
|
|
2008
|
+
"name": "logger",
|
|
2009
|
+
"module": "src/utils/logger.ts"
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
]
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "javascript-module",
|
|
2016
|
+
"path": "src/utils/misc.ts",
|
|
2017
|
+
"declarations": [],
|
|
2018
|
+
"exports": []
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"kind": "javascript-module",
|
|
2022
|
+
"path": "src/utils/popout-events.ts",
|
|
2023
|
+
"declarations": [
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "variable",
|
|
2026
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "string"
|
|
2050
2029
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"
|
|
2030
|
+
"default": "'f-layout-popout-channel'",
|
|
2031
|
+
"description": "Name of the default broadcast channel used for layout popouts",
|
|
2032
|
+
"privacy": "public"
|
|
2053
2033
|
}
|
|
2054
2034
|
],
|
|
2055
2035
|
"exports": [
|
|
2056
2036
|
{
|
|
2057
2037
|
"kind": "js",
|
|
2058
|
-
"name": "
|
|
2038
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
2059
2039
|
"declaration": {
|
|
2060
|
-
"name": "
|
|
2061
|
-
"module": "src/
|
|
2040
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
2041
|
+
"module": "src/utils/popout-events.ts"
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"kind": "js",
|
|
2046
|
+
"name": "PopoutGeometry",
|
|
2047
|
+
"declaration": {
|
|
2048
|
+
"name": "PopoutGeometry",
|
|
2049
|
+
"module": "src/utils/popout-events.ts"
|
|
2062
2050
|
}
|
|
2063
2051
|
}
|
|
2064
2052
|
]
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"kind": "javascript-module",
|
|
2056
|
+
"path": "src/utils/templates.ts",
|
|
2057
|
+
"declarations": [],
|
|
2058
|
+
"exports": []
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"kind": "javascript-module",
|
|
2062
|
+
"path": "src/utils/types.ts",
|
|
2063
|
+
"declarations": [],
|
|
2064
|
+
"exports": []
|
|
2065
2065
|
}
|
|
2066
2066
|
]
|
|
2067
2067
|
}
|