@genesislcap/foundation-ui 15.20.2-FUI-0.2 → 15.20.2-FUI-0.3

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.
@@ -1495,7 +1495,370 @@
1495
1495
  },
1496
1496
  {
1497
1497
  "kind": "javascript-module",
1498
- "path": "src/_config/index.ts",
1498
+ "path": "src/accordion-item/accordion-item.styles.ts",
1499
+ "declarations": [
1500
+ {
1501
+ "kind": "function",
1502
+ "name": "foundationAccordionItemStyles",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "ElementStyles"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "context",
1511
+ "type": {
1512
+ "text": "ElementDefinitionContext"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "definition",
1517
+ "type": {
1518
+ "text": "FoundationElementDefinition"
1519
+ }
1520
+ }
1521
+ ]
1522
+ }
1523
+ ],
1524
+ "exports": [
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationAccordionItemStyles",
1528
+ "declaration": {
1529
+ "name": "foundationAccordionItemStyles",
1530
+ "module": "src/accordion-item/accordion-item.styles.ts"
1531
+ }
1532
+ }
1533
+ ]
1534
+ },
1535
+ {
1536
+ "kind": "javascript-module",
1537
+ "path": "src/accordion-item/accordion-item.template.ts",
1538
+ "declarations": [
1539
+ {
1540
+ "kind": "function",
1541
+ "name": "foundationAccordionItemTemplate",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "ViewTemplate<AccordionItem>"
1545
+ }
1546
+ },
1547
+ "parameters": [
1548
+ {
1549
+ "name": "context",
1550
+ "type": {
1551
+ "text": "ElementDefinitionContext"
1552
+ }
1553
+ },
1554
+ {
1555
+ "name": "definition",
1556
+ "type": {
1557
+ "text": "FoundationElementDefinition"
1558
+ }
1559
+ }
1560
+ ]
1561
+ }
1562
+ ],
1563
+ "exports": [
1564
+ {
1565
+ "kind": "js",
1566
+ "name": "foundationAccordionItemTemplate",
1567
+ "declaration": {
1568
+ "name": "foundationAccordionItemTemplate",
1569
+ "module": "src/accordion-item/accordion-item.template.ts"
1570
+ }
1571
+ }
1572
+ ]
1573
+ },
1574
+ {
1575
+ "kind": "javascript-module",
1576
+ "path": "src/accordion-item/accordion-item.ts",
1577
+ "declarations": [
1578
+ {
1579
+ "kind": "class",
1580
+ "description": "",
1581
+ "name": "AccordionItem",
1582
+ "superclass": {
1583
+ "name": "FASTAccordionItem",
1584
+ "package": "@microsoft/fast-components"
1585
+ },
1586
+ "tagName": "%%prefix%%-accordion-item",
1587
+ "customElement": true,
1588
+ "attributes": [
1589
+ {
1590
+ "name": "heading-level",
1591
+ "type": {
1592
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1593
+ },
1594
+ "default": "2",
1595
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1596
+ "fieldName": "headinglevel",
1597
+ "inheritedFrom": {
1598
+ "name": "AccordionItem",
1599
+ "module": "src/accordion-item/accordion-item.ts"
1600
+ }
1601
+ },
1602
+ {
1603
+ "type": {
1604
+ "text": "boolean"
1605
+ },
1606
+ "default": "false",
1607
+ "description": "Expands or collapses the item.",
1608
+ "fieldName": "expanded",
1609
+ "inheritedFrom": {
1610
+ "name": "AccordionItem",
1611
+ "module": "src/accordion-item/accordion-item.ts"
1612
+ }
1613
+ },
1614
+ {
1615
+ "name": "id",
1616
+ "type": {
1617
+ "text": "string"
1618
+ },
1619
+ "description": "The item ID",
1620
+ "fieldName": "id",
1621
+ "inheritedFrom": {
1622
+ "name": "AccordionItem",
1623
+ "module": "src/accordion-item/accordion-item.ts"
1624
+ }
1625
+ }
1626
+ ],
1627
+ "members": [
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "headinglevel",
1631
+ "type": {
1632
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1633
+ },
1634
+ "privacy": "public",
1635
+ "default": "2",
1636
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1637
+ "inheritedFrom": {
1638
+ "name": "AccordionItem",
1639
+ "module": "src/accordion-item/accordion-item.ts"
1640
+ }
1641
+ },
1642
+ {
1643
+ "kind": "field",
1644
+ "name": "expanded",
1645
+ "type": {
1646
+ "text": "boolean"
1647
+ },
1648
+ "privacy": "public",
1649
+ "default": "false",
1650
+ "description": "Expands or collapses the item.",
1651
+ "inheritedFrom": {
1652
+ "name": "AccordionItem",
1653
+ "module": "src/accordion-item/accordion-item.ts"
1654
+ }
1655
+ },
1656
+ {
1657
+ "kind": "field",
1658
+ "name": "id",
1659
+ "type": {
1660
+ "text": "string"
1661
+ },
1662
+ "privacy": "public",
1663
+ "description": "The item ID",
1664
+ "inheritedFrom": {
1665
+ "name": "AccordionItem",
1666
+ "module": "src/accordion-item/accordion-item.ts"
1667
+ }
1668
+ },
1669
+ {
1670
+ "kind": "field",
1671
+ "name": "change",
1672
+ "privacy": "private",
1673
+ "inheritedFrom": {
1674
+ "name": "AccordionItem",
1675
+ "module": "src/accordion-item/accordion-item.ts"
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "field",
1680
+ "name": "_presentation",
1681
+ "type": {
1682
+ "text": "ComponentPresentation | null | undefined"
1683
+ },
1684
+ "privacy": "private",
1685
+ "default": "void 0",
1686
+ "inheritedFrom": {
1687
+ "name": "FoundationElement",
1688
+ "module": "src/foundation-element/foundation-element.ts"
1689
+ }
1690
+ },
1691
+ {
1692
+ "kind": "field",
1693
+ "name": "$presentation",
1694
+ "type": {
1695
+ "text": "ComponentPresentation | null"
1696
+ },
1697
+ "privacy": "public",
1698
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1699
+ "inheritedFrom": {
1700
+ "name": "FoundationElement",
1701
+ "module": "src/foundation-element/foundation-element.ts"
1702
+ }
1703
+ },
1704
+ {
1705
+ "kind": "field",
1706
+ "name": "template",
1707
+ "type": {
1708
+ "text": "ElementViewTemplate | void | null"
1709
+ },
1710
+ "privacy": "public",
1711
+ "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.",
1712
+ "inheritedFrom": {
1713
+ "name": "FoundationElement",
1714
+ "module": "src/foundation-element/foundation-element.ts"
1715
+ }
1716
+ },
1717
+ {
1718
+ "kind": "method",
1719
+ "name": "templateChanged",
1720
+ "privacy": "protected",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": "void"
1724
+ }
1725
+ },
1726
+ "inheritedFrom": {
1727
+ "name": "FoundationElement",
1728
+ "module": "src/foundation-element/foundation-element.ts"
1729
+ }
1730
+ },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "styles",
1734
+ "type": {
1735
+ "text": "ElementStyles | void | null"
1736
+ },
1737
+ "privacy": "public",
1738
+ "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.",
1739
+ "inheritedFrom": {
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "method",
1746
+ "name": "stylesChanged",
1747
+ "privacy": "protected",
1748
+ "return": {
1749
+ "type": {
1750
+ "text": "void"
1751
+ }
1752
+ },
1753
+ "inheritedFrom": {
1754
+ "name": "FoundationElement",
1755
+ "module": "src/foundation-element/foundation-element.ts"
1756
+ }
1757
+ },
1758
+ {
1759
+ "kind": "method",
1760
+ "name": "compose",
1761
+ "privacy": "public",
1762
+ "static": true,
1763
+ "return": {
1764
+ "type": {
1765
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1766
+ }
1767
+ },
1768
+ "parameters": [
1769
+ {
1770
+ "name": "this",
1771
+ "type": {
1772
+ "text": "K"
1773
+ }
1774
+ },
1775
+ {
1776
+ "name": "elementDefinition",
1777
+ "type": {
1778
+ "text": "T"
1779
+ },
1780
+ "description": "The definition of the element to create the registry\nfunction for."
1781
+ }
1782
+ ],
1783
+ "description": "Defines an element registry function with a set of element definition defaults.",
1784
+ "inheritedFrom": {
1785
+ "name": "FoundationElement",
1786
+ "module": "src/foundation-element/foundation-element.ts"
1787
+ }
1788
+ }
1789
+ ],
1790
+ "events": [
1791
+ {
1792
+ "description": "Fires a custom 'change' event when the button is invoked",
1793
+ "name": "change",
1794
+ "inheritedFrom": {
1795
+ "name": "AccordionItem",
1796
+ "module": "src/accordion-item/accordion-item.ts"
1797
+ }
1798
+ }
1799
+ ]
1800
+ },
1801
+ {
1802
+ "kind": "variable",
1803
+ "name": "foundationAccordionItemShadowOptions",
1804
+ "type": {
1805
+ "text": "ShadowRootInit"
1806
+ },
1807
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1808
+ },
1809
+ {
1810
+ "kind": "variable",
1811
+ "name": "defaultAccordionItemConfig",
1812
+ "type": {
1813
+ "text": "object"
1814
+ },
1815
+ "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}"
1816
+ },
1817
+ {
1818
+ "kind": "variable",
1819
+ "name": "foundationAccordionItem",
1820
+ "description": "The Foundation Accordion Item",
1821
+ "privacy": "public"
1822
+ }
1823
+ ],
1824
+ "exports": [
1825
+ {
1826
+ "kind": "js",
1827
+ "name": "AccordionItem",
1828
+ "declaration": {
1829
+ "name": "AccordionItem",
1830
+ "module": "src/accordion-item/accordion-item.ts"
1831
+ }
1832
+ },
1833
+ {
1834
+ "kind": "js",
1835
+ "name": "foundationAccordionItemShadowOptions",
1836
+ "declaration": {
1837
+ "name": "foundationAccordionItemShadowOptions",
1838
+ "module": "src/accordion-item/accordion-item.ts"
1839
+ }
1840
+ },
1841
+ {
1842
+ "kind": "js",
1843
+ "name": "defaultAccordionItemConfig",
1844
+ "declaration": {
1845
+ "name": "defaultAccordionItemConfig",
1846
+ "module": "src/accordion-item/accordion-item.ts"
1847
+ }
1848
+ },
1849
+ {
1850
+ "kind": "js",
1851
+ "name": "foundationAccordionItem",
1852
+ "declaration": {
1853
+ "name": "foundationAccordionItem",
1854
+ "module": "src/accordion-item/accordion-item.ts"
1855
+ }
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "kind": "javascript-module",
1861
+ "path": "src/accordion-item/index.ts",
1499
1862
  "declarations": [],
1500
1863
  "exports": [
1501
1864
  {
@@ -1503,7 +1866,7 @@
1503
1866
  "name": "*",
1504
1867
  "declaration": {
1505
1868
  "name": "*",
1506
- "package": "./styles"
1869
+ "package": "./accordion-item.template"
1507
1870
  }
1508
1871
  },
1509
1872
  {
@@ -1511,7 +1874,7 @@
1511
1874
  "name": "*",
1512
1875
  "declaration": {
1513
1876
  "name": "*",
1514
- "package": "./tokens"
1877
+ "package": "./accordion-item.styles"
1515
1878
  }
1516
1879
  },
1517
1880
  {
@@ -1519,7 +1882,7 @@
1519
1882
  "name": "*",
1520
1883
  "declaration": {
1521
1884
  "name": "*",
1522
- "package": "./values"
1885
+ "package": "./accordion-item"
1523
1886
  }
1524
1887
  }
1525
1888
  ]
@@ -2097,489 +2460,95 @@
2097
2460
  },
2098
2461
  {
2099
2462
  "kind": "javascript-module",
2100
- "path": "src/accordion-item/accordion-item.styles.ts",
2463
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2101
2464
  "declarations": [
2102
2465
  {
2103
- "kind": "function",
2104
- "name": "foundationAccordionItemStyles",
2105
- "return": {
2106
- "type": {
2107
- "text": "ElementStyles"
2108
- }
2109
- },
2110
- "parameters": [
2111
- {
2112
- "name": "context",
2113
- "type": {
2114
- "text": "ElementDefinitionContext"
2115
- }
2116
- },
2117
- {
2118
- "name": "definition",
2119
- "type": {
2120
- "text": "FoundationElementDefinition"
2121
- }
2122
- }
2123
- ]
2466
+ "kind": "variable",
2467
+ "name": "foundationAiCriteriaSearchStyles",
2468
+ "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`"
2124
2469
  }
2125
2470
  ],
2126
2471
  "exports": [
2127
2472
  {
2128
2473
  "kind": "js",
2129
- "name": "foundationAccordionItemStyles",
2474
+ "name": "foundationAiCriteriaSearchStyles",
2130
2475
  "declaration": {
2131
- "name": "foundationAccordionItemStyles",
2132
- "module": "src/accordion-item/accordion-item.styles.ts"
2476
+ "name": "foundationAiCriteriaSearchStyles",
2477
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2133
2478
  }
2134
2479
  }
2135
2480
  ]
2136
2481
  },
2137
2482
  {
2138
2483
  "kind": "javascript-module",
2139
- "path": "src/accordion-item/accordion-item.template.ts",
2484
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2140
2485
  "declarations": [
2141
2486
  {
2142
- "kind": "function",
2143
- "name": "foundationAccordionItemTemplate",
2144
- "return": {
2145
- "type": {
2146
- "text": "ViewTemplate<AccordionItem>"
2147
- }
2487
+ "kind": "variable",
2488
+ "name": "foundationAiCriteriaSearchTemplate",
2489
+ "type": {
2490
+ "text": "ViewTemplate<AiCriteriaSearch>"
2148
2491
  },
2149
- "parameters": [
2150
- {
2151
- "name": "context",
2152
- "type": {
2153
- "text": "ElementDefinitionContext"
2154
- }
2155
- },
2156
- {
2157
- "name": "definition",
2158
- "type": {
2159
- "text": "FoundationElementDefinition"
2160
- }
2161
- }
2162
- ]
2492
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2163
2493
  }
2164
2494
  ],
2165
2495
  "exports": [
2166
2496
  {
2167
2497
  "kind": "js",
2168
- "name": "foundationAccordionItemTemplate",
2498
+ "name": "foundationAiCriteriaSearchTemplate",
2169
2499
  "declaration": {
2170
- "name": "foundationAccordionItemTemplate",
2171
- "module": "src/accordion-item/accordion-item.template.ts"
2500
+ "name": "foundationAiCriteriaSearchTemplate",
2501
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2172
2502
  }
2173
2503
  }
2174
2504
  ]
2175
2505
  },
2176
2506
  {
2177
2507
  "kind": "javascript-module",
2178
- "path": "src/accordion-item/accordion-item.ts",
2508
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2179
2509
  "declarations": [
2180
2510
  {
2181
2511
  "kind": "class",
2182
- "description": "",
2183
- "name": "AccordionItem",
2184
- "superclass": {
2185
- "name": "FASTAccordionItem",
2186
- "package": "@microsoft/fast-components"
2187
- },
2188
- "tagName": "%%prefix%%-accordion-item",
2189
- "customElement": true,
2190
- "attributes": [
2512
+ "description": "Natural-language criteria search input with AI interpretation.",
2513
+ "name": "AiCriteriaSearch",
2514
+ "members": [
2191
2515
  {
2192
- "name": "heading-level",
2516
+ "kind": "field",
2517
+ "name": "providerRegistry",
2193
2518
  "type": {
2194
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2195
- },
2196
- "default": "2",
2197
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2198
- "fieldName": "headinglevel",
2199
- "inheritedFrom": {
2200
- "name": "AccordionItem",
2201
- "module": "src/accordion-item/accordion-item.ts"
2519
+ "text": "AIProviderRegistry"
2202
2520
  }
2203
2521
  },
2204
2522
  {
2523
+ "kind": "field",
2524
+ "name": "placeholder",
2205
2525
  "type": {
2206
- "text": "boolean"
2526
+ "text": "string"
2207
2527
  },
2208
- "default": "false",
2209
- "description": "Expands or collapses the item.",
2210
- "fieldName": "expanded",
2211
- "inheritedFrom": {
2212
- "name": "AccordionItem",
2213
- "module": "src/accordion-item/accordion-item.ts"
2214
- }
2528
+ "default": "'Describe your search criteria in natural language...'"
2215
2529
  },
2216
2530
  {
2217
- "name": "id",
2531
+ "kind": "field",
2532
+ "name": "disabled",
2218
2533
  "type": {
2219
- "text": "string"
2220
- },
2221
- "description": "The item ID",
2222
- "fieldName": "id",
2223
- "inheritedFrom": {
2224
- "name": "AccordionItem",
2225
- "module": "src/accordion-item/accordion-item.ts"
2534
+ "text": "boolean"
2226
2535
  }
2227
- }
2228
- ],
2229
- "members": [
2536
+ },
2230
2537
  {
2231
2538
  "kind": "field",
2232
- "name": "headinglevel",
2539
+ "name": "inputValue",
2233
2540
  "type": {
2234
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2541
+ "text": "string"
2235
2542
  },
2236
- "privacy": "public",
2237
- "default": "2",
2238
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2239
- "inheritedFrom": {
2240
- "name": "AccordionItem",
2241
- "module": "src/accordion-item/accordion-item.ts"
2242
- }
2543
+ "default": "''"
2243
2544
  },
2244
2545
  {
2245
2546
  "kind": "field",
2246
- "name": "expanded",
2547
+ "name": "isInterpreting",
2247
2548
  "type": {
2248
2549
  "text": "boolean"
2249
2550
  },
2250
- "privacy": "public",
2251
- "default": "false",
2252
- "description": "Expands or collapses the item.",
2253
- "inheritedFrom": {
2254
- "name": "AccordionItem",
2255
- "module": "src/accordion-item/accordion-item.ts"
2256
- }
2257
- },
2258
- {
2259
- "kind": "field",
2260
- "name": "id",
2261
- "type": {
2262
- "text": "string"
2263
- },
2264
- "privacy": "public",
2265
- "description": "The item ID",
2266
- "inheritedFrom": {
2267
- "name": "AccordionItem",
2268
- "module": "src/accordion-item/accordion-item.ts"
2269
- }
2270
- },
2271
- {
2272
- "kind": "field",
2273
- "name": "change",
2274
- "privacy": "private",
2275
- "inheritedFrom": {
2276
- "name": "AccordionItem",
2277
- "module": "src/accordion-item/accordion-item.ts"
2278
- }
2279
- },
2280
- {
2281
- "kind": "field",
2282
- "name": "_presentation",
2283
- "type": {
2284
- "text": "ComponentPresentation | null | undefined"
2285
- },
2286
- "privacy": "private",
2287
- "default": "void 0",
2288
- "inheritedFrom": {
2289
- "name": "FoundationElement",
2290
- "module": "src/foundation-element/foundation-element.ts"
2291
- }
2292
- },
2293
- {
2294
- "kind": "field",
2295
- "name": "$presentation",
2296
- "type": {
2297
- "text": "ComponentPresentation | null"
2298
- },
2299
- "privacy": "public",
2300
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2301
- "inheritedFrom": {
2302
- "name": "FoundationElement",
2303
- "module": "src/foundation-element/foundation-element.ts"
2304
- }
2305
- },
2306
- {
2307
- "kind": "field",
2308
- "name": "template",
2309
- "type": {
2310
- "text": "ElementViewTemplate | void | null"
2311
- },
2312
- "privacy": "public",
2313
- "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.",
2314
- "inheritedFrom": {
2315
- "name": "FoundationElement",
2316
- "module": "src/foundation-element/foundation-element.ts"
2317
- }
2318
- },
2319
- {
2320
- "kind": "method",
2321
- "name": "templateChanged",
2322
- "privacy": "protected",
2323
- "return": {
2324
- "type": {
2325
- "text": "void"
2326
- }
2327
- },
2328
- "inheritedFrom": {
2329
- "name": "FoundationElement",
2330
- "module": "src/foundation-element/foundation-element.ts"
2331
- }
2332
- },
2333
- {
2334
- "kind": "field",
2335
- "name": "styles",
2336
- "type": {
2337
- "text": "ElementStyles | void | null"
2338
- },
2339
- "privacy": "public",
2340
- "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.",
2341
- "inheritedFrom": {
2342
- "name": "FoundationElement",
2343
- "module": "src/foundation-element/foundation-element.ts"
2344
- }
2345
- },
2346
- {
2347
- "kind": "method",
2348
- "name": "stylesChanged",
2349
- "privacy": "protected",
2350
- "return": {
2351
- "type": {
2352
- "text": "void"
2353
- }
2354
- },
2355
- "inheritedFrom": {
2356
- "name": "FoundationElement",
2357
- "module": "src/foundation-element/foundation-element.ts"
2358
- }
2359
- },
2360
- {
2361
- "kind": "method",
2362
- "name": "compose",
2363
- "privacy": "public",
2364
- "static": true,
2365
- "return": {
2366
- "type": {
2367
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2368
- }
2369
- },
2370
- "parameters": [
2371
- {
2372
- "name": "this",
2373
- "type": {
2374
- "text": "K"
2375
- }
2376
- },
2377
- {
2378
- "name": "elementDefinition",
2379
- "type": {
2380
- "text": "T"
2381
- },
2382
- "description": "The definition of the element to create the registry\nfunction for."
2383
- }
2384
- ],
2385
- "description": "Defines an element registry function with a set of element definition defaults.",
2386
- "inheritedFrom": {
2387
- "name": "FoundationElement",
2388
- "module": "src/foundation-element/foundation-element.ts"
2389
- }
2390
- }
2391
- ],
2392
- "events": [
2393
- {
2394
- "description": "Fires a custom 'change' event when the button is invoked",
2395
- "name": "change",
2396
- "inheritedFrom": {
2397
- "name": "AccordionItem",
2398
- "module": "src/accordion-item/accordion-item.ts"
2399
- }
2400
- }
2401
- ]
2402
- },
2403
- {
2404
- "kind": "variable",
2405
- "name": "foundationAccordionItemShadowOptions",
2406
- "type": {
2407
- "text": "ShadowRootInit"
2408
- },
2409
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2410
- },
2411
- {
2412
- "kind": "variable",
2413
- "name": "defaultAccordionItemConfig",
2414
- "type": {
2415
- "text": "object"
2416
- },
2417
- "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}"
2418
- },
2419
- {
2420
- "kind": "variable",
2421
- "name": "foundationAccordionItem",
2422
- "description": "The Foundation Accordion Item",
2423
- "privacy": "public"
2424
- }
2425
- ],
2426
- "exports": [
2427
- {
2428
- "kind": "js",
2429
- "name": "AccordionItem",
2430
- "declaration": {
2431
- "name": "AccordionItem",
2432
- "module": "src/accordion-item/accordion-item.ts"
2433
- }
2434
- },
2435
- {
2436
- "kind": "js",
2437
- "name": "foundationAccordionItemShadowOptions",
2438
- "declaration": {
2439
- "name": "foundationAccordionItemShadowOptions",
2440
- "module": "src/accordion-item/accordion-item.ts"
2441
- }
2442
- },
2443
- {
2444
- "kind": "js",
2445
- "name": "defaultAccordionItemConfig",
2446
- "declaration": {
2447
- "name": "defaultAccordionItemConfig",
2448
- "module": "src/accordion-item/accordion-item.ts"
2449
- }
2450
- },
2451
- {
2452
- "kind": "js",
2453
- "name": "foundationAccordionItem",
2454
- "declaration": {
2455
- "name": "foundationAccordionItem",
2456
- "module": "src/accordion-item/accordion-item.ts"
2457
- }
2458
- }
2459
- ]
2460
- },
2461
- {
2462
- "kind": "javascript-module",
2463
- "path": "src/accordion-item/index.ts",
2464
- "declarations": [],
2465
- "exports": [
2466
- {
2467
- "kind": "js",
2468
- "name": "*",
2469
- "declaration": {
2470
- "name": "*",
2471
- "package": "./accordion-item.template"
2472
- }
2473
- },
2474
- {
2475
- "kind": "js",
2476
- "name": "*",
2477
- "declaration": {
2478
- "name": "*",
2479
- "package": "./accordion-item.styles"
2480
- }
2481
- },
2482
- {
2483
- "kind": "js",
2484
- "name": "*",
2485
- "declaration": {
2486
- "name": "*",
2487
- "package": "./accordion-item"
2488
- }
2489
- }
2490
- ]
2491
- },
2492
- {
2493
- "kind": "javascript-module",
2494
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2495
- "declarations": [
2496
- {
2497
- "kind": "variable",
2498
- "name": "foundationAiCriteriaSearchStyles",
2499
- "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`"
2500
- }
2501
- ],
2502
- "exports": [
2503
- {
2504
- "kind": "js",
2505
- "name": "foundationAiCriteriaSearchStyles",
2506
- "declaration": {
2507
- "name": "foundationAiCriteriaSearchStyles",
2508
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2509
- }
2510
- }
2511
- ]
2512
- },
2513
- {
2514
- "kind": "javascript-module",
2515
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2516
- "declarations": [
2517
- {
2518
- "kind": "variable",
2519
- "name": "foundationAiCriteriaSearchTemplate",
2520
- "type": {
2521
- "text": "ViewTemplate<AiCriteriaSearch>"
2522
- },
2523
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2524
- }
2525
- ],
2526
- "exports": [
2527
- {
2528
- "kind": "js",
2529
- "name": "foundationAiCriteriaSearchTemplate",
2530
- "declaration": {
2531
- "name": "foundationAiCriteriaSearchTemplate",
2532
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2533
- }
2534
- }
2535
- ]
2536
- },
2537
- {
2538
- "kind": "javascript-module",
2539
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2540
- "declarations": [
2541
- {
2542
- "kind": "class",
2543
- "description": "Natural-language criteria search input with AI interpretation.",
2544
- "name": "AiCriteriaSearch",
2545
- "members": [
2546
- {
2547
- "kind": "field",
2548
- "name": "providerRegistry",
2549
- "type": {
2550
- "text": "AIProviderRegistry"
2551
- }
2552
- },
2553
- {
2554
- "kind": "field",
2555
- "name": "placeholder",
2556
- "type": {
2557
- "text": "string"
2558
- },
2559
- "default": "'Describe your search criteria in natural language...'"
2560
- },
2561
- {
2562
- "kind": "field",
2563
- "name": "disabled",
2564
- "type": {
2565
- "text": "boolean"
2566
- }
2567
- },
2568
- {
2569
- "kind": "field",
2570
- "name": "inputValue",
2571
- "type": {
2572
- "text": "string"
2573
- },
2574
- "default": "''"
2575
- },
2576
- {
2577
- "kind": "field",
2578
- "name": "isInterpreting",
2579
- "type": {
2580
- "text": "boolean"
2581
- },
2582
- "default": "false"
2551
+ "default": "false"
2583
2552
  },
2584
2553
  {
2585
2554
  "kind": "field",
@@ -3100,11 +3069,11 @@
3100
3069
  },
3101
3070
  {
3102
3071
  "kind": "javascript-module",
3103
- "path": "src/accordion/accordion.styles.ts",
3072
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
3104
3073
  "declarations": [
3105
3074
  {
3106
3075
  "kind": "function",
3107
- "name": "foundationAccordionStyles",
3076
+ "name": "foundationAiIndicatorStyles",
3108
3077
  "return": {
3109
3078
  "type": {
3110
3079
  "text": "ElementStyles"
@@ -3129,276 +3098,224 @@
3129
3098
  "exports": [
3130
3099
  {
3131
3100
  "kind": "js",
3132
- "name": "foundationAccordionStyles",
3101
+ "name": "foundationAiIndicatorStyles",
3133
3102
  "declaration": {
3134
- "name": "foundationAccordionStyles",
3135
- "module": "src/accordion/accordion.styles.ts"
3103
+ "name": "foundationAiIndicatorStyles",
3104
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3136
3105
  }
3137
3106
  }
3138
3107
  ]
3139
3108
  },
3140
3109
  {
3141
3110
  "kind": "javascript-module",
3142
- "path": "src/accordion/accordion.template.ts",
3111
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3143
3112
  "declarations": [
3144
3113
  {
3145
- "kind": "function",
3146
- "name": "foundationAccordionTemplate",
3147
- "return": {
3148
- "type": {
3149
- "text": "ViewTemplate<Accordion>"
3150
- }
3114
+ "kind": "variable",
3115
+ "name": "foundationAiIndicatorTemplate",
3116
+ "type": {
3117
+ "text": "ViewTemplate<AiIndicator>"
3151
3118
  },
3152
- "parameters": [
3153
- {
3154
- "name": "context",
3155
- "type": {
3156
- "text": "ElementDefinitionContext"
3157
- }
3158
- },
3159
- {
3160
- "name": "definition",
3161
- "type": {
3162
- "text": "FoundationElementDefinition"
3163
- }
3164
- }
3165
- ]
3119
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3166
3120
  }
3167
3121
  ],
3168
3122
  "exports": [
3169
3123
  {
3170
3124
  "kind": "js",
3171
- "name": "foundationAccordionTemplate",
3125
+ "name": "foundationAiIndicatorTemplate",
3172
3126
  "declaration": {
3173
- "name": "foundationAccordionTemplate",
3174
- "module": "src/accordion/accordion.template.ts"
3127
+ "name": "foundationAiIndicatorTemplate",
3128
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3175
3129
  }
3176
3130
  }
3177
3131
  ]
3178
3132
  },
3179
3133
  {
3180
3134
  "kind": "javascript-module",
3181
- "path": "src/accordion/accordion.ts",
3135
+ "path": "src/ai-indicator/ai-indicator.ts",
3182
3136
  "declarations": [
3183
3137
  {
3184
3138
  "kind": "class",
3185
3139
  "description": "",
3186
- "name": "Accordion",
3187
- "superclass": {
3188
- "name": "FASTAccordion",
3189
- "package": "@microsoft/fast-foundation"
3190
- },
3191
- "tagName": "%%prefix%%-accordion",
3192
- "customElement": true,
3193
- "attributes": [
3140
+ "name": "AiIndicator",
3141
+ "members": [
3194
3142
  {
3195
- "name": "expand-mode",
3143
+ "kind": "field",
3144
+ "name": "providerRegistry",
3196
3145
  "type": {
3197
- "text": "AccordionExpandMode"
3198
- },
3199
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3200
- "fieldName": "expandmode",
3201
- "inheritedFrom": {
3202
- "name": "Accordion",
3203
- "module": "src/accordion/accordion.ts"
3146
+ "text": "AIProviderRegistry"
3204
3147
  }
3205
- }
3206
- ],
3207
- "members": [
3148
+ },
3208
3149
  {
3209
3150
  "kind": "field",
3210
- "name": "expandmode",
3151
+ "name": "aiProvider",
3211
3152
  "type": {
3212
- "text": "AccordionExpandMode"
3153
+ "text": "AIProvider | undefined"
3213
3154
  },
3214
- "privacy": "public",
3215
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3216
- "inheritedFrom": {
3217
- "name": "Accordion",
3218
- "module": "src/accordion/accordion.ts"
3219
- }
3155
+ "privacy": "private",
3156
+ "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.",
3157
+ "readonly": true
3220
3158
  },
3221
3159
  {
3222
3160
  "kind": "field",
3223
- "name": "activeid",
3161
+ "name": "status",
3224
3162
  "type": {
3225
- "text": "string | null"
3163
+ "text": "AIStatus | null"
3226
3164
  },
3227
- "privacy": "private",
3228
- "inheritedFrom": {
3229
- "name": "Accordion",
3230
- "module": "src/accordion/accordion.ts"
3231
- }
3165
+ "default": "null"
3232
3166
  },
3233
3167
  {
3234
3168
  "kind": "field",
3235
- "name": "activeItemIndex",
3169
+ "name": "open",
3236
3170
  "type": {
3237
- "text": "number"
3171
+ "text": "boolean"
3238
3172
  },
3239
- "privacy": "private",
3240
- "default": "0",
3241
- "inheritedFrom": {
3242
- "name": "Accordion",
3243
- "module": "src/accordion/accordion.ts"
3244
- }
3173
+ "default": "false"
3245
3174
  },
3246
3175
  {
3247
3176
  "kind": "field",
3248
- "name": "accordionIds",
3177
+ "name": "state",
3249
3178
  "type": {
3250
- "text": "Array<string | null>"
3179
+ "text": "AIIndicatorState"
3251
3180
  },
3252
- "privacy": "private",
3253
- "inheritedFrom": {
3254
- "name": "Accordion",
3255
- "module": "src/accordion/accordion.ts"
3256
- }
3181
+ "default": "'none'"
3257
3182
  },
3258
3183
  {
3259
3184
  "kind": "field",
3260
- "name": "change",
3261
- "privacy": "private",
3262
- "inheritedFrom": {
3263
- "name": "Accordion",
3264
- "module": "src/accordion/accordion.ts"
3265
- }
3185
+ "name": "isInstalling",
3186
+ "type": {
3187
+ "text": "boolean"
3188
+ },
3189
+ "default": "false"
3266
3190
  },
3267
3191
  {
3268
- "kind": "method",
3269
- "name": "findExpandedItem",
3192
+ "kind": "field",
3193
+ "name": "pollTimer",
3194
+ "type": {
3195
+ "text": "ReturnType<typeof setInterval> | null"
3196
+ },
3270
3197
  "privacy": "private",
3271
- "return": {
3272
- "type": {
3273
- "text": "AccordionItem | null"
3274
- }
3198
+ "default": "null"
3199
+ },
3200
+ {
3201
+ "kind": "field",
3202
+ "name": "clickOutside",
3203
+ "privacy": "private"
3204
+ },
3205
+ {
3206
+ "kind": "field",
3207
+ "name": "chromeStatusLabel",
3208
+ "type": {
3209
+ "text": "string | null"
3275
3210
  },
3276
- "inheritedFrom": {
3277
- "name": "Accordion",
3278
- "module": "src/accordion/accordion.ts"
3279
- }
3211
+ "readonly": true
3280
3212
  },
3281
3213
  {
3282
3214
  "kind": "field",
3283
- "name": "setItems",
3284
- "privacy": "private",
3285
- "inheritedFrom": {
3286
- "name": "Accordion",
3287
- "module": "src/accordion/accordion.ts"
3288
- }
3215
+ "name": "canInstall",
3216
+ "type": {
3217
+ "text": "boolean"
3218
+ },
3219
+ "readonly": true
3220
+ },
3221
+ {
3222
+ "kind": "field",
3223
+ "name": "isDownloading",
3224
+ "type": {
3225
+ "text": "boolean"
3226
+ },
3227
+ "readonly": true
3289
3228
  },
3290
3229
  {
3291
3230
  "kind": "method",
3292
- "name": "resetItems",
3293
- "privacy": "private",
3231
+ "name": "openChanged",
3294
3232
  "return": {
3295
3233
  "type": {
3296
3234
  "text": "void"
3297
3235
  }
3298
- },
3299
- "inheritedFrom": {
3300
- "name": "Accordion",
3301
- "module": "src/accordion/accordion.ts"
3302
3236
  }
3303
3237
  },
3304
3238
  {
3305
- "kind": "field",
3306
- "name": "removeItemListeners",
3239
+ "kind": "method",
3240
+ "name": "handleClickOutside",
3307
3241
  "privacy": "private",
3308
- "inheritedFrom": {
3309
- "name": "Accordion",
3310
- "module": "src/accordion/accordion.ts"
3311
- }
3242
+ "parameters": [
3243
+ {
3244
+ "name": "event",
3245
+ "type": {
3246
+ "text": "MouseEvent"
3247
+ }
3248
+ }
3249
+ ]
3312
3250
  },
3313
3251
  {
3314
- "kind": "field",
3315
- "name": "activeItemChange",
3316
- "privacy": "private",
3317
- "inheritedFrom": {
3318
- "name": "Accordion",
3319
- "module": "src/accordion/accordion.ts"
3320
- }
3252
+ "kind": "method",
3253
+ "name": "toggleDropdown"
3321
3254
  },
3322
3255
  {
3323
3256
  "kind": "method",
3324
- "name": "getItemIds",
3325
- "privacy": "private",
3257
+ "name": "refreshStatus",
3326
3258
  "return": {
3327
3259
  "type": {
3328
- "text": "Array<string | null>"
3260
+ "text": "Promise<void>"
3329
3261
  }
3330
- },
3331
- "inheritedFrom": {
3332
- "name": "Accordion",
3333
- "module": "src/accordion/accordion.ts"
3334
3262
  }
3335
3263
  },
3336
3264
  {
3337
3265
  "kind": "method",
3338
- "name": "isSingleExpandMode",
3266
+ "name": "deriveState",
3339
3267
  "privacy": "private",
3340
3268
  "return": {
3341
3269
  "type": {
3342
- "text": "boolean"
3270
+ "text": "AIIndicatorState"
3343
3271
  }
3344
3272
  },
3345
- "inheritedFrom": {
3346
- "name": "Accordion",
3347
- "module": "src/accordion/accordion.ts"
3348
- }
3273
+ "parameters": [
3274
+ {
3275
+ "name": "s",
3276
+ "type": {
3277
+ "text": "AIStatus | null"
3278
+ }
3279
+ }
3280
+ ]
3349
3281
  },
3350
3282
  {
3351
- "kind": "field",
3352
- "name": "handleItemKeyDown",
3283
+ "kind": "method",
3284
+ "name": "maybeStartPolling",
3353
3285
  "privacy": "private",
3354
- "inheritedFrom": {
3355
- "name": "Accordion",
3356
- "module": "src/accordion/accordion.ts"
3286
+ "return": {
3287
+ "type": {
3288
+ "text": "void"
3289
+ }
3357
3290
  }
3358
3291
  },
3359
3292
  {
3360
- "kind": "field",
3361
- "name": "handleItemFocus",
3293
+ "kind": "method",
3294
+ "name": "startPolling",
3362
3295
  "privacy": "private",
3363
- "inheritedFrom": {
3364
- "name": "Accordion",
3365
- "module": "src/accordion/accordion.ts"
3296
+ "return": {
3297
+ "type": {
3298
+ "text": "void"
3299
+ }
3366
3300
  }
3367
3301
  },
3368
3302
  {
3369
3303
  "kind": "method",
3370
- "name": "adjust",
3304
+ "name": "stopPolling",
3371
3305
  "privacy": "private",
3372
3306
  "return": {
3373
3307
  "type": {
3374
3308
  "text": "void"
3375
3309
  }
3376
- },
3377
- "parameters": [
3378
- {
3379
- "name": "adjustment",
3380
- "type": {
3381
- "text": "number"
3382
- }
3383
- }
3384
- ],
3385
- "inheritedFrom": {
3386
- "name": "Accordion",
3387
- "module": "src/accordion/accordion.ts"
3388
3310
  }
3389
3311
  },
3390
3312
  {
3391
3313
  "kind": "method",
3392
- "name": "focusItem",
3393
- "privacy": "private",
3314
+ "name": "onInstall",
3394
3315
  "return": {
3395
3316
  "type": {
3396
- "text": "void"
3317
+ "text": "Promise<void>"
3397
3318
  }
3398
- },
3399
- "inheritedFrom": {
3400
- "name": "Accordion",
3401
- "module": "src/accordion/accordion.ts"
3402
3319
  }
3403
3320
  },
3404
3321
  {
@@ -3513,78 +3430,95 @@
3513
3430
  }
3514
3431
  }
3515
3432
  ],
3516
- "events": [
3517
- {
3518
- "description": "Fires a custom 'change' event when the active item changes",
3519
- "name": "change",
3520
- "inheritedFrom": {
3521
- "name": "Accordion",
3522
- "module": "src/accordion/accordion.ts"
3523
- }
3524
- }
3525
- ]
3526
- },
3527
- {
3528
- "kind": "variable",
3529
- "name": "foundationAccordionShadowOptions",
3530
- "type": {
3531
- "text": "ShadowRootInit"
3433
+ "superclass": {
3434
+ "name": "FoundationElement",
3435
+ "package": "@microsoft/fast-foundation"
3532
3436
  },
3533
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3437
+ "tagName": "%%prefix%%-ai-indicator",
3438
+ "customElement": true
3534
3439
  },
3535
3440
  {
3536
3441
  "kind": "variable",
3537
- "name": "defaultAccordionConfig",
3538
- "type": {
3539
- "text": "object"
3540
- },
3541
- "default": "{}"
3442
+ "name": "foundationAiIndicator"
3443
+ }
3444
+ ],
3445
+ "exports": [
3446
+ {
3447
+ "kind": "js",
3448
+ "name": "AiIndicator",
3449
+ "declaration": {
3450
+ "name": "AiIndicator",
3451
+ "module": "src/ai-indicator/ai-indicator.ts"
3452
+ }
3542
3453
  },
3543
3454
  {
3544
- "kind": "variable",
3545
- "name": "foundationAccordion",
3546
- "description": "The Foundation Accordion",
3547
- "privacy": "public"
3455
+ "kind": "js",
3456
+ "name": "foundationAiIndicator",
3457
+ "declaration": {
3458
+ "name": "foundationAiIndicator",
3459
+ "module": "src/ai-indicator/ai-indicator.ts"
3460
+ }
3548
3461
  }
3549
- ],
3462
+ ]
3463
+ },
3464
+ {
3465
+ "kind": "javascript-module",
3466
+ "path": "src/ai-indicator/index.ts",
3467
+ "declarations": [],
3550
3468
  "exports": [
3551
3469
  {
3552
3470
  "kind": "js",
3553
- "name": "Accordion",
3471
+ "name": "AiIndicator",
3554
3472
  "declaration": {
3555
- "name": "Accordion",
3556
- "module": "src/accordion/accordion.ts"
3473
+ "name": "AiIndicator",
3474
+ "module": "./ai-indicator"
3557
3475
  }
3558
3476
  },
3559
3477
  {
3560
3478
  "kind": "js",
3561
- "name": "foundationAccordionShadowOptions",
3479
+ "name": "foundationAiIndicator",
3562
3480
  "declaration": {
3563
- "name": "foundationAccordionShadowOptions",
3564
- "module": "src/accordion/accordion.ts"
3481
+ "name": "foundationAiIndicator",
3482
+ "module": "./ai-indicator"
3565
3483
  }
3566
3484
  },
3567
3485
  {
3568
3486
  "kind": "js",
3569
- "name": "defaultAccordionConfig",
3487
+ "name": "type",
3570
3488
  "declaration": {
3571
- "name": "defaultAccordionConfig",
3572
- "module": "src/accordion/accordion.ts"
3489
+ "name": "type",
3490
+ "module": "./ai-indicator"
3573
3491
  }
3574
3492
  },
3575
3493
  {
3576
3494
  "kind": "js",
3577
- "name": "foundationAccordion",
3495
+ "name": "AIIndicatorState",
3578
3496
  "declaration": {
3579
- "name": "foundationAccordion",
3580
- "module": "src/accordion/accordion.ts"
3497
+ "name": "AIIndicatorState",
3498
+ "module": "./ai-indicator"
3499
+ }
3500
+ },
3501
+ {
3502
+ "kind": "js",
3503
+ "name": "foundationAiIndicatorTemplate",
3504
+ "declaration": {
3505
+ "name": "foundationAiIndicatorTemplate",
3506
+ "module": "./ai-indicator.template"
3507
+ }
3508
+ },
3509
+ {
3510
+ "kind": "js",
3511
+ "name": "foundationAiIndicatorStyles",
3512
+ "declaration": {
3513
+ "name": "foundationAiIndicatorStyles",
3514
+ "module": "./ai-indicator.styles"
3581
3515
  }
3582
3516
  }
3583
3517
  ]
3584
3518
  },
3585
3519
  {
3586
3520
  "kind": "javascript-module",
3587
- "path": "src/accordion/index.ts",
3521
+ "path": "src/_config/index.ts",
3588
3522
  "declarations": [],
3589
3523
  "exports": [
3590
3524
  {
@@ -3592,7 +3526,7 @@
3592
3526
  "name": "*",
3593
3527
  "declaration": {
3594
3528
  "name": "*",
3595
- "package": "./accordion.template"
3529
+ "package": "./styles"
3596
3530
  }
3597
3531
  },
3598
3532
  {
@@ -3600,7 +3534,7 @@
3600
3534
  "name": "*",
3601
3535
  "declaration": {
3602
3536
  "name": "*",
3603
- "package": "./accordion.styles"
3537
+ "package": "./tokens"
3604
3538
  }
3605
3539
  },
3606
3540
  {
@@ -3608,18 +3542,18 @@
3608
3542
  "name": "*",
3609
3543
  "declaration": {
3610
3544
  "name": "*",
3611
- "package": "./accordion"
3545
+ "package": "./values"
3612
3546
  }
3613
3547
  }
3614
3548
  ]
3615
3549
  },
3616
3550
  {
3617
3551
  "kind": "javascript-module",
3618
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3552
+ "path": "src/accordion/accordion.styles.ts",
3619
3553
  "declarations": [
3620
3554
  {
3621
3555
  "kind": "function",
3622
- "name": "foundationAiIndicatorStyles",
3556
+ "name": "foundationAccordionStyles",
3623
3557
  "return": {
3624
3558
  "type": {
3625
3559
  "text": "ElementStyles"
@@ -3644,224 +3578,276 @@
3644
3578
  "exports": [
3645
3579
  {
3646
3580
  "kind": "js",
3647
- "name": "foundationAiIndicatorStyles",
3581
+ "name": "foundationAccordionStyles",
3648
3582
  "declaration": {
3649
- "name": "foundationAiIndicatorStyles",
3650
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3583
+ "name": "foundationAccordionStyles",
3584
+ "module": "src/accordion/accordion.styles.ts"
3651
3585
  }
3652
3586
  }
3653
3587
  ]
3654
3588
  },
3655
3589
  {
3656
3590
  "kind": "javascript-module",
3657
- "path": "src/ai-indicator/ai-indicator.template.ts",
3591
+ "path": "src/accordion/accordion.template.ts",
3658
3592
  "declarations": [
3659
3593
  {
3660
- "kind": "variable",
3661
- "name": "foundationAiIndicatorTemplate",
3662
- "type": {
3663
- "text": "ViewTemplate<AiIndicator>"
3594
+ "kind": "function",
3595
+ "name": "foundationAccordionTemplate",
3596
+ "return": {
3597
+ "type": {
3598
+ "text": "ViewTemplate<Accordion>"
3599
+ }
3664
3600
  },
3665
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3601
+ "parameters": [
3602
+ {
3603
+ "name": "context",
3604
+ "type": {
3605
+ "text": "ElementDefinitionContext"
3606
+ }
3607
+ },
3608
+ {
3609
+ "name": "definition",
3610
+ "type": {
3611
+ "text": "FoundationElementDefinition"
3612
+ }
3613
+ }
3614
+ ]
3666
3615
  }
3667
3616
  ],
3668
3617
  "exports": [
3669
3618
  {
3670
3619
  "kind": "js",
3671
- "name": "foundationAiIndicatorTemplate",
3620
+ "name": "foundationAccordionTemplate",
3672
3621
  "declaration": {
3673
- "name": "foundationAiIndicatorTemplate",
3674
- "module": "src/ai-indicator/ai-indicator.template.ts"
3622
+ "name": "foundationAccordionTemplate",
3623
+ "module": "src/accordion/accordion.template.ts"
3675
3624
  }
3676
3625
  }
3677
3626
  ]
3678
3627
  },
3679
3628
  {
3680
3629
  "kind": "javascript-module",
3681
- "path": "src/ai-indicator/ai-indicator.ts",
3630
+ "path": "src/accordion/accordion.ts",
3682
3631
  "declarations": [
3683
3632
  {
3684
3633
  "kind": "class",
3685
3634
  "description": "",
3686
- "name": "AiIndicator",
3687
- "members": [
3688
- {
3689
- "kind": "field",
3690
- "name": "providerRegistry",
3691
- "type": {
3692
- "text": "AIProviderRegistry"
3693
- }
3694
- },
3695
- {
3696
- "kind": "field",
3697
- "name": "aiProvider",
3698
- "type": {
3699
- "text": "AIProvider | undefined"
3700
- },
3701
- "privacy": "private",
3702
- "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.",
3703
- "readonly": true
3704
- },
3635
+ "name": "Accordion",
3636
+ "superclass": {
3637
+ "name": "FASTAccordion",
3638
+ "package": "@microsoft/fast-foundation"
3639
+ },
3640
+ "tagName": "%%prefix%%-accordion",
3641
+ "customElement": true,
3642
+ "attributes": [
3705
3643
  {
3706
- "kind": "field",
3707
- "name": "status",
3644
+ "name": "expand-mode",
3708
3645
  "type": {
3709
- "text": "AIStatus | null"
3646
+ "text": "AccordionExpandMode"
3710
3647
  },
3711
- "default": "null"
3712
- },
3648
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3649
+ "fieldName": "expandmode",
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3654
+ }
3655
+ ],
3656
+ "members": [
3713
3657
  {
3714
3658
  "kind": "field",
3715
- "name": "open",
3659
+ "name": "expandmode",
3716
3660
  "type": {
3717
- "text": "boolean"
3661
+ "text": "AccordionExpandMode"
3718
3662
  },
3719
- "default": "false"
3663
+ "privacy": "public",
3664
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3665
+ "inheritedFrom": {
3666
+ "name": "Accordion",
3667
+ "module": "src/accordion/accordion.ts"
3668
+ }
3720
3669
  },
3721
3670
  {
3722
3671
  "kind": "field",
3723
- "name": "state",
3672
+ "name": "activeid",
3724
3673
  "type": {
3725
- "text": "AIIndicatorState"
3674
+ "text": "string | null"
3726
3675
  },
3727
- "default": "'none'"
3676
+ "privacy": "private",
3677
+ "inheritedFrom": {
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3680
+ }
3728
3681
  },
3729
3682
  {
3730
3683
  "kind": "field",
3731
- "name": "isInstalling",
3684
+ "name": "activeItemIndex",
3732
3685
  "type": {
3733
- "text": "boolean"
3686
+ "text": "number"
3734
3687
  },
3735
- "default": "false"
3688
+ "privacy": "private",
3689
+ "default": "0",
3690
+ "inheritedFrom": {
3691
+ "name": "Accordion",
3692
+ "module": "src/accordion/accordion.ts"
3693
+ }
3736
3694
  },
3737
3695
  {
3738
3696
  "kind": "field",
3739
- "name": "pollTimer",
3697
+ "name": "accordionIds",
3740
3698
  "type": {
3741
- "text": "ReturnType<typeof setInterval> | null"
3699
+ "text": "Array<string | null>"
3742
3700
  },
3743
3701
  "privacy": "private",
3744
- "default": "null"
3745
- },
3746
- {
3747
- "kind": "field",
3748
- "name": "clickOutside",
3749
- "privacy": "private"
3702
+ "inheritedFrom": {
3703
+ "name": "Accordion",
3704
+ "module": "src/accordion/accordion.ts"
3705
+ }
3750
3706
  },
3751
3707
  {
3752
3708
  "kind": "field",
3753
- "name": "chromeStatusLabel",
3754
- "type": {
3755
- "text": "string | null"
3756
- },
3757
- "readonly": true
3709
+ "name": "change",
3710
+ "privacy": "private",
3711
+ "inheritedFrom": {
3712
+ "name": "Accordion",
3713
+ "module": "src/accordion/accordion.ts"
3714
+ }
3758
3715
  },
3759
3716
  {
3760
- "kind": "field",
3761
- "name": "canInstall",
3762
- "type": {
3763
- "text": "boolean"
3717
+ "kind": "method",
3718
+ "name": "findExpandedItem",
3719
+ "privacy": "private",
3720
+ "return": {
3721
+ "type": {
3722
+ "text": "AccordionItem | null"
3723
+ }
3764
3724
  },
3765
- "readonly": true
3725
+ "inheritedFrom": {
3726
+ "name": "Accordion",
3727
+ "module": "src/accordion/accordion.ts"
3728
+ }
3766
3729
  },
3767
3730
  {
3768
3731
  "kind": "field",
3769
- "name": "isDownloading",
3770
- "type": {
3771
- "text": "boolean"
3772
- },
3773
- "readonly": true
3732
+ "name": "setItems",
3733
+ "privacy": "private",
3734
+ "inheritedFrom": {
3735
+ "name": "Accordion",
3736
+ "module": "src/accordion/accordion.ts"
3737
+ }
3774
3738
  },
3775
3739
  {
3776
3740
  "kind": "method",
3777
- "name": "openChanged",
3741
+ "name": "resetItems",
3742
+ "privacy": "private",
3778
3743
  "return": {
3779
3744
  "type": {
3780
3745
  "text": "void"
3781
3746
  }
3747
+ },
3748
+ "inheritedFrom": {
3749
+ "name": "Accordion",
3750
+ "module": "src/accordion/accordion.ts"
3782
3751
  }
3783
3752
  },
3784
3753
  {
3785
- "kind": "method",
3786
- "name": "handleClickOutside",
3754
+ "kind": "field",
3755
+ "name": "removeItemListeners",
3787
3756
  "privacy": "private",
3788
- "parameters": [
3789
- {
3790
- "name": "event",
3791
- "type": {
3792
- "text": "MouseEvent"
3793
- }
3794
- }
3795
- ]
3757
+ "inheritedFrom": {
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3760
+ }
3796
3761
  },
3797
3762
  {
3798
- "kind": "method",
3799
- "name": "toggleDropdown"
3763
+ "kind": "field",
3764
+ "name": "activeItemChange",
3765
+ "privacy": "private",
3766
+ "inheritedFrom": {
3767
+ "name": "Accordion",
3768
+ "module": "src/accordion/accordion.ts"
3769
+ }
3800
3770
  },
3801
3771
  {
3802
3772
  "kind": "method",
3803
- "name": "refreshStatus",
3773
+ "name": "getItemIds",
3774
+ "privacy": "private",
3804
3775
  "return": {
3805
3776
  "type": {
3806
- "text": "Promise<void>"
3777
+ "text": "Array<string | null>"
3807
3778
  }
3779
+ },
3780
+ "inheritedFrom": {
3781
+ "name": "Accordion",
3782
+ "module": "src/accordion/accordion.ts"
3808
3783
  }
3809
3784
  },
3810
3785
  {
3811
3786
  "kind": "method",
3812
- "name": "deriveState",
3787
+ "name": "isSingleExpandMode",
3813
3788
  "privacy": "private",
3814
3789
  "return": {
3815
3790
  "type": {
3816
- "text": "AIIndicatorState"
3791
+ "text": "boolean"
3817
3792
  }
3818
3793
  },
3819
- "parameters": [
3820
- {
3821
- "name": "s",
3822
- "type": {
3823
- "text": "AIStatus | null"
3824
- }
3825
- }
3826
- ]
3794
+ "inheritedFrom": {
3795
+ "name": "Accordion",
3796
+ "module": "src/accordion/accordion.ts"
3797
+ }
3827
3798
  },
3828
3799
  {
3829
- "kind": "method",
3830
- "name": "maybeStartPolling",
3800
+ "kind": "field",
3801
+ "name": "handleItemKeyDown",
3831
3802
  "privacy": "private",
3832
- "return": {
3833
- "type": {
3834
- "text": "void"
3835
- }
3803
+ "inheritedFrom": {
3804
+ "name": "Accordion",
3805
+ "module": "src/accordion/accordion.ts"
3836
3806
  }
3837
3807
  },
3838
3808
  {
3839
- "kind": "method",
3840
- "name": "startPolling",
3809
+ "kind": "field",
3810
+ "name": "handleItemFocus",
3841
3811
  "privacy": "private",
3842
- "return": {
3843
- "type": {
3844
- "text": "void"
3845
- }
3812
+ "inheritedFrom": {
3813
+ "name": "Accordion",
3814
+ "module": "src/accordion/accordion.ts"
3846
3815
  }
3847
3816
  },
3848
3817
  {
3849
3818
  "kind": "method",
3850
- "name": "stopPolling",
3819
+ "name": "adjust",
3851
3820
  "privacy": "private",
3852
3821
  "return": {
3853
3822
  "type": {
3854
3823
  "text": "void"
3855
3824
  }
3825
+ },
3826
+ "parameters": [
3827
+ {
3828
+ "name": "adjustment",
3829
+ "type": {
3830
+ "text": "number"
3831
+ }
3832
+ }
3833
+ ],
3834
+ "inheritedFrom": {
3835
+ "name": "Accordion",
3836
+ "module": "src/accordion/accordion.ts"
3856
3837
  }
3857
3838
  },
3858
3839
  {
3859
3840
  "kind": "method",
3860
- "name": "onInstall",
3841
+ "name": "focusItem",
3842
+ "privacy": "private",
3861
3843
  "return": {
3862
3844
  "type": {
3863
- "text": "Promise<void>"
3845
+ "text": "void"
3864
3846
  }
3847
+ },
3848
+ "inheritedFrom": {
3849
+ "name": "Accordion",
3850
+ "module": "src/accordion/accordion.ts"
3865
3851
  }
3866
3852
  },
3867
3853
  {
@@ -3976,88 +3962,102 @@
3976
3962
  }
3977
3963
  }
3978
3964
  ],
3979
- "superclass": {
3980
- "name": "FoundationElement",
3981
- "package": "@microsoft/fast-foundation"
3965
+ "events": [
3966
+ {
3967
+ "description": "Fires a custom 'change' event when the active item changes",
3968
+ "name": "change",
3969
+ "inheritedFrom": {
3970
+ "name": "Accordion",
3971
+ "module": "src/accordion/accordion.ts"
3972
+ }
3973
+ }
3974
+ ]
3975
+ },
3976
+ {
3977
+ "kind": "variable",
3978
+ "name": "foundationAccordionShadowOptions",
3979
+ "type": {
3980
+ "text": "ShadowRootInit"
3982
3981
  },
3983
- "tagName": "%%prefix%%-ai-indicator",
3984
- "customElement": true
3982
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3985
3983
  },
3986
3984
  {
3987
3985
  "kind": "variable",
3988
- "name": "foundationAiIndicator"
3986
+ "name": "defaultAccordionConfig",
3987
+ "type": {
3988
+ "text": "object"
3989
+ },
3990
+ "default": "{}"
3991
+ },
3992
+ {
3993
+ "kind": "variable",
3994
+ "name": "foundationAccordion",
3995
+ "description": "The Foundation Accordion",
3996
+ "privacy": "public"
3989
3997
  }
3990
3998
  ],
3991
3999
  "exports": [
3992
4000
  {
3993
4001
  "kind": "js",
3994
- "name": "AiIndicator",
4002
+ "name": "Accordion",
3995
4003
  "declaration": {
3996
- "name": "AiIndicator",
3997
- "module": "src/ai-indicator/ai-indicator.ts"
4004
+ "name": "Accordion",
4005
+ "module": "src/accordion/accordion.ts"
3998
4006
  }
3999
4007
  },
4000
4008
  {
4001
4009
  "kind": "js",
4002
- "name": "foundationAiIndicator",
4003
- "declaration": {
4004
- "name": "foundationAiIndicator",
4005
- "module": "src/ai-indicator/ai-indicator.ts"
4006
- }
4007
- }
4008
- ]
4009
- },
4010
- {
4011
- "kind": "javascript-module",
4012
- "path": "src/ai-indicator/index.ts",
4013
- "declarations": [],
4014
- "exports": [
4015
- {
4016
- "kind": "js",
4017
- "name": "AiIndicator",
4010
+ "name": "foundationAccordionShadowOptions",
4018
4011
  "declaration": {
4019
- "name": "AiIndicator",
4020
- "module": "./ai-indicator"
4012
+ "name": "foundationAccordionShadowOptions",
4013
+ "module": "src/accordion/accordion.ts"
4021
4014
  }
4022
4015
  },
4023
4016
  {
4024
4017
  "kind": "js",
4025
- "name": "foundationAiIndicator",
4018
+ "name": "defaultAccordionConfig",
4026
4019
  "declaration": {
4027
- "name": "foundationAiIndicator",
4028
- "module": "./ai-indicator"
4020
+ "name": "defaultAccordionConfig",
4021
+ "module": "src/accordion/accordion.ts"
4029
4022
  }
4030
4023
  },
4031
4024
  {
4032
4025
  "kind": "js",
4033
- "name": "type",
4026
+ "name": "foundationAccordion",
4034
4027
  "declaration": {
4035
- "name": "type",
4036
- "module": "./ai-indicator"
4028
+ "name": "foundationAccordion",
4029
+ "module": "src/accordion/accordion.ts"
4037
4030
  }
4038
- },
4031
+ }
4032
+ ]
4033
+ },
4034
+ {
4035
+ "kind": "javascript-module",
4036
+ "path": "src/accordion/index.ts",
4037
+ "declarations": [],
4038
+ "exports": [
4039
4039
  {
4040
4040
  "kind": "js",
4041
- "name": "AIIndicatorState",
4041
+ "name": "*",
4042
4042
  "declaration": {
4043
- "name": "AIIndicatorState",
4044
- "module": "./ai-indicator"
4043
+ "name": "*",
4044
+ "package": "./accordion.template"
4045
4045
  }
4046
4046
  },
4047
4047
  {
4048
4048
  "kind": "js",
4049
- "name": "foundationAiIndicatorTemplate",
4049
+ "name": "*",
4050
4050
  "declaration": {
4051
- "name": "foundationAiIndicatorTemplate",
4052
- "module": "./ai-indicator.template"
4051
+ "name": "*",
4052
+ "package": "./accordion.styles"
4053
4053
  }
4054
4054
  },
4055
4055
  {
4056
4056
  "kind": "js",
4057
- "name": "foundationAiIndicatorStyles",
4057
+ "name": "*",
4058
4058
  "declaration": {
4059
- "name": "foundationAiIndicatorStyles",
4060
- "module": "./ai-indicator.styles"
4059
+ "name": "*",
4060
+ "package": "./accordion"
4061
4061
  }
4062
4062
  }
4063
4063
  ]
@@ -60120,6 +60120,197 @@
60120
60120
  }
60121
60121
  ]
60122
60122
  },
60123
+ {
60124
+ "kind": "javascript-module",
60125
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
60126
+ "declarations": [],
60127
+ "exports": []
60128
+ },
60129
+ {
60130
+ "kind": "javascript-module",
60131
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
60132
+ "declarations": [
60133
+ {
60134
+ "kind": "function",
60135
+ "name": "groupsToCriteria",
60136
+ "return": {
60137
+ "type": {
60138
+ "text": "string"
60139
+ }
60140
+ },
60141
+ "parameters": [
60142
+ {
60143
+ "name": "groups",
60144
+ "type": {
60145
+ "text": "CriteriaGroup[]"
60146
+ }
60147
+ }
60148
+ ],
60149
+ "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."
60150
+ },
60151
+ {
60152
+ "kind": "variable",
60153
+ "name": "STRING_OPERATORS",
60154
+ "type": {
60155
+ "text": "CriteriaOperator[]"
60156
+ },
60157
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
60158
+ },
60159
+ {
60160
+ "kind": "variable",
60161
+ "name": "NUMERIC_OPERATORS",
60162
+ "type": {
60163
+ "text": "CriteriaOperator[]"
60164
+ },
60165
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
60166
+ },
60167
+ {
60168
+ "kind": "variable",
60169
+ "name": "DATE_OPERATORS",
60170
+ "type": {
60171
+ "text": "CriteriaOperator[]"
60172
+ },
60173
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
60174
+ },
60175
+ {
60176
+ "kind": "variable",
60177
+ "name": "DATETIME_OPERATORS",
60178
+ "type": {
60179
+ "text": "CriteriaOperator[]"
60180
+ },
60181
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
60182
+ },
60183
+ {
60184
+ "kind": "variable",
60185
+ "name": "OPERATOR_DISPLAY_LABEL",
60186
+ "type": {
60187
+ "text": "Record<CriteriaOperator, string>"
60188
+ },
60189
+ "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}"
60190
+ }
60191
+ ],
60192
+ "exports": [
60193
+ {
60194
+ "kind": "js",
60195
+ "name": "groupsToCriteria",
60196
+ "declaration": {
60197
+ "name": "groupsToCriteria",
60198
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60199
+ }
60200
+ },
60201
+ {
60202
+ "kind": "js",
60203
+ "name": "STRING_OPERATORS",
60204
+ "declaration": {
60205
+ "name": "STRING_OPERATORS",
60206
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60207
+ }
60208
+ },
60209
+ {
60210
+ "kind": "js",
60211
+ "name": "NUMERIC_OPERATORS",
60212
+ "declaration": {
60213
+ "name": "NUMERIC_OPERATORS",
60214
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60215
+ }
60216
+ },
60217
+ {
60218
+ "kind": "js",
60219
+ "name": "DATE_OPERATORS",
60220
+ "declaration": {
60221
+ "name": "DATE_OPERATORS",
60222
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60223
+ }
60224
+ },
60225
+ {
60226
+ "kind": "js",
60227
+ "name": "DATETIME_OPERATORS",
60228
+ "declaration": {
60229
+ "name": "DATETIME_OPERATORS",
60230
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60231
+ }
60232
+ },
60233
+ {
60234
+ "kind": "js",
60235
+ "name": "OPERATOR_DISPLAY_LABEL",
60236
+ "declaration": {
60237
+ "name": "OPERATOR_DISPLAY_LABEL",
60238
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
60239
+ }
60240
+ }
60241
+ ]
60242
+ },
60243
+ {
60244
+ "kind": "javascript-module",
60245
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
60246
+ "declarations": [
60247
+ {
60248
+ "kind": "function",
60249
+ "name": "validateClauses",
60250
+ "return": {
60251
+ "type": {
60252
+ "text": "ValidationResult"
60253
+ }
60254
+ },
60255
+ "parameters": [
60256
+ {
60257
+ "name": "clauses",
60258
+ "type": {
60259
+ "text": "CriteriaClause[]"
60260
+ }
60261
+ },
60262
+ {
60263
+ "name": "fieldMetadata",
60264
+ "type": {
60265
+ "text": "MetadataDetail[] | string[]"
60266
+ }
60267
+ }
60268
+ ]
60269
+ },
60270
+ {
60271
+ "kind": "function",
60272
+ "name": "validateGroups",
60273
+ "return": {
60274
+ "type": {
60275
+ "text": "GroupsValidationResult"
60276
+ }
60277
+ },
60278
+ "parameters": [
60279
+ {
60280
+ "name": "groups",
60281
+ "type": {
60282
+ "text": "CriteriaGroup[]"
60283
+ }
60284
+ },
60285
+ {
60286
+ "name": "fieldMetadata",
60287
+ "type": {
60288
+ "text": "MetadataDetail[] | string[]"
60289
+ }
60290
+ }
60291
+ ],
60292
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
60293
+ }
60294
+ ],
60295
+ "exports": [
60296
+ {
60297
+ "kind": "js",
60298
+ "name": "validateClauses",
60299
+ "declaration": {
60300
+ "name": "validateClauses",
60301
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60302
+ }
60303
+ },
60304
+ {
60305
+ "kind": "js",
60306
+ "name": "validateGroups",
60307
+ "declaration": {
60308
+ "name": "validateGroups",
60309
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
60310
+ }
60311
+ }
60312
+ ]
60313
+ },
60123
60314
  {
60124
60315
  "kind": "javascript-module",
60125
60316
  "path": "src/_config/styles/colors.ts",
@@ -61492,197 +61683,6 @@
61492
61683
  "declarations": [],
61493
61684
  "exports": []
61494
61685
  },
61495
- {
61496
- "kind": "javascript-module",
61497
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
61498
- "declarations": [],
61499
- "exports": []
61500
- },
61501
- {
61502
- "kind": "javascript-module",
61503
- "path": "src/ai-criteria-search/validation/operator-map.ts",
61504
- "declarations": [
61505
- {
61506
- "kind": "function",
61507
- "name": "groupsToCriteria",
61508
- "return": {
61509
- "type": {
61510
- "text": "string"
61511
- }
61512
- },
61513
- "parameters": [
61514
- {
61515
- "name": "groups",
61516
- "type": {
61517
- "text": "CriteriaGroup[]"
61518
- }
61519
- }
61520
- ],
61521
- "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."
61522
- },
61523
- {
61524
- "kind": "variable",
61525
- "name": "STRING_OPERATORS",
61526
- "type": {
61527
- "text": "CriteriaOperator[]"
61528
- },
61529
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
61530
- },
61531
- {
61532
- "kind": "variable",
61533
- "name": "NUMERIC_OPERATORS",
61534
- "type": {
61535
- "text": "CriteriaOperator[]"
61536
- },
61537
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
61538
- },
61539
- {
61540
- "kind": "variable",
61541
- "name": "DATE_OPERATORS",
61542
- "type": {
61543
- "text": "CriteriaOperator[]"
61544
- },
61545
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
61546
- },
61547
- {
61548
- "kind": "variable",
61549
- "name": "DATETIME_OPERATORS",
61550
- "type": {
61551
- "text": "CriteriaOperator[]"
61552
- },
61553
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
61554
- },
61555
- {
61556
- "kind": "variable",
61557
- "name": "OPERATOR_DISPLAY_LABEL",
61558
- "type": {
61559
- "text": "Record<CriteriaOperator, string>"
61560
- },
61561
- "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}"
61562
- }
61563
- ],
61564
- "exports": [
61565
- {
61566
- "kind": "js",
61567
- "name": "groupsToCriteria",
61568
- "declaration": {
61569
- "name": "groupsToCriteria",
61570
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61571
- }
61572
- },
61573
- {
61574
- "kind": "js",
61575
- "name": "STRING_OPERATORS",
61576
- "declaration": {
61577
- "name": "STRING_OPERATORS",
61578
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61579
- }
61580
- },
61581
- {
61582
- "kind": "js",
61583
- "name": "NUMERIC_OPERATORS",
61584
- "declaration": {
61585
- "name": "NUMERIC_OPERATORS",
61586
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61587
- }
61588
- },
61589
- {
61590
- "kind": "js",
61591
- "name": "DATE_OPERATORS",
61592
- "declaration": {
61593
- "name": "DATE_OPERATORS",
61594
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61595
- }
61596
- },
61597
- {
61598
- "kind": "js",
61599
- "name": "DATETIME_OPERATORS",
61600
- "declaration": {
61601
- "name": "DATETIME_OPERATORS",
61602
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61603
- }
61604
- },
61605
- {
61606
- "kind": "js",
61607
- "name": "OPERATOR_DISPLAY_LABEL",
61608
- "declaration": {
61609
- "name": "OPERATOR_DISPLAY_LABEL",
61610
- "module": "src/ai-criteria-search/validation/operator-map.ts"
61611
- }
61612
- }
61613
- ]
61614
- },
61615
- {
61616
- "kind": "javascript-module",
61617
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
61618
- "declarations": [
61619
- {
61620
- "kind": "function",
61621
- "name": "validateClauses",
61622
- "return": {
61623
- "type": {
61624
- "text": "ValidationResult"
61625
- }
61626
- },
61627
- "parameters": [
61628
- {
61629
- "name": "clauses",
61630
- "type": {
61631
- "text": "CriteriaClause[]"
61632
- }
61633
- },
61634
- {
61635
- "name": "fieldMetadata",
61636
- "type": {
61637
- "text": "MetadataDetail[] | string[]"
61638
- }
61639
- }
61640
- ]
61641
- },
61642
- {
61643
- "kind": "function",
61644
- "name": "validateGroups",
61645
- "return": {
61646
- "type": {
61647
- "text": "GroupsValidationResult"
61648
- }
61649
- },
61650
- "parameters": [
61651
- {
61652
- "name": "groups",
61653
- "type": {
61654
- "text": "CriteriaGroup[]"
61655
- }
61656
- },
61657
- {
61658
- "name": "fieldMetadata",
61659
- "type": {
61660
- "text": "MetadataDetail[] | string[]"
61661
- }
61662
- }
61663
- ],
61664
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
61665
- }
61666
- ],
61667
- "exports": [
61668
- {
61669
- "kind": "js",
61670
- "name": "validateClauses",
61671
- "declaration": {
61672
- "name": "validateClauses",
61673
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61674
- }
61675
- },
61676
- {
61677
- "kind": "js",
61678
- "name": "validateGroups",
61679
- "declaration": {
61680
- "name": "validateGroups",
61681
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
61682
- }
61683
- }
61684
- ]
61685
- },
61686
61686
  {
61687
61687
  "kind": "javascript-module",
61688
61688
  "path": "src/environment-indicator/utils/configure.ts",