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