@genesislcap/foundation-ui 15.15.2-FUI-2603.6 → 15.15.2-FUI-2564.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.
@@ -1012,6 +1012,69 @@
1012
1012
  }
1013
1013
  ]
1014
1014
  },
1015
+ {
1016
+ "kind": "javascript-module",
1017
+ "path": "src/_common/alert-flash-clock.ts",
1018
+ "declarations": [
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "alertFlashPhaseProperty",
1022
+ "type": {
1023
+ "text": "string"
1024
+ },
1025
+ "default": "'--alert-flash-t'",
1026
+ "description": "Custom property carrying the shared alert flash phase, ramping 0 → 1 → 0.\n\nAlerting surfaces sample this rather than running animations of their own, because independent\nCSS animations start whenever their element started and drift apart. Registered as an\ninheritable `<number>` on the document, so it reaches into shadow trees — a grid row deep inside\na component's shadow DOM stays in step with a tab header in the light DOM.",
1027
+ "privacy": "public"
1028
+ },
1029
+ {
1030
+ "kind": "variable",
1031
+ "name": "alertFlashDurationProperty",
1032
+ "type": {
1033
+ "text": "string"
1034
+ },
1035
+ "default": "'--alert-flash-duration'",
1036
+ "description": "Custom property setting how long one flash cycle takes. Set it on `:root` to retime every\nalerting surface at once.",
1037
+ "privacy": "public"
1038
+ },
1039
+ {
1040
+ "kind": "function",
1041
+ "name": "installAlertFlashClock",
1042
+ "return": {
1043
+ "type": {
1044
+ "text": "void"
1045
+ }
1046
+ },
1047
+ "description": "Starts the document-level clock that alert flashes sample.\n\nSafe to call repeatedly and from any number of components — the first call does the work. Called\nautomatically by the components that flash, so apps only need this to start the clock earlier.\n\nDoes nothing where `CSS.registerProperty` or constructable stylesheets are unavailable, which\nleaves alerting surfaces on their static fallback colour rather than breaking them.",
1048
+ "privacy": "public"
1049
+ }
1050
+ ],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "alertFlashPhaseProperty",
1055
+ "declaration": {
1056
+ "name": "alertFlashPhaseProperty",
1057
+ "module": "src/_common/alert-flash-clock.ts"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "alertFlashDurationProperty",
1063
+ "declaration": {
1064
+ "name": "alertFlashDurationProperty",
1065
+ "module": "src/_common/alert-flash-clock.ts"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "installAlertFlashClock",
1071
+ "declaration": {
1072
+ "name": "installAlertFlashClock",
1073
+ "module": "src/_common/alert-flash-clock.ts"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
1015
1078
  {
1016
1079
  "kind": "javascript-module",
1017
1080
  "path": "src/_common/base-file-component.ts",
@@ -1396,6 +1459,14 @@
1396
1459
  "package": "./affix-mixin"
1397
1460
  }
1398
1461
  },
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "*",
1465
+ "declaration": {
1466
+ "name": "*",
1467
+ "package": "./alert-flash-clock"
1468
+ }
1469
+ },
1399
1470
  {
1400
1471
  "kind": "js",
1401
1472
  "name": "*",
@@ -1424,11 +1495,11 @@
1424
1495
  },
1425
1496
  {
1426
1497
  "kind": "javascript-module",
1427
- "path": "src/accordion/accordion.styles.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1428
1499
  "declarations": [
1429
1500
  {
1430
1501
  "kind": "function",
1431
- "name": "foundationAccordionStyles",
1502
+ "name": "foundationAccordionItemStyles",
1432
1503
  "return": {
1433
1504
  "type": {
1434
1505
  "text": "ElementStyles"
@@ -1453,24 +1524,24 @@
1453
1524
  "exports": [
1454
1525
  {
1455
1526
  "kind": "js",
1456
- "name": "foundationAccordionStyles",
1527
+ "name": "foundationAccordionItemStyles",
1457
1528
  "declaration": {
1458
- "name": "foundationAccordionStyles",
1459
- "module": "src/accordion/accordion.styles.ts"
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1460
1531
  }
1461
1532
  }
1462
1533
  ]
1463
1534
  },
1464
1535
  {
1465
1536
  "kind": "javascript-module",
1466
- "path": "src/accordion/accordion.template.ts",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1467
1538
  "declarations": [
1468
1539
  {
1469
1540
  "kind": "function",
1470
- "name": "foundationAccordionTemplate",
1541
+ "name": "foundationAccordionItemTemplate",
1471
1542
  "return": {
1472
1543
  "type": {
1473
- "text": "ViewTemplate<Accordion>"
1544
+ "text": "ViewTemplate<AccordionItem>"
1474
1545
  }
1475
1546
  },
1476
1547
  "parameters": [
@@ -1492,237 +1563,116 @@
1492
1563
  "exports": [
1493
1564
  {
1494
1565
  "kind": "js",
1495
- "name": "foundationAccordionTemplate",
1566
+ "name": "foundationAccordionItemTemplate",
1496
1567
  "declaration": {
1497
- "name": "foundationAccordionTemplate",
1498
- "module": "src/accordion/accordion.template.ts"
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1499
1570
  }
1500
1571
  }
1501
1572
  ]
1502
1573
  },
1503
1574
  {
1504
1575
  "kind": "javascript-module",
1505
- "path": "src/accordion/accordion.ts",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1506
1577
  "declarations": [
1507
1578
  {
1508
1579
  "kind": "class",
1509
1580
  "description": "",
1510
- "name": "Accordion",
1581
+ "name": "AccordionItem",
1511
1582
  "superclass": {
1512
- "name": "FASTAccordion",
1513
- "package": "@microsoft/fast-foundation"
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1514
1585
  },
1515
- "tagName": "%%prefix%%-accordion",
1586
+ "tagName": "%%prefix%%-accordion-item",
1516
1587
  "customElement": true,
1517
1588
  "attributes": [
1518
1589
  {
1519
- "name": "expand-mode",
1520
- "type": {
1521
- "text": "AccordionExpandMode"
1522
- },
1523
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1524
- "fieldName": "expandmode",
1525
- "inheritedFrom": {
1526
- "name": "Accordion",
1527
- "module": "src/accordion/accordion.ts"
1528
- }
1529
- }
1530
- ],
1531
- "members": [
1532
- {
1533
- "kind": "field",
1534
- "name": "expandmode",
1590
+ "name": "heading-level",
1535
1591
  "type": {
1536
- "text": "AccordionExpandMode"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1537
1593
  },
1538
- "privacy": "public",
1539
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1540
1597
  "inheritedFrom": {
1541
- "name": "Accordion",
1542
- "module": "src/accordion/accordion.ts"
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1543
1600
  }
1544
1601
  },
1545
1602
  {
1546
- "kind": "field",
1547
- "name": "activeid",
1548
1603
  "type": {
1549
- "text": "string | null"
1604
+ "text": "boolean"
1550
1605
  },
1551
- "privacy": "private",
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1552
1609
  "inheritedFrom": {
1553
- "name": "Accordion",
1554
- "module": "src/accordion/accordion.ts"
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1555
1612
  }
1556
1613
  },
1557
1614
  {
1558
- "kind": "field",
1559
- "name": "activeItemIndex",
1615
+ "name": "id",
1560
1616
  "type": {
1561
- "text": "number"
1617
+ "text": "string"
1562
1618
  },
1563
- "privacy": "private",
1564
- "default": "0",
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1565
1621
  "inheritedFrom": {
1566
- "name": "Accordion",
1567
- "module": "src/accordion/accordion.ts"
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1568
1624
  }
1569
- },
1625
+ }
1626
+ ],
1627
+ "members": [
1570
1628
  {
1571
1629
  "kind": "field",
1572
- "name": "accordionIds",
1630
+ "name": "headinglevel",
1573
1631
  "type": {
1574
- "text": "Array<string | null>"
1575
- },
1576
- "privacy": "private",
1577
- "inheritedFrom": {
1578
- "name": "Accordion",
1579
- "module": "src/accordion/accordion.ts"
1580
- }
1581
- },
1582
- {
1583
- "kind": "field",
1584
- "name": "change",
1585
- "privacy": "private",
1586
- "inheritedFrom": {
1587
- "name": "Accordion",
1588
- "module": "src/accordion/accordion.ts"
1589
- }
1590
- },
1591
- {
1592
- "kind": "method",
1593
- "name": "findExpandedItem",
1594
- "privacy": "private",
1595
- "return": {
1596
- "type": {
1597
- "text": "AccordionItem | null"
1598
- }
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1599
1633
  },
1634
+ "privacy": "public",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1600
1637
  "inheritedFrom": {
1601
- "name": "Accordion",
1602
- "module": "src/accordion/accordion.ts"
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1603
1640
  }
1604
1641
  },
1605
1642
  {
1606
1643
  "kind": "field",
1607
- "name": "setItems",
1608
- "privacy": "private",
1609
- "inheritedFrom": {
1610
- "name": "Accordion",
1611
- "module": "src/accordion/accordion.ts"
1612
- }
1613
- },
1614
- {
1615
- "kind": "method",
1616
- "name": "resetItems",
1617
- "privacy": "private",
1618
- "return": {
1619
- "type": {
1620
- "text": "void"
1621
- }
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1622
1647
  },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1623
1651
  "inheritedFrom": {
1624
- "name": "Accordion",
1625
- "module": "src/accordion/accordion.ts"
1626
- }
1627
- },
1628
- {
1629
- "kind": "field",
1630
- "name": "removeItemListeners",
1631
- "privacy": "private",
1632
- "inheritedFrom": {
1633
- "name": "Accordion",
1634
- "module": "src/accordion/accordion.ts"
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1635
1654
  }
1636
1655
  },
1637
1656
  {
1638
1657
  "kind": "field",
1639
- "name": "activeItemChange",
1640
- "privacy": "private",
1641
- "inheritedFrom": {
1642
- "name": "Accordion",
1643
- "module": "src/accordion/accordion.ts"
1644
- }
1645
- },
1646
- {
1647
- "kind": "method",
1648
- "name": "getItemIds",
1649
- "privacy": "private",
1650
- "return": {
1651
- "type": {
1652
- "text": "Array<string | null>"
1653
- }
1654
- },
1655
- "inheritedFrom": {
1656
- "name": "Accordion",
1657
- "module": "src/accordion/accordion.ts"
1658
- }
1659
- },
1660
- {
1661
- "kind": "method",
1662
- "name": "isSingleExpandMode",
1663
- "privacy": "private",
1664
- "return": {
1665
- "type": {
1666
- "text": "boolean"
1667
- }
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1668
1661
  },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1669
1664
  "inheritedFrom": {
1670
- "name": "Accordion",
1671
- "module": "src/accordion/accordion.ts"
1672
- }
1673
- },
1674
- {
1675
- "kind": "field",
1676
- "name": "handleItemKeyDown",
1677
- "privacy": "private",
1678
- "inheritedFrom": {
1679
- "name": "Accordion",
1680
- "module": "src/accordion/accordion.ts"
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1681
1667
  }
1682
1668
  },
1683
1669
  {
1684
1670
  "kind": "field",
1685
- "name": "handleItemFocus",
1686
- "privacy": "private",
1687
- "inheritedFrom": {
1688
- "name": "Accordion",
1689
- "module": "src/accordion/accordion.ts"
1690
- }
1691
- },
1692
- {
1693
- "kind": "method",
1694
- "name": "adjust",
1695
- "privacy": "private",
1696
- "return": {
1697
- "type": {
1698
- "text": "void"
1699
- }
1700
- },
1701
- "parameters": [
1702
- {
1703
- "name": "adjustment",
1704
- "type": {
1705
- "text": "number"
1706
- }
1707
- }
1708
- ],
1709
- "inheritedFrom": {
1710
- "name": "Accordion",
1711
- "module": "src/accordion/accordion.ts"
1712
- }
1713
- },
1714
- {
1715
- "kind": "method",
1716
- "name": "focusItem",
1671
+ "name": "change",
1717
1672
  "privacy": "private",
1718
- "return": {
1719
- "type": {
1720
- "text": "void"
1721
- }
1722
- },
1723
1673
  "inheritedFrom": {
1724
- "name": "Accordion",
1725
- "module": "src/accordion/accordion.ts"
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1726
1676
  }
1727
1677
  },
1728
1678
  {
@@ -1839,18 +1789,18 @@
1839
1789
  ],
1840
1790
  "events": [
1841
1791
  {
1842
- "description": "Fires a custom 'change' event when the active item changes",
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1843
1793
  "name": "change",
1844
1794
  "inheritedFrom": {
1845
- "name": "Accordion",
1846
- "module": "src/accordion/accordion.ts"
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1847
1797
  }
1848
1798
  }
1849
1799
  ]
1850
1800
  },
1851
1801
  {
1852
1802
  "kind": "variable",
1853
- "name": "foundationAccordionShadowOptions",
1803
+ "name": "foundationAccordionItemShadowOptions",
1854
1804
  "type": {
1855
1805
  "text": "ShadowRootInit"
1856
1806
  },
@@ -1858,88 +1808,57 @@
1858
1808
  },
1859
1809
  {
1860
1810
  "kind": "variable",
1861
- "name": "defaultAccordionConfig",
1811
+ "name": "defaultAccordionItemConfig",
1862
1812
  "type": {
1863
1813
  "text": "object"
1864
1814
  },
1865
- "default": "{}"
1815
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1866
1816
  },
1867
1817
  {
1868
1818
  "kind": "variable",
1869
- "name": "foundationAccordion",
1870
- "description": "The Foundation Accordion",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1871
1821
  "privacy": "public"
1872
1822
  }
1873
1823
  ],
1874
1824
  "exports": [
1875
1825
  {
1876
1826
  "kind": "js",
1877
- "name": "Accordion",
1878
- "declaration": {
1879
- "name": "Accordion",
1880
- "module": "src/accordion/accordion.ts"
1881
- }
1882
- },
1883
- {
1884
- "kind": "js",
1885
- "name": "foundationAccordionShadowOptions",
1886
- "declaration": {
1887
- "name": "foundationAccordionShadowOptions",
1888
- "module": "src/accordion/accordion.ts"
1889
- }
1890
- },
1891
- {
1892
- "kind": "js",
1893
- "name": "defaultAccordionConfig",
1827
+ "name": "AccordionItem",
1894
1828
  "declaration": {
1895
- "name": "defaultAccordionConfig",
1896
- "module": "src/accordion/accordion.ts"
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1897
1831
  }
1898
1832
  },
1899
1833
  {
1900
1834
  "kind": "js",
1901
- "name": "foundationAccordion",
1902
- "declaration": {
1903
- "name": "foundationAccordion",
1904
- "module": "src/accordion/accordion.ts"
1905
- }
1906
- }
1907
- ]
1908
- },
1909
- {
1910
- "kind": "javascript-module",
1911
- "path": "src/accordion/index.ts",
1912
- "declarations": [],
1913
- "exports": [
1914
- {
1915
- "kind": "js",
1916
- "name": "*",
1835
+ "name": "foundationAccordionItemShadowOptions",
1917
1836
  "declaration": {
1918
- "name": "*",
1919
- "package": "./accordion.template"
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1920
1839
  }
1921
1840
  },
1922
1841
  {
1923
1842
  "kind": "js",
1924
- "name": "*",
1843
+ "name": "defaultAccordionItemConfig",
1925
1844
  "declaration": {
1926
- "name": "*",
1927
- "package": "./accordion.styles"
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1928
1847
  }
1929
1848
  },
1930
1849
  {
1931
1850
  "kind": "js",
1932
- "name": "*",
1851
+ "name": "foundationAccordionItem",
1933
1852
  "declaration": {
1934
- "name": "*",
1935
- "package": "./accordion"
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
1936
1855
  }
1937
1856
  }
1938
1857
  ]
1939
1858
  },
1940
1859
  {
1941
1860
  "kind": "javascript-module",
1942
- "path": "src/_config/index.ts",
1861
+ "path": "src/accordion-item/index.ts",
1943
1862
  "declarations": [],
1944
1863
  "exports": [
1945
1864
  {
@@ -1947,7 +1866,7 @@
1947
1866
  "name": "*",
1948
1867
  "declaration": {
1949
1868
  "name": "*",
1950
- "package": "./styles"
1869
+ "package": "./accordion-item.template"
1951
1870
  }
1952
1871
  },
1953
1872
  {
@@ -1955,7 +1874,7 @@
1955
1874
  "name": "*",
1956
1875
  "declaration": {
1957
1876
  "name": "*",
1958
- "package": "./tokens"
1877
+ "package": "./accordion-item.styles"
1959
1878
  }
1960
1879
  },
1961
1880
  {
@@ -1963,210 +1882,122 @@
1963
1882
  "name": "*",
1964
1883
  "declaration": {
1965
1884
  "name": "*",
1966
- "package": "./values"
1885
+ "package": "./accordion-item"
1967
1886
  }
1968
1887
  }
1969
1888
  ]
1970
1889
  },
1971
1890
  {
1972
1891
  "kind": "javascript-module",
1973
- "path": "src/actions-menu/actions-menu.styles.ts",
1892
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1974
1893
  "declarations": [
1975
1894
  {
1976
- "kind": "function",
1977
- "name": "actionsMenuBaseStyles",
1978
- "return": {
1979
- "type": {
1980
- "text": "ElementStyles"
1981
- }
1982
- },
1983
- "parameters": [
1984
- {
1985
- "name": "context",
1986
- "type": {
1987
- "text": "ElementDefinitionContext"
1988
- }
1989
- },
1990
- {
1991
- "name": "definition",
1992
- "type": {
1993
- "text": "FoundationElementDefinition"
1994
- }
1995
- }
1996
- ]
1997
- },
1998
- {
1999
- "kind": "function",
2000
- "name": "foundationActionsMenuStyles",
2001
- "return": {
2002
- "type": {
2003
- "text": "ElementStyles"
2004
- }
2005
- },
2006
- "parameters": [
2007
- {
2008
- "name": "context",
2009
- "type": {
2010
- "text": "ElementDefinitionContext"
2011
- }
2012
- },
2013
- {
2014
- "name": "definition",
2015
- "type": {
2016
- "text": "FoundationElementDefinition"
2017
- }
2018
- }
2019
- ]
1895
+ "kind": "variable",
1896
+ "name": "foundationAiCriteriaSearchStyles",
1897
+ "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`"
2020
1898
  }
2021
1899
  ],
2022
1900
  "exports": [
2023
1901
  {
2024
1902
  "kind": "js",
2025
- "name": "actionsMenuBaseStyles",
2026
- "declaration": {
2027
- "name": "actionsMenuBaseStyles",
2028
- "module": "src/actions-menu/actions-menu.styles.ts"
2029
- }
2030
- },
2031
- {
2032
- "kind": "js",
2033
- "name": "foundationActionsMenuStyles",
1903
+ "name": "foundationAiCriteriaSearchStyles",
2034
1904
  "declaration": {
2035
- "name": "foundationActionsMenuStyles",
2036
- "module": "src/actions-menu/actions-menu.styles.ts"
1905
+ "name": "foundationAiCriteriaSearchStyles",
1906
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2037
1907
  }
2038
1908
  }
2039
1909
  ]
2040
1910
  },
2041
1911
  {
2042
1912
  "kind": "javascript-module",
2043
- "path": "src/actions-menu/actions-menu.template.ts",
1913
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2044
1914
  "declarations": [
2045
- {
2046
- "kind": "function",
2047
- "name": "menuTemplate",
2048
- "parameters": [
2049
- {
2050
- "name": "prefix",
2051
- "type": {
2052
- "text": "string"
2053
- }
2054
- }
2055
- ]
2056
- },
2057
- {
2058
- "kind": "function",
2059
- "name": "singleOptionTemplate",
2060
- "parameters": [
2061
- {
2062
- "name": "prefix",
2063
- "type": {
2064
- "text": "string"
2065
- }
2066
- }
2067
- ]
2068
- },
2069
1915
  {
2070
1916
  "kind": "variable",
2071
- "name": "foundationActionsMenuTemplate",
1917
+ "name": "foundationAiCriteriaSearchTemplate",
2072
1918
  "type": {
2073
- "text": "ViewTemplate<ActionsMenu>"
1919
+ "text": "ViewTemplate<AiCriteriaSearch>"
2074
1920
  },
2075
- "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`"
1921
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2076
1922
  }
2077
1923
  ],
2078
1924
  "exports": [
2079
1925
  {
2080
1926
  "kind": "js",
2081
- "name": "menuTemplate",
2082
- "declaration": {
2083
- "name": "menuTemplate",
2084
- "module": "src/actions-menu/actions-menu.template.ts"
2085
- }
2086
- },
2087
- {
2088
- "kind": "js",
2089
- "name": "singleOptionTemplate",
2090
- "declaration": {
2091
- "name": "singleOptionTemplate",
2092
- "module": "src/actions-menu/actions-menu.template.ts"
2093
- }
2094
- },
2095
- {
2096
- "kind": "js",
2097
- "name": "foundationActionsMenuTemplate",
1927
+ "name": "foundationAiCriteriaSearchTemplate",
2098
1928
  "declaration": {
2099
- "name": "foundationActionsMenuTemplate",
2100
- "module": "src/actions-menu/actions-menu.template.ts"
1929
+ "name": "foundationAiCriteriaSearchTemplate",
1930
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2101
1931
  }
2102
1932
  }
2103
1933
  ]
2104
1934
  },
2105
1935
  {
2106
1936
  "kind": "javascript-module",
2107
- "path": "src/actions-menu/actions-menu.ts",
1937
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2108
1938
  "declarations": [
2109
1939
  {
2110
1940
  "kind": "class",
2111
- "description": "",
2112
- "name": "ActionsMenu",
1941
+ "description": "Natural-language criteria search input with AI interpretation.",
1942
+ "name": "AiCriteriaSearch",
2113
1943
  "members": [
2114
1944
  {
2115
1945
  "kind": "field",
2116
- "name": "actions",
1946
+ "name": "providerRegistry",
2117
1947
  "type": {
2118
- "text": "ActionMenuItem[]"
1948
+ "text": "AIProviderRegistry"
2119
1949
  }
2120
1950
  },
2121
1951
  {
2122
1952
  "kind": "field",
2123
- "name": "isVertical",
1953
+ "name": "placeholder",
2124
1954
  "type": {
2125
- "text": "boolean"
1955
+ "text": "string"
2126
1956
  },
2127
- "default": "false"
1957
+ "default": "'Describe your search criteria in natural language...'"
2128
1958
  },
2129
1959
  {
2130
1960
  "kind": "field",
2131
- "name": "addDefaultActions",
1961
+ "name": "disabled",
2132
1962
  "type": {
2133
1963
  "text": "boolean"
2134
- },
2135
- "default": "true"
1964
+ }
2136
1965
  },
2137
1966
  {
2138
1967
  "kind": "field",
2139
- "name": "autoCloseOnAction",
1968
+ "name": "inputValue",
2140
1969
  "type": {
2141
- "text": "boolean"
1970
+ "text": "string"
2142
1971
  },
2143
- "default": "true"
1972
+ "default": "''"
2144
1973
  },
2145
1974
  {
2146
1975
  "kind": "field",
2147
- "name": "classNames",
1976
+ "name": "isInterpreting",
2148
1977
  "type": {
2149
- "text": "string"
2150
- }
1978
+ "text": "boolean"
1979
+ },
1980
+ "default": "false"
2151
1981
  },
2152
1982
  {
2153
1983
  "kind": "field",
2154
- "name": "definition",
1984
+ "name": "lastValidCriteria",
2155
1985
  "type": {
2156
- "text": "any"
2157
- }
1986
+ "text": "string | null"
1987
+ },
1988
+ "default": "null"
2158
1989
  },
2159
1990
  {
2160
1991
  "kind": "field",
2161
- "name": "name",
1992
+ "name": "activeGroups",
2162
1993
  "type": {
2163
- "text": "string"
1994
+ "text": "CriteriaGroup[]"
2164
1995
  },
2165
- "default": "'Actions'"
1996
+ "default": "[]"
2166
1997
  },
2167
1998
  {
2168
1999
  "kind": "field",
2169
- "name": "open",
2000
+ "name": "showingChips",
2170
2001
  "type": {
2171
2002
  "text": "boolean"
2172
2003
  },
@@ -2174,14 +2005,15 @@
2174
2005
  },
2175
2006
  {
2176
2007
  "kind": "field",
2177
- "name": "buttonAppearance",
2008
+ "name": "fieldMetadata",
2178
2009
  "type": {
2179
- "text": "string"
2180
- }
2010
+ "text": "MetadataDetail[] | string[]"
2011
+ },
2012
+ "default": "[]"
2181
2013
  },
2182
2014
  {
2183
2015
  "kind": "field",
2184
- "name": "hideDisabled",
2016
+ "name": "isRecording",
2185
2017
  "type": {
2186
2018
  "text": "boolean"
2187
2019
  },
@@ -2189,114 +2021,125 @@
2189
2021
  },
2190
2022
  {
2191
2023
  "kind": "field",
2192
- "name": "hideMenuSingleOption",
2024
+ "name": "textAreaRef",
2193
2025
  "type": {
2194
- "text": "boolean"
2026
+ "text": "HTMLTextAreaElement"
2195
2027
  },
2196
- "default": "false"
2028
+ "privacy": "public"
2197
2029
  },
2198
2030
  {
2199
2031
  "kind": "field",
2200
- "name": "singleOption",
2032
+ "name": "stopRecording",
2201
2033
  "type": {
2202
- "text": "ActionMenuItem"
2203
- }
2034
+ "text": "(() => void) | null"
2035
+ },
2036
+ "privacy": "private",
2037
+ "default": "null"
2204
2038
  },
2205
2039
  {
2206
2040
  "kind": "field",
2207
- "name": "actionsMenu",
2041
+ "name": "speechApplyDebounceTimer",
2208
2042
  "type": {
2209
- "text": "HTMLElement"
2210
- }
2043
+ "text": "ReturnType<typeof setTimeout> | null"
2044
+ },
2045
+ "privacy": "private",
2046
+ "default": "null"
2211
2047
  },
2212
2048
  {
2213
2049
  "kind": "field",
2214
- "name": "actionsOpener",
2050
+ "name": "speechAvailable",
2215
2051
  "type": {
2216
- "text": "HTMLElement"
2217
- }
2052
+ "text": "boolean"
2053
+ },
2054
+ "readonly": true
2218
2055
  },
2219
2056
  {
2220
- "kind": "method",
2221
- "name": "updateMenuPosition",
2222
- "privacy": "private"
2057
+ "kind": "field",
2058
+ "name": "criteriaChips",
2059
+ "type": {
2060
+ "text": "CriteriaChip[]"
2061
+ },
2062
+ "readonly": true
2223
2063
  },
2224
2064
  {
2225
2065
  "kind": "method",
2226
- "name": "definitionChanged",
2227
- "privacy": "protected",
2066
+ "name": "getFieldLabel",
2067
+ "privacy": "private",
2068
+ "return": {
2069
+ "type": {
2070
+ "text": "string"
2071
+ }
2072
+ },
2228
2073
  "parameters": [
2229
2074
  {
2230
- "name": "oldValue",
2231
- "type": {
2232
- "text": "any"
2233
- }
2234
- },
2235
- {
2236
- "name": "newValue",
2075
+ "name": "fieldName",
2237
2076
  "type": {
2238
- "text": "any"
2077
+ "text": "string"
2239
2078
  }
2240
2079
  }
2241
2080
  ]
2242
2081
  },
2243
2082
  {
2244
2083
  "kind": "method",
2245
- "name": "openChanged",
2246
- "privacy": "protected"
2247
- },
2248
- {
2249
- "kind": "method",
2250
- "name": "toggleActionsMenuVisibility"
2084
+ "name": "toggleCriteriaView",
2085
+ "return": {
2086
+ "type": {
2087
+ "text": "void"
2088
+ }
2089
+ }
2251
2090
  },
2252
2091
  {
2253
2092
  "kind": "method",
2254
- "name": "onActionMenuItemClick",
2093
+ "name": "removeChip",
2094
+ "return": {
2095
+ "type": {
2096
+ "text": "void"
2097
+ }
2098
+ },
2255
2099
  "parameters": [
2256
2100
  {
2257
- "name": "callback",
2101
+ "name": "groupIndex",
2258
2102
  "type": {
2259
- "text": "(rowData) => void | any"
2103
+ "text": "number"
2104
+ }
2105
+ },
2106
+ {
2107
+ "name": "clauseIndex",
2108
+ "type": {
2109
+ "text": "number"
2260
2110
  }
2261
2111
  }
2262
2112
  ]
2263
2113
  },
2264
2114
  {
2265
- "kind": "field",
2266
- "name": "allActions",
2267
- "type": {
2268
- "text": "ActionMenuItem[]"
2269
- },
2270
- "readonly": true
2115
+ "kind": "method",
2116
+ "name": "clearChips",
2117
+ "return": {
2118
+ "type": {
2119
+ "text": "void"
2120
+ }
2121
+ }
2271
2122
  },
2272
2123
  {
2273
- "kind": "field",
2274
- "name": "rowData",
2275
- "readonly": true
2124
+ "kind": "method",
2125
+ "name": "handleSubmit"
2276
2126
  },
2277
2127
  {
2278
2128
  "kind": "method",
2279
- "name": "getLabel",
2280
- "parameters": [
2281
- {
2282
- "name": "name",
2283
- "type": {
2284
- "text": "string | ((rowData: any) => string)"
2285
- }
2286
- }
2287
- ]
2129
+ "name": "handleBlur"
2288
2130
  },
2289
2131
  {
2290
2132
  "kind": "method",
2291
- "name": "getTemplate",
2292
- "parameters": [
2293
- {
2294
- "name": "prefix",
2295
- "type": {
2296
- "text": "string"
2297
- }
2298
- }
2299
- ]
2133
+ "name": "clear"
2134
+ },
2135
+ {
2136
+ "kind": "method",
2137
+ "name": "toggleSpeechInput"
2138
+ },
2139
+ {
2140
+ "kind": "method",
2141
+ "name": "clearSpeechApplyDebounce",
2142
+ "privacy": "private"
2300
2143
  },
2301
2144
  {
2302
2145
  "kind": "field",
@@ -2410,246 +2253,448 @@
2410
2253
  }
2411
2254
  }
2412
2255
  ],
2413
- "attributes": [
2414
- {
2415
- "name": "is-vertical",
2416
- "type": {
2417
- "text": "boolean"
2418
- },
2419
- "default": "false",
2420
- "fieldName": "isVertical"
2421
- },
2422
- {
2423
- "name": "add-default-actions",
2424
- "type": {
2425
- "text": "boolean"
2426
- },
2427
- "default": "true",
2428
- "fieldName": "addDefaultActions"
2429
- },
2430
- {
2431
- "name": "auto-close-on-action",
2432
- "type": {
2433
- "text": "boolean"
2434
- },
2435
- "default": "true",
2436
- "fieldName": "autoCloseOnAction"
2437
- },
2256
+ "events": [
2438
2257
  {
2439
- "name": "name",
2440
- "type": {
2441
- "text": "string"
2442
- },
2443
- "default": "'Actions'",
2444
- "fieldName": "name"
2258
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2259
+ "name": "criteria-changed"
2445
2260
  },
2446
2261
  {
2447
- "name": "open",
2448
- "type": {
2449
- "text": "boolean"
2450
- },
2451
- "default": "false",
2452
- "fieldName": "open"
2453
- },
2262
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2263
+ "name": "validation-errors"
2264
+ }
2265
+ ],
2266
+ "attributes": [
2454
2267
  {
2455
- "name": "buttonAppearance",
2268
+ "name": "placeholder",
2456
2269
  "type": {
2457
2270
  "text": "string"
2458
2271
  },
2459
- "fieldName": "buttonAppearance"
2460
- },
2461
- {
2462
- "name": "hide-disabled",
2463
- "type": {
2464
- "text": "boolean"
2465
- },
2466
- "default": "false",
2467
- "fieldName": "hideDisabled"
2272
+ "default": "'Describe your search criteria in natural language...'",
2273
+ "fieldName": "placeholder"
2468
2274
  },
2469
2275
  {
2470
- "name": "hide-menu-single-option",
2471
2276
  "type": {
2472
2277
  "text": "boolean"
2473
2278
  },
2474
- "default": "false",
2475
- "fieldName": "hideMenuSingleOption"
2279
+ "fieldName": "disabled"
2476
2280
  }
2477
2281
  ],
2478
2282
  "superclass": {
2479
2283
  "name": "FoundationElement",
2480
2284
  "package": "@microsoft/fast-foundation"
2481
2285
  },
2482
- "tagName": "%%prefix%%-actions-menu",
2286
+ "tagName": "%%prefix%%-ai-criteria-search",
2483
2287
  "customElement": true
2484
2288
  },
2485
2289
  {
2486
2290
  "kind": "variable",
2487
- "name": "foundationActionsMenu",
2488
- "description": "The Foundation Actions Menu",
2489
- "privacy": "public"
2291
+ "name": "foundationAiCriteriaSearchShadowOptions",
2292
+ "type": {
2293
+ "text": "ShadowRootInit"
2294
+ },
2295
+ "default": "undefined"
2296
+ },
2297
+ {
2298
+ "kind": "variable",
2299
+ "name": "defaultAiCriteriaSearchConfig",
2300
+ "type": {
2301
+ "text": "object"
2302
+ },
2303
+ "default": "{}"
2304
+ },
2305
+ {
2306
+ "kind": "variable",
2307
+ "name": "foundationAiCriteriaSearch"
2490
2308
  }
2491
2309
  ],
2492
2310
  "exports": [
2493
2311
  {
2494
2312
  "kind": "js",
2495
- "name": "ActionsMenu",
2313
+ "name": "AiCriteriaSearch",
2496
2314
  "declaration": {
2497
- "name": "ActionsMenu",
2498
- "module": "src/actions-menu/actions-menu.ts"
2315
+ "name": "AiCriteriaSearch",
2316
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2499
2317
  }
2500
2318
  },
2501
2319
  {
2502
2320
  "kind": "js",
2503
- "name": "foundationActionsMenu",
2504
- "declaration": {
2505
- "name": "foundationActionsMenu",
2506
- "module": "src/actions-menu/actions-menu.ts"
2507
- }
2508
- }
2509
- ]
2510
- },
2511
- {
2512
- "kind": "javascript-module",
2513
- "path": "src/actions-menu/index.ts",
2514
- "declarations": [],
2515
- "exports": [
2516
- {
2517
- "kind": "js",
2518
- "name": "*",
2321
+ "name": "foundationAiCriteriaSearchShadowOptions",
2519
2322
  "declaration": {
2520
- "name": "*",
2521
- "package": "./actions-menu.styles"
2323
+ "name": "foundationAiCriteriaSearchShadowOptions",
2324
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2522
2325
  }
2523
2326
  },
2524
2327
  {
2525
2328
  "kind": "js",
2526
- "name": "*",
2329
+ "name": "defaultAiCriteriaSearchConfig",
2527
2330
  "declaration": {
2528
- "name": "*",
2529
- "package": "./actions-menu.template"
2331
+ "name": "defaultAiCriteriaSearchConfig",
2332
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2530
2333
  }
2531
2334
  },
2532
2335
  {
2533
2336
  "kind": "js",
2534
- "name": "*",
2337
+ "name": "foundationAiCriteriaSearch",
2535
2338
  "declaration": {
2536
- "name": "*",
2537
- "package": "./actions-menu"
2339
+ "name": "foundationAiCriteriaSearch",
2340
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2538
2341
  }
2539
2342
  }
2540
2343
  ]
2541
2344
  },
2542
2345
  {
2543
2346
  "kind": "javascript-module",
2544
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2545
- "declarations": [
2347
+ "path": "src/ai-criteria-search/index.ts",
2348
+ "declarations": [],
2349
+ "exports": [
2546
2350
  {
2547
- "kind": "variable",
2351
+ "kind": "js",
2352
+ "name": "AiCriteriaSearch",
2353
+ "declaration": {
2354
+ "name": "AiCriteriaSearch",
2355
+ "module": "./ai-criteria-search"
2356
+ }
2357
+ },
2358
+ {
2359
+ "kind": "js",
2360
+ "name": "defaultAiCriteriaSearchConfig",
2361
+ "declaration": {
2362
+ "name": "defaultAiCriteriaSearchConfig",
2363
+ "module": "./ai-criteria-search"
2364
+ }
2365
+ },
2366
+ {
2367
+ "kind": "js",
2368
+ "name": "foundationAiCriteriaSearch",
2369
+ "declaration": {
2370
+ "name": "foundationAiCriteriaSearch",
2371
+ "module": "./ai-criteria-search"
2372
+ }
2373
+ },
2374
+ {
2375
+ "kind": "js",
2376
+ "name": "foundationAiCriteriaSearchShadowOptions",
2377
+ "declaration": {
2378
+ "name": "foundationAiCriteriaSearchShadowOptions",
2379
+ "module": "./ai-criteria-search"
2380
+ }
2381
+ },
2382
+ {
2383
+ "kind": "js",
2548
2384
  "name": "foundationAiCriteriaSearchStyles",
2549
- "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`"
2385
+ "declaration": {
2386
+ "name": "foundationAiCriteriaSearchStyles",
2387
+ "module": "./ai-criteria-search.styles"
2388
+ }
2389
+ },
2390
+ {
2391
+ "kind": "js",
2392
+ "name": "foundationAiCriteriaSearchTemplate",
2393
+ "declaration": {
2394
+ "name": "foundationAiCriteriaSearchTemplate",
2395
+ "module": "./ai-criteria-search.template"
2396
+ }
2397
+ },
2398
+ {
2399
+ "kind": "js",
2400
+ "name": "*",
2401
+ "declaration": {
2402
+ "name": "*",
2403
+ "package": "./validation/criteria-ir"
2404
+ }
2405
+ },
2406
+ {
2407
+ "kind": "js",
2408
+ "name": "*",
2409
+ "declaration": {
2410
+ "name": "*",
2411
+ "package": "./validation/operator-map"
2412
+ }
2413
+ },
2414
+ {
2415
+ "kind": "js",
2416
+ "name": "*",
2417
+ "declaration": {
2418
+ "name": "*",
2419
+ "package": "./validation/schema-validator"
2420
+ }
2421
+ }
2422
+ ]
2423
+ },
2424
+ {
2425
+ "kind": "javascript-module",
2426
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2427
+ "declarations": [
2428
+ {
2429
+ "kind": "function",
2430
+ "name": "formatValidationErrors",
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "string"
2434
+ }
2435
+ },
2436
+ "parameters": [
2437
+ {
2438
+ "name": "errors",
2439
+ "type": {
2440
+ "text": "ValidationError[]"
2441
+ }
2442
+ }
2443
+ ],
2444
+ "description": "Formats validation errors into a user-friendly message."
2445
+ },
2446
+ {
2447
+ "kind": "function",
2448
+ "name": "showCriteriaError",
2449
+ "return": {
2450
+ "type": {
2451
+ "text": "void"
2452
+ }
2453
+ },
2454
+ "parameters": [
2455
+ {
2456
+ "name": "title",
2457
+ "type": {
2458
+ "text": "string"
2459
+ },
2460
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2461
+ },
2462
+ {
2463
+ "name": "body",
2464
+ "type": {
2465
+ "text": "string"
2466
+ },
2467
+ "description": "Error message to display"
2468
+ },
2469
+ {
2470
+ "name": "tagName",
2471
+ "type": {
2472
+ "text": "string"
2473
+ },
2474
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2475
+ }
2476
+ ],
2477
+ "description": "Shows a criteria error as a toast notification."
2550
2478
  }
2551
2479
  ],
2552
2480
  "exports": [
2553
2481
  {
2554
2482
  "kind": "js",
2555
- "name": "foundationAiCriteriaSearchStyles",
2483
+ "name": "formatValidationErrors",
2556
2484
  "declaration": {
2557
- "name": "foundationAiCriteriaSearchStyles",
2558
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2485
+ "name": "formatValidationErrors",
2486
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2487
+ }
2488
+ },
2489
+ {
2490
+ "kind": "js",
2491
+ "name": "showCriteriaError",
2492
+ "declaration": {
2493
+ "name": "showCriteriaError",
2494
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2559
2495
  }
2560
2496
  }
2561
2497
  ]
2562
2498
  },
2563
2499
  {
2564
2500
  "kind": "javascript-module",
2565
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2501
+ "path": "src/actions-menu/actions-menu.styles.ts",
2502
+ "declarations": [
2503
+ {
2504
+ "kind": "function",
2505
+ "name": "actionsMenuBaseStyles",
2506
+ "return": {
2507
+ "type": {
2508
+ "text": "ElementStyles"
2509
+ }
2510
+ },
2511
+ "parameters": [
2512
+ {
2513
+ "name": "context",
2514
+ "type": {
2515
+ "text": "ElementDefinitionContext"
2516
+ }
2517
+ },
2518
+ {
2519
+ "name": "definition",
2520
+ "type": {
2521
+ "text": "FoundationElementDefinition"
2522
+ }
2523
+ }
2524
+ ]
2525
+ },
2526
+ {
2527
+ "kind": "function",
2528
+ "name": "foundationActionsMenuStyles",
2529
+ "return": {
2530
+ "type": {
2531
+ "text": "ElementStyles"
2532
+ }
2533
+ },
2534
+ "parameters": [
2535
+ {
2536
+ "name": "context",
2537
+ "type": {
2538
+ "text": "ElementDefinitionContext"
2539
+ }
2540
+ },
2541
+ {
2542
+ "name": "definition",
2543
+ "type": {
2544
+ "text": "FoundationElementDefinition"
2545
+ }
2546
+ }
2547
+ ]
2548
+ }
2549
+ ],
2550
+ "exports": [
2551
+ {
2552
+ "kind": "js",
2553
+ "name": "actionsMenuBaseStyles",
2554
+ "declaration": {
2555
+ "name": "actionsMenuBaseStyles",
2556
+ "module": "src/actions-menu/actions-menu.styles.ts"
2557
+ }
2558
+ },
2559
+ {
2560
+ "kind": "js",
2561
+ "name": "foundationActionsMenuStyles",
2562
+ "declaration": {
2563
+ "name": "foundationActionsMenuStyles",
2564
+ "module": "src/actions-menu/actions-menu.styles.ts"
2565
+ }
2566
+ }
2567
+ ]
2568
+ },
2569
+ {
2570
+ "kind": "javascript-module",
2571
+ "path": "src/actions-menu/actions-menu.template.ts",
2566
2572
  "declarations": [
2573
+ {
2574
+ "kind": "function",
2575
+ "name": "menuTemplate",
2576
+ "parameters": [
2577
+ {
2578
+ "name": "prefix",
2579
+ "type": {
2580
+ "text": "string"
2581
+ }
2582
+ }
2583
+ ]
2584
+ },
2585
+ {
2586
+ "kind": "function",
2587
+ "name": "singleOptionTemplate",
2588
+ "parameters": [
2589
+ {
2590
+ "name": "prefix",
2591
+ "type": {
2592
+ "text": "string"
2593
+ }
2594
+ }
2595
+ ]
2596
+ },
2567
2597
  {
2568
2598
  "kind": "variable",
2569
- "name": "foundationAiCriteriaSearchTemplate",
2599
+ "name": "foundationActionsMenuTemplate",
2570
2600
  "type": {
2571
- "text": "ViewTemplate<AiCriteriaSearch>"
2601
+ "text": "ViewTemplate<ActionsMenu>"
2572
2602
  },
2573
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2603
+ "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`"
2574
2604
  }
2575
2605
  ],
2576
2606
  "exports": [
2577
2607
  {
2578
2608
  "kind": "js",
2579
- "name": "foundationAiCriteriaSearchTemplate",
2609
+ "name": "menuTemplate",
2580
2610
  "declaration": {
2581
- "name": "foundationAiCriteriaSearchTemplate",
2582
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2611
+ "name": "menuTemplate",
2612
+ "module": "src/actions-menu/actions-menu.template.ts"
2613
+ }
2614
+ },
2615
+ {
2616
+ "kind": "js",
2617
+ "name": "singleOptionTemplate",
2618
+ "declaration": {
2619
+ "name": "singleOptionTemplate",
2620
+ "module": "src/actions-menu/actions-menu.template.ts"
2621
+ }
2622
+ },
2623
+ {
2624
+ "kind": "js",
2625
+ "name": "foundationActionsMenuTemplate",
2626
+ "declaration": {
2627
+ "name": "foundationActionsMenuTemplate",
2628
+ "module": "src/actions-menu/actions-menu.template.ts"
2583
2629
  }
2584
2630
  }
2585
2631
  ]
2586
2632
  },
2587
2633
  {
2588
2634
  "kind": "javascript-module",
2589
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2635
+ "path": "src/actions-menu/actions-menu.ts",
2590
2636
  "declarations": [
2591
2637
  {
2592
2638
  "kind": "class",
2593
- "description": "Natural-language criteria search input with AI interpretation.",
2594
- "name": "AiCriteriaSearch",
2639
+ "description": "",
2640
+ "name": "ActionsMenu",
2595
2641
  "members": [
2596
2642
  {
2597
2643
  "kind": "field",
2598
- "name": "providerRegistry",
2644
+ "name": "actions",
2599
2645
  "type": {
2600
- "text": "AIProviderRegistry"
2646
+ "text": "ActionMenuItem[]"
2601
2647
  }
2602
2648
  },
2603
2649
  {
2604
2650
  "kind": "field",
2605
- "name": "placeholder",
2651
+ "name": "isVertical",
2606
2652
  "type": {
2607
- "text": "string"
2653
+ "text": "boolean"
2608
2654
  },
2609
- "default": "'Describe your search criteria in natural language...'"
2655
+ "default": "false"
2610
2656
  },
2611
2657
  {
2612
2658
  "kind": "field",
2613
- "name": "disabled",
2659
+ "name": "addDefaultActions",
2614
2660
  "type": {
2615
2661
  "text": "boolean"
2616
- }
2662
+ },
2663
+ "default": "true"
2617
2664
  },
2618
2665
  {
2619
2666
  "kind": "field",
2620
- "name": "inputValue",
2667
+ "name": "autoCloseOnAction",
2621
2668
  "type": {
2622
- "text": "string"
2669
+ "text": "boolean"
2623
2670
  },
2624
- "default": "''"
2671
+ "default": "true"
2625
2672
  },
2626
2673
  {
2627
2674
  "kind": "field",
2628
- "name": "isInterpreting",
2675
+ "name": "classNames",
2629
2676
  "type": {
2630
- "text": "boolean"
2631
- },
2632
- "default": "false"
2677
+ "text": "string"
2678
+ }
2633
2679
  },
2634
2680
  {
2635
2681
  "kind": "field",
2636
- "name": "lastValidCriteria",
2682
+ "name": "definition",
2637
2683
  "type": {
2638
- "text": "string | null"
2639
- },
2640
- "default": "null"
2684
+ "text": "any"
2685
+ }
2641
2686
  },
2642
2687
  {
2643
2688
  "kind": "field",
2644
- "name": "activeGroups",
2689
+ "name": "name",
2645
2690
  "type": {
2646
- "text": "CriteriaGroup[]"
2691
+ "text": "string"
2647
2692
  },
2648
- "default": "[]"
2693
+ "default": "'Actions'"
2649
2694
  },
2650
2695
  {
2651
2696
  "kind": "field",
2652
- "name": "showingChips",
2697
+ "name": "open",
2653
2698
  "type": {
2654
2699
  "text": "boolean"
2655
2700
  },
@@ -2657,15 +2702,14 @@
2657
2702
  },
2658
2703
  {
2659
2704
  "kind": "field",
2660
- "name": "fieldMetadata",
2705
+ "name": "buttonAppearance",
2661
2706
  "type": {
2662
- "text": "MetadataDetail[] | string[]"
2663
- },
2664
- "default": "[]"
2707
+ "text": "string"
2708
+ }
2665
2709
  },
2666
2710
  {
2667
2711
  "kind": "field",
2668
- "name": "isRecording",
2712
+ "name": "hideDisabled",
2669
2713
  "type": {
2670
2714
  "text": "boolean"
2671
2715
  },
@@ -2673,125 +2717,114 @@
2673
2717
  },
2674
2718
  {
2675
2719
  "kind": "field",
2676
- "name": "textAreaRef",
2677
- "type": {
2678
- "text": "HTMLTextAreaElement"
2679
- },
2680
- "privacy": "public"
2681
- },
2682
- {
2683
- "kind": "field",
2684
- "name": "stopRecording",
2720
+ "name": "hideMenuSingleOption",
2685
2721
  "type": {
2686
- "text": "(() => void) | null"
2722
+ "text": "boolean"
2687
2723
  },
2688
- "privacy": "private",
2689
- "default": "null"
2724
+ "default": "false"
2690
2725
  },
2691
2726
  {
2692
2727
  "kind": "field",
2693
- "name": "speechApplyDebounceTimer",
2728
+ "name": "singleOption",
2694
2729
  "type": {
2695
- "text": "ReturnType<typeof setTimeout> | null"
2696
- },
2697
- "privacy": "private",
2698
- "default": "null"
2730
+ "text": "ActionMenuItem"
2731
+ }
2699
2732
  },
2700
2733
  {
2701
2734
  "kind": "field",
2702
- "name": "speechAvailable",
2735
+ "name": "actionsMenu",
2703
2736
  "type": {
2704
- "text": "boolean"
2705
- },
2706
- "readonly": true
2737
+ "text": "HTMLElement"
2738
+ }
2707
2739
  },
2708
2740
  {
2709
2741
  "kind": "field",
2710
- "name": "criteriaChips",
2742
+ "name": "actionsOpener",
2711
2743
  "type": {
2712
- "text": "CriteriaChip[]"
2713
- },
2714
- "readonly": true
2715
- },
2716
- {
2717
- "kind": "method",
2718
- "name": "getFieldLabel",
2719
- "privacy": "private",
2720
- "return": {
2721
- "type": {
2722
- "text": "string"
2723
- }
2724
- },
2725
- "parameters": [
2726
- {
2727
- "name": "fieldName",
2728
- "type": {
2729
- "text": "string"
2730
- }
2731
- }
2732
- ]
2744
+ "text": "HTMLElement"
2745
+ }
2733
2746
  },
2734
2747
  {
2735
2748
  "kind": "method",
2736
- "name": "toggleCriteriaView",
2737
- "return": {
2738
- "type": {
2739
- "text": "void"
2740
- }
2741
- }
2749
+ "name": "updateMenuPosition",
2750
+ "privacy": "private"
2742
2751
  },
2743
2752
  {
2744
2753
  "kind": "method",
2745
- "name": "removeChip",
2746
- "return": {
2747
- "type": {
2748
- "text": "void"
2749
- }
2750
- },
2754
+ "name": "definitionChanged",
2755
+ "privacy": "protected",
2751
2756
  "parameters": [
2752
2757
  {
2753
- "name": "groupIndex",
2758
+ "name": "oldValue",
2754
2759
  "type": {
2755
- "text": "number"
2760
+ "text": "any"
2756
2761
  }
2757
2762
  },
2758
2763
  {
2759
- "name": "clauseIndex",
2764
+ "name": "newValue",
2760
2765
  "type": {
2761
- "text": "number"
2766
+ "text": "any"
2762
2767
  }
2763
2768
  }
2764
2769
  ]
2765
2770
  },
2766
2771
  {
2767
2772
  "kind": "method",
2768
- "name": "clearChips",
2769
- "return": {
2770
- "type": {
2771
- "text": "void"
2772
- }
2773
- }
2773
+ "name": "openChanged",
2774
+ "privacy": "protected"
2774
2775
  },
2775
2776
  {
2776
2777
  "kind": "method",
2777
- "name": "handleSubmit"
2778
+ "name": "toggleActionsMenuVisibility"
2778
2779
  },
2779
2780
  {
2780
2781
  "kind": "method",
2781
- "name": "handleBlur"
2782
+ "name": "onActionMenuItemClick",
2783
+ "parameters": [
2784
+ {
2785
+ "name": "callback",
2786
+ "type": {
2787
+ "text": "(rowData) => void | any"
2788
+ }
2789
+ }
2790
+ ]
2782
2791
  },
2783
2792
  {
2784
- "kind": "method",
2785
- "name": "clear"
2793
+ "kind": "field",
2794
+ "name": "allActions",
2795
+ "type": {
2796
+ "text": "ActionMenuItem[]"
2797
+ },
2798
+ "readonly": true
2799
+ },
2800
+ {
2801
+ "kind": "field",
2802
+ "name": "rowData",
2803
+ "readonly": true
2786
2804
  },
2787
2805
  {
2788
2806
  "kind": "method",
2789
- "name": "toggleSpeechInput"
2807
+ "name": "getLabel",
2808
+ "parameters": [
2809
+ {
2810
+ "name": "name",
2811
+ "type": {
2812
+ "text": "string | ((rowData: any) => string)"
2813
+ }
2814
+ }
2815
+ ]
2790
2816
  },
2791
2817
  {
2792
2818
  "kind": "method",
2793
- "name": "clearSpeechApplyDebounce",
2794
- "privacy": "private"
2819
+ "name": "getTemplate",
2820
+ "parameters": [
2821
+ {
2822
+ "name": "prefix",
2823
+ "type": {
2824
+ "text": "string"
2825
+ }
2826
+ }
2827
+ ]
2795
2828
  },
2796
2829
  {
2797
2830
  "kind": "field",
@@ -2905,154 +2938,115 @@
2905
2938
  }
2906
2939
  }
2907
2940
  ],
2908
- "events": [
2941
+ "attributes": [
2909
2942
  {
2910
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2911
- "name": "criteria-changed"
2943
+ "name": "is-vertical",
2944
+ "type": {
2945
+ "text": "boolean"
2946
+ },
2947
+ "default": "false",
2948
+ "fieldName": "isVertical"
2912
2949
  },
2913
2950
  {
2914
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2915
- "name": "validation-errors"
2916
- }
2917
- ],
2918
- "attributes": [
2951
+ "name": "add-default-actions",
2952
+ "type": {
2953
+ "text": "boolean"
2954
+ },
2955
+ "default": "true",
2956
+ "fieldName": "addDefaultActions"
2957
+ },
2919
2958
  {
2920
- "name": "placeholder",
2959
+ "name": "auto-close-on-action",
2960
+ "type": {
2961
+ "text": "boolean"
2962
+ },
2963
+ "default": "true",
2964
+ "fieldName": "autoCloseOnAction"
2965
+ },
2966
+ {
2967
+ "name": "name",
2921
2968
  "type": {
2922
2969
  "text": "string"
2923
2970
  },
2924
- "default": "'Describe your search criteria in natural language...'",
2925
- "fieldName": "placeholder"
2971
+ "default": "'Actions'",
2972
+ "fieldName": "name"
2926
2973
  },
2927
2974
  {
2975
+ "name": "open",
2928
2976
  "type": {
2929
2977
  "text": "boolean"
2930
2978
  },
2931
- "fieldName": "disabled"
2979
+ "default": "false",
2980
+ "fieldName": "open"
2981
+ },
2982
+ {
2983
+ "name": "buttonAppearance",
2984
+ "type": {
2985
+ "text": "string"
2986
+ },
2987
+ "fieldName": "buttonAppearance"
2988
+ },
2989
+ {
2990
+ "name": "hide-disabled",
2991
+ "type": {
2992
+ "text": "boolean"
2993
+ },
2994
+ "default": "false",
2995
+ "fieldName": "hideDisabled"
2996
+ },
2997
+ {
2998
+ "name": "hide-menu-single-option",
2999
+ "type": {
3000
+ "text": "boolean"
3001
+ },
3002
+ "default": "false",
3003
+ "fieldName": "hideMenuSingleOption"
2932
3004
  }
2933
3005
  ],
2934
3006
  "superclass": {
2935
3007
  "name": "FoundationElement",
2936
3008
  "package": "@microsoft/fast-foundation"
2937
3009
  },
2938
- "tagName": "%%prefix%%-ai-criteria-search",
3010
+ "tagName": "%%prefix%%-actions-menu",
2939
3011
  "customElement": true
2940
3012
  },
2941
3013
  {
2942
3014
  "kind": "variable",
2943
- "name": "foundationAiCriteriaSearchShadowOptions",
2944
- "type": {
2945
- "text": "ShadowRootInit"
2946
- },
2947
- "default": "undefined"
2948
- },
2949
- {
2950
- "kind": "variable",
2951
- "name": "defaultAiCriteriaSearchConfig",
2952
- "type": {
2953
- "text": "object"
2954
- },
2955
- "default": "{}"
2956
- },
2957
- {
2958
- "kind": "variable",
2959
- "name": "foundationAiCriteriaSearch"
3015
+ "name": "foundationActionsMenu",
3016
+ "description": "The Foundation Actions Menu",
3017
+ "privacy": "public"
2960
3018
  }
2961
3019
  ],
2962
3020
  "exports": [
2963
3021
  {
2964
3022
  "kind": "js",
2965
- "name": "AiCriteriaSearch",
2966
- "declaration": {
2967
- "name": "AiCriteriaSearch",
2968
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2969
- }
2970
- },
2971
- {
2972
- "kind": "js",
2973
- "name": "foundationAiCriteriaSearchShadowOptions",
2974
- "declaration": {
2975
- "name": "foundationAiCriteriaSearchShadowOptions",
2976
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2977
- }
2978
- },
2979
- {
2980
- "kind": "js",
2981
- "name": "defaultAiCriteriaSearchConfig",
3023
+ "name": "ActionsMenu",
2982
3024
  "declaration": {
2983
- "name": "defaultAiCriteriaSearchConfig",
2984
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3025
+ "name": "ActionsMenu",
3026
+ "module": "src/actions-menu/actions-menu.ts"
2985
3027
  }
2986
3028
  },
2987
3029
  {
2988
3030
  "kind": "js",
2989
- "name": "foundationAiCriteriaSearch",
3031
+ "name": "foundationActionsMenu",
2990
3032
  "declaration": {
2991
- "name": "foundationAiCriteriaSearch",
2992
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3033
+ "name": "foundationActionsMenu",
3034
+ "module": "src/actions-menu/actions-menu.ts"
2993
3035
  }
2994
3036
  }
2995
3037
  ]
2996
3038
  },
2997
3039
  {
2998
3040
  "kind": "javascript-module",
2999
- "path": "src/ai-criteria-search/index.ts",
3041
+ "path": "src/actions-menu/index.ts",
3000
3042
  "declarations": [],
3001
3043
  "exports": [
3002
- {
3003
- "kind": "js",
3004
- "name": "AiCriteriaSearch",
3005
- "declaration": {
3006
- "name": "AiCriteriaSearch",
3007
- "module": "./ai-criteria-search"
3008
- }
3009
- },
3010
- {
3011
- "kind": "js",
3012
- "name": "defaultAiCriteriaSearchConfig",
3013
- "declaration": {
3014
- "name": "defaultAiCriteriaSearchConfig",
3015
- "module": "./ai-criteria-search"
3016
- }
3017
- },
3018
- {
3019
- "kind": "js",
3020
- "name": "foundationAiCriteriaSearch",
3021
- "declaration": {
3022
- "name": "foundationAiCriteriaSearch",
3023
- "module": "./ai-criteria-search"
3024
- }
3025
- },
3026
- {
3027
- "kind": "js",
3028
- "name": "foundationAiCriteriaSearchShadowOptions",
3029
- "declaration": {
3030
- "name": "foundationAiCriteriaSearchShadowOptions",
3031
- "module": "./ai-criteria-search"
3032
- }
3033
- },
3034
- {
3035
- "kind": "js",
3036
- "name": "foundationAiCriteriaSearchStyles",
3037
- "declaration": {
3038
- "name": "foundationAiCriteriaSearchStyles",
3039
- "module": "./ai-criteria-search.styles"
3040
- }
3041
- },
3042
- {
3043
- "kind": "js",
3044
- "name": "foundationAiCriteriaSearchTemplate",
3045
- "declaration": {
3046
- "name": "foundationAiCriteriaSearchTemplate",
3047
- "module": "./ai-criteria-search.template"
3048
- }
3049
- },
3050
3044
  {
3051
3045
  "kind": "js",
3052
3046
  "name": "*",
3053
3047
  "declaration": {
3054
3048
  "name": "*",
3055
- "package": "./validation/criteria-ir"
3049
+ "package": "./actions-menu.styles"
3056
3050
  }
3057
3051
  },
3058
3052
  {
@@ -3060,7 +3054,7 @@
3060
3054
  "name": "*",
3061
3055
  "declaration": {
3062
3056
  "name": "*",
3063
- "package": "./validation/operator-map"
3057
+ "package": "./actions-menu.template"
3064
3058
  }
3065
3059
  },
3066
3060
  {
@@ -3068,93 +3062,49 @@
3068
3062
  "name": "*",
3069
3063
  "declaration": {
3070
3064
  "name": "*",
3071
- "package": "./validation/schema-validator"
3065
+ "package": "./actions-menu"
3072
3066
  }
3073
3067
  }
3074
3068
  ]
3075
3069
  },
3076
3070
  {
3077
3071
  "kind": "javascript-module",
3078
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3079
- "declarations": [
3072
+ "path": "src/_config/index.ts",
3073
+ "declarations": [],
3074
+ "exports": [
3080
3075
  {
3081
- "kind": "function",
3082
- "name": "formatValidationErrors",
3083
- "return": {
3084
- "type": {
3085
- "text": "string"
3086
- }
3087
- },
3088
- "parameters": [
3089
- {
3090
- "name": "errors",
3091
- "type": {
3092
- "text": "ValidationError[]"
3093
- }
3094
- }
3095
- ],
3096
- "description": "Formats validation errors into a user-friendly message."
3076
+ "kind": "js",
3077
+ "name": "*",
3078
+ "declaration": {
3079
+ "name": "*",
3080
+ "package": "./styles"
3081
+ }
3097
3082
  },
3098
- {
3099
- "kind": "function",
3100
- "name": "showCriteriaError",
3101
- "return": {
3102
- "type": {
3103
- "text": "void"
3104
- }
3105
- },
3106
- "parameters": [
3107
- {
3108
- "name": "title",
3109
- "type": {
3110
- "text": "string"
3111
- },
3112
- "description": "Notification title (e.g. \"Criteria validation error\")"
3113
- },
3114
- {
3115
- "name": "body",
3116
- "type": {
3117
- "text": "string"
3118
- },
3119
- "description": "Error message to display"
3120
- },
3121
- {
3122
- "name": "tagName",
3123
- "type": {
3124
- "text": "string"
3125
- },
3126
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3127
- }
3128
- ],
3129
- "description": "Shows a criteria error as a toast notification."
3130
- }
3131
- ],
3132
- "exports": [
3133
3083
  {
3134
3084
  "kind": "js",
3135
- "name": "formatValidationErrors",
3085
+ "name": "*",
3136
3086
  "declaration": {
3137
- "name": "formatValidationErrors",
3138
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3087
+ "name": "*",
3088
+ "package": "./tokens"
3139
3089
  }
3140
3090
  },
3141
3091
  {
3142
3092
  "kind": "js",
3143
- "name": "showCriteriaError",
3093
+ "name": "*",
3144
3094
  "declaration": {
3145
- "name": "showCriteriaError",
3146
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3095
+ "name": "*",
3096
+ "package": "./values"
3147
3097
  }
3148
3098
  }
3149
3099
  ]
3150
3100
  },
3151
3101
  {
3152
3102
  "kind": "javascript-module",
3153
- "path": "src/accordion-item/accordion-item.styles.ts",
3103
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3154
3104
  "declarations": [
3155
3105
  {
3156
3106
  "kind": "function",
3157
- "name": "foundationAccordionItemStyles",
3107
+ "name": "foundationAiIndicatorStyles",
3158
3108
  "return": {
3159
3109
  "type": {
3160
3110
  "text": "ElementStyles"
@@ -3179,155 +3129,224 @@
3179
3129
  "exports": [
3180
3130
  {
3181
3131
  "kind": "js",
3182
- "name": "foundationAccordionItemStyles",
3132
+ "name": "foundationAiIndicatorStyles",
3183
3133
  "declaration": {
3184
- "name": "foundationAccordionItemStyles",
3185
- "module": "src/accordion-item/accordion-item.styles.ts"
3134
+ "name": "foundationAiIndicatorStyles",
3135
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3186
3136
  }
3187
3137
  }
3188
3138
  ]
3189
3139
  },
3190
3140
  {
3191
3141
  "kind": "javascript-module",
3192
- "path": "src/accordion-item/accordion-item.template.ts",
3142
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3193
3143
  "declarations": [
3194
3144
  {
3195
- "kind": "function",
3196
- "name": "foundationAccordionItemTemplate",
3197
- "return": {
3198
- "type": {
3199
- "text": "ViewTemplate<AccordionItem>"
3200
- }
3145
+ "kind": "variable",
3146
+ "name": "foundationAiIndicatorTemplate",
3147
+ "type": {
3148
+ "text": "ViewTemplate<AiIndicator>"
3201
3149
  },
3202
- "parameters": [
3203
- {
3204
- "name": "context",
3205
- "type": {
3206
- "text": "ElementDefinitionContext"
3207
- }
3208
- },
3209
- {
3210
- "name": "definition",
3211
- "type": {
3212
- "text": "FoundationElementDefinition"
3213
- }
3214
- }
3215
- ]
3150
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3216
3151
  }
3217
3152
  ],
3218
3153
  "exports": [
3219
3154
  {
3220
3155
  "kind": "js",
3221
- "name": "foundationAccordionItemTemplate",
3156
+ "name": "foundationAiIndicatorTemplate",
3222
3157
  "declaration": {
3223
- "name": "foundationAccordionItemTemplate",
3224
- "module": "src/accordion-item/accordion-item.template.ts"
3158
+ "name": "foundationAiIndicatorTemplate",
3159
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3225
3160
  }
3226
3161
  }
3227
3162
  ]
3228
3163
  },
3229
3164
  {
3230
3165
  "kind": "javascript-module",
3231
- "path": "src/accordion-item/accordion-item.ts",
3166
+ "path": "src/ai-indicator/ai-indicator.ts",
3232
3167
  "declarations": [
3233
3168
  {
3234
3169
  "kind": "class",
3235
3170
  "description": "",
3236
- "name": "AccordionItem",
3237
- "superclass": {
3238
- "name": "FASTAccordionItem",
3239
- "package": "@microsoft/fast-components"
3240
- },
3241
- "tagName": "%%prefix%%-accordion-item",
3242
- "customElement": true,
3243
- "attributes": [
3171
+ "name": "AiIndicator",
3172
+ "members": [
3244
3173
  {
3245
- "name": "heading-level",
3174
+ "kind": "field",
3175
+ "name": "providerRegistry",
3246
3176
  "type": {
3247
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3248
- },
3249
- "default": "2",
3250
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3251
- "fieldName": "headinglevel",
3252
- "inheritedFrom": {
3253
- "name": "AccordionItem",
3254
- "module": "src/accordion-item/accordion-item.ts"
3177
+ "text": "AIProviderRegistry"
3255
3178
  }
3256
3179
  },
3257
3180
  {
3181
+ "kind": "field",
3182
+ "name": "aiProvider",
3183
+ "type": {
3184
+ "text": "AIProvider | undefined"
3185
+ },
3186
+ "privacy": "private",
3187
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3188
+ "readonly": true
3189
+ },
3190
+ {
3191
+ "kind": "field",
3192
+ "name": "status",
3193
+ "type": {
3194
+ "text": "AIStatus | null"
3195
+ },
3196
+ "default": "null"
3197
+ },
3198
+ {
3199
+ "kind": "field",
3200
+ "name": "open",
3258
3201
  "type": {
3259
3202
  "text": "boolean"
3260
3203
  },
3261
- "default": "false",
3262
- "description": "Expands or collapses the item.",
3263
- "fieldName": "expanded",
3264
- "inheritedFrom": {
3265
- "name": "AccordionItem",
3266
- "module": "src/accordion-item/accordion-item.ts"
3267
- }
3204
+ "default": "false"
3268
3205
  },
3269
3206
  {
3270
- "name": "id",
3207
+ "kind": "field",
3208
+ "name": "state",
3271
3209
  "type": {
3272
- "text": "string"
3210
+ "text": "AIIndicatorState"
3273
3211
  },
3274
- "description": "The item ID",
3275
- "fieldName": "id",
3276
- "inheritedFrom": {
3277
- "name": "AccordionItem",
3278
- "module": "src/accordion-item/accordion-item.ts"
3279
- }
3280
- }
3281
- ],
3282
- "members": [
3212
+ "default": "'none'"
3213
+ },
3283
3214
  {
3284
3215
  "kind": "field",
3285
- "name": "headinglevel",
3216
+ "name": "isInstalling",
3286
3217
  "type": {
3287
- "text": "1 | 2 | 3 | 4 | 5 | 6"
3218
+ "text": "boolean"
3288
3219
  },
3289
- "privacy": "public",
3290
- "default": "2",
3291
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
3292
- "inheritedFrom": {
3293
- "name": "AccordionItem",
3294
- "module": "src/accordion-item/accordion-item.ts"
3295
- }
3220
+ "default": "false"
3296
3221
  },
3297
3222
  {
3298
3223
  "kind": "field",
3299
- "name": "expanded",
3224
+ "name": "pollTimer",
3225
+ "type": {
3226
+ "text": "ReturnType<typeof setInterval> | null"
3227
+ },
3228
+ "privacy": "private",
3229
+ "default": "null"
3230
+ },
3231
+ {
3232
+ "kind": "field",
3233
+ "name": "clickOutside",
3234
+ "privacy": "private"
3235
+ },
3236
+ {
3237
+ "kind": "field",
3238
+ "name": "chromeStatusLabel",
3239
+ "type": {
3240
+ "text": "string | null"
3241
+ },
3242
+ "readonly": true
3243
+ },
3244
+ {
3245
+ "kind": "field",
3246
+ "name": "canInstall",
3300
3247
  "type": {
3301
3248
  "text": "boolean"
3302
3249
  },
3303
- "privacy": "public",
3304
- "default": "false",
3305
- "description": "Expands or collapses the item.",
3306
- "inheritedFrom": {
3307
- "name": "AccordionItem",
3308
- "module": "src/accordion-item/accordion-item.ts"
3250
+ "readonly": true
3251
+ },
3252
+ {
3253
+ "kind": "field",
3254
+ "name": "isDownloading",
3255
+ "type": {
3256
+ "text": "boolean"
3257
+ },
3258
+ "readonly": true
3259
+ },
3260
+ {
3261
+ "kind": "method",
3262
+ "name": "openChanged",
3263
+ "return": {
3264
+ "type": {
3265
+ "text": "void"
3266
+ }
3267
+ }
3268
+ },
3269
+ {
3270
+ "kind": "method",
3271
+ "name": "handleClickOutside",
3272
+ "privacy": "private",
3273
+ "parameters": [
3274
+ {
3275
+ "name": "event",
3276
+ "type": {
3277
+ "text": "MouseEvent"
3278
+ }
3279
+ }
3280
+ ]
3281
+ },
3282
+ {
3283
+ "kind": "method",
3284
+ "name": "toggleDropdown"
3285
+ },
3286
+ {
3287
+ "kind": "method",
3288
+ "name": "refreshStatus",
3289
+ "return": {
3290
+ "type": {
3291
+ "text": "Promise<void>"
3292
+ }
3293
+ }
3294
+ },
3295
+ {
3296
+ "kind": "method",
3297
+ "name": "deriveState",
3298
+ "privacy": "private",
3299
+ "return": {
3300
+ "type": {
3301
+ "text": "AIIndicatorState"
3302
+ }
3303
+ },
3304
+ "parameters": [
3305
+ {
3306
+ "name": "s",
3307
+ "type": {
3308
+ "text": "AIStatus | null"
3309
+ }
3310
+ }
3311
+ ]
3312
+ },
3313
+ {
3314
+ "kind": "method",
3315
+ "name": "maybeStartPolling",
3316
+ "privacy": "private",
3317
+ "return": {
3318
+ "type": {
3319
+ "text": "void"
3320
+ }
3309
3321
  }
3310
3322
  },
3311
3323
  {
3312
- "kind": "field",
3313
- "name": "id",
3314
- "type": {
3315
- "text": "string"
3316
- },
3317
- "privacy": "public",
3318
- "description": "The item ID",
3319
- "inheritedFrom": {
3320
- "name": "AccordionItem",
3321
- "module": "src/accordion-item/accordion-item.ts"
3324
+ "kind": "method",
3325
+ "name": "startPolling",
3326
+ "privacy": "private",
3327
+ "return": {
3328
+ "type": {
3329
+ "text": "void"
3330
+ }
3322
3331
  }
3323
3332
  },
3324
3333
  {
3325
- "kind": "field",
3326
- "name": "change",
3334
+ "kind": "method",
3335
+ "name": "stopPolling",
3327
3336
  "privacy": "private",
3328
- "inheritedFrom": {
3329
- "name": "AccordionItem",
3330
- "module": "src/accordion-item/accordion-item.ts"
3337
+ "return": {
3338
+ "type": {
3339
+ "text": "void"
3340
+ }
3341
+ }
3342
+ },
3343
+ {
3344
+ "kind": "method",
3345
+ "name": "onInstall",
3346
+ "return": {
3347
+ "type": {
3348
+ "text": "Promise<void>"
3349
+ }
3331
3350
  }
3332
3351
  },
3333
3352
  {
@@ -3442,113 +3461,99 @@
3442
3461
  }
3443
3462
  }
3444
3463
  ],
3445
- "events": [
3446
- {
3447
- "description": "Fires a custom 'change' event when the button is invoked",
3448
- "name": "change",
3449
- "inheritedFrom": {
3450
- "name": "AccordionItem",
3451
- "module": "src/accordion-item/accordion-item.ts"
3452
- }
3453
- }
3454
- ]
3455
- },
3456
- {
3457
- "kind": "variable",
3458
- "name": "foundationAccordionItemShadowOptions",
3459
- "type": {
3460
- "text": "ShadowRootInit"
3461
- },
3462
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3463
- },
3464
- {
3465
- "kind": "variable",
3466
- "name": "defaultAccordionItemConfig",
3467
- "type": {
3468
- "text": "object"
3464
+ "superclass": {
3465
+ "name": "FoundationElement",
3466
+ "package": "@microsoft/fast-foundation"
3469
3467
  },
3470
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
3468
+ "tagName": "%%prefix%%-ai-indicator",
3469
+ "customElement": true
3471
3470
  },
3472
3471
  {
3473
3472
  "kind": "variable",
3474
- "name": "foundationAccordionItem",
3475
- "description": "The Foundation Accordion Item",
3476
- "privacy": "public"
3473
+ "name": "foundationAiIndicator"
3477
3474
  }
3478
3475
  ],
3479
3476
  "exports": [
3480
3477
  {
3481
3478
  "kind": "js",
3482
- "name": "AccordionItem",
3479
+ "name": "AiIndicator",
3483
3480
  "declaration": {
3484
- "name": "AccordionItem",
3485
- "module": "src/accordion-item/accordion-item.ts"
3481
+ "name": "AiIndicator",
3482
+ "module": "src/ai-indicator/ai-indicator.ts"
3486
3483
  }
3487
3484
  },
3488
3485
  {
3489
3486
  "kind": "js",
3490
- "name": "foundationAccordionItemShadowOptions",
3487
+ "name": "foundationAiIndicator",
3491
3488
  "declaration": {
3492
- "name": "foundationAccordionItemShadowOptions",
3493
- "module": "src/accordion-item/accordion-item.ts"
3489
+ "name": "foundationAiIndicator",
3490
+ "module": "src/ai-indicator/ai-indicator.ts"
3491
+ }
3492
+ }
3493
+ ]
3494
+ },
3495
+ {
3496
+ "kind": "javascript-module",
3497
+ "path": "src/ai-indicator/index.ts",
3498
+ "declarations": [],
3499
+ "exports": [
3500
+ {
3501
+ "kind": "js",
3502
+ "name": "AiIndicator",
3503
+ "declaration": {
3504
+ "name": "AiIndicator",
3505
+ "module": "./ai-indicator"
3494
3506
  }
3495
3507
  },
3496
3508
  {
3497
3509
  "kind": "js",
3498
- "name": "defaultAccordionItemConfig",
3510
+ "name": "foundationAiIndicator",
3499
3511
  "declaration": {
3500
- "name": "defaultAccordionItemConfig",
3501
- "module": "src/accordion-item/accordion-item.ts"
3512
+ "name": "foundationAiIndicator",
3513
+ "module": "./ai-indicator"
3502
3514
  }
3503
3515
  },
3504
3516
  {
3505
3517
  "kind": "js",
3506
- "name": "foundationAccordionItem",
3518
+ "name": "type",
3507
3519
  "declaration": {
3508
- "name": "foundationAccordionItem",
3509
- "module": "src/accordion-item/accordion-item.ts"
3520
+ "name": "type",
3521
+ "module": "./ai-indicator"
3510
3522
  }
3511
- }
3512
- ]
3513
- },
3514
- {
3515
- "kind": "javascript-module",
3516
- "path": "src/accordion-item/index.ts",
3517
- "declarations": [],
3518
- "exports": [
3523
+ },
3519
3524
  {
3520
3525
  "kind": "js",
3521
- "name": "*",
3526
+ "name": "AIIndicatorState",
3522
3527
  "declaration": {
3523
- "name": "*",
3524
- "package": "./accordion-item.template"
3528
+ "name": "AIIndicatorState",
3529
+ "module": "./ai-indicator"
3525
3530
  }
3526
3531
  },
3527
3532
  {
3528
3533
  "kind": "js",
3529
- "name": "*",
3534
+ "name": "foundationAiIndicatorTemplate",
3530
3535
  "declaration": {
3531
- "name": "*",
3532
- "package": "./accordion-item.styles"
3536
+ "name": "foundationAiIndicatorTemplate",
3537
+ "module": "./ai-indicator.template"
3533
3538
  }
3534
3539
  },
3535
3540
  {
3536
3541
  "kind": "js",
3537
- "name": "*",
3542
+ "name": "foundationAiIndicatorStyles",
3538
3543
  "declaration": {
3539
- "name": "*",
3540
- "package": "./accordion-item"
3544
+ "name": "foundationAiIndicatorStyles",
3545
+ "module": "./ai-indicator.styles"
3541
3546
  }
3542
3547
  }
3543
3548
  ]
3544
3549
  },
3545
3550
  {
3546
3551
  "kind": "javascript-module",
3547
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3552
+ "path": "src/accordion/accordion.styles.ts",
3548
3553
  "declarations": [
3549
3554
  {
3550
3555
  "kind": "function",
3551
- "name": "foundationAiIndicatorStyles",
3556
+ "name": "foundationAccordionStyles",
3552
3557
  "return": {
3553
3558
  "type": {
3554
3559
  "text": "ElementStyles"
@@ -3573,224 +3578,276 @@
3573
3578
  "exports": [
3574
3579
  {
3575
3580
  "kind": "js",
3576
- "name": "foundationAiIndicatorStyles",
3581
+ "name": "foundationAccordionStyles",
3577
3582
  "declaration": {
3578
- "name": "foundationAiIndicatorStyles",
3579
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3583
+ "name": "foundationAccordionStyles",
3584
+ "module": "src/accordion/accordion.styles.ts"
3580
3585
  }
3581
3586
  }
3582
3587
  ]
3583
3588
  },
3584
3589
  {
3585
3590
  "kind": "javascript-module",
3586
- "path": "src/ai-indicator/ai-indicator.template.ts",
3591
+ "path": "src/accordion/accordion.template.ts",
3587
3592
  "declarations": [
3588
3593
  {
3589
- "kind": "variable",
3590
- "name": "foundationAiIndicatorTemplate",
3591
- "type": {
3592
- "text": "ViewTemplate<AiIndicator>"
3594
+ "kind": "function",
3595
+ "name": "foundationAccordionTemplate",
3596
+ "return": {
3597
+ "type": {
3598
+ "text": "ViewTemplate<Accordion>"
3599
+ }
3593
3600
  },
3594
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3601
+ "parameters": [
3602
+ {
3603
+ "name": "context",
3604
+ "type": {
3605
+ "text": "ElementDefinitionContext"
3606
+ }
3607
+ },
3608
+ {
3609
+ "name": "definition",
3610
+ "type": {
3611
+ "text": "FoundationElementDefinition"
3612
+ }
3613
+ }
3614
+ ]
3595
3615
  }
3596
3616
  ],
3597
3617
  "exports": [
3598
3618
  {
3599
3619
  "kind": "js",
3600
- "name": "foundationAiIndicatorTemplate",
3620
+ "name": "foundationAccordionTemplate",
3601
3621
  "declaration": {
3602
- "name": "foundationAiIndicatorTemplate",
3603
- "module": "src/ai-indicator/ai-indicator.template.ts"
3622
+ "name": "foundationAccordionTemplate",
3623
+ "module": "src/accordion/accordion.template.ts"
3604
3624
  }
3605
3625
  }
3606
3626
  ]
3607
3627
  },
3608
3628
  {
3609
3629
  "kind": "javascript-module",
3610
- "path": "src/ai-indicator/ai-indicator.ts",
3630
+ "path": "src/accordion/accordion.ts",
3611
3631
  "declarations": [
3612
3632
  {
3613
3633
  "kind": "class",
3614
3634
  "description": "",
3615
- "name": "AiIndicator",
3616
- "members": [
3617
- {
3618
- "kind": "field",
3619
- "name": "providerRegistry",
3620
- "type": {
3621
- "text": "AIProviderRegistry"
3622
- }
3623
- },
3624
- {
3625
- "kind": "field",
3626
- "name": "aiProvider",
3627
- "type": {
3628
- "text": "AIProvider | undefined"
3629
- },
3630
- "privacy": "private",
3631
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3632
- "readonly": true
3633
- },
3635
+ "name": "Accordion",
3636
+ "superclass": {
3637
+ "name": "FASTAccordion",
3638
+ "package": "@microsoft/fast-foundation"
3639
+ },
3640
+ "tagName": "%%prefix%%-accordion",
3641
+ "customElement": true,
3642
+ "attributes": [
3634
3643
  {
3635
- "kind": "field",
3636
- "name": "status",
3644
+ "name": "expand-mode",
3637
3645
  "type": {
3638
- "text": "AIStatus | null"
3646
+ "text": "AccordionExpandMode"
3639
3647
  },
3640
- "default": "null"
3641
- },
3648
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
+ "fieldName": "expandmode",
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3654
+ }
3655
+ ],
3656
+ "members": [
3642
3657
  {
3643
3658
  "kind": "field",
3644
- "name": "open",
3659
+ "name": "expandmode",
3645
3660
  "type": {
3646
- "text": "boolean"
3661
+ "text": "AccordionExpandMode"
3647
3662
  },
3648
- "default": "false"
3663
+ "privacy": "public",
3664
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3668
+ }
3649
3669
  },
3650
3670
  {
3651
3671
  "kind": "field",
3652
- "name": "state",
3672
+ "name": "activeid",
3653
3673
  "type": {
3654
- "text": "AIIndicatorState"
3674
+ "text": "string | null"
3655
3675
  },
3656
- "default": "'none'"
3676
+ "privacy": "private",
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3657
3681
  },
3658
3682
  {
3659
3683
  "kind": "field",
3660
- "name": "isInstalling",
3684
+ "name": "activeItemIndex",
3661
3685
  "type": {
3662
- "text": "boolean"
3686
+ "text": "number"
3663
3687
  },
3664
- "default": "false"
3688
+ "privacy": "private",
3689
+ "default": "0",
3690
+ "inheritedFrom": {
3691
+ "name": "Accordion",
3692
+ "module": "src/accordion/accordion.ts"
3693
+ }
3665
3694
  },
3666
3695
  {
3667
3696
  "kind": "field",
3668
- "name": "pollTimer",
3697
+ "name": "accordionIds",
3669
3698
  "type": {
3670
- "text": "ReturnType<typeof setInterval> | null"
3699
+ "text": "Array<string | null>"
3671
3700
  },
3672
3701
  "privacy": "private",
3673
- "default": "null"
3674
- },
3675
- {
3676
- "kind": "field",
3677
- "name": "clickOutside",
3678
- "privacy": "private"
3702
+ "inheritedFrom": {
3703
+ "name": "Accordion",
3704
+ "module": "src/accordion/accordion.ts"
3705
+ }
3679
3706
  },
3680
3707
  {
3681
3708
  "kind": "field",
3682
- "name": "chromeStatusLabel",
3683
- "type": {
3684
- "text": "string | null"
3685
- },
3686
- "readonly": true
3709
+ "name": "change",
3710
+ "privacy": "private",
3711
+ "inheritedFrom": {
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
3714
+ }
3687
3715
  },
3688
3716
  {
3689
- "kind": "field",
3690
- "name": "canInstall",
3691
- "type": {
3692
- "text": "boolean"
3717
+ "kind": "method",
3718
+ "name": "findExpandedItem",
3719
+ "privacy": "private",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "AccordionItem | null"
3723
+ }
3693
3724
  },
3694
- "readonly": true
3725
+ "inheritedFrom": {
3726
+ "name": "Accordion",
3727
+ "module": "src/accordion/accordion.ts"
3728
+ }
3695
3729
  },
3696
3730
  {
3697
3731
  "kind": "field",
3698
- "name": "isDownloading",
3699
- "type": {
3700
- "text": "boolean"
3701
- },
3702
- "readonly": true
3732
+ "name": "setItems",
3733
+ "privacy": "private",
3734
+ "inheritedFrom": {
3735
+ "name": "Accordion",
3736
+ "module": "src/accordion/accordion.ts"
3737
+ }
3703
3738
  },
3704
3739
  {
3705
3740
  "kind": "method",
3706
- "name": "openChanged",
3741
+ "name": "resetItems",
3742
+ "privacy": "private",
3707
3743
  "return": {
3708
3744
  "type": {
3709
3745
  "text": "void"
3710
3746
  }
3747
+ },
3748
+ "inheritedFrom": {
3749
+ "name": "Accordion",
3750
+ "module": "src/accordion/accordion.ts"
3711
3751
  }
3712
3752
  },
3713
3753
  {
3714
- "kind": "method",
3715
- "name": "handleClickOutside",
3754
+ "kind": "field",
3755
+ "name": "removeItemListeners",
3716
3756
  "privacy": "private",
3717
- "parameters": [
3718
- {
3719
- "name": "event",
3720
- "type": {
3721
- "text": "MouseEvent"
3722
- }
3723
- }
3724
- ]
3757
+ "inheritedFrom": {
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3760
+ }
3725
3761
  },
3726
3762
  {
3727
- "kind": "method",
3728
- "name": "toggleDropdown"
3763
+ "kind": "field",
3764
+ "name": "activeItemChange",
3765
+ "privacy": "private",
3766
+ "inheritedFrom": {
3767
+ "name": "Accordion",
3768
+ "module": "src/accordion/accordion.ts"
3769
+ }
3729
3770
  },
3730
3771
  {
3731
3772
  "kind": "method",
3732
- "name": "refreshStatus",
3773
+ "name": "getItemIds",
3774
+ "privacy": "private",
3733
3775
  "return": {
3734
3776
  "type": {
3735
- "text": "Promise<void>"
3777
+ "text": "Array<string | null>"
3736
3778
  }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "Accordion",
3782
+ "module": "src/accordion/accordion.ts"
3737
3783
  }
3738
3784
  },
3739
3785
  {
3740
3786
  "kind": "method",
3741
- "name": "deriveState",
3787
+ "name": "isSingleExpandMode",
3742
3788
  "privacy": "private",
3743
3789
  "return": {
3744
3790
  "type": {
3745
- "text": "AIIndicatorState"
3791
+ "text": "boolean"
3746
3792
  }
3747
3793
  },
3748
- "parameters": [
3749
- {
3750
- "name": "s",
3751
- "type": {
3752
- "text": "AIStatus | null"
3753
- }
3754
- }
3755
- ]
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3756
3798
  },
3757
3799
  {
3758
- "kind": "method",
3759
- "name": "maybeStartPolling",
3800
+ "kind": "field",
3801
+ "name": "handleItemKeyDown",
3760
3802
  "privacy": "private",
3761
- "return": {
3762
- "type": {
3763
- "text": "void"
3764
- }
3803
+ "inheritedFrom": {
3804
+ "name": "Accordion",
3805
+ "module": "src/accordion/accordion.ts"
3765
3806
  }
3766
3807
  },
3767
3808
  {
3768
- "kind": "method",
3769
- "name": "startPolling",
3809
+ "kind": "field",
3810
+ "name": "handleItemFocus",
3770
3811
  "privacy": "private",
3771
- "return": {
3772
- "type": {
3773
- "text": "void"
3774
- }
3812
+ "inheritedFrom": {
3813
+ "name": "Accordion",
3814
+ "module": "src/accordion/accordion.ts"
3775
3815
  }
3776
3816
  },
3777
3817
  {
3778
3818
  "kind": "method",
3779
- "name": "stopPolling",
3819
+ "name": "adjust",
3780
3820
  "privacy": "private",
3781
3821
  "return": {
3782
3822
  "type": {
3783
3823
  "text": "void"
3784
3824
  }
3825
+ },
3826
+ "parameters": [
3827
+ {
3828
+ "name": "adjustment",
3829
+ "type": {
3830
+ "text": "number"
3831
+ }
3832
+ }
3833
+ ],
3834
+ "inheritedFrom": {
3835
+ "name": "Accordion",
3836
+ "module": "src/accordion/accordion.ts"
3785
3837
  }
3786
3838
  },
3787
3839
  {
3788
3840
  "kind": "method",
3789
- "name": "onInstall",
3841
+ "name": "focusItem",
3842
+ "privacy": "private",
3790
3843
  "return": {
3791
3844
  "type": {
3792
- "text": "Promise<void>"
3845
+ "text": "void"
3793
3846
  }
3847
+ },
3848
+ "inheritedFrom": {
3849
+ "name": "Accordion",
3850
+ "module": "src/accordion/accordion.ts"
3794
3851
  }
3795
3852
  },
3796
3853
  {
@@ -3905,88 +3962,102 @@
3905
3962
  }
3906
3963
  }
3907
3964
  ],
3908
- "superclass": {
3909
- "name": "FoundationElement",
3910
- "package": "@microsoft/fast-foundation"
3965
+ "events": [
3966
+ {
3967
+ "description": "Fires a custom 'change' event when the active item changes",
3968
+ "name": "change",
3969
+ "inheritedFrom": {
3970
+ "name": "Accordion",
3971
+ "module": "src/accordion/accordion.ts"
3972
+ }
3973
+ }
3974
+ ]
3975
+ },
3976
+ {
3977
+ "kind": "variable",
3978
+ "name": "foundationAccordionShadowOptions",
3979
+ "type": {
3980
+ "text": "ShadowRootInit"
3911
3981
  },
3912
- "tagName": "%%prefix%%-ai-indicator",
3913
- "customElement": true
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3914
3983
  },
3915
3984
  {
3916
3985
  "kind": "variable",
3917
- "name": "foundationAiIndicator"
3986
+ "name": "defaultAccordionConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
3990
+ "default": "{}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordion",
3995
+ "description": "The Foundation Accordion",
3996
+ "privacy": "public"
3918
3997
  }
3919
3998
  ],
3920
3999
  "exports": [
3921
4000
  {
3922
4001
  "kind": "js",
3923
- "name": "AiIndicator",
4002
+ "name": "Accordion",
3924
4003
  "declaration": {
3925
- "name": "AiIndicator",
3926
- "module": "src/ai-indicator/ai-indicator.ts"
4004
+ "name": "Accordion",
4005
+ "module": "src/accordion/accordion.ts"
3927
4006
  }
3928
4007
  },
3929
4008
  {
3930
4009
  "kind": "js",
3931
- "name": "foundationAiIndicator",
3932
- "declaration": {
3933
- "name": "foundationAiIndicator",
3934
- "module": "src/ai-indicator/ai-indicator.ts"
3935
- }
3936
- }
3937
- ]
3938
- },
3939
- {
3940
- "kind": "javascript-module",
3941
- "path": "src/ai-indicator/index.ts",
3942
- "declarations": [],
3943
- "exports": [
3944
- {
3945
- "kind": "js",
3946
- "name": "AiIndicator",
4010
+ "name": "foundationAccordionShadowOptions",
3947
4011
  "declaration": {
3948
- "name": "AiIndicator",
3949
- "module": "./ai-indicator"
4012
+ "name": "foundationAccordionShadowOptions",
4013
+ "module": "src/accordion/accordion.ts"
3950
4014
  }
3951
4015
  },
3952
4016
  {
3953
4017
  "kind": "js",
3954
- "name": "foundationAiIndicator",
4018
+ "name": "defaultAccordionConfig",
3955
4019
  "declaration": {
3956
- "name": "foundationAiIndicator",
3957
- "module": "./ai-indicator"
4020
+ "name": "defaultAccordionConfig",
4021
+ "module": "src/accordion/accordion.ts"
3958
4022
  }
3959
4023
  },
3960
4024
  {
3961
4025
  "kind": "js",
3962
- "name": "type",
4026
+ "name": "foundationAccordion",
3963
4027
  "declaration": {
3964
- "name": "type",
3965
- "module": "./ai-indicator"
4028
+ "name": "foundationAccordion",
4029
+ "module": "src/accordion/accordion.ts"
3966
4030
  }
3967
- },
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/accordion/index.ts",
4037
+ "declarations": [],
4038
+ "exports": [
3968
4039
  {
3969
4040
  "kind": "js",
3970
- "name": "AIIndicatorState",
4041
+ "name": "*",
3971
4042
  "declaration": {
3972
- "name": "AIIndicatorState",
3973
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./accordion.template"
3974
4045
  }
3975
4046
  },
3976
4047
  {
3977
4048
  "kind": "js",
3978
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
3979
4050
  "declaration": {
3980
- "name": "foundationAiIndicatorTemplate",
3981
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./accordion.styles"
3982
4053
  }
3983
4054
  },
3984
4055
  {
3985
4056
  "kind": "js",
3986
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
3987
4058
  "declaration": {
3988
- "name": "foundationAiIndicatorStyles",
3989
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./accordion"
3990
4061
  }
3991
4062
  }
3992
4063
  ]
@@ -19899,471 +19970,6 @@
19899
19970
  }
19900
19971
  ]
19901
19972
  },
19902
- {
19903
- "kind": "javascript-module",
19904
- "path": "src/dropdown-menu/dropdown-menu.styles.ts",
19905
- "declarations": [
19906
- {
19907
- "kind": "function",
19908
- "name": "dropdownMenuBaseStyles",
19909
- "return": {
19910
- "type": {
19911
- "text": "ElementStyles"
19912
- }
19913
- },
19914
- "parameters": [
19915
- {
19916
- "name": "prefix",
19917
- "type": {
19918
- "text": "string"
19919
- }
19920
- },
19921
- {
19922
- "name": "context",
19923
- "type": {
19924
- "text": "ElementDefinitionContext"
19925
- }
19926
- },
19927
- {
19928
- "name": "definition",
19929
- "type": {
19930
- "text": "FoundationElementDefinition"
19931
- }
19932
- }
19933
- ]
19934
- },
19935
- {
19936
- "kind": "function",
19937
- "name": "foundationDropdownMenuStyles",
19938
- "return": {
19939
- "type": {
19940
- "text": "ElementStyles"
19941
- }
19942
- },
19943
- "parameters": [
19944
- {
19945
- "name": "context",
19946
- "type": {
19947
- "text": "ElementDefinitionContext"
19948
- }
19949
- },
19950
- {
19951
- "name": "definition",
19952
- "type": {
19953
- "text": "FoundationElementDefinition"
19954
- }
19955
- }
19956
- ]
19957
- }
19958
- ],
19959
- "exports": [
19960
- {
19961
- "kind": "js",
19962
- "name": "dropdownMenuBaseStyles",
19963
- "declaration": {
19964
- "name": "dropdownMenuBaseStyles",
19965
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
19966
- }
19967
- },
19968
- {
19969
- "kind": "js",
19970
- "name": "foundationDropdownMenuStyles",
19971
- "declaration": {
19972
- "name": "foundationDropdownMenuStyles",
19973
- "module": "src/dropdown-menu/dropdown-menu.styles.ts"
19974
- }
19975
- }
19976
- ]
19977
- },
19978
- {
19979
- "kind": "javascript-module",
19980
- "path": "src/dropdown-menu/dropdown-menu.template.ts",
19981
- "declarations": [
19982
- {
19983
- "kind": "function",
19984
- "name": "extractMenuItems",
19985
- "parameters": [
19986
- {
19987
- "name": "items",
19988
- "type": {
19989
- "text": "DropdownMenuItem[]"
19990
- }
19991
- },
19992
- {
19993
- "name": "prefix",
19994
- "type": {
19995
- "text": "string"
19996
- }
19997
- }
19998
- ]
19999
- },
20000
- {
20001
- "kind": "function",
20002
- "name": "getDropdownMenuTemplate",
20003
- "parameters": [
20004
- {
20005
- "name": "prefix"
20006
- }
20007
- ]
20008
- },
20009
- {
20010
- "kind": "variable",
20011
- "name": "foundationDropdownMenuTemplate",
20012
- "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
20013
- }
20014
- ],
20015
- "exports": [
20016
- {
20017
- "kind": "js",
20018
- "name": "extractMenuItems",
20019
- "declaration": {
20020
- "name": "extractMenuItems",
20021
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
20022
- }
20023
- },
20024
- {
20025
- "kind": "js",
20026
- "name": "getDropdownMenuTemplate",
20027
- "declaration": {
20028
- "name": "getDropdownMenuTemplate",
20029
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
20030
- }
20031
- },
20032
- {
20033
- "kind": "js",
20034
- "name": "foundationDropdownMenuTemplate",
20035
- "declaration": {
20036
- "name": "foundationDropdownMenuTemplate",
20037
- "module": "src/dropdown-menu/dropdown-menu.template.ts"
20038
- }
20039
- }
20040
- ]
20041
- },
20042
- {
20043
- "kind": "javascript-module",
20044
- "path": "src/dropdown-menu/dropdown-menu.ts",
20045
- "declarations": [
20046
- {
20047
- "kind": "class",
20048
- "description": "",
20049
- "name": "DropdownMenu",
20050
- "members": [
20051
- {
20052
- "kind": "field",
20053
- "name": "items",
20054
- "type": {
20055
- "text": "DropdownMenuItem[]"
20056
- }
20057
- },
20058
- {
20059
- "kind": "field",
20060
- "name": "autoClose",
20061
- "type": {
20062
- "text": "boolean"
20063
- },
20064
- "default": "true"
20065
- },
20066
- {
20067
- "kind": "field",
20068
- "name": "disabled",
20069
- "type": {
20070
- "text": "boolean"
20071
- },
20072
- "default": "false"
20073
- },
20074
- {
20075
- "kind": "field",
20076
- "name": "classNames",
20077
- "type": {
20078
- "text": "string"
20079
- }
20080
- },
20081
- {
20082
- "kind": "field",
20083
- "name": "name",
20084
- "type": {
20085
- "text": "string"
20086
- },
20087
- "default": "'Dropdown Menu'"
20088
- },
20089
- {
20090
- "kind": "field",
20091
- "name": "open",
20092
- "type": {
20093
- "text": "boolean"
20094
- },
20095
- "default": "false"
20096
- },
20097
- {
20098
- "kind": "field",
20099
- "name": "buttonAppearance",
20100
- "type": {
20101
- "text": "string"
20102
- }
20103
- },
20104
- {
20105
- "kind": "field",
20106
- "name": "dropdownMenu",
20107
- "type": {
20108
- "text": "HTMLElement"
20109
- }
20110
- },
20111
- {
20112
- "kind": "field",
20113
- "name": "clickOutside",
20114
- "privacy": "private"
20115
- },
20116
- {
20117
- "kind": "method",
20118
- "name": "handleClickOutside",
20119
- "privacy": "private",
20120
- "parameters": [
20121
- {
20122
- "name": "event",
20123
- "type": {
20124
- "text": "MouseEvent"
20125
- }
20126
- }
20127
- ]
20128
- },
20129
- {
20130
- "kind": "method",
20131
- "name": "openChanged",
20132
- "privacy": "protected"
20133
- },
20134
- {
20135
- "kind": "method",
20136
- "name": "toggleDropdownMenuVisibility"
20137
- },
20138
- {
20139
- "kind": "method",
20140
- "name": "onDropdownMenuItemClick"
20141
- },
20142
- {
20143
- "kind": "field",
20144
- "name": "allItems",
20145
- "type": {
20146
- "text": "DropdownMenuItem[]"
20147
- },
20148
- "readonly": true
20149
- },
20150
- {
20151
- "kind": "field",
20152
- "name": "_presentation",
20153
- "type": {
20154
- "text": "ComponentPresentation | null | undefined"
20155
- },
20156
- "privacy": "private",
20157
- "default": "void 0",
20158
- "inheritedFrom": {
20159
- "name": "FoundationElement",
20160
- "module": "src/foundation-element/foundation-element.ts"
20161
- }
20162
- },
20163
- {
20164
- "kind": "field",
20165
- "name": "$presentation",
20166
- "type": {
20167
- "text": "ComponentPresentation | null"
20168
- },
20169
- "privacy": "public",
20170
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
20171
- "inheritedFrom": {
20172
- "name": "FoundationElement",
20173
- "module": "src/foundation-element/foundation-element.ts"
20174
- }
20175
- },
20176
- {
20177
- "kind": "field",
20178
- "name": "template",
20179
- "type": {
20180
- "text": "ElementViewTemplate | void | null"
20181
- },
20182
- "privacy": "public",
20183
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
20184
- "inheritedFrom": {
20185
- "name": "FoundationElement",
20186
- "module": "src/foundation-element/foundation-element.ts"
20187
- }
20188
- },
20189
- {
20190
- "kind": "method",
20191
- "name": "templateChanged",
20192
- "privacy": "protected",
20193
- "return": {
20194
- "type": {
20195
- "text": "void"
20196
- }
20197
- },
20198
- "inheritedFrom": {
20199
- "name": "FoundationElement",
20200
- "module": "src/foundation-element/foundation-element.ts"
20201
- }
20202
- },
20203
- {
20204
- "kind": "field",
20205
- "name": "styles",
20206
- "type": {
20207
- "text": "ElementStyles | void | null"
20208
- },
20209
- "privacy": "public",
20210
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
20211
- "inheritedFrom": {
20212
- "name": "FoundationElement",
20213
- "module": "src/foundation-element/foundation-element.ts"
20214
- }
20215
- },
20216
- {
20217
- "kind": "method",
20218
- "name": "stylesChanged",
20219
- "privacy": "protected",
20220
- "return": {
20221
- "type": {
20222
- "text": "void"
20223
- }
20224
- },
20225
- "inheritedFrom": {
20226
- "name": "FoundationElement",
20227
- "module": "src/foundation-element/foundation-element.ts"
20228
- }
20229
- },
20230
- {
20231
- "kind": "method",
20232
- "name": "compose",
20233
- "privacy": "public",
20234
- "static": true,
20235
- "return": {
20236
- "type": {
20237
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
20238
- }
20239
- },
20240
- "parameters": [
20241
- {
20242
- "name": "this",
20243
- "type": {
20244
- "text": "K"
20245
- }
20246
- },
20247
- {
20248
- "name": "elementDefinition",
20249
- "type": {
20250
- "text": "T"
20251
- },
20252
- "description": "The definition of the element to create the registry\nfunction for."
20253
- }
20254
- ],
20255
- "description": "Defines an element registry function with a set of element definition defaults.",
20256
- "inheritedFrom": {
20257
- "name": "FoundationElement",
20258
- "module": "src/foundation-element/foundation-element.ts"
20259
- }
20260
- }
20261
- ],
20262
- "attributes": [
20263
- {
20264
- "name": "auto-close",
20265
- "type": {
20266
- "text": "boolean"
20267
- },
20268
- "default": "true",
20269
- "fieldName": "autoClose"
20270
- },
20271
- {
20272
- "name": "disable-button",
20273
- "type": {
20274
- "text": "boolean"
20275
- },
20276
- "default": "false",
20277
- "fieldName": "disabled"
20278
- },
20279
- {
20280
- "name": "name",
20281
- "type": {
20282
- "text": "string"
20283
- },
20284
- "default": "'Dropdown Menu'",
20285
- "fieldName": "name"
20286
- },
20287
- {
20288
- "name": "open",
20289
- "type": {
20290
- "text": "boolean"
20291
- },
20292
- "default": "false",
20293
- "fieldName": "open"
20294
- },
20295
- {
20296
- "name": "buttonAppearance",
20297
- "type": {
20298
- "text": "string"
20299
- },
20300
- "fieldName": "buttonAppearance"
20301
- }
20302
- ],
20303
- "superclass": {
20304
- "name": "FoundationElement",
20305
- "package": "@microsoft/fast-foundation"
20306
- },
20307
- "tagName": "%%prefix%%-dropdown-menu",
20308
- "customElement": true
20309
- },
20310
- {
20311
- "kind": "variable",
20312
- "name": "foundationDropdownMenu",
20313
- "description": "The Foundation Dropdown Menu",
20314
- "privacy": "public"
20315
- }
20316
- ],
20317
- "exports": [
20318
- {
20319
- "kind": "js",
20320
- "name": "DropdownMenu",
20321
- "declaration": {
20322
- "name": "DropdownMenu",
20323
- "module": "src/dropdown-menu/dropdown-menu.ts"
20324
- }
20325
- },
20326
- {
20327
- "kind": "js",
20328
- "name": "foundationDropdownMenu",
20329
- "declaration": {
20330
- "name": "foundationDropdownMenu",
20331
- "module": "src/dropdown-menu/dropdown-menu.ts"
20332
- }
20333
- }
20334
- ]
20335
- },
20336
- {
20337
- "kind": "javascript-module",
20338
- "path": "src/dropdown-menu/index.ts",
20339
- "declarations": [],
20340
- "exports": [
20341
- {
20342
- "kind": "js",
20343
- "name": "*",
20344
- "declaration": {
20345
- "name": "*",
20346
- "package": "./dropdown-menu.styles"
20347
- }
20348
- },
20349
- {
20350
- "kind": "js",
20351
- "name": "*",
20352
- "declaration": {
20353
- "name": "*",
20354
- "package": "./dropdown-menu.template"
20355
- }
20356
- },
20357
- {
20358
- "kind": "js",
20359
- "name": "*",
20360
- "declaration": {
20361
- "name": "*",
20362
- "package": "./dropdown-menu"
20363
- }
20364
- }
20365
- ]
20366
- },
20367
19973
  {
20368
19974
  "kind": "javascript-module",
20369
19975
  "path": "src/environment-indicator/environment-indicator.styles.ts",
@@ -20937,6 +20543,471 @@
20937
20543
  "declarations": [],
20938
20544
  "exports": []
20939
20545
  },
20546
+ {
20547
+ "kind": "javascript-module",
20548
+ "path": "src/dropdown-menu/dropdown-menu.styles.ts",
20549
+ "declarations": [
20550
+ {
20551
+ "kind": "function",
20552
+ "name": "dropdownMenuBaseStyles",
20553
+ "return": {
20554
+ "type": {
20555
+ "text": "ElementStyles"
20556
+ }
20557
+ },
20558
+ "parameters": [
20559
+ {
20560
+ "name": "prefix",
20561
+ "type": {
20562
+ "text": "string"
20563
+ }
20564
+ },
20565
+ {
20566
+ "name": "context",
20567
+ "type": {
20568
+ "text": "ElementDefinitionContext"
20569
+ }
20570
+ },
20571
+ {
20572
+ "name": "definition",
20573
+ "type": {
20574
+ "text": "FoundationElementDefinition"
20575
+ }
20576
+ }
20577
+ ]
20578
+ },
20579
+ {
20580
+ "kind": "function",
20581
+ "name": "foundationDropdownMenuStyles",
20582
+ "return": {
20583
+ "type": {
20584
+ "text": "ElementStyles"
20585
+ }
20586
+ },
20587
+ "parameters": [
20588
+ {
20589
+ "name": "context",
20590
+ "type": {
20591
+ "text": "ElementDefinitionContext"
20592
+ }
20593
+ },
20594
+ {
20595
+ "name": "definition",
20596
+ "type": {
20597
+ "text": "FoundationElementDefinition"
20598
+ }
20599
+ }
20600
+ ]
20601
+ }
20602
+ ],
20603
+ "exports": [
20604
+ {
20605
+ "kind": "js",
20606
+ "name": "dropdownMenuBaseStyles",
20607
+ "declaration": {
20608
+ "name": "dropdownMenuBaseStyles",
20609
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
20610
+ }
20611
+ },
20612
+ {
20613
+ "kind": "js",
20614
+ "name": "foundationDropdownMenuStyles",
20615
+ "declaration": {
20616
+ "name": "foundationDropdownMenuStyles",
20617
+ "module": "src/dropdown-menu/dropdown-menu.styles.ts"
20618
+ }
20619
+ }
20620
+ ]
20621
+ },
20622
+ {
20623
+ "kind": "javascript-module",
20624
+ "path": "src/dropdown-menu/dropdown-menu.template.ts",
20625
+ "declarations": [
20626
+ {
20627
+ "kind": "function",
20628
+ "name": "extractMenuItems",
20629
+ "parameters": [
20630
+ {
20631
+ "name": "items",
20632
+ "type": {
20633
+ "text": "DropdownMenuItem[]"
20634
+ }
20635
+ },
20636
+ {
20637
+ "name": "prefix",
20638
+ "type": {
20639
+ "text": "string"
20640
+ }
20641
+ }
20642
+ ]
20643
+ },
20644
+ {
20645
+ "kind": "function",
20646
+ "name": "getDropdownMenuTemplate",
20647
+ "parameters": [
20648
+ {
20649
+ "name": "prefix"
20650
+ }
20651
+ ]
20652
+ },
20653
+ {
20654
+ "kind": "variable",
20655
+ "name": "foundationDropdownMenuTemplate",
20656
+ "default": "html<DropdownMenu>`\n ${(x) => getDropdownMenuTemplate(getPrefix(x))}\n`"
20657
+ }
20658
+ ],
20659
+ "exports": [
20660
+ {
20661
+ "kind": "js",
20662
+ "name": "extractMenuItems",
20663
+ "declaration": {
20664
+ "name": "extractMenuItems",
20665
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
20666
+ }
20667
+ },
20668
+ {
20669
+ "kind": "js",
20670
+ "name": "getDropdownMenuTemplate",
20671
+ "declaration": {
20672
+ "name": "getDropdownMenuTemplate",
20673
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
20674
+ }
20675
+ },
20676
+ {
20677
+ "kind": "js",
20678
+ "name": "foundationDropdownMenuTemplate",
20679
+ "declaration": {
20680
+ "name": "foundationDropdownMenuTemplate",
20681
+ "module": "src/dropdown-menu/dropdown-menu.template.ts"
20682
+ }
20683
+ }
20684
+ ]
20685
+ },
20686
+ {
20687
+ "kind": "javascript-module",
20688
+ "path": "src/dropdown-menu/dropdown-menu.ts",
20689
+ "declarations": [
20690
+ {
20691
+ "kind": "class",
20692
+ "description": "",
20693
+ "name": "DropdownMenu",
20694
+ "members": [
20695
+ {
20696
+ "kind": "field",
20697
+ "name": "items",
20698
+ "type": {
20699
+ "text": "DropdownMenuItem[]"
20700
+ }
20701
+ },
20702
+ {
20703
+ "kind": "field",
20704
+ "name": "autoClose",
20705
+ "type": {
20706
+ "text": "boolean"
20707
+ },
20708
+ "default": "true"
20709
+ },
20710
+ {
20711
+ "kind": "field",
20712
+ "name": "disabled",
20713
+ "type": {
20714
+ "text": "boolean"
20715
+ },
20716
+ "default": "false"
20717
+ },
20718
+ {
20719
+ "kind": "field",
20720
+ "name": "classNames",
20721
+ "type": {
20722
+ "text": "string"
20723
+ }
20724
+ },
20725
+ {
20726
+ "kind": "field",
20727
+ "name": "name",
20728
+ "type": {
20729
+ "text": "string"
20730
+ },
20731
+ "default": "'Dropdown Menu'"
20732
+ },
20733
+ {
20734
+ "kind": "field",
20735
+ "name": "open",
20736
+ "type": {
20737
+ "text": "boolean"
20738
+ },
20739
+ "default": "false"
20740
+ },
20741
+ {
20742
+ "kind": "field",
20743
+ "name": "buttonAppearance",
20744
+ "type": {
20745
+ "text": "string"
20746
+ }
20747
+ },
20748
+ {
20749
+ "kind": "field",
20750
+ "name": "dropdownMenu",
20751
+ "type": {
20752
+ "text": "HTMLElement"
20753
+ }
20754
+ },
20755
+ {
20756
+ "kind": "field",
20757
+ "name": "clickOutside",
20758
+ "privacy": "private"
20759
+ },
20760
+ {
20761
+ "kind": "method",
20762
+ "name": "handleClickOutside",
20763
+ "privacy": "private",
20764
+ "parameters": [
20765
+ {
20766
+ "name": "event",
20767
+ "type": {
20768
+ "text": "MouseEvent"
20769
+ }
20770
+ }
20771
+ ]
20772
+ },
20773
+ {
20774
+ "kind": "method",
20775
+ "name": "openChanged",
20776
+ "privacy": "protected"
20777
+ },
20778
+ {
20779
+ "kind": "method",
20780
+ "name": "toggleDropdownMenuVisibility"
20781
+ },
20782
+ {
20783
+ "kind": "method",
20784
+ "name": "onDropdownMenuItemClick"
20785
+ },
20786
+ {
20787
+ "kind": "field",
20788
+ "name": "allItems",
20789
+ "type": {
20790
+ "text": "DropdownMenuItem[]"
20791
+ },
20792
+ "readonly": true
20793
+ },
20794
+ {
20795
+ "kind": "field",
20796
+ "name": "_presentation",
20797
+ "type": {
20798
+ "text": "ComponentPresentation | null | undefined"
20799
+ },
20800
+ "privacy": "private",
20801
+ "default": "void 0",
20802
+ "inheritedFrom": {
20803
+ "name": "FoundationElement",
20804
+ "module": "src/foundation-element/foundation-element.ts"
20805
+ }
20806
+ },
20807
+ {
20808
+ "kind": "field",
20809
+ "name": "$presentation",
20810
+ "type": {
20811
+ "text": "ComponentPresentation | null"
20812
+ },
20813
+ "privacy": "public",
20814
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
20815
+ "inheritedFrom": {
20816
+ "name": "FoundationElement",
20817
+ "module": "src/foundation-element/foundation-element.ts"
20818
+ }
20819
+ },
20820
+ {
20821
+ "kind": "field",
20822
+ "name": "template",
20823
+ "type": {
20824
+ "text": "ElementViewTemplate | void | null"
20825
+ },
20826
+ "privacy": "public",
20827
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
20828
+ "inheritedFrom": {
20829
+ "name": "FoundationElement",
20830
+ "module": "src/foundation-element/foundation-element.ts"
20831
+ }
20832
+ },
20833
+ {
20834
+ "kind": "method",
20835
+ "name": "templateChanged",
20836
+ "privacy": "protected",
20837
+ "return": {
20838
+ "type": {
20839
+ "text": "void"
20840
+ }
20841
+ },
20842
+ "inheritedFrom": {
20843
+ "name": "FoundationElement",
20844
+ "module": "src/foundation-element/foundation-element.ts"
20845
+ }
20846
+ },
20847
+ {
20848
+ "kind": "field",
20849
+ "name": "styles",
20850
+ "type": {
20851
+ "text": "ElementStyles | void | null"
20852
+ },
20853
+ "privacy": "public",
20854
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
20855
+ "inheritedFrom": {
20856
+ "name": "FoundationElement",
20857
+ "module": "src/foundation-element/foundation-element.ts"
20858
+ }
20859
+ },
20860
+ {
20861
+ "kind": "method",
20862
+ "name": "stylesChanged",
20863
+ "privacy": "protected",
20864
+ "return": {
20865
+ "type": {
20866
+ "text": "void"
20867
+ }
20868
+ },
20869
+ "inheritedFrom": {
20870
+ "name": "FoundationElement",
20871
+ "module": "src/foundation-element/foundation-element.ts"
20872
+ }
20873
+ },
20874
+ {
20875
+ "kind": "method",
20876
+ "name": "compose",
20877
+ "privacy": "public",
20878
+ "static": true,
20879
+ "return": {
20880
+ "type": {
20881
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
20882
+ }
20883
+ },
20884
+ "parameters": [
20885
+ {
20886
+ "name": "this",
20887
+ "type": {
20888
+ "text": "K"
20889
+ }
20890
+ },
20891
+ {
20892
+ "name": "elementDefinition",
20893
+ "type": {
20894
+ "text": "T"
20895
+ },
20896
+ "description": "The definition of the element to create the registry\nfunction for."
20897
+ }
20898
+ ],
20899
+ "description": "Defines an element registry function with a set of element definition defaults.",
20900
+ "inheritedFrom": {
20901
+ "name": "FoundationElement",
20902
+ "module": "src/foundation-element/foundation-element.ts"
20903
+ }
20904
+ }
20905
+ ],
20906
+ "attributes": [
20907
+ {
20908
+ "name": "auto-close",
20909
+ "type": {
20910
+ "text": "boolean"
20911
+ },
20912
+ "default": "true",
20913
+ "fieldName": "autoClose"
20914
+ },
20915
+ {
20916
+ "name": "disable-button",
20917
+ "type": {
20918
+ "text": "boolean"
20919
+ },
20920
+ "default": "false",
20921
+ "fieldName": "disabled"
20922
+ },
20923
+ {
20924
+ "name": "name",
20925
+ "type": {
20926
+ "text": "string"
20927
+ },
20928
+ "default": "'Dropdown Menu'",
20929
+ "fieldName": "name"
20930
+ },
20931
+ {
20932
+ "name": "open",
20933
+ "type": {
20934
+ "text": "boolean"
20935
+ },
20936
+ "default": "false",
20937
+ "fieldName": "open"
20938
+ },
20939
+ {
20940
+ "name": "buttonAppearance",
20941
+ "type": {
20942
+ "text": "string"
20943
+ },
20944
+ "fieldName": "buttonAppearance"
20945
+ }
20946
+ ],
20947
+ "superclass": {
20948
+ "name": "FoundationElement",
20949
+ "package": "@microsoft/fast-foundation"
20950
+ },
20951
+ "tagName": "%%prefix%%-dropdown-menu",
20952
+ "customElement": true
20953
+ },
20954
+ {
20955
+ "kind": "variable",
20956
+ "name": "foundationDropdownMenu",
20957
+ "description": "The Foundation Dropdown Menu",
20958
+ "privacy": "public"
20959
+ }
20960
+ ],
20961
+ "exports": [
20962
+ {
20963
+ "kind": "js",
20964
+ "name": "DropdownMenu",
20965
+ "declaration": {
20966
+ "name": "DropdownMenu",
20967
+ "module": "src/dropdown-menu/dropdown-menu.ts"
20968
+ }
20969
+ },
20970
+ {
20971
+ "kind": "js",
20972
+ "name": "foundationDropdownMenu",
20973
+ "declaration": {
20974
+ "name": "foundationDropdownMenu",
20975
+ "module": "src/dropdown-menu/dropdown-menu.ts"
20976
+ }
20977
+ }
20978
+ ]
20979
+ },
20980
+ {
20981
+ "kind": "javascript-module",
20982
+ "path": "src/dropdown-menu/index.ts",
20983
+ "declarations": [],
20984
+ "exports": [
20985
+ {
20986
+ "kind": "js",
20987
+ "name": "*",
20988
+ "declaration": {
20989
+ "name": "*",
20990
+ "package": "./dropdown-menu.styles"
20991
+ }
20992
+ },
20993
+ {
20994
+ "kind": "js",
20995
+ "name": "*",
20996
+ "declaration": {
20997
+ "name": "*",
20998
+ "package": "./dropdown-menu.template"
20999
+ }
21000
+ },
21001
+ {
21002
+ "kind": "js",
21003
+ "name": "*",
21004
+ "declaration": {
21005
+ "name": "*",
21006
+ "package": "./dropdown-menu"
21007
+ }
21008
+ }
21009
+ ]
21010
+ },
20940
21011
  {
20941
21012
  "kind": "javascript-module",
20942
21013
  "path": "src/error-banner/error-banner.template.ts",
@@ -52138,26 +52209,27 @@
52138
52209
  "kind": "class",
52139
52210
  "description": "",
52140
52211
  "name": "Tab",
52141
- "superclass": {
52142
- "name": "FASTTab",
52143
- "package": "@microsoft/fast-components"
52144
- },
52145
- "tagName": "%%prefix%%-tab",
52146
- "customElement": true,
52147
- "attributes": [
52212
+ "members": [
52148
52213
  {
52214
+ "kind": "field",
52215
+ "name": "alert",
52149
52216
  "type": {
52150
52217
  "text": "boolean"
52151
52218
  },
52152
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute for more information.",
52153
- "fieldName": "disabled",
52154
- "inheritedFrom": {
52155
- "name": "Tab",
52156
- "module": "src/tab/tab.ts"
52219
+ "default": "false",
52220
+ "description": "Draws sustained attention to the tab while background work is pending, for example\nwhile a grid behind an inactive tab still holds rows awaiting action.\n\nThe design system supplies the visuals, retintable per app with `--tab-alert-color`. The flash\nsamples a shared document-level clock, so every alerting surface — including grid rows — stays\nin phase; retime them all together with `--alert-flash-duration` on `:root`. Motion is\nsuppressed under `prefers-reduced-motion`, which shows a static alert colour instead.",
52221
+ "privacy": "public"
52222
+ },
52223
+ {
52224
+ "kind": "method",
52225
+ "name": "alertChanged",
52226
+ "privacy": "protected",
52227
+ "return": {
52228
+ "type": {
52229
+ "text": "void"
52230
+ }
52157
52231
  }
52158
- }
52159
- ],
52160
- "members": [
52232
+ },
52161
52233
  {
52162
52234
  "kind": "field",
52163
52235
  "name": "disabled",
@@ -52282,7 +52354,27 @@
52282
52354
  "module": "src/foundation-element/foundation-element.ts"
52283
52355
  }
52284
52356
  }
52285
- ]
52357
+ ],
52358
+ "attributes": [
52359
+ {
52360
+ "type": {
52361
+ "text": "boolean"
52362
+ },
52363
+ "description": "Draws sustained attention to the tab while background work is pending, for example\nwhile a grid behind an inactive tab still holds rows awaiting action.\n\nThe design system supplies the visuals, retintable per app with `--tab-alert-color`. The flash\nsamples a shared document-level clock, so every alerting surface — including grid rows — stays\nin phase; retime them all together with `--alert-flash-duration` on `:root`. Motion is\nsuppressed under `prefers-reduced-motion`, which shows a static alert colour instead.",
52364
+ "fieldName": "alert",
52365
+ "default": "false",
52366
+ "inheritedFrom": {
52367
+ "name": "Tab",
52368
+ "module": "src/tab/tab.ts"
52369
+ }
52370
+ }
52371
+ ],
52372
+ "superclass": {
52373
+ "name": "FASTTab",
52374
+ "package": "@microsoft/fast-components"
52375
+ },
52376
+ "tagName": "%%prefix%%-tab",
52377
+ "customElement": true
52286
52378
  },
52287
52379
  {
52288
52380
  "kind": "variable",
@@ -60001,6 +60093,197 @@
60001
60093
  }
60002
60094
  ]
60003
60095
  },
60096
+ {
60097
+ "kind": "javascript-module",
60098
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60099
+ "declarations": [],
60100
+ "exports": []
60101
+ },
60102
+ {
60103
+ "kind": "javascript-module",
60104
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60105
+ "declarations": [
60106
+ {
60107
+ "kind": "function",
60108
+ "name": "groupsToCriteria",
60109
+ "return": {
60110
+ "type": {
60111
+ "text": "string"
60112
+ }
60113
+ },
60114
+ "parameters": [
60115
+ {
60116
+ "name": "groups",
60117
+ "type": {
60118
+ "text": "CriteriaGroup[]"
60119
+ }
60120
+ }
60121
+ ],
60122
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
60123
+ },
60124
+ {
60125
+ "kind": "variable",
60126
+ "name": "STRING_OPERATORS",
60127
+ "type": {
60128
+ "text": "CriteriaOperator[]"
60129
+ },
60130
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60131
+ },
60132
+ {
60133
+ "kind": "variable",
60134
+ "name": "NUMERIC_OPERATORS",
60135
+ "type": {
60136
+ "text": "CriteriaOperator[]"
60137
+ },
60138
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60139
+ },
60140
+ {
60141
+ "kind": "variable",
60142
+ "name": "DATE_OPERATORS",
60143
+ "type": {
60144
+ "text": "CriteriaOperator[]"
60145
+ },
60146
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60147
+ },
60148
+ {
60149
+ "kind": "variable",
60150
+ "name": "DATETIME_OPERATORS",
60151
+ "type": {
60152
+ "text": "CriteriaOperator[]"
60153
+ },
60154
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60155
+ },
60156
+ {
60157
+ "kind": "variable",
60158
+ "name": "OPERATOR_DISPLAY_LABEL",
60159
+ "type": {
60160
+ "text": "Record<CriteriaOperator, string>"
60161
+ },
60162
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
60163
+ }
60164
+ ],
60165
+ "exports": [
60166
+ {
60167
+ "kind": "js",
60168
+ "name": "groupsToCriteria",
60169
+ "declaration": {
60170
+ "name": "groupsToCriteria",
60171
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60172
+ }
60173
+ },
60174
+ {
60175
+ "kind": "js",
60176
+ "name": "STRING_OPERATORS",
60177
+ "declaration": {
60178
+ "name": "STRING_OPERATORS",
60179
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60180
+ }
60181
+ },
60182
+ {
60183
+ "kind": "js",
60184
+ "name": "NUMERIC_OPERATORS",
60185
+ "declaration": {
60186
+ "name": "NUMERIC_OPERATORS",
60187
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60188
+ }
60189
+ },
60190
+ {
60191
+ "kind": "js",
60192
+ "name": "DATE_OPERATORS",
60193
+ "declaration": {
60194
+ "name": "DATE_OPERATORS",
60195
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60196
+ }
60197
+ },
60198
+ {
60199
+ "kind": "js",
60200
+ "name": "DATETIME_OPERATORS",
60201
+ "declaration": {
60202
+ "name": "DATETIME_OPERATORS",
60203
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60204
+ }
60205
+ },
60206
+ {
60207
+ "kind": "js",
60208
+ "name": "OPERATOR_DISPLAY_LABEL",
60209
+ "declaration": {
60210
+ "name": "OPERATOR_DISPLAY_LABEL",
60211
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60212
+ }
60213
+ }
60214
+ ]
60215
+ },
60216
+ {
60217
+ "kind": "javascript-module",
60218
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60219
+ "declarations": [
60220
+ {
60221
+ "kind": "function",
60222
+ "name": "validateClauses",
60223
+ "return": {
60224
+ "type": {
60225
+ "text": "ValidationResult"
60226
+ }
60227
+ },
60228
+ "parameters": [
60229
+ {
60230
+ "name": "clauses",
60231
+ "type": {
60232
+ "text": "CriteriaClause[]"
60233
+ }
60234
+ },
60235
+ {
60236
+ "name": "fieldMetadata",
60237
+ "type": {
60238
+ "text": "MetadataDetail[] | string[]"
60239
+ }
60240
+ }
60241
+ ]
60242
+ },
60243
+ {
60244
+ "kind": "function",
60245
+ "name": "validateGroups",
60246
+ "return": {
60247
+ "type": {
60248
+ "text": "GroupsValidationResult"
60249
+ }
60250
+ },
60251
+ "parameters": [
60252
+ {
60253
+ "name": "groups",
60254
+ "type": {
60255
+ "text": "CriteriaGroup[]"
60256
+ }
60257
+ },
60258
+ {
60259
+ "name": "fieldMetadata",
60260
+ "type": {
60261
+ "text": "MetadataDetail[] | string[]"
60262
+ }
60263
+ }
60264
+ ],
60265
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60266
+ }
60267
+ ],
60268
+ "exports": [
60269
+ {
60270
+ "kind": "js",
60271
+ "name": "validateClauses",
60272
+ "declaration": {
60273
+ "name": "validateClauses",
60274
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60275
+ }
60276
+ },
60277
+ {
60278
+ "kind": "js",
60279
+ "name": "validateGroups",
60280
+ "declaration": {
60281
+ "name": "validateGroups",
60282
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60283
+ }
60284
+ }
60285
+ ]
60286
+ },
60004
60287
  {
60005
60288
  "kind": "javascript-module",
60006
60289
  "path": "src/_config/styles/colors.ts",
@@ -61373,197 +61656,6 @@
61373
61656
  "declarations": [],
61374
61657
  "exports": []
61375
61658
  },
61376
- {
61377
- "kind": "javascript-module",
61378
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61379
- "declarations": [],
61380
- "exports": []
61381
- },
61382
- {
61383
- "kind": "javascript-module",
61384
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61385
- "declarations": [
61386
- {
61387
- "kind": "function",
61388
- "name": "groupsToCriteria",
61389
- "return": {
61390
- "type": {
61391
- "text": "string"
61392
- }
61393
- },
61394
- "parameters": [
61395
- {
61396
- "name": "groups",
61397
- "type": {
61398
- "text": "CriteriaGroup[]"
61399
- }
61400
- }
61401
- ],
61402
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
61403
- },
61404
- {
61405
- "kind": "variable",
61406
- "name": "STRING_OPERATORS",
61407
- "type": {
61408
- "text": "CriteriaOperator[]"
61409
- },
61410
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61411
- },
61412
- {
61413
- "kind": "variable",
61414
- "name": "NUMERIC_OPERATORS",
61415
- "type": {
61416
- "text": "CriteriaOperator[]"
61417
- },
61418
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61419
- },
61420
- {
61421
- "kind": "variable",
61422
- "name": "DATE_OPERATORS",
61423
- "type": {
61424
- "text": "CriteriaOperator[]"
61425
- },
61426
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61427
- },
61428
- {
61429
- "kind": "variable",
61430
- "name": "DATETIME_OPERATORS",
61431
- "type": {
61432
- "text": "CriteriaOperator[]"
61433
- },
61434
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61435
- },
61436
- {
61437
- "kind": "variable",
61438
- "name": "OPERATOR_DISPLAY_LABEL",
61439
- "type": {
61440
- "text": "Record<CriteriaOperator, string>"
61441
- },
61442
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
61443
- }
61444
- ],
61445
- "exports": [
61446
- {
61447
- "kind": "js",
61448
- "name": "groupsToCriteria",
61449
- "declaration": {
61450
- "name": "groupsToCriteria",
61451
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61452
- }
61453
- },
61454
- {
61455
- "kind": "js",
61456
- "name": "STRING_OPERATORS",
61457
- "declaration": {
61458
- "name": "STRING_OPERATORS",
61459
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61460
- }
61461
- },
61462
- {
61463
- "kind": "js",
61464
- "name": "NUMERIC_OPERATORS",
61465
- "declaration": {
61466
- "name": "NUMERIC_OPERATORS",
61467
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61468
- }
61469
- },
61470
- {
61471
- "kind": "js",
61472
- "name": "DATE_OPERATORS",
61473
- "declaration": {
61474
- "name": "DATE_OPERATORS",
61475
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61476
- }
61477
- },
61478
- {
61479
- "kind": "js",
61480
- "name": "DATETIME_OPERATORS",
61481
- "declaration": {
61482
- "name": "DATETIME_OPERATORS",
61483
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61484
- }
61485
- },
61486
- {
61487
- "kind": "js",
61488
- "name": "OPERATOR_DISPLAY_LABEL",
61489
- "declaration": {
61490
- "name": "OPERATOR_DISPLAY_LABEL",
61491
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61492
- }
61493
- }
61494
- ]
61495
- },
61496
- {
61497
- "kind": "javascript-module",
61498
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61499
- "declarations": [
61500
- {
61501
- "kind": "function",
61502
- "name": "validateClauses",
61503
- "return": {
61504
- "type": {
61505
- "text": "ValidationResult"
61506
- }
61507
- },
61508
- "parameters": [
61509
- {
61510
- "name": "clauses",
61511
- "type": {
61512
- "text": "CriteriaClause[]"
61513
- }
61514
- },
61515
- {
61516
- "name": "fieldMetadata",
61517
- "type": {
61518
- "text": "MetadataDetail[] | string[]"
61519
- }
61520
- }
61521
- ]
61522
- },
61523
- {
61524
- "kind": "function",
61525
- "name": "validateGroups",
61526
- "return": {
61527
- "type": {
61528
- "text": "GroupsValidationResult"
61529
- }
61530
- },
61531
- "parameters": [
61532
- {
61533
- "name": "groups",
61534
- "type": {
61535
- "text": "CriteriaGroup[]"
61536
- }
61537
- },
61538
- {
61539
- "name": "fieldMetadata",
61540
- "type": {
61541
- "text": "MetadataDetail[] | string[]"
61542
- }
61543
- }
61544
- ],
61545
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61546
- }
61547
- ],
61548
- "exports": [
61549
- {
61550
- "kind": "js",
61551
- "name": "validateClauses",
61552
- "declaration": {
61553
- "name": "validateClauses",
61554
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61555
- }
61556
- },
61557
- {
61558
- "kind": "js",
61559
- "name": "validateGroups",
61560
- "declaration": {
61561
- "name": "validateGroups",
61562
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61563
- }
61564
- }
61565
- ]
61566
- },
61567
61659
  {
61568
61660
  "kind": "javascript-module",
61569
61661
  "path": "src/environment-indicator/utils/configure.ts",