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