@genesislcap/foundation-layout 15.111.5-FUI-2675.3 → 15.111.5-FUI-2675.5
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 +1550 -1550
- package/package.json +13 -13
|
@@ -187,47 +187,88 @@
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"kind": "javascript-module",
|
|
190
|
-
"path": "src/
|
|
191
|
-
"declarations": [
|
|
190
|
+
"path": "src/styles/constants.ts",
|
|
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
|
+
],
|
|
192
212
|
"exports": [
|
|
193
213
|
{
|
|
194
214
|
"kind": "js",
|
|
195
|
-
"name": "
|
|
215
|
+
"name": "glVisualConfig",
|
|
196
216
|
"declaration": {
|
|
197
|
-
"name": "
|
|
198
|
-
"module": "
|
|
217
|
+
"name": "glVisualConfig",
|
|
218
|
+
"module": "src/styles/constants.ts"
|
|
199
219
|
}
|
|
200
220
|
},
|
|
201
221
|
{
|
|
202
222
|
"kind": "js",
|
|
203
|
-
"name": "
|
|
223
|
+
"name": "LAYOUT_ICONS",
|
|
204
224
|
"declaration": {
|
|
205
|
-
"name": "
|
|
206
|
-
"module": "
|
|
225
|
+
"name": "LAYOUT_ICONS",
|
|
226
|
+
"module": "src/styles/constants.ts"
|
|
207
227
|
}
|
|
208
|
-
}
|
|
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": [
|
|
209
243
|
{
|
|
210
244
|
"kind": "js",
|
|
211
|
-
"name": "
|
|
245
|
+
"name": "globalDraggingStyles",
|
|
212
246
|
"declaration": {
|
|
213
|
-
"name": "
|
|
214
|
-
"module": "
|
|
247
|
+
"name": "globalDraggingStyles",
|
|
248
|
+
"module": "src/styles/dragging.styles.ts"
|
|
215
249
|
}
|
|
216
|
-
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "javascript-module",
|
|
255
|
+
"path": "src/styles/index.ts",
|
|
256
|
+
"declarations": [],
|
|
257
|
+
"exports": [
|
|
217
258
|
{
|
|
218
259
|
"kind": "js",
|
|
219
|
-
"name": "
|
|
260
|
+
"name": "*",
|
|
220
261
|
"declaration": {
|
|
221
|
-
"name": "
|
|
222
|
-
"
|
|
262
|
+
"name": "*",
|
|
263
|
+
"package": "./constants"
|
|
223
264
|
}
|
|
224
265
|
},
|
|
225
266
|
{
|
|
226
267
|
"kind": "js",
|
|
227
|
-
"name": "
|
|
268
|
+
"name": "*",
|
|
228
269
|
"declaration": {
|
|
229
|
-
"name": "
|
|
230
|
-
"
|
|
270
|
+
"name": "*",
|
|
271
|
+
"package": "./dragging.styles"
|
|
231
272
|
}
|
|
232
273
|
},
|
|
233
274
|
{
|
|
@@ -235,772 +276,539 @@
|
|
|
235
276
|
"name": "*",
|
|
236
277
|
"declaration": {
|
|
237
278
|
"name": "*",
|
|
238
|
-
"package": "./layout
|
|
279
|
+
"package": "./layout.styles"
|
|
239
280
|
}
|
|
240
281
|
}
|
|
241
282
|
]
|
|
242
283
|
},
|
|
243
284
|
{
|
|
244
285
|
"kind": "javascript-module",
|
|
245
|
-
"path": "src/
|
|
286
|
+
"path": "src/styles/layout.styles.ts",
|
|
246
287
|
"declarations": [
|
|
247
288
|
{
|
|
248
289
|
"kind": "variable",
|
|
249
|
-
"name": "
|
|
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"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "javascript-module",
|
|
309
|
+
"path": "src/utils/constants.ts",
|
|
310
|
+
"declarations": [
|
|
311
|
+
{
|
|
312
|
+
"kind": "variable",
|
|
313
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
|
250
314
|
"type": {
|
|
251
|
-
"text": "
|
|
315
|
+
"text": "number"
|
|
252
316
|
},
|
|
253
|
-
"default": "
|
|
254
|
-
"description": "
|
|
317
|
+
"default": "500",
|
|
318
|
+
"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.",
|
|
255
319
|
"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"
|
|
256
380
|
}
|
|
257
381
|
],
|
|
258
382
|
"exports": [
|
|
259
383
|
{
|
|
260
384
|
"kind": "js",
|
|
261
|
-
"name": "
|
|
385
|
+
"name": "DEFAULT_RELOAD_BUFFER",
|
|
262
386
|
"declaration": {
|
|
263
|
-
"name": "
|
|
264
|
-
"module": "src/
|
|
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",
|
|
450
|
+
"declaration": {
|
|
451
|
+
"name": "getItemBorderWidth",
|
|
452
|
+
"module": "src/utils/constants.ts"
|
|
265
453
|
}
|
|
266
454
|
}
|
|
267
455
|
]
|
|
268
456
|
},
|
|
269
457
|
{
|
|
270
458
|
"kind": "javascript-module",
|
|
271
|
-
"path": "src/
|
|
459
|
+
"path": "src/utils/error.ts",
|
|
272
460
|
"declarations": [
|
|
273
461
|
{
|
|
274
462
|
"kind": "class",
|
|
275
463
|
"description": "",
|
|
276
|
-
"name": "
|
|
277
|
-
"members": [
|
|
278
|
-
{
|
|
279
|
-
"kind": "field",
|
|
280
|
-
"name": "title",
|
|
281
|
-
"type": {
|
|
282
|
-
"text": "string"
|
|
283
|
-
},
|
|
284
|
-
"description": "Sets the title of the item which is displayed on the tab.",
|
|
285
|
-
"privacy": "public"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"kind": "field",
|
|
289
|
-
"name": "closable",
|
|
290
|
-
"type": {
|
|
291
|
-
"text": "boolean"
|
|
292
|
-
},
|
|
293
|
-
"default": "false",
|
|
294
|
-
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
295
|
-
"privacy": "public"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"kind": "field",
|
|
299
|
-
"name": "size",
|
|
300
|
-
"type": {
|
|
301
|
-
"text": "string"
|
|
302
|
-
},
|
|
303
|
-
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
304
|
-
"privacy": "public"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"kind": "field",
|
|
308
|
-
"name": "registration",
|
|
309
|
-
"type": {
|
|
310
|
-
"text": "string"
|
|
311
|
-
},
|
|
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
|
-
}
|
|
425
|
-
}
|
|
426
|
-
],
|
|
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
|
-
],
|
|
464
|
+
"name": "LayoutUsageError",
|
|
461
465
|
"superclass": {
|
|
462
|
-
"name": "
|
|
463
|
-
"
|
|
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}"
|
|
464
508
|
},
|
|
465
|
-
"
|
|
466
|
-
"
|
|
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"
|
|
467
522
|
}
|
|
468
523
|
],
|
|
469
524
|
"exports": [
|
|
470
525
|
{
|
|
471
526
|
"kind": "js",
|
|
472
|
-
"name": "
|
|
527
|
+
"name": "LayoutEmitEvents",
|
|
473
528
|
"declaration": {
|
|
474
|
-
"name": "
|
|
475
|
-
"module": "src/
|
|
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"
|
|
476
539
|
}
|
|
477
540
|
}
|
|
478
541
|
]
|
|
479
542
|
},
|
|
480
543
|
{
|
|
481
544
|
"kind": "javascript-module",
|
|
482
|
-
"path": "src/
|
|
545
|
+
"path": "src/utils/factory-registry.ts",
|
|
483
546
|
"declarations": [
|
|
484
547
|
{
|
|
485
|
-
"kind": "
|
|
486
|
-
"
|
|
487
|
-
"
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
"text": "GoldenLayout"
|
|
494
|
-
},
|
|
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).",
|
|
523
|
-
"privacy": "public"
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"kind": "field",
|
|
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",
|
|
570
|
-
"type": {
|
|
571
|
-
"text": "boolean"
|
|
572
|
-
},
|
|
573
|
-
"default": "false",
|
|
574
|
-
"description": "Boolean signifies whether the layout has loaded for the first time or not.",
|
|
575
|
-
"privacy": "public"
|
|
576
|
-
},
|
|
548
|
+
"kind": "function",
|
|
549
|
+
"name": "registerFactory",
|
|
550
|
+
"return": {
|
|
551
|
+
"type": {
|
|
552
|
+
"text": "void"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
"parameters": [
|
|
577
556
|
{
|
|
578
|
-
"
|
|
579
|
-
"name": "customButtons",
|
|
557
|
+
"name": "key",
|
|
580
558
|
"type": {
|
|
581
|
-
"text": "
|
|
559
|
+
"text": "string"
|
|
582
560
|
},
|
|
583
|
-
"
|
|
584
|
-
"description": "Set custom button definition on this property to add them to the layout header controls",
|
|
585
|
-
"privacy": "public"
|
|
561
|
+
"description": "Unique identifier for the factory. Should be descriptive and unique across the application."
|
|
586
562
|
},
|
|
587
563
|
{
|
|
588
|
-
"
|
|
589
|
-
"name": "dragging",
|
|
564
|
+
"name": "factory",
|
|
590
565
|
"type": {
|
|
591
|
-
"text": "
|
|
566
|
+
"text": "ComponentFactory"
|
|
592
567
|
},
|
|
593
|
-
"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
568
|
+
"description": "The factory function that creates the component."
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"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.",
|
|
572
|
+
"privacy": "public"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"kind": "function",
|
|
576
|
+
"name": "getFactory",
|
|
577
|
+
"return": {
|
|
578
|
+
"type": {
|
|
579
|
+
"text": ""
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"parameters": [
|
|
605
583
|
{
|
|
606
|
-
"
|
|
607
|
-
"name": "lifecycleUpdateToken",
|
|
584
|
+
"name": "key",
|
|
608
585
|
"type": {
|
|
609
|
-
"text": "string
|
|
586
|
+
"text": "string"
|
|
610
587
|
},
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
588
|
+
"description": "The unique identifier for the factory."
|
|
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": [
|
|
615
603
|
{
|
|
616
|
-
"
|
|
617
|
-
"name": "popoutConfig",
|
|
604
|
+
"name": "key",
|
|
618
605
|
"type": {
|
|
619
|
-
"text": "
|
|
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
|
-
}
|
|
606
|
+
"text": "string"
|
|
693
607
|
},
|
|
694
|
-
"
|
|
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
|
-
],
|
|
799
|
-
"privacy": "public"
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"kind": "method",
|
|
803
|
-
"name": "updateLifecycleToken",
|
|
804
|
-
"privacy": "private",
|
|
805
|
-
"return": {
|
|
806
|
-
"type": {
|
|
807
|
-
"text": "void"
|
|
808
|
-
}
|
|
809
|
-
},
|
|
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"
|
|
811
|
-
},
|
|
812
|
-
{
|
|
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"
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
"kind": "field",
|
|
828
|
-
"name": "_presentation",
|
|
829
|
-
"type": {
|
|
830
|
-
"text": "ComponentPresentation | null | undefined"
|
|
831
|
-
},
|
|
832
|
-
"privacy": "private",
|
|
833
|
-
"default": "void 0",
|
|
834
|
-
"inheritedFrom": {
|
|
835
|
-
"name": "FoundationElement",
|
|
836
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"kind": "field",
|
|
841
|
-
"name": "$presentation",
|
|
842
|
-
"type": {
|
|
843
|
-
"text": "ComponentPresentation | null"
|
|
844
|
-
},
|
|
845
|
-
"privacy": "public",
|
|
846
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
847
|
-
"inheritedFrom": {
|
|
848
|
-
"name": "FoundationElement",
|
|
849
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
850
|
-
}
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
"kind": "field",
|
|
854
|
-
"name": "template",
|
|
855
|
-
"type": {
|
|
856
|
-
"text": "ElementViewTemplate | void | null"
|
|
857
|
-
},
|
|
858
|
-
"privacy": "public",
|
|
859
|
-
"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.",
|
|
860
|
-
"inheritedFrom": {
|
|
861
|
-
"name": "FoundationElement",
|
|
862
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"kind": "method",
|
|
867
|
-
"name": "templateChanged",
|
|
868
|
-
"privacy": "protected",
|
|
869
|
-
"return": {
|
|
870
|
-
"type": {
|
|
871
|
-
"text": "void"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"inheritedFrom": {
|
|
875
|
-
"name": "FoundationElement",
|
|
876
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
"kind": "field",
|
|
881
|
-
"name": "styles",
|
|
882
|
-
"type": {
|
|
883
|
-
"text": "ElementStyles | void | null"
|
|
884
|
-
},
|
|
885
|
-
"privacy": "public",
|
|
886
|
-
"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.",
|
|
887
|
-
"inheritedFrom": {
|
|
888
|
-
"name": "FoundationElement",
|
|
889
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"kind": "method",
|
|
894
|
-
"name": "stylesChanged",
|
|
895
|
-
"privacy": "protected",
|
|
896
|
-
"return": {
|
|
897
|
-
"type": {
|
|
898
|
-
"text": "void"
|
|
899
|
-
}
|
|
900
|
-
},
|
|
901
|
-
"inheritedFrom": {
|
|
902
|
-
"name": "FoundationElement",
|
|
903
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
{
|
|
907
|
-
"kind": "method",
|
|
908
|
-
"name": "compose",
|
|
909
|
-
"privacy": "public",
|
|
910
|
-
"static": true,
|
|
911
|
-
"return": {
|
|
912
|
-
"type": {
|
|
913
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
"parameters": [
|
|
917
|
-
{
|
|
918
|
-
"name": "this",
|
|
919
|
-
"type": {
|
|
920
|
-
"text": "K"
|
|
921
|
-
}
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
"name": "elementDefinition",
|
|
925
|
-
"type": {
|
|
926
|
-
"text": "T"
|
|
927
|
-
},
|
|
928
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
929
|
-
}
|
|
930
|
-
],
|
|
931
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
932
|
-
"inheritedFrom": {
|
|
933
|
-
"name": "FoundationElement",
|
|
934
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
],
|
|
938
|
-
"events": [
|
|
939
|
-
{
|
|
940
|
-
"description": "emitted when the layout has finished loading the first time",
|
|
941
|
-
"name": "first-loaded"
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"description": "emitted when an item is added to the layout",
|
|
945
|
-
"name": "item-added"
|
|
946
|
-
},
|
|
947
|
-
{
|
|
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"
|
|
608
|
+
"description": "The unique identifier for the factory to remove."
|
|
958
609
|
}
|
|
959
610
|
],
|
|
960
|
-
"
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
"
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
611
|
+
"description": "Removes a factory from the registry.\nThis is useful for cleanup when a component is unmounted or no longer needed.",
|
|
612
|
+
"privacy": "public"
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"exports": [
|
|
616
|
+
{
|
|
617
|
+
"kind": "js",
|
|
618
|
+
"name": "registerFactory",
|
|
619
|
+
"declaration": {
|
|
620
|
+
"name": "registerFactory",
|
|
621
|
+
"module": "src/utils/factory-registry.ts"
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "js",
|
|
626
|
+
"name": "getFactory",
|
|
627
|
+
"declaration": {
|
|
628
|
+
"name": "getFactory",
|
|
629
|
+
"module": "src/utils/factory-registry.ts"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "js",
|
|
634
|
+
"name": "unregisterFactory",
|
|
635
|
+
"declaration": {
|
|
636
|
+
"name": "unregisterFactory",
|
|
637
|
+
"module": "src/utils/factory-registry.ts"
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"kind": "javascript-module",
|
|
644
|
+
"path": "src/utils/index.ts",
|
|
645
|
+
"declarations": [],
|
|
646
|
+
"exports": [
|
|
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
|
+
}
|
|
988
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": [
|
|
989
725
|
{
|
|
990
726
|
"kind": "variable",
|
|
991
|
-
"name": "
|
|
992
|
-
|
|
993
|
-
|
|
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"
|
|
756
|
+
},
|
|
757
|
+
"default": "'f-layout-popout-channel'",
|
|
758
|
+
"description": "Name of the default broadcast channel used for layout popouts",
|
|
994
759
|
"privacy": "public"
|
|
995
760
|
}
|
|
996
761
|
],
|
|
997
762
|
"exports": [
|
|
998
763
|
{
|
|
999
764
|
"kind": "js",
|
|
1000
|
-
"name": "
|
|
765
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
1001
766
|
"declaration": {
|
|
1002
|
-
"name": "
|
|
1003
|
-
"module": "
|
|
767
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
768
|
+
"module": "src/utils/popout-events.ts"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"kind": "js",
|
|
773
|
+
"name": "PopoutGeometry",
|
|
774
|
+
"declaration": {
|
|
775
|
+
"name": "PopoutGeometry",
|
|
776
|
+
"module": "src/utils/popout-events.ts"
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
]
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"kind": "javascript-module",
|
|
783
|
+
"path": "src/utils/templates.ts",
|
|
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"
|
|
1004
812
|
}
|
|
1005
813
|
},
|
|
1006
814
|
{
|
|
@@ -1008,7 +816,15 @@
|
|
|
1008
816
|
"name": "FoundationLayout",
|
|
1009
817
|
"declaration": {
|
|
1010
818
|
"name": "FoundationLayout",
|
|
1011
|
-
"module": "
|
|
819
|
+
"module": "./layout-main"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"kind": "js",
|
|
824
|
+
"name": "layoutStyles",
|
|
825
|
+
"declaration": {
|
|
826
|
+
"name": "layoutStyles",
|
|
827
|
+
"module": "./layout-main"
|
|
1012
828
|
}
|
|
1013
829
|
},
|
|
1014
830
|
{
|
|
@@ -1016,1052 +832,1236 @@
|
|
|
1016
832
|
"name": "layoutTemplate",
|
|
1017
833
|
"declaration": {
|
|
1018
834
|
"name": "layoutTemplate",
|
|
1019
|
-
"module": "
|
|
835
|
+
"module": "./layout-main"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "js",
|
|
840
|
+
"name": "*",
|
|
841
|
+
"declaration": {
|
|
842
|
+
"name": "*",
|
|
843
|
+
"package": "./layout-components"
|
|
1020
844
|
}
|
|
1021
845
|
}
|
|
1022
846
|
]
|
|
1023
847
|
},
|
|
1024
848
|
{
|
|
1025
849
|
"kind": "javascript-module",
|
|
1026
|
-
"path": "src/main/layout-
|
|
850
|
+
"path": "src/main/layout-components.ts",
|
|
1027
851
|
"declarations": [
|
|
1028
852
|
{
|
|
1029
|
-
"kind": "
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
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
|
+
"members": [
|
|
1048
883
|
{
|
|
1049
884
|
"kind": "field",
|
|
1050
|
-
"name": "
|
|
885
|
+
"name": "title",
|
|
1051
886
|
"type": {
|
|
1052
|
-
"text": "
|
|
887
|
+
"text": "string"
|
|
1053
888
|
},
|
|
1054
|
-
"
|
|
889
|
+
"description": "Sets the title of the item which is displayed on the tab.",
|
|
890
|
+
"privacy": "public"
|
|
1055
891
|
},
|
|
1056
892
|
{
|
|
1057
893
|
"kind": "field",
|
|
1058
|
-
"name": "
|
|
894
|
+
"name": "closable",
|
|
1059
895
|
"type": {
|
|
1060
|
-
"text": "
|
|
896
|
+
"text": "boolean"
|
|
1061
897
|
},
|
|
1062
|
-
"
|
|
898
|
+
"default": "false",
|
|
899
|
+
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
900
|
+
"privacy": "public"
|
|
1063
901
|
},
|
|
1064
902
|
{
|
|
1065
903
|
"kind": "field",
|
|
1066
|
-
"name": "
|
|
904
|
+
"name": "size",
|
|
1067
905
|
"type": {
|
|
1068
|
-
"text": "
|
|
906
|
+
"text": "string"
|
|
1069
907
|
},
|
|
1070
|
-
"
|
|
908
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
909
|
+
"privacy": "public"
|
|
1071
910
|
},
|
|
1072
911
|
{
|
|
1073
912
|
"kind": "field",
|
|
1074
|
-
"name": "
|
|
913
|
+
"name": "registration",
|
|
1075
914
|
"type": {
|
|
1076
915
|
"text": "string"
|
|
1077
916
|
},
|
|
1078
|
-
"
|
|
917
|
+
"description": "Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem.",
|
|
918
|
+
"privacy": "public"
|
|
1079
919
|
},
|
|
1080
920
|
{
|
|
1081
921
|
"kind": "field",
|
|
1082
|
-
"name": "
|
|
922
|
+
"name": "_presentation",
|
|
1083
923
|
"type": {
|
|
1084
|
-
"text": "
|
|
924
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1085
925
|
},
|
|
1086
926
|
"privacy": "private",
|
|
1087
|
-
"default": "
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
"privacy": "private"
|
|
1093
|
-
},
|
|
1094
|
-
{
|
|
1095
|
-
"kind": "method",
|
|
1096
|
-
"name": "setupListener",
|
|
1097
|
-
"privacy": "private"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"kind": "method",
|
|
1101
|
-
"name": "applyStateToParent",
|
|
1102
|
-
"privacy": "private",
|
|
1103
|
-
"parameters": [
|
|
1104
|
-
{
|
|
1105
|
-
"name": "state",
|
|
1106
|
-
"type": {
|
|
1107
|
-
"text": "unknown"
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
]
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"kind": "method",
|
|
1114
|
-
"name": "setupUnloadListener",
|
|
1115
|
-
"privacy": "private"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
"kind": "method",
|
|
1119
|
-
"name": "teardownUnloadListener",
|
|
1120
|
-
"privacy": "private"
|
|
1121
|
-
},
|
|
1122
|
-
{
|
|
1123
|
-
"kind": "method",
|
|
1124
|
-
"name": "emitAutosave",
|
|
1125
|
-
"privacy": "private"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"kind": "method",
|
|
1129
|
-
"name": "startPolling",
|
|
1130
|
-
"privacy": "private"
|
|
927
|
+
"default": "void 0",
|
|
928
|
+
"inheritedFrom": {
|
|
929
|
+
"name": "FoundationElement",
|
|
930
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
931
|
+
}
|
|
1131
932
|
},
|
|
1132
933
|
{
|
|
1133
|
-
"kind": "
|
|
1134
|
-
"name": "
|
|
1135
|
-
"
|
|
934
|
+
"kind": "field",
|
|
935
|
+
"name": "$presentation",
|
|
936
|
+
"type": {
|
|
937
|
+
"text": "ComponentPresentation | null"
|
|
938
|
+
},
|
|
939
|
+
"privacy": "public",
|
|
940
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
941
|
+
"inheritedFrom": {
|
|
942
|
+
"name": "FoundationElement",
|
|
943
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
944
|
+
}
|
|
1136
945
|
},
|
|
1137
946
|
{
|
|
1138
|
-
"kind": "
|
|
1139
|
-
"name": "
|
|
1140
|
-
"
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
947
|
+
"kind": "field",
|
|
948
|
+
"name": "template",
|
|
949
|
+
"type": {
|
|
950
|
+
"text": "ElementViewTemplate | void | null"
|
|
951
|
+
},
|
|
952
|
+
"privacy": "public",
|
|
953
|
+
"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.",
|
|
954
|
+
"inheritedFrom": {
|
|
955
|
+
"name": "FoundationElement",
|
|
956
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1145
957
|
}
|
|
1146
958
|
},
|
|
1147
959
|
{
|
|
1148
960
|
"kind": "method",
|
|
1149
|
-
"name": "
|
|
1150
|
-
"privacy": "
|
|
961
|
+
"name": "templateChanged",
|
|
962
|
+
"privacy": "protected",
|
|
1151
963
|
"return": {
|
|
1152
964
|
"type": {
|
|
1153
|
-
"text": "
|
|
965
|
+
"text": "void"
|
|
1154
966
|
}
|
|
967
|
+
},
|
|
968
|
+
"inheritedFrom": {
|
|
969
|
+
"name": "FoundationElement",
|
|
970
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1155
971
|
}
|
|
1156
972
|
},
|
|
1157
973
|
{
|
|
1158
|
-
"kind": "
|
|
1159
|
-
"name": "
|
|
1160
|
-
"
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
"name": "geometry",
|
|
1164
|
-
"type": {
|
|
1165
|
-
"text": "PopoutGeometry"
|
|
1166
|
-
}
|
|
1167
|
-
},
|
|
1168
|
-
{
|
|
1169
|
-
"name": "state",
|
|
1170
|
-
"optional": true,
|
|
1171
|
-
"type": {
|
|
1172
|
-
"text": "unknown"
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
]
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"kind": "method",
|
|
1179
|
-
"name": "openPopout",
|
|
974
|
+
"kind": "field",
|
|
975
|
+
"name": "styles",
|
|
976
|
+
"type": {
|
|
977
|
+
"text": "ElementStyles | void | null"
|
|
978
|
+
},
|
|
1180
979
|
"privacy": "public",
|
|
1181
|
-
"
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
},
|
|
1187
|
-
"description": "The registration ID of the component to pop out."
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
"name": "popoutState",
|
|
1191
|
-
"optional": true,
|
|
1192
|
-
"type": {
|
|
1193
|
-
"text": "PopoutState"
|
|
1194
|
-
},
|
|
1195
|
-
"description": "Optional state (geometry and component state) to use for the new window."
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"name": "uuid",
|
|
1199
|
-
"optional": true,
|
|
1200
|
-
"type": {
|
|
1201
|
-
"text": "any"
|
|
1202
|
-
},
|
|
1203
|
-
"description": "UUID generator from parent layout"
|
|
1204
|
-
}
|
|
1205
|
-
],
|
|
1206
|
-
"description": "Opens a component in a popout window."
|
|
980
|
+
"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.",
|
|
981
|
+
"inheritedFrom": {
|
|
982
|
+
"name": "FoundationElement",
|
|
983
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
984
|
+
}
|
|
1207
985
|
},
|
|
1208
986
|
{
|
|
1209
987
|
"kind": "method",
|
|
1210
|
-
"name": "
|
|
1211
|
-
"privacy": "
|
|
988
|
+
"name": "stylesChanged",
|
|
989
|
+
"privacy": "protected",
|
|
1212
990
|
"return": {
|
|
1213
991
|
"type": {
|
|
1214
|
-
"text": "
|
|
992
|
+
"text": "void"
|
|
1215
993
|
}
|
|
994
|
+
},
|
|
995
|
+
"inheritedFrom": {
|
|
996
|
+
"name": "FoundationElement",
|
|
997
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1216
998
|
}
|
|
1217
999
|
},
|
|
1218
1000
|
{
|
|
1219
1001
|
"kind": "method",
|
|
1220
|
-
"name": "
|
|
1002
|
+
"name": "compose",
|
|
1221
1003
|
"privacy": "public",
|
|
1004
|
+
"static": true,
|
|
1005
|
+
"return": {
|
|
1006
|
+
"type": {
|
|
1007
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1008
|
+
}
|
|
1009
|
+
},
|
|
1222
1010
|
"parameters": [
|
|
1223
1011
|
{
|
|
1224
|
-
"name": "
|
|
1012
|
+
"name": "this",
|
|
1225
1013
|
"type": {
|
|
1226
|
-
"text": "
|
|
1014
|
+
"text": "K"
|
|
1227
1015
|
}
|
|
1228
1016
|
},
|
|
1229
1017
|
{
|
|
1230
|
-
"name": "
|
|
1018
|
+
"name": "elementDefinition",
|
|
1231
1019
|
"type": {
|
|
1232
|
-
"text": "
|
|
1233
|
-
}
|
|
1020
|
+
"text": "T"
|
|
1021
|
+
},
|
|
1022
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1234
1023
|
}
|
|
1235
1024
|
],
|
|
1236
|
-
"description": "
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
"privacy": "public"
|
|
1025
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1026
|
+
"inheritedFrom": {
|
|
1027
|
+
"name": "FoundationElement",
|
|
1028
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1029
|
+
}
|
|
1242
1030
|
}
|
|
1243
1031
|
],
|
|
1244
1032
|
"attributes": [
|
|
1245
1033
|
{
|
|
1246
|
-
"name": "
|
|
1034
|
+
"name": "title",
|
|
1247
1035
|
"type": {
|
|
1248
1036
|
"text": "string"
|
|
1249
1037
|
},
|
|
1250
|
-
"
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1038
|
+
"description": "Sets the title of the item which is displayed on the tab.",
|
|
1039
|
+
"fieldName": "title"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"type": {
|
|
1043
|
+
"text": "boolean"
|
|
1044
|
+
},
|
|
1045
|
+
"default": "false",
|
|
1046
|
+
"description": "Boolean attribute controls whether the window can be closed in the GUI.\nDefaults to `false`.",
|
|
1047
|
+
"fieldName": "closable"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "size",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "string"
|
|
1053
|
+
},
|
|
1054
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
1055
|
+
"fieldName": "size"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "registration",
|
|
1059
|
+
"type": {
|
|
1060
|
+
"text": "string"
|
|
1061
|
+
},
|
|
1062
|
+
"description": "Sets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem.",
|
|
1063
|
+
"fieldName": "registration"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"superclass": {
|
|
1067
|
+
"name": "FoundationElement",
|
|
1068
|
+
"package": "@microsoft/fast-foundation"
|
|
1256
1069
|
},
|
|
1257
|
-
"tagName": "
|
|
1070
|
+
"tagName": "%%prefix%%-layout-item",
|
|
1258
1071
|
"customElement": true
|
|
1259
1072
|
}
|
|
1260
1073
|
],
|
|
1261
1074
|
"exports": [
|
|
1262
1075
|
{
|
|
1263
1076
|
"kind": "js",
|
|
1264
|
-
"name": "
|
|
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",
|
|
1077
|
+
"name": "FoundationLayoutItem",
|
|
1273
1078
|
"declaration": {
|
|
1274
|
-
"name": "
|
|
1275
|
-
"module": "src/main/layout-
|
|
1079
|
+
"name": "FoundationLayoutItem",
|
|
1080
|
+
"module": "src/main/layout-item.ts"
|
|
1276
1081
|
}
|
|
1277
1082
|
}
|
|
1278
1083
|
]
|
|
1279
1084
|
},
|
|
1280
1085
|
{
|
|
1281
1086
|
"kind": "javascript-module",
|
|
1282
|
-
"path": "src/main/layout-
|
|
1087
|
+
"path": "src/main/layout-main.ts",
|
|
1283
1088
|
"declarations": [
|
|
1284
1089
|
{
|
|
1285
1090
|
"kind": "class",
|
|
1286
1091
|
"description": "",
|
|
1287
|
-
"name": "
|
|
1092
|
+
"name": "FoundationLayout",
|
|
1288
1093
|
"members": [
|
|
1289
1094
|
{
|
|
1290
1095
|
"kind": "field",
|
|
1291
|
-
"name": "
|
|
1096
|
+
"name": "layout",
|
|
1292
1097
|
"type": {
|
|
1293
|
-
"text": "
|
|
1098
|
+
"text": "GoldenLayout"
|
|
1294
1099
|
},
|
|
1295
|
-
"
|
|
1296
|
-
"privacy": "public"
|
|
1100
|
+
"privacy": "private"
|
|
1297
1101
|
},
|
|
1298
1102
|
{
|
|
1299
1103
|
"kind": "field",
|
|
1300
|
-
"name": "
|
|
1104
|
+
"name": "layoutConfig",
|
|
1301
1105
|
"type": {
|
|
1302
|
-
"text": "
|
|
1106
|
+
"text": "LayoutConfig"
|
|
1303
1107
|
},
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
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).",
|
|
1306
1128
|
"privacy": "public"
|
|
1307
1129
|
},
|
|
1308
1130
|
{
|
|
1309
1131
|
"kind": "field",
|
|
1310
|
-
"name": "
|
|
1132
|
+
"name": "reloadPending",
|
|
1311
1133
|
"type": {
|
|
1312
|
-
"text": "
|
|
1134
|
+
"text": "boolean"
|
|
1313
1135
|
},
|
|
1314
1136
|
"privacy": "private",
|
|
1315
|
-
"default": "
|
|
1316
|
-
"inheritedFrom": {
|
|
1317
|
-
"name": "FoundationElement",
|
|
1318
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1319
|
-
}
|
|
1137
|
+
"default": "false"
|
|
1320
1138
|
},
|
|
1321
1139
|
{
|
|
1322
1140
|
"kind": "field",
|
|
1323
|
-
"name": "
|
|
1141
|
+
"name": "registeredComponents",
|
|
1324
1142
|
"type": {
|
|
1325
|
-
"text": "
|
|
1143
|
+
"text": "number"
|
|
1326
1144
|
},
|
|
1327
|
-
"privacy": "
|
|
1328
|
-
"
|
|
1329
|
-
"inheritedFrom": {
|
|
1330
|
-
"name": "FoundationElement",
|
|
1331
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1332
|
-
}
|
|
1145
|
+
"privacy": "private",
|
|
1146
|
+
"default": "0"
|
|
1333
1147
|
},
|
|
1334
1148
|
{
|
|
1335
1149
|
"kind": "field",
|
|
1336
|
-
"name": "
|
|
1150
|
+
"name": "autoSaveKey",
|
|
1337
1151
|
"type": {
|
|
1338
|
-
"text": "
|
|
1152
|
+
"text": "string | undefined"
|
|
1339
1153
|
},
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1342
|
-
"inheritedFrom": {
|
|
1343
|
-
"name": "FoundationElement",
|
|
1344
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1345
|
-
}
|
|
1154
|
+
"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`.",
|
|
1155
|
+
"privacy": "public"
|
|
1346
1156
|
},
|
|
1347
1157
|
{
|
|
1348
|
-
"kind": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
"
|
|
1351
|
-
"
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
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"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"kind": "field",
|
|
1165
|
+
"name": "dimensionsConfig",
|
|
1166
|
+
"type": {
|
|
1167
|
+
"text": "LayoutConfig.Dimensions | undefined"
|
|
1355
1168
|
},
|
|
1356
|
-
"
|
|
1357
|
-
|
|
1358
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1359
|
-
}
|
|
1169
|
+
"description": "Apply dimensions config to the layout, such as setting the size of the drag handles.",
|
|
1170
|
+
"privacy": "public"
|
|
1360
1171
|
},
|
|
1361
1172
|
{
|
|
1362
1173
|
"kind": "field",
|
|
1363
|
-
"name": "
|
|
1174
|
+
"name": "hasFirstLoaded",
|
|
1364
1175
|
"type": {
|
|
1365
|
-
"text": "
|
|
1176
|
+
"text": "boolean"
|
|
1177
|
+
},
|
|
1178
|
+
"default": "false",
|
|
1179
|
+
"description": "Boolean signifies whether the layout has loaded for the first time or not.",
|
|
1180
|
+
"privacy": "public"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "field",
|
|
1184
|
+
"name": "customButtons",
|
|
1185
|
+
"type": {
|
|
1186
|
+
"text": "CustomButton[]"
|
|
1187
|
+
},
|
|
1188
|
+
"default": "[]",
|
|
1189
|
+
"description": "Set custom button definition on this property to add them to the layout header controls",
|
|
1190
|
+
"privacy": "public"
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"kind": "field",
|
|
1194
|
+
"name": "dragging",
|
|
1195
|
+
"type": {
|
|
1196
|
+
"text": "boolean"
|
|
1366
1197
|
},
|
|
1198
|
+
"default": "false",
|
|
1199
|
+
"privacy": "public"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
"kind": "field",
|
|
1203
|
+
"name": "class",
|
|
1367
1204
|
"privacy": "public",
|
|
1368
|
-
"
|
|
1369
|
-
"
|
|
1370
|
-
"
|
|
1371
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1205
|
+
"default": "'FoundationLayoutMain'",
|
|
1206
|
+
"type": {
|
|
1207
|
+
"text": "'FoundationLayoutMain'"
|
|
1372
1208
|
}
|
|
1373
1209
|
},
|
|
1374
1210
|
{
|
|
1375
|
-
"kind": "
|
|
1376
|
-
"name": "
|
|
1377
|
-
"
|
|
1378
|
-
|
|
1379
|
-
"type": {
|
|
1380
|
-
"text": "void"
|
|
1381
|
-
}
|
|
1211
|
+
"kind": "field",
|
|
1212
|
+
"name": "lifecycleUpdateToken",
|
|
1213
|
+
"type": {
|
|
1214
|
+
"text": "string | undefined"
|
|
1382
1215
|
},
|
|
1383
|
-
"
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1216
|
+
"privacy": "public",
|
|
1217
|
+
"default": "undefined",
|
|
1218
|
+
"description": "Used to calculate whether a layout item should run its lifecycle methods or not"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "field",
|
|
1222
|
+
"name": "popoutConfig",
|
|
1223
|
+
"type": {
|
|
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."
|
|
1387
1228
|
},
|
|
1388
1229
|
{
|
|
1389
1230
|
"kind": "method",
|
|
1390
|
-
"name": "
|
|
1391
|
-
"privacy": "public",
|
|
1231
|
+
"name": "layoutRequiredRegistrations",
|
|
1392
1232
|
"static": true,
|
|
1393
1233
|
"return": {
|
|
1394
1234
|
"type": {
|
|
1395
|
-
"text": "
|
|
1235
|
+
"text": ""
|
|
1396
1236
|
}
|
|
1397
1237
|
},
|
|
1398
1238
|
"parameters": [
|
|
1399
1239
|
{
|
|
1400
|
-
"name": "
|
|
1401
|
-
"type": {
|
|
1402
|
-
"text": "K"
|
|
1403
|
-
}
|
|
1404
|
-
},
|
|
1405
|
-
{
|
|
1406
|
-
"name": "elementDefinition",
|
|
1240
|
+
"name": "layout",
|
|
1407
1241
|
"type": {
|
|
1408
|
-
"text": "
|
|
1242
|
+
"text": "SerialisedLayout"
|
|
1409
1243
|
},
|
|
1410
|
-
"description": "
|
|
1244
|
+
"description": "any version of {@link SerialisedLayout}object describing the layout\n * "
|
|
1411
1245
|
}
|
|
1412
1246
|
],
|
|
1413
|
-
"description": "
|
|
1414
|
-
"
|
|
1415
|
-
|
|
1416
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
],
|
|
1420
|
-
"attributes": [
|
|
1247
|
+
"description": "JS API, public",
|
|
1248
|
+
"privacy": "public"
|
|
1249
|
+
},
|
|
1421
1250
|
{
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
|
|
1251
|
+
"kind": "method",
|
|
1252
|
+
"name": "registeredItems",
|
|
1253
|
+
"return": {
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": ""
|
|
1256
|
+
}
|
|
1425
1257
|
},
|
|
1426
|
-
"
|
|
1427
|
-
"fieldName": "size"
|
|
1258
|
+
"privacy": "public"
|
|
1428
1259
|
},
|
|
1429
1260
|
{
|
|
1430
|
-
"
|
|
1431
|
-
"
|
|
1432
|
-
|
|
1261
|
+
"kind": "method",
|
|
1262
|
+
"name": "getLayout",
|
|
1263
|
+
"return": {
|
|
1264
|
+
"type": {
|
|
1265
|
+
"text": ""
|
|
1266
|
+
}
|
|
1433
1267
|
},
|
|
1434
|
-
"
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1268
|
+
"privacy": "public"
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"kind": "method",
|
|
1272
|
+
"name": "tryActivatePopoutMode",
|
|
1273
|
+
"return": {
|
|
1274
|
+
"type": {
|
|
1275
|
+
"text": "boolean"
|
|
1276
|
+
}
|
|
1438
1277
|
},
|
|
1439
|
-
"
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
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
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
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"
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
"kind": "function",
|
|
1652
|
-
"name": "getItemBorderWidth"
|
|
1653
|
-
}
|
|
1654
|
-
],
|
|
1655
|
-
"exports": [
|
|
1656
|
-
{
|
|
1657
|
-
"kind": "js",
|
|
1658
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
|
1659
|
-
"declaration": {
|
|
1660
|
-
"name": "DEFAULT_RELOAD_BUFFER",
|
|
1661
|
-
"module": "src/utils/constants.ts"
|
|
1662
|
-
}
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"kind": "js",
|
|
1666
|
-
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1667
|
-
"declaration": {
|
|
1668
|
-
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1669
|
-
"module": "src/utils/constants.ts"
|
|
1670
|
-
}
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"kind": "js",
|
|
1674
|
-
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1675
|
-
"declaration": {
|
|
1676
|
-
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1677
|
-
"module": "src/utils/constants.ts"
|
|
1678
|
-
}
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
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": [
|
|
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."
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"kind": "method",
|
|
1282
|
+
"name": "tryLoadLayoutFromLocalStorage",
|
|
1283
|
+
"return": {
|
|
1284
|
+
"type": {
|
|
1285
|
+
"text": ""
|
|
1286
|
+
}
|
|
1287
|
+
},
|
|
1288
|
+
"description": "Try to load a layout from local storage, or return false. Only required if manually calling FoundationLayout.registerItem",
|
|
1289
|
+
"privacy": "public"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"kind": "method",
|
|
1293
|
+
"name": "clearAutosaveAndRevertToDefault",
|
|
1294
|
+
"return": {
|
|
1295
|
+
"type": {
|
|
1296
|
+
"text": ""
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
"privacy": "public"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"kind": "method",
|
|
1303
|
+
"name": "loadLayout",
|
|
1304
|
+
"parameters": [
|
|
1305
|
+
{
|
|
1306
|
+
"name": "layout",
|
|
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'",
|
|
1315
|
+
"type": {
|
|
1316
|
+
"text": "'placeholder' | 'error'"
|
|
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 * "
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "disableCache",
|
|
1322
|
+
"default": "false",
|
|
1323
|
+
"type": {
|
|
1324
|
+
"text": "boolean"
|
|
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 * "
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"privacy": "public"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"kind": "method",
|
|
1333
|
+
"name": "addItem",
|
|
1334
|
+
"parameters": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "config",
|
|
1337
|
+
"type": {
|
|
1338
|
+
"text": "RegisteredElementConfig | RegisteredElementConfig[]"
|
|
1339
|
+
},
|
|
1340
|
+
"description": "{@link RegisteredElementConfig}configuration items for the new items(s). Pass an array of {@link RegisteredElementConfig}to add multiple items at once.\n * "
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"name": "placement",
|
|
1344
|
+
"default": "defaultAddItemPlacement",
|
|
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",
|
|
1364
|
+
"type": {
|
|
1365
|
+
"text": "string"
|
|
1366
|
+
},
|
|
1367
|
+
"description": "string of the registration ID"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "force",
|
|
1371
|
+
"default": "false",
|
|
1372
|
+
"type": {
|
|
1373
|
+
"text": "boolean"
|
|
1374
|
+
},
|
|
1375
|
+
"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."
|
|
1376
|
+
}
|
|
1377
|
+
],
|
|
1378
|
+
"privacy": "public"
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "method",
|
|
1382
|
+
"name": "registerItem",
|
|
1383
|
+
"return": {
|
|
1384
|
+
"type": {
|
|
1385
|
+
"text": ""
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"parameters": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "registration",
|
|
1391
|
+
"type": {
|
|
1392
|
+
"text": "string"
|
|
1393
|
+
},
|
|
1394
|
+
"description": "string of the registration ID"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "elementsOrFactory",
|
|
1398
|
+
"type": {
|
|
1399
|
+
"text": "Element[] | ComponentFactory"
|
|
1400
|
+
},
|
|
1401
|
+
"description": "Either Elements[] containing the reference to the elements to register, or a ComponentFactory function"
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
"privacy": "public"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "method",
|
|
1408
|
+
"name": "updateLifecycleToken",
|
|
1409
|
+
"privacy": "private",
|
|
1410
|
+
"return": {
|
|
1411
|
+
"type": {
|
|
1412
|
+
"text": "void"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
"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"
|
|
1416
|
+
},
|
|
1829
1417
|
{
|
|
1830
|
-
"
|
|
1418
|
+
"kind": "method",
|
|
1419
|
+
"name": "handleGLRunErrors",
|
|
1420
|
+
"privacy": "private",
|
|
1421
|
+
"parameters": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "e",
|
|
1424
|
+
"type": {
|
|
1425
|
+
"text": "Error"
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
],
|
|
1429
|
+
"description": "For specific golden layout errors we can provide better information to the caller. Else re-throw the original error"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"kind": "field",
|
|
1433
|
+
"name": "_presentation",
|
|
1831
1434
|
"type": {
|
|
1832
|
-
"text": "
|
|
1435
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1833
1436
|
},
|
|
1834
|
-
"
|
|
1437
|
+
"privacy": "private",
|
|
1438
|
+
"default": "void 0",
|
|
1439
|
+
"inheritedFrom": {
|
|
1440
|
+
"name": "FoundationElement",
|
|
1441
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1442
|
+
}
|
|
1835
1443
|
},
|
|
1836
1444
|
{
|
|
1837
|
-
"
|
|
1445
|
+
"kind": "field",
|
|
1446
|
+
"name": "$presentation",
|
|
1838
1447
|
"type": {
|
|
1839
|
-
"text": "
|
|
1448
|
+
"text": "ComponentPresentation | null"
|
|
1840
1449
|
},
|
|
1841
|
-
"
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
"kind": "function",
|
|
1849
|
-
"name": "getFactory",
|
|
1850
|
-
"return": {
|
|
1851
|
-
"type": {
|
|
1852
|
-
"text": ""
|
|
1853
|
-
}
|
|
1854
|
-
},
|
|
1855
|
-
"parameters": [
|
|
1450
|
+
"privacy": "public",
|
|
1451
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1452
|
+
"inheritedFrom": {
|
|
1453
|
+
"name": "FoundationElement",
|
|
1454
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1856
1457
|
{
|
|
1857
|
-
"
|
|
1458
|
+
"kind": "field",
|
|
1459
|
+
"name": "template",
|
|
1858
1460
|
"type": {
|
|
1859
|
-
"text": "
|
|
1461
|
+
"text": "ElementViewTemplate | void | null"
|
|
1860
1462
|
},
|
|
1861
|
-
"
|
|
1463
|
+
"privacy": "public",
|
|
1464
|
+
"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.",
|
|
1465
|
+
"inheritedFrom": {
|
|
1466
|
+
"name": "FoundationElement",
|
|
1467
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"kind": "method",
|
|
1472
|
+
"name": "templateChanged",
|
|
1473
|
+
"privacy": "protected",
|
|
1474
|
+
"return": {
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "void"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
"inheritedFrom": {
|
|
1480
|
+
"name": "FoundationElement",
|
|
1481
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1482
|
+
}
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"kind": "field",
|
|
1486
|
+
"name": "styles",
|
|
1487
|
+
"type": {
|
|
1488
|
+
"text": "ElementStyles | void | null"
|
|
1489
|
+
},
|
|
1490
|
+
"privacy": "public",
|
|
1491
|
+
"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.",
|
|
1492
|
+
"inheritedFrom": {
|
|
1493
|
+
"name": "FoundationElement",
|
|
1494
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1495
|
+
}
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"kind": "method",
|
|
1499
|
+
"name": "stylesChanged",
|
|
1500
|
+
"privacy": "protected",
|
|
1501
|
+
"return": {
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "void"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"inheritedFrom": {
|
|
1507
|
+
"name": "FoundationElement",
|
|
1508
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"kind": "method",
|
|
1513
|
+
"name": "compose",
|
|
1514
|
+
"privacy": "public",
|
|
1515
|
+
"static": true,
|
|
1516
|
+
"return": {
|
|
1517
|
+
"type": {
|
|
1518
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"parameters": [
|
|
1522
|
+
{
|
|
1523
|
+
"name": "this",
|
|
1524
|
+
"type": {
|
|
1525
|
+
"text": "K"
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "elementDefinition",
|
|
1530
|
+
"type": {
|
|
1531
|
+
"text": "T"
|
|
1532
|
+
},
|
|
1533
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1534
|
+
}
|
|
1535
|
+
],
|
|
1536
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1537
|
+
"inheritedFrom": {
|
|
1538
|
+
"name": "FoundationElement",
|
|
1539
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1540
|
+
}
|
|
1862
1541
|
}
|
|
1863
1542
|
],
|
|
1864
|
-
"
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
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"
|
|
1873
1563
|
}
|
|
1874
|
-
|
|
1875
|
-
"
|
|
1564
|
+
],
|
|
1565
|
+
"attributes": [
|
|
1876
1566
|
{
|
|
1877
|
-
"name": "
|
|
1567
|
+
"name": "reload-buffer",
|
|
1878
1568
|
"type": {
|
|
1879
|
-
"text": "
|
|
1569
|
+
"text": "number"
|
|
1880
1570
|
},
|
|
1881
|
-
"
|
|
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"
|
|
1575
|
+
},
|
|
1576
|
+
"fieldName": "reloadBuffer"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"name": "auto-save-key",
|
|
1580
|
+
"type": {
|
|
1581
|
+
"text": "string | undefined"
|
|
1582
|
+
},
|
|
1583
|
+
"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`.",
|
|
1584
|
+
"fieldName": "autoSaveKey"
|
|
1882
1585
|
}
|
|
1883
1586
|
],
|
|
1884
|
-
"
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
"kind": "js",
|
|
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
|
-
}
|
|
1587
|
+
"superclass": {
|
|
1588
|
+
"name": "FoundationElement",
|
|
1589
|
+
"package": "@microsoft/fast-foundation"
|
|
1590
|
+
},
|
|
1591
|
+
"tagName": "%%prefix%%-layout",
|
|
1592
|
+
"customElement": true
|
|
1943
1593
|
},
|
|
1944
1594
|
{
|
|
1945
|
-
"kind": "
|
|
1946
|
-
"name": "
|
|
1947
|
-
"
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1595
|
+
"kind": "variable",
|
|
1596
|
+
"name": "layoutTemplate",
|
|
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"
|
|
1600
|
+
}
|
|
1601
|
+
],
|
|
1602
|
+
"exports": [
|
|
1952
1603
|
{
|
|
1953
1604
|
"kind": "js",
|
|
1954
|
-
"name": "
|
|
1605
|
+
"name": "layoutStyles",
|
|
1955
1606
|
"declaration": {
|
|
1956
|
-
"name": "
|
|
1957
|
-
"
|
|
1607
|
+
"name": "layoutStyles",
|
|
1608
|
+
"module": "../styles"
|
|
1958
1609
|
}
|
|
1959
1610
|
},
|
|
1960
1611
|
{
|
|
1961
1612
|
"kind": "js",
|
|
1962
|
-
"name": "
|
|
1613
|
+
"name": "FoundationLayout",
|
|
1963
1614
|
"declaration": {
|
|
1964
|
-
"name": "
|
|
1965
|
-
"
|
|
1615
|
+
"name": "FoundationLayout",
|
|
1616
|
+
"module": "src/main/layout-main.ts"
|
|
1966
1617
|
}
|
|
1967
1618
|
},
|
|
1968
1619
|
{
|
|
1969
1620
|
"kind": "js",
|
|
1970
|
-
"name": "
|
|
1621
|
+
"name": "layoutTemplate",
|
|
1971
1622
|
"declaration": {
|
|
1972
|
-
"name": "
|
|
1973
|
-
"
|
|
1623
|
+
"name": "layoutTemplate",
|
|
1624
|
+
"module": "src/main/layout-main.ts"
|
|
1974
1625
|
}
|
|
1975
|
-
}
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "javascript-module",
|
|
1631
|
+
"path": "src/main/layout-popout-controller.ts",
|
|
1632
|
+
"declarations": [
|
|
1633
|
+
{
|
|
1634
|
+
"kind": "class",
|
|
1635
|
+
"description": "",
|
|
1636
|
+
"name": "FoundationLayoutPopoutController",
|
|
1637
|
+
"members": [
|
|
1638
|
+
{
|
|
1639
|
+
"kind": "field",
|
|
1640
|
+
"name": "channelName",
|
|
1641
|
+
"type": {
|
|
1642
|
+
"text": "string"
|
|
1643
|
+
}
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "field",
|
|
1647
|
+
"name": "layoutKey",
|
|
1648
|
+
"type": {
|
|
1649
|
+
"text": "string"
|
|
1650
|
+
},
|
|
1651
|
+
"privacy": "private"
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "field",
|
|
1655
|
+
"name": "channel",
|
|
1656
|
+
"type": {
|
|
1657
|
+
"text": "TypedBroadcastChannel<LayoutPopoutEvents>"
|
|
1658
|
+
},
|
|
1659
|
+
"privacy": "private"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "field",
|
|
1663
|
+
"name": "pollInterval",
|
|
1664
|
+
"type": {
|
|
1665
|
+
"text": "any"
|
|
1666
|
+
},
|
|
1667
|
+
"privacy": "private"
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "field",
|
|
1671
|
+
"name": "unloadHandler",
|
|
1672
|
+
"type": {
|
|
1673
|
+
"text": "() => void"
|
|
1674
|
+
},
|
|
1675
|
+
"privacy": "private"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
"kind": "field",
|
|
1679
|
+
"name": "lastUpdate",
|
|
1680
|
+
"type": {
|
|
1681
|
+
"text": "string"
|
|
1682
|
+
},
|
|
1683
|
+
"privacy": "private"
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"kind": "field",
|
|
1687
|
+
"name": "popoutRegistry",
|
|
1688
|
+
"type": {
|
|
1689
|
+
"text": "Map<\n string,\n { geometry: PopoutGeometry; state?: unknown; window?: Window }\n >"
|
|
1690
|
+
},
|
|
1691
|
+
"privacy": "private",
|
|
1692
|
+
"default": "new Map()"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"kind": "method",
|
|
1696
|
+
"name": "setupChannel",
|
|
1697
|
+
"privacy": "private"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "method",
|
|
1701
|
+
"name": "setupListener",
|
|
1702
|
+
"privacy": "private"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"kind": "method",
|
|
1706
|
+
"name": "applyStateToParent",
|
|
1707
|
+
"privacy": "private",
|
|
1708
|
+
"parameters": [
|
|
1709
|
+
{
|
|
1710
|
+
"name": "state",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "unknown"
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
]
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "method",
|
|
1719
|
+
"name": "setupUnloadListener",
|
|
1720
|
+
"privacy": "private"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"kind": "method",
|
|
1724
|
+
"name": "teardownUnloadListener",
|
|
1725
|
+
"privacy": "private"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "method",
|
|
1729
|
+
"name": "emitAutosave",
|
|
1730
|
+
"privacy": "private"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"kind": "method",
|
|
1734
|
+
"name": "startPolling",
|
|
1735
|
+
"privacy": "private"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"kind": "method",
|
|
1739
|
+
"name": "stopPolling",
|
|
1740
|
+
"privacy": "private"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"kind": "method",
|
|
1744
|
+
"name": "getGeometry",
|
|
1745
|
+
"privacy": "private",
|
|
1746
|
+
"return": {
|
|
1747
|
+
"type": {
|
|
1748
|
+
"text": "Promise<PopoutGeometry>"
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"kind": "method",
|
|
1754
|
+
"name": "getComponentState",
|
|
1755
|
+
"privacy": "private",
|
|
1756
|
+
"return": {
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "unknown"
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "method",
|
|
1764
|
+
"name": "broadcastUpdate",
|
|
1765
|
+
"privacy": "private",
|
|
1766
|
+
"parameters": [
|
|
1767
|
+
{
|
|
1768
|
+
"name": "geometry",
|
|
1769
|
+
"type": {
|
|
1770
|
+
"text": "PopoutGeometry"
|
|
1771
|
+
}
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
"name": "state",
|
|
1775
|
+
"optional": true,
|
|
1776
|
+
"type": {
|
|
1777
|
+
"text": "unknown"
|
|
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
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
"kind": "method",
|
|
1825
|
+
"name": "restorePopouts",
|
|
1826
|
+
"privacy": "public",
|
|
1827
|
+
"parameters": [
|
|
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"
|
|
1842
|
+
},
|
|
1843
|
+
{
|
|
1844
|
+
"kind": "method",
|
|
1845
|
+
"name": "closeAllPopouts",
|
|
1846
|
+
"privacy": "public"
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1849
|
+
"attributes": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "channel-name",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "string"
|
|
1854
|
+
},
|
|
1855
|
+
"fieldName": "channelName"
|
|
1856
|
+
}
|
|
1857
|
+
],
|
|
1858
|
+
"superclass": {
|
|
1859
|
+
"name": "FASTElement",
|
|
1860
|
+
"package": "@microsoft/fast-element"
|
|
1861
|
+
},
|
|
1862
|
+
"tagName": "foundation-layout-popout-controller",
|
|
1863
|
+
"customElement": true
|
|
1864
|
+
}
|
|
1865
|
+
],
|
|
1866
|
+
"exports": [
|
|
1976
1867
|
{
|
|
1977
1868
|
"kind": "js",
|
|
1978
|
-
"name": "
|
|
1869
|
+
"name": "FoundationLayoutPopoutController",
|
|
1979
1870
|
"declaration": {
|
|
1980
|
-
"name": "
|
|
1981
|
-
"
|
|
1871
|
+
"name": "FoundationLayoutPopoutController",
|
|
1872
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
1982
1873
|
}
|
|
1983
1874
|
},
|
|
1984
1875
|
{
|
|
1985
|
-
"kind": "
|
|
1986
|
-
"name": "
|
|
1987
|
-
"declaration": {
|
|
1988
|
-
"name": "*",
|
|
1989
|
-
"package": "./error"
|
|
1990
|
-
}
|
|
1991
|
-
}
|
|
1992
|
-
]
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"kind": "javascript-module",
|
|
1996
|
-
"path": "src/utils/logger.ts",
|
|
1997
|
-
"declarations": [
|
|
1998
|
-
{
|
|
1999
|
-
"kind": "variable",
|
|
2000
|
-
"name": "logger"
|
|
2001
|
-
}
|
|
2002
|
-
],
|
|
2003
|
-
"exports": [
|
|
2004
|
-
{
|
|
2005
|
-
"kind": "js",
|
|
2006
|
-
"name": "logger",
|
|
1876
|
+
"kind": "custom-element-definition",
|
|
1877
|
+
"name": "foundation-layout-popout-controller",
|
|
2007
1878
|
"declaration": {
|
|
2008
|
-
"name": "
|
|
2009
|
-
"module": "src/
|
|
1879
|
+
"name": "FoundationLayoutPopoutController",
|
|
1880
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
2010
1881
|
}
|
|
2011
1882
|
}
|
|
2012
1883
|
]
|
|
2013
1884
|
},
|
|
2014
1885
|
{
|
|
2015
1886
|
"kind": "javascript-module",
|
|
2016
|
-
"path": "src/
|
|
2017
|
-
"declarations": [],
|
|
2018
|
-
"exports": []
|
|
2019
|
-
},
|
|
2020
|
-
{
|
|
2021
|
-
"kind": "javascript-module",
|
|
2022
|
-
"path": "src/utils/popout-events.ts",
|
|
1887
|
+
"path": "src/main/layout-region.ts",
|
|
2023
1888
|
"declarations": [
|
|
2024
1889
|
{
|
|
2025
|
-
"kind": "
|
|
2026
|
-
"
|
|
2027
|
-
"
|
|
2028
|
-
|
|
1890
|
+
"kind": "class",
|
|
1891
|
+
"description": "",
|
|
1892
|
+
"name": "FoundationLayoutRegion",
|
|
1893
|
+
"members": [
|
|
1894
|
+
{
|
|
1895
|
+
"kind": "field",
|
|
1896
|
+
"name": "size",
|
|
1897
|
+
"type": {
|
|
1898
|
+
"text": "string"
|
|
1899
|
+
},
|
|
1900
|
+
"description": "optional string describing the size of the new item (see the written documentation for more info)",
|
|
1901
|
+
"privacy": "public"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"kind": "field",
|
|
1905
|
+
"name": "type",
|
|
1906
|
+
"type": {
|
|
1907
|
+
"text": "LayoutRegionType"
|
|
1908
|
+
},
|
|
1909
|
+
"default": "layoutRegionValue[0]",
|
|
1910
|
+
"description": "Defines the LayoutRegionType| type of the region.\nDefaults to `horizontal`.",
|
|
1911
|
+
"privacy": "public"
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"kind": "field",
|
|
1915
|
+
"name": "_presentation",
|
|
1916
|
+
"type": {
|
|
1917
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1918
|
+
},
|
|
1919
|
+
"privacy": "private",
|
|
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"
|
|
2029
2050
|
},
|
|
2030
|
-
"
|
|
2031
|
-
"
|
|
2032
|
-
"privacy": "public"
|
|
2051
|
+
"tagName": "%%prefix%%-layout-region",
|
|
2052
|
+
"customElement": true
|
|
2033
2053
|
}
|
|
2034
2054
|
],
|
|
2035
2055
|
"exports": [
|
|
2036
2056
|
{
|
|
2037
2057
|
"kind": "js",
|
|
2038
|
-
"name": "
|
|
2039
|
-
"declaration": {
|
|
2040
|
-
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
2041
|
-
"module": "src/utils/popout-events.ts"
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
{
|
|
2045
|
-
"kind": "js",
|
|
2046
|
-
"name": "PopoutGeometry",
|
|
2058
|
+
"name": "FoundationLayoutRegion",
|
|
2047
2059
|
"declaration": {
|
|
2048
|
-
"name": "
|
|
2049
|
-
"module": "src/
|
|
2060
|
+
"name": "FoundationLayoutRegion",
|
|
2061
|
+
"module": "src/main/layout-region.ts"
|
|
2050
2062
|
}
|
|
2051
2063
|
}
|
|
2052
2064
|
]
|
|
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
|
}
|