@genesislcap/foundation-ui 15.86.0 → 15.86.1-FUI-2666.4
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 +634 -634
- package/dist/dts/react.d.ts +8 -8
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +17 -17
|
@@ -1920,11 +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": "
|
|
1927
|
+
"name": "foundationAccordionStyles",
|
|
1928
1928
|
"return": {
|
|
1929
1929
|
"type": {
|
|
1930
1930
|
"text": "ElementStyles"
|
|
@@ -1944,13 +1944,29 @@
|
|
|
1944
1944
|
}
|
|
1945
1945
|
}
|
|
1946
1946
|
]
|
|
1947
|
-
}
|
|
1947
|
+
}
|
|
1948
|
+
],
|
|
1949
|
+
"exports": [
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "js",
|
|
1952
|
+
"name": "foundationAccordionStyles",
|
|
1953
|
+
"declaration": {
|
|
1954
|
+
"name": "foundationAccordionStyles",
|
|
1955
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"kind": "javascript-module",
|
|
1962
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1963
|
+
"declarations": [
|
|
1948
1964
|
{
|
|
1949
1965
|
"kind": "function",
|
|
1950
|
-
"name": "
|
|
1966
|
+
"name": "foundationAccordionTemplate",
|
|
1951
1967
|
"return": {
|
|
1952
1968
|
"type": {
|
|
1953
|
-
"text": "
|
|
1969
|
+
"text": "ViewTemplate<Accordion>"
|
|
1954
1970
|
}
|
|
1955
1971
|
},
|
|
1956
1972
|
"parameters": [
|
|
@@ -1972,376 +1988,238 @@
|
|
|
1972
1988
|
"exports": [
|
|
1973
1989
|
{
|
|
1974
1990
|
"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",
|
|
1984
|
-
"declaration": {
|
|
1985
|
-
"name": "foundationActionsMenuStyles",
|
|
1986
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
]
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1994
|
-
"declarations": [
|
|
1995
|
-
{
|
|
1996
|
-
"kind": "variable",
|
|
1997
|
-
"name": "menuTemplate"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "variable",
|
|
2001
|
-
"name": "singleOptionTemplate"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"kind": "variable",
|
|
2005
|
-
"name": "foundationActionsMenuTemplate",
|
|
2006
|
-
"type": {
|
|
2007
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2008
|
-
},
|
|
2009
|
-
"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`"
|
|
2010
|
-
}
|
|
2011
|
-
],
|
|
2012
|
-
"exports": [
|
|
2013
|
-
{
|
|
2014
|
-
"kind": "js",
|
|
2015
|
-
"name": "menuTemplate",
|
|
2016
|
-
"declaration": {
|
|
2017
|
-
"name": "menuTemplate",
|
|
2018
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2019
|
-
}
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"kind": "js",
|
|
2023
|
-
"name": "singleOptionTemplate",
|
|
2024
|
-
"declaration": {
|
|
2025
|
-
"name": "singleOptionTemplate",
|
|
2026
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2027
|
-
}
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
"kind": "js",
|
|
2031
|
-
"name": "foundationActionsMenuTemplate",
|
|
1991
|
+
"name": "foundationAccordionTemplate",
|
|
2032
1992
|
"declaration": {
|
|
2033
|
-
"name": "
|
|
2034
|
-
"module": "src/
|
|
1993
|
+
"name": "foundationAccordionTemplate",
|
|
1994
|
+
"module": "src/accordion/accordion.template.ts"
|
|
2035
1995
|
}
|
|
2036
1996
|
}
|
|
2037
1997
|
]
|
|
2038
1998
|
},
|
|
2039
1999
|
{
|
|
2040
2000
|
"kind": "javascript-module",
|
|
2041
|
-
"path": "src/
|
|
2001
|
+
"path": "src/accordion/accordion.ts",
|
|
2042
2002
|
"declarations": [
|
|
2043
2003
|
{
|
|
2044
2004
|
"kind": "class",
|
|
2045
2005
|
"description": "",
|
|
2046
|
-
"name": "
|
|
2047
|
-
"
|
|
2006
|
+
"name": "Accordion",
|
|
2007
|
+
"superclass": {
|
|
2008
|
+
"name": "FASTAccordion",
|
|
2009
|
+
"package": "@microsoft/fast-foundation"
|
|
2010
|
+
},
|
|
2011
|
+
"tagName": "%%prefix%%-accordion",
|
|
2012
|
+
"customElement": true,
|
|
2013
|
+
"attributes": [
|
|
2048
2014
|
{
|
|
2049
|
-
"
|
|
2050
|
-
"name": "actions",
|
|
2015
|
+
"name": "expand-mode",
|
|
2051
2016
|
"type": {
|
|
2052
|
-
"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"
|
|
2053
2024
|
}
|
|
2054
|
-
}
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"members": [
|
|
2055
2028
|
{
|
|
2056
2029
|
"kind": "field",
|
|
2057
|
-
"name": "
|
|
2030
|
+
"name": "expandmode",
|
|
2058
2031
|
"type": {
|
|
2059
|
-
"text": "
|
|
2032
|
+
"text": "AccordionExpandMode"
|
|
2060
2033
|
},
|
|
2061
|
-
"
|
|
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
|
+
}
|
|
2062
2040
|
},
|
|
2063
2041
|
{
|
|
2064
2042
|
"kind": "field",
|
|
2065
|
-
"name": "
|
|
2043
|
+
"name": "activeid",
|
|
2066
2044
|
"type": {
|
|
2067
|
-
"text": "
|
|
2045
|
+
"text": "string | null"
|
|
2068
2046
|
},
|
|
2069
|
-
"
|
|
2047
|
+
"privacy": "private",
|
|
2048
|
+
"inheritedFrom": {
|
|
2049
|
+
"name": "Accordion",
|
|
2050
|
+
"module": "src/accordion/accordion.ts"
|
|
2051
|
+
}
|
|
2070
2052
|
},
|
|
2071
2053
|
{
|
|
2072
2054
|
"kind": "field",
|
|
2073
|
-
"name": "
|
|
2055
|
+
"name": "activeItemIndex",
|
|
2074
2056
|
"type": {
|
|
2075
|
-
"text": "
|
|
2057
|
+
"text": "number"
|
|
2076
2058
|
},
|
|
2077
|
-
"
|
|
2059
|
+
"privacy": "private",
|
|
2060
|
+
"default": "0",
|
|
2061
|
+
"inheritedFrom": {
|
|
2062
|
+
"name": "Accordion",
|
|
2063
|
+
"module": "src/accordion/accordion.ts"
|
|
2064
|
+
}
|
|
2078
2065
|
},
|
|
2079
2066
|
{
|
|
2080
2067
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2068
|
+
"name": "accordionIds",
|
|
2082
2069
|
"type": {
|
|
2083
|
-
"text": "
|
|
2070
|
+
"text": "Array<string | null>"
|
|
2084
2071
|
},
|
|
2085
|
-
"
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
"name": "classNames",
|
|
2090
|
-
"type": {
|
|
2091
|
-
"text": "string"
|
|
2072
|
+
"privacy": "private",
|
|
2073
|
+
"inheritedFrom": {
|
|
2074
|
+
"name": "Accordion",
|
|
2075
|
+
"module": "src/accordion/accordion.ts"
|
|
2092
2076
|
}
|
|
2093
2077
|
},
|
|
2094
2078
|
{
|
|
2095
2079
|
"kind": "field",
|
|
2096
|
-
"name": "
|
|
2097
|
-
"
|
|
2098
|
-
|
|
2080
|
+
"name": "change",
|
|
2081
|
+
"privacy": "private",
|
|
2082
|
+
"inheritedFrom": {
|
|
2083
|
+
"name": "Accordion",
|
|
2084
|
+
"module": "src/accordion/accordion.ts"
|
|
2099
2085
|
}
|
|
2100
2086
|
},
|
|
2101
2087
|
{
|
|
2102
|
-
"kind": "
|
|
2103
|
-
"name": "
|
|
2104
|
-
"
|
|
2105
|
-
|
|
2088
|
+
"kind": "method",
|
|
2089
|
+
"name": "findExpandedItem",
|
|
2090
|
+
"privacy": "private",
|
|
2091
|
+
"return": {
|
|
2092
|
+
"type": {
|
|
2093
|
+
"text": "AccordionItem | null"
|
|
2094
|
+
}
|
|
2106
2095
|
},
|
|
2107
|
-
"
|
|
2096
|
+
"inheritedFrom": {
|
|
2097
|
+
"name": "Accordion",
|
|
2098
|
+
"module": "src/accordion/accordion.ts"
|
|
2099
|
+
}
|
|
2108
2100
|
},
|
|
2109
2101
|
{
|
|
2110
2102
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2103
|
+
"name": "setItems",
|
|
2104
|
+
"privacy": "private",
|
|
2105
|
+
"inheritedFrom": {
|
|
2106
|
+
"name": "Accordion",
|
|
2107
|
+
"module": "src/accordion/accordion.ts"
|
|
2108
|
+
}
|
|
2116
2109
|
},
|
|
2117
2110
|
{
|
|
2118
|
-
"kind": "
|
|
2119
|
-
"name": "
|
|
2120
|
-
"
|
|
2121
|
-
|
|
2111
|
+
"kind": "method",
|
|
2112
|
+
"name": "resetItems",
|
|
2113
|
+
"privacy": "private",
|
|
2114
|
+
"return": {
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "void"
|
|
2117
|
+
}
|
|
2122
2118
|
},
|
|
2123
|
-
"
|
|
2119
|
+
"inheritedFrom": {
|
|
2120
|
+
"name": "Accordion",
|
|
2121
|
+
"module": "src/accordion/accordion.ts"
|
|
2122
|
+
}
|
|
2124
2123
|
},
|
|
2125
2124
|
{
|
|
2126
2125
|
"kind": "field",
|
|
2127
|
-
"name": "
|
|
2128
|
-
"
|
|
2129
|
-
|
|
2126
|
+
"name": "removeItemListeners",
|
|
2127
|
+
"privacy": "private",
|
|
2128
|
+
"inheritedFrom": {
|
|
2129
|
+
"name": "Accordion",
|
|
2130
|
+
"module": "src/accordion/accordion.ts"
|
|
2130
2131
|
}
|
|
2131
2132
|
},
|
|
2132
2133
|
{
|
|
2133
2134
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2135
|
+
"name": "activeItemChange",
|
|
2136
|
+
"privacy": "private",
|
|
2137
|
+
"inheritedFrom": {
|
|
2138
|
+
"name": "Accordion",
|
|
2139
|
+
"module": "src/accordion/accordion.ts"
|
|
2140
|
+
}
|
|
2139
2141
|
},
|
|
2140
2142
|
{
|
|
2141
|
-
"kind": "
|
|
2142
|
-
"name": "
|
|
2143
|
-
"
|
|
2144
|
-
|
|
2143
|
+
"kind": "method",
|
|
2144
|
+
"name": "getItemIds",
|
|
2145
|
+
"privacy": "private",
|
|
2146
|
+
"return": {
|
|
2147
|
+
"type": {
|
|
2148
|
+
"text": "Array<string | null>"
|
|
2149
|
+
}
|
|
2145
2150
|
},
|
|
2146
|
-
"
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
"kind": "field",
|
|
2150
|
-
"name": "singleOption",
|
|
2151
|
-
"type": {
|
|
2152
|
-
"text": "ActionMenuItem"
|
|
2151
|
+
"inheritedFrom": {
|
|
2152
|
+
"name": "Accordion",
|
|
2153
|
+
"module": "src/accordion/accordion.ts"
|
|
2153
2154
|
}
|
|
2154
2155
|
},
|
|
2155
2156
|
{
|
|
2156
|
-
"kind": "
|
|
2157
|
-
"name": "
|
|
2158
|
-
"
|
|
2159
|
-
|
|
2157
|
+
"kind": "method",
|
|
2158
|
+
"name": "isSingleExpandMode",
|
|
2159
|
+
"privacy": "private",
|
|
2160
|
+
"return": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "boolean"
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
"inheritedFrom": {
|
|
2166
|
+
"name": "Accordion",
|
|
2167
|
+
"module": "src/accordion/accordion.ts"
|
|
2160
2168
|
}
|
|
2161
2169
|
},
|
|
2162
2170
|
{
|
|
2163
2171
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2165
|
-
"
|
|
2166
|
-
|
|
2172
|
+
"name": "handleItemKeyDown",
|
|
2173
|
+
"privacy": "private",
|
|
2174
|
+
"inheritedFrom": {
|
|
2175
|
+
"name": "Accordion",
|
|
2176
|
+
"module": "src/accordion/accordion.ts"
|
|
2167
2177
|
}
|
|
2168
2178
|
},
|
|
2169
2179
|
{
|
|
2170
2180
|
"kind": "field",
|
|
2171
|
-
"name": "
|
|
2172
|
-
"type": {
|
|
2173
|
-
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
2174
|
-
},
|
|
2175
|
-
"privacy": "private"
|
|
2176
|
-
},
|
|
2177
|
-
{
|
|
2178
|
-
"kind": "field",
|
|
2179
|
-
"name": "focusMenuOnOpen",
|
|
2180
|
-
"type": {
|
|
2181
|
-
"text": "boolean"
|
|
2182
|
-
},
|
|
2181
|
+
"name": "handleItemFocus",
|
|
2183
2182
|
"privacy": "private",
|
|
2184
|
-
"
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
"kind": "method",
|
|
2189
|
-
"name": "updateMenuPosition",
|
|
2190
|
-
"privacy": "private"
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"kind": "method",
|
|
2194
|
-
"name": "startTrackingPosition",
|
|
2195
|
-
"privacy": "private"
|
|
2196
|
-
},
|
|
2197
|
-
{
|
|
2198
|
-
"kind": "method",
|
|
2199
|
-
"name": "stopTrackingPosition",
|
|
2200
|
-
"privacy": "private"
|
|
2201
|
-
},
|
|
2202
|
-
{
|
|
2203
|
-
"kind": "method",
|
|
2204
|
-
"name": "definitionChanged",
|
|
2205
|
-
"privacy": "protected",
|
|
2206
|
-
"parameters": [
|
|
2207
|
-
{
|
|
2208
|
-
"name": "oldValue",
|
|
2209
|
-
"type": {
|
|
2210
|
-
"text": "any"
|
|
2211
|
-
}
|
|
2212
|
-
},
|
|
2213
|
-
{
|
|
2214
|
-
"name": "newValue",
|
|
2215
|
-
"type": {
|
|
2216
|
-
"text": "any"
|
|
2217
|
-
}
|
|
2218
|
-
}
|
|
2219
|
-
]
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"kind": "method",
|
|
2223
|
-
"name": "openChanged",
|
|
2224
|
-
"privacy": "protected"
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "method",
|
|
2228
|
-
"name": "toggleActionsMenuVisibility"
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
"kind": "method",
|
|
2232
|
-
"name": "onPopoverToggle",
|
|
2233
|
-
"parameters": [
|
|
2234
|
-
{
|
|
2235
|
-
"name": "event",
|
|
2236
|
-
"type": {
|
|
2237
|
-
"text": "Event"
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
],
|
|
2241
|
-
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "Accordion",
|
|
2185
|
+
"module": "src/accordion/accordion.ts"
|
|
2186
|
+
}
|
|
2242
2187
|
},
|
|
2243
2188
|
{
|
|
2244
2189
|
"kind": "method",
|
|
2245
|
-
"name": "
|
|
2190
|
+
"name": "adjust",
|
|
2191
|
+
"privacy": "private",
|
|
2246
2192
|
"return": {
|
|
2247
2193
|
"type": {
|
|
2248
|
-
"text": "
|
|
2194
|
+
"text": "void"
|
|
2249
2195
|
}
|
|
2250
2196
|
},
|
|
2251
2197
|
"parameters": [
|
|
2252
2198
|
{
|
|
2253
|
-
"name": "
|
|
2199
|
+
"name": "adjustment",
|
|
2254
2200
|
"type": {
|
|
2255
|
-
"text": "
|
|
2201
|
+
"text": "number"
|
|
2256
2202
|
}
|
|
2257
2203
|
}
|
|
2258
2204
|
],
|
|
2259
|
-
"
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
"name": "onActionMenuItemClick",
|
|
2264
|
-
"parameters": [
|
|
2265
|
-
{
|
|
2266
|
-
"name": "callback",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "(rowData) => void | any"
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
]
|
|
2205
|
+
"inheritedFrom": {
|
|
2206
|
+
"name": "Accordion",
|
|
2207
|
+
"module": "src/accordion/accordion.ts"
|
|
2208
|
+
}
|
|
2272
2209
|
},
|
|
2273
2210
|
{
|
|
2274
2211
|
"kind": "method",
|
|
2275
|
-
"name": "
|
|
2212
|
+
"name": "focusItem",
|
|
2213
|
+
"privacy": "private",
|
|
2276
2214
|
"return": {
|
|
2277
2215
|
"type": {
|
|
2278
|
-
"text": "
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
"parameters": [
|
|
2282
|
-
{
|
|
2283
|
-
"name": "action",
|
|
2284
|
-
"type": {
|
|
2285
|
-
"text": "ActionMenuItem"
|
|
2286
|
-
}
|
|
2216
|
+
"text": "void"
|
|
2287
2217
|
}
|
|
2288
|
-
],
|
|
2289
|
-
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"kind": "field",
|
|
2293
|
-
"name": "resolvedActions",
|
|
2294
|
-
"type": {
|
|
2295
|
-
"text": "ActionMenuItem[]"
|
|
2296
|
-
},
|
|
2297
|
-
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2298
|
-
"readonly": true
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"kind": "field",
|
|
2302
|
-
"name": "hasVisibleActions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2307
|
-
"readonly": true
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"kind": "field",
|
|
2311
|
-
"name": "allActions",
|
|
2312
|
-
"type": {
|
|
2313
|
-
"text": "ActionMenuItem[]"
|
|
2314
2218
|
},
|
|
2315
|
-
"
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
"name": "rowData",
|
|
2320
|
-
"readonly": true
|
|
2321
|
-
},
|
|
2322
|
-
{
|
|
2323
|
-
"kind": "method",
|
|
2324
|
-
"name": "getLabel",
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "name",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "string | ((rowData: any) => string)"
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
]
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
"kind": "method",
|
|
2336
|
-
"name": "getTemplate",
|
|
2337
|
-
"parameters": [
|
|
2338
|
-
{
|
|
2339
|
-
"name": "prefix",
|
|
2340
|
-
"type": {
|
|
2341
|
-
"text": "string"
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
]
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "Accordion",
|
|
2221
|
+
"module": "src/accordion/accordion.ts"
|
|
2222
|
+
}
|
|
2345
2223
|
},
|
|
2346
2224
|
{
|
|
2347
2225
|
"kind": "field",
|
|
@@ -2455,158 +2333,78 @@
|
|
|
2455
2333
|
}
|
|
2456
2334
|
}
|
|
2457
2335
|
],
|
|
2458
|
-
"
|
|
2459
|
-
{
|
|
2460
|
-
"name": "is-vertical",
|
|
2461
|
-
"type": {
|
|
2462
|
-
"text": "boolean"
|
|
2463
|
-
},
|
|
2464
|
-
"default": "false",
|
|
2465
|
-
"fieldName": "isVertical"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "add-default-actions",
|
|
2469
|
-
"type": {
|
|
2470
|
-
"text": "boolean"
|
|
2471
|
-
},
|
|
2472
|
-
"default": "true",
|
|
2473
|
-
"fieldName": "addDefaultActions"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
"name": "auto-close-on-action",
|
|
2477
|
-
"type": {
|
|
2478
|
-
"text": "boolean"
|
|
2479
|
-
},
|
|
2480
|
-
"default": "true",
|
|
2481
|
-
"fieldName": "autoCloseOnAction"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "name",
|
|
2485
|
-
"type": {
|
|
2486
|
-
"text": "string"
|
|
2487
|
-
},
|
|
2488
|
-
"default": "'Actions'",
|
|
2489
|
-
"fieldName": "name"
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
"name": "icon-name",
|
|
2493
|
-
"type": {
|
|
2494
|
-
"text": "string"
|
|
2495
|
-
},
|
|
2496
|
-
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
2497
|
-
"fieldName": "iconName"
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
"name": "open",
|
|
2501
|
-
"type": {
|
|
2502
|
-
"text": "boolean"
|
|
2503
|
-
},
|
|
2504
|
-
"default": "false",
|
|
2505
|
-
"fieldName": "open"
|
|
2506
|
-
},
|
|
2507
|
-
{
|
|
2508
|
-
"name": "buttonAppearance",
|
|
2509
|
-
"type": {
|
|
2510
|
-
"text": "string"
|
|
2511
|
-
},
|
|
2512
|
-
"fieldName": "buttonAppearance"
|
|
2513
|
-
},
|
|
2336
|
+
"events": [
|
|
2514
2337
|
{
|
|
2515
|
-
"
|
|
2516
|
-
"
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"name": "hide-menu-single-option",
|
|
2524
|
-
"type": {
|
|
2525
|
-
"text": "boolean"
|
|
2526
|
-
},
|
|
2527
|
-
"default": "false",
|
|
2528
|
-
"fieldName": "hideMenuSingleOption"
|
|
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
|
+
}
|
|
2529
2344
|
}
|
|
2530
|
-
]
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2534
2352
|
},
|
|
2535
|
-
"
|
|
2536
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2537
2354
|
},
|
|
2538
2355
|
{
|
|
2539
2356
|
"kind": "variable",
|
|
2540
|
-
"name": "
|
|
2541
|
-
"
|
|
2357
|
+
"name": "defaultAccordionConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordion",
|
|
2366
|
+
"description": "The Foundation Accordion",
|
|
2542
2367
|
"privacy": "public"
|
|
2543
2368
|
}
|
|
2544
2369
|
],
|
|
2545
2370
|
"exports": [
|
|
2546
2371
|
{
|
|
2547
2372
|
"kind": "js",
|
|
2548
|
-
"name": "
|
|
2373
|
+
"name": "Accordion",
|
|
2549
2374
|
"declaration": {
|
|
2550
|
-
"name": "
|
|
2551
|
-
"module": "src/
|
|
2375
|
+
"name": "Accordion",
|
|
2376
|
+
"module": "src/accordion/accordion.ts"
|
|
2552
2377
|
}
|
|
2553
2378
|
},
|
|
2554
2379
|
{
|
|
2555
2380
|
"kind": "js",
|
|
2556
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionShadowOptions",
|
|
2557
2382
|
"declaration": {
|
|
2558
|
-
"name": "
|
|
2559
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionShadowOptions",
|
|
2384
|
+
"module": "src/accordion/accordion.ts"
|
|
2560
2385
|
}
|
|
2561
|
-
}
|
|
2562
|
-
]
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
"kind": "javascript-module",
|
|
2566
|
-
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
2567
|
-
"declarations": [
|
|
2386
|
+
},
|
|
2568
2387
|
{
|
|
2569
|
-
"kind": "
|
|
2570
|
-
"name": "
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
"parameters": [
|
|
2577
|
-
{
|
|
2578
|
-
"name": "menuSelector",
|
|
2579
|
-
"type": {
|
|
2580
|
-
"text": "string"
|
|
2581
|
-
},
|
|
2582
|
-
"description": "Selects the menu surface. May be a selector list."
|
|
2583
|
-
},
|
|
2584
|
-
{
|
|
2585
|
-
"name": "itemSelector",
|
|
2586
|
-
"type": {
|
|
2587
|
-
"text": "string"
|
|
2588
|
-
},
|
|
2589
|
-
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
2590
|
-
}
|
|
2591
|
-
],
|
|
2592
|
-
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
2593
|
-
"privacy": "public"
|
|
2594
|
-
}
|
|
2595
|
-
],
|
|
2596
|
-
"exports": [
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionConfig",
|
|
2392
|
+
"module": "src/accordion/accordion.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2597
2395
|
{
|
|
2598
2396
|
"kind": "js",
|
|
2599
|
-
"name": "
|
|
2397
|
+
"name": "foundationAccordion",
|
|
2600
2398
|
"declaration": {
|
|
2601
|
-
"name": "
|
|
2602
|
-
"module": "src/
|
|
2399
|
+
"name": "foundationAccordion",
|
|
2400
|
+
"module": "src/accordion/accordion.ts"
|
|
2603
2401
|
}
|
|
2604
2402
|
}
|
|
2605
2403
|
]
|
|
2606
2404
|
},
|
|
2607
2405
|
{
|
|
2608
2406
|
"kind": "javascript-module",
|
|
2609
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion/index.ts",
|
|
2610
2408
|
"declarations": [],
|
|
2611
2409
|
"exports": [
|
|
2612
2410
|
{
|
|
@@ -2614,15 +2412,7 @@
|
|
|
2614
2412
|
"name": "*",
|
|
2615
2413
|
"declaration": {
|
|
2616
2414
|
"name": "*",
|
|
2617
|
-
"package": "./
|
|
2618
|
-
}
|
|
2619
|
-
},
|
|
2620
|
-
{
|
|
2621
|
-
"kind": "js",
|
|
2622
|
-
"name": "*",
|
|
2623
|
-
"declaration": {
|
|
2624
|
-
"name": "*",
|
|
2625
|
-
"package": "./actions-menu.template"
|
|
2415
|
+
"package": "./accordion.template"
|
|
2626
2416
|
}
|
|
2627
2417
|
},
|
|
2628
2418
|
{
|
|
@@ -2630,7 +2420,7 @@
|
|
|
2630
2420
|
"name": "*",
|
|
2631
2421
|
"declaration": {
|
|
2632
2422
|
"name": "*",
|
|
2633
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion.styles"
|
|
2634
2424
|
}
|
|
2635
2425
|
},
|
|
2636
2426
|
{
|
|
@@ -2638,18 +2428,18 @@
|
|
|
2638
2428
|
"name": "*",
|
|
2639
2429
|
"declaration": {
|
|
2640
2430
|
"name": "*",
|
|
2641
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion"
|
|
2642
2432
|
}
|
|
2643
2433
|
}
|
|
2644
2434
|
]
|
|
2645
2435
|
},
|
|
2646
2436
|
{
|
|
2647
2437
|
"kind": "javascript-module",
|
|
2648
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2649
2439
|
"declarations": [
|
|
2650
2440
|
{
|
|
2651
2441
|
"kind": "function",
|
|
2652
|
-
"name": "
|
|
2442
|
+
"name": "actionsMenuBaseStyles",
|
|
2653
2443
|
"return": {
|
|
2654
2444
|
"type": {
|
|
2655
2445
|
"text": "ElementStyles"
|
|
@@ -2669,29 +2459,13 @@
|
|
|
2669
2459
|
}
|
|
2670
2460
|
}
|
|
2671
2461
|
]
|
|
2672
|
-
}
|
|
2673
|
-
],
|
|
2674
|
-
"exports": [
|
|
2675
|
-
{
|
|
2676
|
-
"kind": "js",
|
|
2677
|
-
"name": "foundationAccordionStyles",
|
|
2678
|
-
"declaration": {
|
|
2679
|
-
"name": "foundationAccordionStyles",
|
|
2680
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
2681
|
-
}
|
|
2682
|
-
}
|
|
2683
|
-
]
|
|
2684
|
-
},
|
|
2685
|
-
{
|
|
2686
|
-
"kind": "javascript-module",
|
|
2687
|
-
"path": "src/accordion/accordion.template.ts",
|
|
2688
|
-
"declarations": [
|
|
2462
|
+
},
|
|
2689
2463
|
{
|
|
2690
2464
|
"kind": "function",
|
|
2691
|
-
"name": "
|
|
2465
|
+
"name": "foundationActionsMenuStyles",
|
|
2692
2466
|
"return": {
|
|
2693
2467
|
"type": {
|
|
2694
|
-
"text": "
|
|
2468
|
+
"text": "ElementStyles"
|
|
2695
2469
|
}
|
|
2696
2470
|
},
|
|
2697
2471
|
"parameters": [
|
|
@@ -2713,238 +2487,376 @@
|
|
|
2713
2487
|
"exports": [
|
|
2714
2488
|
{
|
|
2715
2489
|
"kind": "js",
|
|
2716
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2717
2491
|
"declaration": {
|
|
2718
|
-
"name": "
|
|
2719
|
-
"module": "src/
|
|
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"
|
|
2720
2502
|
}
|
|
2721
2503
|
}
|
|
2722
2504
|
]
|
|
2723
2505
|
},
|
|
2724
2506
|
{
|
|
2725
2507
|
"kind": "javascript-module",
|
|
2726
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2509
|
+
"declarations": [
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "variable",
|
|
2512
|
+
"name": "menuTemplate"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "variable",
|
|
2516
|
+
"name": "singleOptionTemplate"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "variable",
|
|
2520
|
+
"name": "foundationActionsMenuTemplate",
|
|
2521
|
+
"type": {
|
|
2522
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2523
|
+
},
|
|
2524
|
+
"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`"
|
|
2525
|
+
}
|
|
2526
|
+
],
|
|
2527
|
+
"exports": [
|
|
2528
|
+
{
|
|
2529
|
+
"kind": "js",
|
|
2530
|
+
"name": "menuTemplate",
|
|
2531
|
+
"declaration": {
|
|
2532
|
+
"name": "menuTemplate",
|
|
2533
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2534
|
+
}
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"kind": "js",
|
|
2538
|
+
"name": "singleOptionTemplate",
|
|
2539
|
+
"declaration": {
|
|
2540
|
+
"name": "singleOptionTemplate",
|
|
2541
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "js",
|
|
2546
|
+
"name": "foundationActionsMenuTemplate",
|
|
2547
|
+
"declaration": {
|
|
2548
|
+
"name": "foundationActionsMenuTemplate",
|
|
2549
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
]
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"kind": "javascript-module",
|
|
2556
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2727
2557
|
"declarations": [
|
|
2728
2558
|
{
|
|
2729
2559
|
"kind": "class",
|
|
2730
2560
|
"description": "",
|
|
2731
|
-
"name": "
|
|
2732
|
-
"
|
|
2733
|
-
"name": "FASTAccordion",
|
|
2734
|
-
"package": "@microsoft/fast-foundation"
|
|
2735
|
-
},
|
|
2736
|
-
"tagName": "%%prefix%%-accordion",
|
|
2737
|
-
"customElement": true,
|
|
2738
|
-
"attributes": [
|
|
2561
|
+
"name": "ActionsMenu",
|
|
2562
|
+
"members": [
|
|
2739
2563
|
{
|
|
2740
|
-
"
|
|
2564
|
+
"kind": "field",
|
|
2565
|
+
"name": "actions",
|
|
2741
2566
|
"type": {
|
|
2742
|
-
"text": "
|
|
2743
|
-
},
|
|
2744
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2745
|
-
"fieldName": "expandmode",
|
|
2746
|
-
"inheritedFrom": {
|
|
2747
|
-
"name": "Accordion",
|
|
2748
|
-
"module": "src/accordion/accordion.ts"
|
|
2567
|
+
"text": "ActionMenuItem[]"
|
|
2749
2568
|
}
|
|
2750
|
-
}
|
|
2751
|
-
],
|
|
2752
|
-
"members": [
|
|
2569
|
+
},
|
|
2753
2570
|
{
|
|
2754
2571
|
"kind": "field",
|
|
2755
|
-
"name": "
|
|
2572
|
+
"name": "actionsResolver",
|
|
2756
2573
|
"type": {
|
|
2757
|
-
"text": "
|
|
2574
|
+
"text": "ActionMenuItemsResolver | undefined"
|
|
2758
2575
|
},
|
|
2759
|
-
"
|
|
2760
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2761
|
-
"inheritedFrom": {
|
|
2762
|
-
"name": "Accordion",
|
|
2763
|
-
"module": "src/accordion/accordion.ts"
|
|
2764
|
-
}
|
|
2576
|
+
"description": "Resolves the actions per row instead of `actions`, from the row data in `definition`."
|
|
2765
2577
|
},
|
|
2766
2578
|
{
|
|
2767
2579
|
"kind": "field",
|
|
2768
|
-
"name": "
|
|
2580
|
+
"name": "isVertical",
|
|
2769
2581
|
"type": {
|
|
2770
|
-
"text": "
|
|
2582
|
+
"text": "boolean"
|
|
2771
2583
|
},
|
|
2772
|
-
"
|
|
2773
|
-
"inheritedFrom": {
|
|
2774
|
-
"name": "Accordion",
|
|
2775
|
-
"module": "src/accordion/accordion.ts"
|
|
2776
|
-
}
|
|
2584
|
+
"default": "false"
|
|
2777
2585
|
},
|
|
2778
2586
|
{
|
|
2779
2587
|
"kind": "field",
|
|
2780
|
-
"name": "
|
|
2588
|
+
"name": "addDefaultActions",
|
|
2781
2589
|
"type": {
|
|
2782
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2783
2591
|
},
|
|
2784
|
-
"
|
|
2785
|
-
"default": "0",
|
|
2786
|
-
"inheritedFrom": {
|
|
2787
|
-
"name": "Accordion",
|
|
2788
|
-
"module": "src/accordion/accordion.ts"
|
|
2789
|
-
}
|
|
2592
|
+
"default": "true"
|
|
2790
2593
|
},
|
|
2791
2594
|
{
|
|
2792
2595
|
"kind": "field",
|
|
2793
|
-
"name": "
|
|
2596
|
+
"name": "autoCloseOnAction",
|
|
2794
2597
|
"type": {
|
|
2795
|
-
"text": "
|
|
2598
|
+
"text": "boolean"
|
|
2796
2599
|
},
|
|
2797
|
-
"
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2600
|
+
"default": "true"
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"kind": "field",
|
|
2604
|
+
"name": "classNames",
|
|
2605
|
+
"type": {
|
|
2606
|
+
"text": "string"
|
|
2801
2607
|
}
|
|
2802
2608
|
},
|
|
2803
2609
|
{
|
|
2804
2610
|
"kind": "field",
|
|
2805
|
-
"name": "
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
"name": "Accordion",
|
|
2809
|
-
"module": "src/accordion/accordion.ts"
|
|
2611
|
+
"name": "definition",
|
|
2612
|
+
"type": {
|
|
2613
|
+
"text": "any"
|
|
2810
2614
|
}
|
|
2811
2615
|
},
|
|
2812
2616
|
{
|
|
2813
|
-
"kind": "
|
|
2814
|
-
"name": "
|
|
2815
|
-
"
|
|
2816
|
-
|
|
2817
|
-
"type": {
|
|
2818
|
-
"text": "AccordionItem | null"
|
|
2819
|
-
}
|
|
2617
|
+
"kind": "field",
|
|
2618
|
+
"name": "name",
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "string"
|
|
2820
2621
|
},
|
|
2821
|
-
"
|
|
2822
|
-
"name": "Accordion",
|
|
2823
|
-
"module": "src/accordion/accordion.ts"
|
|
2824
|
-
}
|
|
2622
|
+
"default": "'Actions'"
|
|
2825
2623
|
},
|
|
2826
2624
|
{
|
|
2827
2625
|
"kind": "field",
|
|
2828
|
-
"name": "
|
|
2829
|
-
"
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2626
|
+
"name": "iconName",
|
|
2627
|
+
"type": {
|
|
2628
|
+
"text": "string"
|
|
2629
|
+
},
|
|
2630
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener)."
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"kind": "field",
|
|
2634
|
+
"name": "open",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "boolean"
|
|
2637
|
+
},
|
|
2638
|
+
"default": "false"
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"kind": "field",
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2643
|
+
"type": {
|
|
2644
|
+
"text": "string"
|
|
2833
2645
|
}
|
|
2834
2646
|
},
|
|
2835
2647
|
{
|
|
2836
|
-
"kind": "
|
|
2837
|
-
"name": "
|
|
2838
|
-
"
|
|
2839
|
-
|
|
2840
|
-
"type": {
|
|
2841
|
-
"text": "void"
|
|
2842
|
-
}
|
|
2648
|
+
"kind": "field",
|
|
2649
|
+
"name": "hideDisabled",
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "boolean"
|
|
2843
2652
|
},
|
|
2844
|
-
"
|
|
2845
|
-
|
|
2846
|
-
|
|
2653
|
+
"default": "false"
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"kind": "field",
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "boolean"
|
|
2660
|
+
},
|
|
2661
|
+
"default": "false"
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "field",
|
|
2665
|
+
"name": "singleOption",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2847
2668
|
}
|
|
2848
2669
|
},
|
|
2849
2670
|
{
|
|
2850
2671
|
"kind": "field",
|
|
2851
|
-
"name": "
|
|
2852
|
-
"
|
|
2853
|
-
|
|
2854
|
-
"name": "Accordion",
|
|
2855
|
-
"module": "src/accordion/accordion.ts"
|
|
2672
|
+
"name": "actionsMenu",
|
|
2673
|
+
"type": {
|
|
2674
|
+
"text": "HTMLElement"
|
|
2856
2675
|
}
|
|
2857
2676
|
},
|
|
2858
2677
|
{
|
|
2859
2678
|
"kind": "field",
|
|
2860
|
-
"name": "
|
|
2861
|
-
"
|
|
2862
|
-
|
|
2863
|
-
"name": "Accordion",
|
|
2864
|
-
"module": "src/accordion/accordion.ts"
|
|
2679
|
+
"name": "actionsOpener",
|
|
2680
|
+
"type": {
|
|
2681
|
+
"text": "HTMLElement"
|
|
2865
2682
|
}
|
|
2866
2683
|
},
|
|
2867
2684
|
{
|
|
2868
|
-
"kind": "
|
|
2869
|
-
"name": "
|
|
2685
|
+
"kind": "field",
|
|
2686
|
+
"name": "positionTracker",
|
|
2687
|
+
"type": {
|
|
2688
|
+
"text": "AnchoredPopoverPositionTracker | undefined"
|
|
2689
|
+
},
|
|
2690
|
+
"privacy": "private"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"kind": "field",
|
|
2694
|
+
"name": "focusMenuOnOpen",
|
|
2695
|
+
"type": {
|
|
2696
|
+
"text": "boolean"
|
|
2697
|
+
},
|
|
2870
2698
|
"privacy": "private",
|
|
2699
|
+
"default": "false",
|
|
2700
|
+
"description": "Set when the keyboard opens the menu, so focus moves into it as screen readers announce."
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"kind": "method",
|
|
2704
|
+
"name": "updateMenuPosition",
|
|
2705
|
+
"privacy": "private"
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "method",
|
|
2709
|
+
"name": "startTrackingPosition",
|
|
2710
|
+
"privacy": "private"
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "method",
|
|
2714
|
+
"name": "stopTrackingPosition",
|
|
2715
|
+
"privacy": "private"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"kind": "method",
|
|
2719
|
+
"name": "definitionChanged",
|
|
2720
|
+
"privacy": "protected",
|
|
2721
|
+
"parameters": [
|
|
2722
|
+
{
|
|
2723
|
+
"name": "oldValue",
|
|
2724
|
+
"type": {
|
|
2725
|
+
"text": "any"
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"name": "newValue",
|
|
2730
|
+
"type": {
|
|
2731
|
+
"text": "any"
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
]
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"kind": "method",
|
|
2738
|
+
"name": "openChanged",
|
|
2739
|
+
"privacy": "protected"
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"kind": "method",
|
|
2743
|
+
"name": "toggleActionsMenuVisibility"
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "method",
|
|
2747
|
+
"name": "onPopoverToggle",
|
|
2748
|
+
"parameters": [
|
|
2749
|
+
{
|
|
2750
|
+
"name": "event",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "Event"
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
],
|
|
2756
|
+
"description": "Syncs `open` when the native `popover=\"auto\"` light-dismiss (outside click / Escape) closes\nthe vertical menu without going through `toggleActionsMenuVisibility()`."
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"kind": "method",
|
|
2760
|
+
"name": "onIconOpenerKeydown",
|
|
2871
2761
|
"return": {
|
|
2872
2762
|
"type": {
|
|
2873
|
-
"text": "
|
|
2763
|
+
"text": "boolean"
|
|
2874
2764
|
}
|
|
2875
2765
|
},
|
|
2876
|
-
"
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2766
|
+
"parameters": [
|
|
2767
|
+
{
|
|
2768
|
+
"name": "event",
|
|
2769
|
+
"type": {
|
|
2770
|
+
"text": "KeyboardEvent"
|
|
2771
|
+
}
|
|
2772
|
+
}
|
|
2773
|
+
],
|
|
2774
|
+
"description": "Opens the icon-only opener from the keyboard, as a native button would."
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"kind": "method",
|
|
2778
|
+
"name": "onActionMenuItemClick",
|
|
2779
|
+
"parameters": [
|
|
2780
|
+
{
|
|
2781
|
+
"name": "callback",
|
|
2782
|
+
"type": {
|
|
2783
|
+
"text": "(rowData) => void | any"
|
|
2784
|
+
}
|
|
2785
|
+
}
|
|
2786
|
+
]
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"kind": "method",
|
|
2790
|
+
"name": "isActionDisabled",
|
|
2791
|
+
"return": {
|
|
2792
|
+
"type": {
|
|
2793
|
+
"text": "boolean"
|
|
2794
|
+
}
|
|
2795
|
+
},
|
|
2796
|
+
"parameters": [
|
|
2797
|
+
{
|
|
2798
|
+
"name": "action",
|
|
2799
|
+
"type": {
|
|
2800
|
+
"text": "ActionMenuItem"
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
],
|
|
2804
|
+
"description": "Resolves an action's `isDisabled` for the current row."
|
|
2805
|
+
},
|
|
2806
|
+
{
|
|
2807
|
+
"kind": "field",
|
|
2808
|
+
"name": "resolvedActions",
|
|
2809
|
+
"type": {
|
|
2810
|
+
"text": "ActionMenuItem[]"
|
|
2811
|
+
},
|
|
2812
|
+
"description": "The actions for the current row: from `actionsResolver` when set, else `actions`.",
|
|
2813
|
+
"readonly": true
|
|
2880
2814
|
},
|
|
2881
2815
|
{
|
|
2882
|
-
"kind": "
|
|
2883
|
-
"name": "
|
|
2884
|
-
"
|
|
2885
|
-
|
|
2886
|
-
"type": {
|
|
2887
|
-
"text": "boolean"
|
|
2888
|
-
}
|
|
2816
|
+
"kind": "field",
|
|
2817
|
+
"name": "hasVisibleActions",
|
|
2818
|
+
"type": {
|
|
2819
|
+
"text": "boolean"
|
|
2889
2820
|
},
|
|
2890
|
-
"
|
|
2891
|
-
|
|
2892
|
-
"module": "src/accordion/accordion.ts"
|
|
2893
|
-
}
|
|
2821
|
+
"description": "Whether the row has an action to show: an enabled one, or any when disabled ones show.",
|
|
2822
|
+
"readonly": true
|
|
2894
2823
|
},
|
|
2895
2824
|
{
|
|
2896
2825
|
"kind": "field",
|
|
2897
|
-
"name": "
|
|
2898
|
-
"
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
}
|
|
2826
|
+
"name": "allActions",
|
|
2827
|
+
"type": {
|
|
2828
|
+
"text": "ActionMenuItem[]"
|
|
2829
|
+
},
|
|
2830
|
+
"readonly": true
|
|
2903
2831
|
},
|
|
2904
2832
|
{
|
|
2905
2833
|
"kind": "field",
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2908
|
-
"inheritedFrom": {
|
|
2909
|
-
"name": "Accordion",
|
|
2910
|
-
"module": "src/accordion/accordion.ts"
|
|
2911
|
-
}
|
|
2834
|
+
"name": "rowData",
|
|
2835
|
+
"readonly": true
|
|
2912
2836
|
},
|
|
2913
2837
|
{
|
|
2914
2838
|
"kind": "method",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"privacy": "private",
|
|
2917
|
-
"return": {
|
|
2918
|
-
"type": {
|
|
2919
|
-
"text": "void"
|
|
2920
|
-
}
|
|
2921
|
-
},
|
|
2839
|
+
"name": "getLabel",
|
|
2922
2840
|
"parameters": [
|
|
2923
2841
|
{
|
|
2924
|
-
"name": "
|
|
2842
|
+
"name": "name",
|
|
2925
2843
|
"type": {
|
|
2926
|
-
"text": "
|
|
2844
|
+
"text": "string | ((rowData: any) => string)"
|
|
2927
2845
|
}
|
|
2928
2846
|
}
|
|
2929
|
-
]
|
|
2930
|
-
"inheritedFrom": {
|
|
2931
|
-
"name": "Accordion",
|
|
2932
|
-
"module": "src/accordion/accordion.ts"
|
|
2933
|
-
}
|
|
2847
|
+
]
|
|
2934
2848
|
},
|
|
2935
2849
|
{
|
|
2936
2850
|
"kind": "method",
|
|
2937
|
-
"name": "
|
|
2938
|
-
"
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
"
|
|
2851
|
+
"name": "getTemplate",
|
|
2852
|
+
"parameters": [
|
|
2853
|
+
{
|
|
2854
|
+
"name": "prefix",
|
|
2855
|
+
"type": {
|
|
2856
|
+
"text": "string"
|
|
2857
|
+
}
|
|
2942
2858
|
}
|
|
2943
|
-
|
|
2944
|
-
"inheritedFrom": {
|
|
2945
|
-
"name": "Accordion",
|
|
2946
|
-
"module": "src/accordion/accordion.ts"
|
|
2947
|
-
}
|
|
2859
|
+
]
|
|
2948
2860
|
},
|
|
2949
2861
|
{
|
|
2950
2862
|
"kind": "field",
|
|
@@ -3058,78 +2970,158 @@
|
|
|
3058
2970
|
}
|
|
3059
2971
|
}
|
|
3060
2972
|
],
|
|
3061
|
-
"
|
|
2973
|
+
"attributes": [
|
|
3062
2974
|
{
|
|
3063
|
-
"
|
|
3064
|
-
"
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
2975
|
+
"name": "is-vertical",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "boolean"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "false",
|
|
2980
|
+
"fieldName": "isVertical"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "add-default-actions",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "boolean"
|
|
2986
|
+
},
|
|
2987
|
+
"default": "true",
|
|
2988
|
+
"fieldName": "addDefaultActions"
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"name": "auto-close-on-action",
|
|
2992
|
+
"type": {
|
|
2993
|
+
"text": "boolean"
|
|
2994
|
+
},
|
|
2995
|
+
"default": "true",
|
|
2996
|
+
"fieldName": "autoCloseOnAction"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"name": "name",
|
|
3000
|
+
"type": {
|
|
3001
|
+
"text": "string"
|
|
3002
|
+
},
|
|
3003
|
+
"default": "'Actions'",
|
|
3004
|
+
"fieldName": "name"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"name": "icon-name",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "string"
|
|
3010
|
+
},
|
|
3011
|
+
"description": "When set, the opener renders this icon instead of the `name` text (e.g. `ellipsis`\nfor an icon-only \"kebab\" opener).",
|
|
3012
|
+
"fieldName": "iconName"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"name": "open",
|
|
3016
|
+
"type": {
|
|
3017
|
+
"text": "boolean"
|
|
3018
|
+
},
|
|
3019
|
+
"default": "false",
|
|
3020
|
+
"fieldName": "open"
|
|
3021
|
+
},
|
|
3022
|
+
{
|
|
3023
|
+
"name": "buttonAppearance",
|
|
3024
|
+
"type": {
|
|
3025
|
+
"text": "string"
|
|
3026
|
+
},
|
|
3027
|
+
"fieldName": "buttonAppearance"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "hide-disabled",
|
|
3031
|
+
"type": {
|
|
3032
|
+
"text": "boolean"
|
|
3033
|
+
},
|
|
3034
|
+
"default": "false",
|
|
3035
|
+
"fieldName": "hideDisabled"
|
|
3036
|
+
},
|
|
3037
|
+
{
|
|
3038
|
+
"name": "hide-menu-single-option",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "boolean"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "false",
|
|
3043
|
+
"fieldName": "hideMenuSingleOption"
|
|
3069
3044
|
}
|
|
3070
|
-
]
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
"name": "foundationAccordionShadowOptions",
|
|
3075
|
-
"type": {
|
|
3076
|
-
"text": "ShadowRootInit"
|
|
3077
|
-
},
|
|
3078
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3079
|
-
},
|
|
3080
|
-
{
|
|
3081
|
-
"kind": "variable",
|
|
3082
|
-
"name": "defaultAccordionConfig",
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "object"
|
|
3045
|
+
],
|
|
3046
|
+
"superclass": {
|
|
3047
|
+
"name": "FoundationElement",
|
|
3048
|
+
"package": "@microsoft/fast-foundation"
|
|
3085
3049
|
},
|
|
3086
|
-
"
|
|
3050
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3051
|
+
"customElement": true
|
|
3087
3052
|
},
|
|
3088
3053
|
{
|
|
3089
3054
|
"kind": "variable",
|
|
3090
|
-
"name": "
|
|
3091
|
-
"description": "The Foundation
|
|
3055
|
+
"name": "foundationActionsMenu",
|
|
3056
|
+
"description": "The Foundation Actions Menu",
|
|
3092
3057
|
"privacy": "public"
|
|
3093
3058
|
}
|
|
3094
3059
|
],
|
|
3095
3060
|
"exports": [
|
|
3096
3061
|
{
|
|
3097
3062
|
"kind": "js",
|
|
3098
|
-
"name": "
|
|
3063
|
+
"name": "ActionsMenu",
|
|
3099
3064
|
"declaration": {
|
|
3100
|
-
"name": "
|
|
3101
|
-
"module": "src/
|
|
3065
|
+
"name": "ActionsMenu",
|
|
3066
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3102
3067
|
}
|
|
3103
3068
|
},
|
|
3104
3069
|
{
|
|
3105
3070
|
"kind": "js",
|
|
3106
|
-
"name": "
|
|
3071
|
+
"name": "foundationActionsMenu",
|
|
3107
3072
|
"declaration": {
|
|
3108
|
-
"name": "
|
|
3109
|
-
"module": "src/
|
|
3073
|
+
"name": "foundationActionsMenu",
|
|
3074
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3110
3075
|
}
|
|
3111
|
-
}
|
|
3076
|
+
}
|
|
3077
|
+
]
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "javascript-module",
|
|
3081
|
+
"path": "src/actions-menu/ag-menu.styles.ts",
|
|
3082
|
+
"declarations": [
|
|
3112
3083
|
{
|
|
3113
|
-
"kind": "
|
|
3114
|
-
"name": "
|
|
3115
|
-
"
|
|
3116
|
-
"
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3084
|
+
"kind": "function",
|
|
3085
|
+
"name": "agMenuStyles",
|
|
3086
|
+
"return": {
|
|
3087
|
+
"type": {
|
|
3088
|
+
"text": ""
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
"parameters": [
|
|
3092
|
+
{
|
|
3093
|
+
"name": "menuSelector",
|
|
3094
|
+
"type": {
|
|
3095
|
+
"text": "string"
|
|
3096
|
+
},
|
|
3097
|
+
"description": "Selects the menu surface. May be a selector list."
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"name": "itemSelector",
|
|
3101
|
+
"type": {
|
|
3102
|
+
"text": "string"
|
|
3103
|
+
},
|
|
3104
|
+
"description": "Selects a menu item. Must be a single selector, as states are appended to it."
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
"description": "Styles a menu to match AG Grid's own menu (ag-menu / ag-menu-list / ag-menu-option), so a menu\ndrawn over a grid looks like the grid's. AG Grid's `--ag-*` variables apply where they are set;\nelsewhere the design system's tokens do, with fallbacks for when neither is in scope.",
|
|
3108
|
+
"privacy": "public"
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"exports": [
|
|
3120
3112
|
{
|
|
3121
3113
|
"kind": "js",
|
|
3122
|
-
"name": "
|
|
3114
|
+
"name": "agMenuStyles",
|
|
3123
3115
|
"declaration": {
|
|
3124
|
-
"name": "
|
|
3125
|
-
"module": "src/
|
|
3116
|
+
"name": "agMenuStyles",
|
|
3117
|
+
"module": "src/actions-menu/ag-menu.styles.ts"
|
|
3126
3118
|
}
|
|
3127
3119
|
}
|
|
3128
3120
|
]
|
|
3129
3121
|
},
|
|
3130
3122
|
{
|
|
3131
3123
|
"kind": "javascript-module",
|
|
3132
|
-
"path": "src/
|
|
3124
|
+
"path": "src/actions-menu/index.ts",
|
|
3133
3125
|
"declarations": [],
|
|
3134
3126
|
"exports": [
|
|
3135
3127
|
{
|
|
@@ -3137,7 +3129,7 @@
|
|
|
3137
3129
|
"name": "*",
|
|
3138
3130
|
"declaration": {
|
|
3139
3131
|
"name": "*",
|
|
3140
|
-
"package": "./
|
|
3132
|
+
"package": "./actions-menu.styles"
|
|
3141
3133
|
}
|
|
3142
3134
|
},
|
|
3143
3135
|
{
|
|
@@ -3145,7 +3137,7 @@
|
|
|
3145
3137
|
"name": "*",
|
|
3146
3138
|
"declaration": {
|
|
3147
3139
|
"name": "*",
|
|
3148
|
-
"package": "./
|
|
3140
|
+
"package": "./actions-menu.template"
|
|
3149
3141
|
}
|
|
3150
3142
|
},
|
|
3151
3143
|
{
|
|
@@ -3153,7 +3145,15 @@
|
|
|
3153
3145
|
"name": "*",
|
|
3154
3146
|
"declaration": {
|
|
3155
3147
|
"name": "*",
|
|
3156
|
-
"package": "./
|
|
3148
|
+
"package": "./actions-menu"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"kind": "js",
|
|
3153
|
+
"name": "*",
|
|
3154
|
+
"declaration": {
|
|
3155
|
+
"name": "*",
|
|
3156
|
+
"package": "./ag-menu.styles"
|
|
3157
3157
|
}
|
|
3158
3158
|
}
|
|
3159
3159
|
]
|