adp-web-components 0.3.13 → 0.3.15
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/{add-icon-BaoMAIgg.js → add-icon-BklgM02f.js} +1 -1
- package/dist/cjs/{app-globals-DBRBLgev.js → app-globals-XGpRBTr6.js} +1 -1
- package/dist/cjs/{arrow-icon-CJX1aUJ8.js → arrow-icon-yMlETDbD.js} +1 -1
- package/dist/cjs/{arrow-up-icon-B3Z5Myqt.js → arrow-up-icon-BLo1aQC2.js} +1 -1
- package/dist/cjs/{form-dialog_13.cjs.entry.js → branch-slot-dropdown_15.cjs.entry.js} +578 -41
- package/dist/cjs/{calendar-days-icon-CsHz2cgV.js → calendar-days-icon-Cf14ROXV.js} +1 -1
- package/dist/cjs/{check-icon-CqTKjw2o.js → check-icon-DaQxP2EY.js} +1 -1
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +11 -11
- package/dist/cjs/{decode-time-offset-DOSaziv5.js → decode-time-offset-DOUImlif.js} +1 -1
- package/dist/cjs/flexible-container.cjs.entry.js +4 -4
- package/dist/cjs/form-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-date-picker.cjs.entry.js +8 -8
- package/dist/cjs/{form-error-message-K-KI154V.js → form-error-message-BtLdHgxO.js} +1 -1
- package/dist/cjs/{form-input-PYkIVe7J.js → form-input-BBY_3Qk7.js} +8 -6
- package/dist/cjs/{form-input-label-uhneFYXO.js → form-input-label-B4lkF89K.js} +1 -1
- package/dist/cjs/form-input_7.cjs.entry.js +26 -26
- package/dist/cjs/form-switch.cjs.entry.js +6 -6
- package/dist/cjs/form-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/{functions-Bu1AQDD2.js → functions-BHYWCotp.js} +5 -11
- package/dist/cjs/general-form.cjs.entry.js +11 -11
- package/dist/cjs/general-inquiry-form.cjs.entry.js +11 -11
- package/dist/cjs/{get-language-from-url-p2OXldYh.js → get-language-from-url-DwOt9DVH.js} +5 -1
- package/dist/cjs/{get-local-language-BR0p0bBg.js → get-local-language-BSOLV9z2.js} +7 -3
- package/dist/cjs/{get-mock-files-Dljv5P4k.js → get-mock-files-Dv8XsTW8.js} +2 -2
- package/dist/cjs/{index-Bi6W8dMN.js → index-BdHAYIvO.js} +16 -0
- package/dist/cjs/information-table.cjs.entry.js +2 -2
- package/dist/cjs/{loader-icon-By94sKO7.js → loader-icon-aY56OHXW.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +4 -4
- package/dist/cjs/{mappers-DF2WCWpn.js → mappers-BlH-TAo7.js} +27 -5
- package/dist/cjs/{material-card-BqsZgRVE.js → material-card-D1UQcy6U.js} +1 -1
- package/dist/cjs/part-lookup.cjs.entry.js +3 -3
- package/dist/cjs/{qr-code-scan-B-8WHa22.js → qr-code-scan-CtKK6wLL.js} +1 -1
- package/dist/cjs/service-booking-form.cjs.entry.js +11 -11
- package/dist/cjs/shift-accordion.cjs.entry.js +2 -2
- package/dist/cjs/shift-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/shift-components.cjs.js +3 -3
- package/dist/cjs/shift-slider.cjs.entry.js +2 -2
- package/dist/cjs/shift-switch.cjs.entry.js +3 -3
- package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/shift-tabs_2.cjs.entry.js +13 -13
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +11 -11
- package/dist/cjs/test-drive-form.cjs.entry.js +11 -11
- package/dist/cjs/{triangle-alert-CN15U99s.js → triangle-alert-BjQBwsRv.js} +1 -1
- package/dist/cjs/{validation-jJwLyk27.js → validation-5ZUxalyW.js} +3 -1
- package/dist/cjs/{vehicle-accessories_7.cjs.entry.js → vehicle-accessories_8.cjs.entry.js} +418 -19
- package/dist/cjs/{vehicle-info-layout-sV6altzn.js → vehicle-info-layout-CRpL8UMY.js} +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +9 -5
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +7 -7
- package/dist/cjs/{get-custom-classes-for-portal-NNOxAU3P.js → white-loader-CveXuRsH.js} +15 -15
- package/dist/collection/collection-manifest.json +3 -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/flexible-container.js +2 -2
- package/dist/collection/components/components/loading-spinner.js +1 -1
- package/dist/collection/components/components/shift-accordion.js +1 -1
- package/dist/collection/components/components/shift-checkbox.js +1 -1
- package/dist/collection/components/components/shift-portal.css +1 -1
- package/dist/collection/components/components/shift-select-dropdown.css +1 -1
- package/dist/collection/components/components/shift-select-dropdown.js +2 -2
- package/dist/collection/components/components/shift-select.css +1 -1
- package/dist/collection/components/components/shift-select.js +3 -3
- package/dist/collection/components/components/shift-slider.js +1 -1
- package/dist/collection/components/components/shift-switch.js +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.js +2 -2
- package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -0
- package/dist/collection/components/form-elements/branch-slot-dropdown.js +405 -0
- package/dist/collection/components/form-elements/branch-slot-picker.css +1 -0
- package/dist/collection/components/form-elements/branch-slot-picker.js +921 -0
- package/dist/collection/components/form-elements/form-checkbox.js +1 -1
- package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
- package/dist/collection/components/form-elements/form-dialog.js +1 -1
- package/dist/collection/components/form-elements/form-file.js +22 -4
- package/dist/collection/components/form-elements/form-input.js +2 -2
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-picker-input.js +2 -2
- package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
- package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
- package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
- package/dist/collection/components/form-elements/form-stepper.js +1 -1
- package/dist/collection/components/form-elements/form-structure-error.js +1 -1
- 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 +23 -1
- package/dist/collection/components/forms/defaults/validation.js +2 -1
- package/dist/collection/components/forms/general-form.js +2 -2
- package/dist/collection/components/forms/general-inquiry.js +2 -2
- package/dist/collection/components/forms/service-booking.js +2 -2
- package/dist/collection/components/forms/ssc-lookup.js +2 -2
- package/dist/collection/components/forms/test-drive.js +2 -2
- package/dist/collection/components/forms/vehicle-quotation.js +2 -2
- 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.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
- package/dist/collection/components/vehicle-lookup/components/CoverageTimeline.js +317 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +5 -5
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +7 -7
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +6 -2
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +467 -0
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/features/form-hook/form-hook.js +4 -0
- package/dist/collection/features/form-hook/functions.js +2 -8
- package/dist/collection/features/form-hook/inputs/form-input.js +7 -5
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.js +1 -0
- package/dist/collection/locale-mapper.js +5 -1
- package/dist/collection/locales/vehicleLookup/warrantyTimeline/type.js +31 -0
- package/dist/collection/templates/vehicle-lookup/prototype-assets/extended-warranty/adp-logo.svg +11 -0
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +96 -1
- package/dist/components/branch-slot-dropdown.d.ts +11 -0
- package/dist/components/branch-slot-dropdown.js +5 -0
- package/dist/components/branch-slot-picker.d.ts +11 -0
- package/dist/components/branch-slot-picker.js +5 -0
- 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-file.js +1 -1
- package/dist/components/form-input-preview.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.js +1 -1
- package/dist/components/form-stepper-submit.js +1 -1
- package/dist/components/form-stepper.js +1 -1
- 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-form.js +1 -1
- package/dist/components/general-inquiry-form.js +1 -1
- package/dist/components/index.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-CKrwCtec.js → p--qz4ecXR.js} +1 -1
- package/dist/components/{p-BMxw31OW.js → p-3xgnJUhD.js} +1 -1
- package/dist/components/{p-DJ0awYVE.js → p-87NLGlyb.js} +1 -1
- package/dist/components/{p-dRP9cgZF.js → p-B2FtamaW.js} +1 -1
- package/dist/components/{p-Cl-rntc3.js → p-B47kSZHb.js} +1 -1
- package/dist/components/p-B7gfOpxv.js +5 -0
- package/dist/components/{p-CjByjVT0.js → p-B83lw3YO.js} +1 -1
- package/dist/components/p-B9ClwHPb.js +5 -0
- package/dist/components/p-B9_-Tb0H.js +5 -0
- package/dist/components/{p-CtyIp56a.js → p-BAtXT_Mt.js} +1 -1
- package/dist/components/p-BGX0qdUG.js +5 -0
- package/dist/components/{p-Hlqj6HsH.js → p-BPnD6Cqq.js} +1 -1
- package/dist/components/{p-BNs9PHd8.js → p-BQC1g-wS.js} +1 -1
- package/dist/components/p-B__72-PA.js +5 -0
- package/dist/components/{p-Wv20cFTm.js → p-BaKmifzr.js} +1 -1
- package/dist/components/{p-CRJSM0nN.js → p-BcDVkdxZ.js} +1 -1
- package/dist/components/{p-D-0CfzDk.js → p-ByA_B82T.js} +1 -1
- package/dist/components/p-C0JoH_yH.js +5 -0
- package/dist/components/{p-BjLQXN9e.js → p-C2RnTSH-.js} +1 -1
- package/dist/components/{p-B3Vlmu9F.js → p-C4ud82ie.js} +1 -1
- package/dist/components/p-CCuYl9VQ.js +5 -0
- package/dist/components/{p-BIeJEFM6.js → p-CDQ5F3Oe.js} +1 -1
- package/dist/components/{p-ubqjXh5U.js → p-CGJ8ndBw.js} +1 -1
- package/dist/components/p-CNcA_RyS.js +5 -0
- package/dist/components/{p-BcRom3sV.js → p-C_ZtLgwx.js} +1 -1
- package/dist/components/{p-BHYsBcpG.js → p-Cq13CFua.js} +1 -1
- package/dist/components/p-CzVOOo8C.js +5 -0
- package/dist/components/{p-B42vuL_p.js → p-D-6PSzhd.js} +1 -1
- package/dist/components/{p-DBErZTaY.js → p-D2H3RzIC.js} +1 -1
- package/dist/components/{p-CMgPnaDZ.js → p-DHaTQ9vT.js} +1 -1
- package/dist/components/{p-8EOK_QhL.js → p-DQGcS-zL.js} +1 -1
- package/dist/components/p-DQopO8HS.js +5 -0
- package/dist/components/p-DTk3bhGl.js +5 -0
- package/dist/components/p-Dal_X4-W.js +5 -0
- package/dist/components/{p-CoAe_PpX.js → p-DdB_zKQz.js} +1 -1
- package/dist/components/{p-BP6R1nYk.js → p-Dhi7g1w3.js} +1 -1
- package/dist/components/p-Dr_ggnvT.js +5 -0
- package/dist/components/{p-C55Gk63d.js → p-Dx0NcxCM.js} +1 -1
- package/dist/components/{p-50EIzP4j.js → p-HT-TmIJD.js} +1 -1
- package/dist/components/{p-BFAzCUQY.js → p-ZTI11kto.js} +1 -1
- package/dist/components/{p-DbAAihIH.js → p-a5fTeexp.js} +1 -1
- package/dist/components/{p-BDlZ35Dv.js → p-bOkg1-34.js} +1 -1
- package/dist/components/{p-DWGSY0dp.js → p-gzdpekMI.js} +1 -1
- package/dist/components/{p-DNZ31iYw.js → p-pIanEonc.js} +1 -1
- package/dist/components/{p-BDHTK4yJ.js → p-qGX3WTkQ.js} +1 -1
- package/dist/components/{p-CnZZ3ASF.js → p-qs0MTheD.js} +1 -1
- package/dist/components/{p-CD1XArUc.js → p-txgHrQYx.js} +1 -1
- package/dist/components/{p-BsgLxjfx.js → p-v_TjAHaO.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-portal.js +1 -1
- package/dist/components/shift-select-dropdown.js +1 -1
- package/dist/components/shift-select.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/vehicle-warranty-timeline.d.ts +11 -0
- package/dist/components/vehicle-warranty-timeline.js +5 -0
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/{add-icon-DxQVyX6U.js → add-icon-DHh6DJXR.js} +1 -1
- package/dist/esm/{app-globals-ci3rJxmu.js → app-globals-CusTGK9D.js} +1 -1
- package/dist/esm/{arrow-icon-DRTeN2D5.js → arrow-icon-DziuNOTp.js} +1 -1
- package/dist/esm/{arrow-up-icon-FAYFxG6c.js → arrow-up-icon-Dw_d-rG9.js} +1 -1
- package/dist/esm/{form-dialog_13.entry.js → branch-slot-dropdown_15.entry.js} +575 -40
- package/dist/esm/{calendar-days-icon-BOy0a_W-.js → calendar-days-icon-CnASOv7M.js} +1 -1
- package/dist/esm/{check-icon-BYK1ESZG.js → check-icon-BZQF4tzH.js} +1 -1
- package/dist/esm/dead-stock-lookup_3.entry.js +11 -11
- package/dist/esm/{decode-time-offset-ChO_PV6l.js → decode-time-offset-Cib1aJfV.js} +1 -1
- package/dist/esm/flexible-container.entry.js +4 -4
- package/dist/esm/form-checkbox.entry.js +6 -6
- package/dist/esm/form-date-picker.entry.js +8 -8
- package/dist/esm/{form-error-message-YvMHko71.js → form-error-message-DWl6p6Dz.js} +1 -1
- package/dist/esm/{form-input-DAgayhNz.js → form-input-B8SwfkAd.js} +8 -6
- package/dist/esm/{form-input-label-cuvgzRcH.js → form-input-label-6blOw1BN.js} +1 -1
- package/dist/esm/form-input_7.entry.js +25 -25
- package/dist/esm/form-switch.entry.js +6 -6
- package/dist/esm/form-time-picker.entry.js +9 -9
- package/dist/esm/{functions-DHzedl_R.js → functions-BObezuTv.js} +5 -11
- package/dist/esm/general-form.entry.js +11 -11
- package/dist/esm/general-inquiry-form.entry.js +11 -11
- package/dist/esm/{get-language-from-url-U4hZ4dwn.js → get-language-from-url-fV-K15uy.js} +5 -1
- package/dist/esm/{get-local-language-TRD6vPH7.js → get-local-language-DcxL5hdi.js} +7 -3
- package/dist/esm/{get-mock-files-K2mWecRb.js → get-mock-files-IEjS5G9N.js} +2 -2
- package/dist/esm/{index-Cg4V9l26.js → index-CteZTPhq.js} +16 -1
- package/dist/esm/information-table.entry.js +2 -2
- package/dist/esm/{loader-icon-B2ls1yXl.js → loader-icon-BvAmA41s.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/loading-spinner.entry.js +2 -2
- package/dist/esm/manufacturer-part-lookup.entry.js +4 -4
- package/dist/esm/{mappers-CeTQZn37.js → mappers-9IKbvPiR.js} +27 -5
- package/dist/esm/{material-card-BMtefyp-.js → material-card-jbQd-0as.js} +1 -1
- package/dist/esm/part-lookup.entry.js +3 -3
- package/dist/esm/{qr-code-scan-CktgNBSD.js → qr-code-scan-B1nViqZl.js} +1 -1
- package/dist/esm/service-booking-form.entry.js +11 -11
- package/dist/esm/shift-accordion.entry.js +2 -2
- package/dist/esm/shift-checkbox.entry.js +4 -4
- package/dist/esm/shift-components.js +4 -4
- package/dist/esm/shift-slider.entry.js +2 -2
- package/dist/esm/shift-switch.entry.js +3 -3
- package/dist/esm/shift-tab-content.entry.js +2 -2
- package/dist/esm/shift-tabs_2.entry.js +13 -13
- package/dist/esm/ssc-lookup-form.entry.js +11 -11
- package/dist/esm/test-drive-form.entry.js +11 -11
- package/dist/esm/{triangle-alert-D4H9aWiT.js → triangle-alert-Brtqhx2d.js} +1 -1
- package/dist/esm/{validation-oieVWBn1.js → validation-lB1iHxfZ.js} +3 -2
- package/dist/esm/{vehicle-accessories_7.entry.js → vehicle-accessories_8.entry.js} +418 -20
- package/dist/esm/{vehicle-info-layout-DQ12Civq.js → vehicle-info-layout-Dmx94GLp.js} +1 -1
- package/dist/esm/vehicle-lookup.entry.js +9 -5
- package/dist/esm/vehicle-quotation-form.entry.js +7 -7
- package/dist/esm/{get-custom-classes-for-portal-C4LvwyrX.js → white-loader-B3tJFuNO.js} +15 -15
- package/dist/integration-manifest.json +66 -2
- package/dist/locales/vehicleLookup/warrantyTimeline/ar.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/en.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/ku.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/ru.json +25 -0
- package/dist/locales/vehicleLookup/warrantyTimeline/type.ts +29 -0
- package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +19 -1
- package/dist/mocks/generated/edge-cases/vehicle-lookup.json +57 -0
- package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +27 -2
- package/dist/shift-components/{p-960fedbb.entry.js → p-088c8e4c.entry.js} +1 -1
- package/dist/shift-components/{p-3fcb1657.entry.js → p-12f36d97.entry.js} +1 -1
- package/dist/shift-components/p-17862b0b.entry.js +5 -0
- package/dist/shift-components/p-187cbdf5.entry.js +5 -0
- package/dist/shift-components/{p-fa39d151.entry.js → p-1c7c9c13.entry.js} +1 -1
- package/dist/shift-components/{p-7a41a739.entry.js → p-28e29ce7.entry.js} +1 -1
- package/dist/shift-components/p-383342be.entry.js +5 -0
- package/dist/shift-components/{p-fe7ece41.entry.js → p-3dcba301.entry.js} +1 -1
- package/dist/shift-components/{p-6b82a9b3.entry.js → p-5ba85e5c.entry.js} +1 -1
- package/dist/shift-components/{p-031f2ae6.entry.js → p-65beafcc.entry.js} +1 -1
- package/dist/shift-components/{p-22648595.entry.js → p-7cc6806c.entry.js} +1 -1
- package/dist/shift-components/{p-332ebda4.entry.js → p-7f44f655.entry.js} +1 -1
- package/dist/shift-components/{p-61ecc144.entry.js → p-868d554f.entry.js} +1 -1
- package/dist/shift-components/{p-a4086c90.entry.js → p-880c103a.entry.js} +1 -1
- package/dist/shift-components/{p-0dd7911f.entry.js → p-902a40c4.entry.js} +1 -1
- package/dist/shift-components/{p-10511716.entry.js → p-99886c58.entry.js} +1 -1
- package/dist/shift-components/{p-B8RCucpl.js → p-B9kqtQjS.js} +1 -1
- package/dist/shift-components/p-BTNA9XsD.js +5 -0
- package/dist/shift-components/{p-CiA8HlYO.js → p-C4NpWwNE.js} +1 -1
- package/dist/shift-components/p-C582V9TT.js +5 -0
- package/dist/shift-components/{p-BaC5C1YJ.js → p-C8PvXL-3.js} +1 -1
- package/dist/shift-components/{p-BLdwm9KB.js → p-CMMsmKvs.js} +1 -1
- package/dist/shift-components/p-C_QDvFTV.js +5 -0
- package/dist/shift-components/{p-BpCf2ue6.js → p-Ccwtsrgg.js} +1 -1
- package/dist/shift-components/p-CteZTPhq.js +6 -0
- package/dist/shift-components/{p-BG5y01yj.js → p-D1ioFMhR.js} +1 -1
- package/dist/shift-components/{p-FFH7sR1n.js → p-D7cqTTll.js} +1 -1
- package/dist/shift-components/p-D9Xf90VX.js +5 -0
- package/dist/shift-components/p-DWoutohJ.js +5 -0
- package/dist/shift-components/{p-BtLpOQVM.js → p-DtD7FZCG.js} +1 -1
- package/dist/shift-components/{p-CC1CaPP4.js → p-Dyo77aS3.js} +1 -1
- package/dist/shift-components/p-DzV_ls5o.js +5 -0
- package/dist/shift-components/p-HI9vdFQP.js +5 -0
- package/dist/shift-components/{p-08Pl1Pmo.js → p-MzYTUgsB.js} +1 -1
- package/dist/shift-components/{p-DwFWMVcD.js → p-OlAbjfKx.js} +1 -1
- package/dist/shift-components/{p-981d1f44.entry.js → p-b675fb6b.entry.js} +1 -1
- package/dist/shift-components/p-b8084ca2.entry.js +5 -0
- package/dist/shift-components/p-bad65a42.entry.js +5 -0
- package/dist/shift-components/{p-2f904561.entry.js → p-bb13232d.entry.js} +1 -1
- package/dist/shift-components/{p-CtUQMviL.js → p-bfwabdVa.js} +1 -1
- package/dist/shift-components/p-c4cf0a18.entry.js +5 -0
- package/dist/shift-components/{p-46e5146f.entry.js → p-e2868220.entry.js} +1 -1
- package/dist/shift-components/p-e7a99998.entry.js +5 -0
- package/dist/shift-components/{p-e979caa9.entry.js → p-ec3e0cce.entry.js} +1 -1
- package/dist/shift-components/{p-23df4ed2.entry.js → p-ee623097.entry.js} +1 -1
- package/dist/shift-components/{p-d33c83ac.entry.js → p-f9b8d43c.entry.js} +1 -1
- package/dist/shift-components/p-hABirfUj.js +5 -0
- package/dist/shift-components/{p-CRd5RAng.js → p-oFzLYYzz.js} +1 -1
- package/dist/shift-components/{p-Dvl1mJ6N.js → p-oQAUbfw7.js} +1 -1
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/stencil-docs.json +8462 -6793
- package/dist/types/components/form-elements/branch-slot-dropdown.d.ts +48 -0
- package/dist/types/components/form-elements/branch-slot-picker.d.ts +128 -0
- package/dist/types/components/form-elements/form-file.d.ts +1 -0
- package/dist/types/components/forms/defaults/mappers.d.ts +16 -0
- package/dist/types/components/forms/defaults/validation.d.ts +2 -0
- package/dist/types/components/vehicle-lookup/components/CoverageTimeline.d.ts +13 -0
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +3 -0
- package/dist/types/components/vehicle-lookup/vehicle-warranty-timeline.d.ts +46 -0
- package/dist/types/components.d.ts +452 -4
- package/dist/types/features/multi-lingual/types.d.ts +4 -4
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +4 -0
- package/dist/types/locale-mapper.d.ts +2 -1
- package/dist/types/locales/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +6 -6
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +50 -0
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +10 -10
- package/package.json +1 -1
- package/dist/components/p-B8g3fLoh.js +0 -5
- package/dist/components/p-BshR1DsJ.js +0 -5
- package/dist/components/p-C24AOawm.js +0 -5
- package/dist/components/p-CK6WFXQF.js +0 -5
- package/dist/components/p-CLkGfAsm.js +0 -5
- package/dist/components/p-ClDpIRF9.js +0 -5
- package/dist/components/p-CvcaE6Ss.js +0 -5
- package/dist/components/p-DlG98nFs.js +0 -5
- package/dist/components/p-Dv_BQG7D.js +0 -5
- package/dist/components/p-G9UmKW9m.js +0 -5
- package/dist/shift-components/p-0578b913.entry.js +0 -5
- package/dist/shift-components/p-1500556f.entry.js +0 -5
- package/dist/shift-components/p-214259ae.entry.js +0 -5
- package/dist/shift-components/p-9c950549.entry.js +0 -5
- package/dist/shift-components/p-BBmr0kTe.js +0 -5
- package/dist/shift-components/p-BVDXHvth.js +0 -5
- package/dist/shift-components/p-BY1wHcOT.js +0 -5
- package/dist/shift-components/p-BuurMgGN.js +0 -5
- package/dist/shift-components/p-Cg4V9l26.js +0 -6
- package/dist/shift-components/p-D2XgNV12.js +0 -5
- package/dist/shift-components/p-DlBduQTw.js +0 -5
- package/dist/shift-components/p-a55ceb19.entry.js +0 -5
- package/dist/shift-components/p-b611f72e.entry.js +0 -5
- package/dist/shift-components/p-bc966aa0.entry.js +0 -5
- package/dist/shift-components/p-rsylYLbj.js +0 -5
- package/dist/shift-components/p-yhCrSkom.js +0 -5
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { BranchSlotDay, BranchSlotDropdownCopy } from "./components/form-elements/branch-slot-dropdown";
|
|
9
|
+
import { FormHook } from "./features/form-hook/form-hook";
|
|
8
10
|
import { ErrorKeys, LanguageKeys, SharedLocales } from "./features/multi-lingual/index";
|
|
11
|
+
import { FormElementMapper, FormElementStructure, FormHook as FormHook1, FormInputLocalization, FormSelectFetcher, FormSelectItem } from "./features/form-hook/index";
|
|
12
|
+
import { BranchSlotSelection } from "./components/form-elements/branch-slot-picker";
|
|
9
13
|
import { Endpoint } from "./global/lib/fetch-from";
|
|
10
14
|
import { BlazorInvokableFunction, DotNetObjectReference } from "./features/blazor-ref/index";
|
|
11
15
|
import { PartLookupDTO } from "./global/types/generated/part/part-lookup-dto";
|
|
12
16
|
import { PartLookupMock } from "./features/part-lookup-components/index";
|
|
13
|
-
import { FormElementMapper, FormElementStructure, FormHook, FormInputLocalization, FormSelectFetcher, FormSelectItem } from "./features/form-hook/index";
|
|
14
|
-
import { FormHook as FormHook1 } from "./features/form-hook/form-hook";
|
|
15
17
|
import { DateTypes } from "./global/lib/decode-time-offset";
|
|
16
18
|
import { InformationTableColumn } from "./components/components/information-table";
|
|
17
19
|
import { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
@@ -26,13 +28,15 @@ import { ItemClaimDTO } from "./global/types/generated/vehicle-lookup/item-claim
|
|
|
26
28
|
import { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/vehicle-lookup";
|
|
27
29
|
import { VehicleWarrantyDetails } from "./components/vehicle-lookup/vehicle-warranty-details";
|
|
28
30
|
import { vehicleQuotationElementNames } from "./components/forms/vehicle-quotation/element-mapper";
|
|
31
|
+
export { BranchSlotDay, BranchSlotDropdownCopy } from "./components/form-elements/branch-slot-dropdown";
|
|
32
|
+
export { FormHook } from "./features/form-hook/form-hook";
|
|
29
33
|
export { ErrorKeys, LanguageKeys, SharedLocales } from "./features/multi-lingual/index";
|
|
34
|
+
export { FormElementMapper, FormElementStructure, FormHook as FormHook1, FormInputLocalization, FormSelectFetcher, FormSelectItem } from "./features/form-hook/index";
|
|
35
|
+
export { BranchSlotSelection } from "./components/form-elements/branch-slot-picker";
|
|
30
36
|
export { Endpoint } from "./global/lib/fetch-from";
|
|
31
37
|
export { BlazorInvokableFunction, DotNetObjectReference } from "./features/blazor-ref/index";
|
|
32
38
|
export { PartLookupDTO } from "./global/types/generated/part/part-lookup-dto";
|
|
33
39
|
export { PartLookupMock } from "./features/part-lookup-components/index";
|
|
34
|
-
export { FormElementMapper, FormElementStructure, FormHook, FormInputLocalization, FormSelectFetcher, FormSelectItem } from "./features/form-hook/index";
|
|
35
|
-
export { FormHook as FormHook1 } from "./features/form-hook/form-hook";
|
|
36
40
|
export { DateTypes } from "./global/lib/decode-time-offset";
|
|
37
41
|
export { InformationTableColumn } from "./components/components/information-table";
|
|
38
42
|
export { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
@@ -48,6 +52,128 @@ export { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/veh
|
|
|
48
52
|
export { VehicleWarrantyDetails } from "./components/vehicle-lookup/vehicle-warranty-details";
|
|
49
53
|
export { vehicleQuotationElementNames } from "./components/forms/vehicle-quotation/element-mapper";
|
|
50
54
|
export namespace Components {
|
|
55
|
+
/**
|
|
56
|
+
* Panel half of `branch-slot-picker`.
|
|
57
|
+
* Mounted on `document.body` by `shift-portal` and positioned through the
|
|
58
|
+
* `--branch-slot-*` variables the picker sets — the same split `shift-select` /
|
|
59
|
+
* `shift-select-dropdown` use, so the panel escapes any `overflow: hidden` or
|
|
60
|
+
* stacking context the form puts around the field.
|
|
61
|
+
*/
|
|
62
|
+
interface BranchSlotDropdown {
|
|
63
|
+
/**
|
|
64
|
+
* @default ''
|
|
65
|
+
*/
|
|
66
|
+
"activeDate": string;
|
|
67
|
+
"copy": BranchSlotDropdownCopy;
|
|
68
|
+
/**
|
|
69
|
+
* @default []
|
|
70
|
+
*/
|
|
71
|
+
"days": BranchSlotDay[];
|
|
72
|
+
/**
|
|
73
|
+
* @default 'ltr'
|
|
74
|
+
*/
|
|
75
|
+
"direction": string;
|
|
76
|
+
"displayTime": (raw: string) => string;
|
|
77
|
+
"formatDay": (date: string, options: Intl.DateTimeFormatOptions) => string;
|
|
78
|
+
"handleDay": (date: string) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Tapping the sheet scrim. Unused above 600px, where the scrim is hidden.
|
|
81
|
+
*/
|
|
82
|
+
"handleDismiss"?: () => void;
|
|
83
|
+
"handleRetry": () => void;
|
|
84
|
+
"handleTime": (raw: string) => void;
|
|
85
|
+
/**
|
|
86
|
+
* @default ''
|
|
87
|
+
*/
|
|
88
|
+
"idleText"?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
"isOpen": boolean;
|
|
93
|
+
/**
|
|
94
|
+
* @default ''
|
|
95
|
+
*/
|
|
96
|
+
"name"?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @default ''
|
|
99
|
+
*/
|
|
100
|
+
"selectedRaw": string;
|
|
101
|
+
"setElementRef"?: (el: HTMLElement | null) => void;
|
|
102
|
+
/**
|
|
103
|
+
* @default 'idle'
|
|
104
|
+
*/
|
|
105
|
+
"status": 'idle' | 'loading' | 'ready' | 'empty' | 'error';
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Branch-aware booking slot field.
|
|
109
|
+
* Presents as a normal dropdown — the same `form-input-select` trigger as every
|
|
110
|
+
* other select in the form — and portals its panel onto `document.body` through
|
|
111
|
+
* `shift-portal`, exactly as `shift-select` does.
|
|
112
|
+
* Standalone by design: `form` is optional. Drop `<branch-slot-picker>` on any
|
|
113
|
+
* page, in a PWA or in a native WebView, give it the four ids, and listen to
|
|
114
|
+
* `slotChange`.
|
|
115
|
+
*/
|
|
116
|
+
interface BranchSlotPicker {
|
|
117
|
+
"branchId": string;
|
|
118
|
+
"brandId": string;
|
|
119
|
+
/**
|
|
120
|
+
* Full URL of the calendar endpoint, e.g. `https://…/api/public/calendar`.
|
|
121
|
+
*/
|
|
122
|
+
"calendarApi": string;
|
|
123
|
+
"closeDropdown": () => Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Integration ids. The field stays idle until all four are present.
|
|
126
|
+
*/
|
|
127
|
+
"companyId": string;
|
|
128
|
+
/**
|
|
129
|
+
* How far ahead to ask. The endpoint caps its own response at 15 days.
|
|
130
|
+
* @default 30
|
|
131
|
+
*/
|
|
132
|
+
"daysAhead": number;
|
|
133
|
+
/**
|
|
134
|
+
* Preselects a slot, in the same `YYYY-MM-DDTHH:mm` form the field emits.
|
|
135
|
+
*/
|
|
136
|
+
"defaultValue"?: string;
|
|
137
|
+
"departmentId": string;
|
|
138
|
+
/**
|
|
139
|
+
* Optional — omit for standalone use and listen to `slotChange` instead.
|
|
140
|
+
*/
|
|
141
|
+
"form"?: FormHook<any>;
|
|
142
|
+
/**
|
|
143
|
+
* Gap between the trigger and the panel, matching shift-select's default.
|
|
144
|
+
* @default 8
|
|
145
|
+
*/
|
|
146
|
+
"gap": number;
|
|
147
|
+
/**
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
150
|
+
"isDisabled": boolean;
|
|
151
|
+
/**
|
|
152
|
+
* @default false
|
|
153
|
+
*/
|
|
154
|
+
"isRequired": boolean;
|
|
155
|
+
"label"?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @default 'en'
|
|
158
|
+
*/
|
|
159
|
+
"language": LanguageKeys;
|
|
160
|
+
/**
|
|
161
|
+
* @default {}
|
|
162
|
+
*/
|
|
163
|
+
"localization"?: FormInputLocalization;
|
|
164
|
+
/**
|
|
165
|
+
* Field name. Only meaningful when `form` is supplied.
|
|
166
|
+
* @default 'bookingSlot'
|
|
167
|
+
*/
|
|
168
|
+
"name": string;
|
|
169
|
+
"openDropdown": () => Promise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Lets a host force a refetch, e.g. after a token refresh.
|
|
172
|
+
*/
|
|
173
|
+
"refresh": () => Promise<void>;
|
|
174
|
+
"wrapperClass": string;
|
|
175
|
+
"wrapperId": string;
|
|
176
|
+
}
|
|
51
177
|
interface DeadStockLookup {
|
|
52
178
|
/**
|
|
53
179
|
* @default false
|
|
@@ -1393,6 +1519,46 @@ export namespace Components {
|
|
|
1393
1519
|
*/
|
|
1394
1520
|
"userId"?: string;
|
|
1395
1521
|
}
|
|
1522
|
+
/**
|
|
1523
|
+
* Warranty coverage as a single dated rail: the standard warranty followed by every
|
|
1524
|
+
* extended coverage in sequence.
|
|
1525
|
+
* Deliberately separate from `vehicle-warranty-details` rather than a mode of it. This
|
|
1526
|
+
* panel shows warranty and nothing else — no campaign table, no reCAPTCHA, no unauthorized
|
|
1527
|
+
* campaign lookup — so hosts adopt it by pointing their warranty tab at this tag and can
|
|
1528
|
+
* keep the original panel untouched for as long as they like.
|
|
1529
|
+
*/
|
|
1530
|
+
interface VehicleWarrantyTimeline {
|
|
1531
|
+
"baseUrl": string;
|
|
1532
|
+
"clearData": () => Promise<void>;
|
|
1533
|
+
/**
|
|
1534
|
+
* @default false
|
|
1535
|
+
*/
|
|
1536
|
+
"coreOnly": boolean;
|
|
1537
|
+
/**
|
|
1538
|
+
* @default false
|
|
1539
|
+
*/
|
|
1540
|
+
"disableVinValidation": boolean;
|
|
1541
|
+
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
1542
|
+
"fetchVin": (newData: VehicleLookupDTO | string, headers?: any) => Promise<void>;
|
|
1543
|
+
/**
|
|
1544
|
+
* @default {}
|
|
1545
|
+
*/
|
|
1546
|
+
"headers": object;
|
|
1547
|
+
"isDev": boolean;
|
|
1548
|
+
/**
|
|
1549
|
+
* @default 'en'
|
|
1550
|
+
*/
|
|
1551
|
+
"language": LanguageKeys;
|
|
1552
|
+
"loadedResponse"?: BlazorInvokableFunction<(response: VehicleLookupDTO) => void>;
|
|
1553
|
+
"loadingStateChange"?: BlazorInvokableFunction<(isLoading: boolean) => void>;
|
|
1554
|
+
/**
|
|
1555
|
+
* @default ''
|
|
1556
|
+
*/
|
|
1557
|
+
"queryString": string;
|
|
1558
|
+
"setBlazorRef": (newBlazorRef: DotNetObjectReference) => Promise<void>;
|
|
1559
|
+
"setErrorMessage": (message: ErrorKeys) => Promise<void>;
|
|
1560
|
+
"setMockData": (newMockData: VehicleLookupMock) => Promise<void>;
|
|
1561
|
+
}
|
|
1396
1562
|
interface VinExtractor {
|
|
1397
1563
|
/**
|
|
1398
1564
|
* @default false
|
|
@@ -1445,7 +1611,50 @@ export namespace Components {
|
|
|
1445
1611
|
"verbose": boolean;
|
|
1446
1612
|
}
|
|
1447
1613
|
}
|
|
1614
|
+
export interface BranchSlotPickerCustomEvent<T> extends CustomEvent<T> {
|
|
1615
|
+
detail: T;
|
|
1616
|
+
target: HTMLBranchSlotPickerElement;
|
|
1617
|
+
}
|
|
1448
1618
|
declare global {
|
|
1619
|
+
/**
|
|
1620
|
+
* Panel half of `branch-slot-picker`.
|
|
1621
|
+
* Mounted on `document.body` by `shift-portal` and positioned through the
|
|
1622
|
+
* `--branch-slot-*` variables the picker sets — the same split `shift-select` /
|
|
1623
|
+
* `shift-select-dropdown` use, so the panel escapes any `overflow: hidden` or
|
|
1624
|
+
* stacking context the form puts around the field.
|
|
1625
|
+
*/
|
|
1626
|
+
interface HTMLBranchSlotDropdownElement extends Components.BranchSlotDropdown, HTMLStencilElement {
|
|
1627
|
+
}
|
|
1628
|
+
var HTMLBranchSlotDropdownElement: {
|
|
1629
|
+
prototype: HTMLBranchSlotDropdownElement;
|
|
1630
|
+
new (): HTMLBranchSlotDropdownElement;
|
|
1631
|
+
};
|
|
1632
|
+
interface HTMLBranchSlotPickerElementEventMap {
|
|
1633
|
+
"slotChange": BranchSlotSelection;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Branch-aware booking slot field.
|
|
1637
|
+
* Presents as a normal dropdown — the same `form-input-select` trigger as every
|
|
1638
|
+
* other select in the form — and portals its panel onto `document.body` through
|
|
1639
|
+
* `shift-portal`, exactly as `shift-select` does.
|
|
1640
|
+
* Standalone by design: `form` is optional. Drop `<branch-slot-picker>` on any
|
|
1641
|
+
* page, in a PWA or in a native WebView, give it the four ids, and listen to
|
|
1642
|
+
* `slotChange`.
|
|
1643
|
+
*/
|
|
1644
|
+
interface HTMLBranchSlotPickerElement extends Components.BranchSlotPicker, HTMLStencilElement {
|
|
1645
|
+
addEventListener<K extends keyof HTMLBranchSlotPickerElementEventMap>(type: K, listener: (this: HTMLBranchSlotPickerElement, ev: BranchSlotPickerCustomEvent<HTMLBranchSlotPickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1646
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1647
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1648
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1649
|
+
removeEventListener<K extends keyof HTMLBranchSlotPickerElementEventMap>(type: K, listener: (this: HTMLBranchSlotPickerElement, ev: BranchSlotPickerCustomEvent<HTMLBranchSlotPickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1650
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1651
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1652
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1653
|
+
}
|
|
1654
|
+
var HTMLBranchSlotPickerElement: {
|
|
1655
|
+
prototype: HTMLBranchSlotPickerElement;
|
|
1656
|
+
new (): HTMLBranchSlotPickerElement;
|
|
1657
|
+
};
|
|
1449
1658
|
interface HTMLDeadStockLookupElement extends Components.DeadStockLookup, HTMLStencilElement {
|
|
1450
1659
|
}
|
|
1451
1660
|
var HTMLDeadStockLookupElement: {
|
|
@@ -1758,6 +1967,20 @@ declare global {
|
|
|
1758
1967
|
prototype: HTMLVehicleWarrantyDetailsElement;
|
|
1759
1968
|
new (): HTMLVehicleWarrantyDetailsElement;
|
|
1760
1969
|
};
|
|
1970
|
+
/**
|
|
1971
|
+
* Warranty coverage as a single dated rail: the standard warranty followed by every
|
|
1972
|
+
* extended coverage in sequence.
|
|
1973
|
+
* Deliberately separate from `vehicle-warranty-details` rather than a mode of it. This
|
|
1974
|
+
* panel shows warranty and nothing else — no campaign table, no reCAPTCHA, no unauthorized
|
|
1975
|
+
* campaign lookup — so hosts adopt it by pointing their warranty tab at this tag and can
|
|
1976
|
+
* keep the original panel untouched for as long as they like.
|
|
1977
|
+
*/
|
|
1978
|
+
interface HTMLVehicleWarrantyTimelineElement extends Components.VehicleWarrantyTimeline, HTMLStencilElement {
|
|
1979
|
+
}
|
|
1980
|
+
var HTMLVehicleWarrantyTimelineElement: {
|
|
1981
|
+
prototype: HTMLVehicleWarrantyTimelineElement;
|
|
1982
|
+
new (): HTMLVehicleWarrantyTimelineElement;
|
|
1983
|
+
};
|
|
1761
1984
|
interface HTMLVinExtractorElement extends Components.VinExtractor, HTMLStencilElement {
|
|
1762
1985
|
}
|
|
1763
1986
|
var HTMLVinExtractorElement: {
|
|
@@ -1765,6 +1988,8 @@ declare global {
|
|
|
1765
1988
|
new (): HTMLVinExtractorElement;
|
|
1766
1989
|
};
|
|
1767
1990
|
interface HTMLElementTagNameMap {
|
|
1991
|
+
"branch-slot-dropdown": HTMLBranchSlotDropdownElement;
|
|
1992
|
+
"branch-slot-picker": HTMLBranchSlotPickerElement;
|
|
1768
1993
|
"dead-stock-lookup": HTMLDeadStockLookupElement;
|
|
1769
1994
|
"distributor-lookup": HTMLDistributorLookupElement;
|
|
1770
1995
|
"flexible-container": HTMLFlexibleContainerElement;
|
|
@@ -1817,10 +2042,131 @@ declare global {
|
|
|
1817
2042
|
"vehicle-service-history": HTMLVehicleServiceHistoryElement;
|
|
1818
2043
|
"vehicle-specification": HTMLVehicleSpecificationElement;
|
|
1819
2044
|
"vehicle-warranty-details": HTMLVehicleWarrantyDetailsElement;
|
|
2045
|
+
"vehicle-warranty-timeline": HTMLVehicleWarrantyTimelineElement;
|
|
1820
2046
|
"vin-extractor": HTMLVinExtractorElement;
|
|
1821
2047
|
}
|
|
1822
2048
|
}
|
|
1823
2049
|
declare namespace LocalJSX {
|
|
2050
|
+
/**
|
|
2051
|
+
* Panel half of `branch-slot-picker`.
|
|
2052
|
+
* Mounted on `document.body` by `shift-portal` and positioned through the
|
|
2053
|
+
* `--branch-slot-*` variables the picker sets — the same split `shift-select` /
|
|
2054
|
+
* `shift-select-dropdown` use, so the panel escapes any `overflow: hidden` or
|
|
2055
|
+
* stacking context the form puts around the field.
|
|
2056
|
+
*/
|
|
2057
|
+
interface BranchSlotDropdown {
|
|
2058
|
+
/**
|
|
2059
|
+
* @default ''
|
|
2060
|
+
*/
|
|
2061
|
+
"activeDate"?: string;
|
|
2062
|
+
"copy": BranchSlotDropdownCopy;
|
|
2063
|
+
/**
|
|
2064
|
+
* @default []
|
|
2065
|
+
*/
|
|
2066
|
+
"days"?: BranchSlotDay[];
|
|
2067
|
+
/**
|
|
2068
|
+
* @default 'ltr'
|
|
2069
|
+
*/
|
|
2070
|
+
"direction"?: string;
|
|
2071
|
+
"displayTime": (raw: string) => string;
|
|
2072
|
+
"formatDay": (date: string, options: Intl.DateTimeFormatOptions) => string;
|
|
2073
|
+
"handleDay": (date: string) => void;
|
|
2074
|
+
/**
|
|
2075
|
+
* Tapping the sheet scrim. Unused above 600px, where the scrim is hidden.
|
|
2076
|
+
*/
|
|
2077
|
+
"handleDismiss"?: () => void;
|
|
2078
|
+
"handleRetry": () => void;
|
|
2079
|
+
"handleTime": (raw: string) => void;
|
|
2080
|
+
/**
|
|
2081
|
+
* @default ''
|
|
2082
|
+
*/
|
|
2083
|
+
"idleText"?: string;
|
|
2084
|
+
/**
|
|
2085
|
+
* @default false
|
|
2086
|
+
*/
|
|
2087
|
+
"isOpen"?: boolean;
|
|
2088
|
+
/**
|
|
2089
|
+
* @default ''
|
|
2090
|
+
*/
|
|
2091
|
+
"name"?: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* @default ''
|
|
2094
|
+
*/
|
|
2095
|
+
"selectedRaw"?: string;
|
|
2096
|
+
"setElementRef"?: (el: HTMLElement | null) => void;
|
|
2097
|
+
/**
|
|
2098
|
+
* @default 'idle'
|
|
2099
|
+
*/
|
|
2100
|
+
"status"?: 'idle' | 'loading' | 'ready' | 'empty' | 'error';
|
|
2101
|
+
}
|
|
2102
|
+
/**
|
|
2103
|
+
* Branch-aware booking slot field.
|
|
2104
|
+
* Presents as a normal dropdown — the same `form-input-select` trigger as every
|
|
2105
|
+
* other select in the form — and portals its panel onto `document.body` through
|
|
2106
|
+
* `shift-portal`, exactly as `shift-select` does.
|
|
2107
|
+
* Standalone by design: `form` is optional. Drop `<branch-slot-picker>` on any
|
|
2108
|
+
* page, in a PWA or in a native WebView, give it the four ids, and listen to
|
|
2109
|
+
* `slotChange`.
|
|
2110
|
+
*/
|
|
2111
|
+
interface BranchSlotPicker {
|
|
2112
|
+
"branchId"?: string;
|
|
2113
|
+
"brandId"?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* Full URL of the calendar endpoint, e.g. `https://…/api/public/calendar`.
|
|
2116
|
+
*/
|
|
2117
|
+
"calendarApi"?: string;
|
|
2118
|
+
/**
|
|
2119
|
+
* Integration ids. The field stays idle until all four are present.
|
|
2120
|
+
*/
|
|
2121
|
+
"companyId"?: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* How far ahead to ask. The endpoint caps its own response at 15 days.
|
|
2124
|
+
* @default 30
|
|
2125
|
+
*/
|
|
2126
|
+
"daysAhead"?: number;
|
|
2127
|
+
/**
|
|
2128
|
+
* Preselects a slot, in the same `YYYY-MM-DDTHH:mm` form the field emits.
|
|
2129
|
+
*/
|
|
2130
|
+
"defaultValue"?: string;
|
|
2131
|
+
"departmentId"?: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* Optional — omit for standalone use and listen to `slotChange` instead.
|
|
2134
|
+
*/
|
|
2135
|
+
"form"?: FormHook<any>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Gap between the trigger and the panel, matching shift-select's default.
|
|
2138
|
+
* @default 8
|
|
2139
|
+
*/
|
|
2140
|
+
"gap"?: number;
|
|
2141
|
+
/**
|
|
2142
|
+
* @default false
|
|
2143
|
+
*/
|
|
2144
|
+
"isDisabled"?: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* @default false
|
|
2147
|
+
*/
|
|
2148
|
+
"isRequired"?: boolean;
|
|
2149
|
+
"label"?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* @default 'en'
|
|
2152
|
+
*/
|
|
2153
|
+
"language"?: LanguageKeys;
|
|
2154
|
+
/**
|
|
2155
|
+
* @default {}
|
|
2156
|
+
*/
|
|
2157
|
+
"localization"?: FormInputLocalization;
|
|
2158
|
+
/**
|
|
2159
|
+
* Field name. Only meaningful when `form` is supplied.
|
|
2160
|
+
* @default 'bookingSlot'
|
|
2161
|
+
*/
|
|
2162
|
+
"name"?: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Fires on every confirmed day+time selection. The standalone contract.
|
|
2165
|
+
*/
|
|
2166
|
+
"onSlotChange"?: (event: BranchSlotPickerCustomEvent<BranchSlotSelection>) => void;
|
|
2167
|
+
"wrapperClass"?: string;
|
|
2168
|
+
"wrapperId"?: string;
|
|
2169
|
+
}
|
|
1824
2170
|
interface DeadStockLookup {
|
|
1825
2171
|
/**
|
|
1826
2172
|
* @default false
|
|
@@ -3085,6 +3431,41 @@ declare namespace LocalJSX {
|
|
|
3085
3431
|
*/
|
|
3086
3432
|
"userId"?: string;
|
|
3087
3433
|
}
|
|
3434
|
+
/**
|
|
3435
|
+
* Warranty coverage as a single dated rail: the standard warranty followed by every
|
|
3436
|
+
* extended coverage in sequence.
|
|
3437
|
+
* Deliberately separate from `vehicle-warranty-details` rather than a mode of it. This
|
|
3438
|
+
* panel shows warranty and nothing else — no campaign table, no reCAPTCHA, no unauthorized
|
|
3439
|
+
* campaign lookup — so hosts adopt it by pointing their warranty tab at this tag and can
|
|
3440
|
+
* keep the original panel untouched for as long as they like.
|
|
3441
|
+
*/
|
|
3442
|
+
interface VehicleWarrantyTimeline {
|
|
3443
|
+
"baseUrl"?: string;
|
|
3444
|
+
/**
|
|
3445
|
+
* @default false
|
|
3446
|
+
*/
|
|
3447
|
+
"coreOnly"?: boolean;
|
|
3448
|
+
/**
|
|
3449
|
+
* @default false
|
|
3450
|
+
*/
|
|
3451
|
+
"disableVinValidation"?: boolean;
|
|
3452
|
+
"errorCallback"?: BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
3453
|
+
/**
|
|
3454
|
+
* @default {}
|
|
3455
|
+
*/
|
|
3456
|
+
"headers"?: object;
|
|
3457
|
+
"isDev"?: boolean;
|
|
3458
|
+
/**
|
|
3459
|
+
* @default 'en'
|
|
3460
|
+
*/
|
|
3461
|
+
"language"?: LanguageKeys;
|
|
3462
|
+
"loadedResponse"?: BlazorInvokableFunction<(response: VehicleLookupDTO) => void>;
|
|
3463
|
+
"loadingStateChange"?: BlazorInvokableFunction<(isLoading: boolean) => void>;
|
|
3464
|
+
/**
|
|
3465
|
+
* @default ''
|
|
3466
|
+
*/
|
|
3467
|
+
"queryString"?: string;
|
|
3468
|
+
}
|
|
3088
3469
|
interface VinExtractor {
|
|
3089
3470
|
/**
|
|
3090
3471
|
* @default false
|
|
@@ -3134,6 +3515,32 @@ declare namespace LocalJSX {
|
|
|
3134
3515
|
"verbose"?: boolean;
|
|
3135
3516
|
}
|
|
3136
3517
|
|
|
3518
|
+
interface BranchSlotDropdownAttributes {
|
|
3519
|
+
"name": string;
|
|
3520
|
+
"isOpen": boolean;
|
|
3521
|
+
"direction": string;
|
|
3522
|
+
"status": 'idle' | 'loading' | 'ready' | 'empty' | 'error';
|
|
3523
|
+
"activeDate": string;
|
|
3524
|
+
"selectedRaw": string;
|
|
3525
|
+
"idleText": string;
|
|
3526
|
+
}
|
|
3527
|
+
interface BranchSlotPickerAttributes {
|
|
3528
|
+
"name": string;
|
|
3529
|
+
"calendarApi": string;
|
|
3530
|
+
"companyId": string;
|
|
3531
|
+
"branchId": string;
|
|
3532
|
+
"departmentId": string;
|
|
3533
|
+
"brandId": string;
|
|
3534
|
+
"daysAhead": number;
|
|
3535
|
+
"gap": number;
|
|
3536
|
+
"label": string;
|
|
3537
|
+
"wrapperId": string;
|
|
3538
|
+
"wrapperClass": string;
|
|
3539
|
+
"isRequired": boolean;
|
|
3540
|
+
"isDisabled": boolean;
|
|
3541
|
+
"language": LanguageKeys;
|
|
3542
|
+
"defaultValue": string;
|
|
3543
|
+
}
|
|
3137
3544
|
interface DeadStockLookupAttributes {
|
|
3138
3545
|
"language": LanguageKeys;
|
|
3139
3546
|
"coreOnly": boolean;
|
|
@@ -3665,6 +4072,17 @@ declare namespace LocalJSX {
|
|
|
3665
4072
|
"customerPhone": string;
|
|
3666
4073
|
"customerEmail": string;
|
|
3667
4074
|
}
|
|
4075
|
+
interface VehicleWarrantyTimelineAttributes {
|
|
4076
|
+
"language": LanguageKeys;
|
|
4077
|
+
"coreOnly": boolean;
|
|
4078
|
+
"isDev": boolean;
|
|
4079
|
+
"disableVinValidation": boolean;
|
|
4080
|
+
"baseUrl": string;
|
|
4081
|
+
"queryString": string;
|
|
4082
|
+
"errorCallback": BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>;
|
|
4083
|
+
"loadingStateChange": BlazorInvokableFunction<(isLoading: boolean) => void>;
|
|
4084
|
+
"loadedResponse": BlazorInvokableFunction<(response: VehicleLookupDTO) => void>;
|
|
4085
|
+
}
|
|
3668
4086
|
interface VinExtractorAttributes {
|
|
3669
4087
|
"title": string;
|
|
3670
4088
|
"captureInterval": number;
|
|
@@ -3685,6 +4103,8 @@ declare namespace LocalJSX {
|
|
|
3685
4103
|
}
|
|
3686
4104
|
|
|
3687
4105
|
interface IntrinsicElements {
|
|
4106
|
+
"branch-slot-dropdown": Omit<BranchSlotDropdown, keyof BranchSlotDropdownAttributes> & { [K in keyof BranchSlotDropdown & keyof BranchSlotDropdownAttributes]?: BranchSlotDropdown[K] } & { [K in keyof BranchSlotDropdown & keyof BranchSlotDropdownAttributes as `attr:${K}`]?: BranchSlotDropdownAttributes[K] } & { [K in keyof BranchSlotDropdown & keyof BranchSlotDropdownAttributes as `prop:${K}`]?: BranchSlotDropdown[K] };
|
|
4107
|
+
"branch-slot-picker": Omit<BranchSlotPicker, keyof BranchSlotPickerAttributes> & { [K in keyof BranchSlotPicker & keyof BranchSlotPickerAttributes]?: BranchSlotPicker[K] } & { [K in keyof BranchSlotPicker & keyof BranchSlotPickerAttributes as `attr:${K}`]?: BranchSlotPickerAttributes[K] } & { [K in keyof BranchSlotPicker & keyof BranchSlotPickerAttributes as `prop:${K}`]?: BranchSlotPicker[K] };
|
|
3688
4108
|
"dead-stock-lookup": Omit<DeadStockLookup, keyof DeadStockLookupAttributes> & { [K in keyof DeadStockLookup & keyof DeadStockLookupAttributes]?: DeadStockLookup[K] } & { [K in keyof DeadStockLookup & keyof DeadStockLookupAttributes as `attr:${K}`]?: DeadStockLookupAttributes[K] } & { [K in keyof DeadStockLookup & keyof DeadStockLookupAttributes as `prop:${K}`]?: DeadStockLookup[K] };
|
|
3689
4109
|
"distributor-lookup": Omit<DistributorLookup, keyof DistributorLookupAttributes> & { [K in keyof DistributorLookup & keyof DistributorLookupAttributes]?: DistributorLookup[K] } & { [K in keyof DistributorLookup & keyof DistributorLookupAttributes as `attr:${K}`]?: DistributorLookupAttributes[K] } & { [K in keyof DistributorLookup & keyof DistributorLookupAttributes as `prop:${K}`]?: DistributorLookup[K] };
|
|
3690
4110
|
"flexible-container": Omit<FlexibleContainer, keyof FlexibleContainerAttributes> & { [K in keyof FlexibleContainer & keyof FlexibleContainerAttributes]?: FlexibleContainer[K] } & { [K in keyof FlexibleContainer & keyof FlexibleContainerAttributes as `attr:${K}`]?: FlexibleContainerAttributes[K] } & { [K in keyof FlexibleContainer & keyof FlexibleContainerAttributes as `prop:${K}`]?: FlexibleContainer[K] };
|
|
@@ -3737,6 +4157,7 @@ declare namespace LocalJSX {
|
|
|
3737
4157
|
"vehicle-service-history": Omit<VehicleServiceHistory, keyof VehicleServiceHistoryAttributes> & { [K in keyof VehicleServiceHistory & keyof VehicleServiceHistoryAttributes]?: VehicleServiceHistory[K] } & { [K in keyof VehicleServiceHistory & keyof VehicleServiceHistoryAttributes as `attr:${K}`]?: VehicleServiceHistoryAttributes[K] } & { [K in keyof VehicleServiceHistory & keyof VehicleServiceHistoryAttributes as `prop:${K}`]?: VehicleServiceHistory[K] };
|
|
3738
4158
|
"vehicle-specification": Omit<VehicleSpecification, keyof VehicleSpecificationAttributes> & { [K in keyof VehicleSpecification & keyof VehicleSpecificationAttributes]?: VehicleSpecification[K] } & { [K in keyof VehicleSpecification & keyof VehicleSpecificationAttributes as `attr:${K}`]?: VehicleSpecificationAttributes[K] } & { [K in keyof VehicleSpecification & keyof VehicleSpecificationAttributes as `prop:${K}`]?: VehicleSpecification[K] };
|
|
3739
4159
|
"vehicle-warranty-details": Omit<VehicleWarrantyDetails, keyof VehicleWarrantyDetailsAttributes> & { [K in keyof VehicleWarrantyDetails & keyof VehicleWarrantyDetailsAttributes]?: VehicleWarrantyDetails[K] } & { [K in keyof VehicleWarrantyDetails & keyof VehicleWarrantyDetailsAttributes as `attr:${K}`]?: VehicleWarrantyDetailsAttributes[K] } & { [K in keyof VehicleWarrantyDetails & keyof VehicleWarrantyDetailsAttributes as `prop:${K}`]?: VehicleWarrantyDetails[K] };
|
|
4160
|
+
"vehicle-warranty-timeline": Omit<VehicleWarrantyTimeline, keyof VehicleWarrantyTimelineAttributes> & { [K in keyof VehicleWarrantyTimeline & keyof VehicleWarrantyTimelineAttributes]?: VehicleWarrantyTimeline[K] } & { [K in keyof VehicleWarrantyTimeline & keyof VehicleWarrantyTimelineAttributes as `attr:${K}`]?: VehicleWarrantyTimelineAttributes[K] } & { [K in keyof VehicleWarrantyTimeline & keyof VehicleWarrantyTimelineAttributes as `prop:${K}`]?: VehicleWarrantyTimeline[K] };
|
|
3740
4161
|
"vin-extractor": Omit<VinExtractor, keyof VinExtractorAttributes> & { [K in keyof VinExtractor & keyof VinExtractorAttributes]?: VinExtractor[K] } & { [K in keyof VinExtractor & keyof VinExtractorAttributes as `attr:${K}`]?: VinExtractorAttributes[K] } & { [K in keyof VinExtractor & keyof VinExtractorAttributes as `prop:${K}`]?: VinExtractor[K] };
|
|
3741
4162
|
}
|
|
3742
4163
|
}
|
|
@@ -3744,6 +4165,24 @@ export { LocalJSX as JSX };
|
|
|
3744
4165
|
declare module "@stencil/core" {
|
|
3745
4166
|
export namespace JSX {
|
|
3746
4167
|
interface IntrinsicElements {
|
|
4168
|
+
/**
|
|
4169
|
+
* Panel half of `branch-slot-picker`.
|
|
4170
|
+
* Mounted on `document.body` by `shift-portal` and positioned through the
|
|
4171
|
+
* `--branch-slot-*` variables the picker sets — the same split `shift-select` /
|
|
4172
|
+
* `shift-select-dropdown` use, so the panel escapes any `overflow: hidden` or
|
|
4173
|
+
* stacking context the form puts around the field.
|
|
4174
|
+
*/
|
|
4175
|
+
"branch-slot-dropdown": LocalJSX.IntrinsicElements["branch-slot-dropdown"] & JSXBase.HTMLAttributes<HTMLBranchSlotDropdownElement>;
|
|
4176
|
+
/**
|
|
4177
|
+
* Branch-aware booking slot field.
|
|
4178
|
+
* Presents as a normal dropdown — the same `form-input-select` trigger as every
|
|
4179
|
+
* other select in the form — and portals its panel onto `document.body` through
|
|
4180
|
+
* `shift-portal`, exactly as `shift-select` does.
|
|
4181
|
+
* Standalone by design: `form` is optional. Drop `<branch-slot-picker>` on any
|
|
4182
|
+
* page, in a PWA or in a native WebView, give it the four ids, and listen to
|
|
4183
|
+
* `slotChange`.
|
|
4184
|
+
*/
|
|
4185
|
+
"branch-slot-picker": LocalJSX.IntrinsicElements["branch-slot-picker"] & JSXBase.HTMLAttributes<HTMLBranchSlotPickerElement>;
|
|
3747
4186
|
"dead-stock-lookup": LocalJSX.IntrinsicElements["dead-stock-lookup"] & JSXBase.HTMLAttributes<HTMLDeadStockLookupElement>;
|
|
3748
4187
|
"distributor-lookup": LocalJSX.IntrinsicElements["distributor-lookup"] & JSXBase.HTMLAttributes<HTMLDistributorLookupElement>;
|
|
3749
4188
|
"flexible-container": LocalJSX.IntrinsicElements["flexible-container"] & JSXBase.HTMLAttributes<HTMLFlexibleContainerElement>;
|
|
@@ -3796,6 +4235,15 @@ declare module "@stencil/core" {
|
|
|
3796
4235
|
"vehicle-service-history": LocalJSX.IntrinsicElements["vehicle-service-history"] & JSXBase.HTMLAttributes<HTMLVehicleServiceHistoryElement>;
|
|
3797
4236
|
"vehicle-specification": LocalJSX.IntrinsicElements["vehicle-specification"] & JSXBase.HTMLAttributes<HTMLVehicleSpecificationElement>;
|
|
3798
4237
|
"vehicle-warranty-details": LocalJSX.IntrinsicElements["vehicle-warranty-details"] & JSXBase.HTMLAttributes<HTMLVehicleWarrantyDetailsElement>;
|
|
4238
|
+
/**
|
|
4239
|
+
* Warranty coverage as a single dated rail: the standard warranty followed by every
|
|
4240
|
+
* extended coverage in sequence.
|
|
4241
|
+
* Deliberately separate from `vehicle-warranty-details` rather than a mode of it. This
|
|
4242
|
+
* panel shows warranty and nothing else — no campaign table, no reCAPTCHA, no unauthorized
|
|
4243
|
+
* campaign lookup — so hosts adopt it by pointing their warranty tab at this tag and can
|
|
4244
|
+
* keep the original panel untouched for as long as they like.
|
|
4245
|
+
*/
|
|
4246
|
+
"vehicle-warranty-timeline": LocalJSX.IntrinsicElements["vehicle-warranty-timeline"] & JSXBase.HTMLAttributes<HTMLVehicleWarrantyTimelineElement>;
|
|
3799
4247
|
"vin-extractor": LocalJSX.IntrinsicElements["vin-extractor"] & JSXBase.HTMLAttributes<HTMLVinExtractorElement>;
|
|
3800
4248
|
}
|
|
3801
4249
|
}
|
|
@@ -17,8 +17,8 @@ export declare const sharedLocalesSchema: import("yup").ObjectSchema<{
|
|
|
17
17
|
requestFailedPleaseTryAgainLater?: string;
|
|
18
18
|
};
|
|
19
19
|
} & {
|
|
20
|
-
lang: string;
|
|
21
20
|
direction: string;
|
|
21
|
+
lang: string;
|
|
22
22
|
language: string;
|
|
23
23
|
noData: string;
|
|
24
24
|
}, import("yup").AnyObject, {
|
|
@@ -34,8 +34,8 @@ export declare const sharedLocalesSchema: import("yup").ObjectSchema<{
|
|
|
34
34
|
wildCard: undefined;
|
|
35
35
|
requestFailedPleaseTryAgainLater: undefined;
|
|
36
36
|
};
|
|
37
|
-
lang: undefined;
|
|
38
37
|
direction: undefined;
|
|
38
|
+
lang: undefined;
|
|
39
39
|
language: undefined;
|
|
40
40
|
noData: undefined;
|
|
41
41
|
}, "">;
|
|
@@ -44,8 +44,8 @@ export type ComponentLocale<T extends AnyObjectSchema> = {
|
|
|
44
44
|
sharedLocales?: SharedLocales;
|
|
45
45
|
} & InferType<T>;
|
|
46
46
|
export declare const sharedFormLocalesSchema: import("yup").ObjectSchema<{
|
|
47
|
-
lang: string;
|
|
48
47
|
direction: string;
|
|
48
|
+
lang: string;
|
|
49
49
|
language: string;
|
|
50
50
|
noData: string;
|
|
51
51
|
errors: {
|
|
@@ -68,8 +68,8 @@ export declare const sharedFormLocalesSchema: import("yup").ObjectSchema<{
|
|
|
68
68
|
wildCard: string;
|
|
69
69
|
requestFailedPleaseTryAgainLater: string;
|
|
70
70
|
}, import("yup").AnyObject, {
|
|
71
|
-
lang: undefined;
|
|
72
71
|
direction: undefined;
|
|
72
|
+
lang: undefined;
|
|
73
73
|
language: undefined;
|
|
74
74
|
noData: undefined;
|
|
75
75
|
errors: {
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import type { VehicleExtendedWarrantyDTO } from './vehicle-extended-warranty-dto';
|
|
1
2
|
export type VehicleWarrantyDTO = {
|
|
2
3
|
hasActiveWarranty: boolean;
|
|
3
4
|
warrantyStartDate?: string;
|
|
4
5
|
warrantyEndDate?: string;
|
|
6
|
+
startState: 'Started' | 'AwaitingBrokerInvoice' | 'AwaitingEndCustomerSale' | 'AwaitingActivation';
|
|
7
|
+
activatedByBrokerName?: string;
|
|
5
8
|
activationIsRequired: boolean;
|
|
6
9
|
activationStatus: 'NotRequired' | 'Required' | 'BlockedNotAllocated';
|
|
7
10
|
hasExtendedWarranty: boolean;
|
|
8
11
|
extendedWarrantyStartDate?: string;
|
|
9
12
|
extendedWarrantyEndDate?: string;
|
|
13
|
+
extendedWarranties: VehicleExtendedWarrantyDTO[];
|
|
10
14
|
freeServiceStartDate?: string;
|
|
11
15
|
deFactoServiceStartDate?: string;
|
|
12
16
|
};
|
|
@@ -13,13 +13,14 @@ declare const localeMapper: {
|
|
|
13
13
|
readonly "partLookup.distributor": readonly ["locales/partLookup/distributor/"];
|
|
14
14
|
readonly "partLookup.manufacturer": readonly ["locales/partLookup/manufacturer/"];
|
|
15
15
|
readonly "vehicleLookup.accessories": readonly ["locales/vehicleLookup/accessories/"];
|
|
16
|
-
readonly vehicleLookup: readonly ["locales/vehicleLookup/accessories/", "locales/vehicleLookup/claimableItems/", "locales/vehicleLookup/paintThickness/", "locales/vehicleLookup/saleInformation/", "locales/vehicleLookup/serviceHistory/", "locales/vehicleLookup/specification/", "locales/vehicleLookup/warranty/"];
|
|
16
|
+
readonly vehicleLookup: readonly ["locales/vehicleLookup/accessories/", "locales/vehicleLookup/claimableItems/", "locales/vehicleLookup/paintThickness/", "locales/vehicleLookup/saleInformation/", "locales/vehicleLookup/serviceHistory/", "locales/vehicleLookup/specification/", "locales/vehicleLookup/warranty/", "locales/vehicleLookup/warrantyTimeline/"];
|
|
17
17
|
readonly "vehicleLookup.claimableItems": readonly ["locales/vehicleLookup/claimableItems/"];
|
|
18
18
|
readonly "vehicleLookup.paintThickness": readonly ["locales/vehicleLookup/paintThickness/"];
|
|
19
19
|
readonly "vehicleLookup.serviceHistory": readonly ["locales/vehicleLookup/serviceHistory/"];
|
|
20
20
|
readonly "vehicleLookup.saleInformation": readonly ["locales/vehicleLookup/saleInformation/"];
|
|
21
21
|
readonly "vehicleLookup.specification": readonly ["locales/vehicleLookup/specification/"];
|
|
22
22
|
readonly "vehicleLookup.warranty": readonly ["locales/vehicleLookup/warranty/"];
|
|
23
|
+
readonly "vehicleLookup.warrantyTimeline": readonly ["locales/vehicleLookup/warrantyTimeline/"];
|
|
23
24
|
readonly "forms*": readonly ["locales/forms/"];
|
|
24
25
|
};
|
|
25
26
|
export default localeMapper;
|