@genesislcap/foundation-entity-management 14.177.1 → 14.177.2-alpha-f467137.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.
@@ -343,6 +343,15 @@
343
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.",
344
344
  "privacy": "public"
345
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
+ },
346
355
  {
347
356
  "kind": "field",
348
357
  "name": "gridOptions",
@@ -759,6 +768,15 @@
759
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.",
760
769
  "fieldName": "persistColumnStateKey"
761
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
+ },
762
780
  {
763
781
  "name": "size-columns-to-fit",
764
782
  "type": {
@@ -1067,6 +1085,14 @@
1067
1085
  "text": "GridProCaseType"
1068
1086
  }
1069
1087
  },
1088
+ {
1089
+ "kind": "field",
1090
+ "name": "blockScrollingOnContextMenu",
1091
+ "type": {
1092
+ "text": "boolean"
1093
+ },
1094
+ "default": "false"
1095
+ },
1070
1096
  {
1071
1097
  "kind": "field",
1072
1098
  "name": "grid",
@@ -1308,6 +1334,14 @@
1308
1334
  "text": "GridProCaseType"
1309
1335
  },
1310
1336
  "fieldName": "headerCaseType"
1337
+ },
1338
+ {
1339
+ "name": "block-scrolling-on-context-menu",
1340
+ "type": {
1341
+ "text": "boolean"
1342
+ },
1343
+ "default": "false",
1344
+ "fieldName": "blockScrollingOnContextMenu"
1311
1345
  }
1312
1346
  ],
1313
1347
  "mixins": [
@@ -1392,159 +1426,6 @@
1392
1426
  }
1393
1427
  ]
1394
1428
  },
1395
- {
1396
- "kind": "javascript-module",
1397
- "path": "src/main/index.ts",
1398
- "declarations": [],
1399
- "exports": [
1400
- {
1401
- "kind": "js",
1402
- "name": "*",
1403
- "declaration": {
1404
- "name": "*",
1405
- "package": "./main.template"
1406
- }
1407
- },
1408
- {
1409
- "kind": "js",
1410
- "name": "*",
1411
- "declaration": {
1412
- "name": "*",
1413
- "package": "./main"
1414
- }
1415
- }
1416
- ]
1417
- },
1418
- {
1419
- "kind": "javascript-module",
1420
- "path": "src/main/main.styles.ts",
1421
- "declarations": [
1422
- {
1423
- "kind": "variable",
1424
- "name": "MainStyles",
1425
- "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`"
1426
- }
1427
- ],
1428
- "exports": [
1429
- {
1430
- "kind": "js",
1431
- "name": "MainStyles",
1432
- "declaration": {
1433
- "name": "MainStyles",
1434
- "module": "src/main/main.styles.ts"
1435
- }
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "kind": "javascript-module",
1441
- "path": "src/main/main.template.ts",
1442
- "declarations": [],
1443
- "exports": []
1444
- },
1445
- {
1446
- "kind": "javascript-module",
1447
- "path": "src/main/main.ts",
1448
- "declarations": [
1449
- {
1450
- "kind": "class",
1451
- "description": "",
1452
- "name": "MainApplication",
1453
- "members": [
1454
- {
1455
- "kind": "field",
1456
- "name": "config",
1457
- "type": {
1458
- "text": "MainRouterConfig"
1459
- }
1460
- },
1461
- {
1462
- "kind": "field",
1463
- "name": "connect",
1464
- "type": {
1465
- "text": "Connect"
1466
- }
1467
- },
1468
- {
1469
- "kind": "field",
1470
- "name": "session",
1471
- "type": {
1472
- "text": "Session"
1473
- }
1474
- },
1475
- {
1476
- "kind": "field",
1477
- "name": "container",
1478
- "type": {
1479
- "text": "Container"
1480
- }
1481
- },
1482
- {
1483
- "kind": "field",
1484
- "name": "provider",
1485
- "type": {
1486
- "text": "any"
1487
- }
1488
- },
1489
- {
1490
- "kind": "field",
1491
- "name": "ready",
1492
- "type": {
1493
- "text": "boolean"
1494
- },
1495
- "default": "false"
1496
- },
1497
- {
1498
- "kind": "field",
1499
- "name": "data",
1500
- "type": {
1501
- "text": "any"
1502
- },
1503
- "default": "null"
1504
- },
1505
- {
1506
- "kind": "method",
1507
- "name": "onLuminanceToggle"
1508
- },
1509
- {
1510
- "kind": "method",
1511
- "name": "loadRemotes"
1512
- },
1513
- {
1514
- "kind": "method",
1515
- "name": "selectTemplate"
1516
- },
1517
- {
1518
- "kind": "method",
1519
- "name": "registerDIDependencies",
1520
- "privacy": "private"
1521
- }
1522
- ],
1523
- "superclass": {
1524
- "name": "FASTElement",
1525
- "package": "@microsoft/fast-element"
1526
- },
1527
- "customElement": true
1528
- }
1529
- ],
1530
- "exports": [
1531
- {
1532
- "kind": "js",
1533
- "name": "MainApplication",
1534
- "declaration": {
1535
- "name": "MainApplication",
1536
- "module": "src/main/main.ts"
1537
- }
1538
- },
1539
- {
1540
- "kind": "custom-element-definition",
1541
- "declaration": {
1542
- "name": "MainApplication",
1543
- "module": "src/main/main.ts"
1544
- }
1545
- }
1546
- ]
1547
- },
1548
1429
  {
1549
1430
  "kind": "javascript-module",
1550
1431
  "path": "src/profiles/editProfileSchema.ts",
@@ -1859,6 +1740,19 @@
1859
1740
  "module": "src/entities/entities.ts"
1860
1741
  }
1861
1742
  },
1743
+ {
1744
+ "kind": "field",
1745
+ "name": "blockScrollingOnContextMenu",
1746
+ "type": {
1747
+ "text": "boolean"
1748
+ },
1749
+ "default": "false",
1750
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1751
+ "inheritedFrom": {
1752
+ "name": "EntityManagement",
1753
+ "module": "src/entities/entities.ts"
1754
+ }
1755
+ },
1862
1756
  {
1863
1757
  "kind": "field",
1864
1758
  "name": "gridOptions",
@@ -2448,6 +2342,19 @@
2448
2342
  "module": "src/entities/entities.ts"
2449
2343
  }
2450
2344
  },
2345
+ {
2346
+ "name": "block-scrolling-on-context-menu",
2347
+ "type": {
2348
+ "text": "boolean"
2349
+ },
2350
+ "default": "false",
2351
+ "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
2352
+ "fieldName": "blockScrollingOnContextMenu",
2353
+ "inheritedFrom": {
2354
+ "name": "EntityManagement",
2355
+ "module": "src/entities/entities.ts"
2356
+ }
2357
+ },
2451
2358
  {
2452
2359
  "name": "size-columns-to-fit",
2453
2360
  "type": {
@@ -2554,6 +2461,159 @@
2554
2461
  }
2555
2462
  ]
2556
2463
  },
2464
+ {
2465
+ "kind": "javascript-module",
2466
+ "path": "src/main/index.ts",
2467
+ "declarations": [],
2468
+ "exports": [
2469
+ {
2470
+ "kind": "js",
2471
+ "name": "*",
2472
+ "declaration": {
2473
+ "name": "*",
2474
+ "package": "./main.template"
2475
+ }
2476
+ },
2477
+ {
2478
+ "kind": "js",
2479
+ "name": "*",
2480
+ "declaration": {
2481
+ "name": "*",
2482
+ "package": "./main"
2483
+ }
2484
+ }
2485
+ ]
2486
+ },
2487
+ {
2488
+ "kind": "javascript-module",
2489
+ "path": "src/main/main.styles.ts",
2490
+ "declarations": [
2491
+ {
2492
+ "kind": "variable",
2493
+ "name": "MainStyles",
2494
+ "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`"
2495
+ }
2496
+ ],
2497
+ "exports": [
2498
+ {
2499
+ "kind": "js",
2500
+ "name": "MainStyles",
2501
+ "declaration": {
2502
+ "name": "MainStyles",
2503
+ "module": "src/main/main.styles.ts"
2504
+ }
2505
+ }
2506
+ ]
2507
+ },
2508
+ {
2509
+ "kind": "javascript-module",
2510
+ "path": "src/main/main.template.ts",
2511
+ "declarations": [],
2512
+ "exports": []
2513
+ },
2514
+ {
2515
+ "kind": "javascript-module",
2516
+ "path": "src/main/main.ts",
2517
+ "declarations": [
2518
+ {
2519
+ "kind": "class",
2520
+ "description": "",
2521
+ "name": "MainApplication",
2522
+ "members": [
2523
+ {
2524
+ "kind": "field",
2525
+ "name": "config",
2526
+ "type": {
2527
+ "text": "MainRouterConfig"
2528
+ }
2529
+ },
2530
+ {
2531
+ "kind": "field",
2532
+ "name": "connect",
2533
+ "type": {
2534
+ "text": "Connect"
2535
+ }
2536
+ },
2537
+ {
2538
+ "kind": "field",
2539
+ "name": "session",
2540
+ "type": {
2541
+ "text": "Session"
2542
+ }
2543
+ },
2544
+ {
2545
+ "kind": "field",
2546
+ "name": "container",
2547
+ "type": {
2548
+ "text": "Container"
2549
+ }
2550
+ },
2551
+ {
2552
+ "kind": "field",
2553
+ "name": "provider",
2554
+ "type": {
2555
+ "text": "any"
2556
+ }
2557
+ },
2558
+ {
2559
+ "kind": "field",
2560
+ "name": "ready",
2561
+ "type": {
2562
+ "text": "boolean"
2563
+ },
2564
+ "default": "false"
2565
+ },
2566
+ {
2567
+ "kind": "field",
2568
+ "name": "data",
2569
+ "type": {
2570
+ "text": "any"
2571
+ },
2572
+ "default": "null"
2573
+ },
2574
+ {
2575
+ "kind": "method",
2576
+ "name": "onLuminanceToggle"
2577
+ },
2578
+ {
2579
+ "kind": "method",
2580
+ "name": "loadRemotes"
2581
+ },
2582
+ {
2583
+ "kind": "method",
2584
+ "name": "selectTemplate"
2585
+ },
2586
+ {
2587
+ "kind": "method",
2588
+ "name": "registerDIDependencies",
2589
+ "privacy": "private"
2590
+ }
2591
+ ],
2592
+ "superclass": {
2593
+ "name": "FASTElement",
2594
+ "package": "@microsoft/fast-element"
2595
+ },
2596
+ "customElement": true
2597
+ }
2598
+ ],
2599
+ "exports": [
2600
+ {
2601
+ "kind": "js",
2602
+ "name": "MainApplication",
2603
+ "declaration": {
2604
+ "name": "MainApplication",
2605
+ "module": "src/main/main.ts"
2606
+ }
2607
+ },
2608
+ {
2609
+ "kind": "custom-element-definition",
2610
+ "declaration": {
2611
+ "name": "MainApplication",
2612
+ "module": "src/main/main.ts"
2613
+ }
2614
+ }
2615
+ ]
2616
+ },
2557
2617
  {
2558
2618
  "kind": "javascript-module",
2559
2619
  "path": "src/routes/config.ts",
@@ -110,11 +110,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
110
110
  hasAttribute(qualifiedName: string): boolean;
111
111
  hasAttributeNS(namespace: string, localName: string): boolean;
112
112
  hasAttributes(): boolean;
113
- hasPointerCapture(pointerId: number): boolean; /**
114
- * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
115
- * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
116
- * @public
117
- */
113
+ hasPointerCapture(pointerId: number): boolean;
118
114
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
119
115
  insertAdjacentHTML(position: InsertPosition, text: string): void;
120
116
  insertAdjacentText(where: InsertPosition, data: string): void;
@@ -193,14 +189,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
193
189
  ariaColIndex: string;
194
190
  ariaColIndexText: string;
195
191
  ariaColSpan: string;
196
- ariaCurrent: string; /**
197
- * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
198
- *
199
- * @param e - CustomEvent which contains the payload for the entity to submit to the backend
200
- *
201
- * Emits an event upon error
202
- * @public
203
- */
192
+ ariaCurrent: string;
204
193
  ariaDisabled: string;
205
194
  ariaExpanded: string;
206
195
  ariaHasPopup: string;
@@ -493,6 +482,12 @@ export declare class EntityManagement extends EntityManagement_base {
493
482
  * @public
494
483
  */
495
484
  persistColumnStateKey: string;
485
+ /**
486
+ * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
487
+ * @remarks Defaults to false
488
+ * @alpha
489
+ */
490
+ blockScrollingOnContextMenu: boolean;
496
491
  /**
497
492
  * GridOptions to be passed down from application
498
493
  * @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,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAKjC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAuOxF;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuGH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAvVL;;;;;;;;;;;;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AM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAuD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
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"}
@@ -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,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAA4B,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;IAEzE,2BAA2B,UAAS;IAC7B,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+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,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,eAAe,4EAyD3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,YAAY,2DAExB,CAAC"}
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"}
@@ -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
@@ -450,6 +456,9 @@ __decorate([
450
456
  __decorate([
451
457
  attr({ attribute: 'persist-column-state-key' })
452
458
  ], EntityManagement.prototype, "persistColumnStateKey", void 0);
459
+ __decorate([
460
+ attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
461
+ ], EntityManagement.prototype, "blockScrollingOnContextMenu", void 0);
453
462
  __decorate([
454
463
  observable
455
464
  ], 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>
@@ -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
@@ -408,11 +414,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
408
414
  hasAttribute(qualifiedName: string): boolean;
409
415
  hasAttributeNS(namespace: string, localName: string): boolean;
410
416
  hasAttributes(): boolean;
411
- hasPointerCapture(pointerId: number): boolean; /**
412
- * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
413
- * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
414
- * @public
415
- */
417
+ hasPointerCapture(pointerId: number): boolean;
416
418
  insertAdjacentElement(where: InsertPosition, element: Element): Element;
417
419
  insertAdjacentHTML(position: InsertPosition, text: string): void;
418
420
  insertAdjacentText(where: InsertPosition, data: string): void;
@@ -491,14 +493,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
491
493
  ariaColIndex: string;
492
494
  ariaColIndexText: string;
493
495
  ariaColSpan: string;
494
- ariaCurrent: string; /**
495
- * Event handler for when the user submits the action for the currently open form, either editing or adding the entity
496
- *
497
- * @param e - CustomEvent which contains the payload for the entity to submit to the backend
498
- *
499
- * Emits an event upon error
500
- * @public
501
- */
496
+ ariaCurrent: string;
502
497
  ariaDisabled: string;
503
498
  ariaExpanded: string;
504
499
  ariaHasPopup: string;
@@ -46,6 +46,8 @@ export class EntityManagement extends EntityManagement_base {
46
46
  asyncAdd: boolean;
47
47
  asyncRemove: boolean;
48
48
  asyncUpdate: boolean;
49
+ // @alpha
50
+ blockScrollingOnContextMenu: boolean;
49
51
  // (undocumented)
50
52
  closeModal(): void;
51
53
  columns: ColDef[];
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.177.1",
4
+ "version": "14.177.2-alpha-f467137.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -43,29 +43,29 @@
43
43
  "test:debug": "genx test --debug"
44
44
  },
45
45
  "devDependencies": {
46
- "@genesislcap/foundation-testing": "14.177.1",
47
- "@genesislcap/genx": "14.177.1",
48
- "@genesislcap/rollup-builder": "14.177.1",
49
- "@genesislcap/ts-builder": "14.177.1",
50
- "@genesislcap/uvu-playwright-builder": "14.177.1",
51
- "@genesislcap/vite-builder": "14.177.1",
52
- "@genesislcap/webpack-builder": "14.177.1",
46
+ "@genesislcap/foundation-testing": "14.177.2-alpha-f467137.0",
47
+ "@genesislcap/genx": "14.177.2-alpha-f467137.0",
48
+ "@genesislcap/rollup-builder": "14.177.2-alpha-f467137.0",
49
+ "@genesislcap/ts-builder": "14.177.2-alpha-f467137.0",
50
+ "@genesislcap/uvu-playwright-builder": "14.177.2-alpha-f467137.0",
51
+ "@genesislcap/vite-builder": "14.177.2-alpha-f467137.0",
52
+ "@genesislcap/webpack-builder": "14.177.2-alpha-f467137.0",
53
53
  "rimraf": "^3.0.2"
54
54
  },
55
55
  "dependencies": {
56
56
  "@ag-grid-community/core": "29.2.0",
57
- "@genesislcap/foundation-comms": "14.177.1",
58
- "@genesislcap/foundation-errors": "14.177.1",
59
- "@genesislcap/foundation-events": "14.177.1",
60
- "@genesislcap/foundation-forms": "14.177.1",
61
- "@genesislcap/foundation-logger": "14.177.1",
62
- "@genesislcap/foundation-login": "14.177.1",
63
- "@genesislcap/foundation-notifications": "14.177.1",
64
- "@genesislcap/foundation-ui": "14.177.1",
65
- "@genesislcap/foundation-utils": "14.177.1",
66
- "@genesislcap/foundation-zero": "14.177.1",
67
- "@genesislcap/foundation-zero-grid-pro": "14.177.1",
68
- "@genesislcap/grid-pro": "14.177.1",
57
+ "@genesislcap/foundation-comms": "14.177.2-alpha-f467137.0",
58
+ "@genesislcap/foundation-errors": "14.177.2-alpha-f467137.0",
59
+ "@genesislcap/foundation-events": "14.177.2-alpha-f467137.0",
60
+ "@genesislcap/foundation-forms": "14.177.2-alpha-f467137.0",
61
+ "@genesislcap/foundation-logger": "14.177.2-alpha-f467137.0",
62
+ "@genesislcap/foundation-login": "14.177.2-alpha-f467137.0",
63
+ "@genesislcap/foundation-notifications": "14.177.2-alpha-f467137.0",
64
+ "@genesislcap/foundation-ui": "14.177.2-alpha-f467137.0",
65
+ "@genesislcap/foundation-utils": "14.177.2-alpha-f467137.0",
66
+ "@genesislcap/foundation-zero": "14.177.2-alpha-f467137.0",
67
+ "@genesislcap/foundation-zero-grid-pro": "14.177.2-alpha-f467137.0",
68
+ "@genesislcap/grid-pro": "14.177.2-alpha-f467137.0",
69
69
  "@microsoft/fast-components": "^2.30.6",
70
70
  "@microsoft/fast-element": "^1.12.0",
71
71
  "@microsoft/fast-foundation": "^2.49.4",
@@ -81,5 +81,5 @@
81
81
  "access": "public"
82
82
  },
83
83
  "customElements": "dist/custom-elements.json",
84
- "gitHead": "c07c95144c7ef605e038161300877aea756dcc28"
84
+ "gitHead": "dbf09e1d3aaf89dd5d8e837b0d3c2a3cc7fd5b57"
85
85
  }