@genesislcap/foundation-entity-management 14.177.2-alpha-ca0c7658ab2.0 → 14.177.3

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +987 -987
  2. package/package.json +21 -21
@@ -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",
@@ -882,7 +847,27 @@
882
847
  },
883
848
  {
884
849
  "kind": "javascript-module",
885
- "path": "src/list/index.ts",
850
+ "path": "src/components/components.ts",
851
+ "declarations": [
852
+ {
853
+ "kind": "function",
854
+ "name": "loadRemotes"
855
+ }
856
+ ],
857
+ "exports": [
858
+ {
859
+ "kind": "js",
860
+ "name": "loadRemotes",
861
+ "declaration": {
862
+ "name": "loadRemotes",
863
+ "module": "src/components/components.ts"
864
+ }
865
+ }
866
+ ]
867
+ },
868
+ {
869
+ "kind": "javascript-module",
870
+ "path": "src/components/index.ts",
886
871
  "declarations": [],
887
872
  "exports": [
888
873
  {
@@ -890,155 +875,157 @@
890
875
  "name": "*",
891
876
  "declaration": {
892
877
  "name": "*",
893
- "package": "./list"
878
+ "package": "./components"
894
879
  }
895
880
  }
896
881
  ]
897
882
  },
898
883
  {
899
884
  "kind": "javascript-module",
900
- "path": "src/list/list.styles.ts",
885
+ "path": "src/layouts/default.ts",
901
886
  "declarations": [
902
887
  {
903
888
  "kind": "variable",
904
- "name": "listStyles",
905
- "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`"
889
+ "name": "loginLayout",
890
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
891
+ },
892
+ {
893
+ "kind": "variable",
894
+ "name": "defaultLayout",
895
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
906
896
  }
907
897
  ],
908
898
  "exports": [
909
899
  {
910
900
  "kind": "js",
911
- "name": "listStyles",
901
+ "name": "loginLayout",
912
902
  "declaration": {
913
- "name": "listStyles",
914
- "module": "src/list/list.styles.ts"
903
+ "name": "loginLayout",
904
+ "module": "src/layouts/default.ts"
905
+ }
906
+ },
907
+ {
908
+ "kind": "js",
909
+ "name": "defaultLayout",
910
+ "declaration": {
911
+ "name": "defaultLayout",
912
+ "module": "src/layouts/default.ts"
915
913
  }
916
914
  }
917
915
  ]
918
916
  },
919
917
  {
920
918
  "kind": "javascript-module",
921
- "path": "src/list/list.template.ts",
919
+ "path": "src/layouts/index.ts",
920
+ "declarations": [],
921
+ "exports": [
922
+ {
923
+ "kind": "js",
924
+ "name": "*",
925
+ "declaration": {
926
+ "name": "*",
927
+ "package": "./default"
928
+ }
929
+ }
930
+ ]
931
+ },
932
+ {
933
+ "kind": "javascript-module",
934
+ "path": "src/main/index.ts",
935
+ "declarations": [],
936
+ "exports": [
937
+ {
938
+ "kind": "js",
939
+ "name": "*",
940
+ "declaration": {
941
+ "name": "*",
942
+ "package": "./main.template"
943
+ }
944
+ },
945
+ {
946
+ "kind": "js",
947
+ "name": "*",
948
+ "declaration": {
949
+ "name": "*",
950
+ "package": "./main"
951
+ }
952
+ }
953
+ ]
954
+ },
955
+ {
956
+ "kind": "javascript-module",
957
+ "path": "src/main/main.styles.ts",
922
958
  "declarations": [
923
959
  {
924
- "kind": "function",
925
- "name": "getPrefixedList",
926
- "parameters": [
927
- {
928
- "name": "prefix"
929
- }
930
- ]
960
+ "kind": "variable",
961
+ "name": "MainStyles",
962
+ "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`"
931
963
  }
932
964
  ],
933
965
  "exports": [
934
966
  {
935
967
  "kind": "js",
936
- "name": "getPrefixedList",
968
+ "name": "MainStyles",
937
969
  "declaration": {
938
- "name": "getPrefixedList",
939
- "module": "src/list/list.template.ts"
970
+ "name": "MainStyles",
971
+ "module": "src/main/main.styles.ts"
940
972
  }
941
973
  }
942
974
  ]
943
975
  },
944
976
  {
945
977
  "kind": "javascript-module",
946
- "path": "src/list/list.ts",
978
+ "path": "src/main/main.template.ts",
979
+ "declarations": [],
980
+ "exports": []
981
+ },
982
+ {
983
+ "kind": "javascript-module",
984
+ "path": "src/main/main.ts",
947
985
  "declarations": [
948
986
  {
949
987
  "kind": "class",
950
988
  "description": "",
951
- "name": "List",
989
+ "name": "MainApplication",
952
990
  "members": [
953
991
  {
954
992
  "kind": "field",
955
- "name": "prefix",
956
- "type": {
957
- "text": "string"
958
- },
959
- "default": "'zero'",
960
- "description": "Name of the design system prefix that will be used in renderers.",
961
- "privacy": "public"
962
- },
963
- {
964
- "kind": "field",
965
- "name": "resourceName",
966
- "type": {
967
- "text": "string"
968
- },
969
- "default": "''"
970
- },
971
- {
972
- "kind": "field",
973
- "name": "title",
974
- "type": {
975
- "text": "string"
976
- },
977
- "default": "''"
978
- },
979
- {
980
- "kind": "field",
981
- "name": "persistColumnStateKey",
993
+ "name": "config",
982
994
  "type": {
983
- "text": "string"
995
+ "text": "MainRouterConfig"
984
996
  }
985
997
  },
986
998
  {
987
999
  "kind": "field",
988
- "name": "sizeColumnsToFit",
1000
+ "name": "connect",
989
1001
  "type": {
990
- "text": "boolean"
1002
+ "text": "Connect"
991
1003
  }
992
1004
  },
993
1005
  {
994
1006
  "kind": "field",
995
- "name": "rowSelection",
1007
+ "name": "session",
996
1008
  "type": {
997
- "text": "string"
1009
+ "text": "Session"
998
1010
  }
999
1011
  },
1000
1012
  {
1001
1013
  "kind": "field",
1002
- "name": "enableFilterBar",
1014
+ "name": "container",
1003
1015
  "type": {
1004
- "text": "boolean"
1016
+ "text": "Container"
1005
1017
  }
1006
1018
  },
1007
1019
  {
1008
1020
  "kind": "field",
1009
- "name": "asyncAdd",
1010
- "type": {
1011
- "text": "boolean"
1012
- },
1013
- "default": "false"
1014
- },
1015
- {
1016
- "kind": "field",
1017
- "name": "asyncRemove",
1018
- "type": {
1019
- "text": "boolean"
1020
- },
1021
- "default": "false"
1022
- },
1023
- {
1024
- "kind": "field",
1025
- "name": "asyncUpdate",
1026
- "type": {
1027
- "text": "boolean"
1028
- },
1029
- "default": "true"
1030
- },
1031
- {
1032
- "kind": "field",
1033
- "name": "enableCellFlashing",
1021
+ "name": "provider",
1034
1022
  "type": {
1035
- "text": "boolean"
1036
- },
1037
- "default": "false"
1023
+ "text": "any"
1024
+ }
1038
1025
  },
1039
1026
  {
1040
1027
  "kind": "field",
1041
- "name": "enableRowFlashing",
1028
+ "name": "ready",
1042
1029
  "type": {
1043
1030
  "text": "boolean"
1044
1031
  },
@@ -1046,551 +1033,678 @@
1046
1033
  },
1047
1034
  {
1048
1035
  "kind": "field",
1049
- "name": "hideEdit",
1036
+ "name": "data",
1050
1037
  "type": {
1051
- "text": "boolean"
1038
+ "text": "any"
1052
1039
  },
1053
- "default": "false"
1040
+ "default": "null"
1054
1041
  },
1055
1042
  {
1056
- "kind": "field",
1057
- "name": "hideDelete",
1058
- "type": {
1059
- "text": "boolean"
1060
- },
1061
- "default": "false"
1043
+ "kind": "method",
1044
+ "name": "onLuminanceToggle"
1062
1045
  },
1063
1046
  {
1064
- "kind": "field",
1065
- "name": "headerCaseType",
1066
- "type": {
1067
- "text": "GridProCaseType"
1068
- }
1047
+ "kind": "method",
1048
+ "name": "loadRemotes"
1069
1049
  },
1070
1050
  {
1071
- "kind": "field",
1072
- "name": "grid",
1073
- "type": {
1074
- "text": "ZeroGridPro"
1075
- },
1076
- "privacy": "public"
1051
+ "kind": "method",
1052
+ "name": "selectTemplate"
1077
1053
  },
1078
1054
  {
1079
- "kind": "field",
1080
- "name": "datasource",
1081
- "type": {
1082
- "text": "GridProGenesisDatasource"
1083
- },
1084
- "privacy": "public"
1055
+ "kind": "method",
1056
+ "name": "registerDIDependencies",
1057
+ "privacy": "private"
1058
+ }
1059
+ ],
1060
+ "superclass": {
1061
+ "name": "FASTElement",
1062
+ "package": "@microsoft/fast-element"
1063
+ },
1064
+ "customElement": true
1065
+ }
1066
+ ],
1067
+ "exports": [
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "MainApplication",
1071
+ "declaration": {
1072
+ "name": "MainApplication",
1073
+ "module": "src/main/main.ts"
1074
+ }
1075
+ },
1076
+ {
1077
+ "kind": "custom-element-definition",
1078
+ "declaration": {
1079
+ "name": "MainApplication",
1080
+ "module": "src/main/main.ts"
1081
+ }
1082
+ }
1083
+ ]
1084
+ },
1085
+ {
1086
+ "kind": "javascript-module",
1087
+ "path": "src/profiles/editProfileSchema.ts",
1088
+ "declarations": [
1089
+ {
1090
+ "kind": "variable",
1091
+ "name": "editProfileFormSchema",
1092
+ "type": {
1093
+ "text": "object"
1094
+ },
1095
+ "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}"
1096
+ }
1097
+ ],
1098
+ "exports": [
1099
+ {
1100
+ "kind": "js",
1101
+ "name": "editProfileFormSchema",
1102
+ "declaration": {
1103
+ "name": "editProfileFormSchema",
1104
+ "module": "src/profiles/editProfileSchema.ts"
1105
+ }
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "kind": "javascript-module",
1111
+ "path": "src/profiles/profiles.ts",
1112
+ "declarations": [
1113
+ {
1114
+ "kind": "class",
1115
+ "description": "Main class which defined the profile management functionality",
1116
+ "name": "Profiles",
1117
+ "members": [
1118
+ {
1119
+ "kind": "method",
1120
+ "name": "readProfileData",
1121
+ "privacy": "public",
1122
+ "parameters": [
1123
+ {
1124
+ "name": "profile"
1125
+ }
1126
+ ]
1085
1127
  },
1086
1128
  {
1087
- "kind": "field",
1088
- "name": "gridOptions",
1089
- "type": {
1090
- "text": "GridOptions"
1129
+ "kind": "method",
1130
+ "name": "confirmDelete",
1131
+ "inheritedFrom": {
1132
+ "name": "EntityManagement",
1133
+ "module": "src/entities/entities.ts"
1091
1134
  }
1092
1135
  },
1093
1136
  {
1094
1137
  "kind": "field",
1095
- "name": "columns",
1138
+ "name": "createEvent",
1096
1139
  "type": {
1097
- "text": "ColDef[]"
1140
+ "text": "string"
1141
+ },
1142
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1143
+ "privacy": "public",
1144
+ "inheritedFrom": {
1145
+ "name": "EntityManagement",
1146
+ "module": "src/entities/entities.ts"
1098
1147
  }
1099
1148
  },
1100
1149
  {
1101
1150
  "kind": "field",
1102
- "name": "datasourceConfig",
1151
+ "name": "deleteEvent",
1103
1152
  "type": {
1104
- "text": "DatasourceConfiguration"
1153
+ "text": "string"
1154
+ },
1155
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1156
+ "privacy": "public",
1157
+ "inheritedFrom": {
1158
+ "name": "EntityManagement",
1159
+ "module": "src/entities/entities.ts"
1105
1160
  }
1106
1161
  },
1107
1162
  {
1108
1163
  "kind": "field",
1109
- "name": "actionButtonsConfig",
1164
+ "name": "updateEvent",
1110
1165
  "type": {
1111
- "text": "array"
1166
+ "text": "string"
1112
1167
  },
1113
- "default": "[]"
1168
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1169
+ "privacy": "public",
1170
+ "inheritedFrom": {
1171
+ "name": "EntityManagement",
1172
+ "module": "src/entities/entities.ts"
1173
+ }
1114
1174
  },
1115
1175
  {
1116
1176
  "kind": "field",
1117
- "name": "deleteEvent",
1177
+ "name": "persistColumnStateKey",
1118
1178
  "type": {
1119
1179
  "text": "string"
1180
+ },
1181
+ "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.",
1182
+ "privacy": "public",
1183
+ "default": "'entity_profiles_management'",
1184
+ "inheritedFrom": {
1185
+ "name": "EntityManagement",
1186
+ "module": "src/entities/entities.ts"
1120
1187
  }
1121
1188
  },
1122
1189
  {
1123
1190
  "kind": "field",
1124
- "name": "updateEvent",
1191
+ "name": "updateFormUiSchema",
1125
1192
  "type": {
1126
- "text": "string"
1193
+ "text": "any"
1194
+ },
1195
+ "default": "editProfileFormSchema",
1196
+ "inheritedFrom": {
1197
+ "name": "EntityManagement",
1198
+ "module": "src/entities/entities.ts"
1127
1199
  }
1128
1200
  },
1129
1201
  {
1130
1202
  "kind": "field",
1131
- "name": "connect",
1203
+ "name": "createFormUiSchema",
1132
1204
  "type": {
1133
- "text": "Connect"
1205
+ "text": "any"
1134
1206
  },
1135
- "privacy": "protected"
1136
- },
1137
- {
1138
- "kind": "method",
1139
- "name": "onCellEditingStopped",
1140
- "privacy": "private",
1141
- "parameters": [
1142
- {
1143
- "name": "event",
1144
- "type": {
1145
- "text": "CellEditRequestEvent"
1146
- }
1147
- }
1148
- ]
1149
- },
1150
- {
1151
- "kind": "method",
1152
- "name": "handleFilterChanged",
1153
- "privacy": "private",
1154
- "parameters": [
1155
- {
1156
- "name": "e"
1157
- }
1158
- ]
1159
- },
1160
- {
1161
- "kind": "method",
1162
- "name": "handleFilterCleared",
1163
- "privacy": "private",
1164
- "parameters": [
1165
- {
1166
- "name": "e"
1167
- }
1168
- ]
1169
- },
1170
- {
1171
- "kind": "method",
1172
- "name": "select",
1173
- "privacy": "private",
1174
- "parameters": [
1175
- {
1176
- "name": "e"
1177
- }
1178
- ]
1207
+ "default": "editProfileFormSchema",
1208
+ "inheritedFrom": {
1209
+ "name": "EntityManagement",
1210
+ "module": "src/entities/entities.ts"
1211
+ }
1179
1212
  },
1180
1213
  {
1181
1214
  "kind": "field",
1182
- "name": "edit",
1183
- "privacy": "private"
1184
- },
1185
- {
1186
- "kind": "method",
1187
- "name": "delete",
1188
- "parameters": [
1189
- {
1190
- "name": "e"
1191
- }
1192
- ]
1193
- }
1194
- ],
1195
- "attributes": [
1196
- {
1197
- "name": "design-system-prefix",
1215
+ "name": "readEventFn",
1198
1216
  "type": {
1199
- "text": "string"
1217
+ "text": "(...args) => {}"
1200
1218
  },
1201
- "default": "'zero'",
1202
- "description": "Name of the design system prefix that will be used in renderers.",
1203
- "fieldName": "prefix"
1219
+ "inheritedFrom": {
1220
+ "name": "EntityManagement",
1221
+ "module": "src/entities/entities.ts"
1222
+ }
1204
1223
  },
1205
1224
  {
1225
+ "kind": "field",
1206
1226
  "name": "resourceName",
1207
1227
  "type": {
1208
1228
  "text": "string"
1209
1229
  },
1210
- "default": "''",
1211
- "fieldName": "resourceName"
1230
+ "description": "Name of the backend resource which contain the entities to manage",
1231
+ "privacy": "public",
1232
+ "default": "'ALL_PROFILES'",
1233
+ "inheritedFrom": {
1234
+ "name": "EntityManagement",
1235
+ "module": "src/entities/entities.ts"
1236
+ }
1212
1237
  },
1213
1238
  {
1239
+ "kind": "field",
1214
1240
  "name": "title",
1215
1241
  "type": {
1216
1242
  "text": "string"
1217
1243
  },
1218
- "default": "''",
1219
- "fieldName": "title"
1244
+ "description": "Title of the grid",
1245
+ "privacy": "public",
1246
+ "default": "'Profile Management'",
1247
+ "inheritedFrom": {
1248
+ "name": "EntityManagement",
1249
+ "module": "src/entities/entities.ts"
1250
+ }
1220
1251
  },
1221
1252
  {
1222
- "name": "persist-column-state-key",
1253
+ "kind": "field",
1254
+ "name": "entityLabel",
1223
1255
  "type": {
1224
1256
  "text": "string"
1225
1257
  },
1226
- "fieldName": "persistColumnStateKey"
1258
+ "default": "'Profile'",
1259
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1260
+ "privacy": "public",
1261
+ "inheritedFrom": {
1262
+ "name": "EntityManagement",
1263
+ "module": "src/entities/entities.ts"
1264
+ }
1227
1265
  },
1228
1266
  {
1229
- "name": "size-columns-to-fit",
1267
+ "kind": "field",
1268
+ "name": "connect",
1230
1269
  "type": {
1231
- "text": "boolean"
1270
+ "text": "Connect"
1232
1271
  },
1233
- "fieldName": "sizeColumnsToFit"
1272
+ "privacy": "protected",
1273
+ "description": "DI connect object which is used to interact with the backend.",
1274
+ "inheritedFrom": {
1275
+ "name": "EntityManagement",
1276
+ "module": "src/entities/entities.ts"
1277
+ }
1234
1278
  },
1235
1279
  {
1236
- "name": "row-selection",
1280
+ "kind": "field",
1281
+ "name": "prefix",
1237
1282
  "type": {
1238
1283
  "text": "string"
1239
1284
  },
1240
- "fieldName": "rowSelection"
1285
+ "default": "'zero'",
1286
+ "description": "Name of the design system prefix that will be used in renderers.",
1287
+ "privacy": "public",
1288
+ "inheritedFrom": {
1289
+ "name": "EntityManagement",
1290
+ "module": "src/entities/entities.ts"
1291
+ }
1241
1292
  },
1242
1293
  {
1243
- "name": "enable-filter-bar",
1294
+ "kind": "field",
1295
+ "name": "readEvent",
1296
+ "type": {
1297
+ "text": "string"
1298
+ },
1299
+ "inheritedFrom": {
1300
+ "name": "EntityManagement",
1301
+ "module": "src/entities/entities.ts"
1302
+ }
1303
+ },
1304
+ {
1305
+ "kind": "field",
1306
+ "name": "readonly",
1244
1307
  "type": {
1245
1308
  "text": "boolean"
1246
1309
  },
1247
- "fieldName": "enableFilterBar"
1310
+ "inheritedFrom": {
1311
+ "name": "EntityManagement",
1312
+ "module": "src/entities/entities.ts"
1313
+ }
1248
1314
  },
1249
1315
  {
1250
- "name": "async-add",
1316
+ "kind": "field",
1317
+ "name": "asyncAdd",
1251
1318
  "type": {
1252
1319
  "text": "boolean"
1253
1320
  },
1254
1321
  "default": "false",
1255
- "fieldName": "asyncAdd"
1322
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1323
+ "privacy": "public",
1324
+ "inheritedFrom": {
1325
+ "name": "EntityManagement",
1326
+ "module": "src/entities/entities.ts"
1327
+ }
1256
1328
  },
1257
1329
  {
1258
- "name": "async-remove",
1330
+ "kind": "field",
1331
+ "name": "asyncRemove",
1259
1332
  "type": {
1260
1333
  "text": "boolean"
1261
1334
  },
1262
1335
  "default": "false",
1263
- "fieldName": "asyncRemove"
1336
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1337
+ "privacy": "public",
1338
+ "inheritedFrom": {
1339
+ "name": "EntityManagement",
1340
+ "module": "src/entities/entities.ts"
1341
+ }
1264
1342
  },
1265
1343
  {
1266
- "name": "async-update",
1344
+ "kind": "field",
1345
+ "name": "asyncUpdate",
1267
1346
  "type": {
1268
1347
  "text": "boolean"
1269
1348
  },
1270
1349
  "default": "true",
1271
- "fieldName": "asyncUpdate"
1350
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1351
+ "privacy": "public",
1352
+ "inheritedFrom": {
1353
+ "name": "EntityManagement",
1354
+ "module": "src/entities/entities.ts"
1355
+ }
1272
1356
  },
1273
1357
  {
1274
- "name": "enable-cell-flashing",
1358
+ "kind": "field",
1359
+ "name": "rowSelection",
1360
+ "type": {
1361
+ "text": "string"
1362
+ },
1363
+ "default": "'single'",
1364
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1365
+ "privacy": "public",
1366
+ "inheritedFrom": {
1367
+ "name": "EntityManagement",
1368
+ "module": "src/entities/entities.ts"
1369
+ }
1370
+ },
1371
+ {
1372
+ "kind": "field",
1373
+ "name": "enableCellFlashing",
1275
1374
  "type": {
1276
1375
  "text": "boolean"
1277
1376
  },
1278
1377
  "default": "false",
1279
- "fieldName": "enableCellFlashing"
1378
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1379
+ "privacy": "public",
1380
+ "inheritedFrom": {
1381
+ "name": "EntityManagement",
1382
+ "module": "src/entities/entities.ts"
1383
+ }
1280
1384
  },
1281
1385
  {
1282
- "name": "enable-row-flashing",
1386
+ "kind": "field",
1387
+ "name": "enableRowFlashing",
1283
1388
  "type": {
1284
1389
  "text": "boolean"
1285
1390
  },
1286
1391
  "default": "false",
1287
- "fieldName": "enableRowFlashing"
1392
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
1393
+ "privacy": "public",
1394
+ "inheritedFrom": {
1395
+ "name": "EntityManagement",
1396
+ "module": "src/entities/entities.ts"
1397
+ }
1288
1398
  },
1289
1399
  {
1290
- "name": "hide-edit",
1400
+ "kind": "field",
1401
+ "name": "gridOptions",
1402
+ "type": {
1403
+ "text": "GridOptions"
1404
+ },
1405
+ "description": "GridOptions to be passed down from application",
1406
+ "privacy": "public",
1407
+ "inheritedFrom": {
1408
+ "name": "EntityManagement",
1409
+ "module": "src/entities/entities.ts"
1410
+ }
1411
+ },
1412
+ {
1413
+ "kind": "field",
1414
+ "name": "columns",
1415
+ "type": {
1416
+ "text": "ColDef[]"
1417
+ },
1418
+ "description": "Array which holds the column definitions.",
1419
+ "privacy": "public",
1420
+ "inheritedFrom": {
1421
+ "name": "EntityManagement",
1422
+ "module": "src/entities/entities.ts"
1423
+ }
1424
+ },
1425
+ {
1426
+ "kind": "field",
1427
+ "name": "datasourceConfig",
1428
+ "type": {
1429
+ "text": "DatasourceConfiguration"
1430
+ },
1431
+ "description": "The configuration which is used when interacting with the resource on the backend",
1432
+ "privacy": "public",
1433
+ "inheritedFrom": {
1434
+ "name": "EntityManagement",
1435
+ "module": "src/entities/entities.ts"
1436
+ }
1437
+ },
1438
+ {
1439
+ "kind": "field",
1440
+ "name": "formUiSchema",
1441
+ "type": {
1442
+ "text": "any"
1443
+ },
1444
+ "inheritedFrom": {
1445
+ "name": "EntityManagement",
1446
+ "module": "src/entities/entities.ts"
1447
+ }
1448
+ },
1449
+ {
1450
+ "kind": "field",
1451
+ "name": "formRenderers",
1452
+ "type": {
1453
+ "text": "RendererEntry[]"
1454
+ },
1455
+ "default": "renderers",
1456
+ "description": "Array with renderers used by foundation-forms",
1457
+ "privacy": "public",
1458
+ "inheritedFrom": {
1459
+ "name": "EntityManagement",
1460
+ "module": "src/entities/entities.ts"
1461
+ }
1462
+ },
1463
+ {
1464
+ "kind": "field",
1465
+ "name": "selectedEntity",
1466
+ "type": {
1467
+ "text": "any"
1468
+ },
1469
+ "description": "Reference to the currently selected entity from the grid.",
1470
+ "privacy": "public",
1471
+ "inheritedFrom": {
1472
+ "name": "EntityManagement",
1473
+ "module": "src/entities/entities.ts"
1474
+ }
1475
+ },
1476
+ {
1477
+ "kind": "field",
1478
+ "name": "editedEntity",
1479
+ "type": {
1480
+ "text": "any"
1481
+ },
1482
+ "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1483
+ "privacy": "public",
1484
+ "inheritedFrom": {
1485
+ "name": "EntityManagement",
1486
+ "module": "src/entities/entities.ts"
1487
+ }
1488
+ },
1489
+ {
1490
+ "kind": "field",
1491
+ "name": "submitting",
1291
1492
  "type": {
1292
1493
  "text": "boolean"
1293
1494
  },
1294
- "default": "false",
1295
- "fieldName": "hideEdit"
1495
+ "inheritedFrom": {
1496
+ "name": "EntityManagement",
1497
+ "module": "src/entities/entities.ts"
1498
+ }
1296
1499
  },
1297
1500
  {
1298
- "name": "hide-delete",
1501
+ "kind": "field",
1502
+ "name": "defaultEntityValues",
1503
+ "type": {
1504
+ "text": "any"
1505
+ },
1506
+ "inheritedFrom": {
1507
+ "name": "EntityManagement",
1508
+ "module": "src/entities/entities.ts"
1509
+ }
1510
+ },
1511
+ {
1512
+ "kind": "field",
1513
+ "name": "editDialogTitle",
1514
+ "type": {
1515
+ "text": "string"
1516
+ },
1517
+ "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1518
+ "inheritedFrom": {
1519
+ "name": "EntityManagement",
1520
+ "module": "src/entities/entities.ts"
1521
+ }
1522
+ },
1523
+ {
1524
+ "kind": "field",
1525
+ "name": "editModalVisible",
1299
1526
  "type": {
1300
1527
  "text": "boolean"
1301
1528
  },
1302
1529
  "default": "false",
1303
- "fieldName": "hideDelete"
1530
+ "inheritedFrom": {
1531
+ "name": "EntityManagement",
1532
+ "module": "src/entities/entities.ts"
1533
+ }
1304
1534
  },
1305
1535
  {
1306
- "name": "header-case-type",
1536
+ "kind": "method",
1537
+ "name": "editModalVisibleChanged",
1538
+ "inheritedFrom": {
1539
+ "name": "EntityManagement",
1540
+ "module": "src/entities/entities.ts"
1541
+ }
1542
+ },
1543
+ {
1544
+ "kind": "field",
1545
+ "name": "editEntityModal",
1307
1546
  "type": {
1308
- "text": "GridProCaseType"
1547
+ "text": "any"
1309
1548
  },
1310
- "fieldName": "headerCaseType"
1311
- }
1312
- ],
1313
- "mixins": [
1549
+ "privacy": "public",
1550
+ "inheritedFrom": {
1551
+ "name": "EntityManagement",
1552
+ "module": "src/entities/entities.ts"
1553
+ }
1554
+ },
1314
1555
  {
1315
- "name": "LifecycleMixin",
1316
- "package": "@genesislcap/foundation-utils"
1317
- }
1318
- ],
1319
- "superclass": {
1320
- "name": "FASTElement",
1321
- "package": "@microsoft/fast-element"
1322
- },
1323
- "tagName": "entity-list",
1324
- "customElement": true
1325
- }
1326
- ],
1327
- "exports": [
1328
- {
1329
- "kind": "js",
1330
- "name": "List",
1331
- "declaration": {
1332
- "name": "List",
1333
- "module": "src/list/list.ts"
1334
- }
1335
- },
1336
- {
1337
- "kind": "custom-element-definition",
1338
- "name": "entity-list",
1339
- "declaration": {
1340
- "name": "List",
1341
- "module": "src/list/list.ts"
1342
- }
1343
- }
1344
- ]
1345
- },
1346
- {
1347
- "kind": "javascript-module",
1348
- "path": "src/layouts/default.ts",
1349
- "declarations": [
1350
- {
1351
- "kind": "variable",
1352
- "name": "loginLayout",
1353
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1354
- },
1355
- {
1356
- "kind": "variable",
1357
- "name": "defaultLayout",
1358
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
1359
- }
1360
- ],
1361
- "exports": [
1362
- {
1363
- "kind": "js",
1364
- "name": "loginLayout",
1365
- "declaration": {
1366
- "name": "loginLayout",
1367
- "module": "src/layouts/default.ts"
1368
- }
1369
- },
1370
- {
1371
- "kind": "js",
1372
- "name": "defaultLayout",
1373
- "declaration": {
1374
- "name": "defaultLayout",
1375
- "module": "src/layouts/default.ts"
1376
- }
1377
- }
1378
- ]
1379
- },
1380
- {
1381
- "kind": "javascript-module",
1382
- "path": "src/layouts/index.ts",
1383
- "declarations": [],
1384
- "exports": [
1385
- {
1386
- "kind": "js",
1387
- "name": "*",
1388
- "declaration": {
1389
- "name": "*",
1390
- "package": "./default"
1391
- }
1392
- }
1393
- ]
1394
- },
1395
- {
1396
- "kind": "javascript-module",
1397
- "path": "src/main/index.ts",
1398
- "declarations": [],
1399
- "exports": [
1400
- {
1401
- "kind": "js",
1402
- "name": "*",
1403
- "declaration": {
1404
- "name": "*",
1405
- "package": "./main.template"
1406
- }
1407
- },
1408
- {
1409
- "kind": "js",
1410
- "name": "*",
1411
- "declaration": {
1412
- "name": "*",
1413
- "package": "./main"
1414
- }
1415
- }
1416
- ]
1417
- },
1418
- {
1419
- "kind": "javascript-module",
1420
- "path": "src/main/main.styles.ts",
1421
- "declarations": [
1422
- {
1423
- "kind": "variable",
1424
- "name": "MainStyles",
1425
- "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`"
1426
- }
1427
- ],
1428
- "exports": [
1429
- {
1430
- "kind": "js",
1431
- "name": "MainStyles",
1432
- "declaration": {
1433
- "name": "MainStyles",
1434
- "module": "src/main/main.styles.ts"
1435
- }
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "kind": "javascript-module",
1441
- "path": "src/main/main.template.ts",
1442
- "declarations": [],
1443
- "exports": []
1444
- },
1445
- {
1446
- "kind": "javascript-module",
1447
- "path": "src/main/main.ts",
1448
- "declarations": [
1449
- {
1450
- "kind": "class",
1451
- "description": "",
1452
- "name": "MainApplication",
1453
- "members": [
1556
+ "kind": "field",
1557
+ "name": "sizeColumnsToFit",
1558
+ "type": {
1559
+ "text": "boolean"
1560
+ },
1561
+ "inheritedFrom": {
1562
+ "name": "EntityManagement",
1563
+ "module": "src/entities/entities.ts"
1564
+ }
1565
+ },
1454
1566
  {
1455
1567
  "kind": "field",
1456
- "name": "config",
1568
+ "name": "enableFilterBar",
1457
1569
  "type": {
1458
- "text": "MainRouterConfig"
1570
+ "text": "boolean"
1571
+ },
1572
+ "inheritedFrom": {
1573
+ "name": "EntityManagement",
1574
+ "module": "src/entities/entities.ts"
1459
1575
  }
1460
1576
  },
1461
1577
  {
1462
1578
  "kind": "field",
1463
- "name": "connect",
1579
+ "name": "hideEdit",
1464
1580
  "type": {
1465
- "text": "Connect"
1581
+ "text": "boolean"
1582
+ },
1583
+ "default": "false",
1584
+ "inheritedFrom": {
1585
+ "name": "EntityManagement",
1586
+ "module": "src/entities/entities.ts"
1466
1587
  }
1467
1588
  },
1468
1589
  {
1469
1590
  "kind": "field",
1470
- "name": "session",
1591
+ "name": "hideDelete",
1471
1592
  "type": {
1472
- "text": "Session"
1593
+ "text": "boolean"
1594
+ },
1595
+ "default": "false",
1596
+ "inheritedFrom": {
1597
+ "name": "EntityManagement",
1598
+ "module": "src/entities/entities.ts"
1473
1599
  }
1474
1600
  },
1475
1601
  {
1476
1602
  "kind": "field",
1477
- "name": "container",
1603
+ "name": "enableSearchBar",
1478
1604
  "type": {
1479
- "text": "Container"
1605
+ "text": "boolean"
1606
+ },
1607
+ "default": "false",
1608
+ "description": "This attribute controls whether to enable the search-bar.",
1609
+ "privacy": "public",
1610
+ "inheritedFrom": {
1611
+ "name": "EntityManagement",
1612
+ "module": "src/entities/entities.ts"
1480
1613
  }
1481
1614
  },
1482
1615
  {
1483
1616
  "kind": "field",
1484
- "name": "provider",
1617
+ "name": "headerCaseType",
1485
1618
  "type": {
1486
- "text": "any"
1619
+ "text": "GridProCaseType"
1620
+ },
1621
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1622
+ "privacy": "public",
1623
+ "inheritedFrom": {
1624
+ "name": "EntityManagement",
1625
+ "module": "src/entities/entities.ts"
1487
1626
  }
1488
1627
  },
1489
1628
  {
1490
1629
  "kind": "field",
1491
- "name": "ready",
1630
+ "name": "searchBarConfig",
1492
1631
  "type": {
1493
- "text": "boolean"
1632
+ "text": "AvailableOption[]"
1494
1633
  },
1495
- "default": "false"
1634
+ "inheritedFrom": {
1635
+ "name": "EntityManagement",
1636
+ "module": "src/entities/entities.ts"
1637
+ }
1496
1638
  },
1497
1639
  {
1498
1640
  "kind": "field",
1499
- "name": "data",
1641
+ "name": "modalPosition",
1500
1642
  "type": {
1501
- "text": "any"
1643
+ "text": "'centre' | 'left' | 'right'"
1502
1644
  },
1503
- "default": "null"
1504
- },
1505
- {
1506
- "kind": "method",
1507
- "name": "onLuminanceToggle"
1645
+ "default": "'right'",
1646
+ "description": "Determines where the modal dialog will appear on screen",
1647
+ "privacy": "public",
1648
+ "inheritedFrom": {
1649
+ "name": "EntityManagement",
1650
+ "module": "src/entities/entities.ts"
1651
+ }
1508
1652
  },
1509
1653
  {
1510
1654
  "kind": "method",
1511
- "name": "loadRemotes"
1655
+ "name": "deepClone",
1656
+ "return": {
1657
+ "type": {
1658
+ "text": "Node"
1659
+ }
1660
+ },
1661
+ "description": "Override the deepClone method to ensure that observable attributes are cloned",
1662
+ "privacy": "public",
1663
+ "inheritedFrom": {
1664
+ "name": "EntityManagement",
1665
+ "module": "src/entities/entities.ts"
1666
+ }
1512
1667
  },
1513
1668
  {
1514
1669
  "kind": "method",
1515
- "name": "selectTemplate"
1670
+ "name": "submitEntityChanges",
1671
+ "privacy": "public",
1672
+ "parameters": [
1673
+ {
1674
+ "name": "e",
1675
+ "type": {
1676
+ "text": "CustomEvent"
1677
+ },
1678
+ "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
1679
+ }
1680
+ ],
1681
+ "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
1682
+ "inheritedFrom": {
1683
+ "name": "EntityManagement",
1684
+ "module": "src/entities/entities.ts"
1685
+ }
1516
1686
  },
1517
1687
  {
1518
1688
  "kind": "method",
1519
- "name": "registerDIDependencies",
1520
- "privacy": "private"
1521
- }
1522
- ],
1523
- "superclass": {
1524
- "name": "FASTElement",
1525
- "package": "@microsoft/fast-element"
1526
- },
1527
- "customElement": true
1528
- }
1529
- ],
1530
- "exports": [
1531
- {
1532
- "kind": "js",
1533
- "name": "MainApplication",
1534
- "declaration": {
1535
- "name": "MainApplication",
1536
- "module": "src/main/main.ts"
1537
- }
1538
- },
1539
- {
1540
- "kind": "custom-element-definition",
1541
- "declaration": {
1542
- "name": "MainApplication",
1543
- "module": "src/main/main.ts"
1544
- }
1545
- }
1546
- ]
1547
- },
1548
- {
1549
- "kind": "javascript-module",
1550
- "path": "src/profiles/editProfileSchema.ts",
1551
- "declarations": [
1552
- {
1553
- "kind": "variable",
1554
- "name": "editProfileFormSchema",
1555
- "type": {
1556
- "text": "object"
1557
- },
1558
- "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}"
1559
- }
1560
- ],
1561
- "exports": [
1562
- {
1563
- "kind": "js",
1564
- "name": "editProfileFormSchema",
1565
- "declaration": {
1566
- "name": "editProfileFormSchema",
1567
- "module": "src/profiles/editProfileSchema.ts"
1568
- }
1569
- }
1570
- ]
1571
- },
1572
- {
1573
- "kind": "javascript-module",
1574
- "path": "src/profiles/profiles.ts",
1575
- "declarations": [
1576
- {
1577
- "kind": "class",
1578
- "description": "Main class which defined the profile management functionality",
1579
- "name": "Profiles",
1580
- "members": [
1581
- {
1582
- "kind": "method",
1583
- "name": "readProfileData",
1584
- "privacy": "public",
1689
+ "name": "readEntity",
1690
+ "privacy": "private",
1585
1691
  "parameters": [
1586
1692
  {
1587
- "name": "profile"
1693
+ "name": "e",
1694
+ "type": {
1695
+ "text": "CustomEvent"
1696
+ }
1588
1697
  }
1589
- ]
1698
+ ],
1699
+ "inheritedFrom": {
1700
+ "name": "EntityManagement",
1701
+ "module": "src/entities/entities.ts"
1702
+ }
1590
1703
  },
1591
1704
  {
1592
1705
  "kind": "method",
1593
- "name": "confirmDelete",
1706
+ "name": "closeModal",
1707
+ "privacy": "public",
1594
1708
  "inheritedFrom": {
1595
1709
  "name": "EntityManagement",
1596
1710
  "module": "src/entities/entities.ts"
@@ -1598,658 +1712,697 @@
1598
1712
  },
1599
1713
  {
1600
1714
  "kind": "field",
1601
- "name": "createEvent",
1602
- "type": {
1603
- "text": "string"
1604
- },
1605
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1606
- "privacy": "public",
1715
+ "name": "headerTempalate",
1716
+ "readonly": true,
1607
1717
  "inheritedFrom": {
1608
1718
  "name": "EntityManagement",
1609
1719
  "module": "src/entities/entities.ts"
1610
1720
  }
1611
1721
  },
1612
1722
  {
1613
- "kind": "field",
1614
- "name": "deleteEvent",
1615
- "type": {
1616
- "text": "string"
1617
- },
1618
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1723
+ "kind": "method",
1724
+ "name": "searchChanged",
1619
1725
  "privacy": "public",
1726
+ "parameters": [
1727
+ {
1728
+ "name": "event",
1729
+ "type": {
1730
+ "text": "CustomEvent<Array<SelectedOption>>"
1731
+ }
1732
+ }
1733
+ ],
1620
1734
  "inheritedFrom": {
1621
1735
  "name": "EntityManagement",
1622
1736
  "module": "src/entities/entities.ts"
1623
1737
  }
1624
1738
  },
1625
1739
  {
1626
- "kind": "field",
1627
- "name": "updateEvent",
1628
- "type": {
1629
- "text": "string"
1630
- },
1631
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1740
+ "kind": "method",
1741
+ "name": "criteriaChanged",
1632
1742
  "privacy": "public",
1743
+ "parameters": [
1744
+ {
1745
+ "name": "e",
1746
+ "type": {
1747
+ "text": "CustomEvent<string>"
1748
+ }
1749
+ }
1750
+ ],
1633
1751
  "inheritedFrom": {
1634
1752
  "name": "EntityManagement",
1635
1753
  "module": "src/entities/entities.ts"
1636
1754
  }
1637
1755
  },
1638
1756
  {
1639
- "kind": "field",
1640
- "name": "persistColumnStateKey",
1641
- "type": {
1642
- "text": "string"
1643
- },
1644
- "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.",
1757
+ "kind": "method",
1758
+ "name": "submitFailureNotification",
1645
1759
  "privacy": "public",
1646
- "default": "'entity_profiles_management'",
1760
+ "parameters": [
1761
+ {
1762
+ "name": "e",
1763
+ "type": {
1764
+ "text": "CustomEvent"
1765
+ }
1766
+ }
1767
+ ],
1647
1768
  "inheritedFrom": {
1648
1769
  "name": "EntityManagement",
1649
1770
  "module": "src/entities/entities.ts"
1650
1771
  }
1651
1772
  },
1652
1773
  {
1653
- "kind": "field",
1654
- "name": "updateFormUiSchema",
1655
- "type": {
1656
- "text": "any"
1657
- },
1658
- "default": "editProfileFormSchema",
1774
+ "kind": "method",
1775
+ "name": "showDeleteConfirmation",
1776
+ "privacy": "private",
1659
1777
  "inheritedFrom": {
1660
1778
  "name": "EntityManagement",
1661
1779
  "module": "src/entities/entities.ts"
1662
1780
  }
1663
- },
1781
+ }
1782
+ ],
1783
+ "superclass": {
1784
+ "name": "EntityManagement",
1785
+ "module": "/src/entities"
1786
+ },
1787
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
1788
+ "tagName": "profile-management",
1789
+ "customElement": true,
1790
+ "attributes": [
1664
1791
  {
1665
- "kind": "field",
1666
- "name": "createFormUiSchema",
1792
+ "name": "design-system-prefix",
1667
1793
  "type": {
1668
- "text": "any"
1794
+ "text": "string"
1669
1795
  },
1670
- "default": "editProfileFormSchema",
1796
+ "default": "'zero'",
1797
+ "description": "Name of the design system prefix that will be used in renderers.",
1798
+ "fieldName": "prefix",
1671
1799
  "inheritedFrom": {
1672
1800
  "name": "EntityManagement",
1673
1801
  "module": "src/entities/entities.ts"
1674
1802
  }
1675
1803
  },
1676
1804
  {
1677
- "kind": "field",
1678
- "name": "readEventFn",
1805
+ "name": "resourceName",
1679
1806
  "type": {
1680
- "text": "(...args) => {}"
1807
+ "text": "string"
1681
1808
  },
1809
+ "description": "Name of the backend resource which contain the entities to manage",
1810
+ "fieldName": "resourceName",
1682
1811
  "inheritedFrom": {
1683
1812
  "name": "EntityManagement",
1684
1813
  "module": "src/entities/entities.ts"
1685
1814
  }
1686
1815
  },
1687
1816
  {
1688
- "kind": "field",
1689
- "name": "resourceName",
1817
+ "name": "readEvent",
1690
1818
  "type": {
1691
1819
  "text": "string"
1692
1820
  },
1693
- "description": "Name of the backend resource which contain the entities to manage",
1694
- "privacy": "public",
1695
- "default": "'ALL_PROFILES'",
1821
+ "fieldName": "readEvent",
1696
1822
  "inheritedFrom": {
1697
1823
  "name": "EntityManagement",
1698
1824
  "module": "src/entities/entities.ts"
1699
1825
  }
1700
1826
  },
1701
1827
  {
1702
- "kind": "field",
1703
- "name": "title",
1704
1828
  "type": {
1705
- "text": "string"
1829
+ "text": "boolean"
1706
1830
  },
1707
- "description": "Title of the grid",
1708
- "privacy": "public",
1709
- "default": "'Profile Management'",
1831
+ "fieldName": "readonly",
1710
1832
  "inheritedFrom": {
1711
1833
  "name": "EntityManagement",
1712
1834
  "module": "src/entities/entities.ts"
1713
1835
  }
1714
1836
  },
1715
1837
  {
1716
- "kind": "field",
1717
- "name": "entityLabel",
1838
+ "name": "updateEvent",
1718
1839
  "type": {
1719
1840
  "text": "string"
1720
1841
  },
1721
- "default": "'Profile'",
1722
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1723
- "privacy": "public",
1842
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1843
+ "fieldName": "updateEvent",
1724
1844
  "inheritedFrom": {
1725
1845
  "name": "EntityManagement",
1726
1846
  "module": "src/entities/entities.ts"
1727
1847
  }
1728
1848
  },
1729
1849
  {
1730
- "kind": "field",
1731
- "name": "connect",
1850
+ "name": "deleteEvent",
1732
1851
  "type": {
1733
- "text": "Connect"
1852
+ "text": "string"
1734
1853
  },
1735
- "privacy": "protected",
1736
- "description": "DI connect object which is used to interact with the backend.",
1854
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1855
+ "fieldName": "deleteEvent",
1737
1856
  "inheritedFrom": {
1738
1857
  "name": "EntityManagement",
1739
1858
  "module": "src/entities/entities.ts"
1740
1859
  }
1741
1860
  },
1742
1861
  {
1743
- "kind": "field",
1744
- "name": "prefix",
1862
+ "name": "createEvent",
1745
1863
  "type": {
1746
1864
  "text": "string"
1747
1865
  },
1748
- "default": "'zero'",
1749
- "description": "Name of the design system prefix that will be used in renderers.",
1750
- "privacy": "public",
1866
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1867
+ "fieldName": "createEvent",
1751
1868
  "inheritedFrom": {
1752
1869
  "name": "EntityManagement",
1753
1870
  "module": "src/entities/entities.ts"
1754
1871
  }
1755
1872
  },
1756
1873
  {
1757
- "kind": "field",
1758
- "name": "readEvent",
1874
+ "name": "title",
1759
1875
  "type": {
1760
1876
  "text": "string"
1761
1877
  },
1878
+ "description": "Title of the grid",
1879
+ "fieldName": "title",
1762
1880
  "inheritedFrom": {
1763
1881
  "name": "EntityManagement",
1764
1882
  "module": "src/entities/entities.ts"
1765
1883
  }
1766
1884
  },
1767
1885
  {
1768
- "kind": "field",
1769
- "name": "readonly",
1886
+ "name": "entityLabel",
1770
1887
  "type": {
1771
- "text": "boolean"
1888
+ "text": "string"
1772
1889
  },
1890
+ "default": "''",
1891
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1892
+ "fieldName": "entityLabel",
1773
1893
  "inheritedFrom": {
1774
1894
  "name": "EntityManagement",
1775
1895
  "module": "src/entities/entities.ts"
1776
1896
  }
1777
1897
  },
1778
1898
  {
1779
- "kind": "field",
1780
- "name": "asyncAdd",
1899
+ "name": "async-add",
1781
1900
  "type": {
1782
1901
  "text": "boolean"
1783
1902
  },
1784
1903
  "default": "false",
1785
1904
  "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1786
- "privacy": "public",
1905
+ "fieldName": "asyncAdd",
1787
1906
  "inheritedFrom": {
1788
1907
  "name": "EntityManagement",
1789
1908
  "module": "src/entities/entities.ts"
1790
1909
  }
1791
1910
  },
1792
1911
  {
1793
- "kind": "field",
1794
- "name": "asyncRemove",
1912
+ "name": "async-remove",
1795
1913
  "type": {
1796
1914
  "text": "boolean"
1797
1915
  },
1798
1916
  "default": "false",
1799
1917
  "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
1800
- "privacy": "public",
1918
+ "fieldName": "asyncRemove",
1801
1919
  "inheritedFrom": {
1802
1920
  "name": "EntityManagement",
1803
1921
  "module": "src/entities/entities.ts"
1804
1922
  }
1805
1923
  },
1806
1924
  {
1807
- "kind": "field",
1808
- "name": "asyncUpdate",
1925
+ "name": "async-update",
1809
1926
  "type": {
1810
1927
  "text": "boolean"
1811
1928
  },
1812
1929
  "default": "true",
1813
1930
  "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
1814
- "privacy": "public",
1931
+ "fieldName": "asyncUpdate",
1815
1932
  "inheritedFrom": {
1816
1933
  "name": "EntityManagement",
1817
1934
  "module": "src/entities/entities.ts"
1818
1935
  }
1819
1936
  },
1820
1937
  {
1821
- "kind": "field",
1822
- "name": "rowSelection",
1938
+ "name": "row-selection",
1823
1939
  "type": {
1824
1940
  "text": "string"
1825
1941
  },
1826
1942
  "default": "'single'",
1827
1943
  "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1828
- "privacy": "public",
1944
+ "fieldName": "rowSelection",
1829
1945
  "inheritedFrom": {
1830
1946
  "name": "EntityManagement",
1831
1947
  "module": "src/entities/entities.ts"
1832
1948
  }
1833
1949
  },
1834
1950
  {
1835
- "kind": "field",
1836
- "name": "enableCellFlashing",
1951
+ "name": "enable-cell-flashing",
1837
1952
  "type": {
1838
1953
  "text": "boolean"
1839
1954
  },
1840
1955
  "default": "false",
1841
1956
  "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1842
- "privacy": "public",
1957
+ "fieldName": "enableCellFlashing",
1843
1958
  "inheritedFrom": {
1844
1959
  "name": "EntityManagement",
1845
1960
  "module": "src/entities/entities.ts"
1846
1961
  }
1847
1962
  },
1848
1963
  {
1849
- "kind": "field",
1850
- "name": "enableRowFlashing",
1964
+ "name": "enable-row-flashing",
1851
1965
  "type": {
1852
1966
  "text": "boolean"
1853
1967
  },
1854
1968
  "default": "false",
1855
1969
  "description": "If true, will enable row flashing for all rows for `add` transactions",
1856
- "privacy": "public",
1970
+ "fieldName": "enableRowFlashing",
1857
1971
  "inheritedFrom": {
1858
1972
  "name": "EntityManagement",
1859
1973
  "module": "src/entities/entities.ts"
1860
1974
  }
1861
1975
  },
1862
1976
  {
1863
- "kind": "field",
1864
- "name": "gridOptions",
1977
+ "name": "persist-column-state-key",
1865
1978
  "type": {
1866
- "text": "GridOptions"
1979
+ "text": "string"
1867
1980
  },
1868
- "description": "GridOptions to be passed down from application",
1869
- "privacy": "public",
1981
+ "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.",
1982
+ "fieldName": "persistColumnStateKey",
1870
1983
  "inheritedFrom": {
1871
1984
  "name": "EntityManagement",
1872
1985
  "module": "src/entities/entities.ts"
1873
1986
  }
1874
1987
  },
1875
1988
  {
1876
- "kind": "field",
1877
- "name": "columns",
1989
+ "name": "size-columns-to-fit",
1878
1990
  "type": {
1879
- "text": "ColDef[]"
1991
+ "text": "boolean"
1880
1992
  },
1881
- "description": "Array which holds the column definitions.",
1882
- "privacy": "public",
1993
+ "fieldName": "sizeColumnsToFit",
1883
1994
  "inheritedFrom": {
1884
1995
  "name": "EntityManagement",
1885
1996
  "module": "src/entities/entities.ts"
1886
1997
  }
1887
1998
  },
1888
1999
  {
1889
- "kind": "field",
1890
- "name": "datasourceConfig",
2000
+ "name": "enable-filter-bar",
1891
2001
  "type": {
1892
- "text": "DatasourceConfiguration"
2002
+ "text": "boolean"
1893
2003
  },
1894
- "description": "The configuration which is used when interacting with the resource on the backend",
1895
- "privacy": "public",
2004
+ "fieldName": "enableFilterBar",
1896
2005
  "inheritedFrom": {
1897
2006
  "name": "EntityManagement",
1898
2007
  "module": "src/entities/entities.ts"
1899
2008
  }
1900
2009
  },
1901
2010
  {
1902
- "kind": "field",
1903
- "name": "formUiSchema",
2011
+ "name": "hide-edit",
1904
2012
  "type": {
1905
- "text": "any"
2013
+ "text": "boolean"
1906
2014
  },
2015
+ "default": "false",
2016
+ "fieldName": "hideEdit",
1907
2017
  "inheritedFrom": {
1908
2018
  "name": "EntityManagement",
1909
2019
  "module": "src/entities/entities.ts"
1910
2020
  }
1911
2021
  },
1912
2022
  {
1913
- "kind": "field",
1914
- "name": "formRenderers",
2023
+ "name": "hide-delete",
1915
2024
  "type": {
1916
- "text": "RendererEntry[]"
2025
+ "text": "boolean"
1917
2026
  },
1918
- "default": "renderers",
1919
- "description": "Array with renderers used by foundation-forms",
1920
- "privacy": "public",
2027
+ "default": "false",
2028
+ "fieldName": "hideDelete",
1921
2029
  "inheritedFrom": {
1922
2030
  "name": "EntityManagement",
1923
2031
  "module": "src/entities/entities.ts"
1924
2032
  }
1925
2033
  },
1926
2034
  {
1927
- "kind": "field",
1928
- "name": "selectedEntity",
2035
+ "name": "enable-search-bar",
1929
2036
  "type": {
1930
- "text": "any"
2037
+ "text": "boolean"
1931
2038
  },
1932
- "description": "Reference to the currently selected entity from the grid.",
1933
- "privacy": "public",
2039
+ "default": "false",
2040
+ "description": "This attribute controls whether to enable the search-bar.",
2041
+ "fieldName": "enableSearchBar",
1934
2042
  "inheritedFrom": {
1935
2043
  "name": "EntityManagement",
1936
2044
  "module": "src/entities/entities.ts"
1937
2045
  }
1938
2046
  },
1939
2047
  {
1940
- "kind": "field",
1941
- "name": "editedEntity",
2048
+ "name": "header-case-type",
1942
2049
  "type": {
1943
- "text": "any"
2050
+ "text": "GridProCaseType"
1944
2051
  },
1945
- "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1946
- "privacy": "public",
2052
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2053
+ "fieldName": "headerCaseType",
1947
2054
  "inheritedFrom": {
1948
2055
  "name": "EntityManagement",
1949
2056
  "module": "src/entities/entities.ts"
1950
2057
  }
1951
2058
  },
1952
2059
  {
1953
- "kind": "field",
1954
- "name": "submitting",
2060
+ "name": "modal-position",
1955
2061
  "type": {
1956
- "text": "boolean"
2062
+ "text": "'centre' | 'left' | 'right'"
1957
2063
  },
2064
+ "default": "'right'",
2065
+ "description": "Determines where the modal dialog will appear on screen",
2066
+ "fieldName": "modalPosition",
1958
2067
  "inheritedFrom": {
1959
2068
  "name": "EntityManagement",
1960
2069
  "module": "src/entities/entities.ts"
1961
2070
  }
2071
+ }
2072
+ ]
2073
+ }
2074
+ ],
2075
+ "exports": [
2076
+ {
2077
+ "kind": "js",
2078
+ "name": "Profiles",
2079
+ "declaration": {
2080
+ "name": "Profiles",
2081
+ "module": "src/profiles/profiles.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "custom-element-definition",
2086
+ "name": "profile-management",
2087
+ "declaration": {
2088
+ "name": "Profiles",
2089
+ "module": "src/profiles/profiles.ts"
2090
+ }
2091
+ }
2092
+ ]
2093
+ },
2094
+ {
2095
+ "kind": "javascript-module",
2096
+ "path": "src/list/index.ts",
2097
+ "declarations": [],
2098
+ "exports": [
2099
+ {
2100
+ "kind": "js",
2101
+ "name": "*",
2102
+ "declaration": {
2103
+ "name": "*",
2104
+ "package": "./list"
2105
+ }
2106
+ }
2107
+ ]
2108
+ },
2109
+ {
2110
+ "kind": "javascript-module",
2111
+ "path": "src/list/list.styles.ts",
2112
+ "declarations": [
2113
+ {
2114
+ "kind": "variable",
2115
+ "name": "listStyles",
2116
+ "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`"
2117
+ }
2118
+ ],
2119
+ "exports": [
2120
+ {
2121
+ "kind": "js",
2122
+ "name": "listStyles",
2123
+ "declaration": {
2124
+ "name": "listStyles",
2125
+ "module": "src/list/list.styles.ts"
2126
+ }
2127
+ }
2128
+ ]
2129
+ },
2130
+ {
2131
+ "kind": "javascript-module",
2132
+ "path": "src/list/list.template.ts",
2133
+ "declarations": [
2134
+ {
2135
+ "kind": "function",
2136
+ "name": "getPrefixedList",
2137
+ "parameters": [
2138
+ {
2139
+ "name": "prefix"
2140
+ }
2141
+ ]
2142
+ }
2143
+ ],
2144
+ "exports": [
2145
+ {
2146
+ "kind": "js",
2147
+ "name": "getPrefixedList",
2148
+ "declaration": {
2149
+ "name": "getPrefixedList",
2150
+ "module": "src/list/list.template.ts"
2151
+ }
2152
+ }
2153
+ ]
2154
+ },
2155
+ {
2156
+ "kind": "javascript-module",
2157
+ "path": "src/list/list.ts",
2158
+ "declarations": [
2159
+ {
2160
+ "kind": "class",
2161
+ "description": "",
2162
+ "name": "List",
2163
+ "members": [
2164
+ {
2165
+ "kind": "field",
2166
+ "name": "prefix",
2167
+ "type": {
2168
+ "text": "string"
2169
+ },
2170
+ "default": "'zero'",
2171
+ "description": "Name of the design system prefix that will be used in renderers.",
2172
+ "privacy": "public"
2173
+ },
2174
+ {
2175
+ "kind": "field",
2176
+ "name": "resourceName",
2177
+ "type": {
2178
+ "text": "string"
2179
+ },
2180
+ "default": "''"
2181
+ },
2182
+ {
2183
+ "kind": "field",
2184
+ "name": "title",
2185
+ "type": {
2186
+ "text": "string"
2187
+ },
2188
+ "default": "''"
2189
+ },
2190
+ {
2191
+ "kind": "field",
2192
+ "name": "persistColumnStateKey",
2193
+ "type": {
2194
+ "text": "string"
2195
+ }
1962
2196
  },
1963
2197
  {
1964
2198
  "kind": "field",
1965
- "name": "defaultEntityValues",
2199
+ "name": "sizeColumnsToFit",
1966
2200
  "type": {
1967
- "text": "any"
1968
- },
1969
- "inheritedFrom": {
1970
- "name": "EntityManagement",
1971
- "module": "src/entities/entities.ts"
2201
+ "text": "boolean"
1972
2202
  }
1973
2203
  },
1974
2204
  {
1975
2205
  "kind": "field",
1976
- "name": "editDialogTitle",
2206
+ "name": "rowSelection",
1977
2207
  "type": {
1978
2208
  "text": "string"
1979
- },
1980
- "description": "String which contains the text of the popup modal when the user is adding or editing an entity",
1981
- "inheritedFrom": {
1982
- "name": "EntityManagement",
1983
- "module": "src/entities/entities.ts"
1984
2209
  }
1985
2210
  },
1986
2211
  {
1987
2212
  "kind": "field",
1988
- "name": "editModalVisible",
2213
+ "name": "enableFilterBar",
1989
2214
  "type": {
1990
2215
  "text": "boolean"
1991
- },
1992
- "default": "false",
1993
- "inheritedFrom": {
1994
- "name": "EntityManagement",
1995
- "module": "src/entities/entities.ts"
1996
2216
  }
1997
2217
  },
1998
2218
  {
1999
- "kind": "method",
2000
- "name": "editModalVisibleChanged",
2001
- "inheritedFrom": {
2002
- "name": "EntityManagement",
2003
- "module": "src/entities/entities.ts"
2004
- }
2219
+ "kind": "field",
2220
+ "name": "asyncAdd",
2221
+ "type": {
2222
+ "text": "boolean"
2223
+ },
2224
+ "default": "false"
2005
2225
  },
2006
2226
  {
2007
2227
  "kind": "field",
2008
- "name": "editEntityModal",
2228
+ "name": "asyncRemove",
2009
2229
  "type": {
2010
- "text": "any"
2230
+ "text": "boolean"
2011
2231
  },
2012
- "privacy": "public",
2013
- "inheritedFrom": {
2014
- "name": "EntityManagement",
2015
- "module": "src/entities/entities.ts"
2016
- }
2232
+ "default": "false"
2017
2233
  },
2018
2234
  {
2019
2235
  "kind": "field",
2020
- "name": "sizeColumnsToFit",
2236
+ "name": "asyncUpdate",
2021
2237
  "type": {
2022
2238
  "text": "boolean"
2023
2239
  },
2024
- "inheritedFrom": {
2025
- "name": "EntityManagement",
2026
- "module": "src/entities/entities.ts"
2027
- }
2240
+ "default": "true"
2028
2241
  },
2029
2242
  {
2030
2243
  "kind": "field",
2031
- "name": "enableFilterBar",
2244
+ "name": "enableCellFlashing",
2032
2245
  "type": {
2033
2246
  "text": "boolean"
2034
2247
  },
2035
- "inheritedFrom": {
2036
- "name": "EntityManagement",
2037
- "module": "src/entities/entities.ts"
2038
- }
2248
+ "default": "false"
2039
2249
  },
2040
2250
  {
2041
2251
  "kind": "field",
2042
- "name": "hideEdit",
2252
+ "name": "enableRowFlashing",
2043
2253
  "type": {
2044
2254
  "text": "boolean"
2045
2255
  },
2046
- "default": "false",
2047
- "inheritedFrom": {
2048
- "name": "EntityManagement",
2049
- "module": "src/entities/entities.ts"
2050
- }
2256
+ "default": "false"
2051
2257
  },
2052
2258
  {
2053
2259
  "kind": "field",
2054
- "name": "hideDelete",
2260
+ "name": "hideEdit",
2055
2261
  "type": {
2056
2262
  "text": "boolean"
2057
2263
  },
2058
- "default": "false",
2059
- "inheritedFrom": {
2060
- "name": "EntityManagement",
2061
- "module": "src/entities/entities.ts"
2062
- }
2264
+ "default": "false"
2063
2265
  },
2064
2266
  {
2065
2267
  "kind": "field",
2066
- "name": "enableSearchBar",
2268
+ "name": "hideDelete",
2067
2269
  "type": {
2068
2270
  "text": "boolean"
2069
2271
  },
2070
- "default": "false",
2071
- "description": "This attribute controls whether to enable the search-bar.",
2072
- "privacy": "public",
2073
- "inheritedFrom": {
2074
- "name": "EntityManagement",
2075
- "module": "src/entities/entities.ts"
2076
- }
2272
+ "default": "false"
2077
2273
  },
2078
2274
  {
2079
2275
  "kind": "field",
2080
2276
  "name": "headerCaseType",
2081
2277
  "type": {
2082
2278
  "text": "GridProCaseType"
2083
- },
2084
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2085
- "privacy": "public",
2086
- "inheritedFrom": {
2087
- "name": "EntityManagement",
2088
- "module": "src/entities/entities.ts"
2089
2279
  }
2090
2280
  },
2091
2281
  {
2092
2282
  "kind": "field",
2093
- "name": "searchBarConfig",
2283
+ "name": "grid",
2094
2284
  "type": {
2095
- "text": "AvailableOption[]"
2285
+ "text": "ZeroGridPro"
2096
2286
  },
2097
- "inheritedFrom": {
2098
- "name": "EntityManagement",
2099
- "module": "src/entities/entities.ts"
2100
- }
2287
+ "privacy": "public"
2101
2288
  },
2102
2289
  {
2103
2290
  "kind": "field",
2104
- "name": "modalPosition",
2291
+ "name": "datasource",
2105
2292
  "type": {
2106
- "text": "'centre' | 'left' | 'right'"
2293
+ "text": "GridProGenesisDatasource"
2107
2294
  },
2108
- "default": "'right'",
2109
- "description": "Determines where the modal dialog will appear on screen",
2110
- "privacy": "public",
2111
- "inheritedFrom": {
2112
- "name": "EntityManagement",
2113
- "module": "src/entities/entities.ts"
2114
- }
2295
+ "privacy": "public"
2115
2296
  },
2116
2297
  {
2117
- "kind": "method",
2118
- "name": "deepClone",
2119
- "return": {
2120
- "type": {
2121
- "text": "Node"
2122
- }
2123
- },
2124
- "description": "Override the deepClone method to ensure that observable attributes are cloned",
2125
- "privacy": "public",
2126
- "inheritedFrom": {
2127
- "name": "EntityManagement",
2128
- "module": "src/entities/entities.ts"
2298
+ "kind": "field",
2299
+ "name": "gridOptions",
2300
+ "type": {
2301
+ "text": "GridOptions"
2129
2302
  }
2130
2303
  },
2131
2304
  {
2132
- "kind": "method",
2133
- "name": "submitEntityChanges",
2134
- "privacy": "public",
2135
- "parameters": [
2136
- {
2137
- "name": "e",
2138
- "type": {
2139
- "text": "CustomEvent"
2140
- },
2141
- "description": "CustomEvent which contains the payload for the entity to submit to the backend\n\nEmits an event upon error"
2142
- }
2143
- ],
2144
- "description": "Event handler for when the user submits the action for the currently open form, either editing or adding the entity",
2145
- "inheritedFrom": {
2146
- "name": "EntityManagement",
2147
- "module": "src/entities/entities.ts"
2305
+ "kind": "field",
2306
+ "name": "columns",
2307
+ "type": {
2308
+ "text": "ColDef[]"
2148
2309
  }
2149
2310
  },
2150
2311
  {
2151
- "kind": "method",
2152
- "name": "readEntity",
2153
- "privacy": "private",
2154
- "parameters": [
2155
- {
2156
- "name": "e",
2157
- "type": {
2158
- "text": "CustomEvent"
2159
- }
2160
- }
2161
- ],
2162
- "inheritedFrom": {
2163
- "name": "EntityManagement",
2164
- "module": "src/entities/entities.ts"
2312
+ "kind": "field",
2313
+ "name": "datasourceConfig",
2314
+ "type": {
2315
+ "text": "DatasourceConfiguration"
2165
2316
  }
2166
2317
  },
2167
2318
  {
2168
- "kind": "method",
2169
- "name": "closeModal",
2170
- "privacy": "public",
2171
- "inheritedFrom": {
2172
- "name": "EntityManagement",
2173
- "module": "src/entities/entities.ts"
2319
+ "kind": "field",
2320
+ "name": "actionButtonsConfig",
2321
+ "type": {
2322
+ "text": "array"
2323
+ },
2324
+ "default": "[]"
2325
+ },
2326
+ {
2327
+ "kind": "field",
2328
+ "name": "deleteEvent",
2329
+ "type": {
2330
+ "text": "string"
2174
2331
  }
2175
2332
  },
2176
2333
  {
2177
2334
  "kind": "field",
2178
- "name": "headerTempalate",
2179
- "readonly": true,
2180
- "inheritedFrom": {
2181
- "name": "EntityManagement",
2182
- "module": "src/entities/entities.ts"
2335
+ "name": "updateEvent",
2336
+ "type": {
2337
+ "text": "string"
2183
2338
  }
2184
2339
  },
2340
+ {
2341
+ "kind": "field",
2342
+ "name": "connect",
2343
+ "type": {
2344
+ "text": "Connect"
2345
+ },
2346
+ "privacy": "protected"
2347
+ },
2185
2348
  {
2186
2349
  "kind": "method",
2187
- "name": "searchChanged",
2188
- "privacy": "public",
2350
+ "name": "onCellEditingStopped",
2351
+ "privacy": "private",
2189
2352
  "parameters": [
2190
2353
  {
2191
2354
  "name": "event",
2192
2355
  "type": {
2193
- "text": "CustomEvent<Array<SelectedOption>>"
2356
+ "text": "CellEditRequestEvent"
2194
2357
  }
2195
2358
  }
2196
- ],
2197
- "inheritedFrom": {
2198
- "name": "EntityManagement",
2199
- "module": "src/entities/entities.ts"
2200
- }
2359
+ ]
2201
2360
  },
2202
2361
  {
2203
2362
  "kind": "method",
2204
- "name": "criteriaChanged",
2205
- "privacy": "public",
2363
+ "name": "handleFilterChanged",
2364
+ "privacy": "private",
2206
2365
  "parameters": [
2207
2366
  {
2208
- "name": "e",
2209
- "type": {
2210
- "text": "CustomEvent<string>"
2211
- }
2367
+ "name": "e"
2212
2368
  }
2213
- ],
2214
- "inheritedFrom": {
2215
- "name": "EntityManagement",
2216
- "module": "src/entities/entities.ts"
2217
- }
2369
+ ]
2218
2370
  },
2219
2371
  {
2220
2372
  "kind": "method",
2221
- "name": "submitFailureNotification",
2222
- "privacy": "public",
2373
+ "name": "handleFilterCleared",
2374
+ "privacy": "private",
2223
2375
  "parameters": [
2224
2376
  {
2225
- "name": "e",
2226
- "type": {
2227
- "text": "CustomEvent"
2228
- }
2377
+ "name": "e"
2229
2378
  }
2230
- ],
2231
- "inheritedFrom": {
2232
- "name": "EntityManagement",
2233
- "module": "src/entities/entities.ts"
2234
- }
2379
+ ]
2380
+ },
2381
+ {
2382
+ "kind": "method",
2383
+ "name": "select",
2384
+ "privacy": "private",
2385
+ "parameters": [
2386
+ {
2387
+ "name": "e"
2388
+ }
2389
+ ]
2390
+ },
2391
+ {
2392
+ "kind": "field",
2393
+ "name": "edit",
2394
+ "privacy": "private"
2235
2395
  },
2236
2396
  {
2237
2397
  "kind": "method",
2238
- "name": "showDeleteConfirmation",
2239
- "privacy": "private",
2240
- "inheritedFrom": {
2241
- "name": "EntityManagement",
2242
- "module": "src/entities/entities.ts"
2243
- }
2398
+ "name": "delete",
2399
+ "parameters": [
2400
+ {
2401
+ "name": "e"
2402
+ }
2403
+ ]
2244
2404
  }
2245
2405
  ],
2246
- "superclass": {
2247
- "name": "EntityManagement",
2248
- "module": "/src/entities"
2249
- },
2250
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2251
- "tagName": "profile-management",
2252
- "customElement": true,
2253
2406
  "attributes": [
2254
2407
  {
2255
2408
  "name": "design-system-prefix",
@@ -2258,105 +2411,51 @@
2258
2411
  },
2259
2412
  "default": "'zero'",
2260
2413
  "description": "Name of the design system prefix that will be used in renderers.",
2261
- "fieldName": "prefix",
2262
- "inheritedFrom": {
2263
- "name": "EntityManagement",
2264
- "module": "src/entities/entities.ts"
2265
- }
2414
+ "fieldName": "prefix"
2266
2415
  },
2267
2416
  {
2268
2417
  "name": "resourceName",
2269
2418
  "type": {
2270
2419
  "text": "string"
2271
2420
  },
2272
- "description": "Name of the backend resource which contain the entities to manage",
2273
- "fieldName": "resourceName",
2274
- "inheritedFrom": {
2275
- "name": "EntityManagement",
2276
- "module": "src/entities/entities.ts"
2277
- }
2278
- },
2279
- {
2280
- "name": "readEvent",
2281
- "type": {
2282
- "text": "string"
2283
- },
2284
- "fieldName": "readEvent",
2285
- "inheritedFrom": {
2286
- "name": "EntityManagement",
2287
- "module": "src/entities/entities.ts"
2288
- }
2289
- },
2290
- {
2291
- "type": {
2292
- "text": "boolean"
2293
- },
2294
- "fieldName": "readonly",
2295
- "inheritedFrom": {
2296
- "name": "EntityManagement",
2297
- "module": "src/entities/entities.ts"
2298
- }
2421
+ "default": "''",
2422
+ "fieldName": "resourceName"
2299
2423
  },
2300
2424
  {
2301
- "name": "updateEvent",
2425
+ "name": "title",
2302
2426
  "type": {
2303
2427
  "text": "string"
2304
2428
  },
2305
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
2306
- "fieldName": "updateEvent",
2307
- "inheritedFrom": {
2308
- "name": "EntityManagement",
2309
- "module": "src/entities/entities.ts"
2310
- }
2429
+ "default": "''",
2430
+ "fieldName": "title"
2311
2431
  },
2312
2432
  {
2313
- "name": "deleteEvent",
2433
+ "name": "persist-column-state-key",
2314
2434
  "type": {
2315
2435
  "text": "string"
2316
2436
  },
2317
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2318
- "fieldName": "deleteEvent",
2319
- "inheritedFrom": {
2320
- "name": "EntityManagement",
2321
- "module": "src/entities/entities.ts"
2322
- }
2437
+ "fieldName": "persistColumnStateKey"
2323
2438
  },
2324
2439
  {
2325
- "name": "createEvent",
2440
+ "name": "size-columns-to-fit",
2326
2441
  "type": {
2327
- "text": "string"
2442
+ "text": "boolean"
2328
2443
  },
2329
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
2330
- "fieldName": "createEvent",
2331
- "inheritedFrom": {
2332
- "name": "EntityManagement",
2333
- "module": "src/entities/entities.ts"
2334
- }
2444
+ "fieldName": "sizeColumnsToFit"
2335
2445
  },
2336
2446
  {
2337
- "name": "title",
2447
+ "name": "row-selection",
2338
2448
  "type": {
2339
2449
  "text": "string"
2340
2450
  },
2341
- "description": "Title of the grid",
2342
- "fieldName": "title",
2343
- "inheritedFrom": {
2344
- "name": "EntityManagement",
2345
- "module": "src/entities/entities.ts"
2346
- }
2451
+ "fieldName": "rowSelection"
2347
2452
  },
2348
2453
  {
2349
- "name": "entityLabel",
2454
+ "name": "enable-filter-bar",
2350
2455
  "type": {
2351
- "text": "string"
2456
+ "text": "boolean"
2352
2457
  },
2353
- "default": "''",
2354
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2355
- "fieldName": "entityLabel",
2356
- "inheritedFrom": {
2357
- "name": "EntityManagement",
2358
- "module": "src/entities/entities.ts"
2359
- }
2458
+ "fieldName": "enableFilterBar"
2360
2459
  },
2361
2460
  {
2362
2461
  "name": "async-add",
@@ -2364,12 +2463,7 @@
2364
2463
  "text": "boolean"
2365
2464
  },
2366
2465
  "default": "false",
2367
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2368
- "fieldName": "asyncAdd",
2369
- "inheritedFrom": {
2370
- "name": "EntityManagement",
2371
- "module": "src/entities/entities.ts"
2372
- }
2466
+ "fieldName": "asyncAdd"
2373
2467
  },
2374
2468
  {
2375
2469
  "name": "async-remove",
@@ -2377,12 +2471,7 @@
2377
2471
  "text": "boolean"
2378
2472
  },
2379
2473
  "default": "false",
2380
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2381
- "fieldName": "asyncRemove",
2382
- "inheritedFrom": {
2383
- "name": "EntityManagement",
2384
- "module": "src/entities/entities.ts"
2385
- }
2474
+ "fieldName": "asyncRemove"
2386
2475
  },
2387
2476
  {
2388
2477
  "name": "async-update",
@@ -2390,25 +2479,7 @@
2390
2479
  "text": "boolean"
2391
2480
  },
2392
2481
  "default": "true",
2393
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2394
- "fieldName": "asyncUpdate",
2395
- "inheritedFrom": {
2396
- "name": "EntityManagement",
2397
- "module": "src/entities/entities.ts"
2398
- }
2399
- },
2400
- {
2401
- "name": "row-selection",
2402
- "type": {
2403
- "text": "string"
2404
- },
2405
- "default": "'single'",
2406
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2407
- "fieldName": "rowSelection",
2408
- "inheritedFrom": {
2409
- "name": "EntityManagement",
2410
- "module": "src/entities/entities.ts"
2411
- }
2482
+ "fieldName": "asyncUpdate"
2412
2483
  },
2413
2484
  {
2414
2485
  "name": "enable-cell-flashing",
@@ -2416,12 +2487,7 @@
2416
2487
  "text": "boolean"
2417
2488
  },
2418
2489
  "default": "false",
2419
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2420
- "fieldName": "enableCellFlashing",
2421
- "inheritedFrom": {
2422
- "name": "EntityManagement",
2423
- "module": "src/entities/entities.ts"
2424
- }
2490
+ "fieldName": "enableCellFlashing"
2425
2491
  },
2426
2492
  {
2427
2493
  "name": "enable-row-flashing",
@@ -2429,46 +2495,7 @@
2429
2495
  "text": "boolean"
2430
2496
  },
2431
2497
  "default": "false",
2432
- "description": "If true, will enable row flashing for all rows for `add` transactions",
2433
- "fieldName": "enableRowFlashing",
2434
- "inheritedFrom": {
2435
- "name": "EntityManagement",
2436
- "module": "src/entities/entities.ts"
2437
- }
2438
- },
2439
- {
2440
- "name": "persist-column-state-key",
2441
- "type": {
2442
- "text": "string"
2443
- },
2444
- "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.",
2445
- "fieldName": "persistColumnStateKey",
2446
- "inheritedFrom": {
2447
- "name": "EntityManagement",
2448
- "module": "src/entities/entities.ts"
2449
- }
2450
- },
2451
- {
2452
- "name": "size-columns-to-fit",
2453
- "type": {
2454
- "text": "boolean"
2455
- },
2456
- "fieldName": "sizeColumnsToFit",
2457
- "inheritedFrom": {
2458
- "name": "EntityManagement",
2459
- "module": "src/entities/entities.ts"
2460
- }
2461
- },
2462
- {
2463
- "name": "enable-filter-bar",
2464
- "type": {
2465
- "text": "boolean"
2466
- },
2467
- "fieldName": "enableFilterBar",
2468
- "inheritedFrom": {
2469
- "name": "EntityManagement",
2470
- "module": "src/entities/entities.ts"
2471
- }
2498
+ "fieldName": "enableRowFlashing"
2472
2499
  },
2473
2500
  {
2474
2501
  "name": "hide-edit",
@@ -2476,11 +2503,7 @@
2476
2503
  "text": "boolean"
2477
2504
  },
2478
2505
  "default": "false",
2479
- "fieldName": "hideEdit",
2480
- "inheritedFrom": {
2481
- "name": "EntityManagement",
2482
- "module": "src/entities/entities.ts"
2483
- }
2506
+ "fieldName": "hideEdit"
2484
2507
  },
2485
2508
  {
2486
2509
  "name": "hide-delete",
@@ -2488,68 +2511,45 @@
2488
2511
  "text": "boolean"
2489
2512
  },
2490
2513
  "default": "false",
2491
- "fieldName": "hideDelete",
2492
- "inheritedFrom": {
2493
- "name": "EntityManagement",
2494
- "module": "src/entities/entities.ts"
2495
- }
2496
- },
2497
- {
2498
- "name": "enable-search-bar",
2499
- "type": {
2500
- "text": "boolean"
2501
- },
2502
- "default": "false",
2503
- "description": "This attribute controls whether to enable the search-bar.",
2504
- "fieldName": "enableSearchBar",
2505
- "inheritedFrom": {
2506
- "name": "EntityManagement",
2507
- "module": "src/entities/entities.ts"
2508
- }
2514
+ "fieldName": "hideDelete"
2509
2515
  },
2510
2516
  {
2511
2517
  "name": "header-case-type",
2512
2518
  "type": {
2513
2519
  "text": "GridProCaseType"
2514
2520
  },
2515
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2516
- "fieldName": "headerCaseType",
2517
- "inheritedFrom": {
2518
- "name": "EntityManagement",
2519
- "module": "src/entities/entities.ts"
2520
- }
2521
- },
2521
+ "fieldName": "headerCaseType"
2522
+ }
2523
+ ],
2524
+ "mixins": [
2522
2525
  {
2523
- "name": "modal-position",
2524
- "type": {
2525
- "text": "'centre' | 'left' | 'right'"
2526
- },
2527
- "default": "'right'",
2528
- "description": "Determines where the modal dialog will appear on screen",
2529
- "fieldName": "modalPosition",
2530
- "inheritedFrom": {
2531
- "name": "EntityManagement",
2532
- "module": "src/entities/entities.ts"
2533
- }
2526
+ "name": "LifecycleMixin",
2527
+ "package": "@genesislcap/foundation-utils"
2534
2528
  }
2535
- ]
2529
+ ],
2530
+ "superclass": {
2531
+ "name": "FASTElement",
2532
+ "package": "@microsoft/fast-element"
2533
+ },
2534
+ "tagName": "entity-list",
2535
+ "customElement": true
2536
2536
  }
2537
2537
  ],
2538
2538
  "exports": [
2539
2539
  {
2540
2540
  "kind": "js",
2541
- "name": "Profiles",
2541
+ "name": "List",
2542
2542
  "declaration": {
2543
- "name": "Profiles",
2544
- "module": "src/profiles/profiles.ts"
2543
+ "name": "List",
2544
+ "module": "src/list/list.ts"
2545
2545
  }
2546
2546
  },
2547
2547
  {
2548
2548
  "kind": "custom-element-definition",
2549
- "name": "profile-management",
2549
+ "name": "entity-list",
2550
2550
  "declaration": {
2551
- "name": "Profiles",
2552
- "module": "src/profiles/profiles.ts"
2551
+ "name": "List",
2552
+ "module": "src/list/list.ts"
2553
2553
  }
2554
2554
  }
2555
2555
  ]