@genesislcap/foundation-ui 15.17.0 → 15.18.0-FUI-2601.3
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 +801 -801
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1493,6 +1493,37 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"kind": "javascript-module",
|
|
1498
|
+
"path": "src/_config/index.ts",
|
|
1499
|
+
"declarations": [],
|
|
1500
|
+
"exports": [
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "js",
|
|
1503
|
+
"name": "*",
|
|
1504
|
+
"declaration": {
|
|
1505
|
+
"name": "*",
|
|
1506
|
+
"package": "./styles"
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
{
|
|
1510
|
+
"kind": "js",
|
|
1511
|
+
"name": "*",
|
|
1512
|
+
"declaration": {
|
|
1513
|
+
"name": "*",
|
|
1514
|
+
"package": "./tokens"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"kind": "js",
|
|
1519
|
+
"name": "*",
|
|
1520
|
+
"declaration": {
|
|
1521
|
+
"name": "*",
|
|
1522
|
+
"package": "./values"
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
},
|
|
1496
1527
|
{
|
|
1497
1528
|
"kind": "javascript-module",
|
|
1498
1529
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -2010,65 +2041,11 @@
|
|
|
2010
2041
|
},
|
|
2011
2042
|
{
|
|
2012
2043
|
"kind": "javascript-module",
|
|
2013
|
-
"path": "src/
|
|
2014
|
-
"declarations": [],
|
|
2015
|
-
"exports": [
|
|
2016
|
-
{
|
|
2017
|
-
"kind": "js",
|
|
2018
|
-
"name": "*",
|
|
2019
|
-
"declaration": {
|
|
2020
|
-
"name": "*",
|
|
2021
|
-
"package": "./styles"
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"kind": "js",
|
|
2026
|
-
"name": "*",
|
|
2027
|
-
"declaration": {
|
|
2028
|
-
"name": "*",
|
|
2029
|
-
"package": "./tokens"
|
|
2030
|
-
}
|
|
2031
|
-
},
|
|
2032
|
-
{
|
|
2033
|
-
"kind": "js",
|
|
2034
|
-
"name": "*",
|
|
2035
|
-
"declaration": {
|
|
2036
|
-
"name": "*",
|
|
2037
|
-
"package": "./values"
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
]
|
|
2041
|
-
},
|
|
2042
|
-
{
|
|
2043
|
-
"kind": "javascript-module",
|
|
2044
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2044
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
2045
2045
|
"declarations": [
|
|
2046
2046
|
{
|
|
2047
2047
|
"kind": "function",
|
|
2048
|
-
"name": "
|
|
2049
|
-
"return": {
|
|
2050
|
-
"type": {
|
|
2051
|
-
"text": "ElementStyles"
|
|
2052
|
-
}
|
|
2053
|
-
},
|
|
2054
|
-
"parameters": [
|
|
2055
|
-
{
|
|
2056
|
-
"name": "context",
|
|
2057
|
-
"type": {
|
|
2058
|
-
"text": "ElementDefinitionContext"
|
|
2059
|
-
}
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"name": "definition",
|
|
2063
|
-
"type": {
|
|
2064
|
-
"text": "FoundationElementDefinition"
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2067
|
-
]
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"kind": "function",
|
|
2071
|
-
"name": "foundationActionsMenuStyles",
|
|
2048
|
+
"name": "foundationAccordionItemStyles",
|
|
2072
2049
|
"return": {
|
|
2073
2050
|
"type": {
|
|
2074
2051
|
"text": "ElementStyles"
|
|
@@ -2093,294 +2070,169 @@
|
|
|
2093
2070
|
"exports": [
|
|
2094
2071
|
{
|
|
2095
2072
|
"kind": "js",
|
|
2096
|
-
"name": "
|
|
2097
|
-
"declaration": {
|
|
2098
|
-
"name": "actionsMenuBaseStyles",
|
|
2099
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2102
|
-
{
|
|
2103
|
-
"kind": "js",
|
|
2104
|
-
"name": "foundationActionsMenuStyles",
|
|
2073
|
+
"name": "foundationAccordionItemStyles",
|
|
2105
2074
|
"declaration": {
|
|
2106
|
-
"name": "
|
|
2107
|
-
"module": "src/
|
|
2075
|
+
"name": "foundationAccordionItemStyles",
|
|
2076
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
2108
2077
|
}
|
|
2109
2078
|
}
|
|
2110
2079
|
]
|
|
2111
2080
|
},
|
|
2112
2081
|
{
|
|
2113
2082
|
"kind": "javascript-module",
|
|
2114
|
-
"path": "src/
|
|
2083
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
2115
2084
|
"declarations": [
|
|
2116
2085
|
{
|
|
2117
2086
|
"kind": "function",
|
|
2118
|
-
"name": "
|
|
2087
|
+
"name": "foundationAccordionItemTemplate",
|
|
2088
|
+
"return": {
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2119
2093
|
"parameters": [
|
|
2120
2094
|
{
|
|
2121
|
-
"name": "
|
|
2095
|
+
"name": "context",
|
|
2122
2096
|
"type": {
|
|
2123
|
-
"text": "
|
|
2097
|
+
"text": "ElementDefinitionContext"
|
|
2124
2098
|
}
|
|
2125
|
-
}
|
|
2126
|
-
]
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
"kind": "function",
|
|
2130
|
-
"name": "singleOptionTemplate",
|
|
2131
|
-
"parameters": [
|
|
2099
|
+
},
|
|
2132
2100
|
{
|
|
2133
|
-
"name": "
|
|
2101
|
+
"name": "definition",
|
|
2134
2102
|
"type": {
|
|
2135
|
-
"text": "
|
|
2103
|
+
"text": "FoundationElementDefinition"
|
|
2136
2104
|
}
|
|
2137
2105
|
}
|
|
2138
2106
|
]
|
|
2139
|
-
},
|
|
2140
|
-
{
|
|
2141
|
-
"kind": "variable",
|
|
2142
|
-
"name": "foundationActionsMenuTemplate",
|
|
2143
|
-
"type": {
|
|
2144
|
-
"text": "ViewTemplate<ActionsMenu>"
|
|
2145
|
-
},
|
|
2146
|
-
"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`"
|
|
2147
2107
|
}
|
|
2148
2108
|
],
|
|
2149
2109
|
"exports": [
|
|
2150
2110
|
{
|
|
2151
2111
|
"kind": "js",
|
|
2152
|
-
"name": "
|
|
2153
|
-
"declaration": {
|
|
2154
|
-
"name": "menuTemplate",
|
|
2155
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2156
|
-
}
|
|
2157
|
-
},
|
|
2158
|
-
{
|
|
2159
|
-
"kind": "js",
|
|
2160
|
-
"name": "singleOptionTemplate",
|
|
2161
|
-
"declaration": {
|
|
2162
|
-
"name": "singleOptionTemplate",
|
|
2163
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2164
|
-
}
|
|
2165
|
-
},
|
|
2166
|
-
{
|
|
2167
|
-
"kind": "js",
|
|
2168
|
-
"name": "foundationActionsMenuTemplate",
|
|
2112
|
+
"name": "foundationAccordionItemTemplate",
|
|
2169
2113
|
"declaration": {
|
|
2170
|
-
"name": "
|
|
2171
|
-
"module": "src/
|
|
2114
|
+
"name": "foundationAccordionItemTemplate",
|
|
2115
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
2172
2116
|
}
|
|
2173
2117
|
}
|
|
2174
2118
|
]
|
|
2175
2119
|
},
|
|
2176
2120
|
{
|
|
2177
2121
|
"kind": "javascript-module",
|
|
2178
|
-
"path": "src/
|
|
2122
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
2179
2123
|
"declarations": [
|
|
2180
2124
|
{
|
|
2181
2125
|
"kind": "class",
|
|
2182
2126
|
"description": "",
|
|
2183
|
-
"name": "
|
|
2184
|
-
"
|
|
2127
|
+
"name": "AccordionItem",
|
|
2128
|
+
"superclass": {
|
|
2129
|
+
"name": "FASTAccordionItem",
|
|
2130
|
+
"package": "@microsoft/fast-components"
|
|
2131
|
+
},
|
|
2132
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
2133
|
+
"customElement": true,
|
|
2134
|
+
"attributes": [
|
|
2185
2135
|
{
|
|
2186
|
-
"
|
|
2187
|
-
"name": "actions",
|
|
2136
|
+
"name": "heading-level",
|
|
2188
2137
|
"type": {
|
|
2189
|
-
"text": "
|
|
2138
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2139
|
+
},
|
|
2140
|
+
"default": "2",
|
|
2141
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2142
|
+
"fieldName": "headinglevel",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "AccordionItem",
|
|
2145
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2190
2146
|
}
|
|
2191
2147
|
},
|
|
2192
2148
|
{
|
|
2193
|
-
"kind": "field",
|
|
2194
|
-
"name": "isVertical",
|
|
2195
2149
|
"type": {
|
|
2196
2150
|
"text": "boolean"
|
|
2197
2151
|
},
|
|
2198
|
-
"default": "false"
|
|
2152
|
+
"default": "false",
|
|
2153
|
+
"description": "Expands or collapses the item.",
|
|
2154
|
+
"fieldName": "expanded",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "AccordionItem",
|
|
2157
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2158
|
+
}
|
|
2199
2159
|
},
|
|
2160
|
+
{
|
|
2161
|
+
"name": "id",
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "string"
|
|
2164
|
+
},
|
|
2165
|
+
"description": "The item ID",
|
|
2166
|
+
"fieldName": "id",
|
|
2167
|
+
"inheritedFrom": {
|
|
2168
|
+
"name": "AccordionItem",
|
|
2169
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"members": [
|
|
2200
2174
|
{
|
|
2201
2175
|
"kind": "field",
|
|
2202
|
-
"name": "
|
|
2176
|
+
"name": "headinglevel",
|
|
2203
2177
|
"type": {
|
|
2204
|
-
"text": "
|
|
2178
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
2205
2179
|
},
|
|
2206
|
-
"
|
|
2180
|
+
"privacy": "public",
|
|
2181
|
+
"default": "2",
|
|
2182
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2183
|
+
"inheritedFrom": {
|
|
2184
|
+
"name": "AccordionItem",
|
|
2185
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2186
|
+
}
|
|
2207
2187
|
},
|
|
2208
2188
|
{
|
|
2209
2189
|
"kind": "field",
|
|
2210
|
-
"name": "
|
|
2190
|
+
"name": "expanded",
|
|
2211
2191
|
"type": {
|
|
2212
2192
|
"text": "boolean"
|
|
2213
2193
|
},
|
|
2214
|
-
"
|
|
2194
|
+
"privacy": "public",
|
|
2195
|
+
"default": "false",
|
|
2196
|
+
"description": "Expands or collapses the item.",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AccordionItem",
|
|
2199
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2200
|
+
}
|
|
2215
2201
|
},
|
|
2216
2202
|
{
|
|
2217
2203
|
"kind": "field",
|
|
2218
|
-
"name": "
|
|
2204
|
+
"name": "id",
|
|
2219
2205
|
"type": {
|
|
2220
2206
|
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"privacy": "public",
|
|
2209
|
+
"description": "The item ID",
|
|
2210
|
+
"inheritedFrom": {
|
|
2211
|
+
"name": "AccordionItem",
|
|
2212
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2221
2213
|
}
|
|
2222
2214
|
},
|
|
2223
2215
|
{
|
|
2224
2216
|
"kind": "field",
|
|
2225
|
-
"name": "
|
|
2226
|
-
"
|
|
2227
|
-
|
|
2217
|
+
"name": "change",
|
|
2218
|
+
"privacy": "private",
|
|
2219
|
+
"inheritedFrom": {
|
|
2220
|
+
"name": "AccordionItem",
|
|
2221
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2228
2222
|
}
|
|
2229
2223
|
},
|
|
2230
2224
|
{
|
|
2231
2225
|
"kind": "field",
|
|
2232
|
-
"name": "
|
|
2226
|
+
"name": "_presentation",
|
|
2233
2227
|
"type": {
|
|
2234
|
-
"text": "
|
|
2228
|
+
"text": "ComponentPresentation | null | undefined"
|
|
2235
2229
|
},
|
|
2236
|
-
"
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
"text": "boolean"
|
|
2243
|
-
},
|
|
2244
|
-
"default": "false"
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"kind": "field",
|
|
2248
|
-
"name": "buttonAppearance",
|
|
2249
|
-
"type": {
|
|
2250
|
-
"text": "string"
|
|
2251
|
-
}
|
|
2252
|
-
},
|
|
2253
|
-
{
|
|
2254
|
-
"kind": "field",
|
|
2255
|
-
"name": "hideDisabled",
|
|
2256
|
-
"type": {
|
|
2257
|
-
"text": "boolean"
|
|
2258
|
-
},
|
|
2259
|
-
"default": "false"
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"kind": "field",
|
|
2263
|
-
"name": "hideMenuSingleOption",
|
|
2264
|
-
"type": {
|
|
2265
|
-
"text": "boolean"
|
|
2266
|
-
},
|
|
2267
|
-
"default": "false"
|
|
2268
|
-
},
|
|
2269
|
-
{
|
|
2270
|
-
"kind": "field",
|
|
2271
|
-
"name": "singleOption",
|
|
2272
|
-
"type": {
|
|
2273
|
-
"text": "ActionMenuItem"
|
|
2274
|
-
}
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"kind": "field",
|
|
2278
|
-
"name": "actionsMenu",
|
|
2279
|
-
"type": {
|
|
2280
|
-
"text": "HTMLElement"
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
"kind": "field",
|
|
2285
|
-
"name": "actionsOpener",
|
|
2286
|
-
"type": {
|
|
2287
|
-
"text": "HTMLElement"
|
|
2288
|
-
}
|
|
2289
|
-
},
|
|
2290
|
-
{
|
|
2291
|
-
"kind": "method",
|
|
2292
|
-
"name": "updateMenuPosition",
|
|
2293
|
-
"privacy": "private"
|
|
2294
|
-
},
|
|
2295
|
-
{
|
|
2296
|
-
"kind": "method",
|
|
2297
|
-
"name": "definitionChanged",
|
|
2298
|
-
"privacy": "protected",
|
|
2299
|
-
"parameters": [
|
|
2300
|
-
{
|
|
2301
|
-
"name": "oldValue",
|
|
2302
|
-
"type": {
|
|
2303
|
-
"text": "any"
|
|
2304
|
-
}
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
"name": "newValue",
|
|
2308
|
-
"type": {
|
|
2309
|
-
"text": "any"
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
"kind": "method",
|
|
2316
|
-
"name": "openChanged",
|
|
2317
|
-
"privacy": "protected"
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"kind": "method",
|
|
2321
|
-
"name": "toggleActionsMenuVisibility"
|
|
2322
|
-
},
|
|
2323
|
-
{
|
|
2324
|
-
"kind": "method",
|
|
2325
|
-
"name": "onActionMenuItemClick",
|
|
2326
|
-
"parameters": [
|
|
2327
|
-
{
|
|
2328
|
-
"name": "callback",
|
|
2329
|
-
"type": {
|
|
2330
|
-
"text": "(rowData) => void | any"
|
|
2331
|
-
}
|
|
2332
|
-
}
|
|
2333
|
-
]
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
"kind": "field",
|
|
2337
|
-
"name": "allActions",
|
|
2338
|
-
"type": {
|
|
2339
|
-
"text": "ActionMenuItem[]"
|
|
2340
|
-
},
|
|
2341
|
-
"readonly": true
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"kind": "field",
|
|
2345
|
-
"name": "rowData",
|
|
2346
|
-
"readonly": true
|
|
2347
|
-
},
|
|
2348
|
-
{
|
|
2349
|
-
"kind": "method",
|
|
2350
|
-
"name": "getLabel",
|
|
2351
|
-
"parameters": [
|
|
2352
|
-
{
|
|
2353
|
-
"name": "name",
|
|
2354
|
-
"type": {
|
|
2355
|
-
"text": "string | ((rowData: any) => string)"
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
]
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"kind": "method",
|
|
2362
|
-
"name": "getTemplate",
|
|
2363
|
-
"parameters": [
|
|
2364
|
-
{
|
|
2365
|
-
"name": "prefix",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "string"
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
]
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "field",
|
|
2374
|
-
"name": "_presentation",
|
|
2375
|
-
"type": {
|
|
2376
|
-
"text": "ComponentPresentation | null | undefined"
|
|
2377
|
-
},
|
|
2378
|
-
"privacy": "private",
|
|
2379
|
-
"default": "void 0",
|
|
2380
|
-
"inheritedFrom": {
|
|
2381
|
-
"name": "FoundationElement",
|
|
2382
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2383
|
-
}
|
|
2230
|
+
"privacy": "private",
|
|
2231
|
+
"default": "void 0",
|
|
2232
|
+
"inheritedFrom": {
|
|
2233
|
+
"name": "FoundationElement",
|
|
2234
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2235
|
+
}
|
|
2384
2236
|
},
|
|
2385
2237
|
{
|
|
2386
2238
|
"kind": "field",
|
|
@@ -2481,107 +2333,78 @@
|
|
|
2481
2333
|
}
|
|
2482
2334
|
}
|
|
2483
2335
|
],
|
|
2484
|
-
"
|
|
2485
|
-
{
|
|
2486
|
-
"name": "is-vertical",
|
|
2487
|
-
"type": {
|
|
2488
|
-
"text": "boolean"
|
|
2489
|
-
},
|
|
2490
|
-
"default": "false",
|
|
2491
|
-
"fieldName": "isVertical"
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
"name": "add-default-actions",
|
|
2495
|
-
"type": {
|
|
2496
|
-
"text": "boolean"
|
|
2497
|
-
},
|
|
2498
|
-
"default": "true",
|
|
2499
|
-
"fieldName": "addDefaultActions"
|
|
2500
|
-
},
|
|
2501
|
-
{
|
|
2502
|
-
"name": "auto-close-on-action",
|
|
2503
|
-
"type": {
|
|
2504
|
-
"text": "boolean"
|
|
2505
|
-
},
|
|
2506
|
-
"default": "true",
|
|
2507
|
-
"fieldName": "autoCloseOnAction"
|
|
2508
|
-
},
|
|
2509
|
-
{
|
|
2510
|
-
"name": "name",
|
|
2511
|
-
"type": {
|
|
2512
|
-
"text": "string"
|
|
2513
|
-
},
|
|
2514
|
-
"default": "'Actions'",
|
|
2515
|
-
"fieldName": "name"
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
"name": "open",
|
|
2519
|
-
"type": {
|
|
2520
|
-
"text": "boolean"
|
|
2521
|
-
},
|
|
2522
|
-
"default": "false",
|
|
2523
|
-
"fieldName": "open"
|
|
2524
|
-
},
|
|
2525
|
-
{
|
|
2526
|
-
"name": "buttonAppearance",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
},
|
|
2530
|
-
"fieldName": "buttonAppearance"
|
|
2531
|
-
},
|
|
2532
|
-
{
|
|
2533
|
-
"name": "hide-disabled",
|
|
2534
|
-
"type": {
|
|
2535
|
-
"text": "boolean"
|
|
2536
|
-
},
|
|
2537
|
-
"default": "false",
|
|
2538
|
-
"fieldName": "hideDisabled"
|
|
2539
|
-
},
|
|
2336
|
+
"events": [
|
|
2540
2337
|
{
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2338
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
2339
|
+
"name": "change",
|
|
2340
|
+
"inheritedFrom": {
|
|
2341
|
+
"name": "AccordionItem",
|
|
2342
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2343
|
+
}
|
|
2547
2344
|
}
|
|
2548
|
-
]
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2345
|
+
]
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "variable",
|
|
2349
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2350
|
+
"type": {
|
|
2351
|
+
"text": "ShadowRootInit"
|
|
2552
2352
|
},
|
|
2553
|
-
"
|
|
2554
|
-
"customElement": true
|
|
2353
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2555
2354
|
},
|
|
2556
2355
|
{
|
|
2557
2356
|
"kind": "variable",
|
|
2558
|
-
"name": "
|
|
2559
|
-
"
|
|
2357
|
+
"name": "defaultAccordionItemConfig",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "object"
|
|
2360
|
+
},
|
|
2361
|
+
"default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
|
|
2362
|
+
},
|
|
2363
|
+
{
|
|
2364
|
+
"kind": "variable",
|
|
2365
|
+
"name": "foundationAccordionItem",
|
|
2366
|
+
"description": "The Foundation Accordion Item",
|
|
2560
2367
|
"privacy": "public"
|
|
2561
2368
|
}
|
|
2562
2369
|
],
|
|
2563
2370
|
"exports": [
|
|
2564
2371
|
{
|
|
2565
2372
|
"kind": "js",
|
|
2566
|
-
"name": "
|
|
2373
|
+
"name": "AccordionItem",
|
|
2567
2374
|
"declaration": {
|
|
2568
|
-
"name": "
|
|
2569
|
-
"module": "src/
|
|
2375
|
+
"name": "AccordionItem",
|
|
2376
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2570
2377
|
}
|
|
2571
2378
|
},
|
|
2572
2379
|
{
|
|
2573
2380
|
"kind": "js",
|
|
2574
|
-
"name": "
|
|
2381
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2575
2382
|
"declaration": {
|
|
2576
|
-
"name": "
|
|
2577
|
-
"module": "src/
|
|
2383
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
2384
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2578
2385
|
}
|
|
2579
|
-
}
|
|
2580
|
-
|
|
2581
|
-
|
|
2386
|
+
},
|
|
2387
|
+
{
|
|
2388
|
+
"kind": "js",
|
|
2389
|
+
"name": "defaultAccordionItemConfig",
|
|
2390
|
+
"declaration": {
|
|
2391
|
+
"name": "defaultAccordionItemConfig",
|
|
2392
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "foundationAccordionItem",
|
|
2398
|
+
"declaration": {
|
|
2399
|
+
"name": "foundationAccordionItem",
|
|
2400
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
]
|
|
2404
|
+
},
|
|
2582
2405
|
{
|
|
2583
2406
|
"kind": "javascript-module",
|
|
2584
|
-
"path": "src/
|
|
2407
|
+
"path": "src/accordion-item/index.ts",
|
|
2585
2408
|
"declarations": [],
|
|
2586
2409
|
"exports": [
|
|
2587
2410
|
{
|
|
@@ -2589,7 +2412,7 @@
|
|
|
2589
2412
|
"name": "*",
|
|
2590
2413
|
"declaration": {
|
|
2591
2414
|
"name": "*",
|
|
2592
|
-
"package": "./
|
|
2415
|
+
"package": "./accordion-item.template"
|
|
2593
2416
|
}
|
|
2594
2417
|
},
|
|
2595
2418
|
{
|
|
@@ -2597,7 +2420,7 @@
|
|
|
2597
2420
|
"name": "*",
|
|
2598
2421
|
"declaration": {
|
|
2599
2422
|
"name": "*",
|
|
2600
|
-
"package": "./
|
|
2423
|
+
"package": "./accordion-item.styles"
|
|
2601
2424
|
}
|
|
2602
2425
|
},
|
|
2603
2426
|
{
|
|
@@ -2605,122 +2428,210 @@
|
|
|
2605
2428
|
"name": "*",
|
|
2606
2429
|
"declaration": {
|
|
2607
2430
|
"name": "*",
|
|
2608
|
-
"package": "./
|
|
2431
|
+
"package": "./accordion-item"
|
|
2609
2432
|
}
|
|
2610
2433
|
}
|
|
2611
2434
|
]
|
|
2612
2435
|
},
|
|
2613
2436
|
{
|
|
2614
2437
|
"kind": "javascript-module",
|
|
2615
|
-
"path": "src/
|
|
2438
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2616
2439
|
"declarations": [
|
|
2617
2440
|
{
|
|
2618
|
-
"kind": "
|
|
2619
|
-
"name": "
|
|
2620
|
-
"
|
|
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
|
+
]
|
|
2621
2485
|
}
|
|
2622
2486
|
],
|
|
2623
2487
|
"exports": [
|
|
2624
2488
|
{
|
|
2625
2489
|
"kind": "js",
|
|
2626
|
-
"name": "
|
|
2490
|
+
"name": "actionsMenuBaseStyles",
|
|
2627
2491
|
"declaration": {
|
|
2628
|
-
"name": "
|
|
2629
|
-
"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"
|
|
2630
2502
|
}
|
|
2631
2503
|
}
|
|
2632
2504
|
]
|
|
2633
2505
|
},
|
|
2634
2506
|
{
|
|
2635
2507
|
"kind": "javascript-module",
|
|
2636
|
-
"path": "src/
|
|
2508
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2637
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
|
+
},
|
|
2638
2534
|
{
|
|
2639
2535
|
"kind": "variable",
|
|
2640
|
-
"name": "
|
|
2536
|
+
"name": "foundationActionsMenuTemplate",
|
|
2641
2537
|
"type": {
|
|
2642
|
-
"text": "ViewTemplate<
|
|
2538
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2643
2539
|
},
|
|
2644
|
-
"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`"
|
|
2645
2541
|
}
|
|
2646
2542
|
],
|
|
2647
2543
|
"exports": [
|
|
2648
2544
|
{
|
|
2649
2545
|
"kind": "js",
|
|
2650
|
-
"name": "
|
|
2546
|
+
"name": "menuTemplate",
|
|
2651
2547
|
"declaration": {
|
|
2652
|
-
"name": "
|
|
2653
|
-
"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"
|
|
2654
2566
|
}
|
|
2655
2567
|
}
|
|
2656
2568
|
]
|
|
2657
2569
|
},
|
|
2658
2570
|
{
|
|
2659
2571
|
"kind": "javascript-module",
|
|
2660
|
-
"path": "src/
|
|
2572
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2661
2573
|
"declarations": [
|
|
2662
2574
|
{
|
|
2663
2575
|
"kind": "class",
|
|
2664
|
-
"description": "
|
|
2665
|
-
"name": "
|
|
2576
|
+
"description": "",
|
|
2577
|
+
"name": "ActionsMenu",
|
|
2666
2578
|
"members": [
|
|
2667
2579
|
{
|
|
2668
2580
|
"kind": "field",
|
|
2669
|
-
"name": "
|
|
2581
|
+
"name": "actions",
|
|
2670
2582
|
"type": {
|
|
2671
|
-
"text": "
|
|
2583
|
+
"text": "ActionMenuItem[]"
|
|
2672
2584
|
}
|
|
2673
2585
|
},
|
|
2674
2586
|
{
|
|
2675
2587
|
"kind": "field",
|
|
2676
|
-
"name": "
|
|
2588
|
+
"name": "isVertical",
|
|
2677
2589
|
"type": {
|
|
2678
|
-
"text": "
|
|
2590
|
+
"text": "boolean"
|
|
2679
2591
|
},
|
|
2680
|
-
"default": "
|
|
2592
|
+
"default": "false"
|
|
2681
2593
|
},
|
|
2682
2594
|
{
|
|
2683
2595
|
"kind": "field",
|
|
2684
|
-
"name": "
|
|
2596
|
+
"name": "addDefaultActions",
|
|
2685
2597
|
"type": {
|
|
2686
2598
|
"text": "boolean"
|
|
2687
|
-
}
|
|
2599
|
+
},
|
|
2600
|
+
"default": "true"
|
|
2688
2601
|
},
|
|
2689
2602
|
{
|
|
2690
2603
|
"kind": "field",
|
|
2691
|
-
"name": "
|
|
2604
|
+
"name": "autoCloseOnAction",
|
|
2692
2605
|
"type": {
|
|
2693
|
-
"text": "
|
|
2606
|
+
"text": "boolean"
|
|
2694
2607
|
},
|
|
2695
|
-
"default": "
|
|
2608
|
+
"default": "true"
|
|
2696
2609
|
},
|
|
2697
2610
|
{
|
|
2698
2611
|
"kind": "field",
|
|
2699
|
-
"name": "
|
|
2612
|
+
"name": "classNames",
|
|
2700
2613
|
"type": {
|
|
2701
|
-
"text": "
|
|
2702
|
-
}
|
|
2703
|
-
"default": "false"
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
}
|
|
2704
2616
|
},
|
|
2705
2617
|
{
|
|
2706
2618
|
"kind": "field",
|
|
2707
|
-
"name": "
|
|
2619
|
+
"name": "definition",
|
|
2708
2620
|
"type": {
|
|
2709
|
-
"text": "
|
|
2710
|
-
}
|
|
2711
|
-
"default": "null"
|
|
2621
|
+
"text": "any"
|
|
2622
|
+
}
|
|
2712
2623
|
},
|
|
2713
2624
|
{
|
|
2714
2625
|
"kind": "field",
|
|
2715
|
-
"name": "
|
|
2626
|
+
"name": "name",
|
|
2716
2627
|
"type": {
|
|
2717
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2718
2629
|
},
|
|
2719
|
-
"default": "
|
|
2630
|
+
"default": "'Actions'"
|
|
2720
2631
|
},
|
|
2721
2632
|
{
|
|
2722
2633
|
"kind": "field",
|
|
2723
|
-
"name": "
|
|
2634
|
+
"name": "open",
|
|
2724
2635
|
"type": {
|
|
2725
2636
|
"text": "boolean"
|
|
2726
2637
|
},
|
|
@@ -2728,15 +2639,14 @@
|
|
|
2728
2639
|
},
|
|
2729
2640
|
{
|
|
2730
2641
|
"kind": "field",
|
|
2731
|
-
"name": "
|
|
2642
|
+
"name": "buttonAppearance",
|
|
2732
2643
|
"type": {
|
|
2733
|
-
"text": "
|
|
2734
|
-
}
|
|
2735
|
-
"default": "[]"
|
|
2644
|
+
"text": "string"
|
|
2645
|
+
}
|
|
2736
2646
|
},
|
|
2737
2647
|
{
|
|
2738
2648
|
"kind": "field",
|
|
2739
|
-
"name": "
|
|
2649
|
+
"name": "hideDisabled",
|
|
2740
2650
|
"type": {
|
|
2741
2651
|
"text": "boolean"
|
|
2742
2652
|
},
|
|
@@ -2744,125 +2654,114 @@
|
|
|
2744
2654
|
},
|
|
2745
2655
|
{
|
|
2746
2656
|
"kind": "field",
|
|
2747
|
-
"name": "
|
|
2657
|
+
"name": "hideMenuSingleOption",
|
|
2748
2658
|
"type": {
|
|
2749
|
-
"text": "
|
|
2659
|
+
"text": "boolean"
|
|
2750
2660
|
},
|
|
2751
|
-
"
|
|
2661
|
+
"default": "false"
|
|
2752
2662
|
},
|
|
2753
2663
|
{
|
|
2754
2664
|
"kind": "field",
|
|
2755
|
-
"name": "
|
|
2665
|
+
"name": "singleOption",
|
|
2756
2666
|
"type": {
|
|
2757
|
-
"text": "
|
|
2758
|
-
}
|
|
2759
|
-
"privacy": "private",
|
|
2760
|
-
"default": "null"
|
|
2667
|
+
"text": "ActionMenuItem"
|
|
2668
|
+
}
|
|
2761
2669
|
},
|
|
2762
2670
|
{
|
|
2763
2671
|
"kind": "field",
|
|
2764
|
-
"name": "
|
|
2672
|
+
"name": "actionsMenu",
|
|
2765
2673
|
"type": {
|
|
2766
|
-
"text": "
|
|
2767
|
-
}
|
|
2768
|
-
"privacy": "private",
|
|
2769
|
-
"default": "null"
|
|
2674
|
+
"text": "HTMLElement"
|
|
2675
|
+
}
|
|
2770
2676
|
},
|
|
2771
2677
|
{
|
|
2772
2678
|
"kind": "field",
|
|
2773
|
-
"name": "
|
|
2679
|
+
"name": "actionsOpener",
|
|
2774
2680
|
"type": {
|
|
2775
|
-
"text": "
|
|
2776
|
-
}
|
|
2777
|
-
"readonly": true
|
|
2681
|
+
"text": "HTMLElement"
|
|
2682
|
+
}
|
|
2778
2683
|
},
|
|
2779
2684
|
{
|
|
2780
|
-
"kind": "
|
|
2781
|
-
"name": "
|
|
2782
|
-
"
|
|
2783
|
-
"text": "CriteriaChip[]"
|
|
2784
|
-
},
|
|
2785
|
-
"readonly": true
|
|
2685
|
+
"kind": "method",
|
|
2686
|
+
"name": "updateMenuPosition",
|
|
2687
|
+
"privacy": "private"
|
|
2786
2688
|
},
|
|
2787
2689
|
{
|
|
2788
2690
|
"kind": "method",
|
|
2789
|
-
"name": "
|
|
2790
|
-
"privacy": "
|
|
2791
|
-
"return": {
|
|
2792
|
-
"type": {
|
|
2793
|
-
"text": "string"
|
|
2794
|
-
}
|
|
2795
|
-
},
|
|
2691
|
+
"name": "definitionChanged",
|
|
2692
|
+
"privacy": "protected",
|
|
2796
2693
|
"parameters": [
|
|
2797
2694
|
{
|
|
2798
|
-
"name": "
|
|
2695
|
+
"name": "oldValue",
|
|
2799
2696
|
"type": {
|
|
2800
|
-
"text": "
|
|
2801
|
-
}
|
|
2802
|
-
}
|
|
2803
|
-
]
|
|
2804
|
-
},
|
|
2805
|
-
{
|
|
2806
|
-
"kind": "method",
|
|
2807
|
-
"name": "toggleCriteriaView",
|
|
2808
|
-
"return": {
|
|
2809
|
-
"type": {
|
|
2810
|
-
"text": "void"
|
|
2811
|
-
}
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"kind": "method",
|
|
2816
|
-
"name": "removeChip",
|
|
2817
|
-
"return": {
|
|
2818
|
-
"type": {
|
|
2819
|
-
"text": "void"
|
|
2820
|
-
}
|
|
2821
|
-
},
|
|
2822
|
-
"parameters": [
|
|
2823
|
-
{
|
|
2824
|
-
"name": "groupIndex",
|
|
2825
|
-
"type": {
|
|
2826
|
-
"text": "number"
|
|
2697
|
+
"text": "any"
|
|
2827
2698
|
}
|
|
2828
2699
|
},
|
|
2829
2700
|
{
|
|
2830
|
-
"name": "
|
|
2701
|
+
"name": "newValue",
|
|
2831
2702
|
"type": {
|
|
2832
|
-
"text": "
|
|
2703
|
+
"text": "any"
|
|
2833
2704
|
}
|
|
2834
2705
|
}
|
|
2835
2706
|
]
|
|
2836
2707
|
},
|
|
2837
2708
|
{
|
|
2838
2709
|
"kind": "method",
|
|
2839
|
-
"name": "
|
|
2840
|
-
"
|
|
2841
|
-
"type": {
|
|
2842
|
-
"text": "void"
|
|
2843
|
-
}
|
|
2844
|
-
}
|
|
2710
|
+
"name": "openChanged",
|
|
2711
|
+
"privacy": "protected"
|
|
2845
2712
|
},
|
|
2846
2713
|
{
|
|
2847
2714
|
"kind": "method",
|
|
2848
|
-
"name": "
|
|
2715
|
+
"name": "toggleActionsMenuVisibility"
|
|
2849
2716
|
},
|
|
2850
2717
|
{
|
|
2851
2718
|
"kind": "method",
|
|
2852
|
-
"name": "
|
|
2719
|
+
"name": "onActionMenuItemClick",
|
|
2720
|
+
"parameters": [
|
|
2721
|
+
{
|
|
2722
|
+
"name": "callback",
|
|
2723
|
+
"type": {
|
|
2724
|
+
"text": "(rowData) => void | any"
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
]
|
|
2853
2728
|
},
|
|
2854
2729
|
{
|
|
2855
|
-
"kind": "
|
|
2856
|
-
"name": "
|
|
2730
|
+
"kind": "field",
|
|
2731
|
+
"name": "allActions",
|
|
2732
|
+
"type": {
|
|
2733
|
+
"text": "ActionMenuItem[]"
|
|
2734
|
+
},
|
|
2735
|
+
"readonly": true
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"kind": "field",
|
|
2739
|
+
"name": "rowData",
|
|
2740
|
+
"readonly": true
|
|
2857
2741
|
},
|
|
2858
2742
|
{
|
|
2859
2743
|
"kind": "method",
|
|
2860
|
-
"name": "
|
|
2744
|
+
"name": "getLabel",
|
|
2745
|
+
"parameters": [
|
|
2746
|
+
{
|
|
2747
|
+
"name": "name",
|
|
2748
|
+
"type": {
|
|
2749
|
+
"text": "string | ((rowData: any) => string)"
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
]
|
|
2861
2753
|
},
|
|
2862
2754
|
{
|
|
2863
2755
|
"kind": "method",
|
|
2864
|
-
"name": "
|
|
2865
|
-
"
|
|
2756
|
+
"name": "getTemplate",
|
|
2757
|
+
"parameters": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "prefix",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "string"
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
]
|
|
2866
2765
|
},
|
|
2867
2766
|
{
|
|
2868
2767
|
"kind": "field",
|
|
@@ -2976,154 +2875,115 @@
|
|
|
2976
2875
|
}
|
|
2977
2876
|
}
|
|
2978
2877
|
],
|
|
2979
|
-
"
|
|
2878
|
+
"attributes": [
|
|
2980
2879
|
{
|
|
2981
|
-
"
|
|
2982
|
-
"
|
|
2880
|
+
"name": "is-vertical",
|
|
2881
|
+
"type": {
|
|
2882
|
+
"text": "boolean"
|
|
2883
|
+
},
|
|
2884
|
+
"default": "false",
|
|
2885
|
+
"fieldName": "isVertical"
|
|
2983
2886
|
},
|
|
2984
2887
|
{
|
|
2985
|
-
"
|
|
2986
|
-
"
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2888
|
+
"name": "add-default-actions",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "true",
|
|
2893
|
+
"fieldName": "addDefaultActions"
|
|
2894
|
+
},
|
|
2990
2895
|
{
|
|
2991
|
-
"name": "
|
|
2896
|
+
"name": "auto-close-on-action",
|
|
2897
|
+
"type": {
|
|
2898
|
+
"text": "boolean"
|
|
2899
|
+
},
|
|
2900
|
+
"default": "true",
|
|
2901
|
+
"fieldName": "autoCloseOnAction"
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"name": "name",
|
|
2992
2905
|
"type": {
|
|
2993
2906
|
"text": "string"
|
|
2994
2907
|
},
|
|
2995
|
-
"default": "'
|
|
2996
|
-
"fieldName": "
|
|
2908
|
+
"default": "'Actions'",
|
|
2909
|
+
"fieldName": "name"
|
|
2997
2910
|
},
|
|
2998
2911
|
{
|
|
2912
|
+
"name": "open",
|
|
2999
2913
|
"type": {
|
|
3000
2914
|
"text": "boolean"
|
|
3001
2915
|
},
|
|
3002
|
-
"
|
|
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"
|
|
3003
2941
|
}
|
|
3004
2942
|
],
|
|
3005
2943
|
"superclass": {
|
|
3006
2944
|
"name": "FoundationElement",
|
|
3007
2945
|
"package": "@microsoft/fast-foundation"
|
|
3008
2946
|
},
|
|
3009
|
-
"tagName": "%%prefix%%-
|
|
2947
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3010
2948
|
"customElement": true
|
|
3011
2949
|
},
|
|
3012
2950
|
{
|
|
3013
2951
|
"kind": "variable",
|
|
3014
|
-
"name": "
|
|
3015
|
-
"
|
|
3016
|
-
|
|
3017
|
-
},
|
|
3018
|
-
"default": "undefined"
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"kind": "variable",
|
|
3022
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3023
|
-
"type": {
|
|
3024
|
-
"text": "object"
|
|
3025
|
-
},
|
|
3026
|
-
"default": "{}"
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "variable",
|
|
3030
|
-
"name": "foundationAiCriteriaSearch"
|
|
2952
|
+
"name": "foundationActionsMenu",
|
|
2953
|
+
"description": "The Foundation Actions Menu",
|
|
2954
|
+
"privacy": "public"
|
|
3031
2955
|
}
|
|
3032
2956
|
],
|
|
3033
2957
|
"exports": [
|
|
3034
2958
|
{
|
|
3035
2959
|
"kind": "js",
|
|
3036
|
-
"name": "
|
|
3037
|
-
"declaration": {
|
|
3038
|
-
"name": "AiCriteriaSearch",
|
|
3039
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3040
|
-
}
|
|
3041
|
-
},
|
|
3042
|
-
{
|
|
3043
|
-
"kind": "js",
|
|
3044
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3045
|
-
"declaration": {
|
|
3046
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3047
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3048
|
-
}
|
|
3049
|
-
},
|
|
3050
|
-
{
|
|
3051
|
-
"kind": "js",
|
|
3052
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2960
|
+
"name": "ActionsMenu",
|
|
3053
2961
|
"declaration": {
|
|
3054
|
-
"name": "
|
|
3055
|
-
"module": "src/
|
|
2962
|
+
"name": "ActionsMenu",
|
|
2963
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3056
2964
|
}
|
|
3057
2965
|
},
|
|
3058
2966
|
{
|
|
3059
2967
|
"kind": "js",
|
|
3060
|
-
"name": "
|
|
2968
|
+
"name": "foundationActionsMenu",
|
|
3061
2969
|
"declaration": {
|
|
3062
|
-
"name": "
|
|
3063
|
-
"module": "src/
|
|
2970
|
+
"name": "foundationActionsMenu",
|
|
2971
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
3064
2972
|
}
|
|
3065
2973
|
}
|
|
3066
2974
|
]
|
|
3067
2975
|
},
|
|
3068
2976
|
{
|
|
3069
2977
|
"kind": "javascript-module",
|
|
3070
|
-
"path": "src/
|
|
2978
|
+
"path": "src/actions-menu/index.ts",
|
|
3071
2979
|
"declarations": [],
|
|
3072
2980
|
"exports": [
|
|
3073
|
-
{
|
|
3074
|
-
"kind": "js",
|
|
3075
|
-
"name": "AiCriteriaSearch",
|
|
3076
|
-
"declaration": {
|
|
3077
|
-
"name": "AiCriteriaSearch",
|
|
3078
|
-
"module": "./ai-criteria-search"
|
|
3079
|
-
}
|
|
3080
|
-
},
|
|
3081
|
-
{
|
|
3082
|
-
"kind": "js",
|
|
3083
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3084
|
-
"declaration": {
|
|
3085
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3086
|
-
"module": "./ai-criteria-search"
|
|
3087
|
-
}
|
|
3088
|
-
},
|
|
3089
|
-
{
|
|
3090
|
-
"kind": "js",
|
|
3091
|
-
"name": "foundationAiCriteriaSearch",
|
|
3092
|
-
"declaration": {
|
|
3093
|
-
"name": "foundationAiCriteriaSearch",
|
|
3094
|
-
"module": "./ai-criteria-search"
|
|
3095
|
-
}
|
|
3096
|
-
},
|
|
3097
|
-
{
|
|
3098
|
-
"kind": "js",
|
|
3099
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3100
|
-
"declaration": {
|
|
3101
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3102
|
-
"module": "./ai-criteria-search"
|
|
3103
|
-
}
|
|
3104
|
-
},
|
|
3105
|
-
{
|
|
3106
|
-
"kind": "js",
|
|
3107
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3108
|
-
"declaration": {
|
|
3109
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3110
|
-
"module": "./ai-criteria-search.styles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
{
|
|
3114
|
-
"kind": "js",
|
|
3115
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3116
|
-
"declaration": {
|
|
3117
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3118
|
-
"module": "./ai-criteria-search.template"
|
|
3119
|
-
}
|
|
3120
|
-
},
|
|
3121
2981
|
{
|
|
3122
2982
|
"kind": "js",
|
|
3123
2983
|
"name": "*",
|
|
3124
2984
|
"declaration": {
|
|
3125
2985
|
"name": "*",
|
|
3126
|
-
"package": "./
|
|
2986
|
+
"package": "./actions-menu.styles"
|
|
3127
2987
|
}
|
|
3128
2988
|
},
|
|
3129
2989
|
{
|
|
@@ -3131,7 +2991,7 @@
|
|
|
3131
2991
|
"name": "*",
|
|
3132
2992
|
"declaration": {
|
|
3133
2993
|
"name": "*",
|
|
3134
|
-
"package": "./
|
|
2994
|
+
"package": "./actions-menu.template"
|
|
3135
2995
|
}
|
|
3136
2996
|
},
|
|
3137
2997
|
{
|
|
@@ -3139,267 +2999,264 @@
|
|
|
3139
2999
|
"name": "*",
|
|
3140
3000
|
"declaration": {
|
|
3141
3001
|
"name": "*",
|
|
3142
|
-
"package": "./
|
|
3002
|
+
"package": "./actions-menu"
|
|
3143
3003
|
}
|
|
3144
3004
|
}
|
|
3145
3005
|
]
|
|
3146
3006
|
},
|
|
3147
3007
|
{
|
|
3148
3008
|
"kind": "javascript-module",
|
|
3149
|
-
"path": "src/ai-criteria-search/
|
|
3009
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3150
3010
|
"declarations": [
|
|
3151
3011
|
{
|
|
3152
|
-
"kind": "
|
|
3153
|
-
"name": "
|
|
3154
|
-
"
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "string"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
"parameters": [
|
|
3160
|
-
{
|
|
3161
|
-
"name": "errors",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "ValidationError[]"
|
|
3164
|
-
}
|
|
3165
|
-
}
|
|
3166
|
-
],
|
|
3167
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "function",
|
|
3171
|
-
"name": "showCriteriaError",
|
|
3172
|
-
"return": {
|
|
3173
|
-
"type": {
|
|
3174
|
-
"text": "void"
|
|
3175
|
-
}
|
|
3176
|
-
},
|
|
3177
|
-
"parameters": [
|
|
3178
|
-
{
|
|
3179
|
-
"name": "title",
|
|
3180
|
-
"type": {
|
|
3181
|
-
"text": "string"
|
|
3182
|
-
},
|
|
3183
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"name": "body",
|
|
3187
|
-
"type": {
|
|
3188
|
-
"text": "string"
|
|
3189
|
-
},
|
|
3190
|
-
"description": "Error message to display"
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
"name": "tagName",
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "string"
|
|
3196
|
-
},
|
|
3197
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3198
|
-
}
|
|
3199
|
-
],
|
|
3200
|
-
"description": "Shows a criteria error as a toast notification."
|
|
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`"
|
|
3201
3015
|
}
|
|
3202
3016
|
],
|
|
3203
3017
|
"exports": [
|
|
3204
3018
|
{
|
|
3205
3019
|
"kind": "js",
|
|
3206
|
-
"name": "
|
|
3207
|
-
"declaration": {
|
|
3208
|
-
"name": "formatValidationErrors",
|
|
3209
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3210
|
-
}
|
|
3211
|
-
},
|
|
3212
|
-
{
|
|
3213
|
-
"kind": "js",
|
|
3214
|
-
"name": "showCriteriaError",
|
|
3020
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3215
3021
|
"declaration": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"module": "src/ai-criteria-search/
|
|
3022
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3023
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3218
3024
|
}
|
|
3219
3025
|
}
|
|
3220
3026
|
]
|
|
3221
3027
|
},
|
|
3222
3028
|
{
|
|
3223
3029
|
"kind": "javascript-module",
|
|
3224
|
-
"path": "src/
|
|
3030
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3225
3031
|
"declarations": [
|
|
3226
3032
|
{
|
|
3227
|
-
"kind": "
|
|
3228
|
-
"name": "
|
|
3229
|
-
"
|
|
3230
|
-
"
|
|
3231
|
-
"text": "ElementStyles"
|
|
3232
|
-
}
|
|
3033
|
+
"kind": "variable",
|
|
3034
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3233
3037
|
},
|
|
3234
|
-
"
|
|
3235
|
-
{
|
|
3236
|
-
"name": "context",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "ElementDefinitionContext"
|
|
3239
|
-
}
|
|
3240
|
-
},
|
|
3241
|
-
{
|
|
3242
|
-
"name": "definition",
|
|
3243
|
-
"type": {
|
|
3244
|
-
"text": "FoundationElementDefinition"
|
|
3245
|
-
}
|
|
3246
|
-
}
|
|
3247
|
-
]
|
|
3038
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3248
3039
|
}
|
|
3249
3040
|
],
|
|
3250
3041
|
"exports": [
|
|
3251
3042
|
{
|
|
3252
3043
|
"kind": "js",
|
|
3253
|
-
"name": "
|
|
3044
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3254
3045
|
"declaration": {
|
|
3255
|
-
"name": "
|
|
3256
|
-
"module": "src/
|
|
3046
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3047
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3257
3048
|
}
|
|
3258
3049
|
}
|
|
3259
3050
|
]
|
|
3260
3051
|
},
|
|
3261
3052
|
{
|
|
3262
3053
|
"kind": "javascript-module",
|
|
3263
|
-
"path": "src/
|
|
3054
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3264
3055
|
"declarations": [
|
|
3265
3056
|
{
|
|
3266
|
-
"kind": "
|
|
3267
|
-
"
|
|
3268
|
-
"
|
|
3269
|
-
|
|
3270
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
3271
|
-
}
|
|
3272
|
-
},
|
|
3273
|
-
"parameters": [
|
|
3057
|
+
"kind": "class",
|
|
3058
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
3059
|
+
"name": "AiCriteriaSearch",
|
|
3060
|
+
"members": [
|
|
3274
3061
|
{
|
|
3275
|
-
"
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "providerRegistry",
|
|
3276
3064
|
"type": {
|
|
3277
|
-
"text": "
|
|
3065
|
+
"text": "AIProviderRegistry"
|
|
3278
3066
|
}
|
|
3279
3067
|
},
|
|
3280
3068
|
{
|
|
3281
|
-
"
|
|
3069
|
+
"kind": "field",
|
|
3070
|
+
"name": "placeholder",
|
|
3282
3071
|
"type": {
|
|
3283
|
-
"text": "
|
|
3072
|
+
"text": "string"
|
|
3073
|
+
},
|
|
3074
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "field",
|
|
3078
|
+
"name": "disabled",
|
|
3079
|
+
"type": {
|
|
3080
|
+
"text": "boolean"
|
|
3284
3081
|
}
|
|
3285
|
-
}
|
|
3286
|
-
]
|
|
3287
|
-
}
|
|
3288
|
-
],
|
|
3289
|
-
"exports": [
|
|
3290
|
-
{
|
|
3291
|
-
"kind": "js",
|
|
3292
|
-
"name": "foundationAccordionItemTemplate",
|
|
3293
|
-
"declaration": {
|
|
3294
|
-
"name": "foundationAccordionItemTemplate",
|
|
3295
|
-
"module": "src/accordion-item/accordion-item.template.ts"
|
|
3296
|
-
}
|
|
3297
|
-
}
|
|
3298
|
-
]
|
|
3299
|
-
},
|
|
3300
|
-
{
|
|
3301
|
-
"kind": "javascript-module",
|
|
3302
|
-
"path": "src/accordion-item/accordion-item.ts",
|
|
3303
|
-
"declarations": [
|
|
3304
|
-
{
|
|
3305
|
-
"kind": "class",
|
|
3306
|
-
"description": "",
|
|
3307
|
-
"name": "AccordionItem",
|
|
3308
|
-
"superclass": {
|
|
3309
|
-
"name": "FASTAccordionItem",
|
|
3310
|
-
"package": "@microsoft/fast-components"
|
|
3311
|
-
},
|
|
3312
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
3313
|
-
"customElement": true,
|
|
3314
|
-
"attributes": [
|
|
3082
|
+
},
|
|
3315
3083
|
{
|
|
3316
|
-
"
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "inputValue",
|
|
3317
3086
|
"type": {
|
|
3318
|
-
"text": "
|
|
3087
|
+
"text": "string"
|
|
3319
3088
|
},
|
|
3320
|
-
"default": "
|
|
3321
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
3322
|
-
"fieldName": "headinglevel",
|
|
3323
|
-
"inheritedFrom": {
|
|
3324
|
-
"name": "AccordionItem",
|
|
3325
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3326
|
-
}
|
|
3089
|
+
"default": "''"
|
|
3327
3090
|
},
|
|
3328
3091
|
{
|
|
3092
|
+
"kind": "field",
|
|
3093
|
+
"name": "isInterpreting",
|
|
3329
3094
|
"type": {
|
|
3330
3095
|
"text": "boolean"
|
|
3331
3096
|
},
|
|
3332
|
-
"default": "false"
|
|
3333
|
-
"description": "Expands or collapses the item.",
|
|
3334
|
-
"fieldName": "expanded",
|
|
3335
|
-
"inheritedFrom": {
|
|
3336
|
-
"name": "AccordionItem",
|
|
3337
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3338
|
-
}
|
|
3097
|
+
"default": "false"
|
|
3339
3098
|
},
|
|
3340
3099
|
{
|
|
3341
|
-
"
|
|
3100
|
+
"kind": "field",
|
|
3101
|
+
"name": "lastValidCriteria",
|
|
3342
3102
|
"type": {
|
|
3343
|
-
"text": "string"
|
|
3103
|
+
"text": "string | null"
|
|
3344
3104
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
"inheritedFrom": {
|
|
3348
|
-
"name": "AccordionItem",
|
|
3349
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3350
|
-
}
|
|
3351
|
-
}
|
|
3352
|
-
],
|
|
3353
|
-
"members": [
|
|
3105
|
+
"default": "null"
|
|
3106
|
+
},
|
|
3354
3107
|
{
|
|
3355
3108
|
"kind": "field",
|
|
3356
|
-
"name": "
|
|
3109
|
+
"name": "activeGroups",
|
|
3357
3110
|
"type": {
|
|
3358
|
-
"text": "
|
|
3111
|
+
"text": "CriteriaGroup[]"
|
|
3359
3112
|
},
|
|
3360
|
-
"
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
"
|
|
3364
|
-
|
|
3365
|
-
|
|
3113
|
+
"default": "[]"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"kind": "field",
|
|
3117
|
+
"name": "showingChips",
|
|
3118
|
+
"type": {
|
|
3119
|
+
"text": "boolean"
|
|
3120
|
+
},
|
|
3121
|
+
"default": "false"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"kind": "field",
|
|
3125
|
+
"name": "fieldMetadata",
|
|
3126
|
+
"type": {
|
|
3127
|
+
"text": "MetadataDetail[] | string[]"
|
|
3128
|
+
},
|
|
3129
|
+
"default": "[]"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "isRecording",
|
|
3134
|
+
"type": {
|
|
3135
|
+
"text": "boolean"
|
|
3136
|
+
},
|
|
3137
|
+
"default": "false"
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"kind": "field",
|
|
3141
|
+
"name": "textAreaRef",
|
|
3142
|
+
"type": {
|
|
3143
|
+
"text": "HTMLTextAreaElement"
|
|
3144
|
+
},
|
|
3145
|
+
"privacy": "public"
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"kind": "field",
|
|
3149
|
+
"name": "stopRecording",
|
|
3150
|
+
"type": {
|
|
3151
|
+
"text": "(() => void) | null"
|
|
3152
|
+
},
|
|
3153
|
+
"privacy": "private",
|
|
3154
|
+
"default": "null"
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"kind": "field",
|
|
3158
|
+
"name": "speechApplyDebounceTimer",
|
|
3159
|
+
"type": {
|
|
3160
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3161
|
+
},
|
|
3162
|
+
"privacy": "private",
|
|
3163
|
+
"default": "null"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"kind": "field",
|
|
3167
|
+
"name": "speechAvailable",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "boolean"
|
|
3170
|
+
},
|
|
3171
|
+
"readonly": true
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "criteriaChips",
|
|
3176
|
+
"type": {
|
|
3177
|
+
"text": "CriteriaChip[]"
|
|
3178
|
+
},
|
|
3179
|
+
"readonly": true
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "method",
|
|
3183
|
+
"name": "getFieldLabel",
|
|
3184
|
+
"privacy": "private",
|
|
3185
|
+
"return": {
|
|
3186
|
+
"type": {
|
|
3187
|
+
"text": "string"
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
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
|
-
"kind": "
|
|
3370
|
-
"name": "
|
|
3371
|
-
"
|
|
3372
|
-
"
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
"
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3209
|
+
"kind": "method",
|
|
3210
|
+
"name": "removeChip",
|
|
3211
|
+
"return": {
|
|
3212
|
+
"type": {
|
|
3213
|
+
"text": "void"
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"parameters": [
|
|
3217
|
+
{
|
|
3218
|
+
"name": "groupIndex",
|
|
3219
|
+
"type": {
|
|
3220
|
+
"text": "number"
|
|
3221
|
+
}
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"name": "clauseIndex",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "number"
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
]
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"kind": "method",
|
|
3233
|
+
"name": "clearChips",
|
|
3234
|
+
"return": {
|
|
3235
|
+
"type": {
|
|
3236
|
+
"text": "void"
|
|
3237
|
+
}
|
|
3380
3238
|
}
|
|
3381
3239
|
},
|
|
3382
3240
|
{
|
|
3383
|
-
"kind": "
|
|
3384
|
-
"name": "
|
|
3385
|
-
"type": {
|
|
3386
|
-
"text": "string"
|
|
3387
|
-
},
|
|
3388
|
-
"privacy": "public",
|
|
3389
|
-
"description": "The item ID",
|
|
3390
|
-
"inheritedFrom": {
|
|
3391
|
-
"name": "AccordionItem",
|
|
3392
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
3393
|
-
}
|
|
3241
|
+
"kind": "method",
|
|
3242
|
+
"name": "handleSubmit"
|
|
3394
3243
|
},
|
|
3395
3244
|
{
|
|
3396
|
-
"kind": "
|
|
3397
|
-
"name": "
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
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"
|
|
3403
3260
|
},
|
|
3404
3261
|
{
|
|
3405
3262
|
"kind": "field",
|
|
@@ -3515,84 +3372,152 @@
|
|
|
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
|
},
|
|
3541
|
-
"default": "{
|
|
3420
|
+
"default": "{}"
|
|
3542
3421
|
},
|
|
3543
3422
|
{
|
|
3544
3423
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion Item",
|
|
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
|
]
|