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