@genesislcap/foundation-layout 14.465.0 → 14.466.1-alpha-73081f7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +147 -119
- package/dist/dts/styles/constants.d.ts.map +1 -1
- package/dist/dts/styles/layout.styles.d.ts.map +1 -1
- package/dist/dts/utils/constants.d.ts +2 -0
- package/dist/dts/utils/constants.d.ts.map +1 -1
- package/dist/esm/styles/constants.js +2 -1
- package/dist/esm/styles/layout.styles.js +65 -142
- package/dist/esm/utils/constants.js +13 -1
- package/package.json +15 -15
|
@@ -185,6 +185,125 @@
|
|
|
185
185
|
}
|
|
186
186
|
]
|
|
187
187
|
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "javascript-module",
|
|
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
|
+
],
|
|
212
|
+
"exports": [
|
|
213
|
+
{
|
|
214
|
+
"kind": "js",
|
|
215
|
+
"name": "glVisualConfig",
|
|
216
|
+
"declaration": {
|
|
217
|
+
"name": "glVisualConfig",
|
|
218
|
+
"module": "src/styles/constants.ts"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"kind": "js",
|
|
223
|
+
"name": "LAYOUT_ICONS",
|
|
224
|
+
"declaration": {
|
|
225
|
+
"name": "LAYOUT_ICONS",
|
|
226
|
+
"module": "src/styles/constants.ts"
|
|
227
|
+
}
|
|
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": [
|
|
243
|
+
{
|
|
244
|
+
"kind": "js",
|
|
245
|
+
"name": "globalDraggingStyles",
|
|
246
|
+
"declaration": {
|
|
247
|
+
"name": "globalDraggingStyles",
|
|
248
|
+
"module": "src/styles/dragging.styles.ts"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "javascript-module",
|
|
255
|
+
"path": "src/styles/index.ts",
|
|
256
|
+
"declarations": [],
|
|
257
|
+
"exports": [
|
|
258
|
+
{
|
|
259
|
+
"kind": "js",
|
|
260
|
+
"name": "*",
|
|
261
|
+
"declaration": {
|
|
262
|
+
"name": "*",
|
|
263
|
+
"package": "./constants"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"kind": "js",
|
|
268
|
+
"name": "*",
|
|
269
|
+
"declaration": {
|
|
270
|
+
"name": "*",
|
|
271
|
+
"package": "./dragging.styles"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "js",
|
|
276
|
+
"name": "*",
|
|
277
|
+
"declaration": {
|
|
278
|
+
"name": "*",
|
|
279
|
+
"package": "./layout.styles"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "javascript-module",
|
|
286
|
+
"path": "src/styles/layout.styles.ts",
|
|
287
|
+
"declarations": [
|
|
288
|
+
{
|
|
289
|
+
"kind": "variable",
|
|
290
|
+
"name": "layoutStyles",
|
|
291
|
+
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n :host {\n --foundation-tab-height: calc(\n (((var(--base-height-multiplier) + 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 .lm_stack.lm_item {\n background-color: var(--rapid-layout-item-background, var(--neutral-layer-3));\n border-style: solid;\n border-width: var(--rapid-layout-item-border-width, 0);\n border-color: var(--rapid-layout-item-border-color, var(--neutral-stroke-rest));\n border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px));\n box-sizing: border-box;\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 background-color: var(--neutral-layer-card-container);\n border-radius: 0 0\n var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px))\n var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px));\n border: var(--rapid-layout-item-inner-border, 1px solid var(--neutral-stroke-rest));\n box-sizing: border-box;\n color: var(--neutral-foreground-rest);\n }\n\n .lm_header .lm_tabs {\n padding: 0 16px;\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, 1px 1px 0 1px);\n border-color: var(--tab-active-border-color, var(--neutral-stroke-rest));\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background: var(--tab-rest-background-color, var(--neutral-layer-4));\n border-style: solid;\n border-width: var(--tab-rest-border-width, 1px);\n border-color: var(--tab-rest-border-color, transparent);\n border-radius: calc(var(--control-corner-radius) * 1.5px)\n calc(var(--control-corner-radius) * 1.5px) 0 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: 2px;\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_tab:not(.lm_active):hover {\n background-color: var(--neutral-layer-card-container);\n color: var(--accent-foreground-rest);\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n .lm_header .lm_controls > * {\n width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 8px);\n height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 8px);\n background-repeat: no-repeat;\n background-position: center;\n background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.45);\n background-color: var(\n --icon-button-background,\n color-mix(in srgb, var(--neutral-fill-strong-rest), transparent 90%)\n );\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 1;\n }\n .lm_header .lm_controls > *:hover {\n background-color: color-mix(in srgb, var(--neutral-fill-strong-hover), transparent 75%);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: 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::before {\n content: none;\n }\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: 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-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-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 right: 3px;\n }\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n .lm_header .lm_tabs {\n position: absolute;\n }\n .lm_header .lm_tab 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 {\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
|
+
},
|
|
188
307
|
{
|
|
189
308
|
"kind": "javascript-module",
|
|
190
309
|
"path": "src/main/index.ts",
|
|
@@ -1454,125 +1573,6 @@
|
|
|
1454
1573
|
}
|
|
1455
1574
|
]
|
|
1456
1575
|
},
|
|
1457
|
-
{
|
|
1458
|
-
"kind": "javascript-module",
|
|
1459
|
-
"path": "src/styles/constants.ts",
|
|
1460
|
-
"declarations": [
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "function",
|
|
1463
|
-
"name": "glVisualConfig",
|
|
1464
|
-
"return": {
|
|
1465
|
-
"type": {
|
|
1466
|
-
"text": "Omit<LayoutConfig, 'root'>"
|
|
1467
|
-
}
|
|
1468
|
-
}
|
|
1469
|
-
},
|
|
1470
|
-
{
|
|
1471
|
-
"kind": "variable",
|
|
1472
|
-
"name": "LAYOUT_ICONS",
|
|
1473
|
-
"type": {
|
|
1474
|
-
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
|
1475
|
-
},
|
|
1476
|
-
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
|
1477
|
-
"description": "A collection of SVG icons in base64 format.",
|
|
1478
|
-
"privacy": "public"
|
|
1479
|
-
}
|
|
1480
|
-
],
|
|
1481
|
-
"exports": [
|
|
1482
|
-
{
|
|
1483
|
-
"kind": "js",
|
|
1484
|
-
"name": "glVisualConfig",
|
|
1485
|
-
"declaration": {
|
|
1486
|
-
"name": "glVisualConfig",
|
|
1487
|
-
"module": "src/styles/constants.ts"
|
|
1488
|
-
}
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"kind": "js",
|
|
1492
|
-
"name": "LAYOUT_ICONS",
|
|
1493
|
-
"declaration": {
|
|
1494
|
-
"name": "LAYOUT_ICONS",
|
|
1495
|
-
"module": "src/styles/constants.ts"
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
]
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
"kind": "javascript-module",
|
|
1502
|
-
"path": "src/styles/dragging.styles.ts",
|
|
1503
|
-
"declarations": [
|
|
1504
|
-
{
|
|
1505
|
-
"kind": "variable",
|
|
1506
|
-
"name": "globalDraggingStyles",
|
|
1507
|
-
"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`",
|
|
1508
|
-
"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"
|
|
1509
|
-
}
|
|
1510
|
-
],
|
|
1511
|
-
"exports": [
|
|
1512
|
-
{
|
|
1513
|
-
"kind": "js",
|
|
1514
|
-
"name": "globalDraggingStyles",
|
|
1515
|
-
"declaration": {
|
|
1516
|
-
"name": "globalDraggingStyles",
|
|
1517
|
-
"module": "src/styles/dragging.styles.ts"
|
|
1518
|
-
}
|
|
1519
|
-
}
|
|
1520
|
-
]
|
|
1521
|
-
},
|
|
1522
|
-
{
|
|
1523
|
-
"kind": "javascript-module",
|
|
1524
|
-
"path": "src/styles/index.ts",
|
|
1525
|
-
"declarations": [],
|
|
1526
|
-
"exports": [
|
|
1527
|
-
{
|
|
1528
|
-
"kind": "js",
|
|
1529
|
-
"name": "*",
|
|
1530
|
-
"declaration": {
|
|
1531
|
-
"name": "*",
|
|
1532
|
-
"package": "./constants"
|
|
1533
|
-
}
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
"kind": "js",
|
|
1537
|
-
"name": "*",
|
|
1538
|
-
"declaration": {
|
|
1539
|
-
"name": "*",
|
|
1540
|
-
"package": "./dragging.styles"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"kind": "js",
|
|
1545
|
-
"name": "*",
|
|
1546
|
-
"declaration": {
|
|
1547
|
-
"name": "*",
|
|
1548
|
-
"package": "./layout.styles"
|
|
1549
|
-
}
|
|
1550
|
-
}
|
|
1551
|
-
]
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
"kind": "javascript-module",
|
|
1555
|
-
"path": "src/styles/layout.styles.ts",
|
|
1556
|
-
"declarations": [
|
|
1557
|
-
{
|
|
1558
|
-
"kind": "variable",
|
|
1559
|
-
"name": "layoutStyles",
|
|
1560
|
-
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n :host {\n --foundation-tab-height: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .lm_goldenlayout {\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n }\n\n .lm_stack.lm_item {\n background-color: var(--neutral-layer-3);\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n }\n\n .lm_maximised .lm_header {\n background-color: var(--neutral-layer-3);\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n background-color: var(--neutral-layer-card-container);\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n border: 1px solid;\n border-color: var(--neutral-stroke-rest);\n box-sizing: border-box;\n color: var(--neutral-foreground-rest);\n }\n\n .lm_header .lm_tabs {\n padding: 0 16px;\n }\n\n .lm_stack > .lm_items {\n box-shadow: 0 -1px 15px rgb(0 0 0 / 15%);\n }\n\n .lm_header .lm_tab.lm_active.lm_focused {\n background-color: var(--neutral-layer-card-container);\n }\n\n .lm_header .lm_tab.lm_active {\n background-color: var(--neutral-layer-card-container);\n border: 1px solid;\n border-color: var(--neutral-stroke-rest);\n border-bottom: 0;\n color: var(--accent-foreground-rest);\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background-color: var(--neutral-layer-4);\n border: 0;\n border-bottom-color: transparent;\n border-bottom: 0 solid;\n border-color: var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1.5px)\n calc(var(--control-corner-radius) * 1.5px) 0 0;\n color: var(--accent-foreground-rest);\n display: flex;\n font-family: inherit;\n font-size: 13px;\n font-weight: 400;\n height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 8px);\n margin-right: 2px;\n margin-top: 3px;\n padding: 2px 16px;\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: var(--neutral-layer-card-container);\n color: var(--accent-foreground-rest);\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n\n .lm_header .lm_controls > * {\n width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 6px);\n height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 6px);\n background-repeat: no-repeat;\n background-position: center;\n background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.533333);\n background-color: color-mix(in srgb, var(--neutral-fill-strong-rest), transparent 90%);\n border-radius: calc(var(--control-corner-radius) * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 100%;\n }\n\n .lm_header .lm_controls > *:hover {\n background-color: color-mix(in srgb, var(--neutral-fill-strong-hover), transparent 75%);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\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 margin-left: 12px;\n position: relative;\n top: 0;\n right: 0;\n }\n\n .lm_header .lm_tab.lm_active {\n padding: 4px 25px 3px 10px;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: var(--neutral-foreground-hint);\n }\n\n .lm_header .lm_controls .lm_tabdropdown::before {\n content: none;\n }\n\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\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: 0 5px 15px rgb(0 0 0 / 35%);\n }\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-radius: 0;\n overflow: visible;\n text-overflow: normal;\n }\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\n .lm_row > .lm_item {\n float: left;\n }\n\n .lm_content {\n overflow: hidden;\n position: relative;\n }\n\n .lm_dragging,\n .lm_dragging * {\n cursor: move !important;\n user-select: none;\n }\n\n .lm_maximised {\n left: 0;\n padding: 1px;\n position: absolute;\n top: 0;\n z-index: 40;\n }\n\n .lm_maximise_placeholder {\n display: none;\n }\n\n .lm_splitter {\n position: relative;\n z-index: 20;\n }\n\n .lm_splitter:hover,\n .lm_splitter.lm_dragging {\n background: var(--accent-fill-rest);\n border-radius: calc(var(--control-corner-radius) * 4px);\n }\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\n .lm_splitter.lm_horizontal {\n float: left;\n height: 100%;\n }\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\n .lm_header {\n overflow: visible;\n position: relative;\n }\n\n .lm_header [class^='lm_'] {\n box-sizing: content-box !important;\n }\n\n .lm_header .lm_controls {\n position: absolute;\n right: 3px;\n }\n\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .lm_header .lm_tabs {\n position: absolute;\n }\n\n .lm_header .lm_tab {\n cursor: pointer;\n float: left;\n margin-top: 1px;\n padding: 3px 25px 3px 10px;\n position: relative;\n }\n\n .lm_header .lm_tab i {\n width: 2px;\n height: 19px;\n position: absolute;\n }\n\n .lm_header .lm_tab i.lm_left {\n top: 0;\n left: -2px;\n }\n\n .lm_header .lm_tab i.lm_right {\n top: 0;\n right: -2px;\n }\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\n .lm_header .lm_tab .lm_title:only-child {\n padding-left: 10px;\n }\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 top: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3055);\n position: absolute;\n right: 0;\n text-align: center;\n }\n\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n height: 100%;\n }\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\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\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\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\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\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\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\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\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\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n left: 3px;\n }\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\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\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\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\n .lm_drop_tab_placeholder {\n float: left;\n width: 100px;\n height: 10px;\n visibility: hidden;\n }\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\n .lm_header .lm_tabdropdown_list .lm_tab {\n clear: both;\n padding-right: 10px;\n margin: 0;\n }\n\n .lm_header .lm_tabdropdown_list .lm_tab .lm_title {\n width: 100px;\n }\n\n .lm_header .lm_tabdropdown_list .lm_close_tab {\n display: none !important;\n }\n\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n box-shadow: none;\n }\n\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\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\n .lm_popin {\n width: 20px;\n height: 20px;\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: 9999;\n }\n\n .lm_popin > * {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n }\n\n .lm_popin > .lm_bg {\n z-index: 10;\n }\n\n .lm_popin > .lm_icon {\n z-index: 20;\n } /*# sourceMappingURL=goldenlayout-base.css.map */\n`",
|
|
1561
|
-
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
|
1562
|
-
"privacy": "public"
|
|
1563
|
-
}
|
|
1564
|
-
],
|
|
1565
|
-
"exports": [
|
|
1566
|
-
{
|
|
1567
|
-
"kind": "js",
|
|
1568
|
-
"name": "layoutStyles",
|
|
1569
|
-
"declaration": {
|
|
1570
|
-
"name": "layoutStyles",
|
|
1571
|
-
"module": "src/styles/layout.styles.ts"
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
]
|
|
1575
|
-
},
|
|
1576
1576
|
{
|
|
1577
1577
|
"kind": "javascript-module",
|
|
1578
1578
|
"path": "src/utils/constants.ts",
|
|
@@ -1625,6 +1625,18 @@
|
|
|
1625
1625
|
{
|
|
1626
1626
|
"kind": "function",
|
|
1627
1627
|
"name": "getLayoutHeaderHeight"
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"kind": "variable",
|
|
1631
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1632
|
+
"type": {
|
|
1633
|
+
"text": "number"
|
|
1634
|
+
},
|
|
1635
|
+
"default": "0"
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "function",
|
|
1639
|
+
"name": "getItemBorderWidth"
|
|
1628
1640
|
}
|
|
1629
1641
|
],
|
|
1630
1642
|
"exports": [
|
|
@@ -1675,6 +1687,22 @@
|
|
|
1675
1687
|
"name": "getLayoutHeaderHeight",
|
|
1676
1688
|
"module": "src/utils/constants.ts"
|
|
1677
1689
|
}
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "js",
|
|
1693
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1694
|
+
"declaration": {
|
|
1695
|
+
"name": "DEFAULT_BORDER_WIDTH",
|
|
1696
|
+
"module": "src/utils/constants.ts"
|
|
1697
|
+
}
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"kind": "js",
|
|
1701
|
+
"name": "getItemBorderWidth",
|
|
1702
|
+
"declaration": {
|
|
1703
|
+
"name": "getItemBorderWidth",
|
|
1704
|
+
"module": "src/utils/constants.ts"
|
|
1705
|
+
}
|
|
1678
1706
|
}
|
|
1679
1707
|
]
|
|
1680
1708
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/styles/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,eAAO,MAAM,cAAc,QAAO,IAAI,CAAC,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/styles/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAGhE,eAAO,MAAM,cAAc,QAAO,IAAI,CAAC,YAAY,EAAE,MAAM,CAWzD,CAAC;AAoBH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,YAAY;;;;;;;CAOf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.styles.d.ts","sourceRoot":"","sources":["../../../src/styles/layout.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"layout.styles.d.ts","sourceRoot":"","sources":["../../../src/styles/layout.styles.ts"],"names":[],"mappings":"AA0FA;;;;;GAKG;AACH,eAAO,MAAM,YAAY,iDAuaxB,CAAC"}
|
|
@@ -41,4 +41,6 @@ export declare const POPOUT_GEOMETRY_BROADCAST_INTERVAL = 1000;
|
|
|
41
41
|
export declare const LAYOUT_POPOUT_CONTAINER_CLASS = "f-layout-popout";
|
|
42
42
|
export declare const DEFAULT_TAB_HEIGHT = "36px";
|
|
43
43
|
export declare const getLayoutHeaderHeight: () => string;
|
|
44
|
+
export declare const DEFAULT_BORDER_WIDTH = 0;
|
|
45
|
+
export declare const getItemBorderWidth: () => number;
|
|
44
46
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,aAAa,eAA2B,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,eAA+B,CAAC;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,YAAY,+BAA+B,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAExD;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,OAAO,CAAC;AAEvD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,oBAAoB,CAAC;AAE/D,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAGzC,eAAO,MAAM,qBAAqB,cAMjC,CAAC;AAEF,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAKtC,eAAO,MAAM,kBAAkB,cAK9B,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { getLayoutHeaderHeight } from '../utils';
|
|
1
|
+
import { getItemBorderWidth, getLayoutHeaderHeight } from '../utils';
|
|
2
2
|
export const glVisualConfig = () => ({
|
|
3
3
|
dimensions: {
|
|
4
4
|
headerHeight: parseInt(getLayoutHeaderHeight().replace('px', '')),
|
|
5
5
|
borderWidth: 12,
|
|
6
|
+
itemBorder: getItemBorderWidth(),
|
|
6
7
|
},
|
|
7
8
|
header: {
|
|
8
9
|
maximise: 'maximise',
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// NOTE: This file is
|
|
1
|
+
// NOTE: This file is excluded from stylelint (.stylelintignore) and oxfmt (.oxfmtrc.json ignorePatterns)
|
|
2
|
+
// because the golden-layout css class names and hand-tuned formatting go against the platform's rules.
|
|
2
3
|
import { css } from '@microsoft/fast-element';
|
|
3
4
|
import { DEFAULT_TAB_HEIGHT } from '../utils';
|
|
4
5
|
import { LAYOUT_ICONS } from './constants';
|
|
@@ -8,7 +9,6 @@ const containerStyles = `
|
|
|
8
9
|
position: relative;
|
|
9
10
|
height: 100%;
|
|
10
11
|
width: 100%;
|
|
11
|
-
background-color: var(--fill-color);
|
|
12
12
|
}
|
|
13
13
|
.layout-container {
|
|
14
14
|
position: absolute;
|
|
@@ -30,16 +30,18 @@ const loadingSpinnerStyles = css `
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.html-spinner {
|
|
33
|
-
transition-property: -webkit-transform;
|
|
34
|
-
transition-duration: 1.2s;
|
|
35
|
-
animation-name: rotate;
|
|
36
|
-
animation-iteration-count: infinite;
|
|
37
|
-
animation-timing-function: linear;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
animation-
|
|
41
|
-
animation-
|
|
42
|
-
animation-
|
|
33
|
+
-webkit-transition-property: -webkit-transform;
|
|
34
|
+
-webkit-transition-duration: 1.2s;
|
|
35
|
+
-webkit-animation-name: rotate;
|
|
36
|
+
-webkit-animation-iteration-count: infinite;
|
|
37
|
+
-webkit-animation-timing-function: linear;
|
|
38
|
+
|
|
39
|
+
-moz-transition-property: -moz-transform;
|
|
40
|
+
-moz-animation-name: rotate;
|
|
41
|
+
-moz-animation-duration: 1.2s;
|
|
42
|
+
-moz-animation-iteration-count: infinite;
|
|
43
|
+
-moz-animation-timing-function: linear;
|
|
44
|
+
|
|
43
45
|
transition-property: transform;
|
|
44
46
|
animation-name: rotate;
|
|
45
47
|
animation-duration: 1.2s;
|
|
@@ -47,23 +49,21 @@ const loadingSpinnerStyles = css `
|
|
|
47
49
|
animation-timing-function: linear;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
|
|
52
|
+
@-webkit-keyframes rotate {
|
|
51
53
|
from {
|
|
52
|
-
transform: rotate(0deg);
|
|
54
|
+
-webkit-transform: rotate(0deg);
|
|
53
55
|
}
|
|
54
|
-
|
|
55
56
|
to {
|
|
56
|
-
transform: rotate(360deg);
|
|
57
|
+
-webkit-transform: rotate(360deg);
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
@-moz-keyframes rotate {
|
|
61
62
|
from {
|
|
62
|
-
transform: rotate(0deg);
|
|
63
|
+
-moz-transform: rotate(0deg);
|
|
63
64
|
}
|
|
64
|
-
|
|
65
65
|
to {
|
|
66
|
-
transform: rotate(360deg);
|
|
66
|
+
-moz-transform: rotate(360deg);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -71,7 +71,6 @@ const loadingSpinnerStyles = css `
|
|
|
71
71
|
from {
|
|
72
72
|
transform: rotate(0deg);
|
|
73
73
|
}
|
|
74
|
-
|
|
75
74
|
to {
|
|
76
75
|
transform: rotate(360deg);
|
|
77
76
|
}
|
|
@@ -104,16 +103,25 @@ export const layoutStyles = css `
|
|
|
104
103
|
|
|
105
104
|
.lm_goldenlayout {
|
|
106
105
|
border-radius: calc(var(--control-corner-radius) * 1.5px);
|
|
106
|
+
font-family: var(--body-font);
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.lm_goldenlayout * {
|
|
111
|
+
box-sizing: border-box;
|
|
107
112
|
}
|
|
108
113
|
|
|
109
114
|
.lm_stack.lm_item {
|
|
110
|
-
background-color: var(--neutral-layer-3);
|
|
111
|
-
border-
|
|
115
|
+
background-color: var(--rapid-layout-item-background, var(--neutral-layer-3));
|
|
116
|
+
border-style: solid;
|
|
117
|
+
border-width: var(--rapid-layout-item-border-width, 0);
|
|
118
|
+
border-color: var(--rapid-layout-item-border-color, var(--neutral-stroke-rest));
|
|
119
|
+
border-radius: var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px));
|
|
120
|
+
box-sizing: border-box;
|
|
112
121
|
}
|
|
113
122
|
|
|
114
123
|
.lm_maximised .lm_header {
|
|
115
|
-
|
|
116
|
-
border-radius: calc(var(--control-corner-radius) * 1.5px);
|
|
124
|
+
border-bottom: var(--card-border, 0);
|
|
117
125
|
position: unset;
|
|
118
126
|
}
|
|
119
127
|
|
|
@@ -123,9 +131,10 @@ export const layoutStyles = css `
|
|
|
123
131
|
|
|
124
132
|
.lm_content {
|
|
125
133
|
background-color: var(--neutral-layer-card-container);
|
|
126
|
-
border-radius:
|
|
127
|
-
|
|
128
|
-
|
|
134
|
+
border-radius: 0 0
|
|
135
|
+
var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px))
|
|
136
|
+
var(--card-corner-radius, calc(var(--control-corner-radius) * 1.5px));
|
|
137
|
+
border: var(--rapid-layout-item-inner-border, 1px solid var(--neutral-stroke-rest));
|
|
129
138
|
box-sizing: border-box;
|
|
130
139
|
color: var(--neutral-foreground-rest);
|
|
131
140
|
}
|
|
@@ -134,40 +143,33 @@ export const layoutStyles = css `
|
|
|
134
143
|
padding: 0 16px;
|
|
135
144
|
}
|
|
136
145
|
|
|
137
|
-
.lm_stack > .lm_items {
|
|
138
|
-
box-shadow: 0 -1px 15px rgb(0 0 0 / 15%);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.lm_header .lm_tab.lm_active.lm_focused {
|
|
142
|
-
background-color: var(--neutral-layer-card-container);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
146
|
.lm_header .lm_tab.lm_active {
|
|
146
|
-
background-color
|
|
147
|
-
border: 1px solid;
|
|
148
|
-
border-color: var(--neutral-stroke-rest);
|
|
149
|
-
border-bottom: 0;
|
|
147
|
+
background: var(--tab-active-background-color, var(--neutral-layer-card-container));
|
|
150
148
|
color: var(--accent-foreground-rest);
|
|
149
|
+
border-style: solid;
|
|
150
|
+
border-width: var(--tab-active-border-width, 1px 1px 0 1px);
|
|
151
|
+
border-color: var(--tab-active-border-color, var(--neutral-stroke-rest));
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.lm_header .lm_tab {
|
|
154
155
|
align-items: center;
|
|
155
|
-
background-color
|
|
156
|
-
border:
|
|
157
|
-
border-
|
|
158
|
-
border-
|
|
159
|
-
border-color: var(--neutral-stroke-rest);
|
|
156
|
+
background: var(--tab-rest-background-color, var(--neutral-layer-4));
|
|
157
|
+
border-style: solid;
|
|
158
|
+
border-width: var(--tab-rest-border-width, 1px);
|
|
159
|
+
border-color: var(--tab-rest-border-color, transparent);
|
|
160
160
|
border-radius: calc(var(--control-corner-radius) * 1.5px)
|
|
161
161
|
calc(var(--control-corner-radius) * 1.5px) 0 0;
|
|
162
162
|
color: var(--accent-foreground-rest);
|
|
163
163
|
display: flex;
|
|
164
164
|
font-family: inherit;
|
|
165
|
-
font-size:
|
|
165
|
+
font-size: var(--type-ramp-minus-1-font-size);
|
|
166
166
|
font-weight: 400;
|
|
167
|
-
height:
|
|
167
|
+
height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});
|
|
168
168
|
margin-right: 2px;
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
padding: 0 calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);
|
|
170
|
+
float: left;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
position: relative;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
.lm_header .lm_tab:not(.lm_active):hover {
|
|
@@ -179,20 +181,21 @@ export const layoutStyles = css `
|
|
|
179
181
|
top: 4px;
|
|
180
182
|
display: flex;
|
|
181
183
|
}
|
|
182
|
-
|
|
183
184
|
.lm_header .lm_controls > * {
|
|
184
|
-
width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) -
|
|
185
|
-
height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) -
|
|
185
|
+
width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 8px);
|
|
186
|
+
height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) - 8px);
|
|
186
187
|
background-repeat: no-repeat;
|
|
187
188
|
background-position: center;
|
|
188
|
-
background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.
|
|
189
|
-
background-color:
|
|
189
|
+
background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.45);
|
|
190
|
+
background-color: var(
|
|
191
|
+
--icon-button-background,
|
|
192
|
+
color-mix(in srgb, var(--neutral-fill-strong-rest), transparent 90%)
|
|
193
|
+
);
|
|
190
194
|
border-radius: calc(var(--control-corner-radius) * 1.5px);
|
|
191
195
|
margin-right: 4px;
|
|
192
196
|
top: 3px;
|
|
193
|
-
opacity:
|
|
197
|
+
opacity: 1;
|
|
194
198
|
}
|
|
195
|
-
|
|
196
199
|
.lm_header .lm_controls > *:hover {
|
|
197
200
|
background-color: color-mix(in srgb, var(--neutral-fill-strong-hover), transparent 75%);
|
|
198
201
|
cursor: pointer;
|
|
@@ -201,27 +204,19 @@ export const layoutStyles = css `
|
|
|
201
204
|
.lm_controls .lm_maximise {
|
|
202
205
|
background-image: url('${LAYOUT_ICONS.maximiseSVG}');
|
|
203
206
|
}
|
|
204
|
-
|
|
205
207
|
.lm_maximised .lm_controls .lm_maximise {
|
|
206
208
|
background-image: url('${LAYOUT_ICONS.minimiseSVG}');
|
|
207
209
|
}
|
|
208
|
-
|
|
209
210
|
.lm_controls .lm_close {
|
|
210
211
|
background-image: url('${LAYOUT_ICONS.closeSVG}');
|
|
211
212
|
}
|
|
212
|
-
|
|
213
213
|
.lm_header .lm_tab .lm_close_tab {
|
|
214
214
|
background-image: url('${LAYOUT_ICONS.closeSVG}');
|
|
215
215
|
background-size: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.2777);
|
|
216
216
|
background-repeat: no-repeat;
|
|
217
|
-
|
|
217
|
+
background-position: center;
|
|
218
|
+
margin-left: calc((12 + var(--design-unit) * 2 * var(--density)) * 1px);
|
|
218
219
|
position: relative;
|
|
219
|
-
top: 0;
|
|
220
|
-
right: 0;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.lm_header .lm_tab.lm_active {
|
|
224
|
-
padding: 4px 25px 3px 10px;
|
|
225
220
|
}
|
|
226
221
|
|
|
227
222
|
.lm_header .lm_tab:not(.lm_active) .lm_title {
|
|
@@ -231,11 +226,9 @@ export const layoutStyles = css `
|
|
|
231
226
|
.lm_header .lm_controls .lm_tabdropdown::before {
|
|
232
227
|
content: none;
|
|
233
228
|
}
|
|
234
|
-
|
|
235
229
|
.lm_header .lm_controls .lm_tabdropdown {
|
|
236
230
|
background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');
|
|
237
231
|
}
|
|
238
|
-
|
|
239
232
|
.lm_header .lm_tabdropdown_list {
|
|
240
233
|
top: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});
|
|
241
234
|
right: 108px;
|
|
@@ -243,9 +236,8 @@ export const layoutStyles = css `
|
|
|
243
236
|
border: 1px solid;
|
|
244
237
|
border-color: var(--neutral-stroke-rest);
|
|
245
238
|
border-radius: calc(var(--control-corner-radius) * 1.5px);
|
|
246
|
-
box-shadow:
|
|
239
|
+
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
|
|
247
240
|
}
|
|
248
|
-
|
|
249
241
|
.lm_header .lm_tabdropdown_list > .lm_tab {
|
|
250
242
|
box-shadow: none;
|
|
251
243
|
padding: 0 16px;
|
|
@@ -255,9 +247,8 @@ export const layoutStyles = css `
|
|
|
255
247
|
height: var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT});
|
|
256
248
|
border-radius: 0;
|
|
257
249
|
overflow: visible;
|
|
258
|
-
text-overflow:
|
|
250
|
+
text-overflow: unset;
|
|
259
251
|
}
|
|
260
|
-
|
|
261
252
|
.lm_header .lm_tabdropdown_list > .lm_tab:last-child {
|
|
262
253
|
border-bottom: 0;
|
|
263
254
|
}
|
|
@@ -266,45 +257,37 @@ export const layoutStyles = css `
|
|
|
266
257
|
.lm_root {
|
|
267
258
|
position: relative;
|
|
268
259
|
}
|
|
269
|
-
|
|
270
260
|
.lm_row > .lm_item {
|
|
271
261
|
float: left;
|
|
272
262
|
}
|
|
273
|
-
|
|
274
263
|
.lm_content {
|
|
275
264
|
overflow: hidden;
|
|
276
265
|
position: relative;
|
|
277
266
|
}
|
|
278
|
-
|
|
279
267
|
.lm_dragging,
|
|
280
268
|
.lm_dragging * {
|
|
281
269
|
cursor: move !important;
|
|
282
270
|
user-select: none;
|
|
283
271
|
}
|
|
284
|
-
|
|
285
272
|
.lm_maximised {
|
|
286
273
|
left: 0;
|
|
287
|
-
padding:
|
|
274
|
+
padding: 0;
|
|
288
275
|
position: absolute;
|
|
289
276
|
top: 0;
|
|
290
277
|
z-index: 40;
|
|
291
278
|
}
|
|
292
|
-
|
|
293
279
|
.lm_maximise_placeholder {
|
|
294
280
|
display: none;
|
|
295
281
|
}
|
|
296
|
-
|
|
297
282
|
.lm_splitter {
|
|
298
283
|
position: relative;
|
|
299
284
|
z-index: 20;
|
|
300
285
|
}
|
|
301
|
-
|
|
302
286
|
.lm_splitter:hover,
|
|
303
287
|
.lm_splitter.lm_dragging {
|
|
304
288
|
background: var(--accent-fill-rest);
|
|
305
289
|
border-radius: calc(var(--control-corner-radius) * 4px);
|
|
306
290
|
}
|
|
307
|
-
|
|
308
291
|
.lm_splitter.lm_vertical .lm_drag_handle {
|
|
309
292
|
width: 100%;
|
|
310
293
|
height: 15px;
|
|
@@ -312,12 +295,10 @@ export const layoutStyles = css `
|
|
|
312
295
|
top: -5px;
|
|
313
296
|
cursor: ns-resize !important;
|
|
314
297
|
}
|
|
315
|
-
|
|
316
298
|
.lm_splitter.lm_horizontal {
|
|
317
299
|
float: left;
|
|
318
300
|
height: 100%;
|
|
319
301
|
}
|
|
320
|
-
|
|
321
302
|
.lm_splitter.lm_horizontal .lm_drag_handle {
|
|
322
303
|
width: 15px;
|
|
323
304
|
height: 100%;
|
|
@@ -325,21 +306,15 @@ export const layoutStyles = css `
|
|
|
325
306
|
left: -5px;
|
|
326
307
|
cursor: ew-resize !important;
|
|
327
308
|
}
|
|
328
|
-
|
|
329
309
|
.lm_header {
|
|
330
310
|
overflow: visible;
|
|
331
311
|
position: relative;
|
|
312
|
+
border-bottom: var(--card-border, 0);
|
|
332
313
|
}
|
|
333
|
-
|
|
334
|
-
.lm_header [class^='lm_'] {
|
|
335
|
-
box-sizing: content-box !important;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
314
|
.lm_header .lm_controls {
|
|
339
315
|
position: absolute;
|
|
340
316
|
right: 3px;
|
|
341
317
|
}
|
|
342
|
-
|
|
343
318
|
.lm_header .lm_controls > li {
|
|
344
319
|
cursor: pointer;
|
|
345
320
|
float: left;
|
|
@@ -347,66 +322,42 @@ export const layoutStyles = css `
|
|
|
347
322
|
height: 18px;
|
|
348
323
|
text-align: center;
|
|
349
324
|
}
|
|
350
|
-
|
|
351
325
|
.lm_header ul {
|
|
352
326
|
margin: 0;
|
|
353
327
|
padding: 0;
|
|
354
328
|
list-style-type: none;
|
|
355
329
|
}
|
|
356
|
-
|
|
357
330
|
.lm_header .lm_tabs {
|
|
358
331
|
position: absolute;
|
|
359
332
|
}
|
|
360
|
-
|
|
361
|
-
.lm_header .lm_tab {
|
|
362
|
-
cursor: pointer;
|
|
363
|
-
float: left;
|
|
364
|
-
margin-top: 1px;
|
|
365
|
-
padding: 3px 25px 3px 10px;
|
|
366
|
-
position: relative;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
333
|
.lm_header .lm_tab i {
|
|
370
334
|
width: 2px;
|
|
371
335
|
height: 19px;
|
|
372
336
|
position: absolute;
|
|
373
337
|
}
|
|
374
|
-
|
|
375
338
|
.lm_header .lm_tab i.lm_left {
|
|
376
339
|
top: 0;
|
|
377
340
|
left: -2px;
|
|
378
341
|
}
|
|
379
|
-
|
|
380
342
|
.lm_header .lm_tab i.lm_right {
|
|
381
343
|
top: 0;
|
|
382
344
|
right: -2px;
|
|
383
345
|
}
|
|
384
|
-
|
|
385
346
|
.lm_header .lm_tab .lm_title {
|
|
386
347
|
display: inline-block;
|
|
387
348
|
overflow: hidden;
|
|
388
349
|
text-overflow: ellipsis;
|
|
389
350
|
user-select: none;
|
|
390
351
|
}
|
|
391
|
-
|
|
392
|
-
.lm_header .lm_tab .lm_title:only-child {
|
|
393
|
-
padding-left: 10px;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
352
|
.lm_header .lm_tab .lm_close_tab {
|
|
397
353
|
width: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);
|
|
398
354
|
height: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3888);
|
|
399
|
-
top: calc(var(--foundation-tab-height, ${DEFAULT_TAB_HEIGHT}) * 0.3055);
|
|
400
|
-
position: absolute;
|
|
401
|
-
right: 0;
|
|
402
355
|
text-align: center;
|
|
403
356
|
}
|
|
404
|
-
|
|
405
357
|
.lm_stack.lm_left .lm_header,
|
|
406
358
|
.lm_stack.lm_right .lm_header {
|
|
407
359
|
height: 100%;
|
|
408
360
|
}
|
|
409
|
-
|
|
410
361
|
.lm_dragProxy.lm_left .lm_header,
|
|
411
362
|
.lm_dragProxy.lm_right .lm_header,
|
|
412
363
|
.lm_stack.lm_left .lm_header,
|
|
@@ -415,7 +366,6 @@ export const layoutStyles = css `
|
|
|
415
366
|
float: left;
|
|
416
367
|
vertical-align: top;
|
|
417
368
|
}
|
|
418
|
-
|
|
419
369
|
.lm_dragProxy.lm_left .lm_header .lm_tabs,
|
|
420
370
|
.lm_dragProxy.lm_right .lm_header .lm_tabs,
|
|
421
371
|
.lm_stack.lm_left .lm_header .lm_tabs,
|
|
@@ -424,86 +374,72 @@ export const layoutStyles = css `
|
|
|
424
374
|
top: 0;
|
|
425
375
|
width: 1000px;
|
|
426
376
|
}
|
|
427
|
-
|
|
428
377
|
.lm_dragProxy.lm_left .lm_header .lm_controls,
|
|
429
378
|
.lm_dragProxy.lm_right .lm_header .lm_controls,
|
|
430
379
|
.lm_stack.lm_left .lm_header .lm_controls,
|
|
431
380
|
.lm_stack.lm_right .lm_header .lm_controls {
|
|
432
381
|
bottom: 0;
|
|
433
382
|
}
|
|
434
|
-
|
|
435
383
|
.lm_dragProxy.lm_left .lm_items,
|
|
436
384
|
.lm_dragProxy.lm_right .lm_items,
|
|
437
385
|
.lm_stack.lm_left .lm_items,
|
|
438
386
|
.lm_stack.lm_right .lm_items {
|
|
439
387
|
float: left;
|
|
440
388
|
}
|
|
441
|
-
|
|
442
389
|
.lm_dragProxy.lm_left .lm_header .lm_tabs,
|
|
443
390
|
.lm_stack.lm_left .lm_header .lm_tabs {
|
|
444
391
|
transform: rotate(-90deg) scaleX(-1);
|
|
445
392
|
left: 0;
|
|
446
393
|
}
|
|
447
|
-
|
|
448
394
|
.lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,
|
|
449
395
|
.lm_stack.lm_left .lm_header .lm_tabs .lm_tab {
|
|
450
396
|
transform: scaleX(-1);
|
|
451
397
|
margin-top: 1px;
|
|
452
398
|
}
|
|
453
|
-
|
|
454
399
|
.lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,
|
|
455
400
|
.lm_stack.lm_left .lm_header .lm_tabdropdown_list {
|
|
456
401
|
top: initial;
|
|
457
402
|
right: initial;
|
|
458
403
|
left: 20px;
|
|
459
404
|
}
|
|
460
|
-
|
|
461
405
|
.lm_dragProxy.lm_right .lm_content {
|
|
462
406
|
float: left;
|
|
463
407
|
}
|
|
464
|
-
|
|
465
408
|
.lm_dragProxy.lm_right .lm_header .lm_tabs,
|
|
466
409
|
.lm_stack.lm_right .lm_header .lm_tabs {
|
|
467
410
|
transform: rotate(90deg) scaleX(1);
|
|
468
411
|
left: 100%;
|
|
469
412
|
margin-left: 0;
|
|
470
413
|
}
|
|
471
|
-
|
|
472
414
|
.lm_dragProxy.lm_right .lm_header .lm_controls,
|
|
473
415
|
.lm_stack.lm_right .lm_header .lm_controls {
|
|
474
416
|
left: 3px;
|
|
475
417
|
}
|
|
476
|
-
|
|
477
418
|
.lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,
|
|
478
419
|
.lm_stack.lm_right .lm_header .lm_tabdropdown_list {
|
|
479
420
|
top: initial;
|
|
480
421
|
right: 20px;
|
|
481
422
|
}
|
|
482
|
-
|
|
483
423
|
.lm_dragProxy.lm_bottom .lm_header .lm_tab,
|
|
484
424
|
.lm_stack.lm_bottom .lm_header .lm_tab {
|
|
485
425
|
margin-top: 0;
|
|
486
426
|
border-top: none;
|
|
487
427
|
}
|
|
488
|
-
|
|
489
428
|
.lm_dragProxy.lm_bottom .lm_header .lm_controls,
|
|
490
429
|
.lm_stack.lm_bottom .lm_header .lm_controls {
|
|
491
430
|
top: 3px;
|
|
492
431
|
}
|
|
493
|
-
|
|
494
432
|
.lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,
|
|
495
433
|
.lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {
|
|
496
434
|
top: initial;
|
|
497
435
|
bottom: 20px;
|
|
498
436
|
}
|
|
499
|
-
|
|
500
437
|
.lm_drop_tab_placeholder {
|
|
501
438
|
float: left;
|
|
502
439
|
width: 100px;
|
|
503
440
|
height: 10px;
|
|
504
441
|
visibility: hidden;
|
|
505
442
|
}
|
|
506
|
-
|
|
507
443
|
.lm_header .lm_tabdropdown_list {
|
|
508
444
|
position: absolute;
|
|
509
445
|
top: 20px;
|
|
@@ -511,44 +447,36 @@ export const layoutStyles = css `
|
|
|
511
447
|
z-index: 5;
|
|
512
448
|
overflow: hidden;
|
|
513
449
|
}
|
|
514
|
-
|
|
515
450
|
.lm_header .lm_tabdropdown_list .lm_tab {
|
|
516
451
|
clear: both;
|
|
517
452
|
padding-right: 10px;
|
|
518
453
|
margin: 0;
|
|
519
454
|
}
|
|
520
|
-
|
|
521
455
|
.lm_header .lm_tabdropdown_list .lm_tab .lm_title {
|
|
522
456
|
width: 100px;
|
|
523
457
|
}
|
|
524
|
-
|
|
525
458
|
.lm_header .lm_tabdropdown_list .lm_close_tab {
|
|
526
459
|
display: none !important;
|
|
527
460
|
}
|
|
528
|
-
|
|
529
461
|
.lm_dragProxy {
|
|
530
462
|
position: absolute;
|
|
531
463
|
top: 0;
|
|
532
464
|
left: 0;
|
|
533
465
|
z-index: 30;
|
|
534
466
|
}
|
|
535
|
-
|
|
536
467
|
.lm_dragProxy .lm_header {
|
|
537
468
|
background: transparent;
|
|
538
469
|
}
|
|
539
|
-
|
|
540
470
|
.lm_dragProxy .lm_content {
|
|
541
471
|
border-top: none;
|
|
542
472
|
overflow: hidden;
|
|
543
473
|
}
|
|
544
|
-
|
|
545
474
|
.lm_dropTargetIndicator {
|
|
546
475
|
display: none;
|
|
547
476
|
position: absolute;
|
|
548
477
|
z-index: 20;
|
|
549
478
|
box-shadow: none;
|
|
550
479
|
}
|
|
551
|
-
|
|
552
480
|
.lm_dropTargetIndicator .lm_inner {
|
|
553
481
|
width: 100%;
|
|
554
482
|
height: 100%;
|
|
@@ -556,7 +484,6 @@ export const layoutStyles = css `
|
|
|
556
484
|
top: 0;
|
|
557
485
|
left: 0;
|
|
558
486
|
}
|
|
559
|
-
|
|
560
487
|
.lm_transition_indicator {
|
|
561
488
|
display: none;
|
|
562
489
|
width: 20px;
|
|
@@ -566,7 +493,6 @@ export const layoutStyles = css `
|
|
|
566
493
|
left: 0;
|
|
567
494
|
z-index: 20;
|
|
568
495
|
}
|
|
569
|
-
|
|
570
496
|
.lm_popin {
|
|
571
497
|
width: 20px;
|
|
572
498
|
height: 20px;
|
|
@@ -575,7 +501,6 @@ export const layoutStyles = css `
|
|
|
575
501
|
right: 0;
|
|
576
502
|
z-index: 9999;
|
|
577
503
|
}
|
|
578
|
-
|
|
579
504
|
.lm_popin > * {
|
|
580
505
|
width: 100%;
|
|
581
506
|
height: 100%;
|
|
@@ -583,11 +508,9 @@ export const layoutStyles = css `
|
|
|
583
508
|
top: 0;
|
|
584
509
|
left: 0;
|
|
585
510
|
}
|
|
586
|
-
|
|
587
511
|
.lm_popin > .lm_bg {
|
|
588
512
|
z-index: 10;
|
|
589
513
|
}
|
|
590
|
-
|
|
591
514
|
.lm_popin > .lm_icon {
|
|
592
515
|
z-index: 20;
|
|
593
516
|
} /*# sourceMappingURL=goldenlayout-base.css.map */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
// oxlint-disable-next-line no-magic-numbers
|
|
2
|
+
import { designTokensMap, selectCustomToken } from '@genesislcap/foundation-ui';
|
|
2
3
|
/**
|
|
3
4
|
* Used to key what type of LayoutComponent an object is
|
|
4
5
|
* @internal
|
|
@@ -50,3 +51,14 @@ export const getLayoutHeaderHeight = () => {
|
|
|
50
51
|
// oxlint-disable-next-line no-magic-numbers -- matches design token calc offset
|
|
51
52
|
return `${(style.baseHeightMultiplier.$value + style.density.$value) * space.designUnit.$value - 4}px`;
|
|
52
53
|
};
|
|
54
|
+
export const DEFAULT_BORDER_WIDTH = 0;
|
|
55
|
+
// Reads the --rapid-layout-item-border-width token (a `px` dimension, e.g. "2px") and
|
|
56
|
+
// returns it as a unitless pixel count for golden-layout's `itemBorder` dimension.
|
|
57
|
+
// Falls back to DEFAULT_BORDER_WIDTH when the token is unset or not a parseable length.
|
|
58
|
+
export const getItemBorderWidth = () => {
|
|
59
|
+
const token = selectCustomToken('rapid', 'layout', 'item', 'border', 'width');
|
|
60
|
+
if (!(token === null || token === void 0 ? void 0 : token.$value))
|
|
61
|
+
return DEFAULT_BORDER_WIDTH;
|
|
62
|
+
const parsed = parseFloat(String(token.$value));
|
|
63
|
+
return Number.isNaN(parsed) ? DEFAULT_BORDER_WIDTH : parsed;
|
|
64
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-layout",
|
|
3
3
|
"description": "Genesis Foundation UI App Layout",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.466.1-alpha-73081f7.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-layout.d.ts",
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "14.
|
|
42
|
-
"@genesislcap/genx": "14.
|
|
43
|
-
"@genesislcap/rollup-builder": "14.
|
|
44
|
-
"@genesislcap/ts-builder": "14.
|
|
45
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
46
|
-
"@genesislcap/vite-builder": "14.
|
|
47
|
-
"@genesislcap/webpack-builder": "14.
|
|
41
|
+
"@genesislcap/foundation-testing": "14.466.1-alpha-73081f7.0",
|
|
42
|
+
"@genesislcap/genx": "14.466.1-alpha-73081f7.0",
|
|
43
|
+
"@genesislcap/rollup-builder": "14.466.1-alpha-73081f7.0",
|
|
44
|
+
"@genesislcap/ts-builder": "14.466.1-alpha-73081f7.0",
|
|
45
|
+
"@genesislcap/uvu-playwright-builder": "14.466.1-alpha-73081f7.0",
|
|
46
|
+
"@genesislcap/vite-builder": "14.466.1-alpha-73081f7.0",
|
|
47
|
+
"@genesislcap/webpack-builder": "14.466.1-alpha-73081f7.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@genesis-community/golden-layout": "^2.13.0",
|
|
51
|
-
"@genesislcap/foundation-broadcast-channel": "14.
|
|
52
|
-
"@genesislcap/foundation-comms": "14.
|
|
53
|
-
"@genesislcap/foundation-events": "14.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.
|
|
51
|
+
"@genesislcap/foundation-broadcast-channel": "14.466.1-alpha-73081f7.0",
|
|
52
|
+
"@genesislcap/foundation-comms": "14.466.1-alpha-73081f7.0",
|
|
53
|
+
"@genesislcap/foundation-events": "14.466.1-alpha-73081f7.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.466.1-alpha-73081f7.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.466.1-alpha-73081f7.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.466.1-alpha-73081f7.0",
|
|
57
57
|
"@microsoft/fast-components": "2.30.6",
|
|
58
58
|
"@microsoft/fast-element": "1.14.0",
|
|
59
59
|
"@microsoft/fast-foundation": "2.50.0"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
69
|
"customElements": "dist/custom-elements.json",
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "890fd9ed0a0360ccc0ff5cfc390e0c39088b1136"
|
|
71
71
|
}
|