adp-web-components 0.3.20 → 0.4.0
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/branch-date-dropdown_17.cjs.entry.js +40 -39
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +9 -9
- package/dist/cjs/flexible-container.cjs.entry.js +5 -23
- package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/form-input_7.cjs.entry.js +17 -17
- package/dist/cjs/form-switch.cjs.entry.js +2 -2
- package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/{functions-BAUJUMt-.js → functions-gb1i8Hkl.js} +1 -1
- package/dist/cjs/general-form.cjs.entry.js +4 -4
- package/dist/cjs/general-inquiry-form.cjs.entry.js +4 -4
- package/dist/cjs/{get-local-language-DI_UK6D5.js → get-local-language-CZeC0BN9.js} +4 -4
- package/dist/cjs/{get-mock-files-B1tNGb9m.js → get-mock-files-NMHm1Vgn.js} +1 -1
- package/dist/cjs/information-table.cjs.entry.js +24 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +3 -3
- package/dist/cjs/parents-with-tag-CV2Y9Chq.js +26 -0
- package/dist/cjs/part-lookup.cjs.entry.js +2 -2
- package/dist/cjs/reveal-below-CyYolTYX.js +127 -0
- package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
- package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
- package/dist/cjs/shift-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-slider.cjs.entry.js +2 -2
- package/dist/cjs/shift-switch.cjs.entry.js +2 -2
- package/dist/cjs/shift-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +4 -4
- package/dist/cjs/test-drive-form.cjs.entry.js +4 -4
- package/dist/cjs/{type-BHyLb1S8.js → type-CTsARyVi.js} +63 -18
- package/dist/cjs/vehicle-accessories_8.cjs.entry.js +819 -204
- package/dist/cjs/vehicle-lookup.cjs.entry.js +56 -40
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +1 -1
- 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/information-table.js +21 -8
- 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.css +1 -1
- 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-date-dropdown.js +2 -2
- package/dist/collection/components/form-elements/branch-date-picker.js +2 -2
- package/dist/collection/components/form-elements/branch-slot-dropdown.css +1 -1
- package/dist/collection/components/form-elements/branch-slot-dropdown.js +1 -1
- package/dist/collection/components/form-elements/branch-slot-picker.js +2 -2
- 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.css +1 -1
- 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-structure.js +3 -2
- 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/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 +5 -8
- package/dist/collection/components/vehicle-lookup/components/SscCampaigns.js +236 -0
- package/dist/collection/components/vehicle-lookup/components/glyphs.js +19 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +3 -3
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +61 -9
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +6 -6
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +99 -59
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +3 -3
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-ssc.css +1 -0
- package/dist/collection/components/vehicle-lookup/{vehicle-warranty-details.js → vehicle-ssc.js} +583 -189
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-timeline.js +5 -6
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/features/vehicle-lookup-component/index.js +1 -0
- package/dist/collection/features/vehicle-lookup-component/request-headers.js +42 -0
- package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +9 -7
- package/dist/collection/global/lib/flexible-parents.js +46 -0
- package/dist/collection/global/lib/reveal-below.js +118 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-repair-trace-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-repair-trace-labor-code-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-repair-trace-labor-line-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-repair-trace-warranty-claim-dto.js +1 -0
- package/dist/collection/locale-mapper.js +3 -3
- package/dist/collection/locales/vehicleLookup/ssc/type.js +70 -0
- package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
- package/dist/collection/templates/harness.js +3 -1
- package/dist/components/branch-date-dropdown.js +1 -1
- package/dist/components/branch-date-picker.js +1 -1
- package/dist/components/branch-slot-dropdown.js +1 -1
- package/dist/components/branch-slot-picker.js +1 -1
- 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/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-CsU_c7eX.js → p-AkWKeTFc.js} +1 -1
- package/dist/components/{p-CMAmzdM7.js → p-B2Rwfoy0.js} +1 -1
- package/dist/components/p-B4nj03om.js +5 -0
- package/dist/components/p-BAkLdLKZ.js +5 -0
- package/dist/components/p-BDCBfHZQ.js +5 -0
- package/dist/components/{p-DQ0uTCi2.js → p-BDOUh9fr.js} +1 -1
- package/dist/components/p-BGf2deKN.js +5 -0
- package/dist/components/{p-5OD_mwiD.js → p-BNmsN10T.js} +1 -1
- package/dist/components/p-BOaqSzZZ.js +5 -0
- package/dist/components/p-B_1NtFJh.js +5 -0
- package/dist/components/{p-Cpjvk1pk.js → p-BhekdMkM.js} +1 -1
- package/dist/components/p-BpZlI-gl.js +5 -0
- package/dist/components/p-BtipOZUG.js +5 -0
- package/dist/components/{p-KbiYvxzP.js → p-BvM3siIc.js} +1 -1
- package/dist/components/{p-rQ3Z9EnS.js → p-BwoBk7eI.js} +1 -1
- package/dist/components/{p-SIS25ChD.js → p-BxGye2qd.js} +1 -1
- package/dist/components/{p-D42YuMNZ.js → p-BySGDlQi.js} +1 -1
- package/dist/components/{p-BvLVCp-j.js → p-ByrX91PC.js} +1 -1
- package/dist/components/p-C9uBduBY.js +5 -0
- package/dist/components/{p-DnspXuVN.js → p-CETvww16.js} +1 -1
- package/dist/components/{p-CJtTHErI.js → p-CT-MbmyW.js} +1 -1
- package/dist/components/p-CUO3vXQr.js +5 -0
- package/dist/components/{p-BPXRokES.js → p-CbRoCi89.js} +1 -1
- package/dist/components/{p-ikaUQvOO.js → p-CebvOd8T.js} +1 -1
- package/dist/components/{p-68bjv9gT.js → p-Cy8khSKP.js} +1 -1
- package/dist/components/{p-BpB_86n0.js → p-D4VK-Fv7.js} +1 -1
- package/dist/components/p-D4aXUm2Y.js +5 -0
- package/dist/components/{p-Wgb4y0H3.js → p-D8w2fZLP.js} +1 -1
- package/dist/components/p-DCO6piZ9.js +5 -0
- package/dist/components/{p-B1xVBTqj.js → p-DConDqrK.js} +1 -1
- package/dist/components/{p-BsnGFZeT.js → p-DDTSLfBG.js} +1 -1
- package/dist/components/{p-C3KLOUbk.js → p-DJDhhX5A.js} +1 -1
- package/dist/components/p-DKWqzBVM.js +5 -0
- package/dist/components/{p-BI5NL1Rh.js → p-DOIpj5PH.js} +1 -1
- package/dist/components/{p-BWlX-Nz-.js → p-DVkAlTjC.js} +1 -1
- package/dist/components/p-D_uU2Pi-.js +5 -0
- package/dist/components/{p-BULuujHY.js → p-DfVskL_i.js} +1 -1
- package/dist/components/p-DkCqJ072.js +5 -0
- package/dist/components/p-DpuHkgw0.js +5 -0
- package/dist/components/{p-Ce2mazYo.js → p-DrF7UQxE.js} +1 -1
- package/dist/components/{p-DCpRGVqe.js → p-DxRQkoRz.js} +1 -1
- package/dist/components/{p-BcWJAP8j.js → p-Imck426q.js} +1 -1
- package/dist/components/{p-bCeQwUKM.js → p-UFwS4oV2.js} +1 -1
- package/dist/components/p-WIpbRULc.js +5 -0
- package/dist/components/p-XFwQkeZH.js +5 -0
- package/dist/components/p-Ype8FNjy.js +5 -0
- package/dist/components/{p-B0_5_VvS.js → p-a4ooD0o_.js} +1 -1
- package/dist/components/{p-DTmI_Yx0.js → p-bVbnoz7C.js} +1 -1
- package/dist/components/{p-OY4Ixaeq.js → p-d1WgLP9O.js} +1 -1
- package/dist/components/{p-Bc5HIbcj.js → p-vlA3PJQv.js} +1 -1
- package/dist/components/{p-BpHkd1L9.js → p-vuYBsCyI.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-ssc.d.ts +11 -0
- package/dist/components/vehicle-ssc.js +5 -0
- package/dist/components/vehicle-warranty-timeline.js +1 -1
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/branch-date-dropdown_17.entry.js +40 -39
- package/dist/esm/dead-stock-lookup_3.entry.js +9 -9
- package/dist/esm/flexible-container.entry.js +4 -22
- package/dist/esm/form-checkbox.entry.js +2 -2
- package/dist/esm/form-date-picker.entry.js +5 -5
- package/dist/esm/form-input_7.entry.js +17 -17
- package/dist/esm/form-switch.entry.js +2 -2
- package/dist/esm/form-time-picker.entry.js +6 -6
- package/dist/esm/{functions-DSwc1YVL.js → functions-SHZO3nZB.js} +1 -1
- package/dist/esm/general-form.entry.js +4 -4
- package/dist/esm/general-inquiry-form.entry.js +4 -4
- package/dist/esm/{get-local-language-DdSAPSCV.js → get-local-language-BLpgwBTx.js} +4 -4
- package/dist/esm/{get-mock-files-D4naDetb.js → get-mock-files-Dpb0udoz.js} +1 -1
- package/dist/esm/information-table.entry.js +22 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +2 -2
- package/dist/esm/manufacturer-part-lookup.entry.js +3 -3
- package/dist/esm/parents-with-tag-WIpbRULc.js +24 -0
- package/dist/esm/part-lookup.entry.js +2 -2
- package/dist/esm/reveal-below-DWXRi5w3.js +124 -0
- package/dist/esm/service-booking-form.entry.js +4 -4
- package/dist/esm/shift-accordion.entry.js +1 -1
- package/dist/esm/shift-checkbox.entry.js +2 -2
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-slider.entry.js +2 -2
- package/dist/esm/shift-switch.entry.js +2 -2
- package/dist/esm/shift-tab-content.entry.js +2 -2
- package/dist/esm/shift-tabs_2.entry.js +10 -10
- package/dist/esm/ssc-lookup-form.entry.js +4 -4
- package/dist/esm/test-drive-form.entry.js +4 -4
- package/dist/esm/{type-DEzFTlhs.js → type-CQsUzIOf.js} +63 -18
- package/dist/esm/vehicle-accessories_8.entry.js +819 -204
- package/dist/esm/vehicle-lookup.entry.js +56 -40
- package/dist/esm/vehicle-quotation-form.entry.js +4 -4
- package/dist/integration-manifest.json +38 -23
- package/dist/locales/vehicleLookup/ssc/ar.json +64 -0
- package/dist/locales/vehicleLookup/ssc/en.json +64 -0
- package/dist/locales/vehicleLookup/ssc/ku.json +64 -0
- package/dist/locales/vehicleLookup/ssc/ru.json +64 -0
- package/dist/locales/vehicleLookup/ssc/type.ts +68 -0
- package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
- package/dist/mocks/generated/broker-dealer/vehicle-lookup.json +40 -2
- package/dist/mocks/generated/standard-dealer/vehicle-lookup.json +61 -2
- package/dist/shift-components/{p-4b6f801a.entry.js → p-005d0a3a.entry.js} +1 -1
- package/dist/shift-components/p-0965eb41.entry.js +5 -0
- package/dist/shift-components/{p-ca0683e9.entry.js → p-164eeced.entry.js} +1 -1
- package/dist/shift-components/{p-295e445f.entry.js → p-219e589c.entry.js} +1 -1
- package/dist/shift-components/{p-b4544d10.entry.js → p-3324bdf6.entry.js} +1 -1
- package/dist/shift-components/{p-feb443ec.entry.js → p-3790e469.entry.js} +1 -1
- package/dist/shift-components/{p-df0c7ac1.entry.js → p-3895d8e5.entry.js} +1 -1
- package/dist/shift-components/p-391c55af.entry.js +5 -0
- package/dist/shift-components/{p-152057de.entry.js → p-3ba3f543.entry.js} +1 -1
- package/dist/shift-components/{p-D2Ofzg_i.js → p-48Fp2I0C.js} +1 -1
- package/dist/shift-components/p-5c28fb6d.entry.js +5 -0
- package/dist/shift-components/{p-85d43a41.entry.js → p-60232b66.entry.js} +1 -1
- package/dist/shift-components/{p-76b0ea8c.entry.js → p-82bb8960.entry.js} +1 -1
- package/dist/shift-components/{p-cbdc1c2e.entry.js → p-879faeec.entry.js} +1 -1
- package/dist/shift-components/p-90034cd8.entry.js +5 -0
- package/dist/shift-components/p-93ddc847.entry.js +5 -0
- package/dist/shift-components/p-C68bG4KE.js +5 -0
- package/dist/shift-components/{p-DDtDRGFL.js → p-DIe_G0iC.js} +1 -1
- package/dist/shift-components/p-Tjvj6pk4.js +5 -0
- package/dist/shift-components/p-WIpbRULc.js +5 -0
- package/dist/shift-components/{p-d3bbba07.entry.js → p-a4f1502c.entry.js} +1 -1
- package/dist/shift-components/{p-4cdeab63.entry.js → p-af71f000.entry.js} +1 -1
- package/dist/shift-components/p-bd8dbd1d.entry.js +5 -0
- package/dist/shift-components/{p-52530fba.entry.js → p-be19d7ff.entry.js} +1 -1
- package/dist/shift-components/{p-68e41217.entry.js → p-c40bda31.entry.js} +1 -1
- package/dist/shift-components/p-d47428d1.entry.js +5 -0
- package/dist/shift-components/p-d8844424.entry.js +5 -0
- package/dist/shift-components/p-e7986265.entry.js +5 -0
- package/dist/shift-components/p-f638970e.entry.js +5 -0
- package/dist/shift-components/{p-5e8e5ed7.entry.js → p-f93d79bc.entry.js} +1 -1
- package/dist/shift-components/{p-bfe0661c.entry.js → p-fa296247.entry.js} +1 -1
- package/dist/shift-components/p-pkYWYULB.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/stencil-docs.json +260 -102
- package/dist/types/components/components/information-table.d.ts +3 -0
- package/dist/types/components/vehicle-lookup/components/SscCampaigns.d.ts +128 -0
- package/dist/types/components/vehicle-lookup/components/glyphs.d.ts +15 -0
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +6 -1
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +25 -6
- package/dist/types/components/vehicle-lookup/vehicle-ssc.d.ts +214 -0
- package/dist/types/components/vehicle-lookup/vehicle-warranty-timeline.d.ts +3 -4
- package/dist/types/components.d.ts +214 -43
- package/dist/types/features/vehicle-lookup-component/index.d.ts +1 -0
- package/dist/types/features/vehicle-lookup-component/interface.d.ts +8 -1
- package/dist/types/features/vehicle-lookup-component/request-headers.d.ts +40 -0
- package/dist/types/global/lib/flexible-parents.d.ts +16 -0
- package/dist/types/global/lib/reveal-below.d.ts +26 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +3 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-repair-trace-dto.d.ts +12 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-repair-trace-labor-code-dto.d.ts +4 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-repair-trace-labor-line-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-repair-trace-warranty-claim-dto.d.ts +13 -0
- package/dist/types/locale-mapper.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/ssc/type.d.ts +128 -0
- package/dist/types/locales/vehicleLookup/warrantyTimeline/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +126 -36
- package/package.json +1 -1
- package/dist/cjs/arrow-icon-yMlETDbD.js +0 -11
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +0 -12
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +0 -11
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +0 -1
- package/dist/collection/locales/vehicleLookup/warranty/type.js +0 -25
- package/dist/components/p-38ox9qxm.js +0 -5
- package/dist/components/p-B2bD-55K.js +0 -5
- package/dist/components/p-CVpbr1tR.js +0 -5
- package/dist/components/p-CXbi5iPZ.js +0 -5
- package/dist/components/p-C_1_eN4N.js +0 -5
- package/dist/components/p-Cg6Prz81.js +0 -5
- package/dist/components/p-CqJiXtPb.js +0 -5
- package/dist/components/p-CrPyvAdX.js +0 -5
- package/dist/components/p-DCsMDWbS.js +0 -5
- package/dist/components/p-DqSdjh2n.js +0 -5
- package/dist/components/p-Dv2j7fhS.js +0 -5
- package/dist/components/p-K-OF4DG-.js +0 -5
- package/dist/components/p-X3AzJ0KD.js +0 -5
- package/dist/components/p-d3ZIPeEC.js +0 -5
- package/dist/components/p-mbVTvSJF.js +0 -5
- package/dist/components/p-rW_ExFCn.js +0 -5
- package/dist/components/p-uYkn8a0m.js +0 -5
- package/dist/components/vehicle-warranty-details.d.ts +0 -11
- package/dist/components/vehicle-warranty-details.js +0 -5
- package/dist/esm/arrow-icon-DziuNOTp.js +0 -9
- package/dist/locales/vehicleLookup/warranty/ar.json +0 -24
- package/dist/locales/vehicleLookup/warranty/en.json +0 -24
- package/dist/locales/vehicleLookup/warranty/ku.json +0 -24
- package/dist/locales/vehicleLookup/warranty/ru.json +0 -24
- package/dist/locales/vehicleLookup/warranty/type.ts +0 -23
- package/dist/shift-components/p-0b576888.entry.js +0 -5
- package/dist/shift-components/p-11ffa908.entry.js +0 -5
- package/dist/shift-components/p-198333fa.entry.js +0 -5
- package/dist/shift-components/p-247ac2db.entry.js +0 -5
- package/dist/shift-components/p-431522f2.entry.js +0 -5
- package/dist/shift-components/p-49dc6d73.entry.js +0 -5
- package/dist/shift-components/p-5ad4d072.entry.js +0 -5
- package/dist/shift-components/p-BggCINTA.js +0 -5
- package/dist/shift-components/p-D1ioFMhR.js +0 -5
- package/dist/shift-components/p-OfPuHUYc.js +0 -5
- package/dist/shift-components/p-b44b2c00.entry.js +0 -5
- package/dist/shift-components/p-c7fc8d5f.entry.js +0 -5
- package/dist/shift-components/p-f4679148.entry.js +0 -5
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +0 -12
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +0 -14
- package/dist/types/components/vehicle-lookup/vehicle-warranty-details.d.ts +0 -77
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +0 -38
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "هەڵمەتەکانی خزمەتگوزاری تایبەت",
|
|
3
|
+
"open": "کراوە",
|
|
4
|
+
"repaired": "چاککراوە",
|
|
5
|
+
"noCampaigns": "هیچ هەڵمەتێکی خزمەتگوزاری تایبەت ئەم ئۆتۆمبێلە ناگرێتەوە.",
|
|
6
|
+
"code": "هەڵمەت",
|
|
7
|
+
"description": "وەسف",
|
|
8
|
+
"status": "دۆخی چاککردنەوە",
|
|
9
|
+
"laborCodes": "کۆدەکانی کار",
|
|
10
|
+
"parts": "پارچەکان",
|
|
11
|
+
"sourceSSCRecord": "بەپێی تۆماری هەڵمەت",
|
|
12
|
+
"sourceWarrantyClaim": "بەپێی داواکاری گەرەنتی",
|
|
13
|
+
"sourceServiceHistory": "بەپێی مێژووی خزمەتگوزاری",
|
|
14
|
+
"partAvailable": "لە کۆگا بەردەستە",
|
|
15
|
+
"partUnavailable": "لە کۆگا بەردەست نییە",
|
|
16
|
+
"partNotChecked": "بەردەستبوون پشکنین نەکراوە",
|
|
17
|
+
"unauthorizedCheck": "ئەم ئۆتۆمبێلە لە تۆمارەکانی دابەشکەر نییە. پشکنینەکەی خوارەوە تەواو بکە بۆ پرسیارکردن لە بەرهەمهێنەر.",
|
|
18
|
+
"checkingTMC": "پشکنین لای بەرهەمهێنەر…",
|
|
19
|
+
"recallExists": "ئەم ئۆتۆمبێلە هەڵمەتێکی چاوەڕوانکراوی هەیە.",
|
|
20
|
+
"noRecall": "هیچ هەڵمەتێکی چاوەڕوانکراو نییە.",
|
|
21
|
+
"noApplicableVehicleFound": "ئۆتۆمبێل نەدۆزرایەوە.",
|
|
22
|
+
"pendingCampaign": "هەڵمەتی چاوەڕوانکراو",
|
|
23
|
+
"noPendingCampaign": "هیچ هەڵمەتێکی چاوەڕوانکراو نییە",
|
|
24
|
+
"notInRecords": "لە تۆمارەکانی دابەشکەر نییە",
|
|
25
|
+
"vehicleNotFound": "ئۆتۆمبێل نەدۆزرایەوە",
|
|
26
|
+
"unauthorizedNoCheck": "ئەم ئۆتۆمبێلە لە تۆمارەکانی دابەشکەر نییە، بۆیە هەڵمەتەکانی لێرە ناتوانرێت پیشان بدرێن.",
|
|
27
|
+
"campaignList": "هەڵمەتەکان",
|
|
28
|
+
"skipped": "پشکنین پێویستە",
|
|
29
|
+
"skippedNotice": "هەڵمەتەکانی سەلامەتی ئەم ئۆتۆمبێلە نەپشکنراون. پێش بەردەوامبوون پشکنینەکە ئەنجام بدە.",
|
|
30
|
+
"runCheck": "ئێستا هەڵمەتەکان بپشکنە",
|
|
31
|
+
"viewTrace": "بۆچی ئەم دۆخە؟",
|
|
32
|
+
"hideTrace": "شاردنەوەی بەڵگەکان",
|
|
33
|
+
"traceTitle": "ئەم دۆخە چۆن بڕیاری لەسەر درا",
|
|
34
|
+
"traceLoading": "بارکردنی بەڵگەکان…",
|
|
35
|
+
"traceFailed": "بەڵگەکان بار نەکران.",
|
|
36
|
+
"traceUnavailable": "هیچ شوێنپێیەکی بەڵگە بۆ ئەم هەڵمەتە بەردەست نییە.",
|
|
37
|
+
"traceOrder": "سێ سەرچاوە بە ڕیز پشکنین دەکرێن. یەکەم سەرچاوەی کە ڕاست دەرچێت دۆخەکە و بەرواری چاککردنەوە دیاری دەکات.",
|
|
38
|
+
"traceRecord": "تۆماری هەڵمەت",
|
|
39
|
+
"traceRecordDate": "بەرواری چاککردنەوە لە تۆمارەکەدا",
|
|
40
|
+
"traceRecordNone": "تۆمارەکە بەرواری چاککردنەوەی تێدا نییە.",
|
|
41
|
+
"traceCodes": "کۆدە کارە پەسەندکراوەکان",
|
|
42
|
+
"traceCampaignCode": "کۆدی هەڵمەت",
|
|
43
|
+
"traceInterchangeableWith": "گۆڕاوە لەگەڵ",
|
|
44
|
+
"traceClaims": "داواکارییەکانی گەرەنتی",
|
|
45
|
+
"traceClaimsNone": "هیچ داواکارییەکی گەرەنتی بۆ ئەم ئۆتۆمبێلە نییە.",
|
|
46
|
+
"traceClaim": "داواکاری",
|
|
47
|
+
"traceCompleted": "تەواوبوو",
|
|
48
|
+
"traceStatusQualifies": "وەک بەڵگە دەژمێردرێت",
|
|
49
|
+
"traceStatusNotQualifies": "وەک بەڵگە ناژمێردرێت",
|
|
50
|
+
"traceCampaignInComment": "کۆدی هەڵمەت لە تێبینی دابەشکەردا دۆزرایەوە",
|
|
51
|
+
"traceMatchedCode": "کۆدی کار",
|
|
52
|
+
"traceNoReference": "ئاماژە بەم هەڵمەتە ناکات",
|
|
53
|
+
"traceDecided": "دۆخەکەی دیاری کرد",
|
|
54
|
+
"traceHistory": "مێژووی خزمەتگوزاری",
|
|
55
|
+
"traceLinesExamined": "هێڵی کار پشکنین کران",
|
|
56
|
+
"traceLinesMatched": "کۆدی کاری هەڵمەتیان هەڵگرتووە",
|
|
57
|
+
"traceHistoryNone": "هیچ هێڵێکی کاری مێژووی خزمەتگوزاری کۆدی کاری هەڵمەتی هەڵنەگرتووە.",
|
|
58
|
+
"traceInvoice": "پسوولە",
|
|
59
|
+
"traceInvoiceStatus": "دۆخی پسوولە",
|
|
60
|
+
"traceVerdictOpen": "هیچ بەڵگەیەکی شیاو نەدۆزرایەوە، بۆیە هەڵمەتەکە هێشتا کراوەیە.",
|
|
61
|
+
"traceVerdictSSCRecord": "بەپێی تۆماری هەڵمەت چاککراوە.",
|
|
62
|
+
"traceVerdictWarrantyClaim": "بەپێی داواکارییەکی گەرەنتی چاککراوە.",
|
|
63
|
+
"traceVerdictServiceHistory": "بەپێی مێژووی خزمەتگوزاری چاککراوە."
|
|
64
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Специальные сервисные кампании",
|
|
3
|
+
"open": "Открыта",
|
|
4
|
+
"repaired": "Выполнена",
|
|
5
|
+
"noCampaigns": "Этот автомобиль не затронут специальными сервисными кампаниями.",
|
|
6
|
+
"code": "Кампания",
|
|
7
|
+
"description": "Описание",
|
|
8
|
+
"status": "Статус ремонта",
|
|
9
|
+
"laborCodes": "Коды работ",
|
|
10
|
+
"parts": "Запчасти",
|
|
11
|
+
"sourceSSCRecord": "по записи кампании",
|
|
12
|
+
"sourceWarrantyClaim": "по гарантийному требованию",
|
|
13
|
+
"sourceServiceHistory": "по истории обслуживания",
|
|
14
|
+
"partAvailable": "В наличии",
|
|
15
|
+
"partUnavailable": "Нет в наличии",
|
|
16
|
+
"partNotChecked": "Наличие не проверялось",
|
|
17
|
+
"unauthorizedCheck": "Этого автомобиля нет в базе дистрибьютора. Пройдите проверку ниже, чтобы запросить производителя.",
|
|
18
|
+
"checkingTMC": "Проверка у производителя…",
|
|
19
|
+
"recallExists": "У этого автомобиля есть незавершённая кампания.",
|
|
20
|
+
"noRecall": "Незавершённых кампаний нет.",
|
|
21
|
+
"noApplicableVehicleFound": "Автомобиль не найден.",
|
|
22
|
+
"pendingCampaign": "Незавершённая кампания",
|
|
23
|
+
"noPendingCampaign": "Незавершённых кампаний нет",
|
|
24
|
+
"notInRecords": "Нет в базе дистрибьютора",
|
|
25
|
+
"vehicleNotFound": "Автомобиль не найден",
|
|
26
|
+
"unauthorizedNoCheck": "Этого автомобиля нет в базе дистрибьютора, поэтому его кампании здесь показать нельзя.",
|
|
27
|
+
"campaignList": "Кампании",
|
|
28
|
+
"skipped": "Требуется проверка",
|
|
29
|
+
"skippedNotice": "Кампании безопасности этого автомобиля не проверены. Выполните проверку, прежде чем продолжать.",
|
|
30
|
+
"runCheck": "Проверить кампании сейчас",
|
|
31
|
+
"viewTrace": "Почему такой статус?",
|
|
32
|
+
"hideTrace": "Скрыть доказательства",
|
|
33
|
+
"traceTitle": "Как был определён этот статус",
|
|
34
|
+
"traceLoading": "Загрузка доказательств…",
|
|
35
|
+
"traceFailed": "Не удалось загрузить доказательства.",
|
|
36
|
+
"traceUnavailable": "Для этой кампании трассировка недоступна.",
|
|
37
|
+
"traceOrder": "Три источника проверяются по порядку. Первый подтвердившийся определяет статус и дату ремонта.",
|
|
38
|
+
"traceRecord": "Запись кампании",
|
|
39
|
+
"traceRecordDate": "Дата ремонта в записи",
|
|
40
|
+
"traceRecordNone": "В записи нет даты ремонта.",
|
|
41
|
+
"traceCodes": "Принимаемые коды работ",
|
|
42
|
+
"traceCampaignCode": "код кампании",
|
|
43
|
+
"traceInterchangeableWith": "взаимозаменяем с",
|
|
44
|
+
"traceClaims": "Гарантийные требования",
|
|
45
|
+
"traceClaimsNone": "По этому автомобилю нет гарантийных требований.",
|
|
46
|
+
"traceClaim": "Требование",
|
|
47
|
+
"traceCompleted": "Завершено",
|
|
48
|
+
"traceStatusQualifies": "учитывается как доказательство",
|
|
49
|
+
"traceStatusNotQualifies": "не учитывается как доказательство",
|
|
50
|
+
"traceCampaignInComment": "Код кампании найден в комментарии дистрибьютора",
|
|
51
|
+
"traceMatchedCode": "Код работы",
|
|
52
|
+
"traceNoReference": "Не относится к этой кампании",
|
|
53
|
+
"traceDecided": "Определило статус",
|
|
54
|
+
"traceHistory": "История обслуживания",
|
|
55
|
+
"traceLinesExamined": "строк работ проверено",
|
|
56
|
+
"traceLinesMatched": "содержат код работы кампании",
|
|
57
|
+
"traceHistoryNone": "Ни одна строка работ в истории обслуживания не содержит код работы кампании.",
|
|
58
|
+
"traceInvoice": "Счёт",
|
|
59
|
+
"traceInvoiceStatus": "Статус счёта",
|
|
60
|
+
"traceVerdictOpen": "Подходящих доказательств не найдено, поэтому кампания остаётся открытой.",
|
|
61
|
+
"traceVerdictSSCRecord": "Выполнена согласно записи кампании.",
|
|
62
|
+
"traceVerdictWarrantyClaim": "Выполнена согласно гарантийному требованию.",
|
|
63
|
+
"traceVerdictServiceHistory": "Выполнена согласно истории обслуживания."
|
|
64
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import yupTypeMapper from '~lib/yup-type-mapper';
|
|
2
|
+
|
|
3
|
+
const sscSchema = yupTypeMapper([
|
|
4
|
+
'title',
|
|
5
|
+
'open',
|
|
6
|
+
'repaired',
|
|
7
|
+
'noCampaigns',
|
|
8
|
+
'code',
|
|
9
|
+
'description',
|
|
10
|
+
'status',
|
|
11
|
+
'laborCodes',
|
|
12
|
+
'parts',
|
|
13
|
+
'sourceSSCRecord',
|
|
14
|
+
'sourceWarrantyClaim',
|
|
15
|
+
'sourceServiceHistory',
|
|
16
|
+
'partAvailable',
|
|
17
|
+
'partUnavailable',
|
|
18
|
+
'partNotChecked',
|
|
19
|
+
'unauthorizedCheck',
|
|
20
|
+
'checkingTMC',
|
|
21
|
+
'recallExists',
|
|
22
|
+
'noRecall',
|
|
23
|
+
'noApplicableVehicleFound',
|
|
24
|
+
'pendingCampaign',
|
|
25
|
+
'noPendingCampaign',
|
|
26
|
+
'notInRecords',
|
|
27
|
+
'vehicleNotFound',
|
|
28
|
+
'unauthorizedNoCheck',
|
|
29
|
+
'campaignList',
|
|
30
|
+
'skipped',
|
|
31
|
+
'skippedNotice',
|
|
32
|
+
'runCheck',
|
|
33
|
+
'viewTrace',
|
|
34
|
+
'hideTrace',
|
|
35
|
+
'traceTitle',
|
|
36
|
+
'traceLoading',
|
|
37
|
+
'traceFailed',
|
|
38
|
+
'traceUnavailable',
|
|
39
|
+
'traceOrder',
|
|
40
|
+
'traceRecord',
|
|
41
|
+
'traceRecordDate',
|
|
42
|
+
'traceRecordNone',
|
|
43
|
+
'traceCodes',
|
|
44
|
+
'traceCampaignCode',
|
|
45
|
+
'traceInterchangeableWith',
|
|
46
|
+
'traceClaims',
|
|
47
|
+
'traceClaimsNone',
|
|
48
|
+
'traceClaim',
|
|
49
|
+
'traceCompleted',
|
|
50
|
+
'traceStatusQualifies',
|
|
51
|
+
'traceStatusNotQualifies',
|
|
52
|
+
'traceCampaignInComment',
|
|
53
|
+
'traceMatchedCode',
|
|
54
|
+
'traceNoReference',
|
|
55
|
+
'traceDecided',
|
|
56
|
+
'traceHistory',
|
|
57
|
+
'traceLinesExamined',
|
|
58
|
+
'traceLinesMatched',
|
|
59
|
+
'traceHistoryNone',
|
|
60
|
+
'traceInvoice',
|
|
61
|
+
'traceInvoiceStatus',
|
|
62
|
+
'traceVerdictOpen',
|
|
63
|
+
'traceVerdictSSCRecord',
|
|
64
|
+
'traceVerdictWarrantyClaim',
|
|
65
|
+
'traceVerdictServiceHistory',
|
|
66
|
+
]);
|
|
67
|
+
|
|
68
|
+
export default sscSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { object } from 'yup';
|
|
2
|
-
import
|
|
2
|
+
import sscSchema from './ssc/type';
|
|
3
3
|
import accessoriesSchema from './accessories/type';
|
|
4
4
|
import specificationSchema from './specification/type';
|
|
5
5
|
import paintThicknessSchema from './paintThickness/type';
|
|
@@ -7,7 +7,7 @@ import ServiceHistorySchema from './serviceHistory/type';
|
|
|
7
7
|
import claimableItemsSchema from './claimableItems/type';
|
|
8
8
|
|
|
9
9
|
const vehicleLookupWrapperSchema = object({
|
|
10
|
-
|
|
10
|
+
ssc: sscSchema,
|
|
11
11
|
accessories: accessoriesSchema,
|
|
12
12
|
specification: specificationSchema,
|
|
13
13
|
claimableItems: claimableItemsSchema,
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
],
|
|
116
116
|
"repaired": false,
|
|
117
|
+
"repairSource": "None",
|
|
117
118
|
"parts": [
|
|
118
119
|
{
|
|
119
120
|
"partNumber": "47201-0K090",
|
|
@@ -123,7 +124,17 @@
|
|
|
123
124
|
"partNumber": "04465-0K240",
|
|
124
125
|
"isAvailable": false
|
|
125
126
|
}
|
|
126
|
-
]
|
|
127
|
+
],
|
|
128
|
+
"trace": {
|
|
129
|
+
"campaignLaborCodes": [
|
|
130
|
+
"LAB-BRK-01"
|
|
131
|
+
],
|
|
132
|
+
"interchangeableLaborCodes": [],
|
|
133
|
+
"warrantyClaims": [],
|
|
134
|
+
"serviceHistoryLaborLinesExamined": 1,
|
|
135
|
+
"serviceHistoryLaborLines": [],
|
|
136
|
+
"repairSource": "None"
|
|
137
|
+
}
|
|
127
138
|
}
|
|
128
139
|
],
|
|
129
140
|
"vehicleSpecification": {
|
|
@@ -601,11 +612,38 @@
|
|
|
601
612
|
}
|
|
602
613
|
],
|
|
603
614
|
"repaired": true,
|
|
615
|
+
"repairDate": "2024-08-10",
|
|
616
|
+
"repairSource": "SSCRecord",
|
|
604
617
|
"parts": [
|
|
605
618
|
{
|
|
606
619
|
"partNumber": "89661-0K720"
|
|
607
620
|
}
|
|
608
|
-
]
|
|
621
|
+
],
|
|
622
|
+
"trace": {
|
|
623
|
+
"campaignLaborCodes": [
|
|
624
|
+
"LAB-ECU-01"
|
|
625
|
+
],
|
|
626
|
+
"interchangeableLaborCodes": [],
|
|
627
|
+
"recordRepairDate": "2024-08-10",
|
|
628
|
+
"warrantyClaims": [
|
|
629
|
+
{
|
|
630
|
+
"claimStatus": "Accepted",
|
|
631
|
+
"statusQualifies": true,
|
|
632
|
+
"campaignCodeInComment": false,
|
|
633
|
+
"matchedLaborCodes": [
|
|
634
|
+
{
|
|
635
|
+
"laborCode": "LAB-ECU-01",
|
|
636
|
+
"campaignLaborCode": "LAB-ECU-01"
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"matches": true,
|
|
640
|
+
"selected": true
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"serviceHistoryLaborLinesExamined": 2,
|
|
644
|
+
"serviceHistoryLaborLines": [],
|
|
645
|
+
"repairSource": "SSCRecord"
|
|
646
|
+
}
|
|
609
647
|
}
|
|
610
648
|
],
|
|
611
649
|
"vehicleSpecification": {
|
|
@@ -229,6 +229,7 @@
|
|
|
229
229
|
}
|
|
230
230
|
],
|
|
231
231
|
"repaired": false,
|
|
232
|
+
"repairSource": "None",
|
|
232
233
|
"parts": [
|
|
233
234
|
{
|
|
234
235
|
"partNumber": "89170-0K010",
|
|
@@ -238,7 +239,28 @@
|
|
|
238
239
|
"partNumber": "04007-07212",
|
|
239
240
|
"isAvailable": false
|
|
240
241
|
}
|
|
241
|
-
]
|
|
242
|
+
],
|
|
243
|
+
"trace": {
|
|
244
|
+
"campaignLaborCodes": [
|
|
245
|
+
"LAB-AIR-01"
|
|
246
|
+
],
|
|
247
|
+
"interchangeableLaborCodes": [],
|
|
248
|
+
"warrantyClaims": [
|
|
249
|
+
{
|
|
250
|
+
"claimStatus": "Accepted",
|
|
251
|
+
"repairCompletionDate": "2024-03-20",
|
|
252
|
+
"statusQualifies": true,
|
|
253
|
+
"campaignCodeInComment": false,
|
|
254
|
+
"distributorComment": "Fuel pump relay replaced under campaign",
|
|
255
|
+
"matchedLaborCodes": [],
|
|
256
|
+
"matches": false,
|
|
257
|
+
"selected": false
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"serviceHistoryLaborLinesExamined": 3,
|
|
261
|
+
"serviceHistoryLaborLines": [],
|
|
262
|
+
"repairSource": "None"
|
|
263
|
+
}
|
|
242
264
|
},
|
|
243
265
|
{
|
|
244
266
|
"sscCode": "SSC-2023-005",
|
|
@@ -249,11 +271,48 @@
|
|
|
249
271
|
}
|
|
250
272
|
],
|
|
251
273
|
"repaired": true,
|
|
274
|
+
"repairDate": "2024-03-20",
|
|
275
|
+
"repairSource": "WarrantyClaim",
|
|
252
276
|
"parts": [
|
|
253
277
|
{
|
|
254
278
|
"partNumber": "90987-02027"
|
|
255
279
|
}
|
|
256
|
-
]
|
|
280
|
+
],
|
|
281
|
+
"trace": {
|
|
282
|
+
"campaignLaborCodes": [
|
|
283
|
+
"LAB-FP-01"
|
|
284
|
+
],
|
|
285
|
+
"interchangeableLaborCodes": [
|
|
286
|
+
{
|
|
287
|
+
"laborCode": "LAB-FP-010",
|
|
288
|
+
"campaignLaborCode": "LAB-FP-01"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"laborCode": "LAB-FP-01A",
|
|
292
|
+
"campaignLaborCode": "LAB-FP-01"
|
|
293
|
+
}
|
|
294
|
+
],
|
|
295
|
+
"warrantyClaims": [
|
|
296
|
+
{
|
|
297
|
+
"claimStatus": "Accepted",
|
|
298
|
+
"repairCompletionDate": "2024-03-20",
|
|
299
|
+
"statusQualifies": true,
|
|
300
|
+
"campaignCodeInComment": false,
|
|
301
|
+
"distributorComment": "Fuel pump relay replaced under campaign",
|
|
302
|
+
"matchedLaborCodes": [
|
|
303
|
+
{
|
|
304
|
+
"laborCode": "LAB-FP-01A",
|
|
305
|
+
"campaignLaborCode": "LAB-FP-01"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"matches": true,
|
|
309
|
+
"selected": true
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
"serviceHistoryLaborLinesExamined": 3,
|
|
313
|
+
"serviceHistoryLaborLines": [],
|
|
314
|
+
"repairSource": "WarrantyClaim"
|
|
315
|
+
}
|
|
257
316
|
}
|
|
258
317
|
],
|
|
259
318
|
"vehicleSpecification": {
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{r as t,h as e,H as i,g as a}from"./p-CteZTPhq.js";import{d as r}from"./p-nGZ6Nphz.js";import{c as o,b as n,a as s,d as p}from"./p-BDhR4pDq.js";import{g as d,a as l}from"./p-OfPuHUYc.js";import{F as c,g as h}from"./p-DzV_ls5o.js";import{c as b}from"./p-BK16Cn81.js";import{f as x}from"./p-Cmq7s1Gl.js";import{s as g}from"./p-6IrGK81y.js";const w=async({})=>[{value:"0",label:"V"},{value:"1",label:"A "}],f=o({orderType:n().meta({label:"Order Type",placeholder:"Order Type"}).required("This field is required."),quantity:s().meta({label:"quantity",placeholder:"quantity"}).required("This field is required.").typeError("This field is required.").min(1,"This field is required."),partNumber:n().meta({label:"Part Number",placeholder:"Part Number"}).required("This field is required.")}),m=class{constructor(e){t(this,e),this.locale=Object.assign({sharedLocales:p.getDefault()},r.getDefault()),this.isLoading=!1,this.formSubmit=async t=>{try{if(this.isDev)return await new Promise((t=>setTimeout(t,2e3))),this.manufacturerResponse=.5<Math.random()?.5<Math.random()?{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[]}:{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"UnResolved",manufacturerResult:[]}:{id:"2",message:"",quantity:2,orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[{key:"item 1",value:`${Math.floor(100*Math.random())}`},{key:"item 2",value:"Available"},{key:"item 3",value:`${Math.floor(100*Math.random())}`},{key:"item 4",value:"Not Available"}]},void this.form.reset();const e={logId:this.logId,quantity:+t.quantity,partNumber:t.partNumber,orderType:+t.orderType},i=await g.bind(this)(this.getHeaders),a=await x(this.manufacturerPartLookupEndpoint,{language:this.language,body:e,method:"POST",headers:i});if(!a.ok)throw new Error(`Request failed with status ${a.status}`);const r=await a.json();this.form.reset(),this.manufacturerResponse=r}catch(t){console.error("❌ Manufacturer Lookup request failed:",t),this.manufacturerResponse={message:this.locale.RequestFailed}}},this.logId="",this.standAlone=!0,this.manufacturerPartLookupTitle="Manufacture lookup",this.form=new c(this,f)}async componentWillLoad(){this.language||(this.language=h()),await Promise.all([this.changeLanguage(this.language)])}async changeLanguage(t){const[e,i]=await Promise.all([d(t),l(t,"partLookup.distributor",r)]);this.locale=Object.assign({sharedLocales:e},i)}async setBlazorRef(t){this.blazorRef=t}render(){var t,a,r,o,n,s,p,d;const{formController:l}=this.form,c=!!(null===(t=null==this?void 0:this.partLookup)||void 0===t?void 0:t.showManufacturerPartLookup)&&!this.closeManufacturerPartLookup||this.standAlone;return e(i,{key:"b0229d79da2a384e4fd5db97d4d730ce80cb8265",translate:"no"},e("flexible-container",{key:"0ad649cda40db0e5bda1e55697c5aad5d02630a4",isOpened:c},e("div",{key:"5aed4351c10ab80fc0a48489e7c983a9e388dc34",class:"w-full max-w-[96vw] mx-auto pt-[32px]"},e("div",{key:"a722beb56a4025e15b71576f20fae12085d7b43c",class:"bg-[#f6f6f6] rounded-md p-[16px]"},e("div",{key:"8ccee79514f8b4d5676f837f9182b4dabeca4fe9",class:"flex items-center mb-[12px] justify-center px-[16px] font-bold text-[18px]"},this.manufacturerPartLookupTitle),e("form",Object.assign({key:"4ed1479c810565c84947cd0105650d26e0f5abbb",class:"relative manufacturer-form flex flex-col items-center gap-[32px] pt-[8px] pb-[16px]",dir:this.locale.sharedLocales.direction},l),e("div",{key:"57bdb69a4e7ab1e15fa815522afa75bf14ad69dd",class:"flex gap-2"},e("form-input",{form:this.form,name:"partNumber",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,staticValue:(null===(a=this.partLookup)||void 0===a?void 0:a.partNumber)||void 0}),e("form-input",{inputProps:{type:"number",min:1},name:"quantity",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,form:this.form}),e("form-select",{clearable:!0,form:this.form,name:"orderType",isLoading:this.isLoading,fetcher:w,key:this.locale.sharedLocales.lang,language:this.locale.sharedLocales.language})),e("form-submit",{key:this.locale.sharedLocales.lang,isLoading:this.isLoading,form:this.form})),e("flexible-container",{key:"c5db263f9aa8128529b64a3ba4cf8ec2bce2951d",isOpened:!!this.manufacturerResponse&&!this.isLoading},e("div",{key:"39bc0155110dde991f8f2a3ff564d868a2661869",class:"flex flex-col items-center pt-[12px]"},e("div",{key:"abbbb28f7ac419a3beddafec77caceb520e4e0b6",class:b("text-center text-[20px] font-semibold py-[12px]")},!(null===(o=null===(r=this.manufacturerResponse)||void 0===r?void 0:r.manufacturerResult)||void 0===o?void 0:o.length)&&((null===(n=this.manufacturerResponse)||void 0===n?void 0:n.message)||this.locale.RequestFailed),!!(null===(p=null===(s=this.manufacturerResponse)||void 0===s?void 0:s.manufacturerResult)||void 0===p?void 0:p.length)&&e("div",{key:"33cdf0a4ff46e59793a9e80410375ec18a48fec4",class:"bg-white rounded-lg border w-[500px]"},null===(d=this.manufacturerResponse)||void 0===d?void 0:d.manufacturerResult.map((({key:t,value:i})=>e("div",{key:`${t}-${i}`,class:"flex even:bg-slate-100 hover:bg-sky-100/50 border-b w-full text-xl text-center"},e("div",{class:"text-center flex items-center flex-1 max-w-[250px] shrink-0 justify-center py-[10px] px-[16px] border-r"},t),e("div",{class:"text-center flex items-center flex-1 shrink-0 justify-center py-[10px] px-[16px] border-l"},i))))))))))))}get el(){return a(this)}static get watchers(){return{language:[{changeLanguage:0}]}}};m.style='*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}: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}.block{display:block}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.static{position:static}.flex{display:flex}.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)}.flex-col{flex-direction:column}.gap-\\[16px\\]{gap:16px}.p-\\[16px\\]{padding:16px}.pb-\\[16px\\]{padding-bottom:16px}.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)}.me-1{margin-inline-end:.25rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-stretch{align-items:stretch}.gap-\\[8px\\]{gap:8px}.overflow-auto{overflow:auto}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.p-\\[2px\\]{padding:2px}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-\\[16px\\]{font-size:16px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.mx-auto{margin-left:auto;margin-right:auto}.me-2{margin-inline-end:.5rem}.mt-\\[32px\\]{margin-top:32px}.h-\\[50px\\]{height:50px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.overflow-x-auto{overflow-x:auto}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.text-\\[green\\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\\[orange\\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\\[red\\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.relative{position:relative}.mb-\\[12px\\]{margin-bottom:12px}.w-\\[500px\\]{width:500px}.max-w-\\[250px\\]{max-width:250px}.max-w-\\[96vw\\]{max-width:96vw}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.gap-2{gap:.5rem}.gap-\\[32px\\]{gap:32px}.rounded-md{border-radius:.375rem}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[12px\\]{padding-bottom:12px}.pt-\\[12px\\],.py-\\[12px\\]{padding-top:12px}.pt-\\[32px\\]{padding-top:32px}.pt-\\[8px\\]{padding-top:8px}.text-center{text-align:center}.text-\\[20px\\]{font-size:20px}.text-xl{font-size:1.25rem;line-height:1.75rem}.even\\:bg-slate-100:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\\:bg-sky-100\\/50:hover{background-color:rgba(224,242,254,.5)}.\\!pointer-events-none{pointer-events:none!important}.absolute{position:absolute}.top-0{top:0}.\\!w-full{width:100%!important}.translate-x-\\[-200\\%\\]{--tw-translate-x:-200%}.translate-x-\\[-200\\%\\],.translate-y-\\[200\\%\\]{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-\\[200\\%\\]{--tw-translate-y:200%}.opacity-0{opacity:0}.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)}.\\!duration-0{transition-duration:0s!important}.\\[\\&_\\*\\]\\:\\!pointer-events-none *{pointer-events:none!important}.my-auto{margin-bottom:auto;margin-top:auto}.table{display:table}.grid{display:grid}.size-\\[20px\\]{height:20px;width:20px}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.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))}.cursor-pointer{cursor:pointer}.place-items-center{place-items:center}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/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-200\\/70{background-color:rgba(226,232,240,.7)}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-\\[8px\\]{padding-left:8px;padding-right:8px}.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-\\[13px\\]{font-size:13px}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.last\\:border-b-0:last-child{border-bottom-width:0}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-sky-200:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.hover\\:bg-slate-200\\/70:hover{background-color:rgba(226,232,240,.7)}.resize{resize:both}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-500{transition-duration:.5s!important}.hidden{display:none}';export{m as manufacturer_part_lookup}
|
|
5
|
+
import{r as t,h as e,H as i,g as r}from"./p-CteZTPhq.js";import{d as a}from"./p-nGZ6Nphz.js";import{c as o,b as n,a as s,d as p}from"./p-BDhR4pDq.js";import{g as d,a as l}from"./p-pkYWYULB.js";import{F as c,g as h}from"./p-DzV_ls5o.js";import{c as b}from"./p-BK16Cn81.js";import{f as x}from"./p-Cmq7s1Gl.js";import{s as g}from"./p-6IrGK81y.js";const w=async({})=>[{value:"0",label:"V"},{value:"1",label:"A "}],f=o({orderType:n().meta({label:"Order Type",placeholder:"Order Type"}).required("This field is required."),quantity:s().meta({label:"quantity",placeholder:"quantity"}).required("This field is required.").typeError("This field is required.").min(1,"This field is required."),partNumber:n().meta({label:"Part Number",placeholder:"Part Number"}).required("This field is required.")}),m=class{constructor(e){t(this,e),this.locale=Object.assign({sharedLocales:p.getDefault()},a.getDefault()),this.isLoading=!1,this.formSubmit=async t=>{try{if(this.isDev)return await new Promise((t=>setTimeout(t,2e3))),this.manufacturerResponse=.5<Math.random()?.5<Math.random()?{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[]}:{message:"",quantity:2,id:"2",orderType:"Airplane",partNumber:"T110715002102",status:"UnResolved",manufacturerResult:[]}:{id:"2",message:"",quantity:2,orderType:"Airplane",partNumber:"T110715002102",status:"Pending",manufacturerResult:[{key:"item 1",value:`${Math.floor(100*Math.random())}`},{key:"item 2",value:"Available"},{key:"item 3",value:`${Math.floor(100*Math.random())}`},{key:"item 4",value:"Not Available"}]},void this.form.reset();const e={logId:this.logId,quantity:+t.quantity,partNumber:t.partNumber,orderType:+t.orderType},i=await g.bind(this)(this.getHeaders),r=await x(this.manufacturerPartLookupEndpoint,{language:this.language,body:e,method:"POST",headers:i});if(!r.ok)throw new Error(`Request failed with status ${r.status}`);const a=await r.json();this.form.reset(),this.manufacturerResponse=a}catch(t){console.error("❌ Manufacturer Lookup request failed:",t),this.manufacturerResponse={message:this.locale.RequestFailed}}},this.logId="",this.standAlone=!0,this.manufacturerPartLookupTitle="Manufacture lookup",this.form=new c(this,f)}async componentWillLoad(){this.language||(this.language=h()),await Promise.all([this.changeLanguage(this.language)])}async changeLanguage(t){const[e,i]=await Promise.all([d(t),l(t,"partLookup.distributor",a)]);this.locale=Object.assign({sharedLocales:e},i)}async setBlazorRef(t){this.blazorRef=t}render(){var t,r,a,o,n,s,p,d;const{formController:l}=this.form,c=!!(null===(t=null==this?void 0:this.partLookup)||void 0===t?void 0:t.showManufacturerPartLookup)&&!this.closeManufacturerPartLookup||this.standAlone;return e(i,{key:"b6eac6c29e0f7432b73fa17af07b3a6792957e26",translate:"no"},e("flexible-container",{key:"e619cdd790a0cd988080973f5eef9893f762149b",isOpened:c},e("div",{key:"3ea02fdb71f5485adb0826be4d0ee4c2033348b5",class:"w-full max-w-[96vw] mx-auto pt-[32px]"},e("div",{key:"82f13149a628b798a01b75abf9b225a88b29423d",class:"bg-[#f6f6f6] rounded-md p-[16px]"},e("div",{key:"d2cbfd085b00ce1c0b6cbe23deee527acd9e74dc",class:"flex items-center mb-[12px] justify-center px-[16px] font-bold text-[18px]"},this.manufacturerPartLookupTitle),e("form",Object.assign({key:"3ee34d9c605d0d5a9142990c61dee980f26cfaf9",class:"relative manufacturer-form flex flex-col items-center gap-[32px] pt-[8px] pb-[16px]",dir:this.locale.sharedLocales.direction},l),e("div",{key:"97446f6304c5a234f4b3c968e8636cb020aa91f7",class:"flex gap-2"},e("form-input",{form:this.form,name:"partNumber",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,staticValue:(null===(r=this.partLookup)||void 0===r?void 0:r.partNumber)||void 0}),e("form-input",{inputProps:{type:"number",min:1},name:"quantity",isLoading:this.isLoading,key:this.locale.sharedLocales.lang,form:this.form}),e("form-select",{clearable:!0,form:this.form,name:"orderType",isLoading:this.isLoading,fetcher:w,key:this.locale.sharedLocales.lang,language:this.locale.sharedLocales.language})),e("form-submit",{key:this.locale.sharedLocales.lang,isLoading:this.isLoading,form:this.form})),e("flexible-container",{key:"6a844f0ac7502a079793dc5a94b05f5db454d427",isOpened:!!this.manufacturerResponse&&!this.isLoading},e("div",{key:"96cccb77ae605680fef5b4d1c3d7fd06232402fb",class:"flex flex-col items-center pt-[12px]"},e("div",{key:"f90378953a59e3941a8cc5692f87f3b2f6acdce7",class:b("text-center text-[20px] font-semibold py-[12px]")},!(null===(o=null===(a=this.manufacturerResponse)||void 0===a?void 0:a.manufacturerResult)||void 0===o?void 0:o.length)&&((null===(n=this.manufacturerResponse)||void 0===n?void 0:n.message)||this.locale.RequestFailed),!!(null===(p=null===(s=this.manufacturerResponse)||void 0===s?void 0:s.manufacturerResult)||void 0===p?void 0:p.length)&&e("div",{key:"d3f36c34627b7f2755199865c59b5438f4dfe576",class:"bg-white rounded-lg border w-[500px]"},null===(d=this.manufacturerResponse)||void 0===d?void 0:d.manufacturerResult.map((({key:t,value:i})=>e("div",{key:`${t}-${i}`,class:"flex even:bg-slate-100 hover:bg-sky-100/50 border-b w-full text-xl text-center"},e("div",{class:"text-center flex items-center flex-1 max-w-[250px] shrink-0 justify-center py-[10px] px-[16px] border-r"},t),e("div",{class:"text-center flex items-center flex-1 shrink-0 justify-center py-[10px] px-[16px] border-l"},i))))))))))))}get el(){return r(this)}static get watchers(){return{language:[{changeLanguage:0}]}}};m.style='*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}: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}.block{display:block}:host{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}*,:host *{font-family:inherit!important}.static{position:static}.flex{display:flex}.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)}.mx-auto{margin-left:auto;margin-right:auto}.me-2{margin-inline-end:.5rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\\[32px\\]{margin-top:32px}.inline-flex{display:inline-flex}.h-\\[50px\\]{height:50px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.flex-wrap{flex-wrap:wrap}.items-stretch{align-items:stretch}.gap-\\[16px\\]{gap:16px}.gap-\\[8px\\]{gap:8px}.overflow-auto{overflow:auto}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.bg-\\[\\#f6f6f6\\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.p-\\[16px\\]{padding:16px}.p-\\[2px\\]{padding:2px}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-\\[16px\\]{font-size:16px}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\\[green\\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\\[orange\\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\\[red\\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.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)}@media (min-width:768px){.md\\:justify-between{justify-content:space-between}}.\\[\\&\\>div\\]\\:grow>div{flex-grow:1}.me-1{margin-inline-end:.25rem}.flex-col{flex-direction:column}.pb-\\[16px\\]{padding-bottom:16px}.relative{position:relative}.mb-\\[12px\\]{margin-bottom:12px}.w-\\[500px\\]{width:500px}.max-w-\\[250px\\]{max-width:250px}.max-w-\\[96vw\\]{max-width:96vw}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.gap-2{gap:.5rem}.gap-\\[32px\\]{gap:32px}.rounded-md{border-radius:.375rem}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[12px\\]{padding-bottom:12px}.pt-\\[12px\\],.py-\\[12px\\]{padding-top:12px}.pt-\\[32px\\]{padding-top:32px}.pt-\\[8px\\]{padding-top:8px}.text-center{text-align:center}.text-\\[20px\\]{font-size:20px}.text-xl{font-size:1.25rem;line-height:1.75rem}.even\\:bg-slate-100:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.hover\\:bg-sky-100\\/50:hover{background-color:rgba(224,242,254,.5)}.\\!pointer-events-none{pointer-events:none!important}.absolute{position:absolute}.top-0{top:0}.\\!w-full{width:100%!important}.translate-x-\\[-200\\%\\]{--tw-translate-x:-200%}.translate-x-\\[-200\\%\\],.translate-y-\\[200\\%\\]{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-\\[200\\%\\]{--tw-translate-y:200%}.opacity-0{opacity:0}.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)}.\\!duration-0{transition-duration:0s!important}.\\[\\&_\\*\\]\\:\\!pointer-events-none *{pointer-events:none!important}.my-auto{margin-bottom:auto;margin-top:auto}.table{display:table}.grid{display:grid}.size-\\[20px\\]{height:20px;width:20px}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.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))}.cursor-pointer{cursor:pointer}.place-items-center{place-items:center}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-200{--tw-bg-opacity:1;background-color:rgb(186 230 253/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-200\\/70{background-color:rgba(226,232,240,.7)}.px-\\[12px\\]{padding-left:12px;padding-right:12px}.px-\\[6px\\]{padding-left:6px;padding-right:6px}.px-\\[8px\\]{padding-left:8px;padding-right:8px}.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-\\[13px\\]{font-size:13px}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.last\\:border-b-0:last-child{border-bottom-width:0}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-sky-200:hover{--tw-bg-opacity:1;background-color:rgb(186 230 253/var(--tw-bg-opacity,1))}.hover\\:bg-slate-200\\/70:hover{background-color:rgba(226,232,240,.7)}.resize{resize:both}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.overflow-hidden{overflow:hidden}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-500{transition-duration:.5s!important}.hidden{display:none}';export{m as manufacturer_part_lookup}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import{r as t,h as i,H as e,g as o}from"./p-CteZTPhq.js";import{g as r}from"./p-48Fp2I0C.js";import{c as a,d as s}from"./p-BDhR4pDq.js";import{S as n,p as l,c,s as h,a as d,b as p}from"./p-C68bG4KE.js";import{V as b}from"./p-D7cqTTll.js";import{a as w,g as u}from"./p-pkYWYULB.js";import"./p-BK16Cn81.js";const g=a({ssc:p,accessories:d,specification:h,claimableItems:c,paintThickness:l,serviceHistory:n}),v={vehicleAccessories:"vehicle-accessories",vehicleSpecification:"vehicle-specification",vehiclePaintThickness:"vehicle-paint-thickness",vehicleServiceHistory:"vehicle-service-history",vehicleClaimableItems:"vehicle-claimable-items",vehicleSaleInformation:"vehicle-sale-information",vehicleWarrantyTimeline:"vehicle-warranty-timeline",vehicleSsc:"vehicle-ssc"},f=t=>!!t&&"object"==typeof t&&Object.keys(t).length>0,y=class{constructor(i){t(this,i),this.language="en",this.locale=s.getDefault(),this.activeElement="",this.baseUrl="",this.isDev=!1,this.mockUrl="",this.mockRecaptcha=!1,this.disableVinValidation=!1,this.queryString="",this.sscQueryString="",this.hiddenTabs="",this.blazorRequestHeadersProvider="",this.blazorErrorStateListener="",this.blazorOnLoadingStateChange="",this.blazorDynamicClaimActivate="",this.currentVin="",this.isError=!1,this.isLoading=!1,this.searchGeneration=0,this.syncErrorAcrossComponents=t=>{var i,e;this.isError=!0,this.errorMessage=(null===(e=null===(i=this.locale)||void 0===i?void 0:i.errors)||void 0===e?void 0:e[t])||this.locale.errors.wildCard,Object.values(this.componentsList).forEach((i=>{i&&i.setErrorMessage(t)}))},this.resolveRequestHeaders=async()=>this.requestHeadersProvider?await this.requestHeadersProvider():this.blazorRef&&this.blazorRequestHeadersProvider?await this.blazorRef.invokeMethodAsync(this.blazorRequestHeadersProvider):this.lastRequestHeaders,this.loadingStateChangingMiddleware=t=>{this.isLoading=t,this.loadingStateChanged&&this.loadingStateChanged(t),this.blazorRef&&this.blazorOnLoadingStateChange&&this.blazorRef.invokeMethodAsync(this.blazorOnLoadingStateChange,t)}}async componentWillLoad(){await this.changeLanguage(this.language)}async changeLanguage(t){const i=await Promise.all([w(t,"vehicleLookup",g),u(t)]);this.locale=i[1]}async componentDidLoad(){const t=this.el.shadowRoot.getElementById("vehicle-accessories"),i=this.el.shadowRoot.getElementById("vehicle-claimable-items"),e=this.el.shadowRoot.getElementById("vehicle-service-history"),o=this.el.shadowRoot.getElementById("vehicle-warranty-timeline"),r=this.el.shadowRoot.getElementById("vehicle-paint-thickness"),a=this.el.shadowRoot.getElementById("vehicle-specification"),s=this.el.shadowRoot.getElementById("vehicle-sale-information"),n=this.el.shadowRoot.getElementById("vehicle-ssc");this.componentsList={[v.vehicleClaimableItems]:i,[v.vehicleServiceHistory]:e,[v.vehicleWarrantyTimeline]:o,[v.vehicleAccessories]:t,[v.vehiclePaintThickness]:r,[v.vehicleSpecification]:a,[v.vehicleSaleInformation]:s,[v.vehicleSsc]:n},Object.values(this.componentsList).forEach((t=>{t&&(t.errorCallback=this.syncErrorAcrossComponents,t.loadingStateChange=this.loadingStateChangingMiddleware,t.loadedResponse=i=>this.handleLoadData(i,t),t.requestHeadersProvider=this.resolveRequestHeaders)})),i&&this.dynamicClaimActivate&&(i.activate=this.dynamicClaimActivate),i&&(i.activate=t=>{this.blazorRef&&this.blazorDynamicClaimActivate&&this.blazorRef.invokeMethodAsync(this.blazorDynamicClaimActivate,t)}),this.isDev&&await this.loadMockData()}async onIsDevChange(t){t&&await this.loadMockData()}async loadMockData(){if(!this.componentsList)return;const t=await r("vehicle-lookup",this.mockUrl);Object.values(this.componentsList).forEach((i=>{i&&i.setMockData(t)}))}async handleLoadData(t,i){const e=this.searchGeneration;if(this.isError=!1,this.errorMessage="",this.currentVin=t.vin||"",e!==this.searchGeneration)return;const o=this.sscQueryString&&this.componentsList[v.vehicleSsc]||null,r=o&&null!==i&&i!==o;Object.values(this.componentsList).forEach((e=>{null!==e&&e!==i&&t&&(r&&e===o?e.skipLookup(t.vin||""):e.fetchVin(t))}))}async errorListener(t){this.errorStateListener&&this.errorStateListener(t),this.blazorRef&&this.blazorErrorStateListener&&this.blazorRef.invokeMethodAsync(this.blazorErrorStateListener,t)}async setBlazorRef(t){this.blazorRef=t}async fetchVin(t,i={}){const e=this.componentsList[this.activeElement]||null,o=f(i)?i:await this.resolveRequestHeaders();f(o)&&(this.lastRequestHeaders=o),e&&(this.searchGeneration++,e.fetchVin(t,o||{}))}render(){var t;const o={[v.vehicleAccessories]:{},[v.vehicleSpecification]:{},[v.vehicleClaimableItems]:{},[v.vehiclePaintThickness]:{},[v.vehicleServiceHistory]:{},[v.vehicleWarrantyTimeline]:{},[v.vehicleSaleInformation]:{},[v.vehicleSsc]:{}};try{if(this.childrenProps){let t={};"string"==typeof this.childrenProps?t=JSON.parse(this.childrenProps):"object"==typeof this.childrenProps&&(t=this.childrenProps),Object.keys(o).forEach((i=>{"object"==typeof t[i]&&(o[i]=t[i])}))}}catch(t){console.error(t)}const r=new Set(this.hiddenTabs.split(",").map((t=>t.trim())).filter(Boolean));if(!Object.values(v).includes(this.activeElement)||r.has(this.activeElement))return i("div",{class:"w-full h-[200px] text-[26px] text-red-600 flex items-center justify-center"},"Invalid tag");const a={"vehicle-specification":i("vehicle-specification",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleSpecification},o[v.vehicleSpecification])),"vehicle-accessories":i("vehicle-accessories",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleAccessories},o[v.vehicleAccessories])),"vehicle-sale-information":i("vehicle-sale-information",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleSaleInformation},o[v.vehicleSaleInformation])),"vehicle-warranty-timeline":i("vehicle-warranty-timeline",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleWarrantyTimeline},o[v.vehicleWarrantyTimeline])),"vehicle-ssc":i("vehicle-ssc",Object.assign({coreOnly:!0,isDev:this.isDev,mockRecaptcha:this.mockRecaptcha,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,"lookup-query-string":this.sscQueryString,id:v.vehicleSsc},o[v.vehicleSsc])),"vehicle-service-history":i("vehicle-service-history",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleServiceHistory},o[v.vehicleServiceHistory])),"vehicle-paint-thickness":i("vehicle-paint-thickness",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehiclePaintThickness},o[v.vehiclePaintThickness])),"vehicle-claimable-items":i("vehicle-claimable-items",Object.assign({coreOnly:!0,isDev:this.isDev,disableVinValidation:this.disableVinValidation,"base-url":this.baseUrl,language:this.language,"query-string":this.queryString,id:v.vehicleClaimableItems},o[v.vehicleClaimableItems]))},s=Object.fromEntries(Object.entries(a).filter((([t])=>!r.has(t)))),n=o[v.vehicleClaimableItems],l=!(this.activeElement!==v.vehicleClaimableItems||!(null!==(t=null==n?void 0:n.showTrace)&&void 0!==t?t:null==n?void 0:n["show-trace"])||!this.currentVin||this.isError||this.isLoading);return i(e,{translate:"no"},i(b,{isError:this.isError,header:this.currentVin,isLoading:this.isLoading,direction:this.locale.direction,errorMessage:this.errorMessage||this.locale.errors.wildCard,headerRight:l?i("button",{type:"button",class:"trace-trigger-button",title:"View Lookup Trace","aria-label":"View Lookup Trace",onClick:()=>{var t,i;return null===(i=null===(t=this.componentsList)||void 0===t?void 0:t[v.vehicleClaimableItems])||void 0===i?void 0:i.openTrace()}},i("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("circle",{cx:"6",cy:"19",r:"3"}),i("path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15"}),i("circle",{cx:"18",cy:"5",r:"3"}))):null},i("shift-tab-content",{components:s,activeComponent:this.activeElement})))}get el(){return o(this)}static get watchers(){return{language:[{changeLanguage:0}],isDev:[{onIsDevChange:0}],errorMessage:[{errorListener:0}]}}};y.style='*,: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-scroll-snap-strictness:proximity;--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;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-scroll-snap-strictness:proximity;--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;}: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}.\\!pointer-events-none{pointer-events:none!important}.absolute{position:absolute}.\\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.hidden{display:none}.size-\\[32px\\]{height:32px;width:32px}.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))}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.\\!overflow-hidden{overflow:hidden!important}.rounded-\\[4px\\]{border-radius:4px}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-\\[\\#e0c97a\\]{--tw-border-opacity:1;border-color:rgb(224 201 122/var(--tw-border-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.text-\\[\\#c08a0e\\]{--tw-text-opacity:1;color:rgb(192 138 14/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.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-200{transition-duration:.2s}.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-size:300% 300%;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{all:initial!important;display:block;font-family:inherit!important;font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}.part-lookup,.part-lookup *{font-family:Noto Kufi Arabic,Nunito,Roboto,Arial,sans-serif!important}.trace-trigger-button{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-color:rgb(224 201 122/var(--tw-border-opacity,1));border-radius:9999px;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);color:rgb(192 138 14/var(--tw-text-opacity,1));cursor:pointer;display:flex;height:32px;justify-content:center;transition-duration:.2s;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);width:32px}.trace-trigger-button:hover{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(252 248 227/var(--tw-bg-opacity,1));border-color:rgb(192 138 14/var(--tw-border-opacity,1));color:rgb(138 109 59/var(--tw-text-opacity,1))}.trace-trigger-button svg{height:18px;width:18px}.hover\\:border-\\[\\#c08a0e\\]:hover{--tw-border-opacity:1;border-color:rgb(192 138 14/var(--tw-border-opacity,1))}.hover\\:bg-\\[\\#fcf8e3\\]:hover{--tw-bg-opacity:1;background-color:rgb(252 248 227/var(--tw-bg-opacity,1))}.hover\\:text-\\[\\#8a6d3b\\]:hover{--tw-text-opacity:1;color:rgb(138 109 59/var(--tw-text-opacity,1))}.static{position:static}.h-\\[200px\\]{height:200px}.w-full{width:100%}.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)}.sr-only{clip:rect(0,0,0,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}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.z-\\[999\\]{z-index:999}.h-\\[100dvh\\]{height:100dvh}.w-\\[100dvw\\]{width:100dvw}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.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%}.resize{resize:both}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.stroke-\\[1\\.5px\\]{stroke-width:1.5px}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}';export{y as vehicle_lookup}
|