@genesislcap/foundation-ui 15.3.1 → 15.3.2-FUI-2571-formatters.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.
@@ -1422,431 +1422,6 @@
1422
1422
  }
1423
1423
  ]
1424
1424
  },
1425
- {
1426
- "kind": "javascript-module",
1427
- "path": "src/accordion-item/accordion-item.styles.ts",
1428
- "declarations": [
1429
- {
1430
- "kind": "function",
1431
- "name": "foundationAccordionItemStyles",
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
- "exports": [
1454
- {
1455
- "kind": "js",
1456
- "name": "foundationAccordionItemStyles",
1457
- "declaration": {
1458
- "name": "foundationAccordionItemStyles",
1459
- "module": "src/accordion-item/accordion-item.styles.ts"
1460
- }
1461
- }
1462
- ]
1463
- },
1464
- {
1465
- "kind": "javascript-module",
1466
- "path": "src/accordion-item/accordion-item.template.ts",
1467
- "declarations": [
1468
- {
1469
- "kind": "function",
1470
- "name": "foundationAccordionItemTemplate",
1471
- "return": {
1472
- "type": {
1473
- "text": "ViewTemplate<AccordionItem>"
1474
- }
1475
- },
1476
- "parameters": [
1477
- {
1478
- "name": "context",
1479
- "type": {
1480
- "text": "ElementDefinitionContext"
1481
- }
1482
- },
1483
- {
1484
- "name": "definition",
1485
- "type": {
1486
- "text": "FoundationElementDefinition"
1487
- }
1488
- }
1489
- ]
1490
- }
1491
- ],
1492
- "exports": [
1493
- {
1494
- "kind": "js",
1495
- "name": "foundationAccordionItemTemplate",
1496
- "declaration": {
1497
- "name": "foundationAccordionItemTemplate",
1498
- "module": "src/accordion-item/accordion-item.template.ts"
1499
- }
1500
- }
1501
- ]
1502
- },
1503
- {
1504
- "kind": "javascript-module",
1505
- "path": "src/accordion-item/accordion-item.ts",
1506
- "declarations": [
1507
- {
1508
- "kind": "class",
1509
- "description": "",
1510
- "name": "AccordionItem",
1511
- "superclass": {
1512
- "name": "FASTAccordionItem",
1513
- "package": "@microsoft/fast-components"
1514
- },
1515
- "tagName": "%%prefix%%-accordion-item",
1516
- "customElement": true,
1517
- "attributes": [
1518
- {
1519
- "name": "heading-level",
1520
- "type": {
1521
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1522
- },
1523
- "default": "2",
1524
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1525
- "fieldName": "headinglevel",
1526
- "inheritedFrom": {
1527
- "name": "AccordionItem",
1528
- "module": "src/accordion-item/accordion-item.ts"
1529
- }
1530
- },
1531
- {
1532
- "type": {
1533
- "text": "boolean"
1534
- },
1535
- "default": "false",
1536
- "description": "Expands or collapses the item.",
1537
- "fieldName": "expanded",
1538
- "inheritedFrom": {
1539
- "name": "AccordionItem",
1540
- "module": "src/accordion-item/accordion-item.ts"
1541
- }
1542
- },
1543
- {
1544
- "name": "id",
1545
- "type": {
1546
- "text": "string"
1547
- },
1548
- "description": "The item ID",
1549
- "fieldName": "id",
1550
- "inheritedFrom": {
1551
- "name": "AccordionItem",
1552
- "module": "src/accordion-item/accordion-item.ts"
1553
- }
1554
- }
1555
- ],
1556
- "members": [
1557
- {
1558
- "kind": "field",
1559
- "name": "headinglevel",
1560
- "type": {
1561
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1562
- },
1563
- "privacy": "public",
1564
- "default": "2",
1565
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1566
- "inheritedFrom": {
1567
- "name": "AccordionItem",
1568
- "module": "src/accordion-item/accordion-item.ts"
1569
- }
1570
- },
1571
- {
1572
- "kind": "field",
1573
- "name": "expanded",
1574
- "type": {
1575
- "text": "boolean"
1576
- },
1577
- "privacy": "public",
1578
- "default": "false",
1579
- "description": "Expands or collapses the item.",
1580
- "inheritedFrom": {
1581
- "name": "AccordionItem",
1582
- "module": "src/accordion-item/accordion-item.ts"
1583
- }
1584
- },
1585
- {
1586
- "kind": "field",
1587
- "name": "id",
1588
- "type": {
1589
- "text": "string"
1590
- },
1591
- "privacy": "public",
1592
- "description": "The item ID",
1593
- "inheritedFrom": {
1594
- "name": "AccordionItem",
1595
- "module": "src/accordion-item/accordion-item.ts"
1596
- }
1597
- },
1598
- {
1599
- "kind": "field",
1600
- "name": "change",
1601
- "privacy": "private",
1602
- "inheritedFrom": {
1603
- "name": "AccordionItem",
1604
- "module": "src/accordion-item/accordion-item.ts"
1605
- }
1606
- },
1607
- {
1608
- "kind": "field",
1609
- "name": "_presentation",
1610
- "type": {
1611
- "text": "ComponentPresentation | null | undefined"
1612
- },
1613
- "privacy": "private",
1614
- "default": "void 0",
1615
- "inheritedFrom": {
1616
- "name": "FoundationElement",
1617
- "module": "src/foundation-element/foundation-element.ts"
1618
- }
1619
- },
1620
- {
1621
- "kind": "field",
1622
- "name": "$presentation",
1623
- "type": {
1624
- "text": "ComponentPresentation | null"
1625
- },
1626
- "privacy": "public",
1627
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1628
- "inheritedFrom": {
1629
- "name": "FoundationElement",
1630
- "module": "src/foundation-element/foundation-element.ts"
1631
- }
1632
- },
1633
- {
1634
- "kind": "field",
1635
- "name": "template",
1636
- "type": {
1637
- "text": "ElementViewTemplate | void | null"
1638
- },
1639
- "privacy": "public",
1640
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1641
- "inheritedFrom": {
1642
- "name": "FoundationElement",
1643
- "module": "src/foundation-element/foundation-element.ts"
1644
- }
1645
- },
1646
- {
1647
- "kind": "method",
1648
- "name": "templateChanged",
1649
- "privacy": "protected",
1650
- "return": {
1651
- "type": {
1652
- "text": "void"
1653
- }
1654
- },
1655
- "inheritedFrom": {
1656
- "name": "FoundationElement",
1657
- "module": "src/foundation-element/foundation-element.ts"
1658
- }
1659
- },
1660
- {
1661
- "kind": "field",
1662
- "name": "styles",
1663
- "type": {
1664
- "text": "ElementStyles | void | null"
1665
- },
1666
- "privacy": "public",
1667
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1668
- "inheritedFrom": {
1669
- "name": "FoundationElement",
1670
- "module": "src/foundation-element/foundation-element.ts"
1671
- }
1672
- },
1673
- {
1674
- "kind": "method",
1675
- "name": "stylesChanged",
1676
- "privacy": "protected",
1677
- "return": {
1678
- "type": {
1679
- "text": "void"
1680
- }
1681
- },
1682
- "inheritedFrom": {
1683
- "name": "FoundationElement",
1684
- "module": "src/foundation-element/foundation-element.ts"
1685
- }
1686
- },
1687
- {
1688
- "kind": "method",
1689
- "name": "compose",
1690
- "privacy": "public",
1691
- "static": true,
1692
- "return": {
1693
- "type": {
1694
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1695
- }
1696
- },
1697
- "parameters": [
1698
- {
1699
- "name": "this",
1700
- "type": {
1701
- "text": "K"
1702
- }
1703
- },
1704
- {
1705
- "name": "elementDefinition",
1706
- "type": {
1707
- "text": "T"
1708
- },
1709
- "description": "The definition of the element to create the registry\nfunction for."
1710
- }
1711
- ],
1712
- "description": "Defines an element registry function with a set of element definition defaults.",
1713
- "inheritedFrom": {
1714
- "name": "FoundationElement",
1715
- "module": "src/foundation-element/foundation-element.ts"
1716
- }
1717
- }
1718
- ],
1719
- "events": [
1720
- {
1721
- "description": "Fires a custom 'change' event when the button is invoked",
1722
- "name": "change",
1723
- "inheritedFrom": {
1724
- "name": "AccordionItem",
1725
- "module": "src/accordion-item/accordion-item.ts"
1726
- }
1727
- }
1728
- ]
1729
- },
1730
- {
1731
- "kind": "variable",
1732
- "name": "foundationAccordionItemShadowOptions",
1733
- "type": {
1734
- "text": "ShadowRootInit"
1735
- },
1736
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1737
- },
1738
- {
1739
- "kind": "variable",
1740
- "name": "defaultAccordionItemConfig",
1741
- "type": {
1742
- "text": "object"
1743
- },
1744
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1745
- },
1746
- {
1747
- "kind": "variable",
1748
- "name": "foundationAccordionItem",
1749
- "description": "The Foundation Accordion Item",
1750
- "privacy": "public"
1751
- }
1752
- ],
1753
- "exports": [
1754
- {
1755
- "kind": "js",
1756
- "name": "AccordionItem",
1757
- "declaration": {
1758
- "name": "AccordionItem",
1759
- "module": "src/accordion-item/accordion-item.ts"
1760
- }
1761
- },
1762
- {
1763
- "kind": "js",
1764
- "name": "foundationAccordionItemShadowOptions",
1765
- "declaration": {
1766
- "name": "foundationAccordionItemShadowOptions",
1767
- "module": "src/accordion-item/accordion-item.ts"
1768
- }
1769
- },
1770
- {
1771
- "kind": "js",
1772
- "name": "defaultAccordionItemConfig",
1773
- "declaration": {
1774
- "name": "defaultAccordionItemConfig",
1775
- "module": "src/accordion-item/accordion-item.ts"
1776
- }
1777
- },
1778
- {
1779
- "kind": "js",
1780
- "name": "foundationAccordionItem",
1781
- "declaration": {
1782
- "name": "foundationAccordionItem",
1783
- "module": "src/accordion-item/accordion-item.ts"
1784
- }
1785
- }
1786
- ]
1787
- },
1788
- {
1789
- "kind": "javascript-module",
1790
- "path": "src/accordion-item/index.ts",
1791
- "declarations": [],
1792
- "exports": [
1793
- {
1794
- "kind": "js",
1795
- "name": "*",
1796
- "declaration": {
1797
- "name": "*",
1798
- "package": "./accordion-item.template"
1799
- }
1800
- },
1801
- {
1802
- "kind": "js",
1803
- "name": "*",
1804
- "declaration": {
1805
- "name": "*",
1806
- "package": "./accordion-item.styles"
1807
- }
1808
- },
1809
- {
1810
- "kind": "js",
1811
- "name": "*",
1812
- "declaration": {
1813
- "name": "*",
1814
- "package": "./accordion-item"
1815
- }
1816
- }
1817
- ]
1818
- },
1819
- {
1820
- "kind": "javascript-module",
1821
- "path": "src/_config/index.ts",
1822
- "declarations": [],
1823
- "exports": [
1824
- {
1825
- "kind": "js",
1826
- "name": "*",
1827
- "declaration": {
1828
- "name": "*",
1829
- "package": "./styles"
1830
- }
1831
- },
1832
- {
1833
- "kind": "js",
1834
- "name": "*",
1835
- "declaration": {
1836
- "name": "*",
1837
- "package": "./tokens"
1838
- }
1839
- },
1840
- {
1841
- "kind": "js",
1842
- "name": "*",
1843
- "declaration": {
1844
- "name": "*",
1845
- "package": "./values"
1846
- }
1847
- }
1848
- ]
1849
- },
1850
1425
  {
1851
1426
  "kind": "javascript-module",
1852
1427
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2088,6 +1663,18 @@
2088
1663
  "text": "HTMLElement"
2089
1664
  }
2090
1665
  },
1666
+ {
1667
+ "kind": "field",
1668
+ "name": "actionsOpener",
1669
+ "type": {
1670
+ "text": "HTMLElement"
1671
+ }
1672
+ },
1673
+ {
1674
+ "kind": "method",
1675
+ "name": "updateMenuPosition",
1676
+ "privacy": "private"
1677
+ },
2091
1678
  {
2092
1679
  "kind": "method",
2093
1680
  "name": "definitionChanged",
@@ -2408,131 +1995,498 @@
2408
1995
  },
2409
1996
  {
2410
1997
  "kind": "javascript-module",
2411
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1998
+ "path": "src/accordion-item/accordion-item.styles.ts",
2412
1999
  "declarations": [
2413
2000
  {
2414
- "kind": "variable",
2415
- "name": "foundationAiCriteriaSearchStyles",
2416
- "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`"
2001
+ "kind": "function",
2002
+ "name": "foundationAccordionItemStyles",
2003
+ "return": {
2004
+ "type": {
2005
+ "text": "ElementStyles"
2006
+ }
2007
+ },
2008
+ "parameters": [
2009
+ {
2010
+ "name": "context",
2011
+ "type": {
2012
+ "text": "ElementDefinitionContext"
2013
+ }
2014
+ },
2015
+ {
2016
+ "name": "definition",
2017
+ "type": {
2018
+ "text": "FoundationElementDefinition"
2019
+ }
2020
+ }
2021
+ ]
2417
2022
  }
2418
2023
  ],
2419
2024
  "exports": [
2420
2025
  {
2421
2026
  "kind": "js",
2422
- "name": "foundationAiCriteriaSearchStyles",
2027
+ "name": "foundationAccordionItemStyles",
2423
2028
  "declaration": {
2424
- "name": "foundationAiCriteriaSearchStyles",
2425
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2029
+ "name": "foundationAccordionItemStyles",
2030
+ "module": "src/accordion-item/accordion-item.styles.ts"
2426
2031
  }
2427
2032
  }
2428
2033
  ]
2429
2034
  },
2430
2035
  {
2431
2036
  "kind": "javascript-module",
2432
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2037
+ "path": "src/accordion-item/accordion-item.template.ts",
2433
2038
  "declarations": [
2434
2039
  {
2435
- "kind": "variable",
2436
- "name": "foundationAiCriteriaSearchTemplate",
2437
- "type": {
2438
- "text": "ViewTemplate<AiCriteriaSearch>"
2040
+ "kind": "function",
2041
+ "name": "foundationAccordionItemTemplate",
2042
+ "return": {
2043
+ "type": {
2044
+ "text": "ViewTemplate<AccordionItem>"
2045
+ }
2439
2046
  },
2440
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2047
+ "parameters": [
2048
+ {
2049
+ "name": "context",
2050
+ "type": {
2051
+ "text": "ElementDefinitionContext"
2052
+ }
2053
+ },
2054
+ {
2055
+ "name": "definition",
2056
+ "type": {
2057
+ "text": "FoundationElementDefinition"
2058
+ }
2059
+ }
2060
+ ]
2441
2061
  }
2442
2062
  ],
2443
2063
  "exports": [
2444
2064
  {
2445
2065
  "kind": "js",
2446
- "name": "foundationAiCriteriaSearchTemplate",
2066
+ "name": "foundationAccordionItemTemplate",
2447
2067
  "declaration": {
2448
- "name": "foundationAiCriteriaSearchTemplate",
2449
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2068
+ "name": "foundationAccordionItemTemplate",
2069
+ "module": "src/accordion-item/accordion-item.template.ts"
2450
2070
  }
2451
2071
  }
2452
2072
  ]
2453
2073
  },
2454
2074
  {
2455
2075
  "kind": "javascript-module",
2456
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2076
+ "path": "src/accordion-item/accordion-item.ts",
2457
2077
  "declarations": [
2458
2078
  {
2459
2079
  "kind": "class",
2460
- "description": "Natural-language criteria search input with AI interpretation.",
2461
- "name": "AiCriteriaSearch",
2462
- "members": [
2463
- {
2464
- "kind": "field",
2465
- "name": "providerRegistry",
2466
- "type": {
2467
- "text": "AIProviderRegistry"
2468
- }
2469
- },
2080
+ "description": "",
2081
+ "name": "AccordionItem",
2082
+ "superclass": {
2083
+ "name": "FASTAccordionItem",
2084
+ "package": "@microsoft/fast-components"
2085
+ },
2086
+ "tagName": "%%prefix%%-accordion-item",
2087
+ "customElement": true,
2088
+ "attributes": [
2470
2089
  {
2471
- "kind": "field",
2472
- "name": "placeholder",
2090
+ "name": "heading-level",
2091
+ "type": {
2092
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2093
+ },
2094
+ "default": "2",
2095
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2096
+ "fieldName": "headinglevel",
2097
+ "inheritedFrom": {
2098
+ "name": "AccordionItem",
2099
+ "module": "src/accordion-item/accordion-item.ts"
2100
+ }
2101
+ },
2102
+ {
2103
+ "type": {
2104
+ "text": "boolean"
2105
+ },
2106
+ "default": "false",
2107
+ "description": "Expands or collapses the item.",
2108
+ "fieldName": "expanded",
2109
+ "inheritedFrom": {
2110
+ "name": "AccordionItem",
2111
+ "module": "src/accordion-item/accordion-item.ts"
2112
+ }
2113
+ },
2114
+ {
2115
+ "name": "id",
2473
2116
  "type": {
2474
2117
  "text": "string"
2475
2118
  },
2476
- "default": "'Describe your search criteria in natural language...'"
2119
+ "description": "The item ID",
2120
+ "fieldName": "id",
2121
+ "inheritedFrom": {
2122
+ "name": "AccordionItem",
2123
+ "module": "src/accordion-item/accordion-item.ts"
2124
+ }
2125
+ }
2126
+ ],
2127
+ "members": [
2128
+ {
2129
+ "kind": "field",
2130
+ "name": "headinglevel",
2131
+ "type": {
2132
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
2133
+ },
2134
+ "privacy": "public",
2135
+ "default": "2",
2136
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2137
+ "inheritedFrom": {
2138
+ "name": "AccordionItem",
2139
+ "module": "src/accordion-item/accordion-item.ts"
2140
+ }
2477
2141
  },
2478
2142
  {
2479
2143
  "kind": "field",
2480
- "name": "disabled",
2144
+ "name": "expanded",
2481
2145
  "type": {
2482
2146
  "text": "boolean"
2147
+ },
2148
+ "privacy": "public",
2149
+ "default": "false",
2150
+ "description": "Expands or collapses the item.",
2151
+ "inheritedFrom": {
2152
+ "name": "AccordionItem",
2153
+ "module": "src/accordion-item/accordion-item.ts"
2483
2154
  }
2484
2155
  },
2485
2156
  {
2486
2157
  "kind": "field",
2487
- "name": "inputValue",
2158
+ "name": "id",
2488
2159
  "type": {
2489
2160
  "text": "string"
2490
2161
  },
2491
- "default": "''"
2162
+ "privacy": "public",
2163
+ "description": "The item ID",
2164
+ "inheritedFrom": {
2165
+ "name": "AccordionItem",
2166
+ "module": "src/accordion-item/accordion-item.ts"
2167
+ }
2492
2168
  },
2493
2169
  {
2494
2170
  "kind": "field",
2495
- "name": "isInterpreting",
2171
+ "name": "change",
2172
+ "privacy": "private",
2173
+ "inheritedFrom": {
2174
+ "name": "AccordionItem",
2175
+ "module": "src/accordion-item/accordion-item.ts"
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "field",
2180
+ "name": "_presentation",
2496
2181
  "type": {
2497
- "text": "boolean"
2182
+ "text": "ComponentPresentation | null | undefined"
2498
2183
  },
2499
- "default": "false"
2184
+ "privacy": "private",
2185
+ "default": "void 0",
2186
+ "inheritedFrom": {
2187
+ "name": "FoundationElement",
2188
+ "module": "src/foundation-element/foundation-element.ts"
2189
+ }
2500
2190
  },
2501
2191
  {
2502
2192
  "kind": "field",
2503
- "name": "lastValidCriteria",
2193
+ "name": "$presentation",
2504
2194
  "type": {
2505
- "text": "string | null"
2195
+ "text": "ComponentPresentation | null"
2506
2196
  },
2507
- "default": "null"
2197
+ "privacy": "public",
2198
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2199
+ "inheritedFrom": {
2200
+ "name": "FoundationElement",
2201
+ "module": "src/foundation-element/foundation-element.ts"
2202
+ }
2508
2203
  },
2509
2204
  {
2510
2205
  "kind": "field",
2511
- "name": "activeGroups",
2206
+ "name": "template",
2512
2207
  "type": {
2513
- "text": "CriteriaGroup[]"
2208
+ "text": "ElementViewTemplate | void | null"
2514
2209
  },
2515
- "default": "[]"
2210
+ "privacy": "public",
2211
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
2212
+ "inheritedFrom": {
2213
+ "name": "FoundationElement",
2214
+ "module": "src/foundation-element/foundation-element.ts"
2215
+ }
2216
+ },
2217
+ {
2218
+ "kind": "method",
2219
+ "name": "templateChanged",
2220
+ "privacy": "protected",
2221
+ "return": {
2222
+ "type": {
2223
+ "text": "void"
2224
+ }
2225
+ },
2226
+ "inheritedFrom": {
2227
+ "name": "FoundationElement",
2228
+ "module": "src/foundation-element/foundation-element.ts"
2229
+ }
2516
2230
  },
2517
2231
  {
2518
2232
  "kind": "field",
2519
- "name": "showingChips",
2233
+ "name": "styles",
2520
2234
  "type": {
2521
- "text": "boolean"
2235
+ "text": "ElementStyles | void | null"
2522
2236
  },
2523
- "default": "false"
2237
+ "privacy": "public",
2238
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2239
+ "inheritedFrom": {
2240
+ "name": "FoundationElement",
2241
+ "module": "src/foundation-element/foundation-element.ts"
2242
+ }
2243
+ },
2244
+ {
2245
+ "kind": "method",
2246
+ "name": "stylesChanged",
2247
+ "privacy": "protected",
2248
+ "return": {
2249
+ "type": {
2250
+ "text": "void"
2251
+ }
2252
+ },
2253
+ "inheritedFrom": {
2254
+ "name": "FoundationElement",
2255
+ "module": "src/foundation-element/foundation-element.ts"
2256
+ }
2524
2257
  },
2258
+ {
2259
+ "kind": "method",
2260
+ "name": "compose",
2261
+ "privacy": "public",
2262
+ "static": true,
2263
+ "return": {
2264
+ "type": {
2265
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2266
+ }
2267
+ },
2268
+ "parameters": [
2269
+ {
2270
+ "name": "this",
2271
+ "type": {
2272
+ "text": "K"
2273
+ }
2274
+ },
2275
+ {
2276
+ "name": "elementDefinition",
2277
+ "type": {
2278
+ "text": "T"
2279
+ },
2280
+ "description": "The definition of the element to create the registry\nfunction for."
2281
+ }
2282
+ ],
2283
+ "description": "Defines an element registry function with a set of element definition defaults.",
2284
+ "inheritedFrom": {
2285
+ "name": "FoundationElement",
2286
+ "module": "src/foundation-element/foundation-element.ts"
2287
+ }
2288
+ }
2289
+ ],
2290
+ "events": [
2291
+ {
2292
+ "description": "Fires a custom 'change' event when the button is invoked",
2293
+ "name": "change",
2294
+ "inheritedFrom": {
2295
+ "name": "AccordionItem",
2296
+ "module": "src/accordion-item/accordion-item.ts"
2297
+ }
2298
+ }
2299
+ ]
2300
+ },
2301
+ {
2302
+ "kind": "variable",
2303
+ "name": "foundationAccordionItemShadowOptions",
2304
+ "type": {
2305
+ "text": "ShadowRootInit"
2306
+ },
2307
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2308
+ },
2309
+ {
2310
+ "kind": "variable",
2311
+ "name": "defaultAccordionItemConfig",
2312
+ "type": {
2313
+ "text": "object"
2314
+ },
2315
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2316
+ },
2317
+ {
2318
+ "kind": "variable",
2319
+ "name": "foundationAccordionItem",
2320
+ "description": "The Foundation Accordion Item",
2321
+ "privacy": "public"
2322
+ }
2323
+ ],
2324
+ "exports": [
2325
+ {
2326
+ "kind": "js",
2327
+ "name": "AccordionItem",
2328
+ "declaration": {
2329
+ "name": "AccordionItem",
2330
+ "module": "src/accordion-item/accordion-item.ts"
2331
+ }
2332
+ },
2333
+ {
2334
+ "kind": "js",
2335
+ "name": "foundationAccordionItemShadowOptions",
2336
+ "declaration": {
2337
+ "name": "foundationAccordionItemShadowOptions",
2338
+ "module": "src/accordion-item/accordion-item.ts"
2339
+ }
2340
+ },
2341
+ {
2342
+ "kind": "js",
2343
+ "name": "defaultAccordionItemConfig",
2344
+ "declaration": {
2345
+ "name": "defaultAccordionItemConfig",
2346
+ "module": "src/accordion-item/accordion-item.ts"
2347
+ }
2348
+ },
2349
+ {
2350
+ "kind": "js",
2351
+ "name": "foundationAccordionItem",
2352
+ "declaration": {
2353
+ "name": "foundationAccordionItem",
2354
+ "module": "src/accordion-item/accordion-item.ts"
2355
+ }
2356
+ }
2357
+ ]
2358
+ },
2359
+ {
2360
+ "kind": "javascript-module",
2361
+ "path": "src/accordion-item/index.ts",
2362
+ "declarations": [],
2363
+ "exports": [
2364
+ {
2365
+ "kind": "js",
2366
+ "name": "*",
2367
+ "declaration": {
2368
+ "name": "*",
2369
+ "package": "./accordion-item.template"
2370
+ }
2371
+ },
2372
+ {
2373
+ "kind": "js",
2374
+ "name": "*",
2375
+ "declaration": {
2376
+ "name": "*",
2377
+ "package": "./accordion-item.styles"
2378
+ }
2379
+ },
2380
+ {
2381
+ "kind": "js",
2382
+ "name": "*",
2383
+ "declaration": {
2384
+ "name": "*",
2385
+ "package": "./accordion-item"
2386
+ }
2387
+ }
2388
+ ]
2389
+ },
2390
+ {
2391
+ "kind": "javascript-module",
2392
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2393
+ "declarations": [
2394
+ {
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
+ ]
2416
+ }
2417
+ ],
2418
+ "exports": [
2419
+ {
2420
+ "kind": "js",
2421
+ "name": "foundationAiIndicatorStyles",
2422
+ "declaration": {
2423
+ "name": "foundationAiIndicatorStyles",
2424
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2425
+ }
2426
+ }
2427
+ ]
2428
+ },
2429
+ {
2430
+ "kind": "javascript-module",
2431
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2432
+ "declarations": [
2433
+ {
2434
+ "kind": "variable",
2435
+ "name": "foundationAiIndicatorTemplate",
2436
+ "type": {
2437
+ "text": "ViewTemplate<AiIndicator>"
2438
+ },
2439
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2440
+ }
2441
+ ],
2442
+ "exports": [
2443
+ {
2444
+ "kind": "js",
2445
+ "name": "foundationAiIndicatorTemplate",
2446
+ "declaration": {
2447
+ "name": "foundationAiIndicatorTemplate",
2448
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2449
+ }
2450
+ }
2451
+ ]
2452
+ },
2453
+ {
2454
+ "kind": "javascript-module",
2455
+ "path": "src/ai-indicator/ai-indicator.ts",
2456
+ "declarations": [
2457
+ {
2458
+ "kind": "class",
2459
+ "description": "",
2460
+ "name": "AiIndicator",
2461
+ "members": [
2525
2462
  {
2526
2463
  "kind": "field",
2527
- "name": "fieldMetadata",
2464
+ "name": "providerRegistry",
2528
2465
  "type": {
2529
- "text": "MetadataDetail[] | string[]"
2466
+ "text": "AIProviderRegistry"
2467
+ }
2468
+ },
2469
+ {
2470
+ "kind": "field",
2471
+ "name": "aiProvider",
2472
+ "type": {
2473
+ "text": "AIProvider | undefined"
2530
2474
  },
2531
- "default": "[]"
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
2532
2478
  },
2533
2479
  {
2534
2480
  "kind": "field",
2535
- "name": "isRecording",
2481
+ "name": "status",
2482
+ "type": {
2483
+ "text": "AIStatus | null"
2484
+ },
2485
+ "default": "null"
2486
+ },
2487
+ {
2488
+ "kind": "field",
2489
+ "name": "open",
2536
2490
  "type": {
2537
2491
  "text": "boolean"
2538
2492
  },
@@ -2540,33 +2494,45 @@
2540
2494
  },
2541
2495
  {
2542
2496
  "kind": "field",
2543
- "name": "textAreaRef",
2497
+ "name": "state",
2544
2498
  "type": {
2545
- "text": "HTMLTextAreaElement"
2499
+ "text": "AIIndicatorState"
2546
2500
  },
2547
- "privacy": "public"
2501
+ "default": "'none'"
2548
2502
  },
2549
2503
  {
2550
2504
  "kind": "field",
2551
- "name": "stopRecording",
2505
+ "name": "isInstalling",
2552
2506
  "type": {
2553
- "text": "(() => void) | null"
2507
+ "text": "boolean"
2554
2508
  },
2555
- "privacy": "private",
2556
- "default": "null"
2509
+ "default": "false"
2557
2510
  },
2558
2511
  {
2559
2512
  "kind": "field",
2560
- "name": "speechApplyDebounceTimer",
2513
+ "name": "pollTimer",
2561
2514
  "type": {
2562
- "text": "ReturnType<typeof setTimeout> | null"
2515
+ "text": "ReturnType<typeof setInterval> | null"
2563
2516
  },
2564
2517
  "privacy": "private",
2565
2518
  "default": "null"
2566
2519
  },
2567
2520
  {
2568
2521
  "kind": "field",
2569
- "name": "speechAvailable",
2522
+ "name": "clickOutside",
2523
+ "privacy": "private"
2524
+ },
2525
+ {
2526
+ "kind": "field",
2527
+ "name": "chromeStatusLabel",
2528
+ "type": {
2529
+ "text": "string | null"
2530
+ },
2531
+ "readonly": true
2532
+ },
2533
+ {
2534
+ "kind": "field",
2535
+ "name": "canInstall",
2570
2536
  "type": {
2571
2537
  "text": "boolean"
2572
2538
  },
@@ -2574,65 +2540,69 @@
2574
2540
  },
2575
2541
  {
2576
2542
  "kind": "field",
2577
- "name": "criteriaChips",
2543
+ "name": "isDownloading",
2578
2544
  "type": {
2579
- "text": "CriteriaChip[]"
2545
+ "text": "boolean"
2580
2546
  },
2581
2547
  "readonly": true
2582
2548
  },
2583
2549
  {
2584
2550
  "kind": "method",
2585
- "name": "getFieldLabel",
2586
- "privacy": "private",
2551
+ "name": "openChanged",
2587
2552
  "return": {
2588
2553
  "type": {
2589
- "text": "string"
2554
+ "text": "void"
2590
2555
  }
2591
- },
2556
+ }
2557
+ },
2558
+ {
2559
+ "kind": "method",
2560
+ "name": "handleClickOutside",
2561
+ "privacy": "private",
2592
2562
  "parameters": [
2593
2563
  {
2594
- "name": "fieldName",
2564
+ "name": "event",
2595
2565
  "type": {
2596
- "text": "string"
2566
+ "text": "MouseEvent"
2597
2567
  }
2598
2568
  }
2599
2569
  ]
2600
2570
  },
2601
2571
  {
2602
2572
  "kind": "method",
2603
- "name": "toggleCriteriaView",
2573
+ "name": "toggleDropdown"
2574
+ },
2575
+ {
2576
+ "kind": "method",
2577
+ "name": "refreshStatus",
2604
2578
  "return": {
2605
2579
  "type": {
2606
- "text": "void"
2580
+ "text": "Promise<void>"
2607
2581
  }
2608
2582
  }
2609
2583
  },
2610
2584
  {
2611
2585
  "kind": "method",
2612
- "name": "removeChip",
2586
+ "name": "deriveState",
2587
+ "privacy": "private",
2613
2588
  "return": {
2614
2589
  "type": {
2615
- "text": "void"
2590
+ "text": "AIIndicatorState"
2616
2591
  }
2617
2592
  },
2618
2593
  "parameters": [
2619
2594
  {
2620
- "name": "groupIndex",
2621
- "type": {
2622
- "text": "number"
2623
- }
2624
- },
2625
- {
2626
- "name": "clauseIndex",
2595
+ "name": "s",
2627
2596
  "type": {
2628
- "text": "number"
2597
+ "text": "AIStatus | null"
2629
2598
  }
2630
2599
  }
2631
2600
  ]
2632
2601
  },
2633
2602
  {
2634
2603
  "kind": "method",
2635
- "name": "clearChips",
2604
+ "name": "maybeStartPolling",
2605
+ "privacy": "private",
2636
2606
  "return": {
2637
2607
  "type": {
2638
2608
  "text": "void"
@@ -2641,24 +2611,32 @@
2641
2611
  },
2642
2612
  {
2643
2613
  "kind": "method",
2644
- "name": "handleSubmit"
2645
- },
2646
- {
2647
- "kind": "method",
2648
- "name": "handleBlur"
2649
- },
2650
- {
2651
- "kind": "method",
2652
- "name": "clear"
2614
+ "name": "startPolling",
2615
+ "privacy": "private",
2616
+ "return": {
2617
+ "type": {
2618
+ "text": "void"
2619
+ }
2620
+ }
2653
2621
  },
2654
2622
  {
2655
2623
  "kind": "method",
2656
- "name": "toggleSpeechInput"
2624
+ "name": "stopPolling",
2625
+ "privacy": "private",
2626
+ "return": {
2627
+ "type": {
2628
+ "text": "void"
2629
+ }
2630
+ }
2657
2631
  },
2658
2632
  {
2659
2633
  "kind": "method",
2660
- "name": "clearSpeechApplyDebounce",
2661
- "privacy": "private"
2634
+ "name": "onInstall",
2635
+ "return": {
2636
+ "type": {
2637
+ "text": "Promise<void>"
2638
+ }
2639
+ }
2662
2640
  },
2663
2641
  {
2664
2642
  "kind": "field",
@@ -2772,245 +2750,88 @@
2772
2750
  }
2773
2751
  }
2774
2752
  ],
2775
- "events": [
2776
- {
2777
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2778
- "name": "criteria-changed"
2779
- },
2780
- {
2781
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2782
- "name": "validation-errors"
2783
- }
2784
- ],
2785
- "attributes": [
2786
- {
2787
- "name": "placeholder",
2788
- "type": {
2789
- "text": "string"
2790
- },
2791
- "default": "'Describe your search criteria in natural language...'",
2792
- "fieldName": "placeholder"
2793
- },
2794
- {
2795
- "type": {
2796
- "text": "boolean"
2797
- },
2798
- "fieldName": "disabled"
2799
- }
2800
- ],
2801
2753
  "superclass": {
2802
2754
  "name": "FoundationElement",
2803
2755
  "package": "@microsoft/fast-foundation"
2804
2756
  },
2805
- "tagName": "%%prefix%%-ai-criteria-search",
2757
+ "tagName": "%%prefix%%-ai-indicator",
2806
2758
  "customElement": true
2807
2759
  },
2808
2760
  {
2809
2761
  "kind": "variable",
2810
- "name": "foundationAiCriteriaSearchShadowOptions",
2811
- "type": {
2812
- "text": "ShadowRootInit"
2813
- },
2814
- "default": "undefined"
2815
- },
2816
- {
2817
- "kind": "variable",
2818
- "name": "defaultAiCriteriaSearchConfig",
2819
- "type": {
2820
- "text": "object"
2821
- },
2822
- "default": "{}"
2823
- },
2824
- {
2825
- "kind": "variable",
2826
- "name": "foundationAiCriteriaSearch"
2762
+ "name": "foundationAiIndicator"
2827
2763
  }
2828
2764
  ],
2829
2765
  "exports": [
2830
2766
  {
2831
2767
  "kind": "js",
2832
- "name": "AiCriteriaSearch",
2833
- "declaration": {
2834
- "name": "AiCriteriaSearch",
2835
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2836
- }
2837
- },
2838
- {
2839
- "kind": "js",
2840
- "name": "foundationAiCriteriaSearchShadowOptions",
2841
- "declaration": {
2842
- "name": "foundationAiCriteriaSearchShadowOptions",
2843
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2844
- }
2845
- },
2846
- {
2847
- "kind": "js",
2848
- "name": "defaultAiCriteriaSearchConfig",
2768
+ "name": "AiIndicator",
2849
2769
  "declaration": {
2850
- "name": "defaultAiCriteriaSearchConfig",
2851
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2770
+ "name": "AiIndicator",
2771
+ "module": "src/ai-indicator/ai-indicator.ts"
2852
2772
  }
2853
2773
  },
2854
2774
  {
2855
2775
  "kind": "js",
2856
- "name": "foundationAiCriteriaSearch",
2776
+ "name": "foundationAiIndicator",
2857
2777
  "declaration": {
2858
- "name": "foundationAiCriteriaSearch",
2859
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2778
+ "name": "foundationAiIndicator",
2779
+ "module": "src/ai-indicator/ai-indicator.ts"
2860
2780
  }
2861
2781
  }
2862
2782
  ]
2863
2783
  },
2864
2784
  {
2865
2785
  "kind": "javascript-module",
2866
- "path": "src/ai-criteria-search/index.ts",
2786
+ "path": "src/ai-indicator/index.ts",
2867
2787
  "declarations": [],
2868
2788
  "exports": [
2869
2789
  {
2870
2790
  "kind": "js",
2871
- "name": "AiCriteriaSearch",
2872
- "declaration": {
2873
- "name": "AiCriteriaSearch",
2874
- "module": "./ai-criteria-search"
2875
- }
2876
- },
2877
- {
2878
- "kind": "js",
2879
- "name": "defaultAiCriteriaSearchConfig",
2880
- "declaration": {
2881
- "name": "defaultAiCriteriaSearchConfig",
2882
- "module": "./ai-criteria-search"
2883
- }
2884
- },
2885
- {
2886
- "kind": "js",
2887
- "name": "foundationAiCriteriaSearch",
2888
- "declaration": {
2889
- "name": "foundationAiCriteriaSearch",
2890
- "module": "./ai-criteria-search"
2891
- }
2892
- },
2893
- {
2894
- "kind": "js",
2895
- "name": "foundationAiCriteriaSearchShadowOptions",
2896
- "declaration": {
2897
- "name": "foundationAiCriteriaSearchShadowOptions",
2898
- "module": "./ai-criteria-search"
2899
- }
2900
- },
2901
- {
2902
- "kind": "js",
2903
- "name": "foundationAiCriteriaSearchStyles",
2904
- "declaration": {
2905
- "name": "foundationAiCriteriaSearchStyles",
2906
- "module": "./ai-criteria-search.styles"
2907
- }
2908
- },
2909
- {
2910
- "kind": "js",
2911
- "name": "foundationAiCriteriaSearchTemplate",
2791
+ "name": "AiIndicator",
2912
2792
  "declaration": {
2913
- "name": "foundationAiCriteriaSearchTemplate",
2914
- "module": "./ai-criteria-search.template"
2793
+ "name": "AiIndicator",
2794
+ "module": "./ai-indicator"
2915
2795
  }
2916
2796
  },
2917
2797
  {
2918
2798
  "kind": "js",
2919
- "name": "*",
2799
+ "name": "foundationAiIndicator",
2920
2800
  "declaration": {
2921
- "name": "*",
2922
- "package": "./validation/criteria-ir"
2801
+ "name": "foundationAiIndicator",
2802
+ "module": "./ai-indicator"
2923
2803
  }
2924
2804
  },
2925
2805
  {
2926
2806
  "kind": "js",
2927
- "name": "*",
2807
+ "name": "type",
2928
2808
  "declaration": {
2929
- "name": "*",
2930
- "package": "./validation/operator-map"
2809
+ "name": "type",
2810
+ "module": "./ai-indicator"
2931
2811
  }
2932
2812
  },
2933
2813
  {
2934
2814
  "kind": "js",
2935
- "name": "*",
2815
+ "name": "AIIndicatorState",
2936
2816
  "declaration": {
2937
- "name": "*",
2938
- "package": "./validation/schema-validator"
2817
+ "name": "AIIndicatorState",
2818
+ "module": "./ai-indicator"
2939
2819
  }
2940
- }
2941
- ]
2942
- },
2943
- {
2944
- "kind": "javascript-module",
2945
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2946
- "declarations": [
2947
- {
2948
- "kind": "function",
2949
- "name": "formatValidationErrors",
2950
- "return": {
2951
- "type": {
2952
- "text": "string"
2953
- }
2954
- },
2955
- "parameters": [
2956
- {
2957
- "name": "errors",
2958
- "type": {
2959
- "text": "ValidationError[]"
2960
- }
2961
- }
2962
- ],
2963
- "description": "Formats validation errors into a user-friendly message."
2964
2820
  },
2965
- {
2966
- "kind": "function",
2967
- "name": "showCriteriaError",
2968
- "return": {
2969
- "type": {
2970
- "text": "void"
2971
- }
2972
- },
2973
- "parameters": [
2974
- {
2975
- "name": "title",
2976
- "type": {
2977
- "text": "string"
2978
- },
2979
- "description": "Notification title (e.g. \"Criteria validation error\")"
2980
- },
2981
- {
2982
- "name": "body",
2983
- "type": {
2984
- "text": "string"
2985
- },
2986
- "description": "Error message to display"
2987
- },
2988
- {
2989
- "name": "tagName",
2990
- "type": {
2991
- "text": "string"
2992
- },
2993
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2994
- }
2995
- ],
2996
- "description": "Shows a criteria error as a toast notification."
2997
- }
2998
- ],
2999
- "exports": [
3000
2821
  {
3001
2822
  "kind": "js",
3002
- "name": "formatValidationErrors",
2823
+ "name": "foundationAiIndicatorTemplate",
3003
2824
  "declaration": {
3004
- "name": "formatValidationErrors",
3005
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2825
+ "name": "foundationAiIndicatorTemplate",
2826
+ "module": "./ai-indicator.template"
3006
2827
  }
3007
2828
  },
3008
2829
  {
3009
2830
  "kind": "js",
3010
- "name": "showCriteriaError",
2831
+ "name": "foundationAiIndicatorStyles",
3011
2832
  "declaration": {
3012
- "name": "showCriteriaError",
3013
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2833
+ "name": "foundationAiIndicatorStyles",
2834
+ "module": "./ai-indicator.styles"
3014
2835
  }
3015
2836
  }
3016
2837
  ]
@@ -3532,75 +3353,57 @@
3532
3353
  },
3533
3354
  {
3534
3355
  "kind": "javascript-module",
3535
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3356
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3536
3357
  "declarations": [
3537
3358
  {
3538
- "kind": "function",
3539
- "name": "foundationAiIndicatorStyles",
3540
- "return": {
3541
- "type": {
3542
- "text": "ElementStyles"
3543
- }
3544
- },
3545
- "parameters": [
3546
- {
3547
- "name": "context",
3548
- "type": {
3549
- "text": "ElementDefinitionContext"
3550
- }
3551
- },
3552
- {
3553
- "name": "definition",
3554
- "type": {
3555
- "text": "FoundationElementDefinition"
3556
- }
3557
- }
3558
- ]
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`"
3559
3362
  }
3560
3363
  ],
3561
3364
  "exports": [
3562
3365
  {
3563
3366
  "kind": "js",
3564
- "name": "foundationAiIndicatorStyles",
3367
+ "name": "foundationAiCriteriaSearchStyles",
3565
3368
  "declaration": {
3566
- "name": "foundationAiIndicatorStyles",
3567
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3369
+ "name": "foundationAiCriteriaSearchStyles",
3370
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3568
3371
  }
3569
3372
  }
3570
3373
  ]
3571
3374
  },
3572
3375
  {
3573
3376
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.template.ts",
3377
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3575
3378
  "declarations": [
3576
3379
  {
3577
3380
  "kind": "variable",
3578
- "name": "foundationAiIndicatorTemplate",
3381
+ "name": "foundationAiCriteriaSearchTemplate",
3579
3382
  "type": {
3580
- "text": "ViewTemplate<AiIndicator>"
3383
+ "text": "ViewTemplate<AiCriteriaSearch>"
3581
3384
  },
3582
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3385
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3583
3386
  }
3584
3387
  ],
3585
3388
  "exports": [
3586
3389
  {
3587
3390
  "kind": "js",
3588
- "name": "foundationAiIndicatorTemplate",
3391
+ "name": "foundationAiCriteriaSearchTemplate",
3589
3392
  "declaration": {
3590
- "name": "foundationAiIndicatorTemplate",
3591
- "module": "src/ai-indicator/ai-indicator.template.ts"
3393
+ "name": "foundationAiCriteriaSearchTemplate",
3394
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3592
3395
  }
3593
3396
  }
3594
3397
  ]
3595
3398
  },
3596
3399
  {
3597
3400
  "kind": "javascript-module",
3598
- "path": "src/ai-indicator/ai-indicator.ts",
3401
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3599
3402
  "declarations": [
3600
3403
  {
3601
3404
  "kind": "class",
3602
- "description": "",
3603
- "name": "AiIndicator",
3405
+ "description": "Natural-language criteria search input with AI interpretation.",
3406
+ "name": "AiCriteriaSearch",
3604
3407
  "members": [
3605
3408
  {
3606
3409
  "kind": "field",
@@ -3611,25 +3414,54 @@
3611
3414
  },
3612
3415
  {
3613
3416
  "kind": "field",
3614
- "name": "aiProvider",
3417
+ "name": "placeholder",
3615
3418
  "type": {
3616
- "text": "AIProvider | undefined"
3419
+ "text": "string"
3617
3420
  },
3618
- "privacy": "private",
3619
- "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.",
3620
- "readonly": true
3421
+ "default": "'Describe your search criteria in natural language...'"
3621
3422
  },
3622
3423
  {
3623
3424
  "kind": "field",
3624
- "name": "status",
3425
+ "name": "disabled",
3625
3426
  "type": {
3626
- "text": "AIStatus | null"
3427
+ "text": "boolean"
3428
+ }
3429
+ },
3430
+ {
3431
+ "kind": "field",
3432
+ "name": "inputValue",
3433
+ "type": {
3434
+ "text": "string"
3435
+ },
3436
+ "default": "''"
3437
+ },
3438
+ {
3439
+ "kind": "field",
3440
+ "name": "isInterpreting",
3441
+ "type": {
3442
+ "text": "boolean"
3443
+ },
3444
+ "default": "false"
3445
+ },
3446
+ {
3447
+ "kind": "field",
3448
+ "name": "lastValidCriteria",
3449
+ "type": {
3450
+ "text": "string | null"
3627
3451
  },
3628
3452
  "default": "null"
3629
3453
  },
3630
3454
  {
3631
3455
  "kind": "field",
3632
- "name": "open",
3456
+ "name": "activeGroups",
3457
+ "type": {
3458
+ "text": "CriteriaGroup[]"
3459
+ },
3460
+ "default": "[]"
3461
+ },
3462
+ {
3463
+ "kind": "field",
3464
+ "name": "showingChips",
3633
3465
  "type": {
3634
3466
  "text": "boolean"
3635
3467
  },
@@ -3637,15 +3469,15 @@
3637
3469
  },
3638
3470
  {
3639
3471
  "kind": "field",
3640
- "name": "state",
3472
+ "name": "fieldMetadata",
3641
3473
  "type": {
3642
- "text": "AIIndicatorState"
3474
+ "text": "MetadataDetail[] | string[]"
3643
3475
  },
3644
- "default": "'none'"
3476
+ "default": "[]"
3645
3477
  },
3646
3478
  {
3647
3479
  "kind": "field",
3648
- "name": "isInstalling",
3480
+ "name": "isRecording",
3649
3481
  "type": {
3650
3482
  "text": "boolean"
3651
3483
  },
@@ -3653,29 +3485,33 @@
3653
3485
  },
3654
3486
  {
3655
3487
  "kind": "field",
3656
- "name": "pollTimer",
3488
+ "name": "textAreaRef",
3657
3489
  "type": {
3658
- "text": "ReturnType<typeof setInterval> | null"
3490
+ "text": "HTMLTextAreaElement"
3659
3491
  },
3660
- "privacy": "private",
3661
- "default": "null"
3492
+ "privacy": "public"
3662
3493
  },
3663
3494
  {
3664
3495
  "kind": "field",
3665
- "name": "clickOutside",
3666
- "privacy": "private"
3496
+ "name": "stopRecording",
3497
+ "type": {
3498
+ "text": "(() => void) | null"
3499
+ },
3500
+ "privacy": "private",
3501
+ "default": "null"
3667
3502
  },
3668
3503
  {
3669
3504
  "kind": "field",
3670
- "name": "chromeStatusLabel",
3505
+ "name": "speechApplyDebounceTimer",
3671
3506
  "type": {
3672
- "text": "string | null"
3507
+ "text": "ReturnType<typeof setTimeout> | null"
3673
3508
  },
3674
- "readonly": true
3509
+ "privacy": "private",
3510
+ "default": "null"
3675
3511
  },
3676
3512
  {
3677
3513
  "kind": "field",
3678
- "name": "canInstall",
3514
+ "name": "speechAvailable",
3679
3515
  "type": {
3680
3516
  "text": "boolean"
3681
3517
  },
@@ -3683,69 +3519,65 @@
3683
3519
  },
3684
3520
  {
3685
3521
  "kind": "field",
3686
- "name": "isDownloading",
3522
+ "name": "criteriaChips",
3687
3523
  "type": {
3688
- "text": "boolean"
3524
+ "text": "CriteriaChip[]"
3689
3525
  },
3690
3526
  "readonly": true
3691
3527
  },
3692
3528
  {
3693
3529
  "kind": "method",
3694
- "name": "openChanged",
3530
+ "name": "getFieldLabel",
3531
+ "privacy": "private",
3695
3532
  "return": {
3696
3533
  "type": {
3697
- "text": "void"
3534
+ "text": "string"
3698
3535
  }
3699
- }
3700
- },
3701
- {
3702
- "kind": "method",
3703
- "name": "handleClickOutside",
3704
- "privacy": "private",
3536
+ },
3705
3537
  "parameters": [
3706
3538
  {
3707
- "name": "event",
3539
+ "name": "fieldName",
3708
3540
  "type": {
3709
- "text": "MouseEvent"
3541
+ "text": "string"
3710
3542
  }
3711
3543
  }
3712
3544
  ]
3713
3545
  },
3714
3546
  {
3715
3547
  "kind": "method",
3716
- "name": "toggleDropdown"
3717
- },
3718
- {
3719
- "kind": "method",
3720
- "name": "refreshStatus",
3548
+ "name": "toggleCriteriaView",
3721
3549
  "return": {
3722
3550
  "type": {
3723
- "text": "Promise<void>"
3551
+ "text": "void"
3724
3552
  }
3725
3553
  }
3726
3554
  },
3727
3555
  {
3728
3556
  "kind": "method",
3729
- "name": "deriveState",
3730
- "privacy": "private",
3557
+ "name": "removeChip",
3731
3558
  "return": {
3732
3559
  "type": {
3733
- "text": "AIIndicatorState"
3560
+ "text": "void"
3734
3561
  }
3735
3562
  },
3736
3563
  "parameters": [
3737
3564
  {
3738
- "name": "s",
3565
+ "name": "groupIndex",
3739
3566
  "type": {
3740
- "text": "AIStatus | null"
3567
+ "text": "number"
3568
+ }
3569
+ },
3570
+ {
3571
+ "name": "clauseIndex",
3572
+ "type": {
3573
+ "text": "number"
3741
3574
  }
3742
3575
  }
3743
3576
  ]
3744
3577
  },
3745
3578
  {
3746
3579
  "kind": "method",
3747
- "name": "maybeStartPolling",
3748
- "privacy": "private",
3580
+ "name": "clearChips",
3749
3581
  "return": {
3750
3582
  "type": {
3751
3583
  "text": "void"
@@ -3754,32 +3586,24 @@
3754
3586
  },
3755
3587
  {
3756
3588
  "kind": "method",
3757
- "name": "startPolling",
3758
- "privacy": "private",
3759
- "return": {
3760
- "type": {
3761
- "text": "void"
3762
- }
3763
- }
3589
+ "name": "handleSubmit"
3764
3590
  },
3765
3591
  {
3766
3592
  "kind": "method",
3767
- "name": "stopPolling",
3768
- "privacy": "private",
3769
- "return": {
3770
- "type": {
3771
- "text": "void"
3772
- }
3773
- }
3593
+ "name": "handleBlur"
3774
3594
  },
3775
3595
  {
3776
3596
  "kind": "method",
3777
- "name": "onInstall",
3778
- "return": {
3779
- "type": {
3780
- "text": "Promise<void>"
3781
- }
3782
- }
3597
+ "name": "clear"
3598
+ },
3599
+ {
3600
+ "kind": "method",
3601
+ "name": "toggleSpeechInput"
3602
+ },
3603
+ {
3604
+ "kind": "method",
3605
+ "name": "clearSpeechApplyDebounce",
3606
+ "privacy": "private"
3783
3607
  },
3784
3608
  {
3785
3609
  "kind": "field",
@@ -3893,88 +3717,276 @@
3893
3717
  }
3894
3718
  }
3895
3719
  ],
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
+ "attributes": [
3731
+ {
3732
+ "name": "placeholder",
3733
+ "type": {
3734
+ "text": "string"
3735
+ },
3736
+ "default": "'Describe your search criteria in natural language...'",
3737
+ "fieldName": "placeholder"
3738
+ },
3739
+ {
3740
+ "type": {
3741
+ "text": "boolean"
3742
+ },
3743
+ "fieldName": "disabled"
3744
+ }
3745
+ ],
3896
3746
  "superclass": {
3897
3747
  "name": "FoundationElement",
3898
3748
  "package": "@microsoft/fast-foundation"
3899
3749
  },
3900
- "tagName": "%%prefix%%-ai-indicator",
3750
+ "tagName": "%%prefix%%-ai-criteria-search",
3901
3751
  "customElement": true
3902
3752
  },
3903
3753
  {
3904
3754
  "kind": "variable",
3905
- "name": "foundationAiIndicator"
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"
3906
3772
  }
3907
3773
  ],
3908
3774
  "exports": [
3909
3775
  {
3910
3776
  "kind": "js",
3911
- "name": "AiIndicator",
3777
+ "name": "AiCriteriaSearch",
3912
3778
  "declaration": {
3913
- "name": "AiIndicator",
3914
- "module": "src/ai-indicator/ai-indicator.ts"
3779
+ "name": "AiCriteriaSearch",
3780
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3915
3781
  }
3916
3782
  },
3917
3783
  {
3918
3784
  "kind": "js",
3919
- "name": "foundationAiIndicator",
3785
+ "name": "foundationAiCriteriaSearchShadowOptions",
3920
3786
  "declaration": {
3921
- "name": "foundationAiIndicator",
3922
- "module": "src/ai-indicator/ai-indicator.ts"
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"
3923
3805
  }
3924
3806
  }
3925
3807
  ]
3926
3808
  },
3927
3809
  {
3928
3810
  "kind": "javascript-module",
3929
- "path": "src/ai-indicator/index.ts",
3811
+ "path": "src/ai-criteria-search/index.ts",
3930
3812
  "declarations": [],
3931
3813
  "exports": [
3932
3814
  {
3933
3815
  "kind": "js",
3934
- "name": "AiIndicator",
3816
+ "name": "AiCriteriaSearch",
3935
3817
  "declaration": {
3936
- "name": "AiIndicator",
3937
- "module": "./ai-indicator"
3818
+ "name": "AiCriteriaSearch",
3819
+ "module": "./ai-criteria-search"
3938
3820
  }
3939
3821
  },
3940
3822
  {
3941
3823
  "kind": "js",
3942
- "name": "foundationAiIndicator",
3824
+ "name": "defaultAiCriteriaSearchConfig",
3943
3825
  "declaration": {
3944
- "name": "foundationAiIndicator",
3945
- "module": "./ai-indicator"
3826
+ "name": "defaultAiCriteriaSearchConfig",
3827
+ "module": "./ai-criteria-search"
3946
3828
  }
3947
3829
  },
3948
3830
  {
3949
3831
  "kind": "js",
3950
- "name": "type",
3832
+ "name": "foundationAiCriteriaSearch",
3951
3833
  "declaration": {
3952
- "name": "type",
3953
- "module": "./ai-indicator"
3834
+ "name": "foundationAiCriteriaSearch",
3835
+ "module": "./ai-criteria-search"
3954
3836
  }
3955
3837
  },
3956
3838
  {
3957
3839
  "kind": "js",
3958
- "name": "AIIndicatorState",
3840
+ "name": "foundationAiCriteriaSearchShadowOptions",
3959
3841
  "declaration": {
3960
- "name": "AIIndicatorState",
3961
- "module": "./ai-indicator"
3842
+ "name": "foundationAiCriteriaSearchShadowOptions",
3843
+ "module": "./ai-criteria-search"
3962
3844
  }
3963
3845
  },
3964
3846
  {
3965
3847
  "kind": "js",
3966
- "name": "foundationAiIndicatorTemplate",
3848
+ "name": "foundationAiCriteriaSearchStyles",
3967
3849
  "declaration": {
3968
- "name": "foundationAiIndicatorTemplate",
3969
- "module": "./ai-indicator.template"
3850
+ "name": "foundationAiCriteriaSearchStyles",
3851
+ "module": "./ai-criteria-search.styles"
3970
3852
  }
3971
3853
  },
3972
3854
  {
3973
3855
  "kind": "js",
3974
- "name": "foundationAiIndicatorStyles",
3856
+ "name": "foundationAiCriteriaSearchTemplate",
3975
3857
  "declaration": {
3976
- "name": "foundationAiIndicatorStyles",
3977
- "module": "./ai-indicator.styles"
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": [
3901
+ {
3902
+ "name": "errors",
3903
+ "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": [
3919
+ {
3920
+ "name": "title",
3921
+ "type": {
3922
+ "text": "string"
3923
+ },
3924
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3925
+ },
3926
+ {
3927
+ "name": "body",
3928
+ "type": {
3929
+ "text": "string"
3930
+ },
3931
+ "description": "Error message to display"
3932
+ },
3933
+ {
3934
+ "name": "tagName",
3935
+ "type": {
3936
+ "text": "string"
3937
+ },
3938
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3939
+ }
3940
+ ],
3941
+ "description": "Shows a criteria error as a toast notification."
3942
+ }
3943
+ ],
3944
+ "exports": [
3945
+ {
3946
+ "kind": "js",
3947
+ "name": "formatValidationErrors",
3948
+ "declaration": {
3949
+ "name": "formatValidationErrors",
3950
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3951
+ }
3952
+ },
3953
+ {
3954
+ "kind": "js",
3955
+ "name": "showCriteriaError",
3956
+ "declaration": {
3957
+ "name": "showCriteriaError",
3958
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3959
+ }
3960
+ }
3961
+ ]
3962
+ },
3963
+ {
3964
+ "kind": "javascript-module",
3965
+ "path": "src/_config/index.ts",
3966
+ "declarations": [],
3967
+ "exports": [
3968
+ {
3969
+ "kind": "js",
3970
+ "name": "*",
3971
+ "declaration": {
3972
+ "name": "*",
3973
+ "package": "./styles"
3974
+ }
3975
+ },
3976
+ {
3977
+ "kind": "js",
3978
+ "name": "*",
3979
+ "declaration": {
3980
+ "name": "*",
3981
+ "package": "./tokens"
3982
+ }
3983
+ },
3984
+ {
3985
+ "kind": "js",
3986
+ "name": "*",
3987
+ "declaration": {
3988
+ "name": "*",
3989
+ "package": "./values"
3978
3990
  }
3979
3991
  }
3980
3992
  ]
@@ -33898,6 +33910,14 @@
33898
33910
  "name": "*",
33899
33911
  "package": "./number-field"
33900
33912
  }
33913
+ },
33914
+ {
33915
+ "kind": "js",
33916
+ "name": "toIntlNumberFormat",
33917
+ "declaration": {
33918
+ "name": "toIntlNumberFormat",
33919
+ "module": "./utils"
33920
+ }
33901
33921
  }
33902
33922
  ]
33903
33923
  },
@@ -59904,6 +59924,197 @@
59904
59924
  }
59905
59925
  ]
59906
59926
  },
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
+ },
59907
60118
  {
59908
60119
  "kind": "javascript-module",
59909
60120
  "path": "src/_config/styles/colors.ts",
@@ -61276,197 +61487,6 @@
61276
61487
  "declarations": [],
61277
61488
  "exports": []
61278
61489
  },
61279
- {
61280
- "kind": "javascript-module",
61281
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61282
- "declarations": [],
61283
- "exports": []
61284
- },
61285
- {
61286
- "kind": "javascript-module",
61287
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61288
- "declarations": [
61289
- {
61290
- "kind": "function",
61291
- "name": "groupsToCriteria",
61292
- "return": {
61293
- "type": {
61294
- "text": "string"
61295
- }
61296
- },
61297
- "parameters": [
61298
- {
61299
- "name": "groups",
61300
- "type": {
61301
- "text": "CriteriaGroup[]"
61302
- }
61303
- }
61304
- ],
61305
- "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."
61306
- },
61307
- {
61308
- "kind": "variable",
61309
- "name": "STRING_OPERATORS",
61310
- "type": {
61311
- "text": "CriteriaOperator[]"
61312
- },
61313
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61314
- },
61315
- {
61316
- "kind": "variable",
61317
- "name": "NUMERIC_OPERATORS",
61318
- "type": {
61319
- "text": "CriteriaOperator[]"
61320
- },
61321
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61322
- },
61323
- {
61324
- "kind": "variable",
61325
- "name": "DATE_OPERATORS",
61326
- "type": {
61327
- "text": "CriteriaOperator[]"
61328
- },
61329
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61330
- },
61331
- {
61332
- "kind": "variable",
61333
- "name": "DATETIME_OPERATORS",
61334
- "type": {
61335
- "text": "CriteriaOperator[]"
61336
- },
61337
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61338
- },
61339
- {
61340
- "kind": "variable",
61341
- "name": "OPERATOR_DISPLAY_LABEL",
61342
- "type": {
61343
- "text": "Record<CriteriaOperator, string>"
61344
- },
61345
- "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}"
61346
- }
61347
- ],
61348
- "exports": [
61349
- {
61350
- "kind": "js",
61351
- "name": "groupsToCriteria",
61352
- "declaration": {
61353
- "name": "groupsToCriteria",
61354
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61355
- }
61356
- },
61357
- {
61358
- "kind": "js",
61359
- "name": "STRING_OPERATORS",
61360
- "declaration": {
61361
- "name": "STRING_OPERATORS",
61362
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61363
- }
61364
- },
61365
- {
61366
- "kind": "js",
61367
- "name": "NUMERIC_OPERATORS",
61368
- "declaration": {
61369
- "name": "NUMERIC_OPERATORS",
61370
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61371
- }
61372
- },
61373
- {
61374
- "kind": "js",
61375
- "name": "DATE_OPERATORS",
61376
- "declaration": {
61377
- "name": "DATE_OPERATORS",
61378
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61379
- }
61380
- },
61381
- {
61382
- "kind": "js",
61383
- "name": "DATETIME_OPERATORS",
61384
- "declaration": {
61385
- "name": "DATETIME_OPERATORS",
61386
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61387
- }
61388
- },
61389
- {
61390
- "kind": "js",
61391
- "name": "OPERATOR_DISPLAY_LABEL",
61392
- "declaration": {
61393
- "name": "OPERATOR_DISPLAY_LABEL",
61394
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61395
- }
61396
- }
61397
- ]
61398
- },
61399
- {
61400
- "kind": "javascript-module",
61401
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61402
- "declarations": [
61403
- {
61404
- "kind": "function",
61405
- "name": "validateClauses",
61406
- "return": {
61407
- "type": {
61408
- "text": "ValidationResult"
61409
- }
61410
- },
61411
- "parameters": [
61412
- {
61413
- "name": "clauses",
61414
- "type": {
61415
- "text": "CriteriaClause[]"
61416
- }
61417
- },
61418
- {
61419
- "name": "fieldMetadata",
61420
- "type": {
61421
- "text": "MetadataDetail[] | string[]"
61422
- }
61423
- }
61424
- ]
61425
- },
61426
- {
61427
- "kind": "function",
61428
- "name": "validateGroups",
61429
- "return": {
61430
- "type": {
61431
- "text": "GroupsValidationResult"
61432
- }
61433
- },
61434
- "parameters": [
61435
- {
61436
- "name": "groups",
61437
- "type": {
61438
- "text": "CriteriaGroup[]"
61439
- }
61440
- },
61441
- {
61442
- "name": "fieldMetadata",
61443
- "type": {
61444
- "text": "MetadataDetail[] | string[]"
61445
- }
61446
- }
61447
- ],
61448
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61449
- }
61450
- ],
61451
- "exports": [
61452
- {
61453
- "kind": "js",
61454
- "name": "validateClauses",
61455
- "declaration": {
61456
- "name": "validateClauses",
61457
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61458
- }
61459
- },
61460
- {
61461
- "kind": "js",
61462
- "name": "validateGroups",
61463
- "declaration": {
61464
- "name": "validateGroups",
61465
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61466
- }
61467
- }
61468
- ]
61469
- },
61470
61490
  {
61471
61491
  "kind": "javascript-module",
61472
61492
  "path": "src/environment-indicator/utils/configure.ts",