@genesislcap/grid-pro 14.407.0-FUI-2491.1 → 14.407.0-workspaces.4

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1510 -1510
  2. package/package.json +14 -14
@@ -15086,503 +15086,533 @@
15086
15086
  },
15087
15087
  {
15088
15088
  "kind": "javascript-module",
15089
- "path": "src/multicolumn-dropdown/index.ts",
15090
- "declarations": [],
15091
- "exports": [
15092
- {
15093
- "kind": "js",
15094
- "name": "*",
15095
- "declaration": {
15096
- "name": "*",
15097
- "package": "./multicolumn-dropdown"
15098
- }
15099
- },
15100
- {
15101
- "kind": "js",
15102
- "name": "*",
15103
- "declaration": {
15104
- "name": "*",
15105
- "package": "./multicolumn-dropdown.styles"
15106
- }
15107
- },
15108
- {
15109
- "kind": "js",
15110
- "name": "*",
15111
- "declaration": {
15112
- "name": "*",
15113
- "package": "./multicolumn-dropdown.template"
15114
- }
15115
- }
15116
- ]
15117
- },
15118
- {
15119
- "kind": "javascript-module",
15120
- "path": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts",
15089
+ "path": "src/grid-pro-genesis-datasource/datasource-events.types.ts",
15121
15090
  "declarations": [
15122
15091
  {
15123
15092
  "kind": "variable",
15124
- "name": "dropdownWidthVar",
15125
- "type": {
15126
- "text": "string"
15127
- },
15128
- "default": "'--dropdown-width'",
15129
- "description": "The CSS variable to use for specifying the dropdown's width"
15130
- },
15131
- {
15132
- "kind": "variable",
15133
- "name": "optionsClass",
15134
- "type": {
15135
- "text": "string"
15136
- },
15137
- "default": "'options'",
15138
- "description": "The CSS class to use for the options element's class in the dropdown"
15139
- },
15140
- {
15141
- "kind": "variable",
15142
- "name": "DISPLAY_NONE_CLASS",
15093
+ "name": "datasourceEventNames",
15143
15094
  "type": {
15144
- "text": "string"
15145
- },
15146
- "default": "'dnone'",
15147
- "description": "Class name used to hide elements with display:none"
15148
- },
15149
- {
15150
- "kind": "variable",
15151
- "name": "multicolumnDropdownStyles",
15152
- "default": "css`\n label {\n color: var(--neutral-foreground-hint, rgb(135 155 166));\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n\n .${DISPLAY_NONE_CLASS} {\n display: none !important;\n }\n\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n ${dropdownWidthVar}: 350px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: inherit;\n min-height: 40px;\n padding-left: calc(var(--design-unit) * 2.25px);\n padding-right: 52px;\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n text-overflow: ellipsis;\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: var(--disabled-opacity);\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid var(--neutral-stroke-hover, rgb(231 232 232));\n }\n\n button {\n pointer-events: none;\n }\n\n #arrow-icon {\n display: inline-block;\n width: 16px;\n color: currentColor;\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .cross-icon {\n display: inline-block;\n width: 12px;\n color: currentColor;\n position: absolute;\n left: calc(100% - 46px);\n padding: 0;\n cursor: pointer;\n visibility: hidden;\n }\n\n .cross-icon:hover {\n color: var(--error-color);\n }\n\n .disabled-icon {\n pointer-events: none;\n opacity: var(--disabled-opacity);\n }\n\n .${optionsClass} {\n min-width: 100%;\n width: var(${dropdownWidthVar});\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin: 5px 0;\n background: var(--neutral-fill-input-rest);\n visibility: hidden;\n z-index: 999;\n }\n\n .dropdown-above {\n bottom: 100%;\n }\n\n .dropdown-left {\n right: 0;\n }\n\n .grid-container {\n height: 300px;\n width: 100%;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n .visible {\n visibility: visible;\n }\n`",
15153
- "description": "Multicolumn Dropdown styles.",
15154
- "privacy": "public"
15155
- }
15156
- ],
15157
- "exports": [
15158
- {
15159
- "kind": "js",
15160
- "name": "dropdownWidthVar",
15161
- "declaration": {
15162
- "name": "dropdownWidthVar",
15163
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
15164
- }
15165
- },
15166
- {
15167
- "kind": "js",
15168
- "name": "optionsClass",
15169
- "declaration": {
15170
- "name": "optionsClass",
15171
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
15172
- }
15173
- },
15174
- {
15175
- "kind": "js",
15176
- "name": "DISPLAY_NONE_CLASS",
15177
- "declaration": {
15178
- "name": "DISPLAY_NONE_CLASS",
15179
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
15180
- }
15181
- },
15182
- {
15183
- "kind": "js",
15184
- "name": "multicolumnDropdownStyles",
15185
- "declaration": {
15186
- "name": "multicolumnDropdownStyles",
15187
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
15188
- }
15189
- }
15190
- ]
15191
- },
15192
- {
15193
- "kind": "javascript-module",
15194
- "path": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts",
15195
- "declarations": [
15196
- {
15197
- "kind": "function",
15198
- "name": "getMulticolumnDropdownTemplate",
15199
- "parameters": [
15200
- {
15201
- "name": "designSystem",
15202
- "default": "'foundation'",
15203
- "description": "The design system prefix to use. Defaults to 'foundation'."
15204
- }
15205
- ],
15206
- "description": "Get a Design System prefixed Multicolumn Dropdown template.",
15207
- "return": {
15208
- "type": {
15209
- "text": ""
15210
- }
15095
+ "text": "{\n // Initialization events\n initialize: 'datasource-initialize',\n ready: 'datasource-ready',\n\n // Data events\n dataLoaded: 'datasource-data-loaded',\n dataChanged: 'datasource-data-changed',\n dataCleared: 'datasource-data-cleared',\n\n // Schema events\n schemaUpdated: 'datasource-schema-updated',\n\n // Status events\n loadingStarted: 'datasource-loading-started',\n loadingFinished: 'datasource-loading-finished',\n noDataAvailable: 'datasource-no-data-available',\n moreDataAvailable: 'datasource-more-data-available',\n\n // Filter events\n filtersRestored: 'datasource-filters-restored',\n\n // Error events\n error: 'datasource-error',\n\n // Destroy datasource events\n destroy: 'datasource-destroy',\n\n // Size events\n sizeChanged: 'datasource-size-changed',\n\n // Server-side specific events\n cacheFilterConfig: 'cache-filter-config',\n refreshServerSide: 'refresh-server-side',\n setServerSideDatasource: 'set-server-side-datasource',\n addGridCssClass: 'add-grid-css-class',\n removeGridCssClass: 'remove-grid-css-class',\n applyServerSideTransaction: 'apply-server-side-transaction',\n}"
15211
15096
  },
15212
- "privacy": "public"
15213
- },
15214
- {
15215
- "kind": "variable",
15216
- "name": "multicolumnDropdownTemplate",
15217
- "description": "The default Multicolumn Dropdown template using the 'foundation' design system prefix.",
15218
- "privacy": "public"
15097
+ "default": "{\n // Initialization events\n initialize: 'datasource-initialize',\n ready: 'datasource-ready',\n\n // Data events\n dataLoaded: 'datasource-data-loaded',\n dataChanged: 'datasource-data-changed',\n dataCleared: 'datasource-data-cleared',\n\n // Schema events\n schemaUpdated: 'datasource-schema-updated',\n\n // Status events\n loadingStarted: 'datasource-loading-started',\n loadingFinished: 'datasource-loading-finished',\n noDataAvailable: 'datasource-no-data-available',\n moreDataAvailable: 'datasource-more-data-available',\n\n // Filter events\n filtersRestored: 'datasource-filters-restored',\n\n // Error events\n error: 'datasource-error',\n\n // Destroy datasource events\n destroy: 'datasource-destroy',\n\n // Size events\n sizeChanged: 'datasource-size-changed',\n\n // Server-side specific events\n cacheFilterConfig: 'cache-filter-config',\n refreshServerSide: 'refresh-server-side',\n setServerSideDatasource: 'set-server-side-datasource',\n addGridCssClass: 'add-grid-css-class',\n removeGridCssClass: 'remove-grid-css-class',\n applyServerSideTransaction: 'apply-server-side-transaction',\n}",
15098
+ "description": "Event names for datasource-grid communication\nThese represent datasource operations, not grid-specific actions"
15219
15099
  }
15220
15100
  ],
15221
15101
  "exports": [
15222
15102
  {
15223
15103
  "kind": "js",
15224
- "name": "getMulticolumnDropdownTemplate",
15225
- "declaration": {
15226
- "name": "getMulticolumnDropdownTemplate",
15227
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts"
15228
- }
15229
- },
15230
- {
15231
- "kind": "js",
15232
- "name": "multicolumnDropdownTemplate",
15104
+ "name": "datasourceEventNames",
15233
15105
  "declaration": {
15234
- "name": "multicolumnDropdownTemplate",
15235
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts"
15106
+ "name": "datasourceEventNames",
15107
+ "module": "src/grid-pro-genesis-datasource/datasource-events.types.ts"
15236
15108
  }
15237
15109
  }
15238
15110
  ]
15239
15111
  },
15240
15112
  {
15241
15113
  "kind": "javascript-module",
15242
- "path": "src/multicolumn-dropdown/multicolumn-dropdown.ts",
15114
+ "path": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts",
15243
15115
  "declarations": [
15244
15116
  {
15245
- "kind": "function",
15246
- "name": "wasClickOutsideElement",
15247
- "parameters": [
15117
+ "kind": "class",
15118
+ "description": "The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.",
15119
+ "name": "GridProGenesisDatasource",
15120
+ "members": [
15248
15121
  {
15249
- "name": "event",
15122
+ "kind": "field",
15123
+ "name": "cachedRowArray",
15250
15124
  "type": {
15251
- "text": "MouseEvent"
15252
- }
15125
+ "text": "any[]"
15126
+ },
15127
+ "privacy": "private",
15128
+ "default": "[]"
15253
15129
  },
15254
15130
  {
15255
- "name": "target",
15131
+ "kind": "field",
15132
+ "name": "transactionData",
15256
15133
  "type": {
15257
- "text": "EventTarget"
15134
+ "text": "TransactionData"
15135
+ },
15136
+ "privacy": "protected",
15137
+ "default": "{\n add: [],\n remove: [],\n update: [],\n addIndex: 0,\n }",
15138
+ "inheritedFrom": {
15139
+ "name": "GridProBaseDatasource",
15140
+ "module": "src/datasource/base.datasource.ts"
15258
15141
  }
15259
- }
15260
- ],
15261
- "description": "Checks if the given mouse event occurred outside the target element.",
15262
- "privacy": "public"
15263
- },
15264
- {
15265
- "kind": "class",
15266
- "description": "",
15267
- "name": "MulticolumnDropdown",
15268
- "members": [
15142
+ },
15143
+ {
15144
+ "kind": "method",
15145
+ "name": "criteriaChanged",
15146
+ "parameters": [
15147
+ {
15148
+ "name": "oldCriteria",
15149
+ "type": {
15150
+ "text": "string"
15151
+ }
15152
+ },
15153
+ {
15154
+ "name": "newCriteria",
15155
+ "type": {
15156
+ "text": "string"
15157
+ }
15158
+ }
15159
+ ]
15160
+ },
15161
+ {
15162
+ "kind": "method",
15163
+ "name": "requestChanged",
15164
+ "parameters": [
15165
+ {
15166
+ "name": "oldRequest",
15167
+ "type": {
15168
+ "text": "string"
15169
+ }
15170
+ },
15171
+ {
15172
+ "name": "newRequest",
15173
+ "type": {
15174
+ "text": "string"
15175
+ }
15176
+ }
15177
+ ]
15178
+ },
15179
+ {
15180
+ "kind": "method",
15181
+ "name": "resourceNameChanged",
15182
+ "parameters": [
15183
+ {
15184
+ "name": "oldValue",
15185
+ "type": {
15186
+ "text": "string"
15187
+ }
15188
+ },
15189
+ {
15190
+ "name": "newValue",
15191
+ "type": {
15192
+ "text": "string"
15193
+ }
15194
+ }
15195
+ ]
15196
+ },
15269
15197
  {
15270
15198
  "kind": "field",
15271
- "name": "optionsElement",
15199
+ "name": "keepColDefsOnClearRowData",
15272
15200
  "type": {
15273
- "text": "HTMLElement"
15201
+ "text": "boolean"
15202
+ },
15203
+ "privacy": "public",
15204
+ "default": "false",
15205
+ "inheritedFrom": {
15206
+ "name": "GridProBaseDatasource",
15207
+ "module": "src/datasource/base.datasource.ts"
15274
15208
  }
15275
15209
  },
15276
15210
  {
15277
15211
  "kind": "field",
15278
- "name": "lastRequest",
15212
+ "name": "dataSub",
15279
15213
  "type": {
15280
- "text": "object"
15214
+ "text": "Subscription"
15281
15215
  },
15282
15216
  "privacy": "private"
15283
15217
  },
15284
15218
  {
15285
15219
  "kind": "field",
15286
- "name": "connectOverride",
15220
+ "name": "updateSub",
15287
15221
  "type": {
15288
- "text": "Connect"
15222
+ "text": "Subscription"
15289
15223
  },
15290
15224
  "privacy": "private"
15291
15225
  },
15292
15226
  {
15293
15227
  "kind": "field",
15294
- "name": "_connectDI",
15295
- "type": {
15296
- "text": "Connect"
15297
- },
15298
- "privacy": "private"
15299
- },
15300
- {
15301
- "kind": "field",
15302
- "name": "connect",
15303
- "type": {
15304
- "text": "Connect"
15305
- },
15306
- "description": "The connect service - uses DI by default, but can be manually set for dynamic element creation"
15307
- },
15308
- {
15309
- "kind": "field",
15310
- "name": "disabled",
15228
+ "name": "requiresFullRowDataAndColDefs",
15311
15229
  "type": {
15312
15230
  "text": "boolean"
15313
15231
  },
15314
- "privacy": "public",
15315
- "description": "Whether to disable control of the component"
15316
- },
15317
- {
15318
- "kind": "field",
15319
- "name": "resourceName",
15320
- "type": {
15321
- "text": "string"
15322
- },
15323
- "privacy": "public",
15324
- "description": "The name of the reqrep to get the options from"
15325
- },
15326
- {
15327
- "kind": "field",
15328
- "name": "searchKey",
15329
- "type": {
15330
- "text": "string | string[] | undefined"
15331
- },
15332
- "privacy": "public",
15333
- "description": "The key(s) to search by. Use comma-separated values for multiple keys (e.g. search-key=\"NAME,ID\")."
15232
+ "privacy": "private",
15233
+ "default": "true"
15334
15234
  },
15335
15235
  {
15336
15236
  "kind": "field",
15337
- "name": "requestSupportsAdvancedSearch",
15237
+ "name": "_lastMoreRows",
15338
15238
  "type": {
15339
15239
  "text": "boolean"
15340
15240
  },
15341
- "privacy": "public",
15342
- "default": "false",
15343
- "description": "Tells whether a given request supports lookup by Groovy Expressions."
15241
+ "privacy": "private",
15242
+ "default": "false"
15344
15243
  },
15345
15244
  {
15346
15245
  "kind": "field",
15347
- "name": "valueKey",
15246
+ "name": "_isMoreRowsResult",
15348
15247
  "type": {
15349
- "text": "string"
15248
+ "text": "boolean"
15350
15249
  },
15351
- "privacy": "public",
15352
- "description": "The key used as the value sent to the server"
15250
+ "privacy": "private",
15251
+ "default": "false"
15353
15252
  },
15354
15253
  {
15355
15254
  "kind": "field",
15356
- "name": "labelKey",
15255
+ "name": "_sourceRef",
15357
15256
  "type": {
15358
15257
  "text": "string"
15359
15258
  },
15360
- "privacy": "public",
15361
- "description": "The key used as the label displayed in the UI"
15259
+ "privacy": "private"
15362
15260
  },
15363
15261
  {
15364
15262
  "kind": "field",
15365
- "name": "dropdownPlacement",
15263
+ "name": "_nextOffset",
15366
15264
  "type": {
15367
- "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
15265
+ "text": "number"
15368
15266
  },
15369
- "description": "Position of the dropdown panel relative to the control.\n- `'bottom-right'` – default; opens below and aligns to the right edge of the control\n- `'bottom-left'` – opens below and extends to the left\n- `'top-right'` – opens above and aligns to the right edge of the control\n- `'top-left'` – opens above and extends to the left"
15267
+ "privacy": "private",
15268
+ "default": "0"
15370
15269
  },
15371
15270
  {
15372
15271
  "kind": "field",
15373
- "name": "dropdownWidth",
15272
+ "name": "_loadMoreCount",
15374
15273
  "type": {
15375
15274
  "text": "number"
15376
15275
  },
15377
- "privacy": "public",
15378
- "description": "Optionally specifies the width of the dropdown"
15276
+ "privacy": "private",
15277
+ "default": "0"
15379
15278
  },
15380
15279
  {
15381
- "kind": "field",
15382
- "name": "request",
15383
- "type": {
15384
- "text": "object"
15280
+ "kind": "method",
15281
+ "name": "deepClone",
15282
+ "return": {
15283
+ "type": {
15284
+ "text": "Node"
15285
+ }
15385
15286
  },
15386
- "privacy": "public",
15387
- "description": "A request object to pass in the reqrep"
15287
+ "inheritedFrom": {
15288
+ "name": "LifecycleMixin",
15289
+ "module": "src/mixins/lifecycle/lifecycle.ts"
15290
+ }
15388
15291
  },
15389
15292
  {
15390
- "kind": "field",
15391
- "name": "columnDefinitions",
15392
- "type": {
15393
- "text": "ColDef[]"
15293
+ "kind": "method",
15294
+ "name": "colDefsDeepClone",
15295
+ "privacy": "private",
15296
+ "return": {
15297
+ "type": {
15298
+ "text": "ColDef[]"
15299
+ }
15394
15300
  },
15395
- "privacy": "public",
15396
- "description": "An array of AG Grid column definitions to use in the grid to display the data"
15301
+ "parameters": [
15302
+ {
15303
+ "name": "key",
15304
+ "type": {
15305
+ "text": "string"
15306
+ }
15307
+ },
15308
+ {
15309
+ "name": "copy",
15310
+ "type": {
15311
+ "text": "any"
15312
+ }
15313
+ }
15314
+ ]
15397
15315
  },
15398
15316
  {
15399
- "kind": "field",
15400
- "name": "baseCriteria",
15401
- "type": {
15402
- "text": "string | undefined"
15403
- },
15404
- "privacy": "public",
15405
- "description": "Base criteria that is always applied to requests combined with search criteria via AND.\nUse this to pre-filter results."
15317
+ "kind": "method",
15318
+ "name": "init",
15319
+ "parameters": [
15320
+ {
15321
+ "name": "keepColDefsOnClearRowData",
15322
+ "optional": true,
15323
+ "type": {
15324
+ "text": "boolean"
15325
+ }
15326
+ },
15327
+ {
15328
+ "description": "Optionally set the `gridOptions` up with column definitions",
15329
+ "name": "columnDefinitions"
15330
+ },
15331
+ {
15332
+ "description": "Optionally set the grid up with column state",
15333
+ "name": "columnStates"
15334
+ }
15335
+ ],
15336
+ "description": "Initializes the datasource.",
15337
+ "privacy": "public"
15406
15338
  },
15407
15339
  {
15408
- "kind": "field",
15409
- "name": "defaultSlottedNodes",
15410
- "type": {
15411
- "text": "Node[]"
15412
- },
15340
+ "kind": "method",
15341
+ "name": "destroy",
15342
+ "description": "Destroys the datasource, resetting it to its initial state.",
15413
15343
  "privacy": "public",
15414
- "default": "[]"
15344
+ "inheritedFrom": {
15345
+ "name": "GridProBaseDatasource",
15346
+ "module": "src/datasource/base.datasource.ts"
15347
+ }
15415
15348
  },
15416
15349
  {
15417
- "kind": "field",
15418
- "name": "grid",
15419
- "type": {
15420
- "text": "GridPro"
15421
- },
15350
+ "kind": "method",
15351
+ "name": "deinit",
15352
+ "description": "Deinitialises the datasource, resetting it to its initial state.",
15353
+ "deprecated": "Use `destroy` instead",
15422
15354
  "privacy": "public"
15423
15355
  },
15424
15356
  {
15425
- "kind": "field",
15426
- "name": "_value",
15427
- "type": {
15428
- "text": "string"
15429
- },
15430
- "privacy": "private"
15431
- },
15432
- {
15433
- "kind": "field",
15434
- "name": "value",
15435
- "type": {
15436
- "text": "string"
15437
- }
15438
- },
15439
- {
15440
- "kind": "field",
15441
- "name": "filterSearch",
15442
- "type": {
15443
- "text": "string"
15444
- },
15357
+ "kind": "method",
15358
+ "name": "reset",
15359
+ "description": "Resets the datasource to its initial state.",
15445
15360
  "privacy": "public",
15446
- "description": "The criteria to search by"
15361
+ "deprecated": "Use `destroy` instead"
15447
15362
  },
15448
15363
  {
15449
- "kind": "field",
15450
- "name": "open",
15451
- "type": {
15452
- "text": "boolean"
15453
- },
15364
+ "kind": "method",
15365
+ "name": "restart",
15366
+ "description": "Restarts the datasource, uses `destroy` and `init` in sequence.",
15454
15367
  "privacy": "public",
15455
- "description": "Whether the dropdown is open or not"
15456
- },
15457
- {
15458
- "kind": "field",
15459
- "name": "selectedRow",
15460
- "type": {
15461
- "text": "object"
15462
- },
15463
- "description": "Data for the selected row"
15464
- },
15465
- {
15466
- "kind": "field",
15467
- "name": "displayValue",
15468
- "description": "Value to display in the form field",
15469
- "readonly": true
15368
+ "inheritedFrom": {
15369
+ "name": "GridProBaseDatasource",
15370
+ "module": "src/datasource/base.datasource.ts"
15371
+ }
15470
15372
  },
15471
15373
  {
15472
- "kind": "field",
15473
- "name": "hasSearchKey",
15474
- "type": {
15475
- "text": "boolean"
15476
- },
15477
- "readonly": true
15374
+ "kind": "method",
15375
+ "name": "refreshRows",
15376
+ "description": "Force the grid to redispatch the current rows"
15478
15377
  },
15479
15378
  {
15480
- "kind": "field",
15481
- "name": "hasSlottedContent",
15482
- "type": {
15483
- "text": "boolean"
15379
+ "kind": "method",
15380
+ "name": "reloadResourceData",
15381
+ "privacy": "public",
15382
+ "return": {
15383
+ "type": {
15384
+ "text": "Promise<void>"
15385
+ }
15484
15386
  },
15485
- "readonly": true
15387
+ "description": "Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.\nLoads resource data without full initialization (no metadata fetch).",
15388
+ "inheritedFrom": {
15389
+ "name": "GridProBaseDatasource",
15390
+ "module": "src/datasource/base.datasource.ts"
15391
+ }
15486
15392
  },
15487
15393
  {
15488
15394
  "kind": "method",
15489
- "name": "setGridRowData",
15395
+ "name": "handleSnapshot",
15490
15396
  "privacy": "private",
15491
15397
  "parameters": [
15492
15398
  {
15493
- "name": "rows",
15494
- "type": {
15495
- "text": "any[]"
15496
- }
15399
+ "name": "result"
15497
15400
  }
15498
- ],
15499
- "description": "Sets row data on the grid in a version-safe way.\nAG Grid v32+ removed `setRowData` in favour of `updateGridOptions`."
15401
+ ]
15500
15402
  },
15501
15403
  {
15502
15404
  "kind": "method",
15503
- "name": "setGridColumnDefs",
15405
+ "name": "handleStreamResult",
15504
15406
  "privacy": "private",
15505
15407
  "parameters": [
15506
15408
  {
15507
- "name": "colDefs",
15409
+ "name": "result",
15508
15410
  "type": {
15509
- "text": "ColDef[]"
15411
+ "text": "FilteredDataServerResult | RequestServerResult"
15510
15412
  }
15511
15413
  }
15512
- ],
15513
- "description": "Sets column defs on the grid in a version-safe way.\nAG Grid v32+ removed `setColumnDefs` in favour of `updateGridOptions`."
15414
+ ]
15514
15415
  },
15515
15416
  {
15516
15417
  "kind": "method",
15517
- "name": "emitValue",
15418
+ "name": "updateLoadMoreStatus",
15518
15419
  "privacy": "private",
15519
15420
  "parameters": [
15520
15421
  {
15521
- "name": "value",
15422
+ "name": "moreRows",
15423
+ "type": {
15424
+ "text": "boolean"
15425
+ },
15426
+ "description": "Whether more rows are available"
15427
+ },
15428
+ {
15429
+ "name": "sourceRef",
15522
15430
  "type": {
15523
15431
  "text": "string"
15524
- }
15432
+ },
15433
+ "description": "The source reference"
15434
+ },
15435
+ {
15436
+ "description": "The total number of rows",
15437
+ "name": "rowsCount"
15525
15438
  }
15526
15439
  ],
15527
- "description": "Emits 'change' and 'input' events so that the `sync` directive and forms work correctly."
15440
+ "description": "Updates the status bar based on more rows status"
15528
15441
  },
15529
15442
  {
15530
15443
  "kind": "method",
15531
- "name": "toggle",
15532
- "privacy": "public"
15444
+ "name": "applyRequestServerData",
15445
+ "privacy": "private",
15446
+ "parameters": [
15447
+ {
15448
+ "name": "requestServerResult",
15449
+ "type": {
15450
+ "text": "RequestServerResult"
15451
+ }
15452
+ }
15453
+ ]
15533
15454
  },
15534
15455
  {
15535
15456
  "kind": "method",
15536
- "name": "getAndSetRows",
15537
- "privacy": "private"
15457
+ "name": "applyDataserverData",
15458
+ "privacy": "private",
15459
+ "parameters": [
15460
+ {
15461
+ "name": "dataServerResult",
15462
+ "type": {
15463
+ "text": "FilteredDataServerResult"
15464
+ }
15465
+ }
15466
+ ]
15538
15467
  },
15539
15468
  {
15540
- "kind": "field",
15541
- "name": "getAndSetRowsDebounce",
15542
- "privacy": "private"
15469
+ "kind": "method",
15470
+ "name": "getAgColumnDefs",
15471
+ "privacy": "private",
15472
+ "parameters": [
15473
+ {
15474
+ "name": "fieldsMetadata",
15475
+ "type": {
15476
+ "text": "FieldMetadata[]"
15477
+ }
15478
+ }
15479
+ ]
15543
15480
  },
15544
15481
  {
15545
15482
  "kind": "method",
15546
- "name": "filterSearchChanged",
15547
- "privacy": "public"
15483
+ "name": "setFilter",
15484
+ "privacy": "public",
15485
+ "parameters": [
15486
+ {
15487
+ "name": "fieldName",
15488
+ "type": {
15489
+ "text": "string"
15490
+ }
15491
+ },
15492
+ {
15493
+ "name": "newFilter",
15494
+ "type": {
15495
+ "text": "string"
15496
+ }
15497
+ }
15498
+ ],
15499
+ "inheritedFrom": {
15500
+ "name": "GenesisGridDatasourceElement",
15501
+ "module": "src/datasource/base.datasource.ts"
15502
+ }
15548
15503
  },
15549
15504
  {
15550
15505
  "kind": "method",
15551
- "name": "requestChanged",
15552
- "privacy": "public"
15506
+ "name": "removeFilter",
15507
+ "privacy": "public",
15508
+ "parameters": [
15509
+ {
15510
+ "name": "fieldName",
15511
+ "type": {
15512
+ "text": "string"
15513
+ }
15514
+ }
15515
+ ],
15516
+ "inheritedFrom": {
15517
+ "name": "GenesisGridDatasourceElement",
15518
+ "module": "src/datasource/base.datasource.ts"
15519
+ }
15553
15520
  },
15554
15521
  {
15555
15522
  "kind": "method",
15556
- "name": "columnDefinitionsChanged",
15557
- "privacy": "public"
15523
+ "name": "applyTransaction",
15524
+ "privacy": "protected",
15525
+ "return": {
15526
+ "type": {
15527
+ "text": "any"
15528
+ }
15529
+ },
15530
+ "parameters": [
15531
+ {
15532
+ "name": "transaction",
15533
+ "type": {
15534
+ "text": "any"
15535
+ }
15536
+ }
15537
+ ],
15538
+ "inheritedFrom": {
15539
+ "name": "GridProBaseDatasource",
15540
+ "module": "src/datasource/base.datasource.ts"
15541
+ }
15558
15542
  },
15559
15543
  {
15560
- "kind": "field",
15561
- "name": "handleClickOutside",
15562
- "privacy": "private"
15544
+ "kind": "method",
15545
+ "name": "handleSizeChanged",
15546
+ "privacy": "private",
15547
+ "parameters": [
15548
+ {
15549
+ "name": "oldSize",
15550
+ "type": {
15551
+ "text": "number"
15552
+ }
15553
+ },
15554
+ {
15555
+ "name": "newSize",
15556
+ "type": {
15557
+ "text": "number"
15558
+ }
15559
+ }
15560
+ ]
15563
15561
  },
15564
15562
  {
15565
15563
  "kind": "method",
15566
- "name": "openChanged",
15567
- "privacy": "public"
15564
+ "name": "handleStreamInserts",
15565
+ "privacy": "protected",
15566
+ "parameters": [
15567
+ {
15568
+ "name": "inserts",
15569
+ "default": "[]"
15570
+ }
15571
+ ],
15572
+ "inheritedFrom": {
15573
+ "name": "GridProBaseDatasource",
15574
+ "module": "src/datasource/base.datasource.ts"
15575
+ }
15568
15576
  },
15569
15577
  {
15570
15578
  "kind": "method",
15571
- "name": "dropdownWidthChanged",
15572
- "privacy": "public"
15579
+ "name": "handleStreamUpdates",
15580
+ "privacy": "protected",
15581
+ "parameters": [
15582
+ {
15583
+ "name": "updates",
15584
+ "default": "[]"
15585
+ }
15586
+ ],
15587
+ "inheritedFrom": {
15588
+ "name": "GridProBaseDatasource",
15589
+ "module": "src/datasource/base.datasource.ts"
15590
+ }
15573
15591
  },
15574
15592
  {
15575
15593
  "kind": "method",
15576
- "name": "changeHandler",
15577
- "privacy": "public",
15594
+ "name": "handleStreamDeletes",
15595
+ "privacy": "protected",
15578
15596
  "parameters": [
15579
15597
  {
15580
- "name": "event",
15581
- "type": {
15582
- "text": "Event"
15583
- }
15598
+ "name": "deletes",
15599
+ "default": "[]",
15600
+ "description": "List of records to remove from the grid stream"
15584
15601
  }
15585
- ]
15602
+ ],
15603
+ "description": "Handles stream deletes by removing records from the grid.",
15604
+ "inheritedFrom": {
15605
+ "name": "GridProBaseDatasource",
15606
+ "module": "src/datasource/base.datasource.ts"
15607
+ }
15608
+ },
15609
+ {
15610
+ "kind": "method",
15611
+ "name": "loadMore",
15612
+ "inheritedFrom": {
15613
+ "name": "GridProBaseDatasource",
15614
+ "module": "src/datasource/base.datasource.ts"
15615
+ }
15586
15616
  },
15587
15617
  {
15588
15618
  "kind": "method",
@@ -15606,19 +15636,6 @@
15606
15636
  "module": "src/mixins/lifecycle/lifecycle.ts"
15607
15637
  }
15608
15638
  },
15609
- {
15610
- "kind": "method",
15611
- "name": "deepClone",
15612
- "return": {
15613
- "type": {
15614
- "text": "Node"
15615
- }
15616
- },
15617
- "inheritedFrom": {
15618
- "name": "LifecycleMixin",
15619
- "module": "src/mixins/lifecycle/lifecycle.ts"
15620
- }
15621
- },
15622
15639
  {
15623
15640
  "kind": "field",
15624
15641
  "name": "shouldRunDisconnect",
@@ -15670,1483 +15687,1623 @@
15670
15687
  },
15671
15688
  {
15672
15689
  "kind": "field",
15673
- "name": "_presentation",
15690
+ "name": "dataSubWasLoggedOff",
15674
15691
  "type": {
15675
- "text": "ComponentPresentation | null | undefined"
15692
+ "text": "boolean"
15676
15693
  },
15677
- "privacy": "private",
15678
- "default": "void 0",
15694
+ "privacy": "protected",
15695
+ "default": "false",
15679
15696
  "inheritedFrom": {
15680
- "name": "FoundationElement",
15681
- "module": "src/foundation-element/foundation-element.ts"
15697
+ "name": "GridProBaseDatasource",
15698
+ "module": "src/datasource/base.datasource.ts"
15682
15699
  }
15683
15700
  },
15684
15701
  {
15685
15702
  "kind": "field",
15686
- "name": "$presentation",
15703
+ "name": "rowData",
15687
15704
  "type": {
15688
- "text": "ComponentPresentation | null"
15705
+ "text": "Map<string, any>"
15689
15706
  },
15690
- "privacy": "public",
15691
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
15707
+ "default": "new Map()",
15692
15708
  "inheritedFrom": {
15693
- "name": "FoundationElement",
15694
- "module": "src/foundation-element/foundation-element.ts"
15709
+ "name": "GridProBaseDatasource",
15710
+ "module": "src/datasource/base.datasource.ts"
15695
15711
  }
15696
15712
  },
15697
15713
  {
15698
15714
  "kind": "field",
15699
- "name": "template",
15715
+ "name": "connectionSub",
15700
15716
  "type": {
15701
- "text": "ElementViewTemplate | void | null"
15717
+ "text": "Subscription | undefined"
15702
15718
  },
15703
- "privacy": "public",
15704
- "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.",
15719
+ "privacy": "protected",
15705
15720
  "inheritedFrom": {
15706
- "name": "FoundationElement",
15707
- "module": "src/foundation-element/foundation-element.ts"
15721
+ "name": "GridProBaseDatasource",
15722
+ "module": "src/datasource/base.datasource.ts"
15708
15723
  }
15709
15724
  },
15710
15725
  {
15711
15726
  "kind": "method",
15712
- "name": "templateChanged",
15727
+ "name": "subscribeToConnection",
15713
15728
  "privacy": "protected",
15714
- "return": {
15715
- "type": {
15716
- "text": "void"
15717
- }
15718
- },
15719
15729
  "inheritedFrom": {
15720
- "name": "FoundationElement",
15721
- "module": "src/foundation-element/foundation-element.ts"
15730
+ "name": "GridProBaseDatasource",
15731
+ "module": "src/datasource/base.datasource.ts"
15732
+ }
15733
+ },
15734
+ {
15735
+ "kind": "method",
15736
+ "name": "unsubscribeFromConnection",
15737
+ "privacy": "protected",
15738
+ "inheritedFrom": {
15739
+ "name": "GridProBaseDatasource",
15740
+ "module": "src/datasource/base.datasource.ts"
15741
+ }
15742
+ },
15743
+ {
15744
+ "kind": "method",
15745
+ "name": "generateColumnDefsFromMetadata",
15746
+ "privacy": "protected",
15747
+ "return": {
15748
+ "type": {
15749
+ "text": "ColDef[]"
15750
+ }
15751
+ },
15752
+ "parameters": [
15753
+ {
15754
+ "name": "fieldsMetadata",
15755
+ "type": {
15756
+ "text": "FieldMetadata[]"
15757
+ }
15758
+ },
15759
+ {
15760
+ "name": "getFilterParamsByFieldType",
15761
+ "type": {
15762
+ "text": "(field: FieldMetadata) => ColDef['filterParams'] | any"
15763
+ }
15764
+ },
15765
+ {
15766
+ "name": "getFilterByFieldType",
15767
+ "type": {
15768
+ "text": "(type: FieldTypeEnum) => string"
15769
+ }
15770
+ }
15771
+ ],
15772
+ "inheritedFrom": {
15773
+ "name": "GridProBaseDatasource",
15774
+ "module": "src/datasource/base.datasource.ts"
15775
+ }
15776
+ },
15777
+ {
15778
+ "kind": "method",
15779
+ "name": "applyAllTransactions",
15780
+ "privacy": "protected",
15781
+ "inheritedFrom": {
15782
+ "name": "GridProBaseDatasource",
15783
+ "module": "src/datasource/base.datasource.ts"
15784
+ }
15785
+ },
15786
+ {
15787
+ "kind": "method",
15788
+ "name": "applyMappedTransaction",
15789
+ "privacy": "private",
15790
+ "parameters": [
15791
+ {
15792
+ "name": "transaction",
15793
+ "type": {
15794
+ "text": "TransactionData"
15795
+ }
15796
+ },
15797
+ {
15798
+ "name": "operation",
15799
+ "type": {
15800
+ "text": "OperationType"
15801
+ }
15802
+ }
15803
+ ],
15804
+ "inheritedFrom": {
15805
+ "name": "GridProBaseDatasource",
15806
+ "module": "src/datasource/base.datasource.ts"
15807
+ }
15808
+ },
15809
+ {
15810
+ "kind": "method",
15811
+ "name": "mapTransaction",
15812
+ "privacy": "private",
15813
+ "parameters": [
15814
+ {
15815
+ "name": "transaction",
15816
+ "type": {
15817
+ "text": "TransactionData"
15818
+ },
15819
+ "description": "The transaction data to be mapped."
15820
+ },
15821
+ {
15822
+ "name": "operations",
15823
+ "default": "Object.values(OperationType)",
15824
+ "type": {
15825
+ "text": "OperationType[]"
15826
+ },
15827
+ "description": "The operations to be mapped. Can be 'add', 'update' or 'remove'."
15828
+ }
15829
+ ],
15830
+ "description": "Maps the transaction data to the row data mapper function, if it exists.",
15831
+ "return": {
15832
+ "type": {
15833
+ "text": ""
15834
+ }
15835
+ },
15836
+ "inheritedFrom": {
15837
+ "name": "GridProBaseDatasource",
15838
+ "module": "src/datasource/base.datasource.ts"
15722
15839
  }
15723
15840
  },
15724
15841
  {
15725
15842
  "kind": "field",
15726
- "name": "styles",
15843
+ "name": "pagination",
15727
15844
  "type": {
15728
- "text": "ElementStyles | void | null"
15845
+ "text": "boolean"
15846
+ },
15847
+ "privacy": "protected",
15848
+ "inheritedFrom": {
15849
+ "name": "GridProBaseDatasource",
15850
+ "module": "src/datasource/base.datasource.ts"
15851
+ }
15852
+ },
15853
+ {
15854
+ "kind": "field",
15855
+ "name": "_isDisconnected",
15856
+ "type": {
15857
+ "text": "boolean"
15729
15858
  },
15859
+ "privacy": "private",
15860
+ "default": "false",
15861
+ "inheritedFrom": {
15862
+ "name": "GridProBaseDatasource",
15863
+ "module": "src/datasource/base.datasource.ts"
15864
+ }
15865
+ },
15866
+ {
15867
+ "kind": "method",
15868
+ "name": "setDisconnected",
15730
15869
  "privacy": "public",
15731
- "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.",
15870
+ "parameters": [
15871
+ {
15872
+ "name": "disconnected",
15873
+ "type": {
15874
+ "text": "boolean"
15875
+ },
15876
+ "description": "true to set, false to remove"
15877
+ }
15878
+ ],
15879
+ "description": "Sets the disconnected state and emits appropriate events.",
15732
15880
  "inheritedFrom": {
15733
- "name": "FoundationElement",
15734
- "module": "src/foundation-element/foundation-element.ts"
15881
+ "name": "GridProBaseDatasource",
15882
+ "module": "src/datasource/base.datasource.ts"
15735
15883
  }
15736
15884
  },
15737
15885
  {
15738
15886
  "kind": "method",
15739
- "name": "stylesChanged",
15740
- "privacy": "protected",
15887
+ "name": "isDisconnected",
15888
+ "privacy": "public",
15741
15889
  "return": {
15742
15890
  "type": {
15743
- "text": "void"
15891
+ "text": "boolean"
15744
15892
  }
15745
15893
  },
15894
+ "description": "Returns true if the datasource is disconnected.",
15746
15895
  "inheritedFrom": {
15747
- "name": "FoundationElement",
15748
- "module": "src/foundation-element/foundation-element.ts"
15896
+ "name": "GridProBaseDatasource",
15897
+ "module": "src/datasource/base.datasource.ts"
15749
15898
  }
15750
15899
  },
15751
15900
  {
15752
15901
  "kind": "method",
15753
- "name": "compose",
15902
+ "name": "getDatasourceStatusBarPanels",
15754
15903
  "privacy": "public",
15755
- "static": true,
15756
15904
  "return": {
15757
15905
  "type": {
15758
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
15906
+ "text": "any[]"
15759
15907
  }
15760
15908
  },
15761
15909
  "parameters": [
15762
15910
  {
15763
- "name": "this",
15911
+ "name": "isServerSide",
15764
15912
  "type": {
15765
- "text": "K"
15913
+ "text": "boolean"
15766
15914
  }
15767
15915
  },
15768
15916
  {
15769
- "name": "elementDefinition",
15917
+ "name": "statusBarConfig",
15770
15918
  "type": {
15771
- "text": "T"
15772
- },
15773
- "description": "The definition of the element to create the registry\nfunction for."
15919
+ "text": "any"
15920
+ }
15774
15921
  }
15775
15922
  ],
15776
- "description": "Defines an element registry function with a set of element definition defaults.",
15923
+ "description": "Gets datasource-specific status bar component configurations.\nThis method should be called by the grid to get status bar panels specific to this datasource.",
15777
15924
  "inheritedFrom": {
15778
- "name": "FoundationElement",
15779
- "module": "src/foundation-element/foundation-element.ts"
15925
+ "name": "GridProBaseDatasource",
15926
+ "module": "src/datasource/base.datasource.ts"
15780
15927
  }
15781
- }
15782
- ],
15783
- "attributes": [
15928
+ },
15784
15929
  {
15930
+ "kind": "field",
15931
+ "name": "connect",
15785
15932
  "type": {
15786
- "text": "boolean"
15933
+ "text": "Connect"
15787
15934
  },
15788
- "description": "Whether to disable control of the component",
15789
- "fieldName": "disabled"
15935
+ "inheritedFrom": {
15936
+ "name": "GenesisGridDatasourceElement",
15937
+ "module": "src/datasource/base.datasource.ts"
15938
+ }
15790
15939
  },
15791
15940
  {
15792
- "name": "resource-name",
15941
+ "kind": "field",
15942
+ "name": "datasource",
15793
15943
  "type": {
15794
- "text": "string"
15944
+ "text": "Datasource"
15795
15945
  },
15796
- "description": "The name of the reqrep to get the options from",
15797
- "fieldName": "resourceName"
15946
+ "inheritedFrom": {
15947
+ "name": "GenesisGridDatasourceElement",
15948
+ "module": "src/datasource/base.datasource.ts"
15949
+ }
15798
15950
  },
15799
15951
  {
15800
- "name": "search-key",
15952
+ "kind": "field",
15953
+ "name": "deferredGridOptions",
15801
15954
  "type": {
15802
- "text": "string | string[] | undefined"
15955
+ "text": "GridOptions"
15803
15956
  },
15804
- "description": "The key(s) to search by. Use comma-separated values for multiple keys (e.g. search-key=\"NAME,ID\").",
15805
- "fieldName": "searchKey"
15957
+ "inheritedFrom": {
15958
+ "name": "GenesisGridDatasourceElement",
15959
+ "module": "src/datasource/base.datasource.ts"
15960
+ }
15806
15961
  },
15807
15962
  {
15808
- "name": "advanced-search-req",
15963
+ "kind": "field",
15964
+ "name": "deferredColumnStates",
15809
15965
  "type": {
15810
- "text": "boolean"
15966
+ "text": "ColumnState[]"
15811
15967
  },
15812
- "default": "false",
15813
- "description": "Tells whether a given request supports lookup by Groovy Expressions.",
15814
- "fieldName": "requestSupportsAdvancedSearch"
15968
+ "inheritedFrom": {
15969
+ "name": "GenesisGridDatasourceElement",
15970
+ "module": "src/datasource/base.datasource.ts"
15971
+ }
15815
15972
  },
15816
15973
  {
15817
- "name": "value-key",
15974
+ "kind": "field",
15975
+ "name": "rowDataMapper",
15818
15976
  "type": {
15819
- "text": "string"
15977
+ "text": "Function"
15820
15978
  },
15821
- "description": "The key used as the value sent to the server",
15822
- "fieldName": "valueKey"
15979
+ "description": "Allows grid data updates to be processed via and external function before applying in grid",
15980
+ "inheritedFrom": {
15981
+ "name": "GenesisGridDatasourceElement",
15982
+ "module": "src/datasource/base.datasource.ts"
15983
+ }
15823
15984
  },
15824
15985
  {
15825
- "name": "label-key",
15986
+ "kind": "field",
15987
+ "name": "criteria",
15826
15988
  "type": {
15827
15989
  "text": "string"
15828
15990
  },
15829
- "description": "The key used as the label displayed in the UI",
15830
- "fieldName": "labelKey"
15991
+ "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription.",
15992
+ "inheritedFrom": {
15993
+ "name": "GenesisGridDatasourceElement",
15994
+ "module": "src/datasource/base.datasource.ts"
15995
+ }
15831
15996
  },
15832
15997
  {
15833
- "name": "dropdown-placement",
15998
+ "kind": "field",
15999
+ "name": "isSnapshot",
15834
16000
  "type": {
15835
- "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
16001
+ "text": "boolean"
15836
16002
  },
15837
- "description": "Position of the dropdown panel relative to the control.\n- `'bottom-right'` – default; opens below and aligns to the right edge of the control\n- `'bottom-left'` – opens below and extends to the left\n- `'top-right'` – opens above and aligns to the right edge of the control\n- `'top-left'` – opens above and extends to the left",
15838
- "fieldName": "dropdownPlacement"
16003
+ "default": "false",
16004
+ "description": "Request a snapshot from the server.",
16005
+ "inheritedFrom": {
16006
+ "name": "GenesisGridDatasourceElement",
16007
+ "module": "src/datasource/base.datasource.ts"
16008
+ }
15839
16009
  },
15840
16010
  {
15841
- "name": "dropdownWidth",
16011
+ "kind": "field",
16012
+ "name": "maxRows",
15842
16013
  "type": {
15843
16014
  "text": "number"
15844
16015
  },
15845
- "description": "Optionally specifies the width of the dropdown",
15846
- "fieldName": "dropdownWidth"
15847
- }
15848
- ],
15849
- "mixins": [
15850
- {
15851
- "name": "LifecycleMixin",
15852
- "package": "@genesislcap/foundation-utils"
15853
- }
15854
- ],
15855
- "superclass": {
15856
- "name": "FoundationElement",
15857
- "package": "@microsoft/fast-foundation"
15858
- },
15859
- "tagName": "%%prefix%%-multicolumn-dropdown",
15860
- "customElement": true
15861
- },
15862
- {
15863
- "kind": "variable",
15864
- "name": "foundationMulticolumnDropdown",
15865
- "description": "A function that returns a Multicolumn Dropdown registration for configuring the component with a DesignSystem.",
15866
- "privacy": "public"
15867
- }
15868
- ],
15869
- "exports": [
15870
- {
15871
- "kind": "js",
15872
- "name": "wasClickOutsideElement",
15873
- "declaration": {
15874
- "name": "wasClickOutsideElement",
15875
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
15876
- }
15877
- },
15878
- {
15879
- "kind": "js",
15880
- "name": "MulticolumnDropdown",
15881
- "declaration": {
15882
- "name": "MulticolumnDropdown",
15883
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
15884
- }
15885
- },
15886
- {
15887
- "kind": "js",
15888
- "name": "foundationMulticolumnDropdown",
15889
- "declaration": {
15890
- "name": "foundationMulticolumnDropdown",
15891
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
15892
- }
15893
- }
15894
- ]
15895
- },
15896
- {
15897
- "kind": "javascript-module",
15898
- "path": "src/grid-pro-genesis-datasource/datasource-events.types.ts",
15899
- "declarations": [
15900
- {
15901
- "kind": "variable",
15902
- "name": "datasourceEventNames",
15903
- "type": {
15904
- "text": "{\n // Initialization events\n initialize: 'datasource-initialize',\n ready: 'datasource-ready',\n\n // Data events\n dataLoaded: 'datasource-data-loaded',\n dataChanged: 'datasource-data-changed',\n dataCleared: 'datasource-data-cleared',\n\n // Schema events\n schemaUpdated: 'datasource-schema-updated',\n\n // Status events\n loadingStarted: 'datasource-loading-started',\n loadingFinished: 'datasource-loading-finished',\n noDataAvailable: 'datasource-no-data-available',\n moreDataAvailable: 'datasource-more-data-available',\n\n // Filter events\n filtersRestored: 'datasource-filters-restored',\n\n // Error events\n error: 'datasource-error',\n\n // Destroy datasource events\n destroy: 'datasource-destroy',\n\n // Size events\n sizeChanged: 'datasource-size-changed',\n\n // Server-side specific events\n cacheFilterConfig: 'cache-filter-config',\n refreshServerSide: 'refresh-server-side',\n setServerSideDatasource: 'set-server-side-datasource',\n addGridCssClass: 'add-grid-css-class',\n removeGridCssClass: 'remove-grid-css-class',\n applyServerSideTransaction: 'apply-server-side-transaction',\n}"
15905
- },
15906
- "default": "{\n // Initialization events\n initialize: 'datasource-initialize',\n ready: 'datasource-ready',\n\n // Data events\n dataLoaded: 'datasource-data-loaded',\n dataChanged: 'datasource-data-changed',\n dataCleared: 'datasource-data-cleared',\n\n // Schema events\n schemaUpdated: 'datasource-schema-updated',\n\n // Status events\n loadingStarted: 'datasource-loading-started',\n loadingFinished: 'datasource-loading-finished',\n noDataAvailable: 'datasource-no-data-available',\n moreDataAvailable: 'datasource-more-data-available',\n\n // Filter events\n filtersRestored: 'datasource-filters-restored',\n\n // Error events\n error: 'datasource-error',\n\n // Destroy datasource events\n destroy: 'datasource-destroy',\n\n // Size events\n sizeChanged: 'datasource-size-changed',\n\n // Server-side specific events\n cacheFilterConfig: 'cache-filter-config',\n refreshServerSide: 'refresh-server-side',\n setServerSideDatasource: 'set-server-side-datasource',\n addGridCssClass: 'add-grid-css-class',\n removeGridCssClass: 'remove-grid-css-class',\n applyServerSideTransaction: 'apply-server-side-transaction',\n}",
15907
- "description": "Event names for datasource-grid communication\nThese represent datasource operations, not grid-specific actions"
15908
- }
15909
- ],
15910
- "exports": [
15911
- {
15912
- "kind": "js",
15913
- "name": "datasourceEventNames",
15914
- "declaration": {
15915
- "name": "datasourceEventNames",
15916
- "module": "src/grid-pro-genesis-datasource/datasource-events.types.ts"
15917
- }
15918
- }
15919
- ]
15920
- },
15921
- {
15922
- "kind": "javascript-module",
15923
- "path": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts",
15924
- "declarations": [
15925
- {
15926
- "kind": "class",
15927
- "description": "The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.",
15928
- "name": "GridProGenesisDatasource",
15929
- "members": [
16016
+ "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages.",
16017
+ "inheritedFrom": {
16018
+ "name": "GenesisGridDatasourceElement",
16019
+ "module": "src/datasource/base.datasource.ts"
16020
+ }
16021
+ },
15930
16022
  {
15931
16023
  "kind": "field",
15932
- "name": "cachedRowArray",
16024
+ "name": "orderBy",
15933
16025
  "type": {
15934
- "text": "any[]"
16026
+ "text": "string"
15935
16027
  },
15936
- "privacy": "private",
15937
- "default": "[]"
16028
+ "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.",
16029
+ "inheritedFrom": {
16030
+ "name": "GenesisGridDatasourceElement",
16031
+ "module": "src/datasource/base.datasource.ts"
16032
+ }
15938
16033
  },
15939
16034
  {
15940
16035
  "kind": "field",
15941
- "name": "transactionData",
16036
+ "name": "resourceName",
15942
16037
  "type": {
15943
- "text": "TransactionData"
16038
+ "text": "string"
15944
16039
  },
15945
- "privacy": "protected",
15946
- "default": "{\n add: [],\n remove: [],\n update: [],\n addIndex: 0,\n }",
16040
+ "description": "The name of the target Data Server query or Request Server requestReply.",
15947
16041
  "inheritedFrom": {
15948
- "name": "GridProBaseDatasource",
16042
+ "name": "GenesisGridDatasourceElement",
15949
16043
  "module": "src/datasource/base.datasource.ts"
15950
16044
  }
15951
16045
  },
15952
- {
15953
- "kind": "method",
15954
- "name": "criteriaChanged",
15955
- "parameters": [
15956
- {
15957
- "name": "oldCriteria",
15958
- "type": {
15959
- "text": "string"
15960
- }
15961
- },
15962
- {
15963
- "name": "newCriteria",
15964
- "type": {
15965
- "text": "string"
15966
- }
15967
- }
15968
- ]
15969
- },
15970
- {
15971
- "kind": "method",
15972
- "name": "requestChanged",
15973
- "parameters": [
15974
- {
15975
- "name": "oldRequest",
15976
- "type": {
15977
- "text": "string"
15978
- }
15979
- },
15980
- {
15981
- "name": "newRequest",
15982
- "type": {
15983
- "text": "string"
15984
- }
15985
- }
15986
- ]
15987
- },
15988
- {
15989
- "kind": "method",
15990
- "name": "resourceNameChanged",
15991
- "parameters": [
15992
- {
15993
- "name": "oldValue",
15994
- "type": {
15995
- "text": "string"
15996
- }
15997
- },
15998
- {
15999
- "name": "newValue",
16000
- "type": {
16001
- "text": "string"
16002
- }
16003
- }
16004
- ]
16005
- },
16006
16046
  {
16007
16047
  "kind": "field",
16008
- "name": "keepColDefsOnClearRowData",
16048
+ "name": "viewNumber",
16009
16049
  "type": {
16010
- "text": "boolean"
16050
+ "text": "number"
16011
16051
  },
16012
- "privacy": "public",
16013
- "default": "false",
16052
+ "description": "The desired view/page you want data from.",
16014
16053
  "inheritedFrom": {
16015
- "name": "GridProBaseDatasource",
16054
+ "name": "GenesisGridDatasourceElement",
16016
16055
  "module": "src/datasource/base.datasource.ts"
16017
16056
  }
16018
16057
  },
16019
16058
  {
16020
16059
  "kind": "field",
16021
- "name": "dataSub",
16060
+ "name": "fields",
16022
16061
  "type": {
16023
- "text": "Subscription"
16062
+ "text": "string"
16024
16063
  },
16025
- "privacy": "private"
16064
+ "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.",
16065
+ "inheritedFrom": {
16066
+ "name": "GenesisGridDatasourceElement",
16067
+ "module": "src/datasource/base.datasource.ts"
16068
+ }
16026
16069
  },
16027
16070
  {
16028
16071
  "kind": "field",
16029
- "name": "updateSub",
16072
+ "name": "maxView",
16030
16073
  "type": {
16031
- "text": "Subscription"
16074
+ "text": "number"
16032
16075
  },
16033
- "privacy": "private"
16076
+ "description": "Maximum number of rows to track as part of a client \"view\".",
16077
+ "inheritedFrom": {
16078
+ "name": "GenesisGridDatasourceElement",
16079
+ "module": "src/datasource/base.datasource.ts"
16080
+ }
16034
16081
  },
16035
16082
  {
16036
16083
  "kind": "field",
16037
- "name": "requiresFullRowDataAndColDefs",
16084
+ "name": "movingView",
16038
16085
  "type": {
16039
16086
  "text": "boolean"
16040
16087
  },
16041
- "privacy": "private",
16042
- "default": "true"
16088
+ "default": "false",
16089
+ "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.",
16090
+ "inheritedFrom": {
16091
+ "name": "GenesisGridDatasourceElement",
16092
+ "module": "src/datasource/base.datasource.ts"
16093
+ }
16043
16094
  },
16044
16095
  {
16045
16096
  "kind": "field",
16046
- "name": "_lastMoreRows",
16097
+ "name": "reverse",
16047
16098
  "type": {
16048
16099
  "text": "boolean"
16049
16100
  },
16050
- "privacy": "private",
16051
- "default": "false"
16101
+ "default": "false",
16102
+ "description": "Option that changes the Data Server index iteration.",
16103
+ "inheritedFrom": {
16104
+ "name": "GenesisGridDatasourceElement",
16105
+ "module": "src/datasource/base.datasource.ts"
16106
+ }
16052
16107
  },
16053
16108
  {
16054
16109
  "kind": "field",
16055
- "name": "_isMoreRowsResult",
16110
+ "name": "disablePolling",
16056
16111
  "type": {
16057
16112
  "text": "boolean"
16058
16113
  },
16059
- "privacy": "private",
16060
- "default": "false"
16114
+ "default": "false",
16115
+ "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically).",
16116
+ "inheritedFrom": {
16117
+ "name": "GenesisGridDatasourceElement",
16118
+ "module": "src/datasource/base.datasource.ts"
16119
+ }
16061
16120
  },
16062
16121
  {
16063
16122
  "kind": "field",
16064
- "name": "_sourceRef",
16123
+ "name": "offset",
16065
16124
  "type": {
16066
- "text": "string"
16125
+ "text": "number"
16067
16126
  },
16068
- "privacy": "private"
16127
+ "description": "The offset for pagination in REQUEST_SERVER scenarios.",
16128
+ "inheritedFrom": {
16129
+ "name": "GenesisGridDatasourceElement",
16130
+ "module": "src/datasource/base.datasource.ts"
16131
+ }
16069
16132
  },
16070
16133
  {
16071
16134
  "kind": "field",
16072
- "name": "_nextOffset",
16135
+ "name": "pollingInterval",
16073
16136
  "type": {
16074
16137
  "text": "number"
16075
16138
  },
16076
- "privacy": "private",
16077
- "default": "0"
16139
+ "description": "Custom polling frequency (in milliseconds) for a Request Server resource.",
16140
+ "inheritedFrom": {
16141
+ "name": "GenesisGridDatasourceElement",
16142
+ "module": "src/datasource/base.datasource.ts"
16143
+ }
16078
16144
  },
16079
16145
  {
16080
16146
  "kind": "field",
16081
- "name": "_loadMoreCount",
16147
+ "name": "pollTriggerEvents",
16082
16148
  "type": {
16083
- "text": "number"
16149
+ "text": "string[]"
16084
16150
  },
16085
- "privacy": "private",
16086
- "default": "0"
16151
+ "default": "[]",
16152
+ "description": "Array of event names that will trigger a poll when received as commit responses.",
16153
+ "inheritedFrom": {
16154
+ "name": "GenesisGridDatasourceElement",
16155
+ "module": "src/datasource/base.datasource.ts"
16156
+ }
16087
16157
  },
16088
16158
  {
16089
- "kind": "method",
16090
- "name": "deepClone",
16091
- "return": {
16092
- "type": {
16093
- "text": "Node"
16094
- }
16159
+ "kind": "field",
16160
+ "name": "request",
16161
+ "type": {
16162
+ "text": "any"
16095
16163
  },
16164
+ "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards.",
16096
16165
  "inheritedFrom": {
16097
- "name": "LifecycleMixin",
16098
- "module": "src/mixins/lifecycle/lifecycle.ts"
16166
+ "name": "GenesisGridDatasourceElement",
16167
+ "module": "src/datasource/base.datasource.ts"
16099
16168
  }
16100
16169
  },
16101
16170
  {
16102
- "kind": "method",
16103
- "name": "colDefsDeepClone",
16104
- "privacy": "private",
16105
- "return": {
16106
- "type": {
16107
- "text": "ColDef[]"
16108
- }
16171
+ "kind": "field",
16172
+ "name": "requestAutoSetup",
16173
+ "type": {
16174
+ "text": "boolean"
16109
16175
  },
16110
- "parameters": [
16111
- {
16112
- "name": "key",
16113
- "type": {
16114
- "text": "string"
16115
- }
16116
- },
16117
- {
16118
- "name": "copy",
16119
- "type": {
16120
- "text": "any"
16121
- }
16122
- }
16123
- ]
16124
- },
16125
- {
16126
- "kind": "method",
16127
- "name": "init",
16128
- "parameters": [
16129
- {
16130
- "name": "keepColDefsOnClearRowData",
16131
- "optional": true,
16132
- "type": {
16133
- "text": "boolean"
16134
- }
16135
- },
16136
- {
16137
- "description": "Optionally set the `gridOptions` up with column definitions",
16138
- "name": "columnDefinitions"
16139
- },
16140
- {
16141
- "description": "Optionally set the grid up with column state",
16142
- "name": "columnStates"
16143
- }
16144
- ],
16145
- "description": "Initializes the datasource.",
16146
- "privacy": "public"
16176
+ "default": "true",
16177
+ "description": "Attribute to set whether the REQUEST object should be automatically set up.",
16178
+ "inheritedFrom": {
16179
+ "name": "GenesisGridDatasourceElement",
16180
+ "module": "src/datasource/base.datasource.ts"
16181
+ }
16147
16182
  },
16148
16183
  {
16149
- "kind": "method",
16150
- "name": "destroy",
16151
- "description": "Destroys the datasource, resetting it to its initial state.",
16152
- "privacy": "public",
16184
+ "kind": "field",
16185
+ "name": "rowIdAttr",
16186
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
16153
16187
  "inheritedFrom": {
16154
- "name": "GridProBaseDatasource",
16188
+ "name": "GenesisGridDatasourceElement",
16155
16189
  "module": "src/datasource/base.datasource.ts"
16156
16190
  }
16157
16191
  },
16158
16192
  {
16159
- "kind": "method",
16160
- "name": "deinit",
16161
- "description": "Deinitialises the datasource, resetting it to its initial state.",
16162
- "deprecated": "Use `destroy` instead",
16163
- "privacy": "public"
16193
+ "kind": "field",
16194
+ "name": "restartOnReconnection",
16195
+ "type": {
16196
+ "text": "boolean"
16197
+ },
16198
+ "default": "true",
16199
+ "description": "Attribute to set whether the datasource should restart when it reconnects.",
16200
+ "inheritedFrom": {
16201
+ "name": "GenesisGridDatasourceElement",
16202
+ "module": "src/datasource/base.datasource.ts"
16203
+ }
16164
16204
  },
16165
16205
  {
16166
- "kind": "method",
16167
- "name": "reset",
16168
- "description": "Resets the datasource to its initial state.",
16169
- "privacy": "public",
16170
- "deprecated": "Use `destroy` instead"
16206
+ "kind": "field",
16207
+ "name": "defaultRowIdByResourceType",
16208
+ "type": {
16209
+ "text": "string"
16210
+ },
16211
+ "privacy": "protected",
16212
+ "readonly": true,
16213
+ "inheritedFrom": {
16214
+ "name": "GenesisGridDatasourceElement",
16215
+ "module": "src/datasource/base.datasource.ts"
16216
+ }
16171
16217
  },
16172
16218
  {
16173
- "kind": "method",
16174
- "name": "restart",
16175
- "description": "Restarts the datasource, uses `destroy` and `init` in sequence.",
16176
- "privacy": "public",
16219
+ "kind": "field",
16220
+ "name": "criteriaFromFilters",
16221
+ "type": {
16222
+ "text": "Map<string, string>"
16223
+ },
16224
+ "privacy": "protected",
16225
+ "default": "new Map()",
16177
16226
  "inheritedFrom": {
16178
- "name": "GridProBaseDatasource",
16227
+ "name": "GenesisGridDatasourceElement",
16179
16228
  "module": "src/datasource/base.datasource.ts"
16180
16229
  }
16181
16230
  },
16182
16231
  {
16183
- "kind": "method",
16184
- "name": "refreshRows",
16185
- "description": "Force the grid to redispatch the current rows"
16232
+ "kind": "field",
16233
+ "name": "update",
16234
+ "type": {
16235
+ "text": "BehaviorSubject<Map<string, string>>"
16236
+ },
16237
+ "privacy": "protected",
16238
+ "default": "new BehaviorSubject(new Map())",
16239
+ "inheritedFrom": {
16240
+ "name": "GenesisGridDatasourceElement",
16241
+ "module": "src/datasource/base.datasource.ts"
16242
+ }
16186
16243
  },
16187
16244
  {
16188
16245
  "kind": "method",
16189
- "name": "reloadResourceData",
16190
- "privacy": "public",
16246
+ "name": "datasourceOptions",
16247
+ "privacy": "protected",
16191
16248
  "return": {
16192
16249
  "type": {
16193
- "text": "Promise<void>"
16250
+ "text": "DatasourceOptions"
16194
16251
  }
16195
16252
  },
16196
- "description": "Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.\nLoads resource data without full initialization (no metadata fetch).",
16197
16253
  "inheritedFrom": {
16198
- "name": "GridProBaseDatasource",
16254
+ "name": "GenesisGridDatasourceElement",
16199
16255
  "module": "src/datasource/base.datasource.ts"
16200
16256
  }
16201
16257
  },
16202
16258
  {
16203
16259
  "kind": "method",
16204
- "name": "handleSnapshot",
16260
+ "name": "buildCriteria",
16205
16261
  "privacy": "private",
16206
- "parameters": [
16207
- {
16208
- "name": "result"
16262
+ "return": {
16263
+ "type": {
16264
+ "text": "string"
16209
16265
  }
16210
- ]
16266
+ },
16267
+ "inheritedFrom": {
16268
+ "name": "GenesisGridDatasourceElement",
16269
+ "module": "src/datasource/base.datasource.ts"
16270
+ }
16271
+ },
16272
+ {
16273
+ "kind": "field",
16274
+ "name": "isRequestServer",
16275
+ "type": {
16276
+ "text": "boolean"
16277
+ },
16278
+ "readonly": true,
16279
+ "inheritedFrom": {
16280
+ "name": "GenesisGridDatasourceElement",
16281
+ "module": "src/datasource/base.datasource.ts"
16282
+ }
16211
16283
  },
16212
16284
  {
16213
16285
  "kind": "method",
16214
- "name": "handleStreamResult",
16215
- "privacy": "private",
16286
+ "name": "datasourceStatusChanged",
16216
16287
  "parameters": [
16217
16288
  {
16218
- "name": "result",
16289
+ "name": "prev",
16219
16290
  "type": {
16220
- "text": "FilteredDataServerResult | RequestServerResult"
16291
+ "text": "DatasourceStatus"
16292
+ }
16293
+ },
16294
+ {
16295
+ "name": "next",
16296
+ "type": {
16297
+ "text": "DatasourceStatus"
16221
16298
  }
16222
16299
  }
16223
- ]
16300
+ ],
16301
+ "inheritedFrom": {
16302
+ "name": "GenesisGridDatasourceElement",
16303
+ "module": "src/datasource/base.datasource.ts"
16304
+ }
16224
16305
  },
16225
16306
  {
16226
16307
  "kind": "method",
16227
- "name": "updateLoadMoreStatus",
16228
- "privacy": "private",
16308
+ "name": "handleErrors",
16229
16309
  "parameters": [
16230
16310
  {
16231
- "name": "moreRows",
16311
+ "name": "errors",
16232
16312
  "type": {
16233
- "text": "boolean"
16313
+ "text": "string | any[]"
16234
16314
  },
16235
- "description": "Whether more rows are available"
16315
+ "description": "The error message or array of error messages"
16236
16316
  },
16237
16317
  {
16238
- "name": "sourceRef",
16318
+ "name": "type",
16319
+ "default": "'unknown'",
16239
16320
  "type": {
16240
- "text": "string"
16321
+ "text": "BaseDatasourceErrorEventDetail['type']"
16241
16322
  },
16242
- "description": "The source reference"
16243
- },
16244
- {
16245
- "description": "The total number of rows",
16246
- "name": "rowsCount"
16323
+ "description": "The type of error that occurred"
16247
16324
  }
16248
16325
  ],
16249
- "description": "Updates the status bar based on more rows status"
16326
+ "description": "Handles errors and emits appropriate error events.",
16327
+ "privacy": "public",
16328
+ "inheritedFrom": {
16329
+ "name": "GenesisGridDatasourceElement",
16330
+ "module": "src/datasource/base.datasource.ts"
16331
+ }
16250
16332
  },
16251
16333
  {
16252
16334
  "kind": "method",
16253
- "name": "applyRequestServerData",
16254
- "privacy": "private",
16255
- "parameters": [
16256
- {
16257
- "name": "requestServerResult",
16258
- "type": {
16259
- "text": "RequestServerResult"
16260
- }
16261
- }
16262
- ]
16335
+ "name": "clearErrors",
16336
+ "description": "Clears error state and emits connected event.",
16337
+ "privacy": "public",
16338
+ "inheritedFrom": {
16339
+ "name": "GenesisGridDatasourceElement",
16340
+ "module": "src/datasource/base.datasource.ts"
16341
+ }
16263
16342
  },
16264
16343
  {
16265
- "kind": "method",
16266
- "name": "applyDataserverData",
16344
+ "kind": "field",
16345
+ "name": "_presentation",
16346
+ "type": {
16347
+ "text": "ComponentPresentation | null | undefined"
16348
+ },
16267
16349
  "privacy": "private",
16268
- "parameters": [
16269
- {
16270
- "name": "dataServerResult",
16271
- "type": {
16272
- "text": "FilteredDataServerResult"
16273
- }
16274
- }
16275
- ]
16350
+ "default": "void 0",
16351
+ "inheritedFrom": {
16352
+ "name": "FoundationElement",
16353
+ "module": "src/foundation-element/foundation-element.ts"
16354
+ }
16276
16355
  },
16277
16356
  {
16278
- "kind": "method",
16279
- "name": "getAgColumnDefs",
16280
- "privacy": "private",
16281
- "parameters": [
16282
- {
16283
- "name": "fieldsMetadata",
16284
- "type": {
16285
- "text": "FieldMetadata[]"
16286
- }
16287
- }
16288
- ]
16357
+ "kind": "field",
16358
+ "name": "$presentation",
16359
+ "type": {
16360
+ "text": "ComponentPresentation | null"
16361
+ },
16362
+ "privacy": "public",
16363
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
16364
+ "inheritedFrom": {
16365
+ "name": "FoundationElement",
16366
+ "module": "src/foundation-element/foundation-element.ts"
16367
+ }
16289
16368
  },
16290
16369
  {
16291
- "kind": "method",
16292
- "name": "setFilter",
16370
+ "kind": "field",
16371
+ "name": "template",
16372
+ "type": {
16373
+ "text": "ElementViewTemplate | void | null"
16374
+ },
16293
16375
  "privacy": "public",
16294
- "parameters": [
16295
- {
16296
- "name": "fieldName",
16297
- "type": {
16298
- "text": "string"
16299
- }
16300
- },
16301
- {
16302
- "name": "newFilter",
16303
- "type": {
16304
- "text": "string"
16305
- }
16306
- }
16307
- ],
16376
+ "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.",
16308
16377
  "inheritedFrom": {
16309
- "name": "GenesisGridDatasourceElement",
16310
- "module": "src/datasource/base.datasource.ts"
16378
+ "name": "FoundationElement",
16379
+ "module": "src/foundation-element/foundation-element.ts"
16311
16380
  }
16312
16381
  },
16313
16382
  {
16314
16383
  "kind": "method",
16315
- "name": "removeFilter",
16316
- "privacy": "public",
16317
- "parameters": [
16318
- {
16319
- "name": "fieldName",
16320
- "type": {
16321
- "text": "string"
16322
- }
16384
+ "name": "templateChanged",
16385
+ "privacy": "protected",
16386
+ "return": {
16387
+ "type": {
16388
+ "text": "void"
16323
16389
  }
16324
- ],
16390
+ },
16325
16391
  "inheritedFrom": {
16326
- "name": "GenesisGridDatasourceElement",
16327
- "module": "src/datasource/base.datasource.ts"
16392
+ "name": "FoundationElement",
16393
+ "module": "src/foundation-element/foundation-element.ts"
16394
+ }
16395
+ },
16396
+ {
16397
+ "kind": "field",
16398
+ "name": "styles",
16399
+ "type": {
16400
+ "text": "ElementStyles | void | null"
16401
+ },
16402
+ "privacy": "public",
16403
+ "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.",
16404
+ "inheritedFrom": {
16405
+ "name": "FoundationElement",
16406
+ "module": "src/foundation-element/foundation-element.ts"
16328
16407
  }
16329
16408
  },
16330
16409
  {
16331
16410
  "kind": "method",
16332
- "name": "applyTransaction",
16411
+ "name": "stylesChanged",
16333
16412
  "privacy": "protected",
16334
16413
  "return": {
16335
16414
  "type": {
16336
- "text": "any"
16415
+ "text": "void"
16337
16416
  }
16338
16417
  },
16339
- "parameters": [
16340
- {
16341
- "name": "transaction",
16342
- "type": {
16343
- "text": "any"
16344
- }
16345
- }
16346
- ],
16347
16418
  "inheritedFrom": {
16348
- "name": "GridProBaseDatasource",
16349
- "module": "src/datasource/base.datasource.ts"
16419
+ "name": "FoundationElement",
16420
+ "module": "src/foundation-element/foundation-element.ts"
16350
16421
  }
16351
16422
  },
16352
16423
  {
16353
16424
  "kind": "method",
16354
- "name": "handleSizeChanged",
16355
- "privacy": "private",
16425
+ "name": "compose",
16426
+ "privacy": "public",
16427
+ "static": true,
16428
+ "return": {
16429
+ "type": {
16430
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
16431
+ }
16432
+ },
16356
16433
  "parameters": [
16357
16434
  {
16358
- "name": "oldSize",
16435
+ "name": "this",
16359
16436
  "type": {
16360
- "text": "number"
16437
+ "text": "K"
16361
16438
  }
16362
16439
  },
16363
16440
  {
16364
- "name": "newSize",
16441
+ "name": "elementDefinition",
16365
16442
  "type": {
16366
- "text": "number"
16367
- }
16368
- }
16369
- ]
16370
- },
16371
- {
16372
- "kind": "method",
16373
- "name": "handleStreamInserts",
16374
- "privacy": "protected",
16375
- "parameters": [
16376
- {
16377
- "name": "inserts",
16378
- "default": "[]"
16443
+ "text": "T"
16444
+ },
16445
+ "description": "The definition of the element to create the registry\nfunction for."
16379
16446
  }
16380
16447
  ],
16448
+ "description": "Defines an element registry function with a set of element definition defaults.",
16381
16449
  "inheritedFrom": {
16382
- "name": "GridProBaseDatasource",
16383
- "module": "src/datasource/base.datasource.ts"
16450
+ "name": "FoundationElement",
16451
+ "module": "src/foundation-element/foundation-element.ts"
16384
16452
  }
16453
+ }
16454
+ ],
16455
+ "attributes": [
16456
+ {
16457
+ "name": "keep-col-defs-on-clear-row-data",
16458
+ "type": {
16459
+ "text": "boolean"
16460
+ },
16461
+ "default": "false",
16462
+ "fieldName": "keepColDefsOnClearRowData"
16385
16463
  },
16386
16464
  {
16387
- "kind": "method",
16388
- "name": "handleStreamUpdates",
16389
- "privacy": "protected",
16390
- "parameters": [
16391
- {
16392
- "name": "updates",
16393
- "default": "[]"
16394
- }
16395
- ],
16465
+ "name": "criteria",
16466
+ "type": {
16467
+ "text": "string"
16468
+ },
16469
+ "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription.",
16470
+ "fieldName": "criteria",
16396
16471
  "inheritedFrom": {
16397
- "name": "GridProBaseDatasource",
16472
+ "name": "GenesisGridDatasourceElement",
16398
16473
  "module": "src/datasource/base.datasource.ts"
16399
16474
  }
16400
16475
  },
16401
16476
  {
16402
- "kind": "method",
16403
- "name": "handleStreamDeletes",
16404
- "privacy": "protected",
16405
- "parameters": [
16406
- {
16407
- "name": "deletes",
16408
- "default": "[]",
16409
- "description": "List of records to remove from the grid stream"
16410
- }
16411
- ],
16412
- "description": "Handles stream deletes by removing records from the grid.",
16477
+ "name": "is-snapshot",
16478
+ "type": {
16479
+ "text": "boolean"
16480
+ },
16481
+ "default": "false",
16482
+ "description": "Request a snapshot from the server.",
16483
+ "fieldName": "isSnapshot",
16413
16484
  "inheritedFrom": {
16414
- "name": "GridProBaseDatasource",
16485
+ "name": "GenesisGridDatasourceElement",
16415
16486
  "module": "src/datasource/base.datasource.ts"
16416
16487
  }
16417
16488
  },
16418
16489
  {
16419
- "kind": "method",
16420
- "name": "loadMore",
16490
+ "name": "max-rows",
16491
+ "type": {
16492
+ "text": "number"
16493
+ },
16494
+ "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages.",
16495
+ "fieldName": "maxRows",
16421
16496
  "inheritedFrom": {
16422
- "name": "GridProBaseDatasource",
16497
+ "name": "GenesisGridDatasourceElement",
16423
16498
  "module": "src/datasource/base.datasource.ts"
16424
16499
  }
16425
16500
  },
16426
16501
  {
16427
- "kind": "method",
16428
- "name": "cloneNode",
16429
- "return": {
16430
- "type": {
16431
- "text": "Node"
16432
- }
16502
+ "name": "order-by",
16503
+ "type": {
16504
+ "text": "string"
16433
16505
  },
16434
- "parameters": [
16435
- {
16436
- "name": "deep",
16437
- "optional": true,
16438
- "type": {
16439
- "text": "boolean"
16440
- }
16441
- }
16442
- ],
16506
+ "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.",
16507
+ "fieldName": "orderBy",
16443
16508
  "inheritedFrom": {
16444
- "name": "LifecycleMixin",
16445
- "module": "src/mixins/lifecycle/lifecycle.ts"
16509
+ "name": "GenesisGridDatasourceElement",
16510
+ "module": "src/datasource/base.datasource.ts"
16446
16511
  }
16447
16512
  },
16448
16513
  {
16449
- "kind": "field",
16450
- "name": "shouldRunDisconnect",
16451
- "return": {
16452
- "type": {
16453
- "text": ""
16454
- }
16514
+ "name": "resource-name",
16515
+ "type": {
16516
+ "text": "string"
16455
16517
  },
16456
- "readonly": true,
16518
+ "description": "The name of the target Data Server query or Request Server requestReply.",
16519
+ "fieldName": "resourceName",
16457
16520
  "inheritedFrom": {
16458
- "name": "LifecycleMixin",
16459
- "module": "src/mixins/lifecycle/lifecycle.ts"
16521
+ "name": "GenesisGridDatasourceElement",
16522
+ "module": "src/datasource/base.datasource.ts"
16460
16523
  }
16461
16524
  },
16462
16525
  {
16463
- "kind": "field",
16464
- "name": "shouldRunConnect",
16465
- "return": {
16466
- "type": {
16467
- "text": ""
16468
- }
16526
+ "name": "view-number",
16527
+ "type": {
16528
+ "text": "number"
16469
16529
  },
16470
- "readonly": true,
16530
+ "description": "The desired view/page you want data from.",
16531
+ "fieldName": "viewNumber",
16471
16532
  "inheritedFrom": {
16472
- "name": "LifecycleMixin",
16473
- "module": "src/mixins/lifecycle/lifecycle.ts"
16533
+ "name": "GenesisGridDatasourceElement",
16534
+ "module": "src/datasource/base.datasource.ts"
16474
16535
  }
16475
16536
  },
16476
16537
  {
16477
- "kind": "method",
16478
- "name": "#_blockLifecycleDueToTokenChange",
16479
- "return": {
16480
- "type": {
16481
- "text": "boolean"
16482
- }
16483
- },
16484
- "parameters": [
16485
- {
16486
- "name": "lifecycleType",
16487
- "type": {
16488
- "text": "Lifecycletype"
16489
- }
16490
- }
16491
- ],
16492
- "inheritedFrom": {
16493
- "name": "LifecycleMixin",
16494
- "module": "src/mixins/lifecycle/lifecycle.ts"
16495
- }
16496
- },
16497
- {
16498
- "kind": "field",
16499
- "name": "dataSubWasLoggedOff",
16538
+ "name": "fields",
16500
16539
  "type": {
16501
- "text": "boolean"
16540
+ "text": "string"
16502
16541
  },
16503
- "privacy": "protected",
16504
- "default": "false",
16542
+ "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.",
16543
+ "fieldName": "fields",
16505
16544
  "inheritedFrom": {
16506
- "name": "GridProBaseDatasource",
16545
+ "name": "GenesisGridDatasourceElement",
16507
16546
  "module": "src/datasource/base.datasource.ts"
16508
16547
  }
16509
16548
  },
16510
16549
  {
16511
- "kind": "field",
16512
- "name": "rowData",
16550
+ "name": "max-view",
16513
16551
  "type": {
16514
- "text": "Map<string, any>"
16552
+ "text": "number"
16515
16553
  },
16516
- "default": "new Map()",
16554
+ "description": "Maximum number of rows to track as part of a client \"view\".",
16555
+ "fieldName": "maxView",
16517
16556
  "inheritedFrom": {
16518
- "name": "GridProBaseDatasource",
16557
+ "name": "GenesisGridDatasourceElement",
16519
16558
  "module": "src/datasource/base.datasource.ts"
16520
16559
  }
16521
16560
  },
16522
16561
  {
16523
- "kind": "field",
16524
- "name": "connectionSub",
16562
+ "name": "moving-view",
16525
16563
  "type": {
16526
- "text": "Subscription | undefined"
16564
+ "text": "boolean"
16527
16565
  },
16528
- "privacy": "protected",
16529
- "inheritedFrom": {
16530
- "name": "GridProBaseDatasource",
16531
- "module": "src/datasource/base.datasource.ts"
16532
- }
16533
- },
16534
- {
16535
- "kind": "method",
16536
- "name": "subscribeToConnection",
16537
- "privacy": "protected",
16566
+ "default": "false",
16567
+ "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.",
16568
+ "fieldName": "movingView",
16538
16569
  "inheritedFrom": {
16539
- "name": "GridProBaseDatasource",
16570
+ "name": "GenesisGridDatasourceElement",
16540
16571
  "module": "src/datasource/base.datasource.ts"
16541
16572
  }
16542
16573
  },
16543
16574
  {
16544
- "kind": "method",
16545
- "name": "unsubscribeFromConnection",
16546
- "privacy": "protected",
16575
+ "type": {
16576
+ "text": "number"
16577
+ },
16578
+ "description": "Option that changes the Data Server index iteration.",
16579
+ "fieldName": "reverse",
16580
+ "default": "false",
16547
16581
  "inheritedFrom": {
16548
- "name": "GridProBaseDatasource",
16582
+ "name": "GenesisGridDatasourceElement",
16549
16583
  "module": "src/datasource/base.datasource.ts"
16550
16584
  }
16551
16585
  },
16552
16586
  {
16553
- "kind": "method",
16554
- "name": "generateColumnDefsFromMetadata",
16555
- "privacy": "protected",
16556
- "return": {
16557
- "type": {
16558
- "text": "ColDef[]"
16559
- }
16587
+ "name": "disable-polling",
16588
+ "type": {
16589
+ "text": "boolean"
16560
16590
  },
16561
- "parameters": [
16562
- {
16563
- "name": "fieldsMetadata",
16564
- "type": {
16565
- "text": "FieldMetadata[]"
16566
- }
16567
- },
16568
- {
16569
- "name": "getFilterParamsByFieldType",
16570
- "type": {
16571
- "text": "(field: FieldMetadata) => ColDef['filterParams'] | any"
16572
- }
16573
- },
16574
- {
16575
- "name": "getFilterByFieldType",
16576
- "type": {
16577
- "text": "(type: FieldTypeEnum) => string"
16578
- }
16579
- }
16580
- ],
16591
+ "default": "false",
16592
+ "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically).",
16593
+ "fieldName": "disablePolling",
16581
16594
  "inheritedFrom": {
16582
- "name": "GridProBaseDatasource",
16595
+ "name": "GenesisGridDatasourceElement",
16583
16596
  "module": "src/datasource/base.datasource.ts"
16584
16597
  }
16585
16598
  },
16586
16599
  {
16587
- "kind": "method",
16588
- "name": "applyAllTransactions",
16589
- "privacy": "protected",
16600
+ "name": "polling-interval",
16601
+ "type": {
16602
+ "text": "number"
16603
+ },
16604
+ "description": "Custom polling frequency (in milliseconds) for a Request Server resource.",
16605
+ "fieldName": "pollingInterval",
16590
16606
  "inheritedFrom": {
16591
- "name": "GridProBaseDatasource",
16607
+ "name": "GenesisGridDatasourceElement",
16592
16608
  "module": "src/datasource/base.datasource.ts"
16593
16609
  }
16594
16610
  },
16595
16611
  {
16596
- "kind": "method",
16597
- "name": "applyMappedTransaction",
16598
- "privacy": "private",
16599
- "parameters": [
16600
- {
16601
- "name": "transaction",
16602
- "type": {
16603
- "text": "TransactionData"
16604
- }
16605
- },
16606
- {
16607
- "name": "operation",
16608
- "type": {
16609
- "text": "OperationType"
16610
- }
16611
- }
16612
- ],
16612
+ "name": "request-auto-setup",
16613
+ "type": {
16614
+ "text": "boolean"
16615
+ },
16616
+ "default": "true",
16617
+ "description": "Attribute to set whether the REQUEST object should be automatically set up.",
16618
+ "fieldName": "requestAutoSetup",
16613
16619
  "inheritedFrom": {
16614
- "name": "GridProBaseDatasource",
16620
+ "name": "GenesisGridDatasourceElement",
16615
16621
  "module": "src/datasource/base.datasource.ts"
16616
16622
  }
16617
16623
  },
16618
16624
  {
16619
- "kind": "method",
16620
- "name": "mapTransaction",
16621
- "privacy": "private",
16622
- "parameters": [
16623
- {
16624
- "name": "transaction",
16625
- "type": {
16626
- "text": "TransactionData"
16627
- },
16628
- "description": "The transaction data to be mapped."
16629
- },
16630
- {
16631
- "name": "operations",
16632
- "default": "Object.values(OperationType)",
16633
- "type": {
16634
- "text": "OperationType[]"
16635
- },
16636
- "description": "The operations to be mapped. Can be 'add', 'update' or 'remove'."
16637
- }
16638
- ],
16639
- "description": "Maps the transaction data to the row data mapper function, if it exists.",
16640
- "return": {
16641
- "type": {
16642
- "text": ""
16643
- }
16644
- },
16625
+ "name": "row-id",
16626
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
16627
+ "fieldName": "rowIdAttr",
16645
16628
  "inheritedFrom": {
16646
- "name": "GridProBaseDatasource",
16629
+ "name": "GenesisGridDatasourceElement",
16647
16630
  "module": "src/datasource/base.datasource.ts"
16648
16631
  }
16649
16632
  },
16650
16633
  {
16651
- "kind": "field",
16652
- "name": "pagination",
16634
+ "name": "restart-on-reconnection",
16653
16635
  "type": {
16654
16636
  "text": "boolean"
16655
16637
  },
16656
- "privacy": "protected",
16638
+ "default": "true",
16639
+ "description": "Attribute to set whether the datasource should restart when it reconnects.",
16640
+ "fieldName": "restartOnReconnection",
16657
16641
  "inheritedFrom": {
16658
- "name": "GridProBaseDatasource",
16642
+ "name": "GenesisGridDatasourceElement",
16659
16643
  "module": "src/datasource/base.datasource.ts"
16660
16644
  }
16661
- },
16645
+ }
16646
+ ],
16647
+ "mixins": [
16662
16648
  {
16663
- "kind": "field",
16664
- "name": "_isDisconnected",
16649
+ "name": "LifecycleMixin",
16650
+ "package": "@genesislcap/foundation-utils"
16651
+ }
16652
+ ],
16653
+ "superclass": {
16654
+ "name": "GridProBaseDatasource",
16655
+ "module": "/src/datasource/base.datasource"
16656
+ },
16657
+ "tagName": "grid-pro-genesis-datasource",
16658
+ "customElement": true
16659
+ }
16660
+ ],
16661
+ "exports": [
16662
+ {
16663
+ "kind": "js",
16664
+ "name": "GridProGenesisDatasource",
16665
+ "declaration": {
16666
+ "name": "GridProGenesisDatasource",
16667
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
16668
+ }
16669
+ },
16670
+ {
16671
+ "kind": "custom-element-definition",
16672
+ "name": "grid-pro-genesis-datasource",
16673
+ "declaration": {
16674
+ "name": "GridProGenesisDatasource",
16675
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
16676
+ }
16677
+ }
16678
+ ]
16679
+ },
16680
+ {
16681
+ "kind": "javascript-module",
16682
+ "path": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
16683
+ "declarations": [],
16684
+ "exports": []
16685
+ },
16686
+ {
16687
+ "kind": "javascript-module",
16688
+ "path": "src/grid-pro-genesis-datasource/index.ts",
16689
+ "declarations": [],
16690
+ "exports": [
16691
+ {
16692
+ "kind": "js",
16693
+ "name": "*",
16694
+ "declaration": {
16695
+ "name": "*",
16696
+ "package": "./datasource-events.types"
16697
+ }
16698
+ },
16699
+ {
16700
+ "kind": "js",
16701
+ "name": "*",
16702
+ "declaration": {
16703
+ "name": "*",
16704
+ "package": "./grid-pro-genesis-datasource"
16705
+ }
16706
+ },
16707
+ {
16708
+ "kind": "js",
16709
+ "name": "*",
16710
+ "declaration": {
16711
+ "name": "*",
16712
+ "package": "./grid-pro-genesis-datasource.config"
16713
+ }
16714
+ },
16715
+ {
16716
+ "kind": "js",
16717
+ "name": "*",
16718
+ "declaration": {
16719
+ "name": "*",
16720
+ "package": "./grid-pro-genesis-datasource.types"
16721
+ }
16722
+ }
16723
+ ]
16724
+ },
16725
+ {
16726
+ "kind": "javascript-module",
16727
+ "path": "src/multicolumn-dropdown/index.ts",
16728
+ "declarations": [],
16729
+ "exports": [
16730
+ {
16731
+ "kind": "js",
16732
+ "name": "*",
16733
+ "declaration": {
16734
+ "name": "*",
16735
+ "package": "./multicolumn-dropdown"
16736
+ }
16737
+ },
16738
+ {
16739
+ "kind": "js",
16740
+ "name": "*",
16741
+ "declaration": {
16742
+ "name": "*",
16743
+ "package": "./multicolumn-dropdown.styles"
16744
+ }
16745
+ },
16746
+ {
16747
+ "kind": "js",
16748
+ "name": "*",
16749
+ "declaration": {
16750
+ "name": "*",
16751
+ "package": "./multicolumn-dropdown.template"
16752
+ }
16753
+ }
16754
+ ]
16755
+ },
16756
+ {
16757
+ "kind": "javascript-module",
16758
+ "path": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts",
16759
+ "declarations": [
16760
+ {
16761
+ "kind": "variable",
16762
+ "name": "dropdownWidthVar",
16763
+ "type": {
16764
+ "text": "string"
16765
+ },
16766
+ "default": "'--dropdown-width'",
16767
+ "description": "The CSS variable to use for specifying the dropdown's width"
16768
+ },
16769
+ {
16770
+ "kind": "variable",
16771
+ "name": "optionsClass",
16772
+ "type": {
16773
+ "text": "string"
16774
+ },
16775
+ "default": "'options'",
16776
+ "description": "The CSS class to use for the options element's class in the dropdown"
16777
+ },
16778
+ {
16779
+ "kind": "variable",
16780
+ "name": "DISPLAY_NONE_CLASS",
16781
+ "type": {
16782
+ "text": "string"
16783
+ },
16784
+ "default": "'dnone'",
16785
+ "description": "Class name used to hide elements with display:none"
16786
+ },
16787
+ {
16788
+ "kind": "variable",
16789
+ "name": "multicolumnDropdownStyles",
16790
+ "default": "css`\n label {\n color: var(--neutral-foreground-hint, rgb(135 155 166));\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n }\n\n .${DISPLAY_NONE_CLASS} {\n display: none !important;\n }\n\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n ${dropdownWidthVar}: 350px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: inherit;\n min-height: 40px;\n padding-left: calc(var(--design-unit) * 2.25px);\n padding-right: 52px;\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n text-overflow: ellipsis;\n font-size: var(--type-ramp-base-font-size);\n font-family: var(--body-font);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: var(--disabled-opacity);\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid var(--neutral-stroke-hover, rgb(231 232 232));\n }\n\n button {\n pointer-events: none;\n }\n\n #arrow-icon {\n display: inline-block;\n width: 16px;\n color: currentColor;\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .cross-icon {\n display: inline-block;\n width: 12px;\n color: currentColor;\n position: absolute;\n left: calc(100% - 46px);\n padding: 0;\n cursor: pointer;\n visibility: hidden;\n }\n\n .cross-icon:hover {\n color: var(--error-color);\n }\n\n .disabled-icon {\n pointer-events: none;\n opacity: var(--disabled-opacity);\n }\n\n .${optionsClass} {\n min-width: 100%;\n width: var(${dropdownWidthVar});\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin: 5px 0;\n background: var(--neutral-fill-input-rest);\n visibility: hidden;\n z-index: 999;\n }\n\n .dropdown-above {\n bottom: 100%;\n }\n\n .dropdown-left {\n right: 0;\n }\n\n .grid-container {\n height: 300px;\n width: 100%;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n .visible {\n visibility: visible;\n }\n`",
16791
+ "description": "Multicolumn Dropdown styles.",
16792
+ "privacy": "public"
16793
+ }
16794
+ ],
16795
+ "exports": [
16796
+ {
16797
+ "kind": "js",
16798
+ "name": "dropdownWidthVar",
16799
+ "declaration": {
16800
+ "name": "dropdownWidthVar",
16801
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
16802
+ }
16803
+ },
16804
+ {
16805
+ "kind": "js",
16806
+ "name": "optionsClass",
16807
+ "declaration": {
16808
+ "name": "optionsClass",
16809
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
16810
+ }
16811
+ },
16812
+ {
16813
+ "kind": "js",
16814
+ "name": "DISPLAY_NONE_CLASS",
16815
+ "declaration": {
16816
+ "name": "DISPLAY_NONE_CLASS",
16817
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
16818
+ }
16819
+ },
16820
+ {
16821
+ "kind": "js",
16822
+ "name": "multicolumnDropdownStyles",
16823
+ "declaration": {
16824
+ "name": "multicolumnDropdownStyles",
16825
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.styles.ts"
16826
+ }
16827
+ }
16828
+ ]
16829
+ },
16830
+ {
16831
+ "kind": "javascript-module",
16832
+ "path": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts",
16833
+ "declarations": [
16834
+ {
16835
+ "kind": "function",
16836
+ "name": "getMulticolumnDropdownTemplate",
16837
+ "parameters": [
16838
+ {
16839
+ "name": "designSystem",
16840
+ "default": "'foundation'",
16841
+ "description": "The design system prefix to use. Defaults to 'foundation'."
16842
+ }
16843
+ ],
16844
+ "description": "Get a Design System prefixed Multicolumn Dropdown template.",
16845
+ "return": {
16846
+ "type": {
16847
+ "text": ""
16848
+ }
16849
+ },
16850
+ "privacy": "public"
16851
+ },
16852
+ {
16853
+ "kind": "variable",
16854
+ "name": "multicolumnDropdownTemplate",
16855
+ "description": "The default Multicolumn Dropdown template using the 'foundation' design system prefix.",
16856
+ "privacy": "public"
16857
+ }
16858
+ ],
16859
+ "exports": [
16860
+ {
16861
+ "kind": "js",
16862
+ "name": "getMulticolumnDropdownTemplate",
16863
+ "declaration": {
16864
+ "name": "getMulticolumnDropdownTemplate",
16865
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts"
16866
+ }
16867
+ },
16868
+ {
16869
+ "kind": "js",
16870
+ "name": "multicolumnDropdownTemplate",
16871
+ "declaration": {
16872
+ "name": "multicolumnDropdownTemplate",
16873
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.template.ts"
16874
+ }
16875
+ }
16876
+ ]
16877
+ },
16878
+ {
16879
+ "kind": "javascript-module",
16880
+ "path": "src/multicolumn-dropdown/multicolumn-dropdown.ts",
16881
+ "declarations": [
16882
+ {
16883
+ "kind": "function",
16884
+ "name": "wasClickOutsideElement",
16885
+ "parameters": [
16886
+ {
16887
+ "name": "event",
16665
16888
  "type": {
16666
- "text": "boolean"
16667
- },
16668
- "privacy": "private",
16669
- "default": "false",
16670
- "inheritedFrom": {
16671
- "name": "GridProBaseDatasource",
16672
- "module": "src/datasource/base.datasource.ts"
16889
+ "text": "MouseEvent"
16673
16890
  }
16674
16891
  },
16675
16892
  {
16676
- "kind": "method",
16677
- "name": "setDisconnected",
16678
- "privacy": "public",
16679
- "parameters": [
16680
- {
16681
- "name": "disconnected",
16682
- "type": {
16683
- "text": "boolean"
16684
- },
16685
- "description": "true to set, false to remove"
16686
- }
16687
- ],
16688
- "description": "Sets the disconnected state and emits appropriate events.",
16689
- "inheritedFrom": {
16690
- "name": "GridProBaseDatasource",
16691
- "module": "src/datasource/base.datasource.ts"
16893
+ "name": "target",
16894
+ "type": {
16895
+ "text": "EventTarget"
16692
16896
  }
16693
- },
16897
+ }
16898
+ ],
16899
+ "description": "Checks if the given mouse event occurred outside the target element.",
16900
+ "privacy": "public"
16901
+ },
16902
+ {
16903
+ "kind": "class",
16904
+ "description": "",
16905
+ "name": "MulticolumnDropdown",
16906
+ "members": [
16694
16907
  {
16695
- "kind": "method",
16696
- "name": "isDisconnected",
16697
- "privacy": "public",
16698
- "return": {
16699
- "type": {
16700
- "text": "boolean"
16701
- }
16702
- },
16703
- "description": "Returns true if the datasource is disconnected.",
16704
- "inheritedFrom": {
16705
- "name": "GridProBaseDatasource",
16706
- "module": "src/datasource/base.datasource.ts"
16908
+ "kind": "field",
16909
+ "name": "optionsElement",
16910
+ "type": {
16911
+ "text": "HTMLElement"
16707
16912
  }
16708
16913
  },
16709
16914
  {
16710
- "kind": "method",
16711
- "name": "getDatasourceStatusBarPanels",
16712
- "privacy": "public",
16713
- "return": {
16714
- "type": {
16715
- "text": "any[]"
16716
- }
16915
+ "kind": "field",
16916
+ "name": "lastRequest",
16917
+ "type": {
16918
+ "text": "object"
16717
16919
  },
16718
- "parameters": [
16719
- {
16720
- "name": "isServerSide",
16721
- "type": {
16722
- "text": "boolean"
16723
- }
16724
- },
16725
- {
16726
- "name": "statusBarConfig",
16727
- "type": {
16728
- "text": "any"
16729
- }
16730
- }
16731
- ],
16732
- "description": "Gets datasource-specific status bar component configurations.\nThis method should be called by the grid to get status bar panels specific to this datasource.",
16733
- "inheritedFrom": {
16734
- "name": "GridProBaseDatasource",
16735
- "module": "src/datasource/base.datasource.ts"
16736
- }
16920
+ "privacy": "private"
16737
16921
  },
16738
16922
  {
16739
16923
  "kind": "field",
16740
- "name": "connect",
16924
+ "name": "connectOverride",
16741
16925
  "type": {
16742
16926
  "text": "Connect"
16743
16927
  },
16744
- "inheritedFrom": {
16745
- "name": "GenesisGridDatasourceElement",
16746
- "module": "src/datasource/base.datasource.ts"
16747
- }
16928
+ "privacy": "private"
16748
16929
  },
16749
16930
  {
16750
16931
  "kind": "field",
16751
- "name": "datasource",
16932
+ "name": "_connectDI",
16752
16933
  "type": {
16753
- "text": "Datasource"
16934
+ "text": "Connect"
16754
16935
  },
16755
- "inheritedFrom": {
16756
- "name": "GenesisGridDatasourceElement",
16757
- "module": "src/datasource/base.datasource.ts"
16758
- }
16936
+ "privacy": "private"
16759
16937
  },
16760
16938
  {
16761
16939
  "kind": "field",
16762
- "name": "deferredGridOptions",
16940
+ "name": "connect",
16763
16941
  "type": {
16764
- "text": "GridOptions"
16942
+ "text": "Connect"
16765
16943
  },
16766
- "inheritedFrom": {
16767
- "name": "GenesisGridDatasourceElement",
16768
- "module": "src/datasource/base.datasource.ts"
16769
- }
16944
+ "description": "The connect service - uses DI by default, but can be manually set for dynamic element creation"
16770
16945
  },
16771
16946
  {
16772
16947
  "kind": "field",
16773
- "name": "deferredColumnStates",
16948
+ "name": "disabled",
16774
16949
  "type": {
16775
- "text": "ColumnState[]"
16950
+ "text": "boolean"
16776
16951
  },
16777
- "inheritedFrom": {
16778
- "name": "GenesisGridDatasourceElement",
16779
- "module": "src/datasource/base.datasource.ts"
16780
- }
16952
+ "privacy": "public",
16953
+ "description": "Whether to disable control of the component"
16781
16954
  },
16782
16955
  {
16783
16956
  "kind": "field",
16784
- "name": "rowDataMapper",
16957
+ "name": "resourceName",
16785
16958
  "type": {
16786
- "text": "Function"
16959
+ "text": "string"
16787
16960
  },
16788
- "description": "Allows grid data updates to be processed via and external function before applying in grid",
16789
- "inheritedFrom": {
16790
- "name": "GenesisGridDatasourceElement",
16791
- "module": "src/datasource/base.datasource.ts"
16792
- }
16961
+ "privacy": "public",
16962
+ "description": "The name of the reqrep to get the options from"
16793
16963
  },
16794
16964
  {
16795
16965
  "kind": "field",
16796
- "name": "criteria",
16966
+ "name": "searchKey",
16797
16967
  "type": {
16798
- "text": "string"
16968
+ "text": "string | string[] | undefined"
16799
16969
  },
16800
- "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription.",
16801
- "inheritedFrom": {
16802
- "name": "GenesisGridDatasourceElement",
16803
- "module": "src/datasource/base.datasource.ts"
16804
- }
16970
+ "privacy": "public",
16971
+ "description": "The key(s) to search by. Use comma-separated values for multiple keys (e.g. search-key=\"NAME,ID\")."
16805
16972
  },
16806
16973
  {
16807
16974
  "kind": "field",
16808
- "name": "isSnapshot",
16975
+ "name": "requestSupportsAdvancedSearch",
16809
16976
  "type": {
16810
16977
  "text": "boolean"
16811
16978
  },
16979
+ "privacy": "public",
16812
16980
  "default": "false",
16813
- "description": "Request a snapshot from the server.",
16814
- "inheritedFrom": {
16815
- "name": "GenesisGridDatasourceElement",
16816
- "module": "src/datasource/base.datasource.ts"
16817
- }
16981
+ "description": "Tells whether a given request supports lookup by Groovy Expressions."
16818
16982
  },
16819
16983
  {
16820
16984
  "kind": "field",
16821
- "name": "maxRows",
16985
+ "name": "valueKey",
16822
16986
  "type": {
16823
- "text": "number"
16987
+ "text": "string"
16824
16988
  },
16825
- "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages.",
16826
- "inheritedFrom": {
16827
- "name": "GenesisGridDatasourceElement",
16828
- "module": "src/datasource/base.datasource.ts"
16829
- }
16989
+ "privacy": "public",
16990
+ "description": "The key used as the value sent to the server"
16830
16991
  },
16831
16992
  {
16832
16993
  "kind": "field",
16833
- "name": "orderBy",
16994
+ "name": "labelKey",
16834
16995
  "type": {
16835
16996
  "text": "string"
16836
16997
  },
16837
- "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.",
16838
- "inheritedFrom": {
16839
- "name": "GenesisGridDatasourceElement",
16840
- "module": "src/datasource/base.datasource.ts"
16841
- }
16998
+ "privacy": "public",
16999
+ "description": "The key used as the label displayed in the UI"
16842
17000
  },
16843
17001
  {
16844
17002
  "kind": "field",
16845
- "name": "resourceName",
17003
+ "name": "dropdownPlacement",
16846
17004
  "type": {
16847
- "text": "string"
17005
+ "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
16848
17006
  },
16849
- "description": "The name of the target Data Server query or Request Server requestReply.",
16850
- "inheritedFrom": {
16851
- "name": "GenesisGridDatasourceElement",
16852
- "module": "src/datasource/base.datasource.ts"
16853
- }
17007
+ "description": "Position of the dropdown panel relative to the control.\n- `'bottom-right'` – default; opens below and aligns to the right edge of the control\n- `'bottom-left'` opens below and extends to the left\n- `'top-right'` – opens above and aligns to the right edge of the control\n- `'top-left'` – opens above and extends to the left"
16854
17008
  },
16855
17009
  {
16856
17010
  "kind": "field",
16857
- "name": "viewNumber",
17011
+ "name": "dropdownWidth",
16858
17012
  "type": {
16859
17013
  "text": "number"
16860
17014
  },
16861
- "description": "The desired view/page you want data from.",
16862
- "inheritedFrom": {
16863
- "name": "GenesisGridDatasourceElement",
16864
- "module": "src/datasource/base.datasource.ts"
16865
- }
17015
+ "privacy": "public",
17016
+ "description": "Optionally specifies the width of the dropdown"
16866
17017
  },
16867
17018
  {
16868
17019
  "kind": "field",
16869
- "name": "fields",
17020
+ "name": "request",
16870
17021
  "type": {
16871
- "text": "string"
17022
+ "text": "object"
16872
17023
  },
16873
- "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.",
16874
- "inheritedFrom": {
16875
- "name": "GenesisGridDatasourceElement",
16876
- "module": "src/datasource/base.datasource.ts"
16877
- }
17024
+ "privacy": "public",
17025
+ "description": "A request object to pass in the reqrep"
16878
17026
  },
16879
17027
  {
16880
17028
  "kind": "field",
16881
- "name": "maxView",
17029
+ "name": "columnDefinitions",
16882
17030
  "type": {
16883
- "text": "number"
17031
+ "text": "ColDef[]"
16884
17032
  },
16885
- "description": "Maximum number of rows to track as part of a client \"view\".",
16886
- "inheritedFrom": {
16887
- "name": "GenesisGridDatasourceElement",
16888
- "module": "src/datasource/base.datasource.ts"
16889
- }
17033
+ "privacy": "public",
17034
+ "description": "An array of AG Grid column definitions to use in the grid to display the data"
16890
17035
  },
16891
17036
  {
16892
17037
  "kind": "field",
16893
- "name": "movingView",
17038
+ "name": "baseCriteria",
16894
17039
  "type": {
16895
- "text": "boolean"
17040
+ "text": "string | undefined"
16896
17041
  },
16897
- "default": "false",
16898
- "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.",
16899
- "inheritedFrom": {
16900
- "name": "GenesisGridDatasourceElement",
16901
- "module": "src/datasource/base.datasource.ts"
16902
- }
17042
+ "privacy": "public",
17043
+ "description": "Base criteria that is always applied to requests combined with search criteria via AND.\nUse this to pre-filter results."
16903
17044
  },
16904
17045
  {
16905
17046
  "kind": "field",
16906
- "name": "reverse",
17047
+ "name": "defaultSlottedNodes",
16907
17048
  "type": {
16908
- "text": "boolean"
17049
+ "text": "Node[]"
16909
17050
  },
16910
- "default": "false",
16911
- "description": "Option that changes the Data Server index iteration.",
16912
- "inheritedFrom": {
16913
- "name": "GenesisGridDatasourceElement",
16914
- "module": "src/datasource/base.datasource.ts"
16915
- }
17051
+ "privacy": "public",
17052
+ "default": "[]"
16916
17053
  },
16917
17054
  {
16918
17055
  "kind": "field",
16919
- "name": "disablePolling",
17056
+ "name": "grid",
16920
17057
  "type": {
16921
- "text": "boolean"
17058
+ "text": "GridPro"
16922
17059
  },
16923
- "default": "false",
16924
- "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically).",
16925
- "inheritedFrom": {
16926
- "name": "GenesisGridDatasourceElement",
16927
- "module": "src/datasource/base.datasource.ts"
16928
- }
17060
+ "privacy": "public"
16929
17061
  },
16930
17062
  {
16931
17063
  "kind": "field",
16932
- "name": "offset",
17064
+ "name": "_value",
16933
17065
  "type": {
16934
- "text": "number"
17066
+ "text": "string"
16935
17067
  },
16936
- "description": "The offset for pagination in REQUEST_SERVER scenarios.",
16937
- "inheritedFrom": {
16938
- "name": "GenesisGridDatasourceElement",
16939
- "module": "src/datasource/base.datasource.ts"
16940
- }
17068
+ "privacy": "private"
16941
17069
  },
16942
17070
  {
16943
17071
  "kind": "field",
16944
- "name": "pollingInterval",
17072
+ "name": "value",
16945
17073
  "type": {
16946
- "text": "number"
16947
- },
16948
- "description": "Custom polling frequency (in milliseconds) for a Request Server resource.",
16949
- "inheritedFrom": {
16950
- "name": "GenesisGridDatasourceElement",
16951
- "module": "src/datasource/base.datasource.ts"
17074
+ "text": "string"
16952
17075
  }
16953
17076
  },
16954
17077
  {
16955
17078
  "kind": "field",
16956
- "name": "pollTriggerEvents",
17079
+ "name": "filterSearch",
16957
17080
  "type": {
16958
- "text": "string[]"
17081
+ "text": "string"
16959
17082
  },
16960
- "default": "[]",
16961
- "description": "Array of event names that will trigger a poll when received as commit responses.",
16962
- "inheritedFrom": {
16963
- "name": "GenesisGridDatasourceElement",
16964
- "module": "src/datasource/base.datasource.ts"
16965
- }
17083
+ "privacy": "public",
17084
+ "description": "The criteria to search by"
16966
17085
  },
16967
17086
  {
16968
17087
  "kind": "field",
16969
- "name": "request",
17088
+ "name": "open",
16970
17089
  "type": {
16971
- "text": "any"
17090
+ "text": "boolean"
16972
17091
  },
16973
- "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards.",
16974
- "inheritedFrom": {
16975
- "name": "GenesisGridDatasourceElement",
16976
- "module": "src/datasource/base.datasource.ts"
16977
- }
17092
+ "privacy": "public",
17093
+ "description": "Whether the dropdown is open or not"
16978
17094
  },
16979
17095
  {
16980
17096
  "kind": "field",
16981
- "name": "requestAutoSetup",
17097
+ "name": "selectedRow",
16982
17098
  "type": {
16983
- "text": "boolean"
17099
+ "text": "object"
16984
17100
  },
16985
- "default": "true",
16986
- "description": "Attribute to set whether the REQUEST object should be automatically set up.",
16987
- "inheritedFrom": {
16988
- "name": "GenesisGridDatasourceElement",
16989
- "module": "src/datasource/base.datasource.ts"
16990
- }
17101
+ "description": "Data for the selected row"
16991
17102
  },
16992
17103
  {
16993
17104
  "kind": "field",
16994
- "name": "rowIdAttr",
16995
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
16996
- "inheritedFrom": {
16997
- "name": "GenesisGridDatasourceElement",
16998
- "module": "src/datasource/base.datasource.ts"
16999
- }
17105
+ "name": "displayValue",
17106
+ "description": "Value to display in the form field",
17107
+ "readonly": true
17000
17108
  },
17001
17109
  {
17002
17110
  "kind": "field",
17003
- "name": "restartOnReconnection",
17111
+ "name": "hasSearchKey",
17004
17112
  "type": {
17005
17113
  "text": "boolean"
17006
17114
  },
17007
- "default": "true",
17008
- "description": "Attribute to set whether the datasource should restart when it reconnects.",
17009
- "inheritedFrom": {
17010
- "name": "GenesisGridDatasourceElement",
17011
- "module": "src/datasource/base.datasource.ts"
17012
- }
17115
+ "readonly": true
17013
17116
  },
17014
17117
  {
17015
17118
  "kind": "field",
17016
- "name": "defaultRowIdByResourceType",
17119
+ "name": "hasSlottedContent",
17017
17120
  "type": {
17018
- "text": "string"
17121
+ "text": "boolean"
17019
17122
  },
17020
- "privacy": "protected",
17021
- "readonly": true,
17022
- "inheritedFrom": {
17023
- "name": "GenesisGridDatasourceElement",
17024
- "module": "src/datasource/base.datasource.ts"
17025
- }
17123
+ "readonly": true
17124
+ },
17125
+ {
17126
+ "kind": "method",
17127
+ "name": "setGridRowData",
17128
+ "privacy": "private",
17129
+ "parameters": [
17130
+ {
17131
+ "name": "rows",
17132
+ "type": {
17133
+ "text": "any[]"
17134
+ }
17135
+ }
17136
+ ],
17137
+ "description": "Sets row data on the grid in a version-safe way.\nAG Grid v32+ removed `setRowData` in favour of `updateGridOptions`."
17138
+ },
17139
+ {
17140
+ "kind": "method",
17141
+ "name": "setGridColumnDefs",
17142
+ "privacy": "private",
17143
+ "parameters": [
17144
+ {
17145
+ "name": "colDefs",
17146
+ "type": {
17147
+ "text": "ColDef[]"
17148
+ }
17149
+ }
17150
+ ],
17151
+ "description": "Sets column defs on the grid in a version-safe way.\nAG Grid v32+ removed `setColumnDefs` in favour of `updateGridOptions`."
17152
+ },
17153
+ {
17154
+ "kind": "method",
17155
+ "name": "emitValue",
17156
+ "privacy": "private",
17157
+ "parameters": [
17158
+ {
17159
+ "name": "value",
17160
+ "type": {
17161
+ "text": "string"
17162
+ }
17163
+ }
17164
+ ],
17165
+ "description": "Emits 'change' and 'input' events so that the `sync` directive and forms work correctly."
17166
+ },
17167
+ {
17168
+ "kind": "method",
17169
+ "name": "toggle",
17170
+ "privacy": "public"
17171
+ },
17172
+ {
17173
+ "kind": "method",
17174
+ "name": "getAndSetRows",
17175
+ "privacy": "private"
17026
17176
  },
17027
17177
  {
17028
17178
  "kind": "field",
17029
- "name": "criteriaFromFilters",
17030
- "type": {
17031
- "text": "Map<string, string>"
17032
- },
17033
- "privacy": "protected",
17034
- "default": "new Map()",
17035
- "inheritedFrom": {
17036
- "name": "GenesisGridDatasourceElement",
17037
- "module": "src/datasource/base.datasource.ts"
17038
- }
17179
+ "name": "getAndSetRowsDebounce",
17180
+ "privacy": "private"
17181
+ },
17182
+ {
17183
+ "kind": "method",
17184
+ "name": "filterSearchChanged",
17185
+ "privacy": "public"
17186
+ },
17187
+ {
17188
+ "kind": "method",
17189
+ "name": "requestChanged",
17190
+ "privacy": "public"
17191
+ },
17192
+ {
17193
+ "kind": "method",
17194
+ "name": "columnDefinitionsChanged",
17195
+ "privacy": "public"
17039
17196
  },
17040
17197
  {
17041
17198
  "kind": "field",
17042
- "name": "update",
17043
- "type": {
17044
- "text": "BehaviorSubject<Map<string, string>>"
17045
- },
17046
- "privacy": "protected",
17047
- "default": "new BehaviorSubject(new Map())",
17048
- "inheritedFrom": {
17049
- "name": "GenesisGridDatasourceElement",
17050
- "module": "src/datasource/base.datasource.ts"
17051
- }
17199
+ "name": "handleClickOutside",
17200
+ "privacy": "private"
17052
17201
  },
17053
17202
  {
17054
17203
  "kind": "method",
17055
- "name": "datasourceOptions",
17056
- "privacy": "protected",
17204
+ "name": "openChanged",
17205
+ "privacy": "public"
17206
+ },
17207
+ {
17208
+ "kind": "method",
17209
+ "name": "dropdownWidthChanged",
17210
+ "privacy": "public"
17211
+ },
17212
+ {
17213
+ "kind": "method",
17214
+ "name": "changeHandler",
17215
+ "privacy": "public",
17216
+ "parameters": [
17217
+ {
17218
+ "name": "event",
17219
+ "type": {
17220
+ "text": "Event"
17221
+ }
17222
+ }
17223
+ ]
17224
+ },
17225
+ {
17226
+ "kind": "method",
17227
+ "name": "cloneNode",
17057
17228
  "return": {
17058
17229
  "type": {
17059
- "text": "DatasourceOptions"
17230
+ "text": "Node"
17060
17231
  }
17061
17232
  },
17233
+ "parameters": [
17234
+ {
17235
+ "name": "deep",
17236
+ "optional": true,
17237
+ "type": {
17238
+ "text": "boolean"
17239
+ }
17240
+ }
17241
+ ],
17062
17242
  "inheritedFrom": {
17063
- "name": "GenesisGridDatasourceElement",
17064
- "module": "src/datasource/base.datasource.ts"
17243
+ "name": "LifecycleMixin",
17244
+ "module": "src/mixins/lifecycle/lifecycle.ts"
17065
17245
  }
17066
17246
  },
17067
17247
  {
17068
17248
  "kind": "method",
17069
- "name": "buildCriteria",
17070
- "privacy": "private",
17249
+ "name": "deepClone",
17071
17250
  "return": {
17072
17251
  "type": {
17073
- "text": "string"
17252
+ "text": "Node"
17074
17253
  }
17075
17254
  },
17076
17255
  "inheritedFrom": {
17077
- "name": "GenesisGridDatasourceElement",
17078
- "module": "src/datasource/base.datasource.ts"
17256
+ "name": "LifecycleMixin",
17257
+ "module": "src/mixins/lifecycle/lifecycle.ts"
17079
17258
  }
17080
17259
  },
17081
17260
  {
17082
17261
  "kind": "field",
17083
- "name": "isRequestServer",
17084
- "type": {
17085
- "text": "boolean"
17262
+ "name": "shouldRunDisconnect",
17263
+ "return": {
17264
+ "type": {
17265
+ "text": ""
17266
+ }
17086
17267
  },
17087
17268
  "readonly": true,
17088
17269
  "inheritedFrom": {
17089
- "name": "GenesisGridDatasourceElement",
17090
- "module": "src/datasource/base.datasource.ts"
17270
+ "name": "LifecycleMixin",
17271
+ "module": "src/mixins/lifecycle/lifecycle.ts"
17091
17272
  }
17092
17273
  },
17093
17274
  {
17094
- "kind": "method",
17095
- "name": "datasourceStatusChanged",
17096
- "parameters": [
17097
- {
17098
- "name": "prev",
17099
- "type": {
17100
- "text": "DatasourceStatus"
17101
- }
17102
- },
17103
- {
17104
- "name": "next",
17105
- "type": {
17106
- "text": "DatasourceStatus"
17107
- }
17275
+ "kind": "field",
17276
+ "name": "shouldRunConnect",
17277
+ "return": {
17278
+ "type": {
17279
+ "text": ""
17108
17280
  }
17109
- ],
17281
+ },
17282
+ "readonly": true,
17110
17283
  "inheritedFrom": {
17111
- "name": "GenesisGridDatasourceElement",
17112
- "module": "src/datasource/base.datasource.ts"
17284
+ "name": "LifecycleMixin",
17285
+ "module": "src/mixins/lifecycle/lifecycle.ts"
17113
17286
  }
17114
17287
  },
17115
17288
  {
17116
17289
  "kind": "method",
17117
- "name": "handleErrors",
17118
- "parameters": [
17119
- {
17120
- "name": "errors",
17121
- "type": {
17122
- "text": "string | any[]"
17123
- },
17124
- "description": "The error message or array of error messages"
17125
- },
17126
- {
17127
- "name": "type",
17128
- "default": "'unknown'",
17129
- "type": {
17130
- "text": "BaseDatasourceErrorEventDetail['type']"
17131
- },
17132
- "description": "The type of error that occurred"
17290
+ "name": "#_blockLifecycleDueToTokenChange",
17291
+ "return": {
17292
+ "type": {
17293
+ "text": "boolean"
17133
17294
  }
17134
- ],
17135
- "description": "Handles errors and emits appropriate error events.",
17136
- "privacy": "public",
17137
- "inheritedFrom": {
17138
- "name": "GenesisGridDatasourceElement",
17139
- "module": "src/datasource/base.datasource.ts"
17140
- }
17141
- },
17142
- {
17143
- "kind": "method",
17144
- "name": "clearErrors",
17145
- "description": "Clears error state and emits connected event.",
17146
- "privacy": "public",
17295
+ },
17296
+ "parameters": [
17297
+ {
17298
+ "name": "lifecycleType",
17299
+ "type": {
17300
+ "text": "Lifecycletype"
17301
+ }
17302
+ }
17303
+ ],
17147
17304
  "inheritedFrom": {
17148
- "name": "GenesisGridDatasourceElement",
17149
- "module": "src/datasource/base.datasource.ts"
17305
+ "name": "LifecycleMixin",
17306
+ "module": "src/mixins/lifecycle/lifecycle.ts"
17150
17307
  }
17151
17308
  },
17152
17309
  {
@@ -17263,194 +17420,68 @@
17263
17420
  ],
17264
17421
  "attributes": [
17265
17422
  {
17266
- "name": "keep-col-defs-on-clear-row-data",
17267
- "type": {
17268
- "text": "boolean"
17269
- },
17270
- "default": "false",
17271
- "fieldName": "keepColDefsOnClearRowData"
17272
- },
17273
- {
17274
- "name": "criteria",
17275
- "type": {
17276
- "text": "string"
17277
- },
17278
- "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription.",
17279
- "fieldName": "criteria",
17280
- "inheritedFrom": {
17281
- "name": "GenesisGridDatasourceElement",
17282
- "module": "src/datasource/base.datasource.ts"
17283
- }
17284
- },
17285
- {
17286
- "name": "is-snapshot",
17287
17423
  "type": {
17288
17424
  "text": "boolean"
17289
17425
  },
17290
- "default": "false",
17291
- "description": "Request a snapshot from the server.",
17292
- "fieldName": "isSnapshot",
17293
- "inheritedFrom": {
17294
- "name": "GenesisGridDatasourceElement",
17295
- "module": "src/datasource/base.datasource.ts"
17296
- }
17297
- },
17298
- {
17299
- "name": "max-rows",
17300
- "type": {
17301
- "text": "number"
17302
- },
17303
- "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages.",
17304
- "fieldName": "maxRows",
17305
- "inheritedFrom": {
17306
- "name": "GenesisGridDatasourceElement",
17307
- "module": "src/datasource/base.datasource.ts"
17308
- }
17309
- },
17310
- {
17311
- "name": "order-by",
17312
- "type": {
17313
- "text": "string"
17314
- },
17315
- "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.",
17316
- "fieldName": "orderBy",
17317
- "inheritedFrom": {
17318
- "name": "GenesisGridDatasourceElement",
17319
- "module": "src/datasource/base.datasource.ts"
17320
- }
17426
+ "description": "Whether to disable control of the component",
17427
+ "fieldName": "disabled"
17321
17428
  },
17322
17429
  {
17323
17430
  "name": "resource-name",
17324
17431
  "type": {
17325
17432
  "text": "string"
17326
17433
  },
17327
- "description": "The name of the target Data Server query or Request Server requestReply.",
17328
- "fieldName": "resourceName",
17329
- "inheritedFrom": {
17330
- "name": "GenesisGridDatasourceElement",
17331
- "module": "src/datasource/base.datasource.ts"
17332
- }
17333
- },
17334
- {
17335
- "name": "view-number",
17336
- "type": {
17337
- "text": "number"
17338
- },
17339
- "description": "The desired view/page you want data from.",
17340
- "fieldName": "viewNumber",
17341
- "inheritedFrom": {
17342
- "name": "GenesisGridDatasourceElement",
17343
- "module": "src/datasource/base.datasource.ts"
17344
- }
17345
- },
17346
- {
17347
- "name": "fields",
17348
- "type": {
17349
- "text": "string"
17350
- },
17351
- "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.",
17352
- "fieldName": "fields",
17353
- "inheritedFrom": {
17354
- "name": "GenesisGridDatasourceElement",
17355
- "module": "src/datasource/base.datasource.ts"
17356
- }
17434
+ "description": "The name of the reqrep to get the options from",
17435
+ "fieldName": "resourceName"
17357
17436
  },
17358
17437
  {
17359
- "name": "max-view",
17438
+ "name": "search-key",
17360
17439
  "type": {
17361
- "text": "number"
17440
+ "text": "string | string[] | undefined"
17362
17441
  },
17363
- "description": "Maximum number of rows to track as part of a client \"view\".",
17364
- "fieldName": "maxView",
17365
- "inheritedFrom": {
17366
- "name": "GenesisGridDatasourceElement",
17367
- "module": "src/datasource/base.datasource.ts"
17368
- }
17442
+ "description": "The key(s) to search by. Use comma-separated values for multiple keys (e.g. search-key=\"NAME,ID\").",
17443
+ "fieldName": "searchKey"
17369
17444
  },
17370
17445
  {
17371
- "name": "moving-view",
17446
+ "name": "advanced-search-req",
17372
17447
  "type": {
17373
17448
  "text": "boolean"
17374
17449
  },
17375
17450
  "default": "false",
17376
- "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.",
17377
- "fieldName": "movingView",
17378
- "inheritedFrom": {
17379
- "name": "GenesisGridDatasourceElement",
17380
- "module": "src/datasource/base.datasource.ts"
17381
- }
17382
- },
17383
- {
17384
- "type": {
17385
- "text": "number"
17386
- },
17387
- "description": "Option that changes the Data Server index iteration.",
17388
- "fieldName": "reverse",
17389
- "default": "false",
17390
- "inheritedFrom": {
17391
- "name": "GenesisGridDatasourceElement",
17392
- "module": "src/datasource/base.datasource.ts"
17393
- }
17451
+ "description": "Tells whether a given request supports lookup by Groovy Expressions.",
17452
+ "fieldName": "requestSupportsAdvancedSearch"
17394
17453
  },
17395
17454
  {
17396
- "name": "disable-polling",
17455
+ "name": "value-key",
17397
17456
  "type": {
17398
- "text": "boolean"
17457
+ "text": "string"
17399
17458
  },
17400
- "default": "false",
17401
- "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically).",
17402
- "fieldName": "disablePolling",
17403
- "inheritedFrom": {
17404
- "name": "GenesisGridDatasourceElement",
17405
- "module": "src/datasource/base.datasource.ts"
17406
- }
17459
+ "description": "The key used as the value sent to the server",
17460
+ "fieldName": "valueKey"
17407
17461
  },
17408
17462
  {
17409
- "name": "polling-interval",
17463
+ "name": "label-key",
17410
17464
  "type": {
17411
- "text": "number"
17465
+ "text": "string"
17412
17466
  },
17413
- "description": "Custom polling frequency (in milliseconds) for a Request Server resource.",
17414
- "fieldName": "pollingInterval",
17415
- "inheritedFrom": {
17416
- "name": "GenesisGridDatasourceElement",
17417
- "module": "src/datasource/base.datasource.ts"
17418
- }
17467
+ "description": "The key used as the label displayed in the UI",
17468
+ "fieldName": "labelKey"
17419
17469
  },
17420
17470
  {
17421
- "name": "request-auto-setup",
17471
+ "name": "dropdown-placement",
17422
17472
  "type": {
17423
- "text": "boolean"
17473
+ "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
17424
17474
  },
17425
- "default": "true",
17426
- "description": "Attribute to set whether the REQUEST object should be automatically set up.",
17427
- "fieldName": "requestAutoSetup",
17428
- "inheritedFrom": {
17429
- "name": "GenesisGridDatasourceElement",
17430
- "module": "src/datasource/base.datasource.ts"
17431
- }
17432
- },
17433
- {
17434
- "name": "row-id",
17435
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
17436
- "fieldName": "rowIdAttr",
17437
- "inheritedFrom": {
17438
- "name": "GenesisGridDatasourceElement",
17439
- "module": "src/datasource/base.datasource.ts"
17440
- }
17475
+ "description": "Position of the dropdown panel relative to the control.\n- `'bottom-right'` – default; opens below and aligns to the right edge of the control\n- `'bottom-left'` – opens below and extends to the left\n- `'top-right'` – opens above and aligns to the right edge of the control\n- `'top-left'` – opens above and extends to the left",
17476
+ "fieldName": "dropdownPlacement"
17441
17477
  },
17442
17478
  {
17443
- "name": "restart-on-reconnection",
17479
+ "name": "dropdownWidth",
17444
17480
  "type": {
17445
- "text": "boolean"
17481
+ "text": "number"
17446
17482
  },
17447
- "default": "true",
17448
- "description": "Attribute to set whether the datasource should restart when it reconnects.",
17449
- "fieldName": "restartOnReconnection",
17450
- "inheritedFrom": {
17451
- "name": "GenesisGridDatasourceElement",
17452
- "module": "src/datasource/base.datasource.ts"
17453
- }
17483
+ "description": "Optionally specifies the width of the dropdown",
17484
+ "fieldName": "dropdownWidth"
17454
17485
  }
17455
17486
  ],
17456
17487
  "mixins": [
@@ -17460,73 +17491,42 @@
17460
17491
  }
17461
17492
  ],
17462
17493
  "superclass": {
17463
- "name": "GridProBaseDatasource",
17464
- "module": "/src/datasource/base.datasource"
17494
+ "name": "FoundationElement",
17495
+ "package": "@microsoft/fast-foundation"
17465
17496
  },
17466
- "tagName": "grid-pro-genesis-datasource",
17497
+ "tagName": "%%prefix%%-multicolumn-dropdown",
17467
17498
  "customElement": true
17468
- }
17469
- ],
17470
- "exports": [
17471
- {
17472
- "kind": "js",
17473
- "name": "GridProGenesisDatasource",
17474
- "declaration": {
17475
- "name": "GridProGenesisDatasource",
17476
- "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
17477
- }
17478
17499
  },
17479
17500
  {
17480
- "kind": "custom-element-definition",
17481
- "name": "grid-pro-genesis-datasource",
17482
- "declaration": {
17483
- "name": "GridProGenesisDatasource",
17484
- "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
17485
- }
17501
+ "kind": "variable",
17502
+ "name": "foundationMulticolumnDropdown",
17503
+ "description": "A function that returns a Multicolumn Dropdown registration for configuring the component with a DesignSystem.",
17504
+ "privacy": "public"
17486
17505
  }
17487
- ]
17488
- },
17489
- {
17490
- "kind": "javascript-module",
17491
- "path": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.types.ts",
17492
- "declarations": [],
17493
- "exports": []
17494
- },
17495
- {
17496
- "kind": "javascript-module",
17497
- "path": "src/grid-pro-genesis-datasource/index.ts",
17498
- "declarations": [],
17506
+ ],
17499
17507
  "exports": [
17500
17508
  {
17501
17509
  "kind": "js",
17502
- "name": "*",
17503
- "declaration": {
17504
- "name": "*",
17505
- "package": "./datasource-events.types"
17506
- }
17507
- },
17508
- {
17509
- "kind": "js",
17510
- "name": "*",
17510
+ "name": "wasClickOutsideElement",
17511
17511
  "declaration": {
17512
- "name": "*",
17513
- "package": "./grid-pro-genesis-datasource"
17512
+ "name": "wasClickOutsideElement",
17513
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
17514
17514
  }
17515
17515
  },
17516
17516
  {
17517
17517
  "kind": "js",
17518
- "name": "*",
17518
+ "name": "MulticolumnDropdown",
17519
17519
  "declaration": {
17520
- "name": "*",
17521
- "package": "./grid-pro-genesis-datasource.config"
17520
+ "name": "MulticolumnDropdown",
17521
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
17522
17522
  }
17523
17523
  },
17524
17524
  {
17525
17525
  "kind": "js",
17526
- "name": "*",
17526
+ "name": "foundationMulticolumnDropdown",
17527
17527
  "declaration": {
17528
- "name": "*",
17529
- "package": "./grid-pro-genesis-datasource.types"
17528
+ "name": "foundationMulticolumnDropdown",
17529
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
17530
17530
  }
17531
17531
  }
17532
17532
  ]