@genesislcap/foundation-ui 14.500.1-alpha-beb5193.0 → 15.0.0-FUI-2567.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 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}"
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 foundationVerificationCodeInput,\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": [
@@ -867,6 +867,14 @@
867
867
  "name": "getPrefix",
868
868
  "module": "./utils/dom"
869
869
  }
870
+ },
871
+ {
872
+ "kind": "js",
873
+ "name": "*",
874
+ "declaration": {
875
+ "name": "*",
876
+ "package": "./verification-code-input"
877
+ }
870
878
  }
871
879
  ]
872
880
  },
@@ -1414,6 +1422,37 @@
1414
1422
  }
1415
1423
  ]
1416
1424
  },
1425
+ {
1426
+ "kind": "javascript-module",
1427
+ "path": "src/_config/index.ts",
1428
+ "declarations": [],
1429
+ "exports": [
1430
+ {
1431
+ "kind": "js",
1432
+ "name": "*",
1433
+ "declaration": {
1434
+ "name": "*",
1435
+ "package": "./styles"
1436
+ }
1437
+ },
1438
+ {
1439
+ "kind": "js",
1440
+ "name": "*",
1441
+ "declaration": {
1442
+ "name": "*",
1443
+ "package": "./tokens"
1444
+ }
1445
+ },
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./values"
1452
+ }
1453
+ }
1454
+ ]
1455
+ },
1417
1456
  {
1418
1457
  "kind": "javascript-module",
1419
1458
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1810,162 +1849,203 @@
1810
1849
  },
1811
1850
  {
1812
1851
  "kind": "javascript-module",
1813
- "path": "src/_config/index.ts",
1814
- "declarations": [],
1815
- "exports": [
1852
+ "path": "src/actions-menu/actions-menu.styles.ts",
1853
+ "declarations": [
1816
1854
  {
1817
- "kind": "js",
1818
- "name": "*",
1819
- "declaration": {
1820
- "name": "*",
1821
- "package": "./styles"
1822
- }
1855
+ "kind": "function",
1856
+ "name": "actionsMenuBaseStyles",
1857
+ "return": {
1858
+ "type": {
1859
+ "text": "ElementStyles"
1860
+ }
1861
+ },
1862
+ "parameters": [
1863
+ {
1864
+ "name": "context",
1865
+ "type": {
1866
+ "text": "ElementDefinitionContext"
1867
+ }
1868
+ },
1869
+ {
1870
+ "name": "definition",
1871
+ "type": {
1872
+ "text": "FoundationElementDefinition"
1873
+ }
1874
+ }
1875
+ ]
1823
1876
  },
1877
+ {
1878
+ "kind": "function",
1879
+ "name": "foundationActionsMenuStyles",
1880
+ "return": {
1881
+ "type": {
1882
+ "text": "ElementStyles"
1883
+ }
1884
+ },
1885
+ "parameters": [
1886
+ {
1887
+ "name": "context",
1888
+ "type": {
1889
+ "text": "ElementDefinitionContext"
1890
+ }
1891
+ },
1892
+ {
1893
+ "name": "definition",
1894
+ "type": {
1895
+ "text": "FoundationElementDefinition"
1896
+ }
1897
+ }
1898
+ ]
1899
+ }
1900
+ ],
1901
+ "exports": [
1824
1902
  {
1825
1903
  "kind": "js",
1826
- "name": "*",
1904
+ "name": "actionsMenuBaseStyles",
1827
1905
  "declaration": {
1828
- "name": "*",
1829
- "package": "./tokens"
1906
+ "name": "actionsMenuBaseStyles",
1907
+ "module": "src/actions-menu/actions-menu.styles.ts"
1830
1908
  }
1831
1909
  },
1832
1910
  {
1833
1911
  "kind": "js",
1834
- "name": "*",
1912
+ "name": "foundationActionsMenuStyles",
1835
1913
  "declaration": {
1836
- "name": "*",
1837
- "package": "./values"
1914
+ "name": "foundationActionsMenuStyles",
1915
+ "module": "src/actions-menu/actions-menu.styles.ts"
1838
1916
  }
1839
1917
  }
1840
1918
  ]
1841
1919
  },
1842
1920
  {
1843
1921
  "kind": "javascript-module",
1844
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1922
+ "path": "src/actions-menu/actions-menu.template.ts",
1845
1923
  "declarations": [
1924
+ {
1925
+ "kind": "function",
1926
+ "name": "menuTemplate",
1927
+ "parameters": [
1928
+ {
1929
+ "name": "prefix",
1930
+ "type": {
1931
+ "text": "string"
1932
+ }
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "kind": "function",
1938
+ "name": "singleOptionTemplate",
1939
+ "parameters": [
1940
+ {
1941
+ "name": "prefix",
1942
+ "type": {
1943
+ "text": "string"
1944
+ }
1945
+ }
1946
+ ]
1947
+ },
1846
1948
  {
1847
1949
  "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`"
1950
+ "name": "foundationActionsMenuTemplate",
1951
+ "type": {
1952
+ "text": "ViewTemplate<ActionsMenu>"
1953
+ },
1954
+ "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`"
1850
1955
  }
1851
1956
  ],
1852
1957
  "exports": [
1853
1958
  {
1854
1959
  "kind": "js",
1855
- "name": "foundationAiCriteriaSearchStyles",
1960
+ "name": "menuTemplate",
1856
1961
  "declaration": {
1857
- "name": "foundationAiCriteriaSearchStyles",
1858
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1962
+ "name": "menuTemplate",
1963
+ "module": "src/actions-menu/actions-menu.template.ts"
1859
1964
  }
1860
- }
1861
- ]
1862
- },
1863
- {
1864
- "kind": "javascript-module",
1865
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1866
- "declarations": [
1965
+ },
1867
1966
  {
1868
- "kind": "variable",
1869
- "name": "foundationAiCriteriaSearchTemplate",
1870
- "type": {
1871
- "text": "ViewTemplate<AiCriteriaSearch>"
1872
- },
1873
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1874
- }
1875
- ],
1876
- "exports": [
1967
+ "kind": "js",
1968
+ "name": "singleOptionTemplate",
1969
+ "declaration": {
1970
+ "name": "singleOptionTemplate",
1971
+ "module": "src/actions-menu/actions-menu.template.ts"
1972
+ }
1973
+ },
1877
1974
  {
1878
1975
  "kind": "js",
1879
- "name": "foundationAiCriteriaSearchTemplate",
1976
+ "name": "foundationActionsMenuTemplate",
1880
1977
  "declaration": {
1881
- "name": "foundationAiCriteriaSearchTemplate",
1882
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1978
+ "name": "foundationActionsMenuTemplate",
1979
+ "module": "src/actions-menu/actions-menu.template.ts"
1883
1980
  }
1884
1981
  }
1885
1982
  ]
1886
1983
  },
1887
1984
  {
1888
1985
  "kind": "javascript-module",
1889
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
1986
+ "path": "src/actions-menu/actions-menu.ts",
1890
1987
  "declarations": [
1891
1988
  {
1892
1989
  "kind": "class",
1893
- "description": "Natural-language criteria search input with AI interpretation.",
1894
- "name": "AiCriteriaSearch",
1990
+ "description": "",
1991
+ "name": "ActionsMenu",
1895
1992
  "members": [
1896
1993
  {
1897
1994
  "kind": "field",
1898
- "name": "providerRegistry",
1995
+ "name": "actions",
1899
1996
  "type": {
1900
- "text": "AIProviderRegistry"
1997
+ "text": "ActionMenuItem[]"
1901
1998
  }
1902
1999
  },
1903
2000
  {
1904
2001
  "kind": "field",
1905
- "name": "placeholder",
1906
- "type": {
1907
- "text": "string"
1908
- },
1909
- "default": "'Describe your search criteria in natural language...'"
1910
- },
1911
- {
1912
- "kind": "field",
1913
- "name": "disabled",
2002
+ "name": "isVertical",
1914
2003
  "type": {
1915
2004
  "text": "boolean"
1916
- }
1917
- },
1918
- {
1919
- "kind": "field",
1920
- "name": "inputValue",
1921
- "type": {
1922
- "text": "string"
1923
2005
  },
1924
- "default": "''"
2006
+ "default": "false"
1925
2007
  },
1926
2008
  {
1927
2009
  "kind": "field",
1928
- "name": "isInterpreting",
2010
+ "name": "addDefaultActions",
1929
2011
  "type": {
1930
2012
  "text": "boolean"
1931
2013
  },
1932
- "default": "false"
2014
+ "default": "true"
1933
2015
  },
1934
2016
  {
1935
2017
  "kind": "field",
1936
- "name": "lastValidCriteria",
2018
+ "name": "autoCloseOnAction",
1937
2019
  "type": {
1938
- "text": "string | null"
2020
+ "text": "boolean"
1939
2021
  },
1940
- "default": "null"
2022
+ "default": "true"
1941
2023
  },
1942
2024
  {
1943
2025
  "kind": "field",
1944
- "name": "activeGroups",
2026
+ "name": "classNames",
1945
2027
  "type": {
1946
- "text": "CriteriaGroup[]"
1947
- },
1948
- "default": "[]"
2028
+ "text": "string"
2029
+ }
1949
2030
  },
1950
2031
  {
1951
2032
  "kind": "field",
1952
- "name": "showingChips",
2033
+ "name": "definition",
1953
2034
  "type": {
1954
- "text": "boolean"
1955
- },
1956
- "default": "false"
2035
+ "text": "any"
2036
+ }
1957
2037
  },
1958
2038
  {
1959
2039
  "kind": "field",
1960
- "name": "fieldMetadata",
2040
+ "name": "name",
1961
2041
  "type": {
1962
- "text": "MetadataDetail[] | string[]"
2042
+ "text": "string"
1963
2043
  },
1964
- "default": "[]"
2044
+ "default": "'Actions'"
1965
2045
  },
1966
2046
  {
1967
2047
  "kind": "field",
1968
- "name": "isRecording",
2048
+ "name": "open",
1969
2049
  "type": {
1970
2050
  "text": "boolean"
1971
2051
  },
@@ -1973,125 +2053,612 @@
1973
2053
  },
1974
2054
  {
1975
2055
  "kind": "field",
1976
- "name": "textAreaRef",
2056
+ "name": "buttonAppearance",
1977
2057
  "type": {
1978
- "text": "HTMLTextAreaElement"
1979
- },
1980
- "privacy": "public"
2058
+ "text": "string"
2059
+ }
1981
2060
  },
1982
2061
  {
1983
2062
  "kind": "field",
1984
- "name": "stopRecording",
2063
+ "name": "hideDisabled",
1985
2064
  "type": {
1986
- "text": "(() => void) | null"
2065
+ "text": "boolean"
1987
2066
  },
1988
- "privacy": "private",
1989
- "default": "null"
2067
+ "default": "false"
1990
2068
  },
1991
2069
  {
1992
2070
  "kind": "field",
1993
- "name": "speechApplyDebounceTimer",
2071
+ "name": "hideMenuSingleOption",
1994
2072
  "type": {
1995
- "text": "ReturnType<typeof setTimeout> | null"
2073
+ "text": "boolean"
1996
2074
  },
1997
- "privacy": "private",
1998
- "default": "null"
2075
+ "default": "false"
1999
2076
  },
2000
2077
  {
2001
2078
  "kind": "field",
2002
- "name": "speechAvailable",
2079
+ "name": "singleOption",
2003
2080
  "type": {
2004
- "text": "boolean"
2005
- },
2006
- "readonly": true
2081
+ "text": "ActionMenuItem"
2082
+ }
2007
2083
  },
2008
2084
  {
2009
2085
  "kind": "field",
2010
- "name": "criteriaChips",
2086
+ "name": "actionsMenu",
2011
2087
  "type": {
2012
- "text": "CriteriaChip[]"
2013
- },
2014
- "readonly": true
2015
- },
2016
- {
2017
- "kind": "method",
2018
- "name": "getFieldLabel",
2019
- "privacy": "private",
2020
- "return": {
2021
- "type": {
2022
- "text": "string"
2023
- }
2024
- },
2025
- "parameters": [
2026
- {
2027
- "name": "fieldName",
2028
- "type": {
2029
- "text": "string"
2030
- }
2031
- }
2032
- ]
2033
- },
2034
- {
2035
- "kind": "method",
2036
- "name": "toggleCriteriaView",
2037
- "return": {
2038
- "type": {
2039
- "text": "void"
2040
- }
2088
+ "text": "HTMLElement"
2041
2089
  }
2042
2090
  },
2043
2091
  {
2044
2092
  "kind": "method",
2045
- "name": "removeChip",
2046
- "return": {
2047
- "type": {
2048
- "text": "void"
2049
- }
2050
- },
2093
+ "name": "definitionChanged",
2094
+ "privacy": "protected",
2051
2095
  "parameters": [
2052
2096
  {
2053
- "name": "groupIndex",
2097
+ "name": "oldValue",
2054
2098
  "type": {
2055
- "text": "number"
2099
+ "text": "any"
2056
2100
  }
2057
2101
  },
2058
2102
  {
2059
- "name": "clauseIndex",
2103
+ "name": "newValue",
2060
2104
  "type": {
2061
- "text": "number"
2105
+ "text": "any"
2062
2106
  }
2063
2107
  }
2064
2108
  ]
2065
2109
  },
2066
2110
  {
2067
2111
  "kind": "method",
2068
- "name": "clearChips",
2069
- "return": {
2070
- "type": {
2071
- "text": "void"
2072
- }
2073
- }
2112
+ "name": "openChanged",
2113
+ "privacy": "protected"
2074
2114
  },
2075
2115
  {
2076
2116
  "kind": "method",
2077
- "name": "handleSubmit"
2117
+ "name": "toggleActionsMenuVisibility"
2078
2118
  },
2079
2119
  {
2080
2120
  "kind": "method",
2081
- "name": "handleBlur"
2121
+ "name": "onActionMenuItemClick",
2122
+ "parameters": [
2123
+ {
2124
+ "name": "callback",
2125
+ "type": {
2126
+ "text": "(rowData) => void | any"
2127
+ }
2128
+ }
2129
+ ]
2082
2130
  },
2083
2131
  {
2084
- "kind": "method",
2085
- "name": "clear"
2132
+ "kind": "field",
2133
+ "name": "allActions",
2134
+ "type": {
2135
+ "text": "ActionMenuItem[]"
2136
+ },
2137
+ "readonly": true
2138
+ },
2139
+ {
2140
+ "kind": "field",
2141
+ "name": "rowData",
2142
+ "readonly": true
2086
2143
  },
2087
2144
  {
2088
2145
  "kind": "method",
2089
- "name": "toggleSpeechInput"
2146
+ "name": "getLabel",
2147
+ "parameters": [
2148
+ {
2149
+ "name": "name",
2150
+ "type": {
2151
+ "text": "string | ((rowData: any) => string)"
2152
+ }
2153
+ }
2154
+ ]
2090
2155
  },
2091
2156
  {
2092
2157
  "kind": "method",
2093
- "name": "clearSpeechApplyDebounce",
2094
- "privacy": "private"
2158
+ "name": "getTemplate",
2159
+ "parameters": [
2160
+ {
2161
+ "name": "prefix",
2162
+ "type": {
2163
+ "text": "string"
2164
+ }
2165
+ }
2166
+ ]
2167
+ },
2168
+ {
2169
+ "kind": "field",
2170
+ "name": "_presentation",
2171
+ "type": {
2172
+ "text": "ComponentPresentation | null | undefined"
2173
+ },
2174
+ "privacy": "private",
2175
+ "default": "void 0",
2176
+ "inheritedFrom": {
2177
+ "name": "FoundationElement",
2178
+ "module": "src/foundation-element/foundation-element.ts"
2179
+ }
2180
+ },
2181
+ {
2182
+ "kind": "field",
2183
+ "name": "$presentation",
2184
+ "type": {
2185
+ "text": "ComponentPresentation | null"
2186
+ },
2187
+ "privacy": "public",
2188
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2189
+ "inheritedFrom": {
2190
+ "name": "FoundationElement",
2191
+ "module": "src/foundation-element/foundation-element.ts"
2192
+ }
2193
+ },
2194
+ {
2195
+ "kind": "field",
2196
+ "name": "template",
2197
+ "type": {
2198
+ "text": "ElementViewTemplate | void | null"
2199
+ },
2200
+ "privacy": "public",
2201
+ "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.",
2202
+ "inheritedFrom": {
2203
+ "name": "FoundationElement",
2204
+ "module": "src/foundation-element/foundation-element.ts"
2205
+ }
2206
+ },
2207
+ {
2208
+ "kind": "method",
2209
+ "name": "templateChanged",
2210
+ "privacy": "protected",
2211
+ "return": {
2212
+ "type": {
2213
+ "text": "void"
2214
+ }
2215
+ },
2216
+ "inheritedFrom": {
2217
+ "name": "FoundationElement",
2218
+ "module": "src/foundation-element/foundation-element.ts"
2219
+ }
2220
+ },
2221
+ {
2222
+ "kind": "field",
2223
+ "name": "styles",
2224
+ "type": {
2225
+ "text": "ElementStyles | void | null"
2226
+ },
2227
+ "privacy": "public",
2228
+ "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.",
2229
+ "inheritedFrom": {
2230
+ "name": "FoundationElement",
2231
+ "module": "src/foundation-element/foundation-element.ts"
2232
+ }
2233
+ },
2234
+ {
2235
+ "kind": "method",
2236
+ "name": "stylesChanged",
2237
+ "privacy": "protected",
2238
+ "return": {
2239
+ "type": {
2240
+ "text": "void"
2241
+ }
2242
+ },
2243
+ "inheritedFrom": {
2244
+ "name": "FoundationElement",
2245
+ "module": "src/foundation-element/foundation-element.ts"
2246
+ }
2247
+ },
2248
+ {
2249
+ "kind": "method",
2250
+ "name": "compose",
2251
+ "privacy": "public",
2252
+ "static": true,
2253
+ "return": {
2254
+ "type": {
2255
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2256
+ }
2257
+ },
2258
+ "parameters": [
2259
+ {
2260
+ "name": "this",
2261
+ "type": {
2262
+ "text": "K"
2263
+ }
2264
+ },
2265
+ {
2266
+ "name": "elementDefinition",
2267
+ "type": {
2268
+ "text": "T"
2269
+ },
2270
+ "description": "The definition of the element to create the registry\nfunction for."
2271
+ }
2272
+ ],
2273
+ "description": "Defines an element registry function with a set of element definition defaults.",
2274
+ "inheritedFrom": {
2275
+ "name": "FoundationElement",
2276
+ "module": "src/foundation-element/foundation-element.ts"
2277
+ }
2278
+ }
2279
+ ],
2280
+ "attributes": [
2281
+ {
2282
+ "name": "is-vertical",
2283
+ "type": {
2284
+ "text": "boolean"
2285
+ },
2286
+ "default": "false",
2287
+ "fieldName": "isVertical"
2288
+ },
2289
+ {
2290
+ "name": "add-default-actions",
2291
+ "type": {
2292
+ "text": "boolean"
2293
+ },
2294
+ "default": "true",
2295
+ "fieldName": "addDefaultActions"
2296
+ },
2297
+ {
2298
+ "name": "auto-close-on-action",
2299
+ "type": {
2300
+ "text": "boolean"
2301
+ },
2302
+ "default": "true",
2303
+ "fieldName": "autoCloseOnAction"
2304
+ },
2305
+ {
2306
+ "name": "name",
2307
+ "type": {
2308
+ "text": "string"
2309
+ },
2310
+ "default": "'Actions'",
2311
+ "fieldName": "name"
2312
+ },
2313
+ {
2314
+ "name": "open",
2315
+ "type": {
2316
+ "text": "boolean"
2317
+ },
2318
+ "default": "false",
2319
+ "fieldName": "open"
2320
+ },
2321
+ {
2322
+ "name": "buttonAppearance",
2323
+ "type": {
2324
+ "text": "string"
2325
+ },
2326
+ "fieldName": "buttonAppearance"
2327
+ },
2328
+ {
2329
+ "name": "hide-disabled",
2330
+ "type": {
2331
+ "text": "boolean"
2332
+ },
2333
+ "default": "false",
2334
+ "fieldName": "hideDisabled"
2335
+ },
2336
+ {
2337
+ "name": "hide-menu-single-option",
2338
+ "type": {
2339
+ "text": "boolean"
2340
+ },
2341
+ "default": "false",
2342
+ "fieldName": "hideMenuSingleOption"
2343
+ }
2344
+ ],
2345
+ "superclass": {
2346
+ "name": "FoundationElement",
2347
+ "package": "@microsoft/fast-foundation"
2348
+ },
2349
+ "tagName": "%%prefix%%-actions-menu",
2350
+ "customElement": true
2351
+ },
2352
+ {
2353
+ "kind": "variable",
2354
+ "name": "foundationActionsMenu",
2355
+ "description": "The Foundation Actions Menu",
2356
+ "privacy": "public"
2357
+ }
2358
+ ],
2359
+ "exports": [
2360
+ {
2361
+ "kind": "js",
2362
+ "name": "ActionsMenu",
2363
+ "declaration": {
2364
+ "name": "ActionsMenu",
2365
+ "module": "src/actions-menu/actions-menu.ts"
2366
+ }
2367
+ },
2368
+ {
2369
+ "kind": "js",
2370
+ "name": "foundationActionsMenu",
2371
+ "declaration": {
2372
+ "name": "foundationActionsMenu",
2373
+ "module": "src/actions-menu/actions-menu.ts"
2374
+ }
2375
+ }
2376
+ ]
2377
+ },
2378
+ {
2379
+ "kind": "javascript-module",
2380
+ "path": "src/actions-menu/index.ts",
2381
+ "declarations": [],
2382
+ "exports": [
2383
+ {
2384
+ "kind": "js",
2385
+ "name": "*",
2386
+ "declaration": {
2387
+ "name": "*",
2388
+ "package": "./actions-menu.styles"
2389
+ }
2390
+ },
2391
+ {
2392
+ "kind": "js",
2393
+ "name": "*",
2394
+ "declaration": {
2395
+ "name": "*",
2396
+ "package": "./actions-menu.template"
2397
+ }
2398
+ },
2399
+ {
2400
+ "kind": "js",
2401
+ "name": "*",
2402
+ "declaration": {
2403
+ "name": "*",
2404
+ "package": "./actions-menu"
2405
+ }
2406
+ }
2407
+ ]
2408
+ },
2409
+ {
2410
+ "kind": "javascript-module",
2411
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2412
+ "declarations": [
2413
+ {
2414
+ "kind": "variable",
2415
+ "name": "foundationAiCriteriaSearchStyles",
2416
+ "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`"
2417
+ }
2418
+ ],
2419
+ "exports": [
2420
+ {
2421
+ "kind": "js",
2422
+ "name": "foundationAiCriteriaSearchStyles",
2423
+ "declaration": {
2424
+ "name": "foundationAiCriteriaSearchStyles",
2425
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2426
+ }
2427
+ }
2428
+ ]
2429
+ },
2430
+ {
2431
+ "kind": "javascript-module",
2432
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2433
+ "declarations": [
2434
+ {
2435
+ "kind": "variable",
2436
+ "name": "foundationAiCriteriaSearchTemplate",
2437
+ "type": {
2438
+ "text": "ViewTemplate<AiCriteriaSearch>"
2439
+ },
2440
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2441
+ }
2442
+ ],
2443
+ "exports": [
2444
+ {
2445
+ "kind": "js",
2446
+ "name": "foundationAiCriteriaSearchTemplate",
2447
+ "declaration": {
2448
+ "name": "foundationAiCriteriaSearchTemplate",
2449
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2450
+ }
2451
+ }
2452
+ ]
2453
+ },
2454
+ {
2455
+ "kind": "javascript-module",
2456
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2457
+ "declarations": [
2458
+ {
2459
+ "kind": "class",
2460
+ "description": "Natural-language criteria search input with AI interpretation.",
2461
+ "name": "AiCriteriaSearch",
2462
+ "members": [
2463
+ {
2464
+ "kind": "field",
2465
+ "name": "providerRegistry",
2466
+ "type": {
2467
+ "text": "AIProviderRegistry"
2468
+ }
2469
+ },
2470
+ {
2471
+ "kind": "field",
2472
+ "name": "placeholder",
2473
+ "type": {
2474
+ "text": "string"
2475
+ },
2476
+ "default": "'Describe your search criteria in natural language...'"
2477
+ },
2478
+ {
2479
+ "kind": "field",
2480
+ "name": "disabled",
2481
+ "type": {
2482
+ "text": "boolean"
2483
+ }
2484
+ },
2485
+ {
2486
+ "kind": "field",
2487
+ "name": "inputValue",
2488
+ "type": {
2489
+ "text": "string"
2490
+ },
2491
+ "default": "''"
2492
+ },
2493
+ {
2494
+ "kind": "field",
2495
+ "name": "isInterpreting",
2496
+ "type": {
2497
+ "text": "boolean"
2498
+ },
2499
+ "default": "false"
2500
+ },
2501
+ {
2502
+ "kind": "field",
2503
+ "name": "lastValidCriteria",
2504
+ "type": {
2505
+ "text": "string | null"
2506
+ },
2507
+ "default": "null"
2508
+ },
2509
+ {
2510
+ "kind": "field",
2511
+ "name": "activeGroups",
2512
+ "type": {
2513
+ "text": "CriteriaGroup[]"
2514
+ },
2515
+ "default": "[]"
2516
+ },
2517
+ {
2518
+ "kind": "field",
2519
+ "name": "showingChips",
2520
+ "type": {
2521
+ "text": "boolean"
2522
+ },
2523
+ "default": "false"
2524
+ },
2525
+ {
2526
+ "kind": "field",
2527
+ "name": "fieldMetadata",
2528
+ "type": {
2529
+ "text": "MetadataDetail[] | string[]"
2530
+ },
2531
+ "default": "[]"
2532
+ },
2533
+ {
2534
+ "kind": "field",
2535
+ "name": "isRecording",
2536
+ "type": {
2537
+ "text": "boolean"
2538
+ },
2539
+ "default": "false"
2540
+ },
2541
+ {
2542
+ "kind": "field",
2543
+ "name": "textAreaRef",
2544
+ "type": {
2545
+ "text": "HTMLTextAreaElement"
2546
+ },
2547
+ "privacy": "public"
2548
+ },
2549
+ {
2550
+ "kind": "field",
2551
+ "name": "stopRecording",
2552
+ "type": {
2553
+ "text": "(() => void) | null"
2554
+ },
2555
+ "privacy": "private",
2556
+ "default": "null"
2557
+ },
2558
+ {
2559
+ "kind": "field",
2560
+ "name": "speechApplyDebounceTimer",
2561
+ "type": {
2562
+ "text": "ReturnType<typeof setTimeout> | null"
2563
+ },
2564
+ "privacy": "private",
2565
+ "default": "null"
2566
+ },
2567
+ {
2568
+ "kind": "field",
2569
+ "name": "speechAvailable",
2570
+ "type": {
2571
+ "text": "boolean"
2572
+ },
2573
+ "readonly": true
2574
+ },
2575
+ {
2576
+ "kind": "field",
2577
+ "name": "criteriaChips",
2578
+ "type": {
2579
+ "text": "CriteriaChip[]"
2580
+ },
2581
+ "readonly": true
2582
+ },
2583
+ {
2584
+ "kind": "method",
2585
+ "name": "getFieldLabel",
2586
+ "privacy": "private",
2587
+ "return": {
2588
+ "type": {
2589
+ "text": "string"
2590
+ }
2591
+ },
2592
+ "parameters": [
2593
+ {
2594
+ "name": "fieldName",
2595
+ "type": {
2596
+ "text": "string"
2597
+ }
2598
+ }
2599
+ ]
2600
+ },
2601
+ {
2602
+ "kind": "method",
2603
+ "name": "toggleCriteriaView",
2604
+ "return": {
2605
+ "type": {
2606
+ "text": "void"
2607
+ }
2608
+ }
2609
+ },
2610
+ {
2611
+ "kind": "method",
2612
+ "name": "removeChip",
2613
+ "return": {
2614
+ "type": {
2615
+ "text": "void"
2616
+ }
2617
+ },
2618
+ "parameters": [
2619
+ {
2620
+ "name": "groupIndex",
2621
+ "type": {
2622
+ "text": "number"
2623
+ }
2624
+ },
2625
+ {
2626
+ "name": "clauseIndex",
2627
+ "type": {
2628
+ "text": "number"
2629
+ }
2630
+ }
2631
+ ]
2632
+ },
2633
+ {
2634
+ "kind": "method",
2635
+ "name": "clearChips",
2636
+ "return": {
2637
+ "type": {
2638
+ "text": "void"
2639
+ }
2640
+ }
2641
+ },
2642
+ {
2643
+ "kind": "method",
2644
+ "name": "handleSubmit"
2645
+ },
2646
+ {
2647
+ "kind": "method",
2648
+ "name": "handleBlur"
2649
+ },
2650
+ {
2651
+ "kind": "method",
2652
+ "name": "clear"
2653
+ },
2654
+ {
2655
+ "kind": "method",
2656
+ "name": "toggleSpeechInput"
2657
+ },
2658
+ {
2659
+ "kind": "method",
2660
+ "name": "clearSpeechApplyDebounce",
2661
+ "privacy": "private"
2095
2662
  },
2096
2663
  {
2097
2664
  "kind": "field",
@@ -2450,11 +3017,11 @@
2450
3017
  },
2451
3018
  {
2452
3019
  "kind": "javascript-module",
2453
- "path": "src/actions-menu/actions-menu.styles.ts",
3020
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2454
3021
  "declarations": [
2455
3022
  {
2456
3023
  "kind": "function",
2457
- "name": "actionsMenuBaseStyles",
3024
+ "name": "foundationAiIndicatorStyles",
2458
3025
  "return": {
2459
3026
  "type": {
2460
3027
  "text": "ElementStyles"
@@ -2474,297 +3041,230 @@
2474
3041
  }
2475
3042
  }
2476
3043
  ]
2477
- },
2478
- {
2479
- "kind": "function",
2480
- "name": "foundationActionsMenuStyles",
2481
- "return": {
2482
- "type": {
2483
- "text": "ElementStyles"
2484
- }
2485
- },
2486
- "parameters": [
2487
- {
2488
- "name": "context",
2489
- "type": {
2490
- "text": "ElementDefinitionContext"
2491
- }
2492
- },
2493
- {
2494
- "name": "definition",
2495
- "type": {
2496
- "text": "FoundationElementDefinition"
2497
- }
2498
- }
2499
- ]
2500
- }
2501
- ],
2502
- "exports": [
3044
+ }
3045
+ ],
3046
+ "exports": [
2503
3047
  {
2504
3048
  "kind": "js",
2505
- "name": "actionsMenuBaseStyles",
2506
- "declaration": {
2507
- "name": "actionsMenuBaseStyles",
2508
- "module": "src/actions-menu/actions-menu.styles.ts"
2509
- }
2510
- },
2511
- {
2512
- "kind": "js",
2513
- "name": "foundationActionsMenuStyles",
3049
+ "name": "foundationAiIndicatorStyles",
2514
3050
  "declaration": {
2515
- "name": "foundationActionsMenuStyles",
2516
- "module": "src/actions-menu/actions-menu.styles.ts"
3051
+ "name": "foundationAiIndicatorStyles",
3052
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2517
3053
  }
2518
3054
  }
2519
3055
  ]
2520
3056
  },
2521
3057
  {
2522
3058
  "kind": "javascript-module",
2523
- "path": "src/actions-menu/actions-menu.template.ts",
3059
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2524
3060
  "declarations": [
2525
- {
2526
- "kind": "function",
2527
- "name": "menuTemplate",
2528
- "parameters": [
2529
- {
2530
- "name": "prefix",
2531
- "type": {
2532
- "text": "string"
2533
- }
2534
- }
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
3061
  {
2550
3062
  "kind": "variable",
2551
- "name": "foundationActionsMenuTemplate",
3063
+ "name": "foundationAiIndicatorTemplate",
2552
3064
  "type": {
2553
- "text": "ViewTemplate<ActionsMenu>"
3065
+ "text": "ViewTemplate<AiIndicator>"
2554
3066
  },
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`"
3067
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2556
3068
  }
2557
3069
  ],
2558
3070
  "exports": [
2559
3071
  {
2560
3072
  "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",
3073
+ "name": "foundationAiIndicatorTemplate",
2578
3074
  "declaration": {
2579
- "name": "foundationActionsMenuTemplate",
2580
- "module": "src/actions-menu/actions-menu.template.ts"
3075
+ "name": "foundationAiIndicatorTemplate",
3076
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2581
3077
  }
2582
3078
  }
2583
3079
  ]
2584
3080
  },
2585
3081
  {
2586
3082
  "kind": "javascript-module",
2587
- "path": "src/actions-menu/actions-menu.ts",
3083
+ "path": "src/ai-indicator/ai-indicator.ts",
2588
3084
  "declarations": [
2589
3085
  {
2590
3086
  "kind": "class",
2591
3087
  "description": "",
2592
- "name": "ActionsMenu",
3088
+ "name": "AiIndicator",
2593
3089
  "members": [
2594
3090
  {
2595
3091
  "kind": "field",
2596
- "name": "actions",
3092
+ "name": "providerRegistry",
2597
3093
  "type": {
2598
- "text": "ActionMenuItem[]"
3094
+ "text": "AIProviderRegistry"
2599
3095
  }
2600
3096
  },
2601
3097
  {
2602
3098
  "kind": "field",
2603
- "name": "isVertical",
3099
+ "name": "aiProvider",
2604
3100
  "type": {
2605
- "text": "boolean"
3101
+ "text": "AIProvider | undefined"
2606
3102
  },
2607
- "default": "false"
3103
+ "privacy": "private",
3104
+ "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.",
3105
+ "readonly": true
2608
3106
  },
2609
3107
  {
2610
3108
  "kind": "field",
2611
- "name": "addDefaultActions",
3109
+ "name": "status",
2612
3110
  "type": {
2613
- "text": "boolean"
3111
+ "text": "AIStatus | null"
2614
3112
  },
2615
- "default": "true"
3113
+ "default": "null"
2616
3114
  },
2617
3115
  {
2618
3116
  "kind": "field",
2619
- "name": "autoCloseOnAction",
3117
+ "name": "open",
2620
3118
  "type": {
2621
3119
  "text": "boolean"
2622
3120
  },
2623
- "default": "true"
2624
- },
2625
- {
2626
- "kind": "field",
2627
- "name": "classNames",
2628
- "type": {
2629
- "text": "string"
2630
- }
3121
+ "default": "false"
2631
3122
  },
2632
3123
  {
2633
3124
  "kind": "field",
2634
- "name": "definition",
3125
+ "name": "state",
2635
3126
  "type": {
2636
- "text": "any"
2637
- }
3127
+ "text": "AIIndicatorState"
3128
+ },
3129
+ "default": "'none'"
2638
3130
  },
2639
3131
  {
2640
3132
  "kind": "field",
2641
- "name": "name",
3133
+ "name": "isInstalling",
2642
3134
  "type": {
2643
- "text": "string"
3135
+ "text": "boolean"
2644
3136
  },
2645
- "default": "'Actions'"
3137
+ "default": "false"
2646
3138
  },
2647
3139
  {
2648
3140
  "kind": "field",
2649
- "name": "open",
3141
+ "name": "pollTimer",
2650
3142
  "type": {
2651
- "text": "boolean"
3143
+ "text": "ReturnType<typeof setInterval> | null"
2652
3144
  },
2653
- "default": "false"
3145
+ "privacy": "private",
3146
+ "default": "null"
2654
3147
  },
2655
3148
  {
2656
3149
  "kind": "field",
2657
- "name": "buttonAppearance",
2658
- "type": {
2659
- "text": "string"
2660
- }
3150
+ "name": "clickOutside",
3151
+ "privacy": "private"
2661
3152
  },
2662
3153
  {
2663
3154
  "kind": "field",
2664
- "name": "hideDisabled",
3155
+ "name": "chromeStatusLabel",
2665
3156
  "type": {
2666
- "text": "boolean"
3157
+ "text": "string | null"
2667
3158
  },
2668
- "default": "false"
3159
+ "readonly": true
2669
3160
  },
2670
3161
  {
2671
3162
  "kind": "field",
2672
- "name": "hideMenuSingleOption",
3163
+ "name": "canInstall",
2673
3164
  "type": {
2674
3165
  "text": "boolean"
2675
3166
  },
2676
- "default": "false"
3167
+ "readonly": true
2677
3168
  },
2678
3169
  {
2679
3170
  "kind": "field",
2680
- "name": "singleOption",
3171
+ "name": "isDownloading",
2681
3172
  "type": {
2682
- "text": "ActionMenuItem"
2683
- }
3173
+ "text": "boolean"
3174
+ },
3175
+ "readonly": true
2684
3176
  },
2685
3177
  {
2686
- "kind": "field",
2687
- "name": "actionsMenu",
2688
- "type": {
2689
- "text": "HTMLElement"
3178
+ "kind": "method",
3179
+ "name": "openChanged",
3180
+ "return": {
3181
+ "type": {
3182
+ "text": "void"
3183
+ }
2690
3184
  }
2691
3185
  },
2692
3186
  {
2693
3187
  "kind": "method",
2694
- "name": "definitionChanged",
2695
- "privacy": "protected",
3188
+ "name": "handleClickOutside",
3189
+ "privacy": "private",
2696
3190
  "parameters": [
2697
3191
  {
2698
- "name": "oldValue",
2699
- "type": {
2700
- "text": "any"
2701
- }
2702
- },
2703
- {
2704
- "name": "newValue",
3192
+ "name": "event",
2705
3193
  "type": {
2706
- "text": "any"
3194
+ "text": "MouseEvent"
2707
3195
  }
2708
3196
  }
2709
3197
  ]
2710
3198
  },
2711
3199
  {
2712
3200
  "kind": "method",
2713
- "name": "openChanged",
2714
- "privacy": "protected"
3201
+ "name": "toggleDropdown"
2715
3202
  },
2716
3203
  {
2717
3204
  "kind": "method",
2718
- "name": "toggleActionsMenuVisibility"
3205
+ "name": "refreshStatus",
3206
+ "return": {
3207
+ "type": {
3208
+ "text": "Promise<void>"
3209
+ }
3210
+ }
2719
3211
  },
2720
3212
  {
2721
3213
  "kind": "method",
2722
- "name": "onActionMenuItemClick",
3214
+ "name": "deriveState",
3215
+ "privacy": "private",
3216
+ "return": {
3217
+ "type": {
3218
+ "text": "AIIndicatorState"
3219
+ }
3220
+ },
2723
3221
  "parameters": [
2724
3222
  {
2725
- "name": "callback",
3223
+ "name": "s",
2726
3224
  "type": {
2727
- "text": "(rowData) => void | any"
3225
+ "text": "AIStatus | null"
2728
3226
  }
2729
3227
  }
2730
3228
  ]
2731
3229
  },
2732
3230
  {
2733
- "kind": "field",
2734
- "name": "allActions",
2735
- "type": {
2736
- "text": "ActionMenuItem[]"
2737
- },
2738
- "readonly": true
3231
+ "kind": "method",
3232
+ "name": "maybeStartPolling",
3233
+ "privacy": "private",
3234
+ "return": {
3235
+ "type": {
3236
+ "text": "void"
3237
+ }
3238
+ }
2739
3239
  },
2740
3240
  {
2741
- "kind": "field",
2742
- "name": "rowData",
2743
- "readonly": true
3241
+ "kind": "method",
3242
+ "name": "startPolling",
3243
+ "privacy": "private",
3244
+ "return": {
3245
+ "type": {
3246
+ "text": "void"
3247
+ }
3248
+ }
2744
3249
  },
2745
3250
  {
2746
3251
  "kind": "method",
2747
- "name": "getLabel",
2748
- "parameters": [
2749
- {
2750
- "name": "name",
2751
- "type": {
2752
- "text": "string | ((rowData: any) => string)"
2753
- }
3252
+ "name": "stopPolling",
3253
+ "privacy": "private",
3254
+ "return": {
3255
+ "type": {
3256
+ "text": "void"
2754
3257
  }
2755
- ]
3258
+ }
2756
3259
  },
2757
3260
  {
2758
3261
  "kind": "method",
2759
- "name": "getTemplate",
2760
- "parameters": [
2761
- {
2762
- "name": "prefix",
2763
- "type": {
2764
- "text": "string"
2765
- }
3262
+ "name": "onInstall",
3263
+ "return": {
3264
+ "type": {
3265
+ "text": "Promise<void>"
2766
3266
  }
2767
- ]
3267
+ }
2768
3268
  },
2769
3269
  {
2770
3270
  "kind": "field",
@@ -2878,142 +3378,99 @@
2878
3378
  }
2879
3379
  }
2880
3380
  ],
2881
- "attributes": [
2882
- {
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"
2944
- }
2945
- ],
2946
3381
  "superclass": {
2947
3382
  "name": "FoundationElement",
2948
3383
  "package": "@microsoft/fast-foundation"
2949
3384
  },
2950
- "tagName": "%%prefix%%-actions-menu",
3385
+ "tagName": "%%prefix%%-ai-indicator",
2951
3386
  "customElement": true
2952
3387
  },
2953
3388
  {
2954
3389
  "kind": "variable",
2955
- "name": "foundationActionsMenu",
2956
- "description": "The Foundation Actions Menu",
2957
- "privacy": "public"
3390
+ "name": "foundationAiIndicator"
2958
3391
  }
2959
3392
  ],
2960
3393
  "exports": [
2961
3394
  {
2962
3395
  "kind": "js",
2963
- "name": "ActionsMenu",
3396
+ "name": "AiIndicator",
2964
3397
  "declaration": {
2965
- "name": "ActionsMenu",
2966
- "module": "src/actions-menu/actions-menu.ts"
3398
+ "name": "AiIndicator",
3399
+ "module": "src/ai-indicator/ai-indicator.ts"
2967
3400
  }
2968
3401
  },
2969
3402
  {
2970
3403
  "kind": "js",
2971
- "name": "foundationActionsMenu",
3404
+ "name": "foundationAiIndicator",
2972
3405
  "declaration": {
2973
- "name": "foundationActionsMenu",
2974
- "module": "src/actions-menu/actions-menu.ts"
3406
+ "name": "foundationAiIndicator",
3407
+ "module": "src/ai-indicator/ai-indicator.ts"
2975
3408
  }
2976
3409
  }
2977
3410
  ]
2978
3411
  },
2979
3412
  {
2980
3413
  "kind": "javascript-module",
2981
- "path": "src/actions-menu/index.ts",
3414
+ "path": "src/ai-indicator/index.ts",
2982
3415
  "declarations": [],
2983
3416
  "exports": [
2984
3417
  {
2985
3418
  "kind": "js",
2986
- "name": "*",
3419
+ "name": "AiIndicator",
2987
3420
  "declaration": {
2988
- "name": "*",
2989
- "package": "./actions-menu.styles"
3421
+ "name": "AiIndicator",
3422
+ "module": "./ai-indicator"
2990
3423
  }
2991
3424
  },
2992
3425
  {
2993
3426
  "kind": "js",
2994
- "name": "*",
3427
+ "name": "foundationAiIndicator",
2995
3428
  "declaration": {
2996
- "name": "*",
2997
- "package": "./actions-menu.template"
3429
+ "name": "foundationAiIndicator",
3430
+ "module": "./ai-indicator"
2998
3431
  }
2999
3432
  },
3000
3433
  {
3001
3434
  "kind": "js",
3002
- "name": "*",
3435
+ "name": "type",
3003
3436
  "declaration": {
3004
- "name": "*",
3005
- "package": "./actions-menu"
3437
+ "name": "type",
3438
+ "module": "./ai-indicator"
3439
+ }
3440
+ },
3441
+ {
3442
+ "kind": "js",
3443
+ "name": "AIIndicatorState",
3444
+ "declaration": {
3445
+ "name": "AIIndicatorState",
3446
+ "module": "./ai-indicator"
3447
+ }
3448
+ },
3449
+ {
3450
+ "kind": "js",
3451
+ "name": "foundationAiIndicatorTemplate",
3452
+ "declaration": {
3453
+ "name": "foundationAiIndicatorTemplate",
3454
+ "module": "./ai-indicator.template"
3455
+ }
3456
+ },
3457
+ {
3458
+ "kind": "js",
3459
+ "name": "foundationAiIndicatorStyles",
3460
+ "declaration": {
3461
+ "name": "foundationAiIndicatorStyles",
3462
+ "module": "./ai-indicator.styles"
3006
3463
  }
3007
3464
  }
3008
3465
  ]
3009
3466
  },
3010
3467
  {
3011
3468
  "kind": "javascript-module",
3012
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3469
+ "path": "src/accordion/accordion.styles.ts",
3013
3470
  "declarations": [
3014
3471
  {
3015
3472
  "kind": "function",
3016
- "name": "foundationAiIndicatorStyles",
3473
+ "name": "foundationAccordionStyles",
3017
3474
  "return": {
3018
3475
  "type": {
3019
3476
  "text": "ElementStyles"
@@ -3038,589 +3495,140 @@
3038
3495
  "exports": [
3039
3496
  {
3040
3497
  "kind": "js",
3041
- "name": "foundationAiIndicatorStyles",
3498
+ "name": "foundationAccordionStyles",
3042
3499
  "declaration": {
3043
- "name": "foundationAiIndicatorStyles",
3044
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3500
+ "name": "foundationAccordionStyles",
3501
+ "module": "src/accordion/accordion.styles.ts"
3045
3502
  }
3046
3503
  }
3047
3504
  ]
3048
3505
  },
3049
3506
  {
3050
3507
  "kind": "javascript-module",
3051
- "path": "src/ai-indicator/ai-indicator.template.ts",
3508
+ "path": "src/accordion/accordion.template.ts",
3052
3509
  "declarations": [
3053
3510
  {
3054
- "kind": "variable",
3055
- "name": "foundationAiIndicatorTemplate",
3056
- "type": {
3057
- "text": "ViewTemplate<AiIndicator>"
3511
+ "kind": "function",
3512
+ "name": "foundationAccordionTemplate",
3513
+ "return": {
3514
+ "type": {
3515
+ "text": "ViewTemplate<Accordion>"
3516
+ }
3058
3517
  },
3059
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3518
+ "parameters": [
3519
+ {
3520
+ "name": "context",
3521
+ "type": {
3522
+ "text": "ElementDefinitionContext"
3523
+ }
3524
+ },
3525
+ {
3526
+ "name": "definition",
3527
+ "type": {
3528
+ "text": "FoundationElementDefinition"
3529
+ }
3530
+ }
3531
+ ]
3060
3532
  }
3061
3533
  ],
3062
3534
  "exports": [
3063
3535
  {
3064
3536
  "kind": "js",
3065
- "name": "foundationAiIndicatorTemplate",
3537
+ "name": "foundationAccordionTemplate",
3066
3538
  "declaration": {
3067
- "name": "foundationAiIndicatorTemplate",
3068
- "module": "src/ai-indicator/ai-indicator.template.ts"
3539
+ "name": "foundationAccordionTemplate",
3540
+ "module": "src/accordion/accordion.template.ts"
3069
3541
  }
3070
3542
  }
3071
3543
  ]
3072
3544
  },
3073
3545
  {
3074
3546
  "kind": "javascript-module",
3075
- "path": "src/ai-indicator/ai-indicator.ts",
3547
+ "path": "src/accordion/accordion.ts",
3076
3548
  "declarations": [
3077
3549
  {
3078
3550
  "kind": "class",
3079
3551
  "description": "",
3080
- "name": "AiIndicator",
3081
- "members": [
3552
+ "name": "Accordion",
3553
+ "superclass": {
3554
+ "name": "FASTAccordion",
3555
+ "package": "@microsoft/fast-foundation"
3556
+ },
3557
+ "tagName": "%%prefix%%-accordion",
3558
+ "customElement": true,
3559
+ "attributes": [
3082
3560
  {
3083
- "kind": "field",
3084
- "name": "providerRegistry",
3561
+ "name": "expand-mode",
3085
3562
  "type": {
3086
- "text": "AIProviderRegistry"
3563
+ "text": "AccordionExpandMode"
3564
+ },
3565
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3566
+ "fieldName": "expandmode",
3567
+ "inheritedFrom": {
3568
+ "name": "Accordion",
3569
+ "module": "src/accordion/accordion.ts"
3087
3570
  }
3088
- },
3571
+ }
3572
+ ],
3573
+ "members": [
3089
3574
  {
3090
3575
  "kind": "field",
3091
- "name": "aiProvider",
3576
+ "name": "expandmode",
3092
3577
  "type": {
3093
- "text": "AIProvider | undefined"
3578
+ "text": "AccordionExpandMode"
3094
3579
  },
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
3580
+ "privacy": "public",
3581
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3582
+ "inheritedFrom": {
3583
+ "name": "Accordion",
3584
+ "module": "src/accordion/accordion.ts"
3585
+ }
3098
3586
  },
3099
3587
  {
3100
3588
  "kind": "field",
3101
- "name": "status",
3589
+ "name": "activeid",
3102
3590
  "type": {
3103
- "text": "AIStatus | null"
3591
+ "text": "string | null"
3104
3592
  },
3105
- "default": "null"
3593
+ "privacy": "private",
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3597
+ }
3106
3598
  },
3107
3599
  {
3108
3600
  "kind": "field",
3109
- "name": "open",
3601
+ "name": "activeItemIndex",
3110
3602
  "type": {
3111
- "text": "boolean"
3603
+ "text": "number"
3112
3604
  },
3113
- "default": "false"
3605
+ "privacy": "private",
3606
+ "default": "0",
3607
+ "inheritedFrom": {
3608
+ "name": "Accordion",
3609
+ "module": "src/accordion/accordion.ts"
3610
+ }
3114
3611
  },
3115
3612
  {
3116
3613
  "kind": "field",
3117
- "name": "state",
3614
+ "name": "accordionIds",
3118
3615
  "type": {
3119
- "text": "AIIndicatorState"
3616
+ "text": "Array<string | null>"
3120
3617
  },
3121
- "default": "'none'"
3618
+ "privacy": "private",
3619
+ "inheritedFrom": {
3620
+ "name": "Accordion",
3621
+ "module": "src/accordion/accordion.ts"
3622
+ }
3122
3623
  },
3123
3624
  {
3124
3625
  "kind": "field",
3125
- "name": "isInstalling",
3126
- "type": {
3127
- "text": "boolean"
3128
- },
3129
- "default": "false"
3130
- },
3131
- {
3132
- "kind": "field",
3133
- "name": "pollTimer",
3134
- "type": {
3135
- "text": "ReturnType<typeof setInterval> | null"
3136
- },
3137
- "privacy": "private",
3138
- "default": "null"
3139
- },
3140
- {
3141
- "kind": "field",
3142
- "name": "clickOutside",
3143
- "privacy": "private"
3144
- },
3145
- {
3146
- "kind": "field",
3147
- "name": "chromeStatusLabel",
3148
- "type": {
3149
- "text": "string | null"
3150
- },
3151
- "readonly": true
3152
- },
3153
- {
3154
- "kind": "field",
3155
- "name": "canInstall",
3156
- "type": {
3157
- "text": "boolean"
3158
- },
3159
- "readonly": true
3160
- },
3161
- {
3162
- "kind": "field",
3163
- "name": "isDownloading",
3164
- "type": {
3165
- "text": "boolean"
3166
- },
3167
- "readonly": true
3168
- },
3169
- {
3170
- "kind": "method",
3171
- "name": "openChanged",
3172
- "return": {
3173
- "type": {
3174
- "text": "void"
3175
- }
3176
- }
3177
- },
3178
- {
3179
- "kind": "method",
3180
- "name": "handleClickOutside",
3181
- "privacy": "private",
3182
- "parameters": [
3183
- {
3184
- "name": "event",
3185
- "type": {
3186
- "text": "MouseEvent"
3187
- }
3188
- }
3189
- ]
3190
- },
3191
- {
3192
- "kind": "method",
3193
- "name": "toggleDropdown"
3194
- },
3195
- {
3196
- "kind": "method",
3197
- "name": "refreshStatus",
3198
- "return": {
3199
- "type": {
3200
- "text": "Promise<void>"
3201
- }
3202
- }
3203
- },
3204
- {
3205
- "kind": "method",
3206
- "name": "deriveState",
3207
- "privacy": "private",
3208
- "return": {
3209
- "type": {
3210
- "text": "AIIndicatorState"
3211
- }
3212
- },
3213
- "parameters": [
3214
- {
3215
- "name": "s",
3216
- "type": {
3217
- "text": "AIStatus | null"
3218
- }
3219
- }
3220
- ]
3221
- },
3222
- {
3223
- "kind": "method",
3224
- "name": "maybeStartPolling",
3225
- "privacy": "private",
3226
- "return": {
3227
- "type": {
3228
- "text": "void"
3229
- }
3230
- }
3231
- },
3232
- {
3233
- "kind": "method",
3234
- "name": "startPolling",
3235
- "privacy": "private",
3236
- "return": {
3237
- "type": {
3238
- "text": "void"
3239
- }
3240
- }
3241
- },
3242
- {
3243
- "kind": "method",
3244
- "name": "stopPolling",
3245
- "privacy": "private",
3246
- "return": {
3247
- "type": {
3248
- "text": "void"
3249
- }
3250
- }
3251
- },
3252
- {
3253
- "kind": "method",
3254
- "name": "onInstall",
3255
- "return": {
3256
- "type": {
3257
- "text": "Promise<void>"
3258
- }
3259
- }
3260
- },
3261
- {
3262
- "kind": "field",
3263
- "name": "_presentation",
3264
- "type": {
3265
- "text": "ComponentPresentation | null | undefined"
3266
- },
3267
- "privacy": "private",
3268
- "default": "void 0",
3269
- "inheritedFrom": {
3270
- "name": "FoundationElement",
3271
- "module": "src/foundation-element/foundation-element.ts"
3272
- }
3273
- },
3274
- {
3275
- "kind": "field",
3276
- "name": "$presentation",
3277
- "type": {
3278
- "text": "ComponentPresentation | null"
3279
- },
3280
- "privacy": "public",
3281
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3282
- "inheritedFrom": {
3283
- "name": "FoundationElement",
3284
- "module": "src/foundation-element/foundation-element.ts"
3285
- }
3286
- },
3287
- {
3288
- "kind": "field",
3289
- "name": "template",
3290
- "type": {
3291
- "text": "ElementViewTemplate | void | null"
3292
- },
3293
- "privacy": "public",
3294
- "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.",
3295
- "inheritedFrom": {
3296
- "name": "FoundationElement",
3297
- "module": "src/foundation-element/foundation-element.ts"
3298
- }
3299
- },
3300
- {
3301
- "kind": "method",
3302
- "name": "templateChanged",
3303
- "privacy": "protected",
3304
- "return": {
3305
- "type": {
3306
- "text": "void"
3307
- }
3308
- },
3309
- "inheritedFrom": {
3310
- "name": "FoundationElement",
3311
- "module": "src/foundation-element/foundation-element.ts"
3312
- }
3313
- },
3314
- {
3315
- "kind": "field",
3316
- "name": "styles",
3317
- "type": {
3318
- "text": "ElementStyles | void | null"
3319
- },
3320
- "privacy": "public",
3321
- "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.",
3322
- "inheritedFrom": {
3323
- "name": "FoundationElement",
3324
- "module": "src/foundation-element/foundation-element.ts"
3325
- }
3326
- },
3327
- {
3328
- "kind": "method",
3329
- "name": "stylesChanged",
3330
- "privacy": "protected",
3331
- "return": {
3332
- "type": {
3333
- "text": "void"
3334
- }
3335
- },
3336
- "inheritedFrom": {
3337
- "name": "FoundationElement",
3338
- "module": "src/foundation-element/foundation-element.ts"
3339
- }
3340
- },
3341
- {
3342
- "kind": "method",
3343
- "name": "compose",
3344
- "privacy": "public",
3345
- "static": true,
3346
- "return": {
3347
- "type": {
3348
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3349
- }
3350
- },
3351
- "parameters": [
3352
- {
3353
- "name": "this",
3354
- "type": {
3355
- "text": "K"
3356
- }
3357
- },
3358
- {
3359
- "name": "elementDefinition",
3360
- "type": {
3361
- "text": "T"
3362
- },
3363
- "description": "The definition of the element to create the registry\nfunction for."
3364
- }
3365
- ],
3366
- "description": "Defines an element registry function with a set of element definition defaults.",
3367
- "inheritedFrom": {
3368
- "name": "FoundationElement",
3369
- "module": "src/foundation-element/foundation-element.ts"
3370
- }
3371
- }
3372
- ],
3373
- "superclass": {
3374
- "name": "FoundationElement",
3375
- "package": "@microsoft/fast-foundation"
3376
- },
3377
- "tagName": "%%prefix%%-ai-indicator",
3378
- "customElement": true
3379
- },
3380
- {
3381
- "kind": "variable",
3382
- "name": "foundationAiIndicator"
3383
- }
3384
- ],
3385
- "exports": [
3386
- {
3387
- "kind": "js",
3388
- "name": "AiIndicator",
3389
- "declaration": {
3390
- "name": "AiIndicator",
3391
- "module": "src/ai-indicator/ai-indicator.ts"
3392
- }
3393
- },
3394
- {
3395
- "kind": "js",
3396
- "name": "foundationAiIndicator",
3397
- "declaration": {
3398
- "name": "foundationAiIndicator",
3399
- "module": "src/ai-indicator/ai-indicator.ts"
3400
- }
3401
- }
3402
- ]
3403
- },
3404
- {
3405
- "kind": "javascript-module",
3406
- "path": "src/ai-indicator/index.ts",
3407
- "declarations": [],
3408
- "exports": [
3409
- {
3410
- "kind": "js",
3411
- "name": "AiIndicator",
3412
- "declaration": {
3413
- "name": "AiIndicator",
3414
- "module": "./ai-indicator"
3415
- }
3416
- },
3417
- {
3418
- "kind": "js",
3419
- "name": "foundationAiIndicator",
3420
- "declaration": {
3421
- "name": "foundationAiIndicator",
3422
- "module": "./ai-indicator"
3423
- }
3424
- },
3425
- {
3426
- "kind": "js",
3427
- "name": "type",
3428
- "declaration": {
3429
- "name": "type",
3430
- "module": "./ai-indicator"
3431
- }
3432
- },
3433
- {
3434
- "kind": "js",
3435
- "name": "AIIndicatorState",
3436
- "declaration": {
3437
- "name": "AIIndicatorState",
3438
- "module": "./ai-indicator"
3439
- }
3440
- },
3441
- {
3442
- "kind": "js",
3443
- "name": "foundationAiIndicatorTemplate",
3444
- "declaration": {
3445
- "name": "foundationAiIndicatorTemplate",
3446
- "module": "./ai-indicator.template"
3447
- }
3448
- },
3449
- {
3450
- "kind": "js",
3451
- "name": "foundationAiIndicatorStyles",
3452
- "declaration": {
3453
- "name": "foundationAiIndicatorStyles",
3454
- "module": "./ai-indicator.styles"
3455
- }
3456
- }
3457
- ]
3458
- },
3459
- {
3460
- "kind": "javascript-module",
3461
- "path": "src/accordion/accordion.styles.ts",
3462
- "declarations": [
3463
- {
3464
- "kind": "function",
3465
- "name": "foundationAccordionStyles",
3466
- "return": {
3467
- "type": {
3468
- "text": "ElementStyles"
3469
- }
3470
- },
3471
- "parameters": [
3472
- {
3473
- "name": "context",
3474
- "type": {
3475
- "text": "ElementDefinitionContext"
3476
- }
3477
- },
3478
- {
3479
- "name": "definition",
3480
- "type": {
3481
- "text": "FoundationElementDefinition"
3482
- }
3483
- }
3484
- ]
3485
- }
3486
- ],
3487
- "exports": [
3488
- {
3489
- "kind": "js",
3490
- "name": "foundationAccordionStyles",
3491
- "declaration": {
3492
- "name": "foundationAccordionStyles",
3493
- "module": "src/accordion/accordion.styles.ts"
3494
- }
3495
- }
3496
- ]
3497
- },
3498
- {
3499
- "kind": "javascript-module",
3500
- "path": "src/accordion/accordion.template.ts",
3501
- "declarations": [
3502
- {
3503
- "kind": "function",
3504
- "name": "foundationAccordionTemplate",
3505
- "return": {
3506
- "type": {
3507
- "text": "ViewTemplate<Accordion>"
3508
- }
3509
- },
3510
- "parameters": [
3511
- {
3512
- "name": "context",
3513
- "type": {
3514
- "text": "ElementDefinitionContext"
3515
- }
3516
- },
3517
- {
3518
- "name": "definition",
3519
- "type": {
3520
- "text": "FoundationElementDefinition"
3521
- }
3522
- }
3523
- ]
3524
- }
3525
- ],
3526
- "exports": [
3527
- {
3528
- "kind": "js",
3529
- "name": "foundationAccordionTemplate",
3530
- "declaration": {
3531
- "name": "foundationAccordionTemplate",
3532
- "module": "src/accordion/accordion.template.ts"
3533
- }
3534
- }
3535
- ]
3536
- },
3537
- {
3538
- "kind": "javascript-module",
3539
- "path": "src/accordion/accordion.ts",
3540
- "declarations": [
3541
- {
3542
- "kind": "class",
3543
- "description": "",
3544
- "name": "Accordion",
3545
- "superclass": {
3546
- "name": "FASTAccordion",
3547
- "package": "@microsoft/fast-foundation"
3548
- },
3549
- "tagName": "%%prefix%%-accordion",
3550
- "customElement": true,
3551
- "attributes": [
3552
- {
3553
- "name": "expand-mode",
3554
- "type": {
3555
- "text": "AccordionExpandMode"
3556
- },
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": [
3566
- {
3567
- "kind": "field",
3568
- "name": "expandmode",
3569
- "type": {
3570
- "text": "AccordionExpandMode"
3571
- },
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
- }
3578
- },
3579
- {
3580
- "kind": "field",
3581
- "name": "activeid",
3582
- "type": {
3583
- "text": "string | null"
3584
- },
3585
- "privacy": "private",
3586
- "inheritedFrom": {
3587
- "name": "Accordion",
3588
- "module": "src/accordion/accordion.ts"
3589
- }
3590
- },
3591
- {
3592
- "kind": "field",
3593
- "name": "activeItemIndex",
3594
- "type": {
3595
- "text": "number"
3596
- },
3597
- "privacy": "private",
3598
- "default": "0",
3599
- "inheritedFrom": {
3600
- "name": "Accordion",
3601
- "module": "src/accordion/accordion.ts"
3602
- }
3603
- },
3604
- {
3605
- "kind": "field",
3606
- "name": "accordionIds",
3607
- "type": {
3608
- "text": "Array<string | null>"
3609
- },
3610
- "privacy": "private",
3611
- "inheritedFrom": {
3612
- "name": "Accordion",
3613
- "module": "src/accordion/accordion.ts"
3614
- }
3615
- },
3616
- {
3617
- "kind": "field",
3618
- "name": "change",
3619
- "privacy": "private",
3620
- "inheritedFrom": {
3621
- "name": "Accordion",
3622
- "module": "src/accordion/accordion.ts"
3623
- }
3626
+ "name": "change",
3627
+ "privacy": "private",
3628
+ "inheritedFrom": {
3629
+ "name": "Accordion",
3630
+ "module": "src/accordion/accordion.ts"
3631
+ }
3624
3632
  },
3625
3633
  {
3626
3634
  "kind": "method",
@@ -59123,6 +59131,797 @@
59123
59131
  }
59124
59132
  ]
59125
59133
  },
59134
+ {
59135
+ "kind": "javascript-module",
59136
+ "path": "src/verification-code-input/index.ts",
59137
+ "declarations": [],
59138
+ "exports": [
59139
+ {
59140
+ "kind": "js",
59141
+ "name": "*",
59142
+ "declaration": {
59143
+ "name": "*",
59144
+ "package": "./verification-code-input"
59145
+ }
59146
+ },
59147
+ {
59148
+ "kind": "js",
59149
+ "name": "*",
59150
+ "declaration": {
59151
+ "name": "*",
59152
+ "package": "./verification-code-input.template"
59153
+ }
59154
+ },
59155
+ {
59156
+ "kind": "js",
59157
+ "name": "*",
59158
+ "declaration": {
59159
+ "name": "*",
59160
+ "package": "./verification-code-input.styles"
59161
+ }
59162
+ }
59163
+ ]
59164
+ },
59165
+ {
59166
+ "kind": "javascript-module",
59167
+ "path": "src/verification-code-input/verification-code-input.styles.ts",
59168
+ "declarations": [
59169
+ {
59170
+ "kind": "variable",
59171
+ "name": "foundationVerificationCodeInputStyles",
59172
+ "type": {
59173
+ "text": "ElementStyles"
59174
+ },
59175
+ "default": "css`\n :host {\n display: block;\n font-family: var(--body-font);\n outline: none;\n }\n\n .label {\n display: block;\n color: var(--neutral-foreground-rest);\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n margin-bottom: 4px;\n }\n\n .label-hidden {\n display: none;\n }\n\n :host([readonly]) .label {\n cursor: var(--disabled-cursor);\n }\n\n .container {\n display: flex;\n gap: calc(var(--design-unit) * 1px);\n align-items: center;\n }\n\n .digit {\n display: inline-block;\n box-sizing: border-box;\n outline: none;\n min-width: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .root {\n box-sizing: border-box;\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n color: var(--neutral-foreground-rest);\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border: calc(var(--stroke-width) * 1px) solid var(--accent-fill-rest);\n height: calc(\n (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px\n );\n }\n\n .digit .control {\n appearance: none;\n font: inherit;\n background: transparent;\n border: 0;\n color: inherit;\n height: calc(100% - 4px);\n width: 100%;\n margin-top: auto;\n margin-bottom: auto;\n padding: 0 calc(var(--design-unit) * 2px + 1px);\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n text-align: center;\n outline: none;\n color-scheme: ${activeColorScheme};\n }\n\n .digit[appearance='filled'] .root {\n background: var(--neutral-fill-rest);\n }\n\n .digit.error .root {\n border-color: var(--error-fill-rest);\n }\n\n .digit.disabled {\n opacity: var(--disabled-opacity);\n cursor: var(--disabled-cursor);\n }\n\n .digit.disabled .control {\n cursor: var(--disabled-cursor);\n }\n\n .digit:hover:not(.disabled) .root {\n background: var(--neutral-fill-input-hover);\n border-color: var(--accent-fill-hover);\n }\n\n .digit:focus-within:not(.disabled) .root {\n border-color: var(--focus-stroke-outer);\n box-shadow: 0 0 0 calc(var(--focus-stroke-width) * 1px) var(--focus-stroke-outer) inset;\n }\n\n .digit[appearance='filled']:hover:not(.disabled) .root {\n background: var(--neutral-fill-hover);\n }\n\n ${sharedFieldStyles}\n`"
59176
+ }
59177
+ ],
59178
+ "exports": [
59179
+ {
59180
+ "kind": "js",
59181
+ "name": "foundationVerificationCodeInputStyles",
59182
+ "declaration": {
59183
+ "name": "foundationVerificationCodeInputStyles",
59184
+ "module": "src/verification-code-input/verification-code-input.styles.ts"
59185
+ }
59186
+ }
59187
+ ]
59188
+ },
59189
+ {
59190
+ "kind": "javascript-module",
59191
+ "path": "src/verification-code-input/verification-code-input.template.ts",
59192
+ "declarations": [
59193
+ {
59194
+ "kind": "variable",
59195
+ "name": "foundationVerificationCodeInputTemplate",
59196
+ "default": "html<VerificationCodeInput>`\n <label\n part=\"label\"\n id=\"${(x) => x.labelId}\"\n for=\"${(x) => x.getControlId(0)}\"\n class=\"${(x) =>\n x.defaultSlottedNodes && x.defaultSlottedNodes.length ? 'label' : 'label label-hidden'}\"\n >\n <slot\n ${slotted({\n property: 'defaultSlottedNodes',\n filter: whitespaceFilter,\n })}\n ></slot>\n </label>\n <div\n class=\"container\"\n role=\"group\"\n aria-labelledby=\"${(x) => (x.hasLabel ? x.labelId : void 0)}\"\n aria-label=\"${(x) => (x.hasLabel ? void 0 : 'Verification code')}\"\n >\n ${repeat(\n (x) => x.digitsIndexes,\n html`\n <div\n class=\"digit ${(x, c) => (c.parent as VerificationCodeInput).digitClassnames}\"\n data-digit-index=\"${(x) => x}\"\n appearance=\"${(x, c) => (c.parent as VerificationCodeInput).appearance}\"\n >\n <div class=\"root\" part=\"root\">\n <div class=\"control-field\">\n <input\n class=\"control\"\n part=\"control\"\n type=\"text\"\n inputmode=\"numeric\"\n pattern=\"[0-9]*\"\n name=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n autocomplete=\"${(x) => (x === 0 ? 'one-time-code' : 'off')}\"\n data-test-id=\"${(x, c) => (c.parent as VerificationCodeInput).getControlId(x)}\"\n title=\"Only numbers are allowed\"\n maxlength=\"1\"\n ?autofocus=\"${(x, c) => (c.parent as VerificationCodeInput).autofocus && x === 0}\"\n ?readonly=\"${(x, c) => (c.parent as VerificationCodeInput).readOnly}\"\n ?disabled=\"${(x, c) =>\n (c.parent as VerificationCodeInput).disabled ||\n (c.parent as VerificationCodeInput).readOnly}\"\n ?aria-required=\"${(x, c) => (c.parent as VerificationCodeInput).required}\"\n ?aria-invalid=\"${(x, c) => (c.parent as VerificationCodeInput).error}\"\n />\n </div>\n </div>\n </div>\n `,\n )}\n </div>\n`"
59197
+ }
59198
+ ],
59199
+ "exports": [
59200
+ {
59201
+ "kind": "js",
59202
+ "name": "foundationVerificationCodeInputTemplate",
59203
+ "declaration": {
59204
+ "name": "foundationVerificationCodeInputTemplate",
59205
+ "module": "src/verification-code-input/verification-code-input.template.ts"
59206
+ }
59207
+ }
59208
+ ]
59209
+ },
59210
+ {
59211
+ "kind": "javascript-module",
59212
+ "path": "src/verification-code-input/verification-code-input.ts",
59213
+ "declarations": [
59214
+ {
59215
+ "kind": "variable",
59216
+ "name": "foundationVerificationCodeInputShadowOptions",
59217
+ "type": {
59218
+ "text": "ShadowRootInit"
59219
+ },
59220
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
59221
+ },
59222
+ {
59223
+ "kind": "variable",
59224
+ "name": "defaultVerificationCodeInputConfig",
59225
+ "type": {
59226
+ "text": "object"
59227
+ },
59228
+ "default": "{}"
59229
+ },
59230
+ {
59231
+ "kind": "class",
59232
+ "description": "Multi-digit verification code input for OTP / 2FA flows.\n\nForm-associated (FAST `FormAssociated`): host `name` / `required` / `value` participate\nin native HTML form validation and submission like TextField.",
59233
+ "name": "VerificationCodeInput",
59234
+ "members": [
59235
+ {
59236
+ "kind": "field",
59237
+ "name": "values",
59238
+ "type": {
59239
+ "text": "string[]"
59240
+ },
59241
+ "default": "[]",
59242
+ "description": "Per-digit values indexed from `0` to `digits - 1`."
59243
+ },
59244
+ {
59245
+ "kind": "field",
59246
+ "name": "defaultSlottedNodes",
59247
+ "description": "Slotted label content; when empty the label is visually hidden."
59248
+ },
59249
+ {
59250
+ "kind": "field",
59251
+ "name": "controlListeners",
59252
+ "type": {
59253
+ "text": "Map<HTMLInputElement, ControlListeners>"
59254
+ },
59255
+ "privacy": "private",
59256
+ "readonly": true,
59257
+ "default": "new Map()"
59258
+ },
59259
+ {
59260
+ "kind": "field",
59261
+ "name": "syncingFromDigits",
59262
+ "type": {
59263
+ "text": "boolean"
59264
+ },
59265
+ "privacy": "private",
59266
+ "default": "false",
59267
+ "description": "Skip digit re-sync when `value` is updated from digit entry (`commitValues`)."
59268
+ },
59269
+ {
59270
+ "kind": "field",
59271
+ "name": "id",
59272
+ "type": {
59273
+ "text": "string"
59274
+ },
59275
+ "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element."
59276
+ },
59277
+ {
59278
+ "kind": "field",
59279
+ "name": "appearance",
59280
+ "type": {
59281
+ "text": "string"
59282
+ },
59283
+ "default": "'outline'",
59284
+ "description": "Visual treatment applied to each digit field.",
59285
+ "privacy": "public"
59286
+ },
59287
+ {
59288
+ "kind": "field",
59289
+ "name": "digits",
59290
+ "type": {
59291
+ "text": "number"
59292
+ },
59293
+ "default": "6",
59294
+ "description": "Number of single-character digit fields to render.",
59295
+ "privacy": "public"
59296
+ },
59297
+ {
59298
+ "kind": "field",
59299
+ "name": "readOnly",
59300
+ "type": {
59301
+ "text": "boolean"
59302
+ },
59303
+ "default": "false",
59304
+ "description": "When true, digit fields are non-interactive.",
59305
+ "privacy": "public"
59306
+ },
59307
+ {
59308
+ "kind": "field",
59309
+ "name": "disabled",
59310
+ "type": {
59311
+ "text": "boolean"
59312
+ },
59313
+ "default": "false",
59314
+ "description": "When true, digit fields are non-interactive.",
59315
+ "privacy": "public"
59316
+ },
59317
+ {
59318
+ "kind": "field",
59319
+ "name": "autofocus",
59320
+ "type": {
59321
+ "text": "boolean"
59322
+ },
59323
+ "default": "false",
59324
+ "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59325
+ "privacy": "public"
59326
+ },
59327
+ {
59328
+ "kind": "field",
59329
+ "name": "error",
59330
+ "type": {
59331
+ "text": "boolean"
59332
+ },
59333
+ "default": "false",
59334
+ "description": "When true, applies the error visual state to each digit field.",
59335
+ "privacy": "public"
59336
+ },
59337
+ {
59338
+ "kind": "field",
59339
+ "name": "digitsIndexes",
59340
+ "type": {
59341
+ "text": "number[]"
59342
+ },
59343
+ "privacy": "public",
59344
+ "readonly": true
59345
+ },
59346
+ {
59347
+ "kind": "field",
59348
+ "name": "controlIdPrefix",
59349
+ "type": {
59350
+ "text": "string"
59351
+ },
59352
+ "privacy": "public",
59353
+ "readonly": true
59354
+ },
59355
+ {
59356
+ "kind": "field",
59357
+ "name": "labelId",
59358
+ "type": {
59359
+ "text": "string"
59360
+ },
59361
+ "privacy": "public",
59362
+ "readonly": true
59363
+ },
59364
+ {
59365
+ "kind": "field",
59366
+ "name": "hasLabel",
59367
+ "type": {
59368
+ "text": "boolean"
59369
+ },
59370
+ "privacy": "public",
59371
+ "readonly": true
59372
+ },
59373
+ {
59374
+ "kind": "method",
59375
+ "name": "getControlId",
59376
+ "privacy": "public",
59377
+ "return": {
59378
+ "type": {
59379
+ "text": "string"
59380
+ }
59381
+ },
59382
+ "parameters": [
59383
+ {
59384
+ "name": "index",
59385
+ "type": {
59386
+ "text": "number"
59387
+ }
59388
+ }
59389
+ ]
59390
+ },
59391
+ {
59392
+ "kind": "method",
59393
+ "name": "clear",
59394
+ "privacy": "public",
59395
+ "return": {
59396
+ "type": {
59397
+ "text": "void"
59398
+ }
59399
+ },
59400
+ "description": "Clears digits, emits `change`, and focuses the first field when connected."
59401
+ },
59402
+ {
59403
+ "kind": "method",
59404
+ "name": "focus",
59405
+ "privacy": "public",
59406
+ "return": {
59407
+ "type": {
59408
+ "text": "void"
59409
+ }
59410
+ }
59411
+ },
59412
+ {
59413
+ "kind": "method",
59414
+ "name": "digitsChanged",
59415
+ "return": {
59416
+ "type": {
59417
+ "text": "void"
59418
+ }
59419
+ }
59420
+ },
59421
+ {
59422
+ "kind": "field",
59423
+ "name": "digitClassnames",
59424
+ "type": {
59425
+ "text": "string"
59426
+ },
59427
+ "privacy": "public",
59428
+ "readonly": true
59429
+ },
59430
+ {
59431
+ "kind": "method",
59432
+ "name": "sanitizeCode",
59433
+ "privacy": "private",
59434
+ "return": {
59435
+ "type": {
59436
+ "text": "string"
59437
+ }
59438
+ },
59439
+ "parameters": [
59440
+ {
59441
+ "name": "raw",
59442
+ "type": {
59443
+ "text": "unknown"
59444
+ }
59445
+ }
59446
+ ]
59447
+ },
59448
+ {
59449
+ "kind": "method",
59450
+ "name": "bindControlListeners",
59451
+ "privacy": "private",
59452
+ "return": {
59453
+ "type": {
59454
+ "text": "void"
59455
+ }
59456
+ }
59457
+ },
59458
+ {
59459
+ "kind": "method",
59460
+ "name": "unbindControlListeners",
59461
+ "privacy": "private",
59462
+ "return": {
59463
+ "type": {
59464
+ "text": "void"
59465
+ }
59466
+ }
59467
+ },
59468
+ {
59469
+ "kind": "method",
59470
+ "name": "onKeyDown",
59471
+ "privacy": "private",
59472
+ "return": {
59473
+ "type": {
59474
+ "text": "void"
59475
+ }
59476
+ },
59477
+ "parameters": [
59478
+ {
59479
+ "name": "event",
59480
+ "type": {
59481
+ "text": "KeyboardEvent"
59482
+ }
59483
+ },
59484
+ {
59485
+ "name": "index",
59486
+ "type": {
59487
+ "text": "number"
59488
+ }
59489
+ }
59490
+ ]
59491
+ },
59492
+ {
59493
+ "kind": "method",
59494
+ "name": "isBlockedCharacter",
59495
+ "privacy": "private",
59496
+ "return": {
59497
+ "type": {
59498
+ "text": "boolean"
59499
+ }
59500
+ },
59501
+ "parameters": [
59502
+ {
59503
+ "name": "event",
59504
+ "type": {
59505
+ "text": "KeyboardEvent"
59506
+ }
59507
+ }
59508
+ ]
59509
+ },
59510
+ {
59511
+ "kind": "method",
59512
+ "name": "onInput",
59513
+ "privacy": "private",
59514
+ "return": {
59515
+ "type": {
59516
+ "text": "void"
59517
+ }
59518
+ },
59519
+ "parameters": [
59520
+ {
59521
+ "name": "event",
59522
+ "type": {
59523
+ "text": "InputEvent"
59524
+ }
59525
+ },
59526
+ {
59527
+ "name": "index",
59528
+ "type": {
59529
+ "text": "number"
59530
+ }
59531
+ }
59532
+ ]
59533
+ },
59534
+ {
59535
+ "kind": "method",
59536
+ "name": "onPaste",
59537
+ "privacy": "private",
59538
+ "return": {
59539
+ "type": {
59540
+ "text": "void"
59541
+ }
59542
+ },
59543
+ "parameters": [
59544
+ {
59545
+ "name": "event",
59546
+ "type": {
59547
+ "text": "ClipboardEvent"
59548
+ }
59549
+ },
59550
+ {
59551
+ "name": "index",
59552
+ "type": {
59553
+ "text": "number"
59554
+ }
59555
+ }
59556
+ ]
59557
+ },
59558
+ {
59559
+ "kind": "method",
59560
+ "name": "handleBackspace",
59561
+ "privacy": "private",
59562
+ "return": {
59563
+ "type": {
59564
+ "text": "void"
59565
+ }
59566
+ },
59567
+ "parameters": [
59568
+ {
59569
+ "name": "index",
59570
+ "type": {
59571
+ "text": "number"
59572
+ }
59573
+ }
59574
+ ]
59575
+ },
59576
+ {
59577
+ "kind": "method",
59578
+ "name": "handleDelete",
59579
+ "privacy": "private",
59580
+ "return": {
59581
+ "type": {
59582
+ "text": "void"
59583
+ }
59584
+ },
59585
+ "parameters": [
59586
+ {
59587
+ "name": "index",
59588
+ "type": {
59589
+ "text": "number"
59590
+ }
59591
+ }
59592
+ ]
59593
+ },
59594
+ {
59595
+ "kind": "method",
59596
+ "name": "getIndexFromInput",
59597
+ "privacy": "private",
59598
+ "return": {
59599
+ "type": {
59600
+ "text": "number | null"
59601
+ }
59602
+ },
59603
+ "parameters": [
59604
+ {
59605
+ "name": "input",
59606
+ "type": {
59607
+ "text": "HTMLInputElement"
59608
+ }
59609
+ }
59610
+ ]
59611
+ },
59612
+ {
59613
+ "kind": "method",
59614
+ "name": "syncDigitsFromValue",
59615
+ "privacy": "private",
59616
+ "return": {
59617
+ "type": {
59618
+ "text": "void"
59619
+ }
59620
+ },
59621
+ "parameters": [
59622
+ {
59623
+ "name": "cleaned",
59624
+ "type": {
59625
+ "text": "string"
59626
+ }
59627
+ }
59628
+ ],
59629
+ "description": "Maps a sanitized code string into per-digit `values` and syncs the DOM when connected."
59630
+ },
59631
+ {
59632
+ "kind": "method",
59633
+ "name": "updateDigit",
59634
+ "privacy": "private",
59635
+ "return": {
59636
+ "type": {
59637
+ "text": "void"
59638
+ }
59639
+ },
59640
+ "parameters": [
59641
+ {
59642
+ "name": "index",
59643
+ "type": {
59644
+ "text": "number"
59645
+ }
59646
+ },
59647
+ {
59648
+ "name": "digit",
59649
+ "type": {
59650
+ "text": "string"
59651
+ }
59652
+ }
59653
+ ]
59654
+ },
59655
+ {
59656
+ "kind": "method",
59657
+ "name": "applyDigits",
59658
+ "privacy": "private",
59659
+ "return": {
59660
+ "type": {
59661
+ "text": "void"
59662
+ }
59663
+ },
59664
+ "parameters": [
59665
+ {
59666
+ "name": "raw",
59667
+ "type": {
59668
+ "text": "string"
59669
+ }
59670
+ },
59671
+ {
59672
+ "name": "startIndex",
59673
+ "type": {
59674
+ "text": "number"
59675
+ }
59676
+ }
59677
+ ]
59678
+ },
59679
+ {
59680
+ "kind": "method",
59681
+ "name": "commitValues",
59682
+ "privacy": "private",
59683
+ "return": {
59684
+ "type": {
59685
+ "text": "void"
59686
+ }
59687
+ },
59688
+ "parameters": [
59689
+ {
59690
+ "name": "nextValues",
59691
+ "type": {
59692
+ "text": "string[]"
59693
+ }
59694
+ }
59695
+ ],
59696
+ "description": "Pushes digit state into the form-associated `value` and emits change / complete."
59697
+ },
59698
+ {
59699
+ "kind": "method",
59700
+ "name": "syncFieldValues",
59701
+ "privacy": "private",
59702
+ "return": {
59703
+ "type": {
59704
+ "text": "void"
59705
+ }
59706
+ }
59707
+ },
59708
+ {
59709
+ "kind": "method",
59710
+ "name": "syncFieldValue",
59711
+ "privacy": "private",
59712
+ "return": {
59713
+ "type": {
59714
+ "text": "void"
59715
+ }
59716
+ },
59717
+ "parameters": [
59718
+ {
59719
+ "name": "index",
59720
+ "type": {
59721
+ "text": "number"
59722
+ }
59723
+ }
59724
+ ]
59725
+ },
59726
+ {
59727
+ "kind": "method",
59728
+ "name": "focusDigit",
59729
+ "privacy": "private",
59730
+ "return": {
59731
+ "type": {
59732
+ "text": "void"
59733
+ }
59734
+ },
59735
+ "parameters": [
59736
+ {
59737
+ "name": "index",
59738
+ "type": {
59739
+ "text": "number"
59740
+ }
59741
+ }
59742
+ ]
59743
+ },
59744
+ {
59745
+ "kind": "field",
59746
+ "name": "rootNode",
59747
+ "type": {
59748
+ "text": "ParentNode"
59749
+ },
59750
+ "privacy": "private",
59751
+ "readonly": true
59752
+ },
59753
+ {
59754
+ "kind": "method",
59755
+ "name": "getControlElement",
59756
+ "privacy": "private",
59757
+ "return": {
59758
+ "type": {
59759
+ "text": "HTMLInputElement | null"
59760
+ }
59761
+ },
59762
+ "parameters": [
59763
+ {
59764
+ "name": "index",
59765
+ "type": {
59766
+ "text": "number"
59767
+ }
59768
+ }
59769
+ ]
59770
+ },
59771
+ {
59772
+ "kind": "method",
59773
+ "name": "isComplete",
59774
+ "privacy": "private",
59775
+ "return": {
59776
+ "type": {
59777
+ "text": "boolean"
59778
+ }
59779
+ }
59780
+ },
59781
+ {
59782
+ "kind": "method",
59783
+ "name": "emitChange",
59784
+ "privacy": "private",
59785
+ "return": {
59786
+ "type": {
59787
+ "text": "void"
59788
+ }
59789
+ }
59790
+ },
59791
+ {
59792
+ "kind": "field",
59793
+ "name": "proxy"
59794
+ }
59795
+ ],
59796
+ "events": [
59797
+ {
59798
+ "description": "Fired when any digit changes. Detail: `{ value: string }`.",
59799
+ "name": "change"
59800
+ },
59801
+ {
59802
+ "description": "Fired when all digits are filled. Detail: `{ value: string }`.",
59803
+ "name": "complete"
59804
+ }
59805
+ ],
59806
+ "attributes": [
59807
+ {
59808
+ "name": "id",
59809
+ "type": {
59810
+ "text": "string"
59811
+ },
59812
+ "description": "Optional host id used as a prefix for digit input ids (`{id}-0`, `{id}-1`, …)\nand the associated label element.",
59813
+ "fieldName": "id"
59814
+ },
59815
+ {
59816
+ "name": "appearance",
59817
+ "type": {
59818
+ "text": "string"
59819
+ },
59820
+ "default": "'outline'",
59821
+ "description": "Visual treatment applied to each digit field.",
59822
+ "fieldName": "appearance"
59823
+ },
59824
+ {
59825
+ "name": "digits",
59826
+ "type": {
59827
+ "text": "number"
59828
+ },
59829
+ "default": "DEFAULT_DIGITS",
59830
+ "description": "Number of single-character digit fields to render.",
59831
+ "resolveInitializer": {
59832
+ "module": "src/verification-code-input/verification-code-input.ts"
59833
+ },
59834
+ "fieldName": "digits"
59835
+ },
59836
+ {
59837
+ "name": "readonly",
59838
+ "type": {
59839
+ "text": "boolean"
59840
+ },
59841
+ "default": "false",
59842
+ "description": "When true, digit fields are non-interactive.",
59843
+ "fieldName": "readOnly"
59844
+ },
59845
+ {
59846
+ "type": {
59847
+ "text": "boolean"
59848
+ },
59849
+ "default": "false",
59850
+ "description": "When true, digit fields are non-interactive.",
59851
+ "fieldName": "disabled"
59852
+ },
59853
+ {
59854
+ "type": {
59855
+ "text": "boolean"
59856
+ },
59857
+ "default": "false",
59858
+ "description": "When true, focuses the first digit on connect (and after SPA route commit when hosted that way).",
59859
+ "fieldName": "autofocus"
59860
+ },
59861
+ {
59862
+ "type": {
59863
+ "text": "boolean"
59864
+ },
59865
+ "default": "false",
59866
+ "description": "When true, applies the error visual state to each digit field.",
59867
+ "fieldName": "error"
59868
+ }
59869
+ ],
59870
+ "mixins": [
59871
+ {
59872
+ "name": "FormAssociated",
59873
+ "package": "@microsoft/fast-foundation"
59874
+ }
59875
+ ],
59876
+ "superclass": {
59877
+ "name": "_VerificationCodeInput",
59878
+ "module": "src/verification-code-input/verification-code-input.ts"
59879
+ },
59880
+ "tagName": "%%prefix%%-verification-code-input",
59881
+ "customElement": true
59882
+ },
59883
+ {
59884
+ "kind": "variable",
59885
+ "name": "foundationVerificationCodeInput",
59886
+ "description": "The Foundation Verification Code Input",
59887
+ "privacy": "public"
59888
+ }
59889
+ ],
59890
+ "exports": [
59891
+ {
59892
+ "kind": "js",
59893
+ "name": "foundationVerificationCodeInputShadowOptions",
59894
+ "declaration": {
59895
+ "name": "foundationVerificationCodeInputShadowOptions",
59896
+ "module": "src/verification-code-input/verification-code-input.ts"
59897
+ }
59898
+ },
59899
+ {
59900
+ "kind": "js",
59901
+ "name": "defaultVerificationCodeInputConfig",
59902
+ "declaration": {
59903
+ "name": "defaultVerificationCodeInputConfig",
59904
+ "module": "src/verification-code-input/verification-code-input.ts"
59905
+ }
59906
+ },
59907
+ {
59908
+ "kind": "js",
59909
+ "name": "VerificationCodeInput",
59910
+ "declaration": {
59911
+ "name": "VerificationCodeInput",
59912
+ "module": "src/verification-code-input/verification-code-input.ts"
59913
+ }
59914
+ },
59915
+ {
59916
+ "kind": "js",
59917
+ "name": "foundationVerificationCodeInput",
59918
+ "declaration": {
59919
+ "name": "foundationVerificationCodeInput",
59920
+ "module": "src/verification-code-input/verification-code-input.ts"
59921
+ }
59922
+ }
59923
+ ]
59924
+ },
59126
59925
  {
59127
59926
  "kind": "javascript-module",
59128
59927
  "path": "src/_config/styles/colors.ts",