@genesislcap/foundation-ui 15.19.2 → 15.19.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 +786 -786
- package/dist/dts/react.d.ts +14 -14
- package/dist/react.cjs +17 -17
- package/dist/react.mjs +15 -15
- 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,60 +2447,119 @@
|
|
|
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/
|
|
2457
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2495
2458
|
"declarations": [
|
|
2496
2459
|
{
|
|
2497
2460
|
"kind": "function",
|
|
2498
|
-
"name": "
|
|
2461
|
+
"name": "formatValidationErrors",
|
|
2499
2462
|
"return": {
|
|
2500
2463
|
"type": {
|
|
2501
|
-
"text": "
|
|
2464
|
+
"text": "string"
|
|
2502
2465
|
}
|
|
2503
2466
|
},
|
|
2504
2467
|
"parameters": [
|
|
2505
2468
|
{
|
|
2506
|
-
"name": "
|
|
2469
|
+
"name": "errors",
|
|
2507
2470
|
"type": {
|
|
2508
|
-
"text": "
|
|
2471
|
+
"text": "ValidationError[]"
|
|
2509
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\")"
|
|
2510
2492
|
},
|
|
2511
2493
|
{
|
|
2512
|
-
"name": "
|
|
2494
|
+
"name": "body",
|
|
2513
2495
|
"type": {
|
|
2514
|
-
"text": "
|
|
2515
|
-
}
|
|
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\")"
|
|
2516
2506
|
}
|
|
2517
|
-
]
|
|
2507
|
+
],
|
|
2508
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2518
2509
|
}
|
|
2519
2510
|
],
|
|
2520
2511
|
"exports": [
|
|
2521
2512
|
{
|
|
2522
2513
|
"kind": "js",
|
|
2523
|
-
"name": "
|
|
2514
|
+
"name": "formatValidationErrors",
|
|
2524
2515
|
"declaration": {
|
|
2525
|
-
"name": "
|
|
2526
|
-
"module": "src/
|
|
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"
|
|
2527
2526
|
}
|
|
2528
2527
|
}
|
|
2529
2528
|
]
|
|
2530
2529
|
},
|
|
2531
2530
|
{
|
|
2532
2531
|
"kind": "javascript-module",
|
|
2533
|
-
"path": "src/
|
|
2532
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2534
2533
|
"declarations": [
|
|
2535
2534
|
{
|
|
2536
2535
|
"kind": "function",
|
|
2537
|
-
"name": "
|
|
2536
|
+
"name": "actionsMenuBaseStyles",
|
|
2538
2537
|
"return": {
|
|
2539
2538
|
"type": {
|
|
2540
|
-
"text": "
|
|
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"
|
|
2541
2563
|
}
|
|
2542
2564
|
},
|
|
2543
2565
|
"parameters": [
|
|
@@ -2559,238 +2581,281 @@
|
|
|
2559
2581
|
"exports": [
|
|
2560
2582
|
{
|
|
2561
2583
|
"kind": "js",
|
|
2562
|
-
"name": "
|
|
2584
|
+
"name": "actionsMenuBaseStyles",
|
|
2563
2585
|
"declaration": {
|
|
2564
|
-
"name": "
|
|
2565
|
-
"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"
|
|
2566
2596
|
}
|
|
2567
2597
|
}
|
|
2568
2598
|
]
|
|
2569
2599
|
},
|
|
2570
2600
|
{
|
|
2571
2601
|
"kind": "javascript-module",
|
|
2572
|
-
"path": "src/
|
|
2602
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2573
2603
|
"declarations": [
|
|
2574
2604
|
{
|
|
2575
|
-
"kind": "
|
|
2576
|
-
"
|
|
2577
|
-
"
|
|
2578
|
-
"superclass": {
|
|
2579
|
-
"name": "FASTAccordion",
|
|
2580
|
-
"package": "@microsoft/fast-foundation"
|
|
2581
|
-
},
|
|
2582
|
-
"tagName": "%%prefix%%-accordion",
|
|
2583
|
-
"customElement": true,
|
|
2584
|
-
"attributes": [
|
|
2605
|
+
"kind": "function",
|
|
2606
|
+
"name": "menuTemplate",
|
|
2607
|
+
"parameters": [
|
|
2585
2608
|
{
|
|
2586
|
-
"name": "
|
|
2609
|
+
"name": "prefix",
|
|
2587
2610
|
"type": {
|
|
2588
|
-
"text": "
|
|
2589
|
-
},
|
|
2590
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2591
|
-
"fieldName": "expandmode",
|
|
2592
|
-
"inheritedFrom": {
|
|
2593
|
-
"name": "Accordion",
|
|
2594
|
-
"module": "src/accordion/accordion.ts"
|
|
2611
|
+
"text": "string"
|
|
2595
2612
|
}
|
|
2596
2613
|
}
|
|
2597
|
-
]
|
|
2614
|
+
]
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"kind": "function",
|
|
2618
|
+
"name": "singleOptionTemplate",
|
|
2619
|
+
"parameters": [
|
|
2620
|
+
{
|
|
2621
|
+
"name": "prefix",
|
|
2622
|
+
"type": {
|
|
2623
|
+
"text": "string"
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"kind": "variable",
|
|
2630
|
+
"name": "foundationActionsMenuTemplate",
|
|
2631
|
+
"type": {
|
|
2632
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2633
|
+
},
|
|
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`"
|
|
2635
|
+
}
|
|
2636
|
+
],
|
|
2637
|
+
"exports": [
|
|
2638
|
+
{
|
|
2639
|
+
"kind": "js",
|
|
2640
|
+
"name": "menuTemplate",
|
|
2641
|
+
"declaration": {
|
|
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"
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
|
+
]
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "javascript-module",
|
|
2666
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2667
|
+
"declarations": [
|
|
2668
|
+
{
|
|
2669
|
+
"kind": "class",
|
|
2670
|
+
"description": "",
|
|
2671
|
+
"name": "ActionsMenu",
|
|
2598
2672
|
"members": [
|
|
2599
2673
|
{
|
|
2600
2674
|
"kind": "field",
|
|
2601
|
-
"name": "
|
|
2675
|
+
"name": "actions",
|
|
2602
2676
|
"type": {
|
|
2603
|
-
"text": "
|
|
2604
|
-
},
|
|
2605
|
-
"privacy": "public",
|
|
2606
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2607
|
-
"inheritedFrom": {
|
|
2608
|
-
"name": "Accordion",
|
|
2609
|
-
"module": "src/accordion/accordion.ts"
|
|
2677
|
+
"text": "ActionMenuItem[]"
|
|
2610
2678
|
}
|
|
2611
2679
|
},
|
|
2612
2680
|
{
|
|
2613
2681
|
"kind": "field",
|
|
2614
|
-
"name": "
|
|
2682
|
+
"name": "isVertical",
|
|
2615
2683
|
"type": {
|
|
2616
|
-
"text": "
|
|
2684
|
+
"text": "boolean"
|
|
2617
2685
|
},
|
|
2618
|
-
"
|
|
2619
|
-
"inheritedFrom": {
|
|
2620
|
-
"name": "Accordion",
|
|
2621
|
-
"module": "src/accordion/accordion.ts"
|
|
2622
|
-
}
|
|
2686
|
+
"default": "false"
|
|
2623
2687
|
},
|
|
2624
2688
|
{
|
|
2625
2689
|
"kind": "field",
|
|
2626
|
-
"name": "
|
|
2690
|
+
"name": "addDefaultActions",
|
|
2627
2691
|
"type": {
|
|
2628
|
-
"text": "
|
|
2692
|
+
"text": "boolean"
|
|
2629
2693
|
},
|
|
2630
|
-
"
|
|
2631
|
-
"default": "0",
|
|
2632
|
-
"inheritedFrom": {
|
|
2633
|
-
"name": "Accordion",
|
|
2634
|
-
"module": "src/accordion/accordion.ts"
|
|
2635
|
-
}
|
|
2694
|
+
"default": "true"
|
|
2636
2695
|
},
|
|
2637
2696
|
{
|
|
2638
2697
|
"kind": "field",
|
|
2639
|
-
"name": "
|
|
2698
|
+
"name": "autoCloseOnAction",
|
|
2640
2699
|
"type": {
|
|
2641
|
-
"text": "
|
|
2700
|
+
"text": "boolean"
|
|
2642
2701
|
},
|
|
2643
|
-
"
|
|
2644
|
-
"inheritedFrom": {
|
|
2645
|
-
"name": "Accordion",
|
|
2646
|
-
"module": "src/accordion/accordion.ts"
|
|
2647
|
-
}
|
|
2702
|
+
"default": "true"
|
|
2648
2703
|
},
|
|
2649
2704
|
{
|
|
2650
2705
|
"kind": "field",
|
|
2651
|
-
"name": "
|
|
2652
|
-
"
|
|
2653
|
-
|
|
2654
|
-
"name": "Accordion",
|
|
2655
|
-
"module": "src/accordion/accordion.ts"
|
|
2706
|
+
"name": "classNames",
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": "string"
|
|
2656
2709
|
}
|
|
2657
2710
|
},
|
|
2658
2711
|
{
|
|
2659
|
-
"kind": "
|
|
2660
|
-
"name": "
|
|
2661
|
-
"
|
|
2662
|
-
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "AccordionItem | null"
|
|
2665
|
-
}
|
|
2666
|
-
},
|
|
2667
|
-
"inheritedFrom": {
|
|
2668
|
-
"name": "Accordion",
|
|
2669
|
-
"module": "src/accordion/accordion.ts"
|
|
2712
|
+
"kind": "field",
|
|
2713
|
+
"name": "definition",
|
|
2714
|
+
"type": {
|
|
2715
|
+
"text": "any"
|
|
2670
2716
|
}
|
|
2671
2717
|
},
|
|
2672
2718
|
{
|
|
2673
2719
|
"kind": "field",
|
|
2674
|
-
"name": "
|
|
2675
|
-
"
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
}
|
|
2720
|
+
"name": "name",
|
|
2721
|
+
"type": {
|
|
2722
|
+
"text": "string"
|
|
2723
|
+
},
|
|
2724
|
+
"default": "'Actions'"
|
|
2680
2725
|
},
|
|
2681
2726
|
{
|
|
2682
|
-
"kind": "
|
|
2683
|
-
"name": "
|
|
2684
|
-
"
|
|
2685
|
-
|
|
2686
|
-
"type": {
|
|
2687
|
-
"text": "void"
|
|
2688
|
-
}
|
|
2727
|
+
"kind": "field",
|
|
2728
|
+
"name": "open",
|
|
2729
|
+
"type": {
|
|
2730
|
+
"text": "boolean"
|
|
2689
2731
|
},
|
|
2690
|
-
"
|
|
2691
|
-
"name": "Accordion",
|
|
2692
|
-
"module": "src/accordion/accordion.ts"
|
|
2693
|
-
}
|
|
2732
|
+
"default": "false"
|
|
2694
2733
|
},
|
|
2695
2734
|
{
|
|
2696
2735
|
"kind": "field",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"
|
|
2699
|
-
|
|
2700
|
-
"name": "Accordion",
|
|
2701
|
-
"module": "src/accordion/accordion.ts"
|
|
2736
|
+
"name": "buttonAppearance",
|
|
2737
|
+
"type": {
|
|
2738
|
+
"text": "string"
|
|
2702
2739
|
}
|
|
2703
2740
|
},
|
|
2704
2741
|
{
|
|
2705
2742
|
"kind": "field",
|
|
2706
|
-
"name": "
|
|
2707
|
-
"
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
}
|
|
2743
|
+
"name": "hideDisabled",
|
|
2744
|
+
"type": {
|
|
2745
|
+
"text": "boolean"
|
|
2746
|
+
},
|
|
2747
|
+
"default": "false"
|
|
2712
2748
|
},
|
|
2713
2749
|
{
|
|
2714
|
-
"kind": "
|
|
2715
|
-
"name": "
|
|
2716
|
-
"
|
|
2717
|
-
|
|
2718
|
-
"type": {
|
|
2719
|
-
"text": "Array<string | null>"
|
|
2720
|
-
}
|
|
2750
|
+
"kind": "field",
|
|
2751
|
+
"name": "hideMenuSingleOption",
|
|
2752
|
+
"type": {
|
|
2753
|
+
"text": "boolean"
|
|
2721
2754
|
},
|
|
2722
|
-
"
|
|
2723
|
-
"name": "Accordion",
|
|
2724
|
-
"module": "src/accordion/accordion.ts"
|
|
2725
|
-
}
|
|
2755
|
+
"default": "false"
|
|
2726
2756
|
},
|
|
2727
2757
|
{
|
|
2728
|
-
"kind": "
|
|
2729
|
-
"name": "
|
|
2730
|
-
"
|
|
2731
|
-
|
|
2732
|
-
"type": {
|
|
2733
|
-
"text": "boolean"
|
|
2734
|
-
}
|
|
2735
|
-
},
|
|
2736
|
-
"inheritedFrom": {
|
|
2737
|
-
"name": "Accordion",
|
|
2738
|
-
"module": "src/accordion/accordion.ts"
|
|
2758
|
+
"kind": "field",
|
|
2759
|
+
"name": "singleOption",
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "ActionMenuItem"
|
|
2739
2762
|
}
|
|
2740
2763
|
},
|
|
2741
2764
|
{
|
|
2742
2765
|
"kind": "field",
|
|
2743
|
-
"name": "
|
|
2744
|
-
"
|
|
2745
|
-
|
|
2746
|
-
"name": "Accordion",
|
|
2747
|
-
"module": "src/accordion/accordion.ts"
|
|
2766
|
+
"name": "actionsMenu",
|
|
2767
|
+
"type": {
|
|
2768
|
+
"text": "HTMLElement"
|
|
2748
2769
|
}
|
|
2749
2770
|
},
|
|
2750
2771
|
{
|
|
2751
2772
|
"kind": "field",
|
|
2752
|
-
"name": "
|
|
2753
|
-
"
|
|
2754
|
-
|
|
2755
|
-
"name": "Accordion",
|
|
2756
|
-
"module": "src/accordion/accordion.ts"
|
|
2773
|
+
"name": "actionsOpener",
|
|
2774
|
+
"type": {
|
|
2775
|
+
"text": "HTMLElement"
|
|
2757
2776
|
}
|
|
2758
2777
|
},
|
|
2759
2778
|
{
|
|
2760
2779
|
"kind": "method",
|
|
2761
|
-
"name": "
|
|
2762
|
-
"privacy": "private"
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2780
|
+
"name": "updateMenuPosition",
|
|
2781
|
+
"privacy": "private"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"kind": "method",
|
|
2785
|
+
"name": "definitionChanged",
|
|
2786
|
+
"privacy": "protected",
|
|
2787
|
+
"parameters": [
|
|
2788
|
+
{
|
|
2789
|
+
"name": "oldValue",
|
|
2790
|
+
"type": {
|
|
2791
|
+
"text": "any"
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"name": "newValue",
|
|
2796
|
+
"type": {
|
|
2797
|
+
"text": "any"
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
]
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
"kind": "method",
|
|
2804
|
+
"name": "openChanged",
|
|
2805
|
+
"privacy": "protected"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
"kind": "method",
|
|
2809
|
+
"name": "toggleActionsMenuVisibility"
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
"kind": "method",
|
|
2813
|
+
"name": "onActionMenuItemClick",
|
|
2814
|
+
"parameters": [
|
|
2815
|
+
{
|
|
2816
|
+
"name": "callback",
|
|
2817
|
+
"type": {
|
|
2818
|
+
"text": "(rowData) => void | any"
|
|
2819
|
+
}
|
|
2766
2820
|
}
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"kind": "field",
|
|
2825
|
+
"name": "allActions",
|
|
2826
|
+
"type": {
|
|
2827
|
+
"text": "ActionMenuItem[]"
|
|
2767
2828
|
},
|
|
2829
|
+
"readonly": true
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"kind": "field",
|
|
2833
|
+
"name": "rowData",
|
|
2834
|
+
"readonly": true
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"kind": "method",
|
|
2838
|
+
"name": "getLabel",
|
|
2768
2839
|
"parameters": [
|
|
2769
2840
|
{
|
|
2770
|
-
"name": "
|
|
2841
|
+
"name": "name",
|
|
2771
2842
|
"type": {
|
|
2772
|
-
"text": "
|
|
2843
|
+
"text": "string | ((rowData: any) => string)"
|
|
2773
2844
|
}
|
|
2774
2845
|
}
|
|
2775
|
-
]
|
|
2776
|
-
"inheritedFrom": {
|
|
2777
|
-
"name": "Accordion",
|
|
2778
|
-
"module": "src/accordion/accordion.ts"
|
|
2779
|
-
}
|
|
2846
|
+
]
|
|
2780
2847
|
},
|
|
2781
2848
|
{
|
|
2782
2849
|
"kind": "method",
|
|
2783
|
-
"name": "
|
|
2784
|
-
"
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
"
|
|
2850
|
+
"name": "getTemplate",
|
|
2851
|
+
"parameters": [
|
|
2852
|
+
{
|
|
2853
|
+
"name": "prefix",
|
|
2854
|
+
"type": {
|
|
2855
|
+
"text": "string"
|
|
2856
|
+
}
|
|
2788
2857
|
}
|
|
2789
|
-
|
|
2790
|
-
"inheritedFrom": {
|
|
2791
|
-
"name": "Accordion",
|
|
2792
|
-
"module": "src/accordion/accordion.ts"
|
|
2793
|
-
}
|
|
2858
|
+
]
|
|
2794
2859
|
},
|
|
2795
2860
|
{
|
|
2796
2861
|
"kind": "field",
|
|
@@ -2904,78 +2969,107 @@
|
|
|
2904
2969
|
}
|
|
2905
2970
|
}
|
|
2906
2971
|
],
|
|
2907
|
-
"
|
|
2972
|
+
"attributes": [
|
|
2908
2973
|
{
|
|
2909
|
-
"
|
|
2910
|
-
"
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2974
|
+
"name": "is-vertical",
|
|
2975
|
+
"type": {
|
|
2976
|
+
"text": "boolean"
|
|
2977
|
+
},
|
|
2978
|
+
"default": "false",
|
|
2979
|
+
"fieldName": "isVertical"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "add-default-actions",
|
|
2983
|
+
"type": {
|
|
2984
|
+
"text": "boolean"
|
|
2985
|
+
},
|
|
2986
|
+
"default": "true",
|
|
2987
|
+
"fieldName": "addDefaultActions"
|
|
2988
|
+
},
|
|
2989
|
+
{
|
|
2990
|
+
"name": "auto-close-on-action",
|
|
2991
|
+
"type": {
|
|
2992
|
+
"text": "boolean"
|
|
2993
|
+
},
|
|
2994
|
+
"default": "true",
|
|
2995
|
+
"fieldName": "autoCloseOnAction"
|
|
2996
|
+
},
|
|
2997
|
+
{
|
|
2998
|
+
"name": "name",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "string"
|
|
3001
|
+
},
|
|
3002
|
+
"default": "'Actions'",
|
|
3003
|
+
"fieldName": "name"
|
|
3004
|
+
},
|
|
3005
|
+
{
|
|
3006
|
+
"name": "open",
|
|
3007
|
+
"type": {
|
|
3008
|
+
"text": "boolean"
|
|
3009
|
+
},
|
|
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"
|
|
2915
3035
|
}
|
|
2916
|
-
]
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
"name": "foundationAccordionShadowOptions",
|
|
2921
|
-
"type": {
|
|
2922
|
-
"text": "ShadowRootInit"
|
|
2923
|
-
},
|
|
2924
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2925
|
-
},
|
|
2926
|
-
{
|
|
2927
|
-
"kind": "variable",
|
|
2928
|
-
"name": "defaultAccordionConfig",
|
|
2929
|
-
"type": {
|
|
2930
|
-
"text": "object"
|
|
3036
|
+
],
|
|
3037
|
+
"superclass": {
|
|
3038
|
+
"name": "FoundationElement",
|
|
3039
|
+
"package": "@microsoft/fast-foundation"
|
|
2931
3040
|
},
|
|
2932
|
-
"
|
|
3041
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
3042
|
+
"customElement": true
|
|
2933
3043
|
},
|
|
2934
3044
|
{
|
|
2935
3045
|
"kind": "variable",
|
|
2936
|
-
"name": "
|
|
2937
|
-
"description": "The Foundation
|
|
3046
|
+
"name": "foundationActionsMenu",
|
|
3047
|
+
"description": "The Foundation Actions Menu",
|
|
2938
3048
|
"privacy": "public"
|
|
2939
3049
|
}
|
|
2940
3050
|
],
|
|
2941
3051
|
"exports": [
|
|
2942
3052
|
{
|
|
2943
3053
|
"kind": "js",
|
|
2944
|
-
"name": "
|
|
3054
|
+
"name": "ActionsMenu",
|
|
2945
3055
|
"declaration": {
|
|
2946
|
-
"name": "
|
|
2947
|
-
"module": "src/
|
|
3056
|
+
"name": "ActionsMenu",
|
|
3057
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2948
3058
|
}
|
|
2949
3059
|
},
|
|
2950
3060
|
{
|
|
2951
3061
|
"kind": "js",
|
|
2952
|
-
"name": "
|
|
3062
|
+
"name": "foundationActionsMenu",
|
|
2953
3063
|
"declaration": {
|
|
2954
|
-
"name": "
|
|
2955
|
-
"module": "src/
|
|
2956
|
-
}
|
|
2957
|
-
},
|
|
2958
|
-
{
|
|
2959
|
-
"kind": "js",
|
|
2960
|
-
"name": "defaultAccordionConfig",
|
|
2961
|
-
"declaration": {
|
|
2962
|
-
"name": "defaultAccordionConfig",
|
|
2963
|
-
"module": "src/accordion/accordion.ts"
|
|
2964
|
-
}
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"kind": "js",
|
|
2968
|
-
"name": "foundationAccordion",
|
|
2969
|
-
"declaration": {
|
|
2970
|
-
"name": "foundationAccordion",
|
|
2971
|
-
"module": "src/accordion/accordion.ts"
|
|
3064
|
+
"name": "foundationActionsMenu",
|
|
3065
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2972
3066
|
}
|
|
2973
3067
|
}
|
|
2974
3068
|
]
|
|
2975
3069
|
},
|
|
2976
3070
|
{
|
|
2977
3071
|
"kind": "javascript-module",
|
|
2978
|
-
"path": "src/
|
|
3072
|
+
"path": "src/actions-menu/index.ts",
|
|
2979
3073
|
"declarations": [],
|
|
2980
3074
|
"exports": [
|
|
2981
3075
|
{
|
|
@@ -2983,7 +3077,7 @@
|
|
|
2983
3077
|
"name": "*",
|
|
2984
3078
|
"declaration": {
|
|
2985
3079
|
"name": "*",
|
|
2986
|
-
"package": "./
|
|
3080
|
+
"package": "./actions-menu.styles"
|
|
2987
3081
|
}
|
|
2988
3082
|
},
|
|
2989
3083
|
{
|
|
@@ -2991,7 +3085,7 @@
|
|
|
2991
3085
|
"name": "*",
|
|
2992
3086
|
"declaration": {
|
|
2993
3087
|
"name": "*",
|
|
2994
|
-
"package": "./
|
|
3088
|
+
"package": "./actions-menu.template"
|
|
2995
3089
|
}
|
|
2996
3090
|
},
|
|
2997
3091
|
{
|
|
@@ -2999,7 +3093,7 @@
|
|
|
2999
3093
|
"name": "*",
|
|
3000
3094
|
"declaration": {
|
|
3001
3095
|
"name": "*",
|
|
3002
|
-
"package": "./
|
|
3096
|
+
"package": "./actions-menu"
|
|
3003
3097
|
}
|
|
3004
3098
|
}
|
|
3005
3099
|
]
|
|
@@ -3455,208 +3549,275 @@
|
|
|
3455
3549
|
},
|
|
3456
3550
|
{
|
|
3457
3551
|
"kind": "javascript-module",
|
|
3458
|
-
"path": "src/
|
|
3552
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3459
3553
|
"declarations": [
|
|
3460
3554
|
{
|
|
3461
|
-
"kind": "
|
|
3462
|
-
"name": "
|
|
3463
|
-
"
|
|
3555
|
+
"kind": "function",
|
|
3556
|
+
"name": "foundationAccordionStyles",
|
|
3557
|
+
"return": {
|
|
3558
|
+
"type": {
|
|
3559
|
+
"text": "ElementStyles"
|
|
3560
|
+
}
|
|
3561
|
+
},
|
|
3562
|
+
"parameters": [
|
|
3563
|
+
{
|
|
3564
|
+
"name": "context",
|
|
3565
|
+
"type": {
|
|
3566
|
+
"text": "ElementDefinitionContext"
|
|
3567
|
+
}
|
|
3568
|
+
},
|
|
3569
|
+
{
|
|
3570
|
+
"name": "definition",
|
|
3571
|
+
"type": {
|
|
3572
|
+
"text": "FoundationElementDefinition"
|
|
3573
|
+
}
|
|
3574
|
+
}
|
|
3575
|
+
]
|
|
3464
3576
|
}
|
|
3465
3577
|
],
|
|
3466
3578
|
"exports": [
|
|
3467
3579
|
{
|
|
3468
3580
|
"kind": "js",
|
|
3469
|
-
"name": "
|
|
3581
|
+
"name": "foundationAccordionStyles",
|
|
3470
3582
|
"declaration": {
|
|
3471
|
-
"name": "
|
|
3472
|
-
"module": "src/
|
|
3583
|
+
"name": "foundationAccordionStyles",
|
|
3584
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3473
3585
|
}
|
|
3474
3586
|
}
|
|
3475
3587
|
]
|
|
3476
3588
|
},
|
|
3477
3589
|
{
|
|
3478
3590
|
"kind": "javascript-module",
|
|
3479
|
-
"path": "src/
|
|
3591
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3480
3592
|
"declarations": [
|
|
3481
3593
|
{
|
|
3482
|
-
"kind": "
|
|
3483
|
-
"name": "
|
|
3484
|
-
"
|
|
3485
|
-
"
|
|
3594
|
+
"kind": "function",
|
|
3595
|
+
"name": "foundationAccordionTemplate",
|
|
3596
|
+
"return": {
|
|
3597
|
+
"type": {
|
|
3598
|
+
"text": "ViewTemplate<Accordion>"
|
|
3599
|
+
}
|
|
3486
3600
|
},
|
|
3487
|
-
"
|
|
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
|
+
]
|
|
3488
3615
|
}
|
|
3489
3616
|
],
|
|
3490
3617
|
"exports": [
|
|
3491
3618
|
{
|
|
3492
3619
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3620
|
+
"name": "foundationAccordionTemplate",
|
|
3494
3621
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"module": "src/
|
|
3622
|
+
"name": "foundationAccordionTemplate",
|
|
3623
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3497
3624
|
}
|
|
3498
3625
|
}
|
|
3499
3626
|
]
|
|
3500
3627
|
},
|
|
3501
3628
|
{
|
|
3502
3629
|
"kind": "javascript-module",
|
|
3503
|
-
"path": "src/
|
|
3630
|
+
"path": "src/accordion/accordion.ts",
|
|
3504
3631
|
"declarations": [
|
|
3505
3632
|
{
|
|
3506
3633
|
"kind": "class",
|
|
3507
|
-
"description": "
|
|
3508
|
-
"name": "
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
},
|
|
3634
|
+
"description": "",
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"superclass": {
|
|
3637
|
+
"name": "FASTAccordion",
|
|
3638
|
+
"package": "@microsoft/fast-foundation"
|
|
3639
|
+
},
|
|
3640
|
+
"tagName": "%%prefix%%-accordion",
|
|
3641
|
+
"customElement": true,
|
|
3642
|
+
"attributes": [
|
|
3517
3643
|
{
|
|
3518
|
-
"
|
|
3519
|
-
"name": "placeholder",
|
|
3644
|
+
"name": "expand-mode",
|
|
3520
3645
|
"type": {
|
|
3521
|
-
"text": "
|
|
3646
|
+
"text": "AccordionExpandMode"
|
|
3522
3647
|
},
|
|
3523
|
-
"
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
"type": {
|
|
3529
|
-
"text": "boolean"
|
|
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"
|
|
3530
3653
|
}
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
"name": "inputValue",
|
|
3535
|
-
"type": {
|
|
3536
|
-
"text": "string"
|
|
3537
|
-
},
|
|
3538
|
-
"default": "''"
|
|
3539
|
-
},
|
|
3654
|
+
}
|
|
3655
|
+
],
|
|
3656
|
+
"members": [
|
|
3540
3657
|
{
|
|
3541
3658
|
"kind": "field",
|
|
3542
|
-
"name": "
|
|
3659
|
+
"name": "expandmode",
|
|
3543
3660
|
"type": {
|
|
3544
|
-
"text": "
|
|
3661
|
+
"text": "AccordionExpandMode"
|
|
3545
3662
|
},
|
|
3546
|
-
"
|
|
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
|
+
}
|
|
3547
3669
|
},
|
|
3548
3670
|
{
|
|
3549
3671
|
"kind": "field",
|
|
3550
|
-
"name": "
|
|
3672
|
+
"name": "activeid",
|
|
3551
3673
|
"type": {
|
|
3552
3674
|
"text": "string | null"
|
|
3553
3675
|
},
|
|
3554
|
-
"
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
"type": {
|
|
3560
|
-
"text": "CriteriaGroup[]"
|
|
3561
|
-
},
|
|
3562
|
-
"default": "[]"
|
|
3676
|
+
"privacy": "private",
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3680
|
+
}
|
|
3563
3681
|
},
|
|
3564
3682
|
{
|
|
3565
3683
|
"kind": "field",
|
|
3566
|
-
"name": "
|
|
3684
|
+
"name": "activeItemIndex",
|
|
3567
3685
|
"type": {
|
|
3568
|
-
"text": "
|
|
3686
|
+
"text": "number"
|
|
3569
3687
|
},
|
|
3570
|
-
"
|
|
3688
|
+
"privacy": "private",
|
|
3689
|
+
"default": "0",
|
|
3690
|
+
"inheritedFrom": {
|
|
3691
|
+
"name": "Accordion",
|
|
3692
|
+
"module": "src/accordion/accordion.ts"
|
|
3693
|
+
}
|
|
3571
3694
|
},
|
|
3572
3695
|
{
|
|
3573
3696
|
"kind": "field",
|
|
3574
|
-
"name": "
|
|
3697
|
+
"name": "accordionIds",
|
|
3575
3698
|
"type": {
|
|
3576
|
-
"text": "
|
|
3699
|
+
"text": "Array<string | null>"
|
|
3577
3700
|
},
|
|
3578
|
-
"
|
|
3701
|
+
"privacy": "private",
|
|
3702
|
+
"inheritedFrom": {
|
|
3703
|
+
"name": "Accordion",
|
|
3704
|
+
"module": "src/accordion/accordion.ts"
|
|
3705
|
+
}
|
|
3579
3706
|
},
|
|
3580
3707
|
{
|
|
3581
3708
|
"kind": "field",
|
|
3582
|
-
"name": "
|
|
3583
|
-
"
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3709
|
+
"name": "change",
|
|
3710
|
+
"privacy": "private",
|
|
3711
|
+
"inheritedFrom": {
|
|
3712
|
+
"name": "Accordion",
|
|
3713
|
+
"module": "src/accordion/accordion.ts"
|
|
3714
|
+
}
|
|
3587
3715
|
},
|
|
3588
3716
|
{
|
|
3589
|
-
"kind": "
|
|
3590
|
-
"name": "
|
|
3591
|
-
"
|
|
3592
|
-
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "findExpandedItem",
|
|
3719
|
+
"privacy": "private",
|
|
3720
|
+
"return": {
|
|
3721
|
+
"type": {
|
|
3722
|
+
"text": "AccordionItem | null"
|
|
3723
|
+
}
|
|
3593
3724
|
},
|
|
3594
|
-
"
|
|
3725
|
+
"inheritedFrom": {
|
|
3726
|
+
"name": "Accordion",
|
|
3727
|
+
"module": "src/accordion/accordion.ts"
|
|
3728
|
+
}
|
|
3595
3729
|
},
|
|
3596
3730
|
{
|
|
3597
3731
|
"kind": "field",
|
|
3598
|
-
"name": "
|
|
3599
|
-
"type": {
|
|
3600
|
-
"text": "(() => void) | null"
|
|
3601
|
-
},
|
|
3732
|
+
"name": "setItems",
|
|
3602
3733
|
"privacy": "private",
|
|
3603
|
-
"
|
|
3734
|
+
"inheritedFrom": {
|
|
3735
|
+
"name": "Accordion",
|
|
3736
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
|
+
}
|
|
3604
3738
|
},
|
|
3605
3739
|
{
|
|
3606
|
-
"kind": "
|
|
3607
|
-
"name": "
|
|
3608
|
-
"type": {
|
|
3609
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
3610
|
-
},
|
|
3740
|
+
"kind": "method",
|
|
3741
|
+
"name": "resetItems",
|
|
3611
3742
|
"privacy": "private",
|
|
3612
|
-
"
|
|
3743
|
+
"return": {
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "void"
|
|
3746
|
+
}
|
|
3747
|
+
},
|
|
3748
|
+
"inheritedFrom": {
|
|
3749
|
+
"name": "Accordion",
|
|
3750
|
+
"module": "src/accordion/accordion.ts"
|
|
3751
|
+
}
|
|
3613
3752
|
},
|
|
3614
3753
|
{
|
|
3615
3754
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3617
|
-
"
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3755
|
+
"name": "removeItemListeners",
|
|
3756
|
+
"privacy": "private",
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3760
|
+
}
|
|
3621
3761
|
},
|
|
3622
3762
|
{
|
|
3623
3763
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3625
|
-
"
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3764
|
+
"name": "activeItemChange",
|
|
3765
|
+
"privacy": "private",
|
|
3766
|
+
"inheritedFrom": {
|
|
3767
|
+
"name": "Accordion",
|
|
3768
|
+
"module": "src/accordion/accordion.ts"
|
|
3769
|
+
}
|
|
3629
3770
|
},
|
|
3630
3771
|
{
|
|
3631
3772
|
"kind": "method",
|
|
3632
|
-
"name": "
|
|
3773
|
+
"name": "getItemIds",
|
|
3633
3774
|
"privacy": "private",
|
|
3634
3775
|
"return": {
|
|
3635
3776
|
"type": {
|
|
3636
|
-
"text": "string"
|
|
3777
|
+
"text": "Array<string | null>"
|
|
3637
3778
|
}
|
|
3638
3779
|
},
|
|
3639
|
-
"
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
"text": "string"
|
|
3644
|
-
}
|
|
3645
|
-
}
|
|
3646
|
-
]
|
|
3780
|
+
"inheritedFrom": {
|
|
3781
|
+
"name": "Accordion",
|
|
3782
|
+
"module": "src/accordion/accordion.ts"
|
|
3783
|
+
}
|
|
3647
3784
|
},
|
|
3648
3785
|
{
|
|
3649
3786
|
"kind": "method",
|
|
3650
|
-
"name": "
|
|
3787
|
+
"name": "isSingleExpandMode",
|
|
3788
|
+
"privacy": "private",
|
|
3651
3789
|
"return": {
|
|
3652
3790
|
"type": {
|
|
3653
|
-
"text": "
|
|
3791
|
+
"text": "boolean"
|
|
3654
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
"inheritedFrom": {
|
|
3795
|
+
"name": "Accordion",
|
|
3796
|
+
"module": "src/accordion/accordion.ts"
|
|
3797
|
+
}
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "handleItemKeyDown",
|
|
3802
|
+
"privacy": "private",
|
|
3803
|
+
"inheritedFrom": {
|
|
3804
|
+
"name": "Accordion",
|
|
3805
|
+
"module": "src/accordion/accordion.ts"
|
|
3806
|
+
}
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
"kind": "field",
|
|
3810
|
+
"name": "handleItemFocus",
|
|
3811
|
+
"privacy": "private",
|
|
3812
|
+
"inheritedFrom": {
|
|
3813
|
+
"name": "Accordion",
|
|
3814
|
+
"module": "src/accordion/accordion.ts"
|
|
3655
3815
|
}
|
|
3656
3816
|
},
|
|
3657
3817
|
{
|
|
3658
3818
|
"kind": "method",
|
|
3659
|
-
"name": "
|
|
3819
|
+
"name": "adjust",
|
|
3820
|
+
"privacy": "private",
|
|
3660
3821
|
"return": {
|
|
3661
3822
|
"type": {
|
|
3662
3823
|
"text": "void"
|
|
@@ -3664,49 +3825,31 @@
|
|
|
3664
3825
|
},
|
|
3665
3826
|
"parameters": [
|
|
3666
3827
|
{
|
|
3667
|
-
"name": "
|
|
3668
|
-
"type": {
|
|
3669
|
-
"text": "number"
|
|
3670
|
-
}
|
|
3671
|
-
},
|
|
3672
|
-
{
|
|
3673
|
-
"name": "clauseIndex",
|
|
3828
|
+
"name": "adjustment",
|
|
3674
3829
|
"type": {
|
|
3675
3830
|
"text": "number"
|
|
3676
3831
|
}
|
|
3677
3832
|
}
|
|
3678
|
-
]
|
|
3833
|
+
],
|
|
3834
|
+
"inheritedFrom": {
|
|
3835
|
+
"name": "Accordion",
|
|
3836
|
+
"module": "src/accordion/accordion.ts"
|
|
3837
|
+
}
|
|
3679
3838
|
},
|
|
3680
3839
|
{
|
|
3681
3840
|
"kind": "method",
|
|
3682
|
-
"name": "
|
|
3841
|
+
"name": "focusItem",
|
|
3842
|
+
"privacy": "private",
|
|
3683
3843
|
"return": {
|
|
3684
3844
|
"type": {
|
|
3685
3845
|
"text": "void"
|
|
3686
3846
|
}
|
|
3847
|
+
},
|
|
3848
|
+
"inheritedFrom": {
|
|
3849
|
+
"name": "Accordion",
|
|
3850
|
+
"module": "src/accordion/accordion.ts"
|
|
3687
3851
|
}
|
|
3688
3852
|
},
|
|
3689
|
-
{
|
|
3690
|
-
"kind": "method",
|
|
3691
|
-
"name": "handleSubmit"
|
|
3692
|
-
},
|
|
3693
|
-
{
|
|
3694
|
-
"kind": "method",
|
|
3695
|
-
"name": "handleBlur"
|
|
3696
|
-
},
|
|
3697
|
-
{
|
|
3698
|
-
"kind": "method",
|
|
3699
|
-
"name": "clear"
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "method",
|
|
3703
|
-
"name": "toggleSpeechInput"
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"kind": "method",
|
|
3707
|
-
"name": "clearSpeechApplyDebounce",
|
|
3708
|
-
"privacy": "private"
|
|
3709
|
-
},
|
|
3710
3853
|
{
|
|
3711
3854
|
"kind": "field",
|
|
3712
3855
|
"name": "_presentation",
|
|
@@ -3821,48 +3964,26 @@
|
|
|
3821
3964
|
],
|
|
3822
3965
|
"events": [
|
|
3823
3966
|
{
|
|
3824
|
-
"description": "
|
|
3825
|
-
"name": "
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
}
|
|
3831
|
-
],
|
|
3832
|
-
"attributes": [
|
|
3833
|
-
{
|
|
3834
|
-
"name": "placeholder",
|
|
3835
|
-
"type": {
|
|
3836
|
-
"text": "string"
|
|
3837
|
-
},
|
|
3838
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3839
|
-
"fieldName": "placeholder"
|
|
3840
|
-
},
|
|
3841
|
-
{
|
|
3842
|
-
"type": {
|
|
3843
|
-
"text": "boolean"
|
|
3844
|
-
},
|
|
3845
|
-
"fieldName": "disabled"
|
|
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
|
+
}
|
|
3846
3973
|
}
|
|
3847
|
-
]
|
|
3848
|
-
"superclass": {
|
|
3849
|
-
"name": "FoundationElement",
|
|
3850
|
-
"package": "@microsoft/fast-foundation"
|
|
3851
|
-
},
|
|
3852
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3853
|
-
"customElement": true
|
|
3974
|
+
]
|
|
3854
3975
|
},
|
|
3855
3976
|
{
|
|
3856
3977
|
"kind": "variable",
|
|
3857
|
-
"name": "
|
|
3978
|
+
"name": "foundationAccordionShadowOptions",
|
|
3858
3979
|
"type": {
|
|
3859
3980
|
"text": "ShadowRootInit"
|
|
3860
3981
|
},
|
|
3861
|
-
"default": "
|
|
3982
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3862
3983
|
},
|
|
3863
3984
|
{
|
|
3864
3985
|
"kind": "variable",
|
|
3865
|
-
"name": "
|
|
3986
|
+
"name": "defaultAccordionConfig",
|
|
3866
3987
|
"type": {
|
|
3867
3988
|
"text": "object"
|
|
3868
3989
|
},
|
|
@@ -3870,103 +3991,57 @@
|
|
|
3870
3991
|
},
|
|
3871
3992
|
{
|
|
3872
3993
|
"kind": "variable",
|
|
3873
|
-
"name": "
|
|
3994
|
+
"name": "foundationAccordion",
|
|
3995
|
+
"description": "The Foundation Accordion",
|
|
3996
|
+
"privacy": "public"
|
|
3874
3997
|
}
|
|
3875
3998
|
],
|
|
3876
3999
|
"exports": [
|
|
3877
4000
|
{
|
|
3878
4001
|
"kind": "js",
|
|
3879
|
-
"name": "
|
|
4002
|
+
"name": "Accordion",
|
|
3880
4003
|
"declaration": {
|
|
3881
|
-
"name": "
|
|
3882
|
-
"module": "src/
|
|
4004
|
+
"name": "Accordion",
|
|
4005
|
+
"module": "src/accordion/accordion.ts"
|
|
3883
4006
|
}
|
|
3884
4007
|
},
|
|
3885
4008
|
{
|
|
3886
4009
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
4010
|
+
"name": "foundationAccordionShadowOptions",
|
|
3888
4011
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
4012
|
+
"name": "foundationAccordionShadowOptions",
|
|
4013
|
+
"module": "src/accordion/accordion.ts"
|
|
3891
4014
|
}
|
|
3892
4015
|
},
|
|
3893
4016
|
{
|
|
3894
4017
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
4018
|
+
"name": "defaultAccordionConfig",
|
|
3896
4019
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
4020
|
+
"name": "defaultAccordionConfig",
|
|
4021
|
+
"module": "src/accordion/accordion.ts"
|
|
3899
4022
|
}
|
|
3900
4023
|
},
|
|
3901
4024
|
{
|
|
3902
4025
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
4026
|
+
"name": "foundationAccordion",
|
|
3904
4027
|
"declaration": {
|
|
3905
|
-
"name": "
|
|
3906
|
-
"module": "src/
|
|
4028
|
+
"name": "foundationAccordion",
|
|
4029
|
+
"module": "src/accordion/accordion.ts"
|
|
3907
4030
|
}
|
|
3908
4031
|
}
|
|
3909
4032
|
]
|
|
3910
4033
|
},
|
|
3911
4034
|
{
|
|
3912
4035
|
"kind": "javascript-module",
|
|
3913
|
-
"path": "src/
|
|
4036
|
+
"path": "src/accordion/index.ts",
|
|
3914
4037
|
"declarations": [],
|
|
3915
4038
|
"exports": [
|
|
3916
|
-
{
|
|
3917
|
-
"kind": "js",
|
|
3918
|
-
"name": "AiCriteriaSearch",
|
|
3919
|
-
"declaration": {
|
|
3920
|
-
"name": "AiCriteriaSearch",
|
|
3921
|
-
"module": "./ai-criteria-search"
|
|
3922
|
-
}
|
|
3923
|
-
},
|
|
3924
|
-
{
|
|
3925
|
-
"kind": "js",
|
|
3926
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3927
|
-
"declaration": {
|
|
3928
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3929
|
-
"module": "./ai-criteria-search"
|
|
3930
|
-
}
|
|
3931
|
-
},
|
|
3932
|
-
{
|
|
3933
|
-
"kind": "js",
|
|
3934
|
-
"name": "foundationAiCriteriaSearch",
|
|
3935
|
-
"declaration": {
|
|
3936
|
-
"name": "foundationAiCriteriaSearch",
|
|
3937
|
-
"module": "./ai-criteria-search"
|
|
3938
|
-
}
|
|
3939
|
-
},
|
|
3940
|
-
{
|
|
3941
|
-
"kind": "js",
|
|
3942
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3943
|
-
"declaration": {
|
|
3944
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3945
|
-
"module": "./ai-criteria-search"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3948
|
-
{
|
|
3949
|
-
"kind": "js",
|
|
3950
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3951
|
-
"declaration": {
|
|
3952
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3953
|
-
"module": "./ai-criteria-search.styles"
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
|
-
{
|
|
3957
|
-
"kind": "js",
|
|
3958
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3959
|
-
"declaration": {
|
|
3960
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3961
|
-
"module": "./ai-criteria-search.template"
|
|
3962
|
-
}
|
|
3963
|
-
},
|
|
3964
4039
|
{
|
|
3965
4040
|
"kind": "js",
|
|
3966
4041
|
"name": "*",
|
|
3967
4042
|
"declaration": {
|
|
3968
4043
|
"name": "*",
|
|
3969
|
-
"package": "./
|
|
4044
|
+
"package": "./accordion.template"
|
|
3970
4045
|
}
|
|
3971
4046
|
},
|
|
3972
4047
|
{
|
|
@@ -3974,7 +4049,7 @@
|
|
|
3974
4049
|
"name": "*",
|
|
3975
4050
|
"declaration": {
|
|
3976
4051
|
"name": "*",
|
|
3977
|
-
"package": "./
|
|
4052
|
+
"package": "./accordion.styles"
|
|
3978
4053
|
}
|
|
3979
4054
|
},
|
|
3980
4055
|
{
|
|
@@ -3982,82 +4057,7 @@
|
|
|
3982
4057
|
"name": "*",
|
|
3983
4058
|
"declaration": {
|
|
3984
4059
|
"name": "*",
|
|
3985
|
-
"package": "./
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
]
|
|
3989
|
-
},
|
|
3990
|
-
{
|
|
3991
|
-
"kind": "javascript-module",
|
|
3992
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3993
|
-
"declarations": [
|
|
3994
|
-
{
|
|
3995
|
-
"kind": "function",
|
|
3996
|
-
"name": "formatValidationErrors",
|
|
3997
|
-
"return": {
|
|
3998
|
-
"type": {
|
|
3999
|
-
"text": "string"
|
|
4000
|
-
}
|
|
4001
|
-
},
|
|
4002
|
-
"parameters": [
|
|
4003
|
-
{
|
|
4004
|
-
"name": "errors",
|
|
4005
|
-
"type": {
|
|
4006
|
-
"text": "ValidationError[]"
|
|
4007
|
-
}
|
|
4008
|
-
}
|
|
4009
|
-
],
|
|
4010
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
4011
|
-
},
|
|
4012
|
-
{
|
|
4013
|
-
"kind": "function",
|
|
4014
|
-
"name": "showCriteriaError",
|
|
4015
|
-
"return": {
|
|
4016
|
-
"type": {
|
|
4017
|
-
"text": "void"
|
|
4018
|
-
}
|
|
4019
|
-
},
|
|
4020
|
-
"parameters": [
|
|
4021
|
-
{
|
|
4022
|
-
"name": "title",
|
|
4023
|
-
"type": {
|
|
4024
|
-
"text": "string"
|
|
4025
|
-
},
|
|
4026
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
4027
|
-
},
|
|
4028
|
-
{
|
|
4029
|
-
"name": "body",
|
|
4030
|
-
"type": {
|
|
4031
|
-
"text": "string"
|
|
4032
|
-
},
|
|
4033
|
-
"description": "Error message to display"
|
|
4034
|
-
},
|
|
4035
|
-
{
|
|
4036
|
-
"name": "tagName",
|
|
4037
|
-
"type": {
|
|
4038
|
-
"text": "string"
|
|
4039
|
-
},
|
|
4040
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
4041
|
-
}
|
|
4042
|
-
],
|
|
4043
|
-
"description": "Shows a criteria error as a toast notification."
|
|
4044
|
-
}
|
|
4045
|
-
],
|
|
4046
|
-
"exports": [
|
|
4047
|
-
{
|
|
4048
|
-
"kind": "js",
|
|
4049
|
-
"name": "formatValidationErrors",
|
|
4050
|
-
"declaration": {
|
|
4051
|
-
"name": "formatValidationErrors",
|
|
4052
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4053
|
-
}
|
|
4054
|
-
},
|
|
4055
|
-
{
|
|
4056
|
-
"kind": "js",
|
|
4057
|
-
"name": "showCriteriaError",
|
|
4058
|
-
"declaration": {
|
|
4059
|
-
"name": "showCriteriaError",
|
|
4060
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
4060
|
+
"package": "./accordion"
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
]
|