@genesislcap/foundation-ui 14.429.2 → 14.429.3

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