@genesislcap/grid-pro 15.16.0 → 15.17.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.
Files changed (42) hide show
  1. package/dist/custom-elements.json +1896 -1338
  2. package/dist/dts/datasource/index.d.ts +3 -0
  3. package/dist/dts/datasource/index.d.ts.map +1 -1
  4. package/dist/dts/datasource/row-match.classes.d.ts +47 -0
  5. package/dist/dts/datasource/row-match.classes.d.ts.map +1 -0
  6. package/dist/dts/datasource/row-match.tracker.d.ts +67 -0
  7. package/dist/dts/datasource/row-match.tracker.d.ts.map +1 -0
  8. package/dist/dts/datasource/row-match.types.d.ts +86 -0
  9. package/dist/dts/datasource/row-match.types.d.ts.map +1 -0
  10. package/dist/dts/grid-pro.styles.d.ts +14 -0
  11. package/dist/dts/grid-pro.styles.d.ts.map +1 -1
  12. package/dist/dts/index.d.ts +1 -0
  13. package/dist/dts/index.d.ts.map +1 -1
  14. package/dist/dts/react.d.ts +13 -13
  15. package/dist/dts/row-alert/index.d.ts +3 -0
  16. package/dist/dts/row-alert/index.d.ts.map +1 -0
  17. package/dist/dts/row-alert/row-alert.d.ts +132 -0
  18. package/dist/dts/row-alert/row-alert.d.ts.map +1 -0
  19. package/dist/dts/row-alert/row-alert.types.d.ts +62 -0
  20. package/dist/dts/row-alert/row-alert.types.d.ts.map +1 -0
  21. package/dist/dts/state-persistence/kv-state.d.ts +3 -0
  22. package/dist/dts/state-persistence/kv-state.d.ts.map +1 -1
  23. package/dist/dts/state-persistence/local-state.d.ts +3 -0
  24. package/dist/dts/state-persistence/local-state.d.ts.map +1 -1
  25. package/dist/dts/state-persistence/state-persistence.d.ts +16 -0
  26. package/dist/dts/state-persistence/state-persistence.d.ts.map +1 -1
  27. package/dist/esm/datasource/index.js +3 -0
  28. package/dist/esm/datasource/row-match.classes.js +53 -0
  29. package/dist/esm/datasource/row-match.tracker.js +117 -0
  30. package/dist/esm/datasource/row-match.types.js +98 -0
  31. package/dist/esm/grid-pro.styles.js +48 -0
  32. package/dist/esm/index.js +1 -0
  33. package/dist/esm/row-alert/index.js +2 -0
  34. package/dist/esm/row-alert/row-alert.js +197 -0
  35. package/dist/esm/row-alert/row-alert.types.js +63 -0
  36. package/dist/esm/state-persistence/kv-state.js +21 -0
  37. package/dist/esm/state-persistence/local-state.js +19 -0
  38. package/dist/grid-pro.api.json +11119 -8496
  39. package/dist/grid-pro.d.ts +441 -0
  40. package/dist/react.cjs +9 -9
  41. package/dist/react.mjs +7 -7
  42. package/package.json +14 -14
@@ -1471,13 +1471,20 @@
1471
1471
  "description": "Workaround for an AG Grid (v36, still present in v36.1.0) drag-ghost positioning bug in\nshadow DOM. The row-drag \"N rows\" ghost is appended to the grid's containing shadow root\n(AG's \\`_getPageBody\\` finds no \\`<body>\\` there) inside \\`.ag-styled-root\\` wrappers that are\n\\`display: contents\\`, so the ghost's positioning formula\n(\\`clientY - offsetParentRect.top - height / 2\\`) resolves against whatever ancestor of the\nshadow host happens to be its containing block. Whenever the element \\`offsetParent\\`\nreports differs from the real containing block (inline host fragments, scrolled panes,\napp-level transforms), the ghost renders at a constant offset from the cursor.\n\\`popupParent\\` does not help — the ghost code path never consults it.\n\nGiving the ghost's direct wrapper a real, positioned, zero-size box makes it both the\nreported \\`offsetParent\\` and the actual containing block, so AG's formula is exact —\nverified to match AG's healthy document-\\`body\\` code path pixel-for-pixel. Scoped with\n\\`:has(> .ag-dnd-ghost)\\` so the popup subsystem's \\`.ag-styled-root\\` wrappers keep their\nstock \\`display: contents\\`.",
1472
1472
  "privacy": "public"
1473
1473
  },
1474
+ {
1475
+ "kind": "variable",
1476
+ "name": "rowMatchAlertStyles",
1477
+ "default": "css`\n /* The :host prefix is needed to outweigh the AG theme's own .ag-theme-* .ag-row background. */\n :host .ag-row.${ROW_MATCH_ALERT_CLASS} {\n background-color: color-mix(\n in srgb,\n var(--row-alert-color, var(--error-fill-rest, #c62828))\n calc(var(${alertFlashPhaseProperty}, 0) * 100%),\n transparent\n );\n }\n\n /* AG paints cell backgrounds over the row, so they have to stand aside for a row-wide flash. */\n :host .ag-row.${ROW_MATCH_ALERT_CLASS} .ag-cell:not(.${ROW_MATCH_ALERT_CELL_CLASS}) {\n background-color: transparent !important;\n }\n\n :host .ag-cell.${ROW_MATCH_ALERT_CELL_CLASS} {\n background-color: color-mix(\n in srgb,\n var(--row-alert-color, var(--error-fill-rest, #c62828))\n calc(var(${alertFlashPhaseProperty}, 0) * 100%),\n transparent\n );\n }\n\n /* Reduced motion stops the clock, leaving the phase at 0, so paint a steady alert instead. */\n @media (prefers-reduced-motion: reduce) {\n :host .ag-row.${ROW_MATCH_ALERT_CLASS}, :host .ag-cell.${ROW_MATCH_ALERT_CELL_CLASS} {\n background-color: var(--row-alert-color, var(--error-fill-rest, #c62828));\n }\n }\n`",
1478
+ "description": "Flash for rows carrying the classes that `createRowMatchClassRules` and\n`createRowMatchCellClassRules` apply.\n\nThese live in the grid's own stylesheet because AG Grid renders inside this shadow root, out of\nreach of an app's CSS. The phase comes from the document-level clock, which inherits through the\nshadow boundary, so a flashing row keeps step with the flashing tab that sent you looking for it.\n\nAny grid composition that does not include foundationGridProStyles needs to include this\nas well, otherwise its rows silently never flash.",
1479
+ "privacy": "public"
1480
+ },
1474
1481
  {
1475
1482
  "kind": "variable",
1476
1483
  "name": "foundationGridProStyles",
1477
1484
  "type": {
1478
1485
  "text": "ElementStyles"
1479
1486
  },
1480
- "default": "css`\n ${agExternalStockStyles}\n ${errorHandlerDialogStyles}\n ${agDragGhostShadowDomStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n\n .hidden {\n display: none;\n }\n\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n\n /* Custom styling for the unsort icon (sortNone) - only for sortable columns */\n .ag-header-cell.ag-header-cell-sortable .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n font-size: calc(var(--ag-icon-size, 12px) * 1.2);\n font-weight: bold;\n }\n\n .ag-header-cell.ag-header-cell-sortable:hover .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n transform: scale(1.1);\n transition: transform 0.2s ease;\n }\n`",
1487
+ "default": "css`\n ${agExternalStockStyles}\n ${errorHandlerDialogStyles}\n ${agDragGhostShadowDomStyles}\n ${rowMatchAlertStyles}\n :host {\n --datasource-error-background-color: var(--neutral-layer-4);\n --datasource-error-background-opacity: 0.5;\n --datasource-error-dialog-max-width: 50%;\n --datasource-error-dialog-min-width: auto;\n --ag-status-bar-height: 32.5px;\n\n position: relative;\n width: 100%;\n height: 100%;\n }\n\n :host([ds-disconnected]) {\n display: block;\n }\n\n :host([ds-disconnected])::part(grid) {\n cursor: not-allowed;\n opacity: 40%;\n pointer-events: none;\n }\n\n .ag-side-bar,\n .ag-menu {\n --ag-subheader-background-color: var(--ag-background-color);\n --ag-control-panel-background-color: var(--ag-background-color);\n }\n\n .ag-cell-inline-editing {\n height: inherit !important;\n }\n\n .hidden {\n display: none;\n }\n\n .error {\n border-color: var(--error-color) !important;\n }\n\n .ag-status-bar {\n height: var(--ag-status-bar-height);\n }\n\n .ag-status-name-value {\n padding-top: var(--ag-grid-size);\n padding-bottom: var(--ag-grid-size);\n }\n\n /* Custom styling for the unsort icon (sortNone) - only for sortable columns */\n .ag-header-cell.ag-header-cell-sortable .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n font-size: calc(var(--ag-icon-size, 12px) * 1.2);\n font-weight: bold;\n }\n\n .ag-header-cell.ag-header-cell-sortable:hover .ag-icon-none {\n opacity: 100%;\n color: var(--rapid-ag-header-foreground-color, var(--ag-foreground-color, #fff));\n transform: scale(1.1);\n transition: transform 0.2s ease;\n }\n`",
1481
1488
  "description": "The Grid Pro styles.",
1482
1489
  "privacy": "public"
1483
1490
  }
@@ -1491,6 +1498,14 @@
1491
1498
  "module": "src/grid-pro.styles.ts"
1492
1499
  }
1493
1500
  },
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "rowMatchAlertStyles",
1504
+ "declaration": {
1505
+ "name": "rowMatchAlertStyles",
1506
+ "module": "src/grid-pro.styles.ts"
1507
+ }
1508
+ },
1494
1509
  {
1495
1510
  "kind": "js",
1496
1511
  "name": "foundationGridProStyles",
@@ -3441,6 +3456,14 @@
3441
3456
  "package": "./multicolumn-dropdown"
3442
3457
  }
3443
3458
  },
3459
+ {
3460
+ "kind": "js",
3461
+ "name": "*",
3462
+ "declaration": {
3463
+ "name": "*",
3464
+ "package": "./row-alert"
3465
+ }
3466
+ },
3444
3467
  {
3445
3468
  "kind": "js",
3446
3469
  "name": "*",
@@ -3493,59 +3516,56 @@
3493
3516
  },
3494
3517
  {
3495
3518
  "kind": "javascript-module",
3496
- "path": "src/cell/cell.template.ts",
3497
- "declarations": [
3498
- {
3499
- "kind": "variable",
3500
- "name": "CellTemplate",
3501
- "default": "html<GridProCell>`\n <template>\n <slot ${slotted('slottedRenderer')} @slotchange=\"${(x) => x.slottedAgRendererChanged()}\"></slot>\n </template>\n`",
3502
- "description": "The Grid Pro Cell Template.",
3503
- "privacy": "public"
3504
- }
3505
- ],
3506
- "exports": [
3507
- {
3508
- "kind": "js",
3509
- "name": "CellTemplate",
3510
- "declaration": {
3511
- "name": "CellTemplate",
3512
- "module": "src/cell/cell.template.ts"
3513
- }
3514
- }
3515
- ]
3516
- },
3517
- {
3518
- "kind": "javascript-module",
3519
- "path": "src/cell/cell.ts",
3519
+ "path": "src/cell-editors/date.editor.ts",
3520
3520
  "declarations": [
3521
3521
  {
3522
3522
  "kind": "class",
3523
- "description": "The Grid Pro Cell element.",
3524
- "name": "GridProCell",
3523
+ "description": "The AG Date Editor element.",
3524
+ "name": "DateEditor",
3525
3525
  "members": [
3526
3526
  {
3527
3527
  "kind": "field",
3528
- "name": "renderer",
3528
+ "name": "value",
3529
3529
  "type": {
3530
- "text": "ICellRendererFunc"
3530
+ "text": "number"
3531
3531
  },
3532
3532
  "privacy": "public"
3533
3533
  },
3534
3534
  {
3535
3535
  "kind": "field",
3536
- "name": "rendererParams",
3536
+ "name": "actualWidth",
3537
3537
  "type": {
3538
- "text": "ICellRendererParams"
3538
+ "text": "number"
3539
3539
  },
3540
3540
  "privacy": "public"
3541
3541
  },
3542
3542
  {
3543
3543
  "kind": "field",
3544
- "name": "slottedRenderer",
3544
+ "name": "params",
3545
3545
  "type": {
3546
- "text": "HTMLElement[]"
3547
- },
3548
- "privacy": "public"
3546
+ "text": "DateEditorParams"
3547
+ }
3548
+ },
3549
+ {
3550
+ "kind": "field",
3551
+ "name": "dateFormat",
3552
+ "type": {
3553
+ "text": "string"
3554
+ }
3555
+ },
3556
+ {
3557
+ "kind": "field",
3558
+ "name": "input",
3559
+ "type": {
3560
+ "text": "any"
3561
+ }
3562
+ },
3563
+ {
3564
+ "kind": "field",
3565
+ "name": "inputType",
3566
+ "type": {
3567
+ "text": "'datetime-local' | 'date'"
3568
+ }
3549
3569
  },
3550
3570
  {
3551
3571
  "kind": "method",
@@ -3555,7 +3575,7 @@
3555
3575
  {
3556
3576
  "name": "params",
3557
3577
  "type": {
3558
- "text": "ICellRendererParams"
3578
+ "text": "DateEditorParams"
3559
3579
  }
3560
3580
  }
3561
3581
  ]
@@ -3570,28 +3590,53 @@
3570
3590
  }
3571
3591
  }
3572
3592
  },
3573
- {
3574
- "kind": "method",
3575
- "name": "destroy",
3576
- "privacy": "public"
3577
- },
3578
3593
  {
3579
3594
  "kind": "method",
3580
3595
  "name": "refresh",
3581
3596
  "privacy": "public",
3597
+ "return": {
3598
+ "type": {
3599
+ "text": "boolean"
3600
+ }
3601
+ },
3582
3602
  "parameters": [
3583
3603
  {
3584
3604
  "name": "params",
3585
3605
  "type": {
3586
- "text": "ICellRendererParams"
3606
+ "text": "DateEditorParams"
3587
3607
  }
3588
3608
  }
3589
3609
  ]
3590
3610
  },
3591
3611
  {
3592
3612
  "kind": "method",
3593
- "name": "slottedAgRendererChanged",
3594
- "privacy": "public"
3613
+ "name": "getValue"
3614
+ },
3615
+ {
3616
+ "kind": "method",
3617
+ "name": "isPopup",
3618
+ "return": {
3619
+ "type": {
3620
+ "text": "boolean"
3621
+ }
3622
+ }
3623
+ },
3624
+ {
3625
+ "kind": "method",
3626
+ "name": "changeHandler",
3627
+ "parameters": [
3628
+ {
3629
+ "name": "event"
3630
+ }
3631
+ ]
3632
+ },
3633
+ {
3634
+ "kind": "method",
3635
+ "name": "afterGuiAttached"
3636
+ },
3637
+ {
3638
+ "kind": "method",
3639
+ "name": "isCancelBeforeStart"
3595
3640
  },
3596
3641
  {
3597
3642
  "kind": "field",
@@ -3709,32 +3754,78 @@
3709
3754
  "name": "FoundationElement",
3710
3755
  "package": "@microsoft/fast-foundation"
3711
3756
  },
3712
- "tagName": "grid-pro-cell",
3757
+ "tagName": "%%prefix%%-date-editor",
3713
3758
  "customElement": true
3759
+ },
3760
+ {
3761
+ "kind": "variable",
3762
+ "name": "agDateEditorStyles",
3763
+ "default": "css`\n :host {\n display: flex;\n }\n`",
3764
+ "description": "The AG Select Renderer Styles.",
3765
+ "privacy": "public"
3766
+ },
3767
+ {
3768
+ "kind": "function",
3769
+ "name": "getDateEditorTemplate",
3770
+ "parameters": [
3771
+ {
3772
+ "name": "prefix",
3773
+ "default": "'foundation'",
3774
+ "description": "The design system prefix to use. Defaults to 'foundation'."
3775
+ }
3776
+ ],
3777
+ "description": "Get a Design System prefixed Select template.",
3778
+ "return": {
3779
+ "type": {
3780
+ "text": ""
3781
+ }
3782
+ },
3783
+ "privacy": "public"
3784
+ },
3785
+ {
3786
+ "kind": "variable",
3787
+ "name": "foundationDateEditor",
3788
+ "privacy": "public"
3714
3789
  }
3715
3790
  ],
3716
3791
  "exports": [
3717
3792
  {
3718
3793
  "kind": "js",
3719
- "name": "GridProCell",
3794
+ "name": "DateEditor",
3720
3795
  "declaration": {
3721
- "name": "GridProCell",
3722
- "module": "src/cell/cell.ts"
3796
+ "name": "DateEditor",
3797
+ "module": "src/cell-editors/date.editor.ts"
3723
3798
  }
3724
3799
  },
3725
3800
  {
3726
- "kind": "custom-element-definition",
3727
- "name": "grid-pro-cell",
3801
+ "kind": "js",
3802
+ "name": "agDateEditorStyles",
3728
3803
  "declaration": {
3729
- "name": "GridProCell",
3730
- "module": "src/cell/cell.ts"
3804
+ "name": "agDateEditorStyles",
3805
+ "module": "src/cell-editors/date.editor.ts"
3806
+ }
3807
+ },
3808
+ {
3809
+ "kind": "js",
3810
+ "name": "getDateEditorTemplate",
3811
+ "declaration": {
3812
+ "name": "getDateEditorTemplate",
3813
+ "module": "src/cell-editors/date.editor.ts"
3814
+ }
3815
+ },
3816
+ {
3817
+ "kind": "js",
3818
+ "name": "foundationDateEditor",
3819
+ "declaration": {
3820
+ "name": "foundationDateEditor",
3821
+ "module": "src/cell-editors/date.editor.ts"
3731
3822
  }
3732
3823
  }
3733
3824
  ]
3734
3825
  },
3735
3826
  {
3736
3827
  "kind": "javascript-module",
3737
- "path": "src/cell/index.ts",
3828
+ "path": "src/cell-editors/index.ts",
3738
3829
  "declarations": [],
3739
3830
  "exports": [
3740
3831
  {
@@ -3742,7 +3833,7 @@
3742
3833
  "name": "*",
3743
3834
  "declaration": {
3744
3835
  "name": "*",
3745
- "package": "./cell.template"
3836
+ "package": "./date.editor"
3746
3837
  }
3747
3838
  },
3748
3839
  {
@@ -3750,84 +3841,90 @@
3750
3841
  "name": "*",
3751
3842
  "declaration": {
3752
3843
  "name": "*",
3753
- "package": "./cell"
3844
+ "package": "./multiselect.editor"
3845
+ }
3846
+ },
3847
+ {
3848
+ "kind": "js",
3849
+ "name": "*",
3850
+ "declaration": {
3851
+ "name": "*",
3852
+ "package": "./number.editor"
3853
+ }
3854
+ },
3855
+ {
3856
+ "kind": "js",
3857
+ "name": "*",
3858
+ "declaration": {
3859
+ "name": "*",
3860
+ "package": "./select.editor"
3861
+ }
3862
+ },
3863
+ {
3864
+ "kind": "js",
3865
+ "name": "*",
3866
+ "declaration": {
3867
+ "name": "*",
3868
+ "package": "./string.editor"
3754
3869
  }
3755
3870
  }
3756
3871
  ]
3757
3872
  },
3758
3873
  {
3759
3874
  "kind": "javascript-module",
3760
- "path": "src/cell-editors/date.editor.ts",
3875
+ "path": "src/cell-editors/multiselect.editor.ts",
3761
3876
  "declarations": [
3762
3877
  {
3763
3878
  "kind": "class",
3764
- "description": "The AG Date Editor element.",
3765
- "name": "DateEditor",
3879
+ "description": "The AG Multiselect Editor element.",
3880
+ "name": "MultiselectEditor",
3766
3881
  "members": [
3767
3882
  {
3768
3883
  "kind": "field",
3769
- "name": "value",
3884
+ "name": "params",
3770
3885
  "type": {
3771
- "text": "number"
3886
+ "text": "MultiselectEditorParams"
3772
3887
  },
3773
3888
  "privacy": "public"
3774
3889
  },
3775
3890
  {
3776
3891
  "kind": "field",
3777
- "name": "actualWidth",
3892
+ "name": "selectedOptions",
3778
3893
  "type": {
3779
- "text": "number"
3894
+ "text": "any[]"
3780
3895
  },
3781
3896
  "privacy": "public"
3782
3897
  },
3783
3898
  {
3784
- "kind": "field",
3785
- "name": "params",
3786
- "type": {
3787
- "text": "DateEditorParams"
3899
+ "kind": "method",
3900
+ "name": "init",
3901
+ "privacy": "public",
3902
+ "parameters": [
3903
+ {
3904
+ "name": "params",
3905
+ "type": {
3906
+ "text": "MultiselectEditorParams"
3907
+ }
3908
+ }
3909
+ ]
3910
+ },
3911
+ {
3912
+ "kind": "method",
3913
+ "name": "getGui",
3914
+ "privacy": "public",
3915
+ "return": {
3916
+ "type": {
3917
+ "text": "HTMLElement"
3918
+ }
3788
3919
  }
3789
3920
  },
3790
- {
3791
- "kind": "field",
3792
- "name": "dateFormat",
3793
- "type": {
3794
- "text": "string"
3795
- }
3796
- },
3797
- {
3798
- "kind": "field",
3799
- "name": "input",
3800
- "type": {
3801
- "text": "any"
3802
- }
3803
- },
3804
- {
3805
- "kind": "field",
3806
- "name": "inputType",
3807
- "type": {
3808
- "text": "'datetime-local' | 'date'"
3809
- }
3810
- },
3811
- {
3812
- "kind": "method",
3813
- "name": "init",
3814
- "privacy": "public",
3815
- "parameters": [
3816
- {
3817
- "name": "params",
3818
- "type": {
3819
- "text": "DateEditorParams"
3820
- }
3821
- }
3822
- ]
3823
- },
3824
3921
  {
3825
3922
  "kind": "method",
3826
- "name": "getGui",
3923
+ "name": "destroy",
3827
3924
  "privacy": "public",
3828
3925
  "return": {
3829
3926
  "type": {
3830
- "text": "HTMLElement"
3927
+ "text": "void"
3831
3928
  }
3832
3929
  }
3833
3930
  },
@@ -3844,7 +3941,7 @@
3844
3941
  {
3845
3942
  "name": "params",
3846
3943
  "type": {
3847
- "text": "DateEditorParams"
3944
+ "text": "MultiselectEditorParams"
3848
3945
  }
3849
3946
  }
3850
3947
  ]
@@ -3871,10 +3968,6 @@
3871
3968
  }
3872
3969
  ]
3873
3970
  },
3874
- {
3875
- "kind": "method",
3876
- "name": "afterGuiAttached"
3877
- },
3878
3971
  {
3879
3972
  "kind": "method",
3880
3973
  "name": "isCancelBeforeStart"
@@ -3995,22 +4088,22 @@
3995
4088
  "name": "FoundationElement",
3996
4089
  "package": "@microsoft/fast-foundation"
3997
4090
  },
3998
- "tagName": "%%prefix%%-date-editor",
4091
+ "tagName": "%%prefix%%-multiselect-editor",
3999
4092
  "customElement": true
4000
4093
  },
4001
4094
  {
4002
4095
  "kind": "variable",
4003
- "name": "agDateEditorStyles",
4004
- "default": "css`\n :host {\n display: flex;\n }\n`",
4096
+ "name": "agMultiselectEditorStyles",
4097
+ "default": "css``",
4005
4098
  "description": "The AG Select Renderer Styles.",
4006
4099
  "privacy": "public"
4007
4100
  },
4008
4101
  {
4009
4102
  "kind": "function",
4010
- "name": "getDateEditorTemplate",
4103
+ "name": "getMultiselectEditorTemplate",
4011
4104
  "parameters": [
4012
4105
  {
4013
- "name": "prefix",
4106
+ "name": "designSystem",
4014
4107
  "default": "'foundation'",
4015
4108
  "description": "The design system prefix to use. Defaults to 'foundation'."
4016
4109
  }
@@ -4025,114 +4118,83 @@
4025
4118
  },
4026
4119
  {
4027
4120
  "kind": "variable",
4028
- "name": "foundationDateEditor",
4121
+ "name": "foundationMultiselectEditor",
4029
4122
  "privacy": "public"
4030
4123
  }
4031
4124
  ],
4032
4125
  "exports": [
4033
4126
  {
4034
4127
  "kind": "js",
4035
- "name": "DateEditor",
4036
- "declaration": {
4037
- "name": "DateEditor",
4038
- "module": "src/cell-editors/date.editor.ts"
4039
- }
4040
- },
4041
- {
4042
- "kind": "js",
4043
- "name": "agDateEditorStyles",
4044
- "declaration": {
4045
- "name": "agDateEditorStyles",
4046
- "module": "src/cell-editors/date.editor.ts"
4047
- }
4048
- },
4049
- {
4050
- "kind": "js",
4051
- "name": "getDateEditorTemplate",
4052
- "declaration": {
4053
- "name": "getDateEditorTemplate",
4054
- "module": "src/cell-editors/date.editor.ts"
4055
- }
4056
- },
4057
- {
4058
- "kind": "js",
4059
- "name": "foundationDateEditor",
4060
- "declaration": {
4061
- "name": "foundationDateEditor",
4062
- "module": "src/cell-editors/date.editor.ts"
4063
- }
4064
- }
4065
- ]
4066
- },
4067
- {
4068
- "kind": "javascript-module",
4069
- "path": "src/cell-editors/index.ts",
4070
- "declarations": [],
4071
- "exports": [
4072
- {
4073
- "kind": "js",
4074
- "name": "*",
4075
- "declaration": {
4076
- "name": "*",
4077
- "package": "./date.editor"
4078
- }
4079
- },
4080
- {
4081
- "kind": "js",
4082
- "name": "*",
4128
+ "name": "MultiselectEditor",
4083
4129
  "declaration": {
4084
- "name": "*",
4085
- "package": "./multiselect.editor"
4130
+ "name": "MultiselectEditor",
4131
+ "module": "src/cell-editors/multiselect.editor.ts"
4086
4132
  }
4087
4133
  },
4088
4134
  {
4089
4135
  "kind": "js",
4090
- "name": "*",
4136
+ "name": "agMultiselectEditorStyles",
4091
4137
  "declaration": {
4092
- "name": "*",
4093
- "package": "./number.editor"
4138
+ "name": "agMultiselectEditorStyles",
4139
+ "module": "src/cell-editors/multiselect.editor.ts"
4094
4140
  }
4095
4141
  },
4096
4142
  {
4097
4143
  "kind": "js",
4098
- "name": "*",
4144
+ "name": "getMultiselectEditorTemplate",
4099
4145
  "declaration": {
4100
- "name": "*",
4101
- "package": "./select.editor"
4146
+ "name": "getMultiselectEditorTemplate",
4147
+ "module": "src/cell-editors/multiselect.editor.ts"
4102
4148
  }
4103
4149
  },
4104
4150
  {
4105
4151
  "kind": "js",
4106
- "name": "*",
4152
+ "name": "foundationMultiselectEditor",
4107
4153
  "declaration": {
4108
- "name": "*",
4109
- "package": "./string.editor"
4154
+ "name": "foundationMultiselectEditor",
4155
+ "module": "src/cell-editors/multiselect.editor.ts"
4110
4156
  }
4111
4157
  }
4112
4158
  ]
4113
4159
  },
4114
4160
  {
4115
4161
  "kind": "javascript-module",
4116
- "path": "src/cell-editors/multiselect.editor.ts",
4162
+ "path": "src/cell-editors/number.editor.ts",
4117
4163
  "declarations": [
4118
4164
  {
4119
4165
  "kind": "class",
4120
- "description": "The AG Multiselect Editor element.",
4121
- "name": "MultiselectEditor",
4166
+ "description": "The AG Number Editor element.",
4167
+ "name": "NumberEditor",
4122
4168
  "members": [
4123
4169
  {
4124
4170
  "kind": "field",
4125
4171
  "name": "params",
4126
4172
  "type": {
4127
- "text": "MultiselectEditorParams"
4173
+ "text": "NumberEditorParams"
4128
4174
  },
4129
4175
  "privacy": "public"
4130
4176
  },
4131
4177
  {
4132
4178
  "kind": "field",
4133
- "name": "selectedOptions",
4179
+ "name": "value",
4134
4180
  "type": {
4135
- "text": "any[]"
4181
+ "text": "number"
4182
+ },
4183
+ "privacy": "public"
4184
+ },
4185
+ {
4186
+ "kind": "field",
4187
+ "name": "actualWidth",
4188
+ "type": {
4189
+ "text": "number"
4190
+ },
4191
+ "privacy": "public"
4192
+ },
4193
+ {
4194
+ "kind": "field",
4195
+ "name": "input",
4196
+ "type": {
4197
+ "text": "any"
4136
4198
  },
4137
4199
  "privacy": "public"
4138
4200
  },
@@ -4144,7 +4206,7 @@
4144
4206
  {
4145
4207
  "name": "params",
4146
4208
  "type": {
4147
- "text": "MultiselectEditorParams"
4209
+ "text": "NumberEditorParams"
4148
4210
  }
4149
4211
  }
4150
4212
  ]
@@ -4159,16 +4221,6 @@
4159
4221
  }
4160
4222
  }
4161
4223
  },
4162
- {
4163
- "kind": "method",
4164
- "name": "destroy",
4165
- "privacy": "public",
4166
- "return": {
4167
- "type": {
4168
- "text": "void"
4169
- }
4170
- }
4171
- },
4172
4224
  {
4173
4225
  "kind": "method",
4174
4226
  "name": "refresh",
@@ -4182,7 +4234,7 @@
4182
4234
  {
4183
4235
  "name": "params",
4184
4236
  "type": {
4185
- "text": "MultiselectEditorParams"
4237
+ "text": "NumberEditorParams"
4186
4238
  }
4187
4239
  }
4188
4240
  ]
@@ -4200,6 +4252,10 @@
4200
4252
  }
4201
4253
  }
4202
4254
  },
4255
+ {
4256
+ "kind": "method",
4257
+ "name": "afterGuiAttached"
4258
+ },
4203
4259
  {
4204
4260
  "kind": "method",
4205
4261
  "name": "changeHandler",
@@ -4329,19 +4385,19 @@
4329
4385
  "name": "FoundationElement",
4330
4386
  "package": "@microsoft/fast-foundation"
4331
4387
  },
4332
- "tagName": "%%prefix%%-multiselect-editor",
4388
+ "tagName": "%%prefix%%-number-editor",
4333
4389
  "customElement": true
4334
4390
  },
4335
4391
  {
4336
4392
  "kind": "variable",
4337
- "name": "agMultiselectEditorStyles",
4338
- "default": "css``",
4339
- "description": "The AG Select Renderer Styles.",
4393
+ "name": "agNumberEditorStyles",
4394
+ "default": "css`\n :host {\n display: flex;\n }\n`",
4395
+ "description": "The AG Number Editor Styles.",
4340
4396
  "privacy": "public"
4341
4397
  },
4342
4398
  {
4343
4399
  "kind": "function",
4344
- "name": "getMultiselectEditorTemplate",
4400
+ "name": "getNumberEditorTemplate",
4345
4401
  "parameters": [
4346
4402
  {
4347
4403
  "name": "designSystem",
@@ -4359,59 +4415,59 @@
4359
4415
  },
4360
4416
  {
4361
4417
  "kind": "variable",
4362
- "name": "foundationMultiselectEditor",
4418
+ "name": "foundationNumberEditor",
4363
4419
  "privacy": "public"
4364
4420
  }
4365
4421
  ],
4366
4422
  "exports": [
4367
4423
  {
4368
4424
  "kind": "js",
4369
- "name": "MultiselectEditor",
4425
+ "name": "NumberEditor",
4370
4426
  "declaration": {
4371
- "name": "MultiselectEditor",
4372
- "module": "src/cell-editors/multiselect.editor.ts"
4427
+ "name": "NumberEditor",
4428
+ "module": "src/cell-editors/number.editor.ts"
4373
4429
  }
4374
4430
  },
4375
4431
  {
4376
4432
  "kind": "js",
4377
- "name": "agMultiselectEditorStyles",
4433
+ "name": "agNumberEditorStyles",
4378
4434
  "declaration": {
4379
- "name": "agMultiselectEditorStyles",
4380
- "module": "src/cell-editors/multiselect.editor.ts"
4435
+ "name": "agNumberEditorStyles",
4436
+ "module": "src/cell-editors/number.editor.ts"
4381
4437
  }
4382
4438
  },
4383
4439
  {
4384
4440
  "kind": "js",
4385
- "name": "getMultiselectEditorTemplate",
4441
+ "name": "getNumberEditorTemplate",
4386
4442
  "declaration": {
4387
- "name": "getMultiselectEditorTemplate",
4388
- "module": "src/cell-editors/multiselect.editor.ts"
4443
+ "name": "getNumberEditorTemplate",
4444
+ "module": "src/cell-editors/number.editor.ts"
4389
4445
  }
4390
4446
  },
4391
4447
  {
4392
4448
  "kind": "js",
4393
- "name": "foundationMultiselectEditor",
4449
+ "name": "foundationNumberEditor",
4394
4450
  "declaration": {
4395
- "name": "foundationMultiselectEditor",
4396
- "module": "src/cell-editors/multiselect.editor.ts"
4451
+ "name": "foundationNumberEditor",
4452
+ "module": "src/cell-editors/number.editor.ts"
4397
4453
  }
4398
4454
  }
4399
4455
  ]
4400
4456
  },
4401
4457
  {
4402
4458
  "kind": "javascript-module",
4403
- "path": "src/cell-editors/number.editor.ts",
4459
+ "path": "src/cell-editors/select.editor.ts",
4404
4460
  "declarations": [
4405
4461
  {
4406
4462
  "kind": "class",
4407
- "description": "The AG Number Editor element.",
4408
- "name": "NumberEditor",
4463
+ "description": "The AG Select Editor element.",
4464
+ "name": "SelectEditor",
4409
4465
  "members": [
4410
4466
  {
4411
4467
  "kind": "field",
4412
4468
  "name": "params",
4413
4469
  "type": {
4414
- "text": "NumberEditorParams"
4470
+ "text": "SelectEditorParams"
4415
4471
  },
4416
4472
  "privacy": "public"
4417
4473
  },
@@ -4419,7 +4475,7 @@
4419
4475
  "kind": "field",
4420
4476
  "name": "value",
4421
4477
  "type": {
4422
- "text": "number"
4478
+ "text": "string"
4423
4479
  },
4424
4480
  "privacy": "public"
4425
4481
  },
@@ -4433,7 +4489,7 @@
4433
4489
  },
4434
4490
  {
4435
4491
  "kind": "field",
4436
- "name": "input",
4492
+ "name": "combobox",
4437
4493
  "type": {
4438
4494
  "text": "any"
4439
4495
  },
@@ -4447,7 +4503,7 @@
4447
4503
  {
4448
4504
  "name": "params",
4449
4505
  "type": {
4450
- "text": "NumberEditorParams"
4506
+ "text": "SelectEditorParams"
4451
4507
  }
4452
4508
  }
4453
4509
  ]
@@ -4475,7 +4531,7 @@
4475
4531
  {
4476
4532
  "name": "params",
4477
4533
  "type": {
4478
- "text": "NumberEditorParams"
4534
+ "text": "SelectEditorParams"
4479
4535
  }
4480
4536
  }
4481
4537
  ]
@@ -4626,19 +4682,19 @@
4626
4682
  "name": "FoundationElement",
4627
4683
  "package": "@microsoft/fast-foundation"
4628
4684
  },
4629
- "tagName": "%%prefix%%-number-editor",
4685
+ "tagName": "%%prefix%%-select-editor",
4630
4686
  "customElement": true
4631
4687
  },
4632
4688
  {
4633
4689
  "kind": "variable",
4634
- "name": "agNumberEditorStyles",
4635
- "default": "css`\n :host {\n display: flex;\n }\n`",
4636
- "description": "The AG Number Editor Styles.",
4690
+ "name": "agSelectEditorStyles",
4691
+ "default": "css``",
4692
+ "description": "The AG Select Renderer Styles.",
4637
4693
  "privacy": "public"
4638
4694
  },
4639
4695
  {
4640
4696
  "kind": "function",
4641
- "name": "getNumberEditorTemplate",
4697
+ "name": "getSelectEditorTemplate",
4642
4698
  "parameters": [
4643
4699
  {
4644
4700
  "name": "designSystem",
@@ -4656,59 +4712,59 @@
4656
4712
  },
4657
4713
  {
4658
4714
  "kind": "variable",
4659
- "name": "foundationNumberEditor",
4715
+ "name": "foundationSelectEditor",
4660
4716
  "privacy": "public"
4661
4717
  }
4662
4718
  ],
4663
4719
  "exports": [
4664
4720
  {
4665
4721
  "kind": "js",
4666
- "name": "NumberEditor",
4722
+ "name": "SelectEditor",
4667
4723
  "declaration": {
4668
- "name": "NumberEditor",
4669
- "module": "src/cell-editors/number.editor.ts"
4724
+ "name": "SelectEditor",
4725
+ "module": "src/cell-editors/select.editor.ts"
4670
4726
  }
4671
4727
  },
4672
4728
  {
4673
4729
  "kind": "js",
4674
- "name": "agNumberEditorStyles",
4730
+ "name": "agSelectEditorStyles",
4675
4731
  "declaration": {
4676
- "name": "agNumberEditorStyles",
4677
- "module": "src/cell-editors/number.editor.ts"
4732
+ "name": "agSelectEditorStyles",
4733
+ "module": "src/cell-editors/select.editor.ts"
4678
4734
  }
4679
4735
  },
4680
4736
  {
4681
4737
  "kind": "js",
4682
- "name": "getNumberEditorTemplate",
4738
+ "name": "getSelectEditorTemplate",
4683
4739
  "declaration": {
4684
- "name": "getNumberEditorTemplate",
4685
- "module": "src/cell-editors/number.editor.ts"
4740
+ "name": "getSelectEditorTemplate",
4741
+ "module": "src/cell-editors/select.editor.ts"
4686
4742
  }
4687
4743
  },
4688
4744
  {
4689
4745
  "kind": "js",
4690
- "name": "foundationNumberEditor",
4746
+ "name": "foundationSelectEditor",
4691
4747
  "declaration": {
4692
- "name": "foundationNumberEditor",
4693
- "module": "src/cell-editors/number.editor.ts"
4748
+ "name": "foundationSelectEditor",
4749
+ "module": "src/cell-editors/select.editor.ts"
4694
4750
  }
4695
4751
  }
4696
4752
  ]
4697
4753
  },
4698
4754
  {
4699
4755
  "kind": "javascript-module",
4700
- "path": "src/cell-editors/select.editor.ts",
4756
+ "path": "src/cell-editors/string.editor.ts",
4701
4757
  "declarations": [
4702
4758
  {
4703
4759
  "kind": "class",
4704
- "description": "The AG Select Editor element.",
4705
- "name": "SelectEditor",
4760
+ "description": "The AG String Editor element.",
4761
+ "name": "StringEditor",
4706
4762
  "members": [
4707
4763
  {
4708
4764
  "kind": "field",
4709
4765
  "name": "params",
4710
4766
  "type": {
4711
- "text": "SelectEditorParams"
4767
+ "text": "StringEditorParams"
4712
4768
  },
4713
4769
  "privacy": "public"
4714
4770
  },
@@ -4730,7 +4786,7 @@
4730
4786
  },
4731
4787
  {
4732
4788
  "kind": "field",
4733
- "name": "combobox",
4789
+ "name": "input",
4734
4790
  "type": {
4735
4791
  "text": "any"
4736
4792
  },
@@ -4744,7 +4800,7 @@
4744
4800
  {
4745
4801
  "name": "params",
4746
4802
  "type": {
4747
- "text": "SelectEditorParams"
4803
+ "text": "StringEditorParams"
4748
4804
  }
4749
4805
  }
4750
4806
  ]
@@ -4772,7 +4828,7 @@
4772
4828
  {
4773
4829
  "name": "params",
4774
4830
  "type": {
4775
- "text": "SelectEditorParams"
4831
+ "text": "StringEditorParams"
4776
4832
  }
4777
4833
  }
4778
4834
  ]
@@ -4923,19 +4979,19 @@
4923
4979
  "name": "FoundationElement",
4924
4980
  "package": "@microsoft/fast-foundation"
4925
4981
  },
4926
- "tagName": "%%prefix%%-select-editor",
4982
+ "tagName": "%%prefix%%-string-editor",
4927
4983
  "customElement": true
4928
4984
  },
4929
4985
  {
4930
4986
  "kind": "variable",
4931
- "name": "agSelectEditorStyles",
4932
- "default": "css``",
4933
- "description": "The AG Select Renderer Styles.",
4987
+ "name": "agStringEditorStyles",
4988
+ "default": "css`\n :host {\n display: flex;\n }\n`",
4989
+ "description": "The AG String Renderer Styles.",
4934
4990
  "privacy": "public"
4935
4991
  },
4936
4992
  {
4937
4993
  "kind": "function",
4938
- "name": "getSelectEditorTemplate",
4994
+ "name": "getStringEditorTemplate",
4939
4995
  "parameters": [
4940
4996
  {
4941
4997
  "name": "designSystem",
@@ -4943,7 +4999,7 @@
4943
4999
  "description": "The design system prefix to use. Defaults to 'foundation'."
4944
5000
  }
4945
5001
  ],
4946
- "description": "Get a Design System prefixed Select template.",
5002
+ "description": "Get a Design System prefixed String template.",
4947
5003
  "return": {
4948
5004
  "type": {
4949
5005
  "text": ""
@@ -4953,83 +5009,98 @@
4953
5009
  },
4954
5010
  {
4955
5011
  "kind": "variable",
4956
- "name": "foundationSelectEditor",
5012
+ "name": "foundationStringEditor",
4957
5013
  "privacy": "public"
4958
5014
  }
4959
5015
  ],
4960
5016
  "exports": [
4961
5017
  {
4962
5018
  "kind": "js",
4963
- "name": "SelectEditor",
5019
+ "name": "StringEditor",
4964
5020
  "declaration": {
4965
- "name": "SelectEditor",
4966
- "module": "src/cell-editors/select.editor.ts"
5021
+ "name": "StringEditor",
5022
+ "module": "src/cell-editors/string.editor.ts"
4967
5023
  }
4968
5024
  },
4969
5025
  {
4970
5026
  "kind": "js",
4971
- "name": "agSelectEditorStyles",
5027
+ "name": "agStringEditorStyles",
4972
5028
  "declaration": {
4973
- "name": "agSelectEditorStyles",
4974
- "module": "src/cell-editors/select.editor.ts"
5029
+ "name": "agStringEditorStyles",
5030
+ "module": "src/cell-editors/string.editor.ts"
4975
5031
  }
4976
5032
  },
4977
5033
  {
4978
5034
  "kind": "js",
4979
- "name": "getSelectEditorTemplate",
5035
+ "name": "getStringEditorTemplate",
4980
5036
  "declaration": {
4981
- "name": "getSelectEditorTemplate",
4982
- "module": "src/cell-editors/select.editor.ts"
5037
+ "name": "getStringEditorTemplate",
5038
+ "module": "src/cell-editors/string.editor.ts"
4983
5039
  }
4984
5040
  },
4985
5041
  {
4986
5042
  "kind": "js",
4987
- "name": "foundationSelectEditor",
5043
+ "name": "foundationStringEditor",
4988
5044
  "declaration": {
4989
- "name": "foundationSelectEditor",
4990
- "module": "src/cell-editors/select.editor.ts"
5045
+ "name": "foundationStringEditor",
5046
+ "module": "src/cell-editors/string.editor.ts"
4991
5047
  }
4992
5048
  }
4993
5049
  ]
4994
5050
  },
4995
5051
  {
4996
5052
  "kind": "javascript-module",
4997
- "path": "src/cell-editors/string.editor.ts",
5053
+ "path": "src/cell/cell.template.ts",
5054
+ "declarations": [
5055
+ {
5056
+ "kind": "variable",
5057
+ "name": "CellTemplate",
5058
+ "default": "html<GridProCell>`\n <template>\n <slot ${slotted('slottedRenderer')} @slotchange=\"${(x) => x.slottedAgRendererChanged()}\"></slot>\n </template>\n`",
5059
+ "description": "The Grid Pro Cell Template.",
5060
+ "privacy": "public"
5061
+ }
5062
+ ],
5063
+ "exports": [
5064
+ {
5065
+ "kind": "js",
5066
+ "name": "CellTemplate",
5067
+ "declaration": {
5068
+ "name": "CellTemplate",
5069
+ "module": "src/cell/cell.template.ts"
5070
+ }
5071
+ }
5072
+ ]
5073
+ },
5074
+ {
5075
+ "kind": "javascript-module",
5076
+ "path": "src/cell/cell.ts",
4998
5077
  "declarations": [
4999
5078
  {
5000
5079
  "kind": "class",
5001
- "description": "The AG String Editor element.",
5002
- "name": "StringEditor",
5080
+ "description": "The Grid Pro Cell element.",
5081
+ "name": "GridProCell",
5003
5082
  "members": [
5004
5083
  {
5005
5084
  "kind": "field",
5006
- "name": "params",
5007
- "type": {
5008
- "text": "StringEditorParams"
5009
- },
5010
- "privacy": "public"
5011
- },
5012
- {
5013
- "kind": "field",
5014
- "name": "value",
5085
+ "name": "renderer",
5015
5086
  "type": {
5016
- "text": "string"
5087
+ "text": "ICellRendererFunc"
5017
5088
  },
5018
5089
  "privacy": "public"
5019
5090
  },
5020
5091
  {
5021
5092
  "kind": "field",
5022
- "name": "actualWidth",
5093
+ "name": "rendererParams",
5023
5094
  "type": {
5024
- "text": "number"
5095
+ "text": "ICellRendererParams"
5025
5096
  },
5026
5097
  "privacy": "public"
5027
5098
  },
5028
5099
  {
5029
5100
  "kind": "field",
5030
- "name": "input",
5101
+ "name": "slottedRenderer",
5031
5102
  "type": {
5032
- "text": "any"
5103
+ "text": "HTMLElement[]"
5033
5104
  },
5034
5105
  "privacy": "public"
5035
5106
  },
@@ -5041,7 +5112,7 @@
5041
5112
  {
5042
5113
  "name": "params",
5043
5114
  "type": {
5044
- "text": "StringEditorParams"
5115
+ "text": "ICellRendererParams"
5045
5116
  }
5046
5117
  }
5047
5118
  ]
@@ -5056,53 +5127,28 @@
5056
5127
  }
5057
5128
  }
5058
5129
  },
5130
+ {
5131
+ "kind": "method",
5132
+ "name": "destroy",
5133
+ "privacy": "public"
5134
+ },
5059
5135
  {
5060
5136
  "kind": "method",
5061
5137
  "name": "refresh",
5062
5138
  "privacy": "public",
5063
- "return": {
5064
- "type": {
5065
- "text": "boolean"
5066
- }
5067
- },
5068
5139
  "parameters": [
5069
5140
  {
5070
5141
  "name": "params",
5071
5142
  "type": {
5072
- "text": "StringEditorParams"
5143
+ "text": "ICellRendererParams"
5073
5144
  }
5074
5145
  }
5075
5146
  ]
5076
5147
  },
5077
5148
  {
5078
5149
  "kind": "method",
5079
- "name": "getValue"
5080
- },
5081
- {
5082
- "kind": "method",
5083
- "name": "isPopup",
5084
- "return": {
5085
- "type": {
5086
- "text": "boolean"
5087
- }
5088
- }
5089
- },
5090
- {
5091
- "kind": "method",
5092
- "name": "afterGuiAttached"
5093
- },
5094
- {
5095
- "kind": "method",
5096
- "name": "changeHandler",
5097
- "parameters": [
5098
- {
5099
- "name": "event"
5100
- }
5101
- ]
5102
- },
5103
- {
5104
- "kind": "method",
5105
- "name": "isCancelBeforeStart"
5150
+ "name": "slottedAgRendererChanged",
5151
+ "privacy": "public"
5106
5152
  },
5107
5153
  {
5108
5154
  "kind": "field",
@@ -5220,194 +5266,117 @@
5220
5266
  "name": "FoundationElement",
5221
5267
  "package": "@microsoft/fast-foundation"
5222
5268
  },
5223
- "tagName": "%%prefix%%-string-editor",
5269
+ "tagName": "grid-pro-cell",
5224
5270
  "customElement": true
5225
- },
5226
- {
5227
- "kind": "variable",
5228
- "name": "agStringEditorStyles",
5229
- "default": "css`\n :host {\n display: flex;\n }\n`",
5230
- "description": "The AG String Renderer Styles.",
5231
- "privacy": "public"
5232
- },
5233
- {
5234
- "kind": "function",
5235
- "name": "getStringEditorTemplate",
5236
- "parameters": [
5237
- {
5238
- "name": "designSystem",
5239
- "default": "'foundation'",
5240
- "description": "The design system prefix to use. Defaults to 'foundation'."
5241
- }
5242
- ],
5243
- "description": "Get a Design System prefixed String template.",
5244
- "return": {
5245
- "type": {
5246
- "text": ""
5247
- }
5248
- },
5249
- "privacy": "public"
5250
- },
5251
- {
5252
- "kind": "variable",
5253
- "name": "foundationStringEditor",
5254
- "privacy": "public"
5255
5271
  }
5256
5272
  ],
5257
5273
  "exports": [
5258
5274
  {
5259
5275
  "kind": "js",
5260
- "name": "StringEditor",
5261
- "declaration": {
5262
- "name": "StringEditor",
5263
- "module": "src/cell-editors/string.editor.ts"
5264
- }
5265
- },
5266
- {
5267
- "kind": "js",
5268
- "name": "agStringEditorStyles",
5269
- "declaration": {
5270
- "name": "agStringEditorStyles",
5271
- "module": "src/cell-editors/string.editor.ts"
5272
- }
5273
- },
5274
- {
5275
- "kind": "js",
5276
- "name": "getStringEditorTemplate",
5276
+ "name": "GridProCell",
5277
5277
  "declaration": {
5278
- "name": "getStringEditorTemplate",
5279
- "module": "src/cell-editors/string.editor.ts"
5278
+ "name": "GridProCell",
5279
+ "module": "src/cell/cell.ts"
5280
5280
  }
5281
5281
  },
5282
5282
  {
5283
- "kind": "js",
5284
- "name": "foundationStringEditor",
5283
+ "kind": "custom-element-definition",
5284
+ "name": "grid-pro-cell",
5285
5285
  "declaration": {
5286
- "name": "foundationStringEditor",
5287
- "module": "src/cell-editors/string.editor.ts"
5286
+ "name": "GridProCell",
5287
+ "module": "src/cell/cell.ts"
5288
5288
  }
5289
5289
  }
5290
5290
  ]
5291
5291
  },
5292
5292
  {
5293
5293
  "kind": "javascript-module",
5294
- "path": "src/column/column.template.ts",
5295
- "declarations": [
5296
- {
5297
- "kind": "variable",
5298
- "name": "ColumnTemplate",
5299
- "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
5300
- "description": "The Grid Pro Column Template.",
5301
- "privacy": "public"
5302
- }
5303
- ],
5294
+ "path": "src/cell/index.ts",
5295
+ "declarations": [],
5304
5296
  "exports": [
5305
5297
  {
5306
5298
  "kind": "js",
5307
- "name": "ColumnTemplate",
5299
+ "name": "*",
5308
5300
  "declaration": {
5309
- "name": "ColumnTemplate",
5310
- "module": "src/column/column.template.ts"
5301
+ "name": "*",
5302
+ "package": "./cell.template"
5303
+ }
5304
+ },
5305
+ {
5306
+ "kind": "js",
5307
+ "name": "*",
5308
+ "declaration": {
5309
+ "name": "*",
5310
+ "package": "./cell"
5311
5311
  }
5312
5312
  }
5313
5313
  ]
5314
5314
  },
5315
5315
  {
5316
5316
  "kind": "javascript-module",
5317
- "path": "src/column/column.ts",
5317
+ "path": "src/cell-renderers/action.renderer.ts",
5318
5318
  "declarations": [
5319
5319
  {
5320
5320
  "kind": "class",
5321
- "description": "The Grid Pro Column element.",
5322
- "name": "GridProColumn",
5321
+ "description": "The AG Action Renderer element.",
5322
+ "name": "ActionRenderer",
5323
5323
  "members": [
5324
5324
  {
5325
5325
  "kind": "field",
5326
- "name": "slottedAgCell",
5326
+ "name": "params",
5327
5327
  "type": {
5328
- "text": "HTMLElement[]"
5328
+ "text": "ICellRendererParams & ActionRendererParams"
5329
5329
  },
5330
5330
  "privacy": "public"
5331
5331
  },
5332
5332
  {
5333
5333
  "kind": "field",
5334
- "name": "definition",
5334
+ "name": "pendingAction",
5335
5335
  "type": {
5336
- "text": "ColDef"
5336
+ "text": "boolean"
5337
5337
  },
5338
- "default": "{}"
5339
- },
5340
- {
5341
- "kind": "method",
5342
- "name": "slottedAgCellChanged",
5343
5338
  "privacy": "public"
5344
5339
  },
5345
5340
  {
5346
5341
  "kind": "method",
5347
- "name": "deepClone",
5348
- "return": {
5349
- "type": {
5350
- "text": "Node"
5351
- }
5352
- },
5353
- "inheritedFrom": {
5354
- "name": "LifecycleMixin",
5355
- "module": "src/mixins/lifecycle/lifecycle.ts"
5356
- }
5357
- },
5358
- {
5359
- "kind": "method",
5360
- "name": "cloneNode",
5361
- "return": {
5362
- "type": {
5363
- "text": "Node"
5364
- }
5365
- },
5342
+ "name": "init",
5343
+ "privacy": "public",
5366
5344
  "parameters": [
5367
5345
  {
5368
- "name": "deep",
5369
- "optional": true,
5346
+ "name": "params",
5370
5347
  "type": {
5371
- "text": "boolean"
5348
+ "text": "ICellRendererParams & ActionRendererParams"
5372
5349
  }
5373
5350
  }
5374
- ],
5375
- "inheritedFrom": {
5376
- "name": "LifecycleMixin",
5377
- "module": "src/mixins/lifecycle/lifecycle.ts"
5378
- }
5351
+ ]
5379
5352
  },
5380
5353
  {
5381
- "kind": "field",
5382
- "name": "shouldRunDisconnect",
5354
+ "kind": "method",
5355
+ "name": "getGui",
5356
+ "privacy": "public",
5383
5357
  "return": {
5384
5358
  "type": {
5385
- "text": ""
5359
+ "text": "HTMLElement"
5386
5360
  }
5387
- },
5388
- "readonly": true,
5389
- "inheritedFrom": {
5390
- "name": "LifecycleMixin",
5391
- "module": "src/mixins/lifecycle/lifecycle.ts"
5392
5361
  }
5393
5362
  },
5394
5363
  {
5395
- "kind": "field",
5396
- "name": "shouldRunConnect",
5397
- "return": {
5398
- "type": {
5399
- "text": ""
5364
+ "kind": "method",
5365
+ "name": "refresh",
5366
+ "privacy": "public",
5367
+ "parameters": [
5368
+ {
5369
+ "name": "params",
5370
+ "type": {
5371
+ "text": "ICellRendererParams"
5372
+ }
5400
5373
  }
5401
- },
5402
- "readonly": true,
5403
- "inheritedFrom": {
5404
- "name": "LifecycleMixin",
5405
- "module": "src/mixins/lifecycle/lifecycle.ts"
5406
- }
5374
+ ]
5407
5375
  },
5408
5376
  {
5409
5377
  "kind": "method",
5410
- "name": "#_blockLifecycleDueToTokenChange",
5378
+ "name": "isDisabled",
5379
+ "privacy": "public",
5411
5380
  "return": {
5412
5381
  "type": {
5413
5382
  "text": "boolean"
@@ -5415,16 +5384,19 @@
5415
5384
  },
5416
5385
  "parameters": [
5417
5386
  {
5418
- "name": "lifecycleType",
5419
- "type": {
5420
- "text": "Lifecycletype"
5421
- }
5387
+ "name": "data"
5422
5388
  }
5423
- ],
5424
- "inheritedFrom": {
5425
- "name": "LifecycleMixin",
5426
- "module": "src/mixins/lifecycle/lifecycle.ts"
5427
- }
5389
+ ]
5390
+ },
5391
+ {
5392
+ "kind": "method",
5393
+ "name": "clickHandler",
5394
+ "privacy": "public"
5395
+ },
5396
+ {
5397
+ "kind": "field",
5398
+ "name": "dataTestId",
5399
+ "readonly": true
5428
5400
  },
5429
5401
  {
5430
5402
  "kind": "field",
@@ -5538,92 +5510,82 @@
5538
5510
  }
5539
5511
  }
5540
5512
  ],
5541
- "mixins": [
5542
- {
5543
- "name": "LifecycleMixin",
5544
- "package": "@genesislcap/foundation-utils"
5545
- }
5546
- ],
5547
5513
  "superclass": {
5548
5514
  "name": "FoundationElement",
5549
5515
  "package": "@microsoft/fast-foundation"
5550
5516
  },
5551
- "tagName": "grid-pro-column",
5517
+ "tagName": "%%prefix%%-grid-pro-action-renderer",
5552
5518
  "customElement": true
5519
+ },
5520
+ {
5521
+ "kind": "variable",
5522
+ "name": "actionHeightMultiplier",
5523
+ "description": "The base height multiplier for the action renderer.",
5524
+ "privacy": "public"
5525
+ },
5526
+ {
5527
+ "kind": "variable",
5528
+ "name": "agActionRendererStyles",
5529
+ "default": "css`\n .action-container {\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n }\n .action-renderer {\n align-self: center;\n color: var(--accent-foreground-rest);\n display: flex;\n height: calc(\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) *\n var(--action-height-multiplier)\n );\n }\n`",
5530
+ "description": "The AG Action Renderer Styles.",
5531
+ "privacy": "public"
5532
+ },
5533
+ {
5534
+ "kind": "variable",
5535
+ "name": "foundationGridProActionRenderer",
5536
+ "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5537
+ "privacy": "public"
5553
5538
  }
5554
5539
  ],
5555
5540
  "exports": [
5556
5541
  {
5557
5542
  "kind": "js",
5558
- "name": "GridProColumn",
5543
+ "name": "ActionRenderer",
5559
5544
  "declaration": {
5560
- "name": "GridProColumn",
5561
- "module": "src/column/column.ts"
5545
+ "name": "ActionRenderer",
5546
+ "module": "src/cell-renderers/action.renderer.ts"
5562
5547
  }
5563
5548
  },
5564
- {
5565
- "kind": "custom-element-definition",
5566
- "name": "grid-pro-column",
5567
- "declaration": {
5568
- "name": "GridProColumn",
5569
- "module": "src/column/column.ts"
5570
- }
5571
- }
5572
- ]
5573
- },
5574
- {
5575
- "kind": "javascript-module",
5576
- "path": "src/column/index.ts",
5577
- "declarations": [],
5578
- "exports": [
5579
5549
  {
5580
5550
  "kind": "js",
5581
- "name": "*",
5551
+ "name": "actionHeightMultiplier",
5582
5552
  "declaration": {
5583
- "name": "*",
5584
- "package": "./column.template"
5553
+ "name": "actionHeightMultiplier",
5554
+ "module": "src/cell-renderers/action.renderer.ts"
5585
5555
  }
5586
5556
  },
5587
5557
  {
5588
5558
  "kind": "js",
5589
- "name": "*",
5559
+ "name": "agActionRendererStyles",
5590
5560
  "declaration": {
5591
- "name": "*",
5592
- "package": "./column"
5561
+ "name": "agActionRendererStyles",
5562
+ "module": "src/cell-renderers/action.renderer.ts"
5593
5563
  }
5594
5564
  },
5595
5565
  {
5596
5566
  "kind": "js",
5597
- "name": "*",
5567
+ "name": "foundationGridProActionRenderer",
5598
5568
  "declaration": {
5599
- "name": "*",
5600
- "package": "./utils"
5569
+ "name": "foundationGridProActionRenderer",
5570
+ "module": "src/cell-renderers/action.renderer.ts"
5601
5571
  }
5602
5572
  }
5603
5573
  ]
5604
5574
  },
5605
5575
  {
5606
5576
  "kind": "javascript-module",
5607
- "path": "src/cell-renderers/action.renderer.ts",
5577
+ "path": "src/cell-renderers/actions-menu.renderer.ts",
5608
5578
  "declarations": [
5609
5579
  {
5610
5580
  "kind": "class",
5611
- "description": "The AG Action Renderer element.",
5612
- "name": "ActionRenderer",
5581
+ "description": "The Actions Menu Renderer element.",
5582
+ "name": "ActionsMenuRenderer",
5613
5583
  "members": [
5614
5584
  {
5615
5585
  "kind": "field",
5616
5586
  "name": "params",
5617
5587
  "type": {
5618
- "text": "ICellRendererParams & ActionRendererParams"
5619
- },
5620
- "privacy": "public"
5621
- },
5622
- {
5623
- "kind": "field",
5624
- "name": "pendingAction",
5625
- "type": {
5626
- "text": "boolean"
5588
+ "text": "ICellRendererParams"
5627
5589
  },
5628
5590
  "privacy": "public"
5629
5591
  },
@@ -5635,7 +5597,7 @@
5635
5597
  {
5636
5598
  "name": "params",
5637
5599
  "type": {
5638
- "text": "ICellRendererParams & ActionRendererParams"
5600
+ "text": "ICellRendererParams"
5639
5601
  }
5640
5602
  }
5641
5603
  ]
@@ -5663,31 +5625,6 @@
5663
5625
  }
5664
5626
  ]
5665
5627
  },
5666
- {
5667
- "kind": "method",
5668
- "name": "isDisabled",
5669
- "privacy": "public",
5670
- "return": {
5671
- "type": {
5672
- "text": "boolean"
5673
- }
5674
- },
5675
- "parameters": [
5676
- {
5677
- "name": "data"
5678
- }
5679
- ]
5680
- },
5681
- {
5682
- "kind": "method",
5683
- "name": "clickHandler",
5684
- "privacy": "public"
5685
- },
5686
- {
5687
- "kind": "field",
5688
- "name": "dataTestId",
5689
- "readonly": true
5690
- },
5691
5628
  {
5692
5629
  "kind": "field",
5693
5630
  "name": "_presentation",
@@ -5804,81 +5741,134 @@
5804
5741
  "name": "FoundationElement",
5805
5742
  "package": "@microsoft/fast-foundation"
5806
5743
  },
5807
- "tagName": "%%prefix%%-grid-pro-action-renderer",
5744
+ "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
5808
5745
  "customElement": true
5809
5746
  },
5810
5747
  {
5811
5748
  "kind": "variable",
5812
- "name": "actionHeightMultiplier",
5813
- "description": "The base height multiplier for the action renderer.",
5749
+ "name": "foundationGridProActionsMenuRenderer",
5750
+ "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
5814
5751
  "privacy": "public"
5815
5752
  },
5816
5753
  {
5817
- "kind": "variable",
5818
- "name": "agActionRendererStyles",
5819
- "default": "css`\n .action-container {\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n }\n .action-renderer {\n align-self: center;\n color: var(--accent-foreground-rest);\n display: flex;\n height: calc(\n (var(--base-height-multiplier) + var(--density)) * var(--design-unit) *\n var(--action-height-multiplier)\n );\n }\n`",
5820
- "description": "The AG Action Renderer Styles.",
5821
- "privacy": "public"
5822
- },
5823
- {
5824
- "kind": "variable",
5825
- "name": "foundationGridProActionRenderer",
5826
- "description": "A function that returns a Foundation Action Renderer for configuring the component with a DesignSystem.",
5754
+ "kind": "function",
5755
+ "name": "getActionsMenuDef",
5756
+ "return": {
5757
+ "type": {
5758
+ "text": ""
5759
+ }
5760
+ },
5761
+ "parameters": [
5762
+ {
5763
+ "name": "actions",
5764
+ "type": {
5765
+ "text": "ActionMenuItem[]"
5766
+ },
5767
+ "description": "Array of `ActionMenuItem` to be displayed in the menu."
5768
+ },
5769
+ {
5770
+ "name": "overrideDef",
5771
+ "default": "{}",
5772
+ "type": {
5773
+ "text": "ColDef"
5774
+ },
5775
+ "description": "Optional override for the ColDef. Will override any of the default values. Default is an empty object."
5776
+ },
5777
+ {
5778
+ "name": "customActionsOpenerName",
5779
+ "default": "'⋮'",
5780
+ "type": {
5781
+ "text": "string"
5782
+ },
5783
+ "description": "Optional custom name for the button that opens the menu. Default is '⋮'."
5784
+ },
5785
+ {
5786
+ "name": "isVertical",
5787
+ "default": "false",
5788
+ "type": {
5789
+ "text": "boolean"
5790
+ },
5791
+ "description": "Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight)."
5792
+ },
5793
+ {
5794
+ "name": "buttonAppearance",
5795
+ "optional": true,
5796
+ "type": {
5797
+ "text": "string"
5798
+ },
5799
+ "description": "Optional appearance for the button that opens the menu. Default is 'outline'."
5800
+ }
5801
+ ],
5802
+ "description": "Helper function to get ColDef https://www.ag-grid.com/javascript-data-grid/column-properties/ for Actions Menu Renderer.\nWill take the parameter values for a base ColDef and merge them with the overrideDef (if specified).",
5827
5803
  "privacy": "public"
5828
5804
  }
5829
5805
  ],
5830
5806
  "exports": [
5831
5807
  {
5832
5808
  "kind": "js",
5833
- "name": "ActionRenderer",
5834
- "declaration": {
5835
- "name": "ActionRenderer",
5836
- "module": "src/cell-renderers/action.renderer.ts"
5837
- }
5838
- },
5839
- {
5840
- "kind": "js",
5841
- "name": "actionHeightMultiplier",
5809
+ "name": "ActionsMenuRenderer",
5842
5810
  "declaration": {
5843
- "name": "actionHeightMultiplier",
5844
- "module": "src/cell-renderers/action.renderer.ts"
5811
+ "name": "ActionsMenuRenderer",
5812
+ "module": "src/cell-renderers/actions-menu.renderer.ts"
5845
5813
  }
5846
5814
  },
5847
5815
  {
5848
5816
  "kind": "js",
5849
- "name": "agActionRendererStyles",
5817
+ "name": "foundationGridProActionsMenuRenderer",
5850
5818
  "declaration": {
5851
- "name": "agActionRendererStyles",
5852
- "module": "src/cell-renderers/action.renderer.ts"
5819
+ "name": "foundationGridProActionsMenuRenderer",
5820
+ "module": "src/cell-renderers/actions-menu.renderer.ts"
5853
5821
  }
5854
5822
  },
5855
5823
  {
5856
5824
  "kind": "js",
5857
- "name": "foundationGridProActionRenderer",
5825
+ "name": "getActionsMenuDef",
5858
5826
  "declaration": {
5859
- "name": "foundationGridProActionRenderer",
5860
- "module": "src/cell-renderers/action.renderer.ts"
5827
+ "name": "getActionsMenuDef",
5828
+ "module": "src/cell-renderers/actions-menu.renderer.ts"
5861
5829
  }
5862
5830
  }
5863
5831
  ]
5864
5832
  },
5865
5833
  {
5866
5834
  "kind": "javascript-module",
5867
- "path": "src/cell-renderers/actions-menu.renderer.ts",
5835
+ "path": "src/cell-renderers/boolean.renderer.ts",
5868
5836
  "declarations": [
5869
5837
  {
5870
5838
  "kind": "class",
5871
- "description": "The Actions Menu Renderer element.",
5872
- "name": "ActionsMenuRenderer",
5839
+ "description": "The AG Boolean Renderer element.",
5840
+ "name": "BooleanRenderer",
5873
5841
  "members": [
5874
5842
  {
5875
5843
  "kind": "field",
5876
5844
  "name": "params",
5877
5845
  "type": {
5878
- "text": "ICellRendererParams"
5846
+ "text": "ICellRendererParams & BooleanRendererParams"
5879
5847
  },
5880
5848
  "privacy": "public"
5881
5849
  },
5850
+ {
5851
+ "kind": "field",
5852
+ "name": "selected",
5853
+ "type": {
5854
+ "text": "boolean"
5855
+ }
5856
+ },
5857
+ {
5858
+ "kind": "method",
5859
+ "name": "isDisabled",
5860
+ "privacy": "public",
5861
+ "return": {
5862
+ "type": {
5863
+ "text": "boolean"
5864
+ }
5865
+ },
5866
+ "parameters": [
5867
+ {
5868
+ "name": "data"
5869
+ }
5870
+ ]
5871
+ },
5882
5872
  {
5883
5873
  "kind": "method",
5884
5874
  "name": "init",
@@ -5902,6 +5892,11 @@
5902
5892
  }
5903
5893
  }
5904
5894
  },
5895
+ {
5896
+ "kind": "method",
5897
+ "name": "destroy",
5898
+ "privacy": "public"
5899
+ },
5905
5900
  {
5906
5901
  "kind": "method",
5907
5902
  "name": "refresh",
@@ -5915,6 +5910,14 @@
5915
5910
  }
5916
5911
  ]
5917
5912
  },
5913
+ {
5914
+ "kind": "method",
5915
+ "name": "getValue"
5916
+ },
5917
+ {
5918
+ "kind": "method",
5919
+ "name": "isCancelBeforeStart"
5920
+ },
5918
5921
  {
5919
5922
  "kind": "field",
5920
5923
  "name": "_presentation",
@@ -6031,134 +6034,92 @@
6031
6034
  "name": "FoundationElement",
6032
6035
  "package": "@microsoft/fast-foundation"
6033
6036
  },
6034
- "tagName": "%%prefix%%-grid-pro-actions-menu-renderer",
6037
+ "tagName": "%%prefix%%-boolean-renderer",
6035
6038
  "customElement": true
6036
6039
  },
6037
6040
  {
6038
6041
  "kind": "variable",
6039
- "name": "foundationGridProActionsMenuRenderer",
6040
- "description": "A function that returns a Foundation Actions Menu for configuring the component with a DesignSystem.",
6042
+ "name": "agBooleanRendererStyles",
6043
+ "default": "css`\n :host {\n align-center: center;\n display: flex;\n height: 100%;\n }\n`",
6044
+ "description": "The AG Boolean Renderer Styles.",
6041
6045
  "privacy": "public"
6042
6046
  },
6043
6047
  {
6044
6048
  "kind": "function",
6045
- "name": "getActionsMenuDef",
6049
+ "name": "getAgBooleanRendererTemplate",
6050
+ "parameters": [
6051
+ {
6052
+ "name": "designSystem",
6053
+ "default": "'foundation'",
6054
+ "description": "The design system prefix to use. Defaults to 'foundation'."
6055
+ }
6056
+ ],
6057
+ "description": "Get a Design System prefixed Checkbox template.",
6046
6058
  "return": {
6047
6059
  "type": {
6048
6060
  "text": ""
6049
6061
  }
6050
6062
  },
6051
- "parameters": [
6052
- {
6053
- "name": "actions",
6054
- "type": {
6055
- "text": "ActionMenuItem[]"
6056
- },
6057
- "description": "Array of `ActionMenuItem` to be displayed in the menu."
6058
- },
6059
- {
6060
- "name": "overrideDef",
6061
- "default": "{}",
6062
- "type": {
6063
- "text": "ColDef"
6064
- },
6065
- "description": "Optional override for the ColDef. Will override any of the default values. Default is an empty object."
6066
- },
6067
- {
6068
- "name": "customActionsOpenerName",
6069
- "default": "'⋮'",
6070
- "type": {
6071
- "text": "string"
6072
- },
6073
- "description": "Optional custom name for the button that opens the menu. Default is '⋮'."
6074
- },
6075
- {
6076
- "name": "isVertical",
6077
- "default": "false",
6078
- "type": {
6079
- "text": "boolean"
6080
- },
6081
- "description": "Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight)."
6082
- },
6083
- {
6084
- "name": "buttonAppearance",
6085
- "optional": true,
6086
- "type": {
6087
- "text": "string"
6088
- },
6089
- "description": "Optional appearance for the button that opens the menu. Default is 'outline'."
6090
- }
6091
- ],
6092
- "description": "Helper function to get ColDef https://www.ag-grid.com/javascript-data-grid/column-properties/ for Actions Menu Renderer.\nWill take the parameter values for a base ColDef and merge them with the overrideDef (if specified).",
6063
+ "privacy": "public"
6064
+ },
6065
+ {
6066
+ "kind": "variable",
6067
+ "name": "foundationAgBooleanRenderer",
6068
+ "description": "A function that returns a Foundation Boolean Renderer registration for configuring the component with a DesignSystem.",
6093
6069
  "privacy": "public"
6094
6070
  }
6095
6071
  ],
6096
6072
  "exports": [
6097
6073
  {
6098
6074
  "kind": "js",
6099
- "name": "ActionsMenuRenderer",
6075
+ "name": "BooleanRenderer",
6100
6076
  "declaration": {
6101
- "name": "ActionsMenuRenderer",
6102
- "module": "src/cell-renderers/actions-menu.renderer.ts"
6077
+ "name": "BooleanRenderer",
6078
+ "module": "src/cell-renderers/boolean.renderer.ts"
6103
6079
  }
6104
6080
  },
6105
6081
  {
6106
6082
  "kind": "js",
6107
- "name": "foundationGridProActionsMenuRenderer",
6083
+ "name": "agBooleanRendererStyles",
6108
6084
  "declaration": {
6109
- "name": "foundationGridProActionsMenuRenderer",
6110
- "module": "src/cell-renderers/actions-menu.renderer.ts"
6085
+ "name": "agBooleanRendererStyles",
6086
+ "module": "src/cell-renderers/boolean.renderer.ts"
6111
6087
  }
6112
6088
  },
6113
6089
  {
6114
6090
  "kind": "js",
6115
- "name": "getActionsMenuDef",
6091
+ "name": "getAgBooleanRendererTemplate",
6116
6092
  "declaration": {
6117
- "name": "getActionsMenuDef",
6118
- "module": "src/cell-renderers/actions-menu.renderer.ts"
6093
+ "name": "getAgBooleanRendererTemplate",
6094
+ "module": "src/cell-renderers/boolean.renderer.ts"
6095
+ }
6096
+ },
6097
+ {
6098
+ "kind": "js",
6099
+ "name": "foundationAgBooleanRenderer",
6100
+ "declaration": {
6101
+ "name": "foundationAgBooleanRenderer",
6102
+ "module": "src/cell-renderers/boolean.renderer.ts"
6119
6103
  }
6120
6104
  }
6121
6105
  ]
6122
6106
  },
6123
6107
  {
6124
6108
  "kind": "javascript-module",
6125
- "path": "src/cell-renderers/boolean.renderer.ts",
6109
+ "path": "src/cell-renderers/editable.renderer.ts",
6126
6110
  "declarations": [
6127
6111
  {
6128
6112
  "kind": "class",
6129
- "description": "The AG Boolean Renderer element.",
6130
- "name": "BooleanRenderer",
6113
+ "description": "The AG Editable Renderer element.",
6114
+ "name": "EditableRenderer",
6131
6115
  "members": [
6132
6116
  {
6133
6117
  "kind": "field",
6134
- "name": "params",
6135
- "type": {
6136
- "text": "ICellRendererParams & BooleanRendererParams"
6137
- },
6138
- "privacy": "public"
6139
- },
6140
- {
6141
- "kind": "field",
6142
- "name": "selected",
6118
+ "name": "valueFormatted",
6143
6119
  "type": {
6144
- "text": "boolean"
6120
+ "text": "string"
6145
6121
  }
6146
6122
  },
6147
- {
6148
- "kind": "method",
6149
- "name": "isDisabled",
6150
- "privacy": "public",
6151
- "return": {
6152
- "type": {
6153
- "text": "boolean"
6154
- }
6155
- },
6156
- "parameters": [
6157
- {
6158
- "name": "data"
6159
- }
6160
- ]
6161
- },
6162
6123
  {
6163
6124
  "kind": "method",
6164
6125
  "name": "init",
@@ -6182,11 +6143,6 @@
6182
6143
  }
6183
6144
  }
6184
6145
  },
6185
- {
6186
- "kind": "method",
6187
- "name": "destroy",
6188
- "privacy": "public"
6189
- },
6190
6146
  {
6191
6147
  "kind": "method",
6192
6148
  "name": "refresh",
@@ -6200,14 +6156,6 @@
6200
6156
  }
6201
6157
  ]
6202
6158
  },
6203
- {
6204
- "kind": "method",
6205
- "name": "getValue"
6206
- },
6207
- {
6208
- "kind": "method",
6209
- "name": "isCancelBeforeStart"
6210
- },
6211
6159
  {
6212
6160
  "kind": "field",
6213
6161
  "name": "_presentation",
@@ -6324,19 +6272,19 @@
6324
6272
  "name": "FoundationElement",
6325
6273
  "package": "@microsoft/fast-foundation"
6326
6274
  },
6327
- "tagName": "%%prefix%%-boolean-renderer",
6275
+ "tagName": "%%prefix%%-editable-renderer",
6328
6276
  "customElement": true
6329
6277
  },
6330
6278
  {
6331
6279
  "kind": "variable",
6332
- "name": "agBooleanRendererStyles",
6333
- "default": "css`\n :host {\n align-center: center;\n display: flex;\n height: 100%;\n }\n`",
6334
- "description": "The AG Boolean Renderer Styles.",
6280
+ "name": "agEditableRendererStyles",
6281
+ "default": "css`\n :host {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`",
6282
+ "description": "The AG Editable Renderer Styles.",
6335
6283
  "privacy": "public"
6336
6284
  },
6337
6285
  {
6338
6286
  "kind": "function",
6339
- "name": "getAgBooleanRendererTemplate",
6287
+ "name": "getAgEditableRendererTemplate",
6340
6288
  "parameters": [
6341
6289
  {
6342
6290
  "name": "designSystem",
@@ -6354,287 +6302,49 @@
6354
6302
  },
6355
6303
  {
6356
6304
  "kind": "variable",
6357
- "name": "foundationAgBooleanRenderer",
6358
- "description": "A function that returns a Foundation Boolean Renderer registration for configuring the component with a DesignSystem.",
6305
+ "name": "foundationAgEditableRenderer",
6306
+ "description": "A function that returns a Foundation Editable Renderer registration for configuring the component with a DesignSystem.",
6359
6307
  "privacy": "public"
6360
6308
  }
6361
6309
  ],
6362
6310
  "exports": [
6363
6311
  {
6364
6312
  "kind": "js",
6365
- "name": "BooleanRenderer",
6313
+ "name": "EditableRenderer",
6366
6314
  "declaration": {
6367
- "name": "BooleanRenderer",
6368
- "module": "src/cell-renderers/boolean.renderer.ts"
6315
+ "name": "EditableRenderer",
6316
+ "module": "src/cell-renderers/editable.renderer.ts"
6369
6317
  }
6370
6318
  },
6371
6319
  {
6372
6320
  "kind": "js",
6373
- "name": "agBooleanRendererStyles",
6321
+ "name": "agEditableRendererStyles",
6374
6322
  "declaration": {
6375
- "name": "agBooleanRendererStyles",
6376
- "module": "src/cell-renderers/boolean.renderer.ts"
6323
+ "name": "agEditableRendererStyles",
6324
+ "module": "src/cell-renderers/editable.renderer.ts"
6377
6325
  }
6378
6326
  },
6379
6327
  {
6380
6328
  "kind": "js",
6381
- "name": "getAgBooleanRendererTemplate",
6329
+ "name": "getAgEditableRendererTemplate",
6382
6330
  "declaration": {
6383
- "name": "getAgBooleanRendererTemplate",
6384
- "module": "src/cell-renderers/boolean.renderer.ts"
6331
+ "name": "getAgEditableRendererTemplate",
6332
+ "module": "src/cell-renderers/editable.renderer.ts"
6385
6333
  }
6386
6334
  },
6387
6335
  {
6388
6336
  "kind": "js",
6389
- "name": "foundationAgBooleanRenderer",
6337
+ "name": "foundationAgEditableRenderer",
6390
6338
  "declaration": {
6391
- "name": "foundationAgBooleanRenderer",
6392
- "module": "src/cell-renderers/boolean.renderer.ts"
6339
+ "name": "foundationAgEditableRenderer",
6340
+ "module": "src/cell-renderers/editable.renderer.ts"
6393
6341
  }
6394
6342
  }
6395
6343
  ]
6396
6344
  },
6397
6345
  {
6398
6346
  "kind": "javascript-module",
6399
- "path": "src/cell-renderers/editable.renderer.ts",
6400
- "declarations": [
6401
- {
6402
- "kind": "class",
6403
- "description": "The AG Editable Renderer element.",
6404
- "name": "EditableRenderer",
6405
- "members": [
6406
- {
6407
- "kind": "field",
6408
- "name": "valueFormatted",
6409
- "type": {
6410
- "text": "string"
6411
- }
6412
- },
6413
- {
6414
- "kind": "method",
6415
- "name": "init",
6416
- "privacy": "public",
6417
- "parameters": [
6418
- {
6419
- "name": "params",
6420
- "type": {
6421
- "text": "ICellRendererParams"
6422
- }
6423
- }
6424
- ]
6425
- },
6426
- {
6427
- "kind": "method",
6428
- "name": "getGui",
6429
- "privacy": "public",
6430
- "return": {
6431
- "type": {
6432
- "text": "HTMLElement"
6433
- }
6434
- }
6435
- },
6436
- {
6437
- "kind": "method",
6438
- "name": "refresh",
6439
- "privacy": "public",
6440
- "parameters": [
6441
- {
6442
- "name": "params",
6443
- "type": {
6444
- "text": "ICellRendererParams"
6445
- }
6446
- }
6447
- ]
6448
- },
6449
- {
6450
- "kind": "field",
6451
- "name": "_presentation",
6452
- "type": {
6453
- "text": "ComponentPresentation | null | undefined"
6454
- },
6455
- "privacy": "private",
6456
- "default": "void 0",
6457
- "inheritedFrom": {
6458
- "name": "FoundationElement",
6459
- "module": "src/foundation-element/foundation-element.ts"
6460
- }
6461
- },
6462
- {
6463
- "kind": "field",
6464
- "name": "$presentation",
6465
- "type": {
6466
- "text": "ComponentPresentation | null"
6467
- },
6468
- "privacy": "public",
6469
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
6470
- "inheritedFrom": {
6471
- "name": "FoundationElement",
6472
- "module": "src/foundation-element/foundation-element.ts"
6473
- }
6474
- },
6475
- {
6476
- "kind": "field",
6477
- "name": "template",
6478
- "type": {
6479
- "text": "ElementViewTemplate | void | null"
6480
- },
6481
- "privacy": "public",
6482
- "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.",
6483
- "inheritedFrom": {
6484
- "name": "FoundationElement",
6485
- "module": "src/foundation-element/foundation-element.ts"
6486
- }
6487
- },
6488
- {
6489
- "kind": "method",
6490
- "name": "templateChanged",
6491
- "privacy": "protected",
6492
- "return": {
6493
- "type": {
6494
- "text": "void"
6495
- }
6496
- },
6497
- "inheritedFrom": {
6498
- "name": "FoundationElement",
6499
- "module": "src/foundation-element/foundation-element.ts"
6500
- }
6501
- },
6502
- {
6503
- "kind": "field",
6504
- "name": "styles",
6505
- "type": {
6506
- "text": "ElementStyles | void | null"
6507
- },
6508
- "privacy": "public",
6509
- "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.",
6510
- "inheritedFrom": {
6511
- "name": "FoundationElement",
6512
- "module": "src/foundation-element/foundation-element.ts"
6513
- }
6514
- },
6515
- {
6516
- "kind": "method",
6517
- "name": "stylesChanged",
6518
- "privacy": "protected",
6519
- "return": {
6520
- "type": {
6521
- "text": "void"
6522
- }
6523
- },
6524
- "inheritedFrom": {
6525
- "name": "FoundationElement",
6526
- "module": "src/foundation-element/foundation-element.ts"
6527
- }
6528
- },
6529
- {
6530
- "kind": "method",
6531
- "name": "compose",
6532
- "privacy": "public",
6533
- "static": true,
6534
- "return": {
6535
- "type": {
6536
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
6537
- }
6538
- },
6539
- "parameters": [
6540
- {
6541
- "name": "this",
6542
- "type": {
6543
- "text": "K"
6544
- }
6545
- },
6546
- {
6547
- "name": "elementDefinition",
6548
- "type": {
6549
- "text": "T"
6550
- },
6551
- "description": "The definition of the element to create the registry\nfunction for."
6552
- }
6553
- ],
6554
- "description": "Defines an element registry function with a set of element definition defaults.",
6555
- "inheritedFrom": {
6556
- "name": "FoundationElement",
6557
- "module": "src/foundation-element/foundation-element.ts"
6558
- }
6559
- }
6560
- ],
6561
- "superclass": {
6562
- "name": "FoundationElement",
6563
- "package": "@microsoft/fast-foundation"
6564
- },
6565
- "tagName": "%%prefix%%-editable-renderer",
6566
- "customElement": true
6567
- },
6568
- {
6569
- "kind": "variable",
6570
- "name": "agEditableRendererStyles",
6571
- "default": "css`\n :host {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n`",
6572
- "description": "The AG Editable Renderer Styles.",
6573
- "privacy": "public"
6574
- },
6575
- {
6576
- "kind": "function",
6577
- "name": "getAgEditableRendererTemplate",
6578
- "parameters": [
6579
- {
6580
- "name": "designSystem",
6581
- "default": "'foundation'",
6582
- "description": "The design system prefix to use. Defaults to 'foundation'."
6583
- }
6584
- ],
6585
- "description": "Get a Design System prefixed Checkbox template.",
6586
- "return": {
6587
- "type": {
6588
- "text": ""
6589
- }
6590
- },
6591
- "privacy": "public"
6592
- },
6593
- {
6594
- "kind": "variable",
6595
- "name": "foundationAgEditableRenderer",
6596
- "description": "A function that returns a Foundation Editable Renderer registration for configuring the component with a DesignSystem.",
6597
- "privacy": "public"
6598
- }
6599
- ],
6600
- "exports": [
6601
- {
6602
- "kind": "js",
6603
- "name": "EditableRenderer",
6604
- "declaration": {
6605
- "name": "EditableRenderer",
6606
- "module": "src/cell-renderers/editable.renderer.ts"
6607
- }
6608
- },
6609
- {
6610
- "kind": "js",
6611
- "name": "agEditableRendererStyles",
6612
- "declaration": {
6613
- "name": "agEditableRendererStyles",
6614
- "module": "src/cell-renderers/editable.renderer.ts"
6615
- }
6616
- },
6617
- {
6618
- "kind": "js",
6619
- "name": "getAgEditableRendererTemplate",
6620
- "declaration": {
6621
- "name": "getAgEditableRendererTemplate",
6622
- "module": "src/cell-renderers/editable.renderer.ts"
6623
- }
6624
- },
6625
- {
6626
- "kind": "js",
6627
- "name": "foundationAgEditableRenderer",
6628
- "declaration": {
6629
- "name": "foundationAgEditableRenderer",
6630
- "module": "src/cell-renderers/editable.renderer.ts"
6631
- }
6632
- }
6633
- ]
6634
- },
6635
- {
6636
- "kind": "javascript-module",
6637
- "path": "src/cell-renderers/icon.renderer.ts",
6347
+ "path": "src/cell-renderers/icon.renderer.ts",
6638
6348
  "declarations": [
6639
6349
  {
6640
6350
  "kind": "variable",
@@ -8083,309 +7793,622 @@
8083
7793
  },
8084
7794
  {
8085
7795
  "kind": "javascript-module",
8086
- "path": "src/datasource/base.datasource.ts",
7796
+ "path": "src/column/column.template.ts",
8087
7797
  "declarations": [
8088
7798
  {
8089
7799
  "kind": "variable",
8090
- "name": "criteriaDelimiter",
8091
- "type": {
8092
- "text": "string"
8093
- },
8094
- "default": "';'",
8095
- "description": "The delimiter for the criteria string.",
7800
+ "name": "ColumnTemplate",
7801
+ "default": "html<GridProColumn>`\n <template>\n <slot ${slotted('slottedAgCell')} @slotchange=\"${(x) => x.slottedAgCellChanged()}\"></slot>\n </template>\n`",
7802
+ "description": "The Grid Pro Column Template.",
8096
7803
  "privacy": "public"
8097
- },
7804
+ }
7805
+ ],
7806
+ "exports": [
8098
7807
  {
8099
- "kind": "variable",
8100
- "name": "criteriaJoin",
8101
- "type": {
8102
- "text": "string"
8103
- },
8104
- "default": "' && '",
8105
- "description": "The join for the criteria string.",
8106
- "privacy": "public"
8107
- },
7808
+ "kind": "js",
7809
+ "name": "ColumnTemplate",
7810
+ "declaration": {
7811
+ "name": "ColumnTemplate",
7812
+ "module": "src/column/column.template.ts"
7813
+ }
7814
+ }
7815
+ ]
7816
+ },
7817
+ {
7818
+ "kind": "javascript-module",
7819
+ "path": "src/column/column.ts",
7820
+ "declarations": [
8108
7821
  {
8109
7822
  "kind": "class",
8110
- "description": "The base datasource element for the grid-pro element.",
8111
- "name": "GenesisGridDatasourceElement",
7823
+ "description": "The Grid Pro Column element.",
7824
+ "name": "GridProColumn",
8112
7825
  "members": [
8113
7826
  {
8114
7827
  "kind": "field",
8115
- "name": "connect",
8116
- "type": {
8117
- "text": "Connect"
8118
- }
8119
- },
8120
- {
8121
- "kind": "field",
8122
- "name": "datasource",
8123
- "type": {
8124
- "text": "Datasource"
8125
- }
8126
- },
8127
- {
8128
- "kind": "field",
8129
- "name": "deferredGridOptions",
8130
- "type": {
8131
- "text": "GridOptions"
8132
- }
8133
- },
8134
- {
8135
- "kind": "field",
8136
- "name": "deferredColumnStates",
8137
- "type": {
8138
- "text": "ColumnState[]"
8139
- }
8140
- },
8141
- {
8142
- "kind": "field",
8143
- "name": "rowDataMapper",
7828
+ "name": "slottedAgCell",
8144
7829
  "type": {
8145
- "text": "Function"
7830
+ "text": "HTMLElement[]"
8146
7831
  },
8147
- "description": "Allows grid data updates to be processed via and external function before applying in grid"
7832
+ "privacy": "public"
8148
7833
  },
8149
7834
  {
8150
7835
  "kind": "field",
8151
- "name": "criteria",
7836
+ "name": "definition",
8152
7837
  "type": {
8153
- "text": "string"
7838
+ "text": "ColDef"
8154
7839
  },
8155
- "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
7840
+ "default": "{}"
8156
7841
  },
8157
7842
  {
8158
- "kind": "field",
8159
- "name": "isSnapshot",
8160
- "type": {
8161
- "text": "boolean"
8162
- },
8163
- "default": "false",
8164
- "description": "Request a snapshot from the server."
7843
+ "kind": "method",
7844
+ "name": "slottedAgCellChanged",
7845
+ "privacy": "public"
8165
7846
  },
8166
7847
  {
8167
- "kind": "field",
8168
- "name": "maxRows",
8169
- "type": {
8170
- "text": "number"
7848
+ "kind": "method",
7849
+ "name": "deepClone",
7850
+ "return": {
7851
+ "type": {
7852
+ "text": "Node"
7853
+ }
8171
7854
  },
8172
- "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
7855
+ "inheritedFrom": {
7856
+ "name": "LifecycleMixin",
7857
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7858
+ }
8173
7859
  },
8174
7860
  {
8175
- "kind": "field",
8176
- "name": "orderBy",
8177
- "type": {
8178
- "text": "string"
7861
+ "kind": "method",
7862
+ "name": "cloneNode",
7863
+ "return": {
7864
+ "type": {
7865
+ "text": "Node"
7866
+ }
8179
7867
  },
8180
- "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."
7868
+ "parameters": [
7869
+ {
7870
+ "name": "deep",
7871
+ "optional": true,
7872
+ "type": {
7873
+ "text": "boolean"
7874
+ }
7875
+ }
7876
+ ],
7877
+ "inheritedFrom": {
7878
+ "name": "LifecycleMixin",
7879
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7880
+ }
8181
7881
  },
8182
7882
  {
8183
7883
  "kind": "field",
8184
- "name": "resourceName",
8185
- "type": {
8186
- "text": "string"
7884
+ "name": "shouldRunDisconnect",
7885
+ "return": {
7886
+ "type": {
7887
+ "text": ""
7888
+ }
8187
7889
  },
8188
- "description": "The name of the target Data Server query or Request Server requestReply."
7890
+ "readonly": true,
7891
+ "inheritedFrom": {
7892
+ "name": "LifecycleMixin",
7893
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7894
+ }
8189
7895
  },
8190
7896
  {
8191
7897
  "kind": "field",
8192
- "name": "viewNumber",
8193
- "type": {
8194
- "text": "number"
7898
+ "name": "shouldRunConnect",
7899
+ "return": {
7900
+ "type": {
7901
+ "text": ""
7902
+ }
8195
7903
  },
8196
- "description": "The desired view/page you want data from."
7904
+ "readonly": true,
7905
+ "inheritedFrom": {
7906
+ "name": "LifecycleMixin",
7907
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7908
+ }
8197
7909
  },
8198
7910
  {
8199
- "kind": "field",
8200
- "name": "fields",
8201
- "type": {
8202
- "text": "string"
7911
+ "kind": "method",
7912
+ "name": "#_blockLifecycleDueToTokenChange",
7913
+ "return": {
7914
+ "type": {
7915
+ "text": "boolean"
7916
+ }
8203
7917
  },
8204
- "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."
7918
+ "parameters": [
7919
+ {
7920
+ "name": "lifecycleType",
7921
+ "type": {
7922
+ "text": "Lifecycletype"
7923
+ }
7924
+ }
7925
+ ],
7926
+ "inheritedFrom": {
7927
+ "name": "LifecycleMixin",
7928
+ "module": "src/mixins/lifecycle/lifecycle.ts"
7929
+ }
8205
7930
  },
8206
7931
  {
8207
7932
  "kind": "field",
8208
- "name": "maxView",
7933
+ "name": "_presentation",
8209
7934
  "type": {
8210
- "text": "number"
7935
+ "text": "ComponentPresentation | null | undefined"
8211
7936
  },
8212
- "description": "Maximum number of rows to track as part of a client \"view\"."
7937
+ "privacy": "private",
7938
+ "default": "void 0",
7939
+ "inheritedFrom": {
7940
+ "name": "FoundationElement",
7941
+ "module": "src/foundation-element/foundation-element.ts"
7942
+ }
8213
7943
  },
8214
7944
  {
8215
7945
  "kind": "field",
8216
- "name": "movingView",
7946
+ "name": "$presentation",
8217
7947
  "type": {
8218
- "text": "boolean"
7948
+ "text": "ComponentPresentation | null"
8219
7949
  },
8220
- "default": "false",
8221
- "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."
7950
+ "privacy": "public",
7951
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
7952
+ "inheritedFrom": {
7953
+ "name": "FoundationElement",
7954
+ "module": "src/foundation-element/foundation-element.ts"
7955
+ }
8222
7956
  },
8223
7957
  {
8224
7958
  "kind": "field",
8225
- "name": "reverse",
7959
+ "name": "template",
8226
7960
  "type": {
8227
- "text": "boolean"
7961
+ "text": "ElementViewTemplate | void | null"
8228
7962
  },
8229
- "default": "false",
8230
- "description": "Option that changes the Data Server index iteration."
7963
+ "privacy": "public",
7964
+ "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.",
7965
+ "inheritedFrom": {
7966
+ "name": "FoundationElement",
7967
+ "module": "src/foundation-element/foundation-element.ts"
7968
+ }
8231
7969
  },
8232
7970
  {
8233
- "kind": "field",
8234
- "name": "disablePolling",
8235
- "type": {
8236
- "text": "boolean"
7971
+ "kind": "method",
7972
+ "name": "templateChanged",
7973
+ "privacy": "protected",
7974
+ "return": {
7975
+ "type": {
7976
+ "text": "void"
7977
+ }
8237
7978
  },
8238
- "default": "false",
8239
- "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
7979
+ "inheritedFrom": {
7980
+ "name": "FoundationElement",
7981
+ "module": "src/foundation-element/foundation-element.ts"
7982
+ }
8240
7983
  },
8241
7984
  {
8242
7985
  "kind": "field",
8243
- "name": "offset",
7986
+ "name": "styles",
8244
7987
  "type": {
8245
- "text": "number"
7988
+ "text": "ElementStyles | void | null"
8246
7989
  },
8247
- "description": "The offset for pagination in REQUEST_SERVER scenarios."
7990
+ "privacy": "public",
7991
+ "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.",
7992
+ "inheritedFrom": {
7993
+ "name": "FoundationElement",
7994
+ "module": "src/foundation-element/foundation-element.ts"
7995
+ }
8248
7996
  },
8249
7997
  {
8250
- "kind": "field",
8251
- "name": "pollingInterval",
8252
- "type": {
8253
- "text": "number"
7998
+ "kind": "method",
7999
+ "name": "stylesChanged",
8000
+ "privacy": "protected",
8001
+ "return": {
8002
+ "type": {
8003
+ "text": "void"
8004
+ }
8254
8005
  },
8255
- "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
8006
+ "inheritedFrom": {
8007
+ "name": "FoundationElement",
8008
+ "module": "src/foundation-element/foundation-element.ts"
8009
+ }
8256
8010
  },
8257
8011
  {
8258
- "kind": "field",
8259
- "name": "pollTriggerEvents",
8260
- "type": {
8261
- "text": "string[]"
8012
+ "kind": "method",
8013
+ "name": "compose",
8014
+ "privacy": "public",
8015
+ "static": true,
8016
+ "return": {
8017
+ "type": {
8018
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
8019
+ }
8262
8020
  },
8263
- "default": "[]",
8264
- "description": "Array of event names that will trigger a poll when received as commit responses."
8265
- },
8266
- {
8267
- "kind": "field",
8268
- "name": "request",
8021
+ "parameters": [
8022
+ {
8023
+ "name": "this",
8024
+ "type": {
8025
+ "text": "K"
8026
+ }
8027
+ },
8028
+ {
8029
+ "name": "elementDefinition",
8030
+ "type": {
8031
+ "text": "T"
8032
+ },
8033
+ "description": "The definition of the element to create the registry\nfunction for."
8034
+ }
8035
+ ],
8036
+ "description": "Defines an element registry function with a set of element definition defaults.",
8037
+ "inheritedFrom": {
8038
+ "name": "FoundationElement",
8039
+ "module": "src/foundation-element/foundation-element.ts"
8040
+ }
8041
+ }
8042
+ ],
8043
+ "mixins": [
8044
+ {
8045
+ "name": "LifecycleMixin",
8046
+ "package": "@genesislcap/foundation-utils"
8047
+ }
8048
+ ],
8049
+ "superclass": {
8050
+ "name": "FoundationElement",
8051
+ "package": "@microsoft/fast-foundation"
8052
+ },
8053
+ "tagName": "grid-pro-column",
8054
+ "customElement": true
8055
+ }
8056
+ ],
8057
+ "exports": [
8058
+ {
8059
+ "kind": "js",
8060
+ "name": "GridProColumn",
8061
+ "declaration": {
8062
+ "name": "GridProColumn",
8063
+ "module": "src/column/column.ts"
8064
+ }
8065
+ },
8066
+ {
8067
+ "kind": "custom-element-definition",
8068
+ "name": "grid-pro-column",
8069
+ "declaration": {
8070
+ "name": "GridProColumn",
8071
+ "module": "src/column/column.ts"
8072
+ }
8073
+ }
8074
+ ]
8075
+ },
8076
+ {
8077
+ "kind": "javascript-module",
8078
+ "path": "src/column/index.ts",
8079
+ "declarations": [],
8080
+ "exports": [
8081
+ {
8082
+ "kind": "js",
8083
+ "name": "*",
8084
+ "declaration": {
8085
+ "name": "*",
8086
+ "package": "./column.template"
8087
+ }
8088
+ },
8089
+ {
8090
+ "kind": "js",
8091
+ "name": "*",
8092
+ "declaration": {
8093
+ "name": "*",
8094
+ "package": "./column"
8095
+ }
8096
+ },
8097
+ {
8098
+ "kind": "js",
8099
+ "name": "*",
8100
+ "declaration": {
8101
+ "name": "*",
8102
+ "package": "./utils"
8103
+ }
8104
+ }
8105
+ ]
8106
+ },
8107
+ {
8108
+ "kind": "javascript-module",
8109
+ "path": "src/datasource/base.datasource.ts",
8110
+ "declarations": [
8111
+ {
8112
+ "kind": "variable",
8113
+ "name": "criteriaDelimiter",
8114
+ "type": {
8115
+ "text": "string"
8116
+ },
8117
+ "default": "';'",
8118
+ "description": "The delimiter for the criteria string.",
8119
+ "privacy": "public"
8120
+ },
8121
+ {
8122
+ "kind": "variable",
8123
+ "name": "criteriaJoin",
8124
+ "type": {
8125
+ "text": "string"
8126
+ },
8127
+ "default": "' && '",
8128
+ "description": "The join for the criteria string.",
8129
+ "privacy": "public"
8130
+ },
8131
+ {
8132
+ "kind": "class",
8133
+ "description": "The base datasource element for the grid-pro element.",
8134
+ "name": "GenesisGridDatasourceElement",
8135
+ "members": [
8136
+ {
8137
+ "kind": "field",
8138
+ "name": "connect",
8269
8139
  "type": {
8270
- "text": "any"
8271
- },
8272
- "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8140
+ "text": "Connect"
8141
+ }
8273
8142
  },
8274
8143
  {
8275
8144
  "kind": "field",
8276
- "name": "requestAutoSetup",
8145
+ "name": "datasource",
8277
8146
  "type": {
8278
- "text": "boolean"
8279
- },
8280
- "default": "true",
8281
- "description": "Attribute to set whether the REQUEST object should be automatically set up."
8147
+ "text": "Datasource"
8148
+ }
8282
8149
  },
8283
8150
  {
8284
8151
  "kind": "field",
8285
- "name": "rowIdAttr",
8286
- "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8152
+ "name": "deferredGridOptions",
8153
+ "type": {
8154
+ "text": "GridOptions"
8155
+ }
8287
8156
  },
8288
8157
  {
8289
8158
  "kind": "field",
8290
- "name": "restartOnReconnection",
8159
+ "name": "deferredColumnStates",
8291
8160
  "type": {
8292
- "text": "boolean"
8161
+ "text": "ColumnState[]"
8162
+ }
8163
+ },
8164
+ {
8165
+ "kind": "field",
8166
+ "name": "rowDataMapper",
8167
+ "type": {
8168
+ "text": "Function"
8293
8169
  },
8294
- "default": "true",
8295
- "description": "Attribute to set whether the datasource should restart when it reconnects."
8170
+ "description": "Allows grid data updates to be processed via and external function before applying in grid"
8296
8171
  },
8297
8172
  {
8298
8173
  "kind": "field",
8299
- "name": "defaultRowIdByResourceType",
8174
+ "name": "criteria",
8300
8175
  "type": {
8301
8176
  "text": "string"
8302
8177
  },
8303
- "privacy": "protected",
8304
- "readonly": true
8178
+ "description": "Groovy expression to perform filters on the query server; these remain active for the life of the subscription."
8305
8179
  },
8306
8180
  {
8307
8181
  "kind": "field",
8308
- "name": "criteriaFromFilters",
8182
+ "name": "isSnapshot",
8309
8183
  "type": {
8310
- "text": "Map<string, string>"
8184
+ "text": "boolean"
8311
8185
  },
8312
- "privacy": "protected",
8313
- "default": "new Map()"
8186
+ "default": "false",
8187
+ "description": "Request a snapshot from the server."
8314
8188
  },
8315
8189
  {
8316
8190
  "kind": "field",
8317
- "name": "update",
8191
+ "name": "maxRows",
8318
8192
  "type": {
8319
- "text": "BehaviorSubject<Map<string, string>>"
8193
+ "text": "number"
8320
8194
  },
8321
- "privacy": "protected",
8322
- "default": "new BehaviorSubject(new Map())"
8195
+ "description": "Maximum number of rows to be returned as part of the initial message, and as part of any additional MORE_ROWS messages."
8323
8196
  },
8324
8197
  {
8325
- "kind": "method",
8326
- "name": "datasourceOptions",
8327
- "privacy": "protected",
8328
- "return": {
8329
- "type": {
8330
- "text": "DatasourceOptions"
8331
- }
8332
- }
8198
+ "kind": "field",
8199
+ "name": "orderBy",
8200
+ "type": {
8201
+ "text": "string"
8202
+ },
8203
+ "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."
8333
8204
  },
8334
8205
  {
8335
- "kind": "method",
8336
- "name": "buildCriteria",
8337
- "privacy": "private",
8338
- "return": {
8339
- "type": {
8340
- "text": "string"
8341
- }
8342
- }
8206
+ "kind": "field",
8207
+ "name": "resourceName",
8208
+ "type": {
8209
+ "text": "string"
8210
+ },
8211
+ "description": "The name of the target Data Server query or Request Server requestReply."
8343
8212
  },
8344
8213
  {
8345
- "kind": "method",
8346
- "name": "setFilter",
8347
- "privacy": "public",
8348
- "parameters": [
8349
- {
8350
- "name": "fieldName",
8351
- "type": {
8352
- "text": "string"
8353
- }
8354
- },
8355
- {
8356
- "name": "newFilter",
8357
- "type": {
8358
- "text": "string"
8359
- }
8360
- }
8361
- ]
8214
+ "kind": "field",
8215
+ "name": "viewNumber",
8216
+ "type": {
8217
+ "text": "number"
8218
+ },
8219
+ "description": "The desired view/page you want data from."
8362
8220
  },
8363
8221
  {
8364
- "kind": "method",
8365
- "name": "removeFilter",
8366
- "privacy": "public",
8367
- "parameters": [
8368
- {
8369
- "name": "fieldName",
8370
- "type": {
8371
- "text": "string"
8372
- }
8373
- }
8374
- ]
8222
+ "kind": "field",
8223
+ "name": "fields",
8224
+ "type": {
8225
+ "text": "string"
8226
+ },
8227
+ "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."
8375
8228
  },
8376
8229
  {
8377
8230
  "kind": "field",
8378
- "name": "isRequestServer",
8231
+ "name": "maxView",
8232
+ "type": {
8233
+ "text": "number"
8234
+ },
8235
+ "description": "Maximum number of rows to track as part of a client \"view\"."
8236
+ },
8237
+ {
8238
+ "kind": "field",
8239
+ "name": "movingView",
8379
8240
  "type": {
8380
8241
  "text": "boolean"
8381
8242
  },
8382
- "readonly": true
8243
+ "default": "false",
8244
+ "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."
8383
8245
  },
8384
8246
  {
8385
- "kind": "method",
8386
- "name": "datasourceStatusChanged",
8387
- "parameters": [
8388
- {
8247
+ "kind": "field",
8248
+ "name": "reverse",
8249
+ "type": {
8250
+ "text": "boolean"
8251
+ },
8252
+ "default": "false",
8253
+ "description": "Option that changes the Data Server index iteration."
8254
+ },
8255
+ {
8256
+ "kind": "field",
8257
+ "name": "disablePolling",
8258
+ "type": {
8259
+ "text": "boolean"
8260
+ },
8261
+ "default": "false",
8262
+ "description": "Disables polling if set to true (data updates for the grid will not be fetched automatically)."
8263
+ },
8264
+ {
8265
+ "kind": "field",
8266
+ "name": "offset",
8267
+ "type": {
8268
+ "text": "number"
8269
+ },
8270
+ "description": "The offset for pagination in REQUEST_SERVER scenarios."
8271
+ },
8272
+ {
8273
+ "kind": "field",
8274
+ "name": "pollingInterval",
8275
+ "type": {
8276
+ "text": "number"
8277
+ },
8278
+ "description": "Custom polling frequency (in milliseconds) for a Request Server resource."
8279
+ },
8280
+ {
8281
+ "kind": "field",
8282
+ "name": "pollTriggerEvents",
8283
+ "type": {
8284
+ "text": "string[]"
8285
+ },
8286
+ "default": "[]",
8287
+ "description": "Array of event names that will trigger a poll when received as commit responses."
8288
+ },
8289
+ {
8290
+ "kind": "field",
8291
+ "name": "request",
8292
+ "type": {
8293
+ "text": "any"
8294
+ },
8295
+ "description": "Similar to fields but for Request Server scenarios. This optional parameter enables you to specify request fields, which can include wildcards."
8296
+ },
8297
+ {
8298
+ "kind": "field",
8299
+ "name": "requestAutoSetup",
8300
+ "type": {
8301
+ "text": "boolean"
8302
+ },
8303
+ "default": "true",
8304
+ "description": "Attribute to set whether the REQUEST object should be automatically set up."
8305
+ },
8306
+ {
8307
+ "kind": "field",
8308
+ "name": "rowIdAttr",
8309
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8310
+ },
8311
+ {
8312
+ "kind": "field",
8313
+ "name": "restartOnReconnection",
8314
+ "type": {
8315
+ "text": "boolean"
8316
+ },
8317
+ "default": "true",
8318
+ "description": "Attribute to set whether the datasource should restart when it reconnects."
8319
+ },
8320
+ {
8321
+ "kind": "field",
8322
+ "name": "defaultRowIdByResourceType",
8323
+ "type": {
8324
+ "text": "string"
8325
+ },
8326
+ "privacy": "protected",
8327
+ "readonly": true
8328
+ },
8329
+ {
8330
+ "kind": "field",
8331
+ "name": "criteriaFromFilters",
8332
+ "type": {
8333
+ "text": "Map<string, string>"
8334
+ },
8335
+ "privacy": "protected",
8336
+ "default": "new Map()"
8337
+ },
8338
+ {
8339
+ "kind": "field",
8340
+ "name": "update",
8341
+ "type": {
8342
+ "text": "BehaviorSubject<Map<string, string>>"
8343
+ },
8344
+ "privacy": "protected",
8345
+ "default": "new BehaviorSubject(new Map())"
8346
+ },
8347
+ {
8348
+ "kind": "method",
8349
+ "name": "datasourceOptions",
8350
+ "privacy": "protected",
8351
+ "return": {
8352
+ "type": {
8353
+ "text": "DatasourceOptions"
8354
+ }
8355
+ }
8356
+ },
8357
+ {
8358
+ "kind": "method",
8359
+ "name": "buildCriteria",
8360
+ "privacy": "private",
8361
+ "return": {
8362
+ "type": {
8363
+ "text": "string"
8364
+ }
8365
+ }
8366
+ },
8367
+ {
8368
+ "kind": "method",
8369
+ "name": "setFilter",
8370
+ "privacy": "public",
8371
+ "parameters": [
8372
+ {
8373
+ "name": "fieldName",
8374
+ "type": {
8375
+ "text": "string"
8376
+ }
8377
+ },
8378
+ {
8379
+ "name": "newFilter",
8380
+ "type": {
8381
+ "text": "string"
8382
+ }
8383
+ }
8384
+ ]
8385
+ },
8386
+ {
8387
+ "kind": "method",
8388
+ "name": "removeFilter",
8389
+ "privacy": "public",
8390
+ "parameters": [
8391
+ {
8392
+ "name": "fieldName",
8393
+ "type": {
8394
+ "text": "string"
8395
+ }
8396
+ }
8397
+ ]
8398
+ },
8399
+ {
8400
+ "kind": "field",
8401
+ "name": "isRequestServer",
8402
+ "type": {
8403
+ "text": "boolean"
8404
+ },
8405
+ "readonly": true
8406
+ },
8407
+ {
8408
+ "kind": "method",
8409
+ "name": "datasourceStatusChanged",
8410
+ "parameters": [
8411
+ {
8389
8412
  "name": "prev",
8390
8413
  "type": {
8391
8414
  "text": "DatasourceStatus"
@@ -11739,188 +11762,498 @@
11739
11762
  "exports": [
11740
11763
  {
11741
11764
  "kind": "js",
11742
- "name": "GridProClientSideDatasource",
11765
+ "name": "GridProClientSideDatasource",
11766
+ "declaration": {
11767
+ "name": "GridProClientSideDatasource",
11768
+ "module": "src/datasource/client-side.datasource.ts"
11769
+ }
11770
+ },
11771
+ {
11772
+ "kind": "custom-element-definition",
11773
+ "name": "grid-pro-client-side-datasource",
11774
+ "declaration": {
11775
+ "name": "GridProClientSideDatasource",
11776
+ "module": "src/datasource/client-side.datasource.ts"
11777
+ }
11778
+ }
11779
+ ]
11780
+ },
11781
+ {
11782
+ "kind": "javascript-module",
11783
+ "path": "src/datasource/client-side.grid-definitions.ts",
11784
+ "declarations": [
11785
+ {
11786
+ "kind": "function",
11787
+ "name": "getFilterByFieldType",
11788
+ "return": {
11789
+ "type": {
11790
+ "text": ""
11791
+ }
11792
+ },
11793
+ "parameters": [
11794
+ {
11795
+ "name": "type",
11796
+ "type": {
11797
+ "text": "string"
11798
+ },
11799
+ "description": "The type of the field/column"
11800
+ }
11801
+ ],
11802
+ "description": "Returns a filter type based on the Grid Pro field/column type."
11803
+ },
11804
+ {
11805
+ "kind": "function",
11806
+ "name": "getClientSideFilterParamsByFieldType",
11807
+ "return": {
11808
+ "type": {
11809
+ "text": ""
11810
+ }
11811
+ },
11812
+ "parameters": [
11813
+ {
11814
+ "name": "field",
11815
+ "type": {
11816
+ "text": "FieldMetadata"
11817
+ },
11818
+ "description": "The field metadata"
11819
+ }
11820
+ ],
11821
+ "description": "Returns the filter params based on the Grid Pro field/column type."
11822
+ }
11823
+ ],
11824
+ "exports": [
11825
+ {
11826
+ "kind": "js",
11827
+ "name": "getFilterByFieldType",
11828
+ "declaration": {
11829
+ "name": "getFilterByFieldType",
11830
+ "module": "src/datasource/client-side.grid-definitions.ts"
11831
+ }
11832
+ },
11833
+ {
11834
+ "kind": "js",
11835
+ "name": "getClientSideFilterParamsByFieldType",
11836
+ "declaration": {
11837
+ "name": "getClientSideFilterParamsByFieldType",
11838
+ "module": "src/datasource/client-side.grid-definitions.ts"
11839
+ }
11840
+ }
11841
+ ]
11842
+ },
11843
+ {
11844
+ "kind": "javascript-module",
11845
+ "path": "src/datasource/datasource.types.ts",
11846
+ "declarations": [],
11847
+ "exports": []
11848
+ },
11849
+ {
11850
+ "kind": "javascript-module",
11851
+ "path": "src/datasource/error-handler.dialog.ts",
11852
+ "declarations": [
11853
+ {
11854
+ "kind": "variable",
11855
+ "name": "errorHandlerDialogStyles",
11856
+ "default": "css`\n .overlay {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: var(--datasource-error-background-color, var(--neutral-layer-4));\n opacity: var(--datasource-error-background-opacity, 0.5);\n z-index: 1000;\n pointer-events: auto;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .dialog-container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n z-index: 1001;\n max-width: 90vw;\n max-height: 90vh;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n opacity: 1 !important;\n filter: none !important;\n box-sizing: border-box;\n }\n .grid-datasource-error-dialog {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n max-width: 600px;\n width: 100%;\n box-sizing: border-box;\n background: var(--dialog-background, #2d2533);\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.45);\n overflow: visible;\n min-height: 120px;\n }\n\n .grid-datasource-error-dialog div {\n width: 600px;\n }\n\n .grid-datasource-error-dialog [slot='top'] {\n margin-bottom: 0;\n }\n\n .grid-datasource-error-dialog [slot='bottom'] {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n }\n\n .error-details {\n max-height: 120px;\n overflow: auto;\n width: 100%;\n margin-top: 8px;\n }\n`"
11857
+ },
11858
+ {
11859
+ "kind": "function",
11860
+ "name": "getErrorHandlerDialogTemplate",
11861
+ "parameters": [
11862
+ {
11863
+ "name": "prefix",
11864
+ "type": {
11865
+ "text": "string"
11866
+ }
11867
+ },
11868
+ {
11869
+ "name": "gridErrorItems",
11870
+ "type": {
11871
+ "text": "GridProErrorItem<any>[]"
11872
+ }
11873
+ }
11874
+ ]
11875
+ }
11876
+ ],
11877
+ "exports": [
11878
+ {
11879
+ "kind": "js",
11880
+ "name": "errorHandlerDialogStyles",
11881
+ "declaration": {
11882
+ "name": "errorHandlerDialogStyles",
11883
+ "module": "src/datasource/error-handler.dialog.ts"
11884
+ }
11885
+ },
11886
+ {
11887
+ "kind": "js",
11888
+ "name": "getErrorHandlerDialogTemplate",
11889
+ "declaration": {
11890
+ "name": "getErrorHandlerDialogTemplate",
11891
+ "module": "src/datasource/error-handler.dialog.ts"
11892
+ }
11893
+ }
11894
+ ]
11895
+ },
11896
+ {
11897
+ "kind": "javascript-module",
11898
+ "path": "src/datasource/index.ts",
11899
+ "declarations": [],
11900
+ "exports": [
11901
+ {
11902
+ "kind": "js",
11903
+ "name": "*",
11904
+ "declaration": {
11905
+ "name": "*",
11906
+ "package": "./base.datasource"
11907
+ }
11908
+ },
11909
+ {
11910
+ "kind": "js",
11911
+ "name": "*",
11912
+ "declaration": {
11913
+ "name": "*",
11914
+ "package": "./base.types"
11915
+ }
11916
+ },
11917
+ {
11918
+ "kind": "js",
11919
+ "name": "*",
11920
+ "declaration": {
11921
+ "name": "*",
11922
+ "package": "./client-side.datasource"
11923
+ }
11924
+ },
11925
+ {
11926
+ "kind": "js",
11927
+ "name": "*",
11928
+ "declaration": {
11929
+ "name": "*",
11930
+ "package": "./error-handler.dialog"
11931
+ }
11932
+ },
11933
+ {
11934
+ "kind": "js",
11935
+ "name": "*",
11936
+ "declaration": {
11937
+ "name": "*",
11938
+ "package": "./datasource.types"
11939
+ }
11940
+ },
11941
+ {
11942
+ "kind": "js",
11943
+ "name": "*",
11944
+ "declaration": {
11945
+ "name": "*",
11946
+ "package": "./row-match.types"
11947
+ }
11948
+ },
11949
+ {
11950
+ "kind": "js",
11951
+ "name": "*",
11952
+ "declaration": {
11953
+ "name": "*",
11954
+ "package": "./row-match.tracker"
11955
+ }
11956
+ },
11957
+ {
11958
+ "kind": "js",
11959
+ "name": "*",
11960
+ "declaration": {
11961
+ "name": "*",
11962
+ "package": "./row-match.classes"
11963
+ }
11964
+ },
11965
+ {
11966
+ "kind": "js",
11967
+ "name": "*",
11968
+ "declaration": {
11969
+ "name": "*",
11970
+ "package": "./server-side.datasource"
11971
+ }
11972
+ }
11973
+ ]
11974
+ },
11975
+ {
11976
+ "kind": "javascript-module",
11977
+ "path": "src/datasource/row-match.classes.ts",
11978
+ "declarations": [
11979
+ {
11980
+ "kind": "variable",
11981
+ "name": "ROW_MATCH_ALERT_CLASS",
11982
+ "type": {
11983
+ "text": "string"
11984
+ },
11985
+ "default": "'grid-pro-row-alert'",
11986
+ "description": "Class the grid puts on rows satisfying the criteria. The grid's own styles flash it in step\nwith any alerting tab, so a tab that draws you to a grid also shows you which rows caused it.",
11987
+ "privacy": "public"
11988
+ },
11989
+ {
11990
+ "kind": "variable",
11991
+ "name": "ROW_MATCH_ALERT_CELL_CLASS",
11992
+ "type": {
11993
+ "text": "string"
11994
+ },
11995
+ "default": "'grid-pro-row-alert-cell'",
11996
+ "description": "Class the grid puts on just the `flashField` cell of a matching row, for grids that flash a\nsingle column rather than the whole row.",
11997
+ "privacy": "public"
11998
+ },
11999
+ {
12000
+ "kind": "function",
12001
+ "name": "createRowMatchClassRules",
12002
+ "return": {
12003
+ "type": {
12004
+ "text": "Record<string, (params: { data?: unknown }) => boolean>"
12005
+ }
12006
+ },
12007
+ "parameters": [
12008
+ {
12009
+ "name": "criteria",
12010
+ "type": {
12011
+ "text": "RowMatchCriteria"
12012
+ }
12013
+ }
12014
+ ],
12015
+ "description": "Row class rules that flag rows meeting RowMatchCriteria, for spreading into\n`gridOptions.rowClassRules`.\n\nPairs with DatasourceRowMatchTracker: the tracker decides whether a tab should flash,\nthese decide which rows made it flash. Both take the same criteria, so the two cannot disagree.\n\n```ts\ngridOptions = { rowClassRules: createRowMatchClassRules(criteria) };\n```",
12016
+ "privacy": "public"
12017
+ },
12018
+ {
12019
+ "kind": "function",
12020
+ "name": "createRowMatchCellClassRules",
12021
+ "return": {
12022
+ "type": {
12023
+ "text": "Record<string, (params: { data?: unknown; colDef: { field?: string } }) => boolean>"
12024
+ }
12025
+ },
12026
+ "parameters": [
12027
+ {
12028
+ "name": "criteria",
12029
+ "type": {
12030
+ "text": "RowMatchCriteria"
12031
+ }
12032
+ }
12033
+ ],
12034
+ "description": "Cell class rules that flag only the `flashField` cell of a matching row, for spreading into\n`gridOptions.defaultColDef.cellClassRules`.\n\nThey belong on `defaultColDef` rather than a single column because AG Grid has no grid-level\n`cellClassRules`, and the rule itself checks which column it is running against.",
12035
+ "privacy": "public"
12036
+ }
12037
+ ],
12038
+ "exports": [
12039
+ {
12040
+ "kind": "js",
12041
+ "name": "ROW_MATCH_ALERT_CLASS",
12042
+ "declaration": {
12043
+ "name": "ROW_MATCH_ALERT_CLASS",
12044
+ "module": "src/datasource/row-match.classes.ts"
12045
+ }
12046
+ },
12047
+ {
12048
+ "kind": "js",
12049
+ "name": "ROW_MATCH_ALERT_CELL_CLASS",
12050
+ "declaration": {
12051
+ "name": "ROW_MATCH_ALERT_CELL_CLASS",
12052
+ "module": "src/datasource/row-match.classes.ts"
12053
+ }
12054
+ },
12055
+ {
12056
+ "kind": "js",
12057
+ "name": "createRowMatchClassRules",
12058
+ "declaration": {
12059
+ "name": "createRowMatchClassRules",
12060
+ "module": "src/datasource/row-match.classes.ts"
12061
+ }
12062
+ },
12063
+ {
12064
+ "kind": "js",
12065
+ "name": "createRowMatchCellClassRules",
12066
+ "declaration": {
12067
+ "name": "createRowMatchCellClassRules",
12068
+ "module": "src/datasource/row-match.classes.ts"
12069
+ }
12070
+ }
12071
+ ]
12072
+ },
12073
+ {
12074
+ "kind": "javascript-module",
12075
+ "path": "src/datasource/row-match.tracker.ts",
12076
+ "declarations": [
12077
+ {
12078
+ "kind": "class",
12079
+ "description": "Tracks which datasource rows satisfy RowMatchCriteria as stream updates arrive,\nand reports whether any currently do.\n\nRows are tracked incrementally from `add` / `update` / `remove` deltas rather than by\nrescanning the grid, so cost is proportional to the update rather than to the row count.\n\nThe typical consumer flags a tab while a background grid still holds rows needing\nattention:\n\n```ts\nconst tracker = new DatasourceRowMatchTracker(\n { rowIdField: 'ORDER_ID', stateField: 'ORDER_STATE', stateValue: 'PENDING' },\n (active) => { tab.alert = active; },\n);\nconst stop = tracker.observe(datasourceElement);\n```\n\nFrameworks that surface the datasource events as props can feed the tracker directly with\nDatasourceRowMatchTracker.handleDataChanged and\nDatasourceRowMatchTracker.handleDataCleared instead of calling `observe`.\n\nPassing the same criteria to `createRowMatchClassRules` flashes the matching rows themselves, so\na tab that says there is work to do leads to a grid that shows which rows it meant.\n\nCriteria are fixed for the tracker's life. To watch for something else, build a new tracker and\nreload the datasource, so rows already delivered are replayed against the new rules.",
12080
+ "name": "DatasourceRowMatchTracker",
12081
+ "members": [
12082
+ {
12083
+ "kind": "field",
12084
+ "name": "matchedRowIds",
12085
+ "privacy": "private",
12086
+ "readonly": true,
12087
+ "default": "new Set<string>()"
12088
+ },
12089
+ {
12090
+ "kind": "field",
12091
+ "name": "lastReportedActive",
12092
+ "type": {
12093
+ "text": "boolean"
12094
+ },
12095
+ "privacy": "private",
12096
+ "default": "false"
12097
+ },
12098
+ {
12099
+ "kind": "field",
12100
+ "name": "active",
12101
+ "type": {
12102
+ "text": "boolean"
12103
+ },
12104
+ "description": "True while at least one tracked row matches.",
12105
+ "readonly": true
12106
+ },
12107
+ {
12108
+ "kind": "field",
12109
+ "name": "matchCount",
12110
+ "type": {
12111
+ "text": "number"
12112
+ },
12113
+ "description": "How many tracked rows currently match.",
12114
+ "readonly": true
12115
+ },
12116
+ {
12117
+ "kind": "method",
12118
+ "name": "reset",
12119
+ "return": {
12120
+ "type": {
12121
+ "text": "void"
12122
+ }
12123
+ },
12124
+ "description": "Forgets every tracked row. Call when the grid's filter or search criteria change, so a\nstale alert does not survive into a result set that no longer contains those rows."
12125
+ },
12126
+ {
12127
+ "kind": "method",
12128
+ "name": "handleDataChanged",
12129
+ "return": {
12130
+ "type": {
12131
+ "text": "void"
12132
+ }
12133
+ },
12134
+ "parameters": [
12135
+ {
12136
+ "name": "detail",
12137
+ "type": {
12138
+ "text": "DataChangedEventDetail | undefined"
12139
+ }
12140
+ }
12141
+ ],
12142
+ "description": "Applies a `datasource-data-changed` detail."
12143
+ },
12144
+ {
12145
+ "kind": "method",
12146
+ "name": "handleDataCleared",
12147
+ "return": {
12148
+ "type": {
12149
+ "text": "void"
12150
+ }
12151
+ },
12152
+ "description": "Applies a `datasource-data-cleared` event."
12153
+ },
12154
+ {
12155
+ "kind": "method",
12156
+ "name": "observe",
12157
+ "return": {
12158
+ "type": {
12159
+ "text": ""
12160
+ }
12161
+ },
12162
+ "parameters": [
12163
+ {
12164
+ "name": "target",
12165
+ "type": {
12166
+ "text": "EventTarget"
12167
+ }
12168
+ }
12169
+ ],
12170
+ "description": "Subscribes to the datasource events on `target`."
12171
+ },
12172
+ {
12173
+ "kind": "method",
12174
+ "name": "syncRow",
12175
+ "privacy": "private",
12176
+ "return": {
12177
+ "type": {
12178
+ "text": "void"
12179
+ }
12180
+ },
12181
+ "parameters": [
12182
+ {
12183
+ "name": "row",
12184
+ "type": {
12185
+ "text": "Record<string, unknown> | null | undefined"
12186
+ }
12187
+ },
12188
+ {
12189
+ "name": "removed",
12190
+ "type": {
12191
+ "text": "boolean"
12192
+ }
12193
+ }
12194
+ ]
12195
+ },
12196
+ {
12197
+ "kind": "method",
12198
+ "name": "report",
12199
+ "privacy": "private",
12200
+ "return": {
12201
+ "type": {
12202
+ "text": "void"
12203
+ }
12204
+ }
12205
+ }
12206
+ ]
12207
+ }
12208
+ ],
12209
+ "exports": [
12210
+ {
12211
+ "kind": "js",
12212
+ "name": "DatasourceRowMatchTracker",
11743
12213
  "declaration": {
11744
- "name": "GridProClientSideDatasource",
11745
- "module": "src/datasource/client-side.datasource.ts"
11746
- }
11747
- },
11748
- {
11749
- "kind": "custom-element-definition",
11750
- "name": "grid-pro-client-side-datasource",
11751
- "declaration": {
11752
- "name": "GridProClientSideDatasource",
11753
- "module": "src/datasource/client-side.datasource.ts"
12214
+ "name": "DatasourceRowMatchTracker",
12215
+ "module": "src/datasource/row-match.tracker.ts"
11754
12216
  }
11755
12217
  }
11756
12218
  ]
11757
12219
  },
11758
12220
  {
11759
12221
  "kind": "javascript-module",
11760
- "path": "src/datasource/client-side.grid-definitions.ts",
12222
+ "path": "src/datasource/row-match.types.ts",
11761
12223
  "declarations": [
11762
12224
  {
11763
12225
  "kind": "function",
11764
- "name": "getFilterByFieldType",
11765
- "return": {
11766
- "type": {
11767
- "text": ""
11768
- }
11769
- },
11770
- "parameters": [
11771
- {
11772
- "name": "type",
11773
- "type": {
11774
- "text": "string"
11775
- },
11776
- "description": "The type of the field/column"
11777
- }
11778
- ],
11779
- "description": "Returns a filter type based on the Grid Pro field/column type."
11780
- },
11781
- {
11782
- "kind": "function",
11783
- "name": "getClientSideFilterParamsByFieldType",
12226
+ "name": "matchesRowCriteria",
11784
12227
  "return": {
11785
12228
  "type": {
11786
- "text": ""
12229
+ "text": "boolean"
11787
12230
  }
11788
12231
  },
11789
12232
  "parameters": [
11790
12233
  {
11791
- "name": "field",
11792
- "type": {
11793
- "text": "FieldMetadata"
11794
- },
11795
- "description": "The field metadata"
11796
- }
11797
- ],
11798
- "description": "Returns the filter params based on the Grid Pro field/column type."
11799
- }
11800
- ],
11801
- "exports": [
11802
- {
11803
- "kind": "js",
11804
- "name": "getFilterByFieldType",
11805
- "declaration": {
11806
- "name": "getFilterByFieldType",
11807
- "module": "src/datasource/client-side.grid-definitions.ts"
11808
- }
11809
- },
11810
- {
11811
- "kind": "js",
11812
- "name": "getClientSideFilterParamsByFieldType",
11813
- "declaration": {
11814
- "name": "getClientSideFilterParamsByFieldType",
11815
- "module": "src/datasource/client-side.grid-definitions.ts"
11816
- }
11817
- }
11818
- ]
11819
- },
11820
- {
11821
- "kind": "javascript-module",
11822
- "path": "src/datasource/datasource.types.ts",
11823
- "declarations": [],
11824
- "exports": []
11825
- },
11826
- {
11827
- "kind": "javascript-module",
11828
- "path": "src/datasource/error-handler.dialog.ts",
11829
- "declarations": [
11830
- {
11831
- "kind": "variable",
11832
- "name": "errorHandlerDialogStyles",
11833
- "default": "css`\n .overlay {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: var(--datasource-error-background-color, var(--neutral-layer-4));\n opacity: var(--datasource-error-background-opacity, 0.5);\n z-index: 1000;\n pointer-events: auto;\n border-radius: 2px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n .dialog-container {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n z-index: 1001;\n max-width: 90vw;\n max-height: 90vh;\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n opacity: 1 !important;\n filter: none !important;\n box-sizing: border-box;\n }\n .grid-datasource-error-dialog {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 0 auto;\n max-width: 600px;\n width: 100%;\n box-sizing: border-box;\n background: var(--dialog-background, #2d2533);\n box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.45);\n overflow: visible;\n min-height: 120px;\n }\n\n .grid-datasource-error-dialog div {\n width: 600px;\n }\n\n .grid-datasource-error-dialog [slot='top'] {\n margin-bottom: 0;\n }\n\n .grid-datasource-error-dialog [slot='bottom'] {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n }\n\n .error-details {\n max-height: 120px;\n overflow: auto;\n width: 100%;\n margin-top: 8px;\n }\n`"
11834
- },
11835
- {
11836
- "kind": "function",
11837
- "name": "getErrorHandlerDialogTemplate",
11838
- "parameters": [
11839
- {
11840
- "name": "prefix",
12234
+ "name": "criteria",
11841
12235
  "type": {
11842
- "text": "string"
12236
+ "text": "RowMatchCriteria"
11843
12237
  }
11844
12238
  },
11845
12239
  {
11846
- "name": "gridErrorItems",
12240
+ "name": "row",
11847
12241
  "type": {
11848
- "text": "GridProErrorItem<any>[]"
12242
+ "text": "Record<string, unknown> | null | undefined"
11849
12243
  }
11850
12244
  }
11851
- ]
12245
+ ],
12246
+ "description": "True when the row satisfies any resolved AND-group.",
12247
+ "privacy": "public"
11852
12248
  }
11853
12249
  ],
11854
12250
  "exports": [
11855
12251
  {
11856
12252
  "kind": "js",
11857
- "name": "errorHandlerDialogStyles",
11858
- "declaration": {
11859
- "name": "errorHandlerDialogStyles",
11860
- "module": "src/datasource/error-handler.dialog.ts"
11861
- }
11862
- },
11863
- {
11864
- "kind": "js",
11865
- "name": "getErrorHandlerDialogTemplate",
11866
- "declaration": {
11867
- "name": "getErrorHandlerDialogTemplate",
11868
- "module": "src/datasource/error-handler.dialog.ts"
11869
- }
11870
- }
11871
- ]
11872
- },
11873
- {
11874
- "kind": "javascript-module",
11875
- "path": "src/datasource/index.ts",
11876
- "declarations": [],
11877
- "exports": [
11878
- {
11879
- "kind": "js",
11880
- "name": "*",
11881
- "declaration": {
11882
- "name": "*",
11883
- "package": "./base.datasource"
11884
- }
11885
- },
11886
- {
11887
- "kind": "js",
11888
- "name": "*",
11889
- "declaration": {
11890
- "name": "*",
11891
- "package": "./base.types"
11892
- }
11893
- },
11894
- {
11895
- "kind": "js",
11896
- "name": "*",
11897
- "declaration": {
11898
- "name": "*",
11899
- "package": "./client-side.datasource"
11900
- }
11901
- },
11902
- {
11903
- "kind": "js",
11904
- "name": "*",
11905
- "declaration": {
11906
- "name": "*",
11907
- "package": "./error-handler.dialog"
11908
- }
11909
- },
11910
- {
11911
- "kind": "js",
11912
- "name": "*",
11913
- "declaration": {
11914
- "name": "*",
11915
- "package": "./datasource.types"
11916
- }
11917
- },
11918
- {
11919
- "kind": "js",
11920
- "name": "*",
12253
+ "name": "matchesRowCriteria",
11921
12254
  "declaration": {
11922
- "name": "*",
11923
- "package": "./server-side.datasource"
12255
+ "name": "matchesRowCriteria",
12256
+ "module": "src/datasource/row-match.types.ts"
11924
12257
  }
11925
12258
  }
11926
12259
  ]
@@ -18606,65 +18939,210 @@
18606
18939
  "fieldName": "labelKey"
18607
18940
  },
18608
18941
  {
18609
- "name": "dropdown-placement",
18942
+ "name": "dropdown-placement",
18943
+ "type": {
18944
+ "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
18945
+ },
18946
+ "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",
18947
+ "fieldName": "dropdownPlacement"
18948
+ },
18949
+ {
18950
+ "name": "dropdownWidth",
18951
+ "type": {
18952
+ "text": "number"
18953
+ },
18954
+ "description": "Optionally specifies the width of the dropdown",
18955
+ "fieldName": "dropdownWidth"
18956
+ }
18957
+ ],
18958
+ "mixins": [
18959
+ {
18960
+ "name": "LifecycleMixin",
18961
+ "package": "@genesislcap/foundation-utils"
18962
+ }
18963
+ ],
18964
+ "superclass": {
18965
+ "name": "FoundationElement",
18966
+ "package": "@microsoft/fast-foundation"
18967
+ },
18968
+ "tagName": "%%prefix%%-multicolumn-dropdown",
18969
+ "customElement": true
18970
+ },
18971
+ {
18972
+ "kind": "variable",
18973
+ "name": "foundationMulticolumnDropdown",
18974
+ "description": "A function that returns a Multicolumn Dropdown registration for configuring the component with a DesignSystem.",
18975
+ "privacy": "public"
18976
+ }
18977
+ ],
18978
+ "exports": [
18979
+ {
18980
+ "kind": "js",
18981
+ "name": "wasClickOutsideElement",
18982
+ "declaration": {
18983
+ "name": "wasClickOutsideElement",
18984
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
18985
+ }
18986
+ },
18987
+ {
18988
+ "kind": "js",
18989
+ "name": "MulticolumnDropdown",
18990
+ "declaration": {
18991
+ "name": "MulticolumnDropdown",
18992
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
18993
+ }
18994
+ },
18995
+ {
18996
+ "kind": "js",
18997
+ "name": "foundationMulticolumnDropdown",
18998
+ "declaration": {
18999
+ "name": "foundationMulticolumnDropdown",
19000
+ "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
19001
+ }
19002
+ }
19003
+ ]
19004
+ },
19005
+ {
19006
+ "kind": "javascript-module",
19007
+ "path": "src/row-alert/index.ts",
19008
+ "declarations": [],
19009
+ "exports": [
19010
+ {
19011
+ "kind": "js",
19012
+ "name": "*",
19013
+ "declaration": {
19014
+ "name": "*",
19015
+ "package": "./row-alert"
19016
+ }
19017
+ },
19018
+ {
19019
+ "kind": "js",
19020
+ "name": "*",
19021
+ "declaration": {
19022
+ "name": "*",
19023
+ "package": "./row-alert.types"
19024
+ }
19025
+ }
19026
+ ]
19027
+ },
19028
+ {
19029
+ "kind": "javascript-module",
19030
+ "path": "src/row-alert/row-alert.ts",
19031
+ "declarations": [
19032
+ {
19033
+ "kind": "function",
19034
+ "name": "createRowAlert",
19035
+ "return": {
19036
+ "type": {
19037
+ "text": "RowAlert"
19038
+ }
19039
+ },
19040
+ "parameters": [
19041
+ {
19042
+ "name": "criteria",
18610
19043
  "type": {
18611
- "text": "'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'"
18612
- },
18613
- "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",
18614
- "fieldName": "dropdownPlacement"
19044
+ "text": "RowMatchCriteria"
19045
+ }
18615
19046
  },
18616
19047
  {
18617
- "name": "dropdownWidth",
19048
+ "name": "options",
19049
+ "default": "{}",
18618
19050
  "type": {
18619
- "text": "number"
18620
- },
18621
- "description": "Optionally specifies the width of the dropdown",
18622
- "fieldName": "dropdownWidth"
18623
- }
18624
- ],
18625
- "mixins": [
18626
- {
18627
- "name": "LifecycleMixin",
18628
- "package": "@genesislcap/foundation-utils"
19051
+ "text": "RowAlertOptions"
19052
+ }
18629
19053
  }
18630
19054
  ],
18631
- "superclass": {
18632
- "name": "FoundationElement",
18633
- "package": "@microsoft/fast-foundation"
19055
+ "description": "Builds the class rules that flash rows matching `criteria`, together with the context menu\nthat lets a user recolor, retime, or narrow that flash to a single cell.\n\nThe rules are created once and never replaced, because a grid backed by a Genesis datasource\nkeeps the options it was created with — handing it new rules later would change nothing. Each\nrule instead asks, as it runs, whether its scope is the one currently selected, so switching\ntarget only needs the rows redrawn.\n\n```ts\nconst alert = createRowAlert(criteria, { persistPreferencesKey: 'orders.row-alert' });\ngridOptions = {\n rowClassRules: alert.rowClassRules,\n defaultColDef: alert.defaultColDef,\n getContextMenuItems: alert.getContextMenuItems,\n};\n```\n\nAlerts sharing a `persistPreferencesKey` share their preferences, so a page of grids that each\nwatch for something different still answers to one setting.\n\nPairs with DatasourceRowMatchTracker: give both the same criteria and a tab can say\nthere is work to do while the grid shows which rows it meant.",
19056
+ "privacy": "public"
19057
+ }
19058
+ ],
19059
+ "exports": [
19060
+ {
19061
+ "kind": "js",
19062
+ "name": "createRowAlert",
19063
+ "declaration": {
19064
+ "name": "createRowAlert",
19065
+ "module": "src/row-alert/row-alert.ts"
19066
+ }
19067
+ }
19068
+ ]
19069
+ },
19070
+ {
19071
+ "kind": "javascript-module",
19072
+ "path": "src/row-alert/row-alert.types.ts",
19073
+ "declarations": [
19074
+ {
19075
+ "kind": "variable",
19076
+ "name": "defaultRowAlertColorPresets",
19077
+ "type": {
19078
+ "text": "[\n { id: 'error', label: 'Error', value: 'var(--error-fill-rest, #c62828)' },\n { id: 'warning', label: 'Warning', value: 'var(--warning-fill-rest, #ef6c00)' },\n { id: 'success', label: 'Success', value: 'var(--success-fill-rest, #2e7d32)' },\n { id: 'accent', label: 'Accent', value: 'var(--accent-fill-rest, #1565c0)' },\n { id: 'neutral', label: 'Neutral', value: 'var(--neutral-fill-rest, #546e7a)' },\n]"
18634
19079
  },
18635
- "tagName": "%%prefix%%-multicolumn-dropdown",
18636
- "customElement": true
19080
+ "default": "[\n { id: 'error', label: 'Error', value: 'var(--error-fill-rest, #c62828)' },\n { id: 'warning', label: 'Warning', value: 'var(--warning-fill-rest, #ef6c00)' },\n { id: 'success', label: 'Success', value: 'var(--success-fill-rest, #2e7d32)' },\n { id: 'accent', label: 'Accent', value: 'var(--accent-fill-rest, #1565c0)' },\n { id: 'neutral', label: 'Neutral', value: 'var(--neutral-fill-rest, #546e7a)' },\n]",
19081
+ "description": "Colors offered by default. Each resolves a design token so the menu follows the host\napplication's theme, falling back to a fixed color for design systems that lack the token.",
19082
+ "privacy": "public"
18637
19083
  },
18638
19084
  {
18639
19085
  "kind": "variable",
18640
- "name": "foundationMulticolumnDropdown",
18641
- "description": "A function that returns a Multicolumn Dropdown registration for configuring the component with a DesignSystem.",
19086
+ "name": "defaultRowAlertRatePresets",
19087
+ "type": {
19088
+ "text": "[\n { id: 'slow', label: 'Slow', value: 1400 },\n { id: 'normal', label: 'Normal', value: 1000 },\n { id: 'fast', label: 'Fast', value: 500 },\n]"
19089
+ },
19090
+ "default": "[\n { id: 'slow', label: 'Slow', value: 1400 },\n { id: 'normal', label: 'Normal', value: 1000 },\n { id: 'fast', label: 'Fast', value: 500 },\n]",
19091
+ "description": "Flash rates offered by default.",
19092
+ "privacy": "public"
19093
+ },
19094
+ {
19095
+ "kind": "variable",
19096
+ "name": "defaultRowAlertScopePresets",
19097
+ "type": {
19098
+ "text": "[\n { id: 'row', label: 'Whole row', value: 'row' },\n { id: 'cell', label: 'Alert field cell', value: 'cell' },\n]"
19099
+ },
19100
+ "default": "[\n { id: 'row', label: 'Whole row', value: 'row' },\n { id: 'cell', label: 'Alert field cell', value: 'cell' },\n]",
19101
+ "description": "Flash targets offered by default. Cell scope only has an effect when the criteria name a\n`flashField`.",
19102
+ "privacy": "public"
19103
+ },
19104
+ {
19105
+ "kind": "variable",
19106
+ "name": "defaultRowAlertPreferences",
19107
+ "type": {
19108
+ "text": "RowAlertPreferences"
19109
+ },
19110
+ "default": "{\n color: defaultRowAlertColorPresets[0].value,\n durationMs: defaultRowAlertRatePresets[1].value,\n scope: 'row',\n}",
19111
+ "description": "Where preferences start before a user changes anything.",
18642
19112
  "privacy": "public"
18643
19113
  }
18644
19114
  ],
18645
19115
  "exports": [
18646
19116
  {
18647
19117
  "kind": "js",
18648
- "name": "wasClickOutsideElement",
19118
+ "name": "defaultRowAlertColorPresets",
18649
19119
  "declaration": {
18650
- "name": "wasClickOutsideElement",
18651
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
19120
+ "name": "defaultRowAlertColorPresets",
19121
+ "module": "src/row-alert/row-alert.types.ts"
18652
19122
  }
18653
19123
  },
18654
19124
  {
18655
19125
  "kind": "js",
18656
- "name": "MulticolumnDropdown",
19126
+ "name": "defaultRowAlertRatePresets",
18657
19127
  "declaration": {
18658
- "name": "MulticolumnDropdown",
18659
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
19128
+ "name": "defaultRowAlertRatePresets",
19129
+ "module": "src/row-alert/row-alert.types.ts"
18660
19130
  }
18661
19131
  },
18662
19132
  {
18663
19133
  "kind": "js",
18664
- "name": "foundationMulticolumnDropdown",
19134
+ "name": "defaultRowAlertScopePresets",
18665
19135
  "declaration": {
18666
- "name": "foundationMulticolumnDropdown",
18667
- "module": "src/multicolumn-dropdown/multicolumn-dropdown.ts"
19136
+ "name": "defaultRowAlertScopePresets",
19137
+ "module": "src/row-alert/row-alert.types.ts"
19138
+ }
19139
+ },
19140
+ {
19141
+ "kind": "js",
19142
+ "name": "defaultRowAlertPreferences",
19143
+ "declaration": {
19144
+ "name": "defaultRowAlertPreferences",
19145
+ "module": "src/row-alert/row-alert.types.ts"
18668
19146
  }
18669
19147
  }
18670
19148
  ]
@@ -18837,6 +19315,46 @@
18837
19315
  }
18838
19316
  }
18839
19317
  ]
19318
+ },
19319
+ {
19320
+ "kind": "method",
19321
+ "name": "getRowAlertPreferences",
19322
+ "return": {
19323
+ "type": {
19324
+ "text": "Promise<Partial<RowAlertPreferences>>"
19325
+ }
19326
+ },
19327
+ "parameters": [
19328
+ {
19329
+ "name": "persistRowAlertKey",
19330
+ "type": {
19331
+ "text": "string"
19332
+ }
19333
+ }
19334
+ ]
19335
+ },
19336
+ {
19337
+ "kind": "method",
19338
+ "name": "saveRowAlertPreferences",
19339
+ "return": {
19340
+ "type": {
19341
+ "text": "Promise<void>"
19342
+ }
19343
+ },
19344
+ "parameters": [
19345
+ {
19346
+ "name": "persistRowAlertKey",
19347
+ "type": {
19348
+ "text": "string"
19349
+ }
19350
+ },
19351
+ {
19352
+ "name": "preferences",
19353
+ "type": {
19354
+ "text": "RowAlertPreferences"
19355
+ }
19356
+ }
19357
+ ]
18840
19358
  }
18841
19359
  ]
18842
19360
  }
@@ -18964,6 +19482,46 @@
18964
19482
  }
18965
19483
  }
18966
19484
  ]
19485
+ },
19486
+ {
19487
+ "kind": "method",
19488
+ "name": "getRowAlertPreferences",
19489
+ "return": {
19490
+ "type": {
19491
+ "text": "Promise<Partial<RowAlertPreferences>>"
19492
+ }
19493
+ },
19494
+ "parameters": [
19495
+ {
19496
+ "name": "persistRowAlertKey",
19497
+ "type": {
19498
+ "text": "string"
19499
+ }
19500
+ }
19501
+ ]
19502
+ },
19503
+ {
19504
+ "kind": "method",
19505
+ "name": "saveRowAlertPreferences",
19506
+ "return": {
19507
+ "type": {
19508
+ "text": "Promise<void>"
19509
+ }
19510
+ },
19511
+ "parameters": [
19512
+ {
19513
+ "name": "persistRowAlertKey",
19514
+ "type": {
19515
+ "text": "string"
19516
+ }
19517
+ },
19518
+ {
19519
+ "name": "preferences",
19520
+ "type": {
19521
+ "text": "RowAlertPreferences"
19522
+ }
19523
+ }
19524
+ ]
18967
19525
  }
18968
19526
  ]
18969
19527
  }
@@ -19976,6 +20534,60 @@
19976
20534
  }
19977
20535
  ]
19978
20536
  },
20537
+ {
20538
+ "kind": "javascript-module",
20539
+ "path": "src/cell-renderers/utils/accessor.ts",
20540
+ "declarations": [
20541
+ {
20542
+ "kind": "function",
20543
+ "name": "setValueWithAccessor",
20544
+ "return": {
20545
+ "type": {
20546
+ "text": "string"
20547
+ }
20548
+ },
20549
+ "parameters": [
20550
+ {
20551
+ "name": "data",
20552
+ "type": {
20553
+ "text": "any"
20554
+ }
20555
+ },
20556
+ {
20557
+ "name": "accessor",
20558
+ "type": {
20559
+ "text": "string"
20560
+ }
20561
+ }
20562
+ ]
20563
+ }
20564
+ ],
20565
+ "exports": [
20566
+ {
20567
+ "kind": "js",
20568
+ "name": "setValueWithAccessor",
20569
+ "declaration": {
20570
+ "name": "setValueWithAccessor",
20571
+ "module": "src/cell-renderers/utils/accessor.ts"
20572
+ }
20573
+ }
20574
+ ]
20575
+ },
20576
+ {
20577
+ "kind": "javascript-module",
20578
+ "path": "src/cell-renderers/utils/index.ts",
20579
+ "declarations": [],
20580
+ "exports": [
20581
+ {
20582
+ "kind": "js",
20583
+ "name": "*",
20584
+ "declaration": {
20585
+ "name": "*",
20586
+ "package": "./accessor"
20587
+ }
20588
+ }
20589
+ ]
20590
+ },
19979
20591
  {
19980
20592
  "kind": "javascript-module",
19981
20593
  "path": "src/column/utils/grid-pro-columns.ts",
@@ -20069,60 +20681,6 @@
20069
20681
  }
20070
20682
  }
20071
20683
  ]
20072
- },
20073
- {
20074
- "kind": "javascript-module",
20075
- "path": "src/cell-renderers/utils/accessor.ts",
20076
- "declarations": [
20077
- {
20078
- "kind": "function",
20079
- "name": "setValueWithAccessor",
20080
- "return": {
20081
- "type": {
20082
- "text": "string"
20083
- }
20084
- },
20085
- "parameters": [
20086
- {
20087
- "name": "data",
20088
- "type": {
20089
- "text": "any"
20090
- }
20091
- },
20092
- {
20093
- "name": "accessor",
20094
- "type": {
20095
- "text": "string"
20096
- }
20097
- }
20098
- ]
20099
- }
20100
- ],
20101
- "exports": [
20102
- {
20103
- "kind": "js",
20104
- "name": "setValueWithAccessor",
20105
- "declaration": {
20106
- "name": "setValueWithAccessor",
20107
- "module": "src/cell-renderers/utils/accessor.ts"
20108
- }
20109
- }
20110
- ]
20111
- },
20112
- {
20113
- "kind": "javascript-module",
20114
- "path": "src/cell-renderers/utils/index.ts",
20115
- "declarations": [],
20116
- "exports": [
20117
- {
20118
- "kind": "js",
20119
- "name": "*",
20120
- "declaration": {
20121
- "name": "*",
20122
- "package": "./accessor"
20123
- }
20124
- }
20125
- ]
20126
20684
  }
20127
20685
  ]
20128
20686
  }