@genesislcap/foundation-ui 15.12.0 → 15.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +757 -757
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +10 -10
- package/package.json +19 -19
|
@@ -1422,6 +1422,37 @@
|
|
|
1422
1422
|
}
|
|
1423
1423
|
]
|
|
1424
1424
|
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "javascript-module",
|
|
1427
|
+
"path": "src/_config/index.ts",
|
|
1428
|
+
"declarations": [],
|
|
1429
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./styles"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./tokens"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "js",
|
|
1448
|
+
"name": "*",
|
|
1449
|
+
"declaration": {
|
|
1450
|
+
"name": "*",
|
|
1451
|
+
"package": "./values"
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
},
|
|
1425
1456
|
{
|
|
1426
1457
|
"kind": "javascript-module",
|
|
1427
1458
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1818,146 +1849,203 @@
|
|
|
1818
1849
|
},
|
|
1819
1850
|
{
|
|
1820
1851
|
"kind": "javascript-module",
|
|
1821
|
-
"path": "src/
|
|
1822
|
-
"declarations": [
|
|
1823
|
-
"exports": [
|
|
1852
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1853
|
+
"declarations": [
|
|
1824
1854
|
{
|
|
1825
|
-
"kind": "
|
|
1826
|
-
"name": "
|
|
1827
|
-
"
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1855
|
+
"kind": "function",
|
|
1856
|
+
"name": "actionsMenuBaseStyles",
|
|
1857
|
+
"return": {
|
|
1858
|
+
"type": {
|
|
1859
|
+
"text": "ElementStyles"
|
|
1860
|
+
}
|
|
1861
|
+
},
|
|
1862
|
+
"parameters": [
|
|
1863
|
+
{
|
|
1864
|
+
"name": "context",
|
|
1865
|
+
"type": {
|
|
1866
|
+
"text": "ElementDefinitionContext"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"name": "definition",
|
|
1871
|
+
"type": {
|
|
1872
|
+
"text": "FoundationElementDefinition"
|
|
1873
|
+
}
|
|
1874
|
+
}
|
|
1875
|
+
]
|
|
1831
1876
|
},
|
|
1877
|
+
{
|
|
1878
|
+
"kind": "function",
|
|
1879
|
+
"name": "foundationActionsMenuStyles",
|
|
1880
|
+
"return": {
|
|
1881
|
+
"type": {
|
|
1882
|
+
"text": "ElementStyles"
|
|
1883
|
+
}
|
|
1884
|
+
},
|
|
1885
|
+
"parameters": [
|
|
1886
|
+
{
|
|
1887
|
+
"name": "context",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"text": "ElementDefinitionContext"
|
|
1890
|
+
}
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"name": "definition",
|
|
1894
|
+
"type": {
|
|
1895
|
+
"text": "FoundationElementDefinition"
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
]
|
|
1899
|
+
}
|
|
1900
|
+
],
|
|
1901
|
+
"exports": [
|
|
1832
1902
|
{
|
|
1833
1903
|
"kind": "js",
|
|
1834
|
-
"name": "
|
|
1904
|
+
"name": "actionsMenuBaseStyles",
|
|
1835
1905
|
"declaration": {
|
|
1836
|
-
"name": "
|
|
1837
|
-
"
|
|
1906
|
+
"name": "actionsMenuBaseStyles",
|
|
1907
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1838
1908
|
}
|
|
1839
1909
|
},
|
|
1840
1910
|
{
|
|
1841
1911
|
"kind": "js",
|
|
1842
|
-
"name": "
|
|
1912
|
+
"name": "foundationActionsMenuStyles",
|
|
1843
1913
|
"declaration": {
|
|
1844
|
-
"name": "
|
|
1845
|
-
"
|
|
1914
|
+
"name": "foundationActionsMenuStyles",
|
|
1915
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1846
1916
|
}
|
|
1847
1917
|
}
|
|
1848
1918
|
]
|
|
1849
1919
|
},
|
|
1850
1920
|
{
|
|
1851
1921
|
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/
|
|
1922
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1853
1923
|
"declarations": [
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "function",
|
|
1926
|
+
"name": "menuTemplate",
|
|
1927
|
+
"parameters": [
|
|
1928
|
+
{
|
|
1929
|
+
"name": "prefix",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "string"
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
]
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"kind": "function",
|
|
1938
|
+
"name": "singleOptionTemplate",
|
|
1939
|
+
"parameters": [
|
|
1940
|
+
{
|
|
1941
|
+
"name": "prefix",
|
|
1942
|
+
"type": {
|
|
1943
|
+
"text": "string"
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
]
|
|
1947
|
+
},
|
|
1854
1948
|
{
|
|
1855
1949
|
"kind": "variable",
|
|
1856
|
-
"name": "
|
|
1857
|
-
"
|
|
1950
|
+
"name": "foundationActionsMenuTemplate",
|
|
1951
|
+
"type": {
|
|
1952
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1953
|
+
},
|
|
1954
|
+
"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`"
|
|
1858
1955
|
}
|
|
1859
1956
|
],
|
|
1860
1957
|
"exports": [
|
|
1861
1958
|
{
|
|
1862
1959
|
"kind": "js",
|
|
1863
|
-
"name": "
|
|
1960
|
+
"name": "menuTemplate",
|
|
1864
1961
|
"declaration": {
|
|
1865
|
-
"name": "
|
|
1866
|
-
"module": "src/
|
|
1962
|
+
"name": "menuTemplate",
|
|
1963
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1867
1964
|
}
|
|
1868
|
-
}
|
|
1869
|
-
]
|
|
1870
|
-
},
|
|
1871
|
-
{
|
|
1872
|
-
"kind": "javascript-module",
|
|
1873
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1874
|
-
"declarations": [
|
|
1965
|
+
},
|
|
1875
1966
|
{
|
|
1876
|
-
"kind": "
|
|
1877
|
-
"name": "
|
|
1878
|
-
"
|
|
1879
|
-
"
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
}
|
|
1883
|
-
],
|
|
1884
|
-
"exports": [
|
|
1967
|
+
"kind": "js",
|
|
1968
|
+
"name": "singleOptionTemplate",
|
|
1969
|
+
"declaration": {
|
|
1970
|
+
"name": "singleOptionTemplate",
|
|
1971
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1885
1974
|
{
|
|
1886
1975
|
"kind": "js",
|
|
1887
|
-
"name": "
|
|
1976
|
+
"name": "foundationActionsMenuTemplate",
|
|
1888
1977
|
"declaration": {
|
|
1889
|
-
"name": "
|
|
1890
|
-
"module": "src/
|
|
1978
|
+
"name": "foundationActionsMenuTemplate",
|
|
1979
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1891
1980
|
}
|
|
1892
1981
|
}
|
|
1893
1982
|
]
|
|
1894
1983
|
},
|
|
1895
1984
|
{
|
|
1896
1985
|
"kind": "javascript-module",
|
|
1897
|
-
"path": "src/
|
|
1986
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1898
1987
|
"declarations": [
|
|
1899
1988
|
{
|
|
1900
1989
|
"kind": "class",
|
|
1901
|
-
"description": "
|
|
1902
|
-
"name": "
|
|
1990
|
+
"description": "",
|
|
1991
|
+
"name": "ActionsMenu",
|
|
1903
1992
|
"members": [
|
|
1904
1993
|
{
|
|
1905
1994
|
"kind": "field",
|
|
1906
|
-
"name": "
|
|
1995
|
+
"name": "actions",
|
|
1907
1996
|
"type": {
|
|
1908
|
-
"text": "
|
|
1997
|
+
"text": "ActionMenuItem[]"
|
|
1909
1998
|
}
|
|
1910
1999
|
},
|
|
1911
2000
|
{
|
|
1912
2001
|
"kind": "field",
|
|
1913
|
-
"name": "
|
|
2002
|
+
"name": "isVertical",
|
|
1914
2003
|
"type": {
|
|
1915
|
-
"text": "
|
|
2004
|
+
"text": "boolean"
|
|
1916
2005
|
},
|
|
1917
|
-
"default": "
|
|
2006
|
+
"default": "false"
|
|
1918
2007
|
},
|
|
1919
2008
|
{
|
|
1920
2009
|
"kind": "field",
|
|
1921
|
-
"name": "
|
|
2010
|
+
"name": "addDefaultActions",
|
|
1922
2011
|
"type": {
|
|
1923
2012
|
"text": "boolean"
|
|
1924
|
-
}
|
|
2013
|
+
},
|
|
2014
|
+
"default": "true"
|
|
1925
2015
|
},
|
|
1926
2016
|
{
|
|
1927
2017
|
"kind": "field",
|
|
1928
|
-
"name": "
|
|
2018
|
+
"name": "autoCloseOnAction",
|
|
1929
2019
|
"type": {
|
|
1930
|
-
"text": "
|
|
2020
|
+
"text": "boolean"
|
|
1931
2021
|
},
|
|
1932
|
-
"default": "
|
|
2022
|
+
"default": "true"
|
|
1933
2023
|
},
|
|
1934
2024
|
{
|
|
1935
2025
|
"kind": "field",
|
|
1936
|
-
"name": "
|
|
2026
|
+
"name": "classNames",
|
|
1937
2027
|
"type": {
|
|
1938
|
-
"text": "
|
|
1939
|
-
}
|
|
1940
|
-
"default": "false"
|
|
2028
|
+
"text": "string"
|
|
2029
|
+
}
|
|
1941
2030
|
},
|
|
1942
2031
|
{
|
|
1943
2032
|
"kind": "field",
|
|
1944
|
-
"name": "
|
|
2033
|
+
"name": "definition",
|
|
1945
2034
|
"type": {
|
|
1946
|
-
"text": "
|
|
1947
|
-
}
|
|
1948
|
-
"default": "null"
|
|
2035
|
+
"text": "any"
|
|
2036
|
+
}
|
|
1949
2037
|
},
|
|
1950
2038
|
{
|
|
1951
2039
|
"kind": "field",
|
|
1952
|
-
"name": "
|
|
2040
|
+
"name": "name",
|
|
1953
2041
|
"type": {
|
|
1954
|
-
"text": "
|
|
2042
|
+
"text": "string"
|
|
1955
2043
|
},
|
|
1956
|
-
"default": "
|
|
2044
|
+
"default": "'Actions'"
|
|
1957
2045
|
},
|
|
1958
2046
|
{
|
|
1959
2047
|
"kind": "field",
|
|
1960
|
-
"name": "
|
|
2048
|
+
"name": "open",
|
|
1961
2049
|
"type": {
|
|
1962
2050
|
"text": "boolean"
|
|
1963
2051
|
},
|
|
@@ -1965,15 +2053,14 @@
|
|
|
1965
2053
|
},
|
|
1966
2054
|
{
|
|
1967
2055
|
"kind": "field",
|
|
1968
|
-
"name": "
|
|
2056
|
+
"name": "buttonAppearance",
|
|
1969
2057
|
"type": {
|
|
1970
|
-
"text": "
|
|
1971
|
-
}
|
|
1972
|
-
"default": "[]"
|
|
2058
|
+
"text": "string"
|
|
2059
|
+
}
|
|
1973
2060
|
},
|
|
1974
2061
|
{
|
|
1975
2062
|
"kind": "field",
|
|
1976
|
-
"name": "
|
|
2063
|
+
"name": "hideDisabled",
|
|
1977
2064
|
"type": {
|
|
1978
2065
|
"text": "boolean"
|
|
1979
2066
|
},
|
|
@@ -1981,125 +2068,114 @@
|
|
|
1981
2068
|
},
|
|
1982
2069
|
{
|
|
1983
2070
|
"kind": "field",
|
|
1984
|
-
"name": "
|
|
2071
|
+
"name": "hideMenuSingleOption",
|
|
1985
2072
|
"type": {
|
|
1986
|
-
"text": "
|
|
2073
|
+
"text": "boolean"
|
|
1987
2074
|
},
|
|
1988
|
-
"
|
|
2075
|
+
"default": "false"
|
|
1989
2076
|
},
|
|
1990
2077
|
{
|
|
1991
2078
|
"kind": "field",
|
|
1992
|
-
"name": "
|
|
2079
|
+
"name": "singleOption",
|
|
1993
2080
|
"type": {
|
|
1994
|
-
"text": "
|
|
1995
|
-
}
|
|
1996
|
-
"privacy": "private",
|
|
1997
|
-
"default": "null"
|
|
2081
|
+
"text": "ActionMenuItem"
|
|
2082
|
+
}
|
|
1998
2083
|
},
|
|
1999
2084
|
{
|
|
2000
2085
|
"kind": "field",
|
|
2001
|
-
"name": "
|
|
2086
|
+
"name": "actionsMenu",
|
|
2002
2087
|
"type": {
|
|
2003
|
-
"text": "
|
|
2004
|
-
}
|
|
2005
|
-
"privacy": "private",
|
|
2006
|
-
"default": "null"
|
|
2088
|
+
"text": "HTMLElement"
|
|
2089
|
+
}
|
|
2007
2090
|
},
|
|
2008
2091
|
{
|
|
2009
2092
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
2093
|
+
"name": "actionsOpener",
|
|
2011
2094
|
"type": {
|
|
2012
|
-
"text": "
|
|
2013
|
-
}
|
|
2014
|
-
"readonly": true
|
|
2015
|
-
},
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "field",
|
|
2018
|
-
"name": "criteriaChips",
|
|
2019
|
-
"type": {
|
|
2020
|
-
"text": "CriteriaChip[]"
|
|
2021
|
-
},
|
|
2022
|
-
"readonly": true
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"kind": "method",
|
|
2026
|
-
"name": "getFieldLabel",
|
|
2027
|
-
"privacy": "private",
|
|
2028
|
-
"return": {
|
|
2029
|
-
"type": {
|
|
2030
|
-
"text": "string"
|
|
2031
|
-
}
|
|
2032
|
-
},
|
|
2033
|
-
"parameters": [
|
|
2034
|
-
{
|
|
2035
|
-
"name": "fieldName",
|
|
2036
|
-
"type": {
|
|
2037
|
-
"text": "string"
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
]
|
|
2095
|
+
"text": "HTMLElement"
|
|
2096
|
+
}
|
|
2041
2097
|
},
|
|
2042
2098
|
{
|
|
2043
2099
|
"kind": "method",
|
|
2044
|
-
"name": "
|
|
2045
|
-
"
|
|
2046
|
-
"type": {
|
|
2047
|
-
"text": "void"
|
|
2048
|
-
}
|
|
2049
|
-
}
|
|
2100
|
+
"name": "updateMenuPosition",
|
|
2101
|
+
"privacy": "private"
|
|
2050
2102
|
},
|
|
2051
2103
|
{
|
|
2052
2104
|
"kind": "method",
|
|
2053
|
-
"name": "
|
|
2054
|
-
"
|
|
2055
|
-
"type": {
|
|
2056
|
-
"text": "void"
|
|
2057
|
-
}
|
|
2058
|
-
},
|
|
2105
|
+
"name": "definitionChanged",
|
|
2106
|
+
"privacy": "protected",
|
|
2059
2107
|
"parameters": [
|
|
2060
2108
|
{
|
|
2061
|
-
"name": "
|
|
2109
|
+
"name": "oldValue",
|
|
2062
2110
|
"type": {
|
|
2063
|
-
"text": "
|
|
2111
|
+
"text": "any"
|
|
2064
2112
|
}
|
|
2065
2113
|
},
|
|
2066
2114
|
{
|
|
2067
|
-
"name": "
|
|
2115
|
+
"name": "newValue",
|
|
2068
2116
|
"type": {
|
|
2069
|
-
"text": "
|
|
2117
|
+
"text": "any"
|
|
2070
2118
|
}
|
|
2071
2119
|
}
|
|
2072
2120
|
]
|
|
2073
2121
|
},
|
|
2074
2122
|
{
|
|
2075
2123
|
"kind": "method",
|
|
2076
|
-
"name": "
|
|
2077
|
-
"
|
|
2078
|
-
"type": {
|
|
2079
|
-
"text": "void"
|
|
2080
|
-
}
|
|
2081
|
-
}
|
|
2124
|
+
"name": "openChanged",
|
|
2125
|
+
"privacy": "protected"
|
|
2082
2126
|
},
|
|
2083
2127
|
{
|
|
2084
2128
|
"kind": "method",
|
|
2085
|
-
"name": "
|
|
2129
|
+
"name": "toggleActionsMenuVisibility"
|
|
2086
2130
|
},
|
|
2087
2131
|
{
|
|
2088
2132
|
"kind": "method",
|
|
2089
|
-
"name": "
|
|
2133
|
+
"name": "onActionMenuItemClick",
|
|
2134
|
+
"parameters": [
|
|
2135
|
+
{
|
|
2136
|
+
"name": "callback",
|
|
2137
|
+
"type": {
|
|
2138
|
+
"text": "(rowData) => void | any"
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
]
|
|
2090
2142
|
},
|
|
2091
2143
|
{
|
|
2092
|
-
"kind": "
|
|
2093
|
-
"name": "
|
|
2144
|
+
"kind": "field",
|
|
2145
|
+
"name": "allActions",
|
|
2146
|
+
"type": {
|
|
2147
|
+
"text": "ActionMenuItem[]"
|
|
2148
|
+
},
|
|
2149
|
+
"readonly": true
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"kind": "field",
|
|
2153
|
+
"name": "rowData",
|
|
2154
|
+
"readonly": true
|
|
2094
2155
|
},
|
|
2095
2156
|
{
|
|
2096
2157
|
"kind": "method",
|
|
2097
|
-
"name": "
|
|
2158
|
+
"name": "getLabel",
|
|
2159
|
+
"parameters": [
|
|
2160
|
+
{
|
|
2161
|
+
"name": "name",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string | ((rowData: any) => string)"
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
2098
2167
|
},
|
|
2099
2168
|
{
|
|
2100
2169
|
"kind": "method",
|
|
2101
|
-
"name": "
|
|
2102
|
-
"
|
|
2170
|
+
"name": "getTemplate",
|
|
2171
|
+
"parameters": [
|
|
2172
|
+
{
|
|
2173
|
+
"name": "prefix",
|
|
2174
|
+
"type": {
|
|
2175
|
+
"text": "string"
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
]
|
|
2103
2179
|
},
|
|
2104
2180
|
{
|
|
2105
2181
|
"kind": "field",
|
|
@@ -2213,279 +2289,142 @@
|
|
|
2213
2289
|
}
|
|
2214
2290
|
}
|
|
2215
2291
|
],
|
|
2216
|
-
"
|
|
2292
|
+
"attributes": [
|
|
2217
2293
|
{
|
|
2218
|
-
"
|
|
2219
|
-
"
|
|
2294
|
+
"name": "is-vertical",
|
|
2295
|
+
"type": {
|
|
2296
|
+
"text": "boolean"
|
|
2297
|
+
},
|
|
2298
|
+
"default": "false",
|
|
2299
|
+
"fieldName": "isVertical"
|
|
2220
2300
|
},
|
|
2221
2301
|
{
|
|
2222
|
-
"
|
|
2223
|
-
"
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2302
|
+
"name": "add-default-actions",
|
|
2303
|
+
"type": {
|
|
2304
|
+
"text": "boolean"
|
|
2305
|
+
},
|
|
2306
|
+
"default": "true",
|
|
2307
|
+
"fieldName": "addDefaultActions"
|
|
2308
|
+
},
|
|
2227
2309
|
{
|
|
2228
|
-
"name": "
|
|
2310
|
+
"name": "auto-close-on-action",
|
|
2311
|
+
"type": {
|
|
2312
|
+
"text": "boolean"
|
|
2313
|
+
},
|
|
2314
|
+
"default": "true",
|
|
2315
|
+
"fieldName": "autoCloseOnAction"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
"name": "name",
|
|
2229
2319
|
"type": {
|
|
2230
2320
|
"text": "string"
|
|
2231
2321
|
},
|
|
2232
|
-
"default": "'
|
|
2233
|
-
"fieldName": "
|
|
2322
|
+
"default": "'Actions'",
|
|
2323
|
+
"fieldName": "name"
|
|
2234
2324
|
},
|
|
2235
2325
|
{
|
|
2326
|
+
"name": "open",
|
|
2236
2327
|
"type": {
|
|
2237
2328
|
"text": "boolean"
|
|
2238
2329
|
},
|
|
2239
|
-
"
|
|
2330
|
+
"default": "false",
|
|
2331
|
+
"fieldName": "open"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "buttonAppearance",
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "string"
|
|
2337
|
+
},
|
|
2338
|
+
"fieldName": "buttonAppearance"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"name": "hide-disabled",
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"default": "false",
|
|
2346
|
+
"fieldName": "hideDisabled"
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "hide-menu-single-option",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "boolean"
|
|
2352
|
+
},
|
|
2353
|
+
"default": "false",
|
|
2354
|
+
"fieldName": "hideMenuSingleOption"
|
|
2240
2355
|
}
|
|
2241
2356
|
],
|
|
2242
2357
|
"superclass": {
|
|
2243
2358
|
"name": "FoundationElement",
|
|
2244
2359
|
"package": "@microsoft/fast-foundation"
|
|
2245
2360
|
},
|
|
2246
|
-
"tagName": "%%prefix%%-
|
|
2361
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2247
2362
|
"customElement": true
|
|
2248
2363
|
},
|
|
2249
2364
|
{
|
|
2250
2365
|
"kind": "variable",
|
|
2251
|
-
"name": "
|
|
2252
|
-
"
|
|
2253
|
-
|
|
2254
|
-
},
|
|
2255
|
-
"default": "undefined"
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "variable",
|
|
2259
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2260
|
-
"type": {
|
|
2261
|
-
"text": "object"
|
|
2262
|
-
},
|
|
2263
|
-
"default": "{}"
|
|
2264
|
-
},
|
|
2265
|
-
{
|
|
2266
|
-
"kind": "variable",
|
|
2267
|
-
"name": "foundationAiCriteriaSearch"
|
|
2366
|
+
"name": "foundationActionsMenu",
|
|
2367
|
+
"description": "The Foundation Actions Menu",
|
|
2368
|
+
"privacy": "public"
|
|
2268
2369
|
}
|
|
2269
2370
|
],
|
|
2270
2371
|
"exports": [
|
|
2271
2372
|
{
|
|
2272
2373
|
"kind": "js",
|
|
2273
|
-
"name": "
|
|
2274
|
-
"declaration": {
|
|
2275
|
-
"name": "AiCriteriaSearch",
|
|
2276
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2277
|
-
}
|
|
2278
|
-
},
|
|
2279
|
-
{
|
|
2280
|
-
"kind": "js",
|
|
2281
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2282
|
-
"declaration": {
|
|
2283
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2284
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2285
|
-
}
|
|
2286
|
-
},
|
|
2287
|
-
{
|
|
2288
|
-
"kind": "js",
|
|
2289
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2374
|
+
"name": "ActionsMenu",
|
|
2290
2375
|
"declaration": {
|
|
2291
|
-
"name": "
|
|
2292
|
-
"module": "src/
|
|
2376
|
+
"name": "ActionsMenu",
|
|
2377
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2293
2378
|
}
|
|
2294
2379
|
},
|
|
2295
2380
|
{
|
|
2296
2381
|
"kind": "js",
|
|
2297
|
-
"name": "
|
|
2382
|
+
"name": "foundationActionsMenu",
|
|
2298
2383
|
"declaration": {
|
|
2299
|
-
"name": "
|
|
2300
|
-
"module": "src/
|
|
2384
|
+
"name": "foundationActionsMenu",
|
|
2385
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2301
2386
|
}
|
|
2302
2387
|
}
|
|
2303
2388
|
]
|
|
2304
2389
|
},
|
|
2305
2390
|
{
|
|
2306
2391
|
"kind": "javascript-module",
|
|
2307
|
-
"path": "src/
|
|
2392
|
+
"path": "src/actions-menu/index.ts",
|
|
2308
2393
|
"declarations": [],
|
|
2309
2394
|
"exports": [
|
|
2310
2395
|
{
|
|
2311
2396
|
"kind": "js",
|
|
2312
|
-
"name": "
|
|
2313
|
-
"declaration": {
|
|
2314
|
-
"name": "AiCriteriaSearch",
|
|
2315
|
-
"module": "./ai-criteria-search"
|
|
2316
|
-
}
|
|
2317
|
-
},
|
|
2318
|
-
{
|
|
2319
|
-
"kind": "js",
|
|
2320
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2397
|
+
"name": "*",
|
|
2321
2398
|
"declaration": {
|
|
2322
|
-
"name": "
|
|
2323
|
-
"
|
|
2399
|
+
"name": "*",
|
|
2400
|
+
"package": "./actions-menu.styles"
|
|
2324
2401
|
}
|
|
2325
2402
|
},
|
|
2326
2403
|
{
|
|
2327
2404
|
"kind": "js",
|
|
2328
|
-
"name": "
|
|
2405
|
+
"name": "*",
|
|
2329
2406
|
"declaration": {
|
|
2330
|
-
"name": "
|
|
2331
|
-
"
|
|
2407
|
+
"name": "*",
|
|
2408
|
+
"package": "./actions-menu.template"
|
|
2332
2409
|
}
|
|
2333
2410
|
},
|
|
2334
2411
|
{
|
|
2335
2412
|
"kind": "js",
|
|
2336
|
-
"name": "
|
|
2413
|
+
"name": "*",
|
|
2337
2414
|
"declaration": {
|
|
2338
|
-
"name": "
|
|
2339
|
-
"
|
|
2415
|
+
"name": "*",
|
|
2416
|
+
"package": "./actions-menu"
|
|
2340
2417
|
}
|
|
2341
|
-
}
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
}
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"kind": "js",
|
|
2352
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2353
|
-
"declaration": {
|
|
2354
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2355
|
-
"module": "./ai-criteria-search.template"
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"kind": "js",
|
|
2360
|
-
"name": "*",
|
|
2361
|
-
"declaration": {
|
|
2362
|
-
"name": "*",
|
|
2363
|
-
"package": "./validation/criteria-ir"
|
|
2364
|
-
}
|
|
2365
|
-
},
|
|
2366
|
-
{
|
|
2367
|
-
"kind": "js",
|
|
2368
|
-
"name": "*",
|
|
2369
|
-
"declaration": {
|
|
2370
|
-
"name": "*",
|
|
2371
|
-
"package": "./validation/operator-map"
|
|
2372
|
-
}
|
|
2373
|
-
},
|
|
2374
|
-
{
|
|
2375
|
-
"kind": "js",
|
|
2376
|
-
"name": "*",
|
|
2377
|
-
"declaration": {
|
|
2378
|
-
"name": "*",
|
|
2379
|
-
"package": "./validation/schema-validator"
|
|
2380
|
-
}
|
|
2381
|
-
}
|
|
2382
|
-
]
|
|
2383
|
-
},
|
|
2384
|
-
{
|
|
2385
|
-
"kind": "javascript-module",
|
|
2386
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2387
|
-
"declarations": [
|
|
2418
|
+
}
|
|
2419
|
+
]
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "javascript-module",
|
|
2423
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2424
|
+
"declarations": [
|
|
2388
2425
|
{
|
|
2389
2426
|
"kind": "function",
|
|
2390
|
-
"name": "
|
|
2391
|
-
"return": {
|
|
2392
|
-
"type": {
|
|
2393
|
-
"text": "string"
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
"parameters": [
|
|
2397
|
-
{
|
|
2398
|
-
"name": "errors",
|
|
2399
|
-
"type": {
|
|
2400
|
-
"text": "ValidationError[]"
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
],
|
|
2404
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
"kind": "function",
|
|
2408
|
-
"name": "showCriteriaError",
|
|
2409
|
-
"return": {
|
|
2410
|
-
"type": {
|
|
2411
|
-
"text": "void"
|
|
2412
|
-
}
|
|
2413
|
-
},
|
|
2414
|
-
"parameters": [
|
|
2415
|
-
{
|
|
2416
|
-
"name": "title",
|
|
2417
|
-
"type": {
|
|
2418
|
-
"text": "string"
|
|
2419
|
-
},
|
|
2420
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2421
|
-
},
|
|
2422
|
-
{
|
|
2423
|
-
"name": "body",
|
|
2424
|
-
"type": {
|
|
2425
|
-
"text": "string"
|
|
2426
|
-
},
|
|
2427
|
-
"description": "Error message to display"
|
|
2428
|
-
},
|
|
2429
|
-
{
|
|
2430
|
-
"name": "tagName",
|
|
2431
|
-
"type": {
|
|
2432
|
-
"text": "string"
|
|
2433
|
-
},
|
|
2434
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2435
|
-
}
|
|
2436
|
-
],
|
|
2437
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2438
|
-
}
|
|
2439
|
-
],
|
|
2440
|
-
"exports": [
|
|
2441
|
-
{
|
|
2442
|
-
"kind": "js",
|
|
2443
|
-
"name": "formatValidationErrors",
|
|
2444
|
-
"declaration": {
|
|
2445
|
-
"name": "formatValidationErrors",
|
|
2446
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2447
|
-
}
|
|
2448
|
-
},
|
|
2449
|
-
{
|
|
2450
|
-
"kind": "js",
|
|
2451
|
-
"name": "showCriteriaError",
|
|
2452
|
-
"declaration": {
|
|
2453
|
-
"name": "showCriteriaError",
|
|
2454
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
]
|
|
2458
|
-
},
|
|
2459
|
-
{
|
|
2460
|
-
"kind": "javascript-module",
|
|
2461
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2462
|
-
"declarations": [
|
|
2463
|
-
{
|
|
2464
|
-
"kind": "function",
|
|
2465
|
-
"name": "actionsMenuBaseStyles",
|
|
2466
|
-
"return": {
|
|
2467
|
-
"type": {
|
|
2468
|
-
"text": "ElementStyles"
|
|
2469
|
-
}
|
|
2470
|
-
},
|
|
2471
|
-
"parameters": [
|
|
2472
|
-
{
|
|
2473
|
-
"name": "context",
|
|
2474
|
-
"type": {
|
|
2475
|
-
"text": "ElementDefinitionContext"
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2478
|
-
{
|
|
2479
|
-
"name": "definition",
|
|
2480
|
-
"type": {
|
|
2481
|
-
"text": "FoundationElementDefinition"
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
]
|
|
2485
|
-
},
|
|
2486
|
-
{
|
|
2487
|
-
"kind": "function",
|
|
2488
|
-
"name": "foundationActionsMenuStyles",
|
|
2427
|
+
"name": "foundationAiIndicatorStyles",
|
|
2489
2428
|
"return": {
|
|
2490
2429
|
"type": {
|
|
2491
2430
|
"text": "ElementStyles"
|
|
@@ -2510,151 +2449,91 @@
|
|
|
2510
2449
|
"exports": [
|
|
2511
2450
|
{
|
|
2512
2451
|
"kind": "js",
|
|
2513
|
-
"name": "
|
|
2514
|
-
"declaration": {
|
|
2515
|
-
"name": "actionsMenuBaseStyles",
|
|
2516
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2517
|
-
}
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"kind": "js",
|
|
2521
|
-
"name": "foundationActionsMenuStyles",
|
|
2452
|
+
"name": "foundationAiIndicatorStyles",
|
|
2522
2453
|
"declaration": {
|
|
2523
|
-
"name": "
|
|
2524
|
-
"module": "src/
|
|
2454
|
+
"name": "foundationAiIndicatorStyles",
|
|
2455
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2525
2456
|
}
|
|
2526
2457
|
}
|
|
2527
2458
|
]
|
|
2528
2459
|
},
|
|
2529
2460
|
{
|
|
2530
2461
|
"kind": "javascript-module",
|
|
2531
|
-
"path": "src/
|
|
2462
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2532
2463
|
"declarations": [
|
|
2533
|
-
{
|
|
2534
|
-
"kind": "function",
|
|
2535
|
-
"name": "menuTemplate",
|
|
2536
|
-
"parameters": [
|
|
2537
|
-
{
|
|
2538
|
-
"name": "prefix",
|
|
2539
|
-
"type": {
|
|
2540
|
-
"text": "string"
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
]
|
|
2544
|
-
},
|
|
2545
|
-
{
|
|
2546
|
-
"kind": "function",
|
|
2547
|
-
"name": "singleOptionTemplate",
|
|
2548
|
-
"parameters": [
|
|
2549
|
-
{
|
|
2550
|
-
"name": "prefix",
|
|
2551
|
-
"type": {
|
|
2552
|
-
"text": "string"
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
]
|
|
2556
|
-
},
|
|
2557
2464
|
{
|
|
2558
2465
|
"kind": "variable",
|
|
2559
|
-
"name": "
|
|
2466
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2560
2467
|
"type": {
|
|
2561
|
-
"text": "ViewTemplate<
|
|
2468
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2562
2469
|
},
|
|
2563
|
-
"default": "html`\n
|
|
2470
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2564
2471
|
}
|
|
2565
2472
|
],
|
|
2566
2473
|
"exports": [
|
|
2567
2474
|
{
|
|
2568
2475
|
"kind": "js",
|
|
2569
|
-
"name": "
|
|
2570
|
-
"declaration": {
|
|
2571
|
-
"name": "menuTemplate",
|
|
2572
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2573
|
-
}
|
|
2574
|
-
},
|
|
2575
|
-
{
|
|
2576
|
-
"kind": "js",
|
|
2577
|
-
"name": "singleOptionTemplate",
|
|
2578
|
-
"declaration": {
|
|
2579
|
-
"name": "singleOptionTemplate",
|
|
2580
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2581
|
-
}
|
|
2582
|
-
},
|
|
2583
|
-
{
|
|
2584
|
-
"kind": "js",
|
|
2585
|
-
"name": "foundationActionsMenuTemplate",
|
|
2476
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2586
2477
|
"declaration": {
|
|
2587
|
-
"name": "
|
|
2588
|
-
"module": "src/
|
|
2478
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2479
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2589
2480
|
}
|
|
2590
2481
|
}
|
|
2591
2482
|
]
|
|
2592
2483
|
},
|
|
2593
2484
|
{
|
|
2594
2485
|
"kind": "javascript-module",
|
|
2595
|
-
"path": "src/
|
|
2486
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2596
2487
|
"declarations": [
|
|
2597
2488
|
{
|
|
2598
2489
|
"kind": "class",
|
|
2599
2490
|
"description": "",
|
|
2600
|
-
"name": "
|
|
2491
|
+
"name": "AiIndicator",
|
|
2601
2492
|
"members": [
|
|
2602
2493
|
{
|
|
2603
2494
|
"kind": "field",
|
|
2604
|
-
"name": "
|
|
2495
|
+
"name": "providerRegistry",
|
|
2605
2496
|
"type": {
|
|
2606
|
-
"text": "
|
|
2497
|
+
"text": "AIProviderRegistry"
|
|
2607
2498
|
}
|
|
2608
2499
|
},
|
|
2609
2500
|
{
|
|
2610
2501
|
"kind": "field",
|
|
2611
|
-
"name": "
|
|
2502
|
+
"name": "aiProvider",
|
|
2612
2503
|
"type": {
|
|
2613
|
-
"text": "
|
|
2504
|
+
"text": "AIProvider | undefined"
|
|
2614
2505
|
},
|
|
2615
|
-
"
|
|
2506
|
+
"privacy": "private",
|
|
2507
|
+
"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.",
|
|
2508
|
+
"readonly": true
|
|
2616
2509
|
},
|
|
2617
2510
|
{
|
|
2618
2511
|
"kind": "field",
|
|
2619
|
-
"name": "
|
|
2512
|
+
"name": "status",
|
|
2620
2513
|
"type": {
|
|
2621
|
-
"text": "
|
|
2514
|
+
"text": "AIStatus | null"
|
|
2622
2515
|
},
|
|
2623
|
-
"default": "
|
|
2516
|
+
"default": "null"
|
|
2624
2517
|
},
|
|
2625
2518
|
{
|
|
2626
2519
|
"kind": "field",
|
|
2627
|
-
"name": "
|
|
2520
|
+
"name": "open",
|
|
2628
2521
|
"type": {
|
|
2629
2522
|
"text": "boolean"
|
|
2630
2523
|
},
|
|
2631
|
-
"default": "
|
|
2632
|
-
},
|
|
2633
|
-
{
|
|
2634
|
-
"kind": "field",
|
|
2635
|
-
"name": "classNames",
|
|
2636
|
-
"type": {
|
|
2637
|
-
"text": "string"
|
|
2638
|
-
}
|
|
2639
|
-
},
|
|
2640
|
-
{
|
|
2641
|
-
"kind": "field",
|
|
2642
|
-
"name": "definition",
|
|
2643
|
-
"type": {
|
|
2644
|
-
"text": "any"
|
|
2645
|
-
}
|
|
2524
|
+
"default": "false"
|
|
2646
2525
|
},
|
|
2647
2526
|
{
|
|
2648
2527
|
"kind": "field",
|
|
2649
|
-
"name": "
|
|
2528
|
+
"name": "state",
|
|
2650
2529
|
"type": {
|
|
2651
|
-
"text": "
|
|
2530
|
+
"text": "AIIndicatorState"
|
|
2652
2531
|
},
|
|
2653
|
-
"default": "'
|
|
2532
|
+
"default": "'none'"
|
|
2654
2533
|
},
|
|
2655
2534
|
{
|
|
2656
2535
|
"kind": "field",
|
|
2657
|
-
"name": "
|
|
2536
|
+
"name": "isInstalling",
|
|
2658
2537
|
"type": {
|
|
2659
2538
|
"text": "boolean"
|
|
2660
2539
|
},
|
|
@@ -2662,129 +2541,133 @@
|
|
|
2662
2541
|
},
|
|
2663
2542
|
{
|
|
2664
2543
|
"kind": "field",
|
|
2665
|
-
"name": "
|
|
2666
|
-
"type": {
|
|
2667
|
-
"text": "string"
|
|
2668
|
-
}
|
|
2669
|
-
},
|
|
2670
|
-
{
|
|
2671
|
-
"kind": "field",
|
|
2672
|
-
"name": "hideDisabled",
|
|
2544
|
+
"name": "pollTimer",
|
|
2673
2545
|
"type": {
|
|
2674
|
-
"text": "
|
|
2546
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2675
2547
|
},
|
|
2676
|
-
"
|
|
2548
|
+
"privacy": "private",
|
|
2549
|
+
"default": "null"
|
|
2677
2550
|
},
|
|
2678
2551
|
{
|
|
2679
2552
|
"kind": "field",
|
|
2680
|
-
"name": "
|
|
2681
|
-
"
|
|
2682
|
-
"text": "boolean"
|
|
2683
|
-
},
|
|
2684
|
-
"default": "false"
|
|
2553
|
+
"name": "clickOutside",
|
|
2554
|
+
"privacy": "private"
|
|
2685
2555
|
},
|
|
2686
2556
|
{
|
|
2687
2557
|
"kind": "field",
|
|
2688
|
-
"name": "
|
|
2558
|
+
"name": "chromeStatusLabel",
|
|
2689
2559
|
"type": {
|
|
2690
|
-
"text": "
|
|
2691
|
-
}
|
|
2560
|
+
"text": "string | null"
|
|
2561
|
+
},
|
|
2562
|
+
"readonly": true
|
|
2692
2563
|
},
|
|
2693
2564
|
{
|
|
2694
2565
|
"kind": "field",
|
|
2695
|
-
"name": "
|
|
2566
|
+
"name": "canInstall",
|
|
2696
2567
|
"type": {
|
|
2697
|
-
"text": "
|
|
2698
|
-
}
|
|
2568
|
+
"text": "boolean"
|
|
2569
|
+
},
|
|
2570
|
+
"readonly": true
|
|
2699
2571
|
},
|
|
2700
2572
|
{
|
|
2701
2573
|
"kind": "field",
|
|
2702
|
-
"name": "
|
|
2574
|
+
"name": "isDownloading",
|
|
2703
2575
|
"type": {
|
|
2704
|
-
"text": "
|
|
2705
|
-
}
|
|
2576
|
+
"text": "boolean"
|
|
2577
|
+
},
|
|
2578
|
+
"readonly": true
|
|
2706
2579
|
},
|
|
2707
2580
|
{
|
|
2708
2581
|
"kind": "method",
|
|
2709
|
-
"name": "
|
|
2710
|
-
"
|
|
2582
|
+
"name": "openChanged",
|
|
2583
|
+
"return": {
|
|
2584
|
+
"type": {
|
|
2585
|
+
"text": "void"
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2711
2588
|
},
|
|
2712
2589
|
{
|
|
2713
2590
|
"kind": "method",
|
|
2714
|
-
"name": "
|
|
2715
|
-
"privacy": "
|
|
2591
|
+
"name": "handleClickOutside",
|
|
2592
|
+
"privacy": "private",
|
|
2716
2593
|
"parameters": [
|
|
2717
2594
|
{
|
|
2718
|
-
"name": "
|
|
2719
|
-
"type": {
|
|
2720
|
-
"text": "any"
|
|
2721
|
-
}
|
|
2722
|
-
},
|
|
2723
|
-
{
|
|
2724
|
-
"name": "newValue",
|
|
2595
|
+
"name": "event",
|
|
2725
2596
|
"type": {
|
|
2726
|
-
"text": "
|
|
2597
|
+
"text": "MouseEvent"
|
|
2727
2598
|
}
|
|
2728
2599
|
}
|
|
2729
2600
|
]
|
|
2730
2601
|
},
|
|
2731
2602
|
{
|
|
2732
2603
|
"kind": "method",
|
|
2733
|
-
"name": "
|
|
2734
|
-
"privacy": "protected"
|
|
2604
|
+
"name": "toggleDropdown"
|
|
2735
2605
|
},
|
|
2736
2606
|
{
|
|
2737
2607
|
"kind": "method",
|
|
2738
|
-
"name": "
|
|
2608
|
+
"name": "refreshStatus",
|
|
2609
|
+
"return": {
|
|
2610
|
+
"type": {
|
|
2611
|
+
"text": "Promise<void>"
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2739
2614
|
},
|
|
2740
2615
|
{
|
|
2741
2616
|
"kind": "method",
|
|
2742
|
-
"name": "
|
|
2617
|
+
"name": "deriveState",
|
|
2618
|
+
"privacy": "private",
|
|
2619
|
+
"return": {
|
|
2620
|
+
"type": {
|
|
2621
|
+
"text": "AIIndicatorState"
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2743
2624
|
"parameters": [
|
|
2744
2625
|
{
|
|
2745
|
-
"name": "
|
|
2626
|
+
"name": "s",
|
|
2746
2627
|
"type": {
|
|
2747
|
-
"text": "
|
|
2628
|
+
"text": "AIStatus | null"
|
|
2748
2629
|
}
|
|
2749
2630
|
}
|
|
2750
2631
|
]
|
|
2751
2632
|
},
|
|
2752
2633
|
{
|
|
2753
|
-
"kind": "
|
|
2754
|
-
"name": "
|
|
2755
|
-
"
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2634
|
+
"kind": "method",
|
|
2635
|
+
"name": "maybeStartPolling",
|
|
2636
|
+
"privacy": "private",
|
|
2637
|
+
"return": {
|
|
2638
|
+
"type": {
|
|
2639
|
+
"text": "void"
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2759
2642
|
},
|
|
2760
2643
|
{
|
|
2761
|
-
"kind": "
|
|
2762
|
-
"name": "
|
|
2763
|
-
"
|
|
2644
|
+
"kind": "method",
|
|
2645
|
+
"name": "startPolling",
|
|
2646
|
+
"privacy": "private",
|
|
2647
|
+
"return": {
|
|
2648
|
+
"type": {
|
|
2649
|
+
"text": "void"
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2764
2652
|
},
|
|
2765
2653
|
{
|
|
2766
2654
|
"kind": "method",
|
|
2767
|
-
"name": "
|
|
2768
|
-
"
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
"
|
|
2772
|
-
"text": "string | ((rowData: any) => string)"
|
|
2773
|
-
}
|
|
2655
|
+
"name": "stopPolling",
|
|
2656
|
+
"privacy": "private",
|
|
2657
|
+
"return": {
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "void"
|
|
2774
2660
|
}
|
|
2775
|
-
|
|
2661
|
+
}
|
|
2776
2662
|
},
|
|
2777
2663
|
{
|
|
2778
2664
|
"kind": "method",
|
|
2779
|
-
"name": "
|
|
2780
|
-
"
|
|
2781
|
-
{
|
|
2782
|
-
"
|
|
2783
|
-
"type": {
|
|
2784
|
-
"text": "string"
|
|
2785
|
-
}
|
|
2665
|
+
"name": "onInstall",
|
|
2666
|
+
"return": {
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "Promise<void>"
|
|
2786
2669
|
}
|
|
2787
|
-
|
|
2670
|
+
}
|
|
2788
2671
|
},
|
|
2789
2672
|
{
|
|
2790
2673
|
"kind": "field",
|
|
@@ -2865,239 +2748,178 @@
|
|
|
2865
2748
|
"name": "FoundationElement",
|
|
2866
2749
|
"module": "src/foundation-element/foundation-element.ts"
|
|
2867
2750
|
}
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "method",
|
|
2871
|
-
"name": "compose",
|
|
2872
|
-
"privacy": "public",
|
|
2873
|
-
"static": true,
|
|
2874
|
-
"return": {
|
|
2875
|
-
"type": {
|
|
2876
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2877
|
-
}
|
|
2878
|
-
},
|
|
2879
|
-
"parameters": [
|
|
2880
|
-
{
|
|
2881
|
-
"name": "this",
|
|
2882
|
-
"type": {
|
|
2883
|
-
"text": "K"
|
|
2884
|
-
}
|
|
2885
|
-
},
|
|
2886
|
-
{
|
|
2887
|
-
"name": "elementDefinition",
|
|
2888
|
-
"type": {
|
|
2889
|
-
"text": "T"
|
|
2890
|
-
},
|
|
2891
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2892
|
-
}
|
|
2893
|
-
],
|
|
2894
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2895
|
-
"inheritedFrom": {
|
|
2896
|
-
"name": "FoundationElement",
|
|
2897
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2898
|
-
}
|
|
2899
|
-
}
|
|
2900
|
-
],
|
|
2901
|
-
"attributes": [
|
|
2902
|
-
{
|
|
2903
|
-
"name": "is-vertical",
|
|
2904
|
-
"type": {
|
|
2905
|
-
"text": "boolean"
|
|
2906
|
-
},
|
|
2907
|
-
"default": "false",
|
|
2908
|
-
"fieldName": "isVertical"
|
|
2909
|
-
},
|
|
2910
|
-
{
|
|
2911
|
-
"name": "add-default-actions",
|
|
2912
|
-
"type": {
|
|
2913
|
-
"text": "boolean"
|
|
2914
|
-
},
|
|
2915
|
-
"default": "true",
|
|
2916
|
-
"fieldName": "addDefaultActions"
|
|
2917
|
-
},
|
|
2918
|
-
{
|
|
2919
|
-
"name": "auto-close-on-action",
|
|
2920
|
-
"type": {
|
|
2921
|
-
"text": "boolean"
|
|
2922
|
-
},
|
|
2923
|
-
"default": "true",
|
|
2924
|
-
"fieldName": "autoCloseOnAction"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"name": "name",
|
|
2928
|
-
"type": {
|
|
2929
|
-
"text": "string"
|
|
2930
|
-
},
|
|
2931
|
-
"default": "'Actions'",
|
|
2932
|
-
"fieldName": "name"
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"name": "open",
|
|
2936
|
-
"type": {
|
|
2937
|
-
"text": "boolean"
|
|
2938
|
-
},
|
|
2939
|
-
"default": "false",
|
|
2940
|
-
"fieldName": "open"
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"name": "buttonAppearance",
|
|
2944
|
-
"type": {
|
|
2945
|
-
"text": "string"
|
|
2946
|
-
},
|
|
2947
|
-
"fieldName": "buttonAppearance"
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
"name": "hide-disabled",
|
|
2951
|
-
"type": {
|
|
2952
|
-
"text": "boolean"
|
|
2953
|
-
},
|
|
2954
|
-
"default": "false",
|
|
2955
|
-
"fieldName": "hideDisabled"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"name": "hide-menu-single-option",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "boolean"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "method",
|
|
2754
|
+
"name": "compose",
|
|
2755
|
+
"privacy": "public",
|
|
2756
|
+
"static": true,
|
|
2757
|
+
"return": {
|
|
2758
|
+
"type": {
|
|
2759
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2760
|
+
}
|
|
2961
2761
|
},
|
|
2962
|
-
"
|
|
2963
|
-
|
|
2762
|
+
"parameters": [
|
|
2763
|
+
{
|
|
2764
|
+
"name": "this",
|
|
2765
|
+
"type": {
|
|
2766
|
+
"text": "K"
|
|
2767
|
+
}
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"name": "elementDefinition",
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "T"
|
|
2773
|
+
},
|
|
2774
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2775
|
+
}
|
|
2776
|
+
],
|
|
2777
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2778
|
+
"inheritedFrom": {
|
|
2779
|
+
"name": "FoundationElement",
|
|
2780
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2781
|
+
}
|
|
2964
2782
|
}
|
|
2965
2783
|
],
|
|
2966
2784
|
"superclass": {
|
|
2967
2785
|
"name": "FoundationElement",
|
|
2968
2786
|
"package": "@microsoft/fast-foundation"
|
|
2969
2787
|
},
|
|
2970
|
-
"tagName": "%%prefix%%-
|
|
2788
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2971
2789
|
"customElement": true
|
|
2972
2790
|
},
|
|
2973
2791
|
{
|
|
2974
2792
|
"kind": "variable",
|
|
2975
|
-
"name": "
|
|
2976
|
-
"description": "The Foundation Actions Menu",
|
|
2977
|
-
"privacy": "public"
|
|
2793
|
+
"name": "foundationAiIndicator"
|
|
2978
2794
|
}
|
|
2979
2795
|
],
|
|
2980
2796
|
"exports": [
|
|
2981
2797
|
{
|
|
2982
2798
|
"kind": "js",
|
|
2983
|
-
"name": "
|
|
2799
|
+
"name": "AiIndicator",
|
|
2984
2800
|
"declaration": {
|
|
2985
|
-
"name": "
|
|
2986
|
-
"module": "src/
|
|
2801
|
+
"name": "AiIndicator",
|
|
2802
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2987
2803
|
}
|
|
2988
2804
|
},
|
|
2989
2805
|
{
|
|
2990
2806
|
"kind": "js",
|
|
2991
|
-
"name": "
|
|
2807
|
+
"name": "foundationAiIndicator",
|
|
2992
2808
|
"declaration": {
|
|
2993
|
-
"name": "
|
|
2994
|
-
"module": "src/
|
|
2809
|
+
"name": "foundationAiIndicator",
|
|
2810
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2995
2811
|
}
|
|
2996
2812
|
}
|
|
2997
2813
|
]
|
|
2998
2814
|
},
|
|
2999
2815
|
{
|
|
3000
2816
|
"kind": "javascript-module",
|
|
3001
|
-
"path": "src/
|
|
2817
|
+
"path": "src/ai-indicator/index.ts",
|
|
3002
2818
|
"declarations": [],
|
|
3003
2819
|
"exports": [
|
|
3004
2820
|
{
|
|
3005
2821
|
"kind": "js",
|
|
3006
|
-
"name": "
|
|
2822
|
+
"name": "AiIndicator",
|
|
3007
2823
|
"declaration": {
|
|
3008
|
-
"name": "
|
|
3009
|
-
"
|
|
2824
|
+
"name": "AiIndicator",
|
|
2825
|
+
"module": "./ai-indicator"
|
|
3010
2826
|
}
|
|
3011
2827
|
},
|
|
3012
2828
|
{
|
|
3013
2829
|
"kind": "js",
|
|
3014
|
-
"name": "
|
|
2830
|
+
"name": "foundationAiIndicator",
|
|
3015
2831
|
"declaration": {
|
|
3016
|
-
"name": "
|
|
3017
|
-
"
|
|
2832
|
+
"name": "foundationAiIndicator",
|
|
2833
|
+
"module": "./ai-indicator"
|
|
3018
2834
|
}
|
|
3019
2835
|
},
|
|
3020
2836
|
{
|
|
3021
2837
|
"kind": "js",
|
|
3022
|
-
"name": "
|
|
2838
|
+
"name": "type",
|
|
3023
2839
|
"declaration": {
|
|
3024
|
-
"name": "
|
|
3025
|
-
"
|
|
2840
|
+
"name": "type",
|
|
2841
|
+
"module": "./ai-indicator"
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"kind": "js",
|
|
2846
|
+
"name": "AIIndicatorState",
|
|
2847
|
+
"declaration": {
|
|
2848
|
+
"name": "AIIndicatorState",
|
|
2849
|
+
"module": "./ai-indicator"
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"kind": "js",
|
|
2854
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2855
|
+
"declaration": {
|
|
2856
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2857
|
+
"module": "./ai-indicator.template"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
{
|
|
2861
|
+
"kind": "js",
|
|
2862
|
+
"name": "foundationAiIndicatorStyles",
|
|
2863
|
+
"declaration": {
|
|
2864
|
+
"name": "foundationAiIndicatorStyles",
|
|
2865
|
+
"module": "./ai-indicator.styles"
|
|
3026
2866
|
}
|
|
3027
2867
|
}
|
|
3028
2868
|
]
|
|
3029
2869
|
},
|
|
3030
2870
|
{
|
|
3031
2871
|
"kind": "javascript-module",
|
|
3032
|
-
"path": "src/ai-
|
|
2872
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3033
2873
|
"declarations": [
|
|
3034
2874
|
{
|
|
3035
|
-
"kind": "
|
|
3036
|
-
"name": "
|
|
3037
|
-
"
|
|
3038
|
-
"type": {
|
|
3039
|
-
"text": "ElementStyles"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
"parameters": [
|
|
3043
|
-
{
|
|
3044
|
-
"name": "context",
|
|
3045
|
-
"type": {
|
|
3046
|
-
"text": "ElementDefinitionContext"
|
|
3047
|
-
}
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
"name": "definition",
|
|
3051
|
-
"type": {
|
|
3052
|
-
"text": "FoundationElementDefinition"
|
|
3053
|
-
}
|
|
3054
|
-
}
|
|
3055
|
-
]
|
|
2875
|
+
"kind": "variable",
|
|
2876
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2877
|
+
"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`"
|
|
3056
2878
|
}
|
|
3057
2879
|
],
|
|
3058
2880
|
"exports": [
|
|
3059
2881
|
{
|
|
3060
2882
|
"kind": "js",
|
|
3061
|
-
"name": "
|
|
2883
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3062
2884
|
"declaration": {
|
|
3063
|
-
"name": "
|
|
3064
|
-
"module": "src/ai-
|
|
2885
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2886
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3065
2887
|
}
|
|
3066
2888
|
}
|
|
3067
2889
|
]
|
|
3068
2890
|
},
|
|
3069
2891
|
{
|
|
3070
2892
|
"kind": "javascript-module",
|
|
3071
|
-
"path": "src/ai-
|
|
2893
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3072
2894
|
"declarations": [
|
|
3073
2895
|
{
|
|
3074
2896
|
"kind": "variable",
|
|
3075
|
-
"name": "
|
|
2897
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3076
2898
|
"type": {
|
|
3077
|
-
"text": "ViewTemplate<
|
|
2899
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3078
2900
|
},
|
|
3079
|
-
"default": "html`\n ${(x) =>
|
|
2901
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3080
2902
|
}
|
|
3081
2903
|
],
|
|
3082
2904
|
"exports": [
|
|
3083
2905
|
{
|
|
3084
2906
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
2907
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3086
2908
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"module": "src/ai-
|
|
2909
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2910
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3089
2911
|
}
|
|
3090
2912
|
}
|
|
3091
2913
|
]
|
|
3092
2914
|
},
|
|
3093
2915
|
{
|
|
3094
2916
|
"kind": "javascript-module",
|
|
3095
|
-
"path": "src/ai-
|
|
2917
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3096
2918
|
"declarations": [
|
|
3097
2919
|
{
|
|
3098
2920
|
"kind": "class",
|
|
3099
|
-
"description": "",
|
|
3100
|
-
"name": "
|
|
2921
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2922
|
+
"name": "AiCriteriaSearch",
|
|
3101
2923
|
"members": [
|
|
3102
2924
|
{
|
|
3103
2925
|
"kind": "field",
|
|
@@ -3108,25 +2930,54 @@
|
|
|
3108
2930
|
},
|
|
3109
2931
|
{
|
|
3110
2932
|
"kind": "field",
|
|
3111
|
-
"name": "
|
|
2933
|
+
"name": "placeholder",
|
|
3112
2934
|
"type": {
|
|
3113
|
-
"text": "
|
|
2935
|
+
"text": "string"
|
|
3114
2936
|
},
|
|
3115
|
-
"
|
|
3116
|
-
"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.",
|
|
3117
|
-
"readonly": true
|
|
2937
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3118
2938
|
},
|
|
3119
2939
|
{
|
|
3120
2940
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
2941
|
+
"name": "disabled",
|
|
3122
2942
|
"type": {
|
|
3123
|
-
"text": "
|
|
2943
|
+
"text": "boolean"
|
|
2944
|
+
}
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "field",
|
|
2948
|
+
"name": "inputValue",
|
|
2949
|
+
"type": {
|
|
2950
|
+
"text": "string"
|
|
2951
|
+
},
|
|
2952
|
+
"default": "''"
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "isInterpreting",
|
|
2957
|
+
"type": {
|
|
2958
|
+
"text": "boolean"
|
|
2959
|
+
},
|
|
2960
|
+
"default": "false"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"kind": "field",
|
|
2964
|
+
"name": "lastValidCriteria",
|
|
2965
|
+
"type": {
|
|
2966
|
+
"text": "string | null"
|
|
3124
2967
|
},
|
|
3125
2968
|
"default": "null"
|
|
3126
2969
|
},
|
|
3127
2970
|
{
|
|
3128
2971
|
"kind": "field",
|
|
3129
|
-
"name": "
|
|
2972
|
+
"name": "activeGroups",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"text": "CriteriaGroup[]"
|
|
2975
|
+
},
|
|
2976
|
+
"default": "[]"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "field",
|
|
2980
|
+
"name": "showingChips",
|
|
3130
2981
|
"type": {
|
|
3131
2982
|
"text": "boolean"
|
|
3132
2983
|
},
|
|
@@ -3134,15 +2985,15 @@
|
|
|
3134
2985
|
},
|
|
3135
2986
|
{
|
|
3136
2987
|
"kind": "field",
|
|
3137
|
-
"name": "
|
|
2988
|
+
"name": "fieldMetadata",
|
|
3138
2989
|
"type": {
|
|
3139
|
-
"text": "
|
|
2990
|
+
"text": "MetadataDetail[] | string[]"
|
|
3140
2991
|
},
|
|
3141
|
-
"default": "
|
|
2992
|
+
"default": "[]"
|
|
3142
2993
|
},
|
|
3143
2994
|
{
|
|
3144
2995
|
"kind": "field",
|
|
3145
|
-
"name": "
|
|
2996
|
+
"name": "isRecording",
|
|
3146
2997
|
"type": {
|
|
3147
2998
|
"text": "boolean"
|
|
3148
2999
|
},
|
|
@@ -3150,29 +3001,33 @@
|
|
|
3150
3001
|
},
|
|
3151
3002
|
{
|
|
3152
3003
|
"kind": "field",
|
|
3153
|
-
"name": "
|
|
3004
|
+
"name": "textAreaRef",
|
|
3154
3005
|
"type": {
|
|
3155
|
-
"text": "
|
|
3006
|
+
"text": "HTMLTextAreaElement"
|
|
3156
3007
|
},
|
|
3157
|
-
"privacy": "
|
|
3158
|
-
"default": "null"
|
|
3008
|
+
"privacy": "public"
|
|
3159
3009
|
},
|
|
3160
3010
|
{
|
|
3161
3011
|
"kind": "field",
|
|
3162
|
-
"name": "
|
|
3163
|
-
"
|
|
3012
|
+
"name": "stopRecording",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "(() => void) | null"
|
|
3015
|
+
},
|
|
3016
|
+
"privacy": "private",
|
|
3017
|
+
"default": "null"
|
|
3164
3018
|
},
|
|
3165
3019
|
{
|
|
3166
3020
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3021
|
+
"name": "speechApplyDebounceTimer",
|
|
3168
3022
|
"type": {
|
|
3169
|
-
"text": "
|
|
3023
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3170
3024
|
},
|
|
3171
|
-
"
|
|
3025
|
+
"privacy": "private",
|
|
3026
|
+
"default": "null"
|
|
3172
3027
|
},
|
|
3173
3028
|
{
|
|
3174
3029
|
"kind": "field",
|
|
3175
|
-
"name": "
|
|
3030
|
+
"name": "speechAvailable",
|
|
3176
3031
|
"type": {
|
|
3177
3032
|
"text": "boolean"
|
|
3178
3033
|
},
|
|
@@ -3180,69 +3035,65 @@
|
|
|
3180
3035
|
},
|
|
3181
3036
|
{
|
|
3182
3037
|
"kind": "field",
|
|
3183
|
-
"name": "
|
|
3038
|
+
"name": "criteriaChips",
|
|
3184
3039
|
"type": {
|
|
3185
|
-
"text": "
|
|
3040
|
+
"text": "CriteriaChip[]"
|
|
3186
3041
|
},
|
|
3187
3042
|
"readonly": true
|
|
3188
3043
|
},
|
|
3189
3044
|
{
|
|
3190
3045
|
"kind": "method",
|
|
3191
|
-
"name": "
|
|
3046
|
+
"name": "getFieldLabel",
|
|
3047
|
+
"privacy": "private",
|
|
3192
3048
|
"return": {
|
|
3193
3049
|
"type": {
|
|
3194
|
-
"text": "
|
|
3050
|
+
"text": "string"
|
|
3195
3051
|
}
|
|
3196
|
-
}
|
|
3197
|
-
},
|
|
3198
|
-
{
|
|
3199
|
-
"kind": "method",
|
|
3200
|
-
"name": "handleClickOutside",
|
|
3201
|
-
"privacy": "private",
|
|
3052
|
+
},
|
|
3202
3053
|
"parameters": [
|
|
3203
3054
|
{
|
|
3204
|
-
"name": "
|
|
3055
|
+
"name": "fieldName",
|
|
3205
3056
|
"type": {
|
|
3206
|
-
"text": "
|
|
3057
|
+
"text": "string"
|
|
3207
3058
|
}
|
|
3208
3059
|
}
|
|
3209
3060
|
]
|
|
3210
3061
|
},
|
|
3211
3062
|
{
|
|
3212
3063
|
"kind": "method",
|
|
3213
|
-
"name": "
|
|
3214
|
-
},
|
|
3215
|
-
{
|
|
3216
|
-
"kind": "method",
|
|
3217
|
-
"name": "refreshStatus",
|
|
3064
|
+
"name": "toggleCriteriaView",
|
|
3218
3065
|
"return": {
|
|
3219
3066
|
"type": {
|
|
3220
|
-
"text": "
|
|
3067
|
+
"text": "void"
|
|
3221
3068
|
}
|
|
3222
3069
|
}
|
|
3223
3070
|
},
|
|
3224
3071
|
{
|
|
3225
3072
|
"kind": "method",
|
|
3226
|
-
"name": "
|
|
3227
|
-
"privacy": "private",
|
|
3073
|
+
"name": "removeChip",
|
|
3228
3074
|
"return": {
|
|
3229
3075
|
"type": {
|
|
3230
|
-
"text": "
|
|
3076
|
+
"text": "void"
|
|
3231
3077
|
}
|
|
3232
3078
|
},
|
|
3233
3079
|
"parameters": [
|
|
3234
3080
|
{
|
|
3235
|
-
"name": "
|
|
3081
|
+
"name": "groupIndex",
|
|
3236
3082
|
"type": {
|
|
3237
|
-
"text": "
|
|
3083
|
+
"text": "number"
|
|
3084
|
+
}
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"name": "clauseIndex",
|
|
3088
|
+
"type": {
|
|
3089
|
+
"text": "number"
|
|
3238
3090
|
}
|
|
3239
3091
|
}
|
|
3240
3092
|
]
|
|
3241
3093
|
},
|
|
3242
3094
|
{
|
|
3243
3095
|
"kind": "method",
|
|
3244
|
-
"name": "
|
|
3245
|
-
"privacy": "private",
|
|
3096
|
+
"name": "clearChips",
|
|
3246
3097
|
"return": {
|
|
3247
3098
|
"type": {
|
|
3248
3099
|
"text": "void"
|
|
@@ -3251,32 +3102,24 @@
|
|
|
3251
3102
|
},
|
|
3252
3103
|
{
|
|
3253
3104
|
"kind": "method",
|
|
3254
|
-
"name": "
|
|
3255
|
-
"privacy": "private",
|
|
3256
|
-
"return": {
|
|
3257
|
-
"type": {
|
|
3258
|
-
"text": "void"
|
|
3259
|
-
}
|
|
3260
|
-
}
|
|
3105
|
+
"name": "handleSubmit"
|
|
3261
3106
|
},
|
|
3262
3107
|
{
|
|
3263
3108
|
"kind": "method",
|
|
3264
|
-
"name": "
|
|
3265
|
-
"privacy": "private",
|
|
3266
|
-
"return": {
|
|
3267
|
-
"type": {
|
|
3268
|
-
"text": "void"
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3109
|
+
"name": "handleBlur"
|
|
3271
3110
|
},
|
|
3272
3111
|
{
|
|
3273
3112
|
"kind": "method",
|
|
3274
|
-
"name": "
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3113
|
+
"name": "clear"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "method",
|
|
3117
|
+
"name": "toggleSpeechInput"
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"kind": "method",
|
|
3121
|
+
"name": "clearSpeechApplyDebounce",
|
|
3122
|
+
"privacy": "private"
|
|
3280
3123
|
},
|
|
3281
3124
|
{
|
|
3282
3125
|
"kind": "field",
|
|
@@ -3390,88 +3233,245 @@
|
|
|
3390
3233
|
}
|
|
3391
3234
|
}
|
|
3392
3235
|
],
|
|
3236
|
+
"events": [
|
|
3237
|
+
{
|
|
3238
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3239
|
+
"name": "criteria-changed"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3243
|
+
"name": "validation-errors"
|
|
3244
|
+
}
|
|
3245
|
+
],
|
|
3246
|
+
"attributes": [
|
|
3247
|
+
{
|
|
3248
|
+
"name": "placeholder",
|
|
3249
|
+
"type": {
|
|
3250
|
+
"text": "string"
|
|
3251
|
+
},
|
|
3252
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3253
|
+
"fieldName": "placeholder"
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "boolean"
|
|
3258
|
+
},
|
|
3259
|
+
"fieldName": "disabled"
|
|
3260
|
+
}
|
|
3261
|
+
],
|
|
3393
3262
|
"superclass": {
|
|
3394
3263
|
"name": "FoundationElement",
|
|
3395
3264
|
"package": "@microsoft/fast-foundation"
|
|
3396
3265
|
},
|
|
3397
|
-
"tagName": "%%prefix%%-ai-
|
|
3266
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3398
3267
|
"customElement": true
|
|
3399
3268
|
},
|
|
3400
3269
|
{
|
|
3401
3270
|
"kind": "variable",
|
|
3402
|
-
"name": "
|
|
3271
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "ShadowRootInit"
|
|
3274
|
+
},
|
|
3275
|
+
"default": "undefined"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"kind": "variable",
|
|
3279
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3280
|
+
"type": {
|
|
3281
|
+
"text": "object"
|
|
3282
|
+
},
|
|
3283
|
+
"default": "{}"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "variable",
|
|
3287
|
+
"name": "foundationAiCriteriaSearch"
|
|
3403
3288
|
}
|
|
3404
3289
|
],
|
|
3405
3290
|
"exports": [
|
|
3406
3291
|
{
|
|
3407
3292
|
"kind": "js",
|
|
3408
|
-
"name": "
|
|
3293
|
+
"name": "AiCriteriaSearch",
|
|
3409
3294
|
"declaration": {
|
|
3410
|
-
"name": "
|
|
3411
|
-
"module": "src/ai-
|
|
3295
|
+
"name": "AiCriteriaSearch",
|
|
3296
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3412
3297
|
}
|
|
3413
3298
|
},
|
|
3414
3299
|
{
|
|
3415
3300
|
"kind": "js",
|
|
3416
|
-
"name": "
|
|
3301
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3417
3302
|
"declaration": {
|
|
3418
|
-
"name": "
|
|
3419
|
-
"module": "src/ai-
|
|
3303
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3304
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "js",
|
|
3309
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
+
"declaration": {
|
|
3311
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3312
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"kind": "js",
|
|
3317
|
+
"name": "foundationAiCriteriaSearch",
|
|
3318
|
+
"declaration": {
|
|
3319
|
+
"name": "foundationAiCriteriaSearch",
|
|
3320
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3420
3321
|
}
|
|
3421
3322
|
}
|
|
3422
3323
|
]
|
|
3423
3324
|
},
|
|
3424
3325
|
{
|
|
3425
3326
|
"kind": "javascript-module",
|
|
3426
|
-
"path": "src/ai-
|
|
3327
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3427
3328
|
"declarations": [],
|
|
3428
3329
|
"exports": [
|
|
3429
3330
|
{
|
|
3430
3331
|
"kind": "js",
|
|
3431
|
-
"name": "
|
|
3332
|
+
"name": "AiCriteriaSearch",
|
|
3432
3333
|
"declaration": {
|
|
3433
|
-
"name": "
|
|
3434
|
-
"module": "./ai-
|
|
3334
|
+
"name": "AiCriteriaSearch",
|
|
3335
|
+
"module": "./ai-criteria-search"
|
|
3435
3336
|
}
|
|
3436
3337
|
},
|
|
3437
3338
|
{
|
|
3438
3339
|
"kind": "js",
|
|
3439
|
-
"name": "
|
|
3340
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3440
3341
|
"declaration": {
|
|
3441
|
-
"name": "
|
|
3442
|
-
"module": "./ai-
|
|
3342
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3343
|
+
"module": "./ai-criteria-search"
|
|
3443
3344
|
}
|
|
3444
3345
|
},
|
|
3445
3346
|
{
|
|
3446
3347
|
"kind": "js",
|
|
3447
|
-
"name": "
|
|
3348
|
+
"name": "foundationAiCriteriaSearch",
|
|
3448
3349
|
"declaration": {
|
|
3449
|
-
"name": "
|
|
3450
|
-
"module": "./ai-
|
|
3350
|
+
"name": "foundationAiCriteriaSearch",
|
|
3351
|
+
"module": "./ai-criteria-search"
|
|
3451
3352
|
}
|
|
3452
3353
|
},
|
|
3453
3354
|
{
|
|
3454
3355
|
"kind": "js",
|
|
3455
|
-
"name": "
|
|
3356
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3456
3357
|
"declaration": {
|
|
3457
|
-
"name": "
|
|
3458
|
-
"module": "./ai-
|
|
3358
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3359
|
+
"module": "./ai-criteria-search"
|
|
3459
3360
|
}
|
|
3460
3361
|
},
|
|
3461
3362
|
{
|
|
3462
3363
|
"kind": "js",
|
|
3463
|
-
"name": "
|
|
3364
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3464
3365
|
"declaration": {
|
|
3465
|
-
"name": "
|
|
3466
|
-
"module": "./ai-
|
|
3366
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3367
|
+
"module": "./ai-criteria-search.styles"
|
|
3467
3368
|
}
|
|
3468
3369
|
},
|
|
3469
3370
|
{
|
|
3470
3371
|
"kind": "js",
|
|
3471
|
-
"name": "
|
|
3372
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3472
3373
|
"declaration": {
|
|
3473
|
-
"name": "
|
|
3474
|
-
"module": "./ai-
|
|
3374
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3375
|
+
"module": "./ai-criteria-search.template"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "js",
|
|
3380
|
+
"name": "*",
|
|
3381
|
+
"declaration": {
|
|
3382
|
+
"name": "*",
|
|
3383
|
+
"package": "./validation/criteria-ir"
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "js",
|
|
3388
|
+
"name": "*",
|
|
3389
|
+
"declaration": {
|
|
3390
|
+
"name": "*",
|
|
3391
|
+
"package": "./validation/operator-map"
|
|
3392
|
+
}
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"kind": "js",
|
|
3396
|
+
"name": "*",
|
|
3397
|
+
"declaration": {
|
|
3398
|
+
"name": "*",
|
|
3399
|
+
"package": "./validation/schema-validator"
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
]
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "javascript-module",
|
|
3406
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3407
|
+
"declarations": [
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "function",
|
|
3410
|
+
"name": "formatValidationErrors",
|
|
3411
|
+
"return": {
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "string"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"parameters": [
|
|
3417
|
+
{
|
|
3418
|
+
"name": "errors",
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "ValidationError[]"
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
],
|
|
3424
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "function",
|
|
3428
|
+
"name": "showCriteriaError",
|
|
3429
|
+
"return": {
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "void"
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"parameters": [
|
|
3435
|
+
{
|
|
3436
|
+
"name": "title",
|
|
3437
|
+
"type": {
|
|
3438
|
+
"text": "string"
|
|
3439
|
+
},
|
|
3440
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3441
|
+
},
|
|
3442
|
+
{
|
|
3443
|
+
"name": "body",
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "string"
|
|
3446
|
+
},
|
|
3447
|
+
"description": "Error message to display"
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"name": "tagName",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "string"
|
|
3453
|
+
},
|
|
3454
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3455
|
+
}
|
|
3456
|
+
],
|
|
3457
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3458
|
+
}
|
|
3459
|
+
],
|
|
3460
|
+
"exports": [
|
|
3461
|
+
{
|
|
3462
|
+
"kind": "js",
|
|
3463
|
+
"name": "formatValidationErrors",
|
|
3464
|
+
"declaration": {
|
|
3465
|
+
"name": "formatValidationErrors",
|
|
3466
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3467
|
+
}
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"kind": "js",
|
|
3471
|
+
"name": "showCriteriaError",
|
|
3472
|
+
"declaration": {
|
|
3473
|
+
"name": "showCriteriaError",
|
|
3474
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
]
|