@genesislcap/foundation-workspace 14.488.2-GENC-1351.8 → 14.488.2
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 +918 -918
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +16 -16
|
@@ -837,883 +837,640 @@
|
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
839
|
"kind": "javascript-module",
|
|
840
|
-
"path": "src/workspace
|
|
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",
|
|
841
856
|
"declarations": [
|
|
842
857
|
{
|
|
843
858
|
"kind": "variable",
|
|
844
|
-
"name": "
|
|
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",
|
|
845
881
|
"type": {
|
|
846
|
-
"text": "
|
|
882
|
+
"text": "number"
|
|
847
883
|
},
|
|
848
|
-
"default": "
|
|
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`"
|
|
849
914
|
}
|
|
850
915
|
],
|
|
851
916
|
"exports": [
|
|
852
917
|
{
|
|
853
918
|
"kind": "js",
|
|
854
|
-
"name": "
|
|
919
|
+
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
855
920
|
"declaration": {
|
|
856
|
-
"name": "
|
|
857
|
-
"module": "src/workspace
|
|
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"
|
|
858
955
|
}
|
|
859
956
|
}
|
|
860
957
|
]
|
|
861
958
|
},
|
|
862
959
|
{
|
|
863
960
|
"kind": "javascript-module",
|
|
864
|
-
"path": "src/workspace
|
|
961
|
+
"path": "src/workspace-manager/workspace-manager.ts",
|
|
865
962
|
"declarations": [
|
|
866
963
|
{
|
|
867
964
|
"kind": "class",
|
|
868
|
-
"description": "
|
|
869
|
-
"name": "
|
|
965
|
+
"description": "Workspace persistence UI (save/load + share/delete shared workspaces).",
|
|
966
|
+
"name": "WorkspaceManager",
|
|
870
967
|
"members": [
|
|
871
968
|
{
|
|
872
969
|
"kind": "field",
|
|
873
|
-
"name": "
|
|
970
|
+
"name": "workspaceName",
|
|
874
971
|
"type": {
|
|
875
972
|
"text": "string"
|
|
876
|
-
}
|
|
973
|
+
},
|
|
974
|
+
"default": "''"
|
|
877
975
|
},
|
|
878
976
|
{
|
|
879
977
|
"kind": "field",
|
|
880
|
-
"name": "
|
|
978
|
+
"name": "workspaceDescription",
|
|
881
979
|
"type": {
|
|
882
980
|
"text": "string"
|
|
883
981
|
},
|
|
884
|
-
"default": "'
|
|
982
|
+
"default": "''"
|
|
885
983
|
},
|
|
886
984
|
{
|
|
887
985
|
"kind": "field",
|
|
888
|
-
"name": "
|
|
986
|
+
"name": "savedWorkspaces",
|
|
889
987
|
"type": {
|
|
890
|
-
"text": "
|
|
891
|
-
}
|
|
988
|
+
"text": "SavedWorkspace[]"
|
|
989
|
+
},
|
|
990
|
+
"default": "[]"
|
|
892
991
|
},
|
|
893
992
|
{
|
|
894
993
|
"kind": "field",
|
|
895
|
-
"name": "
|
|
994
|
+
"name": "sharedWorkspaces",
|
|
896
995
|
"type": {
|
|
897
|
-
"text": "
|
|
898
|
-
}
|
|
996
|
+
"text": "SharedWorkspace[]"
|
|
997
|
+
},
|
|
998
|
+
"default": "[]"
|
|
899
999
|
},
|
|
900
1000
|
{
|
|
901
1001
|
"kind": "field",
|
|
902
|
-
"name": "
|
|
1002
|
+
"name": "isLoading",
|
|
903
1003
|
"type": {
|
|
904
|
-
"text": "
|
|
1004
|
+
"text": "boolean"
|
|
905
1005
|
},
|
|
906
|
-
"
|
|
907
|
-
"default": "null"
|
|
1006
|
+
"default": "false"
|
|
908
1007
|
},
|
|
909
1008
|
{
|
|
910
1009
|
"kind": "field",
|
|
911
|
-
"name": "
|
|
1010
|
+
"name": "applyingWorkspace",
|
|
912
1011
|
"type": {
|
|
913
|
-
"text": "
|
|
1012
|
+
"text": "boolean"
|
|
914
1013
|
},
|
|
915
|
-
"
|
|
916
|
-
"default": "null"
|
|
1014
|
+
"default": "false"
|
|
917
1015
|
},
|
|
918
1016
|
{
|
|
919
1017
|
"kind": "field",
|
|
920
|
-
"name": "
|
|
1018
|
+
"name": "loadMode",
|
|
921
1019
|
"type": {
|
|
922
|
-
"text": "
|
|
1020
|
+
"text": "LoadMode"
|
|
923
1021
|
},
|
|
924
|
-
"
|
|
925
|
-
"default": "null"
|
|
1022
|
+
"default": "'MY'"
|
|
926
1023
|
},
|
|
927
1024
|
{
|
|
928
|
-
"kind": "
|
|
929
|
-
"name": "
|
|
930
|
-
"
|
|
931
|
-
|
|
932
|
-
"type": {
|
|
933
|
-
"text": "void"
|
|
934
|
-
}
|
|
1025
|
+
"kind": "field",
|
|
1026
|
+
"name": "saveModal",
|
|
1027
|
+
"type": {
|
|
1028
|
+
"text": "Modal"
|
|
935
1029
|
}
|
|
936
1030
|
},
|
|
937
1031
|
{
|
|
938
1032
|
"kind": "field",
|
|
939
|
-
"name": "
|
|
940
|
-
"
|
|
941
|
-
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"kind": "method",
|
|
945
|
-
"name": "attachToGridApis",
|
|
946
|
-
"privacy": "private",
|
|
947
|
-
"return": {
|
|
948
|
-
"type": {
|
|
949
|
-
"text": "void"
|
|
950
|
-
}
|
|
1033
|
+
"name": "loadModal",
|
|
1034
|
+
"type": {
|
|
1035
|
+
"text": "Modal"
|
|
951
1036
|
}
|
|
952
1037
|
},
|
|
953
1038
|
{
|
|
954
|
-
"kind": "
|
|
955
|
-
"name": "
|
|
956
|
-
"
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
}
|
|
961
|
-
}
|
|
1039
|
+
"kind": "field",
|
|
1040
|
+
"name": "saveMode",
|
|
1041
|
+
"type": {
|
|
1042
|
+
"text": "'create' | 'overwrite' | 'shared'"
|
|
1043
|
+
},
|
|
1044
|
+
"default": "'create'"
|
|
962
1045
|
},
|
|
963
1046
|
{
|
|
964
|
-
"kind": "
|
|
965
|
-
"name": "
|
|
966
|
-
"
|
|
967
|
-
|
|
968
|
-
"type": {
|
|
969
|
-
"text": "Promise<void>"
|
|
970
|
-
}
|
|
1047
|
+
"kind": "field",
|
|
1048
|
+
"name": "selectedWorkspaceToOverwrite",
|
|
1049
|
+
"type": {
|
|
1050
|
+
"text": "string"
|
|
971
1051
|
},
|
|
972
|
-
"
|
|
973
|
-
{
|
|
974
|
-
"name": "options",
|
|
975
|
-
"optional": true,
|
|
976
|
-
"type": {
|
|
977
|
-
"text": "{ applyColumns?: boolean }"
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
]
|
|
1052
|
+
"default": "''"
|
|
981
1053
|
},
|
|
982
1054
|
{
|
|
983
|
-
"kind": "
|
|
984
|
-
"name": "
|
|
985
|
-
"
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
}
|
|
990
|
-
}
|
|
1055
|
+
"kind": "field",
|
|
1056
|
+
"name": "workspaceToShare",
|
|
1057
|
+
"type": {
|
|
1058
|
+
"text": "string"
|
|
1059
|
+
},
|
|
1060
|
+
"default": "''"
|
|
991
1061
|
},
|
|
992
1062
|
{
|
|
993
1063
|
"kind": "field",
|
|
994
|
-
"name": "
|
|
1064
|
+
"name": "dialogBoundary",
|
|
995
1065
|
"type": {
|
|
996
|
-
"text": "
|
|
997
|
-
},
|
|
998
|
-
"privacy": "private",
|
|
999
|
-
"default": "void 0",
|
|
1000
|
-
"inheritedFrom": {
|
|
1001
|
-
"name": "FoundationElement",
|
|
1002
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1066
|
+
"text": "HTMLElement"
|
|
1003
1067
|
}
|
|
1004
1068
|
},
|
|
1005
1069
|
{
|
|
1006
1070
|
"kind": "field",
|
|
1007
|
-
"name": "
|
|
1071
|
+
"name": "sharedWorkspaceDialogBoundary",
|
|
1008
1072
|
"type": {
|
|
1009
|
-
"text": "
|
|
1010
|
-
},
|
|
1011
|
-
"privacy": "public",
|
|
1012
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1013
|
-
"inheritedFrom": {
|
|
1014
|
-
"name": "FoundationElement",
|
|
1015
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1073
|
+
"text": "HTMLElement"
|
|
1016
1074
|
}
|
|
1017
1075
|
},
|
|
1018
1076
|
{
|
|
1019
1077
|
"kind": "field",
|
|
1020
|
-
"name": "
|
|
1078
|
+
"name": "layoutRegistry",
|
|
1021
1079
|
"type": {
|
|
1022
|
-
"text": "
|
|
1023
|
-
},
|
|
1024
|
-
"privacy": "public",
|
|
1025
|
-
"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.",
|
|
1026
|
-
"inheritedFrom": {
|
|
1027
|
-
"name": "FoundationElement",
|
|
1028
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1029
|
-
}
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"kind": "method",
|
|
1033
|
-
"name": "templateChanged",
|
|
1034
|
-
"privacy": "protected",
|
|
1035
|
-
"return": {
|
|
1036
|
-
"type": {
|
|
1037
|
-
"text": "void"
|
|
1038
|
-
}
|
|
1039
|
-
},
|
|
1040
|
-
"inheritedFrom": {
|
|
1041
|
-
"name": "FoundationElement",
|
|
1042
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1080
|
+
"text": "LayoutRegistry"
|
|
1043
1081
|
}
|
|
1044
1082
|
},
|
|
1045
1083
|
{
|
|
1046
1084
|
"kind": "field",
|
|
1047
|
-
"name": "
|
|
1085
|
+
"name": "gridRegistry",
|
|
1048
1086
|
"type": {
|
|
1049
|
-
"text": "
|
|
1050
|
-
},
|
|
1051
|
-
"privacy": "public",
|
|
1052
|
-
"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.",
|
|
1053
|
-
"inheritedFrom": {
|
|
1054
|
-
"name": "FoundationElement",
|
|
1055
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1087
|
+
"text": "GridRegistry"
|
|
1056
1088
|
}
|
|
1057
1089
|
},
|
|
1058
1090
|
{
|
|
1059
|
-
"kind": "
|
|
1060
|
-
"name": "
|
|
1061
|
-
"
|
|
1062
|
-
|
|
1063
|
-
"type": {
|
|
1064
|
-
"text": "void"
|
|
1065
|
-
}
|
|
1066
|
-
},
|
|
1067
|
-
"inheritedFrom": {
|
|
1068
|
-
"name": "FoundationElement",
|
|
1069
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "filterRegistry",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "FilterRegistry"
|
|
1070
1095
|
}
|
|
1071
1096
|
},
|
|
1072
1097
|
{
|
|
1073
|
-
"kind": "
|
|
1074
|
-
"name": "
|
|
1075
|
-
"privacy": "public",
|
|
1076
|
-
"static": true,
|
|
1077
|
-
"return": {
|
|
1078
|
-
"type": {
|
|
1079
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1080
|
-
}
|
|
1081
|
-
},
|
|
1082
|
-
"parameters": [
|
|
1083
|
-
{
|
|
1084
|
-
"name": "this",
|
|
1085
|
-
"type": {
|
|
1086
|
-
"text": "K"
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"name": "elementDefinition",
|
|
1091
|
-
"type": {
|
|
1092
|
-
"text": "T"
|
|
1093
|
-
},
|
|
1094
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1095
|
-
}
|
|
1096
|
-
],
|
|
1097
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1098
|
-
"inheritedFrom": {
|
|
1099
|
-
"name": "FoundationElement",
|
|
1100
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
],
|
|
1104
|
-
"attributes": [
|
|
1105
|
-
{
|
|
1106
|
-
"name": "grid-key",
|
|
1098
|
+
"kind": "field",
|
|
1099
|
+
"name": "workspaceState",
|
|
1107
1100
|
"type": {
|
|
1108
|
-
"text": "
|
|
1109
|
-
}
|
|
1110
|
-
"fieldName": "gridKey"
|
|
1101
|
+
"text": "WorkspaceState"
|
|
1102
|
+
}
|
|
1111
1103
|
},
|
|
1112
|
-
{
|
|
1113
|
-
"name": "design-system-prefix",
|
|
1114
|
-
"type": {
|
|
1115
|
-
"text": "string"
|
|
1116
|
-
},
|
|
1117
|
-
"default": "'rapid'",
|
|
1118
|
-
"fieldName": "designSystemPrefix"
|
|
1119
|
-
}
|
|
1120
|
-
],
|
|
1121
|
-
"superclass": {
|
|
1122
|
-
"name": "FoundationElement",
|
|
1123
|
-
"package": "@genesislcap/web-core"
|
|
1124
|
-
},
|
|
1125
|
-
"tagName": "grid-register",
|
|
1126
|
-
"customElement": true
|
|
1127
|
-
}
|
|
1128
|
-
],
|
|
1129
|
-
"exports": [
|
|
1130
|
-
{
|
|
1131
|
-
"kind": "js",
|
|
1132
|
-
"name": "GridRegister",
|
|
1133
|
-
"declaration": {
|
|
1134
|
-
"name": "GridRegister",
|
|
1135
|
-
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1136
|
-
}
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"kind": "custom-element-definition",
|
|
1140
|
-
"name": "grid-register",
|
|
1141
|
-
"declaration": {
|
|
1142
|
-
"name": "GridRegister",
|
|
1143
|
-
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
]
|
|
1147
|
-
},
|
|
1148
|
-
{
|
|
1149
|
-
"kind": "javascript-module",
|
|
1150
|
-
"path": "src/workspace/grid-register/index.ts",
|
|
1151
|
-
"declarations": [],
|
|
1152
|
-
"exports": [
|
|
1153
|
-
{
|
|
1154
|
-
"kind": "js",
|
|
1155
|
-
"name": "*",
|
|
1156
|
-
"declaration": {
|
|
1157
|
-
"name": "*",
|
|
1158
|
-
"package": "./grid-register"
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
]
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"kind": "javascript-module",
|
|
1165
|
-
"path": "src/workspace/layout-wrapper/index.ts",
|
|
1166
|
-
"declarations": [],
|
|
1167
|
-
"exports": [
|
|
1168
|
-
{
|
|
1169
|
-
"kind": "js",
|
|
1170
|
-
"name": "*",
|
|
1171
|
-
"declaration": {
|
|
1172
|
-
"name": "*",
|
|
1173
|
-
"package": "./layout-wrapper"
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
]
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
"kind": "javascript-module",
|
|
1180
|
-
"path": "src/workspace/layout-wrapper/layout-wrapper.template.ts",
|
|
1181
|
-
"declarations": [
|
|
1182
|
-
{
|
|
1183
|
-
"kind": "variable",
|
|
1184
|
-
"name": "LayoutWrapperTemplate",
|
|
1185
|
-
"type": {
|
|
1186
|
-
"text": "ViewTemplate<LayoutWrapper>"
|
|
1187
|
-
},
|
|
1188
|
-
"default": "html`\n <slot></slot>\n`"
|
|
1189
|
-
}
|
|
1190
|
-
],
|
|
1191
|
-
"exports": [
|
|
1192
|
-
{
|
|
1193
|
-
"kind": "js",
|
|
1194
|
-
"name": "LayoutWrapperTemplate",
|
|
1195
|
-
"declaration": {
|
|
1196
|
-
"name": "LayoutWrapperTemplate",
|
|
1197
|
-
"module": "src/workspace/layout-wrapper/layout-wrapper.template.ts"
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
]
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"kind": "javascript-module",
|
|
1204
|
-
"path": "src/workspace/layout-wrapper/layout-wrapper.ts",
|
|
1205
|
-
"declarations": [
|
|
1206
|
-
{
|
|
1207
|
-
"kind": "class",
|
|
1208
|
-
"description": "Registers a layout instance so workspace state can apply/load it.",
|
|
1209
|
-
"name": "LayoutWrapper",
|
|
1210
|
-
"members": [
|
|
1211
1104
|
{
|
|
1212
1105
|
"kind": "field",
|
|
1213
|
-
"name": "
|
|
1106
|
+
"name": "connect",
|
|
1214
1107
|
"type": {
|
|
1215
|
-
"text": "
|
|
1108
|
+
"text": "Connect"
|
|
1216
1109
|
}
|
|
1217
1110
|
},
|
|
1218
1111
|
{
|
|
1219
1112
|
"kind": "field",
|
|
1220
|
-
"name": "
|
|
1113
|
+
"name": "auth",
|
|
1221
1114
|
"type": {
|
|
1222
|
-
"text": "
|
|
1223
|
-
}
|
|
1224
|
-
"default": "'rapid'"
|
|
1115
|
+
"text": "Auth"
|
|
1116
|
+
}
|
|
1225
1117
|
},
|
|
1226
1118
|
{
|
|
1227
1119
|
"kind": "field",
|
|
1228
|
-
"name": "
|
|
1120
|
+
"name": "canShareWorkspace",
|
|
1229
1121
|
"type": {
|
|
1230
|
-
"text": "
|
|
1122
|
+
"text": "boolean"
|
|
1231
1123
|
}
|
|
1232
1124
|
},
|
|
1233
1125
|
{
|
|
1234
1126
|
"kind": "field",
|
|
1235
|
-
"name": "
|
|
1127
|
+
"name": "sharedWorkspacesEnabled",
|
|
1236
1128
|
"type": {
|
|
1237
|
-
"text": "
|
|
1129
|
+
"text": "boolean"
|
|
1238
1130
|
},
|
|
1239
1131
|
"privacy": "private",
|
|
1240
|
-
"
|
|
1132
|
+
"readonly": true,
|
|
1133
|
+
"default": "false"
|
|
1241
1134
|
},
|
|
1242
1135
|
{
|
|
1243
1136
|
"kind": "method",
|
|
1244
|
-
"name": "
|
|
1137
|
+
"name": "sanitizeDescription",
|
|
1245
1138
|
"privacy": "private",
|
|
1246
1139
|
"return": {
|
|
1247
1140
|
"type": {
|
|
1248
|
-
"text": "
|
|
1141
|
+
"text": "string"
|
|
1249
1142
|
}
|
|
1250
|
-
}
|
|
1143
|
+
},
|
|
1144
|
+
"parameters": [
|
|
1145
|
+
{
|
|
1146
|
+
"name": "input",
|
|
1147
|
+
"type": {
|
|
1148
|
+
"text": "string"
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
]
|
|
1251
1152
|
},
|
|
1252
1153
|
{
|
|
1253
|
-
"kind": "
|
|
1254
|
-
"name": "
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1154
|
+
"kind": "method",
|
|
1155
|
+
"name": "updateWorkspaceDescription",
|
|
1156
|
+
"return": {
|
|
1157
|
+
"type": {
|
|
1158
|
+
"text": "void"
|
|
1159
|
+
}
|
|
1257
1160
|
},
|
|
1161
|
+
"parameters": [
|
|
1162
|
+
{
|
|
1163
|
+
"name": "raw",
|
|
1164
|
+
"type": {
|
|
1165
|
+
"text": "string"
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
]
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"kind": "method",
|
|
1172
|
+
"name": "setDescriptionFromSelectedWorkspace",
|
|
1258
1173
|
"privacy": "private",
|
|
1259
|
-
"
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1174
|
+
"return": {
|
|
1175
|
+
"type": {
|
|
1176
|
+
"text": "void"
|
|
1177
|
+
}
|
|
1263
1178
|
}
|
|
1264
1179
|
},
|
|
1265
1180
|
{
|
|
1266
|
-
"kind": "
|
|
1267
|
-
"name": "
|
|
1268
|
-
"
|
|
1269
|
-
"
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1273
|
-
"inheritedFrom": {
|
|
1274
|
-
"name": "FoundationElement",
|
|
1275
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1181
|
+
"kind": "method",
|
|
1182
|
+
"name": "refreshSavedWorkspaces",
|
|
1183
|
+
"return": {
|
|
1184
|
+
"type": {
|
|
1185
|
+
"text": "Promise<void>"
|
|
1186
|
+
}
|
|
1276
1187
|
}
|
|
1277
1188
|
},
|
|
1278
1189
|
{
|
|
1279
|
-
"kind": "
|
|
1280
|
-
"name": "
|
|
1281
|
-
"
|
|
1282
|
-
"
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
"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.",
|
|
1286
|
-
"inheritedFrom": {
|
|
1287
|
-
"name": "FoundationElement",
|
|
1288
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1190
|
+
"kind": "method",
|
|
1191
|
+
"name": "refreshSharedWorkspaces",
|
|
1192
|
+
"return": {
|
|
1193
|
+
"type": {
|
|
1194
|
+
"text": "Promise<void>"
|
|
1195
|
+
}
|
|
1289
1196
|
}
|
|
1290
1197
|
},
|
|
1291
1198
|
{
|
|
1292
1199
|
"kind": "method",
|
|
1293
|
-
"name": "
|
|
1294
|
-
"privacy": "
|
|
1200
|
+
"name": "notifyError",
|
|
1201
|
+
"privacy": "private",
|
|
1295
1202
|
"return": {
|
|
1296
1203
|
"type": {
|
|
1297
1204
|
"text": "void"
|
|
1298
1205
|
}
|
|
1299
1206
|
},
|
|
1300
|
-
"
|
|
1301
|
-
|
|
1302
|
-
|
|
1207
|
+
"parameters": [
|
|
1208
|
+
{
|
|
1209
|
+
"name": "body",
|
|
1210
|
+
"default": "'Error'"
|
|
1211
|
+
}
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "method",
|
|
1216
|
+
"name": "saveWorkspace",
|
|
1217
|
+
"return": {
|
|
1218
|
+
"type": {
|
|
1219
|
+
"text": "Promise<void>"
|
|
1220
|
+
}
|
|
1303
1221
|
}
|
|
1304
1222
|
},
|
|
1305
1223
|
{
|
|
1306
|
-
"kind": "
|
|
1307
|
-
"name": "
|
|
1308
|
-
"
|
|
1309
|
-
|
|
1224
|
+
"kind": "method",
|
|
1225
|
+
"name": "applyWorkspace",
|
|
1226
|
+
"privacy": "private",
|
|
1227
|
+
"return": {
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "Promise<void>"
|
|
1230
|
+
}
|
|
1310
1231
|
},
|
|
1311
|
-
"
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1232
|
+
"parameters": [
|
|
1233
|
+
{
|
|
1234
|
+
"name": "workspace",
|
|
1235
|
+
"type": {
|
|
1236
|
+
"text": "SavedWorkspace"
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
]
|
|
1317
1240
|
},
|
|
1318
1241
|
{
|
|
1319
1242
|
"kind": "method",
|
|
1320
|
-
"name": "
|
|
1321
|
-
"privacy": "protected",
|
|
1243
|
+
"name": "loadWorkspace",
|
|
1322
1244
|
"return": {
|
|
1323
1245
|
"type": {
|
|
1324
|
-
"text": "void"
|
|
1246
|
+
"text": "Promise<void>"
|
|
1325
1247
|
}
|
|
1326
1248
|
},
|
|
1327
|
-
"
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1249
|
+
"parameters": [
|
|
1250
|
+
{
|
|
1251
|
+
"name": "workspaceName",
|
|
1252
|
+
"type": {
|
|
1253
|
+
"text": "string"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1331
1257
|
},
|
|
1332
1258
|
{
|
|
1333
1259
|
"kind": "method",
|
|
1334
|
-
"name": "
|
|
1335
|
-
"privacy": "
|
|
1336
|
-
"static": true,
|
|
1260
|
+
"name": "requestSharedWorkspace",
|
|
1261
|
+
"privacy": "private",
|
|
1337
1262
|
"return": {
|
|
1338
1263
|
"type": {
|
|
1339
|
-
"text": "
|
|
1264
|
+
"text": "Promise<any[]>"
|
|
1340
1265
|
}
|
|
1341
1266
|
},
|
|
1342
1267
|
"parameters": [
|
|
1343
1268
|
{
|
|
1344
|
-
"name": "
|
|
1269
|
+
"name": "SHARED_WORKSPACE_ID",
|
|
1345
1270
|
"type": {
|
|
1346
|
-
"text": "
|
|
1271
|
+
"text": "string"
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"kind": "method",
|
|
1278
|
+
"name": "loadSharedWorkspace",
|
|
1279
|
+
"return": {
|
|
1280
|
+
"type": {
|
|
1281
|
+
"text": "Promise<void>"
|
|
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
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "method",
|
|
1295
|
+
"name": "deleteWorkspace",
|
|
1296
|
+
"return": {
|
|
1297
|
+
"type": {
|
|
1298
|
+
"text": "Promise<void>"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"parameters": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "workspaceName",
|
|
1304
|
+
"type": {
|
|
1305
|
+
"text": "string"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"kind": "method",
|
|
1312
|
+
"name": "showDeleteConfirmation",
|
|
1313
|
+
"privacy": "private",
|
|
1314
|
+
"return": {
|
|
1315
|
+
"type": {
|
|
1316
|
+
"text": "void"
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"parameters": [
|
|
1320
|
+
{
|
|
1321
|
+
"name": "title",
|
|
1322
|
+
"type": {
|
|
1323
|
+
"text": "string"
|
|
1347
1324
|
}
|
|
1348
1325
|
},
|
|
1349
1326
|
{
|
|
1350
|
-
"name": "
|
|
1327
|
+
"name": "body",
|
|
1351
1328
|
"type": {
|
|
1352
|
-
"text": "
|
|
1353
|
-
}
|
|
1354
|
-
|
|
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
|
+
}
|
|
1355
1343
|
}
|
|
1356
|
-
]
|
|
1357
|
-
|
|
1358
|
-
"inheritedFrom": {
|
|
1359
|
-
"name": "FoundationElement",
|
|
1360
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
],
|
|
1364
|
-
"attributes": [
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1365
1346
|
{
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
|
|
1347
|
+
"kind": "method",
|
|
1348
|
+
"name": "confirmDeleteWorkspace",
|
|
1349
|
+
"return": {
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "void"
|
|
1352
|
+
}
|
|
1369
1353
|
},
|
|
1370
|
-
"
|
|
1354
|
+
"parameters": [
|
|
1355
|
+
{
|
|
1356
|
+
"name": "workspaceName",
|
|
1357
|
+
"type": {
|
|
1358
|
+
"text": "string"
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
]
|
|
1371
1362
|
},
|
|
1372
1363
|
{
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1375
|
-
|
|
1364
|
+
"kind": "method",
|
|
1365
|
+
"name": "modifySharedWorkspace",
|
|
1366
|
+
"return": {
|
|
1367
|
+
"type": {
|
|
1368
|
+
"text": "Promise<void>"
|
|
1369
|
+
}
|
|
1376
1370
|
},
|
|
1377
|
-
"
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
"tagName": "layout-register",
|
|
1386
|
-
"customElement": true
|
|
1387
|
-
}
|
|
1388
|
-
],
|
|
1389
|
-
"exports": [
|
|
1390
|
-
{
|
|
1391
|
-
"kind": "js",
|
|
1392
|
-
"name": "LayoutWrapper",
|
|
1393
|
-
"declaration": {
|
|
1394
|
-
"name": "LayoutWrapper",
|
|
1395
|
-
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
1396
|
-
}
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "custom-element-definition",
|
|
1400
|
-
"name": "layout-register",
|
|
1401
|
-
"declaration": {
|
|
1402
|
-
"name": "LayoutWrapper",
|
|
1403
|
-
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
]
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
"kind": "javascript-module",
|
|
1410
|
-
"path": "src/workspace-manager/index.ts",
|
|
1411
|
-
"declarations": [],
|
|
1412
|
-
"exports": [
|
|
1413
|
-
{
|
|
1414
|
-
"kind": "js",
|
|
1415
|
-
"name": "*",
|
|
1416
|
-
"declaration": {
|
|
1417
|
-
"name": "*",
|
|
1418
|
-
"package": "./workspace-manager"
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
]
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"kind": "javascript-module",
|
|
1425
|
-
"path": "src/workspace-manager/workspace-manager.styles.ts",
|
|
1426
|
-
"declarations": [
|
|
1427
|
-
{
|
|
1428
|
-
"kind": "variable",
|
|
1429
|
-
"name": "WorkspaceManagerStyles",
|
|
1430
|
-
"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`"
|
|
1431
|
-
}
|
|
1432
|
-
],
|
|
1433
|
-
"exports": [
|
|
1434
|
-
{
|
|
1435
|
-
"kind": "js",
|
|
1436
|
-
"name": "WorkspaceManagerStyles",
|
|
1437
|
-
"declaration": {
|
|
1438
|
-
"name": "WorkspaceManagerStyles",
|
|
1439
|
-
"module": "src/workspace-manager/workspace-manager.styles.ts"
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
]
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
"kind": "javascript-module",
|
|
1446
|
-
"path": "src/workspace-manager/workspace-manager.template.ts",
|
|
1447
|
-
"declarations": [
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "variable",
|
|
1450
|
-
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
1451
|
-
"type": {
|
|
1452
|
-
"text": "number"
|
|
1453
|
-
},
|
|
1454
|
-
"default": "200"
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "variable",
|
|
1458
|
-
"name": "workspaceHeaderPartial",
|
|
1459
|
-
"type": {
|
|
1460
|
-
"text": "ViewTemplate<WorkspaceManager>"
|
|
1461
|
-
},
|
|
1462
|
-
"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`"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"kind": "variable",
|
|
1466
|
-
"name": "workspaceSaveModalPartial",
|
|
1467
|
-
"type": {
|
|
1468
|
-
"text": "ViewTemplate<WorkspaceManager>"
|
|
1469
|
-
},
|
|
1470
|
-
"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`"
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
"kind": "variable",
|
|
1474
|
-
"name": "workspaceLoadModalPartial",
|
|
1475
|
-
"type": {
|
|
1476
|
-
"text": "ViewTemplate<WorkspaceManager>"
|
|
1477
|
-
},
|
|
1478
|
-
"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`"
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "variable",
|
|
1482
|
-
"name": "WorkspaceManagerTemplate",
|
|
1483
|
-
"default": "html<WorkspaceManager>`\n ${workspaceHeaderPartial} ${workspaceSaveModalPartial} ${workspaceLoadModalPartial}\n`"
|
|
1484
|
-
}
|
|
1485
|
-
],
|
|
1486
|
-
"exports": [
|
|
1487
|
-
{
|
|
1488
|
-
"kind": "js",
|
|
1489
|
-
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
1490
|
-
"declaration": {
|
|
1491
|
-
"name": "WORKSPACE_DESCRIPTION_MAX",
|
|
1492
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "js",
|
|
1497
|
-
"name": "workspaceHeaderPartial",
|
|
1498
|
-
"declaration": {
|
|
1499
|
-
"name": "workspaceHeaderPartial",
|
|
1500
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
1501
|
-
}
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"kind": "js",
|
|
1505
|
-
"name": "workspaceSaveModalPartial",
|
|
1506
|
-
"declaration": {
|
|
1507
|
-
"name": "workspaceSaveModalPartial",
|
|
1508
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
1509
|
-
}
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
"kind": "js",
|
|
1513
|
-
"name": "workspaceLoadModalPartial",
|
|
1514
|
-
"declaration": {
|
|
1515
|
-
"name": "workspaceLoadModalPartial",
|
|
1516
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
"kind": "js",
|
|
1521
|
-
"name": "WorkspaceManagerTemplate",
|
|
1522
|
-
"declaration": {
|
|
1523
|
-
"name": "WorkspaceManagerTemplate",
|
|
1524
|
-
"module": "src/workspace-manager/workspace-manager.template.ts"
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
]
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "javascript-module",
|
|
1531
|
-
"path": "src/workspace-manager/workspace-manager.ts",
|
|
1532
|
-
"declarations": [
|
|
1533
|
-
{
|
|
1534
|
-
"kind": "class",
|
|
1535
|
-
"description": "Workspace persistence UI (save/load + share/delete shared workspaces).",
|
|
1536
|
-
"name": "WorkspaceManager",
|
|
1537
|
-
"members": [
|
|
1538
|
-
{
|
|
1539
|
-
"kind": "field",
|
|
1540
|
-
"name": "workspaceName",
|
|
1541
|
-
"type": {
|
|
1542
|
-
"text": "string"
|
|
1543
|
-
},
|
|
1544
|
-
"default": "''"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"kind": "field",
|
|
1548
|
-
"name": "workspaceDescription",
|
|
1549
|
-
"type": {
|
|
1550
|
-
"text": "string"
|
|
1551
|
-
},
|
|
1552
|
-
"default": "''"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"kind": "field",
|
|
1556
|
-
"name": "savedWorkspaces",
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "SavedWorkspace[]"
|
|
1559
|
-
},
|
|
1560
|
-
"default": "[]"
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"kind": "field",
|
|
1564
|
-
"name": "sharedWorkspaces",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "SharedWorkspace[]"
|
|
1567
|
-
},
|
|
1568
|
-
"default": "[]"
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"kind": "field",
|
|
1572
|
-
"name": "isLoading",
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "boolean"
|
|
1575
|
-
},
|
|
1576
|
-
"default": "false"
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "field",
|
|
1580
|
-
"name": "applyingWorkspace",
|
|
1581
|
-
"type": {
|
|
1582
|
-
"text": "boolean"
|
|
1583
|
-
},
|
|
1584
|
-
"default": "false"
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"kind": "field",
|
|
1588
|
-
"name": "loadMode",
|
|
1589
|
-
"type": {
|
|
1590
|
-
"text": "LoadMode"
|
|
1591
|
-
},
|
|
1592
|
-
"default": "'MY'"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "field",
|
|
1596
|
-
"name": "saveModal",
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "Modal"
|
|
1599
|
-
}
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
"kind": "field",
|
|
1603
|
-
"name": "loadModal",
|
|
1604
|
-
"type": {
|
|
1605
|
-
"text": "Modal"
|
|
1606
|
-
}
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"kind": "field",
|
|
1610
|
-
"name": "saveMode",
|
|
1611
|
-
"type": {
|
|
1612
|
-
"text": "'create' | 'overwrite' | 'shared'"
|
|
1613
|
-
},
|
|
1614
|
-
"default": "'create'"
|
|
1371
|
+
"parameters": [
|
|
1372
|
+
{
|
|
1373
|
+
"name": "sharedWorkspace",
|
|
1374
|
+
"type": {
|
|
1375
|
+
"text": "SharedWorkspace"
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
]
|
|
1615
1379
|
},
|
|
1616
1380
|
{
|
|
1617
|
-
"kind": "
|
|
1618
|
-
"name": "
|
|
1619
|
-
"
|
|
1620
|
-
"
|
|
1381
|
+
"kind": "method",
|
|
1382
|
+
"name": "deleteSharedWorkspace",
|
|
1383
|
+
"return": {
|
|
1384
|
+
"type": {
|
|
1385
|
+
"text": "Promise<void>"
|
|
1386
|
+
}
|
|
1621
1387
|
},
|
|
1622
|
-
"
|
|
1388
|
+
"parameters": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "sharedWorkspace",
|
|
1391
|
+
"type": {
|
|
1392
|
+
"text": "SharedWorkspace"
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
]
|
|
1623
1396
|
},
|
|
1624
1397
|
{
|
|
1625
|
-
"kind": "
|
|
1626
|
-
"name": "
|
|
1627
|
-
"
|
|
1628
|
-
"
|
|
1398
|
+
"kind": "method",
|
|
1399
|
+
"name": "confirmDeleteSharedWorkspace",
|
|
1400
|
+
"return": {
|
|
1401
|
+
"type": {
|
|
1402
|
+
"text": "void"
|
|
1403
|
+
}
|
|
1629
1404
|
},
|
|
1630
|
-
"
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"kind": "field",
|
|
1641
|
-
"name": "sharedWorkspaceDialogBoundary",
|
|
1642
|
-
"type": {
|
|
1643
|
-
"text": "HTMLElement"
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"kind": "field",
|
|
1648
|
-
"name": "layoutRegistry",
|
|
1649
|
-
"type": {
|
|
1650
|
-
"text": "LayoutRegistry"
|
|
1651
|
-
}
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"kind": "field",
|
|
1655
|
-
"name": "gridRegistry",
|
|
1656
|
-
"type": {
|
|
1657
|
-
"text": "GridRegistry"
|
|
1658
|
-
}
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
"kind": "field",
|
|
1662
|
-
"name": "filterRegistry",
|
|
1663
|
-
"type": {
|
|
1664
|
-
"text": "FilterRegistry"
|
|
1665
|
-
}
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"kind": "field",
|
|
1669
|
-
"name": "workspaceState",
|
|
1670
|
-
"type": {
|
|
1671
|
-
"text": "WorkspaceState"
|
|
1672
|
-
}
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"kind": "field",
|
|
1676
|
-
"name": "connect",
|
|
1677
|
-
"type": {
|
|
1678
|
-
"text": "Connect"
|
|
1679
|
-
}
|
|
1405
|
+
"parameters": [
|
|
1406
|
+
{
|
|
1407
|
+
"name": "sharedWorkspace",
|
|
1408
|
+
"type": {
|
|
1409
|
+
"text": "SharedWorkspace"
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
]
|
|
1680
1413
|
},
|
|
1681
1414
|
{
|
|
1682
|
-
"kind": "
|
|
1683
|
-
"name": "
|
|
1684
|
-
"
|
|
1685
|
-
"
|
|
1686
|
-
|
|
1415
|
+
"kind": "method",
|
|
1416
|
+
"name": "shareExistingWorkspace",
|
|
1417
|
+
"return": {
|
|
1418
|
+
"type": {
|
|
1419
|
+
"text": "Promise<void>"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "workspaceName",
|
|
1425
|
+
"type": {
|
|
1426
|
+
"text": "string"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
]
|
|
1687
1430
|
},
|
|
1688
1431
|
{
|
|
1689
|
-
"kind": "
|
|
1690
|
-
"name": "
|
|
1691
|
-
"
|
|
1692
|
-
"
|
|
1432
|
+
"kind": "method",
|
|
1433
|
+
"name": "openSaveDialog",
|
|
1434
|
+
"return": {
|
|
1435
|
+
"type": {
|
|
1436
|
+
"text": "Promise<void>"
|
|
1437
|
+
}
|
|
1693
1438
|
}
|
|
1694
1439
|
},
|
|
1695
1440
|
{
|
|
1696
|
-
"kind": "
|
|
1697
|
-
"name": "
|
|
1698
|
-
"
|
|
1699
|
-
"
|
|
1441
|
+
"kind": "method",
|
|
1442
|
+
"name": "isWorkspaceExisting",
|
|
1443
|
+
"return": {
|
|
1444
|
+
"type": {
|
|
1445
|
+
"text": "boolean"
|
|
1446
|
+
}
|
|
1700
1447
|
},
|
|
1701
|
-
"
|
|
1702
|
-
|
|
1703
|
-
|
|
1448
|
+
"parameters": [
|
|
1449
|
+
{
|
|
1450
|
+
"name": "workspaceName",
|
|
1451
|
+
"type": {
|
|
1452
|
+
"text": "string"
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
]
|
|
1704
1456
|
},
|
|
1705
1457
|
{
|
|
1706
1458
|
"kind": "method",
|
|
1707
|
-
"name": "
|
|
1708
|
-
"privacy": "private",
|
|
1459
|
+
"name": "saveModeChanged",
|
|
1709
1460
|
"return": {
|
|
1710
1461
|
"type": {
|
|
1711
|
-
"text": "
|
|
1462
|
+
"text": "void"
|
|
1712
1463
|
}
|
|
1713
1464
|
},
|
|
1714
1465
|
"parameters": [
|
|
1715
1466
|
{
|
|
1716
|
-
"name": "
|
|
1467
|
+
"name": "oldValue",
|
|
1468
|
+
"type": {
|
|
1469
|
+
"text": "string"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"name": "newValue",
|
|
1717
1474
|
"type": {
|
|
1718
1475
|
"text": "string"
|
|
1719
1476
|
}
|
|
@@ -1722,7 +1479,7 @@
|
|
|
1722
1479
|
},
|
|
1723
1480
|
{
|
|
1724
1481
|
"kind": "method",
|
|
1725
|
-
"name": "
|
|
1482
|
+
"name": "selectedWorkspaceToOverwriteChanged",
|
|
1726
1483
|
"return": {
|
|
1727
1484
|
"type": {
|
|
1728
1485
|
"text": "void"
|
|
@@ -1730,7 +1487,13 @@
|
|
|
1730
1487
|
},
|
|
1731
1488
|
"parameters": [
|
|
1732
1489
|
{
|
|
1733
|
-
"name": "
|
|
1490
|
+
"name": "oldValue",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "string"
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"name": "newValue",
|
|
1734
1497
|
"type": {
|
|
1735
1498
|
"text": "string"
|
|
1736
1499
|
}
|
|
@@ -1739,200 +1502,299 @@
|
|
|
1739
1502
|
},
|
|
1740
1503
|
{
|
|
1741
1504
|
"kind": "method",
|
|
1742
|
-
"name": "
|
|
1505
|
+
"name": "openLoadDialog",
|
|
1506
|
+
"return": {
|
|
1507
|
+
"type": {
|
|
1508
|
+
"text": "void"
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"kind": "method",
|
|
1514
|
+
"name": "closeSaveDialog",
|
|
1515
|
+
"return": {
|
|
1516
|
+
"type": {
|
|
1517
|
+
"text": "void"
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"kind": "method",
|
|
1523
|
+
"name": "closeLoadDialog",
|
|
1524
|
+
"return": {
|
|
1525
|
+
"type": {
|
|
1526
|
+
"text": "void"
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
"kind": "field",
|
|
1532
|
+
"name": "_presentation",
|
|
1533
|
+
"type": {
|
|
1534
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1535
|
+
},
|
|
1743
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
|
+
{
|
|
1570
|
+
"kind": "method",
|
|
1571
|
+
"name": "templateChanged",
|
|
1572
|
+
"privacy": "protected",
|
|
1744
1573
|
"return": {
|
|
1745
1574
|
"type": {
|
|
1746
1575
|
"text": "void"
|
|
1747
1576
|
}
|
|
1577
|
+
},
|
|
1578
|
+
"inheritedFrom": {
|
|
1579
|
+
"name": "FoundationElement",
|
|
1580
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"kind": "field",
|
|
1585
|
+
"name": "styles",
|
|
1586
|
+
"type": {
|
|
1587
|
+
"text": "ElementStyles | void | null"
|
|
1588
|
+
},
|
|
1589
|
+
"privacy": "public",
|
|
1590
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1591
|
+
"inheritedFrom": {
|
|
1592
|
+
"name": "FoundationElement",
|
|
1593
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1748
1594
|
}
|
|
1749
1595
|
},
|
|
1750
1596
|
{
|
|
1751
1597
|
"kind": "method",
|
|
1752
|
-
"name": "
|
|
1598
|
+
"name": "stylesChanged",
|
|
1599
|
+
"privacy": "protected",
|
|
1753
1600
|
"return": {
|
|
1754
1601
|
"type": {
|
|
1755
|
-
"text": "
|
|
1602
|
+
"text": "void"
|
|
1756
1603
|
}
|
|
1604
|
+
},
|
|
1605
|
+
"inheritedFrom": {
|
|
1606
|
+
"name": "FoundationElement",
|
|
1607
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1757
1608
|
}
|
|
1758
1609
|
},
|
|
1759
1610
|
{
|
|
1760
1611
|
"kind": "method",
|
|
1761
|
-
"name": "
|
|
1612
|
+
"name": "compose",
|
|
1613
|
+
"privacy": "public",
|
|
1614
|
+
"static": true,
|
|
1762
1615
|
"return": {
|
|
1763
1616
|
"type": {
|
|
1764
|
-
"text": "
|
|
1617
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"parameters": [
|
|
1621
|
+
{
|
|
1622
|
+
"name": "this",
|
|
1623
|
+
"type": {
|
|
1624
|
+
"text": "K"
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "elementDefinition",
|
|
1629
|
+
"type": {
|
|
1630
|
+
"text": "T"
|
|
1631
|
+
},
|
|
1632
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1765
1633
|
}
|
|
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
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
],
|
|
1642
|
+
"superclass": {
|
|
1643
|
+
"name": "FoundationElement",
|
|
1644
|
+
"package": "@genesislcap/web-core"
|
|
1645
|
+
},
|
|
1646
|
+
"tagName": "workspace-manager",
|
|
1647
|
+
"customElement": true
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"exports": [
|
|
1651
|
+
{
|
|
1652
|
+
"kind": "js",
|
|
1653
|
+
"name": "WorkspaceManager",
|
|
1654
|
+
"declaration": {
|
|
1655
|
+
"name": "WorkspaceManager",
|
|
1656
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
1657
|
+
}
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"kind": "custom-element-definition",
|
|
1661
|
+
"name": "workspace-manager",
|
|
1662
|
+
"declaration": {
|
|
1663
|
+
"name": "WorkspaceManager",
|
|
1664
|
+
"module": "src/workspace-manager/workspace-manager.ts"
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
]
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "javascript-module",
|
|
1671
|
+
"path": "src/workspace/grid-register/grid-register.template.ts",
|
|
1672
|
+
"declarations": [
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "variable",
|
|
1675
|
+
"name": "GridRegisterTemplate",
|
|
1676
|
+
"type": {
|
|
1677
|
+
"text": "ViewTemplate<GridRegister>"
|
|
1678
|
+
},
|
|
1679
|
+
"default": "html`\n <slot></slot>\n`"
|
|
1680
|
+
}
|
|
1681
|
+
],
|
|
1682
|
+
"exports": [
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "js",
|
|
1685
|
+
"name": "GridRegisterTemplate",
|
|
1686
|
+
"declaration": {
|
|
1687
|
+
"name": "GridRegisterTemplate",
|
|
1688
|
+
"module": "src/workspace/grid-register/grid-register.template.ts"
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"kind": "javascript-module",
|
|
1695
|
+
"path": "src/workspace/grid-register/grid-register.ts",
|
|
1696
|
+
"declarations": [
|
|
1697
|
+
{
|
|
1698
|
+
"kind": "class",
|
|
1699
|
+
"description": "Registers an AG Grid instance so workspace state can apply/load it.",
|
|
1700
|
+
"name": "GridRegister",
|
|
1701
|
+
"members": [
|
|
1702
|
+
{
|
|
1703
|
+
"kind": "field",
|
|
1704
|
+
"name": "gridKey",
|
|
1705
|
+
"type": {
|
|
1706
|
+
"text": "string"
|
|
1766
1707
|
}
|
|
1767
1708
|
},
|
|
1768
1709
|
{
|
|
1769
|
-
"kind": "
|
|
1770
|
-
"name": "
|
|
1771
|
-
"
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
"
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
]
|
|
1710
|
+
"kind": "field",
|
|
1711
|
+
"name": "designSystemPrefix",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "string"
|
|
1714
|
+
},
|
|
1715
|
+
"default": "'rapid'"
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
"kind": "field",
|
|
1719
|
+
"name": "gridRegistry",
|
|
1720
|
+
"type": {
|
|
1721
|
+
"text": "GridRegistry"
|
|
1722
|
+
}
|
|
1783
1723
|
},
|
|
1784
1724
|
{
|
|
1785
|
-
"kind": "
|
|
1786
|
-
"name": "
|
|
1787
|
-
"
|
|
1788
|
-
"
|
|
1789
|
-
"text": "Promise<void>"
|
|
1790
|
-
}
|
|
1725
|
+
"kind": "field",
|
|
1726
|
+
"name": "workspaceState",
|
|
1727
|
+
"type": {
|
|
1728
|
+
"text": "WorkspaceState"
|
|
1791
1729
|
}
|
|
1792
1730
|
},
|
|
1793
1731
|
{
|
|
1794
|
-
"kind": "
|
|
1795
|
-
"name": "
|
|
1796
|
-
"
|
|
1797
|
-
|
|
1798
|
-
"type": {
|
|
1799
|
-
"text": "Promise<void>"
|
|
1800
|
-
}
|
|
1732
|
+
"kind": "field",
|
|
1733
|
+
"name": "gridElement",
|
|
1734
|
+
"type": {
|
|
1735
|
+
"text": "GridPro | null"
|
|
1801
1736
|
},
|
|
1802
|
-
"
|
|
1803
|
-
|
|
1804
|
-
"name": "workspace",
|
|
1805
|
-
"type": {
|
|
1806
|
-
"text": "SavedWorkspace"
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
]
|
|
1737
|
+
"privacy": "private",
|
|
1738
|
+
"default": "null"
|
|
1810
1739
|
},
|
|
1811
1740
|
{
|
|
1812
|
-
"kind": "
|
|
1813
|
-
"name": "
|
|
1814
|
-
"
|
|
1815
|
-
"
|
|
1816
|
-
"text": "Promise<void>"
|
|
1817
|
-
}
|
|
1741
|
+
"kind": "field",
|
|
1742
|
+
"name": "gridApi",
|
|
1743
|
+
"type": {
|
|
1744
|
+
"text": "GridApi | null"
|
|
1818
1745
|
},
|
|
1819
|
-
"
|
|
1820
|
-
|
|
1821
|
-
"name": "workspaceName",
|
|
1822
|
-
"type": {
|
|
1823
|
-
"text": "string"
|
|
1824
|
-
}
|
|
1825
|
-
}
|
|
1826
|
-
]
|
|
1746
|
+
"privacy": "private",
|
|
1747
|
+
"default": "null"
|
|
1827
1748
|
},
|
|
1828
1749
|
{
|
|
1829
|
-
"kind": "
|
|
1830
|
-
"name": "
|
|
1831
|
-
"
|
|
1832
|
-
|
|
1833
|
-
"type": {
|
|
1834
|
-
"text": "Promise<any[]>"
|
|
1835
|
-
}
|
|
1750
|
+
"kind": "field",
|
|
1751
|
+
"name": "columnApi",
|
|
1752
|
+
"type": {
|
|
1753
|
+
"text": "ColumnApi | null"
|
|
1836
1754
|
},
|
|
1837
|
-
"
|
|
1838
|
-
|
|
1839
|
-
"name": "SHARED_WORKSPACE_ID",
|
|
1840
|
-
"type": {
|
|
1841
|
-
"text": "string"
|
|
1842
|
-
}
|
|
1843
|
-
}
|
|
1844
|
-
]
|
|
1755
|
+
"privacy": "private",
|
|
1756
|
+
"default": "null"
|
|
1845
1757
|
},
|
|
1846
1758
|
{
|
|
1847
1759
|
"kind": "method",
|
|
1848
|
-
"name": "
|
|
1760
|
+
"name": "findAndRegisterGrid",
|
|
1761
|
+
"privacy": "private",
|
|
1849
1762
|
"return": {
|
|
1850
1763
|
"type": {
|
|
1851
|
-
"text": "
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
"parameters": [
|
|
1855
|
-
{
|
|
1856
|
-
"name": "shared",
|
|
1857
|
-
"type": {
|
|
1858
|
-
"text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
|
|
1859
|
-
}
|
|
1764
|
+
"text": "void"
|
|
1860
1765
|
}
|
|
1861
|
-
|
|
1766
|
+
}
|
|
1862
1767
|
},
|
|
1863
1768
|
{
|
|
1864
|
-
"kind": "
|
|
1865
|
-
"name": "
|
|
1866
|
-
"
|
|
1867
|
-
|
|
1868
|
-
"text": "Promise<void>"
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
"parameters": [
|
|
1872
|
-
{
|
|
1873
|
-
"name": "workspaceName",
|
|
1874
|
-
"type": {
|
|
1875
|
-
"text": "string"
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
]
|
|
1769
|
+
"kind": "field",
|
|
1770
|
+
"name": "handleGridReady",
|
|
1771
|
+
"privacy": "private",
|
|
1772
|
+
"readonly": true
|
|
1879
1773
|
},
|
|
1880
1774
|
{
|
|
1881
1775
|
"kind": "method",
|
|
1882
|
-
"name": "
|
|
1776
|
+
"name": "attachToGridApis",
|
|
1883
1777
|
"privacy": "private",
|
|
1884
1778
|
"return": {
|
|
1885
1779
|
"type": {
|
|
1886
1780
|
"text": "void"
|
|
1887
1781
|
}
|
|
1888
|
-
}
|
|
1889
|
-
"parameters": [
|
|
1890
|
-
{
|
|
1891
|
-
"name": "title",
|
|
1892
|
-
"type": {
|
|
1893
|
-
"text": "string"
|
|
1894
|
-
}
|
|
1895
|
-
},
|
|
1896
|
-
{
|
|
1897
|
-
"name": "body",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "string"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"name": "actionFunction",
|
|
1904
|
-
"type": {
|
|
1905
|
-
"text": "() => void"
|
|
1906
|
-
}
|
|
1907
|
-
},
|
|
1908
|
-
{
|
|
1909
|
-
"name": "dialogBoundary",
|
|
1910
|
-
"type": {
|
|
1911
|
-
"text": "HTMLElement"
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
]
|
|
1782
|
+
}
|
|
1915
1783
|
},
|
|
1916
1784
|
{
|
|
1917
1785
|
"kind": "method",
|
|
1918
|
-
"name": "
|
|
1786
|
+
"name": "detachFromGridApis",
|
|
1787
|
+
"privacy": "private",
|
|
1919
1788
|
"return": {
|
|
1920
1789
|
"type": {
|
|
1921
1790
|
"text": "void"
|
|
1922
1791
|
}
|
|
1923
|
-
}
|
|
1924
|
-
"parameters": [
|
|
1925
|
-
{
|
|
1926
|
-
"name": "workspaceName",
|
|
1927
|
-
"type": {
|
|
1928
|
-
"text": "string"
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
]
|
|
1792
|
+
}
|
|
1932
1793
|
},
|
|
1933
1794
|
{
|
|
1934
1795
|
"kind": "method",
|
|
1935
|
-
"name": "
|
|
1796
|
+
"name": "loadWorkspaceSettings",
|
|
1797
|
+
"privacy": "private",
|
|
1936
1798
|
"return": {
|
|
1937
1799
|
"type": {
|
|
1938
1800
|
"text": "Promise<void>"
|
|
@@ -1940,157 +1802,278 @@
|
|
|
1940
1802
|
},
|
|
1941
1803
|
"parameters": [
|
|
1942
1804
|
{
|
|
1943
|
-
"name": "
|
|
1805
|
+
"name": "options",
|
|
1806
|
+
"optional": true,
|
|
1944
1807
|
"type": {
|
|
1945
|
-
"text": "
|
|
1808
|
+
"text": "{ applyColumns?: boolean }"
|
|
1946
1809
|
}
|
|
1947
1810
|
}
|
|
1948
1811
|
]
|
|
1949
1812
|
},
|
|
1950
1813
|
{
|
|
1951
1814
|
"kind": "method",
|
|
1952
|
-
"name": "
|
|
1815
|
+
"name": "loadWorkspaceColumnState",
|
|
1816
|
+
"privacy": "private",
|
|
1953
1817
|
"return": {
|
|
1954
1818
|
"type": {
|
|
1955
1819
|
"text": "Promise<void>"
|
|
1956
1820
|
}
|
|
1957
|
-
}
|
|
1958
|
-
"parameters": [
|
|
1959
|
-
{
|
|
1960
|
-
"name": "sharedWorkspace",
|
|
1961
|
-
"type": {
|
|
1962
|
-
"text": "SharedWorkspace"
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
]
|
|
1821
|
+
}
|
|
1966
1822
|
},
|
|
1967
1823
|
{
|
|
1968
|
-
"kind": "
|
|
1969
|
-
"name": "
|
|
1970
|
-
"
|
|
1971
|
-
"
|
|
1972
|
-
"text": "void"
|
|
1973
|
-
}
|
|
1824
|
+
"kind": "field",
|
|
1825
|
+
"name": "_presentation",
|
|
1826
|
+
"type": {
|
|
1827
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1974
1828
|
},
|
|
1975
|
-
"
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
}
|
|
1982
|
-
]
|
|
1829
|
+
"privacy": "private",
|
|
1830
|
+
"default": "void 0",
|
|
1831
|
+
"inheritedFrom": {
|
|
1832
|
+
"name": "FoundationElement",
|
|
1833
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1834
|
+
}
|
|
1983
1835
|
},
|
|
1984
1836
|
{
|
|
1985
|
-
"kind": "
|
|
1986
|
-
"name": "
|
|
1987
|
-
"
|
|
1988
|
-
"
|
|
1989
|
-
"text": "Promise<void>"
|
|
1990
|
-
}
|
|
1837
|
+
"kind": "field",
|
|
1838
|
+
"name": "$presentation",
|
|
1839
|
+
"type": {
|
|
1840
|
+
"text": "ComponentPresentation | null"
|
|
1991
1841
|
},
|
|
1992
|
-
"
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
}
|
|
1999
|
-
]
|
|
1842
|
+
"privacy": "public",
|
|
1843
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1844
|
+
"inheritedFrom": {
|
|
1845
|
+
"name": "FoundationElement",
|
|
1846
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1847
|
+
}
|
|
2000
1848
|
},
|
|
2001
1849
|
{
|
|
2002
|
-
"kind": "
|
|
2003
|
-
"name": "
|
|
2004
|
-
"
|
|
2005
|
-
"
|
|
2006
|
-
|
|
2007
|
-
|
|
1850
|
+
"kind": "field",
|
|
1851
|
+
"name": "template",
|
|
1852
|
+
"type": {
|
|
1853
|
+
"text": "ElementViewTemplate | void | null"
|
|
1854
|
+
},
|
|
1855
|
+
"privacy": "public",
|
|
1856
|
+
"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.",
|
|
1857
|
+
"inheritedFrom": {
|
|
1858
|
+
"name": "FoundationElement",
|
|
1859
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2008
1860
|
}
|
|
2009
1861
|
},
|
|
2010
1862
|
{
|
|
2011
1863
|
"kind": "method",
|
|
2012
|
-
"name": "
|
|
1864
|
+
"name": "templateChanged",
|
|
1865
|
+
"privacy": "protected",
|
|
2013
1866
|
"return": {
|
|
2014
1867
|
"type": {
|
|
2015
|
-
"text": "
|
|
1868
|
+
"text": "void"
|
|
2016
1869
|
}
|
|
2017
1870
|
},
|
|
2018
|
-
"
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
1871
|
+
"inheritedFrom": {
|
|
1872
|
+
"name": "FoundationElement",
|
|
1873
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"kind": "field",
|
|
1878
|
+
"name": "styles",
|
|
1879
|
+
"type": {
|
|
1880
|
+
"text": "ElementStyles | void | null"
|
|
1881
|
+
},
|
|
1882
|
+
"privacy": "public",
|
|
1883
|
+
"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.",
|
|
1884
|
+
"inheritedFrom": {
|
|
1885
|
+
"name": "FoundationElement",
|
|
1886
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1887
|
+
}
|
|
2026
1888
|
},
|
|
2027
1889
|
{
|
|
2028
1890
|
"kind": "method",
|
|
2029
|
-
"name": "
|
|
1891
|
+
"name": "stylesChanged",
|
|
1892
|
+
"privacy": "protected",
|
|
2030
1893
|
"return": {
|
|
2031
1894
|
"type": {
|
|
2032
1895
|
"text": "void"
|
|
2033
1896
|
}
|
|
2034
1897
|
},
|
|
2035
|
-
"
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
"text": "string"
|
|
2040
|
-
}
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
"name": "newValue",
|
|
2044
|
-
"type": {
|
|
2045
|
-
"text": "string"
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
]
|
|
1898
|
+
"inheritedFrom": {
|
|
1899
|
+
"name": "FoundationElement",
|
|
1900
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1901
|
+
}
|
|
2049
1902
|
},
|
|
2050
1903
|
{
|
|
2051
1904
|
"kind": "method",
|
|
2052
|
-
"name": "
|
|
1905
|
+
"name": "compose",
|
|
1906
|
+
"privacy": "public",
|
|
1907
|
+
"static": true,
|
|
2053
1908
|
"return": {
|
|
2054
1909
|
"type": {
|
|
2055
|
-
"text": "
|
|
1910
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2056
1911
|
}
|
|
2057
1912
|
},
|
|
2058
1913
|
"parameters": [
|
|
2059
1914
|
{
|
|
2060
|
-
"name": "
|
|
1915
|
+
"name": "this",
|
|
2061
1916
|
"type": {
|
|
2062
|
-
"text": "
|
|
1917
|
+
"text": "K"
|
|
2063
1918
|
}
|
|
2064
1919
|
},
|
|
2065
1920
|
{
|
|
2066
|
-
"name": "
|
|
1921
|
+
"name": "elementDefinition",
|
|
2067
1922
|
"type": {
|
|
2068
|
-
"text": "
|
|
2069
|
-
}
|
|
1923
|
+
"text": "T"
|
|
1924
|
+
},
|
|
1925
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2070
1926
|
}
|
|
2071
|
-
]
|
|
1927
|
+
],
|
|
1928
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1929
|
+
"inheritedFrom": {
|
|
1930
|
+
"name": "FoundationElement",
|
|
1931
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
],
|
|
1935
|
+
"attributes": [
|
|
1936
|
+
{
|
|
1937
|
+
"name": "grid-key",
|
|
1938
|
+
"type": {
|
|
1939
|
+
"text": "string"
|
|
1940
|
+
},
|
|
1941
|
+
"fieldName": "gridKey"
|
|
2072
1942
|
},
|
|
2073
1943
|
{
|
|
2074
|
-
"
|
|
2075
|
-
"
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
1944
|
+
"name": "design-system-prefix",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "string"
|
|
1947
|
+
},
|
|
1948
|
+
"default": "'rapid'",
|
|
1949
|
+
"fieldName": "designSystemPrefix"
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"superclass": {
|
|
1953
|
+
"name": "FoundationElement",
|
|
1954
|
+
"package": "@genesislcap/web-core"
|
|
1955
|
+
},
|
|
1956
|
+
"tagName": "grid-register",
|
|
1957
|
+
"customElement": true
|
|
1958
|
+
}
|
|
1959
|
+
],
|
|
1960
|
+
"exports": [
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "js",
|
|
1963
|
+
"name": "GridRegister",
|
|
1964
|
+
"declaration": {
|
|
1965
|
+
"name": "GridRegister",
|
|
1966
|
+
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "custom-element-definition",
|
|
1971
|
+
"name": "grid-register",
|
|
1972
|
+
"declaration": {
|
|
1973
|
+
"name": "GridRegister",
|
|
1974
|
+
"module": "src/workspace/grid-register/grid-register.ts"
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
]
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"kind": "javascript-module",
|
|
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",
|
|
2012
|
+
"declarations": [
|
|
2013
|
+
{
|
|
2014
|
+
"kind": "variable",
|
|
2015
|
+
"name": "LayoutWrapperTemplate",
|
|
2016
|
+
"type": {
|
|
2017
|
+
"text": "ViewTemplate<LayoutWrapper>"
|
|
2018
|
+
},
|
|
2019
|
+
"default": "html`\n <slot></slot>\n`"
|
|
2020
|
+
}
|
|
2021
|
+
],
|
|
2022
|
+
"exports": [
|
|
2023
|
+
{
|
|
2024
|
+
"kind": "js",
|
|
2025
|
+
"name": "LayoutWrapperTemplate",
|
|
2026
|
+
"declaration": {
|
|
2027
|
+
"name": "LayoutWrapperTemplate",
|
|
2028
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.template.ts"
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
]
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"kind": "javascript-module",
|
|
2035
|
+
"path": "src/workspace/layout-wrapper/layout-wrapper.ts",
|
|
2036
|
+
"declarations": [
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "class",
|
|
2039
|
+
"description": "Registers a layout instance so workspace state can apply/load it.",
|
|
2040
|
+
"name": "LayoutWrapper",
|
|
2041
|
+
"members": [
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "field",
|
|
2044
|
+
"name": "layoutKey",
|
|
2045
|
+
"type": {
|
|
2046
|
+
"text": "string"
|
|
2080
2047
|
}
|
|
2081
2048
|
},
|
|
2082
2049
|
{
|
|
2083
|
-
"kind": "
|
|
2084
|
-
"name": "
|
|
2085
|
-
"
|
|
2086
|
-
"
|
|
2087
|
-
|
|
2088
|
-
|
|
2050
|
+
"kind": "field",
|
|
2051
|
+
"name": "designSystemPrefix",
|
|
2052
|
+
"type": {
|
|
2053
|
+
"text": "string"
|
|
2054
|
+
},
|
|
2055
|
+
"default": "'rapid'"
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"kind": "field",
|
|
2059
|
+
"name": "layoutRegistry",
|
|
2060
|
+
"type": {
|
|
2061
|
+
"text": "LayoutRegistry"
|
|
2089
2062
|
}
|
|
2090
2063
|
},
|
|
2064
|
+
{
|
|
2065
|
+
"kind": "field",
|
|
2066
|
+
"name": "layoutElement",
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "FoundationLayout | null"
|
|
2069
|
+
},
|
|
2070
|
+
"privacy": "private",
|
|
2071
|
+
"default": "null"
|
|
2072
|
+
},
|
|
2091
2073
|
{
|
|
2092
2074
|
"kind": "method",
|
|
2093
|
-
"name": "
|
|
2075
|
+
"name": "findAndRegisterLayout",
|
|
2076
|
+
"privacy": "private",
|
|
2094
2077
|
"return": {
|
|
2095
2078
|
"type": {
|
|
2096
2079
|
"text": "void"
|
|
@@ -2209,29 +2192,46 @@
|
|
|
2209
2192
|
}
|
|
2210
2193
|
}
|
|
2211
2194
|
],
|
|
2195
|
+
"attributes": [
|
|
2196
|
+
{
|
|
2197
|
+
"name": "layout-key",
|
|
2198
|
+
"type": {
|
|
2199
|
+
"text": "string"
|
|
2200
|
+
},
|
|
2201
|
+
"fieldName": "layoutKey"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"name": "design-system-prefix",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"default": "'rapid'",
|
|
2209
|
+
"fieldName": "designSystemPrefix"
|
|
2210
|
+
}
|
|
2211
|
+
],
|
|
2212
2212
|
"superclass": {
|
|
2213
2213
|
"name": "FoundationElement",
|
|
2214
2214
|
"package": "@genesislcap/web-core"
|
|
2215
2215
|
},
|
|
2216
|
-
"tagName": "
|
|
2216
|
+
"tagName": "layout-register",
|
|
2217
2217
|
"customElement": true
|
|
2218
2218
|
}
|
|
2219
2219
|
],
|
|
2220
2220
|
"exports": [
|
|
2221
2221
|
{
|
|
2222
2222
|
"kind": "js",
|
|
2223
|
-
"name": "
|
|
2223
|
+
"name": "LayoutWrapper",
|
|
2224
2224
|
"declaration": {
|
|
2225
|
-
"name": "
|
|
2226
|
-
"module": "src/workspace-
|
|
2225
|
+
"name": "LayoutWrapper",
|
|
2226
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
2227
2227
|
}
|
|
2228
2228
|
},
|
|
2229
2229
|
{
|
|
2230
2230
|
"kind": "custom-element-definition",
|
|
2231
|
-
"name": "
|
|
2231
|
+
"name": "layout-register",
|
|
2232
2232
|
"declaration": {
|
|
2233
|
-
"name": "
|
|
2234
|
-
"module": "src/workspace-
|
|
2233
|
+
"name": "LayoutWrapper",
|
|
2234
|
+
"module": "src/workspace/layout-wrapper/layout-wrapper.ts"
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
2237
|
]
|