@genesislcap/foundation-ui 14.482.0 → 14.482.1-GENC-1336.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,11 +1400,34 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion-item/accordion-item.styles.ts",
1403
+ "path": "src/actions-menu/actions-menu.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "foundationAccordionItemStyles",
1407
+ "name": "actionsMenuBaseStyles",
1408
+ "return": {
1409
+ "type": {
1410
+ "text": "ElementStyles"
1411
+ }
1412
+ },
1413
+ "parameters": [
1414
+ {
1415
+ "name": "context",
1416
+ "type": {
1417
+ "text": "ElementDefinitionContext"
1418
+ }
1419
+ },
1420
+ {
1421
+ "name": "definition",
1422
+ "type": {
1423
+ "text": "FoundationElementDefinition"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
+ {
1429
+ "kind": "function",
1430
+ "name": "foundationActionsMenuStyles",
1408
1431
  "return": {
1409
1432
  "type": {
1410
1433
  "text": "ElementStyles"
@@ -1429,157 +1452,270 @@
1429
1452
  "exports": [
1430
1453
  {
1431
1454
  "kind": "js",
1432
- "name": "foundationAccordionItemStyles",
1455
+ "name": "actionsMenuBaseStyles",
1433
1456
  "declaration": {
1434
- "name": "foundationAccordionItemStyles",
1435
- "module": "src/accordion-item/accordion-item.styles.ts"
1457
+ "name": "actionsMenuBaseStyles",
1458
+ "module": "src/actions-menu/actions-menu.styles.ts"
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "foundationActionsMenuStyles",
1464
+ "declaration": {
1465
+ "name": "foundationActionsMenuStyles",
1466
+ "module": "src/actions-menu/actions-menu.styles.ts"
1436
1467
  }
1437
1468
  }
1438
1469
  ]
1439
1470
  },
1440
1471
  {
1441
1472
  "kind": "javascript-module",
1442
- "path": "src/accordion-item/accordion-item.template.ts",
1473
+ "path": "src/actions-menu/actions-menu.template.ts",
1443
1474
  "declarations": [
1444
1475
  {
1445
1476
  "kind": "function",
1446
- "name": "foundationAccordionItemTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<AccordionItem>"
1450
- }
1451
- },
1477
+ "name": "menuTemplate",
1452
1478
  "parameters": [
1453
1479
  {
1454
- "name": "context",
1480
+ "name": "prefix",
1455
1481
  "type": {
1456
- "text": "ElementDefinitionContext"
1482
+ "text": "string"
1457
1483
  }
1458
- },
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "kind": "function",
1489
+ "name": "singleOptionTemplate",
1490
+ "parameters": [
1459
1491
  {
1460
- "name": "definition",
1492
+ "name": "prefix",
1461
1493
  "type": {
1462
- "text": "FoundationElementDefinition"
1494
+ "text": "string"
1463
1495
  }
1464
1496
  }
1465
1497
  ]
1498
+ },
1499
+ {
1500
+ "kind": "variable",
1501
+ "name": "foundationActionsMenuTemplate",
1502
+ "type": {
1503
+ "text": "ViewTemplate<ActionsMenu>"
1504
+ },
1505
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1466
1506
  }
1467
1507
  ],
1468
1508
  "exports": [
1469
1509
  {
1470
1510
  "kind": "js",
1471
- "name": "foundationAccordionItemTemplate",
1511
+ "name": "menuTemplate",
1472
1512
  "declaration": {
1473
- "name": "foundationAccordionItemTemplate",
1474
- "module": "src/accordion-item/accordion-item.template.ts"
1513
+ "name": "menuTemplate",
1514
+ "module": "src/actions-menu/actions-menu.template.ts"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "singleOptionTemplate",
1520
+ "declaration": {
1521
+ "name": "singleOptionTemplate",
1522
+ "module": "src/actions-menu/actions-menu.template.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationActionsMenuTemplate",
1528
+ "declaration": {
1529
+ "name": "foundationActionsMenuTemplate",
1530
+ "module": "src/actions-menu/actions-menu.template.ts"
1475
1531
  }
1476
1532
  }
1477
1533
  ]
1478
1534
  },
1479
1535
  {
1480
1536
  "kind": "javascript-module",
1481
- "path": "src/accordion-item/accordion-item.ts",
1537
+ "path": "src/actions-menu/actions-menu.ts",
1482
1538
  "declarations": [
1483
1539
  {
1484
1540
  "kind": "class",
1485
1541
  "description": "",
1486
- "name": "AccordionItem",
1487
- "superclass": {
1488
- "name": "FASTAccordionItem",
1489
- "package": "@microsoft/fast-components"
1490
- },
1491
- "tagName": "%%prefix%%-accordion-item",
1492
- "customElement": true,
1493
- "attributes": [
1542
+ "name": "ActionsMenu",
1543
+ "members": [
1494
1544
  {
1495
- "name": "heading-level",
1545
+ "kind": "field",
1546
+ "name": "actions",
1496
1547
  "type": {
1497
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1498
- },
1499
- "default": "2",
1500
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1501
- "fieldName": "headinglevel",
1502
- "inheritedFrom": {
1503
- "name": "AccordionItem",
1504
- "module": "src/accordion-item/accordion-item.ts"
1548
+ "text": "ActionMenuItem[]"
1505
1549
  }
1506
1550
  },
1507
1551
  {
1552
+ "kind": "field",
1553
+ "name": "isVertical",
1508
1554
  "type": {
1509
1555
  "text": "boolean"
1510
1556
  },
1511
- "default": "false",
1512
- "description": "Expands or collapses the item.",
1513
- "fieldName": "expanded",
1514
- "inheritedFrom": {
1515
- "name": "AccordionItem",
1516
- "module": "src/accordion-item/accordion-item.ts"
1557
+ "default": "false"
1558
+ },
1559
+ {
1560
+ "kind": "field",
1561
+ "name": "addDefaultActions",
1562
+ "type": {
1563
+ "text": "boolean"
1564
+ },
1565
+ "default": "true"
1566
+ },
1567
+ {
1568
+ "kind": "field",
1569
+ "name": "autoCloseOnAction",
1570
+ "type": {
1571
+ "text": "boolean"
1572
+ },
1573
+ "default": "true"
1574
+ },
1575
+ {
1576
+ "kind": "field",
1577
+ "name": "classNames",
1578
+ "type": {
1579
+ "text": "string"
1517
1580
  }
1518
1581
  },
1519
1582
  {
1520
- "name": "id",
1583
+ "kind": "field",
1584
+ "name": "definition",
1585
+ "type": {
1586
+ "text": "any"
1587
+ }
1588
+ },
1589
+ {
1590
+ "kind": "field",
1591
+ "name": "name",
1521
1592
  "type": {
1522
1593
  "text": "string"
1523
1594
  },
1524
- "description": "The item ID",
1525
- "fieldName": "id",
1526
- "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
- }
1530
- }
1531
- ],
1532
- "members": [
1595
+ "default": "'Actions'"
1596
+ },
1533
1597
  {
1534
1598
  "kind": "field",
1535
- "name": "headinglevel",
1599
+ "name": "open",
1536
1600
  "type": {
1537
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1601
+ "text": "boolean"
1538
1602
  },
1539
- "privacy": "public",
1540
- "default": "2",
1541
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1542
- "inheritedFrom": {
1543
- "name": "AccordionItem",
1544
- "module": "src/accordion-item/accordion-item.ts"
1603
+ "default": "false"
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "buttonAppearance",
1608
+ "type": {
1609
+ "text": "string"
1545
1610
  }
1546
1611
  },
1547
1612
  {
1548
1613
  "kind": "field",
1549
- "name": "expanded",
1614
+ "name": "hideDisabled",
1550
1615
  "type": {
1551
1616
  "text": "boolean"
1552
1617
  },
1553
- "privacy": "public",
1554
- "default": "false",
1555
- "description": "Expands or collapses the item.",
1556
- "inheritedFrom": {
1557
- "name": "AccordionItem",
1558
- "module": "src/accordion-item/accordion-item.ts"
1559
- }
1618
+ "default": "false"
1560
1619
  },
1561
1620
  {
1562
1621
  "kind": "field",
1563
- "name": "id",
1622
+ "name": "hideMenuSingleOption",
1564
1623
  "type": {
1565
- "text": "string"
1624
+ "text": "boolean"
1566
1625
  },
1567
- "privacy": "public",
1568
- "description": "The item ID",
1569
- "inheritedFrom": {
1570
- "name": "AccordionItem",
1571
- "module": "src/accordion-item/accordion-item.ts"
1626
+ "default": "false"
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "singleOption",
1631
+ "type": {
1632
+ "text": "ActionMenuItem"
1572
1633
  }
1573
1634
  },
1574
1635
  {
1575
1636
  "kind": "field",
1576
- "name": "change",
1577
- "privacy": "private",
1578
- "inheritedFrom": {
1579
- "name": "AccordionItem",
1580
- "module": "src/accordion-item/accordion-item.ts"
1637
+ "name": "actionsMenu",
1638
+ "type": {
1639
+ "text": "HTMLElement"
1581
1640
  }
1582
1641
  },
1642
+ {
1643
+ "kind": "method",
1644
+ "name": "definitionChanged",
1645
+ "privacy": "protected",
1646
+ "parameters": [
1647
+ {
1648
+ "name": "oldValue",
1649
+ "type": {
1650
+ "text": "any"
1651
+ }
1652
+ },
1653
+ {
1654
+ "name": "newValue",
1655
+ "type": {
1656
+ "text": "any"
1657
+ }
1658
+ }
1659
+ ]
1660
+ },
1661
+ {
1662
+ "kind": "method",
1663
+ "name": "openChanged",
1664
+ "privacy": "protected"
1665
+ },
1666
+ {
1667
+ "kind": "method",
1668
+ "name": "toggleActionsMenuVisibility"
1669
+ },
1670
+ {
1671
+ "kind": "method",
1672
+ "name": "onActionMenuItemClick",
1673
+ "parameters": [
1674
+ {
1675
+ "name": "callback",
1676
+ "type": {
1677
+ "text": "(rowData) => void | any"
1678
+ }
1679
+ }
1680
+ ]
1681
+ },
1682
+ {
1683
+ "kind": "field",
1684
+ "name": "allActions",
1685
+ "type": {
1686
+ "text": "ActionMenuItem[]"
1687
+ },
1688
+ "readonly": true
1689
+ },
1690
+ {
1691
+ "kind": "field",
1692
+ "name": "rowData",
1693
+ "readonly": true
1694
+ },
1695
+ {
1696
+ "kind": "method",
1697
+ "name": "getLabel",
1698
+ "parameters": [
1699
+ {
1700
+ "name": "name",
1701
+ "type": {
1702
+ "text": "string | ((rowData: any) => string)"
1703
+ }
1704
+ }
1705
+ ]
1706
+ },
1707
+ {
1708
+ "kind": "method",
1709
+ "name": "getTemplate",
1710
+ "parameters": [
1711
+ {
1712
+ "name": "prefix",
1713
+ "type": {
1714
+ "text": "string"
1715
+ }
1716
+ }
1717
+ ]
1718
+ },
1583
1719
  {
1584
1720
  "kind": "field",
1585
1721
  "name": "_presentation",
@@ -1692,109 +1828,107 @@
1692
1828
  }
1693
1829
  }
1694
1830
  ],
1695
- "events": [
1831
+ "attributes": [
1696
1832
  {
1697
- "description": "Fires a custom 'change' event when the button is invoked",
1698
- "name": "change",
1699
- "inheritedFrom": {
1700
- "name": "AccordionItem",
1701
- "module": "src/accordion-item/accordion-item.ts"
1702
- }
1833
+ "name": "is-vertical",
1834
+ "type": {
1835
+ "text": "boolean"
1836
+ },
1837
+ "default": "false",
1838
+ "fieldName": "isVertical"
1839
+ },
1840
+ {
1841
+ "name": "add-default-actions",
1842
+ "type": {
1843
+ "text": "boolean"
1844
+ },
1845
+ "default": "true",
1846
+ "fieldName": "addDefaultActions"
1847
+ },
1848
+ {
1849
+ "name": "auto-close-on-action",
1850
+ "type": {
1851
+ "text": "boolean"
1852
+ },
1853
+ "default": "true",
1854
+ "fieldName": "autoCloseOnAction"
1855
+ },
1856
+ {
1857
+ "name": "name",
1858
+ "type": {
1859
+ "text": "string"
1860
+ },
1861
+ "default": "'Actions'",
1862
+ "fieldName": "name"
1863
+ },
1864
+ {
1865
+ "name": "open",
1866
+ "type": {
1867
+ "text": "boolean"
1868
+ },
1869
+ "default": "false",
1870
+ "fieldName": "open"
1871
+ },
1872
+ {
1873
+ "name": "buttonAppearance",
1874
+ "type": {
1875
+ "text": "string"
1876
+ },
1877
+ "fieldName": "buttonAppearance"
1878
+ },
1879
+ {
1880
+ "name": "hide-disabled",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "false",
1885
+ "fieldName": "hideDisabled"
1886
+ },
1887
+ {
1888
+ "name": "hide-menu-single-option",
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "false",
1893
+ "fieldName": "hideMenuSingleOption"
1703
1894
  }
1704
- ]
1705
- },
1706
- {
1707
- "kind": "variable",
1708
- "name": "foundationAccordionItemShadowOptions",
1709
- "type": {
1710
- "text": "ShadowRootInit"
1711
- },
1712
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1713
- },
1714
- {
1715
- "kind": "variable",
1716
- "name": "defaultAccordionItemConfig",
1717
- "type": {
1718
- "text": "object"
1895
+ ],
1896
+ "superclass": {
1897
+ "name": "FoundationElement",
1898
+ "package": "@microsoft/fast-foundation"
1719
1899
  },
1720
- "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}"
1900
+ "tagName": "%%prefix%%-actions-menu",
1901
+ "customElement": true
1721
1902
  },
1722
1903
  {
1723
1904
  "kind": "variable",
1724
- "name": "foundationAccordionItem",
1725
- "description": "The Foundation Accordion Item",
1905
+ "name": "foundationActionsMenu",
1906
+ "description": "The Foundation Actions Menu",
1726
1907
  "privacy": "public"
1727
1908
  }
1728
1909
  ],
1729
1910
  "exports": [
1730
1911
  {
1731
1912
  "kind": "js",
1732
- "name": "AccordionItem",
1733
- "declaration": {
1734
- "name": "AccordionItem",
1735
- "module": "src/accordion-item/accordion-item.ts"
1736
- }
1737
- },
1738
- {
1739
- "kind": "js",
1740
- "name": "foundationAccordionItemShadowOptions",
1741
- "declaration": {
1742
- "name": "foundationAccordionItemShadowOptions",
1743
- "module": "src/accordion-item/accordion-item.ts"
1744
- }
1745
- },
1746
- {
1747
- "kind": "js",
1748
- "name": "defaultAccordionItemConfig",
1749
- "declaration": {
1750
- "name": "defaultAccordionItemConfig",
1751
- "module": "src/accordion-item/accordion-item.ts"
1752
- }
1753
- },
1754
- {
1755
- "kind": "js",
1756
- "name": "foundationAccordionItem",
1757
- "declaration": {
1758
- "name": "foundationAccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1760
- }
1761
- }
1762
- ]
1763
- },
1764
- {
1765
- "kind": "javascript-module",
1766
- "path": "src/accordion-item/index.ts",
1767
- "declarations": [],
1768
- "exports": [
1769
- {
1770
- "kind": "js",
1771
- "name": "*",
1772
- "declaration": {
1773
- "name": "*",
1774
- "package": "./accordion-item.template"
1775
- }
1776
- },
1777
- {
1778
- "kind": "js",
1779
- "name": "*",
1913
+ "name": "ActionsMenu",
1780
1914
  "declaration": {
1781
- "name": "*",
1782
- "package": "./accordion-item.styles"
1915
+ "name": "ActionsMenu",
1916
+ "module": "src/actions-menu/actions-menu.ts"
1783
1917
  }
1784
1918
  },
1785
1919
  {
1786
1920
  "kind": "js",
1787
- "name": "*",
1921
+ "name": "foundationActionsMenu",
1788
1922
  "declaration": {
1789
- "name": "*",
1790
- "package": "./accordion-item"
1923
+ "name": "foundationActionsMenu",
1924
+ "module": "src/actions-menu/actions-menu.ts"
1791
1925
  }
1792
1926
  }
1793
1927
  ]
1794
1928
  },
1795
1929
  {
1796
1930
  "kind": "javascript-module",
1797
- "path": "src/_config/index.ts",
1931
+ "path": "src/actions-menu/index.ts",
1798
1932
  "declarations": [],
1799
1933
  "exports": [
1800
1934
  {
@@ -1802,7 +1936,7 @@
1802
1936
  "name": "*",
1803
1937
  "declaration": {
1804
1938
  "name": "*",
1805
- "package": "./styles"
1939
+ "package": "./actions-menu.styles"
1806
1940
  }
1807
1941
  },
1808
1942
  {
@@ -1810,7 +1944,7 @@
1810
1944
  "name": "*",
1811
1945
  "declaration": {
1812
1946
  "name": "*",
1813
- "package": "./tokens"
1947
+ "package": "./actions-menu.template"
1814
1948
  }
1815
1949
  },
1816
1950
  {
@@ -1818,18 +1952,18 @@
1818
1952
  "name": "*",
1819
1953
  "declaration": {
1820
1954
  "name": "*",
1821
- "package": "./values"
1955
+ "package": "./actions-menu"
1822
1956
  }
1823
1957
  }
1824
1958
  ]
1825
1959
  },
1826
1960
  {
1827
1961
  "kind": "javascript-module",
1828
- "path": "src/accordion/accordion.styles.ts",
1962
+ "path": "src/accordion-item/accordion-item.styles.ts",
1829
1963
  "declarations": [
1830
1964
  {
1831
1965
  "kind": "function",
1832
- "name": "foundationAccordionStyles",
1966
+ "name": "foundationAccordionItemStyles",
1833
1967
  "return": {
1834
1968
  "type": {
1835
1969
  "text": "ElementStyles"
@@ -1854,24 +1988,24 @@
1854
1988
  "exports": [
1855
1989
  {
1856
1990
  "kind": "js",
1857
- "name": "foundationAccordionStyles",
1991
+ "name": "foundationAccordionItemStyles",
1858
1992
  "declaration": {
1859
- "name": "foundationAccordionStyles",
1860
- "module": "src/accordion/accordion.styles.ts"
1993
+ "name": "foundationAccordionItemStyles",
1994
+ "module": "src/accordion-item/accordion-item.styles.ts"
1861
1995
  }
1862
1996
  }
1863
1997
  ]
1864
1998
  },
1865
1999
  {
1866
2000
  "kind": "javascript-module",
1867
- "path": "src/accordion/accordion.template.ts",
2001
+ "path": "src/accordion-item/accordion-item.template.ts",
1868
2002
  "declarations": [
1869
2003
  {
1870
2004
  "kind": "function",
1871
- "name": "foundationAccordionTemplate",
2005
+ "name": "foundationAccordionItemTemplate",
1872
2006
  "return": {
1873
2007
  "type": {
1874
- "text": "ViewTemplate<Accordion>"
2008
+ "text": "ViewTemplate<AccordionItem>"
1875
2009
  }
1876
2010
  },
1877
2011
  "parameters": [
@@ -1893,237 +2027,116 @@
1893
2027
  "exports": [
1894
2028
  {
1895
2029
  "kind": "js",
1896
- "name": "foundationAccordionTemplate",
2030
+ "name": "foundationAccordionItemTemplate",
1897
2031
  "declaration": {
1898
- "name": "foundationAccordionTemplate",
1899
- "module": "src/accordion/accordion.template.ts"
2032
+ "name": "foundationAccordionItemTemplate",
2033
+ "module": "src/accordion-item/accordion-item.template.ts"
1900
2034
  }
1901
2035
  }
1902
2036
  ]
1903
2037
  },
1904
2038
  {
1905
2039
  "kind": "javascript-module",
1906
- "path": "src/accordion/accordion.ts",
2040
+ "path": "src/accordion-item/accordion-item.ts",
1907
2041
  "declarations": [
1908
2042
  {
1909
2043
  "kind": "class",
1910
2044
  "description": "",
1911
- "name": "Accordion",
2045
+ "name": "AccordionItem",
1912
2046
  "superclass": {
1913
- "name": "FASTAccordion",
1914
- "package": "@microsoft/fast-foundation"
2047
+ "name": "FASTAccordionItem",
2048
+ "package": "@microsoft/fast-components"
1915
2049
  },
1916
- "tagName": "%%prefix%%-accordion",
2050
+ "tagName": "%%prefix%%-accordion-item",
1917
2051
  "customElement": true,
1918
2052
  "attributes": [
1919
2053
  {
1920
- "name": "expand-mode",
2054
+ "name": "heading-level",
1921
2055
  "type": {
1922
- "text": "AccordionExpandMode"
2056
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1923
2057
  },
1924
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1925
- "fieldName": "expandmode",
2058
+ "default": "2",
2059
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2060
+ "fieldName": "headinglevel",
1926
2061
  "inheritedFrom": {
1927
- "name": "Accordion",
1928
- "module": "src/accordion/accordion.ts"
2062
+ "name": "AccordionItem",
2063
+ "module": "src/accordion-item/accordion-item.ts"
1929
2064
  }
1930
- }
1931
- ],
1932
- "members": [
2065
+ },
1933
2066
  {
1934
- "kind": "field",
1935
- "name": "expandmode",
1936
2067
  "type": {
1937
- "text": "AccordionExpandMode"
2068
+ "text": "boolean"
1938
2069
  },
1939
- "privacy": "public",
1940
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2070
+ "default": "false",
2071
+ "description": "Expands or collapses the item.",
2072
+ "fieldName": "expanded",
1941
2073
  "inheritedFrom": {
1942
- "name": "Accordion",
1943
- "module": "src/accordion/accordion.ts"
2074
+ "name": "AccordionItem",
2075
+ "module": "src/accordion-item/accordion-item.ts"
1944
2076
  }
1945
2077
  },
1946
2078
  {
1947
- "kind": "field",
1948
- "name": "activeid",
2079
+ "name": "id",
1949
2080
  "type": {
1950
- "text": "string | null"
2081
+ "text": "string"
1951
2082
  },
1952
- "privacy": "private",
2083
+ "description": "The item ID",
2084
+ "fieldName": "id",
1953
2085
  "inheritedFrom": {
1954
- "name": "Accordion",
1955
- "module": "src/accordion/accordion.ts"
2086
+ "name": "AccordionItem",
2087
+ "module": "src/accordion-item/accordion-item.ts"
1956
2088
  }
1957
- },
2089
+ }
2090
+ ],
2091
+ "members": [
1958
2092
  {
1959
2093
  "kind": "field",
1960
- "name": "activeItemIndex",
2094
+ "name": "headinglevel",
1961
2095
  "type": {
1962
- "text": "number"
2096
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1963
2097
  },
1964
- "privacy": "private",
1965
- "default": "0",
2098
+ "privacy": "public",
2099
+ "default": "2",
2100
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1966
2101
  "inheritedFrom": {
1967
- "name": "Accordion",
1968
- "module": "src/accordion/accordion.ts"
2102
+ "name": "AccordionItem",
2103
+ "module": "src/accordion-item/accordion-item.ts"
1969
2104
  }
1970
2105
  },
1971
2106
  {
1972
2107
  "kind": "field",
1973
- "name": "accordionIds",
2108
+ "name": "expanded",
1974
2109
  "type": {
1975
- "text": "Array<string | null>"
1976
- },
1977
- "privacy": "private",
1978
- "inheritedFrom": {
1979
- "name": "Accordion",
1980
- "module": "src/accordion/accordion.ts"
1981
- }
1982
- },
1983
- {
1984
- "kind": "field",
1985
- "name": "change",
1986
- "privacy": "private",
1987
- "inheritedFrom": {
1988
- "name": "Accordion",
1989
- "module": "src/accordion/accordion.ts"
1990
- }
1991
- },
1992
- {
1993
- "kind": "method",
1994
- "name": "findExpandedItem",
1995
- "privacy": "private",
1996
- "return": {
1997
- "type": {
1998
- "text": "AccordionItem | null"
1999
- }
2000
- },
2001
- "inheritedFrom": {
2002
- "name": "Accordion",
2003
- "module": "src/accordion/accordion.ts"
2004
- }
2005
- },
2006
- {
2007
- "kind": "field",
2008
- "name": "setItems",
2009
- "privacy": "private",
2010
- "inheritedFrom": {
2011
- "name": "Accordion",
2012
- "module": "src/accordion/accordion.ts"
2013
- }
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "resetItems",
2018
- "privacy": "private",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2110
+ "text": "boolean"
2023
2111
  },
2112
+ "privacy": "public",
2113
+ "default": "false",
2114
+ "description": "Expands or collapses the item.",
2024
2115
  "inheritedFrom": {
2025
- "name": "Accordion",
2026
- "module": "src/accordion/accordion.ts"
2027
- }
2028
- },
2029
- {
2030
- "kind": "field",
2031
- "name": "removeItemListeners",
2032
- "privacy": "private",
2033
- "inheritedFrom": {
2034
- "name": "Accordion",
2035
- "module": "src/accordion/accordion.ts"
2116
+ "name": "AccordionItem",
2117
+ "module": "src/accordion-item/accordion-item.ts"
2036
2118
  }
2037
2119
  },
2038
2120
  {
2039
2121
  "kind": "field",
2040
- "name": "activeItemChange",
2041
- "privacy": "private",
2042
- "inheritedFrom": {
2043
- "name": "Accordion",
2044
- "module": "src/accordion/accordion.ts"
2045
- }
2046
- },
2047
- {
2048
- "kind": "method",
2049
- "name": "getItemIds",
2050
- "privacy": "private",
2051
- "return": {
2052
- "type": {
2053
- "text": "Array<string | null>"
2054
- }
2055
- },
2056
- "inheritedFrom": {
2057
- "name": "Accordion",
2058
- "module": "src/accordion/accordion.ts"
2059
- }
2060
- },
2061
- {
2062
- "kind": "method",
2063
- "name": "isSingleExpandMode",
2064
- "privacy": "private",
2065
- "return": {
2066
- "type": {
2067
- "text": "boolean"
2068
- }
2122
+ "name": "id",
2123
+ "type": {
2124
+ "text": "string"
2069
2125
  },
2126
+ "privacy": "public",
2127
+ "description": "The item ID",
2070
2128
  "inheritedFrom": {
2071
- "name": "Accordion",
2072
- "module": "src/accordion/accordion.ts"
2073
- }
2074
- },
2075
- {
2076
- "kind": "field",
2077
- "name": "handleItemKeyDown",
2078
- "privacy": "private",
2079
- "inheritedFrom": {
2080
- "name": "Accordion",
2081
- "module": "src/accordion/accordion.ts"
2129
+ "name": "AccordionItem",
2130
+ "module": "src/accordion-item/accordion-item.ts"
2082
2131
  }
2083
2132
  },
2084
2133
  {
2085
2134
  "kind": "field",
2086
- "name": "handleItemFocus",
2087
- "privacy": "private",
2088
- "inheritedFrom": {
2089
- "name": "Accordion",
2090
- "module": "src/accordion/accordion.ts"
2091
- }
2092
- },
2093
- {
2094
- "kind": "method",
2095
- "name": "adjust",
2096
- "privacy": "private",
2097
- "return": {
2098
- "type": {
2099
- "text": "void"
2100
- }
2101
- },
2102
- "parameters": [
2103
- {
2104
- "name": "adjustment",
2105
- "type": {
2106
- "text": "number"
2107
- }
2108
- }
2109
- ],
2110
- "inheritedFrom": {
2111
- "name": "Accordion",
2112
- "module": "src/accordion/accordion.ts"
2113
- }
2114
- },
2115
- {
2116
- "kind": "method",
2117
- "name": "focusItem",
2135
+ "name": "change",
2118
2136
  "privacy": "private",
2119
- "return": {
2120
- "type": {
2121
- "text": "void"
2122
- }
2123
- },
2124
2137
  "inheritedFrom": {
2125
- "name": "Accordion",
2126
- "module": "src/accordion/accordion.ts"
2138
+ "name": "AccordionItem",
2139
+ "module": "src/accordion-item/accordion-item.ts"
2127
2140
  }
2128
2141
  },
2129
2142
  {
@@ -2240,18 +2253,18 @@
2240
2253
  ],
2241
2254
  "events": [
2242
2255
  {
2243
- "description": "Fires a custom 'change' event when the active item changes",
2256
+ "description": "Fires a custom 'change' event when the button is invoked",
2244
2257
  "name": "change",
2245
2258
  "inheritedFrom": {
2246
- "name": "Accordion",
2247
- "module": "src/accordion/accordion.ts"
2259
+ "name": "AccordionItem",
2260
+ "module": "src/accordion-item/accordion-item.ts"
2248
2261
  }
2249
2262
  }
2250
2263
  ]
2251
2264
  },
2252
2265
  {
2253
2266
  "kind": "variable",
2254
- "name": "foundationAccordionShadowOptions",
2267
+ "name": "foundationAccordionItemShadowOptions",
2255
2268
  "type": {
2256
2269
  "text": "ShadowRootInit"
2257
2270
  },
@@ -2259,57 +2272,57 @@
2259
2272
  },
2260
2273
  {
2261
2274
  "kind": "variable",
2262
- "name": "defaultAccordionConfig",
2275
+ "name": "defaultAccordionItemConfig",
2263
2276
  "type": {
2264
2277
  "text": "object"
2265
2278
  },
2266
- "default": "{}"
2279
+ "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}"
2267
2280
  },
2268
2281
  {
2269
2282
  "kind": "variable",
2270
- "name": "foundationAccordion",
2271
- "description": "The Foundation Accordion",
2283
+ "name": "foundationAccordionItem",
2284
+ "description": "The Foundation Accordion Item",
2272
2285
  "privacy": "public"
2273
2286
  }
2274
2287
  ],
2275
2288
  "exports": [
2276
2289
  {
2277
2290
  "kind": "js",
2278
- "name": "Accordion",
2291
+ "name": "AccordionItem",
2279
2292
  "declaration": {
2280
- "name": "Accordion",
2281
- "module": "src/accordion/accordion.ts"
2293
+ "name": "AccordionItem",
2294
+ "module": "src/accordion-item/accordion-item.ts"
2282
2295
  }
2283
2296
  },
2284
2297
  {
2285
2298
  "kind": "js",
2286
- "name": "foundationAccordionShadowOptions",
2299
+ "name": "foundationAccordionItemShadowOptions",
2287
2300
  "declaration": {
2288
- "name": "foundationAccordionShadowOptions",
2289
- "module": "src/accordion/accordion.ts"
2301
+ "name": "foundationAccordionItemShadowOptions",
2302
+ "module": "src/accordion-item/accordion-item.ts"
2290
2303
  }
2291
2304
  },
2292
2305
  {
2293
2306
  "kind": "js",
2294
- "name": "defaultAccordionConfig",
2307
+ "name": "defaultAccordionItemConfig",
2295
2308
  "declaration": {
2296
- "name": "defaultAccordionConfig",
2297
- "module": "src/accordion/accordion.ts"
2309
+ "name": "defaultAccordionItemConfig",
2310
+ "module": "src/accordion-item/accordion-item.ts"
2298
2311
  }
2299
2312
  },
2300
2313
  {
2301
2314
  "kind": "js",
2302
- "name": "foundationAccordion",
2315
+ "name": "foundationAccordionItem",
2303
2316
  "declaration": {
2304
- "name": "foundationAccordion",
2305
- "module": "src/accordion/accordion.ts"
2317
+ "name": "foundationAccordionItem",
2318
+ "module": "src/accordion-item/accordion-item.ts"
2306
2319
  }
2307
2320
  }
2308
2321
  ]
2309
2322
  },
2310
2323
  {
2311
2324
  "kind": "javascript-module",
2312
- "path": "src/accordion/index.ts",
2325
+ "path": "src/accordion-item/index.ts",
2313
2326
  "declarations": [],
2314
2327
  "exports": [
2315
2328
  {
@@ -2317,7 +2330,7 @@
2317
2330
  "name": "*",
2318
2331
  "declaration": {
2319
2332
  "name": "*",
2320
- "package": "./accordion.template"
2333
+ "package": "./accordion-item.template"
2321
2334
  }
2322
2335
  },
2323
2336
  {
@@ -2325,7 +2338,7 @@
2325
2338
  "name": "*",
2326
2339
  "declaration": {
2327
2340
  "name": "*",
2328
- "package": "./accordion.styles"
2341
+ "package": "./accordion-item.styles"
2329
2342
  }
2330
2343
  },
2331
2344
  {
@@ -2333,210 +2346,122 @@
2333
2346
  "name": "*",
2334
2347
  "declaration": {
2335
2348
  "name": "*",
2336
- "package": "./accordion"
2349
+ "package": "./accordion-item"
2337
2350
  }
2338
2351
  }
2339
2352
  ]
2340
2353
  },
2341
2354
  {
2342
2355
  "kind": "javascript-module",
2343
- "path": "src/actions-menu/actions-menu.styles.ts",
2356
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2344
2357
  "declarations": [
2345
2358
  {
2346
- "kind": "function",
2347
- "name": "actionsMenuBaseStyles",
2348
- "return": {
2349
- "type": {
2350
- "text": "ElementStyles"
2351
- }
2352
- },
2353
- "parameters": [
2354
- {
2355
- "name": "context",
2356
- "type": {
2357
- "text": "ElementDefinitionContext"
2358
- }
2359
- },
2360
- {
2361
- "name": "definition",
2362
- "type": {
2363
- "text": "FoundationElementDefinition"
2364
- }
2365
- }
2366
- ]
2367
- },
2368
- {
2369
- "kind": "function",
2370
- "name": "foundationActionsMenuStyles",
2371
- "return": {
2372
- "type": {
2373
- "text": "ElementStyles"
2374
- }
2375
- },
2376
- "parameters": [
2377
- {
2378
- "name": "context",
2379
- "type": {
2380
- "text": "ElementDefinitionContext"
2381
- }
2382
- },
2383
- {
2384
- "name": "definition",
2385
- "type": {
2386
- "text": "FoundationElementDefinition"
2387
- }
2388
- }
2389
- ]
2359
+ "kind": "variable",
2360
+ "name": "foundationAiCriteriaSearchStyles",
2361
+ "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`"
2390
2362
  }
2391
2363
  ],
2392
2364
  "exports": [
2393
2365
  {
2394
2366
  "kind": "js",
2395
- "name": "actionsMenuBaseStyles",
2396
- "declaration": {
2397
- "name": "actionsMenuBaseStyles",
2398
- "module": "src/actions-menu/actions-menu.styles.ts"
2399
- }
2400
- },
2401
- {
2402
- "kind": "js",
2403
- "name": "foundationActionsMenuStyles",
2367
+ "name": "foundationAiCriteriaSearchStyles",
2404
2368
  "declaration": {
2405
- "name": "foundationActionsMenuStyles",
2406
- "module": "src/actions-menu/actions-menu.styles.ts"
2369
+ "name": "foundationAiCriteriaSearchStyles",
2370
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2407
2371
  }
2408
2372
  }
2409
2373
  ]
2410
2374
  },
2411
2375
  {
2412
2376
  "kind": "javascript-module",
2413
- "path": "src/actions-menu/actions-menu.template.ts",
2377
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2414
2378
  "declarations": [
2415
- {
2416
- "kind": "function",
2417
- "name": "menuTemplate",
2418
- "parameters": [
2419
- {
2420
- "name": "prefix",
2421
- "type": {
2422
- "text": "string"
2423
- }
2424
- }
2425
- ]
2426
- },
2427
- {
2428
- "kind": "function",
2429
- "name": "singleOptionTemplate",
2430
- "parameters": [
2431
- {
2432
- "name": "prefix",
2433
- "type": {
2434
- "text": "string"
2435
- }
2436
- }
2437
- ]
2438
- },
2439
2379
  {
2440
2380
  "kind": "variable",
2441
- "name": "foundationActionsMenuTemplate",
2381
+ "name": "foundationAiCriteriaSearchTemplate",
2442
2382
  "type": {
2443
- "text": "ViewTemplate<ActionsMenu>"
2383
+ "text": "ViewTemplate<AiCriteriaSearch>"
2444
2384
  },
2445
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2385
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2446
2386
  }
2447
2387
  ],
2448
2388
  "exports": [
2449
2389
  {
2450
2390
  "kind": "js",
2451
- "name": "menuTemplate",
2452
- "declaration": {
2453
- "name": "menuTemplate",
2454
- "module": "src/actions-menu/actions-menu.template.ts"
2455
- }
2456
- },
2457
- {
2458
- "kind": "js",
2459
- "name": "singleOptionTemplate",
2460
- "declaration": {
2461
- "name": "singleOptionTemplate",
2462
- "module": "src/actions-menu/actions-menu.template.ts"
2463
- }
2464
- },
2465
- {
2466
- "kind": "js",
2467
- "name": "foundationActionsMenuTemplate",
2391
+ "name": "foundationAiCriteriaSearchTemplate",
2468
2392
  "declaration": {
2469
- "name": "foundationActionsMenuTemplate",
2470
- "module": "src/actions-menu/actions-menu.template.ts"
2393
+ "name": "foundationAiCriteriaSearchTemplate",
2394
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2471
2395
  }
2472
2396
  }
2473
2397
  ]
2474
2398
  },
2475
2399
  {
2476
2400
  "kind": "javascript-module",
2477
- "path": "src/actions-menu/actions-menu.ts",
2401
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2478
2402
  "declarations": [
2479
2403
  {
2480
2404
  "kind": "class",
2481
- "description": "",
2482
- "name": "ActionsMenu",
2405
+ "description": "Natural-language criteria search input with AI interpretation.",
2406
+ "name": "AiCriteriaSearch",
2483
2407
  "members": [
2484
2408
  {
2485
2409
  "kind": "field",
2486
- "name": "actions",
2410
+ "name": "providerRegistry",
2487
2411
  "type": {
2488
- "text": "ActionMenuItem[]"
2412
+ "text": "AIProviderRegistry"
2489
2413
  }
2490
2414
  },
2491
2415
  {
2492
2416
  "kind": "field",
2493
- "name": "isVertical",
2417
+ "name": "placeholder",
2494
2418
  "type": {
2495
- "text": "boolean"
2419
+ "text": "string"
2496
2420
  },
2497
- "default": "false"
2421
+ "default": "'Describe your search criteria in natural language...'"
2498
2422
  },
2499
2423
  {
2500
2424
  "kind": "field",
2501
- "name": "addDefaultActions",
2425
+ "name": "disabled",
2502
2426
  "type": {
2503
2427
  "text": "boolean"
2504
- },
2505
- "default": "true"
2428
+ }
2506
2429
  },
2507
2430
  {
2508
2431
  "kind": "field",
2509
- "name": "autoCloseOnAction",
2432
+ "name": "inputValue",
2510
2433
  "type": {
2511
- "text": "boolean"
2434
+ "text": "string"
2512
2435
  },
2513
- "default": "true"
2436
+ "default": "''"
2514
2437
  },
2515
2438
  {
2516
2439
  "kind": "field",
2517
- "name": "classNames",
2440
+ "name": "isInterpreting",
2518
2441
  "type": {
2519
- "text": "string"
2520
- }
2442
+ "text": "boolean"
2443
+ },
2444
+ "default": "false"
2521
2445
  },
2522
2446
  {
2523
2447
  "kind": "field",
2524
- "name": "definition",
2448
+ "name": "lastValidCriteria",
2525
2449
  "type": {
2526
- "text": "any"
2527
- }
2450
+ "text": "string | null"
2451
+ },
2452
+ "default": "null"
2528
2453
  },
2529
2454
  {
2530
2455
  "kind": "field",
2531
- "name": "name",
2456
+ "name": "activeGroups",
2532
2457
  "type": {
2533
- "text": "string"
2458
+ "text": "CriteriaGroup[]"
2534
2459
  },
2535
- "default": "'Actions'"
2460
+ "default": "[]"
2536
2461
  },
2537
2462
  {
2538
2463
  "kind": "field",
2539
- "name": "open",
2464
+ "name": "showingChips",
2540
2465
  "type": {
2541
2466
  "text": "boolean"
2542
2467
  },
@@ -2544,14 +2469,15 @@
2544
2469
  },
2545
2470
  {
2546
2471
  "kind": "field",
2547
- "name": "buttonAppearance",
2472
+ "name": "fieldMetadata",
2548
2473
  "type": {
2549
- "text": "string"
2550
- }
2474
+ "text": "MetadataDetail[] | string[]"
2475
+ },
2476
+ "default": "[]"
2551
2477
  },
2552
2478
  {
2553
2479
  "kind": "field",
2554
- "name": "hideDisabled",
2480
+ "name": "isRecording",
2555
2481
  "type": {
2556
2482
  "text": "boolean"
2557
2483
  },
@@ -2559,102 +2485,125 @@
2559
2485
  },
2560
2486
  {
2561
2487
  "kind": "field",
2562
- "name": "hideMenuSingleOption",
2488
+ "name": "textAreaRef",
2563
2489
  "type": {
2564
- "text": "boolean"
2490
+ "text": "HTMLTextAreaElement"
2565
2491
  },
2566
- "default": "false"
2492
+ "privacy": "public"
2567
2493
  },
2568
2494
  {
2569
2495
  "kind": "field",
2570
- "name": "singleOption",
2496
+ "name": "stopRecording",
2571
2497
  "type": {
2572
- "text": "ActionMenuItem"
2573
- }
2498
+ "text": "(() => void) | null"
2499
+ },
2500
+ "privacy": "private",
2501
+ "default": "null"
2574
2502
  },
2575
2503
  {
2576
2504
  "kind": "field",
2577
- "name": "actionsMenu",
2505
+ "name": "speechApplyDebounceTimer",
2578
2506
  "type": {
2579
- "text": "HTMLElement"
2580
- }
2507
+ "text": "ReturnType<typeof setTimeout> | null"
2508
+ },
2509
+ "privacy": "private",
2510
+ "default": "null"
2511
+ },
2512
+ {
2513
+ "kind": "field",
2514
+ "name": "speechAvailable",
2515
+ "type": {
2516
+ "text": "boolean"
2517
+ },
2518
+ "readonly": true
2519
+ },
2520
+ {
2521
+ "kind": "field",
2522
+ "name": "criteriaChips",
2523
+ "type": {
2524
+ "text": "CriteriaChip[]"
2525
+ },
2526
+ "readonly": true
2581
2527
  },
2582
2528
  {
2583
2529
  "kind": "method",
2584
- "name": "definitionChanged",
2585
- "privacy": "protected",
2530
+ "name": "getFieldLabel",
2531
+ "privacy": "private",
2532
+ "return": {
2533
+ "type": {
2534
+ "text": "string"
2535
+ }
2536
+ },
2586
2537
  "parameters": [
2587
2538
  {
2588
- "name": "oldValue",
2589
- "type": {
2590
- "text": "any"
2591
- }
2592
- },
2593
- {
2594
- "name": "newValue",
2539
+ "name": "fieldName",
2595
2540
  "type": {
2596
- "text": "any"
2541
+ "text": "string"
2597
2542
  }
2598
2543
  }
2599
2544
  ]
2600
2545
  },
2601
2546
  {
2602
2547
  "kind": "method",
2603
- "name": "openChanged",
2604
- "privacy": "protected"
2605
- },
2606
- {
2607
- "kind": "method",
2608
- "name": "toggleActionsMenuVisibility"
2548
+ "name": "toggleCriteriaView",
2549
+ "return": {
2550
+ "type": {
2551
+ "text": "void"
2552
+ }
2553
+ }
2609
2554
  },
2610
2555
  {
2611
2556
  "kind": "method",
2612
- "name": "onActionMenuItemClick",
2557
+ "name": "removeChip",
2558
+ "return": {
2559
+ "type": {
2560
+ "text": "void"
2561
+ }
2562
+ },
2613
2563
  "parameters": [
2614
2564
  {
2615
- "name": "callback",
2565
+ "name": "groupIndex",
2616
2566
  "type": {
2617
- "text": "(rowData) => void | any"
2567
+ "text": "number"
2568
+ }
2569
+ },
2570
+ {
2571
+ "name": "clauseIndex",
2572
+ "type": {
2573
+ "text": "number"
2618
2574
  }
2619
2575
  }
2620
2576
  ]
2621
2577
  },
2622
2578
  {
2623
- "kind": "field",
2624
- "name": "allActions",
2625
- "type": {
2626
- "text": "ActionMenuItem[]"
2627
- },
2628
- "readonly": true
2579
+ "kind": "method",
2580
+ "name": "clearChips",
2581
+ "return": {
2582
+ "type": {
2583
+ "text": "void"
2584
+ }
2585
+ }
2629
2586
  },
2630
2587
  {
2631
- "kind": "field",
2632
- "name": "rowData",
2633
- "readonly": true
2588
+ "kind": "method",
2589
+ "name": "handleSubmit"
2634
2590
  },
2635
2591
  {
2636
2592
  "kind": "method",
2637
- "name": "getLabel",
2638
- "parameters": [
2639
- {
2640
- "name": "name",
2641
- "type": {
2642
- "text": "string | ((rowData: any) => string)"
2643
- }
2644
- }
2645
- ]
2593
+ "name": "handleBlur"
2646
2594
  },
2647
2595
  {
2648
2596
  "kind": "method",
2649
- "name": "getTemplate",
2650
- "parameters": [
2651
- {
2652
- "name": "prefix",
2653
- "type": {
2654
- "text": "string"
2655
- }
2656
- }
2657
- ]
2597
+ "name": "clear"
2598
+ },
2599
+ {
2600
+ "kind": "method",
2601
+ "name": "toggleSpeechInput"
2602
+ },
2603
+ {
2604
+ "kind": "method",
2605
+ "name": "clearSpeechApplyDebounce",
2606
+ "privacy": "private"
2658
2607
  },
2659
2608
  {
2660
2609
  "kind": "field",
@@ -2768,115 +2717,154 @@
2768
2717
  }
2769
2718
  }
2770
2719
  ],
2771
- "attributes": [
2772
- {
2773
- "name": "is-vertical",
2774
- "type": {
2775
- "text": "boolean"
2776
- },
2777
- "default": "false",
2778
- "fieldName": "isVertical"
2779
- },
2780
- {
2781
- "name": "add-default-actions",
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "default": "true",
2786
- "fieldName": "addDefaultActions"
2787
- },
2788
- {
2789
- "name": "auto-close-on-action",
2790
- "type": {
2791
- "text": "boolean"
2792
- },
2793
- "default": "true",
2794
- "fieldName": "autoCloseOnAction"
2795
- },
2720
+ "events": [
2796
2721
  {
2797
- "name": "name",
2798
- "type": {
2799
- "text": "string"
2800
- },
2801
- "default": "'Actions'",
2802
- "fieldName": "name"
2722
+ "description": "Fired when interpreted criteria is applied or cleared",
2723
+ "name": "criteria-changed"
2803
2724
  },
2804
2725
  {
2805
- "name": "open",
2806
- "type": {
2807
- "text": "boolean"
2808
- },
2809
- "default": "false",
2810
- "fieldName": "open"
2811
- },
2726
+ "description": "Fired when interpreted criteria contains invalid clauses",
2727
+ "name": "validation-errors"
2728
+ }
2729
+ ],
2730
+ "attributes": [
2812
2731
  {
2813
- "name": "buttonAppearance",
2732
+ "name": "placeholder",
2814
2733
  "type": {
2815
2734
  "text": "string"
2816
2735
  },
2817
- "fieldName": "buttonAppearance"
2818
- },
2819
- {
2820
- "name": "hide-disabled",
2821
- "type": {
2822
- "text": "boolean"
2823
- },
2824
- "default": "false",
2825
- "fieldName": "hideDisabled"
2736
+ "default": "'Describe your search criteria in natural language...'",
2737
+ "fieldName": "placeholder"
2826
2738
  },
2827
2739
  {
2828
- "name": "hide-menu-single-option",
2829
2740
  "type": {
2830
2741
  "text": "boolean"
2831
2742
  },
2832
- "default": "false",
2833
- "fieldName": "hideMenuSingleOption"
2743
+ "fieldName": "disabled"
2834
2744
  }
2835
2745
  ],
2836
2746
  "superclass": {
2837
2747
  "name": "FoundationElement",
2838
2748
  "package": "@microsoft/fast-foundation"
2839
2749
  },
2840
- "tagName": "%%prefix%%-actions-menu",
2750
+ "tagName": "%%prefix%%-ai-criteria-search",
2841
2751
  "customElement": true
2842
2752
  },
2843
2753
  {
2844
2754
  "kind": "variable",
2845
- "name": "foundationActionsMenu",
2846
- "description": "The Foundation Actions Menu",
2847
- "privacy": "public"
2755
+ "name": "foundationAiCriteriaSearchShadowOptions",
2756
+ "type": {
2757
+ "text": "ShadowRootInit"
2758
+ },
2759
+ "default": "undefined"
2760
+ },
2761
+ {
2762
+ "kind": "variable",
2763
+ "name": "defaultAiCriteriaSearchConfig",
2764
+ "type": {
2765
+ "text": "object"
2766
+ },
2767
+ "default": "{}"
2768
+ },
2769
+ {
2770
+ "kind": "variable",
2771
+ "name": "foundationAiCriteriaSearch"
2848
2772
  }
2849
2773
  ],
2850
2774
  "exports": [
2851
2775
  {
2852
2776
  "kind": "js",
2853
- "name": "ActionsMenu",
2777
+ "name": "AiCriteriaSearch",
2854
2778
  "declaration": {
2855
- "name": "ActionsMenu",
2856
- "module": "src/actions-menu/actions-menu.ts"
2779
+ "name": "AiCriteriaSearch",
2780
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2857
2781
  }
2858
2782
  },
2859
2783
  {
2860
2784
  "kind": "js",
2861
- "name": "foundationActionsMenu",
2785
+ "name": "foundationAiCriteriaSearchShadowOptions",
2862
2786
  "declaration": {
2863
- "name": "foundationActionsMenu",
2864
- "module": "src/actions-menu/actions-menu.ts"
2787
+ "name": "foundationAiCriteriaSearchShadowOptions",
2788
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2789
+ }
2790
+ },
2791
+ {
2792
+ "kind": "js",
2793
+ "name": "defaultAiCriteriaSearchConfig",
2794
+ "declaration": {
2795
+ "name": "defaultAiCriteriaSearchConfig",
2796
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2797
+ }
2798
+ },
2799
+ {
2800
+ "kind": "js",
2801
+ "name": "foundationAiCriteriaSearch",
2802
+ "declaration": {
2803
+ "name": "foundationAiCriteriaSearch",
2804
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2865
2805
  }
2866
2806
  }
2867
2807
  ]
2868
2808
  },
2869
2809
  {
2870
2810
  "kind": "javascript-module",
2871
- "path": "src/actions-menu/index.ts",
2811
+ "path": "src/ai-criteria-search/index.ts",
2872
2812
  "declarations": [],
2873
2813
  "exports": [
2814
+ {
2815
+ "kind": "js",
2816
+ "name": "AiCriteriaSearch",
2817
+ "declaration": {
2818
+ "name": "AiCriteriaSearch",
2819
+ "module": "./ai-criteria-search"
2820
+ }
2821
+ },
2822
+ {
2823
+ "kind": "js",
2824
+ "name": "defaultAiCriteriaSearchConfig",
2825
+ "declaration": {
2826
+ "name": "defaultAiCriteriaSearchConfig",
2827
+ "module": "./ai-criteria-search"
2828
+ }
2829
+ },
2830
+ {
2831
+ "kind": "js",
2832
+ "name": "foundationAiCriteriaSearch",
2833
+ "declaration": {
2834
+ "name": "foundationAiCriteriaSearch",
2835
+ "module": "./ai-criteria-search"
2836
+ }
2837
+ },
2838
+ {
2839
+ "kind": "js",
2840
+ "name": "foundationAiCriteriaSearchShadowOptions",
2841
+ "declaration": {
2842
+ "name": "foundationAiCriteriaSearchShadowOptions",
2843
+ "module": "./ai-criteria-search"
2844
+ }
2845
+ },
2846
+ {
2847
+ "kind": "js",
2848
+ "name": "foundationAiCriteriaSearchStyles",
2849
+ "declaration": {
2850
+ "name": "foundationAiCriteriaSearchStyles",
2851
+ "module": "./ai-criteria-search.styles"
2852
+ }
2853
+ },
2854
+ {
2855
+ "kind": "js",
2856
+ "name": "foundationAiCriteriaSearchTemplate",
2857
+ "declaration": {
2858
+ "name": "foundationAiCriteriaSearchTemplate",
2859
+ "module": "./ai-criteria-search.template"
2860
+ }
2861
+ },
2874
2862
  {
2875
2863
  "kind": "js",
2876
2864
  "name": "*",
2877
2865
  "declaration": {
2878
2866
  "name": "*",
2879
- "package": "./actions-menu.styles"
2867
+ "package": "./validation/criteria-ir"
2880
2868
  }
2881
2869
  },
2882
2870
  {
@@ -2884,7 +2872,7 @@
2884
2872
  "name": "*",
2885
2873
  "declaration": {
2886
2874
  "name": "*",
2887
- "package": "./actions-menu.template"
2875
+ "package": "./validation/operator-map"
2888
2876
  }
2889
2877
  },
2890
2878
  {
@@ -2892,64 +2880,157 @@
2892
2880
  "name": "*",
2893
2881
  "declaration": {
2894
2882
  "name": "*",
2895
- "package": "./actions-menu"
2883
+ "package": "./validation/schema-validator"
2896
2884
  }
2897
2885
  }
2898
2886
  ]
2899
2887
  },
2900
2888
  {
2901
2889
  "kind": "javascript-module",
2902
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2890
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2903
2891
  "declarations": [
2904
2892
  {
2905
- "kind": "variable",
2906
- "name": "foundationAiCriteriaSearchStyles",
2907
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
2893
+ "kind": "function",
2894
+ "name": "formatValidationErrors",
2895
+ "return": {
2896
+ "type": {
2897
+ "text": "string"
2898
+ }
2899
+ },
2900
+ "parameters": [
2901
+ {
2902
+ "name": "errors",
2903
+ "type": {
2904
+ "text": "ValidationError[]"
2905
+ }
2906
+ }
2907
+ ],
2908
+ "description": "Formats validation errors into a user-friendly message."
2909
+ },
2910
+ {
2911
+ "kind": "function",
2912
+ "name": "showCriteriaError",
2913
+ "return": {
2914
+ "type": {
2915
+ "text": "void"
2916
+ }
2917
+ },
2918
+ "parameters": [
2919
+ {
2920
+ "name": "title",
2921
+ "type": {
2922
+ "text": "string"
2923
+ },
2924
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2925
+ },
2926
+ {
2927
+ "name": "body",
2928
+ "type": {
2929
+ "text": "string"
2930
+ },
2931
+ "description": "Error message to display"
2932
+ },
2933
+ {
2934
+ "name": "tagName",
2935
+ "type": {
2936
+ "text": "string"
2937
+ },
2938
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2939
+ }
2940
+ ],
2941
+ "description": "Shows a criteria error as a toast notification."
2908
2942
  }
2909
2943
  ],
2910
2944
  "exports": [
2911
2945
  {
2912
2946
  "kind": "js",
2913
- "name": "foundationAiCriteriaSearchStyles",
2947
+ "name": "formatValidationErrors",
2914
2948
  "declaration": {
2915
- "name": "foundationAiCriteriaSearchStyles",
2916
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2949
+ "name": "formatValidationErrors",
2950
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2951
+ }
2952
+ },
2953
+ {
2954
+ "kind": "js",
2955
+ "name": "showCriteriaError",
2956
+ "declaration": {
2957
+ "name": "showCriteriaError",
2958
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2917
2959
  }
2918
2960
  }
2919
2961
  ]
2920
2962
  },
2921
2963
  {
2922
2964
  "kind": "javascript-module",
2923
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2965
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2966
+ "declarations": [
2967
+ {
2968
+ "kind": "function",
2969
+ "name": "foundationAiIndicatorStyles",
2970
+ "return": {
2971
+ "type": {
2972
+ "text": "ElementStyles"
2973
+ }
2974
+ },
2975
+ "parameters": [
2976
+ {
2977
+ "name": "context",
2978
+ "type": {
2979
+ "text": "ElementDefinitionContext"
2980
+ }
2981
+ },
2982
+ {
2983
+ "name": "definition",
2984
+ "type": {
2985
+ "text": "FoundationElementDefinition"
2986
+ }
2987
+ }
2988
+ ]
2989
+ }
2990
+ ],
2991
+ "exports": [
2992
+ {
2993
+ "kind": "js",
2994
+ "name": "foundationAiIndicatorStyles",
2995
+ "declaration": {
2996
+ "name": "foundationAiIndicatorStyles",
2997
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2998
+ }
2999
+ }
3000
+ ]
3001
+ },
3002
+ {
3003
+ "kind": "javascript-module",
3004
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2924
3005
  "declarations": [
2925
3006
  {
2926
3007
  "kind": "variable",
2927
- "name": "foundationAiCriteriaSearchTemplate",
3008
+ "name": "foundationAiIndicatorTemplate",
2928
3009
  "type": {
2929
- "text": "ViewTemplate<AiCriteriaSearch>"
3010
+ "text": "ViewTemplate<AiIndicator>"
2930
3011
  },
2931
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3012
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2932
3013
  }
2933
3014
  ],
2934
3015
  "exports": [
2935
3016
  {
2936
3017
  "kind": "js",
2937
- "name": "foundationAiCriteriaSearchTemplate",
3018
+ "name": "foundationAiIndicatorTemplate",
2938
3019
  "declaration": {
2939
- "name": "foundationAiCriteriaSearchTemplate",
2940
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3020
+ "name": "foundationAiIndicatorTemplate",
3021
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2941
3022
  }
2942
3023
  }
2943
3024
  ]
2944
3025
  },
2945
3026
  {
2946
3027
  "kind": "javascript-module",
2947
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3028
+ "path": "src/ai-indicator/ai-indicator.ts",
2948
3029
  "declarations": [
2949
3030
  {
2950
3031
  "kind": "class",
2951
- "description": "Natural-language criteria search input with AI interpretation.",
2952
- "name": "AiCriteriaSearch",
3032
+ "description": "",
3033
+ "name": "AiIndicator",
2953
3034
  "members": [
2954
3035
  {
2955
3036
  "kind": "field",
@@ -2960,54 +3041,25 @@
2960
3041
  },
2961
3042
  {
2962
3043
  "kind": "field",
2963
- "name": "placeholder",
2964
- "type": {
2965
- "text": "string"
2966
- },
2967
- "default": "'Describe your search criteria in natural language...'"
2968
- },
2969
- {
2970
- "kind": "field",
2971
- "name": "disabled",
2972
- "type": {
2973
- "text": "boolean"
2974
- }
2975
- },
2976
- {
2977
- "kind": "field",
2978
- "name": "inputValue",
2979
- "type": {
2980
- "text": "string"
2981
- },
2982
- "default": "''"
2983
- },
2984
- {
2985
- "kind": "field",
2986
- "name": "isInterpreting",
3044
+ "name": "aiProvider",
2987
3045
  "type": {
2988
- "text": "boolean"
3046
+ "text": "AIProvider | undefined"
2989
3047
  },
2990
- "default": "false"
3048
+ "privacy": "private",
3049
+ "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.",
3050
+ "readonly": true
2991
3051
  },
2992
3052
  {
2993
3053
  "kind": "field",
2994
- "name": "lastValidCriteria",
3054
+ "name": "status",
2995
3055
  "type": {
2996
- "text": "string | null"
3056
+ "text": "AIStatus | null"
2997
3057
  },
2998
3058
  "default": "null"
2999
3059
  },
3000
3060
  {
3001
3061
  "kind": "field",
3002
- "name": "activeGroups",
3003
- "type": {
3004
- "text": "CriteriaGroup[]"
3005
- },
3006
- "default": "[]"
3007
- },
3008
- {
3009
- "kind": "field",
3010
- "name": "showingChips",
3062
+ "name": "open",
3011
3063
  "type": {
3012
3064
  "text": "boolean"
3013
3065
  },
@@ -3015,15 +3067,15 @@
3015
3067
  },
3016
3068
  {
3017
3069
  "kind": "field",
3018
- "name": "fieldMetadata",
3070
+ "name": "state",
3019
3071
  "type": {
3020
- "text": "MetadataDetail[] | string[]"
3072
+ "text": "AIIndicatorState"
3021
3073
  },
3022
- "default": "[]"
3074
+ "default": "'none'"
3023
3075
  },
3024
3076
  {
3025
3077
  "kind": "field",
3026
- "name": "isRecording",
3078
+ "name": "isInstalling",
3027
3079
  "type": {
3028
3080
  "text": "boolean"
3029
3081
  },
@@ -3031,33 +3083,29 @@
3031
3083
  },
3032
3084
  {
3033
3085
  "kind": "field",
3034
- "name": "textAreaRef",
3086
+ "name": "pollTimer",
3035
3087
  "type": {
3036
- "text": "HTMLTextAreaElement"
3088
+ "text": "ReturnType<typeof setInterval> | null"
3037
3089
  },
3038
- "privacy": "public"
3090
+ "privacy": "private",
3091
+ "default": "null"
3039
3092
  },
3040
3093
  {
3041
3094
  "kind": "field",
3042
- "name": "stopRecording",
3043
- "type": {
3044
- "text": "(() => void) | null"
3045
- },
3046
- "privacy": "private",
3047
- "default": "null"
3095
+ "name": "clickOutside",
3096
+ "privacy": "private"
3048
3097
  },
3049
3098
  {
3050
3099
  "kind": "field",
3051
- "name": "speechApplyDebounceTimer",
3100
+ "name": "chromeStatusLabel",
3052
3101
  "type": {
3053
- "text": "ReturnType<typeof setTimeout> | null"
3102
+ "text": "string | null"
3054
3103
  },
3055
- "privacy": "private",
3056
- "default": "null"
3104
+ "readonly": true
3057
3105
  },
3058
3106
  {
3059
3107
  "kind": "field",
3060
- "name": "speechAvailable",
3108
+ "name": "canInstall",
3061
3109
  "type": {
3062
3110
  "text": "boolean"
3063
3111
  },
@@ -3065,65 +3113,69 @@
3065
3113
  },
3066
3114
  {
3067
3115
  "kind": "field",
3068
- "name": "criteriaChips",
3116
+ "name": "isDownloading",
3069
3117
  "type": {
3070
- "text": "CriteriaChip[]"
3118
+ "text": "boolean"
3071
3119
  },
3072
3120
  "readonly": true
3073
3121
  },
3074
3122
  {
3075
3123
  "kind": "method",
3076
- "name": "getFieldLabel",
3077
- "privacy": "private",
3124
+ "name": "openChanged",
3078
3125
  "return": {
3079
3126
  "type": {
3080
- "text": "string"
3127
+ "text": "void"
3081
3128
  }
3082
- },
3129
+ }
3130
+ },
3131
+ {
3132
+ "kind": "method",
3133
+ "name": "handleClickOutside",
3134
+ "privacy": "private",
3083
3135
  "parameters": [
3084
3136
  {
3085
- "name": "fieldName",
3137
+ "name": "event",
3086
3138
  "type": {
3087
- "text": "string"
3139
+ "text": "MouseEvent"
3088
3140
  }
3089
3141
  }
3090
3142
  ]
3091
3143
  },
3092
3144
  {
3093
3145
  "kind": "method",
3094
- "name": "toggleCriteriaView",
3146
+ "name": "toggleDropdown"
3147
+ },
3148
+ {
3149
+ "kind": "method",
3150
+ "name": "refreshStatus",
3095
3151
  "return": {
3096
3152
  "type": {
3097
- "text": "void"
3153
+ "text": "Promise<void>"
3098
3154
  }
3099
3155
  }
3100
3156
  },
3101
3157
  {
3102
3158
  "kind": "method",
3103
- "name": "removeChip",
3159
+ "name": "deriveState",
3160
+ "privacy": "private",
3104
3161
  "return": {
3105
3162
  "type": {
3106
- "text": "void"
3163
+ "text": "AIIndicatorState"
3107
3164
  }
3108
3165
  },
3109
3166
  "parameters": [
3110
3167
  {
3111
- "name": "groupIndex",
3112
- "type": {
3113
- "text": "number"
3114
- }
3115
- },
3116
- {
3117
- "name": "clauseIndex",
3168
+ "name": "s",
3118
3169
  "type": {
3119
- "text": "number"
3170
+ "text": "AIStatus | null"
3120
3171
  }
3121
3172
  }
3122
3173
  ]
3123
3174
  },
3124
3175
  {
3125
3176
  "kind": "method",
3126
- "name": "clearChips",
3177
+ "name": "maybeStartPolling",
3178
+ "privacy": "private",
3127
3179
  "return": {
3128
3180
  "type": {
3129
3181
  "text": "void"
@@ -3132,24 +3184,32 @@
3132
3184
  },
3133
3185
  {
3134
3186
  "kind": "method",
3135
- "name": "handleSubmit"
3136
- },
3137
- {
3138
- "kind": "method",
3139
- "name": "handleBlur"
3140
- },
3141
- {
3142
- "kind": "method",
3143
- "name": "clear"
3187
+ "name": "startPolling",
3188
+ "privacy": "private",
3189
+ "return": {
3190
+ "type": {
3191
+ "text": "void"
3192
+ }
3193
+ }
3144
3194
  },
3145
3195
  {
3146
3196
  "kind": "method",
3147
- "name": "toggleSpeechInput"
3197
+ "name": "stopPolling",
3198
+ "privacy": "private",
3199
+ "return": {
3200
+ "type": {
3201
+ "text": "void"
3202
+ }
3203
+ }
3148
3204
  },
3149
3205
  {
3150
3206
  "kind": "method",
3151
- "name": "clearSpeechApplyDebounce",
3152
- "privacy": "private"
3207
+ "name": "onInstall",
3208
+ "return": {
3209
+ "type": {
3210
+ "text": "Promise<void>"
3211
+ }
3212
+ }
3153
3213
  },
3154
3214
  {
3155
3215
  "kind": "field",
@@ -3263,154 +3323,103 @@
3263
3323
  }
3264
3324
  }
3265
3325
  ],
3266
- "events": [
3267
- {
3268
- "description": "Fired when interpreted criteria is applied or cleared",
3269
- "name": "criteria-changed"
3270
- },
3271
- {
3272
- "description": "Fired when interpreted criteria contains invalid clauses",
3273
- "name": "validation-errors"
3274
- }
3275
- ],
3276
- "attributes": [
3277
- {
3278
- "name": "placeholder",
3279
- "type": {
3280
- "text": "string"
3281
- },
3282
- "default": "'Describe your search criteria in natural language...'",
3283
- "fieldName": "placeholder"
3284
- },
3285
- {
3286
- "type": {
3287
- "text": "boolean"
3288
- },
3289
- "fieldName": "disabled"
3290
- }
3291
- ],
3292
3326
  "superclass": {
3293
3327
  "name": "FoundationElement",
3294
3328
  "package": "@microsoft/fast-foundation"
3295
3329
  },
3296
- "tagName": "%%prefix%%-ai-criteria-search",
3330
+ "tagName": "%%prefix%%-ai-indicator",
3297
3331
  "customElement": true
3298
3332
  },
3299
3333
  {
3300
3334
  "kind": "variable",
3301
- "name": "foundationAiCriteriaSearchShadowOptions",
3302
- "type": {
3303
- "text": "ShadowRootInit"
3304
- },
3305
- "default": "undefined"
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "defaultAiCriteriaSearchConfig",
3310
- "type": {
3311
- "text": "object"
3312
- },
3313
- "default": "{}"
3314
- },
3315
- {
3316
- "kind": "variable",
3317
- "name": "foundationAiCriteriaSearch"
3335
+ "name": "foundationAiIndicator"
3318
3336
  }
3319
3337
  ],
3320
3338
  "exports": [
3321
3339
  {
3322
3340
  "kind": "js",
3323
- "name": "AiCriteriaSearch",
3324
- "declaration": {
3325
- "name": "AiCriteriaSearch",
3326
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3327
- }
3328
- },
3329
- {
3330
- "kind": "js",
3331
- "name": "foundationAiCriteriaSearchShadowOptions",
3332
- "declaration": {
3333
- "name": "foundationAiCriteriaSearchShadowOptions",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "defaultAiCriteriaSearchConfig",
3341
+ "name": "AiIndicator",
3340
3342
  "declaration": {
3341
- "name": "defaultAiCriteriaSearchConfig",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
+ "name": "AiIndicator",
3344
+ "module": "src/ai-indicator/ai-indicator.ts"
3343
3345
  }
3344
3346
  },
3345
3347
  {
3346
3348
  "kind": "js",
3347
- "name": "foundationAiCriteriaSearch",
3349
+ "name": "foundationAiIndicator",
3348
3350
  "declaration": {
3349
- "name": "foundationAiCriteriaSearch",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3351
+ "name": "foundationAiIndicator",
3352
+ "module": "src/ai-indicator/ai-indicator.ts"
3351
3353
  }
3352
3354
  }
3353
3355
  ]
3354
3356
  },
3355
3357
  {
3356
3358
  "kind": "javascript-module",
3357
- "path": "src/ai-criteria-search/index.ts",
3359
+ "path": "src/ai-indicator/index.ts",
3358
3360
  "declarations": [],
3359
3361
  "exports": [
3360
3362
  {
3361
3363
  "kind": "js",
3362
- "name": "AiCriteriaSearch",
3364
+ "name": "AiIndicator",
3363
3365
  "declaration": {
3364
- "name": "AiCriteriaSearch",
3365
- "module": "./ai-criteria-search"
3366
+ "name": "AiIndicator",
3367
+ "module": "./ai-indicator"
3366
3368
  }
3367
3369
  },
3368
3370
  {
3369
3371
  "kind": "js",
3370
- "name": "defaultAiCriteriaSearchConfig",
3372
+ "name": "foundationAiIndicator",
3371
3373
  "declaration": {
3372
- "name": "defaultAiCriteriaSearchConfig",
3373
- "module": "./ai-criteria-search"
3374
+ "name": "foundationAiIndicator",
3375
+ "module": "./ai-indicator"
3374
3376
  }
3375
3377
  },
3376
3378
  {
3377
3379
  "kind": "js",
3378
- "name": "foundationAiCriteriaSearch",
3380
+ "name": "type",
3379
3381
  "declaration": {
3380
- "name": "foundationAiCriteriaSearch",
3381
- "module": "./ai-criteria-search"
3382
+ "name": "type",
3383
+ "module": "./ai-indicator"
3382
3384
  }
3383
3385
  },
3384
3386
  {
3385
3387
  "kind": "js",
3386
- "name": "foundationAiCriteriaSearchShadowOptions",
3388
+ "name": "AIIndicatorState",
3387
3389
  "declaration": {
3388
- "name": "foundationAiCriteriaSearchShadowOptions",
3389
- "module": "./ai-criteria-search"
3390
+ "name": "AIIndicatorState",
3391
+ "module": "./ai-indicator"
3390
3392
  }
3391
3393
  },
3392
3394
  {
3393
3395
  "kind": "js",
3394
- "name": "foundationAiCriteriaSearchStyles",
3396
+ "name": "foundationAiIndicatorTemplate",
3395
3397
  "declaration": {
3396
- "name": "foundationAiCriteriaSearchStyles",
3397
- "module": "./ai-criteria-search.styles"
3398
+ "name": "foundationAiIndicatorTemplate",
3399
+ "module": "./ai-indicator.template"
3398
3400
  }
3399
3401
  },
3400
3402
  {
3401
3403
  "kind": "js",
3402
- "name": "foundationAiCriteriaSearchTemplate",
3404
+ "name": "foundationAiIndicatorStyles",
3403
3405
  "declaration": {
3404
- "name": "foundationAiCriteriaSearchTemplate",
3405
- "module": "./ai-criteria-search.template"
3406
+ "name": "foundationAiIndicatorStyles",
3407
+ "module": "./ai-indicator.styles"
3406
3408
  }
3407
- },
3409
+ }
3410
+ ]
3411
+ },
3412
+ {
3413
+ "kind": "javascript-module",
3414
+ "path": "src/_config/index.ts",
3415
+ "declarations": [],
3416
+ "exports": [
3408
3417
  {
3409
3418
  "kind": "js",
3410
3419
  "name": "*",
3411
3420
  "declaration": {
3412
3421
  "name": "*",
3413
- "package": "./validation/criteria-ir"
3422
+ "package": "./styles"
3414
3423
  }
3415
3424
  },
3416
3425
  {
@@ -3418,7 +3427,7 @@
3418
3427
  "name": "*",
3419
3428
  "declaration": {
3420
3429
  "name": "*",
3421
- "package": "./validation/operator-map"
3430
+ "package": "./tokens"
3422
3431
  }
3423
3432
  },
3424
3433
  {
@@ -3426,96 +3435,60 @@
3426
3435
  "name": "*",
3427
3436
  "declaration": {
3428
3437
  "name": "*",
3429
- "package": "./validation/schema-validator"
3438
+ "package": "./values"
3430
3439
  }
3431
3440
  }
3432
3441
  ]
3433
3442
  },
3434
3443
  {
3435
3444
  "kind": "javascript-module",
3436
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3445
+ "path": "src/accordion/accordion.styles.ts",
3437
3446
  "declarations": [
3438
3447
  {
3439
3448
  "kind": "function",
3440
- "name": "formatValidationErrors",
3449
+ "name": "foundationAccordionStyles",
3441
3450
  "return": {
3442
3451
  "type": {
3443
- "text": "string"
3452
+ "text": "ElementStyles"
3444
3453
  }
3445
3454
  },
3446
3455
  "parameters": [
3447
3456
  {
3448
- "name": "errors",
3457
+ "name": "context",
3449
3458
  "type": {
3450
- "text": "ValidationError[]"
3459
+ "text": "ElementDefinitionContext"
3451
3460
  }
3452
- }
3453
- ],
3454
- "description": "Formats validation errors into a user-friendly message."
3455
- },
3456
- {
3457
- "kind": "function",
3458
- "name": "showCriteriaError",
3459
- "return": {
3460
- "type": {
3461
- "text": "void"
3462
- }
3463
- },
3464
- "parameters": [
3465
- {
3466
- "name": "title",
3467
- "type": {
3468
- "text": "string"
3469
- },
3470
- "description": "Notification title (e.g. \"Criteria validation error\")"
3471
- },
3472
- {
3473
- "name": "body",
3474
- "type": {
3475
- "text": "string"
3476
- },
3477
- "description": "Error message to display"
3478
3461
  },
3479
3462
  {
3480
- "name": "tagName",
3463
+ "name": "definition",
3481
3464
  "type": {
3482
- "text": "string"
3483
- },
3484
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3465
+ "text": "FoundationElementDefinition"
3466
+ }
3485
3467
  }
3486
- ],
3487
- "description": "Shows a criteria error as a toast notification."
3468
+ ]
3488
3469
  }
3489
3470
  ],
3490
3471
  "exports": [
3491
3472
  {
3492
3473
  "kind": "js",
3493
- "name": "formatValidationErrors",
3494
- "declaration": {
3495
- "name": "formatValidationErrors",
3496
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3497
- }
3498
- },
3499
- {
3500
- "kind": "js",
3501
- "name": "showCriteriaError",
3474
+ "name": "foundationAccordionStyles",
3502
3475
  "declaration": {
3503
- "name": "showCriteriaError",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3476
+ "name": "foundationAccordionStyles",
3477
+ "module": "src/accordion/accordion.styles.ts"
3505
3478
  }
3506
3479
  }
3507
3480
  ]
3508
3481
  },
3509
3482
  {
3510
3483
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3484
+ "path": "src/accordion/accordion.template.ts",
3512
3485
  "declarations": [
3513
3486
  {
3514
3487
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3488
+ "name": "foundationAccordionTemplate",
3516
3489
  "return": {
3517
3490
  "type": {
3518
- "text": "ElementStyles"
3491
+ "text": "ViewTemplate<Accordion>"
3519
3492
  }
3520
3493
  },
3521
3494
  "parameters": [
@@ -3537,224 +3510,237 @@
3537
3510
  "exports": [
3538
3511
  {
3539
3512
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3541
- "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3544
- }
3545
- }
3546
- ]
3547
- },
3548
- {
3549
- "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3551
- "declarations": [
3552
- {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3557
- },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3559
- }
3560
- ],
3561
- "exports": [
3562
- {
3563
- "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3513
+ "name": "foundationAccordionTemplate",
3565
3514
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3515
+ "name": "foundationAccordionTemplate",
3516
+ "module": "src/accordion/accordion.template.ts"
3568
3517
  }
3569
3518
  }
3570
3519
  ]
3571
3520
  },
3572
3521
  {
3573
3522
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3523
+ "path": "src/accordion/accordion.ts",
3575
3524
  "declarations": [
3576
3525
  {
3577
3526
  "kind": "class",
3578
3527
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "providerRegistry",
3584
- "type": {
3585
- "text": "AIProviderRegistry"
3586
- }
3587
- },
3588
- {
3589
- "kind": "field",
3590
- "name": "aiProvider",
3591
- "type": {
3592
- "text": "AIProvider | undefined"
3593
- },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3597
- },
3528
+ "name": "Accordion",
3529
+ "superclass": {
3530
+ "name": "FASTAccordion",
3531
+ "package": "@microsoft/fast-foundation"
3532
+ },
3533
+ "tagName": "%%prefix%%-accordion",
3534
+ "customElement": true,
3535
+ "attributes": [
3598
3536
  {
3599
- "kind": "field",
3600
- "name": "status",
3537
+ "name": "expand-mode",
3601
3538
  "type": {
3602
- "text": "AIStatus | null"
3539
+ "text": "AccordionExpandMode"
3603
3540
  },
3604
- "default": "null"
3605
- },
3541
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
+ "fieldName": "expandmode",
3543
+ "inheritedFrom": {
3544
+ "name": "Accordion",
3545
+ "module": "src/accordion/accordion.ts"
3546
+ }
3547
+ }
3548
+ ],
3549
+ "members": [
3606
3550
  {
3607
3551
  "kind": "field",
3608
- "name": "open",
3552
+ "name": "expandmode",
3609
3553
  "type": {
3610
- "text": "boolean"
3554
+ "text": "AccordionExpandMode"
3611
3555
  },
3612
- "default": "false"
3556
+ "privacy": "public",
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "inheritedFrom": {
3559
+ "name": "Accordion",
3560
+ "module": "src/accordion/accordion.ts"
3561
+ }
3613
3562
  },
3614
3563
  {
3615
3564
  "kind": "field",
3616
- "name": "state",
3565
+ "name": "activeid",
3617
3566
  "type": {
3618
- "text": "AIIndicatorState"
3567
+ "text": "string | null"
3619
3568
  },
3620
- "default": "'none'"
3569
+ "privacy": "private",
3570
+ "inheritedFrom": {
3571
+ "name": "Accordion",
3572
+ "module": "src/accordion/accordion.ts"
3573
+ }
3621
3574
  },
3622
3575
  {
3623
3576
  "kind": "field",
3624
- "name": "isInstalling",
3577
+ "name": "activeItemIndex",
3625
3578
  "type": {
3626
- "text": "boolean"
3579
+ "text": "number"
3627
3580
  },
3628
- "default": "false"
3581
+ "privacy": "private",
3582
+ "default": "0",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3629
3587
  },
3630
3588
  {
3631
3589
  "kind": "field",
3632
- "name": "pollTimer",
3590
+ "name": "accordionIds",
3633
3591
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3592
+ "text": "Array<string | null>"
3635
3593
  },
3636
3594
  "privacy": "private",
3637
- "default": "null"
3638
- },
3639
- {
3640
- "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3595
+ "inheritedFrom": {
3596
+ "name": "Accordion",
3597
+ "module": "src/accordion/accordion.ts"
3598
+ }
3643
3599
  },
3644
3600
  {
3645
3601
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3647
- "type": {
3648
- "text": "string | null"
3649
- },
3650
- "readonly": true
3602
+ "name": "change",
3603
+ "privacy": "private",
3604
+ "inheritedFrom": {
3605
+ "name": "Accordion",
3606
+ "module": "src/accordion/accordion.ts"
3607
+ }
3651
3608
  },
3652
3609
  {
3653
- "kind": "field",
3654
- "name": "canInstall",
3655
- "type": {
3656
- "text": "boolean"
3610
+ "kind": "method",
3611
+ "name": "findExpandedItem",
3612
+ "privacy": "private",
3613
+ "return": {
3614
+ "type": {
3615
+ "text": "AccordionItem | null"
3616
+ }
3657
3617
  },
3658
- "readonly": true
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3659
3622
  },
3660
3623
  {
3661
3624
  "kind": "field",
3662
- "name": "isDownloading",
3663
- "type": {
3664
- "text": "boolean"
3665
- },
3666
- "readonly": true
3625
+ "name": "setItems",
3626
+ "privacy": "private",
3627
+ "inheritedFrom": {
3628
+ "name": "Accordion",
3629
+ "module": "src/accordion/accordion.ts"
3630
+ }
3667
3631
  },
3668
3632
  {
3669
3633
  "kind": "method",
3670
- "name": "openChanged",
3634
+ "name": "resetItems",
3635
+ "privacy": "private",
3671
3636
  "return": {
3672
3637
  "type": {
3673
3638
  "text": "void"
3674
3639
  }
3640
+ },
3641
+ "inheritedFrom": {
3642
+ "name": "Accordion",
3643
+ "module": "src/accordion/accordion.ts"
3675
3644
  }
3676
3645
  },
3677
3646
  {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3647
+ "kind": "field",
3648
+ "name": "removeItemListeners",
3680
3649
  "privacy": "private",
3681
- "parameters": [
3682
- {
3683
- "name": "event",
3684
- "type": {
3685
- "text": "MouseEvent"
3686
- }
3687
- }
3688
- ]
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3689
3654
  },
3690
3655
  {
3691
- "kind": "method",
3692
- "name": "toggleDropdown"
3656
+ "kind": "field",
3657
+ "name": "activeItemChange",
3658
+ "privacy": "private",
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3662
+ }
3693
3663
  },
3694
3664
  {
3695
3665
  "kind": "method",
3696
- "name": "refreshStatus",
3666
+ "name": "getItemIds",
3667
+ "privacy": "private",
3697
3668
  "return": {
3698
3669
  "type": {
3699
- "text": "Promise<void>"
3670
+ "text": "Array<string | null>"
3700
3671
  }
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3701
3676
  }
3702
3677
  },
3703
3678
  {
3704
3679
  "kind": "method",
3705
- "name": "deriveState",
3680
+ "name": "isSingleExpandMode",
3706
3681
  "privacy": "private",
3707
3682
  "return": {
3708
3683
  "type": {
3709
- "text": "AIIndicatorState"
3684
+ "text": "boolean"
3710
3685
  }
3711
3686
  },
3712
- "parameters": [
3713
- {
3714
- "name": "s",
3715
- "type": {
3716
- "text": "AIStatus | null"
3717
- }
3718
- }
3719
- ]
3687
+ "inheritedFrom": {
3688
+ "name": "Accordion",
3689
+ "module": "src/accordion/accordion.ts"
3690
+ }
3720
3691
  },
3721
3692
  {
3722
- "kind": "method",
3723
- "name": "maybeStartPolling",
3693
+ "kind": "field",
3694
+ "name": "handleItemKeyDown",
3724
3695
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3729
3699
  }
3730
3700
  },
3731
3701
  {
3732
- "kind": "method",
3733
- "name": "startPolling",
3702
+ "kind": "field",
3703
+ "name": "handleItemFocus",
3734
3704
  "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3705
+ "inheritedFrom": {
3706
+ "name": "Accordion",
3707
+ "module": "src/accordion/accordion.ts"
3739
3708
  }
3740
3709
  },
3741
3710
  {
3742
3711
  "kind": "method",
3743
- "name": "stopPolling",
3712
+ "name": "adjust",
3744
3713
  "privacy": "private",
3745
3714
  "return": {
3746
3715
  "type": {
3747
3716
  "text": "void"
3748
3717
  }
3718
+ },
3719
+ "parameters": [
3720
+ {
3721
+ "name": "adjustment",
3722
+ "type": {
3723
+ "text": "number"
3724
+ }
3725
+ }
3726
+ ],
3727
+ "inheritedFrom": {
3728
+ "name": "Accordion",
3729
+ "module": "src/accordion/accordion.ts"
3749
3730
  }
3750
3731
  },
3751
3732
  {
3752
3733
  "kind": "method",
3753
- "name": "onInstall",
3734
+ "name": "focusItem",
3735
+ "privacy": "private",
3754
3736
  "return": {
3755
3737
  "type": {
3756
- "text": "Promise<void>"
3738
+ "text": "void"
3757
3739
  }
3740
+ },
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3758
3744
  }
3759
3745
  },
3760
3746
  {
@@ -3869,88 +3855,102 @@
3869
3855
  }
3870
3856
  }
3871
3857
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3858
+ "events": [
3859
+ {
3860
+ "description": "Fires a custom 'change' event when the active item changes",
3861
+ "name": "change",
3862
+ "inheritedFrom": {
3863
+ "name": "Accordion",
3864
+ "module": "src/accordion/accordion.ts"
3865
+ }
3866
+ }
3867
+ ]
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAccordionShadowOptions",
3872
+ "type": {
3873
+ "text": "ShadowRootInit"
3875
3874
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3875
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3876
  },
3879
3877
  {
3880
3878
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3879
+ "name": "defaultAccordionConfig",
3880
+ "type": {
3881
+ "text": "object"
3882
+ },
3883
+ "default": "{}"
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordion",
3888
+ "description": "The Foundation Accordion",
3889
+ "privacy": "public"
3882
3890
  }
3883
3891
  ],
3884
3892
  "exports": [
3885
3893
  {
3886
3894
  "kind": "js",
3887
- "name": "AiIndicator",
3895
+ "name": "Accordion",
3888
3896
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3897
+ "name": "Accordion",
3898
+ "module": "src/accordion/accordion.ts"
3891
3899
  }
3892
3900
  },
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3896
- "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3899
- }
3900
- }
3901
- ]
3902
- },
3903
- {
3904
- "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3906
- "declarations": [],
3907
- "exports": [
3908
- {
3909
- "kind": "js",
3910
- "name": "AiIndicator",
3903
+ "name": "foundationAccordionShadowOptions",
3911
3904
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3905
+ "name": "foundationAccordionShadowOptions",
3906
+ "module": "src/accordion/accordion.ts"
3914
3907
  }
3915
3908
  },
3916
3909
  {
3917
3910
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3911
+ "name": "defaultAccordionConfig",
3919
3912
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "defaultAccordionConfig",
3914
+ "module": "src/accordion/accordion.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "type",
3919
+ "name": "foundationAccordion",
3927
3920
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3921
+ "name": "foundationAccordion",
3922
+ "module": "src/accordion/accordion.ts"
3930
3923
  }
3931
- },
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/accordion/index.ts",
3930
+ "declarations": [],
3931
+ "exports": [
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "AIIndicatorState",
3934
+ "name": "*",
3935
3935
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3936
+ "name": "*",
3937
+ "package": "./accordion.template"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3944
+ "name": "*",
3945
+ "package": "./accordion.styles"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3952
+ "name": "*",
3953
+ "package": "./accordion"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -33889,6 +33889,16 @@
33889
33889
  "kind": "method",
33890
33890
  "name": "hasSeparatorWithoutDecimals"
33891
33891
  },
33892
+ {
33893
+ "kind": "method",
33894
+ "name": "restoreControlToCommittedValue",
33895
+ "privacy": "private",
33896
+ "return": {
33897
+ "type": {
33898
+ "text": "void"
33899
+ }
33900
+ }
33901
+ },
33892
33902
  {
33893
33903
  "kind": "method",
33894
33904
  "name": "handleTextInput",
@@ -34301,12 +34311,16 @@
34301
34311
  }
34302
34312
  },
34303
34313
  {
34304
- "name": "value",
34305
34314
  "type": {
34306
- "text": "string"
34315
+ "text": "number"
34307
34316
  },
34308
- "default": "''",
34309
- "fieldName": "value"
34317
+ "description": "Indicates that this element should get focus after the page finishes loading. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautofocus | autofocus HTML attribute for more information.",
34318
+ "fieldName": "hideStep",
34319
+ "default": "false",
34320
+ "inheritedFrom": {
34321
+ "name": "NumberField",
34322
+ "module": "src/number-field/number-field.ts"
34323
+ }
34310
34324
  },
34311
34325
  {
34312
34326
  "type": {
@@ -34499,6 +34513,143 @@
34499
34513
  }
34500
34514
  ]
34501
34515
  },
34516
+ {
34517
+ "kind": "function",
34518
+ "name": "normalizeLocaleNumberString",
34519
+ "return": {
34520
+ "type": {
34521
+ "text": "string"
34522
+ }
34523
+ },
34524
+ "parameters": [
34525
+ {
34526
+ "name": "inputVal",
34527
+ "type": {
34528
+ "text": "string"
34529
+ }
34530
+ },
34531
+ {
34532
+ "name": "locale",
34533
+ "type": {
34534
+ "text": "string"
34535
+ }
34536
+ }
34537
+ ],
34538
+ "description": "Strips locale grouping and normalizes the decimal separator to `.` without using `Number`\n(so integers beyond `Number.MAX_SAFE_INTEGER` keep every digit)."
34539
+ },
34540
+ {
34541
+ "kind": "function",
34542
+ "name": "countLocaleDecimalSeparators",
34543
+ "return": {
34544
+ "type": {
34545
+ "text": "number"
34546
+ }
34547
+ },
34548
+ "parameters": [
34549
+ {
34550
+ "name": "input",
34551
+ "type": {
34552
+ "text": "string"
34553
+ }
34554
+ },
34555
+ {
34556
+ "name": "locale",
34557
+ "type": {
34558
+ "text": "string"
34559
+ }
34560
+ }
34561
+ ],
34562
+ "description": "Counts locale decimal separator characters in the raw control text (ignores grouping)."
34563
+ },
34564
+ {
34565
+ "kind": "function",
34566
+ "name": "hasMultipleDecimalSeparators",
34567
+ "return": {
34568
+ "type": {
34569
+ "text": "boolean"
34570
+ }
34571
+ },
34572
+ "parameters": [
34573
+ {
34574
+ "name": "input",
34575
+ "type": {
34576
+ "text": "string"
34577
+ }
34578
+ },
34579
+ {
34580
+ "name": "locale",
34581
+ "type": {
34582
+ "text": "string"
34583
+ }
34584
+ }
34585
+ ]
34586
+ },
34587
+ {
34588
+ "kind": "function",
34589
+ "name": "isIntegerAtMaximumInputPrecision",
34590
+ "return": {
34591
+ "type": {
34592
+ "text": "boolean"
34593
+ }
34594
+ },
34595
+ "parameters": [
34596
+ {
34597
+ "name": "value",
34598
+ "type": {
34599
+ "text": "string"
34600
+ }
34601
+ },
34602
+ {
34603
+ "name": "locale",
34604
+ "type": {
34605
+ "text": "string"
34606
+ }
34607
+ },
34608
+ {
34609
+ "name": "precision",
34610
+ "type": {
34611
+ "text": "number"
34612
+ }
34613
+ }
34614
+ ],
34615
+ "description": "True when the committed value is a whole number already using the full significant-digit budget."
34616
+ },
34617
+ {
34618
+ "kind": "function",
34619
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
34620
+ "return": {
34621
+ "type": {
34622
+ "text": "boolean"
34623
+ }
34624
+ },
34625
+ "parameters": [
34626
+ {
34627
+ "name": "committedValue",
34628
+ "type": {
34629
+ "text": "string"
34630
+ }
34631
+ },
34632
+ {
34633
+ "name": "controlText",
34634
+ "type": {
34635
+ "text": "string"
34636
+ }
34637
+ },
34638
+ {
34639
+ "name": "locale",
34640
+ "type": {
34641
+ "text": "string"
34642
+ }
34643
+ },
34644
+ {
34645
+ "name": "precision",
34646
+ "type": {
34647
+ "text": "number"
34648
+ }
34649
+ }
34650
+ ],
34651
+ "description": "User typed a decimal separator while the integer part is already at max precision."
34652
+ },
34502
34653
  {
34503
34654
  "kind": "function",
34504
34655
  "name": "formatControlValue",
@@ -34695,6 +34846,13 @@
34695
34846
  "type": {
34696
34847
  "text": "number"
34697
34848
  }
34849
+ },
34850
+ {
34851
+ "name": "committedValue",
34852
+ "optional": true,
34853
+ "type": {
34854
+ "text": "string"
34855
+ }
34698
34856
  }
34699
34857
  ]
34700
34858
  },
@@ -34877,6 +35035,46 @@
34877
35035
  "module": "src/number-field/utils.ts"
34878
35036
  }
34879
35037
  },
35038
+ {
35039
+ "kind": "js",
35040
+ "name": "normalizeLocaleNumberString",
35041
+ "declaration": {
35042
+ "name": "normalizeLocaleNumberString",
35043
+ "module": "src/number-field/utils.ts"
35044
+ }
35045
+ },
35046
+ {
35047
+ "kind": "js",
35048
+ "name": "countLocaleDecimalSeparators",
35049
+ "declaration": {
35050
+ "name": "countLocaleDecimalSeparators",
35051
+ "module": "src/number-field/utils.ts"
35052
+ }
35053
+ },
35054
+ {
35055
+ "kind": "js",
35056
+ "name": "hasMultipleDecimalSeparators",
35057
+ "declaration": {
35058
+ "name": "hasMultipleDecimalSeparators",
35059
+ "module": "src/number-field/utils.ts"
35060
+ }
35061
+ },
35062
+ {
35063
+ "kind": "js",
35064
+ "name": "isIntegerAtMaximumInputPrecision",
35065
+ "declaration": {
35066
+ "name": "isIntegerAtMaximumInputPrecision",
35067
+ "module": "src/number-field/utils.ts"
35068
+ }
35069
+ },
35070
+ {
35071
+ "kind": "js",
35072
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35073
+ "declaration": {
35074
+ "name": "rejectsDecimalAtMaximumIntegerPrecision",
35075
+ "module": "src/number-field/utils.ts"
35076
+ }
35077
+ },
34880
35078
  {
34881
35079
  "kind": "js",
34882
35080
  "name": "formatControlValue",
@@ -57711,6 +57909,197 @@
57711
57909
  }
57712
57910
  ]
57713
57911
  },
57912
+ {
57913
+ "kind": "javascript-module",
57914
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57915
+ "declarations": [],
57916
+ "exports": []
57917
+ },
57918
+ {
57919
+ "kind": "javascript-module",
57920
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57921
+ "declarations": [
57922
+ {
57923
+ "kind": "function",
57924
+ "name": "groupsToCriteria",
57925
+ "return": {
57926
+ "type": {
57927
+ "text": "string"
57928
+ }
57929
+ },
57930
+ "parameters": [
57931
+ {
57932
+ "name": "groups",
57933
+ "type": {
57934
+ "text": "CriteriaGroup[]"
57935
+ }
57936
+ }
57937
+ ],
57938
+ "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."
57939
+ },
57940
+ {
57941
+ "kind": "variable",
57942
+ "name": "STRING_OPERATORS",
57943
+ "type": {
57944
+ "text": "CriteriaOperator[]"
57945
+ },
57946
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57947
+ },
57948
+ {
57949
+ "kind": "variable",
57950
+ "name": "NUMERIC_OPERATORS",
57951
+ "type": {
57952
+ "text": "CriteriaOperator[]"
57953
+ },
57954
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57955
+ },
57956
+ {
57957
+ "kind": "variable",
57958
+ "name": "DATE_OPERATORS",
57959
+ "type": {
57960
+ "text": "CriteriaOperator[]"
57961
+ },
57962
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57963
+ },
57964
+ {
57965
+ "kind": "variable",
57966
+ "name": "DATETIME_OPERATORS",
57967
+ "type": {
57968
+ "text": "CriteriaOperator[]"
57969
+ },
57970
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57971
+ },
57972
+ {
57973
+ "kind": "variable",
57974
+ "name": "OPERATOR_DISPLAY_LABEL",
57975
+ "type": {
57976
+ "text": "Record<CriteriaOperator, string>"
57977
+ },
57978
+ "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}"
57979
+ }
57980
+ ],
57981
+ "exports": [
57982
+ {
57983
+ "kind": "js",
57984
+ "name": "groupsToCriteria",
57985
+ "declaration": {
57986
+ "name": "groupsToCriteria",
57987
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57988
+ }
57989
+ },
57990
+ {
57991
+ "kind": "js",
57992
+ "name": "STRING_OPERATORS",
57993
+ "declaration": {
57994
+ "name": "STRING_OPERATORS",
57995
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57996
+ }
57997
+ },
57998
+ {
57999
+ "kind": "js",
58000
+ "name": "NUMERIC_OPERATORS",
58001
+ "declaration": {
58002
+ "name": "NUMERIC_OPERATORS",
58003
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58004
+ }
58005
+ },
58006
+ {
58007
+ "kind": "js",
58008
+ "name": "DATE_OPERATORS",
58009
+ "declaration": {
58010
+ "name": "DATE_OPERATORS",
58011
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58012
+ }
58013
+ },
58014
+ {
58015
+ "kind": "js",
58016
+ "name": "DATETIME_OPERATORS",
58017
+ "declaration": {
58018
+ "name": "DATETIME_OPERATORS",
58019
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58020
+ }
58021
+ },
58022
+ {
58023
+ "kind": "js",
58024
+ "name": "OPERATOR_DISPLAY_LABEL",
58025
+ "declaration": {
58026
+ "name": "OPERATOR_DISPLAY_LABEL",
58027
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
58028
+ }
58029
+ }
58030
+ ]
58031
+ },
58032
+ {
58033
+ "kind": "javascript-module",
58034
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
58035
+ "declarations": [
58036
+ {
58037
+ "kind": "function",
58038
+ "name": "validateClauses",
58039
+ "return": {
58040
+ "type": {
58041
+ "text": "ValidationResult"
58042
+ }
58043
+ },
58044
+ "parameters": [
58045
+ {
58046
+ "name": "clauses",
58047
+ "type": {
58048
+ "text": "CriteriaClause[]"
58049
+ }
58050
+ },
58051
+ {
58052
+ "name": "fieldMetadata",
58053
+ "type": {
58054
+ "text": "MetadataDetail[] | string[]"
58055
+ }
58056
+ }
58057
+ ]
58058
+ },
58059
+ {
58060
+ "kind": "function",
58061
+ "name": "validateGroups",
58062
+ "return": {
58063
+ "type": {
58064
+ "text": "GroupsValidationResult"
58065
+ }
58066
+ },
58067
+ "parameters": [
58068
+ {
58069
+ "name": "groups",
58070
+ "type": {
58071
+ "text": "CriteriaGroup[]"
58072
+ }
58073
+ },
58074
+ {
58075
+ "name": "fieldMetadata",
58076
+ "type": {
58077
+ "text": "MetadataDetail[] | string[]"
58078
+ }
58079
+ }
58080
+ ],
58081
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58082
+ }
58083
+ ],
58084
+ "exports": [
58085
+ {
58086
+ "kind": "js",
58087
+ "name": "validateClauses",
58088
+ "declaration": {
58089
+ "name": "validateClauses",
58090
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58091
+ }
58092
+ },
58093
+ {
58094
+ "kind": "js",
58095
+ "name": "validateGroups",
58096
+ "declaration": {
58097
+ "name": "validateGroups",
58098
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
58099
+ }
58100
+ }
58101
+ ]
58102
+ },
57714
58103
  {
57715
58104
  "kind": "javascript-module",
57716
58105
  "path": "src/_config/styles/colors.ts",
@@ -59083,197 +59472,6 @@
59083
59472
  "declarations": [],
59084
59473
  "exports": []
59085
59474
  },
59086
- {
59087
- "kind": "javascript-module",
59088
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59089
- "declarations": [],
59090
- "exports": []
59091
- },
59092
- {
59093
- "kind": "javascript-module",
59094
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59095
- "declarations": [
59096
- {
59097
- "kind": "function",
59098
- "name": "groupsToCriteria",
59099
- "return": {
59100
- "type": {
59101
- "text": "string"
59102
- }
59103
- },
59104
- "parameters": [
59105
- {
59106
- "name": "groups",
59107
- "type": {
59108
- "text": "CriteriaGroup[]"
59109
- }
59110
- }
59111
- ],
59112
- "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."
59113
- },
59114
- {
59115
- "kind": "variable",
59116
- "name": "STRING_OPERATORS",
59117
- "type": {
59118
- "text": "CriteriaOperator[]"
59119
- },
59120
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59121
- },
59122
- {
59123
- "kind": "variable",
59124
- "name": "NUMERIC_OPERATORS",
59125
- "type": {
59126
- "text": "CriteriaOperator[]"
59127
- },
59128
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59129
- },
59130
- {
59131
- "kind": "variable",
59132
- "name": "DATE_OPERATORS",
59133
- "type": {
59134
- "text": "CriteriaOperator[]"
59135
- },
59136
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59137
- },
59138
- {
59139
- "kind": "variable",
59140
- "name": "DATETIME_OPERATORS",
59141
- "type": {
59142
- "text": "CriteriaOperator[]"
59143
- },
59144
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59145
- },
59146
- {
59147
- "kind": "variable",
59148
- "name": "OPERATOR_DISPLAY_LABEL",
59149
- "type": {
59150
- "text": "Record<CriteriaOperator, string>"
59151
- },
59152
- "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}"
59153
- }
59154
- ],
59155
- "exports": [
59156
- {
59157
- "kind": "js",
59158
- "name": "groupsToCriteria",
59159
- "declaration": {
59160
- "name": "groupsToCriteria",
59161
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59162
- }
59163
- },
59164
- {
59165
- "kind": "js",
59166
- "name": "STRING_OPERATORS",
59167
- "declaration": {
59168
- "name": "STRING_OPERATORS",
59169
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59170
- }
59171
- },
59172
- {
59173
- "kind": "js",
59174
- "name": "NUMERIC_OPERATORS",
59175
- "declaration": {
59176
- "name": "NUMERIC_OPERATORS",
59177
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59178
- }
59179
- },
59180
- {
59181
- "kind": "js",
59182
- "name": "DATE_OPERATORS",
59183
- "declaration": {
59184
- "name": "DATE_OPERATORS",
59185
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59186
- }
59187
- },
59188
- {
59189
- "kind": "js",
59190
- "name": "DATETIME_OPERATORS",
59191
- "declaration": {
59192
- "name": "DATETIME_OPERATORS",
59193
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59194
- }
59195
- },
59196
- {
59197
- "kind": "js",
59198
- "name": "OPERATOR_DISPLAY_LABEL",
59199
- "declaration": {
59200
- "name": "OPERATOR_DISPLAY_LABEL",
59201
- "module": "src/ai-criteria-search/validation/operator-map.ts"
59202
- }
59203
- }
59204
- ]
59205
- },
59206
- {
59207
- "kind": "javascript-module",
59208
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
59209
- "declarations": [
59210
- {
59211
- "kind": "function",
59212
- "name": "validateClauses",
59213
- "return": {
59214
- "type": {
59215
- "text": "ValidationResult"
59216
- }
59217
- },
59218
- "parameters": [
59219
- {
59220
- "name": "clauses",
59221
- "type": {
59222
- "text": "CriteriaClause[]"
59223
- }
59224
- },
59225
- {
59226
- "name": "fieldMetadata",
59227
- "type": {
59228
- "text": "MetadataDetail[] | string[]"
59229
- }
59230
- }
59231
- ]
59232
- },
59233
- {
59234
- "kind": "function",
59235
- "name": "validateGroups",
59236
- "return": {
59237
- "type": {
59238
- "text": "GroupsValidationResult"
59239
- }
59240
- },
59241
- "parameters": [
59242
- {
59243
- "name": "groups",
59244
- "type": {
59245
- "text": "CriteriaGroup[]"
59246
- }
59247
- },
59248
- {
59249
- "name": "fieldMetadata",
59250
- "type": {
59251
- "text": "MetadataDetail[] | string[]"
59252
- }
59253
- }
59254
- ],
59255
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
59256
- }
59257
- ],
59258
- "exports": [
59259
- {
59260
- "kind": "js",
59261
- "name": "validateClauses",
59262
- "declaration": {
59263
- "name": "validateClauses",
59264
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59265
- }
59266
- },
59267
- {
59268
- "kind": "js",
59269
- "name": "validateGroups",
59270
- "declaration": {
59271
- "name": "validateGroups",
59272
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
59273
- }
59274
- }
59275
- ]
59276
- },
59277
59475
  {
59278
59476
  "kind": "javascript-module",
59279
59477
  "path": "src/environment-indicator/utils/configure.ts",