@department-of-veterans-affairs/component-library 46.0.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 +447 -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/265.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,10 +1367,18 @@ 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
|
*/
|
|
1373
1377
|
"value"?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Displays the select at a specific width. Accepts 2xs (4ex), xs (7ex), sm or small (10ex), md or medium (20ex), lg (30ex), xl (40ex), and 2xl (50ex).
|
|
1380
|
+
*/
|
|
1381
|
+
"width"?: string;
|
|
1374
1382
|
}
|
|
1375
1383
|
/**
|
|
1376
1384
|
* @componentName Statement of truth
|
|
@@ -1862,6 +1870,9 @@ export interface VaTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
|
1862
1870
|
target: HTMLVaTextareaElement;
|
|
1863
1871
|
}
|
|
1864
1872
|
declare global {
|
|
1873
|
+
interface HTMLVaAccordionElementEventMap {
|
|
1874
|
+
"component-library-analytics": any;
|
|
1875
|
+
}
|
|
1865
1876
|
/**
|
|
1866
1877
|
* @componentName Accordion
|
|
1867
1878
|
* @accordionItemToggled This event is fired when an accordion item is opened or closed
|
|
@@ -1872,45 +1883,99 @@ declare global {
|
|
|
1872
1883
|
* @translations Tagalog
|
|
1873
1884
|
*/
|
|
1874
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;
|
|
1875
1894
|
}
|
|
1876
1895
|
var HTMLVaAccordionElement: {
|
|
1877
1896
|
prototype: HTMLVaAccordionElement;
|
|
1878
1897
|
new (): HTMLVaAccordionElement;
|
|
1879
1898
|
};
|
|
1899
|
+
interface HTMLVaAccordionItemElementEventMap {
|
|
1900
|
+
"accordionItemToggled": any;
|
|
1901
|
+
}
|
|
1880
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;
|
|
1881
1911
|
}
|
|
1882
1912
|
var HTMLVaAccordionItemElement: {
|
|
1883
1913
|
prototype: HTMLVaAccordionItemElement;
|
|
1884
1914
|
new (): HTMLVaAccordionItemElement;
|
|
1885
1915
|
};
|
|
1916
|
+
interface HTMLVaAdditionalInfoElementEventMap {
|
|
1917
|
+
"component-library-analytics": any;
|
|
1918
|
+
}
|
|
1886
1919
|
/**
|
|
1887
1920
|
* @componentName Additional info
|
|
1888
1921
|
* @maturityCategory use
|
|
1889
1922
|
* @maturityLevel deployed
|
|
1890
1923
|
*/
|
|
1891
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;
|
|
1892
1933
|
}
|
|
1893
1934
|
var HTMLVaAdditionalInfoElement: {
|
|
1894
1935
|
prototype: HTMLVaAdditionalInfoElement;
|
|
1895
1936
|
new (): HTMLVaAdditionalInfoElement;
|
|
1896
1937
|
};
|
|
1938
|
+
interface HTMLVaAlertElementEventMap {
|
|
1939
|
+
"va-component-did-load": any;
|
|
1940
|
+
"closeEvent": any;
|
|
1941
|
+
"component-library-analytics": any;
|
|
1942
|
+
}
|
|
1897
1943
|
/**
|
|
1898
1944
|
* @componentName Alert
|
|
1899
1945
|
* @maturityCategory use
|
|
1900
1946
|
* @maturityLevel best_practice
|
|
1901
1947
|
*/
|
|
1902
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;
|
|
1903
1957
|
}
|
|
1904
1958
|
var HTMLVaAlertElement: {
|
|
1905
1959
|
prototype: HTMLVaAlertElement;
|
|
1906
1960
|
new (): HTMLVaAlertElement;
|
|
1907
1961
|
};
|
|
1962
|
+
interface HTMLVaAlertExpandableElementEventMap {
|
|
1963
|
+
"component-library-analytics": any;
|
|
1964
|
+
}
|
|
1908
1965
|
/**
|
|
1909
1966
|
* @componentName Alert - expandable
|
|
1910
1967
|
* @maturityCategory caution
|
|
1911
1968
|
* @maturityLevel candidate
|
|
1912
1969
|
*/
|
|
1913
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;
|
|
1914
1979
|
}
|
|
1915
1980
|
var HTMLVaAlertExpandableElement: {
|
|
1916
1981
|
prototype: HTMLVaAlertExpandableElement;
|
|
@@ -1927,28 +1992,54 @@ declare global {
|
|
|
1927
1992
|
prototype: HTMLVaBackToTopElement;
|
|
1928
1993
|
new (): HTMLVaBackToTopElement;
|
|
1929
1994
|
};
|
|
1995
|
+
interface HTMLVaBannerElementEventMap {
|
|
1996
|
+
"component-library-analytics": any;
|
|
1997
|
+
}
|
|
1930
1998
|
/**
|
|
1931
1999
|
* @componentName Banner
|
|
1932
2000
|
* @maturityCategory use
|
|
1933
2001
|
* @maturityLevel deployed
|
|
1934
2002
|
*/
|
|
1935
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;
|
|
1936
2012
|
}
|
|
1937
2013
|
var HTMLVaBannerElement: {
|
|
1938
2014
|
prototype: HTMLVaBannerElement;
|
|
1939
2015
|
new (): HTMLVaBannerElement;
|
|
1940
2016
|
};
|
|
2017
|
+
interface HTMLVaBreadcrumbsElementEventMap {
|
|
2018
|
+
"component-library-analytics": any;
|
|
2019
|
+
"routeChange": { href: string };
|
|
2020
|
+
}
|
|
1941
2021
|
/**
|
|
1942
2022
|
* @componentName Breadcrumbs
|
|
1943
2023
|
* @maturityCategory use
|
|
1944
2024
|
* @maturityLevel deployed
|
|
1945
2025
|
*/
|
|
1946
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;
|
|
1947
2035
|
}
|
|
1948
2036
|
var HTMLVaBreadcrumbsElement: {
|
|
1949
2037
|
prototype: HTMLVaBreadcrumbsElement;
|
|
1950
2038
|
new (): HTMLVaBreadcrumbsElement;
|
|
1951
2039
|
};
|
|
2040
|
+
interface HTMLVaButtonElementEventMap {
|
|
2041
|
+
"component-library-analytics": any;
|
|
2042
|
+
}
|
|
1952
2043
|
/**
|
|
1953
2044
|
* @componentName Button
|
|
1954
2045
|
* @nativeHandler onClick
|
|
@@ -1956,11 +2047,22 @@ declare global {
|
|
|
1956
2047
|
* @maturityLevel candidate
|
|
1957
2048
|
*/
|
|
1958
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;
|
|
1959
2058
|
}
|
|
1960
2059
|
var HTMLVaButtonElement: {
|
|
1961
2060
|
prototype: HTMLVaButtonElement;
|
|
1962
2061
|
new (): HTMLVaButtonElement;
|
|
1963
2062
|
};
|
|
2063
|
+
interface HTMLVaButtonIconElementEventMap {
|
|
2064
|
+
"component-library-analytics": any;
|
|
2065
|
+
}
|
|
1964
2066
|
/**
|
|
1965
2067
|
* @componentName Button - Icon
|
|
1966
2068
|
* @nativeHandler onClick
|
|
@@ -1968,11 +2070,24 @@ declare global {
|
|
|
1968
2070
|
* @maturityLevel candidate
|
|
1969
2071
|
*/
|
|
1970
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;
|
|
1971
2081
|
}
|
|
1972
2082
|
var HTMLVaButtonIconElement: {
|
|
1973
2083
|
prototype: HTMLVaButtonIconElement;
|
|
1974
2084
|
new (): HTMLVaButtonIconElement;
|
|
1975
2085
|
};
|
|
2086
|
+
interface HTMLVaButtonPairElementEventMap {
|
|
2087
|
+
"primaryClick": any;
|
|
2088
|
+
"secondaryClick": any;
|
|
2089
|
+
"component-library-analytics": any;
|
|
2090
|
+
}
|
|
1976
2091
|
/**
|
|
1977
2092
|
* @componentName Button pair
|
|
1978
2093
|
* @maturityCategory caution
|
|
@@ -1980,6 +2095,14 @@ declare global {
|
|
|
1980
2095
|
* @guidanceHref button/button-pair
|
|
1981
2096
|
*/
|
|
1982
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;
|
|
1983
2106
|
}
|
|
1984
2107
|
var HTMLVaButtonPairElement: {
|
|
1985
2108
|
prototype: HTMLVaButtonPairElement;
|
|
@@ -1996,6 +2119,10 @@ declare global {
|
|
|
1996
2119
|
prototype: HTMLVaCardElement;
|
|
1997
2120
|
new (): HTMLVaCardElement;
|
|
1998
2121
|
};
|
|
2122
|
+
interface HTMLVaCheckboxElementEventMap {
|
|
2123
|
+
"vaChange": any;
|
|
2124
|
+
"component-library-analytics": any;
|
|
2125
|
+
}
|
|
1999
2126
|
/**
|
|
2000
2127
|
* @nativeHandler onBlur
|
|
2001
2128
|
* @componentName Checkbox
|
|
@@ -2007,11 +2134,22 @@ declare global {
|
|
|
2007
2134
|
* @translations Tagalog
|
|
2008
2135
|
*/
|
|
2009
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;
|
|
2010
2145
|
}
|
|
2011
2146
|
var HTMLVaCheckboxElement: {
|
|
2012
2147
|
prototype: HTMLVaCheckboxElement;
|
|
2013
2148
|
new (): HTMLVaCheckboxElement;
|
|
2014
2149
|
};
|
|
2150
|
+
interface HTMLVaCheckboxGroupElementEventMap {
|
|
2151
|
+
"component-library-analytics": any;
|
|
2152
|
+
}
|
|
2015
2153
|
/**
|
|
2016
2154
|
* @vaChange The event emitted when the input value changes.
|
|
2017
2155
|
* @componentName Checkbox group
|
|
@@ -2023,6 +2161,14 @@ declare global {
|
|
|
2023
2161
|
* @translations Tagalog
|
|
2024
2162
|
*/
|
|
2025
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;
|
|
2026
2172
|
}
|
|
2027
2173
|
var HTMLVaCheckboxGroupElement: {
|
|
2028
2174
|
prototype: HTMLVaCheckboxGroupElement;
|
|
@@ -2039,6 +2185,11 @@ declare global {
|
|
|
2039
2185
|
prototype: HTMLVaCrisisLineModalElement;
|
|
2040
2186
|
new (): HTMLVaCrisisLineModalElement;
|
|
2041
2187
|
};
|
|
2188
|
+
interface HTMLVaDateElementEventMap {
|
|
2189
|
+
"dateChange": any;
|
|
2190
|
+
"dateBlur": any;
|
|
2191
|
+
"component-library-analytics": any;
|
|
2192
|
+
}
|
|
2042
2193
|
/**
|
|
2043
2194
|
* @componentName Date input
|
|
2044
2195
|
* @maturityCategory use
|
|
@@ -2046,11 +2197,23 @@ declare global {
|
|
|
2046
2197
|
* @guidanceHref form/date-input
|
|
2047
2198
|
*/
|
|
2048
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;
|
|
2049
2208
|
}
|
|
2050
2209
|
var HTMLVaDateElement: {
|
|
2051
2210
|
prototype: HTMLVaDateElement;
|
|
2052
2211
|
new (): HTMLVaDateElement;
|
|
2053
2212
|
};
|
|
2213
|
+
interface HTMLVaFileInputElementEventMap {
|
|
2214
|
+
"vaChange": any;
|
|
2215
|
+
"component-library-analytics": any;
|
|
2216
|
+
}
|
|
2054
2217
|
/**
|
|
2055
2218
|
* @componentName File input
|
|
2056
2219
|
* @maturityCategory caution
|
|
@@ -2058,11 +2221,22 @@ declare global {
|
|
|
2058
2221
|
* @guidanceHref form/file-input
|
|
2059
2222
|
*/
|
|
2060
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;
|
|
2061
2232
|
}
|
|
2062
2233
|
var HTMLVaFileInputElement: {
|
|
2063
2234
|
prototype: HTMLVaFileInputElement;
|
|
2064
2235
|
new (): HTMLVaFileInputElement;
|
|
2065
2236
|
};
|
|
2237
|
+
interface HTMLVaFileInputMultipleElementEventMap {
|
|
2238
|
+
"vaMultipleChange": any;
|
|
2239
|
+
}
|
|
2066
2240
|
/**
|
|
2067
2241
|
* A component that manages multiple file inputs, allowing users to upload several files.
|
|
2068
2242
|
* It supports adding, changing, and removing files with dynamic error handling.
|
|
@@ -2072,6 +2246,14 @@ declare global {
|
|
|
2072
2246
|
* @guidanceHref form/file-input-multiple
|
|
2073
2247
|
*/
|
|
2074
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;
|
|
2075
2257
|
}
|
|
2076
2258
|
var HTMLVaFileInputMultipleElement: {
|
|
2077
2259
|
prototype: HTMLVaFileInputMultipleElement;
|
|
@@ -2100,50 +2282,100 @@ declare global {
|
|
|
2100
2282
|
prototype: HTMLVaIconElement;
|
|
2101
2283
|
new (): HTMLVaIconElement;
|
|
2102
2284
|
};
|
|
2285
|
+
interface HTMLVaLinkElementEventMap {
|
|
2286
|
+
"component-library-analytics": any;
|
|
2287
|
+
}
|
|
2103
2288
|
/**
|
|
2104
2289
|
* @componentName Link
|
|
2105
2290
|
* @maturityCategory caution
|
|
2106
2291
|
* @maturityLevel candidate
|
|
2107
2292
|
*/
|
|
2108
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;
|
|
2109
2302
|
}
|
|
2110
2303
|
var HTMLVaLinkElement: {
|
|
2111
2304
|
prototype: HTMLVaLinkElement;
|
|
2112
2305
|
new (): HTMLVaLinkElement;
|
|
2113
2306
|
};
|
|
2307
|
+
interface HTMLVaLinkActionElementEventMap {
|
|
2308
|
+
"component-library-analytics": any;
|
|
2309
|
+
}
|
|
2114
2310
|
/**
|
|
2115
2311
|
* @componentName Link - Action
|
|
2116
2312
|
* @maturityCategory caution
|
|
2117
2313
|
* @maturityLevel candidate
|
|
2118
2314
|
*/
|
|
2119
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;
|
|
2120
2324
|
}
|
|
2121
2325
|
var HTMLVaLinkActionElement: {
|
|
2122
2326
|
prototype: HTMLVaLinkActionElement;
|
|
2123
2327
|
new (): HTMLVaLinkActionElement;
|
|
2124
2328
|
};
|
|
2329
|
+
interface HTMLVaLoadingIndicatorElementEventMap {
|
|
2330
|
+
"component-library-analytics": any;
|
|
2331
|
+
}
|
|
2125
2332
|
/**
|
|
2126
2333
|
* @componentName Loading indicator
|
|
2127
2334
|
* @maturityCategory use
|
|
2128
2335
|
* @maturityLevel best_practice
|
|
2129
2336
|
*/
|
|
2130
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;
|
|
2131
2346
|
}
|
|
2132
2347
|
var HTMLVaLoadingIndicatorElement: {
|
|
2133
2348
|
prototype: HTMLVaLoadingIndicatorElement;
|
|
2134
2349
|
new (): HTMLVaLoadingIndicatorElement;
|
|
2135
2350
|
};
|
|
2351
|
+
interface HTMLVaMaintenanceBannerElementEventMap {
|
|
2352
|
+
"closeEvent": any;
|
|
2353
|
+
"component-library-analytics": any;
|
|
2354
|
+
}
|
|
2136
2355
|
/**
|
|
2137
2356
|
* @componentName Banner - Maintenance
|
|
2138
2357
|
* @maturityCategory caution
|
|
2139
2358
|
* @maturityLevel available
|
|
2140
2359
|
*/
|
|
2141
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;
|
|
2142
2369
|
}
|
|
2143
2370
|
var HTMLVaMaintenanceBannerElement: {
|
|
2144
2371
|
prototype: HTMLVaMaintenanceBannerElement;
|
|
2145
2372
|
new (): HTMLVaMaintenanceBannerElement;
|
|
2146
2373
|
};
|
|
2374
|
+
interface HTMLVaMemorableDateElementEventMap {
|
|
2375
|
+
"dateChange": any;
|
|
2376
|
+
"dateBlur": any;
|
|
2377
|
+
"component-library-analytics": any;
|
|
2378
|
+
}
|
|
2147
2379
|
/**
|
|
2148
2380
|
* @componentName Memorable date
|
|
2149
2381
|
* @maturityCategory caution
|
|
@@ -2153,6 +2385,14 @@ declare global {
|
|
|
2153
2385
|
* @translations Spanish
|
|
2154
2386
|
*/
|
|
2155
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;
|
|
2156
2396
|
}
|
|
2157
2397
|
var HTMLVaMemorableDateElement: {
|
|
2158
2398
|
prototype: HTMLVaMemorableDateElement;
|
|
@@ -2169,6 +2409,12 @@ declare global {
|
|
|
2169
2409
|
prototype: HTMLVaMinimalFooterElement;
|
|
2170
2410
|
new (): HTMLVaMinimalFooterElement;
|
|
2171
2411
|
};
|
|
2412
|
+
interface HTMLVaModalElementEventMap {
|
|
2413
|
+
"closeEvent": any;
|
|
2414
|
+
"primaryButtonClick": any;
|
|
2415
|
+
"secondaryButtonClick": any;
|
|
2416
|
+
"component-library-analytics": any;
|
|
2417
|
+
}
|
|
2172
2418
|
/**
|
|
2173
2419
|
* @click Used to detect clicks outside of modal contents to close modal.
|
|
2174
2420
|
* @keydown Used to detect Escape key to close modal.
|
|
@@ -2177,6 +2423,14 @@ declare global {
|
|
|
2177
2423
|
* @maturityLevel deployed
|
|
2178
2424
|
*/
|
|
2179
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;
|
|
2180
2434
|
}
|
|
2181
2435
|
var HTMLVaModalElement: {
|
|
2182
2436
|
prototype: HTMLVaModalElement;
|
|
@@ -2194,23 +2448,46 @@ declare global {
|
|
|
2194
2448
|
prototype: HTMLVaNeedHelpElement;
|
|
2195
2449
|
new (): HTMLVaNeedHelpElement;
|
|
2196
2450
|
};
|
|
2451
|
+
interface HTMLVaNotificationElementEventMap {
|
|
2452
|
+
"closeEvent": any;
|
|
2453
|
+
"component-library-analytics": any;
|
|
2454
|
+
}
|
|
2197
2455
|
/**
|
|
2198
2456
|
* @componentName Notification
|
|
2199
2457
|
* @maturityCategory dont_use
|
|
2200
2458
|
* @maturityLevel deprecated
|
|
2201
2459
|
*/
|
|
2202
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;
|
|
2203
2469
|
}
|
|
2204
2470
|
var HTMLVaNotificationElement: {
|
|
2205
2471
|
prototype: HTMLVaNotificationElement;
|
|
2206
2472
|
new (): HTMLVaNotificationElement;
|
|
2207
2473
|
};
|
|
2474
|
+
interface HTMLVaOfficialGovBannerElementEventMap {
|
|
2475
|
+
"component-library-analytics": any;
|
|
2476
|
+
}
|
|
2208
2477
|
/**
|
|
2209
2478
|
* @componentName Banner - Official Gov
|
|
2210
2479
|
* @maturityCategory caution
|
|
2211
2480
|
* @maturityLevel candidate
|
|
2212
2481
|
*/
|
|
2213
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;
|
|
2214
2491
|
}
|
|
2215
2492
|
var HTMLVaOfficialGovBannerElement: {
|
|
2216
2493
|
prototype: HTMLVaOfficialGovBannerElement;
|
|
@@ -2227,6 +2504,9 @@ declare global {
|
|
|
2227
2504
|
prototype: HTMLVaOmbInfoElement;
|
|
2228
2505
|
new (): HTMLVaOmbInfoElement;
|
|
2229
2506
|
};
|
|
2507
|
+
interface HTMLVaOnThisPageElementEventMap {
|
|
2508
|
+
"component-library-analytics": any;
|
|
2509
|
+
}
|
|
2230
2510
|
/**
|
|
2231
2511
|
* @componentName On this page
|
|
2232
2512
|
* @maturityCategory use
|
|
@@ -2236,28 +2516,60 @@ declare global {
|
|
|
2236
2516
|
* @translations Tagalog
|
|
2237
2517
|
*/
|
|
2238
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;
|
|
2239
2527
|
}
|
|
2240
2528
|
var HTMLVaOnThisPageElement: {
|
|
2241
2529
|
prototype: HTMLVaOnThisPageElement;
|
|
2242
2530
|
new (): HTMLVaOnThisPageElement;
|
|
2243
2531
|
};
|
|
2532
|
+
interface HTMLVaPaginationElementEventMap {
|
|
2533
|
+
"pageSelect": any;
|
|
2534
|
+
"component-library-analytics": any;
|
|
2535
|
+
}
|
|
2244
2536
|
/**
|
|
2245
2537
|
* @componentName Pagination
|
|
2246
2538
|
* @maturityCategory use
|
|
2247
2539
|
* @maturityLevel deployed
|
|
2248
2540
|
*/
|
|
2249
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;
|
|
2250
2550
|
}
|
|
2251
2551
|
var HTMLVaPaginationElement: {
|
|
2252
2552
|
prototype: HTMLVaPaginationElement;
|
|
2253
2553
|
new (): HTMLVaPaginationElement;
|
|
2254
2554
|
};
|
|
2555
|
+
interface HTMLVaPrivacyAgreementElementEventMap {
|
|
2556
|
+
"component-library-analytics": any;
|
|
2557
|
+
"vaChange": any;
|
|
2558
|
+
}
|
|
2255
2559
|
/**
|
|
2256
2560
|
* @componentName Privacy agreement
|
|
2257
2561
|
* @maturityCategory caution
|
|
2258
2562
|
* @maturityLevel available
|
|
2259
2563
|
*/
|
|
2260
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;
|
|
2261
2573
|
}
|
|
2262
2574
|
var HTMLVaPrivacyAgreementElement: {
|
|
2263
2575
|
prototype: HTMLVaPrivacyAgreementElement;
|
|
@@ -2280,17 +2592,32 @@ declare global {
|
|
|
2280
2592
|
prototype: HTMLVaProcessListItemElement;
|
|
2281
2593
|
new (): HTMLVaProcessListItemElement;
|
|
2282
2594
|
};
|
|
2595
|
+
interface HTMLVaProgressBarElementEventMap {
|
|
2596
|
+
"component-library-analytics": any;
|
|
2597
|
+
}
|
|
2283
2598
|
/**
|
|
2284
2599
|
* @componentName Progress bar - activity
|
|
2285
2600
|
* @maturityCategory use
|
|
2286
2601
|
* @maturityLevel deployed
|
|
2287
2602
|
*/
|
|
2288
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;
|
|
2289
2612
|
}
|
|
2290
2613
|
var HTMLVaProgressBarElement: {
|
|
2291
2614
|
prototype: HTMLVaProgressBarElement;
|
|
2292
2615
|
new (): HTMLVaProgressBarElement;
|
|
2293
2616
|
};
|
|
2617
|
+
interface HTMLVaPromoBannerElementEventMap {
|
|
2618
|
+
"closeEvent": any;
|
|
2619
|
+
"component-library-analytics": any;
|
|
2620
|
+
}
|
|
2294
2621
|
/**
|
|
2295
2622
|
* @componentName Banner - Promo
|
|
2296
2623
|
* @maturityCategory use
|
|
@@ -2298,11 +2625,23 @@ declare global {
|
|
|
2298
2625
|
* @guidanceHref banner/promo
|
|
2299
2626
|
*/
|
|
2300
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;
|
|
2301
2636
|
}
|
|
2302
2637
|
var HTMLVaPromoBannerElement: {
|
|
2303
2638
|
prototype: HTMLVaPromoBannerElement;
|
|
2304
2639
|
new (): HTMLVaPromoBannerElement;
|
|
2305
2640
|
};
|
|
2641
|
+
interface HTMLVaRadioElementEventMap {
|
|
2642
|
+
"component-library-analytics": any;
|
|
2643
|
+
"vaValueChange": any;
|
|
2644
|
+
}
|
|
2306
2645
|
/**
|
|
2307
2646
|
* @keydown The event emitted when a key is pressed.
|
|
2308
2647
|
* @radioOptionSelected The event emitted when the selected option value changes.
|
|
@@ -2315,28 +2654,61 @@ declare global {
|
|
|
2315
2654
|
* @translations Tagalog
|
|
2316
2655
|
*/
|
|
2317
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;
|
|
2318
2665
|
}
|
|
2319
2666
|
var HTMLVaRadioElement: {
|
|
2320
2667
|
prototype: HTMLVaRadioElement;
|
|
2321
2668
|
new (): HTMLVaRadioElement;
|
|
2322
2669
|
};
|
|
2670
|
+
interface HTMLVaRadioOptionElementEventMap {
|
|
2671
|
+
"radioOptionSelected": any;
|
|
2672
|
+
}
|
|
2323
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;
|
|
2324
2682
|
}
|
|
2325
2683
|
var HTMLVaRadioOptionElement: {
|
|
2326
2684
|
prototype: HTMLVaRadioOptionElement;
|
|
2327
2685
|
new (): HTMLVaRadioOptionElement;
|
|
2328
2686
|
};
|
|
2687
|
+
interface HTMLVaSearchInputElementEventMap {
|
|
2688
|
+
"component-library-analytics": any;
|
|
2689
|
+
}
|
|
2329
2690
|
/**
|
|
2330
2691
|
* @componentName Search input
|
|
2331
2692
|
* @maturityCategory use
|
|
2332
2693
|
* @maturityLevel deployed
|
|
2333
2694
|
*/
|
|
2334
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;
|
|
2335
2704
|
}
|
|
2336
2705
|
var HTMLVaSearchInputElement: {
|
|
2337
2706
|
prototype: HTMLVaSearchInputElement;
|
|
2338
2707
|
new (): HTMLVaSearchInputElement;
|
|
2339
2708
|
};
|
|
2709
|
+
interface HTMLVaSegmentedProgressBarElementEventMap {
|
|
2710
|
+
"component-library-analytics": any;
|
|
2711
|
+
}
|
|
2340
2712
|
/**
|
|
2341
2713
|
* @componentName Progress bar - segmented
|
|
2342
2714
|
* @maturityCategory use
|
|
@@ -2344,11 +2716,24 @@ declare global {
|
|
|
2344
2716
|
* @guidanceHref form/progress-bar-segmented
|
|
2345
2717
|
*/
|
|
2346
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;
|
|
2347
2727
|
}
|
|
2348
2728
|
var HTMLVaSegmentedProgressBarElement: {
|
|
2349
2729
|
prototype: HTMLVaSegmentedProgressBarElement;
|
|
2350
2730
|
new (): HTMLVaSegmentedProgressBarElement;
|
|
2351
2731
|
};
|
|
2732
|
+
interface HTMLVaSelectElementEventMap {
|
|
2733
|
+
"vaKeyDown": any;
|
|
2734
|
+
"vaSelect": any;
|
|
2735
|
+
"component-library-analytics": any;
|
|
2736
|
+
}
|
|
2352
2737
|
/**
|
|
2353
2738
|
* @nativeHandler onKeyDown
|
|
2354
2739
|
* @componentName Select
|
|
@@ -2359,17 +2744,38 @@ declare global {
|
|
|
2359
2744
|
* @translations Spanish
|
|
2360
2745
|
*/
|
|
2361
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;
|
|
2362
2755
|
}
|
|
2363
2756
|
var HTMLVaSelectElement: {
|
|
2364
2757
|
prototype: HTMLVaSelectElement;
|
|
2365
2758
|
new (): HTMLVaSelectElement;
|
|
2366
2759
|
};
|
|
2760
|
+
interface HTMLVaStatementOfTruthElementEventMap {
|
|
2761
|
+
"vaInputChange": any;
|
|
2762
|
+
"vaInputBlur": any;
|
|
2763
|
+
"vaCheckboxChange": any;
|
|
2764
|
+
}
|
|
2367
2765
|
/**
|
|
2368
2766
|
* @componentName Statement of truth
|
|
2369
2767
|
* @maturityCategory caution
|
|
2370
2768
|
* @maturityLevel candidate
|
|
2371
2769
|
*/
|
|
2372
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;
|
|
2373
2779
|
}
|
|
2374
2780
|
var HTMLVaStatementOfTruthElement: {
|
|
2375
2781
|
prototype: HTMLVaStatementOfTruthElement;
|
|
@@ -2409,17 +2815,31 @@ declare global {
|
|
|
2409
2815
|
prototype: HTMLVaTableRowElement;
|
|
2410
2816
|
new (): HTMLVaTableRowElement;
|
|
2411
2817
|
};
|
|
2818
|
+
interface HTMLVaTelephoneElementEventMap {
|
|
2819
|
+
"component-library-analytics": any;
|
|
2820
|
+
}
|
|
2412
2821
|
/**
|
|
2413
2822
|
* @componentName Telephone
|
|
2414
2823
|
* @maturityCategory use
|
|
2415
2824
|
* @maturityLevel best_practice
|
|
2416
2825
|
*/
|
|
2417
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;
|
|
2418
2835
|
}
|
|
2419
2836
|
var HTMLVaTelephoneElement: {
|
|
2420
2837
|
prototype: HTMLVaTelephoneElement;
|
|
2421
2838
|
new (): HTMLVaTelephoneElement;
|
|
2422
2839
|
};
|
|
2840
|
+
interface HTMLVaTextInputElementEventMap {
|
|
2841
|
+
"component-library-analytics": any;
|
|
2842
|
+
}
|
|
2423
2843
|
/**
|
|
2424
2844
|
* @nativeHandler onInput
|
|
2425
2845
|
* @nativeHandler onBlur
|
|
@@ -2432,11 +2852,22 @@ declare global {
|
|
|
2432
2852
|
* @translations Tagalog
|
|
2433
2853
|
*/
|
|
2434
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;
|
|
2435
2863
|
}
|
|
2436
2864
|
var HTMLVaTextInputElement: {
|
|
2437
2865
|
prototype: HTMLVaTextInputElement;
|
|
2438
2866
|
new (): HTMLVaTextInputElement;
|
|
2439
2867
|
};
|
|
2868
|
+
interface HTMLVaTextareaElementEventMap {
|
|
2869
|
+
"component-library-analytics": any;
|
|
2870
|
+
}
|
|
2440
2871
|
/**
|
|
2441
2872
|
* @nativeHandler onInput
|
|
2442
2873
|
* @nativeHandler onBlur
|
|
@@ -2448,6 +2879,14 @@ declare global {
|
|
|
2448
2879
|
* @translations Spanish
|
|
2449
2880
|
*/
|
|
2450
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;
|
|
2451
2890
|
}
|
|
2452
2891
|
var HTMLVaTextareaElement: {
|
|
2453
2892
|
prototype: HTMLVaTextareaElement;
|
|
@@ -4087,10 +4526,18 @@ declare namespace LocalJSX {
|
|
|
4087
4526
|
* Whether or not this is a required field.
|
|
4088
4527
|
*/
|
|
4089
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;
|
|
4090
4533
|
/**
|
|
4091
4534
|
* Selected value (will get updated on select).
|
|
4092
4535
|
*/
|
|
4093
4536
|
"value"?: string;
|
|
4537
|
+
/**
|
|
4538
|
+
* Displays the select at a specific width. Accepts 2xs (4ex), xs (7ex), sm or small (10ex), md or medium (20ex), lg (30ex), xl (40ex), and 2xl (50ex).
|
|
4539
|
+
*/
|
|
4540
|
+
"width"?: string;
|
|
4094
4541
|
}
|
|
4095
4542
|
/**
|
|
4096
4543
|
* @componentName Statement of truth
|