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
|
@@ -62,7 +62,7 @@ export class VehicleSpecification {
|
|
|
62
62
|
catch (error) {
|
|
63
63
|
productionDate = null;
|
|
64
64
|
}
|
|
65
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: 'c7d7bae4704f9c1bfdc13eeb414ed22d99a04cdf', translate: "no" }, h(VehicleInfoLayout, { key: '9ff22d904b28b77128c3db2229b4c15dc6e21c89', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_e = this.vehicleLookup) === null || _e === void 0 ? void 0 : _e.vin, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("flexible-container", { key: 'ba632131f398ab9c7e864cd4344e327ec2ea4f31' }, h("div", { key: '8ca79e77610982b8e6aa00ea8b0acc6ccce1cafb', class: "flex p-[16px] [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, h(MaterialCard, { key: 'b863b731893372b4cd193c0972172dae87d07a1a', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.model, minWidth: "300px" }, h(MaterialCardChildren, { key: 'f6758abc6b10a2c3ad606de475ea13db520eb917', class: "text-center", hidden: !((_h = (_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _f === void 0 ? void 0 : _f.vehicleVariantInfo) === null || _g === void 0 ? void 0 : _g.modelCode) === null || _h === void 0 ? void 0 : _h.trim()) && !((_l = (_k = (_j = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _j === void 0 ? void 0 : _j.vehicleSpecification) === null || _k === void 0 ? void 0 : _k.modelDescription) === null || _l === void 0 ? void 0 : _l.trim()) }, ((_p = (_o = (_m = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _m === void 0 ? void 0 : _m.vehicleVariantInfo) === null || _o === void 0 ? void 0 : _o.modelCode) === null || _p === void 0 ? void 0 : _p.trim()) || '', " ", h("br", { key: '9265670a0c1584b0cca657152ca024fa6a5e3e01', class: "my-2" }), ((_s = (_r = (_q = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _q === void 0 ? void 0 : _q.vehicleSpecification) === null || _r === void 0 ? void 0 : _r.modelDescription) === null || _s === void 0 ? void 0 : _s.trim()) || '')), h(MaterialCard, { key: '4a62dbe07fa9b77d803466df5f99ef3a7a14cfb9', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.variant, minWidth: "300px" }, h(MaterialCardChildren, { key: '19dcf5e0e36c02fee2814c2904f19cb4e82deb80', class: "text-center", hidden: !((_v = (_u = (_t = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _t === void 0 ? void 0 : _t.identifiers) === null || _u === void 0 ? void 0 : _u.variant) === null || _v === void 0 ? void 0 : _v.trim()) && !((_y = (_x = (_w = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _w === void 0 ? void 0 : _w.vehicleSpecification) === null || _x === void 0 ? void 0 : _x.variantDescription) === null || _y === void 0 ? void 0 : _y.trim()) }, ((_1 = (_0 = (_z = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _z === void 0 ? void 0 : _z.identifiers) === null || _0 === void 0 ? void 0 : _0.variant) === null || _1 === void 0 ? void 0 : _1.trim()) || '', " ", h("br", { key: '6b8ea41c2414acaf2c108a8fdb83e734ae6477f2' }), ((_4 = (_3 = (_2 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _2 === void 0 ? void 0 : _2.vehicleSpecification) === null || _3 === void 0 ? void 0 : _3.variantDescription) === null || _4 === void 0 ? void 0 : _4.trim()) || '')), h(MaterialCard, { key: '1159bec426e817e4df6796ef6ca1f4e9e973e448', desc: ((_7 = (_6 = (_5 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _5 === void 0 ? void 0 : _5.identifiers) === null || _6 === void 0 ? void 0 : _6.katashiki) === null || _7 === void 0 ? void 0 : _7.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.katashiki, minWidth: "250px" }), h(MaterialCard, { key: '2f41e1423b3bc4deaa2f632a7a6e404990e5e0e2', desc: ((_11 = (_10 = (_9 = (_8 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _8 === void 0 ? void 0 : _8.vehicleVariantInfo) === null || _9 === void 0 ? void 0 : _9.modelYear) === null || _10 === void 0 ? void 0 : _10.toString()) === null || _11 === void 0 ? void 0 : _11.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.modelYear, minWidth: "250px" }), h(MaterialCard, { key: '6287100e29542ae8c7f06182067af75033abe37a', desc: productionDate ? productionDate : '', title: texts === null || texts === void 0 ? void 0 : texts.productionDate, minWidth: "250px" }), h(MaterialCard, { key: '18f923cad3f4937afc3e6133aeece236b9912f6a', desc: ((_14 = (_13 = (_12 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _12 === void 0 ? void 0 : _12.vehicleVariantInfo) === null || _13 === void 0 ? void 0 : _13.sfx) === null || _14 === void 0 ? void 0 : _14.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.sfx, minWidth: "250px" }))))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "vehicle-specification"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{clip:rect(0,0,0,0);border:0;border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.\!pointer-events-none{pointer-events:none!important}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.absolute{position:absolute}.\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.isolate{isolation:isolate}.z-10{z-index:10}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.origin-left{transform-origin:left}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-wrap{flex-wrap:wrap}.\!overflow-hidden{overflow:hidden!important}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.border{border-width:1px}.uppercase{text-transform:uppercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.grayscale{--tw-grayscale:grayscale(100%)}.filter,.grayscale{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{border-style:none!important;overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-color:#dde1e6;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.85) 50%,hsla(0,0%,100%,0));background-repeat:no-repeat;background-size:300% 300%;background-size:45% 100%;border-radius:inherit!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.vehicle-info-container{background-color:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;position:relative;text-align:center}.vehicle-info-header-action{align-items:center;display:flex;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{--paper:#fff;--ink:#1a2530;--muted:#5f6c78;--line:#d5dce2;--line-soft:#e8ecef;--blue:#3071a9;--blue-dark:#275e8f;--green:#2c8a58;--green-dark:#216b44;--red:#b42318;--red-dark:#9b2c2c;--red-tint:#fff1f0;--green-tint:#e8f4ed;--violet:#755aa5;--violet-dark:#5f4887;--paper-soft:#f7f9fa;--blue-tint:#e8f1f8;--shadow:0 18px 45px rgba(27,45,61,.1),0 2px 7px rgba(27,45,61,.06);--settle:320ms;--leave-scale:1.25;--rail-leave-scale:1.06;container-name:warranty-panel;container-type:inline-size;display:block}.coverage-timeline,.coverage-timeline *,.coverage-timeline :after,.coverage-timeline :before{box-sizing:border-box}.coverage-timeline{color:var(--ink);font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif}.warranty-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden;position:relative;width:100%}.warranty-card:before{background:var(--card-accent,var(--line));content:"";height:4px;inset:0 0 auto;position:absolute;transition:opacity var(--settle) ease;z-index:3}.collapsible{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--settle) ease,opacity calc(var(--settle) - 60ms) ease}.collapsible[data-open=true]{grid-template-rows:1fr;opacity:1}.collapsible-body{overflow:hidden}.activation-broker,.activation-title,.status-badge>span,.total-coverage,.warranty-notice>span{transition:opacity var(--settle) ease,transform var(--settle) ease}.activation-broker,.activation-title,.warranty-notice>span{transform-origin:left center}.total-coverage{background:transparent;border:0;border-inline-start:2px solid var(--green);border-radius:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;padding:2px 0 2px 14px}.total-coverage,[dir=rtl] .activation-broker,[dir=rtl] .activation-title,[dir=rtl] .warranty-notice>span{transform-origin:right center}[dir=rtl] .total-coverage{transform-origin:left center}.loading .activation-broker,.loading .activation-title,.loading .status-badge>span,.loading .total-coverage,.loading .warranty-notice>span{opacity:0;transform:scale(var(--leave-scale))}.notice-icon{flex:0 0 auto;height:16px;transition:opacity var(--settle) ease;width:16px}.loading .badge-icon,.loading .notice-icon{opacity:0}.axis,.lane,.today-head{transition:opacity var(--settle) ease,transform var(--settle) ease}.loading .axis,.loading .lane,.loading .today-head{opacity:0;transform:scale(var(--rail-leave-scale))}.loading .shift-skeleton:after{animation:warranty-sheen 1.3s linear infinite}@keyframes warranty-sheen{0%{background-position:-100% 0}to{background-position:200% 0}}.loading .warranty-card:before{opacity:0}.broker-slot,.timeline-shell,.total-slot{transition:opacity var(--settle) ease}.broker-slot[data-empty=true],.broker-slot[data-empty=true] .activation-broker,.collapsible[data-open=false] .notice-icon,.collapsible[data-open=false] .warranty-notice>span,.total-slot[data-empty=true],.total-slot[data-empty=true] .total-coverage{opacity:0}.timeline-shell[data-empty=true]{opacity:.45}.activation-header{align-items:center;display:grid;gap:14px;grid-template-columns:minmax(130px,1fr) auto;padding:14px 20px 12px}.activation-main{min-width:0}.status-badge{align-items:center;border-radius:999px;display:inline-flex;flex:1 1 0;font-size:13px;font-weight:700;gap:0;letter-spacing:-.005em;line-height:1.15;min-height:30px;min-width:0;overflow:hidden;padding:0;transition:color var(--settle) ease,background var(--settle) ease,box-shadow var(--settle) ease}.status-badge.is-positive{background:var(--green-tint);box-shadow:inset 0 0 0 1px rgba(44,138,88,.32);color:var(--green-dark)}.status-badge.is-negative{background:var(--red-tint);box-shadow:inset 0 0 0 1px rgba(180,35,24,.28);color:var(--red-dark)}.status-badge.is-idle{background:var(--line-soft);box-shadow:inset 0 0 0 1px rgba(95,108,120,.22);color:var(--muted)}.status-badge.is-idle .badge-icon{background:var(--line)}.status-badge>span{flex:1 1 auto;padding:6px 13px 6px 11px;text-align:center}.badge-icon{align-self:stretch;box-sizing:border-box;color:#fff;display:block;flex:0 0 auto;height:auto;padding:6px 9px;transition:opacity var(--settle) ease,background var(--settle) ease;width:34px}.status-badge.is-positive .badge-icon{background:var(--green)}.status-badge.is-negative .badge-icon{background:var(--red)}.loading .status-badge{animation:warranty-sheen 1.3s linear infinite;background-color:#dcdfe4;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.85) 50%,hsla(0,0%,100%,0));background-repeat:no-repeat;background-size:45% 100%;box-shadow:inset 0 0 0 1px rgba(95,108,120,.42)}.loading .status-badge .badge-icon{background:#dcdfe4}.loading .warranty-notice{animation:warranty-sheen 1.3s linear infinite;background-color:#dcdfe4;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.85) 50%,hsla(0,0%,100%,0));background-repeat:no-repeat;background-size:45% 100%;box-shadow:inset 0 1px 0 rgba(95,108,120,.42),inset 0 -1px 0 rgba(95,108,120,.42)}.activation-title{font-size:clamp(16px,3.2cqw,20px);font-weight:500;letter-spacing:-.025em;line-height:1.15;margin:0;overflow-wrap:anywhere}.activation-title span{color:var(--muted)}.activation-title strong{color:var(--ink);font-weight:760}.activation-broker{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;font-size:13px;font-weight:500;line-height:1.2;margin:3px 0 0;overflow:hidden;overflow-wrap:anywhere}.activation-broker span{color:var(--muted)}.activation-broker strong{color:var(--ink);font-weight:700}.warranty-notice{align-items:center;background:var(--red-tint);border-radius:0;box-shadow:inset 0 1px 0 rgba(180,35,24,.18),inset 0 -1px 0 rgba(180,35,24,.18);color:var(--red-dark);display:flex;font-size:13px;font-weight:650;gap:8px;line-height:1.3;margin-bottom:10px;padding:9px 20px}.total-slot{min-width:250px}.total-coverage span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.total-coverage strong{align-self:center;color:var(--green-dark);font-size:20px;grid-column:2;grid-row:1/span 2;line-height:1.1;margin:0 0 0 10px}.total-coverage .coverage-mix{color:var(--muted);font-size:9px;font-weight:600;letter-spacing:0;line-height:1.3;margin-top:2px;min-height:1.3em;text-transform:none}.journey{border-top:1px dashed var(--line);padding:10px 20px 12px}.journey-head{align-items:stretch;display:flex;flex-wrap:wrap;gap:7px 12px;justify-content:space-between;margin-bottom:8px}.timeline-shell{background:var(--paper-soft);border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative}.timeline{--axis-height:18px;padding:12px 14px 7px}.axis{border-bottom:1px solid #bdc7cf;height:var(--axis-height);margin:0 8px;position:relative;z-index:2}.axis-date{background:var(--paper-soft);color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:800;inset:0 auto auto var(--at);line-height:1;padding:0 3px;position:absolute;transform:translateX(-50%);white-space:nowrap}.axis-date.is-crowded{display:none}.axis-date[data-align=start]{transform:none}.axis-date[data-align=end]{transform:translateX(-100%)}.axis-date:after{background:#aeb9c2;content:"";height:12px;left:50%;position:absolute;top:var(--axis-height);width:1px}.axis-date[data-align=start]:after{left:0}.axis-date[data-align=end]:after{left:100%}.lane{--track-top:16px;--track-height:54px;--label-band:41px;height:calc(var(--track-top) + var(--track-height) + var(--label-band));isolation:isolate;margin:0 8px;position:relative}.lane:before{background:repeating-linear-gradient(-45deg,rgba(95,108,120,.035) 0 5px,transparent 5px 10px),#edf1f3;border:1px solid var(--line-soft);border-radius:8px;content:"";height:var(--track-height);inset:var(--track-top) 0 auto;position:absolute}.today-head{height:50px;margin:0 8px;position:relative}.today-pill{background:var(--blue-tint);border:1px solid rgba(48,113,169,.32);border-radius:999px;color:var(--blue-dark);font-size:9px;font-weight:800;left:var(--at);letter-spacing:.04em;padding:3px 6px;position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}.today-head.is-near-end .today-pill{transform:translateX(calc(-100% + 8px))}.today-head.is-near-start .today-pill{transform:translateX(-8px)}.today-marker{bottom:var(--label-band);left:var(--at);pointer-events:none;position:absolute;top:calc(var(--axis-height)*-1 - 21px);width:0;z-index:5}.today-marker:before{background:var(--blue);bottom:0;box-shadow:0 0 0 1px hsla(0,0%,100%,.72);content:"";left:-1px;position:absolute;top:0;width:2px}.today-tail{bottom:0;left:var(--at);pointer-events:none;position:absolute;top:calc(100% - var(--label-band));width:0;z-index:0}.today-tail:before{background:var(--blue);box-shadow:0 0 0 1px hsla(0,0%,100%,.72);content:"";inset:0 auto 0 -1px;position:absolute;width:2px}.today-marker:after{background:var(--paper);border:2px solid var(--blue);border-radius:50%;content:"";height:8px;left:0;position:absolute;top:0;transform:translateX(-50%);width:8px}.coverage-entry{left:var(--start);min-width:0;position:absolute;top:var(--track-top);transition:opacity .16s ease,filter .16s ease;width:var(--span);z-index:var(--layer,1)}.coverage-list{inset:0;position:absolute;z-index:1}.segment{align-items:center;border:1px solid;border-radius:8px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.56);display:flex;height:var(--track-height);justify-content:center;min-width:0;overflow:hidden;position:relative;width:100%}.segment.is-standard{background:var(--tone-tint);border-color:var(--tone-border);border-inline-start:4px solid var(--tone);color:var(--tone-dark);justify-content:flex-start;padding:0 16px}.segment.is-standard strong{font-size:12px;font-weight:800;letter-spacing:.015em}.segment.is-extended{background:var(--tone-tint);border-color:var(--tone-border);border-style:dashed}.segment.is-extended.tone-alt{border-style:dotted;border-width:2px}.provider-logo{display:block;flex:0 0 auto;height:46px;max-width:calc(100% - 12px);-o-object-fit:contain;object-fit:contain;width:auto}.coverage-label{-webkit-box-orient:vertical;-webkit-line-clamp:3;color:var(--ink);display:-webkit-box;font-size:10px;font-weight:800;line-height:1.2;margin-top:5px;min-height:24px;overflow:hidden;overflow-wrap:anywhere;padding:0 4px;text-align:center;width:100%}.boundary{background:var(--tone,var(--blue));border:2px solid var(--paper);border-radius:50%;box-shadow:0 0 0 1px var(--tone-border,rgba(48,113,169,.46));height:10px;left:var(--at);top:calc(var(--track-top) + var(--track-height)/2);transform:translate(-50%,-50%);width:10px;z-index:6}.boundary,.past-wash{pointer-events:none;position:absolute}.past-wash{backdrop-filter:grayscale(.92);-webkit-backdrop-filter:grayscale(.92);background:linear-gradient(90deg,rgba(228,233,236,.62),rgba(228,233,236,.46));border-radius:8px 0 0 8px;height:var(--track-height);left:0;top:var(--track-top);width:var(--to,0);z-index:4}.boundary-layer{inset:0;pointer-events:none;position:absolute;z-index:6}@container warranty-panel (max-width: 820px){.activation-header{gap:6px 10px;grid-template-columns:minmax(0,1fr) auto;padding:10px 12px 9px}.activation-title{font-size:16px}.total-slot{justify-self:end;min-width:0;width:clamp(170px,50cqw,190px)}.total-coverage{padding-inline-start:10px}.total-coverage .coverage-mix{min-height:2.6em}}@container warranty-panel (max-width: 700px){.warranty-notice{font-size:12px;margin-bottom:8px;padding:8px 12px}.journey{padding:8px 8px 10px}.journey-head{gap:6px;margin-bottom:6px;padding-inline:4px}.status-badge{font-size:12px;min-height:28px}.status-badge>span{padding:5px 10px 5px 9px}.badge-icon{padding:5px 8px;width:30px}.timeline{--axis-height:30px;padding:10px 10px 5px}.today-head.is-near-end .today-pill{transform:translateX(calc(-100% - 46px))}.today-head.is-near-end .today-pill:after{border-top:1px solid rgba(48,113,169,.42);content:"";left:100%;position:absolute;top:50%;width:46px}.axis-date[data-align=end]{top:13px}.axis-date[data-align=end]:after{top:calc(var(--axis-height) - 13px)}}@container warranty-panel (max-width: 430px){.journey-head{align-items:stretch;flex-direction:column}.status-badge{justify-content:center}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.h-\[200px\]{height:200px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.text-\[26px\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.pointer-events-none{pointer-events:none}.mx-auto{margin-left:auto;margin-right:auto}.size-\[100px\]{height:100px;width:100px}.size-full{height:100%;width:100%}.h-auto{height:auto}.max-h-\[100px\]{max-height:100px}.w-auto{width:auto}.w-fit{width:fit-content}.max-w-\[100px\]{max-width:100px}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.gap-\[4px\]{gap:4px}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.bg-black\/40{background-color:rgba(0,0,0,.4)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.duration-300{transition-duration:.3s}.hover\:opacity-100:hover{opacity:1}.\[\&_div\]\:hover\:\!opacity-100:hover div{opacity:1!important}.\[\&_img\]\:hover\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.pointer-events-auto{pointer-events:auto}.bottom-\[40px\]{bottom:40px}.left-1\/2{left:50%}.left-\[30px\]{left:30px}.ml-\[-125px\]{margin-left:-125px}.box-content{box-sizing:content-box}.size-\[30px\]{height:30px;width:30px}.size-\[90px\]{height:90px;width:90px}.h-10{height:2.5rem}.h-\[320px\]{height:320px}.h-full{height:100%}.w-1\/2{width:50%}.w-\[150\%\]{width:150%}.w-\[90\%\]{width:90%}.w-\[calc\(100\%-0px\)\]{width:100%}.w-\[calc\(100\%-60px\)\]{width:calc(100% - 60px)}.min-w-full{min-width:100%}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.translate-y-\[-50\%\]{--tw-translate-y:-50%}.translate-y-\[-50\%\],.translate-y-\[-5px\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-5px\]{--tw-translate-y:-5px}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.scale-\[70\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[70\%\]{--tw-scale-x:70%;--tw-scale-y:70%}.resize{resize:both}.justify-between{justify-content:space-between}.gap-\[250px\]{gap:250px}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-scroll{overflow-x:scroll}.rounded-\[6px\]{border-radius:6px}.border-\[\#f2aeb5\]{--tw-border-opacity:1;border-color:rgb(242 174 181/var(--tw-border-opacity,1))}.border-\[\#faebcc\]{--tw-border-opacity:1;border-color:rgb(250 235 204/var(--tw-border-opacity,1))}.bg-\[\#1a1a1a\]{--tw-bg-opacity:1;background-color:rgb(26 26 26/var(--tw-bg-opacity,1))}.bg-\[\#f7d7d8\]{--tw-bg-opacity:1;background-color:rgb(247 215 216/var(--tw-bg-opacity,1))}.bg-\[\#fcf8e3\]{--tw-bg-opacity:1;background-color:rgb(252 248 227/var(--tw-bg-opacity,1))}.bg-\[linear-gradient\(to_bottom\2c _\#428bca_0\%\2c _\#3071a9_100\%\)\]{background-image:linear-gradient(180deg,#428bca,#3071a9)}.p-\[25px\]{padding:25px}.px-\[30px\]{padding-left:30px;padding-right:30px}.pt-\[16px\]{padding-top:16px}.text-\[16px\]{font-size:16px}.text-\[22px\]{font-size:22px}.font-semibold{font-weight:600}.text-\[\#58151c\]{--tw-text-opacity:1;color:rgb(88 21 28/var(--tw-text-opacity,1))}.text-\[\#8a6d3b\]{--tw-text-opacity:1;color:rgb(138 109 59/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.duration-200{transition-duration:.2s}.\[\&_\*\]\:shrink-0 *{flex-shrink:0}.end-0{inset-inline-end:0}.top-full{top:100%}.my-auto{margin-bottom:auto;margin-top:auto}.me-\[16px\]{margin-inline-end:16px}.mt-\[4px\]{margin-top:4px}.size-\[16px\]{height:16px;width:16px}.size-\[18px\]{height:18px;width:18px}.h-\[150px\]{height:150px}.w-\[84px\]{width:84px}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.gap-\[16px\]{gap:16px}.gap-\[6px\]{gap:6px}.gap-\[8px\]{gap:8px}.whitespace-nowrap{white-space:nowrap}.border-b{border-bottom-width:1px}.border-amber-500{--tw-border-opacity:1;border-color:rgb(245 158 11/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(245 158 11/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\[12px\]{padding:12px}.p-\[6px\]{padding:6px}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.py-\[15px\]{padding-bottom:15px;padding-top:15px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[6px\]{padding-bottom:6px;padding-top:6px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\[17px\]{font-size:17px}.font-medium{font-weight:500}.no-underline{text-decoration-line:none}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150{transition-duration:.15s}.last\:border-b-0:last-child{border-bottom-width:0}.hover\:border-amber-600:hover{--tw-border-opacity:1;border-color:rgb(217 119 6/var(--tw-border-opacity,1))}.hover\:bg-amber-50:hover{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.hover\:bg-amber-600:hover{--tw-bg-opacity:1;background-color:rgb(217 119 6/var(--tw-bg-opacity,1))}.hover\:bg-sky-100\/50:hover{background-color:rgba(224,242,254,.5)}.max-w-\[460px\]{max-width:460px}.max-w-\[520px\]{max-width:520px}.translate-y-\[-4px\]{--tw-translate-y:-4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.select-none{user-select:none}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.gap-\[12px\]{gap:12px}.gap-\[2px\]{gap:2px}.overflow-auto{overflow:auto}.\!rounded-\[12px\]{border-radius:12px!important}.rounded-\[14px\]{border-radius:14px}.p-\[16px\]{padding:16px}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[14px\]{padding-left:14px;padding-right:14px}.py-\[12px\]{padding-bottom:12px;padding-top:12px}.\!pb-0{padding-bottom:0!important}.text-\[13\.5px\]{font-size:13.5px}.leading-\[1\.35\]{line-height:1.35}.text-amber-900\/90{color:rgba(120,53,15,.9)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.my-2{margin-bottom:.5rem;margin-top:.5rem}.grow{flex-grow:1}.fixed{position:fixed}.mt-\[32px\]{margin-top:32px}.h-\[25px\]{height:25px}.h-\[50px\]{height:50px}.h-\[8px\]{height:8px}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.pt-\[40px\]{padding-top:40px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.z-\[999\]{z-index:999}.h-\[100dvh\]{height:100dvh}.w-\[100dvw\]{width:100dvw}.scale-100,.scale-\[110\%\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-\[110\%\]{--tw-scale-x:110%;--tw-scale-y:110%}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.stroke-\[1\.5px\]{stroke-width:1.5px}
|
|
@@ -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"; }
|
|
@@ -198,6 +198,10 @@ export class FormHook {
|
|
|
198
198
|
};
|
|
199
199
|
this.submitForm = async () => {
|
|
200
200
|
var _a, _b, _c, _d, _e, _f;
|
|
201
|
+
// Set while a submit is already running and while a file field is uploading. Either way the
|
|
202
|
+
// form must not be sent yet, and a second click would submit alongside the first.
|
|
203
|
+
if (this.context.isLoading)
|
|
204
|
+
return;
|
|
201
205
|
try {
|
|
202
206
|
this.isSubmitted = true;
|
|
203
207
|
this.context.isLoading = true;
|
|
@@ -197,14 +197,8 @@ export const onFormSubmit = async ({ context, formValues, middleware, afterSucce
|
|
|
197
197
|
header = Object.assign({}, middlewareRes.header);
|
|
198
198
|
requestEndpoint = middlewareRes.url;
|
|
199
199
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
await req();
|
|
203
|
-
}
|
|
204
|
-
catch (error) {
|
|
205
|
-
console.error(error);
|
|
206
|
-
}
|
|
207
|
-
});
|
|
200
|
+
// Deferred uploads must land before the record is created — a failure here aborts the submit.
|
|
201
|
+
await Promise.all(Object.values(context.form.pendingRequests).map(req => req()));
|
|
208
202
|
const response = await fetch(requestEndpoint, Object.assign({ headers: header, method: ((_9 = (_8 = context.structure) === null || _8 === void 0 ? void 0 : _8.data) === null || _9 === void 0 ? void 0 : _9.requestMethod) || 'POST' }, (((_12 = (_11 = (_10 = context.structure) === null || _10 === void 0 ? void 0 : _10.data) === null || _11 === void 0 ? void 0 : _11.requestMethod) === null || _12 === void 0 ? void 0 : _12.toLowerCase()) === 'get' ? {} : { body: JSON.stringify(payload) })));
|
|
209
203
|
if (response.ok) {
|
|
210
204
|
const result = await response.json().catch(() => ({}));
|