@genesislcap/foundation-ui 14.430.1 → 14.430.2-FUI-2528.1

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.
@@ -1431,11 +1431,34 @@
1431
1431
  },
1432
1432
  {
1433
1433
  "kind": "javascript-module",
1434
- "path": "src/accordion/accordion.styles.ts",
1434
+ "path": "src/actions-menu/actions-menu.styles.ts",
1435
1435
  "declarations": [
1436
1436
  {
1437
1437
  "kind": "function",
1438
- "name": "foundationAccordionStyles",
1438
+ "name": "actionsMenuBaseStyles",
1439
+ "return": {
1440
+ "type": {
1441
+ "text": "ElementStyles"
1442
+ }
1443
+ },
1444
+ "parameters": [
1445
+ {
1446
+ "name": "context",
1447
+ "type": {
1448
+ "text": "ElementDefinitionContext"
1449
+ }
1450
+ },
1451
+ {
1452
+ "name": "definition",
1453
+ "type": {
1454
+ "text": "FoundationElementDefinition"
1455
+ }
1456
+ }
1457
+ ]
1458
+ },
1459
+ {
1460
+ "kind": "function",
1461
+ "name": "foundationActionsMenuStyles",
1439
1462
  "return": {
1440
1463
  "type": {
1441
1464
  "text": "ElementStyles"
@@ -1460,277 +1483,269 @@
1460
1483
  "exports": [
1461
1484
  {
1462
1485
  "kind": "js",
1463
- "name": "foundationAccordionStyles",
1486
+ "name": "actionsMenuBaseStyles",
1464
1487
  "declaration": {
1465
- "name": "foundationAccordionStyles",
1466
- "module": "src/accordion/accordion.styles.ts"
1488
+ "name": "actionsMenuBaseStyles",
1489
+ "module": "src/actions-menu/actions-menu.styles.ts"
1490
+ }
1491
+ },
1492
+ {
1493
+ "kind": "js",
1494
+ "name": "foundationActionsMenuStyles",
1495
+ "declaration": {
1496
+ "name": "foundationActionsMenuStyles",
1497
+ "module": "src/actions-menu/actions-menu.styles.ts"
1467
1498
  }
1468
1499
  }
1469
1500
  ]
1470
1501
  },
1471
1502
  {
1472
1503
  "kind": "javascript-module",
1473
- "path": "src/accordion/accordion.template.ts",
1504
+ "path": "src/actions-menu/actions-menu.template.ts",
1474
1505
  "declarations": [
1475
1506
  {
1476
1507
  "kind": "function",
1477
- "name": "foundationAccordionTemplate",
1478
- "return": {
1479
- "type": {
1480
- "text": "ViewTemplate<Accordion>"
1481
- }
1482
- },
1508
+ "name": "menuTemplate",
1483
1509
  "parameters": [
1484
1510
  {
1485
- "name": "context",
1511
+ "name": "prefix",
1486
1512
  "type": {
1487
- "text": "ElementDefinitionContext"
1513
+ "text": "string"
1488
1514
  }
1489
- },
1515
+ }
1516
+ ]
1517
+ },
1518
+ {
1519
+ "kind": "function",
1520
+ "name": "singleOptionTemplate",
1521
+ "parameters": [
1490
1522
  {
1491
- "name": "definition",
1523
+ "name": "prefix",
1492
1524
  "type": {
1493
- "text": "FoundationElementDefinition"
1525
+ "text": "string"
1494
1526
  }
1495
1527
  }
1496
1528
  ]
1529
+ },
1530
+ {
1531
+ "kind": "variable",
1532
+ "name": "foundationActionsMenuTemplate",
1533
+ "type": {
1534
+ "text": "ViewTemplate<ActionsMenu>"
1535
+ },
1536
+ "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`"
1497
1537
  }
1498
1538
  ],
1499
1539
  "exports": [
1500
1540
  {
1501
1541
  "kind": "js",
1502
- "name": "foundationAccordionTemplate",
1542
+ "name": "menuTemplate",
1503
1543
  "declaration": {
1504
- "name": "foundationAccordionTemplate",
1505
- "module": "src/accordion/accordion.template.ts"
1544
+ "name": "menuTemplate",
1545
+ "module": "src/actions-menu/actions-menu.template.ts"
1546
+ }
1547
+ },
1548
+ {
1549
+ "kind": "js",
1550
+ "name": "singleOptionTemplate",
1551
+ "declaration": {
1552
+ "name": "singleOptionTemplate",
1553
+ "module": "src/actions-menu/actions-menu.template.ts"
1554
+ }
1555
+ },
1556
+ {
1557
+ "kind": "js",
1558
+ "name": "foundationActionsMenuTemplate",
1559
+ "declaration": {
1560
+ "name": "foundationActionsMenuTemplate",
1561
+ "module": "src/actions-menu/actions-menu.template.ts"
1506
1562
  }
1507
1563
  }
1508
1564
  ]
1509
1565
  },
1510
1566
  {
1511
1567
  "kind": "javascript-module",
1512
- "path": "src/accordion/accordion.ts",
1568
+ "path": "src/actions-menu/actions-menu.ts",
1513
1569
  "declarations": [
1514
1570
  {
1515
1571
  "kind": "class",
1516
1572
  "description": "",
1517
- "name": "Accordion",
1518
- "superclass": {
1519
- "name": "FASTAccordion",
1520
- "package": "@microsoft/fast-foundation"
1521
- },
1522
- "tagName": "%%prefix%%-accordion",
1523
- "customElement": true,
1524
- "attributes": [
1573
+ "name": "ActionsMenu",
1574
+ "members": [
1525
1575
  {
1526
- "name": "expand-mode",
1576
+ "kind": "field",
1577
+ "name": "actions",
1527
1578
  "type": {
1528
- "text": "AccordionExpandMode"
1529
- },
1530
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1531
- "fieldName": "expandmode",
1532
- "inheritedFrom": {
1533
- "name": "Accordion",
1534
- "module": "src/accordion/accordion.ts"
1579
+ "text": "ActionMenuItem[]"
1535
1580
  }
1536
- }
1537
- ],
1538
- "members": [
1581
+ },
1539
1582
  {
1540
1583
  "kind": "field",
1541
- "name": "expandmode",
1584
+ "name": "isVertical",
1542
1585
  "type": {
1543
- "text": "AccordionExpandMode"
1586
+ "text": "boolean"
1544
1587
  },
1545
- "privacy": "public",
1546
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1547
- "inheritedFrom": {
1548
- "name": "Accordion",
1549
- "module": "src/accordion/accordion.ts"
1550
- }
1588
+ "default": "false"
1551
1589
  },
1552
1590
  {
1553
1591
  "kind": "field",
1554
- "name": "activeid",
1592
+ "name": "addDefaultActions",
1555
1593
  "type": {
1556
- "text": "string | null"
1594
+ "text": "boolean"
1557
1595
  },
1558
- "privacy": "private",
1559
- "inheritedFrom": {
1560
- "name": "Accordion",
1561
- "module": "src/accordion/accordion.ts"
1562
- }
1596
+ "default": "true"
1563
1597
  },
1564
1598
  {
1565
1599
  "kind": "field",
1566
- "name": "activeItemIndex",
1600
+ "name": "autoCloseOnAction",
1567
1601
  "type": {
1568
- "text": "number"
1602
+ "text": "boolean"
1569
1603
  },
1570
- "privacy": "private",
1571
- "default": "0",
1572
- "inheritedFrom": {
1573
- "name": "Accordion",
1574
- "module": "src/accordion/accordion.ts"
1575
- }
1604
+ "default": "true"
1576
1605
  },
1577
1606
  {
1578
1607
  "kind": "field",
1579
- "name": "accordionIds",
1608
+ "name": "classNames",
1580
1609
  "type": {
1581
- "text": "Array<string | null>"
1582
- },
1583
- "privacy": "private",
1584
- "inheritedFrom": {
1585
- "name": "Accordion",
1586
- "module": "src/accordion/accordion.ts"
1610
+ "text": "string"
1587
1611
  }
1588
1612
  },
1589
1613
  {
1590
1614
  "kind": "field",
1591
- "name": "change",
1592
- "privacy": "private",
1593
- "inheritedFrom": {
1594
- "name": "Accordion",
1595
- "module": "src/accordion/accordion.ts"
1615
+ "name": "definition",
1616
+ "type": {
1617
+ "text": "any"
1596
1618
  }
1597
1619
  },
1598
1620
  {
1599
- "kind": "method",
1600
- "name": "findExpandedItem",
1601
- "privacy": "private",
1602
- "return": {
1603
- "type": {
1604
- "text": "AccordionItem | null"
1605
- }
1621
+ "kind": "field",
1622
+ "name": "name",
1623
+ "type": {
1624
+ "text": "string"
1606
1625
  },
1607
- "inheritedFrom": {
1608
- "name": "Accordion",
1609
- "module": "src/accordion/accordion.ts"
1610
- }
1626
+ "default": "'Actions'"
1611
1627
  },
1612
1628
  {
1613
1629
  "kind": "field",
1614
- "name": "setItems",
1615
- "privacy": "private",
1616
- "inheritedFrom": {
1617
- "name": "Accordion",
1618
- "module": "src/accordion/accordion.ts"
1630
+ "name": "open",
1631
+ "type": {
1632
+ "text": "boolean"
1633
+ },
1634
+ "default": "false"
1635
+ },
1636
+ {
1637
+ "kind": "field",
1638
+ "name": "buttonAppearance",
1639
+ "type": {
1640
+ "text": "string"
1619
1641
  }
1620
1642
  },
1621
1643
  {
1622
- "kind": "method",
1623
- "name": "resetItems",
1624
- "privacy": "private",
1625
- "return": {
1626
- "type": {
1627
- "text": "void"
1628
- }
1644
+ "kind": "field",
1645
+ "name": "hideDisabled",
1646
+ "type": {
1647
+ "text": "boolean"
1629
1648
  },
1630
- "inheritedFrom": {
1631
- "name": "Accordion",
1632
- "module": "src/accordion/accordion.ts"
1633
- }
1649
+ "default": "false"
1634
1650
  },
1635
1651
  {
1636
1652
  "kind": "field",
1637
- "name": "removeItemListeners",
1638
- "privacy": "private",
1639
- "inheritedFrom": {
1640
- "name": "Accordion",
1641
- "module": "src/accordion/accordion.ts"
1653
+ "name": "hideMenuSingleOption",
1654
+ "type": {
1655
+ "text": "boolean"
1656
+ },
1657
+ "default": "false"
1658
+ },
1659
+ {
1660
+ "kind": "field",
1661
+ "name": "singleOption",
1662
+ "type": {
1663
+ "text": "ActionMenuItem"
1642
1664
  }
1643
1665
  },
1644
1666
  {
1645
1667
  "kind": "field",
1646
- "name": "activeItemChange",
1647
- "privacy": "private",
1648
- "inheritedFrom": {
1649
- "name": "Accordion",
1650
- "module": "src/accordion/accordion.ts"
1668
+ "name": "actionsMenu",
1669
+ "type": {
1670
+ "text": "HTMLElement"
1651
1671
  }
1652
1672
  },
1653
1673
  {
1654
1674
  "kind": "method",
1655
- "name": "getItemIds",
1656
- "privacy": "private",
1657
- "return": {
1658
- "type": {
1659
- "text": "Array<string | null>"
1675
+ "name": "definitionChanged",
1676
+ "privacy": "protected",
1677
+ "parameters": [
1678
+ {
1679
+ "name": "oldValue",
1680
+ "type": {
1681
+ "text": "any"
1682
+ }
1683
+ },
1684
+ {
1685
+ "name": "newValue",
1686
+ "type": {
1687
+ "text": "any"
1688
+ }
1660
1689
  }
1661
- },
1662
- "inheritedFrom": {
1663
- "name": "Accordion",
1664
- "module": "src/accordion/accordion.ts"
1665
- }
1690
+ ]
1666
1691
  },
1667
1692
  {
1668
1693
  "kind": "method",
1669
- "name": "isSingleExpandMode",
1670
- "privacy": "private",
1671
- "return": {
1672
- "type": {
1673
- "text": "boolean"
1694
+ "name": "openChanged",
1695
+ "privacy": "protected"
1696
+ },
1697
+ {
1698
+ "kind": "method",
1699
+ "name": "toggleActionsMenuVisibility"
1700
+ },
1701
+ {
1702
+ "kind": "method",
1703
+ "name": "onActionMenuItemClick",
1704
+ "parameters": [
1705
+ {
1706
+ "name": "callback",
1707
+ "type": {
1708
+ "text": "(rowData) => void | any"
1709
+ }
1674
1710
  }
1675
- },
1676
- "inheritedFrom": {
1677
- "name": "Accordion",
1678
- "module": "src/accordion/accordion.ts"
1679
- }
1711
+ ]
1680
1712
  },
1681
1713
  {
1682
1714
  "kind": "field",
1683
- "name": "handleItemKeyDown",
1684
- "privacy": "private",
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1688
- }
1715
+ "name": "allActions",
1716
+ "type": {
1717
+ "text": "ActionMenuItem[]"
1718
+ },
1719
+ "readonly": true
1689
1720
  },
1690
1721
  {
1691
1722
  "kind": "field",
1692
- "name": "handleItemFocus",
1693
- "privacy": "private",
1694
- "inheritedFrom": {
1695
- "name": "Accordion",
1696
- "module": "src/accordion/accordion.ts"
1697
- }
1723
+ "name": "rowData",
1724
+ "readonly": true
1698
1725
  },
1699
1726
  {
1700
1727
  "kind": "method",
1701
- "name": "adjust",
1702
- "privacy": "private",
1703
- "return": {
1704
- "type": {
1705
- "text": "void"
1706
- }
1707
- },
1728
+ "name": "getLabel",
1708
1729
  "parameters": [
1709
1730
  {
1710
- "name": "adjustment",
1731
+ "name": "name",
1711
1732
  "type": {
1712
- "text": "number"
1733
+ "text": "string | ((rowData: any) => string)"
1713
1734
  }
1714
1735
  }
1715
- ],
1716
- "inheritedFrom": {
1717
- "name": "Accordion",
1718
- "module": "src/accordion/accordion.ts"
1719
- }
1736
+ ]
1720
1737
  },
1721
1738
  {
1722
1739
  "kind": "method",
1723
- "name": "focusItem",
1724
- "privacy": "private",
1725
- "return": {
1726
- "type": {
1727
- "text": "void"
1740
+ "name": "getTemplate",
1741
+ "parameters": [
1742
+ {
1743
+ "name": "prefix",
1744
+ "type": {
1745
+ "text": "string"
1746
+ }
1728
1747
  }
1729
- },
1730
- "inheritedFrom": {
1731
- "name": "Accordion",
1732
- "module": "src/accordion/accordion.ts"
1733
- }
1748
+ ]
1734
1749
  },
1735
1750
  {
1736
1751
  "kind": "field",
@@ -1844,78 +1859,107 @@
1844
1859
  }
1845
1860
  }
1846
1861
  ],
1847
- "events": [
1862
+ "attributes": [
1848
1863
  {
1849
- "description": "Fires a custom 'change' event when the active item changes",
1850
- "name": "change",
1851
- "inheritedFrom": {
1852
- "name": "Accordion",
1853
- "module": "src/accordion/accordion.ts"
1854
- }
1864
+ "name": "is-vertical",
1865
+ "type": {
1866
+ "text": "boolean"
1867
+ },
1868
+ "default": "false",
1869
+ "fieldName": "isVertical"
1870
+ },
1871
+ {
1872
+ "name": "add-default-actions",
1873
+ "type": {
1874
+ "text": "boolean"
1875
+ },
1876
+ "default": "true",
1877
+ "fieldName": "addDefaultActions"
1878
+ },
1879
+ {
1880
+ "name": "auto-close-on-action",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "true",
1885
+ "fieldName": "autoCloseOnAction"
1886
+ },
1887
+ {
1888
+ "name": "name",
1889
+ "type": {
1890
+ "text": "string"
1891
+ },
1892
+ "default": "'Actions'",
1893
+ "fieldName": "name"
1894
+ },
1895
+ {
1896
+ "name": "open",
1897
+ "type": {
1898
+ "text": "boolean"
1899
+ },
1900
+ "default": "false",
1901
+ "fieldName": "open"
1902
+ },
1903
+ {
1904
+ "name": "buttonAppearance",
1905
+ "type": {
1906
+ "text": "string"
1907
+ },
1908
+ "fieldName": "buttonAppearance"
1909
+ },
1910
+ {
1911
+ "name": "hide-disabled",
1912
+ "type": {
1913
+ "text": "boolean"
1914
+ },
1915
+ "default": "false",
1916
+ "fieldName": "hideDisabled"
1917
+ },
1918
+ {
1919
+ "name": "hide-menu-single-option",
1920
+ "type": {
1921
+ "text": "boolean"
1922
+ },
1923
+ "default": "false",
1924
+ "fieldName": "hideMenuSingleOption"
1855
1925
  }
1856
- ]
1857
- },
1858
- {
1859
- "kind": "variable",
1860
- "name": "foundationAccordionShadowOptions",
1861
- "type": {
1862
- "text": "ShadowRootInit"
1863
- },
1864
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1865
- },
1866
- {
1867
- "kind": "variable",
1868
- "name": "defaultAccordionConfig",
1869
- "type": {
1870
- "text": "object"
1926
+ ],
1927
+ "superclass": {
1928
+ "name": "FoundationElement",
1929
+ "package": "@microsoft/fast-foundation"
1871
1930
  },
1872
- "default": "{}"
1931
+ "tagName": "%%prefix%%-actions-menu",
1932
+ "customElement": true
1873
1933
  },
1874
1934
  {
1875
1935
  "kind": "variable",
1876
- "name": "foundationAccordion",
1877
- "description": "The Foundation Accordion",
1936
+ "name": "foundationActionsMenu",
1937
+ "description": "The Foundation Actions Menu",
1878
1938
  "privacy": "public"
1879
1939
  }
1880
1940
  ],
1881
1941
  "exports": [
1882
1942
  {
1883
1943
  "kind": "js",
1884
- "name": "Accordion",
1885
- "declaration": {
1886
- "name": "Accordion",
1887
- "module": "src/accordion/accordion.ts"
1888
- }
1889
- },
1890
- {
1891
- "kind": "js",
1892
- "name": "foundationAccordionShadowOptions",
1893
- "declaration": {
1894
- "name": "foundationAccordionShadowOptions",
1895
- "module": "src/accordion/accordion.ts"
1896
- }
1897
- },
1898
- {
1899
- "kind": "js",
1900
- "name": "defaultAccordionConfig",
1944
+ "name": "ActionsMenu",
1901
1945
  "declaration": {
1902
- "name": "defaultAccordionConfig",
1903
- "module": "src/accordion/accordion.ts"
1946
+ "name": "ActionsMenu",
1947
+ "module": "src/actions-menu/actions-menu.ts"
1904
1948
  }
1905
1949
  },
1906
1950
  {
1907
1951
  "kind": "js",
1908
- "name": "foundationAccordion",
1952
+ "name": "foundationActionsMenu",
1909
1953
  "declaration": {
1910
- "name": "foundationAccordion",
1911
- "module": "src/accordion/accordion.ts"
1954
+ "name": "foundationActionsMenu",
1955
+ "module": "src/actions-menu/actions-menu.ts"
1912
1956
  }
1913
1957
  }
1914
1958
  ]
1915
1959
  },
1916
1960
  {
1917
1961
  "kind": "javascript-module",
1918
- "path": "src/accordion/index.ts",
1962
+ "path": "src/actions-menu/index.ts",
1919
1963
  "declarations": [],
1920
1964
  "exports": [
1921
1965
  {
@@ -1923,7 +1967,7 @@
1923
1967
  "name": "*",
1924
1968
  "declaration": {
1925
1969
  "name": "*",
1926
- "package": "./accordion.template"
1970
+ "package": "./actions-menu.styles"
1927
1971
  }
1928
1972
  },
1929
1973
  {
@@ -1931,7 +1975,7 @@
1931
1975
  "name": "*",
1932
1976
  "declaration": {
1933
1977
  "name": "*",
1934
- "package": "./accordion.styles"
1978
+ "package": "./actions-menu.template"
1935
1979
  }
1936
1980
  },
1937
1981
  {
@@ -1939,7 +1983,7 @@
1939
1983
  "name": "*",
1940
1984
  "declaration": {
1941
1985
  "name": "*",
1942
- "package": "./accordion"
1986
+ "package": "./actions-menu"
1943
1987
  }
1944
1988
  }
1945
1989
  ]
@@ -2324,219 +2368,131 @@
2324
2368
  "kind": "js",
2325
2369
  "name": "*",
2326
2370
  "declaration": {
2327
- "name": "*",
2328
- "package": "./accordion-item.styles"
2329
- }
2330
- },
2331
- {
2332
- "kind": "js",
2333
- "name": "*",
2334
- "declaration": {
2335
- "name": "*",
2336
- "package": "./accordion-item"
2337
- }
2338
- }
2339
- ]
2340
- },
2341
- {
2342
- "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2344
- "declarations": [
2345
- {
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
- ]
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2371
- "return": {
2372
- "type": {
2373
- "text": "ElementStyles"
2374
- }
2375
- },
2376
- "parameters": [
2377
- {
2378
- "name": "context",
2379
- "type": {
2380
- "text": "ElementDefinitionContext"
2381
- }
2382
- },
2383
- {
2384
- "name": "definition",
2385
- "type": {
2386
- "text": "FoundationElementDefinition"
2387
- }
2388
- }
2389
- ]
2390
- }
2391
- ],
2392
- "exports": [
2393
- {
2394
- "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2371
+ "name": "*",
2372
+ "package": "./accordion-item.styles"
2399
2373
  }
2400
2374
  },
2401
2375
  {
2402
2376
  "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2377
+ "name": "*",
2404
2378
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2379
+ "name": "*",
2380
+ "package": "./accordion-item"
2407
2381
  }
2408
2382
  }
2409
2383
  ]
2410
2384
  },
2411
2385
  {
2412
2386
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2387
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2414
2388
  "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
2389
  {
2440
2390
  "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2442
- "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2444
- },
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`"
2391
+ "name": "foundationAiCriteriaSearchStyles",
2392
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2446
2393
  }
2447
2394
  ],
2448
2395
  "exports": [
2449
2396
  {
2450
2397
  "kind": "js",
2451
- "name": "menuTemplate",
2398
+ "name": "foundationAiCriteriaSearchStyles",
2452
2399
  "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2400
+ "name": "foundationAiCriteriaSearchStyles",
2401
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2455
2402
  }
2456
- },
2403
+ }
2404
+ ]
2405
+ },
2406
+ {
2407
+ "kind": "javascript-module",
2408
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2409
+ "declarations": [
2457
2410
  {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2411
+ "kind": "variable",
2412
+ "name": "foundationAiCriteriaSearchTemplate",
2413
+ "type": {
2414
+ "text": "ViewTemplate<AiCriteriaSearch>"
2415
+ },
2416
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2417
+ }
2418
+ ],
2419
+ "exports": [
2465
2420
  {
2466
2421
  "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2422
+ "name": "foundationAiCriteriaSearchTemplate",
2468
2423
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2424
+ "name": "foundationAiCriteriaSearchTemplate",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2471
2426
  }
2472
2427
  }
2473
2428
  ]
2474
2429
  },
2475
2430
  {
2476
2431
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2478
2433
  "declarations": [
2479
2434
  {
2480
2435
  "kind": "class",
2481
- "description": "",
2482
- "name": "ActionsMenu",
2436
+ "description": "Natural-language criteria search input with AI interpretation.",
2437
+ "name": "AiCriteriaSearch",
2483
2438
  "members": [
2484
2439
  {
2485
2440
  "kind": "field",
2486
- "name": "actions",
2441
+ "name": "aiProvider",
2487
2442
  "type": {
2488
- "text": "ActionMenuItem[]"
2443
+ "text": "AIProvider"
2489
2444
  }
2490
2445
  },
2491
2446
  {
2492
2447
  "kind": "field",
2493
- "name": "isVertical",
2448
+ "name": "placeholder",
2494
2449
  "type": {
2495
- "text": "boolean"
2450
+ "text": "string"
2496
2451
  },
2497
- "default": "false"
2452
+ "default": "'Describe your search criteria in natural language...'"
2498
2453
  },
2499
2454
  {
2500
2455
  "kind": "field",
2501
- "name": "addDefaultActions",
2456
+ "name": "disabled",
2502
2457
  "type": {
2503
2458
  "text": "boolean"
2504
- },
2505
- "default": "true"
2459
+ }
2506
2460
  },
2507
2461
  {
2508
2462
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2463
+ "name": "inputValue",
2510
2464
  "type": {
2511
- "text": "boolean"
2465
+ "text": "string"
2512
2466
  },
2513
- "default": "true"
2467
+ "default": "''"
2514
2468
  },
2515
2469
  {
2516
2470
  "kind": "field",
2517
- "name": "classNames",
2471
+ "name": "isInterpreting",
2518
2472
  "type": {
2519
- "text": "string"
2520
- }
2473
+ "text": "boolean"
2474
+ },
2475
+ "default": "false"
2521
2476
  },
2522
2477
  {
2523
2478
  "kind": "field",
2524
- "name": "definition",
2479
+ "name": "lastValidCriteria",
2525
2480
  "type": {
2526
- "text": "any"
2527
- }
2481
+ "text": "string | null"
2482
+ },
2483
+ "default": "null"
2528
2484
  },
2529
2485
  {
2530
2486
  "kind": "field",
2531
- "name": "name",
2487
+ "name": "activeGroups",
2532
2488
  "type": {
2533
- "text": "string"
2489
+ "text": "CriteriaGroup[]"
2534
2490
  },
2535
- "default": "'Actions'"
2491
+ "default": "[]"
2536
2492
  },
2537
2493
  {
2538
2494
  "kind": "field",
2539
- "name": "open",
2495
+ "name": "showingChips",
2540
2496
  "type": {
2541
2497
  "text": "boolean"
2542
2498
  },
@@ -2544,14 +2500,15 @@
2544
2500
  },
2545
2501
  {
2546
2502
  "kind": "field",
2547
- "name": "buttonAppearance",
2503
+ "name": "fieldMetadata",
2548
2504
  "type": {
2549
- "text": "string"
2550
- }
2505
+ "text": "MetadataDetail[] | string[]"
2506
+ },
2507
+ "default": "[]"
2551
2508
  },
2552
2509
  {
2553
2510
  "kind": "field",
2554
- "name": "hideDisabled",
2511
+ "name": "isRecording",
2555
2512
  "type": {
2556
2513
  "text": "boolean"
2557
2514
  },
@@ -2559,102 +2516,125 @@
2559
2516
  },
2560
2517
  {
2561
2518
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2519
+ "name": "textAreaRef",
2563
2520
  "type": {
2564
- "text": "boolean"
2521
+ "text": "HTMLTextAreaElement"
2565
2522
  },
2566
- "default": "false"
2523
+ "privacy": "public"
2567
2524
  },
2568
2525
  {
2569
2526
  "kind": "field",
2570
- "name": "singleOption",
2527
+ "name": "stopRecording",
2571
2528
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2529
+ "text": "(() => void) | null"
2530
+ },
2531
+ "privacy": "private",
2532
+ "default": "null"
2574
2533
  },
2575
2534
  {
2576
2535
  "kind": "field",
2577
- "name": "actionsMenu",
2536
+ "name": "speechApplyDebounceTimer",
2578
2537
  "type": {
2579
- "text": "HTMLElement"
2580
- }
2538
+ "text": "ReturnType<typeof setTimeout> | null"
2539
+ },
2540
+ "privacy": "private",
2541
+ "default": "null"
2542
+ },
2543
+ {
2544
+ "kind": "field",
2545
+ "name": "speechAvailable",
2546
+ "type": {
2547
+ "text": "boolean"
2548
+ },
2549
+ "readonly": true
2550
+ },
2551
+ {
2552
+ "kind": "field",
2553
+ "name": "criteriaChips",
2554
+ "type": {
2555
+ "text": "CriteriaChip[]"
2556
+ },
2557
+ "readonly": true
2581
2558
  },
2582
2559
  {
2583
2560
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2561
+ "name": "getFieldLabel",
2562
+ "privacy": "private",
2563
+ "return": {
2564
+ "type": {
2565
+ "text": "string"
2566
+ }
2567
+ },
2586
2568
  "parameters": [
2587
2569
  {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2570
+ "name": "fieldName",
2595
2571
  "type": {
2596
- "text": "any"
2572
+ "text": "string"
2597
2573
  }
2598
2574
  }
2599
2575
  ]
2600
2576
  },
2601
2577
  {
2602
2578
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2605
- },
2606
- {
2607
- "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2579
+ "name": "toggleCriteriaView",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2584
+ }
2609
2585
  },
2610
2586
  {
2611
2587
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2588
+ "name": "removeChip",
2589
+ "return": {
2590
+ "type": {
2591
+ "text": "void"
2592
+ }
2593
+ },
2613
2594
  "parameters": [
2614
2595
  {
2615
- "name": "callback",
2596
+ "name": "groupIndex",
2616
2597
  "type": {
2617
- "text": "(rowData) => void | any"
2598
+ "text": "number"
2599
+ }
2600
+ },
2601
+ {
2602
+ "name": "clauseIndex",
2603
+ "type": {
2604
+ "text": "number"
2618
2605
  }
2619
2606
  }
2620
2607
  ]
2621
2608
  },
2622
2609
  {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2610
+ "kind": "method",
2611
+ "name": "clearChips",
2612
+ "return": {
2613
+ "type": {
2614
+ "text": "void"
2615
+ }
2616
+ }
2629
2617
  },
2630
2618
  {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2619
+ "kind": "method",
2620
+ "name": "handleSubmit"
2634
2621
  },
2635
2622
  {
2636
2623
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2644
- }
2645
- ]
2624
+ "name": "handleBlur"
2625
+ },
2626
+ {
2627
+ "kind": "method",
2628
+ "name": "clear"
2629
+ },
2630
+ {
2631
+ "kind": "method",
2632
+ "name": "toggleSpeechInput"
2646
2633
  },
2647
2634
  {
2648
2635
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2656
- }
2657
- ]
2636
+ "name": "clearSpeechApplyDebounce",
2637
+ "privacy": "private"
2658
2638
  },
2659
2639
  {
2660
2640
  "kind": "field",
@@ -2768,115 +2748,154 @@
2768
2748
  }
2769
2749
  }
2770
2750
  ],
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
- },
2751
+ "events": [
2796
2752
  {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2753
+ "description": "Fired when interpreted criteria is applied or cleared",
2754
+ "name": "criteria-changed"
2803
2755
  },
2804
2756
  {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2757
+ "description": "Fired when interpreted criteria contains invalid clauses",
2758
+ "name": "validation-errors"
2759
+ }
2760
+ ],
2761
+ "attributes": [
2812
2762
  {
2813
- "name": "buttonAppearance",
2763
+ "name": "placeholder",
2814
2764
  "type": {
2815
2765
  "text": "string"
2816
2766
  },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2767
+ "default": "'Describe your search criteria in natural language...'",
2768
+ "fieldName": "placeholder"
2826
2769
  },
2827
2770
  {
2828
- "name": "hide-menu-single-option",
2829
2771
  "type": {
2830
2772
  "text": "boolean"
2831
2773
  },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2774
+ "fieldName": "disabled"
2834
2775
  }
2835
2776
  ],
2836
2777
  "superclass": {
2837
2778
  "name": "FoundationElement",
2838
2779
  "package": "@microsoft/fast-foundation"
2839
2780
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2781
+ "tagName": "%%prefix%%-ai-criteria-search",
2841
2782
  "customElement": true
2842
2783
  },
2843
2784
  {
2844
2785
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2786
+ "name": "foundationAiCriteriaSearchShadowOptions",
2787
+ "type": {
2788
+ "text": "ShadowRootInit"
2789
+ },
2790
+ "default": "undefined"
2791
+ },
2792
+ {
2793
+ "kind": "variable",
2794
+ "name": "defaultAiCriteriaSearchConfig",
2795
+ "type": {
2796
+ "text": "object"
2797
+ },
2798
+ "default": "{}"
2799
+ },
2800
+ {
2801
+ "kind": "variable",
2802
+ "name": "foundationAiCriteriaSearch"
2848
2803
  }
2849
2804
  ],
2850
2805
  "exports": [
2851
2806
  {
2852
2807
  "kind": "js",
2853
- "name": "ActionsMenu",
2808
+ "name": "AiCriteriaSearch",
2854
2809
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2810
+ "name": "AiCriteriaSearch",
2811
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2812
  }
2858
2813
  },
2859
2814
  {
2860
2815
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2816
+ "name": "foundationAiCriteriaSearchShadowOptions",
2862
2817
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2818
+ "name": "foundationAiCriteriaSearchShadowOptions",
2819
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2820
+ }
2821
+ },
2822
+ {
2823
+ "kind": "js",
2824
+ "name": "defaultAiCriteriaSearchConfig",
2825
+ "declaration": {
2826
+ "name": "defaultAiCriteriaSearchConfig",
2827
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2828
+ }
2829
+ },
2830
+ {
2831
+ "kind": "js",
2832
+ "name": "foundationAiCriteriaSearch",
2833
+ "declaration": {
2834
+ "name": "foundationAiCriteriaSearch",
2835
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2836
  }
2866
2837
  }
2867
2838
  ]
2868
2839
  },
2869
2840
  {
2870
2841
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2842
+ "path": "src/ai-criteria-search/index.ts",
2872
2843
  "declarations": [],
2873
2844
  "exports": [
2845
+ {
2846
+ "kind": "js",
2847
+ "name": "AiCriteriaSearch",
2848
+ "declaration": {
2849
+ "name": "AiCriteriaSearch",
2850
+ "module": "./ai-criteria-search"
2851
+ }
2852
+ },
2853
+ {
2854
+ "kind": "js",
2855
+ "name": "defaultAiCriteriaSearchConfig",
2856
+ "declaration": {
2857
+ "name": "defaultAiCriteriaSearchConfig",
2858
+ "module": "./ai-criteria-search"
2859
+ }
2860
+ },
2861
+ {
2862
+ "kind": "js",
2863
+ "name": "foundationAiCriteriaSearch",
2864
+ "declaration": {
2865
+ "name": "foundationAiCriteriaSearch",
2866
+ "module": "./ai-criteria-search"
2867
+ }
2868
+ },
2869
+ {
2870
+ "kind": "js",
2871
+ "name": "foundationAiCriteriaSearchShadowOptions",
2872
+ "declaration": {
2873
+ "name": "foundationAiCriteriaSearchShadowOptions",
2874
+ "module": "./ai-criteria-search"
2875
+ }
2876
+ },
2877
+ {
2878
+ "kind": "js",
2879
+ "name": "foundationAiCriteriaSearchStyles",
2880
+ "declaration": {
2881
+ "name": "foundationAiCriteriaSearchStyles",
2882
+ "module": "./ai-criteria-search.styles"
2883
+ }
2884
+ },
2885
+ {
2886
+ "kind": "js",
2887
+ "name": "foundationAiCriteriaSearchTemplate",
2888
+ "declaration": {
2889
+ "name": "foundationAiCriteriaSearchTemplate",
2890
+ "module": "./ai-criteria-search.template"
2891
+ }
2892
+ },
2874
2893
  {
2875
2894
  "kind": "js",
2876
2895
  "name": "*",
2877
2896
  "declaration": {
2878
2897
  "name": "*",
2879
- "package": "./actions-menu.styles"
2898
+ "package": "./validation/criteria-ir"
2880
2899
  }
2881
2900
  },
2882
2901
  {
@@ -2884,72 +2903,165 @@
2884
2903
  "name": "*",
2885
2904
  "declaration": {
2886
2905
  "name": "*",
2887
- "package": "./actions-menu.template"
2906
+ "package": "./validation/operator-map"
2907
+ }
2908
+ },
2909
+ {
2910
+ "kind": "js",
2911
+ "name": "*",
2912
+ "declaration": {
2913
+ "name": "*",
2914
+ "package": "./validation/schema-validator"
2915
+ }
2916
+ }
2917
+ ]
2918
+ },
2919
+ {
2920
+ "kind": "javascript-module",
2921
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2922
+ "declarations": [
2923
+ {
2924
+ "kind": "function",
2925
+ "name": "formatValidationErrors",
2926
+ "return": {
2927
+ "type": {
2928
+ "text": "string"
2929
+ }
2930
+ },
2931
+ "parameters": [
2932
+ {
2933
+ "name": "errors",
2934
+ "type": {
2935
+ "text": "ValidationError[]"
2936
+ }
2937
+ }
2938
+ ],
2939
+ "description": "Formats validation errors into a user-friendly message."
2940
+ },
2941
+ {
2942
+ "kind": "function",
2943
+ "name": "showCriteriaError",
2944
+ "return": {
2945
+ "type": {
2946
+ "text": "void"
2947
+ }
2948
+ },
2949
+ "parameters": [
2950
+ {
2951
+ "name": "title",
2952
+ "type": {
2953
+ "text": "string"
2954
+ },
2955
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2956
+ },
2957
+ {
2958
+ "name": "body",
2959
+ "type": {
2960
+ "text": "string"
2961
+ },
2962
+ "description": "Error message to display"
2963
+ },
2964
+ {
2965
+ "name": "tagName",
2966
+ "type": {
2967
+ "text": "string"
2968
+ },
2969
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2970
+ }
2971
+ ],
2972
+ "description": "Shows a criteria error as a toast notification."
2973
+ }
2974
+ ],
2975
+ "exports": [
2976
+ {
2977
+ "kind": "js",
2978
+ "name": "formatValidationErrors",
2979
+ "declaration": {
2980
+ "name": "formatValidationErrors",
2981
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2888
2982
  }
2889
2983
  },
2890
2984
  {
2891
2985
  "kind": "js",
2892
- "name": "*",
2986
+ "name": "showCriteriaError",
2893
2987
  "declaration": {
2894
- "name": "*",
2895
- "package": "./actions-menu"
2988
+ "name": "showCriteriaError",
2989
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2896
2990
  }
2897
2991
  }
2898
2992
  ]
2899
2993
  },
2900
2994
  {
2901
2995
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2996
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2903
2997
  "declarations": [
2904
2998
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2999
+ "kind": "function",
3000
+ "name": "foundationAiIndicatorStyles",
3001
+ "return": {
3002
+ "type": {
3003
+ "text": "ElementStyles"
3004
+ }
3005
+ },
3006
+ "parameters": [
3007
+ {
3008
+ "name": "context",
3009
+ "type": {
3010
+ "text": "ElementDefinitionContext"
3011
+ }
3012
+ },
3013
+ {
3014
+ "name": "definition",
3015
+ "type": {
3016
+ "text": "FoundationElementDefinition"
3017
+ }
3018
+ }
3019
+ ]
2908
3020
  }
2909
3021
  ],
2910
3022
  "exports": [
2911
3023
  {
2912
3024
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
3025
+ "name": "foundationAiIndicatorStyles",
2914
3026
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3027
+ "name": "foundationAiIndicatorStyles",
3028
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2917
3029
  }
2918
3030
  }
2919
3031
  ]
2920
3032
  },
2921
3033
  {
2922
3034
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3035
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2924
3036
  "declarations": [
2925
3037
  {
2926
3038
  "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
3039
+ "name": "foundationAiIndicatorTemplate",
2928
3040
  "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
3041
+ "text": "ViewTemplate<AiIndicator>"
2930
3042
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3043
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2932
3044
  }
2933
3045
  ],
2934
3046
  "exports": [
2935
3047
  {
2936
3048
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
3049
+ "name": "foundationAiIndicatorTemplate",
2938
3050
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3051
+ "name": "foundationAiIndicatorTemplate",
3052
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2941
3053
  }
2942
3054
  }
2943
3055
  ]
2944
3056
  },
2945
3057
  {
2946
3058
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3059
+ "path": "src/ai-indicator/ai-indicator.ts",
2948
3060
  "declarations": [
2949
3061
  {
2950
3062
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
3063
+ "description": "",
3064
+ "name": "AiIndicator",
2953
3065
  "members": [
2954
3066
  {
2955
3067
  "kind": "field",
@@ -2960,54 +3072,15 @@
2960
3072
  },
2961
3073
  {
2962
3074
  "kind": "field",
2963
- "name": "placeholder",
2964
- "type": {
2965
- "text": "string"
2966
- },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2972
- "type": {
2973
- "text": "boolean"
2974
- }
2975
- },
2976
- {
2977
- "kind": "field",
2978
- "name": "inputValue",
2979
- "type": {
2980
- "text": "string"
2981
- },
2982
- "default": "''"
2983
- },
2984
- {
2985
- "kind": "field",
2986
- "name": "isInterpreting",
2987
- "type": {
2988
- "text": "boolean"
2989
- },
2990
- "default": "false"
2991
- },
2992
- {
2993
- "kind": "field",
2994
- "name": "lastValidCriteria",
3075
+ "name": "status",
2995
3076
  "type": {
2996
- "text": "string | null"
3077
+ "text": "AIStatus | null"
2997
3078
  },
2998
3079
  "default": "null"
2999
3080
  },
3000
3081
  {
3001
3082
  "kind": "field",
3002
- "name": "activeGroups",
3003
- "type": {
3004
- "text": "CriteriaGroup[]"
3005
- },
3006
- "default": "[]"
3007
- },
3008
- {
3009
- "kind": "field",
3010
- "name": "showingChips",
3083
+ "name": "open",
3011
3084
  "type": {
3012
3085
  "text": "boolean"
3013
3086
  },
@@ -3015,15 +3088,15 @@
3015
3088
  },
3016
3089
  {
3017
3090
  "kind": "field",
3018
- "name": "fieldMetadata",
3091
+ "name": "state",
3019
3092
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3093
+ "text": "AIIndicatorState"
3021
3094
  },
3022
- "default": "[]"
3095
+ "default": "'none'"
3023
3096
  },
3024
3097
  {
3025
3098
  "kind": "field",
3026
- "name": "isRecording",
3099
+ "name": "isInstalling",
3027
3100
  "type": {
3028
3101
  "text": "boolean"
3029
3102
  },
@@ -3031,33 +3104,29 @@
3031
3104
  },
3032
3105
  {
3033
3106
  "kind": "field",
3034
- "name": "textAreaRef",
3107
+ "name": "pollTimer",
3035
3108
  "type": {
3036
- "text": "HTMLTextAreaElement"
3109
+ "text": "ReturnType<typeof setInterval> | null"
3037
3110
  },
3038
- "privacy": "public"
3111
+ "privacy": "private",
3112
+ "default": "null"
3039
3113
  },
3040
3114
  {
3041
3115
  "kind": "field",
3042
- "name": "stopRecording",
3043
- "type": {
3044
- "text": "(() => void) | null"
3045
- },
3046
- "privacy": "private",
3047
- "default": "null"
3116
+ "name": "clickOutside",
3117
+ "privacy": "private"
3048
3118
  },
3049
3119
  {
3050
3120
  "kind": "field",
3051
- "name": "speechApplyDebounceTimer",
3121
+ "name": "chromeStatusLabel",
3052
3122
  "type": {
3053
- "text": "ReturnType<typeof setTimeout> | null"
3123
+ "text": "string | null"
3054
3124
  },
3055
- "privacy": "private",
3056
- "default": "null"
3125
+ "readonly": true
3057
3126
  },
3058
3127
  {
3059
3128
  "kind": "field",
3060
- "name": "speechAvailable",
3129
+ "name": "canInstall",
3061
3130
  "type": {
3062
3131
  "text": "boolean"
3063
3132
  },
@@ -3065,65 +3134,69 @@
3065
3134
  },
3066
3135
  {
3067
3136
  "kind": "field",
3068
- "name": "criteriaChips",
3137
+ "name": "isDownloading",
3069
3138
  "type": {
3070
- "text": "CriteriaChip[]"
3139
+ "text": "boolean"
3071
3140
  },
3072
3141
  "readonly": true
3073
3142
  },
3074
3143
  {
3075
3144
  "kind": "method",
3076
- "name": "getFieldLabel",
3077
- "privacy": "private",
3145
+ "name": "openChanged",
3078
3146
  "return": {
3079
3147
  "type": {
3080
- "text": "string"
3148
+ "text": "void"
3081
3149
  }
3082
- },
3150
+ }
3151
+ },
3152
+ {
3153
+ "kind": "method",
3154
+ "name": "handleClickOutside",
3155
+ "privacy": "private",
3083
3156
  "parameters": [
3084
3157
  {
3085
- "name": "fieldName",
3158
+ "name": "event",
3086
3159
  "type": {
3087
- "text": "string"
3160
+ "text": "MouseEvent"
3088
3161
  }
3089
3162
  }
3090
3163
  ]
3091
3164
  },
3092
3165
  {
3093
3166
  "kind": "method",
3094
- "name": "toggleCriteriaView",
3167
+ "name": "toggleDropdown"
3168
+ },
3169
+ {
3170
+ "kind": "method",
3171
+ "name": "refreshStatus",
3095
3172
  "return": {
3096
3173
  "type": {
3097
- "text": "void"
3174
+ "text": "Promise<void>"
3098
3175
  }
3099
3176
  }
3100
3177
  },
3101
3178
  {
3102
3179
  "kind": "method",
3103
- "name": "removeChip",
3180
+ "name": "deriveState",
3181
+ "privacy": "private",
3104
3182
  "return": {
3105
3183
  "type": {
3106
- "text": "void"
3184
+ "text": "AIIndicatorState"
3107
3185
  }
3108
3186
  },
3109
3187
  "parameters": [
3110
3188
  {
3111
- "name": "groupIndex",
3112
- "type": {
3113
- "text": "number"
3114
- }
3115
- },
3116
- {
3117
- "name": "clauseIndex",
3189
+ "name": "s",
3118
3190
  "type": {
3119
- "text": "number"
3191
+ "text": "AIStatus | null"
3120
3192
  }
3121
3193
  }
3122
3194
  ]
3123
3195
  },
3124
3196
  {
3125
3197
  "kind": "method",
3126
- "name": "clearChips",
3198
+ "name": "maybeStartPolling",
3199
+ "privacy": "private",
3127
3200
  "return": {
3128
3201
  "type": {
3129
3202
  "text": "void"
@@ -3132,24 +3205,32 @@
3132
3205
  },
3133
3206
  {
3134
3207
  "kind": "method",
3135
- "name": "handleSubmit"
3136
- },
3137
- {
3138
- "kind": "method",
3139
- "name": "handleBlur"
3140
- },
3141
- {
3142
- "kind": "method",
3143
- "name": "clear"
3208
+ "name": "startPolling",
3209
+ "privacy": "private",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3214
+ }
3144
3215
  },
3145
3216
  {
3146
3217
  "kind": "method",
3147
- "name": "toggleSpeechInput"
3218
+ "name": "stopPolling",
3219
+ "privacy": "private",
3220
+ "return": {
3221
+ "type": {
3222
+ "text": "void"
3223
+ }
3224
+ }
3148
3225
  },
3149
3226
  {
3150
3227
  "kind": "method",
3151
- "name": "clearSpeechApplyDebounce",
3152
- "privacy": "private"
3228
+ "name": "onInstall",
3229
+ "return": {
3230
+ "type": {
3231
+ "text": "Promise<void>"
3232
+ }
3233
+ }
3153
3234
  },
3154
3235
  {
3155
3236
  "kind": "field",
@@ -3263,259 +3344,141 @@
3263
3344
  }
3264
3345
  }
3265
3346
  ],
3266
- "events": [
3267
- {
3268
- "description": "Fired when interpreted criteria is applied or cleared",
3269
- "name": "criteria-changed"
3270
- },
3271
- {
3272
- "description": "Fired when interpreted criteria contains invalid clauses",
3273
- "name": "validation-errors"
3274
- }
3275
- ],
3276
- "attributes": [
3277
- {
3278
- "name": "placeholder",
3279
- "type": {
3280
- "text": "string"
3281
- },
3282
- "default": "'Describe your search criteria in natural language...'",
3283
- "fieldName": "placeholder"
3284
- },
3285
- {
3286
- "type": {
3287
- "text": "boolean"
3288
- },
3289
- "fieldName": "disabled"
3290
- }
3291
- ],
3292
3347
  "superclass": {
3293
3348
  "name": "FoundationElement",
3294
3349
  "package": "@microsoft/fast-foundation"
3295
3350
  },
3296
- "tagName": "%%prefix%%-ai-criteria-search",
3297
- "customElement": true
3298
- },
3299
- {
3300
- "kind": "variable",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "type": {
3303
- "text": "ShadowRootInit"
3304
- },
3305
- "default": "undefined"
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "defaultAiCriteriaSearchConfig",
3310
- "type": {
3311
- "text": "object"
3312
- },
3313
- "default": "{}"
3351
+ "tagName": "%%prefix%%-ai-indicator",
3352
+ "customElement": true
3314
3353
  },
3315
3354
  {
3316
3355
  "kind": "variable",
3317
- "name": "foundationAiCriteriaSearch"
3356
+ "name": "foundationAiIndicator"
3318
3357
  }
3319
3358
  ],
3320
3359
  "exports": [
3321
3360
  {
3322
3361
  "kind": "js",
3323
- "name": "AiCriteriaSearch",
3324
- "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
- }
3328
- },
3329
- {
3330
- "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3332
- "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3362
+ "name": "AiIndicator",
3340
3363
  "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3364
+ "name": "AiIndicator",
3365
+ "module": "src/ai-indicator/ai-indicator.ts"
3343
3366
  }
3344
3367
  },
3345
3368
  {
3346
3369
  "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3370
+ "name": "foundationAiIndicator",
3348
3371
  "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3372
+ "name": "foundationAiIndicator",
3373
+ "module": "src/ai-indicator/ai-indicator.ts"
3351
3374
  }
3352
3375
  }
3353
3376
  ]
3354
3377
  },
3355
3378
  {
3356
3379
  "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3380
+ "path": "src/ai-indicator/index.ts",
3358
3381
  "declarations": [],
3359
3382
  "exports": [
3360
3383
  {
3361
3384
  "kind": "js",
3362
- "name": "AiCriteriaSearch",
3363
- "declaration": {
3364
- "name": "AiCriteriaSearch",
3365
- "module": "./ai-criteria-search"
3366
- }
3367
- },
3368
- {
3369
- "kind": "js",
3370
- "name": "defaultAiCriteriaSearchConfig",
3371
- "declaration": {
3372
- "name": "defaultAiCriteriaSearchConfig",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "foundationAiCriteriaSearch",
3379
- "declaration": {
3380
- "name": "foundationAiCriteriaSearch",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearchShadowOptions",
3385
+ "name": "AiIndicator",
3387
3386
  "declaration": {
3388
- "name": "foundationAiCriteriaSearchShadowOptions",
3389
- "module": "./ai-criteria-search"
3387
+ "name": "AiIndicator",
3388
+ "module": "./ai-indicator"
3390
3389
  }
3391
3390
  },
3392
3391
  {
3393
3392
  "kind": "js",
3394
- "name": "foundationAiCriteriaSearchStyles",
3393
+ "name": "foundationAiIndicator",
3395
3394
  "declaration": {
3396
- "name": "foundationAiCriteriaSearchStyles",
3397
- "module": "./ai-criteria-search.styles"
3395
+ "name": "foundationAiIndicator",
3396
+ "module": "./ai-indicator"
3398
3397
  }
3399
3398
  },
3400
3399
  {
3401
3400
  "kind": "js",
3402
- "name": "foundationAiCriteriaSearchTemplate",
3401
+ "name": "type",
3403
3402
  "declaration": {
3404
- "name": "foundationAiCriteriaSearchTemplate",
3405
- "module": "./ai-criteria-search.template"
3403
+ "name": "type",
3404
+ "module": "./ai-indicator"
3406
3405
  }
3407
3406
  },
3408
3407
  {
3409
3408
  "kind": "js",
3410
- "name": "*",
3409
+ "name": "AIIndicatorState",
3411
3410
  "declaration": {
3412
- "name": "*",
3413
- "package": "./validation/criteria-ir"
3411
+ "name": "AIIndicatorState",
3412
+ "module": "./ai-indicator"
3414
3413
  }
3415
3414
  },
3416
3415
  {
3417
3416
  "kind": "js",
3418
- "name": "*",
3417
+ "name": "foundationAiIndicatorTemplate",
3419
3418
  "declaration": {
3420
- "name": "*",
3421
- "package": "./validation/operator-map"
3419
+ "name": "foundationAiIndicatorTemplate",
3420
+ "module": "./ai-indicator.template"
3422
3421
  }
3423
3422
  },
3424
3423
  {
3425
3424
  "kind": "js",
3426
- "name": "*",
3425
+ "name": "foundationAiIndicatorStyles",
3427
3426
  "declaration": {
3428
- "name": "*",
3429
- "package": "./validation/schema-validator"
3427
+ "name": "foundationAiIndicatorStyles",
3428
+ "module": "./ai-indicator.styles"
3430
3429
  }
3431
3430
  }
3432
3431
  ]
3433
3432
  },
3434
3433
  {
3435
3434
  "kind": "javascript-module",
3436
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3435
+ "path": "src/accordion/accordion.styles.ts",
3437
3436
  "declarations": [
3438
3437
  {
3439
3438
  "kind": "function",
3440
- "name": "formatValidationErrors",
3439
+ "name": "foundationAccordionStyles",
3441
3440
  "return": {
3442
3441
  "type": {
3443
- "text": "string"
3442
+ "text": "ElementStyles"
3444
3443
  }
3445
3444
  },
3446
3445
  "parameters": [
3447
3446
  {
3448
- "name": "errors",
3447
+ "name": "context",
3449
3448
  "type": {
3450
- "text": "ValidationError[]"
3449
+ "text": "ElementDefinitionContext"
3451
3450
  }
3452
- }
3453
- ],
3454
- "description": "Formats validation errors into a user-friendly message."
3455
- },
3456
- {
3457
- "kind": "function",
3458
- "name": "showCriteriaError",
3459
- "return": {
3460
- "type": {
3461
- "text": "void"
3462
- }
3463
- },
3464
- "parameters": [
3465
- {
3466
- "name": "title",
3467
- "type": {
3468
- "text": "string"
3469
- },
3470
- "description": "Notification title (e.g. \"Criteria validation error\")"
3471
- },
3472
- {
3473
- "name": "body",
3474
- "type": {
3475
- "text": "string"
3476
- },
3477
- "description": "Error message to display"
3478
3451
  },
3479
3452
  {
3480
- "name": "tagName",
3453
+ "name": "definition",
3481
3454
  "type": {
3482
- "text": "string"
3483
- },
3484
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3455
+ "text": "FoundationElementDefinition"
3456
+ }
3485
3457
  }
3486
- ],
3487
- "description": "Shows a criteria error as a toast notification."
3458
+ ]
3488
3459
  }
3489
3460
  ],
3490
3461
  "exports": [
3491
3462
  {
3492
3463
  "kind": "js",
3493
- "name": "formatValidationErrors",
3494
- "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "showCriteriaError",
3464
+ "name": "foundationAccordionStyles",
3502
3465
  "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3466
+ "name": "foundationAccordionStyles",
3467
+ "module": "src/accordion/accordion.styles.ts"
3505
3468
  }
3506
3469
  }
3507
3470
  ]
3508
3471
  },
3509
3472
  {
3510
3473
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3474
+ "path": "src/accordion/accordion.template.ts",
3512
3475
  "declarations": [
3513
3476
  {
3514
3477
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3478
+ "name": "foundationAccordionTemplate",
3516
3479
  "return": {
3517
3480
  "type": {
3518
- "text": "ElementStyles"
3481
+ "text": "ViewTemplate<Accordion>"
3519
3482
  }
3520
3483
  },
3521
3484
  "parameters": [
@@ -3537,214 +3500,237 @@
3537
3500
  "exports": [
3538
3501
  {
3539
3502
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3541
- "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3544
- }
3545
- }
3546
- ]
3547
- },
3548
- {
3549
- "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3551
- "declarations": [
3552
- {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3557
- },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
- }
3560
- ],
3561
- "exports": [
3562
- {
3563
- "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3503
+ "name": "foundationAccordionTemplate",
3565
3504
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3505
+ "name": "foundationAccordionTemplate",
3506
+ "module": "src/accordion/accordion.template.ts"
3568
3507
  }
3569
3508
  }
3570
3509
  ]
3571
3510
  },
3572
3511
  {
3573
3512
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3513
+ "path": "src/accordion/accordion.ts",
3575
3514
  "declarations": [
3576
3515
  {
3577
3516
  "kind": "class",
3578
3517
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "aiProvider",
3584
- "type": {
3585
- "text": "AIProvider"
3586
- }
3587
- },
3518
+ "name": "Accordion",
3519
+ "superclass": {
3520
+ "name": "FASTAccordion",
3521
+ "package": "@microsoft/fast-foundation"
3522
+ },
3523
+ "tagName": "%%prefix%%-accordion",
3524
+ "customElement": true,
3525
+ "attributes": [
3588
3526
  {
3589
- "kind": "field",
3590
- "name": "status",
3527
+ "name": "expand-mode",
3591
3528
  "type": {
3592
- "text": "AIStatus | null"
3529
+ "text": "AccordionExpandMode"
3593
3530
  },
3594
- "default": "null"
3595
- },
3531
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3532
+ "fieldName": "expandmode",
3533
+ "inheritedFrom": {
3534
+ "name": "Accordion",
3535
+ "module": "src/accordion/accordion.ts"
3536
+ }
3537
+ }
3538
+ ],
3539
+ "members": [
3596
3540
  {
3597
3541
  "kind": "field",
3598
- "name": "open",
3542
+ "name": "expandmode",
3599
3543
  "type": {
3600
- "text": "boolean"
3544
+ "text": "AccordionExpandMode"
3601
3545
  },
3602
- "default": "false"
3546
+ "privacy": "public",
3547
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3548
+ "inheritedFrom": {
3549
+ "name": "Accordion",
3550
+ "module": "src/accordion/accordion.ts"
3551
+ }
3603
3552
  },
3604
3553
  {
3605
3554
  "kind": "field",
3606
- "name": "state",
3555
+ "name": "activeid",
3607
3556
  "type": {
3608
- "text": "AIIndicatorState"
3557
+ "text": "string | null"
3609
3558
  },
3610
- "default": "'none'"
3559
+ "privacy": "private",
3560
+ "inheritedFrom": {
3561
+ "name": "Accordion",
3562
+ "module": "src/accordion/accordion.ts"
3563
+ }
3611
3564
  },
3612
3565
  {
3613
3566
  "kind": "field",
3614
- "name": "isInstalling",
3567
+ "name": "activeItemIndex",
3615
3568
  "type": {
3616
- "text": "boolean"
3569
+ "text": "number"
3617
3570
  },
3618
- "default": "false"
3571
+ "privacy": "private",
3572
+ "default": "0",
3573
+ "inheritedFrom": {
3574
+ "name": "Accordion",
3575
+ "module": "src/accordion/accordion.ts"
3576
+ }
3619
3577
  },
3620
3578
  {
3621
3579
  "kind": "field",
3622
- "name": "pollTimer",
3580
+ "name": "accordionIds",
3623
3581
  "type": {
3624
- "text": "ReturnType<typeof setInterval> | null"
3582
+ "text": "Array<string | null>"
3625
3583
  },
3626
3584
  "privacy": "private",
3627
- "default": "null"
3628
- },
3629
- {
3630
- "kind": "field",
3631
- "name": "clickOutside",
3632
- "privacy": "private"
3585
+ "inheritedFrom": {
3586
+ "name": "Accordion",
3587
+ "module": "src/accordion/accordion.ts"
3588
+ }
3633
3589
  },
3634
3590
  {
3635
3591
  "kind": "field",
3636
- "name": "chromeStatusLabel",
3637
- "type": {
3638
- "text": "string | null"
3639
- },
3640
- "readonly": true
3592
+ "name": "change",
3593
+ "privacy": "private",
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3597
+ }
3641
3598
  },
3642
3599
  {
3643
- "kind": "field",
3644
- "name": "canInstall",
3645
- "type": {
3646
- "text": "boolean"
3600
+ "kind": "method",
3601
+ "name": "findExpandedItem",
3602
+ "privacy": "private",
3603
+ "return": {
3604
+ "type": {
3605
+ "text": "AccordionItem | null"
3606
+ }
3647
3607
  },
3648
- "readonly": true
3608
+ "inheritedFrom": {
3609
+ "name": "Accordion",
3610
+ "module": "src/accordion/accordion.ts"
3611
+ }
3649
3612
  },
3650
3613
  {
3651
3614
  "kind": "field",
3652
- "name": "isDownloading",
3653
- "type": {
3654
- "text": "boolean"
3655
- },
3656
- "readonly": true
3615
+ "name": "setItems",
3616
+ "privacy": "private",
3617
+ "inheritedFrom": {
3618
+ "name": "Accordion",
3619
+ "module": "src/accordion/accordion.ts"
3620
+ }
3657
3621
  },
3658
3622
  {
3659
3623
  "kind": "method",
3660
- "name": "openChanged",
3624
+ "name": "resetItems",
3625
+ "privacy": "private",
3661
3626
  "return": {
3662
3627
  "type": {
3663
3628
  "text": "void"
3664
3629
  }
3630
+ },
3631
+ "inheritedFrom": {
3632
+ "name": "Accordion",
3633
+ "module": "src/accordion/accordion.ts"
3665
3634
  }
3666
3635
  },
3667
3636
  {
3668
- "kind": "method",
3669
- "name": "handleClickOutside",
3637
+ "kind": "field",
3638
+ "name": "removeItemListeners",
3670
3639
  "privacy": "private",
3671
- "parameters": [
3672
- {
3673
- "name": "event",
3674
- "type": {
3675
- "text": "MouseEvent"
3676
- }
3677
- }
3678
- ]
3640
+ "inheritedFrom": {
3641
+ "name": "Accordion",
3642
+ "module": "src/accordion/accordion.ts"
3643
+ }
3679
3644
  },
3680
3645
  {
3681
- "kind": "method",
3682
- "name": "toggleDropdown"
3646
+ "kind": "field",
3647
+ "name": "activeItemChange",
3648
+ "privacy": "private",
3649
+ "inheritedFrom": {
3650
+ "name": "Accordion",
3651
+ "module": "src/accordion/accordion.ts"
3652
+ }
3683
3653
  },
3684
3654
  {
3685
3655
  "kind": "method",
3686
- "name": "refreshStatus",
3656
+ "name": "getItemIds",
3657
+ "privacy": "private",
3687
3658
  "return": {
3688
3659
  "type": {
3689
- "text": "Promise<void>"
3660
+ "text": "Array<string | null>"
3690
3661
  }
3662
+ },
3663
+ "inheritedFrom": {
3664
+ "name": "Accordion",
3665
+ "module": "src/accordion/accordion.ts"
3691
3666
  }
3692
3667
  },
3693
3668
  {
3694
3669
  "kind": "method",
3695
- "name": "deriveState",
3670
+ "name": "isSingleExpandMode",
3696
3671
  "privacy": "private",
3697
3672
  "return": {
3698
3673
  "type": {
3699
- "text": "AIIndicatorState"
3674
+ "text": "boolean"
3700
3675
  }
3701
3676
  },
3702
- "parameters": [
3703
- {
3704
- "name": "s",
3705
- "type": {
3706
- "text": "AIStatus | null"
3707
- }
3708
- }
3709
- ]
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3710
3681
  },
3711
3682
  {
3712
- "kind": "method",
3713
- "name": "maybeStartPolling",
3683
+ "kind": "field",
3684
+ "name": "handleItemKeyDown",
3714
3685
  "privacy": "private",
3715
- "return": {
3716
- "type": {
3717
- "text": "void"
3718
- }
3686
+ "inheritedFrom": {
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3719
3689
  }
3720
3690
  },
3721
3691
  {
3722
- "kind": "method",
3723
- "name": "startPolling",
3692
+ "kind": "field",
3693
+ "name": "handleItemFocus",
3724
3694
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3695
+ "inheritedFrom": {
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3729
3698
  }
3730
3699
  },
3731
3700
  {
3732
3701
  "kind": "method",
3733
- "name": "stopPolling",
3702
+ "name": "adjust",
3734
3703
  "privacy": "private",
3735
3704
  "return": {
3736
3705
  "type": {
3737
3706
  "text": "void"
3738
3707
  }
3708
+ },
3709
+ "parameters": [
3710
+ {
3711
+ "name": "adjustment",
3712
+ "type": {
3713
+ "text": "number"
3714
+ }
3715
+ }
3716
+ ],
3717
+ "inheritedFrom": {
3718
+ "name": "Accordion",
3719
+ "module": "src/accordion/accordion.ts"
3739
3720
  }
3740
3721
  },
3741
3722
  {
3742
3723
  "kind": "method",
3743
- "name": "onInstall",
3724
+ "name": "focusItem",
3725
+ "privacy": "private",
3744
3726
  "return": {
3745
3727
  "type": {
3746
- "text": "Promise<void>"
3728
+ "text": "void"
3747
3729
  }
3730
+ },
3731
+ "inheritedFrom": {
3732
+ "name": "Accordion",
3733
+ "module": "src/accordion/accordion.ts"
3748
3734
  }
3749
3735
  },
3750
3736
  {
@@ -3859,88 +3845,102 @@
3859
3845
  }
3860
3846
  }
3861
3847
  ],
3862
- "superclass": {
3863
- "name": "FoundationElement",
3864
- "package": "@microsoft/fast-foundation"
3848
+ "events": [
3849
+ {
3850
+ "description": "Fires a custom 'change' event when the active item changes",
3851
+ "name": "change",
3852
+ "inheritedFrom": {
3853
+ "name": "Accordion",
3854
+ "module": "src/accordion/accordion.ts"
3855
+ }
3856
+ }
3857
+ ]
3858
+ },
3859
+ {
3860
+ "kind": "variable",
3861
+ "name": "foundationAccordionShadowOptions",
3862
+ "type": {
3863
+ "text": "ShadowRootInit"
3865
3864
  },
3866
- "tagName": "%%prefix%%-ai-indicator",
3867
- "customElement": true
3865
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3868
3866
  },
3869
3867
  {
3870
3868
  "kind": "variable",
3871
- "name": "foundationAiIndicator"
3869
+ "name": "defaultAccordionConfig",
3870
+ "type": {
3871
+ "text": "object"
3872
+ },
3873
+ "default": "{}"
3874
+ },
3875
+ {
3876
+ "kind": "variable",
3877
+ "name": "foundationAccordion",
3878
+ "description": "The Foundation Accordion",
3879
+ "privacy": "public"
3872
3880
  }
3873
3881
  ],
3874
3882
  "exports": [
3875
3883
  {
3876
3884
  "kind": "js",
3877
- "name": "AiIndicator",
3885
+ "name": "Accordion",
3878
3886
  "declaration": {
3879
- "name": "AiIndicator",
3880
- "module": "src/ai-indicator/ai-indicator.ts"
3887
+ "name": "Accordion",
3888
+ "module": "src/accordion/accordion.ts"
3881
3889
  }
3882
3890
  },
3883
3891
  {
3884
3892
  "kind": "js",
3885
- "name": "foundationAiIndicator",
3886
- "declaration": {
3887
- "name": "foundationAiIndicator",
3888
- "module": "src/ai-indicator/ai-indicator.ts"
3889
- }
3890
- }
3891
- ]
3892
- },
3893
- {
3894
- "kind": "javascript-module",
3895
- "path": "src/ai-indicator/index.ts",
3896
- "declarations": [],
3897
- "exports": [
3898
- {
3899
- "kind": "js",
3900
- "name": "AiIndicator",
3893
+ "name": "foundationAccordionShadowOptions",
3901
3894
  "declaration": {
3902
- "name": "AiIndicator",
3903
- "module": "./ai-indicator"
3895
+ "name": "foundationAccordionShadowOptions",
3896
+ "module": "src/accordion/accordion.ts"
3904
3897
  }
3905
3898
  },
3906
3899
  {
3907
3900
  "kind": "js",
3908
- "name": "foundationAiIndicator",
3901
+ "name": "defaultAccordionConfig",
3909
3902
  "declaration": {
3910
- "name": "foundationAiIndicator",
3911
- "module": "./ai-indicator"
3903
+ "name": "defaultAccordionConfig",
3904
+ "module": "src/accordion/accordion.ts"
3912
3905
  }
3913
3906
  },
3914
3907
  {
3915
3908
  "kind": "js",
3916
- "name": "type",
3909
+ "name": "foundationAccordion",
3917
3910
  "declaration": {
3918
- "name": "type",
3919
- "module": "./ai-indicator"
3911
+ "name": "foundationAccordion",
3912
+ "module": "src/accordion/accordion.ts"
3920
3913
  }
3921
- },
3914
+ }
3915
+ ]
3916
+ },
3917
+ {
3918
+ "kind": "javascript-module",
3919
+ "path": "src/accordion/index.ts",
3920
+ "declarations": [],
3921
+ "exports": [
3922
3922
  {
3923
3923
  "kind": "js",
3924
- "name": "AIIndicatorState",
3924
+ "name": "*",
3925
3925
  "declaration": {
3926
- "name": "AIIndicatorState",
3927
- "module": "./ai-indicator"
3926
+ "name": "*",
3927
+ "package": "./accordion.template"
3928
3928
  }
3929
3929
  },
3930
3930
  {
3931
3931
  "kind": "js",
3932
- "name": "foundationAiIndicatorTemplate",
3932
+ "name": "*",
3933
3933
  "declaration": {
3934
- "name": "foundationAiIndicatorTemplate",
3935
- "module": "./ai-indicator.template"
3934
+ "name": "*",
3935
+ "package": "./accordion.styles"
3936
3936
  }
3937
3937
  },
3938
3938
  {
3939
3939
  "kind": "js",
3940
- "name": "foundationAiIndicatorStyles",
3940
+ "name": "*",
3941
3941
  "declaration": {
3942
- "name": "foundationAiIndicatorStyles",
3943
- "module": "./ai-indicator.styles"
3942
+ "name": "*",
3943
+ "package": "./accordion"
3944
3944
  }
3945
3945
  }
3946
3946
  ]