@genesislcap/foundation-ui 15.14.2-FUI-2603.1 → 15.14.2-FUI-2603.2

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.
@@ -1424,34 +1424,42 @@
1424
1424
  },
1425
1425
  {
1426
1426
  "kind": "javascript-module",
1427
- "path": "src/actions-menu/actions-menu.styles.ts",
1428
- "declarations": [
1427
+ "path": "src/_config/index.ts",
1428
+ "declarations": [],
1429
+ "exports": [
1429
1430
  {
1430
- "kind": "function",
1431
- "name": "actionsMenuBaseStyles",
1432
- "return": {
1433
- "type": {
1434
- "text": "ElementStyles"
1435
- }
1436
- },
1437
- "parameters": [
1438
- {
1439
- "name": "context",
1440
- "type": {
1441
- "text": "ElementDefinitionContext"
1442
- }
1443
- },
1444
- {
1445
- "name": "definition",
1446
- "type": {
1447
- "text": "FoundationElementDefinition"
1448
- }
1449
- }
1450
- ]
1431
+ "kind": "js",
1432
+ "name": "*",
1433
+ "declaration": {
1434
+ "name": "*",
1435
+ "package": "./styles"
1436
+ }
1451
1437
  },
1438
+ {
1439
+ "kind": "js",
1440
+ "name": "*",
1441
+ "declaration": {
1442
+ "name": "*",
1443
+ "package": "./tokens"
1444
+ }
1445
+ },
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./values"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1456
+ {
1457
+ "kind": "javascript-module",
1458
+ "path": "src/accordion-item/accordion-item.styles.ts",
1459
+ "declarations": [
1452
1460
  {
1453
1461
  "kind": "function",
1454
- "name": "foundationActionsMenuStyles",
1462
+ "name": "foundationAccordionItemStyles",
1455
1463
  "return": {
1456
1464
  "type": {
1457
1465
  "text": "ElementStyles"
@@ -1476,282 +1484,157 @@
1476
1484
  "exports": [
1477
1485
  {
1478
1486
  "kind": "js",
1479
- "name": "actionsMenuBaseStyles",
1480
- "declaration": {
1481
- "name": "actionsMenuBaseStyles",
1482
- "module": "src/actions-menu/actions-menu.styles.ts"
1483
- }
1484
- },
1485
- {
1486
- "kind": "js",
1487
- "name": "foundationActionsMenuStyles",
1487
+ "name": "foundationAccordionItemStyles",
1488
1488
  "declaration": {
1489
- "name": "foundationActionsMenuStyles",
1490
- "module": "src/actions-menu/actions-menu.styles.ts"
1489
+ "name": "foundationAccordionItemStyles",
1490
+ "module": "src/accordion-item/accordion-item.styles.ts"
1491
1491
  }
1492
1492
  }
1493
1493
  ]
1494
1494
  },
1495
1495
  {
1496
1496
  "kind": "javascript-module",
1497
- "path": "src/actions-menu/actions-menu.template.ts",
1497
+ "path": "src/accordion-item/accordion-item.template.ts",
1498
1498
  "declarations": [
1499
1499
  {
1500
1500
  "kind": "function",
1501
- "name": "menuTemplate",
1501
+ "name": "foundationAccordionItemTemplate",
1502
+ "return": {
1503
+ "type": {
1504
+ "text": "ViewTemplate<AccordionItem>"
1505
+ }
1506
+ },
1502
1507
  "parameters": [
1503
1508
  {
1504
- "name": "prefix",
1509
+ "name": "context",
1505
1510
  "type": {
1506
- "text": "string"
1511
+ "text": "ElementDefinitionContext"
1507
1512
  }
1508
- }
1509
- ]
1510
- },
1511
- {
1512
- "kind": "function",
1513
- "name": "singleOptionTemplate",
1514
- "parameters": [
1513
+ },
1515
1514
  {
1516
- "name": "prefix",
1515
+ "name": "definition",
1517
1516
  "type": {
1518
- "text": "string"
1517
+ "text": "FoundationElementDefinition"
1519
1518
  }
1520
1519
  }
1521
1520
  ]
1522
- },
1523
- {
1524
- "kind": "variable",
1525
- "name": "foundationActionsMenuTemplate",
1526
- "type": {
1527
- "text": "ViewTemplate<ActionsMenu>"
1528
- },
1529
- "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`"
1530
1521
  }
1531
1522
  ],
1532
1523
  "exports": [
1533
1524
  {
1534
1525
  "kind": "js",
1535
- "name": "menuTemplate",
1536
- "declaration": {
1537
- "name": "menuTemplate",
1538
- "module": "src/actions-menu/actions-menu.template.ts"
1539
- }
1540
- },
1541
- {
1542
- "kind": "js",
1543
- "name": "singleOptionTemplate",
1544
- "declaration": {
1545
- "name": "singleOptionTemplate",
1546
- "module": "src/actions-menu/actions-menu.template.ts"
1547
- }
1548
- },
1549
- {
1550
- "kind": "js",
1551
- "name": "foundationActionsMenuTemplate",
1526
+ "name": "foundationAccordionItemTemplate",
1552
1527
  "declaration": {
1553
- "name": "foundationActionsMenuTemplate",
1554
- "module": "src/actions-menu/actions-menu.template.ts"
1528
+ "name": "foundationAccordionItemTemplate",
1529
+ "module": "src/accordion-item/accordion-item.template.ts"
1555
1530
  }
1556
1531
  }
1557
1532
  ]
1558
1533
  },
1559
1534
  {
1560
1535
  "kind": "javascript-module",
1561
- "path": "src/actions-menu/actions-menu.ts",
1536
+ "path": "src/accordion-item/accordion-item.ts",
1562
1537
  "declarations": [
1563
1538
  {
1564
1539
  "kind": "class",
1565
1540
  "description": "",
1566
- "name": "ActionsMenu",
1567
- "members": [
1568
- {
1569
- "kind": "field",
1570
- "name": "actions",
1571
- "type": {
1572
- "text": "ActionMenuItem[]"
1573
- }
1574
- },
1575
- {
1576
- "kind": "field",
1577
- "name": "isVertical",
1578
- "type": {
1579
- "text": "boolean"
1580
- },
1581
- "default": "false"
1582
- },
1541
+ "name": "AccordionItem",
1542
+ "superclass": {
1543
+ "name": "FASTAccordionItem",
1544
+ "package": "@microsoft/fast-components"
1545
+ },
1546
+ "tagName": "%%prefix%%-accordion-item",
1547
+ "customElement": true,
1548
+ "attributes": [
1583
1549
  {
1584
- "kind": "field",
1585
- "name": "addDefaultActions",
1550
+ "name": "heading-level",
1586
1551
  "type": {
1587
- "text": "boolean"
1552
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1588
1553
  },
1589
- "default": "true"
1554
+ "default": "2",
1555
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1556
+ "fieldName": "headinglevel",
1557
+ "inheritedFrom": {
1558
+ "name": "AccordionItem",
1559
+ "module": "src/accordion-item/accordion-item.ts"
1560
+ }
1590
1561
  },
1591
1562
  {
1592
- "kind": "field",
1593
- "name": "autoCloseOnAction",
1594
1563
  "type": {
1595
1564
  "text": "boolean"
1596
1565
  },
1597
- "default": "true"
1598
- },
1599
- {
1600
- "kind": "field",
1601
- "name": "classNames",
1602
- "type": {
1603
- "text": "string"
1604
- }
1605
- },
1606
- {
1607
- "kind": "field",
1608
- "name": "definition",
1609
- "type": {
1610
- "text": "any"
1566
+ "default": "false",
1567
+ "description": "Expands or collapses the item.",
1568
+ "fieldName": "expanded",
1569
+ "inheritedFrom": {
1570
+ "name": "AccordionItem",
1571
+ "module": "src/accordion-item/accordion-item.ts"
1611
1572
  }
1612
1573
  },
1613
1574
  {
1614
- "kind": "field",
1615
- "name": "name",
1575
+ "name": "id",
1616
1576
  "type": {
1617
1577
  "text": "string"
1618
1578
  },
1619
- "default": "'Actions'"
1620
- },
1621
- {
1622
- "kind": "field",
1623
- "name": "open",
1624
- "type": {
1625
- "text": "boolean"
1626
- },
1627
- "default": "false"
1628
- },
1629
- {
1630
- "kind": "field",
1631
- "name": "buttonAppearance",
1632
- "type": {
1633
- "text": "string"
1579
+ "description": "The item ID",
1580
+ "fieldName": "id",
1581
+ "inheritedFrom": {
1582
+ "name": "AccordionItem",
1583
+ "module": "src/accordion-item/accordion-item.ts"
1634
1584
  }
1635
- },
1585
+ }
1586
+ ],
1587
+ "members": [
1636
1588
  {
1637
1589
  "kind": "field",
1638
- "name": "hideDisabled",
1590
+ "name": "headinglevel",
1639
1591
  "type": {
1640
- "text": "boolean"
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1641
1593
  },
1642
- "default": "false"
1594
+ "privacy": "public",
1595
+ "default": "2",
1596
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1597
+ "inheritedFrom": {
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1643
1601
  },
1644
1602
  {
1645
1603
  "kind": "field",
1646
- "name": "hideMenuSingleOption",
1604
+ "name": "expanded",
1647
1605
  "type": {
1648
1606
  "text": "boolean"
1649
1607
  },
1650
- "default": "false"
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "singleOption",
1655
- "type": {
1656
- "text": "ActionMenuItem"
1608
+ "privacy": "public",
1609
+ "default": "false",
1610
+ "description": "Expands or collapses the item.",
1611
+ "inheritedFrom": {
1612
+ "name": "AccordionItem",
1613
+ "module": "src/accordion-item/accordion-item.ts"
1657
1614
  }
1658
1615
  },
1659
1616
  {
1660
1617
  "kind": "field",
1661
- "name": "actionsMenu",
1618
+ "name": "id",
1662
1619
  "type": {
1663
- "text": "HTMLElement"
1620
+ "text": "string"
1621
+ },
1622
+ "privacy": "public",
1623
+ "description": "The item ID",
1624
+ "inheritedFrom": {
1625
+ "name": "AccordionItem",
1626
+ "module": "src/accordion-item/accordion-item.ts"
1664
1627
  }
1665
1628
  },
1666
1629
  {
1667
1630
  "kind": "field",
1668
- "name": "actionsOpener",
1669
- "type": {
1670
- "text": "HTMLElement"
1631
+ "name": "change",
1632
+ "privacy": "private",
1633
+ "inheritedFrom": {
1634
+ "name": "AccordionItem",
1635
+ "module": "src/accordion-item/accordion-item.ts"
1671
1636
  }
1672
1637
  },
1673
- {
1674
- "kind": "method",
1675
- "name": "updateMenuPosition",
1676
- "privacy": "private"
1677
- },
1678
- {
1679
- "kind": "method",
1680
- "name": "definitionChanged",
1681
- "privacy": "protected",
1682
- "parameters": [
1683
- {
1684
- "name": "oldValue",
1685
- "type": {
1686
- "text": "any"
1687
- }
1688
- },
1689
- {
1690
- "name": "newValue",
1691
- "type": {
1692
- "text": "any"
1693
- }
1694
- }
1695
- ]
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "openChanged",
1700
- "privacy": "protected"
1701
- },
1702
- {
1703
- "kind": "method",
1704
- "name": "toggleActionsMenuVisibility"
1705
- },
1706
- {
1707
- "kind": "method",
1708
- "name": "onActionMenuItemClick",
1709
- "parameters": [
1710
- {
1711
- "name": "callback",
1712
- "type": {
1713
- "text": "(rowData) => void | any"
1714
- }
1715
- }
1716
- ]
1717
- },
1718
- {
1719
- "kind": "field",
1720
- "name": "allActions",
1721
- "type": {
1722
- "text": "ActionMenuItem[]"
1723
- },
1724
- "readonly": true
1725
- },
1726
- {
1727
- "kind": "field",
1728
- "name": "rowData",
1729
- "readonly": true
1730
- },
1731
- {
1732
- "kind": "method",
1733
- "name": "getLabel",
1734
- "parameters": [
1735
- {
1736
- "name": "name",
1737
- "type": {
1738
- "text": "string | ((rowData: any) => string)"
1739
- }
1740
- }
1741
- ]
1742
- },
1743
- {
1744
- "kind": "method",
1745
- "name": "getTemplate",
1746
- "parameters": [
1747
- {
1748
- "name": "prefix",
1749
- "type": {
1750
- "text": "string"
1751
- }
1752
- }
1753
- ]
1754
- },
1755
1638
  {
1756
1639
  "kind": "field",
1757
1640
  "name": "_presentation",
@@ -1864,107 +1747,78 @@
1864
1747
  }
1865
1748
  }
1866
1749
  ],
1867
- "attributes": [
1868
- {
1869
- "name": "is-vertical",
1870
- "type": {
1871
- "text": "boolean"
1872
- },
1873
- "default": "false",
1874
- "fieldName": "isVertical"
1875
- },
1876
- {
1877
- "name": "add-default-actions",
1878
- "type": {
1879
- "text": "boolean"
1880
- },
1881
- "default": "true",
1882
- "fieldName": "addDefaultActions"
1883
- },
1884
- {
1885
- "name": "auto-close-on-action",
1886
- "type": {
1887
- "text": "boolean"
1888
- },
1889
- "default": "true",
1890
- "fieldName": "autoCloseOnAction"
1891
- },
1892
- {
1893
- "name": "name",
1894
- "type": {
1895
- "text": "string"
1896
- },
1897
- "default": "'Actions'",
1898
- "fieldName": "name"
1899
- },
1900
- {
1901
- "name": "open",
1902
- "type": {
1903
- "text": "boolean"
1904
- },
1905
- "default": "false",
1906
- "fieldName": "open"
1907
- },
1908
- {
1909
- "name": "buttonAppearance",
1910
- "type": {
1911
- "text": "string"
1912
- },
1913
- "fieldName": "buttonAppearance"
1914
- },
1915
- {
1916
- "name": "hide-disabled",
1917
- "type": {
1918
- "text": "boolean"
1919
- },
1920
- "default": "false",
1921
- "fieldName": "hideDisabled"
1922
- },
1750
+ "events": [
1923
1751
  {
1924
- "name": "hide-menu-single-option",
1925
- "type": {
1926
- "text": "boolean"
1927
- },
1928
- "default": "false",
1929
- "fieldName": "hideMenuSingleOption"
1752
+ "description": "Fires a custom 'change' event when the button is invoked",
1753
+ "name": "change",
1754
+ "inheritedFrom": {
1755
+ "name": "AccordionItem",
1756
+ "module": "src/accordion-item/accordion-item.ts"
1757
+ }
1930
1758
  }
1931
- ],
1932
- "superclass": {
1933
- "name": "FoundationElement",
1934
- "package": "@microsoft/fast-foundation"
1759
+ ]
1760
+ },
1761
+ {
1762
+ "kind": "variable",
1763
+ "name": "foundationAccordionItemShadowOptions",
1764
+ "type": {
1765
+ "text": "ShadowRootInit"
1935
1766
  },
1936
- "tagName": "%%prefix%%-actions-menu",
1937
- "customElement": true
1767
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1938
1768
  },
1939
1769
  {
1940
1770
  "kind": "variable",
1941
- "name": "foundationActionsMenu",
1942
- "description": "The Foundation Actions Menu",
1771
+ "name": "defaultAccordionItemConfig",
1772
+ "type": {
1773
+ "text": "object"
1774
+ },
1775
+ "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}"
1776
+ },
1777
+ {
1778
+ "kind": "variable",
1779
+ "name": "foundationAccordionItem",
1780
+ "description": "The Foundation Accordion Item",
1943
1781
  "privacy": "public"
1944
1782
  }
1945
1783
  ],
1946
1784
  "exports": [
1947
1785
  {
1948
1786
  "kind": "js",
1949
- "name": "ActionsMenu",
1787
+ "name": "AccordionItem",
1950
1788
  "declaration": {
1951
- "name": "ActionsMenu",
1952
- "module": "src/actions-menu/actions-menu.ts"
1789
+ "name": "AccordionItem",
1790
+ "module": "src/accordion-item/accordion-item.ts"
1953
1791
  }
1954
1792
  },
1955
1793
  {
1956
1794
  "kind": "js",
1957
- "name": "foundationActionsMenu",
1795
+ "name": "foundationAccordionItemShadowOptions",
1958
1796
  "declaration": {
1959
- "name": "foundationActionsMenu",
1960
- "module": "src/actions-menu/actions-menu.ts"
1797
+ "name": "foundationAccordionItemShadowOptions",
1798
+ "module": "src/accordion-item/accordion-item.ts"
1799
+ }
1800
+ },
1801
+ {
1802
+ "kind": "js",
1803
+ "name": "defaultAccordionItemConfig",
1804
+ "declaration": {
1805
+ "name": "defaultAccordionItemConfig",
1806
+ "module": "src/accordion-item/accordion-item.ts"
1807
+ }
1808
+ },
1809
+ {
1810
+ "kind": "js",
1811
+ "name": "foundationAccordionItem",
1812
+ "declaration": {
1813
+ "name": "foundationAccordionItem",
1814
+ "module": "src/accordion-item/accordion-item.ts"
1961
1815
  }
1962
1816
  }
1963
1817
  ]
1964
1818
  },
1965
1819
  {
1966
1820
  "kind": "javascript-module",
1967
- "path": "src/actions-menu/index.ts",
1821
+ "path": "src/accordion-item/index.ts",
1968
1822
  "declarations": [],
1969
1823
  "exports": [
1970
1824
  {
@@ -1972,7 +1826,7 @@
1972
1826
  "name": "*",
1973
1827
  "declaration": {
1974
1828
  "name": "*",
1975
- "package": "./actions-menu.styles"
1829
+ "package": "./accordion-item.template"
1976
1830
  }
1977
1831
  },
1978
1832
  {
@@ -1980,7 +1834,7 @@
1980
1834
  "name": "*",
1981
1835
  "declaration": {
1982
1836
  "name": "*",
1983
- "package": "./actions-menu.template"
1837
+ "package": "./accordion-item.styles"
1984
1838
  }
1985
1839
  },
1986
1840
  {
@@ -1988,215 +1842,282 @@
1988
1842
  "name": "*",
1989
1843
  "declaration": {
1990
1844
  "name": "*",
1991
- "package": "./actions-menu"
1845
+ "package": "./accordion-item"
1992
1846
  }
1993
1847
  }
1994
1848
  ]
1995
1849
  },
1996
1850
  {
1997
1851
  "kind": "javascript-module",
1998
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1852
+ "path": "src/accordion/accordion.styles.ts",
1999
1853
  "declarations": [
2000
1854
  {
2001
- "kind": "variable",
2002
- "name": "foundationAiCriteriaSearchStyles",
2003
- "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`"
1855
+ "kind": "function",
1856
+ "name": "foundationAccordionStyles",
1857
+ "return": {
1858
+ "type": {
1859
+ "text": "ElementStyles"
1860
+ }
1861
+ },
1862
+ "parameters": [
1863
+ {
1864
+ "name": "context",
1865
+ "type": {
1866
+ "text": "ElementDefinitionContext"
1867
+ }
1868
+ },
1869
+ {
1870
+ "name": "definition",
1871
+ "type": {
1872
+ "text": "FoundationElementDefinition"
1873
+ }
1874
+ }
1875
+ ]
2004
1876
  }
2005
1877
  ],
2006
1878
  "exports": [
2007
1879
  {
2008
1880
  "kind": "js",
2009
- "name": "foundationAiCriteriaSearchStyles",
1881
+ "name": "foundationAccordionStyles",
2010
1882
  "declaration": {
2011
- "name": "foundationAiCriteriaSearchStyles",
2012
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1883
+ "name": "foundationAccordionStyles",
1884
+ "module": "src/accordion/accordion.styles.ts"
2013
1885
  }
2014
1886
  }
2015
1887
  ]
2016
1888
  },
2017
1889
  {
2018
1890
  "kind": "javascript-module",
2019
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1891
+ "path": "src/accordion/accordion.template.ts",
2020
1892
  "declarations": [
2021
1893
  {
2022
- "kind": "variable",
2023
- "name": "foundationAiCriteriaSearchTemplate",
2024
- "type": {
2025
- "text": "ViewTemplate<AiCriteriaSearch>"
1894
+ "kind": "function",
1895
+ "name": "foundationAccordionTemplate",
1896
+ "return": {
1897
+ "type": {
1898
+ "text": "ViewTemplate<Accordion>"
1899
+ }
2026
1900
  },
2027
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1901
+ "parameters": [
1902
+ {
1903
+ "name": "context",
1904
+ "type": {
1905
+ "text": "ElementDefinitionContext"
1906
+ }
1907
+ },
1908
+ {
1909
+ "name": "definition",
1910
+ "type": {
1911
+ "text": "FoundationElementDefinition"
1912
+ }
1913
+ }
1914
+ ]
2028
1915
  }
2029
1916
  ],
2030
1917
  "exports": [
2031
1918
  {
2032
1919
  "kind": "js",
2033
- "name": "foundationAiCriteriaSearchTemplate",
1920
+ "name": "foundationAccordionTemplate",
2034
1921
  "declaration": {
2035
- "name": "foundationAiCriteriaSearchTemplate",
2036
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1922
+ "name": "foundationAccordionTemplate",
1923
+ "module": "src/accordion/accordion.template.ts"
2037
1924
  }
2038
1925
  }
2039
1926
  ]
2040
1927
  },
2041
1928
  {
2042
1929
  "kind": "javascript-module",
2043
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1930
+ "path": "src/accordion/accordion.ts",
2044
1931
  "declarations": [
2045
1932
  {
2046
1933
  "kind": "class",
2047
- "description": "Natural-language criteria search input with AI interpretation.",
2048
- "name": "AiCriteriaSearch",
2049
- "members": [
2050
- {
2051
- "kind": "field",
2052
- "name": "providerRegistry",
2053
- "type": {
2054
- "text": "AIProviderRegistry"
2055
- }
2056
- },
1934
+ "description": "",
1935
+ "name": "Accordion",
1936
+ "superclass": {
1937
+ "name": "FASTAccordion",
1938
+ "package": "@microsoft/fast-foundation"
1939
+ },
1940
+ "tagName": "%%prefix%%-accordion",
1941
+ "customElement": true,
1942
+ "attributes": [
2057
1943
  {
2058
- "kind": "field",
2059
- "name": "placeholder",
1944
+ "name": "expand-mode",
2060
1945
  "type": {
2061
- "text": "string"
1946
+ "text": "AccordionExpandMode"
2062
1947
  },
2063
- "default": "'Describe your search criteria in natural language...'"
2064
- },
2065
- {
2066
- "kind": "field",
2067
- "name": "disabled",
2068
- "type": {
2069
- "text": "boolean"
1948
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1949
+ "fieldName": "expandmode",
1950
+ "inheritedFrom": {
1951
+ "name": "Accordion",
1952
+ "module": "src/accordion/accordion.ts"
2070
1953
  }
2071
- },
2072
- {
2073
- "kind": "field",
2074
- "name": "inputValue",
2075
- "type": {
2076
- "text": "string"
2077
- },
2078
- "default": "''"
2079
- },
1954
+ }
1955
+ ],
1956
+ "members": [
2080
1957
  {
2081
1958
  "kind": "field",
2082
- "name": "isInterpreting",
1959
+ "name": "expandmode",
2083
1960
  "type": {
2084
- "text": "boolean"
1961
+ "text": "AccordionExpandMode"
2085
1962
  },
2086
- "default": "false"
1963
+ "privacy": "public",
1964
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1965
+ "inheritedFrom": {
1966
+ "name": "Accordion",
1967
+ "module": "src/accordion/accordion.ts"
1968
+ }
2087
1969
  },
2088
1970
  {
2089
1971
  "kind": "field",
2090
- "name": "lastValidCriteria",
1972
+ "name": "activeid",
2091
1973
  "type": {
2092
1974
  "text": "string | null"
2093
1975
  },
2094
- "default": "null"
1976
+ "privacy": "private",
1977
+ "inheritedFrom": {
1978
+ "name": "Accordion",
1979
+ "module": "src/accordion/accordion.ts"
1980
+ }
2095
1981
  },
2096
1982
  {
2097
1983
  "kind": "field",
2098
- "name": "activeGroups",
1984
+ "name": "activeItemIndex",
2099
1985
  "type": {
2100
- "text": "CriteriaGroup[]"
1986
+ "text": "number"
2101
1987
  },
2102
- "default": "[]"
1988
+ "privacy": "private",
1989
+ "default": "0",
1990
+ "inheritedFrom": {
1991
+ "name": "Accordion",
1992
+ "module": "src/accordion/accordion.ts"
1993
+ }
2103
1994
  },
2104
1995
  {
2105
1996
  "kind": "field",
2106
- "name": "showingChips",
1997
+ "name": "accordionIds",
2107
1998
  "type": {
2108
- "text": "boolean"
1999
+ "text": "Array<string | null>"
2109
2000
  },
2110
- "default": "false"
2001
+ "privacy": "private",
2002
+ "inheritedFrom": {
2003
+ "name": "Accordion",
2004
+ "module": "src/accordion/accordion.ts"
2005
+ }
2111
2006
  },
2112
2007
  {
2113
2008
  "kind": "field",
2114
- "name": "fieldMetadata",
2115
- "type": {
2116
- "text": "MetadataDetail[] | string[]"
2117
- },
2118
- "default": "[]"
2009
+ "name": "change",
2010
+ "privacy": "private",
2011
+ "inheritedFrom": {
2012
+ "name": "Accordion",
2013
+ "module": "src/accordion/accordion.ts"
2014
+ }
2119
2015
  },
2120
2016
  {
2121
- "kind": "field",
2122
- "name": "isRecording",
2123
- "type": {
2124
- "text": "boolean"
2017
+ "kind": "method",
2018
+ "name": "findExpandedItem",
2019
+ "privacy": "private",
2020
+ "return": {
2021
+ "type": {
2022
+ "text": "AccordionItem | null"
2023
+ }
2125
2024
  },
2126
- "default": "false"
2025
+ "inheritedFrom": {
2026
+ "name": "Accordion",
2027
+ "module": "src/accordion/accordion.ts"
2028
+ }
2127
2029
  },
2128
2030
  {
2129
2031
  "kind": "field",
2130
- "name": "textAreaRef",
2131
- "type": {
2132
- "text": "HTMLTextAreaElement"
2133
- },
2134
- "privacy": "public"
2032
+ "name": "setItems",
2033
+ "privacy": "private",
2034
+ "inheritedFrom": {
2035
+ "name": "Accordion",
2036
+ "module": "src/accordion/accordion.ts"
2037
+ }
2135
2038
  },
2136
2039
  {
2137
- "kind": "field",
2138
- "name": "stopRecording",
2139
- "type": {
2140
- "text": "(() => void) | null"
2141
- },
2040
+ "kind": "method",
2041
+ "name": "resetItems",
2142
2042
  "privacy": "private",
2143
- "default": "null"
2043
+ "return": {
2044
+ "type": {
2045
+ "text": "void"
2046
+ }
2047
+ },
2048
+ "inheritedFrom": {
2049
+ "name": "Accordion",
2050
+ "module": "src/accordion/accordion.ts"
2051
+ }
2144
2052
  },
2145
2053
  {
2146
2054
  "kind": "field",
2147
- "name": "speechApplyDebounceTimer",
2148
- "type": {
2149
- "text": "ReturnType<typeof setTimeout> | null"
2150
- },
2055
+ "name": "removeItemListeners",
2151
2056
  "privacy": "private",
2152
- "default": "null"
2057
+ "inheritedFrom": {
2058
+ "name": "Accordion",
2059
+ "module": "src/accordion/accordion.ts"
2060
+ }
2153
2061
  },
2154
2062
  {
2155
2063
  "kind": "field",
2156
- "name": "speechAvailable",
2157
- "type": {
2158
- "text": "boolean"
2159
- },
2160
- "readonly": true
2064
+ "name": "activeItemChange",
2065
+ "privacy": "private",
2066
+ "inheritedFrom": {
2067
+ "name": "Accordion",
2068
+ "module": "src/accordion/accordion.ts"
2069
+ }
2161
2070
  },
2162
2071
  {
2163
- "kind": "field",
2164
- "name": "criteriaChips",
2165
- "type": {
2166
- "text": "CriteriaChip[]"
2072
+ "kind": "method",
2073
+ "name": "getItemIds",
2074
+ "privacy": "private",
2075
+ "return": {
2076
+ "type": {
2077
+ "text": "Array<string | null>"
2078
+ }
2167
2079
  },
2168
- "readonly": true
2080
+ "inheritedFrom": {
2081
+ "name": "Accordion",
2082
+ "module": "src/accordion/accordion.ts"
2083
+ }
2169
2084
  },
2170
2085
  {
2171
2086
  "kind": "method",
2172
- "name": "getFieldLabel",
2087
+ "name": "isSingleExpandMode",
2173
2088
  "privacy": "private",
2174
2089
  "return": {
2175
2090
  "type": {
2176
- "text": "string"
2091
+ "text": "boolean"
2177
2092
  }
2178
2093
  },
2179
- "parameters": [
2180
- {
2181
- "name": "fieldName",
2182
- "type": {
2183
- "text": "string"
2184
- }
2185
- }
2186
- ]
2094
+ "inheritedFrom": {
2095
+ "name": "Accordion",
2096
+ "module": "src/accordion/accordion.ts"
2097
+ }
2098
+ },
2099
+ {
2100
+ "kind": "field",
2101
+ "name": "handleItemKeyDown",
2102
+ "privacy": "private",
2103
+ "inheritedFrom": {
2104
+ "name": "Accordion",
2105
+ "module": "src/accordion/accordion.ts"
2106
+ }
2187
2107
  },
2188
2108
  {
2189
- "kind": "method",
2190
- "name": "toggleCriteriaView",
2191
- "return": {
2192
- "type": {
2193
- "text": "void"
2194
- }
2109
+ "kind": "field",
2110
+ "name": "handleItemFocus",
2111
+ "privacy": "private",
2112
+ "inheritedFrom": {
2113
+ "name": "Accordion",
2114
+ "module": "src/accordion/accordion.ts"
2195
2115
  }
2196
2116
  },
2197
2117
  {
2198
2118
  "kind": "method",
2199
- "name": "removeChip",
2119
+ "name": "adjust",
2120
+ "privacy": "private",
2200
2121
  "return": {
2201
2122
  "type": {
2202
2123
  "text": "void"
@@ -2204,49 +2125,31 @@
2204
2125
  },
2205
2126
  "parameters": [
2206
2127
  {
2207
- "name": "groupIndex",
2208
- "type": {
2209
- "text": "number"
2210
- }
2211
- },
2212
- {
2213
- "name": "clauseIndex",
2128
+ "name": "adjustment",
2214
2129
  "type": {
2215
2130
  "text": "number"
2216
2131
  }
2217
2132
  }
2218
- ]
2133
+ ],
2134
+ "inheritedFrom": {
2135
+ "name": "Accordion",
2136
+ "module": "src/accordion/accordion.ts"
2137
+ }
2219
2138
  },
2220
2139
  {
2221
2140
  "kind": "method",
2222
- "name": "clearChips",
2141
+ "name": "focusItem",
2142
+ "privacy": "private",
2223
2143
  "return": {
2224
2144
  "type": {
2225
2145
  "text": "void"
2226
2146
  }
2147
+ },
2148
+ "inheritedFrom": {
2149
+ "name": "Accordion",
2150
+ "module": "src/accordion/accordion.ts"
2227
2151
  }
2228
2152
  },
2229
- {
2230
- "kind": "method",
2231
- "name": "handleSubmit"
2232
- },
2233
- {
2234
- "kind": "method",
2235
- "name": "handleBlur"
2236
- },
2237
- {
2238
- "kind": "method",
2239
- "name": "clear"
2240
- },
2241
- {
2242
- "kind": "method",
2243
- "name": "toggleSpeechInput"
2244
- },
2245
- {
2246
- "kind": "method",
2247
- "name": "clearSpeechApplyDebounce",
2248
- "privacy": "private"
2249
- },
2250
2153
  {
2251
2154
  "kind": "field",
2252
2155
  "name": "_presentation",
@@ -2361,48 +2264,26 @@
2361
2264
  ],
2362
2265
  "events": [
2363
2266
  {
2364
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2365
- "name": "criteria-changed"
2366
- },
2367
- {
2368
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2369
- "name": "validation-errors"
2370
- }
2371
- ],
2372
- "attributes": [
2373
- {
2374
- "name": "placeholder",
2375
- "type": {
2376
- "text": "string"
2377
- },
2378
- "default": "'Describe your search criteria in natural language...'",
2379
- "fieldName": "placeholder"
2380
- },
2381
- {
2382
- "type": {
2383
- "text": "boolean"
2384
- },
2385
- "fieldName": "disabled"
2267
+ "description": "Fires a custom 'change' event when the active item changes",
2268
+ "name": "change",
2269
+ "inheritedFrom": {
2270
+ "name": "Accordion",
2271
+ "module": "src/accordion/accordion.ts"
2272
+ }
2386
2273
  }
2387
- ],
2388
- "superclass": {
2389
- "name": "FoundationElement",
2390
- "package": "@microsoft/fast-foundation"
2391
- },
2392
- "tagName": "%%prefix%%-ai-criteria-search",
2393
- "customElement": true
2274
+ ]
2394
2275
  },
2395
2276
  {
2396
2277
  "kind": "variable",
2397
- "name": "foundationAiCriteriaSearchShadowOptions",
2278
+ "name": "foundationAccordionShadowOptions",
2398
2279
  "type": {
2399
2280
  "text": "ShadowRootInit"
2400
2281
  },
2401
- "default": "undefined"
2282
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2402
2283
  },
2403
2284
  {
2404
2285
  "kind": "variable",
2405
- "name": "defaultAiCriteriaSearchConfig",
2286
+ "name": "defaultAccordionConfig",
2406
2287
  "type": {
2407
2288
  "text": "object"
2408
2289
  },
@@ -2410,103 +2291,57 @@
2410
2291
  },
2411
2292
  {
2412
2293
  "kind": "variable",
2413
- "name": "foundationAiCriteriaSearch"
2294
+ "name": "foundationAccordion",
2295
+ "description": "The Foundation Accordion",
2296
+ "privacy": "public"
2414
2297
  }
2415
2298
  ],
2416
2299
  "exports": [
2417
2300
  {
2418
2301
  "kind": "js",
2419
- "name": "AiCriteriaSearch",
2302
+ "name": "Accordion",
2420
2303
  "declaration": {
2421
- "name": "AiCriteriaSearch",
2422
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2304
+ "name": "Accordion",
2305
+ "module": "src/accordion/accordion.ts"
2423
2306
  }
2424
2307
  },
2425
2308
  {
2426
2309
  "kind": "js",
2427
- "name": "foundationAiCriteriaSearchShadowOptions",
2310
+ "name": "foundationAccordionShadowOptions",
2428
2311
  "declaration": {
2429
- "name": "foundationAiCriteriaSearchShadowOptions",
2430
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2312
+ "name": "foundationAccordionShadowOptions",
2313
+ "module": "src/accordion/accordion.ts"
2431
2314
  }
2432
2315
  },
2433
2316
  {
2434
2317
  "kind": "js",
2435
- "name": "defaultAiCriteriaSearchConfig",
2318
+ "name": "defaultAccordionConfig",
2436
2319
  "declaration": {
2437
- "name": "defaultAiCriteriaSearchConfig",
2438
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2320
+ "name": "defaultAccordionConfig",
2321
+ "module": "src/accordion/accordion.ts"
2439
2322
  }
2440
2323
  },
2441
2324
  {
2442
2325
  "kind": "js",
2443
- "name": "foundationAiCriteriaSearch",
2326
+ "name": "foundationAccordion",
2444
2327
  "declaration": {
2445
- "name": "foundationAiCriteriaSearch",
2446
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2328
+ "name": "foundationAccordion",
2329
+ "module": "src/accordion/accordion.ts"
2447
2330
  }
2448
2331
  }
2449
2332
  ]
2450
2333
  },
2451
2334
  {
2452
2335
  "kind": "javascript-module",
2453
- "path": "src/ai-criteria-search/index.ts",
2336
+ "path": "src/accordion/index.ts",
2454
2337
  "declarations": [],
2455
2338
  "exports": [
2456
- {
2457
- "kind": "js",
2458
- "name": "AiCriteriaSearch",
2459
- "declaration": {
2460
- "name": "AiCriteriaSearch",
2461
- "module": "./ai-criteria-search"
2462
- }
2463
- },
2464
- {
2465
- "kind": "js",
2466
- "name": "defaultAiCriteriaSearchConfig",
2467
- "declaration": {
2468
- "name": "defaultAiCriteriaSearchConfig",
2469
- "module": "./ai-criteria-search"
2470
- }
2471
- },
2472
- {
2473
- "kind": "js",
2474
- "name": "foundationAiCriteriaSearch",
2475
- "declaration": {
2476
- "name": "foundationAiCriteriaSearch",
2477
- "module": "./ai-criteria-search"
2478
- }
2479
- },
2480
- {
2481
- "kind": "js",
2482
- "name": "foundationAiCriteriaSearchShadowOptions",
2483
- "declaration": {
2484
- "name": "foundationAiCriteriaSearchShadowOptions",
2485
- "module": "./ai-criteria-search"
2486
- }
2487
- },
2488
- {
2489
- "kind": "js",
2490
- "name": "foundationAiCriteriaSearchStyles",
2491
- "declaration": {
2492
- "name": "foundationAiCriteriaSearchStyles",
2493
- "module": "./ai-criteria-search.styles"
2494
- }
2495
- },
2496
- {
2497
- "kind": "js",
2498
- "name": "foundationAiCriteriaSearchTemplate",
2499
- "declaration": {
2500
- "name": "foundationAiCriteriaSearchTemplate",
2501
- "module": "./ai-criteria-search.template"
2502
- }
2503
- },
2504
2339
  {
2505
2340
  "kind": "js",
2506
2341
  "name": "*",
2507
2342
  "declaration": {
2508
2343
  "name": "*",
2509
- "package": "./validation/criteria-ir"
2344
+ "package": "./accordion.template"
2510
2345
  }
2511
2346
  },
2512
2347
  {
@@ -2514,7 +2349,7 @@
2514
2349
  "name": "*",
2515
2350
  "declaration": {
2516
2351
  "name": "*",
2517
- "package": "./validation/operator-map"
2352
+ "package": "./accordion.styles"
2518
2353
  }
2519
2354
  },
2520
2355
  {
@@ -2522,93 +2357,18 @@
2522
2357
  "name": "*",
2523
2358
  "declaration": {
2524
2359
  "name": "*",
2525
- "package": "./validation/schema-validator"
2526
- }
2527
- }
2528
- ]
2529
- },
2530
- {
2531
- "kind": "javascript-module",
2532
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2533
- "declarations": [
2534
- {
2535
- "kind": "function",
2536
- "name": "formatValidationErrors",
2537
- "return": {
2538
- "type": {
2539
- "text": "string"
2540
- }
2541
- },
2542
- "parameters": [
2543
- {
2544
- "name": "errors",
2545
- "type": {
2546
- "text": "ValidationError[]"
2547
- }
2548
- }
2549
- ],
2550
- "description": "Formats validation errors into a user-friendly message."
2551
- },
2552
- {
2553
- "kind": "function",
2554
- "name": "showCriteriaError",
2555
- "return": {
2556
- "type": {
2557
- "text": "void"
2558
- }
2559
- },
2560
- "parameters": [
2561
- {
2562
- "name": "title",
2563
- "type": {
2564
- "text": "string"
2565
- },
2566
- "description": "Notification title (e.g. \"Criteria validation error\")"
2567
- },
2568
- {
2569
- "name": "body",
2570
- "type": {
2571
- "text": "string"
2572
- },
2573
- "description": "Error message to display"
2574
- },
2575
- {
2576
- "name": "tagName",
2577
- "type": {
2578
- "text": "string"
2579
- },
2580
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2581
- }
2582
- ],
2583
- "description": "Shows a criteria error as a toast notification."
2584
- }
2585
- ],
2586
- "exports": [
2587
- {
2588
- "kind": "js",
2589
- "name": "formatValidationErrors",
2590
- "declaration": {
2591
- "name": "formatValidationErrors",
2592
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2593
- }
2594
- },
2595
- {
2596
- "kind": "js",
2597
- "name": "showCriteriaError",
2598
- "declaration": {
2599
- "name": "showCriteriaError",
2600
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2360
+ "package": "./accordion"
2601
2361
  }
2602
2362
  }
2603
2363
  ]
2604
2364
  },
2605
2365
  {
2606
2366
  "kind": "javascript-module",
2607
- "path": "src/accordion-item/accordion-item.styles.ts",
2367
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2608
2368
  "declarations": [
2609
2369
  {
2610
2370
  "kind": "function",
2611
- "name": "foundationAccordionItemStyles",
2371
+ "name": "foundationAiIndicatorStyles",
2612
2372
  "return": {
2613
2373
  "type": {
2614
2374
  "text": "ElementStyles"
@@ -2633,155 +2393,224 @@
2633
2393
  "exports": [
2634
2394
  {
2635
2395
  "kind": "js",
2636
- "name": "foundationAccordionItemStyles",
2396
+ "name": "foundationAiIndicatorStyles",
2637
2397
  "declaration": {
2638
- "name": "foundationAccordionItemStyles",
2639
- "module": "src/accordion-item/accordion-item.styles.ts"
2398
+ "name": "foundationAiIndicatorStyles",
2399
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2640
2400
  }
2641
2401
  }
2642
2402
  ]
2643
2403
  },
2644
2404
  {
2645
2405
  "kind": "javascript-module",
2646
- "path": "src/accordion-item/accordion-item.template.ts",
2406
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2647
2407
  "declarations": [
2648
2408
  {
2649
- "kind": "function",
2650
- "name": "foundationAccordionItemTemplate",
2651
- "return": {
2652
- "type": {
2653
- "text": "ViewTemplate<AccordionItem>"
2654
- }
2409
+ "kind": "variable",
2410
+ "name": "foundationAiIndicatorTemplate",
2411
+ "type": {
2412
+ "text": "ViewTemplate<AiIndicator>"
2655
2413
  },
2656
- "parameters": [
2657
- {
2658
- "name": "context",
2659
- "type": {
2660
- "text": "ElementDefinitionContext"
2661
- }
2662
- },
2663
- {
2664
- "name": "definition",
2665
- "type": {
2666
- "text": "FoundationElementDefinition"
2667
- }
2668
- }
2669
- ]
2414
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2670
2415
  }
2671
2416
  ],
2672
2417
  "exports": [
2673
2418
  {
2674
2419
  "kind": "js",
2675
- "name": "foundationAccordionItemTemplate",
2420
+ "name": "foundationAiIndicatorTemplate",
2676
2421
  "declaration": {
2677
- "name": "foundationAccordionItemTemplate",
2678
- "module": "src/accordion-item/accordion-item.template.ts"
2422
+ "name": "foundationAiIndicatorTemplate",
2423
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2679
2424
  }
2680
2425
  }
2681
2426
  ]
2682
2427
  },
2683
2428
  {
2684
2429
  "kind": "javascript-module",
2685
- "path": "src/accordion-item/accordion-item.ts",
2430
+ "path": "src/ai-indicator/ai-indicator.ts",
2686
2431
  "declarations": [
2687
2432
  {
2688
2433
  "kind": "class",
2689
2434
  "description": "",
2690
- "name": "AccordionItem",
2691
- "superclass": {
2692
- "name": "FASTAccordionItem",
2693
- "package": "@microsoft/fast-components"
2694
- },
2695
- "tagName": "%%prefix%%-accordion-item",
2696
- "customElement": true,
2697
- "attributes": [
2435
+ "name": "AiIndicator",
2436
+ "members": [
2698
2437
  {
2699
- "name": "heading-level",
2438
+ "kind": "field",
2439
+ "name": "providerRegistry",
2700
2440
  "type": {
2701
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2702
- },
2703
- "default": "2",
2704
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2705
- "fieldName": "headinglevel",
2706
- "inheritedFrom": {
2707
- "name": "AccordionItem",
2708
- "module": "src/accordion-item/accordion-item.ts"
2441
+ "text": "AIProviderRegistry"
2709
2442
  }
2710
2443
  },
2711
2444
  {
2445
+ "kind": "field",
2446
+ "name": "aiProvider",
2447
+ "type": {
2448
+ "text": "AIProvider | undefined"
2449
+ },
2450
+ "privacy": "private",
2451
+ "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.",
2452
+ "readonly": true
2453
+ },
2454
+ {
2455
+ "kind": "field",
2456
+ "name": "status",
2457
+ "type": {
2458
+ "text": "AIStatus | null"
2459
+ },
2460
+ "default": "null"
2461
+ },
2462
+ {
2463
+ "kind": "field",
2464
+ "name": "open",
2712
2465
  "type": {
2713
2466
  "text": "boolean"
2714
2467
  },
2715
- "default": "false",
2716
- "description": "Expands or collapses the item.",
2717
- "fieldName": "expanded",
2718
- "inheritedFrom": {
2719
- "name": "AccordionItem",
2720
- "module": "src/accordion-item/accordion-item.ts"
2721
- }
2468
+ "default": "false"
2722
2469
  },
2723
2470
  {
2724
- "name": "id",
2471
+ "kind": "field",
2472
+ "name": "state",
2725
2473
  "type": {
2726
- "text": "string"
2474
+ "text": "AIIndicatorState"
2727
2475
  },
2728
- "description": "The item ID",
2729
- "fieldName": "id",
2730
- "inheritedFrom": {
2731
- "name": "AccordionItem",
2732
- "module": "src/accordion-item/accordion-item.ts"
2733
- }
2734
- }
2735
- ],
2736
- "members": [
2476
+ "default": "'none'"
2477
+ },
2737
2478
  {
2738
2479
  "kind": "field",
2739
- "name": "headinglevel",
2480
+ "name": "isInstalling",
2740
2481
  "type": {
2741
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2482
+ "text": "boolean"
2742
2483
  },
2743
- "privacy": "public",
2744
- "default": "2",
2745
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2746
- "inheritedFrom": {
2747
- "name": "AccordionItem",
2748
- "module": "src/accordion-item/accordion-item.ts"
2749
- }
2484
+ "default": "false"
2750
2485
  },
2751
2486
  {
2752
2487
  "kind": "field",
2753
- "name": "expanded",
2488
+ "name": "pollTimer",
2489
+ "type": {
2490
+ "text": "ReturnType<typeof setInterval> | null"
2491
+ },
2492
+ "privacy": "private",
2493
+ "default": "null"
2494
+ },
2495
+ {
2496
+ "kind": "field",
2497
+ "name": "clickOutside",
2498
+ "privacy": "private"
2499
+ },
2500
+ {
2501
+ "kind": "field",
2502
+ "name": "chromeStatusLabel",
2503
+ "type": {
2504
+ "text": "string | null"
2505
+ },
2506
+ "readonly": true
2507
+ },
2508
+ {
2509
+ "kind": "field",
2510
+ "name": "canInstall",
2754
2511
  "type": {
2755
2512
  "text": "boolean"
2756
2513
  },
2757
- "privacy": "public",
2758
- "default": "false",
2759
- "description": "Expands or collapses the item.",
2760
- "inheritedFrom": {
2761
- "name": "AccordionItem",
2762
- "module": "src/accordion-item/accordion-item.ts"
2763
- }
2514
+ "readonly": true
2764
2515
  },
2765
2516
  {
2766
2517
  "kind": "field",
2767
- "name": "id",
2518
+ "name": "isDownloading",
2768
2519
  "type": {
2769
- "text": "string"
2520
+ "text": "boolean"
2770
2521
  },
2771
- "privacy": "public",
2772
- "description": "The item ID",
2773
- "inheritedFrom": {
2774
- "name": "AccordionItem",
2775
- "module": "src/accordion-item/accordion-item.ts"
2522
+ "readonly": true
2523
+ },
2524
+ {
2525
+ "kind": "method",
2526
+ "name": "openChanged",
2527
+ "return": {
2528
+ "type": {
2529
+ "text": "void"
2530
+ }
2531
+ }
2532
+ },
2533
+ {
2534
+ "kind": "method",
2535
+ "name": "handleClickOutside",
2536
+ "privacy": "private",
2537
+ "parameters": [
2538
+ {
2539
+ "name": "event",
2540
+ "type": {
2541
+ "text": "MouseEvent"
2542
+ }
2543
+ }
2544
+ ]
2545
+ },
2546
+ {
2547
+ "kind": "method",
2548
+ "name": "toggleDropdown"
2549
+ },
2550
+ {
2551
+ "kind": "method",
2552
+ "name": "refreshStatus",
2553
+ "return": {
2554
+ "type": {
2555
+ "text": "Promise<void>"
2556
+ }
2557
+ }
2558
+ },
2559
+ {
2560
+ "kind": "method",
2561
+ "name": "deriveState",
2562
+ "privacy": "private",
2563
+ "return": {
2564
+ "type": {
2565
+ "text": "AIIndicatorState"
2566
+ }
2567
+ },
2568
+ "parameters": [
2569
+ {
2570
+ "name": "s",
2571
+ "type": {
2572
+ "text": "AIStatus | null"
2573
+ }
2574
+ }
2575
+ ]
2576
+ },
2577
+ {
2578
+ "kind": "method",
2579
+ "name": "maybeStartPolling",
2580
+ "privacy": "private",
2581
+ "return": {
2582
+ "type": {
2583
+ "text": "void"
2584
+ }
2585
+ }
2586
+ },
2587
+ {
2588
+ "kind": "method",
2589
+ "name": "startPolling",
2590
+ "privacy": "private",
2591
+ "return": {
2592
+ "type": {
2593
+ "text": "void"
2594
+ }
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "method",
2599
+ "name": "stopPolling",
2600
+ "privacy": "private",
2601
+ "return": {
2602
+ "type": {
2603
+ "text": "void"
2604
+ }
2776
2605
  }
2777
2606
  },
2778
2607
  {
2779
- "kind": "field",
2780
- "name": "change",
2781
- "privacy": "private",
2782
- "inheritedFrom": {
2783
- "name": "AccordionItem",
2784
- "module": "src/accordion-item/accordion-item.ts"
2608
+ "kind": "method",
2609
+ "name": "onInstall",
2610
+ "return": {
2611
+ "type": {
2612
+ "text": "Promise<void>"
2613
+ }
2785
2614
  }
2786
2615
  },
2787
2616
  {
@@ -2896,177 +2725,145 @@
2896
2725
  }
2897
2726
  }
2898
2727
  ],
2899
- "events": [
2900
- {
2901
- "description": "Fires a custom 'change' event when the button is invoked",
2902
- "name": "change",
2903
- "inheritedFrom": {
2904
- "name": "AccordionItem",
2905
- "module": "src/accordion-item/accordion-item.ts"
2906
- }
2907
- }
2908
- ]
2909
- },
2910
- {
2911
- "kind": "variable",
2912
- "name": "foundationAccordionItemShadowOptions",
2913
- "type": {
2914
- "text": "ShadowRootInit"
2915
- },
2916
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2917
- },
2918
- {
2919
- "kind": "variable",
2920
- "name": "defaultAccordionItemConfig",
2921
- "type": {
2922
- "text": "object"
2728
+ "superclass": {
2729
+ "name": "FoundationElement",
2730
+ "package": "@microsoft/fast-foundation"
2923
2731
  },
2924
- "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}"
2732
+ "tagName": "%%prefix%%-ai-indicator",
2733
+ "customElement": true
2925
2734
  },
2926
2735
  {
2927
2736
  "kind": "variable",
2928
- "name": "foundationAccordionItem",
2929
- "description": "The Foundation Accordion Item",
2930
- "privacy": "public"
2737
+ "name": "foundationAiIndicator"
2931
2738
  }
2932
2739
  ],
2933
2740
  "exports": [
2934
2741
  {
2935
2742
  "kind": "js",
2936
- "name": "AccordionItem",
2743
+ "name": "AiIndicator",
2937
2744
  "declaration": {
2938
- "name": "AccordionItem",
2939
- "module": "src/accordion-item/accordion-item.ts"
2745
+ "name": "AiIndicator",
2746
+ "module": "src/ai-indicator/ai-indicator.ts"
2940
2747
  }
2941
2748
  },
2942
2749
  {
2943
2750
  "kind": "js",
2944
- "name": "foundationAccordionItemShadowOptions",
2751
+ "name": "foundationAiIndicator",
2945
2752
  "declaration": {
2946
- "name": "foundationAccordionItemShadowOptions",
2947
- "module": "src/accordion-item/accordion-item.ts"
2753
+ "name": "foundationAiIndicator",
2754
+ "module": "src/ai-indicator/ai-indicator.ts"
2755
+ }
2756
+ }
2757
+ ]
2758
+ },
2759
+ {
2760
+ "kind": "javascript-module",
2761
+ "path": "src/ai-indicator/index.ts",
2762
+ "declarations": [],
2763
+ "exports": [
2764
+ {
2765
+ "kind": "js",
2766
+ "name": "AiIndicator",
2767
+ "declaration": {
2768
+ "name": "AiIndicator",
2769
+ "module": "./ai-indicator"
2948
2770
  }
2949
2771
  },
2950
2772
  {
2951
2773
  "kind": "js",
2952
- "name": "defaultAccordionItemConfig",
2774
+ "name": "foundationAiIndicator",
2953
2775
  "declaration": {
2954
- "name": "defaultAccordionItemConfig",
2955
- "module": "src/accordion-item/accordion-item.ts"
2776
+ "name": "foundationAiIndicator",
2777
+ "module": "./ai-indicator"
2956
2778
  }
2957
2779
  },
2958
2780
  {
2959
2781
  "kind": "js",
2960
- "name": "foundationAccordionItem",
2782
+ "name": "type",
2961
2783
  "declaration": {
2962
- "name": "foundationAccordionItem",
2963
- "module": "src/accordion-item/accordion-item.ts"
2784
+ "name": "type",
2785
+ "module": "./ai-indicator"
2964
2786
  }
2965
- }
2966
- ]
2967
- },
2968
- {
2969
- "kind": "javascript-module",
2970
- "path": "src/accordion-item/index.ts",
2971
- "declarations": [],
2972
- "exports": [
2787
+ },
2973
2788
  {
2974
2789
  "kind": "js",
2975
- "name": "*",
2790
+ "name": "AIIndicatorState",
2976
2791
  "declaration": {
2977
- "name": "*",
2978
- "package": "./accordion-item.template"
2792
+ "name": "AIIndicatorState",
2793
+ "module": "./ai-indicator"
2979
2794
  }
2980
2795
  },
2981
2796
  {
2982
2797
  "kind": "js",
2983
- "name": "*",
2798
+ "name": "foundationAiIndicatorTemplate",
2984
2799
  "declaration": {
2985
- "name": "*",
2986
- "package": "./accordion-item.styles"
2800
+ "name": "foundationAiIndicatorTemplate",
2801
+ "module": "./ai-indicator.template"
2987
2802
  }
2988
2803
  },
2989
2804
  {
2990
2805
  "kind": "js",
2991
- "name": "*",
2806
+ "name": "foundationAiIndicatorStyles",
2992
2807
  "declaration": {
2993
- "name": "*",
2994
- "package": "./accordion-item"
2808
+ "name": "foundationAiIndicatorStyles",
2809
+ "module": "./ai-indicator.styles"
2995
2810
  }
2996
2811
  }
2997
2812
  ]
2998
2813
  },
2999
2814
  {
3000
2815
  "kind": "javascript-module",
3001
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2816
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3002
2817
  "declarations": [
3003
2818
  {
3004
- "kind": "function",
3005
- "name": "foundationAiIndicatorStyles",
3006
- "return": {
3007
- "type": {
3008
- "text": "ElementStyles"
3009
- }
3010
- },
3011
- "parameters": [
3012
- {
3013
- "name": "context",
3014
- "type": {
3015
- "text": "ElementDefinitionContext"
3016
- }
3017
- },
3018
- {
3019
- "name": "definition",
3020
- "type": {
3021
- "text": "FoundationElementDefinition"
3022
- }
3023
- }
3024
- ]
2819
+ "kind": "variable",
2820
+ "name": "foundationAiCriteriaSearchStyles",
2821
+ "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`"
3025
2822
  }
3026
2823
  ],
3027
2824
  "exports": [
3028
2825
  {
3029
2826
  "kind": "js",
3030
- "name": "foundationAiIndicatorStyles",
2827
+ "name": "foundationAiCriteriaSearchStyles",
3031
2828
  "declaration": {
3032
- "name": "foundationAiIndicatorStyles",
3033
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2829
+ "name": "foundationAiCriteriaSearchStyles",
2830
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3034
2831
  }
3035
2832
  }
3036
2833
  ]
3037
2834
  },
3038
2835
  {
3039
2836
  "kind": "javascript-module",
3040
- "path": "src/ai-indicator/ai-indicator.template.ts",
2837
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3041
2838
  "declarations": [
3042
2839
  {
3043
2840
  "kind": "variable",
3044
- "name": "foundationAiIndicatorTemplate",
2841
+ "name": "foundationAiCriteriaSearchTemplate",
3045
2842
  "type": {
3046
- "text": "ViewTemplate<AiIndicator>"
2843
+ "text": "ViewTemplate<AiCriteriaSearch>"
3047
2844
  },
3048
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2845
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3049
2846
  }
3050
2847
  ],
3051
2848
  "exports": [
3052
2849
  {
3053
2850
  "kind": "js",
3054
- "name": "foundationAiIndicatorTemplate",
2851
+ "name": "foundationAiCriteriaSearchTemplate",
3055
2852
  "declaration": {
3056
- "name": "foundationAiIndicatorTemplate",
3057
- "module": "src/ai-indicator/ai-indicator.template.ts"
2853
+ "name": "foundationAiCriteriaSearchTemplate",
2854
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3058
2855
  }
3059
2856
  }
3060
2857
  ]
3061
2858
  },
3062
2859
  {
3063
2860
  "kind": "javascript-module",
3064
- "path": "src/ai-indicator/ai-indicator.ts",
2861
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3065
2862
  "declarations": [
3066
2863
  {
3067
2864
  "kind": "class",
3068
- "description": "",
3069
- "name": "AiIndicator",
2865
+ "description": "Natural-language criteria search input with AI interpretation.",
2866
+ "name": "AiCriteriaSearch",
3070
2867
  "members": [
3071
2868
  {
3072
2869
  "kind": "field",
@@ -3077,25 +2874,54 @@
3077
2874
  },
3078
2875
  {
3079
2876
  "kind": "field",
3080
- "name": "aiProvider",
2877
+ "name": "placeholder",
3081
2878
  "type": {
3082
- "text": "AIProvider | undefined"
2879
+ "text": "string"
3083
2880
  },
3084
- "privacy": "private",
3085
- "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.",
3086
- "readonly": true
2881
+ "default": "'Describe your search criteria in natural language...'"
3087
2882
  },
3088
2883
  {
3089
2884
  "kind": "field",
3090
- "name": "status",
2885
+ "name": "disabled",
3091
2886
  "type": {
3092
- "text": "AIStatus | null"
2887
+ "text": "boolean"
2888
+ }
2889
+ },
2890
+ {
2891
+ "kind": "field",
2892
+ "name": "inputValue",
2893
+ "type": {
2894
+ "text": "string"
2895
+ },
2896
+ "default": "''"
2897
+ },
2898
+ {
2899
+ "kind": "field",
2900
+ "name": "isInterpreting",
2901
+ "type": {
2902
+ "text": "boolean"
2903
+ },
2904
+ "default": "false"
2905
+ },
2906
+ {
2907
+ "kind": "field",
2908
+ "name": "lastValidCriteria",
2909
+ "type": {
2910
+ "text": "string | null"
3093
2911
  },
3094
2912
  "default": "null"
3095
2913
  },
3096
2914
  {
3097
2915
  "kind": "field",
3098
- "name": "open",
2916
+ "name": "activeGroups",
2917
+ "type": {
2918
+ "text": "CriteriaGroup[]"
2919
+ },
2920
+ "default": "[]"
2921
+ },
2922
+ {
2923
+ "kind": "field",
2924
+ "name": "showingChips",
3099
2925
  "type": {
3100
2926
  "text": "boolean"
3101
2927
  },
@@ -3103,15 +2929,15 @@
3103
2929
  },
3104
2930
  {
3105
2931
  "kind": "field",
3106
- "name": "state",
2932
+ "name": "fieldMetadata",
3107
2933
  "type": {
3108
- "text": "AIIndicatorState"
2934
+ "text": "MetadataDetail[] | string[]"
3109
2935
  },
3110
- "default": "'none'"
2936
+ "default": "[]"
3111
2937
  },
3112
2938
  {
3113
2939
  "kind": "field",
3114
- "name": "isInstalling",
2940
+ "name": "isRecording",
3115
2941
  "type": {
3116
2942
  "text": "boolean"
3117
2943
  },
@@ -3119,29 +2945,33 @@
3119
2945
  },
3120
2946
  {
3121
2947
  "kind": "field",
3122
- "name": "pollTimer",
2948
+ "name": "textAreaRef",
3123
2949
  "type": {
3124
- "text": "ReturnType<typeof setInterval> | null"
2950
+ "text": "HTMLTextAreaElement"
3125
2951
  },
3126
- "privacy": "private",
3127
- "default": "null"
2952
+ "privacy": "public"
3128
2953
  },
3129
2954
  {
3130
2955
  "kind": "field",
3131
- "name": "clickOutside",
3132
- "privacy": "private"
2956
+ "name": "stopRecording",
2957
+ "type": {
2958
+ "text": "(() => void) | null"
2959
+ },
2960
+ "privacy": "private",
2961
+ "default": "null"
3133
2962
  },
3134
2963
  {
3135
2964
  "kind": "field",
3136
- "name": "chromeStatusLabel",
2965
+ "name": "speechApplyDebounceTimer",
3137
2966
  "type": {
3138
- "text": "string | null"
2967
+ "text": "ReturnType<typeof setTimeout> | null"
3139
2968
  },
3140
- "readonly": true
2969
+ "privacy": "private",
2970
+ "default": "null"
3141
2971
  },
3142
2972
  {
3143
2973
  "kind": "field",
3144
- "name": "canInstall",
2974
+ "name": "speechAvailable",
3145
2975
  "type": {
3146
2976
  "text": "boolean"
3147
2977
  },
@@ -3149,69 +2979,65 @@
3149
2979
  },
3150
2980
  {
3151
2981
  "kind": "field",
3152
- "name": "isDownloading",
2982
+ "name": "criteriaChips",
3153
2983
  "type": {
3154
- "text": "boolean"
2984
+ "text": "CriteriaChip[]"
3155
2985
  },
3156
2986
  "readonly": true
3157
2987
  },
3158
2988
  {
3159
2989
  "kind": "method",
3160
- "name": "openChanged",
2990
+ "name": "getFieldLabel",
2991
+ "privacy": "private",
3161
2992
  "return": {
3162
2993
  "type": {
3163
- "text": "void"
2994
+ "text": "string"
3164
2995
  }
3165
- }
3166
- },
3167
- {
3168
- "kind": "method",
3169
- "name": "handleClickOutside",
3170
- "privacy": "private",
2996
+ },
3171
2997
  "parameters": [
3172
2998
  {
3173
- "name": "event",
2999
+ "name": "fieldName",
3174
3000
  "type": {
3175
- "text": "MouseEvent"
3001
+ "text": "string"
3176
3002
  }
3177
3003
  }
3178
3004
  ]
3179
3005
  },
3180
3006
  {
3181
3007
  "kind": "method",
3182
- "name": "toggleDropdown"
3183
- },
3184
- {
3185
- "kind": "method",
3186
- "name": "refreshStatus",
3008
+ "name": "toggleCriteriaView",
3187
3009
  "return": {
3188
3010
  "type": {
3189
- "text": "Promise<void>"
3011
+ "text": "void"
3190
3012
  }
3191
3013
  }
3192
3014
  },
3193
3015
  {
3194
3016
  "kind": "method",
3195
- "name": "deriveState",
3196
- "privacy": "private",
3017
+ "name": "removeChip",
3197
3018
  "return": {
3198
3019
  "type": {
3199
- "text": "AIIndicatorState"
3020
+ "text": "void"
3200
3021
  }
3201
3022
  },
3202
3023
  "parameters": [
3203
3024
  {
3204
- "name": "s",
3025
+ "name": "groupIndex",
3205
3026
  "type": {
3206
- "text": "AIStatus | null"
3027
+ "text": "number"
3028
+ }
3029
+ },
3030
+ {
3031
+ "name": "clauseIndex",
3032
+ "type": {
3033
+ "text": "number"
3207
3034
  }
3208
3035
  }
3209
3036
  ]
3210
3037
  },
3211
3038
  {
3212
3039
  "kind": "method",
3213
- "name": "maybeStartPolling",
3214
- "privacy": "private",
3040
+ "name": "clearChips",
3215
3041
  "return": {
3216
3042
  "type": {
3217
3043
  "text": "void"
@@ -3220,32 +3046,24 @@
3220
3046
  },
3221
3047
  {
3222
3048
  "kind": "method",
3223
- "name": "startPolling",
3224
- "privacy": "private",
3225
- "return": {
3226
- "type": {
3227
- "text": "void"
3228
- }
3229
- }
3049
+ "name": "handleSubmit"
3230
3050
  },
3231
3051
  {
3232
3052
  "kind": "method",
3233
- "name": "stopPolling",
3234
- "privacy": "private",
3235
- "return": {
3236
- "type": {
3237
- "text": "void"
3238
- }
3239
- }
3053
+ "name": "handleBlur"
3240
3054
  },
3241
3055
  {
3242
3056
  "kind": "method",
3243
- "name": "onInstall",
3244
- "return": {
3245
- "type": {
3246
- "text": "Promise<void>"
3247
- }
3248
- }
3057
+ "name": "clear"
3058
+ },
3059
+ {
3060
+ "kind": "method",
3061
+ "name": "toggleSpeechInput"
3062
+ },
3063
+ {
3064
+ "kind": "method",
3065
+ "name": "clearSpeechApplyDebounce",
3066
+ "privacy": "private"
3249
3067
  },
3250
3068
  {
3251
3069
  "kind": "field",
@@ -3359,130 +3177,279 @@
3359
3177
  }
3360
3178
  }
3361
3179
  ],
3180
+ "events": [
3181
+ {
3182
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3183
+ "name": "criteria-changed"
3184
+ },
3185
+ {
3186
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3187
+ "name": "validation-errors"
3188
+ }
3189
+ ],
3190
+ "attributes": [
3191
+ {
3192
+ "name": "placeholder",
3193
+ "type": {
3194
+ "text": "string"
3195
+ },
3196
+ "default": "'Describe your search criteria in natural language...'",
3197
+ "fieldName": "placeholder"
3198
+ },
3199
+ {
3200
+ "type": {
3201
+ "text": "boolean"
3202
+ },
3203
+ "fieldName": "disabled"
3204
+ }
3205
+ ],
3362
3206
  "superclass": {
3363
3207
  "name": "FoundationElement",
3364
3208
  "package": "@microsoft/fast-foundation"
3365
3209
  },
3366
- "tagName": "%%prefix%%-ai-indicator",
3210
+ "tagName": "%%prefix%%-ai-criteria-search",
3367
3211
  "customElement": true
3368
3212
  },
3369
3213
  {
3370
3214
  "kind": "variable",
3371
- "name": "foundationAiIndicator"
3215
+ "name": "foundationAiCriteriaSearchShadowOptions",
3216
+ "type": {
3217
+ "text": "ShadowRootInit"
3218
+ },
3219
+ "default": "undefined"
3220
+ },
3221
+ {
3222
+ "kind": "variable",
3223
+ "name": "defaultAiCriteriaSearchConfig",
3224
+ "type": {
3225
+ "text": "object"
3226
+ },
3227
+ "default": "{}"
3228
+ },
3229
+ {
3230
+ "kind": "variable",
3231
+ "name": "foundationAiCriteriaSearch"
3372
3232
  }
3373
3233
  ],
3374
3234
  "exports": [
3375
3235
  {
3376
3236
  "kind": "js",
3377
- "name": "AiIndicator",
3237
+ "name": "AiCriteriaSearch",
3378
3238
  "declaration": {
3379
- "name": "AiIndicator",
3380
- "module": "src/ai-indicator/ai-indicator.ts"
3239
+ "name": "AiCriteriaSearch",
3240
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3381
3241
  }
3382
3242
  },
3383
3243
  {
3384
3244
  "kind": "js",
3385
- "name": "foundationAiIndicator",
3245
+ "name": "foundationAiCriteriaSearchShadowOptions",
3386
3246
  "declaration": {
3387
- "name": "foundationAiIndicator",
3388
- "module": "src/ai-indicator/ai-indicator.ts"
3247
+ "name": "foundationAiCriteriaSearchShadowOptions",
3248
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3249
+ }
3250
+ },
3251
+ {
3252
+ "kind": "js",
3253
+ "name": "defaultAiCriteriaSearchConfig",
3254
+ "declaration": {
3255
+ "name": "defaultAiCriteriaSearchConfig",
3256
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3257
+ }
3258
+ },
3259
+ {
3260
+ "kind": "js",
3261
+ "name": "foundationAiCriteriaSearch",
3262
+ "declaration": {
3263
+ "name": "foundationAiCriteriaSearch",
3264
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3389
3265
  }
3390
3266
  }
3391
3267
  ]
3392
3268
  },
3393
3269
  {
3394
3270
  "kind": "javascript-module",
3395
- "path": "src/ai-indicator/index.ts",
3271
+ "path": "src/ai-criteria-search/index.ts",
3396
3272
  "declarations": [],
3397
3273
  "exports": [
3398
3274
  {
3399
3275
  "kind": "js",
3400
- "name": "AiIndicator",
3276
+ "name": "AiCriteriaSearch",
3401
3277
  "declaration": {
3402
- "name": "AiIndicator",
3403
- "module": "./ai-indicator"
3278
+ "name": "AiCriteriaSearch",
3279
+ "module": "./ai-criteria-search"
3404
3280
  }
3405
3281
  },
3406
3282
  {
3407
3283
  "kind": "js",
3408
- "name": "foundationAiIndicator",
3284
+ "name": "defaultAiCriteriaSearchConfig",
3409
3285
  "declaration": {
3410
- "name": "foundationAiIndicator",
3411
- "module": "./ai-indicator"
3286
+ "name": "defaultAiCriteriaSearchConfig",
3287
+ "module": "./ai-criteria-search"
3412
3288
  }
3413
3289
  },
3414
3290
  {
3415
3291
  "kind": "js",
3416
- "name": "type",
3292
+ "name": "foundationAiCriteriaSearch",
3417
3293
  "declaration": {
3418
- "name": "type",
3419
- "module": "./ai-indicator"
3294
+ "name": "foundationAiCriteriaSearch",
3295
+ "module": "./ai-criteria-search"
3420
3296
  }
3421
3297
  },
3422
3298
  {
3423
3299
  "kind": "js",
3424
- "name": "AIIndicatorState",
3300
+ "name": "foundationAiCriteriaSearchShadowOptions",
3425
3301
  "declaration": {
3426
- "name": "AIIndicatorState",
3427
- "module": "./ai-indicator"
3302
+ "name": "foundationAiCriteriaSearchShadowOptions",
3303
+ "module": "./ai-criteria-search"
3428
3304
  }
3429
3305
  },
3430
3306
  {
3431
3307
  "kind": "js",
3432
- "name": "foundationAiIndicatorTemplate",
3308
+ "name": "foundationAiCriteriaSearchStyles",
3433
3309
  "declaration": {
3434
- "name": "foundationAiIndicatorTemplate",
3435
- "module": "./ai-indicator.template"
3310
+ "name": "foundationAiCriteriaSearchStyles",
3311
+ "module": "./ai-criteria-search.styles"
3436
3312
  }
3437
3313
  },
3438
3314
  {
3439
3315
  "kind": "js",
3440
- "name": "foundationAiIndicatorStyles",
3316
+ "name": "foundationAiCriteriaSearchTemplate",
3441
3317
  "declaration": {
3442
- "name": "foundationAiIndicatorStyles",
3443
- "module": "./ai-indicator.styles"
3318
+ "name": "foundationAiCriteriaSearchTemplate",
3319
+ "module": "./ai-criteria-search.template"
3320
+ }
3321
+ },
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "*",
3325
+ "declaration": {
3326
+ "name": "*",
3327
+ "package": "./validation/criteria-ir"
3328
+ }
3329
+ },
3330
+ {
3331
+ "kind": "js",
3332
+ "name": "*",
3333
+ "declaration": {
3334
+ "name": "*",
3335
+ "package": "./validation/operator-map"
3336
+ }
3337
+ },
3338
+ {
3339
+ "kind": "js",
3340
+ "name": "*",
3341
+ "declaration": {
3342
+ "name": "*",
3343
+ "package": "./validation/schema-validator"
3444
3344
  }
3445
3345
  }
3446
3346
  ]
3447
3347
  },
3448
3348
  {
3449
3349
  "kind": "javascript-module",
3450
- "path": "src/_config/index.ts",
3451
- "declarations": [],
3350
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3351
+ "declarations": [
3352
+ {
3353
+ "kind": "function",
3354
+ "name": "formatValidationErrors",
3355
+ "return": {
3356
+ "type": {
3357
+ "text": "string"
3358
+ }
3359
+ },
3360
+ "parameters": [
3361
+ {
3362
+ "name": "errors",
3363
+ "type": {
3364
+ "text": "ValidationError[]"
3365
+ }
3366
+ }
3367
+ ],
3368
+ "description": "Formats validation errors into a user-friendly message."
3369
+ },
3370
+ {
3371
+ "kind": "function",
3372
+ "name": "showCriteriaError",
3373
+ "return": {
3374
+ "type": {
3375
+ "text": "void"
3376
+ }
3377
+ },
3378
+ "parameters": [
3379
+ {
3380
+ "name": "title",
3381
+ "type": {
3382
+ "text": "string"
3383
+ },
3384
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3385
+ },
3386
+ {
3387
+ "name": "body",
3388
+ "type": {
3389
+ "text": "string"
3390
+ },
3391
+ "description": "Error message to display"
3392
+ },
3393
+ {
3394
+ "name": "tagName",
3395
+ "type": {
3396
+ "text": "string"
3397
+ },
3398
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3399
+ }
3400
+ ],
3401
+ "description": "Shows a criteria error as a toast notification."
3402
+ }
3403
+ ],
3452
3404
  "exports": [
3453
3405
  {
3454
3406
  "kind": "js",
3455
- "name": "*",
3456
- "declaration": {
3457
- "name": "*",
3458
- "package": "./styles"
3459
- }
3460
- },
3461
- {
3462
- "kind": "js",
3463
- "name": "*",
3407
+ "name": "formatValidationErrors",
3464
3408
  "declaration": {
3465
- "name": "*",
3466
- "package": "./tokens"
3409
+ "name": "formatValidationErrors",
3410
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3467
3411
  }
3468
3412
  },
3469
3413
  {
3470
3414
  "kind": "js",
3471
- "name": "*",
3415
+ "name": "showCriteriaError",
3472
3416
  "declaration": {
3473
- "name": "*",
3474
- "package": "./values"
3417
+ "name": "showCriteriaError",
3418
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3475
3419
  }
3476
3420
  }
3477
3421
  ]
3478
3422
  },
3479
3423
  {
3480
3424
  "kind": "javascript-module",
3481
- "path": "src/accordion/accordion.styles.ts",
3425
+ "path": "src/actions-menu/actions-menu.styles.ts",
3482
3426
  "declarations": [
3483
3427
  {
3484
3428
  "kind": "function",
3485
- "name": "foundationAccordionStyles",
3429
+ "name": "actionsMenuBaseStyles",
3430
+ "return": {
3431
+ "type": {
3432
+ "text": "ElementStyles"
3433
+ }
3434
+ },
3435
+ "parameters": [
3436
+ {
3437
+ "name": "context",
3438
+ "type": {
3439
+ "text": "ElementDefinitionContext"
3440
+ }
3441
+ },
3442
+ {
3443
+ "name": "definition",
3444
+ "type": {
3445
+ "text": "FoundationElementDefinition"
3446
+ }
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "kind": "function",
3452
+ "name": "foundationActionsMenuStyles",
3486
3453
  "return": {
3487
3454
  "type": {
3488
3455
  "text": "ElementStyles"
@@ -3507,277 +3474,281 @@
3507
3474
  "exports": [
3508
3475
  {
3509
3476
  "kind": "js",
3510
- "name": "foundationAccordionStyles",
3477
+ "name": "actionsMenuBaseStyles",
3511
3478
  "declaration": {
3512
- "name": "foundationAccordionStyles",
3513
- "module": "src/accordion/accordion.styles.ts"
3479
+ "name": "actionsMenuBaseStyles",
3480
+ "module": "src/actions-menu/actions-menu.styles.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "kind": "js",
3485
+ "name": "foundationActionsMenuStyles",
3486
+ "declaration": {
3487
+ "name": "foundationActionsMenuStyles",
3488
+ "module": "src/actions-menu/actions-menu.styles.ts"
3514
3489
  }
3515
3490
  }
3516
3491
  ]
3517
3492
  },
3518
3493
  {
3519
3494
  "kind": "javascript-module",
3520
- "path": "src/accordion/accordion.template.ts",
3495
+ "path": "src/actions-menu/actions-menu.template.ts",
3521
3496
  "declarations": [
3522
3497
  {
3523
3498
  "kind": "function",
3524
- "name": "foundationAccordionTemplate",
3525
- "return": {
3526
- "type": {
3527
- "text": "ViewTemplate<Accordion>"
3528
- }
3529
- },
3499
+ "name": "menuTemplate",
3530
3500
  "parameters": [
3531
3501
  {
3532
- "name": "context",
3502
+ "name": "prefix",
3533
3503
  "type": {
3534
- "text": "ElementDefinitionContext"
3504
+ "text": "string"
3535
3505
  }
3536
- },
3506
+ }
3507
+ ]
3508
+ },
3509
+ {
3510
+ "kind": "function",
3511
+ "name": "singleOptionTemplate",
3512
+ "parameters": [
3537
3513
  {
3538
- "name": "definition",
3514
+ "name": "prefix",
3539
3515
  "type": {
3540
- "text": "FoundationElementDefinition"
3516
+ "text": "string"
3541
3517
  }
3542
3518
  }
3543
3519
  ]
3520
+ },
3521
+ {
3522
+ "kind": "variable",
3523
+ "name": "foundationActionsMenuTemplate",
3524
+ "type": {
3525
+ "text": "ViewTemplate<ActionsMenu>"
3526
+ },
3527
+ "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`"
3544
3528
  }
3545
3529
  ],
3546
3530
  "exports": [
3547
3531
  {
3548
3532
  "kind": "js",
3549
- "name": "foundationAccordionTemplate",
3533
+ "name": "menuTemplate",
3550
3534
  "declaration": {
3551
- "name": "foundationAccordionTemplate",
3552
- "module": "src/accordion/accordion.template.ts"
3535
+ "name": "menuTemplate",
3536
+ "module": "src/actions-menu/actions-menu.template.ts"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "js",
3541
+ "name": "singleOptionTemplate",
3542
+ "declaration": {
3543
+ "name": "singleOptionTemplate",
3544
+ "module": "src/actions-menu/actions-menu.template.ts"
3545
+ }
3546
+ },
3547
+ {
3548
+ "kind": "js",
3549
+ "name": "foundationActionsMenuTemplate",
3550
+ "declaration": {
3551
+ "name": "foundationActionsMenuTemplate",
3552
+ "module": "src/actions-menu/actions-menu.template.ts"
3553
3553
  }
3554
3554
  }
3555
3555
  ]
3556
3556
  },
3557
3557
  {
3558
3558
  "kind": "javascript-module",
3559
- "path": "src/accordion/accordion.ts",
3559
+ "path": "src/actions-menu/actions-menu.ts",
3560
3560
  "declarations": [
3561
3561
  {
3562
3562
  "kind": "class",
3563
3563
  "description": "",
3564
- "name": "Accordion",
3565
- "superclass": {
3566
- "name": "FASTAccordion",
3567
- "package": "@microsoft/fast-foundation"
3568
- },
3569
- "tagName": "%%prefix%%-accordion",
3570
- "customElement": true,
3571
- "attributes": [
3564
+ "name": "ActionsMenu",
3565
+ "members": [
3572
3566
  {
3573
- "name": "expand-mode",
3567
+ "kind": "field",
3568
+ "name": "actions",
3574
3569
  "type": {
3575
- "text": "AccordionExpandMode"
3576
- },
3577
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3578
- "fieldName": "expandmode",
3579
- "inheritedFrom": {
3580
- "name": "Accordion",
3581
- "module": "src/accordion/accordion.ts"
3570
+ "text": "ActionMenuItem[]"
3582
3571
  }
3583
- }
3584
- ],
3585
- "members": [
3572
+ },
3586
3573
  {
3587
3574
  "kind": "field",
3588
- "name": "expandmode",
3575
+ "name": "isVertical",
3589
3576
  "type": {
3590
- "text": "AccordionExpandMode"
3577
+ "text": "boolean"
3591
3578
  },
3592
- "privacy": "public",
3593
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3594
- "inheritedFrom": {
3595
- "name": "Accordion",
3596
- "module": "src/accordion/accordion.ts"
3597
- }
3579
+ "default": "false"
3598
3580
  },
3599
3581
  {
3600
3582
  "kind": "field",
3601
- "name": "activeid",
3583
+ "name": "addDefaultActions",
3602
3584
  "type": {
3603
- "text": "string | null"
3585
+ "text": "boolean"
3604
3586
  },
3605
- "privacy": "private",
3606
- "inheritedFrom": {
3607
- "name": "Accordion",
3608
- "module": "src/accordion/accordion.ts"
3609
- }
3587
+ "default": "true"
3610
3588
  },
3611
3589
  {
3612
3590
  "kind": "field",
3613
- "name": "activeItemIndex",
3591
+ "name": "autoCloseOnAction",
3614
3592
  "type": {
3615
- "text": "number"
3593
+ "text": "boolean"
3616
3594
  },
3617
- "privacy": "private",
3618
- "default": "0",
3619
- "inheritedFrom": {
3620
- "name": "Accordion",
3621
- "module": "src/accordion/accordion.ts"
3622
- }
3595
+ "default": "true"
3623
3596
  },
3624
3597
  {
3625
3598
  "kind": "field",
3626
- "name": "accordionIds",
3599
+ "name": "classNames",
3627
3600
  "type": {
3628
- "text": "Array<string | null>"
3629
- },
3630
- "privacy": "private",
3631
- "inheritedFrom": {
3632
- "name": "Accordion",
3633
- "module": "src/accordion/accordion.ts"
3601
+ "text": "string"
3634
3602
  }
3635
3603
  },
3636
3604
  {
3637
3605
  "kind": "field",
3638
- "name": "change",
3639
- "privacy": "private",
3640
- "inheritedFrom": {
3641
- "name": "Accordion",
3642
- "module": "src/accordion/accordion.ts"
3606
+ "name": "definition",
3607
+ "type": {
3608
+ "text": "any"
3643
3609
  }
3644
3610
  },
3645
3611
  {
3646
- "kind": "method",
3647
- "name": "findExpandedItem",
3648
- "privacy": "private",
3649
- "return": {
3650
- "type": {
3651
- "text": "AccordionItem | null"
3652
- }
3612
+ "kind": "field",
3613
+ "name": "name",
3614
+ "type": {
3615
+ "text": "string"
3653
3616
  },
3654
- "inheritedFrom": {
3655
- "name": "Accordion",
3656
- "module": "src/accordion/accordion.ts"
3657
- }
3617
+ "default": "'Actions'"
3658
3618
  },
3659
3619
  {
3660
3620
  "kind": "field",
3661
- "name": "setItems",
3662
- "privacy": "private",
3663
- "inheritedFrom": {
3664
- "name": "Accordion",
3665
- "module": "src/accordion/accordion.ts"
3621
+ "name": "open",
3622
+ "type": {
3623
+ "text": "boolean"
3624
+ },
3625
+ "default": "false"
3626
+ },
3627
+ {
3628
+ "kind": "field",
3629
+ "name": "buttonAppearance",
3630
+ "type": {
3631
+ "text": "string"
3666
3632
  }
3667
3633
  },
3668
3634
  {
3669
- "kind": "method",
3670
- "name": "resetItems",
3671
- "privacy": "private",
3672
- "return": {
3673
- "type": {
3674
- "text": "void"
3675
- }
3635
+ "kind": "field",
3636
+ "name": "hideDisabled",
3637
+ "type": {
3638
+ "text": "boolean"
3676
3639
  },
3677
- "inheritedFrom": {
3678
- "name": "Accordion",
3679
- "module": "src/accordion/accordion.ts"
3640
+ "default": "false"
3641
+ },
3642
+ {
3643
+ "kind": "field",
3644
+ "name": "hideMenuSingleOption",
3645
+ "type": {
3646
+ "text": "boolean"
3647
+ },
3648
+ "default": "false"
3649
+ },
3650
+ {
3651
+ "kind": "field",
3652
+ "name": "singleOption",
3653
+ "type": {
3654
+ "text": "ActionMenuItem"
3680
3655
  }
3681
3656
  },
3682
3657
  {
3683
3658
  "kind": "field",
3684
- "name": "removeItemListeners",
3685
- "privacy": "private",
3686
- "inheritedFrom": {
3687
- "name": "Accordion",
3688
- "module": "src/accordion/accordion.ts"
3659
+ "name": "actionsMenu",
3660
+ "type": {
3661
+ "text": "HTMLElement"
3689
3662
  }
3690
3663
  },
3691
3664
  {
3692
3665
  "kind": "field",
3693
- "name": "activeItemChange",
3694
- "privacy": "private",
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3666
+ "name": "actionsOpener",
3667
+ "type": {
3668
+ "text": "HTMLElement"
3698
3669
  }
3699
3670
  },
3700
3671
  {
3701
3672
  "kind": "method",
3702
- "name": "getItemIds",
3703
- "privacy": "private",
3704
- "return": {
3705
- "type": {
3706
- "text": "Array<string | null>"
3673
+ "name": "updateMenuPosition",
3674
+ "privacy": "private"
3675
+ },
3676
+ {
3677
+ "kind": "method",
3678
+ "name": "definitionChanged",
3679
+ "privacy": "protected",
3680
+ "parameters": [
3681
+ {
3682
+ "name": "oldValue",
3683
+ "type": {
3684
+ "text": "any"
3685
+ }
3686
+ },
3687
+ {
3688
+ "name": "newValue",
3689
+ "type": {
3690
+ "text": "any"
3691
+ }
3707
3692
  }
3708
- },
3709
- "inheritedFrom": {
3710
- "name": "Accordion",
3711
- "module": "src/accordion/accordion.ts"
3712
- }
3693
+ ]
3713
3694
  },
3714
3695
  {
3715
3696
  "kind": "method",
3716
- "name": "isSingleExpandMode",
3717
- "privacy": "private",
3718
- "return": {
3719
- "type": {
3720
- "text": "boolean"
3697
+ "name": "openChanged",
3698
+ "privacy": "protected"
3699
+ },
3700
+ {
3701
+ "kind": "method",
3702
+ "name": "toggleActionsMenuVisibility"
3703
+ },
3704
+ {
3705
+ "kind": "method",
3706
+ "name": "onActionMenuItemClick",
3707
+ "parameters": [
3708
+ {
3709
+ "name": "callback",
3710
+ "type": {
3711
+ "text": "(rowData) => void | any"
3712
+ }
3721
3713
  }
3722
- },
3723
- "inheritedFrom": {
3724
- "name": "Accordion",
3725
- "module": "src/accordion/accordion.ts"
3726
- }
3714
+ ]
3727
3715
  },
3728
3716
  {
3729
3717
  "kind": "field",
3730
- "name": "handleItemKeyDown",
3731
- "privacy": "private",
3732
- "inheritedFrom": {
3733
- "name": "Accordion",
3734
- "module": "src/accordion/accordion.ts"
3735
- }
3718
+ "name": "allActions",
3719
+ "type": {
3720
+ "text": "ActionMenuItem[]"
3721
+ },
3722
+ "readonly": true
3736
3723
  },
3737
3724
  {
3738
3725
  "kind": "field",
3739
- "name": "handleItemFocus",
3740
- "privacy": "private",
3741
- "inheritedFrom": {
3742
- "name": "Accordion",
3743
- "module": "src/accordion/accordion.ts"
3744
- }
3726
+ "name": "rowData",
3727
+ "readonly": true
3745
3728
  },
3746
3729
  {
3747
3730
  "kind": "method",
3748
- "name": "adjust",
3749
- "privacy": "private",
3750
- "return": {
3751
- "type": {
3752
- "text": "void"
3753
- }
3754
- },
3731
+ "name": "getLabel",
3755
3732
  "parameters": [
3756
3733
  {
3757
- "name": "adjustment",
3734
+ "name": "name",
3758
3735
  "type": {
3759
- "text": "number"
3736
+ "text": "string | ((rowData: any) => string)"
3760
3737
  }
3761
3738
  }
3762
- ],
3763
- "inheritedFrom": {
3764
- "name": "Accordion",
3765
- "module": "src/accordion/accordion.ts"
3766
- }
3739
+ ]
3767
3740
  },
3768
3741
  {
3769
3742
  "kind": "method",
3770
- "name": "focusItem",
3771
- "privacy": "private",
3772
- "return": {
3773
- "type": {
3774
- "text": "void"
3743
+ "name": "getTemplate",
3744
+ "parameters": [
3745
+ {
3746
+ "name": "prefix",
3747
+ "type": {
3748
+ "text": "string"
3749
+ }
3775
3750
  }
3776
- },
3777
- "inheritedFrom": {
3778
- "name": "Accordion",
3779
- "module": "src/accordion/accordion.ts"
3780
- }
3751
+ ]
3781
3752
  },
3782
3753
  {
3783
3754
  "kind": "field",
@@ -3891,78 +3862,107 @@
3891
3862
  }
3892
3863
  }
3893
3864
  ],
3894
- "events": [
3865
+ "attributes": [
3895
3866
  {
3896
- "description": "Fires a custom 'change' event when the active item changes",
3897
- "name": "change",
3898
- "inheritedFrom": {
3899
- "name": "Accordion",
3900
- "module": "src/accordion/accordion.ts"
3901
- }
3867
+ "name": "is-vertical",
3868
+ "type": {
3869
+ "text": "boolean"
3870
+ },
3871
+ "default": "false",
3872
+ "fieldName": "isVertical"
3873
+ },
3874
+ {
3875
+ "name": "add-default-actions",
3876
+ "type": {
3877
+ "text": "boolean"
3878
+ },
3879
+ "default": "true",
3880
+ "fieldName": "addDefaultActions"
3881
+ },
3882
+ {
3883
+ "name": "auto-close-on-action",
3884
+ "type": {
3885
+ "text": "boolean"
3886
+ },
3887
+ "default": "true",
3888
+ "fieldName": "autoCloseOnAction"
3889
+ },
3890
+ {
3891
+ "name": "name",
3892
+ "type": {
3893
+ "text": "string"
3894
+ },
3895
+ "default": "'Actions'",
3896
+ "fieldName": "name"
3897
+ },
3898
+ {
3899
+ "name": "open",
3900
+ "type": {
3901
+ "text": "boolean"
3902
+ },
3903
+ "default": "false",
3904
+ "fieldName": "open"
3905
+ },
3906
+ {
3907
+ "name": "buttonAppearance",
3908
+ "type": {
3909
+ "text": "string"
3910
+ },
3911
+ "fieldName": "buttonAppearance"
3912
+ },
3913
+ {
3914
+ "name": "hide-disabled",
3915
+ "type": {
3916
+ "text": "boolean"
3917
+ },
3918
+ "default": "false",
3919
+ "fieldName": "hideDisabled"
3920
+ },
3921
+ {
3922
+ "name": "hide-menu-single-option",
3923
+ "type": {
3924
+ "text": "boolean"
3925
+ },
3926
+ "default": "false",
3927
+ "fieldName": "hideMenuSingleOption"
3902
3928
  }
3903
- ]
3904
- },
3905
- {
3906
- "kind": "variable",
3907
- "name": "foundationAccordionShadowOptions",
3908
- "type": {
3909
- "text": "ShadowRootInit"
3910
- },
3911
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3912
- },
3913
- {
3914
- "kind": "variable",
3915
- "name": "defaultAccordionConfig",
3916
- "type": {
3917
- "text": "object"
3929
+ ],
3930
+ "superclass": {
3931
+ "name": "FoundationElement",
3932
+ "package": "@microsoft/fast-foundation"
3918
3933
  },
3919
- "default": "{}"
3934
+ "tagName": "%%prefix%%-actions-menu",
3935
+ "customElement": true
3920
3936
  },
3921
3937
  {
3922
3938
  "kind": "variable",
3923
- "name": "foundationAccordion",
3924
- "description": "The Foundation Accordion",
3939
+ "name": "foundationActionsMenu",
3940
+ "description": "The Foundation Actions Menu",
3925
3941
  "privacy": "public"
3926
3942
  }
3927
3943
  ],
3928
3944
  "exports": [
3929
3945
  {
3930
3946
  "kind": "js",
3931
- "name": "Accordion",
3932
- "declaration": {
3933
- "name": "Accordion",
3934
- "module": "src/accordion/accordion.ts"
3935
- }
3936
- },
3937
- {
3938
- "kind": "js",
3939
- "name": "foundationAccordionShadowOptions",
3940
- "declaration": {
3941
- "name": "foundationAccordionShadowOptions",
3942
- "module": "src/accordion/accordion.ts"
3943
- }
3944
- },
3945
- {
3946
- "kind": "js",
3947
- "name": "defaultAccordionConfig",
3947
+ "name": "ActionsMenu",
3948
3948
  "declaration": {
3949
- "name": "defaultAccordionConfig",
3950
- "module": "src/accordion/accordion.ts"
3949
+ "name": "ActionsMenu",
3950
+ "module": "src/actions-menu/actions-menu.ts"
3951
3951
  }
3952
3952
  },
3953
3953
  {
3954
3954
  "kind": "js",
3955
- "name": "foundationAccordion",
3955
+ "name": "foundationActionsMenu",
3956
3956
  "declaration": {
3957
- "name": "foundationAccordion",
3958
- "module": "src/accordion/accordion.ts"
3957
+ "name": "foundationActionsMenu",
3958
+ "module": "src/actions-menu/actions-menu.ts"
3959
3959
  }
3960
3960
  }
3961
3961
  ]
3962
3962
  },
3963
3963
  {
3964
3964
  "kind": "javascript-module",
3965
- "path": "src/accordion/index.ts",
3965
+ "path": "src/actions-menu/index.ts",
3966
3966
  "declarations": [],
3967
3967
  "exports": [
3968
3968
  {
@@ -3970,7 +3970,7 @@
3970
3970
  "name": "*",
3971
3971
  "declaration": {
3972
3972
  "name": "*",
3973
- "package": "./accordion.template"
3973
+ "package": "./actions-menu.styles"
3974
3974
  }
3975
3975
  },
3976
3976
  {
@@ -3978,7 +3978,7 @@
3978
3978
  "name": "*",
3979
3979
  "declaration": {
3980
3980
  "name": "*",
3981
- "package": "./accordion.styles"
3981
+ "package": "./actions-menu.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
@@ -3986,7 +3986,7 @@
3986
3986
  "name": "*",
3987
3987
  "declaration": {
3988
3988
  "name": "*",
3989
- "package": "./accordion"
3989
+ "package": "./actions-menu"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -59984,197 +59984,6 @@
59984
59984
  }
59985
59985
  ]
59986
59986
  },
59987
- {
59988
- "kind": "javascript-module",
59989
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59990
- "declarations": [],
59991
- "exports": []
59992
- },
59993
- {
59994
- "kind": "javascript-module",
59995
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59996
- "declarations": [
59997
- {
59998
- "kind": "function",
59999
- "name": "groupsToCriteria",
60000
- "return": {
60001
- "type": {
60002
- "text": "string"
60003
- }
60004
- },
60005
- "parameters": [
60006
- {
60007
- "name": "groups",
60008
- "type": {
60009
- "text": "CriteriaGroup[]"
60010
- }
60011
- }
60012
- ],
60013
- "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."
60014
- },
60015
- {
60016
- "kind": "variable",
60017
- "name": "STRING_OPERATORS",
60018
- "type": {
60019
- "text": "CriteriaOperator[]"
60020
- },
60021
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60022
- },
60023
- {
60024
- "kind": "variable",
60025
- "name": "NUMERIC_OPERATORS",
60026
- "type": {
60027
- "text": "CriteriaOperator[]"
60028
- },
60029
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60030
- },
60031
- {
60032
- "kind": "variable",
60033
- "name": "DATE_OPERATORS",
60034
- "type": {
60035
- "text": "CriteriaOperator[]"
60036
- },
60037
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60038
- },
60039
- {
60040
- "kind": "variable",
60041
- "name": "DATETIME_OPERATORS",
60042
- "type": {
60043
- "text": "CriteriaOperator[]"
60044
- },
60045
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60046
- },
60047
- {
60048
- "kind": "variable",
60049
- "name": "OPERATOR_DISPLAY_LABEL",
60050
- "type": {
60051
- "text": "Record<CriteriaOperator, string>"
60052
- },
60053
- "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}"
60054
- }
60055
- ],
60056
- "exports": [
60057
- {
60058
- "kind": "js",
60059
- "name": "groupsToCriteria",
60060
- "declaration": {
60061
- "name": "groupsToCriteria",
60062
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60063
- }
60064
- },
60065
- {
60066
- "kind": "js",
60067
- "name": "STRING_OPERATORS",
60068
- "declaration": {
60069
- "name": "STRING_OPERATORS",
60070
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60071
- }
60072
- },
60073
- {
60074
- "kind": "js",
60075
- "name": "NUMERIC_OPERATORS",
60076
- "declaration": {
60077
- "name": "NUMERIC_OPERATORS",
60078
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60079
- }
60080
- },
60081
- {
60082
- "kind": "js",
60083
- "name": "DATE_OPERATORS",
60084
- "declaration": {
60085
- "name": "DATE_OPERATORS",
60086
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60087
- }
60088
- },
60089
- {
60090
- "kind": "js",
60091
- "name": "DATETIME_OPERATORS",
60092
- "declaration": {
60093
- "name": "DATETIME_OPERATORS",
60094
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60095
- }
60096
- },
60097
- {
60098
- "kind": "js",
60099
- "name": "OPERATOR_DISPLAY_LABEL",
60100
- "declaration": {
60101
- "name": "OPERATOR_DISPLAY_LABEL",
60102
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60103
- }
60104
- }
60105
- ]
60106
- },
60107
- {
60108
- "kind": "javascript-module",
60109
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60110
- "declarations": [
60111
- {
60112
- "kind": "function",
60113
- "name": "validateClauses",
60114
- "return": {
60115
- "type": {
60116
- "text": "ValidationResult"
60117
- }
60118
- },
60119
- "parameters": [
60120
- {
60121
- "name": "clauses",
60122
- "type": {
60123
- "text": "CriteriaClause[]"
60124
- }
60125
- },
60126
- {
60127
- "name": "fieldMetadata",
60128
- "type": {
60129
- "text": "MetadataDetail[] | string[]"
60130
- }
60131
- }
60132
- ]
60133
- },
60134
- {
60135
- "kind": "function",
60136
- "name": "validateGroups",
60137
- "return": {
60138
- "type": {
60139
- "text": "GroupsValidationResult"
60140
- }
60141
- },
60142
- "parameters": [
60143
- {
60144
- "name": "groups",
60145
- "type": {
60146
- "text": "CriteriaGroup[]"
60147
- }
60148
- },
60149
- {
60150
- "name": "fieldMetadata",
60151
- "type": {
60152
- "text": "MetadataDetail[] | string[]"
60153
- }
60154
- }
60155
- ],
60156
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60157
- }
60158
- ],
60159
- "exports": [
60160
- {
60161
- "kind": "js",
60162
- "name": "validateClauses",
60163
- "declaration": {
60164
- "name": "validateClauses",
60165
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60166
- }
60167
- },
60168
- {
60169
- "kind": "js",
60170
- "name": "validateGroups",
60171
- "declaration": {
60172
- "name": "validateGroups",
60173
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60174
- }
60175
- }
60176
- ]
60177
- },
60178
59987
  {
60179
59988
  "kind": "javascript-module",
60180
59989
  "path": "src/_config/styles/colors.ts",
@@ -61547,6 +61356,197 @@
61547
61356
  "declarations": [],
61548
61357
  "exports": []
61549
61358
  },
61359
+ {
61360
+ "kind": "javascript-module",
61361
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61362
+ "declarations": [],
61363
+ "exports": []
61364
+ },
61365
+ {
61366
+ "kind": "javascript-module",
61367
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61368
+ "declarations": [
61369
+ {
61370
+ "kind": "function",
61371
+ "name": "groupsToCriteria",
61372
+ "return": {
61373
+ "type": {
61374
+ "text": "string"
61375
+ }
61376
+ },
61377
+ "parameters": [
61378
+ {
61379
+ "name": "groups",
61380
+ "type": {
61381
+ "text": "CriteriaGroup[]"
61382
+ }
61383
+ }
61384
+ ],
61385
+ "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."
61386
+ },
61387
+ {
61388
+ "kind": "variable",
61389
+ "name": "STRING_OPERATORS",
61390
+ "type": {
61391
+ "text": "CriteriaOperator[]"
61392
+ },
61393
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61394
+ },
61395
+ {
61396
+ "kind": "variable",
61397
+ "name": "NUMERIC_OPERATORS",
61398
+ "type": {
61399
+ "text": "CriteriaOperator[]"
61400
+ },
61401
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61402
+ },
61403
+ {
61404
+ "kind": "variable",
61405
+ "name": "DATE_OPERATORS",
61406
+ "type": {
61407
+ "text": "CriteriaOperator[]"
61408
+ },
61409
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61410
+ },
61411
+ {
61412
+ "kind": "variable",
61413
+ "name": "DATETIME_OPERATORS",
61414
+ "type": {
61415
+ "text": "CriteriaOperator[]"
61416
+ },
61417
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61418
+ },
61419
+ {
61420
+ "kind": "variable",
61421
+ "name": "OPERATOR_DISPLAY_LABEL",
61422
+ "type": {
61423
+ "text": "Record<CriteriaOperator, string>"
61424
+ },
61425
+ "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}"
61426
+ }
61427
+ ],
61428
+ "exports": [
61429
+ {
61430
+ "kind": "js",
61431
+ "name": "groupsToCriteria",
61432
+ "declaration": {
61433
+ "name": "groupsToCriteria",
61434
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61435
+ }
61436
+ },
61437
+ {
61438
+ "kind": "js",
61439
+ "name": "STRING_OPERATORS",
61440
+ "declaration": {
61441
+ "name": "STRING_OPERATORS",
61442
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61443
+ }
61444
+ },
61445
+ {
61446
+ "kind": "js",
61447
+ "name": "NUMERIC_OPERATORS",
61448
+ "declaration": {
61449
+ "name": "NUMERIC_OPERATORS",
61450
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61451
+ }
61452
+ },
61453
+ {
61454
+ "kind": "js",
61455
+ "name": "DATE_OPERATORS",
61456
+ "declaration": {
61457
+ "name": "DATE_OPERATORS",
61458
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61459
+ }
61460
+ },
61461
+ {
61462
+ "kind": "js",
61463
+ "name": "DATETIME_OPERATORS",
61464
+ "declaration": {
61465
+ "name": "DATETIME_OPERATORS",
61466
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61467
+ }
61468
+ },
61469
+ {
61470
+ "kind": "js",
61471
+ "name": "OPERATOR_DISPLAY_LABEL",
61472
+ "declaration": {
61473
+ "name": "OPERATOR_DISPLAY_LABEL",
61474
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61475
+ }
61476
+ }
61477
+ ]
61478
+ },
61479
+ {
61480
+ "kind": "javascript-module",
61481
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61482
+ "declarations": [
61483
+ {
61484
+ "kind": "function",
61485
+ "name": "validateClauses",
61486
+ "return": {
61487
+ "type": {
61488
+ "text": "ValidationResult"
61489
+ }
61490
+ },
61491
+ "parameters": [
61492
+ {
61493
+ "name": "clauses",
61494
+ "type": {
61495
+ "text": "CriteriaClause[]"
61496
+ }
61497
+ },
61498
+ {
61499
+ "name": "fieldMetadata",
61500
+ "type": {
61501
+ "text": "MetadataDetail[] | string[]"
61502
+ }
61503
+ }
61504
+ ]
61505
+ },
61506
+ {
61507
+ "kind": "function",
61508
+ "name": "validateGroups",
61509
+ "return": {
61510
+ "type": {
61511
+ "text": "GroupsValidationResult"
61512
+ }
61513
+ },
61514
+ "parameters": [
61515
+ {
61516
+ "name": "groups",
61517
+ "type": {
61518
+ "text": "CriteriaGroup[]"
61519
+ }
61520
+ },
61521
+ {
61522
+ "name": "fieldMetadata",
61523
+ "type": {
61524
+ "text": "MetadataDetail[] | string[]"
61525
+ }
61526
+ }
61527
+ ],
61528
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61529
+ }
61530
+ ],
61531
+ "exports": [
61532
+ {
61533
+ "kind": "js",
61534
+ "name": "validateClauses",
61535
+ "declaration": {
61536
+ "name": "validateClauses",
61537
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61538
+ }
61539
+ },
61540
+ {
61541
+ "kind": "js",
61542
+ "name": "validateGroups",
61543
+ "declaration": {
61544
+ "name": "validateGroups",
61545
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61546
+ }
61547
+ }
61548
+ ]
61549
+ },
61550
61550
  {
61551
61551
  "kind": "javascript-module",
61552
61552
  "path": "src/environment-indicator/utils/configure.ts",