@genesislcap/foundation-ui 14.409.0-FUI-2495.2 → 14.409.0-FUI-2495.4

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +733 -733
  2. package/package.json +19 -19
@@ -1714,11 +1714,11 @@
1714
1714
  },
1715
1715
  {
1716
1716
  "kind": "javascript-module",
1717
- "path": "src/actions-menu/actions-menu.styles.ts",
1717
+ "path": "src/accordion/accordion.styles.ts",
1718
1718
  "declarations": [
1719
1719
  {
1720
1720
  "kind": "function",
1721
- "name": "actionsMenuBaseStyles",
1721
+ "name": "foundationAccordionStyles",
1722
1722
  "return": {
1723
1723
  "type": {
1724
1724
  "text": "ElementStyles"
@@ -1738,13 +1738,29 @@
1738
1738
  }
1739
1739
  }
1740
1740
  ]
1741
- },
1741
+ }
1742
+ ],
1743
+ "exports": [
1744
+ {
1745
+ "kind": "js",
1746
+ "name": "foundationAccordionStyles",
1747
+ "declaration": {
1748
+ "name": "foundationAccordionStyles",
1749
+ "module": "src/accordion/accordion.styles.ts"
1750
+ }
1751
+ }
1752
+ ]
1753
+ },
1754
+ {
1755
+ "kind": "javascript-module",
1756
+ "path": "src/accordion/accordion.template.ts",
1757
+ "declarations": [
1742
1758
  {
1743
1759
  "kind": "function",
1744
- "name": "foundationActionsMenuStyles",
1760
+ "name": "foundationAccordionTemplate",
1745
1761
  "return": {
1746
1762
  "type": {
1747
- "text": "ElementStyles"
1763
+ "text": "ViewTemplate<Accordion>"
1748
1764
  }
1749
1765
  },
1750
1766
  "parameters": [
@@ -1766,166 +1782,237 @@
1766
1782
  "exports": [
1767
1783
  {
1768
1784
  "kind": "js",
1769
- "name": "actionsMenuBaseStyles",
1770
- "declaration": {
1771
- "name": "actionsMenuBaseStyles",
1772
- "module": "src/actions-menu/actions-menu.styles.ts"
1773
- }
1774
- },
1775
- {
1776
- "kind": "js",
1777
- "name": "foundationActionsMenuStyles",
1785
+ "name": "foundationAccordionTemplate",
1778
1786
  "declaration": {
1779
- "name": "foundationActionsMenuStyles",
1780
- "module": "src/actions-menu/actions-menu.styles.ts"
1787
+ "name": "foundationAccordionTemplate",
1788
+ "module": "src/accordion/accordion.template.ts"
1781
1789
  }
1782
1790
  }
1783
1791
  ]
1784
1792
  },
1785
1793
  {
1786
1794
  "kind": "javascript-module",
1787
- "path": "src/actions-menu/actions-menu.template.ts",
1795
+ "path": "src/accordion/accordion.ts",
1788
1796
  "declarations": [
1789
1797
  {
1790
- "kind": "function",
1791
- "name": "menuTemplate",
1792
- "parameters": [
1793
- {
1794
- "name": "prefix",
1795
- "type": {
1796
- "text": "string"
1797
- }
1798
- }
1799
- ]
1798
+ "kind": "class",
1799
+ "description": "",
1800
+ "name": "Accordion",
1801
+ "superclass": {
1802
+ "name": "FASTAccordion",
1803
+ "package": "@microsoft/fast-foundation"
1804
+ },
1805
+ "tagName": "%%prefix%%-accordion",
1806
+ "customElement": true
1800
1807
  },
1801
1808
  {
1802
- "kind": "function",
1803
- "name": "singleOptionTemplate",
1804
- "parameters": [
1805
- {
1806
- "name": "prefix",
1807
- "type": {
1808
- "text": "string"
1809
- }
1810
- }
1811
- ]
1809
+ "kind": "variable",
1810
+ "name": "foundationAccordionShadowOptions",
1811
+ "type": {
1812
+ "text": "ShadowRootInit"
1813
+ },
1814
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1812
1815
  },
1813
1816
  {
1814
1817
  "kind": "variable",
1815
- "name": "foundationActionsMenuTemplate",
1818
+ "name": "defaultAccordionConfig",
1816
1819
  "type": {
1817
- "text": "ViewTemplate<ActionsMenu>"
1820
+ "text": "object"
1818
1821
  },
1819
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1822
+ "default": "{}"
1823
+ },
1824
+ {
1825
+ "kind": "variable",
1826
+ "name": "foundationAccordion",
1827
+ "description": "The Foundation Accordion",
1828
+ "privacy": "public"
1820
1829
  }
1821
1830
  ],
1822
1831
  "exports": [
1823
1832
  {
1824
1833
  "kind": "js",
1825
- "name": "menuTemplate",
1834
+ "name": "Accordion",
1826
1835
  "declaration": {
1827
- "name": "menuTemplate",
1828
- "module": "src/actions-menu/actions-menu.template.ts"
1836
+ "name": "Accordion",
1837
+ "module": "src/accordion/accordion.ts"
1829
1838
  }
1830
1839
  },
1831
1840
  {
1832
1841
  "kind": "js",
1833
- "name": "singleOptionTemplate",
1842
+ "name": "foundationAccordionShadowOptions",
1834
1843
  "declaration": {
1835
- "name": "singleOptionTemplate",
1836
- "module": "src/actions-menu/actions-menu.template.ts"
1844
+ "name": "foundationAccordionShadowOptions",
1845
+ "module": "src/accordion/accordion.ts"
1837
1846
  }
1838
1847
  },
1839
1848
  {
1840
1849
  "kind": "js",
1841
- "name": "foundationActionsMenuTemplate",
1850
+ "name": "defaultAccordionConfig",
1842
1851
  "declaration": {
1843
- "name": "foundationActionsMenuTemplate",
1844
- "module": "src/actions-menu/actions-menu.template.ts"
1852
+ "name": "defaultAccordionConfig",
1853
+ "module": "src/accordion/accordion.ts"
1854
+ }
1855
+ },
1856
+ {
1857
+ "kind": "js",
1858
+ "name": "foundationAccordion",
1859
+ "declaration": {
1860
+ "name": "foundationAccordion",
1861
+ "module": "src/accordion/accordion.ts"
1845
1862
  }
1846
1863
  }
1847
1864
  ]
1848
1865
  },
1849
1866
  {
1850
1867
  "kind": "javascript-module",
1851
- "path": "src/actions-menu/actions-menu.ts",
1868
+ "path": "src/accordion/index.ts",
1869
+ "declarations": [],
1870
+ "exports": [
1871
+ {
1872
+ "kind": "js",
1873
+ "name": "*",
1874
+ "declaration": {
1875
+ "name": "*",
1876
+ "package": "./accordion.template"
1877
+ }
1878
+ },
1879
+ {
1880
+ "kind": "js",
1881
+ "name": "*",
1882
+ "declaration": {
1883
+ "name": "*",
1884
+ "package": "./accordion.styles"
1885
+ }
1886
+ },
1887
+ {
1888
+ "kind": "js",
1889
+ "name": "*",
1890
+ "declaration": {
1891
+ "name": "*",
1892
+ "package": "./accordion"
1893
+ }
1894
+ }
1895
+ ]
1896
+ },
1897
+ {
1898
+ "kind": "javascript-module",
1899
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1900
+ "declarations": [
1901
+ {
1902
+ "kind": "variable",
1903
+ "name": "foundationAiCriteriaSearchStyles",
1904
+ "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1905
+ }
1906
+ ],
1907
+ "exports": [
1908
+ {
1909
+ "kind": "js",
1910
+ "name": "foundationAiCriteriaSearchStyles",
1911
+ "declaration": {
1912
+ "name": "foundationAiCriteriaSearchStyles",
1913
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1914
+ }
1915
+ }
1916
+ ]
1917
+ },
1918
+ {
1919
+ "kind": "javascript-module",
1920
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1921
+ "declarations": [
1922
+ {
1923
+ "kind": "variable",
1924
+ "name": "foundationAiCriteriaSearchTemplate",
1925
+ "type": {
1926
+ "text": "ViewTemplate<AiCriteriaSearch>"
1927
+ },
1928
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1929
+ }
1930
+ ],
1931
+ "exports": [
1932
+ {
1933
+ "kind": "js",
1934
+ "name": "foundationAiCriteriaSearchTemplate",
1935
+ "declaration": {
1936
+ "name": "foundationAiCriteriaSearchTemplate",
1937
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1938
+ }
1939
+ }
1940
+ ]
1941
+ },
1942
+ {
1943
+ "kind": "javascript-module",
1944
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1852
1945
  "declarations": [
1853
1946
  {
1854
1947
  "kind": "class",
1855
1948
  "description": "",
1856
- "name": "ActionsMenu",
1949
+ "name": "AiCriteriaSearch",
1857
1950
  "members": [
1858
1951
  {
1859
1952
  "kind": "field",
1860
- "name": "actions",
1953
+ "name": "aiProvider",
1861
1954
  "type": {
1862
- "text": "ActionMenuItem[]"
1955
+ "text": "AIProvider"
1863
1956
  }
1864
1957
  },
1865
1958
  {
1866
1959
  "kind": "field",
1867
- "name": "isVertical",
1960
+ "name": "placeholder",
1868
1961
  "type": {
1869
- "text": "boolean"
1962
+ "text": "string"
1870
1963
  },
1871
- "default": "false"
1964
+ "default": "'Describe your search criteria in natural language...'"
1872
1965
  },
1873
1966
  {
1874
1967
  "kind": "field",
1875
- "name": "addDefaultActions",
1968
+ "name": "disabled",
1876
1969
  "type": {
1877
1970
  "text": "boolean"
1878
- },
1879
- "default": "true"
1971
+ }
1880
1972
  },
1881
1973
  {
1882
1974
  "kind": "field",
1883
- "name": "autoCloseOnAction",
1975
+ "name": "mode",
1884
1976
  "type": {
1885
- "text": "boolean"
1977
+ "text": "'append' | 'replace'"
1886
1978
  },
1887
- "default": "true"
1979
+ "default": "'replace'"
1888
1980
  },
1889
1981
  {
1890
1982
  "kind": "field",
1891
- "name": "classNames",
1983
+ "name": "inputValue",
1892
1984
  "type": {
1893
1985
  "text": "string"
1894
- }
1895
- },
1896
- {
1897
- "kind": "field",
1898
- "name": "definition",
1899
- "type": {
1900
- "text": "any"
1901
- }
1986
+ },
1987
+ "default": "''"
1902
1988
  },
1903
1989
  {
1904
1990
  "kind": "field",
1905
- "name": "name",
1991
+ "name": "isInterpreting",
1906
1992
  "type": {
1907
- "text": "string"
1993
+ "text": "boolean"
1908
1994
  },
1909
- "default": "'Actions'"
1995
+ "default": "false"
1910
1996
  },
1911
1997
  {
1912
1998
  "kind": "field",
1913
- "name": "open",
1999
+ "name": "lastValidCriteria",
1914
2000
  "type": {
1915
- "text": "boolean"
2001
+ "text": "string | null"
1916
2002
  },
1917
- "default": "false"
2003
+ "default": "null"
1918
2004
  },
1919
2005
  {
1920
2006
  "kind": "field",
1921
- "name": "buttonAppearance",
2007
+ "name": "fieldMetadata",
1922
2008
  "type": {
1923
- "text": "string"
1924
- }
2009
+ "text": "MetadataDetail[] | string[]"
2010
+ },
2011
+ "default": "[]"
1925
2012
  },
1926
2013
  {
1927
2014
  "kind": "field",
1928
- "name": "hideDisabled",
2015
+ "name": "isRecording",
1929
2016
  "type": {
1930
2017
  "text": "boolean"
1931
2018
  },
@@ -1933,102 +2020,67 @@
1933
2020
  },
1934
2021
  {
1935
2022
  "kind": "field",
1936
- "name": "hideMenuSingleOption",
2023
+ "name": "textAreaRef",
1937
2024
  "type": {
1938
- "text": "boolean"
2025
+ "text": "HTMLTextAreaElement"
1939
2026
  },
1940
- "default": "false"
2027
+ "privacy": "public"
1941
2028
  },
1942
2029
  {
1943
2030
  "kind": "field",
1944
- "name": "singleOption",
2031
+ "name": "stopRecording",
1945
2032
  "type": {
1946
- "text": "ActionMenuItem"
1947
- }
2033
+ "text": "(() => void) | null"
2034
+ },
2035
+ "privacy": "private",
2036
+ "default": "null"
1948
2037
  },
1949
2038
  {
1950
2039
  "kind": "field",
1951
- "name": "actionsMenu",
2040
+ "name": "speechApplyDebounceTimer",
1952
2041
  "type": {
1953
- "text": "HTMLElement"
1954
- }
2042
+ "text": "ReturnType<typeof setTimeout> | null"
2043
+ },
2044
+ "privacy": "private",
2045
+ "default": "null"
1955
2046
  },
1956
2047
  {
1957
- "kind": "method",
1958
- "name": "definitionChanged",
1959
- "privacy": "protected",
1960
- "parameters": [
1961
- {
1962
- "name": "oldValue",
1963
- "type": {
1964
- "text": "any"
1965
- }
1966
- },
1967
- {
1968
- "name": "newValue",
1969
- "type": {
1970
- "text": "any"
1971
- }
1972
- }
1973
- ]
2048
+ "kind": "field",
2049
+ "name": "baseInputForAppend",
2050
+ "type": {
2051
+ "text": "string"
2052
+ },
2053
+ "privacy": "private",
2054
+ "default": "''"
1974
2055
  },
1975
2056
  {
1976
- "kind": "method",
1977
- "name": "openChanged",
1978
- "privacy": "protected"
2057
+ "kind": "field",
2058
+ "name": "speechAvailable",
2059
+ "type": {
2060
+ "text": "boolean"
2061
+ },
2062
+ "readonly": true
1979
2063
  },
1980
2064
  {
1981
2065
  "kind": "method",
1982
- "name": "toggleActionsMenuVisibility"
2066
+ "name": "handleSubmit"
1983
2067
  },
1984
2068
  {
1985
2069
  "kind": "method",
1986
- "name": "onActionMenuItemClick",
1987
- "parameters": [
1988
- {
1989
- "name": "callback",
1990
- "type": {
1991
- "text": "(rowData) => void | any"
1992
- }
1993
- }
1994
- ]
1995
- },
1996
- {
1997
- "kind": "field",
1998
- "name": "allActions",
1999
- "type": {
2000
- "text": "ActionMenuItem[]"
2001
- },
2002
- "readonly": true
2070
+ "name": "handleBlur"
2003
2071
  },
2004
2072
  {
2005
- "kind": "field",
2006
- "name": "rowData",
2007
- "readonly": true
2073
+ "kind": "method",
2074
+ "name": "clear"
2008
2075
  },
2009
2076
  {
2010
2077
  "kind": "method",
2011
- "name": "getLabel",
2012
- "parameters": [
2013
- {
2014
- "name": "name",
2015
- "type": {
2016
- "text": "string | ((rowData: any) => string)"
2017
- }
2018
- }
2019
- ]
2078
+ "name": "toggleSpeechInput"
2020
2079
  },
2021
2080
  {
2022
2081
  "kind": "method",
2023
- "name": "getTemplate",
2024
- "parameters": [
2025
- {
2026
- "name": "prefix",
2027
- "type": {
2028
- "text": "string"
2029
- }
2030
- }
2031
- ]
2082
+ "name": "clearSpeechApplyDebounce",
2083
+ "privacy": "private"
2032
2084
  },
2033
2085
  {
2034
2086
  "kind": "field",
@@ -2144,113 +2196,150 @@
2144
2196
  ],
2145
2197
  "attributes": [
2146
2198
  {
2147
- "name": "is-vertical",
2148
- "type": {
2149
- "text": "boolean"
2150
- },
2151
- "default": "false",
2152
- "fieldName": "isVertical"
2153
- },
2154
- {
2155
- "name": "add-default-actions",
2156
- "type": {
2157
- "text": "boolean"
2158
- },
2159
- "default": "true",
2160
- "fieldName": "addDefaultActions"
2161
- },
2162
- {
2163
- "name": "auto-close-on-action",
2164
- "type": {
2165
- "text": "boolean"
2166
- },
2167
- "default": "true",
2168
- "fieldName": "autoCloseOnAction"
2169
- },
2170
- {
2171
- "name": "name",
2199
+ "name": "placeholder",
2172
2200
  "type": {
2173
2201
  "text": "string"
2174
2202
  },
2175
- "default": "'Actions'",
2176
- "fieldName": "name"
2203
+ "default": "'Describe your search criteria in natural language...'",
2204
+ "fieldName": "placeholder"
2177
2205
  },
2178
2206
  {
2179
- "name": "open",
2180
2207
  "type": {
2181
2208
  "text": "boolean"
2182
2209
  },
2183
- "default": "false",
2184
- "fieldName": "open"
2185
- },
2186
- {
2187
- "name": "buttonAppearance",
2188
- "type": {
2189
- "text": "string"
2190
- },
2191
- "fieldName": "buttonAppearance"
2192
- },
2193
- {
2194
- "name": "hide-disabled",
2195
- "type": {
2196
- "text": "boolean"
2197
- },
2198
- "default": "false",
2199
- "fieldName": "hideDisabled"
2210
+ "fieldName": "disabled"
2200
2211
  },
2201
2212
  {
2202
- "name": "hide-menu-single-option",
2213
+ "name": "mode",
2203
2214
  "type": {
2204
- "text": "boolean"
2215
+ "text": "'append' | 'replace'"
2205
2216
  },
2206
- "default": "false",
2207
- "fieldName": "hideMenuSingleOption"
2217
+ "default": "'replace'",
2218
+ "fieldName": "mode"
2208
2219
  }
2209
2220
  ],
2210
2221
  "superclass": {
2211
2222
  "name": "FoundationElement",
2212
2223
  "package": "@microsoft/fast-foundation"
2213
2224
  },
2214
- "tagName": "%%prefix%%-actions-menu",
2225
+ "tagName": "%%prefix%%-ai-criteria-search",
2215
2226
  "customElement": true
2216
2227
  },
2217
2228
  {
2218
2229
  "kind": "variable",
2219
- "name": "foundationActionsMenu",
2220
- "description": "The Foundation Actions Menu",
2221
- "privacy": "public"
2230
+ "name": "foundationAiCriteriaSearchShadowOptions",
2231
+ "type": {
2232
+ "text": "ShadowRootInit"
2233
+ },
2234
+ "default": "undefined"
2235
+ },
2236
+ {
2237
+ "kind": "variable",
2238
+ "name": "defaultAiCriteriaSearchConfig",
2239
+ "type": {
2240
+ "text": "object"
2241
+ },
2242
+ "default": "{}"
2243
+ },
2244
+ {
2245
+ "kind": "variable",
2246
+ "name": "foundationAiCriteriaSearch"
2222
2247
  }
2223
2248
  ],
2224
2249
  "exports": [
2225
2250
  {
2226
2251
  "kind": "js",
2227
- "name": "ActionsMenu",
2252
+ "name": "AiCriteriaSearch",
2228
2253
  "declaration": {
2229
- "name": "ActionsMenu",
2230
- "module": "src/actions-menu/actions-menu.ts"
2254
+ "name": "AiCriteriaSearch",
2255
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2231
2256
  }
2232
2257
  },
2233
2258
  {
2234
2259
  "kind": "js",
2235
- "name": "foundationActionsMenu",
2260
+ "name": "foundationAiCriteriaSearchShadowOptions",
2236
2261
  "declaration": {
2237
- "name": "foundationActionsMenu",
2238
- "module": "src/actions-menu/actions-menu.ts"
2262
+ "name": "foundationAiCriteriaSearchShadowOptions",
2263
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2264
+ }
2265
+ },
2266
+ {
2267
+ "kind": "js",
2268
+ "name": "defaultAiCriteriaSearchConfig",
2269
+ "declaration": {
2270
+ "name": "defaultAiCriteriaSearchConfig",
2271
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2272
+ }
2273
+ },
2274
+ {
2275
+ "kind": "js",
2276
+ "name": "foundationAiCriteriaSearch",
2277
+ "declaration": {
2278
+ "name": "foundationAiCriteriaSearch",
2279
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2239
2280
  }
2240
2281
  }
2241
2282
  ]
2242
2283
  },
2243
2284
  {
2244
2285
  "kind": "javascript-module",
2245
- "path": "src/actions-menu/index.ts",
2286
+ "path": "src/ai-criteria-search/index.ts",
2246
2287
  "declarations": [],
2247
2288
  "exports": [
2289
+ {
2290
+ "kind": "js",
2291
+ "name": "AiCriteriaSearch",
2292
+ "declaration": {
2293
+ "name": "AiCriteriaSearch",
2294
+ "module": "./ai-criteria-search"
2295
+ }
2296
+ },
2297
+ {
2298
+ "kind": "js",
2299
+ "name": "defaultAiCriteriaSearchConfig",
2300
+ "declaration": {
2301
+ "name": "defaultAiCriteriaSearchConfig",
2302
+ "module": "./ai-criteria-search"
2303
+ }
2304
+ },
2305
+ {
2306
+ "kind": "js",
2307
+ "name": "foundationAiCriteriaSearch",
2308
+ "declaration": {
2309
+ "name": "foundationAiCriteriaSearch",
2310
+ "module": "./ai-criteria-search"
2311
+ }
2312
+ },
2313
+ {
2314
+ "kind": "js",
2315
+ "name": "foundationAiCriteriaSearchShadowOptions",
2316
+ "declaration": {
2317
+ "name": "foundationAiCriteriaSearchShadowOptions",
2318
+ "module": "./ai-criteria-search"
2319
+ }
2320
+ },
2321
+ {
2322
+ "kind": "js",
2323
+ "name": "foundationAiCriteriaSearchStyles",
2324
+ "declaration": {
2325
+ "name": "foundationAiCriteriaSearchStyles",
2326
+ "module": "./ai-criteria-search.styles"
2327
+ }
2328
+ },
2329
+ {
2330
+ "kind": "js",
2331
+ "name": "foundationAiCriteriaSearchTemplate",
2332
+ "declaration": {
2333
+ "name": "foundationAiCriteriaSearchTemplate",
2334
+ "module": "./ai-criteria-search.template"
2335
+ }
2336
+ },
2248
2337
  {
2249
2338
  "kind": "js",
2250
2339
  "name": "*",
2251
2340
  "declaration": {
2252
2341
  "name": "*",
2253
- "package": "./actions-menu.styles"
2342
+ "package": "./validation/criteria-ir"
2254
2343
  }
2255
2344
  },
2256
2345
  {
@@ -2258,7 +2347,7 @@
2258
2347
  "name": "*",
2259
2348
  "declaration": {
2260
2349
  "name": "*",
2261
- "package": "./actions-menu.template"
2350
+ "package": "./validation/operator-map"
2262
2351
  }
2263
2352
  },
2264
2353
  {
@@ -2266,246 +2355,157 @@
2266
2355
  "name": "*",
2267
2356
  "declaration": {
2268
2357
  "name": "*",
2269
- "package": "./actions-menu"
2358
+ "package": "./validation/schema-validator"
2270
2359
  }
2271
2360
  }
2272
2361
  ]
2273
2362
  },
2274
2363
  {
2275
2364
  "kind": "javascript-module",
2276
- "path": "src/accordion/accordion.styles.ts",
2365
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2277
2366
  "declarations": [
2278
2367
  {
2279
2368
  "kind": "function",
2280
- "name": "foundationAccordionStyles",
2369
+ "name": "formatValidationErrors",
2281
2370
  "return": {
2282
2371
  "type": {
2283
- "text": "ElementStyles"
2372
+ "text": "string"
2284
2373
  }
2285
2374
  },
2286
2375
  "parameters": [
2287
2376
  {
2288
- "name": "context",
2289
- "type": {
2290
- "text": "ElementDefinitionContext"
2291
- }
2292
- },
2293
- {
2294
- "name": "definition",
2377
+ "name": "errors",
2295
2378
  "type": {
2296
- "text": "FoundationElementDefinition"
2379
+ "text": "ValidationError[]"
2297
2380
  }
2298
2381
  }
2299
- ]
2300
- }
2301
- ],
2302
- "exports": [
2303
- {
2304
- "kind": "js",
2305
- "name": "foundationAccordionStyles",
2306
- "declaration": {
2307
- "name": "foundationAccordionStyles",
2308
- "module": "src/accordion/accordion.styles.ts"
2309
- }
2310
- }
2311
- ]
2312
- },
2313
- {
2314
- "kind": "javascript-module",
2315
- "path": "src/accordion/accordion.template.ts",
2316
- "declarations": [
2382
+ ],
2383
+ "description": "Formats validation errors into a user-friendly message."
2384
+ },
2317
2385
  {
2318
2386
  "kind": "function",
2319
- "name": "foundationAccordionTemplate",
2387
+ "name": "showCriteriaError",
2320
2388
  "return": {
2321
2389
  "type": {
2322
- "text": "ViewTemplate<Accordion>"
2390
+ "text": "void"
2323
2391
  }
2324
2392
  },
2325
2393
  "parameters": [
2326
2394
  {
2327
- "name": "context",
2395
+ "name": "title",
2328
2396
  "type": {
2329
- "text": "ElementDefinitionContext"
2330
- }
2397
+ "text": "string"
2398
+ },
2399
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2331
2400
  },
2332
2401
  {
2333
- "name": "definition",
2402
+ "name": "body",
2334
2403
  "type": {
2335
- "text": "FoundationElementDefinition"
2336
- }
2404
+ "text": "string"
2405
+ },
2406
+ "description": "Error message to display"
2407
+ },
2408
+ {
2409
+ "name": "tagName",
2410
+ "type": {
2411
+ "text": "string"
2412
+ },
2413
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2337
2414
  }
2338
- ]
2339
- }
2340
- ],
2341
- "exports": [
2342
- {
2343
- "kind": "js",
2344
- "name": "foundationAccordionTemplate",
2345
- "declaration": {
2346
- "name": "foundationAccordionTemplate",
2347
- "module": "src/accordion/accordion.template.ts"
2348
- }
2349
- }
2350
- ]
2351
- },
2352
- {
2353
- "kind": "javascript-module",
2354
- "path": "src/accordion/accordion.ts",
2355
- "declarations": [
2356
- {
2357
- "kind": "class",
2358
- "description": "",
2359
- "name": "Accordion",
2360
- "superclass": {
2361
- "name": "FASTAccordion",
2362
- "package": "@microsoft/fast-foundation"
2363
- },
2364
- "tagName": "%%prefix%%-accordion",
2365
- "customElement": true
2366
- },
2367
- {
2368
- "kind": "variable",
2369
- "name": "foundationAccordionShadowOptions",
2370
- "type": {
2371
- "text": "ShadowRootInit"
2372
- },
2373
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2374
- },
2375
- {
2376
- "kind": "variable",
2377
- "name": "defaultAccordionConfig",
2378
- "type": {
2379
- "text": "object"
2380
- },
2381
- "default": "{}"
2382
- },
2383
- {
2384
- "kind": "variable",
2385
- "name": "foundationAccordion",
2386
- "description": "The Foundation Accordion",
2387
- "privacy": "public"
2415
+ ],
2416
+ "description": "Shows a criteria error as a toast notification."
2388
2417
  }
2389
2418
  ],
2390
2419
  "exports": [
2391
2420
  {
2392
2421
  "kind": "js",
2393
- "name": "Accordion",
2394
- "declaration": {
2395
- "name": "Accordion",
2396
- "module": "src/accordion/accordion.ts"
2397
- }
2398
- },
2399
- {
2400
- "kind": "js",
2401
- "name": "foundationAccordionShadowOptions",
2402
- "declaration": {
2403
- "name": "foundationAccordionShadowOptions",
2404
- "module": "src/accordion/accordion.ts"
2405
- }
2406
- },
2407
- {
2408
- "kind": "js",
2409
- "name": "defaultAccordionConfig",
2410
- "declaration": {
2411
- "name": "defaultAccordionConfig",
2412
- "module": "src/accordion/accordion.ts"
2413
- }
2414
- },
2415
- {
2416
- "kind": "js",
2417
- "name": "foundationAccordion",
2418
- "declaration": {
2419
- "name": "foundationAccordion",
2420
- "module": "src/accordion/accordion.ts"
2421
- }
2422
- }
2423
- ]
2424
- },
2425
- {
2426
- "kind": "javascript-module",
2427
- "path": "src/accordion/index.ts",
2428
- "declarations": [],
2429
- "exports": [
2430
- {
2431
- "kind": "js",
2432
- "name": "*",
2433
- "declaration": {
2434
- "name": "*",
2435
- "package": "./accordion.template"
2436
- }
2437
- },
2438
- {
2439
- "kind": "js",
2440
- "name": "*",
2422
+ "name": "formatValidationErrors",
2441
2423
  "declaration": {
2442
- "name": "*",
2443
- "package": "./accordion.styles"
2424
+ "name": "formatValidationErrors",
2425
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2444
2426
  }
2445
2427
  },
2446
2428
  {
2447
2429
  "kind": "js",
2448
- "name": "*",
2430
+ "name": "showCriteriaError",
2449
2431
  "declaration": {
2450
- "name": "*",
2451
- "package": "./accordion"
2432
+ "name": "showCriteriaError",
2433
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2452
2434
  }
2453
2435
  }
2454
2436
  ]
2455
2437
  },
2456
2438
  {
2457
2439
  "kind": "javascript-module",
2458
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2440
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2459
2441
  "declarations": [
2460
2442
  {
2461
- "kind": "variable",
2462
- "name": "foundationAiCriteriaSearchStyles",
2463
- "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 .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2443
+ "kind": "function",
2444
+ "name": "foundationAiIndicatorStyles",
2445
+ "return": {
2446
+ "type": {
2447
+ "text": "ElementStyles"
2448
+ }
2449
+ },
2450
+ "parameters": [
2451
+ {
2452
+ "name": "context",
2453
+ "type": {
2454
+ "text": "ElementDefinitionContext"
2455
+ }
2456
+ },
2457
+ {
2458
+ "name": "definition",
2459
+ "type": {
2460
+ "text": "FoundationElementDefinition"
2461
+ }
2462
+ }
2463
+ ]
2464
2464
  }
2465
2465
  ],
2466
2466
  "exports": [
2467
2467
  {
2468
2468
  "kind": "js",
2469
- "name": "foundationAiCriteriaSearchStyles",
2469
+ "name": "foundationAiIndicatorStyles",
2470
2470
  "declaration": {
2471
- "name": "foundationAiCriteriaSearchStyles",
2472
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2471
+ "name": "foundationAiIndicatorStyles",
2472
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2473
2473
  }
2474
2474
  }
2475
2475
  ]
2476
2476
  },
2477
2477
  {
2478
2478
  "kind": "javascript-module",
2479
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2479
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2480
2480
  "declarations": [
2481
2481
  {
2482
2482
  "kind": "variable",
2483
- "name": "foundationAiCriteriaSearchTemplate",
2483
+ "name": "foundationAiIndicatorTemplate",
2484
2484
  "type": {
2485
- "text": "ViewTemplate<AiCriteriaSearch>"
2485
+ "text": "ViewTemplate<AiIndicator>"
2486
2486
  },
2487
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2487
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2488
2488
  }
2489
2489
  ],
2490
2490
  "exports": [
2491
2491
  {
2492
2492
  "kind": "js",
2493
- "name": "foundationAiCriteriaSearchTemplate",
2493
+ "name": "foundationAiIndicatorTemplate",
2494
2494
  "declaration": {
2495
- "name": "foundationAiCriteriaSearchTemplate",
2496
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2495
+ "name": "foundationAiIndicatorTemplate",
2496
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2497
2497
  }
2498
2498
  }
2499
2499
  ]
2500
2500
  },
2501
2501
  {
2502
2502
  "kind": "javascript-module",
2503
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2503
+ "path": "src/ai-indicator/ai-indicator.ts",
2504
2504
  "declarations": [
2505
2505
  {
2506
2506
  "kind": "class",
2507
2507
  "description": "",
2508
- "name": "AiCriteriaSearch",
2508
+ "name": "AiIndicator",
2509
2509
  "members": [
2510
2510
  {
2511
2511
  "kind": "field",
@@ -2516,38 +2516,31 @@
2516
2516
  },
2517
2517
  {
2518
2518
  "kind": "field",
2519
- "name": "placeholder",
2519
+ "name": "status",
2520
2520
  "type": {
2521
- "text": "string"
2521
+ "text": "AIStatus | null"
2522
2522
  },
2523
- "default": "'Describe your search criteria in natural language...'"
2523
+ "default": "null"
2524
2524
  },
2525
2525
  {
2526
2526
  "kind": "field",
2527
- "name": "disabled",
2527
+ "name": "open",
2528
2528
  "type": {
2529
2529
  "text": "boolean"
2530
- }
2531
- },
2532
- {
2533
- "kind": "field",
2534
- "name": "mode",
2535
- "type": {
2536
- "text": "'append' | 'replace'"
2537
2530
  },
2538
- "default": "'replace'"
2531
+ "default": "false"
2539
2532
  },
2540
2533
  {
2541
2534
  "kind": "field",
2542
- "name": "inputValue",
2535
+ "name": "state",
2543
2536
  "type": {
2544
- "text": "string"
2537
+ "text": "AIIndicatorState"
2545
2538
  },
2546
- "default": "''"
2539
+ "default": "'none'"
2547
2540
  },
2548
2541
  {
2549
2542
  "kind": "field",
2550
- "name": "isInterpreting",
2543
+ "name": "isInstalling",
2551
2544
  "type": {
2552
2545
  "text": "boolean"
2553
2546
  },
@@ -2555,91 +2548,133 @@
2555
2548
  },
2556
2549
  {
2557
2550
  "kind": "field",
2558
- "name": "lastValidCriteria",
2551
+ "name": "pollTimer",
2559
2552
  "type": {
2560
- "text": "string | null"
2553
+ "text": "ReturnType<typeof setInterval> | null"
2561
2554
  },
2555
+ "privacy": "private",
2562
2556
  "default": "null"
2563
2557
  },
2564
2558
  {
2565
2559
  "kind": "field",
2566
- "name": "fieldMetadata",
2567
- "type": {
2568
- "text": "MetadataDetail[] | string[]"
2569
- },
2570
- "default": "[]"
2560
+ "name": "clickOutside",
2561
+ "privacy": "private"
2571
2562
  },
2572
2563
  {
2573
2564
  "kind": "field",
2574
- "name": "isRecording",
2565
+ "name": "chromeStatusLabel",
2575
2566
  "type": {
2576
- "text": "boolean"
2567
+ "text": "string | null"
2577
2568
  },
2578
- "default": "false"
2569
+ "readonly": true
2579
2570
  },
2580
2571
  {
2581
2572
  "kind": "field",
2582
- "name": "textAreaRef",
2573
+ "name": "canInstall",
2583
2574
  "type": {
2584
- "text": "HTMLTextAreaElement"
2575
+ "text": "boolean"
2585
2576
  },
2586
- "privacy": "public"
2577
+ "readonly": true
2587
2578
  },
2588
2579
  {
2589
2580
  "kind": "field",
2590
- "name": "stopRecording",
2581
+ "name": "isDownloading",
2591
2582
  "type": {
2592
- "text": "(() => void) | null"
2583
+ "text": "boolean"
2593
2584
  },
2594
- "privacy": "private",
2595
- "default": "null"
2585
+ "readonly": true
2596
2586
  },
2597
2587
  {
2598
- "kind": "field",
2599
- "name": "speechApplyDebounceTimer",
2600
- "type": {
2601
- "text": "ReturnType<typeof setTimeout> | null"
2602
- },
2603
- "privacy": "private",
2604
- "default": "null"
2588
+ "kind": "method",
2589
+ "name": "openChanged",
2590
+ "return": {
2591
+ "type": {
2592
+ "text": "void"
2593
+ }
2594
+ }
2605
2595
  },
2606
2596
  {
2607
- "kind": "field",
2608
- "name": "baseInputForAppend",
2609
- "type": {
2610
- "text": "string"
2611
- },
2597
+ "kind": "method",
2598
+ "name": "handleClickOutside",
2612
2599
  "privacy": "private",
2613
- "default": "''"
2600
+ "parameters": [
2601
+ {
2602
+ "name": "event",
2603
+ "type": {
2604
+ "text": "MouseEvent"
2605
+ }
2606
+ }
2607
+ ]
2614
2608
  },
2615
2609
  {
2616
- "kind": "field",
2617
- "name": "speechAvailable",
2618
- "type": {
2619
- "text": "boolean"
2620
- },
2621
- "readonly": true
2610
+ "kind": "method",
2611
+ "name": "toggleDropdown"
2622
2612
  },
2623
2613
  {
2624
2614
  "kind": "method",
2625
- "name": "handleSubmit"
2615
+ "name": "refreshStatus",
2616
+ "return": {
2617
+ "type": {
2618
+ "text": "Promise<void>"
2619
+ }
2620
+ }
2626
2621
  },
2627
2622
  {
2628
2623
  "kind": "method",
2629
- "name": "handleBlur"
2624
+ "name": "deriveState",
2625
+ "privacy": "private",
2626
+ "return": {
2627
+ "type": {
2628
+ "text": "AIIndicatorState"
2629
+ }
2630
+ },
2631
+ "parameters": [
2632
+ {
2633
+ "name": "s",
2634
+ "type": {
2635
+ "text": "AIStatus | null"
2636
+ }
2637
+ }
2638
+ ]
2630
2639
  },
2631
2640
  {
2632
2641
  "kind": "method",
2633
- "name": "clear"
2642
+ "name": "maybeStartPolling",
2643
+ "privacy": "private",
2644
+ "return": {
2645
+ "type": {
2646
+ "text": "void"
2647
+ }
2648
+ }
2634
2649
  },
2635
2650
  {
2636
2651
  "kind": "method",
2637
- "name": "toggleSpeechInput"
2652
+ "name": "startPolling",
2653
+ "privacy": "private",
2654
+ "return": {
2655
+ "type": {
2656
+ "text": "void"
2657
+ }
2658
+ }
2638
2659
  },
2639
2660
  {
2640
2661
  "kind": "method",
2641
- "name": "clearSpeechApplyDebounce",
2642
- "privacy": "private"
2662
+ "name": "stopPolling",
2663
+ "privacy": "private",
2664
+ "return": {
2665
+ "type": {
2666
+ "text": "void"
2667
+ }
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "method",
2672
+ "name": "onInstall",
2673
+ "return": {
2674
+ "type": {
2675
+ "text": "Promise<void>"
2676
+ }
2677
+ }
2643
2678
  },
2644
2679
  {
2645
2680
  "kind": "field",
@@ -2753,487 +2788,409 @@
2753
2788
  }
2754
2789
  }
2755
2790
  ],
2756
- "attributes": [
2757
- {
2758
- "name": "placeholder",
2759
- "type": {
2760
- "text": "string"
2761
- },
2762
- "default": "'Describe your search criteria in natural language...'",
2763
- "fieldName": "placeholder"
2764
- },
2765
- {
2766
- "type": {
2767
- "text": "boolean"
2768
- },
2769
- "fieldName": "disabled"
2770
- },
2771
- {
2772
- "name": "mode",
2773
- "type": {
2774
- "text": "'append' | 'replace'"
2775
- },
2776
- "default": "'replace'",
2777
- "fieldName": "mode"
2778
- }
2779
- ],
2780
2791
  "superclass": {
2781
- "name": "FoundationElement",
2782
- "package": "@microsoft/fast-foundation"
2783
- },
2784
- "tagName": "%%prefix%%-ai-criteria-search",
2785
- "customElement": true
2786
- },
2787
- {
2788
- "kind": "variable",
2789
- "name": "foundationAiCriteriaSearchShadowOptions",
2790
- "type": {
2791
- "text": "ShadowRootInit"
2792
- },
2793
- "default": "undefined"
2794
- },
2795
- {
2796
- "kind": "variable",
2797
- "name": "defaultAiCriteriaSearchConfig",
2798
- "type": {
2799
- "text": "object"
2800
- },
2801
- "default": "{}"
2802
- },
2803
- {
2804
- "kind": "variable",
2805
- "name": "foundationAiCriteriaSearch"
2806
- }
2807
- ],
2808
- "exports": [
2809
- {
2810
- "kind": "js",
2811
- "name": "AiCriteriaSearch",
2812
- "declaration": {
2813
- "name": "AiCriteriaSearch",
2814
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2815
- }
2816
- },
2817
- {
2818
- "kind": "js",
2819
- "name": "foundationAiCriteriaSearchShadowOptions",
2820
- "declaration": {
2821
- "name": "foundationAiCriteriaSearchShadowOptions",
2822
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2823
- }
2792
+ "name": "FoundationElement",
2793
+ "package": "@microsoft/fast-foundation"
2794
+ },
2795
+ "tagName": "%%prefix%%-ai-indicator",
2796
+ "customElement": true
2824
2797
  },
2798
+ {
2799
+ "kind": "variable",
2800
+ "name": "foundationAiIndicator"
2801
+ }
2802
+ ],
2803
+ "exports": [
2825
2804
  {
2826
2805
  "kind": "js",
2827
- "name": "defaultAiCriteriaSearchConfig",
2806
+ "name": "AiIndicator",
2828
2807
  "declaration": {
2829
- "name": "defaultAiCriteriaSearchConfig",
2830
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ "name": "AiIndicator",
2809
+ "module": "src/ai-indicator/ai-indicator.ts"
2831
2810
  }
2832
2811
  },
2833
2812
  {
2834
2813
  "kind": "js",
2835
- "name": "foundationAiCriteriaSearch",
2814
+ "name": "foundationAiIndicator",
2836
2815
  "declaration": {
2837
- "name": "foundationAiCriteriaSearch",
2838
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2816
+ "name": "foundationAiIndicator",
2817
+ "module": "src/ai-indicator/ai-indicator.ts"
2839
2818
  }
2840
2819
  }
2841
2820
  ]
2842
2821
  },
2843
2822
  {
2844
2823
  "kind": "javascript-module",
2845
- "path": "src/ai-criteria-search/index.ts",
2824
+ "path": "src/ai-indicator/index.ts",
2846
2825
  "declarations": [],
2847
2826
  "exports": [
2848
2827
  {
2849
2828
  "kind": "js",
2850
- "name": "AiCriteriaSearch",
2851
- "declaration": {
2852
- "name": "AiCriteriaSearch",
2853
- "module": "./ai-criteria-search"
2854
- }
2855
- },
2856
- {
2857
- "kind": "js",
2858
- "name": "defaultAiCriteriaSearchConfig",
2859
- "declaration": {
2860
- "name": "defaultAiCriteriaSearchConfig",
2861
- "module": "./ai-criteria-search"
2862
- }
2863
- },
2864
- {
2865
- "kind": "js",
2866
- "name": "foundationAiCriteriaSearch",
2867
- "declaration": {
2868
- "name": "foundationAiCriteriaSearch",
2869
- "module": "./ai-criteria-search"
2870
- }
2871
- },
2872
- {
2873
- "kind": "js",
2874
- "name": "foundationAiCriteriaSearchShadowOptions",
2829
+ "name": "AiIndicator",
2875
2830
  "declaration": {
2876
- "name": "foundationAiCriteriaSearchShadowOptions",
2877
- "module": "./ai-criteria-search"
2831
+ "name": "AiIndicator",
2832
+ "module": "./ai-indicator"
2878
2833
  }
2879
2834
  },
2880
2835
  {
2881
2836
  "kind": "js",
2882
- "name": "foundationAiCriteriaSearchStyles",
2837
+ "name": "foundationAiIndicator",
2883
2838
  "declaration": {
2884
- "name": "foundationAiCriteriaSearchStyles",
2885
- "module": "./ai-criteria-search.styles"
2839
+ "name": "foundationAiIndicator",
2840
+ "module": "./ai-indicator"
2886
2841
  }
2887
2842
  },
2888
2843
  {
2889
2844
  "kind": "js",
2890
- "name": "foundationAiCriteriaSearchTemplate",
2845
+ "name": "type",
2891
2846
  "declaration": {
2892
- "name": "foundationAiCriteriaSearchTemplate",
2893
- "module": "./ai-criteria-search.template"
2847
+ "name": "type",
2848
+ "module": "./ai-indicator"
2894
2849
  }
2895
2850
  },
2896
2851
  {
2897
2852
  "kind": "js",
2898
- "name": "*",
2853
+ "name": "AIIndicatorState",
2899
2854
  "declaration": {
2900
- "name": "*",
2901
- "package": "./validation/criteria-ir"
2855
+ "name": "AIIndicatorState",
2856
+ "module": "./ai-indicator"
2902
2857
  }
2903
2858
  },
2904
2859
  {
2905
2860
  "kind": "js",
2906
- "name": "*",
2861
+ "name": "foundationAiIndicatorTemplate",
2907
2862
  "declaration": {
2908
- "name": "*",
2909
- "package": "./validation/operator-map"
2863
+ "name": "foundationAiIndicatorTemplate",
2864
+ "module": "./ai-indicator.template"
2910
2865
  }
2911
2866
  },
2912
2867
  {
2913
2868
  "kind": "js",
2914
- "name": "*",
2869
+ "name": "foundationAiIndicatorStyles",
2915
2870
  "declaration": {
2916
- "name": "*",
2917
- "package": "./validation/schema-validator"
2871
+ "name": "foundationAiIndicatorStyles",
2872
+ "module": "./ai-indicator.styles"
2918
2873
  }
2919
2874
  }
2920
2875
  ]
2921
2876
  },
2922
2877
  {
2923
2878
  "kind": "javascript-module",
2924
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2879
+ "path": "src/actions-menu/actions-menu.styles.ts",
2925
2880
  "declarations": [
2926
2881
  {
2927
2882
  "kind": "function",
2928
- "name": "formatValidationErrors",
2883
+ "name": "actionsMenuBaseStyles",
2929
2884
  "return": {
2930
2885
  "type": {
2931
- "text": "string"
2886
+ "text": "ElementStyles"
2932
2887
  }
2933
2888
  },
2934
2889
  "parameters": [
2935
2890
  {
2936
- "name": "errors",
2891
+ "name": "context",
2937
2892
  "type": {
2938
- "text": "ValidationError[]"
2893
+ "text": "ElementDefinitionContext"
2894
+ }
2895
+ },
2896
+ {
2897
+ "name": "definition",
2898
+ "type": {
2899
+ "text": "FoundationElementDefinition"
2939
2900
  }
2940
2901
  }
2941
- ],
2942
- "description": "Formats validation errors into a user-friendly message."
2902
+ ]
2943
2903
  },
2944
2904
  {
2945
2905
  "kind": "function",
2946
- "name": "showCriteriaError",
2906
+ "name": "foundationActionsMenuStyles",
2947
2907
  "return": {
2948
2908
  "type": {
2949
- "text": "void"
2909
+ "text": "ElementStyles"
2950
2910
  }
2951
2911
  },
2952
2912
  "parameters": [
2953
2913
  {
2954
- "name": "title",
2955
- "type": {
2956
- "text": "string"
2957
- },
2958
- "description": "Notification title (e.g. \"Criteria validation error\")"
2959
- },
2960
- {
2961
- "name": "body",
2914
+ "name": "context",
2962
2915
  "type": {
2963
- "text": "string"
2964
- },
2965
- "description": "Error message to display"
2916
+ "text": "ElementDefinitionContext"
2917
+ }
2966
2918
  },
2967
2919
  {
2968
- "name": "tagName",
2920
+ "name": "definition",
2969
2921
  "type": {
2970
- "text": "string"
2971
- },
2972
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2922
+ "text": "FoundationElementDefinition"
2923
+ }
2973
2924
  }
2974
- ],
2975
- "description": "Shows a criteria error as a toast notification."
2925
+ ]
2976
2926
  }
2977
2927
  ],
2978
2928
  "exports": [
2979
2929
  {
2980
2930
  "kind": "js",
2981
- "name": "formatValidationErrors",
2931
+ "name": "actionsMenuBaseStyles",
2982
2932
  "declaration": {
2983
- "name": "formatValidationErrors",
2984
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2933
+ "name": "actionsMenuBaseStyles",
2934
+ "module": "src/actions-menu/actions-menu.styles.ts"
2985
2935
  }
2986
2936
  },
2987
2937
  {
2988
2938
  "kind": "js",
2989
- "name": "showCriteriaError",
2939
+ "name": "foundationActionsMenuStyles",
2990
2940
  "declaration": {
2991
- "name": "showCriteriaError",
2992
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2941
+ "name": "foundationActionsMenuStyles",
2942
+ "module": "src/actions-menu/actions-menu.styles.ts"
2993
2943
  }
2994
2944
  }
2995
2945
  ]
2996
2946
  },
2997
2947
  {
2998
2948
  "kind": "javascript-module",
2999
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2949
+ "path": "src/actions-menu/actions-menu.template.ts",
3000
2950
  "declarations": [
3001
2951
  {
3002
2952
  "kind": "function",
3003
- "name": "foundationAiIndicatorStyles",
3004
- "return": {
3005
- "type": {
3006
- "text": "ElementStyles"
3007
- }
3008
- },
2953
+ "name": "menuTemplate",
3009
2954
  "parameters": [
3010
2955
  {
3011
- "name": "context",
2956
+ "name": "prefix",
3012
2957
  "type": {
3013
- "text": "ElementDefinitionContext"
2958
+ "text": "string"
3014
2959
  }
3015
- },
2960
+ }
2961
+ ]
2962
+ },
2963
+ {
2964
+ "kind": "function",
2965
+ "name": "singleOptionTemplate",
2966
+ "parameters": [
3016
2967
  {
3017
- "name": "definition",
2968
+ "name": "prefix",
3018
2969
  "type": {
3019
- "text": "FoundationElementDefinition"
2970
+ "text": "string"
3020
2971
  }
3021
2972
  }
3022
2973
  ]
2974
+ },
2975
+ {
2976
+ "kind": "variable",
2977
+ "name": "foundationActionsMenuTemplate",
2978
+ "type": {
2979
+ "text": "ViewTemplate<ActionsMenu>"
2980
+ },
2981
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
3023
2982
  }
3024
2983
  ],
3025
2984
  "exports": [
3026
2985
  {
3027
2986
  "kind": "js",
3028
- "name": "foundationAiIndicatorStyles",
2987
+ "name": "menuTemplate",
3029
2988
  "declaration": {
3030
- "name": "foundationAiIndicatorStyles",
3031
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2989
+ "name": "menuTemplate",
2990
+ "module": "src/actions-menu/actions-menu.template.ts"
3032
2991
  }
3033
- }
3034
- ]
3035
- },
3036
- {
3037
- "kind": "javascript-module",
3038
- "path": "src/ai-indicator/ai-indicator.template.ts",
3039
- "declarations": [
2992
+ },
3040
2993
  {
3041
- "kind": "variable",
3042
- "name": "foundationAiIndicatorTemplate",
3043
- "type": {
3044
- "text": "ViewTemplate<AiIndicator>"
3045
- },
3046
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3047
- }
3048
- ],
3049
- "exports": [
2994
+ "kind": "js",
2995
+ "name": "singleOptionTemplate",
2996
+ "declaration": {
2997
+ "name": "singleOptionTemplate",
2998
+ "module": "src/actions-menu/actions-menu.template.ts"
2999
+ }
3000
+ },
3050
3001
  {
3051
3002
  "kind": "js",
3052
- "name": "foundationAiIndicatorTemplate",
3003
+ "name": "foundationActionsMenuTemplate",
3053
3004
  "declaration": {
3054
- "name": "foundationAiIndicatorTemplate",
3055
- "module": "src/ai-indicator/ai-indicator.template.ts"
3005
+ "name": "foundationActionsMenuTemplate",
3006
+ "module": "src/actions-menu/actions-menu.template.ts"
3056
3007
  }
3057
3008
  }
3058
3009
  ]
3059
3010
  },
3060
3011
  {
3061
3012
  "kind": "javascript-module",
3062
- "path": "src/ai-indicator/ai-indicator.ts",
3013
+ "path": "src/actions-menu/actions-menu.ts",
3063
3014
  "declarations": [
3064
3015
  {
3065
3016
  "kind": "class",
3066
3017
  "description": "",
3067
- "name": "AiIndicator",
3018
+ "name": "ActionsMenu",
3068
3019
  "members": [
3069
3020
  {
3070
3021
  "kind": "field",
3071
- "name": "aiProvider",
3022
+ "name": "actions",
3072
3023
  "type": {
3073
- "text": "AIProvider"
3024
+ "text": "ActionMenuItem[]"
3074
3025
  }
3075
3026
  },
3076
3027
  {
3077
3028
  "kind": "field",
3078
- "name": "status",
3029
+ "name": "isVertical",
3079
3030
  "type": {
3080
- "text": "AIStatus | null"
3031
+ "text": "boolean"
3081
3032
  },
3082
- "default": "null"
3033
+ "default": "false"
3083
3034
  },
3084
3035
  {
3085
3036
  "kind": "field",
3086
- "name": "open",
3037
+ "name": "addDefaultActions",
3087
3038
  "type": {
3088
3039
  "text": "boolean"
3089
3040
  },
3090
- "default": "false"
3041
+ "default": "true"
3091
3042
  },
3092
3043
  {
3093
3044
  "kind": "field",
3094
- "name": "state",
3045
+ "name": "autoCloseOnAction",
3095
3046
  "type": {
3096
- "text": "AIIndicatorState"
3047
+ "text": "boolean"
3097
3048
  },
3098
- "default": "'none'"
3049
+ "default": "true"
3099
3050
  },
3100
3051
  {
3101
3052
  "kind": "field",
3102
- "name": "isInstalling",
3053
+ "name": "classNames",
3103
3054
  "type": {
3104
- "text": "boolean"
3055
+ "text": "string"
3056
+ }
3057
+ },
3058
+ {
3059
+ "kind": "field",
3060
+ "name": "definition",
3061
+ "type": {
3062
+ "text": "any"
3063
+ }
3064
+ },
3065
+ {
3066
+ "kind": "field",
3067
+ "name": "name",
3068
+ "type": {
3069
+ "text": "string"
3105
3070
  },
3106
- "default": "false"
3071
+ "default": "'Actions'"
3107
3072
  },
3108
3073
  {
3109
3074
  "kind": "field",
3110
- "name": "pollTimer",
3075
+ "name": "open",
3111
3076
  "type": {
3112
- "text": "ReturnType<typeof setInterval> | null"
3077
+ "text": "boolean"
3113
3078
  },
3114
- "privacy": "private",
3115
- "default": "null"
3079
+ "default": "false"
3116
3080
  },
3117
3081
  {
3118
3082
  "kind": "field",
3119
- "name": "clickOutside",
3120
- "privacy": "private"
3083
+ "name": "buttonAppearance",
3084
+ "type": {
3085
+ "text": "string"
3086
+ }
3121
3087
  },
3122
3088
  {
3123
3089
  "kind": "field",
3124
- "name": "chromeStatusLabel",
3090
+ "name": "hideDisabled",
3125
3091
  "type": {
3126
- "text": "string | null"
3092
+ "text": "boolean"
3127
3093
  },
3128
- "readonly": true
3094
+ "default": "false"
3129
3095
  },
3130
3096
  {
3131
3097
  "kind": "field",
3132
- "name": "canInstall",
3098
+ "name": "hideMenuSingleOption",
3133
3099
  "type": {
3134
3100
  "text": "boolean"
3135
3101
  },
3136
- "readonly": true
3102
+ "default": "false"
3137
3103
  },
3138
3104
  {
3139
3105
  "kind": "field",
3140
- "name": "isDownloading",
3106
+ "name": "singleOption",
3141
3107
  "type": {
3142
- "text": "boolean"
3143
- },
3144
- "readonly": true
3108
+ "text": "ActionMenuItem"
3109
+ }
3145
3110
  },
3146
3111
  {
3147
- "kind": "method",
3148
- "name": "openChanged",
3149
- "return": {
3150
- "type": {
3151
- "text": "void"
3152
- }
3112
+ "kind": "field",
3113
+ "name": "actionsMenu",
3114
+ "type": {
3115
+ "text": "HTMLElement"
3153
3116
  }
3154
3117
  },
3155
3118
  {
3156
3119
  "kind": "method",
3157
- "name": "handleClickOutside",
3158
- "privacy": "private",
3120
+ "name": "definitionChanged",
3121
+ "privacy": "protected",
3159
3122
  "parameters": [
3160
3123
  {
3161
- "name": "event",
3124
+ "name": "oldValue",
3162
3125
  "type": {
3163
- "text": "MouseEvent"
3126
+ "text": "any"
3127
+ }
3128
+ },
3129
+ {
3130
+ "name": "newValue",
3131
+ "type": {
3132
+ "text": "any"
3164
3133
  }
3165
3134
  }
3166
3135
  ]
3167
3136
  },
3168
3137
  {
3169
3138
  "kind": "method",
3170
- "name": "toggleDropdown"
3139
+ "name": "openChanged",
3140
+ "privacy": "protected"
3171
3141
  },
3172
3142
  {
3173
3143
  "kind": "method",
3174
- "name": "refreshStatus",
3175
- "return": {
3176
- "type": {
3177
- "text": "Promise<void>"
3178
- }
3179
- }
3144
+ "name": "toggleActionsMenuVisibility"
3180
3145
  },
3181
3146
  {
3182
3147
  "kind": "method",
3183
- "name": "deriveState",
3184
- "privacy": "private",
3185
- "return": {
3186
- "type": {
3187
- "text": "AIIndicatorState"
3188
- }
3189
- },
3148
+ "name": "onActionMenuItemClick",
3190
3149
  "parameters": [
3191
3150
  {
3192
- "name": "s",
3151
+ "name": "callback",
3193
3152
  "type": {
3194
- "text": "AIStatus | null"
3153
+ "text": "(rowData) => void | any"
3195
3154
  }
3196
3155
  }
3197
3156
  ]
3198
3157
  },
3199
3158
  {
3200
- "kind": "method",
3201
- "name": "maybeStartPolling",
3202
- "privacy": "private",
3203
- "return": {
3204
- "type": {
3205
- "text": "void"
3206
- }
3207
- }
3159
+ "kind": "field",
3160
+ "name": "allActions",
3161
+ "type": {
3162
+ "text": "ActionMenuItem[]"
3163
+ },
3164
+ "readonly": true
3208
3165
  },
3209
3166
  {
3210
- "kind": "method",
3211
- "name": "startPolling",
3212
- "privacy": "private",
3213
- "return": {
3214
- "type": {
3215
- "text": "void"
3216
- }
3217
- }
3167
+ "kind": "field",
3168
+ "name": "rowData",
3169
+ "readonly": true
3218
3170
  },
3219
3171
  {
3220
3172
  "kind": "method",
3221
- "name": "stopPolling",
3222
- "privacy": "private",
3223
- "return": {
3224
- "type": {
3225
- "text": "void"
3173
+ "name": "getLabel",
3174
+ "parameters": [
3175
+ {
3176
+ "name": "name",
3177
+ "type": {
3178
+ "text": "string | ((rowData: any) => string)"
3179
+ }
3226
3180
  }
3227
- }
3181
+ ]
3228
3182
  },
3229
3183
  {
3230
3184
  "kind": "method",
3231
- "name": "onInstall",
3232
- "return": {
3233
- "type": {
3234
- "text": "Promise<void>"
3185
+ "name": "getTemplate",
3186
+ "parameters": [
3187
+ {
3188
+ "name": "prefix",
3189
+ "type": {
3190
+ "text": "string"
3191
+ }
3235
3192
  }
3236
- }
3193
+ ]
3237
3194
  },
3238
3195
  {
3239
3196
  "kind": "field",
@@ -3347,88 +3304,131 @@
3347
3304
  }
3348
3305
  }
3349
3306
  ],
3307
+ "attributes": [
3308
+ {
3309
+ "name": "is-vertical",
3310
+ "type": {
3311
+ "text": "boolean"
3312
+ },
3313
+ "default": "false",
3314
+ "fieldName": "isVertical"
3315
+ },
3316
+ {
3317
+ "name": "add-default-actions",
3318
+ "type": {
3319
+ "text": "boolean"
3320
+ },
3321
+ "default": "true",
3322
+ "fieldName": "addDefaultActions"
3323
+ },
3324
+ {
3325
+ "name": "auto-close-on-action",
3326
+ "type": {
3327
+ "text": "boolean"
3328
+ },
3329
+ "default": "true",
3330
+ "fieldName": "autoCloseOnAction"
3331
+ },
3332
+ {
3333
+ "name": "name",
3334
+ "type": {
3335
+ "text": "string"
3336
+ },
3337
+ "default": "'Actions'",
3338
+ "fieldName": "name"
3339
+ },
3340
+ {
3341
+ "name": "open",
3342
+ "type": {
3343
+ "text": "boolean"
3344
+ },
3345
+ "default": "false",
3346
+ "fieldName": "open"
3347
+ },
3348
+ {
3349
+ "name": "buttonAppearance",
3350
+ "type": {
3351
+ "text": "string"
3352
+ },
3353
+ "fieldName": "buttonAppearance"
3354
+ },
3355
+ {
3356
+ "name": "hide-disabled",
3357
+ "type": {
3358
+ "text": "boolean"
3359
+ },
3360
+ "default": "false",
3361
+ "fieldName": "hideDisabled"
3362
+ },
3363
+ {
3364
+ "name": "hide-menu-single-option",
3365
+ "type": {
3366
+ "text": "boolean"
3367
+ },
3368
+ "default": "false",
3369
+ "fieldName": "hideMenuSingleOption"
3370
+ }
3371
+ ],
3350
3372
  "superclass": {
3351
3373
  "name": "FoundationElement",
3352
3374
  "package": "@microsoft/fast-foundation"
3353
3375
  },
3354
- "tagName": "%%prefix%%-ai-indicator",
3376
+ "tagName": "%%prefix%%-actions-menu",
3355
3377
  "customElement": true
3356
3378
  },
3357
3379
  {
3358
3380
  "kind": "variable",
3359
- "name": "foundationAiIndicator"
3381
+ "name": "foundationActionsMenu",
3382
+ "description": "The Foundation Actions Menu",
3383
+ "privacy": "public"
3360
3384
  }
3361
3385
  ],
3362
3386
  "exports": [
3363
3387
  {
3364
3388
  "kind": "js",
3365
- "name": "AiIndicator",
3389
+ "name": "ActionsMenu",
3366
3390
  "declaration": {
3367
- "name": "AiIndicator",
3368
- "module": "src/ai-indicator/ai-indicator.ts"
3391
+ "name": "ActionsMenu",
3392
+ "module": "src/actions-menu/actions-menu.ts"
3369
3393
  }
3370
3394
  },
3371
3395
  {
3372
3396
  "kind": "js",
3373
- "name": "foundationAiIndicator",
3397
+ "name": "foundationActionsMenu",
3374
3398
  "declaration": {
3375
- "name": "foundationAiIndicator",
3376
- "module": "src/ai-indicator/ai-indicator.ts"
3399
+ "name": "foundationActionsMenu",
3400
+ "module": "src/actions-menu/actions-menu.ts"
3377
3401
  }
3378
3402
  }
3379
3403
  ]
3380
3404
  },
3381
3405
  {
3382
3406
  "kind": "javascript-module",
3383
- "path": "src/ai-indicator/index.ts",
3407
+ "path": "src/actions-menu/index.ts",
3384
3408
  "declarations": [],
3385
3409
  "exports": [
3386
3410
  {
3387
3411
  "kind": "js",
3388
- "name": "AiIndicator",
3389
- "declaration": {
3390
- "name": "AiIndicator",
3391
- "module": "./ai-indicator"
3392
- }
3393
- },
3394
- {
3395
- "kind": "js",
3396
- "name": "foundationAiIndicator",
3397
- "declaration": {
3398
- "name": "foundationAiIndicator",
3399
- "module": "./ai-indicator"
3400
- }
3401
- },
3402
- {
3403
- "kind": "js",
3404
- "name": "type",
3405
- "declaration": {
3406
- "name": "type",
3407
- "module": "./ai-indicator"
3408
- }
3409
- },
3410
- {
3411
- "kind": "js",
3412
- "name": "AIIndicatorState",
3412
+ "name": "*",
3413
3413
  "declaration": {
3414
- "name": "AIIndicatorState",
3415
- "module": "./ai-indicator"
3414
+ "name": "*",
3415
+ "package": "./actions-menu.styles"
3416
3416
  }
3417
3417
  },
3418
3418
  {
3419
3419
  "kind": "js",
3420
- "name": "foundationAiIndicatorTemplate",
3420
+ "name": "*",
3421
3421
  "declaration": {
3422
- "name": "foundationAiIndicatorTemplate",
3423
- "module": "./ai-indicator.template"
3422
+ "name": "*",
3423
+ "package": "./actions-menu.template"
3424
3424
  }
3425
3425
  },
3426
3426
  {
3427
3427
  "kind": "js",
3428
- "name": "foundationAiIndicatorStyles",
3428
+ "name": "*",
3429
3429
  "declaration": {
3430
- "name": "foundationAiIndicatorStyles",
3431
- "module": "./ai-indicator.styles"
3430
+ "name": "*",
3431
+ "package": "./actions-menu"
3432
3432
  }
3433
3433
  }
3434
3434
  ]