adp-web-components 0.1.70 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +8 -8
- package/dist/cjs/flexible-container.cjs.entry.js +1 -1
- package/dist/cjs/form-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/form-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/{form-dialog_8.cjs.entry.js → form-dialog_9.cjs.entry.js} +68 -29
- package/dist/cjs/form-input_4.cjs.entry.js +8 -10
- package/dist/cjs/form-stepper-control.cjs.entry.js +37 -0
- package/dist/cjs/form-switch.cjs.entry.js +2 -2
- package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/general-inquiry-form.cjs.entry.js +7 -7
- package/dist/cjs/{get-language-from-url-DSzX4HQt.js → get-language-from-url-BDxORAGO.js} +32 -2
- package/dist/cjs/{get-local-language-BI2pd_Yt.js → get-local-language-BHgGjV5c.js} +1 -1
- package/dist/cjs/information-table.cjs.entry.js +1 -1
- package/dist/cjs/{loader-icon-BnoqKYZM.js → loader-icon-C4vy1OWp.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +4 -4
- package/dist/cjs/part-lookup.cjs.entry.js +2 -2
- package/dist/cjs/service-booking-form.cjs.entry.js +7 -7
- package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
- package/dist/cjs/shift-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-switch.cjs.entry.js +1 -1
- package/dist/cjs/shift-tab-content.cjs.entry.js +1 -1
- package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +7 -7
- package/dist/cjs/{state-object-Des0c4Zu.js → state-object-Cgz5J2Ur.js} +23 -18
- package/dist/cjs/test-drive-form.cjs.entry.js +7 -7
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +30 -23
- package/dist/cjs/vehicle-lookup.cjs.entry.js +10 -9
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +14 -11
- package/dist/cjs/white-loader-55klC_ZH.js +21 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/components/empty.css +1 -1
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/shift-accordion.css +1 -1
- package/dist/collection/components/components/shift-tab-content.css +1 -1
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-step-control.js +207 -0
- package/dist/collection/components/form-elements/form-stepper-submit.js +210 -0
- package/dist/collection/components/form-elements/form-structure-error.js +1 -1
- package/dist/collection/components/form-elements/form-structure.js +13 -4
- package/dist/collection/components/form-elements/form-submit.js +2 -2
- package/dist/collection/components/form-elements/form-switch.js +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +2 -2
- package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
- package/dist/collection/components/form-elements/form-vin-input.js +2 -2
- package/dist/collection/components/forms/defaults/mappers.js +14 -14
- package/dist/collection/components/forms/defaults/style.css +1 -1
- package/dist/collection/components/forms/general-inquiry.js +21 -3
- package/dist/collection/components/forms/service-booking.js +21 -3
- package/dist/collection/components/forms/ssc-lookup.js +21 -3
- package/dist/collection/components/forms/test-drive.js +21 -3
- package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +8 -5
- package/dist/collection/components/forms/vehicle-quotation/themes.css +1 -1
- package/dist/collection/components/forms/vehicle-quotation.js +3 -3
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +23 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +25 -4
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +8 -8
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +28 -7
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +21 -0
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +23 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +22 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +22 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +25 -4
- package/dist/collection/components/vin-extractor/vin-extractor.css +1 -1
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/features/form-hook/form-hook.js +32 -2
- package/dist/collection/features/form-hook/render-structure.js +8 -5
- package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +1 -1
- package/dist/collection/global/lib/populate-items.js +8 -3
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/flexible-container.js +1 -1
- package/dist/components/form-checkbox.js +1 -1
- package/dist/components/form-date-picker.js +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-phone-number.js +1 -1
- package/dist/components/form-picker-input.js +1 -1
- package/dist/components/form-select.js +1 -1
- package/dist/components/form-shadow-input.js +1 -1
- package/dist/components/form-stepper-control.d.ts +11 -0
- package/dist/components/form-stepper-control.js +5 -0
- package/dist/components/form-stepper-submit.d.ts +11 -0
- package/dist/components/form-stepper-submit.js +5 -0
- package/dist/components/form-structure-error.js +1 -1
- package/dist/components/form-structure.js +1 -1
- package/dist/components/form-submit.js +1 -1
- package/dist/components/form-switch.js +1 -1
- package/dist/components/form-text-area.js +1 -1
- package/dist/components/form-time-picker.js +1 -1
- package/dist/components/form-vin-input.js +1 -1
- package/dist/components/general-inquiry-form.js +1 -1
- package/dist/components/information-table.js +1 -1
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/manufacturer-part-lookup.js +1 -1
- package/dist/components/{p-C6SbgMRz.js → p--jlw5opz.js} +1 -1
- package/dist/components/{p-DKsrvL2S.js → p-41x6KvGr.js} +1 -1
- package/dist/components/p-6cUFg2fc.js +5 -0
- package/dist/components/{p-DIj3glmo.js → p-7KNE1-Ri.js} +1 -1
- package/dist/components/{p-DRP9fYyR.js → p-8XSbLgc1.js} +1 -1
- package/dist/components/p-ArbH-E30.js +5 -0
- package/dist/components/p-B72Jlkwt.js +5 -0
- package/dist/components/p-BGq7d7YN.js +5 -0
- package/dist/components/p-BOVPfFLJ.js +5 -0
- package/dist/components/{p-CVBPVkGL.js → p-BWbMTRSS.js} +1 -1
- package/dist/components/{p-CPbpqNiK.js → p-Bb9raR6p.js} +1 -1
- package/dist/components/{p-BzcQ1_DB.js → p-BcI0oj-h.js} +1 -1
- package/dist/components/{p-CRL9p7FO.js → p-BcmcPyEi.js} +1 -1
- package/dist/components/p-BoER4BnX.js +5 -0
- package/dist/components/{p-DjOmO83I.js → p-BvLuD0Kf.js} +1 -1
- package/dist/components/{p-Csf7k_Q_.js → p-BvnhLOCg.js} +1 -1
- package/dist/components/{p-BDRL_JEw.js → p-C-bOO9_K.js} +1 -1
- package/dist/components/{p-C6AV2hb0.js → p-CF8TtBlc.js} +1 -1
- package/dist/components/p-CGDBCNyc.js +5 -0
- package/dist/components/{p-COS-bXsj.js → p-CRhdQvF0.js} +1 -1
- package/dist/components/p-CjJcK_hB.js +5 -0
- package/dist/components/{p-BTuZ-dir.js → p-CrouRVEx.js} +1 -1
- package/dist/components/p-CthTWUyd.js +5 -0
- package/dist/components/p-CxmOqH7E.js +5 -0
- package/dist/components/p-DJReNlr5.js +5 -0
- package/dist/components/{p-MJwr71KB.js → p-DJaWpqrV.js} +1 -1
- package/dist/components/p-DOvlk8Mh.js +5 -0
- package/dist/components/p-DRkoUgc-.js +5 -0
- package/dist/components/{p-DJIhYvU2.js → p-DRypfOfG.js} +1 -1
- package/dist/components/{p-D-glpTvr.js → p-DThFNBwH.js} +1 -1
- package/dist/components/{p-D085qLZP.js → p-DWUC1sOH.js} +1 -1
- package/dist/components/p-DdT53TtQ.js +5 -0
- package/dist/components/p-Dolx9bDW.js +5 -0
- package/dist/components/{p-DRSVQwLV.js → p-Donjg6jl.js} +1 -1
- package/dist/components/p-IDZdaLqR.js +5 -0
- package/dist/components/p-RsS4xQTn.js +5 -0
- package/dist/components/p-S8knoRzN.js +5 -0
- package/dist/components/p-bjIWj3pr.js +5 -0
- package/dist/components/{p-2CC2X_L5.js → p-vub3oOr-.js} +1 -1
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/shift-accordion.js +1 -1
- package/dist/components/shift-checkbox.js +1 -1
- package/dist/components/shift-slider.js +1 -1
- package/dist/components/shift-switch.js +1 -1
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.js +1 -1
- package/dist/components/ssc-lookup-form.js +1 -1
- package/dist/components/test-drive-form.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-claimable-items.js +1 -1
- package/dist/components/vehicle-item-claim-form.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-paint-thickness.js +1 -1
- package/dist/components/vehicle-quotation-form.js +1 -1
- package/dist/components/vehicle-sale-information.js +1 -1
- package/dist/components/vehicle-service-history.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.js +1 -1
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/dead-stock-lookup_3.entry.js +8 -8
- package/dist/esm/flexible-container.entry.js +1 -1
- package/dist/esm/form-checkbox.entry.js +1 -1
- package/dist/esm/form-date-picker.entry.js +1 -1
- package/dist/esm/{form-dialog_8.entry.js → form-dialog_9.entry.js} +66 -28
- package/dist/esm/form-input_4.entry.js +7 -9
- package/dist/esm/form-stepper-control.entry.js +35 -0
- package/dist/esm/form-switch.entry.js +2 -2
- package/dist/esm/form-time-picker.entry.js +6 -6
- package/dist/esm/general-inquiry-form.entry.js +7 -7
- package/dist/esm/{get-language-from-url-WEiw5juk.js → get-language-from-url-CZmiCAsd.js} +32 -2
- package/dist/esm/{get-local-language-RWdIrGBY.js → get-local-language-BF0xL8aw.js} +1 -1
- package/dist/esm/information-table.entry.js +1 -1
- package/dist/esm/{loader-icon-B0jJ_gr4.js → loader-icon-DibQkdwl.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/manufacturer-part-lookup.entry.js +4 -4
- package/dist/esm/part-lookup.entry.js +2 -2
- package/dist/esm/service-booking-form.entry.js +7 -7
- package/dist/esm/shift-accordion.entry.js +1 -1
- package/dist/esm/shift-checkbox.entry.js +1 -1
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-switch.entry.js +1 -1
- package/dist/esm/shift-tab-content.entry.js +1 -1
- package/dist/esm/shift-tabs_2.entry.js +10 -10
- package/dist/esm/ssc-lookup-form.entry.js +7 -7
- package/dist/esm/{state-object-CeC7oHKX.js → state-object-5qgRIr3a.js} +23 -18
- package/dist/esm/test-drive-form.entry.js +7 -7
- package/dist/esm/vehicle-accessories_7.entry.js +30 -23
- package/dist/esm/vehicle-lookup.entry.js +10 -9
- package/dist/esm/vehicle-quotation-form.entry.js +14 -11
- package/dist/esm/white-loader-BpnYQ3A6.js +18 -0
- package/dist/shift-components/p-0de56f81.entry.js +5 -0
- package/dist/shift-components/{p-0ea039a0.entry.js → p-2fe3538e.entry.js} +1 -1
- package/dist/shift-components/p-35f3ee2d.entry.js +5 -0
- package/dist/shift-components/{p-26416420.entry.js → p-41d29e7e.entry.js} +1 -1
- package/dist/shift-components/p-42fd030e.entry.js +5 -0
- package/dist/shift-components/p-5398e145.entry.js +5 -0
- package/dist/shift-components/p-56ca3239.entry.js +5 -0
- package/dist/shift-components/p-597791f0.entry.js +5 -0
- package/dist/shift-components/p-5e1fc9f1.entry.js +5 -0
- package/dist/shift-components/p-78478bd7.entry.js +5 -0
- package/dist/shift-components/{p-c18fe44e.entry.js → p-8d733785.entry.js} +1 -1
- package/dist/shift-components/p-96aec9cb.entry.js +5 -0
- package/dist/shift-components/p-96fcaa2f.entry.js +5 -0
- package/dist/shift-components/{p-Dg7_3Y8v.js → p-CLiT06E6.js} +1 -1
- package/dist/shift-components/p-CyHfimfF.js +5 -0
- package/dist/shift-components/p-DcKddZmi.js +5 -0
- package/dist/shift-components/p-DzDhhYba.js +5 -0
- package/dist/shift-components/{p-B6Wq0r1I.js → p-RWnI27dq.js} +1 -1
- package/dist/shift-components/{p-7d154f1b.entry.js → p-a0439790.entry.js} +1 -1
- package/dist/shift-components/{p-b0097625.entry.js → p-a4abc248.entry.js} +1 -1
- package/dist/shift-components/p-a516df62.entry.js +5 -0
- package/dist/shift-components/p-a91a7901.entry.js +5 -0
- package/dist/shift-components/p-aba8e38a.entry.js +5 -0
- package/dist/shift-components/{p-89de0489.entry.js → p-b1b6c27b.entry.js} +1 -1
- package/dist/shift-components/p-ba1c87fe.entry.js +5 -0
- package/dist/shift-components/{p-1146347b.entry.js → p-cf55db99.entry.js} +1 -1
- package/dist/shift-components/{p-d550e462.entry.js → p-cf92576f.entry.js} +1 -1
- package/dist/shift-components/p-dfcdbab3.entry.js +5 -0
- package/dist/shift-components/{p-8049016c.entry.js → p-f4914abc.entry.js} +1 -1
- package/dist/shift-components/p-f7abcdc8.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/form-elements/form-step-control.d.ts +15 -0
- package/dist/types/components/form-elements/form-stepper-submit.d.ts +15 -0
- package/dist/types/components/form-elements/form-structure.d.ts +1 -0
- package/dist/types/components/forms/defaults/mappers.d.ts +3 -0
- package/dist/types/components/forms/general-inquiry.d.ts +1 -0
- package/dist/types/components/forms/service-booking.d.ts +1 -0
- package/dist/types/components/forms/ssc-lookup.d.ts +1 -0
- package/dist/types/components/forms/test-drive.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-sale-information.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +1 -0
- package/dist/types/components/vehicle-lookup/vehicle-warranty-details.d.ts +1 -0
- package/dist/types/components.d.ts +154 -0
- package/dist/types/features/form-hook/form-hook.d.ts +3 -1
- package/dist/types/features/form-hook/interface.d.ts +11 -0
- package/dist/types/features/form-hook/render-structure.d.ts +1 -1
- package/dist/types/features/vehicle-lookup-component/interface.d.ts +1 -0
- package/dist/types/global/lib/populate-items.d.ts +3 -3
- package/package.json +1 -1
- package/dist/cjs/form-input-prefix-RFgXEC1Q.js +0 -18
- package/dist/components/p-0ySd0MgI.js +0 -5
- package/dist/components/p-4mOI6YY-.js +0 -5
- package/dist/components/p-B-aHdSRz.js +0 -5
- package/dist/components/p-BL_i6ncz.js +0 -5
- package/dist/components/p-BjeQkQYD.js +0 -5
- package/dist/components/p-C6dSOlqU.js +0 -5
- package/dist/components/p-CDQ_6rNn.js +0 -5
- package/dist/components/p-CDTvzwTY.js +0 -5
- package/dist/components/p-CKl6Vc8A.js +0 -5
- package/dist/components/p-C_xCz80J.js +0 -5
- package/dist/components/p-CtACubeO.js +0 -5
- package/dist/components/p-D2xyt223.js +0 -5
- package/dist/components/p-DOMr8Zue.js +0 -5
- package/dist/components/p-DZH6HxLr.js +0 -5
- package/dist/components/p-KZb6fCL8.js +0 -5
- package/dist/components/p-MGR9n8Z2.js +0 -5
- package/dist/components/p-iySPfhw3.js +0 -5
- package/dist/esm/form-input-prefix-C48SfAOK.js +0 -16
- package/dist/shift-components/p-18d80073.entry.js +0 -5
- package/dist/shift-components/p-24f5d3f2.entry.js +0 -5
- package/dist/shift-components/p-30c382b1.entry.js +0 -5
- package/dist/shift-components/p-3886ad8e.entry.js +0 -5
- package/dist/shift-components/p-39c7dae2.entry.js +0 -5
- package/dist/shift-components/p-4d802ef2.entry.js +0 -5
- package/dist/shift-components/p-5882e816.entry.js +0 -5
- package/dist/shift-components/p-76cc872d.entry.js +0 -5
- package/dist/shift-components/p-7c49d3b9.entry.js +0 -5
- package/dist/shift-components/p-87ed3b41.entry.js +0 -5
- package/dist/shift-components/p-9faedf34.entry.js +0 -5
- package/dist/shift-components/p-B4qfTeQp.js +0 -5
- package/dist/shift-components/p-DXZTo2xz.js +0 -5
- package/dist/shift-components/p-b12d9acf.entry.js +0 -5
- package/dist/shift-components/p-c0b48724.entry.js +0 -5
- package/dist/shift-components/p-ce5e2d1d.entry.js +0 -5
- package/dist/shift-components/p-f349af49.entry.js +0 -5
- package/dist/shift-components/p-no7IC1jn.js +0 -5
|
@@ -14,6 +14,7 @@ export declare class GeneralInquiryForm implements FormHookInterface<any>, Multi
|
|
|
14
14
|
loadingChanges: (loading: boolean) => void;
|
|
15
15
|
errorCallback: (error: any, message: string) => void;
|
|
16
16
|
successCallback: (data: any, message?: string) => void;
|
|
17
|
+
stepChangeCallback?: (step: number, currentForm?: any) => void;
|
|
17
18
|
structure: FormElementStructure<any> | undefined;
|
|
18
19
|
fields?: object;
|
|
19
20
|
el: HTMLElement;
|
|
@@ -14,6 +14,7 @@ export declare class ServiceBookingForm implements FormHookInterface<any>, Multi
|
|
|
14
14
|
loadingChanges: (loading: boolean) => void;
|
|
15
15
|
errorCallback: (error: any, message: string) => void;
|
|
16
16
|
successCallback: (data: any, message?: string) => void;
|
|
17
|
+
stepChangeCallback?: (step: number, currentForm?: any) => void;
|
|
17
18
|
structure: FormElementStructure<any> | undefined;
|
|
18
19
|
fields?: object;
|
|
19
20
|
el: HTMLElement;
|
|
@@ -14,6 +14,7 @@ export declare class SSCLookupForm implements FormHookInterface<any>, MultiLingu
|
|
|
14
14
|
loadingChanges: (loading: boolean) => void;
|
|
15
15
|
errorCallback: (error: any, message: string) => void;
|
|
16
16
|
successCallback: (data: any, message?: string) => void;
|
|
17
|
+
stepChangeCallback?: (step: number, currentForm?: any) => void;
|
|
17
18
|
structure: FormElementStructure<any> | undefined;
|
|
18
19
|
fields?: object;
|
|
19
20
|
el: HTMLElement;
|
|
@@ -14,6 +14,7 @@ export declare class TestDriveForm implements FormHookInterface<any>, MultiLingu
|
|
|
14
14
|
loadingChanges: (loading: boolean) => void;
|
|
15
15
|
errorCallback: (error: any, message: string) => void;
|
|
16
16
|
successCallback: (data: any, message?: string) => void;
|
|
17
|
+
stepChangeCallback?: (step: number, currentForm?: any) => void;
|
|
17
18
|
structure: FormElementStructure<any> | undefined;
|
|
18
19
|
fields?: object;
|
|
19
20
|
el: HTMLElement;
|
|
@@ -16,6 +16,7 @@ export declare class VehicleAccessories implements MultiLingual, VehicleInfoLayo
|
|
|
16
16
|
blazorRef?: DotNetObjectReference;
|
|
17
17
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
18
18
|
isDev: boolean;
|
|
19
|
+
disableVinValidation: boolean;
|
|
19
20
|
baseUrl: string;
|
|
20
21
|
headers: object;
|
|
21
22
|
queryString: string;
|
|
@@ -15,6 +15,7 @@ export declare class VehicleClaimableItems implements MultiLingual, VehicleInfoL
|
|
|
15
15
|
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
16
16
|
coreOnly: boolean;
|
|
17
17
|
isDev: boolean;
|
|
18
|
+
disableVinValidation: boolean;
|
|
18
19
|
baseUrl: string;
|
|
19
20
|
headers: object;
|
|
20
21
|
queryString: string;
|
|
@@ -35,6 +35,7 @@ export declare class VehicleLookup implements MultiLingual {
|
|
|
35
35
|
activeElement?: ActiveElement;
|
|
36
36
|
baseUrl: string;
|
|
37
37
|
isDev: boolean;
|
|
38
|
+
disableVinValidation: boolean;
|
|
38
39
|
queryString: string;
|
|
39
40
|
childrenProps?: string | Object;
|
|
40
41
|
blazorErrorStateListener: string;
|
|
@@ -16,6 +16,7 @@ export declare class VehiclePaintThickness implements MultiLingual, VehicleInfoL
|
|
|
16
16
|
blazorRef?: DotNetObjectReference;
|
|
17
17
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
18
18
|
isDev: boolean;
|
|
19
|
+
disableVinValidation: boolean;
|
|
19
20
|
baseUrl: string;
|
|
20
21
|
headers: object;
|
|
21
22
|
queryString: string;
|
|
@@ -13,6 +13,7 @@ export declare class VehicleSaleInformation implements MultiLingual, VehicleInfo
|
|
|
13
13
|
blazorRef?: DotNetObjectReference;
|
|
14
14
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
15
15
|
isDev: boolean;
|
|
16
|
+
disableVinValidation: boolean;
|
|
16
17
|
baseUrl: string;
|
|
17
18
|
headers: object;
|
|
18
19
|
queryString: string;
|
|
@@ -13,6 +13,7 @@ export declare class VehicleServiceHistory implements MultiLingual, VehicleInfoL
|
|
|
13
13
|
blazorRef?: DotNetObjectReference;
|
|
14
14
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
15
15
|
isDev: boolean;
|
|
16
|
+
disableVinValidation: boolean;
|
|
16
17
|
baseUrl: string;
|
|
17
18
|
headers: object;
|
|
18
19
|
queryString: string;
|
|
@@ -13,6 +13,7 @@ export declare class VehicleSpecification implements MultiLingual, VehicleInfoLa
|
|
|
13
13
|
blazorRef?: DotNetObjectReference;
|
|
14
14
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
15
15
|
isDev: boolean;
|
|
16
|
+
disableVinValidation: boolean;
|
|
16
17
|
baseUrl: string;
|
|
17
18
|
headers: object;
|
|
18
19
|
queryString: string;
|
|
@@ -11,6 +11,7 @@ export declare class VehicleWarrantyDetails implements MultiLingual, VehicleInfo
|
|
|
11
11
|
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
12
12
|
coreOnly: boolean;
|
|
13
13
|
isDev: boolean;
|
|
14
|
+
disableVinValidation: boolean;
|
|
14
15
|
baseUrl: string;
|
|
15
16
|
headers: object;
|
|
16
17
|
queryString: string;
|
|
@@ -292,6 +292,38 @@ export namespace Components {
|
|
|
292
292
|
"type"?: string;
|
|
293
293
|
"value": string;
|
|
294
294
|
}
|
|
295
|
+
interface FormStepperControl {
|
|
296
|
+
"form": FormHook<any>;
|
|
297
|
+
"isLoading": boolean;
|
|
298
|
+
"language"?: string;
|
|
299
|
+
/**
|
|
300
|
+
* @default {}
|
|
301
|
+
*/
|
|
302
|
+
"localization"?: FormInputLocalization;
|
|
303
|
+
"step"?: number;
|
|
304
|
+
/**
|
|
305
|
+
* @default 'submit'
|
|
306
|
+
*/
|
|
307
|
+
"submitTextKey"?: string;
|
|
308
|
+
"wrapperClass": string;
|
|
309
|
+
"wrapperId": string;
|
|
310
|
+
}
|
|
311
|
+
interface FormStepperSubmit {
|
|
312
|
+
"form": FormHook<any>;
|
|
313
|
+
"isLoading": boolean;
|
|
314
|
+
"language"?: string;
|
|
315
|
+
/**
|
|
316
|
+
* @default {}
|
|
317
|
+
*/
|
|
318
|
+
"localization"?: FormInputLocalization;
|
|
319
|
+
"step"?: number;
|
|
320
|
+
/**
|
|
321
|
+
* @default 'submit'
|
|
322
|
+
*/
|
|
323
|
+
"submitTextKey"?: string;
|
|
324
|
+
"wrapperClass": string;
|
|
325
|
+
"wrapperId": string;
|
|
326
|
+
}
|
|
295
327
|
interface FormStructure {
|
|
296
328
|
"errorMessage": string;
|
|
297
329
|
"fields"?: object;
|
|
@@ -424,6 +456,7 @@ export namespace Components {
|
|
|
424
456
|
"isMobileForm": boolean;
|
|
425
457
|
"language": LanguageKeys;
|
|
426
458
|
"loadingChanges": (loading: boolean) => void;
|
|
459
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
427
460
|
"structure": FormElementStructure<any> | undefined;
|
|
428
461
|
"structureUrl"?: string;
|
|
429
462
|
"submit": () => Promise<void>;
|
|
@@ -586,6 +619,7 @@ export namespace Components {
|
|
|
586
619
|
"isMobileForm": boolean;
|
|
587
620
|
"language": LanguageKeys;
|
|
588
621
|
"loadingChanges": (loading: boolean) => void;
|
|
622
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
589
623
|
"structure": FormElementStructure<any> | undefined;
|
|
590
624
|
"structureUrl"?: string;
|
|
591
625
|
"submit": () => Promise<void>;
|
|
@@ -656,6 +690,7 @@ export namespace Components {
|
|
|
656
690
|
"isMobileForm": boolean;
|
|
657
691
|
"language": LanguageKeys;
|
|
658
692
|
"loadingChanges": (loading: boolean) => void;
|
|
693
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
659
694
|
"structure": FormElementStructure<any> | undefined;
|
|
660
695
|
"structureUrl"?: string;
|
|
661
696
|
"submit": () => Promise<void>;
|
|
@@ -683,6 +718,7 @@ export namespace Components {
|
|
|
683
718
|
"isMobileForm": boolean;
|
|
684
719
|
"language": LanguageKeys;
|
|
685
720
|
"loadingChanges": (loading: boolean) => void;
|
|
721
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
686
722
|
"structure": FormElementStructure<any> | undefined;
|
|
687
723
|
"structureUrl"?: string;
|
|
688
724
|
"submit": () => Promise<void>;
|
|
@@ -695,6 +731,10 @@ export namespace Components {
|
|
|
695
731
|
* @default false
|
|
696
732
|
*/
|
|
697
733
|
"coreOnly": boolean;
|
|
734
|
+
/**
|
|
735
|
+
* @default false
|
|
736
|
+
*/
|
|
737
|
+
"disableVinValidation": boolean;
|
|
698
738
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
699
739
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
700
740
|
/**
|
|
@@ -729,6 +769,10 @@ export namespace Components {
|
|
|
729
769
|
* @default false
|
|
730
770
|
*/
|
|
731
771
|
"coreOnly": boolean;
|
|
772
|
+
/**
|
|
773
|
+
* @default false
|
|
774
|
+
*/
|
|
775
|
+
"disableVinValidation": boolean;
|
|
732
776
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
733
777
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
734
778
|
/**
|
|
@@ -796,6 +840,10 @@ export namespace Components {
|
|
|
796
840
|
*/
|
|
797
841
|
"blazorOnLoadingStateChange": string;
|
|
798
842
|
"childrenProps"?: string | Object;
|
|
843
|
+
/**
|
|
844
|
+
* @default false
|
|
845
|
+
*/
|
|
846
|
+
"disableVinValidation": boolean;
|
|
799
847
|
"dynamicClaimActivate"?: (vehicleInformation: VehicleLookupDTO) => void;
|
|
800
848
|
"errorStateListener"?: (newError: string) => void;
|
|
801
849
|
"fetchVin": (vin: string, headers?: any) => Promise<void>;
|
|
@@ -821,6 +869,10 @@ export namespace Components {
|
|
|
821
869
|
* @default false
|
|
822
870
|
*/
|
|
823
871
|
"coreOnly": boolean;
|
|
872
|
+
/**
|
|
873
|
+
* @default false
|
|
874
|
+
*/
|
|
875
|
+
"disableVinValidation": boolean;
|
|
824
876
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
825
877
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
826
878
|
/**
|
|
@@ -874,6 +926,10 @@ export namespace Components {
|
|
|
874
926
|
* @default false
|
|
875
927
|
*/
|
|
876
928
|
"coreOnly": boolean;
|
|
929
|
+
/**
|
|
930
|
+
* @default false
|
|
931
|
+
*/
|
|
932
|
+
"disableVinValidation": boolean;
|
|
877
933
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
878
934
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
879
935
|
/**
|
|
@@ -905,6 +961,10 @@ export namespace Components {
|
|
|
905
961
|
* @default false
|
|
906
962
|
*/
|
|
907
963
|
"coreOnly": boolean;
|
|
964
|
+
/**
|
|
965
|
+
* @default false
|
|
966
|
+
*/
|
|
967
|
+
"disableVinValidation": boolean;
|
|
908
968
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
909
969
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
910
970
|
/**
|
|
@@ -932,6 +992,10 @@ export namespace Components {
|
|
|
932
992
|
* @default false
|
|
933
993
|
*/
|
|
934
994
|
"coreOnly": boolean;
|
|
995
|
+
/**
|
|
996
|
+
* @default false
|
|
997
|
+
*/
|
|
998
|
+
"disableVinValidation": boolean;
|
|
935
999
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
936
1000
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
937
1001
|
/**
|
|
@@ -999,6 +1063,10 @@ export namespace Components {
|
|
|
999
1063
|
* @default null
|
|
1000
1064
|
*/
|
|
1001
1065
|
"customerPhone"?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* @default false
|
|
1068
|
+
*/
|
|
1069
|
+
"disableVinValidation": boolean;
|
|
1002
1070
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
1003
1071
|
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
1004
1072
|
/**
|
|
@@ -1156,6 +1224,18 @@ declare global {
|
|
|
1156
1224
|
prototype: HTMLFormShadowInputElement;
|
|
1157
1225
|
new (): HTMLFormShadowInputElement;
|
|
1158
1226
|
};
|
|
1227
|
+
interface HTMLFormStepperControlElement extends Components.FormStepperControl, HTMLStencilElement {
|
|
1228
|
+
}
|
|
1229
|
+
var HTMLFormStepperControlElement: {
|
|
1230
|
+
prototype: HTMLFormStepperControlElement;
|
|
1231
|
+
new (): HTMLFormStepperControlElement;
|
|
1232
|
+
};
|
|
1233
|
+
interface HTMLFormStepperSubmitElement extends Components.FormStepperSubmit, HTMLStencilElement {
|
|
1234
|
+
}
|
|
1235
|
+
var HTMLFormStepperSubmitElement: {
|
|
1236
|
+
prototype: HTMLFormStepperSubmitElement;
|
|
1237
|
+
new (): HTMLFormStepperSubmitElement;
|
|
1238
|
+
};
|
|
1159
1239
|
interface HTMLFormStructureElement extends Components.FormStructure, HTMLStencilElement {
|
|
1160
1240
|
}
|
|
1161
1241
|
var HTMLFormStructureElement: {
|
|
@@ -1366,6 +1446,8 @@ declare global {
|
|
|
1366
1446
|
"form-picker-input": HTMLFormPickerInputElement;
|
|
1367
1447
|
"form-select": HTMLFormSelectElement;
|
|
1368
1448
|
"form-shadow-input": HTMLFormShadowInputElement;
|
|
1449
|
+
"form-stepper-control": HTMLFormStepperControlElement;
|
|
1450
|
+
"form-stepper-submit": HTMLFormStepperSubmitElement;
|
|
1369
1451
|
"form-structure": HTMLFormStructureElement;
|
|
1370
1452
|
"form-structure-error": HTMLFormStructureErrorElement;
|
|
1371
1453
|
"form-submit": HTMLFormSubmitElement;
|
|
@@ -1637,6 +1719,38 @@ declare namespace LocalJSX {
|
|
|
1637
1719
|
"type"?: string;
|
|
1638
1720
|
"value"?: string;
|
|
1639
1721
|
}
|
|
1722
|
+
interface FormStepperControl {
|
|
1723
|
+
"form"?: FormHook<any>;
|
|
1724
|
+
"isLoading"?: boolean;
|
|
1725
|
+
"language"?: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* @default {}
|
|
1728
|
+
*/
|
|
1729
|
+
"localization"?: FormInputLocalization;
|
|
1730
|
+
"step"?: number;
|
|
1731
|
+
/**
|
|
1732
|
+
* @default 'submit'
|
|
1733
|
+
*/
|
|
1734
|
+
"submitTextKey"?: string;
|
|
1735
|
+
"wrapperClass"?: string;
|
|
1736
|
+
"wrapperId"?: string;
|
|
1737
|
+
}
|
|
1738
|
+
interface FormStepperSubmit {
|
|
1739
|
+
"form"?: FormHook<any>;
|
|
1740
|
+
"isLoading"?: boolean;
|
|
1741
|
+
"language"?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* @default {}
|
|
1744
|
+
*/
|
|
1745
|
+
"localization"?: FormInputLocalization;
|
|
1746
|
+
"step"?: number;
|
|
1747
|
+
/**
|
|
1748
|
+
* @default 'submit'
|
|
1749
|
+
*/
|
|
1750
|
+
"submitTextKey"?: string;
|
|
1751
|
+
"wrapperClass"?: string;
|
|
1752
|
+
"wrapperId"?: string;
|
|
1753
|
+
}
|
|
1640
1754
|
interface FormStructure {
|
|
1641
1755
|
"errorMessage"?: string;
|
|
1642
1756
|
"fields"?: object;
|
|
@@ -1768,6 +1882,7 @@ declare namespace LocalJSX {
|
|
|
1768
1882
|
"isMobileForm"?: boolean;
|
|
1769
1883
|
"language"?: LanguageKeys;
|
|
1770
1884
|
"loadingChanges"?: (loading: boolean) => void;
|
|
1885
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
1771
1886
|
"structure"?: FormElementStructure<any> | undefined;
|
|
1772
1887
|
"structureUrl"?: string;
|
|
1773
1888
|
"successCallback"?: (data: any, message?: string) => void;
|
|
@@ -1919,6 +2034,7 @@ declare namespace LocalJSX {
|
|
|
1919
2034
|
"isMobileForm"?: boolean;
|
|
1920
2035
|
"language"?: LanguageKeys;
|
|
1921
2036
|
"loadingChanges"?: (loading: boolean) => void;
|
|
2037
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
1922
2038
|
"structure"?: FormElementStructure<any> | undefined;
|
|
1923
2039
|
"structureUrl"?: string;
|
|
1924
2040
|
"successCallback"?: (data: any, message?: string) => void;
|
|
@@ -1983,6 +2099,7 @@ declare namespace LocalJSX {
|
|
|
1983
2099
|
"isMobileForm"?: boolean;
|
|
1984
2100
|
"language"?: LanguageKeys;
|
|
1985
2101
|
"loadingChanges"?: (loading: boolean) => void;
|
|
2102
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
1986
2103
|
"structure"?: FormElementStructure<any> | undefined;
|
|
1987
2104
|
"structureUrl"?: string;
|
|
1988
2105
|
"successCallback"?: (data: any, message?: string) => void;
|
|
@@ -2008,6 +2125,7 @@ declare namespace LocalJSX {
|
|
|
2008
2125
|
"isMobileForm"?: boolean;
|
|
2009
2126
|
"language"?: LanguageKeys;
|
|
2010
2127
|
"loadingChanges"?: (loading: boolean) => void;
|
|
2128
|
+
"stepChangeCallback"?: (step: number, currentForm?: any) => void;
|
|
2011
2129
|
"structure"?: FormElementStructure<any> | undefined;
|
|
2012
2130
|
"structureUrl"?: string;
|
|
2013
2131
|
"successCallback"?: (data: any, message?: string) => void;
|
|
@@ -2019,6 +2137,10 @@ declare namespace LocalJSX {
|
|
|
2019
2137
|
* @default false
|
|
2020
2138
|
*/
|
|
2021
2139
|
"coreOnly"?: boolean;
|
|
2140
|
+
/**
|
|
2141
|
+
* @default false
|
|
2142
|
+
*/
|
|
2143
|
+
"disableVinValidation"?: boolean;
|
|
2022
2144
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2023
2145
|
/**
|
|
2024
2146
|
* @default {}
|
|
@@ -2047,6 +2169,10 @@ declare namespace LocalJSX {
|
|
|
2047
2169
|
* @default false
|
|
2048
2170
|
*/
|
|
2049
2171
|
"coreOnly"?: boolean;
|
|
2172
|
+
/**
|
|
2173
|
+
* @default false
|
|
2174
|
+
*/
|
|
2175
|
+
"disableVinValidation"?: boolean;
|
|
2050
2176
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2051
2177
|
/**
|
|
2052
2178
|
* @default {}
|
|
@@ -2107,6 +2233,10 @@ declare namespace LocalJSX {
|
|
|
2107
2233
|
*/
|
|
2108
2234
|
"blazorOnLoadingStateChange"?: string;
|
|
2109
2235
|
"childrenProps"?: string | Object;
|
|
2236
|
+
/**
|
|
2237
|
+
* @default false
|
|
2238
|
+
*/
|
|
2239
|
+
"disableVinValidation"?: boolean;
|
|
2110
2240
|
"dynamicClaimActivate"?: (vehicleInformation: VehicleLookupDTO) => void;
|
|
2111
2241
|
"errorStateListener"?: (newError: string) => void;
|
|
2112
2242
|
/**
|
|
@@ -2129,6 +2259,10 @@ declare namespace LocalJSX {
|
|
|
2129
2259
|
* @default false
|
|
2130
2260
|
*/
|
|
2131
2261
|
"coreOnly"?: boolean;
|
|
2262
|
+
/**
|
|
2263
|
+
* @default false
|
|
2264
|
+
*/
|
|
2265
|
+
"disableVinValidation"?: boolean;
|
|
2132
2266
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2133
2267
|
/**
|
|
2134
2268
|
* @default {}
|
|
@@ -2176,6 +2310,10 @@ declare namespace LocalJSX {
|
|
|
2176
2310
|
* @default false
|
|
2177
2311
|
*/
|
|
2178
2312
|
"coreOnly"?: boolean;
|
|
2313
|
+
/**
|
|
2314
|
+
* @default false
|
|
2315
|
+
*/
|
|
2316
|
+
"disableVinValidation"?: boolean;
|
|
2179
2317
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2180
2318
|
/**
|
|
2181
2319
|
* @default {}
|
|
@@ -2203,6 +2341,10 @@ declare namespace LocalJSX {
|
|
|
2203
2341
|
* @default false
|
|
2204
2342
|
*/
|
|
2205
2343
|
"coreOnly"?: boolean;
|
|
2344
|
+
/**
|
|
2345
|
+
* @default false
|
|
2346
|
+
*/
|
|
2347
|
+
"disableVinValidation"?: boolean;
|
|
2206
2348
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2207
2349
|
/**
|
|
2208
2350
|
* @default {}
|
|
@@ -2226,6 +2368,10 @@ declare namespace LocalJSX {
|
|
|
2226
2368
|
* @default false
|
|
2227
2369
|
*/
|
|
2228
2370
|
"coreOnly"?: boolean;
|
|
2371
|
+
/**
|
|
2372
|
+
* @default false
|
|
2373
|
+
*/
|
|
2374
|
+
"disableVinValidation"?: boolean;
|
|
2229
2375
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2230
2376
|
/**
|
|
2231
2377
|
* @default {}
|
|
@@ -2289,6 +2435,10 @@ declare namespace LocalJSX {
|
|
|
2289
2435
|
* @default null
|
|
2290
2436
|
*/
|
|
2291
2437
|
"customerPhone"?: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* @default false
|
|
2440
|
+
*/
|
|
2441
|
+
"disableVinValidation"?: boolean;
|
|
2292
2442
|
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
2293
2443
|
/**
|
|
2294
2444
|
* @default {}
|
|
@@ -2383,6 +2533,8 @@ declare namespace LocalJSX {
|
|
|
2383
2533
|
"form-picker-input": FormPickerInput;
|
|
2384
2534
|
"form-select": FormSelect;
|
|
2385
2535
|
"form-shadow-input": FormShadowInput;
|
|
2536
|
+
"form-stepper-control": FormStepperControl;
|
|
2537
|
+
"form-stepper-submit": FormStepperSubmit;
|
|
2386
2538
|
"form-structure": FormStructure;
|
|
2387
2539
|
"form-structure-error": FormStructureError;
|
|
2388
2540
|
"form-submit": FormSubmit;
|
|
@@ -2433,6 +2585,8 @@ declare module "@stencil/core" {
|
|
|
2433
2585
|
"form-picker-input": LocalJSX.FormPickerInput & JSXBase.HTMLAttributes<HTMLFormPickerInputElement>;
|
|
2434
2586
|
"form-select": LocalJSX.FormSelect & JSXBase.HTMLAttributes<HTMLFormSelectElement>;
|
|
2435
2587
|
"form-shadow-input": LocalJSX.FormShadowInput & JSXBase.HTMLAttributes<HTMLFormShadowInputElement>;
|
|
2588
|
+
"form-stepper-control": LocalJSX.FormStepperControl & JSXBase.HTMLAttributes<HTMLFormStepperControlElement>;
|
|
2589
|
+
"form-stepper-submit": LocalJSX.FormStepperSubmit & JSXBase.HTMLAttributes<HTMLFormStepperSubmitElement>;
|
|
2436
2590
|
"form-structure": LocalJSX.FormStructure & JSXBase.HTMLAttributes<HTMLFormStructureElement>;
|
|
2437
2591
|
"form-structure-error": LocalJSX.FormStructureError & JSXBase.HTMLAttributes<HTMLFormStructureErrorElement>;
|
|
2438
2592
|
"form-submit": LocalJSX.FormSubmit & JSXBase.HTMLAttributes<HTMLFormSubmitElement>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AnyObjectSchema } from 'yup';
|
|
2
2
|
import { LanguageKeys, SharedFormLocales } from "../multi-lingual/index";
|
|
3
|
-
import { Field, FormElement, FormHookInterface, FormStateOptions, WatchCallback } from './interface';
|
|
3
|
+
import { Field, FormElement, FormHookInterface, FormStateOptions, Step, WatchCallback } from './interface';
|
|
4
4
|
import { FormStructure } from '../../components/form-elements/form-structure';
|
|
5
5
|
export declare class FormHook<T> {
|
|
6
6
|
haltValidation: boolean;
|
|
7
7
|
private isSubmitted;
|
|
8
|
+
private stepFormValues;
|
|
8
9
|
private watchers;
|
|
9
10
|
private cachedValues;
|
|
10
11
|
private subscribers;
|
|
@@ -24,6 +25,7 @@ export declare class FormHook<T> {
|
|
|
24
25
|
constructor(context: FormHookInterface<T>, schemaObject: AnyObjectSchema, formStateOptions?: FormStateOptions);
|
|
25
26
|
subscribe: (formName: string, formElement: FormElement) => void;
|
|
26
27
|
unsubscribe: (formName: string) => void;
|
|
28
|
+
getStepLabels: (language?: LanguageKeys, selectedStep?: number) => Step;
|
|
27
29
|
reset(): void;
|
|
28
30
|
addWatcher: (key?: string, callback?: WatchCallback) => void;
|
|
29
31
|
removeWatcher: (key: string) => void;
|
|
@@ -4,6 +4,8 @@ import { FormHook } from "./form-hook";
|
|
|
4
4
|
import { LanguageKeys } from "../multi-lingual/index";
|
|
5
5
|
export type FormElementStructureComponents<T> = {
|
|
6
6
|
id?: string;
|
|
7
|
+
step?: number;
|
|
8
|
+
type?: string;
|
|
7
9
|
class?: string;
|
|
8
10
|
staticValue?: any;
|
|
9
11
|
isHidden?: boolean;
|
|
@@ -16,7 +18,15 @@ export type FormElementStructureComponents<T> = {
|
|
|
16
18
|
tag: string;
|
|
17
19
|
name?: T;
|
|
18
20
|
});
|
|
21
|
+
export type Step = {
|
|
22
|
+
back?: string;
|
|
23
|
+
title: string;
|
|
24
|
+
stepCell?: string;
|
|
25
|
+
stepTitle?: string;
|
|
26
|
+
submitButton?: string;
|
|
27
|
+
};
|
|
19
28
|
export type FormElementStructure<T> = {
|
|
29
|
+
steps?: Record<LanguageKeys, Step>[];
|
|
20
30
|
data?: Record<string, any>;
|
|
21
31
|
requiredContext?: Record<string, boolean>;
|
|
22
32
|
} & FormElementStructureComponents<T>;
|
|
@@ -43,6 +53,7 @@ export interface FormHookInterface<T> {
|
|
|
43
53
|
loadingChanges?: (loading: boolean) => void;
|
|
44
54
|
errorCallback?: (error: any, message?: string) => void;
|
|
45
55
|
successCallback?: (data: any, message?: string) => void;
|
|
56
|
+
stepChangeCallback?: (step: number, currentForm?: any) => void;
|
|
46
57
|
}
|
|
47
58
|
export type ValidationType = 'onSubmit' | 'always';
|
|
48
59
|
export interface Field<MetaType> {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JSX } from '../../stencil-public-runtime';
|
|
2
2
|
import { FormElementStructure, FormElementMapper, FormElementMapperFunctionProps } from "./index";
|
|
3
|
-
export declare function renderStructure(structure: FormElementStructure<any> | string, elementMapper: FormElementMapper<any, any>, generaProps: FormElementMapperFunctionProps<any>, fields
|
|
3
|
+
export declare function renderStructure(structure: FormElementStructure<any> | string, elementMapper: FormElementMapper<any, any>, generaProps: FormElementMapperFunctionProps<any>, fields: object, currentStep: number): JSX.Element | false;
|
|
@@ -4,6 +4,7 @@ import { BlazorInvokableFunction } from "../blazor-ref/index";
|
|
|
4
4
|
import { VehicleLookupMock, VehicleRequestHeaders } from './types';
|
|
5
5
|
export interface VehicleLookupComponent extends VehicleRequestHeaders {
|
|
6
6
|
isDev: boolean;
|
|
7
|
+
disableVinValidation?: boolean;
|
|
7
8
|
baseUrl: string;
|
|
8
9
|
headers: object;
|
|
9
10
|
isError: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
type Setup = {
|
|
2
|
-
'item-value': string;
|
|
3
|
-
'item-label': string;
|
|
2
|
+
'item-value': string | string[];
|
|
3
|
+
'item-label': string | string[];
|
|
4
4
|
'useNamedValue'?: boolean;
|
|
5
|
-
'items':
|
|
5
|
+
'items': string | string[];
|
|
6
6
|
};
|
|
7
7
|
type Populated = {
|
|
8
8
|
value: string;
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
var index = require('./index-CmK48vN3.js');
|
|
8
|
-
var cn = require('./cn-BHnqYtun.js');
|
|
9
|
-
|
|
10
|
-
const FormInputPrefix = ({ direction, prefix, name }) => {
|
|
11
|
-
if (!prefix)
|
|
12
|
-
return false;
|
|
13
|
-
return (index.h("div", { dir: direction, class: "form-input-prefix", part: cn.cn('form-input-prefix', {
|
|
14
|
-
[`${name}-prefix`]: !!name,
|
|
15
|
-
}) }, prefix));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.FormInputPrefix = FormInputPrefix;
|