@genesislcap/foundation-entity-management 14.175.0 → 14.176.1-alpha-6ef4895.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 +232 -19
- package/dist/dts/entities/entities.d.ts +39 -0
- 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 +7 -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 +31 -5
- package/dist/esm/entities/entities.styles.js +3 -1
- package/dist/esm/entities/entities.template.js +21 -13
- package/dist/esm/list/list.js +19 -4
- package/dist/esm/list/list.template.js +11 -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 +51 -5
- 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 +5 -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",
|
|
@@ -319,6 +343,15 @@
|
|
|
319
343
|
"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.",
|
|
320
344
|
"privacy": "public"
|
|
321
345
|
},
|
|
346
|
+
{
|
|
347
|
+
"kind": "field",
|
|
348
|
+
"name": "blockScrollingOnContextMenu",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "boolean"
|
|
351
|
+
},
|
|
352
|
+
"default": "false",
|
|
353
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
|
|
354
|
+
},
|
|
322
355
|
{
|
|
323
356
|
"kind": "field",
|
|
324
357
|
"name": "gridOptions",
|
|
@@ -602,6 +635,15 @@
|
|
|
602
635
|
}
|
|
603
636
|
],
|
|
604
637
|
"attributes": [
|
|
638
|
+
{
|
|
639
|
+
"name": "design-system-prefix",
|
|
640
|
+
"type": {
|
|
641
|
+
"text": "string"
|
|
642
|
+
},
|
|
643
|
+
"default": "'zero'",
|
|
644
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
645
|
+
"fieldName": "prefix"
|
|
646
|
+
},
|
|
605
647
|
{
|
|
606
648
|
"name": "resourceName",
|
|
607
649
|
"type": {
|
|
@@ -691,6 +733,15 @@
|
|
|
691
733
|
"description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
|
|
692
734
|
"fieldName": "asyncUpdate"
|
|
693
735
|
},
|
|
736
|
+
{
|
|
737
|
+
"name": "row-selection",
|
|
738
|
+
"type": {
|
|
739
|
+
"text": "string"
|
|
740
|
+
},
|
|
741
|
+
"default": "'single'",
|
|
742
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
743
|
+
"fieldName": "rowSelection"
|
|
744
|
+
},
|
|
694
745
|
{
|
|
695
746
|
"name": "enable-cell-flashing",
|
|
696
747
|
"type": {
|
|
@@ -717,6 +768,15 @@
|
|
|
717
768
|
"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.",
|
|
718
769
|
"fieldName": "persistColumnStateKey"
|
|
719
770
|
},
|
|
771
|
+
{
|
|
772
|
+
"name": "block-scrolling-on-context-menu",
|
|
773
|
+
"type": {
|
|
774
|
+
"text": "boolean"
|
|
775
|
+
},
|
|
776
|
+
"default": "false",
|
|
777
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
778
|
+
"fieldName": "blockScrollingOnContextMenu"
|
|
779
|
+
},
|
|
720
780
|
{
|
|
721
781
|
"name": "size-columns-to-fit",
|
|
722
782
|
"type": {
|
|
@@ -928,17 +988,21 @@
|
|
|
928
988
|
"path": "src/list/list.template.ts",
|
|
929
989
|
"declarations": [
|
|
930
990
|
{
|
|
931
|
-
"kind": "
|
|
932
|
-
"name": "
|
|
933
|
-
"
|
|
991
|
+
"kind": "function",
|
|
992
|
+
"name": "getPrefixedList",
|
|
993
|
+
"parameters": [
|
|
994
|
+
{
|
|
995
|
+
"name": "prefix"
|
|
996
|
+
}
|
|
997
|
+
]
|
|
934
998
|
}
|
|
935
999
|
],
|
|
936
1000
|
"exports": [
|
|
937
1001
|
{
|
|
938
1002
|
"kind": "js",
|
|
939
|
-
"name": "
|
|
1003
|
+
"name": "getPrefixedList",
|
|
940
1004
|
"declaration": {
|
|
941
|
-
"name": "
|
|
1005
|
+
"name": "getPrefixedList",
|
|
942
1006
|
"module": "src/list/list.template.ts"
|
|
943
1007
|
}
|
|
944
1008
|
}
|
|
@@ -953,6 +1017,16 @@
|
|
|
953
1017
|
"description": "",
|
|
954
1018
|
"name": "List",
|
|
955
1019
|
"members": [
|
|
1020
|
+
{
|
|
1021
|
+
"kind": "field",
|
|
1022
|
+
"name": "prefix",
|
|
1023
|
+
"type": {
|
|
1024
|
+
"text": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"default": "'zero'",
|
|
1027
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1028
|
+
"privacy": "public"
|
|
1029
|
+
},
|
|
956
1030
|
{
|
|
957
1031
|
"kind": "field",
|
|
958
1032
|
"name": "resourceName",
|
|
@@ -983,6 +1057,13 @@
|
|
|
983
1057
|
"text": "boolean"
|
|
984
1058
|
}
|
|
985
1059
|
},
|
|
1060
|
+
{
|
|
1061
|
+
"kind": "field",
|
|
1062
|
+
"name": "rowSelection",
|
|
1063
|
+
"type": {
|
|
1064
|
+
"text": "string"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
986
1067
|
{
|
|
987
1068
|
"kind": "field",
|
|
988
1069
|
"name": "enableFilterBar",
|
|
@@ -1053,6 +1134,14 @@
|
|
|
1053
1134
|
"text": "GridProCaseType"
|
|
1054
1135
|
}
|
|
1055
1136
|
},
|
|
1137
|
+
{
|
|
1138
|
+
"kind": "field",
|
|
1139
|
+
"name": "blockScrollingOnContextMenu",
|
|
1140
|
+
"type": {
|
|
1141
|
+
"text": "boolean"
|
|
1142
|
+
},
|
|
1143
|
+
"default": "false"
|
|
1144
|
+
},
|
|
1056
1145
|
{
|
|
1057
1146
|
"kind": "field",
|
|
1058
1147
|
"name": "grid",
|
|
@@ -1179,6 +1268,15 @@
|
|
|
1179
1268
|
}
|
|
1180
1269
|
],
|
|
1181
1270
|
"attributes": [
|
|
1271
|
+
{
|
|
1272
|
+
"name": "design-system-prefix",
|
|
1273
|
+
"type": {
|
|
1274
|
+
"text": "string"
|
|
1275
|
+
},
|
|
1276
|
+
"default": "'zero'",
|
|
1277
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1278
|
+
"fieldName": "prefix"
|
|
1279
|
+
},
|
|
1182
1280
|
{
|
|
1183
1281
|
"name": "resourceName",
|
|
1184
1282
|
"type": {
|
|
@@ -1209,6 +1307,13 @@
|
|
|
1209
1307
|
},
|
|
1210
1308
|
"fieldName": "sizeColumnsToFit"
|
|
1211
1309
|
},
|
|
1310
|
+
{
|
|
1311
|
+
"name": "row-selection",
|
|
1312
|
+
"type": {
|
|
1313
|
+
"text": "string"
|
|
1314
|
+
},
|
|
1315
|
+
"fieldName": "rowSelection"
|
|
1316
|
+
},
|
|
1212
1317
|
{
|
|
1213
1318
|
"name": "enable-filter-bar",
|
|
1214
1319
|
"type": {
|
|
@@ -1278,6 +1383,14 @@
|
|
|
1278
1383
|
"text": "GridProCaseType"
|
|
1279
1384
|
},
|
|
1280
1385
|
"fieldName": "headerCaseType"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "block-scrolling-on-context-menu",
|
|
1389
|
+
"type": {
|
|
1390
|
+
"text": "boolean"
|
|
1391
|
+
},
|
|
1392
|
+
"default": "false",
|
|
1393
|
+
"fieldName": "blockScrollingOnContextMenu"
|
|
1281
1394
|
}
|
|
1282
1395
|
],
|
|
1283
1396
|
"superclass": {
|
|
@@ -1654,6 +1767,20 @@
|
|
|
1654
1767
|
"module": "src/entities/entities.ts"
|
|
1655
1768
|
}
|
|
1656
1769
|
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "field",
|
|
1772
|
+
"name": "prefix",
|
|
1773
|
+
"type": {
|
|
1774
|
+
"text": "string"
|
|
1775
|
+
},
|
|
1776
|
+
"default": "'zero'",
|
|
1777
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
1778
|
+
"privacy": "public",
|
|
1779
|
+
"inheritedFrom": {
|
|
1780
|
+
"name": "EntityManagement",
|
|
1781
|
+
"module": "src/entities/entities.ts"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1657
1784
|
{
|
|
1658
1785
|
"kind": "field",
|
|
1659
1786
|
"name": "readEvent",
|
|
@@ -1718,6 +1845,20 @@
|
|
|
1718
1845
|
"module": "src/entities/entities.ts"
|
|
1719
1846
|
}
|
|
1720
1847
|
},
|
|
1848
|
+
{
|
|
1849
|
+
"kind": "field",
|
|
1850
|
+
"name": "rowSelection",
|
|
1851
|
+
"type": {
|
|
1852
|
+
"text": "string"
|
|
1853
|
+
},
|
|
1854
|
+
"default": "'single'",
|
|
1855
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
1856
|
+
"privacy": "public",
|
|
1857
|
+
"inheritedFrom": {
|
|
1858
|
+
"name": "EntityManagement",
|
|
1859
|
+
"module": "src/entities/entities.ts"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1721
1862
|
{
|
|
1722
1863
|
"kind": "field",
|
|
1723
1864
|
"name": "enableCellFlashing",
|
|
@@ -1746,6 +1887,19 @@
|
|
|
1746
1887
|
"module": "src/entities/entities.ts"
|
|
1747
1888
|
}
|
|
1748
1889
|
},
|
|
1890
|
+
{
|
|
1891
|
+
"kind": "field",
|
|
1892
|
+
"name": "blockScrollingOnContextMenu",
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "boolean"
|
|
1895
|
+
},
|
|
1896
|
+
"default": "false",
|
|
1897
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
1898
|
+
"inheritedFrom": {
|
|
1899
|
+
"name": "EntityManagement",
|
|
1900
|
+
"module": "src/entities/entities.ts"
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1749
1903
|
{
|
|
1750
1904
|
"kind": "field",
|
|
1751
1905
|
"name": "gridOptions",
|
|
@@ -2138,6 +2292,19 @@
|
|
|
2138
2292
|
"tagName": "profile-management",
|
|
2139
2293
|
"customElement": true,
|
|
2140
2294
|
"attributes": [
|
|
2295
|
+
{
|
|
2296
|
+
"name": "design-system-prefix",
|
|
2297
|
+
"type": {
|
|
2298
|
+
"text": "string"
|
|
2299
|
+
},
|
|
2300
|
+
"default": "'zero'",
|
|
2301
|
+
"description": "Name of the design system prefix that will be used in renderers.",
|
|
2302
|
+
"fieldName": "prefix",
|
|
2303
|
+
"inheritedFrom": {
|
|
2304
|
+
"name": "EntityManagement",
|
|
2305
|
+
"module": "src/entities/entities.ts"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2141
2308
|
{
|
|
2142
2309
|
"name": "resourceName",
|
|
2143
2310
|
"type": {
|
|
@@ -2271,6 +2438,19 @@
|
|
|
2271
2438
|
"module": "src/entities/entities.ts"
|
|
2272
2439
|
}
|
|
2273
2440
|
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "row-selection",
|
|
2443
|
+
"type": {
|
|
2444
|
+
"text": "string"
|
|
2445
|
+
},
|
|
2446
|
+
"default": "'single'",
|
|
2447
|
+
"description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
|
|
2448
|
+
"fieldName": "rowSelection",
|
|
2449
|
+
"inheritedFrom": {
|
|
2450
|
+
"name": "EntityManagement",
|
|
2451
|
+
"module": "src/entities/entities.ts"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2274
2454
|
{
|
|
2275
2455
|
"name": "enable-cell-flashing",
|
|
2276
2456
|
"type": {
|
|
@@ -2309,6 +2489,19 @@
|
|
|
2309
2489
|
"module": "src/entities/entities.ts"
|
|
2310
2490
|
}
|
|
2311
2491
|
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "block-scrolling-on-context-menu",
|
|
2494
|
+
"type": {
|
|
2495
|
+
"text": "boolean"
|
|
2496
|
+
},
|
|
2497
|
+
"default": "false",
|
|
2498
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2499
|
+
"fieldName": "blockScrollingOnContextMenu",
|
|
2500
|
+
"inheritedFrom": {
|
|
2501
|
+
"name": "EntityManagement",
|
|
2502
|
+
"module": "src/entities/entities.ts"
|
|
2503
|
+
}
|
|
2504
|
+
},
|
|
2312
2505
|
{
|
|
2313
2506
|
"name": "size-columns-to-fit",
|
|
2314
2507
|
"type": {
|
|
@@ -2441,20 +2634,21 @@
|
|
|
2441
2634
|
"path": "src/users/users.template.ts",
|
|
2442
2635
|
"declarations": [
|
|
2443
2636
|
{
|
|
2444
|
-
"kind": "
|
|
2445
|
-
"name": "
|
|
2446
|
-
"
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2637
|
+
"kind": "function",
|
|
2638
|
+
"name": "getPrefixedUsers",
|
|
2639
|
+
"parameters": [
|
|
2640
|
+
{
|
|
2641
|
+
"name": "prefix"
|
|
2642
|
+
}
|
|
2643
|
+
]
|
|
2450
2644
|
}
|
|
2451
2645
|
],
|
|
2452
2646
|
"exports": [
|
|
2453
2647
|
{
|
|
2454
2648
|
"kind": "js",
|
|
2455
|
-
"name": "
|
|
2649
|
+
"name": "getPrefixedUsers",
|
|
2456
2650
|
"declaration": {
|
|
2457
|
-
"name": "
|
|
2651
|
+
"name": "getPrefixedUsers",
|
|
2458
2652
|
"module": "src/users/users.template.ts"
|
|
2459
2653
|
}
|
|
2460
2654
|
}
|
|
@@ -2479,6 +2673,16 @@
|
|
|
2479
2673
|
"description": "Main class which defines the user management functionality",
|
|
2480
2674
|
"name": "Users",
|
|
2481
2675
|
"members": [
|
|
2676
|
+
{
|
|
2677
|
+
"kind": "field",
|
|
2678
|
+
"name": "prefix",
|
|
2679
|
+
"type": {
|
|
2680
|
+
"text": "string"
|
|
2681
|
+
},
|
|
2682
|
+
"default": "'zero'",
|
|
2683
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
2684
|
+
"privacy": "public"
|
|
2685
|
+
},
|
|
2482
2686
|
{
|
|
2483
2687
|
"kind": "field",
|
|
2484
2688
|
"name": "persistColumnStateKey",
|
|
@@ -2583,6 +2787,15 @@
|
|
|
2583
2787
|
}
|
|
2584
2788
|
],
|
|
2585
2789
|
"attributes": [
|
|
2790
|
+
{
|
|
2791
|
+
"name": "design-system-prefix",
|
|
2792
|
+
"type": {
|
|
2793
|
+
"text": "string"
|
|
2794
|
+
},
|
|
2795
|
+
"default": "'zero'",
|
|
2796
|
+
"description": "Name of the design system prefix that will be used for components.",
|
|
2797
|
+
"fieldName": "prefix"
|
|
2798
|
+
},
|
|
2586
2799
|
{
|
|
2587
2800
|
"name": "persist-column-state-key",
|
|
2588
2801
|
"type": {
|
|
@@ -94,6 +94,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
94
94
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
95
95
|
closest<E extends Element = Element>(selectors: string): E;
|
|
96
96
|
getAttribute(qualifiedName: string): string;
|
|
97
|
+
/**
|
|
98
|
+
* Reference to the currently selected entity from the grid.
|
|
99
|
+
*
|
|
100
|
+
* @remarks
|
|
101
|
+
*
|
|
102
|
+
* When the user attempts to initiate functionality such as deleting or editing an entity, the entity which will be deleted/edited is the one which is referenced by this variable
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
97
105
|
getAttributeNS(namespace: string, localName: string): string;
|
|
98
106
|
getAttributeNames(): string[];
|
|
99
107
|
getAttributeNode(qualifiedName: string): Attr;
|
|
@@ -192,6 +200,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
192
200
|
ariaCurrent: string;
|
|
193
201
|
ariaDisabled: string;
|
|
194
202
|
ariaExpanded: string;
|
|
203
|
+
/**
|
|
204
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
205
|
+
*
|
|
206
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
207
|
+
*
|
|
208
|
+
* Emits an event upon error
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
195
211
|
ariaHasPopup: string;
|
|
196
212
|
ariaHidden: string;
|
|
197
213
|
ariaInvalid: string;
|
|
@@ -204,6 +220,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
204
220
|
ariaMultiSelectable: string;
|
|
205
221
|
ariaOrientation: string;
|
|
206
222
|
ariaPlaceholder: string;
|
|
223
|
+
/**
|
|
224
|
+
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
225
|
+
*
|
|
226
|
+
* @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.
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
207
229
|
ariaPosInSet: string;
|
|
208
230
|
ariaPressed: string;
|
|
209
231
|
ariaReadOnly: string;
|
|
@@ -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
|
|
@@ -471,6 +504,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
471
504
|
* @public
|
|
472
505
|
*/
|
|
473
506
|
persistColumnStateKey: string;
|
|
507
|
+
/**
|
|
508
|
+
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
509
|
+
* @remarks Defaults to false
|
|
510
|
+
* @alpha
|
|
511
|
+
*/
|
|
512
|
+
blockScrollingOnContextMenu: boolean;
|
|
474
513
|
/**
|
|
475
514
|
* GridOptions to be passed down from application
|
|
476
515
|
* @public
|
|
@@ -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/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,CAAC;IAEiC,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAS;IACxB,UAAU,EAAE,OAAO,CAAS;IACjF;;;OAGG;IACwD,eAAe,EAAE,OAAO,CAAS;IAE5F;;;;OAIG;IACsC,cAAc,EAAE,eAAe,CAAC;IAE7D,eAAe,EAAE,eAAe,EAAE,CAAC;IAE/C;;;OAGG;IACoC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAW;IAE5F;;;OAGG;IACG,iBAAiB;IAmBvB;;;OAGG;YACW,yBAAyB;IAwBvC;;;OAGG;IACM,SAAS,IAAI,IAAI;IA4B1B;;;;;;;OAOG;IACU,mBAAmB,CAAC,CAAC,EAAE,WAAW;IAI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB,IACI,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,wFAwD/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;
|
|
@@ -18,6 +24,7 @@ export declare class List extends FASTElement {
|
|
|
18
24
|
hideEdit: boolean;
|
|
19
25
|
hideDelete: boolean;
|
|
20
26
|
headerCaseType: GridProCaseType;
|
|
27
|
+
blockScrollingOnContextMenu: boolean;
|
|
21
28
|
grid: ZeroGridPro;
|
|
22
29
|
datasource: GridProGenesisDatasource;
|
|
23
30
|
gridOptions: GridOptions;
|
|
@@ -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;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,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,4EA0D3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|
|
@@ -80,6 +80,9 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
80
80
|
readonly part: DOMTokenList;
|
|
81
81
|
readonly prefix: string;
|
|
82
82
|
readonly scrollHeight: number;
|
|
83
|
+
/**
|
|
84
|
+
* String which contains event if we have permission to update user of empty string if not
|
|
85
|
+
*/
|
|
83
86
|
scrollLeft: number;
|
|
84
87
|
scrollTop: number;
|
|
85
88
|
readonly scrollWidth: number;
|
|
@@ -90,10 +93,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
90
93
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
91
94
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
92
95
|
closest<E extends Element = Element>(selectors: string): E;
|
|
93
|
-
getAttribute(qualifiedName: string): string;
|
|
94
|
-
* Definition of the `DATASERVER` query which is used when managing Counterpartys
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
96
|
+
getAttribute(qualifiedName: string): string;
|
|
97
97
|
getAttributeNS(namespace: string, localName: string): string;
|
|
98
98
|
getAttributeNames(): string[];
|
|
99
99
|
getAttributeNode(qualifiedName: string): Attr;
|
|
@@ -157,7 +157,9 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
157
157
|
isDefaultNamespace(namespace: string): boolean;
|
|
158
158
|
isEqualNode(otherNode: Node): boolean;
|
|
159
159
|
isSameNode(otherNode: Node): boolean;
|
|
160
|
-
lookupNamespaceURI(prefix: string): string;
|
|
160
|
+
lookupNamespaceURI(prefix: string): string; /**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
161
163
|
lookupPrefix(namespace: string): string;
|
|
162
164
|
normalize(): void;
|
|
163
165
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -424,6 +426,11 @@ export declare class Users extends Users_base {
|
|
|
424
426
|
* @internal
|
|
425
427
|
*/
|
|
426
428
|
datasourceConfig: DatasourceConfiguration;
|
|
429
|
+
/**
|
|
430
|
+
* Name of the design system prefix that will be used for components.
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
prefix: string;
|
|
427
434
|
/**
|
|
428
435
|
* Configuring the resourceName from the entity-management, set to manage the users resource specifically
|
|
429
436
|
* @internal
|