@genesislcap/foundation-entity-management 14.217.0 → 14.217.2-alpha-53d4080.0

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