@genesislcap/grid-pro 14.28.1-alpha-01f49e8.0 → 14.29.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 +401 -398
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +11 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +22 -12
- package/dist/grid-pro.d.ts +11 -0
- package/package.json +7 -7
|
@@ -1447,229 +1447,6 @@
|
|
|
1447
1447
|
}
|
|
1448
1448
|
]
|
|
1449
1449
|
},
|
|
1450
|
-
{
|
|
1451
|
-
"kind": "javascript-module",
|
|
1452
|
-
"path": "src/column/column.template.ts",
|
|
1453
|
-
"declarations": [
|
|
1454
|
-
{
|
|
1455
|
-
"kind": "variable",
|
|
1456
|
-
"name": "ColumnTemplate",
|
|
1457
|
-
"default": "html<GridColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
1458
|
-
"description": "The Grid Pro Column Template.",
|
|
1459
|
-
"privacy": "public"
|
|
1460
|
-
}
|
|
1461
|
-
],
|
|
1462
|
-
"exports": [
|
|
1463
|
-
{
|
|
1464
|
-
"kind": "js",
|
|
1465
|
-
"name": "ColumnTemplate",
|
|
1466
|
-
"declaration": {
|
|
1467
|
-
"name": "ColumnTemplate",
|
|
1468
|
-
"module": "src/column/column.template.ts"
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
]
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"kind": "javascript-module",
|
|
1475
|
-
"path": "src/column/column.ts",
|
|
1476
|
-
"declarations": [
|
|
1477
|
-
{
|
|
1478
|
-
"kind": "class",
|
|
1479
|
-
"description": "The Grid Pro Column element.",
|
|
1480
|
-
"name": "GridColumn",
|
|
1481
|
-
"members": [
|
|
1482
|
-
{
|
|
1483
|
-
"kind": "field",
|
|
1484
|
-
"name": "slottedAgCell",
|
|
1485
|
-
"type": {
|
|
1486
|
-
"text": "HTMLElement[]"
|
|
1487
|
-
},
|
|
1488
|
-
"privacy": "public"
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"kind": "field",
|
|
1492
|
-
"name": "definition",
|
|
1493
|
-
"type": {
|
|
1494
|
-
"text": "ColDef"
|
|
1495
|
-
},
|
|
1496
|
-
"default": "{}"
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
"kind": "method",
|
|
1500
|
-
"name": "slottedAgCellChanged",
|
|
1501
|
-
"privacy": "public"
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"kind": "field",
|
|
1505
|
-
"name": "_presentation",
|
|
1506
|
-
"type": {
|
|
1507
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1508
|
-
},
|
|
1509
|
-
"privacy": "private",
|
|
1510
|
-
"default": "void 0",
|
|
1511
|
-
"inheritedFrom": {
|
|
1512
|
-
"name": "FoundationElement",
|
|
1513
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
{
|
|
1517
|
-
"kind": "field",
|
|
1518
|
-
"name": "$presentation",
|
|
1519
|
-
"type": {
|
|
1520
|
-
"text": "ComponentPresentation | null"
|
|
1521
|
-
},
|
|
1522
|
-
"privacy": "public",
|
|
1523
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1524
|
-
"inheritedFrom": {
|
|
1525
|
-
"name": "FoundationElement",
|
|
1526
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1527
|
-
}
|
|
1528
|
-
},
|
|
1529
|
-
{
|
|
1530
|
-
"kind": "field",
|
|
1531
|
-
"name": "template",
|
|
1532
|
-
"type": {
|
|
1533
|
-
"text": "ElementViewTemplate | void | null"
|
|
1534
|
-
},
|
|
1535
|
-
"privacy": "public",
|
|
1536
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1537
|
-
"inheritedFrom": {
|
|
1538
|
-
"name": "FoundationElement",
|
|
1539
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1540
|
-
}
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
"kind": "method",
|
|
1544
|
-
"name": "templateChanged",
|
|
1545
|
-
"privacy": "protected",
|
|
1546
|
-
"return": {
|
|
1547
|
-
"type": {
|
|
1548
|
-
"text": "void"
|
|
1549
|
-
}
|
|
1550
|
-
},
|
|
1551
|
-
"inheritedFrom": {
|
|
1552
|
-
"name": "FoundationElement",
|
|
1553
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"kind": "field",
|
|
1558
|
-
"name": "styles",
|
|
1559
|
-
"type": {
|
|
1560
|
-
"text": "ElementStyles | void | null"
|
|
1561
|
-
},
|
|
1562
|
-
"privacy": "public",
|
|
1563
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1564
|
-
"inheritedFrom": {
|
|
1565
|
-
"name": "FoundationElement",
|
|
1566
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1567
|
-
}
|
|
1568
|
-
},
|
|
1569
|
-
{
|
|
1570
|
-
"kind": "method",
|
|
1571
|
-
"name": "stylesChanged",
|
|
1572
|
-
"privacy": "protected",
|
|
1573
|
-
"return": {
|
|
1574
|
-
"type": {
|
|
1575
|
-
"text": "void"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
"inheritedFrom": {
|
|
1579
|
-
"name": "FoundationElement",
|
|
1580
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1581
|
-
}
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "method",
|
|
1585
|
-
"name": "compose",
|
|
1586
|
-
"privacy": "public",
|
|
1587
|
-
"static": true,
|
|
1588
|
-
"return": {
|
|
1589
|
-
"type": {
|
|
1590
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1591
|
-
}
|
|
1592
|
-
},
|
|
1593
|
-
"parameters": [
|
|
1594
|
-
{
|
|
1595
|
-
"name": "this",
|
|
1596
|
-
"type": {
|
|
1597
|
-
"text": "K"
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
{
|
|
1601
|
-
"name": "elementDefinition",
|
|
1602
|
-
"type": {
|
|
1603
|
-
"text": "T"
|
|
1604
|
-
},
|
|
1605
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1606
|
-
}
|
|
1607
|
-
],
|
|
1608
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1609
|
-
"inheritedFrom": {
|
|
1610
|
-
"name": "FoundationElement",
|
|
1611
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
],
|
|
1615
|
-
"superclass": {
|
|
1616
|
-
"name": "FoundationElement",
|
|
1617
|
-
"package": "@microsoft/fast-foundation"
|
|
1618
|
-
},
|
|
1619
|
-
"tagName": "grid-pro-column",
|
|
1620
|
-
"customElement": true
|
|
1621
|
-
}
|
|
1622
|
-
],
|
|
1623
|
-
"exports": [
|
|
1624
|
-
{
|
|
1625
|
-
"kind": "js",
|
|
1626
|
-
"name": "GridColumn",
|
|
1627
|
-
"declaration": {
|
|
1628
|
-
"name": "GridColumn",
|
|
1629
|
-
"module": "src/column/column.ts"
|
|
1630
|
-
}
|
|
1631
|
-
},
|
|
1632
|
-
{
|
|
1633
|
-
"kind": "custom-element-definition",
|
|
1634
|
-
"name": "grid-pro-column",
|
|
1635
|
-
"declaration": {
|
|
1636
|
-
"name": "GridColumn",
|
|
1637
|
-
"module": "src/column/column.ts"
|
|
1638
|
-
}
|
|
1639
|
-
}
|
|
1640
|
-
]
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"kind": "javascript-module",
|
|
1644
|
-
"path": "src/column/index.ts",
|
|
1645
|
-
"declarations": [],
|
|
1646
|
-
"exports": [
|
|
1647
|
-
{
|
|
1648
|
-
"kind": "js",
|
|
1649
|
-
"name": "*",
|
|
1650
|
-
"declaration": {
|
|
1651
|
-
"name": "*",
|
|
1652
|
-
"package": "./column.template"
|
|
1653
|
-
}
|
|
1654
|
-
},
|
|
1655
|
-
{
|
|
1656
|
-
"kind": "js",
|
|
1657
|
-
"name": "*",
|
|
1658
|
-
"declaration": {
|
|
1659
|
-
"name": "*",
|
|
1660
|
-
"package": "./column"
|
|
1661
|
-
}
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"kind": "js",
|
|
1665
|
-
"name": "*",
|
|
1666
|
-
"declaration": {
|
|
1667
|
-
"name": "*",
|
|
1668
|
-
"package": "./utils"
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
]
|
|
1672
|
-
},
|
|
1673
1450
|
{
|
|
1674
1451
|
"kind": "javascript-module",
|
|
1675
1452
|
"path": "src/cell-renderers/action.renderer.ts",
|
|
@@ -3035,124 +2812,347 @@
|
|
|
3035
2812
|
"declarations": [
|
|
3036
2813
|
{
|
|
3037
2814
|
"kind": "class",
|
|
3038
|
-
"description": "",
|
|
3039
|
-
"name": "AgTextRenderer",
|
|
3040
|
-
"superclass": {
|
|
3041
|
-
"name": "AgTextFieldRenderer",
|
|
3042
|
-
"module": "/src/cell-renderers/text-field.renderer"
|
|
3043
|
-
},
|
|
3044
|
-
"deprecated": "- Use AgTextFieldRenderer instead",
|
|
3045
|
-
"tagName": "%%prefix%%-grid-text-renderer",
|
|
3046
|
-
"customElement": true,
|
|
2815
|
+
"description": "",
|
|
2816
|
+
"name": "AgTextRenderer",
|
|
2817
|
+
"superclass": {
|
|
2818
|
+
"name": "AgTextFieldRenderer",
|
|
2819
|
+
"module": "/src/cell-renderers/text-field.renderer"
|
|
2820
|
+
},
|
|
2821
|
+
"deprecated": "- Use AgTextFieldRenderer instead",
|
|
2822
|
+
"tagName": "%%prefix%%-grid-text-renderer",
|
|
2823
|
+
"customElement": true,
|
|
2824
|
+
"members": [
|
|
2825
|
+
{
|
|
2826
|
+
"kind": "field",
|
|
2827
|
+
"name": "textField",
|
|
2828
|
+
"type": {
|
|
2829
|
+
"text": "TextField"
|
|
2830
|
+
},
|
|
2831
|
+
"privacy": "public",
|
|
2832
|
+
"inheritedFrom": {
|
|
2833
|
+
"name": "AgTextFieldRenderer",
|
|
2834
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"kind": "field",
|
|
2839
|
+
"name": "textValue",
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "string"
|
|
2842
|
+
},
|
|
2843
|
+
"default": "''",
|
|
2844
|
+
"inheritedFrom": {
|
|
2845
|
+
"name": "AgTextFieldRenderer",
|
|
2846
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2847
|
+
}
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"kind": "field",
|
|
2851
|
+
"name": "params",
|
|
2852
|
+
"type": {
|
|
2853
|
+
"text": "FuiCellRendererParams"
|
|
2854
|
+
},
|
|
2855
|
+
"privacy": "public",
|
|
2856
|
+
"inheritedFrom": {
|
|
2857
|
+
"name": "AgTextFieldRenderer",
|
|
2858
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2859
|
+
}
|
|
2860
|
+
},
|
|
2861
|
+
{
|
|
2862
|
+
"kind": "method",
|
|
2863
|
+
"name": "init",
|
|
2864
|
+
"privacy": "public",
|
|
2865
|
+
"parameters": [
|
|
2866
|
+
{
|
|
2867
|
+
"name": "params",
|
|
2868
|
+
"type": {
|
|
2869
|
+
"text": "FuiCellRendererParams"
|
|
2870
|
+
}
|
|
2871
|
+
}
|
|
2872
|
+
],
|
|
2873
|
+
"inheritedFrom": {
|
|
2874
|
+
"name": "AgTextFieldRenderer",
|
|
2875
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2876
|
+
}
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "method",
|
|
2880
|
+
"name": "getGui",
|
|
2881
|
+
"privacy": "public",
|
|
2882
|
+
"return": {
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "HTMLElement"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"inheritedFrom": {
|
|
2888
|
+
"name": "AgTextFieldRenderer",
|
|
2889
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2890
|
+
}
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
"kind": "method",
|
|
2894
|
+
"name": "destroy",
|
|
2895
|
+
"privacy": "public",
|
|
2896
|
+
"inheritedFrom": {
|
|
2897
|
+
"name": "AgTextFieldRenderer",
|
|
2898
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "method",
|
|
2903
|
+
"name": "refresh",
|
|
2904
|
+
"privacy": "public",
|
|
2905
|
+
"parameters": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "params",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "FuiCellRendererParams"
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"inheritedFrom": {
|
|
2914
|
+
"name": "AgTextFieldRenderer",
|
|
2915
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "field",
|
|
2920
|
+
"name": "textChanged",
|
|
2921
|
+
"privacy": "public",
|
|
2922
|
+
"description": "On text change handler",
|
|
2923
|
+
"parameters": [
|
|
2924
|
+
{
|
|
2925
|
+
"description": "CustomEvent",
|
|
2926
|
+
"name": "e"
|
|
2927
|
+
}
|
|
2928
|
+
],
|
|
2929
|
+
"inheritedFrom": {
|
|
2930
|
+
"name": "AgTextFieldRenderer",
|
|
2931
|
+
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"kind": "field",
|
|
2936
|
+
"name": "_presentation",
|
|
2937
|
+
"type": {
|
|
2938
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2939
|
+
},
|
|
2940
|
+
"privacy": "private",
|
|
2941
|
+
"default": "void 0",
|
|
2942
|
+
"inheritedFrom": {
|
|
2943
|
+
"name": "FoundationElement",
|
|
2944
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"kind": "field",
|
|
2949
|
+
"name": "$presentation",
|
|
2950
|
+
"type": {
|
|
2951
|
+
"text": "ComponentPresentation | null"
|
|
2952
|
+
},
|
|
2953
|
+
"privacy": "public",
|
|
2954
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2955
|
+
"inheritedFrom": {
|
|
2956
|
+
"name": "FoundationElement",
|
|
2957
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2958
|
+
}
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"kind": "field",
|
|
2962
|
+
"name": "template",
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "ElementViewTemplate | void | null"
|
|
2965
|
+
},
|
|
2966
|
+
"privacy": "public",
|
|
2967
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
2968
|
+
"inheritedFrom": {
|
|
2969
|
+
"name": "FoundationElement",
|
|
2970
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2971
|
+
}
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "method",
|
|
2975
|
+
"name": "templateChanged",
|
|
2976
|
+
"privacy": "protected",
|
|
2977
|
+
"return": {
|
|
2978
|
+
"type": {
|
|
2979
|
+
"text": "void"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
"inheritedFrom": {
|
|
2983
|
+
"name": "FoundationElement",
|
|
2984
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2985
|
+
}
|
|
2986
|
+
},
|
|
2987
|
+
{
|
|
2988
|
+
"kind": "field",
|
|
2989
|
+
"name": "styles",
|
|
2990
|
+
"type": {
|
|
2991
|
+
"text": "ElementStyles | void | null"
|
|
2992
|
+
},
|
|
2993
|
+
"privacy": "public",
|
|
2994
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2995
|
+
"inheritedFrom": {
|
|
2996
|
+
"name": "FoundationElement",
|
|
2997
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "method",
|
|
3002
|
+
"name": "stylesChanged",
|
|
3003
|
+
"privacy": "protected",
|
|
3004
|
+
"return": {
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "void"
|
|
3007
|
+
}
|
|
3008
|
+
},
|
|
3009
|
+
"inheritedFrom": {
|
|
3010
|
+
"name": "FoundationElement",
|
|
3011
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"kind": "method",
|
|
3016
|
+
"name": "compose",
|
|
3017
|
+
"privacy": "public",
|
|
3018
|
+
"static": true,
|
|
3019
|
+
"return": {
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"parameters": [
|
|
3025
|
+
{
|
|
3026
|
+
"name": "this",
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "K"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
{
|
|
3032
|
+
"name": "elementDefinition",
|
|
3033
|
+
"type": {
|
|
3034
|
+
"text": "T"
|
|
3035
|
+
},
|
|
3036
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
3039
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3040
|
+
"inheritedFrom": {
|
|
3041
|
+
"name": "FoundationElement",
|
|
3042
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
]
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
"kind": "variable",
|
|
3049
|
+
"name": "textRendererStyles",
|
|
3050
|
+
"default": "textFieldRendererStyles",
|
|
3051
|
+
"privacy": "public",
|
|
3052
|
+
"deprecated": "- Use textFieldRendererStyles instead"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "variable",
|
|
3056
|
+
"name": "getTextRendererTemplate",
|
|
3057
|
+
"default": "getTextFieldRendererTemplate",
|
|
3058
|
+
"privacy": "public",
|
|
3059
|
+
"deprecated": "- Use getTextFieldRendererTemplate instead"
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "variable",
|
|
3063
|
+
"name": "foundationAgTextRenderer",
|
|
3064
|
+
"description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
|
|
3065
|
+
"privacy": "public",
|
|
3066
|
+
"deprecated": "- Use foundationAgTextFieldRenderer instead"
|
|
3067
|
+
}
|
|
3068
|
+
],
|
|
3069
|
+
"exports": [
|
|
3070
|
+
{
|
|
3071
|
+
"kind": "js",
|
|
3072
|
+
"name": "AgTextRenderer",
|
|
3073
|
+
"declaration": {
|
|
3074
|
+
"name": "AgTextRenderer",
|
|
3075
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
3076
|
+
}
|
|
3077
|
+
},
|
|
3078
|
+
{
|
|
3079
|
+
"kind": "js",
|
|
3080
|
+
"name": "textRendererStyles",
|
|
3081
|
+
"declaration": {
|
|
3082
|
+
"name": "textRendererStyles",
|
|
3083
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
3084
|
+
}
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"kind": "js",
|
|
3088
|
+
"name": "getTextRendererTemplate",
|
|
3089
|
+
"declaration": {
|
|
3090
|
+
"name": "getTextRendererTemplate",
|
|
3091
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
3092
|
+
}
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"kind": "js",
|
|
3096
|
+
"name": "foundationAgTextRenderer",
|
|
3097
|
+
"declaration": {
|
|
3098
|
+
"name": "foundationAgTextRenderer",
|
|
3099
|
+
"module": "src/cell-renderers/text.renderer.ts"
|
|
3100
|
+
}
|
|
3101
|
+
}
|
|
3102
|
+
]
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "javascript-module",
|
|
3106
|
+
"path": "src/column/column.template.ts",
|
|
3107
|
+
"declarations": [
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "variable",
|
|
3110
|
+
"name": "ColumnTemplate",
|
|
3111
|
+
"default": "html<GridColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
|
|
3112
|
+
"description": "The Grid Pro Column Template.",
|
|
3113
|
+
"privacy": "public"
|
|
3114
|
+
}
|
|
3115
|
+
],
|
|
3116
|
+
"exports": [
|
|
3117
|
+
{
|
|
3118
|
+
"kind": "js",
|
|
3119
|
+
"name": "ColumnTemplate",
|
|
3120
|
+
"declaration": {
|
|
3121
|
+
"name": "ColumnTemplate",
|
|
3122
|
+
"module": "src/column/column.template.ts"
|
|
3123
|
+
}
|
|
3124
|
+
}
|
|
3125
|
+
]
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "javascript-module",
|
|
3129
|
+
"path": "src/column/column.ts",
|
|
3130
|
+
"declarations": [
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "class",
|
|
3133
|
+
"description": "The Grid Pro Column element.",
|
|
3134
|
+
"name": "GridColumn",
|
|
3047
3135
|
"members": [
|
|
3048
3136
|
{
|
|
3049
3137
|
"kind": "field",
|
|
3050
|
-
"name": "
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "TextField"
|
|
3053
|
-
},
|
|
3054
|
-
"privacy": "public",
|
|
3055
|
-
"inheritedFrom": {
|
|
3056
|
-
"name": "AgTextFieldRenderer",
|
|
3057
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3058
|
-
}
|
|
3059
|
-
},
|
|
3060
|
-
{
|
|
3061
|
-
"kind": "field",
|
|
3062
|
-
"name": "textValue",
|
|
3138
|
+
"name": "slottedAgCell",
|
|
3063
3139
|
"type": {
|
|
3064
|
-
"text": "
|
|
3140
|
+
"text": "HTMLElement[]"
|
|
3065
3141
|
},
|
|
3066
|
-
"
|
|
3067
|
-
"inheritedFrom": {
|
|
3068
|
-
"name": "AgTextFieldRenderer",
|
|
3069
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3070
|
-
}
|
|
3142
|
+
"privacy": "public"
|
|
3071
3143
|
},
|
|
3072
3144
|
{
|
|
3073
3145
|
"kind": "field",
|
|
3074
|
-
"name": "
|
|
3146
|
+
"name": "definition",
|
|
3075
3147
|
"type": {
|
|
3076
|
-
"text": "
|
|
3077
|
-
},
|
|
3078
|
-
"privacy": "public",
|
|
3079
|
-
"inheritedFrom": {
|
|
3080
|
-
"name": "AgTextFieldRenderer",
|
|
3081
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3082
|
-
}
|
|
3083
|
-
},
|
|
3084
|
-
{
|
|
3085
|
-
"kind": "method",
|
|
3086
|
-
"name": "init",
|
|
3087
|
-
"privacy": "public",
|
|
3088
|
-
"parameters": [
|
|
3089
|
-
{
|
|
3090
|
-
"name": "params",
|
|
3091
|
-
"type": {
|
|
3092
|
-
"text": "FuiCellRendererParams"
|
|
3093
|
-
}
|
|
3094
|
-
}
|
|
3095
|
-
],
|
|
3096
|
-
"inheritedFrom": {
|
|
3097
|
-
"name": "AgTextFieldRenderer",
|
|
3098
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3099
|
-
}
|
|
3100
|
-
},
|
|
3101
|
-
{
|
|
3102
|
-
"kind": "method",
|
|
3103
|
-
"name": "getGui",
|
|
3104
|
-
"privacy": "public",
|
|
3105
|
-
"return": {
|
|
3106
|
-
"type": {
|
|
3107
|
-
"text": "HTMLElement"
|
|
3108
|
-
}
|
|
3148
|
+
"text": "ColDef"
|
|
3109
3149
|
},
|
|
3110
|
-
"
|
|
3111
|
-
"name": "AgTextFieldRenderer",
|
|
3112
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3113
|
-
}
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
"kind": "method",
|
|
3117
|
-
"name": "destroy",
|
|
3118
|
-
"privacy": "public",
|
|
3119
|
-
"inheritedFrom": {
|
|
3120
|
-
"name": "AgTextFieldRenderer",
|
|
3121
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3122
|
-
}
|
|
3150
|
+
"default": "{}"
|
|
3123
3151
|
},
|
|
3124
3152
|
{
|
|
3125
3153
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3127
|
-
"privacy": "public"
|
|
3128
|
-
"parameters": [
|
|
3129
|
-
{
|
|
3130
|
-
"name": "params",
|
|
3131
|
-
"type": {
|
|
3132
|
-
"text": "FuiCellRendererParams"
|
|
3133
|
-
}
|
|
3134
|
-
}
|
|
3135
|
-
],
|
|
3136
|
-
"inheritedFrom": {
|
|
3137
|
-
"name": "AgTextFieldRenderer",
|
|
3138
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3139
|
-
}
|
|
3140
|
-
},
|
|
3141
|
-
{
|
|
3142
|
-
"kind": "field",
|
|
3143
|
-
"name": "textChanged",
|
|
3144
|
-
"privacy": "public",
|
|
3145
|
-
"description": "On text change handler",
|
|
3146
|
-
"parameters": [
|
|
3147
|
-
{
|
|
3148
|
-
"description": "CustomEvent",
|
|
3149
|
-
"name": "e"
|
|
3150
|
-
}
|
|
3151
|
-
],
|
|
3152
|
-
"inheritedFrom": {
|
|
3153
|
-
"name": "AgTextFieldRenderer",
|
|
3154
|
-
"module": "src/cell-renderers/text-field.renderer.ts"
|
|
3155
|
-
}
|
|
3154
|
+
"name": "slottedAgCellChanged",
|
|
3155
|
+
"privacy": "public"
|
|
3156
3156
|
},
|
|
3157
3157
|
{
|
|
3158
3158
|
"kind": "field",
|
|
@@ -3265,61 +3265,61 @@
|
|
|
3265
3265
|
"module": "src/foundation-element/foundation-element.ts"
|
|
3266
3266
|
}
|
|
3267
3267
|
}
|
|
3268
|
-
]
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
"
|
|
3274
|
-
"
|
|
3275
|
-
"deprecated": "- Use textFieldRendererStyles instead"
|
|
3276
|
-
},
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "variable",
|
|
3279
|
-
"name": "getTextRendererTemplate",
|
|
3280
|
-
"default": "getTextFieldRendererTemplate",
|
|
3281
|
-
"privacy": "public",
|
|
3282
|
-
"deprecated": "- Use getTextFieldRendererTemplate instead"
|
|
3283
|
-
},
|
|
3284
|
-
{
|
|
3285
|
-
"kind": "variable",
|
|
3286
|
-
"name": "foundationAgTextRenderer",
|
|
3287
|
-
"description": "A function that returns a Foundation Text Renderer registration for configuring the component with a DesignSystem.",
|
|
3288
|
-
"privacy": "public",
|
|
3289
|
-
"deprecated": "- Use foundationAgTextFieldRenderer instead"
|
|
3268
|
+
],
|
|
3269
|
+
"superclass": {
|
|
3270
|
+
"name": "FoundationElement",
|
|
3271
|
+
"package": "@microsoft/fast-foundation"
|
|
3272
|
+
},
|
|
3273
|
+
"tagName": "grid-pro-column",
|
|
3274
|
+
"customElement": true
|
|
3290
3275
|
}
|
|
3291
3276
|
],
|
|
3292
3277
|
"exports": [
|
|
3293
3278
|
{
|
|
3294
3279
|
"kind": "js",
|
|
3295
|
-
"name": "
|
|
3280
|
+
"name": "GridColumn",
|
|
3296
3281
|
"declaration": {
|
|
3297
|
-
"name": "
|
|
3298
|
-
"module": "src/
|
|
3282
|
+
"name": "GridColumn",
|
|
3283
|
+
"module": "src/column/column.ts"
|
|
3299
3284
|
}
|
|
3300
3285
|
},
|
|
3286
|
+
{
|
|
3287
|
+
"kind": "custom-element-definition",
|
|
3288
|
+
"name": "grid-pro-column",
|
|
3289
|
+
"declaration": {
|
|
3290
|
+
"name": "GridColumn",
|
|
3291
|
+
"module": "src/column/column.ts"
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
]
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "javascript-module",
|
|
3298
|
+
"path": "src/column/index.ts",
|
|
3299
|
+
"declarations": [],
|
|
3300
|
+
"exports": [
|
|
3301
3301
|
{
|
|
3302
3302
|
"kind": "js",
|
|
3303
|
-
"name": "
|
|
3303
|
+
"name": "*",
|
|
3304
3304
|
"declaration": {
|
|
3305
|
-
"name": "
|
|
3306
|
-
"
|
|
3305
|
+
"name": "*",
|
|
3306
|
+
"package": "./column.template"
|
|
3307
3307
|
}
|
|
3308
3308
|
},
|
|
3309
3309
|
{
|
|
3310
3310
|
"kind": "js",
|
|
3311
|
-
"name": "
|
|
3311
|
+
"name": "*",
|
|
3312
3312
|
"declaration": {
|
|
3313
|
-
"name": "
|
|
3314
|
-
"
|
|
3313
|
+
"name": "*",
|
|
3314
|
+
"package": "./column"
|
|
3315
3315
|
}
|
|
3316
3316
|
},
|
|
3317
3317
|
{
|
|
3318
3318
|
"kind": "js",
|
|
3319
|
-
"name": "
|
|
3319
|
+
"name": "*",
|
|
3320
3320
|
"declaration": {
|
|
3321
|
-
"name": "
|
|
3322
|
-
"
|
|
3321
|
+
"name": "*",
|
|
3322
|
+
"package": "./utils"
|
|
3323
3323
|
}
|
|
3324
3324
|
}
|
|
3325
3325
|
]
|
|
@@ -4664,7 +4664,10 @@
|
|
|
4664
4664
|
"privacy": "private",
|
|
4665
4665
|
"parameters": [
|
|
4666
4666
|
{
|
|
4667
|
-
"name": "rowData"
|
|
4667
|
+
"name": "rowData",
|
|
4668
|
+
"type": {
|
|
4669
|
+
"text": "any[]"
|
|
4670
|
+
}
|
|
4668
4671
|
}
|
|
4669
4672
|
]
|
|
4670
4673
|
},
|
|
@@ -5230,51 +5233,46 @@
|
|
|
5230
5233
|
},
|
|
5231
5234
|
{
|
|
5232
5235
|
"kind": "javascript-module",
|
|
5233
|
-
"path": "src/
|
|
5236
|
+
"path": "src/cell-renderers/utils/accessor.ts",
|
|
5234
5237
|
"declarations": [
|
|
5235
5238
|
{
|
|
5236
5239
|
"kind": "function",
|
|
5237
|
-
"name": "
|
|
5240
|
+
"name": "setValueWithAccessor",
|
|
5238
5241
|
"return": {
|
|
5239
5242
|
"type": {
|
|
5240
|
-
"text": "
|
|
5243
|
+
"text": "string"
|
|
5241
5244
|
}
|
|
5242
5245
|
},
|
|
5243
5246
|
"parameters": [
|
|
5244
5247
|
{
|
|
5245
|
-
"name": "
|
|
5248
|
+
"name": "data",
|
|
5246
5249
|
"type": {
|
|
5247
|
-
"text": "
|
|
5248
|
-
}
|
|
5249
|
-
"description": "The array to render"
|
|
5250
|
+
"text": "any"
|
|
5251
|
+
}
|
|
5250
5252
|
},
|
|
5251
5253
|
{
|
|
5252
|
-
"name": "
|
|
5253
|
-
"default": "true",
|
|
5254
|
+
"name": "accessor",
|
|
5254
5255
|
"type": {
|
|
5255
|
-
"text": "
|
|
5256
|
-
}
|
|
5257
|
-
"description": "Optionally tells whether to include cell renderers, if available"
|
|
5256
|
+
"text": "string"
|
|
5257
|
+
}
|
|
5258
5258
|
}
|
|
5259
|
-
]
|
|
5260
|
-
"description": "A directive that renders a set of grid-pro-column elements from a given input binding",
|
|
5261
|
-
"privacy": "public"
|
|
5259
|
+
]
|
|
5262
5260
|
}
|
|
5263
5261
|
],
|
|
5264
5262
|
"exports": [
|
|
5265
5263
|
{
|
|
5266
5264
|
"kind": "js",
|
|
5267
|
-
"name": "
|
|
5265
|
+
"name": "setValueWithAccessor",
|
|
5268
5266
|
"declaration": {
|
|
5269
|
-
"name": "
|
|
5270
|
-
"module": "src/
|
|
5267
|
+
"name": "setValueWithAccessor",
|
|
5268
|
+
"module": "src/cell-renderers/utils/accessor.ts"
|
|
5271
5269
|
}
|
|
5272
5270
|
}
|
|
5273
5271
|
]
|
|
5274
5272
|
},
|
|
5275
5273
|
{
|
|
5276
5274
|
"kind": "javascript-module",
|
|
5277
|
-
"path": "src/
|
|
5275
|
+
"path": "src/cell-renderers/utils/index.ts",
|
|
5278
5276
|
"declarations": [],
|
|
5279
5277
|
"exports": [
|
|
5280
5278
|
{
|
|
@@ -5282,53 +5280,58 @@
|
|
|
5282
5280
|
"name": "*",
|
|
5283
5281
|
"declaration": {
|
|
5284
5282
|
"name": "*",
|
|
5285
|
-
"package": "./
|
|
5283
|
+
"package": "./accessor"
|
|
5286
5284
|
}
|
|
5287
5285
|
}
|
|
5288
5286
|
]
|
|
5289
5287
|
},
|
|
5290
5288
|
{
|
|
5291
5289
|
"kind": "javascript-module",
|
|
5292
|
-
"path": "src/
|
|
5290
|
+
"path": "src/column/utils/grid-pro-columns.ts",
|
|
5293
5291
|
"declarations": [
|
|
5294
5292
|
{
|
|
5295
5293
|
"kind": "function",
|
|
5296
|
-
"name": "
|
|
5294
|
+
"name": "gridProColumns",
|
|
5297
5295
|
"return": {
|
|
5298
5296
|
"type": {
|
|
5299
|
-
"text": "
|
|
5297
|
+
"text": "CaptureType<TSource>"
|
|
5300
5298
|
}
|
|
5301
5299
|
},
|
|
5302
5300
|
"parameters": [
|
|
5303
5301
|
{
|
|
5304
|
-
"name": "
|
|
5302
|
+
"name": "itemsBinding",
|
|
5305
5303
|
"type": {
|
|
5306
|
-
"text": "
|
|
5307
|
-
}
|
|
5304
|
+
"text": "Binding<TSource, readonly ColDef[]> | readonly ColDef[]"
|
|
5305
|
+
},
|
|
5306
|
+
"description": "The array to render"
|
|
5308
5307
|
},
|
|
5309
5308
|
{
|
|
5310
|
-
"name": "
|
|
5309
|
+
"name": "includeRenderers",
|
|
5310
|
+
"default": "true",
|
|
5311
5311
|
"type": {
|
|
5312
|
-
"text": "
|
|
5313
|
-
}
|
|
5312
|
+
"text": "boolean"
|
|
5313
|
+
},
|
|
5314
|
+
"description": "Optionally tells whether to include cell renderers, if available"
|
|
5314
5315
|
}
|
|
5315
|
-
]
|
|
5316
|
+
],
|
|
5317
|
+
"description": "A directive that renders a set of grid-pro-column elements from a given input binding",
|
|
5318
|
+
"privacy": "public"
|
|
5316
5319
|
}
|
|
5317
5320
|
],
|
|
5318
5321
|
"exports": [
|
|
5319
5322
|
{
|
|
5320
5323
|
"kind": "js",
|
|
5321
|
-
"name": "
|
|
5324
|
+
"name": "gridProColumns",
|
|
5322
5325
|
"declaration": {
|
|
5323
|
-
"name": "
|
|
5324
|
-
"module": "src/
|
|
5326
|
+
"name": "gridProColumns",
|
|
5327
|
+
"module": "src/column/utils/grid-pro-columns.ts"
|
|
5325
5328
|
}
|
|
5326
5329
|
}
|
|
5327
5330
|
]
|
|
5328
5331
|
},
|
|
5329
5332
|
{
|
|
5330
5333
|
"kind": "javascript-module",
|
|
5331
|
-
"path": "src/
|
|
5334
|
+
"path": "src/column/utils/index.ts",
|
|
5332
5335
|
"declarations": [],
|
|
5333
5336
|
"exports": [
|
|
5334
5337
|
{
|
|
@@ -5336,7 +5339,7 @@
|
|
|
5336
5339
|
"name": "*",
|
|
5337
5340
|
"declaration": {
|
|
5338
5341
|
"name": "*",
|
|
5339
|
-
"package": "./
|
|
5342
|
+
"package": "./grid-pro-columns"
|
|
5340
5343
|
}
|
|
5341
5344
|
}
|
|
5342
5345
|
]
|
|
@@ -23,6 +23,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
23
23
|
innerText: string;
|
|
24
24
|
lang: string;
|
|
25
25
|
readonly offsetHeight: number;
|
|
26
|
+
/**
|
|
27
|
+
* Initializes the datasource.
|
|
28
|
+
* @public
|
|
29
|
+
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
30
|
+
*/
|
|
26
31
|
readonly offsetLeft: number;
|
|
27
32
|
readonly offsetParent: Element;
|
|
28
33
|
readonly offsetTop: number;
|
|
@@ -379,6 +384,12 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
379
384
|
* @public
|
|
380
385
|
*/
|
|
381
386
|
restart(): void;
|
|
387
|
+
/**
|
|
388
|
+
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
389
|
+
* @remarks Will only happen for DATASERER resources.
|
|
390
|
+
* @internal
|
|
391
|
+
*/
|
|
392
|
+
private dataLogoff;
|
|
382
393
|
private clearRowData;
|
|
383
394
|
private updateRowData;
|
|
384
395
|
private loadResourceData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAWX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAWX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;IA0G7D;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7FL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAiC;IACpE,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACgC,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAmC;IAClD,OAAO,EAAE,MAAM,CAAoC;IAC/B,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAC;IACrC,OAAO,EAAE,GAAG,CAAC;IACa,YAAY,EAAE,MAAM,CAAC;IAC3D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK3B,OAAO,UAAS;IACZ,KAAK,SAAa;IACgB,qBAAqB,UAAS;IAE/F,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAC7C,OAAO,CAAC,mBAAmB,CAAS;IAEpC,OAAO,CAAC,IAAI,CAA+B;IAC3C,OAAO,CAAC,aAAa,CAAqB;IAE1C,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAsBjB,oBAAoB;IAQX,SAAS,IAAI,IAAI;IAO1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,IAAI;IAkCJ;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA0BL;;;OAGG;IACH,OAAO;IAKP;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,aAAa;YAUP,gBAAgB;IAiD9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IA0CvB,OAAO,CAAC,aAAa;IAMrB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAajD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -39,9 +39,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
39
39
|
}
|
|
40
40
|
connectedCallback() {
|
|
41
41
|
super.connectedCallback();
|
|
42
|
-
const shouldRunConnect = this.shouldRunConnect;
|
|
43
42
|
DOM.queueUpdate(() => {
|
|
44
|
-
if (!shouldRunConnect)
|
|
43
|
+
if (!this.shouldRunConnect)
|
|
45
44
|
return;
|
|
46
45
|
this.init();
|
|
47
46
|
});
|
|
@@ -59,9 +58,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
59
58
|
}
|
|
60
59
|
disconnectedCallback() {
|
|
61
60
|
super.disconnectedCallback();
|
|
62
|
-
const shouldRunDisconnect = this.shouldRunDisconnect;
|
|
63
61
|
DOM.queueUpdate(() => {
|
|
64
|
-
if (!shouldRunDisconnect)
|
|
62
|
+
if (!this.shouldRunDisconnect)
|
|
65
63
|
return;
|
|
66
64
|
this.deinit();
|
|
67
65
|
});
|
|
@@ -125,11 +123,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
125
123
|
}
|
|
126
124
|
this.requiresFullRowDataAndColDefs = true;
|
|
127
125
|
this.dataSubWasLoggedOff = false;
|
|
126
|
+
this.dataLogoff();
|
|
128
127
|
this.clearRowData();
|
|
129
|
-
if (this.sourceRef) {
|
|
130
|
-
this.connect.dataLogoff(this.sourceRef);
|
|
131
|
-
this.sourceRef = undefined;
|
|
132
|
-
}
|
|
133
128
|
this.criteriaFromFilters = new Map();
|
|
134
129
|
this.update = new BehaviorSubject(new Map());
|
|
135
130
|
}
|
|
@@ -141,6 +136,17 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
141
136
|
this.deinit();
|
|
142
137
|
this.init();
|
|
143
138
|
}
|
|
139
|
+
/**
|
|
140
|
+
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
141
|
+
* @remarks Will only happen for DATASERER resources.
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
dataLogoff() {
|
|
145
|
+
if (this.sourceRef) {
|
|
146
|
+
this.connect.dataLogoff(this.sourceRef);
|
|
147
|
+
this.sourceRef = undefined;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
144
150
|
clearRowData() {
|
|
145
151
|
var _a, _b;
|
|
146
152
|
this.rows = new Map();
|
|
@@ -159,7 +165,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
159
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
160
166
|
const requiresMetadataFetch = withFullInit || !this.datasource.initialized;
|
|
161
167
|
if (!requiresMetadataFetch) {
|
|
162
|
-
this.
|
|
168
|
+
this.dataLogoff();
|
|
163
169
|
this.clearRowData();
|
|
164
170
|
}
|
|
165
171
|
const initOK = yield this.datasource.init(this.datasourceOptions(), requiresMetadataFetch);
|
|
@@ -252,7 +258,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
252
258
|
this.handleStreamInserts(requestServerResult.REPLY);
|
|
253
259
|
const rowsToDelete = Array.from(this.rows.values()).filter((row) => !requestServerResult.REPLY.includes(row));
|
|
254
260
|
this.handleStreamDeletes(rowsToDelete);
|
|
255
|
-
this.agGrid.gridApi.
|
|
261
|
+
this.agGrid.gridApi.applyTransaction(this.agTransaction);
|
|
256
262
|
}
|
|
257
263
|
applyDataserverData(dataServerResult) {
|
|
258
264
|
var _a;
|
|
@@ -268,7 +274,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
268
274
|
this.handleStreamInserts(dataServerResult.inserts);
|
|
269
275
|
this.handleStreamDeletes(dataServerResult.deletes);
|
|
270
276
|
this.handleStreamUpdates(dataServerResult.updates);
|
|
271
|
-
this.agGrid.gridApi.
|
|
277
|
+
this.agGrid.gridApi.applyTransaction(this.agTransaction);
|
|
272
278
|
}
|
|
273
279
|
handleStreamInserts(insertedRows) {
|
|
274
280
|
insertedRows === null || insertedRows === void 0 ? void 0 : insertedRows.forEach((insertData) => {
|
|
@@ -341,7 +347,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
341
347
|
const firstCriteria = !oldCriteria && newCriteria;
|
|
342
348
|
const criteriaNotDuplicate = oldCriteria !== normaliseCriteria(newCriteria, criteriaDelimiter);
|
|
343
349
|
if (firstCriteria || criteriaNotDuplicate) {
|
|
344
|
-
|
|
350
|
+
if (this.dataSub) {
|
|
351
|
+
this.dataSub.unsubscribe();
|
|
352
|
+
this.dataSub = undefined;
|
|
353
|
+
}
|
|
354
|
+
this.loadResourceData(withoutFullInit);
|
|
345
355
|
}
|
|
346
356
|
}
|
|
347
357
|
setFilter(fieldName, newFilter) {
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1262,6 +1262,12 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1262
1262
|
* @public
|
|
1263
1263
|
*/
|
|
1264
1264
|
restart(): void;
|
|
1265
|
+
/**
|
|
1266
|
+
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
1267
|
+
* @remarks Will only happen for DATASERER resources.
|
|
1268
|
+
* @internal
|
|
1269
|
+
*/
|
|
1270
|
+
private dataLogoff;
|
|
1265
1271
|
private clearRowData;
|
|
1266
1272
|
private updateRowData;
|
|
1267
1273
|
private loadResourceData;
|
|
@@ -1302,6 +1308,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1302
1308
|
innerText: string;
|
|
1303
1309
|
lang: string;
|
|
1304
1310
|
readonly offsetHeight: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* Initializes the datasource.
|
|
1313
|
+
* @public
|
|
1314
|
+
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
1315
|
+
*/
|
|
1305
1316
|
readonly offsetLeft: number;
|
|
1306
1317
|
readonly offsetParent: Element;
|
|
1307
1318
|
readonly offsetTop: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.29.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"serve": "genx serve"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@genesislcap/foundation-testing": "14.
|
|
25
|
-
"@genesislcap/genx": "14.
|
|
24
|
+
"@genesislcap/foundation-testing": "^14.29.0",
|
|
25
|
+
"@genesislcap/genx": "^14.29.0",
|
|
26
26
|
"@playwright/test": "^1.18.1",
|
|
27
27
|
"bulma": "^0.9.3",
|
|
28
28
|
"c8": "^7.11.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"watchlist": "^0.3.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@genesislcap/foundation-comms": "14.
|
|
42
|
-
"@genesislcap/foundation-ui": "14.
|
|
43
|
-
"@genesislcap/foundation-utils": "14.
|
|
41
|
+
"@genesislcap/foundation-comms": "^14.29.0",
|
|
42
|
+
"@genesislcap/foundation-ui": "^14.29.0",
|
|
43
|
+
"@genesislcap/foundation-utils": "^14.29.0",
|
|
44
44
|
"@microsoft/fast-colors": "^5.1.4",
|
|
45
45
|
"@microsoft/fast-components": "^2.21.3",
|
|
46
46
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"customElements": "dist/custom-elements.json",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "1271507cd084976e0fa827776cf136b1c3c83578"
|
|
70
70
|
}
|