@genesislcap/foundation-ui 14.499.0 → 14.500.1-alpha-beb5193.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 +1321 -909
- package/dist/dts/base-components.d.ts +11 -0
- package/dist/dts/base-components.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/pill/index.d.ts +4 -0
- package/dist/dts/pill/index.d.ts.map +1 -0
- package/dist/dts/pill/pill.d.ts +61 -0
- package/dist/dts/pill/pill.d.ts.map +1 -0
- package/dist/dts/pill/pill.styles.d.ts +2 -0
- package/dist/dts/pill/pill.styles.d.ts.map +1 -0
- package/dist/dts/pill/pill.template.d.ts +3 -0
- package/dist/dts/pill/pill.template.d.ts.map +1 -0
- package/dist/dts/react.d.ts +30 -18
- package/dist/esm/base-components.js +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/pill/index.js +3 -0
- package/dist/esm/pill/pill.js +66 -0
- package/dist/esm/pill/pill.styles.js +80 -0
- package/dist/esm/pill/pill.template.js +44 -0
- package/dist/foundation-ui.api.json +588 -1
- package/dist/foundation-ui.d.ts +78 -0
- package/dist/react.cjs +36 -12
- package/dist/react.mjs +33 -10
- package/package.json +19 -19
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"type": {
|
|
13
13
|
"text": "object"
|
|
14
14
|
},
|
|
15
|
-
"default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
15
|
+
"default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"exports": [
|
|
@@ -548,6 +548,14 @@
|
|
|
548
548
|
"package": "./patterns"
|
|
549
549
|
}
|
|
550
550
|
},
|
|
551
|
+
{
|
|
552
|
+
"kind": "js",
|
|
553
|
+
"name": "*",
|
|
554
|
+
"declaration": {
|
|
555
|
+
"name": "*",
|
|
556
|
+
"package": "./pill"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
551
559
|
{
|
|
552
560
|
"kind": "js",
|
|
553
561
|
"name": "*",
|
|
@@ -1833,203 +1841,115 @@
|
|
|
1833
1841
|
},
|
|
1834
1842
|
{
|
|
1835
1843
|
"kind": "javascript-module",
|
|
1836
|
-
"path": "src/
|
|
1844
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1837
1845
|
"declarations": [
|
|
1838
1846
|
{
|
|
1839
|
-
"kind": "
|
|
1840
|
-
"name": "
|
|
1841
|
-
"
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "ElementStyles"
|
|
1844
|
-
}
|
|
1845
|
-
},
|
|
1846
|
-
"parameters": [
|
|
1847
|
-
{
|
|
1848
|
-
"name": "context",
|
|
1849
|
-
"type": {
|
|
1850
|
-
"text": "ElementDefinitionContext"
|
|
1851
|
-
}
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"name": "definition",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "FoundationElementDefinition"
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
]
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"kind": "function",
|
|
1863
|
-
"name": "foundationActionsMenuStyles",
|
|
1864
|
-
"return": {
|
|
1865
|
-
"type": {
|
|
1866
|
-
"text": "ElementStyles"
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
"parameters": [
|
|
1870
|
-
{
|
|
1871
|
-
"name": "context",
|
|
1872
|
-
"type": {
|
|
1873
|
-
"text": "ElementDefinitionContext"
|
|
1874
|
-
}
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"name": "definition",
|
|
1878
|
-
"type": {
|
|
1879
|
-
"text": "FoundationElementDefinition"
|
|
1880
|
-
}
|
|
1881
|
-
}
|
|
1882
|
-
]
|
|
1847
|
+
"kind": "variable",
|
|
1848
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1849
|
+
"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`"
|
|
1883
1850
|
}
|
|
1884
1851
|
],
|
|
1885
1852
|
"exports": [
|
|
1886
1853
|
{
|
|
1887
1854
|
"kind": "js",
|
|
1888
|
-
"name": "
|
|
1889
|
-
"declaration": {
|
|
1890
|
-
"name": "actionsMenuBaseStyles",
|
|
1891
|
-
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
1892
|
-
}
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "js",
|
|
1896
|
-
"name": "foundationActionsMenuStyles",
|
|
1855
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1897
1856
|
"declaration": {
|
|
1898
|
-
"name": "
|
|
1899
|
-
"module": "src/
|
|
1857
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1858
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1900
1859
|
}
|
|
1901
1860
|
}
|
|
1902
1861
|
]
|
|
1903
1862
|
},
|
|
1904
1863
|
{
|
|
1905
1864
|
"kind": "javascript-module",
|
|
1906
|
-
"path": "src/
|
|
1865
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
1907
1866
|
"declarations": [
|
|
1908
|
-
{
|
|
1909
|
-
"kind": "function",
|
|
1910
|
-
"name": "menuTemplate",
|
|
1911
|
-
"parameters": [
|
|
1912
|
-
{
|
|
1913
|
-
"name": "prefix",
|
|
1914
|
-
"type": {
|
|
1915
|
-
"text": "string"
|
|
1916
|
-
}
|
|
1917
|
-
}
|
|
1918
|
-
]
|
|
1919
|
-
},
|
|
1920
|
-
{
|
|
1921
|
-
"kind": "function",
|
|
1922
|
-
"name": "singleOptionTemplate",
|
|
1923
|
-
"parameters": [
|
|
1924
|
-
{
|
|
1925
|
-
"name": "prefix",
|
|
1926
|
-
"type": {
|
|
1927
|
-
"text": "string"
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
]
|
|
1931
|
-
},
|
|
1932
1867
|
{
|
|
1933
1868
|
"kind": "variable",
|
|
1934
|
-
"name": "
|
|
1869
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1935
1870
|
"type": {
|
|
1936
|
-
"text": "ViewTemplate<
|
|
1871
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
1937
1872
|
},
|
|
1938
|
-
"default": "html`\n
|
|
1873
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
1939
1874
|
}
|
|
1940
1875
|
],
|
|
1941
1876
|
"exports": [
|
|
1942
1877
|
{
|
|
1943
1878
|
"kind": "js",
|
|
1944
|
-
"name": "
|
|
1945
|
-
"declaration": {
|
|
1946
|
-
"name": "menuTemplate",
|
|
1947
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1948
|
-
}
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"kind": "js",
|
|
1952
|
-
"name": "singleOptionTemplate",
|
|
1953
|
-
"declaration": {
|
|
1954
|
-
"name": "singleOptionTemplate",
|
|
1955
|
-
"module": "src/actions-menu/actions-menu.template.ts"
|
|
1956
|
-
}
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"kind": "js",
|
|
1960
|
-
"name": "foundationActionsMenuTemplate",
|
|
1879
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1961
1880
|
"declaration": {
|
|
1962
|
-
"name": "
|
|
1963
|
-
"module": "src/
|
|
1881
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
1882
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
1964
1883
|
}
|
|
1965
1884
|
}
|
|
1966
1885
|
]
|
|
1967
1886
|
},
|
|
1968
1887
|
{
|
|
1969
1888
|
"kind": "javascript-module",
|
|
1970
|
-
"path": "src/
|
|
1889
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
1971
1890
|
"declarations": [
|
|
1972
1891
|
{
|
|
1973
1892
|
"kind": "class",
|
|
1974
|
-
"description": "",
|
|
1975
|
-
"name": "
|
|
1893
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
1894
|
+
"name": "AiCriteriaSearch",
|
|
1976
1895
|
"members": [
|
|
1977
1896
|
{
|
|
1978
1897
|
"kind": "field",
|
|
1979
|
-
"name": "
|
|
1898
|
+
"name": "providerRegistry",
|
|
1980
1899
|
"type": {
|
|
1981
|
-
"text": "
|
|
1900
|
+
"text": "AIProviderRegistry"
|
|
1982
1901
|
}
|
|
1983
1902
|
},
|
|
1984
1903
|
{
|
|
1985
1904
|
"kind": "field",
|
|
1986
|
-
"name": "
|
|
1905
|
+
"name": "placeholder",
|
|
1987
1906
|
"type": {
|
|
1988
|
-
"text": "
|
|
1907
|
+
"text": "string"
|
|
1989
1908
|
},
|
|
1990
|
-
"default": "
|
|
1909
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
1991
1910
|
},
|
|
1992
1911
|
{
|
|
1993
1912
|
"kind": "field",
|
|
1994
|
-
"name": "
|
|
1913
|
+
"name": "disabled",
|
|
1995
1914
|
"type": {
|
|
1996
1915
|
"text": "boolean"
|
|
1997
|
-
}
|
|
1998
|
-
"default": "true"
|
|
1916
|
+
}
|
|
1999
1917
|
},
|
|
2000
1918
|
{
|
|
2001
1919
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
1920
|
+
"name": "inputValue",
|
|
2003
1921
|
"type": {
|
|
2004
|
-
"text": "
|
|
1922
|
+
"text": "string"
|
|
2005
1923
|
},
|
|
2006
|
-
"default": "
|
|
1924
|
+
"default": "''"
|
|
2007
1925
|
},
|
|
2008
1926
|
{
|
|
2009
1927
|
"kind": "field",
|
|
2010
|
-
"name": "
|
|
1928
|
+
"name": "isInterpreting",
|
|
2011
1929
|
"type": {
|
|
2012
|
-
"text": "
|
|
2013
|
-
}
|
|
1930
|
+
"text": "boolean"
|
|
1931
|
+
},
|
|
1932
|
+
"default": "false"
|
|
2014
1933
|
},
|
|
2015
1934
|
{
|
|
2016
1935
|
"kind": "field",
|
|
2017
|
-
"name": "
|
|
1936
|
+
"name": "lastValidCriteria",
|
|
2018
1937
|
"type": {
|
|
2019
|
-
"text": "
|
|
2020
|
-
}
|
|
1938
|
+
"text": "string | null"
|
|
1939
|
+
},
|
|
1940
|
+
"default": "null"
|
|
2021
1941
|
},
|
|
2022
1942
|
{
|
|
2023
1943
|
"kind": "field",
|
|
2024
|
-
"name": "
|
|
1944
|
+
"name": "activeGroups",
|
|
2025
1945
|
"type": {
|
|
2026
|
-
"text": "
|
|
1946
|
+
"text": "CriteriaGroup[]"
|
|
2027
1947
|
},
|
|
2028
|
-
"default": "
|
|
1948
|
+
"default": "[]"
|
|
2029
1949
|
},
|
|
2030
1950
|
{
|
|
2031
1951
|
"kind": "field",
|
|
2032
|
-
"name": "
|
|
1952
|
+
"name": "showingChips",
|
|
2033
1953
|
"type": {
|
|
2034
1954
|
"text": "boolean"
|
|
2035
1955
|
},
|
|
@@ -2037,14 +1957,15 @@
|
|
|
2037
1957
|
},
|
|
2038
1958
|
{
|
|
2039
1959
|
"kind": "field",
|
|
2040
|
-
"name": "
|
|
1960
|
+
"name": "fieldMetadata",
|
|
2041
1961
|
"type": {
|
|
2042
|
-
"text": "string"
|
|
2043
|
-
}
|
|
1962
|
+
"text": "MetadataDetail[] | string[]"
|
|
1963
|
+
},
|
|
1964
|
+
"default": "[]"
|
|
2044
1965
|
},
|
|
2045
1966
|
{
|
|
2046
1967
|
"kind": "field",
|
|
2047
|
-
"name": "
|
|
1968
|
+
"name": "isRecording",
|
|
2048
1969
|
"type": {
|
|
2049
1970
|
"text": "boolean"
|
|
2050
1971
|
},
|
|
@@ -2052,102 +1973,125 @@
|
|
|
2052
1973
|
},
|
|
2053
1974
|
{
|
|
2054
1975
|
"kind": "field",
|
|
2055
|
-
"name": "
|
|
1976
|
+
"name": "textAreaRef",
|
|
2056
1977
|
"type": {
|
|
2057
|
-
"text": "
|
|
1978
|
+
"text": "HTMLTextAreaElement"
|
|
2058
1979
|
},
|
|
2059
|
-
"
|
|
1980
|
+
"privacy": "public"
|
|
2060
1981
|
},
|
|
2061
1982
|
{
|
|
2062
1983
|
"kind": "field",
|
|
2063
|
-
"name": "
|
|
1984
|
+
"name": "stopRecording",
|
|
2064
1985
|
"type": {
|
|
2065
|
-
"text": "
|
|
2066
|
-
}
|
|
1986
|
+
"text": "(() => void) | null"
|
|
1987
|
+
},
|
|
1988
|
+
"privacy": "private",
|
|
1989
|
+
"default": "null"
|
|
2067
1990
|
},
|
|
2068
1991
|
{
|
|
2069
1992
|
"kind": "field",
|
|
2070
|
-
"name": "
|
|
1993
|
+
"name": "speechApplyDebounceTimer",
|
|
2071
1994
|
"type": {
|
|
2072
|
-
"text": "
|
|
2073
|
-
}
|
|
1995
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
1996
|
+
},
|
|
1997
|
+
"privacy": "private",
|
|
1998
|
+
"default": "null"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"kind": "field",
|
|
2002
|
+
"name": "speechAvailable",
|
|
2003
|
+
"type": {
|
|
2004
|
+
"text": "boolean"
|
|
2005
|
+
},
|
|
2006
|
+
"readonly": true
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"kind": "field",
|
|
2010
|
+
"name": "criteriaChips",
|
|
2011
|
+
"type": {
|
|
2012
|
+
"text": "CriteriaChip[]"
|
|
2013
|
+
},
|
|
2014
|
+
"readonly": true
|
|
2074
2015
|
},
|
|
2075
2016
|
{
|
|
2076
2017
|
"kind": "method",
|
|
2077
|
-
"name": "
|
|
2078
|
-
"privacy": "
|
|
2018
|
+
"name": "getFieldLabel",
|
|
2019
|
+
"privacy": "private",
|
|
2020
|
+
"return": {
|
|
2021
|
+
"type": {
|
|
2022
|
+
"text": "string"
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
2079
2025
|
"parameters": [
|
|
2080
2026
|
{
|
|
2081
|
-
"name": "
|
|
2082
|
-
"type": {
|
|
2083
|
-
"text": "any"
|
|
2084
|
-
}
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"name": "newValue",
|
|
2027
|
+
"name": "fieldName",
|
|
2088
2028
|
"type": {
|
|
2089
|
-
"text": "
|
|
2029
|
+
"text": "string"
|
|
2090
2030
|
}
|
|
2091
2031
|
}
|
|
2092
2032
|
]
|
|
2093
2033
|
},
|
|
2094
2034
|
{
|
|
2095
2035
|
"kind": "method",
|
|
2096
|
-
"name": "
|
|
2097
|
-
"
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2036
|
+
"name": "toggleCriteriaView",
|
|
2037
|
+
"return": {
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "void"
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2102
2042
|
},
|
|
2103
2043
|
{
|
|
2104
2044
|
"kind": "method",
|
|
2105
|
-
"name": "
|
|
2045
|
+
"name": "removeChip",
|
|
2046
|
+
"return": {
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "void"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2106
2051
|
"parameters": [
|
|
2107
2052
|
{
|
|
2108
|
-
"name": "
|
|
2053
|
+
"name": "groupIndex",
|
|
2109
2054
|
"type": {
|
|
2110
|
-
"text": "
|
|
2055
|
+
"text": "number"
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "clauseIndex",
|
|
2060
|
+
"type": {
|
|
2061
|
+
"text": "number"
|
|
2111
2062
|
}
|
|
2112
2063
|
}
|
|
2113
2064
|
]
|
|
2114
2065
|
},
|
|
2115
2066
|
{
|
|
2116
|
-
"kind": "
|
|
2117
|
-
"name": "
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2120
|
-
|
|
2121
|
-
|
|
2067
|
+
"kind": "method",
|
|
2068
|
+
"name": "clearChips",
|
|
2069
|
+
"return": {
|
|
2070
|
+
"type": {
|
|
2071
|
+
"text": "void"
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2122
2074
|
},
|
|
2123
2075
|
{
|
|
2124
|
-
"kind": "
|
|
2125
|
-
"name": "
|
|
2126
|
-
"readonly": true
|
|
2076
|
+
"kind": "method",
|
|
2077
|
+
"name": "handleSubmit"
|
|
2127
2078
|
},
|
|
2128
2079
|
{
|
|
2129
2080
|
"kind": "method",
|
|
2130
|
-
"name": "
|
|
2131
|
-
"parameters": [
|
|
2132
|
-
{
|
|
2133
|
-
"name": "name",
|
|
2134
|
-
"type": {
|
|
2135
|
-
"text": "string | ((rowData: any) => string)"
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
]
|
|
2081
|
+
"name": "handleBlur"
|
|
2139
2082
|
},
|
|
2140
2083
|
{
|
|
2141
2084
|
"kind": "method",
|
|
2142
|
-
"name": "
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2085
|
+
"name": "clear"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"kind": "method",
|
|
2089
|
+
"name": "toggleSpeechInput"
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "method",
|
|
2093
|
+
"name": "clearSpeechApplyDebounce",
|
|
2094
|
+
"privacy": "private"
|
|
2151
2095
|
},
|
|
2152
2096
|
{
|
|
2153
2097
|
"kind": "field",
|
|
@@ -2261,115 +2205,154 @@
|
|
|
2261
2205
|
}
|
|
2262
2206
|
}
|
|
2263
2207
|
],
|
|
2264
|
-
"
|
|
2265
|
-
{
|
|
2266
|
-
"name": "is-vertical",
|
|
2267
|
-
"type": {
|
|
2268
|
-
"text": "boolean"
|
|
2269
|
-
},
|
|
2270
|
-
"default": "false",
|
|
2271
|
-
"fieldName": "isVertical"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "add-default-actions",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "boolean"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "true",
|
|
2279
|
-
"fieldName": "addDefaultActions"
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"name": "auto-close-on-action",
|
|
2283
|
-
"type": {
|
|
2284
|
-
"text": "boolean"
|
|
2285
|
-
},
|
|
2286
|
-
"default": "true",
|
|
2287
|
-
"fieldName": "autoCloseOnAction"
|
|
2288
|
-
},
|
|
2208
|
+
"events": [
|
|
2289
2209
|
{
|
|
2290
|
-
"
|
|
2291
|
-
"
|
|
2292
|
-
"text": "string"
|
|
2293
|
-
},
|
|
2294
|
-
"default": "'Actions'",
|
|
2295
|
-
"fieldName": "name"
|
|
2210
|
+
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
2211
|
+
"name": "criteria-changed"
|
|
2296
2212
|
},
|
|
2297
2213
|
{
|
|
2298
|
-
"
|
|
2299
|
-
"
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
"fieldName": "open"
|
|
2304
|
-
},
|
|
2214
|
+
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
2215
|
+
"name": "validation-errors"
|
|
2216
|
+
}
|
|
2217
|
+
],
|
|
2218
|
+
"attributes": [
|
|
2305
2219
|
{
|
|
2306
|
-
"name": "
|
|
2220
|
+
"name": "placeholder",
|
|
2307
2221
|
"type": {
|
|
2308
2222
|
"text": "string"
|
|
2309
2223
|
},
|
|
2310
|
-
"
|
|
2311
|
-
|
|
2312
|
-
{
|
|
2313
|
-
"name": "hide-disabled",
|
|
2314
|
-
"type": {
|
|
2315
|
-
"text": "boolean"
|
|
2316
|
-
},
|
|
2317
|
-
"default": "false",
|
|
2318
|
-
"fieldName": "hideDisabled"
|
|
2224
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2225
|
+
"fieldName": "placeholder"
|
|
2319
2226
|
},
|
|
2320
2227
|
{
|
|
2321
|
-
"name": "hide-menu-single-option",
|
|
2322
2228
|
"type": {
|
|
2323
2229
|
"text": "boolean"
|
|
2324
2230
|
},
|
|
2325
|
-
"
|
|
2326
|
-
"fieldName": "hideMenuSingleOption"
|
|
2231
|
+
"fieldName": "disabled"
|
|
2327
2232
|
}
|
|
2328
2233
|
],
|
|
2329
2234
|
"superclass": {
|
|
2330
2235
|
"name": "FoundationElement",
|
|
2331
2236
|
"package": "@microsoft/fast-foundation"
|
|
2332
2237
|
},
|
|
2333
|
-
"tagName": "%%prefix%%-
|
|
2238
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2334
2239
|
"customElement": true
|
|
2335
2240
|
},
|
|
2336
2241
|
{
|
|
2337
2242
|
"kind": "variable",
|
|
2338
|
-
"name": "
|
|
2339
|
-
"
|
|
2340
|
-
|
|
2243
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "ShadowRootInit"
|
|
2246
|
+
},
|
|
2247
|
+
"default": "undefined"
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "variable",
|
|
2251
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "object"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "{}"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"kind": "variable",
|
|
2259
|
+
"name": "foundationAiCriteriaSearch"
|
|
2341
2260
|
}
|
|
2342
2261
|
],
|
|
2343
2262
|
"exports": [
|
|
2344
2263
|
{
|
|
2345
2264
|
"kind": "js",
|
|
2346
|
-
"name": "
|
|
2265
|
+
"name": "AiCriteriaSearch",
|
|
2347
2266
|
"declaration": {
|
|
2348
|
-
"name": "
|
|
2349
|
-
"module": "src/
|
|
2267
|
+
"name": "AiCriteriaSearch",
|
|
2268
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2350
2269
|
}
|
|
2351
2270
|
},
|
|
2352
2271
|
{
|
|
2353
2272
|
"kind": "js",
|
|
2354
|
-
"name": "
|
|
2273
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2355
2274
|
"declaration": {
|
|
2356
|
-
"name": "
|
|
2357
|
-
"module": "src/
|
|
2275
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2276
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2277
|
+
}
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"kind": "js",
|
|
2281
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2282
|
+
"declaration": {
|
|
2283
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2284
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"kind": "js",
|
|
2289
|
+
"name": "foundationAiCriteriaSearch",
|
|
2290
|
+
"declaration": {
|
|
2291
|
+
"name": "foundationAiCriteriaSearch",
|
|
2292
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2358
2293
|
}
|
|
2359
2294
|
}
|
|
2360
2295
|
]
|
|
2361
2296
|
},
|
|
2362
2297
|
{
|
|
2363
2298
|
"kind": "javascript-module",
|
|
2364
|
-
"path": "src/
|
|
2299
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2365
2300
|
"declarations": [],
|
|
2366
2301
|
"exports": [
|
|
2302
|
+
{
|
|
2303
|
+
"kind": "js",
|
|
2304
|
+
"name": "AiCriteriaSearch",
|
|
2305
|
+
"declaration": {
|
|
2306
|
+
"name": "AiCriteriaSearch",
|
|
2307
|
+
"module": "./ai-criteria-search"
|
|
2308
|
+
}
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"kind": "js",
|
|
2312
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2313
|
+
"declaration": {
|
|
2314
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2315
|
+
"module": "./ai-criteria-search"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"kind": "js",
|
|
2320
|
+
"name": "foundationAiCriteriaSearch",
|
|
2321
|
+
"declaration": {
|
|
2322
|
+
"name": "foundationAiCriteriaSearch",
|
|
2323
|
+
"module": "./ai-criteria-search"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "js",
|
|
2328
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2329
|
+
"declaration": {
|
|
2330
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2331
|
+
"module": "./ai-criteria-search"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "js",
|
|
2336
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2337
|
+
"declaration": {
|
|
2338
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2339
|
+
"module": "./ai-criteria-search.styles"
|
|
2340
|
+
}
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"kind": "js",
|
|
2344
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2345
|
+
"declaration": {
|
|
2346
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2347
|
+
"module": "./ai-criteria-search.template"
|
|
2348
|
+
}
|
|
2349
|
+
},
|
|
2367
2350
|
{
|
|
2368
2351
|
"kind": "js",
|
|
2369
2352
|
"name": "*",
|
|
2370
2353
|
"declaration": {
|
|
2371
2354
|
"name": "*",
|
|
2372
|
-
"package": "./
|
|
2355
|
+
"package": "./validation/criteria-ir"
|
|
2373
2356
|
}
|
|
2374
2357
|
},
|
|
2375
2358
|
{
|
|
@@ -2377,7 +2360,7 @@
|
|
|
2377
2360
|
"name": "*",
|
|
2378
2361
|
"declaration": {
|
|
2379
2362
|
"name": "*",
|
|
2380
|
-
"package": "./
|
|
2363
|
+
"package": "./validation/operator-map"
|
|
2381
2364
|
}
|
|
2382
2365
|
},
|
|
2383
2366
|
{
|
|
@@ -2385,60 +2368,119 @@
|
|
|
2385
2368
|
"name": "*",
|
|
2386
2369
|
"declaration": {
|
|
2387
2370
|
"name": "*",
|
|
2388
|
-
"package": "./
|
|
2371
|
+
"package": "./validation/schema-validator"
|
|
2389
2372
|
}
|
|
2390
2373
|
}
|
|
2391
2374
|
]
|
|
2392
2375
|
},
|
|
2393
2376
|
{
|
|
2394
2377
|
"kind": "javascript-module",
|
|
2395
|
-
"path": "src/
|
|
2378
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2396
2379
|
"declarations": [
|
|
2397
2380
|
{
|
|
2398
2381
|
"kind": "function",
|
|
2399
|
-
"name": "
|
|
2382
|
+
"name": "formatValidationErrors",
|
|
2400
2383
|
"return": {
|
|
2401
2384
|
"type": {
|
|
2402
|
-
"text": "
|
|
2385
|
+
"text": "string"
|
|
2403
2386
|
}
|
|
2404
2387
|
},
|
|
2405
2388
|
"parameters": [
|
|
2406
2389
|
{
|
|
2407
|
-
"name": "
|
|
2390
|
+
"name": "errors",
|
|
2408
2391
|
"type": {
|
|
2409
|
-
"text": "
|
|
2392
|
+
"text": "ValidationError[]"
|
|
2410
2393
|
}
|
|
2394
|
+
}
|
|
2395
|
+
],
|
|
2396
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"kind": "function",
|
|
2400
|
+
"name": "showCriteriaError",
|
|
2401
|
+
"return": {
|
|
2402
|
+
"type": {
|
|
2403
|
+
"text": "void"
|
|
2404
|
+
}
|
|
2405
|
+
},
|
|
2406
|
+
"parameters": [
|
|
2407
|
+
{
|
|
2408
|
+
"name": "title",
|
|
2409
|
+
"type": {
|
|
2410
|
+
"text": "string"
|
|
2411
|
+
},
|
|
2412
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2411
2413
|
},
|
|
2412
2414
|
{
|
|
2413
|
-
"name": "
|
|
2415
|
+
"name": "body",
|
|
2414
2416
|
"type": {
|
|
2415
|
-
"text": "
|
|
2416
|
-
}
|
|
2417
|
+
"text": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"description": "Error message to display"
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"name": "tagName",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"text": "string"
|
|
2425
|
+
},
|
|
2426
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2417
2427
|
}
|
|
2418
|
-
]
|
|
2428
|
+
],
|
|
2429
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2419
2430
|
}
|
|
2420
2431
|
],
|
|
2421
2432
|
"exports": [
|
|
2422
2433
|
{
|
|
2423
2434
|
"kind": "js",
|
|
2424
|
-
"name": "
|
|
2435
|
+
"name": "formatValidationErrors",
|
|
2425
2436
|
"declaration": {
|
|
2426
|
-
"name": "
|
|
2427
|
-
"module": "src/
|
|
2437
|
+
"name": "formatValidationErrors",
|
|
2438
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"kind": "js",
|
|
2443
|
+
"name": "showCriteriaError",
|
|
2444
|
+
"declaration": {
|
|
2445
|
+
"name": "showCriteriaError",
|
|
2446
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2428
2447
|
}
|
|
2429
2448
|
}
|
|
2430
2449
|
]
|
|
2431
2450
|
},
|
|
2432
2451
|
{
|
|
2433
2452
|
"kind": "javascript-module",
|
|
2434
|
-
"path": "src/
|
|
2453
|
+
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
2435
2454
|
"declarations": [
|
|
2436
2455
|
{
|
|
2437
2456
|
"kind": "function",
|
|
2438
|
-
"name": "
|
|
2457
|
+
"name": "actionsMenuBaseStyles",
|
|
2439
2458
|
"return": {
|
|
2440
2459
|
"type": {
|
|
2441
|
-
"text": "
|
|
2460
|
+
"text": "ElementStyles"
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
"parameters": [
|
|
2464
|
+
{
|
|
2465
|
+
"name": "context",
|
|
2466
|
+
"type": {
|
|
2467
|
+
"text": "ElementDefinitionContext"
|
|
2468
|
+
}
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"name": "definition",
|
|
2472
|
+
"type": {
|
|
2473
|
+
"text": "FoundationElementDefinition"
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
]
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"kind": "function",
|
|
2480
|
+
"name": "foundationActionsMenuStyles",
|
|
2481
|
+
"return": {
|
|
2482
|
+
"type": {
|
|
2483
|
+
"text": "ElementStyles"
|
|
2442
2484
|
}
|
|
2443
2485
|
},
|
|
2444
2486
|
"parameters": [
|
|
@@ -2460,238 +2502,269 @@
|
|
|
2460
2502
|
"exports": [
|
|
2461
2503
|
{
|
|
2462
2504
|
"kind": "js",
|
|
2463
|
-
"name": "
|
|
2505
|
+
"name": "actionsMenuBaseStyles",
|
|
2464
2506
|
"declaration": {
|
|
2465
|
-
"name": "
|
|
2466
|
-
"module": "src/
|
|
2507
|
+
"name": "actionsMenuBaseStyles",
|
|
2508
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
"kind": "js",
|
|
2513
|
+
"name": "foundationActionsMenuStyles",
|
|
2514
|
+
"declaration": {
|
|
2515
|
+
"name": "foundationActionsMenuStyles",
|
|
2516
|
+
"module": "src/actions-menu/actions-menu.styles.ts"
|
|
2467
2517
|
}
|
|
2468
2518
|
}
|
|
2469
2519
|
]
|
|
2470
2520
|
},
|
|
2471
2521
|
{
|
|
2472
2522
|
"kind": "javascript-module",
|
|
2473
|
-
"path": "src/
|
|
2523
|
+
"path": "src/actions-menu/actions-menu.template.ts",
|
|
2474
2524
|
"declarations": [
|
|
2475
2525
|
{
|
|
2476
|
-
"kind": "
|
|
2477
|
-
"
|
|
2478
|
-
"
|
|
2479
|
-
"superclass": {
|
|
2480
|
-
"name": "FASTAccordion",
|
|
2481
|
-
"package": "@microsoft/fast-foundation"
|
|
2482
|
-
},
|
|
2483
|
-
"tagName": "%%prefix%%-accordion",
|
|
2484
|
-
"customElement": true,
|
|
2485
|
-
"attributes": [
|
|
2526
|
+
"kind": "function",
|
|
2527
|
+
"name": "menuTemplate",
|
|
2528
|
+
"parameters": [
|
|
2486
2529
|
{
|
|
2487
|
-
"name": "
|
|
2530
|
+
"name": "prefix",
|
|
2488
2531
|
"type": {
|
|
2489
|
-
"text": "
|
|
2490
|
-
},
|
|
2491
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2492
|
-
"fieldName": "expandmode",
|
|
2493
|
-
"inheritedFrom": {
|
|
2494
|
-
"name": "Accordion",
|
|
2495
|
-
"module": "src/accordion/accordion.ts"
|
|
2532
|
+
"text": "string"
|
|
2496
2533
|
}
|
|
2497
2534
|
}
|
|
2498
|
-
]
|
|
2535
|
+
]
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"kind": "function",
|
|
2539
|
+
"name": "singleOptionTemplate",
|
|
2540
|
+
"parameters": [
|
|
2541
|
+
{
|
|
2542
|
+
"name": "prefix",
|
|
2543
|
+
"type": {
|
|
2544
|
+
"text": "string"
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
]
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"kind": "variable",
|
|
2551
|
+
"name": "foundationActionsMenuTemplate",
|
|
2552
|
+
"type": {
|
|
2553
|
+
"text": "ViewTemplate<ActionsMenu>"
|
|
2554
|
+
},
|
|
2555
|
+
"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`"
|
|
2556
|
+
}
|
|
2557
|
+
],
|
|
2558
|
+
"exports": [
|
|
2559
|
+
{
|
|
2560
|
+
"kind": "js",
|
|
2561
|
+
"name": "menuTemplate",
|
|
2562
|
+
"declaration": {
|
|
2563
|
+
"name": "menuTemplate",
|
|
2564
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2567
|
+
{
|
|
2568
|
+
"kind": "js",
|
|
2569
|
+
"name": "singleOptionTemplate",
|
|
2570
|
+
"declaration": {
|
|
2571
|
+
"name": "singleOptionTemplate",
|
|
2572
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "js",
|
|
2577
|
+
"name": "foundationActionsMenuTemplate",
|
|
2578
|
+
"declaration": {
|
|
2579
|
+
"name": "foundationActionsMenuTemplate",
|
|
2580
|
+
"module": "src/actions-menu/actions-menu.template.ts"
|
|
2581
|
+
}
|
|
2582
|
+
}
|
|
2583
|
+
]
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"kind": "javascript-module",
|
|
2587
|
+
"path": "src/actions-menu/actions-menu.ts",
|
|
2588
|
+
"declarations": [
|
|
2589
|
+
{
|
|
2590
|
+
"kind": "class",
|
|
2591
|
+
"description": "",
|
|
2592
|
+
"name": "ActionsMenu",
|
|
2499
2593
|
"members": [
|
|
2500
2594
|
{
|
|
2501
2595
|
"kind": "field",
|
|
2502
|
-
"name": "
|
|
2596
|
+
"name": "actions",
|
|
2503
2597
|
"type": {
|
|
2504
|
-
"text": "
|
|
2505
|
-
},
|
|
2506
|
-
"privacy": "public",
|
|
2507
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
2508
|
-
"inheritedFrom": {
|
|
2509
|
-
"name": "Accordion",
|
|
2510
|
-
"module": "src/accordion/accordion.ts"
|
|
2598
|
+
"text": "ActionMenuItem[]"
|
|
2511
2599
|
}
|
|
2512
2600
|
},
|
|
2513
2601
|
{
|
|
2514
2602
|
"kind": "field",
|
|
2515
|
-
"name": "
|
|
2603
|
+
"name": "isVertical",
|
|
2516
2604
|
"type": {
|
|
2517
|
-
"text": "
|
|
2605
|
+
"text": "boolean"
|
|
2518
2606
|
},
|
|
2519
|
-
"
|
|
2520
|
-
"inheritedFrom": {
|
|
2521
|
-
"name": "Accordion",
|
|
2522
|
-
"module": "src/accordion/accordion.ts"
|
|
2523
|
-
}
|
|
2607
|
+
"default": "false"
|
|
2524
2608
|
},
|
|
2525
2609
|
{
|
|
2526
2610
|
"kind": "field",
|
|
2527
|
-
"name": "
|
|
2611
|
+
"name": "addDefaultActions",
|
|
2528
2612
|
"type": {
|
|
2529
|
-
"text": "
|
|
2613
|
+
"text": "boolean"
|
|
2530
2614
|
},
|
|
2531
|
-
"
|
|
2532
|
-
"default": "0",
|
|
2533
|
-
"inheritedFrom": {
|
|
2534
|
-
"name": "Accordion",
|
|
2535
|
-
"module": "src/accordion/accordion.ts"
|
|
2536
|
-
}
|
|
2615
|
+
"default": "true"
|
|
2537
2616
|
},
|
|
2538
2617
|
{
|
|
2539
2618
|
"kind": "field",
|
|
2540
|
-
"name": "
|
|
2619
|
+
"name": "autoCloseOnAction",
|
|
2541
2620
|
"type": {
|
|
2542
|
-
"text": "
|
|
2621
|
+
"text": "boolean"
|
|
2543
2622
|
},
|
|
2544
|
-
"
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2623
|
+
"default": "true"
|
|
2624
|
+
},
|
|
2625
|
+
{
|
|
2626
|
+
"kind": "field",
|
|
2627
|
+
"name": "classNames",
|
|
2628
|
+
"type": {
|
|
2629
|
+
"text": "string"
|
|
2548
2630
|
}
|
|
2549
2631
|
},
|
|
2550
2632
|
{
|
|
2551
2633
|
"kind": "field",
|
|
2552
|
-
"name": "
|
|
2553
|
-
"
|
|
2554
|
-
|
|
2555
|
-
"name": "Accordion",
|
|
2556
|
-
"module": "src/accordion/accordion.ts"
|
|
2634
|
+
"name": "definition",
|
|
2635
|
+
"type": {
|
|
2636
|
+
"text": "any"
|
|
2557
2637
|
}
|
|
2558
2638
|
},
|
|
2559
2639
|
{
|
|
2560
|
-
"kind": "
|
|
2561
|
-
"name": "
|
|
2562
|
-
"
|
|
2563
|
-
|
|
2564
|
-
"type": {
|
|
2565
|
-
"text": "AccordionItem | null"
|
|
2566
|
-
}
|
|
2640
|
+
"kind": "field",
|
|
2641
|
+
"name": "name",
|
|
2642
|
+
"type": {
|
|
2643
|
+
"text": "string"
|
|
2567
2644
|
},
|
|
2568
|
-
"
|
|
2569
|
-
"name": "Accordion",
|
|
2570
|
-
"module": "src/accordion/accordion.ts"
|
|
2571
|
-
}
|
|
2645
|
+
"default": "'Actions'"
|
|
2572
2646
|
},
|
|
2573
2647
|
{
|
|
2574
2648
|
"kind": "field",
|
|
2575
|
-
"name": "
|
|
2576
|
-
"
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2649
|
+
"name": "open",
|
|
2650
|
+
"type": {
|
|
2651
|
+
"text": "boolean"
|
|
2652
|
+
},
|
|
2653
|
+
"default": "false"
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"kind": "field",
|
|
2657
|
+
"name": "buttonAppearance",
|
|
2658
|
+
"type": {
|
|
2659
|
+
"text": "string"
|
|
2580
2660
|
}
|
|
2581
2661
|
},
|
|
2582
2662
|
{
|
|
2583
|
-
"kind": "
|
|
2584
|
-
"name": "
|
|
2585
|
-
"
|
|
2586
|
-
|
|
2587
|
-
"type": {
|
|
2588
|
-
"text": "void"
|
|
2589
|
-
}
|
|
2663
|
+
"kind": "field",
|
|
2664
|
+
"name": "hideDisabled",
|
|
2665
|
+
"type": {
|
|
2666
|
+
"text": "boolean"
|
|
2590
2667
|
},
|
|
2591
|
-
"
|
|
2592
|
-
"name": "Accordion",
|
|
2593
|
-
"module": "src/accordion/accordion.ts"
|
|
2594
|
-
}
|
|
2668
|
+
"default": "false"
|
|
2595
2669
|
},
|
|
2596
2670
|
{
|
|
2597
2671
|
"kind": "field",
|
|
2598
|
-
"name": "
|
|
2599
|
-
"
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2672
|
+
"name": "hideMenuSingleOption",
|
|
2673
|
+
"type": {
|
|
2674
|
+
"text": "boolean"
|
|
2675
|
+
},
|
|
2676
|
+
"default": "false"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "field",
|
|
2680
|
+
"name": "singleOption",
|
|
2681
|
+
"type": {
|
|
2682
|
+
"text": "ActionMenuItem"
|
|
2603
2683
|
}
|
|
2604
2684
|
},
|
|
2605
2685
|
{
|
|
2606
2686
|
"kind": "field",
|
|
2607
|
-
"name": "
|
|
2608
|
-
"
|
|
2609
|
-
|
|
2610
|
-
"name": "Accordion",
|
|
2611
|
-
"module": "src/accordion/accordion.ts"
|
|
2687
|
+
"name": "actionsMenu",
|
|
2688
|
+
"type": {
|
|
2689
|
+
"text": "HTMLElement"
|
|
2612
2690
|
}
|
|
2613
2691
|
},
|
|
2614
2692
|
{
|
|
2615
2693
|
"kind": "method",
|
|
2616
|
-
"name": "
|
|
2617
|
-
"privacy": "
|
|
2618
|
-
"
|
|
2619
|
-
|
|
2620
|
-
"
|
|
2694
|
+
"name": "definitionChanged",
|
|
2695
|
+
"privacy": "protected",
|
|
2696
|
+
"parameters": [
|
|
2697
|
+
{
|
|
2698
|
+
"name": "oldValue",
|
|
2699
|
+
"type": {
|
|
2700
|
+
"text": "any"
|
|
2701
|
+
}
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "newValue",
|
|
2705
|
+
"type": {
|
|
2706
|
+
"text": "any"
|
|
2707
|
+
}
|
|
2621
2708
|
}
|
|
2622
|
-
|
|
2623
|
-
"inheritedFrom": {
|
|
2624
|
-
"name": "Accordion",
|
|
2625
|
-
"module": "src/accordion/accordion.ts"
|
|
2626
|
-
}
|
|
2709
|
+
]
|
|
2627
2710
|
},
|
|
2628
2711
|
{
|
|
2629
2712
|
"kind": "method",
|
|
2630
|
-
"name": "
|
|
2631
|
-
"privacy": "
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2713
|
+
"name": "openChanged",
|
|
2714
|
+
"privacy": "protected"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "method",
|
|
2718
|
+
"name": "toggleActionsMenuVisibility"
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "method",
|
|
2722
|
+
"name": "onActionMenuItemClick",
|
|
2723
|
+
"parameters": [
|
|
2724
|
+
{
|
|
2725
|
+
"name": "callback",
|
|
2726
|
+
"type": {
|
|
2727
|
+
"text": "(rowData) => void | any"
|
|
2728
|
+
}
|
|
2635
2729
|
}
|
|
2636
|
-
|
|
2637
|
-
"inheritedFrom": {
|
|
2638
|
-
"name": "Accordion",
|
|
2639
|
-
"module": "src/accordion/accordion.ts"
|
|
2640
|
-
}
|
|
2730
|
+
]
|
|
2641
2731
|
},
|
|
2642
2732
|
{
|
|
2643
2733
|
"kind": "field",
|
|
2644
|
-
"name": "
|
|
2645
|
-
"
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
}
|
|
2734
|
+
"name": "allActions",
|
|
2735
|
+
"type": {
|
|
2736
|
+
"text": "ActionMenuItem[]"
|
|
2737
|
+
},
|
|
2738
|
+
"readonly": true
|
|
2650
2739
|
},
|
|
2651
2740
|
{
|
|
2652
2741
|
"kind": "field",
|
|
2653
|
-
"name": "
|
|
2654
|
-
"
|
|
2655
|
-
"inheritedFrom": {
|
|
2656
|
-
"name": "Accordion",
|
|
2657
|
-
"module": "src/accordion/accordion.ts"
|
|
2658
|
-
}
|
|
2742
|
+
"name": "rowData",
|
|
2743
|
+
"readonly": true
|
|
2659
2744
|
},
|
|
2660
2745
|
{
|
|
2661
2746
|
"kind": "method",
|
|
2662
|
-
"name": "
|
|
2663
|
-
"privacy": "private",
|
|
2664
|
-
"return": {
|
|
2665
|
-
"type": {
|
|
2666
|
-
"text": "void"
|
|
2667
|
-
}
|
|
2668
|
-
},
|
|
2747
|
+
"name": "getLabel",
|
|
2669
2748
|
"parameters": [
|
|
2670
2749
|
{
|
|
2671
|
-
"name": "
|
|
2750
|
+
"name": "name",
|
|
2672
2751
|
"type": {
|
|
2673
|
-
"text": "
|
|
2752
|
+
"text": "string | ((rowData: any) => string)"
|
|
2674
2753
|
}
|
|
2675
2754
|
}
|
|
2676
|
-
]
|
|
2677
|
-
"inheritedFrom": {
|
|
2678
|
-
"name": "Accordion",
|
|
2679
|
-
"module": "src/accordion/accordion.ts"
|
|
2680
|
-
}
|
|
2755
|
+
]
|
|
2681
2756
|
},
|
|
2682
2757
|
{
|
|
2683
2758
|
"kind": "method",
|
|
2684
|
-
"name": "
|
|
2685
|
-
"
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
"
|
|
2759
|
+
"name": "getTemplate",
|
|
2760
|
+
"parameters": [
|
|
2761
|
+
{
|
|
2762
|
+
"name": "prefix",
|
|
2763
|
+
"type": {
|
|
2764
|
+
"text": "string"
|
|
2765
|
+
}
|
|
2689
2766
|
}
|
|
2690
|
-
|
|
2691
|
-
"inheritedFrom": {
|
|
2692
|
-
"name": "Accordion",
|
|
2693
|
-
"module": "src/accordion/accordion.ts"
|
|
2694
|
-
}
|
|
2767
|
+
]
|
|
2695
2768
|
},
|
|
2696
2769
|
{
|
|
2697
2770
|
"kind": "field",
|
|
@@ -2805,78 +2878,107 @@
|
|
|
2805
2878
|
}
|
|
2806
2879
|
}
|
|
2807
2880
|
],
|
|
2808
|
-
"
|
|
2881
|
+
"attributes": [
|
|
2809
2882
|
{
|
|
2810
|
-
"
|
|
2811
|
-
"
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2883
|
+
"name": "is-vertical",
|
|
2884
|
+
"type": {
|
|
2885
|
+
"text": "boolean"
|
|
2886
|
+
},
|
|
2887
|
+
"default": "false",
|
|
2888
|
+
"fieldName": "isVertical"
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "add-default-actions",
|
|
2892
|
+
"type": {
|
|
2893
|
+
"text": "boolean"
|
|
2894
|
+
},
|
|
2895
|
+
"default": "true",
|
|
2896
|
+
"fieldName": "addDefaultActions"
|
|
2897
|
+
},
|
|
2898
|
+
{
|
|
2899
|
+
"name": "auto-close-on-action",
|
|
2900
|
+
"type": {
|
|
2901
|
+
"text": "boolean"
|
|
2902
|
+
},
|
|
2903
|
+
"default": "true",
|
|
2904
|
+
"fieldName": "autoCloseOnAction"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "name",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"default": "'Actions'",
|
|
2912
|
+
"fieldName": "name"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "open",
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "boolean"
|
|
2918
|
+
},
|
|
2919
|
+
"default": "false",
|
|
2920
|
+
"fieldName": "open"
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"name": "buttonAppearance",
|
|
2924
|
+
"type": {
|
|
2925
|
+
"text": "string"
|
|
2926
|
+
},
|
|
2927
|
+
"fieldName": "buttonAppearance"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
"name": "hide-disabled",
|
|
2931
|
+
"type": {
|
|
2932
|
+
"text": "boolean"
|
|
2933
|
+
},
|
|
2934
|
+
"default": "false",
|
|
2935
|
+
"fieldName": "hideDisabled"
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"name": "hide-menu-single-option",
|
|
2939
|
+
"type": {
|
|
2940
|
+
"text": "boolean"
|
|
2941
|
+
},
|
|
2942
|
+
"default": "false",
|
|
2943
|
+
"fieldName": "hideMenuSingleOption"
|
|
2816
2944
|
}
|
|
2817
|
-
]
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
"name": "foundationAccordionShadowOptions",
|
|
2822
|
-
"type": {
|
|
2823
|
-
"text": "ShadowRootInit"
|
|
2824
|
-
},
|
|
2825
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
"kind": "variable",
|
|
2829
|
-
"name": "defaultAccordionConfig",
|
|
2830
|
-
"type": {
|
|
2831
|
-
"text": "object"
|
|
2945
|
+
],
|
|
2946
|
+
"superclass": {
|
|
2947
|
+
"name": "FoundationElement",
|
|
2948
|
+
"package": "@microsoft/fast-foundation"
|
|
2832
2949
|
},
|
|
2833
|
-
"
|
|
2950
|
+
"tagName": "%%prefix%%-actions-menu",
|
|
2951
|
+
"customElement": true
|
|
2834
2952
|
},
|
|
2835
2953
|
{
|
|
2836
2954
|
"kind": "variable",
|
|
2837
|
-
"name": "
|
|
2838
|
-
"description": "The Foundation
|
|
2955
|
+
"name": "foundationActionsMenu",
|
|
2956
|
+
"description": "The Foundation Actions Menu",
|
|
2839
2957
|
"privacy": "public"
|
|
2840
2958
|
}
|
|
2841
2959
|
],
|
|
2842
2960
|
"exports": [
|
|
2843
2961
|
{
|
|
2844
2962
|
"kind": "js",
|
|
2845
|
-
"name": "
|
|
2846
|
-
"declaration": {
|
|
2847
|
-
"name": "Accordion",
|
|
2848
|
-
"module": "src/accordion/accordion.ts"
|
|
2849
|
-
}
|
|
2850
|
-
},
|
|
2851
|
-
{
|
|
2852
|
-
"kind": "js",
|
|
2853
|
-
"name": "foundationAccordionShadowOptions",
|
|
2854
|
-
"declaration": {
|
|
2855
|
-
"name": "foundationAccordionShadowOptions",
|
|
2856
|
-
"module": "src/accordion/accordion.ts"
|
|
2857
|
-
}
|
|
2858
|
-
},
|
|
2859
|
-
{
|
|
2860
|
-
"kind": "js",
|
|
2861
|
-
"name": "defaultAccordionConfig",
|
|
2963
|
+
"name": "ActionsMenu",
|
|
2862
2964
|
"declaration": {
|
|
2863
|
-
"name": "
|
|
2864
|
-
"module": "src/
|
|
2965
|
+
"name": "ActionsMenu",
|
|
2966
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2865
2967
|
}
|
|
2866
2968
|
},
|
|
2867
2969
|
{
|
|
2868
2970
|
"kind": "js",
|
|
2869
|
-
"name": "
|
|
2971
|
+
"name": "foundationActionsMenu",
|
|
2870
2972
|
"declaration": {
|
|
2871
|
-
"name": "
|
|
2872
|
-
"module": "src/
|
|
2973
|
+
"name": "foundationActionsMenu",
|
|
2974
|
+
"module": "src/actions-menu/actions-menu.ts"
|
|
2873
2975
|
}
|
|
2874
2976
|
}
|
|
2875
2977
|
]
|
|
2876
2978
|
},
|
|
2877
2979
|
{
|
|
2878
2980
|
"kind": "javascript-module",
|
|
2879
|
-
"path": "src/
|
|
2981
|
+
"path": "src/actions-menu/index.ts",
|
|
2880
2982
|
"declarations": [],
|
|
2881
2983
|
"exports": [
|
|
2882
2984
|
{
|
|
@@ -2884,7 +2986,7 @@
|
|
|
2884
2986
|
"name": "*",
|
|
2885
2987
|
"declaration": {
|
|
2886
2988
|
"name": "*",
|
|
2887
|
-
"package": "./
|
|
2989
|
+
"package": "./actions-menu.styles"
|
|
2888
2990
|
}
|
|
2889
2991
|
},
|
|
2890
2992
|
{
|
|
@@ -2892,7 +2994,7 @@
|
|
|
2892
2994
|
"name": "*",
|
|
2893
2995
|
"declaration": {
|
|
2894
2996
|
"name": "*",
|
|
2895
|
-
"package": "./
|
|
2997
|
+
"package": "./actions-menu.template"
|
|
2896
2998
|
}
|
|
2897
2999
|
},
|
|
2898
3000
|
{
|
|
@@ -2900,64 +3002,82 @@
|
|
|
2900
3002
|
"name": "*",
|
|
2901
3003
|
"declaration": {
|
|
2902
3004
|
"name": "*",
|
|
2903
|
-
"package": "./
|
|
3005
|
+
"package": "./actions-menu"
|
|
2904
3006
|
}
|
|
2905
3007
|
}
|
|
2906
3008
|
]
|
|
2907
3009
|
},
|
|
2908
3010
|
{
|
|
2909
3011
|
"kind": "javascript-module",
|
|
2910
|
-
"path": "src/ai-
|
|
3012
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
2911
3013
|
"declarations": [
|
|
2912
3014
|
{
|
|
2913
|
-
"kind": "
|
|
2914
|
-
"name": "
|
|
2915
|
-
"
|
|
3015
|
+
"kind": "function",
|
|
3016
|
+
"name": "foundationAiIndicatorStyles",
|
|
3017
|
+
"return": {
|
|
3018
|
+
"type": {
|
|
3019
|
+
"text": "ElementStyles"
|
|
3020
|
+
}
|
|
3021
|
+
},
|
|
3022
|
+
"parameters": [
|
|
3023
|
+
{
|
|
3024
|
+
"name": "context",
|
|
3025
|
+
"type": {
|
|
3026
|
+
"text": "ElementDefinitionContext"
|
|
3027
|
+
}
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
"name": "definition",
|
|
3031
|
+
"type": {
|
|
3032
|
+
"text": "FoundationElementDefinition"
|
|
3033
|
+
}
|
|
3034
|
+
}
|
|
3035
|
+
]
|
|
2916
3036
|
}
|
|
2917
3037
|
],
|
|
2918
3038
|
"exports": [
|
|
2919
3039
|
{
|
|
2920
3040
|
"kind": "js",
|
|
2921
|
-
"name": "
|
|
3041
|
+
"name": "foundationAiIndicatorStyles",
|
|
2922
3042
|
"declaration": {
|
|
2923
|
-
"name": "
|
|
2924
|
-
"module": "src/ai-
|
|
3043
|
+
"name": "foundationAiIndicatorStyles",
|
|
3044
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
2925
3045
|
}
|
|
2926
3046
|
}
|
|
2927
3047
|
]
|
|
2928
3048
|
},
|
|
2929
3049
|
{
|
|
2930
3050
|
"kind": "javascript-module",
|
|
2931
|
-
"path": "src/ai-
|
|
3051
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
2932
3052
|
"declarations": [
|
|
2933
3053
|
{
|
|
2934
3054
|
"kind": "variable",
|
|
2935
|
-
"name": "
|
|
3055
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2936
3056
|
"type": {
|
|
2937
|
-
"text": "ViewTemplate<
|
|
3057
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
2938
3058
|
},
|
|
2939
|
-
"default": "html`\n ${(x) =>
|
|
3059
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
2940
3060
|
}
|
|
2941
3061
|
],
|
|
2942
3062
|
"exports": [
|
|
2943
3063
|
{
|
|
2944
3064
|
"kind": "js",
|
|
2945
|
-
"name": "
|
|
3065
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2946
3066
|
"declaration": {
|
|
2947
|
-
"name": "
|
|
2948
|
-
"module": "src/ai-
|
|
3067
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3068
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
2949
3069
|
}
|
|
2950
3070
|
}
|
|
2951
3071
|
]
|
|
2952
3072
|
},
|
|
2953
3073
|
{
|
|
2954
3074
|
"kind": "javascript-module",
|
|
2955
|
-
"path": "src/ai-
|
|
3075
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
2956
3076
|
"declarations": [
|
|
2957
3077
|
{
|
|
2958
3078
|
"kind": "class",
|
|
2959
|
-
"description": "
|
|
2960
|
-
"name": "
|
|
3079
|
+
"description": "",
|
|
3080
|
+
"name": "AiIndicator",
|
|
2961
3081
|
"members": [
|
|
2962
3082
|
{
|
|
2963
3083
|
"kind": "field",
|
|
@@ -2968,54 +3088,25 @@
|
|
|
2968
3088
|
},
|
|
2969
3089
|
{
|
|
2970
3090
|
"kind": "field",
|
|
2971
|
-
"name": "
|
|
2972
|
-
"type": {
|
|
2973
|
-
"text": "string"
|
|
2974
|
-
},
|
|
2975
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2976
|
-
},
|
|
2977
|
-
{
|
|
2978
|
-
"kind": "field",
|
|
2979
|
-
"name": "disabled",
|
|
2980
|
-
"type": {
|
|
2981
|
-
"text": "boolean"
|
|
2982
|
-
}
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "inputValue",
|
|
2987
|
-
"type": {
|
|
2988
|
-
"text": "string"
|
|
2989
|
-
},
|
|
2990
|
-
"default": "''"
|
|
2991
|
-
},
|
|
2992
|
-
{
|
|
2993
|
-
"kind": "field",
|
|
2994
|
-
"name": "isInterpreting",
|
|
3091
|
+
"name": "aiProvider",
|
|
2995
3092
|
"type": {
|
|
2996
|
-
"text": "
|
|
3093
|
+
"text": "AIProvider | undefined"
|
|
2997
3094
|
},
|
|
2998
|
-
"
|
|
3095
|
+
"privacy": "private",
|
|
3096
|
+
"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.",
|
|
3097
|
+
"readonly": true
|
|
2999
3098
|
},
|
|
3000
3099
|
{
|
|
3001
3100
|
"kind": "field",
|
|
3002
|
-
"name": "
|
|
3101
|
+
"name": "status",
|
|
3003
3102
|
"type": {
|
|
3004
|
-
"text": "
|
|
3103
|
+
"text": "AIStatus | null"
|
|
3005
3104
|
},
|
|
3006
3105
|
"default": "null"
|
|
3007
3106
|
},
|
|
3008
3107
|
{
|
|
3009
3108
|
"kind": "field",
|
|
3010
|
-
"name": "
|
|
3011
|
-
"type": {
|
|
3012
|
-
"text": "CriteriaGroup[]"
|
|
3013
|
-
},
|
|
3014
|
-
"default": "[]"
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"kind": "field",
|
|
3018
|
-
"name": "showingChips",
|
|
3109
|
+
"name": "open",
|
|
3019
3110
|
"type": {
|
|
3020
3111
|
"text": "boolean"
|
|
3021
3112
|
},
|
|
@@ -3023,15 +3114,15 @@
|
|
|
3023
3114
|
},
|
|
3024
3115
|
{
|
|
3025
3116
|
"kind": "field",
|
|
3026
|
-
"name": "
|
|
3117
|
+
"name": "state",
|
|
3027
3118
|
"type": {
|
|
3028
|
-
"text": "
|
|
3119
|
+
"text": "AIIndicatorState"
|
|
3029
3120
|
},
|
|
3030
|
-
"default": "
|
|
3121
|
+
"default": "'none'"
|
|
3031
3122
|
},
|
|
3032
3123
|
{
|
|
3033
3124
|
"kind": "field",
|
|
3034
|
-
"name": "
|
|
3125
|
+
"name": "isInstalling",
|
|
3035
3126
|
"type": {
|
|
3036
3127
|
"text": "boolean"
|
|
3037
3128
|
},
|
|
@@ -3039,33 +3130,29 @@
|
|
|
3039
3130
|
},
|
|
3040
3131
|
{
|
|
3041
3132
|
"kind": "field",
|
|
3042
|
-
"name": "
|
|
3133
|
+
"name": "pollTimer",
|
|
3043
3134
|
"type": {
|
|
3044
|
-
"text": "
|
|
3135
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3045
3136
|
},
|
|
3046
|
-
"privacy": "
|
|
3137
|
+
"privacy": "private",
|
|
3138
|
+
"default": "null"
|
|
3047
3139
|
},
|
|
3048
3140
|
{
|
|
3049
3141
|
"kind": "field",
|
|
3050
|
-
"name": "
|
|
3051
|
-
"
|
|
3052
|
-
"text": "(() => void) | null"
|
|
3053
|
-
},
|
|
3054
|
-
"privacy": "private",
|
|
3055
|
-
"default": "null"
|
|
3142
|
+
"name": "clickOutside",
|
|
3143
|
+
"privacy": "private"
|
|
3056
3144
|
},
|
|
3057
3145
|
{
|
|
3058
3146
|
"kind": "field",
|
|
3059
|
-
"name": "
|
|
3147
|
+
"name": "chromeStatusLabel",
|
|
3060
3148
|
"type": {
|
|
3061
|
-
"text": "
|
|
3149
|
+
"text": "string | null"
|
|
3062
3150
|
},
|
|
3063
|
-
"
|
|
3064
|
-
"default": "null"
|
|
3151
|
+
"readonly": true
|
|
3065
3152
|
},
|
|
3066
3153
|
{
|
|
3067
3154
|
"kind": "field",
|
|
3068
|
-
"name": "
|
|
3155
|
+
"name": "canInstall",
|
|
3069
3156
|
"type": {
|
|
3070
3157
|
"text": "boolean"
|
|
3071
3158
|
},
|
|
@@ -3073,65 +3160,69 @@
|
|
|
3073
3160
|
},
|
|
3074
3161
|
{
|
|
3075
3162
|
"kind": "field",
|
|
3076
|
-
"name": "
|
|
3163
|
+
"name": "isDownloading",
|
|
3077
3164
|
"type": {
|
|
3078
|
-
"text": "
|
|
3165
|
+
"text": "boolean"
|
|
3079
3166
|
},
|
|
3080
3167
|
"readonly": true
|
|
3081
3168
|
},
|
|
3082
3169
|
{
|
|
3083
3170
|
"kind": "method",
|
|
3084
|
-
"name": "
|
|
3085
|
-
"privacy": "private",
|
|
3171
|
+
"name": "openChanged",
|
|
3086
3172
|
"return": {
|
|
3087
3173
|
"type": {
|
|
3088
|
-
"text": "
|
|
3174
|
+
"text": "void"
|
|
3089
3175
|
}
|
|
3090
|
-
}
|
|
3176
|
+
}
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"kind": "method",
|
|
3180
|
+
"name": "handleClickOutside",
|
|
3181
|
+
"privacy": "private",
|
|
3091
3182
|
"parameters": [
|
|
3092
3183
|
{
|
|
3093
|
-
"name": "
|
|
3184
|
+
"name": "event",
|
|
3094
3185
|
"type": {
|
|
3095
|
-
"text": "
|
|
3186
|
+
"text": "MouseEvent"
|
|
3096
3187
|
}
|
|
3097
3188
|
}
|
|
3098
3189
|
]
|
|
3099
3190
|
},
|
|
3100
3191
|
{
|
|
3101
3192
|
"kind": "method",
|
|
3102
|
-
"name": "
|
|
3193
|
+
"name": "toggleDropdown"
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
"kind": "method",
|
|
3197
|
+
"name": "refreshStatus",
|
|
3103
3198
|
"return": {
|
|
3104
3199
|
"type": {
|
|
3105
|
-
"text": "void"
|
|
3200
|
+
"text": "Promise<void>"
|
|
3106
3201
|
}
|
|
3107
3202
|
}
|
|
3108
3203
|
},
|
|
3109
3204
|
{
|
|
3110
3205
|
"kind": "method",
|
|
3111
|
-
"name": "
|
|
3206
|
+
"name": "deriveState",
|
|
3207
|
+
"privacy": "private",
|
|
3112
3208
|
"return": {
|
|
3113
3209
|
"type": {
|
|
3114
|
-
"text": "
|
|
3210
|
+
"text": "AIIndicatorState"
|
|
3115
3211
|
}
|
|
3116
3212
|
},
|
|
3117
3213
|
"parameters": [
|
|
3118
3214
|
{
|
|
3119
|
-
"name": "
|
|
3120
|
-
"type": {
|
|
3121
|
-
"text": "number"
|
|
3122
|
-
}
|
|
3123
|
-
},
|
|
3124
|
-
{
|
|
3125
|
-
"name": "clauseIndex",
|
|
3215
|
+
"name": "s",
|
|
3126
3216
|
"type": {
|
|
3127
|
-
"text": "
|
|
3217
|
+
"text": "AIStatus | null"
|
|
3128
3218
|
}
|
|
3129
3219
|
}
|
|
3130
3220
|
]
|
|
3131
3221
|
},
|
|
3132
3222
|
{
|
|
3133
3223
|
"kind": "method",
|
|
3134
|
-
"name": "
|
|
3224
|
+
"name": "maybeStartPolling",
|
|
3225
|
+
"privacy": "private",
|
|
3135
3226
|
"return": {
|
|
3136
3227
|
"type": {
|
|
3137
3228
|
"text": "void"
|
|
@@ -3140,24 +3231,32 @@
|
|
|
3140
3231
|
},
|
|
3141
3232
|
{
|
|
3142
3233
|
"kind": "method",
|
|
3143
|
-
"name": "
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
"kind": "method",
|
|
3151
|
-
"name": "clear"
|
|
3234
|
+
"name": "startPolling",
|
|
3235
|
+
"privacy": "private",
|
|
3236
|
+
"return": {
|
|
3237
|
+
"type": {
|
|
3238
|
+
"text": "void"
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3152
3241
|
},
|
|
3153
3242
|
{
|
|
3154
3243
|
"kind": "method",
|
|
3155
|
-
"name": "
|
|
3244
|
+
"name": "stopPolling",
|
|
3245
|
+
"privacy": "private",
|
|
3246
|
+
"return": {
|
|
3247
|
+
"type": {
|
|
3248
|
+
"text": "void"
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3156
3251
|
},
|
|
3157
3252
|
{
|
|
3158
3253
|
"kind": "method",
|
|
3159
|
-
"name": "
|
|
3160
|
-
"
|
|
3254
|
+
"name": "onInstall",
|
|
3255
|
+
"return": {
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "Promise<void>"
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3161
3260
|
},
|
|
3162
3261
|
{
|
|
3163
3262
|
"kind": "field",
|
|
@@ -3271,259 +3370,141 @@
|
|
|
3271
3370
|
}
|
|
3272
3371
|
}
|
|
3273
3372
|
],
|
|
3274
|
-
"events": [
|
|
3275
|
-
{
|
|
3276
|
-
"description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
|
|
3277
|
-
"name": "criteria-changed"
|
|
3278
|
-
},
|
|
3279
|
-
{
|
|
3280
|
-
"description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
|
|
3281
|
-
"name": "validation-errors"
|
|
3282
|
-
}
|
|
3283
|
-
],
|
|
3284
|
-
"attributes": [
|
|
3285
|
-
{
|
|
3286
|
-
"name": "placeholder",
|
|
3287
|
-
"type": {
|
|
3288
|
-
"text": "string"
|
|
3289
|
-
},
|
|
3290
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3291
|
-
"fieldName": "placeholder"
|
|
3292
|
-
},
|
|
3293
|
-
{
|
|
3294
|
-
"type": {
|
|
3295
|
-
"text": "boolean"
|
|
3296
|
-
},
|
|
3297
|
-
"fieldName": "disabled"
|
|
3298
|
-
}
|
|
3299
|
-
],
|
|
3300
3373
|
"superclass": {
|
|
3301
|
-
"name": "FoundationElement",
|
|
3302
|
-
"package": "@microsoft/fast-foundation"
|
|
3303
|
-
},
|
|
3304
|
-
"tagName": "%%prefix%%-ai-
|
|
3305
|
-
"customElement": true
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"kind": "variable",
|
|
3309
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3310
|
-
"type": {
|
|
3311
|
-
"text": "ShadowRootInit"
|
|
3312
|
-
},
|
|
3313
|
-
"default": "undefined"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "variable",
|
|
3317
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3318
|
-
"type": {
|
|
3319
|
-
"text": "object"
|
|
3320
|
-
},
|
|
3321
|
-
"default": "{}"
|
|
3322
|
-
},
|
|
3323
|
-
{
|
|
3324
|
-
"kind": "variable",
|
|
3325
|
-
"name": "foundationAiCriteriaSearch"
|
|
3326
|
-
}
|
|
3327
|
-
],
|
|
3328
|
-
"exports": [
|
|
3329
|
-
{
|
|
3330
|
-
"kind": "js",
|
|
3331
|
-
"name": "AiCriteriaSearch",
|
|
3332
|
-
"declaration": {
|
|
3333
|
-
"name": "AiCriteriaSearch",
|
|
3334
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3335
|
-
}
|
|
3336
|
-
},
|
|
3337
|
-
{
|
|
3338
|
-
"kind": "js",
|
|
3339
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3340
|
-
"declaration": {
|
|
3341
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3342
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3343
|
-
}
|
|
3374
|
+
"name": "FoundationElement",
|
|
3375
|
+
"package": "@microsoft/fast-foundation"
|
|
3376
|
+
},
|
|
3377
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
3378
|
+
"customElement": true
|
|
3344
3379
|
},
|
|
3380
|
+
{
|
|
3381
|
+
"kind": "variable",
|
|
3382
|
+
"name": "foundationAiIndicator"
|
|
3383
|
+
}
|
|
3384
|
+
],
|
|
3385
|
+
"exports": [
|
|
3345
3386
|
{
|
|
3346
3387
|
"kind": "js",
|
|
3347
|
-
"name": "
|
|
3388
|
+
"name": "AiIndicator",
|
|
3348
3389
|
"declaration": {
|
|
3349
|
-
"name": "
|
|
3350
|
-
"module": "src/ai-
|
|
3390
|
+
"name": "AiIndicator",
|
|
3391
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3351
3392
|
}
|
|
3352
3393
|
},
|
|
3353
3394
|
{
|
|
3354
3395
|
"kind": "js",
|
|
3355
|
-
"name": "
|
|
3396
|
+
"name": "foundationAiIndicator",
|
|
3356
3397
|
"declaration": {
|
|
3357
|
-
"name": "
|
|
3358
|
-
"module": "src/ai-
|
|
3398
|
+
"name": "foundationAiIndicator",
|
|
3399
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3359
3400
|
}
|
|
3360
3401
|
}
|
|
3361
3402
|
]
|
|
3362
3403
|
},
|
|
3363
3404
|
{
|
|
3364
3405
|
"kind": "javascript-module",
|
|
3365
|
-
"path": "src/ai-
|
|
3406
|
+
"path": "src/ai-indicator/index.ts",
|
|
3366
3407
|
"declarations": [],
|
|
3367
3408
|
"exports": [
|
|
3368
3409
|
{
|
|
3369
3410
|
"kind": "js",
|
|
3370
|
-
"name": "
|
|
3371
|
-
"declaration": {
|
|
3372
|
-
"name": "AiCriteriaSearch",
|
|
3373
|
-
"module": "./ai-criteria-search"
|
|
3374
|
-
}
|
|
3375
|
-
},
|
|
3376
|
-
{
|
|
3377
|
-
"kind": "js",
|
|
3378
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3379
|
-
"declaration": {
|
|
3380
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3381
|
-
"module": "./ai-criteria-search"
|
|
3382
|
-
}
|
|
3383
|
-
},
|
|
3384
|
-
{
|
|
3385
|
-
"kind": "js",
|
|
3386
|
-
"name": "foundationAiCriteriaSearch",
|
|
3387
|
-
"declaration": {
|
|
3388
|
-
"name": "foundationAiCriteriaSearch",
|
|
3389
|
-
"module": "./ai-criteria-search"
|
|
3390
|
-
}
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"kind": "js",
|
|
3394
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3411
|
+
"name": "AiIndicator",
|
|
3395
3412
|
"declaration": {
|
|
3396
|
-
"name": "
|
|
3397
|
-
"module": "./ai-
|
|
3413
|
+
"name": "AiIndicator",
|
|
3414
|
+
"module": "./ai-indicator"
|
|
3398
3415
|
}
|
|
3399
3416
|
},
|
|
3400
3417
|
{
|
|
3401
3418
|
"kind": "js",
|
|
3402
|
-
"name": "
|
|
3419
|
+
"name": "foundationAiIndicator",
|
|
3403
3420
|
"declaration": {
|
|
3404
|
-
"name": "
|
|
3405
|
-
"module": "./ai-
|
|
3421
|
+
"name": "foundationAiIndicator",
|
|
3422
|
+
"module": "./ai-indicator"
|
|
3406
3423
|
}
|
|
3407
3424
|
},
|
|
3408
3425
|
{
|
|
3409
3426
|
"kind": "js",
|
|
3410
|
-
"name": "
|
|
3427
|
+
"name": "type",
|
|
3411
3428
|
"declaration": {
|
|
3412
|
-
"name": "
|
|
3413
|
-
"module": "./ai-
|
|
3429
|
+
"name": "type",
|
|
3430
|
+
"module": "./ai-indicator"
|
|
3414
3431
|
}
|
|
3415
3432
|
},
|
|
3416
3433
|
{
|
|
3417
3434
|
"kind": "js",
|
|
3418
|
-
"name": "
|
|
3435
|
+
"name": "AIIndicatorState",
|
|
3419
3436
|
"declaration": {
|
|
3420
|
-
"name": "
|
|
3421
|
-
"
|
|
3437
|
+
"name": "AIIndicatorState",
|
|
3438
|
+
"module": "./ai-indicator"
|
|
3422
3439
|
}
|
|
3423
3440
|
},
|
|
3424
3441
|
{
|
|
3425
3442
|
"kind": "js",
|
|
3426
|
-
"name": "
|
|
3443
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3427
3444
|
"declaration": {
|
|
3428
|
-
"name": "
|
|
3429
|
-
"
|
|
3445
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3446
|
+
"module": "./ai-indicator.template"
|
|
3430
3447
|
}
|
|
3431
3448
|
},
|
|
3432
3449
|
{
|
|
3433
3450
|
"kind": "js",
|
|
3434
|
-
"name": "
|
|
3451
|
+
"name": "foundationAiIndicatorStyles",
|
|
3435
3452
|
"declaration": {
|
|
3436
|
-
"name": "
|
|
3437
|
-
"
|
|
3453
|
+
"name": "foundationAiIndicatorStyles",
|
|
3454
|
+
"module": "./ai-indicator.styles"
|
|
3438
3455
|
}
|
|
3439
3456
|
}
|
|
3440
3457
|
]
|
|
3441
3458
|
},
|
|
3442
3459
|
{
|
|
3443
3460
|
"kind": "javascript-module",
|
|
3444
|
-
"path": "src/
|
|
3461
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3445
3462
|
"declarations": [
|
|
3446
3463
|
{
|
|
3447
3464
|
"kind": "function",
|
|
3448
|
-
"name": "
|
|
3465
|
+
"name": "foundationAccordionStyles",
|
|
3449
3466
|
"return": {
|
|
3450
3467
|
"type": {
|
|
3451
|
-
"text": "
|
|
3468
|
+
"text": "ElementStyles"
|
|
3452
3469
|
}
|
|
3453
3470
|
},
|
|
3454
3471
|
"parameters": [
|
|
3455
3472
|
{
|
|
3456
|
-
"name": "
|
|
3473
|
+
"name": "context",
|
|
3457
3474
|
"type": {
|
|
3458
|
-
"text": "
|
|
3475
|
+
"text": "ElementDefinitionContext"
|
|
3459
3476
|
}
|
|
3460
|
-
}
|
|
3461
|
-
],
|
|
3462
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3463
|
-
},
|
|
3464
|
-
{
|
|
3465
|
-
"kind": "function",
|
|
3466
|
-
"name": "showCriteriaError",
|
|
3467
|
-
"return": {
|
|
3468
|
-
"type": {
|
|
3469
|
-
"text": "void"
|
|
3470
|
-
}
|
|
3471
|
-
},
|
|
3472
|
-
"parameters": [
|
|
3473
|
-
{
|
|
3474
|
-
"name": "title",
|
|
3475
|
-
"type": {
|
|
3476
|
-
"text": "string"
|
|
3477
|
-
},
|
|
3478
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3479
|
-
},
|
|
3480
|
-
{
|
|
3481
|
-
"name": "body",
|
|
3482
|
-
"type": {
|
|
3483
|
-
"text": "string"
|
|
3484
|
-
},
|
|
3485
|
-
"description": "Error message to display"
|
|
3486
3477
|
},
|
|
3487
3478
|
{
|
|
3488
|
-
"name": "
|
|
3479
|
+
"name": "definition",
|
|
3489
3480
|
"type": {
|
|
3490
|
-
"text": "
|
|
3491
|
-
}
|
|
3492
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3481
|
+
"text": "FoundationElementDefinition"
|
|
3482
|
+
}
|
|
3493
3483
|
}
|
|
3494
|
-
]
|
|
3495
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3484
|
+
]
|
|
3496
3485
|
}
|
|
3497
3486
|
],
|
|
3498
3487
|
"exports": [
|
|
3499
3488
|
{
|
|
3500
3489
|
"kind": "js",
|
|
3501
|
-
"name": "
|
|
3502
|
-
"declaration": {
|
|
3503
|
-
"name": "formatValidationErrors",
|
|
3504
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3505
|
-
}
|
|
3506
|
-
},
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "js",
|
|
3509
|
-
"name": "showCriteriaError",
|
|
3490
|
+
"name": "foundationAccordionStyles",
|
|
3510
3491
|
"declaration": {
|
|
3511
|
-
"name": "
|
|
3512
|
-
"module": "src/
|
|
3492
|
+
"name": "foundationAccordionStyles",
|
|
3493
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3513
3494
|
}
|
|
3514
3495
|
}
|
|
3515
3496
|
]
|
|
3516
3497
|
},
|
|
3517
3498
|
{
|
|
3518
3499
|
"kind": "javascript-module",
|
|
3519
|
-
"path": "src/
|
|
3500
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3520
3501
|
"declarations": [
|
|
3521
3502
|
{
|
|
3522
3503
|
"kind": "function",
|
|
3523
|
-
"name": "
|
|
3504
|
+
"name": "foundationAccordionTemplate",
|
|
3524
3505
|
"return": {
|
|
3525
3506
|
"type": {
|
|
3526
|
-
"text": "
|
|
3507
|
+
"text": "ViewTemplate<Accordion>"
|
|
3527
3508
|
}
|
|
3528
3509
|
},
|
|
3529
3510
|
"parameters": [
|
|
@@ -3545,224 +3526,237 @@
|
|
|
3545
3526
|
"exports": [
|
|
3546
3527
|
{
|
|
3547
3528
|
"kind": "js",
|
|
3548
|
-
"name": "
|
|
3549
|
-
"declaration": {
|
|
3550
|
-
"name": "foundationAiIndicatorStyles",
|
|
3551
|
-
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3552
|
-
}
|
|
3553
|
-
}
|
|
3554
|
-
]
|
|
3555
|
-
},
|
|
3556
|
-
{
|
|
3557
|
-
"kind": "javascript-module",
|
|
3558
|
-
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3559
|
-
"declarations": [
|
|
3560
|
-
{
|
|
3561
|
-
"kind": "variable",
|
|
3562
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3563
|
-
"type": {
|
|
3564
|
-
"text": "ViewTemplate<AiIndicator>"
|
|
3565
|
-
},
|
|
3566
|
-
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3567
|
-
}
|
|
3568
|
-
],
|
|
3569
|
-
"exports": [
|
|
3570
|
-
{
|
|
3571
|
-
"kind": "js",
|
|
3572
|
-
"name": "foundationAiIndicatorTemplate",
|
|
3529
|
+
"name": "foundationAccordionTemplate",
|
|
3573
3530
|
"declaration": {
|
|
3574
|
-
"name": "
|
|
3575
|
-
"module": "src/
|
|
3531
|
+
"name": "foundationAccordionTemplate",
|
|
3532
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3576
3533
|
}
|
|
3577
3534
|
}
|
|
3578
3535
|
]
|
|
3579
3536
|
},
|
|
3580
3537
|
{
|
|
3581
3538
|
"kind": "javascript-module",
|
|
3582
|
-
"path": "src/
|
|
3539
|
+
"path": "src/accordion/accordion.ts",
|
|
3583
3540
|
"declarations": [
|
|
3584
3541
|
{
|
|
3585
3542
|
"kind": "class",
|
|
3586
3543
|
"description": "",
|
|
3587
|
-
"name": "
|
|
3588
|
-
"
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
},
|
|
3596
|
-
{
|
|
3597
|
-
"kind": "field",
|
|
3598
|
-
"name": "aiProvider",
|
|
3599
|
-
"type": {
|
|
3600
|
-
"text": "AIProvider | undefined"
|
|
3601
|
-
},
|
|
3602
|
-
"privacy": "private",
|
|
3603
|
-
"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.",
|
|
3604
|
-
"readonly": true
|
|
3605
|
-
},
|
|
3544
|
+
"name": "Accordion",
|
|
3545
|
+
"superclass": {
|
|
3546
|
+
"name": "FASTAccordion",
|
|
3547
|
+
"package": "@microsoft/fast-foundation"
|
|
3548
|
+
},
|
|
3549
|
+
"tagName": "%%prefix%%-accordion",
|
|
3550
|
+
"customElement": true,
|
|
3551
|
+
"attributes": [
|
|
3606
3552
|
{
|
|
3607
|
-
"
|
|
3608
|
-
"name": "status",
|
|
3553
|
+
"name": "expand-mode",
|
|
3609
3554
|
"type": {
|
|
3610
|
-
"text": "
|
|
3555
|
+
"text": "AccordionExpandMode"
|
|
3611
3556
|
},
|
|
3612
|
-
"
|
|
3613
|
-
|
|
3557
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3558
|
+
"fieldName": "expandmode",
|
|
3559
|
+
"inheritedFrom": {
|
|
3560
|
+
"name": "Accordion",
|
|
3561
|
+
"module": "src/accordion/accordion.ts"
|
|
3562
|
+
}
|
|
3563
|
+
}
|
|
3564
|
+
],
|
|
3565
|
+
"members": [
|
|
3614
3566
|
{
|
|
3615
3567
|
"kind": "field",
|
|
3616
|
-
"name": "
|
|
3568
|
+
"name": "expandmode",
|
|
3617
3569
|
"type": {
|
|
3618
|
-
"text": "
|
|
3570
|
+
"text": "AccordionExpandMode"
|
|
3619
3571
|
},
|
|
3620
|
-
"
|
|
3572
|
+
"privacy": "public",
|
|
3573
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3574
|
+
"inheritedFrom": {
|
|
3575
|
+
"name": "Accordion",
|
|
3576
|
+
"module": "src/accordion/accordion.ts"
|
|
3577
|
+
}
|
|
3621
3578
|
},
|
|
3622
3579
|
{
|
|
3623
3580
|
"kind": "field",
|
|
3624
|
-
"name": "
|
|
3581
|
+
"name": "activeid",
|
|
3625
3582
|
"type": {
|
|
3626
|
-
"text": "
|
|
3583
|
+
"text": "string | null"
|
|
3627
3584
|
},
|
|
3628
|
-
"
|
|
3585
|
+
"privacy": "private",
|
|
3586
|
+
"inheritedFrom": {
|
|
3587
|
+
"name": "Accordion",
|
|
3588
|
+
"module": "src/accordion/accordion.ts"
|
|
3589
|
+
}
|
|
3629
3590
|
},
|
|
3630
3591
|
{
|
|
3631
3592
|
"kind": "field",
|
|
3632
|
-
"name": "
|
|
3593
|
+
"name": "activeItemIndex",
|
|
3633
3594
|
"type": {
|
|
3634
|
-
"text": "
|
|
3595
|
+
"text": "number"
|
|
3635
3596
|
},
|
|
3636
|
-
"
|
|
3597
|
+
"privacy": "private",
|
|
3598
|
+
"default": "0",
|
|
3599
|
+
"inheritedFrom": {
|
|
3600
|
+
"name": "Accordion",
|
|
3601
|
+
"module": "src/accordion/accordion.ts"
|
|
3602
|
+
}
|
|
3637
3603
|
},
|
|
3638
3604
|
{
|
|
3639
3605
|
"kind": "field",
|
|
3640
|
-
"name": "
|
|
3606
|
+
"name": "accordionIds",
|
|
3641
3607
|
"type": {
|
|
3642
|
-
"text": "
|
|
3608
|
+
"text": "Array<string | null>"
|
|
3643
3609
|
},
|
|
3644
3610
|
"privacy": "private",
|
|
3645
|
-
"
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
"name": "clickOutside",
|
|
3650
|
-
"privacy": "private"
|
|
3611
|
+
"inheritedFrom": {
|
|
3612
|
+
"name": "Accordion",
|
|
3613
|
+
"module": "src/accordion/accordion.ts"
|
|
3614
|
+
}
|
|
3651
3615
|
},
|
|
3652
3616
|
{
|
|
3653
3617
|
"kind": "field",
|
|
3654
|
-
"name": "
|
|
3655
|
-
"
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3618
|
+
"name": "change",
|
|
3619
|
+
"privacy": "private",
|
|
3620
|
+
"inheritedFrom": {
|
|
3621
|
+
"name": "Accordion",
|
|
3622
|
+
"module": "src/accordion/accordion.ts"
|
|
3623
|
+
}
|
|
3659
3624
|
},
|
|
3660
3625
|
{
|
|
3661
|
-
"kind": "
|
|
3662
|
-
"name": "
|
|
3663
|
-
"
|
|
3664
|
-
|
|
3626
|
+
"kind": "method",
|
|
3627
|
+
"name": "findExpandedItem",
|
|
3628
|
+
"privacy": "private",
|
|
3629
|
+
"return": {
|
|
3630
|
+
"type": {
|
|
3631
|
+
"text": "AccordionItem | null"
|
|
3632
|
+
}
|
|
3665
3633
|
},
|
|
3666
|
-
"
|
|
3634
|
+
"inheritedFrom": {
|
|
3635
|
+
"name": "Accordion",
|
|
3636
|
+
"module": "src/accordion/accordion.ts"
|
|
3637
|
+
}
|
|
3667
3638
|
},
|
|
3668
3639
|
{
|
|
3669
3640
|
"kind": "field",
|
|
3670
|
-
"name": "
|
|
3671
|
-
"
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3641
|
+
"name": "setItems",
|
|
3642
|
+
"privacy": "private",
|
|
3643
|
+
"inheritedFrom": {
|
|
3644
|
+
"name": "Accordion",
|
|
3645
|
+
"module": "src/accordion/accordion.ts"
|
|
3646
|
+
}
|
|
3675
3647
|
},
|
|
3676
3648
|
{
|
|
3677
3649
|
"kind": "method",
|
|
3678
|
-
"name": "
|
|
3650
|
+
"name": "resetItems",
|
|
3651
|
+
"privacy": "private",
|
|
3679
3652
|
"return": {
|
|
3680
3653
|
"type": {
|
|
3681
3654
|
"text": "void"
|
|
3682
3655
|
}
|
|
3656
|
+
},
|
|
3657
|
+
"inheritedFrom": {
|
|
3658
|
+
"name": "Accordion",
|
|
3659
|
+
"module": "src/accordion/accordion.ts"
|
|
3683
3660
|
}
|
|
3684
3661
|
},
|
|
3685
3662
|
{
|
|
3686
|
-
"kind": "
|
|
3687
|
-
"name": "
|
|
3663
|
+
"kind": "field",
|
|
3664
|
+
"name": "removeItemListeners",
|
|
3688
3665
|
"privacy": "private",
|
|
3689
|
-
"
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
"text": "MouseEvent"
|
|
3694
|
-
}
|
|
3695
|
-
}
|
|
3696
|
-
]
|
|
3666
|
+
"inheritedFrom": {
|
|
3667
|
+
"name": "Accordion",
|
|
3668
|
+
"module": "src/accordion/accordion.ts"
|
|
3669
|
+
}
|
|
3697
3670
|
},
|
|
3698
3671
|
{
|
|
3699
|
-
"kind": "
|
|
3700
|
-
"name": "
|
|
3672
|
+
"kind": "field",
|
|
3673
|
+
"name": "activeItemChange",
|
|
3674
|
+
"privacy": "private",
|
|
3675
|
+
"inheritedFrom": {
|
|
3676
|
+
"name": "Accordion",
|
|
3677
|
+
"module": "src/accordion/accordion.ts"
|
|
3678
|
+
}
|
|
3701
3679
|
},
|
|
3702
3680
|
{
|
|
3703
3681
|
"kind": "method",
|
|
3704
|
-
"name": "
|
|
3682
|
+
"name": "getItemIds",
|
|
3683
|
+
"privacy": "private",
|
|
3705
3684
|
"return": {
|
|
3706
3685
|
"type": {
|
|
3707
|
-
"text": "
|
|
3686
|
+
"text": "Array<string | null>"
|
|
3708
3687
|
}
|
|
3688
|
+
},
|
|
3689
|
+
"inheritedFrom": {
|
|
3690
|
+
"name": "Accordion",
|
|
3691
|
+
"module": "src/accordion/accordion.ts"
|
|
3709
3692
|
}
|
|
3710
3693
|
},
|
|
3711
3694
|
{
|
|
3712
3695
|
"kind": "method",
|
|
3713
|
-
"name": "
|
|
3696
|
+
"name": "isSingleExpandMode",
|
|
3714
3697
|
"privacy": "private",
|
|
3715
3698
|
"return": {
|
|
3716
3699
|
"type": {
|
|
3717
|
-
"text": "
|
|
3700
|
+
"text": "boolean"
|
|
3718
3701
|
}
|
|
3719
3702
|
},
|
|
3720
|
-
"
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
"text": "AIStatus | null"
|
|
3725
|
-
}
|
|
3726
|
-
}
|
|
3727
|
-
]
|
|
3703
|
+
"inheritedFrom": {
|
|
3704
|
+
"name": "Accordion",
|
|
3705
|
+
"module": "src/accordion/accordion.ts"
|
|
3706
|
+
}
|
|
3728
3707
|
},
|
|
3729
3708
|
{
|
|
3730
|
-
"kind": "
|
|
3731
|
-
"name": "
|
|
3709
|
+
"kind": "field",
|
|
3710
|
+
"name": "handleItemKeyDown",
|
|
3732
3711
|
"privacy": "private",
|
|
3733
|
-
"
|
|
3734
|
-
"
|
|
3735
|
-
|
|
3736
|
-
}
|
|
3712
|
+
"inheritedFrom": {
|
|
3713
|
+
"name": "Accordion",
|
|
3714
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
3715
|
}
|
|
3738
3716
|
},
|
|
3739
3717
|
{
|
|
3740
|
-
"kind": "
|
|
3741
|
-
"name": "
|
|
3718
|
+
"kind": "field",
|
|
3719
|
+
"name": "handleItemFocus",
|
|
3742
3720
|
"privacy": "private",
|
|
3743
|
-
"
|
|
3744
|
-
"
|
|
3745
|
-
|
|
3746
|
-
}
|
|
3721
|
+
"inheritedFrom": {
|
|
3722
|
+
"name": "Accordion",
|
|
3723
|
+
"module": "src/accordion/accordion.ts"
|
|
3747
3724
|
}
|
|
3748
3725
|
},
|
|
3749
3726
|
{
|
|
3750
3727
|
"kind": "method",
|
|
3751
|
-
"name": "
|
|
3728
|
+
"name": "adjust",
|
|
3752
3729
|
"privacy": "private",
|
|
3753
3730
|
"return": {
|
|
3754
3731
|
"type": {
|
|
3755
3732
|
"text": "void"
|
|
3756
3733
|
}
|
|
3734
|
+
},
|
|
3735
|
+
"parameters": [
|
|
3736
|
+
{
|
|
3737
|
+
"name": "adjustment",
|
|
3738
|
+
"type": {
|
|
3739
|
+
"text": "number"
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
],
|
|
3743
|
+
"inheritedFrom": {
|
|
3744
|
+
"name": "Accordion",
|
|
3745
|
+
"module": "src/accordion/accordion.ts"
|
|
3757
3746
|
}
|
|
3758
3747
|
},
|
|
3759
3748
|
{
|
|
3760
3749
|
"kind": "method",
|
|
3761
|
-
"name": "
|
|
3750
|
+
"name": "focusItem",
|
|
3751
|
+
"privacy": "private",
|
|
3762
3752
|
"return": {
|
|
3763
3753
|
"type": {
|
|
3764
|
-
"text": "
|
|
3754
|
+
"text": "void"
|
|
3765
3755
|
}
|
|
3756
|
+
},
|
|
3757
|
+
"inheritedFrom": {
|
|
3758
|
+
"name": "Accordion",
|
|
3759
|
+
"module": "src/accordion/accordion.ts"
|
|
3766
3760
|
}
|
|
3767
3761
|
},
|
|
3768
3762
|
{
|
|
@@ -3877,88 +3871,102 @@
|
|
|
3877
3871
|
}
|
|
3878
3872
|
}
|
|
3879
3873
|
],
|
|
3880
|
-
"
|
|
3881
|
-
|
|
3882
|
-
|
|
3874
|
+
"events": [
|
|
3875
|
+
{
|
|
3876
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3877
|
+
"name": "change",
|
|
3878
|
+
"inheritedFrom": {
|
|
3879
|
+
"name": "Accordion",
|
|
3880
|
+
"module": "src/accordion/accordion.ts"
|
|
3881
|
+
}
|
|
3882
|
+
}
|
|
3883
|
+
]
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "variable",
|
|
3887
|
+
"name": "foundationAccordionShadowOptions",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "ShadowRootInit"
|
|
3883
3890
|
},
|
|
3884
|
-
"
|
|
3885
|
-
"customElement": true
|
|
3891
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3886
3892
|
},
|
|
3887
3893
|
{
|
|
3888
3894
|
"kind": "variable",
|
|
3889
|
-
"name": "
|
|
3895
|
+
"name": "defaultAccordionConfig",
|
|
3896
|
+
"type": {
|
|
3897
|
+
"text": "object"
|
|
3898
|
+
},
|
|
3899
|
+
"default": "{}"
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"kind": "variable",
|
|
3903
|
+
"name": "foundationAccordion",
|
|
3904
|
+
"description": "The Foundation Accordion",
|
|
3905
|
+
"privacy": "public"
|
|
3890
3906
|
}
|
|
3891
3907
|
],
|
|
3892
3908
|
"exports": [
|
|
3893
3909
|
{
|
|
3894
3910
|
"kind": "js",
|
|
3895
|
-
"name": "
|
|
3911
|
+
"name": "Accordion",
|
|
3896
3912
|
"declaration": {
|
|
3897
|
-
"name": "
|
|
3898
|
-
"module": "src/
|
|
3913
|
+
"name": "Accordion",
|
|
3914
|
+
"module": "src/accordion/accordion.ts"
|
|
3899
3915
|
}
|
|
3900
3916
|
},
|
|
3901
3917
|
{
|
|
3902
3918
|
"kind": "js",
|
|
3903
|
-
"name": "
|
|
3904
|
-
"declaration": {
|
|
3905
|
-
"name": "foundationAiIndicator",
|
|
3906
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3907
|
-
}
|
|
3908
|
-
}
|
|
3909
|
-
]
|
|
3910
|
-
},
|
|
3911
|
-
{
|
|
3912
|
-
"kind": "javascript-module",
|
|
3913
|
-
"path": "src/ai-indicator/index.ts",
|
|
3914
|
-
"declarations": [],
|
|
3915
|
-
"exports": [
|
|
3916
|
-
{
|
|
3917
|
-
"kind": "js",
|
|
3918
|
-
"name": "AiIndicator",
|
|
3919
|
+
"name": "foundationAccordionShadowOptions",
|
|
3919
3920
|
"declaration": {
|
|
3920
|
-
"name": "
|
|
3921
|
-
"module": "
|
|
3921
|
+
"name": "foundationAccordionShadowOptions",
|
|
3922
|
+
"module": "src/accordion/accordion.ts"
|
|
3922
3923
|
}
|
|
3923
3924
|
},
|
|
3924
3925
|
{
|
|
3925
3926
|
"kind": "js",
|
|
3926
|
-
"name": "
|
|
3927
|
+
"name": "defaultAccordionConfig",
|
|
3927
3928
|
"declaration": {
|
|
3928
|
-
"name": "
|
|
3929
|
-
"module": "
|
|
3929
|
+
"name": "defaultAccordionConfig",
|
|
3930
|
+
"module": "src/accordion/accordion.ts"
|
|
3930
3931
|
}
|
|
3931
3932
|
},
|
|
3932
3933
|
{
|
|
3933
3934
|
"kind": "js",
|
|
3934
|
-
"name": "
|
|
3935
|
+
"name": "foundationAccordion",
|
|
3935
3936
|
"declaration": {
|
|
3936
|
-
"name": "
|
|
3937
|
-
"module": "
|
|
3937
|
+
"name": "foundationAccordion",
|
|
3938
|
+
"module": "src/accordion/accordion.ts"
|
|
3938
3939
|
}
|
|
3939
|
-
}
|
|
3940
|
+
}
|
|
3941
|
+
]
|
|
3942
|
+
},
|
|
3943
|
+
{
|
|
3944
|
+
"kind": "javascript-module",
|
|
3945
|
+
"path": "src/accordion/index.ts",
|
|
3946
|
+
"declarations": [],
|
|
3947
|
+
"exports": [
|
|
3940
3948
|
{
|
|
3941
3949
|
"kind": "js",
|
|
3942
|
-
"name": "
|
|
3950
|
+
"name": "*",
|
|
3943
3951
|
"declaration": {
|
|
3944
|
-
"name": "
|
|
3945
|
-
"
|
|
3952
|
+
"name": "*",
|
|
3953
|
+
"package": "./accordion.template"
|
|
3946
3954
|
}
|
|
3947
3955
|
},
|
|
3948
3956
|
{
|
|
3949
3957
|
"kind": "js",
|
|
3950
|
-
"name": "
|
|
3958
|
+
"name": "*",
|
|
3951
3959
|
"declaration": {
|
|
3952
|
-
"name": "
|
|
3953
|
-
"
|
|
3960
|
+
"name": "*",
|
|
3961
|
+
"package": "./accordion.styles"
|
|
3954
3962
|
}
|
|
3955
3963
|
},
|
|
3956
3964
|
{
|
|
3957
3965
|
"kind": "js",
|
|
3958
|
-
"name": "
|
|
3966
|
+
"name": "*",
|
|
3959
3967
|
"declaration": {
|
|
3960
|
-
"name": "
|
|
3961
|
-
"
|
|
3968
|
+
"name": "*",
|
|
3969
|
+
"package": "./accordion"
|
|
3962
3970
|
}
|
|
3963
3971
|
}
|
|
3964
3972
|
]
|
|
@@ -38695,6 +38703,410 @@
|
|
|
38695
38703
|
}
|
|
38696
38704
|
]
|
|
38697
38705
|
},
|
|
38706
|
+
{
|
|
38707
|
+
"kind": "javascript-module",
|
|
38708
|
+
"path": "src/pill/index.ts",
|
|
38709
|
+
"declarations": [],
|
|
38710
|
+
"exports": [
|
|
38711
|
+
{
|
|
38712
|
+
"kind": "js",
|
|
38713
|
+
"name": "*",
|
|
38714
|
+
"declaration": {
|
|
38715
|
+
"name": "*",
|
|
38716
|
+
"package": "./pill"
|
|
38717
|
+
}
|
|
38718
|
+
},
|
|
38719
|
+
{
|
|
38720
|
+
"kind": "js",
|
|
38721
|
+
"name": "*",
|
|
38722
|
+
"declaration": {
|
|
38723
|
+
"name": "*",
|
|
38724
|
+
"package": "./pill.styles"
|
|
38725
|
+
}
|
|
38726
|
+
},
|
|
38727
|
+
{
|
|
38728
|
+
"kind": "js",
|
|
38729
|
+
"name": "*",
|
|
38730
|
+
"declaration": {
|
|
38731
|
+
"name": "*",
|
|
38732
|
+
"package": "./pill.template"
|
|
38733
|
+
}
|
|
38734
|
+
}
|
|
38735
|
+
]
|
|
38736
|
+
},
|
|
38737
|
+
{
|
|
38738
|
+
"kind": "javascript-module",
|
|
38739
|
+
"path": "src/pill/pill.styles.ts",
|
|
38740
|
+
"declarations": [
|
|
38741
|
+
{
|
|
38742
|
+
"kind": "variable",
|
|
38743
|
+
"name": "pillStyles",
|
|
38744
|
+
"default": "css`\n :host {\n --pill-fill: var(--neutral-fill-rest, #e5e5e5);\n --pill-fill-hover: var(--neutral-fill-hover, #d9d9d9);\n --pill-foreground: var(--neutral-foreground-rest, #1a1a1a);\n --pill-border-radius: 12px;\n\n display: inline-flex;\n }\n\n .pill {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 24px;\n padding: 0 4px 0 10px;\n border-radius: var(--pill-border-radius);\n background: var(--pill-fill);\n color: var(--pill-foreground);\n font-size: 12px;\n line-height: 1;\n }\n\n .pill[disabled] {\n opacity: 50%;\n }\n\n .pill-body {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n }\n\n .pill-body:disabled {\n cursor: not-allowed;\n }\n\n .pill-body:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n border-radius: var(--pill-border-radius);\n }\n\n .pill-label {\n font-weight: 600;\n white-space: nowrap;\n }\n\n .pill-value {\n white-space: nowrap;\n }\n\n .pill-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n }\n\n .pill-remove:disabled {\n cursor: not-allowed;\n }\n\n .pill-remove:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n }\n`"
|
|
38745
|
+
}
|
|
38746
|
+
],
|
|
38747
|
+
"exports": [
|
|
38748
|
+
{
|
|
38749
|
+
"kind": "js",
|
|
38750
|
+
"name": "pillStyles",
|
|
38751
|
+
"declaration": {
|
|
38752
|
+
"name": "pillStyles",
|
|
38753
|
+
"module": "src/pill/pill.styles.ts"
|
|
38754
|
+
}
|
|
38755
|
+
}
|
|
38756
|
+
]
|
|
38757
|
+
},
|
|
38758
|
+
{
|
|
38759
|
+
"kind": "javascript-module",
|
|
38760
|
+
"path": "src/pill/pill.template.ts",
|
|
38761
|
+
"declarations": [
|
|
38762
|
+
{
|
|
38763
|
+
"kind": "variable",
|
|
38764
|
+
"name": "foundationPillTemplate",
|
|
38765
|
+
"default": "html<Pill>`\n ${(x) => getPrefixedPillTemplate(getPrefix(x))}\n`"
|
|
38766
|
+
}
|
|
38767
|
+
],
|
|
38768
|
+
"exports": [
|
|
38769
|
+
{
|
|
38770
|
+
"kind": "js",
|
|
38771
|
+
"name": "foundationPillTemplate",
|
|
38772
|
+
"declaration": {
|
|
38773
|
+
"name": "foundationPillTemplate",
|
|
38774
|
+
"module": "src/pill/pill.template.ts"
|
|
38775
|
+
}
|
|
38776
|
+
}
|
|
38777
|
+
]
|
|
38778
|
+
},
|
|
38779
|
+
{
|
|
38780
|
+
"kind": "javascript-module",
|
|
38781
|
+
"path": "src/pill/pill.ts",
|
|
38782
|
+
"declarations": [
|
|
38783
|
+
{
|
|
38784
|
+
"kind": "variable",
|
|
38785
|
+
"name": "foundationPillShadowOptions",
|
|
38786
|
+
"type": {
|
|
38787
|
+
"text": "ShadowRootInit"
|
|
38788
|
+
},
|
|
38789
|
+
"default": "undefined"
|
|
38790
|
+
},
|
|
38791
|
+
{
|
|
38792
|
+
"kind": "variable",
|
|
38793
|
+
"name": "defaultPillConfig",
|
|
38794
|
+
"type": {
|
|
38795
|
+
"text": "object"
|
|
38796
|
+
},
|
|
38797
|
+
"default": "{}"
|
|
38798
|
+
},
|
|
38799
|
+
{
|
|
38800
|
+
"kind": "class",
|
|
38801
|
+
"description": "",
|
|
38802
|
+
"name": "Pill",
|
|
38803
|
+
"slots": [
|
|
38804
|
+
{
|
|
38805
|
+
"description": "Additional phrasing (inline, non-interactive) content rendered after the label/value, inside the pill body button. Do not slot interactive or block-level elements (e.g. `<button>`, `<a>`, `<div>`) here, as the body is itself a `<button>`.",
|
|
38806
|
+
"name": ""
|
|
38807
|
+
}
|
|
38808
|
+
],
|
|
38809
|
+
"members": [
|
|
38810
|
+
{
|
|
38811
|
+
"kind": "field",
|
|
38812
|
+
"name": "label",
|
|
38813
|
+
"type": {
|
|
38814
|
+
"text": "string"
|
|
38815
|
+
},
|
|
38816
|
+
"attribute": "label"
|
|
38817
|
+
},
|
|
38818
|
+
{
|
|
38819
|
+
"kind": "field",
|
|
38820
|
+
"name": "value",
|
|
38821
|
+
"type": {
|
|
38822
|
+
"text": "string"
|
|
38823
|
+
},
|
|
38824
|
+
"attribute": "value"
|
|
38825
|
+
},
|
|
38826
|
+
{
|
|
38827
|
+
"kind": "field",
|
|
38828
|
+
"name": "removable",
|
|
38829
|
+
"type": {
|
|
38830
|
+
"text": "boolean"
|
|
38831
|
+
},
|
|
38832
|
+
"default": "true",
|
|
38833
|
+
"attribute": "removable"
|
|
38834
|
+
},
|
|
38835
|
+
{
|
|
38836
|
+
"kind": "field",
|
|
38837
|
+
"name": "disabled",
|
|
38838
|
+
"type": {
|
|
38839
|
+
"text": "boolean"
|
|
38840
|
+
},
|
|
38841
|
+
"default": "false",
|
|
38842
|
+
"attribute": "disabled"
|
|
38843
|
+
},
|
|
38844
|
+
{
|
|
38845
|
+
"kind": "method",
|
|
38846
|
+
"name": "handleBodyClick",
|
|
38847
|
+
"return": {
|
|
38848
|
+
"type": {
|
|
38849
|
+
"text": "void"
|
|
38850
|
+
}
|
|
38851
|
+
}
|
|
38852
|
+
},
|
|
38853
|
+
{
|
|
38854
|
+
"kind": "method",
|
|
38855
|
+
"name": "handleRemoveClick",
|
|
38856
|
+
"return": {
|
|
38857
|
+
"type": {
|
|
38858
|
+
"text": "void"
|
|
38859
|
+
}
|
|
38860
|
+
},
|
|
38861
|
+
"parameters": [
|
|
38862
|
+
{
|
|
38863
|
+
"name": "event",
|
|
38864
|
+
"optional": true,
|
|
38865
|
+
"type": {
|
|
38866
|
+
"text": "Event"
|
|
38867
|
+
}
|
|
38868
|
+
}
|
|
38869
|
+
]
|
|
38870
|
+
},
|
|
38871
|
+
{
|
|
38872
|
+
"kind": "field",
|
|
38873
|
+
"name": "_presentation",
|
|
38874
|
+
"type": {
|
|
38875
|
+
"text": "ComponentPresentation | null | undefined"
|
|
38876
|
+
},
|
|
38877
|
+
"privacy": "private",
|
|
38878
|
+
"default": "void 0",
|
|
38879
|
+
"inheritedFrom": {
|
|
38880
|
+
"name": "FoundationElement",
|
|
38881
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38882
|
+
}
|
|
38883
|
+
},
|
|
38884
|
+
{
|
|
38885
|
+
"kind": "field",
|
|
38886
|
+
"name": "$presentation",
|
|
38887
|
+
"type": {
|
|
38888
|
+
"text": "ComponentPresentation | null"
|
|
38889
|
+
},
|
|
38890
|
+
"privacy": "public",
|
|
38891
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
38892
|
+
"inheritedFrom": {
|
|
38893
|
+
"name": "FoundationElement",
|
|
38894
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38895
|
+
}
|
|
38896
|
+
},
|
|
38897
|
+
{
|
|
38898
|
+
"kind": "field",
|
|
38899
|
+
"name": "template",
|
|
38900
|
+
"type": {
|
|
38901
|
+
"text": "ElementViewTemplate | void | null"
|
|
38902
|
+
},
|
|
38903
|
+
"privacy": "public",
|
|
38904
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
38905
|
+
"inheritedFrom": {
|
|
38906
|
+
"name": "FoundationElement",
|
|
38907
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38908
|
+
}
|
|
38909
|
+
},
|
|
38910
|
+
{
|
|
38911
|
+
"kind": "method",
|
|
38912
|
+
"name": "templateChanged",
|
|
38913
|
+
"privacy": "protected",
|
|
38914
|
+
"return": {
|
|
38915
|
+
"type": {
|
|
38916
|
+
"text": "void"
|
|
38917
|
+
}
|
|
38918
|
+
},
|
|
38919
|
+
"inheritedFrom": {
|
|
38920
|
+
"name": "FoundationElement",
|
|
38921
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38922
|
+
}
|
|
38923
|
+
},
|
|
38924
|
+
{
|
|
38925
|
+
"kind": "field",
|
|
38926
|
+
"name": "styles",
|
|
38927
|
+
"type": {
|
|
38928
|
+
"text": "ElementStyles | void | null"
|
|
38929
|
+
},
|
|
38930
|
+
"privacy": "public",
|
|
38931
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
38932
|
+
"inheritedFrom": {
|
|
38933
|
+
"name": "FoundationElement",
|
|
38934
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38935
|
+
}
|
|
38936
|
+
},
|
|
38937
|
+
{
|
|
38938
|
+
"kind": "method",
|
|
38939
|
+
"name": "stylesChanged",
|
|
38940
|
+
"privacy": "protected",
|
|
38941
|
+
"return": {
|
|
38942
|
+
"type": {
|
|
38943
|
+
"text": "void"
|
|
38944
|
+
}
|
|
38945
|
+
},
|
|
38946
|
+
"inheritedFrom": {
|
|
38947
|
+
"name": "FoundationElement",
|
|
38948
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38949
|
+
}
|
|
38950
|
+
},
|
|
38951
|
+
{
|
|
38952
|
+
"kind": "method",
|
|
38953
|
+
"name": "compose",
|
|
38954
|
+
"privacy": "public",
|
|
38955
|
+
"static": true,
|
|
38956
|
+
"return": {
|
|
38957
|
+
"type": {
|
|
38958
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
38959
|
+
}
|
|
38960
|
+
},
|
|
38961
|
+
"parameters": [
|
|
38962
|
+
{
|
|
38963
|
+
"name": "this",
|
|
38964
|
+
"type": {
|
|
38965
|
+
"text": "K"
|
|
38966
|
+
}
|
|
38967
|
+
},
|
|
38968
|
+
{
|
|
38969
|
+
"name": "elementDefinition",
|
|
38970
|
+
"type": {
|
|
38971
|
+
"text": "T"
|
|
38972
|
+
},
|
|
38973
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
38974
|
+
}
|
|
38975
|
+
],
|
|
38976
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
38977
|
+
"inheritedFrom": {
|
|
38978
|
+
"name": "FoundationElement",
|
|
38979
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
38980
|
+
}
|
|
38981
|
+
}
|
|
38982
|
+
],
|
|
38983
|
+
"events": [
|
|
38984
|
+
{
|
|
38985
|
+
"description": "Fired when the remove control is activated.",
|
|
38986
|
+
"name": "remove"
|
|
38987
|
+
},
|
|
38988
|
+
{
|
|
38989
|
+
"description": "Fired when the pill body (excluding the remove control) is activated.",
|
|
38990
|
+
"name": "pill-click"
|
|
38991
|
+
}
|
|
38992
|
+
],
|
|
38993
|
+
"attributes": [
|
|
38994
|
+
{
|
|
38995
|
+
"name": "label",
|
|
38996
|
+
"type": {
|
|
38997
|
+
"text": "string"
|
|
38998
|
+
},
|
|
38999
|
+
"fieldName": "label",
|
|
39000
|
+
"description": "the name of the thing this pill represents, e.g. a filter field name"
|
|
39001
|
+
},
|
|
39002
|
+
{
|
|
39003
|
+
"name": "value",
|
|
39004
|
+
"type": {
|
|
39005
|
+
"text": "string"
|
|
39006
|
+
},
|
|
39007
|
+
"fieldName": "value",
|
|
39008
|
+
"description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\""
|
|
39009
|
+
},
|
|
39010
|
+
{
|
|
39011
|
+
"name": "removable",
|
|
39012
|
+
"type": {
|
|
39013
|
+
"text": "boolean"
|
|
39014
|
+
},
|
|
39015
|
+
"default": "true",
|
|
39016
|
+
"fieldName": "removable",
|
|
39017
|
+
"description": "whether the \"x\" remove control is shown"
|
|
39018
|
+
},
|
|
39019
|
+
{
|
|
39020
|
+
"name": "disabled",
|
|
39021
|
+
"type": {
|
|
39022
|
+
"text": "boolean"
|
|
39023
|
+
},
|
|
39024
|
+
"default": "false",
|
|
39025
|
+
"fieldName": "disabled",
|
|
39026
|
+
"description": "disables both the pill body and the remove control"
|
|
39027
|
+
},
|
|
39028
|
+
{
|
|
39029
|
+
"name": "label",
|
|
39030
|
+
"type": {
|
|
39031
|
+
"text": "string"
|
|
39032
|
+
},
|
|
39033
|
+
"attribute": "label",
|
|
39034
|
+
"fieldName": "label"
|
|
39035
|
+
},
|
|
39036
|
+
{
|
|
39037
|
+
"name": "value",
|
|
39038
|
+
"type": {
|
|
39039
|
+
"text": "string"
|
|
39040
|
+
},
|
|
39041
|
+
"attribute": "value",
|
|
39042
|
+
"fieldName": "value"
|
|
39043
|
+
},
|
|
39044
|
+
{
|
|
39045
|
+
"type": {
|
|
39046
|
+
"text": "boolean"
|
|
39047
|
+
},
|
|
39048
|
+
"default": "true",
|
|
39049
|
+
"attribute": "removable",
|
|
39050
|
+
"fieldName": "removable"
|
|
39051
|
+
},
|
|
39052
|
+
{
|
|
39053
|
+
"type": {
|
|
39054
|
+
"text": "boolean"
|
|
39055
|
+
},
|
|
39056
|
+
"default": "false",
|
|
39057
|
+
"attribute": "disabled",
|
|
39058
|
+
"fieldName": "disabled"
|
|
39059
|
+
}
|
|
39060
|
+
],
|
|
39061
|
+
"superclass": {
|
|
39062
|
+
"name": "FoundationElement",
|
|
39063
|
+
"package": "@microsoft/fast-foundation"
|
|
39064
|
+
},
|
|
39065
|
+
"tagName": "%%prefix%%-pill",
|
|
39066
|
+
"customElement": true
|
|
39067
|
+
},
|
|
39068
|
+
{
|
|
39069
|
+
"kind": "variable",
|
|
39070
|
+
"name": "foundationPill",
|
|
39071
|
+
"description": "The Foundation Pill",
|
|
39072
|
+
"privacy": "public"
|
|
39073
|
+
}
|
|
39074
|
+
],
|
|
39075
|
+
"exports": [
|
|
39076
|
+
{
|
|
39077
|
+
"kind": "js",
|
|
39078
|
+
"name": "foundationPillShadowOptions",
|
|
39079
|
+
"declaration": {
|
|
39080
|
+
"name": "foundationPillShadowOptions",
|
|
39081
|
+
"module": "src/pill/pill.ts"
|
|
39082
|
+
}
|
|
39083
|
+
},
|
|
39084
|
+
{
|
|
39085
|
+
"kind": "js",
|
|
39086
|
+
"name": "defaultPillConfig",
|
|
39087
|
+
"declaration": {
|
|
39088
|
+
"name": "defaultPillConfig",
|
|
39089
|
+
"module": "src/pill/pill.ts"
|
|
39090
|
+
}
|
|
39091
|
+
},
|
|
39092
|
+
{
|
|
39093
|
+
"kind": "js",
|
|
39094
|
+
"name": "Pill",
|
|
39095
|
+
"declaration": {
|
|
39096
|
+
"name": "Pill",
|
|
39097
|
+
"module": "src/pill/pill.ts"
|
|
39098
|
+
}
|
|
39099
|
+
},
|
|
39100
|
+
{
|
|
39101
|
+
"kind": "js",
|
|
39102
|
+
"name": "foundationPill",
|
|
39103
|
+
"declaration": {
|
|
39104
|
+
"name": "foundationPill",
|
|
39105
|
+
"module": "src/pill/pill.ts"
|
|
39106
|
+
}
|
|
39107
|
+
}
|
|
39108
|
+
]
|
|
39109
|
+
},
|
|
38698
39110
|
{
|
|
38699
39111
|
"kind": "javascript-module",
|
|
38700
39112
|
"path": "src/popper/index.ts",
|