@genesislcap/foundation-workspace 15.19.4-alpha-487017916.0 → 15.19.5
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 +1198 -1198
- package/dist/dts/react.d.ts +8 -8
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +15 -15
|
@@ -60,188 +60,313 @@
|
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"kind": "javascript-module",
|
|
63
|
-
"path": "src/workspace/
|
|
63
|
+
"path": "src/workspace-manager/index.ts",
|
|
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",
|
|
64
79
|
"declarations": [
|
|
65
80
|
{
|
|
66
|
-
"kind": "
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
]
|
|
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",
|
|
100
|
+
"declarations": [
|
|
101
|
+
{
|
|
102
|
+
"kind": "variable",
|
|
103
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
104
|
+
"type": {
|
|
105
|
+
"text": "number"
|
|
106
|
+
},
|
|
107
|
+
"default": "200"
|
|
152
108
|
},
|
|
153
109
|
{
|
|
154
110
|
"kind": "variable",
|
|
155
|
-
"name": "
|
|
156
|
-
"
|
|
111
|
+
"name": "workspaceHeaderPartial",
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
114
|
+
},
|
|
115
|
+
"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`"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "variable",
|
|
119
|
+
"name": "workspaceSaveModalPartial",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
122
|
+
},
|
|
123
|
+
"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`"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "variable",
|
|
127
|
+
"name": "workspaceLoadModalPartial",
|
|
128
|
+
"type": {
|
|
129
|
+
"text": "ViewTemplate<WorkspaceManager>"
|
|
130
|
+
},
|
|
131
|
+
"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`"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"kind": "variable",
|
|
135
|
+
"name": "WorkspaceManagerTemplate",
|
|
136
|
+
"default": "html<WorkspaceManager>`\n ${workspaceHeaderPartial} ${workspaceSaveModalPartial} ${workspaceLoadModalPartial}\n`"
|
|
157
137
|
}
|
|
158
138
|
],
|
|
159
139
|
"exports": [
|
|
160
140
|
{
|
|
161
141
|
"kind": "js",
|
|
162
|
-
"name": "
|
|
142
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
163
143
|
"declaration": {
|
|
164
|
-
"name": "
|
|
165
|
-
"module": "src/workspace/
|
|
144
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
145
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
166
146
|
}
|
|
167
147
|
},
|
|
168
148
|
{
|
|
169
149
|
"kind": "js",
|
|
170
|
-
"name": "
|
|
150
|
+
"name": "workspaceHeaderPartial",
|
|
171
151
|
"declaration": {
|
|
172
|
-
"name": "
|
|
173
|
-
"module": "src/workspace/
|
|
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",
|
|
167
|
+
"declaration": {
|
|
168
|
+
"name": "workspaceLoadModalPartial",
|
|
169
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "js",
|
|
174
|
+
"name": "WorkspaceManagerTemplate",
|
|
175
|
+
"declaration": {
|
|
176
|
+
"name": "WorkspaceManagerTemplate",
|
|
177
|
+
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
]
|
|
177
181
|
},
|
|
178
182
|
{
|
|
179
183
|
"kind": "javascript-module",
|
|
180
|
-
"path": "src/workspace/
|
|
184
|
+
"path": "src/workspace-manager/workspace-manager.ts",
|
|
181
185
|
"declarations": [
|
|
182
186
|
{
|
|
183
187
|
"kind": "class",
|
|
184
|
-
"description": "",
|
|
185
|
-
"name": "
|
|
188
|
+
"description": "Workspace persistence UI (save/load + share/delete shared workspaces).",
|
|
189
|
+
"name": "WorkspaceManager",
|
|
186
190
|
"members": [
|
|
187
191
|
{
|
|
188
192
|
"kind": "field",
|
|
189
|
-
"name": "
|
|
193
|
+
"name": "workspaceName",
|
|
190
194
|
"type": {
|
|
191
|
-
"text": "
|
|
195
|
+
"text": "string"
|
|
192
196
|
},
|
|
193
|
-
"
|
|
194
|
-
"default": "new Map()"
|
|
197
|
+
"default": "''"
|
|
195
198
|
},
|
|
196
199
|
{
|
|
197
200
|
"kind": "field",
|
|
198
|
-
"name": "
|
|
201
|
+
"name": "workspaceDescription",
|
|
199
202
|
"type": {
|
|
200
|
-
"text": "
|
|
203
|
+
"text": "string"
|
|
201
204
|
},
|
|
202
|
-
"
|
|
203
|
-
"default": "new Map()"
|
|
205
|
+
"default": "''"
|
|
204
206
|
},
|
|
205
207
|
{
|
|
206
|
-
"kind": "
|
|
207
|
-
"name": "
|
|
208
|
-
"
|
|
209
|
-
"
|
|
210
|
-
"text": "void"
|
|
211
|
-
}
|
|
208
|
+
"kind": "field",
|
|
209
|
+
"name": "savedWorkspaces",
|
|
210
|
+
"type": {
|
|
211
|
+
"text": "SavedWorkspace[]"
|
|
212
212
|
},
|
|
213
|
-
"
|
|
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
|
-
]
|
|
213
|
+
"default": "[]"
|
|
233
214
|
},
|
|
234
215
|
{
|
|
235
|
-
"kind": "
|
|
236
|
-
"name": "
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"text": "GridRegistration | null"
|
|
240
|
-
}
|
|
216
|
+
"kind": "field",
|
|
217
|
+
"name": "sharedWorkspaces",
|
|
218
|
+
"type": {
|
|
219
|
+
"text": "SharedWorkspace[]"
|
|
241
220
|
},
|
|
242
|
-
"
|
|
221
|
+
"default": "[]"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "field",
|
|
225
|
+
"name": "isLoading",
|
|
226
|
+
"type": {
|
|
227
|
+
"text": "boolean"
|
|
228
|
+
},
|
|
229
|
+
"default": "false"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"kind": "field",
|
|
233
|
+
"name": "applyingWorkspace",
|
|
234
|
+
"type": {
|
|
235
|
+
"text": "boolean"
|
|
236
|
+
},
|
|
237
|
+
"default": "false"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"kind": "field",
|
|
241
|
+
"name": "loadMode",
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "LoadMode"
|
|
244
|
+
},
|
|
245
|
+
"default": "'MY'"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "field",
|
|
249
|
+
"name": "saveModal",
|
|
250
|
+
"type": {
|
|
251
|
+
"text": "Modal"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"kind": "field",
|
|
256
|
+
"name": "loadModal",
|
|
257
|
+
"type": {
|
|
258
|
+
"text": "Modal"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"kind": "field",
|
|
263
|
+
"name": "saveMode",
|
|
264
|
+
"type": {
|
|
265
|
+
"text": "'create' | 'overwrite' | 'shared'"
|
|
266
|
+
},
|
|
267
|
+
"default": "'create'"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "field",
|
|
271
|
+
"name": "selectedWorkspaceToOverwrite",
|
|
272
|
+
"type": {
|
|
273
|
+
"text": "string"
|
|
274
|
+
},
|
|
275
|
+
"default": "''"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"kind": "field",
|
|
279
|
+
"name": "workspaceToShare",
|
|
280
|
+
"type": {
|
|
281
|
+
"text": "string"
|
|
282
|
+
},
|
|
283
|
+
"default": "''"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"kind": "field",
|
|
287
|
+
"name": "dialogBoundary",
|
|
288
|
+
"type": {
|
|
289
|
+
"text": "HTMLElement"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "sharedWorkspaceDialogBoundary",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "HTMLElement"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"kind": "field",
|
|
301
|
+
"name": "layoutRegistry",
|
|
302
|
+
"type": {
|
|
303
|
+
"text": "LayoutRegistry"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "field",
|
|
308
|
+
"name": "gridRegistry",
|
|
309
|
+
"type": {
|
|
310
|
+
"text": "GridRegistry"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"kind": "field",
|
|
315
|
+
"name": "filterRegistry",
|
|
316
|
+
"type": {
|
|
317
|
+
"text": "FilterRegistry"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"kind": "field",
|
|
322
|
+
"name": "workspaceState",
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "WorkspaceState"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "connect",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "Connect"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "field",
|
|
336
|
+
"name": "auth",
|
|
337
|
+
"type": {
|
|
338
|
+
"text": "Auth"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "field",
|
|
343
|
+
"name": "canShareWorkspace",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "boolean"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "field",
|
|
350
|
+
"name": "sharedWorkspacesEnabled",
|
|
351
|
+
"type": {
|
|
352
|
+
"text": "boolean"
|
|
353
|
+
},
|
|
354
|
+
"privacy": "private",
|
|
355
|
+
"readonly": true,
|
|
356
|
+
"default": "false"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "method",
|
|
360
|
+
"name": "sanitizeDescription",
|
|
361
|
+
"privacy": "private",
|
|
362
|
+
"return": {
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "string"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"parameters": [
|
|
243
368
|
{
|
|
244
|
-
"name": "
|
|
369
|
+
"name": "input",
|
|
245
370
|
"type": {
|
|
246
371
|
"text": "string"
|
|
247
372
|
}
|
|
@@ -250,7 +375,7 @@
|
|
|
250
375
|
},
|
|
251
376
|
{
|
|
252
377
|
"kind": "method",
|
|
253
|
-
"name": "
|
|
378
|
+
"name": "updateWorkspaceDescription",
|
|
254
379
|
"return": {
|
|
255
380
|
"type": {
|
|
256
381
|
"text": "void"
|
|
@@ -258,7 +383,7 @@
|
|
|
258
383
|
},
|
|
259
384
|
"parameters": [
|
|
260
385
|
{
|
|
261
|
-
"name": "
|
|
386
|
+
"name": "raw",
|
|
262
387
|
"type": {
|
|
263
388
|
"text": "string"
|
|
264
389
|
}
|
|
@@ -267,40 +392,61 @@
|
|
|
267
392
|
},
|
|
268
393
|
{
|
|
269
394
|
"kind": "method",
|
|
270
|
-
"name": "
|
|
395
|
+
"name": "setDescriptionFromSelectedWorkspace",
|
|
396
|
+
"privacy": "private",
|
|
271
397
|
"return": {
|
|
272
398
|
"type": {
|
|
273
|
-
"text": "
|
|
399
|
+
"text": "void"
|
|
274
400
|
}
|
|
275
401
|
}
|
|
276
402
|
},
|
|
277
403
|
{
|
|
278
404
|
"kind": "method",
|
|
279
|
-
"name": "
|
|
405
|
+
"name": "refreshSavedWorkspaces",
|
|
280
406
|
"return": {
|
|
281
407
|
"type": {
|
|
282
|
-
"text": "Promise<
|
|
408
|
+
"text": "Promise<void>"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"kind": "method",
|
|
414
|
+
"name": "refreshSharedWorkspaces",
|
|
415
|
+
"return": {
|
|
416
|
+
"type": {
|
|
417
|
+
"text": "Promise<void>"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"kind": "method",
|
|
423
|
+
"name": "notifyError",
|
|
424
|
+
"privacy": "private",
|
|
425
|
+
"return": {
|
|
426
|
+
"type": {
|
|
427
|
+
"text": "void"
|
|
283
428
|
}
|
|
284
429
|
},
|
|
285
430
|
"parameters": [
|
|
286
431
|
{
|
|
287
|
-
"name": "
|
|
288
|
-
"
|
|
289
|
-
"text": "SavedGridSettings"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"name": "options",
|
|
294
|
-
"optional": true,
|
|
295
|
-
"type": {
|
|
296
|
-
"text": "{ applyColumns?: boolean; applyFilters?: boolean }"
|
|
297
|
-
}
|
|
432
|
+
"name": "body",
|
|
433
|
+
"default": "'Error'"
|
|
298
434
|
}
|
|
299
435
|
]
|
|
300
436
|
},
|
|
301
437
|
{
|
|
302
438
|
"kind": "method",
|
|
303
|
-
"name": "
|
|
439
|
+
"name": "saveWorkspace",
|
|
440
|
+
"return": {
|
|
441
|
+
"type": {
|
|
442
|
+
"text": "Promise<void>"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"kind": "method",
|
|
448
|
+
"name": "applyWorkspace",
|
|
449
|
+
"privacy": "private",
|
|
304
450
|
"return": {
|
|
305
451
|
"type": {
|
|
306
452
|
"text": "Promise<void>"
|
|
@@ -308,163 +454,86 @@
|
|
|
308
454
|
},
|
|
309
455
|
"parameters": [
|
|
310
456
|
{
|
|
311
|
-
"name": "
|
|
457
|
+
"name": "workspace",
|
|
312
458
|
"type": {
|
|
313
|
-
"text": "
|
|
459
|
+
"text": "SavedWorkspace"
|
|
314
460
|
}
|
|
315
|
-
}
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"kind": "method",
|
|
466
|
+
"name": "loadWorkspace",
|
|
467
|
+
"return": {
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "Promise<void>"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"parameters": [
|
|
316
473
|
{
|
|
317
|
-
"name": "
|
|
318
|
-
"default": "3",
|
|
474
|
+
"name": "workspaceName",
|
|
319
475
|
"type": {
|
|
320
|
-
"text": "
|
|
476
|
+
"text": "string"
|
|
321
477
|
}
|
|
322
478
|
}
|
|
323
479
|
]
|
|
324
480
|
},
|
|
325
481
|
{
|
|
326
482
|
"kind": "method",
|
|
327
|
-
"name": "
|
|
483
|
+
"name": "requestSharedWorkspace",
|
|
328
484
|
"privacy": "private",
|
|
329
485
|
"return": {
|
|
330
486
|
"type": {
|
|
331
|
-
"text": "
|
|
487
|
+
"text": "Promise<any[]>"
|
|
332
488
|
}
|
|
333
489
|
},
|
|
334
490
|
"parameters": [
|
|
335
491
|
{
|
|
336
|
-
"name": "
|
|
492
|
+
"name": "SHARED_WORKSPACE_ID",
|
|
337
493
|
"type": {
|
|
338
494
|
"text": "string"
|
|
339
495
|
}
|
|
340
|
-
}
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"kind": "method",
|
|
501
|
+
"name": "loadSharedWorkspace",
|
|
502
|
+
"return": {
|
|
503
|
+
"type": {
|
|
504
|
+
"text": "Promise<void>"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"parameters": [
|
|
341
508
|
{
|
|
342
|
-
"name": "
|
|
509
|
+
"name": "shared",
|
|
343
510
|
"type": {
|
|
344
|
-
"text": "
|
|
511
|
+
"text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
|
|
345
512
|
}
|
|
346
513
|
}
|
|
347
514
|
]
|
|
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": [
|
|
515
|
+
},
|
|
456
516
|
{
|
|
457
|
-
"kind": "
|
|
458
|
-
"name": "
|
|
459
|
-
"
|
|
460
|
-
"
|
|
517
|
+
"kind": "method",
|
|
518
|
+
"name": "deleteWorkspace",
|
|
519
|
+
"return": {
|
|
520
|
+
"type": {
|
|
521
|
+
"text": "Promise<void>"
|
|
522
|
+
}
|
|
461
523
|
},
|
|
462
|
-
"
|
|
463
|
-
|
|
524
|
+
"parameters": [
|
|
525
|
+
{
|
|
526
|
+
"name": "workspaceName",
|
|
527
|
+
"type": {
|
|
528
|
+
"text": "string"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
]
|
|
464
532
|
},
|
|
465
533
|
{
|
|
466
534
|
"kind": "method",
|
|
467
|
-
"name": "
|
|
535
|
+
"name": "showDeleteConfirmation",
|
|
536
|
+
"privacy": "private",
|
|
468
537
|
"return": {
|
|
469
538
|
"type": {
|
|
470
539
|
"text": "void"
|
|
@@ -472,22 +541,34 @@
|
|
|
472
541
|
},
|
|
473
542
|
"parameters": [
|
|
474
543
|
{
|
|
475
|
-
"name": "
|
|
544
|
+
"name": "title",
|
|
476
545
|
"type": {
|
|
477
546
|
"text": "string"
|
|
478
547
|
}
|
|
479
548
|
},
|
|
480
549
|
{
|
|
481
|
-
"name": "
|
|
550
|
+
"name": "body",
|
|
482
551
|
"type": {
|
|
483
|
-
"text": "
|
|
552
|
+
"text": "string"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "actionFunction",
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "() => void"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "dialogBoundary",
|
|
563
|
+
"type": {
|
|
564
|
+
"text": "HTMLElement"
|
|
484
565
|
}
|
|
485
566
|
}
|
|
486
567
|
]
|
|
487
568
|
},
|
|
488
569
|
{
|
|
489
570
|
"kind": "method",
|
|
490
|
-
"name": "
|
|
571
|
+
"name": "confirmDeleteWorkspace",
|
|
491
572
|
"return": {
|
|
492
573
|
"type": {
|
|
493
574
|
"text": "void"
|
|
@@ -495,7 +576,7 @@
|
|
|
495
576
|
},
|
|
496
577
|
"parameters": [
|
|
497
578
|
{
|
|
498
|
-
"name": "
|
|
579
|
+
"name": "workspaceName",
|
|
499
580
|
"type": {
|
|
500
581
|
"text": "string"
|
|
501
582
|
}
|
|
@@ -504,16 +585,24 @@
|
|
|
504
585
|
},
|
|
505
586
|
{
|
|
506
587
|
"kind": "method",
|
|
507
|
-
"name": "
|
|
588
|
+
"name": "modifySharedWorkspace",
|
|
508
589
|
"return": {
|
|
509
590
|
"type": {
|
|
510
|
-
"text": "
|
|
591
|
+
"text": "Promise<void>"
|
|
511
592
|
}
|
|
512
|
-
}
|
|
593
|
+
},
|
|
594
|
+
"parameters": [
|
|
595
|
+
{
|
|
596
|
+
"name": "sharedWorkspace",
|
|
597
|
+
"type": {
|
|
598
|
+
"text": "SharedWorkspace"
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
]
|
|
513
602
|
},
|
|
514
603
|
{
|
|
515
604
|
"kind": "method",
|
|
516
|
-
"name": "
|
|
605
|
+
"name": "deleteSharedWorkspace",
|
|
517
606
|
"return": {
|
|
518
607
|
"type": {
|
|
519
608
|
"text": "Promise<void>"
|
|
@@ -521,95 +610,36 @@
|
|
|
521
610
|
},
|
|
522
611
|
"parameters": [
|
|
523
612
|
{
|
|
524
|
-
"name": "
|
|
613
|
+
"name": "sharedWorkspace",
|
|
525
614
|
"type": {
|
|
526
|
-
"text": "
|
|
615
|
+
"text": "SharedWorkspace"
|
|
527
616
|
}
|
|
528
617
|
}
|
|
529
618
|
]
|
|
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"
|
|
595
619
|
},
|
|
596
620
|
{
|
|
597
621
|
"kind": "method",
|
|
598
|
-
"name": "
|
|
599
|
-
"privacy": "private",
|
|
622
|
+
"name": "confirmDeleteSharedWorkspace",
|
|
600
623
|
"return": {
|
|
601
624
|
"type": {
|
|
602
|
-
"text": "
|
|
625
|
+
"text": "void"
|
|
603
626
|
}
|
|
604
|
-
}
|
|
627
|
+
},
|
|
628
|
+
"parameters": [
|
|
629
|
+
{
|
|
630
|
+
"name": "sharedWorkspace",
|
|
631
|
+
"type": {
|
|
632
|
+
"text": "SharedWorkspace"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
]
|
|
605
636
|
},
|
|
606
637
|
{
|
|
607
638
|
"kind": "method",
|
|
608
|
-
"name": "
|
|
609
|
-
"privacy": "private",
|
|
639
|
+
"name": "shareExistingWorkspace",
|
|
610
640
|
"return": {
|
|
611
641
|
"type": {
|
|
612
|
-
"text": "
|
|
642
|
+
"text": "Promise<void>"
|
|
613
643
|
}
|
|
614
644
|
},
|
|
615
645
|
"parameters": [
|
|
@@ -623,20 +653,19 @@
|
|
|
623
653
|
},
|
|
624
654
|
{
|
|
625
655
|
"kind": "method",
|
|
626
|
-
"name": "
|
|
627
|
-
"privacy": "private",
|
|
656
|
+
"name": "openSaveDialog",
|
|
628
657
|
"return": {
|
|
629
658
|
"type": {
|
|
630
|
-
"text": "
|
|
659
|
+
"text": "Promise<void>"
|
|
631
660
|
}
|
|
632
661
|
}
|
|
633
662
|
},
|
|
634
663
|
{
|
|
635
664
|
"kind": "method",
|
|
636
|
-
"name": "
|
|
665
|
+
"name": "isWorkspaceExisting",
|
|
637
666
|
"return": {
|
|
638
667
|
"type": {
|
|
639
|
-
"text": "
|
|
668
|
+
"text": "boolean"
|
|
640
669
|
}
|
|
641
670
|
},
|
|
642
671
|
"parameters": [
|
|
@@ -645,63 +674,26 @@
|
|
|
645
674
|
"type": {
|
|
646
675
|
"text": "string"
|
|
647
676
|
}
|
|
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"
|
|
672
|
-
}
|
|
673
677
|
}
|
|
674
678
|
]
|
|
675
679
|
},
|
|
676
680
|
{
|
|
677
681
|
"kind": "method",
|
|
678
|
-
"name": "
|
|
682
|
+
"name": "saveModeChanged",
|
|
679
683
|
"return": {
|
|
680
684
|
"type": {
|
|
681
|
-
"text": "
|
|
685
|
+
"text": "void"
|
|
682
686
|
}
|
|
683
687
|
},
|
|
684
688
|
"parameters": [
|
|
685
689
|
{
|
|
686
|
-
"name": "
|
|
690
|
+
"name": "oldValue",
|
|
687
691
|
"type": {
|
|
688
692
|
"text": "string"
|
|
689
693
|
}
|
|
690
|
-
}
|
|
691
|
-
]
|
|
692
|
-
},
|
|
693
|
-
{
|
|
694
|
-
"kind": "method",
|
|
695
|
-
"name": "getWorkspace",
|
|
696
|
-
"privacy": "private",
|
|
697
|
-
"return": {
|
|
698
|
-
"type": {
|
|
699
|
-
"text": "Promise<SavedWorkspace | null>"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
|
-
"parameters": [
|
|
694
|
+
},
|
|
703
695
|
{
|
|
704
|
-
"name": "
|
|
696
|
+
"name": "newValue",
|
|
705
697
|
"type": {
|
|
706
698
|
"text": "string"
|
|
707
699
|
}
|
|
@@ -710,16 +702,7 @@
|
|
|
710
702
|
},
|
|
711
703
|
{
|
|
712
704
|
"kind": "method",
|
|
713
|
-
"name": "
|
|
714
|
-
"return": {
|
|
715
|
-
"type": {
|
|
716
|
-
"text": "SavedWorkspace | null"
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
"kind": "method",
|
|
722
|
-
"name": "setCurrentWorkspace",
|
|
705
|
+
"name": "selectedWorkspaceToOverwriteChanged",
|
|
723
706
|
"return": {
|
|
724
707
|
"type": {
|
|
725
708
|
"text": "void"
|
|
@@ -727,51 +710,13 @@
|
|
|
727
710
|
},
|
|
728
711
|
"parameters": [
|
|
729
712
|
{
|
|
730
|
-
"name": "
|
|
731
|
-
"type": {
|
|
732
|
-
"text": "SavedWorkspace | null"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"kind": "method",
|
|
739
|
-
"name": "getSavedWorkspaces",
|
|
740
|
-
"return": {
|
|
741
|
-
"type": {
|
|
742
|
-
"text": "Promise<SavedWorkspace[]>"
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"kind": "method",
|
|
748
|
-
"name": "deleteWorkspace",
|
|
749
|
-
"return": {
|
|
750
|
-
"type": {
|
|
751
|
-
"text": "Promise<void>"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
"parameters": [
|
|
755
|
-
{
|
|
756
|
-
"name": "workspaceName",
|
|
713
|
+
"name": "oldValue",
|
|
757
714
|
"type": {
|
|
758
715
|
"text": "string"
|
|
759
716
|
}
|
|
760
|
-
}
|
|
761
|
-
]
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"kind": "method",
|
|
765
|
-
"name": "updateWorkspacesList",
|
|
766
|
-
"privacy": "private",
|
|
767
|
-
"return": {
|
|
768
|
-
"type": {
|
|
769
|
-
"text": "Promise<void>"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
"parameters": [
|
|
717
|
+
},
|
|
773
718
|
{
|
|
774
|
-
"name": "
|
|
719
|
+
"name": "newValue",
|
|
775
720
|
"type": {
|
|
776
721
|
"text": "string"
|
|
777
722
|
}
|
|
@@ -780,370 +725,354 @@
|
|
|
780
725
|
},
|
|
781
726
|
{
|
|
782
727
|
"kind": "method",
|
|
783
|
-
"name": "
|
|
784
|
-
"privacy": "private",
|
|
728
|
+
"name": "openLoadDialog",
|
|
785
729
|
"return": {
|
|
786
730
|
"type": {
|
|
787
|
-
"text": "
|
|
788
|
-
}
|
|
789
|
-
},
|
|
790
|
-
"parameters": [
|
|
791
|
-
{
|
|
792
|
-
"name": "workspaceName",
|
|
793
|
-
"type": {
|
|
794
|
-
"text": "string"
|
|
795
|
-
}
|
|
731
|
+
"text": "void"
|
|
796
732
|
}
|
|
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": "[]"
|
|
991
|
-
},
|
|
992
|
-
{
|
|
993
|
-
"kind": "field",
|
|
994
|
-
"name": "sharedWorkspaces",
|
|
995
|
-
"type": {
|
|
996
|
-
"text": "SharedWorkspace[]"
|
|
997
|
-
},
|
|
998
|
-
"default": "[]"
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"kind": "field",
|
|
1002
|
-
"name": "isLoading",
|
|
1003
|
-
"type": {
|
|
1004
|
-
"text": "boolean"
|
|
1005
|
-
},
|
|
1006
|
-
"default": "false"
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
"kind": "field",
|
|
1010
|
-
"name": "applyingWorkspace",
|
|
1011
|
-
"type": {
|
|
1012
|
-
"text": "boolean"
|
|
1013
|
-
},
|
|
1014
|
-
"default": "false"
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
"kind": "field",
|
|
1018
|
-
"name": "loadMode",
|
|
1019
|
-
"type": {
|
|
1020
|
-
"text": "LoadMode"
|
|
1021
|
-
},
|
|
1022
|
-
"default": "'MY'"
|
|
733
|
+
}
|
|
1023
734
|
},
|
|
1024
735
|
{
|
|
1025
|
-
"kind": "
|
|
1026
|
-
"name": "
|
|
1027
|
-
"
|
|
1028
|
-
"
|
|
736
|
+
"kind": "method",
|
|
737
|
+
"name": "closeSaveDialog",
|
|
738
|
+
"return": {
|
|
739
|
+
"type": {
|
|
740
|
+
"text": "void"
|
|
741
|
+
}
|
|
1029
742
|
}
|
|
1030
743
|
},
|
|
1031
744
|
{
|
|
1032
|
-
"kind": "
|
|
1033
|
-
"name": "
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
745
|
+
"kind": "method",
|
|
746
|
+
"name": "closeLoadDialog",
|
|
747
|
+
"return": {
|
|
748
|
+
"type": {
|
|
749
|
+
"text": "void"
|
|
750
|
+
}
|
|
1036
751
|
}
|
|
1037
752
|
},
|
|
1038
753
|
{
|
|
1039
754
|
"kind": "field",
|
|
1040
|
-
"name": "
|
|
755
|
+
"name": "_presentation",
|
|
1041
756
|
"type": {
|
|
1042
|
-
"text": "
|
|
757
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1043
758
|
},
|
|
1044
|
-
"
|
|
759
|
+
"privacy": "private",
|
|
760
|
+
"default": "void 0",
|
|
761
|
+
"inheritedFrom": {
|
|
762
|
+
"name": "FoundationElement",
|
|
763
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
764
|
+
}
|
|
1045
765
|
},
|
|
1046
766
|
{
|
|
1047
767
|
"kind": "field",
|
|
1048
|
-
"name": "
|
|
768
|
+
"name": "$presentation",
|
|
1049
769
|
"type": {
|
|
1050
|
-
"text": "
|
|
770
|
+
"text": "ComponentPresentation | null"
|
|
1051
771
|
},
|
|
1052
|
-
"
|
|
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"
|
|
777
|
+
}
|
|
1053
778
|
},
|
|
1054
779
|
{
|
|
1055
780
|
"kind": "field",
|
|
1056
|
-
"name": "
|
|
781
|
+
"name": "template",
|
|
1057
782
|
"type": {
|
|
1058
|
-
"text": "
|
|
783
|
+
"text": "ElementViewTemplate | void | null"
|
|
1059
784
|
},
|
|
1060
|
-
"
|
|
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"
|
|
790
|
+
}
|
|
1061
791
|
},
|
|
1062
792
|
{
|
|
1063
|
-
"kind": "
|
|
1064
|
-
"name": "
|
|
1065
|
-
"
|
|
1066
|
-
|
|
793
|
+
"kind": "method",
|
|
794
|
+
"name": "templateChanged",
|
|
795
|
+
"privacy": "protected",
|
|
796
|
+
"return": {
|
|
797
|
+
"type": {
|
|
798
|
+
"text": "void"
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
"inheritedFrom": {
|
|
802
|
+
"name": "FoundationElement",
|
|
803
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1067
804
|
}
|
|
1068
805
|
},
|
|
1069
806
|
{
|
|
1070
807
|
"kind": "field",
|
|
1071
|
-
"name": "
|
|
808
|
+
"name": "styles",
|
|
1072
809
|
"type": {
|
|
1073
|
-
"text": "
|
|
810
|
+
"text": "ElementStyles | void | null"
|
|
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"
|
|
1074
817
|
}
|
|
1075
818
|
},
|
|
1076
819
|
{
|
|
1077
|
-
"kind": "
|
|
1078
|
-
"name": "
|
|
1079
|
-
"
|
|
1080
|
-
|
|
820
|
+
"kind": "method",
|
|
821
|
+
"name": "stylesChanged",
|
|
822
|
+
"privacy": "protected",
|
|
823
|
+
"return": {
|
|
824
|
+
"type": {
|
|
825
|
+
"text": "void"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"inheritedFrom": {
|
|
829
|
+
"name": "FoundationElement",
|
|
830
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1081
831
|
}
|
|
1082
832
|
},
|
|
1083
833
|
{
|
|
1084
|
-
"kind": "
|
|
1085
|
-
"name": "
|
|
1086
|
-
"
|
|
1087
|
-
|
|
834
|
+
"kind": "method",
|
|
835
|
+
"name": "compose",
|
|
836
|
+
"privacy": "public",
|
|
837
|
+
"static": true,
|
|
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"
|
|
1088
862
|
}
|
|
1089
|
-
}
|
|
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": [
|
|
1090
901
|
{
|
|
1091
902
|
"kind": "field",
|
|
1092
|
-
"name": "
|
|
903
|
+
"name": "filters",
|
|
1093
904
|
"type": {
|
|
1094
|
-
"text": "
|
|
1095
|
-
}
|
|
905
|
+
"text": "Map<string, FilterRegistration>"
|
|
906
|
+
},
|
|
907
|
+
"privacy": "private",
|
|
908
|
+
"default": "new Map()"
|
|
1096
909
|
},
|
|
1097
910
|
{
|
|
1098
|
-
"kind": "
|
|
1099
|
-
"name": "
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
|
|
911
|
+
"kind": "method",
|
|
912
|
+
"name": "registerFilter",
|
|
913
|
+
"return": {
|
|
914
|
+
"type": {
|
|
915
|
+
"text": "void"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"parameters": [
|
|
919
|
+
{
|
|
920
|
+
"name": "filterKey",
|
|
921
|
+
"type": {
|
|
922
|
+
"text": "string"
|
|
923
|
+
}
|
|
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
|
+
}
|
|
937
|
+
]
|
|
1103
938
|
},
|
|
1104
939
|
{
|
|
1105
|
-
"kind": "
|
|
1106
|
-
"name": "
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
940
|
+
"kind": "method",
|
|
941
|
+
"name": "unregisterFilter",
|
|
942
|
+
"return": {
|
|
943
|
+
"type": {
|
|
944
|
+
"text": "void"
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
"parameters": [
|
|
948
|
+
{
|
|
949
|
+
"name": "filterKey",
|
|
950
|
+
"type": {
|
|
951
|
+
"text": "string"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
]
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"kind": "method",
|
|
958
|
+
"name": "getAllFiltersValues",
|
|
959
|
+
"return": {
|
|
960
|
+
"type": {
|
|
961
|
+
"text": "SavedFilterValue[]"
|
|
962
|
+
}
|
|
1109
963
|
}
|
|
1110
964
|
},
|
|
965
|
+
{
|
|
966
|
+
"kind": "method",
|
|
967
|
+
"name": "applyFiltersValues",
|
|
968
|
+
"return": {
|
|
969
|
+
"type": {
|
|
970
|
+
"text": "void"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"parameters": [
|
|
974
|
+
{
|
|
975
|
+
"name": "filtersValues",
|
|
976
|
+
"type": {
|
|
977
|
+
"text": "SavedFilterValue[]"
|
|
978
|
+
}
|
|
979
|
+
}
|
|
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": [
|
|
1111
1018
|
{
|
|
1112
1019
|
"kind": "field",
|
|
1113
|
-
"name": "
|
|
1020
|
+
"name": "grids",
|
|
1114
1021
|
"type": {
|
|
1115
|
-
"text": "
|
|
1116
|
-
}
|
|
1022
|
+
"text": "Map<string, GridRegistration>"
|
|
1023
|
+
},
|
|
1024
|
+
"privacy": "private",
|
|
1025
|
+
"default": "new Map()"
|
|
1117
1026
|
},
|
|
1118
1027
|
{
|
|
1119
1028
|
"kind": "field",
|
|
1120
|
-
"name": "
|
|
1029
|
+
"name": "cachedSettings",
|
|
1121
1030
|
"type": {
|
|
1122
|
-
"text": "
|
|
1123
|
-
}
|
|
1031
|
+
"text": "Map<string, SavedGridSettings>"
|
|
1032
|
+
},
|
|
1033
|
+
"privacy": "private",
|
|
1034
|
+
"default": "new Map()"
|
|
1124
1035
|
},
|
|
1125
1036
|
{
|
|
1126
|
-
"kind": "
|
|
1127
|
-
"name": "
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1037
|
+
"kind": "method",
|
|
1038
|
+
"name": "registerGrid",
|
|
1039
|
+
"return": {
|
|
1040
|
+
"type": {
|
|
1041
|
+
"text": "void"
|
|
1042
|
+
}
|
|
1130
1043
|
},
|
|
1131
|
-
"
|
|
1132
|
-
|
|
1133
|
-
|
|
1044
|
+
"parameters": [
|
|
1045
|
+
{
|
|
1046
|
+
"name": "gridKey",
|
|
1047
|
+
"type": {
|
|
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
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
]
|
|
1134
1064
|
},
|
|
1135
1065
|
{
|
|
1136
1066
|
"kind": "method",
|
|
1137
|
-
"name": "
|
|
1138
|
-
"privacy": "private",
|
|
1067
|
+
"name": "getGrid",
|
|
1139
1068
|
"return": {
|
|
1140
1069
|
"type": {
|
|
1141
|
-
"text": "
|
|
1070
|
+
"text": "GridRegistration | null"
|
|
1142
1071
|
}
|
|
1143
1072
|
},
|
|
1144
1073
|
"parameters": [
|
|
1145
1074
|
{
|
|
1146
|
-
"name": "
|
|
1075
|
+
"name": "gridKey",
|
|
1147
1076
|
"type": {
|
|
1148
1077
|
"text": "string"
|
|
1149
1078
|
}
|
|
@@ -1152,7 +1081,7 @@
|
|
|
1152
1081
|
},
|
|
1153
1082
|
{
|
|
1154
1083
|
"kind": "method",
|
|
1155
|
-
"name": "
|
|
1084
|
+
"name": "unregisterGrid",
|
|
1156
1085
|
"return": {
|
|
1157
1086
|
"type": {
|
|
1158
1087
|
"text": "void"
|
|
@@ -1160,7 +1089,7 @@
|
|
|
1160
1089
|
},
|
|
1161
1090
|
"parameters": [
|
|
1162
1091
|
{
|
|
1163
|
-
"name": "
|
|
1092
|
+
"name": "gridKey",
|
|
1164
1093
|
"type": {
|
|
1165
1094
|
"text": "string"
|
|
1166
1095
|
}
|
|
@@ -1169,104 +1098,235 @@
|
|
|
1169
1098
|
},
|
|
1170
1099
|
{
|
|
1171
1100
|
"kind": "method",
|
|
1172
|
-
"name": "
|
|
1173
|
-
"privacy": "private",
|
|
1101
|
+
"name": "getAllGridsSettings",
|
|
1174
1102
|
"return": {
|
|
1175
1103
|
"type": {
|
|
1176
|
-
"text": "
|
|
1104
|
+
"text": "SavedGridSettings[]"
|
|
1177
1105
|
}
|
|
1178
1106
|
}
|
|
1179
1107
|
},
|
|
1180
1108
|
{
|
|
1181
1109
|
"kind": "method",
|
|
1182
|
-
"name": "
|
|
1110
|
+
"name": "applyGridSettings",
|
|
1183
1111
|
"return": {
|
|
1184
1112
|
"type": {
|
|
1185
|
-
"text": "Promise<
|
|
1113
|
+
"text": "Promise<boolean>"
|
|
1186
1114
|
}
|
|
1187
|
-
}
|
|
1115
|
+
},
|
|
1116
|
+
"parameters": [
|
|
1117
|
+
{
|
|
1118
|
+
"name": "gridSetting",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "SavedGridSettings"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"name": "options",
|
|
1125
|
+
"optional": true,
|
|
1126
|
+
"type": {
|
|
1127
|
+
"text": "{ applyColumns?: boolean; applyFilters?: boolean }"
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
]
|
|
1188
1131
|
},
|
|
1189
1132
|
{
|
|
1190
1133
|
"kind": "method",
|
|
1191
|
-
"name": "
|
|
1134
|
+
"name": "applyAllGridsSettings",
|
|
1192
1135
|
"return": {
|
|
1193
1136
|
"type": {
|
|
1194
1137
|
"text": "Promise<void>"
|
|
1195
1138
|
}
|
|
1196
|
-
}
|
|
1139
|
+
},
|
|
1140
|
+
"parameters": [
|
|
1141
|
+
{
|
|
1142
|
+
"name": "gridsSettings",
|
|
1143
|
+
"type": {
|
|
1144
|
+
"text": "SavedGridSettings[]"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "maxRetries",
|
|
1149
|
+
"default": "3",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "number"
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
]
|
|
1197
1155
|
},
|
|
1198
1156
|
{
|
|
1199
1157
|
"kind": "method",
|
|
1200
|
-
"name": "
|
|
1158
|
+
"name": "getGridSettings",
|
|
1201
1159
|
"privacy": "private",
|
|
1202
1160
|
"return": {
|
|
1203
1161
|
"type": {
|
|
1204
|
-
"text": "
|
|
1162
|
+
"text": "SavedGridSettings | null"
|
|
1205
1163
|
}
|
|
1206
1164
|
},
|
|
1207
1165
|
"parameters": [
|
|
1208
1166
|
{
|
|
1209
|
-
"name": "
|
|
1210
|
-
"
|
|
1167
|
+
"name": "gridKey",
|
|
1168
|
+
"type": {
|
|
1169
|
+
"text": "string"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"name": "grid",
|
|
1174
|
+
"type": {
|
|
1175
|
+
"text": "GridRegistration"
|
|
1176
|
+
}
|
|
1211
1177
|
}
|
|
1212
1178
|
]
|
|
1213
|
-
}
|
|
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": [
|
|
1214
1287
|
{
|
|
1215
|
-
"kind": "
|
|
1216
|
-
"name": "
|
|
1217
|
-
"
|
|
1218
|
-
"
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1288
|
+
"kind": "field",
|
|
1289
|
+
"name": "layouts",
|
|
1290
|
+
"type": {
|
|
1291
|
+
"text": "Map<string, FoundationLayout>"
|
|
1292
|
+
},
|
|
1293
|
+
"privacy": "private",
|
|
1294
|
+
"default": "new Map()"
|
|
1222
1295
|
},
|
|
1223
1296
|
{
|
|
1224
1297
|
"kind": "method",
|
|
1225
|
-
"name": "
|
|
1226
|
-
"privacy": "private",
|
|
1298
|
+
"name": "registerLayout",
|
|
1227
1299
|
"return": {
|
|
1228
1300
|
"type": {
|
|
1229
|
-
"text": "
|
|
1301
|
+
"text": "void"
|
|
1230
1302
|
}
|
|
1231
1303
|
},
|
|
1232
1304
|
"parameters": [
|
|
1233
1305
|
{
|
|
1234
|
-
"name": "
|
|
1306
|
+
"name": "layoutKey",
|
|
1235
1307
|
"type": {
|
|
1236
|
-
"text": "
|
|
1308
|
+
"text": "string"
|
|
1237
1309
|
}
|
|
1238
|
-
}
|
|
1239
|
-
]
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "method",
|
|
1243
|
-
"name": "loadWorkspace",
|
|
1244
|
-
"return": {
|
|
1245
|
-
"type": {
|
|
1246
|
-
"text": "Promise<void>"
|
|
1247
|
-
}
|
|
1248
|
-
},
|
|
1249
|
-
"parameters": [
|
|
1310
|
+
},
|
|
1250
1311
|
{
|
|
1251
|
-
"name": "
|
|
1312
|
+
"name": "layout",
|
|
1252
1313
|
"type": {
|
|
1253
|
-
"text": "
|
|
1314
|
+
"text": "FoundationLayout"
|
|
1254
1315
|
}
|
|
1255
1316
|
}
|
|
1256
1317
|
]
|
|
1257
1318
|
},
|
|
1258
1319
|
{
|
|
1259
1320
|
"kind": "method",
|
|
1260
|
-
"name": "
|
|
1261
|
-
"privacy": "private",
|
|
1321
|
+
"name": "unregisterLayout",
|
|
1262
1322
|
"return": {
|
|
1263
1323
|
"type": {
|
|
1264
|
-
"text": "
|
|
1324
|
+
"text": "void"
|
|
1265
1325
|
}
|
|
1266
1326
|
},
|
|
1267
1327
|
"parameters": [
|
|
1268
1328
|
{
|
|
1269
|
-
"name": "
|
|
1329
|
+
"name": "layoutKey",
|
|
1270
1330
|
"type": {
|
|
1271
1331
|
"text": "string"
|
|
1272
1332
|
}
|
|
@@ -1275,24 +1335,16 @@
|
|
|
1275
1335
|
},
|
|
1276
1336
|
{
|
|
1277
1337
|
"kind": "method",
|
|
1278
|
-
"name": "
|
|
1338
|
+
"name": "getLayoutsConfigs",
|
|
1279
1339
|
"return": {
|
|
1280
1340
|
"type": {
|
|
1281
|
-
"text": "
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
"parameters": [
|
|
1285
|
-
{
|
|
1286
|
-
"name": "shared",
|
|
1287
|
-
"type": {
|
|
1288
|
-
"text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
|
|
1289
|
-
}
|
|
1341
|
+
"text": "SavedLayout[]"
|
|
1290
1342
|
}
|
|
1291
|
-
|
|
1343
|
+
}
|
|
1292
1344
|
},
|
|
1293
1345
|
{
|
|
1294
1346
|
"kind": "method",
|
|
1295
|
-
"name": "
|
|
1347
|
+
"name": "applySavedLayouts",
|
|
1296
1348
|
"return": {
|
|
1297
1349
|
"type": {
|
|
1298
1350
|
"text": "Promise<void>"
|
|
@@ -1300,55 +1352,95 @@
|
|
|
1300
1352
|
},
|
|
1301
1353
|
"parameters": [
|
|
1302
1354
|
{
|
|
1303
|
-
"name": "
|
|
1355
|
+
"name": "savedLayouts",
|
|
1304
1356
|
"type": {
|
|
1305
|
-
"text": "
|
|
1357
|
+
"text": "SavedLayout[]"
|
|
1306
1358
|
}
|
|
1307
1359
|
}
|
|
1308
1360
|
]
|
|
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
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "field",
|
|
1420
|
+
"name": "currentWorkspace",
|
|
1421
|
+
"type": {
|
|
1422
|
+
"text": "SavedWorkspace | null"
|
|
1423
|
+
},
|
|
1424
|
+
"privacy": "private",
|
|
1425
|
+
"default": "null"
|
|
1309
1426
|
},
|
|
1310
1427
|
{
|
|
1311
1428
|
"kind": "method",
|
|
1312
|
-
"name": "
|
|
1429
|
+
"name": "getCurrentUsername",
|
|
1313
1430
|
"privacy": "private",
|
|
1314
1431
|
"return": {
|
|
1315
1432
|
"type": {
|
|
1316
|
-
"text": "
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
"parameters": [
|
|
1320
|
-
{
|
|
1321
|
-
"name": "title",
|
|
1322
|
-
"type": {
|
|
1323
|
-
"text": "string"
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"name": "body",
|
|
1328
|
-
"type": {
|
|
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"
|
|
1342
|
-
}
|
|
1433
|
+
"text": "string"
|
|
1343
1434
|
}
|
|
1344
|
-
|
|
1435
|
+
}
|
|
1345
1436
|
},
|
|
1346
1437
|
{
|
|
1347
1438
|
"kind": "method",
|
|
1348
|
-
"name": "
|
|
1439
|
+
"name": "getWorkspaceStorageKey",
|
|
1440
|
+
"privacy": "private",
|
|
1349
1441
|
"return": {
|
|
1350
1442
|
"type": {
|
|
1351
|
-
"text": "
|
|
1443
|
+
"text": "string"
|
|
1352
1444
|
}
|
|
1353
1445
|
},
|
|
1354
1446
|
"parameters": [
|
|
@@ -1362,24 +1454,17 @@
|
|
|
1362
1454
|
},
|
|
1363
1455
|
{
|
|
1364
1456
|
"kind": "method",
|
|
1365
|
-
"name": "
|
|
1457
|
+
"name": "getWorkspacesListKey",
|
|
1458
|
+
"privacy": "private",
|
|
1366
1459
|
"return": {
|
|
1367
1460
|
"type": {
|
|
1368
|
-
"text": "
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
"parameters": [
|
|
1372
|
-
{
|
|
1373
|
-
"name": "sharedWorkspace",
|
|
1374
|
-
"type": {
|
|
1375
|
-
"text": "SharedWorkspace"
|
|
1376
|
-
}
|
|
1461
|
+
"text": "string"
|
|
1377
1462
|
}
|
|
1378
|
-
|
|
1463
|
+
}
|
|
1379
1464
|
},
|
|
1380
1465
|
{
|
|
1381
1466
|
"kind": "method",
|
|
1382
|
-
"name": "
|
|
1467
|
+
"name": "saveWorkspace",
|
|
1383
1468
|
"return": {
|
|
1384
1469
|
"type": {
|
|
1385
1470
|
"text": "Promise<void>"
|
|
@@ -1387,67 +1472,32 @@
|
|
|
1387
1472
|
},
|
|
1388
1473
|
"parameters": [
|
|
1389
1474
|
{
|
|
1390
|
-
"name": "
|
|
1475
|
+
"name": "workspaceName",
|
|
1391
1476
|
"type": {
|
|
1392
|
-
"text": "
|
|
1477
|
+
"text": "string"
|
|
1393
1478
|
}
|
|
1394
|
-
}
|
|
1395
|
-
]
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
"kind": "method",
|
|
1399
|
-
"name": "confirmDeleteSharedWorkspace",
|
|
1400
|
-
"return": {
|
|
1401
|
-
"type": {
|
|
1402
|
-
"text": "void"
|
|
1403
|
-
}
|
|
1404
|
-
},
|
|
1405
|
-
"parameters": [
|
|
1479
|
+
},
|
|
1406
1480
|
{
|
|
1407
|
-
"name": "
|
|
1481
|
+
"name": "layouts",
|
|
1408
1482
|
"type": {
|
|
1409
|
-
"text": "
|
|
1483
|
+
"text": "SavedLayout[]"
|
|
1410
1484
|
}
|
|
1411
|
-
}
|
|
1412
|
-
]
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "method",
|
|
1416
|
-
"name": "shareExistingWorkspace",
|
|
1417
|
-
"return": {
|
|
1418
|
-
"type": {
|
|
1419
|
-
"text": "Promise<void>"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
"parameters": [
|
|
1485
|
+
},
|
|
1423
1486
|
{
|
|
1424
|
-
"name": "
|
|
1487
|
+
"name": "grids",
|
|
1425
1488
|
"type": {
|
|
1426
|
-
"text": "
|
|
1489
|
+
"text": "SavedGridSettings[]"
|
|
1427
1490
|
}
|
|
1428
|
-
}
|
|
1429
|
-
]
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"kind": "method",
|
|
1433
|
-
"name": "openSaveDialog",
|
|
1434
|
-
"return": {
|
|
1435
|
-
"type": {
|
|
1436
|
-
"text": "Promise<void>"
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
"kind": "method",
|
|
1442
|
-
"name": "isWorkspaceExisting",
|
|
1443
|
-
"return": {
|
|
1444
|
-
"type": {
|
|
1445
|
-
"text": "boolean"
|
|
1446
|
-
}
|
|
1447
|
-
},
|
|
1448
|
-
"parameters": [
|
|
1491
|
+
},
|
|
1449
1492
|
{
|
|
1450
|
-
"name": "
|
|
1493
|
+
"name": "filters",
|
|
1494
|
+
"type": {
|
|
1495
|
+
"text": "SavedFilterValue[]"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "description",
|
|
1500
|
+
"optional": true,
|
|
1451
1501
|
"type": {
|
|
1452
1502
|
"text": "string"
|
|
1453
1503
|
}
|
|
@@ -1456,21 +1506,15 @@
|
|
|
1456
1506
|
},
|
|
1457
1507
|
{
|
|
1458
1508
|
"kind": "method",
|
|
1459
|
-
"name": "
|
|
1509
|
+
"name": "loadWorkspace",
|
|
1460
1510
|
"return": {
|
|
1461
1511
|
"type": {
|
|
1462
|
-
"text": "
|
|
1512
|
+
"text": "Promise<SavedWorkspace | null>"
|
|
1463
1513
|
}
|
|
1464
1514
|
},
|
|
1465
1515
|
"parameters": [
|
|
1466
1516
|
{
|
|
1467
|
-
"name": "
|
|
1468
|
-
"type": {
|
|
1469
|
-
"text": "string"
|
|
1470
|
-
}
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
"name": "newValue",
|
|
1517
|
+
"name": "workspaceName",
|
|
1474
1518
|
"type": {
|
|
1475
1519
|
"text": "string"
|
|
1476
1520
|
}
|
|
@@ -1479,21 +1523,16 @@
|
|
|
1479
1523
|
},
|
|
1480
1524
|
{
|
|
1481
1525
|
"kind": "method",
|
|
1482
|
-
"name": "
|
|
1526
|
+
"name": "getWorkspace",
|
|
1527
|
+
"privacy": "private",
|
|
1483
1528
|
"return": {
|
|
1484
1529
|
"type": {
|
|
1485
|
-
"text": "
|
|
1530
|
+
"text": "Promise<SavedWorkspace | null>"
|
|
1486
1531
|
}
|
|
1487
1532
|
},
|
|
1488
1533
|
"parameters": [
|
|
1489
1534
|
{
|
|
1490
|
-
"name": "
|
|
1491
|
-
"type": {
|
|
1492
|
-
"text": "string"
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"name": "newValue",
|
|
1535
|
+
"name": "workspaceName",
|
|
1497
1536
|
"type": {
|
|
1498
1537
|
"text": "string"
|
|
1499
1538
|
}
|
|
@@ -1502,194 +1541,140 @@
|
|
|
1502
1541
|
},
|
|
1503
1542
|
{
|
|
1504
1543
|
"kind": "method",
|
|
1505
|
-
"name": "
|
|
1544
|
+
"name": "getCurrentWorkspace",
|
|
1506
1545
|
"return": {
|
|
1507
1546
|
"type": {
|
|
1508
|
-
"text": "
|
|
1547
|
+
"text": "SavedWorkspace | null"
|
|
1509
1548
|
}
|
|
1510
1549
|
}
|
|
1511
1550
|
},
|
|
1512
1551
|
{
|
|
1513
1552
|
"kind": "method",
|
|
1514
|
-
"name": "
|
|
1553
|
+
"name": "setCurrentWorkspace",
|
|
1515
1554
|
"return": {
|
|
1516
1555
|
"type": {
|
|
1517
1556
|
"text": "void"
|
|
1518
1557
|
}
|
|
1519
|
-
}
|
|
1558
|
+
},
|
|
1559
|
+
"parameters": [
|
|
1560
|
+
{
|
|
1561
|
+
"name": "workspace",
|
|
1562
|
+
"type": {
|
|
1563
|
+
"text": "SavedWorkspace | null"
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
]
|
|
1520
1567
|
},
|
|
1521
1568
|
{
|
|
1522
1569
|
"kind": "method",
|
|
1523
|
-
"name": "
|
|
1570
|
+
"name": "getSavedWorkspaces",
|
|
1524
1571
|
"return": {
|
|
1525
1572
|
"type": {
|
|
1526
|
-
"text": "
|
|
1573
|
+
"text": "Promise<SavedWorkspace[]>"
|
|
1527
1574
|
}
|
|
1528
1575
|
}
|
|
1529
1576
|
},
|
|
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
|
-
},
|
|
1569
1577
|
{
|
|
1570
1578
|
"kind": "method",
|
|
1571
|
-
"name": "
|
|
1572
|
-
"privacy": "protected",
|
|
1579
|
+
"name": "deleteWorkspace",
|
|
1573
1580
|
"return": {
|
|
1574
1581
|
"type": {
|
|
1575
|
-
"text": "void"
|
|
1582
|
+
"text": "Promise<void>"
|
|
1576
1583
|
}
|
|
1577
1584
|
},
|
|
1578
|
-
"
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
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
|
-
}
|
|
1585
|
+
"parameters": [
|
|
1586
|
+
{
|
|
1587
|
+
"name": "workspaceName",
|
|
1588
|
+
"type": {
|
|
1589
|
+
"text": "string"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1595
1593
|
},
|
|
1596
1594
|
{
|
|
1597
1595
|
"kind": "method",
|
|
1598
|
-
"name": "
|
|
1599
|
-
"privacy": "
|
|
1596
|
+
"name": "updateWorkspacesList",
|
|
1597
|
+
"privacy": "private",
|
|
1600
1598
|
"return": {
|
|
1601
1599
|
"type": {
|
|
1602
|
-
"text": "void"
|
|
1600
|
+
"text": "Promise<void>"
|
|
1603
1601
|
}
|
|
1604
1602
|
},
|
|
1605
|
-
"
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1603
|
+
"parameters": [
|
|
1604
|
+
{
|
|
1605
|
+
"name": "workspaceName",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "string"
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
]
|
|
1609
1611
|
},
|
|
1610
1612
|
{
|
|
1611
1613
|
"kind": "method",
|
|
1612
|
-
"name": "
|
|
1613
|
-
"privacy": "
|
|
1614
|
-
"static": true,
|
|
1614
|
+
"name": "removeFromWorkspacesList",
|
|
1615
|
+
"privacy": "private",
|
|
1615
1616
|
"return": {
|
|
1616
1617
|
"type": {
|
|
1617
|
-
"text": "
|
|
1618
|
+
"text": "Promise<void>"
|
|
1618
1619
|
}
|
|
1619
1620
|
},
|
|
1620
1621
|
"parameters": [
|
|
1621
1622
|
{
|
|
1622
|
-
"name": "
|
|
1623
|
+
"name": "workspaceName",
|
|
1623
1624
|
"type": {
|
|
1624
|
-
"text": "
|
|
1625
|
+
"text": "string"
|
|
1625
1626
|
}
|
|
1626
|
-
},
|
|
1627
|
-
{
|
|
1628
|
-
"name": "elementDefinition",
|
|
1629
|
-
"type": {
|
|
1630
|
-
"text": "T"
|
|
1631
|
-
},
|
|
1632
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1633
1627
|
}
|
|
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
|
-
}
|
|
1628
|
+
]
|
|
1640
1629
|
}
|
|
1641
|
-
]
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
"
|
|
1647
|
-
"customElement": true
|
|
1630
|
+
]
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"kind": "variable",
|
|
1634
|
+
"name": "WorkspaceState",
|
|
1635
|
+
"description": "DI token for workspace state."
|
|
1648
1636
|
}
|
|
1649
1637
|
],
|
|
1650
1638
|
"exports": [
|
|
1651
1639
|
{
|
|
1652
1640
|
"kind": "js",
|
|
1653
|
-
"name": "
|
|
1641
|
+
"name": "DefaultWorkspaceState",
|
|
1654
1642
|
"declaration": {
|
|
1655
|
-
"name": "
|
|
1656
|
-
"module": "src/workspace
|
|
1643
|
+
"name": "DefaultWorkspaceState",
|
|
1644
|
+
"module": "src/workspace/workspace-state.ts"
|
|
1657
1645
|
}
|
|
1658
1646
|
},
|
|
1659
1647
|
{
|
|
1660
|
-
"kind": "
|
|
1661
|
-
"name": "
|
|
1648
|
+
"kind": "js",
|
|
1649
|
+
"name": "WorkspaceState",
|
|
1662
1650
|
"declaration": {
|
|
1663
|
-
"name": "
|
|
1664
|
-
"module": "src/workspace
|
|
1651
|
+
"name": "WorkspaceState",
|
|
1652
|
+
"module": "src/workspace/workspace-state.ts"
|
|
1665
1653
|
}
|
|
1666
1654
|
}
|
|
1667
1655
|
]
|
|
1668
1656
|
},
|
|
1669
1657
|
{
|
|
1670
1658
|
"kind": "javascript-module",
|
|
1671
|
-
"path": "src/workspace/
|
|
1659
|
+
"path": "src/workspace/workspace-state.types.ts",
|
|
1672
1660
|
"declarations": [],
|
|
1673
|
-
"exports": [
|
|
1674
|
-
{
|
|
1675
|
-
"kind": "js",
|
|
1676
|
-
"name": "*",
|
|
1677
|
-
"declaration": {
|
|
1678
|
-
"name": "*",
|
|
1679
|
-
"package": "./layout-wrapper"
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
]
|
|
1661
|
+
"exports": []
|
|
1683
1662
|
},
|
|
1684
1663
|
{
|
|
1685
1664
|
"kind": "javascript-module",
|
|
1686
|
-
"path": "src/workspace/
|
|
1665
|
+
"path": "src/workspace/workspace.types.ts",
|
|
1666
|
+
"declarations": [],
|
|
1667
|
+
"exports": []
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "javascript-module",
|
|
1671
|
+
"path": "src/workspace/grid-register/grid-register.template.ts",
|
|
1687
1672
|
"declarations": [
|
|
1688
1673
|
{
|
|
1689
1674
|
"kind": "variable",
|
|
1690
|
-
"name": "
|
|
1675
|
+
"name": "GridRegisterTemplate",
|
|
1691
1676
|
"type": {
|
|
1692
|
-
"text": "ViewTemplate<
|
|
1677
|
+
"text": "ViewTemplate<GridRegister>"
|
|
1693
1678
|
},
|
|
1694
1679
|
"default": "html`\n <slot></slot>\n`"
|
|
1695
1680
|
}
|
|
@@ -1697,26 +1682,26 @@
|
|
|
1697
1682
|
"exports": [
|
|
1698
1683
|
{
|
|
1699
1684
|
"kind": "js",
|
|
1700
|
-
"name": "
|
|
1685
|
+
"name": "GridRegisterTemplate",
|
|
1701
1686
|
"declaration": {
|
|
1702
|
-
"name": "
|
|
1703
|
-
"module": "src/workspace/
|
|
1687
|
+
"name": "GridRegisterTemplate",
|
|
1688
|
+
"module": "src/workspace/grid-register/grid-register.template.ts"
|
|
1704
1689
|
}
|
|
1705
1690
|
}
|
|
1706
1691
|
]
|
|
1707
1692
|
},
|
|
1708
1693
|
{
|
|
1709
1694
|
"kind": "javascript-module",
|
|
1710
|
-
"path": "src/workspace/
|
|
1695
|
+
"path": "src/workspace/grid-register/grid-register.ts",
|
|
1711
1696
|
"declarations": [
|
|
1712
1697
|
{
|
|
1713
1698
|
"kind": "class",
|
|
1714
|
-
"description": "Registers
|
|
1715
|
-
"name": "
|
|
1699
|
+
"description": "Registers an AG Grid instance so workspace state can apply/load it.",
|
|
1700
|
+
"name": "GridRegister",
|
|
1716
1701
|
"members": [
|
|
1717
1702
|
{
|
|
1718
1703
|
"kind": "field",
|
|
1719
|
-
"name": "
|
|
1704
|
+
"name": "gridKey",
|
|
1720
1705
|
"type": {
|
|
1721
1706
|
"text": "string"
|
|
1722
1707
|
}
|
|
@@ -1731,23 +1716,74 @@
|
|
|
1731
1716
|
},
|
|
1732
1717
|
{
|
|
1733
1718
|
"kind": "field",
|
|
1734
|
-
"name": "
|
|
1719
|
+
"name": "gridRegistry",
|
|
1720
|
+
"type": {
|
|
1721
|
+
"text": "GridRegistry"
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"kind": "field",
|
|
1726
|
+
"name": "workspaceState",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "WorkspaceState"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "field",
|
|
1733
|
+
"name": "gridElement",
|
|
1734
|
+
"type": {
|
|
1735
|
+
"text": "GridPro | null"
|
|
1736
|
+
},
|
|
1737
|
+
"privacy": "private",
|
|
1738
|
+
"default": "null"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "field",
|
|
1742
|
+
"name": "gridApi",
|
|
1743
|
+
"type": {
|
|
1744
|
+
"text": "GridApi | null"
|
|
1745
|
+
},
|
|
1746
|
+
"privacy": "private",
|
|
1747
|
+
"default": "null"
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
"kind": "field",
|
|
1751
|
+
"name": "columnApi",
|
|
1735
1752
|
"type": {
|
|
1736
|
-
"text": "
|
|
1753
|
+
"text": "ColumnApi | null"
|
|
1754
|
+
},
|
|
1755
|
+
"privacy": "private",
|
|
1756
|
+
"default": "null"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "method",
|
|
1760
|
+
"name": "findAndRegisterGrid",
|
|
1761
|
+
"privacy": "private",
|
|
1762
|
+
"return": {
|
|
1763
|
+
"type": {
|
|
1764
|
+
"text": "void"
|
|
1765
|
+
}
|
|
1737
1766
|
}
|
|
1738
1767
|
},
|
|
1739
1768
|
{
|
|
1740
1769
|
"kind": "field",
|
|
1741
|
-
"name": "
|
|
1742
|
-
"type": {
|
|
1743
|
-
"text": "FoundationLayout | null"
|
|
1744
|
-
},
|
|
1770
|
+
"name": "handleGridReady",
|
|
1745
1771
|
"privacy": "private",
|
|
1746
|
-
"
|
|
1772
|
+
"readonly": true
|
|
1747
1773
|
},
|
|
1748
1774
|
{
|
|
1749
1775
|
"kind": "method",
|
|
1750
|
-
"name": "
|
|
1776
|
+
"name": "attachToGridApis",
|
|
1777
|
+
"privacy": "private",
|
|
1778
|
+
"return": {
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "void"
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "method",
|
|
1786
|
+
"name": "detachFromGridApis",
|
|
1751
1787
|
"privacy": "private",
|
|
1752
1788
|
"return": {
|
|
1753
1789
|
"type": {
|
|
@@ -1755,6 +1791,35 @@
|
|
|
1755
1791
|
}
|
|
1756
1792
|
}
|
|
1757
1793
|
},
|
|
1794
|
+
{
|
|
1795
|
+
"kind": "method",
|
|
1796
|
+
"name": "loadWorkspaceSettings",
|
|
1797
|
+
"privacy": "private",
|
|
1798
|
+
"return": {
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "Promise<void>"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"parameters": [
|
|
1804
|
+
{
|
|
1805
|
+
"name": "options",
|
|
1806
|
+
"optional": true,
|
|
1807
|
+
"type": {
|
|
1808
|
+
"text": "{ applyColumns?: boolean }"
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
]
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "method",
|
|
1815
|
+
"name": "loadWorkspaceColumnState",
|
|
1816
|
+
"privacy": "private",
|
|
1817
|
+
"return": {
|
|
1818
|
+
"type": {
|
|
1819
|
+
"text": "Promise<void>"
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1758
1823
|
{
|
|
1759
1824
|
"kind": "field",
|
|
1760
1825
|
"name": "_presentation",
|
|
@@ -1869,11 +1934,11 @@
|
|
|
1869
1934
|
],
|
|
1870
1935
|
"attributes": [
|
|
1871
1936
|
{
|
|
1872
|
-
"name": "
|
|
1937
|
+
"name": "grid-key",
|
|
1873
1938
|
"type": {
|
|
1874
1939
|
"text": "string"
|
|
1875
1940
|
},
|
|
1876
|
-
"fieldName": "
|
|
1941
|
+
"fieldName": "gridKey"
|
|
1877
1942
|
},
|
|
1878
1943
|
{
|
|
1879
1944
|
"name": "design-system-prefix",
|
|
@@ -1888,38 +1953,68 @@
|
|
|
1888
1953
|
"name": "FoundationElement",
|
|
1889
1954
|
"package": "@genesislcap/web-core"
|
|
1890
1955
|
},
|
|
1891
|
-
"tagName": "
|
|
1956
|
+
"tagName": "grid-register",
|
|
1892
1957
|
"customElement": true
|
|
1893
1958
|
}
|
|
1894
1959
|
],
|
|
1895
1960
|
"exports": [
|
|
1896
1961
|
{
|
|
1897
1962
|
"kind": "js",
|
|
1898
|
-
"name": "
|
|
1963
|
+
"name": "GridRegister",
|
|
1899
1964
|
"declaration": {
|
|
1900
|
-
"name": "
|
|
1901
|
-
"module": "src/workspace/
|
|
1965
|
+
"name": "GridRegister",
|
|
1966
|
+
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1902
1967
|
}
|
|
1903
1968
|
},
|
|
1904
1969
|
{
|
|
1905
1970
|
"kind": "custom-element-definition",
|
|
1906
|
-
"name": "
|
|
1971
|
+
"name": "grid-register",
|
|
1907
1972
|
"declaration": {
|
|
1908
|
-
"name": "
|
|
1909
|
-
"module": "src/workspace/
|
|
1973
|
+
"name": "GridRegister",
|
|
1974
|
+
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1910
1975
|
}
|
|
1911
1976
|
}
|
|
1912
1977
|
]
|
|
1913
1978
|
},
|
|
1914
1979
|
{
|
|
1915
1980
|
"kind": "javascript-module",
|
|
1916
|
-
"path": "src/workspace/grid-register/
|
|
1981
|
+
"path": "src/workspace/grid-register/index.ts",
|
|
1982
|
+
"declarations": [],
|
|
1983
|
+
"exports": [
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "js",
|
|
1986
|
+
"name": "*",
|
|
1987
|
+
"declaration": {
|
|
1988
|
+
"name": "*",
|
|
1989
|
+
"package": "./grid-register"
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
]
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "javascript-module",
|
|
1996
|
+
"path": "src/workspace/layout-wrapper/index.ts",
|
|
1997
|
+
"declarations": [],
|
|
1998
|
+
"exports": [
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "js",
|
|
2001
|
+
"name": "*",
|
|
2002
|
+
"declaration": {
|
|
2003
|
+
"name": "*",
|
|
2004
|
+
"package": "./layout-wrapper"
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
]
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"kind": "javascript-module",
|
|
2011
|
+
"path": "src/workspace/layout-wrapper/layout-wrapper.template.ts",
|
|
1917
2012
|
"declarations": [
|
|
1918
2013
|
{
|
|
1919
2014
|
"kind": "variable",
|
|
1920
|
-
"name": "
|
|
2015
|
+
"name": "LayoutWrapperTemplate",
|
|
1921
2016
|
"type": {
|
|
1922
|
-
"text": "ViewTemplate<
|
|
2017
|
+
"text": "ViewTemplate<LayoutWrapper>"
|
|
1923
2018
|
},
|
|
1924
2019
|
"default": "html`\n <slot></slot>\n`"
|
|
1925
2020
|
}
|
|
@@ -1927,26 +2022,26 @@
|
|
|
1927
2022
|
"exports": [
|
|
1928
2023
|
{
|
|
1929
2024
|
"kind": "js",
|
|
1930
|
-
"name": "
|
|
2025
|
+
"name": "LayoutWrapperTemplate",
|
|
1931
2026
|
"declaration": {
|
|
1932
|
-
"name": "
|
|
1933
|
-
"module": "src/workspace/
|
|
2027
|
+
"name": "LayoutWrapperTemplate",
|
|
2028
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.template.ts"
|
|
1934
2029
|
}
|
|
1935
2030
|
}
|
|
1936
2031
|
]
|
|
1937
2032
|
},
|
|
1938
2033
|
{
|
|
1939
2034
|
"kind": "javascript-module",
|
|
1940
|
-
"path": "src/workspace/
|
|
2035
|
+
"path": "src/workspace/layout-wrapper/layout-wrapper.ts",
|
|
1941
2036
|
"declarations": [
|
|
1942
2037
|
{
|
|
1943
2038
|
"kind": "class",
|
|
1944
|
-
"description": "Registers
|
|
1945
|
-
"name": "
|
|
2039
|
+
"description": "Registers a layout instance so workspace state can apply/load it.",
|
|
2040
|
+
"name": "LayoutWrapper",
|
|
1946
2041
|
"members": [
|
|
1947
2042
|
{
|
|
1948
2043
|
"kind": "field",
|
|
1949
|
-
"name": "
|
|
2044
|
+
"name": "layoutKey",
|
|
1950
2045
|
"type": {
|
|
1951
2046
|
"text": "string"
|
|
1952
2047
|
}
|
|
@@ -1961,74 +2056,23 @@
|
|
|
1961
2056
|
},
|
|
1962
2057
|
{
|
|
1963
2058
|
"kind": "field",
|
|
1964
|
-
"name": "
|
|
1965
|
-
"type": {
|
|
1966
|
-
"text": "GridRegistry"
|
|
1967
|
-
}
|
|
1968
|
-
},
|
|
1969
|
-
{
|
|
1970
|
-
"kind": "field",
|
|
1971
|
-
"name": "workspaceState",
|
|
2059
|
+
"name": "layoutRegistry",
|
|
1972
2060
|
"type": {
|
|
1973
|
-
"text": "
|
|
2061
|
+
"text": "LayoutRegistry"
|
|
1974
2062
|
}
|
|
1975
2063
|
},
|
|
1976
2064
|
{
|
|
1977
2065
|
"kind": "field",
|
|
1978
|
-
"name": "
|
|
1979
|
-
"type": {
|
|
1980
|
-
"text": "GridPro | null"
|
|
1981
|
-
},
|
|
1982
|
-
"privacy": "private",
|
|
1983
|
-
"default": "null"
|
|
1984
|
-
},
|
|
1985
|
-
{
|
|
1986
|
-
"kind": "field",
|
|
1987
|
-
"name": "gridApi",
|
|
1988
|
-
"type": {
|
|
1989
|
-
"text": "GridApi | null"
|
|
1990
|
-
},
|
|
1991
|
-
"privacy": "private",
|
|
1992
|
-
"default": "null"
|
|
1993
|
-
},
|
|
1994
|
-
{
|
|
1995
|
-
"kind": "field",
|
|
1996
|
-
"name": "columnApi",
|
|
2066
|
+
"name": "layoutElement",
|
|
1997
2067
|
"type": {
|
|
1998
|
-
"text": "
|
|
2068
|
+
"text": "FoundationLayout | null"
|
|
1999
2069
|
},
|
|
2000
2070
|
"privacy": "private",
|
|
2001
2071
|
"default": "null"
|
|
2002
2072
|
},
|
|
2003
2073
|
{
|
|
2004
2074
|
"kind": "method",
|
|
2005
|
-
"name": "
|
|
2006
|
-
"privacy": "private",
|
|
2007
|
-
"return": {
|
|
2008
|
-
"type": {
|
|
2009
|
-
"text": "void"
|
|
2010
|
-
}
|
|
2011
|
-
}
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"kind": "field",
|
|
2015
|
-
"name": "handleGridReady",
|
|
2016
|
-
"privacy": "private",
|
|
2017
|
-
"readonly": true
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "method",
|
|
2021
|
-
"name": "attachToGridApis",
|
|
2022
|
-
"privacy": "private",
|
|
2023
|
-
"return": {
|
|
2024
|
-
"type": {
|
|
2025
|
-
"text": "void"
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "method",
|
|
2031
|
-
"name": "detachFromGridApis",
|
|
2075
|
+
"name": "findAndRegisterLayout",
|
|
2032
2076
|
"privacy": "private",
|
|
2033
2077
|
"return": {
|
|
2034
2078
|
"type": {
|
|
@@ -2036,35 +2080,6 @@
|
|
|
2036
2080
|
}
|
|
2037
2081
|
}
|
|
2038
2082
|
},
|
|
2039
|
-
{
|
|
2040
|
-
"kind": "method",
|
|
2041
|
-
"name": "loadWorkspaceSettings",
|
|
2042
|
-
"privacy": "private",
|
|
2043
|
-
"return": {
|
|
2044
|
-
"type": {
|
|
2045
|
-
"text": "Promise<void>"
|
|
2046
|
-
}
|
|
2047
|
-
},
|
|
2048
|
-
"parameters": [
|
|
2049
|
-
{
|
|
2050
|
-
"name": "options",
|
|
2051
|
-
"optional": true,
|
|
2052
|
-
"type": {
|
|
2053
|
-
"text": "{ applyColumns?: boolean }"
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
]
|
|
2057
|
-
},
|
|
2058
|
-
{
|
|
2059
|
-
"kind": "method",
|
|
2060
|
-
"name": "loadWorkspaceColumnState",
|
|
2061
|
-
"privacy": "private",
|
|
2062
|
-
"return": {
|
|
2063
|
-
"type": {
|
|
2064
|
-
"text": "Promise<void>"
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
2083
|
{
|
|
2069
2084
|
"kind": "field",
|
|
2070
2085
|
"name": "_presentation",
|
|
@@ -2179,11 +2194,11 @@
|
|
|
2179
2194
|
],
|
|
2180
2195
|
"attributes": [
|
|
2181
2196
|
{
|
|
2182
|
-
"name": "
|
|
2197
|
+
"name": "layout-key",
|
|
2183
2198
|
"type": {
|
|
2184
2199
|
"text": "string"
|
|
2185
2200
|
},
|
|
2186
|
-
"fieldName": "
|
|
2201
|
+
"fieldName": "layoutKey"
|
|
2187
2202
|
},
|
|
2188
2203
|
{
|
|
2189
2204
|
"name": "design-system-prefix",
|
|
@@ -2198,40 +2213,25 @@
|
|
|
2198
2213
|
"name": "FoundationElement",
|
|
2199
2214
|
"package": "@genesislcap/web-core"
|
|
2200
2215
|
},
|
|
2201
|
-
"tagName": "
|
|
2216
|
+
"tagName": "layout-register",
|
|
2202
2217
|
"customElement": true
|
|
2203
2218
|
}
|
|
2204
2219
|
],
|
|
2205
2220
|
"exports": [
|
|
2206
2221
|
{
|
|
2207
2222
|
"kind": "js",
|
|
2208
|
-
"name": "
|
|
2223
|
+
"name": "LayoutWrapper",
|
|
2209
2224
|
"declaration": {
|
|
2210
|
-
"name": "
|
|
2211
|
-
"module": "src/workspace/
|
|
2225
|
+
"name": "LayoutWrapper",
|
|
2226
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
2212
2227
|
}
|
|
2213
2228
|
},
|
|
2214
2229
|
{
|
|
2215
2230
|
"kind": "custom-element-definition",
|
|
2216
|
-
"name": "
|
|
2217
|
-
"declaration": {
|
|
2218
|
-
"name": "GridRegister",
|
|
2219
|
-
"module": "src/workspace/grid-register/grid-register.ts"
|
|
2220
|
-
}
|
|
2221
|
-
}
|
|
2222
|
-
]
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
"kind": "javascript-module",
|
|
2226
|
-
"path": "src/workspace/grid-register/index.ts",
|
|
2227
|
-
"declarations": [],
|
|
2228
|
-
"exports": [
|
|
2229
|
-
{
|
|
2230
|
-
"kind": "js",
|
|
2231
|
-
"name": "*",
|
|
2231
|
+
"name": "layout-register",
|
|
2232
2232
|
"declaration": {
|
|
2233
|
-
"name": "
|
|
2234
|
-
"
|
|
2233
|
+
"name": "LayoutWrapper",
|
|
2234
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
2237
|
]
|