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