@genesislcap/foundation-entity-management 14.174.0 → 14.176.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.
- package/dist/custom-elements.json +221 -68
- package/dist/dts/entities/entities.d.ts +37 -4
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts +4 -2
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +6 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts +2 -0
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/dts/users/users.d.ts +12 -5
- package/dist/dts/users/users.d.ts.map +1 -1
- package/dist/dts/users/users.template.d.ts +4 -2
- package/dist/dts/users/users.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +22 -5
- package/dist/esm/entities/entities.styles.js +3 -1
- package/dist/esm/entities/entities.template.js +20 -13
- package/dist/esm/list/list.js +15 -4
- package/dist/esm/list/list.template.js +10 -6
- package/dist/esm/users/users.js +9 -1
- package/dist/esm/users/users.template.js +6 -1
- package/dist/foundation-entity-management.api.json +90 -0
- package/dist/foundation-entity-management.d.ts +49 -9
- package/docs/api/foundation-entity-management.entitymanagement.md +2 -0
- package/docs/api/foundation-entity-management.entitymanagement.prefix.md +13 -0
- package/docs/api/foundation-entity-management.entitymanagement.rowselection.md +18 -0
- package/docs/api/foundation-entity-management.users.md +1 -0
- package/docs/api/foundation-entity-management.users.prefix.md +13 -0
- package/docs/api-report.md +3 -0
- package/package.json +21 -21
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
{
|
|
130
130
|
"kind": "variable",
|
|
131
131
|
"name": "styles",
|
|
132
|
-
"default": "css`\n :host {\n contain: content;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n }\n\n .search-container zero-search-bar {\n width: 500px;\n }\n`",
|
|
132
|
+
"default": "css`\n :host {\n contain: content;\n }\n\n .container {\n display: flex;\n flex-direction: column;\n height: 100%;\n }\n\n foundation-form {\n height: 100%;\n overflow-y: auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n }\n\n .title {\n margin-left: 1px;\n }\n\n :host::part(header) {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .search-container {\n display: flex;\n align-items: center;\n gap: calc(var(--design-unit) * 2px);\n }\n\n .search-container zero-search-bar,\n .search-container rapid-search-bar {\n width: 500px;\n }\n`",
|
|
133
133
|
"description": "Defines the css of the entity component as an ElementStyles object"
|
|
134
134
|
}
|
|
135
135
|
],
|
|
@@ -149,18 +149,22 @@
|
|
|
149
149
|
"path": "src/entities/entities.template.ts",
|
|
150
150
|
"declarations": [
|
|
151
151
|
{
|
|
152
|
-
"kind": "
|
|
153
|
-
"name": "
|
|
154
|
-
"
|
|
152
|
+
"kind": "function",
|
|
153
|
+
"name": "getPrefixedEntities",
|
|
154
|
+
"parameters": [
|
|
155
|
+
{
|
|
156
|
+
"name": "prefix"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
155
159
|
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
156
160
|
}
|
|
157
161
|
],
|
|
158
162
|
"exports": [
|
|
159
163
|
{
|
|
160
164
|
"kind": "js",
|
|
161
|
-
"name": "
|
|
165
|
+
"name": "getPrefixedEntities",
|
|
162
166
|
"declaration": {
|
|
163
|
-
"name": "
|
|
167
|
+
"name": "getPrefixedEntities",
|
|
164
168
|
"module": "src/entities/entities.template.ts"
|
|
165
169
|
}
|
|
166
170
|
}
|
|
@@ -184,6 +188,16 @@
|
|
|
184
188
|
"privacy": "protected",
|
|
185
189
|
"description": "DI connect object which is used to interact with the backend."
|
|
186
190
|
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "field",
|
|
193
|
+
"name": "prefix",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "string"
|
|
196
|
+
},
|
|
197
|
+
"default": "'zero'",
|
|
198
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
199
|
+
"privacy": "public"
|
|
200
|
+
},
|
|
187
201
|
{
|
|
188
202
|
"kind": "field",
|
|
189
203
|
"name": "resourceName",
|
|
@@ -290,6 +304,16 @@
|
|
|
290
304
|
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
291
305
|
"privacy": "public"
|
|
292
306
|
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "field",
|
|
309
|
+
"name": "rowSelection",
|
|
310
|
+
"type": {
|
|
311
|
+
"text": "string"
|
|
312
|
+
},
|
|
313
|
+
"default": "'single'",
|
|
314
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
315
|
+
"privacy": "public"
|
|
316
|
+
},
|
|
293
317
|
{
|
|
294
318
|
"kind": "field",
|
|
295
319
|
"name": "enableCellFlashing",
|
|
@@ -602,6 +626,15 @@
|
|
|
602
626
|
}
|
|
603
627
|
],
|
|
604
628
|
"attributes": [
|
|
629
|
+
{
|
|
630
|
+
"name": "design-system-prefix",
|
|
631
|
+
"type": {
|
|
632
|
+
"text": "string"
|
|
633
|
+
},
|
|
634
|
+
"default": "'zero'",
|
|
635
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
636
|
+
"fieldName": "prefix"
|
|
637
|
+
},
|
|
605
638
|
{
|
|
606
639
|
"name": "resourceName",
|
|
607
640
|
"type": {
|
|
@@ -691,6 +724,15 @@
|
|
|
691
724
|
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
692
725
|
"fieldName": "asyncUpdate"
|
|
693
726
|
},
|
|
727
|
+
{
|
|
728
|
+
"name": "row-selection",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "string"
|
|
731
|
+
},
|
|
732
|
+
"default": "'single'",
|
|
733
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
734
|
+
"fieldName": "rowSelection"
|
|
735
|
+
},
|
|
694
736
|
{
|
|
695
737
|
"name": "enable-cell-flashing",
|
|
696
738
|
"type": {
|
|
@@ -838,6 +880,55 @@
|
|
|
838
880
|
}
|
|
839
881
|
]
|
|
840
882
|
},
|
|
883
|
+
{
|
|
884
|
+
"kind": "javascript-module",
|
|
885
|
+
"path": "src/layouts/default.ts",
|
|
886
|
+
"declarations": [
|
|
887
|
+
{
|
|
888
|
+
"kind": "variable",
|
|
889
|
+
"name": "loginLayout",
|
|
890
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"kind": "variable",
|
|
894
|
+
"name": "defaultLayout",
|
|
895
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
896
|
+
}
|
|
897
|
+
],
|
|
898
|
+
"exports": [
|
|
899
|
+
{
|
|
900
|
+
"kind": "js",
|
|
901
|
+
"name": "loginLayout",
|
|
902
|
+
"declaration": {
|
|
903
|
+
"name": "loginLayout",
|
|
904
|
+
"module": "src/layouts/default.ts"
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"kind": "js",
|
|
909
|
+
"name": "defaultLayout",
|
|
910
|
+
"declaration": {
|
|
911
|
+
"name": "defaultLayout",
|
|
912
|
+
"module": "src/layouts/default.ts"
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"kind": "javascript-module",
|
|
919
|
+
"path": "src/layouts/index.ts",
|
|
920
|
+
"declarations": [],
|
|
921
|
+
"exports": [
|
|
922
|
+
{
|
|
923
|
+
"kind": "js",
|
|
924
|
+
"name": "*",
|
|
925
|
+
"declaration": {
|
|
926
|
+
"name": "*",
|
|
927
|
+
"package": "./default"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
]
|
|
931
|
+
},
|
|
841
932
|
{
|
|
842
933
|
"kind": "javascript-module",
|
|
843
934
|
"path": "src/list/index.ts",
|
|
@@ -879,17 +970,21 @@
|
|
|
879
970
|
"path": "src/list/list.template.ts",
|
|
880
971
|
"declarations": [
|
|
881
972
|
{
|
|
882
|
-
"kind": "
|
|
883
|
-
"name": "
|
|
884
|
-
"
|
|
973
|
+
"kind": "function",
|
|
974
|
+
"name": "getPrefixedList",
|
|
975
|
+
"parameters": [
|
|
976
|
+
{
|
|
977
|
+
"name": "prefix"
|
|
978
|
+
}
|
|
979
|
+
]
|
|
885
980
|
}
|
|
886
981
|
],
|
|
887
982
|
"exports": [
|
|
888
983
|
{
|
|
889
984
|
"kind": "js",
|
|
890
|
-
"name": "
|
|
985
|
+
"name": "getPrefixedList",
|
|
891
986
|
"declaration": {
|
|
892
|
-
"name": "
|
|
987
|
+
"name": "getPrefixedList",
|
|
893
988
|
"module": "src/list/list.template.ts"
|
|
894
989
|
}
|
|
895
990
|
}
|
|
@@ -904,6 +999,16 @@
|
|
|
904
999
|
"description": "",
|
|
905
1000
|
"name": "List",
|
|
906
1001
|
"members": [
|
|
1002
|
+
{
|
|
1003
|
+
"kind": "field",
|
|
1004
|
+
"name": "prefix",
|
|
1005
|
+
"type": {
|
|
1006
|
+
"text": "string"
|
|
1007
|
+
},
|
|
1008
|
+
"default": "'zero'",
|
|
1009
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1010
|
+
"privacy": "public"
|
|
1011
|
+
},
|
|
907
1012
|
{
|
|
908
1013
|
"kind": "field",
|
|
909
1014
|
"name": "resourceName",
|
|
@@ -934,6 +1039,13 @@
|
|
|
934
1039
|
"text": "boolean"
|
|
935
1040
|
}
|
|
936
1041
|
},
|
|
1042
|
+
{
|
|
1043
|
+
"kind": "field",
|
|
1044
|
+
"name": "rowSelection",
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "string"
|
|
1047
|
+
}
|
|
1048
|
+
},
|
|
937
1049
|
{
|
|
938
1050
|
"kind": "field",
|
|
939
1051
|
"name": "enableFilterBar",
|
|
@@ -1130,6 +1242,15 @@
|
|
|
1130
1242
|
}
|
|
1131
1243
|
],
|
|
1132
1244
|
"attributes": [
|
|
1245
|
+
{
|
|
1246
|
+
"name": "design-system-prefix",
|
|
1247
|
+
"type": {
|
|
1248
|
+
"text": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"default": "'zero'",
|
|
1251
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1252
|
+
"fieldName": "prefix"
|
|
1253
|
+
},
|
|
1133
1254
|
{
|
|
1134
1255
|
"name": "resourceName",
|
|
1135
1256
|
"type": {
|
|
@@ -1160,6 +1281,13 @@
|
|
|
1160
1281
|
},
|
|
1161
1282
|
"fieldName": "sizeColumnsToFit"
|
|
1162
1283
|
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "row-selection",
|
|
1286
|
+
"type": {
|
|
1287
|
+
"text": "string"
|
|
1288
|
+
},
|
|
1289
|
+
"fieldName": "rowSelection"
|
|
1290
|
+
},
|
|
1163
1291
|
{
|
|
1164
1292
|
"name": "enable-filter-bar",
|
|
1165
1293
|
"type": {
|
|
@@ -1411,55 +1539,6 @@
|
|
|
1411
1539
|
}
|
|
1412
1540
|
]
|
|
1413
1541
|
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "javascript-module",
|
|
1416
|
-
"path": "src/layouts/default.ts",
|
|
1417
|
-
"declarations": [
|
|
1418
|
-
{
|
|
1419
|
-
"kind": "variable",
|
|
1420
|
-
"name": "loginLayout",
|
|
1421
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"kind": "variable",
|
|
1425
|
-
"name": "defaultLayout",
|
|
1426
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
1427
|
-
}
|
|
1428
|
-
],
|
|
1429
|
-
"exports": [
|
|
1430
|
-
{
|
|
1431
|
-
"kind": "js",
|
|
1432
|
-
"name": "loginLayout",
|
|
1433
|
-
"declaration": {
|
|
1434
|
-
"name": "loginLayout",
|
|
1435
|
-
"module": "src/layouts/default.ts"
|
|
1436
|
-
}
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
"kind": "js",
|
|
1440
|
-
"name": "defaultLayout",
|
|
1441
|
-
"declaration": {
|
|
1442
|
-
"name": "defaultLayout",
|
|
1443
|
-
"module": "src/layouts/default.ts"
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
]
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "javascript-module",
|
|
1450
|
-
"path": "src/layouts/index.ts",
|
|
1451
|
-
"declarations": [],
|
|
1452
|
-
"exports": [
|
|
1453
|
-
{
|
|
1454
|
-
"kind": "js",
|
|
1455
|
-
"name": "*",
|
|
1456
|
-
"declaration": {
|
|
1457
|
-
"name": "*",
|
|
1458
|
-
"package": "./default"
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
]
|
|
1462
|
-
},
|
|
1463
1542
|
{
|
|
1464
1543
|
"kind": "javascript-module",
|
|
1465
1544
|
"path": "src/profiles/editProfileSchema.ts",
|
|
@@ -1654,6 +1733,20 @@
|
|
|
1654
1733
|
"module": "src/entities/entities.ts"
|
|
1655
1734
|
}
|
|
1656
1735
|
},
|
|
1736
|
+
{
|
|
1737
|
+
"kind": "field",
|
|
1738
|
+
"name": "prefix",
|
|
1739
|
+
"type": {
|
|
1740
|
+
"text": "string"
|
|
1741
|
+
},
|
|
1742
|
+
"default": "'zero'",
|
|
1743
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1744
|
+
"privacy": "public",
|
|
1745
|
+
"inheritedFrom": {
|
|
1746
|
+
"name": "EntityManagement",
|
|
1747
|
+
"module": "src/entities/entities.ts"
|
|
1748
|
+
}
|
|
1749
|
+
},
|
|
1657
1750
|
{
|
|
1658
1751
|
"kind": "field",
|
|
1659
1752
|
"name": "readEvent",
|
|
@@ -1718,6 +1811,20 @@
|
|
|
1718
1811
|
"module": "src/entities/entities.ts"
|
|
1719
1812
|
}
|
|
1720
1813
|
},
|
|
1814
|
+
{
|
|
1815
|
+
"kind": "field",
|
|
1816
|
+
"name": "rowSelection",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "string"
|
|
1819
|
+
},
|
|
1820
|
+
"default": "'single'",
|
|
1821
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
1822
|
+
"privacy": "public",
|
|
1823
|
+
"inheritedFrom": {
|
|
1824
|
+
"name": "EntityManagement",
|
|
1825
|
+
"module": "src/entities/entities.ts"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1721
1828
|
{
|
|
1722
1829
|
"kind": "field",
|
|
1723
1830
|
"name": "enableCellFlashing",
|
|
@@ -2138,6 +2245,19 @@
|
|
|
2138
2245
|
"tagName": "profile-management",
|
|
2139
2246
|
"customElement": true,
|
|
2140
2247
|
"attributes": [
|
|
2248
|
+
{
|
|
2249
|
+
"name": "design-system-prefix",
|
|
2250
|
+
"type": {
|
|
2251
|
+
"text": "string"
|
|
2252
|
+
},
|
|
2253
|
+
"default": "'zero'",
|
|
2254
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
2255
|
+
"fieldName": "prefix",
|
|
2256
|
+
"inheritedFrom": {
|
|
2257
|
+
"name": "EntityManagement",
|
|
2258
|
+
"module": "src/entities/entities.ts"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2141
2261
|
{
|
|
2142
2262
|
"name": "resourceName",
|
|
2143
2263
|
"type": {
|
|
@@ -2271,6 +2391,19 @@
|
|
|
2271
2391
|
"module": "src/entities/entities.ts"
|
|
2272
2392
|
}
|
|
2273
2393
|
},
|
|
2394
|
+
{
|
|
2395
|
+
"name": "row-selection",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "string"
|
|
2398
|
+
},
|
|
2399
|
+
"default": "'single'",
|
|
2400
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
2401
|
+
"fieldName": "rowSelection",
|
|
2402
|
+
"inheritedFrom": {
|
|
2403
|
+
"name": "EntityManagement",
|
|
2404
|
+
"module": "src/entities/entities.ts"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2274
2407
|
{
|
|
2275
2408
|
"name": "enable-cell-flashing",
|
|
2276
2409
|
"type": {
|
|
@@ -2441,20 +2574,21 @@
|
|
|
2441
2574
|
"path": "src/users/users.template.ts",
|
|
2442
2575
|
"declarations": [
|
|
2443
2576
|
{
|
|
2444
|
-
"kind": "
|
|
2445
|
-
"name": "
|
|
2446
|
-
"
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2577
|
+
"kind": "function",
|
|
2578
|
+
"name": "getPrefixedUsers",
|
|
2579
|
+
"parameters": [
|
|
2580
|
+
{
|
|
2581
|
+
"name": "prefix"
|
|
2582
|
+
}
|
|
2583
|
+
]
|
|
2450
2584
|
}
|
|
2451
2585
|
],
|
|
2452
2586
|
"exports": [
|
|
2453
2587
|
{
|
|
2454
2588
|
"kind": "js",
|
|
2455
|
-
"name": "
|
|
2589
|
+
"name": "getPrefixedUsers",
|
|
2456
2590
|
"declaration": {
|
|
2457
|
-
"name": "
|
|
2591
|
+
"name": "getPrefixedUsers",
|
|
2458
2592
|
"module": "src/users/users.template.ts"
|
|
2459
2593
|
}
|
|
2460
2594
|
}
|
|
@@ -2479,6 +2613,16 @@
|
|
|
2479
2613
|
"description": "Main class which defines the user management functionality",
|
|
2480
2614
|
"name": "Users",
|
|
2481
2615
|
"members": [
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "field",
|
|
2618
|
+
"name": "prefix",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "string"
|
|
2621
|
+
},
|
|
2622
|
+
"default": "'zero'",
|
|
2623
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
2624
|
+
"privacy": "public"
|
|
2625
|
+
},
|
|
2482
2626
|
{
|
|
2483
2627
|
"kind": "field",
|
|
2484
2628
|
"name": "persistColumnStateKey",
|
|
@@ -2583,6 +2727,15 @@
|
|
|
2583
2727
|
}
|
|
2584
2728
|
],
|
|
2585
2729
|
"attributes": [
|
|
2730
|
+
{
|
|
2731
|
+
"name": "design-system-prefix",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "string"
|
|
2734
|
+
},
|
|
2735
|
+
"default": "'zero'",
|
|
2736
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
2737
|
+
"fieldName": "prefix"
|
|
2738
|
+
},
|
|
2586
2739
|
{
|
|
2587
2740
|
"name": "persist-column-state-key",
|
|
2588
2741
|
"type": {
|
|
@@ -68,7 +68,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
68
68
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
69
69
|
readonly attributes: NamedNodeMap;
|
|
70
70
|
readonly classList: DOMTokenList;
|
|
71
|
-
className: string;
|
|
71
|
+
className: string; /**
|
|
72
|
+
* Array which holds the column definitions.
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
72
75
|
readonly clientHeight: number;
|
|
73
76
|
readonly clientLeft: number;
|
|
74
77
|
readonly clientTop: number;
|
|
@@ -119,7 +122,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
119
122
|
removeAttribute(qualifiedName: string): void;
|
|
120
123
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
121
124
|
removeAttributeNode(attr: Attr): Attr;
|
|
122
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
125
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>; /**
|
|
126
|
+
* Set up the web component
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
123
129
|
requestPointerLock(): void;
|
|
124
130
|
scroll(options?: ScrollToOptions): void;
|
|
125
131
|
scroll(x: number, y: number): void;
|
|
@@ -181,7 +187,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
181
187
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
182
188
|
readonly TEXT_NODE: number;
|
|
183
189
|
dispatchEvent(event: Event): boolean;
|
|
184
|
-
ariaAtomic: string;
|
|
190
|
+
ariaAtomic: string; /**
|
|
191
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
192
|
+
*
|
|
193
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
194
|
+
*
|
|
195
|
+
* Emits an event upon error
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
185
198
|
ariaAutoComplete: string;
|
|
186
199
|
ariaBusy: string;
|
|
187
200
|
ariaChecked: string;
|
|
@@ -194,6 +207,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
194
207
|
ariaExpanded: string;
|
|
195
208
|
ariaHasPopup: string;
|
|
196
209
|
ariaHidden: string;
|
|
210
|
+
/**
|
|
211
|
+
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
212
|
+
*
|
|
213
|
+
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
197
216
|
ariaInvalid: string;
|
|
198
217
|
ariaKeyShortcuts: string;
|
|
199
218
|
ariaLabel: string;
|
|
@@ -289,7 +308,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
289
308
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
290
309
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
291
310
|
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
292
|
-
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any; /**
|
|
312
|
+
* Show notifications if the executed event returned an error.
|
|
313
|
+
* @internal
|
|
314
|
+
*/
|
|
293
315
|
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
294
316
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
295
317
|
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -397,6 +419,11 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
397
419
|
* DI container
|
|
398
420
|
*/
|
|
399
421
|
protected connect: Connect;
|
|
422
|
+
/**
|
|
423
|
+
* Name of the design system prefix that will be used in renderers.
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
prefix: string;
|
|
400
427
|
/**
|
|
401
428
|
* Name of the backend resource which contain the entities to manage
|
|
402
429
|
* @public
|
|
@@ -448,6 +475,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
448
475
|
* @public
|
|
449
476
|
*/
|
|
450
477
|
asyncUpdate: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.
|
|
480
|
+
* @remarks Defaults to single
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
rowSelection: string;
|
|
451
484
|
/**
|
|
452
485
|
* If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef
|
|
453
486
|
* @remarks Defaults to true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;AAC3F,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,WAAW,EAAwB,MAAM,yBAAyB,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;AAC3F,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAuB,WAAW,EAAwB,MAAM,yBAAyB,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA0JxF;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAmBvD,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAiC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"entities.styles.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.styles.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,iDAuClB,CAAC"}
|
|
@@ -3,15 +3,17 @@ import { EntityManagement } from './entities';
|
|
|
3
3
|
* Default header for Entity Management screen
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare const defaultHeader: import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
6
|
+
export declare const defaultHeader: (prefix: any) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
7
7
|
/**
|
|
8
8
|
* Header with search-bar for Entity Management screen
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
11
|
-
export declare const searchBarHeader: import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
11
|
+
export declare const searchBarHeader: (prefix: any) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
12
12
|
/**
|
|
13
13
|
* Defines the html of the entity component as a ViewTemplate object
|
|
14
14
|
* @typeParam EntityManagement - the {@link EntityManagement | class} the template is defined for
|
|
15
15
|
*/
|
|
16
|
+
export declare const getPrefixedEntities: (prefix: any) => import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
17
|
+
/** @internal */
|
|
16
18
|
export declare const template: import("@microsoft/fast-element").ViewTemplate<EntityManagement, any>;
|
|
17
19
|
//# sourceMappingURL=entities.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAuD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -5,10 +5,16 @@ import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
|
5
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
6
6
|
import { DatasourceConfiguration } from '../entities/entities';
|
|
7
7
|
export declare class List extends FASTElement {
|
|
8
|
+
/**
|
|
9
|
+
* Name of the design system prefix that will be used in renderers.
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
prefix: string;
|
|
8
13
|
resourceName: string;
|
|
9
14
|
title: string;
|
|
10
15
|
persistColumnStateKey: string;
|
|
11
16
|
sizeColumnsToFit: boolean;
|
|
17
|
+
rowSelection: string;
|
|
12
18
|
enableFilterBar: boolean;
|
|
13
19
|
asyncAdd: boolean;
|
|
14
20
|
asyncRemove: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAuB,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAuB,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IACnC;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAU;IAE/D,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACA,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IAC/B,cAAc,EAAE,eAAe,CAAC;IAClE,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,iBAAiB;YA6DH,oBAAoB;IA+ClC,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { List } from './list';
|
|
2
|
+
export declare const getPrefixedList: (prefix: any) => import("@microsoft/fast-element").ViewTemplate<List, any>;
|
|
3
|
+
/** @internal */
|
|
2
4
|
export declare const listTemplate: import("@microsoft/fast-element").ViewTemplate<List, any>;
|
|
3
5
|
//# sourceMappingURL=list.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,eAAe,4EAyD3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|