@genesislcap/foundation-ui 14.492.0 → 14.492.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.
@@ -1408,34 +1408,42 @@
1408
1408
  },
1409
1409
  {
1410
1410
  "kind": "javascript-module",
1411
- "path": "src/actions-menu/actions-menu.styles.ts",
1412
- "declarations": [
1411
+ "path": "src/_config/index.ts",
1412
+ "declarations": [],
1413
+ "exports": [
1413
1414
  {
1414
- "kind": "function",
1415
- "name": "actionsMenuBaseStyles",
1416
- "return": {
1417
- "type": {
1418
- "text": "ElementStyles"
1419
- }
1420
- },
1421
- "parameters": [
1422
- {
1423
- "name": "context",
1424
- "type": {
1425
- "text": "ElementDefinitionContext"
1426
- }
1427
- },
1428
- {
1429
- "name": "definition",
1430
- "type": {
1431
- "text": "FoundationElementDefinition"
1432
- }
1433
- }
1434
- ]
1415
+ "kind": "js",
1416
+ "name": "*",
1417
+ "declaration": {
1418
+ "name": "*",
1419
+ "package": "./styles"
1420
+ }
1435
1421
  },
1422
+ {
1423
+ "kind": "js",
1424
+ "name": "*",
1425
+ "declaration": {
1426
+ "name": "*",
1427
+ "package": "./tokens"
1428
+ }
1429
+ },
1430
+ {
1431
+ "kind": "js",
1432
+ "name": "*",
1433
+ "declaration": {
1434
+ "name": "*",
1435
+ "package": "./values"
1436
+ }
1437
+ }
1438
+ ]
1439
+ },
1440
+ {
1441
+ "kind": "javascript-module",
1442
+ "path": "src/accordion/accordion.styles.ts",
1443
+ "declarations": [
1436
1444
  {
1437
1445
  "kind": "function",
1438
- "name": "foundationActionsMenuStyles",
1446
+ "name": "foundationAccordionStyles",
1439
1447
  "return": {
1440
1448
  "type": {
1441
1449
  "text": "ElementStyles"
@@ -1460,269 +1468,277 @@
1460
1468
  "exports": [
1461
1469
  {
1462
1470
  "kind": "js",
1463
- "name": "actionsMenuBaseStyles",
1464
- "declaration": {
1465
- "name": "actionsMenuBaseStyles",
1466
- "module": "src/actions-menu/actions-menu.styles.ts"
1467
- }
1468
- },
1469
- {
1470
- "kind": "js",
1471
- "name": "foundationActionsMenuStyles",
1471
+ "name": "foundationAccordionStyles",
1472
1472
  "declaration": {
1473
- "name": "foundationActionsMenuStyles",
1474
- "module": "src/actions-menu/actions-menu.styles.ts"
1473
+ "name": "foundationAccordionStyles",
1474
+ "module": "src/accordion/accordion.styles.ts"
1475
1475
  }
1476
1476
  }
1477
1477
  ]
1478
1478
  },
1479
1479
  {
1480
1480
  "kind": "javascript-module",
1481
- "path": "src/actions-menu/actions-menu.template.ts",
1481
+ "path": "src/accordion/accordion.template.ts",
1482
1482
  "declarations": [
1483
1483
  {
1484
1484
  "kind": "function",
1485
- "name": "menuTemplate",
1485
+ "name": "foundationAccordionTemplate",
1486
+ "return": {
1487
+ "type": {
1488
+ "text": "ViewTemplate<Accordion>"
1489
+ }
1490
+ },
1486
1491
  "parameters": [
1487
1492
  {
1488
- "name": "prefix",
1493
+ "name": "context",
1489
1494
  "type": {
1490
- "text": "string"
1495
+ "text": "ElementDefinitionContext"
1491
1496
  }
1492
- }
1493
- ]
1494
- },
1495
- {
1496
- "kind": "function",
1497
- "name": "singleOptionTemplate",
1498
- "parameters": [
1497
+ },
1499
1498
  {
1500
- "name": "prefix",
1499
+ "name": "definition",
1501
1500
  "type": {
1502
- "text": "string"
1501
+ "text": "FoundationElementDefinition"
1503
1502
  }
1504
1503
  }
1505
1504
  ]
1506
- },
1507
- {
1508
- "kind": "variable",
1509
- "name": "foundationActionsMenuTemplate",
1510
- "type": {
1511
- "text": "ViewTemplate<ActionsMenu>"
1512
- },
1513
- "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`"
1514
1505
  }
1515
1506
  ],
1516
1507
  "exports": [
1517
1508
  {
1518
1509
  "kind": "js",
1519
- "name": "menuTemplate",
1520
- "declaration": {
1521
- "name": "menuTemplate",
1522
- "module": "src/actions-menu/actions-menu.template.ts"
1523
- }
1524
- },
1525
- {
1526
- "kind": "js",
1527
- "name": "singleOptionTemplate",
1528
- "declaration": {
1529
- "name": "singleOptionTemplate",
1530
- "module": "src/actions-menu/actions-menu.template.ts"
1531
- }
1532
- },
1533
- {
1534
- "kind": "js",
1535
- "name": "foundationActionsMenuTemplate",
1510
+ "name": "foundationAccordionTemplate",
1536
1511
  "declaration": {
1537
- "name": "foundationActionsMenuTemplate",
1538
- "module": "src/actions-menu/actions-menu.template.ts"
1512
+ "name": "foundationAccordionTemplate",
1513
+ "module": "src/accordion/accordion.template.ts"
1539
1514
  }
1540
1515
  }
1541
1516
  ]
1542
1517
  },
1543
1518
  {
1544
1519
  "kind": "javascript-module",
1545
- "path": "src/actions-menu/actions-menu.ts",
1520
+ "path": "src/accordion/accordion.ts",
1546
1521
  "declarations": [
1547
1522
  {
1548
1523
  "kind": "class",
1549
1524
  "description": "",
1550
- "name": "ActionsMenu",
1551
- "members": [
1525
+ "name": "Accordion",
1526
+ "superclass": {
1527
+ "name": "FASTAccordion",
1528
+ "package": "@microsoft/fast-foundation"
1529
+ },
1530
+ "tagName": "%%prefix%%-accordion",
1531
+ "customElement": true,
1532
+ "attributes": [
1552
1533
  {
1553
- "kind": "field",
1554
- "name": "actions",
1534
+ "name": "expand-mode",
1555
1535
  "type": {
1556
- "text": "ActionMenuItem[]"
1536
+ "text": "AccordionExpandMode"
1537
+ },
1538
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1539
+ "fieldName": "expandmode",
1540
+ "inheritedFrom": {
1541
+ "name": "Accordion",
1542
+ "module": "src/accordion/accordion.ts"
1557
1543
  }
1558
- },
1544
+ }
1545
+ ],
1546
+ "members": [
1559
1547
  {
1560
1548
  "kind": "field",
1561
- "name": "isVertical",
1549
+ "name": "expandmode",
1562
1550
  "type": {
1563
- "text": "boolean"
1551
+ "text": "AccordionExpandMode"
1564
1552
  },
1565
- "default": "false"
1553
+ "privacy": "public",
1554
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1555
+ "inheritedFrom": {
1556
+ "name": "Accordion",
1557
+ "module": "src/accordion/accordion.ts"
1558
+ }
1566
1559
  },
1567
1560
  {
1568
1561
  "kind": "field",
1569
- "name": "addDefaultActions",
1562
+ "name": "activeid",
1570
1563
  "type": {
1571
- "text": "boolean"
1564
+ "text": "string | null"
1572
1565
  },
1573
- "default": "true"
1566
+ "privacy": "private",
1567
+ "inheritedFrom": {
1568
+ "name": "Accordion",
1569
+ "module": "src/accordion/accordion.ts"
1570
+ }
1574
1571
  },
1575
1572
  {
1576
1573
  "kind": "field",
1577
- "name": "autoCloseOnAction",
1574
+ "name": "activeItemIndex",
1578
1575
  "type": {
1579
- "text": "boolean"
1576
+ "text": "number"
1580
1577
  },
1581
- "default": "true"
1582
- },
1583
- {
1584
- "kind": "field",
1585
- "name": "classNames",
1586
- "type": {
1587
- "text": "string"
1578
+ "privacy": "private",
1579
+ "default": "0",
1580
+ "inheritedFrom": {
1581
+ "name": "Accordion",
1582
+ "module": "src/accordion/accordion.ts"
1588
1583
  }
1589
1584
  },
1590
1585
  {
1591
1586
  "kind": "field",
1592
- "name": "definition",
1587
+ "name": "accordionIds",
1593
1588
  "type": {
1594
- "text": "any"
1589
+ "text": "Array<string | null>"
1590
+ },
1591
+ "privacy": "private",
1592
+ "inheritedFrom": {
1593
+ "name": "Accordion",
1594
+ "module": "src/accordion/accordion.ts"
1595
1595
  }
1596
1596
  },
1597
1597
  {
1598
1598
  "kind": "field",
1599
- "name": "name",
1600
- "type": {
1601
- "text": "string"
1602
- },
1603
- "default": "'Actions'"
1599
+ "name": "change",
1600
+ "privacy": "private",
1601
+ "inheritedFrom": {
1602
+ "name": "Accordion",
1603
+ "module": "src/accordion/accordion.ts"
1604
+ }
1604
1605
  },
1605
1606
  {
1606
- "kind": "field",
1607
- "name": "open",
1608
- "type": {
1609
- "text": "boolean"
1607
+ "kind": "method",
1608
+ "name": "findExpandedItem",
1609
+ "privacy": "private",
1610
+ "return": {
1611
+ "type": {
1612
+ "text": "AccordionItem | null"
1613
+ }
1610
1614
  },
1611
- "default": "false"
1612
- },
1613
- {
1614
- "kind": "field",
1615
- "name": "buttonAppearance",
1616
- "type": {
1617
- "text": "string"
1615
+ "inheritedFrom": {
1616
+ "name": "Accordion",
1617
+ "module": "src/accordion/accordion.ts"
1618
1618
  }
1619
1619
  },
1620
1620
  {
1621
1621
  "kind": "field",
1622
- "name": "hideDisabled",
1623
- "type": {
1624
- "text": "boolean"
1625
- },
1626
- "default": "false"
1622
+ "name": "setItems",
1623
+ "privacy": "private",
1624
+ "inheritedFrom": {
1625
+ "name": "Accordion",
1626
+ "module": "src/accordion/accordion.ts"
1627
+ }
1627
1628
  },
1628
1629
  {
1629
- "kind": "field",
1630
- "name": "hideMenuSingleOption",
1631
- "type": {
1632
- "text": "boolean"
1630
+ "kind": "method",
1631
+ "name": "resetItems",
1632
+ "privacy": "private",
1633
+ "return": {
1634
+ "type": {
1635
+ "text": "void"
1636
+ }
1633
1637
  },
1634
- "default": "false"
1638
+ "inheritedFrom": {
1639
+ "name": "Accordion",
1640
+ "module": "src/accordion/accordion.ts"
1641
+ }
1635
1642
  },
1636
1643
  {
1637
1644
  "kind": "field",
1638
- "name": "singleOption",
1639
- "type": {
1640
- "text": "ActionMenuItem"
1645
+ "name": "removeItemListeners",
1646
+ "privacy": "private",
1647
+ "inheritedFrom": {
1648
+ "name": "Accordion",
1649
+ "module": "src/accordion/accordion.ts"
1641
1650
  }
1642
1651
  },
1643
1652
  {
1644
1653
  "kind": "field",
1645
- "name": "actionsMenu",
1646
- "type": {
1647
- "text": "HTMLElement"
1654
+ "name": "activeItemChange",
1655
+ "privacy": "private",
1656
+ "inheritedFrom": {
1657
+ "name": "Accordion",
1658
+ "module": "src/accordion/accordion.ts"
1648
1659
  }
1649
1660
  },
1650
1661
  {
1651
1662
  "kind": "method",
1652
- "name": "definitionChanged",
1653
- "privacy": "protected",
1654
- "parameters": [
1655
- {
1656
- "name": "oldValue",
1657
- "type": {
1658
- "text": "any"
1659
- }
1660
- },
1661
- {
1662
- "name": "newValue",
1663
- "type": {
1664
- "text": "any"
1665
- }
1663
+ "name": "getItemIds",
1664
+ "privacy": "private",
1665
+ "return": {
1666
+ "type": {
1667
+ "text": "Array<string | null>"
1666
1668
  }
1667
- ]
1668
- },
1669
- {
1670
- "kind": "method",
1671
- "name": "openChanged",
1672
- "privacy": "protected"
1673
- },
1674
- {
1675
- "kind": "method",
1676
- "name": "toggleActionsMenuVisibility"
1669
+ },
1670
+ "inheritedFrom": {
1671
+ "name": "Accordion",
1672
+ "module": "src/accordion/accordion.ts"
1673
+ }
1677
1674
  },
1678
1675
  {
1679
1676
  "kind": "method",
1680
- "name": "onActionMenuItemClick",
1681
- "parameters": [
1682
- {
1683
- "name": "callback",
1684
- "type": {
1685
- "text": "(rowData) => void | any"
1686
- }
1677
+ "name": "isSingleExpandMode",
1678
+ "privacy": "private",
1679
+ "return": {
1680
+ "type": {
1681
+ "text": "boolean"
1687
1682
  }
1688
- ]
1683
+ },
1684
+ "inheritedFrom": {
1685
+ "name": "Accordion",
1686
+ "module": "src/accordion/accordion.ts"
1687
+ }
1689
1688
  },
1690
1689
  {
1691
1690
  "kind": "field",
1692
- "name": "allActions",
1693
- "type": {
1694
- "text": "ActionMenuItem[]"
1695
- },
1696
- "readonly": true
1691
+ "name": "handleItemKeyDown",
1692
+ "privacy": "private",
1693
+ "inheritedFrom": {
1694
+ "name": "Accordion",
1695
+ "module": "src/accordion/accordion.ts"
1696
+ }
1697
1697
  },
1698
1698
  {
1699
1699
  "kind": "field",
1700
- "name": "rowData",
1701
- "readonly": true
1700
+ "name": "handleItemFocus",
1701
+ "privacy": "private",
1702
+ "inheritedFrom": {
1703
+ "name": "Accordion",
1704
+ "module": "src/accordion/accordion.ts"
1705
+ }
1702
1706
  },
1703
1707
  {
1704
1708
  "kind": "method",
1705
- "name": "getLabel",
1709
+ "name": "adjust",
1710
+ "privacy": "private",
1711
+ "return": {
1712
+ "type": {
1713
+ "text": "void"
1714
+ }
1715
+ },
1706
1716
  "parameters": [
1707
1717
  {
1708
- "name": "name",
1718
+ "name": "adjustment",
1709
1719
  "type": {
1710
- "text": "string | ((rowData: any) => string)"
1720
+ "text": "number"
1711
1721
  }
1712
1722
  }
1713
- ]
1723
+ ],
1724
+ "inheritedFrom": {
1725
+ "name": "Accordion",
1726
+ "module": "src/accordion/accordion.ts"
1727
+ }
1714
1728
  },
1715
1729
  {
1716
1730
  "kind": "method",
1717
- "name": "getTemplate",
1718
- "parameters": [
1719
- {
1720
- "name": "prefix",
1721
- "type": {
1722
- "text": "string"
1723
- }
1731
+ "name": "focusItem",
1732
+ "privacy": "private",
1733
+ "return": {
1734
+ "type": {
1735
+ "text": "void"
1724
1736
  }
1725
- ]
1737
+ },
1738
+ "inheritedFrom": {
1739
+ "name": "Accordion",
1740
+ "module": "src/accordion/accordion.ts"
1741
+ }
1726
1742
  },
1727
1743
  {
1728
1744
  "kind": "field",
@@ -1836,107 +1852,78 @@
1836
1852
  }
1837
1853
  }
1838
1854
  ],
1839
- "attributes": [
1840
- {
1841
- "name": "is-vertical",
1842
- "type": {
1843
- "text": "boolean"
1844
- },
1845
- "default": "false",
1846
- "fieldName": "isVertical"
1847
- },
1848
- {
1849
- "name": "add-default-actions",
1850
- "type": {
1851
- "text": "boolean"
1852
- },
1853
- "default": "true",
1854
- "fieldName": "addDefaultActions"
1855
- },
1856
- {
1857
- "name": "auto-close-on-action",
1858
- "type": {
1859
- "text": "boolean"
1860
- },
1861
- "default": "true",
1862
- "fieldName": "autoCloseOnAction"
1863
- },
1864
- {
1865
- "name": "name",
1866
- "type": {
1867
- "text": "string"
1868
- },
1869
- "default": "'Actions'",
1870
- "fieldName": "name"
1871
- },
1872
- {
1873
- "name": "open",
1874
- "type": {
1875
- "text": "boolean"
1876
- },
1877
- "default": "false",
1878
- "fieldName": "open"
1879
- },
1880
- {
1881
- "name": "buttonAppearance",
1882
- "type": {
1883
- "text": "string"
1884
- },
1885
- "fieldName": "buttonAppearance"
1886
- },
1887
- {
1888
- "name": "hide-disabled",
1889
- "type": {
1890
- "text": "boolean"
1891
- },
1892
- "default": "false",
1893
- "fieldName": "hideDisabled"
1894
- },
1855
+ "events": [
1895
1856
  {
1896
- "name": "hide-menu-single-option",
1897
- "type": {
1898
- "text": "boolean"
1899
- },
1900
- "default": "false",
1901
- "fieldName": "hideMenuSingleOption"
1857
+ "description": "Fires a custom 'change' event when the active item changes",
1858
+ "name": "change",
1859
+ "inheritedFrom": {
1860
+ "name": "Accordion",
1861
+ "module": "src/accordion/accordion.ts"
1862
+ }
1902
1863
  }
1903
- ],
1904
- "superclass": {
1905
- "name": "FoundationElement",
1906
- "package": "@microsoft/fast-foundation"
1864
+ ]
1865
+ },
1866
+ {
1867
+ "kind": "variable",
1868
+ "name": "foundationAccordionShadowOptions",
1869
+ "type": {
1870
+ "text": "ShadowRootInit"
1907
1871
  },
1908
- "tagName": "%%prefix%%-actions-menu",
1909
- "customElement": true
1872
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1910
1873
  },
1911
1874
  {
1912
1875
  "kind": "variable",
1913
- "name": "foundationActionsMenu",
1914
- "description": "The Foundation Actions Menu",
1876
+ "name": "defaultAccordionConfig",
1877
+ "type": {
1878
+ "text": "object"
1879
+ },
1880
+ "default": "{}"
1881
+ },
1882
+ {
1883
+ "kind": "variable",
1884
+ "name": "foundationAccordion",
1885
+ "description": "The Foundation Accordion",
1915
1886
  "privacy": "public"
1916
1887
  }
1917
1888
  ],
1918
1889
  "exports": [
1919
1890
  {
1920
1891
  "kind": "js",
1921
- "name": "ActionsMenu",
1892
+ "name": "Accordion",
1922
1893
  "declaration": {
1923
- "name": "ActionsMenu",
1924
- "module": "src/actions-menu/actions-menu.ts"
1894
+ "name": "Accordion",
1895
+ "module": "src/accordion/accordion.ts"
1925
1896
  }
1926
1897
  },
1927
1898
  {
1928
1899
  "kind": "js",
1929
- "name": "foundationActionsMenu",
1900
+ "name": "foundationAccordionShadowOptions",
1930
1901
  "declaration": {
1931
- "name": "foundationActionsMenu",
1932
- "module": "src/actions-menu/actions-menu.ts"
1902
+ "name": "foundationAccordionShadowOptions",
1903
+ "module": "src/accordion/accordion.ts"
1904
+ }
1905
+ },
1906
+ {
1907
+ "kind": "js",
1908
+ "name": "defaultAccordionConfig",
1909
+ "declaration": {
1910
+ "name": "defaultAccordionConfig",
1911
+ "module": "src/accordion/accordion.ts"
1912
+ }
1913
+ },
1914
+ {
1915
+ "kind": "js",
1916
+ "name": "foundationAccordion",
1917
+ "declaration": {
1918
+ "name": "foundationAccordion",
1919
+ "module": "src/accordion/accordion.ts"
1933
1920
  }
1934
1921
  }
1935
1922
  ]
1936
1923
  },
1937
1924
  {
1938
1925
  "kind": "javascript-module",
1939
- "path": "src/actions-menu/index.ts",
1926
+ "path": "src/accordion/index.ts",
1940
1927
  "declarations": [],
1941
1928
  "exports": [
1942
1929
  {
@@ -1944,7 +1931,7 @@
1944
1931
  "name": "*",
1945
1932
  "declaration": {
1946
1933
  "name": "*",
1947
- "package": "./actions-menu.styles"
1934
+ "package": "./accordion.template"
1948
1935
  }
1949
1936
  },
1950
1937
  {
@@ -1952,7 +1939,7 @@
1952
1939
  "name": "*",
1953
1940
  "declaration": {
1954
1941
  "name": "*",
1955
- "package": "./actions-menu.template"
1942
+ "package": "./accordion.styles"
1956
1943
  }
1957
1944
  },
1958
1945
  {
@@ -1960,7 +1947,7 @@
1960
1947
  "name": "*",
1961
1948
  "declaration": {
1962
1949
  "name": "*",
1963
- "package": "./actions-menu"
1950
+ "package": "./accordion"
1964
1951
  }
1965
1952
  }
1966
1953
  ]
@@ -2361,131 +2348,203 @@
2361
2348
  },
2362
2349
  {
2363
2350
  "kind": "javascript-module",
2364
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2351
+ "path": "src/actions-menu/actions-menu.styles.ts",
2365
2352
  "declarations": [
2366
2353
  {
2367
- "kind": "variable",
2368
- "name": "foundationAiCriteriaSearchStyles",
2369
- "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`"
2354
+ "kind": "function",
2355
+ "name": "actionsMenuBaseStyles",
2356
+ "return": {
2357
+ "type": {
2358
+ "text": "ElementStyles"
2359
+ }
2360
+ },
2361
+ "parameters": [
2362
+ {
2363
+ "name": "context",
2364
+ "type": {
2365
+ "text": "ElementDefinitionContext"
2366
+ }
2367
+ },
2368
+ {
2369
+ "name": "definition",
2370
+ "type": {
2371
+ "text": "FoundationElementDefinition"
2372
+ }
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "function",
2378
+ "name": "foundationActionsMenuStyles",
2379
+ "return": {
2380
+ "type": {
2381
+ "text": "ElementStyles"
2382
+ }
2383
+ },
2384
+ "parameters": [
2385
+ {
2386
+ "name": "context",
2387
+ "type": {
2388
+ "text": "ElementDefinitionContext"
2389
+ }
2390
+ },
2391
+ {
2392
+ "name": "definition",
2393
+ "type": {
2394
+ "text": "FoundationElementDefinition"
2395
+ }
2396
+ }
2397
+ ]
2370
2398
  }
2371
2399
  ],
2372
2400
  "exports": [
2373
2401
  {
2374
2402
  "kind": "js",
2375
- "name": "foundationAiCriteriaSearchStyles",
2403
+ "name": "actionsMenuBaseStyles",
2376
2404
  "declaration": {
2377
- "name": "foundationAiCriteriaSearchStyles",
2378
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2405
+ "name": "actionsMenuBaseStyles",
2406
+ "module": "src/actions-menu/actions-menu.styles.ts"
2407
+ }
2408
+ },
2409
+ {
2410
+ "kind": "js",
2411
+ "name": "foundationActionsMenuStyles",
2412
+ "declaration": {
2413
+ "name": "foundationActionsMenuStyles",
2414
+ "module": "src/actions-menu/actions-menu.styles.ts"
2379
2415
  }
2380
2416
  }
2381
2417
  ]
2382
2418
  },
2383
2419
  {
2384
2420
  "kind": "javascript-module",
2385
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2421
+ "path": "src/actions-menu/actions-menu.template.ts",
2386
2422
  "declarations": [
2423
+ {
2424
+ "kind": "function",
2425
+ "name": "menuTemplate",
2426
+ "parameters": [
2427
+ {
2428
+ "name": "prefix",
2429
+ "type": {
2430
+ "text": "string"
2431
+ }
2432
+ }
2433
+ ]
2434
+ },
2435
+ {
2436
+ "kind": "function",
2437
+ "name": "singleOptionTemplate",
2438
+ "parameters": [
2439
+ {
2440
+ "name": "prefix",
2441
+ "type": {
2442
+ "text": "string"
2443
+ }
2444
+ }
2445
+ ]
2446
+ },
2387
2447
  {
2388
2448
  "kind": "variable",
2389
- "name": "foundationAiCriteriaSearchTemplate",
2449
+ "name": "foundationActionsMenuTemplate",
2390
2450
  "type": {
2391
- "text": "ViewTemplate<AiCriteriaSearch>"
2451
+ "text": "ViewTemplate<ActionsMenu>"
2392
2452
  },
2393
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2453
+ "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`"
2394
2454
  }
2395
2455
  ],
2396
2456
  "exports": [
2397
2457
  {
2398
2458
  "kind": "js",
2399
- "name": "foundationAiCriteriaSearchTemplate",
2459
+ "name": "menuTemplate",
2400
2460
  "declaration": {
2401
- "name": "foundationAiCriteriaSearchTemplate",
2402
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2461
+ "name": "menuTemplate",
2462
+ "module": "src/actions-menu/actions-menu.template.ts"
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "js",
2467
+ "name": "singleOptionTemplate",
2468
+ "declaration": {
2469
+ "name": "singleOptionTemplate",
2470
+ "module": "src/actions-menu/actions-menu.template.ts"
2471
+ }
2472
+ },
2473
+ {
2474
+ "kind": "js",
2475
+ "name": "foundationActionsMenuTemplate",
2476
+ "declaration": {
2477
+ "name": "foundationActionsMenuTemplate",
2478
+ "module": "src/actions-menu/actions-menu.template.ts"
2403
2479
  }
2404
2480
  }
2405
2481
  ]
2406
2482
  },
2407
2483
  {
2408
2484
  "kind": "javascript-module",
2409
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2485
+ "path": "src/actions-menu/actions-menu.ts",
2410
2486
  "declarations": [
2411
2487
  {
2412
2488
  "kind": "class",
2413
- "description": "Natural-language criteria search input with AI interpretation.",
2414
- "name": "AiCriteriaSearch",
2489
+ "description": "",
2490
+ "name": "ActionsMenu",
2415
2491
  "members": [
2416
2492
  {
2417
2493
  "kind": "field",
2418
- "name": "providerRegistry",
2494
+ "name": "actions",
2419
2495
  "type": {
2420
- "text": "AIProviderRegistry"
2496
+ "text": "ActionMenuItem[]"
2421
2497
  }
2422
2498
  },
2423
2499
  {
2424
2500
  "kind": "field",
2425
- "name": "placeholder",
2426
- "type": {
2427
- "text": "string"
2428
- },
2429
- "default": "'Describe your search criteria in natural language...'"
2430
- },
2431
- {
2432
- "kind": "field",
2433
- "name": "disabled",
2501
+ "name": "isVertical",
2434
2502
  "type": {
2435
2503
  "text": "boolean"
2436
- }
2437
- },
2438
- {
2439
- "kind": "field",
2440
- "name": "inputValue",
2441
- "type": {
2442
- "text": "string"
2443
2504
  },
2444
- "default": "''"
2505
+ "default": "false"
2445
2506
  },
2446
2507
  {
2447
2508
  "kind": "field",
2448
- "name": "isInterpreting",
2509
+ "name": "addDefaultActions",
2449
2510
  "type": {
2450
2511
  "text": "boolean"
2451
2512
  },
2452
- "default": "false"
2513
+ "default": "true"
2453
2514
  },
2454
2515
  {
2455
2516
  "kind": "field",
2456
- "name": "lastValidCriteria",
2517
+ "name": "autoCloseOnAction",
2457
2518
  "type": {
2458
- "text": "string | null"
2519
+ "text": "boolean"
2459
2520
  },
2460
- "default": "null"
2521
+ "default": "true"
2461
2522
  },
2462
2523
  {
2463
2524
  "kind": "field",
2464
- "name": "activeGroups",
2525
+ "name": "classNames",
2465
2526
  "type": {
2466
- "text": "CriteriaGroup[]"
2467
- },
2468
- "default": "[]"
2527
+ "text": "string"
2528
+ }
2469
2529
  },
2470
2530
  {
2471
2531
  "kind": "field",
2472
- "name": "showingChips",
2532
+ "name": "definition",
2473
2533
  "type": {
2474
- "text": "boolean"
2475
- },
2476
- "default": "false"
2534
+ "text": "any"
2535
+ }
2477
2536
  },
2478
2537
  {
2479
2538
  "kind": "field",
2480
- "name": "fieldMetadata",
2539
+ "name": "name",
2481
2540
  "type": {
2482
- "text": "MetadataDetail[] | string[]"
2541
+ "text": "string"
2483
2542
  },
2484
- "default": "[]"
2543
+ "default": "'Actions'"
2485
2544
  },
2486
2545
  {
2487
2546
  "kind": "field",
2488
- "name": "isRecording",
2547
+ "name": "open",
2489
2548
  "type": {
2490
2549
  "text": "boolean"
2491
2550
  },
@@ -2493,125 +2552,117 @@
2493
2552
  },
2494
2553
  {
2495
2554
  "kind": "field",
2496
- "name": "textAreaRef",
2555
+ "name": "buttonAppearance",
2497
2556
  "type": {
2498
- "text": "HTMLTextAreaElement"
2499
- },
2500
- "privacy": "public"
2557
+ "text": "string"
2558
+ }
2501
2559
  },
2502
2560
  {
2503
2561
  "kind": "field",
2504
- "name": "stopRecording",
2562
+ "name": "hideDisabled",
2505
2563
  "type": {
2506
- "text": "(() => void) | null"
2564
+ "text": "boolean"
2507
2565
  },
2508
- "privacy": "private",
2509
- "default": "null"
2566
+ "default": "false"
2510
2567
  },
2511
2568
  {
2512
2569
  "kind": "field",
2513
- "name": "speechApplyDebounceTimer",
2570
+ "name": "hideMenuSingleOption",
2514
2571
  "type": {
2515
- "text": "ReturnType<typeof setTimeout> | null"
2572
+ "text": "boolean"
2516
2573
  },
2517
- "privacy": "private",
2518
- "default": "null"
2574
+ "default": "false"
2519
2575
  },
2520
2576
  {
2521
2577
  "kind": "field",
2522
- "name": "speechAvailable",
2578
+ "name": "singleOption",
2523
2579
  "type": {
2524
- "text": "boolean"
2525
- },
2526
- "readonly": true
2580
+ "text": "ActionMenuItem"
2581
+ }
2527
2582
  },
2528
2583
  {
2529
2584
  "kind": "field",
2530
- "name": "criteriaChips",
2585
+ "name": "actionsMenu",
2531
2586
  "type": {
2532
- "text": "CriteriaChip[]"
2533
- },
2534
- "readonly": true
2535
- },
2536
- {
2537
- "kind": "method",
2538
- "name": "getFieldLabel",
2539
- "privacy": "private",
2540
- "return": {
2541
- "type": {
2542
- "text": "string"
2543
- }
2544
- },
2545
- "parameters": [
2546
- {
2547
- "name": "fieldName",
2548
- "type": {
2549
- "text": "string"
2550
- }
2551
- }
2552
- ]
2553
- },
2554
- {
2555
- "kind": "method",
2556
- "name": "toggleCriteriaView",
2557
- "return": {
2558
- "type": {
2559
- "text": "void"
2560
- }
2587
+ "text": "HTMLElement"
2561
2588
  }
2562
2589
  },
2563
2590
  {
2564
2591
  "kind": "method",
2565
- "name": "removeChip",
2566
- "return": {
2567
- "type": {
2568
- "text": "void"
2569
- }
2570
- },
2592
+ "name": "definitionChanged",
2593
+ "privacy": "protected",
2571
2594
  "parameters": [
2572
2595
  {
2573
- "name": "groupIndex",
2596
+ "name": "oldValue",
2574
2597
  "type": {
2575
- "text": "number"
2598
+ "text": "any"
2576
2599
  }
2577
2600
  },
2578
2601
  {
2579
- "name": "clauseIndex",
2602
+ "name": "newValue",
2580
2603
  "type": {
2581
- "text": "number"
2604
+ "text": "any"
2582
2605
  }
2583
2606
  }
2584
2607
  ]
2585
2608
  },
2586
2609
  {
2587
2610
  "kind": "method",
2588
- "name": "clearChips",
2589
- "return": {
2590
- "type": {
2591
- "text": "void"
2592
- }
2593
- }
2611
+ "name": "openChanged",
2612
+ "privacy": "protected"
2594
2613
  },
2595
2614
  {
2596
2615
  "kind": "method",
2597
- "name": "handleSubmit"
2616
+ "name": "toggleActionsMenuVisibility"
2598
2617
  },
2599
2618
  {
2600
2619
  "kind": "method",
2601
- "name": "handleBlur"
2620
+ "name": "onActionMenuItemClick",
2621
+ "parameters": [
2622
+ {
2623
+ "name": "callback",
2624
+ "type": {
2625
+ "text": "(rowData) => void | any"
2626
+ }
2627
+ }
2628
+ ]
2602
2629
  },
2603
2630
  {
2604
- "kind": "method",
2605
- "name": "clear"
2631
+ "kind": "field",
2632
+ "name": "allActions",
2633
+ "type": {
2634
+ "text": "ActionMenuItem[]"
2635
+ },
2636
+ "readonly": true
2637
+ },
2638
+ {
2639
+ "kind": "field",
2640
+ "name": "rowData",
2641
+ "readonly": true
2606
2642
  },
2607
2643
  {
2608
2644
  "kind": "method",
2609
- "name": "toggleSpeechInput"
2645
+ "name": "getLabel",
2646
+ "parameters": [
2647
+ {
2648
+ "name": "name",
2649
+ "type": {
2650
+ "text": "string | ((rowData: any) => string)"
2651
+ }
2652
+ }
2653
+ ]
2610
2654
  },
2611
2655
  {
2612
2656
  "kind": "method",
2613
- "name": "clearSpeechApplyDebounce",
2614
- "privacy": "private"
2657
+ "name": "getTemplate",
2658
+ "parameters": [
2659
+ {
2660
+ "name": "prefix",
2661
+ "type": {
2662
+ "text": "string"
2663
+ }
2664
+ }
2665
+ ]
2615
2666
  },
2616
2667
  {
2617
2668
  "kind": "field",
@@ -2725,252 +2776,107 @@
2725
2776
  }
2726
2777
  }
2727
2778
  ],
2728
- "events": [
2729
- {
2730
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2731
- "name": "criteria-changed"
2732
- },
2733
- {
2734
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2735
- "name": "validation-errors"
2736
- }
2737
- ],
2738
2779
  "attributes": [
2739
2780
  {
2740
- "name": "placeholder",
2781
+ "name": "is-vertical",
2741
2782
  "type": {
2742
- "text": "string"
2783
+ "text": "boolean"
2743
2784
  },
2744
- "default": "'Describe your search criteria in natural language...'",
2745
- "fieldName": "placeholder"
2785
+ "default": "false",
2786
+ "fieldName": "isVertical"
2746
2787
  },
2747
2788
  {
2789
+ "name": "add-default-actions",
2748
2790
  "type": {
2749
2791
  "text": "boolean"
2750
2792
  },
2751
- "fieldName": "disabled"
2752
- }
2753
- ],
2754
- "superclass": {
2755
- "name": "FoundationElement",
2756
- "package": "@microsoft/fast-foundation"
2757
- },
2758
- "tagName": "%%prefix%%-ai-criteria-search",
2759
- "customElement": true
2760
- },
2761
- {
2762
- "kind": "variable",
2763
- "name": "foundationAiCriteriaSearchShadowOptions",
2764
- "type": {
2765
- "text": "ShadowRootInit"
2766
- },
2767
- "default": "undefined"
2768
- },
2769
- {
2770
- "kind": "variable",
2771
- "name": "defaultAiCriteriaSearchConfig",
2772
- "type": {
2773
- "text": "object"
2774
- },
2775
- "default": "{}"
2776
- },
2777
- {
2778
- "kind": "variable",
2779
- "name": "foundationAiCriteriaSearch"
2780
- }
2781
- ],
2782
- "exports": [
2783
- {
2784
- "kind": "js",
2785
- "name": "AiCriteriaSearch",
2786
- "declaration": {
2787
- "name": "AiCriteriaSearch",
2788
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2789
- }
2790
- },
2791
- {
2792
- "kind": "js",
2793
- "name": "foundationAiCriteriaSearchShadowOptions",
2794
- "declaration": {
2795
- "name": "foundationAiCriteriaSearchShadowOptions",
2796
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2797
- }
2798
- },
2799
- {
2800
- "kind": "js",
2801
- "name": "defaultAiCriteriaSearchConfig",
2802
- "declaration": {
2803
- "name": "defaultAiCriteriaSearchConfig",
2804
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2805
- }
2806
- },
2807
- {
2808
- "kind": "js",
2809
- "name": "foundationAiCriteriaSearch",
2810
- "declaration": {
2811
- "name": "foundationAiCriteriaSearch",
2812
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2813
- }
2814
- }
2815
- ]
2816
- },
2817
- {
2818
- "kind": "javascript-module",
2819
- "path": "src/ai-criteria-search/index.ts",
2820
- "declarations": [],
2821
- "exports": [
2822
- {
2823
- "kind": "js",
2824
- "name": "AiCriteriaSearch",
2825
- "declaration": {
2826
- "name": "AiCriteriaSearch",
2827
- "module": "./ai-criteria-search"
2828
- }
2829
- },
2830
- {
2831
- "kind": "js",
2832
- "name": "defaultAiCriteriaSearchConfig",
2833
- "declaration": {
2834
- "name": "defaultAiCriteriaSearchConfig",
2835
- "module": "./ai-criteria-search"
2836
- }
2837
- },
2838
- {
2839
- "kind": "js",
2840
- "name": "foundationAiCriteriaSearch",
2841
- "declaration": {
2842
- "name": "foundationAiCriteriaSearch",
2843
- "module": "./ai-criteria-search"
2844
- }
2845
- },
2846
- {
2847
- "kind": "js",
2848
- "name": "foundationAiCriteriaSearchShadowOptions",
2849
- "declaration": {
2850
- "name": "foundationAiCriteriaSearchShadowOptions",
2851
- "module": "./ai-criteria-search"
2852
- }
2853
- },
2854
- {
2855
- "kind": "js",
2856
- "name": "foundationAiCriteriaSearchStyles",
2857
- "declaration": {
2858
- "name": "foundationAiCriteriaSearchStyles",
2859
- "module": "./ai-criteria-search.styles"
2860
- }
2861
- },
2862
- {
2863
- "kind": "js",
2864
- "name": "foundationAiCriteriaSearchTemplate",
2865
- "declaration": {
2866
- "name": "foundationAiCriteriaSearchTemplate",
2867
- "module": "./ai-criteria-search.template"
2868
- }
2869
- },
2870
- {
2871
- "kind": "js",
2872
- "name": "*",
2873
- "declaration": {
2874
- "name": "*",
2875
- "package": "./validation/criteria-ir"
2876
- }
2877
- },
2878
- {
2879
- "kind": "js",
2880
- "name": "*",
2881
- "declaration": {
2882
- "name": "*",
2883
- "package": "./validation/operator-map"
2884
- }
2885
- },
2886
- {
2887
- "kind": "js",
2888
- "name": "*",
2889
- "declaration": {
2890
- "name": "*",
2891
- "package": "./validation/schema-validator"
2892
- }
2893
- }
2894
- ]
2895
- },
2896
- {
2897
- "kind": "javascript-module",
2898
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2899
- "declarations": [
2900
- {
2901
- "kind": "function",
2902
- "name": "formatValidationErrors",
2903
- "return": {
2904
- "type": {
2905
- "text": "string"
2906
- }
2907
- },
2908
- "parameters": [
2793
+ "default": "true",
2794
+ "fieldName": "addDefaultActions"
2795
+ },
2909
2796
  {
2910
- "name": "errors",
2797
+ "name": "auto-close-on-action",
2911
2798
  "type": {
2912
- "text": "ValidationError[]"
2913
- }
2914
- }
2915
- ],
2916
- "description": "Formats validation errors into a user-friendly message."
2917
- },
2918
- {
2919
- "kind": "function",
2920
- "name": "showCriteriaError",
2921
- "return": {
2922
- "type": {
2923
- "text": "void"
2924
- }
2925
- },
2926
- "parameters": [
2799
+ "text": "boolean"
2800
+ },
2801
+ "default": "true",
2802
+ "fieldName": "autoCloseOnAction"
2803
+ },
2927
2804
  {
2928
- "name": "title",
2805
+ "name": "name",
2929
2806
  "type": {
2930
2807
  "text": "string"
2931
2808
  },
2932
- "description": "Notification title (e.g. \"Criteria validation error\")"
2809
+ "default": "'Actions'",
2810
+ "fieldName": "name"
2933
2811
  },
2934
2812
  {
2935
- "name": "body",
2813
+ "name": "open",
2936
2814
  "type": {
2937
- "text": "string"
2815
+ "text": "boolean"
2938
2816
  },
2939
- "description": "Error message to display"
2817
+ "default": "false",
2818
+ "fieldName": "open"
2940
2819
  },
2941
2820
  {
2942
- "name": "tagName",
2821
+ "name": "buttonAppearance",
2943
2822
  "type": {
2944
2823
  "text": "string"
2945
2824
  },
2946
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2825
+ "fieldName": "buttonAppearance"
2826
+ },
2827
+ {
2828
+ "name": "hide-disabled",
2829
+ "type": {
2830
+ "text": "boolean"
2831
+ },
2832
+ "default": "false",
2833
+ "fieldName": "hideDisabled"
2834
+ },
2835
+ {
2836
+ "name": "hide-menu-single-option",
2837
+ "type": {
2838
+ "text": "boolean"
2839
+ },
2840
+ "default": "false",
2841
+ "fieldName": "hideMenuSingleOption"
2947
2842
  }
2948
2843
  ],
2949
- "description": "Shows a criteria error as a toast notification."
2844
+ "superclass": {
2845
+ "name": "FoundationElement",
2846
+ "package": "@microsoft/fast-foundation"
2847
+ },
2848
+ "tagName": "%%prefix%%-actions-menu",
2849
+ "customElement": true
2850
+ },
2851
+ {
2852
+ "kind": "variable",
2853
+ "name": "foundationActionsMenu",
2854
+ "description": "The Foundation Actions Menu",
2855
+ "privacy": "public"
2950
2856
  }
2951
2857
  ],
2952
2858
  "exports": [
2953
2859
  {
2954
2860
  "kind": "js",
2955
- "name": "formatValidationErrors",
2861
+ "name": "ActionsMenu",
2956
2862
  "declaration": {
2957
- "name": "formatValidationErrors",
2958
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2863
+ "name": "ActionsMenu",
2864
+ "module": "src/actions-menu/actions-menu.ts"
2959
2865
  }
2960
2866
  },
2961
2867
  {
2962
2868
  "kind": "js",
2963
- "name": "showCriteriaError",
2869
+ "name": "foundationActionsMenu",
2964
2870
  "declaration": {
2965
- "name": "showCriteriaError",
2966
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2871
+ "name": "foundationActionsMenu",
2872
+ "module": "src/actions-menu/actions-menu.ts"
2967
2873
  }
2968
2874
  }
2969
2875
  ]
2970
2876
  },
2971
2877
  {
2972
2878
  "kind": "javascript-module",
2973
- "path": "src/_config/index.ts",
2879
+ "path": "src/actions-menu/index.ts",
2974
2880
  "declarations": [],
2975
2881
  "exports": [
2976
2882
  {
@@ -2978,7 +2884,7 @@
2978
2884
  "name": "*",
2979
2885
  "declaration": {
2980
2886
  "name": "*",
2981
- "package": "./styles"
2887
+ "package": "./actions-menu.styles"
2982
2888
  }
2983
2889
  },
2984
2890
  {
@@ -2986,7 +2892,7 @@
2986
2892
  "name": "*",
2987
2893
  "declaration": {
2988
2894
  "name": "*",
2989
- "package": "./tokens"
2895
+ "package": "./actions-menu.template"
2990
2896
  }
2991
2897
  },
2992
2898
  {
@@ -2994,7 +2900,7 @@
2994
2900
  "name": "*",
2995
2901
  "declaration": {
2996
2902
  "name": "*",
2997
- "package": "./values"
2903
+ "package": "./actions-menu"
2998
2904
  }
2999
2905
  }
3000
2906
  ]
@@ -3450,275 +3356,208 @@
3450
3356
  },
3451
3357
  {
3452
3358
  "kind": "javascript-module",
3453
- "path": "src/accordion/accordion.styles.ts",
3359
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3454
3360
  "declarations": [
3455
3361
  {
3456
- "kind": "function",
3457
- "name": "foundationAccordionStyles",
3458
- "return": {
3459
- "type": {
3460
- "text": "ElementStyles"
3461
- }
3462
- },
3463
- "parameters": [
3464
- {
3465
- "name": "context",
3466
- "type": {
3467
- "text": "ElementDefinitionContext"
3468
- }
3469
- },
3470
- {
3471
- "name": "definition",
3472
- "type": {
3473
- "text": "FoundationElementDefinition"
3474
- }
3475
- }
3476
- ]
3362
+ "kind": "variable",
3363
+ "name": "foundationAiCriteriaSearchStyles",
3364
+ "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`"
3477
3365
  }
3478
3366
  ],
3479
3367
  "exports": [
3480
3368
  {
3481
3369
  "kind": "js",
3482
- "name": "foundationAccordionStyles",
3370
+ "name": "foundationAiCriteriaSearchStyles",
3483
3371
  "declaration": {
3484
- "name": "foundationAccordionStyles",
3485
- "module": "src/accordion/accordion.styles.ts"
3372
+ "name": "foundationAiCriteriaSearchStyles",
3373
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3486
3374
  }
3487
3375
  }
3488
3376
  ]
3489
3377
  },
3490
3378
  {
3491
3379
  "kind": "javascript-module",
3492
- "path": "src/accordion/accordion.template.ts",
3380
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3493
3381
  "declarations": [
3494
3382
  {
3495
- "kind": "function",
3496
- "name": "foundationAccordionTemplate",
3497
- "return": {
3498
- "type": {
3499
- "text": "ViewTemplate<Accordion>"
3500
- }
3383
+ "kind": "variable",
3384
+ "name": "foundationAiCriteriaSearchTemplate",
3385
+ "type": {
3386
+ "text": "ViewTemplate<AiCriteriaSearch>"
3501
3387
  },
3502
- "parameters": [
3503
- {
3504
- "name": "context",
3505
- "type": {
3506
- "text": "ElementDefinitionContext"
3507
- }
3508
- },
3509
- {
3510
- "name": "definition",
3511
- "type": {
3512
- "text": "FoundationElementDefinition"
3513
- }
3514
- }
3515
- ]
3388
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3516
3389
  }
3517
3390
  ],
3518
3391
  "exports": [
3519
3392
  {
3520
3393
  "kind": "js",
3521
- "name": "foundationAccordionTemplate",
3394
+ "name": "foundationAiCriteriaSearchTemplate",
3522
3395
  "declaration": {
3523
- "name": "foundationAccordionTemplate",
3524
- "module": "src/accordion/accordion.template.ts"
3396
+ "name": "foundationAiCriteriaSearchTemplate",
3397
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3525
3398
  }
3526
3399
  }
3527
3400
  ]
3528
3401
  },
3529
3402
  {
3530
3403
  "kind": "javascript-module",
3531
- "path": "src/accordion/accordion.ts",
3404
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3532
3405
  "declarations": [
3533
3406
  {
3534
3407
  "kind": "class",
3535
- "description": "",
3536
- "name": "Accordion",
3537
- "superclass": {
3538
- "name": "FASTAccordion",
3539
- "package": "@microsoft/fast-foundation"
3540
- },
3541
- "tagName": "%%prefix%%-accordion",
3542
- "customElement": true,
3543
- "attributes": [
3408
+ "description": "Natural-language criteria search input with AI interpretation.",
3409
+ "name": "AiCriteriaSearch",
3410
+ "members": [
3544
3411
  {
3545
- "name": "expand-mode",
3412
+ "kind": "field",
3413
+ "name": "providerRegistry",
3546
3414
  "type": {
3547
- "text": "AccordionExpandMode"
3548
- },
3549
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3550
- "fieldName": "expandmode",
3551
- "inheritedFrom": {
3552
- "name": "Accordion",
3553
- "module": "src/accordion/accordion.ts"
3415
+ "text": "AIProviderRegistry"
3554
3416
  }
3555
- }
3556
- ],
3557
- "members": [
3417
+ },
3558
3418
  {
3559
3419
  "kind": "field",
3560
- "name": "expandmode",
3420
+ "name": "placeholder",
3561
3421
  "type": {
3562
- "text": "AccordionExpandMode"
3422
+ "text": "string"
3563
3423
  },
3564
- "privacy": "public",
3565
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
- "inheritedFrom": {
3567
- "name": "Accordion",
3568
- "module": "src/accordion/accordion.ts"
3424
+ "default": "'Describe your search criteria in natural language...'"
3425
+ },
3426
+ {
3427
+ "kind": "field",
3428
+ "name": "disabled",
3429
+ "type": {
3430
+ "text": "boolean"
3569
3431
  }
3570
3432
  },
3571
3433
  {
3572
3434
  "kind": "field",
3573
- "name": "activeid",
3435
+ "name": "inputValue",
3574
3436
  "type": {
3575
- "text": "string | null"
3437
+ "text": "string"
3576
3438
  },
3577
- "privacy": "private",
3578
- "inheritedFrom": {
3579
- "name": "Accordion",
3580
- "module": "src/accordion/accordion.ts"
3581
- }
3439
+ "default": "''"
3582
3440
  },
3583
3441
  {
3584
3442
  "kind": "field",
3585
- "name": "activeItemIndex",
3443
+ "name": "isInterpreting",
3586
3444
  "type": {
3587
- "text": "number"
3445
+ "text": "boolean"
3588
3446
  },
3589
- "privacy": "private",
3590
- "default": "0",
3591
- "inheritedFrom": {
3592
- "name": "Accordion",
3593
- "module": "src/accordion/accordion.ts"
3594
- }
3447
+ "default": "false"
3595
3448
  },
3596
3449
  {
3597
3450
  "kind": "field",
3598
- "name": "accordionIds",
3451
+ "name": "lastValidCriteria",
3599
3452
  "type": {
3600
- "text": "Array<string | null>"
3453
+ "text": "string | null"
3601
3454
  },
3602
- "privacy": "private",
3603
- "inheritedFrom": {
3604
- "name": "Accordion",
3605
- "module": "src/accordion/accordion.ts"
3606
- }
3455
+ "default": "null"
3607
3456
  },
3608
3457
  {
3609
3458
  "kind": "field",
3610
- "name": "change",
3611
- "privacy": "private",
3612
- "inheritedFrom": {
3613
- "name": "Accordion",
3614
- "module": "src/accordion/accordion.ts"
3615
- }
3459
+ "name": "activeGroups",
3460
+ "type": {
3461
+ "text": "CriteriaGroup[]"
3462
+ },
3463
+ "default": "[]"
3616
3464
  },
3617
3465
  {
3618
- "kind": "method",
3619
- "name": "findExpandedItem",
3620
- "privacy": "private",
3621
- "return": {
3622
- "type": {
3623
- "text": "AccordionItem | null"
3624
- }
3466
+ "kind": "field",
3467
+ "name": "showingChips",
3468
+ "type": {
3469
+ "text": "boolean"
3625
3470
  },
3626
- "inheritedFrom": {
3627
- "name": "Accordion",
3628
- "module": "src/accordion/accordion.ts"
3629
- }
3471
+ "default": "false"
3630
3472
  },
3631
3473
  {
3632
3474
  "kind": "field",
3633
- "name": "setItems",
3634
- "privacy": "private",
3635
- "inheritedFrom": {
3636
- "name": "Accordion",
3637
- "module": "src/accordion/accordion.ts"
3638
- }
3475
+ "name": "fieldMetadata",
3476
+ "type": {
3477
+ "text": "MetadataDetail[] | string[]"
3478
+ },
3479
+ "default": "[]"
3639
3480
  },
3640
3481
  {
3641
- "kind": "method",
3642
- "name": "resetItems",
3643
- "privacy": "private",
3644
- "return": {
3645
- "type": {
3646
- "text": "void"
3647
- }
3482
+ "kind": "field",
3483
+ "name": "isRecording",
3484
+ "type": {
3485
+ "text": "boolean"
3648
3486
  },
3649
- "inheritedFrom": {
3650
- "name": "Accordion",
3651
- "module": "src/accordion/accordion.ts"
3652
- }
3487
+ "default": "false"
3653
3488
  },
3654
3489
  {
3655
3490
  "kind": "field",
3656
- "name": "removeItemListeners",
3491
+ "name": "textAreaRef",
3492
+ "type": {
3493
+ "text": "HTMLTextAreaElement"
3494
+ },
3495
+ "privacy": "public"
3496
+ },
3497
+ {
3498
+ "kind": "field",
3499
+ "name": "stopRecording",
3500
+ "type": {
3501
+ "text": "(() => void) | null"
3502
+ },
3657
3503
  "privacy": "private",
3658
- "inheritedFrom": {
3659
- "name": "Accordion",
3660
- "module": "src/accordion/accordion.ts"
3661
- }
3504
+ "default": "null"
3662
3505
  },
3663
3506
  {
3664
3507
  "kind": "field",
3665
- "name": "activeItemChange",
3508
+ "name": "speechApplyDebounceTimer",
3509
+ "type": {
3510
+ "text": "ReturnType<typeof setTimeout> | null"
3511
+ },
3666
3512
  "privacy": "private",
3667
- "inheritedFrom": {
3668
- "name": "Accordion",
3669
- "module": "src/accordion/accordion.ts"
3670
- }
3513
+ "default": "null"
3514
+ },
3515
+ {
3516
+ "kind": "field",
3517
+ "name": "speechAvailable",
3518
+ "type": {
3519
+ "text": "boolean"
3520
+ },
3521
+ "readonly": true
3522
+ },
3523
+ {
3524
+ "kind": "field",
3525
+ "name": "criteriaChips",
3526
+ "type": {
3527
+ "text": "CriteriaChip[]"
3528
+ },
3529
+ "readonly": true
3671
3530
  },
3672
3531
  {
3673
3532
  "kind": "method",
3674
- "name": "getItemIds",
3533
+ "name": "getFieldLabel",
3675
3534
  "privacy": "private",
3676
3535
  "return": {
3677
3536
  "type": {
3678
- "text": "Array<string | null>"
3537
+ "text": "string"
3679
3538
  }
3680
3539
  },
3681
- "inheritedFrom": {
3682
- "name": "Accordion",
3683
- "module": "src/accordion/accordion.ts"
3684
- }
3540
+ "parameters": [
3541
+ {
3542
+ "name": "fieldName",
3543
+ "type": {
3544
+ "text": "string"
3545
+ }
3546
+ }
3547
+ ]
3685
3548
  },
3686
3549
  {
3687
3550
  "kind": "method",
3688
- "name": "isSingleExpandMode",
3689
- "privacy": "private",
3551
+ "name": "toggleCriteriaView",
3690
3552
  "return": {
3691
3553
  "type": {
3692
- "text": "boolean"
3554
+ "text": "void"
3693
3555
  }
3694
- },
3695
- "inheritedFrom": {
3696
- "name": "Accordion",
3697
- "module": "src/accordion/accordion.ts"
3698
- }
3699
- },
3700
- {
3701
- "kind": "field",
3702
- "name": "handleItemKeyDown",
3703
- "privacy": "private",
3704
- "inheritedFrom": {
3705
- "name": "Accordion",
3706
- "module": "src/accordion/accordion.ts"
3707
- }
3708
- },
3709
- {
3710
- "kind": "field",
3711
- "name": "handleItemFocus",
3712
- "privacy": "private",
3713
- "inheritedFrom": {
3714
- "name": "Accordion",
3715
- "module": "src/accordion/accordion.ts"
3716
3556
  }
3717
3557
  },
3718
3558
  {
3719
3559
  "kind": "method",
3720
- "name": "adjust",
3721
- "privacy": "private",
3560
+ "name": "removeChip",
3722
3561
  "return": {
3723
3562
  "type": {
3724
3563
  "text": "void"
@@ -3726,31 +3565,49 @@
3726
3565
  },
3727
3566
  "parameters": [
3728
3567
  {
3729
- "name": "adjustment",
3568
+ "name": "groupIndex",
3569
+ "type": {
3570
+ "text": "number"
3571
+ }
3572
+ },
3573
+ {
3574
+ "name": "clauseIndex",
3730
3575
  "type": {
3731
3576
  "text": "number"
3732
3577
  }
3733
3578
  }
3734
- ],
3735
- "inheritedFrom": {
3736
- "name": "Accordion",
3737
- "module": "src/accordion/accordion.ts"
3738
- }
3579
+ ]
3739
3580
  },
3740
3581
  {
3741
3582
  "kind": "method",
3742
- "name": "focusItem",
3743
- "privacy": "private",
3583
+ "name": "clearChips",
3744
3584
  "return": {
3745
3585
  "type": {
3746
3586
  "text": "void"
3747
3587
  }
3748
- },
3749
- "inheritedFrom": {
3750
- "name": "Accordion",
3751
- "module": "src/accordion/accordion.ts"
3752
3588
  }
3753
3589
  },
3590
+ {
3591
+ "kind": "method",
3592
+ "name": "handleSubmit"
3593
+ },
3594
+ {
3595
+ "kind": "method",
3596
+ "name": "handleBlur"
3597
+ },
3598
+ {
3599
+ "kind": "method",
3600
+ "name": "clear"
3601
+ },
3602
+ {
3603
+ "kind": "method",
3604
+ "name": "toggleSpeechInput"
3605
+ },
3606
+ {
3607
+ "kind": "method",
3608
+ "name": "clearSpeechApplyDebounce",
3609
+ "privacy": "private"
3610
+ },
3754
3611
  {
3755
3612
  "kind": "field",
3756
3613
  "name": "_presentation",
@@ -3865,26 +3722,48 @@
3865
3722
  ],
3866
3723
  "events": [
3867
3724
  {
3868
- "description": "Fires a custom 'change' event when the active item changes",
3869
- "name": "change",
3870
- "inheritedFrom": {
3871
- "name": "Accordion",
3872
- "module": "src/accordion/accordion.ts"
3873
- }
3725
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3726
+ "name": "criteria-changed"
3727
+ },
3728
+ {
3729
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3730
+ "name": "validation-errors"
3874
3731
  }
3875
- ]
3732
+ ],
3733
+ "attributes": [
3734
+ {
3735
+ "name": "placeholder",
3736
+ "type": {
3737
+ "text": "string"
3738
+ },
3739
+ "default": "'Describe your search criteria in natural language...'",
3740
+ "fieldName": "placeholder"
3741
+ },
3742
+ {
3743
+ "type": {
3744
+ "text": "boolean"
3745
+ },
3746
+ "fieldName": "disabled"
3747
+ }
3748
+ ],
3749
+ "superclass": {
3750
+ "name": "FoundationElement",
3751
+ "package": "@microsoft/fast-foundation"
3752
+ },
3753
+ "tagName": "%%prefix%%-ai-criteria-search",
3754
+ "customElement": true
3876
3755
  },
3877
3756
  {
3878
3757
  "kind": "variable",
3879
- "name": "foundationAccordionShadowOptions",
3758
+ "name": "foundationAiCriteriaSearchShadowOptions",
3880
3759
  "type": {
3881
3760
  "text": "ShadowRootInit"
3882
3761
  },
3883
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3762
+ "default": "undefined"
3884
3763
  },
3885
3764
  {
3886
3765
  "kind": "variable",
3887
- "name": "defaultAccordionConfig",
3766
+ "name": "defaultAiCriteriaSearchConfig",
3888
3767
  "type": {
3889
3768
  "text": "object"
3890
3769
  },
@@ -3892,57 +3771,103 @@
3892
3771
  },
3893
3772
  {
3894
3773
  "kind": "variable",
3895
- "name": "foundationAccordion",
3896
- "description": "The Foundation Accordion",
3897
- "privacy": "public"
3774
+ "name": "foundationAiCriteriaSearch"
3898
3775
  }
3899
3776
  ],
3900
3777
  "exports": [
3901
3778
  {
3902
3779
  "kind": "js",
3903
- "name": "Accordion",
3780
+ "name": "AiCriteriaSearch",
3904
3781
  "declaration": {
3905
- "name": "Accordion",
3906
- "module": "src/accordion/accordion.ts"
3782
+ "name": "AiCriteriaSearch",
3783
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3907
3784
  }
3908
3785
  },
3909
3786
  {
3910
3787
  "kind": "js",
3911
- "name": "foundationAccordionShadowOptions",
3788
+ "name": "foundationAiCriteriaSearchShadowOptions",
3912
3789
  "declaration": {
3913
- "name": "foundationAccordionShadowOptions",
3914
- "module": "src/accordion/accordion.ts"
3790
+ "name": "foundationAiCriteriaSearchShadowOptions",
3791
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3915
3792
  }
3916
3793
  },
3917
3794
  {
3918
3795
  "kind": "js",
3919
- "name": "defaultAccordionConfig",
3796
+ "name": "defaultAiCriteriaSearchConfig",
3920
3797
  "declaration": {
3921
- "name": "defaultAccordionConfig",
3922
- "module": "src/accordion/accordion.ts"
3798
+ "name": "defaultAiCriteriaSearchConfig",
3799
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3923
3800
  }
3924
3801
  },
3925
3802
  {
3926
3803
  "kind": "js",
3927
- "name": "foundationAccordion",
3804
+ "name": "foundationAiCriteriaSearch",
3928
3805
  "declaration": {
3929
- "name": "foundationAccordion",
3930
- "module": "src/accordion/accordion.ts"
3806
+ "name": "foundationAiCriteriaSearch",
3807
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3931
3808
  }
3932
3809
  }
3933
3810
  ]
3934
3811
  },
3935
3812
  {
3936
3813
  "kind": "javascript-module",
3937
- "path": "src/accordion/index.ts",
3814
+ "path": "src/ai-criteria-search/index.ts",
3938
3815
  "declarations": [],
3939
3816
  "exports": [
3817
+ {
3818
+ "kind": "js",
3819
+ "name": "AiCriteriaSearch",
3820
+ "declaration": {
3821
+ "name": "AiCriteriaSearch",
3822
+ "module": "./ai-criteria-search"
3823
+ }
3824
+ },
3825
+ {
3826
+ "kind": "js",
3827
+ "name": "defaultAiCriteriaSearchConfig",
3828
+ "declaration": {
3829
+ "name": "defaultAiCriteriaSearchConfig",
3830
+ "module": "./ai-criteria-search"
3831
+ }
3832
+ },
3833
+ {
3834
+ "kind": "js",
3835
+ "name": "foundationAiCriteriaSearch",
3836
+ "declaration": {
3837
+ "name": "foundationAiCriteriaSearch",
3838
+ "module": "./ai-criteria-search"
3839
+ }
3840
+ },
3841
+ {
3842
+ "kind": "js",
3843
+ "name": "foundationAiCriteriaSearchShadowOptions",
3844
+ "declaration": {
3845
+ "name": "foundationAiCriteriaSearchShadowOptions",
3846
+ "module": "./ai-criteria-search"
3847
+ }
3848
+ },
3849
+ {
3850
+ "kind": "js",
3851
+ "name": "foundationAiCriteriaSearchStyles",
3852
+ "declaration": {
3853
+ "name": "foundationAiCriteriaSearchStyles",
3854
+ "module": "./ai-criteria-search.styles"
3855
+ }
3856
+ },
3857
+ {
3858
+ "kind": "js",
3859
+ "name": "foundationAiCriteriaSearchTemplate",
3860
+ "declaration": {
3861
+ "name": "foundationAiCriteriaSearchTemplate",
3862
+ "module": "./ai-criteria-search.template"
3863
+ }
3864
+ },
3940
3865
  {
3941
3866
  "kind": "js",
3942
3867
  "name": "*",
3943
3868
  "declaration": {
3944
3869
  "name": "*",
3945
- "package": "./accordion.template"
3870
+ "package": "./validation/criteria-ir"
3946
3871
  }
3947
3872
  },
3948
3873
  {
@@ -3950,7 +3875,7 @@
3950
3875
  "name": "*",
3951
3876
  "declaration": {
3952
3877
  "name": "*",
3953
- "package": "./accordion.styles"
3878
+ "package": "./validation/operator-map"
3954
3879
  }
3955
3880
  },
3956
3881
  {
@@ -3958,7 +3883,82 @@
3958
3883
  "name": "*",
3959
3884
  "declaration": {
3960
3885
  "name": "*",
3961
- "package": "./accordion"
3886
+ "package": "./validation/schema-validator"
3887
+ }
3888
+ }
3889
+ ]
3890
+ },
3891
+ {
3892
+ "kind": "javascript-module",
3893
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3894
+ "declarations": [
3895
+ {
3896
+ "kind": "function",
3897
+ "name": "formatValidationErrors",
3898
+ "return": {
3899
+ "type": {
3900
+ "text": "string"
3901
+ }
3902
+ },
3903
+ "parameters": [
3904
+ {
3905
+ "name": "errors",
3906
+ "type": {
3907
+ "text": "ValidationError[]"
3908
+ }
3909
+ }
3910
+ ],
3911
+ "description": "Formats validation errors into a user-friendly message."
3912
+ },
3913
+ {
3914
+ "kind": "function",
3915
+ "name": "showCriteriaError",
3916
+ "return": {
3917
+ "type": {
3918
+ "text": "void"
3919
+ }
3920
+ },
3921
+ "parameters": [
3922
+ {
3923
+ "name": "title",
3924
+ "type": {
3925
+ "text": "string"
3926
+ },
3927
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3928
+ },
3929
+ {
3930
+ "name": "body",
3931
+ "type": {
3932
+ "text": "string"
3933
+ },
3934
+ "description": "Error message to display"
3935
+ },
3936
+ {
3937
+ "name": "tagName",
3938
+ "type": {
3939
+ "text": "string"
3940
+ },
3941
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3942
+ }
3943
+ ],
3944
+ "description": "Shows a criteria error as a toast notification."
3945
+ }
3946
+ ],
3947
+ "exports": [
3948
+ {
3949
+ "kind": "js",
3950
+ "name": "formatValidationErrors",
3951
+ "declaration": {
3952
+ "name": "formatValidationErrors",
3953
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3954
+ }
3955
+ },
3956
+ {
3957
+ "kind": "js",
3958
+ "name": "showCriteriaError",
3959
+ "declaration": {
3960
+ "name": "showCriteriaError",
3961
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3962
3962
  }
3963
3963
  }
3964
3964
  ]
@@ -13474,7 +13474,8 @@
13474
13474
  "type": {
13475
13475
  "text": "string"
13476
13476
  },
13477
- "default": "'ROW_REF'",
13477
+ "description": "Explicit override for the field that uniquely identifies a row.",
13478
+ "privacy": "public",
13478
13479
  "inheritedFrom": {
13479
13480
  "name": "<local>_BaseDatasource",
13480
13481
  "module": "src/utils/base-datasource.ts"
@@ -13632,6 +13633,20 @@
13632
13633
  "module": "src/utils/base-datasource.ts"
13633
13634
  }
13634
13635
  },
13636
+ {
13637
+ "kind": "field",
13638
+ "name": "effectiveRowId",
13639
+ "type": {
13640
+ "text": "string"
13641
+ },
13642
+ "privacy": "public",
13643
+ "description": "The field used to key rows into BaseDatasource.rowsSyncedWithStream.",
13644
+ "readonly": true,
13645
+ "inheritedFrom": {
13646
+ "name": "<local>_BaseDatasource",
13647
+ "module": "src/utils/base-datasource.ts"
13648
+ }
13649
+ },
13635
13650
  {
13636
13651
  "kind": "method",
13637
13652
  "name": "reset",
@@ -14163,7 +14178,7 @@
14163
14178
  "type": {
14164
14179
  "text": "string"
14165
14180
  },
14166
- "default": "'ROW_REF'",
14181
+ "description": "Explicit override for the field that uniquely identifies a row.",
14167
14182
  "fieldName": "rowId",
14168
14183
  "inheritedFrom": {
14169
14184
  "name": "<local>_BaseDatasource",
@@ -36338,7 +36353,8 @@
36338
36353
  "type": {
36339
36354
  "text": "string"
36340
36355
  },
36341
- "default": "'ROW_REF'",
36356
+ "description": "Explicit override for the field that uniquely identifies a row.",
36357
+ "privacy": "public",
36342
36358
  "inheritedFrom": {
36343
36359
  "name": "<local>_BaseDatasource",
36344
36360
  "module": "src/utils/base-datasource.ts"
@@ -36496,6 +36512,20 @@
36496
36512
  "module": "src/utils/base-datasource.ts"
36497
36513
  }
36498
36514
  },
36515
+ {
36516
+ "kind": "field",
36517
+ "name": "effectiveRowId",
36518
+ "type": {
36519
+ "text": "string"
36520
+ },
36521
+ "privacy": "public",
36522
+ "description": "The field used to key rows into BaseDatasource.rowsSyncedWithStream.",
36523
+ "readonly": true,
36524
+ "inheritedFrom": {
36525
+ "name": "<local>_BaseDatasource",
36526
+ "module": "src/utils/base-datasource.ts"
36527
+ }
36528
+ },
36499
36529
  {
36500
36530
  "kind": "method",
36501
36531
  "name": "reset",
@@ -37035,7 +37065,7 @@
37035
37065
  "type": {
37036
37066
  "text": "string"
37037
37067
  },
37038
- "default": "'ROW_REF'",
37068
+ "description": "Explicit override for the field that uniquely identifies a row.",
37039
37069
  "fieldName": "rowId",
37040
37070
  "inheritedFrom": {
37041
37071
  "name": "<local>_BaseDatasource",
@@ -37741,7 +37771,8 @@
37741
37771
  "type": {
37742
37772
  "text": "string"
37743
37773
  },
37744
- "default": "'ROW_REF'",
37774
+ "description": "Explicit override for the field that uniquely identifies a row.",
37775
+ "privacy": "public",
37745
37776
  "inheritedFrom": {
37746
37777
  "name": "<local>_BaseDatasource",
37747
37778
  "module": "src/utils/base-datasource.ts"
@@ -37899,6 +37930,20 @@
37899
37930
  "module": "src/utils/base-datasource.ts"
37900
37931
  }
37901
37932
  },
37933
+ {
37934
+ "kind": "field",
37935
+ "name": "effectiveRowId",
37936
+ "type": {
37937
+ "text": "string"
37938
+ },
37939
+ "privacy": "public",
37940
+ "description": "The field used to key rows into BaseDatasource.rowsSyncedWithStream.",
37941
+ "readonly": true,
37942
+ "inheritedFrom": {
37943
+ "name": "<local>_BaseDatasource",
37944
+ "module": "src/utils/base-datasource.ts"
37945
+ }
37946
+ },
37902
37947
  {
37903
37948
  "kind": "method",
37904
37949
  "name": "reset",
@@ -38481,7 +38526,7 @@
38481
38526
  "type": {
38482
38527
  "text": "string"
38483
38528
  },
38484
- "default": "'ROW_REF'",
38529
+ "description": "Explicit override for the field that uniquely identifies a row.",
38485
38530
  "fieldName": "rowId",
38486
38531
  "inheritedFrom": {
38487
38532
  "name": "<local>_BaseDatasource",
@@ -57577,7 +57622,8 @@
57577
57622
  "type": {
57578
57623
  "text": "string"
57579
57624
  },
57580
- "default": "'ROW_REF'"
57625
+ "description": "Explicit override for the field that uniquely identifies a row.",
57626
+ "privacy": "public"
57581
57627
  },
57582
57628
  {
57583
57629
  "kind": "field",
@@ -57683,6 +57729,16 @@
57683
57729
  "privacy": "private",
57684
57730
  "default": "0"
57685
57731
  },
57732
+ {
57733
+ "kind": "field",
57734
+ "name": "effectiveRowId",
57735
+ "type": {
57736
+ "text": "string"
57737
+ },
57738
+ "privacy": "public",
57739
+ "description": "The field used to key rows into BaseDatasource.rowsSyncedWithStream.",
57740
+ "readonly": true
57741
+ },
57686
57742
  {
57687
57743
  "kind": "method",
57688
57744
  "name": "reset"
@@ -58196,7 +58252,7 @@
58196
58252
  "type": {
58197
58253
  "text": "string"
58198
58254
  },
58199
- "default": "'ROW_REF'",
58255
+ "description": "Explicit override for the field that uniquely identifies a row.",
58200
58256
  "fieldName": "rowId"
58201
58257
  },
58202
58258
  {
@@ -58649,197 +58705,6 @@
58649
58705
  }
58650
58706
  ]
58651
58707
  },
58652
- {
58653
- "kind": "javascript-module",
58654
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
58655
- "declarations": [],
58656
- "exports": []
58657
- },
58658
- {
58659
- "kind": "javascript-module",
58660
- "path": "src/ai-criteria-search/validation/operator-map.ts",
58661
- "declarations": [
58662
- {
58663
- "kind": "function",
58664
- "name": "groupsToCriteria",
58665
- "return": {
58666
- "type": {
58667
- "text": "string"
58668
- }
58669
- },
58670
- "parameters": [
58671
- {
58672
- "name": "groups",
58673
- "type": {
58674
- "text": "CriteriaGroup[]"
58675
- }
58676
- }
58677
- ],
58678
- "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."
58679
- },
58680
- {
58681
- "kind": "variable",
58682
- "name": "STRING_OPERATORS",
58683
- "type": {
58684
- "text": "CriteriaOperator[]"
58685
- },
58686
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
58687
- },
58688
- {
58689
- "kind": "variable",
58690
- "name": "NUMERIC_OPERATORS",
58691
- "type": {
58692
- "text": "CriteriaOperator[]"
58693
- },
58694
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
58695
- },
58696
- {
58697
- "kind": "variable",
58698
- "name": "DATE_OPERATORS",
58699
- "type": {
58700
- "text": "CriteriaOperator[]"
58701
- },
58702
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
58703
- },
58704
- {
58705
- "kind": "variable",
58706
- "name": "DATETIME_OPERATORS",
58707
- "type": {
58708
- "text": "CriteriaOperator[]"
58709
- },
58710
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
58711
- },
58712
- {
58713
- "kind": "variable",
58714
- "name": "OPERATOR_DISPLAY_LABEL",
58715
- "type": {
58716
- "text": "Record<CriteriaOperator, string>"
58717
- },
58718
- "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}"
58719
- }
58720
- ],
58721
- "exports": [
58722
- {
58723
- "kind": "js",
58724
- "name": "groupsToCriteria",
58725
- "declaration": {
58726
- "name": "groupsToCriteria",
58727
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58728
- }
58729
- },
58730
- {
58731
- "kind": "js",
58732
- "name": "STRING_OPERATORS",
58733
- "declaration": {
58734
- "name": "STRING_OPERATORS",
58735
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58736
- }
58737
- },
58738
- {
58739
- "kind": "js",
58740
- "name": "NUMERIC_OPERATORS",
58741
- "declaration": {
58742
- "name": "NUMERIC_OPERATORS",
58743
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58744
- }
58745
- },
58746
- {
58747
- "kind": "js",
58748
- "name": "DATE_OPERATORS",
58749
- "declaration": {
58750
- "name": "DATE_OPERATORS",
58751
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58752
- }
58753
- },
58754
- {
58755
- "kind": "js",
58756
- "name": "DATETIME_OPERATORS",
58757
- "declaration": {
58758
- "name": "DATETIME_OPERATORS",
58759
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58760
- }
58761
- },
58762
- {
58763
- "kind": "js",
58764
- "name": "OPERATOR_DISPLAY_LABEL",
58765
- "declaration": {
58766
- "name": "OPERATOR_DISPLAY_LABEL",
58767
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58768
- }
58769
- }
58770
- ]
58771
- },
58772
- {
58773
- "kind": "javascript-module",
58774
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58775
- "declarations": [
58776
- {
58777
- "kind": "function",
58778
- "name": "validateClauses",
58779
- "return": {
58780
- "type": {
58781
- "text": "ValidationResult"
58782
- }
58783
- },
58784
- "parameters": [
58785
- {
58786
- "name": "clauses",
58787
- "type": {
58788
- "text": "CriteriaClause[]"
58789
- }
58790
- },
58791
- {
58792
- "name": "fieldMetadata",
58793
- "type": {
58794
- "text": "MetadataDetail[] | string[]"
58795
- }
58796
- }
58797
- ]
58798
- },
58799
- {
58800
- "kind": "function",
58801
- "name": "validateGroups",
58802
- "return": {
58803
- "type": {
58804
- "text": "GroupsValidationResult"
58805
- }
58806
- },
58807
- "parameters": [
58808
- {
58809
- "name": "groups",
58810
- "type": {
58811
- "text": "CriteriaGroup[]"
58812
- }
58813
- },
58814
- {
58815
- "name": "fieldMetadata",
58816
- "type": {
58817
- "text": "MetadataDetail[] | string[]"
58818
- }
58819
- }
58820
- ],
58821
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58822
- }
58823
- ],
58824
- "exports": [
58825
- {
58826
- "kind": "js",
58827
- "name": "validateClauses",
58828
- "declaration": {
58829
- "name": "validateClauses",
58830
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58831
- }
58832
- },
58833
- {
58834
- "kind": "js",
58835
- "name": "validateGroups",
58836
- "declaration": {
58837
- "name": "validateGroups",
58838
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58839
- }
58840
- }
58841
- ]
58842
- },
58843
58708
  {
58844
58709
  "kind": "javascript-module",
58845
58710
  "path": "src/_config/styles/colors.ts",
@@ -60212,6 +60077,197 @@
60212
60077
  "declarations": [],
60213
60078
  "exports": []
60214
60079
  },
60080
+ {
60081
+ "kind": "javascript-module",
60082
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60083
+ "declarations": [],
60084
+ "exports": []
60085
+ },
60086
+ {
60087
+ "kind": "javascript-module",
60088
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60089
+ "declarations": [
60090
+ {
60091
+ "kind": "function",
60092
+ "name": "groupsToCriteria",
60093
+ "return": {
60094
+ "type": {
60095
+ "text": "string"
60096
+ }
60097
+ },
60098
+ "parameters": [
60099
+ {
60100
+ "name": "groups",
60101
+ "type": {
60102
+ "text": "CriteriaGroup[]"
60103
+ }
60104
+ }
60105
+ ],
60106
+ "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."
60107
+ },
60108
+ {
60109
+ "kind": "variable",
60110
+ "name": "STRING_OPERATORS",
60111
+ "type": {
60112
+ "text": "CriteriaOperator[]"
60113
+ },
60114
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60115
+ },
60116
+ {
60117
+ "kind": "variable",
60118
+ "name": "NUMERIC_OPERATORS",
60119
+ "type": {
60120
+ "text": "CriteriaOperator[]"
60121
+ },
60122
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60123
+ },
60124
+ {
60125
+ "kind": "variable",
60126
+ "name": "DATE_OPERATORS",
60127
+ "type": {
60128
+ "text": "CriteriaOperator[]"
60129
+ },
60130
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60131
+ },
60132
+ {
60133
+ "kind": "variable",
60134
+ "name": "DATETIME_OPERATORS",
60135
+ "type": {
60136
+ "text": "CriteriaOperator[]"
60137
+ },
60138
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60139
+ },
60140
+ {
60141
+ "kind": "variable",
60142
+ "name": "OPERATOR_DISPLAY_LABEL",
60143
+ "type": {
60144
+ "text": "Record<CriteriaOperator, string>"
60145
+ },
60146
+ "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}"
60147
+ }
60148
+ ],
60149
+ "exports": [
60150
+ {
60151
+ "kind": "js",
60152
+ "name": "groupsToCriteria",
60153
+ "declaration": {
60154
+ "name": "groupsToCriteria",
60155
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60156
+ }
60157
+ },
60158
+ {
60159
+ "kind": "js",
60160
+ "name": "STRING_OPERATORS",
60161
+ "declaration": {
60162
+ "name": "STRING_OPERATORS",
60163
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60164
+ }
60165
+ },
60166
+ {
60167
+ "kind": "js",
60168
+ "name": "NUMERIC_OPERATORS",
60169
+ "declaration": {
60170
+ "name": "NUMERIC_OPERATORS",
60171
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60172
+ }
60173
+ },
60174
+ {
60175
+ "kind": "js",
60176
+ "name": "DATE_OPERATORS",
60177
+ "declaration": {
60178
+ "name": "DATE_OPERATORS",
60179
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60180
+ }
60181
+ },
60182
+ {
60183
+ "kind": "js",
60184
+ "name": "DATETIME_OPERATORS",
60185
+ "declaration": {
60186
+ "name": "DATETIME_OPERATORS",
60187
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60188
+ }
60189
+ },
60190
+ {
60191
+ "kind": "js",
60192
+ "name": "OPERATOR_DISPLAY_LABEL",
60193
+ "declaration": {
60194
+ "name": "OPERATOR_DISPLAY_LABEL",
60195
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60196
+ }
60197
+ }
60198
+ ]
60199
+ },
60200
+ {
60201
+ "kind": "javascript-module",
60202
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60203
+ "declarations": [
60204
+ {
60205
+ "kind": "function",
60206
+ "name": "validateClauses",
60207
+ "return": {
60208
+ "type": {
60209
+ "text": "ValidationResult"
60210
+ }
60211
+ },
60212
+ "parameters": [
60213
+ {
60214
+ "name": "clauses",
60215
+ "type": {
60216
+ "text": "CriteriaClause[]"
60217
+ }
60218
+ },
60219
+ {
60220
+ "name": "fieldMetadata",
60221
+ "type": {
60222
+ "text": "MetadataDetail[] | string[]"
60223
+ }
60224
+ }
60225
+ ]
60226
+ },
60227
+ {
60228
+ "kind": "function",
60229
+ "name": "validateGroups",
60230
+ "return": {
60231
+ "type": {
60232
+ "text": "GroupsValidationResult"
60233
+ }
60234
+ },
60235
+ "parameters": [
60236
+ {
60237
+ "name": "groups",
60238
+ "type": {
60239
+ "text": "CriteriaGroup[]"
60240
+ }
60241
+ },
60242
+ {
60243
+ "name": "fieldMetadata",
60244
+ "type": {
60245
+ "text": "MetadataDetail[] | string[]"
60246
+ }
60247
+ }
60248
+ ],
60249
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60250
+ }
60251
+ ],
60252
+ "exports": [
60253
+ {
60254
+ "kind": "js",
60255
+ "name": "validateClauses",
60256
+ "declaration": {
60257
+ "name": "validateClauses",
60258
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60259
+ }
60260
+ },
60261
+ {
60262
+ "kind": "js",
60263
+ "name": "validateGroups",
60264
+ "declaration": {
60265
+ "name": "validateGroups",
60266
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60267
+ }
60268
+ }
60269
+ ]
60270
+ },
60215
60271
  {
60216
60272
  "kind": "javascript-module",
60217
60273
  "path": "src/environment-indicator/utils/configure.ts",