@genesislcap/foundation-layout 14.302.1-alpha-475e82d.0 → 14.303.1
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 +118 -118
- package/package.json +12 -12
- package/docs/api-report.md +0 -235
@@ -1138,124 +1138,6 @@
|
|
1138
1138
|
}
|
1139
1139
|
]
|
1140
1140
|
},
|
1141
|
-
{
|
1142
|
-
"kind": "javascript-module",
|
1143
|
-
"path": "src/styles/constants.ts",
|
1144
|
-
"declarations": [
|
1145
|
-
{
|
1146
|
-
"kind": "variable",
|
1147
|
-
"name": "glVisualConfig",
|
1148
|
-
"type": {
|
1149
|
-
"text": "Omit<LayoutConfig, 'root'>"
|
1150
|
-
},
|
1151
|
-
"default": "{\n dimensions: {\n headerHeight: 38,\n borderWidth: 12,\n },\n header: {\n maximise: 'maximise',\n minimise: 'minimise',\n popout: false,\n },\n}"
|
1152
|
-
},
|
1153
|
-
{
|
1154
|
-
"kind": "variable",
|
1155
|
-
"name": "LAYOUT_ICONS",
|
1156
|
-
"type": {
|
1157
|
-
"text": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}"
|
1158
|
-
},
|
1159
|
-
"default": "{\n renameSVG,\n maximiseSVG,\n minimiseSVG,\n closeSVG,\n tabDropdownSVG,\n popoutSVG,\n}",
|
1160
|
-
"description": "A collection of SVG icons in base64 format.",
|
1161
|
-
"privacy": "public"
|
1162
|
-
}
|
1163
|
-
],
|
1164
|
-
"exports": [
|
1165
|
-
{
|
1166
|
-
"kind": "js",
|
1167
|
-
"name": "glVisualConfig",
|
1168
|
-
"declaration": {
|
1169
|
-
"name": "glVisualConfig",
|
1170
|
-
"module": "src/styles/constants.ts"
|
1171
|
-
}
|
1172
|
-
},
|
1173
|
-
{
|
1174
|
-
"kind": "js",
|
1175
|
-
"name": "LAYOUT_ICONS",
|
1176
|
-
"declaration": {
|
1177
|
-
"name": "LAYOUT_ICONS",
|
1178
|
-
"module": "src/styles/constants.ts"
|
1179
|
-
}
|
1180
|
-
}
|
1181
|
-
]
|
1182
|
-
},
|
1183
|
-
{
|
1184
|
-
"kind": "javascript-module",
|
1185
|
-
"path": "src/styles/dragging.styles.ts",
|
1186
|
-
"declarations": [
|
1187
|
-
{
|
1188
|
-
"kind": "variable",
|
1189
|
-
"name": "globalDraggingStyles",
|
1190
|
-
"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`",
|
1191
|
-
"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"
|
1192
|
-
}
|
1193
|
-
],
|
1194
|
-
"exports": [
|
1195
|
-
{
|
1196
|
-
"kind": "js",
|
1197
|
-
"name": "globalDraggingStyles",
|
1198
|
-
"declaration": {
|
1199
|
-
"name": "globalDraggingStyles",
|
1200
|
-
"module": "src/styles/dragging.styles.ts"
|
1201
|
-
}
|
1202
|
-
}
|
1203
|
-
]
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"kind": "javascript-module",
|
1207
|
-
"path": "src/styles/index.ts",
|
1208
|
-
"declarations": [],
|
1209
|
-
"exports": [
|
1210
|
-
{
|
1211
|
-
"kind": "js",
|
1212
|
-
"name": "*",
|
1213
|
-
"declaration": {
|
1214
|
-
"name": "*",
|
1215
|
-
"package": "./constants"
|
1216
|
-
}
|
1217
|
-
},
|
1218
|
-
{
|
1219
|
-
"kind": "js",
|
1220
|
-
"name": "*",
|
1221
|
-
"declaration": {
|
1222
|
-
"name": "*",
|
1223
|
-
"package": "./dragging.styles"
|
1224
|
-
}
|
1225
|
-
},
|
1226
|
-
{
|
1227
|
-
"kind": "js",
|
1228
|
-
"name": "*",
|
1229
|
-
"declaration": {
|
1230
|
-
"name": "*",
|
1231
|
-
"package": "./layout.styles"
|
1232
|
-
}
|
1233
|
-
}
|
1234
|
-
]
|
1235
|
-
},
|
1236
|
-
{
|
1237
|
-
"kind": "javascript-module",
|
1238
|
-
"path": "src/styles/layout.styles.ts",
|
1239
|
-
"declarations": [
|
1240
|
-
{
|
1241
|
-
"kind": "variable",
|
1242
|
-
"name": "layoutStyles",
|
1243
|
-
"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`",
|
1244
|
-
"description": "`ElementStyles` which defines the css for FoundationLayout.",
|
1245
|
-
"privacy": "public"
|
1246
|
-
}
|
1247
|
-
],
|
1248
|
-
"exports": [
|
1249
|
-
{
|
1250
|
-
"kind": "js",
|
1251
|
-
"name": "layoutStyles",
|
1252
|
-
"declaration": {
|
1253
|
-
"name": "layoutStyles",
|
1254
|
-
"module": "src/styles/layout.styles.ts"
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
]
|
1258
|
-
},
|
1259
1141
|
{
|
1260
1142
|
"kind": "javascript-module",
|
1261
1143
|
"path": "src/utils/constants.ts",
|
@@ -1485,6 +1367,124 @@
|
|
1485
1367
|
"path": "src/utils/types.ts",
|
1486
1368
|
"declarations": [],
|
1487
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
|
+
]
|
1488
1488
|
}
|
1489
1489
|
]
|
1490
1490
|
}
|
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.303.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,19 +36,19 @@
|
|
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.303.1",
|
40
|
+
"@genesislcap/genx": "14.303.1",
|
41
|
+
"@genesislcap/rollup-builder": "14.303.1",
|
42
|
+
"@genesislcap/ts-builder": "14.303.1",
|
43
|
+
"@genesislcap/uvu-playwright-builder": "14.303.1",
|
44
|
+
"@genesislcap/vite-builder": "14.303.1",
|
45
|
+
"@genesislcap/webpack-builder": "14.303.1"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
48
|
"@genesis-community/golden-layout": "^2.11.0",
|
49
|
-
"@genesislcap/foundation-comms": "14.
|
50
|
-
"@genesislcap/foundation-logger": "14.
|
51
|
-
"@genesislcap/foundation-utils": "14.
|
49
|
+
"@genesislcap/foundation-comms": "14.303.1",
|
50
|
+
"@genesislcap/foundation-logger": "14.303.1",
|
51
|
+
"@genesislcap/foundation-utils": "14.303.1",
|
52
52
|
"@microsoft/fast-components": "2.30.6",
|
53
53
|
"@microsoft/fast-element": "1.14.0",
|
54
54
|
"@microsoft/fast-foundation": "2.49.6"
|
@@ -62,5 +62,5 @@
|
|
62
62
|
"access": "public"
|
63
63
|
},
|
64
64
|
"customElements": "dist/custom-elements.json",
|
65
|
-
"gitHead": "
|
65
|
+
"gitHead": "f1685d21651cfe332605360143595a9bb603b129"
|
66
66
|
}
|
package/docs/api-report.md
DELETED
@@ -1,235 +0,0 @@
|
|
1
|
-
## API Report File for "@genesislcap/foundation-layout"
|
2
|
-
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
4
|
-
|
5
|
-
```ts
|
6
|
-
|
7
|
-
import type { Container } from '@microsoft/fast-foundation';
|
8
|
-
import { ElementStyles } from '@microsoft/fast-element';
|
9
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
10
|
-
import { FoundationElementRegistry } from '@microsoft/fast-foundation';
|
11
|
-
import { LayoutConfig } from '@genesis-community/golden-layout';
|
12
|
-
import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
|
13
|
-
import { ResolvedLayoutConfig } from '@genesis-community/golden-layout';
|
14
|
-
import { RootItemConfig } from '@genesis-community/golden-layout';
|
15
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
16
|
-
|
17
|
-
// @public
|
18
|
-
export type CustomButton = {
|
19
|
-
svg: string;
|
20
|
-
onClick: (button: HTMLElement, element: HTMLElement) => void;
|
21
|
-
};
|
22
|
-
|
23
|
-
// @public
|
24
|
-
export const DEFAULT_RELOAD_BUFFER = 500;
|
25
|
-
|
26
|
-
// Warning: (ae-forgotten-export) The symbol "LayoutComponent" needs to be exported by the entry point index.d.ts
|
27
|
-
//
|
28
|
-
// @public
|
29
|
-
export class FoundationLayout extends FoundationElement implements LayoutComponent {
|
30
|
-
// @internal (undocumented)
|
31
|
-
[componentType]: "root";
|
32
|
-
// @internal
|
33
|
-
constructor();
|
34
|
-
addItem(config: RegisteredElementConfig | RegisteredElementConfig[], placement?: Placement): void;
|
35
|
-
// @internal
|
36
|
-
addItemFromChild<T extends RootItemConfig>(item: T): T;
|
37
|
-
autoSaveKey?: string;
|
38
|
-
// @internal
|
39
|
-
cacheElementsAndRegister({ elements, id }: RegistrationConfig): string;
|
40
|
-
class: "FoundationLayoutMain";
|
41
|
-
// @internal (undocumented)
|
42
|
-
connectedCallback(): void;
|
43
|
-
customButtons: CustomButton[];
|
44
|
-
dimensionsConfig?: LayoutConfig.Dimensions;
|
45
|
-
// @internal (undocumented)
|
46
|
-
disconnectedCallback(): void;
|
47
|
-
dragging: boolean;
|
48
|
-
getLayout(): SerialisedLayout;
|
49
|
-
hasFirstLoaded: boolean;
|
50
|
-
// @internal (undocumented)
|
51
|
-
layoutElement: HTMLElement;
|
52
|
-
static layoutRequiredRegistrations(layout: SerialisedLayout): string[];
|
53
|
-
lifecycleUpdateToken: string | undefined;
|
54
|
-
loadLayout(layout: SerialisedLayout, handleMissingItem?: 'placeholder' | 'error', disableCache?: boolean): void;
|
55
|
-
missingItemPlaceholder: (missingItem: string) => string;
|
56
|
-
// @beta
|
57
|
-
popoutConfig: string | undefined;
|
58
|
-
registeredItems(): string[];
|
59
|
-
registerItem(registration: string, elements: Element[]): string;
|
60
|
-
reloadBuffer: number;
|
61
|
-
removeItems(registration: string, force?: boolean): number;
|
62
|
-
// @internal
|
63
|
-
requestLayoutReload(): void;
|
64
|
-
// @beta
|
65
|
-
tryActivatePopoutMode(): boolean;
|
66
|
-
tryLoadLayoutFromLocalStorage(): boolean;
|
67
|
-
// @internal (undocumented)
|
68
|
-
usingDeclerativeAPI: boolean;
|
69
|
-
}
|
70
|
-
|
71
|
-
// @public
|
72
|
-
export const foundationLayoutComponents: {
|
73
|
-
foundationLayout: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
74
|
-
baseName: string;
|
75
|
-
styles: ElementStyles;
|
76
|
-
template: ViewTemplate<FoundationLayout, any>;
|
77
|
-
}>) => FoundationElementRegistry< {
|
78
|
-
baseName: string;
|
79
|
-
styles: ElementStyles;
|
80
|
-
template: ViewTemplate<FoundationLayout, any>;
|
81
|
-
}, FoundationLayout>;
|
82
|
-
foundationLayoutRegion: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
83
|
-
baseName: string;
|
84
|
-
template: ViewTemplate<any, any>;
|
85
|
-
}>) => FoundationElementRegistry< {
|
86
|
-
baseName: string;
|
87
|
-
template: ViewTemplate<any, any>;
|
88
|
-
}, FoundationLayoutRegion>;
|
89
|
-
foundationLayoutItem: (overrideDefinition?: OverrideFoundationElementDefinition< {
|
90
|
-
baseName: string;
|
91
|
-
template: ViewTemplate<any, any>;
|
92
|
-
}>) => FoundationElementRegistry< {
|
93
|
-
baseName: string;
|
94
|
-
template: ViewTemplate<any, any>;
|
95
|
-
}, FoundationLayoutItem>;
|
96
|
-
register(container?: Container, ...rest: any[]): void;
|
97
|
-
};
|
98
|
-
|
99
|
-
// @public
|
100
|
-
export class FoundationLayoutItem extends FoundationElement implements LayoutComponent {
|
101
|
-
// @internal (undocumented)
|
102
|
-
[componentType]: "item";
|
103
|
-
// @internal (undocumented)
|
104
|
-
cacheElementsAndRegister(config: RegistrationConfig): string;
|
105
|
-
closable: boolean;
|
106
|
-
// @internal (undocumented)
|
107
|
-
connectedCallback(): void;
|
108
|
-
registration: string;
|
109
|
-
// @internal (undocumented)
|
110
|
-
requestLayoutReload(): void;
|
111
|
-
size: string;
|
112
|
-
title: string;
|
113
|
-
}
|
114
|
-
|
115
|
-
// @public
|
116
|
-
export class FoundationLayoutRegion extends FoundationElement implements LayoutComponent {
|
117
|
-
// @internal (undocumented)
|
118
|
-
[componentType]: LayoutRegionType;
|
119
|
-
// @internal (undocumented)
|
120
|
-
addItemFromChild<T extends RootItemConfig>(item: T): T;
|
121
|
-
// @internal (undocumented)
|
122
|
-
cacheElementsAndRegister(config: RegistrationConfig): string;
|
123
|
-
// @internal (undocumented)
|
124
|
-
connectedCallback(): void;
|
125
|
-
// @internal (undocumented)
|
126
|
-
requestLayoutReload(): void;
|
127
|
-
size: string;
|
128
|
-
type: LayoutRegionType;
|
129
|
-
}
|
130
|
-
|
131
|
-
// @public
|
132
|
-
export const LAYOUT_ICONS: {
|
133
|
-
readonly renameSVG: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHdpZHRoPSI0NTAiIGhlaWdodD0iNDUwIiB2aWV3Qm94PSIwIDAgNDUwIDQ1MCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGcgdHJhbnNmb3JtPSJtYXRyaXgoMTguNjEgMCAwIDE4LjYxIDIyMi44MSAyMjIuODEpIiBpZD0iT3V0bGluZSIgID48cGF0aCBzdHlsZT0ic3Ryb2tlOiBub25lOyBzdHJva2Utd2lkdGg6IDE7IHN0cm9rZS1kYXNoYXJyYXk6IG5vbmU7IHN0cm9rZS1saW5lY2FwOiBidXR0OyBzdHJva2UtZGFzaG9mZnNldDogMDsgc3Ryb2tlLWxpbmVqb2luOiBtaXRlcjsgc3Ryb2tlLW1pdGVybGltaXQ6IDQ7IGZpbGw6IHJnYigxMTEsMTI2LDEzNSk7IGZpbGwtcnVsZTogbm9uemVybzsgb3BhY2l0eTogMTsiICB0cmFuc2Zvcm09IiB0cmFuc2xhdGUoLTExLjk2LCAtMTIuMDQpIiBkPSJNIDIyLjg1MyAxLjE0OCBhIDMuNjI2IDMuNjI2IDAgMCAwIC01LjEyNCAwIEwgMS40NjUgMTcuNDEyIEEgNC45NjggNC45NjggMCAwIDAgMCAyMC45NDcgViAyMyBhIDEgMSAwIDAgMCAxIDEgSCAzLjA1MyBhIDQuOTY2IDQuOTY2IDAgMCAwIDMuNTM1IC0xLjQ2NCBMIDIyLjg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NTIsIC0xMS44MDQ4KSIgZD0iTSAxOCAzIGEgMSAxIDAgMCAwIDAgMiBIIDI5LjU5IEwgMTUuNzQgMTguODUgYSAxIDEgMCAxIDAgMS40MSAxLjQxIEwgMzEgNi40MSBWIDE4IGEgMSAxIDAgMCAwIDIgMCBWIDMgWiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+IDwvZz4gPGcgdHJhbnNmb3JtPSJtYXRyaXgoMjIuMjIyMiAwIDAgMjIuMjIyMiAtMC4wMDA0IC0wLjAwMDQpIj4gPHJlY3Qgc3R5bGU9InN0cm9rZTogbm9uZTsgc3Ryb2tlLXdpZHRoOiAxOyBzdHJva2UtZGFzaGFycmF5OiBub25lOyBzdHJva2UtbGluZWNhcDogYnV0dDsgc3Ryb2tlLWRhc2hvZmZzZXQ6IDA7IHN0cm9rZS1saW5lam9pbjogbWl0ZXI7IHN0cm9rZS1taXRlcmxpbWl0OiA0OyBpcy1jdXN0b20tZm9udDogbm9uZTsgZm9udC1maWxlLXVybDogbm9uZTsgZmlsbDogcmdiKDAsMCwwKTsgZmlsbC1vcGFjaXR5OiAwOyBmaWxsLXJ1bGU6IG5vbnplcm87IG9wYWNpdHk6IDE7IiB4PSItMTgiIHk9Ii0xOCIgcng9IjAiIHJ5PSIwIiB3aWR0aD0iMzYiIGhlaWdodD0iMzYiLz4gPC9nPiA8L2c+IDwvZz4gPC9zdmc+Cg==";
|
139
|
-
};
|
140
|
-
|
141
|
-
// @beta
|
142
|
-
export const LAYOUT_POPOUT_CONTAINER_CLASS = "f-layout-popout";
|
143
|
-
|
144
|
-
// @public
|
145
|
-
export interface LayoutComponentWithState<T> {
|
146
|
-
applyState(state: T | null): void;
|
147
|
-
getCurrentState(): T;
|
148
|
-
}
|
149
|
-
|
150
|
-
// @public
|
151
|
-
export const LayoutEmitEvents: {
|
152
|
-
readonly firstLoaded: "first-loaded";
|
153
|
-
readonly itemAdded: "item-added";
|
154
|
-
readonly itemRemoved: "item-removed";
|
155
|
-
readonly itemResized: "item-resized";
|
156
|
-
};
|
157
|
-
|
158
|
-
// @public
|
159
|
-
export const LayoutReceiveEvents: {
|
160
|
-
readonly changeTitle: "change-title";
|
161
|
-
readonly autosave: "autosave";
|
162
|
-
};
|
163
|
-
|
164
|
-
// @public
|
165
|
-
export type LayoutReceiveEventsDetail = {
|
166
|
-
changeTitle: {
|
167
|
-
title: string;
|
168
|
-
mode: 'replace' | 'suffix';
|
169
|
-
};
|
170
|
-
autosave: void;
|
171
|
-
};
|
172
|
-
|
173
|
-
// Warning: (ae-forgotten-export) The symbol "layoutRegionValue" needs to be exported by the entry point index.d.ts
|
174
|
-
//
|
175
|
-
// @public
|
176
|
-
export type LayoutRegionType = (typeof layoutRegionValue)[number];
|
177
|
-
|
178
|
-
// @public (undocumented)
|
179
|
-
export class LayoutRegistrationError extends Error {
|
180
|
-
constructor(message: string);
|
181
|
-
}
|
182
|
-
|
183
|
-
// @public
|
184
|
-
export const layoutStyles: ElementStyles;
|
185
|
-
|
186
|
-
// @public
|
187
|
-
export const layoutTemplate: ViewTemplate<FoundationLayout, any>;
|
188
|
-
|
189
|
-
// @public (undocumented)
|
190
|
-
export class LayoutUsageError extends Error {
|
191
|
-
constructor(message: string);
|
192
|
-
}
|
193
|
-
|
194
|
-
// @public
|
195
|
-
export type Placement = {
|
196
|
-
area: 'top' | 'left' | 'bottom' | 'right';
|
197
|
-
multiple?: {
|
198
|
-
type: LayoutRegionType;
|
199
|
-
size?: string;
|
200
|
-
};
|
201
|
-
};
|
202
|
-
|
203
|
-
// @public
|
204
|
-
export interface RegisteredElementConfig {
|
205
|
-
// (undocumented)
|
206
|
-
closable?: boolean;
|
207
|
-
// (undocumented)
|
208
|
-
registration: string;
|
209
|
-
// (undocumented)
|
210
|
-
showMaximiseButton?: boolean;
|
211
|
-
// (undocumented)
|
212
|
-
size?: string;
|
213
|
-
// (undocumented)
|
214
|
-
title?: string;
|
215
|
-
}
|
216
|
-
|
217
|
-
// Warning: (ae-internal-missing-underscore) The name "RegistrationConfig" should be prefixed with an underscore because the declaration is marked as @internal
|
218
|
-
//
|
219
|
-
// @internal (undocumented)
|
220
|
-
export interface RegistrationConfig {
|
221
|
-
// (undocumented)
|
222
|
-
elements: Element[];
|
223
|
-
// (undocumented)
|
224
|
-
id?: string;
|
225
|
-
}
|
226
|
-
|
227
|
-
// @public
|
228
|
-
export type SerialisedLayout = {
|
229
|
-
v: '1';
|
230
|
-
c: ResolvedLayoutConfig;
|
231
|
-
};
|
232
|
-
|
233
|
-
// (No @packageDocumentation comment for this package)
|
234
|
-
|
235
|
-
```
|