@genesislcap/foundation-entity-management 14.92.2-beta.revert-PA-913.1 → 14.92.2

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