@department-of-veterans-affairs/component-library 54.3.0 → 54.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Modal.js +1 -1
- package/Modal.unit.spec.js +1 -0
- package/contacts.js +1 -1
- package/dist/1214.app.bundle.js +1 -0
- package/dist/1339.app.bundle.js +2 -0
- package/dist/{6850.app.bundle.js → 1351.app.bundle.js} +1 -1
- package/dist/{6830.app.bundle.js → 1365.app.bundle.js} +1 -1
- package/dist/{7481.app.bundle.js → 1450.app.bundle.js} +1 -1
- package/dist/2222.app.bundle.js +2 -0
- package/dist/2387.app.bundle.js +1 -0
- package/dist/{4157.app.bundle.js → 2472.app.bundle.js} +1 -1
- package/dist/2654.app.bundle.js +2 -0
- package/dist/2664.app.bundle.js +2 -0
- package/dist/2801.app.bundle.js +2 -0
- package/dist/{3601.app.bundle.js → 2858.app.bundle.js} +2 -2
- package/dist/{6832.app.bundle.js → 3071.app.bundle.js} +1 -1
- package/dist/3126.app.bundle.js +1 -0
- package/dist/{4351.app.bundle.js → 3156.app.bundle.js} +1 -1
- package/dist/{7267.app.bundle.js → 3238.app.bundle.js} +1 -1
- package/dist/4064.app.bundle.js +1 -0
- package/dist/4117.app.bundle.js +2 -0
- package/dist/{2205.app.bundle.js → 4140.app.bundle.js} +1 -1
- package/dist/415.app.bundle.js +1 -0
- package/dist/{4569.app.bundle.js → 4164.app.bundle.js} +2 -2
- package/dist/4708.app.bundle.js +2 -0
- package/dist/4715.app.bundle.js +2 -0
- package/dist/5019.app.bundle.js +2 -0
- package/dist/5155.app.bundle.js +1 -0
- package/dist/5189.app.bundle.js +2 -0
- package/dist/5306.app.bundle.js +2 -0
- package/dist/{5689.app.bundle.js → 5610.app.bundle.js} +1 -1
- package/dist/5699.app.bundle.js +2 -0
- package/dist/575.app.bundle.js +2 -0
- package/dist/{5119.app.bundle.js → 5830.app.bundle.js} +2 -2
- package/dist/{7495.app.bundle.js → 6034.app.bundle.js} +2 -2
- package/dist/6246.app.bundle.js +2 -0
- package/dist/{2482.app.bundle.js → 6247.app.bundle.js} +1 -1
- package/dist/6349.app.bundle.js +2 -0
- package/dist/641.app.bundle.js +1 -0
- package/dist/6527.app.bundle.js +2 -0
- package/dist/6633.app.bundle.js +2 -0
- package/dist/{1966.app.bundle.js → 6655.app.bundle.js} +2 -2
- package/dist/6683.app.bundle.js +2 -0
- package/dist/6771.app.bundle.js +1 -0
- package/dist/{8915.app.bundle.js → 6824.app.bundle.js} +2 -2
- package/dist/712.app.bundle.js +2 -0
- package/dist/7367.app.bundle.js +2 -0
- package/dist/7531.app.bundle.js +1 -0
- package/dist/7663.app.bundle.js +1 -0
- package/dist/7814.app.bundle.js +2 -0
- package/dist/7821.app.bundle.js +1 -0
- package/dist/8175.app.bundle.js +2 -0
- package/dist/82.app.bundle.js +2 -0
- package/dist/8206.app.bundle.js +1 -0
- package/dist/8495.app.bundle.js +2 -0
- package/dist/{4996.app.bundle.js → 8735.app.bundle.js} +2 -2
- package/dist/8762.app.bundle.js +2 -1
- package/dist/8859.app.bundle.js +1 -0
- package/dist/890.app.bundle.js +2 -0
- package/dist/9288.app.bundle.js +1 -0
- package/dist/{7084.app.bundle.js → 9409.app.bundle.js} +1 -1
- package/dist/9463.app.bundle.js +1 -0
- package/dist/{8463.app.bundle.js → 9670.app.bundle.js} +1 -1
- package/dist/9724.app.bundle.js +2 -0
- package/dist/9755.app.bundle.js +2 -0
- package/dist/9794.app.bundle.js +2 -0
- package/dist/9800.app.bundle.js +2 -0
- package/dist/9915.app.bundle.js +1 -0
- package/dist/{5705.app.bundle.js → 9966.app.bundle.js} +2 -2
- package/dist/app.bundle.js +1 -1
- package/dist/app.bundle.js.LICENSE.txt +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-0311e4e3.js +1 -0
- package/dist/components/p-067d7618.js +1 -0
- package/dist/components/p-3962731f.js +1 -0
- package/dist/components/p-40738d84.js +1 -0
- package/dist/components/p-494b538e.js +1 -0
- package/dist/components/p-6a3cf3d7.js +1 -0
- package/dist/components/p-6b349d85.js +1 -0
- package/dist/components/p-6e4b9401.js +1 -0
- package/dist/components/p-70a619e9.js +1 -0
- package/dist/components/p-7129443f.js +1 -0
- package/dist/components/p-784bed9b.js +1 -0
- package/dist/components/p-a12014b1.js +1 -0
- package/dist/components/{index2.js → p-a5dce9e6.js} +1 -1
- package/dist/components/p-a836c3e1.js +1 -0
- package/dist/components/{parsePhoneNumber_.js → p-b276cef8.js} +1 -1
- package/dist/components/p-b92d2c38.js +1 -0
- package/dist/components/p-bac94659.js +1 -0
- package/dist/components/p-bea05aab.js +1 -0
- package/dist/components/p-c3fdb782.js +1 -0
- package/dist/components/p-ce1b8abc.js +1 -0
- package/dist/components/p-cf580be9.js +1 -0
- package/dist/components/p-d20739b4.js +20 -0
- package/dist/components/p-d4b7abf9.js +1 -0
- package/dist/components/p-d9f21f0d.js +1 -0
- package/dist/components/p-dffbc03b.js +1 -0
- package/dist/components/p-e1092a04.js +1 -0
- package/dist/components/p-ef5c0d66.js +1 -0
- package/dist/components/p-f3a1dcd5.js +1 -0
- package/dist/components/p-fda59844.js +1 -0
- package/dist/components/types/components.d.ts +2 -2
- package/dist/components/types/index.d.ts +2 -0
- package/dist/components/va-accordion-item.js +1 -1
- package/dist/components/va-accordion.js +1 -1
- package/dist/components/va-additional-info.js +1 -1
- package/dist/components/va-alert-expandable.js +1 -1
- package/dist/components/va-alert-sign-in.js +1 -1
- package/dist/components/va-alert.js +1 -1
- package/dist/components/va-back-to-top.js +1 -1
- package/dist/components/va-banner.js +1 -1
- package/dist/components/va-breadcrumbs.js +1 -1
- package/dist/components/va-button-icon.js +1 -1
- package/dist/components/va-button-pair.js +1 -1
- package/dist/components/va-button-segmented.js +1 -1
- package/dist/components/va-button.js +1 -1
- package/dist/components/va-card.js +1 -1
- package/dist/components/va-checkbox-group.js +1 -1
- package/dist/components/va-checkbox.js +1 -1
- package/dist/components/va-combo-box.js +1 -1
- package/dist/components/va-crisis-line-modal.js +1 -1
- package/dist/components/va-critical-action.js +1 -1
- package/dist/components/va-date.js +1 -1
- package/dist/components/va-file-input-multiple.js +1 -1
- package/dist/components/va-file-input.js +1 -1
- package/dist/components/va-header-minimal.js +1 -1
- package/dist/components/va-icon.js +1 -1
- package/dist/components/va-language-toggle.js +1 -1
- package/dist/components/va-link-action.js +1 -1
- package/dist/components/va-link.js +1 -1
- package/dist/components/va-loading-indicator.js +1 -1
- package/dist/components/va-maintenance-banner.js +1 -1
- package/dist/components/va-memorable-date.js +1 -1
- package/dist/components/va-minimal-footer.js +1 -1
- package/dist/components/va-modal.js +1 -1
- package/dist/components/va-need-help.js +1 -1
- package/dist/components/va-notification.js +1 -1
- package/dist/components/va-official-gov-banner.js +1 -1
- package/dist/components/va-omb-info.js +1 -1
- package/dist/components/va-on-this-page.js +1 -1
- package/dist/components/va-pagination.js +1 -1
- package/dist/components/va-privacy-agreement.js +1 -1
- package/dist/components/va-process-list-item.js +1 -1
- package/dist/components/va-process-list.js +1 -1
- package/dist/components/va-progress-bar.js +1 -1
- package/dist/components/va-promo-banner.js +1 -1
- package/dist/components/va-radio-option.js +1 -1
- package/dist/components/va-radio.js +1 -1
- package/dist/components/va-search-filter.js +1 -1
- package/dist/components/va-search-input.js +1 -1
- package/dist/components/va-segmented-progress-bar.js +1 -1
- package/dist/components/va-select.js +1 -1
- package/dist/components/va-service-list-item.js +1 -1
- package/dist/components/va-sidenav-item.js +1 -1
- package/dist/components/va-sidenav-submenu.js +1 -1
- package/dist/components/va-sidenav.js +1 -1
- package/dist/components/va-statement-of-truth.js +1 -1
- package/dist/components/va-summary-box.js +1 -1
- package/dist/components/va-tab-item.js +1 -1
- package/dist/components/va-tab-panel.js +1 -1
- package/dist/components/va-table-inner.js +1 -1
- package/dist/components/va-table-row.js +1 -1
- package/dist/components/va-table.js +1 -1
- package/dist/components/va-tabs.js +1 -1
- package/dist/components/va-tag-status.js +1 -1
- package/dist/components/va-telephone-input.js +1 -1
- package/dist/components/va-telephone.js +1 -1
- package/dist/components/va-text-input.js +1 -1
- package/dist/components/va-textarea.js +1 -1
- package/dist/react-bindings/components.d.ts +336 -0
- package/dist/react-bindings/components.js +1 -0
- package/dist/react-bindings/components.js.map +1 -0
- package/dist/react-bindings/components.ts +961 -0
- package/dist/react-bindings/index.d.ts +6 -67
- package/dist/react-bindings/index.js +1 -1
- package/dist/react-bindings/index.js.map +1 -1
- package/dist/react-bindings/index.ts +6 -75
- package/format-date.js +1 -1
- package/format-date.unit.spec.js +1 -1
- package/package.json +16 -15
- package/test-helpers.js +1 -1
- package/utilities.unit.spec.js +1 -1
- package/validations.js +1 -1
- package/dist/0.app.bundle.js +0 -2
- package/dist/12.app.bundle.js +0 -1
- package/dist/141.app.bundle.js +0 -2
- package/dist/1822.app.bundle.js +0 -2
- package/dist/2236.app.bundle.js +0 -1
- package/dist/251.app.bundle.js +0 -1
- package/dist/272.app.bundle.js +0 -2
- package/dist/2923.app.bundle.js +0 -2
- package/dist/2986.app.bundle.js +0 -1
- package/dist/323.app.bundle.js +0 -2
- package/dist/3305.app.bundle.js +0 -2
- package/dist/3397.app.bundle.js +0 -1
- package/dist/3589.app.bundle.js +0 -2
- package/dist/3600.app.bundle.js +0 -1
- package/dist/4400.app.bundle.js +0 -2
- package/dist/4432.app.bundle.js +0 -2
- package/dist/4475.app.bundle.js +0 -1
- package/dist/4780.app.bundle.js +0 -2
- package/dist/5341.app.bundle.js +0 -2
- package/dist/5348.app.bundle.js +0 -2
- package/dist/5663.app.bundle.js +0 -2
- package/dist/5845.app.bundle.js +0 -2
- package/dist/5938.app.bundle.js +0 -2
- package/dist/5990.app.bundle.js +0 -2
- package/dist/6043.app.bundle.js +0 -1
- package/dist/606.app.bundle.js +0 -1
- package/dist/6095.app.bundle.js +0 -2
- package/dist/6308.app.bundle.js +0 -2
- package/dist/6498.app.bundle.js +0 -1
- package/dist/6555.app.bundle.js +0 -1
- package/dist/6650.app.bundle.js +0 -2
- package/dist/6696.app.bundle.js +0 -1
- package/dist/6718.app.bundle.js +0 -1
- package/dist/6849.app.bundle.js +0 -2
- package/dist/7166.app.bundle.js +0 -2
- package/dist/7307.app.bundle.js +0 -2
- package/dist/7372.app.bundle.js +0 -2
- package/dist/7734.app.bundle.js +0 -1
- package/dist/8255.app.bundle.js +0 -2
- package/dist/8913.app.bundle.js +0 -2
- package/dist/9186.app.bundle.js +0 -2
- package/dist/9376.app.bundle.js +0 -2
- package/dist/9496.app.bundle.js +0 -2
- package/dist/960.app.bundle.js +0 -1
- package/dist/9851.app.bundle.js +0 -2
- package/dist/components/contacts.js +0 -1
- package/dist/components/date-utils.js +0 -1
- package/dist/components/i18next.js +0 -1
- package/dist/components/utils.js +0 -1
- package/dist/components/va-accordion-item2.js +0 -1
- package/dist/components/va-accordion2.js +0 -1
- package/dist/components/va-alert2.js +0 -1
- package/dist/components/va-button-icon2.js +0 -1
- package/dist/components/va-button2.js +0 -1
- package/dist/components/va-card2.js +0 -1
- package/dist/components/va-checkbox-group2.js +0 -1
- package/dist/components/va-checkbox2.js +0 -1
- package/dist/components/va-combo-box2.js +0 -20
- package/dist/components/va-crisis-line-modal2.js +0 -1
- package/dist/components/va-critical-action2.js +0 -1
- package/dist/components/va-file-input2.js +0 -1
- package/dist/components/va-icon2.js +0 -1
- package/dist/components/va-link2.js +0 -1
- package/dist/components/va-modal2.js +0 -1
- package/dist/components/va-official-gov-banner2.js +0 -1
- package/dist/components/va-progress-bar2.js +0 -1
- package/dist/components/va-select2.js +0 -1
- package/dist/components/va-table-inner2.js +0 -1
- package/dist/components/va-telephone2.js +0 -1
- package/dist/components/va-text-input2.js +0 -1
- package/dist/react-bindings/react-component-lib/createComponent.d.ts +0 -10
- package/dist/react-bindings/react-component-lib/createComponent.js +0 -1
- package/dist/react-bindings/react-component-lib/createComponent.js.map +0 -1
- package/dist/react-bindings/react-component-lib/createComponent.tsx +0 -106
- package/dist/react-bindings/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/react-bindings/react-component-lib/createOverlayComponent.js +0 -1
- package/dist/react-bindings/react-component-lib/createOverlayComponent.js.map +0 -1
- package/dist/react-bindings/react-component-lib/createOverlayComponent.tsx +0 -142
- package/dist/react-bindings/react-component-lib/index.d.ts +0 -2
- package/dist/react-bindings/react-component-lib/index.js +0 -1
- package/dist/react-bindings/react-component-lib/index.js.map +0 -1
- package/dist/react-bindings/react-component-lib/index.ts +0 -2
- package/dist/react-bindings/react-component-lib/interfaces.d.ts +0 -29
- package/dist/react-bindings/react-component-lib/interfaces.js +0 -1
- package/dist/react-bindings/react-component-lib/interfaces.js.map +0 -1
- package/dist/react-bindings/react-component-lib/interfaces.ts +0 -34
- package/dist/react-bindings/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/react-bindings/react-component-lib/utils/attachProps.js +0 -2
- package/dist/react-bindings/react-component-lib/utils/attachProps.js.LICENSE.txt +0 -4
- package/dist/react-bindings/react-component-lib/utils/attachProps.js.map +0 -1
- package/dist/react-bindings/react-component-lib/utils/attachProps.ts +0 -125
- package/dist/react-bindings/react-component-lib/utils/case.d.ts +0 -2
- package/dist/react-bindings/react-component-lib/utils/case.js +0 -1
- package/dist/react-bindings/react-component-lib/utils/case.js.map +0 -1
- package/dist/react-bindings/react-component-lib/utils/case.ts +0 -7
- package/dist/react-bindings/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/react-bindings/react-component-lib/utils/dev.js +0 -1
- package/dist/react-bindings/react-component-lib/utils/dev.js.map +0 -1
- package/dist/react-bindings/react-component-lib/utils/dev.ts +0 -14
- package/dist/react-bindings/react-component-lib/utils/index.d.ts +0 -10
- package/dist/react-bindings/react-component-lib/utils/index.js +0 -1
- package/dist/react-bindings/react-component-lib/utils/index.js.map +0 -1
- package/dist/react-bindings/react-component-lib/utils/index.tsx +0 -50
- /package/dist/{0.app.bundle.js.LICENSE.txt → 1339.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{141.app.bundle.js.LICENSE.txt → 2222.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{1822.app.bundle.js.LICENSE.txt → 2654.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{1966.app.bundle.js.LICENSE.txt → 2664.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{272.app.bundle.js.LICENSE.txt → 2801.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{2923.app.bundle.js.LICENSE.txt → 2858.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{323.app.bundle.js.LICENSE.txt → 4117.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3305.app.bundle.js.LICENSE.txt → 4164.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3589.app.bundle.js.LICENSE.txt → 4708.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{3601.app.bundle.js.LICENSE.txt → 4715.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4400.app.bundle.js.LICENSE.txt → 5019.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4432.app.bundle.js.LICENSE.txt → 5189.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4569.app.bundle.js.LICENSE.txt → 5306.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4780.app.bundle.js.LICENSE.txt → 5699.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{4996.app.bundle.js.LICENSE.txt → 575.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5119.app.bundle.js.LICENSE.txt → 5830.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5341.app.bundle.js.LICENSE.txt → 6034.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5348.app.bundle.js.LICENSE.txt → 6246.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5663.app.bundle.js.LICENSE.txt → 6349.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5705.app.bundle.js.LICENSE.txt → 6527.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5845.app.bundle.js.LICENSE.txt → 6633.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5938.app.bundle.js.LICENSE.txt → 6655.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{5990.app.bundle.js.LICENSE.txt → 6683.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6095.app.bundle.js.LICENSE.txt → 6824.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6308.app.bundle.js.LICENSE.txt → 712.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6650.app.bundle.js.LICENSE.txt → 7367.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{6849.app.bundle.js.LICENSE.txt → 7814.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7166.app.bundle.js.LICENSE.txt → 8175.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7307.app.bundle.js.LICENSE.txt → 82.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7372.app.bundle.js.LICENSE.txt → 8495.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{7495.app.bundle.js.LICENSE.txt → 8735.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8255.app.bundle.js.LICENSE.txt → 8762.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8913.app.bundle.js.LICENSE.txt → 890.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{8915.app.bundle.js.LICENSE.txt → 9724.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9186.app.bundle.js.LICENSE.txt → 9755.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9376.app.bundle.js.LICENSE.txt → 9794.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9496.app.bundle.js.LICENSE.txt → 9800.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/{9851.app.bundle.js.LICENSE.txt → 9966.app.bundle.js.LICENSE.txt} +0 -0
- /package/dist/components/{index2.js.LICENSE.txt → p-a5dce9e6.js.LICENSE.txt} +0 -0
- /package/dist/components/{va-combo-box2.js.LICENSE.txt → p-d20739b4.js.LICENSE.txt} +0 -0
|
@@ -1,67 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export declare const VaAlertSignIn: import("react").ForwardRefExoticComponent<JSX.VaAlertSignIn & Omit<import("react").HTMLAttributes<HTMLVaAlertSignInElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaAlertSignInElement>>;
|
|
8
|
-
export declare const VaBackToTop: import("react").ForwardRefExoticComponent<JSX.VaBackToTop & Omit<import("react").HTMLAttributes<HTMLVaBackToTopElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBackToTopElement>>;
|
|
9
|
-
export declare const VaBanner: import("react").ForwardRefExoticComponent<JSX.VaBanner & Omit<import("react").HTMLAttributes<HTMLVaBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBannerElement>>;
|
|
10
|
-
export declare const VaBreadcrumbs: import("react").ForwardRefExoticComponent<JSX.VaBreadcrumbs & Omit<import("react").HTMLAttributes<HTMLVaBreadcrumbsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaBreadcrumbsElement>>;
|
|
11
|
-
export declare const VaButton: import("react").ForwardRefExoticComponent<JSX.VaButton & Omit<import("react").HTMLAttributes<HTMLVaButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonElement>>;
|
|
12
|
-
export declare const VaButtonIcon: import("react").ForwardRefExoticComponent<JSX.VaButtonIcon & Omit<import("react").HTMLAttributes<HTMLVaButtonIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonIconElement>>;
|
|
13
|
-
export declare const VaButtonPair: import("react").ForwardRefExoticComponent<JSX.VaButtonPair & Omit<import("react").HTMLAttributes<HTMLVaButtonPairElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonPairElement>>;
|
|
14
|
-
export declare const VaButtonSegmented: import("react").ForwardRefExoticComponent<JSX.VaButtonSegmented & Omit<import("react").HTMLAttributes<HTMLVaButtonSegmentedElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaButtonSegmentedElement>>;
|
|
15
|
-
export declare const VaCard: import("react").ForwardRefExoticComponent<JSX.VaCard & Omit<import("react").HTMLAttributes<HTMLVaCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCardElement>>;
|
|
16
|
-
export declare const VaCheckbox: import("react").ForwardRefExoticComponent<JSX.VaCheckbox & Omit<import("react").HTMLAttributes<HTMLVaCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCheckboxElement>>;
|
|
17
|
-
export declare const VaCheckboxGroup: import("react").ForwardRefExoticComponent<JSX.VaCheckboxGroup & Omit<import("react").HTMLAttributes<HTMLVaCheckboxGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCheckboxGroupElement>>;
|
|
18
|
-
export declare const VaComboBox: import("react").ForwardRefExoticComponent<JSX.VaComboBox & Omit<import("react").HTMLAttributes<HTMLVaComboBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaComboBoxElement>>;
|
|
19
|
-
export declare const VaCrisisLineModal: import("react").ForwardRefExoticComponent<JSX.VaCrisisLineModal & Omit<import("react").HTMLAttributes<HTMLVaCrisisLineModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCrisisLineModalElement>>;
|
|
20
|
-
export declare const VaCriticalAction: import("react").ForwardRefExoticComponent<JSX.VaCriticalAction & Omit<import("react").HTMLAttributes<HTMLVaCriticalActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaCriticalActionElement>>;
|
|
21
|
-
export declare const VaDate: import("react").ForwardRefExoticComponent<JSX.VaDate & Omit<import("react").HTMLAttributes<HTMLVaDateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaDateElement>>;
|
|
22
|
-
export declare const VaFileInput: import("react").ForwardRefExoticComponent<JSX.VaFileInput & Omit<import("react").HTMLAttributes<HTMLVaFileInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaFileInputElement>>;
|
|
23
|
-
export declare const VaFileInputMultiple: import("react").ForwardRefExoticComponent<JSX.VaFileInputMultiple & Omit<import("react").HTMLAttributes<HTMLVaFileInputMultipleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaFileInputMultipleElement>>;
|
|
24
|
-
export declare const VaHeaderMinimal: import("react").ForwardRefExoticComponent<JSX.VaHeaderMinimal & Omit<import("react").HTMLAttributes<HTMLVaHeaderMinimalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaHeaderMinimalElement>>;
|
|
25
|
-
export declare const VaIcon: import("react").ForwardRefExoticComponent<JSX.VaIcon & Omit<import("react").HTMLAttributes<HTMLVaIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaIconElement>>;
|
|
26
|
-
export declare const VaLanguageToggle: import("react").ForwardRefExoticComponent<JSX.VaLanguageToggle & Omit<import("react").HTMLAttributes<HTMLVaLanguageToggleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLanguageToggleElement>>;
|
|
27
|
-
export declare const VaLink: import("react").ForwardRefExoticComponent<JSX.VaLink & Omit<import("react").HTMLAttributes<HTMLVaLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLinkElement>>;
|
|
28
|
-
export declare const VaLinkAction: import("react").ForwardRefExoticComponent<JSX.VaLinkAction & Omit<import("react").HTMLAttributes<HTMLVaLinkActionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLinkActionElement>>;
|
|
29
|
-
export declare const VaLoadingIndicator: import("react").ForwardRefExoticComponent<JSX.VaLoadingIndicator & Omit<import("react").HTMLAttributes<HTMLVaLoadingIndicatorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaLoadingIndicatorElement>>;
|
|
30
|
-
export declare const VaMaintenanceBanner: import("react").ForwardRefExoticComponent<JSX.VaMaintenanceBanner & Omit<import("react").HTMLAttributes<HTMLVaMaintenanceBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMaintenanceBannerElement>>;
|
|
31
|
-
export declare const VaMemorableDate: import("react").ForwardRefExoticComponent<JSX.VaMemorableDate & Omit<import("react").HTMLAttributes<HTMLVaMemorableDateElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMemorableDateElement>>;
|
|
32
|
-
export declare const VaMinimalFooter: import("react").ForwardRefExoticComponent<JSX.VaMinimalFooter & Omit<import("react").HTMLAttributes<HTMLVaMinimalFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaMinimalFooterElement>>;
|
|
33
|
-
export declare const VaModal: import("react").ForwardRefExoticComponent<JSX.VaModal & Omit<import("react").HTMLAttributes<HTMLVaModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaModalElement>>;
|
|
34
|
-
export declare const VaNeedHelp: import("react").ForwardRefExoticComponent<JSX.VaNeedHelp & Omit<import("react").HTMLAttributes<HTMLVaNeedHelpElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaNeedHelpElement>>;
|
|
35
|
-
export declare const VaNotification: import("react").ForwardRefExoticComponent<JSX.VaNotification & Omit<import("react").HTMLAttributes<HTMLVaNotificationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaNotificationElement>>;
|
|
36
|
-
export declare const VaOfficialGovBanner: import("react").ForwardRefExoticComponent<JSX.VaOfficialGovBanner & Omit<import("react").HTMLAttributes<HTMLVaOfficialGovBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOfficialGovBannerElement>>;
|
|
37
|
-
export declare const VaOmbInfo: import("react").ForwardRefExoticComponent<JSX.VaOmbInfo & Omit<import("react").HTMLAttributes<HTMLVaOmbInfoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOmbInfoElement>>;
|
|
38
|
-
export declare const VaOnThisPage: import("react").ForwardRefExoticComponent<JSX.VaOnThisPage & Omit<import("react").HTMLAttributes<HTMLVaOnThisPageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaOnThisPageElement>>;
|
|
39
|
-
export declare const VaPagination: import("react").ForwardRefExoticComponent<JSX.VaPagination & Omit<import("react").HTMLAttributes<HTMLVaPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPaginationElement>>;
|
|
40
|
-
export declare const VaPrivacyAgreement: import("react").ForwardRefExoticComponent<JSX.VaPrivacyAgreement & Omit<import("react").HTMLAttributes<HTMLVaPrivacyAgreementElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPrivacyAgreementElement>>;
|
|
41
|
-
export declare const VaProcessList: import("react").ForwardRefExoticComponent<JSX.VaProcessList & Omit<import("react").HTMLAttributes<HTMLVaProcessListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProcessListElement>>;
|
|
42
|
-
export declare const VaProcessListItem: import("react").ForwardRefExoticComponent<JSX.VaProcessListItem & Omit<import("react").HTMLAttributes<HTMLVaProcessListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProcessListItemElement>>;
|
|
43
|
-
export declare const VaProgressBar: import("react").ForwardRefExoticComponent<JSX.VaProgressBar & Omit<import("react").HTMLAttributes<HTMLVaProgressBarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaProgressBarElement>>;
|
|
44
|
-
export declare const VaPromoBanner: import("react").ForwardRefExoticComponent<JSX.VaPromoBanner & Omit<import("react").HTMLAttributes<HTMLVaPromoBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaPromoBannerElement>>;
|
|
45
|
-
export declare const VaRadio: import("react").ForwardRefExoticComponent<JSX.VaRadio & Omit<import("react").HTMLAttributes<HTMLVaRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaRadioElement>>;
|
|
46
|
-
export declare const VaRadioOption: import("react").ForwardRefExoticComponent<JSX.VaRadioOption & Omit<import("react").HTMLAttributes<HTMLVaRadioOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaRadioOptionElement>>;
|
|
47
|
-
export declare const VaSearchFilter: import("react").ForwardRefExoticComponent<JSX.VaSearchFilter & Omit<import("react").HTMLAttributes<HTMLVaSearchFilterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSearchFilterElement>>;
|
|
48
|
-
export declare const VaSearchInput: import("react").ForwardRefExoticComponent<JSX.VaSearchInput & Omit<import("react").HTMLAttributes<HTMLVaSearchInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSearchInputElement>>;
|
|
49
|
-
export declare const VaSegmentedProgressBar: import("react").ForwardRefExoticComponent<JSX.VaSegmentedProgressBar & Omit<import("react").HTMLAttributes<HTMLVaSegmentedProgressBarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSegmentedProgressBarElement>>;
|
|
50
|
-
export declare const VaSelect: import("react").ForwardRefExoticComponent<JSX.VaSelect & Omit<import("react").HTMLAttributes<HTMLVaSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSelectElement>>;
|
|
51
|
-
export declare const VaServiceListItem: import("react").ForwardRefExoticComponent<JSX.VaServiceListItem & Omit<import("react").HTMLAttributes<HTMLVaServiceListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaServiceListItemElement>>;
|
|
52
|
-
export declare const VaSidenav: import("react").ForwardRefExoticComponent<JSX.VaSidenav & Omit<import("react").HTMLAttributes<HTMLVaSidenavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavElement>>;
|
|
53
|
-
export declare const VaSidenavItem: import("react").ForwardRefExoticComponent<JSX.VaSidenavItem & Omit<import("react").HTMLAttributes<HTMLVaSidenavItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavItemElement>>;
|
|
54
|
-
export declare const VaSidenavSubmenu: import("react").ForwardRefExoticComponent<JSX.VaSidenavSubmenu & Omit<import("react").HTMLAttributes<HTMLVaSidenavSubmenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSidenavSubmenuElement>>;
|
|
55
|
-
export declare const VaStatementOfTruth: import("react").ForwardRefExoticComponent<JSX.VaStatementOfTruth & Omit<import("react").HTMLAttributes<HTMLVaStatementOfTruthElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaStatementOfTruthElement>>;
|
|
56
|
-
export declare const VaSummaryBox: import("react").ForwardRefExoticComponent<JSX.VaSummaryBox & Omit<import("react").HTMLAttributes<HTMLVaSummaryBoxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaSummaryBoxElement>>;
|
|
57
|
-
export declare const VaTabItem: import("react").ForwardRefExoticComponent<JSX.VaTabItem & Omit<import("react").HTMLAttributes<HTMLVaTabItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabItemElement>>;
|
|
58
|
-
export declare const VaTabPanel: import("react").ForwardRefExoticComponent<JSX.VaTabPanel & Omit<import("react").HTMLAttributes<HTMLVaTabPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabPanelElement>>;
|
|
59
|
-
export declare const VaTable: import("react").ForwardRefExoticComponent<JSX.VaTable & Omit<import("react").HTMLAttributes<HTMLVaTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableElement>>;
|
|
60
|
-
export declare const VaTableInner: import("react").ForwardRefExoticComponent<JSX.VaTableInner & Omit<import("react").HTMLAttributes<HTMLVaTableInnerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableInnerElement>>;
|
|
61
|
-
export declare const VaTableRow: import("react").ForwardRefExoticComponent<JSX.VaTableRow & Omit<import("react").HTMLAttributes<HTMLVaTableRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTableRowElement>>;
|
|
62
|
-
export declare const VaTabs: import("react").ForwardRefExoticComponent<JSX.VaTabs & Omit<import("react").HTMLAttributes<HTMLVaTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTabsElement>>;
|
|
63
|
-
export declare const VaTagStatus: import("react").ForwardRefExoticComponent<JSX.VaTagStatus & Omit<import("react").HTMLAttributes<HTMLVaTagStatusElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTagStatusElement>>;
|
|
64
|
-
export declare const VaTelephone: import("react").ForwardRefExoticComponent<JSX.VaTelephone & Omit<import("react").HTMLAttributes<HTMLVaTelephoneElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTelephoneElement>>;
|
|
65
|
-
export declare const VaTelephoneInput: import("react").ForwardRefExoticComponent<JSX.VaTelephoneInput & Omit<import("react").HTMLAttributes<HTMLVaTelephoneInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTelephoneInputElement>>;
|
|
66
|
-
export declare const VaTextInput: import("react").ForwardRefExoticComponent<JSX.VaTextInput & Omit<import("react").HTMLAttributes<HTMLVaTextInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTextInputElement>>;
|
|
67
|
-
export declare const VaTextarea: import("react").ForwardRefExoticComponent<JSX.VaTextarea & Omit<import("react").HTMLAttributes<HTMLVaTextareaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLVaTextareaElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Re-export all components from ./components to maintain backward compatibility.
|
|
3
|
+
* Consumers can import from '@department-of-veterans-affairs/web-components/react-bindings'
|
|
4
|
+
* without needing to specify '/components' in the path.
|
|
5
|
+
*/
|
|
6
|
+
export * from './components';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),__exportStar=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||__createBinding(t,e,r)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./components"),exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;;GAIG;AACH,+CAA6B"}
|
|
@@ -1,75 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export const VaAccordion = /*@__PURE__*/createReactComponent<JSX.VaAccordion, HTMLVaAccordionElement>('va-accordion');
|
|
11
|
-
export const VaAccordionItem = /*@__PURE__*/createReactComponent<JSX.VaAccordionItem, HTMLVaAccordionItemElement>('va-accordion-item');
|
|
12
|
-
export const VaAdditionalInfo = /*@__PURE__*/createReactComponent<JSX.VaAdditionalInfo, HTMLVaAdditionalInfoElement>('va-additional-info');
|
|
13
|
-
export const VaAlert = /*@__PURE__*/createReactComponent<JSX.VaAlert, HTMLVaAlertElement>('va-alert');
|
|
14
|
-
export const VaAlertExpandable = /*@__PURE__*/createReactComponent<JSX.VaAlertExpandable, HTMLVaAlertExpandableElement>('va-alert-expandable');
|
|
15
|
-
export const VaAlertSignIn = /*@__PURE__*/createReactComponent<JSX.VaAlertSignIn, HTMLVaAlertSignInElement>('va-alert-sign-in');
|
|
16
|
-
export const VaBackToTop = /*@__PURE__*/createReactComponent<JSX.VaBackToTop, HTMLVaBackToTopElement>('va-back-to-top');
|
|
17
|
-
export const VaBanner = /*@__PURE__*/createReactComponent<JSX.VaBanner, HTMLVaBannerElement>('va-banner');
|
|
18
|
-
export const VaBreadcrumbs = /*@__PURE__*/createReactComponent<JSX.VaBreadcrumbs, HTMLVaBreadcrumbsElement>('va-breadcrumbs');
|
|
19
|
-
export const VaButton = /*@__PURE__*/createReactComponent<JSX.VaButton, HTMLVaButtonElement>('va-button');
|
|
20
|
-
export const VaButtonIcon = /*@__PURE__*/createReactComponent<JSX.VaButtonIcon, HTMLVaButtonIconElement>('va-button-icon');
|
|
21
|
-
export const VaButtonPair = /*@__PURE__*/createReactComponent<JSX.VaButtonPair, HTMLVaButtonPairElement>('va-button-pair');
|
|
22
|
-
export const VaButtonSegmented = /*@__PURE__*/createReactComponent<JSX.VaButtonSegmented, HTMLVaButtonSegmentedElement>('va-button-segmented');
|
|
23
|
-
export const VaCard = /*@__PURE__*/createReactComponent<JSX.VaCard, HTMLVaCardElement>('va-card');
|
|
24
|
-
export const VaCheckbox = /*@__PURE__*/createReactComponent<JSX.VaCheckbox, HTMLVaCheckboxElement>('va-checkbox');
|
|
25
|
-
export const VaCheckboxGroup = /*@__PURE__*/createReactComponent<JSX.VaCheckboxGroup, HTMLVaCheckboxGroupElement>('va-checkbox-group');
|
|
26
|
-
export const VaComboBox = /*@__PURE__*/createReactComponent<JSX.VaComboBox, HTMLVaComboBoxElement>('va-combo-box');
|
|
27
|
-
export const VaCrisisLineModal = /*@__PURE__*/createReactComponent<JSX.VaCrisisLineModal, HTMLVaCrisisLineModalElement>('va-crisis-line-modal');
|
|
28
|
-
export const VaCriticalAction = /*@__PURE__*/createReactComponent<JSX.VaCriticalAction, HTMLVaCriticalActionElement>('va-critical-action');
|
|
29
|
-
export const VaDate = /*@__PURE__*/createReactComponent<JSX.VaDate, HTMLVaDateElement>('va-date');
|
|
30
|
-
export const VaFileInput = /*@__PURE__*/createReactComponent<JSX.VaFileInput, HTMLVaFileInputElement>('va-file-input');
|
|
31
|
-
export const VaFileInputMultiple = /*@__PURE__*/createReactComponent<JSX.VaFileInputMultiple, HTMLVaFileInputMultipleElement>('va-file-input-multiple');
|
|
32
|
-
export const VaHeaderMinimal = /*@__PURE__*/createReactComponent<JSX.VaHeaderMinimal, HTMLVaHeaderMinimalElement>('va-header-minimal');
|
|
33
|
-
export const VaIcon = /*@__PURE__*/createReactComponent<JSX.VaIcon, HTMLVaIconElement>('va-icon');
|
|
34
|
-
export const VaLanguageToggle = /*@__PURE__*/createReactComponent<JSX.VaLanguageToggle, HTMLVaLanguageToggleElement>('va-language-toggle');
|
|
35
|
-
export const VaLink = /*@__PURE__*/createReactComponent<JSX.VaLink, HTMLVaLinkElement>('va-link');
|
|
36
|
-
export const VaLinkAction = /*@__PURE__*/createReactComponent<JSX.VaLinkAction, HTMLVaLinkActionElement>('va-link-action');
|
|
37
|
-
export const VaLoadingIndicator = /*@__PURE__*/createReactComponent<JSX.VaLoadingIndicator, HTMLVaLoadingIndicatorElement>('va-loading-indicator');
|
|
38
|
-
export const VaMaintenanceBanner = /*@__PURE__*/createReactComponent<JSX.VaMaintenanceBanner, HTMLVaMaintenanceBannerElement>('va-maintenance-banner');
|
|
39
|
-
export const VaMemorableDate = /*@__PURE__*/createReactComponent<JSX.VaMemorableDate, HTMLVaMemorableDateElement>('va-memorable-date');
|
|
40
|
-
export const VaMinimalFooter = /*@__PURE__*/createReactComponent<JSX.VaMinimalFooter, HTMLVaMinimalFooterElement>('va-minimal-footer');
|
|
41
|
-
export const VaModal = /*@__PURE__*/createReactComponent<JSX.VaModal, HTMLVaModalElement>('va-modal');
|
|
42
|
-
export const VaNeedHelp = /*@__PURE__*/createReactComponent<JSX.VaNeedHelp, HTMLVaNeedHelpElement>('va-need-help');
|
|
43
|
-
export const VaNotification = /*@__PURE__*/createReactComponent<JSX.VaNotification, HTMLVaNotificationElement>('va-notification');
|
|
44
|
-
export const VaOfficialGovBanner = /*@__PURE__*/createReactComponent<JSX.VaOfficialGovBanner, HTMLVaOfficialGovBannerElement>('va-official-gov-banner');
|
|
45
|
-
export const VaOmbInfo = /*@__PURE__*/createReactComponent<JSX.VaOmbInfo, HTMLVaOmbInfoElement>('va-omb-info');
|
|
46
|
-
export const VaOnThisPage = /*@__PURE__*/createReactComponent<JSX.VaOnThisPage, HTMLVaOnThisPageElement>('va-on-this-page');
|
|
47
|
-
export const VaPagination = /*@__PURE__*/createReactComponent<JSX.VaPagination, HTMLVaPaginationElement>('va-pagination');
|
|
48
|
-
export const VaPrivacyAgreement = /*@__PURE__*/createReactComponent<JSX.VaPrivacyAgreement, HTMLVaPrivacyAgreementElement>('va-privacy-agreement');
|
|
49
|
-
export const VaProcessList = /*@__PURE__*/createReactComponent<JSX.VaProcessList, HTMLVaProcessListElement>('va-process-list');
|
|
50
|
-
export const VaProcessListItem = /*@__PURE__*/createReactComponent<JSX.VaProcessListItem, HTMLVaProcessListItemElement>('va-process-list-item');
|
|
51
|
-
export const VaProgressBar = /*@__PURE__*/createReactComponent<JSX.VaProgressBar, HTMLVaProgressBarElement>('va-progress-bar');
|
|
52
|
-
export const VaPromoBanner = /*@__PURE__*/createReactComponent<JSX.VaPromoBanner, HTMLVaPromoBannerElement>('va-promo-banner');
|
|
53
|
-
export const VaRadio = /*@__PURE__*/createReactComponent<JSX.VaRadio, HTMLVaRadioElement>('va-radio');
|
|
54
|
-
export const VaRadioOption = /*@__PURE__*/createReactComponent<JSX.VaRadioOption, HTMLVaRadioOptionElement>('va-radio-option');
|
|
55
|
-
export const VaSearchFilter = /*@__PURE__*/createReactComponent<JSX.VaSearchFilter, HTMLVaSearchFilterElement>('va-search-filter');
|
|
56
|
-
export const VaSearchInput = /*@__PURE__*/createReactComponent<JSX.VaSearchInput, HTMLVaSearchInputElement>('va-search-input');
|
|
57
|
-
export const VaSegmentedProgressBar = /*@__PURE__*/createReactComponent<JSX.VaSegmentedProgressBar, HTMLVaSegmentedProgressBarElement>('va-segmented-progress-bar');
|
|
58
|
-
export const VaSelect = /*@__PURE__*/createReactComponent<JSX.VaSelect, HTMLVaSelectElement>('va-select');
|
|
59
|
-
export const VaServiceListItem = /*@__PURE__*/createReactComponent<JSX.VaServiceListItem, HTMLVaServiceListItemElement>('va-service-list-item');
|
|
60
|
-
export const VaSidenav = /*@__PURE__*/createReactComponent<JSX.VaSidenav, HTMLVaSidenavElement>('va-sidenav');
|
|
61
|
-
export const VaSidenavItem = /*@__PURE__*/createReactComponent<JSX.VaSidenavItem, HTMLVaSidenavItemElement>('va-sidenav-item');
|
|
62
|
-
export const VaSidenavSubmenu = /*@__PURE__*/createReactComponent<JSX.VaSidenavSubmenu, HTMLVaSidenavSubmenuElement>('va-sidenav-submenu');
|
|
63
|
-
export const VaStatementOfTruth = /*@__PURE__*/createReactComponent<JSX.VaStatementOfTruth, HTMLVaStatementOfTruthElement>('va-statement-of-truth');
|
|
64
|
-
export const VaSummaryBox = /*@__PURE__*/createReactComponent<JSX.VaSummaryBox, HTMLVaSummaryBoxElement>('va-summary-box');
|
|
65
|
-
export const VaTabItem = /*@__PURE__*/createReactComponent<JSX.VaTabItem, HTMLVaTabItemElement>('va-tab-item');
|
|
66
|
-
export const VaTabPanel = /*@__PURE__*/createReactComponent<JSX.VaTabPanel, HTMLVaTabPanelElement>('va-tab-panel');
|
|
67
|
-
export const VaTable = /*@__PURE__*/createReactComponent<JSX.VaTable, HTMLVaTableElement>('va-table');
|
|
68
|
-
export const VaTableInner = /*@__PURE__*/createReactComponent<JSX.VaTableInner, HTMLVaTableInnerElement>('va-table-inner');
|
|
69
|
-
export const VaTableRow = /*@__PURE__*/createReactComponent<JSX.VaTableRow, HTMLVaTableRowElement>('va-table-row');
|
|
70
|
-
export const VaTabs = /*@__PURE__*/createReactComponent<JSX.VaTabs, HTMLVaTabsElement>('va-tabs');
|
|
71
|
-
export const VaTagStatus = /*@__PURE__*/createReactComponent<JSX.VaTagStatus, HTMLVaTagStatusElement>('va-tag-status');
|
|
72
|
-
export const VaTelephone = /*@__PURE__*/createReactComponent<JSX.VaTelephone, HTMLVaTelephoneElement>('va-telephone');
|
|
73
|
-
export const VaTelephoneInput = /*@__PURE__*/createReactComponent<JSX.VaTelephoneInput, HTMLVaTelephoneInputElement>('va-telephone-input');
|
|
74
|
-
export const VaTextInput = /*@__PURE__*/createReactComponent<JSX.VaTextInput, HTMLVaTextInputElement>('va-text-input');
|
|
75
|
-
export const VaTextarea = /*@__PURE__*/createReactComponent<JSX.VaTextarea, HTMLVaTextareaElement>('va-textarea');
|
|
1
|
+
/**
|
|
2
|
+
* Re-export all components from ./components to maintain backward compatibility.
|
|
3
|
+
* Consumers can import from '@department-of-veterans-affairs/web-components/react-bindings'
|
|
4
|
+
* without needing to specify '/components' in the path.
|
|
5
|
+
*/
|
|
6
|
+
export * from './components';
|
package/format-date.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(
|
|
1
|
+
"use strict";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=_typeof(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isDateSameDay=exports.isDateBefore=exports.isDateAfter=exports.formatTime=exports.formatDateShort=exports.formatDate=void 0;var formatDate=exports.formatDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{dateStyle:"full",timeStyle:"short"},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"America/New_York";if(e&&e instanceof Date)return e.toLocaleString("en-US",_objectSpread(_objectSpread({},t),{},{timeZone:r}))},formatDateShort=exports.formatDateShort=function(e,t){return formatDate(e,{dateStyle:"full"},t)},formatTime=exports.formatTime=function(e,t){return formatDate(e,{timeStyle:"short"},t)},isDateAfter=exports.isDateAfter=function(e,t){if(e&&e instanceof Date&&t&&t instanceof Date)return e.getTime()>t.getTime()},isDateBefore=exports.isDateBefore=function(e,t){if(e&&e instanceof Date&&t&&t instanceof Date)return e.getTime()<t.getTime()},isDateSameDay=exports.isDateSameDay=function(e,t){if(e&&e instanceof Date&&t&&t instanceof Date)return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDay()===t.getDay()};
|
package/format-date.unit.spec.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _chai=require("chai"),_formatDate=require("./format-date");describe("date functions",
|
|
1
|
+
"use strict";var _chai=require("chai"),_formatDate=require("./format-date");describe("date functions",function(){it("formats date to DayOfWeek, MonthName DayOfMonth, Year at Hour:Minutes [AM|PM]",function(){var e=(0,_formatDate.formatDate)(new Date(Date.UTC(1995,11,17,8,24,0)));(0,_chai.expect)(e).to.equal("Sunday, December 17, 1995 at 3:24 AM")}),it("formats date to DayOfWeek, MonthName DayOfMonth, Year",function(){var e=(0,_formatDate.formatDateShort)(new Date(Date.UTC(1995,11,17,8,24,0)));(0,_chai.expect)(e).to.equal("Sunday, December 17, 1995")}),it("formats date to Hour:Minutes [AM|PM]",function(){var e=(0,_formatDate.formatTime)(new Date(Date.UTC(1995,11,17,8,24,0)));(0,_chai.expect)(e).to.equal("3:24 AM")}),it("returns false if date1 is not after date2",function(){var e=new Date(Date.UTC(2021,11,17,8,24,0)),t=new Date(Date.UTC(2022,11,17,8,24,0));(0,_chai.expect)((0,_formatDate.isDateAfter)(e,t)).to.equal(!1)}),it("returns true if date1 is after date2",function(){var e=new Date(Date.UTC(2022,11,17,8,24,0)),t=new Date(Date.UTC(2021,11,17,8,24,0));(0,_chai.expect)((0,_formatDate.isDateAfter)(e,t)).to.equal(!0)}),it("returns true if date1 is before date2",function(){var e=new Date(Date.UTC(1995,11,17,8,24,0)),t=new Date(Date.UTC(1996,11,17,8,24,0));(0,_chai.expect)((0,_formatDate.isDateBefore)(e,t)).to.equal(!0)}),it("returns false if date1 is not before date2",function(){var e=new Date(Date.UTC(1996,11,17,8,24,0)),t=new Date(Date.UTC(1995,11,17,8,24,0));(0,_chai.expect)((0,_formatDate.isDateBefore)(e,t)).to.equal(!1)}),it("returns true if date1 is on the same day as date2",function(){var e=new Date(Date.UTC(2022,11,17,8,24,0)),t=new Date(Date.UTC(2022,11,17,10,24,0));(0,_chai.expect)((0,_formatDate.isDateSameDay)(e,t)).to.equal(!0)}),it("returns false if date1 is not on the same day as date2",function(){var e=new Date(Date.UTC(2022,11,17,8,24,0)),t=new Date(Date.UTC(1995,11,17,8,24,0));(0,_chai.expect)((0,_formatDate.isDateSameDay)(e,t)).to.equal(!1)})});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@department-of-veterans-affairs/component-library",
|
|
3
3
|
"description": "VA.gov component library. Includes React and web components.",
|
|
4
|
-
"version": "54.
|
|
4
|
+
"version": "54.4.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -20,23 +20,24 @@
|
|
|
20
20
|
"module": "src/main.js",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@department-of-veterans-affairs/react-components": "28.1.0",
|
|
23
|
-
"@department-of-veterans-affairs/web-components": "22.
|
|
24
|
-
"
|
|
25
|
-
"i18next
|
|
26
|
-
"
|
|
27
|
-
"react-
|
|
23
|
+
"@department-of-veterans-affairs/web-components": "22.4.2",
|
|
24
|
+
"@stencil/react-output-target": "1.2.0",
|
|
25
|
+
"i18next": "25.6.0",
|
|
26
|
+
"i18next-browser-languagedetector": "8.2.0",
|
|
27
|
+
"react-focus-on": "3.5.4",
|
|
28
|
+
"react-transition-group": "1.0.0"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
|
-
"@babel/core": "
|
|
31
|
-
"babel-loader": "
|
|
32
|
-
"copy-webpack-plugin": "
|
|
33
|
-
"css-loader": "
|
|
34
|
-
"mini-css-extract-plugin": "
|
|
35
|
-
"webpack": "
|
|
36
|
-
"webpack-cli": "
|
|
31
|
+
"@babel/core": "7.15.5",
|
|
32
|
+
"babel-loader": "8.2.2",
|
|
33
|
+
"copy-webpack-plugin": "9.1.0",
|
|
34
|
+
"css-loader": "6.6.0",
|
|
35
|
+
"mini-css-extract-plugin": "2.5.3",
|
|
36
|
+
"webpack": "5.94.0",
|
|
37
|
+
"webpack-cli": "4.9.2"
|
|
37
38
|
},
|
|
38
39
|
"peerDependencies": {
|
|
39
|
-
"react": "
|
|
40
|
-
"react-dom": "
|
|
40
|
+
"react": "19",
|
|
41
|
+
"react-dom": "19"
|
|
41
42
|
}
|
|
42
43
|
}
|
package/test-helpers.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.axeCheck=axeCheck,exports.mountToDiv=mountToDiv,exports.testAnalytics=testAnalytics;var _enzyme=require("enzyme"),_sinon=_interopRequireDefault(require("sinon"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function mountToDiv(e,t){var r=document.getElementById(t);return r||((r=document.createElement("div")).setAttribute("id",t),document.body.appendChild(r)),r.innerHTML="",(0,_enzyme.mount)(e,{attachTo:r})}function axeCheck(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=document.getElementById("axeContainer");n||((n=document.createElement("div")).setAttribute("id","axeContainer"),document.body.appendChild(n)),n.setAttribute("role","region"),n.setAttribute("aria-label","Component ".concat(Math.floor(Math.random()*Math.floor(100)))),n.innerHTML="";var o=(0,_enzyme.mount)(e,{attachTo:n});return r&&o.setState(r),new Promise(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.axeCheck=axeCheck,exports.mountToDiv=mountToDiv,exports.testAnalytics=testAnalytics;var _enzyme=require("enzyme"),_sinon=_interopRequireDefault(require("sinon"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function mountToDiv(e,t){var r=document.getElementById(t);return r||((r=document.createElement("div")).setAttribute("id",t),document.body.appendChild(r)),r.innerHTML="",(0,_enzyme.mount)(e,{attachTo:r})}function axeCheck(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=document.getElementById("axeContainer");n||((n=document.createElement("div")).setAttribute("id","axeContainer"),document.body.appendChild(n)),n.setAttribute("role","region"),n.setAttribute("aria-label","Component ".concat(Math.floor(Math.random()*Math.floor(100)))),n.innerHTML="";var o=(0,_enzyme.mount)(e,{attachTo:n});return r&&o.setState(r),new Promise(function(e,r){axe.run(document.body,function(n,a){n&&(console.error(n),r(n));var i=a.violations.filter(function(e){return!t.includes(e.id)});i.length&&r(new Error(i.map(function(e){var t=e.nodes.reduce(function(e,t){var r=t.html,n=t.target;return[e,r].concat(_toConsumableArray(n)).join("\n")},"");return"[".concat(e.impact,"] ").concat(e.help,"\nId: ").concat(e.id,"\nSee ").concat(e.helpUrl,"\n").concat(t)}).join("\n"))),o.unmount(),e()})})}function testAnalytics(e,t){var r=_sinon.default.spy();return global.document.body.addEventListener("component-library-analytics",r),t(e),global.document.body.removeEventListener("component-library-analytics",r),r}
|
package/utilities.unit.spec.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _chai=require("chai"),_utilities=require("./utilities");describe("uniqueId functionality",
|
|
1
|
+
"use strict";var _chai=require("chai"),_utilities=require("./utilities");describe("uniqueId functionality",function(){it("appends the unique to a prefix if provided",function(){(0,_chai.expect)((0,_utilities.uniqueId)("contact_")).to.equal("contact_1")}),it("will generate a unique ID per each instance of use",function(){var e=(0,_utilities.uniqueId)("test-");(0,_chai.expect)(e).to.equal("test-1");var i=(0,_utilities.uniqueId)("test-");(0,_chai.expect)(i).to.equal("test-2")})});
|
package/validations.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function isBlank(i){return""===i}function isValidValue(i,e){return isBlank(e)||i(e)}function isValidField(i,e){return isBlank(e.value)||i(e.value)}function isValidName(i){return/^[a-zA-Z][a-zA-Z '-]*$/.test(i)}function isValidFullNameField(i){return isValidName(i.first.value)&&(isBlank(i.middle.value)||isValidName(i.middle.value))&&isValidName(i.last.value)}function isValidMonetaryValue(i){return null===i||/^\d+\.?\d*$/.test(i)}function isValidPhone(i){var e=i.replace(/[^\d]/g,"");return/^\d{10}$/.test(e)}function isValidEmail(i){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(i)}function isValidRoutingNumber(i){if(/^\d{9}$/.test(i)){var e=i.split("").map(
|
|
1
|
+
"use strict";function isBlank(i){return""===i}function isValidValue(i,e){return isBlank(e)||i(e)}function isValidField(i,e){return isBlank(e.value)||i(e.value)}function isValidName(i){return/^[a-zA-Z][a-zA-Z '-]*$/.test(i)}function isValidFullNameField(i){return isValidName(i.first.value)&&(isBlank(i.middle.value)||isValidName(i.middle.value))&&isValidName(i.last.value)}function isValidMonetaryValue(i){return null===i||/^\d+\.?\d*$/.test(i)}function isValidPhone(i){var e=i.replace(/[^\d]/g,"");return/^\d{10}$/.test(e)}function isValidEmail(i){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(i)}function isValidRoutingNumber(i){if(/^\d{9}$/.test(i)){var e=i.split("").map(function(i){return parseInt(i,10)});return(3*(e[0]+e[3]+e[6])+7*(e[1]+e[4]+e[7])+(e[2]+e[5]+e[8]))%10==0}return!1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isBlank=isBlank,exports.isValidEmail=isValidEmail,exports.isValidField=isValidField,exports.isValidFullNameField=isValidFullNameField,exports.isValidMonetaryValue=isValidMonetaryValue,exports.isValidName=isValidName,exports.isValidPhone=isValidPhone,exports.isValidRoutingNumber=isValidRoutingNumber,exports.isValidValue=isValidValue;
|
package/dist/0.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 0.app.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[0,4569],{4569:function(i,n,e){e.r(n),e.d(n,{c:function(){return t}});var o,a={exports:{}};o=a,function(){var i={}.hasOwnProperty;function n(){for(var e=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var t=typeof a;if("string"===t||"number"===t)e.push(a);else if(Array.isArray(a)){if(a.length){var r=n.apply(null,a);r&&e.push(r)}}else if("object"===t)if(a.toString===Object.prototype.toString)for(var l in a)i.call(a,l)&&a[l]&&e.push(l);else e.push(a.toString())}}return e.join(" ")}o.exports?(n.default=n,o.exports=n):window.classNames=n}();var t=a.exports},0:function(i,n,e){e.r(n),e.d(n,{va_link:function(){return t}});var o=e(1484),a=e(4569),t=function(){function i(i){var n=this;(0,o.r)(this,i),this.componentLibraryAnalytics=(0,o.c)(this,"component-library-analytics",7),this.handleClick=function(i){if(!n.disableAnalytics){var e={componentName:"va-link",action:"click",details:{label:n.text,destination:n.href,origin:window.location.href}};n.componentLibraryAnalytics.emit(e)}},this.getAbbreviationTitle=function(){var i=n,e=i.abbrTitle;return"PDF"===i.filetype?"Portable Document Format":e},this.abbrTitle=void 0,this.active=!1,this.back=!1,this.calendar=!1,this.channel=!1,this.disableAnalytics=!1,this.download=!1,this.href=void 0,this.filename=void 0,this.filetype=void 0,this.pages=void 0,this.text=void 0,this.video=!1,this.reverse=!1,this.external=!1,this.label=null,this.iconName=null,this.iconSize=3,this.language=void 0}return i.prototype.render=function(){var i=this,n=i.active,e=i.back,t=i.calendar,r=i.channel,l=i.download,c=i.filetype,s=i.filename,h=i.getAbbreviationTitle,u=i.handleClick,v=i.href,f=i.pages,d=i.text,b=i.video,k=i.reverse,p=i.external,g=i.iconName,m=i.iconSize,y=i.language,x=i.label,w=(0,a.c)({"va-link--reverse":k,"link--center":g});if(n)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d,(0,o.h)("span",{class:"link-icon--active-icon-wrapper"},(0,o.h)("va-icon",{class:"link-icon--active",icon:"chevron_right"}))));if(e){var _=(0,o.h)("va-icon",{icon:"arrow_back",class:"link-icon--left link-icon--back"});return(0,o.h)(o.H,null,(0,o.h)("div",{class:"link-container"},_,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x},d)))}if(r||b){var C=r?"youtube":"play_circle";return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u,rel:"noopener",target:"_blank"},(0,o.h)("va-icon",{class:"link-icon--left",icon:C}),d," ",(0,o.h)("dfn",null,r?"YouTube":"on YouTube")))}if(t)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"calendar_today"}),d));if(l)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,download:s,"aria-label":x,onClick:u},(0,o.h)("va-icon",{class:"link-icon--left",icon:"file_download"}),d," ",c&&(0,o.h)("dfn",null,"(",(0,o.h)("abbr",{title:h()},c),f&&", ".concat(f," pages"),")")));if(g)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,"aria-label":x,onClick:u},(0,o.h)("va-icon",{icon:g,size:m,part:"icon"}),d));if(p)return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,rel:"noreferrer",class:w,onClick:u,"aria-label":x,target:"_blank"},d," ",(0,o.h)("span",{class:"screen-only"},"(opens in a new tab)")));var H=y||null;return(0,o.h)(o.H,null,(0,o.h)("a",{href:v,class:w,onClick:u,"aria-label":x,part:"anchor",lang:H,hrefLang:H},d))},i}();t.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}.usa-sr-only{position:absolute;left:-999em;right:auto}:host{display:inline}:host([href]:focus){outline:none !important}:host a{cursor:pointer;text-decoration:underline;font:inherit}:host a.va-link--reverse,:host a.va-link--reverse .link-icon--back{color:var(--vads-color-white)}:host a.va-link--reverse:hover,:host a.va-link--reverse:active,:host a.va-link--reverse:hover .link-icon--back,:host a.va-link--reverse:active .link-icon--back,:host a.va-link--reverse .link-icon--back:hover,:host a.va-link--reverse .link-icon--back:active,:host a.va-link--reverse .link-icon--back:hover .link-icon--back,:host a.va-link--reverse .link-icon--back:active .link-icon--back{color:var(--vads-color-action-focus-on-light);background-color:transparent}:host([active]:not([active=false])) a{font-weight:700}:host([icon-name]) va-icon{margin-right:4px}:host .link-icon--active-icon-wrapper{white-space:nowrap}.link-icon--active{vertical-align:baseline;position:relative;top:3px}.link-icon--left{margin-right:4px;vertical-align:baseline;position:relative;top:3px}.link-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.link-icon--back{color:var(--vads-color-gray-medium);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}.link--center{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}dfn{font-style:normal}abbr{text-decoration:none}.external-link-icon{margin-left:4px}@media print{.screen-only{display:none}}'}}]);
|
package/dist/12.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[12,6043],{6043:function(t,n,e){function r(t){return!Number.isNaN(parseFloat(t))}function o(t,n,e){void 0===e&&(e="slot");var r=t.shadowRoot.querySelector(e).assignedNodes();return null!==n?Array.from(r).filter((function(t){return t.nodeName.toLowerCase()===n})):Array.from(r)}function i(t){return 1===t?"":"s"}function a(t,n){if(void 0===t||""===t)return"".concat(n," character").concat(i(n)," allowed");var e;if(t.length<=n){var r=n-t.length;e="".concat(r," character").concat(i(r)," left")}else r=t.length-n,e="".concat(r," character").concat(i(r)," over limit");return e}function u(t,n){return Array.from({length:n-t+1},(function(n,e){return t+e}))}e.r(n),e.d(n,{S:function(){return s},a:function(){return o},b:function(){return r},c:function(){return v},d:function(){return p},e:function(){return m},f:function(){return a},g:function(){return f},h:function(){return d},i:function(){return h},m:function(){return u},s:function(){return c},u:function(){return b}}),e(1484);var l=function(t){return t&&"object"==typeof t&&1===t.nodeType};function c(t,n){var e=function(t,n){if("string"!=typeof t)return[];if(!n||!l(n))return[];var e=n.shadowRoot.querySelectorAll(t);return Array.from(e)}(t,n);return"string"!=typeof t||l(n)&&n.matches(t)&&e.push(n),e}var s={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(t){return s._entities[t]},escapeHTML:function(t){for(var n="",e=0;e<t.length;e++)n+=t[e],e+1<arguments.length&&(n+=String(arguments[e+1]||"").replace(s._entity,s.getEntity));return n}};function f(t){var n;return(n="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&n<=6?"h".concat(n):null}function d(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function h(t){return t&&"false"!==t||!1}function g(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function p(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===n)return!0;if("function"==typeof t||"function"==typeof n)return!0;if("object"!=typeof t||"object"!=typeof n)return!1;if(null===t||null===n)return!1;if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(t instanceof RegExp&&n instanceof RegExp)return t.source===n.source&&t.global===n.global&&t.multiline===n.multiline&&t.lastIndex===n.lastIndex&&t.ignoreCase===n.ignoreCase;if(g(t)||g(n)){if(!g(t)||!g(n))return!1;var o=Array.prototype.slice;return p(o.call(t),o.call(n),e,r)}if(t.constructor!==n.constructor)return!1;var i=Object.keys(t),a=Object.keys(n);if(0===i.length&&0===a.length)return!0;if(i.length!==a.length)return!1;for(var u=e.length;u--;)if(e[u]===t)return r[u]===n;e.push(t),r.push(n),i.sort(),a.sort();for(var l=i.length-1;l>=0;l--)if(i[l]!==a[l])return!1;for(var c=void 0,s=i.length-1;s>=0;s--)if(!p(t[c=i[s]],n[c],e,r))return!1;return e.pop(),r.pop(),!0}function v(t,n){var e;return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];clearTimeout(e),e=setTimeout((function(){return t.apply(r,o)}),n)}}function m(t){if(null!=t){var n="string"==typeof t?parseInt(t,10):t;if(!(n<=0||isNaN(n)))return n}}function b(t,n,e){t&&(t.innerText=a(n,m(e)))}},12:function(t,n,e){e.r(n),e.d(n,{va_on_this_page:function(){return a}});var r=e(1484),o=(e(1429),e(6043)),i=e(4665),a=function(){function t(t){var n=this;(0,r.r)(this,t),this.componentLibraryAnalytics=(0,r.c)(this,"component-library-analytics",7),this.handleHeadingBlur=function(t){var n=t.target;n.removeAttribute("tabindex"),n.removeAttribute("role")},this.moveFocusToHeading=function(t){var e=t.currentTarget,r=document.getElementById(e.hash.slice(1));r&&(r.setAttribute("tabindex","-1"),r.setAttribute("role","text"),r.focus(),r.addEventListener("blur",n.handleHeadingBlur,{once:!0}))},this.handleOnClick=function(t){var e,r,o,i;n.moveFocusToHeading(t),n.disableAnalytics||n.componentLibraryAnalytics.emit({componentName:"va-on-this-page",action:"click",details:{"click-text":(null===(r=null===(e=t.composedPath())||void 0===e?void 0:e[0])||void 0===r?void 0:r.textContent)||(null===(i=null===(o=t.path)||void 0===o?void 0:o[0])||void 0===i?void 0:i.textContent)}})},this.headerLevel=2,this.disableAnalytics=!1}return t.prototype.connectedCallback=function(){var t=this;i.i.on("languageChanged",(function(){(0,r.f)(t.el)}))},t.prototype.disconnectedCallback=function(){i.i.off("languageChanged")},t.prototype.render=function(){var t=this.handleOnClick,n=(0,o.g)(this.headerLevel)||"h2",e=Array.from(document.querySelectorAll("article h2")).filter((function(t){return t.id}));return(0,r.h)("nav",{"aria-labelledby":"on-this-page"},(0,r.h)(n,{id:"on-this-page"},i.i.t("on-this-page")),(0,r.h)("ul",null,e.map((function(n){return(0,r.h)("li",null,(0,r.h)("a",{href:"#".concat(n.id),onClick:t},(0,r.h)("va-icon",{icon:"arrow_downward"}),(0,r.h)("span",null,n.innerText)))}))))},Object.defineProperty(t.prototype,"el",{get:function(){return(0,r.g)(this)},enumerable:!1,configurable:!0}),t}();a.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}a{text-decoration:none;color:var(--vads-color-link);-webkit-transition-duration:0.3s;transition-duration:0.3s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color}a:hover{background-color:rgba(0, 0, 0, 0.05);color:inherit}a:visited{color:var(--vads-color-link-visited)}:host{display:block;border:1px solid var(--vads-color-base-light);border-radius:4px;padding:1em}@media (min-width: 768px){:host{border:none;padding:1em 1em 1em 0}}#on-this-page{font-family:var(--font-serif);font-size:1.25rem;font-weight:var(--font-weight-normal);margin:0.4em 0em}ul{margin-top:0;margin-bottom:0;margin-left:0;list-style-type:none;padding-left:0}li,#on-this-page{padding:0.5em;max-width:var(--vads-size-line-length-4)}li a{line-height:1.5em;display:-ms-flexbox;display:flex}li:hover{background-color:rgba(0, 0, 0, 0.05)}li a:hover{background-color:transparent}va-icon{margin-right:4px;padding-top:4px;line-height:1}'}}]);
|
package/dist/141.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 141.app.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[141,4569],{4569:function(i,e,t){t.r(e),t.d(e,{c:function(){return o}});var n,r={exports:{}};n=r,function(){var i={}.hasOwnProperty;function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var a=e.apply(null,r);a&&t.push(a)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var s in r)i.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}n.exports?(e.default=e,n.exports=e):window.classNames=e}();var o=r.exports},141:function(i,e,t){t.r(e),t.d(e,{va_icon:function(){return a}});var n=t(1484),r=t(4569),o=t(6012),a=function(){function i(i){(0,n.r)(this,i),this.fallbackSpriteLocation="/img/sprite.svg",this.icon=void 0,this.spriteLocation=void 0,this.size=void 0,this.srtext=void 0}return i.prototype.getSize=function(){return this.size&&![3,4,5,6,7,8,9].includes(this.size)?null:this.size},i.prototype.validateSpriteLocation=function(i){var e=this.fallbackSpriteLocation;try{var t=new URL(i,window.location.origin);return t.origin===window.location.origin&&t.pathname.endsWith(".svg")&&!i.includes("..")&&(e=t.pathname),e}catch(i){return e}},i.prototype.componentWillLoad=function(){globalThis.getVaIconSpriteLocation||(0,o.i)()},i.prototype.render=function(){var i,e=this,t=e.icon,o=e.srtext,a=e.spriteLocation,s=this.getSize(),c=(0,r.c)(((i={"usa-icon":!0})["usa-icon--size-".concat(s)]=!!s,i)),l=this.validateSpriteLocation(a||globalThis.getVaIconSpriteLocation())+"#".concat(t);return(0,n.h)(n.H,{key:"87937ec8feb83c5fda54a8df2e4fb8d568c3e6bf"},(0,n.h)("svg",{key:"90af82328276ad672588d5595164fb4ab7a6123e",class:c,"aria-labelledby":o?"icon-title":null,"aria-hidden":o?null:"true",focusable:"false",role:"img"},o&&(0,n.h)("title",{key:"8bd56db2a5c8adcb615472314cdb99f1a7084396",id:"icon-title"},o),(0,n.h)("use",{key:"e7f1b8669691a35229718e0406cdde453729d6c7",href:l})))},Object.defineProperty(i,"assetsDirs",{get:function(){return["../img"]},enumerable:!1,configurable:!0}),i}();a.style=".usa-icon{display:inline-block;fill:currentColor;height:1em;position:relative;width:1em}.usa-icon--size-3{height:1.5rem;width:1.5rem}.usa-icon--size-4{height:2rem;width:2rem}.usa-icon--size-5{height:2.5rem;width:2.5rem}.usa-icon--size-6{height:3rem;width:3rem}.usa-icon--size-7{height:3.5rem;width:3.5rem}.usa-icon--size-8{height:4rem;width:4rem}.usa-icon--size-9{height:4.5rem;width:4.5rem}:host{display:inline-block;line-height:0;vertical-align:bottom}"}}]);
|
package/dist/1822.app.bundle.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 1822.app.bundle.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[1822,4569,6043],{4569:function(e,t,r){r.r(t),r.d(t,{c:function(){return o}});var n,a={exports:{}};n=a,function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n<arguments.length;n++){var a=arguments[n];if(a){var o=typeof a;if("string"===o||"number"===o)r.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&r.push(i)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&r.push(s);else r.push(a.toString())}}return r.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}();var o=a.exports},6043:function(e,t,r){function n(e){return!Number.isNaN(parseFloat(e))}function a(e,t,r){void 0===r&&(r="slot");var n=e.shadowRoot.querySelector(r).assignedNodes();return null!==t?Array.from(n).filter((function(e){return e.nodeName.toLowerCase()===t})):Array.from(n)}function o(e){return 1===e?"":"s"}function i(e,t){if(void 0===e||""===e)return"".concat(t," character").concat(o(t)," allowed");var r;if(e.length<=t){var n=t-e.length;r="".concat(n," character").concat(o(n)," left")}else n=e.length-t,r="".concat(n," character").concat(o(n)," over limit");return r}function s(e,t){return Array.from({length:t-e+1},(function(t,r){return e+r}))}r.r(t),r.d(t,{S:function(){return g},a:function(){return a},b:function(){return n},c:function(){return v},d:function(){return f},e:function(){return p},f:function(){return i},g:function(){return h},h:function(){return c},i:function(){return m},m:function(){return s},s:function(){return u},u:function(){return b}}),r(1484);var l=function(e){return e&&"object"==typeof e&&1===e.nodeType};function u(e,t){var r=function(e,t){if("string"!=typeof e)return[];if(!t||!l(t))return[];var r=t.shadowRoot.querySelectorAll(e);return Array.from(r)}(e,t);return"string"!=typeof e||l(t)&&t.matches(e)&&r.push(t),r}var g={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(e){return g._entities[e]},escapeHTML:function(e){for(var t="",r=0;r<e.length;r++)t+=e[r],r+1<arguments.length&&(t+=String(arguments[r+1]||"").replace(g._entity,g.getEntity));return t}};function h(e){var t;return(t="string"==typeof e?parseInt(e,10):Math.floor(e))>=1&&t<=6?"h".concat(t):null}function c(e){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(e.tagName)}function m(e){return e&&"false"!==e||!1}function d(e){return"[object Arguments]"===Object.prototype.toString.call(e)}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(e===t)return!0;if("function"==typeof e||"function"==typeof t)return!0;if("object"!=typeof e||"object"!=typeof t)return!1;if(null===e||null===t)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(e instanceof RegExp&&t instanceof RegExp)return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(d(e)||d(t)){if(!d(e)||!d(t))return!1;var a=Array.prototype.slice;return f(a.call(e),a.call(t),r,n)}if(e.constructor!==t.constructor)return!1;var o=Object.keys(e),i=Object.keys(t);if(0===o.length&&0===i.length)return!0;if(o.length!==i.length)return!1;for(var s=r.length;s--;)if(r[s]===e)return n[s]===t;r.push(e),n.push(t),o.sort(),i.sort();for(var l=o.length-1;l>=0;l--)if(o[l]!==i[l])return!1;for(var u=void 0,g=o.length-1;g>=0;g--)if(!f(e[u=o[g]],t[u],r,n))return!1;return r.pop(),n.pop(),!0}function v(e,t){var r;return function(){for(var n=this,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];clearTimeout(r),r=setTimeout((function(){return e.apply(n,a)}),t)}}function p(e){if(null!=e){var t="string"==typeof e?parseInt(e,10):e;if(!(t<=0||isNaN(t)))return t}}function b(e,t,r){e&&(e.innerText=i(t,p(r)))}},1822:function(e,t,r){r.r(t),r.d(t,{va_alert_sign_in:function(){return l}});var n,a,o=r(1484),i=r(4569),s=r(6043);(a=n||(n={})).signInRequired="signInRequired",a.signInOptional="signInOptional",a.signInOptionalNoPrefill="signInOptionalNoPrefill",a.verifyIdMe="verifyIdMe",a.verifyLoginGov="verifyLoginGov",a.signInEither="signInEither";var l=function(){function e(e){(0,o.r)(this,e),this.variant=n.signInRequired,this.headingLevel=2,this.visible=!0,this.timeLimit="15 minutes",this.noSignInLink=void 0}return e.prototype.render=function(){var e,t=this,r=this.visible,a=this.variant;if(Object.values(n).includes(a)||(console.error("A non-allowed variant name was provided, please check your spelling."),a=n.signInRequired),!r)return(0,o.h)("div",{"aria-live":"polite"});var l=(0,i.c)("usa-alert","va-alert-sign-in--".concat(a),{"usa-alert--info":a===n.signInRequired||a===n.signInOptional||a===n.signInOptionalNoPrefill,"usa-alert--warning":a!==n.signInRequired&&a!==n.signInOptional&&a!==n.signInOptionalNoPrefill}),u=(0,s.g)(this.headingLevel),g=((e={})[n.signInEither]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"You need to sign in with a different account"),(0,o.h)("p",null,"We need you to sign in with an identity-verified account. This helps us protect all Veterans’ information and prevent scammers from stealing your benefits. You have 2 options: a verified"," ",(0,o.h)("strong",null,"Login.gov")," or a verified ",(0,o.h)("strong",null,"ID.me")," ","account."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you already have a Login.gov or ID.me account,")," ","sign in with that account. If you still need to verify your identity for your account, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"If you don’t have a Login.gov or ID.me account,")," ","create one now. We’ll help you verify your identity."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovSignInButton"})),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeSignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.signInOptional]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"Here’s how signing in with an identity-verified account helps you:"),(0,o.h)("ul",null,(0,o.h)("li",null,"We can fill in some of your information for you to save you time."),(0,o.h)("li",null,"You can save your work in progress. You’ll have ",t.timeLimit," ","from when you start or make changes to submit your form.")),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInOptionalNoPrefill]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"When you sign in with an identity-verified account, you can save your work in progress. You’ll have 60 days from when you start or make changes to submit your form."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Note:")," You can sign in after you start filling out your form. But you’ll lose any information you already filled in."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),t.noSignInLink&&(0,o.h)("p",null,(0,o.h)("va-link",{href:t.noSignInLink,text:"Start your form without signing in",disableAnalytics:!0})))},e[n.signInRequired]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Sign in with a verified account"),(0,o.h)("p",null,"You’ll need to sign in with an identity-verified account through one of our account providers. Identity verification helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,(0,o.h)("strong",null,"Don’t yet have a verified account?")," Create a"," ",(0,o.h)("strong",null,"Login.gov")," or ",(0,o.h)("strong",null,"ID.me")," account. We’ll help you verify your identity for your account now."),(0,o.h)("p",null,(0,o.h)("strong",null,"Not sure if your account is verified?")," Sign in here. If you still need to verify your identity, we’ll help you do that now."),(0,o.h)("p",null,(0,o.h)("slot",{name:"SignInButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/creating-an-account-for-vagov",text:"Learn about creating an account",disableAnalytics:!0})))},e[n.verifyIdMe]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your ",(0,o.h)("strong",null,"ID.me")," ","account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"IdMeVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e[n.verifyLoginGov]=function(){return(0,o.h)("div",{class:"va-alert-sign-in__body"},(0,o.h)(u,{class:"headline"},"Verify your identity"),(0,o.h)("p",null,"We need you to verify your identity for your"," ",(0,o.h)("strong",null,"Login.gov")," account. This step helps us protect all Veterans’ information and prevent scammers from stealing your benefits."),(0,o.h)("p",null,"This one-time process often takes about 10 minutes. You’ll need to provide certain personal information and identification."),(0,o.h)("p",null,(0,o.h)("slot",{name:"LoginGovVerifyButton"})),(0,o.h)("p",null,(0,o.h)("va-link",{href:"https://www.va.gov/resources/verifying-your-identity-on-vagov/",text:"Learn more about verifying your identity",disableAnalytics:!0})))},e)[a];return(0,o.h)(o.H,null,(0,o.h)("div",{role:this.el.getAttribute("data-role"),class:l,"aria-label":this.el.getAttribute("data-label")},(0,o.h)("div",{class:"usa-alert__body"},(0,o.h)("div",null,(0,o.h)("va-icon",{class:"va-alert-sign-in__lock-icon",icon:"lock",size:4}),(0,o.h)(g,null)))))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,o.g)(this)},enumerable:!1,configurable:!0}),e}();l.style='p,a,ol,ul,li,dl,dt,dd,form,label,button{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5}.usa-alert{background-color:#f0f0f0;border-left:0.5rem solid #a9aeb1;color:#1b1b1b}.usa-alert .usa-alert__body{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.5;padding-bottom:1rem;padding-top:1rem;position:relative}.usa-alert .usa-alert__text{margin-bottom:0;margin-top:0}.usa-alert .usa-alert__text:only-child{padding-bottom:0;padding-top:0}.usa-alert .usa-alert__heading{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.46rem;line-height:0.9;margin-top:0;margin-bottom:0.5rem}.usa-alert>.usa-list,.usa-alert .usa-alert__body>.usa-list{padding-left:2ch}.usa-alert>.usa-list:last-child,.usa-alert .usa-alert__body>.usa-list:last-child{margin-bottom:0}.usa-alert .usa-alert__body{padding-left:1.25rem;padding-right:1.25rem}.usa-alert .usa-alert__body::before{left:1.0833333333rem}*+.usa-alert{margin-top:1rem}.usa-alert--success{background-color:#ecf3ec;border-left-color:#00a91c}.usa-alert--success .usa-alert__body{color:#1b1b1b;background-color:#ecf3ec;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--success .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--success .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--success .usa-alert__body>*{margin-left:2.5rem}.usa-alert--success .usa-alert__body .usa-link{color:#005ea2}.usa-alert--success .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--success .usa-alert__body .usa-link:hover,.usa-alert--success .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--warning{background-color:#faf3d1;border-left-color:#ffbe2e}.usa-alert--warning .usa-alert__body{color:#1b1b1b;background-color:#faf3d1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--warning .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--warning .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--warning .usa-alert__body>*{margin-left:2.5rem}.usa-alert--warning .usa-alert__body .usa-link{color:#005ea2}.usa-alert--warning .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--warning .usa-alert__body .usa-link:hover,.usa-alert--warning .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--error{background-color:#f4e3db;border-left-color:#d54309}.usa-alert--error .usa-alert__body{color:#1b1b1b;background-color:#f4e3db;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--error .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--error .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--error .usa-alert__body>*{margin-left:2.5rem}.usa-alert--error .usa-alert__body .usa-link{color:#005ea2}.usa-alert--error .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--error .usa-alert__body .usa-link:hover,.usa-alert--error .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--info{background-color:#e7f6f8;border-left-color:#00bde3}.usa-alert--info .usa-alert__body{color:#1b1b1b;background-color:#e7f6f8;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--info .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--info .usa-alert__body::before{background:none;background-color:#1b1b1b;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--info .usa-alert__body>*{margin-left:2.5rem}.usa-alert--info .usa-alert__body .usa-link{color:#005ea2}.usa-alert--info .usa-alert__body .usa-link:visited{color:#54278f}.usa-alert--info .usa-alert__body .usa-link:hover,.usa-alert--info .usa-alert__body .usa-link:active{color:#1a4480}.usa-alert--emergency{background-color:#9c3d10;border-left-color:#9c3d10}.usa-alert--emergency .usa-alert__body{color:white;background-color:#9c3d10;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:3.3333333333rem}.usa-alert--emergency .usa-alert__body::before{background-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22 width%3D%2224%22%3E%3Cpath d%3D%22M0 0h24v24H0z%22 fill%3D%22none%22%2F%3E%3Cpath fill%3D%22%23fff%22 d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:center center;background-size:2rem 2rem;display:inline-block;height:2rem;width:2rem;content:"";display:block;position:absolute;top:0.6666666667rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--emergency .usa-alert__body::before{background:none;background-color:white;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));mask-image:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E%3Cpath d%3D%22M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(transparent, transparent);-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:2rem 2rem;mask-size:2rem 2rem}}.usa-alert--emergency .usa-alert__body>*{margin-left:2.5rem}.usa-alert--emergency .usa-alert__body .usa-link{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:visited{color:#dfe1e2}.usa-alert--emergency .usa-alert__body .usa-link:hover,.usa-alert--emergency .usa-alert__body .usa-link:active{color:#f0f0f0}.usa-alert--slim .usa-alert__body{padding-bottom:0.5rem;padding-top:0.5rem;min-height:0}.usa-alert--slim .usa-alert__body:before{height:1.5rem;top:0.5rem;width:1.5rem}@supports ((-webkit-mask: url("")) or (mask: url(""))){.usa-alert--slim .usa-alert__body:before{-webkit-mask-size:1.5rem;mask-size:1.5rem}}.usa-alert--slim .usa-alert__body>*{margin-left:2rem}.usa-alert--slim .usa-alert__body::before{left:1.125rem}.usa-alert--no-icon .usa-alert__body{min-height:0}.usa-alert--no-icon .usa-alert__body:before{display:none}.usa-alert--no-icon .usa-alert__body>*{margin-left:0}.usa-alert--validation .usa-checklist{margin-top:1rem}:host{display:block;position:relative}.usa-alert--info .usa-alert__body::before,.usa-alert--warning .usa-alert__body::before{-webkit-mask:none;mask:none;background:transparent}.va-alert-sign-in__lock-icon{position:absolute;top:12px;left:24px}@media screen and (max-width: 1024px){.va-alert-sign-in__lock-icon{left:12px}}:host .headline{font-size:1.33rem;margin-top:0;margin-bottom:0.5rem;font-family:var(--font-serif)}:host ul{-webkit-padding-start:1.2em;padding-inline-start:1.2em}'}}]);
|
package/dist/2236.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[2236],{2236:function(e,t,r){r.r(t),r.d(t,{va_file_input_multiple:function(){return s}});var i=r(1484),o=(r(1429),r(4665)),n=function(e,t,r){if(r||2===arguments.length)for(var i,o=0,n=t.length;o<n;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))},s=function(){function e(e){var t=this;(0,i.r)(this,e),this.vaMultipleChange=(0,i.c)(this,"vaMultipleChange",7),this.fileKeyCounter=0,this.additionalSlot=null,this.getAdditionalFileUploadMessage=function(){return(0,i.h)("span",null,"Drag an additional file here or"," ",(0,i.h)("span",{class:"file-input-choose-text"},"choose from folder"))},this.renderLabelOrHeader=function(e,t,r){var n=t?(0,i.h)("span",{class:"required"}," ",o.i.t("required")):null;if(r&&r>=1&&r<=6){var s="h".concat(r);return(0,i.h)("div",{class:"label-header"},(0,i.h)(s,{part:"label",class:"label-header-tag"},e,n))}return(0,i.h)("div",{class:"label-header"},(0,i.h)("label",{part:"label",class:"usa-label"},e,n))},this.addValueFiles=function(){return function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function s(e){try{l(i.next(e))}catch(e){n(e)}}function a(e){try{l(i.throw(e))}catch(e){n(e)}}function l(e){e.done?r(e.value):o(e.value).then(s,a)}l((i=i.apply(e,t||[])).next())}))}(t,void 0,void 0,(function(){var e=this;return function(e,t){var r,i,o,n,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return n={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;n&&(n=0,a[0]&&(s=0)),s;)try{if(r=1,i&&(o=2&a[0]?i.return:a[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,a[1])).done)return o;switch(i=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],i=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}(this,(function(t){return this.files.shift(),this.value.forEach((function(t){e.files.push({file:t,key:e.fileKeyCounter,content:e.getAdditionalContent()||null}),e.fileKeyCounter++})),this.readOnly||this.files.push({file:null,key:this.fileKeyCounter,content:null}),this.valueAdded=!0,[2,Promise.resolve()]}))}))},this.hasErrors=function(){return t.errors.some((function(e){return!!e}))},this.label=void 0,this.name=void 0,this.required=!1,this.accept=void 0,this.errors=[],this.passwordErrors=[],this.encrypted=[],this.hint=void 0,this.enableAnalytics=!1,this.headerSize=void 0,this.value=void 0,this.readOnly=!1,this.slotFieldIndexes=null,this.percentUploaded=[],this.maxFileSize=1/0,this.minFileSize=0,this.statusText=void 0,this.uploadedFiles=void 0,this.files=[{key:0,file:null,content:null,hasError:!1}],this.valueAdded=!1}return e.prototype.findFileByKey=function(e){return this.files.find((function(t){return t.key===e}))},e.prototype.findIndexByKey=function(e){return this.files.indexOf(this.files.find((function(t){return t.key===e})))},e.prototype.isEmpty=function(){return null===this.files[0].file&&!0!==this.files[0].hasError},e.prototype.setSlotContent=function(){var e=this.el.shadowRoot.querySelector("slot");this.additionalSlot||(this.additionalSlot=e?e.assignedElements({flatten:!0}):[]),null==e||e.remove()},e.prototype.getAdditionalContent=function(){return this.additionalSlot&&this.additionalSlot.map((function(e){return e.cloneNode(!0)}))},e.prototype.ensurePlaceholder=function(){if(!this.readOnly&&!this.files.some((function(e){return null===e.file&&!0!==e.hasError}))){this.fileKeyCounter++;var e={file:null,key:this.fileKeyCounter,content:null,error:!1};this.files=n(n([],this.files,!0),[e],!1)}},e.prototype.handleChange=function(e,t,r){var i,o,s,a=e.detail.files[0];if(a){var l=this.findFileByKey(t);l.hasError&&(l.hasError=!1),l.file?(o="FILE_UPDATED",s=a,l.file=a):(o="FILE_ADDED",s=a,l.file=a,l.content=this.getAdditionalContent(),this.fileKeyCounter++,this.files=n([],this.files,!0),this.ensurePlaceholder()),i=this.buildFilesArray(this.files,!1,this.findIndexByKey(t))}else{o="FILE_REMOVED",s=this.files[r].file;var h=n([],this.files,!0);h.splice(r,1),this.files=h;var d=this.el.shadowRoot.querySelector("#statusMessage");d.textContent="",setTimeout((function(){d.textContent="File deleted.",setTimeout((function(){d.textContent=""}),1e4)}),1e3),i=this.buildFilesArray(this.files,!0)}this.ensurePlaceholder(),this.updateFilesState(),this.vaMultipleChange.emit({action:o,file:s,state:i,index:r})},e.prototype.handlePasswordChange=function(e,t,r){var i=this.findFileByKey(t);i.password=e.detail.password;var o=this.buildFilesArray(this.files,!1,this.findIndexByKey(t)),n={action:"PASSWORD_UPDATE",file:i.file,state:o,index:r};this.vaMultipleChange.emit(n)},e.prototype.updateFilesState=function(){this.files=n([],this.files,!0)},e.prototype.buildFilesArray=function(e,t,r){var i=e.filter((function(e){return!!e.file})).map((function(e){return{file:e.file,changed:!1,password:e.password}}));return!t&&i[r]&&(i[r].changed=!0),i},e.prototype.componentDidRender=function(){var e=this,t=this.el.shadowRoot.querySelectorAll("va-file-input");return this.setSlotContent(),t.forEach((function(t,r){!e.files[r].content||e.slotFieldIndexes&&!e.slotFieldIndexes.includes(r)||e.files[r].content.forEach((function(e){return t.append(e)}))})),this.value&&this.value.length&&!this.valueAdded?this.addValueFiles():Promise.resolve()},e.prototype.render=function(){var e=this,t=this,r=t.label,o=t.required,n=t.headerSize,s=t.hint,a=t.files,l=t.name,h=t.accept,d=t.errors,f=t.encrypted,u=t.percentUploaded,p=t.passwordErrors,c=t.enableAnalytics,m=t.readOnly,b=t.maxFileSize,g=t.minFileSize,v=t.statusText,y=t.uploadedFiles,x=this.isEmpty()?"":"outer-wrap",w=this.hasErrors()?"has-error":"";return(0,i.h)(i.H,{key:"59ebf2f2aa24d163b5f6de91bd9091c056d42db9",class:w,error:w?"error":""},r&&!m&&this.renderLabelOrHeader(r,o,n),s&&!m&&(0,i.h)("div",{key:"f85aff6acbe3f0e54fac53d7546ae1fc1d8bf1d9",class:"usa-hint",id:"input-hint-message"},s),(0,i.h)("div",{key:"463737f15c632f90f79b5a7a0b865759d6576d31",class:x},(0,i.h)("div",{key:"bb4d1b4d316ddee685db7166760bb7a04dd9db85",class:"usa-sr-only","aria-live":"polite",id:"statusMessage"}),!this.isEmpty()&&(0,i.h)("div",{key:"33635cbf1164cf863309db70f7832a65831ae08d",class:"selected-files-label"},m?"Files you uploaded":"Selected files"),a.map((function(t,n){var a=u&&u.length>=n?u[n]:null,x=p&&p.length>=n?p[n]:null,w=y&&y.length>=n?y[n]:null;return(0,i.h)("va-file-input",Object.assign({key:t.key,id:"instance-".concat(n),headless:!0,label:r,hint:s,name:"".concat(l,"-").concat(t.key),accept:h,required:o},n>0?{uploadMessage:e.getAdditionalFileUploadMessage()}:{},{error:d[n],encrypted:f[n],percentUploaded:a,passwordError:x,onVaChange:function(r){return e.handleChange(r,t.key,n)},onVaFileInputError:function(){var r=e.findIndexByKey(t.key);r>-1&&(e.files[r]=Object.assign(Object.assign({},e.files[r]),{hasError:!0}),e.updateFilesState(),e.ensurePlaceholder())},onVaPasswordChange:function(r){return e.handlePasswordChange(r,t.key,n)},"enable-analytics":c,value:t.file,readOnly:m,maxFileSize:b,minFileSize:g,statusText:v,uploadedFile:w,class:t.file||t.hasError?"has-file":"no-file","max-file-size":b,"min-file-size":g}))}))),(0,i.h)("slot",{key:"358b2c4d0af79aad4d654a9b817c316c4998abaa"}))},Object.defineProperty(e.prototype,"el",{get:function(){return(0,i.g)(this)},enumerable:!1,configurable:!0}),e}();s.style='button:not([disabled]):focus,select:not([disabled]):focus,a:not([disabled]):focus,h1:focus,input:not([disabled]):focus,textarea:not([disabled]):focus,#form-question [role=\'option\']:focus,*[tabindex]:focus,a.va-sidenav-submenu__link:focus{outline:2px solid var(--vads-color-action-focus-on-light);outline-offset:2px;z-index:2}h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}@import \'~@department-of-veterans-affairs/css-library/dist/stylesheets/base/headings.css\';:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-hint{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3}.usa-label{font-family:Source Sans Pro Web, "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans;font-size:1.06rem;line-height:1.3;display:block;font-weight:normal;margin-top:1.5rem;max-width:30rem}.usa-label--error{font-weight:700;margin-top:0}.usa-label--required{color:#b50909}.usa-hint{color:#71767a}.usa-hint--required{color:#b50909}.usa-sr-only{position:absolute;left:-999em;right:auto}.usa-error-message{padding-bottom:0.25rem;padding-top:0.25rem;color:#b50909;display:block;font-weight:700}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}[hidden]{display:none}:host{display:block;font-family:var(--font-source-sans);font-size:16.96px;}:host .label-header{color:var(--vads-color-base);font-weight:var(--font-weight-normal)}:host .label-header-tag{margin:0;display:inline-block}:host .file-input-wrapper{display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host .file-input{cursor:pointer;height:100%;width:100%;max-width:none;top:0;left:0;z-index:1;margin:0;position:absolute;text-indent:-999em;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target{border:1px dashed var(--vads-color-action-border-base-active-on-dark);display:block;margin-top:0.3125rem;position:relative;text-align:center;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}:host .file-input-target.file-input-target-error{border:2px dashed var(--vads-color-secondary-dark)}:host .file-input-box{background:var(--vads-color-white);height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}:host .file-input-instructions{font-size:1.06rem;padding:1.25rem 0.625rem;pointer-events:none;position:relative;z-index:3}:host .file-input-choose-text{color:var(--vads-color-link);text-decoration:underline;font-weight:var(--font-weight-normal)}:host .file-icon{color:var(--vads-color-primary-alt-darkest)}:host .selected-files-wrapper{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light)}:host .selected-files-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;border-bottom:1px solid var(--vads-color-white);margin-bottom:8px;padding:8px}:host .va-card{margin:8px}:host .file-label{color:var(--vads-color-base);font-weight:var(--font-weight-bold);font-size:1.06rem;padding:0 8px;display:block;width:100%;word-wrap:break-word;word-break:break-word;overflow:hidden}:host #input-error-message{padding:0 8px;width:100%}:host .file-size-label,:host .file-status-label{color:var(--vads-color-base-dark);font-weight:var(--font-weight-normal);font-size:1.06rem;padding:0 8px;display:block}:host .file-status-label{font-style:italic}:host .file-info-section{padding:0 8px 8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .file-button-section{margin-top:8px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}:host .file-button-section>va-button-icon{font-size:1.06rem}@media screen and (max-width: 320px){:host .file-button-section{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}:host .with-separator{border-top:1px solid var(--vads-color-base-lighter)}:host .vads-u-line-height--2{line-height:1.15}:host .thumbnail-container{height:40px;width:40px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .thumbnail-preview{max-width:40px;width:auto;max-height:40px;height:auto}:host .thumbnail-error{color:#b21d38}:host va-progress-bar{font-size:var(--vads-font-size-root);display:block;margin-left:16px}:host .uploading-status{font-style:var(--font-style-italic)}:host(.has-error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host(.has-error){margin-left:-0.9rem}}.required{color:var(--vads-color-secondary-dark);margin-left:0.25rem}h1 .required,h2 .required,h3 .required,h4 .required,h5 .required,h6 .required{font-family:var(--font-source-sans);font-size:initial;font-weight:initial}.usa-error-message{font-size:1.06rem}:host([error]:not([error=""])),:host(.va-form-group--error){border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){border-left:none}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{border-left:0.25rem solid #b50909;padding-left:1rem;position:relative}@media screen and (min-width: 1024px){:host([error]:not([error=""])),:host(.va-form-group--error){margin-left:-0.9rem}:host([error]:not([error=""])[use-forms-pattern=multiple]) .input-wrap,:host(.va-form-group--error[use-forms-pattern=multiple]) .input-wrap{margin-left:-0.9rem}}@media screen and (max-width: 1023px){:host([error]:not([error=""])[use-forms-pattern=multiple]),:host(.va-form-group--error[use-forms-pattern=multiple]){padding-left:0}}:host.has-error{border-left:0.25rem solid #b50909;padding-left:1rem}:host .outer-wrap{background-color:var(--vads-color-primary-lighter);border:1px solid var(--vads-color-base-light);display:block;max-width:30rem;width:100%;position:relative;margin:8px 0}:host va-file-input.no-file{margin:0 8px}:host va-file-input:not(:last-child){border-bottom:1px solid var(--vads-color-white)}:host va-file-input.has-error{border-left:none;padding-left:0}@media screen and (min-width: 1024px){:host va-file-input.has-error{margin-left:0}}'}}]);
|
package/dist/251.app.bundle.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[251,6043],{6043:function(t,e,r){function n(t){return!Number.isNaN(parseFloat(t))}function i(t,e,r){void 0===r&&(r="slot");var n=t.shadowRoot.querySelector(r).assignedNodes();return null!==e?Array.from(n).filter((function(t){return t.nodeName.toLowerCase()===e})):Array.from(n)}function o(t){return 1===t?"":"s"}function a(t,e){if(void 0===t||""===t)return"".concat(e," character").concat(o(e)," allowed");var r;if(t.length<=e){var n=e-t.length;r="".concat(n," character").concat(o(n)," left")}else n=t.length-e,r="".concat(n," character").concat(o(n)," over limit");return r}function l(t,e){return Array.from({length:e-t+1},(function(e,r){return t+r}))}r.r(e),r.d(e,{S:function(){return h},a:function(){return i},b:function(){return n},c:function(){return v},d:function(){return m},e:function(){return y},f:function(){return a},g:function(){return f},h:function(){return u},i:function(){return g},m:function(){return l},s:function(){return c},u:function(){return d}}),r(1484);var s=function(t){return t&&"object"==typeof t&&1===t.nodeType};function c(t,e){var r=function(t,e){if("string"!=typeof t)return[];if(!e||!s(e))return[];var r=e.shadowRoot.querySelectorAll(t);return Array.from(r)}(t,e);return"string"!=typeof t||s(e)&&e.matches(t)&&r.push(e),r}var h={_entity:/[&<>"'/]/g,_entities:{"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},getEntity:function(t){return h._entities[t]},escapeHTML:function(t){for(var e="",r=0;r<t.length;r++)e+=t[r],r+1<arguments.length&&(e+=String(arguments[r+1]||"").replace(h._entity,h.getEntity));return e}};function f(t){var e;return(e="string"==typeof t?parseInt(t,10):Math.floor(t))>=1&&e<=6?"h".concat(e):null}function u(t){return["VA-BUTTON","VA-LINK","BUTTON","A"].includes(t.tagName)}function g(t){return t&&"false"!==t||!1}function p(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function m(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t===e)return!0;if("function"==typeof t||"function"==typeof e)return!0;if("object"!=typeof t||"object"!=typeof e)return!1;if(null===t||null===e)return!1;if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(t instanceof RegExp&&e instanceof RegExp)return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(p(t)||p(e)){if(!p(t)||!p(e))return!1;var i=Array.prototype.slice;return m(i.call(t),i.call(e),r,n)}if(t.constructor!==e.constructor)return!1;var o=Object.keys(t),a=Object.keys(e);if(0===o.length&&0===a.length)return!0;if(o.length!==a.length)return!1;for(var l=r.length;l--;)if(r[l]===t)return n[l]===e;r.push(t),n.push(e),o.sort(),a.sort();for(var s=o.length-1;s>=0;s--)if(o[s]!==a[s])return!1;for(var c=void 0,h=o.length-1;h>=0;h--)if(!m(t[c=o[h]],e[c],r,n))return!1;return r.pop(),n.pop(),!0}function v(t,e){var r;return function(){for(var n=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];clearTimeout(r),r=setTimeout((function(){return t.apply(n,i)}),e)}}function y(t){if(null!=t){var e="string"==typeof t?parseInt(t,10):t;if(!(e<=0||isNaN(e)))return e}}function d(t,e,r){t&&(t.innerText=a(e,y(r)))}},251:function(t,e,r){r.r(e),r.d(e,{va_search_filter:function(){return o}});var n=r(1484),i=r(6043),o=function(){function t(e){var r=this;(0,n.r)(this,e),this.vaFilterChange=(0,n.c)(this,"vaFilterChange",7),this.vaFilterApply=(0,n.c)(this,"vaFilterApply",7),this.vaFilterClearAll=(0,n.c)(this,"vaFilterClearAll",7),this.isDesktop=window.innerWidth>640,this.handleFilterChange=function(e){var n=e.facetId,i=e.categoryId,o=e.active;r.filterOptions=r.filterOptions.map((function(t){return t.id===n?Object.assign(Object.assign({},t),{category:t.category.map((function(t){return t.id===i?Object.assign(Object.assign({},t),{active:o}):t}))}):t})),r.totalActiveFilters=r.getTotalActiveFilters(),r.filterOptions=r.filterOptions.map((function(e){return Object.assign(Object.assign({},e),{activeFiltersCount:t.getTotalActiveFiltersByFacet(e)})})),r.vaFilterChange.emit(r.getActiveFiltersWithCategories())},this.handleClearAllFilters=function(){r.filterOptions=r.filterOptions.map((function(t){var e=Object.assign(Object.assign({},t),{category:t.category.map((function(t){return Object.assign(Object.assign({},t),{active:!1})}))});return Object.assign(Object.assign({},e),{activeFiltersCount:0})})),r.totalActiveFilters=0,r.vaFilterClearAll.emit()},this.handleApplyFilters=function(){r.vaFilterApply.emit(r.getActiveFiltersWithCategories())},this.header="Filters",this.filterOptions=[],this.totalActiveFilters=0}return t.prototype.filterOptionsChanged=function(e){if(e&&e.length>0){this.totalActiveFilters=this.getTotalActiveFilters();var r=e.map((function(e){return Object.assign(Object.assign({},e),{activeFiltersCount:t.getTotalActiveFiltersByFacet(e)})}));!(0,i.d)(r,this.filterOptions)&&(this.filterOptions=r)}},t.prototype.handleResize=function(){this.isDesktop=window.innerWidth>640,(0,n.f)(this)},t.prototype.getTotalActiveFilters=function(){return this.getActiveFiltersWithCategories().reduce((function(t,e){return t+e.category.length}),0)},t.prototype.getActiveFiltersWithCategories=function(){return this.filterOptions.map((function(t){return Object.assign(Object.assign({},t),{category:t.category.filter((function(t){return!0===t.active}))})})).filter((function(t){return t.category.length>0}))},t.getSrOnlyProp=function(t,e){var r;return t>0?((r={})[e]="".concat(1===t?"filter":"filters"," applied"),r):{}},t.getTotalActiveFiltersByFacet=function(t){return t.category.filter((function(t){return!0===t.active})).length},t.validateFilterOptions=function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.error("Error parsing filterOptions:",t),null}if(!Array.isArray(t))return console.error("filterOptions must be an array"),null;var e=t.every((function(t){var e="string"==typeof t.label&&t.label.length>0,r=Array.isArray(t.category)&&t.category.length>0&&t.category.every((function(t){var e="string"==typeof t.label&&t.label.length>0,r="number"==typeof t.id||"string"==typeof t.id;return e&&r})),n="number"==typeof t.id||"string"==typeof t.id;return e&&r&&n}));return e?t:null},t.prototype.componentWillLoad=function(){var e;if(null===(e=this.filterOptions)||void 0===e?void 0:e.length){var r=t.validateFilterOptions(this.filterOptions);r?(this.totalActiveFilters=this.getTotalActiveFilters(),this.filterOptions=r.map((function(e){return Object.assign(Object.assign({},e),{activeFiltersCount:t.getTotalActiveFiltersByFacet(e)})}))):this.filterOptions=[]}},t.prototype.render=function(){var e=this,r=e.header,i=e.filterOptions,o=e.isDesktop,a=e.totalActiveFilters,l=e.handleFilterChange,s=e.handleClearAllFilters,c=e.handleApplyFilters,h=(0,n.h)("div",{id:"filter-buttons"},(0,n.h)("va-button",{onClick:c,text:"Apply filters","full-width":!0}),(0,n.h)("va-button",{onClick:s,text:"Clear all filters",secondary:!0,"full-width":!0})),f=function(t,e){return(0,n.h)("va-checkbox",{label:e.label,key:e.id,checked:e.active,onVaChange:function(r){return l({facetId:t.id,categoryId:e.id,active:r.target.checked})}})};return o?(0,n.h)(n.H,null,(0,n.h)("h2",{id:"header"},r,a>0?" (".concat(a,")"):"",a>0&&(0,n.h)("span",{class:"usa-sr-only"}," applied")),i.length>0&&(0,n.h)("va-accordion",{class:"va-search-filter__accordion"},i.map((function(e){return(0,n.h)("va-accordion-item",Object.assign({header:e.label+(e.activeFiltersCount>0?" (".concat(e.activeFiltersCount,")"):"")},t.getSrOnlyProp(e.activeFiltersCount,"headerSrOnly"),{key:e.id,level:3,open:!0}),(0,n.h)("va-checkbox-group",{label:e.label,class:"va-search-filter__checkbox-group"},e.category.map((function(t){return f(e,t)}))))}))),h):(0,n.h)(n.H,null,i.length>0&&(0,n.h)("va-accordion",{class:"va-search-filter__accordion"},(0,n.h)("va-accordion-item",{header:r+(a>0?" (".concat(a,")"):""),headerSrOnly:"applied",open:!0},(0,n.h)("span",{slot:"icon"},(0,n.h)("va-icon",{icon:"filter_list"})),i.map((function(e){return(0,n.h)("va-checkbox-group",Object.assign({label:e.label+(e.activeFiltersCount>0?" (".concat(e.activeFiltersCount,")"):"")},t.getSrOnlyProp(e.activeFiltersCount,"labelSrOnly"),{key:e.id,"label-header-level":"3"}),e.category.map((function(t){return f(e,t)})))})),h)))},Object.defineProperty(t,"watchers",{get:function(){return{filterOptions:["filterOptionsChanged"]}},enumerable:!1,configurable:!0}),t}();o.style='h1{margin-top:0}h1,h2,h3,h4,h5,h6{margin-bottom:0;margin-top:0;clear:both}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:1.5em}h1+*,h2+*,h3+*,h4+*,h5+*,h6+*{margin-top:1em}h1{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:2.44rem;line-height:1.2;font-weight:700}h2{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.95rem;line-height:1.2;font-weight:700}h3{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:1.34rem;line-height:1.2;font-weight:700}h4{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.98rem;line-height:1.2;font-weight:700}h5{font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;font-size:0.91rem;line-height:1.2;font-weight:700}h6{font-family:Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;font-size:0.87rem;line-height:1.1;font-weight:normal;letter-spacing:0.025em;text-transform:uppercase}h1,h2,h3,h4,h5{font-family:Bitter, Georgia, Cambria, "Times New Roman", Times, serif;font-weight:700}h6{font-family:"Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;font-weight:700}h1{margin-top:0;font-size:2.5rem}h2{font-size:2rem}h3{font-size:1.25rem}h4{font-size:1.0625rem}h5{font-size:0.9375rem}h6{font-size:0.9375rem}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}@media (max-width: 481px){h1{font-size:1.875rem}h2{font-size:1.5rem}}h6{margin:0.5em 0 0;text-transform:none;font-weight:700}:host legend :is(h1,h2,h3,h4,h5,h6),:host label :is(h1,h2,h3,h4,h5,h6){display:inline;margin:0px}:host legend :is(h1,h2,h3,h4,h5),:host label :is(h1,h2,h3,h4,h5){font-family:var(--font-serif)}:host h1+*,:host h2+*,:host h3+*,:host h4+*,:host h5+*,:host h6+*{margin-top:unset}:host #form-question{margin-bottom:1rem}.usa-sr-only{position:absolute;left:-999em;right:auto}:host{display:block}#header{margin-bottom:20px}va-accordion-item::part(accordion-content){padding-top:0}va-checkbox-group{margin-top:10px}va-checkbox-group::part(legend){font-weight:bold}va-checkbox-group::part(header){font-family:var(--font-source-sans);font-size:var(--font-size-md)}#filter-buttons{margin-top:25px}#filter-buttons va-button{margin-bottom:15px}'}}]);
|