@genesislcap/rapid-grid-pro 15.63.0 → 15.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -952,7 +952,7 @@
952
952
  "type": {
953
953
  "text": "object"
954
954
  },
955
- "default": "{\n rapidIconRenderer,\n rapidAgEditableRenderer,\n rapidAgActionRenderer,\n rapidAgActionsMenuRenderer,\n rapidAgBooleanRenderer,\n rapidAgTextRenderer,\n rapidAgSelectRenderer,\n rapidAgDateEditor,\n rapidAgMultiselectEditor,\n rapidAgSelectEditor,\n rapidAgNumberEditor,\n rapidAgStringEditor,\n rapidStatusPillRenderer,\n rapidGridPro,\n rapidColumnSelection,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n this[key]().register(container, ...rest);\n }\n },\n}"
955
+ "default": "{\n rapidIconRenderer,\n rapidAgEditableRenderer,\n rapidAgActionRenderer,\n rapidAgActionsMenuRenderer,\n rapidAgBooleanRenderer,\n rapidAgTextRenderer,\n rapidAgSelectRenderer,\n rapidAgDateEditor,\n rapidAgMultiselectEditor,\n rapidAgSelectEditor,\n rapidAgNumberEditor,\n rapidAgStringEditor,\n rapidStatusPillRenderer,\n rapidGridPro,\n rapidColumnSelection,\n rapidGridProStatusBar,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n this[key]().register(container, ...rest);\n }\n },\n}"
956
956
  }
957
957
  ],
958
958
  "exports": [
@@ -3642,7 +3642,67 @@
3642
3642
  "text": "boolean"
3643
3643
  },
3644
3644
  "default": "false",
3645
- "description": "Enables or disables the grid status bar.",
3645
+ "description": "Enables or disables the status bar under the grid.",
3646
+ "inheritedFrom": {
3647
+ "name": "GridPro",
3648
+ "module": "src/grid-pro.ts"
3649
+ }
3650
+ },
3651
+ {
3652
+ "kind": "method",
3653
+ "name": "withStatusBarChanged",
3654
+ "inheritedFrom": {
3655
+ "name": "GridPro",
3656
+ "module": "src/grid-pro.ts"
3657
+ }
3658
+ },
3659
+ {
3660
+ "kind": "field",
3661
+ "name": "statusPanelState",
3662
+ "type": {
3663
+ "text": "Record<string, Record<string, unknown>>"
3664
+ },
3665
+ "privacy": "private",
3666
+ "default": "{}",
3667
+ "description": "Params pushed to status panels, replayed when the community bar mounts or rebuilds one.",
3668
+ "inheritedFrom": {
3669
+ "name": "GridPro",
3670
+ "module": "src/grid-pro.ts"
3671
+ }
3672
+ },
3673
+ {
3674
+ "kind": "field",
3675
+ "name": "userStatusBar",
3676
+ "type": {
3677
+ "text": "GridOptions['statusBar']"
3678
+ },
3679
+ "privacy": "private",
3680
+ "inheritedFrom": {
3681
+ "name": "GridPro",
3682
+ "module": "src/grid-pro.ts"
3683
+ }
3684
+ },
3685
+ {
3686
+ "kind": "field",
3687
+ "name": "warnedUnregisteredStatusBar",
3688
+ "type": {
3689
+ "text": "boolean"
3690
+ },
3691
+ "privacy": "private",
3692
+ "default": "false",
3693
+ "inheritedFrom": {
3694
+ "name": "GridPro",
3695
+ "module": "src/grid-pro.ts"
3696
+ }
3697
+ },
3698
+ {
3699
+ "kind": "field",
3700
+ "name": "warnedGridOptionsStatusBar",
3701
+ "type": {
3702
+ "text": "boolean"
3703
+ },
3704
+ "privacy": "private",
3705
+ "default": "false",
3646
3706
  "inheritedFrom": {
3647
3707
  "name": "GridPro",
3648
3708
  "module": "src/grid-pro.ts"
@@ -4082,6 +4142,57 @@
4082
4142
  "module": "src/grid-pro.ts"
4083
4143
  }
4084
4144
  },
4145
+ {
4146
+ "kind": "method",
4147
+ "name": "syncStatusBarHostLayout",
4148
+ "privacy": "private",
4149
+ "return": {
4150
+ "type": {
4151
+ "text": "void"
4152
+ }
4153
+ },
4154
+ "inheritedFrom": {
4155
+ "name": "GridPro",
4156
+ "module": "src/grid-pro.ts"
4157
+ }
4158
+ },
4159
+ {
4160
+ "kind": "method",
4161
+ "name": "applyStatusBarMode",
4162
+ "privacy": "private",
4163
+ "return": {
4164
+ "type": {
4165
+ "text": "void"
4166
+ }
4167
+ },
4168
+ "description": "Chooses between AG's enterprise status bar and the community bar once the grid api exists,\nand hands AG its `statusBar` option when the enterprise one is used.",
4169
+ "inheritedFrom": {
4170
+ "name": "GridPro",
4171
+ "module": "src/grid-pro.ts"
4172
+ }
4173
+ },
4174
+ {
4175
+ "kind": "method",
4176
+ "name": "buildAgStatusBar",
4177
+ "privacy": "private",
4178
+ "return": {
4179
+ "type": {
4180
+ "text": "GridOptions['statusBar']"
4181
+ }
4182
+ },
4183
+ "parameters": [
4184
+ {
4185
+ "name": "rowModelType",
4186
+ "type": {
4187
+ "text": "GridOptions['rowModelType']"
4188
+ }
4189
+ }
4190
+ ],
4191
+ "inheritedFrom": {
4192
+ "name": "GridPro",
4193
+ "module": "src/grid-pro.ts"
4194
+ }
4195
+ },
4085
4196
  {
4086
4197
  "kind": "method",
4087
4198
  "name": "performDisconnectCleanup",
@@ -4124,6 +4235,34 @@
4124
4235
  "module": "src/grid-pro.ts"
4125
4236
  }
4126
4237
  },
4238
+ {
4239
+ "kind": "method",
4240
+ "name": "updateStatusPanel",
4241
+ "privacy": "private",
4242
+ "return": {
4243
+ "type": {
4244
+ "text": "IStatusPanelComp"
4245
+ }
4246
+ },
4247
+ "parameters": [
4248
+ {
4249
+ "name": "key",
4250
+ "type": {
4251
+ "text": "string"
4252
+ }
4253
+ },
4254
+ {
4255
+ "name": "params",
4256
+ "type": {
4257
+ "text": "Record<string, unknown>"
4258
+ }
4259
+ }
4260
+ ],
4261
+ "inheritedFrom": {
4262
+ "name": "GridPro",
4263
+ "module": "src/grid-pro.ts"
4264
+ }
4265
+ },
4127
4266
  {
4128
4267
  "kind": "method",
4129
4268
  "name": "combineAllGridComponents",
@@ -4188,6 +4327,30 @@
4188
4327
  "module": "src/grid-pro.ts"
4189
4328
  }
4190
4329
  },
4330
+ {
4331
+ "kind": "method",
4332
+ "name": "getStatusPanel",
4333
+ "return": {
4334
+ "type": {
4335
+ "text": "IStatusPanelComp | undefined"
4336
+ }
4337
+ },
4338
+ "parameters": [
4339
+ {
4340
+ "name": "key",
4341
+ "type": {
4342
+ "text": "string"
4343
+ },
4344
+ "description": "Panel type, one of {@link GridProStatusBarTypes}.\n * "
4345
+ }
4346
+ ],
4347
+ "description": "Returns a mounted status-bar panel by type.",
4348
+ "privacy": "public",
4349
+ "inheritedFrom": {
4350
+ "name": "GridPro",
4351
+ "module": "src/grid-pro.ts"
4352
+ }
4353
+ },
4191
4354
  {
4192
4355
  "kind": "method",
4193
4356
  "name": "updateLabelValueStatusBar",
@@ -4410,27 +4573,17 @@
4410
4573
  },
4411
4574
  {
4412
4575
  "kind": "method",
4413
- "name": "panelExists",
4414
- "privacy": "private",
4415
- "return": {
4416
- "type": {
4417
- "text": "boolean"
4418
- }
4419
- },
4576
+ "name": "setupStatusBar",
4577
+ "privacy": "protected",
4420
4578
  "parameters": [
4421
4579
  {
4422
- "name": "statusPanelType",
4423
- "type": {
4424
- "text": "string"
4425
- }
4426
- },
4427
- {
4428
- "name": "panels",
4580
+ "name": "gridOptions",
4429
4581
  "type": {
4430
- "text": "any[]"
4582
+ "text": "GridOptions"
4431
4583
  }
4432
4584
  }
4433
4585
  ],
4586
+ "description": "Refreshes the status bar from the current config and datasource: AG's enterprise bar when the\nprevious grid had its module, otherwise the status-bar host.",
4434
4587
  "inheritedFrom": {
4435
4588
  "name": "GridPro",
4436
4589
  "module": "src/grid-pro.ts"
@@ -4438,25 +4591,13 @@
4438
4591
  },
4439
4592
  {
4440
4593
  "kind": "method",
4441
- "name": "addRowCountPanel",
4442
- "privacy": "private",
4443
- "return": {
4444
- "type": {
4445
- "text": "void"
4446
- }
4447
- },
4594
+ "name": "globalEventListener",
4448
4595
  "parameters": [
4449
4596
  {
4450
- "name": "statusPanels",
4451
- "type": {
4452
- "text": "any[]"
4453
- }
4597
+ "name": "eventType"
4454
4598
  },
4455
4599
  {
4456
- "name": "gridOptions",
4457
- "type": {
4458
- "text": "GridOptions"
4459
- }
4600
+ "name": "event"
4460
4601
  }
4461
4602
  ],
4462
4603
  "inheritedFrom": {
@@ -4465,155 +4606,56 @@
4465
4606
  }
4466
4607
  },
4467
4608
  {
4468
- "kind": "method",
4469
- "name": "addMaxRowsPanel",
4609
+ "kind": "field",
4610
+ "name": "_presentation",
4611
+ "type": {
4612
+ "text": "ComponentPresentation | null | undefined"
4613
+ },
4470
4614
  "privacy": "private",
4471
- "return": {
4472
- "type": {
4473
- "text": "void"
4474
- }
4615
+ "default": "void 0",
4616
+ "inheritedFrom": {
4617
+ "name": "FoundationElement",
4618
+ "module": "src/foundation-element/foundation-element.ts"
4619
+ }
4620
+ },
4621
+ {
4622
+ "kind": "field",
4623
+ "name": "$presentation",
4624
+ "type": {
4625
+ "text": "ComponentPresentation | null"
4475
4626
  },
4476
- "parameters": [
4477
- {
4478
- "name": "statusPanels",
4479
- "type": {
4480
- "text": "any[]"
4481
- }
4482
- }
4483
- ],
4627
+ "privacy": "public",
4628
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4484
4629
  "inheritedFrom": {
4485
- "name": "GridPro",
4486
- "module": "src/grid-pro.ts"
4630
+ "name": "FoundationElement",
4631
+ "module": "src/foundation-element/foundation-element.ts"
4487
4632
  }
4488
4633
  },
4489
4634
  {
4490
- "kind": "method",
4491
- "name": "addAggregationPanel",
4492
- "privacy": "private",
4493
- "return": {
4494
- "type": {
4495
- "text": "void"
4496
- }
4635
+ "kind": "field",
4636
+ "name": "template",
4637
+ "type": {
4638
+ "text": "ElementViewTemplate | void | null"
4497
4639
  },
4498
- "parameters": [
4499
- {
4500
- "name": "statusPanels",
4501
- "type": {
4502
- "text": "any[]"
4503
- }
4504
- }
4505
- ],
4640
+ "privacy": "public",
4641
+ "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.",
4506
4642
  "inheritedFrom": {
4507
- "name": "GridPro",
4508
- "module": "src/grid-pro.ts"
4643
+ "name": "FoundationElement",
4644
+ "module": "src/foundation-element/foundation-element.ts"
4509
4645
  }
4510
4646
  },
4511
4647
  {
4512
4648
  "kind": "method",
4513
- "name": "addDatasourcePanels",
4514
- "privacy": "private",
4649
+ "name": "templateChanged",
4650
+ "privacy": "protected",
4515
4651
  "return": {
4516
4652
  "type": {
4517
4653
  "text": "void"
4518
4654
  }
4519
4655
  },
4520
- "parameters": [
4521
- {
4522
- "name": "statusPanels",
4523
- "type": {
4524
- "text": "any[]"
4525
- }
4526
- }
4527
- ],
4528
4656
  "inheritedFrom": {
4529
- "name": "GridPro",
4530
- "module": "src/grid-pro.ts"
4531
- }
4532
- },
4533
- {
4534
- "kind": "method",
4535
- "name": "setupStatusBar",
4536
- "privacy": "protected",
4537
- "parameters": [
4538
- {
4539
- "name": "gridOptions",
4540
- "type": {
4541
- "text": "GridOptions"
4542
- }
4543
- }
4544
- ],
4545
- "inheritedFrom": {
4546
- "name": "GridPro",
4547
- "module": "src/grid-pro.ts"
4548
- }
4549
- },
4550
- {
4551
- "kind": "method",
4552
- "name": "globalEventListener",
4553
- "parameters": [
4554
- {
4555
- "name": "eventType"
4556
- },
4557
- {
4558
- "name": "event"
4559
- }
4560
- ],
4561
- "inheritedFrom": {
4562
- "name": "GridPro",
4563
- "module": "src/grid-pro.ts"
4564
- }
4565
- },
4566
- {
4567
- "kind": "field",
4568
- "name": "_presentation",
4569
- "type": {
4570
- "text": "ComponentPresentation | null | undefined"
4571
- },
4572
- "privacy": "private",
4573
- "default": "void 0",
4574
- "inheritedFrom": {
4575
- "name": "FoundationElement",
4576
- "module": "src/foundation-element/foundation-element.ts"
4577
- }
4578
- },
4579
- {
4580
- "kind": "field",
4581
- "name": "$presentation",
4582
- "type": {
4583
- "text": "ComponentPresentation | null"
4584
- },
4585
- "privacy": "public",
4586
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4587
- "inheritedFrom": {
4588
- "name": "FoundationElement",
4589
- "module": "src/foundation-element/foundation-element.ts"
4590
- }
4591
- },
4592
- {
4593
- "kind": "field",
4594
- "name": "template",
4595
- "type": {
4596
- "text": "ElementViewTemplate | void | null"
4597
- },
4598
- "privacy": "public",
4599
- "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.",
4600
- "inheritedFrom": {
4601
- "name": "FoundationElement",
4602
- "module": "src/foundation-element/foundation-element.ts"
4603
- }
4604
- },
4605
- {
4606
- "kind": "method",
4607
- "name": "templateChanged",
4608
- "privacy": "protected",
4609
- "return": {
4610
- "type": {
4611
- "text": "void"
4612
- }
4613
- },
4614
- "inheritedFrom": {
4615
- "name": "FoundationElement",
4616
- "module": "src/foundation-element/foundation-element.ts"
4657
+ "name": "FoundationElement",
4658
+ "module": "src/foundation-element/foundation-element.ts"
4617
4659
  }
4618
4660
  },
4619
4661
  {
@@ -4821,7 +4863,7 @@
4821
4863
  "text": "boolean"
4822
4864
  },
4823
4865
  "default": "false",
4824
- "description": "Enables or disables the grid status bar.",
4866
+ "description": "Enables or disables the status bar under the grid.",
4825
4867
  "fieldName": "withStatusBar",
4826
4868
  "inheritedFrom": {
4827
4869
  "name": "GridPro",
@@ -4994,6 +5036,14 @@
4994
5036
  "package": "./column-selection"
4995
5037
  }
4996
5038
  },
5039
+ {
5040
+ "kind": "js",
5041
+ "name": "*",
5042
+ "declaration": {
5043
+ "name": "*",
5044
+ "package": "./status-bar"
5045
+ }
5046
+ },
4997
5047
  {
4998
5048
  "kind": "js",
4999
5049
  "name": "*",
@@ -5026,6 +5076,440 @@
5026
5076
  }
5027
5077
  ]
5028
5078
  },
5079
+ {
5080
+ "kind": "javascript-module",
5081
+ "path": "src/status-bar.ts",
5082
+ "declarations": [
5083
+ {
5084
+ "kind": "variable",
5085
+ "name": "rapidStatusBarStyles",
5086
+ "default": "css`\n ${statusBarStyles}\n\n :host {\n --ag-header-background-color: var(--neutral-layer-3);\n --ag-border-color: var(--neutral-stroke-rest);\n --ag-foreground-color: var(--neutral-foreground-rest);\n --ag-data-font-size: var(--type-ramp-minus-2-font-size);\n font-family: var(--body-font);\n }\n`",
5087
+ "description": "The bar sits outside the AG theme wrapper, so it does not inherit the `--ag-*` params from\nthe rapid theme. Map them to the same rapid tokens the theme uses.",
5088
+ "privacy": "public"
5089
+ },
5090
+ {
5091
+ "kind": "class",
5092
+ "description": "",
5093
+ "name": "RapidGridProStatusBar",
5094
+ "superclass": {
5095
+ "name": "GridProStatusBar",
5096
+ "package": "@genesislcap/grid-pro"
5097
+ },
5098
+ "tagName": "%%prefix%%-grid-pro-status-bar",
5099
+ "customElement": true,
5100
+ "members": [
5101
+ {
5102
+ "kind": "method",
5103
+ "name": "cloneNode",
5104
+ "return": {
5105
+ "type": {
5106
+ "text": "Node"
5107
+ }
5108
+ },
5109
+ "parameters": [
5110
+ {
5111
+ "name": "deep",
5112
+ "optional": true,
5113
+ "type": {
5114
+ "text": "boolean"
5115
+ }
5116
+ }
5117
+ ],
5118
+ "inheritedFrom": {
5119
+ "name": "LifecycleMixin",
5120
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5121
+ }
5122
+ },
5123
+ {
5124
+ "kind": "method",
5125
+ "name": "deepClone",
5126
+ "return": {
5127
+ "type": {
5128
+ "text": "Node"
5129
+ }
5130
+ },
5131
+ "inheritedFrom": {
5132
+ "name": "LifecycleMixin",
5133
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5134
+ }
5135
+ },
5136
+ {
5137
+ "kind": "field",
5138
+ "name": "shouldRunDisconnect",
5139
+ "return": {
5140
+ "type": {
5141
+ "text": ""
5142
+ }
5143
+ },
5144
+ "readonly": true,
5145
+ "inheritedFrom": {
5146
+ "name": "LifecycleMixin",
5147
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5148
+ }
5149
+ },
5150
+ {
5151
+ "kind": "field",
5152
+ "name": "shouldRunConnect",
5153
+ "return": {
5154
+ "type": {
5155
+ "text": ""
5156
+ }
5157
+ },
5158
+ "readonly": true,
5159
+ "inheritedFrom": {
5160
+ "name": "LifecycleMixin",
5161
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5162
+ }
5163
+ },
5164
+ {
5165
+ "kind": "method",
5166
+ "name": "#_blockLifecycleDueToTokenChange",
5167
+ "return": {
5168
+ "type": {
5169
+ "text": "boolean"
5170
+ }
5171
+ },
5172
+ "parameters": [
5173
+ {
5174
+ "name": "lifecycleType",
5175
+ "type": {
5176
+ "text": "Lifecycletype"
5177
+ }
5178
+ }
5179
+ ],
5180
+ "inheritedFrom": {
5181
+ "name": "LifecycleMixin",
5182
+ "module": "src/mixins/lifecycle/lifecycle.ts"
5183
+ }
5184
+ },
5185
+ {
5186
+ "kind": "field",
5187
+ "name": "gridHost",
5188
+ "type": {
5189
+ "text": "StatusBarPanelHost | null"
5190
+ },
5191
+ "default": "null",
5192
+ "description": "Grid Pro host that owns the api, datasource, and `statusBarConfig`.",
5193
+ "inheritedFrom": {
5194
+ "name": "GridProStatusBar",
5195
+ "module": "src/status-bar/status-bar.ts"
5196
+ }
5197
+ },
5198
+ {
5199
+ "kind": "field",
5200
+ "name": "gridApi",
5201
+ "type": {
5202
+ "text": "GridApi | null"
5203
+ },
5204
+ "default": "null",
5205
+ "description": "Optional explicit AG grid API (v36). Falls back to `gridHost.gridApi` when present.",
5206
+ "inheritedFrom": {
5207
+ "name": "GridProStatusBar",
5208
+ "module": "src/status-bar/status-bar.ts"
5209
+ }
5210
+ },
5211
+ {
5212
+ "kind": "field",
5213
+ "name": "statusBarConfig",
5214
+ "type": {
5215
+ "text": "GridProStatusBarConfig | null"
5216
+ },
5217
+ "default": "null",
5218
+ "description": "Panel config. Grid Pro binds its own `statusBarConfig` here.\nWhen unset, `gridHost.statusBarConfig` is used.",
5219
+ "inheritedFrom": {
5220
+ "name": "GridProStatusBar",
5221
+ "module": "src/status-bar/status-bar.ts"
5222
+ }
5223
+ },
5224
+ {
5225
+ "kind": "field",
5226
+ "name": "panels",
5227
+ "privacy": "private",
5228
+ "readonly": true,
5229
+ "default": "new Map<string, IStatusPanelComp>()",
5230
+ "inheritedFrom": {
5231
+ "name": "GridProStatusBar",
5232
+ "module": "src/status-bar/status-bar.ts"
5233
+ }
5234
+ },
5235
+ {
5236
+ "kind": "field",
5237
+ "name": "warnedPanelTypes",
5238
+ "privacy": "private",
5239
+ "readonly": true,
5240
+ "default": "new Set<string>()",
5241
+ "inheritedFrom": {
5242
+ "name": "GridProStatusBar",
5243
+ "module": "src/status-bar/status-bar.ts"
5244
+ }
5245
+ },
5246
+ {
5247
+ "kind": "method",
5248
+ "name": "gridHostChanged",
5249
+ "inheritedFrom": {
5250
+ "name": "GridProStatusBar",
5251
+ "module": "src/status-bar/status-bar.ts"
5252
+ }
5253
+ },
5254
+ {
5255
+ "kind": "method",
5256
+ "name": "gridApiChanged",
5257
+ "inheritedFrom": {
5258
+ "name": "GridProStatusBar",
5259
+ "module": "src/status-bar/status-bar.ts"
5260
+ }
5261
+ },
5262
+ {
5263
+ "kind": "method",
5264
+ "name": "statusBarConfigChanged",
5265
+ "inheritedFrom": {
5266
+ "name": "GridProStatusBar",
5267
+ "module": "src/status-bar/status-bar.ts"
5268
+ }
5269
+ },
5270
+ {
5271
+ "kind": "method",
5272
+ "name": "leftElChanged",
5273
+ "inheritedFrom": {
5274
+ "name": "GridProStatusBar",
5275
+ "module": "src/status-bar/status-bar.ts"
5276
+ }
5277
+ },
5278
+ {
5279
+ "kind": "method",
5280
+ "name": "rightElChanged",
5281
+ "inheritedFrom": {
5282
+ "name": "GridProStatusBar",
5283
+ "module": "src/status-bar/status-bar.ts"
5284
+ }
5285
+ },
5286
+ {
5287
+ "kind": "method",
5288
+ "name": "syncPanels",
5289
+ "return": {
5290
+ "type": {
5291
+ "text": "void"
5292
+ }
5293
+ },
5294
+ "description": "Rebuilds the mounted panels from the current host / api / config.",
5295
+ "privacy": "public",
5296
+ "inheritedFrom": {
5297
+ "name": "GridProStatusBar",
5298
+ "module": "src/status-bar/status-bar.ts"
5299
+ }
5300
+ },
5301
+ {
5302
+ "kind": "method",
5303
+ "name": "getStatusPanel",
5304
+ "return": {
5305
+ "type": {
5306
+ "text": "IStatusPanelComp | undefined"
5307
+ }
5308
+ },
5309
+ "parameters": [
5310
+ {
5311
+ "name": "key",
5312
+ "type": {
5313
+ "text": "string"
5314
+ }
5315
+ }
5316
+ ],
5317
+ "description": "Returns a mounted panel by type.",
5318
+ "privacy": "public",
5319
+ "inheritedFrom": {
5320
+ "name": "GridProStatusBar",
5321
+ "module": "src/status-bar/status-bar.ts"
5322
+ }
5323
+ },
5324
+ {
5325
+ "kind": "method",
5326
+ "name": "resolveApi",
5327
+ "privacy": "private",
5328
+ "return": {
5329
+ "type": {
5330
+ "text": "GridApi | null"
5331
+ }
5332
+ },
5333
+ "inheritedFrom": {
5334
+ "name": "GridProStatusBar",
5335
+ "module": "src/status-bar/status-bar.ts"
5336
+ }
5337
+ },
5338
+ {
5339
+ "kind": "method",
5340
+ "name": "mountPanel",
5341
+ "privacy": "private",
5342
+ "return": {
5343
+ "type": {
5344
+ "text": "void"
5345
+ }
5346
+ },
5347
+ "parameters": [
5348
+ {
5349
+ "name": "def",
5350
+ "type": {
5351
+ "text": "StatusBarPanelDef"
5352
+ }
5353
+ },
5354
+ {
5355
+ "name": "api",
5356
+ "type": {
5357
+ "text": "GridApi"
5358
+ }
5359
+ }
5360
+ ],
5361
+ "inheritedFrom": {
5362
+ "name": "GridProStatusBar",
5363
+ "module": "src/status-bar/status-bar.ts"
5364
+ }
5365
+ },
5366
+ {
5367
+ "kind": "field",
5368
+ "name": "_presentation",
5369
+ "type": {
5370
+ "text": "ComponentPresentation | null | undefined"
5371
+ },
5372
+ "privacy": "private",
5373
+ "default": "void 0",
5374
+ "inheritedFrom": {
5375
+ "name": "FoundationElement",
5376
+ "module": "src/foundation-element/foundation-element.ts"
5377
+ }
5378
+ },
5379
+ {
5380
+ "kind": "field",
5381
+ "name": "$presentation",
5382
+ "type": {
5383
+ "text": "ComponentPresentation | null"
5384
+ },
5385
+ "privacy": "public",
5386
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
5387
+ "inheritedFrom": {
5388
+ "name": "FoundationElement",
5389
+ "module": "src/foundation-element/foundation-element.ts"
5390
+ }
5391
+ },
5392
+ {
5393
+ "kind": "field",
5394
+ "name": "template",
5395
+ "type": {
5396
+ "text": "ElementViewTemplate | void | null"
5397
+ },
5398
+ "privacy": "public",
5399
+ "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.",
5400
+ "inheritedFrom": {
5401
+ "name": "FoundationElement",
5402
+ "module": "src/foundation-element/foundation-element.ts"
5403
+ }
5404
+ },
5405
+ {
5406
+ "kind": "method",
5407
+ "name": "templateChanged",
5408
+ "privacy": "protected",
5409
+ "return": {
5410
+ "type": {
5411
+ "text": "void"
5412
+ }
5413
+ },
5414
+ "inheritedFrom": {
5415
+ "name": "FoundationElement",
5416
+ "module": "src/foundation-element/foundation-element.ts"
5417
+ }
5418
+ },
5419
+ {
5420
+ "kind": "field",
5421
+ "name": "styles",
5422
+ "type": {
5423
+ "text": "ElementStyles | void | null"
5424
+ },
5425
+ "privacy": "public",
5426
+ "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.",
5427
+ "inheritedFrom": {
5428
+ "name": "FoundationElement",
5429
+ "module": "src/foundation-element/foundation-element.ts"
5430
+ }
5431
+ },
5432
+ {
5433
+ "kind": "method",
5434
+ "name": "stylesChanged",
5435
+ "privacy": "protected",
5436
+ "return": {
5437
+ "type": {
5438
+ "text": "void"
5439
+ }
5440
+ },
5441
+ "inheritedFrom": {
5442
+ "name": "FoundationElement",
5443
+ "module": "src/foundation-element/foundation-element.ts"
5444
+ }
5445
+ },
5446
+ {
5447
+ "kind": "method",
5448
+ "name": "compose",
5449
+ "privacy": "public",
5450
+ "static": true,
5451
+ "return": {
5452
+ "type": {
5453
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
5454
+ }
5455
+ },
5456
+ "parameters": [
5457
+ {
5458
+ "name": "this",
5459
+ "type": {
5460
+ "text": "K"
5461
+ }
5462
+ },
5463
+ {
5464
+ "name": "elementDefinition",
5465
+ "type": {
5466
+ "text": "T"
5467
+ },
5468
+ "description": "The definition of the element to create the registry\nfunction for."
5469
+ }
5470
+ ],
5471
+ "description": "Defines an element registry function with a set of element definition defaults.",
5472
+ "inheritedFrom": {
5473
+ "name": "FoundationElement",
5474
+ "module": "src/foundation-element/foundation-element.ts"
5475
+ }
5476
+ }
5477
+ ]
5478
+ },
5479
+ {
5480
+ "kind": "variable",
5481
+ "name": "rapidGridProStatusBar",
5482
+ "description": "Rapid Grid Pro Status Bar registration.",
5483
+ "privacy": "public"
5484
+ }
5485
+ ],
5486
+ "exports": [
5487
+ {
5488
+ "kind": "js",
5489
+ "name": "rapidStatusBarStyles",
5490
+ "declaration": {
5491
+ "name": "rapidStatusBarStyles",
5492
+ "module": "src/status-bar.ts"
5493
+ }
5494
+ },
5495
+ {
5496
+ "kind": "js",
5497
+ "name": "RapidGridProStatusBar",
5498
+ "declaration": {
5499
+ "name": "RapidGridProStatusBar",
5500
+ "module": "src/status-bar.ts"
5501
+ }
5502
+ },
5503
+ {
5504
+ "kind": "js",
5505
+ "name": "rapidGridProStatusBar",
5506
+ "declaration": {
5507
+ "name": "rapidGridProStatusBar",
5508
+ "module": "src/status-bar.ts"
5509
+ }
5510
+ }
5511
+ ]
5512
+ },
5029
5513
  {
5030
5514
  "kind": "javascript-module",
5031
5515
  "path": "src/cell-editors/date.editor.ts",
@@ -137,6 +137,15 @@ export declare const rapidGridComponents: {
137
137
  template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/grid-pro").ColumnSelection, any>;
138
138
  styles: import("@microsoft/fast-element").ElementStyles;
139
139
  }, typeof import("./column-selection").RapidColumnSelection>;
140
+ rapidGridProStatusBar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
141
+ baseName: string;
142
+ template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/grid-pro").GridProStatusBar, any>;
143
+ styles: import("@microsoft/fast-element").ElementStyles;
144
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
145
+ baseName: string;
146
+ template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/grid-pro").GridProStatusBar, any>;
147
+ styles: import("@microsoft/fast-element").ElementStyles;
148
+ }, typeof import("./status-bar").RapidGridProStatusBar>;
140
149
  register(container?: Container, ...rest: any[]): void;
141
150
  };
142
151
  //# sourceMappingURL=grid-components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid-components.d.ts","sourceRoot":"","sources":["../../src/grid-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAqB5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAgBT,SAAS,WAAW,GAAG,EAAE;CAa/C,CAAC"}
1
+ {"version":3,"file":"grid-components.d.ts","sourceRoot":"","sources":["../../src/grid-components.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAsB5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAiBT,SAAS,WAAW,GAAG,EAAE;CAa/C,CAAC"}
@@ -10,5 +10,6 @@ export * from './style';
10
10
  export * from './grid-components';
11
11
  export * from './multicolumn-dropdown';
12
12
  export * from './column-selection';
13
+ export * from './status-bar';
13
14
  export * from '@genesislcap/grid-pro';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAExB,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAE7B,cAAc,uBAAuB,CAAC"}
@@ -20,6 +20,7 @@ import type { RapidAgTextRenderer as RapidAgTextRendererWC } from './cell-render
20
20
  import type { RapidColumnSelection as RapidColumnSelectionWC } from './column-selection';
21
21
  import type { RapidGridProLegacy as RapidGridProLegacyWC } from './grid-pro-legacy';
22
22
  import type { RapidGridPro as RapidGridProWC } from './grid-pro';
23
+ import type { RapidGridProStatusBar as RapidGridProStatusBarWC } from './status-bar';
23
24
  import type { GridReadyEventDetail } from '@genesislcap/grid-pro';
24
25
 
25
26
  /** @internal Maps a web component class to its public props only.
@@ -84,6 +85,15 @@ export declare const RapidGridPro: React.ForwardRefExoticComponent<
84
85
  >;
85
86
  export type RapidGridProRef = RapidGridProWC;
86
87
 
88
+ export declare const RapidGridProStatusBar: React.ForwardRefExoticComponent<
89
+ React.PropsWithChildren<
90
+ Omit<PublicOf<RapidGridProStatusBarWC>, 'children' | 'style'> &
91
+ HTMLWCProps & {
92
+ }
93
+ > & React.RefAttributes<RapidGridProStatusBarWC>
94
+ >;
95
+ export type RapidGridProStatusBarRef = RapidGridProStatusBarWC;
96
+
87
97
  export declare const RapidDateEditor: React.ForwardRefExoticComponent<
88
98
  React.PropsWithChildren<
89
99
  Omit<PublicOf<RapidDateEditorWC>, 'children' | 'style'> &
@@ -0,0 +1,29 @@
1
+ import { GridProStatusBar } from '@genesislcap/grid-pro';
2
+ /**
3
+ * The bar sits outside the AG theme wrapper, so it does not inherit the `--ag-*` params from
4
+ * the rapid theme. Map them to the same rapid tokens the theme uses.
5
+ * @public
6
+ */
7
+ export declare const rapidStatusBarStyles: import("@microsoft/fast-element").ElementStyles;
8
+ /**
9
+ * @tagname %%prefix%%-grid-pro-status-bar
10
+ */
11
+ export declare class RapidGridProStatusBar extends GridProStatusBar {
12
+ }
13
+ /**
14
+ * Rapid Grid Pro Status Bar registration.
15
+ *
16
+ * @public
17
+ * @remarks
18
+ * HTML Element: \<rapid-grid-pro-status-bar\>
19
+ */
20
+ export declare const rapidGridProStatusBar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
21
+ baseName: string;
22
+ template: import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
23
+ styles: import("@microsoft/fast-element").ElementStyles;
24
+ }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
25
+ baseName: string;
26
+ template: import("@microsoft/fast-element").ViewTemplate<GridProStatusBar, any>;
27
+ styles: import("@microsoft/fast-element").ElementStyles;
28
+ }, typeof RapidGridProStatusBar>;
29
+ //# sourceMappingURL=status-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status-bar.d.ts","sourceRoot":"","sources":["../../src/status-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAyC,MAAM,uBAAuB,CAAC;AAGhG;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,iDAUhC,CAAC;AAEF;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,gBAAgB;CAAG;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;gCAIhC,CAAC"}
@@ -2,6 +2,7 @@ import { rapidAgNumberEditor, rapidAgSelectEditor, rapidAgStringEditor, rapidAgM
2
2
  import { rapidAgEditableRenderer, rapidAgActionRenderer, rapidAgActionsMenuRenderer, rapidAgBooleanRenderer, rapidAgSelectRenderer, rapidAgTextRenderer, rapidStatusPillRenderer, rapidIconRenderer, } from './cell-renderers';
3
3
  import { rapidColumnSelection } from './column-selection';
4
4
  import { rapidGridPro } from './grid-pro';
5
+ import { rapidGridProStatusBar } from './status-bar';
5
6
  export const rapidGridComponents = {
6
7
  rapidIconRenderer,
7
8
  rapidAgEditableRenderer,
@@ -18,6 +19,7 @@ export const rapidGridComponents = {
18
19
  rapidStatusPillRenderer,
19
20
  rapidGridPro,
20
21
  rapidColumnSelection,
22
+ rapidGridProStatusBar,
21
23
  register(container, ...rest) {
22
24
  if (!container) {
23
25
  // preserve backward compatibility with code that loops through
@@ -131,7 +131,7 @@ export const rapidGridPro = RapidGridPro.compose(Object.assign({ baseName: 'grid
131
131
  height: 100%;
132
132
  }
133
133
 
134
- :host([ds-disconnected]) {
134
+ :host([ds-disconnected]:not(.has-column-selection):not(.has-status-bar)) {
135
135
  display: block;
136
136
  }
137
137
 
package/dist/esm/index.js CHANGED
@@ -10,4 +10,5 @@ export * from './style';
10
10
  export * from './grid-components';
11
11
  export * from './multicolumn-dropdown';
12
12
  export * from './column-selection';
13
+ export * from './status-bar';
13
14
  export * from '@genesislcap/grid-pro';
@@ -0,0 +1,35 @@
1
+ import { GridProStatusBar, getStatusBarTemplate, statusBarStyles } from '@genesislcap/grid-pro';
2
+ import { css } from '@microsoft/fast-element';
3
+ /**
4
+ * The bar sits outside the AG theme wrapper, so it does not inherit the `--ag-*` params from
5
+ * the rapid theme. Map them to the same rapid tokens the theme uses.
6
+ * @public
7
+ */
8
+ export const rapidStatusBarStyles = css `
9
+ ${statusBarStyles}
10
+
11
+ :host {
12
+ --ag-header-background-color: var(--neutral-layer-3);
13
+ --ag-border-color: var(--neutral-stroke-rest);
14
+ --ag-foreground-color: var(--neutral-foreground-rest);
15
+ --ag-data-font-size: var(--type-ramp-minus-2-font-size);
16
+ font-family: var(--body-font);
17
+ }
18
+ `;
19
+ /**
20
+ * @tagname %%prefix%%-grid-pro-status-bar
21
+ */
22
+ export class RapidGridProStatusBar extends GridProStatusBar {
23
+ }
24
+ /**
25
+ * Rapid Grid Pro Status Bar registration.
26
+ *
27
+ * @public
28
+ * @remarks
29
+ * HTML Element: \<rapid-grid-pro-status-bar\>
30
+ */
31
+ export const rapidGridProStatusBar = RapidGridProStatusBar.compose({
32
+ baseName: 'grid-pro-status-bar',
33
+ template: getStatusBarTemplate(),
34
+ styles: rapidStatusBarStyles,
35
+ });
package/dist/react.cjs CHANGED
@@ -22,6 +22,7 @@ const { RapidAgTextRenderer: RapidAgTextRendererWC } = require('./esm/cell-rende
22
22
  const { RapidColumnSelection: RapidColumnSelectionWC } = require('./esm/column-selection.js');
23
23
  const { RapidGridProLegacy: RapidGridProLegacyWC } = require('./esm/grid-pro-legacy.js');
24
24
  const { RapidGridPro: RapidGridProWC } = require('./esm/grid-pro.js');
25
+ const { RapidGridProStatusBar: RapidGridProStatusBarWC } = require('./esm/status-bar.js');
25
26
 
26
27
  function _mergeRefs(...refs) {
27
28
  return (value) => {
@@ -91,6 +92,11 @@ const RapidGridPro = React.forwardRef(function RapidGridPro(props, ref) {
91
92
  return React.createElement(customElements.getName(RapidGridProWC) ?? 'rapid-grid-pro', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
92
93
  });
93
94
 
95
+ const RapidGridProStatusBar = React.forwardRef(function RapidGridProStatusBar(props, ref) {
96
+ const { children, ...rest } = props;
97
+ return React.createElement(customElements.getName(RapidGridProStatusBarWC) ?? '%%prefix%%-grid-pro-status-bar', { ...rest, ref }, children);
98
+ });
99
+
94
100
  const RapidDateEditor = React.forwardRef(function RapidDateEditor(props, ref) {
95
101
  const { children, ...rest } = props;
96
102
  return React.createElement(customElements.getName(RapidDateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
@@ -160,6 +166,7 @@ module.exports = {
160
166
  RapidColumnSelection,
161
167
  RapidGridProLegacy,
162
168
  RapidGridPro,
169
+ RapidGridProStatusBar,
163
170
  RapidDateEditor,
164
171
  RapidMultiselectEditor,
165
172
  RapidNumberEditor,
package/dist/react.mjs CHANGED
@@ -20,6 +20,7 @@ import { RapidAgTextRenderer as RapidAgTextRendererWC } from './esm/cell-rendere
20
20
  import { RapidColumnSelection as RapidColumnSelectionWC } from './esm/column-selection.js';
21
21
  import { RapidGridProLegacy as RapidGridProLegacyWC } from './esm/grid-pro-legacy.js';
22
22
  import { RapidGridPro as RapidGridProWC } from './esm/grid-pro.js';
23
+ import { RapidGridProStatusBar as RapidGridProStatusBarWC } from './esm/status-bar.js';
23
24
 
24
25
  function _mergeRefs(...refs) {
25
26
  return (value) => {
@@ -89,6 +90,11 @@ export const RapidGridPro = React.forwardRef(function RapidGridPro(props, ref) {
89
90
  return React.createElement(customElements.getName(RapidGridProWC) ?? 'rapid-grid-pro', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
90
91
  });
91
92
 
93
+ export const RapidGridProStatusBar = React.forwardRef(function RapidGridProStatusBar(props, ref) {
94
+ const { children, ...rest } = props;
95
+ return React.createElement(customElements.getName(RapidGridProStatusBarWC) ?? '%%prefix%%-grid-pro-status-bar', { ...rest, ref }, children);
96
+ });
97
+
92
98
  export const RapidDateEditor = React.forwardRef(function RapidDateEditor(props, ref) {
93
99
  const { children, ...rest } = props;
94
100
  return React.createElement(customElements.getName(RapidDateEditorWC) ?? '%%prefix%%-date-editor', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-grid-pro",
3
3
  "description": "Genesis Rapid Grid Pro",
4
- "version": "15.63.0",
4
+ "version": "15.64.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -34,16 +34,16 @@
34
34
  }
35
35
  },
36
36
  "devDependencies": {
37
- "@genesislcap/genx": "15.63.0",
38
- "@genesislcap/ts-builder": "15.63.0",
39
- "@genesislcap/uvu-playwright-builder": "15.63.0",
40
- "@genesislcap/vite-builder": "15.63.0",
41
- "@genesislcap/webpack-builder": "15.63.0"
37
+ "@genesislcap/genx": "15.64.0",
38
+ "@genesislcap/ts-builder": "15.64.0",
39
+ "@genesislcap/uvu-playwright-builder": "15.64.0",
40
+ "@genesislcap/vite-builder": "15.64.0",
41
+ "@genesislcap/webpack-builder": "15.64.0"
42
42
  },
43
43
  "dependencies": {
44
- "@genesislcap/foundation-ui": "15.63.0",
45
- "@genesislcap/grid-pro": "15.63.0",
46
- "@genesislcap/rapid-design-system": "15.63.0",
44
+ "@genesislcap/foundation-ui": "15.64.0",
45
+ "@genesislcap/grid-pro": "15.64.0",
46
+ "@genesislcap/rapid-design-system": "15.64.0",
47
47
  "@microsoft/fast-colors": "5.3.1",
48
48
  "@microsoft/fast-components": "2.30.6",
49
49
  "@microsoft/fast-element": "1.14.0",