adp-web-components 0.3.14 → 0.3.16
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} +557 -38
- 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 +13 -13
- 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 +4 -4
- 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-label-uhneFYXO.js → form-input-label-B4lkF89K.js} +1 -1
- package/dist/cjs/form-input_7.cjs.entry.js +24 -24
- package/dist/cjs/form-switch.cjs.entry.js +4 -4
- package/dist/cjs/form-time-picker.cjs.entry.js +9 -9
- package/dist/cjs/{functions-DBDDNNNX.js → functions-CGcEF0Sy.js} +3 -3
- package/dist/cjs/general-form.cjs.entry.js +10 -10
- package/dist/cjs/general-inquiry-form.cjs.entry.js +10 -10
- package/dist/cjs/{get-language-from-url-9TyZFCRO.js → get-language-from-url-DwOt9DVH.js} +1 -1
- package/dist/cjs/{get-local-language-DjRj7WaF.js → get-local-language-B805IYI-.js} +7 -3
- package/dist/cjs/{get-mock-files-Br7Co-Fj.js → get-mock-files-_dswvp-k.js} +2 -2
- package/dist/cjs/{index-Bi6W8dMN.js → index-BdHAYIvO.js} +16 -0
- package/dist/cjs/information-table.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +5 -5
- 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 +4 -4
- 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 +10 -10
- 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 +3 -3
- package/dist/cjs/shift-tabs_2.cjs.entry.js +15 -15
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +10 -10
- package/dist/cjs/test-drive-form.cjs.entry.js +10 -10
- package/dist/cjs/{triangle-alert-CN15U99s.js → triangle-alert-BjQBwsRv.js} +1 -1
- package/dist/cjs/{vehicle-accessories_7.cjs.entry.js → vehicle-accessories_8.cjs.entry.js} +565 -47
- package/dist/cjs/{vehicle-info-layout-sV6altzn.js → vehicle-info-layout-CRpL8UMY.js} +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +10 -6
- 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/information-table.css +1 -1
- package/dist/collection/components/components/loading-spinner.css +1 -1
- 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.css +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.css +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 +2 -2
- 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/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.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/components/CoverageTimeline.js +317 -0
- package/dist/collection/components/vehicle-lookup/components/claimable-item-popover.js +51 -3
- package/dist/collection/components/vehicle-lookup/components/claimable-item.js +14 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +79 -23
- 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 +6 -2
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +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/global/assets/hourglass-icon.js +6 -0
- package/dist/collection/global/assets/lock-icon.js +6 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-lock-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-prerequisite-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/collection/tests/asset-stub.js +3 -0
- 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-CsqoymFO.js → p-3f-o34tT.js} +1 -1
- package/dist/components/{p-DJ66XSRQ.js → p-8TjpeJSM.js} +1 -1
- package/dist/components/{p-vYuOlXCR.js → p-B-ee46vn.js} +1 -1
- package/dist/components/{p-ABcgwu6F.js → p-B2FtamaW.js} +1 -1
- package/dist/components/p-B5VLbYvi.js +5 -0
- package/dist/components/p-B7gfOpxv.js +5 -0
- package/dist/components/{p-B6_q3Jaz.js → p-B87nMNzg.js} +1 -1
- package/dist/components/p-BFM-DcG_.js +5 -0
- package/dist/components/{p-DlJAm0cB.js → p-BI9fJaw-.js} +1 -1
- package/dist/components/{p-B2ZE4oRD.js → p-BRSUeqZY.js} +1 -1
- package/dist/components/p-BRga86YJ.js +5 -0
- package/dist/components/{p-DoGNkDP-.js → p-B__72-PA.js} +1 -1
- package/dist/components/{p-CRJSM0nN.js → p-BcDVkdxZ.js} +1 -1
- package/dist/components/{p-CgimfOQ7.js → p-BrWGW8tX.js} +1 -1
- package/dist/components/p-BzXn-wtv.js +5 -0
- package/dist/components/{p-BTfZ7GAi.js → p-C4kEe245.js} +1 -1
- package/dist/components/{p-DTQIIqm5.js → p-C4o65xY0.js} +1 -1
- package/dist/components/{p-qYvbkatn.js → p-C8Fy2Klg.js} +1 -1
- package/dist/components/{p-BP6R1nYk.js → p-CADxWthH.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-DWGSY0dp.js → p-CFAD5EiT.js} +1 -1
- package/dist/components/{p-SQ4fUegy.js → p-CXDKH9dP.js} +1 -1
- package/dist/components/{p-CYGQmS-P.js → p-CkOYv-3p.js} +1 -1
- package/dist/components/{p-emKMuKu4.js → p-ClyGZeVx.js} +1 -1
- package/dist/components/{p-Bu1VjE_4.js → p-CwhHBYbG.js} +1 -1
- package/dist/components/p-Czytw_So.js +5 -0
- package/dist/components/{p-0Leiluv7.js → p-D7eC7KnG.js} +1 -1
- package/dist/components/{p-DwJkEi88.js → p-DDbQOqlR.js} +1 -1
- package/dist/components/{p-BUGOUxbr.js → p-DFDuwRN_.js} +1 -1
- package/dist/components/p-DGpQUIZ3.js +5 -0
- package/dist/components/{p-CN6RvIb-.js → p-DHx3Ycv-.js} +1 -1
- package/dist/components/{p-Y2dufCGw.js → p-DVBif7ht.js} +1 -1
- package/dist/components/{p-DIMe8nY5.js → p-DVHM8Qgv.js} +1 -1
- package/dist/components/{p-B5T-06-W.js → p-DZQhS99P.js} +1 -1
- package/dist/components/{p-A2T8KqHs.js → p-Dr_ggnvT.js} +1 -1
- package/dist/components/{p-DJa_zubh.js → p-DsIilFPI.js} +1 -1
- package/dist/components/{p-puPUmTHi.js → p-DuG7sgOh.js} +1 -1
- package/dist/components/{p-COyo4v_L.js → p-DzVx9lgv.js} +1 -1
- package/dist/components/p-WXgB5UwE.js +5 -0
- package/dist/components/{p-CCpbwft_.js → p-_LAr7EWQ.js} +1 -1
- package/dist/components/{p-CH5Rb3vr.js → p-dHk4hFiZ.js} +1 -1
- package/dist/components/{p-DdUaptEO.js → p-mkmziXBF.js} +1 -1
- package/dist/components/{p-9zux5VXM.js → p-qYnLW3ti.js} +1 -1
- package/dist/components/p-rCUaKToY.js +5 -0
- package/dist/components/{p-Dhy4YWgm.js → p-yq14A9cI.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} +554 -37
- 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 +13 -13
- 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 +4 -4
- 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-label-cuvgzRcH.js → form-input-label-6blOw1BN.js} +1 -1
- package/dist/esm/form-input_7.entry.js +23 -23
- package/dist/esm/form-switch.entry.js +4 -4
- package/dist/esm/form-time-picker.entry.js +9 -9
- package/dist/esm/{functions-DG73G3O6.js → functions-LONv8snV.js} +3 -3
- package/dist/esm/general-form.entry.js +10 -10
- package/dist/esm/general-inquiry-form.entry.js +10 -10
- package/dist/esm/{get-language-from-url-C1D-aPDq.js → get-language-from-url-fV-K15uy.js} +1 -1
- package/dist/esm/{get-local-language-DsJgnZ5L.js → get-local-language-CizYq_00.js} +7 -3
- package/dist/esm/{get-mock-files-_k2h1OdV.js → get-mock-files-k02F3T7q.js} +2 -2
- package/dist/esm/{index-Cg4V9l26.js → index-CteZTPhq.js} +16 -1
- package/dist/esm/information-table.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/manufacturer-part-lookup.entry.js +5 -5
- 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 +4 -4
- package/dist/esm/{qr-code-scan-CktgNBSD.js → qr-code-scan-B1nViqZl.js} +1 -1
- package/dist/esm/service-booking-form.entry.js +10 -10
- 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 +3 -3
- package/dist/esm/shift-tabs_2.entry.js +15 -15
- package/dist/esm/ssc-lookup-form.entry.js +10 -10
- package/dist/esm/test-drive-form.entry.js +10 -10
- package/dist/esm/{triangle-alert-D4H9aWiT.js → triangle-alert-Brtqhx2d.js} +1 -1
- package/dist/esm/{vehicle-accessories_7.entry.js → vehicle-accessories_8.entry.js} +565 -48
- package/dist/esm/{vehicle-info-layout-DQ12Civq.js → vehicle-info-layout-Dmx94GLp.js} +1 -1
- package/dist/esm/vehicle-lookup.entry.js +10 -6
- 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/part-lookup.json +18 -18
- package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +123 -2
- package/dist/shift-components/{p-8e478de8.entry.js → p-0f576cb7.entry.js} +1 -1
- package/dist/shift-components/{p-83a38f2f.entry.js → p-10f68d42.entry.js} +1 -1
- package/dist/shift-components/{p-1416551c.entry.js → p-1aaf2b7f.entry.js} +1 -1
- package/dist/shift-components/{p-bd772f48.entry.js → p-1e26a2c4.entry.js} +1 -1
- package/dist/shift-components/{p-cc3bdbd7.entry.js → p-316aa46b.entry.js} +1 -1
- package/dist/shift-components/{p-8387da9d.entry.js → p-404ab3a9.entry.js} +1 -1
- package/dist/shift-components/{p-acd9087d.entry.js → p-4c0e75bc.entry.js} +1 -1
- package/dist/shift-components/{p-79faecaa.entry.js → p-65aad39b.entry.js} +1 -1
- package/dist/shift-components/p-695436be.entry.js +5 -0
- package/dist/shift-components/{p-b4f9de18.entry.js → p-6b46a2d7.entry.js} +1 -1
- package/dist/shift-components/{p-e65d8cc3.entry.js → p-6fe01a86.entry.js} +1 -1
- package/dist/shift-components/p-79150c47.entry.js +5 -0
- package/dist/shift-components/{p-9fbdc7fd.entry.js → p-8250a9d6.entry.js} +1 -1
- package/dist/shift-components/{p-d73f83a1.entry.js → p-829f24b9.entry.js} +1 -1
- package/dist/shift-components/p-902c5265.entry.js +5 -0
- package/dist/shift-components/{p-f148f0db.entry.js → p-9d1bbc0c.entry.js} +1 -1
- package/dist/shift-components/{p-56f69d7f.entry.js → p-9d41e300.entry.js} +1 -1
- package/dist/shift-components/{p-B8RCucpl.js → p-B9kqtQjS.js} +1 -1
- package/dist/shift-components/p-BOBRhkdK.js +5 -0
- 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-BaC5C1YJ.js → p-C8PvXL-3.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-CzKJCNU9.js +5 -0
- package/dist/shift-components/{p-BG5y01yj.js → p-D1ioFMhR.js} +1 -1
- package/dist/shift-components/{p-pUYjpajc.js → p-D6syzMN5.js} +1 -1
- package/dist/shift-components/{p-FFH7sR1n.js → p-D7cqTTll.js} +1 -1
- 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-CEfxRHUk.js → p-DzV_ls5o.js} +1 -1
- 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-aa2bf198.entry.js +5 -0
- package/dist/shift-components/{p-89853d6c.entry.js → p-aac87b64.entry.js} +1 -1
- package/dist/shift-components/{p-6a10c7ff.entry.js → p-ac83e668.entry.js} +1 -1
- package/dist/shift-components/p-bd1b1b6a.entry.js +5 -0
- package/dist/shift-components/{p-CtUQMviL.js → p-bfwabdVa.js} +1 -1
- package/dist/shift-components/{p-7ff0ea83.entry.js → p-c6a7902c.entry.js} +1 -1
- package/dist/shift-components/{p-d5db4fb4.entry.js → p-cb518142.entry.js} +1 -1
- package/dist/shift-components/{p-04b02a2a.entry.js → p-d26cc97e.entry.js} +1 -1
- package/dist/shift-components/{p-2b0e3d27.entry.js → p-d6973435.entry.js} +1 -1
- package/dist/shift-components/p-f092c7a2.entry.js +5 -0
- 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 +8468 -6799
- 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/forms/defaults/mappers.d.ts +16 -0
- package/dist/types/components/vehicle-lookup/components/CoverageTimeline.d.ts +13 -0
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +15 -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/assets/hourglass-icon.d.ts +6 -0
- package/dist/types/global/assets/lock-icon.d.ts +6 -0
- 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-service-item-dto.d.ts +2 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-lock-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-prerequisite-dto.d.ts +6 -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-B6gnG2lN.js +0 -5
- package/dist/components/p-B6ib31CX.js +0 -5
- package/dist/components/p-BL5YkEz-.js +0 -5
- package/dist/components/p-CK3C2jeL.js +0 -5
- package/dist/components/p-CbL2RmJ1.js +0 -5
- package/dist/components/p-WdDnbO6s.js +0 -5
- package/dist/components/p-_i2jGDlH.js +0 -5
- package/dist/shift-components/p-214259ae.entry.js +0 -5
- package/dist/shift-components/p-2f764c75.entry.js +0 -5
- package/dist/shift-components/p-50819229.entry.js +0 -5
- package/dist/shift-components/p-64205a8d.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-C_AHRam8.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-D6ZxBLEm.js +0 -5
- package/dist/shift-components/p-DlBduQTw.js +0 -5
- package/dist/shift-components/p-c3f88c4c.entry.js +0 -5
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
import warrantyTimelineSchema from "../../locales/vehicleLookup/warrantyTimeline/type";
|
|
7
|
+
import CoverageTimeline from "./components/CoverageTimeline";
|
|
8
|
+
import { VehicleInfoLayout } from "../../features/vehicle-info-layout/index";
|
|
9
|
+
import { smartInvokable } from "../../features/blazor-ref/index";
|
|
10
|
+
import { setVehicleLookupData, setVehicleLookupErrorState } from "../../features/vehicle-lookup-component/index";
|
|
11
|
+
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../features/multi-lingual/index";
|
|
12
|
+
/**
|
|
13
|
+
* Warranty coverage as a single dated rail: the standard warranty followed by every
|
|
14
|
+
* extended coverage in sequence.
|
|
15
|
+
*
|
|
16
|
+
* Deliberately separate from `vehicle-warranty-details` rather than a mode of it. This
|
|
17
|
+
* panel shows warranty and nothing else — no campaign table, no reCAPTCHA, no unauthorized
|
|
18
|
+
* campaign lookup — so hosts adopt it by pointing their warranty tab at this tag and can
|
|
19
|
+
* keep the original panel untouched for as long as they like.
|
|
20
|
+
*/
|
|
21
|
+
export class VehicleWarrantyTimeline {
|
|
22
|
+
constructor() {
|
|
23
|
+
// #region Localization
|
|
24
|
+
this.language = 'en';
|
|
25
|
+
this.locale = Object.assign({ sharedLocales: sharedLocalesSchema.getDefault() }, warrantyTimelineSchema.getDefault());
|
|
26
|
+
// #endregion
|
|
27
|
+
// #region Vehicle info layout prop
|
|
28
|
+
this.coreOnly = false;
|
|
29
|
+
this.disableVinValidation = false;
|
|
30
|
+
this.headers = {};
|
|
31
|
+
this.queryString = '';
|
|
32
|
+
this.isError = false;
|
|
33
|
+
this.isLoading = false;
|
|
34
|
+
}
|
|
35
|
+
async componentWillLoad() {
|
|
36
|
+
await this.changeLanguage(this.language);
|
|
37
|
+
}
|
|
38
|
+
async changeLanguage(newLanguage) {
|
|
39
|
+
const [sharedLocales, locale] = await Promise.all([getSharedLocal(newLanguage), getLocaleLanguage(newLanguage, 'vehicleLookup.warrantyTimeline', warrantyTimelineSchema)]);
|
|
40
|
+
this.locale = Object.assign({ sharedLocales }, locale);
|
|
41
|
+
}
|
|
42
|
+
async setBlazorRef(newBlazorRef) {
|
|
43
|
+
this.blazorRef = newBlazorRef;
|
|
44
|
+
}
|
|
45
|
+
async setMockData(newMockData) {
|
|
46
|
+
this.mockData = newMockData;
|
|
47
|
+
}
|
|
48
|
+
async fetchVin(newData, headers = {}) {
|
|
49
|
+
await setVehicleLookupData(this, newData, headers);
|
|
50
|
+
}
|
|
51
|
+
async setErrorMessage(message) {
|
|
52
|
+
setVehicleLookupErrorState(this, message);
|
|
53
|
+
}
|
|
54
|
+
async clearData() {
|
|
55
|
+
this.vehicleLookup = undefined;
|
|
56
|
+
}
|
|
57
|
+
onLoadingChange(newValue) {
|
|
58
|
+
smartInvokable.bind(this)(this.loadingStateChange, newValue);
|
|
59
|
+
}
|
|
60
|
+
// #endregion
|
|
61
|
+
render() {
|
|
62
|
+
var _a, _b;
|
|
63
|
+
return (h(Host, { key: '8d89add2d61e4dcee130eede83bea9a02733cec1', translate: "no" }, h(VehicleInfoLayout, { key: '280006f828f2ded8ecd148a8cc8a7db939e1af29', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_a = this.vehicleLookup) === null || _a === void 0 ? void 0 : _a.vin, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("div", { key: '81ecffef7b0c7fcb80d657ca0cc34c0afff11a88', class: "p-[16px]" }, h(CoverageTimeline, { key: '2532220db169ace764e9da2fd23c027a5023d12a', vehicleInformation: this.vehicleLookup, locale: this.locale, isAuthorized: (_b = this.vehicleLookup) === null || _b === void 0 ? void 0 : _b.isAuthorized })))));
|
|
64
|
+
}
|
|
65
|
+
static get is() { return "vehicle-warranty-timeline"; }
|
|
66
|
+
static get encapsulation() { return "shadow"; }
|
|
67
|
+
static get originalStyleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["vehicle-warranty-timeline.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get styleUrls() {
|
|
73
|
+
return {
|
|
74
|
+
"$": ["vehicle-warranty-timeline.css"]
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
static get properties() {
|
|
78
|
+
return {
|
|
79
|
+
"language": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"mutable": false,
|
|
82
|
+
"complexType": {
|
|
83
|
+
"original": "LanguageKeys",
|
|
84
|
+
"resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
|
|
85
|
+
"references": {
|
|
86
|
+
"LanguageKeys": {
|
|
87
|
+
"location": "import",
|
|
88
|
+
"path": "~features/multi-lingual",
|
|
89
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys",
|
|
90
|
+
"referenceLocation": "LanguageKeys"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": false,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": ""
|
|
99
|
+
},
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false,
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"attribute": "language",
|
|
104
|
+
"defaultValue": "'en'"
|
|
105
|
+
},
|
|
106
|
+
"coreOnly": {
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "boolean",
|
|
111
|
+
"resolved": "boolean",
|
|
112
|
+
"references": {}
|
|
113
|
+
},
|
|
114
|
+
"required": false,
|
|
115
|
+
"optional": false,
|
|
116
|
+
"docs": {
|
|
117
|
+
"tags": [],
|
|
118
|
+
"text": ""
|
|
119
|
+
},
|
|
120
|
+
"getter": false,
|
|
121
|
+
"setter": false,
|
|
122
|
+
"reflect": false,
|
|
123
|
+
"attribute": "core-only",
|
|
124
|
+
"defaultValue": "false"
|
|
125
|
+
},
|
|
126
|
+
"isDev": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "boolean",
|
|
131
|
+
"resolved": "boolean",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [],
|
|
138
|
+
"text": ""
|
|
139
|
+
},
|
|
140
|
+
"getter": false,
|
|
141
|
+
"setter": false,
|
|
142
|
+
"reflect": false,
|
|
143
|
+
"attribute": "is-dev"
|
|
144
|
+
},
|
|
145
|
+
"disableVinValidation": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "boolean",
|
|
150
|
+
"resolved": "boolean",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"getter": false,
|
|
160
|
+
"setter": false,
|
|
161
|
+
"reflect": false,
|
|
162
|
+
"attribute": "disable-vin-validation",
|
|
163
|
+
"defaultValue": "false"
|
|
164
|
+
},
|
|
165
|
+
"baseUrl": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "string",
|
|
170
|
+
"resolved": "string",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": ""
|
|
178
|
+
},
|
|
179
|
+
"getter": false,
|
|
180
|
+
"setter": false,
|
|
181
|
+
"reflect": false,
|
|
182
|
+
"attribute": "base-url"
|
|
183
|
+
},
|
|
184
|
+
"headers": {
|
|
185
|
+
"type": "unknown",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "object",
|
|
189
|
+
"resolved": "object",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": ""
|
|
197
|
+
},
|
|
198
|
+
"getter": false,
|
|
199
|
+
"setter": false,
|
|
200
|
+
"defaultValue": "{}"
|
|
201
|
+
},
|
|
202
|
+
"queryString": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"mutable": false,
|
|
205
|
+
"complexType": {
|
|
206
|
+
"original": "string",
|
|
207
|
+
"resolved": "string",
|
|
208
|
+
"references": {}
|
|
209
|
+
},
|
|
210
|
+
"required": false,
|
|
211
|
+
"optional": false,
|
|
212
|
+
"docs": {
|
|
213
|
+
"tags": [],
|
|
214
|
+
"text": ""
|
|
215
|
+
},
|
|
216
|
+
"getter": false,
|
|
217
|
+
"setter": false,
|
|
218
|
+
"reflect": false,
|
|
219
|
+
"attribute": "query-string",
|
|
220
|
+
"defaultValue": "''"
|
|
221
|
+
},
|
|
222
|
+
"errorCallback": {
|
|
223
|
+
"type": "string",
|
|
224
|
+
"mutable": false,
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "BlazorInvokableFunction<(errorMessage: ErrorKeys) => void>",
|
|
227
|
+
"resolved": "((errorMessage: OptionalKeys<{ noBaseUrl: string; invalidVin: string; vinNumberRequired: string; partNumberRequired: string; wrongResponseFormat: string; noPartsFound: string; noServiceAvailable: string; wrongFormStructure: string; wildCard: string; requestFailedPleaseTryAgainLater: string; }>) => void) | string",
|
|
228
|
+
"references": {
|
|
229
|
+
"BlazorInvokableFunction": {
|
|
230
|
+
"location": "import",
|
|
231
|
+
"path": "~features/blazor-ref",
|
|
232
|
+
"id": "src/features/blazor-ref/index.ts::BlazorInvokableFunction",
|
|
233
|
+
"referenceLocation": "BlazorInvokableFunction"
|
|
234
|
+
},
|
|
235
|
+
"ErrorKeys": {
|
|
236
|
+
"location": "import",
|
|
237
|
+
"path": "~features/multi-lingual",
|
|
238
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys",
|
|
239
|
+
"referenceLocation": "ErrorKeys"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": false,
|
|
244
|
+
"optional": true,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": ""
|
|
248
|
+
},
|
|
249
|
+
"getter": false,
|
|
250
|
+
"setter": false,
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"attribute": "error-callback"
|
|
253
|
+
},
|
|
254
|
+
"loadingStateChange": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"mutable": false,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "BlazorInvokableFunction<(isLoading: boolean) => void>",
|
|
259
|
+
"resolved": "((isLoading: boolean) => void) | string",
|
|
260
|
+
"references": {
|
|
261
|
+
"BlazorInvokableFunction": {
|
|
262
|
+
"location": "import",
|
|
263
|
+
"path": "~features/blazor-ref",
|
|
264
|
+
"id": "src/features/blazor-ref/index.ts::BlazorInvokableFunction",
|
|
265
|
+
"referenceLocation": "BlazorInvokableFunction"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"required": false,
|
|
270
|
+
"optional": true,
|
|
271
|
+
"docs": {
|
|
272
|
+
"tags": [],
|
|
273
|
+
"text": ""
|
|
274
|
+
},
|
|
275
|
+
"getter": false,
|
|
276
|
+
"setter": false,
|
|
277
|
+
"reflect": false,
|
|
278
|
+
"attribute": "loading-state-change"
|
|
279
|
+
},
|
|
280
|
+
"loadedResponse": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"mutable": false,
|
|
283
|
+
"complexType": {
|
|
284
|
+
"original": "BlazorInvokableFunction<(response: VehicleLookupDTO) => void>",
|
|
285
|
+
"resolved": "((response: VehicleLookupDTO) => void) | string",
|
|
286
|
+
"references": {
|
|
287
|
+
"BlazorInvokableFunction": {
|
|
288
|
+
"location": "import",
|
|
289
|
+
"path": "~features/blazor-ref",
|
|
290
|
+
"id": "src/features/blazor-ref/index.ts::BlazorInvokableFunction",
|
|
291
|
+
"referenceLocation": "BlazorInvokableFunction"
|
|
292
|
+
},
|
|
293
|
+
"VehicleLookupDTO": {
|
|
294
|
+
"location": "import",
|
|
295
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
296
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO",
|
|
297
|
+
"referenceLocation": "VehicleLookupDTO"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"required": false,
|
|
302
|
+
"optional": true,
|
|
303
|
+
"docs": {
|
|
304
|
+
"tags": [],
|
|
305
|
+
"text": ""
|
|
306
|
+
},
|
|
307
|
+
"getter": false,
|
|
308
|
+
"setter": false,
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"attribute": "loaded-response"
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
static get states() {
|
|
315
|
+
return {
|
|
316
|
+
"locale": {},
|
|
317
|
+
"blazorRef": {},
|
|
318
|
+
"isError": {},
|
|
319
|
+
"errorMessage": {},
|
|
320
|
+
"isLoading": {},
|
|
321
|
+
"vehicleLookup": {}
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
static get methods() {
|
|
325
|
+
return {
|
|
326
|
+
"setBlazorRef": {
|
|
327
|
+
"complexType": {
|
|
328
|
+
"signature": "(newBlazorRef: DotNetObjectReference) => Promise<void>",
|
|
329
|
+
"parameters": [{
|
|
330
|
+
"name": "newBlazorRef",
|
|
331
|
+
"type": "{ invokeMethodAsync: (methodName: string, ...args: any[]) => Promise<any>; }",
|
|
332
|
+
"docs": ""
|
|
333
|
+
}],
|
|
334
|
+
"references": {
|
|
335
|
+
"Promise": {
|
|
336
|
+
"location": "global",
|
|
337
|
+
"id": "global::Promise"
|
|
338
|
+
},
|
|
339
|
+
"DotNetObjectReference": {
|
|
340
|
+
"location": "import",
|
|
341
|
+
"path": "~features/blazor-ref",
|
|
342
|
+
"id": "src/features/blazor-ref/index.ts::DotNetObjectReference",
|
|
343
|
+
"referenceLocation": "DotNetObjectReference"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"return": "Promise<void>"
|
|
347
|
+
},
|
|
348
|
+
"docs": {
|
|
349
|
+
"text": "",
|
|
350
|
+
"tags": []
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"setMockData": {
|
|
354
|
+
"complexType": {
|
|
355
|
+
"signature": "(newMockData: VehicleLookupMock) => Promise<void>",
|
|
356
|
+
"parameters": [{
|
|
357
|
+
"name": "newMockData",
|
|
358
|
+
"type": "{ [key: string]: VehicleLookupDTO; }",
|
|
359
|
+
"docs": ""
|
|
360
|
+
}],
|
|
361
|
+
"references": {
|
|
362
|
+
"Promise": {
|
|
363
|
+
"location": "global",
|
|
364
|
+
"id": "global::Promise"
|
|
365
|
+
},
|
|
366
|
+
"VehicleLookupMock": {
|
|
367
|
+
"location": "import",
|
|
368
|
+
"path": "~features/vehicle-lookup-component",
|
|
369
|
+
"id": "src/features/vehicle-lookup-component/index.ts::VehicleLookupMock",
|
|
370
|
+
"referenceLocation": "VehicleLookupMock"
|
|
371
|
+
}
|
|
372
|
+
},
|
|
373
|
+
"return": "Promise<void>"
|
|
374
|
+
},
|
|
375
|
+
"docs": {
|
|
376
|
+
"text": "",
|
|
377
|
+
"tags": []
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"fetchVin": {
|
|
381
|
+
"complexType": {
|
|
382
|
+
"signature": "(newData: VehicleLookupDTO | string, headers?: any) => Promise<void>",
|
|
383
|
+
"parameters": [{
|
|
384
|
+
"name": "newData",
|
|
385
|
+
"type": "string | VehicleLookupDTO",
|
|
386
|
+
"docs": ""
|
|
387
|
+
}, {
|
|
388
|
+
"name": "headers",
|
|
389
|
+
"type": "any",
|
|
390
|
+
"docs": ""
|
|
391
|
+
}],
|
|
392
|
+
"references": {
|
|
393
|
+
"Promise": {
|
|
394
|
+
"location": "global",
|
|
395
|
+
"id": "global::Promise"
|
|
396
|
+
},
|
|
397
|
+
"VehicleLookupDTO": {
|
|
398
|
+
"location": "import",
|
|
399
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
400
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO",
|
|
401
|
+
"referenceLocation": "VehicleLookupDTO"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"return": "Promise<void>"
|
|
405
|
+
},
|
|
406
|
+
"docs": {
|
|
407
|
+
"text": "",
|
|
408
|
+
"tags": []
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"setErrorMessage": {
|
|
412
|
+
"complexType": {
|
|
413
|
+
"signature": "(message: ErrorKeys) => Promise<void>",
|
|
414
|
+
"parameters": [{
|
|
415
|
+
"name": "message",
|
|
416
|
+
"type": "\"noBaseUrl\" | \"invalidVin\" | \"vinNumberRequired\" | \"partNumberRequired\" | \"wrongResponseFormat\" | \"noPartsFound\" | \"noServiceAvailable\" | \"wrongFormStructure\" | \"wildCard\" | \"requestFailedPleaseTryAgainLater\"",
|
|
417
|
+
"docs": ""
|
|
418
|
+
}],
|
|
419
|
+
"references": {
|
|
420
|
+
"Promise": {
|
|
421
|
+
"location": "global",
|
|
422
|
+
"id": "global::Promise"
|
|
423
|
+
},
|
|
424
|
+
"ErrorKeys": {
|
|
425
|
+
"location": "import",
|
|
426
|
+
"path": "~features/multi-lingual",
|
|
427
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys",
|
|
428
|
+
"referenceLocation": "ErrorKeys"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"return": "Promise<void>"
|
|
432
|
+
},
|
|
433
|
+
"docs": {
|
|
434
|
+
"text": "",
|
|
435
|
+
"tags": []
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"clearData": {
|
|
439
|
+
"complexType": {
|
|
440
|
+
"signature": "() => Promise<void>",
|
|
441
|
+
"parameters": [],
|
|
442
|
+
"references": {
|
|
443
|
+
"Promise": {
|
|
444
|
+
"location": "global",
|
|
445
|
+
"id": "global::Promise"
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"return": "Promise<void>"
|
|
449
|
+
},
|
|
450
|
+
"docs": {
|
|
451
|
+
"text": "",
|
|
452
|
+
"tags": []
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
static get elementRef() { return "el"; }
|
|
458
|
+
static get watchers() {
|
|
459
|
+
return [{
|
|
460
|
+
"propName": "language",
|
|
461
|
+
"methodName": "changeLanguage"
|
|
462
|
+
}, {
|
|
463
|
+
"propName": "isLoading",
|
|
464
|
+
"methodName": "onLoadingChange"
|
|
465
|
+
}];
|
|
466
|
+
}
|
|
467
|
+
}
|
|
@@ -509,7 +509,7 @@ export class VinExtractor {
|
|
|
509
509
|
}
|
|
510
510
|
render() {
|
|
511
511
|
const ariaExpanded = this.isOpen && this.isCameraReady && (this.useOcr || this.readSticker);
|
|
512
|
-
return (h(Host, { key: '
|
|
512
|
+
return (h(Host, { key: 'eaf5dc6e076444916c00028e322b3b6402e4321e', translate: "no" }, h("slot", { key: 'be2273b5fb3f36d111aff846d38c154b2e9da550' }), h("input", Object.assign({ key: '3fe186770bdb1593820b1514de65d93bd738f33b', class: "vin-extractor-input", type: "file", accept: "image/*", "aria-label": "Upload VIN image" }, (this.captureEnvironment ? { capture: 'environment' } : {}), { hidden: true })), h("canvas", { key: '74fa5018b796311cfb1206d14dcf6b3f858a7e55', class: "video-canvas hidden", "aria-hidden": "true" }), !this.uploaderButtonId && (h("div", { key: 'a5ae31db15c4604130d8f1404a0726272fcedaff', onClick: () => (this.isOpen = false), role: "dialog", "aria-modal": ariaExpanded.toString(), "aria-label": this.title || 'VIN Scanner', "aria-hidden": (!ariaExpanded).toString(), class: "vin-extractor-background md:transition-all md:duration-300 fixed flex items-center justify-center w-[100dvw] h-[100dvh] top-0 left-0 z-[9999]" }, h("div", { key: 'b7da59d22a912fef2707a891f46030c6a1b4d1ab', role: "document", onClick: e => e.stopPropagation(), "aria-expanded": ariaExpanded.toString(), onAnimationEnd: () => (this.isAnimating = false), onAnimationStart: () => (this.isAnimating = true), class: cn('vin-extractor-container md:w-[600px] md:rounded-lg md:overflow-hidden opacity-0 md:h-auto w-full h-full relative transition-all duration-500', this.containerAnimation) }, h("div", { key: 'f8ae5b1fd167e79015559644fe0dc792cdcd0e3e', class: "vin-extractor-heading items-center md:py-[8px] w-full md:!opacity-100 md:!translate-x-0 p-[16px] md:bg-white bg-black/30 shadow-md z-10 md:relative absolute top-0 left-0 flex justify-between" }, this.videoInputs.length > 1 ? (h("button", { type: "button", "aria-label": "Switch camera", onClick: this.switchCamera, class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { width: "24", height: "24", fill: "none", "stroke-width": "2", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg", class: "size-full transition-all duration-300", style: { rotate: `${this.switchRotateDegree}deg` } }, h("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }), h("path", { d: "M21 3v5h-5" }), h("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }), h("path", { d: "M8 16H3v5" })))) : (h("div", { class: "size-8", "aria-hidden": "true" })), h("h1", { key: '91c56dfe207bc52041a6cf2be62c5850f5624675', class: "text-center text-[18px] md:text-[24px] md:text-black text-slate-100 form-input-label", part: "form-input-label" }, this.title), h("button", { key: 'bc018b20c1ea817dbdcd5aae846e008de1f1b036', type: "button", "aria-label": "Close scanner", onClick: () => (this.isOpen = false), class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { key: '757e14f25b86d93080237e80372997bd9c80b6c2', fill: "none", "stroke-width": "2", class: "size-full", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '84455cdd6380423f2be56b8aa36d39435686291f', d: "M18 6 6 18" }), h("path", { key: 'c68dd2a5c221ede6969539677b48698dc46e4bd6', d: "m6 6 12 12" })))), this.manualCapture && !!this.manualCaptureHint && !this.manualCaptureLoading && (h("p", { key: 'e7a1bd61c895985c6a42deb3104f21309a846942', "aria-hidden": "true", class: "vin-extractor-manual-capture-hint absolute left-1/2 -translate-x-1/2 bottom-[88px] z-10 m-0 px-3 py-1 rounded-full bg-black/55 text-white text-center text-[13px] leading-[1.3] whitespace-nowrap pointer-events-none" }, this.manualCaptureHint)), this.manualCapture && (h("button", { key: 'c39e85a986f57282d038db94eaba4413a1fea804', type: "button", part: "vin-extractor-capture-button", disabled: this.manualCaptureLoading, onClick: this.captureFrame.bind(this, true), "aria-label": this.manualCaptureLoading ? 'Capturing...' : this.manualCaptureLabel || 'Capture VIN', class: cn('vin-extractor-capture-button absolute disabled:bg-white/75 outline-none cursor-pointer left-1/2 -translate-x-1/2 flex justify-center items-center h-[60px] py-[10px] rounded-full shadow-lg border border-slate-500 text-slate-500 z-10 bg-white bottom-4', this.manualCaptureLabel ? 'px-6 min-w-[140px] gap-2 text-[15px] font-medium whitespace-nowrap' : 'w-[100px]') }, this.manualCaptureLoading ? (h("svg", { fill: "none", "stroke-width": "2", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg", class: cn('animate-spin animate-spin-v', this.manualCaptureLabel ? 'size-[22px]' : 'size-full') }, h("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }))) : this.manualCaptureLabel ? (h("span", null, this.manualCaptureLabel)) : (h("svg", { fill: "none", "stroke-width": "2", class: "size-full", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z" }), h("circle", { cx: "12", cy: "13", r: "3" }))))), h("video", { key: '5d245e88fe6e740d1b2f59add369d62b17debd0d', autoPlay: true, id: "video", playsInline: true, "aria-label": "Camera preview", class: "video-player aspect-video bg-black min-w-full min-h-full object-cover object-center" }))))));
|
|
513
513
|
}
|
|
514
514
|
static get is() { return "vin-extractor"; }
|
|
515
515
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { h } from "@stencil/core";
|
|
6
|
+
export const HourglassIcon = props => (h("svg", { class: props.class, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M5 22h14" }), h("path", { d: "M5 2h14" }), h("path", { d: "M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22" }), h("path", { d: "M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2" })));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { h } from "@stencil/core";
|
|
6
|
+
export const LockIcon = props => (h("svg", { class: props.class, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2" }), h("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })));
|
package/dist/collection/global/types/generated/vehicle-lookup/vehicle-extended-warranty-dto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-lock-dto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -61,7 +61,8 @@ const localeMapper = {
|
|
|
61
61
|
"locales/vehicleLookup/saleInformation/",
|
|
62
62
|
"locales/vehicleLookup/serviceHistory/",
|
|
63
63
|
"locales/vehicleLookup/specification/",
|
|
64
|
-
"locales/vehicleLookup/warranty/"
|
|
64
|
+
"locales/vehicleLookup/warranty/",
|
|
65
|
+
"locales/vehicleLookup/warrantyTimeline/"
|
|
65
66
|
],
|
|
66
67
|
"vehicleLookup.claimableItems": [
|
|
67
68
|
"locales/vehicleLookup/claimableItems/"
|
|
@@ -81,6 +82,9 @@ const localeMapper = {
|
|
|
81
82
|
"vehicleLookup.warranty": [
|
|
82
83
|
"locales/vehicleLookup/warranty/"
|
|
83
84
|
],
|
|
85
|
+
"vehicleLookup.warrantyTimeline": [
|
|
86
|
+
"locales/vehicleLookup/warrantyTimeline/"
|
|
87
|
+
],
|
|
84
88
|
"forms*": [
|
|
85
89
|
"locales/forms/"
|
|
86
90
|
]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import yupTypeMapper from "../../../global/lib/yup-type-mapper";
|
|
6
|
+
const warrantyTimelineSchema = yupTypeMapper([
|
|
7
|
+
'dealer',
|
|
8
|
+
'activatedBy',
|
|
9
|
+
'broker',
|
|
10
|
+
'authorized',
|
|
11
|
+
'unauthorized',
|
|
12
|
+
'activeWarranty',
|
|
13
|
+
'notActiveWarranty',
|
|
14
|
+
'warrantyCoverage',
|
|
15
|
+
'totalPlannedProtection',
|
|
16
|
+
'standardWarranty',
|
|
17
|
+
'standardWarrantyMark',
|
|
18
|
+
'extendedWarranty',
|
|
19
|
+
'standard',
|
|
20
|
+
'extended',
|
|
21
|
+
'today',
|
|
22
|
+
'year',
|
|
23
|
+
'years',
|
|
24
|
+
'month',
|
|
25
|
+
'months',
|
|
26
|
+
'warrantyNotStarted',
|
|
27
|
+
'awaitingBrokerInvoice',
|
|
28
|
+
'awaitingEndCustomerSale',
|
|
29
|
+
'awaitingActivation',
|
|
30
|
+
]);
|
|
31
|
+
export default warrantyTimelineSchema;
|