@genesislcap/foundation-layout 14.394.0 → 14.396.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/POPOUT_TODO.md +46 -0
- package/dist/custom-elements.json +351 -24
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/layout-main.d.ts +9 -4
- package/dist/dts/main/layout-main.d.ts.map +1 -1
- package/dist/dts/main/layout-popout-controller.d.ts +49 -0
- package/dist/dts/main/layout-popout-controller.d.ts.map +1 -0
- package/dist/dts/utils/constants.d.ts +7 -1
- package/dist/dts/utils/constants.d.ts.map +1 -1
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/popout-events.d.ts +43 -0
- package/dist/dts/utils/popout-events.d.ts.map +1 -0
- package/dist/dts/utils/types.d.ts +39 -0
- package/dist/dts/utils/types.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/main/layout-main.js +48 -21
- package/dist/esm/main/layout-popout-controller.js +289 -0
- package/dist/esm/utils/constants.js +7 -1
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/popout-events.js +5 -0
- package/dist/foundation-layout.api.json +72 -5
- package/dist/foundation-layout.d.ts +103 -3
- package/docs/api/foundation-layout.foundationlayout.md +2 -2
- package/docs/api/foundation-layout.foundationlayout.popoutconfig.md +2 -2
- package/docs/api/foundation-layout.layout_popout_control_key.md +16 -0
- package/docs/api/foundation-layout.layoutpopoutconfig.md +22 -0
- package/docs/api/foundation-layout.md +22 -0
- package/docs/api/foundation-layout.serialisedlayout.md +3 -0
- package/docs/api-report.md.api.md +28 -1
- package/package.json +15 -13
package/POPOUT_TODO.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Foundation Layout TODOs
|
|
2
|
+
|
|
3
|
+
## Multi-Instance Popouts
|
|
4
|
+
Currently, the popout system keys windows and state by their `registration` ID. This limits the layout to having only one instance of a specific component type (e.g., `rapid-grid-pro`) popped out at a time.
|
|
5
|
+
|
|
6
|
+
### Proposed Improvement
|
|
7
|
+
Support multiple popouts of the same registration by introducing a unique `instanceId` (UUID).
|
|
8
|
+
|
|
9
|
+
- **URL Parameters**: Add a unique instance ID to the popout URL (e.g., `?layout-popout-control-key=my-grid&layout-popout-instance-id=uuid-123`).
|
|
10
|
+
- **Registry**: Update `FoundationLayoutPopoutController` to key the `popoutRegistry` by the unique `instanceId` rather than the `registration` name.
|
|
11
|
+
- **State Persistence**: Ensure the serialized layout stores the `registration` name alongside the state for each `instanceId` so they can be recreated correctly on restoration.
|
|
12
|
+
- **Communication**: Update the broadcast channel messages (`popout-update`, `popout-sync`, etc.) to use the `instanceId` for targeting and identification.
|
|
13
|
+
|
|
14
|
+
## Configurable Popout Headers
|
|
15
|
+
A client has requested the ability to see the component header (title and custom buttons) inside the popout window, while still hiding the standard Golden Layout controls (Close, Maximise, and Popout-in-Popout).
|
|
16
|
+
|
|
17
|
+
### Proposed Improvement
|
|
18
|
+
1. **Update Configuration**: Add `showHeaders?: boolean` to the `LayoutPopoutConfig` interface (defaulting to `false`).
|
|
19
|
+
2. **Update Activation Logic**:
|
|
20
|
+
- In `tryActivatePopoutMode`, pass the `showHeaders` value to the Golden Layout `settings.hasHeaders` property.
|
|
21
|
+
- Configure the root component item to disable standard buttons while allowing the header to render:
|
|
22
|
+
```typescript
|
|
23
|
+
header: {
|
|
24
|
+
maximise: false,
|
|
25
|
+
close: false,
|
|
26
|
+
popout: false,
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
3. **Custom Buttons**: Ensure that the `setupCustomButtons` logic continues to run in the popout window so that the user's custom tools are injected into the newly visible header.
|
|
30
|
+
|
|
31
|
+
## Restore on Manual Close
|
|
32
|
+
Currently, when a user manually closes a popout window, the component is removed from the layout entirely. We want to restore it to the main layout automatically.
|
|
33
|
+
|
|
34
|
+
### Proposed Solution
|
|
35
|
+
1. **Detect Manual Close**:
|
|
36
|
+
- In `FoundationLayoutPopoutController`, add a flag `isClosingAll` (boolean).
|
|
37
|
+
- Set `isClosingAll = true` at the start of `closeAllPopouts()` and `false` at the end.
|
|
38
|
+
- In the `popout-closed` event handler, check if `!isClosingAll`. If true, this is a manual user action.
|
|
39
|
+
|
|
40
|
+
2. **Trigger Restoration**:
|
|
41
|
+
- If manual close is detected, call a restoration method on the parent `FoundationLayout` (e.g., `restoreItem`).
|
|
42
|
+
- Pass the `registration` ID and the final `state` (captured from the registry before deletion).
|
|
43
|
+
|
|
44
|
+
3. **Implement `restoreItem`**:
|
|
45
|
+
- Update `FoundationLayout` to support restoring an item with its state preserved.
|
|
46
|
+
- This likely requires updating `addItem` or creating a new method that accepts `initialState` (or `componentState`) in the configuration, so the component re-initializes with its previous data (filters, scroll position, etc.).
|
|
@@ -143,6 +143,22 @@
|
|
|
143
143
|
"module": "./utils"
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "js",
|
|
148
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
149
|
+
"declaration": {
|
|
150
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
151
|
+
"module": "./utils"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "js",
|
|
156
|
+
"name": "LayoutPopoutConfig",
|
|
157
|
+
"declaration": {
|
|
158
|
+
"name": "LayoutPopoutConfig",
|
|
159
|
+
"module": "./utils"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
146
162
|
{
|
|
147
163
|
"kind": "js",
|
|
148
164
|
"name": "registerFactory",
|
|
@@ -600,19 +616,10 @@
|
|
|
600
616
|
"kind": "field",
|
|
601
617
|
"name": "popoutConfig",
|
|
602
618
|
"type": {
|
|
603
|
-
"text": "
|
|
619
|
+
"text": "LayoutPopoutConfig | undefined"
|
|
604
620
|
},
|
|
605
621
|
"default": "undefined",
|
|
606
|
-
"description": "Controls whether popout functionality is enabled on the layout. Defaults to disabled.\
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"kind": "field",
|
|
610
|
-
"name": "popupMode",
|
|
611
|
-
"type": {
|
|
612
|
-
"text": "boolean"
|
|
613
|
-
},
|
|
614
|
-
"privacy": "private",
|
|
615
|
-
"default": "false"
|
|
622
|
+
"description": "Controls whether popout functionality is enabled on the layout. Defaults to disabled.\nPass an empty object `{}` to use default configurations, or a LayoutPopoutConfig object to further customise."
|
|
616
623
|
},
|
|
617
624
|
{
|
|
618
625
|
"kind": "method",
|
|
@@ -966,18 +973,6 @@
|
|
|
966
973
|
},
|
|
967
974
|
"description": "Attribute which if set will auto save and load the layout as the user changes it.\nOmit this attribute to disable this feature.\nSet attribute using `auto-save-key`.",
|
|
968
975
|
"fieldName": "autoSaveKey"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"name": "popout-config",
|
|
972
|
-
"type": {
|
|
973
|
-
"text": "string | undefined"
|
|
974
|
-
},
|
|
975
|
-
"default": "undefined",
|
|
976
|
-
"description": "Controls whether popout functionality is enabled on the layout. Defaults to disabled.\nSet this attribute to any string to enable popout functionality. If this string is of format `number;number` then this will be interpreted as the width and height of the popout window.",
|
|
977
|
-
"resolveInitializer": {
|
|
978
|
-
"module": "src/main/layout-main.ts"
|
|
979
|
-
},
|
|
980
|
-
"fieldName": "popoutConfig"
|
|
981
976
|
}
|
|
982
977
|
],
|
|
983
978
|
"superclass": {
|
|
@@ -990,7 +985,7 @@
|
|
|
990
985
|
{
|
|
991
986
|
"kind": "variable",
|
|
992
987
|
"name": "layoutTemplate",
|
|
993
|
-
"default": "html<FoundationLayout>`\n <template>\n ${when((x) => !x.hasFirstLoaded && x.usingDeclerativeAPI, loadingTemplate)}\n <div class=\"layout-container\" ${ref('layoutElement')}></div>\n </template>\n`",
|
|
988
|
+
"default": "html<FoundationLayout>`\n <template>\n ${when(\n (x) => Boolean(x.popoutConfig),\n html<FoundationLayout>`\n <foundation-layout-popout-controller\n ${ref('popoutController')}\n :parentLayout=\"${(x) => x}\"\n channel-name=\"${(x) => x.popoutConfig?.channelName}\"\n ></foundation-layout-popout-controller>\n `,\n )}\n ${when((x) => !x.hasFirstLoaded && x.usingDeclerativeAPI, loadingTemplate)}\n <div class=\"layout-container\" ${ref('layoutElement')}></div>\n </template>\n`",
|
|
994
989
|
"description": "`ViewTemplate` which defines the html for FoundationLayout.",
|
|
995
990
|
"privacy": "public"
|
|
996
991
|
}
|
|
@@ -1022,6 +1017,262 @@
|
|
|
1022
1017
|
}
|
|
1023
1018
|
]
|
|
1024
1019
|
},
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "javascript-module",
|
|
1022
|
+
"path": "src/main/layout-popout-controller.ts",
|
|
1023
|
+
"declarations": [
|
|
1024
|
+
{
|
|
1025
|
+
"kind": "class",
|
|
1026
|
+
"description": "",
|
|
1027
|
+
"name": "FoundationLayoutPopoutController",
|
|
1028
|
+
"members": [
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "field",
|
|
1031
|
+
"name": "channelName",
|
|
1032
|
+
"type": {
|
|
1033
|
+
"text": "string"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"kind": "field",
|
|
1038
|
+
"name": "layoutKey",
|
|
1039
|
+
"type": {
|
|
1040
|
+
"text": "string"
|
|
1041
|
+
},
|
|
1042
|
+
"privacy": "private"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"kind": "field",
|
|
1046
|
+
"name": "channel",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "TypedBroadcastChannel<LayoutPopoutEvents>"
|
|
1049
|
+
},
|
|
1050
|
+
"privacy": "private"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"kind": "field",
|
|
1054
|
+
"name": "pollInterval",
|
|
1055
|
+
"type": {
|
|
1056
|
+
"text": "any"
|
|
1057
|
+
},
|
|
1058
|
+
"privacy": "private"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "field",
|
|
1062
|
+
"name": "unloadHandler",
|
|
1063
|
+
"type": {
|
|
1064
|
+
"text": "() => void"
|
|
1065
|
+
},
|
|
1066
|
+
"privacy": "private"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"kind": "field",
|
|
1070
|
+
"name": "lastUpdate",
|
|
1071
|
+
"type": {
|
|
1072
|
+
"text": "string"
|
|
1073
|
+
},
|
|
1074
|
+
"privacy": "private"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"kind": "field",
|
|
1078
|
+
"name": "popoutRegistry",
|
|
1079
|
+
"type": {
|
|
1080
|
+
"text": "Map<\n string,\n { geometry: PopoutGeometry; state?: unknown; window?: Window }\n >"
|
|
1081
|
+
},
|
|
1082
|
+
"privacy": "private",
|
|
1083
|
+
"default": "new Map()"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"kind": "method",
|
|
1087
|
+
"name": "setupChannel",
|
|
1088
|
+
"privacy": "private"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"kind": "method",
|
|
1092
|
+
"name": "setupListener",
|
|
1093
|
+
"privacy": "private"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"kind": "method",
|
|
1097
|
+
"name": "applyStateToParent",
|
|
1098
|
+
"privacy": "private",
|
|
1099
|
+
"parameters": [
|
|
1100
|
+
{
|
|
1101
|
+
"name": "state",
|
|
1102
|
+
"type": {
|
|
1103
|
+
"text": "unknown"
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
]
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"kind": "method",
|
|
1110
|
+
"name": "setupUnloadListener",
|
|
1111
|
+
"privacy": "private"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"kind": "method",
|
|
1115
|
+
"name": "teardownUnloadListener",
|
|
1116
|
+
"privacy": "private"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"kind": "method",
|
|
1120
|
+
"name": "emitAutosave",
|
|
1121
|
+
"privacy": "private"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"kind": "method",
|
|
1125
|
+
"name": "startPolling",
|
|
1126
|
+
"privacy": "private"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"kind": "method",
|
|
1130
|
+
"name": "stopPolling",
|
|
1131
|
+
"privacy": "private"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"kind": "method",
|
|
1135
|
+
"name": "getGeometry",
|
|
1136
|
+
"privacy": "private",
|
|
1137
|
+
"return": {
|
|
1138
|
+
"type": {
|
|
1139
|
+
"text": "Promise<PopoutGeometry>"
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"kind": "method",
|
|
1145
|
+
"name": "getComponentState",
|
|
1146
|
+
"privacy": "private",
|
|
1147
|
+
"return": {
|
|
1148
|
+
"type": {
|
|
1149
|
+
"text": "unknown"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"kind": "method",
|
|
1155
|
+
"name": "broadcastUpdate",
|
|
1156
|
+
"privacy": "private",
|
|
1157
|
+
"parameters": [
|
|
1158
|
+
{
|
|
1159
|
+
"name": "geometry",
|
|
1160
|
+
"type": {
|
|
1161
|
+
"text": "PopoutGeometry"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"name": "state",
|
|
1166
|
+
"optional": true,
|
|
1167
|
+
"type": {
|
|
1168
|
+
"text": "unknown"
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
]
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"kind": "method",
|
|
1175
|
+
"name": "openPopout",
|
|
1176
|
+
"privacy": "public",
|
|
1177
|
+
"parameters": [
|
|
1178
|
+
{
|
|
1179
|
+
"name": "registration",
|
|
1180
|
+
"type": {
|
|
1181
|
+
"text": "string"
|
|
1182
|
+
},
|
|
1183
|
+
"description": "The registration ID of the component to pop out."
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "popoutState",
|
|
1187
|
+
"optional": true,
|
|
1188
|
+
"type": {
|
|
1189
|
+
"text": "PopoutState"
|
|
1190
|
+
},
|
|
1191
|
+
"description": "Optional state (geometry and component state) to use for the new window."
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "uuid",
|
|
1195
|
+
"optional": true,
|
|
1196
|
+
"type": {
|
|
1197
|
+
"text": "any"
|
|
1198
|
+
},
|
|
1199
|
+
"description": "UUID generator from parent layout"
|
|
1200
|
+
}
|
|
1201
|
+
],
|
|
1202
|
+
"description": "Opens a component in a popout window."
|
|
1203
|
+
},
|
|
1204
|
+
{
|
|
1205
|
+
"kind": "method",
|
|
1206
|
+
"name": "getRegistry",
|
|
1207
|
+
"privacy": "public",
|
|
1208
|
+
"return": {
|
|
1209
|
+
"type": {
|
|
1210
|
+
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "method",
|
|
1216
|
+
"name": "restorePopouts",
|
|
1217
|
+
"privacy": "public",
|
|
1218
|
+
"parameters": [
|
|
1219
|
+
{
|
|
1220
|
+
"name": "registry",
|
|
1221
|
+
"type": {
|
|
1222
|
+
"text": "{ [layoutKey: string]: PopoutState }"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"name": "uuid",
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "any"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
],
|
|
1232
|
+
"description": "Restores popouts from a registry"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "method",
|
|
1236
|
+
"name": "closeAllPopouts",
|
|
1237
|
+
"privacy": "public"
|
|
1238
|
+
}
|
|
1239
|
+
],
|
|
1240
|
+
"attributes": [
|
|
1241
|
+
{
|
|
1242
|
+
"name": "channel-name",
|
|
1243
|
+
"type": {
|
|
1244
|
+
"text": "string"
|
|
1245
|
+
},
|
|
1246
|
+
"fieldName": "channelName"
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"superclass": {
|
|
1250
|
+
"name": "FASTElement",
|
|
1251
|
+
"package": "@microsoft/fast-element"
|
|
1252
|
+
},
|
|
1253
|
+
"tagName": "foundation-layout-popout-controller",
|
|
1254
|
+
"customElement": true
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"exports": [
|
|
1258
|
+
{
|
|
1259
|
+
"kind": "js",
|
|
1260
|
+
"name": "FoundationLayoutPopoutController",
|
|
1261
|
+
"declaration": {
|
|
1262
|
+
"name": "FoundationLayoutPopoutController",
|
|
1263
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
1264
|
+
}
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
"kind": "custom-element-definition",
|
|
1268
|
+
"name": "foundation-layout-popout-controller",
|
|
1269
|
+
"declaration": {
|
|
1270
|
+
"name": "FoundationLayoutPopoutController",
|
|
1271
|
+
"module": "src/main/layout-popout-controller.ts"
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1025
1276
|
{
|
|
1026
1277
|
"kind": "javascript-module",
|
|
1027
1278
|
"path": "src/main/layout-region.ts",
|
|
@@ -1336,6 +1587,24 @@
|
|
|
1336
1587
|
"description": "Default time in milliseconds for the layout to buffer calls to reloading\nthe layout while the declarative API is loading.\n\nDuring the first load of the layout, a loading spinner will be shown.",
|
|
1337
1588
|
"privacy": "public"
|
|
1338
1589
|
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "variable",
|
|
1592
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1593
|
+
"type": {
|
|
1594
|
+
"text": "string"
|
|
1595
|
+
},
|
|
1596
|
+
"default": "'f-layout-key'",
|
|
1597
|
+
"description": "Key to be used for controlling popout behaviour"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"kind": "variable",
|
|
1601
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1602
|
+
"type": {
|
|
1603
|
+
"text": "number"
|
|
1604
|
+
},
|
|
1605
|
+
"default": "1000",
|
|
1606
|
+
"description": "How often a popout window should check to broadcast its\ngeometry"
|
|
1607
|
+
},
|
|
1339
1608
|
{
|
|
1340
1609
|
"kind": "variable",
|
|
1341
1610
|
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
@@ -1367,6 +1636,22 @@
|
|
|
1367
1636
|
"module": "src/utils/constants.ts"
|
|
1368
1637
|
}
|
|
1369
1638
|
},
|
|
1639
|
+
{
|
|
1640
|
+
"kind": "js",
|
|
1641
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1642
|
+
"declaration": {
|
|
1643
|
+
"name": "LAYOUT_POPOUT_CONTROL_KEY",
|
|
1644
|
+
"module": "src/utils/constants.ts"
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"kind": "js",
|
|
1649
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1650
|
+
"declaration": {
|
|
1651
|
+
"name": "POPOUT_GEOMETRY_BROADCAST_INTERVAL",
|
|
1652
|
+
"module": "src/utils/constants.ts"
|
|
1653
|
+
}
|
|
1654
|
+
},
|
|
1370
1655
|
{
|
|
1371
1656
|
"kind": "js",
|
|
1372
1657
|
"name": "LAYOUT_POPOUT_CONTAINER_CLASS",
|
|
@@ -1631,6 +1916,14 @@
|
|
|
1631
1916
|
"package": "./templates"
|
|
1632
1917
|
}
|
|
1633
1918
|
},
|
|
1919
|
+
{
|
|
1920
|
+
"kind": "js",
|
|
1921
|
+
"name": "*",
|
|
1922
|
+
"declaration": {
|
|
1923
|
+
"name": "*",
|
|
1924
|
+
"package": "./popout-events"
|
|
1925
|
+
}
|
|
1926
|
+
},
|
|
1634
1927
|
{
|
|
1635
1928
|
"kind": "js",
|
|
1636
1929
|
"name": "*",
|
|
@@ -1675,6 +1968,40 @@
|
|
|
1675
1968
|
"declarations": [],
|
|
1676
1969
|
"exports": []
|
|
1677
1970
|
},
|
|
1971
|
+
{
|
|
1972
|
+
"kind": "javascript-module",
|
|
1973
|
+
"path": "src/utils/popout-events.ts",
|
|
1974
|
+
"declarations": [
|
|
1975
|
+
{
|
|
1976
|
+
"kind": "variable",
|
|
1977
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
1978
|
+
"type": {
|
|
1979
|
+
"text": "string"
|
|
1980
|
+
},
|
|
1981
|
+
"default": "'f-layout-popout-channel'",
|
|
1982
|
+
"description": "Name of the default broadcast channel used for layout popouts",
|
|
1983
|
+
"privacy": "public"
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1986
|
+
"exports": [
|
|
1987
|
+
{
|
|
1988
|
+
"kind": "js",
|
|
1989
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
1990
|
+
"declaration": {
|
|
1991
|
+
"name": "LAYOUT_POPOUT_CHANNEL_NAME",
|
|
1992
|
+
"module": "src/utils/popout-events.ts"
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"kind": "js",
|
|
1997
|
+
"name": "PopoutGeometry",
|
|
1998
|
+
"declaration": {
|
|
1999
|
+
"name": "PopoutGeometry",
|
|
2000
|
+
"module": "src/utils/popout-events.ts"
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
]
|
|
2004
|
+
},
|
|
1678
2005
|
{
|
|
1679
2006
|
"kind": "javascript-module",
|
|
1680
2007
|
"path": "src/utils/templates.ts",
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from './main';
|
|
2
2
|
export { LAYOUT_ICONS } from './styles';
|
|
3
|
-
export { ComponentFactory, CustomButton, DEFAULT_RELOAD_BUFFER, LayoutComponentWithState, LayoutEmitEvents, LayoutReceiveEvents, LayoutReceiveEventsDetail, LayoutRegionType, LayoutRegistrationError, LayoutUsageError, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout, LAYOUT_POPOUT_CONTAINER_CLASS, } from './utils';
|
|
3
|
+
export { ComponentFactory, CustomButton, DEFAULT_RELOAD_BUFFER, LayoutComponentWithState, LayoutEmitEvents, LayoutReceiveEvents, LayoutReceiveEventsDetail, LayoutRegionType, LayoutRegistrationError, LayoutUsageError, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout, LAYOUT_POPOUT_CONTAINER_CLASS, LAYOUT_POPOUT_CONTROL_KEY, LayoutPopoutConfig, } from './utils';
|
|
4
4
|
export { registerFactory, getFactory, unregisterFactory } from './utils/factory-registry';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,6BAA6B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,6BAA6B,EAC7B,yBAAyB,EACzB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LayoutConfig, RootItemConfig } from '@genesis-community/golden-layout';
|
|
2
2
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
3
|
-
import { ComponentFactory, componentType, CustomButton, LayoutComponent, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout } from '../utils/';
|
|
3
|
+
import { ComponentFactory, componentType, CustomButton, LayoutComponent, LayoutPopoutConfig, Placement, RegisteredElementConfig, RegistrationConfig, SerialisedLayout } from '../utils/';
|
|
4
|
+
import { FoundationLayoutPopoutController } from './layout-popout-controller';
|
|
4
5
|
export { layoutStyles } from '../styles';
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -95,13 +96,16 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
|
95
96
|
* has changed and know you potentially need to gate some of your lifecycle functionality.
|
|
96
97
|
*/
|
|
97
98
|
lifecycleUpdateToken: string | undefined;
|
|
99
|
+
/** @internal */
|
|
100
|
+
popupMode: boolean;
|
|
101
|
+
/** @internal */
|
|
102
|
+
popoutController: FoundationLayoutPopoutController;
|
|
98
103
|
/**
|
|
99
104
|
* Controls whether popout functionality is enabled on the layout. Defaults to disabled.
|
|
100
|
-
*
|
|
105
|
+
* Pass an empty object `{}` to use default configurations, or a {@link LayoutPopoutConfig} object to further customise.
|
|
101
106
|
* @beta
|
|
102
107
|
*/
|
|
103
|
-
popoutConfig:
|
|
104
|
-
private popupMode;
|
|
108
|
+
popoutConfig: LayoutPopoutConfig | undefined;
|
|
105
109
|
/** @internal */
|
|
106
110
|
constructor();
|
|
107
111
|
/** @internal */
|
|
@@ -172,6 +176,7 @@ export declare class FoundationLayout extends FoundationElement implements Layou
|
|
|
172
176
|
* If you set the `LAYOUT_POPOUT_CONTAINER_CLASS` on an element which is a DOM parent of the layout,
|
|
173
177
|
* then if the layout goes into popout mode then it will place itself as the only child for the popout container you set.
|
|
174
178
|
* It is likely you'll want to attach this class to your design system provider.
|
|
179
|
+
*
|
|
175
180
|
* @beta
|
|
176
181
|
*/
|
|
177
182
|
tryActivatePopoutMode(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-main.d.ts","sourceRoot":"","sources":["../../../src/main/layout-main.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EAEZ,cAAc,EAGf,MAAM,kCAAkC,CAAC;AAK1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAGL,gBAAgB,EAChB,aAAa,EACb,YAAY,EAOZ,eAAe,
|
|
1
|
+
{"version":3,"file":"layout-main.d.ts","sourceRoot":"","sources":["../../../src/main/layout-main.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,YAAY,EAEZ,cAAc,EAGf,MAAM,kCAAkC,CAAC;AAK1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,EAGL,gBAAgB,EAChB,aAAa,EACb,YAAY,EAOZ,eAAe,EAGf,kBAAkB,EAGlB,SAAS,EAET,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAInB,OAAO,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAmBzC;;;;;;;;;;;GAWG;AACH,qBAAa,gBAAiB,SAAQ,iBAAkB,YAAW,eAAe;;IAChF,OAAO,CAAC,MAAM,CAAe;IAC7B,gBAAgB;IAChB,aAAa,EAAE,WAAW,CAAC;IAC3B,OAAO,CAAC,YAAY,CAAqC;IACzD,OAAO,CAAC,mBAAmB,CAAqC;IAEhE,gBAAgB;IAChB,CAAC,aAAa,CAAC,EAAG,MAAM,CAAU;IAElC;;;;OAIG;IACmC,YAAY,EAAE,MAAM,CAAyB;IACnF,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,oBAAoB,CAAK;IAEjC,gBAAgB;IACV,OAAO,CAAC,IAAI,CAAO;IAEzB,gBAAgB;IACP,OAAO,CAAC,OAAO,CAAU;IAClC;;;;;OAKG;IACmC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC3D;;;;OAIG;IACS,sBAAsB,GAAI,aAAa,MAAM,YAC2B;IAEpF;;;OAGG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC;IAE3C;;;;;;;;;;OAUG;IACS,cAAc,UAAS;IACnC,gBAAgB;IACJ,mBAAmB,UAAS;IAExC;;;;;OAKG;IACH,aAAa,EAAE,YAAY,EAAE,CAAM;IAEnC;;;OAGG;IACS,QAAQ,EAAE,OAAO,CAAS;IAEtC;;;;;OAKG;IACI,KAAK,EAAG,sBAAsB,CAAU;IAE/C;;;;;;;OAOG;IACI,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAa;IAE5D,gBAAgB;IACJ,SAAS,UAAS;IAE9B,gBAAgB;IAChB,gBAAgB,EAAE,gCAAgC,CAAC;IACnD;;;;OAIG;IACS,YAAY,EAAE,kBAAkB,GAAG,SAAS,CAAa;IAErE,gBAAgB;;IAahB,gBAAgB;IAChB,iBAAiB,IAAI,IAAI;IA+BzB,gBAAgB;IAChB,oBAAoB,IAAI,IAAI;IAY5B,gBAAgB;IAChB,OAAO,CAAC,WAAW;IAInB,gBAAgB;IAChB,OAAO,CAAC,UAAU;IAMlB,gBAAgB;IAChB,OAAO,CAAC,eAAe;IAKvB,gBAAgB;IAChB,OAAO,CAAC,gBAAgB;IAIxB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAOzB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAKzB,gBAAgB;IAChB,OAAO,CAAC,iBAAiB;IAIzB,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAI1B,gBAAgB;IAChB,OAAO,CAAC,kBAAkB;IAI1B,gBAAgB;IACJ,OAAO,CAAC,eAAe,CAAqB;IACxD,gBAAgB;IAChB,sBAAsB;IAQtB;;OAEG;IAEH;;;;;;;;;;OAUG;IACH,MAAM,CAAC,2BAA2B,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,EAAE;IActE;;;;;;;;OAQG;IACH,eAAe,IAAI,MAAM,EAAE;IAI3B;;;;;;OAMG;IACH,SAAS,IAAI,gBAAgB;IA8B7B;;;;;;;;;;;OAWG;IACH,qBAAqB,IAAI,OAAO;IAwChC;;;;;;;;;;;;;OAaG;IACH,6BAA6B,IAAI,OAAO;IAcxC;;;;;;;;;;;;OAYG;IACH,+BAA+B,IAAI,OAAO;IAyB1C;;;;;;;;;;;;OAYG;IACH,UAAU,CACR,MAAM,EAAE,gBAAgB,EACxB,iBAAiB,GAAE,aAAa,GAAG,OAAiB,EACpD,YAAY,GAAE,OAAe;IAwC/B;;;;;;;;;;;OAWG;IACH,OAAO,CACL,MAAM,EAAE,uBAAuB,GAAG,uBAAuB,EAAE,EAC3D,SAAS,GAAE,SAAmC;IAsEhD;;;;;;;;;OASG;IACH,WAAW,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,OAAe,GAAG,MAAM;IAgDjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,gBAAgB,GAAG,MAAM;IA4B3F;;OAEG;IAEH;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAI5B;;;;OAIG;IACH,mBAAmB,IAAI,IAAI;IAuB3B;;;;;;;OAOG;IACH,gBAAgB,CAAC,CAAC,SAAS,cAAc,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC;IAetD;;;;;;;;OAQG;IACH,wBAAwB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM;IA4J5D;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAehC;;;;;;;;SAQK;IACL,OAAO,CAAC,kBAAkB;IAY1B;;;;;;;;OAQG;IACH,OAAO,CAAC,kCAAkC;IA4B1C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,oBAAoB;IAe5B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IASzB;;;;;;;;OAQG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAc1B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;OAGG;IACH,OAAO,CAAC,4BAA4B;IAWpC;;;OAGG;IACH,OAAO,CAAC,uBAAuB;CAyChC;AAKD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,uEAe1B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;2BAI3B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FASTElement } from '@microsoft/fast-element';
|
|
2
|
+
import { LayoutComponent, PopoutState } from '../utils';
|
|
3
|
+
export declare class FoundationLayoutPopoutController extends FASTElement {
|
|
4
|
+
channelName: string;
|
|
5
|
+
/**
|
|
6
|
+
* Reference to the parent layout to retrieve component state
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
parentLayout: LayoutComponent & {
|
|
10
|
+
getLayoutComponents(): any[][];
|
|
11
|
+
};
|
|
12
|
+
private layoutKey;
|
|
13
|
+
private channel;
|
|
14
|
+
private pollInterval;
|
|
15
|
+
private unloadHandler;
|
|
16
|
+
private lastUpdate;
|
|
17
|
+
private popoutRegistry;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
private setupChannel;
|
|
21
|
+
private setupListener;
|
|
22
|
+
private applyStateToParent;
|
|
23
|
+
private setupUnloadListener;
|
|
24
|
+
private teardownUnloadListener;
|
|
25
|
+
private emitAutosave;
|
|
26
|
+
private startPolling;
|
|
27
|
+
private stopPolling;
|
|
28
|
+
private getGeometry;
|
|
29
|
+
private getComponentState;
|
|
30
|
+
private broadcastUpdate;
|
|
31
|
+
/**
|
|
32
|
+
* Opens a component in a popout window.
|
|
33
|
+
* @param registration - The registration ID of the component to pop out.
|
|
34
|
+
* @param popoutState - Optional state (geometry and component state) to use for the new window.
|
|
35
|
+
* @param uuid - UUID generator from parent layout
|
|
36
|
+
*/
|
|
37
|
+
openPopout(registration: string, popoutState?: PopoutState, uuid?: any): Promise<Window>;
|
|
38
|
+
getRegistry(): {
|
|
39
|
+
[layoutKey: string]: PopoutState;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Restores popouts from a registry
|
|
43
|
+
*/
|
|
44
|
+
restorePopouts(registry: {
|
|
45
|
+
[layoutKey: string]: PopoutState;
|
|
46
|
+
}, uuid: any): Promise<void>;
|
|
47
|
+
closeAllPopouts(): void;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=layout-popout-controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout-popout-controller.d.ts","sourceRoot":"","sources":["../../../src/main/layout-popout-controller.ts"],"names":[],"mappings":"AAIA,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAEL,eAAe,EAIf,WAAW,EACZ,MAAM,UAAU,CAAC;AAGlB,qBAKa,gCAAiC,SAAQ,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IAEzD;;;OAGG;IACS,YAAY,EAAE,eAAe,GAAG;QAAE,mBAAmB,IAAI,GAAG,EAAE,EAAE,CAAA;KAAE,CAAC;IAE/E,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,OAAO,CAA4C;IAC3D,OAAO,CAAC,YAAY,CAAM;IAC1B,OAAO,CAAC,aAAa,CAAa;IAClC,OAAO,CAAC,UAAU,CAAS;IAE3B,OAAO,CAAC,cAAc,CAGR;IAEd,iBAAiB;IAajB,oBAAoB;IAapB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,aAAa;IA4BrB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,sBAAsB;IAO9B,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,YAAY;IAapB,OAAO,CAAC,WAAW;YAML,WAAW;IAsBzB,OAAO,CAAC,iBAAiB;IAczB,OAAO,CAAC,eAAe;IAUvB;;;;;OAKG;IACU,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,GAAG;IA8D5E,WAAW,IAAI;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE;IAQ1D;;OAEG;IACU,cAAc,CAAC,QAAQ,EAAE;QAAE,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,EAAE,IAAI,EAAE,GAAG;IAkB9E,eAAe;CAQvB"}
|
|
@@ -23,9 +23,15 @@ export declare const DEFAULT_RELOAD_BUFFER = 500;
|
|
|
23
23
|
export declare const AUTOSAVE_KEY = "foundation-layout-autosave";
|
|
24
24
|
/**
|
|
25
25
|
* Key to be used for controlling popout behaviour
|
|
26
|
-
* @
|
|
26
|
+
* @beta
|
|
27
27
|
*/
|
|
28
28
|
export declare const LAYOUT_POPOUT_CONTROL_KEY = "f-layout-key";
|
|
29
|
+
/**
|
|
30
|
+
* How often a popout window should check to broadcast its
|
|
31
|
+
* geometry
|
|
32
|
+
* @interal
|
|
33
|
+
*/
|
|
34
|
+
export declare const POPOUT_GEOMETRY_BROADCAST_INTERVAL = 1000;
|
|
29
35
|
/**
|
|
30
36
|
* Put this classname on an element which is a DOM parent of the layout, and
|
|
31
37
|
* if the layout goes into popout mode then it will place itself as the only child
|
|
@@ -1 +1 @@
|
|
|
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;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,oBAAoB,CAAC;AAE/D,eAAO,MAAM,kBAAkB,SAAS,CAAC;AAGzC,eAAO,MAAM,qBAAqB,cAKjC,CAAC"}
|
|
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,cAKjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|