@department-of-veterans-affairs/component-library 46.1.3 → 46.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/1185.app.bundle.js +1 -1
- package/dist/1185.app.bundle.js.LICENSE.txt +4 -4
- package/dist/1279.app.bundle.js +1 -1
- package/dist/1652.app.bundle.js +1 -1
- package/dist/2108.app.bundle.js +1 -1
- package/dist/2108.app.bundle.js.LICENSE.txt +4 -4
- package/dist/2305.app.bundle.js +1 -1
- package/dist/2305.app.bundle.js.LICENSE.txt +4 -4
- package/dist/2843.app.bundle.js +1 -1
- package/dist/3389.app.bundle.js +1 -1
- package/dist/3389.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3476.app.bundle.js +1 -1
- package/dist/3476.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3499.app.bundle.js +1 -1
- package/dist/360.app.bundle.js +1 -1
- package/dist/360.app.bundle.js.LICENSE.txt +4 -4
- package/dist/3661.app.bundle.js +1 -1
- package/dist/383.app.bundle.js +1 -1
- package/dist/383.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4104.app.bundle.js +1 -1
- package/dist/4181.app.bundle.js +1 -1
- package/dist/4181.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4317.app.bundle.js +1 -1
- package/dist/4317.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4437.app.bundle.js +1 -1
- package/dist/4818.app.bundle.js +1 -1
- package/dist/4818.app.bundle.js.LICENSE.txt +4 -4
- package/dist/4846.app.bundle.js +1 -1
- package/dist/4859.app.bundle.js +1 -1
- package/dist/5154.app.bundle.js +1 -1
- package/dist/5232.app.bundle.js +1 -1
- package/dist/5254.app.bundle.js +1 -0
- package/dist/529.app.bundle.js +1 -1
- package/dist/529.app.bundle.js.LICENSE.txt +4 -4
- package/dist/5434.app.bundle.js +1 -1
- package/dist/5669.app.bundle.js +1 -1
- package/dist/5669.app.bundle.js.LICENSE.txt +4 -4
- package/dist/569.app.bundle.js +1 -1
- package/dist/569.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6166.app.bundle.js +1 -1
- package/dist/6171.app.bundle.js +1 -1
- package/dist/6171.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6205.app.bundle.js +1 -1
- package/dist/6205.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6391.app.bundle.js +1 -1
- package/dist/6391.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6569.app.bundle.js +1 -1
- package/dist/6569.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6596.app.bundle.js +1 -1
- package/dist/6596.app.bundle.js.LICENSE.txt +4 -4
- package/dist/6734.app.bundle.js +1 -1
- package/dist/6874.app.bundle.js +1 -1
- package/dist/6998.app.bundle.js +1 -1
- package/dist/6998.app.bundle.js.LICENSE.txt +4 -4
- package/dist/7061.app.bundle.js +1 -0
- package/dist/7375.app.bundle.js +1 -1
- package/dist/7454.app.bundle.js +1 -1
- package/dist/7454.app.bundle.js.LICENSE.txt +4 -4
- package/dist/7485.app.bundle.js +2 -0
- package/dist/7485.app.bundle.js.LICENSE.txt +5 -0
- package/dist/753.app.bundle.js +1 -1
- package/dist/753.app.bundle.js.LICENSE.txt +4 -4
- package/dist/783.app.bundle.js +1 -1
- package/dist/8214.app.bundle.js +1 -1
- package/dist/8509.app.bundle.js +1 -1
- package/dist/8509.app.bundle.js.LICENSE.txt +4 -4
- package/dist/8716.app.bundle.js +1 -1
- package/dist/8716.app.bundle.js.LICENSE.txt +4 -4
- package/dist/876.app.bundle.js +1 -1
- package/dist/9262.app.bundle.js +1 -1
- package/dist/9262.app.bundle.js.LICENSE.txt +4 -4
- package/dist/934.app.bundle.js +1 -1
- package/dist/934.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9370.app.bundle.js +1 -1
- package/dist/9370.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9398.app.bundle.js +1 -1
- package/dist/9727.app.bundle.js +1 -1
- package/dist/9727.app.bundle.js.LICENSE.txt +4 -4
- package/dist/9893.app.bundle.js +1 -1
- package/dist/app.bundle.js +1 -1
- package/dist/components/date-utils.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/types/components.d.ts +439 -0
- package/dist/components/types/contacts.d.ts +105 -105
- package/dist/components/types/stencil-public-runtime.d.ts +49 -15
- package/dist/components/va-accordion-item.d.ts +2 -2
- package/dist/components/va-accordion-item.js +1 -1
- package/dist/components/va-accordion.d.ts +2 -2
- package/dist/components/va-accordion.js +1 -1
- package/dist/components/va-additional-info.d.ts +2 -2
- package/dist/components/va-additional-info.js +1 -1
- package/dist/components/va-alert-expandable.d.ts +2 -2
- package/dist/components/va-alert-expandable.js +1 -1
- package/dist/components/va-alert.d.ts +2 -2
- package/dist/components/va-alert2.js +1 -1
- package/dist/components/va-back-to-top.d.ts +2 -2
- package/dist/components/va-back-to-top.js +1 -1
- package/dist/components/va-banner.d.ts +2 -2
- package/dist/components/va-banner.js +1 -1
- package/dist/components/va-breadcrumbs.d.ts +2 -2
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-button-icon.d.ts +2 -2
- package/dist/components/va-button-icon2.js +1 -1
- package/dist/components/va-button-pair.d.ts +2 -2
- package/dist/components/va-button-pair.js +1 -1
- package/dist/components/va-button.d.ts +2 -2
- package/dist/components/va-button2.js +1 -1
- package/dist/components/va-card.d.ts +2 -2
- package/dist/components/va-card2.js +1 -1
- package/dist/components/va-checkbox-group.d.ts +2 -2
- package/dist/components/va-checkbox-group.js +1 -1
- package/dist/components/va-checkbox.d.ts +2 -2
- package/dist/components/va-checkbox2.js +1 -1
- package/dist/components/va-crisis-line-modal.d.ts +2 -2
- package/dist/components/va-crisis-line-modal2.js +1 -1
- package/dist/components/va-date.d.ts +2 -2
- package/dist/components/va-date.js +1 -1
- package/dist/components/va-file-input-multiple.d.ts +2 -2
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input.d.ts +2 -2
- package/dist/components/va-file-input2.js +1 -1
- package/dist/components/va-header-minimal.d.ts +2 -2
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon.d.ts +2 -2
- package/dist/components/va-icon2.js +1 -1
- package/dist/components/va-link-action.d.ts +2 -2
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-link.d.ts +2 -2
- package/dist/components/va-link2.js +1 -1
- package/dist/components/va-loading-indicator.d.ts +2 -2
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-maintenance-banner.d.ts +2 -2
- package/dist/components/va-maintenance-banner.js +1 -1
- package/dist/components/va-memorable-date.d.ts +2 -2
- package/dist/components/va-memorable-date.js +1 -1
- package/dist/components/va-minimal-footer.d.ts +2 -2
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-modal.d.ts +2 -2
- package/dist/components/va-modal2.js +1 -1
- package/dist/components/va-need-help.d.ts +2 -2
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-notification.d.ts +2 -2
- package/dist/components/va-notification.js +1 -1
- package/dist/components/va-official-gov-banner.d.ts +2 -2
- package/dist/components/va-official-gov-banner2.js +1 -1
- package/dist/components/va-omb-info.d.ts +2 -2
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-on-this-page.d.ts +2 -2
- package/dist/components/va-on-this-page.js +1 -1
- package/dist/components/va-pagination.d.ts +2 -2
- package/dist/components/va-pagination.js +1 -1
- package/dist/components/va-privacy-agreement.d.ts +2 -2
- package/dist/components/va-privacy-agreement.js +1 -1
- package/dist/components/va-process-list-item.d.ts +2 -2
- package/dist/components/va-process-list-item.js +1 -1
- package/dist/components/va-process-list.d.ts +2 -2
- package/dist/components/va-process-list.js +1 -1
- package/dist/components/va-progress-bar.d.ts +2 -2
- package/dist/components/va-progress-bar.js +1 -1
- package/dist/components/va-promo-banner.d.ts +2 -2
- package/dist/components/va-promo-banner.js +1 -1
- package/dist/components/va-radio-option.d.ts +2 -2
- package/dist/components/va-radio-option.js +1 -1
- package/dist/components/va-radio.d.ts +2 -2
- package/dist/components/va-radio.js +1 -1
- package/dist/components/va-search-input.d.ts +2 -2
- package/dist/components/va-search-input.js +1 -1
- package/dist/components/va-segmented-progress-bar.d.ts +2 -2
- package/dist/components/va-segmented-progress-bar.js +1 -1
- package/dist/components/va-select.d.ts +2 -2
- package/dist/components/va-select2.js +1 -1
- package/dist/components/va-statement-of-truth.d.ts +2 -2
- package/dist/components/va-statement-of-truth.js +1 -1
- package/dist/components/va-summary-box.d.ts +2 -2
- package/dist/components/va-summary-box.js +1 -1
- package/dist/components/va-table-inner.d.ts +2 -2
- package/dist/components/va-table-inner2.js +1 -1
- package/dist/components/va-table-row.d.ts +2 -2
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.d.ts +2 -2
- package/dist/components/va-table.js +1 -1
- package/dist/components/va-telephone.d.ts +2 -2
- package/dist/components/va-telephone2.js +1 -1
- package/dist/components/va-text-input.d.ts +2 -2
- package/dist/components/va-text-input2.js +1 -1
- package/dist/components/va-textarea.d.ts +2 -2
- package/dist/components/va-textarea.js +1 -1
- package/package.json +2 -2
- package/dist/2259.app.bundle.js +0 -1
- package/dist/2963.app.bundle.js +0 -1
- package/dist/3270.app.bundle.js +0 -2
- package/dist/3270.app.bundle.js.LICENSE.txt +0 -11
- package/dist/5285.app.bundle.js +0 -2
- package/dist/5285.app.bundle.js.LICENSE.txt +0 -5
- package/dist/9452.app.bundle.js +0 -1
- package/dist/9970.app.bundle.js +0 -2
- package/dist/9970.app.bundle.js.LICENSE.txt +0 -17
|
@@ -1367,6 +1367,10 @@ export namespace Components {
|
|
|
1367
1367
|
* Whether or not this is a required field.
|
|
1368
1368
|
*/
|
|
1369
1369
|
"required"?: boolean;
|
|
1370
|
+
/**
|
|
1371
|
+
* Whether an error message should be shown - set to false when this component is used inside va-date or va-memorable-date in which the error for the va-select will be rendered outside of va-select
|
|
1372
|
+
*/
|
|
1373
|
+
"showError"?: boolean;
|
|
1370
1374
|
/**
|
|
1371
1375
|
* Selected value (will get updated on select).
|
|
1372
1376
|
*/
|
|
@@ -1866,6 +1870,9 @@ export interface VaTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
|
1866
1870
|
target: HTMLVaTextareaElement;
|
|
1867
1871
|
}
|
|
1868
1872
|
declare global {
|
|
1873
|
+
interface HTMLVaAccordionElementEventMap {
|
|
1874
|
+
"component-library-analytics": any;
|
|
1875
|
+
}
|
|
1869
1876
|
/**
|
|
1870
1877
|
* @componentName Accordion
|
|
1871
1878
|
* @accordionItemToggled This event is fired when an accordion item is opened or closed
|
|
@@ -1876,45 +1883,99 @@ declare global {
|
|
|
1876
1883
|
* @translations Tagalog
|
|
1877
1884
|
*/
|
|
1878
1885
|
interface HTMLVaAccordionElement extends Components.VaAccordion, HTMLStencilElement {
|
|
1886
|
+
addEventListener<K extends keyof HTMLVaAccordionElementEventMap>(type: K, listener: (this: HTMLVaAccordionElement, ev: VaAccordionCustomEvent<HTMLVaAccordionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1887
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1888
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1889
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1890
|
+
removeEventListener<K extends keyof HTMLVaAccordionElementEventMap>(type: K, listener: (this: HTMLVaAccordionElement, ev: VaAccordionCustomEvent<HTMLVaAccordionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1891
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1892
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1893
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1879
1894
|
}
|
|
1880
1895
|
var HTMLVaAccordionElement: {
|
|
1881
1896
|
prototype: HTMLVaAccordionElement;
|
|
1882
1897
|
new (): HTMLVaAccordionElement;
|
|
1883
1898
|
};
|
|
1899
|
+
interface HTMLVaAccordionItemElementEventMap {
|
|
1900
|
+
"accordionItemToggled": any;
|
|
1901
|
+
}
|
|
1884
1902
|
interface HTMLVaAccordionItemElement extends Components.VaAccordionItem, HTMLStencilElement {
|
|
1903
|
+
addEventListener<K extends keyof HTMLVaAccordionItemElementEventMap>(type: K, listener: (this: HTMLVaAccordionItemElement, ev: VaAccordionItemCustomEvent<HTMLVaAccordionItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1904
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1905
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1906
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1907
|
+
removeEventListener<K extends keyof HTMLVaAccordionItemElementEventMap>(type: K, listener: (this: HTMLVaAccordionItemElement, ev: VaAccordionItemCustomEvent<HTMLVaAccordionItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1908
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1909
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1910
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1885
1911
|
}
|
|
1886
1912
|
var HTMLVaAccordionItemElement: {
|
|
1887
1913
|
prototype: HTMLVaAccordionItemElement;
|
|
1888
1914
|
new (): HTMLVaAccordionItemElement;
|
|
1889
1915
|
};
|
|
1916
|
+
interface HTMLVaAdditionalInfoElementEventMap {
|
|
1917
|
+
"component-library-analytics": any;
|
|
1918
|
+
}
|
|
1890
1919
|
/**
|
|
1891
1920
|
* @componentName Additional info
|
|
1892
1921
|
* @maturityCategory use
|
|
1893
1922
|
* @maturityLevel deployed
|
|
1894
1923
|
*/
|
|
1895
1924
|
interface HTMLVaAdditionalInfoElement extends Components.VaAdditionalInfo, HTMLStencilElement {
|
|
1925
|
+
addEventListener<K extends keyof HTMLVaAdditionalInfoElementEventMap>(type: K, listener: (this: HTMLVaAdditionalInfoElement, ev: VaAdditionalInfoCustomEvent<HTMLVaAdditionalInfoElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1926
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1927
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1928
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1929
|
+
removeEventListener<K extends keyof HTMLVaAdditionalInfoElementEventMap>(type: K, listener: (this: HTMLVaAdditionalInfoElement, ev: VaAdditionalInfoCustomEvent<HTMLVaAdditionalInfoElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1930
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1931
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1932
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1896
1933
|
}
|
|
1897
1934
|
var HTMLVaAdditionalInfoElement: {
|
|
1898
1935
|
prototype: HTMLVaAdditionalInfoElement;
|
|
1899
1936
|
new (): HTMLVaAdditionalInfoElement;
|
|
1900
1937
|
};
|
|
1938
|
+
interface HTMLVaAlertElementEventMap {
|
|
1939
|
+
"va-component-did-load": any;
|
|
1940
|
+
"closeEvent": any;
|
|
1941
|
+
"component-library-analytics": any;
|
|
1942
|
+
}
|
|
1901
1943
|
/**
|
|
1902
1944
|
* @componentName Alert
|
|
1903
1945
|
* @maturityCategory use
|
|
1904
1946
|
* @maturityLevel best_practice
|
|
1905
1947
|
*/
|
|
1906
1948
|
interface HTMLVaAlertElement extends Components.VaAlert, HTMLStencilElement {
|
|
1949
|
+
addEventListener<K extends keyof HTMLVaAlertElementEventMap>(type: K, listener: (this: HTMLVaAlertElement, ev: VaAlertCustomEvent<HTMLVaAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1950
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1951
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1952
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1953
|
+
removeEventListener<K extends keyof HTMLVaAlertElementEventMap>(type: K, listener: (this: HTMLVaAlertElement, ev: VaAlertCustomEvent<HTMLVaAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1954
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1955
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1956
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1907
1957
|
}
|
|
1908
1958
|
var HTMLVaAlertElement: {
|
|
1909
1959
|
prototype: HTMLVaAlertElement;
|
|
1910
1960
|
new (): HTMLVaAlertElement;
|
|
1911
1961
|
};
|
|
1962
|
+
interface HTMLVaAlertExpandableElementEventMap {
|
|
1963
|
+
"component-library-analytics": any;
|
|
1964
|
+
}
|
|
1912
1965
|
/**
|
|
1913
1966
|
* @componentName Alert - expandable
|
|
1914
1967
|
* @maturityCategory caution
|
|
1915
1968
|
* @maturityLevel candidate
|
|
1916
1969
|
*/
|
|
1917
1970
|
interface HTMLVaAlertExpandableElement extends Components.VaAlertExpandable, HTMLStencilElement {
|
|
1971
|
+
addEventListener<K extends keyof HTMLVaAlertExpandableElementEventMap>(type: K, listener: (this: HTMLVaAlertExpandableElement, ev: VaAlertExpandableCustomEvent<HTMLVaAlertExpandableElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1972
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1973
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1974
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1975
|
+
removeEventListener<K extends keyof HTMLVaAlertExpandableElementEventMap>(type: K, listener: (this: HTMLVaAlertExpandableElement, ev: VaAlertExpandableCustomEvent<HTMLVaAlertExpandableElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1976
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1977
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1978
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1918
1979
|
}
|
|
1919
1980
|
var HTMLVaAlertExpandableElement: {
|
|
1920
1981
|
prototype: HTMLVaAlertExpandableElement;
|
|
@@ -1931,28 +1992,54 @@ declare global {
|
|
|
1931
1992
|
prototype: HTMLVaBackToTopElement;
|
|
1932
1993
|
new (): HTMLVaBackToTopElement;
|
|
1933
1994
|
};
|
|
1995
|
+
interface HTMLVaBannerElementEventMap {
|
|
1996
|
+
"component-library-analytics": any;
|
|
1997
|
+
}
|
|
1934
1998
|
/**
|
|
1935
1999
|
* @componentName Banner
|
|
1936
2000
|
* @maturityCategory use
|
|
1937
2001
|
* @maturityLevel deployed
|
|
1938
2002
|
*/
|
|
1939
2003
|
interface HTMLVaBannerElement extends Components.VaBanner, HTMLStencilElement {
|
|
2004
|
+
addEventListener<K extends keyof HTMLVaBannerElementEventMap>(type: K, listener: (this: HTMLVaBannerElement, ev: VaBannerCustomEvent<HTMLVaBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2005
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2006
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2007
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2008
|
+
removeEventListener<K extends keyof HTMLVaBannerElementEventMap>(type: K, listener: (this: HTMLVaBannerElement, ev: VaBannerCustomEvent<HTMLVaBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2009
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2010
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2011
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1940
2012
|
}
|
|
1941
2013
|
var HTMLVaBannerElement: {
|
|
1942
2014
|
prototype: HTMLVaBannerElement;
|
|
1943
2015
|
new (): HTMLVaBannerElement;
|
|
1944
2016
|
};
|
|
2017
|
+
interface HTMLVaBreadcrumbsElementEventMap {
|
|
2018
|
+
"component-library-analytics": any;
|
|
2019
|
+
"routeChange": { href: string };
|
|
2020
|
+
}
|
|
1945
2021
|
/**
|
|
1946
2022
|
* @componentName Breadcrumbs
|
|
1947
2023
|
* @maturityCategory use
|
|
1948
2024
|
* @maturityLevel deployed
|
|
1949
2025
|
*/
|
|
1950
2026
|
interface HTMLVaBreadcrumbsElement extends Components.VaBreadcrumbs, HTMLStencilElement {
|
|
2027
|
+
addEventListener<K extends keyof HTMLVaBreadcrumbsElementEventMap>(type: K, listener: (this: HTMLVaBreadcrumbsElement, ev: VaBreadcrumbsCustomEvent<HTMLVaBreadcrumbsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2028
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2029
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2030
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2031
|
+
removeEventListener<K extends keyof HTMLVaBreadcrumbsElementEventMap>(type: K, listener: (this: HTMLVaBreadcrumbsElement, ev: VaBreadcrumbsCustomEvent<HTMLVaBreadcrumbsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2032
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2033
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2034
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1951
2035
|
}
|
|
1952
2036
|
var HTMLVaBreadcrumbsElement: {
|
|
1953
2037
|
prototype: HTMLVaBreadcrumbsElement;
|
|
1954
2038
|
new (): HTMLVaBreadcrumbsElement;
|
|
1955
2039
|
};
|
|
2040
|
+
interface HTMLVaButtonElementEventMap {
|
|
2041
|
+
"component-library-analytics": any;
|
|
2042
|
+
}
|
|
1956
2043
|
/**
|
|
1957
2044
|
* @componentName Button
|
|
1958
2045
|
* @nativeHandler onClick
|
|
@@ -1960,11 +2047,22 @@ declare global {
|
|
|
1960
2047
|
* @maturityLevel candidate
|
|
1961
2048
|
*/
|
|
1962
2049
|
interface HTMLVaButtonElement extends Components.VaButton, HTMLStencilElement {
|
|
2050
|
+
addEventListener<K extends keyof HTMLVaButtonElementEventMap>(type: K, listener: (this: HTMLVaButtonElement, ev: VaButtonCustomEvent<HTMLVaButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2051
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2052
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2053
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2054
|
+
removeEventListener<K extends keyof HTMLVaButtonElementEventMap>(type: K, listener: (this: HTMLVaButtonElement, ev: VaButtonCustomEvent<HTMLVaButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2055
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2056
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2057
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1963
2058
|
}
|
|
1964
2059
|
var HTMLVaButtonElement: {
|
|
1965
2060
|
prototype: HTMLVaButtonElement;
|
|
1966
2061
|
new (): HTMLVaButtonElement;
|
|
1967
2062
|
};
|
|
2063
|
+
interface HTMLVaButtonIconElementEventMap {
|
|
2064
|
+
"component-library-analytics": any;
|
|
2065
|
+
}
|
|
1968
2066
|
/**
|
|
1969
2067
|
* @componentName Button - Icon
|
|
1970
2068
|
* @nativeHandler onClick
|
|
@@ -1972,11 +2070,24 @@ declare global {
|
|
|
1972
2070
|
* @maturityLevel candidate
|
|
1973
2071
|
*/
|
|
1974
2072
|
interface HTMLVaButtonIconElement extends Components.VaButtonIcon, HTMLStencilElement {
|
|
2073
|
+
addEventListener<K extends keyof HTMLVaButtonIconElementEventMap>(type: K, listener: (this: HTMLVaButtonIconElement, ev: VaButtonIconCustomEvent<HTMLVaButtonIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2074
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2075
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2076
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2077
|
+
removeEventListener<K extends keyof HTMLVaButtonIconElementEventMap>(type: K, listener: (this: HTMLVaButtonIconElement, ev: VaButtonIconCustomEvent<HTMLVaButtonIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2078
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2079
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2080
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1975
2081
|
}
|
|
1976
2082
|
var HTMLVaButtonIconElement: {
|
|
1977
2083
|
prototype: HTMLVaButtonIconElement;
|
|
1978
2084
|
new (): HTMLVaButtonIconElement;
|
|
1979
2085
|
};
|
|
2086
|
+
interface HTMLVaButtonPairElementEventMap {
|
|
2087
|
+
"primaryClick": any;
|
|
2088
|
+
"secondaryClick": any;
|
|
2089
|
+
"component-library-analytics": any;
|
|
2090
|
+
}
|
|
1980
2091
|
/**
|
|
1981
2092
|
* @componentName Button pair
|
|
1982
2093
|
* @maturityCategory caution
|
|
@@ -1984,6 +2095,14 @@ declare global {
|
|
|
1984
2095
|
* @guidanceHref button/button-pair
|
|
1985
2096
|
*/
|
|
1986
2097
|
interface HTMLVaButtonPairElement extends Components.VaButtonPair, HTMLStencilElement {
|
|
2098
|
+
addEventListener<K extends keyof HTMLVaButtonPairElementEventMap>(type: K, listener: (this: HTMLVaButtonPairElement, ev: VaButtonPairCustomEvent<HTMLVaButtonPairElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2099
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2100
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2101
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2102
|
+
removeEventListener<K extends keyof HTMLVaButtonPairElementEventMap>(type: K, listener: (this: HTMLVaButtonPairElement, ev: VaButtonPairCustomEvent<HTMLVaButtonPairElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2103
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2104
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2105
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1987
2106
|
}
|
|
1988
2107
|
var HTMLVaButtonPairElement: {
|
|
1989
2108
|
prototype: HTMLVaButtonPairElement;
|
|
@@ -2000,6 +2119,10 @@ declare global {
|
|
|
2000
2119
|
prototype: HTMLVaCardElement;
|
|
2001
2120
|
new (): HTMLVaCardElement;
|
|
2002
2121
|
};
|
|
2122
|
+
interface HTMLVaCheckboxElementEventMap {
|
|
2123
|
+
"vaChange": any;
|
|
2124
|
+
"component-library-analytics": any;
|
|
2125
|
+
}
|
|
2003
2126
|
/**
|
|
2004
2127
|
* @nativeHandler onBlur
|
|
2005
2128
|
* @componentName Checkbox
|
|
@@ -2011,11 +2134,22 @@ declare global {
|
|
|
2011
2134
|
* @translations Tagalog
|
|
2012
2135
|
*/
|
|
2013
2136
|
interface HTMLVaCheckboxElement extends Components.VaCheckbox, HTMLStencilElement {
|
|
2137
|
+
addEventListener<K extends keyof HTMLVaCheckboxElementEventMap>(type: K, listener: (this: HTMLVaCheckboxElement, ev: VaCheckboxCustomEvent<HTMLVaCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2138
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2139
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2140
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2141
|
+
removeEventListener<K extends keyof HTMLVaCheckboxElementEventMap>(type: K, listener: (this: HTMLVaCheckboxElement, ev: VaCheckboxCustomEvent<HTMLVaCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2142
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2143
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2144
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2014
2145
|
}
|
|
2015
2146
|
var HTMLVaCheckboxElement: {
|
|
2016
2147
|
prototype: HTMLVaCheckboxElement;
|
|
2017
2148
|
new (): HTMLVaCheckboxElement;
|
|
2018
2149
|
};
|
|
2150
|
+
interface HTMLVaCheckboxGroupElementEventMap {
|
|
2151
|
+
"component-library-analytics": any;
|
|
2152
|
+
}
|
|
2019
2153
|
/**
|
|
2020
2154
|
* @vaChange The event emitted when the input value changes.
|
|
2021
2155
|
* @componentName Checkbox group
|
|
@@ -2027,6 +2161,14 @@ declare global {
|
|
|
2027
2161
|
* @translations Tagalog
|
|
2028
2162
|
*/
|
|
2029
2163
|
interface HTMLVaCheckboxGroupElement extends Components.VaCheckboxGroup, HTMLStencilElement {
|
|
2164
|
+
addEventListener<K extends keyof HTMLVaCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLVaCheckboxGroupElement, ev: VaCheckboxGroupCustomEvent<HTMLVaCheckboxGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2165
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2166
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2167
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2168
|
+
removeEventListener<K extends keyof HTMLVaCheckboxGroupElementEventMap>(type: K, listener: (this: HTMLVaCheckboxGroupElement, ev: VaCheckboxGroupCustomEvent<HTMLVaCheckboxGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2169
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2170
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2171
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2030
2172
|
}
|
|
2031
2173
|
var HTMLVaCheckboxGroupElement: {
|
|
2032
2174
|
prototype: HTMLVaCheckboxGroupElement;
|
|
@@ -2043,6 +2185,11 @@ declare global {
|
|
|
2043
2185
|
prototype: HTMLVaCrisisLineModalElement;
|
|
2044
2186
|
new (): HTMLVaCrisisLineModalElement;
|
|
2045
2187
|
};
|
|
2188
|
+
interface HTMLVaDateElementEventMap {
|
|
2189
|
+
"dateChange": any;
|
|
2190
|
+
"dateBlur": any;
|
|
2191
|
+
"component-library-analytics": any;
|
|
2192
|
+
}
|
|
2046
2193
|
/**
|
|
2047
2194
|
* @componentName Date input
|
|
2048
2195
|
* @maturityCategory use
|
|
@@ -2050,11 +2197,23 @@ declare global {
|
|
|
2050
2197
|
* @guidanceHref form/date-input
|
|
2051
2198
|
*/
|
|
2052
2199
|
interface HTMLVaDateElement extends Components.VaDate, HTMLStencilElement {
|
|
2200
|
+
addEventListener<K extends keyof HTMLVaDateElementEventMap>(type: K, listener: (this: HTMLVaDateElement, ev: VaDateCustomEvent<HTMLVaDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2201
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2202
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2203
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2204
|
+
removeEventListener<K extends keyof HTMLVaDateElementEventMap>(type: K, listener: (this: HTMLVaDateElement, ev: VaDateCustomEvent<HTMLVaDateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2205
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2206
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2207
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2053
2208
|
}
|
|
2054
2209
|
var HTMLVaDateElement: {
|
|
2055
2210
|
prototype: HTMLVaDateElement;
|
|
2056
2211
|
new (): HTMLVaDateElement;
|
|
2057
2212
|
};
|
|
2213
|
+
interface HTMLVaFileInputElementEventMap {
|
|
2214
|
+
"vaChange": any;
|
|
2215
|
+
"component-library-analytics": any;
|
|
2216
|
+
}
|
|
2058
2217
|
/**
|
|
2059
2218
|
* @componentName File input
|
|
2060
2219
|
* @maturityCategory caution
|
|
@@ -2062,11 +2221,22 @@ declare global {
|
|
|
2062
2221
|
* @guidanceHref form/file-input
|
|
2063
2222
|
*/
|
|
2064
2223
|
interface HTMLVaFileInputElement extends Components.VaFileInput, HTMLStencilElement {
|
|
2224
|
+
addEventListener<K extends keyof HTMLVaFileInputElementEventMap>(type: K, listener: (this: HTMLVaFileInputElement, ev: VaFileInputCustomEvent<HTMLVaFileInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2225
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2226
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2227
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2228
|
+
removeEventListener<K extends keyof HTMLVaFileInputElementEventMap>(type: K, listener: (this: HTMLVaFileInputElement, ev: VaFileInputCustomEvent<HTMLVaFileInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2229
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2230
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2231
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2065
2232
|
}
|
|
2066
2233
|
var HTMLVaFileInputElement: {
|
|
2067
2234
|
prototype: HTMLVaFileInputElement;
|
|
2068
2235
|
new (): HTMLVaFileInputElement;
|
|
2069
2236
|
};
|
|
2237
|
+
interface HTMLVaFileInputMultipleElementEventMap {
|
|
2238
|
+
"vaMultipleChange": any;
|
|
2239
|
+
}
|
|
2070
2240
|
/**
|
|
2071
2241
|
* A component that manages multiple file inputs, allowing users to upload several files.
|
|
2072
2242
|
* It supports adding, changing, and removing files with dynamic error handling.
|
|
@@ -2076,6 +2246,14 @@ declare global {
|
|
|
2076
2246
|
* @guidanceHref form/file-input-multiple
|
|
2077
2247
|
*/
|
|
2078
2248
|
interface HTMLVaFileInputMultipleElement extends Components.VaFileInputMultiple, HTMLStencilElement {
|
|
2249
|
+
addEventListener<K extends keyof HTMLVaFileInputMultipleElementEventMap>(type: K, listener: (this: HTMLVaFileInputMultipleElement, ev: VaFileInputMultipleCustomEvent<HTMLVaFileInputMultipleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2250
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2251
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2252
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2253
|
+
removeEventListener<K extends keyof HTMLVaFileInputMultipleElementEventMap>(type: K, listener: (this: HTMLVaFileInputMultipleElement, ev: VaFileInputMultipleCustomEvent<HTMLVaFileInputMultipleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2254
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2255
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2256
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2079
2257
|
}
|
|
2080
2258
|
var HTMLVaFileInputMultipleElement: {
|
|
2081
2259
|
prototype: HTMLVaFileInputMultipleElement;
|
|
@@ -2104,50 +2282,100 @@ declare global {
|
|
|
2104
2282
|
prototype: HTMLVaIconElement;
|
|
2105
2283
|
new (): HTMLVaIconElement;
|
|
2106
2284
|
};
|
|
2285
|
+
interface HTMLVaLinkElementEventMap {
|
|
2286
|
+
"component-library-analytics": any;
|
|
2287
|
+
}
|
|
2107
2288
|
/**
|
|
2108
2289
|
* @componentName Link
|
|
2109
2290
|
* @maturityCategory caution
|
|
2110
2291
|
* @maturityLevel candidate
|
|
2111
2292
|
*/
|
|
2112
2293
|
interface HTMLVaLinkElement extends Components.VaLink, HTMLStencilElement {
|
|
2294
|
+
addEventListener<K extends keyof HTMLVaLinkElementEventMap>(type: K, listener: (this: HTMLVaLinkElement, ev: VaLinkCustomEvent<HTMLVaLinkElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2295
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2296
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2297
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2298
|
+
removeEventListener<K extends keyof HTMLVaLinkElementEventMap>(type: K, listener: (this: HTMLVaLinkElement, ev: VaLinkCustomEvent<HTMLVaLinkElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2299
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2300
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2301
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2113
2302
|
}
|
|
2114
2303
|
var HTMLVaLinkElement: {
|
|
2115
2304
|
prototype: HTMLVaLinkElement;
|
|
2116
2305
|
new (): HTMLVaLinkElement;
|
|
2117
2306
|
};
|
|
2307
|
+
interface HTMLVaLinkActionElementEventMap {
|
|
2308
|
+
"component-library-analytics": any;
|
|
2309
|
+
}
|
|
2118
2310
|
/**
|
|
2119
2311
|
* @componentName Link - Action
|
|
2120
2312
|
* @maturityCategory caution
|
|
2121
2313
|
* @maturityLevel candidate
|
|
2122
2314
|
*/
|
|
2123
2315
|
interface HTMLVaLinkActionElement extends Components.VaLinkAction, HTMLStencilElement {
|
|
2316
|
+
addEventListener<K extends keyof HTMLVaLinkActionElementEventMap>(type: K, listener: (this: HTMLVaLinkActionElement, ev: VaLinkActionCustomEvent<HTMLVaLinkActionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2317
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2318
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2319
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2320
|
+
removeEventListener<K extends keyof HTMLVaLinkActionElementEventMap>(type: K, listener: (this: HTMLVaLinkActionElement, ev: VaLinkActionCustomEvent<HTMLVaLinkActionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2321
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2322
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2323
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2124
2324
|
}
|
|
2125
2325
|
var HTMLVaLinkActionElement: {
|
|
2126
2326
|
prototype: HTMLVaLinkActionElement;
|
|
2127
2327
|
new (): HTMLVaLinkActionElement;
|
|
2128
2328
|
};
|
|
2329
|
+
interface HTMLVaLoadingIndicatorElementEventMap {
|
|
2330
|
+
"component-library-analytics": any;
|
|
2331
|
+
}
|
|
2129
2332
|
/**
|
|
2130
2333
|
* @componentName Loading indicator
|
|
2131
2334
|
* @maturityCategory use
|
|
2132
2335
|
* @maturityLevel best_practice
|
|
2133
2336
|
*/
|
|
2134
2337
|
interface HTMLVaLoadingIndicatorElement extends Components.VaLoadingIndicator, HTMLStencilElement {
|
|
2338
|
+
addEventListener<K extends keyof HTMLVaLoadingIndicatorElementEventMap>(type: K, listener: (this: HTMLVaLoadingIndicatorElement, ev: VaLoadingIndicatorCustomEvent<HTMLVaLoadingIndicatorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2339
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2340
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2341
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2342
|
+
removeEventListener<K extends keyof HTMLVaLoadingIndicatorElementEventMap>(type: K, listener: (this: HTMLVaLoadingIndicatorElement, ev: VaLoadingIndicatorCustomEvent<HTMLVaLoadingIndicatorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2343
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2344
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2345
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2135
2346
|
}
|
|
2136
2347
|
var HTMLVaLoadingIndicatorElement: {
|
|
2137
2348
|
prototype: HTMLVaLoadingIndicatorElement;
|
|
2138
2349
|
new (): HTMLVaLoadingIndicatorElement;
|
|
2139
2350
|
};
|
|
2351
|
+
interface HTMLVaMaintenanceBannerElementEventMap {
|
|
2352
|
+
"closeEvent": any;
|
|
2353
|
+
"component-library-analytics": any;
|
|
2354
|
+
}
|
|
2140
2355
|
/**
|
|
2141
2356
|
* @componentName Banner - Maintenance
|
|
2142
2357
|
* @maturityCategory caution
|
|
2143
2358
|
* @maturityLevel available
|
|
2144
2359
|
*/
|
|
2145
2360
|
interface HTMLVaMaintenanceBannerElement extends Components.VaMaintenanceBanner, HTMLStencilElement {
|
|
2361
|
+
addEventListener<K extends keyof HTMLVaMaintenanceBannerElementEventMap>(type: K, listener: (this: HTMLVaMaintenanceBannerElement, ev: VaMaintenanceBannerCustomEvent<HTMLVaMaintenanceBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2362
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2363
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2364
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2365
|
+
removeEventListener<K extends keyof HTMLVaMaintenanceBannerElementEventMap>(type: K, listener: (this: HTMLVaMaintenanceBannerElement, ev: VaMaintenanceBannerCustomEvent<HTMLVaMaintenanceBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2366
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2367
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2368
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2146
2369
|
}
|
|
2147
2370
|
var HTMLVaMaintenanceBannerElement: {
|
|
2148
2371
|
prototype: HTMLVaMaintenanceBannerElement;
|
|
2149
2372
|
new (): HTMLVaMaintenanceBannerElement;
|
|
2150
2373
|
};
|
|
2374
|
+
interface HTMLVaMemorableDateElementEventMap {
|
|
2375
|
+
"dateChange": any;
|
|
2376
|
+
"dateBlur": any;
|
|
2377
|
+
"component-library-analytics": any;
|
|
2378
|
+
}
|
|
2151
2379
|
/**
|
|
2152
2380
|
* @componentName Memorable date
|
|
2153
2381
|
* @maturityCategory caution
|
|
@@ -2157,6 +2385,14 @@ declare global {
|
|
|
2157
2385
|
* @translations Spanish
|
|
2158
2386
|
*/
|
|
2159
2387
|
interface HTMLVaMemorableDateElement extends Components.VaMemorableDate, HTMLStencilElement {
|
|
2388
|
+
addEventListener<K extends keyof HTMLVaMemorableDateElementEventMap>(type: K, listener: (this: HTMLVaMemorableDateElement, ev: VaMemorableDateCustomEvent<HTMLVaMemorableDateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2389
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2390
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2391
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2392
|
+
removeEventListener<K extends keyof HTMLVaMemorableDateElementEventMap>(type: K, listener: (this: HTMLVaMemorableDateElement, ev: VaMemorableDateCustomEvent<HTMLVaMemorableDateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2393
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2394
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2395
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2160
2396
|
}
|
|
2161
2397
|
var HTMLVaMemorableDateElement: {
|
|
2162
2398
|
prototype: HTMLVaMemorableDateElement;
|
|
@@ -2173,6 +2409,12 @@ declare global {
|
|
|
2173
2409
|
prototype: HTMLVaMinimalFooterElement;
|
|
2174
2410
|
new (): HTMLVaMinimalFooterElement;
|
|
2175
2411
|
};
|
|
2412
|
+
interface HTMLVaModalElementEventMap {
|
|
2413
|
+
"closeEvent": any;
|
|
2414
|
+
"primaryButtonClick": any;
|
|
2415
|
+
"secondaryButtonClick": any;
|
|
2416
|
+
"component-library-analytics": any;
|
|
2417
|
+
}
|
|
2176
2418
|
/**
|
|
2177
2419
|
* @click Used to detect clicks outside of modal contents to close modal.
|
|
2178
2420
|
* @keydown Used to detect Escape key to close modal.
|
|
@@ -2181,6 +2423,14 @@ declare global {
|
|
|
2181
2423
|
* @maturityLevel deployed
|
|
2182
2424
|
*/
|
|
2183
2425
|
interface HTMLVaModalElement extends Components.VaModal, HTMLStencilElement {
|
|
2426
|
+
addEventListener<K extends keyof HTMLVaModalElementEventMap>(type: K, listener: (this: HTMLVaModalElement, ev: VaModalCustomEvent<HTMLVaModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2427
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2428
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2429
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2430
|
+
removeEventListener<K extends keyof HTMLVaModalElementEventMap>(type: K, listener: (this: HTMLVaModalElement, ev: VaModalCustomEvent<HTMLVaModalElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2431
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2432
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2433
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2184
2434
|
}
|
|
2185
2435
|
var HTMLVaModalElement: {
|
|
2186
2436
|
prototype: HTMLVaModalElement;
|
|
@@ -2198,23 +2448,46 @@ declare global {
|
|
|
2198
2448
|
prototype: HTMLVaNeedHelpElement;
|
|
2199
2449
|
new (): HTMLVaNeedHelpElement;
|
|
2200
2450
|
};
|
|
2451
|
+
interface HTMLVaNotificationElementEventMap {
|
|
2452
|
+
"closeEvent": any;
|
|
2453
|
+
"component-library-analytics": any;
|
|
2454
|
+
}
|
|
2201
2455
|
/**
|
|
2202
2456
|
* @componentName Notification
|
|
2203
2457
|
* @maturityCategory dont_use
|
|
2204
2458
|
* @maturityLevel deprecated
|
|
2205
2459
|
*/
|
|
2206
2460
|
interface HTMLVaNotificationElement extends Components.VaNotification, HTMLStencilElement {
|
|
2461
|
+
addEventListener<K extends keyof HTMLVaNotificationElementEventMap>(type: K, listener: (this: HTMLVaNotificationElement, ev: VaNotificationCustomEvent<HTMLVaNotificationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2462
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2463
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2464
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2465
|
+
removeEventListener<K extends keyof HTMLVaNotificationElementEventMap>(type: K, listener: (this: HTMLVaNotificationElement, ev: VaNotificationCustomEvent<HTMLVaNotificationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2466
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2467
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2468
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2207
2469
|
}
|
|
2208
2470
|
var HTMLVaNotificationElement: {
|
|
2209
2471
|
prototype: HTMLVaNotificationElement;
|
|
2210
2472
|
new (): HTMLVaNotificationElement;
|
|
2211
2473
|
};
|
|
2474
|
+
interface HTMLVaOfficialGovBannerElementEventMap {
|
|
2475
|
+
"component-library-analytics": any;
|
|
2476
|
+
}
|
|
2212
2477
|
/**
|
|
2213
2478
|
* @componentName Banner - Official Gov
|
|
2214
2479
|
* @maturityCategory caution
|
|
2215
2480
|
* @maturityLevel candidate
|
|
2216
2481
|
*/
|
|
2217
2482
|
interface HTMLVaOfficialGovBannerElement extends Components.VaOfficialGovBanner, HTMLStencilElement {
|
|
2483
|
+
addEventListener<K extends keyof HTMLVaOfficialGovBannerElementEventMap>(type: K, listener: (this: HTMLVaOfficialGovBannerElement, ev: VaOfficialGovBannerCustomEvent<HTMLVaOfficialGovBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2484
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2485
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2486
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2487
|
+
removeEventListener<K extends keyof HTMLVaOfficialGovBannerElementEventMap>(type: K, listener: (this: HTMLVaOfficialGovBannerElement, ev: VaOfficialGovBannerCustomEvent<HTMLVaOfficialGovBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2488
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2489
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2490
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2218
2491
|
}
|
|
2219
2492
|
var HTMLVaOfficialGovBannerElement: {
|
|
2220
2493
|
prototype: HTMLVaOfficialGovBannerElement;
|
|
@@ -2231,6 +2504,9 @@ declare global {
|
|
|
2231
2504
|
prototype: HTMLVaOmbInfoElement;
|
|
2232
2505
|
new (): HTMLVaOmbInfoElement;
|
|
2233
2506
|
};
|
|
2507
|
+
interface HTMLVaOnThisPageElementEventMap {
|
|
2508
|
+
"component-library-analytics": any;
|
|
2509
|
+
}
|
|
2234
2510
|
/**
|
|
2235
2511
|
* @componentName On this page
|
|
2236
2512
|
* @maturityCategory use
|
|
@@ -2240,28 +2516,60 @@ declare global {
|
|
|
2240
2516
|
* @translations Tagalog
|
|
2241
2517
|
*/
|
|
2242
2518
|
interface HTMLVaOnThisPageElement extends Components.VaOnThisPage, HTMLStencilElement {
|
|
2519
|
+
addEventListener<K extends keyof HTMLVaOnThisPageElementEventMap>(type: K, listener: (this: HTMLVaOnThisPageElement, ev: VaOnThisPageCustomEvent<HTMLVaOnThisPageElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2520
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2521
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2522
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2523
|
+
removeEventListener<K extends keyof HTMLVaOnThisPageElementEventMap>(type: K, listener: (this: HTMLVaOnThisPageElement, ev: VaOnThisPageCustomEvent<HTMLVaOnThisPageElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2524
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2525
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2526
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2243
2527
|
}
|
|
2244
2528
|
var HTMLVaOnThisPageElement: {
|
|
2245
2529
|
prototype: HTMLVaOnThisPageElement;
|
|
2246
2530
|
new (): HTMLVaOnThisPageElement;
|
|
2247
2531
|
};
|
|
2532
|
+
interface HTMLVaPaginationElementEventMap {
|
|
2533
|
+
"pageSelect": any;
|
|
2534
|
+
"component-library-analytics": any;
|
|
2535
|
+
}
|
|
2248
2536
|
/**
|
|
2249
2537
|
* @componentName Pagination
|
|
2250
2538
|
* @maturityCategory use
|
|
2251
2539
|
* @maturityLevel deployed
|
|
2252
2540
|
*/
|
|
2253
2541
|
interface HTMLVaPaginationElement extends Components.VaPagination, HTMLStencilElement {
|
|
2542
|
+
addEventListener<K extends keyof HTMLVaPaginationElementEventMap>(type: K, listener: (this: HTMLVaPaginationElement, ev: VaPaginationCustomEvent<HTMLVaPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2543
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2544
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2545
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2546
|
+
removeEventListener<K extends keyof HTMLVaPaginationElementEventMap>(type: K, listener: (this: HTMLVaPaginationElement, ev: VaPaginationCustomEvent<HTMLVaPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2547
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2548
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2549
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2254
2550
|
}
|
|
2255
2551
|
var HTMLVaPaginationElement: {
|
|
2256
2552
|
prototype: HTMLVaPaginationElement;
|
|
2257
2553
|
new (): HTMLVaPaginationElement;
|
|
2258
2554
|
};
|
|
2555
|
+
interface HTMLVaPrivacyAgreementElementEventMap {
|
|
2556
|
+
"component-library-analytics": any;
|
|
2557
|
+
"vaChange": any;
|
|
2558
|
+
}
|
|
2259
2559
|
/**
|
|
2260
2560
|
* @componentName Privacy agreement
|
|
2261
2561
|
* @maturityCategory caution
|
|
2262
2562
|
* @maturityLevel available
|
|
2263
2563
|
*/
|
|
2264
2564
|
interface HTMLVaPrivacyAgreementElement extends Components.VaPrivacyAgreement, HTMLStencilElement {
|
|
2565
|
+
addEventListener<K extends keyof HTMLVaPrivacyAgreementElementEventMap>(type: K, listener: (this: HTMLVaPrivacyAgreementElement, ev: VaPrivacyAgreementCustomEvent<HTMLVaPrivacyAgreementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2566
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2567
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2568
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2569
|
+
removeEventListener<K extends keyof HTMLVaPrivacyAgreementElementEventMap>(type: K, listener: (this: HTMLVaPrivacyAgreementElement, ev: VaPrivacyAgreementCustomEvent<HTMLVaPrivacyAgreementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2570
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2571
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2572
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2265
2573
|
}
|
|
2266
2574
|
var HTMLVaPrivacyAgreementElement: {
|
|
2267
2575
|
prototype: HTMLVaPrivacyAgreementElement;
|
|
@@ -2284,17 +2592,32 @@ declare global {
|
|
|
2284
2592
|
prototype: HTMLVaProcessListItemElement;
|
|
2285
2593
|
new (): HTMLVaProcessListItemElement;
|
|
2286
2594
|
};
|
|
2595
|
+
interface HTMLVaProgressBarElementEventMap {
|
|
2596
|
+
"component-library-analytics": any;
|
|
2597
|
+
}
|
|
2287
2598
|
/**
|
|
2288
2599
|
* @componentName Progress bar - activity
|
|
2289
2600
|
* @maturityCategory use
|
|
2290
2601
|
* @maturityLevel deployed
|
|
2291
2602
|
*/
|
|
2292
2603
|
interface HTMLVaProgressBarElement extends Components.VaProgressBar, HTMLStencilElement {
|
|
2604
|
+
addEventListener<K extends keyof HTMLVaProgressBarElementEventMap>(type: K, listener: (this: HTMLVaProgressBarElement, ev: VaProgressBarCustomEvent<HTMLVaProgressBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2605
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2606
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2607
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2608
|
+
removeEventListener<K extends keyof HTMLVaProgressBarElementEventMap>(type: K, listener: (this: HTMLVaProgressBarElement, ev: VaProgressBarCustomEvent<HTMLVaProgressBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2609
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2610
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2611
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2293
2612
|
}
|
|
2294
2613
|
var HTMLVaProgressBarElement: {
|
|
2295
2614
|
prototype: HTMLVaProgressBarElement;
|
|
2296
2615
|
new (): HTMLVaProgressBarElement;
|
|
2297
2616
|
};
|
|
2617
|
+
interface HTMLVaPromoBannerElementEventMap {
|
|
2618
|
+
"closeEvent": any;
|
|
2619
|
+
"component-library-analytics": any;
|
|
2620
|
+
}
|
|
2298
2621
|
/**
|
|
2299
2622
|
* @componentName Banner - Promo
|
|
2300
2623
|
* @maturityCategory use
|
|
@@ -2302,11 +2625,23 @@ declare global {
|
|
|
2302
2625
|
* @guidanceHref banner/promo
|
|
2303
2626
|
*/
|
|
2304
2627
|
interface HTMLVaPromoBannerElement extends Components.VaPromoBanner, HTMLStencilElement {
|
|
2628
|
+
addEventListener<K extends keyof HTMLVaPromoBannerElementEventMap>(type: K, listener: (this: HTMLVaPromoBannerElement, ev: VaPromoBannerCustomEvent<HTMLVaPromoBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2629
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2630
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2631
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2632
|
+
removeEventListener<K extends keyof HTMLVaPromoBannerElementEventMap>(type: K, listener: (this: HTMLVaPromoBannerElement, ev: VaPromoBannerCustomEvent<HTMLVaPromoBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2633
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2634
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2635
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2305
2636
|
}
|
|
2306
2637
|
var HTMLVaPromoBannerElement: {
|
|
2307
2638
|
prototype: HTMLVaPromoBannerElement;
|
|
2308
2639
|
new (): HTMLVaPromoBannerElement;
|
|
2309
2640
|
};
|
|
2641
|
+
interface HTMLVaRadioElementEventMap {
|
|
2642
|
+
"component-library-analytics": any;
|
|
2643
|
+
"vaValueChange": any;
|
|
2644
|
+
}
|
|
2310
2645
|
/**
|
|
2311
2646
|
* @keydown The event emitted when a key is pressed.
|
|
2312
2647
|
* @radioOptionSelected The event emitted when the selected option value changes.
|
|
@@ -2319,28 +2654,61 @@ declare global {
|
|
|
2319
2654
|
* @translations Tagalog
|
|
2320
2655
|
*/
|
|
2321
2656
|
interface HTMLVaRadioElement extends Components.VaRadio, HTMLStencilElement {
|
|
2657
|
+
addEventListener<K extends keyof HTMLVaRadioElementEventMap>(type: K, listener: (this: HTMLVaRadioElement, ev: VaRadioCustomEvent<HTMLVaRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2658
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2659
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2660
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2661
|
+
removeEventListener<K extends keyof HTMLVaRadioElementEventMap>(type: K, listener: (this: HTMLVaRadioElement, ev: VaRadioCustomEvent<HTMLVaRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2662
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2663
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2664
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2322
2665
|
}
|
|
2323
2666
|
var HTMLVaRadioElement: {
|
|
2324
2667
|
prototype: HTMLVaRadioElement;
|
|
2325
2668
|
new (): HTMLVaRadioElement;
|
|
2326
2669
|
};
|
|
2670
|
+
interface HTMLVaRadioOptionElementEventMap {
|
|
2671
|
+
"radioOptionSelected": any;
|
|
2672
|
+
}
|
|
2327
2673
|
interface HTMLVaRadioOptionElement extends Components.VaRadioOption, HTMLStencilElement {
|
|
2674
|
+
addEventListener<K extends keyof HTMLVaRadioOptionElementEventMap>(type: K, listener: (this: HTMLVaRadioOptionElement, ev: VaRadioOptionCustomEvent<HTMLVaRadioOptionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2675
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2676
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2677
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2678
|
+
removeEventListener<K extends keyof HTMLVaRadioOptionElementEventMap>(type: K, listener: (this: HTMLVaRadioOptionElement, ev: VaRadioOptionCustomEvent<HTMLVaRadioOptionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2679
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2680
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2681
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2328
2682
|
}
|
|
2329
2683
|
var HTMLVaRadioOptionElement: {
|
|
2330
2684
|
prototype: HTMLVaRadioOptionElement;
|
|
2331
2685
|
new (): HTMLVaRadioOptionElement;
|
|
2332
2686
|
};
|
|
2687
|
+
interface HTMLVaSearchInputElementEventMap {
|
|
2688
|
+
"component-library-analytics": any;
|
|
2689
|
+
}
|
|
2333
2690
|
/**
|
|
2334
2691
|
* @componentName Search input
|
|
2335
2692
|
* @maturityCategory use
|
|
2336
2693
|
* @maturityLevel deployed
|
|
2337
2694
|
*/
|
|
2338
2695
|
interface HTMLVaSearchInputElement extends Components.VaSearchInput, HTMLStencilElement {
|
|
2696
|
+
addEventListener<K extends keyof HTMLVaSearchInputElementEventMap>(type: K, listener: (this: HTMLVaSearchInputElement, ev: VaSearchInputCustomEvent<HTMLVaSearchInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2697
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2698
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2699
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2700
|
+
removeEventListener<K extends keyof HTMLVaSearchInputElementEventMap>(type: K, listener: (this: HTMLVaSearchInputElement, ev: VaSearchInputCustomEvent<HTMLVaSearchInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2701
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2702
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2703
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2339
2704
|
}
|
|
2340
2705
|
var HTMLVaSearchInputElement: {
|
|
2341
2706
|
prototype: HTMLVaSearchInputElement;
|
|
2342
2707
|
new (): HTMLVaSearchInputElement;
|
|
2343
2708
|
};
|
|
2709
|
+
interface HTMLVaSegmentedProgressBarElementEventMap {
|
|
2710
|
+
"component-library-analytics": any;
|
|
2711
|
+
}
|
|
2344
2712
|
/**
|
|
2345
2713
|
* @componentName Progress bar - segmented
|
|
2346
2714
|
* @maturityCategory use
|
|
@@ -2348,11 +2716,24 @@ declare global {
|
|
|
2348
2716
|
* @guidanceHref form/progress-bar-segmented
|
|
2349
2717
|
*/
|
|
2350
2718
|
interface HTMLVaSegmentedProgressBarElement extends Components.VaSegmentedProgressBar, HTMLStencilElement {
|
|
2719
|
+
addEventListener<K extends keyof HTMLVaSegmentedProgressBarElementEventMap>(type: K, listener: (this: HTMLVaSegmentedProgressBarElement, ev: VaSegmentedProgressBarCustomEvent<HTMLVaSegmentedProgressBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2720
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2721
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2722
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2723
|
+
removeEventListener<K extends keyof HTMLVaSegmentedProgressBarElementEventMap>(type: K, listener: (this: HTMLVaSegmentedProgressBarElement, ev: VaSegmentedProgressBarCustomEvent<HTMLVaSegmentedProgressBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2724
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2725
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2726
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2351
2727
|
}
|
|
2352
2728
|
var HTMLVaSegmentedProgressBarElement: {
|
|
2353
2729
|
prototype: HTMLVaSegmentedProgressBarElement;
|
|
2354
2730
|
new (): HTMLVaSegmentedProgressBarElement;
|
|
2355
2731
|
};
|
|
2732
|
+
interface HTMLVaSelectElementEventMap {
|
|
2733
|
+
"vaKeyDown": any;
|
|
2734
|
+
"vaSelect": any;
|
|
2735
|
+
"component-library-analytics": any;
|
|
2736
|
+
}
|
|
2356
2737
|
/**
|
|
2357
2738
|
* @nativeHandler onKeyDown
|
|
2358
2739
|
* @componentName Select
|
|
@@ -2363,17 +2744,38 @@ declare global {
|
|
|
2363
2744
|
* @translations Spanish
|
|
2364
2745
|
*/
|
|
2365
2746
|
interface HTMLVaSelectElement extends Components.VaSelect, HTMLStencilElement {
|
|
2747
|
+
addEventListener<K extends keyof HTMLVaSelectElementEventMap>(type: K, listener: (this: HTMLVaSelectElement, ev: VaSelectCustomEvent<HTMLVaSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2748
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2749
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2750
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2751
|
+
removeEventListener<K extends keyof HTMLVaSelectElementEventMap>(type: K, listener: (this: HTMLVaSelectElement, ev: VaSelectCustomEvent<HTMLVaSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2752
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2753
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2754
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2366
2755
|
}
|
|
2367
2756
|
var HTMLVaSelectElement: {
|
|
2368
2757
|
prototype: HTMLVaSelectElement;
|
|
2369
2758
|
new (): HTMLVaSelectElement;
|
|
2370
2759
|
};
|
|
2760
|
+
interface HTMLVaStatementOfTruthElementEventMap {
|
|
2761
|
+
"vaInputChange": any;
|
|
2762
|
+
"vaInputBlur": any;
|
|
2763
|
+
"vaCheckboxChange": any;
|
|
2764
|
+
}
|
|
2371
2765
|
/**
|
|
2372
2766
|
* @componentName Statement of truth
|
|
2373
2767
|
* @maturityCategory caution
|
|
2374
2768
|
* @maturityLevel candidate
|
|
2375
2769
|
*/
|
|
2376
2770
|
interface HTMLVaStatementOfTruthElement extends Components.VaStatementOfTruth, HTMLStencilElement {
|
|
2771
|
+
addEventListener<K extends keyof HTMLVaStatementOfTruthElementEventMap>(type: K, listener: (this: HTMLVaStatementOfTruthElement, ev: VaStatementOfTruthCustomEvent<HTMLVaStatementOfTruthElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2772
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2773
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2774
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2775
|
+
removeEventListener<K extends keyof HTMLVaStatementOfTruthElementEventMap>(type: K, listener: (this: HTMLVaStatementOfTruthElement, ev: VaStatementOfTruthCustomEvent<HTMLVaStatementOfTruthElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2776
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2777
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2778
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2377
2779
|
}
|
|
2378
2780
|
var HTMLVaStatementOfTruthElement: {
|
|
2379
2781
|
prototype: HTMLVaStatementOfTruthElement;
|
|
@@ -2413,17 +2815,31 @@ declare global {
|
|
|
2413
2815
|
prototype: HTMLVaTableRowElement;
|
|
2414
2816
|
new (): HTMLVaTableRowElement;
|
|
2415
2817
|
};
|
|
2818
|
+
interface HTMLVaTelephoneElementEventMap {
|
|
2819
|
+
"component-library-analytics": any;
|
|
2820
|
+
}
|
|
2416
2821
|
/**
|
|
2417
2822
|
* @componentName Telephone
|
|
2418
2823
|
* @maturityCategory use
|
|
2419
2824
|
* @maturityLevel best_practice
|
|
2420
2825
|
*/
|
|
2421
2826
|
interface HTMLVaTelephoneElement extends Components.VaTelephone, HTMLStencilElement {
|
|
2827
|
+
addEventListener<K extends keyof HTMLVaTelephoneElementEventMap>(type: K, listener: (this: HTMLVaTelephoneElement, ev: VaTelephoneCustomEvent<HTMLVaTelephoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2828
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2829
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2830
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2831
|
+
removeEventListener<K extends keyof HTMLVaTelephoneElementEventMap>(type: K, listener: (this: HTMLVaTelephoneElement, ev: VaTelephoneCustomEvent<HTMLVaTelephoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2832
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2833
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2834
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2422
2835
|
}
|
|
2423
2836
|
var HTMLVaTelephoneElement: {
|
|
2424
2837
|
prototype: HTMLVaTelephoneElement;
|
|
2425
2838
|
new (): HTMLVaTelephoneElement;
|
|
2426
2839
|
};
|
|
2840
|
+
interface HTMLVaTextInputElementEventMap {
|
|
2841
|
+
"component-library-analytics": any;
|
|
2842
|
+
}
|
|
2427
2843
|
/**
|
|
2428
2844
|
* @nativeHandler onInput
|
|
2429
2845
|
* @nativeHandler onBlur
|
|
@@ -2436,11 +2852,22 @@ declare global {
|
|
|
2436
2852
|
* @translations Tagalog
|
|
2437
2853
|
*/
|
|
2438
2854
|
interface HTMLVaTextInputElement extends Components.VaTextInput, HTMLStencilElement {
|
|
2855
|
+
addEventListener<K extends keyof HTMLVaTextInputElementEventMap>(type: K, listener: (this: HTMLVaTextInputElement, ev: VaTextInputCustomEvent<HTMLVaTextInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2856
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2857
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2858
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2859
|
+
removeEventListener<K extends keyof HTMLVaTextInputElementEventMap>(type: K, listener: (this: HTMLVaTextInputElement, ev: VaTextInputCustomEvent<HTMLVaTextInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2860
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2861
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2862
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2439
2863
|
}
|
|
2440
2864
|
var HTMLVaTextInputElement: {
|
|
2441
2865
|
prototype: HTMLVaTextInputElement;
|
|
2442
2866
|
new (): HTMLVaTextInputElement;
|
|
2443
2867
|
};
|
|
2868
|
+
interface HTMLVaTextareaElementEventMap {
|
|
2869
|
+
"component-library-analytics": any;
|
|
2870
|
+
}
|
|
2444
2871
|
/**
|
|
2445
2872
|
* @nativeHandler onInput
|
|
2446
2873
|
* @nativeHandler onBlur
|
|
@@ -2452,6 +2879,14 @@ declare global {
|
|
|
2452
2879
|
* @translations Spanish
|
|
2453
2880
|
*/
|
|
2454
2881
|
interface HTMLVaTextareaElement extends Components.VaTextarea, HTMLStencilElement {
|
|
2882
|
+
addEventListener<K extends keyof HTMLVaTextareaElementEventMap>(type: K, listener: (this: HTMLVaTextareaElement, ev: VaTextareaCustomEvent<HTMLVaTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2883
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2884
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2885
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2886
|
+
removeEventListener<K extends keyof HTMLVaTextareaElementEventMap>(type: K, listener: (this: HTMLVaTextareaElement, ev: VaTextareaCustomEvent<HTMLVaTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2887
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2888
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2889
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2455
2890
|
}
|
|
2456
2891
|
var HTMLVaTextareaElement: {
|
|
2457
2892
|
prototype: HTMLVaTextareaElement;
|
|
@@ -4091,6 +4526,10 @@ declare namespace LocalJSX {
|
|
|
4091
4526
|
* Whether or not this is a required field.
|
|
4092
4527
|
*/
|
|
4093
4528
|
"required"?: boolean;
|
|
4529
|
+
/**
|
|
4530
|
+
* Whether an error message should be shown - set to false when this component is used inside va-date or va-memorable-date in which the error for the va-select will be rendered outside of va-select
|
|
4531
|
+
*/
|
|
4532
|
+
"showError"?: boolean;
|
|
4094
4533
|
/**
|
|
4095
4534
|
* Selected value (will get updated on select).
|
|
4096
4535
|
*/
|