@genesislcap/foundation-entity-management 14.192.2 → 14.192.3-alpha-c1861f7.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 +144 -84
- package/dist/dts/entities/entities.d.ts +14 -1
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +1 -0
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +9 -0
- package/dist/esm/entities/entities.template.js +1 -0
- package/dist/esm/list/list.js +4 -0
- package/dist/esm/list/list.template.js +1 -0
- package/dist/foundation-entity-management.d.ts +14 -1
- package/docs/api-report.md +2 -0
- package/package.json +21 -21
|
@@ -87,41 +87,6 @@
|
|
|
87
87
|
}
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
|
-
{
|
|
91
|
-
"kind": "javascript-module",
|
|
92
|
-
"path": "src/components/components.ts",
|
|
93
|
-
"declarations": [
|
|
94
|
-
{
|
|
95
|
-
"kind": "function",
|
|
96
|
-
"name": "loadRemotes"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"exports": [
|
|
100
|
-
{
|
|
101
|
-
"kind": "js",
|
|
102
|
-
"name": "loadRemotes",
|
|
103
|
-
"declaration": {
|
|
104
|
-
"name": "loadRemotes",
|
|
105
|
-
"module": "src/components/components.ts"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"kind": "javascript-module",
|
|
112
|
-
"path": "src/components/index.ts",
|
|
113
|
-
"declarations": [],
|
|
114
|
-
"exports": [
|
|
115
|
-
{
|
|
116
|
-
"kind": "js",
|
|
117
|
-
"name": "*",
|
|
118
|
-
"declaration": {
|
|
119
|
-
"name": "*",
|
|
120
|
-
"package": "./components"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
]
|
|
124
|
-
},
|
|
125
90
|
{
|
|
126
91
|
"kind": "javascript-module",
|
|
127
92
|
"path": "src/entities/entities.styles.ts",
|
|
@@ -343,6 +308,15 @@
|
|
|
343
308
|
"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.",
|
|
344
309
|
"privacy": "public"
|
|
345
310
|
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "field",
|
|
313
|
+
"name": "blockScrollingOnContextMenu",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "boolean"
|
|
316
|
+
},
|
|
317
|
+
"default": "false",
|
|
318
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
|
|
319
|
+
},
|
|
346
320
|
{
|
|
347
321
|
"kind": "field",
|
|
348
322
|
"name": "gridOptions",
|
|
@@ -796,6 +770,15 @@
|
|
|
796
770
|
"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.",
|
|
797
771
|
"fieldName": "persistColumnStateKey"
|
|
798
772
|
},
|
|
773
|
+
{
|
|
774
|
+
"name": "block-scrolling-on-context-menu",
|
|
775
|
+
"type": {
|
|
776
|
+
"text": "boolean"
|
|
777
|
+
},
|
|
778
|
+
"default": "false",
|
|
779
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
780
|
+
"fieldName": "blockScrollingOnContextMenu"
|
|
781
|
+
},
|
|
799
782
|
{
|
|
800
783
|
"name": "size-columns-to-fit",
|
|
801
784
|
"type": {
|
|
@@ -917,6 +900,90 @@
|
|
|
917
900
|
}
|
|
918
901
|
]
|
|
919
902
|
},
|
|
903
|
+
{
|
|
904
|
+
"kind": "javascript-module",
|
|
905
|
+
"path": "src/components/components.ts",
|
|
906
|
+
"declarations": [
|
|
907
|
+
{
|
|
908
|
+
"kind": "function",
|
|
909
|
+
"name": "loadRemotes"
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
"exports": [
|
|
913
|
+
{
|
|
914
|
+
"kind": "js",
|
|
915
|
+
"name": "loadRemotes",
|
|
916
|
+
"declaration": {
|
|
917
|
+
"name": "loadRemotes",
|
|
918
|
+
"module": "src/components/components.ts"
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"kind": "javascript-module",
|
|
925
|
+
"path": "src/components/index.ts",
|
|
926
|
+
"declarations": [],
|
|
927
|
+
"exports": [
|
|
928
|
+
{
|
|
929
|
+
"kind": "js",
|
|
930
|
+
"name": "*",
|
|
931
|
+
"declaration": {
|
|
932
|
+
"name": "*",
|
|
933
|
+
"package": "./components"
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
]
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"kind": "javascript-module",
|
|
940
|
+
"path": "src/layouts/default.ts",
|
|
941
|
+
"declarations": [
|
|
942
|
+
{
|
|
943
|
+
"kind": "variable",
|
|
944
|
+
"name": "loginLayout",
|
|
945
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"kind": "variable",
|
|
949
|
+
"name": "defaultLayout",
|
|
950
|
+
"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)"
|
|
951
|
+
}
|
|
952
|
+
],
|
|
953
|
+
"exports": [
|
|
954
|
+
{
|
|
955
|
+
"kind": "js",
|
|
956
|
+
"name": "loginLayout",
|
|
957
|
+
"declaration": {
|
|
958
|
+
"name": "loginLayout",
|
|
959
|
+
"module": "src/layouts/default.ts"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"kind": "js",
|
|
964
|
+
"name": "defaultLayout",
|
|
965
|
+
"declaration": {
|
|
966
|
+
"name": "defaultLayout",
|
|
967
|
+
"module": "src/layouts/default.ts"
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"kind": "javascript-module",
|
|
974
|
+
"path": "src/layouts/index.ts",
|
|
975
|
+
"declarations": [],
|
|
976
|
+
"exports": [
|
|
977
|
+
{
|
|
978
|
+
"kind": "js",
|
|
979
|
+
"name": "*",
|
|
980
|
+
"declaration": {
|
|
981
|
+
"name": "*",
|
|
982
|
+
"package": "./default"
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
},
|
|
920
987
|
{
|
|
921
988
|
"kind": "javascript-module",
|
|
922
989
|
"path": "src/list/index.ts",
|
|
@@ -1104,6 +1171,14 @@
|
|
|
1104
1171
|
"text": "GridProCaseType"
|
|
1105
1172
|
}
|
|
1106
1173
|
},
|
|
1174
|
+
{
|
|
1175
|
+
"kind": "field",
|
|
1176
|
+
"name": "blockScrollingOnContextMenu",
|
|
1177
|
+
"type": {
|
|
1178
|
+
"text": "boolean"
|
|
1179
|
+
},
|
|
1180
|
+
"default": "false"
|
|
1181
|
+
},
|
|
1107
1182
|
{
|
|
1108
1183
|
"kind": "field",
|
|
1109
1184
|
"name": "grid",
|
|
@@ -1345,6 +1420,14 @@
|
|
|
1345
1420
|
"text": "GridProCaseType"
|
|
1346
1421
|
},
|
|
1347
1422
|
"fieldName": "headerCaseType"
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
"name": "block-scrolling-on-context-menu",
|
|
1426
|
+
"type": {
|
|
1427
|
+
"text": "boolean"
|
|
1428
|
+
},
|
|
1429
|
+
"default": "false",
|
|
1430
|
+
"fieldName": "blockScrollingOnContextMenu"
|
|
1348
1431
|
}
|
|
1349
1432
|
],
|
|
1350
1433
|
"mixins": [
|
|
@@ -1380,55 +1463,6 @@
|
|
|
1380
1463
|
}
|
|
1381
1464
|
]
|
|
1382
1465
|
},
|
|
1383
|
-
{
|
|
1384
|
-
"kind": "javascript-module",
|
|
1385
|
-
"path": "src/layouts/default.ts",
|
|
1386
|
-
"declarations": [
|
|
1387
|
-
{
|
|
1388
|
-
"kind": "variable",
|
|
1389
|
-
"name": "loginLayout",
|
|
1390
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"kind": "variable",
|
|
1394
|
-
"name": "defaultLayout",
|
|
1395
|
-
"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)"
|
|
1396
|
-
}
|
|
1397
|
-
],
|
|
1398
|
-
"exports": [
|
|
1399
|
-
{
|
|
1400
|
-
"kind": "js",
|
|
1401
|
-
"name": "loginLayout",
|
|
1402
|
-
"declaration": {
|
|
1403
|
-
"name": "loginLayout",
|
|
1404
|
-
"module": "src/layouts/default.ts"
|
|
1405
|
-
}
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"kind": "js",
|
|
1409
|
-
"name": "defaultLayout",
|
|
1410
|
-
"declaration": {
|
|
1411
|
-
"name": "defaultLayout",
|
|
1412
|
-
"module": "src/layouts/default.ts"
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
]
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
"kind": "javascript-module",
|
|
1419
|
-
"path": "src/layouts/index.ts",
|
|
1420
|
-
"declarations": [],
|
|
1421
|
-
"exports": [
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./default"
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
1466
|
{
|
|
1433
1467
|
"kind": "javascript-module",
|
|
1434
1468
|
"path": "src/main/index.ts",
|
|
@@ -1896,6 +1930,19 @@
|
|
|
1896
1930
|
"module": "src/entities/entities.ts"
|
|
1897
1931
|
}
|
|
1898
1932
|
},
|
|
1933
|
+
{
|
|
1934
|
+
"kind": "field",
|
|
1935
|
+
"name": "blockScrollingOnContextMenu",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "boolean"
|
|
1938
|
+
},
|
|
1939
|
+
"default": "false",
|
|
1940
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
1941
|
+
"inheritedFrom": {
|
|
1942
|
+
"name": "EntityManagement",
|
|
1943
|
+
"module": "src/entities/entities.ts"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1899
1946
|
{
|
|
1900
1947
|
"kind": "field",
|
|
1901
1948
|
"name": "gridOptions",
|
|
@@ -2534,6 +2581,19 @@
|
|
|
2534
2581
|
"module": "src/entities/entities.ts"
|
|
2535
2582
|
}
|
|
2536
2583
|
},
|
|
2584
|
+
{
|
|
2585
|
+
"name": "block-scrolling-on-context-menu",
|
|
2586
|
+
"type": {
|
|
2587
|
+
"text": "boolean"
|
|
2588
|
+
},
|
|
2589
|
+
"default": "false",
|
|
2590
|
+
"description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
|
|
2591
|
+
"fieldName": "blockScrollingOnContextMenu",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "EntityManagement",
|
|
2594
|
+
"module": "src/entities/entities.ts"
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2537
2597
|
{
|
|
2538
2598
|
"name": "size-columns-to-fit",
|
|
2539
2599
|
"type": {
|
|
@@ -79,7 +79,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
79
79
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
80
80
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
81
81
|
outerHTML: string;
|
|
82
|
-
readonly ownerDocument: Document;
|
|
82
|
+
readonly ownerDocument: Document; /**
|
|
83
|
+
* The configuration which is used when interacting with the resource on the backend
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
*
|
|
87
|
+
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
83
90
|
readonly part: DOMTokenList;
|
|
84
91
|
readonly prefix: string;
|
|
85
92
|
readonly scrollHeight: number;
|
|
@@ -482,6 +489,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
482
489
|
* @public
|
|
483
490
|
*/
|
|
484
491
|
persistColumnStateKey: string;
|
|
492
|
+
/**
|
|
493
|
+
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
494
|
+
* @remarks Defaults to false
|
|
495
|
+
* @alpha
|
|
496
|
+
*/
|
|
497
|
+
blockScrollingOnContextMenu: boolean;
|
|
485
498
|
/**
|
|
486
499
|
* GridOptions to be passed down from application
|
|
487
500
|
* @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,EACL,OAAO,EACP,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AACvC,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,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAKjC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,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KAAA;CAkB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAKnD;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAKnD;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAyD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -355,6 +355,7 @@ export declare class List extends List_base {
|
|
|
355
355
|
hideEdit: boolean;
|
|
356
356
|
hideDelete: boolean;
|
|
357
357
|
headerCaseType: GridProCaseType;
|
|
358
|
+
blockScrollingOnContextMenu: boolean;
|
|
358
359
|
grid: ZeroGridPro;
|
|
359
360
|
datasource: GridProGenesisDatasource;
|
|
360
361
|
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;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uC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C1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,iBAAiB;YA6DH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,eAAO,MAAM,eAAe,4EA2D3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
|
|
@@ -87,6 +87,12 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
87
87
|
* @public
|
|
88
88
|
*/
|
|
89
89
|
this.enableRowFlashing = false;
|
|
90
|
+
/**
|
|
91
|
+
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
92
|
+
* @remarks Defaults to false
|
|
93
|
+
* @alpha
|
|
94
|
+
*/
|
|
95
|
+
this.blockScrollingOnContextMenu = false;
|
|
90
96
|
/**
|
|
91
97
|
* Array with renderers used by foundation-forms
|
|
92
98
|
* @public
|
|
@@ -470,6 +476,9 @@ __decorate([
|
|
|
470
476
|
__decorate([
|
|
471
477
|
attr({ attribute: 'persist-column-state-key' })
|
|
472
478
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
479
|
+
__decorate([
|
|
480
|
+
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
481
|
+
], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
|
|
473
482
|
__decorate([
|
|
474
483
|
observable
|
|
475
484
|
], EntityManagement.prototype, "gridOptions", void 0);
|
|
@@ -65,6 +65,7 @@ export const getPrefixedEntities = (prefix) => html `
|
|
|
65
65
|
hide-edit=${(x) => x.hideEdit}
|
|
66
66
|
hide-delete=${(x) => x.hideDelete}
|
|
67
67
|
header-case-type=${(x) => x.headerCaseType}
|
|
68
|
+
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
68
69
|
>
|
|
69
70
|
<slot name="header" slot="header">${defaultHeader}</slot>
|
|
70
71
|
</entity-list>
|
package/dist/esm/list/list.js
CHANGED
|
@@ -25,6 +25,7 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
25
25
|
this.enableRowFlashing = false;
|
|
26
26
|
this.hideEdit = false;
|
|
27
27
|
this.hideDelete = false;
|
|
28
|
+
this.blockScrollingOnContextMenu = false;
|
|
28
29
|
this.actionButtonsConfig = [];
|
|
29
30
|
this.edit = (e) => {
|
|
30
31
|
this.$emit('edit-entity', e);
|
|
@@ -183,6 +184,9 @@ __decorate([
|
|
|
183
184
|
__decorate([
|
|
184
185
|
attr({ attribute: 'header-case-type' })
|
|
185
186
|
], List.prototype, "headerCaseType", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
|
|
189
|
+
], List.prototype, "blockScrollingOnContextMenu", void 0);
|
|
186
190
|
__decorate([
|
|
187
191
|
observable
|
|
188
192
|
], List.prototype, "gridOptions", void 0);
|
|
@@ -24,6 +24,7 @@ export const getPrefixedList = (prefix) => html `
|
|
|
24
24
|
enable-cell-flashing=${(x) => x.enableCellFlashing}
|
|
25
25
|
enable-row-flashing=${(x) => x.enableRowFlashing}
|
|
26
26
|
header-case-type=${(x) => x.headerCaseType}
|
|
27
|
+
block-scrolling-on-context-menu=${(x) => x.blockScrollingOnContextMenu}
|
|
27
28
|
>
|
|
28
29
|
<grid-pro-genesis-datasource
|
|
29
30
|
${ref('datasource')}
|
|
@@ -180,6 +180,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
180
180
|
* @public
|
|
181
181
|
*/
|
|
182
182
|
persistColumnStateKey: string;
|
|
183
|
+
/**
|
|
184
|
+
* If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
|
|
185
|
+
* @remarks Defaults to false
|
|
186
|
+
* @alpha
|
|
187
|
+
*/
|
|
188
|
+
blockScrollingOnContextMenu: boolean;
|
|
183
189
|
/**
|
|
184
190
|
* GridOptions to be passed down from application
|
|
185
191
|
* @public
|
|
@@ -380,7 +386,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
380
386
|
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
381
387
|
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
382
388
|
outerHTML: string;
|
|
383
|
-
readonly ownerDocument: Document;
|
|
389
|
+
readonly ownerDocument: Document; /**
|
|
390
|
+
* The configuration which is used when interacting with the resource on the backend
|
|
391
|
+
*
|
|
392
|
+
* @remarks
|
|
393
|
+
*
|
|
394
|
+
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
384
397
|
readonly part: DOMTokenList;
|
|
385
398
|
readonly prefix: string;
|
|
386
399
|
readonly scrollHeight: number;
|
package/docs/api-report.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.192.
|
|
4
|
+
"version": "14.192.3-alpha-c1861f7.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.192.
|
|
56
|
-
"@genesislcap/genx": "14.192.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.192.
|
|
58
|
-
"@genesislcap/ts-builder": "14.192.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.192.
|
|
60
|
-
"@genesislcap/vite-builder": "14.192.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.192.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.192.3-alpha-c1861f7.0",
|
|
56
|
+
"@genesislcap/genx": "14.192.3-alpha-c1861f7.0",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.192.3-alpha-c1861f7.0",
|
|
58
|
+
"@genesislcap/ts-builder": "14.192.3-alpha-c1861f7.0",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.192.3-alpha-c1861f7.0",
|
|
60
|
+
"@genesislcap/vite-builder": "14.192.3-alpha-c1861f7.0",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.192.3-alpha-c1861f7.0",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.192.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.192.
|
|
68
|
-
"@genesislcap/foundation-events": "14.192.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.192.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.192.
|
|
71
|
-
"@genesislcap/foundation-login": "14.192.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.192.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.192.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.192.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.192.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.192.
|
|
77
|
-
"@genesislcap/grid-pro": "14.192.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.192.3-alpha-c1861f7.0",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.192.3-alpha-c1861f7.0",
|
|
68
|
+
"@genesislcap/foundation-events": "14.192.3-alpha-c1861f7.0",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.192.3-alpha-c1861f7.0",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.192.3-alpha-c1861f7.0",
|
|
71
|
+
"@genesislcap/foundation-login": "14.192.3-alpha-c1861f7.0",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.192.3-alpha-c1861f7.0",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.192.3-alpha-c1861f7.0",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.192.3-alpha-c1861f7.0",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.192.3-alpha-c1861f7.0",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.192.3-alpha-c1861f7.0",
|
|
77
|
+
"@genesislcap/grid-pro": "14.192.3-alpha-c1861f7.0",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"access": "public"
|
|
91
91
|
},
|
|
92
92
|
"customElements": "dist/custom-elements.json",
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "1dc42088264db69343d5d46ea39f58310e41c59d"
|
|
94
94
|
}
|