@genesislcap/grid-pro 15.3.5 → 15.4.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.
@@ -7728,308 +7728,621 @@
7728
7728
  },
7729
7729
  {
7730
7730
  "kind": "javascript-module",
7731
- "path": "src/datasource/base.datasource.ts",
7731
+ "path": "src/column/column.template.ts",
7732
7732
  "declarations": [
7733
7733
  {
7734
7734
  "kind": "variable",
7735
- "name": "criteriaDelimiter",
7736
- "type": {
7737
- "text": "string"
7738
- },
7739
- "default": "';'",
7740
- "description": "The delimiter for the criteria string.",
7735
+ "name": "ColumnTemplate",
7736
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
7737
+ "description": "The Grid Pro Column Template.",
7741
7738
  "privacy": "public"
7742
- },
7739
+ }
7740
+ ],
7741
+ "exports": [
7743
7742
  {
7744
- "kind": "variable",
7745
- "name": "criteriaJoin",
7746
- "type": {
7747
- "text": "string"
7748
- },
7749
- "default": "' && '",
7750
- "description": "The join for the criteria string.",
7751
- "privacy": "public"
7752
- },
7743
+ "kind": "js",
7744
+ "name": "ColumnTemplate",
7745
+ "declaration": {
7746
+ "name": "ColumnTemplate",
7747
+ "module": "src/column/column.template.ts"
7748
+ }
7749
+ }
7750
+ ]
7751
+ },
7752
+ {
7753
+ "kind": "javascript-module",
7754
+ "path": "src/column/column.ts",
7755
+ "declarations": [
7753
7756
  {
7754
7757
  "kind": "class",
7755
- "description": "The base datasource element for the grid-pro element.",
7756
- "name": "GenesisGridDatasourceElement",
7758
+ "description": "The Grid Pro Column element.",
7759
+ "name": "GridProColumn",
7757
7760
  "members": [
7758
7761
  {
7759
7762
  "kind": "field",
7760
- "name": "connect",
7761
- "type": {
7762
- "text": "Connect"
7763
- }
7764
- },
7765
- {
7766
- "kind": "field",
7767
- "name": "datasource",
7768
- "type": {
7769
- "text": "Datasource"
7770
- }
7771
- },
7772
- {
7773
- "kind": "field",
7774
- "name": "deferredGridOptions",
7775
- "type": {
7776
- "text": "GridOptions"
7777
- }
7778
- },
7779
- {
7780
- "kind": "field",
7781
- "name": "deferredColumnStates",
7763
+ "name": "slottedAgCell",
7782
7764
  "type": {
7783
- "text": "ColumnState[]"
7784
- }
7765
+ "text": "HTMLElement[]"
7766
+ },
7767
+ "privacy": "public"
7785
7768
  },
7786
7769
  {
7787
7770
  "kind": "field",
7788
- "name": "rowDataMapper",
7771
+ "name": "definition",
7789
7772
  "type": {
7790
- "text": "Function"
7773
+ "text": "ColDef"
7791
7774
  },
7792
- "description": "Allows grid data updates to be processed via and external function before applying in grid"
7775
+ "default": "{}"
7793
7776
  },
7794
7777
  {
7795
- "kind": "field",
7796
- "name": "criteria",
7797
- "type": {
7798
- "text": "string"
7799
- },
7800
- "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
7778
+ "kind": "method",
7779
+ "name": "slottedAgCellChanged",
7780
+ "privacy": "public"
7801
7781
  },
7802
7782
  {
7803
- "kind": "field",
7804
- "name": "isSnapshot",
7805
- "type": {
7806
- "text": "boolean"
7783
+ "kind": "method",
7784
+ "name": "deepClone",
7785
+ "return": {
7786
+ "type": {
7787
+ "text": "Node"
7788
+ }
7807
7789
  },
7808
- "default": "false",
7809
- "description": "Request a snapshot from the server."
7790
+ "inheritedFrom": {
7791
+ "name": "LifecycleMixin",
7792
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7793
+ }
7810
7794
  },
7811
7795
  {
7812
- "kind": "field",
7813
- "name": "maxRows",
7814
- "type": {
7815
- "text": "number"
7796
+ "kind": "method",
7797
+ "name": "cloneNode",
7798
+ "return": {
7799
+ "type": {
7800
+ "text": "Node"
7801
+ }
7816
7802
  },
7817
- "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
7803
+ "parameters": [
7804
+ {
7805
+ "name": "deep",
7806
+ "optional": true,
7807
+ "type": {
7808
+ "text": "boolean"
7809
+ }
7810
+ }
7811
+ ],
7812
+ "inheritedFrom": {
7813
+ "name": "LifecycleMixin",
7814
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7815
+ }
7818
7816
  },
7819
7817
  {
7820
7818
  "kind": "field",
7821
- "name": "orderBy",
7822
- "type": {
7823
- "text": "string"
7819
+ "name": "shouldRunDisconnect",
7820
+ "return": {
7821
+ "type": {
7822
+ "text": ""
7823
+ }
7824
7824
  },
7825
- "description": "Option to select a Data Server index (defined in the Data Server query), which is especially useful if you want the data to be sorted in a specific way."
7825
+ "readonly": true,
7826
+ "inheritedFrom": {
7827
+ "name": "LifecycleMixin",
7828
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7829
+ }
7826
7830
  },
7827
7831
  {
7828
7832
  "kind": "field",
7829
- "name": "resourceName",
7830
- "type": {
7831
- "text": "string"
7833
+ "name": "shouldRunConnect",
7834
+ "return": {
7835
+ "type": {
7836
+ "text": ""
7837
+ }
7832
7838
  },
7833
- "description": "The name of the target Data Server query or Request Server requestReply."
7839
+ "readonly": true,
7840
+ "inheritedFrom": {
7841
+ "name": "LifecycleMixin",
7842
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7843
+ }
7834
7844
  },
7835
7845
  {
7836
- "kind": "field",
7837
- "name": "viewNumber",
7838
- "type": {
7839
- "text": "number"
7846
+ "kind": "method",
7847
+ "name": "#_blockLifecycleDueToTokenChange",
7848
+ "return": {
7849
+ "type": {
7850
+ "text": "boolean"
7851
+ }
7840
7852
  },
7841
- "description": "The desired view/page you want data from."
7853
+ "parameters": [
7854
+ {
7855
+ "name": "lifecycleType",
7856
+ "type": {
7857
+ "text": "Lifecycletype"
7858
+ }
7859
+ }
7860
+ ],
7861
+ "inheritedFrom": {
7862
+ "name": "LifecycleMixin",
7863
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7864
+ }
7842
7865
  },
7843
7866
  {
7844
7867
  "kind": "field",
7845
- "name": "fields",
7868
+ "name": "_presentation",
7846
7869
  "type": {
7847
- "text": "string"
7870
+ "text": "ComponentPresentation | null | undefined"
7848
7871
  },
7849
- "description": "Optional parameter that allows you to select a subset of fields from the query if the client is not interested in receiving all of them."
7872
+ "privacy": "private",
7873
+ "default": "void 0",
7874
+ "inheritedFrom": {
7875
+ "name": "FoundationElement",
7876
+ "module": "src/foundation-element/foundation-element.ts"
7877
+ }
7850
7878
  },
7851
7879
  {
7852
7880
  "kind": "field",
7853
- "name": "maxView",
7881
+ "name": "$presentation",
7854
7882
  "type": {
7855
- "text": "number"
7883
+ "text": "ComponentPresentation | null"
7856
7884
  },
7857
- "description": "Maximum number of rows to track as part of a client \"view\"."
7885
+ "privacy": "public",
7886
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7887
+ "inheritedFrom": {
7888
+ "name": "FoundationElement",
7889
+ "module": "src/foundation-element/foundation-element.ts"
7890
+ }
7858
7891
  },
7859
7892
  {
7860
7893
  "kind": "field",
7861
- "name": "movingView",
7894
+ "name": "template",
7862
7895
  "type": {
7863
- "text": "boolean"
7896
+ "text": "ElementViewTemplate | void | null"
7864
7897
  },
7865
- "default": "false",
7866
- "description": "If true, when the maximum number of rows defined in max-view is reached, the Data Server will start discarding the oldest rows (in terms of timestamp) and sending newer rows."
7898
+ "privacy": "public",
7899
+ "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.",
7900
+ "inheritedFrom": {
7901
+ "name": "FoundationElement",
7902
+ "module": "src/foundation-element/foundation-element.ts"
7903
+ }
7867
7904
  },
7868
7905
  {
7869
- "kind": "field",
7870
- "name": "reverse",
7871
- "type": {
7872
- "text": "boolean"
7906
+ "kind": "method",
7907
+ "name": "templateChanged",
7908
+ "privacy": "protected",
7909
+ "return": {
7910
+ "type": {
7911
+ "text": "void"
7912
+ }
7873
7913
  },
7874
- "default": "false",
7875
- "description": "Option that changes the Data Server index iteration."
7914
+ "inheritedFrom": {
7915
+ "name": "FoundationElement",
7916
+ "module": "src/foundation-element/foundation-element.ts"
7917
+ }
7876
7918
  },
7877
7919
  {
7878
7920
  "kind": "field",
7879
- "name": "disablePolling",
7921
+ "name": "styles",
7880
7922
  "type": {
7881
- "text": "boolean"
7923
+ "text": "ElementStyles | void | null"
7882
7924
  },
7883
- "default": "false",
7884
- "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
7925
+ "privacy": "public",
7926
+ "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.",
7927
+ "inheritedFrom": {
7928
+ "name": "FoundationElement",
7929
+ "module": "src/foundation-element/foundation-element.ts"
7930
+ }
7885
7931
  },
7886
7932
  {
7887
- "kind": "field",
7888
- "name": "offset",
7889
- "type": {
7890
- "text": "number"
7933
+ "kind": "method",
7934
+ "name": "stylesChanged",
7935
+ "privacy": "protected",
7936
+ "return": {
7937
+ "type": {
7938
+ "text": "void"
7939
+ }
7891
7940
  },
7892
- "description": "The offset for pagination in REQUEST_SERVER scenarios."
7941
+ "inheritedFrom": {
7942
+ "name": "FoundationElement",
7943
+ "module": "src/foundation-element/foundation-element.ts"
7944
+ }
7893
7945
  },
7894
7946
  {
7895
- "kind": "field",
7896
- "name": "pollingInterval",
7897
- "type": {
7898
- "text": "number"
7947
+ "kind": "method",
7948
+ "name": "compose",
7949
+ "privacy": "public",
7950
+ "static": true,
7951
+ "return": {
7952
+ "type": {
7953
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
7954
+ }
7899
7955
  },
7900
- "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
7901
- },
7956
+ "parameters": [
7957
+ {
7958
+ "name": "this",
7959
+ "type": {
7960
+ "text": "K"
7961
+ }
7962
+ },
7963
+ {
7964
+ "name": "elementDefinition",
7965
+ "type": {
7966
+ "text": "T"
7967
+ },
7968
+ "description": "The definition of the element to create the registry\nfunction for."
7969
+ }
7970
+ ],
7971
+ "description": "Defines an element registry function with a set of element definition defaults.",
7972
+ "inheritedFrom": {
7973
+ "name": "FoundationElement",
7974
+ "module": "src/foundation-element/foundation-element.ts"
7975
+ }
7976
+ }
7977
+ ],
7978
+ "mixins": [
7979
+ {
7980
+ "name": "LifecycleMixin",
7981
+ "package": "@genesislcap/foundation-utils"
7982
+ }
7983
+ ],
7984
+ "superclass": {
7985
+ "name": "FoundationElement",
7986
+ "package": "@microsoft/fast-foundation"
7987
+ },
7988
+ "tagName": "grid-pro-column",
7989
+ "customElement": true
7990
+ }
7991
+ ],
7992
+ "exports": [
7993
+ {
7994
+ "kind": "js",
7995
+ "name": "GridProColumn",
7996
+ "declaration": {
7997
+ "name": "GridProColumn",
7998
+ "module": "src/column/column.ts"
7999
+ }
8000
+ },
8001
+ {
8002
+ "kind": "custom-element-definition",
8003
+ "name": "grid-pro-column",
8004
+ "declaration": {
8005
+ "name": "GridProColumn",
8006
+ "module": "src/column/column.ts"
8007
+ }
8008
+ }
8009
+ ]
8010
+ },
8011
+ {
8012
+ "kind": "javascript-module",
8013
+ "path": "src/column/index.ts",
8014
+ "declarations": [],
8015
+ "exports": [
8016
+ {
8017
+ "kind": "js",
8018
+ "name": "*",
8019
+ "declaration": {
8020
+ "name": "*",
8021
+ "package": "./column.template"
8022
+ }
8023
+ },
8024
+ {
8025
+ "kind": "js",
8026
+ "name": "*",
8027
+ "declaration": {
8028
+ "name": "*",
8029
+ "package": "./column"
8030
+ }
8031
+ },
8032
+ {
8033
+ "kind": "js",
8034
+ "name": "*",
8035
+ "declaration": {
8036
+ "name": "*",
8037
+ "package": "./utils"
8038
+ }
8039
+ }
8040
+ ]
8041
+ },
8042
+ {
8043
+ "kind": "javascript-module",
8044
+ "path": "src/datasource/base.datasource.ts",
8045
+ "declarations": [
8046
+ {
8047
+ "kind": "variable",
8048
+ "name": "criteriaDelimiter",
8049
+ "type": {
8050
+ "text": "string"
8051
+ },
8052
+ "default": "';'",
8053
+ "description": "The delimiter for the criteria string.",
8054
+ "privacy": "public"
8055
+ },
8056
+ {
8057
+ "kind": "variable",
8058
+ "name": "criteriaJoin",
8059
+ "type": {
8060
+ "text": "string"
8061
+ },
8062
+ "default": "' && '",
8063
+ "description": "The join for the criteria string.",
8064
+ "privacy": "public"
8065
+ },
8066
+ {
8067
+ "kind": "class",
8068
+ "description": "The base datasource element for the grid-pro element.",
8069
+ "name": "GenesisGridDatasourceElement",
8070
+ "members": [
7902
8071
  {
7903
8072
  "kind": "field",
7904
- "name": "pollTriggerEvents",
8073
+ "name": "connect",
7905
8074
  "type": {
7906
- "text": "string[]"
7907
- },
7908
- "default": "[]",
7909
- "description": "Array of event names that will trigger a poll when received as commit responses."
8075
+ "text": "Connect"
8076
+ }
7910
8077
  },
7911
8078
  {
7912
8079
  "kind": "field",
7913
- "name": "request",
8080
+ "name": "datasource",
7914
8081
  "type": {
7915
- "text": "any"
7916
- },
7917
- "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8082
+ "text": "Datasource"
8083
+ }
7918
8084
  },
7919
8085
  {
7920
8086
  "kind": "field",
7921
- "name": "requestAutoSetup",
8087
+ "name": "deferredGridOptions",
7922
8088
  "type": {
7923
- "text": "boolean"
7924
- },
7925
- "default": "true",
7926
- "description": "Attribute to set whether the REQUEST object should be automatically set up."
8089
+ "text": "GridOptions"
8090
+ }
7927
8091
  },
7928
8092
  {
7929
8093
  "kind": "field",
7930
- "name": "rowIdAttr",
7931
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8094
+ "name": "deferredColumnStates",
8095
+ "type": {
8096
+ "text": "ColumnState[]"
8097
+ }
7932
8098
  },
7933
8099
  {
7934
8100
  "kind": "field",
7935
- "name": "restartOnReconnection",
8101
+ "name": "rowDataMapper",
7936
8102
  "type": {
7937
- "text": "boolean"
8103
+ "text": "Function"
7938
8104
  },
7939
- "default": "true",
7940
- "description": "Attribute to set whether the datasource should restart when it reconnects."
8105
+ "description": "Allows grid data updates to be processed via and external function before applying in grid"
7941
8106
  },
7942
8107
  {
7943
8108
  "kind": "field",
7944
- "name": "defaultRowIdByResourceType",
8109
+ "name": "criteria",
7945
8110
  "type": {
7946
8111
  "text": "string"
7947
8112
  },
7948
- "privacy": "protected",
7949
- "readonly": true
8113
+ "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
7950
8114
  },
7951
8115
  {
7952
8116
  "kind": "field",
7953
- "name": "criteriaFromFilters",
8117
+ "name": "isSnapshot",
7954
8118
  "type": {
7955
- "text": "Map<string, string>"
8119
+ "text": "boolean"
7956
8120
  },
7957
- "privacy": "protected",
7958
- "default": "new Map()"
8121
+ "default": "false",
8122
+ "description": "Request a snapshot from the server."
7959
8123
  },
7960
8124
  {
7961
8125
  "kind": "field",
7962
- "name": "update",
8126
+ "name": "maxRows",
7963
8127
  "type": {
7964
- "text": "BehaviorSubject<Map<string, string>>"
8128
+ "text": "number"
7965
8129
  },
7966
- "privacy": "protected",
7967
- "default": "new BehaviorSubject(new Map())"
7968
- },
7969
- {
7970
- "kind": "method",
7971
- "name": "datasourceOptions",
7972
- "privacy": "protected",
7973
- "return": {
7974
- "type": {
7975
- "text": "DatasourceOptions"
7976
- }
7977
- }
8130
+ "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
7978
8131
  },
7979
8132
  {
7980
- "kind": "method",
7981
- "name": "buildCriteria",
7982
- "privacy": "private",
7983
- "return": {
7984
- "type": {
7985
- "text": "string"
7986
- }
7987
- }
8133
+ "kind": "field",
8134
+ "name": "orderBy",
8135
+ "type": {
8136
+ "text": "string"
8137
+ },
8138
+ "description": "Option to select a Data Server index (defined in the Data Server query), which is especially useful if you want the data to be sorted in a specific way."
7988
8139
  },
7989
8140
  {
7990
- "kind": "method",
7991
- "name": "setFilter",
7992
- "privacy": "public",
7993
- "parameters": [
7994
- {
7995
- "name": "fieldName",
7996
- "type": {
7997
- "text": "string"
7998
- }
7999
- },
8000
- {
8001
- "name": "newFilter",
8002
- "type": {
8003
- "text": "string"
8004
- }
8005
- }
8006
- ]
8141
+ "kind": "field",
8142
+ "name": "resourceName",
8143
+ "type": {
8144
+ "text": "string"
8145
+ },
8146
+ "description": "The name of the target Data Server query or Request Server requestReply."
8007
8147
  },
8008
8148
  {
8009
- "kind": "method",
8010
- "name": "removeFilter",
8011
- "privacy": "public",
8012
- "parameters": [
8013
- {
8014
- "name": "fieldName",
8015
- "type": {
8016
- "text": "string"
8017
- }
8018
- }
8019
- ]
8149
+ "kind": "field",
8150
+ "name": "viewNumber",
8151
+ "type": {
8152
+ "text": "number"
8153
+ },
8154
+ "description": "The desired view/page you want data from."
8020
8155
  },
8021
8156
  {
8022
8157
  "kind": "field",
8023
- "name": "isRequestServer",
8158
+ "name": "fields",
8024
8159
  "type": {
8025
- "text": "boolean"
8160
+ "text": "string"
8026
8161
  },
8027
- "readonly": true
8162
+ "description": "Optional parameter that allows you to select a subset of fields from the query if the client is not interested in receiving all of them."
8028
8163
  },
8029
8164
  {
8030
- "kind": "method",
8031
- "name": "datasourceStatusChanged",
8032
- "parameters": [
8165
+ "kind": "field",
8166
+ "name": "maxView",
8167
+ "type": {
8168
+ "text": "number"
8169
+ },
8170
+ "description": "Maximum number of rows to track as part of a client \"view\"."
8171
+ },
8172
+ {
8173
+ "kind": "field",
8174
+ "name": "movingView",
8175
+ "type": {
8176
+ "text": "boolean"
8177
+ },
8178
+ "default": "false",
8179
+ "description": "If true, when the maximum number of rows defined in max-view is reached, the Data Server will start discarding the oldest rows (in terms of timestamp) and sending newer rows."
8180
+ },
8181
+ {
8182
+ "kind": "field",
8183
+ "name": "reverse",
8184
+ "type": {
8185
+ "text": "boolean"
8186
+ },
8187
+ "default": "false",
8188
+ "description": "Option that changes the Data Server index iteration."
8189
+ },
8190
+ {
8191
+ "kind": "field",
8192
+ "name": "disablePolling",
8193
+ "type": {
8194
+ "text": "boolean"
8195
+ },
8196
+ "default": "false",
8197
+ "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
8198
+ },
8199
+ {
8200
+ "kind": "field",
8201
+ "name": "offset",
8202
+ "type": {
8203
+ "text": "number"
8204
+ },
8205
+ "description": "The offset for pagination in REQUEST_SERVER scenarios."
8206
+ },
8207
+ {
8208
+ "kind": "field",
8209
+ "name": "pollingInterval",
8210
+ "type": {
8211
+ "text": "number"
8212
+ },
8213
+ "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
8214
+ },
8215
+ {
8216
+ "kind": "field",
8217
+ "name": "pollTriggerEvents",
8218
+ "type": {
8219
+ "text": "string[]"
8220
+ },
8221
+ "default": "[]",
8222
+ "description": "Array of event names that will trigger a poll when received as commit responses."
8223
+ },
8224
+ {
8225
+ "kind": "field",
8226
+ "name": "request",
8227
+ "type": {
8228
+ "text": "any"
8229
+ },
8230
+ "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8231
+ },
8232
+ {
8233
+ "kind": "field",
8234
+ "name": "requestAutoSetup",
8235
+ "type": {
8236
+ "text": "boolean"
8237
+ },
8238
+ "default": "true",
8239
+ "description": "Attribute to set whether the REQUEST object should be automatically set up."
8240
+ },
8241
+ {
8242
+ "kind": "field",
8243
+ "name": "rowIdAttr",
8244
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8245
+ },
8246
+ {
8247
+ "kind": "field",
8248
+ "name": "restartOnReconnection",
8249
+ "type": {
8250
+ "text": "boolean"
8251
+ },
8252
+ "default": "true",
8253
+ "description": "Attribute to set whether the datasource should restart when it reconnects."
8254
+ },
8255
+ {
8256
+ "kind": "field",
8257
+ "name": "defaultRowIdByResourceType",
8258
+ "type": {
8259
+ "text": "string"
8260
+ },
8261
+ "privacy": "protected",
8262
+ "readonly": true
8263
+ },
8264
+ {
8265
+ "kind": "field",
8266
+ "name": "criteriaFromFilters",
8267
+ "type": {
8268
+ "text": "Map<string, string>"
8269
+ },
8270
+ "privacy": "protected",
8271
+ "default": "new Map()"
8272
+ },
8273
+ {
8274
+ "kind": "field",
8275
+ "name": "update",
8276
+ "type": {
8277
+ "text": "BehaviorSubject<Map<string, string>>"
8278
+ },
8279
+ "privacy": "protected",
8280
+ "default": "new BehaviorSubject(new Map())"
8281
+ },
8282
+ {
8283
+ "kind": "method",
8284
+ "name": "datasourceOptions",
8285
+ "privacy": "protected",
8286
+ "return": {
8287
+ "type": {
8288
+ "text": "DatasourceOptions"
8289
+ }
8290
+ }
8291
+ },
8292
+ {
8293
+ "kind": "method",
8294
+ "name": "buildCriteria",
8295
+ "privacy": "private",
8296
+ "return": {
8297
+ "type": {
8298
+ "text": "string"
8299
+ }
8300
+ }
8301
+ },
8302
+ {
8303
+ "kind": "method",
8304
+ "name": "setFilter",
8305
+ "privacy": "public",
8306
+ "parameters": [
8307
+ {
8308
+ "name": "fieldName",
8309
+ "type": {
8310
+ "text": "string"
8311
+ }
8312
+ },
8313
+ {
8314
+ "name": "newFilter",
8315
+ "type": {
8316
+ "text": "string"
8317
+ }
8318
+ }
8319
+ ]
8320
+ },
8321
+ {
8322
+ "kind": "method",
8323
+ "name": "removeFilter",
8324
+ "privacy": "public",
8325
+ "parameters": [
8326
+ {
8327
+ "name": "fieldName",
8328
+ "type": {
8329
+ "text": "string"
8330
+ }
8331
+ }
8332
+ ]
8333
+ },
8334
+ {
8335
+ "kind": "field",
8336
+ "name": "isRequestServer",
8337
+ "type": {
8338
+ "text": "boolean"
8339
+ },
8340
+ "readonly": true
8341
+ },
8342
+ {
8343
+ "kind": "method",
8344
+ "name": "datasourceStatusChanged",
8345
+ "parameters": [
8033
8346
  {
8034
8347
  "name": "prev",
8035
8348
  "type": {
@@ -15960,319 +16273,6 @@
15960
16273
  }
15961
16274
  ]
15962
16275
  },
15963
- {
15964
- "kind": "javascript-module",
15965
- "path": "src/column/column.template.ts",
15966
- "declarations": [
15967
- {
15968
- "kind": "variable",
15969
- "name": "ColumnTemplate",
15970
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
15971
- "description": "The Grid Pro Column Template.",
15972
- "privacy": "public"
15973
- }
15974
- ],
15975
- "exports": [
15976
- {
15977
- "kind": "js",
15978
- "name": "ColumnTemplate",
15979
- "declaration": {
15980
- "name": "ColumnTemplate",
15981
- "module": "src/column/column.template.ts"
15982
- }
15983
- }
15984
- ]
15985
- },
15986
- {
15987
- "kind": "javascript-module",
15988
- "path": "src/column/column.ts",
15989
- "declarations": [
15990
- {
15991
- "kind": "class",
15992
- "description": "The Grid Pro Column element.",
15993
- "name": "GridProColumn",
15994
- "members": [
15995
- {
15996
- "kind": "field",
15997
- "name": "slottedAgCell",
15998
- "type": {
15999
- "text": "HTMLElement[]"
16000
- },
16001
- "privacy": "public"
16002
- },
16003
- {
16004
- "kind": "field",
16005
- "name": "definition",
16006
- "type": {
16007
- "text": "ColDef"
16008
- },
16009
- "default": "{}"
16010
- },
16011
- {
16012
- "kind": "method",
16013
- "name": "slottedAgCellChanged",
16014
- "privacy": "public"
16015
- },
16016
- {
16017
- "kind": "method",
16018
- "name": "deepClone",
16019
- "return": {
16020
- "type": {
16021
- "text": "Node"
16022
- }
16023
- },
16024
- "inheritedFrom": {
16025
- "name": "LifecycleMixin",
16026
- "module": "src/mixins/lifecycle/lifecycle.ts"
16027
- }
16028
- },
16029
- {
16030
- "kind": "method",
16031
- "name": "cloneNode",
16032
- "return": {
16033
- "type": {
16034
- "text": "Node"
16035
- }
16036
- },
16037
- "parameters": [
16038
- {
16039
- "name": "deep",
16040
- "optional": true,
16041
- "type": {
16042
- "text": "boolean"
16043
- }
16044
- }
16045
- ],
16046
- "inheritedFrom": {
16047
- "name": "LifecycleMixin",
16048
- "module": "src/mixins/lifecycle/lifecycle.ts"
16049
- }
16050
- },
16051
- {
16052
- "kind": "field",
16053
- "name": "shouldRunDisconnect",
16054
- "return": {
16055
- "type": {
16056
- "text": ""
16057
- }
16058
- },
16059
- "readonly": true,
16060
- "inheritedFrom": {
16061
- "name": "LifecycleMixin",
16062
- "module": "src/mixins/lifecycle/lifecycle.ts"
16063
- }
16064
- },
16065
- {
16066
- "kind": "field",
16067
- "name": "shouldRunConnect",
16068
- "return": {
16069
- "type": {
16070
- "text": ""
16071
- }
16072
- },
16073
- "readonly": true,
16074
- "inheritedFrom": {
16075
- "name": "LifecycleMixin",
16076
- "module": "src/mixins/lifecycle/lifecycle.ts"
16077
- }
16078
- },
16079
- {
16080
- "kind": "method",
16081
- "name": "#_blockLifecycleDueToTokenChange",
16082
- "return": {
16083
- "type": {
16084
- "text": "boolean"
16085
- }
16086
- },
16087
- "parameters": [
16088
- {
16089
- "name": "lifecycleType",
16090
- "type": {
16091
- "text": "Lifecycletype"
16092
- }
16093
- }
16094
- ],
16095
- "inheritedFrom": {
16096
- "name": "LifecycleMixin",
16097
- "module": "src/mixins/lifecycle/lifecycle.ts"
16098
- }
16099
- },
16100
- {
16101
- "kind": "field",
16102
- "name": "_presentation",
16103
- "type": {
16104
- "text": "ComponentPresentation | null | undefined"
16105
- },
16106
- "privacy": "private",
16107
- "default": "void 0",
16108
- "inheritedFrom": {
16109
- "name": "FoundationElement",
16110
- "module": "src/foundation-element/foundation-element.ts"
16111
- }
16112
- },
16113
- {
16114
- "kind": "field",
16115
- "name": "$presentation",
16116
- "type": {
16117
- "text": "ComponentPresentation | null"
16118
- },
16119
- "privacy": "public",
16120
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
16121
- "inheritedFrom": {
16122
- "name": "FoundationElement",
16123
- "module": "src/foundation-element/foundation-element.ts"
16124
- }
16125
- },
16126
- {
16127
- "kind": "field",
16128
- "name": "template",
16129
- "type": {
16130
- "text": "ElementViewTemplate | void | null"
16131
- },
16132
- "privacy": "public",
16133
- "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.",
16134
- "inheritedFrom": {
16135
- "name": "FoundationElement",
16136
- "module": "src/foundation-element/foundation-element.ts"
16137
- }
16138
- },
16139
- {
16140
- "kind": "method",
16141
- "name": "templateChanged",
16142
- "privacy": "protected",
16143
- "return": {
16144
- "type": {
16145
- "text": "void"
16146
- }
16147
- },
16148
- "inheritedFrom": {
16149
- "name": "FoundationElement",
16150
- "module": "src/foundation-element/foundation-element.ts"
16151
- }
16152
- },
16153
- {
16154
- "kind": "field",
16155
- "name": "styles",
16156
- "type": {
16157
- "text": "ElementStyles | void | null"
16158
- },
16159
- "privacy": "public",
16160
- "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.",
16161
- "inheritedFrom": {
16162
- "name": "FoundationElement",
16163
- "module": "src/foundation-element/foundation-element.ts"
16164
- }
16165
- },
16166
- {
16167
- "kind": "method",
16168
- "name": "stylesChanged",
16169
- "privacy": "protected",
16170
- "return": {
16171
- "type": {
16172
- "text": "void"
16173
- }
16174
- },
16175
- "inheritedFrom": {
16176
- "name": "FoundationElement",
16177
- "module": "src/foundation-element/foundation-element.ts"
16178
- }
16179
- },
16180
- {
16181
- "kind": "method",
16182
- "name": "compose",
16183
- "privacy": "public",
16184
- "static": true,
16185
- "return": {
16186
- "type": {
16187
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
16188
- }
16189
- },
16190
- "parameters": [
16191
- {
16192
- "name": "this",
16193
- "type": {
16194
- "text": "K"
16195
- }
16196
- },
16197
- {
16198
- "name": "elementDefinition",
16199
- "type": {
16200
- "text": "T"
16201
- },
16202
- "description": "The definition of the element to create the registry\nfunction for."
16203
- }
16204
- ],
16205
- "description": "Defines an element registry function with a set of element definition defaults.",
16206
- "inheritedFrom": {
16207
- "name": "FoundationElement",
16208
- "module": "src/foundation-element/foundation-element.ts"
16209
- }
16210
- }
16211
- ],
16212
- "mixins": [
16213
- {
16214
- "name": "LifecycleMixin",
16215
- "package": "@genesislcap/foundation-utils"
16216
- }
16217
- ],
16218
- "superclass": {
16219
- "name": "FoundationElement",
16220
- "package": "@microsoft/fast-foundation"
16221
- },
16222
- "tagName": "grid-pro-column",
16223
- "customElement": true
16224
- }
16225
- ],
16226
- "exports": [
16227
- {
16228
- "kind": "js",
16229
- "name": "GridProColumn",
16230
- "declaration": {
16231
- "name": "GridProColumn",
16232
- "module": "src/column/column.ts"
16233
- }
16234
- },
16235
- {
16236
- "kind": "custom-element-definition",
16237
- "name": "grid-pro-column",
16238
- "declaration": {
16239
- "name": "GridProColumn",
16240
- "module": "src/column/column.ts"
16241
- }
16242
- }
16243
- ]
16244
- },
16245
- {
16246
- "kind": "javascript-module",
16247
- "path": "src/column/index.ts",
16248
- "declarations": [],
16249
- "exports": [
16250
- {
16251
- "kind": "js",
16252
- "name": "*",
16253
- "declaration": {
16254
- "name": "*",
16255
- "package": "./column.template"
16256
- }
16257
- },
16258
- {
16259
- "kind": "js",
16260
- "name": "*",
16261
- "declaration": {
16262
- "name": "*",
16263
- "package": "./column"
16264
- }
16265
- },
16266
- {
16267
- "kind": "js",
16268
- "name": "*",
16269
- "declaration": {
16270
- "name": "*",
16271
- "package": "./utils"
16272
- }
16273
- }
16274
- ]
16275
- },
16276
16276
  {
16277
16277
  "kind": "javascript-module",
16278
16278
  "path": "src/grid-pro-genesis-datasource/datasource-events.types.ts",
@@ -206,6 +206,15 @@ export declare const AgTextRenderer: React.ForwardRefExoticComponent<
206
206
  >;
207
207
  export type AgTextRendererRef = AgTextRendererWC;
208
208
 
209
+ export declare const GridProColumn: React.ForwardRefExoticComponent<
210
+ React.PropsWithChildren<
211
+ Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
212
+ HTMLWCProps & {
213
+ }
214
+ > & React.RefAttributes<GridProColumnWC>
215
+ >;
216
+ export type GridProColumnRef = GridProColumnWC;
217
+
209
218
  export declare const GridProClientSideDatasource: React.ForwardRefExoticComponent<
210
219
  React.PropsWithChildren<
211
220
  Omit<PublicOf<GridProClientSideDatasourceWC>, 'children' | 'style'> &
@@ -261,15 +270,6 @@ export declare const GridProServerSideDatasource: React.ForwardRefExoticComponen
261
270
  >;
262
271
  export type GridProServerSideDatasourceRef = GridProServerSideDatasourceWC;
263
272
 
264
- export declare const GridProColumn: React.ForwardRefExoticComponent<
265
- React.PropsWithChildren<
266
- Omit<PublicOf<GridProColumnWC>, 'children' | 'style'> &
267
- HTMLWCProps & {
268
- }
269
- > & React.RefAttributes<GridProColumnWC>
270
- >;
271
- export type GridProColumnRef = GridProColumnWC;
272
-
273
273
  export declare const GridProGenesisDatasource: React.ForwardRefExoticComponent<
274
274
  React.PropsWithChildren<
275
275
  Omit<PublicOf<GridProGenesisDatasourceWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -161,6 +161,11 @@ const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, ref) {
161
161
  return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
162
162
  });
163
163
 
164
+ const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
165
+ const { children, ...rest } = props;
166
+ return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
167
+ });
168
+
164
169
  const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
165
170
  const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
166
171
  const _innerRef = React.useRef(null);
@@ -370,11 +375,6 @@ const GridProServerSideDatasource = React.forwardRef(function GridProServerSideD
370
375
  return React.createElement(customElements.getName(GridProServerSideDatasourceWC) ?? 'grid-pro-server-side-datasource', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
371
376
  });
372
377
 
373
- const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
374
- const { children, ...rest } = props;
375
- return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
376
- });
377
-
378
378
  const GridProGenesisDatasource = React.forwardRef(function GridProGenesisDatasource(props, ref) {
379
379
  const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
380
380
  const _innerRef = React.useRef(null);
@@ -499,9 +499,9 @@ module.exports = {
499
499
  StatusPillRenderer,
500
500
  AgTextFieldRenderer,
501
501
  AgTextRenderer,
502
+ GridProColumn,
502
503
  GridProClientSideDatasource,
503
504
  GridProServerSideDatasource,
504
- GridProColumn,
505
505
  GridProGenesisDatasource,
506
506
  MulticolumnDropdown,
507
507
  };
package/dist/react.mjs CHANGED
@@ -159,6 +159,11 @@ export const AgTextRenderer = React.forwardRef(function AgTextRenderer(props, re
159
159
  return React.createElement(customElements.getName(AgTextRendererWC) ?? '%%prefix%%-grid-text-renderer', { ...rest, ref }, children);
160
160
  });
161
161
 
162
+ export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
163
+ const { children, ...rest } = props;
164
+ return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
165
+ });
166
+
162
167
  export const GridProClientSideDatasource = React.forwardRef(function GridProClientSideDatasource(props, ref) {
163
168
  const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
164
169
  const _innerRef = React.useRef(null);
@@ -368,11 +373,6 @@ export const GridProServerSideDatasource = React.forwardRef(function GridProServ
368
373
  return React.createElement(customElements.getName(GridProServerSideDatasourceWC) ?? 'grid-pro-server-side-datasource', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
369
374
  });
370
375
 
371
- export const GridProColumn = React.forwardRef(function GridProColumn(props, ref) {
372
- const { children, ...rest } = props;
373
- return React.createElement(customElements.getName(GridProColumnWC) ?? 'grid-pro-column', { ...rest, ref }, children);
374
- });
375
-
376
376
  export const GridProGenesisDatasource = React.forwardRef(function GridProGenesisDatasource(props, ref) {
377
377
  const { onBaseDatasourceError, onDatasourceError, onBaseDatasourceConnected, onDatasourceLoadingFinished, onDatasourceNoDataAvailable, onDatasourceDataChanged, onDatasourceInitialize, onDatasourceDestroy, onDatasourceDataCleared, onDatasourceSchemaUpdated, onDatasourceFiltersRestored, onDatasourceDataLoaded, onDatasourceLoadingStarted, onDatasourceMoreDataAvailable, onDatasourceReady, onDatasourceInit, onMoreRowsChanged, onDatasourceSizeChanged, children, ...rest } = props;
378
378
  const _innerRef = React.useRef(null);
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.3.5",
4
+ "version": "15.4.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,20 +40,20 @@
40
40
  }
41
41
  },
42
42
  "devDependencies": {
43
- "@genesislcap/foundation-testing": "15.3.5",
44
- "@genesislcap/genx": "15.3.5",
45
- "@genesislcap/rollup-builder": "15.3.5",
46
- "@genesislcap/ts-builder": "15.3.5",
47
- "@genesislcap/uvu-playwright-builder": "15.3.5",
48
- "@genesislcap/vite-builder": "15.3.5",
49
- "@genesislcap/webpack-builder": "15.3.5"
43
+ "@genesislcap/foundation-testing": "15.4.0",
44
+ "@genesislcap/genx": "15.4.0",
45
+ "@genesislcap/rollup-builder": "15.4.0",
46
+ "@genesislcap/ts-builder": "15.4.0",
47
+ "@genesislcap/uvu-playwright-builder": "15.4.0",
48
+ "@genesislcap/vite-builder": "15.4.0",
49
+ "@genesislcap/webpack-builder": "15.4.0"
50
50
  },
51
51
  "dependencies": {
52
- "@genesislcap/foundation-comms": "15.3.5",
53
- "@genesislcap/foundation-criteria": "15.3.5",
54
- "@genesislcap/foundation-logger": "15.3.5",
55
- "@genesislcap/foundation-ui": "15.3.5",
56
- "@genesislcap/foundation-utils": "15.3.5",
52
+ "@genesislcap/foundation-comms": "15.4.0",
53
+ "@genesislcap/foundation-criteria": "15.4.0",
54
+ "@genesislcap/foundation-logger": "15.4.0",
55
+ "@genesislcap/foundation-ui": "15.4.0",
56
+ "@genesislcap/foundation-utils": "15.4.0",
57
57
  "@microsoft/fast-colors": "5.3.1",
58
58
  "@microsoft/fast-components": "2.30.6",
59
59
  "@microsoft/fast-element": "1.14.0",
@@ -91,5 +91,5 @@
91
91
  "require": "./dist/react.cjs"
92
92
  }
93
93
  },
94
- "gitHead": "dc772a3a6f1b3d1c249f1ffae27a13d29878609c"
94
+ "gitHead": "2c61100a9805e799c8047a26ad6a147d1ac1af87"
95
95
  }