@genesislcap/foundation-ui 14.451.5-alpha-ec85af7.0 → 14.452.0
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 +1115 -1115
- 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
|
@@ -1398,37 +1398,6 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
-
{
|
|
1402
|
-
"kind": "javascript-module",
|
|
1403
|
-
"path": "src/_config/index.ts",
|
|
1404
|
-
"declarations": [],
|
|
1405
|
-
"exports": [
|
|
1406
|
-
{
|
|
1407
|
-
"kind": "js",
|
|
1408
|
-
"name": "*",
|
|
1409
|
-
"declaration": {
|
|
1410
|
-
"name": "*",
|
|
1411
|
-
"package": "./styles"
|
|
1412
|
-
}
|
|
1413
|
-
},
|
|
1414
|
-
{
|
|
1415
|
-
"kind": "js",
|
|
1416
|
-
"name": "*",
|
|
1417
|
-
"declaration": {
|
|
1418
|
-
"name": "*",
|
|
1419
|
-
"package": "./tokens"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
{
|
|
1423
|
-
"kind": "js",
|
|
1424
|
-
"name": "*",
|
|
1425
|
-
"declaration": {
|
|
1426
|
-
"name": "*",
|
|
1427
|
-
"package": "./values"
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
1401
|
{
|
|
1433
1402
|
"kind": "javascript-module",
|
|
1434
1403
|
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
@@ -1825,11 +1794,34 @@
|
|
|
1825
1794
|
},
|
|
1826
1795
|
{
|
|
1827
1796
|
"kind": "javascript-module",
|
|
1828
|
-
"path": "src/
|
|
1797
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
1829
1798
|
"declarations": [
|
|
1830
1799
|
{
|
|
1831
1800
|
"kind": "function",
|
|
1832
|
-
"name": "
|
|
1801
|
+
"name": "actionsMenuBaseStyles",
|
|
1802
|
+
"return": {
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "ElementStyles"
|
|
1805
|
+
}
|
|
1806
|
+
},
|
|
1807
|
+
"parameters": [
|
|
1808
|
+
{
|
|
1809
|
+
"name": "context",
|
|
1810
|
+
"type": {
|
|
1811
|
+
"text": "ElementDefinitionContext"
|
|
1812
|
+
}
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "definition",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "FoundationElementDefinition"
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"kind": "function",
|
|
1824
|
+
"name": "foundationActionsMenuStyles",
|
|
1833
1825
|
"return": {
|
|
1834
1826
|
"type": {
|
|
1835
1827
|
"text": "ElementStyles"
|
|
@@ -1854,277 +1846,269 @@
|
|
|
1854
1846
|
"exports": [
|
|
1855
1847
|
{
|
|
1856
1848
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1849
|
+
"name": "actionsMenuBaseStyles",
|
|
1858
1850
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "src/
|
|
1851
|
+
"name": "actionsMenuBaseStyles",
|
|
1852
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
"kind": "js",
|
|
1857
|
+
"name": "foundationActionsMenuStyles",
|
|
1858
|
+
"declaration": {
|
|
1859
|
+
"name": "foundationActionsMenuStyles",
|
|
1860
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
1863
|
]
|
|
1864
1864
|
},
|
|
1865
1865
|
{
|
|
1866
1866
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/
|
|
1867
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
1868
1868
|
"declarations": [
|
|
1869
1869
|
{
|
|
1870
1870
|
"kind": "function",
|
|
1871
|
-
"name": "
|
|
1872
|
-
"return": {
|
|
1873
|
-
"type": {
|
|
1874
|
-
"text": "ViewTemplate<Accordion>"
|
|
1875
|
-
}
|
|
1876
|
-
},
|
|
1871
|
+
"name": "menuTemplate",
|
|
1877
1872
|
"parameters": [
|
|
1878
1873
|
{
|
|
1879
|
-
"name": "
|
|
1874
|
+
"name": "prefix",
|
|
1880
1875
|
"type": {
|
|
1881
|
-
"text": "
|
|
1876
|
+
"text": "string"
|
|
1882
1877
|
}
|
|
1883
|
-
}
|
|
1878
|
+
}
|
|
1879
|
+
]
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"kind": "function",
|
|
1883
|
+
"name": "singleOptionTemplate",
|
|
1884
|
+
"parameters": [
|
|
1884
1885
|
{
|
|
1885
|
-
"name": "
|
|
1886
|
+
"name": "prefix",
|
|
1886
1887
|
"type": {
|
|
1887
|
-
"text": "
|
|
1888
|
+
"text": "string"
|
|
1888
1889
|
}
|
|
1889
1890
|
}
|
|
1890
1891
|
]
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"kind": "variable",
|
|
1895
|
+
"name": "foundationActionsMenuTemplate",
|
|
1896
|
+
"type": {
|
|
1897
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
1898
|
+
},
|
|
1899
|
+
"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`"
|
|
1891
1900
|
}
|
|
1892
1901
|
],
|
|
1893
1902
|
"exports": [
|
|
1894
1903
|
{
|
|
1895
1904
|
"kind": "js",
|
|
1896
|
-
"name": "
|
|
1905
|
+
"name": "menuTemplate",
|
|
1897
1906
|
"declaration": {
|
|
1898
|
-
"name": "
|
|
1899
|
-
"module": "src/
|
|
1907
|
+
"name": "menuTemplate",
|
|
1908
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "js",
|
|
1913
|
+
"name": "singleOptionTemplate",
|
|
1914
|
+
"declaration": {
|
|
1915
|
+
"name": "singleOptionTemplate",
|
|
1916
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"kind": "js",
|
|
1921
|
+
"name": "foundationActionsMenuTemplate",
|
|
1922
|
+
"declaration": {
|
|
1923
|
+
"name": "foundationActionsMenuTemplate",
|
|
1924
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1900
1925
|
}
|
|
1901
1926
|
}
|
|
1902
1927
|
]
|
|
1903
1928
|
},
|
|
1904
1929
|
{
|
|
1905
1930
|
"kind": "javascript-module",
|
|
1906
|
-
"path": "src/
|
|
1931
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
1907
1932
|
"declarations": [
|
|
1908
1933
|
{
|
|
1909
1934
|
"kind": "class",
|
|
1910
1935
|
"description": "",
|
|
1911
|
-
"name": "
|
|
1912
|
-
"
|
|
1913
|
-
"name": "FASTAccordion",
|
|
1914
|
-
"package": "@microsoft/fast-foundation"
|
|
1915
|
-
},
|
|
1916
|
-
"tagName": "%%prefix%%-accordion",
|
|
1917
|
-
"customElement": true,
|
|
1918
|
-
"attributes": [
|
|
1936
|
+
"name": "ActionsMenu",
|
|
1937
|
+
"members": [
|
|
1919
1938
|
{
|
|
1920
|
-
"
|
|
1939
|
+
"kind": "field",
|
|
1940
|
+
"name": "actions",
|
|
1921
1941
|
"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"
|
|
1942
|
+
"text": "ActionMenuItem[]"
|
|
1929
1943
|
}
|
|
1930
|
-
}
|
|
1931
|
-
],
|
|
1932
|
-
"members": [
|
|
1944
|
+
},
|
|
1933
1945
|
{
|
|
1934
1946
|
"kind": "field",
|
|
1935
|
-
"name": "
|
|
1947
|
+
"name": "isVertical",
|
|
1936
1948
|
"type": {
|
|
1937
|
-
"text": "
|
|
1949
|
+
"text": "boolean"
|
|
1938
1950
|
},
|
|
1939
|
-
"
|
|
1940
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
1941
|
-
"inheritedFrom": {
|
|
1942
|
-
"name": "Accordion",
|
|
1943
|
-
"module": "src/accordion/accordion.ts"
|
|
1944
|
-
}
|
|
1951
|
+
"default": "false"
|
|
1945
1952
|
},
|
|
1946
1953
|
{
|
|
1947
1954
|
"kind": "field",
|
|
1948
|
-
"name": "
|
|
1955
|
+
"name": "addDefaultActions",
|
|
1949
1956
|
"type": {
|
|
1950
|
-
"text": "
|
|
1957
|
+
"text": "boolean"
|
|
1951
1958
|
},
|
|
1952
|
-
"
|
|
1953
|
-
"inheritedFrom": {
|
|
1954
|
-
"name": "Accordion",
|
|
1955
|
-
"module": "src/accordion/accordion.ts"
|
|
1956
|
-
}
|
|
1959
|
+
"default": "true"
|
|
1957
1960
|
},
|
|
1958
1961
|
{
|
|
1959
1962
|
"kind": "field",
|
|
1960
|
-
"name": "
|
|
1963
|
+
"name": "autoCloseOnAction",
|
|
1961
1964
|
"type": {
|
|
1962
|
-
"text": "
|
|
1965
|
+
"text": "boolean"
|
|
1963
1966
|
},
|
|
1964
|
-
"
|
|
1965
|
-
"default": "0",
|
|
1966
|
-
"inheritedFrom": {
|
|
1967
|
-
"name": "Accordion",
|
|
1968
|
-
"module": "src/accordion/accordion.ts"
|
|
1969
|
-
}
|
|
1967
|
+
"default": "true"
|
|
1970
1968
|
},
|
|
1971
1969
|
{
|
|
1972
1970
|
"kind": "field",
|
|
1973
|
-
"name": "
|
|
1971
|
+
"name": "classNames",
|
|
1974
1972
|
"type": {
|
|
1975
|
-
"text": "
|
|
1976
|
-
},
|
|
1977
|
-
"privacy": "private",
|
|
1978
|
-
"inheritedFrom": {
|
|
1979
|
-
"name": "Accordion",
|
|
1980
|
-
"module": "src/accordion/accordion.ts"
|
|
1973
|
+
"text": "string"
|
|
1981
1974
|
}
|
|
1982
1975
|
},
|
|
1983
1976
|
{
|
|
1984
1977
|
"kind": "field",
|
|
1985
|
-
"name": "
|
|
1986
|
-
"
|
|
1987
|
-
|
|
1988
|
-
"name": "Accordion",
|
|
1989
|
-
"module": "src/accordion/accordion.ts"
|
|
1978
|
+
"name": "definition",
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "any"
|
|
1990
1981
|
}
|
|
1991
1982
|
},
|
|
1992
1983
|
{
|
|
1993
|
-
"kind": "
|
|
1994
|
-
"name": "
|
|
1995
|
-
"
|
|
1996
|
-
|
|
1997
|
-
"type": {
|
|
1998
|
-
"text": "AccordionItem | null"
|
|
1999
|
-
}
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "name",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "string"
|
|
2000
1988
|
},
|
|
2001
|
-
"
|
|
2002
|
-
"name": "Accordion",
|
|
2003
|
-
"module": "src/accordion/accordion.ts"
|
|
2004
|
-
}
|
|
1989
|
+
"default": "'Actions'"
|
|
2005
1990
|
},
|
|
2006
1991
|
{
|
|
2007
1992
|
"kind": "field",
|
|
2008
|
-
"name": "
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
1993
|
+
"name": "open",
|
|
1994
|
+
"type": {
|
|
1995
|
+
"text": "boolean"
|
|
1996
|
+
},
|
|
1997
|
+
"default": "false"
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "field",
|
|
2001
|
+
"name": "buttonAppearance",
|
|
2002
|
+
"type": {
|
|
2003
|
+
"text": "string"
|
|
2013
2004
|
}
|
|
2014
2005
|
},
|
|
2015
2006
|
{
|
|
2016
|
-
"kind": "
|
|
2017
|
-
"name": "
|
|
2018
|
-
"
|
|
2019
|
-
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "void"
|
|
2022
|
-
}
|
|
2007
|
+
"kind": "field",
|
|
2008
|
+
"name": "hideDisabled",
|
|
2009
|
+
"type": {
|
|
2010
|
+
"text": "boolean"
|
|
2023
2011
|
},
|
|
2024
|
-
"
|
|
2025
|
-
"name": "Accordion",
|
|
2026
|
-
"module": "src/accordion/accordion.ts"
|
|
2027
|
-
}
|
|
2012
|
+
"default": "false"
|
|
2028
2013
|
},
|
|
2029
2014
|
{
|
|
2030
2015
|
"kind": "field",
|
|
2031
|
-
"name": "
|
|
2032
|
-
"
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2016
|
+
"name": "hideMenuSingleOption",
|
|
2017
|
+
"type": {
|
|
2018
|
+
"text": "boolean"
|
|
2019
|
+
},
|
|
2020
|
+
"default": "false"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"kind": "field",
|
|
2024
|
+
"name": "singleOption",
|
|
2025
|
+
"type": {
|
|
2026
|
+
"text": "ActionMenuItem"
|
|
2036
2027
|
}
|
|
2037
2028
|
},
|
|
2038
2029
|
{
|
|
2039
2030
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
2041
|
-
"
|
|
2042
|
-
|
|
2043
|
-
"name": "Accordion",
|
|
2044
|
-
"module": "src/accordion/accordion.ts"
|
|
2031
|
+
"name": "actionsMenu",
|
|
2032
|
+
"type": {
|
|
2033
|
+
"text": "HTMLElement"
|
|
2045
2034
|
}
|
|
2046
2035
|
},
|
|
2047
2036
|
{
|
|
2048
2037
|
"kind": "method",
|
|
2049
|
-
"name": "
|
|
2050
|
-
"privacy": "
|
|
2051
|
-
"
|
|
2052
|
-
|
|
2053
|
-
"
|
|
2038
|
+
"name": "definitionChanged",
|
|
2039
|
+
"privacy": "protected",
|
|
2040
|
+
"parameters": [
|
|
2041
|
+
{
|
|
2042
|
+
"name": "oldValue",
|
|
2043
|
+
"type": {
|
|
2044
|
+
"text": "any"
|
|
2045
|
+
}
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"name": "newValue",
|
|
2049
|
+
"type": {
|
|
2050
|
+
"text": "any"
|
|
2051
|
+
}
|
|
2054
2052
|
}
|
|
2055
|
-
|
|
2056
|
-
"inheritedFrom": {
|
|
2057
|
-
"name": "Accordion",
|
|
2058
|
-
"module": "src/accordion/accordion.ts"
|
|
2059
|
-
}
|
|
2053
|
+
]
|
|
2060
2054
|
},
|
|
2061
2055
|
{
|
|
2062
2056
|
"kind": "method",
|
|
2063
|
-
"name": "
|
|
2064
|
-
"privacy": "
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2057
|
+
"name": "openChanged",
|
|
2058
|
+
"privacy": "protected"
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"kind": "method",
|
|
2062
|
+
"name": "toggleActionsMenuVisibility"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"kind": "method",
|
|
2066
|
+
"name": "onActionMenuItemClick",
|
|
2067
|
+
"parameters": [
|
|
2068
|
+
{
|
|
2069
|
+
"name": "callback",
|
|
2070
|
+
"type": {
|
|
2071
|
+
"text": "(rowData) => void | any"
|
|
2072
|
+
}
|
|
2068
2073
|
}
|
|
2069
|
-
|
|
2070
|
-
"inheritedFrom": {
|
|
2071
|
-
"name": "Accordion",
|
|
2072
|
-
"module": "src/accordion/accordion.ts"
|
|
2073
|
-
}
|
|
2074
|
+
]
|
|
2074
2075
|
},
|
|
2075
2076
|
{
|
|
2076
2077
|
"kind": "field",
|
|
2077
|
-
"name": "
|
|
2078
|
-
"
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
}
|
|
2078
|
+
"name": "allActions",
|
|
2079
|
+
"type": {
|
|
2080
|
+
"text": "ActionMenuItem[]"
|
|
2081
|
+
},
|
|
2082
|
+
"readonly": true
|
|
2083
2083
|
},
|
|
2084
2084
|
{
|
|
2085
2085
|
"kind": "field",
|
|
2086
|
-
"name": "
|
|
2087
|
-
"
|
|
2088
|
-
"inheritedFrom": {
|
|
2089
|
-
"name": "Accordion",
|
|
2090
|
-
"module": "src/accordion/accordion.ts"
|
|
2091
|
-
}
|
|
2086
|
+
"name": "rowData",
|
|
2087
|
+
"readonly": true
|
|
2092
2088
|
},
|
|
2093
2089
|
{
|
|
2094
2090
|
"kind": "method",
|
|
2095
|
-
"name": "
|
|
2096
|
-
"privacy": "private",
|
|
2097
|
-
"return": {
|
|
2098
|
-
"type": {
|
|
2099
|
-
"text": "void"
|
|
2100
|
-
}
|
|
2101
|
-
},
|
|
2091
|
+
"name": "getLabel",
|
|
2102
2092
|
"parameters": [
|
|
2103
2093
|
{
|
|
2104
|
-
"name": "
|
|
2094
|
+
"name": "name",
|
|
2105
2095
|
"type": {
|
|
2106
|
-
"text": "
|
|
2096
|
+
"text": "string | ((rowData: any) => string)"
|
|
2107
2097
|
}
|
|
2108
2098
|
}
|
|
2109
|
-
]
|
|
2110
|
-
"inheritedFrom": {
|
|
2111
|
-
"name": "Accordion",
|
|
2112
|
-
"module": "src/accordion/accordion.ts"
|
|
2113
|
-
}
|
|
2099
|
+
]
|
|
2114
2100
|
},
|
|
2115
2101
|
{
|
|
2116
2102
|
"kind": "method",
|
|
2117
|
-
"name": "
|
|
2118
|
-
"
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
"
|
|
2103
|
+
"name": "getTemplate",
|
|
2104
|
+
"parameters": [
|
|
2105
|
+
{
|
|
2106
|
+
"name": "prefix",
|
|
2107
|
+
"type": {
|
|
2108
|
+
"text": "string"
|
|
2109
|
+
}
|
|
2122
2110
|
}
|
|
2123
|
-
|
|
2124
|
-
"inheritedFrom": {
|
|
2125
|
-
"name": "Accordion",
|
|
2126
|
-
"module": "src/accordion/accordion.ts"
|
|
2127
|
-
}
|
|
2111
|
+
]
|
|
2128
2112
|
},
|
|
2129
2113
|
{
|
|
2130
2114
|
"kind": "field",
|
|
@@ -2238,78 +2222,107 @@
|
|
|
2238
2222
|
}
|
|
2239
2223
|
}
|
|
2240
2224
|
],
|
|
2241
|
-
"
|
|
2225
|
+
"attributes": [
|
|
2242
2226
|
{
|
|
2243
|
-
"
|
|
2244
|
-
"
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2227
|
+
"name": "is-vertical",
|
|
2228
|
+
"type": {
|
|
2229
|
+
"text": "boolean"
|
|
2230
|
+
},
|
|
2231
|
+
"default": "false",
|
|
2232
|
+
"fieldName": "isVertical"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "add-default-actions",
|
|
2236
|
+
"type": {
|
|
2237
|
+
"text": "boolean"
|
|
2238
|
+
},
|
|
2239
|
+
"default": "true",
|
|
2240
|
+
"fieldName": "addDefaultActions"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "auto-close-on-action",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "boolean"
|
|
2246
|
+
},
|
|
2247
|
+
"default": "true",
|
|
2248
|
+
"fieldName": "autoCloseOnAction"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
"name": "name",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "string"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "'Actions'",
|
|
2256
|
+
"fieldName": "name"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "open",
|
|
2260
|
+
"type": {
|
|
2261
|
+
"text": "boolean"
|
|
2262
|
+
},
|
|
2263
|
+
"default": "false",
|
|
2264
|
+
"fieldName": "open"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "buttonAppearance",
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "string"
|
|
2270
|
+
},
|
|
2271
|
+
"fieldName": "buttonAppearance"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"name": "hide-disabled",
|
|
2275
|
+
"type": {
|
|
2276
|
+
"text": "boolean"
|
|
2277
|
+
},
|
|
2278
|
+
"default": "false",
|
|
2279
|
+
"fieldName": "hideDisabled"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"name": "hide-menu-single-option",
|
|
2283
|
+
"type": {
|
|
2284
|
+
"text": "boolean"
|
|
2285
|
+
},
|
|
2286
|
+
"default": "false",
|
|
2287
|
+
"fieldName": "hideMenuSingleOption"
|
|
2249
2288
|
}
|
|
2250
|
-
]
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
"name": "foundationAccordionShadowOptions",
|
|
2255
|
-
"type": {
|
|
2256
|
-
"text": "ShadowRootInit"
|
|
2257
|
-
},
|
|
2258
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"kind": "variable",
|
|
2262
|
-
"name": "defaultAccordionConfig",
|
|
2263
|
-
"type": {
|
|
2264
|
-
"text": "object"
|
|
2289
|
+
],
|
|
2290
|
+
"superclass": {
|
|
2291
|
+
"name": "FoundationElement",
|
|
2292
|
+
"package": "@microsoft/fast-foundation"
|
|
2265
2293
|
},
|
|
2266
|
-
"
|
|
2294
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2295
|
+
"customElement": true
|
|
2267
2296
|
},
|
|
2268
2297
|
{
|
|
2269
2298
|
"kind": "variable",
|
|
2270
|
-
"name": "
|
|
2271
|
-
"description": "The Foundation
|
|
2299
|
+
"name": "foundationActionsMenu",
|
|
2300
|
+
"description": "The Foundation Actions Menu",
|
|
2272
2301
|
"privacy": "public"
|
|
2273
2302
|
}
|
|
2274
2303
|
],
|
|
2275
2304
|
"exports": [
|
|
2276
2305
|
{
|
|
2277
2306
|
"kind": "js",
|
|
2278
|
-
"name": "
|
|
2279
|
-
"declaration": {
|
|
2280
|
-
"name": "Accordion",
|
|
2281
|
-
"module": "src/accordion/accordion.ts"
|
|
2282
|
-
}
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
"kind": "js",
|
|
2286
|
-
"name": "foundationAccordionShadowOptions",
|
|
2287
|
-
"declaration": {
|
|
2288
|
-
"name": "foundationAccordionShadowOptions",
|
|
2289
|
-
"module": "src/accordion/accordion.ts"
|
|
2290
|
-
}
|
|
2291
|
-
},
|
|
2292
|
-
{
|
|
2293
|
-
"kind": "js",
|
|
2294
|
-
"name": "defaultAccordionConfig",
|
|
2307
|
+
"name": "ActionsMenu",
|
|
2295
2308
|
"declaration": {
|
|
2296
|
-
"name": "
|
|
2297
|
-
"module": "src/
|
|
2309
|
+
"name": "ActionsMenu",
|
|
2310
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2298
2311
|
}
|
|
2299
2312
|
},
|
|
2300
2313
|
{
|
|
2301
2314
|
"kind": "js",
|
|
2302
|
-
"name": "
|
|
2315
|
+
"name": "foundationActionsMenu",
|
|
2303
2316
|
"declaration": {
|
|
2304
|
-
"name": "
|
|
2305
|
-
"module": "src/
|
|
2317
|
+
"name": "foundationActionsMenu",
|
|
2318
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2306
2319
|
}
|
|
2307
2320
|
}
|
|
2308
2321
|
]
|
|
2309
2322
|
},
|
|
2310
2323
|
{
|
|
2311
2324
|
"kind": "javascript-module",
|
|
2312
|
-
"path": "src/
|
|
2325
|
+
"path": "src/actions-menu/index.ts",
|
|
2313
2326
|
"declarations": [],
|
|
2314
2327
|
"exports": [
|
|
2315
2328
|
{
|
|
@@ -2317,7 +2330,7 @@
|
|
|
2317
2330
|
"name": "*",
|
|
2318
2331
|
"declaration": {
|
|
2319
2332
|
"name": "*",
|
|
2320
|
-
"package": "./
|
|
2333
|
+
"package": "./actions-menu.styles"
|
|
2321
2334
|
}
|
|
2322
2335
|
},
|
|
2323
2336
|
{
|
|
@@ -2325,7 +2338,7 @@
|
|
|
2325
2338
|
"name": "*",
|
|
2326
2339
|
"declaration": {
|
|
2327
2340
|
"name": "*",
|
|
2328
|
-
"package": "./
|
|
2341
|
+
"package": "./actions-menu.template"
|
|
2329
2342
|
}
|
|
2330
2343
|
},
|
|
2331
2344
|
{
|
|
@@ -2333,210 +2346,122 @@
|
|
|
2333
2346
|
"name": "*",
|
|
2334
2347
|
"declaration": {
|
|
2335
2348
|
"name": "*",
|
|
2336
|
-
"package": "./
|
|
2349
|
+
"package": "./actions-menu"
|
|
2337
2350
|
}
|
|
2338
2351
|
}
|
|
2339
2352
|
]
|
|
2340
2353
|
},
|
|
2341
2354
|
{
|
|
2342
2355
|
"kind": "javascript-module",
|
|
2343
|
-
"path": "src/
|
|
2356
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2344
2357
|
"declarations": [
|
|
2345
2358
|
{
|
|
2346
|
-
"kind": "
|
|
2347
|
-
"name": "
|
|
2348
|
-
"
|
|
2349
|
-
"type": {
|
|
2350
|
-
"text": "ElementStyles"
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
"parameters": [
|
|
2354
|
-
{
|
|
2355
|
-
"name": "context",
|
|
2356
|
-
"type": {
|
|
2357
|
-
"text": "ElementDefinitionContext"
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "definition",
|
|
2362
|
-
"type": {
|
|
2363
|
-
"text": "FoundationElementDefinition"
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
]
|
|
2367
|
-
},
|
|
2368
|
-
{
|
|
2369
|
-
"kind": "function",
|
|
2370
|
-
"name": "foundationActionsMenuStyles",
|
|
2371
|
-
"return": {
|
|
2372
|
-
"type": {
|
|
2373
|
-
"text": "ElementStyles"
|
|
2374
|
-
}
|
|
2375
|
-
},
|
|
2376
|
-
"parameters": [
|
|
2377
|
-
{
|
|
2378
|
-
"name": "context",
|
|
2379
|
-
"type": {
|
|
2380
|
-
"text": "ElementDefinitionContext"
|
|
2381
|
-
}
|
|
2382
|
-
},
|
|
2383
|
-
{
|
|
2384
|
-
"name": "definition",
|
|
2385
|
-
"type": {
|
|
2386
|
-
"text": "FoundationElementDefinition"
|
|
2387
|
-
}
|
|
2388
|
-
}
|
|
2389
|
-
]
|
|
2359
|
+
"kind": "variable",
|
|
2360
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2361
|
+
"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`"
|
|
2390
2362
|
}
|
|
2391
2363
|
],
|
|
2392
2364
|
"exports": [
|
|
2393
2365
|
{
|
|
2394
2366
|
"kind": "js",
|
|
2395
|
-
"name": "
|
|
2396
|
-
"declaration": {
|
|
2397
|
-
"name": "actionsMenuBaseStyles",
|
|
2398
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2399
|
-
}
|
|
2400
|
-
},
|
|
2401
|
-
{
|
|
2402
|
-
"kind": "js",
|
|
2403
|
-
"name": "foundationActionsMenuStyles",
|
|
2367
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2404
2368
|
"declaration": {
|
|
2405
|
-
"name": "
|
|
2406
|
-
"module": "src/
|
|
2369
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2407
2371
|
}
|
|
2408
2372
|
}
|
|
2409
2373
|
]
|
|
2410
2374
|
},
|
|
2411
2375
|
{
|
|
2412
2376
|
"kind": "javascript-module",
|
|
2413
|
-
"path": "src/
|
|
2377
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2414
2378
|
"declarations": [
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "function",
|
|
2417
|
-
"name": "menuTemplate",
|
|
2418
|
-
"parameters": [
|
|
2419
|
-
{
|
|
2420
|
-
"name": "prefix",
|
|
2421
|
-
"type": {
|
|
2422
|
-
"text": "string"
|
|
2423
|
-
}
|
|
2424
|
-
}
|
|
2425
|
-
]
|
|
2426
|
-
},
|
|
2427
|
-
{
|
|
2428
|
-
"kind": "function",
|
|
2429
|
-
"name": "singleOptionTemplate",
|
|
2430
|
-
"parameters": [
|
|
2431
|
-
{
|
|
2432
|
-
"name": "prefix",
|
|
2433
|
-
"type": {
|
|
2434
|
-
"text": "string"
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
]
|
|
2438
|
-
},
|
|
2439
2379
|
{
|
|
2440
2380
|
"kind": "variable",
|
|
2441
|
-
"name": "
|
|
2381
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2442
2382
|
"type": {
|
|
2443
|
-
"text": "ViewTemplate<
|
|
2383
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2444
2384
|
},
|
|
2445
|
-
"default": "html`\n
|
|
2385
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2446
2386
|
}
|
|
2447
2387
|
],
|
|
2448
2388
|
"exports": [
|
|
2449
2389
|
{
|
|
2450
2390
|
"kind": "js",
|
|
2451
|
-
"name": "
|
|
2452
|
-
"declaration": {
|
|
2453
|
-
"name": "menuTemplate",
|
|
2454
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2455
|
-
}
|
|
2456
|
-
},
|
|
2457
|
-
{
|
|
2458
|
-
"kind": "js",
|
|
2459
|
-
"name": "singleOptionTemplate",
|
|
2460
|
-
"declaration": {
|
|
2461
|
-
"name": "singleOptionTemplate",
|
|
2462
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2463
|
-
}
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
"kind": "js",
|
|
2467
|
-
"name": "foundationActionsMenuTemplate",
|
|
2391
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2468
2392
|
"declaration": {
|
|
2469
|
-
"name": "
|
|
2470
|
-
"module": "src/
|
|
2393
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2394
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2471
2395
|
}
|
|
2472
2396
|
}
|
|
2473
2397
|
]
|
|
2474
2398
|
},
|
|
2475
2399
|
{
|
|
2476
2400
|
"kind": "javascript-module",
|
|
2477
|
-
"path": "src/
|
|
2401
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2478
2402
|
"declarations": [
|
|
2479
2403
|
{
|
|
2480
2404
|
"kind": "class",
|
|
2481
|
-
"description": "",
|
|
2482
|
-
"name": "
|
|
2405
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2406
|
+
"name": "AiCriteriaSearch",
|
|
2483
2407
|
"members": [
|
|
2484
2408
|
{
|
|
2485
2409
|
"kind": "field",
|
|
2486
|
-
"name": "
|
|
2410
|
+
"name": "providerRegistry",
|
|
2487
2411
|
"type": {
|
|
2488
|
-
"text": "
|
|
2412
|
+
"text": "AIProviderRegistry"
|
|
2489
2413
|
}
|
|
2490
2414
|
},
|
|
2491
2415
|
{
|
|
2492
2416
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2417
|
+
"name": "placeholder",
|
|
2494
2418
|
"type": {
|
|
2495
|
-
"text": "
|
|
2419
|
+
"text": "string"
|
|
2496
2420
|
},
|
|
2497
|
-
"default": "
|
|
2421
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2498
2422
|
},
|
|
2499
2423
|
{
|
|
2500
2424
|
"kind": "field",
|
|
2501
|
-
"name": "
|
|
2425
|
+
"name": "disabled",
|
|
2502
2426
|
"type": {
|
|
2503
2427
|
"text": "boolean"
|
|
2504
|
-
}
|
|
2505
|
-
"default": "true"
|
|
2428
|
+
}
|
|
2506
2429
|
},
|
|
2507
2430
|
{
|
|
2508
2431
|
"kind": "field",
|
|
2509
|
-
"name": "
|
|
2432
|
+
"name": "inputValue",
|
|
2510
2433
|
"type": {
|
|
2511
|
-
"text": "
|
|
2434
|
+
"text": "string"
|
|
2512
2435
|
},
|
|
2513
|
-
"default": "
|
|
2436
|
+
"default": "''"
|
|
2514
2437
|
},
|
|
2515
2438
|
{
|
|
2516
2439
|
"kind": "field",
|
|
2517
|
-
"name": "
|
|
2440
|
+
"name": "isInterpreting",
|
|
2518
2441
|
"type": {
|
|
2519
|
-
"text": "
|
|
2520
|
-
}
|
|
2442
|
+
"text": "boolean"
|
|
2443
|
+
},
|
|
2444
|
+
"default": "false"
|
|
2521
2445
|
},
|
|
2522
2446
|
{
|
|
2523
2447
|
"kind": "field",
|
|
2524
|
-
"name": "
|
|
2448
|
+
"name": "lastValidCriteria",
|
|
2525
2449
|
"type": {
|
|
2526
|
-
"text": "
|
|
2527
|
-
}
|
|
2450
|
+
"text": "string | null"
|
|
2451
|
+
},
|
|
2452
|
+
"default": "null"
|
|
2528
2453
|
},
|
|
2529
2454
|
{
|
|
2530
2455
|
"kind": "field",
|
|
2531
|
-
"name": "
|
|
2456
|
+
"name": "activeGroups",
|
|
2532
2457
|
"type": {
|
|
2533
|
-
"text": "
|
|
2458
|
+
"text": "CriteriaGroup[]"
|
|
2534
2459
|
},
|
|
2535
|
-
"default": "
|
|
2460
|
+
"default": "[]"
|
|
2536
2461
|
},
|
|
2537
2462
|
{
|
|
2538
2463
|
"kind": "field",
|
|
2539
|
-
"name": "
|
|
2464
|
+
"name": "showingChips",
|
|
2540
2465
|
"type": {
|
|
2541
2466
|
"text": "boolean"
|
|
2542
2467
|
},
|
|
@@ -2544,14 +2469,15 @@
|
|
|
2544
2469
|
},
|
|
2545
2470
|
{
|
|
2546
2471
|
"kind": "field",
|
|
2547
|
-
"name": "
|
|
2472
|
+
"name": "fieldMetadata",
|
|
2548
2473
|
"type": {
|
|
2549
|
-
"text": "string"
|
|
2550
|
-
}
|
|
2474
|
+
"text": "MetadataDetail[] | string[]"
|
|
2475
|
+
},
|
|
2476
|
+
"default": "[]"
|
|
2551
2477
|
},
|
|
2552
2478
|
{
|
|
2553
2479
|
"kind": "field",
|
|
2554
|
-
"name": "
|
|
2480
|
+
"name": "isRecording",
|
|
2555
2481
|
"type": {
|
|
2556
2482
|
"text": "boolean"
|
|
2557
2483
|
},
|
|
@@ -2559,102 +2485,125 @@
|
|
|
2559
2485
|
},
|
|
2560
2486
|
{
|
|
2561
2487
|
"kind": "field",
|
|
2562
|
-
"name": "
|
|
2488
|
+
"name": "textAreaRef",
|
|
2563
2489
|
"type": {
|
|
2564
|
-
"text": "
|
|
2490
|
+
"text": "HTMLTextAreaElement"
|
|
2565
2491
|
},
|
|
2566
|
-
"
|
|
2492
|
+
"privacy": "public"
|
|
2567
2493
|
},
|
|
2568
2494
|
{
|
|
2569
2495
|
"kind": "field",
|
|
2570
|
-
"name": "
|
|
2496
|
+
"name": "stopRecording",
|
|
2571
2497
|
"type": {
|
|
2572
|
-
"text": "
|
|
2573
|
-
}
|
|
2498
|
+
"text": "(() => void) | null"
|
|
2499
|
+
},
|
|
2500
|
+
"privacy": "private",
|
|
2501
|
+
"default": "null"
|
|
2574
2502
|
},
|
|
2575
2503
|
{
|
|
2576
2504
|
"kind": "field",
|
|
2577
|
-
"name": "
|
|
2505
|
+
"name": "speechApplyDebounceTimer",
|
|
2578
2506
|
"type": {
|
|
2579
|
-
"text": "
|
|
2580
|
-
}
|
|
2507
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2508
|
+
},
|
|
2509
|
+
"privacy": "private",
|
|
2510
|
+
"default": "null"
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"kind": "field",
|
|
2514
|
+
"name": "speechAvailable",
|
|
2515
|
+
"type": {
|
|
2516
|
+
"text": "boolean"
|
|
2517
|
+
},
|
|
2518
|
+
"readonly": true
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
"kind": "field",
|
|
2522
|
+
"name": "criteriaChips",
|
|
2523
|
+
"type": {
|
|
2524
|
+
"text": "CriteriaChip[]"
|
|
2525
|
+
},
|
|
2526
|
+
"readonly": true
|
|
2581
2527
|
},
|
|
2582
2528
|
{
|
|
2583
2529
|
"kind": "method",
|
|
2584
|
-
"name": "
|
|
2585
|
-
"privacy": "
|
|
2530
|
+
"name": "getFieldLabel",
|
|
2531
|
+
"privacy": "private",
|
|
2532
|
+
"return": {
|
|
2533
|
+
"type": {
|
|
2534
|
+
"text": "string"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2586
2537
|
"parameters": [
|
|
2587
2538
|
{
|
|
2588
|
-
"name": "
|
|
2589
|
-
"type": {
|
|
2590
|
-
"text": "any"
|
|
2591
|
-
}
|
|
2592
|
-
},
|
|
2593
|
-
{
|
|
2594
|
-
"name": "newValue",
|
|
2539
|
+
"name": "fieldName",
|
|
2595
2540
|
"type": {
|
|
2596
|
-
"text": "
|
|
2541
|
+
"text": "string"
|
|
2597
2542
|
}
|
|
2598
2543
|
}
|
|
2599
2544
|
]
|
|
2600
2545
|
},
|
|
2601
2546
|
{
|
|
2602
2547
|
"kind": "method",
|
|
2603
|
-
"name": "
|
|
2604
|
-
"
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2548
|
+
"name": "toggleCriteriaView",
|
|
2549
|
+
"return": {
|
|
2550
|
+
"type": {
|
|
2551
|
+
"text": "void"
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2609
2554
|
},
|
|
2610
2555
|
{
|
|
2611
2556
|
"kind": "method",
|
|
2612
|
-
"name": "
|
|
2557
|
+
"name": "removeChip",
|
|
2558
|
+
"return": {
|
|
2559
|
+
"type": {
|
|
2560
|
+
"text": "void"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2613
2563
|
"parameters": [
|
|
2614
2564
|
{
|
|
2615
|
-
"name": "
|
|
2565
|
+
"name": "groupIndex",
|
|
2616
2566
|
"type": {
|
|
2617
|
-
"text": "
|
|
2567
|
+
"text": "number"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"name": "clauseIndex",
|
|
2572
|
+
"type": {
|
|
2573
|
+
"text": "number"
|
|
2618
2574
|
}
|
|
2619
2575
|
}
|
|
2620
2576
|
]
|
|
2621
2577
|
},
|
|
2622
2578
|
{
|
|
2623
|
-
"kind": "
|
|
2624
|
-
"name": "
|
|
2625
|
-
"
|
|
2626
|
-
"
|
|
2627
|
-
|
|
2628
|
-
|
|
2579
|
+
"kind": "method",
|
|
2580
|
+
"name": "clearChips",
|
|
2581
|
+
"return": {
|
|
2582
|
+
"type": {
|
|
2583
|
+
"text": "void"
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2629
2586
|
},
|
|
2630
2587
|
{
|
|
2631
|
-
"kind": "
|
|
2632
|
-
"name": "
|
|
2633
|
-
"readonly": true
|
|
2588
|
+
"kind": "method",
|
|
2589
|
+
"name": "handleSubmit"
|
|
2634
2590
|
},
|
|
2635
2591
|
{
|
|
2636
2592
|
"kind": "method",
|
|
2637
|
-
"name": "
|
|
2638
|
-
"parameters": [
|
|
2639
|
-
{
|
|
2640
|
-
"name": "name",
|
|
2641
|
-
"type": {
|
|
2642
|
-
"text": "string | ((rowData: any) => string)"
|
|
2643
|
-
}
|
|
2644
|
-
}
|
|
2645
|
-
]
|
|
2593
|
+
"name": "handleBlur"
|
|
2646
2594
|
},
|
|
2647
2595
|
{
|
|
2648
2596
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2597
|
+
"name": "clear"
|
|
2598
|
+
},
|
|
2599
|
+
{
|
|
2600
|
+
"kind": "method",
|
|
2601
|
+
"name": "toggleSpeechInput"
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"kind": "method",
|
|
2605
|
+
"name": "clearSpeechApplyDebounce",
|
|
2606
|
+
"privacy": "private"
|
|
2658
2607
|
},
|
|
2659
2608
|
{
|
|
2660
2609
|
"kind": "field",
|
|
@@ -2768,115 +2717,154 @@
|
|
|
2768
2717
|
}
|
|
2769
2718
|
}
|
|
2770
2719
|
],
|
|
2771
|
-
"
|
|
2772
|
-
{
|
|
2773
|
-
"name": "is-vertical",
|
|
2774
|
-
"type": {
|
|
2775
|
-
"text": "boolean"
|
|
2776
|
-
},
|
|
2777
|
-
"default": "false",
|
|
2778
|
-
"fieldName": "isVertical"
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "add-default-actions",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"default": "true",
|
|
2786
|
-
"fieldName": "addDefaultActions"
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "auto-close-on-action",
|
|
2790
|
-
"type": {
|
|
2791
|
-
"text": "boolean"
|
|
2792
|
-
},
|
|
2793
|
-
"default": "true",
|
|
2794
|
-
"fieldName": "autoCloseOnAction"
|
|
2795
|
-
},
|
|
2720
|
+
"events": [
|
|
2796
2721
|
{
|
|
2797
|
-
"
|
|
2798
|
-
"
|
|
2799
|
-
"text": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"default": "'Actions'",
|
|
2802
|
-
"fieldName": "name"
|
|
2722
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2723
|
+
"name": "criteria-changed"
|
|
2803
2724
|
},
|
|
2804
2725
|
{
|
|
2805
|
-
"
|
|
2806
|
-
"
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
"fieldName": "open"
|
|
2811
|
-
},
|
|
2726
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2727
|
+
"name": "validation-errors"
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"attributes": [
|
|
2812
2731
|
{
|
|
2813
|
-
"name": "
|
|
2732
|
+
"name": "placeholder",
|
|
2814
2733
|
"type": {
|
|
2815
2734
|
"text": "string"
|
|
2816
2735
|
},
|
|
2817
|
-
"
|
|
2818
|
-
|
|
2819
|
-
{
|
|
2820
|
-
"name": "hide-disabled",
|
|
2821
|
-
"type": {
|
|
2822
|
-
"text": "boolean"
|
|
2823
|
-
},
|
|
2824
|
-
"default": "false",
|
|
2825
|
-
"fieldName": "hideDisabled"
|
|
2736
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2737
|
+
"fieldName": "placeholder"
|
|
2826
2738
|
},
|
|
2827
2739
|
{
|
|
2828
|
-
"name": "hide-menu-single-option",
|
|
2829
2740
|
"type": {
|
|
2830
2741
|
"text": "boolean"
|
|
2831
2742
|
},
|
|
2832
|
-
"
|
|
2833
|
-
"fieldName": "hideMenuSingleOption"
|
|
2743
|
+
"fieldName": "disabled"
|
|
2834
2744
|
}
|
|
2835
2745
|
],
|
|
2836
2746
|
"superclass": {
|
|
2837
2747
|
"name": "FoundationElement",
|
|
2838
2748
|
"package": "@microsoft/fast-foundation"
|
|
2839
2749
|
},
|
|
2840
|
-
"tagName": "%%prefix%%-
|
|
2750
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2841
2751
|
"customElement": true
|
|
2842
2752
|
},
|
|
2843
2753
|
{
|
|
2844
2754
|
"kind": "variable",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"
|
|
2847
|
-
|
|
2755
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2756
|
+
"type": {
|
|
2757
|
+
"text": "ShadowRootInit"
|
|
2758
|
+
},
|
|
2759
|
+
"default": "undefined"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"kind": "variable",
|
|
2763
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2764
|
+
"type": {
|
|
2765
|
+
"text": "object"
|
|
2766
|
+
},
|
|
2767
|
+
"default": "{}"
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"kind": "variable",
|
|
2771
|
+
"name": "foundationAiCriteriaSearch"
|
|
2848
2772
|
}
|
|
2849
2773
|
],
|
|
2850
2774
|
"exports": [
|
|
2851
2775
|
{
|
|
2852
2776
|
"kind": "js",
|
|
2853
|
-
"name": "
|
|
2777
|
+
"name": "AiCriteriaSearch",
|
|
2854
2778
|
"declaration": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/
|
|
2779
|
+
"name": "AiCriteriaSearch",
|
|
2780
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2857
2781
|
}
|
|
2858
2782
|
},
|
|
2859
2783
|
{
|
|
2860
2784
|
"kind": "js",
|
|
2861
|
-
"name": "
|
|
2785
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2862
2786
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2787
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2788
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "js",
|
|
2793
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2794
|
+
"declaration": {
|
|
2795
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2796
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2797
|
+
}
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"kind": "js",
|
|
2801
|
+
"name": "foundationAiCriteriaSearch",
|
|
2802
|
+
"declaration": {
|
|
2803
|
+
"name": "foundationAiCriteriaSearch",
|
|
2804
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2865
2805
|
}
|
|
2866
2806
|
}
|
|
2867
2807
|
]
|
|
2868
2808
|
},
|
|
2869
2809
|
{
|
|
2870
2810
|
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/
|
|
2811
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2872
2812
|
"declarations": [],
|
|
2873
2813
|
"exports": [
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "js",
|
|
2816
|
+
"name": "AiCriteriaSearch",
|
|
2817
|
+
"declaration": {
|
|
2818
|
+
"name": "AiCriteriaSearch",
|
|
2819
|
+
"module": "./ai-criteria-search"
|
|
2820
|
+
}
|
|
2821
|
+
},
|
|
2822
|
+
{
|
|
2823
|
+
"kind": "js",
|
|
2824
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2825
|
+
"declaration": {
|
|
2826
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2827
|
+
"module": "./ai-criteria-search"
|
|
2828
|
+
}
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "js",
|
|
2832
|
+
"name": "foundationAiCriteriaSearch",
|
|
2833
|
+
"declaration": {
|
|
2834
|
+
"name": "foundationAiCriteriaSearch",
|
|
2835
|
+
"module": "./ai-criteria-search"
|
|
2836
|
+
}
|
|
2837
|
+
},
|
|
2838
|
+
{
|
|
2839
|
+
"kind": "js",
|
|
2840
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2841
|
+
"declaration": {
|
|
2842
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2843
|
+
"module": "./ai-criteria-search"
|
|
2844
|
+
}
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"kind": "js",
|
|
2848
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2849
|
+
"declaration": {
|
|
2850
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2851
|
+
"module": "./ai-criteria-search.styles"
|
|
2852
|
+
}
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"kind": "js",
|
|
2856
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2857
|
+
"declaration": {
|
|
2858
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2859
|
+
"module": "./ai-criteria-search.template"
|
|
2860
|
+
}
|
|
2861
|
+
},
|
|
2874
2862
|
{
|
|
2875
2863
|
"kind": "js",
|
|
2876
2864
|
"name": "*",
|
|
2877
2865
|
"declaration": {
|
|
2878
2866
|
"name": "*",
|
|
2879
|
-
"package": "./
|
|
2867
|
+
"package": "./validation/criteria-ir"
|
|
2880
2868
|
}
|
|
2881
2869
|
},
|
|
2882
2870
|
{
|
|
@@ -2884,7 +2872,7 @@
|
|
|
2884
2872
|
"name": "*",
|
|
2885
2873
|
"declaration": {
|
|
2886
2874
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
2875
|
+
"package": "./validation/operator-map"
|
|
2888
2876
|
}
|
|
2889
2877
|
},
|
|
2890
2878
|
{
|
|
@@ -2892,64 +2880,157 @@
|
|
|
2892
2880
|
"name": "*",
|
|
2893
2881
|
"declaration": {
|
|
2894
2882
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2883
|
+
"package": "./validation/schema-validator"
|
|
2896
2884
|
}
|
|
2897
2885
|
}
|
|
2898
2886
|
]
|
|
2899
2887
|
},
|
|
2900
2888
|
{
|
|
2901
2889
|
"kind": "javascript-module",
|
|
2902
|
-
"path": "src/ai-criteria-search/
|
|
2890
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2903
2891
|
"declarations": [
|
|
2904
2892
|
{
|
|
2905
|
-
"kind": "
|
|
2906
|
-
"name": "
|
|
2907
|
-
"
|
|
2893
|
+
"kind": "function",
|
|
2894
|
+
"name": "formatValidationErrors",
|
|
2895
|
+
"return": {
|
|
2896
|
+
"type": {
|
|
2897
|
+
"text": "string"
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
"parameters": [
|
|
2901
|
+
{
|
|
2902
|
+
"name": "errors",
|
|
2903
|
+
"type": {
|
|
2904
|
+
"text": "ValidationError[]"
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"kind": "function",
|
|
2912
|
+
"name": "showCriteriaError",
|
|
2913
|
+
"return": {
|
|
2914
|
+
"type": {
|
|
2915
|
+
"text": "void"
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
"parameters": [
|
|
2919
|
+
{
|
|
2920
|
+
"name": "title",
|
|
2921
|
+
"type": {
|
|
2922
|
+
"text": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "body",
|
|
2928
|
+
"type": {
|
|
2929
|
+
"text": "string"
|
|
2930
|
+
},
|
|
2931
|
+
"description": "Error message to display"
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"name": "tagName",
|
|
2935
|
+
"type": {
|
|
2936
|
+
"text": "string"
|
|
2937
|
+
},
|
|
2938
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2939
|
+
}
|
|
2940
|
+
],
|
|
2941
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2908
2942
|
}
|
|
2909
2943
|
],
|
|
2910
2944
|
"exports": [
|
|
2911
2945
|
{
|
|
2912
2946
|
"kind": "js",
|
|
2913
|
-
"name": "
|
|
2947
|
+
"name": "formatValidationErrors",
|
|
2914
2948
|
"declaration": {
|
|
2915
|
-
"name": "
|
|
2916
|
-
"module": "src/ai-criteria-search/
|
|
2949
|
+
"name": "formatValidationErrors",
|
|
2950
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "js",
|
|
2955
|
+
"name": "showCriteriaError",
|
|
2956
|
+
"declaration": {
|
|
2957
|
+
"name": "showCriteriaError",
|
|
2958
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2917
2959
|
}
|
|
2918
2960
|
}
|
|
2919
2961
|
]
|
|
2920
2962
|
},
|
|
2921
2963
|
{
|
|
2922
2964
|
"kind": "javascript-module",
|
|
2923
|
-
"path": "src/ai-
|
|
2965
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2966
|
+
"declarations": [
|
|
2967
|
+
{
|
|
2968
|
+
"kind": "function",
|
|
2969
|
+
"name": "foundationAiIndicatorStyles",
|
|
2970
|
+
"return": {
|
|
2971
|
+
"type": {
|
|
2972
|
+
"text": "ElementStyles"
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
"parameters": [
|
|
2976
|
+
{
|
|
2977
|
+
"name": "context",
|
|
2978
|
+
"type": {
|
|
2979
|
+
"text": "ElementDefinitionContext"
|
|
2980
|
+
}
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"name": "definition",
|
|
2984
|
+
"type": {
|
|
2985
|
+
"text": "FoundationElementDefinition"
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2988
|
+
]
|
|
2989
|
+
}
|
|
2990
|
+
],
|
|
2991
|
+
"exports": [
|
|
2992
|
+
{
|
|
2993
|
+
"kind": "js",
|
|
2994
|
+
"name": "foundationAiIndicatorStyles",
|
|
2995
|
+
"declaration": {
|
|
2996
|
+
"name": "foundationAiIndicatorStyles",
|
|
2997
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
3000
|
+
]
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"kind": "javascript-module",
|
|
3004
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2924
3005
|
"declarations": [
|
|
2925
3006
|
{
|
|
2926
3007
|
"kind": "variable",
|
|
2927
|
-
"name": "
|
|
3008
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2928
3009
|
"type": {
|
|
2929
|
-
"text": "ViewTemplate<
|
|
3010
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2930
3011
|
},
|
|
2931
|
-
"default": "html`\n ${(x) =>
|
|
3012
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2932
3013
|
}
|
|
2933
3014
|
],
|
|
2934
3015
|
"exports": [
|
|
2935
3016
|
{
|
|
2936
3017
|
"kind": "js",
|
|
2937
|
-
"name": "
|
|
3018
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2938
3019
|
"declaration": {
|
|
2939
|
-
"name": "
|
|
2940
|
-
"module": "src/ai-
|
|
3020
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3021
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2941
3022
|
}
|
|
2942
3023
|
}
|
|
2943
3024
|
]
|
|
2944
3025
|
},
|
|
2945
3026
|
{
|
|
2946
3027
|
"kind": "javascript-module",
|
|
2947
|
-
"path": "src/ai-
|
|
3028
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2948
3029
|
"declarations": [
|
|
2949
3030
|
{
|
|
2950
3031
|
"kind": "class",
|
|
2951
|
-
"description": "
|
|
2952
|
-
"name": "
|
|
3032
|
+
"description": "",
|
|
3033
|
+
"name": "AiIndicator",
|
|
2953
3034
|
"members": [
|
|
2954
3035
|
{
|
|
2955
3036
|
"kind": "field",
|
|
@@ -2960,54 +3041,25 @@
|
|
|
2960
3041
|
},
|
|
2961
3042
|
{
|
|
2962
3043
|
"kind": "field",
|
|
2963
|
-
"name": "
|
|
2964
|
-
"type": {
|
|
2965
|
-
"text": "string"
|
|
2966
|
-
},
|
|
2967
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2968
|
-
},
|
|
2969
|
-
{
|
|
2970
|
-
"kind": "field",
|
|
2971
|
-
"name": "disabled",
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "boolean"
|
|
2974
|
-
}
|
|
2975
|
-
},
|
|
2976
|
-
{
|
|
2977
|
-
"kind": "field",
|
|
2978
|
-
"name": "inputValue",
|
|
2979
|
-
"type": {
|
|
2980
|
-
"text": "string"
|
|
2981
|
-
},
|
|
2982
|
-
"default": "''"
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "isInterpreting",
|
|
3044
|
+
"name": "aiProvider",
|
|
2987
3045
|
"type": {
|
|
2988
|
-
"text": "
|
|
3046
|
+
"text": "AIProvider | undefined"
|
|
2989
3047
|
},
|
|
2990
|
-
"
|
|
3048
|
+
"privacy": "private",
|
|
3049
|
+
"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.",
|
|
3050
|
+
"readonly": true
|
|
2991
3051
|
},
|
|
2992
3052
|
{
|
|
2993
3053
|
"kind": "field",
|
|
2994
|
-
"name": "
|
|
3054
|
+
"name": "status",
|
|
2995
3055
|
"type": {
|
|
2996
|
-
"text": "
|
|
3056
|
+
"text": "AIStatus | null"
|
|
2997
3057
|
},
|
|
2998
3058
|
"default": "null"
|
|
2999
3059
|
},
|
|
3000
3060
|
{
|
|
3001
3061
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "CriteriaGroup[]"
|
|
3005
|
-
},
|
|
3006
|
-
"default": "[]"
|
|
3007
|
-
},
|
|
3008
|
-
{
|
|
3009
|
-
"kind": "field",
|
|
3010
|
-
"name": "showingChips",
|
|
3062
|
+
"name": "open",
|
|
3011
3063
|
"type": {
|
|
3012
3064
|
"text": "boolean"
|
|
3013
3065
|
},
|
|
@@ -3015,15 +3067,15 @@
|
|
|
3015
3067
|
},
|
|
3016
3068
|
{
|
|
3017
3069
|
"kind": "field",
|
|
3018
|
-
"name": "
|
|
3070
|
+
"name": "state",
|
|
3019
3071
|
"type": {
|
|
3020
|
-
"text": "
|
|
3072
|
+
"text": "AIIndicatorState"
|
|
3021
3073
|
},
|
|
3022
|
-
"default": "
|
|
3074
|
+
"default": "'none'"
|
|
3023
3075
|
},
|
|
3024
3076
|
{
|
|
3025
3077
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3078
|
+
"name": "isInstalling",
|
|
3027
3079
|
"type": {
|
|
3028
3080
|
"text": "boolean"
|
|
3029
3081
|
},
|
|
@@ -3031,33 +3083,29 @@
|
|
|
3031
3083
|
},
|
|
3032
3084
|
{
|
|
3033
3085
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3086
|
+
"name": "pollTimer",
|
|
3035
3087
|
"type": {
|
|
3036
|
-
"text": "
|
|
3088
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3037
3089
|
},
|
|
3038
|
-
"privacy": "
|
|
3090
|
+
"privacy": "private",
|
|
3091
|
+
"default": "null"
|
|
3039
3092
|
},
|
|
3040
3093
|
{
|
|
3041
3094
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3043
|
-
"
|
|
3044
|
-
"text": "(() => void) | null"
|
|
3045
|
-
},
|
|
3046
|
-
"privacy": "private",
|
|
3047
|
-
"default": "null"
|
|
3095
|
+
"name": "clickOutside",
|
|
3096
|
+
"privacy": "private"
|
|
3048
3097
|
},
|
|
3049
3098
|
{
|
|
3050
3099
|
"kind": "field",
|
|
3051
|
-
"name": "
|
|
3100
|
+
"name": "chromeStatusLabel",
|
|
3052
3101
|
"type": {
|
|
3053
|
-
"text": "
|
|
3102
|
+
"text": "string | null"
|
|
3054
3103
|
},
|
|
3055
|
-
"
|
|
3056
|
-
"default": "null"
|
|
3104
|
+
"readonly": true
|
|
3057
3105
|
},
|
|
3058
3106
|
{
|
|
3059
3107
|
"kind": "field",
|
|
3060
|
-
"name": "
|
|
3108
|
+
"name": "canInstall",
|
|
3061
3109
|
"type": {
|
|
3062
3110
|
"text": "boolean"
|
|
3063
3111
|
},
|
|
@@ -3065,65 +3113,69 @@
|
|
|
3065
3113
|
},
|
|
3066
3114
|
{
|
|
3067
3115
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3116
|
+
"name": "isDownloading",
|
|
3069
3117
|
"type": {
|
|
3070
|
-
"text": "
|
|
3118
|
+
"text": "boolean"
|
|
3071
3119
|
},
|
|
3072
3120
|
"readonly": true
|
|
3073
3121
|
},
|
|
3074
3122
|
{
|
|
3075
3123
|
"kind": "method",
|
|
3076
|
-
"name": "
|
|
3077
|
-
"privacy": "private",
|
|
3124
|
+
"name": "openChanged",
|
|
3078
3125
|
"return": {
|
|
3079
3126
|
"type": {
|
|
3080
|
-
"text": "
|
|
3127
|
+
"text": "void"
|
|
3081
3128
|
}
|
|
3082
|
-
}
|
|
3129
|
+
}
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "method",
|
|
3133
|
+
"name": "handleClickOutside",
|
|
3134
|
+
"privacy": "private",
|
|
3083
3135
|
"parameters": [
|
|
3084
3136
|
{
|
|
3085
|
-
"name": "
|
|
3137
|
+
"name": "event",
|
|
3086
3138
|
"type": {
|
|
3087
|
-
"text": "
|
|
3139
|
+
"text": "MouseEvent"
|
|
3088
3140
|
}
|
|
3089
3141
|
}
|
|
3090
3142
|
]
|
|
3091
3143
|
},
|
|
3092
3144
|
{
|
|
3093
3145
|
"kind": "method",
|
|
3094
|
-
"name": "
|
|
3146
|
+
"name": "toggleDropdown"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"kind": "method",
|
|
3150
|
+
"name": "refreshStatus",
|
|
3095
3151
|
"return": {
|
|
3096
3152
|
"type": {
|
|
3097
|
-
"text": "void"
|
|
3153
|
+
"text": "Promise<void>"
|
|
3098
3154
|
}
|
|
3099
3155
|
}
|
|
3100
3156
|
},
|
|
3101
3157
|
{
|
|
3102
3158
|
"kind": "method",
|
|
3103
|
-
"name": "
|
|
3159
|
+
"name": "deriveState",
|
|
3160
|
+
"privacy": "private",
|
|
3104
3161
|
"return": {
|
|
3105
3162
|
"type": {
|
|
3106
|
-
"text": "
|
|
3163
|
+
"text": "AIIndicatorState"
|
|
3107
3164
|
}
|
|
3108
3165
|
},
|
|
3109
3166
|
"parameters": [
|
|
3110
3167
|
{
|
|
3111
|
-
"name": "
|
|
3112
|
-
"type": {
|
|
3113
|
-
"text": "number"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
|
-
{
|
|
3117
|
-
"name": "clauseIndex",
|
|
3168
|
+
"name": "s",
|
|
3118
3169
|
"type": {
|
|
3119
|
-
"text": "
|
|
3170
|
+
"text": "AIStatus | null"
|
|
3120
3171
|
}
|
|
3121
3172
|
}
|
|
3122
3173
|
]
|
|
3123
3174
|
},
|
|
3124
3175
|
{
|
|
3125
3176
|
"kind": "method",
|
|
3126
|
-
"name": "
|
|
3177
|
+
"name": "maybeStartPolling",
|
|
3178
|
+
"privacy": "private",
|
|
3127
3179
|
"return": {
|
|
3128
3180
|
"type": {
|
|
3129
3181
|
"text": "void"
|
|
@@ -3132,24 +3184,32 @@
|
|
|
3132
3184
|
},
|
|
3133
3185
|
{
|
|
3134
3186
|
"kind": "method",
|
|
3135
|
-
"name": "
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
"kind": "method",
|
|
3143
|
-
"name": "clear"
|
|
3187
|
+
"name": "startPolling",
|
|
3188
|
+
"privacy": "private",
|
|
3189
|
+
"return": {
|
|
3190
|
+
"type": {
|
|
3191
|
+
"text": "void"
|
|
3192
|
+
}
|
|
3193
|
+
}
|
|
3144
3194
|
},
|
|
3145
3195
|
{
|
|
3146
3196
|
"kind": "method",
|
|
3147
|
-
"name": "
|
|
3197
|
+
"name": "stopPolling",
|
|
3198
|
+
"privacy": "private",
|
|
3199
|
+
"return": {
|
|
3200
|
+
"type": {
|
|
3201
|
+
"text": "void"
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3148
3204
|
},
|
|
3149
3205
|
{
|
|
3150
3206
|
"kind": "method",
|
|
3151
|
-
"name": "
|
|
3152
|
-
"
|
|
3207
|
+
"name": "onInstall",
|
|
3208
|
+
"return": {
|
|
3209
|
+
"type": {
|
|
3210
|
+
"text": "Promise<void>"
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3153
3213
|
},
|
|
3154
3214
|
{
|
|
3155
3215
|
"kind": "field",
|
|
@@ -3263,259 +3323,141 @@
|
|
|
3263
3323
|
}
|
|
3264
3324
|
}
|
|
3265
3325
|
],
|
|
3266
|
-
"events": [
|
|
3267
|
-
{
|
|
3268
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3269
|
-
"name": "criteria-changed"
|
|
3270
|
-
},
|
|
3271
|
-
{
|
|
3272
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3273
|
-
"name": "validation-errors"
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"attributes": [
|
|
3277
|
-
{
|
|
3278
|
-
"name": "placeholder",
|
|
3279
|
-
"type": {
|
|
3280
|
-
"text": "string"
|
|
3281
|
-
},
|
|
3282
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3283
|
-
"fieldName": "placeholder"
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"type": {
|
|
3287
|
-
"text": "boolean"
|
|
3288
|
-
},
|
|
3289
|
-
"fieldName": "disabled"
|
|
3290
|
-
}
|
|
3291
|
-
],
|
|
3292
3326
|
"superclass": {
|
|
3293
3327
|
"name": "FoundationElement",
|
|
3294
3328
|
"package": "@microsoft/fast-foundation"
|
|
3295
3329
|
},
|
|
3296
|
-
"tagName": "%%prefix%%-ai-
|
|
3330
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3297
3331
|
"customElement": true
|
|
3298
3332
|
},
|
|
3299
3333
|
{
|
|
3300
3334
|
"kind": "variable",
|
|
3301
|
-
"name": "
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "ShadowRootInit"
|
|
3304
|
-
},
|
|
3305
|
-
"default": "undefined"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "object"
|
|
3312
|
-
},
|
|
3313
|
-
"default": "{}"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "variable",
|
|
3317
|
-
"name": "foundationAiCriteriaSearch"
|
|
3335
|
+
"name": "foundationAiIndicator"
|
|
3318
3336
|
}
|
|
3319
|
-
],
|
|
3320
|
-
"exports": [
|
|
3321
|
-
{
|
|
3322
|
-
"kind": "js",
|
|
3323
|
-
"name": "AiCriteriaSearch",
|
|
3324
|
-
"declaration": {
|
|
3325
|
-
"name": "AiCriteriaSearch",
|
|
3326
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3336
|
-
},
|
|
3337
|
+
],
|
|
3338
|
+
"exports": [
|
|
3337
3339
|
{
|
|
3338
3340
|
"kind": "js",
|
|
3339
|
-
"name": "
|
|
3341
|
+
"name": "AiIndicator",
|
|
3340
3342
|
"declaration": {
|
|
3341
|
-
"name": "
|
|
3342
|
-
"module": "src/ai-
|
|
3343
|
+
"name": "AiIndicator",
|
|
3344
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3343
3345
|
}
|
|
3344
3346
|
},
|
|
3345
3347
|
{
|
|
3346
3348
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3349
|
+
"name": "foundationAiIndicator",
|
|
3348
3350
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3351
|
+
"name": "foundationAiIndicator",
|
|
3352
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3353
|
}
|
|
3352
3354
|
}
|
|
3353
3355
|
]
|
|
3354
3356
|
},
|
|
3355
3357
|
{
|
|
3356
3358
|
"kind": "javascript-module",
|
|
3357
|
-
"path": "src/ai-
|
|
3359
|
+
"path": "src/ai-indicator/index.ts",
|
|
3358
3360
|
"declarations": [],
|
|
3359
3361
|
"exports": [
|
|
3360
3362
|
{
|
|
3361
3363
|
"kind": "js",
|
|
3362
|
-
"name": "
|
|
3363
|
-
"declaration": {
|
|
3364
|
-
"name": "AiCriteriaSearch",
|
|
3365
|
-
"module": "./ai-criteria-search"
|
|
3366
|
-
}
|
|
3367
|
-
},
|
|
3368
|
-
{
|
|
3369
|
-
"kind": "js",
|
|
3370
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "foundationAiCriteriaSearch",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "foundationAiCriteriaSearch",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3364
|
+
"name": "AiIndicator",
|
|
3387
3365
|
"declaration": {
|
|
3388
|
-
"name": "
|
|
3389
|
-
"module": "./ai-
|
|
3366
|
+
"name": "AiIndicator",
|
|
3367
|
+
"module": "./ai-indicator"
|
|
3390
3368
|
}
|
|
3391
3369
|
},
|
|
3392
3370
|
{
|
|
3393
3371
|
"kind": "js",
|
|
3394
|
-
"name": "
|
|
3372
|
+
"name": "foundationAiIndicator",
|
|
3395
3373
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3374
|
+
"name": "foundationAiIndicator",
|
|
3375
|
+
"module": "./ai-indicator"
|
|
3398
3376
|
}
|
|
3399
3377
|
},
|
|
3400
3378
|
{
|
|
3401
3379
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3380
|
+
"name": "type",
|
|
3403
3381
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3382
|
+
"name": "type",
|
|
3383
|
+
"module": "./ai-indicator"
|
|
3406
3384
|
}
|
|
3407
3385
|
},
|
|
3408
3386
|
{
|
|
3409
3387
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3388
|
+
"name": "AIIndicatorState",
|
|
3411
3389
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3390
|
+
"name": "AIIndicatorState",
|
|
3391
|
+
"module": "./ai-indicator"
|
|
3414
3392
|
}
|
|
3415
3393
|
},
|
|
3416
3394
|
{
|
|
3417
3395
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3396
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3419
3397
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3398
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3399
|
+
"module": "./ai-indicator.template"
|
|
3422
3400
|
}
|
|
3423
3401
|
},
|
|
3424
3402
|
{
|
|
3425
3403
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3404
|
+
"name": "foundationAiIndicatorStyles",
|
|
3427
3405
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3406
|
+
"name": "foundationAiIndicatorStyles",
|
|
3407
|
+
"module": "./ai-indicator.styles"
|
|
3430
3408
|
}
|
|
3431
3409
|
}
|
|
3432
3410
|
]
|
|
3433
3411
|
},
|
|
3434
3412
|
{
|
|
3435
3413
|
"kind": "javascript-module",
|
|
3436
|
-
"path": "src/
|
|
3414
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3437
3415
|
"declarations": [
|
|
3438
3416
|
{
|
|
3439
3417
|
"kind": "function",
|
|
3440
|
-
"name": "
|
|
3418
|
+
"name": "foundationAccordionStyles",
|
|
3441
3419
|
"return": {
|
|
3442
3420
|
"type": {
|
|
3443
|
-
"text": "
|
|
3421
|
+
"text": "ElementStyles"
|
|
3444
3422
|
}
|
|
3445
3423
|
},
|
|
3446
3424
|
"parameters": [
|
|
3447
3425
|
{
|
|
3448
|
-
"name": "
|
|
3426
|
+
"name": "context",
|
|
3449
3427
|
"type": {
|
|
3450
|
-
"text": "
|
|
3428
|
+
"text": "ElementDefinitionContext"
|
|
3451
3429
|
}
|
|
3452
|
-
}
|
|
3453
|
-
],
|
|
3454
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3455
|
-
},
|
|
3456
|
-
{
|
|
3457
|
-
"kind": "function",
|
|
3458
|
-
"name": "showCriteriaError",
|
|
3459
|
-
"return": {
|
|
3460
|
-
"type": {
|
|
3461
|
-
"text": "void"
|
|
3462
|
-
}
|
|
3463
|
-
},
|
|
3464
|
-
"parameters": [
|
|
3465
|
-
{
|
|
3466
|
-
"name": "title",
|
|
3467
|
-
"type": {
|
|
3468
|
-
"text": "string"
|
|
3469
|
-
},
|
|
3470
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
"name": "body",
|
|
3474
|
-
"type": {
|
|
3475
|
-
"text": "string"
|
|
3476
|
-
},
|
|
3477
|
-
"description": "Error message to display"
|
|
3478
3430
|
},
|
|
3479
3431
|
{
|
|
3480
|
-
"name": "
|
|
3432
|
+
"name": "definition",
|
|
3481
3433
|
"type": {
|
|
3482
|
-
"text": "
|
|
3483
|
-
}
|
|
3484
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3434
|
+
"text": "FoundationElementDefinition"
|
|
3435
|
+
}
|
|
3485
3436
|
}
|
|
3486
|
-
]
|
|
3487
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3437
|
+
]
|
|
3488
3438
|
}
|
|
3489
3439
|
],
|
|
3490
3440
|
"exports": [
|
|
3491
3441
|
{
|
|
3492
3442
|
"kind": "js",
|
|
3493
|
-
"name": "
|
|
3494
|
-
"declaration": {
|
|
3495
|
-
"name": "formatValidationErrors",
|
|
3496
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3497
|
-
}
|
|
3498
|
-
},
|
|
3499
|
-
{
|
|
3500
|
-
"kind": "js",
|
|
3501
|
-
"name": "showCriteriaError",
|
|
3443
|
+
"name": "foundationAccordionStyles",
|
|
3502
3444
|
"declaration": {
|
|
3503
|
-
"name": "
|
|
3504
|
-
"module": "src/
|
|
3445
|
+
"name": "foundationAccordionStyles",
|
|
3446
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3505
3447
|
}
|
|
3506
3448
|
}
|
|
3507
3449
|
]
|
|
3508
3450
|
},
|
|
3509
3451
|
{
|
|
3510
3452
|
"kind": "javascript-module",
|
|
3511
|
-
"path": "src/
|
|
3453
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3512
3454
|
"declarations": [
|
|
3513
3455
|
{
|
|
3514
3456
|
"kind": "function",
|
|
3515
|
-
"name": "
|
|
3457
|
+
"name": "foundationAccordionTemplate",
|
|
3516
3458
|
"return": {
|
|
3517
3459
|
"type": {
|
|
3518
|
-
"text": "
|
|
3460
|
+
"text": "ViewTemplate<Accordion>"
|
|
3519
3461
|
}
|
|
3520
3462
|
},
|
|
3521
3463
|
"parameters": [
|
|
@@ -3537,224 +3479,237 @@
|
|
|
3537
3479
|
"exports": [
|
|
3538
3480
|
{
|
|
3539
3481
|
"kind": "js",
|
|
3540
|
-
"name": "
|
|
3541
|
-
"declaration": {
|
|
3542
|
-
"name": "foundationAiIndicatorStyles",
|
|
3543
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3544
|
-
}
|
|
3545
|
-
}
|
|
3546
|
-
]
|
|
3547
|
-
},
|
|
3548
|
-
{
|
|
3549
|
-
"kind": "javascript-module",
|
|
3550
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3551
|
-
"declarations": [
|
|
3552
|
-
{
|
|
3553
|
-
"kind": "variable",
|
|
3554
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3555
|
-
"type": {
|
|
3556
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3557
|
-
},
|
|
3558
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3559
|
-
}
|
|
3560
|
-
],
|
|
3561
|
-
"exports": [
|
|
3562
|
-
{
|
|
3563
|
-
"kind": "js",
|
|
3564
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3482
|
+
"name": "foundationAccordionTemplate",
|
|
3565
3483
|
"declaration": {
|
|
3566
|
-
"name": "
|
|
3567
|
-
"module": "src/
|
|
3484
|
+
"name": "foundationAccordionTemplate",
|
|
3485
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3568
3486
|
}
|
|
3569
3487
|
}
|
|
3570
3488
|
]
|
|
3571
3489
|
},
|
|
3572
3490
|
{
|
|
3573
3491
|
"kind": "javascript-module",
|
|
3574
|
-
"path": "src/
|
|
3492
|
+
"path": "src/accordion/accordion.ts",
|
|
3575
3493
|
"declarations": [
|
|
3576
3494
|
{
|
|
3577
3495
|
"kind": "class",
|
|
3578
3496
|
"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
|
-
},
|
|
3497
|
+
"name": "Accordion",
|
|
3498
|
+
"superclass": {
|
|
3499
|
+
"name": "FASTAccordion",
|
|
3500
|
+
"package": "@microsoft/fast-foundation"
|
|
3501
|
+
},
|
|
3502
|
+
"tagName": "%%prefix%%-accordion",
|
|
3503
|
+
"customElement": true,
|
|
3504
|
+
"attributes": [
|
|
3598
3505
|
{
|
|
3599
|
-
"
|
|
3600
|
-
"name": "status",
|
|
3506
|
+
"name": "expand-mode",
|
|
3601
3507
|
"type": {
|
|
3602
|
-
"text": "
|
|
3508
|
+
"text": "AccordionExpandMode"
|
|
3603
3509
|
},
|
|
3604
|
-
"
|
|
3605
|
-
|
|
3510
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3511
|
+
"fieldName": "expandmode",
|
|
3512
|
+
"inheritedFrom": {
|
|
3513
|
+
"name": "Accordion",
|
|
3514
|
+
"module": "src/accordion/accordion.ts"
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
],
|
|
3518
|
+
"members": [
|
|
3606
3519
|
{
|
|
3607
3520
|
"kind": "field",
|
|
3608
|
-
"name": "
|
|
3521
|
+
"name": "expandmode",
|
|
3609
3522
|
"type": {
|
|
3610
|
-
"text": "
|
|
3523
|
+
"text": "AccordionExpandMode"
|
|
3611
3524
|
},
|
|
3612
|
-
"
|
|
3525
|
+
"privacy": "public",
|
|
3526
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3527
|
+
"inheritedFrom": {
|
|
3528
|
+
"name": "Accordion",
|
|
3529
|
+
"module": "src/accordion/accordion.ts"
|
|
3530
|
+
}
|
|
3613
3531
|
},
|
|
3614
3532
|
{
|
|
3615
3533
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3534
|
+
"name": "activeid",
|
|
3617
3535
|
"type": {
|
|
3618
|
-
"text": "
|
|
3536
|
+
"text": "string | null"
|
|
3619
3537
|
},
|
|
3620
|
-
"
|
|
3538
|
+
"privacy": "private",
|
|
3539
|
+
"inheritedFrom": {
|
|
3540
|
+
"name": "Accordion",
|
|
3541
|
+
"module": "src/accordion/accordion.ts"
|
|
3542
|
+
}
|
|
3621
3543
|
},
|
|
3622
3544
|
{
|
|
3623
3545
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3546
|
+
"name": "activeItemIndex",
|
|
3625
3547
|
"type": {
|
|
3626
|
-
"text": "
|
|
3548
|
+
"text": "number"
|
|
3627
3549
|
},
|
|
3628
|
-
"
|
|
3550
|
+
"privacy": "private",
|
|
3551
|
+
"default": "0",
|
|
3552
|
+
"inheritedFrom": {
|
|
3553
|
+
"name": "Accordion",
|
|
3554
|
+
"module": "src/accordion/accordion.ts"
|
|
3555
|
+
}
|
|
3629
3556
|
},
|
|
3630
3557
|
{
|
|
3631
3558
|
"kind": "field",
|
|
3632
|
-
"name": "
|
|
3559
|
+
"name": "accordionIds",
|
|
3633
3560
|
"type": {
|
|
3634
|
-
"text": "
|
|
3561
|
+
"text": "Array<string | null>"
|
|
3635
3562
|
},
|
|
3636
3563
|
"privacy": "private",
|
|
3637
|
-
"
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
"name": "clickOutside",
|
|
3642
|
-
"privacy": "private"
|
|
3564
|
+
"inheritedFrom": {
|
|
3565
|
+
"name": "Accordion",
|
|
3566
|
+
"module": "src/accordion/accordion.ts"
|
|
3567
|
+
}
|
|
3643
3568
|
},
|
|
3644
3569
|
{
|
|
3645
3570
|
"kind": "field",
|
|
3646
|
-
"name": "
|
|
3647
|
-
"
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3571
|
+
"name": "change",
|
|
3572
|
+
"privacy": "private",
|
|
3573
|
+
"inheritedFrom": {
|
|
3574
|
+
"name": "Accordion",
|
|
3575
|
+
"module": "src/accordion/accordion.ts"
|
|
3576
|
+
}
|
|
3651
3577
|
},
|
|
3652
3578
|
{
|
|
3653
|
-
"kind": "
|
|
3654
|
-
"name": "
|
|
3655
|
-
"
|
|
3656
|
-
|
|
3579
|
+
"kind": "method",
|
|
3580
|
+
"name": "findExpandedItem",
|
|
3581
|
+
"privacy": "private",
|
|
3582
|
+
"return": {
|
|
3583
|
+
"type": {
|
|
3584
|
+
"text": "AccordionItem | null"
|
|
3585
|
+
}
|
|
3657
3586
|
},
|
|
3658
|
-
"
|
|
3587
|
+
"inheritedFrom": {
|
|
3588
|
+
"name": "Accordion",
|
|
3589
|
+
"module": "src/accordion/accordion.ts"
|
|
3590
|
+
}
|
|
3659
3591
|
},
|
|
3660
3592
|
{
|
|
3661
3593
|
"kind": "field",
|
|
3662
|
-
"name": "
|
|
3663
|
-
"
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3594
|
+
"name": "setItems",
|
|
3595
|
+
"privacy": "private",
|
|
3596
|
+
"inheritedFrom": {
|
|
3597
|
+
"name": "Accordion",
|
|
3598
|
+
"module": "src/accordion/accordion.ts"
|
|
3599
|
+
}
|
|
3667
3600
|
},
|
|
3668
3601
|
{
|
|
3669
3602
|
"kind": "method",
|
|
3670
|
-
"name": "
|
|
3603
|
+
"name": "resetItems",
|
|
3604
|
+
"privacy": "private",
|
|
3671
3605
|
"return": {
|
|
3672
3606
|
"type": {
|
|
3673
3607
|
"text": "void"
|
|
3674
3608
|
}
|
|
3609
|
+
},
|
|
3610
|
+
"inheritedFrom": {
|
|
3611
|
+
"name": "Accordion",
|
|
3612
|
+
"module": "src/accordion/accordion.ts"
|
|
3675
3613
|
}
|
|
3676
3614
|
},
|
|
3677
3615
|
{
|
|
3678
|
-
"kind": "
|
|
3679
|
-
"name": "
|
|
3616
|
+
"kind": "field",
|
|
3617
|
+
"name": "removeItemListeners",
|
|
3680
3618
|
"privacy": "private",
|
|
3681
|
-
"
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
"text": "MouseEvent"
|
|
3686
|
-
}
|
|
3687
|
-
}
|
|
3688
|
-
]
|
|
3619
|
+
"inheritedFrom": {
|
|
3620
|
+
"name": "Accordion",
|
|
3621
|
+
"module": "src/accordion/accordion.ts"
|
|
3622
|
+
}
|
|
3689
3623
|
},
|
|
3690
3624
|
{
|
|
3691
|
-
"kind": "
|
|
3692
|
-
"name": "
|
|
3625
|
+
"kind": "field",
|
|
3626
|
+
"name": "activeItemChange",
|
|
3627
|
+
"privacy": "private",
|
|
3628
|
+
"inheritedFrom": {
|
|
3629
|
+
"name": "Accordion",
|
|
3630
|
+
"module": "src/accordion/accordion.ts"
|
|
3631
|
+
}
|
|
3693
3632
|
},
|
|
3694
3633
|
{
|
|
3695
3634
|
"kind": "method",
|
|
3696
|
-
"name": "
|
|
3635
|
+
"name": "getItemIds",
|
|
3636
|
+
"privacy": "private",
|
|
3697
3637
|
"return": {
|
|
3698
3638
|
"type": {
|
|
3699
|
-
"text": "
|
|
3639
|
+
"text": "Array<string | null>"
|
|
3700
3640
|
}
|
|
3641
|
+
},
|
|
3642
|
+
"inheritedFrom": {
|
|
3643
|
+
"name": "Accordion",
|
|
3644
|
+
"module": "src/accordion/accordion.ts"
|
|
3701
3645
|
}
|
|
3702
3646
|
},
|
|
3703
3647
|
{
|
|
3704
3648
|
"kind": "method",
|
|
3705
|
-
"name": "
|
|
3649
|
+
"name": "isSingleExpandMode",
|
|
3706
3650
|
"privacy": "private",
|
|
3707
3651
|
"return": {
|
|
3708
3652
|
"type": {
|
|
3709
|
-
"text": "
|
|
3653
|
+
"text": "boolean"
|
|
3710
3654
|
}
|
|
3711
3655
|
},
|
|
3712
|
-
"
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
"text": "AIStatus | null"
|
|
3717
|
-
}
|
|
3718
|
-
}
|
|
3719
|
-
]
|
|
3656
|
+
"inheritedFrom": {
|
|
3657
|
+
"name": "Accordion",
|
|
3658
|
+
"module": "src/accordion/accordion.ts"
|
|
3659
|
+
}
|
|
3720
3660
|
},
|
|
3721
3661
|
{
|
|
3722
|
-
"kind": "
|
|
3723
|
-
"name": "
|
|
3662
|
+
"kind": "field",
|
|
3663
|
+
"name": "handleItemKeyDown",
|
|
3724
3664
|
"privacy": "private",
|
|
3725
|
-
"
|
|
3726
|
-
"
|
|
3727
|
-
|
|
3728
|
-
}
|
|
3665
|
+
"inheritedFrom": {
|
|
3666
|
+
"name": "Accordion",
|
|
3667
|
+
"module": "src/accordion/accordion.ts"
|
|
3729
3668
|
}
|
|
3730
3669
|
},
|
|
3731
3670
|
{
|
|
3732
|
-
"kind": "
|
|
3733
|
-
"name": "
|
|
3671
|
+
"kind": "field",
|
|
3672
|
+
"name": "handleItemFocus",
|
|
3734
3673
|
"privacy": "private",
|
|
3735
|
-
"
|
|
3736
|
-
"
|
|
3737
|
-
|
|
3738
|
-
}
|
|
3674
|
+
"inheritedFrom": {
|
|
3675
|
+
"name": "Accordion",
|
|
3676
|
+
"module": "src/accordion/accordion.ts"
|
|
3739
3677
|
}
|
|
3740
3678
|
},
|
|
3741
3679
|
{
|
|
3742
3680
|
"kind": "method",
|
|
3743
|
-
"name": "
|
|
3681
|
+
"name": "adjust",
|
|
3744
3682
|
"privacy": "private",
|
|
3745
3683
|
"return": {
|
|
3746
3684
|
"type": {
|
|
3747
3685
|
"text": "void"
|
|
3748
3686
|
}
|
|
3687
|
+
},
|
|
3688
|
+
"parameters": [
|
|
3689
|
+
{
|
|
3690
|
+
"name": "adjustment",
|
|
3691
|
+
"type": {
|
|
3692
|
+
"text": "number"
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
],
|
|
3696
|
+
"inheritedFrom": {
|
|
3697
|
+
"name": "Accordion",
|
|
3698
|
+
"module": "src/accordion/accordion.ts"
|
|
3749
3699
|
}
|
|
3750
3700
|
},
|
|
3751
3701
|
{
|
|
3752
3702
|
"kind": "method",
|
|
3753
|
-
"name": "
|
|
3703
|
+
"name": "focusItem",
|
|
3704
|
+
"privacy": "private",
|
|
3754
3705
|
"return": {
|
|
3755
3706
|
"type": {
|
|
3756
|
-
"text": "
|
|
3707
|
+
"text": "void"
|
|
3757
3708
|
}
|
|
3709
|
+
},
|
|
3710
|
+
"inheritedFrom": {
|
|
3711
|
+
"name": "Accordion",
|
|
3712
|
+
"module": "src/accordion/accordion.ts"
|
|
3758
3713
|
}
|
|
3759
3714
|
},
|
|
3760
3715
|
{
|
|
@@ -3869,88 +3824,133 @@
|
|
|
3869
3824
|
}
|
|
3870
3825
|
}
|
|
3871
3826
|
],
|
|
3872
|
-
"
|
|
3873
|
-
|
|
3874
|
-
|
|
3827
|
+
"events": [
|
|
3828
|
+
{
|
|
3829
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3830
|
+
"name": "change",
|
|
3831
|
+
"inheritedFrom": {
|
|
3832
|
+
"name": "Accordion",
|
|
3833
|
+
"module": "src/accordion/accordion.ts"
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
]
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"kind": "variable",
|
|
3840
|
+
"name": "foundationAccordionShadowOptions",
|
|
3841
|
+
"type": {
|
|
3842
|
+
"text": "ShadowRootInit"
|
|
3875
3843
|
},
|
|
3876
|
-
"
|
|
3877
|
-
"customElement": true
|
|
3844
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3878
3845
|
},
|
|
3879
3846
|
{
|
|
3880
3847
|
"kind": "variable",
|
|
3881
|
-
"name": "
|
|
3848
|
+
"name": "defaultAccordionConfig",
|
|
3849
|
+
"type": {
|
|
3850
|
+
"text": "object"
|
|
3851
|
+
},
|
|
3852
|
+
"default": "{}"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"kind": "variable",
|
|
3856
|
+
"name": "foundationAccordion",
|
|
3857
|
+
"description": "The Foundation Accordion",
|
|
3858
|
+
"privacy": "public"
|
|
3882
3859
|
}
|
|
3883
3860
|
],
|
|
3884
3861
|
"exports": [
|
|
3885
3862
|
{
|
|
3886
3863
|
"kind": "js",
|
|
3887
|
-
"name": "
|
|
3864
|
+
"name": "Accordion",
|
|
3888
3865
|
"declaration": {
|
|
3889
|
-
"name": "
|
|
3890
|
-
"module": "src/
|
|
3866
|
+
"name": "Accordion",
|
|
3867
|
+
"module": "src/accordion/accordion.ts"
|
|
3891
3868
|
}
|
|
3892
3869
|
},
|
|
3893
3870
|
{
|
|
3894
3871
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3872
|
+
"name": "foundationAccordionShadowOptions",
|
|
3896
3873
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3874
|
+
"name": "foundationAccordionShadowOptions",
|
|
3875
|
+
"module": "src/accordion/accordion.ts"
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"kind": "js",
|
|
3880
|
+
"name": "defaultAccordionConfig",
|
|
3881
|
+
"declaration": {
|
|
3882
|
+
"name": "defaultAccordionConfig",
|
|
3883
|
+
"module": "src/accordion/accordion.ts"
|
|
3884
|
+
}
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"kind": "js",
|
|
3888
|
+
"name": "foundationAccordion",
|
|
3889
|
+
"declaration": {
|
|
3890
|
+
"name": "foundationAccordion",
|
|
3891
|
+
"module": "src/accordion/accordion.ts"
|
|
3899
3892
|
}
|
|
3900
3893
|
}
|
|
3901
3894
|
]
|
|
3902
3895
|
},
|
|
3903
3896
|
{
|
|
3904
3897
|
"kind": "javascript-module",
|
|
3905
|
-
"path": "src/
|
|
3898
|
+
"path": "src/accordion/index.ts",
|
|
3906
3899
|
"declarations": [],
|
|
3907
3900
|
"exports": [
|
|
3908
3901
|
{
|
|
3909
3902
|
"kind": "js",
|
|
3910
|
-
"name": "
|
|
3903
|
+
"name": "*",
|
|
3911
3904
|
"declaration": {
|
|
3912
|
-
"name": "
|
|
3913
|
-
"
|
|
3905
|
+
"name": "*",
|
|
3906
|
+
"package": "./accordion.template"
|
|
3914
3907
|
}
|
|
3915
3908
|
},
|
|
3916
3909
|
{
|
|
3917
3910
|
"kind": "js",
|
|
3918
|
-
"name": "
|
|
3911
|
+
"name": "*",
|
|
3919
3912
|
"declaration": {
|
|
3920
|
-
"name": "
|
|
3921
|
-
"
|
|
3913
|
+
"name": "*",
|
|
3914
|
+
"package": "./accordion.styles"
|
|
3922
3915
|
}
|
|
3923
3916
|
},
|
|
3924
3917
|
{
|
|
3925
3918
|
"kind": "js",
|
|
3926
|
-
"name": "
|
|
3919
|
+
"name": "*",
|
|
3927
3920
|
"declaration": {
|
|
3928
|
-
"name": "
|
|
3929
|
-
"
|
|
3921
|
+
"name": "*",
|
|
3922
|
+
"package": "./accordion"
|
|
3930
3923
|
}
|
|
3931
|
-
}
|
|
3924
|
+
}
|
|
3925
|
+
]
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "javascript-module",
|
|
3929
|
+
"path": "src/_config/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": "./styles"
|
|
3938
3938
|
}
|
|
3939
3939
|
},
|
|
3940
3940
|
{
|
|
3941
3941
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3942
|
+
"name": "*",
|
|
3943
3943
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3944
|
+
"name": "*",
|
|
3945
|
+
"package": "./tokens"
|
|
3946
3946
|
}
|
|
3947
3947
|
},
|
|
3948
3948
|
{
|
|
3949
3949
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3950
|
+
"name": "*",
|
|
3951
3951
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3952
|
+
"name": "*",
|
|
3953
|
+
"package": "./values"
|
|
3954
3954
|
}
|
|
3955
3955
|
}
|
|
3956
3956
|
]
|
|
@@ -57677,6 +57677,197 @@
|
|
|
57677
57677
|
}
|
|
57678
57678
|
]
|
|
57679
57679
|
},
|
|
57680
|
+
{
|
|
57681
|
+
"kind": "javascript-module",
|
|
57682
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57683
|
+
"declarations": [],
|
|
57684
|
+
"exports": []
|
|
57685
|
+
},
|
|
57686
|
+
{
|
|
57687
|
+
"kind": "javascript-module",
|
|
57688
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57689
|
+
"declarations": [
|
|
57690
|
+
{
|
|
57691
|
+
"kind": "function",
|
|
57692
|
+
"name": "groupsToCriteria",
|
|
57693
|
+
"return": {
|
|
57694
|
+
"type": {
|
|
57695
|
+
"text": "string"
|
|
57696
|
+
}
|
|
57697
|
+
},
|
|
57698
|
+
"parameters": [
|
|
57699
|
+
{
|
|
57700
|
+
"name": "groups",
|
|
57701
|
+
"type": {
|
|
57702
|
+
"text": "CriteriaGroup[]"
|
|
57703
|
+
}
|
|
57704
|
+
}
|
|
57705
|
+
],
|
|
57706
|
+
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
57707
|
+
},
|
|
57708
|
+
{
|
|
57709
|
+
"kind": "variable",
|
|
57710
|
+
"name": "STRING_OPERATORS",
|
|
57711
|
+
"type": {
|
|
57712
|
+
"text": "CriteriaOperator[]"
|
|
57713
|
+
},
|
|
57714
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57715
|
+
},
|
|
57716
|
+
{
|
|
57717
|
+
"kind": "variable",
|
|
57718
|
+
"name": "NUMERIC_OPERATORS",
|
|
57719
|
+
"type": {
|
|
57720
|
+
"text": "CriteriaOperator[]"
|
|
57721
|
+
},
|
|
57722
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57723
|
+
},
|
|
57724
|
+
{
|
|
57725
|
+
"kind": "variable",
|
|
57726
|
+
"name": "DATE_OPERATORS",
|
|
57727
|
+
"type": {
|
|
57728
|
+
"text": "CriteriaOperator[]"
|
|
57729
|
+
},
|
|
57730
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57731
|
+
},
|
|
57732
|
+
{
|
|
57733
|
+
"kind": "variable",
|
|
57734
|
+
"name": "DATETIME_OPERATORS",
|
|
57735
|
+
"type": {
|
|
57736
|
+
"text": "CriteriaOperator[]"
|
|
57737
|
+
},
|
|
57738
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57739
|
+
},
|
|
57740
|
+
{
|
|
57741
|
+
"kind": "variable",
|
|
57742
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57743
|
+
"type": {
|
|
57744
|
+
"text": "Record<CriteriaOperator, string>"
|
|
57745
|
+
},
|
|
57746
|
+
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
57747
|
+
}
|
|
57748
|
+
],
|
|
57749
|
+
"exports": [
|
|
57750
|
+
{
|
|
57751
|
+
"kind": "js",
|
|
57752
|
+
"name": "groupsToCriteria",
|
|
57753
|
+
"declaration": {
|
|
57754
|
+
"name": "groupsToCriteria",
|
|
57755
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57756
|
+
}
|
|
57757
|
+
},
|
|
57758
|
+
{
|
|
57759
|
+
"kind": "js",
|
|
57760
|
+
"name": "STRING_OPERATORS",
|
|
57761
|
+
"declaration": {
|
|
57762
|
+
"name": "STRING_OPERATORS",
|
|
57763
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57764
|
+
}
|
|
57765
|
+
},
|
|
57766
|
+
{
|
|
57767
|
+
"kind": "js",
|
|
57768
|
+
"name": "NUMERIC_OPERATORS",
|
|
57769
|
+
"declaration": {
|
|
57770
|
+
"name": "NUMERIC_OPERATORS",
|
|
57771
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57772
|
+
}
|
|
57773
|
+
},
|
|
57774
|
+
{
|
|
57775
|
+
"kind": "js",
|
|
57776
|
+
"name": "DATE_OPERATORS",
|
|
57777
|
+
"declaration": {
|
|
57778
|
+
"name": "DATE_OPERATORS",
|
|
57779
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57780
|
+
}
|
|
57781
|
+
},
|
|
57782
|
+
{
|
|
57783
|
+
"kind": "js",
|
|
57784
|
+
"name": "DATETIME_OPERATORS",
|
|
57785
|
+
"declaration": {
|
|
57786
|
+
"name": "DATETIME_OPERATORS",
|
|
57787
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57788
|
+
}
|
|
57789
|
+
},
|
|
57790
|
+
{
|
|
57791
|
+
"kind": "js",
|
|
57792
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57793
|
+
"declaration": {
|
|
57794
|
+
"name": "OPERATOR_DISPLAY_LABEL",
|
|
57795
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57796
|
+
}
|
|
57797
|
+
}
|
|
57798
|
+
]
|
|
57799
|
+
},
|
|
57800
|
+
{
|
|
57801
|
+
"kind": "javascript-module",
|
|
57802
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57803
|
+
"declarations": [
|
|
57804
|
+
{
|
|
57805
|
+
"kind": "function",
|
|
57806
|
+
"name": "validateClauses",
|
|
57807
|
+
"return": {
|
|
57808
|
+
"type": {
|
|
57809
|
+
"text": "ValidationResult"
|
|
57810
|
+
}
|
|
57811
|
+
},
|
|
57812
|
+
"parameters": [
|
|
57813
|
+
{
|
|
57814
|
+
"name": "clauses",
|
|
57815
|
+
"type": {
|
|
57816
|
+
"text": "CriteriaClause[]"
|
|
57817
|
+
}
|
|
57818
|
+
},
|
|
57819
|
+
{
|
|
57820
|
+
"name": "fieldMetadata",
|
|
57821
|
+
"type": {
|
|
57822
|
+
"text": "MetadataDetail[] | string[]"
|
|
57823
|
+
}
|
|
57824
|
+
}
|
|
57825
|
+
]
|
|
57826
|
+
},
|
|
57827
|
+
{
|
|
57828
|
+
"kind": "function",
|
|
57829
|
+
"name": "validateGroups",
|
|
57830
|
+
"return": {
|
|
57831
|
+
"type": {
|
|
57832
|
+
"text": "GroupsValidationResult"
|
|
57833
|
+
}
|
|
57834
|
+
},
|
|
57835
|
+
"parameters": [
|
|
57836
|
+
{
|
|
57837
|
+
"name": "groups",
|
|
57838
|
+
"type": {
|
|
57839
|
+
"text": "CriteriaGroup[]"
|
|
57840
|
+
}
|
|
57841
|
+
},
|
|
57842
|
+
{
|
|
57843
|
+
"name": "fieldMetadata",
|
|
57844
|
+
"type": {
|
|
57845
|
+
"text": "MetadataDetail[] | string[]"
|
|
57846
|
+
}
|
|
57847
|
+
}
|
|
57848
|
+
],
|
|
57849
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57850
|
+
}
|
|
57851
|
+
],
|
|
57852
|
+
"exports": [
|
|
57853
|
+
{
|
|
57854
|
+
"kind": "js",
|
|
57855
|
+
"name": "validateClauses",
|
|
57856
|
+
"declaration": {
|
|
57857
|
+
"name": "validateClauses",
|
|
57858
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57859
|
+
}
|
|
57860
|
+
},
|
|
57861
|
+
{
|
|
57862
|
+
"kind": "js",
|
|
57863
|
+
"name": "validateGroups",
|
|
57864
|
+
"declaration": {
|
|
57865
|
+
"name": "validateGroups",
|
|
57866
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57867
|
+
}
|
|
57868
|
+
}
|
|
57869
|
+
]
|
|
57870
|
+
},
|
|
57680
57871
|
{
|
|
57681
57872
|
"kind": "javascript-module",
|
|
57682
57873
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -59049,197 +59240,6 @@
|
|
|
59049
59240
|
"declarations": [],
|
|
59050
59241
|
"exports": []
|
|
59051
59242
|
},
|
|
59052
|
-
{
|
|
59053
|
-
"kind": "javascript-module",
|
|
59054
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
59055
|
-
"declarations": [],
|
|
59056
|
-
"exports": []
|
|
59057
|
-
},
|
|
59058
|
-
{
|
|
59059
|
-
"kind": "javascript-module",
|
|
59060
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
59061
|
-
"declarations": [
|
|
59062
|
-
{
|
|
59063
|
-
"kind": "function",
|
|
59064
|
-
"name": "groupsToCriteria",
|
|
59065
|
-
"return": {
|
|
59066
|
-
"type": {
|
|
59067
|
-
"text": "string"
|
|
59068
|
-
}
|
|
59069
|
-
},
|
|
59070
|
-
"parameters": [
|
|
59071
|
-
{
|
|
59072
|
-
"name": "groups",
|
|
59073
|
-
"type": {
|
|
59074
|
-
"text": "CriteriaGroup[]"
|
|
59075
|
-
}
|
|
59076
|
-
}
|
|
59077
|
-
],
|
|
59078
|
-
"description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
|
|
59079
|
-
},
|
|
59080
|
-
{
|
|
59081
|
-
"kind": "variable",
|
|
59082
|
-
"name": "STRING_OPERATORS",
|
|
59083
|
-
"type": {
|
|
59084
|
-
"text": "CriteriaOperator[]"
|
|
59085
|
-
},
|
|
59086
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
59087
|
-
},
|
|
59088
|
-
{
|
|
59089
|
-
"kind": "variable",
|
|
59090
|
-
"name": "NUMERIC_OPERATORS",
|
|
59091
|
-
"type": {
|
|
59092
|
-
"text": "CriteriaOperator[]"
|
|
59093
|
-
},
|
|
59094
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
59095
|
-
},
|
|
59096
|
-
{
|
|
59097
|
-
"kind": "variable",
|
|
59098
|
-
"name": "DATE_OPERATORS",
|
|
59099
|
-
"type": {
|
|
59100
|
-
"text": "CriteriaOperator[]"
|
|
59101
|
-
},
|
|
59102
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
59103
|
-
},
|
|
59104
|
-
{
|
|
59105
|
-
"kind": "variable",
|
|
59106
|
-
"name": "DATETIME_OPERATORS",
|
|
59107
|
-
"type": {
|
|
59108
|
-
"text": "CriteriaOperator[]"
|
|
59109
|
-
},
|
|
59110
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
59111
|
-
},
|
|
59112
|
-
{
|
|
59113
|
-
"kind": "variable",
|
|
59114
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59115
|
-
"type": {
|
|
59116
|
-
"text": "Record<CriteriaOperator, string>"
|
|
59117
|
-
},
|
|
59118
|
-
"default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
|
|
59119
|
-
}
|
|
59120
|
-
],
|
|
59121
|
-
"exports": [
|
|
59122
|
-
{
|
|
59123
|
-
"kind": "js",
|
|
59124
|
-
"name": "groupsToCriteria",
|
|
59125
|
-
"declaration": {
|
|
59126
|
-
"name": "groupsToCriteria",
|
|
59127
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59128
|
-
}
|
|
59129
|
-
},
|
|
59130
|
-
{
|
|
59131
|
-
"kind": "js",
|
|
59132
|
-
"name": "STRING_OPERATORS",
|
|
59133
|
-
"declaration": {
|
|
59134
|
-
"name": "STRING_OPERATORS",
|
|
59135
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59136
|
-
}
|
|
59137
|
-
},
|
|
59138
|
-
{
|
|
59139
|
-
"kind": "js",
|
|
59140
|
-
"name": "NUMERIC_OPERATORS",
|
|
59141
|
-
"declaration": {
|
|
59142
|
-
"name": "NUMERIC_OPERATORS",
|
|
59143
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59144
|
-
}
|
|
59145
|
-
},
|
|
59146
|
-
{
|
|
59147
|
-
"kind": "js",
|
|
59148
|
-
"name": "DATE_OPERATORS",
|
|
59149
|
-
"declaration": {
|
|
59150
|
-
"name": "DATE_OPERATORS",
|
|
59151
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59152
|
-
}
|
|
59153
|
-
},
|
|
59154
|
-
{
|
|
59155
|
-
"kind": "js",
|
|
59156
|
-
"name": "DATETIME_OPERATORS",
|
|
59157
|
-
"declaration": {
|
|
59158
|
-
"name": "DATETIME_OPERATORS",
|
|
59159
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59160
|
-
}
|
|
59161
|
-
},
|
|
59162
|
-
{
|
|
59163
|
-
"kind": "js",
|
|
59164
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59165
|
-
"declaration": {
|
|
59166
|
-
"name": "OPERATOR_DISPLAY_LABEL",
|
|
59167
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
59168
|
-
}
|
|
59169
|
-
}
|
|
59170
|
-
]
|
|
59171
|
-
},
|
|
59172
|
-
{
|
|
59173
|
-
"kind": "javascript-module",
|
|
59174
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
59175
|
-
"declarations": [
|
|
59176
|
-
{
|
|
59177
|
-
"kind": "function",
|
|
59178
|
-
"name": "validateClauses",
|
|
59179
|
-
"return": {
|
|
59180
|
-
"type": {
|
|
59181
|
-
"text": "ValidationResult"
|
|
59182
|
-
}
|
|
59183
|
-
},
|
|
59184
|
-
"parameters": [
|
|
59185
|
-
{
|
|
59186
|
-
"name": "clauses",
|
|
59187
|
-
"type": {
|
|
59188
|
-
"text": "CriteriaClause[]"
|
|
59189
|
-
}
|
|
59190
|
-
},
|
|
59191
|
-
{
|
|
59192
|
-
"name": "fieldMetadata",
|
|
59193
|
-
"type": {
|
|
59194
|
-
"text": "MetadataDetail[] | string[]"
|
|
59195
|
-
}
|
|
59196
|
-
}
|
|
59197
|
-
]
|
|
59198
|
-
},
|
|
59199
|
-
{
|
|
59200
|
-
"kind": "function",
|
|
59201
|
-
"name": "validateGroups",
|
|
59202
|
-
"return": {
|
|
59203
|
-
"type": {
|
|
59204
|
-
"text": "GroupsValidationResult"
|
|
59205
|
-
}
|
|
59206
|
-
},
|
|
59207
|
-
"parameters": [
|
|
59208
|
-
{
|
|
59209
|
-
"name": "groups",
|
|
59210
|
-
"type": {
|
|
59211
|
-
"text": "CriteriaGroup[]"
|
|
59212
|
-
}
|
|
59213
|
-
},
|
|
59214
|
-
{
|
|
59215
|
-
"name": "fieldMetadata",
|
|
59216
|
-
"type": {
|
|
59217
|
-
"text": "MetadataDetail[] | string[]"
|
|
59218
|
-
}
|
|
59219
|
-
}
|
|
59220
|
-
],
|
|
59221
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
59222
|
-
}
|
|
59223
|
-
],
|
|
59224
|
-
"exports": [
|
|
59225
|
-
{
|
|
59226
|
-
"kind": "js",
|
|
59227
|
-
"name": "validateClauses",
|
|
59228
|
-
"declaration": {
|
|
59229
|
-
"name": "validateClauses",
|
|
59230
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59231
|
-
}
|
|
59232
|
-
},
|
|
59233
|
-
{
|
|
59234
|
-
"kind": "js",
|
|
59235
|
-
"name": "validateGroups",
|
|
59236
|
-
"declaration": {
|
|
59237
|
-
"name": "validateGroups",
|
|
59238
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
59239
|
-
}
|
|
59240
|
-
}
|
|
59241
|
-
]
|
|
59242
|
-
},
|
|
59243
59243
|
{
|
|
59244
59244
|
"kind": "javascript-module",
|
|
59245
59245
|
"path": "src/environment-indicator/utils/configure.ts",
|