@genesislcap/foundation-workspace 15.19.5 → 15.19.6
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 +1002 -1002
- package/package.json +15 -15
|
@@ -60,322 +60,434 @@
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"kind": "javascript-module",
|
|
63
|
-
"path": "src/workspace-
|
|
64
|
-
"declarations": [],
|
|
65
|
-
"exports": [
|
|
66
|
-
{
|
|
67
|
-
"kind": "js",
|
|
68
|
-
"name": "*",
|
|
69
|
-
"declaration": {
|
|
70
|
-
"name": "*",
|
|
71
|
-
"package": "./workspace-manager"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"kind": "javascript-module",
|
|
78
|
-
"path": "src/workspace-manager/workspace-manager.styles.ts",
|
|
79
|
-
"declarations": [
|
|
80
|
-
{
|
|
81
|
-
"kind": "variable",
|
|
82
|
-
"name": "WorkspaceManagerStyles",
|
|
83
|
-
"default": "css`\n .workspace-manager {\n display: flex;\n gap: 10px;\n align-items: center;\n }\n\n .dialog-content {\n padding: 16px;\n min-width: 400px;\n max-width: 400px;\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n }\n\n .button-group {\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n }\n\n .workspace-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-height: 400px;\n overflow-y: auto;\n margin: 10px 0;\n align-items: unset;\n }\n\n rapid-label {\n margin-bottom: 10px;\n display: block;\n }\n\n .empty-state {\n padding: 24px;\n text-align: center;\n color: var(--neutral-foreground-hint);\n }\n\n .save-mode-selector {\n margin-bottom: 16px;\n }\n\n .warning-message {\n margin: 12px 0;\n padding: 12px;\n border: 1px solid var(--warning-color);\n border-radius: 4px;\n font-size: 14px;\n }\n\n .workspace-item {\n padding: 12px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n .workspace-item:hover {\n background: var(--neutral-fill-hover);\n }\n\n .workspace-item::part(control) {\n margin-top: 2px;\n }\n\n .workspace-info {\n flex: 1;\n margin-left: 8px;\n }\n\n .workspace-name {\n font-weight: 600;\n margin-bottom: 4px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .workspace-date {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n margin-top: 4px;\n white-space: pre-wrap;\n word-break: break-word;\n line-height: 1.4;\n }\n\n .loading-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px;\n }\n\n .save-field {\n margin-bottom: 20px;\n }\n`"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"exports": [
|
|
87
|
-
{
|
|
88
|
-
"kind": "js",
|
|
89
|
-
"name": "WorkspaceManagerStyles",
|
|
90
|
-
"declaration": {
|
|
91
|
-
"name": "WorkspaceManagerStyles",
|
|
92
|
-
"module": "src/workspace-manager/workspace-manager.styles.ts"
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"kind": "javascript-module",
|
|
99
|
-
"path": "src/workspace-manager/workspace-manager.template.ts",
|
|
63
|
+
"path": "src/workspace/filter-registry.ts",
|
|
100
64
|
"declarations": [
|
|
101
65
|
{
|
|
102
|
-
"kind": "
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
66
|
+
"kind": "class",
|
|
67
|
+
"description": "",
|
|
68
|
+
"name": "DefaultFilterRegistry",
|
|
69
|
+
"members": [
|
|
70
|
+
{
|
|
71
|
+
"kind": "field",
|
|
72
|
+
"name": "filters",
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "Map<string, FilterRegistration>"
|
|
75
|
+
},
|
|
76
|
+
"privacy": "private",
|
|
77
|
+
"default": "new Map()"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "method",
|
|
81
|
+
"name": "registerFilter",
|
|
82
|
+
"return": {
|
|
83
|
+
"type": {
|
|
84
|
+
"text": "void"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"parameters": [
|
|
88
|
+
{
|
|
89
|
+
"name": "filterKey",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "string"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "getFilterValue",
|
|
96
|
+
"type": {
|
|
97
|
+
"text": "() => SavedFilterValue | null"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "setFilterValue",
|
|
102
|
+
"type": {
|
|
103
|
+
"text": "(value: string) => void"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "method",
|
|
110
|
+
"name": "unregisterFilter",
|
|
111
|
+
"return": {
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "void"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"parameters": [
|
|
117
|
+
{
|
|
118
|
+
"name": "filterKey",
|
|
119
|
+
"type": {
|
|
120
|
+
"text": "string"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "method",
|
|
127
|
+
"name": "getAllFiltersValues",
|
|
128
|
+
"return": {
|
|
129
|
+
"type": {
|
|
130
|
+
"text": "SavedFilterValue[]"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "method",
|
|
136
|
+
"name": "applyFiltersValues",
|
|
137
|
+
"return": {
|
|
138
|
+
"type": {
|
|
139
|
+
"text": "void"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"parameters": [
|
|
143
|
+
{
|
|
144
|
+
"name": "filtersValues",
|
|
145
|
+
"type": {
|
|
146
|
+
"text": "SavedFilterValue[]"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
]
|
|
132
152
|
},
|
|
133
153
|
{
|
|
134
154
|
"kind": "variable",
|
|
135
|
-
"name": "
|
|
136
|
-
"
|
|
155
|
+
"name": "FilterRegistry",
|
|
156
|
+
"description": "DI token for filter registry."
|
|
137
157
|
}
|
|
138
158
|
],
|
|
139
159
|
"exports": [
|
|
140
160
|
{
|
|
141
161
|
"kind": "js",
|
|
142
|
-
"name": "
|
|
143
|
-
"declaration": {
|
|
144
|
-
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
145
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"kind": "js",
|
|
150
|
-
"name": "workspaceHeaderPartial",
|
|
151
|
-
"declaration": {
|
|
152
|
-
"name": "workspaceHeaderPartial",
|
|
153
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"kind": "js",
|
|
158
|
-
"name": "workspaceSaveModalPartial",
|
|
159
|
-
"declaration": {
|
|
160
|
-
"name": "workspaceSaveModalPartial",
|
|
161
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"kind": "js",
|
|
166
|
-
"name": "workspaceLoadModalPartial",
|
|
162
|
+
"name": "DefaultFilterRegistry",
|
|
167
163
|
"declaration": {
|
|
168
|
-
"name": "
|
|
169
|
-
"module": "src/workspace
|
|
164
|
+
"name": "DefaultFilterRegistry",
|
|
165
|
+
"module": "src/workspace/filter-registry.ts"
|
|
170
166
|
}
|
|
171
167
|
},
|
|
172
168
|
{
|
|
173
169
|
"kind": "js",
|
|
174
|
-
"name": "
|
|
170
|
+
"name": "FilterRegistry",
|
|
175
171
|
"declaration": {
|
|
176
|
-
"name": "
|
|
177
|
-
"module": "src/workspace
|
|
172
|
+
"name": "FilterRegistry",
|
|
173
|
+
"module": "src/workspace/filter-registry.ts"
|
|
178
174
|
}
|
|
179
175
|
}
|
|
180
176
|
]
|
|
181
177
|
},
|
|
182
178
|
{
|
|
183
179
|
"kind": "javascript-module",
|
|
184
|
-
"path": "src/workspace
|
|
180
|
+
"path": "src/workspace/grid-registry.ts",
|
|
185
181
|
"declarations": [
|
|
186
182
|
{
|
|
187
183
|
"kind": "class",
|
|
188
|
-
"description": "
|
|
189
|
-
"name": "
|
|
184
|
+
"description": "",
|
|
185
|
+
"name": "DefaultGridRegistry",
|
|
190
186
|
"members": [
|
|
191
187
|
{
|
|
192
188
|
"kind": "field",
|
|
193
|
-
"name": "
|
|
194
|
-
"type": {
|
|
195
|
-
"text": "string"
|
|
196
|
-
},
|
|
197
|
-
"default": "''"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"kind": "field",
|
|
201
|
-
"name": "workspaceDescription",
|
|
202
|
-
"type": {
|
|
203
|
-
"text": "string"
|
|
204
|
-
},
|
|
205
|
-
"default": "''"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"kind": "field",
|
|
209
|
-
"name": "savedWorkspaces",
|
|
189
|
+
"name": "grids",
|
|
210
190
|
"type": {
|
|
211
|
-
"text": "
|
|
191
|
+
"text": "Map<string, GridRegistration>"
|
|
212
192
|
},
|
|
213
|
-
"
|
|
193
|
+
"privacy": "private",
|
|
194
|
+
"default": "new Map()"
|
|
214
195
|
},
|
|
215
196
|
{
|
|
216
197
|
"kind": "field",
|
|
217
|
-
"name": "
|
|
198
|
+
"name": "cachedSettings",
|
|
218
199
|
"type": {
|
|
219
|
-
"text": "
|
|
200
|
+
"text": "Map<string, SavedGridSettings>"
|
|
220
201
|
},
|
|
221
|
-
"
|
|
202
|
+
"privacy": "private",
|
|
203
|
+
"default": "new Map()"
|
|
222
204
|
},
|
|
223
205
|
{
|
|
224
|
-
"kind": "
|
|
225
|
-
"name": "
|
|
226
|
-
"
|
|
227
|
-
"
|
|
206
|
+
"kind": "method",
|
|
207
|
+
"name": "registerGrid",
|
|
208
|
+
"return": {
|
|
209
|
+
"type": {
|
|
210
|
+
"text": "void"
|
|
211
|
+
}
|
|
228
212
|
},
|
|
229
|
-
"
|
|
213
|
+
"parameters": [
|
|
214
|
+
{
|
|
215
|
+
"name": "gridKey",
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "string"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "gridApi",
|
|
222
|
+
"type": {
|
|
223
|
+
"text": "unknown"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "columnApi",
|
|
228
|
+
"type": {
|
|
229
|
+
"text": "unknown"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
230
233
|
},
|
|
231
234
|
{
|
|
232
|
-
"kind": "
|
|
233
|
-
"name": "
|
|
234
|
-
"
|
|
235
|
-
"
|
|
235
|
+
"kind": "method",
|
|
236
|
+
"name": "getGrid",
|
|
237
|
+
"return": {
|
|
238
|
+
"type": {
|
|
239
|
+
"text": "GridRegistration | null"
|
|
240
|
+
}
|
|
236
241
|
},
|
|
237
|
-
"
|
|
242
|
+
"parameters": [
|
|
243
|
+
{
|
|
244
|
+
"name": "gridKey",
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "string"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
]
|
|
238
250
|
},
|
|
239
251
|
{
|
|
240
|
-
"kind": "
|
|
241
|
-
"name": "
|
|
242
|
-
"
|
|
243
|
-
"
|
|
252
|
+
"kind": "method",
|
|
253
|
+
"name": "unregisterGrid",
|
|
254
|
+
"return": {
|
|
255
|
+
"type": {
|
|
256
|
+
"text": "void"
|
|
257
|
+
}
|
|
244
258
|
},
|
|
245
|
-
"
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
259
|
+
"parameters": [
|
|
260
|
+
{
|
|
261
|
+
"name": "gridKey",
|
|
262
|
+
"type": {
|
|
263
|
+
"text": "string"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
]
|
|
253
267
|
},
|
|
254
268
|
{
|
|
255
|
-
"kind": "
|
|
256
|
-
"name": "
|
|
257
|
-
"
|
|
258
|
-
"
|
|
269
|
+
"kind": "method",
|
|
270
|
+
"name": "getAllGridsSettings",
|
|
271
|
+
"return": {
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "SavedGridSettings[]"
|
|
274
|
+
}
|
|
259
275
|
}
|
|
260
276
|
},
|
|
261
277
|
{
|
|
262
|
-
"kind": "
|
|
263
|
-
"name": "
|
|
264
|
-
"
|
|
265
|
-
"
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "applyGridSettings",
|
|
280
|
+
"return": {
|
|
281
|
+
"type": {
|
|
282
|
+
"text": "Promise<boolean>"
|
|
283
|
+
}
|
|
266
284
|
},
|
|
267
|
-
"
|
|
285
|
+
"parameters": [
|
|
286
|
+
{
|
|
287
|
+
"name": "gridSetting",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "SavedGridSettings"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "options",
|
|
294
|
+
"optional": true,
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "{ applyColumns?: boolean; applyFilters?: boolean }"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
]
|
|
268
300
|
},
|
|
269
301
|
{
|
|
270
|
-
"kind": "
|
|
271
|
-
"name": "
|
|
272
|
-
"
|
|
273
|
-
"
|
|
302
|
+
"kind": "method",
|
|
303
|
+
"name": "applyAllGridsSettings",
|
|
304
|
+
"return": {
|
|
305
|
+
"type": {
|
|
306
|
+
"text": "Promise<void>"
|
|
307
|
+
}
|
|
274
308
|
},
|
|
275
|
-
"
|
|
309
|
+
"parameters": [
|
|
310
|
+
{
|
|
311
|
+
"name": "gridsSettings",
|
|
312
|
+
"type": {
|
|
313
|
+
"text": "SavedGridSettings[]"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "maxRetries",
|
|
318
|
+
"default": "3",
|
|
319
|
+
"type": {
|
|
320
|
+
"text": "number"
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
]
|
|
276
324
|
},
|
|
277
325
|
{
|
|
278
|
-
"kind": "
|
|
279
|
-
"name": "
|
|
280
|
-
"
|
|
281
|
-
|
|
326
|
+
"kind": "method",
|
|
327
|
+
"name": "getGridSettings",
|
|
328
|
+
"privacy": "private",
|
|
329
|
+
"return": {
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "SavedGridSettings | null"
|
|
332
|
+
}
|
|
282
333
|
},
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
334
|
+
"parameters": [
|
|
335
|
+
{
|
|
336
|
+
"name": "gridKey",
|
|
337
|
+
"type": {
|
|
338
|
+
"text": "string"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "grid",
|
|
343
|
+
"type": {
|
|
344
|
+
"text": "GridRegistration"
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"kind": "variable",
|
|
353
|
+
"name": "GridRegistry",
|
|
354
|
+
"description": "DI token for grid registry."
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"exports": [
|
|
358
|
+
{
|
|
359
|
+
"kind": "js",
|
|
360
|
+
"name": "DefaultGridRegistry",
|
|
361
|
+
"declaration": {
|
|
362
|
+
"name": "DefaultGridRegistry",
|
|
363
|
+
"module": "src/workspace/grid-registry.ts"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"kind": "js",
|
|
368
|
+
"name": "GridRegistry",
|
|
369
|
+
"declaration": {
|
|
370
|
+
"name": "GridRegistry",
|
|
371
|
+
"module": "src/workspace/grid-registry.ts"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "javascript-module",
|
|
378
|
+
"path": "src/workspace/index.ts",
|
|
379
|
+
"declarations": [],
|
|
380
|
+
"exports": [
|
|
381
|
+
{
|
|
382
|
+
"kind": "js",
|
|
383
|
+
"name": "*",
|
|
384
|
+
"declaration": {
|
|
385
|
+
"name": "*",
|
|
386
|
+
"package": "./workspace.types"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"kind": "js",
|
|
391
|
+
"name": "*",
|
|
392
|
+
"declaration": {
|
|
393
|
+
"name": "*",
|
|
394
|
+
"package": "./workspace-state.types"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"kind": "js",
|
|
399
|
+
"name": "*",
|
|
400
|
+
"declaration": {
|
|
401
|
+
"name": "*",
|
|
402
|
+
"package": "./workspace-state"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"kind": "js",
|
|
407
|
+
"name": "*",
|
|
408
|
+
"declaration": {
|
|
409
|
+
"name": "*",
|
|
410
|
+
"package": "./layout-registry"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"kind": "js",
|
|
415
|
+
"name": "*",
|
|
416
|
+
"declaration": {
|
|
417
|
+
"name": "*",
|
|
418
|
+
"package": "./grid-registry"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"kind": "js",
|
|
423
|
+
"name": "*",
|
|
424
|
+
"declaration": {
|
|
425
|
+
"name": "*",
|
|
426
|
+
"package": "./filter-registry"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"kind": "js",
|
|
431
|
+
"name": "*",
|
|
432
|
+
"declaration": {
|
|
433
|
+
"name": "*",
|
|
434
|
+
"package": "./grid-register"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"kind": "js",
|
|
439
|
+
"name": "*",
|
|
440
|
+
"declaration": {
|
|
441
|
+
"name": "*",
|
|
442
|
+
"package": "./layout-wrapper"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"kind": "javascript-module",
|
|
449
|
+
"path": "src/workspace/layout-registry.ts",
|
|
450
|
+
"declarations": [
|
|
451
|
+
{
|
|
452
|
+
"kind": "class",
|
|
453
|
+
"description": "Default layout registry implementation.",
|
|
454
|
+
"name": "DefaultLayoutRegistry",
|
|
455
|
+
"members": [
|
|
348
456
|
{
|
|
349
457
|
"kind": "field",
|
|
350
|
-
"name": "
|
|
458
|
+
"name": "layouts",
|
|
351
459
|
"type": {
|
|
352
|
-
"text": "
|
|
460
|
+
"text": "Map<string, FoundationLayout>"
|
|
353
461
|
},
|
|
354
462
|
"privacy": "private",
|
|
355
|
-
"
|
|
356
|
-
"default": "false"
|
|
463
|
+
"default": "new Map()"
|
|
357
464
|
},
|
|
358
465
|
{
|
|
359
466
|
"kind": "method",
|
|
360
|
-
"name": "
|
|
361
|
-
"privacy": "private",
|
|
467
|
+
"name": "registerLayout",
|
|
362
468
|
"return": {
|
|
363
469
|
"type": {
|
|
364
|
-
"text": "
|
|
470
|
+
"text": "void"
|
|
365
471
|
}
|
|
366
472
|
},
|
|
367
473
|
"parameters": [
|
|
368
474
|
{
|
|
369
|
-
"name": "
|
|
475
|
+
"name": "layoutKey",
|
|
370
476
|
"type": {
|
|
371
477
|
"text": "string"
|
|
372
478
|
}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "layout",
|
|
482
|
+
"type": {
|
|
483
|
+
"text": "FoundationLayout"
|
|
484
|
+
}
|
|
373
485
|
}
|
|
374
486
|
]
|
|
375
487
|
},
|
|
376
488
|
{
|
|
377
489
|
"kind": "method",
|
|
378
|
-
"name": "
|
|
490
|
+
"name": "unregisterLayout",
|
|
379
491
|
"return": {
|
|
380
492
|
"type": {
|
|
381
493
|
"text": "void"
|
|
@@ -383,7 +495,7 @@
|
|
|
383
495
|
},
|
|
384
496
|
"parameters": [
|
|
385
497
|
{
|
|
386
|
-
"name": "
|
|
498
|
+
"name": "layoutKey",
|
|
387
499
|
"type": {
|
|
388
500
|
"text": "string"
|
|
389
501
|
}
|
|
@@ -392,61 +504,136 @@
|
|
|
392
504
|
},
|
|
393
505
|
{
|
|
394
506
|
"kind": "method",
|
|
395
|
-
"name": "
|
|
396
|
-
"privacy": "private",
|
|
507
|
+
"name": "getLayoutsConfigs",
|
|
397
508
|
"return": {
|
|
398
509
|
"type": {
|
|
399
|
-
"text": "
|
|
510
|
+
"text": "SavedLayout[]"
|
|
400
511
|
}
|
|
401
512
|
}
|
|
402
513
|
},
|
|
403
514
|
{
|
|
404
515
|
"kind": "method",
|
|
405
|
-
"name": "
|
|
516
|
+
"name": "applySavedLayouts",
|
|
406
517
|
"return": {
|
|
407
518
|
"type": {
|
|
408
519
|
"text": "Promise<void>"
|
|
409
520
|
}
|
|
410
|
-
}
|
|
521
|
+
},
|
|
522
|
+
"parameters": [
|
|
523
|
+
{
|
|
524
|
+
"name": "savedLayouts",
|
|
525
|
+
"type": {
|
|
526
|
+
"text": "SavedLayout[]"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
}
|
|
531
|
+
]
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"kind": "variable",
|
|
535
|
+
"name": "LayoutRegistry",
|
|
536
|
+
"description": "DI token for layout registry."
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"exports": [
|
|
540
|
+
{
|
|
541
|
+
"kind": "js",
|
|
542
|
+
"name": "DefaultLayoutRegistry",
|
|
543
|
+
"declaration": {
|
|
544
|
+
"name": "DefaultLayoutRegistry",
|
|
545
|
+
"module": "src/workspace/layout-registry.ts"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"kind": "js",
|
|
550
|
+
"name": "LayoutRegistry",
|
|
551
|
+
"declaration": {
|
|
552
|
+
"name": "LayoutRegistry",
|
|
553
|
+
"module": "src/workspace/layout-registry.ts"
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "javascript-module",
|
|
560
|
+
"path": "src/workspace/workspace-state.ts",
|
|
561
|
+
"declarations": [
|
|
562
|
+
{
|
|
563
|
+
"kind": "class",
|
|
564
|
+
"description": "Default workspace persistence implementation backed by KVStorage.",
|
|
565
|
+
"name": "DefaultWorkspaceState",
|
|
566
|
+
"members": [
|
|
567
|
+
{
|
|
568
|
+
"kind": "field",
|
|
569
|
+
"name": "STORAGE_PREFIX",
|
|
570
|
+
"type": {
|
|
571
|
+
"text": "string"
|
|
572
|
+
},
|
|
573
|
+
"privacy": "private",
|
|
574
|
+
"readonly": true,
|
|
575
|
+
"default": "'workspace_'"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "WORKSPACES_LIST_KEY",
|
|
580
|
+
"type": {
|
|
581
|
+
"text": "string"
|
|
582
|
+
},
|
|
583
|
+
"privacy": "private",
|
|
584
|
+
"readonly": true,
|
|
585
|
+
"default": "'workspaces_list'"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"kind": "field",
|
|
589
|
+
"name": "currentWorkspace",
|
|
590
|
+
"type": {
|
|
591
|
+
"text": "SavedWorkspace | null"
|
|
592
|
+
},
|
|
593
|
+
"privacy": "private",
|
|
594
|
+
"default": "null"
|
|
411
595
|
},
|
|
412
596
|
{
|
|
413
597
|
"kind": "method",
|
|
414
|
-
"name": "
|
|
598
|
+
"name": "getCurrentUsername",
|
|
599
|
+
"privacy": "private",
|
|
415
600
|
"return": {
|
|
416
601
|
"type": {
|
|
417
|
-
"text": "
|
|
602
|
+
"text": "string"
|
|
418
603
|
}
|
|
419
604
|
}
|
|
420
605
|
},
|
|
421
606
|
{
|
|
422
607
|
"kind": "method",
|
|
423
|
-
"name": "
|
|
608
|
+
"name": "getWorkspaceStorageKey",
|
|
424
609
|
"privacy": "private",
|
|
425
610
|
"return": {
|
|
426
611
|
"type": {
|
|
427
|
-
"text": "
|
|
612
|
+
"text": "string"
|
|
428
613
|
}
|
|
429
614
|
},
|
|
430
615
|
"parameters": [
|
|
431
616
|
{
|
|
432
|
-
"name": "
|
|
433
|
-
"
|
|
617
|
+
"name": "workspaceName",
|
|
618
|
+
"type": {
|
|
619
|
+
"text": "string"
|
|
620
|
+
}
|
|
434
621
|
}
|
|
435
622
|
]
|
|
436
623
|
},
|
|
437
624
|
{
|
|
438
625
|
"kind": "method",
|
|
439
|
-
"name": "
|
|
626
|
+
"name": "getWorkspacesListKey",
|
|
627
|
+
"privacy": "private",
|
|
440
628
|
"return": {
|
|
441
629
|
"type": {
|
|
442
|
-
"text": "
|
|
630
|
+
"text": "string"
|
|
443
631
|
}
|
|
444
632
|
}
|
|
445
633
|
},
|
|
446
634
|
{
|
|
447
635
|
"kind": "method",
|
|
448
|
-
"name": "
|
|
449
|
-
"privacy": "private",
|
|
636
|
+
"name": "saveWorkspace",
|
|
450
637
|
"return": {
|
|
451
638
|
"type": {
|
|
452
639
|
"text": "Promise<void>"
|
|
@@ -454,9 +641,34 @@
|
|
|
454
641
|
},
|
|
455
642
|
"parameters": [
|
|
456
643
|
{
|
|
457
|
-
"name": "
|
|
644
|
+
"name": "workspaceName",
|
|
458
645
|
"type": {
|
|
459
|
-
"text": "
|
|
646
|
+
"text": "string"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "layouts",
|
|
651
|
+
"type": {
|
|
652
|
+
"text": "SavedLayout[]"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "grids",
|
|
657
|
+
"type": {
|
|
658
|
+
"text": "SavedGridSettings[]"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "filters",
|
|
663
|
+
"type": {
|
|
664
|
+
"text": "SavedFilterValue[]"
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "description",
|
|
669
|
+
"optional": true,
|
|
670
|
+
"type": {
|
|
671
|
+
"text": "string"
|
|
460
672
|
}
|
|
461
673
|
}
|
|
462
674
|
]
|
|
@@ -466,7 +678,7 @@
|
|
|
466
678
|
"name": "loadWorkspace",
|
|
467
679
|
"return": {
|
|
468
680
|
"type": {
|
|
469
|
-
"text": "Promise<
|
|
681
|
+
"text": "Promise<SavedWorkspace | null>"
|
|
470
682
|
}
|
|
471
683
|
},
|
|
472
684
|
"parameters": [
|
|
@@ -480,16 +692,16 @@
|
|
|
480
692
|
},
|
|
481
693
|
{
|
|
482
694
|
"kind": "method",
|
|
483
|
-
"name": "
|
|
695
|
+
"name": "getWorkspace",
|
|
484
696
|
"privacy": "private",
|
|
485
697
|
"return": {
|
|
486
698
|
"type": {
|
|
487
|
-
"text": "Promise<
|
|
699
|
+
"text": "Promise<SavedWorkspace | null>"
|
|
488
700
|
}
|
|
489
701
|
},
|
|
490
702
|
"parameters": [
|
|
491
703
|
{
|
|
492
|
-
"name": "
|
|
704
|
+
"name": "workspaceName",
|
|
493
705
|
"type": {
|
|
494
706
|
"text": "string"
|
|
495
707
|
}
|
|
@@ -498,21 +710,39 @@
|
|
|
498
710
|
},
|
|
499
711
|
{
|
|
500
712
|
"kind": "method",
|
|
501
|
-
"name": "
|
|
713
|
+
"name": "getCurrentWorkspace",
|
|
502
714
|
"return": {
|
|
503
715
|
"type": {
|
|
504
|
-
"text": "
|
|
716
|
+
"text": "SavedWorkspace | null"
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"kind": "method",
|
|
722
|
+
"name": "setCurrentWorkspace",
|
|
723
|
+
"return": {
|
|
724
|
+
"type": {
|
|
725
|
+
"text": "void"
|
|
505
726
|
}
|
|
506
727
|
},
|
|
507
728
|
"parameters": [
|
|
508
729
|
{
|
|
509
|
-
"name": "
|
|
730
|
+
"name": "workspace",
|
|
510
731
|
"type": {
|
|
511
|
-
"text": "
|
|
732
|
+
"text": "SavedWorkspace | null"
|
|
512
733
|
}
|
|
513
734
|
}
|
|
514
735
|
]
|
|
515
736
|
},
|
|
737
|
+
{
|
|
738
|
+
"kind": "method",
|
|
739
|
+
"name": "getSavedWorkspaces",
|
|
740
|
+
"return": {
|
|
741
|
+
"type": {
|
|
742
|
+
"text": "Promise<SavedWorkspace[]>"
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
},
|
|
516
746
|
{
|
|
517
747
|
"kind": "method",
|
|
518
748
|
"name": "deleteWorkspace",
|
|
@@ -532,46 +762,29 @@
|
|
|
532
762
|
},
|
|
533
763
|
{
|
|
534
764
|
"kind": "method",
|
|
535
|
-
"name": "
|
|
765
|
+
"name": "updateWorkspacesList",
|
|
536
766
|
"privacy": "private",
|
|
537
767
|
"return": {
|
|
538
768
|
"type": {
|
|
539
|
-
"text": "void"
|
|
769
|
+
"text": "Promise<void>"
|
|
540
770
|
}
|
|
541
771
|
},
|
|
542
772
|
"parameters": [
|
|
543
773
|
{
|
|
544
|
-
"name": "
|
|
545
|
-
"type": {
|
|
546
|
-
"text": "string"
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"name": "body",
|
|
774
|
+
"name": "workspaceName",
|
|
551
775
|
"type": {
|
|
552
776
|
"text": "string"
|
|
553
777
|
}
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "actionFunction",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "() => void"
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "dialogBoundary",
|
|
563
|
-
"type": {
|
|
564
|
-
"text": "HTMLElement"
|
|
565
|
-
}
|
|
566
778
|
}
|
|
567
779
|
]
|
|
568
780
|
},
|
|
569
781
|
{
|
|
570
782
|
"kind": "method",
|
|
571
|
-
"name": "
|
|
783
|
+
"name": "removeFromWorkspacesList",
|
|
784
|
+
"privacy": "private",
|
|
572
785
|
"return": {
|
|
573
786
|
"type": {
|
|
574
|
-
"text": "void"
|
|
787
|
+
"text": "Promise<void>"
|
|
575
788
|
}
|
|
576
789
|
},
|
|
577
790
|
"parameters": [
|
|
@@ -582,363 +795,364 @@
|
|
|
582
795
|
}
|
|
583
796
|
}
|
|
584
797
|
]
|
|
798
|
+
}
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"kind": "variable",
|
|
803
|
+
"name": "WorkspaceState",
|
|
804
|
+
"description": "DI token for workspace state."
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"exports": [
|
|
808
|
+
{
|
|
809
|
+
"kind": "js",
|
|
810
|
+
"name": "DefaultWorkspaceState",
|
|
811
|
+
"declaration": {
|
|
812
|
+
"name": "DefaultWorkspaceState",
|
|
813
|
+
"module": "src/workspace/workspace-state.ts"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"kind": "js",
|
|
818
|
+
"name": "WorkspaceState",
|
|
819
|
+
"declaration": {
|
|
820
|
+
"name": "WorkspaceState",
|
|
821
|
+
"module": "src/workspace/workspace-state.ts"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"kind": "javascript-module",
|
|
828
|
+
"path": "src/workspace/workspace-state.types.ts",
|
|
829
|
+
"declarations": [],
|
|
830
|
+
"exports": []
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"kind": "javascript-module",
|
|
834
|
+
"path": "src/workspace/workspace.types.ts",
|
|
835
|
+
"declarations": [],
|
|
836
|
+
"exports": []
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"kind": "javascript-module",
|
|
840
|
+
"path": "src/workspace-manager/index.ts",
|
|
841
|
+
"declarations": [],
|
|
842
|
+
"exports": [
|
|
843
|
+
{
|
|
844
|
+
"kind": "js",
|
|
845
|
+
"name": "*",
|
|
846
|
+
"declaration": {
|
|
847
|
+
"name": "*",
|
|
848
|
+
"package": "./workspace-manager"
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"kind": "javascript-module",
|
|
855
|
+
"path": "src/workspace-manager/workspace-manager.styles.ts",
|
|
856
|
+
"declarations": [
|
|
857
|
+
{
|
|
858
|
+
"kind": "variable",
|
|
859
|
+
"name": "WorkspaceManagerStyles",
|
|
860
|
+
"default": "css`\n .workspace-manager {\n display: flex;\n gap: 10px;\n align-items: center;\n }\n\n .dialog-content {\n padding: 16px;\n min-width: 400px;\n max-width: 400px;\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n }\n\n .button-group {\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n }\n\n .workspace-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-height: 400px;\n overflow-y: auto;\n margin: 10px 0;\n align-items: unset;\n }\n\n rapid-label {\n margin-bottom: 10px;\n display: block;\n }\n\n .empty-state {\n padding: 24px;\n text-align: center;\n color: var(--neutral-foreground-hint);\n }\n\n .save-mode-selector {\n margin-bottom: 16px;\n }\n\n .warning-message {\n margin: 12px 0;\n padding: 12px;\n border: 1px solid var(--warning-color);\n border-radius: 4px;\n font-size: 14px;\n }\n\n .workspace-item {\n padding: 12px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 5px;\n }\n\n .workspace-item:hover {\n background: var(--neutral-fill-hover);\n }\n\n .workspace-item::part(control) {\n margin-top: 2px;\n }\n\n .workspace-info {\n flex: 1;\n margin-left: 8px;\n }\n\n .workspace-name {\n font-weight: 600;\n margin-bottom: 4px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .workspace-date {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n margin-top: 4px;\n white-space: pre-wrap;\n word-break: break-word;\n line-height: 1.4;\n }\n\n .loading-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px;\n }\n\n .save-field {\n margin-bottom: 20px;\n }\n`"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
863
|
+
"exports": [
|
|
864
|
+
{
|
|
865
|
+
"kind": "js",
|
|
866
|
+
"name": "WorkspaceManagerStyles",
|
|
867
|
+
"declaration": {
|
|
868
|
+
"name": "WorkspaceManagerStyles",
|
|
869
|
+
"module": "src/workspace-manager/workspace-manager.styles.ts"
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"kind": "javascript-module",
|
|
876
|
+
"path": "src/workspace-manager/workspace-manager.template.ts",
|
|
877
|
+
"declarations": [
|
|
878
|
+
{
|
|
879
|
+
"kind": "variable",
|
|
880
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
881
|
+
"type": {
|
|
882
|
+
"text": "number"
|
|
883
|
+
},
|
|
884
|
+
"default": "200"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"kind": "variable",
|
|
888
|
+
"name": "workspaceHeaderPartial",
|
|
889
|
+
"type": {
|
|
890
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
891
|
+
},
|
|
892
|
+
"default": "html`\n <div class=\"workspace-manager\">\n <rapid-button @click=${(x) => x.openSaveDialog()}>\n <rapid-icon name=\"download\"></rapid-icon>\n Save Workspace\n </rapid-button>\n <rapid-button @click=${(x) => x.openLoadDialog()}>\n <rapid-icon name=\"upload\"></rapid-icon>\n Load Workspace\n </rapid-button>\n </div>\n`"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"kind": "variable",
|
|
896
|
+
"name": "workspaceSaveModalPartial",
|
|
897
|
+
"type": {
|
|
898
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
899
|
+
},
|
|
900
|
+
"default": "html`\n <rapid-modal ${ref('saveModal')}>\n <h2 slot=\"top\">Save Workspace</h2>\n <div class=\"dialog-content\">\n <div class=\"save-mode-selector\">\n <rapid-segmented-control value=\"${sync((x) => x.saveMode)}\">\n <rapid-segmented-item value=\"create\">Create</rapid-segmented-item>\n <rapid-segmented-item value=\"overwrite\">Overwrite</rapid-segmented-item>\n ${when(\n () => false,\n html<WorkspaceManager>`\n <rapid-segmented-item value=\"shared\">Share</rapid-segmented-item>\n `,\n )}\n </rapid-segmented-control>\n </div>\n ${when(\n (x) => x.saveMode === 'create',\n html<WorkspaceManager>`\n <rapid-label>Workspace Name:</rapid-label>\n <rapid-text-field\n class=\"save-field\"\n :value=${(x) => x.workspaceName}\n @input=${(x, c) => (x.workspaceName = (c.event.target as HTMLInputElement).value)}\n placeholder=\"Enter workspace name\"\n ></rapid-text-field>\n <rapid-label>\n Description (optional, max ${WORKSPACE_DESCRIPTION_MAX} characters):\n </rapid-label>\n <rapid-text-area\n class=\"save-field workspace-description-input\"\n maxlength=\"${WORKSPACE_DESCRIPTION_MAX}\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></rapid-text-area>\n ${when(\n (x) => x.workspaceName && x.isWorkspaceExisting(x.workspaceName),\n html`\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n A workspace with this name already exists. Use \"Overwrite Existing Workspace\" to\n replace it.\n </div>\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.saveMode === 'overwrite',\n html<WorkspaceManager>`\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to overwrite</div>\n `,\n )}\n <rapid-label>Select Workspace to Overwrite:</rapid-label>\n <rapid-radio-group\n class=\"workspace-list\"\n value=${sync((x) => x.selectedWorkspaceToOverwrite)}\n orientation=\"vertical\"\n >\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <rapid-radio value=${(x) => x.name} class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(x) => x.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(x) => new Date(x.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n </rapid-radio>\n `,\n )}\n </rapid-radio-group>\n <rapid-label>Description (optional):</rapid-label>\n <rapid-text-area\n class=\"save-field\"\n :value=${(x) => x.workspaceDescription}\n maxlength=\"${WORKSPACE_DESCRIPTION_MAX}\"\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></rapid-text-area>\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n This will permanently replace the selected workspace. This action cannot be undone.\n </div>\n `,\n )}\n ${when(\n () => false,\n html<WorkspaceManager>`\n <h3>Share existing workspace:</h3>\n ${whenElse(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to share</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.shareExistingWorkspace(w.name)}\n >\n Share\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n <h3>My Shared Workspaces</h3>\n ${whenElse(\n (x) =>\n x.sharedWorkspaces.filter((w) => w.userName === x.auth?.loggedUserResult?.username)\n .length === 0,\n html`\n <div class=\"empty-state\">You have not shared any workspaces</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) =>\n x.sharedWorkspaces.filter(\n (w) => w.userName === x.auth?.loggedUserResult?.username,\n ),\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared on\n ${(w) => new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.modifySharedWorkspace(w)}\n >\n Save\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteSharedWorkspace(w)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button\n @click=${(x) => x.saveWorkspace()}\n appearance=\"primary\"\n ?disabled=${(x) =>\n (x.saveMode === 'create' && !x.workspaceName.trim()) ||\n (x.saveMode === 'overwrite' && !x.selectedWorkspaceToOverwrite) ||\n x.saveMode === 'shared' ||\n (x.workspaceName && x.isWorkspaceExisting(x.workspaceName))}\n >\n ${(x) =>\n x.saveMode === 'create' ? 'Create' : x.saveMode === 'overwrite' ? 'Overwrite' : 'Save'}\n </rapid-button>\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeSaveDialog()}>\n Cancel\n </rapid-button>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('sharedWorkspaceDialogBoundary')}></div>\n </div>\n </rapid-modal>\n`"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"kind": "variable",
|
|
904
|
+
"name": "workspaceLoadModalPartial",
|
|
905
|
+
"type": {
|
|
906
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
907
|
+
},
|
|
908
|
+
"default": "html`\n <rapid-modal ${ref('loadModal')}>\n <h2 slot=\"top\">Load Workspace</h2>\n <div class=\"dialog-content\">\n ${when(\n (x) => x.applyingWorkspace || x.isLoading,\n html`\n <div class=\"loading-container\">\n <div>Loading...</div>\n </div>\n `,\n )}\n ${when(\n (x) => !x.applyingWorkspace,\n html<WorkspaceManager>`\n ${when(\n () => false,\n html<WorkspaceManager>`\n <rapid-segmented-control value=\"${sync((x) => x.loadMode)}\">\n <rapid-segmented-item value=\"MY\">My Workspaces</rapid-segmented-item>\n\n <rapid-segmented-item value=\"SHARED\">Shared Workspaces</rapid-segmented-item>\n </rapid-segmented-control>\n `,\n )}\n ${when(\n (x) => x.loadMode === 'MY',\n html`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadWorkspace(w.name)}\n >\n Load\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteWorkspace(w.name)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces found</div>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n () => false,\n html`\n <div class=\"workspace-section\">\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.sharedWorkspaces,\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared by ${(w) => w.userName} ·\n ${(w) =>\n new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadSharedWorkspace(w)}\n >\n Load\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n ${when(\n (x) => x.sharedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No shared workspaces available</div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeLoadDialog()}>Close</rapid-button>\n </div>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('dialogBoundary')}></div>\n </rapid-modal>\n`"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"kind": "variable",
|
|
912
|
+
"name": "WorkspaceManagerTemplate",
|
|
913
|
+
"default": "html<WorkspaceManager>`\n ${workspaceHeaderPartial} ${workspaceSaveModalPartial} ${workspaceLoadModalPartial}\n`"
|
|
914
|
+
}
|
|
915
|
+
],
|
|
916
|
+
"exports": [
|
|
917
|
+
{
|
|
918
|
+
"kind": "js",
|
|
919
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
920
|
+
"declaration": {
|
|
921
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
922
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"kind": "js",
|
|
927
|
+
"name": "workspaceHeaderPartial",
|
|
928
|
+
"declaration": {
|
|
929
|
+
"name": "workspaceHeaderPartial",
|
|
930
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"kind": "js",
|
|
935
|
+
"name": "workspaceSaveModalPartial",
|
|
936
|
+
"declaration": {
|
|
937
|
+
"name": "workspaceSaveModalPartial",
|
|
938
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"kind": "js",
|
|
943
|
+
"name": "workspaceLoadModalPartial",
|
|
944
|
+
"declaration": {
|
|
945
|
+
"name": "workspaceLoadModalPartial",
|
|
946
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"kind": "js",
|
|
951
|
+
"name": "WorkspaceManagerTemplate",
|
|
952
|
+
"declaration": {
|
|
953
|
+
"name": "WorkspaceManagerTemplate",
|
|
954
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
]
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "javascript-module",
|
|
961
|
+
"path": "src/workspace-manager/workspace-manager.ts",
|
|
962
|
+
"declarations": [
|
|
963
|
+
{
|
|
964
|
+
"kind": "class",
|
|
965
|
+
"description": "Workspace persistence UI (save/load + share/delete shared workspaces).",
|
|
966
|
+
"name": "WorkspaceManager",
|
|
967
|
+
"members": [
|
|
968
|
+
{
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "workspaceName",
|
|
971
|
+
"type": {
|
|
972
|
+
"text": "string"
|
|
973
|
+
},
|
|
974
|
+
"default": "''"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"kind": "field",
|
|
978
|
+
"name": "workspaceDescription",
|
|
979
|
+
"type": {
|
|
980
|
+
"text": "string"
|
|
981
|
+
},
|
|
982
|
+
"default": "''"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"kind": "field",
|
|
986
|
+
"name": "savedWorkspaces",
|
|
987
|
+
"type": {
|
|
988
|
+
"text": "SavedWorkspace[]"
|
|
989
|
+
},
|
|
990
|
+
"default": "[]"
|
|
585
991
|
},
|
|
586
992
|
{
|
|
587
|
-
"kind": "
|
|
588
|
-
"name": "
|
|
589
|
-
"
|
|
590
|
-
"
|
|
591
|
-
"text": "Promise<void>"
|
|
592
|
-
}
|
|
993
|
+
"kind": "field",
|
|
994
|
+
"name": "sharedWorkspaces",
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "SharedWorkspace[]"
|
|
593
997
|
},
|
|
594
|
-
"
|
|
595
|
-
{
|
|
596
|
-
"name": "sharedWorkspace",
|
|
597
|
-
"type": {
|
|
598
|
-
"text": "SharedWorkspace"
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
]
|
|
998
|
+
"default": "[]"
|
|
602
999
|
},
|
|
603
1000
|
{
|
|
604
|
-
"kind": "
|
|
605
|
-
"name": "
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"text": "Promise<void>"
|
|
609
|
-
}
|
|
1001
|
+
"kind": "field",
|
|
1002
|
+
"name": "isLoading",
|
|
1003
|
+
"type": {
|
|
1004
|
+
"text": "boolean"
|
|
610
1005
|
},
|
|
611
|
-
"
|
|
612
|
-
{
|
|
613
|
-
"name": "sharedWorkspace",
|
|
614
|
-
"type": {
|
|
615
|
-
"text": "SharedWorkspace"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
]
|
|
1006
|
+
"default": "false"
|
|
619
1007
|
},
|
|
620
1008
|
{
|
|
621
|
-
"kind": "
|
|
622
|
-
"name": "
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
"text": "void"
|
|
626
|
-
}
|
|
1009
|
+
"kind": "field",
|
|
1010
|
+
"name": "applyingWorkspace",
|
|
1011
|
+
"type": {
|
|
1012
|
+
"text": "boolean"
|
|
627
1013
|
},
|
|
628
|
-
"
|
|
629
|
-
{
|
|
630
|
-
"name": "sharedWorkspace",
|
|
631
|
-
"type": {
|
|
632
|
-
"text": "SharedWorkspace"
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
]
|
|
1014
|
+
"default": "false"
|
|
636
1015
|
},
|
|
637
1016
|
{
|
|
638
|
-
"kind": "
|
|
639
|
-
"name": "
|
|
640
|
-
"
|
|
641
|
-
"
|
|
642
|
-
"text": "Promise<void>"
|
|
643
|
-
}
|
|
1017
|
+
"kind": "field",
|
|
1018
|
+
"name": "loadMode",
|
|
1019
|
+
"type": {
|
|
1020
|
+
"text": "LoadMode"
|
|
644
1021
|
},
|
|
645
|
-
"
|
|
646
|
-
{
|
|
647
|
-
"name": "workspaceName",
|
|
648
|
-
"type": {
|
|
649
|
-
"text": "string"
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
]
|
|
1022
|
+
"default": "'MY'"
|
|
653
1023
|
},
|
|
654
1024
|
{
|
|
655
|
-
"kind": "
|
|
656
|
-
"name": "
|
|
657
|
-
"
|
|
658
|
-
"
|
|
659
|
-
"text": "Promise<void>"
|
|
660
|
-
}
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "saveModal",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "Modal"
|
|
661
1029
|
}
|
|
662
1030
|
},
|
|
663
1031
|
{
|
|
664
|
-
"kind": "
|
|
665
|
-
"name": "
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
"parameters": [
|
|
672
|
-
{
|
|
673
|
-
"name": "workspaceName",
|
|
674
|
-
"type": {
|
|
675
|
-
"text": "string"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
]
|
|
1032
|
+
"kind": "field",
|
|
1033
|
+
"name": "loadModal",
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Modal"
|
|
1036
|
+
}
|
|
679
1037
|
},
|
|
680
1038
|
{
|
|
681
|
-
"kind": "
|
|
682
|
-
"name": "
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
"text": "void"
|
|
686
|
-
}
|
|
1039
|
+
"kind": "field",
|
|
1040
|
+
"name": "saveMode",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "'create' | 'overwrite' | 'shared'"
|
|
687
1043
|
},
|
|
688
|
-
"
|
|
689
|
-
{
|
|
690
|
-
"name": "oldValue",
|
|
691
|
-
"type": {
|
|
692
|
-
"text": "string"
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
{
|
|
696
|
-
"name": "newValue",
|
|
697
|
-
"type": {
|
|
698
|
-
"text": "string"
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
]
|
|
1044
|
+
"default": "'create'"
|
|
702
1045
|
},
|
|
703
1046
|
{
|
|
704
|
-
"kind": "
|
|
705
|
-
"name": "
|
|
706
|
-
"
|
|
707
|
-
"
|
|
708
|
-
"text": "void"
|
|
709
|
-
}
|
|
1047
|
+
"kind": "field",
|
|
1048
|
+
"name": "selectedWorkspaceToOverwrite",
|
|
1049
|
+
"type": {
|
|
1050
|
+
"text": "string"
|
|
710
1051
|
},
|
|
711
|
-
"
|
|
712
|
-
{
|
|
713
|
-
"name": "oldValue",
|
|
714
|
-
"type": {
|
|
715
|
-
"text": "string"
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"name": "newValue",
|
|
720
|
-
"type": {
|
|
721
|
-
"text": "string"
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
]
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
"kind": "method",
|
|
728
|
-
"name": "openLoadDialog",
|
|
729
|
-
"return": {
|
|
730
|
-
"type": {
|
|
731
|
-
"text": "void"
|
|
732
|
-
}
|
|
733
|
-
}
|
|
1052
|
+
"default": "''"
|
|
734
1053
|
},
|
|
735
1054
|
{
|
|
736
|
-
"kind": "
|
|
737
|
-
"name": "
|
|
738
|
-
"
|
|
739
|
-
"
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
}
|
|
1055
|
+
"kind": "field",
|
|
1056
|
+
"name": "workspaceToShare",
|
|
1057
|
+
"type": {
|
|
1058
|
+
"text": "string"
|
|
1059
|
+
},
|
|
1060
|
+
"default": "''"
|
|
743
1061
|
},
|
|
744
1062
|
{
|
|
745
|
-
"kind": "
|
|
746
|
-
"name": "
|
|
747
|
-
"
|
|
748
|
-
"
|
|
749
|
-
"text": "void"
|
|
750
|
-
}
|
|
1063
|
+
"kind": "field",
|
|
1064
|
+
"name": "dialogBoundary",
|
|
1065
|
+
"type": {
|
|
1066
|
+
"text": "HTMLElement"
|
|
751
1067
|
}
|
|
752
1068
|
},
|
|
753
1069
|
{
|
|
754
1070
|
"kind": "field",
|
|
755
|
-
"name": "
|
|
1071
|
+
"name": "sharedWorkspaceDialogBoundary",
|
|
756
1072
|
"type": {
|
|
757
|
-
"text": "
|
|
758
|
-
},
|
|
759
|
-
"privacy": "private",
|
|
760
|
-
"default": "void 0",
|
|
761
|
-
"inheritedFrom": {
|
|
762
|
-
"name": "FoundationElement",
|
|
763
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1073
|
+
"text": "HTMLElement"
|
|
764
1074
|
}
|
|
765
1075
|
},
|
|
766
1076
|
{
|
|
767
1077
|
"kind": "field",
|
|
768
|
-
"name": "
|
|
1078
|
+
"name": "layoutRegistry",
|
|
769
1079
|
"type": {
|
|
770
|
-
"text": "
|
|
771
|
-
},
|
|
772
|
-
"privacy": "public",
|
|
773
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
774
|
-
"inheritedFrom": {
|
|
775
|
-
"name": "FoundationElement",
|
|
776
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1080
|
+
"text": "LayoutRegistry"
|
|
777
1081
|
}
|
|
778
1082
|
},
|
|
779
1083
|
{
|
|
780
1084
|
"kind": "field",
|
|
781
|
-
"name": "
|
|
1085
|
+
"name": "gridRegistry",
|
|
782
1086
|
"type": {
|
|
783
|
-
"text": "
|
|
784
|
-
},
|
|
785
|
-
"privacy": "public",
|
|
786
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
787
|
-
"inheritedFrom": {
|
|
788
|
-
"name": "FoundationElement",
|
|
789
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1087
|
+
"text": "GridRegistry"
|
|
790
1088
|
}
|
|
791
1089
|
},
|
|
792
1090
|
{
|
|
793
|
-
"kind": "
|
|
794
|
-
"name": "
|
|
795
|
-
"
|
|
796
|
-
|
|
797
|
-
"type": {
|
|
798
|
-
"text": "void"
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
"inheritedFrom": {
|
|
802
|
-
"name": "FoundationElement",
|
|
803
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "filterRegistry",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "FilterRegistry"
|
|
804
1095
|
}
|
|
805
1096
|
},
|
|
806
1097
|
{
|
|
807
1098
|
"kind": "field",
|
|
808
|
-
"name": "
|
|
1099
|
+
"name": "workspaceState",
|
|
809
1100
|
"type": {
|
|
810
|
-
"text": "
|
|
811
|
-
},
|
|
812
|
-
"privacy": "public",
|
|
813
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
814
|
-
"inheritedFrom": {
|
|
815
|
-
"name": "FoundationElement",
|
|
816
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1101
|
+
"text": "WorkspaceState"
|
|
817
1102
|
}
|
|
818
1103
|
},
|
|
819
1104
|
{
|
|
820
|
-
"kind": "
|
|
821
|
-
"name": "
|
|
822
|
-
"
|
|
823
|
-
|
|
824
|
-
"type": {
|
|
825
|
-
"text": "void"
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
"inheritedFrom": {
|
|
829
|
-
"name": "FoundationElement",
|
|
830
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1105
|
+
"kind": "field",
|
|
1106
|
+
"name": "connect",
|
|
1107
|
+
"type": {
|
|
1108
|
+
"text": "Connect"
|
|
831
1109
|
}
|
|
832
1110
|
},
|
|
833
1111
|
{
|
|
834
|
-
"kind": "
|
|
835
|
-
"name": "
|
|
836
|
-
"
|
|
837
|
-
|
|
838
|
-
"return": {
|
|
839
|
-
"type": {
|
|
840
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
"parameters": [
|
|
844
|
-
{
|
|
845
|
-
"name": "this",
|
|
846
|
-
"type": {
|
|
847
|
-
"text": "K"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
"name": "elementDefinition",
|
|
852
|
-
"type": {
|
|
853
|
-
"text": "T"
|
|
854
|
-
},
|
|
855
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
856
|
-
}
|
|
857
|
-
],
|
|
858
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
859
|
-
"inheritedFrom": {
|
|
860
|
-
"name": "FoundationElement",
|
|
861
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1112
|
+
"kind": "field",
|
|
1113
|
+
"name": "auth",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "Auth"
|
|
862
1116
|
}
|
|
863
|
-
}
|
|
864
|
-
],
|
|
865
|
-
"superclass": {
|
|
866
|
-
"name": "FoundationElement",
|
|
867
|
-
"package": "@genesislcap/web-core"
|
|
868
|
-
},
|
|
869
|
-
"tagName": "workspace-manager",
|
|
870
|
-
"customElement": true
|
|
871
|
-
}
|
|
872
|
-
],
|
|
873
|
-
"exports": [
|
|
874
|
-
{
|
|
875
|
-
"kind": "js",
|
|
876
|
-
"name": "WorkspaceManager",
|
|
877
|
-
"declaration": {
|
|
878
|
-
"name": "WorkspaceManager",
|
|
879
|
-
"module": "src/workspace-manager/workspace-manager.ts"
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
{
|
|
883
|
-
"kind": "custom-element-definition",
|
|
884
|
-
"name": "workspace-manager",
|
|
885
|
-
"declaration": {
|
|
886
|
-
"name": "WorkspaceManager",
|
|
887
|
-
"module": "src/workspace-manager/workspace-manager.ts"
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
]
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"kind": "javascript-module",
|
|
894
|
-
"path": "src/workspace/filter-registry.ts",
|
|
895
|
-
"declarations": [
|
|
896
|
-
{
|
|
897
|
-
"kind": "class",
|
|
898
|
-
"description": "",
|
|
899
|
-
"name": "DefaultFilterRegistry",
|
|
900
|
-
"members": [
|
|
1117
|
+
},
|
|
901
1118
|
{
|
|
902
1119
|
"kind": "field",
|
|
903
|
-
"name": "
|
|
1120
|
+
"name": "canShareWorkspace",
|
|
904
1121
|
"type": {
|
|
905
|
-
"text": "
|
|
1122
|
+
"text": "boolean"
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "field",
|
|
1127
|
+
"name": "sharedWorkspacesEnabled",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "boolean"
|
|
906
1130
|
},
|
|
907
1131
|
"privacy": "private",
|
|
908
|
-
"
|
|
1132
|
+
"readonly": true,
|
|
1133
|
+
"default": "false"
|
|
909
1134
|
},
|
|
910
1135
|
{
|
|
911
1136
|
"kind": "method",
|
|
912
|
-
"name": "
|
|
1137
|
+
"name": "sanitizeDescription",
|
|
1138
|
+
"privacy": "private",
|
|
913
1139
|
"return": {
|
|
914
1140
|
"type": {
|
|
915
|
-
"text": "
|
|
1141
|
+
"text": "string"
|
|
916
1142
|
}
|
|
917
1143
|
},
|
|
918
1144
|
"parameters": [
|
|
919
1145
|
{
|
|
920
|
-
"name": "
|
|
1146
|
+
"name": "input",
|
|
921
1147
|
"type": {
|
|
922
1148
|
"text": "string"
|
|
923
1149
|
}
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "getFilterValue",
|
|
927
|
-
"type": {
|
|
928
|
-
"text": "() => SavedFilterValue | null"
|
|
929
|
-
}
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
"name": "setFilterValue",
|
|
933
|
-
"type": {
|
|
934
|
-
"text": "(value: string) => void"
|
|
935
|
-
}
|
|
936
1150
|
}
|
|
937
1151
|
]
|
|
938
1152
|
},
|
|
939
1153
|
{
|
|
940
1154
|
"kind": "method",
|
|
941
|
-
"name": "
|
|
1155
|
+
"name": "updateWorkspaceDescription",
|
|
942
1156
|
"return": {
|
|
943
1157
|
"type": {
|
|
944
1158
|
"text": "void"
|
|
@@ -946,7 +1160,7 @@
|
|
|
946
1160
|
},
|
|
947
1161
|
"parameters": [
|
|
948
1162
|
{
|
|
949
|
-
"name": "
|
|
1163
|
+
"name": "raw",
|
|
950
1164
|
"type": {
|
|
951
1165
|
"text": "string"
|
|
952
1166
|
}
|
|
@@ -955,87 +1169,36 @@
|
|
|
955
1169
|
},
|
|
956
1170
|
{
|
|
957
1171
|
"kind": "method",
|
|
958
|
-
"name": "
|
|
1172
|
+
"name": "setDescriptionFromSelectedWorkspace",
|
|
1173
|
+
"privacy": "private",
|
|
959
1174
|
"return": {
|
|
960
1175
|
"type": {
|
|
961
|
-
"text": "
|
|
1176
|
+
"text": "void"
|
|
962
1177
|
}
|
|
963
1178
|
}
|
|
964
1179
|
},
|
|
965
1180
|
{
|
|
966
1181
|
"kind": "method",
|
|
967
|
-
"name": "
|
|
1182
|
+
"name": "refreshSavedWorkspaces",
|
|
968
1183
|
"return": {
|
|
969
1184
|
"type": {
|
|
970
|
-
"text": "void"
|
|
971
|
-
}
|
|
972
|
-
},
|
|
973
|
-
"parameters": [
|
|
974
|
-
{
|
|
975
|
-
"name": "filtersValues",
|
|
976
|
-
"type": {
|
|
977
|
-
"text": "SavedFilterValue[]"
|
|
978
|
-
}
|
|
1185
|
+
"text": "Promise<void>"
|
|
979
1186
|
}
|
|
980
|
-
|
|
981
|
-
}
|
|
982
|
-
]
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"kind": "variable",
|
|
986
|
-
"name": "FilterRegistry",
|
|
987
|
-
"description": "DI token for filter registry."
|
|
988
|
-
}
|
|
989
|
-
],
|
|
990
|
-
"exports": [
|
|
991
|
-
{
|
|
992
|
-
"kind": "js",
|
|
993
|
-
"name": "DefaultFilterRegistry",
|
|
994
|
-
"declaration": {
|
|
995
|
-
"name": "DefaultFilterRegistry",
|
|
996
|
-
"module": "src/workspace/filter-registry.ts"
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
"kind": "js",
|
|
1001
|
-
"name": "FilterRegistry",
|
|
1002
|
-
"declaration": {
|
|
1003
|
-
"name": "FilterRegistry",
|
|
1004
|
-
"module": "src/workspace/filter-registry.ts"
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
"kind": "javascript-module",
|
|
1011
|
-
"path": "src/workspace/grid-registry.ts",
|
|
1012
|
-
"declarations": [
|
|
1013
|
-
{
|
|
1014
|
-
"kind": "class",
|
|
1015
|
-
"description": "",
|
|
1016
|
-
"name": "DefaultGridRegistry",
|
|
1017
|
-
"members": [
|
|
1018
|
-
{
|
|
1019
|
-
"kind": "field",
|
|
1020
|
-
"name": "grids",
|
|
1021
|
-
"type": {
|
|
1022
|
-
"text": "Map<string, GridRegistration>"
|
|
1023
|
-
},
|
|
1024
|
-
"privacy": "private",
|
|
1025
|
-
"default": "new Map()"
|
|
1187
|
+
}
|
|
1026
1188
|
},
|
|
1027
1189
|
{
|
|
1028
|
-
"kind": "
|
|
1029
|
-
"name": "
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1190
|
+
"kind": "method",
|
|
1191
|
+
"name": "refreshSharedWorkspaces",
|
|
1192
|
+
"return": {
|
|
1193
|
+
"type": {
|
|
1194
|
+
"text": "Promise<void>"
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1035
1197
|
},
|
|
1036
1198
|
{
|
|
1037
1199
|
"kind": "method",
|
|
1038
|
-
"name": "
|
|
1200
|
+
"name": "notifyError",
|
|
1201
|
+
"privacy": "private",
|
|
1039
1202
|
"return": {
|
|
1040
1203
|
"type": {
|
|
1041
1204
|
"text": "void"
|
|
@@ -1043,53 +1206,49 @@
|
|
|
1043
1206
|
},
|
|
1044
1207
|
"parameters": [
|
|
1045
1208
|
{
|
|
1046
|
-
"name": "
|
|
1047
|
-
"
|
|
1048
|
-
"text": "string"
|
|
1049
|
-
}
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
"name": "gridApi",
|
|
1053
|
-
"type": {
|
|
1054
|
-
"text": "unknown"
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
"name": "columnApi",
|
|
1059
|
-
"type": {
|
|
1060
|
-
"text": "unknown"
|
|
1061
|
-
}
|
|
1209
|
+
"name": "body",
|
|
1210
|
+
"default": "'Error'"
|
|
1062
1211
|
}
|
|
1063
1212
|
]
|
|
1064
1213
|
},
|
|
1065
1214
|
{
|
|
1066
1215
|
"kind": "method",
|
|
1067
|
-
"name": "
|
|
1216
|
+
"name": "saveWorkspace",
|
|
1068
1217
|
"return": {
|
|
1069
1218
|
"type": {
|
|
1070
|
-
"text": "
|
|
1219
|
+
"text": "Promise<void>"
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "method",
|
|
1225
|
+
"name": "applyWorkspace",
|
|
1226
|
+
"privacy": "private",
|
|
1227
|
+
"return": {
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "Promise<void>"
|
|
1071
1230
|
}
|
|
1072
1231
|
},
|
|
1073
1232
|
"parameters": [
|
|
1074
1233
|
{
|
|
1075
|
-
"name": "
|
|
1234
|
+
"name": "workspace",
|
|
1076
1235
|
"type": {
|
|
1077
|
-
"text": "
|
|
1236
|
+
"text": "SavedWorkspace"
|
|
1078
1237
|
}
|
|
1079
1238
|
}
|
|
1080
1239
|
]
|
|
1081
1240
|
},
|
|
1082
1241
|
{
|
|
1083
1242
|
"kind": "method",
|
|
1084
|
-
"name": "
|
|
1243
|
+
"name": "loadWorkspace",
|
|
1085
1244
|
"return": {
|
|
1086
1245
|
"type": {
|
|
1087
|
-
"text": "void"
|
|
1246
|
+
"text": "Promise<void>"
|
|
1088
1247
|
}
|
|
1089
1248
|
},
|
|
1090
1249
|
"parameters": [
|
|
1091
1250
|
{
|
|
1092
|
-
"name": "
|
|
1251
|
+
"name": "workspaceName",
|
|
1093
1252
|
"type": {
|
|
1094
1253
|
"text": "string"
|
|
1095
1254
|
}
|
|
@@ -1098,40 +1257,25 @@
|
|
|
1098
1257
|
},
|
|
1099
1258
|
{
|
|
1100
1259
|
"kind": "method",
|
|
1101
|
-
"name": "
|
|
1102
|
-
"
|
|
1103
|
-
"type": {
|
|
1104
|
-
"text": "SavedGridSettings[]"
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
},
|
|
1108
|
-
{
|
|
1109
|
-
"kind": "method",
|
|
1110
|
-
"name": "applyGridSettings",
|
|
1260
|
+
"name": "requestSharedWorkspace",
|
|
1261
|
+
"privacy": "private",
|
|
1111
1262
|
"return": {
|
|
1112
1263
|
"type": {
|
|
1113
|
-
"text": "Promise<
|
|
1264
|
+
"text": "Promise<any[]>"
|
|
1114
1265
|
}
|
|
1115
1266
|
},
|
|
1116
1267
|
"parameters": [
|
|
1117
|
-
{
|
|
1118
|
-
"name": "
|
|
1119
|
-
"type": {
|
|
1120
|
-
"text": "SavedGridSettings"
|
|
1121
|
-
}
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
"name": "options",
|
|
1125
|
-
"optional": true,
|
|
1268
|
+
{
|
|
1269
|
+
"name": "SHARED_WORKSPACE_ID",
|
|
1126
1270
|
"type": {
|
|
1127
|
-
"text": "
|
|
1271
|
+
"text": "string"
|
|
1128
1272
|
}
|
|
1129
1273
|
}
|
|
1130
1274
|
]
|
|
1131
1275
|
},
|
|
1132
1276
|
{
|
|
1133
1277
|
"kind": "method",
|
|
1134
|
-
"name": "
|
|
1278
|
+
"name": "loadSharedWorkspace",
|
|
1135
1279
|
"return": {
|
|
1136
1280
|
"type": {
|
|
1137
1281
|
"text": "Promise<void>"
|
|
@@ -1139,163 +1283,34 @@
|
|
|
1139
1283
|
},
|
|
1140
1284
|
"parameters": [
|
|
1141
1285
|
{
|
|
1142
|
-
"name": "
|
|
1143
|
-
"type": {
|
|
1144
|
-
"text": "SavedGridSettings[]"
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
{
|
|
1148
|
-
"name": "maxRetries",
|
|
1149
|
-
"default": "3",
|
|
1286
|
+
"name": "shared",
|
|
1150
1287
|
"type": {
|
|
1151
|
-
"text": "number"
|
|
1288
|
+
"text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
|
|
1152
1289
|
}
|
|
1153
1290
|
}
|
|
1154
1291
|
]
|
|
1155
1292
|
},
|
|
1156
1293
|
{
|
|
1157
1294
|
"kind": "method",
|
|
1158
|
-
"name": "
|
|
1159
|
-
"privacy": "private",
|
|
1295
|
+
"name": "deleteWorkspace",
|
|
1160
1296
|
"return": {
|
|
1161
1297
|
"type": {
|
|
1162
|
-
"text": "
|
|
1298
|
+
"text": "Promise<void>"
|
|
1163
1299
|
}
|
|
1164
1300
|
},
|
|
1165
1301
|
"parameters": [
|
|
1166
1302
|
{
|
|
1167
|
-
"name": "
|
|
1303
|
+
"name": "workspaceName",
|
|
1168
1304
|
"type": {
|
|
1169
1305
|
"text": "string"
|
|
1170
1306
|
}
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
"name": "grid",
|
|
1174
|
-
"type": {
|
|
1175
|
-
"text": "GridRegistration"
|
|
1176
|
-
}
|
|
1177
1307
|
}
|
|
1178
1308
|
]
|
|
1179
|
-
}
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
"kind": "variable",
|
|
1184
|
-
"name": "GridRegistry",
|
|
1185
|
-
"description": "DI token for grid registry."
|
|
1186
|
-
}
|
|
1187
|
-
],
|
|
1188
|
-
"exports": [
|
|
1189
|
-
{
|
|
1190
|
-
"kind": "js",
|
|
1191
|
-
"name": "DefaultGridRegistry",
|
|
1192
|
-
"declaration": {
|
|
1193
|
-
"name": "DefaultGridRegistry",
|
|
1194
|
-
"module": "src/workspace/grid-registry.ts"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"kind": "js",
|
|
1199
|
-
"name": "GridRegistry",
|
|
1200
|
-
"declaration": {
|
|
1201
|
-
"name": "GridRegistry",
|
|
1202
|
-
"module": "src/workspace/grid-registry.ts"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
]
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"kind": "javascript-module",
|
|
1209
|
-
"path": "src/workspace/index.ts",
|
|
1210
|
-
"declarations": [],
|
|
1211
|
-
"exports": [
|
|
1212
|
-
{
|
|
1213
|
-
"kind": "js",
|
|
1214
|
-
"name": "*",
|
|
1215
|
-
"declaration": {
|
|
1216
|
-
"name": "*",
|
|
1217
|
-
"package": "./workspace.types"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"kind": "js",
|
|
1222
|
-
"name": "*",
|
|
1223
|
-
"declaration": {
|
|
1224
|
-
"name": "*",
|
|
1225
|
-
"package": "./workspace-state.types"
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"kind": "js",
|
|
1230
|
-
"name": "*",
|
|
1231
|
-
"declaration": {
|
|
1232
|
-
"name": "*",
|
|
1233
|
-
"package": "./workspace-state"
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"kind": "js",
|
|
1238
|
-
"name": "*",
|
|
1239
|
-
"declaration": {
|
|
1240
|
-
"name": "*",
|
|
1241
|
-
"package": "./layout-registry"
|
|
1242
|
-
}
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
"kind": "js",
|
|
1246
|
-
"name": "*",
|
|
1247
|
-
"declaration": {
|
|
1248
|
-
"name": "*",
|
|
1249
|
-
"package": "./grid-registry"
|
|
1250
|
-
}
|
|
1251
|
-
},
|
|
1252
|
-
{
|
|
1253
|
-
"kind": "js",
|
|
1254
|
-
"name": "*",
|
|
1255
|
-
"declaration": {
|
|
1256
|
-
"name": "*",
|
|
1257
|
-
"package": "./filter-registry"
|
|
1258
|
-
}
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"kind": "js",
|
|
1262
|
-
"name": "*",
|
|
1263
|
-
"declaration": {
|
|
1264
|
-
"name": "*",
|
|
1265
|
-
"package": "./grid-register"
|
|
1266
|
-
}
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"kind": "js",
|
|
1270
|
-
"name": "*",
|
|
1271
|
-
"declaration": {
|
|
1272
|
-
"name": "*",
|
|
1273
|
-
"package": "./layout-wrapper"
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
]
|
|
1277
|
-
},
|
|
1278
|
-
{
|
|
1279
|
-
"kind": "javascript-module",
|
|
1280
|
-
"path": "src/workspace/layout-registry.ts",
|
|
1281
|
-
"declarations": [
|
|
1282
|
-
{
|
|
1283
|
-
"kind": "class",
|
|
1284
|
-
"description": "Default layout registry implementation.",
|
|
1285
|
-
"name": "DefaultLayoutRegistry",
|
|
1286
|
-
"members": [
|
|
1287
|
-
{
|
|
1288
|
-
"kind": "field",
|
|
1289
|
-
"name": "layouts",
|
|
1290
|
-
"type": {
|
|
1291
|
-
"text": "Map<string, FoundationLayout>"
|
|
1292
|
-
},
|
|
1293
|
-
"privacy": "private",
|
|
1294
|
-
"default": "new Map()"
|
|
1295
1309
|
},
|
|
1296
1310
|
{
|
|
1297
1311
|
"kind": "method",
|
|
1298
|
-
"name": "
|
|
1312
|
+
"name": "showDeleteConfirmation",
|
|
1313
|
+
"privacy": "private",
|
|
1299
1314
|
"return": {
|
|
1300
1315
|
"type": {
|
|
1301
1316
|
"text": "void"
|
|
@@ -1303,22 +1318,34 @@
|
|
|
1303
1318
|
},
|
|
1304
1319
|
"parameters": [
|
|
1305
1320
|
{
|
|
1306
|
-
"name": "
|
|
1321
|
+
"name": "title",
|
|
1307
1322
|
"type": {
|
|
1308
1323
|
"text": "string"
|
|
1309
1324
|
}
|
|
1310
1325
|
},
|
|
1311
1326
|
{
|
|
1312
|
-
"name": "
|
|
1327
|
+
"name": "body",
|
|
1313
1328
|
"type": {
|
|
1314
|
-
"text": "
|
|
1329
|
+
"text": "string"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "actionFunction",
|
|
1334
|
+
"type": {
|
|
1335
|
+
"text": "() => void"
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "dialogBoundary",
|
|
1340
|
+
"type": {
|
|
1341
|
+
"text": "HTMLElement"
|
|
1315
1342
|
}
|
|
1316
1343
|
}
|
|
1317
1344
|
]
|
|
1318
1345
|
},
|
|
1319
1346
|
{
|
|
1320
1347
|
"kind": "method",
|
|
1321
|
-
"name": "
|
|
1348
|
+
"name": "confirmDeleteWorkspace",
|
|
1322
1349
|
"return": {
|
|
1323
1350
|
"type": {
|
|
1324
1351
|
"text": "void"
|
|
@@ -1326,7 +1353,7 @@
|
|
|
1326
1353
|
},
|
|
1327
1354
|
"parameters": [
|
|
1328
1355
|
{
|
|
1329
|
-
"name": "
|
|
1356
|
+
"name": "workspaceName",
|
|
1330
1357
|
"type": {
|
|
1331
1358
|
"text": "string"
|
|
1332
1359
|
}
|
|
@@ -1335,16 +1362,7 @@
|
|
|
1335
1362
|
},
|
|
1336
1363
|
{
|
|
1337
1364
|
"kind": "method",
|
|
1338
|
-
"name": "
|
|
1339
|
-
"return": {
|
|
1340
|
-
"type": {
|
|
1341
|
-
"text": "SavedLayout[]"
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
"kind": "method",
|
|
1347
|
-
"name": "applySavedLayouts",
|
|
1365
|
+
"name": "modifySharedWorkspace",
|
|
1348
1366
|
"return": {
|
|
1349
1367
|
"type": {
|
|
1350
1368
|
"text": "Promise<void>"
|
|
@@ -1352,95 +1370,53 @@
|
|
|
1352
1370
|
},
|
|
1353
1371
|
"parameters": [
|
|
1354
1372
|
{
|
|
1355
|
-
"name": "
|
|
1373
|
+
"name": "sharedWorkspace",
|
|
1356
1374
|
"type": {
|
|
1357
|
-
"text": "
|
|
1375
|
+
"text": "SharedWorkspace"
|
|
1358
1376
|
}
|
|
1359
1377
|
}
|
|
1360
1378
|
]
|
|
1361
|
-
}
|
|
1362
|
-
]
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
"kind": "variable",
|
|
1366
|
-
"name": "LayoutRegistry",
|
|
1367
|
-
"description": "DI token for layout registry."
|
|
1368
|
-
}
|
|
1369
|
-
],
|
|
1370
|
-
"exports": [
|
|
1371
|
-
{
|
|
1372
|
-
"kind": "js",
|
|
1373
|
-
"name": "DefaultLayoutRegistry",
|
|
1374
|
-
"declaration": {
|
|
1375
|
-
"name": "DefaultLayoutRegistry",
|
|
1376
|
-
"module": "src/workspace/layout-registry.ts"
|
|
1377
|
-
}
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"kind": "js",
|
|
1381
|
-
"name": "LayoutRegistry",
|
|
1382
|
-
"declaration": {
|
|
1383
|
-
"name": "LayoutRegistry",
|
|
1384
|
-
"module": "src/workspace/layout-registry.ts"
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
]
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"kind": "javascript-module",
|
|
1391
|
-
"path": "src/workspace/workspace-state.ts",
|
|
1392
|
-
"declarations": [
|
|
1393
|
-
{
|
|
1394
|
-
"kind": "class",
|
|
1395
|
-
"description": "Default workspace persistence implementation backed by KVStorage.",
|
|
1396
|
-
"name": "DefaultWorkspaceState",
|
|
1397
|
-
"members": [
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "field",
|
|
1400
|
-
"name": "STORAGE_PREFIX",
|
|
1401
|
-
"type": {
|
|
1402
|
-
"text": "string"
|
|
1403
|
-
},
|
|
1404
|
-
"privacy": "private",
|
|
1405
|
-
"readonly": true,
|
|
1406
|
-
"default": "'workspace_'"
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
"kind": "field",
|
|
1410
|
-
"name": "WORKSPACES_LIST_KEY",
|
|
1411
|
-
"type": {
|
|
1412
|
-
"text": "string"
|
|
1413
|
-
},
|
|
1414
|
-
"privacy": "private",
|
|
1415
|
-
"readonly": true,
|
|
1416
|
-
"default": "'workspaces_list'"
|
|
1417
1379
|
},
|
|
1418
1380
|
{
|
|
1419
|
-
"kind": "
|
|
1420
|
-
"name": "
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1381
|
+
"kind": "method",
|
|
1382
|
+
"name": "deleteSharedWorkspace",
|
|
1383
|
+
"return": {
|
|
1384
|
+
"type": {
|
|
1385
|
+
"text": "Promise<void>"
|
|
1386
|
+
}
|
|
1423
1387
|
},
|
|
1424
|
-
"
|
|
1425
|
-
|
|
1388
|
+
"parameters": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "sharedWorkspace",
|
|
1391
|
+
"type": {
|
|
1392
|
+
"text": "SharedWorkspace"
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
]
|
|
1426
1396
|
},
|
|
1427
1397
|
{
|
|
1428
1398
|
"kind": "method",
|
|
1429
|
-
"name": "
|
|
1430
|
-
"privacy": "private",
|
|
1399
|
+
"name": "confirmDeleteSharedWorkspace",
|
|
1431
1400
|
"return": {
|
|
1432
1401
|
"type": {
|
|
1433
|
-
"text": "
|
|
1402
|
+
"text": "void"
|
|
1434
1403
|
}
|
|
1435
|
-
}
|
|
1404
|
+
},
|
|
1405
|
+
"parameters": [
|
|
1406
|
+
{
|
|
1407
|
+
"name": "sharedWorkspace",
|
|
1408
|
+
"type": {
|
|
1409
|
+
"text": "SharedWorkspace"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
]
|
|
1436
1413
|
},
|
|
1437
1414
|
{
|
|
1438
1415
|
"kind": "method",
|
|
1439
|
-
"name": "
|
|
1440
|
-
"privacy": "private",
|
|
1416
|
+
"name": "shareExistingWorkspace",
|
|
1441
1417
|
"return": {
|
|
1442
1418
|
"type": {
|
|
1443
|
-
"text": "
|
|
1419
|
+
"text": "Promise<void>"
|
|
1444
1420
|
}
|
|
1445
1421
|
},
|
|
1446
1422
|
"parameters": [
|
|
@@ -1454,20 +1430,19 @@
|
|
|
1454
1430
|
},
|
|
1455
1431
|
{
|
|
1456
1432
|
"kind": "method",
|
|
1457
|
-
"name": "
|
|
1458
|
-
"privacy": "private",
|
|
1433
|
+
"name": "openSaveDialog",
|
|
1459
1434
|
"return": {
|
|
1460
1435
|
"type": {
|
|
1461
|
-
"text": "
|
|
1436
|
+
"text": "Promise<void>"
|
|
1462
1437
|
}
|
|
1463
1438
|
}
|
|
1464
1439
|
},
|
|
1465
1440
|
{
|
|
1466
1441
|
"kind": "method",
|
|
1467
|
-
"name": "
|
|
1442
|
+
"name": "isWorkspaceExisting",
|
|
1468
1443
|
"return": {
|
|
1469
1444
|
"type": {
|
|
1470
|
-
"text": "
|
|
1445
|
+
"text": "boolean"
|
|
1471
1446
|
}
|
|
1472
1447
|
},
|
|
1473
1448
|
"parameters": [
|
|
@@ -1476,45 +1451,26 @@
|
|
|
1476
1451
|
"type": {
|
|
1477
1452
|
"text": "string"
|
|
1478
1453
|
}
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
"name": "layouts",
|
|
1482
|
-
"type": {
|
|
1483
|
-
"text": "SavedLayout[]"
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"name": "grids",
|
|
1488
|
-
"type": {
|
|
1489
|
-
"text": "SavedGridSettings[]"
|
|
1490
|
-
}
|
|
1491
|
-
},
|
|
1492
|
-
{
|
|
1493
|
-
"name": "filters",
|
|
1494
|
-
"type": {
|
|
1495
|
-
"text": "SavedFilterValue[]"
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"name": "description",
|
|
1500
|
-
"optional": true,
|
|
1501
|
-
"type": {
|
|
1502
|
-
"text": "string"
|
|
1503
|
-
}
|
|
1504
1454
|
}
|
|
1505
1455
|
]
|
|
1506
1456
|
},
|
|
1507
1457
|
{
|
|
1508
1458
|
"kind": "method",
|
|
1509
|
-
"name": "
|
|
1459
|
+
"name": "saveModeChanged",
|
|
1510
1460
|
"return": {
|
|
1511
1461
|
"type": {
|
|
1512
|
-
"text": "
|
|
1462
|
+
"text": "void"
|
|
1513
1463
|
}
|
|
1514
1464
|
},
|
|
1515
1465
|
"parameters": [
|
|
1516
1466
|
{
|
|
1517
|
-
"name": "
|
|
1467
|
+
"name": "oldValue",
|
|
1468
|
+
"type": {
|
|
1469
|
+
"text": "string"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "newValue",
|
|
1518
1474
|
"type": {
|
|
1519
1475
|
"text": "string"
|
|
1520
1476
|
}
|
|
@@ -1523,16 +1479,21 @@
|
|
|
1523
1479
|
},
|
|
1524
1480
|
{
|
|
1525
1481
|
"kind": "method",
|
|
1526
|
-
"name": "
|
|
1527
|
-
"privacy": "private",
|
|
1482
|
+
"name": "selectedWorkspaceToOverwriteChanged",
|
|
1528
1483
|
"return": {
|
|
1529
1484
|
"type": {
|
|
1530
|
-
"text": "
|
|
1485
|
+
"text": "void"
|
|
1531
1486
|
}
|
|
1532
1487
|
},
|
|
1533
1488
|
"parameters": [
|
|
1534
1489
|
{
|
|
1535
|
-
"name": "
|
|
1490
|
+
"name": "oldValue",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "string"
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "newValue",
|
|
1536
1497
|
"type": {
|
|
1537
1498
|
"text": "string"
|
|
1538
1499
|
}
|
|
@@ -1541,131 +1502,170 @@
|
|
|
1541
1502
|
},
|
|
1542
1503
|
{
|
|
1543
1504
|
"kind": "method",
|
|
1544
|
-
"name": "
|
|
1505
|
+
"name": "openLoadDialog",
|
|
1545
1506
|
"return": {
|
|
1546
1507
|
"type": {
|
|
1547
|
-
"text": "
|
|
1508
|
+
"text": "void"
|
|
1548
1509
|
}
|
|
1549
1510
|
}
|
|
1550
1511
|
},
|
|
1551
1512
|
{
|
|
1552
1513
|
"kind": "method",
|
|
1553
|
-
"name": "
|
|
1514
|
+
"name": "closeSaveDialog",
|
|
1554
1515
|
"return": {
|
|
1555
1516
|
"type": {
|
|
1556
1517
|
"text": "void"
|
|
1557
1518
|
}
|
|
1558
|
-
}
|
|
1559
|
-
"parameters": [
|
|
1560
|
-
{
|
|
1561
|
-
"name": "workspace",
|
|
1562
|
-
"type": {
|
|
1563
|
-
"text": "SavedWorkspace | null"
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
]
|
|
1519
|
+
}
|
|
1567
1520
|
},
|
|
1568
1521
|
{
|
|
1569
1522
|
"kind": "method",
|
|
1570
|
-
"name": "
|
|
1523
|
+
"name": "closeLoadDialog",
|
|
1571
1524
|
"return": {
|
|
1572
1525
|
"type": {
|
|
1573
|
-
"text": "
|
|
1526
|
+
"text": "void"
|
|
1574
1527
|
}
|
|
1575
1528
|
}
|
|
1576
1529
|
},
|
|
1530
|
+
{
|
|
1531
|
+
"kind": "field",
|
|
1532
|
+
"name": "_presentation",
|
|
1533
|
+
"type": {
|
|
1534
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1535
|
+
},
|
|
1536
|
+
"privacy": "private",
|
|
1537
|
+
"default": "void 0",
|
|
1538
|
+
"inheritedFrom": {
|
|
1539
|
+
"name": "FoundationElement",
|
|
1540
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"kind": "field",
|
|
1545
|
+
"name": "$presentation",
|
|
1546
|
+
"type": {
|
|
1547
|
+
"text": "ComponentPresentation | null"
|
|
1548
|
+
},
|
|
1549
|
+
"privacy": "public",
|
|
1550
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1551
|
+
"inheritedFrom": {
|
|
1552
|
+
"name": "FoundationElement",
|
|
1553
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "field",
|
|
1558
|
+
"name": "template",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "ElementViewTemplate | void | null"
|
|
1561
|
+
},
|
|
1562
|
+
"privacy": "public",
|
|
1563
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1564
|
+
"inheritedFrom": {
|
|
1565
|
+
"name": "FoundationElement",
|
|
1566
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1577
1569
|
{
|
|
1578
1570
|
"kind": "method",
|
|
1579
|
-
"name": "
|
|
1571
|
+
"name": "templateChanged",
|
|
1572
|
+
"privacy": "protected",
|
|
1580
1573
|
"return": {
|
|
1581
1574
|
"type": {
|
|
1582
|
-
"text": "
|
|
1575
|
+
"text": "void"
|
|
1583
1576
|
}
|
|
1584
1577
|
},
|
|
1585
|
-
"
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1578
|
+
"inheritedFrom": {
|
|
1579
|
+
"name": "FoundationElement",
|
|
1580
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"kind": "field",
|
|
1585
|
+
"name": "styles",
|
|
1586
|
+
"type": {
|
|
1587
|
+
"text": "ElementStyles | void | null"
|
|
1588
|
+
},
|
|
1589
|
+
"privacy": "public",
|
|
1590
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1591
|
+
"inheritedFrom": {
|
|
1592
|
+
"name": "FoundationElement",
|
|
1593
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1594
|
+
}
|
|
1593
1595
|
},
|
|
1594
1596
|
{
|
|
1595
1597
|
"kind": "method",
|
|
1596
|
-
"name": "
|
|
1597
|
-
"privacy": "
|
|
1598
|
+
"name": "stylesChanged",
|
|
1599
|
+
"privacy": "protected",
|
|
1598
1600
|
"return": {
|
|
1599
1601
|
"type": {
|
|
1600
|
-
"text": "
|
|
1602
|
+
"text": "void"
|
|
1601
1603
|
}
|
|
1602
1604
|
},
|
|
1603
|
-
"
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
"text": "string"
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
]
|
|
1605
|
+
"inheritedFrom": {
|
|
1606
|
+
"name": "FoundationElement",
|
|
1607
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1608
|
+
}
|
|
1611
1609
|
},
|
|
1612
1610
|
{
|
|
1613
1611
|
"kind": "method",
|
|
1614
|
-
"name": "
|
|
1615
|
-
"privacy": "
|
|
1612
|
+
"name": "compose",
|
|
1613
|
+
"privacy": "public",
|
|
1614
|
+
"static": true,
|
|
1616
1615
|
"return": {
|
|
1617
1616
|
"type": {
|
|
1618
|
-
"text": "
|
|
1617
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1619
1618
|
}
|
|
1620
1619
|
},
|
|
1621
1620
|
"parameters": [
|
|
1622
1621
|
{
|
|
1623
|
-
"name": "
|
|
1622
|
+
"name": "this",
|
|
1624
1623
|
"type": {
|
|
1625
|
-
"text": "
|
|
1624
|
+
"text": "K"
|
|
1626
1625
|
}
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "elementDefinition",
|
|
1629
|
+
"type": {
|
|
1630
|
+
"text": "T"
|
|
1631
|
+
},
|
|
1632
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1627
1633
|
}
|
|
1628
|
-
]
|
|
1634
|
+
],
|
|
1635
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1636
|
+
"inheritedFrom": {
|
|
1637
|
+
"name": "FoundationElement",
|
|
1638
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1639
|
+
}
|
|
1629
1640
|
}
|
|
1630
|
-
]
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
"
|
|
1641
|
+
],
|
|
1642
|
+
"superclass": {
|
|
1643
|
+
"name": "FoundationElement",
|
|
1644
|
+
"package": "@genesislcap/web-core"
|
|
1645
|
+
},
|
|
1646
|
+
"tagName": "workspace-manager",
|
|
1647
|
+
"customElement": true
|
|
1636
1648
|
}
|
|
1637
1649
|
],
|
|
1638
1650
|
"exports": [
|
|
1639
1651
|
{
|
|
1640
1652
|
"kind": "js",
|
|
1641
|
-
"name": "
|
|
1653
|
+
"name": "WorkspaceManager",
|
|
1642
1654
|
"declaration": {
|
|
1643
|
-
"name": "
|
|
1644
|
-
"module": "src/workspace/workspace-
|
|
1655
|
+
"name": "WorkspaceManager",
|
|
1656
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
1645
1657
|
}
|
|
1646
1658
|
},
|
|
1647
1659
|
{
|
|
1648
|
-
"kind": "
|
|
1649
|
-
"name": "
|
|
1660
|
+
"kind": "custom-element-definition",
|
|
1661
|
+
"name": "workspace-manager",
|
|
1650
1662
|
"declaration": {
|
|
1651
|
-
"name": "
|
|
1652
|
-
"module": "src/workspace/workspace-
|
|
1663
|
+
"name": "WorkspaceManager",
|
|
1664
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
1653
1665
|
}
|
|
1654
1666
|
}
|
|
1655
1667
|
]
|
|
1656
1668
|
},
|
|
1657
|
-
{
|
|
1658
|
-
"kind": "javascript-module",
|
|
1659
|
-
"path": "src/workspace/workspace-state.types.ts",
|
|
1660
|
-
"declarations": [],
|
|
1661
|
-
"exports": []
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"kind": "javascript-module",
|
|
1665
|
-
"path": "src/workspace/workspace.types.ts",
|
|
1666
|
-
"declarations": [],
|
|
1667
|
-
"exports": []
|
|
1668
|
-
},
|
|
1669
1669
|
{
|
|
1670
1670
|
"kind": "javascript-module",
|
|
1671
1671
|
"path": "src/workspace/grid-register/grid-register.template.ts",
|