@genesislcap/foundation-ui 15.32.1 → 15.33.1-GENC-1601.1
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 +939 -939
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +18 -18
|
@@ -1920,203 +1920,115 @@
|
|
|
1920
1920
|
},
|
|
1921
1921
|
{
|
|
1922
1922
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
1923
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1924
1924
|
"declarations": [
|
|
1925
1925
|
{
|
|
1926
|
-
"kind": "
|
|
1927
|
-
"name": "
|
|
1928
|
-
"
|
|
1929
|
-
"type": {
|
|
1930
|
-
"text": "ElementStyles"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"parameters": [
|
|
1934
|
-
{
|
|
1935
|
-
"name": "context",
|
|
1936
|
-
"type": {
|
|
1937
|
-
"text": "ElementDefinitionContext"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"name": "definition",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "FoundationElementDefinition"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "function",
|
|
1950
|
-
"name": "foundationActionsMenuStyles",
|
|
1951
|
-
"return": {
|
|
1952
|
-
"type": {
|
|
1953
|
-
"text": "ElementStyles"
|
|
1954
|
-
}
|
|
1955
|
-
},
|
|
1956
|
-
"parameters": [
|
|
1957
|
-
{
|
|
1958
|
-
"name": "context",
|
|
1959
|
-
"type": {
|
|
1960
|
-
"text": "ElementDefinitionContext"
|
|
1961
|
-
}
|
|
1962
|
-
},
|
|
1963
|
-
{
|
|
1964
|
-
"name": "definition",
|
|
1965
|
-
"type": {
|
|
1966
|
-
"text": "FoundationElementDefinition"
|
|
1967
|
-
}
|
|
1968
|
-
}
|
|
1969
|
-
]
|
|
1926
|
+
"kind": "variable",
|
|
1927
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1928
|
+
"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`"
|
|
1970
1929
|
}
|
|
1971
1930
|
],
|
|
1972
1931
|
"exports": [
|
|
1973
1932
|
{
|
|
1974
1933
|
"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",
|
|
1934
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1984
1935
|
"declaration": {
|
|
1985
|
-
"name": "
|
|
1986
|
-
"module": "src/
|
|
1936
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1937
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1987
1938
|
}
|
|
1988
1939
|
}
|
|
1989
1940
|
]
|
|
1990
1941
|
},
|
|
1991
1942
|
{
|
|
1992
1943
|
"kind": "javascript-module",
|
|
1993
|
-
"path": "src/
|
|
1944
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1994
1945
|
"declarations": [
|
|
1995
|
-
{
|
|
1996
|
-
"kind": "function",
|
|
1997
|
-
"name": "menuTemplate",
|
|
1998
|
-
"parameters": [
|
|
1999
|
-
{
|
|
2000
|
-
"name": "prefix",
|
|
2001
|
-
"type": {
|
|
2002
|
-
"text": "string"
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
]
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "function",
|
|
2009
|
-
"name": "singleOptionTemplate",
|
|
2010
|
-
"parameters": [
|
|
2011
|
-
{
|
|
2012
|
-
"name": "prefix",
|
|
2013
|
-
"type": {
|
|
2014
|
-
"text": "string"
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
]
|
|
2018
|
-
},
|
|
2019
1946
|
{
|
|
2020
1947
|
"kind": "variable",
|
|
2021
|
-
"name": "
|
|
1948
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2022
1949
|
"type": {
|
|
2023
|
-
"text": "ViewTemplate<
|
|
1950
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2024
1951
|
},
|
|
2025
|
-
"default": "html`\n
|
|
1952
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2026
1953
|
}
|
|
2027
1954
|
],
|
|
2028
1955
|
"exports": [
|
|
2029
1956
|
{
|
|
2030
1957
|
"kind": "js",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"declaration": {
|
|
2033
|
-
"name": "menuTemplate",
|
|
2034
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2035
|
-
}
|
|
2036
|
-
},
|
|
2037
|
-
{
|
|
2038
|
-
"kind": "js",
|
|
2039
|
-
"name": "singleOptionTemplate",
|
|
2040
|
-
"declaration": {
|
|
2041
|
-
"name": "singleOptionTemplate",
|
|
2042
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2043
|
-
}
|
|
2044
|
-
},
|
|
2045
|
-
{
|
|
2046
|
-
"kind": "js",
|
|
2047
|
-
"name": "foundationActionsMenuTemplate",
|
|
1958
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2048
1959
|
"declaration": {
|
|
2049
|
-
"name": "
|
|
2050
|
-
"module": "src/
|
|
1960
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1961
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2051
1962
|
}
|
|
2052
1963
|
}
|
|
2053
1964
|
]
|
|
2054
1965
|
},
|
|
2055
1966
|
{
|
|
2056
1967
|
"kind": "javascript-module",
|
|
2057
|
-
"path": "src/
|
|
1968
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2058
1969
|
"declarations": [
|
|
2059
1970
|
{
|
|
2060
1971
|
"kind": "class",
|
|
2061
|
-
"description": "",
|
|
2062
|
-
"name": "
|
|
1972
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1973
|
+
"name": "AiCriteriaSearch",
|
|
2063
1974
|
"members": [
|
|
2064
1975
|
{
|
|
2065
1976
|
"kind": "field",
|
|
2066
|
-
"name": "
|
|
1977
|
+
"name": "providerRegistry",
|
|
2067
1978
|
"type": {
|
|
2068
|
-
"text": "
|
|
1979
|
+
"text": "AIProviderRegistry"
|
|
2069
1980
|
}
|
|
2070
1981
|
},
|
|
2071
1982
|
{
|
|
2072
1983
|
"kind": "field",
|
|
2073
|
-
"name": "
|
|
1984
|
+
"name": "placeholder",
|
|
2074
1985
|
"type": {
|
|
2075
|
-
"text": "
|
|
1986
|
+
"text": "string"
|
|
2076
1987
|
},
|
|
2077
|
-
"default": "
|
|
1988
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2078
1989
|
},
|
|
2079
1990
|
{
|
|
2080
1991
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
1992
|
+
"name": "disabled",
|
|
2082
1993
|
"type": {
|
|
2083
1994
|
"text": "boolean"
|
|
2084
|
-
}
|
|
2085
|
-
"default": "true"
|
|
1995
|
+
}
|
|
2086
1996
|
},
|
|
2087
1997
|
{
|
|
2088
1998
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
1999
|
+
"name": "inputValue",
|
|
2090
2000
|
"type": {
|
|
2091
|
-
"text": "
|
|
2001
|
+
"text": "string"
|
|
2092
2002
|
},
|
|
2093
|
-
"default": "
|
|
2003
|
+
"default": "''"
|
|
2094
2004
|
},
|
|
2095
2005
|
{
|
|
2096
2006
|
"kind": "field",
|
|
2097
|
-
"name": "
|
|
2007
|
+
"name": "isInterpreting",
|
|
2098
2008
|
"type": {
|
|
2099
|
-
"text": "
|
|
2100
|
-
}
|
|
2009
|
+
"text": "boolean"
|
|
2010
|
+
},
|
|
2011
|
+
"default": "false"
|
|
2101
2012
|
},
|
|
2102
2013
|
{
|
|
2103
2014
|
"kind": "field",
|
|
2104
|
-
"name": "
|
|
2015
|
+
"name": "lastValidCriteria",
|
|
2105
2016
|
"type": {
|
|
2106
|
-
"text": "
|
|
2107
|
-
}
|
|
2017
|
+
"text": "string | null"
|
|
2018
|
+
},
|
|
2019
|
+
"default": "null"
|
|
2108
2020
|
},
|
|
2109
2021
|
{
|
|
2110
2022
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2023
|
+
"name": "activeGroups",
|
|
2112
2024
|
"type": {
|
|
2113
|
-
"text": "
|
|
2025
|
+
"text": "CriteriaGroup[]"
|
|
2114
2026
|
},
|
|
2115
|
-
"default": "
|
|
2027
|
+
"default": "[]"
|
|
2116
2028
|
},
|
|
2117
2029
|
{
|
|
2118
2030
|
"kind": "field",
|
|
2119
|
-
"name": "
|
|
2031
|
+
"name": "showingChips",
|
|
2120
2032
|
"type": {
|
|
2121
2033
|
"text": "boolean"
|
|
2122
2034
|
},
|
|
@@ -2124,14 +2036,15 @@
|
|
|
2124
2036
|
},
|
|
2125
2037
|
{
|
|
2126
2038
|
"kind": "field",
|
|
2127
|
-
"name": "
|
|
2039
|
+
"name": "fieldMetadata",
|
|
2128
2040
|
"type": {
|
|
2129
|
-
"text": "string"
|
|
2130
|
-
}
|
|
2041
|
+
"text": "MetadataDetail[] | string[]"
|
|
2042
|
+
},
|
|
2043
|
+
"default": "[]"
|
|
2131
2044
|
},
|
|
2132
2045
|
{
|
|
2133
2046
|
"kind": "field",
|
|
2134
|
-
"name": "
|
|
2047
|
+
"name": "isRecording",
|
|
2135
2048
|
"type": {
|
|
2136
2049
|
"text": "boolean"
|
|
2137
2050
|
},
|
|
@@ -2139,114 +2052,125 @@
|
|
|
2139
2052
|
},
|
|
2140
2053
|
{
|
|
2141
2054
|
"kind": "field",
|
|
2142
|
-
"name": "
|
|
2055
|
+
"name": "textAreaRef",
|
|
2143
2056
|
"type": {
|
|
2144
|
-
"text": "
|
|
2057
|
+
"text": "HTMLTextAreaElement"
|
|
2145
2058
|
},
|
|
2146
|
-
"
|
|
2059
|
+
"privacy": "public"
|
|
2147
2060
|
},
|
|
2148
2061
|
{
|
|
2149
2062
|
"kind": "field",
|
|
2150
|
-
"name": "
|
|
2063
|
+
"name": "stopRecording",
|
|
2151
2064
|
"type": {
|
|
2152
|
-
"text": "
|
|
2153
|
-
}
|
|
2065
|
+
"text": "(() => void) | null"
|
|
2066
|
+
},
|
|
2067
|
+
"privacy": "private",
|
|
2068
|
+
"default": "null"
|
|
2154
2069
|
},
|
|
2155
2070
|
{
|
|
2156
2071
|
"kind": "field",
|
|
2157
|
-
"name": "
|
|
2072
|
+
"name": "speechApplyDebounceTimer",
|
|
2158
2073
|
"type": {
|
|
2159
|
-
"text": "
|
|
2160
|
-
}
|
|
2074
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2075
|
+
},
|
|
2076
|
+
"privacy": "private",
|
|
2077
|
+
"default": "null"
|
|
2161
2078
|
},
|
|
2162
2079
|
{
|
|
2163
2080
|
"kind": "field",
|
|
2164
|
-
"name": "
|
|
2081
|
+
"name": "speechAvailable",
|
|
2165
2082
|
"type": {
|
|
2166
|
-
"text": "
|
|
2167
|
-
}
|
|
2083
|
+
"text": "boolean"
|
|
2084
|
+
},
|
|
2085
|
+
"readonly": true
|
|
2168
2086
|
},
|
|
2169
2087
|
{
|
|
2170
|
-
"kind": "
|
|
2171
|
-
"name": "
|
|
2172
|
-
"
|
|
2088
|
+
"kind": "field",
|
|
2089
|
+
"name": "criteriaChips",
|
|
2090
|
+
"type": {
|
|
2091
|
+
"text": "CriteriaChip[]"
|
|
2092
|
+
},
|
|
2093
|
+
"readonly": true
|
|
2173
2094
|
},
|
|
2174
2095
|
{
|
|
2175
2096
|
"kind": "method",
|
|
2176
|
-
"name": "
|
|
2177
|
-
"privacy": "
|
|
2097
|
+
"name": "getFieldLabel",
|
|
2098
|
+
"privacy": "private",
|
|
2099
|
+
"return": {
|
|
2100
|
+
"type": {
|
|
2101
|
+
"text": "string"
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2178
2104
|
"parameters": [
|
|
2179
2105
|
{
|
|
2180
|
-
"name": "
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "any"
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
|
-
"name": "newValue",
|
|
2106
|
+
"name": "fieldName",
|
|
2187
2107
|
"type": {
|
|
2188
|
-
"text": "
|
|
2108
|
+
"text": "string"
|
|
2189
2109
|
}
|
|
2190
2110
|
}
|
|
2191
2111
|
]
|
|
2192
2112
|
},
|
|
2193
2113
|
{
|
|
2194
2114
|
"kind": "method",
|
|
2195
|
-
"name": "
|
|
2196
|
-
"
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2115
|
+
"name": "toggleCriteriaView",
|
|
2116
|
+
"return": {
|
|
2117
|
+
"type": {
|
|
2118
|
+
"text": "void"
|
|
2119
|
+
}
|
|
2120
|
+
}
|
|
2201
2121
|
},
|
|
2202
2122
|
{
|
|
2203
2123
|
"kind": "method",
|
|
2204
|
-
"name": "
|
|
2124
|
+
"name": "removeChip",
|
|
2125
|
+
"return": {
|
|
2126
|
+
"type": {
|
|
2127
|
+
"text": "void"
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2205
2130
|
"parameters": [
|
|
2206
2131
|
{
|
|
2207
|
-
"name": "
|
|
2132
|
+
"name": "groupIndex",
|
|
2208
2133
|
"type": {
|
|
2209
|
-
"text": "
|
|
2134
|
+
"text": "number"
|
|
2210
2135
|
}
|
|
2211
|
-
}
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"name": "clauseIndex",
|
|
2139
|
+
"type": {
|
|
2140
|
+
"text": "number"
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2212
2143
|
]
|
|
2213
2144
|
},
|
|
2214
2145
|
{
|
|
2215
|
-
"kind": "
|
|
2216
|
-
"name": "
|
|
2217
|
-
"
|
|
2218
|
-
"
|
|
2219
|
-
|
|
2220
|
-
|
|
2146
|
+
"kind": "method",
|
|
2147
|
+
"name": "clearChips",
|
|
2148
|
+
"return": {
|
|
2149
|
+
"type": {
|
|
2150
|
+
"text": "void"
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2221
2153
|
},
|
|
2222
2154
|
{
|
|
2223
|
-
"kind": "
|
|
2224
|
-
"name": "
|
|
2225
|
-
"readonly": true
|
|
2155
|
+
"kind": "method",
|
|
2156
|
+
"name": "handleSubmit"
|
|
2226
2157
|
},
|
|
2227
2158
|
{
|
|
2228
2159
|
"kind": "method",
|
|
2229
|
-
"name": "
|
|
2230
|
-
"parameters": [
|
|
2231
|
-
{
|
|
2232
|
-
"name": "name",
|
|
2233
|
-
"type": {
|
|
2234
|
-
"text": "string | ((rowData: any) => string)"
|
|
2235
|
-
}
|
|
2236
|
-
}
|
|
2237
|
-
]
|
|
2160
|
+
"name": "handleBlur"
|
|
2238
2161
|
},
|
|
2239
2162
|
{
|
|
2240
2163
|
"kind": "method",
|
|
2241
|
-
"name": "
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2164
|
+
"name": "clear"
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"kind": "method",
|
|
2168
|
+
"name": "toggleSpeechInput"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"kind": "method",
|
|
2172
|
+
"name": "clearSpeechApplyDebounce",
|
|
2173
|
+
"privacy": "private"
|
|
2250
2174
|
},
|
|
2251
2175
|
{
|
|
2252
2176
|
"kind": "field",
|
|
@@ -2360,115 +2284,154 @@
|
|
|
2360
2284
|
}
|
|
2361
2285
|
}
|
|
2362
2286
|
],
|
|
2363
|
-
"
|
|
2364
|
-
{
|
|
2365
|
-
"name": "is-vertical",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "boolean"
|
|
2368
|
-
},
|
|
2369
|
-
"default": "false",
|
|
2370
|
-
"fieldName": "isVertical"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "add-default-actions",
|
|
2374
|
-
"type": {
|
|
2375
|
-
"text": "boolean"
|
|
2376
|
-
},
|
|
2377
|
-
"default": "true",
|
|
2378
|
-
"fieldName": "addDefaultActions"
|
|
2379
|
-
},
|
|
2380
|
-
{
|
|
2381
|
-
"name": "auto-close-on-action",
|
|
2382
|
-
"type": {
|
|
2383
|
-
"text": "boolean"
|
|
2384
|
-
},
|
|
2385
|
-
"default": "true",
|
|
2386
|
-
"fieldName": "autoCloseOnAction"
|
|
2387
|
-
},
|
|
2287
|
+
"events": [
|
|
2388
2288
|
{
|
|
2389
|
-
"
|
|
2390
|
-
"
|
|
2391
|
-
"text": "string"
|
|
2392
|
-
},
|
|
2393
|
-
"default": "'Actions'",
|
|
2394
|
-
"fieldName": "name"
|
|
2289
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2290
|
+
"name": "criteria-changed"
|
|
2395
2291
|
},
|
|
2396
2292
|
{
|
|
2397
|
-
"
|
|
2398
|
-
"
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
"fieldName": "open"
|
|
2403
|
-
},
|
|
2293
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2294
|
+
"name": "validation-errors"
|
|
2295
|
+
}
|
|
2296
|
+
],
|
|
2297
|
+
"attributes": [
|
|
2404
2298
|
{
|
|
2405
|
-
"name": "
|
|
2299
|
+
"name": "placeholder",
|
|
2406
2300
|
"type": {
|
|
2407
2301
|
"text": "string"
|
|
2408
2302
|
},
|
|
2409
|
-
"
|
|
2410
|
-
|
|
2411
|
-
{
|
|
2412
|
-
"name": "hide-disabled",
|
|
2413
|
-
"type": {
|
|
2414
|
-
"text": "boolean"
|
|
2415
|
-
},
|
|
2416
|
-
"default": "false",
|
|
2417
|
-
"fieldName": "hideDisabled"
|
|
2303
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2304
|
+
"fieldName": "placeholder"
|
|
2418
2305
|
},
|
|
2419
2306
|
{
|
|
2420
|
-
"name": "hide-menu-single-option",
|
|
2421
2307
|
"type": {
|
|
2422
2308
|
"text": "boolean"
|
|
2423
2309
|
},
|
|
2424
|
-
"
|
|
2425
|
-
"fieldName": "hideMenuSingleOption"
|
|
2310
|
+
"fieldName": "disabled"
|
|
2426
2311
|
}
|
|
2427
2312
|
],
|
|
2428
2313
|
"superclass": {
|
|
2429
2314
|
"name": "FoundationElement",
|
|
2430
2315
|
"package": "@microsoft/fast-foundation"
|
|
2431
2316
|
},
|
|
2432
|
-
"tagName": "%%prefix%%-
|
|
2317
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2433
2318
|
"customElement": true
|
|
2434
2319
|
},
|
|
2435
2320
|
{
|
|
2436
2321
|
"kind": "variable",
|
|
2437
|
-
"name": "
|
|
2438
|
-
"
|
|
2439
|
-
|
|
2322
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2323
|
+
"type": {
|
|
2324
|
+
"text": "ShadowRootInit"
|
|
2325
|
+
},
|
|
2326
|
+
"default": "undefined"
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "variable",
|
|
2330
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2331
|
+
"type": {
|
|
2332
|
+
"text": "object"
|
|
2333
|
+
},
|
|
2334
|
+
"default": "{}"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"kind": "variable",
|
|
2338
|
+
"name": "foundationAiCriteriaSearch"
|
|
2440
2339
|
}
|
|
2441
2340
|
],
|
|
2442
2341
|
"exports": [
|
|
2443
2342
|
{
|
|
2444
2343
|
"kind": "js",
|
|
2445
|
-
"name": "
|
|
2344
|
+
"name": "AiCriteriaSearch",
|
|
2446
2345
|
"declaration": {
|
|
2447
|
-
"name": "
|
|
2448
|
-
"module": "src/
|
|
2346
|
+
"name": "AiCriteriaSearch",
|
|
2347
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2449
2348
|
}
|
|
2450
2349
|
},
|
|
2451
2350
|
{
|
|
2452
2351
|
"kind": "js",
|
|
2453
|
-
"name": "
|
|
2352
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2454
2353
|
"declaration": {
|
|
2455
|
-
"name": "
|
|
2456
|
-
"module": "src/
|
|
2354
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2355
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"kind": "js",
|
|
2360
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2361
|
+
"declaration": {
|
|
2362
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2363
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"kind": "js",
|
|
2368
|
+
"name": "foundationAiCriteriaSearch",
|
|
2369
|
+
"declaration": {
|
|
2370
|
+
"name": "foundationAiCriteriaSearch",
|
|
2371
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2457
2372
|
}
|
|
2458
2373
|
}
|
|
2459
2374
|
]
|
|
2460
2375
|
},
|
|
2461
2376
|
{
|
|
2462
2377
|
"kind": "javascript-module",
|
|
2463
|
-
"path": "src/
|
|
2378
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2464
2379
|
"declarations": [],
|
|
2465
2380
|
"exports": [
|
|
2381
|
+
{
|
|
2382
|
+
"kind": "js",
|
|
2383
|
+
"name": "AiCriteriaSearch",
|
|
2384
|
+
"declaration": {
|
|
2385
|
+
"name": "AiCriteriaSearch",
|
|
2386
|
+
"module": "./ai-criteria-search"
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
{
|
|
2390
|
+
"kind": "js",
|
|
2391
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2392
|
+
"declaration": {
|
|
2393
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2394
|
+
"module": "./ai-criteria-search"
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
"kind": "js",
|
|
2399
|
+
"name": "foundationAiCriteriaSearch",
|
|
2400
|
+
"declaration": {
|
|
2401
|
+
"name": "foundationAiCriteriaSearch",
|
|
2402
|
+
"module": "./ai-criteria-search"
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"kind": "js",
|
|
2407
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2408
|
+
"declaration": {
|
|
2409
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2410
|
+
"module": "./ai-criteria-search"
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
"kind": "js",
|
|
2415
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2416
|
+
"declaration": {
|
|
2417
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2418
|
+
"module": "./ai-criteria-search.styles"
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "js",
|
|
2423
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2424
|
+
"declaration": {
|
|
2425
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2426
|
+
"module": "./ai-criteria-search.template"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2466
2429
|
{
|
|
2467
2430
|
"kind": "js",
|
|
2468
2431
|
"name": "*",
|
|
2469
2432
|
"declaration": {
|
|
2470
2433
|
"name": "*",
|
|
2471
|
-
"package": "./
|
|
2434
|
+
"package": "./validation/criteria-ir"
|
|
2472
2435
|
}
|
|
2473
2436
|
},
|
|
2474
2437
|
{
|
|
@@ -2476,7 +2439,7 @@
|
|
|
2476
2439
|
"name": "*",
|
|
2477
2440
|
"declaration": {
|
|
2478
2441
|
"name": "*",
|
|
2479
|
-
"package": "./
|
|
2442
|
+
"package": "./validation/operator-map"
|
|
2480
2443
|
}
|
|
2481
2444
|
},
|
|
2482
2445
|
{
|
|
@@ -2484,122 +2447,285 @@
|
|
|
2484
2447
|
"name": "*",
|
|
2485
2448
|
"declaration": {
|
|
2486
2449
|
"name": "*",
|
|
2487
|
-
"package": "./
|
|
2450
|
+
"package": "./validation/schema-validator"
|
|
2488
2451
|
}
|
|
2489
2452
|
}
|
|
2490
2453
|
]
|
|
2491
2454
|
},
|
|
2492
2455
|
{
|
|
2493
2456
|
"kind": "javascript-module",
|
|
2494
|
-
"path": "src/ai-criteria-search/
|
|
2457
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2495
2458
|
"declarations": [
|
|
2496
2459
|
{
|
|
2497
|
-
"kind": "
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2460
|
+
"kind": "function",
|
|
2461
|
+
"name": "formatValidationErrors",
|
|
2462
|
+
"return": {
|
|
2463
|
+
"type": {
|
|
2464
|
+
"text": "string"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
"parameters": [
|
|
2468
|
+
{
|
|
2469
|
+
"name": "errors",
|
|
2470
|
+
"type": {
|
|
2471
|
+
"text": "ValidationError[]"
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
],
|
|
2475
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"kind": "function",
|
|
2479
|
+
"name": "showCriteriaError",
|
|
2480
|
+
"return": {
|
|
2481
|
+
"type": {
|
|
2482
|
+
"text": "void"
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"parameters": [
|
|
2486
|
+
{
|
|
2487
|
+
"name": "title",
|
|
2488
|
+
"type": {
|
|
2489
|
+
"text": "string"
|
|
2490
|
+
},
|
|
2491
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"name": "body",
|
|
2495
|
+
"type": {
|
|
2496
|
+
"text": "string"
|
|
2497
|
+
},
|
|
2498
|
+
"description": "Error message to display"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "tagName",
|
|
2502
|
+
"type": {
|
|
2503
|
+
"text": "string"
|
|
2504
|
+
},
|
|
2505
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2506
|
+
}
|
|
2507
|
+
],
|
|
2508
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"exports": [
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "js",
|
|
2514
|
+
"name": "formatValidationErrors",
|
|
2515
|
+
"declaration": {
|
|
2516
|
+
"name": "formatValidationErrors",
|
|
2517
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"kind": "js",
|
|
2522
|
+
"name": "showCriteriaError",
|
|
2523
|
+
"declaration": {
|
|
2524
|
+
"name": "showCriteriaError",
|
|
2525
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
]
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"kind": "javascript-module",
|
|
2532
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2533
|
+
"declarations": [
|
|
2534
|
+
{
|
|
2535
|
+
"kind": "function",
|
|
2536
|
+
"name": "actionsMenuBaseStyles",
|
|
2537
|
+
"return": {
|
|
2538
|
+
"type": {
|
|
2539
|
+
"text": "ElementStyles"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"parameters": [
|
|
2543
|
+
{
|
|
2544
|
+
"name": "context",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "ElementDefinitionContext"
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"name": "definition",
|
|
2551
|
+
"type": {
|
|
2552
|
+
"text": "FoundationElementDefinition"
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
]
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"kind": "function",
|
|
2559
|
+
"name": "foundationActionsMenuStyles",
|
|
2560
|
+
"return": {
|
|
2561
|
+
"type": {
|
|
2562
|
+
"text": "ElementStyles"
|
|
2563
|
+
}
|
|
2564
|
+
},
|
|
2565
|
+
"parameters": [
|
|
2566
|
+
{
|
|
2567
|
+
"name": "context",
|
|
2568
|
+
"type": {
|
|
2569
|
+
"text": "ElementDefinitionContext"
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"name": "definition",
|
|
2574
|
+
"type": {
|
|
2575
|
+
"text": "FoundationElementDefinition"
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2500
2579
|
}
|
|
2501
2580
|
],
|
|
2502
2581
|
"exports": [
|
|
2503
2582
|
{
|
|
2504
2583
|
"kind": "js",
|
|
2505
|
-
"name": "
|
|
2584
|
+
"name": "actionsMenuBaseStyles",
|
|
2506
2585
|
"declaration": {
|
|
2507
|
-
"name": "
|
|
2508
|
-
"module": "src/
|
|
2586
|
+
"name": "actionsMenuBaseStyles",
|
|
2587
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2588
|
+
}
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"kind": "js",
|
|
2592
|
+
"name": "foundationActionsMenuStyles",
|
|
2593
|
+
"declaration": {
|
|
2594
|
+
"name": "foundationActionsMenuStyles",
|
|
2595
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2509
2596
|
}
|
|
2510
2597
|
}
|
|
2511
2598
|
]
|
|
2512
2599
|
},
|
|
2513
2600
|
{
|
|
2514
2601
|
"kind": "javascript-module",
|
|
2515
|
-
"path": "src/
|
|
2602
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2516
2603
|
"declarations": [
|
|
2604
|
+
{
|
|
2605
|
+
"kind": "function",
|
|
2606
|
+
"name": "menuTemplate",
|
|
2607
|
+
"parameters": [
|
|
2608
|
+
{
|
|
2609
|
+
"name": "prefix",
|
|
2610
|
+
"type": {
|
|
2611
|
+
"text": "string"
|
|
2612
|
+
}
|
|
2613
|
+
}
|
|
2614
|
+
]
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "function",
|
|
2618
|
+
"name": "singleOptionTemplate",
|
|
2619
|
+
"parameters": [
|
|
2620
|
+
{
|
|
2621
|
+
"name": "prefix",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "string"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2517
2628
|
{
|
|
2518
2629
|
"kind": "variable",
|
|
2519
|
-
"name": "
|
|
2630
|
+
"name": "foundationActionsMenuTemplate",
|
|
2520
2631
|
"type": {
|
|
2521
|
-
"text": "ViewTemplate<
|
|
2632
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2522
2633
|
},
|
|
2523
|
-
"default": "html`\n ${(x) =>
|
|
2634
|
+
"default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
|
|
2524
2635
|
}
|
|
2525
2636
|
],
|
|
2526
2637
|
"exports": [
|
|
2527
2638
|
{
|
|
2528
2639
|
"kind": "js",
|
|
2529
|
-
"name": "
|
|
2640
|
+
"name": "menuTemplate",
|
|
2530
2641
|
"declaration": {
|
|
2531
|
-
"name": "
|
|
2532
|
-
"module": "src/
|
|
2642
|
+
"name": "menuTemplate",
|
|
2643
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"kind": "js",
|
|
2648
|
+
"name": "singleOptionTemplate",
|
|
2649
|
+
"declaration": {
|
|
2650
|
+
"name": "singleOptionTemplate",
|
|
2651
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2652
|
+
}
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "js",
|
|
2656
|
+
"name": "foundationActionsMenuTemplate",
|
|
2657
|
+
"declaration": {
|
|
2658
|
+
"name": "foundationActionsMenuTemplate",
|
|
2659
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2533
2660
|
}
|
|
2534
2661
|
}
|
|
2535
2662
|
]
|
|
2536
2663
|
},
|
|
2537
2664
|
{
|
|
2538
2665
|
"kind": "javascript-module",
|
|
2539
|
-
"path": "src/
|
|
2666
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2540
2667
|
"declarations": [
|
|
2541
2668
|
{
|
|
2542
2669
|
"kind": "class",
|
|
2543
|
-
"description": "
|
|
2544
|
-
"name": "
|
|
2670
|
+
"description": "",
|
|
2671
|
+
"name": "ActionsMenu",
|
|
2545
2672
|
"members": [
|
|
2546
2673
|
{
|
|
2547
2674
|
"kind": "field",
|
|
2548
|
-
"name": "
|
|
2675
|
+
"name": "actions",
|
|
2549
2676
|
"type": {
|
|
2550
|
-
"text": "
|
|
2677
|
+
"text": "ActionMenuItem[]"
|
|
2551
2678
|
}
|
|
2552
2679
|
},
|
|
2553
2680
|
{
|
|
2554
2681
|
"kind": "field",
|
|
2555
|
-
"name": "
|
|
2682
|
+
"name": "isVertical",
|
|
2556
2683
|
"type": {
|
|
2557
|
-
"text": "
|
|
2684
|
+
"text": "boolean"
|
|
2558
2685
|
},
|
|
2559
|
-
"default": "
|
|
2686
|
+
"default": "false"
|
|
2560
2687
|
},
|
|
2561
2688
|
{
|
|
2562
2689
|
"kind": "field",
|
|
2563
|
-
"name": "
|
|
2690
|
+
"name": "addDefaultActions",
|
|
2564
2691
|
"type": {
|
|
2565
2692
|
"text": "boolean"
|
|
2566
|
-
}
|
|
2693
|
+
},
|
|
2694
|
+
"default": "true"
|
|
2567
2695
|
},
|
|
2568
2696
|
{
|
|
2569
2697
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2698
|
+
"name": "autoCloseOnAction",
|
|
2571
2699
|
"type": {
|
|
2572
|
-
"text": "
|
|
2700
|
+
"text": "boolean"
|
|
2573
2701
|
},
|
|
2574
|
-
"default": "
|
|
2702
|
+
"default": "true"
|
|
2575
2703
|
},
|
|
2576
2704
|
{
|
|
2577
2705
|
"kind": "field",
|
|
2578
|
-
"name": "
|
|
2706
|
+
"name": "classNames",
|
|
2579
2707
|
"type": {
|
|
2580
|
-
"text": "
|
|
2581
|
-
}
|
|
2582
|
-
"default": "false"
|
|
2708
|
+
"text": "string"
|
|
2709
|
+
}
|
|
2583
2710
|
},
|
|
2584
2711
|
{
|
|
2585
2712
|
"kind": "field",
|
|
2586
|
-
"name": "
|
|
2713
|
+
"name": "definition",
|
|
2587
2714
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
}
|
|
2590
|
-
"default": "null"
|
|
2715
|
+
"text": "any"
|
|
2716
|
+
}
|
|
2591
2717
|
},
|
|
2592
2718
|
{
|
|
2593
2719
|
"kind": "field",
|
|
2594
|
-
"name": "
|
|
2720
|
+
"name": "name",
|
|
2595
2721
|
"type": {
|
|
2596
|
-
"text": "
|
|
2722
|
+
"text": "string"
|
|
2597
2723
|
},
|
|
2598
|
-
"default": "
|
|
2724
|
+
"default": "'Actions'"
|
|
2599
2725
|
},
|
|
2600
2726
|
{
|
|
2601
2727
|
"kind": "field",
|
|
2602
|
-
"name": "
|
|
2728
|
+
"name": "open",
|
|
2603
2729
|
"type": {
|
|
2604
2730
|
"text": "boolean"
|
|
2605
2731
|
},
|
|
@@ -2607,15 +2733,14 @@
|
|
|
2607
2733
|
},
|
|
2608
2734
|
{
|
|
2609
2735
|
"kind": "field",
|
|
2610
|
-
"name": "
|
|
2736
|
+
"name": "buttonAppearance",
|
|
2611
2737
|
"type": {
|
|
2612
|
-
"text": "
|
|
2613
|
-
}
|
|
2614
|
-
"default": "[]"
|
|
2738
|
+
"text": "string"
|
|
2739
|
+
}
|
|
2615
2740
|
},
|
|
2616
2741
|
{
|
|
2617
2742
|
"kind": "field",
|
|
2618
|
-
"name": "
|
|
2743
|
+
"name": "hideDisabled",
|
|
2619
2744
|
"type": {
|
|
2620
2745
|
"text": "boolean"
|
|
2621
2746
|
},
|
|
@@ -2623,125 +2748,114 @@
|
|
|
2623
2748
|
},
|
|
2624
2749
|
{
|
|
2625
2750
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2627
|
-
"type": {
|
|
2628
|
-
"text": "HTMLTextAreaElement"
|
|
2629
|
-
},
|
|
2630
|
-
"privacy": "public"
|
|
2631
|
-
},
|
|
2632
|
-
{
|
|
2633
|
-
"kind": "field",
|
|
2634
|
-
"name": "stopRecording",
|
|
2751
|
+
"name": "hideMenuSingleOption",
|
|
2635
2752
|
"type": {
|
|
2636
|
-
"text": "
|
|
2753
|
+
"text": "boolean"
|
|
2637
2754
|
},
|
|
2638
|
-
"
|
|
2639
|
-
"default": "null"
|
|
2755
|
+
"default": "false"
|
|
2640
2756
|
},
|
|
2641
2757
|
{
|
|
2642
2758
|
"kind": "field",
|
|
2643
|
-
"name": "
|
|
2759
|
+
"name": "singleOption",
|
|
2644
2760
|
"type": {
|
|
2645
|
-
"text": "
|
|
2646
|
-
}
|
|
2647
|
-
"privacy": "private",
|
|
2648
|
-
"default": "null"
|
|
2761
|
+
"text": "ActionMenuItem"
|
|
2762
|
+
}
|
|
2649
2763
|
},
|
|
2650
2764
|
{
|
|
2651
2765
|
"kind": "field",
|
|
2652
|
-
"name": "
|
|
2766
|
+
"name": "actionsMenu",
|
|
2653
2767
|
"type": {
|
|
2654
|
-
"text": "
|
|
2655
|
-
}
|
|
2656
|
-
"readonly": true
|
|
2768
|
+
"text": "HTMLElement"
|
|
2769
|
+
}
|
|
2657
2770
|
},
|
|
2658
2771
|
{
|
|
2659
2772
|
"kind": "field",
|
|
2660
|
-
"name": "
|
|
2773
|
+
"name": "actionsOpener",
|
|
2661
2774
|
"type": {
|
|
2662
|
-
"text": "
|
|
2663
|
-
}
|
|
2664
|
-
"readonly": true
|
|
2665
|
-
},
|
|
2666
|
-
{
|
|
2667
|
-
"kind": "method",
|
|
2668
|
-
"name": "getFieldLabel",
|
|
2669
|
-
"privacy": "private",
|
|
2670
|
-
"return": {
|
|
2671
|
-
"type": {
|
|
2672
|
-
"text": "string"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
"parameters": [
|
|
2676
|
-
{
|
|
2677
|
-
"name": "fieldName",
|
|
2678
|
-
"type": {
|
|
2679
|
-
"text": "string"
|
|
2680
|
-
}
|
|
2681
|
-
}
|
|
2682
|
-
]
|
|
2775
|
+
"text": "HTMLElement"
|
|
2776
|
+
}
|
|
2683
2777
|
},
|
|
2684
2778
|
{
|
|
2685
2779
|
"kind": "method",
|
|
2686
|
-
"name": "
|
|
2687
|
-
"
|
|
2688
|
-
"type": {
|
|
2689
|
-
"text": "void"
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2780
|
+
"name": "updateMenuPosition",
|
|
2781
|
+
"privacy": "private"
|
|
2692
2782
|
},
|
|
2693
2783
|
{
|
|
2694
2784
|
"kind": "method",
|
|
2695
|
-
"name": "
|
|
2696
|
-
"
|
|
2697
|
-
"type": {
|
|
2698
|
-
"text": "void"
|
|
2699
|
-
}
|
|
2700
|
-
},
|
|
2785
|
+
"name": "definitionChanged",
|
|
2786
|
+
"privacy": "protected",
|
|
2701
2787
|
"parameters": [
|
|
2702
2788
|
{
|
|
2703
|
-
"name": "
|
|
2789
|
+
"name": "oldValue",
|
|
2704
2790
|
"type": {
|
|
2705
|
-
"text": "
|
|
2791
|
+
"text": "any"
|
|
2706
2792
|
}
|
|
2707
2793
|
},
|
|
2708
2794
|
{
|
|
2709
|
-
"name": "
|
|
2795
|
+
"name": "newValue",
|
|
2710
2796
|
"type": {
|
|
2711
|
-
"text": "
|
|
2797
|
+
"text": "any"
|
|
2712
2798
|
}
|
|
2713
2799
|
}
|
|
2714
2800
|
]
|
|
2715
2801
|
},
|
|
2716
2802
|
{
|
|
2717
2803
|
"kind": "method",
|
|
2718
|
-
"name": "
|
|
2719
|
-
"
|
|
2720
|
-
"type": {
|
|
2721
|
-
"text": "void"
|
|
2722
|
-
}
|
|
2723
|
-
}
|
|
2804
|
+
"name": "openChanged",
|
|
2805
|
+
"privacy": "protected"
|
|
2724
2806
|
},
|
|
2725
2807
|
{
|
|
2726
2808
|
"kind": "method",
|
|
2727
|
-
"name": "
|
|
2809
|
+
"name": "toggleActionsMenuVisibility"
|
|
2728
2810
|
},
|
|
2729
2811
|
{
|
|
2730
2812
|
"kind": "method",
|
|
2731
|
-
"name": "
|
|
2813
|
+
"name": "onActionMenuItemClick",
|
|
2814
|
+
"parameters": [
|
|
2815
|
+
{
|
|
2816
|
+
"name": "callback",
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "(rowData) => void | any"
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2732
2822
|
},
|
|
2733
2823
|
{
|
|
2734
|
-
"kind": "
|
|
2735
|
-
"name": "
|
|
2824
|
+
"kind": "field",
|
|
2825
|
+
"name": "allActions",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "ActionMenuItem[]"
|
|
2828
|
+
},
|
|
2829
|
+
"readonly": true
|
|
2736
2830
|
},
|
|
2737
2831
|
{
|
|
2738
|
-
"kind": "
|
|
2739
|
-
"name": "
|
|
2832
|
+
"kind": "field",
|
|
2833
|
+
"name": "rowData",
|
|
2834
|
+
"readonly": true
|
|
2740
2835
|
},
|
|
2741
2836
|
{
|
|
2742
2837
|
"kind": "method",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2838
|
+
"name": "getLabel",
|
|
2839
|
+
"parameters": [
|
|
2840
|
+
{
|
|
2841
|
+
"name": "name",
|
|
2842
|
+
"type": {
|
|
2843
|
+
"text": "string | ((rowData: any) => string)"
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
]
|
|
2847
|
+
},
|
|
2848
|
+
{
|
|
2849
|
+
"kind": "method",
|
|
2850
|
+
"name": "getTemplate",
|
|
2851
|
+
"parameters": [
|
|
2852
|
+
{
|
|
2853
|
+
"name": "prefix",
|
|
2854
|
+
"type": {
|
|
2855
|
+
"text": "string"
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
]
|
|
2745
2859
|
},
|
|
2746
2860
|
{
|
|
2747
2861
|
"kind": "field",
|
|
@@ -2855,256 +2969,142 @@
|
|
|
2855
2969
|
}
|
|
2856
2970
|
}
|
|
2857
2971
|
],
|
|
2858
|
-
"
|
|
2972
|
+
"attributes": [
|
|
2859
2973
|
{
|
|
2860
|
-
"
|
|
2861
|
-
"
|
|
2974
|
+
"name": "is-vertical",
|
|
2975
|
+
"type": {
|
|
2976
|
+
"text": "boolean"
|
|
2977
|
+
},
|
|
2978
|
+
"default": "false",
|
|
2979
|
+
"fieldName": "isVertical"
|
|
2862
2980
|
},
|
|
2863
2981
|
{
|
|
2864
|
-
"
|
|
2865
|
-
"
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2982
|
+
"name": "add-default-actions",
|
|
2983
|
+
"type": {
|
|
2984
|
+
"text": "boolean"
|
|
2985
|
+
},
|
|
2986
|
+
"default": "true",
|
|
2987
|
+
"fieldName": "addDefaultActions"
|
|
2988
|
+
},
|
|
2869
2989
|
{
|
|
2870
|
-
"name": "
|
|
2990
|
+
"name": "auto-close-on-action",
|
|
2991
|
+
"type": {
|
|
2992
|
+
"text": "boolean"
|
|
2993
|
+
},
|
|
2994
|
+
"default": "true",
|
|
2995
|
+
"fieldName": "autoCloseOnAction"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "name",
|
|
2871
2999
|
"type": {
|
|
2872
3000
|
"text": "string"
|
|
2873
3001
|
},
|
|
2874
|
-
"default": "'
|
|
2875
|
-
"fieldName": "
|
|
3002
|
+
"default": "'Actions'",
|
|
3003
|
+
"fieldName": "name"
|
|
2876
3004
|
},
|
|
2877
3005
|
{
|
|
3006
|
+
"name": "open",
|
|
2878
3007
|
"type": {
|
|
2879
3008
|
"text": "boolean"
|
|
2880
3009
|
},
|
|
2881
|
-
"
|
|
3010
|
+
"default": "false",
|
|
3011
|
+
"fieldName": "open"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"name": "buttonAppearance",
|
|
3015
|
+
"type": {
|
|
3016
|
+
"text": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"fieldName": "buttonAppearance"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"name": "hide-disabled",
|
|
3022
|
+
"type": {
|
|
3023
|
+
"text": "boolean"
|
|
3024
|
+
},
|
|
3025
|
+
"default": "false",
|
|
3026
|
+
"fieldName": "hideDisabled"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"name": "hide-menu-single-option",
|
|
3030
|
+
"type": {
|
|
3031
|
+
"text": "boolean"
|
|
3032
|
+
},
|
|
3033
|
+
"default": "false",
|
|
3034
|
+
"fieldName": "hideMenuSingleOption"
|
|
2882
3035
|
}
|
|
2883
3036
|
],
|
|
2884
3037
|
"superclass": {
|
|
2885
3038
|
"name": "FoundationElement",
|
|
2886
3039
|
"package": "@microsoft/fast-foundation"
|
|
2887
3040
|
},
|
|
2888
|
-
"tagName": "%%prefix%%-
|
|
3041
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2889
3042
|
"customElement": true
|
|
2890
3043
|
},
|
|
2891
3044
|
{
|
|
2892
3045
|
"kind": "variable",
|
|
2893
|
-
"name": "
|
|
2894
|
-
"
|
|
2895
|
-
|
|
2896
|
-
},
|
|
2897
|
-
"default": "undefined"
|
|
2898
|
-
},
|
|
2899
|
-
{
|
|
2900
|
-
"kind": "variable",
|
|
2901
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2902
|
-
"type": {
|
|
2903
|
-
"text": "object"
|
|
2904
|
-
},
|
|
2905
|
-
"default": "{}"
|
|
2906
|
-
},
|
|
2907
|
-
{
|
|
2908
|
-
"kind": "variable",
|
|
2909
|
-
"name": "foundationAiCriteriaSearch"
|
|
3046
|
+
"name": "foundationActionsMenu",
|
|
3047
|
+
"description": "The Foundation Actions Menu",
|
|
3048
|
+
"privacy": "public"
|
|
2910
3049
|
}
|
|
2911
3050
|
],
|
|
2912
3051
|
"exports": [
|
|
2913
3052
|
{
|
|
2914
3053
|
"kind": "js",
|
|
2915
|
-
"name": "
|
|
2916
|
-
"declaration": {
|
|
2917
|
-
"name": "AiCriteriaSearch",
|
|
2918
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2919
|
-
}
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"kind": "js",
|
|
2923
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2924
|
-
"declaration": {
|
|
2925
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2926
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2927
|
-
}
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"kind": "js",
|
|
2931
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3054
|
+
"name": "ActionsMenu",
|
|
2932
3055
|
"declaration": {
|
|
2933
|
-
"name": "
|
|
2934
|
-
"module": "src/
|
|
3056
|
+
"name": "ActionsMenu",
|
|
3057
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2935
3058
|
}
|
|
2936
3059
|
},
|
|
2937
3060
|
{
|
|
2938
3061
|
"kind": "js",
|
|
2939
|
-
"name": "
|
|
3062
|
+
"name": "foundationActionsMenu",
|
|
2940
3063
|
"declaration": {
|
|
2941
|
-
"name": "
|
|
2942
|
-
"module": "src/
|
|
3064
|
+
"name": "foundationActionsMenu",
|
|
3065
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2943
3066
|
}
|
|
2944
3067
|
}
|
|
2945
3068
|
]
|
|
2946
3069
|
},
|
|
2947
3070
|
{
|
|
2948
3071
|
"kind": "javascript-module",
|
|
2949
|
-
"path": "src/
|
|
3072
|
+
"path": "src/actions-menu/index.ts",
|
|
2950
3073
|
"declarations": [],
|
|
2951
3074
|
"exports": [
|
|
2952
3075
|
{
|
|
2953
3076
|
"kind": "js",
|
|
2954
|
-
"name": "
|
|
2955
|
-
"declaration": {
|
|
2956
|
-
"name": "AiCriteriaSearch",
|
|
2957
|
-
"module": "./ai-criteria-search"
|
|
2958
|
-
}
|
|
2959
|
-
},
|
|
2960
|
-
{
|
|
2961
|
-
"kind": "js",
|
|
2962
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2963
|
-
"declaration": {
|
|
2964
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2965
|
-
"module": "./ai-criteria-search"
|
|
2966
|
-
}
|
|
2967
|
-
},
|
|
2968
|
-
{
|
|
2969
|
-
"kind": "js",
|
|
2970
|
-
"name": "foundationAiCriteriaSearch",
|
|
2971
|
-
"declaration": {
|
|
2972
|
-
"name": "foundationAiCriteriaSearch",
|
|
2973
|
-
"module": "./ai-criteria-search"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "js",
|
|
2978
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2979
|
-
"declaration": {
|
|
2980
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2981
|
-
"module": "./ai-criteria-search"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "js",
|
|
2986
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2987
|
-
"declaration": {
|
|
2988
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2989
|
-
"module": "./ai-criteria-search.styles"
|
|
2990
|
-
}
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "js",
|
|
2994
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2995
|
-
"declaration": {
|
|
2996
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2997
|
-
"module": "./ai-criteria-search.template"
|
|
2998
|
-
}
|
|
2999
|
-
},
|
|
3000
|
-
{
|
|
3001
|
-
"kind": "js",
|
|
3002
|
-
"name": "*",
|
|
3003
|
-
"declaration": {
|
|
3004
|
-
"name": "*",
|
|
3005
|
-
"package": "./validation/criteria-ir"
|
|
3006
|
-
}
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "js",
|
|
3010
|
-
"name": "*",
|
|
3011
|
-
"declaration": {
|
|
3012
|
-
"name": "*",
|
|
3013
|
-
"package": "./validation/operator-map"
|
|
3014
|
-
}
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "js",
|
|
3018
|
-
"name": "*",
|
|
3019
|
-
"declaration": {
|
|
3020
|
-
"name": "*",
|
|
3021
|
-
"package": "./validation/schema-validator"
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
]
|
|
3025
|
-
},
|
|
3026
|
-
{
|
|
3027
|
-
"kind": "javascript-module",
|
|
3028
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3029
|
-
"declarations": [
|
|
3030
|
-
{
|
|
3031
|
-
"kind": "function",
|
|
3032
|
-
"name": "formatValidationErrors",
|
|
3033
|
-
"return": {
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "string"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
"parameters": [
|
|
3039
|
-
{
|
|
3040
|
-
"name": "errors",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ValidationError[]"
|
|
3043
|
-
}
|
|
3044
|
-
}
|
|
3045
|
-
],
|
|
3046
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"kind": "function",
|
|
3050
|
-
"name": "showCriteriaError",
|
|
3051
|
-
"return": {
|
|
3052
|
-
"type": {
|
|
3053
|
-
"text": "void"
|
|
3054
|
-
}
|
|
3055
|
-
},
|
|
3056
|
-
"parameters": [
|
|
3057
|
-
{
|
|
3058
|
-
"name": "title",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "string"
|
|
3061
|
-
},
|
|
3062
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3063
|
-
},
|
|
3064
|
-
{
|
|
3065
|
-
"name": "body",
|
|
3066
|
-
"type": {
|
|
3067
|
-
"text": "string"
|
|
3068
|
-
},
|
|
3069
|
-
"description": "Error message to display"
|
|
3070
|
-
},
|
|
3071
|
-
{
|
|
3072
|
-
"name": "tagName",
|
|
3073
|
-
"type": {
|
|
3074
|
-
"text": "string"
|
|
3075
|
-
},
|
|
3076
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3077
|
-
}
|
|
3078
|
-
],
|
|
3079
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3080
|
-
}
|
|
3081
|
-
],
|
|
3082
|
-
"exports": [
|
|
3083
|
-
{
|
|
3084
|
-
"kind": "js",
|
|
3085
|
-
"name": "formatValidationErrors",
|
|
3077
|
+
"name": "*",
|
|
3086
3078
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"
|
|
3079
|
+
"name": "*",
|
|
3080
|
+
"package": "./actions-menu.styles"
|
|
3089
3081
|
}
|
|
3090
3082
|
},
|
|
3091
3083
|
{
|
|
3092
3084
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
3085
|
+
"name": "*",
|
|
3094
3086
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"
|
|
3087
|
+
"name": "*",
|
|
3088
|
+
"package": "./actions-menu.template"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "js",
|
|
3093
|
+
"name": "*",
|
|
3094
|
+
"declaration": {
|
|
3095
|
+
"name": "*",
|
|
3096
|
+
"package": "./actions-menu"
|
|
3097
3097
|
}
|
|
3098
3098
|
}
|
|
3099
3099
|
]
|
|
3100
3100
|
},
|
|
3101
3101
|
{
|
|
3102
3102
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/
|
|
3103
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3104
3104
|
"declarations": [
|
|
3105
3105
|
{
|
|
3106
3106
|
"kind": "function",
|
|
3107
|
-
"name": "
|
|
3107
|
+
"name": "foundationAiIndicatorStyles",
|
|
3108
3108
|
"return": {
|
|
3109
3109
|
"type": {
|
|
3110
3110
|
"text": "ElementStyles"
|
|
@@ -3129,276 +3129,224 @@
|
|
|
3129
3129
|
"exports": [
|
|
3130
3130
|
{
|
|
3131
3131
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
3132
|
+
"name": "foundationAiIndicatorStyles",
|
|
3133
3133
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/
|
|
3134
|
+
"name": "foundationAiIndicatorStyles",
|
|
3135
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
3138
|
]
|
|
3139
3139
|
},
|
|
3140
3140
|
{
|
|
3141
3141
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/
|
|
3142
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3143
3143
|
"declarations": [
|
|
3144
3144
|
{
|
|
3145
|
-
"kind": "
|
|
3146
|
-
"name": "
|
|
3147
|
-
"
|
|
3148
|
-
"
|
|
3149
|
-
"text": "ViewTemplate<Accordion>"
|
|
3150
|
-
}
|
|
3145
|
+
"kind": "variable",
|
|
3146
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3147
|
+
"type": {
|
|
3148
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3151
3149
|
},
|
|
3152
|
-
"
|
|
3153
|
-
{
|
|
3154
|
-
"name": "context",
|
|
3155
|
-
"type": {
|
|
3156
|
-
"text": "ElementDefinitionContext"
|
|
3157
|
-
}
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "definition",
|
|
3161
|
-
"type": {
|
|
3162
|
-
"text": "FoundationElementDefinition"
|
|
3163
|
-
}
|
|
3164
|
-
}
|
|
3165
|
-
]
|
|
3150
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3166
3151
|
}
|
|
3167
3152
|
],
|
|
3168
3153
|
"exports": [
|
|
3169
3154
|
{
|
|
3170
3155
|
"kind": "js",
|
|
3171
|
-
"name": "
|
|
3156
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3172
3157
|
"declaration": {
|
|
3173
|
-
"name": "
|
|
3174
|
-
"module": "src/
|
|
3158
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3159
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3175
3160
|
}
|
|
3176
3161
|
}
|
|
3177
3162
|
]
|
|
3178
3163
|
},
|
|
3179
3164
|
{
|
|
3180
3165
|
"kind": "javascript-module",
|
|
3181
|
-
"path": "src/
|
|
3166
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3182
3167
|
"declarations": [
|
|
3183
3168
|
{
|
|
3184
3169
|
"kind": "class",
|
|
3185
3170
|
"description": "",
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"name": "FASTAccordion",
|
|
3189
|
-
"package": "@microsoft/fast-foundation"
|
|
3190
|
-
},
|
|
3191
|
-
"tagName": "%%prefix%%-accordion",
|
|
3192
|
-
"customElement": true,
|
|
3193
|
-
"attributes": [
|
|
3171
|
+
"name": "AiIndicator",
|
|
3172
|
+
"members": [
|
|
3194
3173
|
{
|
|
3195
|
-
"
|
|
3174
|
+
"kind": "field",
|
|
3175
|
+
"name": "providerRegistry",
|
|
3196
3176
|
"type": {
|
|
3197
|
-
"text": "
|
|
3198
|
-
},
|
|
3199
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3200
|
-
"fieldName": "expandmode",
|
|
3201
|
-
"inheritedFrom": {
|
|
3202
|
-
"name": "Accordion",
|
|
3203
|
-
"module": "src/accordion/accordion.ts"
|
|
3177
|
+
"text": "AIProviderRegistry"
|
|
3204
3178
|
}
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"members": [
|
|
3179
|
+
},
|
|
3208
3180
|
{
|
|
3209
3181
|
"kind": "field",
|
|
3210
|
-
"name": "
|
|
3182
|
+
"name": "aiProvider",
|
|
3211
3183
|
"type": {
|
|
3212
|
-
"text": "
|
|
3184
|
+
"text": "AIProvider | undefined"
|
|
3213
3185
|
},
|
|
3214
|
-
"privacy": "
|
|
3215
|
-
"description": "
|
|
3216
|
-
"
|
|
3217
|
-
"name": "Accordion",
|
|
3218
|
-
"module": "src/accordion/accordion.ts"
|
|
3219
|
-
}
|
|
3186
|
+
"privacy": "private",
|
|
3187
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3188
|
+
"readonly": true
|
|
3220
3189
|
},
|
|
3221
3190
|
{
|
|
3222
3191
|
"kind": "field",
|
|
3223
|
-
"name": "
|
|
3192
|
+
"name": "status",
|
|
3224
3193
|
"type": {
|
|
3225
|
-
"text": "
|
|
3194
|
+
"text": "AIStatus | null"
|
|
3226
3195
|
},
|
|
3227
|
-
"
|
|
3228
|
-
"inheritedFrom": {
|
|
3229
|
-
"name": "Accordion",
|
|
3230
|
-
"module": "src/accordion/accordion.ts"
|
|
3231
|
-
}
|
|
3196
|
+
"default": "null"
|
|
3232
3197
|
},
|
|
3233
3198
|
{
|
|
3234
3199
|
"kind": "field",
|
|
3235
|
-
"name": "
|
|
3200
|
+
"name": "open",
|
|
3236
3201
|
"type": {
|
|
3237
|
-
"text": "
|
|
3202
|
+
"text": "boolean"
|
|
3238
3203
|
},
|
|
3239
|
-
"
|
|
3240
|
-
"default": "0",
|
|
3241
|
-
"inheritedFrom": {
|
|
3242
|
-
"name": "Accordion",
|
|
3243
|
-
"module": "src/accordion/accordion.ts"
|
|
3244
|
-
}
|
|
3204
|
+
"default": "false"
|
|
3245
3205
|
},
|
|
3246
3206
|
{
|
|
3247
3207
|
"kind": "field",
|
|
3248
|
-
"name": "
|
|
3208
|
+
"name": "state",
|
|
3249
3209
|
"type": {
|
|
3250
|
-
"text": "
|
|
3210
|
+
"text": "AIIndicatorState"
|
|
3251
3211
|
},
|
|
3252
|
-
"
|
|
3253
|
-
"inheritedFrom": {
|
|
3254
|
-
"name": "Accordion",
|
|
3255
|
-
"module": "src/accordion/accordion.ts"
|
|
3256
|
-
}
|
|
3212
|
+
"default": "'none'"
|
|
3257
3213
|
},
|
|
3258
3214
|
{
|
|
3259
3215
|
"kind": "field",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3216
|
+
"name": "isInstalling",
|
|
3217
|
+
"type": {
|
|
3218
|
+
"text": "boolean"
|
|
3219
|
+
},
|
|
3220
|
+
"default": "false"
|
|
3266
3221
|
},
|
|
3267
3222
|
{
|
|
3268
|
-
"kind": "
|
|
3269
|
-
"name": "
|
|
3223
|
+
"kind": "field",
|
|
3224
|
+
"name": "pollTimer",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3227
|
+
},
|
|
3270
3228
|
"privacy": "private",
|
|
3271
|
-
"
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3229
|
+
"default": "null"
|
|
3230
|
+
},
|
|
3231
|
+
{
|
|
3232
|
+
"kind": "field",
|
|
3233
|
+
"name": "clickOutside",
|
|
3234
|
+
"privacy": "private"
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"kind": "field",
|
|
3238
|
+
"name": "chromeStatusLabel",
|
|
3239
|
+
"type": {
|
|
3240
|
+
"text": "string | null"
|
|
3275
3241
|
},
|
|
3276
|
-
"
|
|
3277
|
-
"name": "Accordion",
|
|
3278
|
-
"module": "src/accordion/accordion.ts"
|
|
3279
|
-
}
|
|
3242
|
+
"readonly": true
|
|
3280
3243
|
},
|
|
3281
3244
|
{
|
|
3282
3245
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3246
|
+
"name": "canInstall",
|
|
3247
|
+
"type": {
|
|
3248
|
+
"text": "boolean"
|
|
3249
|
+
},
|
|
3250
|
+
"readonly": true
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"kind": "field",
|
|
3254
|
+
"name": "isDownloading",
|
|
3255
|
+
"type": {
|
|
3256
|
+
"text": "boolean"
|
|
3257
|
+
},
|
|
3258
|
+
"readonly": true
|
|
3289
3259
|
},
|
|
3290
3260
|
{
|
|
3291
3261
|
"kind": "method",
|
|
3292
|
-
"name": "
|
|
3293
|
-
"privacy": "private",
|
|
3262
|
+
"name": "openChanged",
|
|
3294
3263
|
"return": {
|
|
3295
3264
|
"type": {
|
|
3296
3265
|
"text": "void"
|
|
3297
3266
|
}
|
|
3298
|
-
},
|
|
3299
|
-
"inheritedFrom": {
|
|
3300
|
-
"name": "Accordion",
|
|
3301
|
-
"module": "src/accordion/accordion.ts"
|
|
3302
3267
|
}
|
|
3303
3268
|
},
|
|
3304
3269
|
{
|
|
3305
|
-
"kind": "
|
|
3306
|
-
"name": "
|
|
3270
|
+
"kind": "method",
|
|
3271
|
+
"name": "handleClickOutside",
|
|
3307
3272
|
"privacy": "private",
|
|
3308
|
-
"
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3273
|
+
"parameters": [
|
|
3274
|
+
{
|
|
3275
|
+
"name": "event",
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "MouseEvent"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
3312
3281
|
},
|
|
3313
3282
|
{
|
|
3314
|
-
"kind": "
|
|
3315
|
-
"name": "
|
|
3316
|
-
"privacy": "private",
|
|
3317
|
-
"inheritedFrom": {
|
|
3318
|
-
"name": "Accordion",
|
|
3319
|
-
"module": "src/accordion/accordion.ts"
|
|
3320
|
-
}
|
|
3283
|
+
"kind": "method",
|
|
3284
|
+
"name": "toggleDropdown"
|
|
3321
3285
|
},
|
|
3322
3286
|
{
|
|
3323
3287
|
"kind": "method",
|
|
3324
|
-
"name": "
|
|
3325
|
-
"privacy": "private",
|
|
3288
|
+
"name": "refreshStatus",
|
|
3326
3289
|
"return": {
|
|
3327
3290
|
"type": {
|
|
3328
|
-
"text": "
|
|
3291
|
+
"text": "Promise<void>"
|
|
3329
3292
|
}
|
|
3330
|
-
},
|
|
3331
|
-
"inheritedFrom": {
|
|
3332
|
-
"name": "Accordion",
|
|
3333
|
-
"module": "src/accordion/accordion.ts"
|
|
3334
3293
|
}
|
|
3335
3294
|
},
|
|
3336
3295
|
{
|
|
3337
3296
|
"kind": "method",
|
|
3338
|
-
"name": "
|
|
3297
|
+
"name": "deriveState",
|
|
3339
3298
|
"privacy": "private",
|
|
3340
3299
|
"return": {
|
|
3341
3300
|
"type": {
|
|
3342
|
-
"text": "
|
|
3301
|
+
"text": "AIIndicatorState"
|
|
3343
3302
|
}
|
|
3344
3303
|
},
|
|
3345
|
-
"
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3304
|
+
"parameters": [
|
|
3305
|
+
{
|
|
3306
|
+
"name": "s",
|
|
3307
|
+
"type": {
|
|
3308
|
+
"text": "AIStatus | null"
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
]
|
|
3349
3312
|
},
|
|
3350
3313
|
{
|
|
3351
|
-
"kind": "
|
|
3352
|
-
"name": "
|
|
3314
|
+
"kind": "method",
|
|
3315
|
+
"name": "maybeStartPolling",
|
|
3353
3316
|
"privacy": "private",
|
|
3354
|
-
"
|
|
3355
|
-
"
|
|
3356
|
-
|
|
3317
|
+
"return": {
|
|
3318
|
+
"type": {
|
|
3319
|
+
"text": "void"
|
|
3320
|
+
}
|
|
3357
3321
|
}
|
|
3358
3322
|
},
|
|
3359
3323
|
{
|
|
3360
|
-
"kind": "
|
|
3361
|
-
"name": "
|
|
3324
|
+
"kind": "method",
|
|
3325
|
+
"name": "startPolling",
|
|
3362
3326
|
"privacy": "private",
|
|
3363
|
-
"
|
|
3364
|
-
"
|
|
3365
|
-
|
|
3327
|
+
"return": {
|
|
3328
|
+
"type": {
|
|
3329
|
+
"text": "void"
|
|
3330
|
+
}
|
|
3366
3331
|
}
|
|
3367
3332
|
},
|
|
3368
3333
|
{
|
|
3369
3334
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3335
|
+
"name": "stopPolling",
|
|
3371
3336
|
"privacy": "private",
|
|
3372
3337
|
"return": {
|
|
3373
3338
|
"type": {
|
|
3374
3339
|
"text": "void"
|
|
3375
3340
|
}
|
|
3376
|
-
},
|
|
3377
|
-
"parameters": [
|
|
3378
|
-
{
|
|
3379
|
-
"name": "adjustment",
|
|
3380
|
-
"type": {
|
|
3381
|
-
"text": "number"
|
|
3382
|
-
}
|
|
3383
|
-
}
|
|
3384
|
-
],
|
|
3385
|
-
"inheritedFrom": {
|
|
3386
|
-
"name": "Accordion",
|
|
3387
|
-
"module": "src/accordion/accordion.ts"
|
|
3388
3341
|
}
|
|
3389
3342
|
},
|
|
3390
3343
|
{
|
|
3391
3344
|
"kind": "method",
|
|
3392
|
-
"name": "
|
|
3393
|
-
"privacy": "private",
|
|
3345
|
+
"name": "onInstall",
|
|
3394
3346
|
"return": {
|
|
3395
3347
|
"type": {
|
|
3396
|
-
"text": "void"
|
|
3348
|
+
"text": "Promise<void>"
|
|
3397
3349
|
}
|
|
3398
|
-
},
|
|
3399
|
-
"inheritedFrom": {
|
|
3400
|
-
"name": "Accordion",
|
|
3401
|
-
"module": "src/accordion/accordion.ts"
|
|
3402
3350
|
}
|
|
3403
3351
|
},
|
|
3404
3352
|
{
|
|
@@ -3513,113 +3461,99 @@
|
|
|
3513
3461
|
}
|
|
3514
3462
|
}
|
|
3515
3463
|
],
|
|
3516
|
-
"
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
"name": "change",
|
|
3520
|
-
"inheritedFrom": {
|
|
3521
|
-
"name": "Accordion",
|
|
3522
|
-
"module": "src/accordion/accordion.ts"
|
|
3523
|
-
}
|
|
3524
|
-
}
|
|
3525
|
-
]
|
|
3526
|
-
},
|
|
3527
|
-
{
|
|
3528
|
-
"kind": "variable",
|
|
3529
|
-
"name": "foundationAccordionShadowOptions",
|
|
3530
|
-
"type": {
|
|
3531
|
-
"text": "ShadowRootInit"
|
|
3532
|
-
},
|
|
3533
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3534
|
-
},
|
|
3535
|
-
{
|
|
3536
|
-
"kind": "variable",
|
|
3537
|
-
"name": "defaultAccordionConfig",
|
|
3538
|
-
"type": {
|
|
3539
|
-
"text": "object"
|
|
3464
|
+
"superclass": {
|
|
3465
|
+
"name": "FoundationElement",
|
|
3466
|
+
"package": "@microsoft/fast-foundation"
|
|
3540
3467
|
},
|
|
3541
|
-
"
|
|
3468
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3469
|
+
"customElement": true
|
|
3542
3470
|
},
|
|
3543
3471
|
{
|
|
3544
3472
|
"kind": "variable",
|
|
3545
|
-
"name": "
|
|
3546
|
-
"description": "The Foundation Accordion",
|
|
3547
|
-
"privacy": "public"
|
|
3473
|
+
"name": "foundationAiIndicator"
|
|
3548
3474
|
}
|
|
3549
3475
|
],
|
|
3550
3476
|
"exports": [
|
|
3551
3477
|
{
|
|
3552
3478
|
"kind": "js",
|
|
3553
|
-
"name": "
|
|
3479
|
+
"name": "AiIndicator",
|
|
3554
3480
|
"declaration": {
|
|
3555
|
-
"name": "
|
|
3556
|
-
"module": "src/
|
|
3481
|
+
"name": "AiIndicator",
|
|
3482
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3557
3483
|
}
|
|
3558
3484
|
},
|
|
3559
3485
|
{
|
|
3560
3486
|
"kind": "js",
|
|
3561
|
-
"name": "
|
|
3487
|
+
"name": "foundationAiIndicator",
|
|
3562
3488
|
"declaration": {
|
|
3563
|
-
"name": "
|
|
3564
|
-
"module": "src/
|
|
3489
|
+
"name": "foundationAiIndicator",
|
|
3490
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
]
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"kind": "javascript-module",
|
|
3497
|
+
"path": "src/ai-indicator/index.ts",
|
|
3498
|
+
"declarations": [],
|
|
3499
|
+
"exports": [
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "js",
|
|
3502
|
+
"name": "AiIndicator",
|
|
3503
|
+
"declaration": {
|
|
3504
|
+
"name": "AiIndicator",
|
|
3505
|
+
"module": "./ai-indicator"
|
|
3565
3506
|
}
|
|
3566
3507
|
},
|
|
3567
3508
|
{
|
|
3568
3509
|
"kind": "js",
|
|
3569
|
-
"name": "
|
|
3510
|
+
"name": "foundationAiIndicator",
|
|
3570
3511
|
"declaration": {
|
|
3571
|
-
"name": "
|
|
3572
|
-
"module": "
|
|
3512
|
+
"name": "foundationAiIndicator",
|
|
3513
|
+
"module": "./ai-indicator"
|
|
3573
3514
|
}
|
|
3574
3515
|
},
|
|
3575
3516
|
{
|
|
3576
3517
|
"kind": "js",
|
|
3577
|
-
"name": "
|
|
3518
|
+
"name": "type",
|
|
3578
3519
|
"declaration": {
|
|
3579
|
-
"name": "
|
|
3580
|
-
"module": "
|
|
3520
|
+
"name": "type",
|
|
3521
|
+
"module": "./ai-indicator"
|
|
3581
3522
|
}
|
|
3582
|
-
}
|
|
3583
|
-
]
|
|
3584
|
-
},
|
|
3585
|
-
{
|
|
3586
|
-
"kind": "javascript-module",
|
|
3587
|
-
"path": "src/accordion/index.ts",
|
|
3588
|
-
"declarations": [],
|
|
3589
|
-
"exports": [
|
|
3523
|
+
},
|
|
3590
3524
|
{
|
|
3591
3525
|
"kind": "js",
|
|
3592
|
-
"name": "
|
|
3526
|
+
"name": "AIIndicatorState",
|
|
3593
3527
|
"declaration": {
|
|
3594
|
-
"name": "
|
|
3595
|
-
"
|
|
3528
|
+
"name": "AIIndicatorState",
|
|
3529
|
+
"module": "./ai-indicator"
|
|
3596
3530
|
}
|
|
3597
3531
|
},
|
|
3598
3532
|
{
|
|
3599
3533
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3534
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3601
3535
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"
|
|
3536
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3537
|
+
"module": "./ai-indicator.template"
|
|
3604
3538
|
}
|
|
3605
3539
|
},
|
|
3606
3540
|
{
|
|
3607
3541
|
"kind": "js",
|
|
3608
|
-
"name": "
|
|
3542
|
+
"name": "foundationAiIndicatorStyles",
|
|
3609
3543
|
"declaration": {
|
|
3610
|
-
"name": "
|
|
3611
|
-
"
|
|
3544
|
+
"name": "foundationAiIndicatorStyles",
|
|
3545
|
+
"module": "./ai-indicator.styles"
|
|
3612
3546
|
}
|
|
3613
3547
|
}
|
|
3614
3548
|
]
|
|
3615
3549
|
},
|
|
3616
3550
|
{
|
|
3617
3551
|
"kind": "javascript-module",
|
|
3618
|
-
"path": "src/
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3619
3553
|
"declarations": [
|
|
3620
3554
|
{
|
|
3621
3555
|
"kind": "function",
|
|
3622
|
-
"name": "
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3623
3557
|
"return": {
|
|
3624
3558
|
"type": {
|
|
3625
3559
|
"text": "ElementStyles"
|
|
@@ -3644,224 +3578,276 @@
|
|
|
3644
3578
|
"exports": [
|
|
3645
3579
|
{
|
|
3646
3580
|
"kind": "js",
|
|
3647
|
-
"name": "
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3648
3582
|
"declaration": {
|
|
3649
|
-
"name": "
|
|
3650
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3651
3585
|
}
|
|
3652
3586
|
}
|
|
3653
3587
|
]
|
|
3654
3588
|
},
|
|
3655
3589
|
{
|
|
3656
3590
|
"kind": "javascript-module",
|
|
3657
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3658
3592
|
"declarations": [
|
|
3659
3593
|
{
|
|
3660
|
-
"kind": "
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3594
|
+
"kind": "function",
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3596
|
+
"return": {
|
|
3597
|
+
"type": {
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3599
|
+
}
|
|
3664
3600
|
},
|
|
3665
|
-
"
|
|
3601
|
+
"parameters": [
|
|
3602
|
+
{
|
|
3603
|
+
"name": "context",
|
|
3604
|
+
"type": {
|
|
3605
|
+
"text": "ElementDefinitionContext"
|
|
3606
|
+
}
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "definition",
|
|
3610
|
+
"type": {
|
|
3611
|
+
"text": "FoundationElementDefinition"
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
]
|
|
3666
3615
|
}
|
|
3667
3616
|
],
|
|
3668
3617
|
"exports": [
|
|
3669
3618
|
{
|
|
3670
3619
|
"kind": "js",
|
|
3671
|
-
"name": "
|
|
3620
|
+
"name": "foundationAccordionTemplate",
|
|
3672
3621
|
"declaration": {
|
|
3673
|
-
"name": "
|
|
3674
|
-
"module": "src/
|
|
3622
|
+
"name": "foundationAccordionTemplate",
|
|
3623
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3675
3624
|
}
|
|
3676
3625
|
}
|
|
3677
3626
|
]
|
|
3678
3627
|
},
|
|
3679
3628
|
{
|
|
3680
3629
|
"kind": "javascript-module",
|
|
3681
|
-
"path": "src/
|
|
3630
|
+
"path": "src/accordion/accordion.ts",
|
|
3682
3631
|
"declarations": [
|
|
3683
3632
|
{
|
|
3684
3633
|
"kind": "class",
|
|
3685
3634
|
"description": "",
|
|
3686
|
-
"name": "
|
|
3687
|
-
"
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
},
|
|
3695
|
-
{
|
|
3696
|
-
"kind": "field",
|
|
3697
|
-
"name": "aiProvider",
|
|
3698
|
-
"type": {
|
|
3699
|
-
"text": "AIProvider | undefined"
|
|
3700
|
-
},
|
|
3701
|
-
"privacy": "private",
|
|
3702
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3703
|
-
"readonly": true
|
|
3704
|
-
},
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"superclass": {
|
|
3637
|
+
"name": "FASTAccordion",
|
|
3638
|
+
"package": "@microsoft/fast-foundation"
|
|
3639
|
+
},
|
|
3640
|
+
"tagName": "%%prefix%%-accordion",
|
|
3641
|
+
"customElement": true,
|
|
3642
|
+
"attributes": [
|
|
3705
3643
|
{
|
|
3706
|
-
"
|
|
3707
|
-
"name": "status",
|
|
3644
|
+
"name": "expand-mode",
|
|
3708
3645
|
"type": {
|
|
3709
|
-
"text": "
|
|
3646
|
+
"text": "AccordionExpandMode"
|
|
3710
3647
|
},
|
|
3711
|
-
"
|
|
3712
|
-
|
|
3648
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3649
|
+
"fieldName": "expandmode",
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3653
|
+
}
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"members": [
|
|
3713
3657
|
{
|
|
3714
3658
|
"kind": "field",
|
|
3715
|
-
"name": "
|
|
3659
|
+
"name": "expandmode",
|
|
3716
3660
|
"type": {
|
|
3717
|
-
"text": "
|
|
3661
|
+
"text": "AccordionExpandMode"
|
|
3718
3662
|
},
|
|
3719
|
-
"
|
|
3663
|
+
"privacy": "public",
|
|
3664
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "Accordion",
|
|
3667
|
+
"module": "src/accordion/accordion.ts"
|
|
3668
|
+
}
|
|
3720
3669
|
},
|
|
3721
3670
|
{
|
|
3722
3671
|
"kind": "field",
|
|
3723
|
-
"name": "
|
|
3672
|
+
"name": "activeid",
|
|
3724
3673
|
"type": {
|
|
3725
|
-
"text": "
|
|
3674
|
+
"text": "string | null"
|
|
3726
3675
|
},
|
|
3727
|
-
"
|
|
3676
|
+
"privacy": "private",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3680
|
+
}
|
|
3728
3681
|
},
|
|
3729
3682
|
{
|
|
3730
3683
|
"kind": "field",
|
|
3731
|
-
"name": "
|
|
3684
|
+
"name": "activeItemIndex",
|
|
3732
3685
|
"type": {
|
|
3733
|
-
"text": "
|
|
3686
|
+
"text": "number"
|
|
3734
3687
|
},
|
|
3735
|
-
"
|
|
3688
|
+
"privacy": "private",
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"inheritedFrom": {
|
|
3691
|
+
"name": "Accordion",
|
|
3692
|
+
"module": "src/accordion/accordion.ts"
|
|
3693
|
+
}
|
|
3736
3694
|
},
|
|
3737
3695
|
{
|
|
3738
3696
|
"kind": "field",
|
|
3739
|
-
"name": "
|
|
3697
|
+
"name": "accordionIds",
|
|
3740
3698
|
"type": {
|
|
3741
|
-
"text": "
|
|
3699
|
+
"text": "Array<string | null>"
|
|
3742
3700
|
},
|
|
3743
3701
|
"privacy": "private",
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
"name": "clickOutside",
|
|
3749
|
-
"privacy": "private"
|
|
3702
|
+
"inheritedFrom": {
|
|
3703
|
+
"name": "Accordion",
|
|
3704
|
+
"module": "src/accordion/accordion.ts"
|
|
3705
|
+
}
|
|
3750
3706
|
},
|
|
3751
3707
|
{
|
|
3752
3708
|
"kind": "field",
|
|
3753
|
-
"name": "
|
|
3754
|
-
"
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3709
|
+
"name": "change",
|
|
3710
|
+
"privacy": "private",
|
|
3711
|
+
"inheritedFrom": {
|
|
3712
|
+
"name": "Accordion",
|
|
3713
|
+
"module": "src/accordion/accordion.ts"
|
|
3714
|
+
}
|
|
3758
3715
|
},
|
|
3759
3716
|
{
|
|
3760
|
-
"kind": "
|
|
3761
|
-
"name": "
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "findExpandedItem",
|
|
3719
|
+
"privacy": "private",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "AccordionItem | null"
|
|
3723
|
+
}
|
|
3764
3724
|
},
|
|
3765
|
-
"
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Accordion",
|
|
3727
|
+
"module": "src/accordion/accordion.ts"
|
|
3728
|
+
}
|
|
3766
3729
|
},
|
|
3767
3730
|
{
|
|
3768
3731
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3770
|
-
"
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3732
|
+
"name": "setItems",
|
|
3733
|
+
"privacy": "private",
|
|
3734
|
+
"inheritedFrom": {
|
|
3735
|
+
"name": "Accordion",
|
|
3736
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
|
+
}
|
|
3774
3738
|
},
|
|
3775
3739
|
{
|
|
3776
3740
|
"kind": "method",
|
|
3777
|
-
"name": "
|
|
3741
|
+
"name": "resetItems",
|
|
3742
|
+
"privacy": "private",
|
|
3778
3743
|
"return": {
|
|
3779
3744
|
"type": {
|
|
3780
3745
|
"text": "void"
|
|
3781
3746
|
}
|
|
3747
|
+
},
|
|
3748
|
+
"inheritedFrom": {
|
|
3749
|
+
"name": "Accordion",
|
|
3750
|
+
"module": "src/accordion/accordion.ts"
|
|
3782
3751
|
}
|
|
3783
3752
|
},
|
|
3784
3753
|
{
|
|
3785
|
-
"kind": "
|
|
3786
|
-
"name": "
|
|
3754
|
+
"kind": "field",
|
|
3755
|
+
"name": "removeItemListeners",
|
|
3787
3756
|
"privacy": "private",
|
|
3788
|
-
"
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
"text": "MouseEvent"
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
]
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3760
|
+
}
|
|
3796
3761
|
},
|
|
3797
3762
|
{
|
|
3798
|
-
"kind": "
|
|
3799
|
-
"name": "
|
|
3763
|
+
"kind": "field",
|
|
3764
|
+
"name": "activeItemChange",
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"inheritedFrom": {
|
|
3767
|
+
"name": "Accordion",
|
|
3768
|
+
"module": "src/accordion/accordion.ts"
|
|
3769
|
+
}
|
|
3800
3770
|
},
|
|
3801
3771
|
{
|
|
3802
3772
|
"kind": "method",
|
|
3803
|
-
"name": "
|
|
3773
|
+
"name": "getItemIds",
|
|
3774
|
+
"privacy": "private",
|
|
3804
3775
|
"return": {
|
|
3805
3776
|
"type": {
|
|
3806
|
-
"text": "
|
|
3777
|
+
"text": "Array<string | null>"
|
|
3807
3778
|
}
|
|
3779
|
+
},
|
|
3780
|
+
"inheritedFrom": {
|
|
3781
|
+
"name": "Accordion",
|
|
3782
|
+
"module": "src/accordion/accordion.ts"
|
|
3808
3783
|
}
|
|
3809
3784
|
},
|
|
3810
3785
|
{
|
|
3811
3786
|
"kind": "method",
|
|
3812
|
-
"name": "
|
|
3787
|
+
"name": "isSingleExpandMode",
|
|
3813
3788
|
"privacy": "private",
|
|
3814
3789
|
"return": {
|
|
3815
3790
|
"type": {
|
|
3816
|
-
"text": "
|
|
3791
|
+
"text": "boolean"
|
|
3817
3792
|
}
|
|
3818
3793
|
},
|
|
3819
|
-
"
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
"text": "AIStatus | null"
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3826
|
-
]
|
|
3794
|
+
"inheritedFrom": {
|
|
3795
|
+
"name": "Accordion",
|
|
3796
|
+
"module": "src/accordion/accordion.ts"
|
|
3797
|
+
}
|
|
3827
3798
|
},
|
|
3828
3799
|
{
|
|
3829
|
-
"kind": "
|
|
3830
|
-
"name": "
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "handleItemKeyDown",
|
|
3831
3802
|
"privacy": "private",
|
|
3832
|
-
"
|
|
3833
|
-
"
|
|
3834
|
-
|
|
3835
|
-
}
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Accordion",
|
|
3805
|
+
"module": "src/accordion/accordion.ts"
|
|
3836
3806
|
}
|
|
3837
3807
|
},
|
|
3838
3808
|
{
|
|
3839
|
-
"kind": "
|
|
3840
|
-
"name": "
|
|
3809
|
+
"kind": "field",
|
|
3810
|
+
"name": "handleItemFocus",
|
|
3841
3811
|
"privacy": "private",
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
|
|
3845
|
-
}
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "Accordion",
|
|
3814
|
+
"module": "src/accordion/accordion.ts"
|
|
3846
3815
|
}
|
|
3847
3816
|
},
|
|
3848
3817
|
{
|
|
3849
3818
|
"kind": "method",
|
|
3850
|
-
"name": "
|
|
3819
|
+
"name": "adjust",
|
|
3851
3820
|
"privacy": "private",
|
|
3852
3821
|
"return": {
|
|
3853
3822
|
"type": {
|
|
3854
3823
|
"text": "void"
|
|
3855
3824
|
}
|
|
3825
|
+
},
|
|
3826
|
+
"parameters": [
|
|
3827
|
+
{
|
|
3828
|
+
"name": "adjustment",
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "number"
|
|
3831
|
+
}
|
|
3832
|
+
}
|
|
3833
|
+
],
|
|
3834
|
+
"inheritedFrom": {
|
|
3835
|
+
"name": "Accordion",
|
|
3836
|
+
"module": "src/accordion/accordion.ts"
|
|
3856
3837
|
}
|
|
3857
3838
|
},
|
|
3858
3839
|
{
|
|
3859
3840
|
"kind": "method",
|
|
3860
|
-
"name": "
|
|
3841
|
+
"name": "focusItem",
|
|
3842
|
+
"privacy": "private",
|
|
3861
3843
|
"return": {
|
|
3862
3844
|
"type": {
|
|
3863
|
-
"text": "
|
|
3845
|
+
"text": "void"
|
|
3864
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "Accordion",
|
|
3850
|
+
"module": "src/accordion/accordion.ts"
|
|
3865
3851
|
}
|
|
3866
3852
|
},
|
|
3867
3853
|
{
|
|
@@ -3976,88 +3962,102 @@
|
|
|
3976
3962
|
}
|
|
3977
3963
|
}
|
|
3978
3964
|
],
|
|
3979
|
-
"
|
|
3980
|
-
|
|
3981
|
-
|
|
3965
|
+
"events": [
|
|
3966
|
+
{
|
|
3967
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3968
|
+
"name": "change",
|
|
3969
|
+
"inheritedFrom": {
|
|
3970
|
+
"name": "Accordion",
|
|
3971
|
+
"module": "src/accordion/accordion.ts"
|
|
3972
|
+
}
|
|
3973
|
+
}
|
|
3974
|
+
]
|
|
3975
|
+
},
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "variable",
|
|
3978
|
+
"name": "foundationAccordionShadowOptions",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "ShadowRootInit"
|
|
3982
3981
|
},
|
|
3983
|
-
"
|
|
3984
|
-
"customElement": true
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3985
3983
|
},
|
|
3986
3984
|
{
|
|
3987
3985
|
"kind": "variable",
|
|
3988
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionConfig",
|
|
3987
|
+
"type": {
|
|
3988
|
+
"text": "object"
|
|
3989
|
+
},
|
|
3990
|
+
"default": "{}"
|
|
3991
|
+
},
|
|
3992
|
+
{
|
|
3993
|
+
"kind": "variable",
|
|
3994
|
+
"name": "foundationAccordion",
|
|
3995
|
+
"description": "The Foundation Accordion",
|
|
3996
|
+
"privacy": "public"
|
|
3989
3997
|
}
|
|
3990
3998
|
],
|
|
3991
3999
|
"exports": [
|
|
3992
4000
|
{
|
|
3993
4001
|
"kind": "js",
|
|
3994
|
-
"name": "
|
|
4002
|
+
"name": "Accordion",
|
|
3995
4003
|
"declaration": {
|
|
3996
|
-
"name": "
|
|
3997
|
-
"module": "src/
|
|
4004
|
+
"name": "Accordion",
|
|
4005
|
+
"module": "src/accordion/accordion.ts"
|
|
3998
4006
|
}
|
|
3999
4007
|
},
|
|
4000
4008
|
{
|
|
4001
4009
|
"kind": "js",
|
|
4002
|
-
"name": "
|
|
4003
|
-
"declaration": {
|
|
4004
|
-
"name": "foundationAiIndicator",
|
|
4005
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
4006
|
-
}
|
|
4007
|
-
}
|
|
4008
|
-
]
|
|
4009
|
-
},
|
|
4010
|
-
{
|
|
4011
|
-
"kind": "javascript-module",
|
|
4012
|
-
"path": "src/ai-indicator/index.ts",
|
|
4013
|
-
"declarations": [],
|
|
4014
|
-
"exports": [
|
|
4015
|
-
{
|
|
4016
|
-
"kind": "js",
|
|
4017
|
-
"name": "AiIndicator",
|
|
4010
|
+
"name": "foundationAccordionShadowOptions",
|
|
4018
4011
|
"declaration": {
|
|
4019
|
-
"name": "
|
|
4020
|
-
"module": "
|
|
4012
|
+
"name": "foundationAccordionShadowOptions",
|
|
4013
|
+
"module": "src/accordion/accordion.ts"
|
|
4021
4014
|
}
|
|
4022
4015
|
},
|
|
4023
4016
|
{
|
|
4024
4017
|
"kind": "js",
|
|
4025
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionConfig",
|
|
4026
4019
|
"declaration": {
|
|
4027
|
-
"name": "
|
|
4028
|
-
"module": "
|
|
4020
|
+
"name": "defaultAccordionConfig",
|
|
4021
|
+
"module": "src/accordion/accordion.ts"
|
|
4029
4022
|
}
|
|
4030
4023
|
},
|
|
4031
4024
|
{
|
|
4032
4025
|
"kind": "js",
|
|
4033
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordion",
|
|
4034
4027
|
"declaration": {
|
|
4035
|
-
"name": "
|
|
4036
|
-
"module": "
|
|
4028
|
+
"name": "foundationAccordion",
|
|
4029
|
+
"module": "src/accordion/accordion.ts"
|
|
4037
4030
|
}
|
|
4038
|
-
}
|
|
4031
|
+
}
|
|
4032
|
+
]
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "javascript-module",
|
|
4036
|
+
"path": "src/accordion/index.ts",
|
|
4037
|
+
"declarations": [],
|
|
4038
|
+
"exports": [
|
|
4039
4039
|
{
|
|
4040
4040
|
"kind": "js",
|
|
4041
|
-
"name": "
|
|
4041
|
+
"name": "*",
|
|
4042
4042
|
"declaration": {
|
|
4043
|
-
"name": "
|
|
4044
|
-
"
|
|
4043
|
+
"name": "*",
|
|
4044
|
+
"package": "./accordion.template"
|
|
4045
4045
|
}
|
|
4046
4046
|
},
|
|
4047
4047
|
{
|
|
4048
4048
|
"kind": "js",
|
|
4049
|
-
"name": "
|
|
4049
|
+
"name": "*",
|
|
4050
4050
|
"declaration": {
|
|
4051
|
-
"name": "
|
|
4052
|
-
"
|
|
4051
|
+
"name": "*",
|
|
4052
|
+
"package": "./accordion.styles"
|
|
4053
4053
|
}
|
|
4054
4054
|
},
|
|
4055
4055
|
{
|
|
4056
4056
|
"kind": "js",
|
|
4057
|
-
"name": "
|
|
4057
|
+
"name": "*",
|
|
4058
4058
|
"declaration": {
|
|
4059
|
-
"name": "
|
|
4060
|
-
"
|
|
4059
|
+
"name": "*",
|
|
4060
|
+
"package": "./accordion"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|