@genesislcap/foundation-entity-management 14.177.0 → 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": {
@@ -880,55 +898,6 @@
880
898
  }
881
899
  ]
882
900
  },
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
- },
932
901
  {
933
902
  "kind": "javascript-module",
934
903
  "path": "src/list/index.ts",
@@ -1116,6 +1085,14 @@
1116
1085
  "text": "GridProCaseType"
1117
1086
  }
1118
1087
  },
1088
+ {
1089
+ "kind": "field",
1090
+ "name": "blockScrollingOnContextMenu",
1091
+ "type": {
1092
+ "text": "boolean"
1093
+ },
1094
+ "default": "false"
1095
+ },
1119
1096
  {
1120
1097
  "kind": "field",
1121
1098
  "name": "grid",
@@ -1357,6 +1334,20 @@
1357
1334
  "text": "GridProCaseType"
1358
1335
  },
1359
1336
  "fieldName": "headerCaseType"
1337
+ },
1338
+ {
1339
+ "name": "block-scrolling-on-context-menu",
1340
+ "type": {
1341
+ "text": "boolean"
1342
+ },
1343
+ "default": "false",
1344
+ "fieldName": "blockScrollingOnContextMenu"
1345
+ }
1346
+ ],
1347
+ "mixins": [
1348
+ {
1349
+ "name": "LifecycleMixin",
1350
+ "package": "@genesislcap/foundation-utils"
1360
1351
  }
1361
1352
  ],
1362
1353
  "superclass": {
@@ -1388,153 +1379,49 @@
1388
1379
  },
1389
1380
  {
1390
1381
  "kind": "javascript-module",
1391
- "path": "src/main/index.ts",
1392
- "declarations": [],
1393
- "exports": [
1382
+ "path": "src/layouts/default.ts",
1383
+ "declarations": [
1394
1384
  {
1395
- "kind": "js",
1396
- "name": "*",
1397
- "declaration": {
1398
- "name": "*",
1399
- "package": "./main.template"
1400
- }
1385
+ "kind": "variable",
1386
+ "name": "loginLayout",
1387
+ "default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
1401
1388
  },
1402
- {
1403
- "kind": "js",
1404
- "name": "*",
1405
- "declaration": {
1406
- "name": "*",
1407
- "package": "./main"
1408
- }
1409
- }
1410
- ]
1411
- },
1412
- {
1413
- "kind": "javascript-module",
1414
- "path": "src/main/main.styles.ts",
1415
- "declarations": [
1416
1389
  {
1417
1390
  "kind": "variable",
1418
- "name": "MainStyles",
1419
- "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`"
1391
+ "name": "defaultLayout",
1392
+ "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)"
1420
1393
  }
1421
1394
  ],
1422
1395
  "exports": [
1423
1396
  {
1424
1397
  "kind": "js",
1425
- "name": "MainStyles",
1398
+ "name": "loginLayout",
1426
1399
  "declaration": {
1427
- "name": "MainStyles",
1428
- "module": "src/main/main.styles.ts"
1400
+ "name": "loginLayout",
1401
+ "module": "src/layouts/default.ts"
1402
+ }
1403
+ },
1404
+ {
1405
+ "kind": "js",
1406
+ "name": "defaultLayout",
1407
+ "declaration": {
1408
+ "name": "defaultLayout",
1409
+ "module": "src/layouts/default.ts"
1429
1410
  }
1430
1411
  }
1431
1412
  ]
1432
1413
  },
1433
1414
  {
1434
1415
  "kind": "javascript-module",
1435
- "path": "src/main/main.template.ts",
1416
+ "path": "src/layouts/index.ts",
1436
1417
  "declarations": [],
1437
- "exports": []
1438
- },
1439
- {
1440
- "kind": "javascript-module",
1441
- "path": "src/main/main.ts",
1442
- "declarations": [
1443
- {
1444
- "kind": "class",
1445
- "description": "",
1446
- "name": "MainApplication",
1447
- "members": [
1448
- {
1449
- "kind": "field",
1450
- "name": "config",
1451
- "type": {
1452
- "text": "MainRouterConfig"
1453
- }
1454
- },
1455
- {
1456
- "kind": "field",
1457
- "name": "connect",
1458
- "type": {
1459
- "text": "Connect"
1460
- }
1461
- },
1462
- {
1463
- "kind": "field",
1464
- "name": "session",
1465
- "type": {
1466
- "text": "Session"
1467
- }
1468
- },
1469
- {
1470
- "kind": "field",
1471
- "name": "container",
1472
- "type": {
1473
- "text": "Container"
1474
- }
1475
- },
1476
- {
1477
- "kind": "field",
1478
- "name": "provider",
1479
- "type": {
1480
- "text": "any"
1481
- }
1482
- },
1483
- {
1484
- "kind": "field",
1485
- "name": "ready",
1486
- "type": {
1487
- "text": "boolean"
1488
- },
1489
- "default": "false"
1490
- },
1491
- {
1492
- "kind": "field",
1493
- "name": "data",
1494
- "type": {
1495
- "text": "any"
1496
- },
1497
- "default": "null"
1498
- },
1499
- {
1500
- "kind": "method",
1501
- "name": "onLuminanceToggle"
1502
- },
1503
- {
1504
- "kind": "method",
1505
- "name": "loadRemotes"
1506
- },
1507
- {
1508
- "kind": "method",
1509
- "name": "selectTemplate"
1510
- },
1511
- {
1512
- "kind": "method",
1513
- "name": "registerDIDependencies",
1514
- "privacy": "private"
1515
- }
1516
- ],
1517
- "superclass": {
1518
- "name": "FASTElement",
1519
- "package": "@microsoft/fast-element"
1520
- },
1521
- "customElement": true
1522
- }
1523
- ],
1524
1418
  "exports": [
1525
1419
  {
1526
1420
  "kind": "js",
1527
- "name": "MainApplication",
1528
- "declaration": {
1529
- "name": "MainApplication",
1530
- "module": "src/main/main.ts"
1531
- }
1532
- },
1533
- {
1534
- "kind": "custom-element-definition",
1421
+ "name": "*",
1535
1422
  "declaration": {
1536
- "name": "MainApplication",
1537
- "module": "src/main/main.ts"
1423
+ "name": "*",
1424
+ "package": "./default"
1538
1425
  }
1539
1426
  }
1540
1427
  ]
@@ -1853,6 +1740,19 @@
1853
1740
  "module": "src/entities/entities.ts"
1854
1741
  }
1855
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
+ },
1856
1756
  {
1857
1757
  "kind": "field",
1858
1758
  "name": "gridOptions",
@@ -2442,6 +2342,19 @@
2442
2342
  "module": "src/entities/entities.ts"
2443
2343
  }
2444
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
+ },
2445
2358
  {
2446
2359
  "name": "size-columns-to-fit",
2447
2360
  "type": {
@@ -2550,55 +2463,7 @@
2550
2463
  },
2551
2464
  {
2552
2465
  "kind": "javascript-module",
2553
- "path": "src/routes/config.ts",
2554
- "declarations": [],
2555
- "exports": []
2556
- },
2557
- {
2558
- "kind": "javascript-module",
2559
- "path": "src/routes/index.ts",
2560
- "declarations": [],
2561
- "exports": [
2562
- {
2563
- "kind": "js",
2564
- "name": "*",
2565
- "declaration": {
2566
- "name": "*",
2567
- "package": "./config"
2568
- }
2569
- }
2570
- ]
2571
- },
2572
- {
2573
- "kind": "javascript-module",
2574
- "path": "src/utils/formatting.ts",
2575
- "declarations": [
2576
- {
2577
- "kind": "function",
2578
- "name": "getErrorFormat",
2579
- "parameters": [
2580
- {
2581
- "name": "err"
2582
- }
2583
- ],
2584
- "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
2585
- "privacy": "public"
2586
- }
2587
- ],
2588
- "exports": [
2589
- {
2590
- "kind": "js",
2591
- "name": "getErrorFormat",
2592
- "declaration": {
2593
- "name": "getErrorFormat",
2594
- "module": "src/utils/formatting.ts"
2595
- }
2596
- }
2597
- ]
2598
- },
2599
- {
2600
- "kind": "javascript-module",
2601
- "path": "src/utils/index.ts",
2466
+ "path": "src/main/index.ts",
2602
2467
  "declarations": [],
2603
2468
  "exports": [
2604
2469
  {
@@ -2606,15 +2471,7 @@
2606
2471
  "name": "*",
2607
2472
  "declaration": {
2608
2473
  "name": "*",
2609
- "package": "./formatting"
2610
- }
2611
- },
2612
- {
2613
- "kind": "js",
2614
- "name": "*",
2615
- "declaration": {
2616
- "name": "*",
2617
- "package": "./logger"
2474
+ "package": "./main.template"
2618
2475
  }
2619
2476
  },
2620
2477
  {
@@ -2622,65 +2479,158 @@
2622
2479
  "name": "*",
2623
2480
  "declaration": {
2624
2481
  "name": "*",
2625
- "package": "./renderer"
2482
+ "package": "./main"
2626
2483
  }
2627
2484
  }
2628
2485
  ]
2629
2486
  },
2630
2487
  {
2631
2488
  "kind": "javascript-module",
2632
- "path": "src/utils/logger.ts",
2489
+ "path": "src/main/main.styles.ts",
2633
2490
  "declarations": [
2634
2491
  {
2635
2492
  "kind": "variable",
2636
- "name": "logger",
2637
- "privacy": "public"
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`"
2638
2495
  }
2639
2496
  ],
2640
2497
  "exports": [
2641
2498
  {
2642
2499
  "kind": "js",
2643
- "name": "logger",
2500
+ "name": "MainStyles",
2644
2501
  "declaration": {
2645
- "name": "logger",
2646
- "module": "src/utils/logger.ts"
2502
+ "name": "MainStyles",
2503
+ "module": "src/main/main.styles.ts"
2647
2504
  }
2648
2505
  }
2649
2506
  ]
2650
2507
  },
2651
2508
  {
2652
2509
  "kind": "javascript-module",
2653
- "path": "src/utils/renderer.ts",
2510
+ "path": "src/main/main.template.ts",
2511
+ "declarations": [],
2512
+ "exports": []
2513
+ },
2514
+ {
2515
+ "kind": "javascript-module",
2516
+ "path": "src/main/main.ts",
2654
2517
  "declarations": [
2655
2518
  {
2656
- "kind": "function",
2657
- "name": "buttonCellRenderer",
2658
- "return": {
2659
- "type": {
2660
- "text": "ColDef"
2661
- }
2662
- },
2663
- "parameters": [
2519
+ "kind": "class",
2520
+ "description": "",
2521
+ "name": "MainApplication",
2522
+ "members": [
2664
2523
  {
2665
- "name": "title"
2524
+ "kind": "field",
2525
+ "name": "config",
2526
+ "type": {
2527
+ "text": "MainRouterConfig"
2528
+ }
2666
2529
  },
2667
2530
  {
2668
- "name": "clickHandler"
2531
+ "kind": "field",
2532
+ "name": "connect",
2533
+ "type": {
2534
+ "text": "Connect"
2535
+ }
2669
2536
  },
2670
2537
  {
2671
- "name": "contentTemplate"
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"
2672
2590
  }
2673
2591
  ],
2674
- "privacy": "public"
2592
+ "superclass": {
2593
+ "name": "FASTElement",
2594
+ "package": "@microsoft/fast-element"
2595
+ },
2596
+ "customElement": true
2675
2597
  }
2676
2598
  ],
2677
2599
  "exports": [
2678
2600
  {
2679
2601
  "kind": "js",
2680
- "name": "buttonCellRenderer",
2602
+ "name": "MainApplication",
2681
2603
  "declaration": {
2682
- "name": "buttonCellRenderer",
2683
- "module": "src/utils/renderer.ts"
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
+ },
2617
+ {
2618
+ "kind": "javascript-module",
2619
+ "path": "src/routes/config.ts",
2620
+ "declarations": [],
2621
+ "exports": []
2622
+ },
2623
+ {
2624
+ "kind": "javascript-module",
2625
+ "path": "src/routes/index.ts",
2626
+ "declarations": [],
2627
+ "exports": [
2628
+ {
2629
+ "kind": "js",
2630
+ "name": "*",
2631
+ "declaration": {
2632
+ "name": "*",
2633
+ "package": "./config"
2684
2634
  }
2685
2635
  }
2686
2636
  ]
@@ -2913,6 +2863,122 @@
2913
2863
  }
2914
2864
  ]
2915
2865
  },
2866
+ {
2867
+ "kind": "javascript-module",
2868
+ "path": "src/utils/formatting.ts",
2869
+ "declarations": [
2870
+ {
2871
+ "kind": "function",
2872
+ "name": "getErrorFormat",
2873
+ "parameters": [
2874
+ {
2875
+ "name": "err"
2876
+ }
2877
+ ],
2878
+ "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
2879
+ "privacy": "public"
2880
+ }
2881
+ ],
2882
+ "exports": [
2883
+ {
2884
+ "kind": "js",
2885
+ "name": "getErrorFormat",
2886
+ "declaration": {
2887
+ "name": "getErrorFormat",
2888
+ "module": "src/utils/formatting.ts"
2889
+ }
2890
+ }
2891
+ ]
2892
+ },
2893
+ {
2894
+ "kind": "javascript-module",
2895
+ "path": "src/utils/index.ts",
2896
+ "declarations": [],
2897
+ "exports": [
2898
+ {
2899
+ "kind": "js",
2900
+ "name": "*",
2901
+ "declaration": {
2902
+ "name": "*",
2903
+ "package": "./formatting"
2904
+ }
2905
+ },
2906
+ {
2907
+ "kind": "js",
2908
+ "name": "*",
2909
+ "declaration": {
2910
+ "name": "*",
2911
+ "package": "./logger"
2912
+ }
2913
+ },
2914
+ {
2915
+ "kind": "js",
2916
+ "name": "*",
2917
+ "declaration": {
2918
+ "name": "*",
2919
+ "package": "./renderer"
2920
+ }
2921
+ }
2922
+ ]
2923
+ },
2924
+ {
2925
+ "kind": "javascript-module",
2926
+ "path": "src/utils/logger.ts",
2927
+ "declarations": [
2928
+ {
2929
+ "kind": "variable",
2930
+ "name": "logger",
2931
+ "privacy": "public"
2932
+ }
2933
+ ],
2934
+ "exports": [
2935
+ {
2936
+ "kind": "js",
2937
+ "name": "logger",
2938
+ "declaration": {
2939
+ "name": "logger",
2940
+ "module": "src/utils/logger.ts"
2941
+ }
2942
+ }
2943
+ ]
2944
+ },
2945
+ {
2946
+ "kind": "javascript-module",
2947
+ "path": "src/utils/renderer.ts",
2948
+ "declarations": [
2949
+ {
2950
+ "kind": "function",
2951
+ "name": "buttonCellRenderer",
2952
+ "return": {
2953
+ "type": {
2954
+ "text": "ColDef"
2955
+ }
2956
+ },
2957
+ "parameters": [
2958
+ {
2959
+ "name": "title"
2960
+ },
2961
+ {
2962
+ "name": "clickHandler"
2963
+ },
2964
+ {
2965
+ "name": "contentTemplate"
2966
+ }
2967
+ ],
2968
+ "privacy": "public"
2969
+ }
2970
+ ],
2971
+ "exports": [
2972
+ {
2973
+ "kind": "js",
2974
+ "name": "buttonCellRenderer",
2975
+ "declaration": {
2976
+ "name": "buttonCellRenderer",
2977
+ "module": "src/utils/renderer.ts"
2978
+ }
2979
+ }
2980
+ ]
2981
+ },
2916
2982
  {
2917
2983
  "kind": "javascript-module",
2918
2984
  "path": "src/routes/demo/entity-management.template.ts",