@genesislcap/grid-pro 15.15.3-alpha-6d9a143.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 +973 -415
  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 +9 -9
  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 +6 -6
  41. package/dist/react.mjs +5 -5
  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,71 +5266,48 @@
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",
5276
+ "name": "GridProCell",
5261
5277
  "declaration": {
5262
- "name": "StringEditor",
5263
- "module": "src/cell-editors/string.editor.ts"
5278
+ "name": "GridProCell",
5279
+ "module": "src/cell/cell.ts"
5264
5280
  }
5265
5281
  },
5266
5282
  {
5267
- "kind": "js",
5268
- "name": "agStringEditorStyles",
5283
+ "kind": "custom-element-definition",
5284
+ "name": "grid-pro-cell",
5269
5285
  "declaration": {
5270
- "name": "agStringEditorStyles",
5271
- "module": "src/cell-editors/string.editor.ts"
5286
+ "name": "GridProCell",
5287
+ "module": "src/cell/cell.ts"
5272
5288
  }
5273
- },
5289
+ }
5290
+ ]
5291
+ },
5292
+ {
5293
+ "kind": "javascript-module",
5294
+ "path": "src/cell/index.ts",
5295
+ "declarations": [],
5296
+ "exports": [
5274
5297
  {
5275
5298
  "kind": "js",
5276
- "name": "getStringEditorTemplate",
5299
+ "name": "*",
5277
5300
  "declaration": {
5278
- "name": "getStringEditorTemplate",
5279
- "module": "src/cell-editors/string.editor.ts"
5301
+ "name": "*",
5302
+ "package": "./cell.template"
5280
5303
  }
5281
5304
  },
5282
5305
  {
5283
5306
  "kind": "js",
5284
- "name": "foundationStringEditor",
5307
+ "name": "*",
5285
5308
  "declaration": {
5286
- "name": "foundationStringEditor",
5287
- "module": "src/cell-editors/string.editor.ts"
5309
+ "name": "*",
5310
+ "package": "./cell"
5288
5311
  }
5289
5312
  }
5290
5313
  ]
@@ -11843,9 +11866,341 @@
11843
11866
  }
11844
11867
  },
11845
11868
  {
11846
- "name": "gridErrorItems",
11847
- "type": {
11848
- "text": "GridProErrorItem<any>[]"
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
+ }
11849
12204
  }
11850
12205
  }
11851
12206
  ]
@@ -11854,73 +12209,51 @@
11854
12209
  "exports": [
11855
12210
  {
11856
12211
  "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",
12212
+ "name": "DatasourceRowMatchTracker",
11866
12213
  "declaration": {
11867
- "name": "getErrorHandlerDialogTemplate",
11868
- "module": "src/datasource/error-handler.dialog.ts"
12214
+ "name": "DatasourceRowMatchTracker",
12215
+ "module": "src/datasource/row-match.tracker.ts"
11869
12216
  }
11870
12217
  }
11871
12218
  ]
11872
12219
  },
11873
12220
  {
11874
12221
  "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
- },
12222
+ "path": "src/datasource/row-match.types.ts",
12223
+ "declarations": [
11910
12224
  {
11911
- "kind": "js",
11912
- "name": "*",
11913
- "declaration": {
11914
- "name": "*",
11915
- "package": "./datasource.types"
11916
- }
11917
- },
12225
+ "kind": "function",
12226
+ "name": "matchesRowCriteria",
12227
+ "return": {
12228
+ "type": {
12229
+ "text": "boolean"
12230
+ }
12231
+ },
12232
+ "parameters": [
12233
+ {
12234
+ "name": "criteria",
12235
+ "type": {
12236
+ "text": "RowMatchCriteria"
12237
+ }
12238
+ },
12239
+ {
12240
+ "name": "row",
12241
+ "type": {
12242
+ "text": "Record<string, unknown> | null | undefined"
12243
+ }
12244
+ }
12245
+ ],
12246
+ "description": "True when the row satisfies any resolved AND-group.",
12247
+ "privacy": "public"
12248
+ }
12249
+ ],
12250
+ "exports": [
11918
12251
  {
11919
12252
  "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
  ]
@@ -18669,6 +19002,151 @@
18669
19002
  }
18670
19003
  ]
18671
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",
19043
+ "type": {
19044
+ "text": "RowMatchCriteria"
19045
+ }
19046
+ },
19047
+ {
19048
+ "name": "options",
19049
+ "default": "{}",
19050
+ "type": {
19051
+ "text": "RowAlertOptions"
19052
+ }
19053
+ }
19054
+ ],
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]"
19079
+ },
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"
19083
+ },
19084
+ {
19085
+ "kind": "variable",
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.",
19112
+ "privacy": "public"
19113
+ }
19114
+ ],
19115
+ "exports": [
19116
+ {
19117
+ "kind": "js",
19118
+ "name": "defaultRowAlertColorPresets",
19119
+ "declaration": {
19120
+ "name": "defaultRowAlertColorPresets",
19121
+ "module": "src/row-alert/row-alert.types.ts"
19122
+ }
19123
+ },
19124
+ {
19125
+ "kind": "js",
19126
+ "name": "defaultRowAlertRatePresets",
19127
+ "declaration": {
19128
+ "name": "defaultRowAlertRatePresets",
19129
+ "module": "src/row-alert/row-alert.types.ts"
19130
+ }
19131
+ },
19132
+ {
19133
+ "kind": "js",
19134
+ "name": "defaultRowAlertScopePresets",
19135
+ "declaration": {
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"
19146
+ }
19147
+ }
19148
+ ]
19149
+ },
18672
19150
  {
18673
19151
  "kind": "javascript-module",
18674
19152
  "path": "src/state-persistence/index.ts",
@@ -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
  }