@genesislcap/foundation-ui 15.3.2-FUI-2571-formatters.1 → 15.3.2-canary.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1424,34 +1424,11 @@
1424
1424
  },
1425
1425
  {
1426
1426
  "kind": "javascript-module",
1427
- "path": "src/actions-menu/actions-menu.styles.ts",
1427
+ "path": "src/accordion/accordion.styles.ts",
1428
1428
  "declarations": [
1429
1429
  {
1430
1430
  "kind": "function",
1431
- "name": "actionsMenuBaseStyles",
1432
- "return": {
1433
- "type": {
1434
- "text": "ElementStyles"
1435
- }
1436
- },
1437
- "parameters": [
1438
- {
1439
- "name": "context",
1440
- "type": {
1441
- "text": "ElementDefinitionContext"
1442
- }
1443
- },
1444
- {
1445
- "name": "definition",
1446
- "type": {
1447
- "text": "FoundationElementDefinition"
1448
- }
1449
- }
1450
- ]
1451
- },
1452
- {
1453
- "kind": "function",
1454
- "name": "foundationActionsMenuStyles",
1431
+ "name": "foundationAccordionStyles",
1455
1432
  "return": {
1456
1433
  "type": {
1457
1434
  "text": "ElementStyles"
@@ -1476,281 +1453,277 @@
1476
1453
  "exports": [
1477
1454
  {
1478
1455
  "kind": "js",
1479
- "name": "actionsMenuBaseStyles",
1480
- "declaration": {
1481
- "name": "actionsMenuBaseStyles",
1482
- "module": "src/actions-menu/actions-menu.styles.ts"
1483
- }
1484
- },
1485
- {
1486
- "kind": "js",
1487
- "name": "foundationActionsMenuStyles",
1456
+ "name": "foundationAccordionStyles",
1488
1457
  "declaration": {
1489
- "name": "foundationActionsMenuStyles",
1490
- "module": "src/actions-menu/actions-menu.styles.ts"
1458
+ "name": "foundationAccordionStyles",
1459
+ "module": "src/accordion/accordion.styles.ts"
1491
1460
  }
1492
1461
  }
1493
1462
  ]
1494
1463
  },
1495
1464
  {
1496
1465
  "kind": "javascript-module",
1497
- "path": "src/actions-menu/actions-menu.template.ts",
1466
+ "path": "src/accordion/accordion.template.ts",
1498
1467
  "declarations": [
1499
1468
  {
1500
1469
  "kind": "function",
1501
- "name": "menuTemplate",
1470
+ "name": "foundationAccordionTemplate",
1471
+ "return": {
1472
+ "type": {
1473
+ "text": "ViewTemplate<Accordion>"
1474
+ }
1475
+ },
1502
1476
  "parameters": [
1503
1477
  {
1504
- "name": "prefix",
1478
+ "name": "context",
1505
1479
  "type": {
1506
- "text": "string"
1480
+ "text": "ElementDefinitionContext"
1507
1481
  }
1508
- }
1509
- ]
1510
- },
1511
- {
1512
- "kind": "function",
1513
- "name": "singleOptionTemplate",
1514
- "parameters": [
1482
+ },
1515
1483
  {
1516
- "name": "prefix",
1484
+ "name": "definition",
1517
1485
  "type": {
1518
- "text": "string"
1486
+ "text": "FoundationElementDefinition"
1519
1487
  }
1520
1488
  }
1521
1489
  ]
1522
- },
1523
- {
1524
- "kind": "variable",
1525
- "name": "foundationActionsMenuTemplate",
1526
- "type": {
1527
- "text": "ViewTemplate<ActionsMenu>"
1528
- },
1529
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1530
1490
  }
1531
1491
  ],
1532
1492
  "exports": [
1533
1493
  {
1534
1494
  "kind": "js",
1535
- "name": "menuTemplate",
1536
- "declaration": {
1537
- "name": "menuTemplate",
1538
- "module": "src/actions-menu/actions-menu.template.ts"
1539
- }
1540
- },
1541
- {
1542
- "kind": "js",
1543
- "name": "singleOptionTemplate",
1544
- "declaration": {
1545
- "name": "singleOptionTemplate",
1546
- "module": "src/actions-menu/actions-menu.template.ts"
1547
- }
1548
- },
1549
- {
1550
- "kind": "js",
1551
- "name": "foundationActionsMenuTemplate",
1495
+ "name": "foundationAccordionTemplate",
1552
1496
  "declaration": {
1553
- "name": "foundationActionsMenuTemplate",
1554
- "module": "src/actions-menu/actions-menu.template.ts"
1497
+ "name": "foundationAccordionTemplate",
1498
+ "module": "src/accordion/accordion.template.ts"
1555
1499
  }
1556
1500
  }
1557
1501
  ]
1558
1502
  },
1559
1503
  {
1560
1504
  "kind": "javascript-module",
1561
- "path": "src/actions-menu/actions-menu.ts",
1505
+ "path": "src/accordion/accordion.ts",
1562
1506
  "declarations": [
1563
1507
  {
1564
1508
  "kind": "class",
1565
1509
  "description": "",
1566
- "name": "ActionsMenu",
1567
- "members": [
1510
+ "name": "Accordion",
1511
+ "superclass": {
1512
+ "name": "FASTAccordion",
1513
+ "package": "@microsoft/fast-foundation"
1514
+ },
1515
+ "tagName": "%%prefix%%-accordion",
1516
+ "customElement": true,
1517
+ "attributes": [
1568
1518
  {
1569
- "kind": "field",
1570
- "name": "actions",
1519
+ "name": "expand-mode",
1571
1520
  "type": {
1572
- "text": "ActionMenuItem[]"
1521
+ "text": "AccordionExpandMode"
1522
+ },
1523
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1524
+ "fieldName": "expandmode",
1525
+ "inheritedFrom": {
1526
+ "name": "Accordion",
1527
+ "module": "src/accordion/accordion.ts"
1573
1528
  }
1574
- },
1529
+ }
1530
+ ],
1531
+ "members": [
1575
1532
  {
1576
1533
  "kind": "field",
1577
- "name": "isVertical",
1534
+ "name": "expandmode",
1578
1535
  "type": {
1579
- "text": "boolean"
1536
+ "text": "AccordionExpandMode"
1580
1537
  },
1581
- "default": "false"
1538
+ "privacy": "public",
1539
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1540
+ "inheritedFrom": {
1541
+ "name": "Accordion",
1542
+ "module": "src/accordion/accordion.ts"
1543
+ }
1582
1544
  },
1583
1545
  {
1584
1546
  "kind": "field",
1585
- "name": "addDefaultActions",
1547
+ "name": "activeid",
1586
1548
  "type": {
1587
- "text": "boolean"
1549
+ "text": "string | null"
1588
1550
  },
1589
- "default": "true"
1551
+ "privacy": "private",
1552
+ "inheritedFrom": {
1553
+ "name": "Accordion",
1554
+ "module": "src/accordion/accordion.ts"
1555
+ }
1590
1556
  },
1591
1557
  {
1592
1558
  "kind": "field",
1593
- "name": "autoCloseOnAction",
1559
+ "name": "activeItemIndex",
1594
1560
  "type": {
1595
- "text": "boolean"
1561
+ "text": "number"
1596
1562
  },
1597
- "default": "true"
1598
- },
1599
- {
1600
- "kind": "field",
1601
- "name": "classNames",
1602
- "type": {
1603
- "text": "string"
1563
+ "privacy": "private",
1564
+ "default": "0",
1565
+ "inheritedFrom": {
1566
+ "name": "Accordion",
1567
+ "module": "src/accordion/accordion.ts"
1604
1568
  }
1605
1569
  },
1606
1570
  {
1607
1571
  "kind": "field",
1608
- "name": "definition",
1572
+ "name": "accordionIds",
1609
1573
  "type": {
1610
- "text": "any"
1574
+ "text": "Array<string | null>"
1575
+ },
1576
+ "privacy": "private",
1577
+ "inheritedFrom": {
1578
+ "name": "Accordion",
1579
+ "module": "src/accordion/accordion.ts"
1611
1580
  }
1612
1581
  },
1613
1582
  {
1614
1583
  "kind": "field",
1615
- "name": "name",
1616
- "type": {
1617
- "text": "string"
1618
- },
1619
- "default": "'Actions'"
1584
+ "name": "change",
1585
+ "privacy": "private",
1586
+ "inheritedFrom": {
1587
+ "name": "Accordion",
1588
+ "module": "src/accordion/accordion.ts"
1589
+ }
1620
1590
  },
1621
1591
  {
1622
- "kind": "field",
1623
- "name": "open",
1624
- "type": {
1625
- "text": "boolean"
1592
+ "kind": "method",
1593
+ "name": "findExpandedItem",
1594
+ "privacy": "private",
1595
+ "return": {
1596
+ "type": {
1597
+ "text": "AccordionItem | null"
1598
+ }
1626
1599
  },
1627
- "default": "false"
1628
- },
1629
- {
1630
- "kind": "field",
1631
- "name": "buttonAppearance",
1632
- "type": {
1633
- "text": "string"
1600
+ "inheritedFrom": {
1601
+ "name": "Accordion",
1602
+ "module": "src/accordion/accordion.ts"
1634
1603
  }
1635
1604
  },
1636
1605
  {
1637
1606
  "kind": "field",
1638
- "name": "hideDisabled",
1639
- "type": {
1640
- "text": "boolean"
1641
- },
1642
- "default": "false"
1607
+ "name": "setItems",
1608
+ "privacy": "private",
1609
+ "inheritedFrom": {
1610
+ "name": "Accordion",
1611
+ "module": "src/accordion/accordion.ts"
1612
+ }
1643
1613
  },
1644
1614
  {
1645
- "kind": "field",
1646
- "name": "hideMenuSingleOption",
1647
- "type": {
1648
- "text": "boolean"
1615
+ "kind": "method",
1616
+ "name": "resetItems",
1617
+ "privacy": "private",
1618
+ "return": {
1619
+ "type": {
1620
+ "text": "void"
1621
+ }
1649
1622
  },
1650
- "default": "false"
1651
- },
1652
- {
1653
- "kind": "field",
1654
- "name": "singleOption",
1655
- "type": {
1656
- "text": "ActionMenuItem"
1623
+ "inheritedFrom": {
1624
+ "name": "Accordion",
1625
+ "module": "src/accordion/accordion.ts"
1657
1626
  }
1658
1627
  },
1659
1628
  {
1660
1629
  "kind": "field",
1661
- "name": "actionsMenu",
1662
- "type": {
1663
- "text": "HTMLElement"
1630
+ "name": "removeItemListeners",
1631
+ "privacy": "private",
1632
+ "inheritedFrom": {
1633
+ "name": "Accordion",
1634
+ "module": "src/accordion/accordion.ts"
1664
1635
  }
1665
1636
  },
1666
1637
  {
1667
1638
  "kind": "field",
1668
- "name": "actionsOpener",
1669
- "type": {
1670
- "text": "HTMLElement"
1639
+ "name": "activeItemChange",
1640
+ "privacy": "private",
1641
+ "inheritedFrom": {
1642
+ "name": "Accordion",
1643
+ "module": "src/accordion/accordion.ts"
1671
1644
  }
1672
1645
  },
1673
1646
  {
1674
1647
  "kind": "method",
1675
- "name": "updateMenuPosition",
1676
- "privacy": "private"
1677
- },
1678
- {
1679
- "kind": "method",
1680
- "name": "definitionChanged",
1681
- "privacy": "protected",
1682
- "parameters": [
1683
- {
1684
- "name": "oldValue",
1685
- "type": {
1686
- "text": "any"
1687
- }
1688
- },
1689
- {
1690
- "name": "newValue",
1691
- "type": {
1692
- "text": "any"
1693
- }
1648
+ "name": "getItemIds",
1649
+ "privacy": "private",
1650
+ "return": {
1651
+ "type": {
1652
+ "text": "Array<string | null>"
1694
1653
  }
1695
- ]
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "openChanged",
1700
- "privacy": "protected"
1701
- },
1702
- {
1703
- "kind": "method",
1704
- "name": "toggleActionsMenuVisibility"
1654
+ },
1655
+ "inheritedFrom": {
1656
+ "name": "Accordion",
1657
+ "module": "src/accordion/accordion.ts"
1658
+ }
1705
1659
  },
1706
1660
  {
1707
1661
  "kind": "method",
1708
- "name": "onActionMenuItemClick",
1709
- "parameters": [
1710
- {
1711
- "name": "callback",
1712
- "type": {
1713
- "text": "(rowData) => void | any"
1714
- }
1662
+ "name": "isSingleExpandMode",
1663
+ "privacy": "private",
1664
+ "return": {
1665
+ "type": {
1666
+ "text": "boolean"
1715
1667
  }
1716
- ]
1668
+ },
1669
+ "inheritedFrom": {
1670
+ "name": "Accordion",
1671
+ "module": "src/accordion/accordion.ts"
1672
+ }
1717
1673
  },
1718
1674
  {
1719
1675
  "kind": "field",
1720
- "name": "allActions",
1721
- "type": {
1722
- "text": "ActionMenuItem[]"
1723
- },
1724
- "readonly": true
1676
+ "name": "handleItemKeyDown",
1677
+ "privacy": "private",
1678
+ "inheritedFrom": {
1679
+ "name": "Accordion",
1680
+ "module": "src/accordion/accordion.ts"
1681
+ }
1725
1682
  },
1726
1683
  {
1727
1684
  "kind": "field",
1728
- "name": "rowData",
1729
- "readonly": true
1685
+ "name": "handleItemFocus",
1686
+ "privacy": "private",
1687
+ "inheritedFrom": {
1688
+ "name": "Accordion",
1689
+ "module": "src/accordion/accordion.ts"
1690
+ }
1730
1691
  },
1731
1692
  {
1732
1693
  "kind": "method",
1733
- "name": "getLabel",
1694
+ "name": "adjust",
1695
+ "privacy": "private",
1696
+ "return": {
1697
+ "type": {
1698
+ "text": "void"
1699
+ }
1700
+ },
1734
1701
  "parameters": [
1735
1702
  {
1736
- "name": "name",
1703
+ "name": "adjustment",
1737
1704
  "type": {
1738
- "text": "string | ((rowData: any) => string)"
1705
+ "text": "number"
1739
1706
  }
1740
1707
  }
1741
- ]
1708
+ ],
1709
+ "inheritedFrom": {
1710
+ "name": "Accordion",
1711
+ "module": "src/accordion/accordion.ts"
1712
+ }
1742
1713
  },
1743
1714
  {
1744
1715
  "kind": "method",
1745
- "name": "getTemplate",
1746
- "parameters": [
1747
- {
1748
- "name": "prefix",
1749
- "type": {
1750
- "text": "string"
1751
- }
1716
+ "name": "focusItem",
1717
+ "privacy": "private",
1718
+ "return": {
1719
+ "type": {
1720
+ "text": "void"
1752
1721
  }
1753
- ]
1722
+ },
1723
+ "inheritedFrom": {
1724
+ "name": "Accordion",
1725
+ "module": "src/accordion/accordion.ts"
1726
+ }
1754
1727
  },
1755
1728
  {
1756
1729
  "kind": "field",
@@ -1864,107 +1837,78 @@
1864
1837
  }
1865
1838
  }
1866
1839
  ],
1867
- "attributes": [
1868
- {
1869
- "name": "is-vertical",
1870
- "type": {
1871
- "text": "boolean"
1872
- },
1873
- "default": "false",
1874
- "fieldName": "isVertical"
1875
- },
1876
- {
1877
- "name": "add-default-actions",
1878
- "type": {
1879
- "text": "boolean"
1880
- },
1881
- "default": "true",
1882
- "fieldName": "addDefaultActions"
1883
- },
1884
- {
1885
- "name": "auto-close-on-action",
1886
- "type": {
1887
- "text": "boolean"
1888
- },
1889
- "default": "true",
1890
- "fieldName": "autoCloseOnAction"
1891
- },
1892
- {
1893
- "name": "name",
1894
- "type": {
1895
- "text": "string"
1896
- },
1897
- "default": "'Actions'",
1898
- "fieldName": "name"
1899
- },
1900
- {
1901
- "name": "open",
1902
- "type": {
1903
- "text": "boolean"
1904
- },
1905
- "default": "false",
1906
- "fieldName": "open"
1907
- },
1908
- {
1909
- "name": "buttonAppearance",
1910
- "type": {
1911
- "text": "string"
1912
- },
1913
- "fieldName": "buttonAppearance"
1914
- },
1915
- {
1916
- "name": "hide-disabled",
1917
- "type": {
1918
- "text": "boolean"
1919
- },
1920
- "default": "false",
1921
- "fieldName": "hideDisabled"
1922
- },
1840
+ "events": [
1923
1841
  {
1924
- "name": "hide-menu-single-option",
1925
- "type": {
1926
- "text": "boolean"
1927
- },
1928
- "default": "false",
1929
- "fieldName": "hideMenuSingleOption"
1842
+ "description": "Fires a custom 'change' event when the active item changes",
1843
+ "name": "change",
1844
+ "inheritedFrom": {
1845
+ "name": "Accordion",
1846
+ "module": "src/accordion/accordion.ts"
1847
+ }
1930
1848
  }
1931
- ],
1932
- "superclass": {
1933
- "name": "FoundationElement",
1934
- "package": "@microsoft/fast-foundation"
1849
+ ]
1850
+ },
1851
+ {
1852
+ "kind": "variable",
1853
+ "name": "foundationAccordionShadowOptions",
1854
+ "type": {
1855
+ "text": "ShadowRootInit"
1935
1856
  },
1936
- "tagName": "%%prefix%%-actions-menu",
1937
- "customElement": true
1857
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1938
1858
  },
1939
1859
  {
1940
1860
  "kind": "variable",
1941
- "name": "foundationActionsMenu",
1942
- "description": "The Foundation Actions Menu",
1861
+ "name": "defaultAccordionConfig",
1862
+ "type": {
1863
+ "text": "object"
1864
+ },
1865
+ "default": "{}"
1866
+ },
1867
+ {
1868
+ "kind": "variable",
1869
+ "name": "foundationAccordion",
1870
+ "description": "The Foundation Accordion",
1943
1871
  "privacy": "public"
1944
1872
  }
1945
1873
  ],
1946
1874
  "exports": [
1947
1875
  {
1948
1876
  "kind": "js",
1949
- "name": "ActionsMenu",
1877
+ "name": "Accordion",
1950
1878
  "declaration": {
1951
- "name": "ActionsMenu",
1952
- "module": "src/actions-menu/actions-menu.ts"
1879
+ "name": "Accordion",
1880
+ "module": "src/accordion/accordion.ts"
1953
1881
  }
1954
1882
  },
1955
1883
  {
1956
1884
  "kind": "js",
1957
- "name": "foundationActionsMenu",
1885
+ "name": "foundationAccordionShadowOptions",
1958
1886
  "declaration": {
1959
- "name": "foundationActionsMenu",
1960
- "module": "src/actions-menu/actions-menu.ts"
1887
+ "name": "foundationAccordionShadowOptions",
1888
+ "module": "src/accordion/accordion.ts"
1889
+ }
1890
+ },
1891
+ {
1892
+ "kind": "js",
1893
+ "name": "defaultAccordionConfig",
1894
+ "declaration": {
1895
+ "name": "defaultAccordionConfig",
1896
+ "module": "src/accordion/accordion.ts"
1897
+ }
1898
+ },
1899
+ {
1900
+ "kind": "js",
1901
+ "name": "foundationAccordion",
1902
+ "declaration": {
1903
+ "name": "foundationAccordion",
1904
+ "module": "src/accordion/accordion.ts"
1961
1905
  }
1962
1906
  }
1963
1907
  ]
1964
1908
  },
1965
1909
  {
1966
1910
  "kind": "javascript-module",
1967
- "path": "src/actions-menu/index.ts",
1911
+ "path": "src/accordion/index.ts",
1968
1912
  "declarations": [],
1969
1913
  "exports": [
1970
1914
  {
@@ -1972,7 +1916,7 @@
1972
1916
  "name": "*",
1973
1917
  "declaration": {
1974
1918
  "name": "*",
1975
- "package": "./actions-menu.styles"
1919
+ "package": "./accordion.template"
1976
1920
  }
1977
1921
  },
1978
1922
  {
@@ -1980,7 +1924,7 @@
1980
1924
  "name": "*",
1981
1925
  "declaration": {
1982
1926
  "name": "*",
1983
- "package": "./actions-menu.template"
1927
+ "package": "./accordion.styles"
1984
1928
  }
1985
1929
  },
1986
1930
  {
@@ -1988,7 +1932,38 @@
1988
1932
  "name": "*",
1989
1933
  "declaration": {
1990
1934
  "name": "*",
1991
- "package": "./actions-menu"
1935
+ "package": "./accordion"
1936
+ }
1937
+ }
1938
+ ]
1939
+ },
1940
+ {
1941
+ "kind": "javascript-module",
1942
+ "path": "src/_config/index.ts",
1943
+ "declarations": [],
1944
+ "exports": [
1945
+ {
1946
+ "kind": "js",
1947
+ "name": "*",
1948
+ "declaration": {
1949
+ "name": "*",
1950
+ "package": "./styles"
1951
+ }
1952
+ },
1953
+ {
1954
+ "kind": "js",
1955
+ "name": "*",
1956
+ "declaration": {
1957
+ "name": "*",
1958
+ "package": "./tokens"
1959
+ }
1960
+ },
1961
+ {
1962
+ "kind": "js",
1963
+ "name": "*",
1964
+ "declaration": {
1965
+ "name": "*",
1966
+ "package": "./values"
1992
1967
  }
1993
1968
  }
1994
1969
  ]
@@ -2389,104 +2364,115 @@
2389
2364
  },
2390
2365
  {
2391
2366
  "kind": "javascript-module",
2392
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2367
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2393
2368
  "declarations": [
2394
2369
  {
2395
- "kind": "function",
2396
- "name": "foundationAiIndicatorStyles",
2397
- "return": {
2398
- "type": {
2399
- "text": "ElementStyles"
2400
- }
2401
- },
2402
- "parameters": [
2403
- {
2404
- "name": "context",
2405
- "type": {
2406
- "text": "ElementDefinitionContext"
2407
- }
2408
- },
2409
- {
2410
- "name": "definition",
2411
- "type": {
2412
- "text": "FoundationElementDefinition"
2413
- }
2414
- }
2415
- ]
2370
+ "kind": "variable",
2371
+ "name": "foundationAiCriteriaSearchStyles",
2372
+ "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`"
2416
2373
  }
2417
2374
  ],
2418
2375
  "exports": [
2419
2376
  {
2420
2377
  "kind": "js",
2421
- "name": "foundationAiIndicatorStyles",
2378
+ "name": "foundationAiCriteriaSearchStyles",
2422
2379
  "declaration": {
2423
- "name": "foundationAiIndicatorStyles",
2424
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2380
+ "name": "foundationAiCriteriaSearchStyles",
2381
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2425
2382
  }
2426
2383
  }
2427
2384
  ]
2428
2385
  },
2429
2386
  {
2430
2387
  "kind": "javascript-module",
2431
- "path": "src/ai-indicator/ai-indicator.template.ts",
2388
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2432
2389
  "declarations": [
2433
2390
  {
2434
2391
  "kind": "variable",
2435
- "name": "foundationAiIndicatorTemplate",
2392
+ "name": "foundationAiCriteriaSearchTemplate",
2436
2393
  "type": {
2437
- "text": "ViewTemplate<AiIndicator>"
2394
+ "text": "ViewTemplate<AiCriteriaSearch>"
2438
2395
  },
2439
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2396
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2440
2397
  }
2441
2398
  ],
2442
2399
  "exports": [
2443
2400
  {
2444
2401
  "kind": "js",
2445
- "name": "foundationAiIndicatorTemplate",
2402
+ "name": "foundationAiCriteriaSearchTemplate",
2446
2403
  "declaration": {
2447
- "name": "foundationAiIndicatorTemplate",
2448
- "module": "src/ai-indicator/ai-indicator.template.ts"
2404
+ "name": "foundationAiCriteriaSearchTemplate",
2405
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2449
2406
  }
2450
2407
  }
2451
2408
  ]
2452
2409
  },
2453
2410
  {
2454
2411
  "kind": "javascript-module",
2455
- "path": "src/ai-indicator/ai-indicator.ts",
2412
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2456
2413
  "declarations": [
2457
2414
  {
2458
2415
  "kind": "class",
2459
- "description": "",
2460
- "name": "AiIndicator",
2416
+ "description": "Natural-language criteria search input with AI interpretation.",
2417
+ "name": "AiCriteriaSearch",
2461
2418
  "members": [
2462
2419
  {
2463
2420
  "kind": "field",
2464
- "name": "providerRegistry",
2421
+ "name": "providerRegistry",
2422
+ "type": {
2423
+ "text": "AIProviderRegistry"
2424
+ }
2425
+ },
2426
+ {
2427
+ "kind": "field",
2428
+ "name": "placeholder",
2465
2429
  "type": {
2466
- "text": "AIProviderRegistry"
2430
+ "text": "string"
2431
+ },
2432
+ "default": "'Describe your search criteria in natural language...'"
2433
+ },
2434
+ {
2435
+ "kind": "field",
2436
+ "name": "disabled",
2437
+ "type": {
2438
+ "text": "boolean"
2467
2439
  }
2468
2440
  },
2469
2441
  {
2470
2442
  "kind": "field",
2471
- "name": "aiProvider",
2443
+ "name": "inputValue",
2472
2444
  "type": {
2473
- "text": "AIProvider | undefined"
2445
+ "text": "string"
2474
2446
  },
2475
- "privacy": "private",
2476
- "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.",
2477
- "readonly": true
2447
+ "default": "''"
2478
2448
  },
2479
2449
  {
2480
2450
  "kind": "field",
2481
- "name": "status",
2451
+ "name": "isInterpreting",
2482
2452
  "type": {
2483
- "text": "AIStatus | null"
2453
+ "text": "boolean"
2454
+ },
2455
+ "default": "false"
2456
+ },
2457
+ {
2458
+ "kind": "field",
2459
+ "name": "lastValidCriteria",
2460
+ "type": {
2461
+ "text": "string | null"
2484
2462
  },
2485
2463
  "default": "null"
2486
2464
  },
2487
2465
  {
2488
2466
  "kind": "field",
2489
- "name": "open",
2467
+ "name": "activeGroups",
2468
+ "type": {
2469
+ "text": "CriteriaGroup[]"
2470
+ },
2471
+ "default": "[]"
2472
+ },
2473
+ {
2474
+ "kind": "field",
2475
+ "name": "showingChips",
2490
2476
  "type": {
2491
2477
  "text": "boolean"
2492
2478
  },
@@ -2494,15 +2480,15 @@
2494
2480
  },
2495
2481
  {
2496
2482
  "kind": "field",
2497
- "name": "state",
2483
+ "name": "fieldMetadata",
2498
2484
  "type": {
2499
- "text": "AIIndicatorState"
2485
+ "text": "MetadataDetail[] | string[]"
2500
2486
  },
2501
- "default": "'none'"
2487
+ "default": "[]"
2502
2488
  },
2503
2489
  {
2504
2490
  "kind": "field",
2505
- "name": "isInstalling",
2491
+ "name": "isRecording",
2506
2492
  "type": {
2507
2493
  "text": "boolean"
2508
2494
  },
@@ -2510,29 +2496,33 @@
2510
2496
  },
2511
2497
  {
2512
2498
  "kind": "field",
2513
- "name": "pollTimer",
2499
+ "name": "textAreaRef",
2514
2500
  "type": {
2515
- "text": "ReturnType<typeof setInterval> | null"
2501
+ "text": "HTMLTextAreaElement"
2516
2502
  },
2517
- "privacy": "private",
2518
- "default": "null"
2503
+ "privacy": "public"
2519
2504
  },
2520
2505
  {
2521
2506
  "kind": "field",
2522
- "name": "clickOutside",
2523
- "privacy": "private"
2507
+ "name": "stopRecording",
2508
+ "type": {
2509
+ "text": "(() => void) | null"
2510
+ },
2511
+ "privacy": "private",
2512
+ "default": "null"
2524
2513
  },
2525
2514
  {
2526
2515
  "kind": "field",
2527
- "name": "chromeStatusLabel",
2516
+ "name": "speechApplyDebounceTimer",
2528
2517
  "type": {
2529
- "text": "string | null"
2518
+ "text": "ReturnType<typeof setTimeout> | null"
2530
2519
  },
2531
- "readonly": true
2520
+ "privacy": "private",
2521
+ "default": "null"
2532
2522
  },
2533
2523
  {
2534
2524
  "kind": "field",
2535
- "name": "canInstall",
2525
+ "name": "speechAvailable",
2536
2526
  "type": {
2537
2527
  "text": "boolean"
2538
2528
  },
@@ -2540,69 +2530,65 @@
2540
2530
  },
2541
2531
  {
2542
2532
  "kind": "field",
2543
- "name": "isDownloading",
2533
+ "name": "criteriaChips",
2544
2534
  "type": {
2545
- "text": "boolean"
2535
+ "text": "CriteriaChip[]"
2546
2536
  },
2547
2537
  "readonly": true
2548
2538
  },
2549
2539
  {
2550
2540
  "kind": "method",
2551
- "name": "openChanged",
2541
+ "name": "getFieldLabel",
2542
+ "privacy": "private",
2552
2543
  "return": {
2553
2544
  "type": {
2554
- "text": "void"
2545
+ "text": "string"
2555
2546
  }
2556
- }
2557
- },
2558
- {
2559
- "kind": "method",
2560
- "name": "handleClickOutside",
2561
- "privacy": "private",
2547
+ },
2562
2548
  "parameters": [
2563
2549
  {
2564
- "name": "event",
2550
+ "name": "fieldName",
2565
2551
  "type": {
2566
- "text": "MouseEvent"
2552
+ "text": "string"
2567
2553
  }
2568
2554
  }
2569
2555
  ]
2570
2556
  },
2571
2557
  {
2572
2558
  "kind": "method",
2573
- "name": "toggleDropdown"
2574
- },
2575
- {
2576
- "kind": "method",
2577
- "name": "refreshStatus",
2559
+ "name": "toggleCriteriaView",
2578
2560
  "return": {
2579
2561
  "type": {
2580
- "text": "Promise<void>"
2562
+ "text": "void"
2581
2563
  }
2582
2564
  }
2583
2565
  },
2584
2566
  {
2585
2567
  "kind": "method",
2586
- "name": "deriveState",
2587
- "privacy": "private",
2568
+ "name": "removeChip",
2588
2569
  "return": {
2589
2570
  "type": {
2590
- "text": "AIIndicatorState"
2571
+ "text": "void"
2591
2572
  }
2592
2573
  },
2593
2574
  "parameters": [
2594
2575
  {
2595
- "name": "s",
2576
+ "name": "groupIndex",
2596
2577
  "type": {
2597
- "text": "AIStatus | null"
2578
+ "text": "number"
2579
+ }
2580
+ },
2581
+ {
2582
+ "name": "clauseIndex",
2583
+ "type": {
2584
+ "text": "number"
2598
2585
  }
2599
2586
  }
2600
2587
  ]
2601
2588
  },
2602
2589
  {
2603
2590
  "kind": "method",
2604
- "name": "maybeStartPolling",
2605
- "privacy": "private",
2591
+ "name": "clearChips",
2606
2592
  "return": {
2607
2593
  "type": {
2608
2594
  "text": "void"
@@ -2611,32 +2597,24 @@
2611
2597
  },
2612
2598
  {
2613
2599
  "kind": "method",
2614
- "name": "startPolling",
2615
- "privacy": "private",
2616
- "return": {
2617
- "type": {
2618
- "text": "void"
2619
- }
2620
- }
2600
+ "name": "handleSubmit"
2621
2601
  },
2622
2602
  {
2623
2603
  "kind": "method",
2624
- "name": "stopPolling",
2625
- "privacy": "private",
2626
- "return": {
2627
- "type": {
2628
- "text": "void"
2629
- }
2630
- }
2604
+ "name": "handleBlur"
2631
2605
  },
2632
2606
  {
2633
2607
  "kind": "method",
2634
- "name": "onInstall",
2635
- "return": {
2636
- "type": {
2637
- "text": "Promise<void>"
2638
- }
2639
- }
2608
+ "name": "clear"
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "toggleSpeechInput"
2613
+ },
2614
+ {
2615
+ "kind": "method",
2616
+ "name": "clearSpeechApplyDebounce",
2617
+ "privacy": "private"
2640
2618
  },
2641
2619
  {
2642
2620
  "kind": "field",
@@ -2750,141 +2728,259 @@
2750
2728
  }
2751
2729
  }
2752
2730
  ],
2731
+ "events": [
2732
+ {
2733
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2734
+ "name": "criteria-changed"
2735
+ },
2736
+ {
2737
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2738
+ "name": "validation-errors"
2739
+ }
2740
+ ],
2741
+ "attributes": [
2742
+ {
2743
+ "name": "placeholder",
2744
+ "type": {
2745
+ "text": "string"
2746
+ },
2747
+ "default": "'Describe your search criteria in natural language...'",
2748
+ "fieldName": "placeholder"
2749
+ },
2750
+ {
2751
+ "type": {
2752
+ "text": "boolean"
2753
+ },
2754
+ "fieldName": "disabled"
2755
+ }
2756
+ ],
2753
2757
  "superclass": {
2754
2758
  "name": "FoundationElement",
2755
2759
  "package": "@microsoft/fast-foundation"
2756
2760
  },
2757
- "tagName": "%%prefix%%-ai-indicator",
2761
+ "tagName": "%%prefix%%-ai-criteria-search",
2758
2762
  "customElement": true
2759
2763
  },
2760
2764
  {
2761
2765
  "kind": "variable",
2762
- "name": "foundationAiIndicator"
2766
+ "name": "foundationAiCriteriaSearchShadowOptions",
2767
+ "type": {
2768
+ "text": "ShadowRootInit"
2769
+ },
2770
+ "default": "undefined"
2771
+ },
2772
+ {
2773
+ "kind": "variable",
2774
+ "name": "defaultAiCriteriaSearchConfig",
2775
+ "type": {
2776
+ "text": "object"
2777
+ },
2778
+ "default": "{}"
2779
+ },
2780
+ {
2781
+ "kind": "variable",
2782
+ "name": "foundationAiCriteriaSearch"
2763
2783
  }
2764
2784
  ],
2765
2785
  "exports": [
2766
2786
  {
2767
2787
  "kind": "js",
2768
- "name": "AiIndicator",
2788
+ "name": "AiCriteriaSearch",
2769
2789
  "declaration": {
2770
- "name": "AiIndicator",
2771
- "module": "src/ai-indicator/ai-indicator.ts"
2790
+ "name": "AiCriteriaSearch",
2791
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2772
2792
  }
2773
2793
  },
2774
2794
  {
2775
2795
  "kind": "js",
2776
- "name": "foundationAiIndicator",
2796
+ "name": "foundationAiCriteriaSearchShadowOptions",
2777
2797
  "declaration": {
2778
- "name": "foundationAiIndicator",
2779
- "module": "src/ai-indicator/ai-indicator.ts"
2798
+ "name": "foundationAiCriteriaSearchShadowOptions",
2799
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2800
+ }
2801
+ },
2802
+ {
2803
+ "kind": "js",
2804
+ "name": "defaultAiCriteriaSearchConfig",
2805
+ "declaration": {
2806
+ "name": "defaultAiCriteriaSearchConfig",
2807
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ }
2809
+ },
2810
+ {
2811
+ "kind": "js",
2812
+ "name": "foundationAiCriteriaSearch",
2813
+ "declaration": {
2814
+ "name": "foundationAiCriteriaSearch",
2815
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2780
2816
  }
2781
2817
  }
2782
2818
  ]
2783
2819
  },
2784
2820
  {
2785
2821
  "kind": "javascript-module",
2786
- "path": "src/ai-indicator/index.ts",
2822
+ "path": "src/ai-criteria-search/index.ts",
2787
2823
  "declarations": [],
2788
2824
  "exports": [
2789
2825
  {
2790
2826
  "kind": "js",
2791
- "name": "AiIndicator",
2827
+ "name": "AiCriteriaSearch",
2792
2828
  "declaration": {
2793
- "name": "AiIndicator",
2794
- "module": "./ai-indicator"
2829
+ "name": "AiCriteriaSearch",
2830
+ "module": "./ai-criteria-search"
2795
2831
  }
2796
2832
  },
2797
2833
  {
2798
2834
  "kind": "js",
2799
- "name": "foundationAiIndicator",
2835
+ "name": "defaultAiCriteriaSearchConfig",
2800
2836
  "declaration": {
2801
- "name": "foundationAiIndicator",
2802
- "module": "./ai-indicator"
2837
+ "name": "defaultAiCriteriaSearchConfig",
2838
+ "module": "./ai-criteria-search"
2803
2839
  }
2804
2840
  },
2805
2841
  {
2806
2842
  "kind": "js",
2807
- "name": "type",
2843
+ "name": "foundationAiCriteriaSearch",
2808
2844
  "declaration": {
2809
- "name": "type",
2810
- "module": "./ai-indicator"
2845
+ "name": "foundationAiCriteriaSearch",
2846
+ "module": "./ai-criteria-search"
2811
2847
  }
2812
2848
  },
2813
2849
  {
2814
2850
  "kind": "js",
2815
- "name": "AIIndicatorState",
2851
+ "name": "foundationAiCriteriaSearchShadowOptions",
2816
2852
  "declaration": {
2817
- "name": "AIIndicatorState",
2818
- "module": "./ai-indicator"
2853
+ "name": "foundationAiCriteriaSearchShadowOptions",
2854
+ "module": "./ai-criteria-search"
2819
2855
  }
2820
2856
  },
2821
2857
  {
2822
2858
  "kind": "js",
2823
- "name": "foundationAiIndicatorTemplate",
2859
+ "name": "foundationAiCriteriaSearchStyles",
2824
2860
  "declaration": {
2825
- "name": "foundationAiIndicatorTemplate",
2826
- "module": "./ai-indicator.template"
2861
+ "name": "foundationAiCriteriaSearchStyles",
2862
+ "module": "./ai-criteria-search.styles"
2827
2863
  }
2828
2864
  },
2829
2865
  {
2830
2866
  "kind": "js",
2831
- "name": "foundationAiIndicatorStyles",
2867
+ "name": "foundationAiCriteriaSearchTemplate",
2832
2868
  "declaration": {
2833
- "name": "foundationAiIndicatorStyles",
2834
- "module": "./ai-indicator.styles"
2869
+ "name": "foundationAiCriteriaSearchTemplate",
2870
+ "module": "./ai-criteria-search.template"
2871
+ }
2872
+ },
2873
+ {
2874
+ "kind": "js",
2875
+ "name": "*",
2876
+ "declaration": {
2877
+ "name": "*",
2878
+ "package": "./validation/criteria-ir"
2879
+ }
2880
+ },
2881
+ {
2882
+ "kind": "js",
2883
+ "name": "*",
2884
+ "declaration": {
2885
+ "name": "*",
2886
+ "package": "./validation/operator-map"
2887
+ }
2888
+ },
2889
+ {
2890
+ "kind": "js",
2891
+ "name": "*",
2892
+ "declaration": {
2893
+ "name": "*",
2894
+ "package": "./validation/schema-validator"
2835
2895
  }
2836
2896
  }
2837
2897
  ]
2838
2898
  },
2839
2899
  {
2840
2900
  "kind": "javascript-module",
2841
- "path": "src/accordion/accordion.styles.ts",
2901
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2842
2902
  "declarations": [
2843
2903
  {
2844
2904
  "kind": "function",
2845
- "name": "foundationAccordionStyles",
2905
+ "name": "formatValidationErrors",
2846
2906
  "return": {
2847
2907
  "type": {
2848
- "text": "ElementStyles"
2908
+ "text": "string"
2849
2909
  }
2850
2910
  },
2851
2911
  "parameters": [
2852
2912
  {
2853
- "name": "context",
2913
+ "name": "errors",
2854
2914
  "type": {
2855
- "text": "ElementDefinitionContext"
2915
+ "text": "ValidationError[]"
2856
2916
  }
2917
+ }
2918
+ ],
2919
+ "description": "Formats validation errors into a user-friendly message."
2920
+ },
2921
+ {
2922
+ "kind": "function",
2923
+ "name": "showCriteriaError",
2924
+ "return": {
2925
+ "type": {
2926
+ "text": "void"
2927
+ }
2928
+ },
2929
+ "parameters": [
2930
+ {
2931
+ "name": "title",
2932
+ "type": {
2933
+ "text": "string"
2934
+ },
2935
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2857
2936
  },
2858
2937
  {
2859
- "name": "definition",
2938
+ "name": "body",
2860
2939
  "type": {
2861
- "text": "FoundationElementDefinition"
2862
- }
2940
+ "text": "string"
2941
+ },
2942
+ "description": "Error message to display"
2943
+ },
2944
+ {
2945
+ "name": "tagName",
2946
+ "type": {
2947
+ "text": "string"
2948
+ },
2949
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2863
2950
  }
2864
- ]
2951
+ ],
2952
+ "description": "Shows a criteria error as a toast notification."
2865
2953
  }
2866
2954
  ],
2867
2955
  "exports": [
2868
2956
  {
2869
2957
  "kind": "js",
2870
- "name": "foundationAccordionStyles",
2958
+ "name": "formatValidationErrors",
2871
2959
  "declaration": {
2872
- "name": "foundationAccordionStyles",
2873
- "module": "src/accordion/accordion.styles.ts"
2960
+ "name": "formatValidationErrors",
2961
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2962
+ }
2963
+ },
2964
+ {
2965
+ "kind": "js",
2966
+ "name": "showCriteriaError",
2967
+ "declaration": {
2968
+ "name": "showCriteriaError",
2969
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2874
2970
  }
2875
2971
  }
2876
2972
  ]
2877
2973
  },
2878
2974
  {
2879
2975
  "kind": "javascript-module",
2880
- "path": "src/accordion/accordion.template.ts",
2976
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2881
2977
  "declarations": [
2882
2978
  {
2883
2979
  "kind": "function",
2884
- "name": "foundationAccordionTemplate",
2980
+ "name": "foundationAiIndicatorStyles",
2885
2981
  "return": {
2886
2982
  "type": {
2887
- "text": "ViewTemplate<Accordion>"
2983
+ "text": "ElementStyles"
2888
2984
  }
2889
2985
  },
2890
2986
  "parameters": [
@@ -2906,237 +3002,224 @@
2906
3002
  "exports": [
2907
3003
  {
2908
3004
  "kind": "js",
2909
- "name": "foundationAccordionTemplate",
3005
+ "name": "foundationAiIndicatorStyles",
2910
3006
  "declaration": {
2911
- "name": "foundationAccordionTemplate",
2912
- "module": "src/accordion/accordion.template.ts"
3007
+ "name": "foundationAiIndicatorStyles",
3008
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2913
3009
  }
2914
3010
  }
2915
3011
  ]
2916
3012
  },
2917
3013
  {
2918
3014
  "kind": "javascript-module",
2919
- "path": "src/accordion/accordion.ts",
3015
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3016
+ "declarations": [
3017
+ {
3018
+ "kind": "variable",
3019
+ "name": "foundationAiIndicatorTemplate",
3020
+ "type": {
3021
+ "text": "ViewTemplate<AiIndicator>"
3022
+ },
3023
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3024
+ }
3025
+ ],
3026
+ "exports": [
3027
+ {
3028
+ "kind": "js",
3029
+ "name": "foundationAiIndicatorTemplate",
3030
+ "declaration": {
3031
+ "name": "foundationAiIndicatorTemplate",
3032
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3033
+ }
3034
+ }
3035
+ ]
3036
+ },
3037
+ {
3038
+ "kind": "javascript-module",
3039
+ "path": "src/ai-indicator/ai-indicator.ts",
2920
3040
  "declarations": [
2921
3041
  {
2922
3042
  "kind": "class",
2923
3043
  "description": "",
2924
- "name": "Accordion",
2925
- "superclass": {
2926
- "name": "FASTAccordion",
2927
- "package": "@microsoft/fast-foundation"
2928
- },
2929
- "tagName": "%%prefix%%-accordion",
2930
- "customElement": true,
2931
- "attributes": [
3044
+ "name": "AiIndicator",
3045
+ "members": [
2932
3046
  {
2933
- "name": "expand-mode",
3047
+ "kind": "field",
3048
+ "name": "providerRegistry",
2934
3049
  "type": {
2935
- "text": "AccordionExpandMode"
2936
- },
2937
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2938
- "fieldName": "expandmode",
2939
- "inheritedFrom": {
2940
- "name": "Accordion",
2941
- "module": "src/accordion/accordion.ts"
3050
+ "text": "AIProviderRegistry"
2942
3051
  }
2943
- }
2944
- ],
2945
- "members": [
3052
+ },
2946
3053
  {
2947
3054
  "kind": "field",
2948
- "name": "expandmode",
3055
+ "name": "aiProvider",
2949
3056
  "type": {
2950
- "text": "AccordionExpandMode"
3057
+ "text": "AIProvider | undefined"
2951
3058
  },
2952
- "privacy": "public",
2953
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
2954
- "inheritedFrom": {
2955
- "name": "Accordion",
2956
- "module": "src/accordion/accordion.ts"
2957
- }
3059
+ "privacy": "private",
3060
+ "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.",
3061
+ "readonly": true
2958
3062
  },
2959
3063
  {
2960
3064
  "kind": "field",
2961
- "name": "activeid",
3065
+ "name": "status",
2962
3066
  "type": {
2963
- "text": "string | null"
3067
+ "text": "AIStatus | null"
2964
3068
  },
2965
- "privacy": "private",
2966
- "inheritedFrom": {
2967
- "name": "Accordion",
2968
- "module": "src/accordion/accordion.ts"
2969
- }
3069
+ "default": "null"
2970
3070
  },
2971
3071
  {
2972
3072
  "kind": "field",
2973
- "name": "activeItemIndex",
3073
+ "name": "open",
2974
3074
  "type": {
2975
- "text": "number"
3075
+ "text": "boolean"
2976
3076
  },
2977
- "privacy": "private",
2978
- "default": "0",
2979
- "inheritedFrom": {
2980
- "name": "Accordion",
2981
- "module": "src/accordion/accordion.ts"
2982
- }
3077
+ "default": "false"
2983
3078
  },
2984
3079
  {
2985
3080
  "kind": "field",
2986
- "name": "accordionIds",
3081
+ "name": "state",
2987
3082
  "type": {
2988
- "text": "Array<string | null>"
3083
+ "text": "AIIndicatorState"
2989
3084
  },
2990
- "privacy": "private",
2991
- "inheritedFrom": {
2992
- "name": "Accordion",
2993
- "module": "src/accordion/accordion.ts"
2994
- }
3085
+ "default": "'none'"
2995
3086
  },
2996
3087
  {
2997
3088
  "kind": "field",
2998
- "name": "change",
2999
- "privacy": "private",
3000
- "inheritedFrom": {
3001
- "name": "Accordion",
3002
- "module": "src/accordion/accordion.ts"
3003
- }
3089
+ "name": "isInstalling",
3090
+ "type": {
3091
+ "text": "boolean"
3092
+ },
3093
+ "default": "false"
3004
3094
  },
3005
3095
  {
3006
- "kind": "method",
3007
- "name": "findExpandedItem",
3096
+ "kind": "field",
3097
+ "name": "pollTimer",
3098
+ "type": {
3099
+ "text": "ReturnType<typeof setInterval> | null"
3100
+ },
3008
3101
  "privacy": "private",
3009
- "return": {
3010
- "type": {
3011
- "text": "AccordionItem | null"
3012
- }
3102
+ "default": "null"
3103
+ },
3104
+ {
3105
+ "kind": "field",
3106
+ "name": "clickOutside",
3107
+ "privacy": "private"
3108
+ },
3109
+ {
3110
+ "kind": "field",
3111
+ "name": "chromeStatusLabel",
3112
+ "type": {
3113
+ "text": "string | null"
3013
3114
  },
3014
- "inheritedFrom": {
3015
- "name": "Accordion",
3016
- "module": "src/accordion/accordion.ts"
3017
- }
3115
+ "readonly": true
3018
3116
  },
3019
3117
  {
3020
3118
  "kind": "field",
3021
- "name": "setItems",
3022
- "privacy": "private",
3023
- "inheritedFrom": {
3024
- "name": "Accordion",
3025
- "module": "src/accordion/accordion.ts"
3026
- }
3119
+ "name": "canInstall",
3120
+ "type": {
3121
+ "text": "boolean"
3122
+ },
3123
+ "readonly": true
3124
+ },
3125
+ {
3126
+ "kind": "field",
3127
+ "name": "isDownloading",
3128
+ "type": {
3129
+ "text": "boolean"
3130
+ },
3131
+ "readonly": true
3027
3132
  },
3028
3133
  {
3029
3134
  "kind": "method",
3030
- "name": "resetItems",
3031
- "privacy": "private",
3135
+ "name": "openChanged",
3032
3136
  "return": {
3033
3137
  "type": {
3034
3138
  "text": "void"
3035
3139
  }
3036
- },
3037
- "inheritedFrom": {
3038
- "name": "Accordion",
3039
- "module": "src/accordion/accordion.ts"
3040
3140
  }
3041
3141
  },
3042
3142
  {
3043
- "kind": "field",
3044
- "name": "removeItemListeners",
3143
+ "kind": "method",
3144
+ "name": "handleClickOutside",
3045
3145
  "privacy": "private",
3046
- "inheritedFrom": {
3047
- "name": "Accordion",
3048
- "module": "src/accordion/accordion.ts"
3049
- }
3146
+ "parameters": [
3147
+ {
3148
+ "name": "event",
3149
+ "type": {
3150
+ "text": "MouseEvent"
3151
+ }
3152
+ }
3153
+ ]
3050
3154
  },
3051
3155
  {
3052
- "kind": "field",
3053
- "name": "activeItemChange",
3054
- "privacy": "private",
3055
- "inheritedFrom": {
3056
- "name": "Accordion",
3057
- "module": "src/accordion/accordion.ts"
3058
- }
3156
+ "kind": "method",
3157
+ "name": "toggleDropdown"
3059
3158
  },
3060
3159
  {
3061
3160
  "kind": "method",
3062
- "name": "getItemIds",
3063
- "privacy": "private",
3161
+ "name": "refreshStatus",
3064
3162
  "return": {
3065
3163
  "type": {
3066
- "text": "Array<string | null>"
3164
+ "text": "Promise<void>"
3067
3165
  }
3068
- },
3069
- "inheritedFrom": {
3070
- "name": "Accordion",
3071
- "module": "src/accordion/accordion.ts"
3072
3166
  }
3073
3167
  },
3074
3168
  {
3075
3169
  "kind": "method",
3076
- "name": "isSingleExpandMode",
3170
+ "name": "deriveState",
3077
3171
  "privacy": "private",
3078
3172
  "return": {
3079
3173
  "type": {
3080
- "text": "boolean"
3174
+ "text": "AIIndicatorState"
3081
3175
  }
3082
3176
  },
3083
- "inheritedFrom": {
3084
- "name": "Accordion",
3085
- "module": "src/accordion/accordion.ts"
3086
- }
3177
+ "parameters": [
3178
+ {
3179
+ "name": "s",
3180
+ "type": {
3181
+ "text": "AIStatus | null"
3182
+ }
3183
+ }
3184
+ ]
3087
3185
  },
3088
3186
  {
3089
- "kind": "field",
3090
- "name": "handleItemKeyDown",
3187
+ "kind": "method",
3188
+ "name": "maybeStartPolling",
3091
3189
  "privacy": "private",
3092
- "inheritedFrom": {
3093
- "name": "Accordion",
3094
- "module": "src/accordion/accordion.ts"
3190
+ "return": {
3191
+ "type": {
3192
+ "text": "void"
3193
+ }
3095
3194
  }
3096
3195
  },
3097
3196
  {
3098
- "kind": "field",
3099
- "name": "handleItemFocus",
3197
+ "kind": "method",
3198
+ "name": "startPolling",
3100
3199
  "privacy": "private",
3101
- "inheritedFrom": {
3102
- "name": "Accordion",
3103
- "module": "src/accordion/accordion.ts"
3200
+ "return": {
3201
+ "type": {
3202
+ "text": "void"
3203
+ }
3104
3204
  }
3105
3205
  },
3106
3206
  {
3107
3207
  "kind": "method",
3108
- "name": "adjust",
3208
+ "name": "stopPolling",
3109
3209
  "privacy": "private",
3110
3210
  "return": {
3111
3211
  "type": {
3112
3212
  "text": "void"
3113
3213
  }
3114
- },
3115
- "parameters": [
3116
- {
3117
- "name": "adjustment",
3118
- "type": {
3119
- "text": "number"
3120
- }
3121
- }
3122
- ],
3123
- "inheritedFrom": {
3124
- "name": "Accordion",
3125
- "module": "src/accordion/accordion.ts"
3126
3214
  }
3127
3215
  },
3128
3216
  {
3129
3217
  "kind": "method",
3130
- "name": "focusItem",
3131
- "privacy": "private",
3218
+ "name": "onInstall",
3132
3219
  "return": {
3133
3220
  "type": {
3134
- "text": "void"
3221
+ "text": "Promise<void>"
3135
3222
  }
3136
- },
3137
- "inheritedFrom": {
3138
- "name": "Accordion",
3139
- "module": "src/accordion/accordion.ts"
3140
3223
  }
3141
3224
  },
3142
3225
  {
@@ -3251,217 +3334,291 @@
3251
3334
  }
3252
3335
  }
3253
3336
  ],
3254
- "events": [
3255
- {
3256
- "description": "Fires a custom 'change' event when the active item changes",
3257
- "name": "change",
3258
- "inheritedFrom": {
3259
- "name": "Accordion",
3260
- "module": "src/accordion/accordion.ts"
3261
- }
3262
- }
3263
- ]
3264
- },
3265
- {
3266
- "kind": "variable",
3267
- "name": "foundationAccordionShadowOptions",
3268
- "type": {
3269
- "text": "ShadowRootInit"
3270
- },
3271
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3272
- },
3273
- {
3274
- "kind": "variable",
3275
- "name": "defaultAccordionConfig",
3276
- "type": {
3277
- "text": "object"
3337
+ "superclass": {
3338
+ "name": "FoundationElement",
3339
+ "package": "@microsoft/fast-foundation"
3278
3340
  },
3279
- "default": "{}"
3341
+ "tagName": "%%prefix%%-ai-indicator",
3342
+ "customElement": true
3280
3343
  },
3281
3344
  {
3282
3345
  "kind": "variable",
3283
- "name": "foundationAccordion",
3284
- "description": "The Foundation Accordion",
3285
- "privacy": "public"
3346
+ "name": "foundationAiIndicator"
3286
3347
  }
3287
3348
  ],
3288
3349
  "exports": [
3289
3350
  {
3290
3351
  "kind": "js",
3291
- "name": "Accordion",
3352
+ "name": "AiIndicator",
3292
3353
  "declaration": {
3293
- "name": "Accordion",
3294
- "module": "src/accordion/accordion.ts"
3354
+ "name": "AiIndicator",
3355
+ "module": "src/ai-indicator/ai-indicator.ts"
3295
3356
  }
3296
3357
  },
3297
3358
  {
3298
3359
  "kind": "js",
3299
- "name": "foundationAccordionShadowOptions",
3360
+ "name": "foundationAiIndicator",
3300
3361
  "declaration": {
3301
- "name": "foundationAccordionShadowOptions",
3302
- "module": "src/accordion/accordion.ts"
3362
+ "name": "foundationAiIndicator",
3363
+ "module": "src/ai-indicator/ai-indicator.ts"
3364
+ }
3365
+ }
3366
+ ]
3367
+ },
3368
+ {
3369
+ "kind": "javascript-module",
3370
+ "path": "src/ai-indicator/index.ts",
3371
+ "declarations": [],
3372
+ "exports": [
3373
+ {
3374
+ "kind": "js",
3375
+ "name": "AiIndicator",
3376
+ "declaration": {
3377
+ "name": "AiIndicator",
3378
+ "module": "./ai-indicator"
3303
3379
  }
3304
3380
  },
3305
3381
  {
3306
3382
  "kind": "js",
3307
- "name": "defaultAccordionConfig",
3383
+ "name": "foundationAiIndicator",
3308
3384
  "declaration": {
3309
- "name": "defaultAccordionConfig",
3310
- "module": "src/accordion/accordion.ts"
3385
+ "name": "foundationAiIndicator",
3386
+ "module": "./ai-indicator"
3311
3387
  }
3312
3388
  },
3313
3389
  {
3314
3390
  "kind": "js",
3315
- "name": "foundationAccordion",
3391
+ "name": "type",
3316
3392
  "declaration": {
3317
- "name": "foundationAccordion",
3318
- "module": "src/accordion/accordion.ts"
3393
+ "name": "type",
3394
+ "module": "./ai-indicator"
3319
3395
  }
3320
- }
3321
- ]
3322
- },
3323
- {
3324
- "kind": "javascript-module",
3325
- "path": "src/accordion/index.ts",
3326
- "declarations": [],
3327
- "exports": [
3396
+ },
3328
3397
  {
3329
3398
  "kind": "js",
3330
- "name": "*",
3399
+ "name": "AIIndicatorState",
3331
3400
  "declaration": {
3332
- "name": "*",
3333
- "package": "./accordion.template"
3401
+ "name": "AIIndicatorState",
3402
+ "module": "./ai-indicator"
3334
3403
  }
3335
3404
  },
3336
3405
  {
3337
3406
  "kind": "js",
3338
- "name": "*",
3407
+ "name": "foundationAiIndicatorTemplate",
3339
3408
  "declaration": {
3340
- "name": "*",
3341
- "package": "./accordion.styles"
3409
+ "name": "foundationAiIndicatorTemplate",
3410
+ "module": "./ai-indicator.template"
3342
3411
  }
3343
3412
  },
3344
3413
  {
3345
3414
  "kind": "js",
3346
- "name": "*",
3415
+ "name": "foundationAiIndicatorStyles",
3347
3416
  "declaration": {
3348
- "name": "*",
3349
- "package": "./accordion"
3417
+ "name": "foundationAiIndicatorStyles",
3418
+ "module": "./ai-indicator.styles"
3350
3419
  }
3351
3420
  }
3352
3421
  ]
3353
3422
  },
3354
3423
  {
3355
3424
  "kind": "javascript-module",
3356
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3425
+ "path": "src/actions-menu/actions-menu.styles.ts",
3357
3426
  "declarations": [
3358
3427
  {
3359
- "kind": "variable",
3360
- "name": "foundationAiCriteriaSearchStyles",
3361
- "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`"
3428
+ "kind": "function",
3429
+ "name": "actionsMenuBaseStyles",
3430
+ "return": {
3431
+ "type": {
3432
+ "text": "ElementStyles"
3433
+ }
3434
+ },
3435
+ "parameters": [
3436
+ {
3437
+ "name": "context",
3438
+ "type": {
3439
+ "text": "ElementDefinitionContext"
3440
+ }
3441
+ },
3442
+ {
3443
+ "name": "definition",
3444
+ "type": {
3445
+ "text": "FoundationElementDefinition"
3446
+ }
3447
+ }
3448
+ ]
3449
+ },
3450
+ {
3451
+ "kind": "function",
3452
+ "name": "foundationActionsMenuStyles",
3453
+ "return": {
3454
+ "type": {
3455
+ "text": "ElementStyles"
3456
+ }
3457
+ },
3458
+ "parameters": [
3459
+ {
3460
+ "name": "context",
3461
+ "type": {
3462
+ "text": "ElementDefinitionContext"
3463
+ }
3464
+ },
3465
+ {
3466
+ "name": "definition",
3467
+ "type": {
3468
+ "text": "FoundationElementDefinition"
3469
+ }
3470
+ }
3471
+ ]
3362
3472
  }
3363
3473
  ],
3364
3474
  "exports": [
3365
3475
  {
3366
3476
  "kind": "js",
3367
- "name": "foundationAiCriteriaSearchStyles",
3477
+ "name": "actionsMenuBaseStyles",
3368
3478
  "declaration": {
3369
- "name": "foundationAiCriteriaSearchStyles",
3370
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3479
+ "name": "actionsMenuBaseStyles",
3480
+ "module": "src/actions-menu/actions-menu.styles.ts"
3481
+ }
3482
+ },
3483
+ {
3484
+ "kind": "js",
3485
+ "name": "foundationActionsMenuStyles",
3486
+ "declaration": {
3487
+ "name": "foundationActionsMenuStyles",
3488
+ "module": "src/actions-menu/actions-menu.styles.ts"
3371
3489
  }
3372
3490
  }
3373
3491
  ]
3374
3492
  },
3375
3493
  {
3376
3494
  "kind": "javascript-module",
3377
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3495
+ "path": "src/actions-menu/actions-menu.template.ts",
3378
3496
  "declarations": [
3497
+ {
3498
+ "kind": "function",
3499
+ "name": "menuTemplate",
3500
+ "parameters": [
3501
+ {
3502
+ "name": "prefix",
3503
+ "type": {
3504
+ "text": "string"
3505
+ }
3506
+ }
3507
+ ]
3508
+ },
3509
+ {
3510
+ "kind": "function",
3511
+ "name": "singleOptionTemplate",
3512
+ "parameters": [
3513
+ {
3514
+ "name": "prefix",
3515
+ "type": {
3516
+ "text": "string"
3517
+ }
3518
+ }
3519
+ ]
3520
+ },
3379
3521
  {
3380
3522
  "kind": "variable",
3381
- "name": "foundationAiCriteriaSearchTemplate",
3523
+ "name": "foundationActionsMenuTemplate",
3382
3524
  "type": {
3383
- "text": "ViewTemplate<AiCriteriaSearch>"
3525
+ "text": "ViewTemplate<ActionsMenu>"
3384
3526
  },
3385
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3527
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3386
3528
  }
3387
3529
  ],
3388
3530
  "exports": [
3389
3531
  {
3390
3532
  "kind": "js",
3391
- "name": "foundationAiCriteriaSearchTemplate",
3533
+ "name": "menuTemplate",
3392
3534
  "declaration": {
3393
- "name": "foundationAiCriteriaSearchTemplate",
3394
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3535
+ "name": "menuTemplate",
3536
+ "module": "src/actions-menu/actions-menu.template.ts"
3537
+ }
3538
+ },
3539
+ {
3540
+ "kind": "js",
3541
+ "name": "singleOptionTemplate",
3542
+ "declaration": {
3543
+ "name": "singleOptionTemplate",
3544
+ "module": "src/actions-menu/actions-menu.template.ts"
3545
+ }
3546
+ },
3547
+ {
3548
+ "kind": "js",
3549
+ "name": "foundationActionsMenuTemplate",
3550
+ "declaration": {
3551
+ "name": "foundationActionsMenuTemplate",
3552
+ "module": "src/actions-menu/actions-menu.template.ts"
3395
3553
  }
3396
3554
  }
3397
3555
  ]
3398
3556
  },
3399
3557
  {
3400
3558
  "kind": "javascript-module",
3401
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3559
+ "path": "src/actions-menu/actions-menu.ts",
3402
3560
  "declarations": [
3403
3561
  {
3404
3562
  "kind": "class",
3405
- "description": "Natural-language criteria search input with AI interpretation.",
3406
- "name": "AiCriteriaSearch",
3563
+ "description": "",
3564
+ "name": "ActionsMenu",
3407
3565
  "members": [
3408
3566
  {
3409
3567
  "kind": "field",
3410
- "name": "providerRegistry",
3568
+ "name": "actions",
3411
3569
  "type": {
3412
- "text": "AIProviderRegistry"
3570
+ "text": "ActionMenuItem[]"
3413
3571
  }
3414
3572
  },
3415
3573
  {
3416
3574
  "kind": "field",
3417
- "name": "placeholder",
3575
+ "name": "isVertical",
3418
3576
  "type": {
3419
- "text": "string"
3577
+ "text": "boolean"
3420
3578
  },
3421
- "default": "'Describe your search criteria in natural language...'"
3579
+ "default": "false"
3422
3580
  },
3423
3581
  {
3424
3582
  "kind": "field",
3425
- "name": "disabled",
3583
+ "name": "addDefaultActions",
3426
3584
  "type": {
3427
3585
  "text": "boolean"
3428
- }
3586
+ },
3587
+ "default": "true"
3429
3588
  },
3430
3589
  {
3431
3590
  "kind": "field",
3432
- "name": "inputValue",
3591
+ "name": "autoCloseOnAction",
3433
3592
  "type": {
3434
- "text": "string"
3593
+ "text": "boolean"
3435
3594
  },
3436
- "default": "''"
3595
+ "default": "true"
3437
3596
  },
3438
3597
  {
3439
3598
  "kind": "field",
3440
- "name": "isInterpreting",
3599
+ "name": "classNames",
3441
3600
  "type": {
3442
- "text": "boolean"
3443
- },
3444
- "default": "false"
3601
+ "text": "string"
3602
+ }
3445
3603
  },
3446
3604
  {
3447
3605
  "kind": "field",
3448
- "name": "lastValidCriteria",
3606
+ "name": "definition",
3449
3607
  "type": {
3450
- "text": "string | null"
3451
- },
3452
- "default": "null"
3608
+ "text": "any"
3609
+ }
3453
3610
  },
3454
3611
  {
3455
3612
  "kind": "field",
3456
- "name": "activeGroups",
3613
+ "name": "name",
3457
3614
  "type": {
3458
- "text": "CriteriaGroup[]"
3615
+ "text": "string"
3459
3616
  },
3460
- "default": "[]"
3617
+ "default": "'Actions'"
3461
3618
  },
3462
3619
  {
3463
3620
  "kind": "field",
3464
- "name": "showingChips",
3621
+ "name": "open",
3465
3622
  "type": {
3466
3623
  "text": "boolean"
3467
3624
  },
@@ -3469,15 +3626,14 @@
3469
3626
  },
3470
3627
  {
3471
3628
  "kind": "field",
3472
- "name": "fieldMetadata",
3629
+ "name": "buttonAppearance",
3473
3630
  "type": {
3474
- "text": "MetadataDetail[] | string[]"
3475
- },
3476
- "default": "[]"
3631
+ "text": "string"
3632
+ }
3477
3633
  },
3478
3634
  {
3479
3635
  "kind": "field",
3480
- "name": "isRecording",
3636
+ "name": "hideDisabled",
3481
3637
  "type": {
3482
3638
  "text": "boolean"
3483
3639
  },
@@ -3485,125 +3641,114 @@
3485
3641
  },
3486
3642
  {
3487
3643
  "kind": "field",
3488
- "name": "textAreaRef",
3489
- "type": {
3490
- "text": "HTMLTextAreaElement"
3491
- },
3492
- "privacy": "public"
3493
- },
3494
- {
3495
- "kind": "field",
3496
- "name": "stopRecording",
3644
+ "name": "hideMenuSingleOption",
3497
3645
  "type": {
3498
- "text": "(() => void) | null"
3646
+ "text": "boolean"
3499
3647
  },
3500
- "privacy": "private",
3501
- "default": "null"
3648
+ "default": "false"
3502
3649
  },
3503
3650
  {
3504
3651
  "kind": "field",
3505
- "name": "speechApplyDebounceTimer",
3652
+ "name": "singleOption",
3506
3653
  "type": {
3507
- "text": "ReturnType<typeof setTimeout> | null"
3508
- },
3509
- "privacy": "private",
3510
- "default": "null"
3654
+ "text": "ActionMenuItem"
3655
+ }
3511
3656
  },
3512
3657
  {
3513
3658
  "kind": "field",
3514
- "name": "speechAvailable",
3659
+ "name": "actionsMenu",
3515
3660
  "type": {
3516
- "text": "boolean"
3517
- },
3518
- "readonly": true
3661
+ "text": "HTMLElement"
3662
+ }
3519
3663
  },
3520
3664
  {
3521
3665
  "kind": "field",
3522
- "name": "criteriaChips",
3666
+ "name": "actionsOpener",
3523
3667
  "type": {
3524
- "text": "CriteriaChip[]"
3525
- },
3526
- "readonly": true
3527
- },
3528
- {
3529
- "kind": "method",
3530
- "name": "getFieldLabel",
3531
- "privacy": "private",
3532
- "return": {
3533
- "type": {
3534
- "text": "string"
3535
- }
3536
- },
3537
- "parameters": [
3538
- {
3539
- "name": "fieldName",
3540
- "type": {
3541
- "text": "string"
3542
- }
3543
- }
3544
- ]
3668
+ "text": "HTMLElement"
3669
+ }
3545
3670
  },
3546
3671
  {
3547
3672
  "kind": "method",
3548
- "name": "toggleCriteriaView",
3549
- "return": {
3550
- "type": {
3551
- "text": "void"
3552
- }
3553
- }
3673
+ "name": "updateMenuPosition",
3674
+ "privacy": "private"
3554
3675
  },
3555
3676
  {
3556
3677
  "kind": "method",
3557
- "name": "removeChip",
3558
- "return": {
3559
- "type": {
3560
- "text": "void"
3561
- }
3562
- },
3678
+ "name": "definitionChanged",
3679
+ "privacy": "protected",
3563
3680
  "parameters": [
3564
3681
  {
3565
- "name": "groupIndex",
3682
+ "name": "oldValue",
3566
3683
  "type": {
3567
- "text": "number"
3684
+ "text": "any"
3568
3685
  }
3569
3686
  },
3570
3687
  {
3571
- "name": "clauseIndex",
3688
+ "name": "newValue",
3572
3689
  "type": {
3573
- "text": "number"
3690
+ "text": "any"
3574
3691
  }
3575
3692
  }
3576
3693
  ]
3577
3694
  },
3578
3695
  {
3579
3696
  "kind": "method",
3580
- "name": "clearChips",
3581
- "return": {
3582
- "type": {
3583
- "text": "void"
3584
- }
3585
- }
3697
+ "name": "openChanged",
3698
+ "privacy": "protected"
3586
3699
  },
3587
3700
  {
3588
3701
  "kind": "method",
3589
- "name": "handleSubmit"
3702
+ "name": "toggleActionsMenuVisibility"
3590
3703
  },
3591
3704
  {
3592
3705
  "kind": "method",
3593
- "name": "handleBlur"
3706
+ "name": "onActionMenuItemClick",
3707
+ "parameters": [
3708
+ {
3709
+ "name": "callback",
3710
+ "type": {
3711
+ "text": "(rowData) => void | any"
3712
+ }
3713
+ }
3714
+ ]
3594
3715
  },
3595
3716
  {
3596
- "kind": "method",
3597
- "name": "clear"
3717
+ "kind": "field",
3718
+ "name": "allActions",
3719
+ "type": {
3720
+ "text": "ActionMenuItem[]"
3721
+ },
3722
+ "readonly": true
3723
+ },
3724
+ {
3725
+ "kind": "field",
3726
+ "name": "rowData",
3727
+ "readonly": true
3598
3728
  },
3599
3729
  {
3600
3730
  "kind": "method",
3601
- "name": "toggleSpeechInput"
3731
+ "name": "getLabel",
3732
+ "parameters": [
3733
+ {
3734
+ "name": "name",
3735
+ "type": {
3736
+ "text": "string | ((rowData: any) => string)"
3737
+ }
3738
+ }
3739
+ ]
3602
3740
  },
3603
3741
  {
3604
3742
  "kind": "method",
3605
- "name": "clearSpeechApplyDebounce",
3606
- "privacy": "private"
3743
+ "name": "getTemplate",
3744
+ "parameters": [
3745
+ {
3746
+ "name": "prefix",
3747
+ "type": {
3748
+ "text": "string"
3749
+ }
3750
+ }
3751
+ ]
3607
3752
  },
3608
3753
  {
3609
3754
  "kind": "field",
@@ -3717,252 +3862,107 @@
3717
3862
  }
3718
3863
  }
3719
3864
  ],
3720
- "events": [
3721
- {
3722
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3723
- "name": "criteria-changed"
3724
- },
3725
- {
3726
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3727
- "name": "validation-errors"
3728
- }
3729
- ],
3730
3865
  "attributes": [
3731
3866
  {
3732
- "name": "placeholder",
3867
+ "name": "is-vertical",
3733
3868
  "type": {
3734
- "text": "string"
3869
+ "text": "boolean"
3735
3870
  },
3736
- "default": "'Describe your search criteria in natural language...'",
3737
- "fieldName": "placeholder"
3871
+ "default": "false",
3872
+ "fieldName": "isVertical"
3738
3873
  },
3739
3874
  {
3875
+ "name": "add-default-actions",
3740
3876
  "type": {
3741
3877
  "text": "boolean"
3742
3878
  },
3743
- "fieldName": "disabled"
3744
- }
3745
- ],
3746
- "superclass": {
3747
- "name": "FoundationElement",
3748
- "package": "@microsoft/fast-foundation"
3749
- },
3750
- "tagName": "%%prefix%%-ai-criteria-search",
3751
- "customElement": true
3752
- },
3753
- {
3754
- "kind": "variable",
3755
- "name": "foundationAiCriteriaSearchShadowOptions",
3756
- "type": {
3757
- "text": "ShadowRootInit"
3758
- },
3759
- "default": "undefined"
3760
- },
3761
- {
3762
- "kind": "variable",
3763
- "name": "defaultAiCriteriaSearchConfig",
3764
- "type": {
3765
- "text": "object"
3766
- },
3767
- "default": "{}"
3768
- },
3769
- {
3770
- "kind": "variable",
3771
- "name": "foundationAiCriteriaSearch"
3772
- }
3773
- ],
3774
- "exports": [
3775
- {
3776
- "kind": "js",
3777
- "name": "AiCriteriaSearch",
3778
- "declaration": {
3779
- "name": "AiCriteriaSearch",
3780
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3781
- }
3782
- },
3783
- {
3784
- "kind": "js",
3785
- "name": "foundationAiCriteriaSearchShadowOptions",
3786
- "declaration": {
3787
- "name": "foundationAiCriteriaSearchShadowOptions",
3788
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3789
- }
3790
- },
3791
- {
3792
- "kind": "js",
3793
- "name": "defaultAiCriteriaSearchConfig",
3794
- "declaration": {
3795
- "name": "defaultAiCriteriaSearchConfig",
3796
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3797
- }
3798
- },
3799
- {
3800
- "kind": "js",
3801
- "name": "foundationAiCriteriaSearch",
3802
- "declaration": {
3803
- "name": "foundationAiCriteriaSearch",
3804
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3805
- }
3806
- }
3807
- ]
3808
- },
3809
- {
3810
- "kind": "javascript-module",
3811
- "path": "src/ai-criteria-search/index.ts",
3812
- "declarations": [],
3813
- "exports": [
3814
- {
3815
- "kind": "js",
3816
- "name": "AiCriteriaSearch",
3817
- "declaration": {
3818
- "name": "AiCriteriaSearch",
3819
- "module": "./ai-criteria-search"
3820
- }
3821
- },
3822
- {
3823
- "kind": "js",
3824
- "name": "defaultAiCriteriaSearchConfig",
3825
- "declaration": {
3826
- "name": "defaultAiCriteriaSearchConfig",
3827
- "module": "./ai-criteria-search"
3828
- }
3829
- },
3830
- {
3831
- "kind": "js",
3832
- "name": "foundationAiCriteriaSearch",
3833
- "declaration": {
3834
- "name": "foundationAiCriteriaSearch",
3835
- "module": "./ai-criteria-search"
3836
- }
3837
- },
3838
- {
3839
- "kind": "js",
3840
- "name": "foundationAiCriteriaSearchShadowOptions",
3841
- "declaration": {
3842
- "name": "foundationAiCriteriaSearchShadowOptions",
3843
- "module": "./ai-criteria-search"
3844
- }
3845
- },
3846
- {
3847
- "kind": "js",
3848
- "name": "foundationAiCriteriaSearchStyles",
3849
- "declaration": {
3850
- "name": "foundationAiCriteriaSearchStyles",
3851
- "module": "./ai-criteria-search.styles"
3852
- }
3853
- },
3854
- {
3855
- "kind": "js",
3856
- "name": "foundationAiCriteriaSearchTemplate",
3857
- "declaration": {
3858
- "name": "foundationAiCriteriaSearchTemplate",
3859
- "module": "./ai-criteria-search.template"
3860
- }
3861
- },
3862
- {
3863
- "kind": "js",
3864
- "name": "*",
3865
- "declaration": {
3866
- "name": "*",
3867
- "package": "./validation/criteria-ir"
3868
- }
3869
- },
3870
- {
3871
- "kind": "js",
3872
- "name": "*",
3873
- "declaration": {
3874
- "name": "*",
3875
- "package": "./validation/operator-map"
3876
- }
3877
- },
3878
- {
3879
- "kind": "js",
3880
- "name": "*",
3881
- "declaration": {
3882
- "name": "*",
3883
- "package": "./validation/schema-validator"
3884
- }
3885
- }
3886
- ]
3887
- },
3888
- {
3889
- "kind": "javascript-module",
3890
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3891
- "declarations": [
3892
- {
3893
- "kind": "function",
3894
- "name": "formatValidationErrors",
3895
- "return": {
3896
- "type": {
3897
- "text": "string"
3898
- }
3899
- },
3900
- "parameters": [
3879
+ "default": "true",
3880
+ "fieldName": "addDefaultActions"
3881
+ },
3901
3882
  {
3902
- "name": "errors",
3883
+ "name": "auto-close-on-action",
3903
3884
  "type": {
3904
- "text": "ValidationError[]"
3905
- }
3906
- }
3907
- ],
3908
- "description": "Formats validation errors into a user-friendly message."
3909
- },
3910
- {
3911
- "kind": "function",
3912
- "name": "showCriteriaError",
3913
- "return": {
3914
- "type": {
3915
- "text": "void"
3916
- }
3917
- },
3918
- "parameters": [
3885
+ "text": "boolean"
3886
+ },
3887
+ "default": "true",
3888
+ "fieldName": "autoCloseOnAction"
3889
+ },
3919
3890
  {
3920
- "name": "title",
3891
+ "name": "name",
3921
3892
  "type": {
3922
3893
  "text": "string"
3923
3894
  },
3924
- "description": "Notification title (e.g. \"Criteria validation error\")"
3895
+ "default": "'Actions'",
3896
+ "fieldName": "name"
3925
3897
  },
3926
3898
  {
3927
- "name": "body",
3899
+ "name": "open",
3928
3900
  "type": {
3929
- "text": "string"
3901
+ "text": "boolean"
3930
3902
  },
3931
- "description": "Error message to display"
3903
+ "default": "false",
3904
+ "fieldName": "open"
3932
3905
  },
3933
3906
  {
3934
- "name": "tagName",
3907
+ "name": "buttonAppearance",
3935
3908
  "type": {
3936
3909
  "text": "string"
3937
3910
  },
3938
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3911
+ "fieldName": "buttonAppearance"
3912
+ },
3913
+ {
3914
+ "name": "hide-disabled",
3915
+ "type": {
3916
+ "text": "boolean"
3917
+ },
3918
+ "default": "false",
3919
+ "fieldName": "hideDisabled"
3920
+ },
3921
+ {
3922
+ "name": "hide-menu-single-option",
3923
+ "type": {
3924
+ "text": "boolean"
3925
+ },
3926
+ "default": "false",
3927
+ "fieldName": "hideMenuSingleOption"
3939
3928
  }
3940
3929
  ],
3941
- "description": "Shows a criteria error as a toast notification."
3930
+ "superclass": {
3931
+ "name": "FoundationElement",
3932
+ "package": "@microsoft/fast-foundation"
3933
+ },
3934
+ "tagName": "%%prefix%%-actions-menu",
3935
+ "customElement": true
3936
+ },
3937
+ {
3938
+ "kind": "variable",
3939
+ "name": "foundationActionsMenu",
3940
+ "description": "The Foundation Actions Menu",
3941
+ "privacy": "public"
3942
3942
  }
3943
3943
  ],
3944
3944
  "exports": [
3945
3945
  {
3946
3946
  "kind": "js",
3947
- "name": "formatValidationErrors",
3947
+ "name": "ActionsMenu",
3948
3948
  "declaration": {
3949
- "name": "formatValidationErrors",
3950
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3949
+ "name": "ActionsMenu",
3950
+ "module": "src/actions-menu/actions-menu.ts"
3951
3951
  }
3952
3952
  },
3953
3953
  {
3954
3954
  "kind": "js",
3955
- "name": "showCriteriaError",
3955
+ "name": "foundationActionsMenu",
3956
3956
  "declaration": {
3957
- "name": "showCriteriaError",
3958
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3957
+ "name": "foundationActionsMenu",
3958
+ "module": "src/actions-menu/actions-menu.ts"
3959
3959
  }
3960
3960
  }
3961
3961
  ]
3962
3962
  },
3963
3963
  {
3964
3964
  "kind": "javascript-module",
3965
- "path": "src/_config/index.ts",
3965
+ "path": "src/actions-menu/index.ts",
3966
3966
  "declarations": [],
3967
3967
  "exports": [
3968
3968
  {
@@ -3970,7 +3970,7 @@
3970
3970
  "name": "*",
3971
3971
  "declaration": {
3972
3972
  "name": "*",
3973
- "package": "./styles"
3973
+ "package": "./actions-menu.styles"
3974
3974
  }
3975
3975
  },
3976
3976
  {
@@ -3978,7 +3978,7 @@
3978
3978
  "name": "*",
3979
3979
  "declaration": {
3980
3980
  "name": "*",
3981
- "package": "./tokens"
3981
+ "package": "./actions-menu.template"
3982
3982
  }
3983
3983
  },
3984
3984
  {
@@ -3986,7 +3986,7 @@
3986
3986
  "name": "*",
3987
3987
  "declaration": {
3988
3988
  "name": "*",
3989
- "package": "./values"
3989
+ "package": "./actions-menu"
3990
3990
  }
3991
3991
  }
3992
3992
  ]
@@ -33910,14 +33910,6 @@
33910
33910
  "name": "*",
33911
33911
  "package": "./number-field"
33912
33912
  }
33913
- },
33914
- {
33915
- "kind": "js",
33916
- "name": "toIntlNumberFormat",
33917
- "declaration": {
33918
- "name": "toIntlNumberFormat",
33919
- "module": "./utils"
33920
- }
33921
33913
  }
33922
33914
  ]
33923
33915
  },
@@ -59924,197 +59916,6 @@
59924
59916
  }
59925
59917
  ]
59926
59918
  },
59927
- {
59928
- "kind": "javascript-module",
59929
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
59930
- "declarations": [],
59931
- "exports": []
59932
- },
59933
- {
59934
- "kind": "javascript-module",
59935
- "path": "src/ai-criteria-search/validation/operator-map.ts",
59936
- "declarations": [
59937
- {
59938
- "kind": "function",
59939
- "name": "groupsToCriteria",
59940
- "return": {
59941
- "type": {
59942
- "text": "string"
59943
- }
59944
- },
59945
- "parameters": [
59946
- {
59947
- "name": "groups",
59948
- "type": {
59949
- "text": "CriteriaGroup[]"
59950
- }
59951
- }
59952
- ],
59953
- "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."
59954
- },
59955
- {
59956
- "kind": "variable",
59957
- "name": "STRING_OPERATORS",
59958
- "type": {
59959
- "text": "CriteriaOperator[]"
59960
- },
59961
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
59962
- },
59963
- {
59964
- "kind": "variable",
59965
- "name": "NUMERIC_OPERATORS",
59966
- "type": {
59967
- "text": "CriteriaOperator[]"
59968
- },
59969
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
59970
- },
59971
- {
59972
- "kind": "variable",
59973
- "name": "DATE_OPERATORS",
59974
- "type": {
59975
- "text": "CriteriaOperator[]"
59976
- },
59977
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
59978
- },
59979
- {
59980
- "kind": "variable",
59981
- "name": "DATETIME_OPERATORS",
59982
- "type": {
59983
- "text": "CriteriaOperator[]"
59984
- },
59985
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
59986
- },
59987
- {
59988
- "kind": "variable",
59989
- "name": "OPERATOR_DISPLAY_LABEL",
59990
- "type": {
59991
- "text": "Record<CriteriaOperator, string>"
59992
- },
59993
- "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}"
59994
- }
59995
- ],
59996
- "exports": [
59997
- {
59998
- "kind": "js",
59999
- "name": "groupsToCriteria",
60000
- "declaration": {
60001
- "name": "groupsToCriteria",
60002
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60003
- }
60004
- },
60005
- {
60006
- "kind": "js",
60007
- "name": "STRING_OPERATORS",
60008
- "declaration": {
60009
- "name": "STRING_OPERATORS",
60010
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60011
- }
60012
- },
60013
- {
60014
- "kind": "js",
60015
- "name": "NUMERIC_OPERATORS",
60016
- "declaration": {
60017
- "name": "NUMERIC_OPERATORS",
60018
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60019
- }
60020
- },
60021
- {
60022
- "kind": "js",
60023
- "name": "DATE_OPERATORS",
60024
- "declaration": {
60025
- "name": "DATE_OPERATORS",
60026
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60027
- }
60028
- },
60029
- {
60030
- "kind": "js",
60031
- "name": "DATETIME_OPERATORS",
60032
- "declaration": {
60033
- "name": "DATETIME_OPERATORS",
60034
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60035
- }
60036
- },
60037
- {
60038
- "kind": "js",
60039
- "name": "OPERATOR_DISPLAY_LABEL",
60040
- "declaration": {
60041
- "name": "OPERATOR_DISPLAY_LABEL",
60042
- "module": "src/ai-criteria-search/validation/operator-map.ts"
60043
- }
60044
- }
60045
- ]
60046
- },
60047
- {
60048
- "kind": "javascript-module",
60049
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
60050
- "declarations": [
60051
- {
60052
- "kind": "function",
60053
- "name": "validateClauses",
60054
- "return": {
60055
- "type": {
60056
- "text": "ValidationResult"
60057
- }
60058
- },
60059
- "parameters": [
60060
- {
60061
- "name": "clauses",
60062
- "type": {
60063
- "text": "CriteriaClause[]"
60064
- }
60065
- },
60066
- {
60067
- "name": "fieldMetadata",
60068
- "type": {
60069
- "text": "MetadataDetail[] | string[]"
60070
- }
60071
- }
60072
- ]
60073
- },
60074
- {
60075
- "kind": "function",
60076
- "name": "validateGroups",
60077
- "return": {
60078
- "type": {
60079
- "text": "GroupsValidationResult"
60080
- }
60081
- },
60082
- "parameters": [
60083
- {
60084
- "name": "groups",
60085
- "type": {
60086
- "text": "CriteriaGroup[]"
60087
- }
60088
- },
60089
- {
60090
- "name": "fieldMetadata",
60091
- "type": {
60092
- "text": "MetadataDetail[] | string[]"
60093
- }
60094
- }
60095
- ],
60096
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60097
- }
60098
- ],
60099
- "exports": [
60100
- {
60101
- "kind": "js",
60102
- "name": "validateClauses",
60103
- "declaration": {
60104
- "name": "validateClauses",
60105
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60106
- }
60107
- },
60108
- {
60109
- "kind": "js",
60110
- "name": "validateGroups",
60111
- "declaration": {
60112
- "name": "validateGroups",
60113
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
60114
- }
60115
- }
60116
- ]
60117
- },
60118
59919
  {
60119
59920
  "kind": "javascript-module",
60120
59921
  "path": "src/_config/styles/colors.ts",
@@ -61487,6 +61288,197 @@
61487
61288
  "declarations": [],
61488
61289
  "exports": []
61489
61290
  },
61291
+ {
61292
+ "kind": "javascript-module",
61293
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61294
+ "declarations": [],
61295
+ "exports": []
61296
+ },
61297
+ {
61298
+ "kind": "javascript-module",
61299
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
61300
+ "declarations": [
61301
+ {
61302
+ "kind": "function",
61303
+ "name": "groupsToCriteria",
61304
+ "return": {
61305
+ "type": {
61306
+ "text": "string"
61307
+ }
61308
+ },
61309
+ "parameters": [
61310
+ {
61311
+ "name": "groups",
61312
+ "type": {
61313
+ "text": "CriteriaGroup[]"
61314
+ }
61315
+ }
61316
+ ],
61317
+ "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."
61318
+ },
61319
+ {
61320
+ "kind": "variable",
61321
+ "name": "STRING_OPERATORS",
61322
+ "type": {
61323
+ "text": "CriteriaOperator[]"
61324
+ },
61325
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61326
+ },
61327
+ {
61328
+ "kind": "variable",
61329
+ "name": "NUMERIC_OPERATORS",
61330
+ "type": {
61331
+ "text": "CriteriaOperator[]"
61332
+ },
61333
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61334
+ },
61335
+ {
61336
+ "kind": "variable",
61337
+ "name": "DATE_OPERATORS",
61338
+ "type": {
61339
+ "text": "CriteriaOperator[]"
61340
+ },
61341
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61342
+ },
61343
+ {
61344
+ "kind": "variable",
61345
+ "name": "DATETIME_OPERATORS",
61346
+ "type": {
61347
+ "text": "CriteriaOperator[]"
61348
+ },
61349
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61350
+ },
61351
+ {
61352
+ "kind": "variable",
61353
+ "name": "OPERATOR_DISPLAY_LABEL",
61354
+ "type": {
61355
+ "text": "Record<CriteriaOperator, string>"
61356
+ },
61357
+ "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}"
61358
+ }
61359
+ ],
61360
+ "exports": [
61361
+ {
61362
+ "kind": "js",
61363
+ "name": "groupsToCriteria",
61364
+ "declaration": {
61365
+ "name": "groupsToCriteria",
61366
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61367
+ }
61368
+ },
61369
+ {
61370
+ "kind": "js",
61371
+ "name": "STRING_OPERATORS",
61372
+ "declaration": {
61373
+ "name": "STRING_OPERATORS",
61374
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61375
+ }
61376
+ },
61377
+ {
61378
+ "kind": "js",
61379
+ "name": "NUMERIC_OPERATORS",
61380
+ "declaration": {
61381
+ "name": "NUMERIC_OPERATORS",
61382
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61383
+ }
61384
+ },
61385
+ {
61386
+ "kind": "js",
61387
+ "name": "DATE_OPERATORS",
61388
+ "declaration": {
61389
+ "name": "DATE_OPERATORS",
61390
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61391
+ }
61392
+ },
61393
+ {
61394
+ "kind": "js",
61395
+ "name": "DATETIME_OPERATORS",
61396
+ "declaration": {
61397
+ "name": "DATETIME_OPERATORS",
61398
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61399
+ }
61400
+ },
61401
+ {
61402
+ "kind": "js",
61403
+ "name": "OPERATOR_DISPLAY_LABEL",
61404
+ "declaration": {
61405
+ "name": "OPERATOR_DISPLAY_LABEL",
61406
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
61407
+ }
61408
+ }
61409
+ ]
61410
+ },
61411
+ {
61412
+ "kind": "javascript-module",
61413
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
61414
+ "declarations": [
61415
+ {
61416
+ "kind": "function",
61417
+ "name": "validateClauses",
61418
+ "return": {
61419
+ "type": {
61420
+ "text": "ValidationResult"
61421
+ }
61422
+ },
61423
+ "parameters": [
61424
+ {
61425
+ "name": "clauses",
61426
+ "type": {
61427
+ "text": "CriteriaClause[]"
61428
+ }
61429
+ },
61430
+ {
61431
+ "name": "fieldMetadata",
61432
+ "type": {
61433
+ "text": "MetadataDetail[] | string[]"
61434
+ }
61435
+ }
61436
+ ]
61437
+ },
61438
+ {
61439
+ "kind": "function",
61440
+ "name": "validateGroups",
61441
+ "return": {
61442
+ "type": {
61443
+ "text": "GroupsValidationResult"
61444
+ }
61445
+ },
61446
+ "parameters": [
61447
+ {
61448
+ "name": "groups",
61449
+ "type": {
61450
+ "text": "CriteriaGroup[]"
61451
+ }
61452
+ },
61453
+ {
61454
+ "name": "fieldMetadata",
61455
+ "type": {
61456
+ "text": "MetadataDetail[] | string[]"
61457
+ }
61458
+ }
61459
+ ],
61460
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61461
+ }
61462
+ ],
61463
+ "exports": [
61464
+ {
61465
+ "kind": "js",
61466
+ "name": "validateClauses",
61467
+ "declaration": {
61468
+ "name": "validateClauses",
61469
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61470
+ }
61471
+ },
61472
+ {
61473
+ "kind": "js",
61474
+ "name": "validateGroups",
61475
+ "declaration": {
61476
+ "name": "validateGroups",
61477
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
61478
+ }
61479
+ }
61480
+ ]
61481
+ },
61490
61482
  {
61491
61483
  "kind": "javascript-module",
61492
61484
  "path": "src/environment-indicator/utils/configure.ts",