adp-web-components 0.0.90 → 0.0.92
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/contact-us-form.cjs.entry.js +4 -4
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +282 -325
- package/dist/cjs/empty-table-icon-PdTX6gpI.js +16 -0
- package/dist/cjs/flexible-container.cjs.entry.js +43 -46
- package/dist/cjs/form-dialog_8.cjs.entry.js +12 -12
- package/dist/cjs/{get-local-language-XsAJEAsO.js → get-local-language-Ch7javM0.js} +38 -38
- package/dist/cjs/information-table.cjs.entry.js +6 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/material-card-Cd0L1Get.js +43 -0
- package/dist/cjs/part-lookup.cjs.entry.js +32 -11
- package/dist/cjs/print-icon-C4ASnhAO.js +106 -0
- package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-tab-content.cjs.entry.js +42 -0
- package/dist/cjs/shift-tabs_2.cjs.entry.js +277 -234
- package/dist/cjs/{vehicle-info-layout-BSAeLW7e.js → type-BG4jir8r.js} +45 -9
- package/dist/cjs/{type-BAD2dFzP.js → type-BpPQE0Ww.js} +1 -1
- package/dist/cjs/{type-DT5vXP0E.js → type-DB__lcA9.js} +1 -1
- package/dist/cjs/vehicle-accessories_6.cjs.entry.js +1115 -0
- package/dist/cjs/vehicle-info-layout-Dp2Po_uc.js +16 -0
- package/dist/cjs/vehicle-lookup.cjs.entry.js +19 -16
- package/dist/cjs/vin-extractor.cjs.entry.js +3 -3
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/flexible-container.js +34 -36
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/information-table.js +45 -2
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/material-card.js +2 -2
- 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/form-elements/form-dialog.js +6 -6
- package/dist/collection/components/form-elements/form-input.js +4 -4
- package/dist/collection/components/form-elements/form-select.js +6 -6
- package/dist/collection/components/form-elements/form-structure-error.js +4 -4
- package/dist/collection/components/form-elements/form-structure.js +3 -3
- package/dist/collection/components/form-elements/form-submit.js +5 -5
- package/dist/collection/components/form-elements/form-text-area.js +4 -4
- package/dist/collection/components/forms/contact-us/element-mapper.js +1 -1
- package/dist/collection/components/forms/contact-us-form.js +4 -4
- package/dist/collection/components/forms/service-booking/element-mapper.js +1 -1
- package/dist/collection/components/forms/service-booking-form.js +4 -4
- package/dist/collection/components/part-lookup/components/dead-stock-item.js +15 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +153 -175
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +192 -224
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +165 -224
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/part-lookup.js +127 -57
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
- package/dist/collection/components/vehicle-lookup/components/claimable-item-popover.js +73 -0
- package/dist/collection/components/vehicle-lookup/components/claimable-item.js +27 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +108 -187
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +369 -507
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +271 -345
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +59 -56
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +106 -192
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +106 -176
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +104 -168
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +198 -274
- package/dist/collection/components/vin-extractor/vin-extractor.js +13 -4
- package/dist/collection/{global/lib/image-expansion.js → features/image-viewer/image-viewer-logic.js} +15 -11
- package/dist/collection/features/image-viewer/image-viewer.js +9 -0
- package/dist/collection/features/image-viewer/index.js +7 -0
- package/dist/collection/features/image-viewer/interface.js +1 -0
- package/dist/collection/{global/lib → features/multi-lingual}/get-local-language.js +1 -5
- package/dist/collection/features/multi-lingual/index.js +7 -0
- package/dist/collection/features/multi-lingual/interface.js +1 -0
- package/dist/collection/{global/types/locale.js → features/multi-lingual/types.js} +6 -0
- package/dist/collection/features/part-lookup-components/index.js +7 -0
- package/dist/collection/features/part-lookup-components/interface.js +1 -0
- package/dist/collection/features/part-lookup-components/part-lookup-api-integration.js +84 -0
- package/dist/collection/features/part-lookup-components/types.js +1 -0
- package/dist/collection/features/vehicle-info-layout/index.js +6 -0
- package/dist/collection/features/vehicle-info-layout/interface.js +1 -0
- package/dist/collection/{components/components → features/vehicle-info-layout}/vehicle-info-layout.js +1 -1
- package/dist/collection/features/vehicle-lookup-component/index.js +7 -0
- package/dist/collection/features/vehicle-lookup-component/interface.js +1 -0
- package/dist/collection/features/vehicle-lookup-component/types.js +17 -0
- package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +87 -0
- package/dist/collection/global/assets/activation-icon.js +6 -0
- package/dist/collection/global/assets/add-icon.js +6 -0
- package/dist/collection/global/assets/alert-icon.js +6 -0
- package/dist/collection/global/assets/arrow-up-icon.js +6 -0
- package/dist/collection/global/assets/attach-icon.js +6 -0
- package/dist/collection/global/assets/check-icon.js +6 -0
- package/dist/collection/global/assets/empty-table-icon.js +6 -0
- package/dist/collection/global/assets/form-submit-svg.js +6 -0
- package/dist/collection/global/assets/print-icon.js +6 -0
- package/dist/collection/global/assets/question-mark.js +6 -0
- package/dist/collection/global/assets/triangle-icon.js +6 -0
- package/dist/collection/global/lib/parents-with-tag.js +22 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-item-warning.js +1 -0
- package/dist/collection/locales/vehicleLookup/claimableItems/type.js +4 -6
- package/dist/collection/templates/part-lookup/mock-data.js +85 -2
- package/dist/collection/templates/vehicle-lookup/mock-data.js +39 -0
- package/dist/components/contact-us-form.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-dialog.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-select.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-text-area.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/p-4O0gfpsm.js +5 -0
- package/dist/components/p-8hUwcL5D.js +5 -0
- package/dist/components/p-9BQXTBdQ.js +5 -0
- package/dist/components/p-B1fdQNyr.js +5 -0
- package/dist/components/p-B2EAhWbD.js +5 -0
- package/dist/components/p-B9RSECb0.js +5 -0
- package/dist/components/p-BDCoLRVe.js +5 -0
- package/dist/components/p-BG8YXzND.js +5 -0
- package/dist/components/p-BNhO80aE.js +5 -0
- package/dist/components/p-Be1vlY8X.js +5 -0
- package/dist/components/p-BhjL0HMA.js +5 -0
- package/dist/components/p-C4zpDhOi.js +5 -0
- package/dist/components/p-CHE0gMDU.js +5 -0
- package/dist/components/p-CMweaUDZ.js +5 -0
- package/dist/components/p-COU68JDH.js +5 -0
- package/dist/components/p-Ce4X3l8Z.js +5 -0
- package/dist/components/p-CeUz_77J.js +5 -0
- package/dist/components/{p-D7yku_Qi.js → p-CgRbul8P.js} +1 -1
- package/dist/components/{p-JtBlsz4j.js → p-CiosiH6q.js} +1 -1
- package/dist/components/p-CnCnKZ25.js +5 -0
- package/dist/components/{p-C-4kx8qU.js → p-CqvK2B_Z.js} +1 -1
- package/dist/components/{p-B6QhQCZi.js → p-D6AC01Wg.js} +1 -1
- package/dist/components/p-DOoqf10k.js +5 -0
- package/dist/components/{p-BaJpYztb.js → p-DRdEUWsa.js} +1 -1
- package/dist/components/p-DSNyMvnc.js +5 -0
- package/dist/components/{p-CjWDXQ_q.js → p-DhxirzfQ.js} +1 -1
- package/dist/components/p-DiG3vhi6.js +5 -0
- package/dist/{shift-components/p-CIU9c3pi.js → components/p-DnMCq3Mw.js} +1 -1
- package/dist/components/p-Dt-24vpn.js +5 -0
- package/dist/components/p-DxBcoZIg.js +5 -0
- package/dist/components/{p-D63WC2_Y.js → p-pYVYeitk.js} +1 -1
- package/dist/components/p-piZ41_ho.js +5 -0
- 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-slider.js +1 -1
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.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-service-history.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.js +1 -1
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/contact-us-form.entry.js +4 -4
- package/dist/esm/dead-stock-lookup_3.entry.js +283 -326
- package/dist/esm/empty-table-icon-DvQk12N9.js +14 -0
- package/dist/esm/flexible-container.entry.js +43 -46
- package/dist/esm/form-dialog_8.entry.js +12 -12
- package/dist/esm/{get-local-language-BPo-xYwK.js → get-local-language-KsoLM3LI.js} +38 -38
- package/dist/esm/information-table.entry.js +6 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/material-card-DiAl-884.js +40 -0
- package/dist/esm/part-lookup.entry.js +32 -11
- package/dist/esm/print-icon-Dn5kQmLo.js +99 -0
- package/dist/esm/service-booking-form.entry.js +4 -4
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-tab-content.entry.js +40 -0
- package/dist/esm/shift-tabs_2.entry.js +277 -234
- package/dist/esm/type-BAXhU7Vq.js +79 -0
- package/dist/esm/{type-DHujxJVp.js → type-CAfIkrCW.js} +1 -1
- package/dist/esm/{type-D9Rd8Kcd.js → type-CoXoa4w8.js} +1 -1
- package/dist/esm/vehicle-accessories_6.entry.js +1108 -0
- package/dist/esm/vehicle-info-layout-CNGGKAia.js +14 -0
- package/dist/esm/vehicle-lookup.entry.js +14 -11
- package/dist/esm/vin-extractor.entry.js +3 -3
- package/dist/locales/vehicleLookup/claimableItems/ar.json +5 -6
- package/dist/locales/vehicleLookup/claimableItems/en.json +5 -6
- package/dist/locales/vehicleLookup/claimableItems/ku.json +5 -6
- package/dist/locales/vehicleLookup/claimableItems/ru.json +5 -6
- package/dist/locales/vehicleLookup/claimableItems/type.ts +4 -6
- package/dist/shift-components/p-03f093e0.entry.js +5 -0
- package/dist/shift-components/p-277c8a5b.entry.js +5 -0
- package/dist/shift-components/p-42218765.entry.js +5 -0
- package/dist/shift-components/p-55c5a5ea.entry.js +5 -0
- package/dist/shift-components/p-5906834e.entry.js +5 -0
- package/dist/shift-components/p-5bd460db.entry.js +5 -0
- package/dist/shift-components/p-701e3fb0.entry.js +5 -0
- package/dist/shift-components/p-98cb9ff7.entry.js +5 -0
- package/dist/{components/p-CK4E5G0i.js → shift-components/p-BBKhY55u.js} +1 -1
- package/dist/shift-components/{p-DHb8KxaG.js → p-BGyVhGdx.js} +1 -1
- package/dist/shift-components/p-BSpTbUWi.js +5 -0
- package/dist/shift-components/p-BnTnweSV.js +5 -0
- package/dist/shift-components/{p-CuQ84qxe.js → p-D7OEt6rC.js} +1 -1
- package/dist/shift-components/p-DzSZ47FV.js +5 -0
- package/dist/shift-components/p-Wtw8qj6x.js +5 -0
- package/dist/shift-components/p-a137e4bb.entry.js +5 -0
- package/dist/shift-components/{p-f282c740.entry.js → p-c4c88519.entry.js} +1 -1
- package/dist/shift-components/{p-b6497f63.entry.js → p-dee5dd04.entry.js} +1 -1
- package/dist/shift-components/p-e428aabb.entry.js +5 -0
- package/dist/shift-components/p-ff79b92b.entry.js +5 -0
- package/dist/shift-components/p-fyqwD4fB.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/flexible-container.d.ts +2 -5
- package/dist/types/components/components/information-table.d.ts +2 -0
- package/dist/types/components/components/material-card.d.ts +1 -1
- package/dist/types/components/form-elements/form-dialog.d.ts +1 -2
- package/dist/types/components/form-elements/form-input.d.ts +1 -2
- package/dist/types/components/form-elements/form-select.d.ts +1 -2
- package/dist/types/components/form-elements/form-structure-error.d.ts +1 -2
- package/dist/types/components/form-elements/form-structure.d.ts +2 -3
- package/dist/types/components/form-elements/form-submit.d.ts +1 -1
- package/dist/types/components/form-elements/form-text-area.d.ts +1 -1
- package/dist/types/components/forms/contact-us-form.d.ts +1 -1
- package/dist/types/components/forms/service-booking-form.d.ts +1 -1
- package/dist/types/components/part-lookup/components/dead-stock-item.d.ts +14 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +25 -23
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +23 -24
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +23 -25
- package/dist/types/components/part-lookup/part-lookup.d.ts +17 -12
- package/dist/types/components/vehicle-lookup/components/claimable-item-popover.d.ts +17 -0
- package/dist/types/components/vehicle-lookup/components/claimable-item.d.ts +12 -0
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +23 -28
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +53 -55
- package/dist/types/components/vehicle-lookup/vehicle-item-claim-form.d.ts +39 -55
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +8 -9
- package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +23 -29
- package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +20 -23
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +20 -22
- package/dist/types/components/vehicle-lookup/vehicle-warranty-details.d.ts +27 -31
- package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -2
- package/dist/types/components.d.ts +143 -169
- package/dist/types/features/image-viewer/image-viewer-logic.d.ts +3 -0
- package/dist/types/features/image-viewer/image-viewer.d.ts +10 -0
- package/dist/types/features/image-viewer/index.d.ts +3 -0
- package/dist/types/features/image-viewer/interface.d.ts +5 -0
- package/dist/types/features/multi-lingual/get-local-language.d.ts +4 -0
- package/dist/types/features/multi-lingual/index.d.ts +3 -0
- package/dist/types/features/multi-lingual/interface.d.ts +8 -0
- package/dist/types/{global/lib/get-local-language.d.ts → features/multi-lingual/types.d.ts} +17 -6
- package/dist/types/features/part-lookup-components/index.d.ts +3 -0
- package/dist/types/features/part-lookup-components/interface.d.ts +25 -0
- package/dist/types/features/part-lookup-components/part-lookup-api-integration.d.ts +14 -0
- package/dist/types/features/part-lookup-components/types.d.ts +3 -0
- package/dist/types/features/vehicle-info-layout/index.d.ts +2 -0
- package/dist/types/features/vehicle-info-layout/interface.d.ts +3 -0
- package/dist/types/{components/components → features/vehicle-info-layout}/vehicle-info-layout.d.ts +3 -3
- package/dist/types/features/vehicle-lookup-component/index.d.ts +3 -0
- package/dist/types/features/vehicle-lookup-component/interface.d.ts +24 -0
- package/dist/types/features/vehicle-lookup-component/types.d.ts +17 -0
- package/dist/types/features/vehicle-lookup-component/vehicle-lookup-api-integration.d.ts +15 -0
- package/dist/types/global/assets/activation-icon.d.ts +6 -0
- package/dist/types/global/assets/add-icon.d.ts +6 -0
- package/dist/types/global/assets/alert-icon.d.ts +6 -0
- package/dist/types/global/assets/arrow-up-icon.d.ts +6 -0
- package/dist/types/global/assets/attach-icon.d.ts +6 -0
- package/dist/types/global/assets/check-icon.d.ts +6 -0
- package/dist/types/global/assets/empty-table-icon.d.ts +6 -0
- package/dist/types/global/assets/form-submit-svg.d.ts +6 -0
- package/dist/types/global/assets/print-icon.d.ts +6 -0
- package/dist/types/global/assets/question-mark.d.ts +6 -0
- package/dist/types/global/assets/triangle-icon.d.ts +6 -0
- package/dist/types/global/lib/parents-with-tag.d.ts +1 -0
- package/dist/types/global/lib/recaptcha.d.ts +1 -1
- package/dist/types/global/types/components.d.ts +0 -1
- package/dist/types/global/types/forms.d.ts +1 -1
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-item-warning.d.ts +7 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +3 -0
- package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +18 -26
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +14 -18
- package/package.json +1 -2
- package/dist/cjs/shift-tab-content_7.cjs.entry.js +0 -1487
- package/dist/cjs/type-CCsnwaKp.js +0 -56
- package/dist/collection/global/api/partInformation.js +0 -32
- package/dist/collection/global/api/vehicleInformation.js +0 -48
- package/dist/components/p-1vy-Ba6r.js +0 -5
- package/dist/components/p-B5YdqGVm.js +0 -5
- package/dist/components/p-BDkK65_1.js +0 -5
- package/dist/components/p-BT4rhLRL.js +0 -5
- package/dist/components/p-C1F_f1WE.js +0 -5
- package/dist/components/p-CACnUI7c.js +0 -5
- package/dist/components/p-CDOvd2iD.js +0 -5
- package/dist/components/p-CGzOJT7g.js +0 -5
- package/dist/components/p-CINfIgzX.js +0 -5
- package/dist/components/p-CJpwqpuQ.js +0 -5
- package/dist/components/p-CUqXnLyM.js +0 -5
- package/dist/components/p-Cl9ct-bZ.js +0 -5
- package/dist/components/p-CqGVdvFp.js +0 -5
- package/dist/components/p-D2bxjSGr.js +0 -5
- package/dist/components/p-DXHx6lre.js +0 -5
- package/dist/components/p-DXj5zsQK.js +0 -5
- package/dist/components/p-DsCtgcZn.js +0 -5
- package/dist/components/p-DxjQlmaz.js +0 -5
- package/dist/components/p-nxlqujKv.js +0 -5
- package/dist/components/p-vvHN2Olh.js +0 -5
- package/dist/components/p-yQ70lKV2.js +0 -5
- package/dist/esm/shift-tab-content_7.entry.js +0 -1479
- package/dist/esm/type-CfLRnI1J.js +0 -53
- package/dist/esm/vehicle-info-layout-D1bvY1nt.js +0 -43
- package/dist/shift-components/p-389f444c.entry.js +0 -5
- package/dist/shift-components/p-5dd208de.entry.js +0 -5
- package/dist/shift-components/p-5f91eb5f.entry.js +0 -5
- package/dist/shift-components/p-76dd44e9.entry.js +0 -5
- package/dist/shift-components/p-9a51dae0.entry.js +0 -5
- package/dist/shift-components/p-BAMA88Mr.js +0 -5
- package/dist/shift-components/p-Br0JD1CD.js +0 -5
- package/dist/shift-components/p-af44ca99.entry.js +0 -5
- package/dist/shift-components/p-d0e6cd78.entry.js +0 -5
- package/dist/shift-components/p-f1225504.entry.js +0 -5
- package/dist/shift-components/p-faabbd23.entry.js +0 -5
- package/dist/shift-components/p-ff0fec09.entry.js +0 -5
- package/dist/types/global/api/partInformation.d.ts +0 -19
- package/dist/types/global/api/vehicleInformation.d.ts +0 -33
- package/dist/types/global/lib/image-expansion.d.ts +0 -9
- package/dist/types/global/types/locale.d.ts +0 -11
- /package/dist/collection/{components/vehicle-lookup → global}/assets/activationRequired.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/cancelled.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/check.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/expired.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/pending.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/processed.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/x-mark.svg +0 -0
|
@@ -4,147 +4,106 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
6
|
import cn from "../../global/lib/cn";
|
|
7
|
-
import {
|
|
8
|
-
import { getPartInformation } from "../../global/api/partInformation";
|
|
7
|
+
import { MaterialCard, MaterialCardChildren } from "../components/material-card";
|
|
9
8
|
import distributerSchema from "../../locales/partLookup/distributor/type";
|
|
10
|
-
|
|
9
|
+
import { VehicleInfoLayout } from "../../features/vehicle-info-layout/index";
|
|
10
|
+
import { setPartLookupData, setPartLookupErrorState } from "../../features/part-lookup-components/index";
|
|
11
|
+
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../features/multi-lingual/index";
|
|
11
12
|
export class DistributorLookup {
|
|
12
13
|
constructor() {
|
|
13
|
-
|
|
14
|
-
this.
|
|
14
|
+
// ====== Start Localization
|
|
15
|
+
this.language = 'en';
|
|
16
|
+
this.locale = Object.assign({ sharedLocales: sharedLocalesSchema.getDefault() }, distributerSchema.getDefault());
|
|
17
|
+
// ====== End Localization
|
|
18
|
+
// ====== Start Vehicle info layout prop
|
|
19
|
+
this.coreOnly = false;
|
|
20
|
+
this.headers = {};
|
|
15
21
|
this.queryString = '';
|
|
22
|
+
this.isError = false;
|
|
23
|
+
this.isLoading = false;
|
|
24
|
+
// ====== End Part Lookup Component Shared Logic
|
|
25
|
+
// ===== Start Component Logic
|
|
16
26
|
this.hiddenFields = '';
|
|
17
|
-
this.language = 'en';
|
|
18
27
|
this.localizationName = '';
|
|
19
|
-
this.state = 'idle';
|
|
20
|
-
this.errorMessage = null;
|
|
21
|
-
this.externalPartNumber = null;
|
|
22
|
-
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
23
|
-
this.locale = distributerSchema.getDefault();
|
|
24
28
|
}
|
|
25
29
|
async componentWillLoad() {
|
|
26
30
|
await this.changeLanguage(this.language);
|
|
27
31
|
}
|
|
28
32
|
async changeLanguage(newLanguage) {
|
|
29
|
-
const
|
|
30
|
-
this.locale =
|
|
31
|
-
this.sharedLocales = localeResponses[1];
|
|
33
|
+
const [sharedLocales, locale] = await Promise.all([getSharedLocal(newLanguage), getLocaleLanguage(newLanguage, 'partLookup.distributor', distributerSchema)]);
|
|
34
|
+
this.locale = Object.assign({ sharedLocales }, locale);
|
|
32
35
|
}
|
|
33
|
-
|
|
34
|
-
this.
|
|
36
|
+
async setMockData(newMockData) {
|
|
37
|
+
this.mockData = newMockData;
|
|
35
38
|
}
|
|
36
|
-
async
|
|
37
|
-
|
|
38
|
-
if (this.abortController)
|
|
39
|
-
this.abortController.abort();
|
|
40
|
-
this.abortController = new AbortController();
|
|
41
|
-
let scopedTimeoutRef;
|
|
42
|
-
const isPartNumberRequest = typeof newData === 'string';
|
|
43
|
-
const partNumber = isPartNumberRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.partNumber;
|
|
44
|
-
this.externalPartNumber = partNumber;
|
|
45
|
-
try {
|
|
46
|
-
if (!partNumber || partNumber.trim().length === 0) {
|
|
47
|
-
this.state = 'idle';
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
if (this.state === 'data' || this.state === 'error') {
|
|
51
|
-
this.state = (this.state + '-loading');
|
|
52
|
-
}
|
|
53
|
-
else
|
|
54
|
-
this.state = 'loading';
|
|
55
|
-
await new Promise(r => {
|
|
56
|
-
scopedTimeoutRef = setTimeout(r, 700);
|
|
57
|
-
this.networkTimeoutRef = scopedTimeoutRef;
|
|
58
|
-
});
|
|
59
|
-
const partResponse = isPartNumberRequest ? await getPartInformation(this, { scopedTimeoutRef, partNumber, mockData }, headers) : newData;
|
|
60
|
-
if (this.networkTimeoutRef === scopedTimeoutRef) {
|
|
61
|
-
if (!partResponse)
|
|
62
|
-
throw new Error('wrongResponseFormat');
|
|
63
|
-
this.handleSettingData(partResponse);
|
|
64
|
-
}
|
|
65
|
-
this.errorMessage = null;
|
|
66
|
-
this.state = 'data';
|
|
67
|
-
}
|
|
68
|
-
catch (error) {
|
|
69
|
-
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
70
|
-
return;
|
|
71
|
-
if (this.errorCallback)
|
|
72
|
-
this.errorCallback(error.message);
|
|
73
|
-
console.error(error);
|
|
74
|
-
this.setErrorMessage(error.message);
|
|
75
|
-
}
|
|
39
|
+
async fetchData(newData, headers = {}) {
|
|
40
|
+
await setPartLookupData(this, newData, headers);
|
|
76
41
|
}
|
|
77
42
|
async setErrorMessage(message) {
|
|
78
|
-
this
|
|
79
|
-
this.partInformation = null;
|
|
80
|
-
this.errorMessage = message;
|
|
43
|
+
setPartLookupErrorState(this, message);
|
|
81
44
|
}
|
|
82
|
-
|
|
83
|
-
await this.setData(partNumber, headers);
|
|
84
|
-
}
|
|
85
|
-
async loadingListener() {
|
|
45
|
+
onLoadingChange(newValue) {
|
|
86
46
|
if (this.loadingStateChange)
|
|
87
|
-
this.loadingStateChange(
|
|
88
|
-
}
|
|
89
|
-
async setMockData(newMockData) {
|
|
90
|
-
mockData = newMockData;
|
|
47
|
+
this.loadingStateChange(newValue);
|
|
91
48
|
}
|
|
92
49
|
render() {
|
|
93
|
-
var _a, _b, _c, _d, _e, _f;
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
?
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
var _a;
|
|
121
|
-
return { header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.retailPrice) === null || _a === void 0 ? void 0 : _a.formattedValue };
|
|
122
|
-
}),
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
label: texts.supersessions,
|
|
126
|
-
key: 'supersededTo',
|
|
127
|
-
value: null,
|
|
128
|
-
values: (_d = this.partInformation.supersededTo) === null || _d === void 0 ? void 0 : _d.map(part => {
|
|
129
|
-
return { header: null, body: part };
|
|
130
|
-
}),
|
|
131
|
-
},
|
|
132
|
-
]
|
|
133
|
-
: [];
|
|
50
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
51
|
+
const localName = this.partLookup ? this.localizationName || 'russian' : 'russian';
|
|
52
|
+
const hiddenFields = ((_b = (_a = this.hiddenFields) === null || _a === void 0 ? void 0 : _a.split(',')) === null || _b === void 0 ? void 0 : _b.map(field => field.trim())) || [];
|
|
53
|
+
const partsInformation = [
|
|
54
|
+
{ label: this.locale.description, key: 'partDescription', value: (_c = this.partLookup) === null || _c === void 0 ? void 0 : _c.partDescription },
|
|
55
|
+
{ label: this.locale.productGroup, key: 'productGroup', value: (_d = this.partLookup) === null || _d === void 0 ? void 0 : _d.productGroup },
|
|
56
|
+
{
|
|
57
|
+
key: 'localDescription',
|
|
58
|
+
value: (_e = this.partLookup) === null || _e === void 0 ? void 0 : _e.localDescription,
|
|
59
|
+
label: this.locale.localDescription.replace('$', localName),
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
key: 'purchasePrice',
|
|
63
|
+
label: this.locale.dealerPurchasePrice,
|
|
64
|
+
values: (_g = (_f = this.partLookup) === null || _f === void 0 ? void 0 : _f.prices) === null || _g === void 0 ? void 0 : _g.map(price => { var _a; return ({ header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.purchasePrice) === null || _a === void 0 ? void 0 : _a.formattedValue }); }),
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
key: 'retailPrice',
|
|
68
|
+
label: this.locale.recommendedRetailPrice,
|
|
69
|
+
values: (_j = (_h = this.partLookup) === null || _h === void 0 ? void 0 : _h.prices) === null || _j === void 0 ? void 0 : _j.map(price => { var _a; return ({ header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.retailPrice) === null || _a === void 0 ? void 0 : _a.formattedValue }); }),
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
key: 'supersededTo',
|
|
73
|
+
label: this.locale.supersessions,
|
|
74
|
+
values: (_l = (_k = this.partLookup) === null || _k === void 0 ? void 0 : _k.supersededTo) === null || _l === void 0 ? void 0 : _l.map(part => ({ header: null, body: part })),
|
|
75
|
+
},
|
|
76
|
+
];
|
|
134
77
|
const displayedFields = partsInformation.filter(part => !hiddenFields.includes(part.key));
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
78
|
+
const tableHeaders = [
|
|
79
|
+
{
|
|
80
|
+
width: 300,
|
|
81
|
+
key: 'locationName',
|
|
82
|
+
label: this.locale.location,
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
width: 300,
|
|
86
|
+
key: 'quantityLookUpResult',
|
|
87
|
+
label: this.locale.availability,
|
|
88
|
+
},
|
|
89
|
+
];
|
|
90
|
+
const displayDistributer = !((_m = this.partLookup) === null || _m === void 0 ? void 0 : _m.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold'));
|
|
91
|
+
const rows = displayDistributer
|
|
92
|
+
? (_o = this.partLookup) === null || _o === void 0 ? void 0 : _o.stockParts.map(stock => ({
|
|
93
|
+
locationName: stock.locationName,
|
|
94
|
+
quantityLookUpResult: () => (h("div", { class: cn('text-[red]', {
|
|
95
|
+
'text-[green]': stock.quantityLookUpResult === 'Available',
|
|
96
|
+
'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
|
|
97
|
+
}) }, h("strong", null, stock.quantityLookUpResult === 'Available'
|
|
98
|
+
? this.locale.available
|
|
99
|
+
: stock.quantityLookUpResult === 'PartiallyAvailable'
|
|
100
|
+
? this.locale.partiallyAvailable
|
|
101
|
+
: this.locale.notAvailable))),
|
|
102
|
+
}))
|
|
103
|
+
: [];
|
|
104
|
+
return (h(Host, { key: 'e838fa3aa5efadd03fd0f84d009ad1340f82712d' }, h(VehicleInfoLayout, { key: '90ba7279bd942a17f5216c26cfa83eb1a96c0d74', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_p = this.partLookup) === null || _p === void 0 ? void 0 : _p.partNumber, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("div", { key: '5a32a08a7dd5fc325a50dca8bcebe1fd586d3133', class: "p-[16px]" }, h("flexible-container", { key: '5a9afa5234303bd9cd2141cc533ce629c0276119' }, h("div", { key: '3541f2e4ec5e78e5d18f96fa9aa0116c3c4f588a', class: "flex [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, displayedFields.map(({ label, value, values }) => values ? (h(MaterialCard, { title: label, minWidth: "250px" }, h(MaterialCardChildren, { class: "flex flex-wrap gap-[8px] p-[2px]" }, values
|
|
139
105
|
.filter(x => x.body)
|
|
140
|
-
.map(x => (h("span", {
|
|
141
|
-
'text-[green]': stock.quantityLookUpResult === 'Available',
|
|
142
|
-
'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
|
|
143
|
-
}) }, h("strong", null, stock.quantityLookUpResult === 'Available'
|
|
144
|
-
? texts.available
|
|
145
|
-
: stock.quantityLookUpResult === 'PartiallyAvailable'
|
|
146
|
-
? texts.partiallyAvailable
|
|
147
|
-
: texts.notAvailable))))))))))))))))));
|
|
106
|
+
.map(x => (h("span", { class: "inline-flex items-center bg-red-50 text-red-800 font-medium px-3 text-[16px] py-1 me-1 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body))))))) : (h(MaterialCard, { desc: (value === null || value === void 0 ? void 0 : value.toString()) || '', title: label, minWidth: "250px" }))))), h("div", { key: '41a48a4f865da6afdac19d1287e50fcb79ed2e23', class: "mt-[32px] mx-auto w-fit max-w-full" }, h("div", { key: 'df8f9b01081366d7e1e7cef0541c217d45b4ec89', class: "bg-[#f6f6f6] h-[50px] flex items-center justify-center px-[16px] font-bold text-[18px]" }, this.locale.distributorStock), h("div", { key: '57e6c9290eecbdf59bb7b665c14ba567d98267f3', class: "overflow-x-auto" }, h("information-table", { key: '4dea80fc98daced8716bc74c09b099305a892ab8', isLoading: this.isLoading, rows: rows, headers: tableHeaders })))))));
|
|
148
107
|
}
|
|
149
108
|
static get is() { return "distributor-lookup"; }
|
|
150
109
|
static get encapsulation() { return "shadow"; }
|
|
@@ -160,14 +119,20 @@ export class DistributorLookup {
|
|
|
160
119
|
}
|
|
161
120
|
static get properties() {
|
|
162
121
|
return {
|
|
163
|
-
"
|
|
122
|
+
"language": {
|
|
164
123
|
"type": "string",
|
|
165
|
-
"attribute": "
|
|
124
|
+
"attribute": "language",
|
|
166
125
|
"mutable": false,
|
|
167
126
|
"complexType": {
|
|
168
|
-
"original": "
|
|
169
|
-
"resolved": "
|
|
170
|
-
"references": {
|
|
127
|
+
"original": "LanguageKeys",
|
|
128
|
+
"resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
|
|
129
|
+
"references": {
|
|
130
|
+
"LanguageKeys": {
|
|
131
|
+
"location": "import",
|
|
132
|
+
"path": "~features/multi-lingual",
|
|
133
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
171
136
|
},
|
|
172
137
|
"required": false,
|
|
173
138
|
"optional": false,
|
|
@@ -178,11 +143,11 @@ export class DistributorLookup {
|
|
|
178
143
|
"getter": false,
|
|
179
144
|
"setter": false,
|
|
180
145
|
"reflect": false,
|
|
181
|
-
"defaultValue": "''"
|
|
146
|
+
"defaultValue": "'en'"
|
|
182
147
|
},
|
|
183
|
-
"
|
|
148
|
+
"coreOnly": {
|
|
184
149
|
"type": "boolean",
|
|
185
|
-
"attribute": "
|
|
150
|
+
"attribute": "core-only",
|
|
186
151
|
"mutable": false,
|
|
187
152
|
"complexType": {
|
|
188
153
|
"original": "boolean",
|
|
@@ -200,13 +165,13 @@ export class DistributorLookup {
|
|
|
200
165
|
"reflect": false,
|
|
201
166
|
"defaultValue": "false"
|
|
202
167
|
},
|
|
203
|
-
"
|
|
204
|
-
"type": "
|
|
205
|
-
"attribute": "
|
|
168
|
+
"isDev": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"attribute": "is-dev",
|
|
206
171
|
"mutable": false,
|
|
207
172
|
"complexType": {
|
|
208
|
-
"original": "
|
|
209
|
-
"resolved": "
|
|
173
|
+
"original": "boolean",
|
|
174
|
+
"resolved": "boolean",
|
|
210
175
|
"references": {}
|
|
211
176
|
},
|
|
212
177
|
"required": false,
|
|
@@ -217,12 +182,11 @@ export class DistributorLookup {
|
|
|
217
182
|
},
|
|
218
183
|
"getter": false,
|
|
219
184
|
"setter": false,
|
|
220
|
-
"reflect": false
|
|
221
|
-
"defaultValue": "''"
|
|
185
|
+
"reflect": false
|
|
222
186
|
},
|
|
223
|
-
"
|
|
187
|
+
"baseUrl": {
|
|
224
188
|
"type": "string",
|
|
225
|
-
"attribute": "
|
|
189
|
+
"attribute": "base-url",
|
|
226
190
|
"mutable": false,
|
|
227
191
|
"complexType": {
|
|
228
192
|
"original": "string",
|
|
@@ -230,30 +194,23 @@ export class DistributorLookup {
|
|
|
230
194
|
"references": {}
|
|
231
195
|
},
|
|
232
196
|
"required": false,
|
|
233
|
-
"optional":
|
|
197
|
+
"optional": false,
|
|
234
198
|
"docs": {
|
|
235
199
|
"tags": [],
|
|
236
200
|
"text": ""
|
|
237
201
|
},
|
|
238
202
|
"getter": false,
|
|
239
203
|
"setter": false,
|
|
240
|
-
"reflect": false
|
|
241
|
-
"defaultValue": "''"
|
|
204
|
+
"reflect": false
|
|
242
205
|
},
|
|
243
|
-
"
|
|
244
|
-
"type": "
|
|
245
|
-
"attribute": "
|
|
206
|
+
"headers": {
|
|
207
|
+
"type": "unknown",
|
|
208
|
+
"attribute": "headers",
|
|
246
209
|
"mutable": false,
|
|
247
210
|
"complexType": {
|
|
248
|
-
"original": "
|
|
249
|
-
"resolved": "
|
|
250
|
-
"references": {
|
|
251
|
-
"LanguageKeys": {
|
|
252
|
-
"location": "import",
|
|
253
|
-
"path": "~types/locale",
|
|
254
|
-
"id": "src/global/types/locale.ts::LanguageKeys"
|
|
255
|
-
}
|
|
256
|
-
}
|
|
211
|
+
"original": "object",
|
|
212
|
+
"resolved": "object",
|
|
213
|
+
"references": {}
|
|
257
214
|
},
|
|
258
215
|
"required": false,
|
|
259
216
|
"optional": false,
|
|
@@ -263,12 +220,11 @@ export class DistributorLookup {
|
|
|
263
220
|
},
|
|
264
221
|
"getter": false,
|
|
265
222
|
"setter": false,
|
|
266
|
-
"
|
|
267
|
-
"defaultValue": "'en'"
|
|
223
|
+
"defaultValue": "{}"
|
|
268
224
|
},
|
|
269
|
-
"
|
|
225
|
+
"queryString": {
|
|
270
226
|
"type": "string",
|
|
271
|
-
"attribute": "
|
|
227
|
+
"attribute": "query-string",
|
|
272
228
|
"mutable": false,
|
|
273
229
|
"complexType": {
|
|
274
230
|
"original": "string",
|
|
@@ -276,7 +232,7 @@ export class DistributorLookup {
|
|
|
276
232
|
"references": {}
|
|
277
233
|
},
|
|
278
234
|
"required": false,
|
|
279
|
-
"optional":
|
|
235
|
+
"optional": false,
|
|
280
236
|
"docs": {
|
|
281
237
|
"tags": [],
|
|
282
238
|
"text": ""
|
|
@@ -291,12 +247,18 @@ export class DistributorLookup {
|
|
|
291
247
|
"attribute": "error-callback",
|
|
292
248
|
"mutable": false,
|
|
293
249
|
"complexType": {
|
|
294
|
-
"original": "(errorMessage:
|
|
295
|
-
"resolved": "(errorMessage: string) => void",
|
|
296
|
-
"references": {
|
|
250
|
+
"original": "(errorMessage: ErrorKeys) => void",
|
|
251
|
+
"resolved": "(errorMessage: OptionalKeys<{ noBaseUrl: string; invalidVin: string; vinNumberRequired: string; partNumberRequired: string; wrongResponseFormat: string; noPartsFound: string; noServiceAvailable: string; wrongFormStructure: string; wildCard: string; requestFailedPleaseTryAgainLater: string; }>) => void",
|
|
252
|
+
"references": {
|
|
253
|
+
"ErrorKeys": {
|
|
254
|
+
"location": "import",
|
|
255
|
+
"path": "~features/multi-lingual",
|
|
256
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys"
|
|
257
|
+
}
|
|
258
|
+
}
|
|
297
259
|
},
|
|
298
260
|
"required": false,
|
|
299
|
-
"optional":
|
|
261
|
+
"optional": true,
|
|
300
262
|
"docs": {
|
|
301
263
|
"tags": [],
|
|
302
264
|
"text": ""
|
|
@@ -345,61 +307,67 @@ export class DistributorLookup {
|
|
|
345
307
|
},
|
|
346
308
|
"getter": false,
|
|
347
309
|
"setter": false
|
|
310
|
+
},
|
|
311
|
+
"hiddenFields": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"attribute": "hidden-fields",
|
|
314
|
+
"mutable": false,
|
|
315
|
+
"complexType": {
|
|
316
|
+
"original": "string",
|
|
317
|
+
"resolved": "string",
|
|
318
|
+
"references": {}
|
|
319
|
+
},
|
|
320
|
+
"required": false,
|
|
321
|
+
"optional": true,
|
|
322
|
+
"docs": {
|
|
323
|
+
"tags": [],
|
|
324
|
+
"text": ""
|
|
325
|
+
},
|
|
326
|
+
"getter": false,
|
|
327
|
+
"setter": false,
|
|
328
|
+
"reflect": false,
|
|
329
|
+
"defaultValue": "''"
|
|
330
|
+
},
|
|
331
|
+
"localizationName": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"attribute": "localization-name",
|
|
334
|
+
"mutable": false,
|
|
335
|
+
"complexType": {
|
|
336
|
+
"original": "string",
|
|
337
|
+
"resolved": "string",
|
|
338
|
+
"references": {}
|
|
339
|
+
},
|
|
340
|
+
"required": false,
|
|
341
|
+
"optional": true,
|
|
342
|
+
"docs": {
|
|
343
|
+
"tags": [],
|
|
344
|
+
"text": ""
|
|
345
|
+
},
|
|
346
|
+
"getter": false,
|
|
347
|
+
"setter": false,
|
|
348
|
+
"reflect": false,
|
|
349
|
+
"defaultValue": "''"
|
|
348
350
|
}
|
|
349
351
|
};
|
|
350
352
|
}
|
|
351
353
|
static get states() {
|
|
352
354
|
return {
|
|
353
|
-
"
|
|
355
|
+
"locale": {},
|
|
356
|
+
"searchString": {},
|
|
357
|
+
"isError": {},
|
|
354
358
|
"errorMessage": {},
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"sharedLocales": {},
|
|
358
|
-
"locale": {}
|
|
359
|
+
"isLoading": {},
|
|
360
|
+
"partLookup": {}
|
|
359
361
|
};
|
|
360
362
|
}
|
|
361
363
|
static get methods() {
|
|
362
364
|
return {
|
|
363
|
-
"
|
|
364
|
-
"complexType": {
|
|
365
|
-
"signature": "(newData: PartLookupDTO | string, headers?: any) => Promise<void>",
|
|
366
|
-
"parameters": [{
|
|
367
|
-
"name": "newData",
|
|
368
|
-
"type": "string | PartLookupDTO",
|
|
369
|
-
"docs": ""
|
|
370
|
-
}, {
|
|
371
|
-
"name": "headers",
|
|
372
|
-
"type": "any",
|
|
373
|
-
"docs": ""
|
|
374
|
-
}],
|
|
375
|
-
"references": {
|
|
376
|
-
"Promise": {
|
|
377
|
-
"location": "global",
|
|
378
|
-
"id": "global::Promise"
|
|
379
|
-
},
|
|
380
|
-
"PartLookupDTO": {
|
|
381
|
-
"location": "import",
|
|
382
|
-
"path": "~types/generated/part/part-lookup-dto",
|
|
383
|
-
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
384
|
-
},
|
|
385
|
-
"ReturnType": {
|
|
386
|
-
"location": "global",
|
|
387
|
-
"id": "global::ReturnType"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
"return": "Promise<void>"
|
|
391
|
-
},
|
|
392
|
-
"docs": {
|
|
393
|
-
"text": "",
|
|
394
|
-
"tags": []
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
"setErrorMessage": {
|
|
365
|
+
"setMockData": {
|
|
398
366
|
"complexType": {
|
|
399
|
-
"signature": "(
|
|
367
|
+
"signature": "(newMockData: PartLookupMock) => Promise<void>",
|
|
400
368
|
"parameters": [{
|
|
401
|
-
"name": "
|
|
402
|
-
"type": "
|
|
369
|
+
"name": "newMockData",
|
|
370
|
+
"type": "{ [key: string]: PartLookupDTO; }",
|
|
403
371
|
"docs": ""
|
|
404
372
|
}],
|
|
405
373
|
"references": {
|
|
@@ -407,10 +375,10 @@ export class DistributorLookup {
|
|
|
407
375
|
"location": "global",
|
|
408
376
|
"id": "global::Promise"
|
|
409
377
|
},
|
|
410
|
-
"
|
|
378
|
+
"PartLookupMock": {
|
|
411
379
|
"location": "import",
|
|
412
|
-
"path": "~
|
|
413
|
-
"id": "src/
|
|
380
|
+
"path": "~features/part-lookup-components",
|
|
381
|
+
"id": "src/features/part-lookup-components/index.ts::PartLookupMock"
|
|
414
382
|
}
|
|
415
383
|
},
|
|
416
384
|
"return": "Promise<void>"
|
|
@@ -422,10 +390,10 @@ export class DistributorLookup {
|
|
|
422
390
|
},
|
|
423
391
|
"fetchData": {
|
|
424
392
|
"complexType": {
|
|
425
|
-
"signature": "(
|
|
393
|
+
"signature": "(newData: PartLookupDTO | string, headers?: any) => Promise<void>",
|
|
426
394
|
"parameters": [{
|
|
427
|
-
"name": "
|
|
428
|
-
"type": "string",
|
|
395
|
+
"name": "newData",
|
|
396
|
+
"type": "string | PartLookupDTO",
|
|
429
397
|
"docs": ""
|
|
430
398
|
}, {
|
|
431
399
|
"name": "headers",
|
|
@@ -436,6 +404,11 @@ export class DistributorLookup {
|
|
|
436
404
|
"Promise": {
|
|
437
405
|
"location": "global",
|
|
438
406
|
"id": "global::Promise"
|
|
407
|
+
},
|
|
408
|
+
"PartLookupDTO": {
|
|
409
|
+
"location": "import",
|
|
410
|
+
"path": "~types/generated/part/part-lookup-dto",
|
|
411
|
+
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
439
412
|
}
|
|
440
413
|
},
|
|
441
414
|
"return": "Promise<void>"
|
|
@@ -445,12 +418,12 @@ export class DistributorLookup {
|
|
|
445
418
|
"tags": []
|
|
446
419
|
}
|
|
447
420
|
},
|
|
448
|
-
"
|
|
421
|
+
"setErrorMessage": {
|
|
449
422
|
"complexType": {
|
|
450
|
-
"signature": "(
|
|
423
|
+
"signature": "(message: ErrorKeys) => Promise<void>",
|
|
451
424
|
"parameters": [{
|
|
452
|
-
"name": "
|
|
453
|
-
"type": "
|
|
425
|
+
"name": "message",
|
|
426
|
+
"type": "\"noBaseUrl\" | \"invalidVin\" | \"vinNumberRequired\" | \"partNumberRequired\" | \"wrongResponseFormat\" | \"noPartsFound\" | \"noServiceAvailable\" | \"wrongFormStructure\" | \"wildCard\" | \"requestFailedPleaseTryAgainLater\"",
|
|
454
427
|
"docs": ""
|
|
455
428
|
}],
|
|
456
429
|
"references": {
|
|
@@ -458,15 +431,10 @@ export class DistributorLookup {
|
|
|
458
431
|
"location": "global",
|
|
459
432
|
"id": "global::Promise"
|
|
460
433
|
},
|
|
461
|
-
"
|
|
462
|
-
"location": "import",
|
|
463
|
-
"path": "~types/components",
|
|
464
|
-
"id": "src/global/types/components.ts::MockJson"
|
|
465
|
-
},
|
|
466
|
-
"PartLookupDTO": {
|
|
434
|
+
"ErrorKeys": {
|
|
467
435
|
"location": "import",
|
|
468
|
-
"path": "~
|
|
469
|
-
"id": "src/
|
|
436
|
+
"path": "~features/multi-lingual",
|
|
437
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys"
|
|
470
438
|
}
|
|
471
439
|
},
|
|
472
440
|
"return": "Promise<void>"
|
|
@@ -484,8 +452,8 @@ export class DistributorLookup {
|
|
|
484
452
|
"propName": "language",
|
|
485
453
|
"methodName": "changeLanguage"
|
|
486
454
|
}, {
|
|
487
|
-
"propName": "
|
|
488
|
-
"methodName": "
|
|
455
|
+
"propName": "isLoading",
|
|
456
|
+
"methodName": "onLoadingChange"
|
|
489
457
|
}];
|
|
490
458
|
}
|
|
491
459
|
}
|
|
@@ -1 +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.15 | 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}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.hidden{display:none}.w-full{width:100%}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.me-1{margin-inline-end:.25rem}.ml-1{margin-left:.25rem}.mt-2{margin-top:.5rem}.mt-\[12px\]{margin-top:12px}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.h-\[40px\]{height:40px}.min-h-\[100px\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-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))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\[15px\]{gap:15px}.gap-\[50px\]{gap:50px}.overflow-hidden{overflow:hidden}.rounded-\[4px\]{border-radius:4px}.rounded-\[8px\]{border-radius:8px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\[\#d6d8dc\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-red-300{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity,1))}.border-b-\[gray\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\[\#e1e3e5\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-3{padding-left:.75rem;padding-right:.75rem}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[30px\]{padding-left:30px;padding-right:30px}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-\[10px\]{padding-bottom:10px;padding-top:10px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-\[\#383c43\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-800{--tw-text-opacity:1;color:rgb(153 27 27/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.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)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-700{transition-duration:.7s!important}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}
|
|
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.15 | 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}.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}.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))}.\!overflow-hidden{overflow:hidden!important}.\!rounded-\[4px\]{border-radius:4px!important}.border{border-width:1px}.opacity-0{opacity:0}.opacity-100{opacity: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!important;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{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:4px!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;text-align:center}.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:Arial}.static{position:static}.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))}.\!pointer-events-none{pointer-events:none!important}.\!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%}.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}.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-\[16px\]{gap:16px}.gap-\[8px\]{gap:8px}.overflow-auto{overflow:auto}.rounded-lg{border-radius:.5rem}.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-\[16px\]{padding:16px}.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))}.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)}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}
|