@genesislcap/grid-pro 15.64.1 → 15.65.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.
@@ -5433,319 +5433,6 @@
5433
5433
  }
5434
5434
  ]
5435
5435
  },
5436
- {
5437
- "kind": "javascript-module",
5438
- "path": "src/column/column.template.ts",
5439
- "declarations": [
5440
- {
5441
- "kind": "variable",
5442
- "name": "ColumnTemplate",
5443
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
5444
- "description": "The Grid Pro Column Template.",
5445
- "privacy": "public"
5446
- }
5447
- ],
5448
- "exports": [
5449
- {
5450
- "kind": "js",
5451
- "name": "ColumnTemplate",
5452
- "declaration": {
5453
- "name": "ColumnTemplate",
5454
- "module": "src/column/column.template.ts"
5455
- }
5456
- }
5457
- ]
5458
- },
5459
- {
5460
- "kind": "javascript-module",
5461
- "path": "src/column/column.ts",
5462
- "declarations": [
5463
- {
5464
- "kind": "class",
5465
- "description": "The Grid Pro Column element.",
5466
- "name": "GridProColumn",
5467
- "members": [
5468
- {
5469
- "kind": "field",
5470
- "name": "slottedAgCell",
5471
- "type": {
5472
- "text": "HTMLElement[]"
5473
- },
5474
- "privacy": "public"
5475
- },
5476
- {
5477
- "kind": "field",
5478
- "name": "definition",
5479
- "type": {
5480
- "text": "ColDef"
5481
- },
5482
- "default": "{}"
5483
- },
5484
- {
5485
- "kind": "method",
5486
- "name": "slottedAgCellChanged",
5487
- "privacy": "public"
5488
- },
5489
- {
5490
- "kind": "method",
5491
- "name": "deepClone",
5492
- "return": {
5493
- "type": {
5494
- "text": "Node"
5495
- }
5496
- },
5497
- "inheritedFrom": {
5498
- "name": "LifecycleMixin",
5499
- "module": "src/mixins/lifecycle/lifecycle.ts"
5500
- }
5501
- },
5502
- {
5503
- "kind": "method",
5504
- "name": "cloneNode",
5505
- "return": {
5506
- "type": {
5507
- "text": "Node"
5508
- }
5509
- },
5510
- "parameters": [
5511
- {
5512
- "name": "deep",
5513
- "optional": true,
5514
- "type": {
5515
- "text": "boolean"
5516
- }
5517
- }
5518
- ],
5519
- "inheritedFrom": {
5520
- "name": "LifecycleMixin",
5521
- "module": "src/mixins/lifecycle/lifecycle.ts"
5522
- }
5523
- },
5524
- {
5525
- "kind": "field",
5526
- "name": "shouldRunDisconnect",
5527
- "return": {
5528
- "type": {
5529
- "text": ""
5530
- }
5531
- },
5532
- "readonly": true,
5533
- "inheritedFrom": {
5534
- "name": "LifecycleMixin",
5535
- "module": "src/mixins/lifecycle/lifecycle.ts"
5536
- }
5537
- },
5538
- {
5539
- "kind": "field",
5540
- "name": "shouldRunConnect",
5541
- "return": {
5542
- "type": {
5543
- "text": ""
5544
- }
5545
- },
5546
- "readonly": true,
5547
- "inheritedFrom": {
5548
- "name": "LifecycleMixin",
5549
- "module": "src/mixins/lifecycle/lifecycle.ts"
5550
- }
5551
- },
5552
- {
5553
- "kind": "method",
5554
- "name": "#_blockLifecycleDueToTokenChange",
5555
- "return": {
5556
- "type": {
5557
- "text": "boolean"
5558
- }
5559
- },
5560
- "parameters": [
5561
- {
5562
- "name": "lifecycleType",
5563
- "type": {
5564
- "text": "Lifecycletype"
5565
- }
5566
- }
5567
- ],
5568
- "inheritedFrom": {
5569
- "name": "LifecycleMixin",
5570
- "module": "src/mixins/lifecycle/lifecycle.ts"
5571
- }
5572
- },
5573
- {
5574
- "kind": "field",
5575
- "name": "_presentation",
5576
- "type": {
5577
- "text": "ComponentPresentation | null | undefined"
5578
- },
5579
- "privacy": "private",
5580
- "default": "void 0",
5581
- "inheritedFrom": {
5582
- "name": "FoundationElement",
5583
- "module": "src/foundation-element/foundation-element.ts"
5584
- }
5585
- },
5586
- {
5587
- "kind": "field",
5588
- "name": "$presentation",
5589
- "type": {
5590
- "text": "ComponentPresentation | null"
5591
- },
5592
- "privacy": "public",
5593
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5594
- "inheritedFrom": {
5595
- "name": "FoundationElement",
5596
- "module": "src/foundation-element/foundation-element.ts"
5597
- }
5598
- },
5599
- {
5600
- "kind": "field",
5601
- "name": "template",
5602
- "type": {
5603
- "text": "ElementViewTemplate | void | null"
5604
- },
5605
- "privacy": "public",
5606
- "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.",
5607
- "inheritedFrom": {
5608
- "name": "FoundationElement",
5609
- "module": "src/foundation-element/foundation-element.ts"
5610
- }
5611
- },
5612
- {
5613
- "kind": "method",
5614
- "name": "templateChanged",
5615
- "privacy": "protected",
5616
- "return": {
5617
- "type": {
5618
- "text": "void"
5619
- }
5620
- },
5621
- "inheritedFrom": {
5622
- "name": "FoundationElement",
5623
- "module": "src/foundation-element/foundation-element.ts"
5624
- }
5625
- },
5626
- {
5627
- "kind": "field",
5628
- "name": "styles",
5629
- "type": {
5630
- "text": "ElementStyles | void | null"
5631
- },
5632
- "privacy": "public",
5633
- "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.",
5634
- "inheritedFrom": {
5635
- "name": "FoundationElement",
5636
- "module": "src/foundation-element/foundation-element.ts"
5637
- }
5638
- },
5639
- {
5640
- "kind": "method",
5641
- "name": "stylesChanged",
5642
- "privacy": "protected",
5643
- "return": {
5644
- "type": {
5645
- "text": "void"
5646
- }
5647
- },
5648
- "inheritedFrom": {
5649
- "name": "FoundationElement",
5650
- "module": "src/foundation-element/foundation-element.ts"
5651
- }
5652
- },
5653
- {
5654
- "kind": "method",
5655
- "name": "compose",
5656
- "privacy": "public",
5657
- "static": true,
5658
- "return": {
5659
- "type": {
5660
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
5661
- }
5662
- },
5663
- "parameters": [
5664
- {
5665
- "name": "this",
5666
- "type": {
5667
- "text": "K"
5668
- }
5669
- },
5670
- {
5671
- "name": "elementDefinition",
5672
- "type": {
5673
- "text": "T"
5674
- },
5675
- "description": "The definition of the element to create the registry\nfunction for."
5676
- }
5677
- ],
5678
- "description": "Defines an element registry function with a set of element definition defaults.",
5679
- "inheritedFrom": {
5680
- "name": "FoundationElement",
5681
- "module": "src/foundation-element/foundation-element.ts"
5682
- }
5683
- }
5684
- ],
5685
- "mixins": [
5686
- {
5687
- "name": "LifecycleMixin",
5688
- "package": "@genesislcap/foundation-utils"
5689
- }
5690
- ],
5691
- "superclass": {
5692
- "name": "FoundationElement",
5693
- "package": "@microsoft/fast-foundation"
5694
- },
5695
- "tagName": "grid-pro-column",
5696
- "customElement": true
5697
- }
5698
- ],
5699
- "exports": [
5700
- {
5701
- "kind": "js",
5702
- "name": "GridProColumn",
5703
- "declaration": {
5704
- "name": "GridProColumn",
5705
- "module": "src/column/column.ts"
5706
- }
5707
- },
5708
- {
5709
- "kind": "custom-element-definition",
5710
- "name": "grid-pro-column",
5711
- "declaration": {
5712
- "name": "GridProColumn",
5713
- "module": "src/column/column.ts"
5714
- }
5715
- }
5716
- ]
5717
- },
5718
- {
5719
- "kind": "javascript-module",
5720
- "path": "src/column/index.ts",
5721
- "declarations": [],
5722
- "exports": [
5723
- {
5724
- "kind": "js",
5725
- "name": "*",
5726
- "declaration": {
5727
- "name": "*",
5728
- "package": "./column.template"
5729
- }
5730
- },
5731
- {
5732
- "kind": "js",
5733
- "name": "*",
5734
- "declaration": {
5735
- "name": "*",
5736
- "package": "./column"
5737
- }
5738
- },
5739
- {
5740
- "kind": "js",
5741
- "name": "*",
5742
- "declaration": {
5743
- "name": "*",
5744
- "package": "./utils"
5745
- }
5746
- }
5747
- ]
5748
- },
5749
5436
  {
5750
5437
  "kind": "javascript-module",
5751
5438
  "path": "src/cell-renderers/action.renderer.ts",
@@ -8896,101 +8583,406 @@
8896
8583
  },
8897
8584
  {
8898
8585
  "kind": "field",
8899
- "name": "eSummary",
8586
+ "name": "eSummary",
8587
+ "type": {
8588
+ "text": "HTMLElement"
8589
+ },
8590
+ "privacy": "private"
8591
+ },
8592
+ {
8593
+ "kind": "field",
8594
+ "name": "eClear",
8595
+ "type": {
8596
+ "text": "HTMLButtonElement"
8597
+ },
8598
+ "privacy": "private"
8599
+ },
8600
+ {
8601
+ "kind": "field",
8602
+ "name": "formatLabel",
8603
+ "type": {
8604
+ "text": "(value: string | null) => string"
8605
+ },
8606
+ "privacy": "private"
8607
+ },
8608
+ {
8609
+ "kind": "method",
8610
+ "name": "init",
8611
+ "privacy": "public",
8612
+ "return": {
8613
+ "type": {
8614
+ "text": "void"
8615
+ }
8616
+ },
8617
+ "parameters": [
8618
+ {
8619
+ "name": "params",
8620
+ "type": {
8621
+ "text": "IFloatingFilterParams"
8622
+ }
8623
+ }
8624
+ ]
8625
+ },
8626
+ {
8627
+ "kind": "method",
8628
+ "name": "getGui",
8629
+ "privacy": "public",
8630
+ "return": {
8631
+ "type": {
8632
+ "text": "HTMLElement"
8633
+ }
8634
+ }
8635
+ },
8636
+ {
8637
+ "kind": "method",
8638
+ "name": "onParentModelChanged",
8639
+ "privacy": "public",
8640
+ "return": {
8641
+ "type": {
8642
+ "text": "void"
8643
+ }
8644
+ },
8645
+ "parameters": [
8646
+ {
8647
+ "name": "model",
8648
+ "type": {
8649
+ "text": "EnumColumnFilterModel | null"
8650
+ }
8651
+ }
8652
+ ]
8653
+ },
8654
+ {
8655
+ "kind": "method",
8656
+ "name": "destroy",
8657
+ "privacy": "public",
8658
+ "return": {
8659
+ "type": {
8660
+ "text": "void"
8661
+ }
8662
+ }
8663
+ }
8664
+ ]
8665
+ }
8666
+ ],
8667
+ "exports": [
8668
+ {
8669
+ "kind": "js",
8670
+ "name": "EnumColumnFloatingFilter",
8671
+ "declaration": {
8672
+ "name": "EnumColumnFloatingFilter",
8673
+ "module": "src/column-filters/enum-column.floating-filter.ts"
8674
+ }
8675
+ }
8676
+ ]
8677
+ },
8678
+ {
8679
+ "kind": "javascript-module",
8680
+ "path": "src/column-filters/index.ts",
8681
+ "declarations": [],
8682
+ "exports": [
8683
+ {
8684
+ "kind": "js",
8685
+ "name": "*",
8686
+ "declaration": {
8687
+ "name": "*",
8688
+ "package": "./enum-column.filter"
8689
+ }
8690
+ },
8691
+ {
8692
+ "kind": "js",
8693
+ "name": "*",
8694
+ "declaration": {
8695
+ "name": "*",
8696
+ "package": "./enum-column.floating-filter"
8697
+ }
8698
+ }
8699
+ ]
8700
+ },
8701
+ {
8702
+ "kind": "javascript-module",
8703
+ "path": "src/column/column.template.ts",
8704
+ "declarations": [
8705
+ {
8706
+ "kind": "variable",
8707
+ "name": "ColumnTemplate",
8708
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
8709
+ "description": "The Grid Pro Column Template.",
8710
+ "privacy": "public"
8711
+ }
8712
+ ],
8713
+ "exports": [
8714
+ {
8715
+ "kind": "js",
8716
+ "name": "ColumnTemplate",
8717
+ "declaration": {
8718
+ "name": "ColumnTemplate",
8719
+ "module": "src/column/column.template.ts"
8720
+ }
8721
+ }
8722
+ ]
8723
+ },
8724
+ {
8725
+ "kind": "javascript-module",
8726
+ "path": "src/column/column.ts",
8727
+ "declarations": [
8728
+ {
8729
+ "kind": "class",
8730
+ "description": "The Grid Pro Column element.",
8731
+ "name": "GridProColumn",
8732
+ "members": [
8733
+ {
8734
+ "kind": "field",
8735
+ "name": "slottedAgCell",
8736
+ "type": {
8737
+ "text": "HTMLElement[]"
8738
+ },
8739
+ "privacy": "public"
8740
+ },
8741
+ {
8742
+ "kind": "field",
8743
+ "name": "definition",
8744
+ "type": {
8745
+ "text": "ColDef"
8746
+ },
8747
+ "default": "{}"
8748
+ },
8749
+ {
8750
+ "kind": "method",
8751
+ "name": "slottedAgCellChanged",
8752
+ "privacy": "public"
8753
+ },
8754
+ {
8755
+ "kind": "method",
8756
+ "name": "deepClone",
8757
+ "return": {
8758
+ "type": {
8759
+ "text": "Node"
8760
+ }
8761
+ },
8762
+ "inheritedFrom": {
8763
+ "name": "LifecycleMixin",
8764
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8765
+ }
8766
+ },
8767
+ {
8768
+ "kind": "method",
8769
+ "name": "cloneNode",
8770
+ "return": {
8771
+ "type": {
8772
+ "text": "Node"
8773
+ }
8774
+ },
8775
+ "parameters": [
8776
+ {
8777
+ "name": "deep",
8778
+ "optional": true,
8779
+ "type": {
8780
+ "text": "boolean"
8781
+ }
8782
+ }
8783
+ ],
8784
+ "inheritedFrom": {
8785
+ "name": "LifecycleMixin",
8786
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8787
+ }
8788
+ },
8789
+ {
8790
+ "kind": "field",
8791
+ "name": "shouldRunDisconnect",
8792
+ "return": {
8793
+ "type": {
8794
+ "text": ""
8795
+ }
8796
+ },
8797
+ "readonly": true,
8798
+ "inheritedFrom": {
8799
+ "name": "LifecycleMixin",
8800
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8801
+ }
8802
+ },
8803
+ {
8804
+ "kind": "field",
8805
+ "name": "shouldRunConnect",
8806
+ "return": {
8807
+ "type": {
8808
+ "text": ""
8809
+ }
8810
+ },
8811
+ "readonly": true,
8812
+ "inheritedFrom": {
8813
+ "name": "LifecycleMixin",
8814
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8815
+ }
8816
+ },
8817
+ {
8818
+ "kind": "method",
8819
+ "name": "#_blockLifecycleDueToTokenChange",
8820
+ "return": {
8821
+ "type": {
8822
+ "text": "boolean"
8823
+ }
8824
+ },
8825
+ "parameters": [
8826
+ {
8827
+ "name": "lifecycleType",
8828
+ "type": {
8829
+ "text": "Lifecycletype"
8830
+ }
8831
+ }
8832
+ ],
8833
+ "inheritedFrom": {
8834
+ "name": "LifecycleMixin",
8835
+ "module": "src/mixins/lifecycle/lifecycle.ts"
8836
+ }
8837
+ },
8838
+ {
8839
+ "kind": "field",
8840
+ "name": "_presentation",
8900
8841
  "type": {
8901
- "text": "HTMLElement"
8842
+ "text": "ComponentPresentation | null | undefined"
8902
8843
  },
8903
- "privacy": "private"
8844
+ "privacy": "private",
8845
+ "default": "void 0",
8846
+ "inheritedFrom": {
8847
+ "name": "FoundationElement",
8848
+ "module": "src/foundation-element/foundation-element.ts"
8849
+ }
8904
8850
  },
8905
8851
  {
8906
8852
  "kind": "field",
8907
- "name": "eClear",
8853
+ "name": "$presentation",
8908
8854
  "type": {
8909
- "text": "HTMLButtonElement"
8855
+ "text": "ComponentPresentation | null"
8910
8856
  },
8911
- "privacy": "private"
8857
+ "privacy": "public",
8858
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
8859
+ "inheritedFrom": {
8860
+ "name": "FoundationElement",
8861
+ "module": "src/foundation-element/foundation-element.ts"
8862
+ }
8912
8863
  },
8913
8864
  {
8914
8865
  "kind": "field",
8915
- "name": "formatLabel",
8866
+ "name": "template",
8916
8867
  "type": {
8917
- "text": "(value: string | null) => string"
8868
+ "text": "ElementViewTemplate | void | null"
8918
8869
  },
8919
- "privacy": "private"
8870
+ "privacy": "public",
8871
+ "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.",
8872
+ "inheritedFrom": {
8873
+ "name": "FoundationElement",
8874
+ "module": "src/foundation-element/foundation-element.ts"
8875
+ }
8920
8876
  },
8921
8877
  {
8922
8878
  "kind": "method",
8923
- "name": "init",
8924
- "privacy": "public",
8879
+ "name": "templateChanged",
8880
+ "privacy": "protected",
8925
8881
  "return": {
8926
8882
  "type": {
8927
8883
  "text": "void"
8928
8884
  }
8929
8885
  },
8930
- "parameters": [
8931
- {
8932
- "name": "params",
8933
- "type": {
8934
- "text": "IFloatingFilterParams"
8935
- }
8936
- }
8937
- ]
8886
+ "inheritedFrom": {
8887
+ "name": "FoundationElement",
8888
+ "module": "src/foundation-element/foundation-element.ts"
8889
+ }
8938
8890
  },
8939
8891
  {
8940
- "kind": "method",
8941
- "name": "getGui",
8892
+ "kind": "field",
8893
+ "name": "styles",
8894
+ "type": {
8895
+ "text": "ElementStyles | void | null"
8896
+ },
8942
8897
  "privacy": "public",
8898
+ "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.",
8899
+ "inheritedFrom": {
8900
+ "name": "FoundationElement",
8901
+ "module": "src/foundation-element/foundation-element.ts"
8902
+ }
8903
+ },
8904
+ {
8905
+ "kind": "method",
8906
+ "name": "stylesChanged",
8907
+ "privacy": "protected",
8943
8908
  "return": {
8944
8909
  "type": {
8945
- "text": "HTMLElement"
8910
+ "text": "void"
8946
8911
  }
8912
+ },
8913
+ "inheritedFrom": {
8914
+ "name": "FoundationElement",
8915
+ "module": "src/foundation-element/foundation-element.ts"
8947
8916
  }
8948
8917
  },
8949
8918
  {
8950
8919
  "kind": "method",
8951
- "name": "onParentModelChanged",
8920
+ "name": "compose",
8952
8921
  "privacy": "public",
8922
+ "static": true,
8953
8923
  "return": {
8954
8924
  "type": {
8955
- "text": "void"
8925
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8956
8926
  }
8957
8927
  },
8958
8928
  "parameters": [
8959
8929
  {
8960
- "name": "model",
8930
+ "name": "this",
8961
8931
  "type": {
8962
- "text": "EnumColumnFilterModel | null"
8932
+ "text": "K"
8963
8933
  }
8934
+ },
8935
+ {
8936
+ "name": "elementDefinition",
8937
+ "type": {
8938
+ "text": "T"
8939
+ },
8940
+ "description": "The definition of the element to create the registry\nfunction for."
8964
8941
  }
8965
- ]
8966
- },
8967
- {
8968
- "kind": "method",
8969
- "name": "destroy",
8970
- "privacy": "public",
8971
- "return": {
8972
- "type": {
8973
- "text": "void"
8974
- }
8942
+ ],
8943
+ "description": "Defines an element registry function with a set of element definition defaults.",
8944
+ "inheritedFrom": {
8945
+ "name": "FoundationElement",
8946
+ "module": "src/foundation-element/foundation-element.ts"
8975
8947
  }
8976
8948
  }
8977
- ]
8949
+ ],
8950
+ "mixins": [
8951
+ {
8952
+ "name": "LifecycleMixin",
8953
+ "package": "@genesislcap/foundation-utils"
8954
+ }
8955
+ ],
8956
+ "superclass": {
8957
+ "name": "FoundationElement",
8958
+ "package": "@microsoft/fast-foundation"
8959
+ },
8960
+ "tagName": "grid-pro-column",
8961
+ "customElement": true
8978
8962
  }
8979
8963
  ],
8980
8964
  "exports": [
8981
8965
  {
8982
8966
  "kind": "js",
8983
- "name": "EnumColumnFloatingFilter",
8967
+ "name": "GridProColumn",
8984
8968
  "declaration": {
8985
- "name": "EnumColumnFloatingFilter",
8986
- "module": "src/column-filters/enum-column.floating-filter.ts"
8969
+ "name": "GridProColumn",
8970
+ "module": "src/column/column.ts"
8971
+ }
8972
+ },
8973
+ {
8974
+ "kind": "custom-element-definition",
8975
+ "name": "grid-pro-column",
8976
+ "declaration": {
8977
+ "name": "GridProColumn",
8978
+ "module": "src/column/column.ts"
8987
8979
  }
8988
8980
  }
8989
8981
  ]
8990
8982
  },
8991
8983
  {
8992
8984
  "kind": "javascript-module",
8993
- "path": "src/column-filters/index.ts",
8985
+ "path": "src/column/index.ts",
8994
8986
  "declarations": [],
8995
8987
  "exports": [
8996
8988
  {
@@ -8998,7 +8990,7 @@
8998
8990
  "name": "*",
8999
8991
  "declaration": {
9000
8992
  "name": "*",
9001
- "package": "./enum-column.filter"
8993
+ "package": "./column.template"
9002
8994
  }
9003
8995
  },
9004
8996
  {
@@ -9006,7 +8998,15 @@
9006
8998
  "name": "*",
9007
8999
  "declaration": {
9008
9000
  "name": "*",
9009
- "package": "./enum-column.floating-filter"
9001
+ "package": "./column"
9002
+ }
9003
+ },
9004
+ {
9005
+ "kind": "js",
9006
+ "name": "*",
9007
+ "declaration": {
9008
+ "name": "*",
9009
+ "package": "./utils"
9010
9010
  }
9011
9011
  }
9012
9012
  ]
@@ -25714,6 +25714,60 @@
25714
25714
  }
25715
25715
  ]
25716
25716
  },
25717
+ {
25718
+ "kind": "javascript-module",
25719
+ "path": "src/cell-renderers/utils/accessor.ts",
25720
+ "declarations": [
25721
+ {
25722
+ "kind": "function",
25723
+ "name": "setValueWithAccessor",
25724
+ "return": {
25725
+ "type": {
25726
+ "text": "string"
25727
+ }
25728
+ },
25729
+ "parameters": [
25730
+ {
25731
+ "name": "data",
25732
+ "type": {
25733
+ "text": "any"
25734
+ }
25735
+ },
25736
+ {
25737
+ "name": "accessor",
25738
+ "type": {
25739
+ "text": "string"
25740
+ }
25741
+ }
25742
+ ]
25743
+ }
25744
+ ],
25745
+ "exports": [
25746
+ {
25747
+ "kind": "js",
25748
+ "name": "setValueWithAccessor",
25749
+ "declaration": {
25750
+ "name": "setValueWithAccessor",
25751
+ "module": "src/cell-renderers/utils/accessor.ts"
25752
+ }
25753
+ }
25754
+ ]
25755
+ },
25756
+ {
25757
+ "kind": "javascript-module",
25758
+ "path": "src/cell-renderers/utils/index.ts",
25759
+ "declarations": [],
25760
+ "exports": [
25761
+ {
25762
+ "kind": "js",
25763
+ "name": "*",
25764
+ "declaration": {
25765
+ "name": "*",
25766
+ "package": "./accessor"
25767
+ }
25768
+ }
25769
+ ]
25770
+ },
25717
25771
  {
25718
25772
  "kind": "javascript-module",
25719
25773
  "path": "src/column/utils/grid-pro-columns.ts",
@@ -25807,60 +25861,6 @@
25807
25861
  }
25808
25862
  }
25809
25863
  ]
25810
- },
25811
- {
25812
- "kind": "javascript-module",
25813
- "path": "src/cell-renderers/utils/accessor.ts",
25814
- "declarations": [
25815
- {
25816
- "kind": "function",
25817
- "name": "setValueWithAccessor",
25818
- "return": {
25819
- "type": {
25820
- "text": "string"
25821
- }
25822
- },
25823
- "parameters": [
25824
- {
25825
- "name": "data",
25826
- "type": {
25827
- "text": "any"
25828
- }
25829
- },
25830
- {
25831
- "name": "accessor",
25832
- "type": {
25833
- "text": "string"
25834
- }
25835
- }
25836
- ]
25837
- }
25838
- ],
25839
- "exports": [
25840
- {
25841
- "kind": "js",
25842
- "name": "setValueWithAccessor",
25843
- "declaration": {
25844
- "name": "setValueWithAccessor",
25845
- "module": "src/cell-renderers/utils/accessor.ts"
25846
- }
25847
- }
25848
- ]
25849
- },
25850
- {
25851
- "kind": "javascript-module",
25852
- "path": "src/cell-renderers/utils/index.ts",
25853
- "declarations": [],
25854
- "exports": [
25855
- {
25856
- "kind": "js",
25857
- "name": "*",
25858
- "declaration": {
25859
- "name": "*",
25860
- "package": "./accessor"
25861
- }
25862
- }
25863
- ]
25864
25864
  }
25865
25865
  ]
25866
25866
  }
@@ -1 +1 @@
1
- {"version":3,"file":"filter.utils.d.ts","sourceRoot":"","sources":["../../../src/datasource/filter.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAqBpE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAyB9F;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,GAAG,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,MAAM,GAAG,IAAI,CAiEf;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAiChG;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAmC9F;AA6DD;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,MAAM,CAqBjG"}
1
+ {"version":3,"file":"filter.utils.d.ts","sourceRoot":"","sources":["../../../src/datasource/filter.utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAoBpE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAyB9F;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,GAAG,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,MAAM,GAAG,IAAI,CAiEf;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAiChG;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAmC9F;AA6DD;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,EAAE,GAAG,MAAM,CAqBjG"}
@@ -137,15 +137,6 @@ export declare const StringEditor: React.ForwardRefExoticComponent<
137
137
  >;
138
138
  export type StringEditorRef = StringEditorWC;
139
139
 
140
- export declare const GridProColumn: React.ForwardRefExoticComponent<
141
- React.PropsWithChildren<
142
- Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
143
- HTMLWCProps & {
144
- }
145
- > & React.RefAttributes<GridProColumnWC>
146
- >;
147
- export type GridProColumnRef = GridProColumnWC;
148
-
149
140
  export declare const ActionRenderer: React.ForwardRefExoticComponent<
150
141
  React.PropsWithChildren<
151
142
  Omit<PublicOf<ActionRendererWC>, 'children' | 'style'> &
@@ -218,6 +209,15 @@ export declare const AgTextRenderer: React.ForwardRefExoticComponent<
218
209
  >;
219
210
  export type AgTextRendererRef = AgTextRendererWC;
220
211
 
212
+ export declare const GridProColumn: React.ForwardRefExoticComponent<
213
+ React.PropsWithChildren<
214
+ Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
215
+ HTMLWCProps & {
216
+ }
217
+ > & React.RefAttributes<GridProColumnWC>
218
+ >;
219
+ export type GridProColumnRef = GridProColumnWC;
220
+
221
221
  export declare const ColumnSelection: React.ForwardRefExoticComponent<
222
222
  React.PropsWithChildren<
223
223
  Omit<PublicOf<ColumnSelectionWC>, 'children' | 'style'> &
@@ -1,3 +1,4 @@
1
+ import { escapeCriteriaString } from '@genesislcap/foundation-criteria';
1
2
  /**
2
3
  * Shared filter utilities for converting AG Grid filter models to Genesis criteria strings.
3
4
  * The single implementation of the filter-model grammar: the Infinite Row Model converts whole
@@ -7,13 +8,11 @@
7
8
  * @beta
8
9
  */
9
10
  /**
10
- * Escapes a value for interpolation into a criteria string literal.
11
- * @remarks Backslashes first, then quotes: an unescaped quote would end the literal early, and
12
- * an unescaped trailing backslash (or a literal `\'` in the value) would escape the closing
13
- * quote - either way the server rejects the whole expression.
11
+ * Escapes a value for interpolation into a single-quoted criteria string literal, with
12
+ * foundation-criteria's escaping, so grid filters and the serialisers quote values the same way.
14
13
  */
15
14
  function escapeCriteriaValue(value) {
16
- return String(value).replace(/\\/g, '\\\\').replace(/'/g, "\\'");
15
+ return escapeCriteriaString(String(value));
17
16
  }
18
17
  /**
19
18
  * Converts text filters to Genesis criteria strings.
package/dist/react.cjs CHANGED
@@ -124,11 +124,6 @@ const StringEditor = React.forwardRef(function StringEditor(props, ref) {
124
124
  return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
125
125
  });
126
126
 
127
- const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
128
- const { children, ...rest } = props;
129
- return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
130
- });
131
-
132
127
  const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
133
128
  const { children, ...rest } = props;
134
129
  return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
@@ -169,6 +164,11 @@ const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, ref) {
169
164
  return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
170
165
  });
171
166
 
167
+ const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
168
+ const { children, ...rest } = props;
169
+ return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
170
+ });
171
+
172
172
  const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
173
173
  const { children, ...rest } = props;
174
174
  return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
@@ -596,7 +596,6 @@ module.exports = {
596
596
  NumberEditor,
597
597
  SelectEditor,
598
598
  StringEditor,
599
- GridProColumn,
600
599
  ActionRenderer,
601
600
  ActionsMenuRenderer,
602
601
  BooleanRenderer,
@@ -605,6 +604,7 @@ module.exports = {
605
604
  StatusPillRenderer,
606
605
  AgTextFieldRenderer,
607
606
  AgTextRenderer,
607
+ GridProColumn,
608
608
  ColumnSelection,
609
609
  GridProClientSideDatasource,
610
610
  GridProInfiniteDatasource,
package/dist/react.mjs CHANGED
@@ -122,11 +122,6 @@ export const StringEditor = React.forwardRef(function StringEditor(props, ref) {
122
122
  return React.createElement(customElements.getName(StringEditorWC) ?? '%%prefix%%-string-editor', { ...rest, ref }, children);
123
123
  });
124
124
 
125
- export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
126
- const { children, ...rest } = props;
127
- return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
128
- });
129
-
130
125
  export const ActionRenderer = React.forwardRef(function ActionRenderer(props, ref) {
131
126
  const { children, ...rest } = props;
132
127
  return React.createElement(customElements.getName(ActionRendererWC) ?? '%%prefix%%-grid-pro-action-renderer', { ...rest, ref }, children);
@@ -167,6 +162,11 @@ export const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, re
167
162
  return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
168
163
  });
169
164
 
165
+ export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
166
+ const { children, ...rest } = props;
167
+ return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
168
+ });
169
+
170
170
  export const ColumnSelection = React.forwardRef(function ColumnSelection(props, ref) {
171
171
  const { children, ...rest } = props;
172
172
  return React.createElement(customElements.getName(ColumnSelectionWC) ?? '%%prefix%%-column-selection', { ...rest, ref }, children);
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": "15.64.1",
4
+ "version": "15.65.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,19 +38,19 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "15.64.1",
42
- "@genesislcap/genx": "15.64.1",
43
- "@genesislcap/ts-builder": "15.64.1",
44
- "@genesislcap/uvu-playwright-builder": "15.64.1",
45
- "@genesislcap/vite-builder": "15.64.1",
46
- "@genesislcap/webpack-builder": "15.64.1"
41
+ "@genesislcap/foundation-testing": "15.65.0",
42
+ "@genesislcap/genx": "15.65.0",
43
+ "@genesislcap/ts-builder": "15.65.0",
44
+ "@genesislcap/uvu-playwright-builder": "15.65.0",
45
+ "@genesislcap/vite-builder": "15.65.0",
46
+ "@genesislcap/webpack-builder": "15.65.0"
47
47
  },
48
48
  "dependencies": {
49
- "@genesislcap/foundation-comms": "15.64.1",
50
- "@genesislcap/foundation-criteria": "15.64.1",
51
- "@genesislcap/foundation-logger": "15.64.1",
52
- "@genesislcap/foundation-ui": "15.64.1",
53
- "@genesislcap/foundation-utils": "15.64.1",
49
+ "@genesislcap/foundation-comms": "15.65.0",
50
+ "@genesislcap/foundation-criteria": "15.65.0",
51
+ "@genesislcap/foundation-logger": "15.65.0",
52
+ "@genesislcap/foundation-ui": "15.65.0",
53
+ "@genesislcap/foundation-utils": "15.65.0",
54
54
  "@microsoft/fast-colors": "5.3.1",
55
55
  "@microsoft/fast-components": "2.30.6",
56
56
  "@microsoft/fast-element": "1.14.0",