@genesislcap/foundation-ui 15.19.3 → 15.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +912 -912
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +10 -10
- package/package.json +18 -18
|
@@ -1493,37 +1493,6 @@
|
|
|
1493
1493
|
}
|
|
1494
1494
|
]
|
|
1495
1495
|
},
|
|
1496
|
-
{
|
|
1497
|
-
"kind": "javascript-module",
|
|
1498
|
-
"path": "src/_config/index.ts",
|
|
1499
|
-
"declarations": [],
|
|
1500
|
-
"exports": [
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "js",
|
|
1503
|
-
"name": "*",
|
|
1504
|
-
"declaration": {
|
|
1505
|
-
"name": "*",
|
|
1506
|
-
"package": "./styles"
|
|
1507
|
-
}
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"kind": "js",
|
|
1511
|
-
"name": "*",
|
|
1512
|
-
"declaration": {
|
|
1513
|
-
"name": "*",
|
|
1514
|
-
"package": "./tokens"
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"kind": "js",
|
|
1519
|
-
"name": "*",
|
|
1520
|
-
"declaration": {
|
|
1521
|
-
"name": "*",
|
|
1522
|
-
"package": "./values"
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
]
|
|
1526
|
-
},
|
|
1527
1496
|
{
|
|
1528
1497
|
"kind": "javascript-module",
|
|
1529
1498
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1920,115 +1889,203 @@
|
|
|
1920
1889
|
},
|
|
1921
1890
|
{
|
|
1922
1891
|
"kind": "javascript-module",
|
|
1923
|
-
"path": "src/
|
|
1892
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1924
1893
|
"declarations": [
|
|
1925
1894
|
{
|
|
1926
|
-
"kind": "
|
|
1927
|
-
"name": "
|
|
1928
|
-
"
|
|
1895
|
+
"kind": "function",
|
|
1896
|
+
"name": "actionsMenuBaseStyles",
|
|
1897
|
+
"return": {
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "ElementStyles"
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
"parameters": [
|
|
1903
|
+
{
|
|
1904
|
+
"name": "context",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "ElementDefinitionContext"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "definition",
|
|
1911
|
+
"type": {
|
|
1912
|
+
"text": "FoundationElementDefinition"
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
]
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"kind": "function",
|
|
1919
|
+
"name": "foundationActionsMenuStyles",
|
|
1920
|
+
"return": {
|
|
1921
|
+
"type": {
|
|
1922
|
+
"text": "ElementStyles"
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"parameters": [
|
|
1926
|
+
{
|
|
1927
|
+
"name": "context",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "ElementDefinitionContext"
|
|
1930
|
+
}
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
"name": "definition",
|
|
1934
|
+
"type": {
|
|
1935
|
+
"text": "FoundationElementDefinition"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
]
|
|
1929
1939
|
}
|
|
1930
1940
|
],
|
|
1931
1941
|
"exports": [
|
|
1932
1942
|
{
|
|
1933
1943
|
"kind": "js",
|
|
1934
|
-
"name": "
|
|
1944
|
+
"name": "actionsMenuBaseStyles",
|
|
1935
1945
|
"declaration": {
|
|
1936
|
-
"name": "
|
|
1937
|
-
"module": "src/
|
|
1946
|
+
"name": "actionsMenuBaseStyles",
|
|
1947
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1948
|
+
}
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "js",
|
|
1952
|
+
"name": "foundationActionsMenuStyles",
|
|
1953
|
+
"declaration": {
|
|
1954
|
+
"name": "foundationActionsMenuStyles",
|
|
1955
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1938
1956
|
}
|
|
1939
1957
|
}
|
|
1940
1958
|
]
|
|
1941
1959
|
},
|
|
1942
1960
|
{
|
|
1943
1961
|
"kind": "javascript-module",
|
|
1944
|
-
"path": "src/
|
|
1962
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1945
1963
|
"declarations": [
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "function",
|
|
1966
|
+
"name": "menuTemplate",
|
|
1967
|
+
"parameters": [
|
|
1968
|
+
{
|
|
1969
|
+
"name": "prefix",
|
|
1970
|
+
"type": {
|
|
1971
|
+
"text": "string"
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
]
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"kind": "function",
|
|
1978
|
+
"name": "singleOptionTemplate",
|
|
1979
|
+
"parameters": [
|
|
1980
|
+
{
|
|
1981
|
+
"name": "prefix",
|
|
1982
|
+
"type": {
|
|
1983
|
+
"text": "string"
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
]
|
|
1987
|
+
},
|
|
1946
1988
|
{
|
|
1947
1989
|
"kind": "variable",
|
|
1948
|
-
"name": "
|
|
1990
|
+
"name": "foundationActionsMenuTemplate",
|
|
1949
1991
|
"type": {
|
|
1950
|
-
"text": "ViewTemplate<
|
|
1992
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1951
1993
|
},
|
|
1952
|
-
"default": "html`\n ${(x) =>
|
|
1994
|
+
"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`"
|
|
1953
1995
|
}
|
|
1954
1996
|
],
|
|
1955
1997
|
"exports": [
|
|
1956
1998
|
{
|
|
1957
1999
|
"kind": "js",
|
|
1958
|
-
"name": "
|
|
2000
|
+
"name": "menuTemplate",
|
|
1959
2001
|
"declaration": {
|
|
1960
|
-
"name": "
|
|
1961
|
-
"module": "src/
|
|
2002
|
+
"name": "menuTemplate",
|
|
2003
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2004
|
+
}
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"kind": "js",
|
|
2008
|
+
"name": "singleOptionTemplate",
|
|
2009
|
+
"declaration": {
|
|
2010
|
+
"name": "singleOptionTemplate",
|
|
2011
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2012
|
+
}
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "js",
|
|
2016
|
+
"name": "foundationActionsMenuTemplate",
|
|
2017
|
+
"declaration": {
|
|
2018
|
+
"name": "foundationActionsMenuTemplate",
|
|
2019
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1962
2020
|
}
|
|
1963
2021
|
}
|
|
1964
2022
|
]
|
|
1965
2023
|
},
|
|
1966
2024
|
{
|
|
1967
2025
|
"kind": "javascript-module",
|
|
1968
|
-
"path": "src/
|
|
2026
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1969
2027
|
"declarations": [
|
|
1970
2028
|
{
|
|
1971
2029
|
"kind": "class",
|
|
1972
|
-
"description": "
|
|
1973
|
-
"name": "
|
|
2030
|
+
"description": "",
|
|
2031
|
+
"name": "ActionsMenu",
|
|
1974
2032
|
"members": [
|
|
1975
2033
|
{
|
|
1976
2034
|
"kind": "field",
|
|
1977
|
-
"name": "
|
|
2035
|
+
"name": "actions",
|
|
1978
2036
|
"type": {
|
|
1979
|
-
"text": "
|
|
2037
|
+
"text": "ActionMenuItem[]"
|
|
1980
2038
|
}
|
|
1981
2039
|
},
|
|
1982
2040
|
{
|
|
1983
2041
|
"kind": "field",
|
|
1984
|
-
"name": "
|
|
2042
|
+
"name": "isVertical",
|
|
1985
2043
|
"type": {
|
|
1986
|
-
"text": "
|
|
2044
|
+
"text": "boolean"
|
|
1987
2045
|
},
|
|
1988
|
-
"default": "
|
|
2046
|
+
"default": "false"
|
|
1989
2047
|
},
|
|
1990
2048
|
{
|
|
1991
2049
|
"kind": "field",
|
|
1992
|
-
"name": "
|
|
2050
|
+
"name": "addDefaultActions",
|
|
1993
2051
|
"type": {
|
|
1994
2052
|
"text": "boolean"
|
|
1995
|
-
}
|
|
2053
|
+
},
|
|
2054
|
+
"default": "true"
|
|
1996
2055
|
},
|
|
1997
2056
|
{
|
|
1998
2057
|
"kind": "field",
|
|
1999
|
-
"name": "
|
|
2058
|
+
"name": "autoCloseOnAction",
|
|
2000
2059
|
"type": {
|
|
2001
|
-
"text": "
|
|
2060
|
+
"text": "boolean"
|
|
2002
2061
|
},
|
|
2003
|
-
"default": "
|
|
2062
|
+
"default": "true"
|
|
2004
2063
|
},
|
|
2005
2064
|
{
|
|
2006
2065
|
"kind": "field",
|
|
2007
|
-
"name": "
|
|
2066
|
+
"name": "classNames",
|
|
2008
2067
|
"type": {
|
|
2009
|
-
"text": "
|
|
2010
|
-
}
|
|
2011
|
-
"default": "false"
|
|
2068
|
+
"text": "string"
|
|
2069
|
+
}
|
|
2012
2070
|
},
|
|
2013
2071
|
{
|
|
2014
2072
|
"kind": "field",
|
|
2015
|
-
"name": "
|
|
2073
|
+
"name": "definition",
|
|
2016
2074
|
"type": {
|
|
2017
|
-
"text": "
|
|
2018
|
-
}
|
|
2019
|
-
"default": "null"
|
|
2075
|
+
"text": "any"
|
|
2076
|
+
}
|
|
2020
2077
|
},
|
|
2021
2078
|
{
|
|
2022
2079
|
"kind": "field",
|
|
2023
|
-
"name": "
|
|
2080
|
+
"name": "name",
|
|
2024
2081
|
"type": {
|
|
2025
|
-
"text": "
|
|
2082
|
+
"text": "string"
|
|
2026
2083
|
},
|
|
2027
|
-
"default": "
|
|
2084
|
+
"default": "'Actions'"
|
|
2028
2085
|
},
|
|
2029
2086
|
{
|
|
2030
2087
|
"kind": "field",
|
|
2031
|
-
"name": "
|
|
2088
|
+
"name": "open",
|
|
2032
2089
|
"type": {
|
|
2033
2090
|
"text": "boolean"
|
|
2034
2091
|
},
|
|
@@ -2036,15 +2093,14 @@
|
|
|
2036
2093
|
},
|
|
2037
2094
|
{
|
|
2038
2095
|
"kind": "field",
|
|
2039
|
-
"name": "
|
|
2096
|
+
"name": "buttonAppearance",
|
|
2040
2097
|
"type": {
|
|
2041
|
-
"text": "
|
|
2042
|
-
}
|
|
2043
|
-
"default": "[]"
|
|
2098
|
+
"text": "string"
|
|
2099
|
+
}
|
|
2044
2100
|
},
|
|
2045
2101
|
{
|
|
2046
2102
|
"kind": "field",
|
|
2047
|
-
"name": "
|
|
2103
|
+
"name": "hideDisabled",
|
|
2048
2104
|
"type": {
|
|
2049
2105
|
"text": "boolean"
|
|
2050
2106
|
},
|
|
@@ -2052,125 +2108,114 @@
|
|
|
2052
2108
|
},
|
|
2053
2109
|
{
|
|
2054
2110
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
2056
|
-
"type": {
|
|
2057
|
-
"text": "HTMLTextAreaElement"
|
|
2058
|
-
},
|
|
2059
|
-
"privacy": "public"
|
|
2060
|
-
},
|
|
2061
|
-
{
|
|
2062
|
-
"kind": "field",
|
|
2063
|
-
"name": "stopRecording",
|
|
2111
|
+
"name": "hideMenuSingleOption",
|
|
2064
2112
|
"type": {
|
|
2065
|
-
"text": "
|
|
2113
|
+
"text": "boolean"
|
|
2066
2114
|
},
|
|
2067
|
-
"
|
|
2068
|
-
"default": "null"
|
|
2115
|
+
"default": "false"
|
|
2069
2116
|
},
|
|
2070
2117
|
{
|
|
2071
2118
|
"kind": "field",
|
|
2072
|
-
"name": "
|
|
2119
|
+
"name": "singleOption",
|
|
2073
2120
|
"type": {
|
|
2074
|
-
"text": "
|
|
2075
|
-
}
|
|
2076
|
-
"privacy": "private",
|
|
2077
|
-
"default": "null"
|
|
2121
|
+
"text": "ActionMenuItem"
|
|
2122
|
+
}
|
|
2078
2123
|
},
|
|
2079
2124
|
{
|
|
2080
2125
|
"kind": "field",
|
|
2081
|
-
"name": "
|
|
2126
|
+
"name": "actionsMenu",
|
|
2082
2127
|
"type": {
|
|
2083
|
-
"text": "
|
|
2084
|
-
}
|
|
2085
|
-
"readonly": true
|
|
2128
|
+
"text": "HTMLElement"
|
|
2129
|
+
}
|
|
2086
2130
|
},
|
|
2087
2131
|
{
|
|
2088
2132
|
"kind": "field",
|
|
2089
|
-
"name": "
|
|
2133
|
+
"name": "actionsOpener",
|
|
2090
2134
|
"type": {
|
|
2091
|
-
"text": "
|
|
2092
|
-
}
|
|
2093
|
-
"readonly": true
|
|
2094
|
-
},
|
|
2095
|
-
{
|
|
2096
|
-
"kind": "method",
|
|
2097
|
-
"name": "getFieldLabel",
|
|
2098
|
-
"privacy": "private",
|
|
2099
|
-
"return": {
|
|
2100
|
-
"type": {
|
|
2101
|
-
"text": "string"
|
|
2102
|
-
}
|
|
2103
|
-
},
|
|
2104
|
-
"parameters": [
|
|
2105
|
-
{
|
|
2106
|
-
"name": "fieldName",
|
|
2107
|
-
"type": {
|
|
2108
|
-
"text": "string"
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
]
|
|
2135
|
+
"text": "HTMLElement"
|
|
2136
|
+
}
|
|
2112
2137
|
},
|
|
2113
2138
|
{
|
|
2114
2139
|
"kind": "method",
|
|
2115
|
-
"name": "
|
|
2116
|
-
"
|
|
2117
|
-
"type": {
|
|
2118
|
-
"text": "void"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2140
|
+
"name": "updateMenuPosition",
|
|
2141
|
+
"privacy": "private"
|
|
2121
2142
|
},
|
|
2122
2143
|
{
|
|
2123
2144
|
"kind": "method",
|
|
2124
|
-
"name": "
|
|
2125
|
-
"
|
|
2126
|
-
"type": {
|
|
2127
|
-
"text": "void"
|
|
2128
|
-
}
|
|
2129
|
-
},
|
|
2145
|
+
"name": "definitionChanged",
|
|
2146
|
+
"privacy": "protected",
|
|
2130
2147
|
"parameters": [
|
|
2131
2148
|
{
|
|
2132
|
-
"name": "
|
|
2149
|
+
"name": "oldValue",
|
|
2133
2150
|
"type": {
|
|
2134
|
-
"text": "
|
|
2151
|
+
"text": "any"
|
|
2135
2152
|
}
|
|
2136
2153
|
},
|
|
2137
2154
|
{
|
|
2138
|
-
"name": "
|
|
2155
|
+
"name": "newValue",
|
|
2139
2156
|
"type": {
|
|
2140
|
-
"text": "
|
|
2157
|
+
"text": "any"
|
|
2141
2158
|
}
|
|
2142
2159
|
}
|
|
2143
2160
|
]
|
|
2144
2161
|
},
|
|
2145
2162
|
{
|
|
2146
2163
|
"kind": "method",
|
|
2147
|
-
"name": "
|
|
2148
|
-
"
|
|
2149
|
-
"type": {
|
|
2150
|
-
"text": "void"
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2164
|
+
"name": "openChanged",
|
|
2165
|
+
"privacy": "protected"
|
|
2153
2166
|
},
|
|
2154
2167
|
{
|
|
2155
2168
|
"kind": "method",
|
|
2156
|
-
"name": "
|
|
2169
|
+
"name": "toggleActionsMenuVisibility"
|
|
2157
2170
|
},
|
|
2158
2171
|
{
|
|
2159
2172
|
"kind": "method",
|
|
2160
|
-
"name": "
|
|
2173
|
+
"name": "onActionMenuItemClick",
|
|
2174
|
+
"parameters": [
|
|
2175
|
+
{
|
|
2176
|
+
"name": "callback",
|
|
2177
|
+
"type": {
|
|
2178
|
+
"text": "(rowData) => void | any"
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
]
|
|
2161
2182
|
},
|
|
2162
2183
|
{
|
|
2163
|
-
"kind": "
|
|
2164
|
-
"name": "
|
|
2184
|
+
"kind": "field",
|
|
2185
|
+
"name": "allActions",
|
|
2186
|
+
"type": {
|
|
2187
|
+
"text": "ActionMenuItem[]"
|
|
2188
|
+
},
|
|
2189
|
+
"readonly": true
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
"kind": "field",
|
|
2193
|
+
"name": "rowData",
|
|
2194
|
+
"readonly": true
|
|
2165
2195
|
},
|
|
2166
2196
|
{
|
|
2167
2197
|
"kind": "method",
|
|
2168
|
-
"name": "
|
|
2198
|
+
"name": "getLabel",
|
|
2199
|
+
"parameters": [
|
|
2200
|
+
{
|
|
2201
|
+
"name": "name",
|
|
2202
|
+
"type": {
|
|
2203
|
+
"text": "string | ((rowData: any) => string)"
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
]
|
|
2169
2207
|
},
|
|
2170
2208
|
{
|
|
2171
2209
|
"kind": "method",
|
|
2172
|
-
"name": "
|
|
2173
|
-
"
|
|
2210
|
+
"name": "getTemplate",
|
|
2211
|
+
"parameters": [
|
|
2212
|
+
{
|
|
2213
|
+
"name": "prefix",
|
|
2214
|
+
"type": {
|
|
2215
|
+
"text": "string"
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
]
|
|
2174
2219
|
},
|
|
2175
2220
|
{
|
|
2176
2221
|
"kind": "field",
|
|
@@ -2284,154 +2329,115 @@
|
|
|
2284
2329
|
}
|
|
2285
2330
|
}
|
|
2286
2331
|
],
|
|
2287
|
-
"
|
|
2332
|
+
"attributes": [
|
|
2288
2333
|
{
|
|
2289
|
-
"
|
|
2290
|
-
"
|
|
2334
|
+
"name": "is-vertical",
|
|
2335
|
+
"type": {
|
|
2336
|
+
"text": "boolean"
|
|
2337
|
+
},
|
|
2338
|
+
"default": "false",
|
|
2339
|
+
"fieldName": "isVertical"
|
|
2291
2340
|
},
|
|
2292
2341
|
{
|
|
2293
|
-
"
|
|
2294
|
-
"
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2342
|
+
"name": "add-default-actions",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "boolean"
|
|
2345
|
+
},
|
|
2346
|
+
"default": "true",
|
|
2347
|
+
"fieldName": "addDefaultActions"
|
|
2348
|
+
},
|
|
2298
2349
|
{
|
|
2299
|
-
"name": "
|
|
2350
|
+
"name": "auto-close-on-action",
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "boolean"
|
|
2353
|
+
},
|
|
2354
|
+
"default": "true",
|
|
2355
|
+
"fieldName": "autoCloseOnAction"
|
|
2356
|
+
},
|
|
2357
|
+
{
|
|
2358
|
+
"name": "name",
|
|
2300
2359
|
"type": {
|
|
2301
2360
|
"text": "string"
|
|
2302
2361
|
},
|
|
2303
|
-
"default": "'
|
|
2304
|
-
"fieldName": "
|
|
2362
|
+
"default": "'Actions'",
|
|
2363
|
+
"fieldName": "name"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
"name": "open",
|
|
2367
|
+
"type": {
|
|
2368
|
+
"text": "boolean"
|
|
2369
|
+
},
|
|
2370
|
+
"default": "false",
|
|
2371
|
+
"fieldName": "open"
|
|
2305
2372
|
},
|
|
2306
2373
|
{
|
|
2374
|
+
"name": "buttonAppearance",
|
|
2375
|
+
"type": {
|
|
2376
|
+
"text": "string"
|
|
2377
|
+
},
|
|
2378
|
+
"fieldName": "buttonAppearance"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"name": "hide-disabled",
|
|
2307
2382
|
"type": {
|
|
2308
2383
|
"text": "boolean"
|
|
2309
2384
|
},
|
|
2310
|
-
"
|
|
2385
|
+
"default": "false",
|
|
2386
|
+
"fieldName": "hideDisabled"
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"name": "hide-menu-single-option",
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "boolean"
|
|
2392
|
+
},
|
|
2393
|
+
"default": "false",
|
|
2394
|
+
"fieldName": "hideMenuSingleOption"
|
|
2311
2395
|
}
|
|
2312
2396
|
],
|
|
2313
2397
|
"superclass": {
|
|
2314
2398
|
"name": "FoundationElement",
|
|
2315
2399
|
"package": "@microsoft/fast-foundation"
|
|
2316
2400
|
},
|
|
2317
|
-
"tagName": "%%prefix%%-
|
|
2401
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2318
2402
|
"customElement": true
|
|
2319
2403
|
},
|
|
2320
2404
|
{
|
|
2321
2405
|
"kind": "variable",
|
|
2322
|
-
"name": "
|
|
2323
|
-
"
|
|
2324
|
-
|
|
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"
|
|
2406
|
+
"name": "foundationActionsMenu",
|
|
2407
|
+
"description": "The Foundation Actions Menu",
|
|
2408
|
+
"privacy": "public"
|
|
2339
2409
|
}
|
|
2340
2410
|
],
|
|
2341
2411
|
"exports": [
|
|
2342
2412
|
{
|
|
2343
2413
|
"kind": "js",
|
|
2344
|
-
"name": "
|
|
2345
|
-
"declaration": {
|
|
2346
|
-
"name": "AiCriteriaSearch",
|
|
2347
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2348
|
-
}
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
"kind": "js",
|
|
2352
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2353
|
-
"declaration": {
|
|
2354
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2355
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2356
|
-
}
|
|
2357
|
-
},
|
|
2358
|
-
{
|
|
2359
|
-
"kind": "js",
|
|
2360
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2414
|
+
"name": "ActionsMenu",
|
|
2361
2415
|
"declaration": {
|
|
2362
|
-
"name": "
|
|
2363
|
-
"module": "src/
|
|
2416
|
+
"name": "ActionsMenu",
|
|
2417
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2364
2418
|
}
|
|
2365
2419
|
},
|
|
2366
2420
|
{
|
|
2367
2421
|
"kind": "js",
|
|
2368
|
-
"name": "
|
|
2422
|
+
"name": "foundationActionsMenu",
|
|
2369
2423
|
"declaration": {
|
|
2370
|
-
"name": "
|
|
2371
|
-
"module": "src/
|
|
2424
|
+
"name": "foundationActionsMenu",
|
|
2425
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2372
2426
|
}
|
|
2373
2427
|
}
|
|
2374
2428
|
]
|
|
2375
2429
|
},
|
|
2376
2430
|
{
|
|
2377
2431
|
"kind": "javascript-module",
|
|
2378
|
-
"path": "src/
|
|
2432
|
+
"path": "src/actions-menu/index.ts",
|
|
2379
2433
|
"declarations": [],
|
|
2380
2434
|
"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
|
-
},
|
|
2429
2435
|
{
|
|
2430
2436
|
"kind": "js",
|
|
2431
2437
|
"name": "*",
|
|
2432
2438
|
"declaration": {
|
|
2433
2439
|
"name": "*",
|
|
2434
|
-
"package": "./
|
|
2440
|
+
"package": "./actions-menu.styles"
|
|
2435
2441
|
}
|
|
2436
2442
|
},
|
|
2437
2443
|
{
|
|
@@ -2439,7 +2445,7 @@
|
|
|
2439
2445
|
"name": "*",
|
|
2440
2446
|
"declaration": {
|
|
2441
2447
|
"name": "*",
|
|
2442
|
-
"package": "./
|
|
2448
|
+
"package": "./actions-menu.template"
|
|
2443
2449
|
}
|
|
2444
2450
|
},
|
|
2445
2451
|
{
|
|
@@ -2447,116 +2453,18 @@
|
|
|
2447
2453
|
"name": "*",
|
|
2448
2454
|
"declaration": {
|
|
2449
2455
|
"name": "*",
|
|
2450
|
-
"package": "./
|
|
2451
|
-
}
|
|
2452
|
-
}
|
|
2453
|
-
]
|
|
2454
|
-
},
|
|
2455
|
-
{
|
|
2456
|
-
"kind": "javascript-module",
|
|
2457
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2458
|
-
"declarations": [
|
|
2459
|
-
{
|
|
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"
|
|
2456
|
+
"package": "./actions-menu"
|
|
2526
2457
|
}
|
|
2527
2458
|
}
|
|
2528
2459
|
]
|
|
2529
2460
|
},
|
|
2530
2461
|
{
|
|
2531
2462
|
"kind": "javascript-module",
|
|
2532
|
-
"path": "src/
|
|
2463
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2533
2464
|
"declarations": [
|
|
2534
2465
|
{
|
|
2535
2466
|
"kind": "function",
|
|
2536
|
-
"name": "
|
|
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",
|
|
2467
|
+
"name": "foundationAiIndicatorStyles",
|
|
2560
2468
|
"return": {
|
|
2561
2469
|
"type": {
|
|
2562
2470
|
"text": "ElementStyles"
|
|
@@ -2581,151 +2489,91 @@
|
|
|
2581
2489
|
"exports": [
|
|
2582
2490
|
{
|
|
2583
2491
|
"kind": "js",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"declaration": {
|
|
2586
|
-
"name": "actionsMenuBaseStyles",
|
|
2587
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"kind": "js",
|
|
2592
|
-
"name": "foundationActionsMenuStyles",
|
|
2492
|
+
"name": "foundationAiIndicatorStyles",
|
|
2593
2493
|
"declaration": {
|
|
2594
|
-
"name": "
|
|
2595
|
-
"module": "src/
|
|
2494
|
+
"name": "foundationAiIndicatorStyles",
|
|
2495
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2596
2496
|
}
|
|
2597
2497
|
}
|
|
2598
2498
|
]
|
|
2599
2499
|
},
|
|
2600
2500
|
{
|
|
2601
2501
|
"kind": "javascript-module",
|
|
2602
|
-
"path": "src/
|
|
2502
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2603
2503
|
"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
|
-
},
|
|
2628
2504
|
{
|
|
2629
2505
|
"kind": "variable",
|
|
2630
|
-
"name": "
|
|
2506
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2631
2507
|
"type": {
|
|
2632
|
-
"text": "ViewTemplate<
|
|
2508
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2633
2509
|
},
|
|
2634
|
-
"default": "html`\n
|
|
2510
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2635
2511
|
}
|
|
2636
2512
|
],
|
|
2637
2513
|
"exports": [
|
|
2638
2514
|
{
|
|
2639
2515
|
"kind": "js",
|
|
2640
|
-
"name": "
|
|
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",
|
|
2516
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2657
2517
|
"declaration": {
|
|
2658
|
-
"name": "
|
|
2659
|
-
"module": "src/
|
|
2518
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2519
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2660
2520
|
}
|
|
2661
2521
|
}
|
|
2662
2522
|
]
|
|
2663
2523
|
},
|
|
2664
2524
|
{
|
|
2665
2525
|
"kind": "javascript-module",
|
|
2666
|
-
"path": "src/
|
|
2526
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2667
2527
|
"declarations": [
|
|
2668
2528
|
{
|
|
2669
2529
|
"kind": "class",
|
|
2670
2530
|
"description": "",
|
|
2671
|
-
"name": "
|
|
2531
|
+
"name": "AiIndicator",
|
|
2672
2532
|
"members": [
|
|
2673
2533
|
{
|
|
2674
2534
|
"kind": "field",
|
|
2675
|
-
"name": "
|
|
2535
|
+
"name": "providerRegistry",
|
|
2676
2536
|
"type": {
|
|
2677
|
-
"text": "
|
|
2537
|
+
"text": "AIProviderRegistry"
|
|
2678
2538
|
}
|
|
2679
2539
|
},
|
|
2680
2540
|
{
|
|
2681
2541
|
"kind": "field",
|
|
2682
|
-
"name": "
|
|
2542
|
+
"name": "aiProvider",
|
|
2683
2543
|
"type": {
|
|
2684
|
-
"text": "
|
|
2544
|
+
"text": "AIProvider | undefined"
|
|
2685
2545
|
},
|
|
2686
|
-
"
|
|
2546
|
+
"privacy": "private",
|
|
2547
|
+
"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.",
|
|
2548
|
+
"readonly": true
|
|
2687
2549
|
},
|
|
2688
2550
|
{
|
|
2689
2551
|
"kind": "field",
|
|
2690
|
-
"name": "
|
|
2552
|
+
"name": "status",
|
|
2691
2553
|
"type": {
|
|
2692
|
-
"text": "
|
|
2554
|
+
"text": "AIStatus | null"
|
|
2693
2555
|
},
|
|
2694
|
-
"default": "
|
|
2556
|
+
"default": "null"
|
|
2695
2557
|
},
|
|
2696
2558
|
{
|
|
2697
2559
|
"kind": "field",
|
|
2698
|
-
"name": "
|
|
2560
|
+
"name": "open",
|
|
2699
2561
|
"type": {
|
|
2700
2562
|
"text": "boolean"
|
|
2701
2563
|
},
|
|
2702
|
-
"default": "
|
|
2703
|
-
},
|
|
2704
|
-
{
|
|
2705
|
-
"kind": "field",
|
|
2706
|
-
"name": "classNames",
|
|
2707
|
-
"type": {
|
|
2708
|
-
"text": "string"
|
|
2709
|
-
}
|
|
2710
|
-
},
|
|
2711
|
-
{
|
|
2712
|
-
"kind": "field",
|
|
2713
|
-
"name": "definition",
|
|
2714
|
-
"type": {
|
|
2715
|
-
"text": "any"
|
|
2716
|
-
}
|
|
2564
|
+
"default": "false"
|
|
2717
2565
|
},
|
|
2718
2566
|
{
|
|
2719
2567
|
"kind": "field",
|
|
2720
|
-
"name": "
|
|
2568
|
+
"name": "state",
|
|
2721
2569
|
"type": {
|
|
2722
|
-
"text": "
|
|
2570
|
+
"text": "AIIndicatorState"
|
|
2723
2571
|
},
|
|
2724
|
-
"default": "'
|
|
2572
|
+
"default": "'none'"
|
|
2725
2573
|
},
|
|
2726
2574
|
{
|
|
2727
2575
|
"kind": "field",
|
|
2728
|
-
"name": "
|
|
2576
|
+
"name": "isInstalling",
|
|
2729
2577
|
"type": {
|
|
2730
2578
|
"text": "boolean"
|
|
2731
2579
|
},
|
|
@@ -2733,129 +2581,133 @@
|
|
|
2733
2581
|
},
|
|
2734
2582
|
{
|
|
2735
2583
|
"kind": "field",
|
|
2736
|
-
"name": "
|
|
2737
|
-
"type": {
|
|
2738
|
-
"text": "string"
|
|
2739
|
-
}
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "field",
|
|
2743
|
-
"name": "hideDisabled",
|
|
2584
|
+
"name": "pollTimer",
|
|
2744
2585
|
"type": {
|
|
2745
|
-
"text": "
|
|
2586
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
2746
2587
|
},
|
|
2747
|
-
"
|
|
2588
|
+
"privacy": "private",
|
|
2589
|
+
"default": "null"
|
|
2748
2590
|
},
|
|
2749
2591
|
{
|
|
2750
2592
|
"kind": "field",
|
|
2751
|
-
"name": "
|
|
2752
|
-
"
|
|
2753
|
-
"text": "boolean"
|
|
2754
|
-
},
|
|
2755
|
-
"default": "false"
|
|
2593
|
+
"name": "clickOutside",
|
|
2594
|
+
"privacy": "private"
|
|
2756
2595
|
},
|
|
2757
2596
|
{
|
|
2758
2597
|
"kind": "field",
|
|
2759
|
-
"name": "
|
|
2598
|
+
"name": "chromeStatusLabel",
|
|
2760
2599
|
"type": {
|
|
2761
|
-
"text": "
|
|
2762
|
-
}
|
|
2600
|
+
"text": "string | null"
|
|
2601
|
+
},
|
|
2602
|
+
"readonly": true
|
|
2763
2603
|
},
|
|
2764
2604
|
{
|
|
2765
2605
|
"kind": "field",
|
|
2766
|
-
"name": "
|
|
2606
|
+
"name": "canInstall",
|
|
2767
2607
|
"type": {
|
|
2768
|
-
"text": "
|
|
2769
|
-
}
|
|
2608
|
+
"text": "boolean"
|
|
2609
|
+
},
|
|
2610
|
+
"readonly": true
|
|
2770
2611
|
},
|
|
2771
2612
|
{
|
|
2772
2613
|
"kind": "field",
|
|
2773
|
-
"name": "
|
|
2614
|
+
"name": "isDownloading",
|
|
2774
2615
|
"type": {
|
|
2775
|
-
"text": "
|
|
2776
|
-
}
|
|
2616
|
+
"text": "boolean"
|
|
2617
|
+
},
|
|
2618
|
+
"readonly": true
|
|
2777
2619
|
},
|
|
2778
2620
|
{
|
|
2779
2621
|
"kind": "method",
|
|
2780
|
-
"name": "
|
|
2781
|
-
"
|
|
2622
|
+
"name": "openChanged",
|
|
2623
|
+
"return": {
|
|
2624
|
+
"type": {
|
|
2625
|
+
"text": "void"
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2782
2628
|
},
|
|
2783
2629
|
{
|
|
2784
2630
|
"kind": "method",
|
|
2785
|
-
"name": "
|
|
2786
|
-
"privacy": "
|
|
2631
|
+
"name": "handleClickOutside",
|
|
2632
|
+
"privacy": "private",
|
|
2787
2633
|
"parameters": [
|
|
2788
2634
|
{
|
|
2789
|
-
"name": "
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "any"
|
|
2792
|
-
}
|
|
2793
|
-
},
|
|
2794
|
-
{
|
|
2795
|
-
"name": "newValue",
|
|
2635
|
+
"name": "event",
|
|
2796
2636
|
"type": {
|
|
2797
|
-
"text": "
|
|
2637
|
+
"text": "MouseEvent"
|
|
2798
2638
|
}
|
|
2799
2639
|
}
|
|
2800
2640
|
]
|
|
2801
2641
|
},
|
|
2802
2642
|
{
|
|
2803
2643
|
"kind": "method",
|
|
2804
|
-
"name": "
|
|
2805
|
-
"privacy": "protected"
|
|
2644
|
+
"name": "toggleDropdown"
|
|
2806
2645
|
},
|
|
2807
2646
|
{
|
|
2808
2647
|
"kind": "method",
|
|
2809
|
-
"name": "
|
|
2648
|
+
"name": "refreshStatus",
|
|
2649
|
+
"return": {
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "Promise<void>"
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2810
2654
|
},
|
|
2811
2655
|
{
|
|
2812
2656
|
"kind": "method",
|
|
2813
|
-
"name": "
|
|
2657
|
+
"name": "deriveState",
|
|
2658
|
+
"privacy": "private",
|
|
2659
|
+
"return": {
|
|
2660
|
+
"type": {
|
|
2661
|
+
"text": "AIIndicatorState"
|
|
2662
|
+
}
|
|
2663
|
+
},
|
|
2814
2664
|
"parameters": [
|
|
2815
2665
|
{
|
|
2816
|
-
"name": "
|
|
2666
|
+
"name": "s",
|
|
2817
2667
|
"type": {
|
|
2818
|
-
"text": "
|
|
2668
|
+
"text": "AIStatus | null"
|
|
2819
2669
|
}
|
|
2820
2670
|
}
|
|
2821
2671
|
]
|
|
2822
2672
|
},
|
|
2823
2673
|
{
|
|
2824
|
-
"kind": "
|
|
2825
|
-
"name": "
|
|
2826
|
-
"
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2674
|
+
"kind": "method",
|
|
2675
|
+
"name": "maybeStartPolling",
|
|
2676
|
+
"privacy": "private",
|
|
2677
|
+
"return": {
|
|
2678
|
+
"type": {
|
|
2679
|
+
"text": "void"
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2830
2682
|
},
|
|
2831
2683
|
{
|
|
2832
|
-
"kind": "
|
|
2833
|
-
"name": "
|
|
2834
|
-
"
|
|
2684
|
+
"kind": "method",
|
|
2685
|
+
"name": "startPolling",
|
|
2686
|
+
"privacy": "private",
|
|
2687
|
+
"return": {
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "void"
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2835
2692
|
},
|
|
2836
2693
|
{
|
|
2837
2694
|
"kind": "method",
|
|
2838
|
-
"name": "
|
|
2839
|
-
"
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
"
|
|
2843
|
-
"text": "string | ((rowData: any) => string)"
|
|
2844
|
-
}
|
|
2695
|
+
"name": "stopPolling",
|
|
2696
|
+
"privacy": "private",
|
|
2697
|
+
"return": {
|
|
2698
|
+
"type": {
|
|
2699
|
+
"text": "void"
|
|
2845
2700
|
}
|
|
2846
|
-
|
|
2701
|
+
}
|
|
2847
2702
|
},
|
|
2848
2703
|
{
|
|
2849
2704
|
"kind": "method",
|
|
2850
|
-
"name": "
|
|
2851
|
-
"
|
|
2852
|
-
{
|
|
2853
|
-
"
|
|
2854
|
-
"type": {
|
|
2855
|
-
"text": "string"
|
|
2856
|
-
}
|
|
2705
|
+
"name": "onInstall",
|
|
2706
|
+
"return": {
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": "Promise<void>"
|
|
2857
2709
|
}
|
|
2858
|
-
|
|
2710
|
+
}
|
|
2859
2711
|
},
|
|
2860
2712
|
{
|
|
2861
2713
|
"kind": "field",
|
|
@@ -2966,209 +2818,148 @@
|
|
|
2966
2818
|
"inheritedFrom": {
|
|
2967
2819
|
"name": "FoundationElement",
|
|
2968
2820
|
"module": "src/foundation-element/foundation-element.ts"
|
|
2969
|
-
}
|
|
2970
|
-
}
|
|
2971
|
-
],
|
|
2972
|
-
"attributes": [
|
|
2973
|
-
{
|
|
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"
|
|
2821
|
+
}
|
|
3035
2822
|
}
|
|
3036
2823
|
],
|
|
3037
2824
|
"superclass": {
|
|
3038
2825
|
"name": "FoundationElement",
|
|
3039
2826
|
"package": "@microsoft/fast-foundation"
|
|
3040
2827
|
},
|
|
3041
|
-
"tagName": "%%prefix%%-
|
|
2828
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3042
2829
|
"customElement": true
|
|
3043
2830
|
},
|
|
3044
2831
|
{
|
|
3045
2832
|
"kind": "variable",
|
|
3046
|
-
"name": "
|
|
3047
|
-
"description": "The Foundation Actions Menu",
|
|
3048
|
-
"privacy": "public"
|
|
2833
|
+
"name": "foundationAiIndicator"
|
|
3049
2834
|
}
|
|
3050
2835
|
],
|
|
3051
2836
|
"exports": [
|
|
3052
2837
|
{
|
|
3053
2838
|
"kind": "js",
|
|
3054
|
-
"name": "
|
|
2839
|
+
"name": "AiIndicator",
|
|
3055
2840
|
"declaration": {
|
|
3056
|
-
"name": "
|
|
3057
|
-
"module": "src/
|
|
2841
|
+
"name": "AiIndicator",
|
|
2842
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3058
2843
|
}
|
|
3059
2844
|
},
|
|
3060
2845
|
{
|
|
3061
2846
|
"kind": "js",
|
|
3062
|
-
"name": "
|
|
2847
|
+
"name": "foundationAiIndicator",
|
|
3063
2848
|
"declaration": {
|
|
3064
|
-
"name": "
|
|
3065
|
-
"module": "src/
|
|
2849
|
+
"name": "foundationAiIndicator",
|
|
2850
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3066
2851
|
}
|
|
3067
2852
|
}
|
|
3068
2853
|
]
|
|
3069
2854
|
},
|
|
3070
2855
|
{
|
|
3071
2856
|
"kind": "javascript-module",
|
|
3072
|
-
"path": "src/
|
|
2857
|
+
"path": "src/ai-indicator/index.ts",
|
|
3073
2858
|
"declarations": [],
|
|
3074
2859
|
"exports": [
|
|
3075
2860
|
{
|
|
3076
2861
|
"kind": "js",
|
|
3077
|
-
"name": "
|
|
2862
|
+
"name": "AiIndicator",
|
|
3078
2863
|
"declaration": {
|
|
3079
|
-
"name": "
|
|
3080
|
-
"
|
|
2864
|
+
"name": "AiIndicator",
|
|
2865
|
+
"module": "./ai-indicator"
|
|
3081
2866
|
}
|
|
3082
2867
|
},
|
|
3083
2868
|
{
|
|
3084
2869
|
"kind": "js",
|
|
3085
|
-
"name": "
|
|
2870
|
+
"name": "foundationAiIndicator",
|
|
3086
2871
|
"declaration": {
|
|
3087
|
-
"name": "
|
|
3088
|
-
"
|
|
2872
|
+
"name": "foundationAiIndicator",
|
|
2873
|
+
"module": "./ai-indicator"
|
|
3089
2874
|
}
|
|
3090
2875
|
},
|
|
3091
2876
|
{
|
|
3092
2877
|
"kind": "js",
|
|
3093
|
-
"name": "
|
|
2878
|
+
"name": "type",
|
|
3094
2879
|
"declaration": {
|
|
3095
|
-
"name": "
|
|
3096
|
-
"
|
|
2880
|
+
"name": "type",
|
|
2881
|
+
"module": "./ai-indicator"
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"kind": "js",
|
|
2886
|
+
"name": "AIIndicatorState",
|
|
2887
|
+
"declaration": {
|
|
2888
|
+
"name": "AIIndicatorState",
|
|
2889
|
+
"module": "./ai-indicator"
|
|
2890
|
+
}
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
"kind": "js",
|
|
2894
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2895
|
+
"declaration": {
|
|
2896
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2897
|
+
"module": "./ai-indicator.template"
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"kind": "js",
|
|
2902
|
+
"name": "foundationAiIndicatorStyles",
|
|
2903
|
+
"declaration": {
|
|
2904
|
+
"name": "foundationAiIndicatorStyles",
|
|
2905
|
+
"module": "./ai-indicator.styles"
|
|
3097
2906
|
}
|
|
3098
2907
|
}
|
|
3099
2908
|
]
|
|
3100
2909
|
},
|
|
3101
2910
|
{
|
|
3102
2911
|
"kind": "javascript-module",
|
|
3103
|
-
"path": "src/ai-
|
|
2912
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
3104
2913
|
"declarations": [
|
|
3105
2914
|
{
|
|
3106
|
-
"kind": "
|
|
3107
|
-
"name": "
|
|
3108
|
-
"
|
|
3109
|
-
"type": {
|
|
3110
|
-
"text": "ElementStyles"
|
|
3111
|
-
}
|
|
3112
|
-
},
|
|
3113
|
-
"parameters": [
|
|
3114
|
-
{
|
|
3115
|
-
"name": "context",
|
|
3116
|
-
"type": {
|
|
3117
|
-
"text": "ElementDefinitionContext"
|
|
3118
|
-
}
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
"name": "definition",
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "FoundationElementDefinition"
|
|
3124
|
-
}
|
|
3125
|
-
}
|
|
3126
|
-
]
|
|
2915
|
+
"kind": "variable",
|
|
2916
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2917
|
+
"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`"
|
|
3127
2918
|
}
|
|
3128
2919
|
],
|
|
3129
2920
|
"exports": [
|
|
3130
2921
|
{
|
|
3131
2922
|
"kind": "js",
|
|
3132
|
-
"name": "
|
|
2923
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3133
2924
|
"declaration": {
|
|
3134
|
-
"name": "
|
|
3135
|
-
"module": "src/ai-
|
|
2925
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2926
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
3136
2927
|
}
|
|
3137
2928
|
}
|
|
3138
2929
|
]
|
|
3139
2930
|
},
|
|
3140
2931
|
{
|
|
3141
2932
|
"kind": "javascript-module",
|
|
3142
|
-
"path": "src/ai-
|
|
2933
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
3143
2934
|
"declarations": [
|
|
3144
2935
|
{
|
|
3145
2936
|
"kind": "variable",
|
|
3146
|
-
"name": "
|
|
2937
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3147
2938
|
"type": {
|
|
3148
|
-
"text": "ViewTemplate<
|
|
2939
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
3149
2940
|
},
|
|
3150
|
-
"default": "html`\n ${(x) =>
|
|
2941
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
3151
2942
|
}
|
|
3152
2943
|
],
|
|
3153
2944
|
"exports": [
|
|
3154
2945
|
{
|
|
3155
2946
|
"kind": "js",
|
|
3156
|
-
"name": "
|
|
2947
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3157
2948
|
"declaration": {
|
|
3158
|
-
"name": "
|
|
3159
|
-
"module": "src/ai-
|
|
2949
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2950
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
3160
2951
|
}
|
|
3161
2952
|
}
|
|
3162
2953
|
]
|
|
3163
2954
|
},
|
|
3164
2955
|
{
|
|
3165
2956
|
"kind": "javascript-module",
|
|
3166
|
-
"path": "src/ai-
|
|
2957
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
3167
2958
|
"declarations": [
|
|
3168
2959
|
{
|
|
3169
2960
|
"kind": "class",
|
|
3170
|
-
"description": "",
|
|
3171
|
-
"name": "
|
|
2961
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2962
|
+
"name": "AiCriteriaSearch",
|
|
3172
2963
|
"members": [
|
|
3173
2964
|
{
|
|
3174
2965
|
"kind": "field",
|
|
@@ -3179,25 +2970,54 @@
|
|
|
3179
2970
|
},
|
|
3180
2971
|
{
|
|
3181
2972
|
"kind": "field",
|
|
3182
|
-
"name": "
|
|
2973
|
+
"name": "placeholder",
|
|
3183
2974
|
"type": {
|
|
3184
|
-
"text": "
|
|
2975
|
+
"text": "string"
|
|
3185
2976
|
},
|
|
3186
|
-
"
|
|
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
|
|
2977
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
3189
2978
|
},
|
|
3190
2979
|
{
|
|
3191
2980
|
"kind": "field",
|
|
3192
|
-
"name": "
|
|
2981
|
+
"name": "disabled",
|
|
3193
2982
|
"type": {
|
|
3194
|
-
"text": "
|
|
2983
|
+
"text": "boolean"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"kind": "field",
|
|
2988
|
+
"name": "inputValue",
|
|
2989
|
+
"type": {
|
|
2990
|
+
"text": "string"
|
|
2991
|
+
},
|
|
2992
|
+
"default": "''"
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"kind": "field",
|
|
2996
|
+
"name": "isInterpreting",
|
|
2997
|
+
"type": {
|
|
2998
|
+
"text": "boolean"
|
|
2999
|
+
},
|
|
3000
|
+
"default": "false"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "field",
|
|
3004
|
+
"name": "lastValidCriteria",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "string | null"
|
|
3195
3007
|
},
|
|
3196
3008
|
"default": "null"
|
|
3197
3009
|
},
|
|
3198
3010
|
{
|
|
3199
3011
|
"kind": "field",
|
|
3200
|
-
"name": "
|
|
3012
|
+
"name": "activeGroups",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "CriteriaGroup[]"
|
|
3015
|
+
},
|
|
3016
|
+
"default": "[]"
|
|
3017
|
+
},
|
|
3018
|
+
{
|
|
3019
|
+
"kind": "field",
|
|
3020
|
+
"name": "showingChips",
|
|
3201
3021
|
"type": {
|
|
3202
3022
|
"text": "boolean"
|
|
3203
3023
|
},
|
|
@@ -3205,15 +3025,15 @@
|
|
|
3205
3025
|
},
|
|
3206
3026
|
{
|
|
3207
3027
|
"kind": "field",
|
|
3208
|
-
"name": "
|
|
3028
|
+
"name": "fieldMetadata",
|
|
3209
3029
|
"type": {
|
|
3210
|
-
"text": "
|
|
3030
|
+
"text": "MetadataDetail[] | string[]"
|
|
3211
3031
|
},
|
|
3212
|
-
"default": "
|
|
3032
|
+
"default": "[]"
|
|
3213
3033
|
},
|
|
3214
3034
|
{
|
|
3215
3035
|
"kind": "field",
|
|
3216
|
-
"name": "
|
|
3036
|
+
"name": "isRecording",
|
|
3217
3037
|
"type": {
|
|
3218
3038
|
"text": "boolean"
|
|
3219
3039
|
},
|
|
@@ -3221,29 +3041,33 @@
|
|
|
3221
3041
|
},
|
|
3222
3042
|
{
|
|
3223
3043
|
"kind": "field",
|
|
3224
|
-
"name": "
|
|
3044
|
+
"name": "textAreaRef",
|
|
3225
3045
|
"type": {
|
|
3226
|
-
"text": "
|
|
3046
|
+
"text": "HTMLTextAreaElement"
|
|
3227
3047
|
},
|
|
3228
|
-
"privacy": "
|
|
3229
|
-
"default": "null"
|
|
3048
|
+
"privacy": "public"
|
|
3230
3049
|
},
|
|
3231
3050
|
{
|
|
3232
3051
|
"kind": "field",
|
|
3233
|
-
"name": "
|
|
3234
|
-
"
|
|
3052
|
+
"name": "stopRecording",
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "(() => void) | null"
|
|
3055
|
+
},
|
|
3056
|
+
"privacy": "private",
|
|
3057
|
+
"default": "null"
|
|
3235
3058
|
},
|
|
3236
3059
|
{
|
|
3237
3060
|
"kind": "field",
|
|
3238
|
-
"name": "
|
|
3061
|
+
"name": "speechApplyDebounceTimer",
|
|
3239
3062
|
"type": {
|
|
3240
|
-
"text": "
|
|
3063
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
3241
3064
|
},
|
|
3242
|
-
"
|
|
3065
|
+
"privacy": "private",
|
|
3066
|
+
"default": "null"
|
|
3243
3067
|
},
|
|
3244
3068
|
{
|
|
3245
3069
|
"kind": "field",
|
|
3246
|
-
"name": "
|
|
3070
|
+
"name": "speechAvailable",
|
|
3247
3071
|
"type": {
|
|
3248
3072
|
"text": "boolean"
|
|
3249
3073
|
},
|
|
@@ -3251,69 +3075,65 @@
|
|
|
3251
3075
|
},
|
|
3252
3076
|
{
|
|
3253
3077
|
"kind": "field",
|
|
3254
|
-
"name": "
|
|
3078
|
+
"name": "criteriaChips",
|
|
3255
3079
|
"type": {
|
|
3256
|
-
"text": "
|
|
3080
|
+
"text": "CriteriaChip[]"
|
|
3257
3081
|
},
|
|
3258
3082
|
"readonly": true
|
|
3259
3083
|
},
|
|
3260
3084
|
{
|
|
3261
3085
|
"kind": "method",
|
|
3262
|
-
"name": "
|
|
3086
|
+
"name": "getFieldLabel",
|
|
3087
|
+
"privacy": "private",
|
|
3263
3088
|
"return": {
|
|
3264
3089
|
"type": {
|
|
3265
|
-
"text": "
|
|
3090
|
+
"text": "string"
|
|
3266
3091
|
}
|
|
3267
|
-
}
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"kind": "method",
|
|
3271
|
-
"name": "handleClickOutside",
|
|
3272
|
-
"privacy": "private",
|
|
3092
|
+
},
|
|
3273
3093
|
"parameters": [
|
|
3274
3094
|
{
|
|
3275
|
-
"name": "
|
|
3095
|
+
"name": "fieldName",
|
|
3276
3096
|
"type": {
|
|
3277
|
-
"text": "
|
|
3097
|
+
"text": "string"
|
|
3278
3098
|
}
|
|
3279
3099
|
}
|
|
3280
3100
|
]
|
|
3281
3101
|
},
|
|
3282
3102
|
{
|
|
3283
3103
|
"kind": "method",
|
|
3284
|
-
"name": "
|
|
3285
|
-
},
|
|
3286
|
-
{
|
|
3287
|
-
"kind": "method",
|
|
3288
|
-
"name": "refreshStatus",
|
|
3104
|
+
"name": "toggleCriteriaView",
|
|
3289
3105
|
"return": {
|
|
3290
3106
|
"type": {
|
|
3291
|
-
"text": "
|
|
3107
|
+
"text": "void"
|
|
3292
3108
|
}
|
|
3293
3109
|
}
|
|
3294
3110
|
},
|
|
3295
3111
|
{
|
|
3296
3112
|
"kind": "method",
|
|
3297
|
-
"name": "
|
|
3298
|
-
"privacy": "private",
|
|
3113
|
+
"name": "removeChip",
|
|
3299
3114
|
"return": {
|
|
3300
3115
|
"type": {
|
|
3301
|
-
"text": "
|
|
3116
|
+
"text": "void"
|
|
3302
3117
|
}
|
|
3303
3118
|
},
|
|
3304
3119
|
"parameters": [
|
|
3305
3120
|
{
|
|
3306
|
-
"name": "
|
|
3121
|
+
"name": "groupIndex",
|
|
3307
3122
|
"type": {
|
|
3308
|
-
"text": "
|
|
3123
|
+
"text": "number"
|
|
3124
|
+
}
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"name": "clauseIndex",
|
|
3128
|
+
"type": {
|
|
3129
|
+
"text": "number"
|
|
3309
3130
|
}
|
|
3310
3131
|
}
|
|
3311
3132
|
]
|
|
3312
3133
|
},
|
|
3313
3134
|
{
|
|
3314
3135
|
"kind": "method",
|
|
3315
|
-
"name": "
|
|
3316
|
-
"privacy": "private",
|
|
3136
|
+
"name": "clearChips",
|
|
3317
3137
|
"return": {
|
|
3318
3138
|
"type": {
|
|
3319
3139
|
"text": "void"
|
|
@@ -3322,32 +3142,24 @@
|
|
|
3322
3142
|
},
|
|
3323
3143
|
{
|
|
3324
3144
|
"kind": "method",
|
|
3325
|
-
"name": "
|
|
3326
|
-
"privacy": "private",
|
|
3327
|
-
"return": {
|
|
3328
|
-
"type": {
|
|
3329
|
-
"text": "void"
|
|
3330
|
-
}
|
|
3331
|
-
}
|
|
3145
|
+
"name": "handleSubmit"
|
|
3332
3146
|
},
|
|
3333
3147
|
{
|
|
3334
3148
|
"kind": "method",
|
|
3335
|
-
"name": "
|
|
3336
|
-
"privacy": "private",
|
|
3337
|
-
"return": {
|
|
3338
|
-
"type": {
|
|
3339
|
-
"text": "void"
|
|
3340
|
-
}
|
|
3341
|
-
}
|
|
3149
|
+
"name": "handleBlur"
|
|
3342
3150
|
},
|
|
3343
3151
|
{
|
|
3344
3152
|
"kind": "method",
|
|
3345
|
-
"name": "
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3153
|
+
"name": "clear"
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"kind": "method",
|
|
3157
|
+
"name": "toggleSpeechInput"
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"kind": "method",
|
|
3161
|
+
"name": "clearSpeechApplyDebounce",
|
|
3162
|
+
"privacy": "private"
|
|
3351
3163
|
},
|
|
3352
3164
|
{
|
|
3353
3165
|
"kind": "field",
|
|
@@ -3461,88 +3273,276 @@
|
|
|
3461
3273
|
}
|
|
3462
3274
|
}
|
|
3463
3275
|
],
|
|
3276
|
+
"events": [
|
|
3277
|
+
{
|
|
3278
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3279
|
+
"name": "criteria-changed"
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3283
|
+
"name": "validation-errors"
|
|
3284
|
+
}
|
|
3285
|
+
],
|
|
3286
|
+
"attributes": [
|
|
3287
|
+
{
|
|
3288
|
+
"name": "placeholder",
|
|
3289
|
+
"type": {
|
|
3290
|
+
"text": "string"
|
|
3291
|
+
},
|
|
3292
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
3293
|
+
"fieldName": "placeholder"
|
|
3294
|
+
},
|
|
3295
|
+
{
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "boolean"
|
|
3298
|
+
},
|
|
3299
|
+
"fieldName": "disabled"
|
|
3300
|
+
}
|
|
3301
|
+
],
|
|
3464
3302
|
"superclass": {
|
|
3465
3303
|
"name": "FoundationElement",
|
|
3466
3304
|
"package": "@microsoft/fast-foundation"
|
|
3467
3305
|
},
|
|
3468
|
-
"tagName": "%%prefix%%-ai-
|
|
3306
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3469
3307
|
"customElement": true
|
|
3470
3308
|
},
|
|
3471
3309
|
{
|
|
3472
3310
|
"kind": "variable",
|
|
3473
|
-
"name": "
|
|
3311
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3312
|
+
"type": {
|
|
3313
|
+
"text": "ShadowRootInit"
|
|
3314
|
+
},
|
|
3315
|
+
"default": "undefined"
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
"kind": "variable",
|
|
3319
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3320
|
+
"type": {
|
|
3321
|
+
"text": "object"
|
|
3322
|
+
},
|
|
3323
|
+
"default": "{}"
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
"kind": "variable",
|
|
3327
|
+
"name": "foundationAiCriteriaSearch"
|
|
3474
3328
|
}
|
|
3475
3329
|
],
|
|
3476
3330
|
"exports": [
|
|
3477
3331
|
{
|
|
3478
3332
|
"kind": "js",
|
|
3479
|
-
"name": "
|
|
3333
|
+
"name": "AiCriteriaSearch",
|
|
3480
3334
|
"declaration": {
|
|
3481
|
-
"name": "
|
|
3482
|
-
"module": "src/ai-
|
|
3335
|
+
"name": "AiCriteriaSearch",
|
|
3336
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3483
3337
|
}
|
|
3484
3338
|
},
|
|
3485
3339
|
{
|
|
3486
3340
|
"kind": "js",
|
|
3487
|
-
"name": "
|
|
3341
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3488
3342
|
"declaration": {
|
|
3489
|
-
"name": "
|
|
3490
|
-
"module": "src/ai-
|
|
3343
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3344
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3345
|
+
}
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"kind": "js",
|
|
3349
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3350
|
+
"declaration": {
|
|
3351
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3352
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"kind": "js",
|
|
3357
|
+
"name": "foundationAiCriteriaSearch",
|
|
3358
|
+
"declaration": {
|
|
3359
|
+
"name": "foundationAiCriteriaSearch",
|
|
3360
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3491
3361
|
}
|
|
3492
3362
|
}
|
|
3493
3363
|
]
|
|
3494
3364
|
},
|
|
3495
3365
|
{
|
|
3496
3366
|
"kind": "javascript-module",
|
|
3497
|
-
"path": "src/ai-
|
|
3367
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
3498
3368
|
"declarations": [],
|
|
3499
3369
|
"exports": [
|
|
3500
3370
|
{
|
|
3501
3371
|
"kind": "js",
|
|
3502
|
-
"name": "
|
|
3372
|
+
"name": "AiCriteriaSearch",
|
|
3503
3373
|
"declaration": {
|
|
3504
|
-
"name": "
|
|
3505
|
-
"module": "./ai-
|
|
3374
|
+
"name": "AiCriteriaSearch",
|
|
3375
|
+
"module": "./ai-criteria-search"
|
|
3506
3376
|
}
|
|
3507
3377
|
},
|
|
3508
3378
|
{
|
|
3509
3379
|
"kind": "js",
|
|
3510
|
-
"name": "
|
|
3380
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3511
3381
|
"declaration": {
|
|
3512
|
-
"name": "
|
|
3513
|
-
"module": "./ai-
|
|
3382
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
3383
|
+
"module": "./ai-criteria-search"
|
|
3514
3384
|
}
|
|
3515
3385
|
},
|
|
3516
3386
|
{
|
|
3517
3387
|
"kind": "js",
|
|
3518
|
-
"name": "
|
|
3388
|
+
"name": "foundationAiCriteriaSearch",
|
|
3519
3389
|
"declaration": {
|
|
3520
|
-
"name": "
|
|
3521
|
-
"module": "./ai-
|
|
3390
|
+
"name": "foundationAiCriteriaSearch",
|
|
3391
|
+
"module": "./ai-criteria-search"
|
|
3522
3392
|
}
|
|
3523
3393
|
},
|
|
3524
3394
|
{
|
|
3525
3395
|
"kind": "js",
|
|
3526
|
-
"name": "
|
|
3396
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3527
3397
|
"declaration": {
|
|
3528
|
-
"name": "
|
|
3529
|
-
"module": "./ai-
|
|
3398
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3399
|
+
"module": "./ai-criteria-search"
|
|
3530
3400
|
}
|
|
3531
3401
|
},
|
|
3532
3402
|
{
|
|
3533
3403
|
"kind": "js",
|
|
3534
|
-
"name": "
|
|
3404
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3535
3405
|
"declaration": {
|
|
3536
|
-
"name": "
|
|
3537
|
-
"module": "./ai-
|
|
3406
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
3407
|
+
"module": "./ai-criteria-search.styles"
|
|
3538
3408
|
}
|
|
3539
3409
|
},
|
|
3540
3410
|
{
|
|
3541
3411
|
"kind": "js",
|
|
3542
|
-
"name": "
|
|
3412
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3543
3413
|
"declaration": {
|
|
3544
|
-
"name": "
|
|
3545
|
-
"module": "./ai-
|
|
3414
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
3415
|
+
"module": "./ai-criteria-search.template"
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "js",
|
|
3420
|
+
"name": "*",
|
|
3421
|
+
"declaration": {
|
|
3422
|
+
"name": "*",
|
|
3423
|
+
"package": "./validation/criteria-ir"
|
|
3424
|
+
}
|
|
3425
|
+
},
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "js",
|
|
3428
|
+
"name": "*",
|
|
3429
|
+
"declaration": {
|
|
3430
|
+
"name": "*",
|
|
3431
|
+
"package": "./validation/operator-map"
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
{
|
|
3435
|
+
"kind": "js",
|
|
3436
|
+
"name": "*",
|
|
3437
|
+
"declaration": {
|
|
3438
|
+
"name": "*",
|
|
3439
|
+
"package": "./validation/schema-validator"
|
|
3440
|
+
}
|
|
3441
|
+
}
|
|
3442
|
+
]
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "javascript-module",
|
|
3446
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3447
|
+
"declarations": [
|
|
3448
|
+
{
|
|
3449
|
+
"kind": "function",
|
|
3450
|
+
"name": "formatValidationErrors",
|
|
3451
|
+
"return": {
|
|
3452
|
+
"type": {
|
|
3453
|
+
"text": "string"
|
|
3454
|
+
}
|
|
3455
|
+
},
|
|
3456
|
+
"parameters": [
|
|
3457
|
+
{
|
|
3458
|
+
"name": "errors",
|
|
3459
|
+
"type": {
|
|
3460
|
+
"text": "ValidationError[]"
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
],
|
|
3464
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"kind": "function",
|
|
3468
|
+
"name": "showCriteriaError",
|
|
3469
|
+
"return": {
|
|
3470
|
+
"type": {
|
|
3471
|
+
"text": "void"
|
|
3472
|
+
}
|
|
3473
|
+
},
|
|
3474
|
+
"parameters": [
|
|
3475
|
+
{
|
|
3476
|
+
"name": "title",
|
|
3477
|
+
"type": {
|
|
3478
|
+
"text": "string"
|
|
3479
|
+
},
|
|
3480
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3481
|
+
},
|
|
3482
|
+
{
|
|
3483
|
+
"name": "body",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "string"
|
|
3486
|
+
},
|
|
3487
|
+
"description": "Error message to display"
|
|
3488
|
+
},
|
|
3489
|
+
{
|
|
3490
|
+
"name": "tagName",
|
|
3491
|
+
"type": {
|
|
3492
|
+
"text": "string"
|
|
3493
|
+
},
|
|
3494
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3495
|
+
}
|
|
3496
|
+
],
|
|
3497
|
+
"description": "Shows a criteria error as a toast notification."
|
|
3498
|
+
}
|
|
3499
|
+
],
|
|
3500
|
+
"exports": [
|
|
3501
|
+
{
|
|
3502
|
+
"kind": "js",
|
|
3503
|
+
"name": "formatValidationErrors",
|
|
3504
|
+
"declaration": {
|
|
3505
|
+
"name": "formatValidationErrors",
|
|
3506
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3507
|
+
}
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"kind": "js",
|
|
3511
|
+
"name": "showCriteriaError",
|
|
3512
|
+
"declaration": {
|
|
3513
|
+
"name": "showCriteriaError",
|
|
3514
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
]
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"kind": "javascript-module",
|
|
3521
|
+
"path": "src/_config/index.ts",
|
|
3522
|
+
"declarations": [],
|
|
3523
|
+
"exports": [
|
|
3524
|
+
{
|
|
3525
|
+
"kind": "js",
|
|
3526
|
+
"name": "*",
|
|
3527
|
+
"declaration": {
|
|
3528
|
+
"name": "*",
|
|
3529
|
+
"package": "./styles"
|
|
3530
|
+
}
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"kind": "js",
|
|
3534
|
+
"name": "*",
|
|
3535
|
+
"declaration": {
|
|
3536
|
+
"name": "*",
|
|
3537
|
+
"package": "./tokens"
|
|
3538
|
+
}
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"kind": "js",
|
|
3542
|
+
"name": "*",
|
|
3543
|
+
"declaration": {
|
|
3544
|
+
"name": "*",
|
|
3545
|
+
"package": "./values"
|
|
3546
3546
|
}
|
|
3547
3547
|
}
|
|
3548
3548
|
]
|
|
@@ -60093,6 +60093,197 @@
|
|
|
60093
60093
|
}
|
|
60094
60094
|
]
|
|
60095
60095
|
},
|
|
60096
|
+
{
|
|
60097
|
+
"kind": "javascript-module",
|
|
60098
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
60099
|
+
"declarations": [],
|
|
60100
|
+
"exports": []
|
|
60101
|
+
},
|
|
60102
|
+
{
|
|
60103
|
+
"kind": "javascript-module",
|
|
60104
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
60105
|
+
"declarations": [
|
|
60106
|
+
{
|
|
60107
|
+
"kind": "function",
|
|
60108
|
+
"name": "groupsToCriteria",
|
|
60109
|
+
"return": {
|
|
60110
|
+
"type": {
|
|
60111
|
+
"text": "string"
|
|
60112
|
+
}
|
|
60113
|
+
},
|
|
60114
|
+
"parameters": [
|
|
60115
|
+
{
|
|
60116
|
+
"name": "groups",
|
|
60117
|
+
"type": {
|
|
60118
|
+
"text": "CriteriaGroup[]"
|
|
60119
|
+
}
|
|
60120
|
+
}
|
|
60121
|
+
],
|
|
60122
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
60123
|
+
},
|
|
60124
|
+
{
|
|
60125
|
+
"kind": "variable",
|
|
60126
|
+
"name": "STRING_OPERATORS",
|
|
60127
|
+
"type": {
|
|
60128
|
+
"text": "CriteriaOperator[]"
|
|
60129
|
+
},
|
|
60130
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
60131
|
+
},
|
|
60132
|
+
{
|
|
60133
|
+
"kind": "variable",
|
|
60134
|
+
"name": "NUMERIC_OPERATORS",
|
|
60135
|
+
"type": {
|
|
60136
|
+
"text": "CriteriaOperator[]"
|
|
60137
|
+
},
|
|
60138
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
60139
|
+
},
|
|
60140
|
+
{
|
|
60141
|
+
"kind": "variable",
|
|
60142
|
+
"name": "DATE_OPERATORS",
|
|
60143
|
+
"type": {
|
|
60144
|
+
"text": "CriteriaOperator[]"
|
|
60145
|
+
},
|
|
60146
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
60147
|
+
},
|
|
60148
|
+
{
|
|
60149
|
+
"kind": "variable",
|
|
60150
|
+
"name": "DATETIME_OPERATORS",
|
|
60151
|
+
"type": {
|
|
60152
|
+
"text": "CriteriaOperator[]"
|
|
60153
|
+
},
|
|
60154
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
60155
|
+
},
|
|
60156
|
+
{
|
|
60157
|
+
"kind": "variable",
|
|
60158
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60159
|
+
"type": {
|
|
60160
|
+
"text": "Record<CriteriaOperator, string>"
|
|
60161
|
+
},
|
|
60162
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
60163
|
+
}
|
|
60164
|
+
],
|
|
60165
|
+
"exports": [
|
|
60166
|
+
{
|
|
60167
|
+
"kind": "js",
|
|
60168
|
+
"name": "groupsToCriteria",
|
|
60169
|
+
"declaration": {
|
|
60170
|
+
"name": "groupsToCriteria",
|
|
60171
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60172
|
+
}
|
|
60173
|
+
},
|
|
60174
|
+
{
|
|
60175
|
+
"kind": "js",
|
|
60176
|
+
"name": "STRING_OPERATORS",
|
|
60177
|
+
"declaration": {
|
|
60178
|
+
"name": "STRING_OPERATORS",
|
|
60179
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60180
|
+
}
|
|
60181
|
+
},
|
|
60182
|
+
{
|
|
60183
|
+
"kind": "js",
|
|
60184
|
+
"name": "NUMERIC_OPERATORS",
|
|
60185
|
+
"declaration": {
|
|
60186
|
+
"name": "NUMERIC_OPERATORS",
|
|
60187
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60188
|
+
}
|
|
60189
|
+
},
|
|
60190
|
+
{
|
|
60191
|
+
"kind": "js",
|
|
60192
|
+
"name": "DATE_OPERATORS",
|
|
60193
|
+
"declaration": {
|
|
60194
|
+
"name": "DATE_OPERATORS",
|
|
60195
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60196
|
+
}
|
|
60197
|
+
},
|
|
60198
|
+
{
|
|
60199
|
+
"kind": "js",
|
|
60200
|
+
"name": "DATETIME_OPERATORS",
|
|
60201
|
+
"declaration": {
|
|
60202
|
+
"name": "DATETIME_OPERATORS",
|
|
60203
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60204
|
+
}
|
|
60205
|
+
},
|
|
60206
|
+
{
|
|
60207
|
+
"kind": "js",
|
|
60208
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60209
|
+
"declaration": {
|
|
60210
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
60211
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
60212
|
+
}
|
|
60213
|
+
}
|
|
60214
|
+
]
|
|
60215
|
+
},
|
|
60216
|
+
{
|
|
60217
|
+
"kind": "javascript-module",
|
|
60218
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
60219
|
+
"declarations": [
|
|
60220
|
+
{
|
|
60221
|
+
"kind": "function",
|
|
60222
|
+
"name": "validateClauses",
|
|
60223
|
+
"return": {
|
|
60224
|
+
"type": {
|
|
60225
|
+
"text": "ValidationResult"
|
|
60226
|
+
}
|
|
60227
|
+
},
|
|
60228
|
+
"parameters": [
|
|
60229
|
+
{
|
|
60230
|
+
"name": "clauses",
|
|
60231
|
+
"type": {
|
|
60232
|
+
"text": "CriteriaClause[]"
|
|
60233
|
+
}
|
|
60234
|
+
},
|
|
60235
|
+
{
|
|
60236
|
+
"name": "fieldMetadata",
|
|
60237
|
+
"type": {
|
|
60238
|
+
"text": "MetadataDetail[] | string[]"
|
|
60239
|
+
}
|
|
60240
|
+
}
|
|
60241
|
+
]
|
|
60242
|
+
},
|
|
60243
|
+
{
|
|
60244
|
+
"kind": "function",
|
|
60245
|
+
"name": "validateGroups",
|
|
60246
|
+
"return": {
|
|
60247
|
+
"type": {
|
|
60248
|
+
"text": "GroupsValidationResult"
|
|
60249
|
+
}
|
|
60250
|
+
},
|
|
60251
|
+
"parameters": [
|
|
60252
|
+
{
|
|
60253
|
+
"name": "groups",
|
|
60254
|
+
"type": {
|
|
60255
|
+
"text": "CriteriaGroup[]"
|
|
60256
|
+
}
|
|
60257
|
+
},
|
|
60258
|
+
{
|
|
60259
|
+
"name": "fieldMetadata",
|
|
60260
|
+
"type": {
|
|
60261
|
+
"text": "MetadataDetail[] | string[]"
|
|
60262
|
+
}
|
|
60263
|
+
}
|
|
60264
|
+
],
|
|
60265
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
60266
|
+
}
|
|
60267
|
+
],
|
|
60268
|
+
"exports": [
|
|
60269
|
+
{
|
|
60270
|
+
"kind": "js",
|
|
60271
|
+
"name": "validateClauses",
|
|
60272
|
+
"declaration": {
|
|
60273
|
+
"name": "validateClauses",
|
|
60274
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60275
|
+
}
|
|
60276
|
+
},
|
|
60277
|
+
{
|
|
60278
|
+
"kind": "js",
|
|
60279
|
+
"name": "validateGroups",
|
|
60280
|
+
"declaration": {
|
|
60281
|
+
"name": "validateGroups",
|
|
60282
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
60283
|
+
}
|
|
60284
|
+
}
|
|
60285
|
+
]
|
|
60286
|
+
},
|
|
60096
60287
|
{
|
|
60097
60288
|
"kind": "javascript-module",
|
|
60098
60289
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -61465,197 +61656,6 @@
|
|
|
61465
61656
|
"declarations": [],
|
|
61466
61657
|
"exports": []
|
|
61467
61658
|
},
|
|
61468
|
-
{
|
|
61469
|
-
"kind": "javascript-module",
|
|
61470
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
61471
|
-
"declarations": [],
|
|
61472
|
-
"exports": []
|
|
61473
|
-
},
|
|
61474
|
-
{
|
|
61475
|
-
"kind": "javascript-module",
|
|
61476
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
61477
|
-
"declarations": [
|
|
61478
|
-
{
|
|
61479
|
-
"kind": "function",
|
|
61480
|
-
"name": "groupsToCriteria",
|
|
61481
|
-
"return": {
|
|
61482
|
-
"type": {
|
|
61483
|
-
"text": "string"
|
|
61484
|
-
}
|
|
61485
|
-
},
|
|
61486
|
-
"parameters": [
|
|
61487
|
-
{
|
|
61488
|
-
"name": "groups",
|
|
61489
|
-
"type": {
|
|
61490
|
-
"text": "CriteriaGroup[]"
|
|
61491
|
-
}
|
|
61492
|
-
}
|
|
61493
|
-
],
|
|
61494
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
61495
|
-
},
|
|
61496
|
-
{
|
|
61497
|
-
"kind": "variable",
|
|
61498
|
-
"name": "STRING_OPERATORS",
|
|
61499
|
-
"type": {
|
|
61500
|
-
"text": "CriteriaOperator[]"
|
|
61501
|
-
},
|
|
61502
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
61503
|
-
},
|
|
61504
|
-
{
|
|
61505
|
-
"kind": "variable",
|
|
61506
|
-
"name": "NUMERIC_OPERATORS",
|
|
61507
|
-
"type": {
|
|
61508
|
-
"text": "CriteriaOperator[]"
|
|
61509
|
-
},
|
|
61510
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
61511
|
-
},
|
|
61512
|
-
{
|
|
61513
|
-
"kind": "variable",
|
|
61514
|
-
"name": "DATE_OPERATORS",
|
|
61515
|
-
"type": {
|
|
61516
|
-
"text": "CriteriaOperator[]"
|
|
61517
|
-
},
|
|
61518
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
61519
|
-
},
|
|
61520
|
-
{
|
|
61521
|
-
"kind": "variable",
|
|
61522
|
-
"name": "DATETIME_OPERATORS",
|
|
61523
|
-
"type": {
|
|
61524
|
-
"text": "CriteriaOperator[]"
|
|
61525
|
-
},
|
|
61526
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
61527
|
-
},
|
|
61528
|
-
{
|
|
61529
|
-
"kind": "variable",
|
|
61530
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61531
|
-
"type": {
|
|
61532
|
-
"text": "Record<CriteriaOperator, string>"
|
|
61533
|
-
},
|
|
61534
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
61535
|
-
}
|
|
61536
|
-
],
|
|
61537
|
-
"exports": [
|
|
61538
|
-
{
|
|
61539
|
-
"kind": "js",
|
|
61540
|
-
"name": "groupsToCriteria",
|
|
61541
|
-
"declaration": {
|
|
61542
|
-
"name": "groupsToCriteria",
|
|
61543
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61544
|
-
}
|
|
61545
|
-
},
|
|
61546
|
-
{
|
|
61547
|
-
"kind": "js",
|
|
61548
|
-
"name": "STRING_OPERATORS",
|
|
61549
|
-
"declaration": {
|
|
61550
|
-
"name": "STRING_OPERATORS",
|
|
61551
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61552
|
-
}
|
|
61553
|
-
},
|
|
61554
|
-
{
|
|
61555
|
-
"kind": "js",
|
|
61556
|
-
"name": "NUMERIC_OPERATORS",
|
|
61557
|
-
"declaration": {
|
|
61558
|
-
"name": "NUMERIC_OPERATORS",
|
|
61559
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61560
|
-
}
|
|
61561
|
-
},
|
|
61562
|
-
{
|
|
61563
|
-
"kind": "js",
|
|
61564
|
-
"name": "DATE_OPERATORS",
|
|
61565
|
-
"declaration": {
|
|
61566
|
-
"name": "DATE_OPERATORS",
|
|
61567
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61568
|
-
}
|
|
61569
|
-
},
|
|
61570
|
-
{
|
|
61571
|
-
"kind": "js",
|
|
61572
|
-
"name": "DATETIME_OPERATORS",
|
|
61573
|
-
"declaration": {
|
|
61574
|
-
"name": "DATETIME_OPERATORS",
|
|
61575
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61576
|
-
}
|
|
61577
|
-
},
|
|
61578
|
-
{
|
|
61579
|
-
"kind": "js",
|
|
61580
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61581
|
-
"declaration": {
|
|
61582
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
61583
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
61584
|
-
}
|
|
61585
|
-
}
|
|
61586
|
-
]
|
|
61587
|
-
},
|
|
61588
|
-
{
|
|
61589
|
-
"kind": "javascript-module",
|
|
61590
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
61591
|
-
"declarations": [
|
|
61592
|
-
{
|
|
61593
|
-
"kind": "function",
|
|
61594
|
-
"name": "validateClauses",
|
|
61595
|
-
"return": {
|
|
61596
|
-
"type": {
|
|
61597
|
-
"text": "ValidationResult"
|
|
61598
|
-
}
|
|
61599
|
-
},
|
|
61600
|
-
"parameters": [
|
|
61601
|
-
{
|
|
61602
|
-
"name": "clauses",
|
|
61603
|
-
"type": {
|
|
61604
|
-
"text": "CriteriaClause[]"
|
|
61605
|
-
}
|
|
61606
|
-
},
|
|
61607
|
-
{
|
|
61608
|
-
"name": "fieldMetadata",
|
|
61609
|
-
"type": {
|
|
61610
|
-
"text": "MetadataDetail[] | string[]"
|
|
61611
|
-
}
|
|
61612
|
-
}
|
|
61613
|
-
]
|
|
61614
|
-
},
|
|
61615
|
-
{
|
|
61616
|
-
"kind": "function",
|
|
61617
|
-
"name": "validateGroups",
|
|
61618
|
-
"return": {
|
|
61619
|
-
"type": {
|
|
61620
|
-
"text": "GroupsValidationResult"
|
|
61621
|
-
}
|
|
61622
|
-
},
|
|
61623
|
-
"parameters": [
|
|
61624
|
-
{
|
|
61625
|
-
"name": "groups",
|
|
61626
|
-
"type": {
|
|
61627
|
-
"text": "CriteriaGroup[]"
|
|
61628
|
-
}
|
|
61629
|
-
},
|
|
61630
|
-
{
|
|
61631
|
-
"name": "fieldMetadata",
|
|
61632
|
-
"type": {
|
|
61633
|
-
"text": "MetadataDetail[] | string[]"
|
|
61634
|
-
}
|
|
61635
|
-
}
|
|
61636
|
-
],
|
|
61637
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
61638
|
-
}
|
|
61639
|
-
],
|
|
61640
|
-
"exports": [
|
|
61641
|
-
{
|
|
61642
|
-
"kind": "js",
|
|
61643
|
-
"name": "validateClauses",
|
|
61644
|
-
"declaration": {
|
|
61645
|
-
"name": "validateClauses",
|
|
61646
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61647
|
-
}
|
|
61648
|
-
},
|
|
61649
|
-
{
|
|
61650
|
-
"kind": "js",
|
|
61651
|
-
"name": "validateGroups",
|
|
61652
|
-
"declaration": {
|
|
61653
|
-
"name": "validateGroups",
|
|
61654
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
61655
|
-
}
|
|
61656
|
-
}
|
|
61657
|
-
]
|
|
61658
|
-
},
|
|
61659
61659
|
{
|
|
61660
61660
|
"kind": "javascript-module",
|
|
61661
61661
|
"path": "src/environment-indicator/utils/configure.ts",
|