@genesislcap/grid-pro 14.491.1 → 14.492.0-GENC-1462.1

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.
@@ -7830,308 +7830,621 @@
7830
7830
  },
7831
7831
  {
7832
7832
  "kind": "javascript-module",
7833
- "path": "src/datasource/base.datasource.ts",
7833
+ "path": "src/column/column.template.ts",
7834
7834
  "declarations": [
7835
7835
  {
7836
7836
  "kind": "variable",
7837
- "name": "criteriaDelimiter",
7838
- "type": {
7839
- "text": "string"
7840
- },
7841
- "default": "';'",
7842
- "description": "The delimiter for the criteria string.",
7837
+ "name": "ColumnTemplate",
7838
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
7839
+ "description": "The Grid Pro Column Template.",
7843
7840
  "privacy": "public"
7844
- },
7841
+ }
7842
+ ],
7843
+ "exports": [
7845
7844
  {
7846
- "kind": "variable",
7847
- "name": "criteriaJoin",
7848
- "type": {
7849
- "text": "string"
7850
- },
7851
- "default": "' && '",
7852
- "description": "The join for the criteria string.",
7853
- "privacy": "public"
7854
- },
7845
+ "kind": "js",
7846
+ "name": "ColumnTemplate",
7847
+ "declaration": {
7848
+ "name": "ColumnTemplate",
7849
+ "module": "src/column/column.template.ts"
7850
+ }
7851
+ }
7852
+ ]
7853
+ },
7854
+ {
7855
+ "kind": "javascript-module",
7856
+ "path": "src/column/column.ts",
7857
+ "declarations": [
7855
7858
  {
7856
7859
  "kind": "class",
7857
- "description": "The base datasource element for the grid-pro element.",
7858
- "name": "GenesisGridDatasourceElement",
7860
+ "description": "The Grid Pro Column element.",
7861
+ "name": "GridProColumn",
7859
7862
  "members": [
7860
7863
  {
7861
7864
  "kind": "field",
7862
- "name": "connect",
7863
- "type": {
7864
- "text": "Connect"
7865
- }
7866
- },
7867
- {
7868
- "kind": "field",
7869
- "name": "datasource",
7870
- "type": {
7871
- "text": "Datasource"
7872
- }
7873
- },
7874
- {
7875
- "kind": "field",
7876
- "name": "deferredGridOptions",
7877
- "type": {
7878
- "text": "GridOptions"
7879
- }
7880
- },
7881
- {
7882
- "kind": "field",
7883
- "name": "deferredColumnStates",
7865
+ "name": "slottedAgCell",
7884
7866
  "type": {
7885
- "text": "ColumnState[]"
7886
- }
7867
+ "text": "HTMLElement[]"
7868
+ },
7869
+ "privacy": "public"
7887
7870
  },
7888
7871
  {
7889
7872
  "kind": "field",
7890
- "name": "rowDataMapper",
7873
+ "name": "definition",
7891
7874
  "type": {
7892
- "text": "Function"
7875
+ "text": "ColDef"
7893
7876
  },
7894
- "description": "Allows grid data updates to be processed via and external function before applying in grid"
7877
+ "default": "{}"
7895
7878
  },
7896
7879
  {
7897
- "kind": "field",
7898
- "name": "criteria",
7899
- "type": {
7900
- "text": "string"
7901
- },
7902
- "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
7880
+ "kind": "method",
7881
+ "name": "slottedAgCellChanged",
7882
+ "privacy": "public"
7903
7883
  },
7904
7884
  {
7905
- "kind": "field",
7906
- "name": "isSnapshot",
7907
- "type": {
7908
- "text": "boolean"
7885
+ "kind": "method",
7886
+ "name": "deepClone",
7887
+ "return": {
7888
+ "type": {
7889
+ "text": "Node"
7890
+ }
7909
7891
  },
7910
- "default": "false",
7911
- "description": "Request a snapshot from the server."
7892
+ "inheritedFrom": {
7893
+ "name": "LifecycleMixin",
7894
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7895
+ }
7912
7896
  },
7913
7897
  {
7914
- "kind": "field",
7915
- "name": "maxRows",
7916
- "type": {
7917
- "text": "number"
7898
+ "kind": "method",
7899
+ "name": "cloneNode",
7900
+ "return": {
7901
+ "type": {
7902
+ "text": "Node"
7903
+ }
7918
7904
  },
7919
- "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
7905
+ "parameters": [
7906
+ {
7907
+ "name": "deep",
7908
+ "optional": true,
7909
+ "type": {
7910
+ "text": "boolean"
7911
+ }
7912
+ }
7913
+ ],
7914
+ "inheritedFrom": {
7915
+ "name": "LifecycleMixin",
7916
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7917
+ }
7920
7918
  },
7921
7919
  {
7922
7920
  "kind": "field",
7923
- "name": "orderBy",
7924
- "type": {
7925
- "text": "string"
7921
+ "name": "shouldRunDisconnect",
7922
+ "return": {
7923
+ "type": {
7924
+ "text": ""
7925
+ }
7926
7926
  },
7927
- "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."
7927
+ "readonly": true,
7928
+ "inheritedFrom": {
7929
+ "name": "LifecycleMixin",
7930
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7931
+ }
7928
7932
  },
7929
7933
  {
7930
7934
  "kind": "field",
7931
- "name": "resourceName",
7932
- "type": {
7933
- "text": "string"
7935
+ "name": "shouldRunConnect",
7936
+ "return": {
7937
+ "type": {
7938
+ "text": ""
7939
+ }
7934
7940
  },
7935
- "description": "The name of the target Data Server query or Request Server requestReply."
7941
+ "readonly": true,
7942
+ "inheritedFrom": {
7943
+ "name": "LifecycleMixin",
7944
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7945
+ }
7936
7946
  },
7937
7947
  {
7938
- "kind": "field",
7939
- "name": "viewNumber",
7940
- "type": {
7941
- "text": "number"
7948
+ "kind": "method",
7949
+ "name": "#_blockLifecycleDueToTokenChange",
7950
+ "return": {
7951
+ "type": {
7952
+ "text": "boolean"
7953
+ }
7942
7954
  },
7943
- "description": "The desired view/page you want data from."
7955
+ "parameters": [
7956
+ {
7957
+ "name": "lifecycleType",
7958
+ "type": {
7959
+ "text": "Lifecycletype"
7960
+ }
7961
+ }
7962
+ ],
7963
+ "inheritedFrom": {
7964
+ "name": "LifecycleMixin",
7965
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7966
+ }
7944
7967
  },
7945
7968
  {
7946
7969
  "kind": "field",
7947
- "name": "fields",
7970
+ "name": "_presentation",
7948
7971
  "type": {
7949
- "text": "string"
7972
+ "text": "ComponentPresentation | null | undefined"
7950
7973
  },
7951
- "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."
7974
+ "privacy": "private",
7975
+ "default": "void 0",
7976
+ "inheritedFrom": {
7977
+ "name": "FoundationElement",
7978
+ "module": "src/foundation-element/foundation-element.ts"
7979
+ }
7952
7980
  },
7953
7981
  {
7954
7982
  "kind": "field",
7955
- "name": "maxView",
7983
+ "name": "$presentation",
7956
7984
  "type": {
7957
- "text": "number"
7985
+ "text": "ComponentPresentation | null"
7958
7986
  },
7959
- "description": "Maximum number of rows to track as part of a client \"view\"."
7987
+ "privacy": "public",
7988
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7989
+ "inheritedFrom": {
7990
+ "name": "FoundationElement",
7991
+ "module": "src/foundation-element/foundation-element.ts"
7992
+ }
7960
7993
  },
7961
7994
  {
7962
7995
  "kind": "field",
7963
- "name": "movingView",
7996
+ "name": "template",
7964
7997
  "type": {
7965
- "text": "boolean"
7998
+ "text": "ElementViewTemplate | void | null"
7966
7999
  },
7967
- "default": "false",
7968
- "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."
8000
+ "privacy": "public",
8001
+ "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.",
8002
+ "inheritedFrom": {
8003
+ "name": "FoundationElement",
8004
+ "module": "src/foundation-element/foundation-element.ts"
8005
+ }
7969
8006
  },
7970
8007
  {
7971
- "kind": "field",
7972
- "name": "reverse",
7973
- "type": {
7974
- "text": "boolean"
8008
+ "kind": "method",
8009
+ "name": "templateChanged",
8010
+ "privacy": "protected",
8011
+ "return": {
8012
+ "type": {
8013
+ "text": "void"
8014
+ }
7975
8015
  },
7976
- "default": "false",
7977
- "description": "Option that changes the Data Server index iteration."
8016
+ "inheritedFrom": {
8017
+ "name": "FoundationElement",
8018
+ "module": "src/foundation-element/foundation-element.ts"
8019
+ }
7978
8020
  },
7979
8021
  {
7980
8022
  "kind": "field",
7981
- "name": "disablePolling",
8023
+ "name": "styles",
7982
8024
  "type": {
7983
- "text": "boolean"
8025
+ "text": "ElementStyles | void | null"
7984
8026
  },
7985
- "default": "false",
7986
- "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
8027
+ "privacy": "public",
8028
+ "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.",
8029
+ "inheritedFrom": {
8030
+ "name": "FoundationElement",
8031
+ "module": "src/foundation-element/foundation-element.ts"
8032
+ }
7987
8033
  },
7988
8034
  {
7989
- "kind": "field",
7990
- "name": "offset",
7991
- "type": {
7992
- "text": "number"
8035
+ "kind": "method",
8036
+ "name": "stylesChanged",
8037
+ "privacy": "protected",
8038
+ "return": {
8039
+ "type": {
8040
+ "text": "void"
8041
+ }
7993
8042
  },
7994
- "description": "The offset for pagination in REQUEST_SERVER scenarios."
8043
+ "inheritedFrom": {
8044
+ "name": "FoundationElement",
8045
+ "module": "src/foundation-element/foundation-element.ts"
8046
+ }
7995
8047
  },
7996
8048
  {
7997
- "kind": "field",
7998
- "name": "pollingInterval",
7999
- "type": {
8000
- "text": "number"
8049
+ "kind": "method",
8050
+ "name": "compose",
8051
+ "privacy": "public",
8052
+ "static": true,
8053
+ "return": {
8054
+ "type": {
8055
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8056
+ }
8001
8057
  },
8002
- "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
8003
- },
8058
+ "parameters": [
8059
+ {
8060
+ "name": "this",
8061
+ "type": {
8062
+ "text": "K"
8063
+ }
8064
+ },
8065
+ {
8066
+ "name": "elementDefinition",
8067
+ "type": {
8068
+ "text": "T"
8069
+ },
8070
+ "description": "The definition of the element to create the registry\nfunction for."
8071
+ }
8072
+ ],
8073
+ "description": "Defines an element registry function with a set of element definition defaults.",
8074
+ "inheritedFrom": {
8075
+ "name": "FoundationElement",
8076
+ "module": "src/foundation-element/foundation-element.ts"
8077
+ }
8078
+ }
8079
+ ],
8080
+ "mixins": [
8081
+ {
8082
+ "name": "LifecycleMixin",
8083
+ "package": "@genesislcap/foundation-utils"
8084
+ }
8085
+ ],
8086
+ "superclass": {
8087
+ "name": "FoundationElement",
8088
+ "package": "@microsoft/fast-foundation"
8089
+ },
8090
+ "tagName": "grid-pro-column",
8091
+ "customElement": true
8092
+ }
8093
+ ],
8094
+ "exports": [
8095
+ {
8096
+ "kind": "js",
8097
+ "name": "GridProColumn",
8098
+ "declaration": {
8099
+ "name": "GridProColumn",
8100
+ "module": "src/column/column.ts"
8101
+ }
8102
+ },
8103
+ {
8104
+ "kind": "custom-element-definition",
8105
+ "name": "grid-pro-column",
8106
+ "declaration": {
8107
+ "name": "GridProColumn",
8108
+ "module": "src/column/column.ts"
8109
+ }
8110
+ }
8111
+ ]
8112
+ },
8113
+ {
8114
+ "kind": "javascript-module",
8115
+ "path": "src/column/index.ts",
8116
+ "declarations": [],
8117
+ "exports": [
8118
+ {
8119
+ "kind": "js",
8120
+ "name": "*",
8121
+ "declaration": {
8122
+ "name": "*",
8123
+ "package": "./column.template"
8124
+ }
8125
+ },
8126
+ {
8127
+ "kind": "js",
8128
+ "name": "*",
8129
+ "declaration": {
8130
+ "name": "*",
8131
+ "package": "./column"
8132
+ }
8133
+ },
8134
+ {
8135
+ "kind": "js",
8136
+ "name": "*",
8137
+ "declaration": {
8138
+ "name": "*",
8139
+ "package": "./utils"
8140
+ }
8141
+ }
8142
+ ]
8143
+ },
8144
+ {
8145
+ "kind": "javascript-module",
8146
+ "path": "src/datasource/base.datasource.ts",
8147
+ "declarations": [
8148
+ {
8149
+ "kind": "variable",
8150
+ "name": "criteriaDelimiter",
8151
+ "type": {
8152
+ "text": "string"
8153
+ },
8154
+ "default": "';'",
8155
+ "description": "The delimiter for the criteria string.",
8156
+ "privacy": "public"
8157
+ },
8158
+ {
8159
+ "kind": "variable",
8160
+ "name": "criteriaJoin",
8161
+ "type": {
8162
+ "text": "string"
8163
+ },
8164
+ "default": "' && '",
8165
+ "description": "The join for the criteria string.",
8166
+ "privacy": "public"
8167
+ },
8168
+ {
8169
+ "kind": "class",
8170
+ "description": "The base datasource element for the grid-pro element.",
8171
+ "name": "GenesisGridDatasourceElement",
8172
+ "members": [
8004
8173
  {
8005
8174
  "kind": "field",
8006
- "name": "pollTriggerEvents",
8175
+ "name": "connect",
8007
8176
  "type": {
8008
- "text": "string[]"
8009
- },
8010
- "default": "[]",
8011
- "description": "Array of event names that will trigger a poll when received as commit responses."
8177
+ "text": "Connect"
8178
+ }
8012
8179
  },
8013
8180
  {
8014
8181
  "kind": "field",
8015
- "name": "request",
8182
+ "name": "datasource",
8016
8183
  "type": {
8017
- "text": "any"
8018
- },
8019
- "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8184
+ "text": "Datasource"
8185
+ }
8020
8186
  },
8021
8187
  {
8022
8188
  "kind": "field",
8023
- "name": "requestAutoSetup",
8189
+ "name": "deferredGridOptions",
8024
8190
  "type": {
8025
- "text": "boolean"
8026
- },
8027
- "default": "true",
8028
- "description": "Attribute to set whether the REQUEST object should be automatically set up."
8191
+ "text": "GridOptions"
8192
+ }
8029
8193
  },
8030
8194
  {
8031
8195
  "kind": "field",
8032
- "name": "rowIdAttr",
8033
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8196
+ "name": "deferredColumnStates",
8197
+ "type": {
8198
+ "text": "ColumnState[]"
8199
+ }
8034
8200
  },
8035
8201
  {
8036
8202
  "kind": "field",
8037
- "name": "restartOnReconnection",
8203
+ "name": "rowDataMapper",
8038
8204
  "type": {
8039
- "text": "boolean"
8205
+ "text": "Function"
8040
8206
  },
8041
- "default": "true",
8042
- "description": "Attribute to set whether the datasource should restart when it reconnects."
8207
+ "description": "Allows grid data updates to be processed via and external function before applying in grid"
8043
8208
  },
8044
8209
  {
8045
8210
  "kind": "field",
8046
- "name": "defaultRowIdByResourceType",
8211
+ "name": "criteria",
8047
8212
  "type": {
8048
8213
  "text": "string"
8049
8214
  },
8050
- "privacy": "protected",
8051
- "readonly": true
8215
+ "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
8052
8216
  },
8053
8217
  {
8054
8218
  "kind": "field",
8055
- "name": "criteriaFromFilters",
8219
+ "name": "isSnapshot",
8056
8220
  "type": {
8057
- "text": "Map<string, string>"
8221
+ "text": "boolean"
8058
8222
  },
8059
- "privacy": "protected",
8060
- "default": "new Map()"
8223
+ "default": "false",
8224
+ "description": "Request a snapshot from the server."
8061
8225
  },
8062
8226
  {
8063
8227
  "kind": "field",
8064
- "name": "update",
8228
+ "name": "maxRows",
8065
8229
  "type": {
8066
- "text": "BehaviorSubject<Map<string, string>>"
8230
+ "text": "number"
8067
8231
  },
8068
- "privacy": "protected",
8069
- "default": "new BehaviorSubject(new Map())"
8070
- },
8071
- {
8072
- "kind": "method",
8073
- "name": "datasourceOptions",
8074
- "privacy": "protected",
8075
- "return": {
8076
- "type": {
8077
- "text": "DatasourceOptions"
8078
- }
8079
- }
8232
+ "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
8080
8233
  },
8081
8234
  {
8082
- "kind": "method",
8083
- "name": "buildCriteria",
8084
- "privacy": "private",
8085
- "return": {
8086
- "type": {
8087
- "text": "string"
8088
- }
8089
- }
8235
+ "kind": "field",
8236
+ "name": "orderBy",
8237
+ "type": {
8238
+ "text": "string"
8239
+ },
8240
+ "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."
8090
8241
  },
8091
8242
  {
8092
- "kind": "method",
8093
- "name": "setFilter",
8094
- "privacy": "public",
8095
- "parameters": [
8096
- {
8097
- "name": "fieldName",
8098
- "type": {
8099
- "text": "string"
8100
- }
8101
- },
8102
- {
8103
- "name": "newFilter",
8104
- "type": {
8105
- "text": "string"
8106
- }
8107
- }
8108
- ]
8243
+ "kind": "field",
8244
+ "name": "resourceName",
8245
+ "type": {
8246
+ "text": "string"
8247
+ },
8248
+ "description": "The name of the target Data Server query or Request Server requestReply."
8109
8249
  },
8110
8250
  {
8111
- "kind": "method",
8112
- "name": "removeFilter",
8113
- "privacy": "public",
8114
- "parameters": [
8115
- {
8116
- "name": "fieldName",
8117
- "type": {
8118
- "text": "string"
8119
- }
8120
- }
8121
- ]
8251
+ "kind": "field",
8252
+ "name": "viewNumber",
8253
+ "type": {
8254
+ "text": "number"
8255
+ },
8256
+ "description": "The desired view/page you want data from."
8122
8257
  },
8123
8258
  {
8124
8259
  "kind": "field",
8125
- "name": "isRequestServer",
8260
+ "name": "fields",
8126
8261
  "type": {
8127
- "text": "boolean"
8262
+ "text": "string"
8128
8263
  },
8129
- "readonly": true
8264
+ "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."
8130
8265
  },
8131
8266
  {
8132
- "kind": "method",
8133
- "name": "datasourceStatusChanged",
8134
- "parameters": [
8267
+ "kind": "field",
8268
+ "name": "maxView",
8269
+ "type": {
8270
+ "text": "number"
8271
+ },
8272
+ "description": "Maximum number of rows to track as part of a client \"view\"."
8273
+ },
8274
+ {
8275
+ "kind": "field",
8276
+ "name": "movingView",
8277
+ "type": {
8278
+ "text": "boolean"
8279
+ },
8280
+ "default": "false",
8281
+ "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."
8282
+ },
8283
+ {
8284
+ "kind": "field",
8285
+ "name": "reverse",
8286
+ "type": {
8287
+ "text": "boolean"
8288
+ },
8289
+ "default": "false",
8290
+ "description": "Option that changes the Data Server index iteration."
8291
+ },
8292
+ {
8293
+ "kind": "field",
8294
+ "name": "disablePolling",
8295
+ "type": {
8296
+ "text": "boolean"
8297
+ },
8298
+ "default": "false",
8299
+ "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
8300
+ },
8301
+ {
8302
+ "kind": "field",
8303
+ "name": "offset",
8304
+ "type": {
8305
+ "text": "number"
8306
+ },
8307
+ "description": "The offset for pagination in REQUEST_SERVER scenarios."
8308
+ },
8309
+ {
8310
+ "kind": "field",
8311
+ "name": "pollingInterval",
8312
+ "type": {
8313
+ "text": "number"
8314
+ },
8315
+ "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
8316
+ },
8317
+ {
8318
+ "kind": "field",
8319
+ "name": "pollTriggerEvents",
8320
+ "type": {
8321
+ "text": "string[]"
8322
+ },
8323
+ "default": "[]",
8324
+ "description": "Array of event names that will trigger a poll when received as commit responses."
8325
+ },
8326
+ {
8327
+ "kind": "field",
8328
+ "name": "request",
8329
+ "type": {
8330
+ "text": "any"
8331
+ },
8332
+ "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8333
+ },
8334
+ {
8335
+ "kind": "field",
8336
+ "name": "requestAutoSetup",
8337
+ "type": {
8338
+ "text": "boolean"
8339
+ },
8340
+ "default": "true",
8341
+ "description": "Attribute to set whether the REQUEST object should be automatically set up."
8342
+ },
8343
+ {
8344
+ "kind": "field",
8345
+ "name": "rowIdAttr",
8346
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8347
+ },
8348
+ {
8349
+ "kind": "field",
8350
+ "name": "restartOnReconnection",
8351
+ "type": {
8352
+ "text": "boolean"
8353
+ },
8354
+ "default": "true",
8355
+ "description": "Attribute to set whether the datasource should restart when it reconnects."
8356
+ },
8357
+ {
8358
+ "kind": "field",
8359
+ "name": "defaultRowIdByResourceType",
8360
+ "type": {
8361
+ "text": "string"
8362
+ },
8363
+ "privacy": "protected",
8364
+ "readonly": true
8365
+ },
8366
+ {
8367
+ "kind": "field",
8368
+ "name": "criteriaFromFilters",
8369
+ "type": {
8370
+ "text": "Map<string, string>"
8371
+ },
8372
+ "privacy": "protected",
8373
+ "default": "new Map()"
8374
+ },
8375
+ {
8376
+ "kind": "field",
8377
+ "name": "update",
8378
+ "type": {
8379
+ "text": "BehaviorSubject<Map<string, string>>"
8380
+ },
8381
+ "privacy": "protected",
8382
+ "default": "new BehaviorSubject(new Map())"
8383
+ },
8384
+ {
8385
+ "kind": "method",
8386
+ "name": "datasourceOptions",
8387
+ "privacy": "protected",
8388
+ "return": {
8389
+ "type": {
8390
+ "text": "DatasourceOptions"
8391
+ }
8392
+ }
8393
+ },
8394
+ {
8395
+ "kind": "method",
8396
+ "name": "buildCriteria",
8397
+ "privacy": "private",
8398
+ "return": {
8399
+ "type": {
8400
+ "text": "string"
8401
+ }
8402
+ }
8403
+ },
8404
+ {
8405
+ "kind": "method",
8406
+ "name": "setFilter",
8407
+ "privacy": "public",
8408
+ "parameters": [
8409
+ {
8410
+ "name": "fieldName",
8411
+ "type": {
8412
+ "text": "string"
8413
+ }
8414
+ },
8415
+ {
8416
+ "name": "newFilter",
8417
+ "type": {
8418
+ "text": "string"
8419
+ }
8420
+ }
8421
+ ]
8422
+ },
8423
+ {
8424
+ "kind": "method",
8425
+ "name": "removeFilter",
8426
+ "privacy": "public",
8427
+ "parameters": [
8428
+ {
8429
+ "name": "fieldName",
8430
+ "type": {
8431
+ "text": "string"
8432
+ }
8433
+ }
8434
+ ]
8435
+ },
8436
+ {
8437
+ "kind": "field",
8438
+ "name": "isRequestServer",
8439
+ "type": {
8440
+ "text": "boolean"
8441
+ },
8442
+ "readonly": true
8443
+ },
8444
+ {
8445
+ "kind": "method",
8446
+ "name": "datasourceStatusChanged",
8447
+ "parameters": [
8135
8448
  {
8136
8449
  "name": "prev",
8137
8450
  "type": {
@@ -16284,319 +16597,6 @@
16284
16597
  }
16285
16598
  ]
16286
16599
  },
16287
- {
16288
- "kind": "javascript-module",
16289
- "path": "src/column/column.template.ts",
16290
- "declarations": [
16291
- {
16292
- "kind": "variable",
16293
- "name": "ColumnTemplate",
16294
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
16295
- "description": "The Grid Pro Column Template.",
16296
- "privacy": "public"
16297
- }
16298
- ],
16299
- "exports": [
16300
- {
16301
- "kind": "js",
16302
- "name": "ColumnTemplate",
16303
- "declaration": {
16304
- "name": "ColumnTemplate",
16305
- "module": "src/column/column.template.ts"
16306
- }
16307
- }
16308
- ]
16309
- },
16310
- {
16311
- "kind": "javascript-module",
16312
- "path": "src/column/column.ts",
16313
- "declarations": [
16314
- {
16315
- "kind": "class",
16316
- "description": "The Grid Pro Column element.",
16317
- "name": "GridProColumn",
16318
- "members": [
16319
- {
16320
- "kind": "field",
16321
- "name": "slottedAgCell",
16322
- "type": {
16323
- "text": "HTMLElement[]"
16324
- },
16325
- "privacy": "public"
16326
- },
16327
- {
16328
- "kind": "field",
16329
- "name": "definition",
16330
- "type": {
16331
- "text": "ColDef"
16332
- },
16333
- "default": "{}"
16334
- },
16335
- {
16336
- "kind": "method",
16337
- "name": "slottedAgCellChanged",
16338
- "privacy": "public"
16339
- },
16340
- {
16341
- "kind": "method",
16342
- "name": "deepClone",
16343
- "return": {
16344
- "type": {
16345
- "text": "Node"
16346
- }
16347
- },
16348
- "inheritedFrom": {
16349
- "name": "LifecycleMixin",
16350
- "module": "src/mixins/lifecycle/lifecycle.ts"
16351
- }
16352
- },
16353
- {
16354
- "kind": "method",
16355
- "name": "cloneNode",
16356
- "return": {
16357
- "type": {
16358
- "text": "Node"
16359
- }
16360
- },
16361
- "parameters": [
16362
- {
16363
- "name": "deep",
16364
- "optional": true,
16365
- "type": {
16366
- "text": "boolean"
16367
- }
16368
- }
16369
- ],
16370
- "inheritedFrom": {
16371
- "name": "LifecycleMixin",
16372
- "module": "src/mixins/lifecycle/lifecycle.ts"
16373
- }
16374
- },
16375
- {
16376
- "kind": "field",
16377
- "name": "shouldRunDisconnect",
16378
- "return": {
16379
- "type": {
16380
- "text": ""
16381
- }
16382
- },
16383
- "readonly": true,
16384
- "inheritedFrom": {
16385
- "name": "LifecycleMixin",
16386
- "module": "src/mixins/lifecycle/lifecycle.ts"
16387
- }
16388
- },
16389
- {
16390
- "kind": "field",
16391
- "name": "shouldRunConnect",
16392
- "return": {
16393
- "type": {
16394
- "text": ""
16395
- }
16396
- },
16397
- "readonly": true,
16398
- "inheritedFrom": {
16399
- "name": "LifecycleMixin",
16400
- "module": "src/mixins/lifecycle/lifecycle.ts"
16401
- }
16402
- },
16403
- {
16404
- "kind": "method",
16405
- "name": "#_blockLifecycleDueToTokenChange",
16406
- "return": {
16407
- "type": {
16408
- "text": "boolean"
16409
- }
16410
- },
16411
- "parameters": [
16412
- {
16413
- "name": "lifecycleType",
16414
- "type": {
16415
- "text": "Lifecycletype"
16416
- }
16417
- }
16418
- ],
16419
- "inheritedFrom": {
16420
- "name": "LifecycleMixin",
16421
- "module": "src/mixins/lifecycle/lifecycle.ts"
16422
- }
16423
- },
16424
- {
16425
- "kind": "field",
16426
- "name": "_presentation",
16427
- "type": {
16428
- "text": "ComponentPresentation | null | undefined"
16429
- },
16430
- "privacy": "private",
16431
- "default": "void 0",
16432
- "inheritedFrom": {
16433
- "name": "FoundationElement",
16434
- "module": "src/foundation-element/foundation-element.ts"
16435
- }
16436
- },
16437
- {
16438
- "kind": "field",
16439
- "name": "$presentation",
16440
- "type": {
16441
- "text": "ComponentPresentation | null"
16442
- },
16443
- "privacy": "public",
16444
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
16445
- "inheritedFrom": {
16446
- "name": "FoundationElement",
16447
- "module": "src/foundation-element/foundation-element.ts"
16448
- }
16449
- },
16450
- {
16451
- "kind": "field",
16452
- "name": "template",
16453
- "type": {
16454
- "text": "ElementViewTemplate | void | null"
16455
- },
16456
- "privacy": "public",
16457
- "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.",
16458
- "inheritedFrom": {
16459
- "name": "FoundationElement",
16460
- "module": "src/foundation-element/foundation-element.ts"
16461
- }
16462
- },
16463
- {
16464
- "kind": "method",
16465
- "name": "templateChanged",
16466
- "privacy": "protected",
16467
- "return": {
16468
- "type": {
16469
- "text": "void"
16470
- }
16471
- },
16472
- "inheritedFrom": {
16473
- "name": "FoundationElement",
16474
- "module": "src/foundation-element/foundation-element.ts"
16475
- }
16476
- },
16477
- {
16478
- "kind": "field",
16479
- "name": "styles",
16480
- "type": {
16481
- "text": "ElementStyles | void | null"
16482
- },
16483
- "privacy": "public",
16484
- "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.",
16485
- "inheritedFrom": {
16486
- "name": "FoundationElement",
16487
- "module": "src/foundation-element/foundation-element.ts"
16488
- }
16489
- },
16490
- {
16491
- "kind": "method",
16492
- "name": "stylesChanged",
16493
- "privacy": "protected",
16494
- "return": {
16495
- "type": {
16496
- "text": "void"
16497
- }
16498
- },
16499
- "inheritedFrom": {
16500
- "name": "FoundationElement",
16501
- "module": "src/foundation-element/foundation-element.ts"
16502
- }
16503
- },
16504
- {
16505
- "kind": "method",
16506
- "name": "compose",
16507
- "privacy": "public",
16508
- "static": true,
16509
- "return": {
16510
- "type": {
16511
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
16512
- }
16513
- },
16514
- "parameters": [
16515
- {
16516
- "name": "this",
16517
- "type": {
16518
- "text": "K"
16519
- }
16520
- },
16521
- {
16522
- "name": "elementDefinition",
16523
- "type": {
16524
- "text": "T"
16525
- },
16526
- "description": "The definition of the element to create the registry\nfunction for."
16527
- }
16528
- ],
16529
- "description": "Defines an element registry function with a set of element definition defaults.",
16530
- "inheritedFrom": {
16531
- "name": "FoundationElement",
16532
- "module": "src/foundation-element/foundation-element.ts"
16533
- }
16534
- }
16535
- ],
16536
- "mixins": [
16537
- {
16538
- "name": "LifecycleMixin",
16539
- "package": "@genesislcap/foundation-utils"
16540
- }
16541
- ],
16542
- "superclass": {
16543
- "name": "FoundationElement",
16544
- "package": "@microsoft/fast-foundation"
16545
- },
16546
- "tagName": "grid-pro-column",
16547
- "customElement": true
16548
- }
16549
- ],
16550
- "exports": [
16551
- {
16552
- "kind": "js",
16553
- "name": "GridProColumn",
16554
- "declaration": {
16555
- "name": "GridProColumn",
16556
- "module": "src/column/column.ts"
16557
- }
16558
- },
16559
- {
16560
- "kind": "custom-element-definition",
16561
- "name": "grid-pro-column",
16562
- "declaration": {
16563
- "name": "GridProColumn",
16564
- "module": "src/column/column.ts"
16565
- }
16566
- }
16567
- ]
16568
- },
16569
- {
16570
- "kind": "javascript-module",
16571
- "path": "src/column/index.ts",
16572
- "declarations": [],
16573
- "exports": [
16574
- {
16575
- "kind": "js",
16576
- "name": "*",
16577
- "declaration": {
16578
- "name": "*",
16579
- "package": "./column.template"
16580
- }
16581
- },
16582
- {
16583
- "kind": "js",
16584
- "name": "*",
16585
- "declaration": {
16586
- "name": "*",
16587
- "package": "./column"
16588
- }
16589
- },
16590
- {
16591
- "kind": "js",
16592
- "name": "*",
16593
- "declaration": {
16594
- "name": "*",
16595
- "package": "./utils"
16596
- }
16597
- }
16598
- ]
16599
- },
16600
16600
  {
16601
16601
  "kind": "javascript-module",
16602
16602
  "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": "14.491.1",
4
+ "version": "14.492.0-GENC-1462.1",
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": "14.491.1",
44
- "@genesislcap/genx": "14.491.1",
45
- "@genesislcap/rollup-builder": "14.491.1",
46
- "@genesislcap/ts-builder": "14.491.1",
47
- "@genesislcap/uvu-playwright-builder": "14.491.1",
48
- "@genesislcap/vite-builder": "14.491.1",
49
- "@genesislcap/webpack-builder": "14.491.1"
43
+ "@genesislcap/foundation-testing": "14.492.0-GENC-1462.1",
44
+ "@genesislcap/genx": "14.492.0-GENC-1462.1",
45
+ "@genesislcap/rollup-builder": "14.492.0-GENC-1462.1",
46
+ "@genesislcap/ts-builder": "14.492.0-GENC-1462.1",
47
+ "@genesislcap/uvu-playwright-builder": "14.492.0-GENC-1462.1",
48
+ "@genesislcap/vite-builder": "14.492.0-GENC-1462.1",
49
+ "@genesislcap/webpack-builder": "14.492.0-GENC-1462.1"
50
50
  },
51
51
  "dependencies": {
52
- "@genesislcap/foundation-comms": "14.491.1",
53
- "@genesislcap/foundation-criteria": "14.491.1",
54
- "@genesislcap/foundation-logger": "14.491.1",
55
- "@genesislcap/foundation-ui": "14.491.1",
56
- "@genesislcap/foundation-utils": "14.491.1",
52
+ "@genesislcap/foundation-comms": "14.492.0-GENC-1462.1",
53
+ "@genesislcap/foundation-criteria": "14.492.0-GENC-1462.1",
54
+ "@genesislcap/foundation-logger": "14.492.0-GENC-1462.1",
55
+ "@genesislcap/foundation-ui": "14.492.0-GENC-1462.1",
56
+ "@genesislcap/foundation-utils": "14.492.0-GENC-1462.1",
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": "f4f0c1e530c16f54fda208dd503b79f14cc9200c"
94
+ "gitHead": "dabde96a5bba84756a0c5ddc4f679d747179735d"
95
95
  }