@genesislcap/foundation-entity-management 14.262.2 → 14.264.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1193 -1193
  2. package/package.json +21 -21
@@ -83,56 +83,27 @@
83
83
  },
84
84
  {
85
85
  "kind": "javascript-module",
86
- "path": "src/layouts/default.ts",
86
+ "path": "src/components/components.ts",
87
87
  "declarations": [
88
88
  {
89
- "kind": "variable",
90
- "name": "loginLayout",
91
- "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
92
- },
93
- {
94
- "kind": "variable",
95
- "name": "defaultLayout",
96
- "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)"
89
+ "kind": "function",
90
+ "name": "loadRemotes"
97
91
  }
98
92
  ],
99
93
  "exports": [
100
94
  {
101
95
  "kind": "js",
102
- "name": "loginLayout",
103
- "declaration": {
104
- "name": "loginLayout",
105
- "module": "src/layouts/default.ts"
106
- }
107
- },
108
- {
109
- "kind": "js",
110
- "name": "defaultLayout",
111
- "declaration": {
112
- "name": "defaultLayout",
113
- "module": "src/layouts/default.ts"
114
- }
115
- }
116
- ]
117
- },
118
- {
119
- "kind": "javascript-module",
120
- "path": "src/layouts/index.ts",
121
- "declarations": [],
122
- "exports": [
123
- {
124
- "kind": "js",
125
- "name": "*",
96
+ "name": "loadRemotes",
126
97
  "declaration": {
127
- "name": "*",
128
- "package": "./default"
98
+ "name": "loadRemotes",
99
+ "module": "src/components/components.ts"
129
100
  }
130
101
  }
131
102
  ]
132
103
  },
133
104
  {
134
105
  "kind": "javascript-module",
135
- "path": "src/main/index.ts",
106
+ "path": "src/components/index.ts",
136
107
  "declarations": [],
137
108
  "exports": [
138
109
  {
@@ -140,137 +111,7 @@
140
111
  "name": "*",
141
112
  "declaration": {
142
113
  "name": "*",
143
- "package": "./main.template"
144
- }
145
- },
146
- {
147
- "kind": "js",
148
- "name": "*",
149
- "declaration": {
150
- "name": "*",
151
- "package": "./main"
152
- }
153
- }
154
- ]
155
- },
156
- {
157
- "kind": "javascript-module",
158
- "path": "src/main/main.styles.ts",
159
- "declarations": [
160
- {
161
- "kind": "variable",
162
- "name": "MainStyles",
163
- "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`"
164
- }
165
- ],
166
- "exports": [
167
- {
168
- "kind": "js",
169
- "name": "MainStyles",
170
- "declaration": {
171
- "name": "MainStyles",
172
- "module": "src/main/main.styles.ts"
173
- }
174
- }
175
- ]
176
- },
177
- {
178
- "kind": "javascript-module",
179
- "path": "src/main/main.template.ts",
180
- "declarations": [],
181
- "exports": []
182
- },
183
- {
184
- "kind": "javascript-module",
185
- "path": "src/main/main.ts",
186
- "declarations": [
187
- {
188
- "kind": "class",
189
- "description": "",
190
- "name": "MainApplication",
191
- "members": [
192
- {
193
- "kind": "field",
194
- "name": "config",
195
- "type": {
196
- "text": "MainRouterConfig"
197
- }
198
- },
199
- {
200
- "kind": "field",
201
- "name": "connect",
202
- "type": {
203
- "text": "Connect"
204
- }
205
- },
206
- {
207
- "kind": "field",
208
- "name": "session",
209
- "type": {
210
- "text": "Session"
211
- }
212
- },
213
- {
214
- "kind": "field",
215
- "name": "container",
216
- "type": {
217
- "text": "Container"
218
- }
219
- },
220
- {
221
- "kind": "field",
222
- "name": "provider",
223
- "type": {
224
- "text": "HTMLElement"
225
- }
226
- },
227
- {
228
- "kind": "field",
229
- "name": "ready",
230
- "type": {
231
- "text": "boolean"
232
- },
233
- "default": "false"
234
- },
235
- {
236
- "kind": "method",
237
- "name": "onLuminanceToggle"
238
- },
239
- {
240
- "kind": "method",
241
- "name": "loadRemotes"
242
- },
243
- {
244
- "kind": "method",
245
- "name": "selectTemplate"
246
- },
247
- {
248
- "kind": "method",
249
- "name": "registerDIDependencies",
250
- "privacy": "private"
251
- }
252
- ],
253
- "superclass": {
254
- "name": "FASTElement",
255
- "package": "@microsoft/fast-element"
256
- },
257
- "customElement": true
258
- }
259
- ],
260
- "exports": [
261
- {
262
- "kind": "js",
263
- "name": "MainApplication",
264
- "declaration": {
265
- "name": "MainApplication",
266
- "module": "src/main/main.ts"
267
- }
268
- },
269
- {
270
- "kind": "custom-element-definition",
271
- "declaration": {
272
- "name": "MainApplication",
273
- "module": "src/main/main.ts"
114
+ "package": "./components"
274
115
  }
275
116
  }
276
117
  ]
@@ -1091,266 +932,190 @@
1091
932
  },
1092
933
  {
1093
934
  "kind": "javascript-module",
1094
- "path": "src/profiles/editProfileSchema.ts",
935
+ "path": "src/list/index.ts",
936
+ "declarations": [],
937
+ "exports": [
938
+ {
939
+ "kind": "js",
940
+ "name": "*",
941
+ "declaration": {
942
+ "name": "*",
943
+ "package": "./list"
944
+ }
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "kind": "javascript-module",
950
+ "path": "src/list/list.styles.ts",
1095
951
  "declarations": [
1096
952
  {
1097
953
  "kind": "variable",
1098
- "name": "editProfileFormSchema",
1099
- "type": {
1100
- "text": "UiSchema"
1101
- },
1102
- "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}"
954
+ "name": "listStyles",
955
+ "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`"
1103
956
  }
1104
957
  ],
1105
958
  "exports": [
1106
959
  {
1107
960
  "kind": "js",
1108
- "name": "editProfileFormSchema",
961
+ "name": "listStyles",
1109
962
  "declaration": {
1110
- "name": "editProfileFormSchema",
1111
- "module": "src/profiles/editProfileSchema.ts"
963
+ "name": "listStyles",
964
+ "module": "src/list/list.styles.ts"
1112
965
  }
1113
966
  }
1114
967
  ]
1115
968
  },
1116
969
  {
1117
970
  "kind": "javascript-module",
1118
- "path": "src/profiles/profiles.ts",
971
+ "path": "src/list/list.template.ts",
972
+ "declarations": [
973
+ {
974
+ "kind": "function",
975
+ "name": "getPrefixedList",
976
+ "parameters": [
977
+ {
978
+ "name": "prefix"
979
+ }
980
+ ]
981
+ }
982
+ ],
983
+ "exports": [
984
+ {
985
+ "kind": "js",
986
+ "name": "getPrefixedList",
987
+ "declaration": {
988
+ "name": "getPrefixedList",
989
+ "module": "src/list/list.template.ts"
990
+ }
991
+ }
992
+ ]
993
+ },
994
+ {
995
+ "kind": "javascript-module",
996
+ "path": "src/list/list.ts",
1119
997
  "declarations": [
1120
998
  {
1121
999
  "kind": "class",
1122
- "description": "Main class which defined the profile management functionality",
1123
- "name": "Profiles",
1000
+ "description": "",
1001
+ "name": "List",
1124
1002
  "members": [
1125
- {
1126
- "kind": "method",
1127
- "name": "readProfileData",
1128
- "privacy": "public",
1129
- "parameters": [
1130
- {
1131
- "name": "profile"
1132
- }
1133
- ]
1134
- },
1135
- {
1136
- "kind": "method",
1137
- "name": "confirmDelete"
1138
- },
1139
1003
  {
1140
1004
  "kind": "field",
1141
- "name": "createEvent",
1005
+ "name": "prefix",
1142
1006
  "type": {
1143
1007
  "text": "string"
1144
1008
  },
1145
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1146
- "privacy": "public",
1147
- "inheritedFrom": {
1148
- "name": "EntityManagement",
1149
- "module": "src/entities/entities.ts"
1150
- }
1009
+ "default": "'zero'",
1010
+ "description": "Name of the design system prefix that will be used in renderers.",
1011
+ "privacy": "public"
1151
1012
  },
1152
1013
  {
1153
1014
  "kind": "field",
1154
- "name": "deleteEvent",
1015
+ "name": "resourceName",
1155
1016
  "type": {
1156
1017
  "text": "string"
1157
1018
  },
1158
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1159
- "privacy": "public",
1160
- "inheritedFrom": {
1161
- "name": "EntityManagement",
1162
- "module": "src/entities/entities.ts"
1163
- }
1019
+ "default": "''"
1164
1020
  },
1165
1021
  {
1166
1022
  "kind": "field",
1167
- "name": "updateEvent",
1023
+ "name": "title",
1168
1024
  "type": {
1169
1025
  "text": "string"
1170
1026
  },
1171
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1172
- "privacy": "public",
1173
- "inheritedFrom": {
1174
- "name": "EntityManagement",
1175
- "module": "src/entities/entities.ts"
1176
- }
1027
+ "default": "''"
1177
1028
  },
1178
1029
  {
1179
1030
  "kind": "field",
1180
1031
  "name": "persistColumnStateKey",
1181
1032
  "type": {
1182
1033
  "text": "string"
1183
- },
1184
- "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.",
1185
- "privacy": "public",
1186
- "default": "'entity_profiles_management'",
1187
- "inheritedFrom": {
1188
- "name": "EntityManagement",
1189
- "module": "src/entities/entities.ts"
1190
1034
  }
1191
1035
  },
1192
1036
  {
1193
1037
  "kind": "field",
1194
- "name": "updateFormUiSchema",
1038
+ "name": "persistFilterModelKey",
1195
1039
  "type": {
1196
- "text": "UiSchema"
1197
- },
1198
- "description": "Enables you to supply a schema to configure an update form.",
1199
- "privacy": "public",
1200
- "default": "editProfileFormSchema",
1201
- "inheritedFrom": {
1202
- "name": "EntityManagement",
1203
- "module": "src/entities/entities.ts"
1040
+ "text": "string"
1204
1041
  }
1205
1042
  },
1206
1043
  {
1207
1044
  "kind": "field",
1208
- "name": "createFormUiSchema",
1045
+ "name": "sizeColumnsToFit",
1209
1046
  "type": {
1210
- "text": "UiSchema"
1211
- },
1212
- "description": "Enables you to supply a schema to configure an insert form.",
1213
- "privacy": "public",
1214
- "default": "editProfileFormSchema",
1215
- "inheritedFrom": {
1216
- "name": "EntityManagement",
1217
- "module": "src/entities/entities.ts"
1047
+ "text": "boolean"
1218
1048
  }
1219
1049
  },
1220
1050
  {
1221
1051
  "kind": "field",
1222
- "name": "readEventFn",
1052
+ "name": "rowSelection",
1223
1053
  "type": {
1224
- "text": "(entity) => any"
1225
- },
1226
- "description": "Similar to readEvent but allows to provide function that will be executed before\nopening the form and yields data to the form",
1227
- "parameters": [
1228
- {
1229
- "description": "selected entity from the grid",
1230
- "name": "entity"
1231
- }
1232
- ],
1233
- "return": {
1234
- "type": {
1235
- "text": ""
1236
- }
1237
- },
1238
- "privacy": "public",
1239
- "inheritedFrom": {
1240
- "name": "EntityManagement",
1241
- "module": "src/entities/entities.ts"
1054
+ "text": "string"
1242
1055
  }
1243
1056
  },
1244
1057
  {
1245
1058
  "kind": "field",
1246
- "name": "resourceName",
1059
+ "name": "enableFilterBar",
1247
1060
  "type": {
1248
- "text": "string"
1249
- },
1250
- "description": "Name of the backend resource which contain the entities to manage",
1251
- "privacy": "public",
1252
- "default": "'ALL_PROFILES'",
1253
- "inheritedFrom": {
1254
- "name": "EntityManagement",
1255
- "module": "src/entities/entities.ts"
1061
+ "text": "boolean"
1256
1062
  }
1257
1063
  },
1258
1064
  {
1259
1065
  "kind": "field",
1260
- "name": "title",
1066
+ "name": "asyncAdd",
1261
1067
  "type": {
1262
- "text": "string"
1068
+ "text": "boolean"
1263
1069
  },
1264
- "description": "Title of the grid",
1265
- "privacy": "public",
1266
- "default": "'Profile Management'",
1267
- "inheritedFrom": {
1268
- "name": "EntityManagement",
1269
- "module": "src/entities/entities.ts"
1270
- }
1070
+ "default": "false"
1271
1071
  },
1272
1072
  {
1273
1073
  "kind": "field",
1274
- "name": "entityLabel",
1074
+ "name": "asyncRemove",
1275
1075
  "type": {
1276
- "text": "string"
1076
+ "text": "boolean"
1277
1077
  },
1278
- "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",
1279
- "privacy": "public",
1280
- "default": "'Profile'",
1281
- "inheritedFrom": {
1282
- "name": "EntityManagement",
1283
- "module": "src/entities/entities.ts"
1284
- }
1078
+ "default": "false"
1285
1079
  },
1286
1080
  {
1287
1081
  "kind": "field",
1288
- "name": "prefix",
1082
+ "name": "asyncUpdate",
1289
1083
  "type": {
1290
- "text": "string"
1084
+ "text": "boolean"
1291
1085
  },
1292
- "default": "'zero'",
1293
- "description": "Name of the design system prefix that will be used in renderers.",
1294
- "privacy": "public",
1295
- "inheritedFrom": {
1296
- "name": "EntityManagement",
1297
- "module": "src/entities/entities.ts"
1298
- }
1086
+ "default": "true"
1299
1087
  },
1300
1088
  {
1301
1089
  "kind": "field",
1302
- "name": "readEvent",
1090
+ "name": "enableCellFlashing",
1303
1091
  "type": {
1304
- "text": "string"
1092
+ "text": "boolean"
1305
1093
  },
1306
- "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",
1307
- "privacy": "public",
1308
- "inheritedFrom": {
1309
- "name": "EntityManagement",
1310
- "module": "src/entities/entities.ts"
1311
- }
1094
+ "default": "false"
1312
1095
  },
1313
1096
  {
1314
1097
  "kind": "field",
1315
- "name": "rowSelection",
1098
+ "name": "enableRowFlashing",
1316
1099
  "type": {
1317
- "text": "string"
1100
+ "text": "boolean"
1318
1101
  },
1319
- "default": "'single'",
1320
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1321
- "privacy": "public",
1322
- "inheritedFrom": {
1323
- "name": "EntityManagement",
1324
- "module": "src/entities/entities.ts"
1325
- }
1102
+ "default": "false"
1326
1103
  },
1327
1104
  {
1328
1105
  "kind": "field",
1329
- "name": "enableCellFlashing",
1106
+ "name": "hideEdit",
1330
1107
  "type": {
1331
1108
  "text": "boolean"
1332
1109
  },
1333
- "default": "false",
1334
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1335
- "privacy": "public",
1336
- "inheritedFrom": {
1337
- "name": "EntityManagement",
1338
- "module": "src/entities/entities.ts"
1339
- }
1110
+ "default": "false"
1340
1111
  },
1341
1112
  {
1342
1113
  "kind": "field",
1343
- "name": "enableRowFlashing",
1114
+ "name": "hideDelete",
1344
1115
  "type": {
1345
1116
  "text": "boolean"
1346
1117
  },
1347
- "default": "false",
1348
- "description": "If true, will enable row flashing for all rows for `add` transactions",
1349
- "privacy": "public",
1350
- "inheritedFrom": {
1351
- "name": "EntityManagement",
1352
- "module": "src/entities/entities.ts"
1353
- }
1118
+ "default": "false"
1354
1119
  },
1355
1120
  {
1356
1121
  "kind": "field",
@@ -1358,38 +1123,36 @@
1358
1123
  "type": {
1359
1124
  "text": "DatasourceType"
1360
1125
  },
1361
- "default": "'client'",
1362
- "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.",
1363
- "privacy": "public",
1364
- "inheritedFrom": {
1365
- "name": "EntityManagement",
1366
- "module": "src/entities/entities.ts"
1126
+ "default": "'client'"
1127
+ },
1128
+ {
1129
+ "kind": "field",
1130
+ "name": "headerCaseType",
1131
+ "type": {
1132
+ "text": "GridProCaseType"
1367
1133
  }
1368
1134
  },
1369
1135
  {
1370
1136
  "kind": "field",
1371
- "name": "persistFilterModelKey",
1137
+ "name": "grid",
1372
1138
  "type": {
1373
- "text": "string"
1139
+ "text": "ZeroGridPro"
1374
1140
  },
1375
- "description": "The key to use for persisting the filter model in local browser or KV storage.",
1376
- "privacy": "public",
1377
- "inheritedFrom": {
1378
- "name": "EntityManagement",
1379
- "module": "src/entities/entities.ts"
1380
- }
1141
+ "privacy": "public"
1142
+ },
1143
+ {
1144
+ "kind": "field",
1145
+ "name": "datasource",
1146
+ "type": {
1147
+ "text": "GridProGenesisDatasource"
1148
+ },
1149
+ "privacy": "public"
1381
1150
  },
1382
1151
  {
1383
1152
  "kind": "field",
1384
1153
  "name": "gridOptions",
1385
1154
  "type": {
1386
1155
  "text": "GridOptions"
1387
- },
1388
- "description": "GridOptions to be passed down from application",
1389
- "privacy": "public",
1390
- "inheritedFrom": {
1391
- "name": "EntityManagement",
1392
- "module": "src/entities/entities.ts"
1393
1156
  }
1394
1157
  },
1395
1158
  {
@@ -1397,12 +1160,6 @@
1397
1160
  "name": "columns",
1398
1161
  "type": {
1399
1162
  "text": "ColDef[]"
1400
- },
1401
- "description": "Array which holds the column definitions.",
1402
- "privacy": "public",
1403
- "inheritedFrom": {
1404
- "name": "EntityManagement",
1405
- "module": "src/entities/entities.ts"
1406
1163
  }
1407
1164
  },
1408
1165
  {
@@ -1410,200 +1167,132 @@
1410
1167
  "name": "datasourceConfig",
1411
1168
  "type": {
1412
1169
  "text": "DatasourceConfiguration"
1413
- },
1414
- "description": "The configuration which is used when interacting with the resource on the backend",
1415
- "privacy": "public",
1416
- "inheritedFrom": {
1417
- "name": "EntityManagement",
1418
- "module": "src/entities/entities.ts"
1419
1170
  }
1420
1171
  },
1421
1172
  {
1422
1173
  "kind": "field",
1423
- "name": "formRenderers",
1174
+ "name": "actionButtonsConfig",
1424
1175
  "type": {
1425
- "text": "RendererEntry[]"
1176
+ "text": "array"
1426
1177
  },
1427
- "default": "renderers",
1428
- "description": "Array with renderers used by foundation-forms",
1429
- "privacy": "public",
1430
- "inheritedFrom": {
1431
- "name": "EntityManagement",
1432
- "module": "src/entities/entities.ts"
1433
- }
1178
+ "default": "[]"
1434
1179
  },
1435
1180
  {
1436
1181
  "kind": "field",
1437
- "name": "defaultEntityValues",
1182
+ "name": "deleteEvent",
1438
1183
  "type": {
1439
- "text": "Record<string, unknown>"
1440
- },
1441
- "description": "The default values to populate the form with when the user is adding an entity",
1442
- "privacy": "public",
1443
- "inheritedFrom": {
1444
- "name": "EntityManagement",
1445
- "module": "src/entities/entities.ts"
1184
+ "text": "string"
1446
1185
  }
1447
1186
  },
1448
1187
  {
1449
- "kind": "method",
1450
- "name": "editModalVisibleChanged",
1451
- "privacy": "private",
1452
- "inheritedFrom": {
1453
- "name": "EntityManagement",
1454
- "module": "src/entities/entities.ts"
1188
+ "kind": "field",
1189
+ "name": "updateEvent",
1190
+ "type": {
1191
+ "text": "string"
1455
1192
  }
1456
1193
  },
1457
1194
  {
1458
1195
  "kind": "field",
1459
- "name": "sizeColumnsToFit",
1196
+ "name": "connect",
1460
1197
  "type": {
1461
- "text": "boolean"
1198
+ "text": "Connect"
1462
1199
  },
1463
- "description": "Resizes columns to take available space",
1464
- "privacy": "public",
1465
- "inheritedFrom": {
1466
- "name": "EntityManagement",
1467
- "module": "src/entities/entities.ts"
1468
- }
1200
+ "privacy": "protected"
1469
1201
  },
1470
1202
  {
1471
1203
  "kind": "field",
1472
- "name": "enableFilterBar",
1204
+ "name": "isServerSideDatasource",
1473
1205
  "type": {
1474
1206
  "text": "boolean"
1475
1207
  },
1476
- "description": "Enables filter bar component",
1477
- "privacy": "public",
1478
- "inheritedFrom": {
1479
- "name": "EntityManagement",
1480
- "module": "src/entities/entities.ts"
1481
- }
1208
+ "readonly": true
1209
+ },
1210
+ {
1211
+ "kind": "method",
1212
+ "name": "onCellEditingStopped",
1213
+ "privacy": "private",
1214
+ "parameters": [
1215
+ {
1216
+ "name": "event",
1217
+ "type": {
1218
+ "text": "CellEditRequestEvent"
1219
+ }
1220
+ }
1221
+ ]
1482
1222
  },
1483
1223
  {
1484
1224
  "kind": "field",
1485
- "name": "hideEdit",
1486
- "type": {
1487
- "text": "boolean"
1488
- },
1489
- "default": "false",
1490
- "description": "Hides edit button",
1491
- "privacy": "public",
1492
- "inheritedFrom": {
1493
- "name": "EntityManagement",
1494
- "module": "src/entities/entities.ts"
1495
- }
1225
+ "name": "criteria",
1226
+ "readonly": true
1496
1227
  },
1497
1228
  {
1498
1229
  "kind": "field",
1499
- "name": "hideDelete",
1500
- "type": {
1501
- "text": "boolean"
1502
- },
1503
- "default": "false",
1504
- "description": "Hides delete button",
1505
- "privacy": "public",
1506
- "inheritedFrom": {
1507
- "name": "EntityManagement",
1508
- "module": "src/entities/entities.ts"
1509
- }
1230
+ "name": "fields",
1231
+ "readonly": true
1510
1232
  },
1511
1233
  {
1512
1234
  "kind": "field",
1513
- "name": "enableSearchBar",
1514
- "type": {
1515
- "text": "boolean"
1516
- },
1517
- "default": "false",
1518
- "description": "This attribute controls whether to enable the search-bar.",
1519
- "privacy": "public",
1520
- "inheritedFrom": {
1521
- "name": "EntityManagement",
1522
- "module": "src/entities/entities.ts"
1523
- }
1235
+ "name": "isSnapshot",
1236
+ "readonly": true
1524
1237
  },
1525
1238
  {
1526
1239
  "kind": "field",
1527
- "name": "headerCaseType",
1528
- "type": {
1529
- "text": "GridProCaseType"
1530
- },
1531
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1532
- "privacy": "public",
1533
- "inheritedFrom": {
1534
- "name": "EntityManagement",
1535
- "module": "src/entities/entities.ts"
1536
- }
1240
+ "name": "maxRows",
1241
+ "readonly": true
1537
1242
  },
1538
1243
  {
1539
1244
  "kind": "field",
1540
- "name": "searchBarConfig",
1541
- "type": {
1542
- "text": "AvailableOption[]"
1543
- },
1544
- "description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @public",
1545
- "inheritedFrom": {
1546
- "name": "EntityManagement",
1547
- "module": "src/entities/entities.ts"
1548
- }
1245
+ "name": "maxView",
1246
+ "readonly": true
1549
1247
  },
1550
1248
  {
1551
1249
  "kind": "field",
1552
- "name": "modalPosition",
1553
- "type": {
1554
- "text": "'centre' | 'left' | 'right'"
1555
- },
1556
- "default": "'right'",
1557
- "description": "Determines where the modal dialog will appear on screen",
1558
- "privacy": "public",
1559
- "inheritedFrom": {
1560
- "name": "EntityManagement",
1561
- "module": "src/entities/entities.ts"
1562
- }
1250
+ "name": "movingView",
1251
+ "readonly": true
1563
1252
  },
1564
1253
  {
1565
1254
  "kind": "field",
1566
- "name": "crudMenuPosition",
1567
- "type": {
1568
- "text": "CrudMenuPosition"
1569
- },
1570
- "description": "Determines where the buttons will appear",
1571
- "privacy": "public",
1572
- "inheritedFrom": {
1573
- "name": "EntityManagement",
1574
- "module": "src/entities/entities.ts"
1575
- }
1255
+ "name": "orderBy",
1256
+ "readonly": true
1576
1257
  },
1577
1258
  {
1578
1259
  "kind": "field",
1579
- "name": "crudMenuStyle",
1580
- "type": {
1581
- "text": "ActionsMenuStyle"
1582
- },
1583
- "description": "Determines the style of the buttons",
1584
- "privacy": "public",
1585
- "inheritedFrom": {
1586
- "name": "EntityManagement",
1587
- "module": "src/entities/entities.ts"
1588
- }
1260
+ "name": "pollingInterval",
1261
+ "readonly": true
1589
1262
  },
1590
1263
  {
1591
1264
  "kind": "field",
1592
- "name": "crudActionMenuName",
1593
- "type": {
1594
- "text": "string"
1595
- },
1596
- "default": "'⋮'",
1597
- "description": "The label of the crud action menu",
1598
- "inheritedFrom": {
1599
- "name": "EntityManagement",
1600
- "module": "src/entities/entities.ts"
1601
- }
1265
+ "name": "request",
1266
+ "readonly": true
1267
+ },
1268
+ {
1269
+ "kind": "field",
1270
+ "name": "reverse",
1271
+ "readonly": true
1272
+ },
1273
+ {
1274
+ "kind": "field",
1275
+ "name": "viewNumber",
1276
+ "readonly": true
1277
+ },
1278
+ {
1279
+ "kind": "field",
1280
+ "name": "disablePolling",
1281
+ "readonly": true
1282
+ },
1283
+ {
1284
+ "kind": "field",
1285
+ "name": "requestAutoSetup",
1286
+ "readonly": true
1602
1287
  },
1603
1288
  {
1604
1289
  "kind": "method",
1605
- "name": "readEntity",
1606
- "privacy": "private",
1290
+ "name": "handleRowClicked",
1291
+ "return": {
1292
+ "type": {
1293
+ "text": "void"
1294
+ }
1295
+ },
1607
1296
  "parameters": [
1608
1297
  {
1609
1298
  "name": "e",
@@ -1611,131 +1300,100 @@
1611
1300
  "text": "CustomEvent"
1612
1301
  }
1613
1302
  }
1614
- ],
1615
- "inheritedFrom": {
1616
- "name": "EntityManagement",
1617
- "module": "src/entities/entities.ts"
1618
- }
1303
+ ]
1619
1304
  },
1620
1305
  {
1621
1306
  "kind": "method",
1622
- "name": "searchBarReqServer",
1623
- "privacy": "private",
1307
+ "name": "handleRowDblClicked",
1308
+ "return": {
1309
+ "type": {
1310
+ "text": "void"
1311
+ }
1312
+ },
1624
1313
  "parameters": [
1625
1314
  {
1626
- "name": "options",
1315
+ "name": "e",
1627
1316
  "type": {
1628
- "text": "SelectedOption<string>[]"
1317
+ "text": "CustomEvent"
1629
1318
  }
1630
1319
  }
1631
- ],
1632
- "inheritedFrom": {
1633
- "name": "EntityManagement",
1634
- "module": "src/entities/entities.ts"
1635
- }
1320
+ ]
1636
1321
  },
1637
1322
  {
1638
1323
  "kind": "method",
1639
- "name": "searchBarDataserver",
1640
- "privacy": "private",
1324
+ "name": "handleRowContextMenu",
1325
+ "return": {
1326
+ "type": {
1327
+ "text": "void"
1328
+ }
1329
+ },
1641
1330
  "parameters": [
1642
1331
  {
1643
- "name": "options",
1332
+ "name": "e",
1644
1333
  "type": {
1645
- "text": "SelectedOption<string>[]"
1334
+ "text": "CustomEvent"
1646
1335
  }
1647
1336
  }
1648
- ],
1649
- "inheritedFrom": {
1650
- "name": "EntityManagement",
1651
- "module": "src/entities/entities.ts"
1652
- }
1337
+ ]
1653
1338
  },
1654
1339
  {
1655
1340
  "kind": "method",
1656
- "name": "requestChanged",
1341
+ "name": "handleFilterChanged",
1657
1342
  "privacy": "private",
1658
1343
  "parameters": [
1659
1344
  {
1660
- "name": "e",
1661
- "type": {
1662
- "text": "CustomEvent<string>"
1663
- }
1345
+ "name": "e"
1664
1346
  }
1665
- ],
1666
- "inheritedFrom": {
1667
- "name": "EntityManagement",
1668
- "module": "src/entities/entities.ts"
1669
- }
1347
+ ]
1670
1348
  },
1671
1349
  {
1672
1350
  "kind": "method",
1673
- "name": "criteriaChanged",
1351
+ "name": "handleFilterCleared",
1674
1352
  "privacy": "private",
1675
1353
  "parameters": [
1676
1354
  {
1677
- "name": "e",
1678
- "type": {
1679
- "text": "CustomEvent<string>"
1680
- }
1355
+ "name": "e"
1681
1356
  }
1682
- ],
1683
- "inheritedFrom": {
1684
- "name": "EntityManagement",
1685
- "module": "src/entities/entities.ts"
1686
- }
1357
+ ]
1687
1358
  },
1688
1359
  {
1689
1360
  "kind": "method",
1690
- "name": "submitFailureNotification",
1361
+ "name": "select",
1691
1362
  "privacy": "private",
1692
1363
  "parameters": [
1693
1364
  {
1694
- "name": "e",
1695
- "type": {
1696
- "text": "CustomEvent"
1697
- }
1365
+ "name": "e"
1698
1366
  }
1699
- ],
1700
- "inheritedFrom": {
1701
- "name": "EntityManagement",
1702
- "module": "src/entities/entities.ts"
1703
- }
1367
+ ]
1704
1368
  },
1705
1369
  {
1706
1370
  "kind": "method",
1707
- "name": "submitErrorHandler",
1371
+ "name": "selectionChanged",
1708
1372
  "privacy": "private",
1709
1373
  "parameters": [
1710
1374
  {
1711
1375
  "name": "e",
1712
1376
  "type": {
1713
- "text": "CustomEvent"
1377
+ "text": "CustomEvent<SelectionChangedEvent>"
1714
1378
  }
1715
1379
  }
1716
- ],
1717
- "inheritedFrom": {
1718
- "name": "EntityManagement",
1719
- "module": "src/entities/entities.ts"
1720
- }
1380
+ ]
1721
1381
  },
1722
1382
  {
1723
- "kind": "method",
1724
- "name": "showDeleteConfirmation",
1725
- "privacy": "private",
1726
- "inheritedFrom": {
1727
- "name": "EntityManagement",
1728
- "module": "src/entities/entities.ts"
1729
- }
1383
+ "kind": "field",
1384
+ "name": "edit",
1385
+ "privacy": "private"
1386
+ },
1387
+ {
1388
+ "kind": "method",
1389
+ "name": "delete",
1390
+ "parameters": [
1391
+ {
1392
+ "name": "e"
1393
+ }
1394
+ ]
1730
1395
  }
1731
1396
  ],
1732
- "superclass": {
1733
- "name": "EntityManagement",
1734
- "module": "/src/entities"
1735
- },
1736
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
1737
- "tagName": "profile-management",
1738
- "customElement": true,
1739
1397
  "attributes": [
1740
1398
  {
1741
1399
  "name": "design-system-prefix",
@@ -1744,195 +1402,98 @@
1744
1402
  },
1745
1403
  "default": "'zero'",
1746
1404
  "description": "Name of the design system prefix that will be used in renderers.",
1747
- "fieldName": "prefix",
1748
- "inheritedFrom": {
1749
- "name": "EntityManagement",
1750
- "module": "src/entities/entities.ts"
1751
- }
1405
+ "fieldName": "prefix"
1752
1406
  },
1753
1407
  {
1754
1408
  "name": "resourceName",
1755
1409
  "type": {
1756
1410
  "text": "string"
1757
1411
  },
1758
- "description": "Name of the backend resource which contain the entities to manage",
1759
- "fieldName": "resourceName",
1760
- "inheritedFrom": {
1761
- "name": "EntityManagement",
1762
- "module": "src/entities/entities.ts"
1763
- }
1764
- },
1765
- {
1766
- "name": "readEvent",
1767
- "type": {
1768
- "text": "string"
1769
- },
1770
- "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",
1771
- "fieldName": "readEvent",
1772
- "inheritedFrom": {
1773
- "name": "EntityManagement",
1774
- "module": "src/entities/entities.ts"
1775
- }
1776
- },
1777
- {
1778
- "name": "updateEvent",
1779
- "type": {
1780
- "text": "string"
1781
- },
1782
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1783
- "fieldName": "updateEvent",
1784
- "inheritedFrom": {
1785
- "name": "EntityManagement",
1786
- "module": "src/entities/entities.ts"
1787
- }
1412
+ "default": "''",
1413
+ "fieldName": "resourceName"
1788
1414
  },
1789
1415
  {
1790
- "name": "deleteEvent",
1416
+ "name": "title",
1791
1417
  "type": {
1792
1418
  "text": "string"
1793
1419
  },
1794
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1795
- "fieldName": "deleteEvent",
1796
- "inheritedFrom": {
1797
- "name": "EntityManagement",
1798
- "module": "src/entities/entities.ts"
1799
- }
1420
+ "default": "''",
1421
+ "fieldName": "title"
1800
1422
  },
1801
1423
  {
1802
- "name": "createEvent",
1424
+ "name": "persist-column-state-key",
1803
1425
  "type": {
1804
1426
  "text": "string"
1805
1427
  },
1806
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1807
- "fieldName": "createEvent",
1808
- "inheritedFrom": {
1809
- "name": "EntityManagement",
1810
- "module": "src/entities/entities.ts"
1811
- }
1428
+ "fieldName": "persistColumnStateKey"
1812
1429
  },
1813
1430
  {
1814
- "name": "title",
1431
+ "name": "persist-filter-model-key",
1815
1432
  "type": {
1816
1433
  "text": "string"
1817
1434
  },
1818
- "description": "Title of the grid",
1819
- "fieldName": "title",
1820
- "inheritedFrom": {
1821
- "name": "EntityManagement",
1822
- "module": "src/entities/entities.ts"
1823
- }
1435
+ "fieldName": "persistFilterModelKey"
1824
1436
  },
1825
1437
  {
1826
- "name": "entityLabel",
1438
+ "name": "size-columns-to-fit",
1827
1439
  "type": {
1828
- "text": "string"
1440
+ "text": "boolean"
1829
1441
  },
1830
- "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",
1831
- "fieldName": "entityLabel",
1832
- "inheritedFrom": {
1833
- "name": "EntityManagement",
1834
- "module": "src/entities/entities.ts"
1835
- }
1442
+ "fieldName": "sizeColumnsToFit"
1836
1443
  },
1837
1444
  {
1838
1445
  "name": "row-selection",
1839
1446
  "type": {
1840
1447
  "text": "string"
1841
1448
  },
1842
- "default": "'single'",
1843
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1844
- "fieldName": "rowSelection",
1845
- "inheritedFrom": {
1846
- "name": "EntityManagement",
1847
- "module": "src/entities/entities.ts"
1848
- }
1449
+ "fieldName": "rowSelection"
1849
1450
  },
1850
1451
  {
1851
- "name": "enable-cell-flashing",
1452
+ "name": "enable-filter-bar",
1852
1453
  "type": {
1853
1454
  "text": "boolean"
1854
1455
  },
1855
- "default": "false",
1856
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
1857
- "fieldName": "enableCellFlashing",
1858
- "inheritedFrom": {
1859
- "name": "EntityManagement",
1860
- "module": "src/entities/entities.ts"
1861
- }
1456
+ "fieldName": "enableFilterBar"
1862
1457
  },
1863
1458
  {
1864
- "name": "enable-row-flashing",
1459
+ "name": "async-add",
1865
1460
  "type": {
1866
1461
  "text": "boolean"
1867
1462
  },
1868
1463
  "default": "false",
1869
- "description": "If true, will enable row flashing for all rows for `add` transactions",
1870
- "fieldName": "enableRowFlashing",
1871
- "inheritedFrom": {
1872
- "name": "EntityManagement",
1873
- "module": "src/entities/entities.ts"
1874
- }
1875
- },
1876
- {
1877
- "name": "datasource-type",
1878
- "type": {
1879
- "text": "DatasourceType"
1880
- },
1881
- "default": "'client'",
1882
- "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.",
1883
- "fieldName": "datasourceType",
1884
- "inheritedFrom": {
1885
- "name": "EntityManagement",
1886
- "module": "src/entities/entities.ts"
1887
- }
1464
+ "fieldName": "asyncAdd"
1888
1465
  },
1889
1466
  {
1890
- "name": "persist-column-state-key",
1467
+ "name": "async-remove",
1891
1468
  "type": {
1892
- "text": "string"
1469
+ "text": "boolean"
1893
1470
  },
1894
- "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.",
1895
- "fieldName": "persistColumnStateKey",
1896
- "inheritedFrom": {
1897
- "name": "EntityManagement",
1898
- "module": "src/entities/entities.ts"
1899
- }
1471
+ "default": "false",
1472
+ "fieldName": "asyncRemove"
1900
1473
  },
1901
1474
  {
1902
- "name": "persist-filter-model-key",
1475
+ "name": "async-update",
1903
1476
  "type": {
1904
- "text": "string"
1477
+ "text": "boolean"
1905
1478
  },
1906
- "description": "The key to use for persisting the filter model in local browser or KV storage.",
1907
- "fieldName": "persistFilterModelKey",
1908
- "inheritedFrom": {
1909
- "name": "EntityManagement",
1910
- "module": "src/entities/entities.ts"
1911
- }
1479
+ "default": "true",
1480
+ "fieldName": "asyncUpdate"
1912
1481
  },
1913
1482
  {
1914
- "name": "size-columns-to-fit",
1483
+ "name": "enable-cell-flashing",
1915
1484
  "type": {
1916
1485
  "text": "boolean"
1917
1486
  },
1918
- "description": "Resizes columns to take available space",
1919
- "fieldName": "sizeColumnsToFit",
1920
- "inheritedFrom": {
1921
- "name": "EntityManagement",
1922
- "module": "src/entities/entities.ts"
1923
- }
1487
+ "default": "false",
1488
+ "fieldName": "enableCellFlashing"
1924
1489
  },
1925
1490
  {
1926
- "name": "enable-filter-bar",
1491
+ "name": "enable-row-flashing",
1927
1492
  "type": {
1928
1493
  "text": "boolean"
1929
1494
  },
1930
- "description": "Enables filter bar component",
1931
- "fieldName": "enableFilterBar",
1932
- "inheritedFrom": {
1933
- "name": "EntityManagement",
1934
- "module": "src/entities/entities.ts"
1935
- }
1495
+ "default": "false",
1496
+ "fieldName": "enableRowFlashing"
1936
1497
  },
1937
1498
  {
1938
1499
  "name": "hide-edit",
@@ -1940,12 +1501,7 @@
1940
1501
  "text": "boolean"
1941
1502
  },
1942
1503
  "default": "false",
1943
- "description": "Hides edit button",
1944
- "fieldName": "hideEdit",
1945
- "inheritedFrom": {
1946
- "name": "EntityManagement",
1947
- "module": "src/entities/entities.ts"
1948
- }
1504
+ "fieldName": "hideEdit"
1949
1505
  },
1950
1506
  {
1951
1507
  "name": "hide-delete",
@@ -1953,203 +1509,60 @@
1953
1509
  "text": "boolean"
1954
1510
  },
1955
1511
  "default": "false",
1956
- "description": "Hides delete button",
1957
- "fieldName": "hideDelete",
1958
- "inheritedFrom": {
1959
- "name": "EntityManagement",
1960
- "module": "src/entities/entities.ts"
1961
- }
1512
+ "fieldName": "hideDelete"
1962
1513
  },
1963
1514
  {
1964
- "name": "enable-search-bar",
1515
+ "name": "datasource-type",
1965
1516
  "type": {
1966
- "text": "boolean"
1517
+ "text": "DatasourceType"
1967
1518
  },
1968
- "default": "false",
1969
- "description": "This attribute controls whether to enable the search-bar.",
1970
- "fieldName": "enableSearchBar",
1971
- "inheritedFrom": {
1972
- "name": "EntityManagement",
1973
- "module": "src/entities/entities.ts"
1974
- }
1519
+ "default": "'client'",
1520
+ "fieldName": "datasourceType"
1975
1521
  },
1976
1522
  {
1977
1523
  "name": "header-case-type",
1978
1524
  "type": {
1979
1525
  "text": "GridProCaseType"
1980
1526
  },
1981
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1982
- "fieldName": "headerCaseType",
1983
- "inheritedFrom": {
1984
- "name": "EntityManagement",
1985
- "module": "src/entities/entities.ts"
1986
- }
1987
- },
1988
- {
1989
- "name": "modal-position",
1990
- "type": {
1991
- "text": "'centre' | 'left' | 'right'"
1992
- },
1993
- "default": "'right'",
1994
- "description": "Determines where the modal dialog will appear on screen",
1995
- "fieldName": "modalPosition",
1996
- "inheritedFrom": {
1997
- "name": "EntityManagement",
1998
- "module": "src/entities/entities.ts"
1999
- }
2000
- },
2001
- {
2002
- "name": "crud-menu-position",
2003
- "type": {
2004
- "text": "CrudMenuPosition"
2005
- },
2006
- "description": "Determines where the buttons will appear",
2007
- "fieldName": "crudMenuPosition",
2008
- "inheritedFrom": {
2009
- "name": "EntityManagement",
2010
- "module": "src/entities/entities.ts"
2011
- }
2012
- },
1527
+ "fieldName": "headerCaseType"
1528
+ }
1529
+ ],
1530
+ "mixins": [
2013
1531
  {
2014
- "name": "crud-menu-style",
2015
- "type": {
2016
- "text": "ActionsMenuStyle"
2017
- },
2018
- "description": "Determines the style of the buttons",
2019
- "fieldName": "crudMenuStyle",
2020
- "inheritedFrom": {
2021
- "name": "EntityManagement",
2022
- "module": "src/entities/entities.ts"
2023
- }
2024
- },
2025
- {
2026
- "name": "crud-action-menu-name",
2027
- "type": {
2028
- "text": "string"
2029
- },
2030
- "default": "'⋮'",
2031
- "description": "The label of the crud action menu",
2032
- "fieldName": "crudActionMenuName",
2033
- "inheritedFrom": {
2034
- "name": "EntityManagement",
2035
- "module": "src/entities/entities.ts"
2036
- }
1532
+ "name": "LifecycleMixin",
1533
+ "package": "@genesislcap/foundation-utils"
2037
1534
  }
2038
1535
  ],
2039
- "events": [
2040
- {
2041
- "description": "Fired when the request is changed",
2042
- "name": "request-changed",
2043
- "inheritedFrom": {
2044
- "name": "EntityManagement",
2045
- "module": "src/entities/entities.ts"
2046
- }
2047
- },
2048
- {
2049
- "description": "Fired when the criteria is changed",
2050
- "name": "criteria-changed",
2051
- "inheritedFrom": {
2052
- "name": "EntityManagement",
2053
- "module": "src/entities/entities.ts"
2054
- }
2055
- },
2056
- {
2057
- "description": "Fired when an entity is created",
2058
- "name": "create-entity",
2059
- "inheritedFrom": {
2060
- "name": "EntityManagement",
2061
- "module": "src/entities/entities.ts"
2062
- }
2063
- },
2064
- {
2065
- "description": "Fired when an entity is edited",
2066
- "name": "edit-entity",
2067
- "inheritedFrom": {
2068
- "name": "EntityManagement",
2069
- "module": "src/entities/entities.ts"
2070
- }
2071
- },
2072
- {
2073
- "description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
2074
- "name": "delete-entity",
2075
- "inheritedFrom": {
2076
- "name": "EntityManagement",
2077
- "module": "src/entities/entities.ts"
2078
- }
2079
- },
2080
- {
2081
- "description": "Fired when there is an error in a create, edit or delete operation",
2082
- "name": "submit-failure",
2083
- "inheritedFrom": {
2084
- "name": "EntityManagement",
2085
- "module": "src/entities/entities.ts"
2086
- }
2087
- },
2088
- {
2089
- "description": "Fired when a create, edit or delete operation is completed successfully",
2090
- "name": "submit-success",
2091
- "inheritedFrom": {
2092
- "name": "EntityManagement",
2093
- "module": "src/entities/entities.ts"
2094
- }
2095
- },
2096
- {
2097
- "description": "Fired when a row is clicked",
2098
- "name": "rowClick",
2099
- "inheritedFrom": {
2100
- "name": "EntityManagement",
2101
- "module": "src/entities/entities.ts"
2102
- }
2103
- },
2104
- {
2105
- "description": "Fired when a row is double clicked",
2106
- "name": "rowDblClick",
2107
- "inheritedFrom": {
2108
- "name": "EntityManagement",
2109
- "module": "src/entities/entities.ts"
2110
- }
2111
- },
2112
- {
2113
- "description": "Fired when a row is right clicked",
2114
- "name": "contextMenu",
2115
- "inheritedFrom": {
2116
- "name": "EntityManagement",
2117
- "module": "src/entities/entities.ts"
2118
- }
2119
- },
2120
- {
2121
- "description": "Fired when a row is selected",
2122
- "name": "rowSelected",
2123
- "inheritedFrom": {
2124
- "name": "EntityManagement",
2125
- "module": "src/entities/entities.ts"
2126
- }
2127
- }
2128
- ]
1536
+ "superclass": {
1537
+ "name": "FASTElement",
1538
+ "package": "@microsoft/fast-element"
1539
+ },
1540
+ "tagName": "entity-list",
1541
+ "customElement": true
2129
1542
  }
2130
1543
  ],
2131
1544
  "exports": [
2132
1545
  {
2133
1546
  "kind": "js",
2134
- "name": "Profiles",
1547
+ "name": "List",
2135
1548
  "declaration": {
2136
- "name": "Profiles",
2137
- "module": "src/profiles/profiles.ts"
1549
+ "name": "List",
1550
+ "module": "src/list/list.ts"
2138
1551
  }
2139
1552
  },
2140
1553
  {
2141
1554
  "kind": "custom-element-definition",
2142
- "name": "profile-management",
1555
+ "name": "entity-list",
2143
1556
  "declaration": {
2144
- "name": "Profiles",
2145
- "module": "src/profiles/profiles.ts"
1557
+ "name": "List",
1558
+ "module": "src/list/list.ts"
2146
1559
  }
2147
1560
  }
2148
1561
  ]
2149
1562
  },
2150
1563
  {
2151
1564
  "kind": "javascript-module",
2152
- "path": "src/list/index.ts",
1565
+ "path": "src/main/index.ts",
2153
1566
  "declarations": [],
2154
1567
  "exports": [
2155
1568
  {
@@ -2157,219 +1570,491 @@
2157
1570
  "name": "*",
2158
1571
  "declaration": {
2159
1572
  "name": "*",
2160
- "package": "./list"
1573
+ "package": "./main.template"
2161
1574
  }
2162
- }
2163
- ]
2164
- },
2165
- {
2166
- "kind": "javascript-module",
2167
- "path": "src/list/list.styles.ts",
2168
- "declarations": [
2169
- {
2170
- "kind": "variable",
2171
- "name": "listStyles",
2172
- "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`"
2173
- }
2174
- ],
2175
- "exports": [
1575
+ },
2176
1576
  {
2177
1577
  "kind": "js",
2178
- "name": "listStyles",
1578
+ "name": "*",
2179
1579
  "declaration": {
2180
- "name": "listStyles",
2181
- "module": "src/list/list.styles.ts"
1580
+ "name": "*",
1581
+ "package": "./main"
2182
1582
  }
2183
1583
  }
2184
1584
  ]
2185
1585
  },
2186
1586
  {
2187
1587
  "kind": "javascript-module",
2188
- "path": "src/list/list.template.ts",
1588
+ "path": "src/main/main.styles.ts",
2189
1589
  "declarations": [
2190
1590
  {
2191
- "kind": "function",
2192
- "name": "getPrefixedList",
2193
- "parameters": [
2194
- {
2195
- "name": "prefix"
2196
- }
2197
- ]
1591
+ "kind": "variable",
1592
+ "name": "MainStyles",
1593
+ "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`"
2198
1594
  }
2199
1595
  ],
2200
1596
  "exports": [
2201
1597
  {
2202
1598
  "kind": "js",
2203
- "name": "getPrefixedList",
1599
+ "name": "MainStyles",
2204
1600
  "declaration": {
2205
- "name": "getPrefixedList",
2206
- "module": "src/list/list.template.ts"
1601
+ "name": "MainStyles",
1602
+ "module": "src/main/main.styles.ts"
2207
1603
  }
2208
1604
  }
2209
1605
  ]
2210
1606
  },
2211
1607
  {
2212
1608
  "kind": "javascript-module",
2213
- "path": "src/list/list.ts",
1609
+ "path": "src/main/main.template.ts",
1610
+ "declarations": [],
1611
+ "exports": []
1612
+ },
1613
+ {
1614
+ "kind": "javascript-module",
1615
+ "path": "src/main/main.ts",
2214
1616
  "declarations": [
2215
1617
  {
2216
1618
  "kind": "class",
2217
1619
  "description": "",
2218
- "name": "List",
1620
+ "name": "MainApplication",
2219
1621
  "members": [
2220
1622
  {
2221
1623
  "kind": "field",
2222
- "name": "prefix",
2223
- "type": {
2224
- "text": "string"
2225
- },
2226
- "default": "'zero'",
2227
- "description": "Name of the design system prefix that will be used in renderers.",
2228
- "privacy": "public"
2229
- },
2230
- {
2231
- "kind": "field",
2232
- "name": "resourceName",
2233
- "type": {
2234
- "text": "string"
2235
- },
2236
- "default": "''"
2237
- },
2238
- {
2239
- "kind": "field",
2240
- "name": "title",
2241
- "type": {
2242
- "text": "string"
2243
- },
2244
- "default": "''"
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "persistColumnStateKey",
1624
+ "name": "config",
2249
1625
  "type": {
2250
- "text": "string"
1626
+ "text": "MainRouterConfig"
2251
1627
  }
2252
1628
  },
2253
1629
  {
2254
1630
  "kind": "field",
2255
- "name": "persistFilterModelKey",
1631
+ "name": "connect",
2256
1632
  "type": {
2257
- "text": "string"
1633
+ "text": "Connect"
2258
1634
  }
2259
1635
  },
2260
1636
  {
2261
1637
  "kind": "field",
2262
- "name": "sizeColumnsToFit",
1638
+ "name": "session",
2263
1639
  "type": {
2264
- "text": "boolean"
1640
+ "text": "Session"
2265
1641
  }
2266
1642
  },
2267
1643
  {
2268
1644
  "kind": "field",
2269
- "name": "rowSelection",
1645
+ "name": "container",
2270
1646
  "type": {
2271
- "text": "string"
1647
+ "text": "Container"
2272
1648
  }
2273
1649
  },
2274
1650
  {
2275
1651
  "kind": "field",
2276
- "name": "enableFilterBar",
1652
+ "name": "provider",
2277
1653
  "type": {
2278
- "text": "boolean"
1654
+ "text": "HTMLElement"
2279
1655
  }
2280
1656
  },
2281
1657
  {
2282
1658
  "kind": "field",
2283
- "name": "asyncAdd",
2284
- "type": {
2285
- "text": "boolean"
2286
- },
2287
- "default": "false"
2288
- },
2289
- {
2290
- "kind": "field",
2291
- "name": "asyncRemove",
1659
+ "name": "ready",
2292
1660
  "type": {
2293
1661
  "text": "boolean"
2294
1662
  },
2295
1663
  "default": "false"
2296
1664
  },
2297
1665
  {
2298
- "kind": "field",
2299
- "name": "asyncUpdate",
2300
- "type": {
2301
- "text": "boolean"
2302
- },
2303
- "default": "true"
1666
+ "kind": "method",
1667
+ "name": "onLuminanceToggle"
2304
1668
  },
2305
1669
  {
2306
- "kind": "field",
2307
- "name": "enableCellFlashing",
2308
- "type": {
2309
- "text": "boolean"
2310
- },
2311
- "default": "false"
1670
+ "kind": "method",
1671
+ "name": "loadRemotes"
2312
1672
  },
2313
1673
  {
2314
- "kind": "field",
2315
- "name": "enableRowFlashing",
2316
- "type": {
2317
- "text": "boolean"
2318
- },
2319
- "default": "false"
1674
+ "kind": "method",
1675
+ "name": "selectTemplate"
1676
+ },
1677
+ {
1678
+ "kind": "method",
1679
+ "name": "registerDIDependencies",
1680
+ "privacy": "private"
1681
+ }
1682
+ ],
1683
+ "superclass": {
1684
+ "name": "FASTElement",
1685
+ "package": "@microsoft/fast-element"
1686
+ },
1687
+ "customElement": true
1688
+ }
1689
+ ],
1690
+ "exports": [
1691
+ {
1692
+ "kind": "js",
1693
+ "name": "MainApplication",
1694
+ "declaration": {
1695
+ "name": "MainApplication",
1696
+ "module": "src/main/main.ts"
1697
+ }
1698
+ },
1699
+ {
1700
+ "kind": "custom-element-definition",
1701
+ "declaration": {
1702
+ "name": "MainApplication",
1703
+ "module": "src/main/main.ts"
1704
+ }
1705
+ }
1706
+ ]
1707
+ },
1708
+ {
1709
+ "kind": "javascript-module",
1710
+ "path": "src/layouts/default.ts",
1711
+ "declarations": [
1712
+ {
1713
+ "kind": "variable",
1714
+ "name": "loginLayout",
1715
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1716
+ },
1717
+ {
1718
+ "kind": "variable",
1719
+ "name": "defaultLayout",
1720
+ "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)"
1721
+ }
1722
+ ],
1723
+ "exports": [
1724
+ {
1725
+ "kind": "js",
1726
+ "name": "loginLayout",
1727
+ "declaration": {
1728
+ "name": "loginLayout",
1729
+ "module": "src/layouts/default.ts"
1730
+ }
1731
+ },
1732
+ {
1733
+ "kind": "js",
1734
+ "name": "defaultLayout",
1735
+ "declaration": {
1736
+ "name": "defaultLayout",
1737
+ "module": "src/layouts/default.ts"
1738
+ }
1739
+ }
1740
+ ]
1741
+ },
1742
+ {
1743
+ "kind": "javascript-module",
1744
+ "path": "src/layouts/index.ts",
1745
+ "declarations": [],
1746
+ "exports": [
1747
+ {
1748
+ "kind": "js",
1749
+ "name": "*",
1750
+ "declaration": {
1751
+ "name": "*",
1752
+ "package": "./default"
1753
+ }
1754
+ }
1755
+ ]
1756
+ },
1757
+ {
1758
+ "kind": "javascript-module",
1759
+ "path": "src/profiles/editProfileSchema.ts",
1760
+ "declarations": [
1761
+ {
1762
+ "kind": "variable",
1763
+ "name": "editProfileFormSchema",
1764
+ "type": {
1765
+ "text": "UiSchema"
1766
+ },
1767
+ "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}"
1768
+ }
1769
+ ],
1770
+ "exports": [
1771
+ {
1772
+ "kind": "js",
1773
+ "name": "editProfileFormSchema",
1774
+ "declaration": {
1775
+ "name": "editProfileFormSchema",
1776
+ "module": "src/profiles/editProfileSchema.ts"
1777
+ }
1778
+ }
1779
+ ]
1780
+ },
1781
+ {
1782
+ "kind": "javascript-module",
1783
+ "path": "src/profiles/profiles.ts",
1784
+ "declarations": [
1785
+ {
1786
+ "kind": "class",
1787
+ "description": "Main class which defined the profile management functionality",
1788
+ "name": "Profiles",
1789
+ "members": [
1790
+ {
1791
+ "kind": "method",
1792
+ "name": "readProfileData",
1793
+ "privacy": "public",
1794
+ "parameters": [
1795
+ {
1796
+ "name": "profile"
1797
+ }
1798
+ ]
1799
+ },
1800
+ {
1801
+ "kind": "method",
1802
+ "name": "confirmDelete"
2320
1803
  },
2321
1804
  {
2322
1805
  "kind": "field",
2323
- "name": "hideEdit",
1806
+ "name": "createEvent",
2324
1807
  "type": {
2325
- "text": "boolean"
1808
+ "text": "string"
2326
1809
  },
2327
- "default": "false"
1810
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
1811
+ "privacy": "public",
1812
+ "inheritedFrom": {
1813
+ "name": "EntityManagement",
1814
+ "module": "src/entities/entities.ts"
1815
+ }
2328
1816
  },
2329
1817
  {
2330
1818
  "kind": "field",
2331
- "name": "hideDelete",
1819
+ "name": "deleteEvent",
2332
1820
  "type": {
2333
- "text": "boolean"
1821
+ "text": "string"
2334
1822
  },
2335
- "default": "false"
1823
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1824
+ "privacy": "public",
1825
+ "inheritedFrom": {
1826
+ "name": "EntityManagement",
1827
+ "module": "src/entities/entities.ts"
1828
+ }
2336
1829
  },
2337
1830
  {
2338
1831
  "kind": "field",
2339
- "name": "datasourceType",
1832
+ "name": "updateEvent",
2340
1833
  "type": {
2341
- "text": "DatasourceType"
1834
+ "text": "string"
2342
1835
  },
2343
- "default": "'client'"
1836
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
1837
+ "privacy": "public",
1838
+ "inheritedFrom": {
1839
+ "name": "EntityManagement",
1840
+ "module": "src/entities/entities.ts"
1841
+ }
2344
1842
  },
2345
1843
  {
2346
1844
  "kind": "field",
2347
- "name": "headerCaseType",
1845
+ "name": "persistColumnStateKey",
2348
1846
  "type": {
2349
- "text": "GridProCaseType"
1847
+ "text": "string"
1848
+ },
1849
+ "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.",
1850
+ "privacy": "public",
1851
+ "default": "'entity_profiles_management'",
1852
+ "inheritedFrom": {
1853
+ "name": "EntityManagement",
1854
+ "module": "src/entities/entities.ts"
2350
1855
  }
2351
1856
  },
2352
1857
  {
2353
1858
  "kind": "field",
2354
- "name": "grid",
1859
+ "name": "updateFormUiSchema",
2355
1860
  "type": {
2356
- "text": "ZeroGridPro"
1861
+ "text": "UiSchema"
1862
+ },
1863
+ "description": "Enables you to supply a schema to configure an update form.",
1864
+ "privacy": "public",
1865
+ "default": "editProfileFormSchema",
1866
+ "inheritedFrom": {
1867
+ "name": "EntityManagement",
1868
+ "module": "src/entities/entities.ts"
1869
+ }
1870
+ },
1871
+ {
1872
+ "kind": "field",
1873
+ "name": "createFormUiSchema",
1874
+ "type": {
1875
+ "text": "UiSchema"
1876
+ },
1877
+ "description": "Enables you to supply a schema to configure an insert form.",
1878
+ "privacy": "public",
1879
+ "default": "editProfileFormSchema",
1880
+ "inheritedFrom": {
1881
+ "name": "EntityManagement",
1882
+ "module": "src/entities/entities.ts"
1883
+ }
1884
+ },
1885
+ {
1886
+ "kind": "field",
1887
+ "name": "readEventFn",
1888
+ "type": {
1889
+ "text": "(entity) => any"
1890
+ },
1891
+ "description": "Similar to readEvent but allows to provide function that will be executed before\nopening the form and yields data to the form",
1892
+ "parameters": [
1893
+ {
1894
+ "description": "selected entity from the grid",
1895
+ "name": "entity"
1896
+ }
1897
+ ],
1898
+ "return": {
1899
+ "type": {
1900
+ "text": ""
1901
+ }
1902
+ },
1903
+ "privacy": "public",
1904
+ "inheritedFrom": {
1905
+ "name": "EntityManagement",
1906
+ "module": "src/entities/entities.ts"
1907
+ }
1908
+ },
1909
+ {
1910
+ "kind": "field",
1911
+ "name": "resourceName",
1912
+ "type": {
1913
+ "text": "string"
1914
+ },
1915
+ "description": "Name of the backend resource which contain the entities to manage",
1916
+ "privacy": "public",
1917
+ "default": "'ALL_PROFILES'",
1918
+ "inheritedFrom": {
1919
+ "name": "EntityManagement",
1920
+ "module": "src/entities/entities.ts"
1921
+ }
1922
+ },
1923
+ {
1924
+ "kind": "field",
1925
+ "name": "title",
1926
+ "type": {
1927
+ "text": "string"
1928
+ },
1929
+ "description": "Title of the grid",
1930
+ "privacy": "public",
1931
+ "default": "'Profile Management'",
1932
+ "inheritedFrom": {
1933
+ "name": "EntityManagement",
1934
+ "module": "src/entities/entities.ts"
1935
+ }
1936
+ },
1937
+ {
1938
+ "kind": "field",
1939
+ "name": "entityLabel",
1940
+ "type": {
1941
+ "text": "string"
1942
+ },
1943
+ "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",
1944
+ "privacy": "public",
1945
+ "default": "'Profile'",
1946
+ "inheritedFrom": {
1947
+ "name": "EntityManagement",
1948
+ "module": "src/entities/entities.ts"
1949
+ }
1950
+ },
1951
+ {
1952
+ "kind": "field",
1953
+ "name": "prefix",
1954
+ "type": {
1955
+ "text": "string"
1956
+ },
1957
+ "default": "'zero'",
1958
+ "description": "Name of the design system prefix that will be used in renderers.",
1959
+ "privacy": "public",
1960
+ "inheritedFrom": {
1961
+ "name": "EntityManagement",
1962
+ "module": "src/entities/entities.ts"
1963
+ }
1964
+ },
1965
+ {
1966
+ "kind": "field",
1967
+ "name": "readEvent",
1968
+ "type": {
1969
+ "text": "string"
1970
+ },
1971
+ "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",
1972
+ "privacy": "public",
1973
+ "inheritedFrom": {
1974
+ "name": "EntityManagement",
1975
+ "module": "src/entities/entities.ts"
1976
+ }
1977
+ },
1978
+ {
1979
+ "kind": "field",
1980
+ "name": "rowSelection",
1981
+ "type": {
1982
+ "text": "string"
1983
+ },
1984
+ "default": "'single'",
1985
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
1986
+ "privacy": "public",
1987
+ "inheritedFrom": {
1988
+ "name": "EntityManagement",
1989
+ "module": "src/entities/entities.ts"
1990
+ }
1991
+ },
1992
+ {
1993
+ "kind": "field",
1994
+ "name": "enableCellFlashing",
1995
+ "type": {
1996
+ "text": "boolean"
1997
+ },
1998
+ "default": "false",
1999
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2000
+ "privacy": "public",
2001
+ "inheritedFrom": {
2002
+ "name": "EntityManagement",
2003
+ "module": "src/entities/entities.ts"
2004
+ }
2005
+ },
2006
+ {
2007
+ "kind": "field",
2008
+ "name": "enableRowFlashing",
2009
+ "type": {
2010
+ "text": "boolean"
2011
+ },
2012
+ "default": "false",
2013
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
2014
+ "privacy": "public",
2015
+ "inheritedFrom": {
2016
+ "name": "EntityManagement",
2017
+ "module": "src/entities/entities.ts"
2018
+ }
2019
+ },
2020
+ {
2021
+ "kind": "field",
2022
+ "name": "datasourceType",
2023
+ "type": {
2024
+ "text": "DatasourceType"
2357
2025
  },
2358
- "privacy": "public"
2026
+ "default": "'client'",
2027
+ "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.",
2028
+ "privacy": "public",
2029
+ "inheritedFrom": {
2030
+ "name": "EntityManagement",
2031
+ "module": "src/entities/entities.ts"
2032
+ }
2359
2033
  },
2360
2034
  {
2361
2035
  "kind": "field",
2362
- "name": "datasource",
2036
+ "name": "persistFilterModelKey",
2363
2037
  "type": {
2364
- "text": "GridProGenesisDatasource"
2038
+ "text": "string"
2365
2039
  },
2366
- "privacy": "public"
2040
+ "description": "The key to use for persisting the filter model in local browser or KV storage.",
2041
+ "privacy": "public",
2042
+ "inheritedFrom": {
2043
+ "name": "EntityManagement",
2044
+ "module": "src/entities/entities.ts"
2045
+ }
2367
2046
  },
2368
2047
  {
2369
2048
  "kind": "field",
2370
2049
  "name": "gridOptions",
2371
2050
  "type": {
2372
2051
  "text": "GridOptions"
2052
+ },
2053
+ "description": "GridOptions to be passed down from application",
2054
+ "privacy": "public",
2055
+ "inheritedFrom": {
2056
+ "name": "EntityManagement",
2057
+ "module": "src/entities/entities.ts"
2373
2058
  }
2374
2059
  },
2375
2060
  {
@@ -2377,6 +2062,12 @@
2377
2062
  "name": "columns",
2378
2063
  "type": {
2379
2064
  "text": "ColDef[]"
2065
+ },
2066
+ "description": "Array which holds the column definitions.",
2067
+ "privacy": "public",
2068
+ "inheritedFrom": {
2069
+ "name": "EntityManagement",
2070
+ "module": "src/entities/entities.ts"
2380
2071
  }
2381
2072
  },
2382
2073
  {
@@ -2384,149 +2075,200 @@
2384
2075
  "name": "datasourceConfig",
2385
2076
  "type": {
2386
2077
  "text": "DatasourceConfiguration"
2078
+ },
2079
+ "description": "The configuration which is used when interacting with the resource on the backend",
2080
+ "privacy": "public",
2081
+ "inheritedFrom": {
2082
+ "name": "EntityManagement",
2083
+ "module": "src/entities/entities.ts"
2387
2084
  }
2388
2085
  },
2389
2086
  {
2390
2087
  "kind": "field",
2391
- "name": "actionButtonsConfig",
2088
+ "name": "formRenderers",
2392
2089
  "type": {
2393
- "text": "array"
2090
+ "text": "RendererEntry[]"
2394
2091
  },
2395
- "default": "[]"
2092
+ "default": "renderers",
2093
+ "description": "Array with renderers used by foundation-forms",
2094
+ "privacy": "public",
2095
+ "inheritedFrom": {
2096
+ "name": "EntityManagement",
2097
+ "module": "src/entities/entities.ts"
2098
+ }
2396
2099
  },
2397
2100
  {
2398
2101
  "kind": "field",
2399
- "name": "deleteEvent",
2102
+ "name": "defaultEntityValues",
2400
2103
  "type": {
2401
- "text": "string"
2104
+ "text": "Record<string, unknown>"
2105
+ },
2106
+ "description": "The default values to populate the form with when the user is adding an entity",
2107
+ "privacy": "public",
2108
+ "inheritedFrom": {
2109
+ "name": "EntityManagement",
2110
+ "module": "src/entities/entities.ts"
2402
2111
  }
2403
2112
  },
2404
2113
  {
2405
- "kind": "field",
2406
- "name": "updateEvent",
2407
- "type": {
2408
- "text": "string"
2114
+ "kind": "method",
2115
+ "name": "editModalVisibleChanged",
2116
+ "privacy": "private",
2117
+ "inheritedFrom": {
2118
+ "name": "EntityManagement",
2119
+ "module": "src/entities/entities.ts"
2409
2120
  }
2410
2121
  },
2411
2122
  {
2412
2123
  "kind": "field",
2413
- "name": "connect",
2124
+ "name": "sizeColumnsToFit",
2414
2125
  "type": {
2415
- "text": "Connect"
2126
+ "text": "boolean"
2416
2127
  },
2417
- "privacy": "protected"
2128
+ "description": "Resizes columns to take available space",
2129
+ "privacy": "public",
2130
+ "inheritedFrom": {
2131
+ "name": "EntityManagement",
2132
+ "module": "src/entities/entities.ts"
2133
+ }
2418
2134
  },
2419
2135
  {
2420
2136
  "kind": "field",
2421
- "name": "isServerSideDatasource",
2137
+ "name": "enableFilterBar",
2422
2138
  "type": {
2423
2139
  "text": "boolean"
2424
2140
  },
2425
- "readonly": true
2426
- },
2427
- {
2428
- "kind": "method",
2429
- "name": "onCellEditingStopped",
2430
- "privacy": "private",
2431
- "parameters": [
2432
- {
2433
- "name": "event",
2434
- "type": {
2435
- "text": "CellEditRequestEvent"
2436
- }
2437
- }
2438
- ]
2439
- },
2440
- {
2441
- "kind": "field",
2442
- "name": "criteria",
2443
- "readonly": true
2444
- },
2445
- {
2446
- "kind": "field",
2447
- "name": "fields",
2448
- "readonly": true
2449
- },
2450
- {
2451
- "kind": "field",
2452
- "name": "isSnapshot",
2453
- "readonly": true
2454
- },
2455
- {
2456
- "kind": "field",
2457
- "name": "maxRows",
2458
- "readonly": true
2141
+ "description": "Enables filter bar component",
2142
+ "privacy": "public",
2143
+ "inheritedFrom": {
2144
+ "name": "EntityManagement",
2145
+ "module": "src/entities/entities.ts"
2146
+ }
2459
2147
  },
2460
2148
  {
2461
2149
  "kind": "field",
2462
- "name": "maxView",
2463
- "readonly": true
2150
+ "name": "hideEdit",
2151
+ "type": {
2152
+ "text": "boolean"
2153
+ },
2154
+ "default": "false",
2155
+ "description": "Hides edit button",
2156
+ "privacy": "public",
2157
+ "inheritedFrom": {
2158
+ "name": "EntityManagement",
2159
+ "module": "src/entities/entities.ts"
2160
+ }
2464
2161
  },
2465
2162
  {
2466
2163
  "kind": "field",
2467
- "name": "movingView",
2468
- "readonly": true
2164
+ "name": "hideDelete",
2165
+ "type": {
2166
+ "text": "boolean"
2167
+ },
2168
+ "default": "false",
2169
+ "description": "Hides delete button",
2170
+ "privacy": "public",
2171
+ "inheritedFrom": {
2172
+ "name": "EntityManagement",
2173
+ "module": "src/entities/entities.ts"
2174
+ }
2469
2175
  },
2470
2176
  {
2471
2177
  "kind": "field",
2472
- "name": "orderBy",
2473
- "readonly": true
2178
+ "name": "enableSearchBar",
2179
+ "type": {
2180
+ "text": "boolean"
2181
+ },
2182
+ "default": "false",
2183
+ "description": "This attribute controls whether to enable the search-bar.",
2184
+ "privacy": "public",
2185
+ "inheritedFrom": {
2186
+ "name": "EntityManagement",
2187
+ "module": "src/entities/entities.ts"
2188
+ }
2474
2189
  },
2475
2190
  {
2476
2191
  "kind": "field",
2477
- "name": "pollingInterval",
2478
- "readonly": true
2192
+ "name": "headerCaseType",
2193
+ "type": {
2194
+ "text": "GridProCaseType"
2195
+ },
2196
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2197
+ "privacy": "public",
2198
+ "inheritedFrom": {
2199
+ "name": "EntityManagement",
2200
+ "module": "src/entities/entities.ts"
2201
+ }
2479
2202
  },
2480
2203
  {
2481
2204
  "kind": "field",
2482
- "name": "request",
2483
- "readonly": true
2205
+ "name": "searchBarConfig",
2206
+ "type": {
2207
+ "text": "AvailableOption[]"
2208
+ },
2209
+ "description": "Allows configuration of the search bar component, if not provided it would build configuration based on columns in the grid\n* @public",
2210
+ "inheritedFrom": {
2211
+ "name": "EntityManagement",
2212
+ "module": "src/entities/entities.ts"
2213
+ }
2484
2214
  },
2485
2215
  {
2486
2216
  "kind": "field",
2487
- "name": "reverse",
2488
- "readonly": true
2217
+ "name": "modalPosition",
2218
+ "type": {
2219
+ "text": "'centre' | 'left' | 'right'"
2220
+ },
2221
+ "default": "'right'",
2222
+ "description": "Determines where the modal dialog will appear on screen",
2223
+ "privacy": "public",
2224
+ "inheritedFrom": {
2225
+ "name": "EntityManagement",
2226
+ "module": "src/entities/entities.ts"
2227
+ }
2489
2228
  },
2490
2229
  {
2491
2230
  "kind": "field",
2492
- "name": "viewNumber",
2493
- "readonly": true
2231
+ "name": "crudMenuPosition",
2232
+ "type": {
2233
+ "text": "CrudMenuPosition"
2234
+ },
2235
+ "description": "Determines where the buttons will appear",
2236
+ "privacy": "public",
2237
+ "inheritedFrom": {
2238
+ "name": "EntityManagement",
2239
+ "module": "src/entities/entities.ts"
2240
+ }
2494
2241
  },
2495
2242
  {
2496
2243
  "kind": "field",
2497
- "name": "disablePolling",
2498
- "readonly": true
2244
+ "name": "crudMenuStyle",
2245
+ "type": {
2246
+ "text": "ActionsMenuStyle"
2247
+ },
2248
+ "description": "Determines the style of the buttons",
2249
+ "privacy": "public",
2250
+ "inheritedFrom": {
2251
+ "name": "EntityManagement",
2252
+ "module": "src/entities/entities.ts"
2253
+ }
2499
2254
  },
2500
2255
  {
2501
2256
  "kind": "field",
2502
- "name": "requestAutoSetup",
2503
- "readonly": true
2504
- },
2505
- {
2506
- "kind": "method",
2507
- "name": "handleRowClicked",
2508
- "return": {
2509
- "type": {
2510
- "text": "void"
2511
- }
2257
+ "name": "crudActionMenuName",
2258
+ "type": {
2259
+ "text": "string"
2512
2260
  },
2513
- "parameters": [
2514
- {
2515
- "name": "e",
2516
- "type": {
2517
- "text": "CustomEvent"
2518
- }
2519
- }
2520
- ]
2261
+ "default": "'⋮'",
2262
+ "description": "The label of the crud action menu",
2263
+ "inheritedFrom": {
2264
+ "name": "EntityManagement",
2265
+ "module": "src/entities/entities.ts"
2266
+ }
2521
2267
  },
2522
- {
2523
- "kind": "method",
2524
- "name": "handleRowDblClicked",
2525
- "return": {
2526
- "type": {
2527
- "text": "void"
2528
- }
2529
- },
2268
+ {
2269
+ "kind": "method",
2270
+ "name": "readEntity",
2271
+ "privacy": "private",
2530
2272
  "parameters": [
2531
2273
  {
2532
2274
  "name": "e",
@@ -2534,83 +2276,131 @@
2534
2276
  "text": "CustomEvent"
2535
2277
  }
2536
2278
  }
2537
- ]
2279
+ ],
2280
+ "inheritedFrom": {
2281
+ "name": "EntityManagement",
2282
+ "module": "src/entities/entities.ts"
2283
+ }
2538
2284
  },
2539
2285
  {
2540
2286
  "kind": "method",
2541
- "name": "handleRowContextMenu",
2542
- "return": {
2543
- "type": {
2544
- "text": "void"
2545
- }
2546
- },
2287
+ "name": "searchBarReqServer",
2288
+ "privacy": "private",
2547
2289
  "parameters": [
2548
2290
  {
2549
- "name": "e",
2291
+ "name": "options",
2550
2292
  "type": {
2551
- "text": "CustomEvent"
2293
+ "text": "SelectedOption<string>[]"
2552
2294
  }
2553
2295
  }
2554
- ]
2296
+ ],
2297
+ "inheritedFrom": {
2298
+ "name": "EntityManagement",
2299
+ "module": "src/entities/entities.ts"
2300
+ }
2555
2301
  },
2556
2302
  {
2557
2303
  "kind": "method",
2558
- "name": "handleFilterChanged",
2304
+ "name": "searchBarDataserver",
2559
2305
  "privacy": "private",
2560
2306
  "parameters": [
2561
2307
  {
2562
- "name": "e"
2308
+ "name": "options",
2309
+ "type": {
2310
+ "text": "SelectedOption<string>[]"
2311
+ }
2563
2312
  }
2564
- ]
2313
+ ],
2314
+ "inheritedFrom": {
2315
+ "name": "EntityManagement",
2316
+ "module": "src/entities/entities.ts"
2317
+ }
2565
2318
  },
2566
2319
  {
2567
2320
  "kind": "method",
2568
- "name": "handleFilterCleared",
2321
+ "name": "requestChanged",
2569
2322
  "privacy": "private",
2570
2323
  "parameters": [
2571
2324
  {
2572
- "name": "e"
2325
+ "name": "e",
2326
+ "type": {
2327
+ "text": "CustomEvent<string>"
2328
+ }
2573
2329
  }
2574
- ]
2330
+ ],
2331
+ "inheritedFrom": {
2332
+ "name": "EntityManagement",
2333
+ "module": "src/entities/entities.ts"
2334
+ }
2575
2335
  },
2576
2336
  {
2577
2337
  "kind": "method",
2578
- "name": "select",
2338
+ "name": "criteriaChanged",
2579
2339
  "privacy": "private",
2580
2340
  "parameters": [
2581
2341
  {
2582
- "name": "e"
2342
+ "name": "e",
2343
+ "type": {
2344
+ "text": "CustomEvent<string>"
2345
+ }
2583
2346
  }
2584
- ]
2347
+ ],
2348
+ "inheritedFrom": {
2349
+ "name": "EntityManagement",
2350
+ "module": "src/entities/entities.ts"
2351
+ }
2585
2352
  },
2586
2353
  {
2587
2354
  "kind": "method",
2588
- "name": "selectionChanged",
2355
+ "name": "submitFailureNotification",
2589
2356
  "privacy": "private",
2590
2357
  "parameters": [
2591
2358
  {
2592
2359
  "name": "e",
2593
2360
  "type": {
2594
- "text": "CustomEvent<SelectionChangedEvent>"
2361
+ "text": "CustomEvent"
2595
2362
  }
2596
2363
  }
2597
- ]
2598
- },
2599
- {
2600
- "kind": "field",
2601
- "name": "edit",
2602
- "privacy": "private"
2364
+ ],
2365
+ "inheritedFrom": {
2366
+ "name": "EntityManagement",
2367
+ "module": "src/entities/entities.ts"
2368
+ }
2603
2369
  },
2604
2370
  {
2605
2371
  "kind": "method",
2606
- "name": "delete",
2372
+ "name": "submitErrorHandler",
2373
+ "privacy": "private",
2607
2374
  "parameters": [
2608
2375
  {
2609
- "name": "e"
2376
+ "name": "e",
2377
+ "type": {
2378
+ "text": "CustomEvent"
2379
+ }
2610
2380
  }
2611
- ]
2381
+ ],
2382
+ "inheritedFrom": {
2383
+ "name": "EntityManagement",
2384
+ "module": "src/entities/entities.ts"
2385
+ }
2386
+ },
2387
+ {
2388
+ "kind": "method",
2389
+ "name": "showDeleteConfirmation",
2390
+ "privacy": "private",
2391
+ "inheritedFrom": {
2392
+ "name": "EntityManagement",
2393
+ "module": "src/entities/entities.ts"
2394
+ }
2612
2395
  }
2613
2396
  ],
2397
+ "superclass": {
2398
+ "name": "EntityManagement",
2399
+ "module": "/src/entities"
2400
+ },
2401
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2402
+ "tagName": "profile-management",
2403
+ "customElement": true,
2614
2404
  "attributes": [
2615
2405
  {
2616
2406
  "name": "design-system-prefix",
@@ -2619,160 +2409,405 @@
2619
2409
  },
2620
2410
  "default": "'zero'",
2621
2411
  "description": "Name of the design system prefix that will be used in renderers.",
2622
- "fieldName": "prefix"
2412
+ "fieldName": "prefix",
2413
+ "inheritedFrom": {
2414
+ "name": "EntityManagement",
2415
+ "module": "src/entities/entities.ts"
2416
+ }
2623
2417
  },
2624
2418
  {
2625
2419
  "name": "resourceName",
2626
2420
  "type": {
2627
2421
  "text": "string"
2628
2422
  },
2629
- "default": "''",
2630
- "fieldName": "resourceName"
2423
+ "description": "Name of the backend resource which contain the entities to manage",
2424
+ "fieldName": "resourceName",
2425
+ "inheritedFrom": {
2426
+ "name": "EntityManagement",
2427
+ "module": "src/entities/entities.ts"
2428
+ }
2429
+ },
2430
+ {
2431
+ "name": "readEvent",
2432
+ "type": {
2433
+ "text": "string"
2434
+ },
2435
+ "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",
2436
+ "fieldName": "readEvent",
2437
+ "inheritedFrom": {
2438
+ "name": "EntityManagement",
2439
+ "module": "src/entities/entities.ts"
2440
+ }
2441
+ },
2442
+ {
2443
+ "name": "updateEvent",
2444
+ "type": {
2445
+ "text": "string"
2446
+ },
2447
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
2448
+ "fieldName": "updateEvent",
2449
+ "inheritedFrom": {
2450
+ "name": "EntityManagement",
2451
+ "module": "src/entities/entities.ts"
2452
+ }
2453
+ },
2454
+ {
2455
+ "name": "deleteEvent",
2456
+ "type": {
2457
+ "text": "string"
2458
+ },
2459
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2460
+ "fieldName": "deleteEvent",
2461
+ "inheritedFrom": {
2462
+ "name": "EntityManagement",
2463
+ "module": "src/entities/entities.ts"
2464
+ }
2465
+ },
2466
+ {
2467
+ "name": "createEvent",
2468
+ "type": {
2469
+ "text": "string"
2470
+ },
2471
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
2472
+ "fieldName": "createEvent",
2473
+ "inheritedFrom": {
2474
+ "name": "EntityManagement",
2475
+ "module": "src/entities/entities.ts"
2476
+ }
2631
2477
  },
2632
2478
  {
2633
2479
  "name": "title",
2634
2480
  "type": {
2635
2481
  "text": "string"
2636
2482
  },
2637
- "default": "''",
2638
- "fieldName": "title"
2483
+ "description": "Title of the grid",
2484
+ "fieldName": "title",
2485
+ "inheritedFrom": {
2486
+ "name": "EntityManagement",
2487
+ "module": "src/entities/entities.ts"
2488
+ }
2639
2489
  },
2640
2490
  {
2641
- "name": "persist-column-state-key",
2491
+ "name": "entityLabel",
2642
2492
  "type": {
2643
2493
  "text": "string"
2644
2494
  },
2645
- "fieldName": "persistColumnStateKey"
2495
+ "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",
2496
+ "fieldName": "entityLabel",
2497
+ "inheritedFrom": {
2498
+ "name": "EntityManagement",
2499
+ "module": "src/entities/entities.ts"
2500
+ }
2646
2501
  },
2647
2502
  {
2648
- "name": "persist-filter-model-key",
2503
+ "name": "row-selection",
2649
2504
  "type": {
2650
2505
  "text": "string"
2651
2506
  },
2652
- "fieldName": "persistFilterModelKey"
2507
+ "default": "'single'",
2508
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2509
+ "fieldName": "rowSelection",
2510
+ "inheritedFrom": {
2511
+ "name": "EntityManagement",
2512
+ "module": "src/entities/entities.ts"
2513
+ }
2653
2514
  },
2654
2515
  {
2655
- "name": "size-columns-to-fit",
2516
+ "name": "enable-cell-flashing",
2656
2517
  "type": {
2657
2518
  "text": "boolean"
2658
2519
  },
2659
- "fieldName": "sizeColumnsToFit"
2520
+ "default": "false",
2521
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2522
+ "fieldName": "enableCellFlashing",
2523
+ "inheritedFrom": {
2524
+ "name": "EntityManagement",
2525
+ "module": "src/entities/entities.ts"
2526
+ }
2660
2527
  },
2661
2528
  {
2662
- "name": "row-selection",
2529
+ "name": "enable-row-flashing",
2530
+ "type": {
2531
+ "text": "boolean"
2532
+ },
2533
+ "default": "false",
2534
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
2535
+ "fieldName": "enableRowFlashing",
2536
+ "inheritedFrom": {
2537
+ "name": "EntityManagement",
2538
+ "module": "src/entities/entities.ts"
2539
+ }
2540
+ },
2541
+ {
2542
+ "name": "datasource-type",
2543
+ "type": {
2544
+ "text": "DatasourceType"
2545
+ },
2546
+ "default": "'client'",
2547
+ "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.",
2548
+ "fieldName": "datasourceType",
2549
+ "inheritedFrom": {
2550
+ "name": "EntityManagement",
2551
+ "module": "src/entities/entities.ts"
2552
+ }
2553
+ },
2554
+ {
2555
+ "name": "persist-column-state-key",
2663
2556
  "type": {
2664
2557
  "text": "string"
2665
2558
  },
2666
- "fieldName": "rowSelection"
2559
+ "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.",
2560
+ "fieldName": "persistColumnStateKey",
2561
+ "inheritedFrom": {
2562
+ "name": "EntityManagement",
2563
+ "module": "src/entities/entities.ts"
2564
+ }
2565
+ },
2566
+ {
2567
+ "name": "persist-filter-model-key",
2568
+ "type": {
2569
+ "text": "string"
2570
+ },
2571
+ "description": "The key to use for persisting the filter model in local browser or KV storage.",
2572
+ "fieldName": "persistFilterModelKey",
2573
+ "inheritedFrom": {
2574
+ "name": "EntityManagement",
2575
+ "module": "src/entities/entities.ts"
2576
+ }
2667
2577
  },
2668
2578
  {
2669
- "name": "enable-filter-bar",
2579
+ "name": "size-columns-to-fit",
2670
2580
  "type": {
2671
2581
  "text": "boolean"
2672
2582
  },
2673
- "fieldName": "enableFilterBar"
2583
+ "description": "Resizes columns to take available space",
2584
+ "fieldName": "sizeColumnsToFit",
2585
+ "inheritedFrom": {
2586
+ "name": "EntityManagement",
2587
+ "module": "src/entities/entities.ts"
2588
+ }
2674
2589
  },
2675
2590
  {
2676
- "name": "async-add",
2591
+ "name": "enable-filter-bar",
2677
2592
  "type": {
2678
2593
  "text": "boolean"
2679
2594
  },
2680
- "default": "false",
2681
- "fieldName": "asyncAdd"
2595
+ "description": "Enables filter bar component",
2596
+ "fieldName": "enableFilterBar",
2597
+ "inheritedFrom": {
2598
+ "name": "EntityManagement",
2599
+ "module": "src/entities/entities.ts"
2600
+ }
2682
2601
  },
2683
2602
  {
2684
- "name": "async-remove",
2603
+ "name": "hide-edit",
2685
2604
  "type": {
2686
2605
  "text": "boolean"
2687
2606
  },
2688
2607
  "default": "false",
2689
- "fieldName": "asyncRemove"
2608
+ "description": "Hides edit button",
2609
+ "fieldName": "hideEdit",
2610
+ "inheritedFrom": {
2611
+ "name": "EntityManagement",
2612
+ "module": "src/entities/entities.ts"
2613
+ }
2690
2614
  },
2691
2615
  {
2692
- "name": "async-update",
2616
+ "name": "hide-delete",
2693
2617
  "type": {
2694
2618
  "text": "boolean"
2695
2619
  },
2696
- "default": "true",
2697
- "fieldName": "asyncUpdate"
2620
+ "default": "false",
2621
+ "description": "Hides delete button",
2622
+ "fieldName": "hideDelete",
2623
+ "inheritedFrom": {
2624
+ "name": "EntityManagement",
2625
+ "module": "src/entities/entities.ts"
2626
+ }
2698
2627
  },
2699
2628
  {
2700
- "name": "enable-cell-flashing",
2629
+ "name": "enable-search-bar",
2701
2630
  "type": {
2702
2631
  "text": "boolean"
2703
2632
  },
2704
2633
  "default": "false",
2705
- "fieldName": "enableCellFlashing"
2634
+ "description": "This attribute controls whether to enable the search-bar.",
2635
+ "fieldName": "enableSearchBar",
2636
+ "inheritedFrom": {
2637
+ "name": "EntityManagement",
2638
+ "module": "src/entities/entities.ts"
2639
+ }
2706
2640
  },
2707
2641
  {
2708
- "name": "enable-row-flashing",
2642
+ "name": "header-case-type",
2709
2643
  "type": {
2710
- "text": "boolean"
2644
+ "text": "GridProCaseType"
2711
2645
  },
2712
- "default": "false",
2713
- "fieldName": "enableRowFlashing"
2646
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2647
+ "fieldName": "headerCaseType",
2648
+ "inheritedFrom": {
2649
+ "name": "EntityManagement",
2650
+ "module": "src/entities/entities.ts"
2651
+ }
2714
2652
  },
2715
2653
  {
2716
- "name": "hide-edit",
2654
+ "name": "modal-position",
2717
2655
  "type": {
2718
- "text": "boolean"
2656
+ "text": "'centre' | 'left' | 'right'"
2719
2657
  },
2720
- "default": "false",
2721
- "fieldName": "hideEdit"
2658
+ "default": "'right'",
2659
+ "description": "Determines where the modal dialog will appear on screen",
2660
+ "fieldName": "modalPosition",
2661
+ "inheritedFrom": {
2662
+ "name": "EntityManagement",
2663
+ "module": "src/entities/entities.ts"
2664
+ }
2722
2665
  },
2723
2666
  {
2724
- "name": "hide-delete",
2667
+ "name": "crud-menu-position",
2725
2668
  "type": {
2726
- "text": "boolean"
2669
+ "text": "CrudMenuPosition"
2727
2670
  },
2728
- "default": "false",
2729
- "fieldName": "hideDelete"
2671
+ "description": "Determines where the buttons will appear",
2672
+ "fieldName": "crudMenuPosition",
2673
+ "inheritedFrom": {
2674
+ "name": "EntityManagement",
2675
+ "module": "src/entities/entities.ts"
2676
+ }
2730
2677
  },
2731
2678
  {
2732
- "name": "datasource-type",
2679
+ "name": "crud-menu-style",
2733
2680
  "type": {
2734
- "text": "DatasourceType"
2681
+ "text": "ActionsMenuStyle"
2735
2682
  },
2736
- "default": "'client'",
2737
- "fieldName": "datasourceType"
2683
+ "description": "Determines the style of the buttons",
2684
+ "fieldName": "crudMenuStyle",
2685
+ "inheritedFrom": {
2686
+ "name": "EntityManagement",
2687
+ "module": "src/entities/entities.ts"
2688
+ }
2738
2689
  },
2739
2690
  {
2740
- "name": "header-case-type",
2691
+ "name": "crud-action-menu-name",
2741
2692
  "type": {
2742
- "text": "GridProCaseType"
2693
+ "text": "string"
2743
2694
  },
2744
- "fieldName": "headerCaseType"
2695
+ "default": "'⋮'",
2696
+ "description": "The label of the crud action menu",
2697
+ "fieldName": "crudActionMenuName",
2698
+ "inheritedFrom": {
2699
+ "name": "EntityManagement",
2700
+ "module": "src/entities/entities.ts"
2701
+ }
2745
2702
  }
2746
2703
  ],
2747
- "mixins": [
2704
+ "events": [
2748
2705
  {
2749
- "name": "LifecycleMixin",
2750
- "package": "@genesislcap/foundation-utils"
2706
+ "description": "Fired when the request is changed",
2707
+ "name": "request-changed",
2708
+ "inheritedFrom": {
2709
+ "name": "EntityManagement",
2710
+ "module": "src/entities/entities.ts"
2711
+ }
2712
+ },
2713
+ {
2714
+ "description": "Fired when the criteria is changed",
2715
+ "name": "criteria-changed",
2716
+ "inheritedFrom": {
2717
+ "name": "EntityManagement",
2718
+ "module": "src/entities/entities.ts"
2719
+ }
2720
+ },
2721
+ {
2722
+ "description": "Fired when an entity is created",
2723
+ "name": "create-entity",
2724
+ "inheritedFrom": {
2725
+ "name": "EntityManagement",
2726
+ "module": "src/entities/entities.ts"
2727
+ }
2728
+ },
2729
+ {
2730
+ "description": "Fired when an entity is edited",
2731
+ "name": "edit-entity",
2732
+ "inheritedFrom": {
2733
+ "name": "EntityManagement",
2734
+ "module": "src/entities/entities.ts"
2735
+ }
2736
+ },
2737
+ {
2738
+ "description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
2739
+ "name": "delete-entity",
2740
+ "inheritedFrom": {
2741
+ "name": "EntityManagement",
2742
+ "module": "src/entities/entities.ts"
2743
+ }
2744
+ },
2745
+ {
2746
+ "description": "Fired when there is an error in a create, edit or delete operation",
2747
+ "name": "submit-failure",
2748
+ "inheritedFrom": {
2749
+ "name": "EntityManagement",
2750
+ "module": "src/entities/entities.ts"
2751
+ }
2752
+ },
2753
+ {
2754
+ "description": "Fired when a create, edit or delete operation is completed successfully",
2755
+ "name": "submit-success",
2756
+ "inheritedFrom": {
2757
+ "name": "EntityManagement",
2758
+ "module": "src/entities/entities.ts"
2759
+ }
2760
+ },
2761
+ {
2762
+ "description": "Fired when a row is clicked",
2763
+ "name": "rowClick",
2764
+ "inheritedFrom": {
2765
+ "name": "EntityManagement",
2766
+ "module": "src/entities/entities.ts"
2767
+ }
2768
+ },
2769
+ {
2770
+ "description": "Fired when a row is double clicked",
2771
+ "name": "rowDblClick",
2772
+ "inheritedFrom": {
2773
+ "name": "EntityManagement",
2774
+ "module": "src/entities/entities.ts"
2775
+ }
2776
+ },
2777
+ {
2778
+ "description": "Fired when a row is right clicked",
2779
+ "name": "contextMenu",
2780
+ "inheritedFrom": {
2781
+ "name": "EntityManagement",
2782
+ "module": "src/entities/entities.ts"
2783
+ }
2784
+ },
2785
+ {
2786
+ "description": "Fired when a row is selected",
2787
+ "name": "rowSelected",
2788
+ "inheritedFrom": {
2789
+ "name": "EntityManagement",
2790
+ "module": "src/entities/entities.ts"
2791
+ }
2751
2792
  }
2752
- ],
2753
- "superclass": {
2754
- "name": "FASTElement",
2755
- "package": "@microsoft/fast-element"
2756
- },
2757
- "tagName": "entity-list",
2758
- "customElement": true
2793
+ ]
2759
2794
  }
2760
2795
  ],
2761
2796
  "exports": [
2762
2797
  {
2763
2798
  "kind": "js",
2764
- "name": "List",
2799
+ "name": "Profiles",
2765
2800
  "declaration": {
2766
- "name": "List",
2767
- "module": "src/list/list.ts"
2801
+ "name": "Profiles",
2802
+ "module": "src/profiles/profiles.ts"
2768
2803
  }
2769
2804
  },
2770
2805
  {
2771
2806
  "kind": "custom-element-definition",
2772
- "name": "entity-list",
2807
+ "name": "profile-management",
2773
2808
  "declaration": {
2774
- "name": "List",
2775
- "module": "src/list/list.ts"
2809
+ "name": "Profiles",
2810
+ "module": "src/profiles/profiles.ts"
2776
2811
  }
2777
2812
  }
2778
2813
  ]
@@ -2798,41 +2833,6 @@
2798
2833
  }
2799
2834
  ]
2800
2835
  },
2801
- {
2802
- "kind": "javascript-module",
2803
- "path": "src/components/components.ts",
2804
- "declarations": [
2805
- {
2806
- "kind": "function",
2807
- "name": "loadRemotes"
2808
- }
2809
- ],
2810
- "exports": [
2811
- {
2812
- "kind": "js",
2813
- "name": "loadRemotes",
2814
- "declaration": {
2815
- "name": "loadRemotes",
2816
- "module": "src/components/components.ts"
2817
- }
2818
- }
2819
- ]
2820
- },
2821
- {
2822
- "kind": "javascript-module",
2823
- "path": "src/components/index.ts",
2824
- "declarations": [],
2825
- "exports": [
2826
- {
2827
- "kind": "js",
2828
- "name": "*",
2829
- "declaration": {
2830
- "name": "*",
2831
- "package": "./components"
2832
- }
2833
- }
2834
- ]
2835
- },
2836
2836
  {
2837
2837
  "kind": "javascript-module",
2838
2838
  "path": "src/users/users.template.ts",