@genesislcap/foundation-ui 15.0.0 → 15.1.0
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 +936 -936
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1414,6 +1414,37 @@
|
|
|
1414
1414
|
}
|
|
1415
1415
|
]
|
|
1416
1416
|
},
|
|
1417
|
+
{
|
|
1418
|
+
"kind": "javascript-module",
|
|
1419
|
+
"path": "src/_config/index.ts",
|
|
1420
|
+
"declarations": [],
|
|
1421
|
+
"exports": [
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "js",
|
|
1424
|
+
"name": "*",
|
|
1425
|
+
"declaration": {
|
|
1426
|
+
"name": "*",
|
|
1427
|
+
"package": "./styles"
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "*",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "*",
|
|
1435
|
+
"package": "./tokens"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "js",
|
|
1440
|
+
"name": "*",
|
|
1441
|
+
"declaration": {
|
|
1442
|
+
"name": "*",
|
|
1443
|
+
"package": "./values"
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1417
1448
|
{
|
|
1418
1449
|
"kind": "javascript-module",
|
|
1419
1450
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1810,65 +1841,11 @@
|
|
|
1810
1841
|
},
|
|
1811
1842
|
{
|
|
1812
1843
|
"kind": "javascript-module",
|
|
1813
|
-
"path": "src/
|
|
1814
|
-
"declarations": [],
|
|
1815
|
-
"exports": [
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "js",
|
|
1818
|
-
"name": "*",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "*",
|
|
1821
|
-
"package": "./styles"
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "*",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "*",
|
|
1829
|
-
"package": "./tokens"
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
{
|
|
1833
|
-
"kind": "js",
|
|
1834
|
-
"name": "*",
|
|
1835
|
-
"declaration": {
|
|
1836
|
-
"name": "*",
|
|
1837
|
-
"package": "./values"
|
|
1838
|
-
}
|
|
1839
|
-
}
|
|
1840
|
-
]
|
|
1841
|
-
},
|
|
1842
|
-
{
|
|
1843
|
-
"kind": "javascript-module",
|
|
1844
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1844
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1845
1845
|
"declarations": [
|
|
1846
1846
|
{
|
|
1847
1847
|
"kind": "function",
|
|
1848
|
-
"name": "
|
|
1849
|
-
"return": {
|
|
1850
|
-
"type": {
|
|
1851
|
-
"text": "ElementStyles"
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
"parameters": [
|
|
1855
|
-
{
|
|
1856
|
-
"name": "context",
|
|
1857
|
-
"type": {
|
|
1858
|
-
"text": "ElementDefinitionContext"
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"name": "definition",
|
|
1863
|
-
"type": {
|
|
1864
|
-
"text": "FoundationElementDefinition"
|
|
1865
|
-
}
|
|
1866
|
-
}
|
|
1867
|
-
]
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"kind": "function",
|
|
1871
|
-
"name": "foundationActionsMenuStyles",
|
|
1848
|
+
"name": "foundationAccordionStyles",
|
|
1872
1849
|
"return": {
|
|
1873
1850
|
"type": {
|
|
1874
1851
|
"text": "ElementStyles"
|
|
@@ -1893,269 +1870,277 @@
|
|
|
1893
1870
|
"exports": [
|
|
1894
1871
|
{
|
|
1895
1872
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
1897
|
-
"declaration": {
|
|
1898
|
-
"name": "actionsMenuBaseStyles",
|
|
1899
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"kind": "js",
|
|
1904
|
-
"name": "foundationActionsMenuStyles",
|
|
1873
|
+
"name": "foundationAccordionStyles",
|
|
1905
1874
|
"declaration": {
|
|
1906
|
-
"name": "
|
|
1907
|
-
"module": "src/
|
|
1875
|
+
"name": "foundationAccordionStyles",
|
|
1876
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1908
1877
|
}
|
|
1909
1878
|
}
|
|
1910
1879
|
]
|
|
1911
1880
|
},
|
|
1912
1881
|
{
|
|
1913
1882
|
"kind": "javascript-module",
|
|
1914
|
-
"path": "src/
|
|
1883
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1915
1884
|
"declarations": [
|
|
1916
1885
|
{
|
|
1917
1886
|
"kind": "function",
|
|
1918
|
-
"name": "
|
|
1887
|
+
"name": "foundationAccordionTemplate",
|
|
1888
|
+
"return": {
|
|
1889
|
+
"type": {
|
|
1890
|
+
"text": "ViewTemplate<Accordion>"
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1919
1893
|
"parameters": [
|
|
1920
1894
|
{
|
|
1921
|
-
"name": "
|
|
1895
|
+
"name": "context",
|
|
1922
1896
|
"type": {
|
|
1923
|
-
"text": "
|
|
1897
|
+
"text": "ElementDefinitionContext"
|
|
1924
1898
|
}
|
|
1925
|
-
}
|
|
1926
|
-
]
|
|
1927
|
-
},
|
|
1928
|
-
{
|
|
1929
|
-
"kind": "function",
|
|
1930
|
-
"name": "singleOptionTemplate",
|
|
1931
|
-
"parameters": [
|
|
1899
|
+
},
|
|
1932
1900
|
{
|
|
1933
|
-
"name": "
|
|
1901
|
+
"name": "definition",
|
|
1934
1902
|
"type": {
|
|
1935
|
-
"text": "
|
|
1903
|
+
"text": "FoundationElementDefinition"
|
|
1936
1904
|
}
|
|
1937
1905
|
}
|
|
1938
1906
|
]
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"kind": "variable",
|
|
1942
|
-
"name": "foundationActionsMenuTemplate",
|
|
1943
|
-
"type": {
|
|
1944
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
1945
|
-
},
|
|
1946
|
-
"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`"
|
|
1947
1907
|
}
|
|
1948
1908
|
],
|
|
1949
1909
|
"exports": [
|
|
1950
1910
|
{
|
|
1951
1911
|
"kind": "js",
|
|
1952
|
-
"name": "
|
|
1953
|
-
"declaration": {
|
|
1954
|
-
"name": "menuTemplate",
|
|
1955
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"kind": "js",
|
|
1960
|
-
"name": "singleOptionTemplate",
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "singleOptionTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "foundationActionsMenuTemplate",
|
|
1912
|
+
"name": "foundationAccordionTemplate",
|
|
1969
1913
|
"declaration": {
|
|
1970
|
-
"name": "
|
|
1971
|
-
"module": "src/
|
|
1914
|
+
"name": "foundationAccordionTemplate",
|
|
1915
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1972
1916
|
}
|
|
1973
1917
|
}
|
|
1974
1918
|
]
|
|
1975
1919
|
},
|
|
1976
1920
|
{
|
|
1977
1921
|
"kind": "javascript-module",
|
|
1978
|
-
"path": "src/
|
|
1922
|
+
"path": "src/accordion/accordion.ts",
|
|
1979
1923
|
"declarations": [
|
|
1980
1924
|
{
|
|
1981
1925
|
"kind": "class",
|
|
1982
1926
|
"description": "",
|
|
1983
|
-
"name": "
|
|
1984
|
-
"
|
|
1927
|
+
"name": "Accordion",
|
|
1928
|
+
"superclass": {
|
|
1929
|
+
"name": "FASTAccordion",
|
|
1930
|
+
"package": "@microsoft/fast-foundation"
|
|
1931
|
+
},
|
|
1932
|
+
"tagName": "%%prefix%%-accordion",
|
|
1933
|
+
"customElement": true,
|
|
1934
|
+
"attributes": [
|
|
1985
1935
|
{
|
|
1986
|
-
"
|
|
1987
|
-
"name": "actions",
|
|
1936
|
+
"name": "expand-mode",
|
|
1988
1937
|
"type": {
|
|
1989
|
-
"text": "
|
|
1938
|
+
"text": "AccordionExpandMode"
|
|
1939
|
+
},
|
|
1940
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
+
"fieldName": "expandmode",
|
|
1942
|
+
"inheritedFrom": {
|
|
1943
|
+
"name": "Accordion",
|
|
1944
|
+
"module": "src/accordion/accordion.ts"
|
|
1990
1945
|
}
|
|
1991
|
-
}
|
|
1946
|
+
}
|
|
1947
|
+
],
|
|
1948
|
+
"members": [
|
|
1992
1949
|
{
|
|
1993
1950
|
"kind": "field",
|
|
1994
|
-
"name": "
|
|
1951
|
+
"name": "expandmode",
|
|
1995
1952
|
"type": {
|
|
1996
|
-
"text": "
|
|
1953
|
+
"text": "AccordionExpandMode"
|
|
1997
1954
|
},
|
|
1998
|
-
"
|
|
1955
|
+
"privacy": "public",
|
|
1956
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1957
|
+
"inheritedFrom": {
|
|
1958
|
+
"name": "Accordion",
|
|
1959
|
+
"module": "src/accordion/accordion.ts"
|
|
1960
|
+
}
|
|
1999
1961
|
},
|
|
2000
1962
|
{
|
|
2001
1963
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
1964
|
+
"name": "activeid",
|
|
2003
1965
|
"type": {
|
|
2004
|
-
"text": "
|
|
1966
|
+
"text": "string | null"
|
|
2005
1967
|
},
|
|
2006
|
-
"
|
|
1968
|
+
"privacy": "private",
|
|
1969
|
+
"inheritedFrom": {
|
|
1970
|
+
"name": "Accordion",
|
|
1971
|
+
"module": "src/accordion/accordion.ts"
|
|
1972
|
+
}
|
|
2007
1973
|
},
|
|
2008
1974
|
{
|
|
2009
1975
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
1976
|
+
"name": "activeItemIndex",
|
|
2011
1977
|
"type": {
|
|
2012
|
-
"text": "
|
|
1978
|
+
"text": "number"
|
|
2013
1979
|
},
|
|
2014
|
-
"
|
|
1980
|
+
"privacy": "private",
|
|
1981
|
+
"default": "0",
|
|
1982
|
+
"inheritedFrom": {
|
|
1983
|
+
"name": "Accordion",
|
|
1984
|
+
"module": "src/accordion/accordion.ts"
|
|
1985
|
+
}
|
|
2015
1986
|
},
|
|
2016
1987
|
{
|
|
2017
1988
|
"kind": "field",
|
|
2018
|
-
"name": "
|
|
1989
|
+
"name": "accordionIds",
|
|
2019
1990
|
"type": {
|
|
2020
|
-
"text": "string"
|
|
1991
|
+
"text": "Array<string | null>"
|
|
1992
|
+
},
|
|
1993
|
+
"privacy": "private",
|
|
1994
|
+
"inheritedFrom": {
|
|
1995
|
+
"name": "Accordion",
|
|
1996
|
+
"module": "src/accordion/accordion.ts"
|
|
2021
1997
|
}
|
|
2022
1998
|
},
|
|
2023
1999
|
{
|
|
2024
2000
|
"kind": "field",
|
|
2025
|
-
"name": "
|
|
2026
|
-
"
|
|
2027
|
-
|
|
2001
|
+
"name": "change",
|
|
2002
|
+
"privacy": "private",
|
|
2003
|
+
"inheritedFrom": {
|
|
2004
|
+
"name": "Accordion",
|
|
2005
|
+
"module": "src/accordion/accordion.ts"
|
|
2028
2006
|
}
|
|
2029
2007
|
},
|
|
2030
2008
|
{
|
|
2031
|
-
"kind": "
|
|
2032
|
-
"name": "
|
|
2033
|
-
"
|
|
2034
|
-
|
|
2009
|
+
"kind": "method",
|
|
2010
|
+
"name": "findExpandedItem",
|
|
2011
|
+
"privacy": "private",
|
|
2012
|
+
"return": {
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "AccordionItem | null"
|
|
2015
|
+
}
|
|
2035
2016
|
},
|
|
2036
|
-
"
|
|
2017
|
+
"inheritedFrom": {
|
|
2018
|
+
"name": "Accordion",
|
|
2019
|
+
"module": "src/accordion/accordion.ts"
|
|
2020
|
+
}
|
|
2037
2021
|
},
|
|
2038
2022
|
{
|
|
2039
2023
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
},
|
|
2046
|
-
{
|
|
2047
|
-
"kind": "field",
|
|
2048
|
-
"name": "buttonAppearance",
|
|
2049
|
-
"type": {
|
|
2050
|
-
"text": "string"
|
|
2024
|
+
"name": "setItems",
|
|
2025
|
+
"privacy": "private",
|
|
2026
|
+
"inheritedFrom": {
|
|
2027
|
+
"name": "Accordion",
|
|
2028
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
2029
|
}
|
|
2052
2030
|
},
|
|
2053
2031
|
{
|
|
2054
|
-
"kind": "
|
|
2055
|
-
"name": "
|
|
2056
|
-
"
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
{
|
|
2062
|
-
"kind": "field",
|
|
2063
|
-
"name": "hideMenuSingleOption",
|
|
2064
|
-
"type": {
|
|
2065
|
-
"text": "boolean"
|
|
2032
|
+
"kind": "method",
|
|
2033
|
+
"name": "resetItems",
|
|
2034
|
+
"privacy": "private",
|
|
2035
|
+
"return": {
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "void"
|
|
2038
|
+
}
|
|
2066
2039
|
},
|
|
2067
|
-
"
|
|
2040
|
+
"inheritedFrom": {
|
|
2041
|
+
"name": "Accordion",
|
|
2042
|
+
"module": "src/accordion/accordion.ts"
|
|
2043
|
+
}
|
|
2068
2044
|
},
|
|
2069
2045
|
{
|
|
2070
2046
|
"kind": "field",
|
|
2071
|
-
"name": "
|
|
2072
|
-
"
|
|
2073
|
-
|
|
2047
|
+
"name": "removeItemListeners",
|
|
2048
|
+
"privacy": "private",
|
|
2049
|
+
"inheritedFrom": {
|
|
2050
|
+
"name": "Accordion",
|
|
2051
|
+
"module": "src/accordion/accordion.ts"
|
|
2074
2052
|
}
|
|
2075
2053
|
},
|
|
2076
2054
|
{
|
|
2077
2055
|
"kind": "field",
|
|
2078
|
-
"name": "
|
|
2079
|
-
"
|
|
2080
|
-
|
|
2056
|
+
"name": "activeItemChange",
|
|
2057
|
+
"privacy": "private",
|
|
2058
|
+
"inheritedFrom": {
|
|
2059
|
+
"name": "Accordion",
|
|
2060
|
+
"module": "src/accordion/accordion.ts"
|
|
2081
2061
|
}
|
|
2082
2062
|
},
|
|
2083
2063
|
{
|
|
2084
2064
|
"kind": "method",
|
|
2085
|
-
"name": "
|
|
2086
|
-
"privacy": "
|
|
2087
|
-
"
|
|
2088
|
-
{
|
|
2089
|
-
"
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "any"
|
|
2092
|
-
}
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"name": "newValue",
|
|
2096
|
-
"type": {
|
|
2097
|
-
"text": "any"
|
|
2098
|
-
}
|
|
2065
|
+
"name": "getItemIds",
|
|
2066
|
+
"privacy": "private",
|
|
2067
|
+
"return": {
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "Array<string | null>"
|
|
2099
2070
|
}
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
"privacy": "protected"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"kind": "method",
|
|
2109
|
-
"name": "toggleActionsMenuVisibility"
|
|
2071
|
+
},
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "Accordion",
|
|
2074
|
+
"module": "src/accordion/accordion.ts"
|
|
2075
|
+
}
|
|
2110
2076
|
},
|
|
2111
2077
|
{
|
|
2112
2078
|
"kind": "method",
|
|
2113
|
-
"name": "
|
|
2114
|
-
"
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
"
|
|
2118
|
-
"text": "(rowData) => void | any"
|
|
2119
|
-
}
|
|
2079
|
+
"name": "isSingleExpandMode",
|
|
2080
|
+
"privacy": "private",
|
|
2081
|
+
"return": {
|
|
2082
|
+
"type": {
|
|
2083
|
+
"text": "boolean"
|
|
2120
2084
|
}
|
|
2121
|
-
|
|
2085
|
+
},
|
|
2086
|
+
"inheritedFrom": {
|
|
2087
|
+
"name": "Accordion",
|
|
2088
|
+
"module": "src/accordion/accordion.ts"
|
|
2089
|
+
}
|
|
2122
2090
|
},
|
|
2123
2091
|
{
|
|
2124
2092
|
"kind": "field",
|
|
2125
|
-
"name": "
|
|
2126
|
-
"
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2093
|
+
"name": "handleItemKeyDown",
|
|
2094
|
+
"privacy": "private",
|
|
2095
|
+
"inheritedFrom": {
|
|
2096
|
+
"name": "Accordion",
|
|
2097
|
+
"module": "src/accordion/accordion.ts"
|
|
2098
|
+
}
|
|
2130
2099
|
},
|
|
2131
2100
|
{
|
|
2132
2101
|
"kind": "field",
|
|
2133
|
-
"name": "
|
|
2134
|
-
"
|
|
2102
|
+
"name": "handleItemFocus",
|
|
2103
|
+
"privacy": "private",
|
|
2104
|
+
"inheritedFrom": {
|
|
2105
|
+
"name": "Accordion",
|
|
2106
|
+
"module": "src/accordion/accordion.ts"
|
|
2107
|
+
}
|
|
2135
2108
|
},
|
|
2136
2109
|
{
|
|
2137
2110
|
"kind": "method",
|
|
2138
|
-
"name": "
|
|
2111
|
+
"name": "adjust",
|
|
2112
|
+
"privacy": "private",
|
|
2113
|
+
"return": {
|
|
2114
|
+
"type": {
|
|
2115
|
+
"text": "void"
|
|
2116
|
+
}
|
|
2117
|
+
},
|
|
2139
2118
|
"parameters": [
|
|
2140
2119
|
{
|
|
2141
|
-
"name": "
|
|
2120
|
+
"name": "adjustment",
|
|
2142
2121
|
"type": {
|
|
2143
|
-
"text": "
|
|
2122
|
+
"text": "number"
|
|
2144
2123
|
}
|
|
2145
2124
|
}
|
|
2146
|
-
]
|
|
2125
|
+
],
|
|
2126
|
+
"inheritedFrom": {
|
|
2127
|
+
"name": "Accordion",
|
|
2128
|
+
"module": "src/accordion/accordion.ts"
|
|
2129
|
+
}
|
|
2147
2130
|
},
|
|
2148
2131
|
{
|
|
2149
2132
|
"kind": "method",
|
|
2150
|
-
"name": "
|
|
2151
|
-
"
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
"
|
|
2155
|
-
"text": "string"
|
|
2156
|
-
}
|
|
2133
|
+
"name": "focusItem",
|
|
2134
|
+
"privacy": "private",
|
|
2135
|
+
"return": {
|
|
2136
|
+
"type": {
|
|
2137
|
+
"text": "void"
|
|
2157
2138
|
}
|
|
2158
|
-
|
|
2139
|
+
},
|
|
2140
|
+
"inheritedFrom": {
|
|
2141
|
+
"name": "Accordion",
|
|
2142
|
+
"module": "src/accordion/accordion.ts"
|
|
2143
|
+
}
|
|
2159
2144
|
},
|
|
2160
2145
|
{
|
|
2161
2146
|
"kind": "field",
|
|
@@ -2269,107 +2254,78 @@
|
|
|
2269
2254
|
}
|
|
2270
2255
|
}
|
|
2271
2256
|
],
|
|
2272
|
-
"
|
|
2273
|
-
{
|
|
2274
|
-
"name": "is-vertical",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "false",
|
|
2279
|
-
"fieldName": "isVertical"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "add-default-actions",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "boolean"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "true",
|
|
2287
|
-
"fieldName": "addDefaultActions"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"name": "auto-close-on-action",
|
|
2291
|
-
"type": {
|
|
2292
|
-
"text": "boolean"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "true",
|
|
2295
|
-
"fieldName": "autoCloseOnAction"
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
"name": "name",
|
|
2299
|
-
"type": {
|
|
2300
|
-
"text": "string"
|
|
2301
|
-
},
|
|
2302
|
-
"default": "'Actions'",
|
|
2303
|
-
"fieldName": "name"
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "open",
|
|
2307
|
-
"type": {
|
|
2308
|
-
"text": "boolean"
|
|
2309
|
-
},
|
|
2310
|
-
"default": "false",
|
|
2311
|
-
"fieldName": "open"
|
|
2312
|
-
},
|
|
2313
|
-
{
|
|
2314
|
-
"name": "buttonAppearance",
|
|
2315
|
-
"type": {
|
|
2316
|
-
"text": "string"
|
|
2317
|
-
},
|
|
2318
|
-
"fieldName": "buttonAppearance"
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
"name": "hide-disabled",
|
|
2322
|
-
"type": {
|
|
2323
|
-
"text": "boolean"
|
|
2324
|
-
},
|
|
2325
|
-
"default": "false",
|
|
2326
|
-
"fieldName": "hideDisabled"
|
|
2327
|
-
},
|
|
2257
|
+
"events": [
|
|
2328
2258
|
{
|
|
2329
|
-
"
|
|
2330
|
-
"
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2259
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2260
|
+
"name": "change",
|
|
2261
|
+
"inheritedFrom": {
|
|
2262
|
+
"name": "Accordion",
|
|
2263
|
+
"module": "src/accordion/accordion.ts"
|
|
2264
|
+
}
|
|
2335
2265
|
}
|
|
2336
|
-
]
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2266
|
+
]
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "variable",
|
|
2270
|
+
"name": "foundationAccordionShadowOptions",
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "ShadowRootInit"
|
|
2340
2273
|
},
|
|
2341
|
-
"
|
|
2342
|
-
"customElement": true
|
|
2274
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2343
2275
|
},
|
|
2344
2276
|
{
|
|
2345
2277
|
"kind": "variable",
|
|
2346
|
-
"name": "
|
|
2347
|
-
"
|
|
2278
|
+
"name": "defaultAccordionConfig",
|
|
2279
|
+
"type": {
|
|
2280
|
+
"text": "object"
|
|
2281
|
+
},
|
|
2282
|
+
"default": "{}"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "variable",
|
|
2286
|
+
"name": "foundationAccordion",
|
|
2287
|
+
"description": "The Foundation Accordion",
|
|
2348
2288
|
"privacy": "public"
|
|
2349
2289
|
}
|
|
2350
2290
|
],
|
|
2351
2291
|
"exports": [
|
|
2352
2292
|
{
|
|
2353
2293
|
"kind": "js",
|
|
2354
|
-
"name": "
|
|
2294
|
+
"name": "Accordion",
|
|
2355
2295
|
"declaration": {
|
|
2356
|
-
"name": "
|
|
2357
|
-
"module": "src/
|
|
2296
|
+
"name": "Accordion",
|
|
2297
|
+
"module": "src/accordion/accordion.ts"
|
|
2358
2298
|
}
|
|
2359
2299
|
},
|
|
2360
2300
|
{
|
|
2361
2301
|
"kind": "js",
|
|
2362
|
-
"name": "
|
|
2302
|
+
"name": "foundationAccordionShadowOptions",
|
|
2363
2303
|
"declaration": {
|
|
2364
|
-
"name": "
|
|
2365
|
-
"module": "src/
|
|
2304
|
+
"name": "foundationAccordionShadowOptions",
|
|
2305
|
+
"module": "src/accordion/accordion.ts"
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"kind": "js",
|
|
2310
|
+
"name": "defaultAccordionConfig",
|
|
2311
|
+
"declaration": {
|
|
2312
|
+
"name": "defaultAccordionConfig",
|
|
2313
|
+
"module": "src/accordion/accordion.ts"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"kind": "js",
|
|
2318
|
+
"name": "foundationAccordion",
|
|
2319
|
+
"declaration": {
|
|
2320
|
+
"name": "foundationAccordion",
|
|
2321
|
+
"module": "src/accordion/accordion.ts"
|
|
2366
2322
|
}
|
|
2367
2323
|
}
|
|
2368
2324
|
]
|
|
2369
2325
|
},
|
|
2370
2326
|
{
|
|
2371
2327
|
"kind": "javascript-module",
|
|
2372
|
-
"path": "src/
|
|
2328
|
+
"path": "src/accordion/index.ts",
|
|
2373
2329
|
"declarations": [],
|
|
2374
2330
|
"exports": [
|
|
2375
2331
|
{
|
|
@@ -2377,7 +2333,7 @@
|
|
|
2377
2333
|
"name": "*",
|
|
2378
2334
|
"declaration": {
|
|
2379
2335
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2336
|
+
"package": "./accordion.template"
|
|
2381
2337
|
}
|
|
2382
2338
|
},
|
|
2383
2339
|
{
|
|
@@ -2385,7 +2341,7 @@
|
|
|
2385
2341
|
"name": "*",
|
|
2386
2342
|
"declaration": {
|
|
2387
2343
|
"name": "*",
|
|
2388
|
-
"package": "./
|
|
2344
|
+
"package": "./accordion.styles"
|
|
2389
2345
|
}
|
|
2390
2346
|
},
|
|
2391
2347
|
{
|
|
@@ -2393,18 +2349,41 @@
|
|
|
2393
2349
|
"name": "*",
|
|
2394
2350
|
"declaration": {
|
|
2395
2351
|
"name": "*",
|
|
2396
|
-
"package": "./
|
|
2352
|
+
"package": "./accordion"
|
|
2397
2353
|
}
|
|
2398
2354
|
}
|
|
2399
2355
|
]
|
|
2400
2356
|
},
|
|
2401
2357
|
{
|
|
2402
2358
|
"kind": "javascript-module",
|
|
2403
|
-
"path": "src/
|
|
2359
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2404
2360
|
"declarations": [
|
|
2405
2361
|
{
|
|
2406
2362
|
"kind": "function",
|
|
2407
|
-
"name": "
|
|
2363
|
+
"name": "actionsMenuBaseStyles",
|
|
2364
|
+
"return": {
|
|
2365
|
+
"type": {
|
|
2366
|
+
"text": "ElementStyles"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"parameters": [
|
|
2370
|
+
{
|
|
2371
|
+
"name": "context",
|
|
2372
|
+
"type": {
|
|
2373
|
+
"text": "ElementDefinitionContext"
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "definition",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "FoundationElementDefinition"
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
]
|
|
2383
|
+
},
|
|
2384
|
+
{
|
|
2385
|
+
"kind": "function",
|
|
2386
|
+
"name": "foundationActionsMenuStyles",
|
|
2408
2387
|
"return": {
|
|
2409
2388
|
"type": {
|
|
2410
2389
|
"text": "ElementStyles"
|
|
@@ -2429,277 +2408,269 @@
|
|
|
2429
2408
|
"exports": [
|
|
2430
2409
|
{
|
|
2431
2410
|
"kind": "js",
|
|
2432
|
-
"name": "
|
|
2411
|
+
"name": "actionsMenuBaseStyles",
|
|
2433
2412
|
"declaration": {
|
|
2434
|
-
"name": "
|
|
2435
|
-
"module": "src/
|
|
2413
|
+
"name": "actionsMenuBaseStyles",
|
|
2414
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2415
|
+
}
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "foundationActionsMenuStyles",
|
|
2420
|
+
"declaration": {
|
|
2421
|
+
"name": "foundationActionsMenuStyles",
|
|
2422
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2436
2423
|
}
|
|
2437
2424
|
}
|
|
2438
2425
|
]
|
|
2439
2426
|
},
|
|
2440
2427
|
{
|
|
2441
2428
|
"kind": "javascript-module",
|
|
2442
|
-
"path": "src/
|
|
2429
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2443
2430
|
"declarations": [
|
|
2444
2431
|
{
|
|
2445
2432
|
"kind": "function",
|
|
2446
|
-
"name": "
|
|
2447
|
-
"return": {
|
|
2448
|
-
"type": {
|
|
2449
|
-
"text": "ViewTemplate<Accordion>"
|
|
2450
|
-
}
|
|
2451
|
-
},
|
|
2433
|
+
"name": "menuTemplate",
|
|
2452
2434
|
"parameters": [
|
|
2453
2435
|
{
|
|
2454
|
-
"name": "
|
|
2436
|
+
"name": "prefix",
|
|
2455
2437
|
"type": {
|
|
2456
|
-
"text": "
|
|
2438
|
+
"text": "string"
|
|
2457
2439
|
}
|
|
2458
|
-
}
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "function",
|
|
2445
|
+
"name": "singleOptionTemplate",
|
|
2446
|
+
"parameters": [
|
|
2459
2447
|
{
|
|
2460
|
-
"name": "
|
|
2448
|
+
"name": "prefix",
|
|
2461
2449
|
"type": {
|
|
2462
|
-
"text": "
|
|
2450
|
+
"text": "string"
|
|
2463
2451
|
}
|
|
2464
2452
|
}
|
|
2465
2453
|
]
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"kind": "variable",
|
|
2457
|
+
"name": "foundationActionsMenuTemplate",
|
|
2458
|
+
"type": {
|
|
2459
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2460
|
+
},
|
|
2461
|
+
"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`"
|
|
2466
2462
|
}
|
|
2467
2463
|
],
|
|
2468
2464
|
"exports": [
|
|
2469
2465
|
{
|
|
2470
2466
|
"kind": "js",
|
|
2471
|
-
"name": "
|
|
2467
|
+
"name": "menuTemplate",
|
|
2472
2468
|
"declaration": {
|
|
2473
|
-
"name": "
|
|
2474
|
-
"module": "src/
|
|
2469
|
+
"name": "menuTemplate",
|
|
2470
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"kind": "js",
|
|
2475
|
+
"name": "singleOptionTemplate",
|
|
2476
|
+
"declaration": {
|
|
2477
|
+
"name": "singleOptionTemplate",
|
|
2478
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2479
|
+
}
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"kind": "js",
|
|
2483
|
+
"name": "foundationActionsMenuTemplate",
|
|
2484
|
+
"declaration": {
|
|
2485
|
+
"name": "foundationActionsMenuTemplate",
|
|
2486
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2475
2487
|
}
|
|
2476
2488
|
}
|
|
2477
2489
|
]
|
|
2478
2490
|
},
|
|
2479
2491
|
{
|
|
2480
2492
|
"kind": "javascript-module",
|
|
2481
|
-
"path": "src/
|
|
2493
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2482
2494
|
"declarations": [
|
|
2483
2495
|
{
|
|
2484
2496
|
"kind": "class",
|
|
2485
2497
|
"description": "",
|
|
2486
|
-
"name": "
|
|
2487
|
-
"
|
|
2488
|
-
"name": "FASTAccordion",
|
|
2489
|
-
"package": "@microsoft/fast-foundation"
|
|
2490
|
-
},
|
|
2491
|
-
"tagName": "%%prefix%%-accordion",
|
|
2492
|
-
"customElement": true,
|
|
2493
|
-
"attributes": [
|
|
2498
|
+
"name": "ActionsMenu",
|
|
2499
|
+
"members": [
|
|
2494
2500
|
{
|
|
2495
|
-
"
|
|
2501
|
+
"kind": "field",
|
|
2502
|
+
"name": "actions",
|
|
2496
2503
|
"type": {
|
|
2497
|
-
"text": "
|
|
2498
|
-
},
|
|
2499
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2500
|
-
"fieldName": "expandmode",
|
|
2501
|
-
"inheritedFrom": {
|
|
2502
|
-
"name": "Accordion",
|
|
2503
|
-
"module": "src/accordion/accordion.ts"
|
|
2504
|
+
"text": "ActionMenuItem[]"
|
|
2504
2505
|
}
|
|
2505
|
-
}
|
|
2506
|
-
],
|
|
2507
|
-
"members": [
|
|
2506
|
+
},
|
|
2508
2507
|
{
|
|
2509
2508
|
"kind": "field",
|
|
2510
|
-
"name": "
|
|
2509
|
+
"name": "isVertical",
|
|
2511
2510
|
"type": {
|
|
2512
|
-
"text": "
|
|
2511
|
+
"text": "boolean"
|
|
2513
2512
|
},
|
|
2514
|
-
"
|
|
2515
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2516
|
-
"inheritedFrom": {
|
|
2517
|
-
"name": "Accordion",
|
|
2518
|
-
"module": "src/accordion/accordion.ts"
|
|
2519
|
-
}
|
|
2513
|
+
"default": "false"
|
|
2520
2514
|
},
|
|
2521
2515
|
{
|
|
2522
2516
|
"kind": "field",
|
|
2523
|
-
"name": "
|
|
2517
|
+
"name": "addDefaultActions",
|
|
2524
2518
|
"type": {
|
|
2525
|
-
"text": "
|
|
2519
|
+
"text": "boolean"
|
|
2526
2520
|
},
|
|
2527
|
-
"
|
|
2528
|
-
"inheritedFrom": {
|
|
2529
|
-
"name": "Accordion",
|
|
2530
|
-
"module": "src/accordion/accordion.ts"
|
|
2531
|
-
}
|
|
2521
|
+
"default": "true"
|
|
2532
2522
|
},
|
|
2533
2523
|
{
|
|
2534
2524
|
"kind": "field",
|
|
2535
|
-
"name": "
|
|
2525
|
+
"name": "autoCloseOnAction",
|
|
2536
2526
|
"type": {
|
|
2537
|
-
"text": "
|
|
2527
|
+
"text": "boolean"
|
|
2538
2528
|
},
|
|
2539
|
-
"
|
|
2540
|
-
"default": "0",
|
|
2541
|
-
"inheritedFrom": {
|
|
2542
|
-
"name": "Accordion",
|
|
2543
|
-
"module": "src/accordion/accordion.ts"
|
|
2544
|
-
}
|
|
2529
|
+
"default": "true"
|
|
2545
2530
|
},
|
|
2546
2531
|
{
|
|
2547
2532
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2533
|
+
"name": "classNames",
|
|
2549
2534
|
"type": {
|
|
2550
|
-
"text": "
|
|
2551
|
-
},
|
|
2552
|
-
"privacy": "private",
|
|
2553
|
-
"inheritedFrom": {
|
|
2554
|
-
"name": "Accordion",
|
|
2555
|
-
"module": "src/accordion/accordion.ts"
|
|
2535
|
+
"text": "string"
|
|
2556
2536
|
}
|
|
2557
2537
|
},
|
|
2558
2538
|
{
|
|
2559
2539
|
"kind": "field",
|
|
2560
|
-
"name": "
|
|
2561
|
-
"
|
|
2562
|
-
|
|
2563
|
-
"name": "Accordion",
|
|
2564
|
-
"module": "src/accordion/accordion.ts"
|
|
2540
|
+
"name": "definition",
|
|
2541
|
+
"type": {
|
|
2542
|
+
"text": "any"
|
|
2565
2543
|
}
|
|
2566
2544
|
},
|
|
2567
2545
|
{
|
|
2568
|
-
"kind": "
|
|
2569
|
-
"name": "
|
|
2570
|
-
"
|
|
2571
|
-
|
|
2572
|
-
"type": {
|
|
2573
|
-
"text": "AccordionItem | null"
|
|
2574
|
-
}
|
|
2546
|
+
"kind": "field",
|
|
2547
|
+
"name": "name",
|
|
2548
|
+
"type": {
|
|
2549
|
+
"text": "string"
|
|
2575
2550
|
},
|
|
2576
|
-
"
|
|
2577
|
-
"name": "Accordion",
|
|
2578
|
-
"module": "src/accordion/accordion.ts"
|
|
2579
|
-
}
|
|
2551
|
+
"default": "'Actions'"
|
|
2580
2552
|
},
|
|
2581
2553
|
{
|
|
2582
2554
|
"kind": "field",
|
|
2583
|
-
"name": "
|
|
2584
|
-
"
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2555
|
+
"name": "open",
|
|
2556
|
+
"type": {
|
|
2557
|
+
"text": "boolean"
|
|
2558
|
+
},
|
|
2559
|
+
"default": "false"
|
|
2560
|
+
},
|
|
2561
|
+
{
|
|
2562
|
+
"kind": "field",
|
|
2563
|
+
"name": "buttonAppearance",
|
|
2564
|
+
"type": {
|
|
2565
|
+
"text": "string"
|
|
2588
2566
|
}
|
|
2589
2567
|
},
|
|
2590
2568
|
{
|
|
2591
|
-
"kind": "
|
|
2592
|
-
"name": "
|
|
2593
|
-
"
|
|
2594
|
-
|
|
2595
|
-
"type": {
|
|
2596
|
-
"text": "void"
|
|
2597
|
-
}
|
|
2569
|
+
"kind": "field",
|
|
2570
|
+
"name": "hideDisabled",
|
|
2571
|
+
"type": {
|
|
2572
|
+
"text": "boolean"
|
|
2598
2573
|
},
|
|
2599
|
-
"
|
|
2600
|
-
"name": "Accordion",
|
|
2601
|
-
"module": "src/accordion/accordion.ts"
|
|
2602
|
-
}
|
|
2574
|
+
"default": "false"
|
|
2603
2575
|
},
|
|
2604
2576
|
{
|
|
2605
2577
|
"kind": "field",
|
|
2606
|
-
"name": "
|
|
2607
|
-
"
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2578
|
+
"name": "hideMenuSingleOption",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "boolean"
|
|
2581
|
+
},
|
|
2582
|
+
"default": "false"
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "field",
|
|
2586
|
+
"name": "singleOption",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "ActionMenuItem"
|
|
2611
2589
|
}
|
|
2612
2590
|
},
|
|
2613
2591
|
{
|
|
2614
2592
|
"kind": "field",
|
|
2615
|
-
"name": "
|
|
2616
|
-
"
|
|
2617
|
-
|
|
2618
|
-
"name": "Accordion",
|
|
2619
|
-
"module": "src/accordion/accordion.ts"
|
|
2593
|
+
"name": "actionsMenu",
|
|
2594
|
+
"type": {
|
|
2595
|
+
"text": "HTMLElement"
|
|
2620
2596
|
}
|
|
2621
2597
|
},
|
|
2622
2598
|
{
|
|
2623
2599
|
"kind": "method",
|
|
2624
|
-
"name": "
|
|
2625
|
-
"privacy": "
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
"
|
|
2600
|
+
"name": "definitionChanged",
|
|
2601
|
+
"privacy": "protected",
|
|
2602
|
+
"parameters": [
|
|
2603
|
+
{
|
|
2604
|
+
"name": "oldValue",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "any"
|
|
2607
|
+
}
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
"name": "newValue",
|
|
2611
|
+
"type": {
|
|
2612
|
+
"text": "any"
|
|
2613
|
+
}
|
|
2629
2614
|
}
|
|
2630
|
-
|
|
2631
|
-
"inheritedFrom": {
|
|
2632
|
-
"name": "Accordion",
|
|
2633
|
-
"module": "src/accordion/accordion.ts"
|
|
2634
|
-
}
|
|
2615
|
+
]
|
|
2635
2616
|
},
|
|
2636
2617
|
{
|
|
2637
2618
|
"kind": "method",
|
|
2638
|
-
"name": "
|
|
2639
|
-
"privacy": "
|
|
2640
|
-
"return": {
|
|
2641
|
-
"type": {
|
|
2642
|
-
"text": "boolean"
|
|
2643
|
-
}
|
|
2644
|
-
},
|
|
2645
|
-
"inheritedFrom": {
|
|
2646
|
-
"name": "Accordion",
|
|
2647
|
-
"module": "src/accordion/accordion.ts"
|
|
2648
|
-
}
|
|
2619
|
+
"name": "openChanged",
|
|
2620
|
+
"privacy": "protected"
|
|
2649
2621
|
},
|
|
2650
2622
|
{
|
|
2651
|
-
"kind": "
|
|
2652
|
-
"name": "
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2623
|
+
"kind": "method",
|
|
2624
|
+
"name": "toggleActionsMenuVisibility"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"kind": "method",
|
|
2628
|
+
"name": "onActionMenuItemClick",
|
|
2629
|
+
"parameters": [
|
|
2630
|
+
{
|
|
2631
|
+
"name": "callback",
|
|
2632
|
+
"type": {
|
|
2633
|
+
"text": "(rowData) => void | any"
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
]
|
|
2637
|
+
},
|
|
2638
|
+
{
|
|
2639
|
+
"kind": "field",
|
|
2640
|
+
"name": "allActions",
|
|
2641
|
+
"type": {
|
|
2642
|
+
"text": "ActionMenuItem[]"
|
|
2643
|
+
},
|
|
2644
|
+
"readonly": true
|
|
2658
2645
|
},
|
|
2659
2646
|
{
|
|
2660
2647
|
"kind": "field",
|
|
2661
|
-
"name": "
|
|
2662
|
-
"
|
|
2663
|
-
"inheritedFrom": {
|
|
2664
|
-
"name": "Accordion",
|
|
2665
|
-
"module": "src/accordion/accordion.ts"
|
|
2666
|
-
}
|
|
2648
|
+
"name": "rowData",
|
|
2649
|
+
"readonly": true
|
|
2667
2650
|
},
|
|
2668
2651
|
{
|
|
2669
2652
|
"kind": "method",
|
|
2670
|
-
"name": "
|
|
2671
|
-
"privacy": "private",
|
|
2672
|
-
"return": {
|
|
2673
|
-
"type": {
|
|
2674
|
-
"text": "void"
|
|
2675
|
-
}
|
|
2676
|
-
},
|
|
2653
|
+
"name": "getLabel",
|
|
2677
2654
|
"parameters": [
|
|
2678
2655
|
{
|
|
2679
|
-
"name": "
|
|
2656
|
+
"name": "name",
|
|
2680
2657
|
"type": {
|
|
2681
|
-
"text": "
|
|
2658
|
+
"text": "string | ((rowData: any) => string)"
|
|
2682
2659
|
}
|
|
2683
2660
|
}
|
|
2684
|
-
]
|
|
2685
|
-
"inheritedFrom": {
|
|
2686
|
-
"name": "Accordion",
|
|
2687
|
-
"module": "src/accordion/accordion.ts"
|
|
2688
|
-
}
|
|
2661
|
+
]
|
|
2689
2662
|
},
|
|
2690
2663
|
{
|
|
2691
2664
|
"kind": "method",
|
|
2692
|
-
"name": "
|
|
2693
|
-
"
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
"
|
|
2665
|
+
"name": "getTemplate",
|
|
2666
|
+
"parameters": [
|
|
2667
|
+
{
|
|
2668
|
+
"name": "prefix",
|
|
2669
|
+
"type": {
|
|
2670
|
+
"text": "string"
|
|
2671
|
+
}
|
|
2697
2672
|
}
|
|
2698
|
-
|
|
2699
|
-
"inheritedFrom": {
|
|
2700
|
-
"name": "Accordion",
|
|
2701
|
-
"module": "src/accordion/accordion.ts"
|
|
2702
|
-
}
|
|
2673
|
+
]
|
|
2703
2674
|
},
|
|
2704
2675
|
{
|
|
2705
2676
|
"kind": "field",
|
|
@@ -2813,78 +2784,107 @@
|
|
|
2813
2784
|
}
|
|
2814
2785
|
}
|
|
2815
2786
|
],
|
|
2816
|
-
"
|
|
2787
|
+
"attributes": [
|
|
2817
2788
|
{
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2789
|
+
"name": "is-vertical",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "boolean"
|
|
2792
|
+
},
|
|
2793
|
+
"default": "false",
|
|
2794
|
+
"fieldName": "isVertical"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"name": "add-default-actions",
|
|
2798
|
+
"type": {
|
|
2799
|
+
"text": "boolean"
|
|
2800
|
+
},
|
|
2801
|
+
"default": "true",
|
|
2802
|
+
"fieldName": "addDefaultActions"
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"name": "auto-close-on-action",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "boolean"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "true",
|
|
2810
|
+
"fieldName": "autoCloseOnAction"
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "name",
|
|
2814
|
+
"type": {
|
|
2815
|
+
"text": "string"
|
|
2816
|
+
},
|
|
2817
|
+
"default": "'Actions'",
|
|
2818
|
+
"fieldName": "name"
|
|
2819
|
+
},
|
|
2820
|
+
{
|
|
2821
|
+
"name": "open",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "boolean"
|
|
2824
|
+
},
|
|
2825
|
+
"default": "false",
|
|
2826
|
+
"fieldName": "open"
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
"name": "buttonAppearance",
|
|
2830
|
+
"type": {
|
|
2831
|
+
"text": "string"
|
|
2832
|
+
},
|
|
2833
|
+
"fieldName": "buttonAppearance"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "hide-disabled",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "boolean"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "false",
|
|
2841
|
+
"fieldName": "hideDisabled"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "hide-menu-single-option",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"default": "false",
|
|
2849
|
+
"fieldName": "hideMenuSingleOption"
|
|
2824
2850
|
}
|
|
2825
|
-
]
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
"name": "foundationAccordionShadowOptions",
|
|
2830
|
-
"type": {
|
|
2831
|
-
"text": "ShadowRootInit"
|
|
2832
|
-
},
|
|
2833
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2834
|
-
},
|
|
2835
|
-
{
|
|
2836
|
-
"kind": "variable",
|
|
2837
|
-
"name": "defaultAccordionConfig",
|
|
2838
|
-
"type": {
|
|
2839
|
-
"text": "object"
|
|
2851
|
+
],
|
|
2852
|
+
"superclass": {
|
|
2853
|
+
"name": "FoundationElement",
|
|
2854
|
+
"package": "@microsoft/fast-foundation"
|
|
2840
2855
|
},
|
|
2841
|
-
"
|
|
2856
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2857
|
+
"customElement": true
|
|
2842
2858
|
},
|
|
2843
2859
|
{
|
|
2844
2860
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"description": "The Foundation
|
|
2861
|
+
"name": "foundationActionsMenu",
|
|
2862
|
+
"description": "The Foundation Actions Menu",
|
|
2847
2863
|
"privacy": "public"
|
|
2848
2864
|
}
|
|
2849
2865
|
],
|
|
2850
2866
|
"exports": [
|
|
2851
2867
|
{
|
|
2852
2868
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2854
|
-
"declaration": {
|
|
2855
|
-
"name": "Accordion",
|
|
2856
|
-
"module": "src/accordion/accordion.ts"
|
|
2857
|
-
}
|
|
2858
|
-
},
|
|
2859
|
-
{
|
|
2860
|
-
"kind": "js",
|
|
2861
|
-
"name": "foundationAccordionShadowOptions",
|
|
2862
|
-
"declaration": {
|
|
2863
|
-
"name": "foundationAccordionShadowOptions",
|
|
2864
|
-
"module": "src/accordion/accordion.ts"
|
|
2865
|
-
}
|
|
2866
|
-
},
|
|
2867
|
-
{
|
|
2868
|
-
"kind": "js",
|
|
2869
|
-
"name": "defaultAccordionConfig",
|
|
2869
|
+
"name": "ActionsMenu",
|
|
2870
2870
|
"declaration": {
|
|
2871
|
-
"name": "
|
|
2872
|
-
"module": "src/
|
|
2871
|
+
"name": "ActionsMenu",
|
|
2872
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2873
2873
|
}
|
|
2874
2874
|
},
|
|
2875
2875
|
{
|
|
2876
2876
|
"kind": "js",
|
|
2877
|
-
"name": "
|
|
2877
|
+
"name": "foundationActionsMenu",
|
|
2878
2878
|
"declaration": {
|
|
2879
|
-
"name": "
|
|
2880
|
-
"module": "src/
|
|
2879
|
+
"name": "foundationActionsMenu",
|
|
2880
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
]
|
|
2884
2884
|
},
|
|
2885
2885
|
{
|
|
2886
2886
|
"kind": "javascript-module",
|
|
2887
|
-
"path": "src/
|
|
2887
|
+
"path": "src/actions-menu/index.ts",
|
|
2888
2888
|
"declarations": [],
|
|
2889
2889
|
"exports": [
|
|
2890
2890
|
{
|
|
@@ -2892,7 +2892,7 @@
|
|
|
2892
2892
|
"name": "*",
|
|
2893
2893
|
"declaration": {
|
|
2894
2894
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2895
|
+
"package": "./actions-menu.styles"
|
|
2896
2896
|
}
|
|
2897
2897
|
},
|
|
2898
2898
|
{
|
|
@@ -2900,7 +2900,7 @@
|
|
|
2900
2900
|
"name": "*",
|
|
2901
2901
|
"declaration": {
|
|
2902
2902
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
2903
|
+
"package": "./actions-menu.template"
|
|
2904
2904
|
}
|
|
2905
2905
|
},
|
|
2906
2906
|
{
|
|
@@ -2908,111 +2908,122 @@
|
|
|
2908
2908
|
"name": "*",
|
|
2909
2909
|
"declaration": {
|
|
2910
2910
|
"name": "*",
|
|
2911
|
-
"package": "./
|
|
2911
|
+
"package": "./actions-menu"
|
|
2912
2912
|
}
|
|
2913
2913
|
}
|
|
2914
2914
|
]
|
|
2915
2915
|
},
|
|
2916
2916
|
{
|
|
2917
2917
|
"kind": "javascript-module",
|
|
2918
|
-
"path": "src/ai-
|
|
2918
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2919
2919
|
"declarations": [
|
|
2920
2920
|
{
|
|
2921
|
-
"kind": "
|
|
2922
|
-
"name": "
|
|
2923
|
-
"
|
|
2924
|
-
"type": {
|
|
2925
|
-
"text": "ElementStyles"
|
|
2926
|
-
}
|
|
2927
|
-
},
|
|
2928
|
-
"parameters": [
|
|
2929
|
-
{
|
|
2930
|
-
"name": "context",
|
|
2931
|
-
"type": {
|
|
2932
|
-
"text": "ElementDefinitionContext"
|
|
2933
|
-
}
|
|
2934
|
-
},
|
|
2935
|
-
{
|
|
2936
|
-
"name": "definition",
|
|
2937
|
-
"type": {
|
|
2938
|
-
"text": "FoundationElementDefinition"
|
|
2939
|
-
}
|
|
2940
|
-
}
|
|
2941
|
-
]
|
|
2921
|
+
"kind": "variable",
|
|
2922
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2923
|
+
"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`"
|
|
2942
2924
|
}
|
|
2943
2925
|
],
|
|
2944
2926
|
"exports": [
|
|
2945
2927
|
{
|
|
2946
2928
|
"kind": "js",
|
|
2947
|
-
"name": "
|
|
2929
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2948
2930
|
"declaration": {
|
|
2949
|
-
"name": "
|
|
2950
|
-
"module": "src/ai-
|
|
2931
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2932
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2951
2933
|
}
|
|
2952
2934
|
}
|
|
2953
2935
|
]
|
|
2954
2936
|
},
|
|
2955
2937
|
{
|
|
2956
2938
|
"kind": "javascript-module",
|
|
2957
|
-
"path": "src/ai-
|
|
2939
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2958
2940
|
"declarations": [
|
|
2959
2941
|
{
|
|
2960
2942
|
"kind": "variable",
|
|
2961
|
-
"name": "
|
|
2943
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2962
2944
|
"type": {
|
|
2963
|
-
"text": "ViewTemplate<
|
|
2945
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2964
2946
|
},
|
|
2965
|
-
"default": "html`\n ${(x) =>
|
|
2947
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2966
2948
|
}
|
|
2967
2949
|
],
|
|
2968
2950
|
"exports": [
|
|
2969
2951
|
{
|
|
2970
2952
|
"kind": "js",
|
|
2971
|
-
"name": "
|
|
2953
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2972
2954
|
"declaration": {
|
|
2973
|
-
"name": "
|
|
2974
|
-
"module": "src/ai-
|
|
2955
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2956
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2975
2957
|
}
|
|
2976
2958
|
}
|
|
2977
2959
|
]
|
|
2978
2960
|
},
|
|
2979
2961
|
{
|
|
2980
2962
|
"kind": "javascript-module",
|
|
2981
|
-
"path": "src/ai-
|
|
2963
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2982
2964
|
"declarations": [
|
|
2983
2965
|
{
|
|
2984
2966
|
"kind": "class",
|
|
2985
|
-
"description": "",
|
|
2986
|
-
"name": "
|
|
2967
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2968
|
+
"name": "AiCriteriaSearch",
|
|
2987
2969
|
"members": [
|
|
2988
2970
|
{
|
|
2989
2971
|
"kind": "field",
|
|
2990
|
-
"name": "providerRegistry",
|
|
2972
|
+
"name": "providerRegistry",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"text": "AIProviderRegistry"
|
|
2975
|
+
}
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
"kind": "field",
|
|
2979
|
+
"name": "placeholder",
|
|
2980
|
+
"type": {
|
|
2981
|
+
"text": "string"
|
|
2982
|
+
},
|
|
2983
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"kind": "field",
|
|
2987
|
+
"name": "disabled",
|
|
2988
|
+
"type": {
|
|
2989
|
+
"text": "boolean"
|
|
2990
|
+
}
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "field",
|
|
2994
|
+
"name": "inputValue",
|
|
2991
2995
|
"type": {
|
|
2992
|
-
"text": "
|
|
2993
|
-
}
|
|
2996
|
+
"text": "string"
|
|
2997
|
+
},
|
|
2998
|
+
"default": "''"
|
|
2994
2999
|
},
|
|
2995
3000
|
{
|
|
2996
3001
|
"kind": "field",
|
|
2997
|
-
"name": "
|
|
3002
|
+
"name": "isInterpreting",
|
|
2998
3003
|
"type": {
|
|
2999
|
-
"text": "
|
|
3004
|
+
"text": "boolean"
|
|
3000
3005
|
},
|
|
3001
|
-
"
|
|
3002
|
-
"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.",
|
|
3003
|
-
"readonly": true
|
|
3006
|
+
"default": "false"
|
|
3004
3007
|
},
|
|
3005
3008
|
{
|
|
3006
3009
|
"kind": "field",
|
|
3007
|
-
"name": "
|
|
3010
|
+
"name": "lastValidCriteria",
|
|
3008
3011
|
"type": {
|
|
3009
|
-
"text": "
|
|
3012
|
+
"text": "string | null"
|
|
3010
3013
|
},
|
|
3011
3014
|
"default": "null"
|
|
3012
3015
|
},
|
|
3013
3016
|
{
|
|
3014
3017
|
"kind": "field",
|
|
3015
|
-
"name": "
|
|
3018
|
+
"name": "activeGroups",
|
|
3019
|
+
"type": {
|
|
3020
|
+
"text": "CriteriaGroup[]"
|
|
3021
|
+
},
|
|
3022
|
+
"default": "[]"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"kind": "field",
|
|
3026
|
+
"name": "showingChips",
|
|
3016
3027
|
"type": {
|
|
3017
3028
|
"text": "boolean"
|
|
3018
3029
|
},
|
|
@@ -3020,15 +3031,15 @@
|
|
|
3020
3031
|
},
|
|
3021
3032
|
{
|
|
3022
3033
|
"kind": "field",
|
|
3023
|
-
"name": "
|
|
3034
|
+
"name": "fieldMetadata",
|
|
3024
3035
|
"type": {
|
|
3025
|
-
"text": "
|
|
3036
|
+
"text": "MetadataDetail[] | string[]"
|
|
3026
3037
|
},
|
|
3027
|
-
"default": "
|
|
3038
|
+
"default": "[]"
|
|
3028
3039
|
},
|
|
3029
3040
|
{
|
|
3030
3041
|
"kind": "field",
|
|
3031
|
-
"name": "
|
|
3042
|
+
"name": "isRecording",
|
|
3032
3043
|
"type": {
|
|
3033
3044
|
"text": "boolean"
|
|
3034
3045
|
},
|
|
@@ -3036,29 +3047,33 @@
|
|
|
3036
3047
|
},
|
|
3037
3048
|
{
|
|
3038
3049
|
"kind": "field",
|
|
3039
|
-
"name": "
|
|
3050
|
+
"name": "textAreaRef",
|
|
3040
3051
|
"type": {
|
|
3041
|
-
"text": "
|
|
3052
|
+
"text": "HTMLTextAreaElement"
|
|
3042
3053
|
},
|
|
3043
|
-
"privacy": "
|
|
3044
|
-
"default": "null"
|
|
3054
|
+
"privacy": "public"
|
|
3045
3055
|
},
|
|
3046
3056
|
{
|
|
3047
3057
|
"kind": "field",
|
|
3048
|
-
"name": "
|
|
3049
|
-
"
|
|
3058
|
+
"name": "stopRecording",
|
|
3059
|
+
"type": {
|
|
3060
|
+
"text": "(() => void) | null"
|
|
3061
|
+
},
|
|
3062
|
+
"privacy": "private",
|
|
3063
|
+
"default": "null"
|
|
3050
3064
|
},
|
|
3051
3065
|
{
|
|
3052
3066
|
"kind": "field",
|
|
3053
|
-
"name": "
|
|
3067
|
+
"name": "speechApplyDebounceTimer",
|
|
3054
3068
|
"type": {
|
|
3055
|
-
"text": "
|
|
3069
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3056
3070
|
},
|
|
3057
|
-
"
|
|
3071
|
+
"privacy": "private",
|
|
3072
|
+
"default": "null"
|
|
3058
3073
|
},
|
|
3059
3074
|
{
|
|
3060
3075
|
"kind": "field",
|
|
3061
|
-
"name": "
|
|
3076
|
+
"name": "speechAvailable",
|
|
3062
3077
|
"type": {
|
|
3063
3078
|
"text": "boolean"
|
|
3064
3079
|
},
|
|
@@ -3066,69 +3081,65 @@
|
|
|
3066
3081
|
},
|
|
3067
3082
|
{
|
|
3068
3083
|
"kind": "field",
|
|
3069
|
-
"name": "
|
|
3084
|
+
"name": "criteriaChips",
|
|
3070
3085
|
"type": {
|
|
3071
|
-
"text": "
|
|
3086
|
+
"text": "CriteriaChip[]"
|
|
3072
3087
|
},
|
|
3073
3088
|
"readonly": true
|
|
3074
3089
|
},
|
|
3075
3090
|
{
|
|
3076
3091
|
"kind": "method",
|
|
3077
|
-
"name": "
|
|
3092
|
+
"name": "getFieldLabel",
|
|
3093
|
+
"privacy": "private",
|
|
3078
3094
|
"return": {
|
|
3079
3095
|
"type": {
|
|
3080
|
-
"text": "
|
|
3096
|
+
"text": "string"
|
|
3081
3097
|
}
|
|
3082
|
-
}
|
|
3083
|
-
},
|
|
3084
|
-
{
|
|
3085
|
-
"kind": "method",
|
|
3086
|
-
"name": "handleClickOutside",
|
|
3087
|
-
"privacy": "private",
|
|
3098
|
+
},
|
|
3088
3099
|
"parameters": [
|
|
3089
3100
|
{
|
|
3090
|
-
"name": "
|
|
3101
|
+
"name": "fieldName",
|
|
3091
3102
|
"type": {
|
|
3092
|
-
"text": "
|
|
3103
|
+
"text": "string"
|
|
3093
3104
|
}
|
|
3094
3105
|
}
|
|
3095
3106
|
]
|
|
3096
3107
|
},
|
|
3097
3108
|
{
|
|
3098
3109
|
"kind": "method",
|
|
3099
|
-
"name": "
|
|
3100
|
-
},
|
|
3101
|
-
{
|
|
3102
|
-
"kind": "method",
|
|
3103
|
-
"name": "refreshStatus",
|
|
3110
|
+
"name": "toggleCriteriaView",
|
|
3104
3111
|
"return": {
|
|
3105
3112
|
"type": {
|
|
3106
|
-
"text": "
|
|
3113
|
+
"text": "void"
|
|
3107
3114
|
}
|
|
3108
3115
|
}
|
|
3109
3116
|
},
|
|
3110
3117
|
{
|
|
3111
3118
|
"kind": "method",
|
|
3112
|
-
"name": "
|
|
3113
|
-
"privacy": "private",
|
|
3119
|
+
"name": "removeChip",
|
|
3114
3120
|
"return": {
|
|
3115
3121
|
"type": {
|
|
3116
|
-
"text": "
|
|
3122
|
+
"text": "void"
|
|
3117
3123
|
}
|
|
3118
3124
|
},
|
|
3119
3125
|
"parameters": [
|
|
3120
3126
|
{
|
|
3121
|
-
"name": "
|
|
3127
|
+
"name": "groupIndex",
|
|
3122
3128
|
"type": {
|
|
3123
|
-
"text": "
|
|
3129
|
+
"text": "number"
|
|
3130
|
+
}
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"name": "clauseIndex",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "number"
|
|
3124
3136
|
}
|
|
3125
3137
|
}
|
|
3126
3138
|
]
|
|
3127
3139
|
},
|
|
3128
3140
|
{
|
|
3129
3141
|
"kind": "method",
|
|
3130
|
-
"name": "
|
|
3131
|
-
"privacy": "private",
|
|
3142
|
+
"name": "clearChips",
|
|
3132
3143
|
"return": {
|
|
3133
3144
|
"type": {
|
|
3134
3145
|
"text": "void"
|
|
@@ -3137,32 +3148,24 @@
|
|
|
3137
3148
|
},
|
|
3138
3149
|
{
|
|
3139
3150
|
"kind": "method",
|
|
3140
|
-
"name": "
|
|
3141
|
-
"privacy": "private",
|
|
3142
|
-
"return": {
|
|
3143
|
-
"type": {
|
|
3144
|
-
"text": "void"
|
|
3145
|
-
}
|
|
3146
|
-
}
|
|
3151
|
+
"name": "handleSubmit"
|
|
3147
3152
|
},
|
|
3148
3153
|
{
|
|
3149
3154
|
"kind": "method",
|
|
3150
|
-
"name": "
|
|
3151
|
-
"privacy": "private",
|
|
3152
|
-
"return": {
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "void"
|
|
3155
|
-
}
|
|
3156
|
-
}
|
|
3155
|
+
"name": "handleBlur"
|
|
3157
3156
|
},
|
|
3158
3157
|
{
|
|
3159
3158
|
"kind": "method",
|
|
3160
|
-
"name": "
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3159
|
+
"name": "clear"
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
"kind": "method",
|
|
3163
|
+
"name": "toggleSpeechInput"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"kind": "method",
|
|
3167
|
+
"name": "clearSpeechApplyDebounce",
|
|
3168
|
+
"privacy": "private"
|
|
3166
3169
|
},
|
|
3167
3170
|
{
|
|
3168
3171
|
"kind": "field",
|
|
@@ -3276,145 +3279,320 @@
|
|
|
3276
3279
|
}
|
|
3277
3280
|
}
|
|
3278
3281
|
],
|
|
3282
|
+
"events": [
|
|
3283
|
+
{
|
|
3284
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3285
|
+
"name": "criteria-changed"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3289
|
+
"name": "validation-errors"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
"attributes": [
|
|
3293
|
+
{
|
|
3294
|
+
"name": "placeholder",
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "string"
|
|
3297
|
+
},
|
|
3298
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3299
|
+
"fieldName": "placeholder"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "boolean"
|
|
3304
|
+
},
|
|
3305
|
+
"fieldName": "disabled"
|
|
3306
|
+
}
|
|
3307
|
+
],
|
|
3279
3308
|
"superclass": {
|
|
3280
3309
|
"name": "FoundationElement",
|
|
3281
3310
|
"package": "@microsoft/fast-foundation"
|
|
3282
3311
|
},
|
|
3283
|
-
"tagName": "%%prefix%%-ai-
|
|
3312
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3284
3313
|
"customElement": true
|
|
3285
3314
|
},
|
|
3286
3315
|
{
|
|
3287
3316
|
"kind": "variable",
|
|
3288
|
-
"name": "
|
|
3317
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "ShadowRootInit"
|
|
3320
|
+
},
|
|
3321
|
+
"default": "undefined"
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"kind": "variable",
|
|
3325
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "object"
|
|
3328
|
+
},
|
|
3329
|
+
"default": "{}"
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"kind": "variable",
|
|
3333
|
+
"name": "foundationAiCriteriaSearch"
|
|
3289
3334
|
}
|
|
3290
3335
|
],
|
|
3291
3336
|
"exports": [
|
|
3292
3337
|
{
|
|
3293
3338
|
"kind": "js",
|
|
3294
|
-
"name": "
|
|
3339
|
+
"name": "AiCriteriaSearch",
|
|
3295
3340
|
"declaration": {
|
|
3296
|
-
"name": "
|
|
3297
|
-
"module": "src/ai-
|
|
3341
|
+
"name": "AiCriteriaSearch",
|
|
3342
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3298
3343
|
}
|
|
3299
3344
|
},
|
|
3300
3345
|
{
|
|
3301
3346
|
"kind": "js",
|
|
3302
|
-
"name": "
|
|
3347
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3303
3348
|
"declaration": {
|
|
3304
|
-
"name": "
|
|
3305
|
-
"module": "src/ai-
|
|
3349
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3350
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
{
|
|
3354
|
+
"kind": "js",
|
|
3355
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3356
|
+
"declaration": {
|
|
3357
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3358
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3359
|
+
}
|
|
3360
|
+
},
|
|
3361
|
+
{
|
|
3362
|
+
"kind": "js",
|
|
3363
|
+
"name": "foundationAiCriteriaSearch",
|
|
3364
|
+
"declaration": {
|
|
3365
|
+
"name": "foundationAiCriteriaSearch",
|
|
3366
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3306
3367
|
}
|
|
3307
3368
|
}
|
|
3308
3369
|
]
|
|
3309
3370
|
},
|
|
3310
3371
|
{
|
|
3311
3372
|
"kind": "javascript-module",
|
|
3312
|
-
"path": "src/ai-
|
|
3373
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3313
3374
|
"declarations": [],
|
|
3314
3375
|
"exports": [
|
|
3315
3376
|
{
|
|
3316
3377
|
"kind": "js",
|
|
3317
|
-
"name": "
|
|
3378
|
+
"name": "AiCriteriaSearch",
|
|
3379
|
+
"declaration": {
|
|
3380
|
+
"name": "AiCriteriaSearch",
|
|
3381
|
+
"module": "./ai-criteria-search"
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
"kind": "js",
|
|
3386
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3387
|
+
"declaration": {
|
|
3388
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3389
|
+
"module": "./ai-criteria-search"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"kind": "js",
|
|
3394
|
+
"name": "foundationAiCriteriaSearch",
|
|
3395
|
+
"declaration": {
|
|
3396
|
+
"name": "foundationAiCriteriaSearch",
|
|
3397
|
+
"module": "./ai-criteria-search"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "js",
|
|
3402
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3403
|
+
"declaration": {
|
|
3404
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3405
|
+
"module": "./ai-criteria-search"
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"kind": "js",
|
|
3410
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3411
|
+
"declaration": {
|
|
3412
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3413
|
+
"module": "./ai-criteria-search.styles"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "js",
|
|
3418
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3318
3419
|
"declaration": {
|
|
3319
|
-
"name": "
|
|
3320
|
-
"module": "./ai-
|
|
3420
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3421
|
+
"module": "./ai-criteria-search.template"
|
|
3321
3422
|
}
|
|
3322
3423
|
},
|
|
3323
3424
|
{
|
|
3324
3425
|
"kind": "js",
|
|
3325
|
-
"name": "
|
|
3426
|
+
"name": "*",
|
|
3326
3427
|
"declaration": {
|
|
3327
|
-
"name": "
|
|
3328
|
-
"
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"package": "./validation/criteria-ir"
|
|
3329
3430
|
}
|
|
3330
3431
|
},
|
|
3331
3432
|
{
|
|
3332
3433
|
"kind": "js",
|
|
3333
|
-
"name": "
|
|
3434
|
+
"name": "*",
|
|
3334
3435
|
"declaration": {
|
|
3335
|
-
"name": "
|
|
3336
|
-
"
|
|
3436
|
+
"name": "*",
|
|
3437
|
+
"package": "./validation/operator-map"
|
|
3337
3438
|
}
|
|
3338
3439
|
},
|
|
3339
3440
|
{
|
|
3340
3441
|
"kind": "js",
|
|
3341
|
-
"name": "
|
|
3442
|
+
"name": "*",
|
|
3342
3443
|
"declaration": {
|
|
3343
|
-
"name": "
|
|
3344
|
-
"
|
|
3444
|
+
"name": "*",
|
|
3445
|
+
"package": "./validation/schema-validator"
|
|
3345
3446
|
}
|
|
3447
|
+
}
|
|
3448
|
+
]
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
"kind": "javascript-module",
|
|
3452
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3453
|
+
"declarations": [
|
|
3454
|
+
{
|
|
3455
|
+
"kind": "function",
|
|
3456
|
+
"name": "formatValidationErrors",
|
|
3457
|
+
"return": {
|
|
3458
|
+
"type": {
|
|
3459
|
+
"text": "string"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
"parameters": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "errors",
|
|
3465
|
+
"type": {
|
|
3466
|
+
"text": "ValidationError[]"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3346
3471
|
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "function",
|
|
3474
|
+
"name": "showCriteriaError",
|
|
3475
|
+
"return": {
|
|
3476
|
+
"type": {
|
|
3477
|
+
"text": "void"
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
"parameters": [
|
|
3481
|
+
{
|
|
3482
|
+
"name": "title",
|
|
3483
|
+
"type": {
|
|
3484
|
+
"text": "string"
|
|
3485
|
+
},
|
|
3486
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
"name": "body",
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "string"
|
|
3492
|
+
},
|
|
3493
|
+
"description": "Error message to display"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"name": "tagName",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "string"
|
|
3499
|
+
},
|
|
3500
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3501
|
+
}
|
|
3502
|
+
],
|
|
3503
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3504
|
+
}
|
|
3505
|
+
],
|
|
3506
|
+
"exports": [
|
|
3347
3507
|
{
|
|
3348
3508
|
"kind": "js",
|
|
3349
|
-
"name": "
|
|
3509
|
+
"name": "formatValidationErrors",
|
|
3350
3510
|
"declaration": {
|
|
3351
|
-
"name": "
|
|
3352
|
-
"module": "
|
|
3511
|
+
"name": "formatValidationErrors",
|
|
3512
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3353
3513
|
}
|
|
3354
3514
|
},
|
|
3355
3515
|
{
|
|
3356
3516
|
"kind": "js",
|
|
3357
|
-
"name": "
|
|
3517
|
+
"name": "showCriteriaError",
|
|
3358
3518
|
"declaration": {
|
|
3359
|
-
"name": "
|
|
3360
|
-
"module": "
|
|
3519
|
+
"name": "showCriteriaError",
|
|
3520
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3361
3521
|
}
|
|
3362
3522
|
}
|
|
3363
3523
|
]
|
|
3364
3524
|
},
|
|
3365
3525
|
{
|
|
3366
3526
|
"kind": "javascript-module",
|
|
3367
|
-
"path": "src/ai-
|
|
3527
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3368
3528
|
"declarations": [
|
|
3369
3529
|
{
|
|
3370
|
-
"kind": "
|
|
3371
|
-
"name": "
|
|
3372
|
-
"
|
|
3530
|
+
"kind": "function",
|
|
3531
|
+
"name": "foundationAiIndicatorStyles",
|
|
3532
|
+
"return": {
|
|
3533
|
+
"type": {
|
|
3534
|
+
"text": "ElementStyles"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
"parameters": [
|
|
3538
|
+
{
|
|
3539
|
+
"name": "context",
|
|
3540
|
+
"type": {
|
|
3541
|
+
"text": "ElementDefinitionContext"
|
|
3542
|
+
}
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"name": "definition",
|
|
3546
|
+
"type": {
|
|
3547
|
+
"text": "FoundationElementDefinition"
|
|
3548
|
+
}
|
|
3549
|
+
}
|
|
3550
|
+
]
|
|
3373
3551
|
}
|
|
3374
3552
|
],
|
|
3375
3553
|
"exports": [
|
|
3376
3554
|
{
|
|
3377
3555
|
"kind": "js",
|
|
3378
|
-
"name": "
|
|
3556
|
+
"name": "foundationAiIndicatorStyles",
|
|
3379
3557
|
"declaration": {
|
|
3380
|
-
"name": "
|
|
3381
|
-
"module": "src/ai-
|
|
3558
|
+
"name": "foundationAiIndicatorStyles",
|
|
3559
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3382
3560
|
}
|
|
3383
3561
|
}
|
|
3384
3562
|
]
|
|
3385
3563
|
},
|
|
3386
3564
|
{
|
|
3387
3565
|
"kind": "javascript-module",
|
|
3388
|
-
"path": "src/ai-
|
|
3566
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3389
3567
|
"declarations": [
|
|
3390
3568
|
{
|
|
3391
3569
|
"kind": "variable",
|
|
3392
|
-
"name": "
|
|
3570
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3393
3571
|
"type": {
|
|
3394
|
-
"text": "ViewTemplate<
|
|
3572
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3395
3573
|
},
|
|
3396
|
-
"default": "html`\n ${(x) =>
|
|
3574
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3397
3575
|
}
|
|
3398
3576
|
],
|
|
3399
3577
|
"exports": [
|
|
3400
3578
|
{
|
|
3401
3579
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3580
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3403
3581
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "src/ai-
|
|
3582
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3583
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3406
3584
|
}
|
|
3407
3585
|
}
|
|
3408
3586
|
]
|
|
3409
3587
|
},
|
|
3410
3588
|
{
|
|
3411
3589
|
"kind": "javascript-module",
|
|
3412
|
-
"path": "src/ai-
|
|
3590
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3413
3591
|
"declarations": [
|
|
3414
3592
|
{
|
|
3415
3593
|
"kind": "class",
|
|
3416
|
-
"description": "
|
|
3417
|
-
"name": "
|
|
3594
|
+
"description": "",
|
|
3595
|
+
"name": "AiIndicator",
|
|
3418
3596
|
"members": [
|
|
3419
3597
|
{
|
|
3420
3598
|
"kind": "field",
|
|
@@ -3425,54 +3603,25 @@
|
|
|
3425
3603
|
},
|
|
3426
3604
|
{
|
|
3427
3605
|
"kind": "field",
|
|
3428
|
-
"name": "
|
|
3429
|
-
"type": {
|
|
3430
|
-
"text": "string"
|
|
3431
|
-
},
|
|
3432
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
3433
|
-
},
|
|
3434
|
-
{
|
|
3435
|
-
"kind": "field",
|
|
3436
|
-
"name": "disabled",
|
|
3437
|
-
"type": {
|
|
3438
|
-
"text": "boolean"
|
|
3439
|
-
}
|
|
3440
|
-
},
|
|
3441
|
-
{
|
|
3442
|
-
"kind": "field",
|
|
3443
|
-
"name": "inputValue",
|
|
3444
|
-
"type": {
|
|
3445
|
-
"text": "string"
|
|
3446
|
-
},
|
|
3447
|
-
"default": "''"
|
|
3448
|
-
},
|
|
3449
|
-
{
|
|
3450
|
-
"kind": "field",
|
|
3451
|
-
"name": "isInterpreting",
|
|
3606
|
+
"name": "aiProvider",
|
|
3452
3607
|
"type": {
|
|
3453
|
-
"text": "
|
|
3608
|
+
"text": "AIProvider | undefined"
|
|
3454
3609
|
},
|
|
3455
|
-
"
|
|
3610
|
+
"privacy": "private",
|
|
3611
|
+
"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.",
|
|
3612
|
+
"readonly": true
|
|
3456
3613
|
},
|
|
3457
3614
|
{
|
|
3458
3615
|
"kind": "field",
|
|
3459
|
-
"name": "
|
|
3616
|
+
"name": "status",
|
|
3460
3617
|
"type": {
|
|
3461
|
-
"text": "
|
|
3618
|
+
"text": "AIStatus | null"
|
|
3462
3619
|
},
|
|
3463
3620
|
"default": "null"
|
|
3464
3621
|
},
|
|
3465
3622
|
{
|
|
3466
3623
|
"kind": "field",
|
|
3467
|
-
"name": "
|
|
3468
|
-
"type": {
|
|
3469
|
-
"text": "CriteriaGroup[]"
|
|
3470
|
-
},
|
|
3471
|
-
"default": "[]"
|
|
3472
|
-
},
|
|
3473
|
-
{
|
|
3474
|
-
"kind": "field",
|
|
3475
|
-
"name": "showingChips",
|
|
3624
|
+
"name": "open",
|
|
3476
3625
|
"type": {
|
|
3477
3626
|
"text": "boolean"
|
|
3478
3627
|
},
|
|
@@ -3480,15 +3629,15 @@
|
|
|
3480
3629
|
},
|
|
3481
3630
|
{
|
|
3482
3631
|
"kind": "field",
|
|
3483
|
-
"name": "
|
|
3632
|
+
"name": "state",
|
|
3484
3633
|
"type": {
|
|
3485
|
-
"text": "
|
|
3634
|
+
"text": "AIIndicatorState"
|
|
3486
3635
|
},
|
|
3487
|
-
"default": "
|
|
3636
|
+
"default": "'none'"
|
|
3488
3637
|
},
|
|
3489
3638
|
{
|
|
3490
3639
|
"kind": "field",
|
|
3491
|
-
"name": "
|
|
3640
|
+
"name": "isInstalling",
|
|
3492
3641
|
"type": {
|
|
3493
3642
|
"text": "boolean"
|
|
3494
3643
|
},
|
|
@@ -3496,33 +3645,29 @@
|
|
|
3496
3645
|
},
|
|
3497
3646
|
{
|
|
3498
3647
|
"kind": "field",
|
|
3499
|
-
"name": "
|
|
3648
|
+
"name": "pollTimer",
|
|
3500
3649
|
"type": {
|
|
3501
|
-
"text": "
|
|
3650
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3502
3651
|
},
|
|
3503
|
-
"privacy": "
|
|
3652
|
+
"privacy": "private",
|
|
3653
|
+
"default": "null"
|
|
3504
3654
|
},
|
|
3505
3655
|
{
|
|
3506
3656
|
"kind": "field",
|
|
3507
|
-
"name": "
|
|
3508
|
-
"
|
|
3509
|
-
"text": "(() => void) | null"
|
|
3510
|
-
},
|
|
3511
|
-
"privacy": "private",
|
|
3512
|
-
"default": "null"
|
|
3657
|
+
"name": "clickOutside",
|
|
3658
|
+
"privacy": "private"
|
|
3513
3659
|
},
|
|
3514
3660
|
{
|
|
3515
3661
|
"kind": "field",
|
|
3516
|
-
"name": "
|
|
3662
|
+
"name": "chromeStatusLabel",
|
|
3517
3663
|
"type": {
|
|
3518
|
-
"text": "
|
|
3664
|
+
"text": "string | null"
|
|
3519
3665
|
},
|
|
3520
|
-
"
|
|
3521
|
-
"default": "null"
|
|
3666
|
+
"readonly": true
|
|
3522
3667
|
},
|
|
3523
3668
|
{
|
|
3524
3669
|
"kind": "field",
|
|
3525
|
-
"name": "
|
|
3670
|
+
"name": "canInstall",
|
|
3526
3671
|
"type": {
|
|
3527
3672
|
"text": "boolean"
|
|
3528
3673
|
},
|
|
@@ -3530,65 +3675,69 @@
|
|
|
3530
3675
|
},
|
|
3531
3676
|
{
|
|
3532
3677
|
"kind": "field",
|
|
3533
|
-
"name": "
|
|
3678
|
+
"name": "isDownloading",
|
|
3534
3679
|
"type": {
|
|
3535
|
-
"text": "
|
|
3680
|
+
"text": "boolean"
|
|
3536
3681
|
},
|
|
3537
3682
|
"readonly": true
|
|
3538
3683
|
},
|
|
3539
3684
|
{
|
|
3540
3685
|
"kind": "method",
|
|
3541
|
-
"name": "
|
|
3542
|
-
"privacy": "private",
|
|
3686
|
+
"name": "openChanged",
|
|
3543
3687
|
"return": {
|
|
3544
3688
|
"type": {
|
|
3545
|
-
"text": "
|
|
3689
|
+
"text": "void"
|
|
3546
3690
|
}
|
|
3547
|
-
}
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"kind": "method",
|
|
3695
|
+
"name": "handleClickOutside",
|
|
3696
|
+
"privacy": "private",
|
|
3548
3697
|
"parameters": [
|
|
3549
3698
|
{
|
|
3550
|
-
"name": "
|
|
3699
|
+
"name": "event",
|
|
3551
3700
|
"type": {
|
|
3552
|
-
"text": "
|
|
3701
|
+
"text": "MouseEvent"
|
|
3553
3702
|
}
|
|
3554
3703
|
}
|
|
3555
3704
|
]
|
|
3556
3705
|
},
|
|
3557
3706
|
{
|
|
3558
3707
|
"kind": "method",
|
|
3559
|
-
"name": "
|
|
3708
|
+
"name": "toggleDropdown"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"kind": "method",
|
|
3712
|
+
"name": "refreshStatus",
|
|
3560
3713
|
"return": {
|
|
3561
3714
|
"type": {
|
|
3562
|
-
"text": "void"
|
|
3715
|
+
"text": "Promise<void>"
|
|
3563
3716
|
}
|
|
3564
3717
|
}
|
|
3565
3718
|
},
|
|
3566
3719
|
{
|
|
3567
3720
|
"kind": "method",
|
|
3568
|
-
"name": "
|
|
3721
|
+
"name": "deriveState",
|
|
3722
|
+
"privacy": "private",
|
|
3569
3723
|
"return": {
|
|
3570
3724
|
"type": {
|
|
3571
|
-
"text": "
|
|
3725
|
+
"text": "AIIndicatorState"
|
|
3572
3726
|
}
|
|
3573
3727
|
},
|
|
3574
3728
|
"parameters": [
|
|
3575
3729
|
{
|
|
3576
|
-
"name": "
|
|
3577
|
-
"type": {
|
|
3578
|
-
"text": "number"
|
|
3579
|
-
}
|
|
3580
|
-
},
|
|
3581
|
-
{
|
|
3582
|
-
"name": "clauseIndex",
|
|
3730
|
+
"name": "s",
|
|
3583
3731
|
"type": {
|
|
3584
|
-
"text": "
|
|
3732
|
+
"text": "AIStatus | null"
|
|
3585
3733
|
}
|
|
3586
3734
|
}
|
|
3587
3735
|
]
|
|
3588
3736
|
},
|
|
3589
3737
|
{
|
|
3590
3738
|
"kind": "method",
|
|
3591
|
-
"name": "
|
|
3739
|
+
"name": "maybeStartPolling",
|
|
3740
|
+
"privacy": "private",
|
|
3592
3741
|
"return": {
|
|
3593
3742
|
"type": {
|
|
3594
3743
|
"text": "void"
|
|
@@ -3597,24 +3746,32 @@
|
|
|
3597
3746
|
},
|
|
3598
3747
|
{
|
|
3599
3748
|
"kind": "method",
|
|
3600
|
-
"name": "
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
"kind": "method",
|
|
3608
|
-
"name": "clear"
|
|
3749
|
+
"name": "startPolling",
|
|
3750
|
+
"privacy": "private",
|
|
3751
|
+
"return": {
|
|
3752
|
+
"type": {
|
|
3753
|
+
"text": "void"
|
|
3754
|
+
}
|
|
3755
|
+
}
|
|
3609
3756
|
},
|
|
3610
3757
|
{
|
|
3611
3758
|
"kind": "method",
|
|
3612
|
-
"name": "
|
|
3759
|
+
"name": "stopPolling",
|
|
3760
|
+
"privacy": "private",
|
|
3761
|
+
"return": {
|
|
3762
|
+
"type": {
|
|
3763
|
+
"text": "void"
|
|
3764
|
+
}
|
|
3765
|
+
}
|
|
3613
3766
|
},
|
|
3614
3767
|
{
|
|
3615
3768
|
"kind": "method",
|
|
3616
|
-
"name": "
|
|
3617
|
-
"
|
|
3769
|
+
"name": "onInstall",
|
|
3770
|
+
"return": {
|
|
3771
|
+
"type": {
|
|
3772
|
+
"text": "Promise<void>"
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3618
3775
|
},
|
|
3619
3776
|
{
|
|
3620
3777
|
"kind": "field",
|
|
@@ -3728,245 +3885,88 @@
|
|
|
3728
3885
|
}
|
|
3729
3886
|
}
|
|
3730
3887
|
],
|
|
3731
|
-
"events": [
|
|
3732
|
-
{
|
|
3733
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3734
|
-
"name": "criteria-changed"
|
|
3735
|
-
},
|
|
3736
|
-
{
|
|
3737
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3738
|
-
"name": "validation-errors"
|
|
3739
|
-
}
|
|
3740
|
-
],
|
|
3741
|
-
"attributes": [
|
|
3742
|
-
{
|
|
3743
|
-
"name": "placeholder",
|
|
3744
|
-
"type": {
|
|
3745
|
-
"text": "string"
|
|
3746
|
-
},
|
|
3747
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3748
|
-
"fieldName": "placeholder"
|
|
3749
|
-
},
|
|
3750
|
-
{
|
|
3751
|
-
"type": {
|
|
3752
|
-
"text": "boolean"
|
|
3753
|
-
},
|
|
3754
|
-
"fieldName": "disabled"
|
|
3755
|
-
}
|
|
3756
|
-
],
|
|
3757
3888
|
"superclass": {
|
|
3758
3889
|
"name": "FoundationElement",
|
|
3759
3890
|
"package": "@microsoft/fast-foundation"
|
|
3760
3891
|
},
|
|
3761
|
-
"tagName": "%%prefix%%-ai-
|
|
3892
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3762
3893
|
"customElement": true
|
|
3763
3894
|
},
|
|
3764
3895
|
{
|
|
3765
3896
|
"kind": "variable",
|
|
3766
|
-
"name": "
|
|
3767
|
-
"type": {
|
|
3768
|
-
"text": "ShadowRootInit"
|
|
3769
|
-
},
|
|
3770
|
-
"default": "undefined"
|
|
3771
|
-
},
|
|
3772
|
-
{
|
|
3773
|
-
"kind": "variable",
|
|
3774
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3775
|
-
"type": {
|
|
3776
|
-
"text": "object"
|
|
3777
|
-
},
|
|
3778
|
-
"default": "{}"
|
|
3779
|
-
},
|
|
3780
|
-
{
|
|
3781
|
-
"kind": "variable",
|
|
3782
|
-
"name": "foundationAiCriteriaSearch"
|
|
3897
|
+
"name": "foundationAiIndicator"
|
|
3783
3898
|
}
|
|
3784
3899
|
],
|
|
3785
3900
|
"exports": [
|
|
3786
3901
|
{
|
|
3787
3902
|
"kind": "js",
|
|
3788
|
-
"name": "
|
|
3789
|
-
"declaration": {
|
|
3790
|
-
"name": "AiCriteriaSearch",
|
|
3791
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3792
|
-
}
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
"kind": "js",
|
|
3796
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3797
|
-
"declaration": {
|
|
3798
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3799
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3800
|
-
}
|
|
3801
|
-
},
|
|
3802
|
-
{
|
|
3803
|
-
"kind": "js",
|
|
3804
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3903
|
+
"name": "AiIndicator",
|
|
3805
3904
|
"declaration": {
|
|
3806
|
-
"name": "
|
|
3807
|
-
"module": "src/ai-
|
|
3905
|
+
"name": "AiIndicator",
|
|
3906
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3808
3907
|
}
|
|
3809
3908
|
},
|
|
3810
3909
|
{
|
|
3811
3910
|
"kind": "js",
|
|
3812
|
-
"name": "
|
|
3911
|
+
"name": "foundationAiIndicator",
|
|
3813
3912
|
"declaration": {
|
|
3814
|
-
"name": "
|
|
3815
|
-
"module": "src/ai-
|
|
3913
|
+
"name": "foundationAiIndicator",
|
|
3914
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3816
3915
|
}
|
|
3817
3916
|
}
|
|
3818
3917
|
]
|
|
3819
3918
|
},
|
|
3820
3919
|
{
|
|
3821
3920
|
"kind": "javascript-module",
|
|
3822
|
-
"path": "src/ai-
|
|
3921
|
+
"path": "src/ai-indicator/index.ts",
|
|
3823
3922
|
"declarations": [],
|
|
3824
3923
|
"exports": [
|
|
3825
3924
|
{
|
|
3826
3925
|
"kind": "js",
|
|
3827
|
-
"name": "
|
|
3828
|
-
"declaration": {
|
|
3829
|
-
"name": "AiCriteriaSearch",
|
|
3830
|
-
"module": "./ai-criteria-search"
|
|
3831
|
-
}
|
|
3832
|
-
},
|
|
3833
|
-
{
|
|
3834
|
-
"kind": "js",
|
|
3835
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3836
|
-
"declaration": {
|
|
3837
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3838
|
-
"module": "./ai-criteria-search"
|
|
3839
|
-
}
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"kind": "js",
|
|
3843
|
-
"name": "foundationAiCriteriaSearch",
|
|
3844
|
-
"declaration": {
|
|
3845
|
-
"name": "foundationAiCriteriaSearch",
|
|
3846
|
-
"module": "./ai-criteria-search"
|
|
3847
|
-
}
|
|
3848
|
-
},
|
|
3849
|
-
{
|
|
3850
|
-
"kind": "js",
|
|
3851
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3852
|
-
"declaration": {
|
|
3853
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3854
|
-
"module": "./ai-criteria-search"
|
|
3855
|
-
}
|
|
3856
|
-
},
|
|
3857
|
-
{
|
|
3858
|
-
"kind": "js",
|
|
3859
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3860
|
-
"declaration": {
|
|
3861
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3862
|
-
"module": "./ai-criteria-search.styles"
|
|
3863
|
-
}
|
|
3864
|
-
},
|
|
3865
|
-
{
|
|
3866
|
-
"kind": "js",
|
|
3867
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3926
|
+
"name": "AiIndicator",
|
|
3868
3927
|
"declaration": {
|
|
3869
|
-
"name": "
|
|
3870
|
-
"module": "./ai-
|
|
3928
|
+
"name": "AiIndicator",
|
|
3929
|
+
"module": "./ai-indicator"
|
|
3871
3930
|
}
|
|
3872
3931
|
},
|
|
3873
3932
|
{
|
|
3874
3933
|
"kind": "js",
|
|
3875
|
-
"name": "
|
|
3934
|
+
"name": "foundationAiIndicator",
|
|
3876
3935
|
"declaration": {
|
|
3877
|
-
"name": "
|
|
3878
|
-
"
|
|
3936
|
+
"name": "foundationAiIndicator",
|
|
3937
|
+
"module": "./ai-indicator"
|
|
3879
3938
|
}
|
|
3880
3939
|
},
|
|
3881
3940
|
{
|
|
3882
3941
|
"kind": "js",
|
|
3883
|
-
"name": "
|
|
3942
|
+
"name": "type",
|
|
3884
3943
|
"declaration": {
|
|
3885
|
-
"name": "
|
|
3886
|
-
"
|
|
3944
|
+
"name": "type",
|
|
3945
|
+
"module": "./ai-indicator"
|
|
3887
3946
|
}
|
|
3888
3947
|
},
|
|
3889
3948
|
{
|
|
3890
3949
|
"kind": "js",
|
|
3891
|
-
"name": "
|
|
3950
|
+
"name": "AIIndicatorState",
|
|
3892
3951
|
"declaration": {
|
|
3893
|
-
"name": "
|
|
3894
|
-
"
|
|
3952
|
+
"name": "AIIndicatorState",
|
|
3953
|
+
"module": "./ai-indicator"
|
|
3895
3954
|
}
|
|
3896
|
-
}
|
|
3897
|
-
]
|
|
3898
|
-
},
|
|
3899
|
-
{
|
|
3900
|
-
"kind": "javascript-module",
|
|
3901
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3902
|
-
"declarations": [
|
|
3903
|
-
{
|
|
3904
|
-
"kind": "function",
|
|
3905
|
-
"name": "formatValidationErrors",
|
|
3906
|
-
"return": {
|
|
3907
|
-
"type": {
|
|
3908
|
-
"text": "string"
|
|
3909
|
-
}
|
|
3910
|
-
},
|
|
3911
|
-
"parameters": [
|
|
3912
|
-
{
|
|
3913
|
-
"name": "errors",
|
|
3914
|
-
"type": {
|
|
3915
|
-
"text": "ValidationError[]"
|
|
3916
|
-
}
|
|
3917
|
-
}
|
|
3918
|
-
],
|
|
3919
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3920
3955
|
},
|
|
3921
|
-
{
|
|
3922
|
-
"kind": "function",
|
|
3923
|
-
"name": "showCriteriaError",
|
|
3924
|
-
"return": {
|
|
3925
|
-
"type": {
|
|
3926
|
-
"text": "void"
|
|
3927
|
-
}
|
|
3928
|
-
},
|
|
3929
|
-
"parameters": [
|
|
3930
|
-
{
|
|
3931
|
-
"name": "title",
|
|
3932
|
-
"type": {
|
|
3933
|
-
"text": "string"
|
|
3934
|
-
},
|
|
3935
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3936
|
-
},
|
|
3937
|
-
{
|
|
3938
|
-
"name": "body",
|
|
3939
|
-
"type": {
|
|
3940
|
-
"text": "string"
|
|
3941
|
-
},
|
|
3942
|
-
"description": "Error message to display"
|
|
3943
|
-
},
|
|
3944
|
-
{
|
|
3945
|
-
"name": "tagName",
|
|
3946
|
-
"type": {
|
|
3947
|
-
"text": "string"
|
|
3948
|
-
},
|
|
3949
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3950
|
-
}
|
|
3951
|
-
],
|
|
3952
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3953
|
-
}
|
|
3954
|
-
],
|
|
3955
|
-
"exports": [
|
|
3956
3956
|
{
|
|
3957
3957
|
"kind": "js",
|
|
3958
|
-
"name": "
|
|
3958
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3959
3959
|
"declaration": {
|
|
3960
|
-
"name": "
|
|
3961
|
-
"module": "
|
|
3960
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3961
|
+
"module": "./ai-indicator.template"
|
|
3962
3962
|
}
|
|
3963
3963
|
},
|
|
3964
3964
|
{
|
|
3965
3965
|
"kind": "js",
|
|
3966
|
-
"name": "
|
|
3966
|
+
"name": "foundationAiIndicatorStyles",
|
|
3967
3967
|
"declaration": {
|
|
3968
|
-
"name": "
|
|
3969
|
-
"module": "
|
|
3968
|
+
"name": "foundationAiIndicatorStyles",
|
|
3969
|
+
"module": "./ai-indicator.styles"
|
|
3970
3970
|
}
|
|
3971
3971
|
}
|
|
3972
3972
|
]
|