@genesislcap/foundation-ui 15.13.1 → 15.14.0-DCD-4786.2
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 +710 -710
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +10 -10
- package/package.json +19 -20
|
@@ -1849,203 +1849,115 @@
|
|
|
1849
1849
|
},
|
|
1850
1850
|
{
|
|
1851
1851
|
"kind": "javascript-module",
|
|
1852
|
-
"path": "src/
|
|
1852
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1853
1853
|
"declarations": [
|
|
1854
1854
|
{
|
|
1855
|
-
"kind": "
|
|
1856
|
-
"name": "
|
|
1857
|
-
"
|
|
1858
|
-
"type": {
|
|
1859
|
-
"text": "ElementStyles"
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1862
|
-
"parameters": [
|
|
1863
|
-
{
|
|
1864
|
-
"name": "context",
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "ElementDefinitionContext"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"name": "definition",
|
|
1871
|
-
"type": {
|
|
1872
|
-
"text": "FoundationElementDefinition"
|
|
1873
|
-
}
|
|
1874
|
-
}
|
|
1875
|
-
]
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
"kind": "function",
|
|
1879
|
-
"name": "foundationActionsMenuStyles",
|
|
1880
|
-
"return": {
|
|
1881
|
-
"type": {
|
|
1882
|
-
"text": "ElementStyles"
|
|
1883
|
-
}
|
|
1884
|
-
},
|
|
1885
|
-
"parameters": [
|
|
1886
|
-
{
|
|
1887
|
-
"name": "context",
|
|
1888
|
-
"type": {
|
|
1889
|
-
"text": "ElementDefinitionContext"
|
|
1890
|
-
}
|
|
1891
|
-
},
|
|
1892
|
-
{
|
|
1893
|
-
"name": "definition",
|
|
1894
|
-
"type": {
|
|
1895
|
-
"text": "FoundationElementDefinition"
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
]
|
|
1855
|
+
"kind": "variable",
|
|
1856
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1857
|
+
"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`"
|
|
1899
1858
|
}
|
|
1900
1859
|
],
|
|
1901
1860
|
"exports": [
|
|
1902
1861
|
{
|
|
1903
1862
|
"kind": "js",
|
|
1904
|
-
"name": "
|
|
1905
|
-
"declaration": {
|
|
1906
|
-
"name": "actionsMenuBaseStyles",
|
|
1907
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1908
|
-
}
|
|
1909
|
-
},
|
|
1910
|
-
{
|
|
1911
|
-
"kind": "js",
|
|
1912
|
-
"name": "foundationActionsMenuStyles",
|
|
1863
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1913
1864
|
"declaration": {
|
|
1914
|
-
"name": "
|
|
1915
|
-
"module": "src/
|
|
1865
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1866
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1916
1867
|
}
|
|
1917
1868
|
}
|
|
1918
1869
|
]
|
|
1919
1870
|
},
|
|
1920
1871
|
{
|
|
1921
1872
|
"kind": "javascript-module",
|
|
1922
|
-
"path": "src/
|
|
1873
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1923
1874
|
"declarations": [
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "function",
|
|
1926
|
-
"name": "menuTemplate",
|
|
1927
|
-
"parameters": [
|
|
1928
|
-
{
|
|
1929
|
-
"name": "prefix",
|
|
1930
|
-
"type": {
|
|
1931
|
-
"text": "string"
|
|
1932
|
-
}
|
|
1933
|
-
}
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "function",
|
|
1938
|
-
"name": "singleOptionTemplate",
|
|
1939
|
-
"parameters": [
|
|
1940
|
-
{
|
|
1941
|
-
"name": "prefix",
|
|
1942
|
-
"type": {
|
|
1943
|
-
"text": "string"
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
]
|
|
1947
|
-
},
|
|
1948
1875
|
{
|
|
1949
1876
|
"kind": "variable",
|
|
1950
|
-
"name": "
|
|
1877
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1951
1878
|
"type": {
|
|
1952
|
-
"text": "ViewTemplate<
|
|
1879
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
1953
1880
|
},
|
|
1954
|
-
"default": "html`\n
|
|
1881
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
1955
1882
|
}
|
|
1956
1883
|
],
|
|
1957
1884
|
"exports": [
|
|
1958
1885
|
{
|
|
1959
1886
|
"kind": "js",
|
|
1960
|
-
"name": "
|
|
1961
|
-
"declaration": {
|
|
1962
|
-
"name": "menuTemplate",
|
|
1963
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1964
|
-
}
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"kind": "js",
|
|
1968
|
-
"name": "singleOptionTemplate",
|
|
1969
|
-
"declaration": {
|
|
1970
|
-
"name": "singleOptionTemplate",
|
|
1971
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"kind": "js",
|
|
1976
|
-
"name": "foundationActionsMenuTemplate",
|
|
1887
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1977
1888
|
"declaration": {
|
|
1978
|
-
"name": "
|
|
1979
|
-
"module": "src/
|
|
1889
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1890
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
1980
1891
|
}
|
|
1981
1892
|
}
|
|
1982
1893
|
]
|
|
1983
1894
|
},
|
|
1984
1895
|
{
|
|
1985
1896
|
"kind": "javascript-module",
|
|
1986
|
-
"path": "src/
|
|
1897
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
1987
1898
|
"declarations": [
|
|
1988
1899
|
{
|
|
1989
1900
|
"kind": "class",
|
|
1990
|
-
"description": "",
|
|
1991
|
-
"name": "
|
|
1901
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1902
|
+
"name": "AiCriteriaSearch",
|
|
1992
1903
|
"members": [
|
|
1993
1904
|
{
|
|
1994
1905
|
"kind": "field",
|
|
1995
|
-
"name": "
|
|
1906
|
+
"name": "providerRegistry",
|
|
1996
1907
|
"type": {
|
|
1997
|
-
"text": "
|
|
1908
|
+
"text": "AIProviderRegistry"
|
|
1998
1909
|
}
|
|
1999
1910
|
},
|
|
2000
1911
|
{
|
|
2001
1912
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
1913
|
+
"name": "placeholder",
|
|
2003
1914
|
"type": {
|
|
2004
|
-
"text": "
|
|
1915
|
+
"text": "string"
|
|
2005
1916
|
},
|
|
2006
|
-
"default": "
|
|
1917
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2007
1918
|
},
|
|
2008
1919
|
{
|
|
2009
1920
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
1921
|
+
"name": "disabled",
|
|
2011
1922
|
"type": {
|
|
2012
1923
|
"text": "boolean"
|
|
2013
|
-
}
|
|
2014
|
-
"default": "true"
|
|
1924
|
+
}
|
|
2015
1925
|
},
|
|
2016
1926
|
{
|
|
2017
1927
|
"kind": "field",
|
|
2018
|
-
"name": "
|
|
1928
|
+
"name": "inputValue",
|
|
2019
1929
|
"type": {
|
|
2020
|
-
"text": "
|
|
1930
|
+
"text": "string"
|
|
2021
1931
|
},
|
|
2022
|
-
"default": "
|
|
1932
|
+
"default": "''"
|
|
2023
1933
|
},
|
|
2024
1934
|
{
|
|
2025
1935
|
"kind": "field",
|
|
2026
|
-
"name": "
|
|
1936
|
+
"name": "isInterpreting",
|
|
2027
1937
|
"type": {
|
|
2028
|
-
"text": "
|
|
2029
|
-
}
|
|
1938
|
+
"text": "boolean"
|
|
1939
|
+
},
|
|
1940
|
+
"default": "false"
|
|
2030
1941
|
},
|
|
2031
1942
|
{
|
|
2032
1943
|
"kind": "field",
|
|
2033
|
-
"name": "
|
|
1944
|
+
"name": "lastValidCriteria",
|
|
2034
1945
|
"type": {
|
|
2035
|
-
"text": "
|
|
2036
|
-
}
|
|
1946
|
+
"text": "string | null"
|
|
1947
|
+
},
|
|
1948
|
+
"default": "null"
|
|
2037
1949
|
},
|
|
2038
1950
|
{
|
|
2039
1951
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
1952
|
+
"name": "activeGroups",
|
|
2041
1953
|
"type": {
|
|
2042
|
-
"text": "
|
|
1954
|
+
"text": "CriteriaGroup[]"
|
|
2043
1955
|
},
|
|
2044
|
-
"default": "
|
|
1956
|
+
"default": "[]"
|
|
2045
1957
|
},
|
|
2046
1958
|
{
|
|
2047
1959
|
"kind": "field",
|
|
2048
|
-
"name": "
|
|
1960
|
+
"name": "showingChips",
|
|
2049
1961
|
"type": {
|
|
2050
1962
|
"text": "boolean"
|
|
2051
1963
|
},
|
|
@@ -2053,14 +1965,15 @@
|
|
|
2053
1965
|
},
|
|
2054
1966
|
{
|
|
2055
1967
|
"kind": "field",
|
|
2056
|
-
"name": "
|
|
1968
|
+
"name": "fieldMetadata",
|
|
2057
1969
|
"type": {
|
|
2058
|
-
"text": "string"
|
|
2059
|
-
}
|
|
1970
|
+
"text": "MetadataDetail[] | string[]"
|
|
1971
|
+
},
|
|
1972
|
+
"default": "[]"
|
|
2060
1973
|
},
|
|
2061
1974
|
{
|
|
2062
1975
|
"kind": "field",
|
|
2063
|
-
"name": "
|
|
1976
|
+
"name": "isRecording",
|
|
2064
1977
|
"type": {
|
|
2065
1978
|
"text": "boolean"
|
|
2066
1979
|
},
|
|
@@ -2068,114 +1981,125 @@
|
|
|
2068
1981
|
},
|
|
2069
1982
|
{
|
|
2070
1983
|
"kind": "field",
|
|
2071
|
-
"name": "
|
|
1984
|
+
"name": "textAreaRef",
|
|
2072
1985
|
"type": {
|
|
2073
|
-
"text": "
|
|
1986
|
+
"text": "HTMLTextAreaElement"
|
|
2074
1987
|
},
|
|
2075
|
-
"
|
|
1988
|
+
"privacy": "public"
|
|
2076
1989
|
},
|
|
2077
1990
|
{
|
|
2078
1991
|
"kind": "field",
|
|
2079
|
-
"name": "
|
|
1992
|
+
"name": "stopRecording",
|
|
2080
1993
|
"type": {
|
|
2081
|
-
"text": "
|
|
2082
|
-
}
|
|
1994
|
+
"text": "(() => void) | null"
|
|
1995
|
+
},
|
|
1996
|
+
"privacy": "private",
|
|
1997
|
+
"default": "null"
|
|
2083
1998
|
},
|
|
2084
1999
|
{
|
|
2085
2000
|
"kind": "field",
|
|
2086
|
-
"name": "
|
|
2001
|
+
"name": "speechApplyDebounceTimer",
|
|
2087
2002
|
"type": {
|
|
2088
|
-
"text": "
|
|
2089
|
-
}
|
|
2003
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2004
|
+
},
|
|
2005
|
+
"privacy": "private",
|
|
2006
|
+
"default": "null"
|
|
2090
2007
|
},
|
|
2091
2008
|
{
|
|
2092
2009
|
"kind": "field",
|
|
2093
|
-
"name": "
|
|
2010
|
+
"name": "speechAvailable",
|
|
2094
2011
|
"type": {
|
|
2095
|
-
"text": "
|
|
2096
|
-
}
|
|
2012
|
+
"text": "boolean"
|
|
2013
|
+
},
|
|
2014
|
+
"readonly": true
|
|
2097
2015
|
},
|
|
2098
2016
|
{
|
|
2099
|
-
"kind": "
|
|
2100
|
-
"name": "
|
|
2101
|
-
"
|
|
2017
|
+
"kind": "field",
|
|
2018
|
+
"name": "criteriaChips",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "CriteriaChip[]"
|
|
2021
|
+
},
|
|
2022
|
+
"readonly": true
|
|
2102
2023
|
},
|
|
2103
2024
|
{
|
|
2104
2025
|
"kind": "method",
|
|
2105
|
-
"name": "
|
|
2106
|
-
"privacy": "
|
|
2026
|
+
"name": "getFieldLabel",
|
|
2027
|
+
"privacy": "private",
|
|
2028
|
+
"return": {
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "string"
|
|
2031
|
+
}
|
|
2032
|
+
},
|
|
2107
2033
|
"parameters": [
|
|
2108
2034
|
{
|
|
2109
|
-
"name": "
|
|
2110
|
-
"type": {
|
|
2111
|
-
"text": "any"
|
|
2112
|
-
}
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "newValue",
|
|
2035
|
+
"name": "fieldName",
|
|
2116
2036
|
"type": {
|
|
2117
|
-
"text": "
|
|
2037
|
+
"text": "string"
|
|
2118
2038
|
}
|
|
2119
2039
|
}
|
|
2120
2040
|
]
|
|
2121
2041
|
},
|
|
2122
2042
|
{
|
|
2123
2043
|
"kind": "method",
|
|
2124
|
-
"name": "
|
|
2125
|
-
"
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2044
|
+
"name": "toggleCriteriaView",
|
|
2045
|
+
"return": {
|
|
2046
|
+
"type": {
|
|
2047
|
+
"text": "void"
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2130
2050
|
},
|
|
2131
2051
|
{
|
|
2132
2052
|
"kind": "method",
|
|
2133
|
-
"name": "
|
|
2053
|
+
"name": "removeChip",
|
|
2054
|
+
"return": {
|
|
2055
|
+
"type": {
|
|
2056
|
+
"text": "void"
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2134
2059
|
"parameters": [
|
|
2135
2060
|
{
|
|
2136
|
-
"name": "
|
|
2061
|
+
"name": "groupIndex",
|
|
2137
2062
|
"type": {
|
|
2138
|
-
"text": "
|
|
2063
|
+
"text": "number"
|
|
2139
2064
|
}
|
|
2140
|
-
}
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "clauseIndex",
|
|
2068
|
+
"type": {
|
|
2069
|
+
"text": "number"
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2141
2072
|
]
|
|
2142
2073
|
},
|
|
2143
2074
|
{
|
|
2144
|
-
"kind": "
|
|
2145
|
-
"name": "
|
|
2146
|
-
"
|
|
2147
|
-
"
|
|
2148
|
-
|
|
2149
|
-
|
|
2075
|
+
"kind": "method",
|
|
2076
|
+
"name": "clearChips",
|
|
2077
|
+
"return": {
|
|
2078
|
+
"type": {
|
|
2079
|
+
"text": "void"
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2150
2082
|
},
|
|
2151
2083
|
{
|
|
2152
|
-
"kind": "
|
|
2153
|
-
"name": "
|
|
2154
|
-
"readonly": true
|
|
2084
|
+
"kind": "method",
|
|
2085
|
+
"name": "handleSubmit"
|
|
2155
2086
|
},
|
|
2156
2087
|
{
|
|
2157
2088
|
"kind": "method",
|
|
2158
|
-
"name": "
|
|
2159
|
-
"parameters": [
|
|
2160
|
-
{
|
|
2161
|
-
"name": "name",
|
|
2162
|
-
"type": {
|
|
2163
|
-
"text": "string | ((rowData: any) => string)"
|
|
2164
|
-
}
|
|
2165
|
-
}
|
|
2166
|
-
]
|
|
2089
|
+
"name": "handleBlur"
|
|
2167
2090
|
},
|
|
2168
2091
|
{
|
|
2169
2092
|
"kind": "method",
|
|
2170
|
-
"name": "
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2093
|
+
"name": "clear"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"kind": "method",
|
|
2097
|
+
"name": "toggleSpeechInput"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"kind": "method",
|
|
2101
|
+
"name": "clearSpeechApplyDebounce",
|
|
2102
|
+
"privacy": "private"
|
|
2179
2103
|
},
|
|
2180
2104
|
{
|
|
2181
2105
|
"kind": "field",
|
|
@@ -2289,115 +2213,154 @@
|
|
|
2289
2213
|
}
|
|
2290
2214
|
}
|
|
2291
2215
|
],
|
|
2292
|
-
"
|
|
2293
|
-
{
|
|
2294
|
-
"name": "is-vertical",
|
|
2295
|
-
"type": {
|
|
2296
|
-
"text": "boolean"
|
|
2297
|
-
},
|
|
2298
|
-
"default": "false",
|
|
2299
|
-
"fieldName": "isVertical"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "add-default-actions",
|
|
2303
|
-
"type": {
|
|
2304
|
-
"text": "boolean"
|
|
2305
|
-
},
|
|
2306
|
-
"default": "true",
|
|
2307
|
-
"fieldName": "addDefaultActions"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "auto-close-on-action",
|
|
2311
|
-
"type": {
|
|
2312
|
-
"text": "boolean"
|
|
2313
|
-
},
|
|
2314
|
-
"default": "true",
|
|
2315
|
-
"fieldName": "autoCloseOnAction"
|
|
2316
|
-
},
|
|
2216
|
+
"events": [
|
|
2317
2217
|
{
|
|
2318
|
-
"
|
|
2319
|
-
"
|
|
2320
|
-
"text": "string"
|
|
2321
|
-
},
|
|
2322
|
-
"default": "'Actions'",
|
|
2323
|
-
"fieldName": "name"
|
|
2218
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2219
|
+
"name": "criteria-changed"
|
|
2324
2220
|
},
|
|
2325
2221
|
{
|
|
2326
|
-
"
|
|
2327
|
-
"
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
"fieldName": "open"
|
|
2332
|
-
},
|
|
2222
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2223
|
+
"name": "validation-errors"
|
|
2224
|
+
}
|
|
2225
|
+
],
|
|
2226
|
+
"attributes": [
|
|
2333
2227
|
{
|
|
2334
|
-
"name": "
|
|
2228
|
+
"name": "placeholder",
|
|
2335
2229
|
"type": {
|
|
2336
2230
|
"text": "string"
|
|
2337
2231
|
},
|
|
2338
|
-
"
|
|
2339
|
-
|
|
2340
|
-
{
|
|
2341
|
-
"name": "hide-disabled",
|
|
2342
|
-
"type": {
|
|
2343
|
-
"text": "boolean"
|
|
2344
|
-
},
|
|
2345
|
-
"default": "false",
|
|
2346
|
-
"fieldName": "hideDisabled"
|
|
2232
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2233
|
+
"fieldName": "placeholder"
|
|
2347
2234
|
},
|
|
2348
2235
|
{
|
|
2349
|
-
"name": "hide-menu-single-option",
|
|
2350
2236
|
"type": {
|
|
2351
2237
|
"text": "boolean"
|
|
2352
2238
|
},
|
|
2353
|
-
"
|
|
2354
|
-
"fieldName": "hideMenuSingleOption"
|
|
2239
|
+
"fieldName": "disabled"
|
|
2355
2240
|
}
|
|
2356
2241
|
],
|
|
2357
2242
|
"superclass": {
|
|
2358
2243
|
"name": "FoundationElement",
|
|
2359
2244
|
"package": "@microsoft/fast-foundation"
|
|
2360
2245
|
},
|
|
2361
|
-
"tagName": "%%prefix%%-
|
|
2246
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2362
2247
|
"customElement": true
|
|
2363
2248
|
},
|
|
2364
2249
|
{
|
|
2365
2250
|
"kind": "variable",
|
|
2366
|
-
"name": "
|
|
2367
|
-
"
|
|
2368
|
-
|
|
2251
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "ShadowRootInit"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "undefined"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "variable",
|
|
2259
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2260
|
+
"type": {
|
|
2261
|
+
"text": "object"
|
|
2262
|
+
},
|
|
2263
|
+
"default": "{}"
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"kind": "variable",
|
|
2267
|
+
"name": "foundationAiCriteriaSearch"
|
|
2369
2268
|
}
|
|
2370
2269
|
],
|
|
2371
2270
|
"exports": [
|
|
2372
2271
|
{
|
|
2373
2272
|
"kind": "js",
|
|
2374
|
-
"name": "
|
|
2273
|
+
"name": "AiCriteriaSearch",
|
|
2375
2274
|
"declaration": {
|
|
2376
|
-
"name": "
|
|
2377
|
-
"module": "src/
|
|
2275
|
+
"name": "AiCriteriaSearch",
|
|
2276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2378
2277
|
}
|
|
2379
2278
|
},
|
|
2380
2279
|
{
|
|
2381
2280
|
"kind": "js",
|
|
2382
|
-
"name": "
|
|
2281
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2383
2282
|
"declaration": {
|
|
2384
|
-
"name": "
|
|
2385
|
-
"module": "src/
|
|
2283
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"kind": "js",
|
|
2289
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2290
|
+
"declaration": {
|
|
2291
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2292
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
"kind": "js",
|
|
2297
|
+
"name": "foundationAiCriteriaSearch",
|
|
2298
|
+
"declaration": {
|
|
2299
|
+
"name": "foundationAiCriteriaSearch",
|
|
2300
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2386
2301
|
}
|
|
2387
2302
|
}
|
|
2388
2303
|
]
|
|
2389
2304
|
},
|
|
2390
2305
|
{
|
|
2391
2306
|
"kind": "javascript-module",
|
|
2392
|
-
"path": "src/
|
|
2307
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2393
2308
|
"declarations": [],
|
|
2394
2309
|
"exports": [
|
|
2310
|
+
{
|
|
2311
|
+
"kind": "js",
|
|
2312
|
+
"name": "AiCriteriaSearch",
|
|
2313
|
+
"declaration": {
|
|
2314
|
+
"name": "AiCriteriaSearch",
|
|
2315
|
+
"module": "./ai-criteria-search"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "js",
|
|
2320
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2321
|
+
"declaration": {
|
|
2322
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2323
|
+
"module": "./ai-criteria-search"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "js",
|
|
2328
|
+
"name": "foundationAiCriteriaSearch",
|
|
2329
|
+
"declaration": {
|
|
2330
|
+
"name": "foundationAiCriteriaSearch",
|
|
2331
|
+
"module": "./ai-criteria-search"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "js",
|
|
2336
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2337
|
+
"declaration": {
|
|
2338
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2339
|
+
"module": "./ai-criteria-search"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"kind": "js",
|
|
2344
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2345
|
+
"declaration": {
|
|
2346
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2347
|
+
"module": "./ai-criteria-search.styles"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "js",
|
|
2352
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2353
|
+
"declaration": {
|
|
2354
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2355
|
+
"module": "./ai-criteria-search.template"
|
|
2356
|
+
}
|
|
2357
|
+
},
|
|
2395
2358
|
{
|
|
2396
2359
|
"kind": "js",
|
|
2397
2360
|
"name": "*",
|
|
2398
2361
|
"declaration": {
|
|
2399
2362
|
"name": "*",
|
|
2400
|
-
"package": "./
|
|
2363
|
+
"package": "./validation/criteria-ir"
|
|
2401
2364
|
}
|
|
2402
2365
|
},
|
|
2403
2366
|
{
|
|
@@ -2405,7 +2368,7 @@
|
|
|
2405
2368
|
"name": "*",
|
|
2406
2369
|
"declaration": {
|
|
2407
2370
|
"name": "*",
|
|
2408
|
-
"package": "./
|
|
2371
|
+
"package": "./validation/operator-map"
|
|
2409
2372
|
}
|
|
2410
2373
|
},
|
|
2411
2374
|
{
|
|
@@ -2413,18 +2376,116 @@
|
|
|
2413
2376
|
"name": "*",
|
|
2414
2377
|
"declaration": {
|
|
2415
2378
|
"name": "*",
|
|
2416
|
-
"package": "./
|
|
2379
|
+
"package": "./validation/schema-validator"
|
|
2417
2380
|
}
|
|
2418
2381
|
}
|
|
2419
2382
|
]
|
|
2420
2383
|
},
|
|
2421
2384
|
{
|
|
2422
2385
|
"kind": "javascript-module",
|
|
2423
|
-
"path": "src/ai-
|
|
2386
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2424
2387
|
"declarations": [
|
|
2425
2388
|
{
|
|
2426
2389
|
"kind": "function",
|
|
2427
|
-
"name": "
|
|
2390
|
+
"name": "formatValidationErrors",
|
|
2391
|
+
"return": {
|
|
2392
|
+
"type": {
|
|
2393
|
+
"text": "string"
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
"parameters": [
|
|
2397
|
+
{
|
|
2398
|
+
"name": "errors",
|
|
2399
|
+
"type": {
|
|
2400
|
+
"text": "ValidationError[]"
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
],
|
|
2404
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"kind": "function",
|
|
2408
|
+
"name": "showCriteriaError",
|
|
2409
|
+
"return": {
|
|
2410
|
+
"type": {
|
|
2411
|
+
"text": "void"
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
"parameters": [
|
|
2415
|
+
{
|
|
2416
|
+
"name": "title",
|
|
2417
|
+
"type": {
|
|
2418
|
+
"text": "string"
|
|
2419
|
+
},
|
|
2420
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
"name": "body",
|
|
2424
|
+
"type": {
|
|
2425
|
+
"text": "string"
|
|
2426
|
+
},
|
|
2427
|
+
"description": "Error message to display"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "tagName",
|
|
2431
|
+
"type": {
|
|
2432
|
+
"text": "string"
|
|
2433
|
+
},
|
|
2434
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2435
|
+
}
|
|
2436
|
+
],
|
|
2437
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2438
|
+
}
|
|
2439
|
+
],
|
|
2440
|
+
"exports": [
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "js",
|
|
2443
|
+
"name": "formatValidationErrors",
|
|
2444
|
+
"declaration": {
|
|
2445
|
+
"name": "formatValidationErrors",
|
|
2446
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"kind": "js",
|
|
2451
|
+
"name": "showCriteriaError",
|
|
2452
|
+
"declaration": {
|
|
2453
|
+
"name": "showCriteriaError",
|
|
2454
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
]
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "javascript-module",
|
|
2461
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2462
|
+
"declarations": [
|
|
2463
|
+
{
|
|
2464
|
+
"kind": "function",
|
|
2465
|
+
"name": "actionsMenuBaseStyles",
|
|
2466
|
+
"return": {
|
|
2467
|
+
"type": {
|
|
2468
|
+
"text": "ElementStyles"
|
|
2469
|
+
}
|
|
2470
|
+
},
|
|
2471
|
+
"parameters": [
|
|
2472
|
+
{
|
|
2473
|
+
"name": "context",
|
|
2474
|
+
"type": {
|
|
2475
|
+
"text": "ElementDefinitionContext"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "definition",
|
|
2480
|
+
"type": {
|
|
2481
|
+
"text": "FoundationElementDefinition"
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"kind": "function",
|
|
2488
|
+
"name": "foundationActionsMenuStyles",
|
|
2428
2489
|
"return": {
|
|
2429
2490
|
"type": {
|
|
2430
2491
|
"text": "ElementStyles"
|
|
@@ -2449,225 +2510,281 @@
|
|
|
2449
2510
|
"exports": [
|
|
2450
2511
|
{
|
|
2451
2512
|
"kind": "js",
|
|
2452
|
-
"name": "
|
|
2513
|
+
"name": "actionsMenuBaseStyles",
|
|
2453
2514
|
"declaration": {
|
|
2454
|
-
"name": "
|
|
2455
|
-
"module": "src/
|
|
2515
|
+
"name": "actionsMenuBaseStyles",
|
|
2516
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2517
|
+
}
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"kind": "js",
|
|
2521
|
+
"name": "foundationActionsMenuStyles",
|
|
2522
|
+
"declaration": {
|
|
2523
|
+
"name": "foundationActionsMenuStyles",
|
|
2524
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2456
2525
|
}
|
|
2457
2526
|
}
|
|
2458
2527
|
]
|
|
2459
2528
|
},
|
|
2460
2529
|
{
|
|
2461
2530
|
"kind": "javascript-module",
|
|
2462
|
-
"path": "src/
|
|
2531
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2463
2532
|
"declarations": [
|
|
2533
|
+
{
|
|
2534
|
+
"kind": "function",
|
|
2535
|
+
"name": "menuTemplate",
|
|
2536
|
+
"parameters": [
|
|
2537
|
+
{
|
|
2538
|
+
"name": "prefix",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "string"
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
]
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"kind": "function",
|
|
2547
|
+
"name": "singleOptionTemplate",
|
|
2548
|
+
"parameters": [
|
|
2549
|
+
{
|
|
2550
|
+
"name": "prefix",
|
|
2551
|
+
"type": {
|
|
2552
|
+
"text": "string"
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
]
|
|
2556
|
+
},
|
|
2464
2557
|
{
|
|
2465
2558
|
"kind": "variable",
|
|
2466
|
-
"name": "
|
|
2559
|
+
"name": "foundationActionsMenuTemplate",
|
|
2467
2560
|
"type": {
|
|
2468
|
-
"text": "ViewTemplate<
|
|
2561
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2469
2562
|
},
|
|
2470
|
-
"default": "html`\n ${(x) =>
|
|
2563
|
+
"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`"
|
|
2471
2564
|
}
|
|
2472
2565
|
],
|
|
2473
2566
|
"exports": [
|
|
2474
2567
|
{
|
|
2475
2568
|
"kind": "js",
|
|
2476
|
-
"name": "
|
|
2569
|
+
"name": "menuTemplate",
|
|
2477
2570
|
"declaration": {
|
|
2478
|
-
"name": "
|
|
2479
|
-
"module": "src/
|
|
2571
|
+
"name": "menuTemplate",
|
|
2572
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "js",
|
|
2577
|
+
"name": "singleOptionTemplate",
|
|
2578
|
+
"declaration": {
|
|
2579
|
+
"name": "singleOptionTemplate",
|
|
2580
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"kind": "js",
|
|
2585
|
+
"name": "foundationActionsMenuTemplate",
|
|
2586
|
+
"declaration": {
|
|
2587
|
+
"name": "foundationActionsMenuTemplate",
|
|
2588
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2480
2589
|
}
|
|
2481
2590
|
}
|
|
2482
2591
|
]
|
|
2483
2592
|
},
|
|
2484
2593
|
{
|
|
2485
2594
|
"kind": "javascript-module",
|
|
2486
|
-
"path": "src/
|
|
2595
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2487
2596
|
"declarations": [
|
|
2488
2597
|
{
|
|
2489
2598
|
"kind": "class",
|
|
2490
2599
|
"description": "",
|
|
2491
|
-
"name": "
|
|
2600
|
+
"name": "ActionsMenu",
|
|
2492
2601
|
"members": [
|
|
2493
2602
|
{
|
|
2494
2603
|
"kind": "field",
|
|
2495
|
-
"name": "
|
|
2604
|
+
"name": "actions",
|
|
2496
2605
|
"type": {
|
|
2497
|
-
"text": "
|
|
2606
|
+
"text": "ActionMenuItem[]"
|
|
2498
2607
|
}
|
|
2499
2608
|
},
|
|
2500
2609
|
{
|
|
2501
2610
|
"kind": "field",
|
|
2502
|
-
"name": "
|
|
2611
|
+
"name": "isVertical",
|
|
2503
2612
|
"type": {
|
|
2504
|
-
"text": "
|
|
2613
|
+
"text": "boolean"
|
|
2505
2614
|
},
|
|
2506
|
-
"
|
|
2507
|
-
"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.",
|
|
2508
|
-
"readonly": true
|
|
2615
|
+
"default": "false"
|
|
2509
2616
|
},
|
|
2510
2617
|
{
|
|
2511
2618
|
"kind": "field",
|
|
2512
|
-
"name": "
|
|
2619
|
+
"name": "addDefaultActions",
|
|
2513
2620
|
"type": {
|
|
2514
|
-
"text": "
|
|
2621
|
+
"text": "boolean"
|
|
2515
2622
|
},
|
|
2516
|
-
"default": "
|
|
2623
|
+
"default": "true"
|
|
2517
2624
|
},
|
|
2518
2625
|
{
|
|
2519
2626
|
"kind": "field",
|
|
2520
|
-
"name": "
|
|
2627
|
+
"name": "autoCloseOnAction",
|
|
2521
2628
|
"type": {
|
|
2522
2629
|
"text": "boolean"
|
|
2523
2630
|
},
|
|
2524
|
-
"default": "
|
|
2631
|
+
"default": "true"
|
|
2525
2632
|
},
|
|
2526
2633
|
{
|
|
2527
2634
|
"kind": "field",
|
|
2528
|
-
"name": "
|
|
2635
|
+
"name": "classNames",
|
|
2529
2636
|
"type": {
|
|
2530
|
-
"text": "
|
|
2531
|
-
}
|
|
2532
|
-
"default": "'none'"
|
|
2637
|
+
"text": "string"
|
|
2638
|
+
}
|
|
2533
2639
|
},
|
|
2534
2640
|
{
|
|
2535
2641
|
"kind": "field",
|
|
2536
|
-
"name": "
|
|
2642
|
+
"name": "definition",
|
|
2537
2643
|
"type": {
|
|
2538
|
-
"text": "
|
|
2539
|
-
}
|
|
2540
|
-
"default": "false"
|
|
2644
|
+
"text": "any"
|
|
2645
|
+
}
|
|
2541
2646
|
},
|
|
2542
2647
|
{
|
|
2543
2648
|
"kind": "field",
|
|
2544
|
-
"name": "
|
|
2649
|
+
"name": "name",
|
|
2545
2650
|
"type": {
|
|
2546
|
-
"text": "
|
|
2651
|
+
"text": "string"
|
|
2547
2652
|
},
|
|
2548
|
-
"
|
|
2549
|
-
"default": "null"
|
|
2653
|
+
"default": "'Actions'"
|
|
2550
2654
|
},
|
|
2551
2655
|
{
|
|
2552
2656
|
"kind": "field",
|
|
2553
|
-
"name": "
|
|
2554
|
-
"
|
|
2657
|
+
"name": "open",
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "boolean"
|
|
2660
|
+
},
|
|
2661
|
+
"default": "false"
|
|
2555
2662
|
},
|
|
2556
2663
|
{
|
|
2557
2664
|
"kind": "field",
|
|
2558
|
-
"name": "
|
|
2665
|
+
"name": "buttonAppearance",
|
|
2559
2666
|
"type": {
|
|
2560
|
-
"text": "string
|
|
2561
|
-
}
|
|
2562
|
-
"readonly": true
|
|
2667
|
+
"text": "string"
|
|
2668
|
+
}
|
|
2563
2669
|
},
|
|
2564
2670
|
{
|
|
2565
2671
|
"kind": "field",
|
|
2566
|
-
"name": "
|
|
2672
|
+
"name": "hideDisabled",
|
|
2567
2673
|
"type": {
|
|
2568
2674
|
"text": "boolean"
|
|
2569
2675
|
},
|
|
2570
|
-
"
|
|
2676
|
+
"default": "false"
|
|
2571
2677
|
},
|
|
2572
2678
|
{
|
|
2573
2679
|
"kind": "field",
|
|
2574
|
-
"name": "
|
|
2680
|
+
"name": "hideMenuSingleOption",
|
|
2575
2681
|
"type": {
|
|
2576
2682
|
"text": "boolean"
|
|
2577
2683
|
},
|
|
2578
|
-
"
|
|
2684
|
+
"default": "false"
|
|
2579
2685
|
},
|
|
2580
2686
|
{
|
|
2581
|
-
"kind": "
|
|
2582
|
-
"name": "
|
|
2583
|
-
"
|
|
2584
|
-
"
|
|
2585
|
-
|
|
2586
|
-
|
|
2687
|
+
"kind": "field",
|
|
2688
|
+
"name": "singleOption",
|
|
2689
|
+
"type": {
|
|
2690
|
+
"text": "ActionMenuItem"
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2693
|
+
{
|
|
2694
|
+
"kind": "field",
|
|
2695
|
+
"name": "actionsMenu",
|
|
2696
|
+
"type": {
|
|
2697
|
+
"text": "HTMLElement"
|
|
2698
|
+
}
|
|
2699
|
+
},
|
|
2700
|
+
{
|
|
2701
|
+
"kind": "field",
|
|
2702
|
+
"name": "actionsOpener",
|
|
2703
|
+
"type": {
|
|
2704
|
+
"text": "HTMLElement"
|
|
2587
2705
|
}
|
|
2588
2706
|
},
|
|
2589
2707
|
{
|
|
2590
2708
|
"kind": "method",
|
|
2591
|
-
"name": "
|
|
2592
|
-
"privacy": "private"
|
|
2709
|
+
"name": "updateMenuPosition",
|
|
2710
|
+
"privacy": "private"
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "method",
|
|
2714
|
+
"name": "definitionChanged",
|
|
2715
|
+
"privacy": "protected",
|
|
2593
2716
|
"parameters": [
|
|
2594
2717
|
{
|
|
2595
|
-
"name": "
|
|
2718
|
+
"name": "oldValue",
|
|
2596
2719
|
"type": {
|
|
2597
|
-
"text": "
|
|
2720
|
+
"text": "any"
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"name": "newValue",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "any"
|
|
2598
2727
|
}
|
|
2599
2728
|
}
|
|
2600
2729
|
]
|
|
2601
2730
|
},
|
|
2602
2731
|
{
|
|
2603
2732
|
"kind": "method",
|
|
2604
|
-
"name": "
|
|
2733
|
+
"name": "openChanged",
|
|
2734
|
+
"privacy": "protected"
|
|
2605
2735
|
},
|
|
2606
2736
|
{
|
|
2607
2737
|
"kind": "method",
|
|
2608
|
-
"name": "
|
|
2609
|
-
"return": {
|
|
2610
|
-
"type": {
|
|
2611
|
-
"text": "Promise<void>"
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2738
|
+
"name": "toggleActionsMenuVisibility"
|
|
2614
2739
|
},
|
|
2615
2740
|
{
|
|
2616
2741
|
"kind": "method",
|
|
2617
|
-
"name": "
|
|
2618
|
-
"privacy": "private",
|
|
2619
|
-
"return": {
|
|
2620
|
-
"type": {
|
|
2621
|
-
"text": "AIIndicatorState"
|
|
2622
|
-
}
|
|
2623
|
-
},
|
|
2742
|
+
"name": "onActionMenuItemClick",
|
|
2624
2743
|
"parameters": [
|
|
2625
2744
|
{
|
|
2626
|
-
"name": "
|
|
2745
|
+
"name": "callback",
|
|
2627
2746
|
"type": {
|
|
2628
|
-
"text": "
|
|
2747
|
+
"text": "(rowData) => void | any"
|
|
2629
2748
|
}
|
|
2630
2749
|
}
|
|
2631
2750
|
]
|
|
2632
2751
|
},
|
|
2633
2752
|
{
|
|
2634
|
-
"kind": "
|
|
2635
|
-
"name": "
|
|
2636
|
-
"
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
}
|
|
2641
|
-
}
|
|
2753
|
+
"kind": "field",
|
|
2754
|
+
"name": "allActions",
|
|
2755
|
+
"type": {
|
|
2756
|
+
"text": "ActionMenuItem[]"
|
|
2757
|
+
},
|
|
2758
|
+
"readonly": true
|
|
2642
2759
|
},
|
|
2643
2760
|
{
|
|
2644
|
-
"kind": "
|
|
2645
|
-
"name": "
|
|
2646
|
-
"
|
|
2647
|
-
"return": {
|
|
2648
|
-
"type": {
|
|
2649
|
-
"text": "void"
|
|
2650
|
-
}
|
|
2651
|
-
}
|
|
2761
|
+
"kind": "field",
|
|
2762
|
+
"name": "rowData",
|
|
2763
|
+
"readonly": true
|
|
2652
2764
|
},
|
|
2653
2765
|
{
|
|
2654
2766
|
"kind": "method",
|
|
2655
|
-
"name": "
|
|
2656
|
-
"
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
"
|
|
2767
|
+
"name": "getLabel",
|
|
2768
|
+
"parameters": [
|
|
2769
|
+
{
|
|
2770
|
+
"name": "name",
|
|
2771
|
+
"type": {
|
|
2772
|
+
"text": "string | ((rowData: any) => string)"
|
|
2773
|
+
}
|
|
2660
2774
|
}
|
|
2661
|
-
|
|
2775
|
+
]
|
|
2662
2776
|
},
|
|
2663
2777
|
{
|
|
2664
2778
|
"kind": "method",
|
|
2665
|
-
"name": "
|
|
2666
|
-
"
|
|
2667
|
-
|
|
2668
|
-
"
|
|
2779
|
+
"name": "getTemplate",
|
|
2780
|
+
"parameters": [
|
|
2781
|
+
{
|
|
2782
|
+
"name": "prefix",
|
|
2783
|
+
"type": {
|
|
2784
|
+
"text": "string"
|
|
2785
|
+
}
|
|
2669
2786
|
}
|
|
2670
|
-
|
|
2787
|
+
]
|
|
2671
2788
|
},
|
|
2672
2789
|
{
|
|
2673
2790
|
"kind": "field",
|
|
@@ -2759,167 +2876,228 @@
|
|
|
2759
2876
|
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2760
2877
|
}
|
|
2761
2878
|
},
|
|
2762
|
-
"parameters": [
|
|
2763
|
-
{
|
|
2764
|
-
"name": "this",
|
|
2765
|
-
"type": {
|
|
2766
|
-
"text": "K"
|
|
2767
|
-
}
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"name": "elementDefinition",
|
|
2771
|
-
"type": {
|
|
2772
|
-
"text": "T"
|
|
2773
|
-
},
|
|
2774
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
2775
|
-
}
|
|
2776
|
-
],
|
|
2777
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2778
|
-
"inheritedFrom": {
|
|
2779
|
-
"name": "FoundationElement",
|
|
2780
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
2781
|
-
}
|
|
2879
|
+
"parameters": [
|
|
2880
|
+
{
|
|
2881
|
+
"name": "this",
|
|
2882
|
+
"type": {
|
|
2883
|
+
"text": "K"
|
|
2884
|
+
}
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"name": "elementDefinition",
|
|
2888
|
+
"type": {
|
|
2889
|
+
"text": "T"
|
|
2890
|
+
},
|
|
2891
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2892
|
+
}
|
|
2893
|
+
],
|
|
2894
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
2895
|
+
"inheritedFrom": {
|
|
2896
|
+
"name": "FoundationElement",
|
|
2897
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
],
|
|
2901
|
+
"attributes": [
|
|
2902
|
+
{
|
|
2903
|
+
"name": "is-vertical",
|
|
2904
|
+
"type": {
|
|
2905
|
+
"text": "boolean"
|
|
2906
|
+
},
|
|
2907
|
+
"default": "false",
|
|
2908
|
+
"fieldName": "isVertical"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"name": "add-default-actions",
|
|
2912
|
+
"type": {
|
|
2913
|
+
"text": "boolean"
|
|
2914
|
+
},
|
|
2915
|
+
"default": "true",
|
|
2916
|
+
"fieldName": "addDefaultActions"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"name": "auto-close-on-action",
|
|
2920
|
+
"type": {
|
|
2921
|
+
"text": "boolean"
|
|
2922
|
+
},
|
|
2923
|
+
"default": "true",
|
|
2924
|
+
"fieldName": "autoCloseOnAction"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "name",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "string"
|
|
2930
|
+
},
|
|
2931
|
+
"default": "'Actions'",
|
|
2932
|
+
"fieldName": "name"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "open",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "boolean"
|
|
2938
|
+
},
|
|
2939
|
+
"default": "false",
|
|
2940
|
+
"fieldName": "open"
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
"name": "buttonAppearance",
|
|
2944
|
+
"type": {
|
|
2945
|
+
"text": "string"
|
|
2946
|
+
},
|
|
2947
|
+
"fieldName": "buttonAppearance"
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"name": "hide-disabled",
|
|
2951
|
+
"type": {
|
|
2952
|
+
"text": "boolean"
|
|
2953
|
+
},
|
|
2954
|
+
"default": "false",
|
|
2955
|
+
"fieldName": "hideDisabled"
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"name": "hide-menu-single-option",
|
|
2959
|
+
"type": {
|
|
2960
|
+
"text": "boolean"
|
|
2961
|
+
},
|
|
2962
|
+
"default": "false",
|
|
2963
|
+
"fieldName": "hideMenuSingleOption"
|
|
2782
2964
|
}
|
|
2783
2965
|
],
|
|
2784
2966
|
"superclass": {
|
|
2785
2967
|
"name": "FoundationElement",
|
|
2786
2968
|
"package": "@microsoft/fast-foundation"
|
|
2787
2969
|
},
|
|
2788
|
-
"tagName": "%%prefix%%-
|
|
2970
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2789
2971
|
"customElement": true
|
|
2790
2972
|
},
|
|
2791
2973
|
{
|
|
2792
2974
|
"kind": "variable",
|
|
2793
|
-
"name": "
|
|
2975
|
+
"name": "foundationActionsMenu",
|
|
2976
|
+
"description": "The Foundation Actions Menu",
|
|
2977
|
+
"privacy": "public"
|
|
2794
2978
|
}
|
|
2795
2979
|
],
|
|
2796
2980
|
"exports": [
|
|
2797
2981
|
{
|
|
2798
2982
|
"kind": "js",
|
|
2799
|
-
"name": "
|
|
2983
|
+
"name": "ActionsMenu",
|
|
2800
2984
|
"declaration": {
|
|
2801
|
-
"name": "
|
|
2802
|
-
"module": "src/
|
|
2985
|
+
"name": "ActionsMenu",
|
|
2986
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2803
2987
|
}
|
|
2804
2988
|
},
|
|
2805
2989
|
{
|
|
2806
2990
|
"kind": "js",
|
|
2807
|
-
"name": "
|
|
2991
|
+
"name": "foundationActionsMenu",
|
|
2808
2992
|
"declaration": {
|
|
2809
|
-
"name": "
|
|
2810
|
-
"module": "src/
|
|
2993
|
+
"name": "foundationActionsMenu",
|
|
2994
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2811
2995
|
}
|
|
2812
2996
|
}
|
|
2813
2997
|
]
|
|
2814
2998
|
},
|
|
2815
2999
|
{
|
|
2816
3000
|
"kind": "javascript-module",
|
|
2817
|
-
"path": "src/
|
|
3001
|
+
"path": "src/actions-menu/index.ts",
|
|
2818
3002
|
"declarations": [],
|
|
2819
3003
|
"exports": [
|
|
2820
3004
|
{
|
|
2821
3005
|
"kind": "js",
|
|
2822
|
-
"name": "
|
|
2823
|
-
"declaration": {
|
|
2824
|
-
"name": "AiIndicator",
|
|
2825
|
-
"module": "./ai-indicator"
|
|
2826
|
-
}
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "js",
|
|
2830
|
-
"name": "foundationAiIndicator",
|
|
2831
|
-
"declaration": {
|
|
2832
|
-
"name": "foundationAiIndicator",
|
|
2833
|
-
"module": "./ai-indicator"
|
|
2834
|
-
}
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"kind": "js",
|
|
2838
|
-
"name": "type",
|
|
2839
|
-
"declaration": {
|
|
2840
|
-
"name": "type",
|
|
2841
|
-
"module": "./ai-indicator"
|
|
2842
|
-
}
|
|
2843
|
-
},
|
|
2844
|
-
{
|
|
2845
|
-
"kind": "js",
|
|
2846
|
-
"name": "AIIndicatorState",
|
|
3006
|
+
"name": "*",
|
|
2847
3007
|
"declaration": {
|
|
2848
|
-
"name": "
|
|
2849
|
-
"
|
|
3008
|
+
"name": "*",
|
|
3009
|
+
"package": "./actions-menu.styles"
|
|
2850
3010
|
}
|
|
2851
3011
|
},
|
|
2852
3012
|
{
|
|
2853
3013
|
"kind": "js",
|
|
2854
|
-
"name": "
|
|
3014
|
+
"name": "*",
|
|
2855
3015
|
"declaration": {
|
|
2856
|
-
"name": "
|
|
2857
|
-
"
|
|
3016
|
+
"name": "*",
|
|
3017
|
+
"package": "./actions-menu.template"
|
|
2858
3018
|
}
|
|
2859
3019
|
},
|
|
2860
3020
|
{
|
|
2861
3021
|
"kind": "js",
|
|
2862
|
-
"name": "
|
|
3022
|
+
"name": "*",
|
|
2863
3023
|
"declaration": {
|
|
2864
|
-
"name": "
|
|
2865
|
-
"
|
|
3024
|
+
"name": "*",
|
|
3025
|
+
"package": "./actions-menu"
|
|
2866
3026
|
}
|
|
2867
3027
|
}
|
|
2868
3028
|
]
|
|
2869
3029
|
},
|
|
2870
3030
|
{
|
|
2871
3031
|
"kind": "javascript-module",
|
|
2872
|
-
"path": "src/ai-
|
|
3032
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2873
3033
|
"declarations": [
|
|
2874
3034
|
{
|
|
2875
|
-
"kind": "
|
|
2876
|
-
"name": "
|
|
2877
|
-
"
|
|
3035
|
+
"kind": "function",
|
|
3036
|
+
"name": "foundationAiIndicatorStyles",
|
|
3037
|
+
"return": {
|
|
3038
|
+
"type": {
|
|
3039
|
+
"text": "ElementStyles"
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
"parameters": [
|
|
3043
|
+
{
|
|
3044
|
+
"name": "context",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "ElementDefinitionContext"
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
"name": "definition",
|
|
3051
|
+
"type": {
|
|
3052
|
+
"text": "FoundationElementDefinition"
|
|
3053
|
+
}
|
|
3054
|
+
}
|
|
3055
|
+
]
|
|
2878
3056
|
}
|
|
2879
3057
|
],
|
|
2880
3058
|
"exports": [
|
|
2881
3059
|
{
|
|
2882
3060
|
"kind": "js",
|
|
2883
|
-
"name": "
|
|
3061
|
+
"name": "foundationAiIndicatorStyles",
|
|
2884
3062
|
"declaration": {
|
|
2885
|
-
"name": "
|
|
2886
|
-
"module": "src/ai-
|
|
3063
|
+
"name": "foundationAiIndicatorStyles",
|
|
3064
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2887
3065
|
}
|
|
2888
3066
|
}
|
|
2889
3067
|
]
|
|
2890
3068
|
},
|
|
2891
3069
|
{
|
|
2892
3070
|
"kind": "javascript-module",
|
|
2893
|
-
"path": "src/ai-
|
|
3071
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2894
3072
|
"declarations": [
|
|
2895
3073
|
{
|
|
2896
3074
|
"kind": "variable",
|
|
2897
|
-
"name": "
|
|
3075
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2898
3076
|
"type": {
|
|
2899
|
-
"text": "ViewTemplate<
|
|
3077
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2900
3078
|
},
|
|
2901
|
-
"default": "html`\n ${(x) =>
|
|
3079
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2902
3080
|
}
|
|
2903
3081
|
],
|
|
2904
3082
|
"exports": [
|
|
2905
3083
|
{
|
|
2906
3084
|
"kind": "js",
|
|
2907
|
-
"name": "
|
|
3085
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2908
3086
|
"declaration": {
|
|
2909
|
-
"name": "
|
|
2910
|
-
"module": "src/ai-
|
|
3087
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3088
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2911
3089
|
}
|
|
2912
3090
|
}
|
|
2913
3091
|
]
|
|
2914
3092
|
},
|
|
2915
3093
|
{
|
|
2916
3094
|
"kind": "javascript-module",
|
|
2917
|
-
"path": "src/ai-
|
|
3095
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2918
3096
|
"declarations": [
|
|
2919
3097
|
{
|
|
2920
3098
|
"kind": "class",
|
|
2921
|
-
"description": "
|
|
2922
|
-
"name": "
|
|
3099
|
+
"description": "",
|
|
3100
|
+
"name": "AiIndicator",
|
|
2923
3101
|
"members": [
|
|
2924
3102
|
{
|
|
2925
3103
|
"kind": "field",
|
|
@@ -2930,54 +3108,25 @@
|
|
|
2930
3108
|
},
|
|
2931
3109
|
{
|
|
2932
3110
|
"kind": "field",
|
|
2933
|
-
"name": "
|
|
2934
|
-
"type": {
|
|
2935
|
-
"text": "string"
|
|
2936
|
-
},
|
|
2937
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
"kind": "field",
|
|
2941
|
-
"name": "disabled",
|
|
2942
|
-
"type": {
|
|
2943
|
-
"text": "boolean"
|
|
2944
|
-
}
|
|
2945
|
-
},
|
|
2946
|
-
{
|
|
2947
|
-
"kind": "field",
|
|
2948
|
-
"name": "inputValue",
|
|
2949
|
-
"type": {
|
|
2950
|
-
"text": "string"
|
|
2951
|
-
},
|
|
2952
|
-
"default": "''"
|
|
2953
|
-
},
|
|
2954
|
-
{
|
|
2955
|
-
"kind": "field",
|
|
2956
|
-
"name": "isInterpreting",
|
|
3111
|
+
"name": "aiProvider",
|
|
2957
3112
|
"type": {
|
|
2958
|
-
"text": "
|
|
3113
|
+
"text": "AIProvider | undefined"
|
|
2959
3114
|
},
|
|
2960
|
-
"
|
|
3115
|
+
"privacy": "private",
|
|
3116
|
+
"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.",
|
|
3117
|
+
"readonly": true
|
|
2961
3118
|
},
|
|
2962
3119
|
{
|
|
2963
3120
|
"kind": "field",
|
|
2964
|
-
"name": "
|
|
3121
|
+
"name": "status",
|
|
2965
3122
|
"type": {
|
|
2966
|
-
"text": "
|
|
3123
|
+
"text": "AIStatus | null"
|
|
2967
3124
|
},
|
|
2968
3125
|
"default": "null"
|
|
2969
3126
|
},
|
|
2970
3127
|
{
|
|
2971
3128
|
"kind": "field",
|
|
2972
|
-
"name": "
|
|
2973
|
-
"type": {
|
|
2974
|
-
"text": "CriteriaGroup[]"
|
|
2975
|
-
},
|
|
2976
|
-
"default": "[]"
|
|
2977
|
-
},
|
|
2978
|
-
{
|
|
2979
|
-
"kind": "field",
|
|
2980
|
-
"name": "showingChips",
|
|
3129
|
+
"name": "open",
|
|
2981
3130
|
"type": {
|
|
2982
3131
|
"text": "boolean"
|
|
2983
3132
|
},
|
|
@@ -2985,15 +3134,15 @@
|
|
|
2985
3134
|
},
|
|
2986
3135
|
{
|
|
2987
3136
|
"kind": "field",
|
|
2988
|
-
"name": "
|
|
3137
|
+
"name": "state",
|
|
2989
3138
|
"type": {
|
|
2990
|
-
"text": "
|
|
3139
|
+
"text": "AIIndicatorState"
|
|
2991
3140
|
},
|
|
2992
|
-
"default": "
|
|
3141
|
+
"default": "'none'"
|
|
2993
3142
|
},
|
|
2994
3143
|
{
|
|
2995
3144
|
"kind": "field",
|
|
2996
|
-
"name": "
|
|
3145
|
+
"name": "isInstalling",
|
|
2997
3146
|
"type": {
|
|
2998
3147
|
"text": "boolean"
|
|
2999
3148
|
},
|
|
@@ -3001,33 +3150,29 @@
|
|
|
3001
3150
|
},
|
|
3002
3151
|
{
|
|
3003
3152
|
"kind": "field",
|
|
3004
|
-
"name": "
|
|
3153
|
+
"name": "pollTimer",
|
|
3005
3154
|
"type": {
|
|
3006
|
-
"text": "
|
|
3155
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3007
3156
|
},
|
|
3008
|
-
"privacy": "
|
|
3157
|
+
"privacy": "private",
|
|
3158
|
+
"default": "null"
|
|
3009
3159
|
},
|
|
3010
3160
|
{
|
|
3011
3161
|
"kind": "field",
|
|
3012
|
-
"name": "
|
|
3013
|
-
"
|
|
3014
|
-
"text": "(() => void) | null"
|
|
3015
|
-
},
|
|
3016
|
-
"privacy": "private",
|
|
3017
|
-
"default": "null"
|
|
3162
|
+
"name": "clickOutside",
|
|
3163
|
+
"privacy": "private"
|
|
3018
3164
|
},
|
|
3019
3165
|
{
|
|
3020
3166
|
"kind": "field",
|
|
3021
|
-
"name": "
|
|
3167
|
+
"name": "chromeStatusLabel",
|
|
3022
3168
|
"type": {
|
|
3023
|
-
"text": "
|
|
3169
|
+
"text": "string | null"
|
|
3024
3170
|
},
|
|
3025
|
-
"
|
|
3026
|
-
"default": "null"
|
|
3171
|
+
"readonly": true
|
|
3027
3172
|
},
|
|
3028
3173
|
{
|
|
3029
3174
|
"kind": "field",
|
|
3030
|
-
"name": "
|
|
3175
|
+
"name": "canInstall",
|
|
3031
3176
|
"type": {
|
|
3032
3177
|
"text": "boolean"
|
|
3033
3178
|
},
|
|
@@ -3035,65 +3180,69 @@
|
|
|
3035
3180
|
},
|
|
3036
3181
|
{
|
|
3037
3182
|
"kind": "field",
|
|
3038
|
-
"name": "
|
|
3183
|
+
"name": "isDownloading",
|
|
3039
3184
|
"type": {
|
|
3040
|
-
"text": "
|
|
3185
|
+
"text": "boolean"
|
|
3041
3186
|
},
|
|
3042
3187
|
"readonly": true
|
|
3043
3188
|
},
|
|
3044
3189
|
{
|
|
3045
3190
|
"kind": "method",
|
|
3046
|
-
"name": "
|
|
3047
|
-
"privacy": "private",
|
|
3191
|
+
"name": "openChanged",
|
|
3048
3192
|
"return": {
|
|
3049
3193
|
"type": {
|
|
3050
|
-
"text": "
|
|
3194
|
+
"text": "void"
|
|
3051
3195
|
}
|
|
3052
|
-
}
|
|
3196
|
+
}
|
|
3197
|
+
},
|
|
3198
|
+
{
|
|
3199
|
+
"kind": "method",
|
|
3200
|
+
"name": "handleClickOutside",
|
|
3201
|
+
"privacy": "private",
|
|
3053
3202
|
"parameters": [
|
|
3054
3203
|
{
|
|
3055
|
-
"name": "
|
|
3204
|
+
"name": "event",
|
|
3056
3205
|
"type": {
|
|
3057
|
-
"text": "
|
|
3206
|
+
"text": "MouseEvent"
|
|
3058
3207
|
}
|
|
3059
3208
|
}
|
|
3060
3209
|
]
|
|
3061
3210
|
},
|
|
3062
3211
|
{
|
|
3063
3212
|
"kind": "method",
|
|
3064
|
-
"name": "
|
|
3213
|
+
"name": "toggleDropdown"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"kind": "method",
|
|
3217
|
+
"name": "refreshStatus",
|
|
3065
3218
|
"return": {
|
|
3066
3219
|
"type": {
|
|
3067
|
-
"text": "void"
|
|
3220
|
+
"text": "Promise<void>"
|
|
3068
3221
|
}
|
|
3069
3222
|
}
|
|
3070
3223
|
},
|
|
3071
3224
|
{
|
|
3072
3225
|
"kind": "method",
|
|
3073
|
-
"name": "
|
|
3226
|
+
"name": "deriveState",
|
|
3227
|
+
"privacy": "private",
|
|
3074
3228
|
"return": {
|
|
3075
3229
|
"type": {
|
|
3076
|
-
"text": "
|
|
3230
|
+
"text": "AIIndicatorState"
|
|
3077
3231
|
}
|
|
3078
3232
|
},
|
|
3079
3233
|
"parameters": [
|
|
3080
3234
|
{
|
|
3081
|
-
"name": "
|
|
3082
|
-
"type": {
|
|
3083
|
-
"text": "number"
|
|
3084
|
-
}
|
|
3085
|
-
},
|
|
3086
|
-
{
|
|
3087
|
-
"name": "clauseIndex",
|
|
3235
|
+
"name": "s",
|
|
3088
3236
|
"type": {
|
|
3089
|
-
"text": "
|
|
3237
|
+
"text": "AIStatus | null"
|
|
3090
3238
|
}
|
|
3091
3239
|
}
|
|
3092
3240
|
]
|
|
3093
3241
|
},
|
|
3094
3242
|
{
|
|
3095
3243
|
"kind": "method",
|
|
3096
|
-
"name": "
|
|
3244
|
+
"name": "maybeStartPolling",
|
|
3245
|
+
"privacy": "private",
|
|
3097
3246
|
"return": {
|
|
3098
3247
|
"type": {
|
|
3099
3248
|
"text": "void"
|
|
@@ -3102,24 +3251,32 @@
|
|
|
3102
3251
|
},
|
|
3103
3252
|
{
|
|
3104
3253
|
"kind": "method",
|
|
3105
|
-
"name": "
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
"kind": "method",
|
|
3113
|
-
"name": "clear"
|
|
3254
|
+
"name": "startPolling",
|
|
3255
|
+
"privacy": "private",
|
|
3256
|
+
"return": {
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "void"
|
|
3259
|
+
}
|
|
3260
|
+
}
|
|
3114
3261
|
},
|
|
3115
3262
|
{
|
|
3116
3263
|
"kind": "method",
|
|
3117
|
-
"name": "
|
|
3264
|
+
"name": "stopPolling",
|
|
3265
|
+
"privacy": "private",
|
|
3266
|
+
"return": {
|
|
3267
|
+
"type": {
|
|
3268
|
+
"text": "void"
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3118
3271
|
},
|
|
3119
3272
|
{
|
|
3120
3273
|
"kind": "method",
|
|
3121
|
-
"name": "
|
|
3122
|
-
"
|
|
3274
|
+
"name": "onInstall",
|
|
3275
|
+
"return": {
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "Promise<void>"
|
|
3278
|
+
}
|
|
3279
|
+
}
|
|
3123
3280
|
},
|
|
3124
3281
|
{
|
|
3125
3282
|
"kind": "field",
|
|
@@ -3233,245 +3390,88 @@
|
|
|
3233
3390
|
}
|
|
3234
3391
|
}
|
|
3235
3392
|
],
|
|
3236
|
-
"events": [
|
|
3237
|
-
{
|
|
3238
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3239
|
-
"name": "criteria-changed"
|
|
3240
|
-
},
|
|
3241
|
-
{
|
|
3242
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3243
|
-
"name": "validation-errors"
|
|
3244
|
-
}
|
|
3245
|
-
],
|
|
3246
|
-
"attributes": [
|
|
3247
|
-
{
|
|
3248
|
-
"name": "placeholder",
|
|
3249
|
-
"type": {
|
|
3250
|
-
"text": "string"
|
|
3251
|
-
},
|
|
3252
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3253
|
-
"fieldName": "placeholder"
|
|
3254
|
-
},
|
|
3255
|
-
{
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "boolean"
|
|
3258
|
-
},
|
|
3259
|
-
"fieldName": "disabled"
|
|
3260
|
-
}
|
|
3261
|
-
],
|
|
3262
3393
|
"superclass": {
|
|
3263
3394
|
"name": "FoundationElement",
|
|
3264
3395
|
"package": "@microsoft/fast-foundation"
|
|
3265
3396
|
},
|
|
3266
|
-
"tagName": "%%prefix%%-ai-
|
|
3397
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3267
3398
|
"customElement": true
|
|
3268
3399
|
},
|
|
3269
3400
|
{
|
|
3270
3401
|
"kind": "variable",
|
|
3271
|
-
"name": "
|
|
3272
|
-
"type": {
|
|
3273
|
-
"text": "ShadowRootInit"
|
|
3274
|
-
},
|
|
3275
|
-
"default": "undefined"
|
|
3276
|
-
},
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "variable",
|
|
3279
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3280
|
-
"type": {
|
|
3281
|
-
"text": "object"
|
|
3282
|
-
},
|
|
3283
|
-
"default": "{}"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"kind": "variable",
|
|
3287
|
-
"name": "foundationAiCriteriaSearch"
|
|
3402
|
+
"name": "foundationAiIndicator"
|
|
3288
3403
|
}
|
|
3289
3404
|
],
|
|
3290
3405
|
"exports": [
|
|
3291
3406
|
{
|
|
3292
3407
|
"kind": "js",
|
|
3293
|
-
"name": "
|
|
3294
|
-
"declaration": {
|
|
3295
|
-
"name": "AiCriteriaSearch",
|
|
3296
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3297
|
-
}
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"kind": "js",
|
|
3301
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3302
|
-
"declaration": {
|
|
3303
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3304
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3305
|
-
}
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "js",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3408
|
+
"name": "AiIndicator",
|
|
3310
3409
|
"declaration": {
|
|
3311
|
-
"name": "
|
|
3312
|
-
"module": "src/ai-
|
|
3410
|
+
"name": "AiIndicator",
|
|
3411
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3313
3412
|
}
|
|
3314
3413
|
},
|
|
3315
3414
|
{
|
|
3316
3415
|
"kind": "js",
|
|
3317
|
-
"name": "
|
|
3416
|
+
"name": "foundationAiIndicator",
|
|
3318
3417
|
"declaration": {
|
|
3319
|
-
"name": "
|
|
3320
|
-
"module": "src/ai-
|
|
3418
|
+
"name": "foundationAiIndicator",
|
|
3419
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3321
3420
|
}
|
|
3322
3421
|
}
|
|
3323
3422
|
]
|
|
3324
3423
|
},
|
|
3325
3424
|
{
|
|
3326
3425
|
"kind": "javascript-module",
|
|
3327
|
-
"path": "src/ai-
|
|
3426
|
+
"path": "src/ai-indicator/index.ts",
|
|
3328
3427
|
"declarations": [],
|
|
3329
3428
|
"exports": [
|
|
3330
3429
|
{
|
|
3331
3430
|
"kind": "js",
|
|
3332
|
-
"name": "
|
|
3333
|
-
"declaration": {
|
|
3334
|
-
"name": "AiCriteriaSearch",
|
|
3335
|
-
"module": "./ai-criteria-search"
|
|
3336
|
-
}
|
|
3337
|
-
},
|
|
3338
|
-
{
|
|
3339
|
-
"kind": "js",
|
|
3340
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3341
|
-
"declaration": {
|
|
3342
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3343
|
-
"module": "./ai-criteria-search"
|
|
3344
|
-
}
|
|
3345
|
-
},
|
|
3346
|
-
{
|
|
3347
|
-
"kind": "js",
|
|
3348
|
-
"name": "foundationAiCriteriaSearch",
|
|
3349
|
-
"declaration": {
|
|
3350
|
-
"name": "foundationAiCriteriaSearch",
|
|
3351
|
-
"module": "./ai-criteria-search"
|
|
3352
|
-
}
|
|
3353
|
-
},
|
|
3354
|
-
{
|
|
3355
|
-
"kind": "js",
|
|
3356
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3357
|
-
"declaration": {
|
|
3358
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3359
|
-
"module": "./ai-criteria-search"
|
|
3360
|
-
}
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"kind": "js",
|
|
3364
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3365
|
-
"declaration": {
|
|
3366
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3367
|
-
"module": "./ai-criteria-search.styles"
|
|
3368
|
-
}
|
|
3369
|
-
},
|
|
3370
|
-
{
|
|
3371
|
-
"kind": "js",
|
|
3372
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3431
|
+
"name": "AiIndicator",
|
|
3373
3432
|
"declaration": {
|
|
3374
|
-
"name": "
|
|
3375
|
-
"module": "./ai-
|
|
3433
|
+
"name": "AiIndicator",
|
|
3434
|
+
"module": "./ai-indicator"
|
|
3376
3435
|
}
|
|
3377
3436
|
},
|
|
3378
3437
|
{
|
|
3379
3438
|
"kind": "js",
|
|
3380
|
-
"name": "
|
|
3439
|
+
"name": "foundationAiIndicator",
|
|
3381
3440
|
"declaration": {
|
|
3382
|
-
"name": "
|
|
3383
|
-
"
|
|
3441
|
+
"name": "foundationAiIndicator",
|
|
3442
|
+
"module": "./ai-indicator"
|
|
3384
3443
|
}
|
|
3385
3444
|
},
|
|
3386
3445
|
{
|
|
3387
3446
|
"kind": "js",
|
|
3388
|
-
"name": "
|
|
3447
|
+
"name": "type",
|
|
3389
3448
|
"declaration": {
|
|
3390
|
-
"name": "
|
|
3391
|
-
"
|
|
3449
|
+
"name": "type",
|
|
3450
|
+
"module": "./ai-indicator"
|
|
3392
3451
|
}
|
|
3393
3452
|
},
|
|
3394
3453
|
{
|
|
3395
3454
|
"kind": "js",
|
|
3396
|
-
"name": "
|
|
3455
|
+
"name": "AIIndicatorState",
|
|
3397
3456
|
"declaration": {
|
|
3398
|
-
"name": "
|
|
3399
|
-
"
|
|
3457
|
+
"name": "AIIndicatorState",
|
|
3458
|
+
"module": "./ai-indicator"
|
|
3400
3459
|
}
|
|
3401
|
-
}
|
|
3402
|
-
]
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"kind": "javascript-module",
|
|
3406
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3407
|
-
"declarations": [
|
|
3408
|
-
{
|
|
3409
|
-
"kind": "function",
|
|
3410
|
-
"name": "formatValidationErrors",
|
|
3411
|
-
"return": {
|
|
3412
|
-
"type": {
|
|
3413
|
-
"text": "string"
|
|
3414
|
-
}
|
|
3415
|
-
},
|
|
3416
|
-
"parameters": [
|
|
3417
|
-
{
|
|
3418
|
-
"name": "errors",
|
|
3419
|
-
"type": {
|
|
3420
|
-
"text": "ValidationError[]"
|
|
3421
|
-
}
|
|
3422
|
-
}
|
|
3423
|
-
],
|
|
3424
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3425
3460
|
},
|
|
3426
|
-
{
|
|
3427
|
-
"kind": "function",
|
|
3428
|
-
"name": "showCriteriaError",
|
|
3429
|
-
"return": {
|
|
3430
|
-
"type": {
|
|
3431
|
-
"text": "void"
|
|
3432
|
-
}
|
|
3433
|
-
},
|
|
3434
|
-
"parameters": [
|
|
3435
|
-
{
|
|
3436
|
-
"name": "title",
|
|
3437
|
-
"type": {
|
|
3438
|
-
"text": "string"
|
|
3439
|
-
},
|
|
3440
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3441
|
-
},
|
|
3442
|
-
{
|
|
3443
|
-
"name": "body",
|
|
3444
|
-
"type": {
|
|
3445
|
-
"text": "string"
|
|
3446
|
-
},
|
|
3447
|
-
"description": "Error message to display"
|
|
3448
|
-
},
|
|
3449
|
-
{
|
|
3450
|
-
"name": "tagName",
|
|
3451
|
-
"type": {
|
|
3452
|
-
"text": "string"
|
|
3453
|
-
},
|
|
3454
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3455
|
-
}
|
|
3456
|
-
],
|
|
3457
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3458
|
-
}
|
|
3459
|
-
],
|
|
3460
|
-
"exports": [
|
|
3461
3461
|
{
|
|
3462
3462
|
"kind": "js",
|
|
3463
|
-
"name": "
|
|
3463
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3464
3464
|
"declaration": {
|
|
3465
|
-
"name": "
|
|
3466
|
-
"module": "
|
|
3465
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3466
|
+
"module": "./ai-indicator.template"
|
|
3467
3467
|
}
|
|
3468
3468
|
},
|
|
3469
3469
|
{
|
|
3470
3470
|
"kind": "js",
|
|
3471
|
-
"name": "
|
|
3471
|
+
"name": "foundationAiIndicatorStyles",
|
|
3472
3472
|
"declaration": {
|
|
3473
|
-
"name": "
|
|
3474
|
-
"module": "
|
|
3473
|
+
"name": "foundationAiIndicatorStyles",
|
|
3474
|
+
"module": "./ai-indicator.styles"
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
]
|