@genesislcap/foundation-layout 14.231.1-alpha-aa210cb.0 → 14.232.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/custom-elements.json +119 -151
- package/dist/dts/main/layout-main.d.ts +2 -4
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/esm/main/layout-main.js +1 -10
- package/dist/foundation-layout.api.json +0 -91
- package/dist/foundation-layout.d.ts +1 -4
- package/docs/api/foundation-layout.foundationlayout.md +0 -3
- package/docs/api-report.md +0 -7
- package/package.json +12 -12
- package/docs/api/foundation-layout.foundationlayout.layout.md +0 -11
- package/docs/api/foundation-layout.foundationlayout.showcloseicon.md +0 -11
- package/docs/api/foundation-layout.foundationlayout.showmaximiseicon.md +0 -11
@@ -444,7 +444,7 @@
|
|
444
444
|
"type": {
|
445
445
|
"text": "GoldenLayout"
|
446
446
|
},
|
447
|
-
"privacy": "
|
447
|
+
"privacy": "private"
|
448
448
|
},
|
449
449
|
{
|
450
450
|
"kind": "field",
|
@@ -573,22 +573,6 @@
|
|
573
573
|
"privacy": "private",
|
574
574
|
"default": "false"
|
575
575
|
},
|
576
|
-
{
|
577
|
-
"kind": "field",
|
578
|
-
"name": "showCloseIcon",
|
579
|
-
"type": {
|
580
|
-
"text": "boolean"
|
581
|
-
},
|
582
|
-
"default": "false"
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"kind": "field",
|
586
|
-
"name": "showMaximiseIcon",
|
587
|
-
"type": {
|
588
|
-
"text": "boolean"
|
589
|
-
},
|
590
|
-
"default": "false"
|
591
|
-
},
|
592
576
|
{
|
593
577
|
"kind": "method",
|
594
578
|
"name": "layoutRequiredRegistrations",
|
@@ -929,22 +913,6 @@
|
|
929
913
|
"module": "src/main/layout-main.ts"
|
930
914
|
},
|
931
915
|
"fieldName": "popoutConfig"
|
932
|
-
},
|
933
|
-
{
|
934
|
-
"name": "showCloseIcon",
|
935
|
-
"type": {
|
936
|
-
"text": "boolean"
|
937
|
-
},
|
938
|
-
"default": "false",
|
939
|
-
"fieldName": "showCloseIcon"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"name": "showMaximiseIcon",
|
943
|
-
"type": {
|
944
|
-
"text": "boolean"
|
945
|
-
},
|
946
|
-
"default": "false",
|
947
|
-
"fieldName": "showMaximiseIcon"
|
948
916
|
}
|
949
917
|
],
|
950
918
|
"superclass": {
|
@@ -1170,124 +1138,6 @@
|
|
1170
1138
|
}
|
1171
1139
|
]
|
1172
1140
|
},
|
1173
|
-
{
|
1174
|
-
"kind": "javascript-module",
|
1175
|
-
"path": "src/styles/constants.ts",
|
1176
|
-
"declarations": [
|
1177
|
-
{
|
1178
|
-
"kind": "variable",
|
1179
|
-
"name": "glVisualConfig",
|
1180
|
-
"type": {
|
1181
|
-
"text": "Omit<LayoutConfig, 'root'>"
|
1182
|
-
},
|
1183
|
-
"default": "{\n dimensions: {\n headerHeight: 38,\n borderWidth: 12,\n },\n header: {\n maximise: 'maximise',\n minimise: 'minimise',\n popout: false,\n },\n}"
|
1184
|
-
},
|
1185
|
-
{
|
1186
|
-
"kind": "variable",
|
1187
|
-
"name": "LAYOUT_ICONS",
|
1188
|
-
"type": {
|
1189
|
-
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
1190
|
-
},
|
1191
|
-
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
1192
|
-
"description": "A collection of SVG icons in base64 format.",
|
1193
|
-
"privacy": "public"
|
1194
|
-
}
|
1195
|
-
],
|
1196
|
-
"exports": [
|
1197
|
-
{
|
1198
|
-
"kind": "js",
|
1199
|
-
"name": "glVisualConfig",
|
1200
|
-
"declaration": {
|
1201
|
-
"name": "glVisualConfig",
|
1202
|
-
"module": "src/styles/constants.ts"
|
1203
|
-
}
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"kind": "js",
|
1207
|
-
"name": "LAYOUT_ICONS",
|
1208
|
-
"declaration": {
|
1209
|
-
"name": "LAYOUT_ICONS",
|
1210
|
-
"module": "src/styles/constants.ts"
|
1211
|
-
}
|
1212
|
-
}
|
1213
|
-
]
|
1214
|
-
},
|
1215
|
-
{
|
1216
|
-
"kind": "javascript-module",
|
1217
|
-
"path": "src/styles/dragging.styles.ts",
|
1218
|
-
"declarations": [
|
1219
|
-
{
|
1220
|
-
"kind": "variable",
|
1221
|
-
"name": "globalDraggingStyles",
|
1222
|
-
"default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\n box-shadow: inset 0 0 30px #000000;\n outline: 1px dashed #cccccc;\n transition: all 200ms ease;\n }\n .lm_dropTargetIndicator .lm_inner {\n background: var(${neutralFillStealthRest.cssCustomProperty});\n opacity: 0.2;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_dragProxy {\n 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`",
|
1223
|
-
"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"
|
1224
|
-
}
|
1225
|
-
],
|
1226
|
-
"exports": [
|
1227
|
-
{
|
1228
|
-
"kind": "js",
|
1229
|
-
"name": "globalDraggingStyles",
|
1230
|
-
"declaration": {
|
1231
|
-
"name": "globalDraggingStyles",
|
1232
|
-
"module": "src/styles/dragging.styles.ts"
|
1233
|
-
}
|
1234
|
-
}
|
1235
|
-
]
|
1236
|
-
},
|
1237
|
-
{
|
1238
|
-
"kind": "javascript-module",
|
1239
|
-
"path": "src/styles/index.ts",
|
1240
|
-
"declarations": [],
|
1241
|
-
"exports": [
|
1242
|
-
{
|
1243
|
-
"kind": "js",
|
1244
|
-
"name": "*",
|
1245
|
-
"declaration": {
|
1246
|
-
"name": "*",
|
1247
|
-
"package": "./constants"
|
1248
|
-
}
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"kind": "js",
|
1252
|
-
"name": "*",
|
1253
|
-
"declaration": {
|
1254
|
-
"name": "*",
|
1255
|
-
"package": "./dragging.styles"
|
1256
|
-
}
|
1257
|
-
},
|
1258
|
-
{
|
1259
|
-
"kind": "js",
|
1260
|
-
"name": "*",
|
1261
|
-
"declaration": {
|
1262
|
-
"name": "*",
|
1263
|
-
"package": "./layout.styles"
|
1264
|
-
}
|
1265
|
-
}
|
1266
|
-
]
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"kind": "javascript-module",
|
1270
|
-
"path": "src/styles/layout.styles.ts",
|
1271
|
-
"declarations": [
|
1272
|
-
{
|
1273
|
-
"kind": "variable",
|
1274
|
-
"name": "layoutStyles",
|
1275
|
-
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n .lm_goldenlayout {\n padding: 1px;\n background: ${neutralLayer1};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n\n .lm_stack.lm_item {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n .lm_maximised .lm_header {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n background-color: ${neutralLayer3};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n border: 1px solid;\n border-color: #2e3339;\n box-sizing: border-box;\n }\n\n .lm-header {\n z-index: 1;\n }\n .lm_header .lm_tabs {\n padding: 0 16px;\n }\n\n .lm_stack > .lm_items {\n z-index: 2;\n box-shadow: 0px -1px 15px rgba(0, 0, 0, 0.35);\n }\n\n .lm_header .lm_tab.lm_active.lm_focused {\n background-color: ${neutralLayer3};\n }\n .lm_header .lm_tab.lm_active {\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-bottom: 0;\n color: ${accentFillRest};\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background-color: ${neutralLayer4};\n border: 1px solid;\n border-bottom-color: #2e3339;\n border-bottom: 0px solid;\n border-color: rgba(0, 0, 0, 0.35);\n border-radius: calc(${controlCornerRadius} * 1.5px) calc(${controlCornerRadius} * 1.5px) 0 0;\n box-shadow: 1px -1px 2px rgba(0, 0, 0, 0.35);\n color: rgba(255, 255, 255, 0.3);\n display: flex;\n font-family: inherit;\n font-size: 13px;\n font-weight: 700;\n height: 30px;\n margin-right: 2px;\n margin-top: 3px;\n padding: 2px 16px;\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #f1f1f1;\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n .lm_header .lm_controls > * {\n width: 30px;\n height: 30px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px;\n background-color: rgba(255, 255, 255, 0.03);\n border-radius: calc(${controlCornerRadius} * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 1;\n }\n .lm_header .lm_controls > *:hover {\n background-color: rgba(255, 255, 255, 0.1);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: 10px;\n background-repeat: no-repeat;\n margin-left: 12px;\n position: relative;\n top: 0;\n right: 0;\n }\n\n .lm_header .lm_tab.lm_active {\n padding: 4px 25px 3px 10px;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: ${accentFillRest};\n opacity: 0.7;\n }\n\n .lm_header .lm_controls .lm_tabdropdown::before {\n content: none;\n }\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: 38px;\n right: 108px;\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-radius: calc(${controlCornerRadius} * 1.5px);\n box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);\n }\n .lm_header .lm_tabdropdown_list > .lm_tab {\n box-shadow: none;\n padding: 0 16px;\n white-space: nowrap;\n background-color: transparent;\n color: #c9c9c9;\n height: 36px;\n border-radius: 0;\n overflow: visible;\n text-overflow: normal;\n }\n .lm_header .lm_tabdropdown_list > .lm_tab:last-child {\n border-bottom: 0;\n }\n\n /* gl base styles start */\n .lm_root {\n position: relative;\n }\n .lm_row > .lm_item {\n float: left;\n }\n .lm_content {\n overflow: hidden;\n position: relative;\n }\n .lm_dragging,\n .lm_dragging * {\n cursor: move !important;\n user-select: none;\n }\n .lm_maximised {\n left: 0;\n padding: 1px;\n position: absolute;\n top: 0;\n z-index: 40;\n }\n .lm_maximise_placeholder {\n display: none;\n }\n .lm_splitter {\n position: relative;\n z-index: 20;\n }\n .lm_splitter:hover,\n .lm_splitter.lm_dragging {\n background: ${accentFillRest};\n border-radius: calc(${controlCornerRadius} * 4px);\n }\n .lm_splitter.lm_vertical .lm_drag_handle {\n width: 100%;\n height: 15px;\n position: absolute;\n top: -5px;\n cursor: ns-resize !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 z-index: 1;\n }\n .lm_header [class^='lm_'] {\n box-sizing: content-box !important;\n }\n .lm_header .lm_controls {\n position: absolute;\n right: 3px;\n }\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n .lm_header .lm_tabs {\n position: absolute;\n }\n .lm_header .lm_tab {\n cursor: pointer;\n float: left;\n margin-top: 1px;\n padding: 3px 25px 3px 10px;\n position: relative;\n }\n .lm_header .lm_tab i {\n width: 2px;\n height: 19px;\n position: absolute;\n }\n .lm_header .lm_tab i.lm_left {\n top: 0;\n left: -2px;\n }\n .lm_header .lm_tab i.lm_right {\n top: 0;\n right: -2px;\n }\n .lm_header .lm_tab .lm_title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n user-select: none;\n }\n .lm_header .lm_tab .lm_title:only-child {\n padding-left: 10px;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: 14px;\n height: 14px;\n position: absolute;\n top: 11px;\n right: 0;\n text-align: center;\n }\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n height: 100%;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header,\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_left .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items,\n .lm_stack.lm_left .lm_items,\n .lm_stack.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,\n .lm_stack.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab,\n .lm_stack.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_drop_tab_placeholder {\n float: left;\n width: 100px;\n height: 10px;\n visibility: hidden;\n }\n .lm_header .lm_tabdropdown_list {\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 5;\n overflow: hidden;\n }\n .lm_header .lm_tabdropdown_list .lm_tab {\n clear: both;\n padding-right: 10px;\n margin: 0;\n }\n .lm_header .lm_tabdropdown_list .lm_tab .lm_title {\n width: 100px;\n }\n .lm_header .lm_tabdropdown_list .lm_close_tab {\n display: none !important;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n .lm_popin {\n width: 20px;\n height: 20px;\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: 9999;\n }\n .lm_popin > * {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n }\n .lm_popin > .lm_bg {\n z-index: 10;\n }\n .lm_popin > .lm_icon {\n z-index: 20;\n } /*# sourceMappingURL=goldenlayout-base.css.map */\n`",
|
1276
|
-
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
1277
|
-
"privacy": "public"
|
1278
|
-
}
|
1279
|
-
],
|
1280
|
-
"exports": [
|
1281
|
-
{
|
1282
|
-
"kind": "js",
|
1283
|
-
"name": "layoutStyles",
|
1284
|
-
"declaration": {
|
1285
|
-
"name": "layoutStyles",
|
1286
|
-
"module": "src/styles/layout.styles.ts"
|
1287
|
-
}
|
1288
|
-
}
|
1289
|
-
]
|
1290
|
-
},
|
1291
1141
|
{
|
1292
1142
|
"kind": "javascript-module",
|
1293
1143
|
"path": "src/utils/constants.ts",
|
@@ -1517,6 +1367,124 @@
|
|
1517
1367
|
"path": "src/utils/types.ts",
|
1518
1368
|
"declarations": [],
|
1519
1369
|
"exports": []
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"kind": "javascript-module",
|
1373
|
+
"path": "src/styles/constants.ts",
|
1374
|
+
"declarations": [
|
1375
|
+
{
|
1376
|
+
"kind": "variable",
|
1377
|
+
"name": "glVisualConfig",
|
1378
|
+
"type": {
|
1379
|
+
"text": "Omit<LayoutConfig, 'root'>"
|
1380
|
+
},
|
1381
|
+
"default": "{\n dimensions: {\n headerHeight: 38,\n borderWidth: 12,\n },\n header: {\n maximise: 'maximise',\n minimise: 'minimise',\n popout: false,\n },\n}"
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"kind": "variable",
|
1385
|
+
"name": "LAYOUT_ICONS",
|
1386
|
+
"type": {
|
1387
|
+
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
1388
|
+
},
|
1389
|
+
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
1390
|
+
"description": "A collection of SVG icons in base64 format.",
|
1391
|
+
"privacy": "public"
|
1392
|
+
}
|
1393
|
+
],
|
1394
|
+
"exports": [
|
1395
|
+
{
|
1396
|
+
"kind": "js",
|
1397
|
+
"name": "glVisualConfig",
|
1398
|
+
"declaration": {
|
1399
|
+
"name": "glVisualConfig",
|
1400
|
+
"module": "src/styles/constants.ts"
|
1401
|
+
}
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"kind": "js",
|
1405
|
+
"name": "LAYOUT_ICONS",
|
1406
|
+
"declaration": {
|
1407
|
+
"name": "LAYOUT_ICONS",
|
1408
|
+
"module": "src/styles/constants.ts"
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
]
|
1412
|
+
},
|
1413
|
+
{
|
1414
|
+
"kind": "javascript-module",
|
1415
|
+
"path": "src/styles/dragging.styles.ts",
|
1416
|
+
"declarations": [
|
1417
|
+
{
|
1418
|
+
"kind": "variable",
|
1419
|
+
"name": "globalDraggingStyles",
|
1420
|
+
"default": "`\n .lm_dragProxy .lm_content {\n box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);\n }\n .lm_dropTargetIndicator {\n box-shadow: inset 0 0 30px #000000;\n outline: 1px dashed #cccccc;\n transition: all 200ms ease;\n }\n .lm_dropTargetIndicator .lm_inner {\n background: var(${neutralFillStealthRest.cssCustomProperty});\n opacity: 0.2;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_dragProxy {\n 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`",
|
1421
|
+
"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"
|
1422
|
+
}
|
1423
|
+
],
|
1424
|
+
"exports": [
|
1425
|
+
{
|
1426
|
+
"kind": "js",
|
1427
|
+
"name": "globalDraggingStyles",
|
1428
|
+
"declaration": {
|
1429
|
+
"name": "globalDraggingStyles",
|
1430
|
+
"module": "src/styles/dragging.styles.ts"
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
]
|
1434
|
+
},
|
1435
|
+
{
|
1436
|
+
"kind": "javascript-module",
|
1437
|
+
"path": "src/styles/index.ts",
|
1438
|
+
"declarations": [],
|
1439
|
+
"exports": [
|
1440
|
+
{
|
1441
|
+
"kind": "js",
|
1442
|
+
"name": "*",
|
1443
|
+
"declaration": {
|
1444
|
+
"name": "*",
|
1445
|
+
"package": "./constants"
|
1446
|
+
}
|
1447
|
+
},
|
1448
|
+
{
|
1449
|
+
"kind": "js",
|
1450
|
+
"name": "*",
|
1451
|
+
"declaration": {
|
1452
|
+
"name": "*",
|
1453
|
+
"package": "./dragging.styles"
|
1454
|
+
}
|
1455
|
+
},
|
1456
|
+
{
|
1457
|
+
"kind": "js",
|
1458
|
+
"name": "*",
|
1459
|
+
"declaration": {
|
1460
|
+
"name": "*",
|
1461
|
+
"package": "./layout.styles"
|
1462
|
+
}
|
1463
|
+
}
|
1464
|
+
]
|
1465
|
+
},
|
1466
|
+
{
|
1467
|
+
"kind": "javascript-module",
|
1468
|
+
"path": "src/styles/layout.styles.ts",
|
1469
|
+
"declarations": [
|
1470
|
+
{
|
1471
|
+
"kind": "variable",
|
1472
|
+
"name": "layoutStyles",
|
1473
|
+
"default": "css`\n ${containerStyles}\n ${loadingSpinnerStyles}\n\n .lm_goldenlayout {\n padding: 1px;\n background: ${neutralLayer1};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n\n .lm_stack.lm_item {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n }\n .lm_maximised .lm_header {\n background-color: ${neutralLayer4};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n position: unset;\n }\n\n .lm_maximised .lm_header .lm_tabs {\n z-index: 3;\n }\n\n .lm_content {\n background-color: ${neutralLayer3};\n border-radius: calc(${controlCornerRadius} * 1.5px);\n border: 1px solid;\n border-color: #2e3339;\n box-sizing: border-box;\n }\n\n .lm-header {\n z-index: 1;\n }\n .lm_header .lm_tabs {\n padding: 0 16px;\n }\n\n .lm_stack > .lm_items {\n z-index: 2;\n box-shadow: 0px -1px 15px rgba(0, 0, 0, 0.35);\n }\n\n .lm_header .lm_tab.lm_active.lm_focused {\n background-color: ${neutralLayer3};\n }\n .lm_header .lm_tab.lm_active {\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-bottom: 0;\n color: ${accentFillRest};\n }\n\n .lm_header .lm_tab {\n align-items: center;\n background-color: ${neutralLayer4};\n border: 1px solid;\n border-bottom-color: #2e3339;\n border-bottom: 0px solid;\n border-color: rgba(0, 0, 0, 0.35);\n border-radius: calc(${controlCornerRadius} * 1.5px) calc(${controlCornerRadius} * 1.5px) 0 0;\n box-shadow: 1px -1px 2px rgba(0, 0, 0, 0.35);\n color: rgba(255, 255, 255, 0.3);\n display: flex;\n font-family: inherit;\n font-size: 13px;\n font-weight: 700;\n height: 30px;\n margin-right: 2px;\n margin-top: 3px;\n padding: 2px 16px;\n }\n\n .lm_header .lm_tab:not(.lm_active):hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #f1f1f1;\n }\n\n .lm_header .lm_controls {\n top: 4px;\n display: flex;\n }\n .lm_header .lm_controls > * {\n width: 30px;\n height: 30px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: 16px;\n background-color: rgba(255, 255, 255, 0.03);\n border-radius: calc(${controlCornerRadius} * 1.5px);\n margin-right: 4px;\n top: 3px;\n opacity: 1;\n }\n .lm_header .lm_controls > *:hover {\n background-color: rgba(255, 255, 255, 0.1);\n cursor: pointer;\n }\n\n .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.maximiseSVG}');\n }\n .lm_maximised .lm_controls .lm_maximise {\n background-image: url('${LAYOUT_ICONS.minimiseSVG}');\n }\n .lm_controls .lm_close {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n }\n .lm_header .lm_tab .lm_close_tab {\n background-image: url('${LAYOUT_ICONS.closeSVG}');\n background-size: 10px;\n background-repeat: no-repeat;\n margin-left: 12px;\n position: relative;\n top: 0;\n right: 0;\n }\n\n .lm_header .lm_tab.lm_active {\n padding: 4px 25px 3px 10px;\n }\n\n .lm_header .lm_tab:not(.lm_active) .lm_title {\n color: ${accentFillRest};\n opacity: 0.7;\n }\n\n .lm_header .lm_controls .lm_tabdropdown::before {\n content: none;\n }\n .lm_header .lm_controls .lm_tabdropdown {\n background-image: url('${LAYOUT_ICONS.tabDropdownSVG}');\n }\n .lm_header .lm_tabdropdown_list {\n top: 38px;\n right: 108px;\n background-color: ${neutralLayer3};\n border: 1px solid;\n border-color: #2e3339;\n border-radius: calc(${controlCornerRadius} * 1.5px);\n box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);\n }\n .lm_header .lm_tabdropdown_list > .lm_tab {\n box-shadow: none;\n padding: 0 16px;\n white-space: nowrap;\n background-color: transparent;\n color: #c9c9c9;\n height: 36px;\n border-radius: 0;\n overflow: visible;\n text-overflow: normal;\n }\n .lm_header .lm_tabdropdown_list > .lm_tab:last-child {\n border-bottom: 0;\n }\n\n /* gl base styles start */\n .lm_root {\n position: relative;\n }\n .lm_row > .lm_item {\n float: left;\n }\n .lm_content {\n overflow: hidden;\n position: relative;\n }\n .lm_dragging,\n .lm_dragging * {\n cursor: move !important;\n user-select: none;\n }\n .lm_maximised {\n left: 0;\n padding: 1px;\n position: absolute;\n top: 0;\n z-index: 40;\n }\n .lm_maximise_placeholder {\n display: none;\n }\n .lm_splitter {\n position: relative;\n z-index: 20;\n }\n .lm_splitter:hover,\n .lm_splitter.lm_dragging {\n background: ${accentFillRest};\n border-radius: calc(${controlCornerRadius} * 4px);\n }\n .lm_splitter.lm_vertical .lm_drag_handle {\n width: 100%;\n height: 15px;\n position: absolute;\n top: -5px;\n cursor: ns-resize !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 z-index: 1;\n }\n .lm_header [class^='lm_'] {\n box-sizing: content-box !important;\n }\n .lm_header .lm_controls {\n position: absolute;\n right: 3px;\n }\n .lm_header .lm_controls > li {\n cursor: pointer;\n float: left;\n width: 18px;\n height: 18px;\n text-align: center;\n }\n .lm_header ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n .lm_header .lm_tabs {\n position: absolute;\n }\n .lm_header .lm_tab {\n cursor: pointer;\n float: left;\n margin-top: 1px;\n padding: 3px 25px 3px 10px;\n position: relative;\n }\n .lm_header .lm_tab i {\n width: 2px;\n height: 19px;\n position: absolute;\n }\n .lm_header .lm_tab i.lm_left {\n top: 0;\n left: -2px;\n }\n .lm_header .lm_tab i.lm_right {\n top: 0;\n right: -2px;\n }\n .lm_header .lm_tab .lm_title {\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n user-select: none;\n }\n .lm_header .lm_tab .lm_title:only-child {\n padding-left: 10px;\n }\n .lm_header .lm_tab .lm_close_tab {\n width: 14px;\n height: 14px;\n position: absolute;\n top: 11px;\n right: 0;\n text-align: center;\n }\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n height: 100%;\n }\n .lm_dragProxy.lm_left .lm_header,\n .lm_dragProxy.lm_right .lm_header,\n .lm_stack.lm_left .lm_header,\n .lm_stack.lm_right .lm_header {\n width: 20px;\n float: left;\n vertical-align: top;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform-origin: left top;\n top: 0;\n width: 1000px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_controls,\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_left .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n bottom: 0;\n }\n .lm_dragProxy.lm_left .lm_items,\n .lm_dragProxy.lm_right .lm_items,\n .lm_stack.lm_left .lm_items,\n .lm_stack.lm_right .lm_items {\n float: left;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs,\n .lm_stack.lm_left .lm_header .lm_tabs {\n transform: rotate(-90deg) scaleX(-1);\n left: 0;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabs .lm_tab,\n .lm_stack.lm_left .lm_header .lm_tabs .lm_tab {\n transform: scaleX(-1);\n margin-top: 1px;\n }\n .lm_dragProxy.lm_left .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_left .lm_header .lm_tabdropdown_list {\n top: initial;\n right: initial;\n left: 20px;\n }\n .lm_dragProxy.lm_right .lm_content {\n float: left;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabs,\n .lm_stack.lm_right .lm_header .lm_tabs {\n transform: rotate(90deg) scaleX(1);\n left: 100%;\n margin-left: 0;\n }\n .lm_dragProxy.lm_right .lm_header .lm_controls,\n .lm_stack.lm_right .lm_header .lm_controls {\n left: 3px;\n }\n .lm_dragProxy.lm_right .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_right .lm_header .lm_tabdropdown_list {\n top: initial;\n right: 20px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tab,\n .lm_stack.lm_bottom .lm_header .lm_tab {\n margin-top: 0;\n border-top: none;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_controls,\n .lm_stack.lm_bottom .lm_header .lm_controls {\n top: 3px;\n }\n .lm_dragProxy.lm_bottom .lm_header .lm_tabdropdown_list,\n .lm_stack.lm_bottom .lm_header .lm_tabdropdown_list {\n top: initial;\n bottom: 20px;\n }\n .lm_drop_tab_placeholder {\n float: left;\n width: 100px;\n height: 10px;\n visibility: hidden;\n }\n .lm_header .lm_tabdropdown_list {\n position: absolute;\n top: 20px;\n right: 0;\n z-index: 5;\n overflow: hidden;\n }\n .lm_header .lm_tabdropdown_list .lm_tab {\n clear: both;\n padding-right: 10px;\n margin: 0;\n }\n .lm_header .lm_tabdropdown_list .lm_tab .lm_title {\n width: 100px;\n }\n .lm_header .lm_tabdropdown_list .lm_close_tab {\n display: none !important;\n }\n .lm_dragProxy {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 30;\n }\n .lm_dragProxy .lm_header {\n background: transparent;\n }\n .lm_dragProxy .lm_content {\n border-top: none;\n overflow: hidden;\n }\n .lm_dropTargetIndicator {\n display: none;\n position: absolute;\n z-index: 20;\n }\n .lm_dropTargetIndicator .lm_inner {\n width: 100%;\n height: 100%;\n position: relative;\n top: 0;\n left: 0;\n }\n .lm_transition_indicator {\n display: none;\n width: 20px;\n height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 20;\n }\n .lm_popin {\n width: 20px;\n height: 20px;\n position: absolute;\n bottom: 0;\n right: 0;\n z-index: 9999;\n }\n .lm_popin > * {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n }\n .lm_popin > .lm_bg {\n z-index: 10;\n }\n .lm_popin > .lm_icon {\n z-index: 20;\n } /*# sourceMappingURL=goldenlayout-base.css.map */\n`",
|
1474
|
+
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
1475
|
+
"privacy": "public"
|
1476
|
+
}
|
1477
|
+
],
|
1478
|
+
"exports": [
|
1479
|
+
{
|
1480
|
+
"kind": "js",
|
1481
|
+
"name": "layoutStyles",
|
1482
|
+
"declaration": {
|
1483
|
+
"name": "layoutStyles",
|
1484
|
+
"module": "src/styles/layout.styles.ts"
|
1485
|
+
}
|
1486
|
+
}
|
1487
|
+
]
|
1520
1488
|
}
|
1521
1489
|
]
|
1522
1490
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { LayoutConfig, RootItemConfig } from '@genesis-community/golden-layout';
|
2
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
3
3
|
import { LayoutComponent, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout, componentType, CustomButton } from '../utils/';
|
4
4
|
export { layoutStyles } from '../styles';
|
@@ -16,7 +16,7 @@ export { layoutStyles } from '../styles';
|
|
16
16
|
*/
|
17
17
|
export declare class FoundationLayout extends FoundationElement implements LayoutComponent {
|
18
18
|
#private;
|
19
|
-
layout
|
19
|
+
private layout;
|
20
20
|
/** @internal */
|
21
21
|
layoutElement: HTMLElement;
|
22
22
|
private layoutConfig;
|
@@ -101,8 +101,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
101
101
|
*/
|
102
102
|
popoutConfig: string | undefined;
|
103
103
|
private popupMode;
|
104
|
-
showCloseIcon: boolean;
|
105
|
-
showMaximiseIcon: boolean;
|
106
104
|
/** @internal */
|
107
105
|
constructor();
|
108
106
|
/** @internal */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"layout-main.d.ts","sourceRoot":"","sources":["../../../src/main/layout-main.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"layout-main.d.ts","sourceRoot":"","sources":["../../../src/main/layout-main.ts"],"names":[],"mappings":"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"}
|
@@ -106,8 +106,6 @@ export class FoundationLayout extends FoundationElement {
|
|
106
106
|
*/
|
107
107
|
this.popoutConfig = undefined;
|
108
108
|
this.popupMode = false;
|
109
|
-
this.showCloseIcon = false;
|
110
|
-
this.showMaximiseIcon = false;
|
111
109
|
/** @internal */
|
112
110
|
_FoundationLayout__boundDragListener.set(this, undefined);
|
113
111
|
this.onDragStart = this.onDragStart.bind(this);
|
@@ -713,8 +711,7 @@ export class FoundationLayout extends FoundationElement {
|
|
713
711
|
*/
|
714
712
|
loadGLConfigAndSetup(config) {
|
715
713
|
this.hasFirstLoaded = true;
|
716
|
-
|
717
|
-
this.layout.loadLayout(Object.assign(Object.assign(Object.assign({}, layoutConfig), glVisualConfig), { dimensions: Object.assign(Object.assign({}, glVisualConfig.dimensions), this.dimensionsConfig) }));
|
714
|
+
this.layout.loadLayout(Object.assign(Object.assign(Object.assign({}, config), glVisualConfig), { dimensions: Object.assign(Object.assign({}, glVisualConfig.dimensions), this.dimensionsConfig) }));
|
718
715
|
this.attatchResizeEvents();
|
719
716
|
}
|
720
717
|
/**
|
@@ -835,12 +832,6 @@ __decorate([
|
|
835
832
|
__decorate([
|
836
833
|
attr({ attribute: 'popout-config' })
|
837
834
|
], FoundationLayout.prototype, "popoutConfig", void 0);
|
838
|
-
__decorate([
|
839
|
-
attr({ attribute: 'showCloseIcon' })
|
840
|
-
], FoundationLayout.prototype, "showCloseIcon", void 0);
|
841
|
-
__decorate([
|
842
|
-
attr({ attribute: 'showMaximiseIcon' })
|
843
|
-
], FoundationLayout.prototype, "showMaximiseIcon", void 0);
|
844
835
|
const loadingTemplate = html `
|
845
836
|
<div class="html-spinner"></div>
|
846
837
|
`;
|
@@ -586,37 +586,6 @@
|
|
586
586
|
"isProtected": false,
|
587
587
|
"isAbstract": false
|
588
588
|
},
|
589
|
-
{
|
590
|
-
"kind": "Property",
|
591
|
-
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#layout:member",
|
592
|
-
"docComment": "",
|
593
|
-
"excerptTokens": [
|
594
|
-
{
|
595
|
-
"kind": "Content",
|
596
|
-
"text": "layout: "
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"kind": "Reference",
|
600
|
-
"text": "GoldenLayout",
|
601
|
-
"canonicalReference": "@genesis-community/golden-layout!GoldenLayout:class"
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"kind": "Content",
|
605
|
-
"text": ";"
|
606
|
-
}
|
607
|
-
],
|
608
|
-
"isReadonly": false,
|
609
|
-
"isOptional": false,
|
610
|
-
"releaseTag": "Public",
|
611
|
-
"name": "layout",
|
612
|
-
"propertyTypeTokenRange": {
|
613
|
-
"startIndex": 1,
|
614
|
-
"endIndex": 2
|
615
|
-
},
|
616
|
-
"isStatic": false,
|
617
|
-
"isProtected": false,
|
618
|
-
"isAbstract": false
|
619
|
-
},
|
620
589
|
{
|
621
590
|
"kind": "Method",
|
622
591
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout.layoutRequiredRegistrations:member(1)",
|
@@ -1031,66 +1000,6 @@
|
|
1031
1000
|
"isAbstract": false,
|
1032
1001
|
"name": "removeItems"
|
1033
1002
|
},
|
1034
|
-
{
|
1035
|
-
"kind": "Property",
|
1036
|
-
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#showCloseIcon:member",
|
1037
|
-
"docComment": "",
|
1038
|
-
"excerptTokens": [
|
1039
|
-
{
|
1040
|
-
"kind": "Content",
|
1041
|
-
"text": "showCloseIcon: "
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"kind": "Content",
|
1045
|
-
"text": "boolean"
|
1046
|
-
},
|
1047
|
-
{
|
1048
|
-
"kind": "Content",
|
1049
|
-
"text": ";"
|
1050
|
-
}
|
1051
|
-
],
|
1052
|
-
"isReadonly": false,
|
1053
|
-
"isOptional": false,
|
1054
|
-
"releaseTag": "Public",
|
1055
|
-
"name": "showCloseIcon",
|
1056
|
-
"propertyTypeTokenRange": {
|
1057
|
-
"startIndex": 1,
|
1058
|
-
"endIndex": 2
|
1059
|
-
},
|
1060
|
-
"isStatic": false,
|
1061
|
-
"isProtected": false,
|
1062
|
-
"isAbstract": false
|
1063
|
-
},
|
1064
|
-
{
|
1065
|
-
"kind": "Property",
|
1066
|
-
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#showMaximiseIcon:member",
|
1067
|
-
"docComment": "",
|
1068
|
-
"excerptTokens": [
|
1069
|
-
{
|
1070
|
-
"kind": "Content",
|
1071
|
-
"text": "showMaximiseIcon: "
|
1072
|
-
},
|
1073
|
-
{
|
1074
|
-
"kind": "Content",
|
1075
|
-
"text": "boolean"
|
1076
|
-
},
|
1077
|
-
{
|
1078
|
-
"kind": "Content",
|
1079
|
-
"text": ";"
|
1080
|
-
}
|
1081
|
-
],
|
1082
|
-
"isReadonly": false,
|
1083
|
-
"isOptional": false,
|
1084
|
-
"releaseTag": "Public",
|
1085
|
-
"name": "showMaximiseIcon",
|
1086
|
-
"propertyTypeTokenRange": {
|
1087
|
-
"startIndex": 1,
|
1088
|
-
"endIndex": 2
|
1089
|
-
},
|
1090
|
-
"isStatic": false,
|
1091
|
-
"isProtected": false,
|
1092
|
-
"isAbstract": false
|
1093
|
-
},
|
1094
1003
|
{
|
1095
1004
|
"kind": "Method",
|
1096
1005
|
"canonicalReference": "@genesislcap/foundation-layout!FoundationLayout#tryActivatePopoutMode:member(1)",
|
@@ -2,7 +2,6 @@ import type { Container } from '@microsoft/fast-foundation';
|
|
2
2
|
import { ElementStyles } from '@microsoft/fast-element';
|
3
3
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
4
4
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
5
|
-
import { GoldenLayout } from '@genesis-community/golden-layout';
|
6
5
|
import { LayoutConfig } from '@genesis-community/golden-layout';
|
7
6
|
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
8
7
|
import { ResolvedLayoutConfig } from '@genesis-community/golden-layout';
|
@@ -53,7 +52,7 @@ export declare const DEFAULT_RELOAD_BUFFER = 500;
|
|
53
52
|
*/
|
54
53
|
export declare class FoundationLayout extends FoundationElement implements LayoutComponent {
|
55
54
|
#private;
|
56
|
-
layout
|
55
|
+
private layout;
|
57
56
|
/** @internal */
|
58
57
|
layoutElement: HTMLElement;
|
59
58
|
private layoutConfig;
|
@@ -138,8 +137,6 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
138
137
|
*/
|
139
138
|
popoutConfig: string | undefined;
|
140
139
|
private popupMode;
|
141
|
-
showCloseIcon: boolean;
|
142
|
-
showMaximiseIcon: boolean;
|
143
140
|
/** @internal */
|
144
141
|
constructor();
|
145
142
|
/** @internal */
|
@@ -31,13 +31,10 @@ The constructor for this class is marked as internal. Third-party code should no
|
|
31
31
|
| [dimensionsConfig?](./foundation-layout.foundationlayout.dimensionsconfig.md) | | LayoutConfig.Dimensions | _(Optional)_ Apply dimensions config to the layout, such as setting the size of the drag handles. |
|
32
32
|
| [dragging](./foundation-layout.foundationlayout.dragging.md) | | boolean | Set to true when the user is currently dragging the panes inside of the layout |
|
33
33
|
| [hasFirstLoaded](./foundation-layout.foundationlayout.hasfirstloaded.md) | | boolean | Boolean signifies whether the layout has loaded for the first time or not. |
|
34
|
-
| [layout](./foundation-layout.foundationlayout.layout.md) | | GoldenLayout | |
|
35
34
|
| [lifecycleUpdateToken](./foundation-layout.foundationlayout.lifecycleupdatetoken.md) | | string \| undefined | Used to calculate whether a layout item should run its lifecycle methods or not |
|
36
35
|
| [missingItemPlaceholder](./foundation-layout.foundationlayout.missingitemplaceholder.md) | | (missingItem: string) => string | Function which is used to generate the placeholder text when a layout is loaded with a missing item. |
|
37
36
|
| [popoutConfig](./foundation-layout.foundationlayout.popoutconfig.md) | | string \| undefined | **_(BETA)_** Controls whether popout functionality is enabled on the layout. Defaults to disabled. Set this attribute to any string to enable popout functionality. If this string is of format <code>number;number</code> then this will be interpreted as the width and height of the popout window. |
|
38
37
|
| [reloadBuffer](./foundation-layout.foundationlayout.reloadbuffer.md) | | number | Number describing how long to wait in ms before reloading the config when adding items declaratively by the html API. Default 500 (ms). |
|
39
|
-
| [showCloseIcon](./foundation-layout.foundationlayout.showcloseicon.md) | | boolean | |
|
40
|
-
| [showMaximiseIcon](./foundation-layout.foundationlayout.showmaximiseicon.md) | | boolean | |
|
41
38
|
|
42
39
|
## Methods
|
43
40
|
|
package/docs/api-report.md
CHANGED
@@ -8,7 +8,6 @@ import type { Container } from '@microsoft/fast-foundation';
|
|
8
8
|
import { ElementStyles } from '@microsoft/fast-element';
|
9
9
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
10
10
|
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
11
|
-
import { GoldenLayout } from '@genesis-community/golden-layout';
|
12
11
|
import { LayoutConfig } from '@genesis-community/golden-layout';
|
13
12
|
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
14
13
|
import { ResolvedLayoutConfig } from '@genesis-community/golden-layout';
|
@@ -48,8 +47,6 @@ export class FoundationLayout extends FoundationElement implements LayoutCompone
|
|
48
47
|
dragging: boolean;
|
49
48
|
getLayout(): SerialisedLayout;
|
50
49
|
hasFirstLoaded: boolean;
|
51
|
-
// (undocumented)
|
52
|
-
layout: GoldenLayout;
|
53
50
|
// @internal (undocumented)
|
54
51
|
layoutElement: HTMLElement;
|
55
52
|
static layoutRequiredRegistrations(layout: SerialisedLayout): string[];
|
@@ -64,10 +61,6 @@ export class FoundationLayout extends FoundationElement implements LayoutCompone
|
|
64
61
|
removeItems(registration: string, force?: boolean): number;
|
65
62
|
// @internal
|
66
63
|
requestLayoutReload(): void;
|
67
|
-
// (undocumented)
|
68
|
-
showCloseIcon: boolean;
|
69
|
-
// (undocumented)
|
70
|
-
showMaximiseIcon: boolean;
|
71
64
|
// @beta
|
72
65
|
tryActivatePopoutMode(): boolean;
|
73
66
|
tryLoadLayoutFromLocalStorage(): boolean;
|
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.232.1",
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
6
6
|
"main": "dist/esm/index.js",
|
7
7
|
"types": "dist/foundation-layout.d.ts",
|
@@ -36,20 +36,20 @@
|
|
36
36
|
}
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@genesislcap/foundation-testing": "14.
|
40
|
-
"@genesislcap/genx": "14.
|
41
|
-
"@genesislcap/rollup-builder": "14.
|
42
|
-
"@genesislcap/ts-builder": "14.
|
43
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
44
|
-
"@genesislcap/vite-builder": "14.
|
45
|
-
"@genesislcap/webpack-builder": "14.
|
39
|
+
"@genesislcap/foundation-testing": "14.232.1",
|
40
|
+
"@genesislcap/genx": "14.232.1",
|
41
|
+
"@genesislcap/rollup-builder": "14.232.1",
|
42
|
+
"@genesislcap/ts-builder": "14.232.1",
|
43
|
+
"@genesislcap/uvu-playwright-builder": "14.232.1",
|
44
|
+
"@genesislcap/vite-builder": "14.232.1",
|
45
|
+
"@genesislcap/webpack-builder": "14.232.1",
|
46
46
|
"rimraf": "^5.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
49
|
"@genesis-community/golden-layout": "^2.11.0",
|
50
|
-
"@genesislcap/foundation-comms": "14.
|
51
|
-
"@genesislcap/foundation-logger": "14.
|
52
|
-
"@genesislcap/foundation-utils": "14.
|
50
|
+
"@genesislcap/foundation-comms": "14.232.1",
|
51
|
+
"@genesislcap/foundation-logger": "14.232.1",
|
52
|
+
"@genesislcap/foundation-utils": "14.232.1",
|
53
53
|
"@microsoft/fast-components": "2.30.6",
|
54
54
|
"@microsoft/fast-element": "1.14.0",
|
55
55
|
"@microsoft/fast-foundation": "2.49.6",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
"access": "public"
|
65
65
|
},
|
66
66
|
"customElements": "dist/custom-elements.json",
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "a9e20ce88dbb5e31037cae98e44a86eb0525544b"
|
68
68
|
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [FoundationLayout](./foundation-layout.foundationlayout.md) > [layout](./foundation-layout.foundationlayout.layout.md)
|
4
|
-
|
5
|
-
## FoundationLayout.layout property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
layout: GoldenLayout;
|
11
|
-
```
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [FoundationLayout](./foundation-layout.foundationlayout.md) > [showCloseIcon](./foundation-layout.foundationlayout.showcloseicon.md)
|
4
|
-
|
5
|
-
## FoundationLayout.showCloseIcon property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
showCloseIcon: boolean;
|
11
|
-
```
|
@@ -1,11 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-layout](./foundation-layout.md) > [FoundationLayout](./foundation-layout.foundationlayout.md) > [showMaximiseIcon](./foundation-layout.foundationlayout.showmaximiseicon.md)
|
4
|
-
|
5
|
-
## FoundationLayout.showMaximiseIcon property
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
showMaximiseIcon: boolean;
|
11
|
-
```
|