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