@genesislcap/foundation-ui 14.488.2 → 14.489.0-GENC-1351.10

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.
@@ -844,6 +844,14 @@
844
844
  "package": "./utils/editable-elements"
845
845
  }
846
846
  },
847
+ {
848
+ "kind": "js",
849
+ "name": "*",
850
+ "declaration": {
851
+ "name": "*",
852
+ "package": "./utils/event-types"
853
+ }
854
+ },
847
855
  {
848
856
  "kind": "js",
849
857
  "name": "getDesignSystemPrefix",
@@ -1400,11 +1408,34 @@
1400
1408
  },
1401
1409
  {
1402
1410
  "kind": "javascript-module",
1403
- "path": "src/accordion/accordion.styles.ts",
1411
+ "path": "src/actions-menu/actions-menu.styles.ts",
1404
1412
  "declarations": [
1405
1413
  {
1406
1414
  "kind": "function",
1407
- "name": "foundationAccordionStyles",
1415
+ "name": "actionsMenuBaseStyles",
1416
+ "return": {
1417
+ "type": {
1418
+ "text": "ElementStyles"
1419
+ }
1420
+ },
1421
+ "parameters": [
1422
+ {
1423
+ "name": "context",
1424
+ "type": {
1425
+ "text": "ElementDefinitionContext"
1426
+ }
1427
+ },
1428
+ {
1429
+ "name": "definition",
1430
+ "type": {
1431
+ "text": "FoundationElementDefinition"
1432
+ }
1433
+ }
1434
+ ]
1435
+ },
1436
+ {
1437
+ "kind": "function",
1438
+ "name": "foundationActionsMenuStyles",
1408
1439
  "return": {
1409
1440
  "type": {
1410
1441
  "text": "ElementStyles"
@@ -1429,277 +1460,269 @@
1429
1460
  "exports": [
1430
1461
  {
1431
1462
  "kind": "js",
1432
- "name": "foundationAccordionStyles",
1463
+ "name": "actionsMenuBaseStyles",
1433
1464
  "declaration": {
1434
- "name": "foundationAccordionStyles",
1435
- "module": "src/accordion/accordion.styles.ts"
1465
+ "name": "actionsMenuBaseStyles",
1466
+ "module": "src/actions-menu/actions-menu.styles.ts"
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "foundationActionsMenuStyles",
1472
+ "declaration": {
1473
+ "name": "foundationActionsMenuStyles",
1474
+ "module": "src/actions-menu/actions-menu.styles.ts"
1436
1475
  }
1437
1476
  }
1438
1477
  ]
1439
1478
  },
1440
1479
  {
1441
1480
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.template.ts",
1481
+ "path": "src/actions-menu/actions-menu.template.ts",
1443
1482
  "declarations": [
1444
1483
  {
1445
1484
  "kind": "function",
1446
- "name": "foundationAccordionTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<Accordion>"
1450
- }
1451
- },
1485
+ "name": "menuTemplate",
1452
1486
  "parameters": [
1453
1487
  {
1454
- "name": "context",
1488
+ "name": "prefix",
1455
1489
  "type": {
1456
- "text": "ElementDefinitionContext"
1490
+ "text": "string"
1457
1491
  }
1458
- },
1492
+ }
1493
+ ]
1494
+ },
1495
+ {
1496
+ "kind": "function",
1497
+ "name": "singleOptionTemplate",
1498
+ "parameters": [
1459
1499
  {
1460
- "name": "definition",
1500
+ "name": "prefix",
1461
1501
  "type": {
1462
- "text": "FoundationElementDefinition"
1502
+ "text": "string"
1463
1503
  }
1464
1504
  }
1465
1505
  ]
1506
+ },
1507
+ {
1508
+ "kind": "variable",
1509
+ "name": "foundationActionsMenuTemplate",
1510
+ "type": {
1511
+ "text": "ViewTemplate<ActionsMenu>"
1512
+ },
1513
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1466
1514
  }
1467
1515
  ],
1468
1516
  "exports": [
1469
1517
  {
1470
1518
  "kind": "js",
1471
- "name": "foundationAccordionTemplate",
1519
+ "name": "menuTemplate",
1472
1520
  "declaration": {
1473
- "name": "foundationAccordionTemplate",
1474
- "module": "src/accordion/accordion.template.ts"
1521
+ "name": "menuTemplate",
1522
+ "module": "src/actions-menu/actions-menu.template.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "singleOptionTemplate",
1528
+ "declaration": {
1529
+ "name": "singleOptionTemplate",
1530
+ "module": "src/actions-menu/actions-menu.template.ts"
1531
+ }
1532
+ },
1533
+ {
1534
+ "kind": "js",
1535
+ "name": "foundationActionsMenuTemplate",
1536
+ "declaration": {
1537
+ "name": "foundationActionsMenuTemplate",
1538
+ "module": "src/actions-menu/actions-menu.template.ts"
1475
1539
  }
1476
1540
  }
1477
1541
  ]
1478
1542
  },
1479
1543
  {
1480
1544
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.ts",
1545
+ "path": "src/actions-menu/actions-menu.ts",
1482
1546
  "declarations": [
1483
1547
  {
1484
1548
  "kind": "class",
1485
1549
  "description": "",
1486
- "name": "Accordion",
1487
- "superclass": {
1488
- "name": "FASTAccordion",
1489
- "package": "@microsoft/fast-foundation"
1490
- },
1491
- "tagName": "%%prefix%%-accordion",
1492
- "customElement": true,
1493
- "attributes": [
1550
+ "name": "ActionsMenu",
1551
+ "members": [
1494
1552
  {
1495
- "name": "expand-mode",
1553
+ "kind": "field",
1554
+ "name": "actions",
1496
1555
  "type": {
1497
- "text": "AccordionExpandMode"
1498
- },
1499
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
- "fieldName": "expandmode",
1501
- "inheritedFrom": {
1502
- "name": "Accordion",
1503
- "module": "src/accordion/accordion.ts"
1556
+ "text": "ActionMenuItem[]"
1504
1557
  }
1505
- }
1506
- ],
1507
- "members": [
1558
+ },
1508
1559
  {
1509
1560
  "kind": "field",
1510
- "name": "expandmode",
1561
+ "name": "isVertical",
1511
1562
  "type": {
1512
- "text": "AccordionExpandMode"
1563
+ "text": "boolean"
1513
1564
  },
1514
- "privacy": "public",
1515
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
- "inheritedFrom": {
1517
- "name": "Accordion",
1518
- "module": "src/accordion/accordion.ts"
1519
- }
1565
+ "default": "false"
1520
1566
  },
1521
1567
  {
1522
1568
  "kind": "field",
1523
- "name": "activeid",
1569
+ "name": "addDefaultActions",
1524
1570
  "type": {
1525
- "text": "string | null"
1571
+ "text": "boolean"
1526
1572
  },
1527
- "privacy": "private",
1528
- "inheritedFrom": {
1529
- "name": "Accordion",
1530
- "module": "src/accordion/accordion.ts"
1531
- }
1573
+ "default": "true"
1532
1574
  },
1533
1575
  {
1534
1576
  "kind": "field",
1535
- "name": "activeItemIndex",
1577
+ "name": "autoCloseOnAction",
1536
1578
  "type": {
1537
- "text": "number"
1579
+ "text": "boolean"
1538
1580
  },
1539
- "privacy": "private",
1540
- "default": "0",
1541
- "inheritedFrom": {
1542
- "name": "Accordion",
1543
- "module": "src/accordion/accordion.ts"
1544
- }
1581
+ "default": "true"
1545
1582
  },
1546
1583
  {
1547
1584
  "kind": "field",
1548
- "name": "accordionIds",
1585
+ "name": "classNames",
1549
1586
  "type": {
1550
- "text": "Array<string | null>"
1551
- },
1552
- "privacy": "private",
1553
- "inheritedFrom": {
1554
- "name": "Accordion",
1555
- "module": "src/accordion/accordion.ts"
1587
+ "text": "string"
1556
1588
  }
1557
1589
  },
1558
1590
  {
1559
1591
  "kind": "field",
1560
- "name": "change",
1561
- "privacy": "private",
1562
- "inheritedFrom": {
1563
- "name": "Accordion",
1564
- "module": "src/accordion/accordion.ts"
1592
+ "name": "definition",
1593
+ "type": {
1594
+ "text": "any"
1565
1595
  }
1566
1596
  },
1567
1597
  {
1568
- "kind": "method",
1569
- "name": "findExpandedItem",
1570
- "privacy": "private",
1571
- "return": {
1572
- "type": {
1573
- "text": "AccordionItem | null"
1574
- }
1598
+ "kind": "field",
1599
+ "name": "name",
1600
+ "type": {
1601
+ "text": "string"
1575
1602
  },
1576
- "inheritedFrom": {
1577
- "name": "Accordion",
1578
- "module": "src/accordion/accordion.ts"
1579
- }
1603
+ "default": "'Actions'"
1580
1604
  },
1581
1605
  {
1582
1606
  "kind": "field",
1583
- "name": "setItems",
1584
- "privacy": "private",
1585
- "inheritedFrom": {
1586
- "name": "Accordion",
1587
- "module": "src/accordion/accordion.ts"
1607
+ "name": "open",
1608
+ "type": {
1609
+ "text": "boolean"
1610
+ },
1611
+ "default": "false"
1612
+ },
1613
+ {
1614
+ "kind": "field",
1615
+ "name": "buttonAppearance",
1616
+ "type": {
1617
+ "text": "string"
1588
1618
  }
1589
1619
  },
1590
1620
  {
1591
- "kind": "method",
1592
- "name": "resetItems",
1593
- "privacy": "private",
1594
- "return": {
1595
- "type": {
1596
- "text": "void"
1597
- }
1621
+ "kind": "field",
1622
+ "name": "hideDisabled",
1623
+ "type": {
1624
+ "text": "boolean"
1598
1625
  },
1599
- "inheritedFrom": {
1600
- "name": "Accordion",
1601
- "module": "src/accordion/accordion.ts"
1602
- }
1626
+ "default": "false"
1603
1627
  },
1604
1628
  {
1605
1629
  "kind": "field",
1606
- "name": "removeItemListeners",
1607
- "privacy": "private",
1608
- "inheritedFrom": {
1609
- "name": "Accordion",
1610
- "module": "src/accordion/accordion.ts"
1630
+ "name": "hideMenuSingleOption",
1631
+ "type": {
1632
+ "text": "boolean"
1633
+ },
1634
+ "default": "false"
1635
+ },
1636
+ {
1637
+ "kind": "field",
1638
+ "name": "singleOption",
1639
+ "type": {
1640
+ "text": "ActionMenuItem"
1611
1641
  }
1612
1642
  },
1613
1643
  {
1614
1644
  "kind": "field",
1615
- "name": "activeItemChange",
1616
- "privacy": "private",
1617
- "inheritedFrom": {
1618
- "name": "Accordion",
1619
- "module": "src/accordion/accordion.ts"
1645
+ "name": "actionsMenu",
1646
+ "type": {
1647
+ "text": "HTMLElement"
1620
1648
  }
1621
1649
  },
1622
1650
  {
1623
1651
  "kind": "method",
1624
- "name": "getItemIds",
1625
- "privacy": "private",
1626
- "return": {
1627
- "type": {
1628
- "text": "Array<string | null>"
1652
+ "name": "definitionChanged",
1653
+ "privacy": "protected",
1654
+ "parameters": [
1655
+ {
1656
+ "name": "oldValue",
1657
+ "type": {
1658
+ "text": "any"
1659
+ }
1660
+ },
1661
+ {
1662
+ "name": "newValue",
1663
+ "type": {
1664
+ "text": "any"
1665
+ }
1629
1666
  }
1630
- },
1631
- "inheritedFrom": {
1632
- "name": "Accordion",
1633
- "module": "src/accordion/accordion.ts"
1634
- }
1667
+ ]
1635
1668
  },
1636
1669
  {
1637
1670
  "kind": "method",
1638
- "name": "isSingleExpandMode",
1639
- "privacy": "private",
1640
- "return": {
1641
- "type": {
1642
- "text": "boolean"
1671
+ "name": "openChanged",
1672
+ "privacy": "protected"
1673
+ },
1674
+ {
1675
+ "kind": "method",
1676
+ "name": "toggleActionsMenuVisibility"
1677
+ },
1678
+ {
1679
+ "kind": "method",
1680
+ "name": "onActionMenuItemClick",
1681
+ "parameters": [
1682
+ {
1683
+ "name": "callback",
1684
+ "type": {
1685
+ "text": "(rowData) => void | any"
1686
+ }
1643
1687
  }
1644
- },
1645
- "inheritedFrom": {
1646
- "name": "Accordion",
1647
- "module": "src/accordion/accordion.ts"
1648
- }
1688
+ ]
1649
1689
  },
1650
1690
  {
1651
1691
  "kind": "field",
1652
- "name": "handleItemKeyDown",
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1692
+ "name": "allActions",
1693
+ "type": {
1694
+ "text": "ActionMenuItem[]"
1695
+ },
1696
+ "readonly": true
1658
1697
  },
1659
1698
  {
1660
1699
  "kind": "field",
1661
- "name": "handleItemFocus",
1662
- "privacy": "private",
1663
- "inheritedFrom": {
1664
- "name": "Accordion",
1665
- "module": "src/accordion/accordion.ts"
1666
- }
1700
+ "name": "rowData",
1701
+ "readonly": true
1667
1702
  },
1668
1703
  {
1669
1704
  "kind": "method",
1670
- "name": "adjust",
1671
- "privacy": "private",
1672
- "return": {
1673
- "type": {
1674
- "text": "void"
1675
- }
1676
- },
1705
+ "name": "getLabel",
1677
1706
  "parameters": [
1678
1707
  {
1679
- "name": "adjustment",
1708
+ "name": "name",
1680
1709
  "type": {
1681
- "text": "number"
1710
+ "text": "string | ((rowData: any) => string)"
1682
1711
  }
1683
1712
  }
1684
- ],
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1688
- }
1713
+ ]
1689
1714
  },
1690
1715
  {
1691
1716
  "kind": "method",
1692
- "name": "focusItem",
1693
- "privacy": "private",
1694
- "return": {
1695
- "type": {
1696
- "text": "void"
1717
+ "name": "getTemplate",
1718
+ "parameters": [
1719
+ {
1720
+ "name": "prefix",
1721
+ "type": {
1722
+ "text": "string"
1723
+ }
1697
1724
  }
1698
- },
1699
- "inheritedFrom": {
1700
- "name": "Accordion",
1701
- "module": "src/accordion/accordion.ts"
1702
- }
1725
+ ]
1703
1726
  },
1704
1727
  {
1705
1728
  "kind": "field",
@@ -1813,109 +1836,107 @@
1813
1836
  }
1814
1837
  }
1815
1838
  ],
1816
- "events": [
1839
+ "attributes": [
1817
1840
  {
1818
- "description": "Fires a custom 'change' event when the active item changes",
1819
- "name": "change",
1820
- "inheritedFrom": {
1821
- "name": "Accordion",
1822
- "module": "src/accordion/accordion.ts"
1823
- }
1841
+ "name": "is-vertical",
1842
+ "type": {
1843
+ "text": "boolean"
1844
+ },
1845
+ "default": "false",
1846
+ "fieldName": "isVertical"
1847
+ },
1848
+ {
1849
+ "name": "add-default-actions",
1850
+ "type": {
1851
+ "text": "boolean"
1852
+ },
1853
+ "default": "true",
1854
+ "fieldName": "addDefaultActions"
1855
+ },
1856
+ {
1857
+ "name": "auto-close-on-action",
1858
+ "type": {
1859
+ "text": "boolean"
1860
+ },
1861
+ "default": "true",
1862
+ "fieldName": "autoCloseOnAction"
1863
+ },
1864
+ {
1865
+ "name": "name",
1866
+ "type": {
1867
+ "text": "string"
1868
+ },
1869
+ "default": "'Actions'",
1870
+ "fieldName": "name"
1871
+ },
1872
+ {
1873
+ "name": "open",
1874
+ "type": {
1875
+ "text": "boolean"
1876
+ },
1877
+ "default": "false",
1878
+ "fieldName": "open"
1879
+ },
1880
+ {
1881
+ "name": "buttonAppearance",
1882
+ "type": {
1883
+ "text": "string"
1884
+ },
1885
+ "fieldName": "buttonAppearance"
1886
+ },
1887
+ {
1888
+ "name": "hide-disabled",
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "false",
1893
+ "fieldName": "hideDisabled"
1894
+ },
1895
+ {
1896
+ "name": "hide-menu-single-option",
1897
+ "type": {
1898
+ "text": "boolean"
1899
+ },
1900
+ "default": "false",
1901
+ "fieldName": "hideMenuSingleOption"
1824
1902
  }
1825
- ]
1826
- },
1827
- {
1828
- "kind": "variable",
1829
- "name": "foundationAccordionShadowOptions",
1830
- "type": {
1831
- "text": "ShadowRootInit"
1832
- },
1833
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1834
- },
1835
- {
1836
- "kind": "variable",
1837
- "name": "defaultAccordionConfig",
1838
- "type": {
1839
- "text": "object"
1903
+ ],
1904
+ "superclass": {
1905
+ "name": "FoundationElement",
1906
+ "package": "@microsoft/fast-foundation"
1840
1907
  },
1841
- "default": "{}"
1908
+ "tagName": "%%prefix%%-actions-menu",
1909
+ "customElement": true
1842
1910
  },
1843
1911
  {
1844
1912
  "kind": "variable",
1845
- "name": "foundationAccordion",
1846
- "description": "The Foundation Accordion",
1913
+ "name": "foundationActionsMenu",
1914
+ "description": "The Foundation Actions Menu",
1847
1915
  "privacy": "public"
1848
1916
  }
1849
1917
  ],
1850
1918
  "exports": [
1851
1919
  {
1852
1920
  "kind": "js",
1853
- "name": "Accordion",
1854
- "declaration": {
1855
- "name": "Accordion",
1856
- "module": "src/accordion/accordion.ts"
1857
- }
1858
- },
1859
- {
1860
- "kind": "js",
1861
- "name": "foundationAccordionShadowOptions",
1862
- "declaration": {
1863
- "name": "foundationAccordionShadowOptions",
1864
- "module": "src/accordion/accordion.ts"
1865
- }
1866
- },
1867
- {
1868
- "kind": "js",
1869
- "name": "defaultAccordionConfig",
1870
- "declaration": {
1871
- "name": "defaultAccordionConfig",
1872
- "module": "src/accordion/accordion.ts"
1873
- }
1874
- },
1875
- {
1876
- "kind": "js",
1877
- "name": "foundationAccordion",
1878
- "declaration": {
1879
- "name": "foundationAccordion",
1880
- "module": "src/accordion/accordion.ts"
1881
- }
1882
- }
1883
- ]
1884
- },
1885
- {
1886
- "kind": "javascript-module",
1887
- "path": "src/accordion/index.ts",
1888
- "declarations": [],
1889
- "exports": [
1890
- {
1891
- "kind": "js",
1892
- "name": "*",
1893
- "declaration": {
1894
- "name": "*",
1895
- "package": "./accordion.template"
1896
- }
1897
- },
1898
- {
1899
- "kind": "js",
1900
- "name": "*",
1921
+ "name": "ActionsMenu",
1901
1922
  "declaration": {
1902
- "name": "*",
1903
- "package": "./accordion.styles"
1923
+ "name": "ActionsMenu",
1924
+ "module": "src/actions-menu/actions-menu.ts"
1904
1925
  }
1905
1926
  },
1906
1927
  {
1907
1928
  "kind": "js",
1908
- "name": "*",
1929
+ "name": "foundationActionsMenu",
1909
1930
  "declaration": {
1910
- "name": "*",
1911
- "package": "./accordion"
1931
+ "name": "foundationActionsMenu",
1932
+ "module": "src/actions-menu/actions-menu.ts"
1912
1933
  }
1913
1934
  }
1914
1935
  ]
1915
1936
  },
1916
1937
  {
1917
1938
  "kind": "javascript-module",
1918
- "path": "src/_config/index.ts",
1939
+ "path": "src/actions-menu/index.ts",
1919
1940
  "declarations": [],
1920
1941
  "exports": [
1921
1942
  {
@@ -1923,7 +1944,7 @@
1923
1944
  "name": "*",
1924
1945
  "declaration": {
1925
1946
  "name": "*",
1926
- "package": "./styles"
1947
+ "package": "./actions-menu.styles"
1927
1948
  }
1928
1949
  },
1929
1950
  {
@@ -1931,7 +1952,7 @@
1931
1952
  "name": "*",
1932
1953
  "declaration": {
1933
1954
  "name": "*",
1934
- "package": "./tokens"
1955
+ "package": "./actions-menu.template"
1935
1956
  }
1936
1957
  },
1937
1958
  {
@@ -1939,7 +1960,7 @@
1939
1960
  "name": "*",
1940
1961
  "declaration": {
1941
1962
  "name": "*",
1942
- "package": "./values"
1963
+ "package": "./actions-menu"
1943
1964
  }
1944
1965
  }
1945
1966
  ]
@@ -2340,34 +2361,42 @@
2340
2361
  },
2341
2362
  {
2342
2363
  "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2344
- "declarations": [
2364
+ "path": "src/_config/index.ts",
2365
+ "declarations": [],
2366
+ "exports": [
2345
2367
  {
2346
- "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2368
+ "kind": "js",
2369
+ "name": "*",
2370
+ "declaration": {
2371
+ "name": "*",
2372
+ "package": "./styles"
2373
+ }
2367
2374
  },
2375
+ {
2376
+ "kind": "js",
2377
+ "name": "*",
2378
+ "declaration": {
2379
+ "name": "*",
2380
+ "package": "./tokens"
2381
+ }
2382
+ },
2383
+ {
2384
+ "kind": "js",
2385
+ "name": "*",
2386
+ "declaration": {
2387
+ "name": "*",
2388
+ "package": "./values"
2389
+ }
2390
+ }
2391
+ ]
2392
+ },
2393
+ {
2394
+ "kind": "javascript-module",
2395
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2396
+ "declarations": [
2368
2397
  {
2369
2398
  "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2399
+ "name": "foundationAiIndicatorStyles",
2371
2400
  "return": {
2372
2401
  "type": {
2373
2402
  "text": "ElementStyles"
@@ -2392,269 +2421,225 @@
2392
2421
  "exports": [
2393
2422
  {
2394
2423
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2424
+ "name": "foundationAiIndicatorStyles",
2404
2425
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2426
+ "name": "foundationAiIndicatorStyles",
2427
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2407
2428
  }
2408
2429
  }
2409
2430
  ]
2410
2431
  },
2411
2432
  {
2412
2433
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2434
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2414
2435
  "declarations": [
2415
- {
2416
- "kind": "function",
2417
- "name": "menuTemplate",
2418
- "parameters": [
2419
- {
2420
- "name": "prefix",
2421
- "type": {
2422
- "text": "string"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2431
- {
2432
- "name": "prefix",
2433
- "type": {
2434
- "text": "string"
2435
- }
2436
- }
2437
- ]
2438
- },
2439
2436
  {
2440
2437
  "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2438
+ "name": "foundationAiIndicatorTemplate",
2442
2439
  "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2440
+ "text": "ViewTemplate<AiIndicator>"
2444
2441
  },
2445
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2442
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2446
2443
  }
2447
2444
  ],
2448
2445
  "exports": [
2449
2446
  {
2450
2447
  "kind": "js",
2451
- "name": "menuTemplate",
2452
- "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2448
+ "name": "foundationAiIndicatorTemplate",
2468
2449
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2450
+ "name": "foundationAiIndicatorTemplate",
2451
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2471
2452
  }
2472
2453
  }
2473
2454
  ]
2474
2455
  },
2475
2456
  {
2476
2457
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2458
+ "path": "src/ai-indicator/ai-indicator.ts",
2478
2459
  "declarations": [
2479
2460
  {
2480
2461
  "kind": "class",
2481
2462
  "description": "",
2482
- "name": "ActionsMenu",
2463
+ "name": "AiIndicator",
2483
2464
  "members": [
2484
2465
  {
2485
2466
  "kind": "field",
2486
- "name": "actions",
2467
+ "name": "providerRegistry",
2487
2468
  "type": {
2488
- "text": "ActionMenuItem[]"
2469
+ "text": "AIProviderRegistry"
2489
2470
  }
2490
2471
  },
2491
2472
  {
2492
2473
  "kind": "field",
2493
- "name": "isVertical",
2474
+ "name": "aiProvider",
2494
2475
  "type": {
2495
- "text": "boolean"
2476
+ "text": "AIProvider | undefined"
2496
2477
  },
2497
- "default": "false"
2478
+ "privacy": "private",
2479
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
2480
+ "readonly": true
2498
2481
  },
2499
2482
  {
2500
2483
  "kind": "field",
2501
- "name": "addDefaultActions",
2484
+ "name": "status",
2502
2485
  "type": {
2503
- "text": "boolean"
2486
+ "text": "AIStatus | null"
2504
2487
  },
2505
- "default": "true"
2488
+ "default": "null"
2506
2489
  },
2507
2490
  {
2508
2491
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2492
+ "name": "open",
2510
2493
  "type": {
2511
2494
  "text": "boolean"
2512
2495
  },
2513
- "default": "true"
2514
- },
2515
- {
2516
- "kind": "field",
2517
- "name": "classNames",
2518
- "type": {
2519
- "text": "string"
2520
- }
2496
+ "default": "false"
2521
2497
  },
2522
2498
  {
2523
2499
  "kind": "field",
2524
- "name": "definition",
2500
+ "name": "state",
2525
2501
  "type": {
2526
- "text": "any"
2527
- }
2502
+ "text": "AIIndicatorState"
2503
+ },
2504
+ "default": "'none'"
2528
2505
  },
2529
2506
  {
2530
2507
  "kind": "field",
2531
- "name": "name",
2508
+ "name": "isInstalling",
2532
2509
  "type": {
2533
- "text": "string"
2510
+ "text": "boolean"
2534
2511
  },
2535
- "default": "'Actions'"
2512
+ "default": "false"
2536
2513
  },
2537
2514
  {
2538
2515
  "kind": "field",
2539
- "name": "open",
2516
+ "name": "pollTimer",
2540
2517
  "type": {
2541
- "text": "boolean"
2518
+ "text": "ReturnType<typeof setInterval> | null"
2542
2519
  },
2543
- "default": "false"
2520
+ "privacy": "private",
2521
+ "default": "null"
2544
2522
  },
2545
2523
  {
2546
2524
  "kind": "field",
2547
- "name": "buttonAppearance",
2548
- "type": {
2549
- "text": "string"
2550
- }
2525
+ "name": "clickOutside",
2526
+ "privacy": "private"
2551
2527
  },
2552
2528
  {
2553
2529
  "kind": "field",
2554
- "name": "hideDisabled",
2530
+ "name": "chromeStatusLabel",
2555
2531
  "type": {
2556
- "text": "boolean"
2532
+ "text": "string | null"
2557
2533
  },
2558
- "default": "false"
2534
+ "readonly": true
2559
2535
  },
2560
2536
  {
2561
2537
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2538
+ "name": "canInstall",
2563
2539
  "type": {
2564
2540
  "text": "boolean"
2565
2541
  },
2566
- "default": "false"
2542
+ "readonly": true
2567
2543
  },
2568
2544
  {
2569
2545
  "kind": "field",
2570
- "name": "singleOption",
2546
+ "name": "isDownloading",
2571
2547
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2548
+ "text": "boolean"
2549
+ },
2550
+ "readonly": true
2574
2551
  },
2575
2552
  {
2576
- "kind": "field",
2577
- "name": "actionsMenu",
2578
- "type": {
2579
- "text": "HTMLElement"
2553
+ "kind": "method",
2554
+ "name": "openChanged",
2555
+ "return": {
2556
+ "type": {
2557
+ "text": "void"
2558
+ }
2580
2559
  }
2581
2560
  },
2582
2561
  {
2583
2562
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2563
+ "name": "handleClickOutside",
2564
+ "privacy": "private",
2586
2565
  "parameters": [
2587
2566
  {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2567
+ "name": "event",
2595
2568
  "type": {
2596
- "text": "any"
2569
+ "text": "MouseEvent"
2597
2570
  }
2598
2571
  }
2599
2572
  ]
2600
2573
  },
2601
2574
  {
2602
2575
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2576
+ "name": "toggleDropdown"
2605
2577
  },
2606
2578
  {
2607
2579
  "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2580
+ "name": "refreshStatus",
2581
+ "return": {
2582
+ "type": {
2583
+ "text": "Promise<void>"
2584
+ }
2585
+ }
2609
2586
  },
2610
2587
  {
2611
2588
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2589
+ "name": "deriveState",
2590
+ "privacy": "private",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "AIIndicatorState"
2594
+ }
2595
+ },
2613
2596
  "parameters": [
2614
2597
  {
2615
- "name": "callback",
2598
+ "name": "s",
2616
2599
  "type": {
2617
- "text": "(rowData) => void | any"
2600
+ "text": "AIStatus | null"
2618
2601
  }
2619
2602
  }
2620
2603
  ]
2621
2604
  },
2622
2605
  {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2606
+ "kind": "method",
2607
+ "name": "maybeStartPolling",
2608
+ "privacy": "private",
2609
+ "return": {
2610
+ "type": {
2611
+ "text": "void"
2612
+ }
2613
+ }
2629
2614
  },
2630
2615
  {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2616
+ "kind": "method",
2617
+ "name": "startPolling",
2618
+ "privacy": "private",
2619
+ "return": {
2620
+ "type": {
2621
+ "text": "void"
2622
+ }
2623
+ }
2634
2624
  },
2635
2625
  {
2636
2626
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2627
+ "name": "stopPolling",
2628
+ "privacy": "private",
2629
+ "return": {
2630
+ "type": {
2631
+ "text": "void"
2644
2632
  }
2645
- ]
2633
+ }
2646
2634
  },
2647
2635
  {
2648
2636
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2637
+ "name": "onInstall",
2638
+ "return": {
2639
+ "type": {
2640
+ "text": "Promise<void>"
2656
2641
  }
2657
- ]
2642
+ }
2658
2643
  },
2659
2644
  {
2660
2645
  "kind": "field",
@@ -2768,131 +2753,88 @@
2768
2753
  }
2769
2754
  }
2770
2755
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2796
- {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2803
- },
2804
- {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2812
- {
2813
- "name": "buttonAppearance",
2814
- "type": {
2815
- "text": "string"
2816
- },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2826
- },
2827
- {
2828
- "name": "hide-menu-single-option",
2829
- "type": {
2830
- "text": "boolean"
2831
- },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2834
- }
2835
- ],
2836
2756
  "superclass": {
2837
2757
  "name": "FoundationElement",
2838
2758
  "package": "@microsoft/fast-foundation"
2839
2759
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2760
+ "tagName": "%%prefix%%-ai-indicator",
2841
2761
  "customElement": true
2842
2762
  },
2843
2763
  {
2844
2764
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2765
+ "name": "foundationAiIndicator"
2848
2766
  }
2849
2767
  ],
2850
2768
  "exports": [
2851
2769
  {
2852
2770
  "kind": "js",
2853
- "name": "ActionsMenu",
2771
+ "name": "AiIndicator",
2854
2772
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2773
+ "name": "AiIndicator",
2774
+ "module": "src/ai-indicator/ai-indicator.ts"
2857
2775
  }
2858
2776
  },
2859
2777
  {
2860
2778
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2779
+ "name": "foundationAiIndicator",
2862
2780
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2781
+ "name": "foundationAiIndicator",
2782
+ "module": "src/ai-indicator/ai-indicator.ts"
2865
2783
  }
2866
2784
  }
2867
2785
  ]
2868
2786
  },
2869
2787
  {
2870
2788
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2789
+ "path": "src/ai-indicator/index.ts",
2872
2790
  "declarations": [],
2873
2791
  "exports": [
2874
2792
  {
2875
2793
  "kind": "js",
2876
- "name": "*",
2794
+ "name": "AiIndicator",
2877
2795
  "declaration": {
2878
- "name": "*",
2879
- "package": "./actions-menu.styles"
2796
+ "name": "AiIndicator",
2797
+ "module": "./ai-indicator"
2880
2798
  }
2881
2799
  },
2882
2800
  {
2883
2801
  "kind": "js",
2884
- "name": "*",
2802
+ "name": "foundationAiIndicator",
2885
2803
  "declaration": {
2886
- "name": "*",
2887
- "package": "./actions-menu.template"
2804
+ "name": "foundationAiIndicator",
2805
+ "module": "./ai-indicator"
2888
2806
  }
2889
2807
  },
2890
2808
  {
2891
2809
  "kind": "js",
2892
- "name": "*",
2810
+ "name": "type",
2893
2811
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu"
2812
+ "name": "type",
2813
+ "module": "./ai-indicator"
2814
+ }
2815
+ },
2816
+ {
2817
+ "kind": "js",
2818
+ "name": "AIIndicatorState",
2819
+ "declaration": {
2820
+ "name": "AIIndicatorState",
2821
+ "module": "./ai-indicator"
2822
+ }
2823
+ },
2824
+ {
2825
+ "kind": "js",
2826
+ "name": "foundationAiIndicatorTemplate",
2827
+ "declaration": {
2828
+ "name": "foundationAiIndicatorTemplate",
2829
+ "module": "./ai-indicator.template"
2830
+ }
2831
+ },
2832
+ {
2833
+ "kind": "js",
2834
+ "name": "foundationAiIndicatorStyles",
2835
+ "declaration": {
2836
+ "name": "foundationAiIndicatorStyles",
2837
+ "module": "./ai-indicator.styles"
2896
2838
  }
2897
2839
  }
2898
2840
  ]
@@ -3508,11 +3450,11 @@
3508
3450
  },
3509
3451
  {
3510
3452
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3453
+ "path": "src/accordion/accordion.styles.ts",
3512
3454
  "declarations": [
3513
3455
  {
3514
3456
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3457
+ "name": "foundationAccordionStyles",
3516
3458
  "return": {
3517
3459
  "type": {
3518
3460
  "text": "ElementStyles"
@@ -3537,224 +3479,276 @@
3537
3479
  "exports": [
3538
3480
  {
3539
3481
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3482
+ "name": "foundationAccordionStyles",
3541
3483
  "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3484
+ "name": "foundationAccordionStyles",
3485
+ "module": "src/accordion/accordion.styles.ts"
3544
3486
  }
3545
3487
  }
3546
3488
  ]
3547
3489
  },
3548
3490
  {
3549
3491
  "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3492
+ "path": "src/accordion/accordion.template.ts",
3551
3493
  "declarations": [
3552
3494
  {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3495
+ "kind": "function",
3496
+ "name": "foundationAccordionTemplate",
3497
+ "return": {
3498
+ "type": {
3499
+ "text": "ViewTemplate<Accordion>"
3500
+ }
3557
3501
  },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3502
+ "parameters": [
3503
+ {
3504
+ "name": "context",
3505
+ "type": {
3506
+ "text": "ElementDefinitionContext"
3507
+ }
3508
+ },
3509
+ {
3510
+ "name": "definition",
3511
+ "type": {
3512
+ "text": "FoundationElementDefinition"
3513
+ }
3514
+ }
3515
+ ]
3559
3516
  }
3560
3517
  ],
3561
3518
  "exports": [
3562
3519
  {
3563
3520
  "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3521
+ "name": "foundationAccordionTemplate",
3565
3522
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3523
+ "name": "foundationAccordionTemplate",
3524
+ "module": "src/accordion/accordion.template.ts"
3568
3525
  }
3569
3526
  }
3570
3527
  ]
3571
3528
  },
3572
3529
  {
3573
3530
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3531
+ "path": "src/accordion/accordion.ts",
3575
3532
  "declarations": [
3576
3533
  {
3577
3534
  "kind": "class",
3578
3535
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "providerRegistry",
3584
- "type": {
3585
- "text": "AIProviderRegistry"
3586
- }
3587
- },
3588
- {
3589
- "kind": "field",
3590
- "name": "aiProvider",
3591
- "type": {
3592
- "text": "AIProvider | undefined"
3593
- },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3597
- },
3536
+ "name": "Accordion",
3537
+ "superclass": {
3538
+ "name": "FASTAccordion",
3539
+ "package": "@microsoft/fast-foundation"
3540
+ },
3541
+ "tagName": "%%prefix%%-accordion",
3542
+ "customElement": true,
3543
+ "attributes": [
3598
3544
  {
3599
- "kind": "field",
3600
- "name": "status",
3545
+ "name": "expand-mode",
3601
3546
  "type": {
3602
- "text": "AIStatus | null"
3547
+ "text": "AccordionExpandMode"
3603
3548
  },
3604
- "default": "null"
3605
- },
3549
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3550
+ "fieldName": "expandmode",
3551
+ "inheritedFrom": {
3552
+ "name": "Accordion",
3553
+ "module": "src/accordion/accordion.ts"
3554
+ }
3555
+ }
3556
+ ],
3557
+ "members": [
3606
3558
  {
3607
3559
  "kind": "field",
3608
- "name": "open",
3560
+ "name": "expandmode",
3609
3561
  "type": {
3610
- "text": "boolean"
3562
+ "text": "AccordionExpandMode"
3611
3563
  },
3612
- "default": "false"
3564
+ "privacy": "public",
3565
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
+ "inheritedFrom": {
3567
+ "name": "Accordion",
3568
+ "module": "src/accordion/accordion.ts"
3569
+ }
3613
3570
  },
3614
3571
  {
3615
3572
  "kind": "field",
3616
- "name": "state",
3573
+ "name": "activeid",
3617
3574
  "type": {
3618
- "text": "AIIndicatorState"
3575
+ "text": "string | null"
3619
3576
  },
3620
- "default": "'none'"
3577
+ "privacy": "private",
3578
+ "inheritedFrom": {
3579
+ "name": "Accordion",
3580
+ "module": "src/accordion/accordion.ts"
3581
+ }
3621
3582
  },
3622
3583
  {
3623
3584
  "kind": "field",
3624
- "name": "isInstalling",
3585
+ "name": "activeItemIndex",
3625
3586
  "type": {
3626
- "text": "boolean"
3587
+ "text": "number"
3627
3588
  },
3628
- "default": "false"
3589
+ "privacy": "private",
3590
+ "default": "0",
3591
+ "inheritedFrom": {
3592
+ "name": "Accordion",
3593
+ "module": "src/accordion/accordion.ts"
3594
+ }
3629
3595
  },
3630
3596
  {
3631
3597
  "kind": "field",
3632
- "name": "pollTimer",
3598
+ "name": "accordionIds",
3633
3599
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3600
+ "text": "Array<string | null>"
3635
3601
  },
3636
3602
  "privacy": "private",
3637
- "default": "null"
3638
- },
3639
- {
3640
- "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3603
+ "inheritedFrom": {
3604
+ "name": "Accordion",
3605
+ "module": "src/accordion/accordion.ts"
3606
+ }
3643
3607
  },
3644
3608
  {
3645
3609
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3647
- "type": {
3648
- "text": "string | null"
3649
- },
3650
- "readonly": true
3610
+ "name": "change",
3611
+ "privacy": "private",
3612
+ "inheritedFrom": {
3613
+ "name": "Accordion",
3614
+ "module": "src/accordion/accordion.ts"
3615
+ }
3651
3616
  },
3652
3617
  {
3653
- "kind": "field",
3654
- "name": "canInstall",
3655
- "type": {
3656
- "text": "boolean"
3618
+ "kind": "method",
3619
+ "name": "findExpandedItem",
3620
+ "privacy": "private",
3621
+ "return": {
3622
+ "type": {
3623
+ "text": "AccordionItem | null"
3624
+ }
3657
3625
  },
3658
- "readonly": true
3626
+ "inheritedFrom": {
3627
+ "name": "Accordion",
3628
+ "module": "src/accordion/accordion.ts"
3629
+ }
3659
3630
  },
3660
3631
  {
3661
3632
  "kind": "field",
3662
- "name": "isDownloading",
3663
- "type": {
3664
- "text": "boolean"
3665
- },
3666
- "readonly": true
3633
+ "name": "setItems",
3634
+ "privacy": "private",
3635
+ "inheritedFrom": {
3636
+ "name": "Accordion",
3637
+ "module": "src/accordion/accordion.ts"
3638
+ }
3667
3639
  },
3668
3640
  {
3669
3641
  "kind": "method",
3670
- "name": "openChanged",
3642
+ "name": "resetItems",
3643
+ "privacy": "private",
3671
3644
  "return": {
3672
3645
  "type": {
3673
3646
  "text": "void"
3674
3647
  }
3648
+ },
3649
+ "inheritedFrom": {
3650
+ "name": "Accordion",
3651
+ "module": "src/accordion/accordion.ts"
3675
3652
  }
3676
3653
  },
3677
3654
  {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3655
+ "kind": "field",
3656
+ "name": "removeItemListeners",
3680
3657
  "privacy": "private",
3681
- "parameters": [
3682
- {
3683
- "name": "event",
3684
- "type": {
3685
- "text": "MouseEvent"
3686
- }
3687
- }
3688
- ]
3658
+ "inheritedFrom": {
3659
+ "name": "Accordion",
3660
+ "module": "src/accordion/accordion.ts"
3661
+ }
3689
3662
  },
3690
3663
  {
3691
- "kind": "method",
3692
- "name": "toggleDropdown"
3664
+ "kind": "field",
3665
+ "name": "activeItemChange",
3666
+ "privacy": "private",
3667
+ "inheritedFrom": {
3668
+ "name": "Accordion",
3669
+ "module": "src/accordion/accordion.ts"
3670
+ }
3693
3671
  },
3694
3672
  {
3695
3673
  "kind": "method",
3696
- "name": "refreshStatus",
3674
+ "name": "getItemIds",
3675
+ "privacy": "private",
3697
3676
  "return": {
3698
3677
  "type": {
3699
- "text": "Promise<void>"
3678
+ "text": "Array<string | null>"
3700
3679
  }
3680
+ },
3681
+ "inheritedFrom": {
3682
+ "name": "Accordion",
3683
+ "module": "src/accordion/accordion.ts"
3701
3684
  }
3702
3685
  },
3703
3686
  {
3704
3687
  "kind": "method",
3705
- "name": "deriveState",
3688
+ "name": "isSingleExpandMode",
3706
3689
  "privacy": "private",
3707
3690
  "return": {
3708
3691
  "type": {
3709
- "text": "AIIndicatorState"
3692
+ "text": "boolean"
3710
3693
  }
3711
3694
  },
3712
- "parameters": [
3713
- {
3714
- "name": "s",
3715
- "type": {
3716
- "text": "AIStatus | null"
3717
- }
3718
- }
3719
- ]
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3698
+ }
3720
3699
  },
3721
3700
  {
3722
- "kind": "method",
3723
- "name": "maybeStartPolling",
3701
+ "kind": "field",
3702
+ "name": "handleItemKeyDown",
3724
3703
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3704
+ "inheritedFrom": {
3705
+ "name": "Accordion",
3706
+ "module": "src/accordion/accordion.ts"
3729
3707
  }
3730
3708
  },
3731
3709
  {
3732
- "kind": "method",
3733
- "name": "startPolling",
3710
+ "kind": "field",
3711
+ "name": "handleItemFocus",
3734
3712
  "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3713
+ "inheritedFrom": {
3714
+ "name": "Accordion",
3715
+ "module": "src/accordion/accordion.ts"
3739
3716
  }
3740
3717
  },
3741
3718
  {
3742
3719
  "kind": "method",
3743
- "name": "stopPolling",
3720
+ "name": "adjust",
3744
3721
  "privacy": "private",
3745
3722
  "return": {
3746
3723
  "type": {
3747
3724
  "text": "void"
3748
3725
  }
3726
+ },
3727
+ "parameters": [
3728
+ {
3729
+ "name": "adjustment",
3730
+ "type": {
3731
+ "text": "number"
3732
+ }
3733
+ }
3734
+ ],
3735
+ "inheritedFrom": {
3736
+ "name": "Accordion",
3737
+ "module": "src/accordion/accordion.ts"
3749
3738
  }
3750
3739
  },
3751
3740
  {
3752
3741
  "kind": "method",
3753
- "name": "onInstall",
3742
+ "name": "focusItem",
3743
+ "privacy": "private",
3754
3744
  "return": {
3755
3745
  "type": {
3756
- "text": "Promise<void>"
3746
+ "text": "void"
3757
3747
  }
3748
+ },
3749
+ "inheritedFrom": {
3750
+ "name": "Accordion",
3751
+ "module": "src/accordion/accordion.ts"
3758
3752
  }
3759
3753
  },
3760
3754
  {
@@ -3869,88 +3863,102 @@
3869
3863
  }
3870
3864
  }
3871
3865
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3866
+ "events": [
3867
+ {
3868
+ "description": "Fires a custom 'change' event when the active item changes",
3869
+ "name": "change",
3870
+ "inheritedFrom": {
3871
+ "name": "Accordion",
3872
+ "module": "src/accordion/accordion.ts"
3873
+ }
3874
+ }
3875
+ ]
3876
+ },
3877
+ {
3878
+ "kind": "variable",
3879
+ "name": "foundationAccordionShadowOptions",
3880
+ "type": {
3881
+ "text": "ShadowRootInit"
3875
3882
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3883
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3884
  },
3879
3885
  {
3880
3886
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3887
+ "name": "defaultAccordionConfig",
3888
+ "type": {
3889
+ "text": "object"
3890
+ },
3891
+ "default": "{}"
3892
+ },
3893
+ {
3894
+ "kind": "variable",
3895
+ "name": "foundationAccordion",
3896
+ "description": "The Foundation Accordion",
3897
+ "privacy": "public"
3882
3898
  }
3883
3899
  ],
3884
3900
  "exports": [
3885
3901
  {
3886
3902
  "kind": "js",
3887
- "name": "AiIndicator",
3903
+ "name": "Accordion",
3888
3904
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3905
+ "name": "Accordion",
3906
+ "module": "src/accordion/accordion.ts"
3891
3907
  }
3892
3908
  },
3893
3909
  {
3894
3910
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3896
- "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3899
- }
3900
- }
3901
- ]
3902
- },
3903
- {
3904
- "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3906
- "declarations": [],
3907
- "exports": [
3908
- {
3909
- "kind": "js",
3910
- "name": "AiIndicator",
3911
+ "name": "foundationAccordionShadowOptions",
3911
3912
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3913
+ "name": "foundationAccordionShadowOptions",
3914
+ "module": "src/accordion/accordion.ts"
3914
3915
  }
3915
3916
  },
3916
3917
  {
3917
3918
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3919
+ "name": "defaultAccordionConfig",
3919
3920
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3921
+ "name": "defaultAccordionConfig",
3922
+ "module": "src/accordion/accordion.ts"
3922
3923
  }
3923
3924
  },
3924
3925
  {
3925
3926
  "kind": "js",
3926
- "name": "type",
3927
+ "name": "foundationAccordion",
3927
3928
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3929
+ "name": "foundationAccordion",
3930
+ "module": "src/accordion/accordion.ts"
3930
3931
  }
3931
- },
3932
+ }
3933
+ ]
3934
+ },
3935
+ {
3936
+ "kind": "javascript-module",
3937
+ "path": "src/accordion/index.ts",
3938
+ "declarations": [],
3939
+ "exports": [
3932
3940
  {
3933
3941
  "kind": "js",
3934
- "name": "AIIndicatorState",
3942
+ "name": "*",
3935
3943
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3944
+ "name": "*",
3945
+ "package": "./accordion.template"
3938
3946
  }
3939
3947
  },
3940
3948
  {
3941
3949
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3950
+ "name": "*",
3943
3951
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3952
+ "name": "*",
3953
+ "package": "./accordion.styles"
3946
3954
  }
3947
3955
  },
3948
3956
  {
3949
3957
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3958
+ "name": "*",
3951
3959
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3960
+ "name": "*",
3961
+ "package": "./accordion"
3954
3962
  }
3955
3963
  }
3956
3964
  ]
@@ -10956,7 +10964,8 @@
10956
10964
  "type": {
10957
10965
  "text": "boolean"
10958
10966
  },
10959
- "default": "false"
10967
+ "default": "false",
10968
+ "description": "Enables server-side filtering: typed input refetches from the server with a criteria\ninstead of filtering the already-loaded options client-side."
10960
10969
  },
10961
10970
  {
10962
10971
  "kind": "field",
@@ -11051,6 +11060,16 @@
11051
11060
  "default": "{\n behavior: 'auto',\n block: 'center',\n }",
11052
11061
  "description": "Options for scrolling to the selected option when the selection changes"
11053
11062
  },
11063
+ {
11064
+ "kind": "field",
11065
+ "name": "scrollableListbox",
11066
+ "type": {
11067
+ "text": "HTMLElement | null"
11068
+ },
11069
+ "privacy": "public",
11070
+ "description": "The scrollable element hosting the dropdown options. Part of the public contract for\nslotted datasources (e.g. options-datasource infinite scroll) to observe scrolling.",
11071
+ "readonly": true
11072
+ },
11054
11073
  {
11055
11074
  "kind": "method",
11056
11075
  "name": "openChanged"
@@ -11084,6 +11103,17 @@
11084
11103
  }
11085
11104
  ]
11086
11105
  },
11106
+ {
11107
+ "kind": "method",
11108
+ "name": "enableAsyncForInfiniteScrollDatasource",
11109
+ "privacy": "private",
11110
+ "return": {
11111
+ "type": {
11112
+ "text": "void"
11113
+ }
11114
+ },
11115
+ "description": "When the slotted datasource pages its options (infinite scroll), only a page of the\nresource is loaded client-side, so filtering typed input locally is meaningless.\nSwitch to async mode so input refetches from the server with a criteria instead;\nfurther pages honour that criteria. This overrides an explicit `async=\"false\"` on\nthe combobox — infinite-scroll datasources cannot support client-side filtering."
11116
+ },
11087
11117
  {
11088
11118
  "kind": "method",
11089
11119
  "name": "filterOptions",
@@ -11211,6 +11241,10 @@
11211
11241
  "text": "Event"
11212
11242
  },
11213
11243
  "description": "Fired when a selection is confirmed in autocomplete-both mode"
11244
+ },
11245
+ {
11246
+ "description": "Fired when the dropdown opens or closes. detail: `OpenChangeEventDetail`",
11247
+ "name": "open-change"
11214
11248
  }
11215
11249
  ],
11216
11250
  "attributes": [
@@ -11219,6 +11253,7 @@
11219
11253
  "text": "boolean"
11220
11254
  },
11221
11255
  "default": "false",
11256
+ "description": "Enables server-side filtering: typed input refetches from the server with a criteria\ninstead of filtering the already-loaded options client-side.",
11222
11257
  "fieldName": "async"
11223
11258
  },
11224
11259
  {
@@ -13354,6 +13389,7 @@
13354
13389
  "type": {
13355
13390
  "text": "string"
13356
13391
  },
13392
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
13357
13393
  "inheritedFrom": {
13358
13394
  "name": "<local>_BaseDatasource",
13359
13395
  "module": "src/utils/base-datasource.ts"
@@ -13497,7 +13533,35 @@
13497
13533
  "type": {
13498
13534
  "text": "string"
13499
13535
  },
13500
- "privacy": "private",
13536
+ "privacy": "protected",
13537
+ "inheritedFrom": {
13538
+ "name": "<local>_BaseDatasource",
13539
+ "module": "src/utils/base-datasource.ts"
13540
+ }
13541
+ },
13542
+ {
13543
+ "kind": "field",
13544
+ "name": "moreRowsAvailable",
13545
+ "type": {
13546
+ "text": "boolean"
13547
+ },
13548
+ "privacy": "protected",
13549
+ "default": "false",
13550
+ "description": "Whether the server reported more rows are available beyond the ones already fetched.",
13551
+ "inheritedFrom": {
13552
+ "name": "<local>_BaseDatasource",
13553
+ "module": "src/utils/base-datasource.ts"
13554
+ }
13555
+ },
13556
+ {
13557
+ "kind": "field",
13558
+ "name": "nextRequestOffset",
13559
+ "type": {
13560
+ "text": "number"
13561
+ },
13562
+ "privacy": "protected",
13563
+ "default": "0",
13564
+ "description": "The OFFSET to request the next page from, for REQUEST_SERVER paging.",
13501
13565
  "inheritedFrom": {
13502
13566
  "name": "<local>_BaseDatasource",
13503
13567
  "module": "src/utils/base-datasource.ts"
@@ -13600,6 +13664,107 @@
13600
13664
  "module": "src/utils/base-datasource.ts"
13601
13665
  }
13602
13666
  },
13667
+ {
13668
+ "kind": "method",
13669
+ "name": "canRequestMoreRows",
13670
+ "privacy": "public",
13671
+ "return": {
13672
+ "type": {
13673
+ "text": "boolean"
13674
+ }
13675
+ },
13676
+ "description": "Whether a further page of rows can be requested from the server.",
13677
+ "inheritedFrom": {
13678
+ "name": "<local>_BaseDatasource",
13679
+ "module": "src/utils/base-datasource.ts"
13680
+ }
13681
+ },
13682
+ {
13683
+ "kind": "method",
13684
+ "name": "requestMoreRows",
13685
+ "privacy": "public",
13686
+ "return": {
13687
+ "type": {
13688
+ "text": "Promise<void>"
13689
+ }
13690
+ },
13691
+ "description": "Requests the next page of rows (up to `maxRows`) from the server.",
13692
+ "inheritedFrom": {
13693
+ "name": "<local>_BaseDatasource",
13694
+ "module": "src/utils/base-datasource.ts"
13695
+ }
13696
+ },
13697
+ {
13698
+ "kind": "method",
13699
+ "name": "filterSnapshotResult",
13700
+ "privacy": "private",
13701
+ "return": {
13702
+ "type": {
13703
+ "text": "any[] | undefined"
13704
+ }
13705
+ },
13706
+ "parameters": [
13707
+ {
13708
+ "name": "result",
13709
+ "type": {
13710
+ "text": "Message | any[]"
13711
+ }
13712
+ }
13713
+ ],
13714
+ "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
13715
+ "inheritedFrom": {
13716
+ "name": "<local>_BaseDatasource",
13717
+ "module": "src/utils/base-datasource.ts"
13718
+ }
13719
+ },
13720
+ {
13721
+ "kind": "method",
13722
+ "name": "updateRequestPagingState",
13723
+ "privacy": "private",
13724
+ "return": {
13725
+ "type": {
13726
+ "text": "void"
13727
+ }
13728
+ },
13729
+ "parameters": [
13730
+ {
13731
+ "name": "result",
13732
+ "type": {
13733
+ "text": "Message | any[]"
13734
+ }
13735
+ },
13736
+ {
13737
+ "name": "rowCount",
13738
+ "type": {
13739
+ "text": "number"
13740
+ }
13741
+ },
13742
+ {
13743
+ "name": "requestedOffset",
13744
+ "type": {
13745
+ "text": "number"
13746
+ }
13747
+ }
13748
+ ],
13749
+ "inheritedFrom": {
13750
+ "name": "<local>_BaseDatasource",
13751
+ "module": "src/utils/base-datasource.ts"
13752
+ }
13753
+ },
13754
+ {
13755
+ "kind": "method",
13756
+ "name": "initialRequestOffset",
13757
+ "privacy": "private",
13758
+ "return": {
13759
+ "type": {
13760
+ "text": "number"
13761
+ }
13762
+ },
13763
+ "inheritedFrom": {
13764
+ "name": "<local>_BaseDatasource",
13765
+ "module": "src/utils/base-datasource.ts"
13766
+ }
13767
+ },
13603
13768
  {
13604
13769
  "kind": "method",
13605
13770
  "name": "datasourceOptions",
@@ -13963,6 +14128,7 @@
13963
14128
  "type": {
13964
14129
  "text": "string"
13965
14130
  },
14131
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
13966
14132
  "fieldName": "orderBy",
13967
14133
  "inheritedFrom": {
13968
14134
  "name": "<local>_BaseDatasource",
@@ -36087,6 +36253,7 @@
36087
36253
  "type": {
36088
36254
  "text": "string"
36089
36255
  },
36256
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
36090
36257
  "inheritedFrom": {
36091
36258
  "name": "<local>_BaseDatasource",
36092
36259
  "module": "src/utils/base-datasource.ts"
@@ -36230,7 +36397,35 @@
36230
36397
  "type": {
36231
36398
  "text": "string"
36232
36399
  },
36233
- "privacy": "private",
36400
+ "privacy": "protected",
36401
+ "inheritedFrom": {
36402
+ "name": "<local>_BaseDatasource",
36403
+ "module": "src/utils/base-datasource.ts"
36404
+ }
36405
+ },
36406
+ {
36407
+ "kind": "field",
36408
+ "name": "moreRowsAvailable",
36409
+ "type": {
36410
+ "text": "boolean"
36411
+ },
36412
+ "privacy": "protected",
36413
+ "default": "false",
36414
+ "description": "Whether the server reported more rows are available beyond the ones already fetched.",
36415
+ "inheritedFrom": {
36416
+ "name": "<local>_BaseDatasource",
36417
+ "module": "src/utils/base-datasource.ts"
36418
+ }
36419
+ },
36420
+ {
36421
+ "kind": "field",
36422
+ "name": "nextRequestOffset",
36423
+ "type": {
36424
+ "text": "number"
36425
+ },
36426
+ "privacy": "protected",
36427
+ "default": "0",
36428
+ "description": "The OFFSET to request the next page from, for REQUEST_SERVER paging.",
36234
36429
  "inheritedFrom": {
36235
36430
  "name": "<local>_BaseDatasource",
36236
36431
  "module": "src/utils/base-datasource.ts"
@@ -36333,6 +36528,107 @@
36333
36528
  "module": "src/utils/base-datasource.ts"
36334
36529
  }
36335
36530
  },
36531
+ {
36532
+ "kind": "method",
36533
+ "name": "canRequestMoreRows",
36534
+ "privacy": "public",
36535
+ "return": {
36536
+ "type": {
36537
+ "text": "boolean"
36538
+ }
36539
+ },
36540
+ "description": "Whether a further page of rows can be requested from the server.",
36541
+ "inheritedFrom": {
36542
+ "name": "<local>_BaseDatasource",
36543
+ "module": "src/utils/base-datasource.ts"
36544
+ }
36545
+ },
36546
+ {
36547
+ "kind": "method",
36548
+ "name": "requestMoreRows",
36549
+ "privacy": "public",
36550
+ "return": {
36551
+ "type": {
36552
+ "text": "Promise<void>"
36553
+ }
36554
+ },
36555
+ "description": "Requests the next page of rows (up to `maxRows`) from the server.",
36556
+ "inheritedFrom": {
36557
+ "name": "<local>_BaseDatasource",
36558
+ "module": "src/utils/base-datasource.ts"
36559
+ }
36560
+ },
36561
+ {
36562
+ "kind": "method",
36563
+ "name": "filterSnapshotResult",
36564
+ "privacy": "private",
36565
+ "return": {
36566
+ "type": {
36567
+ "text": "any[] | undefined"
36568
+ }
36569
+ },
36570
+ "parameters": [
36571
+ {
36572
+ "name": "result",
36573
+ "type": {
36574
+ "text": "Message | any[]"
36575
+ }
36576
+ }
36577
+ ],
36578
+ "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
36579
+ "inheritedFrom": {
36580
+ "name": "<local>_BaseDatasource",
36581
+ "module": "src/utils/base-datasource.ts"
36582
+ }
36583
+ },
36584
+ {
36585
+ "kind": "method",
36586
+ "name": "updateRequestPagingState",
36587
+ "privacy": "private",
36588
+ "return": {
36589
+ "type": {
36590
+ "text": "void"
36591
+ }
36592
+ },
36593
+ "parameters": [
36594
+ {
36595
+ "name": "result",
36596
+ "type": {
36597
+ "text": "Message | any[]"
36598
+ }
36599
+ },
36600
+ {
36601
+ "name": "rowCount",
36602
+ "type": {
36603
+ "text": "number"
36604
+ }
36605
+ },
36606
+ {
36607
+ "name": "requestedOffset",
36608
+ "type": {
36609
+ "text": "number"
36610
+ }
36611
+ }
36612
+ ],
36613
+ "inheritedFrom": {
36614
+ "name": "<local>_BaseDatasource",
36615
+ "module": "src/utils/base-datasource.ts"
36616
+ }
36617
+ },
36618
+ {
36619
+ "kind": "method",
36620
+ "name": "initialRequestOffset",
36621
+ "privacy": "private",
36622
+ "return": {
36623
+ "type": {
36624
+ "text": "number"
36625
+ }
36626
+ },
36627
+ "inheritedFrom": {
36628
+ "name": "<local>_BaseDatasource",
36629
+ "module": "src/utils/base-datasource.ts"
36630
+ }
36631
+ },
36336
36632
  {
36337
36633
  "kind": "method",
36338
36634
  "name": "datasourceOptions",
@@ -36704,6 +37000,7 @@
36704
37000
  "type": {
36705
37001
  "text": "string"
36706
37002
  },
37003
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
36707
37004
  "fieldName": "orderBy",
36708
37005
  "inheritedFrom": {
36709
37006
  "name": "<local>_BaseDatasource",
@@ -36795,6 +37092,13 @@
36795
37092
  "description": "Datasource element for select/combobox option loading.",
36796
37093
  "name": "OptionsDatasource",
36797
37094
  "members": [
37095
+ {
37096
+ "kind": "field",
37097
+ "name": "resources",
37098
+ "type": {
37099
+ "text": "GenesisResources"
37100
+ }
37101
+ },
36798
37102
  {
36799
37103
  "kind": "field",
36800
37104
  "name": "labelField",
@@ -36832,6 +37136,20 @@
36832
37136
  },
36833
37137
  "default": "false"
36834
37138
  },
37139
+ {
37140
+ "kind": "field",
37141
+ "name": "infiniteScroll",
37142
+ "type": {
37143
+ "text": "boolean"
37144
+ },
37145
+ "default": "false",
37146
+ "description": "Enables infinite scrolling. Instead of loading everything upfront, only `page-size`\noptions are loaded initially and the next page is requested when the user scrolls near\nthe bottom of the dropdown. REQUEST_SERVER resources page by OFFSET; DATASERVER\nresources page via MORE_ROWS on a live stream (total still capped by `maxView`)."
37147
+ },
37148
+ {
37149
+ "kind": "field",
37150
+ "name": "pageSize",
37151
+ "description": "Number of options fetched per page when `infinite-scroll` is enabled. Defaults to 20."
37152
+ },
36835
37153
  {
36836
37154
  "kind": "field",
36837
37155
  "name": "labelFormatter"
@@ -36916,6 +37234,107 @@
36916
37234
  },
36917
37235
  "privacy": "private"
36918
37236
  },
37237
+ {
37238
+ "kind": "field",
37239
+ "name": "defaultPageSize",
37240
+ "type": {
37241
+ "text": "number"
37242
+ },
37243
+ "privacy": "private",
37244
+ "static": true,
37245
+ "readonly": true,
37246
+ "default": "20"
37247
+ },
37248
+ {
37249
+ "kind": "field",
37250
+ "name": "scrollLoadThresholdPx",
37251
+ "type": {
37252
+ "text": "number"
37253
+ },
37254
+ "privacy": "private",
37255
+ "static": true,
37256
+ "readonly": true,
37257
+ "default": "32",
37258
+ "description": "Distance from the bottom of the listbox (in px) at which the next page is requested."
37259
+ },
37260
+ {
37261
+ "kind": "field",
37262
+ "name": "listboxElement",
37263
+ "type": {
37264
+ "text": "HTMLElement | null"
37265
+ },
37266
+ "privacy": "private",
37267
+ "default": "null"
37268
+ },
37269
+ {
37270
+ "kind": "field",
37271
+ "name": "loadingMoreRows",
37272
+ "type": {
37273
+ "text": "boolean"
37274
+ },
37275
+ "privacy": "private",
37276
+ "default": "false"
37277
+ },
37278
+ {
37279
+ "kind": "field",
37280
+ "name": "renderedOptionsCount",
37281
+ "type": {
37282
+ "text": "number"
37283
+ },
37284
+ "privacy": "private",
37285
+ "default": "0"
37286
+ },
37287
+ {
37288
+ "kind": "field",
37289
+ "name": "lastTopUpScrollHeight",
37290
+ "type": {
37291
+ "text": "number"
37292
+ },
37293
+ "privacy": "private",
37294
+ "default": "-1"
37295
+ },
37296
+ {
37297
+ "kind": "field",
37298
+ "name": "emptyDataOption",
37299
+ "type": {
37300
+ "text": "FASTListboxOption | null"
37301
+ },
37302
+ "privacy": "private",
37303
+ "default": "null"
37304
+ },
37305
+ {
37306
+ "kind": "field",
37307
+ "name": "selectOpenChangeHandler",
37308
+ "privacy": "private",
37309
+ "description": "While the dropdown is closed, the listbox has no dimensions and cannot be scrolled,\nso re-check whether the visible listbox needs topping up every time it opens. Also\nretries attaching the scroll listener if the initial attempt (queued on connect)\nmissed the listbox because the host hadn't rendered it yet."
37310
+ },
37311
+ {
37312
+ "kind": "method",
37313
+ "name": "applyInfiniteScrollFetchMode",
37314
+ "privacy": "private",
37315
+ "description": "REQUEST_SERVER resources page by OFFSET against one-shot requests, so they keep the\ndefault snapshot mode. DATASERVER resources page via MORE_ROWS, which needs the live\nstream's SOURCE_REF, so they switch to stream mode."
37316
+ },
37317
+ {
37318
+ "kind": "method",
37319
+ "name": "attachListboxScrollListener",
37320
+ "privacy": "private"
37321
+ },
37322
+ {
37323
+ "kind": "field",
37324
+ "name": "listboxScrollHandler",
37325
+ "privacy": "private"
37326
+ },
37327
+ {
37328
+ "kind": "method",
37329
+ "name": "loadNextPage",
37330
+ "privacy": "private"
37331
+ },
37332
+ {
37333
+ "kind": "method",
37334
+ "name": "topUpVisibleListbox",
37335
+ "privacy": "private",
37336
+ "description": "If the loaded options don't fill the visible listbox (so it can't be scrolled),\nkeep requesting pages until it overflows or the server runs out of rows."
37337
+ },
36919
37338
  {
36920
37339
  "kind": "field",
36921
37340
  "name": "resizeObserverCallback",
@@ -36959,6 +37378,42 @@
36959
37378
  }
36960
37379
  ]
36961
37380
  },
37381
+ {
37382
+ "kind": "method",
37383
+ "name": "rowToOption",
37384
+ "privacy": "private",
37385
+ "return": {
37386
+ "type": {
37387
+ "text": "{ value: any; label: string }"
37388
+ }
37389
+ },
37390
+ "parameters": [
37391
+ {
37392
+ "name": "row",
37393
+ "type": {
37394
+ "text": "any"
37395
+ }
37396
+ }
37397
+ ]
37398
+ },
37399
+ {
37400
+ "kind": "method",
37401
+ "name": "renderListboxOptions",
37402
+ "privacy": "private",
37403
+ "parameters": [
37404
+ {
37405
+ "name": "options",
37406
+ "type": {
37407
+ "text": "{ value: any; label: string }[]"
37408
+ }
37409
+ }
37410
+ ]
37411
+ },
37412
+ {
37413
+ "kind": "method",
37414
+ "name": "removeEmptyDataOption",
37415
+ "privacy": "private"
37416
+ },
36962
37417
  {
36963
37418
  "kind": "method",
36964
37419
  "name": "syncComponentData",
@@ -37023,6 +37478,7 @@
37023
37478
  }
37024
37479
  }
37025
37480
  ],
37481
+ "description": "Appends rows to the already rendered options. Used by REQUEST_SERVER\ninfinite scroll paging, where each page contains only the new rows.",
37026
37482
  "inheritedFrom": {
37027
37483
  "name": "<local>_BaseDatasource",
37028
37484
  "module": "src/utils/base-datasource.ts"
@@ -37200,6 +37656,7 @@
37200
37656
  "type": {
37201
37657
  "text": "string"
37202
37658
  },
37659
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
37203
37660
  "inheritedFrom": {
37204
37661
  "name": "<local>_BaseDatasource",
37205
37662
  "module": "src/utils/base-datasource.ts"
@@ -37343,7 +37800,35 @@
37343
37800
  "type": {
37344
37801
  "text": "string"
37345
37802
  },
37346
- "privacy": "private",
37803
+ "privacy": "protected",
37804
+ "inheritedFrom": {
37805
+ "name": "<local>_BaseDatasource",
37806
+ "module": "src/utils/base-datasource.ts"
37807
+ }
37808
+ },
37809
+ {
37810
+ "kind": "field",
37811
+ "name": "moreRowsAvailable",
37812
+ "type": {
37813
+ "text": "boolean"
37814
+ },
37815
+ "privacy": "protected",
37816
+ "default": "false",
37817
+ "description": "Whether the server reported more rows are available beyond the ones already fetched.",
37818
+ "inheritedFrom": {
37819
+ "name": "<local>_BaseDatasource",
37820
+ "module": "src/utils/base-datasource.ts"
37821
+ }
37822
+ },
37823
+ {
37824
+ "kind": "field",
37825
+ "name": "nextRequestOffset",
37826
+ "type": {
37827
+ "text": "number"
37828
+ },
37829
+ "privacy": "protected",
37830
+ "default": "0",
37831
+ "description": "The OFFSET to request the next page from, for REQUEST_SERVER paging.",
37347
37832
  "inheritedFrom": {
37348
37833
  "name": "<local>_BaseDatasource",
37349
37834
  "module": "src/utils/base-datasource.ts"
@@ -37446,6 +37931,107 @@
37446
37931
  "module": "src/utils/base-datasource.ts"
37447
37932
  }
37448
37933
  },
37934
+ {
37935
+ "kind": "method",
37936
+ "name": "canRequestMoreRows",
37937
+ "privacy": "public",
37938
+ "return": {
37939
+ "type": {
37940
+ "text": "boolean"
37941
+ }
37942
+ },
37943
+ "description": "Whether a further page of rows can be requested from the server.",
37944
+ "inheritedFrom": {
37945
+ "name": "<local>_BaseDatasource",
37946
+ "module": "src/utils/base-datasource.ts"
37947
+ }
37948
+ },
37949
+ {
37950
+ "kind": "method",
37951
+ "name": "requestMoreRows",
37952
+ "privacy": "public",
37953
+ "return": {
37954
+ "type": {
37955
+ "text": "Promise<void>"
37956
+ }
37957
+ },
37958
+ "description": "Requests the next page of rows (up to `maxRows`) from the server.",
37959
+ "inheritedFrom": {
37960
+ "name": "<local>_BaseDatasource",
37961
+ "module": "src/utils/base-datasource.ts"
37962
+ }
37963
+ },
37964
+ {
37965
+ "kind": "method",
37966
+ "name": "filterSnapshotResult",
37967
+ "privacy": "private",
37968
+ "return": {
37969
+ "type": {
37970
+ "text": "any[] | undefined"
37971
+ }
37972
+ },
37973
+ "parameters": [
37974
+ {
37975
+ "name": "result",
37976
+ "type": {
37977
+ "text": "Message | any[]"
37978
+ }
37979
+ }
37980
+ ],
37981
+ "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
37982
+ "inheritedFrom": {
37983
+ "name": "<local>_BaseDatasource",
37984
+ "module": "src/utils/base-datasource.ts"
37985
+ }
37986
+ },
37987
+ {
37988
+ "kind": "method",
37989
+ "name": "updateRequestPagingState",
37990
+ "privacy": "private",
37991
+ "return": {
37992
+ "type": {
37993
+ "text": "void"
37994
+ }
37995
+ },
37996
+ "parameters": [
37997
+ {
37998
+ "name": "result",
37999
+ "type": {
38000
+ "text": "Message | any[]"
38001
+ }
38002
+ },
38003
+ {
38004
+ "name": "rowCount",
38005
+ "type": {
38006
+ "text": "number"
38007
+ }
38008
+ },
38009
+ {
38010
+ "name": "requestedOffset",
38011
+ "type": {
38012
+ "text": "number"
38013
+ }
38014
+ }
38015
+ ],
38016
+ "inheritedFrom": {
38017
+ "name": "<local>_BaseDatasource",
38018
+ "module": "src/utils/base-datasource.ts"
38019
+ }
38020
+ },
38021
+ {
38022
+ "kind": "method",
38023
+ "name": "initialRequestOffset",
38024
+ "privacy": "private",
38025
+ "return": {
38026
+ "type": {
38027
+ "text": "number"
38028
+ }
38029
+ },
38030
+ "inheritedFrom": {
38031
+ "name": "<local>_BaseDatasource",
38032
+ "module": "src/utils/base-datasource.ts"
38033
+ }
38034
+ },
37449
38035
  {
37450
38036
  "kind": "method",
37451
38037
  "name": "datasourceOptions",
@@ -37786,6 +38372,20 @@
37786
38372
  "default": "false",
37787
38373
  "fieldName": "allowCustomOptions"
37788
38374
  },
38375
+ {
38376
+ "name": "infinite-scroll",
38377
+ "type": {
38378
+ "text": "boolean"
38379
+ },
38380
+ "default": "false",
38381
+ "description": "Enables infinite scrolling. Instead of loading everything upfront, only `page-size`\noptions are loaded initially and the next page is requested when the user scrolls near\nthe bottom of the dropdown. REQUEST_SERVER resources page by OFFSET; DATASERVER\nresources page via MORE_ROWS on a live stream (total still capped by `maxView`).",
38382
+ "fieldName": "infiniteScroll"
38383
+ },
38384
+ {
38385
+ "name": "page-size",
38386
+ "description": "Number of options fetched per page when `infinite-scroll` is enabled. Defaults to 20.",
38387
+ "fieldName": "pageSize"
38388
+ },
37789
38389
  {
37790
38390
  "type": {
37791
38391
  "text": "boolean"
@@ -37846,6 +38446,7 @@
37846
38446
  "type": {
37847
38447
  "text": "string"
37848
38448
  },
38449
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
37849
38450
  "fieldName": "orderBy",
37850
38451
  "inheritedFrom": {
37851
38452
  "name": "<local>_BaseDatasource",
@@ -45552,6 +46153,16 @@
45552
46153
  "description": "",
45553
46154
  "name": "Select",
45554
46155
  "members": [
46156
+ {
46157
+ "kind": "field",
46158
+ "name": "scrollableListbox",
46159
+ "type": {
46160
+ "text": "HTMLElement | null"
46161
+ },
46162
+ "privacy": "public",
46163
+ "description": "The scrollable element hosting the dropdown options. Part of the public contract for\nslotted datasources (e.g. options-datasource infinite scroll) to observe scrolling.",
46164
+ "readonly": true
46165
+ },
45555
46166
  {
45556
46167
  "kind": "method",
45557
46168
  "name": "openChanged",
@@ -45988,6 +46599,28 @@
45988
46599
  }
45989
46600
  }
45990
46601
  ],
46602
+ "events": [
46603
+ {
46604
+ "description": "Fired when the dropdown opens or closes. detail: `OpenChangeEventDetail`",
46605
+ "name": "open-change"
46606
+ },
46607
+ {
46608
+ "description": "Fires a custom 'input' event when the value updates",
46609
+ "name": "input",
46610
+ "inheritedFrom": {
46611
+ "name": "Select",
46612
+ "module": "src/select/select.ts"
46613
+ }
46614
+ },
46615
+ {
46616
+ "description": "Fires a custom 'change' event when the value updates",
46617
+ "name": "change",
46618
+ "inheritedFrom": {
46619
+ "name": "Select",
46620
+ "module": "src/select/select.ts"
46621
+ }
46622
+ }
46623
+ ],
45991
46624
  "superclass": {
45992
46625
  "name": "FASTSelect",
45993
46626
  "package": "@microsoft/fast-components"
@@ -46031,24 +46664,6 @@
46031
46664
  "module": "src/select/select.ts"
46032
46665
  }
46033
46666
  }
46034
- ],
46035
- "events": [
46036
- {
46037
- "description": "Fires a custom 'input' event when the value updates",
46038
- "name": "input",
46039
- "inheritedFrom": {
46040
- "name": "Select",
46041
- "module": "src/select/select.ts"
46042
- }
46043
- },
46044
- {
46045
- "description": "Fires a custom 'change' event when the value updates",
46046
- "name": "change",
46047
- "inheritedFrom": {
46048
- "name": "Select",
46049
- "module": "src/select/select.ts"
46050
- }
46051
- }
46052
46667
  ]
46053
46668
  },
46054
46669
  {
@@ -56900,7 +57515,8 @@
56900
57515
  "name": "orderBy",
56901
57516
  "type": {
56902
57517
  "text": "string"
56903
- }
57518
+ },
57519
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches."
56904
57520
  },
56905
57521
  {
56906
57522
  "kind": "field",
@@ -57000,7 +57616,27 @@
57000
57616
  "type": {
57001
57617
  "text": "string"
57002
57618
  },
57003
- "privacy": "private"
57619
+ "privacy": "protected"
57620
+ },
57621
+ {
57622
+ "kind": "field",
57623
+ "name": "moreRowsAvailable",
57624
+ "type": {
57625
+ "text": "boolean"
57626
+ },
57627
+ "privacy": "protected",
57628
+ "default": "false",
57629
+ "description": "Whether the server reported more rows are available beyond the ones already fetched."
57630
+ },
57631
+ {
57632
+ "kind": "field",
57633
+ "name": "nextRequestOffset",
57634
+ "type": {
57635
+ "text": "number"
57636
+ },
57637
+ "privacy": "protected",
57638
+ "default": "0",
57639
+ "description": "The OFFSET to request the next page from, for REQUEST_SERVER paging."
57004
57640
  },
57005
57641
  {
57006
57642
  "kind": "field",
@@ -57145,6 +57781,87 @@
57145
57781
  "name": "initDatasource",
57146
57782
  "privacy": "public"
57147
57783
  },
57784
+ {
57785
+ "kind": "method",
57786
+ "name": "canRequestMoreRows",
57787
+ "privacy": "public",
57788
+ "return": {
57789
+ "type": {
57790
+ "text": "boolean"
57791
+ }
57792
+ },
57793
+ "description": "Whether a further page of rows can be requested from the server."
57794
+ },
57795
+ {
57796
+ "kind": "method",
57797
+ "name": "requestMoreRows",
57798
+ "privacy": "public",
57799
+ "return": {
57800
+ "type": {
57801
+ "text": "Promise<void>"
57802
+ }
57803
+ },
57804
+ "description": "Requests the next page of rows (up to `maxRows`) from the server."
57805
+ },
57806
+ {
57807
+ "kind": "method",
57808
+ "name": "filterSnapshotResult",
57809
+ "privacy": "private",
57810
+ "return": {
57811
+ "type": {
57812
+ "text": "any[] | undefined"
57813
+ }
57814
+ },
57815
+ "parameters": [
57816
+ {
57817
+ "name": "result",
57818
+ "type": {
57819
+ "text": "Message | any[]"
57820
+ }
57821
+ }
57822
+ ],
57823
+ "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available."
57824
+ },
57825
+ {
57826
+ "kind": "method",
57827
+ "name": "updateRequestPagingState",
57828
+ "privacy": "private",
57829
+ "return": {
57830
+ "type": {
57831
+ "text": "void"
57832
+ }
57833
+ },
57834
+ "parameters": [
57835
+ {
57836
+ "name": "result",
57837
+ "type": {
57838
+ "text": "Message | any[]"
57839
+ }
57840
+ },
57841
+ {
57842
+ "name": "rowCount",
57843
+ "type": {
57844
+ "text": "number"
57845
+ }
57846
+ },
57847
+ {
57848
+ "name": "requestedOffset",
57849
+ "type": {
57850
+ "text": "number"
57851
+ }
57852
+ }
57853
+ ]
57854
+ },
57855
+ {
57856
+ "kind": "method",
57857
+ "name": "initialRequestOffset",
57858
+ "privacy": "private",
57859
+ "return": {
57860
+ "type": {
57861
+ "text": "number"
57862
+ }
57863
+ }
57864
+ },
57148
57865
  {
57149
57866
  "kind": "method",
57150
57867
  "name": "datasourceOptions",
@@ -57449,6 +58166,7 @@
57449
58166
  "type": {
57450
58167
  "text": "string"
57451
58168
  },
58169
+ "description": "Sort field(s) for the resource. When using OFFSET-based paging (e.g.\n`options-datasource`'s `infinite-scroll`), the server has no other guaranteed row\nordering between requests, so a stable `orderBy` is required to avoid rows shifting\nacross pages (duplicates/gaps) as the underlying data changes between fetches.",
57452
58170
  "fieldName": "orderBy"
57453
58171
  },
57454
58172
  {
@@ -57650,6 +58368,12 @@
57650
58368
  }
57651
58369
  ]
57652
58370
  },
58371
+ {
58372
+ "kind": "javascript-module",
58373
+ "path": "src/utils/event-types.ts",
58374
+ "declarations": [],
58375
+ "exports": []
58376
+ },
57653
58377
  {
57654
58378
  "kind": "javascript-module",
57655
58379
  "path": "src/utils/index.ts",
@@ -57671,6 +58395,14 @@
57671
58395
  "package": "./dom"
57672
58396
  }
57673
58397
  },
58398
+ {
58399
+ "kind": "js",
58400
+ "name": "*",
58401
+ "declaration": {
58402
+ "name": "*",
58403
+ "package": "./event-types"
58404
+ }
58405
+ },
57674
58406
  {
57675
58407
  "kind": "js",
57676
58408
  "name": "*",