@genesislcap/foundation-ui 14.451.3-alpha-861508d.0 → 14.451.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +966 -966
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +19 -19
|
@@ -1825,275 +1825,208 @@
|
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1828
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1829
1829
|
"declarations": [
|
|
1830
1830
|
{
|
|
1831
|
-
"kind": "
|
|
1832
|
-
"name": "
|
|
1833
|
-
"
|
|
1834
|
-
"type": {
|
|
1835
|
-
"text": "ElementStyles"
|
|
1836
|
-
}
|
|
1837
|
-
},
|
|
1838
|
-
"parameters": [
|
|
1839
|
-
{
|
|
1840
|
-
"name": "context",
|
|
1841
|
-
"type": {
|
|
1842
|
-
"text": "ElementDefinitionContext"
|
|
1843
|
-
}
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"name": "definition",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "FoundationElementDefinition"
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
]
|
|
1831
|
+
"kind": "variable",
|
|
1832
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1833
|
+
"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`"
|
|
1852
1834
|
}
|
|
1853
1835
|
],
|
|
1854
1836
|
"exports": [
|
|
1855
1837
|
{
|
|
1856
1838
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1839
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1858
1840
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "src/
|
|
1841
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1842
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1861
1843
|
}
|
|
1862
1844
|
}
|
|
1863
1845
|
]
|
|
1864
1846
|
},
|
|
1865
1847
|
{
|
|
1866
1848
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/
|
|
1849
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1868
1850
|
"declarations": [
|
|
1869
1851
|
{
|
|
1870
|
-
"kind": "
|
|
1871
|
-
"name": "
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
"text": "ViewTemplate<Accordion>"
|
|
1875
|
-
}
|
|
1852
|
+
"kind": "variable",
|
|
1853
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1854
|
+
"type": {
|
|
1855
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
1876
1856
|
},
|
|
1877
|
-
"
|
|
1878
|
-
{
|
|
1879
|
-
"name": "context",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "ElementDefinitionContext"
|
|
1882
|
-
}
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
"name": "definition",
|
|
1886
|
-
"type": {
|
|
1887
|
-
"text": "FoundationElementDefinition"
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1890
|
-
]
|
|
1857
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
1891
1858
|
}
|
|
1892
1859
|
],
|
|
1893
1860
|
"exports": [
|
|
1894
1861
|
{
|
|
1895
1862
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
1863
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1897
1864
|
"declaration": {
|
|
1898
|
-
"name": "
|
|
1899
|
-
"module": "src/
|
|
1865
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1866
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
1900
1867
|
}
|
|
1901
1868
|
}
|
|
1902
1869
|
]
|
|
1903
1870
|
},
|
|
1904
1871
|
{
|
|
1905
1872
|
"kind": "javascript-module",
|
|
1906
|
-
"path": "src/
|
|
1873
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
1907
1874
|
"declarations": [
|
|
1908
1875
|
{
|
|
1909
1876
|
"kind": "class",
|
|
1910
|
-
"description": "",
|
|
1911
|
-
"name": "
|
|
1912
|
-
"
|
|
1913
|
-
"name": "FASTAccordion",
|
|
1914
|
-
"package": "@microsoft/fast-foundation"
|
|
1915
|
-
},
|
|
1916
|
-
"tagName": "%%prefix%%-accordion",
|
|
1917
|
-
"customElement": true,
|
|
1918
|
-
"attributes": [
|
|
1877
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1878
|
+
"name": "AiCriteriaSearch",
|
|
1879
|
+
"members": [
|
|
1919
1880
|
{
|
|
1920
|
-
"
|
|
1881
|
+
"kind": "field",
|
|
1882
|
+
"name": "providerRegistry",
|
|
1921
1883
|
"type": {
|
|
1922
|
-
"text": "
|
|
1923
|
-
},
|
|
1924
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1925
|
-
"fieldName": "expandmode",
|
|
1926
|
-
"inheritedFrom": {
|
|
1927
|
-
"name": "Accordion",
|
|
1928
|
-
"module": "src/accordion/accordion.ts"
|
|
1884
|
+
"text": "AIProviderRegistry"
|
|
1929
1885
|
}
|
|
1930
|
-
}
|
|
1931
|
-
],
|
|
1932
|
-
"members": [
|
|
1886
|
+
},
|
|
1933
1887
|
{
|
|
1934
1888
|
"kind": "field",
|
|
1935
|
-
"name": "
|
|
1889
|
+
"name": "placeholder",
|
|
1936
1890
|
"type": {
|
|
1937
|
-
"text": "
|
|
1891
|
+
"text": "string"
|
|
1938
1892
|
},
|
|
1939
|
-
"
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1893
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"kind": "field",
|
|
1897
|
+
"name": "disabled",
|
|
1898
|
+
"type": {
|
|
1899
|
+
"text": "boolean"
|
|
1944
1900
|
}
|
|
1945
1901
|
},
|
|
1946
1902
|
{
|
|
1947
1903
|
"kind": "field",
|
|
1948
|
-
"name": "
|
|
1904
|
+
"name": "inputValue",
|
|
1949
1905
|
"type": {
|
|
1950
|
-
"text": "string
|
|
1906
|
+
"text": "string"
|
|
1951
1907
|
},
|
|
1952
|
-
"
|
|
1953
|
-
"inheritedFrom": {
|
|
1954
|
-
"name": "Accordion",
|
|
1955
|
-
"module": "src/accordion/accordion.ts"
|
|
1956
|
-
}
|
|
1908
|
+
"default": "''"
|
|
1957
1909
|
},
|
|
1958
1910
|
{
|
|
1959
1911
|
"kind": "field",
|
|
1960
|
-
"name": "
|
|
1912
|
+
"name": "isInterpreting",
|
|
1961
1913
|
"type": {
|
|
1962
|
-
"text": "
|
|
1914
|
+
"text": "boolean"
|
|
1963
1915
|
},
|
|
1964
|
-
"
|
|
1965
|
-
"default": "0",
|
|
1966
|
-
"inheritedFrom": {
|
|
1967
|
-
"name": "Accordion",
|
|
1968
|
-
"module": "src/accordion/accordion.ts"
|
|
1969
|
-
}
|
|
1916
|
+
"default": "false"
|
|
1970
1917
|
},
|
|
1971
1918
|
{
|
|
1972
1919
|
"kind": "field",
|
|
1973
|
-
"name": "
|
|
1920
|
+
"name": "lastValidCriteria",
|
|
1974
1921
|
"type": {
|
|
1975
|
-
"text": "
|
|
1922
|
+
"text": "string | null"
|
|
1976
1923
|
},
|
|
1977
|
-
"
|
|
1978
|
-
"inheritedFrom": {
|
|
1979
|
-
"name": "Accordion",
|
|
1980
|
-
"module": "src/accordion/accordion.ts"
|
|
1981
|
-
}
|
|
1924
|
+
"default": "null"
|
|
1982
1925
|
},
|
|
1983
1926
|
{
|
|
1984
1927
|
"kind": "field",
|
|
1985
|
-
"name": "
|
|
1986
|
-
"
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
}
|
|
1928
|
+
"name": "activeGroups",
|
|
1929
|
+
"type": {
|
|
1930
|
+
"text": "CriteriaGroup[]"
|
|
1931
|
+
},
|
|
1932
|
+
"default": "[]"
|
|
1991
1933
|
},
|
|
1992
1934
|
{
|
|
1993
|
-
"kind": "
|
|
1994
|
-
"name": "
|
|
1995
|
-
"
|
|
1996
|
-
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "AccordionItem | null"
|
|
1999
|
-
}
|
|
1935
|
+
"kind": "field",
|
|
1936
|
+
"name": "showingChips",
|
|
1937
|
+
"type": {
|
|
1938
|
+
"text": "boolean"
|
|
2000
1939
|
},
|
|
2001
|
-
"
|
|
2002
|
-
"name": "Accordion",
|
|
2003
|
-
"module": "src/accordion/accordion.ts"
|
|
2004
|
-
}
|
|
1940
|
+
"default": "false"
|
|
2005
1941
|
},
|
|
2006
1942
|
{
|
|
2007
1943
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
}
|
|
1944
|
+
"name": "fieldMetadata",
|
|
1945
|
+
"type": {
|
|
1946
|
+
"text": "MetadataDetail[] | string[]"
|
|
1947
|
+
},
|
|
1948
|
+
"default": "[]"
|
|
2014
1949
|
},
|
|
2015
1950
|
{
|
|
2016
|
-
"kind": "
|
|
2017
|
-
"name": "
|
|
2018
|
-
"
|
|
2019
|
-
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "void"
|
|
2022
|
-
}
|
|
1951
|
+
"kind": "field",
|
|
1952
|
+
"name": "isRecording",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "boolean"
|
|
2023
1955
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"name": "Accordion",
|
|
2026
|
-
"module": "src/accordion/accordion.ts"
|
|
2027
|
-
}
|
|
1956
|
+
"default": "false"
|
|
2028
1957
|
},
|
|
2029
1958
|
{
|
|
2030
1959
|
"kind": "field",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
}
|
|
1960
|
+
"name": "textAreaRef",
|
|
1961
|
+
"type": {
|
|
1962
|
+
"text": "HTMLTextAreaElement"
|
|
1963
|
+
},
|
|
1964
|
+
"privacy": "public"
|
|
2037
1965
|
},
|
|
2038
1966
|
{
|
|
2039
1967
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
1968
|
+
"name": "stopRecording",
|
|
1969
|
+
"type": {
|
|
1970
|
+
"text": "(() => void) | null"
|
|
1971
|
+
},
|
|
2041
1972
|
"privacy": "private",
|
|
2042
|
-
"
|
|
2043
|
-
"name": "Accordion",
|
|
2044
|
-
"module": "src/accordion/accordion.ts"
|
|
2045
|
-
}
|
|
1973
|
+
"default": "null"
|
|
2046
1974
|
},
|
|
2047
1975
|
{
|
|
2048
|
-
"kind": "
|
|
2049
|
-
"name": "
|
|
1976
|
+
"kind": "field",
|
|
1977
|
+
"name": "speechApplyDebounceTimer",
|
|
1978
|
+
"type": {
|
|
1979
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
1980
|
+
},
|
|
2050
1981
|
"privacy": "private",
|
|
2051
|
-
"
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
1982
|
+
"default": "null"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "field",
|
|
1986
|
+
"name": "speechAvailable",
|
|
1987
|
+
"type": {
|
|
1988
|
+
"text": "boolean"
|
|
2055
1989
|
},
|
|
2056
|
-
"
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
1990
|
+
"readonly": true
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"kind": "field",
|
|
1994
|
+
"name": "criteriaChips",
|
|
1995
|
+
"type": {
|
|
1996
|
+
"text": "CriteriaChip[]"
|
|
1997
|
+
},
|
|
1998
|
+
"readonly": true
|
|
2060
1999
|
},
|
|
2061
2000
|
{
|
|
2062
2001
|
"kind": "method",
|
|
2063
|
-
"name": "
|
|
2002
|
+
"name": "getFieldLabel",
|
|
2064
2003
|
"privacy": "private",
|
|
2065
2004
|
"return": {
|
|
2066
2005
|
"type": {
|
|
2067
|
-
"text": "
|
|
2006
|
+
"text": "string"
|
|
2068
2007
|
}
|
|
2069
2008
|
},
|
|
2070
|
-
"
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
"privacy": "private",
|
|
2079
|
-
"inheritedFrom": {
|
|
2080
|
-
"name": "Accordion",
|
|
2081
|
-
"module": "src/accordion/accordion.ts"
|
|
2082
|
-
}
|
|
2009
|
+
"parameters": [
|
|
2010
|
+
{
|
|
2011
|
+
"name": "fieldName",
|
|
2012
|
+
"type": {
|
|
2013
|
+
"text": "string"
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
]
|
|
2083
2017
|
},
|
|
2084
2018
|
{
|
|
2085
|
-
"kind": "
|
|
2086
|
-
"name": "
|
|
2087
|
-
"
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2019
|
+
"kind": "method",
|
|
2020
|
+
"name": "toggleCriteriaView",
|
|
2021
|
+
"return": {
|
|
2022
|
+
"type": {
|
|
2023
|
+
"text": "void"
|
|
2024
|
+
}
|
|
2091
2025
|
}
|
|
2092
2026
|
},
|
|
2093
2027
|
{
|
|
2094
2028
|
"kind": "method",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"privacy": "private",
|
|
2029
|
+
"name": "removeChip",
|
|
2097
2030
|
"return": {
|
|
2098
2031
|
"type": {
|
|
2099
2032
|
"text": "void"
|
|
@@ -2101,31 +2034,49 @@
|
|
|
2101
2034
|
},
|
|
2102
2035
|
"parameters": [
|
|
2103
2036
|
{
|
|
2104
|
-
"name": "
|
|
2037
|
+
"name": "groupIndex",
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "number"
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"name": "clauseIndex",
|
|
2105
2044
|
"type": {
|
|
2106
2045
|
"text": "number"
|
|
2107
2046
|
}
|
|
2108
2047
|
}
|
|
2109
|
-
]
|
|
2110
|
-
"inheritedFrom": {
|
|
2111
|
-
"name": "Accordion",
|
|
2112
|
-
"module": "src/accordion/accordion.ts"
|
|
2113
|
-
}
|
|
2048
|
+
]
|
|
2114
2049
|
},
|
|
2115
2050
|
{
|
|
2116
2051
|
"kind": "method",
|
|
2117
|
-
"name": "
|
|
2118
|
-
"privacy": "private",
|
|
2052
|
+
"name": "clearChips",
|
|
2119
2053
|
"return": {
|
|
2120
2054
|
"type": {
|
|
2121
2055
|
"text": "void"
|
|
2122
2056
|
}
|
|
2123
|
-
},
|
|
2124
|
-
"inheritedFrom": {
|
|
2125
|
-
"name": "Accordion",
|
|
2126
|
-
"module": "src/accordion/accordion.ts"
|
|
2127
2057
|
}
|
|
2128
2058
|
},
|
|
2059
|
+
{
|
|
2060
|
+
"kind": "method",
|
|
2061
|
+
"name": "handleSubmit"
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "method",
|
|
2065
|
+
"name": "handleBlur"
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"kind": "method",
|
|
2069
|
+
"name": "clear"
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"kind": "method",
|
|
2073
|
+
"name": "toggleSpeechInput"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"kind": "method",
|
|
2077
|
+
"name": "clearSpeechApplyDebounce",
|
|
2078
|
+
"privacy": "private"
|
|
2079
|
+
},
|
|
2129
2080
|
{
|
|
2130
2081
|
"kind": "field",
|
|
2131
2082
|
"name": "_presentation",
|
|
@@ -2240,26 +2191,48 @@
|
|
|
2240
2191
|
],
|
|
2241
2192
|
"events": [
|
|
2242
2193
|
{
|
|
2243
|
-
"description": "
|
|
2244
|
-
"name": "
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2194
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2195
|
+
"name": "criteria-changed"
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2199
|
+
"name": "validation-errors"
|
|
2249
2200
|
}
|
|
2250
|
-
]
|
|
2201
|
+
],
|
|
2202
|
+
"attributes": [
|
|
2203
|
+
{
|
|
2204
|
+
"name": "placeholder",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "string"
|
|
2207
|
+
},
|
|
2208
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2209
|
+
"fieldName": "placeholder"
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
"type": {
|
|
2213
|
+
"text": "boolean"
|
|
2214
|
+
},
|
|
2215
|
+
"fieldName": "disabled"
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
2218
|
+
"superclass": {
|
|
2219
|
+
"name": "FoundationElement",
|
|
2220
|
+
"package": "@microsoft/fast-foundation"
|
|
2221
|
+
},
|
|
2222
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2223
|
+
"customElement": true
|
|
2251
2224
|
},
|
|
2252
2225
|
{
|
|
2253
2226
|
"kind": "variable",
|
|
2254
|
-
"name": "
|
|
2227
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2255
2228
|
"type": {
|
|
2256
2229
|
"text": "ShadowRootInit"
|
|
2257
2230
|
},
|
|
2258
|
-
"default": "
|
|
2231
|
+
"default": "undefined"
|
|
2259
2232
|
},
|
|
2260
2233
|
{
|
|
2261
2234
|
"kind": "variable",
|
|
2262
|
-
"name": "
|
|
2235
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2263
2236
|
"type": {
|
|
2264
2237
|
"text": "object"
|
|
2265
2238
|
},
|
|
@@ -2267,188 +2240,351 @@
|
|
|
2267
2240
|
},
|
|
2268
2241
|
{
|
|
2269
2242
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation Accordion",
|
|
2272
|
-
"privacy": "public"
|
|
2243
|
+
"name": "foundationAiCriteriaSearch"
|
|
2273
2244
|
}
|
|
2274
2245
|
],
|
|
2275
2246
|
"exports": [
|
|
2276
2247
|
{
|
|
2277
2248
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2249
|
+
"name": "AiCriteriaSearch",
|
|
2279
2250
|
"declaration": {
|
|
2280
|
-
"name": "
|
|
2281
|
-
"module": "src/
|
|
2251
|
+
"name": "AiCriteriaSearch",
|
|
2252
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2282
2253
|
}
|
|
2283
2254
|
},
|
|
2284
2255
|
{
|
|
2285
2256
|
"kind": "js",
|
|
2286
|
-
"name": "
|
|
2257
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2287
2258
|
"declaration": {
|
|
2288
|
-
"name": "
|
|
2289
|
-
"module": "src/
|
|
2259
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2260
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2290
2261
|
}
|
|
2291
2262
|
},
|
|
2292
2263
|
{
|
|
2293
2264
|
"kind": "js",
|
|
2294
|
-
"name": "
|
|
2265
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2295
2266
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/
|
|
2267
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2268
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2298
2269
|
}
|
|
2299
2270
|
},
|
|
2300
2271
|
{
|
|
2301
2272
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2273
|
+
"name": "foundationAiCriteriaSearch",
|
|
2303
2274
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/
|
|
2275
|
+
"name": "foundationAiCriteriaSearch",
|
|
2276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2306
2277
|
}
|
|
2307
2278
|
}
|
|
2308
2279
|
]
|
|
2309
2280
|
},
|
|
2310
2281
|
{
|
|
2311
2282
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/
|
|
2283
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2313
2284
|
"declarations": [],
|
|
2314
2285
|
"exports": [
|
|
2315
2286
|
{
|
|
2316
2287
|
"kind": "js",
|
|
2317
|
-
"name": "
|
|
2288
|
+
"name": "AiCriteriaSearch",
|
|
2318
2289
|
"declaration": {
|
|
2319
|
-
"name": "
|
|
2320
|
-
"
|
|
2290
|
+
"name": "AiCriteriaSearch",
|
|
2291
|
+
"module": "./ai-criteria-search"
|
|
2321
2292
|
}
|
|
2322
2293
|
},
|
|
2323
2294
|
{
|
|
2324
2295
|
"kind": "js",
|
|
2325
|
-
"name": "
|
|
2296
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2326
2297
|
"declaration": {
|
|
2327
|
-
"name": "
|
|
2328
|
-
"
|
|
2298
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2299
|
+
"module": "./ai-criteria-search"
|
|
2329
2300
|
}
|
|
2330
2301
|
},
|
|
2331
2302
|
{
|
|
2332
2303
|
"kind": "js",
|
|
2333
|
-
"name": "
|
|
2304
|
+
"name": "foundationAiCriteriaSearch",
|
|
2334
2305
|
"declaration": {
|
|
2335
|
-
"name": "
|
|
2336
|
-
"
|
|
2306
|
+
"name": "foundationAiCriteriaSearch",
|
|
2307
|
+
"module": "./ai-criteria-search"
|
|
2337
2308
|
}
|
|
2338
|
-
}
|
|
2339
|
-
]
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2344
|
-
"declarations": [
|
|
2309
|
+
},
|
|
2345
2310
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2311
|
+
"kind": "js",
|
|
2312
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2313
|
+
"declaration": {
|
|
2314
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2315
|
+
"module": "./ai-criteria-search"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2352
2318
|
{
|
|
2353
2319
|
"kind": "js",
|
|
2354
2320
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2355
2321
|
"declaration": {
|
|
2356
2322
|
"name": "foundationAiCriteriaSearchStyles",
|
|
2357
|
-
"module": "
|
|
2323
|
+
"module": "./ai-criteria-search.styles"
|
|
2358
2324
|
}
|
|
2359
|
-
}
|
|
2360
|
-
]
|
|
2361
|
-
},
|
|
2362
|
-
{
|
|
2363
|
-
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2365
|
-
"declarations": [
|
|
2366
|
-
{
|
|
2367
|
-
"kind": "variable",
|
|
2368
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2369
|
-
"type": {
|
|
2370
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2371
|
-
},
|
|
2372
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2373
|
-
}
|
|
2374
|
-
],
|
|
2375
|
-
"exports": [
|
|
2325
|
+
},
|
|
2376
2326
|
{
|
|
2377
2327
|
"kind": "js",
|
|
2378
2328
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2379
2329
|
"declaration": {
|
|
2380
2330
|
"name": "foundationAiCriteriaSearchTemplate",
|
|
2381
|
-
"module": "
|
|
2331
|
+
"module": "./ai-criteria-search.template"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "js",
|
|
2336
|
+
"name": "*",
|
|
2337
|
+
"declaration": {
|
|
2338
|
+
"name": "*",
|
|
2339
|
+
"package": "./validation/criteria-ir"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"kind": "js",
|
|
2344
|
+
"name": "*",
|
|
2345
|
+
"declaration": {
|
|
2346
|
+
"name": "*",
|
|
2347
|
+
"package": "./validation/operator-map"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"kind": "js",
|
|
2352
|
+
"name": "*",
|
|
2353
|
+
"declaration": {
|
|
2354
|
+
"name": "*",
|
|
2355
|
+
"package": "./validation/schema-validator"
|
|
2382
2356
|
}
|
|
2383
2357
|
}
|
|
2384
2358
|
]
|
|
2385
2359
|
},
|
|
2386
2360
|
{
|
|
2387
2361
|
"kind": "javascript-module",
|
|
2388
|
-
"path": "src/ai-criteria-search/
|
|
2362
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2389
2363
|
"declarations": [
|
|
2390
2364
|
{
|
|
2391
|
-
"kind": "
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2394
|
-
|
|
2365
|
+
"kind": "function",
|
|
2366
|
+
"name": "formatValidationErrors",
|
|
2367
|
+
"return": {
|
|
2368
|
+
"type": {
|
|
2369
|
+
"text": "string"
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
"parameters": [
|
|
2395
2373
|
{
|
|
2396
|
-
"
|
|
2397
|
-
"name": "providerRegistry",
|
|
2374
|
+
"name": "errors",
|
|
2398
2375
|
"type": {
|
|
2399
|
-
"text": "
|
|
2376
|
+
"text": "ValidationError[]"
|
|
2400
2377
|
}
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2378
|
+
}
|
|
2379
|
+
],
|
|
2380
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"kind": "function",
|
|
2384
|
+
"name": "showCriteriaError",
|
|
2385
|
+
"return": {
|
|
2386
|
+
"type": {
|
|
2387
|
+
"text": "void"
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"parameters": [
|
|
2410
2391
|
{
|
|
2411
|
-
"
|
|
2412
|
-
"name": "disabled",
|
|
2392
|
+
"name": "title",
|
|
2413
2393
|
"type": {
|
|
2414
|
-
"text": "
|
|
2415
|
-
}
|
|
2394
|
+
"text": "string"
|
|
2395
|
+
},
|
|
2396
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2416
2397
|
},
|
|
2417
2398
|
{
|
|
2418
|
-
"
|
|
2419
|
-
"name": "inputValue",
|
|
2399
|
+
"name": "body",
|
|
2420
2400
|
"type": {
|
|
2421
2401
|
"text": "string"
|
|
2422
2402
|
},
|
|
2423
|
-
"
|
|
2403
|
+
"description": "Error message to display"
|
|
2424
2404
|
},
|
|
2425
2405
|
{
|
|
2426
|
-
"
|
|
2427
|
-
"name": "isInterpreting",
|
|
2406
|
+
"name": "tagName",
|
|
2428
2407
|
"type": {
|
|
2429
|
-
"text": "
|
|
2408
|
+
"text": "string"
|
|
2430
2409
|
},
|
|
2431
|
-
"
|
|
2410
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2411
|
+
}
|
|
2412
|
+
],
|
|
2413
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2414
|
+
}
|
|
2415
|
+
],
|
|
2416
|
+
"exports": [
|
|
2417
|
+
{
|
|
2418
|
+
"kind": "js",
|
|
2419
|
+
"name": "formatValidationErrors",
|
|
2420
|
+
"declaration": {
|
|
2421
|
+
"name": "formatValidationErrors",
|
|
2422
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2423
|
+
}
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "js",
|
|
2427
|
+
"name": "showCriteriaError",
|
|
2428
|
+
"declaration": {
|
|
2429
|
+
"name": "showCriteriaError",
|
|
2430
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
]
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"kind": "javascript-module",
|
|
2437
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2438
|
+
"declarations": [
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "function",
|
|
2441
|
+
"name": "actionsMenuBaseStyles",
|
|
2442
|
+
"return": {
|
|
2443
|
+
"type": {
|
|
2444
|
+
"text": "ElementStyles"
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
"parameters": [
|
|
2448
|
+
{
|
|
2449
|
+
"name": "context",
|
|
2450
|
+
"type": {
|
|
2451
|
+
"text": "ElementDefinitionContext"
|
|
2452
|
+
}
|
|
2432
2453
|
},
|
|
2433
2454
|
{
|
|
2434
|
-
"
|
|
2435
|
-
"name": "lastValidCriteria",
|
|
2455
|
+
"name": "definition",
|
|
2436
2456
|
"type": {
|
|
2437
|
-
"text": "
|
|
2438
|
-
}
|
|
2439
|
-
|
|
2457
|
+
"text": "FoundationElementDefinition"
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
]
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"kind": "function",
|
|
2464
|
+
"name": "foundationActionsMenuStyles",
|
|
2465
|
+
"return": {
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "ElementStyles"
|
|
2468
|
+
}
|
|
2469
|
+
},
|
|
2470
|
+
"parameters": [
|
|
2471
|
+
{
|
|
2472
|
+
"name": "context",
|
|
2473
|
+
"type": {
|
|
2474
|
+
"text": "ElementDefinitionContext"
|
|
2475
|
+
}
|
|
2440
2476
|
},
|
|
2477
|
+
{
|
|
2478
|
+
"name": "definition",
|
|
2479
|
+
"type": {
|
|
2480
|
+
"text": "FoundationElementDefinition"
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
]
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
"exports": [
|
|
2487
|
+
{
|
|
2488
|
+
"kind": "js",
|
|
2489
|
+
"name": "actionsMenuBaseStyles",
|
|
2490
|
+
"declaration": {
|
|
2491
|
+
"name": "actionsMenuBaseStyles",
|
|
2492
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2493
|
+
}
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "js",
|
|
2497
|
+
"name": "foundationActionsMenuStyles",
|
|
2498
|
+
"declaration": {
|
|
2499
|
+
"name": "foundationActionsMenuStyles",
|
|
2500
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
]
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"kind": "javascript-module",
|
|
2507
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2508
|
+
"declarations": [
|
|
2509
|
+
{
|
|
2510
|
+
"kind": "function",
|
|
2511
|
+
"name": "menuTemplate",
|
|
2512
|
+
"parameters": [
|
|
2513
|
+
{
|
|
2514
|
+
"name": "prefix",
|
|
2515
|
+
"type": {
|
|
2516
|
+
"text": "string"
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
]
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
"kind": "function",
|
|
2523
|
+
"name": "singleOptionTemplate",
|
|
2524
|
+
"parameters": [
|
|
2525
|
+
{
|
|
2526
|
+
"name": "prefix",
|
|
2527
|
+
"type": {
|
|
2528
|
+
"text": "string"
|
|
2529
|
+
}
|
|
2530
|
+
}
|
|
2531
|
+
]
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"kind": "variable",
|
|
2535
|
+
"name": "foundationActionsMenuTemplate",
|
|
2536
|
+
"type": {
|
|
2537
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2538
|
+
},
|
|
2539
|
+
"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`"
|
|
2540
|
+
}
|
|
2541
|
+
],
|
|
2542
|
+
"exports": [
|
|
2543
|
+
{
|
|
2544
|
+
"kind": "js",
|
|
2545
|
+
"name": "menuTemplate",
|
|
2546
|
+
"declaration": {
|
|
2547
|
+
"name": "menuTemplate",
|
|
2548
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2549
|
+
}
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"kind": "js",
|
|
2553
|
+
"name": "singleOptionTemplate",
|
|
2554
|
+
"declaration": {
|
|
2555
|
+
"name": "singleOptionTemplate",
|
|
2556
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"kind": "js",
|
|
2561
|
+
"name": "foundationActionsMenuTemplate",
|
|
2562
|
+
"declaration": {
|
|
2563
|
+
"name": "foundationActionsMenuTemplate",
|
|
2564
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
]
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"kind": "javascript-module",
|
|
2571
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2572
|
+
"declarations": [
|
|
2573
|
+
{
|
|
2574
|
+
"kind": "class",
|
|
2575
|
+
"description": "",
|
|
2576
|
+
"name": "ActionsMenu",
|
|
2577
|
+
"members": [
|
|
2441
2578
|
{
|
|
2442
2579
|
"kind": "field",
|
|
2443
|
-
"name": "
|
|
2580
|
+
"name": "actions",
|
|
2444
2581
|
"type": {
|
|
2445
|
-
"text": "
|
|
2446
|
-
}
|
|
2447
|
-
"default": "[]"
|
|
2582
|
+
"text": "ActionMenuItem[]"
|
|
2583
|
+
}
|
|
2448
2584
|
},
|
|
2449
2585
|
{
|
|
2450
2586
|
"kind": "field",
|
|
2451
|
-
"name": "
|
|
2587
|
+
"name": "isVertical",
|
|
2452
2588
|
"type": {
|
|
2453
2589
|
"text": "boolean"
|
|
2454
2590
|
},
|
|
@@ -2456,141 +2592,163 @@
|
|
|
2456
2592
|
},
|
|
2457
2593
|
{
|
|
2458
2594
|
"kind": "field",
|
|
2459
|
-
"name": "
|
|
2595
|
+
"name": "addDefaultActions",
|
|
2460
2596
|
"type": {
|
|
2461
|
-
"text": "
|
|
2597
|
+
"text": "boolean"
|
|
2462
2598
|
},
|
|
2463
|
-
"default": "
|
|
2599
|
+
"default": "true"
|
|
2464
2600
|
},
|
|
2465
2601
|
{
|
|
2466
2602
|
"kind": "field",
|
|
2467
|
-
"name": "
|
|
2603
|
+
"name": "autoCloseOnAction",
|
|
2468
2604
|
"type": {
|
|
2469
2605
|
"text": "boolean"
|
|
2470
2606
|
},
|
|
2471
|
-
"default": "
|
|
2607
|
+
"default": "true"
|
|
2472
2608
|
},
|
|
2473
2609
|
{
|
|
2474
2610
|
"kind": "field",
|
|
2475
|
-
"name": "
|
|
2611
|
+
"name": "classNames",
|
|
2476
2612
|
"type": {
|
|
2477
|
-
"text": "
|
|
2478
|
-
}
|
|
2479
|
-
"privacy": "public"
|
|
2613
|
+
"text": "string"
|
|
2614
|
+
}
|
|
2480
2615
|
},
|
|
2481
2616
|
{
|
|
2482
2617
|
"kind": "field",
|
|
2483
|
-
"name": "
|
|
2618
|
+
"name": "definition",
|
|
2484
2619
|
"type": {
|
|
2485
|
-
"text": "
|
|
2486
|
-
}
|
|
2487
|
-
"privacy": "private",
|
|
2488
|
-
"default": "null"
|
|
2620
|
+
"text": "any"
|
|
2621
|
+
}
|
|
2489
2622
|
},
|
|
2490
2623
|
{
|
|
2491
2624
|
"kind": "field",
|
|
2492
|
-
"name": "
|
|
2625
|
+
"name": "name",
|
|
2493
2626
|
"type": {
|
|
2494
|
-
"text": "
|
|
2627
|
+
"text": "string"
|
|
2495
2628
|
},
|
|
2496
|
-
"
|
|
2497
|
-
"default": "null"
|
|
2629
|
+
"default": "'Actions'"
|
|
2498
2630
|
},
|
|
2499
2631
|
{
|
|
2500
2632
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2633
|
+
"name": "open",
|
|
2502
2634
|
"type": {
|
|
2503
2635
|
"text": "boolean"
|
|
2504
2636
|
},
|
|
2505
|
-
"
|
|
2637
|
+
"default": "false"
|
|
2506
2638
|
},
|
|
2507
2639
|
{
|
|
2508
2640
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2641
|
+
"name": "buttonAppearance",
|
|
2510
2642
|
"type": {
|
|
2511
|
-
"text": "
|
|
2512
|
-
}
|
|
2513
|
-
"readonly": true
|
|
2643
|
+
"text": "string"
|
|
2644
|
+
}
|
|
2514
2645
|
},
|
|
2515
2646
|
{
|
|
2516
|
-
"kind": "
|
|
2517
|
-
"name": "
|
|
2518
|
-
"
|
|
2519
|
-
|
|
2520
|
-
"type": {
|
|
2521
|
-
"text": "string"
|
|
2522
|
-
}
|
|
2647
|
+
"kind": "field",
|
|
2648
|
+
"name": "hideDisabled",
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "boolean"
|
|
2523
2651
|
},
|
|
2524
|
-
"
|
|
2525
|
-
{
|
|
2526
|
-
"name": "fieldName",
|
|
2527
|
-
"type": {
|
|
2528
|
-
"text": "string"
|
|
2529
|
-
}
|
|
2530
|
-
}
|
|
2531
|
-
]
|
|
2652
|
+
"default": "false"
|
|
2532
2653
|
},
|
|
2533
2654
|
{
|
|
2534
|
-
"kind": "
|
|
2535
|
-
"name": "
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2538
|
-
|
|
2539
|
-
|
|
2655
|
+
"kind": "field",
|
|
2656
|
+
"name": "hideMenuSingleOption",
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "boolean"
|
|
2659
|
+
},
|
|
2660
|
+
"default": "false"
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "field",
|
|
2664
|
+
"name": "singleOption",
|
|
2665
|
+
"type": {
|
|
2666
|
+
"text": "ActionMenuItem"
|
|
2667
|
+
}
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"kind": "field",
|
|
2671
|
+
"name": "actionsMenu",
|
|
2672
|
+
"type": {
|
|
2673
|
+
"text": "HTMLElement"
|
|
2540
2674
|
}
|
|
2541
2675
|
},
|
|
2542
2676
|
{
|
|
2543
2677
|
"kind": "method",
|
|
2544
|
-
"name": "
|
|
2545
|
-
"
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "void"
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2678
|
+
"name": "definitionChanged",
|
|
2679
|
+
"privacy": "protected",
|
|
2550
2680
|
"parameters": [
|
|
2551
2681
|
{
|
|
2552
|
-
"name": "
|
|
2682
|
+
"name": "oldValue",
|
|
2553
2683
|
"type": {
|
|
2554
|
-
"text": "
|
|
2684
|
+
"text": "any"
|
|
2555
2685
|
}
|
|
2556
2686
|
},
|
|
2557
2687
|
{
|
|
2558
|
-
"name": "
|
|
2688
|
+
"name": "newValue",
|
|
2559
2689
|
"type": {
|
|
2560
|
-
"text": "
|
|
2690
|
+
"text": "any"
|
|
2561
2691
|
}
|
|
2562
2692
|
}
|
|
2563
2693
|
]
|
|
2564
2694
|
},
|
|
2565
2695
|
{
|
|
2566
2696
|
"kind": "method",
|
|
2567
|
-
"name": "
|
|
2568
|
-
"
|
|
2569
|
-
"type": {
|
|
2570
|
-
"text": "void"
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
2697
|
+
"name": "openChanged",
|
|
2698
|
+
"privacy": "protected"
|
|
2573
2699
|
},
|
|
2574
2700
|
{
|
|
2575
2701
|
"kind": "method",
|
|
2576
|
-
"name": "
|
|
2702
|
+
"name": "toggleActionsMenuVisibility"
|
|
2577
2703
|
},
|
|
2578
2704
|
{
|
|
2579
2705
|
"kind": "method",
|
|
2580
|
-
"name": "
|
|
2706
|
+
"name": "onActionMenuItemClick",
|
|
2707
|
+
"parameters": [
|
|
2708
|
+
{
|
|
2709
|
+
"name": "callback",
|
|
2710
|
+
"type": {
|
|
2711
|
+
"text": "(rowData) => void | any"
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2714
|
+
]
|
|
2581
2715
|
},
|
|
2582
2716
|
{
|
|
2583
|
-
"kind": "
|
|
2584
|
-
"name": "
|
|
2717
|
+
"kind": "field",
|
|
2718
|
+
"name": "allActions",
|
|
2719
|
+
"type": {
|
|
2720
|
+
"text": "ActionMenuItem[]"
|
|
2721
|
+
},
|
|
2722
|
+
"readonly": true
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"kind": "field",
|
|
2726
|
+
"name": "rowData",
|
|
2727
|
+
"readonly": true
|
|
2585
2728
|
},
|
|
2586
2729
|
{
|
|
2587
2730
|
"kind": "method",
|
|
2588
|
-
"name": "
|
|
2731
|
+
"name": "getLabel",
|
|
2732
|
+
"parameters": [
|
|
2733
|
+
{
|
|
2734
|
+
"name": "name",
|
|
2735
|
+
"type": {
|
|
2736
|
+
"text": "string | ((rowData: any) => string)"
|
|
2737
|
+
}
|
|
2738
|
+
}
|
|
2739
|
+
]
|
|
2589
2740
|
},
|
|
2590
2741
|
{
|
|
2591
2742
|
"kind": "method",
|
|
2592
|
-
"name": "
|
|
2593
|
-
"
|
|
2743
|
+
"name": "getTemplate",
|
|
2744
|
+
"parameters": [
|
|
2745
|
+
{
|
|
2746
|
+
"name": "prefix",
|
|
2747
|
+
"type": {
|
|
2748
|
+
"text": "string"
|
|
2749
|
+
}
|
|
2750
|
+
}
|
|
2751
|
+
]
|
|
2594
2752
|
},
|
|
2595
2753
|
{
|
|
2596
2754
|
"kind": "field",
|
|
@@ -2704,279 +2862,142 @@
|
|
|
2704
2862
|
}
|
|
2705
2863
|
}
|
|
2706
2864
|
],
|
|
2707
|
-
"
|
|
2865
|
+
"attributes": [
|
|
2708
2866
|
{
|
|
2709
|
-
"
|
|
2710
|
-
"
|
|
2867
|
+
"name": "is-vertical",
|
|
2868
|
+
"type": {
|
|
2869
|
+
"text": "boolean"
|
|
2870
|
+
},
|
|
2871
|
+
"default": "false",
|
|
2872
|
+
"fieldName": "isVertical"
|
|
2711
2873
|
},
|
|
2712
2874
|
{
|
|
2713
|
-
"
|
|
2714
|
-
"
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2875
|
+
"name": "add-default-actions",
|
|
2876
|
+
"type": {
|
|
2877
|
+
"text": "boolean"
|
|
2878
|
+
},
|
|
2879
|
+
"default": "true",
|
|
2880
|
+
"fieldName": "addDefaultActions"
|
|
2881
|
+
},
|
|
2718
2882
|
{
|
|
2719
|
-
"name": "
|
|
2883
|
+
"name": "auto-close-on-action",
|
|
2884
|
+
"type": {
|
|
2885
|
+
"text": "boolean"
|
|
2886
|
+
},
|
|
2887
|
+
"default": "true",
|
|
2888
|
+
"fieldName": "autoCloseOnAction"
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "name",
|
|
2720
2892
|
"type": {
|
|
2721
2893
|
"text": "string"
|
|
2722
2894
|
},
|
|
2723
|
-
"default": "'
|
|
2724
|
-
"fieldName": "
|
|
2895
|
+
"default": "'Actions'",
|
|
2896
|
+
"fieldName": "name"
|
|
2725
2897
|
},
|
|
2726
2898
|
{
|
|
2899
|
+
"name": "open",
|
|
2727
2900
|
"type": {
|
|
2728
2901
|
"text": "boolean"
|
|
2729
2902
|
},
|
|
2730
|
-
"
|
|
2903
|
+
"default": "false",
|
|
2904
|
+
"fieldName": "open"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "buttonAppearance",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"fieldName": "buttonAppearance"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "hide-disabled",
|
|
2915
|
+
"type": {
|
|
2916
|
+
"text": "boolean"
|
|
2917
|
+
},
|
|
2918
|
+
"default": "false",
|
|
2919
|
+
"fieldName": "hideDisabled"
|
|
2920
|
+
},
|
|
2921
|
+
{
|
|
2922
|
+
"name": "hide-menu-single-option",
|
|
2923
|
+
"type": {
|
|
2924
|
+
"text": "boolean"
|
|
2925
|
+
},
|
|
2926
|
+
"default": "false",
|
|
2927
|
+
"fieldName": "hideMenuSingleOption"
|
|
2731
2928
|
}
|
|
2732
2929
|
],
|
|
2733
2930
|
"superclass": {
|
|
2734
2931
|
"name": "FoundationElement",
|
|
2735
2932
|
"package": "@microsoft/fast-foundation"
|
|
2736
2933
|
},
|
|
2737
|
-
"tagName": "%%prefix%%-
|
|
2934
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2738
2935
|
"customElement": true
|
|
2739
2936
|
},
|
|
2740
2937
|
{
|
|
2741
2938
|
"kind": "variable",
|
|
2742
|
-
"name": "
|
|
2743
|
-
"
|
|
2744
|
-
|
|
2745
|
-
},
|
|
2746
|
-
"default": "undefined"
|
|
2747
|
-
},
|
|
2748
|
-
{
|
|
2749
|
-
"kind": "variable",
|
|
2750
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2751
|
-
"type": {
|
|
2752
|
-
"text": "object"
|
|
2753
|
-
},
|
|
2754
|
-
"default": "{}"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "variable",
|
|
2758
|
-
"name": "foundationAiCriteriaSearch"
|
|
2939
|
+
"name": "foundationActionsMenu",
|
|
2940
|
+
"description": "The Foundation Actions Menu",
|
|
2941
|
+
"privacy": "public"
|
|
2759
2942
|
}
|
|
2760
2943
|
],
|
|
2761
2944
|
"exports": [
|
|
2762
2945
|
{
|
|
2763
2946
|
"kind": "js",
|
|
2764
|
-
"name": "
|
|
2765
|
-
"declaration": {
|
|
2766
|
-
"name": "AiCriteriaSearch",
|
|
2767
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
{
|
|
2771
|
-
"kind": "js",
|
|
2772
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2773
|
-
"declaration": {
|
|
2774
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2775
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2776
|
-
}
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"kind": "js",
|
|
2780
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2947
|
+
"name": "ActionsMenu",
|
|
2781
2948
|
"declaration": {
|
|
2782
|
-
"name": "
|
|
2783
|
-
"module": "src/
|
|
2949
|
+
"name": "ActionsMenu",
|
|
2950
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2784
2951
|
}
|
|
2785
2952
|
},
|
|
2786
2953
|
{
|
|
2787
2954
|
"kind": "js",
|
|
2788
|
-
"name": "
|
|
2955
|
+
"name": "foundationActionsMenu",
|
|
2789
2956
|
"declaration": {
|
|
2790
|
-
"name": "
|
|
2791
|
-
"module": "src/
|
|
2957
|
+
"name": "foundationActionsMenu",
|
|
2958
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2792
2959
|
}
|
|
2793
2960
|
}
|
|
2794
2961
|
]
|
|
2795
2962
|
},
|
|
2796
2963
|
{
|
|
2797
2964
|
"kind": "javascript-module",
|
|
2798
|
-
"path": "src/
|
|
2965
|
+
"path": "src/actions-menu/index.ts",
|
|
2799
2966
|
"declarations": [],
|
|
2800
2967
|
"exports": [
|
|
2801
|
-
{
|
|
2802
|
-
"kind": "js",
|
|
2803
|
-
"name": "AiCriteriaSearch",
|
|
2804
|
-
"declaration": {
|
|
2805
|
-
"name": "AiCriteriaSearch",
|
|
2806
|
-
"module": "./ai-criteria-search"
|
|
2807
|
-
}
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
"kind": "js",
|
|
2811
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2812
|
-
"declaration": {
|
|
2813
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
2814
|
-
"module": "./ai-criteria-search"
|
|
2815
|
-
}
|
|
2816
|
-
},
|
|
2817
|
-
{
|
|
2818
|
-
"kind": "js",
|
|
2819
|
-
"name": "foundationAiCriteriaSearch",
|
|
2820
|
-
"declaration": {
|
|
2821
|
-
"name": "foundationAiCriteriaSearch",
|
|
2822
|
-
"module": "./ai-criteria-search"
|
|
2823
|
-
}
|
|
2824
|
-
},
|
|
2825
|
-
{
|
|
2826
|
-
"kind": "js",
|
|
2827
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2828
|
-
"declaration": {
|
|
2829
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2830
|
-
"module": "./ai-criteria-search"
|
|
2831
|
-
}
|
|
2832
|
-
},
|
|
2833
|
-
{
|
|
2834
|
-
"kind": "js",
|
|
2835
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2836
|
-
"declaration": {
|
|
2837
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
-
"module": "./ai-criteria-search.styles"
|
|
2839
|
-
}
|
|
2840
|
-
},
|
|
2841
|
-
{
|
|
2842
|
-
"kind": "js",
|
|
2843
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2844
|
-
"declaration": {
|
|
2845
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2846
|
-
"module": "./ai-criteria-search.template"
|
|
2847
|
-
}
|
|
2848
|
-
},
|
|
2849
|
-
{
|
|
2850
|
-
"kind": "js",
|
|
2851
|
-
"name": "*",
|
|
2852
|
-
"declaration": {
|
|
2853
|
-
"name": "*",
|
|
2854
|
-
"package": "./validation/criteria-ir"
|
|
2855
|
-
}
|
|
2856
|
-
},
|
|
2857
2968
|
{
|
|
2858
2969
|
"kind": "js",
|
|
2859
2970
|
"name": "*",
|
|
2860
2971
|
"declaration": {
|
|
2861
2972
|
"name": "*",
|
|
2862
|
-
"package": "./
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
{
|
|
2866
|
-
"kind": "js",
|
|
2867
|
-
"name": "*",
|
|
2868
|
-
"declaration": {
|
|
2869
|
-
"name": "*",
|
|
2870
|
-
"package": "./validation/schema-validator"
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
]
|
|
2874
|
-
},
|
|
2875
|
-
{
|
|
2876
|
-
"kind": "javascript-module",
|
|
2877
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2878
|
-
"declarations": [
|
|
2879
|
-
{
|
|
2880
|
-
"kind": "function",
|
|
2881
|
-
"name": "formatValidationErrors",
|
|
2882
|
-
"return": {
|
|
2883
|
-
"type": {
|
|
2884
|
-
"text": "string"
|
|
2885
|
-
}
|
|
2886
|
-
},
|
|
2887
|
-
"parameters": [
|
|
2888
|
-
{
|
|
2889
|
-
"name": "errors",
|
|
2890
|
-
"type": {
|
|
2891
|
-
"text": "ValidationError[]"
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
],
|
|
2895
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"kind": "function",
|
|
2899
|
-
"name": "showCriteriaError",
|
|
2900
|
-
"return": {
|
|
2901
|
-
"type": {
|
|
2902
|
-
"text": "void"
|
|
2903
|
-
}
|
|
2904
|
-
},
|
|
2905
|
-
"parameters": [
|
|
2906
|
-
{
|
|
2907
|
-
"name": "title",
|
|
2908
|
-
"type": {
|
|
2909
|
-
"text": "string"
|
|
2910
|
-
},
|
|
2911
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2912
|
-
},
|
|
2913
|
-
{
|
|
2914
|
-
"name": "body",
|
|
2915
|
-
"type": {
|
|
2916
|
-
"text": "string"
|
|
2917
|
-
},
|
|
2918
|
-
"description": "Error message to display"
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"name": "tagName",
|
|
2922
|
-
"type": {
|
|
2923
|
-
"text": "string"
|
|
2924
|
-
},
|
|
2925
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2926
|
-
}
|
|
2927
|
-
],
|
|
2928
|
-
"description": "Shows a criteria error as a toast notification."
|
|
2929
|
-
}
|
|
2930
|
-
],
|
|
2931
|
-
"exports": [
|
|
2932
|
-
{
|
|
2933
|
-
"kind": "js",
|
|
2934
|
-
"name": "formatValidationErrors",
|
|
2935
|
-
"declaration": {
|
|
2936
|
-
"name": "formatValidationErrors",
|
|
2937
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2973
|
+
"package": "./actions-menu.styles"
|
|
2938
2974
|
}
|
|
2939
2975
|
},
|
|
2940
2976
|
{
|
|
2941
2977
|
"kind": "js",
|
|
2942
|
-
"name": "
|
|
2943
|
-
"declaration": {
|
|
2944
|
-
"name": "
|
|
2945
|
-
"
|
|
2946
|
-
}
|
|
2947
|
-
}
|
|
2948
|
-
]
|
|
2949
|
-
},
|
|
2950
|
-
{
|
|
2951
|
-
"kind": "javascript-module",
|
|
2952
|
-
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2953
|
-
"declarations": [
|
|
2954
|
-
{
|
|
2955
|
-
"kind": "function",
|
|
2956
|
-
"name": "actionsMenuBaseStyles",
|
|
2957
|
-
"return": {
|
|
2958
|
-
"type": {
|
|
2959
|
-
"text": "ElementStyles"
|
|
2960
|
-
}
|
|
2961
|
-
},
|
|
2962
|
-
"parameters": [
|
|
2963
|
-
{
|
|
2964
|
-
"name": "context",
|
|
2965
|
-
"type": {
|
|
2966
|
-
"text": "ElementDefinitionContext"
|
|
2967
|
-
}
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"name": "definition",
|
|
2971
|
-
"type": {
|
|
2972
|
-
"text": "FoundationElementDefinition"
|
|
2973
|
-
}
|
|
2974
|
-
}
|
|
2975
|
-
]
|
|
2978
|
+
"name": "*",
|
|
2979
|
+
"declaration": {
|
|
2980
|
+
"name": "*",
|
|
2981
|
+
"package": "./actions-menu.template"
|
|
2982
|
+
}
|
|
2976
2983
|
},
|
|
2984
|
+
{
|
|
2985
|
+
"kind": "js",
|
|
2986
|
+
"name": "*",
|
|
2987
|
+
"declaration": {
|
|
2988
|
+
"name": "*",
|
|
2989
|
+
"package": "./actions-menu"
|
|
2990
|
+
}
|
|
2991
|
+
}
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"kind": "javascript-module",
|
|
2996
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2997
|
+
"declarations": [
|
|
2977
2998
|
{
|
|
2978
2999
|
"kind": "function",
|
|
2979
|
-
"name": "
|
|
3000
|
+
"name": "foundationAiIndicatorStyles",
|
|
2980
3001
|
"return": {
|
|
2981
3002
|
"type": {
|
|
2982
3003
|
"text": "ElementStyles"
|
|
@@ -3001,269 +3022,225 @@
|
|
|
3001
3022
|
"exports": [
|
|
3002
3023
|
{
|
|
3003
3024
|
"kind": "js",
|
|
3004
|
-
"name": "
|
|
3005
|
-
"declaration": {
|
|
3006
|
-
"name": "actionsMenuBaseStyles",
|
|
3007
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
3008
|
-
}
|
|
3009
|
-
},
|
|
3010
|
-
{
|
|
3011
|
-
"kind": "js",
|
|
3012
|
-
"name": "foundationActionsMenuStyles",
|
|
3025
|
+
"name": "foundationAiIndicatorStyles",
|
|
3013
3026
|
"declaration": {
|
|
3014
|
-
"name": "
|
|
3015
|
-
"module": "src/
|
|
3027
|
+
"name": "foundationAiIndicatorStyles",
|
|
3028
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3016
3029
|
}
|
|
3017
3030
|
}
|
|
3018
3031
|
]
|
|
3019
3032
|
},
|
|
3020
3033
|
{
|
|
3021
3034
|
"kind": "javascript-module",
|
|
3022
|
-
"path": "src/
|
|
3035
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3023
3036
|
"declarations": [
|
|
3024
|
-
{
|
|
3025
|
-
"kind": "function",
|
|
3026
|
-
"name": "menuTemplate",
|
|
3027
|
-
"parameters": [
|
|
3028
|
-
{
|
|
3029
|
-
"name": "prefix",
|
|
3030
|
-
"type": {
|
|
3031
|
-
"text": "string"
|
|
3032
|
-
}
|
|
3033
|
-
}
|
|
3034
|
-
]
|
|
3035
|
-
},
|
|
3036
|
-
{
|
|
3037
|
-
"kind": "function",
|
|
3038
|
-
"name": "singleOptionTemplate",
|
|
3039
|
-
"parameters": [
|
|
3040
|
-
{
|
|
3041
|
-
"name": "prefix",
|
|
3042
|
-
"type": {
|
|
3043
|
-
"text": "string"
|
|
3044
|
-
}
|
|
3045
|
-
}
|
|
3046
|
-
]
|
|
3047
|
-
},
|
|
3048
3037
|
{
|
|
3049
3038
|
"kind": "variable",
|
|
3050
|
-
"name": "
|
|
3039
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3051
3040
|
"type": {
|
|
3052
|
-
"text": "ViewTemplate<
|
|
3041
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3053
3042
|
},
|
|
3054
|
-
"default": "html`\n
|
|
3043
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3055
3044
|
}
|
|
3056
3045
|
],
|
|
3057
3046
|
"exports": [
|
|
3058
3047
|
{
|
|
3059
3048
|
"kind": "js",
|
|
3060
|
-
"name": "
|
|
3061
|
-
"declaration": {
|
|
3062
|
-
"name": "menuTemplate",
|
|
3063
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3064
|
-
}
|
|
3065
|
-
},
|
|
3066
|
-
{
|
|
3067
|
-
"kind": "js",
|
|
3068
|
-
"name": "singleOptionTemplate",
|
|
3069
|
-
"declaration": {
|
|
3070
|
-
"name": "singleOptionTemplate",
|
|
3071
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
3072
|
-
}
|
|
3073
|
-
},
|
|
3074
|
-
{
|
|
3075
|
-
"kind": "js",
|
|
3076
|
-
"name": "foundationActionsMenuTemplate",
|
|
3049
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3077
3050
|
"declaration": {
|
|
3078
|
-
"name": "
|
|
3079
|
-
"module": "src/
|
|
3051
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3052
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3080
3053
|
}
|
|
3081
3054
|
}
|
|
3082
3055
|
]
|
|
3083
3056
|
},
|
|
3084
3057
|
{
|
|
3085
3058
|
"kind": "javascript-module",
|
|
3086
|
-
"path": "src/
|
|
3059
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3087
3060
|
"declarations": [
|
|
3088
3061
|
{
|
|
3089
3062
|
"kind": "class",
|
|
3090
3063
|
"description": "",
|
|
3091
|
-
"name": "
|
|
3064
|
+
"name": "AiIndicator",
|
|
3092
3065
|
"members": [
|
|
3093
3066
|
{
|
|
3094
3067
|
"kind": "field",
|
|
3095
|
-
"name": "
|
|
3068
|
+
"name": "providerRegistry",
|
|
3096
3069
|
"type": {
|
|
3097
|
-
"text": "
|
|
3070
|
+
"text": "AIProviderRegistry"
|
|
3098
3071
|
}
|
|
3099
3072
|
},
|
|
3100
3073
|
{
|
|
3101
3074
|
"kind": "field",
|
|
3102
|
-
"name": "
|
|
3075
|
+
"name": "aiProvider",
|
|
3103
3076
|
"type": {
|
|
3104
|
-
"text": "
|
|
3077
|
+
"text": "AIProvider | undefined"
|
|
3105
3078
|
},
|
|
3106
|
-
"
|
|
3079
|
+
"privacy": "private",
|
|
3080
|
+
"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.",
|
|
3081
|
+
"readonly": true
|
|
3107
3082
|
},
|
|
3108
3083
|
{
|
|
3109
3084
|
"kind": "field",
|
|
3110
|
-
"name": "
|
|
3085
|
+
"name": "status",
|
|
3111
3086
|
"type": {
|
|
3112
|
-
"text": "
|
|
3087
|
+
"text": "AIStatus | null"
|
|
3113
3088
|
},
|
|
3114
|
-
"default": "
|
|
3089
|
+
"default": "null"
|
|
3115
3090
|
},
|
|
3116
3091
|
{
|
|
3117
3092
|
"kind": "field",
|
|
3118
|
-
"name": "
|
|
3093
|
+
"name": "open",
|
|
3119
3094
|
"type": {
|
|
3120
3095
|
"text": "boolean"
|
|
3121
3096
|
},
|
|
3122
|
-
"default": "
|
|
3123
|
-
},
|
|
3124
|
-
{
|
|
3125
|
-
"kind": "field",
|
|
3126
|
-
"name": "classNames",
|
|
3127
|
-
"type": {
|
|
3128
|
-
"text": "string"
|
|
3129
|
-
}
|
|
3097
|
+
"default": "false"
|
|
3130
3098
|
},
|
|
3131
3099
|
{
|
|
3132
3100
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
3101
|
+
"name": "state",
|
|
3134
3102
|
"type": {
|
|
3135
|
-
"text": "
|
|
3136
|
-
}
|
|
3103
|
+
"text": "AIIndicatorState"
|
|
3104
|
+
},
|
|
3105
|
+
"default": "'none'"
|
|
3137
3106
|
},
|
|
3138
3107
|
{
|
|
3139
3108
|
"kind": "field",
|
|
3140
|
-
"name": "
|
|
3109
|
+
"name": "isInstalling",
|
|
3141
3110
|
"type": {
|
|
3142
|
-
"text": "
|
|
3111
|
+
"text": "boolean"
|
|
3143
3112
|
},
|
|
3144
|
-
"default": "
|
|
3113
|
+
"default": "false"
|
|
3145
3114
|
},
|
|
3146
3115
|
{
|
|
3147
3116
|
"kind": "field",
|
|
3148
|
-
"name": "
|
|
3117
|
+
"name": "pollTimer",
|
|
3149
3118
|
"type": {
|
|
3150
|
-
"text": "
|
|
3119
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3151
3120
|
},
|
|
3152
|
-
"
|
|
3121
|
+
"privacy": "private",
|
|
3122
|
+
"default": "null"
|
|
3153
3123
|
},
|
|
3154
3124
|
{
|
|
3155
3125
|
"kind": "field",
|
|
3156
|
-
"name": "
|
|
3157
|
-
"
|
|
3158
|
-
"text": "string"
|
|
3159
|
-
}
|
|
3126
|
+
"name": "clickOutside",
|
|
3127
|
+
"privacy": "private"
|
|
3160
3128
|
},
|
|
3161
3129
|
{
|
|
3162
3130
|
"kind": "field",
|
|
3163
|
-
"name": "
|
|
3131
|
+
"name": "chromeStatusLabel",
|
|
3164
3132
|
"type": {
|
|
3165
|
-
"text": "
|
|
3133
|
+
"text": "string | null"
|
|
3166
3134
|
},
|
|
3167
|
-
"
|
|
3135
|
+
"readonly": true
|
|
3168
3136
|
},
|
|
3169
3137
|
{
|
|
3170
3138
|
"kind": "field",
|
|
3171
|
-
"name": "
|
|
3139
|
+
"name": "canInstall",
|
|
3172
3140
|
"type": {
|
|
3173
3141
|
"text": "boolean"
|
|
3174
3142
|
},
|
|
3175
|
-
"
|
|
3143
|
+
"readonly": true
|
|
3176
3144
|
},
|
|
3177
3145
|
{
|
|
3178
3146
|
"kind": "field",
|
|
3179
|
-
"name": "
|
|
3147
|
+
"name": "isDownloading",
|
|
3180
3148
|
"type": {
|
|
3181
|
-
"text": "
|
|
3182
|
-
}
|
|
3149
|
+
"text": "boolean"
|
|
3150
|
+
},
|
|
3151
|
+
"readonly": true
|
|
3183
3152
|
},
|
|
3184
3153
|
{
|
|
3185
|
-
"kind": "
|
|
3186
|
-
"name": "
|
|
3187
|
-
"
|
|
3188
|
-
"
|
|
3154
|
+
"kind": "method",
|
|
3155
|
+
"name": "openChanged",
|
|
3156
|
+
"return": {
|
|
3157
|
+
"type": {
|
|
3158
|
+
"text": "void"
|
|
3159
|
+
}
|
|
3189
3160
|
}
|
|
3190
3161
|
},
|
|
3191
3162
|
{
|
|
3192
3163
|
"kind": "method",
|
|
3193
|
-
"name": "
|
|
3194
|
-
"privacy": "
|
|
3164
|
+
"name": "handleClickOutside",
|
|
3165
|
+
"privacy": "private",
|
|
3195
3166
|
"parameters": [
|
|
3196
3167
|
{
|
|
3197
|
-
"name": "
|
|
3198
|
-
"type": {
|
|
3199
|
-
"text": "any"
|
|
3200
|
-
}
|
|
3201
|
-
},
|
|
3202
|
-
{
|
|
3203
|
-
"name": "newValue",
|
|
3168
|
+
"name": "event",
|
|
3204
3169
|
"type": {
|
|
3205
|
-
"text": "
|
|
3170
|
+
"text": "MouseEvent"
|
|
3206
3171
|
}
|
|
3207
3172
|
}
|
|
3208
3173
|
]
|
|
3209
3174
|
},
|
|
3210
3175
|
{
|
|
3211
3176
|
"kind": "method",
|
|
3212
|
-
"name": "
|
|
3213
|
-
"privacy": "protected"
|
|
3177
|
+
"name": "toggleDropdown"
|
|
3214
3178
|
},
|
|
3215
3179
|
{
|
|
3216
3180
|
"kind": "method",
|
|
3217
|
-
"name": "
|
|
3181
|
+
"name": "refreshStatus",
|
|
3182
|
+
"return": {
|
|
3183
|
+
"type": {
|
|
3184
|
+
"text": "Promise<void>"
|
|
3185
|
+
}
|
|
3186
|
+
}
|
|
3218
3187
|
},
|
|
3219
3188
|
{
|
|
3220
3189
|
"kind": "method",
|
|
3221
|
-
"name": "
|
|
3190
|
+
"name": "deriveState",
|
|
3191
|
+
"privacy": "private",
|
|
3192
|
+
"return": {
|
|
3193
|
+
"type": {
|
|
3194
|
+
"text": "AIIndicatorState"
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3222
3197
|
"parameters": [
|
|
3223
3198
|
{
|
|
3224
|
-
"name": "
|
|
3199
|
+
"name": "s",
|
|
3225
3200
|
"type": {
|
|
3226
|
-
"text": "
|
|
3201
|
+
"text": "AIStatus | null"
|
|
3227
3202
|
}
|
|
3228
3203
|
}
|
|
3229
3204
|
]
|
|
3230
3205
|
},
|
|
3231
3206
|
{
|
|
3232
|
-
"kind": "
|
|
3233
|
-
"name": "
|
|
3234
|
-
"
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
"kind": "field",
|
|
3241
|
-
"name": "rowData",
|
|
3242
|
-
"readonly": true
|
|
3207
|
+
"kind": "method",
|
|
3208
|
+
"name": "maybeStartPolling",
|
|
3209
|
+
"privacy": "private",
|
|
3210
|
+
"return": {
|
|
3211
|
+
"type": {
|
|
3212
|
+
"text": "void"
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3243
3215
|
},
|
|
3244
3216
|
{
|
|
3245
3217
|
"kind": "method",
|
|
3246
|
-
"name": "
|
|
3247
|
-
"
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
"
|
|
3251
|
-
"text": "string | ((rowData: any) => string)"
|
|
3252
|
-
}
|
|
3218
|
+
"name": "startPolling",
|
|
3219
|
+
"privacy": "private",
|
|
3220
|
+
"return": {
|
|
3221
|
+
"type": {
|
|
3222
|
+
"text": "void"
|
|
3253
3223
|
}
|
|
3254
|
-
|
|
3224
|
+
}
|
|
3255
3225
|
},
|
|
3256
3226
|
{
|
|
3257
3227
|
"kind": "method",
|
|
3258
|
-
"name": "
|
|
3259
|
-
"
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
"
|
|
3263
|
-
"text": "string"
|
|
3264
|
-
}
|
|
3228
|
+
"name": "stopPolling",
|
|
3229
|
+
"privacy": "private",
|
|
3230
|
+
"return": {
|
|
3231
|
+
"type": {
|
|
3232
|
+
"text": "void"
|
|
3265
3233
|
}
|
|
3266
|
-
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"kind": "method",
|
|
3238
|
+
"name": "onInstall",
|
|
3239
|
+
"return": {
|
|
3240
|
+
"type": {
|
|
3241
|
+
"text": "Promise<void>"
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3267
3244
|
},
|
|
3268
3245
|
{
|
|
3269
3246
|
"kind": "field",
|
|
@@ -3377,142 +3354,99 @@
|
|
|
3377
3354
|
}
|
|
3378
3355
|
}
|
|
3379
3356
|
],
|
|
3380
|
-
"attributes": [
|
|
3381
|
-
{
|
|
3382
|
-
"name": "is-vertical",
|
|
3383
|
-
"type": {
|
|
3384
|
-
"text": "boolean"
|
|
3385
|
-
},
|
|
3386
|
-
"default": "false",
|
|
3387
|
-
"fieldName": "isVertical"
|
|
3388
|
-
},
|
|
3389
|
-
{
|
|
3390
|
-
"name": "add-default-actions",
|
|
3391
|
-
"type": {
|
|
3392
|
-
"text": "boolean"
|
|
3393
|
-
},
|
|
3394
|
-
"default": "true",
|
|
3395
|
-
"fieldName": "addDefaultActions"
|
|
3396
|
-
},
|
|
3397
|
-
{
|
|
3398
|
-
"name": "auto-close-on-action",
|
|
3399
|
-
"type": {
|
|
3400
|
-
"text": "boolean"
|
|
3401
|
-
},
|
|
3402
|
-
"default": "true",
|
|
3403
|
-
"fieldName": "autoCloseOnAction"
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
"name": "name",
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "string"
|
|
3409
|
-
},
|
|
3410
|
-
"default": "'Actions'",
|
|
3411
|
-
"fieldName": "name"
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
"name": "open",
|
|
3415
|
-
"type": {
|
|
3416
|
-
"text": "boolean"
|
|
3417
|
-
},
|
|
3418
|
-
"default": "false",
|
|
3419
|
-
"fieldName": "open"
|
|
3420
|
-
},
|
|
3421
|
-
{
|
|
3422
|
-
"name": "buttonAppearance",
|
|
3423
|
-
"type": {
|
|
3424
|
-
"text": "string"
|
|
3425
|
-
},
|
|
3426
|
-
"fieldName": "buttonAppearance"
|
|
3427
|
-
},
|
|
3428
|
-
{
|
|
3429
|
-
"name": "hide-disabled",
|
|
3430
|
-
"type": {
|
|
3431
|
-
"text": "boolean"
|
|
3432
|
-
},
|
|
3433
|
-
"default": "false",
|
|
3434
|
-
"fieldName": "hideDisabled"
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
"name": "hide-menu-single-option",
|
|
3438
|
-
"type": {
|
|
3439
|
-
"text": "boolean"
|
|
3440
|
-
},
|
|
3441
|
-
"default": "false",
|
|
3442
|
-
"fieldName": "hideMenuSingleOption"
|
|
3443
|
-
}
|
|
3444
|
-
],
|
|
3445
3357
|
"superclass": {
|
|
3446
3358
|
"name": "FoundationElement",
|
|
3447
3359
|
"package": "@microsoft/fast-foundation"
|
|
3448
3360
|
},
|
|
3449
|
-
"tagName": "%%prefix%%-
|
|
3361
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3450
3362
|
"customElement": true
|
|
3451
3363
|
},
|
|
3452
3364
|
{
|
|
3453
3365
|
"kind": "variable",
|
|
3454
|
-
"name": "
|
|
3455
|
-
"description": "The Foundation Actions Menu",
|
|
3456
|
-
"privacy": "public"
|
|
3366
|
+
"name": "foundationAiIndicator"
|
|
3457
3367
|
}
|
|
3458
3368
|
],
|
|
3459
3369
|
"exports": [
|
|
3460
3370
|
{
|
|
3461
3371
|
"kind": "js",
|
|
3462
|
-
"name": "
|
|
3372
|
+
"name": "AiIndicator",
|
|
3463
3373
|
"declaration": {
|
|
3464
|
-
"name": "
|
|
3465
|
-
"module": "src/
|
|
3374
|
+
"name": "AiIndicator",
|
|
3375
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3466
3376
|
}
|
|
3467
3377
|
},
|
|
3468
3378
|
{
|
|
3469
3379
|
"kind": "js",
|
|
3470
|
-
"name": "
|
|
3380
|
+
"name": "foundationAiIndicator",
|
|
3471
3381
|
"declaration": {
|
|
3472
|
-
"name": "
|
|
3473
|
-
"module": "src/
|
|
3382
|
+
"name": "foundationAiIndicator",
|
|
3383
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3474
3384
|
}
|
|
3475
3385
|
}
|
|
3476
3386
|
]
|
|
3477
3387
|
},
|
|
3478
3388
|
{
|
|
3479
3389
|
"kind": "javascript-module",
|
|
3480
|
-
"path": "src/
|
|
3390
|
+
"path": "src/ai-indicator/index.ts",
|
|
3481
3391
|
"declarations": [],
|
|
3482
3392
|
"exports": [
|
|
3483
3393
|
{
|
|
3484
3394
|
"kind": "js",
|
|
3485
|
-
"name": "
|
|
3395
|
+
"name": "AiIndicator",
|
|
3486
3396
|
"declaration": {
|
|
3487
|
-
"name": "
|
|
3488
|
-
"
|
|
3397
|
+
"name": "AiIndicator",
|
|
3398
|
+
"module": "./ai-indicator"
|
|
3489
3399
|
}
|
|
3490
3400
|
},
|
|
3491
3401
|
{
|
|
3492
3402
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3403
|
+
"name": "foundationAiIndicator",
|
|
3494
3404
|
"declaration": {
|
|
3495
|
-
"name": "
|
|
3496
|
-
"
|
|
3405
|
+
"name": "foundationAiIndicator",
|
|
3406
|
+
"module": "./ai-indicator"
|
|
3497
3407
|
}
|
|
3498
3408
|
},
|
|
3499
3409
|
{
|
|
3500
3410
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3411
|
+
"name": "type",
|
|
3502
3412
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"
|
|
3413
|
+
"name": "type",
|
|
3414
|
+
"module": "./ai-indicator"
|
|
3415
|
+
}
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"kind": "js",
|
|
3419
|
+
"name": "AIIndicatorState",
|
|
3420
|
+
"declaration": {
|
|
3421
|
+
"name": "AIIndicatorState",
|
|
3422
|
+
"module": "./ai-indicator"
|
|
3423
|
+
}
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"kind": "js",
|
|
3427
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3428
|
+
"declaration": {
|
|
3429
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3430
|
+
"module": "./ai-indicator.template"
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "js",
|
|
3435
|
+
"name": "foundationAiIndicatorStyles",
|
|
3436
|
+
"declaration": {
|
|
3437
|
+
"name": "foundationAiIndicatorStyles",
|
|
3438
|
+
"module": "./ai-indicator.styles"
|
|
3505
3439
|
}
|
|
3506
3440
|
}
|
|
3507
3441
|
]
|
|
3508
3442
|
},
|
|
3509
3443
|
{
|
|
3510
3444
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/
|
|
3445
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3512
3446
|
"declarations": [
|
|
3513
3447
|
{
|
|
3514
3448
|
"kind": "function",
|
|
3515
|
-
"name": "
|
|
3449
|
+
"name": "foundationAccordionStyles",
|
|
3516
3450
|
"return": {
|
|
3517
3451
|
"type": {
|
|
3518
3452
|
"text": "ElementStyles"
|
|
@@ -3537,224 +3471,276 @@
|
|
|
3537
3471
|
"exports": [
|
|
3538
3472
|
{
|
|
3539
3473
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3474
|
+
"name": "foundationAccordionStyles",
|
|
3541
3475
|
"declaration": {
|
|
3542
|
-
"name": "
|
|
3543
|
-
"module": "src/
|
|
3476
|
+
"name": "foundationAccordionStyles",
|
|
3477
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3544
3478
|
}
|
|
3545
3479
|
}
|
|
3546
3480
|
]
|
|
3547
3481
|
},
|
|
3548
3482
|
{
|
|
3549
3483
|
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/
|
|
3484
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3551
3485
|
"declarations": [
|
|
3552
3486
|
{
|
|
3553
|
-
"kind": "
|
|
3554
|
-
"name": "
|
|
3555
|
-
"
|
|
3556
|
-
"
|
|
3487
|
+
"kind": "function",
|
|
3488
|
+
"name": "foundationAccordionTemplate",
|
|
3489
|
+
"return": {
|
|
3490
|
+
"type": {
|
|
3491
|
+
"text": "ViewTemplate<Accordion>"
|
|
3492
|
+
}
|
|
3557
3493
|
},
|
|
3558
|
-
"
|
|
3494
|
+
"parameters": [
|
|
3495
|
+
{
|
|
3496
|
+
"name": "context",
|
|
3497
|
+
"type": {
|
|
3498
|
+
"text": "ElementDefinitionContext"
|
|
3499
|
+
}
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"name": "definition",
|
|
3503
|
+
"type": {
|
|
3504
|
+
"text": "FoundationElementDefinition"
|
|
3505
|
+
}
|
|
3506
|
+
}
|
|
3507
|
+
]
|
|
3559
3508
|
}
|
|
3560
3509
|
],
|
|
3561
3510
|
"exports": [
|
|
3562
3511
|
{
|
|
3563
3512
|
"kind": "js",
|
|
3564
|
-
"name": "
|
|
3513
|
+
"name": "foundationAccordionTemplate",
|
|
3565
3514
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/
|
|
3515
|
+
"name": "foundationAccordionTemplate",
|
|
3516
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3568
3517
|
}
|
|
3569
3518
|
}
|
|
3570
3519
|
]
|
|
3571
3520
|
},
|
|
3572
3521
|
{
|
|
3573
3522
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/
|
|
3523
|
+
"path": "src/accordion/accordion.ts",
|
|
3575
3524
|
"declarations": [
|
|
3576
3525
|
{
|
|
3577
3526
|
"kind": "class",
|
|
3578
3527
|
"description": "",
|
|
3579
|
-
"name": "
|
|
3580
|
-
"
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
},
|
|
3588
|
-
{
|
|
3589
|
-
"kind": "field",
|
|
3590
|
-
"name": "aiProvider",
|
|
3591
|
-
"type": {
|
|
3592
|
-
"text": "AIProvider | undefined"
|
|
3593
|
-
},
|
|
3594
|
-
"privacy": "private",
|
|
3595
|
-
"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.",
|
|
3596
|
-
"readonly": true
|
|
3597
|
-
},
|
|
3528
|
+
"name": "Accordion",
|
|
3529
|
+
"superclass": {
|
|
3530
|
+
"name": "FASTAccordion",
|
|
3531
|
+
"package": "@microsoft/fast-foundation"
|
|
3532
|
+
},
|
|
3533
|
+
"tagName": "%%prefix%%-accordion",
|
|
3534
|
+
"customElement": true,
|
|
3535
|
+
"attributes": [
|
|
3598
3536
|
{
|
|
3599
|
-
"
|
|
3600
|
-
"name": "status",
|
|
3537
|
+
"name": "expand-mode",
|
|
3601
3538
|
"type": {
|
|
3602
|
-
"text": "
|
|
3539
|
+
"text": "AccordionExpandMode"
|
|
3603
3540
|
},
|
|
3604
|
-
"
|
|
3605
|
-
|
|
3541
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3542
|
+
"fieldName": "expandmode",
|
|
3543
|
+
"inheritedFrom": {
|
|
3544
|
+
"name": "Accordion",
|
|
3545
|
+
"module": "src/accordion/accordion.ts"
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
],
|
|
3549
|
+
"members": [
|
|
3606
3550
|
{
|
|
3607
3551
|
"kind": "field",
|
|
3608
|
-
"name": "
|
|
3552
|
+
"name": "expandmode",
|
|
3609
3553
|
"type": {
|
|
3610
|
-
"text": "
|
|
3554
|
+
"text": "AccordionExpandMode"
|
|
3611
3555
|
},
|
|
3612
|
-
"
|
|
3556
|
+
"privacy": "public",
|
|
3557
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3558
|
+
"inheritedFrom": {
|
|
3559
|
+
"name": "Accordion",
|
|
3560
|
+
"module": "src/accordion/accordion.ts"
|
|
3561
|
+
}
|
|
3613
3562
|
},
|
|
3614
3563
|
{
|
|
3615
3564
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3565
|
+
"name": "activeid",
|
|
3617
3566
|
"type": {
|
|
3618
|
-
"text": "
|
|
3567
|
+
"text": "string | null"
|
|
3619
3568
|
},
|
|
3620
|
-
"
|
|
3569
|
+
"privacy": "private",
|
|
3570
|
+
"inheritedFrom": {
|
|
3571
|
+
"name": "Accordion",
|
|
3572
|
+
"module": "src/accordion/accordion.ts"
|
|
3573
|
+
}
|
|
3621
3574
|
},
|
|
3622
3575
|
{
|
|
3623
3576
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3577
|
+
"name": "activeItemIndex",
|
|
3625
3578
|
"type": {
|
|
3626
|
-
"text": "
|
|
3579
|
+
"text": "number"
|
|
3627
3580
|
},
|
|
3628
|
-
"
|
|
3581
|
+
"privacy": "private",
|
|
3582
|
+
"default": "0",
|
|
3583
|
+
"inheritedFrom": {
|
|
3584
|
+
"name": "Accordion",
|
|
3585
|
+
"module": "src/accordion/accordion.ts"
|
|
3586
|
+
}
|
|
3629
3587
|
},
|
|
3630
3588
|
{
|
|
3631
3589
|
"kind": "field",
|
|
3632
|
-
"name": "
|
|
3590
|
+
"name": "accordionIds",
|
|
3633
3591
|
"type": {
|
|
3634
|
-
"text": "
|
|
3592
|
+
"text": "Array<string | null>"
|
|
3635
3593
|
},
|
|
3636
3594
|
"privacy": "private",
|
|
3637
|
-
"
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
"name": "clickOutside",
|
|
3642
|
-
"privacy": "private"
|
|
3595
|
+
"inheritedFrom": {
|
|
3596
|
+
"name": "Accordion",
|
|
3597
|
+
"module": "src/accordion/accordion.ts"
|
|
3598
|
+
}
|
|
3643
3599
|
},
|
|
3644
3600
|
{
|
|
3645
3601
|
"kind": "field",
|
|
3646
|
-
"name": "
|
|
3647
|
-
"
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3602
|
+
"name": "change",
|
|
3603
|
+
"privacy": "private",
|
|
3604
|
+
"inheritedFrom": {
|
|
3605
|
+
"name": "Accordion",
|
|
3606
|
+
"module": "src/accordion/accordion.ts"
|
|
3607
|
+
}
|
|
3651
3608
|
},
|
|
3652
3609
|
{
|
|
3653
|
-
"kind": "
|
|
3654
|
-
"name": "
|
|
3655
|
-
"
|
|
3656
|
-
|
|
3610
|
+
"kind": "method",
|
|
3611
|
+
"name": "findExpandedItem",
|
|
3612
|
+
"privacy": "private",
|
|
3613
|
+
"return": {
|
|
3614
|
+
"type": {
|
|
3615
|
+
"text": "AccordionItem | null"
|
|
3616
|
+
}
|
|
3657
3617
|
},
|
|
3658
|
-
"
|
|
3618
|
+
"inheritedFrom": {
|
|
3619
|
+
"name": "Accordion",
|
|
3620
|
+
"module": "src/accordion/accordion.ts"
|
|
3621
|
+
}
|
|
3659
3622
|
},
|
|
3660
3623
|
{
|
|
3661
3624
|
"kind": "field",
|
|
3662
|
-
"name": "
|
|
3663
|
-
"
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3625
|
+
"name": "setItems",
|
|
3626
|
+
"privacy": "private",
|
|
3627
|
+
"inheritedFrom": {
|
|
3628
|
+
"name": "Accordion",
|
|
3629
|
+
"module": "src/accordion/accordion.ts"
|
|
3630
|
+
}
|
|
3667
3631
|
},
|
|
3668
3632
|
{
|
|
3669
3633
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3634
|
+
"name": "resetItems",
|
|
3635
|
+
"privacy": "private",
|
|
3671
3636
|
"return": {
|
|
3672
3637
|
"type": {
|
|
3673
3638
|
"text": "void"
|
|
3674
3639
|
}
|
|
3640
|
+
},
|
|
3641
|
+
"inheritedFrom": {
|
|
3642
|
+
"name": "Accordion",
|
|
3643
|
+
"module": "src/accordion/accordion.ts"
|
|
3675
3644
|
}
|
|
3676
3645
|
},
|
|
3677
3646
|
{
|
|
3678
|
-
"kind": "
|
|
3679
|
-
"name": "
|
|
3647
|
+
"kind": "field",
|
|
3648
|
+
"name": "removeItemListeners",
|
|
3680
3649
|
"privacy": "private",
|
|
3681
|
-
"
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
"text": "MouseEvent"
|
|
3686
|
-
}
|
|
3687
|
-
}
|
|
3688
|
-
]
|
|
3650
|
+
"inheritedFrom": {
|
|
3651
|
+
"name": "Accordion",
|
|
3652
|
+
"module": "src/accordion/accordion.ts"
|
|
3653
|
+
}
|
|
3689
3654
|
},
|
|
3690
3655
|
{
|
|
3691
|
-
"kind": "
|
|
3692
|
-
"name": "
|
|
3656
|
+
"kind": "field",
|
|
3657
|
+
"name": "activeItemChange",
|
|
3658
|
+
"privacy": "private",
|
|
3659
|
+
"inheritedFrom": {
|
|
3660
|
+
"name": "Accordion",
|
|
3661
|
+
"module": "src/accordion/accordion.ts"
|
|
3662
|
+
}
|
|
3693
3663
|
},
|
|
3694
3664
|
{
|
|
3695
3665
|
"kind": "method",
|
|
3696
|
-
"name": "
|
|
3666
|
+
"name": "getItemIds",
|
|
3667
|
+
"privacy": "private",
|
|
3697
3668
|
"return": {
|
|
3698
3669
|
"type": {
|
|
3699
|
-
"text": "
|
|
3670
|
+
"text": "Array<string | null>"
|
|
3700
3671
|
}
|
|
3672
|
+
},
|
|
3673
|
+
"inheritedFrom": {
|
|
3674
|
+
"name": "Accordion",
|
|
3675
|
+
"module": "src/accordion/accordion.ts"
|
|
3701
3676
|
}
|
|
3702
3677
|
},
|
|
3703
3678
|
{
|
|
3704
3679
|
"kind": "method",
|
|
3705
|
-
"name": "
|
|
3680
|
+
"name": "isSingleExpandMode",
|
|
3706
3681
|
"privacy": "private",
|
|
3707
3682
|
"return": {
|
|
3708
3683
|
"type": {
|
|
3709
|
-
"text": "
|
|
3684
|
+
"text": "boolean"
|
|
3710
3685
|
}
|
|
3711
3686
|
},
|
|
3712
|
-
"
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
"text": "AIStatus | null"
|
|
3717
|
-
}
|
|
3718
|
-
}
|
|
3719
|
-
]
|
|
3687
|
+
"inheritedFrom": {
|
|
3688
|
+
"name": "Accordion",
|
|
3689
|
+
"module": "src/accordion/accordion.ts"
|
|
3690
|
+
}
|
|
3720
3691
|
},
|
|
3721
3692
|
{
|
|
3722
|
-
"kind": "
|
|
3723
|
-
"name": "
|
|
3693
|
+
"kind": "field",
|
|
3694
|
+
"name": "handleItemKeyDown",
|
|
3724
3695
|
"privacy": "private",
|
|
3725
|
-
"
|
|
3726
|
-
"
|
|
3727
|
-
|
|
3728
|
-
}
|
|
3696
|
+
"inheritedFrom": {
|
|
3697
|
+
"name": "Accordion",
|
|
3698
|
+
"module": "src/accordion/accordion.ts"
|
|
3729
3699
|
}
|
|
3730
3700
|
},
|
|
3731
3701
|
{
|
|
3732
|
-
"kind": "
|
|
3733
|
-
"name": "
|
|
3702
|
+
"kind": "field",
|
|
3703
|
+
"name": "handleItemFocus",
|
|
3734
3704
|
"privacy": "private",
|
|
3735
|
-
"
|
|
3736
|
-
"
|
|
3737
|
-
|
|
3738
|
-
}
|
|
3705
|
+
"inheritedFrom": {
|
|
3706
|
+
"name": "Accordion",
|
|
3707
|
+
"module": "src/accordion/accordion.ts"
|
|
3739
3708
|
}
|
|
3740
3709
|
},
|
|
3741
3710
|
{
|
|
3742
3711
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3712
|
+
"name": "adjust",
|
|
3744
3713
|
"privacy": "private",
|
|
3745
3714
|
"return": {
|
|
3746
3715
|
"type": {
|
|
3747
3716
|
"text": "void"
|
|
3748
3717
|
}
|
|
3718
|
+
},
|
|
3719
|
+
"parameters": [
|
|
3720
|
+
{
|
|
3721
|
+
"name": "adjustment",
|
|
3722
|
+
"type": {
|
|
3723
|
+
"text": "number"
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
],
|
|
3727
|
+
"inheritedFrom": {
|
|
3728
|
+
"name": "Accordion",
|
|
3729
|
+
"module": "src/accordion/accordion.ts"
|
|
3749
3730
|
}
|
|
3750
3731
|
},
|
|
3751
3732
|
{
|
|
3752
3733
|
"kind": "method",
|
|
3753
|
-
"name": "
|
|
3734
|
+
"name": "focusItem",
|
|
3735
|
+
"privacy": "private",
|
|
3754
3736
|
"return": {
|
|
3755
3737
|
"type": {
|
|
3756
|
-
"text": "
|
|
3738
|
+
"text": "void"
|
|
3757
3739
|
}
|
|
3740
|
+
},
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3758
3744
|
}
|
|
3759
3745
|
},
|
|
3760
3746
|
{
|
|
@@ -3869,88 +3855,102 @@
|
|
|
3869
3855
|
}
|
|
3870
3856
|
}
|
|
3871
3857
|
],
|
|
3872
|
-
"
|
|
3873
|
-
|
|
3874
|
-
|
|
3858
|
+
"events": [
|
|
3859
|
+
{
|
|
3860
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3861
|
+
"name": "change",
|
|
3862
|
+
"inheritedFrom": {
|
|
3863
|
+
"name": "Accordion",
|
|
3864
|
+
"module": "src/accordion/accordion.ts"
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3867
|
+
]
|
|
3868
|
+
},
|
|
3869
|
+
{
|
|
3870
|
+
"kind": "variable",
|
|
3871
|
+
"name": "foundationAccordionShadowOptions",
|
|
3872
|
+
"type": {
|
|
3873
|
+
"text": "ShadowRootInit"
|
|
3875
3874
|
},
|
|
3876
|
-
"
|
|
3877
|
-
"customElement": true
|
|
3875
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3878
3876
|
},
|
|
3879
3877
|
{
|
|
3880
3878
|
"kind": "variable",
|
|
3881
|
-
"name": "
|
|
3879
|
+
"name": "defaultAccordionConfig",
|
|
3880
|
+
"type": {
|
|
3881
|
+
"text": "object"
|
|
3882
|
+
},
|
|
3883
|
+
"default": "{}"
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "variable",
|
|
3887
|
+
"name": "foundationAccordion",
|
|
3888
|
+
"description": "The Foundation Accordion",
|
|
3889
|
+
"privacy": "public"
|
|
3882
3890
|
}
|
|
3883
3891
|
],
|
|
3884
3892
|
"exports": [
|
|
3885
3893
|
{
|
|
3886
3894
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
3895
|
+
"name": "Accordion",
|
|
3888
3896
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
3897
|
+
"name": "Accordion",
|
|
3898
|
+
"module": "src/accordion/accordion.ts"
|
|
3891
3899
|
}
|
|
3892
3900
|
},
|
|
3893
3901
|
{
|
|
3894
3902
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3896
|
-
"declaration": {
|
|
3897
|
-
"name": "foundationAiIndicator",
|
|
3898
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3899
|
-
}
|
|
3900
|
-
}
|
|
3901
|
-
]
|
|
3902
|
-
},
|
|
3903
|
-
{
|
|
3904
|
-
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/ai-indicator/index.ts",
|
|
3906
|
-
"declarations": [],
|
|
3907
|
-
"exports": [
|
|
3908
|
-
{
|
|
3909
|
-
"kind": "js",
|
|
3910
|
-
"name": "AiIndicator",
|
|
3903
|
+
"name": "foundationAccordionShadowOptions",
|
|
3911
3904
|
"declaration": {
|
|
3912
|
-
"name": "
|
|
3913
|
-
"module": "
|
|
3905
|
+
"name": "foundationAccordionShadowOptions",
|
|
3906
|
+
"module": "src/accordion/accordion.ts"
|
|
3914
3907
|
}
|
|
3915
3908
|
},
|
|
3916
3909
|
{
|
|
3917
3910
|
"kind": "js",
|
|
3918
|
-
"name": "
|
|
3911
|
+
"name": "defaultAccordionConfig",
|
|
3919
3912
|
"declaration": {
|
|
3920
|
-
"name": "
|
|
3921
|
-
"module": "
|
|
3913
|
+
"name": "defaultAccordionConfig",
|
|
3914
|
+
"module": "src/accordion/accordion.ts"
|
|
3922
3915
|
}
|
|
3923
3916
|
},
|
|
3924
3917
|
{
|
|
3925
3918
|
"kind": "js",
|
|
3926
|
-
"name": "
|
|
3919
|
+
"name": "foundationAccordion",
|
|
3927
3920
|
"declaration": {
|
|
3928
|
-
"name": "
|
|
3929
|
-
"module": "
|
|
3921
|
+
"name": "foundationAccordion",
|
|
3922
|
+
"module": "src/accordion/accordion.ts"
|
|
3930
3923
|
}
|
|
3931
|
-
}
|
|
3924
|
+
}
|
|
3925
|
+
]
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "javascript-module",
|
|
3929
|
+
"path": "src/accordion/index.ts",
|
|
3930
|
+
"declarations": [],
|
|
3931
|
+
"exports": [
|
|
3932
3932
|
{
|
|
3933
3933
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3934
|
+
"name": "*",
|
|
3935
3935
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"
|
|
3936
|
+
"name": "*",
|
|
3937
|
+
"package": "./accordion.template"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "*",
|
|
3945
|
+
"package": "./accordion.styles"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "*",
|
|
3953
|
+
"package": "./accordion"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|