@genesislcap/foundation-ui 15.28.1-FUI-0.6 → 15.28.1-FUI-0.8
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 +811 -811
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +18 -18
|
@@ -1920,34 +1920,11 @@
|
|
|
1920
1920
|
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
1923
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1924
1924
|
"declarations": [
|
|
1925
1925
|
{
|
|
1926
1926
|
"kind": "function",
|
|
1927
|
-
"name": "
|
|
1928
|
-
"return": {
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
1927
|
+
"name": "foundationAccordionStyles",
|
|
1951
1928
|
"return": {
|
|
1952
1929
|
"type": {
|
|
1953
1930
|
"text": "ElementStyles"
|
|
@@ -1972,281 +1949,277 @@
|
|
|
1972
1949
|
"exports": [
|
|
1973
1950
|
{
|
|
1974
1951
|
"kind": "js",
|
|
1975
|
-
"name": "
|
|
1976
|
-
"declaration": {
|
|
1977
|
-
"name": "actionsMenuBaseStyles",
|
|
1978
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1979
|
-
}
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "js",
|
|
1983
|
-
"name": "foundationActionsMenuStyles",
|
|
1952
|
+
"name": "foundationAccordionStyles",
|
|
1984
1953
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
1954
|
+
"name": "foundationAccordionStyles",
|
|
1955
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1987
1956
|
}
|
|
1988
1957
|
}
|
|
1989
1958
|
]
|
|
1990
1959
|
},
|
|
1991
1960
|
{
|
|
1992
1961
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
1962
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1994
1963
|
"declarations": [
|
|
1995
1964
|
{
|
|
1996
1965
|
"kind": "function",
|
|
1997
|
-
"name": "
|
|
1966
|
+
"name": "foundationAccordionTemplate",
|
|
1967
|
+
"return": {
|
|
1968
|
+
"type": {
|
|
1969
|
+
"text": "ViewTemplate<Accordion>"
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1998
1972
|
"parameters": [
|
|
1999
1973
|
{
|
|
2000
|
-
"name": "
|
|
1974
|
+
"name": "context",
|
|
2001
1975
|
"type": {
|
|
2002
|
-
"text": "
|
|
1976
|
+
"text": "ElementDefinitionContext"
|
|
2003
1977
|
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
1978
|
+
},
|
|
2011
1979
|
{
|
|
2012
|
-
"name": "
|
|
1980
|
+
"name": "definition",
|
|
2013
1981
|
"type": {
|
|
2014
|
-
"text": "
|
|
1982
|
+
"text": "FoundationElementDefinition"
|
|
2015
1983
|
}
|
|
2016
1984
|
}
|
|
2017
1985
|
]
|
|
2018
|
-
},
|
|
2019
|
-
{
|
|
2020
|
-
"kind": "variable",
|
|
2021
|
-
"name": "foundationActionsMenuTemplate",
|
|
2022
|
-
"type": {
|
|
2023
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2024
|
-
},
|
|
2025
|
-
"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`"
|
|
2026
1986
|
}
|
|
2027
1987
|
],
|
|
2028
1988
|
"exports": [
|
|
2029
1989
|
{
|
|
2030
1990
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "menuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "js",
|
|
2039
|
-
"name": "singleOptionTemplate",
|
|
2040
|
-
"declaration": {
|
|
2041
|
-
"name": "singleOptionTemplate",
|
|
2042
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
-
}
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "js",
|
|
2047
|
-
"name": "foundationActionsMenuTemplate",
|
|
1991
|
+
"name": "foundationAccordionTemplate",
|
|
2048
1992
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
1993
|
+
"name": "foundationAccordionTemplate",
|
|
1994
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2051
1995
|
}
|
|
2052
1996
|
}
|
|
2053
1997
|
]
|
|
2054
1998
|
},
|
|
2055
1999
|
{
|
|
2056
2000
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
2001
|
+
"path": "src/accordion/accordion.ts",
|
|
2058
2002
|
"declarations": [
|
|
2059
2003
|
{
|
|
2060
2004
|
"kind": "class",
|
|
2061
2005
|
"description": "",
|
|
2062
|
-
"name": "
|
|
2063
|
-
"
|
|
2006
|
+
"name": "Accordion",
|
|
2007
|
+
"superclass": {
|
|
2008
|
+
"name": "FASTAccordion",
|
|
2009
|
+
"package": "@microsoft/fast-foundation"
|
|
2010
|
+
},
|
|
2011
|
+
"tagName": "%%prefix%%-accordion",
|
|
2012
|
+
"customElement": true,
|
|
2013
|
+
"attributes": [
|
|
2064
2014
|
{
|
|
2065
|
-
"
|
|
2066
|
-
"name": "actions",
|
|
2015
|
+
"name": "expand-mode",
|
|
2067
2016
|
"type": {
|
|
2068
|
-
"text": "
|
|
2017
|
+
"text": "AccordionExpandMode"
|
|
2018
|
+
},
|
|
2019
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2020
|
+
"fieldName": "expandmode",
|
|
2021
|
+
"inheritedFrom": {
|
|
2022
|
+
"name": "Accordion",
|
|
2023
|
+
"module": "src/accordion/accordion.ts"
|
|
2069
2024
|
}
|
|
2070
|
-
}
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"members": [
|
|
2071
2028
|
{
|
|
2072
2029
|
"kind": "field",
|
|
2073
|
-
"name": "
|
|
2030
|
+
"name": "expandmode",
|
|
2074
2031
|
"type": {
|
|
2075
|
-
"text": "
|
|
2032
|
+
"text": "AccordionExpandMode"
|
|
2076
2033
|
},
|
|
2077
|
-
"
|
|
2034
|
+
"privacy": "public",
|
|
2035
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2036
|
+
"inheritedFrom": {
|
|
2037
|
+
"name": "Accordion",
|
|
2038
|
+
"module": "src/accordion/accordion.ts"
|
|
2039
|
+
}
|
|
2078
2040
|
},
|
|
2079
2041
|
{
|
|
2080
2042
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2043
|
+
"name": "activeid",
|
|
2082
2044
|
"type": {
|
|
2083
|
-
"text": "
|
|
2045
|
+
"text": "string | null"
|
|
2084
2046
|
},
|
|
2085
|
-
"
|
|
2047
|
+
"privacy": "private",
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
|
+
}
|
|
2086
2052
|
},
|
|
2087
2053
|
{
|
|
2088
2054
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2055
|
+
"name": "activeItemIndex",
|
|
2090
2056
|
"type": {
|
|
2091
|
-
"text": "
|
|
2057
|
+
"text": "number"
|
|
2092
2058
|
},
|
|
2093
|
-
"
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
"type": {
|
|
2099
|
-
"text": "string"
|
|
2059
|
+
"privacy": "private",
|
|
2060
|
+
"default": "0",
|
|
2061
|
+
"inheritedFrom": {
|
|
2062
|
+
"name": "Accordion",
|
|
2063
|
+
"module": "src/accordion/accordion.ts"
|
|
2100
2064
|
}
|
|
2101
2065
|
},
|
|
2102
2066
|
{
|
|
2103
2067
|
"kind": "field",
|
|
2104
|
-
"name": "
|
|
2068
|
+
"name": "accordionIds",
|
|
2105
2069
|
"type": {
|
|
2106
|
-
"text": "
|
|
2070
|
+
"text": "Array<string | null>"
|
|
2071
|
+
},
|
|
2072
|
+
"privacy": "private",
|
|
2073
|
+
"inheritedFrom": {
|
|
2074
|
+
"name": "Accordion",
|
|
2075
|
+
"module": "src/accordion/accordion.ts"
|
|
2107
2076
|
}
|
|
2108
2077
|
},
|
|
2109
2078
|
{
|
|
2110
2079
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2080
|
+
"name": "change",
|
|
2081
|
+
"privacy": "private",
|
|
2082
|
+
"inheritedFrom": {
|
|
2083
|
+
"name": "Accordion",
|
|
2084
|
+
"module": "src/accordion/accordion.ts"
|
|
2085
|
+
}
|
|
2116
2086
|
},
|
|
2117
2087
|
{
|
|
2118
|
-
"kind": "
|
|
2119
|
-
"name": "
|
|
2120
|
-
"
|
|
2121
|
-
|
|
2088
|
+
"kind": "method",
|
|
2089
|
+
"name": "findExpandedItem",
|
|
2090
|
+
"privacy": "private",
|
|
2091
|
+
"return": {
|
|
2092
|
+
"type": {
|
|
2093
|
+
"text": "AccordionItem | null"
|
|
2094
|
+
}
|
|
2122
2095
|
},
|
|
2123
|
-
"
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
"kind": "field",
|
|
2127
|
-
"name": "buttonAppearance",
|
|
2128
|
-
"type": {
|
|
2129
|
-
"text": "string"
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "Accordion",
|
|
2098
|
+
"module": "src/accordion/accordion.ts"
|
|
2130
2099
|
}
|
|
2131
2100
|
},
|
|
2132
2101
|
{
|
|
2133
2102
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2103
|
+
"name": "setItems",
|
|
2104
|
+
"privacy": "private",
|
|
2105
|
+
"inheritedFrom": {
|
|
2106
|
+
"name": "Accordion",
|
|
2107
|
+
"module": "src/accordion/accordion.ts"
|
|
2108
|
+
}
|
|
2139
2109
|
},
|
|
2140
2110
|
{
|
|
2141
|
-
"kind": "
|
|
2142
|
-
"name": "
|
|
2143
|
-
"
|
|
2144
|
-
|
|
2111
|
+
"kind": "method",
|
|
2112
|
+
"name": "resetItems",
|
|
2113
|
+
"privacy": "private",
|
|
2114
|
+
"return": {
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "void"
|
|
2117
|
+
}
|
|
2145
2118
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"kind": "field",
|
|
2150
|
-
"name": "singleOption",
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2119
|
+
"inheritedFrom": {
|
|
2120
|
+
"name": "Accordion",
|
|
2121
|
+
"module": "src/accordion/accordion.ts"
|
|
2153
2122
|
}
|
|
2154
2123
|
},
|
|
2155
2124
|
{
|
|
2156
2125
|
"kind": "field",
|
|
2157
|
-
"name": "
|
|
2158
|
-
"
|
|
2159
|
-
|
|
2126
|
+
"name": "removeItemListeners",
|
|
2127
|
+
"privacy": "private",
|
|
2128
|
+
"inheritedFrom": {
|
|
2129
|
+
"name": "Accordion",
|
|
2130
|
+
"module": "src/accordion/accordion.ts"
|
|
2160
2131
|
}
|
|
2161
2132
|
},
|
|
2162
2133
|
{
|
|
2163
2134
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2165
|
-
"
|
|
2166
|
-
|
|
2135
|
+
"name": "activeItemChange",
|
|
2136
|
+
"privacy": "private",
|
|
2137
|
+
"inheritedFrom": {
|
|
2138
|
+
"name": "Accordion",
|
|
2139
|
+
"module": "src/accordion/accordion.ts"
|
|
2167
2140
|
}
|
|
2168
2141
|
},
|
|
2169
2142
|
{
|
|
2170
2143
|
"kind": "method",
|
|
2171
|
-
"name": "
|
|
2172
|
-
"privacy": "private"
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
"name": "definitionChanged",
|
|
2177
|
-
"privacy": "protected",
|
|
2178
|
-
"parameters": [
|
|
2179
|
-
{
|
|
2180
|
-
"name": "oldValue",
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "any"
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "newValue",
|
|
2187
|
-
"type": {
|
|
2188
|
-
"text": "any"
|
|
2189
|
-
}
|
|
2144
|
+
"name": "getItemIds",
|
|
2145
|
+
"privacy": "private",
|
|
2146
|
+
"return": {
|
|
2147
|
+
"type": {
|
|
2148
|
+
"text": "Array<string | null>"
|
|
2190
2149
|
}
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
"privacy": "protected"
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
"kind": "method",
|
|
2200
|
-
"name": "toggleActionsMenuVisibility"
|
|
2150
|
+
},
|
|
2151
|
+
"inheritedFrom": {
|
|
2152
|
+
"name": "Accordion",
|
|
2153
|
+
"module": "src/accordion/accordion.ts"
|
|
2154
|
+
}
|
|
2201
2155
|
},
|
|
2202
2156
|
{
|
|
2203
2157
|
"kind": "method",
|
|
2204
|
-
"name": "
|
|
2205
|
-
"
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
"
|
|
2209
|
-
"text": "(rowData) => void | any"
|
|
2210
|
-
}
|
|
2158
|
+
"name": "isSingleExpandMode",
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"return": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "boolean"
|
|
2211
2163
|
}
|
|
2212
|
-
|
|
2164
|
+
},
|
|
2165
|
+
"inheritedFrom": {
|
|
2166
|
+
"name": "Accordion",
|
|
2167
|
+
"module": "src/accordion/accordion.ts"
|
|
2168
|
+
}
|
|
2213
2169
|
},
|
|
2214
2170
|
{
|
|
2215
2171
|
"kind": "field",
|
|
2216
|
-
"name": "
|
|
2217
|
-
"
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2172
|
+
"name": "handleItemKeyDown",
|
|
2173
|
+
"privacy": "private",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "Accordion",
|
|
2176
|
+
"module": "src/accordion/accordion.ts"
|
|
2177
|
+
}
|
|
2221
2178
|
},
|
|
2222
2179
|
{
|
|
2223
2180
|
"kind": "field",
|
|
2224
|
-
"name": "
|
|
2225
|
-
"
|
|
2181
|
+
"name": "handleItemFocus",
|
|
2182
|
+
"privacy": "private",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "Accordion",
|
|
2185
|
+
"module": "src/accordion/accordion.ts"
|
|
2186
|
+
}
|
|
2226
2187
|
},
|
|
2227
2188
|
{
|
|
2228
2189
|
"kind": "method",
|
|
2229
|
-
"name": "
|
|
2190
|
+
"name": "adjust",
|
|
2191
|
+
"privacy": "private",
|
|
2192
|
+
"return": {
|
|
2193
|
+
"type": {
|
|
2194
|
+
"text": "void"
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2230
2197
|
"parameters": [
|
|
2231
2198
|
{
|
|
2232
|
-
"name": "
|
|
2199
|
+
"name": "adjustment",
|
|
2233
2200
|
"type": {
|
|
2234
|
-
"text": "
|
|
2201
|
+
"text": "number"
|
|
2235
2202
|
}
|
|
2236
2203
|
}
|
|
2237
|
-
]
|
|
2204
|
+
],
|
|
2205
|
+
"inheritedFrom": {
|
|
2206
|
+
"name": "Accordion",
|
|
2207
|
+
"module": "src/accordion/accordion.ts"
|
|
2208
|
+
}
|
|
2238
2209
|
},
|
|
2239
2210
|
{
|
|
2240
2211
|
"kind": "method",
|
|
2241
|
-
"name": "
|
|
2242
|
-
"
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
"
|
|
2246
|
-
"text": "string"
|
|
2247
|
-
}
|
|
2212
|
+
"name": "focusItem",
|
|
2213
|
+
"privacy": "private",
|
|
2214
|
+
"return": {
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "void"
|
|
2248
2217
|
}
|
|
2249
|
-
|
|
2218
|
+
},
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "Accordion",
|
|
2221
|
+
"module": "src/accordion/accordion.ts"
|
|
2222
|
+
}
|
|
2250
2223
|
},
|
|
2251
2224
|
{
|
|
2252
2225
|
"kind": "field",
|
|
@@ -2360,107 +2333,78 @@
|
|
|
2360
2333
|
}
|
|
2361
2334
|
}
|
|
2362
2335
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
2365
|
-
"name": "is-vertical",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"default": "false",
|
|
2370
|
-
"fieldName": "isVertical"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "add-default-actions",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "boolean"
|
|
2376
|
-
},
|
|
2377
|
-
"default": "true",
|
|
2378
|
-
"fieldName": "addDefaultActions"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "auto-close-on-action",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "true",
|
|
2386
|
-
"fieldName": "autoCloseOnAction"
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "name",
|
|
2390
|
-
"type": {
|
|
2391
|
-
"text": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "'Actions'",
|
|
2394
|
-
"fieldName": "name"
|
|
2395
|
-
},
|
|
2396
|
-
{
|
|
2397
|
-
"name": "open",
|
|
2398
|
-
"type": {
|
|
2399
|
-
"text": "boolean"
|
|
2400
|
-
},
|
|
2401
|
-
"default": "false",
|
|
2402
|
-
"fieldName": "open"
|
|
2403
|
-
},
|
|
2404
|
-
{
|
|
2405
|
-
"name": "buttonAppearance",
|
|
2406
|
-
"type": {
|
|
2407
|
-
"text": "string"
|
|
2408
|
-
},
|
|
2409
|
-
"fieldName": "buttonAppearance"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "hide-disabled",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "boolean"
|
|
2415
|
-
},
|
|
2416
|
-
"default": "false",
|
|
2417
|
-
"fieldName": "hideDisabled"
|
|
2418
|
-
},
|
|
2336
|
+
"events": [
|
|
2419
2337
|
{
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2338
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "Accordion",
|
|
2342
|
+
"module": "src/accordion/accordion.ts"
|
|
2343
|
+
}
|
|
2426
2344
|
}
|
|
2427
|
-
]
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2431
2352
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2434
2354
|
},
|
|
2435
2355
|
{
|
|
2436
2356
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2357
|
+
"name": "defaultAccordionConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordion",
|
|
2366
|
+
"description": "The Foundation Accordion",
|
|
2439
2367
|
"privacy": "public"
|
|
2440
2368
|
}
|
|
2441
2369
|
],
|
|
2442
2370
|
"exports": [
|
|
2443
2371
|
{
|
|
2444
2372
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2373
|
+
"name": "Accordion",
|
|
2446
2374
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2375
|
+
"name": "Accordion",
|
|
2376
|
+
"module": "src/accordion/accordion.ts"
|
|
2449
2377
|
}
|
|
2450
2378
|
},
|
|
2451
2379
|
{
|
|
2452
2380
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionShadowOptions",
|
|
2454
2382
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionShadowOptions",
|
|
2384
|
+
"module": "src/accordion/accordion.ts"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionConfig",
|
|
2392
|
+
"module": "src/accordion/accordion.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "foundationAccordion",
|
|
2398
|
+
"declaration": {
|
|
2399
|
+
"name": "foundationAccordion",
|
|
2400
|
+
"module": "src/accordion/accordion.ts"
|
|
2457
2401
|
}
|
|
2458
2402
|
}
|
|
2459
2403
|
]
|
|
2460
2404
|
},
|
|
2461
2405
|
{
|
|
2462
2406
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion/index.ts",
|
|
2464
2408
|
"declarations": [],
|
|
2465
2409
|
"exports": [
|
|
2466
2410
|
{
|
|
@@ -2468,7 +2412,7 @@
|
|
|
2468
2412
|
"name": "*",
|
|
2469
2413
|
"declaration": {
|
|
2470
2414
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion.template"
|
|
2472
2416
|
}
|
|
2473
2417
|
},
|
|
2474
2418
|
{
|
|
@@ -2476,7 +2420,7 @@
|
|
|
2476
2420
|
"name": "*",
|
|
2477
2421
|
"declaration": {
|
|
2478
2422
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion.styles"
|
|
2480
2424
|
}
|
|
2481
2425
|
},
|
|
2482
2426
|
{
|
|
@@ -2484,122 +2428,210 @@
|
|
|
2484
2428
|
"name": "*",
|
|
2485
2429
|
"declaration": {
|
|
2486
2430
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion"
|
|
2488
2432
|
}
|
|
2489
2433
|
}
|
|
2490
2434
|
]
|
|
2491
2435
|
},
|
|
2492
2436
|
{
|
|
2493
2437
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2495
2439
|
"declarations": [
|
|
2496
2440
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
"
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2441
|
+
"kind": "function",
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
2443
|
+
"return": {
|
|
2444
|
+
"type": {
|
|
2445
|
+
"text": "ElementStyles"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
"parameters": [
|
|
2449
|
+
{
|
|
2450
|
+
"name": "context",
|
|
2451
|
+
"type": {
|
|
2452
|
+
"text": "ElementDefinitionContext"
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"name": "definition",
|
|
2457
|
+
"type": {
|
|
2458
|
+
"text": "FoundationElementDefinition"
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "function",
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
2466
|
+
"return": {
|
|
2467
|
+
"type": {
|
|
2468
|
+
"text": "ElementStyles"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"parameters": [
|
|
2472
|
+
{
|
|
2473
|
+
"name": "context",
|
|
2474
|
+
"type": {
|
|
2475
|
+
"text": "ElementDefinitionContext"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "definition",
|
|
2480
|
+
"type": {
|
|
2481
|
+
"text": "FoundationElementDefinition"
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2485
|
+
}
|
|
2486
|
+
],
|
|
2487
|
+
"exports": [
|
|
2488
|
+
{
|
|
2489
|
+
"kind": "js",
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2491
|
+
"declaration": {
|
|
2492
|
+
"name": "actionsMenuBaseStyles",
|
|
2493
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"kind": "js",
|
|
2498
|
+
"name": "foundationActionsMenuStyles",
|
|
2499
|
+
"declaration": {
|
|
2500
|
+
"name": "foundationActionsMenuStyles",
|
|
2501
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
]
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"kind": "javascript-module",
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2516
2509
|
"declarations": [
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "function",
|
|
2512
|
+
"name": "menuTemplate",
|
|
2513
|
+
"parameters": [
|
|
2514
|
+
{
|
|
2515
|
+
"name": "prefix",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "string"
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"kind": "function",
|
|
2524
|
+
"name": "singleOptionTemplate",
|
|
2525
|
+
"parameters": [
|
|
2526
|
+
{
|
|
2527
|
+
"name": "prefix",
|
|
2528
|
+
"type": {
|
|
2529
|
+
"text": "string"
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2517
2534
|
{
|
|
2518
2535
|
"kind": "variable",
|
|
2519
|
-
"name": "
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2520
2537
|
"type": {
|
|
2521
|
-
"text": "ViewTemplate<
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2522
2539
|
},
|
|
2523
|
-
"default": "html`\n ${(x) =>
|
|
2540
|
+
"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`"
|
|
2524
2541
|
}
|
|
2525
2542
|
],
|
|
2526
2543
|
"exports": [
|
|
2527
2544
|
{
|
|
2528
2545
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
2530
2547
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/
|
|
2548
|
+
"name": "menuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"kind": "js",
|
|
2554
|
+
"name": "singleOptionTemplate",
|
|
2555
|
+
"declaration": {
|
|
2556
|
+
"name": "singleOptionTemplate",
|
|
2557
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "js",
|
|
2562
|
+
"name": "foundationActionsMenuTemplate",
|
|
2563
|
+
"declaration": {
|
|
2564
|
+
"name": "foundationActionsMenuTemplate",
|
|
2565
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2533
2566
|
}
|
|
2534
2567
|
}
|
|
2535
2568
|
]
|
|
2536
2569
|
},
|
|
2537
2570
|
{
|
|
2538
2571
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2540
2573
|
"declarations": [
|
|
2541
2574
|
{
|
|
2542
2575
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "ActionsMenu",
|
|
2545
2578
|
"members": [
|
|
2546
2579
|
{
|
|
2547
2580
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
2549
2582
|
"type": {
|
|
2550
|
-
"text": "
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
2551
2584
|
}
|
|
2552
2585
|
},
|
|
2553
2586
|
{
|
|
2554
2587
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
2556
2589
|
"type": {
|
|
2557
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2558
2591
|
},
|
|
2559
|
-
"default": "
|
|
2592
|
+
"default": "false"
|
|
2560
2593
|
},
|
|
2561
2594
|
{
|
|
2562
2595
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
2564
2597
|
"type": {
|
|
2565
2598
|
"text": "boolean"
|
|
2566
|
-
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2567
2601
|
},
|
|
2568
2602
|
{
|
|
2569
2603
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2571
2605
|
"type": {
|
|
2572
|
-
"text": "
|
|
2606
|
+
"text": "boolean"
|
|
2573
2607
|
},
|
|
2574
|
-
"default": "
|
|
2608
|
+
"default": "true"
|
|
2575
2609
|
},
|
|
2576
2610
|
{
|
|
2577
2611
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2612
|
+
"name": "classNames",
|
|
2579
2613
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2582
|
-
"default": "false"
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
}
|
|
2583
2616
|
},
|
|
2584
2617
|
{
|
|
2585
2618
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
2587
2620
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
}
|
|
2590
|
-
"default": "null"
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2591
2623
|
},
|
|
2592
2624
|
{
|
|
2593
2625
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2626
|
+
"name": "name",
|
|
2595
2627
|
"type": {
|
|
2596
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2597
2629
|
},
|
|
2598
|
-
"default": "
|
|
2630
|
+
"default": "'Actions'"
|
|
2599
2631
|
},
|
|
2600
2632
|
{
|
|
2601
2633
|
"kind": "field",
|
|
2602
|
-
"name": "
|
|
2634
|
+
"name": "open",
|
|
2603
2635
|
"type": {
|
|
2604
2636
|
"text": "boolean"
|
|
2605
2637
|
},
|
|
@@ -2607,15 +2639,14 @@
|
|
|
2607
2639
|
},
|
|
2608
2640
|
{
|
|
2609
2641
|
"kind": "field",
|
|
2610
|
-
"name": "
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2611
2643
|
"type": {
|
|
2612
|
-
"text": "
|
|
2613
|
-
}
|
|
2614
|
-
"default": "[]"
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2615
2646
|
},
|
|
2616
2647
|
{
|
|
2617
2648
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2649
|
+
"name": "hideDisabled",
|
|
2619
2650
|
"type": {
|
|
2620
2651
|
"text": "boolean"
|
|
2621
2652
|
},
|
|
@@ -2623,125 +2654,114 @@
|
|
|
2623
2654
|
},
|
|
2624
2655
|
{
|
|
2625
2656
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2627
2658
|
"type": {
|
|
2628
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2629
2660
|
},
|
|
2630
|
-
"
|
|
2661
|
+
"default": "false"
|
|
2631
2662
|
},
|
|
2632
2663
|
{
|
|
2633
2664
|
"kind": "field",
|
|
2634
|
-
"name": "
|
|
2665
|
+
"name": "singleOption",
|
|
2635
2666
|
"type": {
|
|
2636
|
-
"text": "
|
|
2637
|
-
}
|
|
2638
|
-
"privacy": "private",
|
|
2639
|
-
"default": "null"
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2640
2669
|
},
|
|
2641
2670
|
{
|
|
2642
2671
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2644
2673
|
"type": {
|
|
2645
|
-
"text": "
|
|
2646
|
-
}
|
|
2647
|
-
"privacy": "private",
|
|
2648
|
-
"default": "null"
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2649
2676
|
},
|
|
2650
2677
|
{
|
|
2651
2678
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2653
2680
|
"type": {
|
|
2654
|
-
"text": "
|
|
2655
|
-
}
|
|
2656
|
-
"readonly": true
|
|
2681
|
+
"text": "HTMLElement"
|
|
2682
|
+
}
|
|
2657
2683
|
},
|
|
2658
2684
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
"text": "CriteriaChip[]"
|
|
2663
|
-
},
|
|
2664
|
-
"readonly": true
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2665
2688
|
},
|
|
2666
2689
|
{
|
|
2667
2690
|
"kind": "method",
|
|
2668
|
-
"name": "
|
|
2669
|
-
"privacy": "
|
|
2670
|
-
"return": {
|
|
2671
|
-
"type": {
|
|
2672
|
-
"text": "string"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2675
2693
|
"parameters": [
|
|
2676
2694
|
{
|
|
2677
|
-
"name": "
|
|
2695
|
+
"name": "oldValue",
|
|
2678
2696
|
"type": {
|
|
2679
|
-
"text": "
|
|
2697
|
+
"text": "any"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"name": "newValue",
|
|
2702
|
+
"type": {
|
|
2703
|
+
"text": "any"
|
|
2680
2704
|
}
|
|
2681
2705
|
}
|
|
2682
2706
|
]
|
|
2683
2707
|
},
|
|
2684
2708
|
{
|
|
2685
2709
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2688
|
-
"type": {
|
|
2689
|
-
"text": "void"
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2692
2712
|
},
|
|
2693
2713
|
{
|
|
2694
2714
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
},
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2701
2720
|
"parameters": [
|
|
2702
2721
|
{
|
|
2703
|
-
"name": "
|
|
2704
|
-
"type": {
|
|
2705
|
-
"text": "number"
|
|
2706
|
-
}
|
|
2707
|
-
},
|
|
2708
|
-
{
|
|
2709
|
-
"name": "clauseIndex",
|
|
2722
|
+
"name": "callback",
|
|
2710
2723
|
"type": {
|
|
2711
|
-
"text": "
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2712
2725
|
}
|
|
2713
2726
|
}
|
|
2714
2727
|
]
|
|
2715
2728
|
},
|
|
2716
2729
|
{
|
|
2717
|
-
"kind": "
|
|
2718
|
-
"name": "
|
|
2719
|
-
"
|
|
2720
|
-
"
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
}
|
|
2724
|
-
},
|
|
2725
|
-
{
|
|
2726
|
-
"kind": "method",
|
|
2727
|
-
"name": "handleSubmit"
|
|
2728
|
-
},
|
|
2729
|
-
{
|
|
2730
|
-
"kind": "method",
|
|
2731
|
-
"name": "handleBlur"
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2732
2736
|
},
|
|
2733
2737
|
{
|
|
2734
|
-
"kind": "
|
|
2735
|
-
"name": "
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2736
2741
|
},
|
|
2737
2742
|
{
|
|
2738
2743
|
"kind": "method",
|
|
2739
|
-
"name": "
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2740
2753
|
},
|
|
2741
2754
|
{
|
|
2742
2755
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2745
2765
|
},
|
|
2746
2766
|
{
|
|
2747
2767
|
"kind": "field",
|
|
@@ -2855,520 +2875,339 @@
|
|
|
2855
2875
|
}
|
|
2856
2876
|
}
|
|
2857
2877
|
],
|
|
2858
|
-
"
|
|
2878
|
+
"attributes": [
|
|
2859
2879
|
{
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2880
|
+
"name": "is-vertical",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2862
2886
|
},
|
|
2863
2887
|
{
|
|
2864
|
-
"
|
|
2865
|
-
"
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2888
|
+
"name": "add-default-actions",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
2869
2895
|
{
|
|
2870
|
-
"name": "
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "name",
|
|
2871
2905
|
"type": {
|
|
2872
2906
|
"text": "string"
|
|
2873
2907
|
},
|
|
2874
|
-
"default": "'
|
|
2875
|
-
"fieldName": "
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
2876
2910
|
},
|
|
2877
2911
|
{
|
|
2912
|
+
"name": "open",
|
|
2878
2913
|
"type": {
|
|
2879
2914
|
"text": "boolean"
|
|
2880
2915
|
},
|
|
2881
|
-
"
|
|
2916
|
+
"default": "false",
|
|
2917
|
+
"fieldName": "open"
|
|
2918
|
+
},
|
|
2919
|
+
{
|
|
2920
|
+
"name": "buttonAppearance",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"fieldName": "buttonAppearance"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "hide-disabled",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "boolean"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "false",
|
|
2932
|
+
"fieldName": "hideDisabled"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "hide-menu-single-option",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "boolean"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "false",
|
|
2940
|
+
"fieldName": "hideMenuSingleOption"
|
|
2882
2941
|
}
|
|
2883
2942
|
],
|
|
2884
2943
|
"superclass": {
|
|
2885
2944
|
"name": "FoundationElement",
|
|
2886
2945
|
"package": "@microsoft/fast-foundation"
|
|
2887
2946
|
},
|
|
2888
|
-
"tagName": "%%prefix%%-
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2889
2948
|
"customElement": true
|
|
2890
2949
|
},
|
|
2891
2950
|
{
|
|
2892
2951
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2894
|
-
"
|
|
2895
|
-
|
|
2896
|
-
},
|
|
2897
|
-
"default": "undefined"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"kind": "variable",
|
|
2901
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
-
"type": {
|
|
2903
|
-
"text": "object"
|
|
2904
|
-
},
|
|
2905
|
-
"default": "{}"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "variable",
|
|
2909
|
-
"name": "foundationAiCriteriaSearch"
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
2910
2955
|
}
|
|
2911
2956
|
],
|
|
2912
2957
|
"exports": [
|
|
2913
2958
|
{
|
|
2914
2959
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "AiCriteriaSearch",
|
|
2918
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2960
|
+
"name": "ActionsMenu",
|
|
2932
2961
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2935
2964
|
}
|
|
2936
2965
|
},
|
|
2937
2966
|
{
|
|
2938
2967
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
2940
2969
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2943
2972
|
}
|
|
2944
2973
|
}
|
|
2945
2974
|
]
|
|
2946
2975
|
},
|
|
2947
2976
|
{
|
|
2948
2977
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
2950
2979
|
"declarations": [],
|
|
2951
2980
|
"exports": [
|
|
2952
2981
|
{
|
|
2953
2982
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
2983
|
+
"name": "*",
|
|
2955
2984
|
"declaration": {
|
|
2956
|
-
"name": "
|
|
2957
|
-
"
|
|
2985
|
+
"name": "*",
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
2958
2987
|
}
|
|
2959
2988
|
},
|
|
2960
2989
|
{
|
|
2961
2990
|
"kind": "js",
|
|
2962
|
-
"name": "
|
|
2991
|
+
"name": "*",
|
|
2963
2992
|
"declaration": {
|
|
2964
|
-
"name": "
|
|
2965
|
-
"
|
|
2993
|
+
"name": "*",
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
2966
2995
|
}
|
|
2967
2996
|
},
|
|
2968
2997
|
{
|
|
2969
2998
|
"kind": "js",
|
|
2970
|
-
"name": "
|
|
2999
|
+
"name": "*",
|
|
2971
3000
|
"declaration": {
|
|
2972
|
-
"name": "
|
|
2973
|
-
"
|
|
3001
|
+
"name": "*",
|
|
3002
|
+
"package": "./actions-menu"
|
|
2974
3003
|
}
|
|
2975
|
-
}
|
|
3004
|
+
}
|
|
3005
|
+
]
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "javascript-module",
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3010
|
+
"declarations": [
|
|
2976
3011
|
{
|
|
2977
|
-
"kind": "
|
|
2978
|
-
"name": "
|
|
2979
|
-
"
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
},
|
|
3012
|
+
"kind": "variable",
|
|
3013
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3014
|
+
"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`"
|
|
3015
|
+
}
|
|
3016
|
+
],
|
|
3017
|
+
"exports": [
|
|
2984
3018
|
{
|
|
2985
3019
|
"kind": "js",
|
|
2986
3020
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
3021
|
"declaration": {
|
|
2988
3022
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
-
"module": "
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2990
3024
|
}
|
|
2991
|
-
}
|
|
3025
|
+
}
|
|
3026
|
+
]
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "javascript-module",
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3031
|
+
"declarations": [
|
|
2992
3032
|
{
|
|
2993
|
-
"kind": "
|
|
3033
|
+
"kind": "variable",
|
|
2994
3034
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
-
"
|
|
2996
|
-
"
|
|
2997
|
-
|
|
2998
|
-
}
|
|
2999
|
-
}
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
"name": "*",
|
|
3003
|
-
"declaration": {
|
|
3004
|
-
"name": "*",
|
|
3005
|
-
"package": "./validation/criteria-ir"
|
|
3006
|
-
}
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "js",
|
|
3010
|
-
"name": "*",
|
|
3011
|
-
"declaration": {
|
|
3012
|
-
"name": "*",
|
|
3013
|
-
"package": "./validation/operator-map"
|
|
3014
|
-
}
|
|
3015
|
-
},
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3037
|
+
},
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3039
|
+
}
|
|
3040
|
+
],
|
|
3041
|
+
"exports": [
|
|
3016
3042
|
{
|
|
3017
3043
|
"kind": "js",
|
|
3018
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3019
3045
|
"declaration": {
|
|
3020
|
-
"name": "
|
|
3021
|
-
"
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3022
3048
|
}
|
|
3023
3049
|
}
|
|
3024
3050
|
]
|
|
3025
3051
|
},
|
|
3026
3052
|
{
|
|
3027
3053
|
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3029
3055
|
"declarations": [
|
|
3030
3056
|
{
|
|
3031
|
-
"kind": "
|
|
3032
|
-
"
|
|
3033
|
-
"
|
|
3034
|
-
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3057
|
+
"kind": "class",
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"members": [
|
|
3039
3061
|
{
|
|
3040
|
-
"
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "providerRegistry",
|
|
3041
3064
|
"type": {
|
|
3042
|
-
"text": "
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3043
3066
|
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"kind": "function",
|
|
3050
|
-
"name": "showCriteriaError",
|
|
3051
|
-
"return": {
|
|
3052
|
-
"type": {
|
|
3053
|
-
"text": "void"
|
|
3054
|
-
}
|
|
3055
|
-
},
|
|
3056
|
-
"parameters": [
|
|
3067
|
+
},
|
|
3057
3068
|
{
|
|
3058
|
-
"
|
|
3069
|
+
"kind": "field",
|
|
3070
|
+
"name": "placeholder",
|
|
3059
3071
|
"type": {
|
|
3060
3072
|
"text": "string"
|
|
3061
3073
|
},
|
|
3062
|
-
"
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3063
3075
|
},
|
|
3064
3076
|
{
|
|
3065
|
-
"
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "disabled",
|
|
3066
3079
|
"type": {
|
|
3067
|
-
"text": "
|
|
3068
|
-
}
|
|
3069
|
-
"description": "Error message to display"
|
|
3080
|
+
"text": "boolean"
|
|
3081
|
+
}
|
|
3070
3082
|
},
|
|
3071
3083
|
{
|
|
3072
|
-
"
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "inputValue",
|
|
3073
3086
|
"type": {
|
|
3074
3087
|
"text": "string"
|
|
3075
3088
|
},
|
|
3076
|
-
"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
-
}
|
|
3081
|
-
],
|
|
3082
|
-
"exports": [
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "js",
|
|
3085
|
-
"name": "formatValidationErrors",
|
|
3086
|
-
"declaration": {
|
|
3087
|
-
"name": "formatValidationErrors",
|
|
3088
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3089
|
-
}
|
|
3090
|
-
},
|
|
3091
|
-
{
|
|
3092
|
-
"kind": "js",
|
|
3093
|
-
"name": "showCriteriaError",
|
|
3094
|
-
"declaration": {
|
|
3095
|
-
"name": "showCriteriaError",
|
|
3096
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3097
|
-
}
|
|
3098
|
-
}
|
|
3099
|
-
]
|
|
3100
|
-
},
|
|
3101
|
-
{
|
|
3102
|
-
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/accordion/accordion.styles.ts",
|
|
3104
|
-
"declarations": [
|
|
3105
|
-
{
|
|
3106
|
-
"kind": "function",
|
|
3107
|
-
"name": "foundationAccordionStyles",
|
|
3108
|
-
"return": {
|
|
3109
|
-
"type": {
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"parameters": [
|
|
3114
|
-
{
|
|
3115
|
-
"name": "context",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "ElementDefinitionContext"
|
|
3118
|
-
}
|
|
3089
|
+
"default": "''"
|
|
3119
3090
|
},
|
|
3120
3091
|
{
|
|
3121
|
-
"
|
|
3122
|
-
"
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
3127
|
-
}
|
|
3128
|
-
],
|
|
3129
|
-
"exports": [
|
|
3130
|
-
{
|
|
3131
|
-
"kind": "js",
|
|
3132
|
-
"name": "foundationAccordionStyles",
|
|
3133
|
-
"declaration": {
|
|
3134
|
-
"name": "foundationAccordionStyles",
|
|
3135
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
3136
|
-
}
|
|
3137
|
-
}
|
|
3138
|
-
]
|
|
3139
|
-
},
|
|
3140
|
-
{
|
|
3141
|
-
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/accordion/accordion.template.ts",
|
|
3143
|
-
"declarations": [
|
|
3144
|
-
{
|
|
3145
|
-
"kind": "function",
|
|
3146
|
-
"name": "foundationAccordionTemplate",
|
|
3147
|
-
"return": {
|
|
3148
|
-
"type": {
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
"parameters": [
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3092
|
+
"kind": "field",
|
|
3093
|
+
"name": "isInterpreting",
|
|
3155
3094
|
"type": {
|
|
3156
|
-
"text": "
|
|
3157
|
-
}
|
|
3095
|
+
"text": "boolean"
|
|
3096
|
+
},
|
|
3097
|
+
"default": "false"
|
|
3158
3098
|
},
|
|
3159
3099
|
{
|
|
3160
|
-
"
|
|
3161
|
-
"
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3166
|
-
}
|
|
3167
|
-
],
|
|
3168
|
-
"exports": [
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "js",
|
|
3171
|
-
"name": "foundationAccordionTemplate",
|
|
3172
|
-
"declaration": {
|
|
3173
|
-
"name": "foundationAccordionTemplate",
|
|
3174
|
-
"module": "src/accordion/accordion.template.ts"
|
|
3175
|
-
}
|
|
3176
|
-
}
|
|
3177
|
-
]
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/accordion/accordion.ts",
|
|
3182
|
-
"declarations": [
|
|
3183
|
-
{
|
|
3184
|
-
"kind": "class",
|
|
3185
|
-
"description": "",
|
|
3186
|
-
"name": "Accordion",
|
|
3187
|
-
"superclass": {
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3194
|
-
{
|
|
3195
|
-
"name": "expand-mode",
|
|
3100
|
+
"kind": "field",
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3196
3102
|
"type": {
|
|
3197
|
-
"text": "
|
|
3103
|
+
"text": "string | null"
|
|
3198
3104
|
},
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3105
|
+
"default": "null"
|
|
3106
|
+
},
|
|
3208
3107
|
{
|
|
3209
3108
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3109
|
+
"name": "activeGroups",
|
|
3211
3110
|
"type": {
|
|
3212
|
-
"text": "
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3213
3112
|
},
|
|
3214
|
-
"
|
|
3215
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3216
|
-
"inheritedFrom": {
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3113
|
+
"default": "[]"
|
|
3220
3114
|
},
|
|
3221
3115
|
{
|
|
3222
3116
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3117
|
+
"name": "showingChips",
|
|
3224
3118
|
"type": {
|
|
3225
|
-
"text": "
|
|
3119
|
+
"text": "boolean"
|
|
3226
3120
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3121
|
+
"default": "false"
|
|
3232
3122
|
},
|
|
3233
3123
|
{
|
|
3234
3124
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3236
3126
|
"type": {
|
|
3237
|
-
"text": "
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3238
3128
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3129
|
+
"default": "[]"
|
|
3245
3130
|
},
|
|
3246
3131
|
{
|
|
3247
3132
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3133
|
+
"name": "isRecording",
|
|
3249
3134
|
"type": {
|
|
3250
|
-
"text": "
|
|
3135
|
+
"text": "boolean"
|
|
3251
3136
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3137
|
+
"default": "false"
|
|
3257
3138
|
},
|
|
3258
3139
|
{
|
|
3259
3140
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
"name": "Accordion",
|
|
3264
|
-
"module": "src/accordion/accordion.ts"
|
|
3265
|
-
}
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"kind": "method",
|
|
3269
|
-
"name": "findExpandedItem",
|
|
3270
|
-
"privacy": "private",
|
|
3271
|
-
"return": {
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "AccordionItem | null"
|
|
3274
|
-
}
|
|
3141
|
+
"name": "textAreaRef",
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3275
3144
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3145
|
+
"privacy": "public"
|
|
3280
3146
|
},
|
|
3281
3147
|
{
|
|
3282
3148
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
"name": "Accordion",
|
|
3287
|
-
"module": "src/accordion/accordion.ts"
|
|
3288
|
-
}
|
|
3289
|
-
},
|
|
3290
|
-
{
|
|
3291
|
-
"kind": "method",
|
|
3292
|
-
"name": "resetItems",
|
|
3293
|
-
"privacy": "private",
|
|
3294
|
-
"return": {
|
|
3295
|
-
"type": {
|
|
3296
|
-
"text": "void"
|
|
3297
|
-
}
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3298
3152
|
},
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
|
-
}
|
|
3153
|
+
"privacy": "private",
|
|
3154
|
+
"default": "null"
|
|
3303
3155
|
},
|
|
3304
3156
|
{
|
|
3305
3157
|
"kind": "field",
|
|
3306
|
-
"name": "
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3307
3162
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
"name": "Accordion",
|
|
3310
|
-
"module": "src/accordion/accordion.ts"
|
|
3311
|
-
}
|
|
3163
|
+
"default": "null"
|
|
3312
3164
|
},
|
|
3313
3165
|
{
|
|
3314
3166
|
"kind": "field",
|
|
3315
|
-
"name": "
|
|
3316
|
-
"
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
}
|
|
3167
|
+
"name": "speechAvailable",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3321
3172
|
},
|
|
3322
3173
|
{
|
|
3323
|
-
"kind": "
|
|
3324
|
-
"name": "
|
|
3325
|
-
"
|
|
3326
|
-
|
|
3327
|
-
"type": {
|
|
3328
|
-
"text": "Array<string | null>"
|
|
3329
|
-
}
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3330
3178
|
},
|
|
3331
|
-
"
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
|
-
}
|
|
3179
|
+
"readonly": true
|
|
3335
3180
|
},
|
|
3336
3181
|
{
|
|
3337
3182
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3339
3184
|
"privacy": "private",
|
|
3340
3185
|
"return": {
|
|
3341
3186
|
"type": {
|
|
3342
|
-
"text": "
|
|
3187
|
+
"text": "string"
|
|
3343
3188
|
}
|
|
3344
3189
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
"name": "handleItemFocus",
|
|
3362
|
-
"privacy": "private",
|
|
3363
|
-
"inheritedFrom": {
|
|
3364
|
-
"name": "Accordion",
|
|
3365
|
-
"module": "src/accordion/accordion.ts"
|
|
3190
|
+
"parameters": [
|
|
3191
|
+
{
|
|
3192
|
+
"name": "fieldName",
|
|
3193
|
+
"type": {
|
|
3194
|
+
"text": "string"
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
]
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"kind": "method",
|
|
3201
|
+
"name": "toggleCriteriaView",
|
|
3202
|
+
"return": {
|
|
3203
|
+
"type": {
|
|
3204
|
+
"text": "void"
|
|
3205
|
+
}
|
|
3366
3206
|
}
|
|
3367
3207
|
},
|
|
3368
3208
|
{
|
|
3369
3209
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"privacy": "private",
|
|
3210
|
+
"name": "removeChip",
|
|
3372
3211
|
"return": {
|
|
3373
3212
|
"type": {
|
|
3374
3213
|
"text": "void"
|
|
@@ -3376,31 +3215,49 @@
|
|
|
3376
3215
|
},
|
|
3377
3216
|
"parameters": [
|
|
3378
3217
|
{
|
|
3379
|
-
"name": "
|
|
3218
|
+
"name": "groupIndex",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3380
3225
|
"type": {
|
|
3381
3226
|
"text": "number"
|
|
3382
3227
|
}
|
|
3383
3228
|
}
|
|
3384
|
-
]
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
|
-
}
|
|
3229
|
+
]
|
|
3389
3230
|
},
|
|
3390
3231
|
{
|
|
3391
3232
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3233
|
+
"name": "clearChips",
|
|
3394
3234
|
"return": {
|
|
3395
3235
|
"type": {
|
|
3396
3236
|
"text": "void"
|
|
3397
3237
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3238
|
}
|
|
3403
3239
|
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "method",
|
|
3246
|
+
"name": "handleBlur"
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"kind": "method",
|
|
3250
|
+
"name": "clear"
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "method",
|
|
3254
|
+
"name": "toggleSpeechInput"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"kind": "method",
|
|
3258
|
+
"name": "clearSpeechApplyDebounce",
|
|
3259
|
+
"privacy": "private"
|
|
3260
|
+
},
|
|
3404
3261
|
{
|
|
3405
3262
|
"kind": "field",
|
|
3406
3263
|
"name": "_presentation",
|
|
@@ -3515,26 +3372,48 @@
|
|
|
3515
3372
|
],
|
|
3516
3373
|
"events": [
|
|
3517
3374
|
{
|
|
3518
|
-
"description": "
|
|
3519
|
-
"name": "
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3375
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3376
|
+
"name": "criteria-changed"
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3380
|
+
"name": "validation-errors"
|
|
3524
3381
|
}
|
|
3525
|
-
]
|
|
3382
|
+
],
|
|
3383
|
+
"attributes": [
|
|
3384
|
+
{
|
|
3385
|
+
"name": "placeholder",
|
|
3386
|
+
"type": {
|
|
3387
|
+
"text": "string"
|
|
3388
|
+
},
|
|
3389
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3390
|
+
"fieldName": "placeholder"
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"type": {
|
|
3394
|
+
"text": "boolean"
|
|
3395
|
+
},
|
|
3396
|
+
"fieldName": "disabled"
|
|
3397
|
+
}
|
|
3398
|
+
],
|
|
3399
|
+
"superclass": {
|
|
3400
|
+
"name": "FoundationElement",
|
|
3401
|
+
"package": "@microsoft/fast-foundation"
|
|
3402
|
+
},
|
|
3403
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3404
|
+
"customElement": true
|
|
3526
3405
|
},
|
|
3527
3406
|
{
|
|
3528
3407
|
"kind": "variable",
|
|
3529
|
-
"name": "
|
|
3408
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3530
3409
|
"type": {
|
|
3531
3410
|
"text": "ShadowRootInit"
|
|
3532
3411
|
},
|
|
3533
|
-
"default": "
|
|
3412
|
+
"default": "undefined"
|
|
3534
3413
|
},
|
|
3535
3414
|
{
|
|
3536
3415
|
"kind": "variable",
|
|
3537
|
-
"name": "
|
|
3416
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3538
3417
|
"type": {
|
|
3539
3418
|
"text": "object"
|
|
3540
3419
|
},
|
|
@@ -3542,57 +3421,103 @@
|
|
|
3542
3421
|
},
|
|
3543
3422
|
{
|
|
3544
3423
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3424
|
+
"name": "foundationAiCriteriaSearch"
|
|
3548
3425
|
}
|
|
3549
3426
|
],
|
|
3550
3427
|
"exports": [
|
|
3551
3428
|
{
|
|
3552
3429
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3430
|
+
"name": "AiCriteriaSearch",
|
|
3554
3431
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3432
|
+
"name": "AiCriteriaSearch",
|
|
3433
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3557
3434
|
}
|
|
3558
3435
|
},
|
|
3559
3436
|
{
|
|
3560
3437
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3438
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3562
3439
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3440
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3441
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3565
3442
|
}
|
|
3566
3443
|
},
|
|
3567
3444
|
{
|
|
3568
3445
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3446
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3570
3447
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "src/
|
|
3448
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3449
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3573
3450
|
}
|
|
3574
3451
|
},
|
|
3575
3452
|
{
|
|
3576
3453
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3454
|
+
"name": "foundationAiCriteriaSearch",
|
|
3578
3455
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "src/
|
|
3456
|
+
"name": "foundationAiCriteriaSearch",
|
|
3457
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3581
3458
|
}
|
|
3582
3459
|
}
|
|
3583
3460
|
]
|
|
3584
3461
|
},
|
|
3585
3462
|
{
|
|
3586
3463
|
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/
|
|
3464
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3588
3465
|
"declarations": [],
|
|
3589
3466
|
"exports": [
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "js",
|
|
3469
|
+
"name": "AiCriteriaSearch",
|
|
3470
|
+
"declaration": {
|
|
3471
|
+
"name": "AiCriteriaSearch",
|
|
3472
|
+
"module": "./ai-criteria-search"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "js",
|
|
3477
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3478
|
+
"declaration": {
|
|
3479
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3480
|
+
"module": "./ai-criteria-search"
|
|
3481
|
+
}
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"kind": "js",
|
|
3485
|
+
"name": "foundationAiCriteriaSearch",
|
|
3486
|
+
"declaration": {
|
|
3487
|
+
"name": "foundationAiCriteriaSearch",
|
|
3488
|
+
"module": "./ai-criteria-search"
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"kind": "js",
|
|
3493
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3494
|
+
"declaration": {
|
|
3495
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3496
|
+
"module": "./ai-criteria-search"
|
|
3497
|
+
}
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "js",
|
|
3501
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3502
|
+
"declaration": {
|
|
3503
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3504
|
+
"module": "./ai-criteria-search.styles"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "js",
|
|
3509
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3510
|
+
"declaration": {
|
|
3511
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3512
|
+
"module": "./ai-criteria-search.template"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3590
3515
|
{
|
|
3591
3516
|
"kind": "js",
|
|
3592
3517
|
"name": "*",
|
|
3593
3518
|
"declaration": {
|
|
3594
3519
|
"name": "*",
|
|
3595
|
-
"package": "./
|
|
3520
|
+
"package": "./validation/criteria-ir"
|
|
3596
3521
|
}
|
|
3597
3522
|
},
|
|
3598
3523
|
{
|
|
@@ -3600,7 +3525,7 @@
|
|
|
3600
3525
|
"name": "*",
|
|
3601
3526
|
"declaration": {
|
|
3602
3527
|
"name": "*",
|
|
3603
|
-
"package": "./
|
|
3528
|
+
"package": "./validation/operator-map"
|
|
3604
3529
|
}
|
|
3605
3530
|
},
|
|
3606
3531
|
{
|
|
@@ -3608,7 +3533,82 @@
|
|
|
3608
3533
|
"name": "*",
|
|
3609
3534
|
"declaration": {
|
|
3610
3535
|
"name": "*",
|
|
3611
|
-
"package": "./
|
|
3536
|
+
"package": "./validation/schema-validator"
|
|
3537
|
+
}
|
|
3538
|
+
}
|
|
3539
|
+
]
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"kind": "javascript-module",
|
|
3543
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3544
|
+
"declarations": [
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "function",
|
|
3547
|
+
"name": "formatValidationErrors",
|
|
3548
|
+
"return": {
|
|
3549
|
+
"type": {
|
|
3550
|
+
"text": "string"
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"parameters": [
|
|
3554
|
+
{
|
|
3555
|
+
"name": "errors",
|
|
3556
|
+
"type": {
|
|
3557
|
+
"text": "ValidationError[]"
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"kind": "function",
|
|
3565
|
+
"name": "showCriteriaError",
|
|
3566
|
+
"return": {
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "void"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
"parameters": [
|
|
3572
|
+
{
|
|
3573
|
+
"name": "title",
|
|
3574
|
+
"type": {
|
|
3575
|
+
"text": "string"
|
|
3576
|
+
},
|
|
3577
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3578
|
+
},
|
|
3579
|
+
{
|
|
3580
|
+
"name": "body",
|
|
3581
|
+
"type": {
|
|
3582
|
+
"text": "string"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "Error message to display"
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "tagName",
|
|
3588
|
+
"type": {
|
|
3589
|
+
"text": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3592
|
+
}
|
|
3593
|
+
],
|
|
3594
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3595
|
+
}
|
|
3596
|
+
],
|
|
3597
|
+
"exports": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "js",
|
|
3600
|
+
"name": "formatValidationErrors",
|
|
3601
|
+
"declaration": {
|
|
3602
|
+
"name": "formatValidationErrors",
|
|
3603
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3604
|
+
}
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "js",
|
|
3608
|
+
"name": "showCriteriaError",
|
|
3609
|
+
"declaration": {
|
|
3610
|
+
"name": "showCriteriaError",
|
|
3611
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3612
3612
|
}
|
|
3613
3613
|
}
|
|
3614
3614
|
]
|