@genesislcap/foundation-entity-management 14.92.2 → 14.92.3-beta.a19c58d.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,41 +87,6 @@
87
87
  }
88
88
  ]
89
89
  },
90
- {
91
- "kind": "javascript-module",
92
- "path": "src/components/components.ts",
93
- "declarations": [
94
- {
95
- "kind": "function",
96
- "name": "loadRemotes"
97
- }
98
- ],
99
- "exports": [
100
- {
101
- "kind": "js",
102
- "name": "loadRemotes",
103
- "declaration": {
104
- "name": "loadRemotes",
105
- "module": "src/components/components.ts"
106
- }
107
- }
108
- ]
109
- },
110
- {
111
- "kind": "javascript-module",
112
- "path": "src/components/index.ts",
113
- "declarations": [],
114
- "exports": [
115
- {
116
- "kind": "js",
117
- "name": "*",
118
- "declaration": {
119
- "name": "*",
120
- "package": "./components"
121
- }
122
- }
123
- ]
124
- },
125
90
  {
126
91
  "kind": "javascript-module",
127
92
  "path": "src/entities/entities.styles.ts",
@@ -777,6 +742,41 @@
777
742
  }
778
743
  ]
779
744
  },
745
+ {
746
+ "kind": "javascript-module",
747
+ "path": "src/components/components.ts",
748
+ "declarations": [
749
+ {
750
+ "kind": "function",
751
+ "name": "loadRemotes"
752
+ }
753
+ ],
754
+ "exports": [
755
+ {
756
+ "kind": "js",
757
+ "name": "loadRemotes",
758
+ "declaration": {
759
+ "name": "loadRemotes",
760
+ "module": "src/components/components.ts"
761
+ }
762
+ }
763
+ ]
764
+ },
765
+ {
766
+ "kind": "javascript-module",
767
+ "path": "src/components/index.ts",
768
+ "declarations": [],
769
+ "exports": [
770
+ {
771
+ "kind": "js",
772
+ "name": "*",
773
+ "declaration": {
774
+ "name": "*",
775
+ "package": "./components"
776
+ }
777
+ }
778
+ ]
779
+ },
780
780
  {
781
781
  "kind": "javascript-module",
782
782
  "path": "src/layouts/default.ts",
@@ -828,7 +828,7 @@
828
828
  },
829
829
  {
830
830
  "kind": "javascript-module",
831
- "path": "src/main/index.ts",
831
+ "path": "src/list/index.ts",
832
832
  "declarations": [],
833
833
  "exports": [
834
834
  {
@@ -836,93 +836,102 @@
836
836
  "name": "*",
837
837
  "declaration": {
838
838
  "name": "*",
839
- "package": "./main.template"
839
+ "package": "./list"
840
840
  }
841
- },
841
+ }
842
+ ]
843
+ },
844
+ {
845
+ "kind": "javascript-module",
846
+ "path": "src/list/list.styles.ts",
847
+ "declarations": [
848
+ {
849
+ "kind": "variable",
850
+ "name": "listStyles",
851
+ "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
852
+ }
853
+ ],
854
+ "exports": [
842
855
  {
843
856
  "kind": "js",
844
- "name": "*",
857
+ "name": "listStyles",
845
858
  "declaration": {
846
- "name": "*",
847
- "package": "./main"
859
+ "name": "listStyles",
860
+ "module": "src/list/list.styles.ts"
848
861
  }
849
862
  }
850
863
  ]
851
864
  },
852
865
  {
853
866
  "kind": "javascript-module",
854
- "path": "src/main/main.styles.ts",
867
+ "path": "src/list/list.template.ts",
855
868
  "declarations": [
856
869
  {
857
870
  "kind": "variable",
858
- "name": "MainStyles",
859
- "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
871
+ "name": "listTemplate",
872
+ "default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
860
873
  }
861
874
  ],
862
875
  "exports": [
863
876
  {
864
877
  "kind": "js",
865
- "name": "MainStyles",
878
+ "name": "listTemplate",
866
879
  "declaration": {
867
- "name": "MainStyles",
868
- "module": "src/main/main.styles.ts"
880
+ "name": "listTemplate",
881
+ "module": "src/list/list.template.ts"
869
882
  }
870
883
  }
871
884
  ]
872
885
  },
873
886
  {
874
887
  "kind": "javascript-module",
875
- "path": "src/main/main.template.ts",
876
- "declarations": [],
877
- "exports": []
878
- },
879
- {
880
- "kind": "javascript-module",
881
- "path": "src/main/main.ts",
888
+ "path": "src/list/list.ts",
882
889
  "declarations": [
883
890
  {
884
891
  "kind": "class",
885
892
  "description": "",
886
- "name": "MainApplication",
893
+ "name": "List",
887
894
  "members": [
888
895
  {
889
896
  "kind": "field",
890
- "name": "config",
897
+ "name": "resourceName",
891
898
  "type": {
892
- "text": "MainRouterConfig"
893
- }
899
+ "text": "string"
900
+ },
901
+ "default": "''"
894
902
  },
895
903
  {
896
904
  "kind": "field",
897
- "name": "connect",
905
+ "name": "title",
898
906
  "type": {
899
- "text": "Connect"
900
- }
907
+ "text": "string"
908
+ },
909
+ "default": "''"
901
910
  },
902
911
  {
903
912
  "kind": "field",
904
- "name": "session",
913
+ "name": "persistColumnStateKey",
905
914
  "type": {
906
- "text": "Session"
915
+ "text": "string"
907
916
  }
908
917
  },
909
918
  {
910
919
  "kind": "field",
911
- "name": "container",
920
+ "name": "sizeColumnsToFit",
912
921
  "type": {
913
- "text": "Container"
922
+ "text": "boolean"
914
923
  }
915
924
  },
916
925
  {
917
926
  "kind": "field",
918
- "name": "provider",
927
+ "name": "enableFilterBar",
919
928
  "type": {
920
- "text": "any"
929
+ "text": "boolean"
921
930
  }
922
931
  },
923
932
  {
924
933
  "kind": "field",
925
- "name": "ready",
934
+ "name": "asyncAdd",
926
935
  "type": {
927
936
  "text": "boolean"
928
937
  },
@@ -930,1062 +939,894 @@
930
939
  },
931
940
  {
932
941
  "kind": "field",
933
- "name": "data",
942
+ "name": "asyncRemove",
934
943
  "type": {
935
- "text": "any"
944
+ "text": "boolean"
936
945
  },
937
- "default": "null"
946
+ "default": "false"
938
947
  },
939
948
  {
940
- "kind": "method",
941
- "name": "onLuminanceToggle"
949
+ "kind": "field",
950
+ "name": "asyncUpdate",
951
+ "type": {
952
+ "text": "boolean"
953
+ },
954
+ "default": "true"
942
955
  },
943
956
  {
944
- "kind": "method",
945
- "name": "loadRemotes"
957
+ "kind": "field",
958
+ "name": "enableCellFlashing",
959
+ "type": {
960
+ "text": "boolean"
961
+ },
962
+ "default": "false"
946
963
  },
947
964
  {
948
- "kind": "method",
949
- "name": "selectTemplate"
965
+ "kind": "field",
966
+ "name": "enableRowFlashing",
967
+ "type": {
968
+ "text": "boolean"
969
+ },
970
+ "default": "false"
950
971
  },
951
972
  {
952
- "kind": "method",
953
- "name": "registerDIDependencies",
954
- "privacy": "private"
955
- }
956
- ],
957
- "superclass": {
958
- "name": "FASTElement",
959
- "package": "@microsoft/fast-element"
960
- },
961
- "customElement": true
962
- }
963
- ],
964
- "exports": [
965
- {
966
- "kind": "js",
967
- "name": "MainApplication",
968
- "declaration": {
969
- "name": "MainApplication",
970
- "module": "src/main/main.ts"
971
- }
972
- },
973
- {
974
- "kind": "custom-element-definition",
975
- "declaration": {
976
- "name": "MainApplication",
977
- "module": "src/main/main.ts"
978
- }
979
- }
980
- ]
981
- },
982
- {
983
- "kind": "javascript-module",
984
- "path": "src/profiles/editProfileSchema.ts",
985
- "declarations": [
986
- {
987
- "kind": "variable",
988
- "name": "editProfileFormSchema",
989
- "type": {
990
- "text": "object"
991
- },
992
- "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
993
- }
994
- ],
995
- "exports": [
996
- {
997
- "kind": "js",
998
- "name": "editProfileFormSchema",
999
- "declaration": {
1000
- "name": "editProfileFormSchema",
1001
- "module": "src/profiles/editProfileSchema.ts"
1002
- }
1003
- }
1004
- ]
1005
- },
1006
- {
1007
- "kind": "javascript-module",
1008
- "path": "src/profiles/profiles.ts",
1009
- "declarations": [
1010
- {
1011
- "kind": "class",
1012
- "description": "Main class which defined the profile management functionality",
1013
- "name": "Profiles",
1014
- "members": [
1015
- {
1016
- "kind": "method",
1017
- "name": "readProfileData",
1018
- "privacy": "public",
1019
- "parameters": [
1020
- {
1021
- "name": "profile"
1022
- }
1023
- ]
1024
- },
1025
- {
1026
- "kind": "method",
1027
- "name": "confirmDelete",
1028
- "inheritedFrom": {
1029
- "name": "EntityManagement",
1030
- "module": "src/entities/entities.ts"
1031
- }
973
+ "kind": "field",
974
+ "name": "hideEdit",
975
+ "type": {
976
+ "text": "boolean"
977
+ },
978
+ "default": "false"
1032
979
  },
1033
980
  {
1034
981
  "kind": "field",
1035
- "name": "createEvent",
982
+ "name": "hideDelete",
1036
983
  "type": {
1037
- "text": "string"
984
+ "text": "boolean"
1038
985
  },
1039
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1040
- "privacy": "public",
1041
- "inheritedFrom": {
1042
- "name": "EntityManagement",
1043
- "module": "src/entities/entities.ts"
1044
- }
986
+ "default": "false"
1045
987
  },
1046
988
  {
1047
989
  "kind": "field",
1048
- "name": "deleteEvent",
990
+ "name": "grid",
1049
991
  "type": {
1050
- "text": "string"
992
+ "text": "ZeroGridPro"
1051
993
  },
1052
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1053
- "privacy": "public",
1054
- "inheritedFrom": {
1055
- "name": "EntityManagement",
1056
- "module": "src/entities/entities.ts"
1057
- }
994
+ "privacy": "public"
1058
995
  },
1059
996
  {
1060
997
  "kind": "field",
1061
- "name": "updateEvent",
998
+ "name": "datasource",
1062
999
  "type": {
1063
- "text": "string"
1000
+ "text": "GridProGenesisDatasource"
1064
1001
  },
1065
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1066
- "privacy": "public",
1067
- "inheritedFrom": {
1068
- "name": "EntityManagement",
1069
- "module": "src/entities/entities.ts"
1070
- }
1002
+ "privacy": "public"
1071
1003
  },
1072
1004
  {
1073
1005
  "kind": "field",
1074
- "name": "persistColumnStateKey",
1006
+ "name": "gridOptions",
1075
1007
  "type": {
1076
- "text": "string"
1077
- },
1078
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1079
- "privacy": "public",
1080
- "default": "'entity_profiles_management'",
1081
- "inheritedFrom": {
1082
- "name": "EntityManagement",
1083
- "module": "src/entities/entities.ts"
1008
+ "text": "GridOptions"
1084
1009
  }
1085
1010
  },
1086
1011
  {
1087
1012
  "kind": "field",
1088
- "name": "updateFormUiSchema",
1013
+ "name": "columns",
1089
1014
  "type": {
1090
- "text": "any"
1091
- },
1092
- "default": "editProfileFormSchema",
1093
- "inheritedFrom": {
1094
- "name": "EntityManagement",
1095
- "module": "src/entities/entities.ts"
1015
+ "text": "ColDef[]"
1096
1016
  }
1097
1017
  },
1098
1018
  {
1099
1019
  "kind": "field",
1100
- "name": "createFormUiSchema",
1020
+ "name": "datasourceConfig",
1101
1021
  "type": {
1102
- "text": "any"
1103
- },
1104
- "default": "editProfileFormSchema",
1105
- "inheritedFrom": {
1106
- "name": "EntityManagement",
1107
- "module": "src/entities/entities.ts"
1022
+ "text": "DatasourceConfiguration"
1108
1023
  }
1109
1024
  },
1110
1025
  {
1111
1026
  "kind": "field",
1112
- "name": "readEventFn",
1027
+ "name": "actionButtonsConfig",
1113
1028
  "type": {
1114
- "text": "(...args) => {}"
1029
+ "text": "array"
1115
1030
  },
1116
- "inheritedFrom": {
1117
- "name": "EntityManagement",
1118
- "module": "src/entities/entities.ts"
1119
- }
1031
+ "default": "[]"
1120
1032
  },
1121
1033
  {
1122
1034
  "kind": "field",
1123
- "name": "resourceName",
1035
+ "name": "deleteEvent",
1124
1036
  "type": {
1125
1037
  "text": "string"
1126
- },
1127
- "description": "Name of the backend resource which contain the entities to manage",
1128
- "privacy": "public",
1129
- "default": "'ALL_PROFILES'",
1130
- "inheritedFrom": {
1131
- "name": "EntityManagement",
1132
- "module": "src/entities/entities.ts"
1133
1038
  }
1134
1039
  },
1135
1040
  {
1136
1041
  "kind": "field",
1137
- "name": "title",
1042
+ "name": "updateEvent",
1138
1043
  "type": {
1139
1044
  "text": "string"
1140
- },
1141
- "description": "Title of the grid",
1142
- "privacy": "public",
1143
- "default": "'Profile Management'",
1144
- "inheritedFrom": {
1145
- "name": "EntityManagement",
1146
- "module": "src/entities/entities.ts"
1147
1045
  }
1148
1046
  },
1047
+ {
1048
+ "kind": "method",
1049
+ "name": "handleFilterChanged",
1050
+ "privacy": "private",
1051
+ "parameters": [
1052
+ {
1053
+ "name": "e"
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "kind": "method",
1059
+ "name": "handleFilterCleared",
1060
+ "privacy": "private",
1061
+ "parameters": [
1062
+ {
1063
+ "name": "e"
1064
+ }
1065
+ ]
1066
+ },
1067
+ {
1068
+ "kind": "method",
1069
+ "name": "select",
1070
+ "privacy": "private",
1071
+ "parameters": [
1072
+ {
1073
+ "name": "e"
1074
+ }
1075
+ ]
1076
+ },
1149
1077
  {
1150
1078
  "kind": "field",
1151
- "name": "entityLabel",
1079
+ "name": "edit",
1080
+ "privacy": "private"
1081
+ },
1082
+ {
1083
+ "kind": "method",
1084
+ "name": "delete",
1085
+ "parameters": [
1086
+ {
1087
+ "name": "e"
1088
+ }
1089
+ ]
1090
+ }
1091
+ ],
1092
+ "attributes": [
1093
+ {
1094
+ "name": "resourceName",
1152
1095
  "type": {
1153
1096
  "text": "string"
1154
1097
  },
1155
- "default": "'Profile'",
1156
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1157
- "privacy": "public",
1158
- "inheritedFrom": {
1159
- "name": "EntityManagement",
1160
- "module": "src/entities/entities.ts"
1161
- }
1098
+ "default": "''",
1099
+ "fieldName": "resourceName"
1162
1100
  },
1163
1101
  {
1164
- "kind": "field",
1165
- "name": "connect",
1102
+ "name": "title",
1166
1103
  "type": {
1167
- "text": "Connect"
1104
+ "text": "string"
1168
1105
  },
1169
- "privacy": "protected",
1170
- "description": "DI connect object which is used to interact with the backend.",
1171
- "inheritedFrom": {
1172
- "name": "EntityManagement",
1173
- "module": "src/entities/entities.ts"
1174
- }
1106
+ "default": "''",
1107
+ "fieldName": "title"
1175
1108
  },
1176
1109
  {
1177
- "kind": "field",
1178
- "name": "readEvent",
1110
+ "name": "persist-column-state-key",
1179
1111
  "type": {
1180
1112
  "text": "string"
1181
1113
  },
1182
- "inheritedFrom": {
1183
- "name": "EntityManagement",
1184
- "module": "src/entities/entities.ts"
1185
- }
1114
+ "fieldName": "persistColumnStateKey"
1186
1115
  },
1187
1116
  {
1188
- "kind": "field",
1189
- "name": "readonly",
1117
+ "name": "size-columns-to-fit",
1190
1118
  "type": {
1191
1119
  "text": "boolean"
1192
1120
  },
1193
- "inheritedFrom": {
1194
- "name": "EntityManagement",
1195
- "module": "src/entities/entities.ts"
1196
- }
1121
+ "fieldName": "sizeColumnsToFit"
1197
1122
  },
1198
1123
  {
1199
- "kind": "field",
1200
- "name": "asyncAdd",
1124
+ "name": "enable-filter-bar",
1125
+ "type": {
1126
+ "text": "boolean"
1127
+ },
1128
+ "fieldName": "enableFilterBar"
1129
+ },
1130
+ {
1131
+ "name": "async-add",
1201
1132
  "type": {
1202
1133
  "text": "boolean"
1203
1134
  },
1204
1135
  "default": "false",
1205
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1206
- "privacy": "public",
1207
- "inheritedFrom": {
1208
- "name": "EntityManagement",
1209
- "module": "src/entities/entities.ts"
1210
- }
1136
+ "fieldName": "asyncAdd"
1211
1137
  },
1212
1138
  {
1213
- "kind": "field",
1214
- "name": "asyncRemove",
1139
+ "name": "async-remove",
1215
1140
  "type": {
1216
1141
  "text": "boolean"
1217
1142
  },
1218
1143
  "default": "false",
1219
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1220
- "privacy": "public",
1221
- "inheritedFrom": {
1222
- "name": "EntityManagement",
1223
- "module": "src/entities/entities.ts"
1224
- }
1144
+ "fieldName": "asyncRemove"
1225
1145
  },
1226
1146
  {
1227
- "kind": "field",
1228
- "name": "asyncUpdate",
1147
+ "name": "async-update",
1229
1148
  "type": {
1230
1149
  "text": "boolean"
1231
1150
  },
1232
1151
  "default": "true",
1233
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1234
- "privacy": "public",
1235
- "inheritedFrom": {
1236
- "name": "EntityManagement",
1237
- "module": "src/entities/entities.ts"
1238
- }
1152
+ "fieldName": "asyncUpdate"
1239
1153
  },
1240
1154
  {
1241
- "kind": "field",
1242
- "name": "enableCellFlashing",
1155
+ "name": "enable-cell-flashing",
1243
1156
  "type": {
1244
1157
  "text": "boolean"
1245
1158
  },
1246
1159
  "default": "false",
1247
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1248
- "privacy": "public",
1249
- "inheritedFrom": {
1250
- "name": "EntityManagement",
1251
- "module": "src/entities/entities.ts"
1252
- }
1160
+ "fieldName": "enableCellFlashing"
1253
1161
  },
1254
1162
  {
1255
- "kind": "field",
1256
- "name": "enableRowFlashing",
1163
+ "name": "enable-row-flashing",
1257
1164
  "type": {
1258
1165
  "text": "boolean"
1259
1166
  },
1260
1167
  "default": "false",
1261
- "description": "If true, will enable row flashing for all rows for `add` async transactions",
1262
- "privacy": "public",
1263
- "inheritedFrom": {
1264
- "name": "EntityManagement",
1265
- "module": "src/entities/entities.ts"
1266
- }
1168
+ "fieldName": "enableRowFlashing"
1267
1169
  },
1268
1170
  {
1269
- "kind": "field",
1270
- "name": "gridOptions",
1171
+ "name": "hide-edit",
1271
1172
  "type": {
1272
- "text": "GridOptions"
1173
+ "text": "boolean"
1273
1174
  },
1274
- "description": "GridOptions to be passed down from application",
1275
- "privacy": "public",
1276
- "inheritedFrom": {
1277
- "name": "EntityManagement",
1278
- "module": "src/entities/entities.ts"
1279
- }
1175
+ "default": "false",
1176
+ "fieldName": "hideEdit"
1280
1177
  },
1281
1178
  {
1282
- "kind": "field",
1283
- "name": "columns",
1179
+ "name": "hide-delete",
1284
1180
  "type": {
1285
- "text": "ColDef[]"
1181
+ "text": "boolean"
1286
1182
  },
1287
- "description": "Array which holds the column definitions.",
1288
- "privacy": "public",
1289
- "inheritedFrom": {
1290
- "name": "EntityManagement",
1291
- "module": "src/entities/entities.ts"
1292
- }
1293
- },
1183
+ "default": "false",
1184
+ "fieldName": "hideDelete"
1185
+ }
1186
+ ],
1187
+ "superclass": {
1188
+ "name": "FASTElement",
1189
+ "package": "@microsoft/fast-element"
1190
+ },
1191
+ "tagName": "entity-list",
1192
+ "customElement": true
1193
+ }
1194
+ ],
1195
+ "exports": [
1196
+ {
1197
+ "kind": "js",
1198
+ "name": "List",
1199
+ "declaration": {
1200
+ "name": "List",
1201
+ "module": "src/list/list.ts"
1202
+ }
1203
+ },
1204
+ {
1205
+ "kind": "custom-element-definition",
1206
+ "name": "entity-list",
1207
+ "declaration": {
1208
+ "name": "List",
1209
+ "module": "src/list/list.ts"
1210
+ }
1211
+ }
1212
+ ]
1213
+ },
1214
+ {
1215
+ "kind": "javascript-module",
1216
+ "path": "src/main/index.ts",
1217
+ "declarations": [],
1218
+ "exports": [
1219
+ {
1220
+ "kind": "js",
1221
+ "name": "*",
1222
+ "declaration": {
1223
+ "name": "*",
1224
+ "package": "./main.template"
1225
+ }
1226
+ },
1227
+ {
1228
+ "kind": "js",
1229
+ "name": "*",
1230
+ "declaration": {
1231
+ "name": "*",
1232
+ "package": "./main"
1233
+ }
1234
+ }
1235
+ ]
1236
+ },
1237
+ {
1238
+ "kind": "javascript-module",
1239
+ "path": "src/main/main.styles.ts",
1240
+ "declarations": [
1241
+ {
1242
+ "kind": "variable",
1243
+ "name": "MainStyles",
1244
+ "default": "css`\n ${mixinRobotoFont()}\n :host {\n contain: content;\n }\n\n :host,\n zero-design-system-provider,\n .dynamic-template,\n foundation-router {\n display: flex;\n width: 100%;\n height: 100%;\n }\n\n fast-progress {\n --accent-foreground-rest: #654df9;\n\n height: calc(var(--design-unit) * 1px);\n margin: 0;\n width: 100%;\n }\n`"
1245
+ }
1246
+ ],
1247
+ "exports": [
1248
+ {
1249
+ "kind": "js",
1250
+ "name": "MainStyles",
1251
+ "declaration": {
1252
+ "name": "MainStyles",
1253
+ "module": "src/main/main.styles.ts"
1254
+ }
1255
+ }
1256
+ ]
1257
+ },
1258
+ {
1259
+ "kind": "javascript-module",
1260
+ "path": "src/main/main.template.ts",
1261
+ "declarations": [],
1262
+ "exports": []
1263
+ },
1264
+ {
1265
+ "kind": "javascript-module",
1266
+ "path": "src/main/main.ts",
1267
+ "declarations": [
1268
+ {
1269
+ "kind": "class",
1270
+ "description": "",
1271
+ "name": "MainApplication",
1272
+ "members": [
1294
1273
  {
1295
1274
  "kind": "field",
1296
- "name": "datasourceConfig",
1275
+ "name": "config",
1297
1276
  "type": {
1298
- "text": "DatasourceConfiguration"
1299
- },
1300
- "description": "The configuration which is used when interacting with the resource on the backend",
1301
- "privacy": "public",
1302
- "inheritedFrom": {
1303
- "name": "EntityManagement",
1304
- "module": "src/entities/entities.ts"
1277
+ "text": "MainRouterConfig"
1305
1278
  }
1306
1279
  },
1307
1280
  {
1308
1281
  "kind": "field",
1309
- "name": "formUiSchema",
1282
+ "name": "connect",
1310
1283
  "type": {
1311
- "text": "any"
1312
- },
1313
- "inheritedFrom": {
1314
- "name": "EntityManagement",
1315
- "module": "src/entities/entities.ts"
1284
+ "text": "Connect"
1316
1285
  }
1317
1286
  },
1318
1287
  {
1319
1288
  "kind": "field",
1320
- "name": "formRenderers",
1289
+ "name": "session",
1321
1290
  "type": {
1322
- "text": "RendererEntry[]"
1323
- },
1324
- "default": "renderers",
1325
- "description": "Array with renderers used by foundation-forms",
1326
- "privacy": "public",
1327
- "inheritedFrom": {
1328
- "name": "EntityManagement",
1329
- "module": "src/entities/entities.ts"
1291
+ "text": "Session"
1330
1292
  }
1331
1293
  },
1332
1294
  {
1333
1295
  "kind": "field",
1334
- "name": "selectedEntity",
1296
+ "name": "container",
1335
1297
  "type": {
1336
- "text": "any"
1337
- },
1338
- "description": "Reference to the currently selected entity from the grid.",
1339
- "privacy": "public",
1340
- "inheritedFrom": {
1341
- "name": "EntityManagement",
1342
- "module": "src/entities/entities.ts"
1298
+ "text": "Container"
1343
1299
  }
1344
1300
  },
1345
1301
  {
1346
1302
  "kind": "field",
1347
- "name": "editedEntity",
1303
+ "name": "provider",
1348
1304
  "type": {
1349
1305
  "text": "any"
1350
- },
1351
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1352
- "privacy": "public",
1353
- "inheritedFrom": {
1354
- "name": "EntityManagement",
1355
- "module": "src/entities/entities.ts"
1356
1306
  }
1357
1307
  },
1358
1308
  {
1359
1309
  "kind": "field",
1360
- "name": "submitting",
1310
+ "name": "ready",
1361
1311
  "type": {
1362
1312
  "text": "boolean"
1363
1313
  },
1364
- "inheritedFrom": {
1365
- "name": "EntityManagement",
1366
- "module": "src/entities/entities.ts"
1367
- }
1314
+ "default": "false"
1368
1315
  },
1369
1316
  {
1370
1317
  "kind": "field",
1371
- "name": "defaultEntityValues",
1318
+ "name": "data",
1372
1319
  "type": {
1373
1320
  "text": "any"
1374
1321
  },
1375
- "inheritedFrom": {
1376
- "name": "EntityManagement",
1377
- "module": "src/entities/entities.ts"
1378
- }
1379
- },
1380
- {
1381
- "kind": "field",
1382
- "name": "editDialogTitle",
1383
- "type": {
1384
- "text": "string"
1385
- },
1386
- "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1387
- "inheritedFrom": {
1388
- "name": "EntityManagement",
1389
- "module": "src/entities/entities.ts"
1390
- }
1391
- },
1392
- {
1393
- "kind": "field",
1394
- "name": "editModalVisible",
1395
- "type": {
1396
- "text": "boolean"
1397
- },
1398
- "default": "false",
1399
- "inheritedFrom": {
1400
- "name": "EntityManagement",
1401
- "module": "src/entities/entities.ts"
1402
- }
1322
+ "default": "null"
1403
1323
  },
1404
1324
  {
1405
1325
  "kind": "method",
1406
- "name": "editModalVisibleChanged",
1407
- "inheritedFrom": {
1408
- "name": "EntityManagement",
1409
- "module": "src/entities/entities.ts"
1410
- }
1411
- },
1412
- {
1413
- "kind": "field",
1414
- "name": "editEntityModal",
1415
- "type": {
1416
- "text": "any"
1417
- },
1418
- "privacy": "public",
1419
- "inheritedFrom": {
1420
- "name": "EntityManagement",
1421
- "module": "src/entities/entities.ts"
1422
- }
1423
- },
1424
- {
1425
- "kind": "field",
1426
- "name": "sizeColumnsToFit",
1427
- "type": {
1428
- "text": "boolean"
1429
- },
1430
- "inheritedFrom": {
1431
- "name": "EntityManagement",
1432
- "module": "src/entities/entities.ts"
1433
- }
1434
- },
1435
- {
1436
- "kind": "field",
1437
- "name": "enableFilterBar",
1438
- "type": {
1439
- "text": "boolean"
1440
- },
1441
- "inheritedFrom": {
1442
- "name": "EntityManagement",
1443
- "module": "src/entities/entities.ts"
1444
- }
1445
- },
1446
- {
1447
- "kind": "field",
1448
- "name": "hideEdit",
1449
- "type": {
1450
- "text": "boolean"
1451
- },
1452
- "default": "false",
1453
- "inheritedFrom": {
1454
- "name": "EntityManagement",
1455
- "module": "src/entities/entities.ts"
1456
- }
1457
- },
1458
- {
1459
- "kind": "field",
1460
- "name": "hideDelete",
1461
- "type": {
1462
- "text": "boolean"
1463
- },
1464
- "default": "false",
1465
- "inheritedFrom": {
1466
- "name": "EntityManagement",
1467
- "module": "src/entities/entities.ts"
1468
- }
1326
+ "name": "onLuminanceToggle"
1469
1327
  },
1470
1328
  {
1471
- "kind": "field",
1472
- "name": "modalPosition",
1473
- "type": {
1474
- "text": "'centre' | 'left' | 'right'"
1475
- },
1476
- "default": "'right'",
1477
- "description": "Determines where the modal dialog will appear on screen",
1478
- "privacy": "public",
1479
- "inheritedFrom": {
1480
- "name": "EntityManagement",
1481
- "module": "src/entities/entities.ts"
1482
- }
1329
+ "kind": "method",
1330
+ "name": "loadRemotes"
1483
1331
  },
1484
1332
  {
1485
1333
  "kind": "method",
1486
- "name": "deepClone",
1487
- "return": {
1488
- "type": {
1489
- "text": "Node"
1490
- }
1491
- },
1492
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
1493
- "privacy": "public",
1494
- "inheritedFrom": {
1495
- "name": "EntityManagement",
1496
- "module": "src/entities/entities.ts"
1497
- }
1334
+ "name": "selectTemplate"
1498
1335
  },
1499
1336
  {
1500
1337
  "kind": "method",
1501
- "name": "submitEntityChanges",
1502
- "privacy": "public",
1503
- "parameters": [
1504
- {
1505
- "name": "e",
1506
- "type": {
1507
- "text": "CustomEvent"
1508
- },
1509
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1510
- }
1511
- ],
1512
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1513
- "inheritedFrom": {
1514
- "name": "EntityManagement",
1515
- "module": "src/entities/entities.ts"
1516
- }
1517
- },
1338
+ "name": "registerDIDependencies",
1339
+ "privacy": "private"
1340
+ }
1341
+ ],
1342
+ "superclass": {
1343
+ "name": "FASTElement",
1344
+ "package": "@microsoft/fast-element"
1345
+ },
1346
+ "customElement": true
1347
+ }
1348
+ ],
1349
+ "exports": [
1350
+ {
1351
+ "kind": "js",
1352
+ "name": "MainApplication",
1353
+ "declaration": {
1354
+ "name": "MainApplication",
1355
+ "module": "src/main/main.ts"
1356
+ }
1357
+ },
1358
+ {
1359
+ "kind": "custom-element-definition",
1360
+ "declaration": {
1361
+ "name": "MainApplication",
1362
+ "module": "src/main/main.ts"
1363
+ }
1364
+ }
1365
+ ]
1366
+ },
1367
+ {
1368
+ "kind": "javascript-module",
1369
+ "path": "src/profiles/editProfileSchema.ts",
1370
+ "declarations": [
1371
+ {
1372
+ "kind": "variable",
1373
+ "name": "editProfileFormSchema",
1374
+ "type": {
1375
+ "text": "object"
1376
+ },
1377
+ "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
1378
+ }
1379
+ ],
1380
+ "exports": [
1381
+ {
1382
+ "kind": "js",
1383
+ "name": "editProfileFormSchema",
1384
+ "declaration": {
1385
+ "name": "editProfileFormSchema",
1386
+ "module": "src/profiles/editProfileSchema.ts"
1387
+ }
1388
+ }
1389
+ ]
1390
+ },
1391
+ {
1392
+ "kind": "javascript-module",
1393
+ "path": "src/profiles/profiles.ts",
1394
+ "declarations": [
1395
+ {
1396
+ "kind": "class",
1397
+ "description": "Main class which defined the profile management functionality",
1398
+ "name": "Profiles",
1399
+ "members": [
1518
1400
  {
1519
1401
  "kind": "method",
1520
- "name": "readEntity",
1521
- "privacy": "private",
1402
+ "name": "readProfileData",
1403
+ "privacy": "public",
1522
1404
  "parameters": [
1523
1405
  {
1524
- "name": "e",
1525
- "type": {
1526
- "text": "CustomEvent"
1527
- }
1406
+ "name": "profile"
1528
1407
  }
1529
- ],
1530
- "inheritedFrom": {
1531
- "name": "EntityManagement",
1532
- "module": "src/entities/entities.ts"
1533
- }
1534
- },
1535
- {
1536
- "kind": "method",
1537
- "name": "closeModal",
1538
- "privacy": "public",
1539
- "inheritedFrom": {
1540
- "name": "EntityManagement",
1541
- "module": "src/entities/entities.ts"
1542
- }
1408
+ ]
1543
1409
  },
1544
1410
  {
1545
1411
  "kind": "method",
1546
- "name": "criteriaChanged",
1547
- "privacy": "public",
1548
- "parameters": [
1549
- {
1550
- "name": "e",
1551
- "type": {
1552
- "text": "CustomEvent<string>"
1553
- }
1554
- }
1555
- ],
1412
+ "name": "confirmDelete",
1556
1413
  "inheritedFrom": {
1557
1414
  "name": "EntityManagement",
1558
1415
  "module": "src/entities/entities.ts"
1559
1416
  }
1560
1417
  },
1561
1418
  {
1562
- "kind": "method",
1563
- "name": "submitFailureNotification",
1564
- "privacy": "public",
1565
- "parameters": [
1566
- {
1567
- "name": "e",
1568
- "type": {
1569
- "text": "CustomEvent"
1570
- }
1571
- }
1572
- ],
1419
+ "kind": "field",
1420
+ "name": "createEvent",
1421
+ "type": {
1422
+ "text": "string"
1423
+ },
1424
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1425
+ "privacy": "public",
1573
1426
  "inheritedFrom": {
1574
1427
  "name": "EntityManagement",
1575
1428
  "module": "src/entities/entities.ts"
1576
1429
  }
1577
1430
  },
1578
1431
  {
1579
- "kind": "method",
1580
- "name": "showDeleteConfirmation",
1581
- "privacy": "private",
1432
+ "kind": "field",
1433
+ "name": "deleteEvent",
1434
+ "type": {
1435
+ "text": "string"
1436
+ },
1437
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1438
+ "privacy": "public",
1582
1439
  "inheritedFrom": {
1583
1440
  "name": "EntityManagement",
1584
1441
  "module": "src/entities/entities.ts"
1585
1442
  }
1586
- }
1587
- ],
1588
- "superclass": {
1589
- "name": "EntityManagement",
1590
- "module": "/src/entities"
1591
- },
1592
- "tagName": "profile-management",
1593
- "customElement": true,
1594
- "attributes": [
1443
+ },
1595
1444
  {
1596
- "name": "resourceName",
1445
+ "kind": "field",
1446
+ "name": "updateEvent",
1597
1447
  "type": {
1598
1448
  "text": "string"
1599
1449
  },
1600
- "description": "Name of the backend resource which contain the entities to manage",
1601
- "fieldName": "resourceName",
1450
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1451
+ "privacy": "public",
1602
1452
  "inheritedFrom": {
1603
1453
  "name": "EntityManagement",
1604
1454
  "module": "src/entities/entities.ts"
1605
1455
  }
1606
1456
  },
1607
1457
  {
1608
- "name": "readEvent",
1458
+ "kind": "field",
1459
+ "name": "persistColumnStateKey",
1609
1460
  "type": {
1610
1461
  "text": "string"
1611
1462
  },
1612
- "fieldName": "readEvent",
1463
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1464
+ "privacy": "public",
1465
+ "default": "'entity_profiles_management'",
1613
1466
  "inheritedFrom": {
1614
1467
  "name": "EntityManagement",
1615
1468
  "module": "src/entities/entities.ts"
1616
1469
  }
1617
1470
  },
1618
1471
  {
1472
+ "kind": "field",
1473
+ "name": "updateFormUiSchema",
1619
1474
  "type": {
1620
- "text": "boolean"
1475
+ "text": "any"
1621
1476
  },
1622
- "fieldName": "readonly",
1477
+ "default": "editProfileFormSchema",
1623
1478
  "inheritedFrom": {
1624
1479
  "name": "EntityManagement",
1625
1480
  "module": "src/entities/entities.ts"
1626
1481
  }
1627
1482
  },
1628
1483
  {
1629
- "name": "updateEvent",
1484
+ "kind": "field",
1485
+ "name": "createFormUiSchema",
1630
1486
  "type": {
1631
- "text": "string"
1487
+ "text": "any"
1632
1488
  },
1633
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1634
- "fieldName": "updateEvent",
1489
+ "default": "editProfileFormSchema",
1635
1490
  "inheritedFrom": {
1636
1491
  "name": "EntityManagement",
1637
1492
  "module": "src/entities/entities.ts"
1638
1493
  }
1639
1494
  },
1640
1495
  {
1641
- "name": "deleteEvent",
1496
+ "kind": "field",
1497
+ "name": "readEventFn",
1642
1498
  "type": {
1643
- "text": "string"
1499
+ "text": "(...args) => {}"
1644
1500
  },
1645
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1646
- "fieldName": "deleteEvent",
1647
1501
  "inheritedFrom": {
1648
1502
  "name": "EntityManagement",
1649
1503
  "module": "src/entities/entities.ts"
1650
1504
  }
1651
1505
  },
1652
1506
  {
1653
- "name": "createEvent",
1507
+ "kind": "field",
1508
+ "name": "resourceName",
1654
1509
  "type": {
1655
1510
  "text": "string"
1656
1511
  },
1657
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1658
- "fieldName": "createEvent",
1512
+ "description": "Name of the backend resource which contain the entities to manage",
1513
+ "privacy": "public",
1514
+ "default": "'ALL_PROFILES'",
1659
1515
  "inheritedFrom": {
1660
1516
  "name": "EntityManagement",
1661
1517
  "module": "src/entities/entities.ts"
1662
1518
  }
1663
1519
  },
1664
1520
  {
1521
+ "kind": "field",
1665
1522
  "name": "title",
1666
1523
  "type": {
1667
1524
  "text": "string"
1668
1525
  },
1669
1526
  "description": "Title of the grid",
1670
- "fieldName": "title",
1527
+ "privacy": "public",
1528
+ "default": "'Profile Management'",
1671
1529
  "inheritedFrom": {
1672
1530
  "name": "EntityManagement",
1673
1531
  "module": "src/entities/entities.ts"
1674
1532
  }
1675
1533
  },
1676
1534
  {
1535
+ "kind": "field",
1677
1536
  "name": "entityLabel",
1678
1537
  "type": {
1679
1538
  "text": "string"
1680
1539
  },
1681
- "default": "''",
1540
+ "default": "'Profile'",
1682
1541
  "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1683
- "fieldName": "entityLabel",
1542
+ "privacy": "public",
1684
1543
  "inheritedFrom": {
1685
1544
  "name": "EntityManagement",
1686
1545
  "module": "src/entities/entities.ts"
1687
1546
  }
1688
1547
  },
1689
1548
  {
1690
- "name": "async-add",
1549
+ "kind": "field",
1550
+ "name": "connect",
1691
1551
  "type": {
1692
- "text": "boolean"
1552
+ "text": "Connect"
1693
1553
  },
1694
- "default": "false",
1695
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1696
- "fieldName": "asyncAdd",
1554
+ "privacy": "protected",
1555
+ "description": "DI connect object which is used to interact with the backend.",
1697
1556
  "inheritedFrom": {
1698
1557
  "name": "EntityManagement",
1699
1558
  "module": "src/entities/entities.ts"
1700
1559
  }
1701
1560
  },
1702
1561
  {
1703
- "name": "async-remove",
1562
+ "kind": "field",
1563
+ "name": "readEvent",
1704
1564
  "type": {
1705
- "text": "boolean"
1565
+ "text": "string"
1706
1566
  },
1707
- "default": "false",
1708
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1709
- "fieldName": "asyncRemove",
1710
1567
  "inheritedFrom": {
1711
1568
  "name": "EntityManagement",
1712
1569
  "module": "src/entities/entities.ts"
1713
1570
  }
1714
1571
  },
1715
1572
  {
1716
- "name": "async-update",
1573
+ "kind": "field",
1574
+ "name": "readonly",
1717
1575
  "type": {
1718
1576
  "text": "boolean"
1719
1577
  },
1720
- "default": "true",
1721
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1722
- "fieldName": "asyncUpdate",
1723
1578
  "inheritedFrom": {
1724
1579
  "name": "EntityManagement",
1725
1580
  "module": "src/entities/entities.ts"
1726
1581
  }
1727
1582
  },
1728
1583
  {
1729
- "name": "enable-cell-flashing",
1584
+ "kind": "field",
1585
+ "name": "asyncAdd",
1730
1586
  "type": {
1731
1587
  "text": "boolean"
1732
1588
  },
1733
1589
  "default": "false",
1734
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1735
- "fieldName": "enableCellFlashing",
1590
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1591
+ "privacy": "public",
1736
1592
  "inheritedFrom": {
1737
1593
  "name": "EntityManagement",
1738
1594
  "module": "src/entities/entities.ts"
1739
1595
  }
1740
1596
  },
1741
1597
  {
1742
- "name": "enable-row-flashing",
1598
+ "kind": "field",
1599
+ "name": "asyncRemove",
1743
1600
  "type": {
1744
1601
  "text": "boolean"
1745
1602
  },
1746
1603
  "default": "false",
1747
- "description": "If true, will enable row flashing for all rows for `add` async transactions",
1748
- "fieldName": "enableRowFlashing",
1749
- "inheritedFrom": {
1750
- "name": "EntityManagement",
1751
- "module": "src/entities/entities.ts"
1752
- }
1753
- },
1754
- {
1755
- "name": "persist-column-state-key",
1756
- "type": {
1757
- "text": "string"
1758
- },
1759
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1760
- "fieldName": "persistColumnStateKey",
1604
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1605
+ "privacy": "public",
1761
1606
  "inheritedFrom": {
1762
1607
  "name": "EntityManagement",
1763
1608
  "module": "src/entities/entities.ts"
1764
1609
  }
1765
1610
  },
1766
1611
  {
1767
- "name": "size-columns-to-fit",
1612
+ "kind": "field",
1613
+ "name": "asyncUpdate",
1768
1614
  "type": {
1769
1615
  "text": "boolean"
1770
1616
  },
1771
- "fieldName": "sizeColumnsToFit",
1617
+ "default": "true",
1618
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1619
+ "privacy": "public",
1772
1620
  "inheritedFrom": {
1773
1621
  "name": "EntityManagement",
1774
1622
  "module": "src/entities/entities.ts"
1775
1623
  }
1776
1624
  },
1777
1625
  {
1778
- "name": "enable-filter-bar",
1626
+ "kind": "field",
1627
+ "name": "enableCellFlashing",
1779
1628
  "type": {
1780
1629
  "text": "boolean"
1781
1630
  },
1782
- "fieldName": "enableFilterBar",
1631
+ "default": "false",
1632
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1633
+ "privacy": "public",
1783
1634
  "inheritedFrom": {
1784
1635
  "name": "EntityManagement",
1785
1636
  "module": "src/entities/entities.ts"
1786
1637
  }
1787
1638
  },
1788
1639
  {
1789
- "name": "hide-edit",
1640
+ "kind": "field",
1641
+ "name": "enableRowFlashing",
1790
1642
  "type": {
1791
1643
  "text": "boolean"
1792
1644
  },
1793
1645
  "default": "false",
1794
- "fieldName": "hideEdit",
1646
+ "description": "If true, will enable row flashing for all rows for `add` async transactions",
1647
+ "privacy": "public",
1795
1648
  "inheritedFrom": {
1796
1649
  "name": "EntityManagement",
1797
1650
  "module": "src/entities/entities.ts"
1798
1651
  }
1799
1652
  },
1800
1653
  {
1801
- "name": "hide-delete",
1654
+ "kind": "field",
1655
+ "name": "gridOptions",
1802
1656
  "type": {
1803
- "text": "boolean"
1657
+ "text": "GridOptions"
1804
1658
  },
1805
- "default": "false",
1806
- "fieldName": "hideDelete",
1659
+ "description": "GridOptions to be passed down from application",
1660
+ "privacy": "public",
1807
1661
  "inheritedFrom": {
1808
1662
  "name": "EntityManagement",
1809
1663
  "module": "src/entities/entities.ts"
1810
1664
  }
1811
1665
  },
1812
1666
  {
1813
- "name": "modal-position",
1667
+ "kind": "field",
1668
+ "name": "columns",
1814
1669
  "type": {
1815
- "text": "'centre' | 'left' | 'right'"
1670
+ "text": "ColDef[]"
1816
1671
  },
1817
- "default": "'right'",
1818
- "description": "Determines where the modal dialog will appear on screen",
1819
- "fieldName": "modalPosition",
1672
+ "description": "Array which holds the column definitions.",
1673
+ "privacy": "public",
1820
1674
  "inheritedFrom": {
1821
1675
  "name": "EntityManagement",
1822
1676
  "module": "src/entities/entities.ts"
1823
- }
1824
- }
1825
- ]
1826
- }
1827
- ],
1828
- "exports": [
1829
- {
1830
- "kind": "js",
1831
- "name": "Profiles",
1832
- "declaration": {
1833
- "name": "Profiles",
1834
- "module": "src/profiles/profiles.ts"
1835
- }
1836
- },
1837
- {
1838
- "kind": "custom-element-definition",
1839
- "name": "profile-management",
1840
- "declaration": {
1841
- "name": "Profiles",
1842
- "module": "src/profiles/profiles.ts"
1843
- }
1844
- }
1845
- ]
1846
- },
1847
- {
1848
- "kind": "javascript-module",
1849
- "path": "src/list/index.ts",
1850
- "declarations": [],
1851
- "exports": [
1852
- {
1853
- "kind": "js",
1854
- "name": "*",
1855
- "declaration": {
1856
- "name": "*",
1857
- "package": "./list"
1858
- }
1859
- }
1860
- ]
1861
- },
1862
- {
1863
- "kind": "javascript-module",
1864
- "path": "src/list/list.styles.ts",
1865
- "declarations": [
1866
- {
1867
- "kind": "variable",
1868
- "name": "listStyles",
1869
- "default": "css`\n :host {\n contain: content;\n }\n\n :host,\n fast-router {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: inherit;\n width: 100%;\n }\n`"
1870
- }
1871
- ],
1872
- "exports": [
1873
- {
1874
- "kind": "js",
1875
- "name": "listStyles",
1876
- "declaration": {
1877
- "name": "listStyles",
1878
- "module": "src/list/list.styles.ts"
1879
- }
1880
- }
1881
- ]
1882
- },
1883
- {
1884
- "kind": "javascript-module",
1885
- "path": "src/list/list.template.ts",
1886
- "declarations": [
1887
- {
1888
- "kind": "variable",
1889
- "name": "listTemplate",
1890
- "default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `,\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n async-add=${(x) => x.asyncAdd}\n async-remove=${(x) => x.asyncRemove}\n async-update=${(x) => x.asyncUpdate}\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n enable-row-flashing=${(x) => x.enableRowFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n :deferredGridOptions=${(x) => x.gridOptions}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n moving-view=${(x) => x.datasourceConfig?.movingView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n polling-interval=${(x) => x.datasourceConfig?.pollingInterval}\n resource-name=${(x) => x.resourceName}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `,\n )}\n </zero-grid-pro>\n </div>\n`"
1891
- }
1892
- ],
1893
- "exports": [
1894
- {
1895
- "kind": "js",
1896
- "name": "listTemplate",
1897
- "declaration": {
1898
- "name": "listTemplate",
1899
- "module": "src/list/list.template.ts"
1900
- }
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/list/list.ts",
1907
- "declarations": [
1908
- {
1909
- "kind": "class",
1910
- "description": "",
1911
- "name": "List",
1912
- "members": [
1677
+ }
1678
+ },
1913
1679
  {
1914
1680
  "kind": "field",
1915
- "name": "resourceName",
1681
+ "name": "datasourceConfig",
1916
1682
  "type": {
1917
- "text": "string"
1683
+ "text": "DatasourceConfiguration"
1918
1684
  },
1919
- "default": "''"
1685
+ "description": "The configuration which is used when interacting with the resource on the backend",
1686
+ "privacy": "public",
1687
+ "inheritedFrom": {
1688
+ "name": "EntityManagement",
1689
+ "module": "src/entities/entities.ts"
1690
+ }
1920
1691
  },
1921
1692
  {
1922
1693
  "kind": "field",
1923
- "name": "title",
1694
+ "name": "formUiSchema",
1924
1695
  "type": {
1925
- "text": "string"
1696
+ "text": "any"
1926
1697
  },
1927
- "default": "''"
1698
+ "inheritedFrom": {
1699
+ "name": "EntityManagement",
1700
+ "module": "src/entities/entities.ts"
1701
+ }
1928
1702
  },
1929
1703
  {
1930
1704
  "kind": "field",
1931
- "name": "persistColumnStateKey",
1705
+ "name": "formRenderers",
1932
1706
  "type": {
1933
- "text": "string"
1707
+ "text": "RendererEntry[]"
1708
+ },
1709
+ "default": "renderers",
1710
+ "description": "Array with renderers used by foundation-forms",
1711
+ "privacy": "public",
1712
+ "inheritedFrom": {
1713
+ "name": "EntityManagement",
1714
+ "module": "src/entities/entities.ts"
1934
1715
  }
1935
1716
  },
1936
1717
  {
1937
1718
  "kind": "field",
1938
- "name": "sizeColumnsToFit",
1719
+ "name": "selectedEntity",
1939
1720
  "type": {
1940
- "text": "boolean"
1721
+ "text": "any"
1722
+ },
1723
+ "description": "Reference to the currently selected entity from the grid.",
1724
+ "privacy": "public",
1725
+ "inheritedFrom": {
1726
+ "name": "EntityManagement",
1727
+ "module": "src/entities/entities.ts"
1941
1728
  }
1942
1729
  },
1943
1730
  {
1944
1731
  "kind": "field",
1945
- "name": "enableFilterBar",
1732
+ "name": "editedEntity",
1946
1733
  "type": {
1947
- "text": "boolean"
1734
+ "text": "any"
1735
+ },
1736
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1737
+ "privacy": "public",
1738
+ "inheritedFrom": {
1739
+ "name": "EntityManagement",
1740
+ "module": "src/entities/entities.ts"
1948
1741
  }
1949
1742
  },
1950
1743
  {
1951
1744
  "kind": "field",
1952
- "name": "asyncAdd",
1745
+ "name": "submitting",
1953
1746
  "type": {
1954
1747
  "text": "boolean"
1955
1748
  },
1956
- "default": "false"
1749
+ "inheritedFrom": {
1750
+ "name": "EntityManagement",
1751
+ "module": "src/entities/entities.ts"
1752
+ }
1957
1753
  },
1958
1754
  {
1959
1755
  "kind": "field",
1960
- "name": "asyncRemove",
1756
+ "name": "defaultEntityValues",
1961
1757
  "type": {
1962
- "text": "boolean"
1758
+ "text": "any"
1963
1759
  },
1964
- "default": "false"
1760
+ "inheritedFrom": {
1761
+ "name": "EntityManagement",
1762
+ "module": "src/entities/entities.ts"
1763
+ }
1965
1764
  },
1966
1765
  {
1967
1766
  "kind": "field",
1968
- "name": "asyncUpdate",
1767
+ "name": "editDialogTitle",
1768
+ "type": {
1769
+ "text": "string"
1770
+ },
1771
+ "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1772
+ "inheritedFrom": {
1773
+ "name": "EntityManagement",
1774
+ "module": "src/entities/entities.ts"
1775
+ }
1776
+ },
1777
+ {
1778
+ "kind": "field",
1779
+ "name": "editModalVisible",
1969
1780
  "type": {
1970
1781
  "text": "boolean"
1971
1782
  },
1972
- "default": "true"
1783
+ "default": "false",
1784
+ "inheritedFrom": {
1785
+ "name": "EntityManagement",
1786
+ "module": "src/entities/entities.ts"
1787
+ }
1788
+ },
1789
+ {
1790
+ "kind": "method",
1791
+ "name": "editModalVisibleChanged",
1792
+ "inheritedFrom": {
1793
+ "name": "EntityManagement",
1794
+ "module": "src/entities/entities.ts"
1795
+ }
1973
1796
  },
1974
1797
  {
1975
1798
  "kind": "field",
1976
- "name": "enableCellFlashing",
1799
+ "name": "editEntityModal",
1800
+ "type": {
1801
+ "text": "any"
1802
+ },
1803
+ "privacy": "public",
1804
+ "inheritedFrom": {
1805
+ "name": "EntityManagement",
1806
+ "module": "src/entities/entities.ts"
1807
+ }
1808
+ },
1809
+ {
1810
+ "kind": "field",
1811
+ "name": "sizeColumnsToFit",
1977
1812
  "type": {
1978
1813
  "text": "boolean"
1979
1814
  },
1980
- "default": "false"
1815
+ "inheritedFrom": {
1816
+ "name": "EntityManagement",
1817
+ "module": "src/entities/entities.ts"
1818
+ }
1981
1819
  },
1982
1820
  {
1983
1821
  "kind": "field",
1984
- "name": "enableRowFlashing",
1822
+ "name": "enableFilterBar",
1985
1823
  "type": {
1986
1824
  "text": "boolean"
1987
1825
  },
1988
- "default": "false"
1826
+ "inheritedFrom": {
1827
+ "name": "EntityManagement",
1828
+ "module": "src/entities/entities.ts"
1829
+ }
1989
1830
  },
1990
1831
  {
1991
1832
  "kind": "field",
@@ -1993,7 +1834,11 @@
1993
1834
  "type": {
1994
1835
  "text": "boolean"
1995
1836
  },
1996
- "default": "false"
1837
+ "default": "false",
1838
+ "inheritedFrom": {
1839
+ "name": "EntityManagement",
1840
+ "module": "src/entities/entities.ts"
1841
+ }
1997
1842
  },
1998
1843
  {
1999
1844
  "kind": "field",
@@ -2001,189 +1846,329 @@
2001
1846
  "type": {
2002
1847
  "text": "boolean"
2003
1848
  },
2004
- "default": "false"
1849
+ "default": "false",
1850
+ "inheritedFrom": {
1851
+ "name": "EntityManagement",
1852
+ "module": "src/entities/entities.ts"
1853
+ }
2005
1854
  },
2006
1855
  {
2007
1856
  "kind": "field",
2008
- "name": "grid",
1857
+ "name": "modalPosition",
2009
1858
  "type": {
2010
- "text": "ZeroGridPro"
1859
+ "text": "'centre' | 'left' | 'right'"
2011
1860
  },
2012
- "privacy": "public"
1861
+ "default": "'right'",
1862
+ "description": "Determines where the modal dialog will appear on screen",
1863
+ "privacy": "public",
1864
+ "inheritedFrom": {
1865
+ "name": "EntityManagement",
1866
+ "module": "src/entities/entities.ts"
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "method",
1871
+ "name": "deepClone",
1872
+ "return": {
1873
+ "type": {
1874
+ "text": "Node"
1875
+ }
1876
+ },
1877
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
1878
+ "privacy": "public",
1879
+ "inheritedFrom": {
1880
+ "name": "EntityManagement",
1881
+ "module": "src/entities/entities.ts"
1882
+ }
1883
+ },
1884
+ {
1885
+ "kind": "method",
1886
+ "name": "submitEntityChanges",
1887
+ "privacy": "public",
1888
+ "parameters": [
1889
+ {
1890
+ "name": "e",
1891
+ "type": {
1892
+ "text": "CustomEvent"
1893
+ },
1894
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1895
+ }
1896
+ ],
1897
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1898
+ "inheritedFrom": {
1899
+ "name": "EntityManagement",
1900
+ "module": "src/entities/entities.ts"
1901
+ }
1902
+ },
1903
+ {
1904
+ "kind": "method",
1905
+ "name": "readEntity",
1906
+ "privacy": "private",
1907
+ "parameters": [
1908
+ {
1909
+ "name": "e",
1910
+ "type": {
1911
+ "text": "CustomEvent"
1912
+ }
1913
+ }
1914
+ ],
1915
+ "inheritedFrom": {
1916
+ "name": "EntityManagement",
1917
+ "module": "src/entities/entities.ts"
1918
+ }
1919
+ },
1920
+ {
1921
+ "kind": "method",
1922
+ "name": "closeModal",
1923
+ "privacy": "public",
1924
+ "inheritedFrom": {
1925
+ "name": "EntityManagement",
1926
+ "module": "src/entities/entities.ts"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "method",
1931
+ "name": "criteriaChanged",
1932
+ "privacy": "public",
1933
+ "parameters": [
1934
+ {
1935
+ "name": "e",
1936
+ "type": {
1937
+ "text": "CustomEvent<string>"
1938
+ }
1939
+ }
1940
+ ],
1941
+ "inheritedFrom": {
1942
+ "name": "EntityManagement",
1943
+ "module": "src/entities/entities.ts"
1944
+ }
2013
1945
  },
2014
1946
  {
2015
- "kind": "field",
2016
- "name": "datasource",
1947
+ "kind": "method",
1948
+ "name": "submitFailureNotification",
1949
+ "privacy": "public",
1950
+ "parameters": [
1951
+ {
1952
+ "name": "e",
1953
+ "type": {
1954
+ "text": "CustomEvent"
1955
+ }
1956
+ }
1957
+ ],
1958
+ "inheritedFrom": {
1959
+ "name": "EntityManagement",
1960
+ "module": "src/entities/entities.ts"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "method",
1965
+ "name": "showDeleteConfirmation",
1966
+ "privacy": "private",
1967
+ "inheritedFrom": {
1968
+ "name": "EntityManagement",
1969
+ "module": "src/entities/entities.ts"
1970
+ }
1971
+ }
1972
+ ],
1973
+ "superclass": {
1974
+ "name": "EntityManagement",
1975
+ "module": "/src/entities"
1976
+ },
1977
+ "tagName": "profile-management",
1978
+ "customElement": true,
1979
+ "attributes": [
1980
+ {
1981
+ "name": "resourceName",
2017
1982
  "type": {
2018
- "text": "GridProGenesisDatasource"
1983
+ "text": "string"
2019
1984
  },
2020
- "privacy": "public"
2021
- },
2022
- {
2023
- "kind": "field",
2024
- "name": "gridOptions",
2025
- "type": {
2026
- "text": "GridOptions"
1985
+ "description": "Name of the backend resource which contain the entities to manage",
1986
+ "fieldName": "resourceName",
1987
+ "inheritedFrom": {
1988
+ "name": "EntityManagement",
1989
+ "module": "src/entities/entities.ts"
2027
1990
  }
2028
1991
  },
2029
1992
  {
2030
- "kind": "field",
2031
- "name": "columns",
1993
+ "name": "readEvent",
2032
1994
  "type": {
2033
- "text": "ColDef[]"
1995
+ "text": "string"
1996
+ },
1997
+ "fieldName": "readEvent",
1998
+ "inheritedFrom": {
1999
+ "name": "EntityManagement",
2000
+ "module": "src/entities/entities.ts"
2034
2001
  }
2035
2002
  },
2036
2003
  {
2037
- "kind": "field",
2038
- "name": "datasourceConfig",
2039
2004
  "type": {
2040
- "text": "DatasourceConfiguration"
2005
+ "text": "boolean"
2006
+ },
2007
+ "fieldName": "readonly",
2008
+ "inheritedFrom": {
2009
+ "name": "EntityManagement",
2010
+ "module": "src/entities/entities.ts"
2041
2011
  }
2042
2012
  },
2043
2013
  {
2044
- "kind": "field",
2045
- "name": "actionButtonsConfig",
2014
+ "name": "updateEvent",
2046
2015
  "type": {
2047
- "text": "array"
2016
+ "text": "string"
2048
2017
  },
2049
- "default": "[]"
2018
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
2019
+ "fieldName": "updateEvent",
2020
+ "inheritedFrom": {
2021
+ "name": "EntityManagement",
2022
+ "module": "src/entities/entities.ts"
2023
+ }
2050
2024
  },
2051
2025
  {
2052
- "kind": "field",
2053
2026
  "name": "deleteEvent",
2054
2027
  "type": {
2055
2028
  "text": "string"
2029
+ },
2030
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2031
+ "fieldName": "deleteEvent",
2032
+ "inheritedFrom": {
2033
+ "name": "EntityManagement",
2034
+ "module": "src/entities/entities.ts"
2056
2035
  }
2057
2036
  },
2058
2037
  {
2059
- "kind": "field",
2060
- "name": "updateEvent",
2038
+ "name": "createEvent",
2061
2039
  "type": {
2062
2040
  "text": "string"
2041
+ },
2042
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
2043
+ "fieldName": "createEvent",
2044
+ "inheritedFrom": {
2045
+ "name": "EntityManagement",
2046
+ "module": "src/entities/entities.ts"
2063
2047
  }
2064
2048
  },
2065
2049
  {
2066
- "kind": "method",
2067
- "name": "handleFilterChanged",
2068
- "privacy": "private",
2069
- "parameters": [
2070
- {
2071
- "name": "e"
2072
- }
2073
- ]
2074
- },
2075
- {
2076
- "kind": "method",
2077
- "name": "handleFilterCleared",
2078
- "privacy": "private",
2079
- "parameters": [
2080
- {
2081
- "name": "e"
2082
- }
2083
- ]
2084
- },
2085
- {
2086
- "kind": "method",
2087
- "name": "select",
2088
- "privacy": "private",
2089
- "parameters": [
2090
- {
2091
- "name": "e"
2092
- }
2093
- ]
2094
- },
2095
- {
2096
- "kind": "field",
2097
- "name": "edit",
2098
- "privacy": "private"
2099
- },
2100
- {
2101
- "kind": "method",
2102
- "name": "delete",
2103
- "parameters": [
2104
- {
2105
- "name": "e"
2106
- }
2107
- ]
2108
- }
2109
- ],
2110
- "attributes": [
2111
- {
2112
- "name": "resourceName",
2050
+ "name": "title",
2113
2051
  "type": {
2114
2052
  "text": "string"
2115
2053
  },
2116
- "default": "''",
2117
- "fieldName": "resourceName"
2054
+ "description": "Title of the grid",
2055
+ "fieldName": "title",
2056
+ "inheritedFrom": {
2057
+ "name": "EntityManagement",
2058
+ "module": "src/entities/entities.ts"
2059
+ }
2118
2060
  },
2119
2061
  {
2120
- "name": "title",
2062
+ "name": "entityLabel",
2121
2063
  "type": {
2122
2064
  "text": "string"
2123
2065
  },
2124
2066
  "default": "''",
2125
- "fieldName": "title"
2067
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2068
+ "fieldName": "entityLabel",
2069
+ "inheritedFrom": {
2070
+ "name": "EntityManagement",
2071
+ "module": "src/entities/entities.ts"
2072
+ }
2126
2073
  },
2127
2074
  {
2128
- "name": "persist-column-state-key",
2075
+ "name": "async-add",
2129
2076
  "type": {
2130
- "text": "string"
2077
+ "text": "boolean"
2131
2078
  },
2132
- "fieldName": "persistColumnStateKey"
2079
+ "default": "false",
2080
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2081
+ "fieldName": "asyncAdd",
2082
+ "inheritedFrom": {
2083
+ "name": "EntityManagement",
2084
+ "module": "src/entities/entities.ts"
2085
+ }
2133
2086
  },
2134
2087
  {
2135
- "name": "size-columns-to-fit",
2088
+ "name": "async-remove",
2136
2089
  "type": {
2137
2090
  "text": "boolean"
2138
2091
  },
2139
- "fieldName": "sizeColumnsToFit"
2092
+ "default": "false",
2093
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2094
+ "fieldName": "asyncRemove",
2095
+ "inheritedFrom": {
2096
+ "name": "EntityManagement",
2097
+ "module": "src/entities/entities.ts"
2098
+ }
2140
2099
  },
2141
2100
  {
2142
- "name": "enable-filter-bar",
2101
+ "name": "async-update",
2143
2102
  "type": {
2144
2103
  "text": "boolean"
2145
2104
  },
2146
- "fieldName": "enableFilterBar"
2105
+ "default": "true",
2106
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2107
+ "fieldName": "asyncUpdate",
2108
+ "inheritedFrom": {
2109
+ "name": "EntityManagement",
2110
+ "module": "src/entities/entities.ts"
2111
+ }
2147
2112
  },
2148
2113
  {
2149
- "name": "async-add",
2114
+ "name": "enable-cell-flashing",
2150
2115
  "type": {
2151
2116
  "text": "boolean"
2152
2117
  },
2153
2118
  "default": "false",
2154
- "fieldName": "asyncAdd"
2119
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2120
+ "fieldName": "enableCellFlashing",
2121
+ "inheritedFrom": {
2122
+ "name": "EntityManagement",
2123
+ "module": "src/entities/entities.ts"
2124
+ }
2155
2125
  },
2156
2126
  {
2157
- "name": "async-remove",
2127
+ "name": "enable-row-flashing",
2158
2128
  "type": {
2159
2129
  "text": "boolean"
2160
2130
  },
2161
2131
  "default": "false",
2162
- "fieldName": "asyncRemove"
2132
+ "description": "If true, will enable row flashing for all rows for `add` async transactions",
2133
+ "fieldName": "enableRowFlashing",
2134
+ "inheritedFrom": {
2135
+ "name": "EntityManagement",
2136
+ "module": "src/entities/entities.ts"
2137
+ }
2163
2138
  },
2164
2139
  {
2165
- "name": "async-update",
2140
+ "name": "persist-column-state-key",
2166
2141
  "type": {
2167
- "text": "boolean"
2142
+ "text": "string"
2168
2143
  },
2169
- "default": "true",
2170
- "fieldName": "asyncUpdate"
2144
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
2145
+ "fieldName": "persistColumnStateKey",
2146
+ "inheritedFrom": {
2147
+ "name": "EntityManagement",
2148
+ "module": "src/entities/entities.ts"
2149
+ }
2171
2150
  },
2172
2151
  {
2173
- "name": "enable-cell-flashing",
2152
+ "name": "size-columns-to-fit",
2174
2153
  "type": {
2175
2154
  "text": "boolean"
2176
2155
  },
2177
- "default": "false",
2178
- "fieldName": "enableCellFlashing"
2156
+ "fieldName": "sizeColumnsToFit",
2157
+ "inheritedFrom": {
2158
+ "name": "EntityManagement",
2159
+ "module": "src/entities/entities.ts"
2160
+ }
2179
2161
  },
2180
2162
  {
2181
- "name": "enable-row-flashing",
2163
+ "name": "enable-filter-bar",
2182
2164
  "type": {
2183
2165
  "text": "boolean"
2184
2166
  },
2185
- "default": "false",
2186
- "fieldName": "enableRowFlashing"
2167
+ "fieldName": "enableFilterBar",
2168
+ "inheritedFrom": {
2169
+ "name": "EntityManagement",
2170
+ "module": "src/entities/entities.ts"
2171
+ }
2187
2172
  },
2188
2173
  {
2189
2174
  "name": "hide-edit",
@@ -2191,7 +2176,11 @@
2191
2176
  "text": "boolean"
2192
2177
  },
2193
2178
  "default": "false",
2194
- "fieldName": "hideEdit"
2179
+ "fieldName": "hideEdit",
2180
+ "inheritedFrom": {
2181
+ "name": "EntityManagement",
2182
+ "module": "src/entities/entities.ts"
2183
+ }
2195
2184
  },
2196
2185
  {
2197
2186
  "name": "hide-delete",
@@ -2199,32 +2188,43 @@
2199
2188
  "text": "boolean"
2200
2189
  },
2201
2190
  "default": "false",
2202
- "fieldName": "hideDelete"
2191
+ "fieldName": "hideDelete",
2192
+ "inheritedFrom": {
2193
+ "name": "EntityManagement",
2194
+ "module": "src/entities/entities.ts"
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "modal-position",
2199
+ "type": {
2200
+ "text": "'centre' | 'left' | 'right'"
2201
+ },
2202
+ "default": "'right'",
2203
+ "description": "Determines where the modal dialog will appear on screen",
2204
+ "fieldName": "modalPosition",
2205
+ "inheritedFrom": {
2206
+ "name": "EntityManagement",
2207
+ "module": "src/entities/entities.ts"
2208
+ }
2203
2209
  }
2204
- ],
2205
- "superclass": {
2206
- "name": "FASTElement",
2207
- "package": "@microsoft/fast-element"
2208
- },
2209
- "tagName": "entity-list",
2210
- "customElement": true
2210
+ ]
2211
2211
  }
2212
2212
  ],
2213
2213
  "exports": [
2214
2214
  {
2215
2215
  "kind": "js",
2216
- "name": "List",
2216
+ "name": "Profiles",
2217
2217
  "declaration": {
2218
- "name": "List",
2219
- "module": "src/list/list.ts"
2218
+ "name": "Profiles",
2219
+ "module": "src/profiles/profiles.ts"
2220
2220
  }
2221
2221
  },
2222
2222
  {
2223
2223
  "kind": "custom-element-definition",
2224
- "name": "entity-list",
2224
+ "name": "profile-management",
2225
2225
  "declaration": {
2226
- "name": "List",
2227
- "module": "src/list/list.ts"
2226
+ "name": "Profiles",
2227
+ "module": "src/profiles/profiles.ts"
2228
2228
  }
2229
2229
  }
2230
2230
  ]