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
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
|
-
import cn from "../../global/lib/cn";
|
|
7
|
-
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../global/lib/get-local-language";
|
|
8
6
|
import partLookupWrapperSchema from "../../locales/partLookup/wrapper-type";
|
|
7
|
+
import { VehicleInfoLayout } from "../../features/vehicle-info-layout/index";
|
|
8
|
+
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../features/multi-lingual/index";
|
|
9
9
|
const componentTags = {
|
|
10
10
|
deadStock: 'dead-stock-lookup',
|
|
11
11
|
distributor: 'distributor-lookup',
|
|
@@ -13,21 +13,31 @@ const componentTags = {
|
|
|
13
13
|
};
|
|
14
14
|
export class PartLookup {
|
|
15
15
|
constructor() {
|
|
16
|
+
// ====== Start Localization
|
|
17
|
+
this.language = 'en';
|
|
18
|
+
this.locale = sharedLocalesSchema.getDefault();
|
|
19
|
+
// ====== End Localization
|
|
20
|
+
// ====== Wrapper Logic
|
|
21
|
+
this.activeElement = '';
|
|
16
22
|
this.baseUrl = '';
|
|
23
|
+
this.isDev = false;
|
|
17
24
|
this.queryString = '';
|
|
18
|
-
this.language = 'en';
|
|
19
25
|
this.blazorErrorStateListener = '';
|
|
20
26
|
this.blazorOnLoadingStateChange = '';
|
|
21
|
-
this.activeElement = '';
|
|
22
27
|
this.wrapperErrorState = '';
|
|
23
|
-
this.
|
|
28
|
+
this.isError = false;
|
|
29
|
+
this.header = '';
|
|
30
|
+
this.isLoading = false;
|
|
24
31
|
this.syncErrorAcrossComponents = (newErrorMessage) => {
|
|
32
|
+
this.isError = true;
|
|
33
|
+
this.errorKey = newErrorMessage;
|
|
25
34
|
Object.values(this.componentsList).forEach(element => {
|
|
26
35
|
if (element)
|
|
27
36
|
element.setErrorMessage(newErrorMessage);
|
|
28
37
|
});
|
|
29
38
|
};
|
|
30
39
|
this.loadingStateChangingMiddleware = (newState) => {
|
|
40
|
+
this.isLoading = newState;
|
|
31
41
|
if (this.loadingStateChanged)
|
|
32
42
|
this.loadingStateChanged(newState);
|
|
33
43
|
if (this.blazorRef && this.blazorOnLoadingStateChange)
|
|
@@ -39,7 +49,7 @@ export class PartLookup {
|
|
|
39
49
|
}
|
|
40
50
|
async changeLanguage(newLanguage) {
|
|
41
51
|
const localeResponses = await Promise.all([getLocaleLanguage(newLanguage, 'partLookup', partLookupWrapperSchema), getSharedLocal(newLanguage)]);
|
|
42
|
-
this.
|
|
52
|
+
this.locale = localeResponses[1];
|
|
43
53
|
}
|
|
44
54
|
async componentDidLoad() {
|
|
45
55
|
const deadStockLookup = this.el.getElementsByTagName('dead-stock-lookup')[0];
|
|
@@ -59,9 +69,12 @@ export class PartLookup {
|
|
|
59
69
|
});
|
|
60
70
|
}
|
|
61
71
|
handleLoadData(newResponse, activeElement) {
|
|
72
|
+
this.isError = false;
|
|
73
|
+
this.header = (newResponse === null || newResponse === void 0 ? void 0 : newResponse.partNumber) || '';
|
|
62
74
|
Object.values(this.componentsList).forEach(element => {
|
|
75
|
+
// @ts-ignore
|
|
63
76
|
if (element !== null && element !== activeElement && newResponse)
|
|
64
|
-
element.
|
|
77
|
+
element.fetchData(newResponse);
|
|
65
78
|
});
|
|
66
79
|
}
|
|
67
80
|
async errorListener(newState) {
|
|
@@ -79,7 +92,7 @@ export class PartLookup {
|
|
|
79
92
|
if (!activeElement)
|
|
80
93
|
return;
|
|
81
94
|
if (partNumber == '')
|
|
82
|
-
return (this.wrapperErrorState = this.
|
|
95
|
+
return (this.wrapperErrorState = this.locale.errors.partNumberRequired);
|
|
83
96
|
const searchingText = quantity.trim() || quantity.trim() === '0' ? `${partNumber.trim()}/${quantity.trim()}` : partNumber.trim();
|
|
84
97
|
activeElement.fetchData(searchingText, headers);
|
|
85
98
|
}
|
|
@@ -105,7 +118,14 @@ export class PartLookup {
|
|
|
105
118
|
catch (error) {
|
|
106
119
|
console.error(error);
|
|
107
120
|
}
|
|
108
|
-
|
|
121
|
+
if (!Object.values(componentTags).includes(this.activeElement))
|
|
122
|
+
return h("div", { class: "w-full h-[200px] text-[26px] text-red-600 flex items-center justify-center" }, "Invalid tag");
|
|
123
|
+
const componentList = {
|
|
124
|
+
'dead-stock-lookup': (h("dead-stock-lookup", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.deadStock]))),
|
|
125
|
+
'distributor-lookup': (h("distributor-lookup", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.distributor]))),
|
|
126
|
+
'manufacturer-lookup': (h("manufacturer-lookup", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.manufacturer]))),
|
|
127
|
+
};
|
|
128
|
+
return (h(Host, null, h(VehicleInfoLayout, { isError: this.isError, header: this.header, isLoading: this.isLoading, direction: this.locale.direction, errorMessage: this.locale.errors[this.errorKey] || this.locale.errors.wildCard }, h("shift-tab-content", { components: componentList, activeComponent: this.activeElement }))));
|
|
109
129
|
}
|
|
110
130
|
static get is() { return "part-lookup"; }
|
|
111
131
|
static get originalStyleUrls() {
|
|
@@ -120,14 +140,20 @@ export class PartLookup {
|
|
|
120
140
|
}
|
|
121
141
|
static get properties() {
|
|
122
142
|
return {
|
|
123
|
-
"
|
|
143
|
+
"language": {
|
|
124
144
|
"type": "string",
|
|
125
|
-
"attribute": "
|
|
145
|
+
"attribute": "language",
|
|
126
146
|
"mutable": false,
|
|
127
147
|
"complexType": {
|
|
128
|
-
"original": "
|
|
129
|
-
"resolved": "
|
|
130
|
-
"references": {
|
|
148
|
+
"original": "LanguageKeys",
|
|
149
|
+
"resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
|
|
150
|
+
"references": {
|
|
151
|
+
"LanguageKeys": {
|
|
152
|
+
"location": "import",
|
|
153
|
+
"path": "~features/multi-lingual",
|
|
154
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
131
157
|
},
|
|
132
158
|
"required": false,
|
|
133
159
|
"optional": false,
|
|
@@ -138,11 +164,37 @@ export class PartLookup {
|
|
|
138
164
|
"getter": false,
|
|
139
165
|
"setter": false,
|
|
140
166
|
"reflect": false,
|
|
167
|
+
"defaultValue": "'en'"
|
|
168
|
+
},
|
|
169
|
+
"activeElement": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"attribute": "active-element",
|
|
172
|
+
"mutable": false,
|
|
173
|
+
"complexType": {
|
|
174
|
+
"original": "ActiveElement",
|
|
175
|
+
"resolved": "\"\" | \"dead-stock-lookup\" | \"distributor-lookup\" | \"manufacturer-lookup\"",
|
|
176
|
+
"references": {
|
|
177
|
+
"ActiveElement": {
|
|
178
|
+
"location": "local",
|
|
179
|
+
"path": "/home/vsts/work/1/s/ADP.WebComponents/adp-web-components/src/components/part-lookup/part-lookup.tsx",
|
|
180
|
+
"id": "src/components/part-lookup/part-lookup.tsx::ActiveElement"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": true,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": ""
|
|
189
|
+
},
|
|
190
|
+
"getter": false,
|
|
191
|
+
"setter": false,
|
|
192
|
+
"reflect": false,
|
|
141
193
|
"defaultValue": "''"
|
|
142
194
|
},
|
|
143
|
-
"
|
|
195
|
+
"baseUrl": {
|
|
144
196
|
"type": "string",
|
|
145
|
-
"attribute": "
|
|
197
|
+
"attribute": "base-url",
|
|
146
198
|
"mutable": false,
|
|
147
199
|
"complexType": {
|
|
148
200
|
"original": "string",
|
|
@@ -160,20 +212,14 @@ export class PartLookup {
|
|
|
160
212
|
"reflect": false,
|
|
161
213
|
"defaultValue": "''"
|
|
162
214
|
},
|
|
163
|
-
"
|
|
164
|
-
"type": "
|
|
165
|
-
"attribute": "
|
|
215
|
+
"isDev": {
|
|
216
|
+
"type": "boolean",
|
|
217
|
+
"attribute": "is-dev",
|
|
166
218
|
"mutable": false,
|
|
167
219
|
"complexType": {
|
|
168
|
-
"original": "
|
|
169
|
-
"resolved": "
|
|
170
|
-
"references": {
|
|
171
|
-
"LanguageKeys": {
|
|
172
|
-
"location": "import",
|
|
173
|
-
"path": "~types/locale",
|
|
174
|
-
"id": "src/global/types/locale.ts::LanguageKeys"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
220
|
+
"original": "boolean",
|
|
221
|
+
"resolved": "boolean",
|
|
222
|
+
"references": {}
|
|
177
223
|
},
|
|
178
224
|
"required": false,
|
|
179
225
|
"optional": false,
|
|
@@ -184,11 +230,11 @@ export class PartLookup {
|
|
|
184
230
|
"getter": false,
|
|
185
231
|
"setter": false,
|
|
186
232
|
"reflect": false,
|
|
187
|
-
"defaultValue": "
|
|
233
|
+
"defaultValue": "false"
|
|
188
234
|
},
|
|
189
|
-
"
|
|
235
|
+
"queryString": {
|
|
190
236
|
"type": "string",
|
|
191
|
-
"attribute": "
|
|
237
|
+
"attribute": "query-string",
|
|
192
238
|
"mutable": false,
|
|
193
239
|
"complexType": {
|
|
194
240
|
"original": "string",
|
|
@@ -230,9 +276,9 @@ export class PartLookup {
|
|
|
230
276
|
"setter": false,
|
|
231
277
|
"reflect": false
|
|
232
278
|
},
|
|
233
|
-
"
|
|
279
|
+
"blazorErrorStateListener": {
|
|
234
280
|
"type": "string",
|
|
235
|
-
"attribute": "blazor-
|
|
281
|
+
"attribute": "blazor-error-state-listener",
|
|
236
282
|
"mutable": false,
|
|
237
283
|
"complexType": {
|
|
238
284
|
"original": "string",
|
|
@@ -250,20 +296,14 @@ export class PartLookup {
|
|
|
250
296
|
"reflect": false,
|
|
251
297
|
"defaultValue": "''"
|
|
252
298
|
},
|
|
253
|
-
"
|
|
254
|
-
"type": "
|
|
255
|
-
"attribute": "
|
|
299
|
+
"errorStateListener": {
|
|
300
|
+
"type": "unknown",
|
|
301
|
+
"attribute": "error-state-listener",
|
|
256
302
|
"mutable": false,
|
|
257
303
|
"complexType": {
|
|
258
|
-
"original": "
|
|
259
|
-
"resolved": "
|
|
260
|
-
"references": {
|
|
261
|
-
"ActiveElement": {
|
|
262
|
-
"location": "local",
|
|
263
|
-
"path": "/home/vsts/work/1/s/ADP.WebComponents/adp-web-components/src/components/part-lookup/part-lookup.tsx",
|
|
264
|
-
"id": "src/components/part-lookup/part-lookup.tsx::ActiveElement"
|
|
265
|
-
}
|
|
266
|
-
}
|
|
304
|
+
"original": "(newError: string) => void",
|
|
305
|
+
"resolved": "(newError: string) => void",
|
|
306
|
+
"references": {}
|
|
267
307
|
},
|
|
268
308
|
"required": false,
|
|
269
309
|
"optional": true,
|
|
@@ -272,27 +312,27 @@ export class PartLookup {
|
|
|
272
312
|
"text": ""
|
|
273
313
|
},
|
|
274
314
|
"getter": false,
|
|
275
|
-
"setter": false
|
|
276
|
-
"reflect": false,
|
|
277
|
-
"defaultValue": "''"
|
|
315
|
+
"setter": false
|
|
278
316
|
},
|
|
279
|
-
"
|
|
280
|
-
"type": "
|
|
281
|
-
"attribute": "
|
|
317
|
+
"blazorOnLoadingStateChange": {
|
|
318
|
+
"type": "string",
|
|
319
|
+
"attribute": "blazor-on-loading-state-change",
|
|
282
320
|
"mutable": false,
|
|
283
321
|
"complexType": {
|
|
284
|
-
"original": "
|
|
285
|
-
"resolved": "
|
|
322
|
+
"original": "string",
|
|
323
|
+
"resolved": "string",
|
|
286
324
|
"references": {}
|
|
287
325
|
},
|
|
288
326
|
"required": false,
|
|
289
|
-
"optional":
|
|
327
|
+
"optional": false,
|
|
290
328
|
"docs": {
|
|
291
329
|
"tags": [],
|
|
292
330
|
"text": ""
|
|
293
331
|
},
|
|
294
332
|
"getter": false,
|
|
295
|
-
"setter": false
|
|
333
|
+
"setter": false,
|
|
334
|
+
"reflect": false,
|
|
335
|
+
"defaultValue": "''"
|
|
296
336
|
},
|
|
297
337
|
"loadingStateChanged": {
|
|
298
338
|
"type": "unknown",
|
|
@@ -316,13 +356,43 @@ export class PartLookup {
|
|
|
316
356
|
}
|
|
317
357
|
static get states() {
|
|
318
358
|
return {
|
|
359
|
+
"locale": {},
|
|
360
|
+
"errorKey": {},
|
|
319
361
|
"wrapperErrorState": {},
|
|
320
|
-
"
|
|
321
|
-
"
|
|
362
|
+
"isError": {},
|
|
363
|
+
"header": {},
|
|
364
|
+
"isLoading": {},
|
|
365
|
+
"blazorRef": {}
|
|
322
366
|
};
|
|
323
367
|
}
|
|
324
368
|
static get methods() {
|
|
325
369
|
return {
|
|
370
|
+
"handleLoadData": {
|
|
371
|
+
"complexType": {
|
|
372
|
+
"signature": "(newResponse: PartLookupDTO, activeElement: any) => Promise<void>",
|
|
373
|
+
"parameters": [{
|
|
374
|
+
"name": "newResponse",
|
|
375
|
+
"type": "{ partNumber: string; partDescription: string; localDescription: string; productGroup: string; pnc: string; binType: string; distributorPurchasePrice?: number; length?: number; width?: number; height?: number; netWeight?: number; grossWeight?: number; cubicMeasure?: number; hsCode: string; origin: string; supersededTo: string[]; stockParts: StockPartDTO[]; prices: PartPriceDTO[]; hsCodes: HSCodeDTO[]; deadStock: DeadStockDTO[]; logId?: string; }",
|
|
376
|
+
"docs": ""
|
|
377
|
+
}, {
|
|
378
|
+
"name": "activeElement",
|
|
379
|
+
"type": "any",
|
|
380
|
+
"docs": ""
|
|
381
|
+
}],
|
|
382
|
+
"references": {
|
|
383
|
+
"PartLookupDTO": {
|
|
384
|
+
"location": "import",
|
|
385
|
+
"path": "~types/generated/part/part-lookup-dto",
|
|
386
|
+
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"return": "Promise<void>"
|
|
390
|
+
},
|
|
391
|
+
"docs": {
|
|
392
|
+
"text": "",
|
|
393
|
+
"tags": []
|
|
394
|
+
}
|
|
395
|
+
},
|
|
326
396
|
"setBlazorRef": {
|
|
327
397
|
"complexType": {
|
|
328
398
|
"signature": "(newBlazorRef: DotNetObjectReference) => Promise<void>",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { h } from "@stencil/core";
|
|
6
6
|
import StatusCard from "./StatusCard";
|
|
7
|
-
import RejectIcon from "
|
|
7
|
+
import RejectIcon from "~assets/x-mark.svg";
|
|
8
8
|
import cn from "../../../global/lib/cn";
|
|
9
9
|
export default function CardsContainer({ isLoading, vehicleInformation, isAuthorized, unInvoicedByBrokerName, warrantyLocale }) {
|
|
10
10
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { h } from "@stencil/core";
|
|
6
|
-
import SuccessIcon from "
|
|
7
|
-
import RejectIcon from "
|
|
6
|
+
import SuccessIcon from "~assets/check.svg";
|
|
7
|
+
import RejectIcon from "~assets/x-mark.svg";
|
|
8
8
|
import cn from "../../../global/lib/cn";
|
|
9
9
|
export default function StatusCard({ isLoading = false, opened = true, desc, className, fromDesc, toDesc, from, to, state = 'idle', icon = true }) {
|
|
10
10
|
return (h("flexible-container", { isOpened: opened, classes: cn('shift-skeleton', { loading: isLoading || !opened }) }, h("div", { class: cn('card', className, `${state}-card`) }, icon && state === 'reject' && h("img", { src: RejectIcon }), icon && state === 'warning' && h("img", { src: RejectIcon }), icon && state === 'success' && h("img", { src: SuccessIcon }), from && (h("p", { class: "no-padding flex gap-2" }, h("span", { class: "font-semibold" }, fromDesc, ":"), " ", desc)), to && (h("p", { class: "no-padding flex gap-2" }, h("span", { class: "font-semibold" }, toDesc, ":"), " ", desc)), !from && !to && h("p", { class: state === 'idle' ? 'no-padding' : '' }, desc))));
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { h } from "@stencil/core";
|
|
6
|
+
import cn from "../../../global/lib/cn";
|
|
7
|
+
import { TriangleIcon } from "../../../global/assets/triangle-icon";
|
|
8
|
+
import { ActivationIcon } from "../../../global/assets/activation-icon";
|
|
9
|
+
const detailRows = [
|
|
10
|
+
{
|
|
11
|
+
label: 'serviceType',
|
|
12
|
+
key: 'type',
|
|
13
|
+
formatter: (item) => item.type.charAt(0).toUpperCase() + item.type.slice(1),
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
label: 'activationDate',
|
|
17
|
+
key: 'activatedAt',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: 'expireDate',
|
|
21
|
+
key: 'expiresAt',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: 'claimAt',
|
|
25
|
+
key: 'claimDate',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: 'claimingCompany',
|
|
29
|
+
key: 'companyName',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: 'invoiceNumber',
|
|
33
|
+
key: 'invoiceNumber',
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
label: 'jobNumber',
|
|
37
|
+
key: 'jobNumber',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: 'packageCode',
|
|
41
|
+
key: 'packageCode',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
const LEFT_PADDING = 16;
|
|
45
|
+
const RIGHT_PADDING = 16;
|
|
46
|
+
const BOTTOM_PADDING = 10;
|
|
47
|
+
const LEFT_SAFE_AREA = LEFT_PADDING + 25;
|
|
48
|
+
const RIGHT_SAFE_AREA = RIGHT_PADDING + 25;
|
|
49
|
+
const POPOVER_WIDTH = 400;
|
|
50
|
+
const HALF_POPOVER_WIDTH = POPOVER_WIDTH / 2;
|
|
51
|
+
const ARROW_PADDING = 19;
|
|
52
|
+
const CLAIMABLE_HEIGHT = 378;
|
|
53
|
+
const NONE_CLAIMABLE_HEIGHT = 322;
|
|
54
|
+
export const ClaimableItemPopover = ({ locale, item, targetLocation, showPopover, claim }) => {
|
|
55
|
+
let top = targetLocation.bottom + ARROW_PADDING;
|
|
56
|
+
const popOverHeight = (item === null || item === void 0 ? void 0 : item.claimable) ? CLAIMABLE_HEIGHT : NONE_CLAIMABLE_HEIGHT;
|
|
57
|
+
const flipVertically = popOverHeight + top + BOTTOM_PADDING > window.innerHeight;
|
|
58
|
+
if (flipVertically)
|
|
59
|
+
top = targetLocation.top - popOverHeight - ARROW_PADDING;
|
|
60
|
+
if (targetLocation.left < LEFT_SAFE_AREA)
|
|
61
|
+
targetLocation.left = LEFT_SAFE_AREA;
|
|
62
|
+
if (targetLocation.left > window.innerWidth - RIGHT_SAFE_AREA)
|
|
63
|
+
targetLocation.left = window.innerWidth - RIGHT_SAFE_AREA;
|
|
64
|
+
let left = targetLocation.left - HALF_POPOVER_WIDTH;
|
|
65
|
+
let popoverBodyOffset = 0;
|
|
66
|
+
const popoverBodyLeft = targetLocation.left - HALF_POPOVER_WIDTH;
|
|
67
|
+
const popoverBodyRight = targetLocation.left + HALF_POPOVER_WIDTH;
|
|
68
|
+
if (popoverBodyLeft - LEFT_PADDING < 0)
|
|
69
|
+
popoverBodyOffset += LEFT_PADDING - popoverBodyLeft;
|
|
70
|
+
if (popoverBodyRight + RIGHT_PADDING > window.innerWidth)
|
|
71
|
+
popoverBodyOffset -= popoverBodyRight + RIGHT_PADDING - window.innerWidth;
|
|
72
|
+
return (h("div", { "aria-expanded": showPopover.toString(), dir: locale.sharedLocales.direction, style: { top: `${top}px`, left: `${left}px` }, class: "claimable-item-popover" }, h("div", { class: "popover-relative-container" }, h("div", { class: cn('popover-arrow-icon', { flipped: flipVertically }) }, h(TriangleIcon, { class: "popover-arrow-icon-svg" }), h("div", { class: "popover-arrow-bottom-line" })), h("div", { style: { transform: `translateX(${popoverBodyOffset}px)` }, class: "popover-body" }, detailRows.map(row => (h("div", { class: "popover-info-row" }, h("b", null, locale[row.label]), h("div", null, item ? ((row === null || row === void 0 ? void 0 : row.formatter) ? row.formatter(item) : item[row.key]) : '')))), (item === null || item === void 0 ? void 0 : item.claimable) && (h("button", { onClick: () => claim && claim(item), class: "claim-button" }, h(ActivationIcon, null), h("span", null, locale.claim)))))));
|
|
73
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { h } from "@stencil/core";
|
|
6
|
+
import cn from "../../../global/lib/cn";
|
|
7
|
+
import expiredIcon from "~assets/expired.svg";
|
|
8
|
+
import pendingIcon from "~assets/pending.svg";
|
|
9
|
+
import cancelledIcon from "~assets/cancelled.svg";
|
|
10
|
+
import processedIcon from "~assets/processed.svg";
|
|
11
|
+
import activationRequiredIcon from "~assets/activationRequired.svg";
|
|
12
|
+
const icons = {
|
|
13
|
+
expired: expiredIcon,
|
|
14
|
+
pending: pendingIcon,
|
|
15
|
+
processed: processedIcon,
|
|
16
|
+
cancelled: cancelledIcon,
|
|
17
|
+
activationRequired: activationRequiredIcon,
|
|
18
|
+
};
|
|
19
|
+
export const ClaimableItem = ({ item, locale, addStatusClass, setClaimableItemPopover }) => {
|
|
20
|
+
const removeLoadAnimationClass = (event) => {
|
|
21
|
+
const component = event.target;
|
|
22
|
+
component.classList.remove('load-animation');
|
|
23
|
+
};
|
|
24
|
+
const openPopover = event => setClaimableItemPopover(true, item, event === null || event === void 0 ? void 0 : event.target);
|
|
25
|
+
const closePopover = () => setClaimableItemPopover(false);
|
|
26
|
+
return (h("div", { class: cn('claimable-item', { [item.status]: addStatusClass }) }, h("div", { class: "claimable-item-container" }, h("div", { onBlur: closePopover, onClick: openPopover, onMouseEnter: openPopover, onMouseLeave: closePopover, onAnimationEnd: removeLoadAnimationClass, class: "claimable-item-header load-animation" }, h("img", { src: icons[item.status], alt: "status icon" }), h("div", null, locale[item === null || item === void 0 ? void 0 : item.status])), h("div", { onAnimationEnd: removeLoadAnimationClass, class: "claimable-item-circle load-animation" }), h("div", { onAnimationEnd: removeLoadAnimationClass, class: "claimable-item-footer load-animation" }, item === null || item === void 0 ? void 0 : item.name))));
|
|
27
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@tailwind base;@tailwind utilities;@tailwind components;*,: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}.invisible{visibility:hidden}.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}.h-\[54px\]{height:54px}.origin-left{transform-origin:left}.scale-\[1\.5\]{--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.\!overflow-hidden{overflow:hidden!important}.overflow-hidden{overflow:hidden}.\!rounded-\[4px\]{border-radius:4px!important}.rounded-\[5px\]{border-radius:5px}.border{border-width:1px}.border-\[\#dcdcdc\]{--tw-border-opacity:1;border-color:rgb(220 220 220/var(--tw-border-opacity,1))}.border-\[\#ededed\]{--tw-border-opacity:1;border-color:rgb(237 237 237/var(--tw-border-opacity,1))}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-\[\#fdfdfd\]{--tw-bg-opacity:1;background-color:rgb(253 253 253/var(--tw-bg-opacity,1))}.p-0{padding:0}.text-center{text-align:center}.text-\[16px\]{font-size:16px}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-\[inset_0_1px_3px_rgba\(0\2c 0\2c 0\2c 0\.05\)\2c 0_1px_0_rgba\(255\2c 255\2c 255\2c 0\.1\)\]{--tw-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);--tw-shadow-colored:inset 0 1px 3px var(--tw-shadow-color),0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.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-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-\[0\.4s\]{transition-duration:.4s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.vehicle-info-container{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);--tw-shadow-colored:inset 0 1px 3px var(--tw-shadow-color),0 1px 0 var(--tw-shadow-color);background-color:rgb(253 253 253/var(--tw-bg-opacity,1));border-color:rgb(220 220 220/var(--tw-border-opacity,1));border-radius:5px;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:0;position:relative;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}::-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:cubic-bezier(.4,0,.2,1)}.vehicle-info-content{transition-duration:.3s;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:100%}.vehicle-info-header{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(246 246 246/var(--tw-bg-opacity,1));border-color:rgb(237 237 237/var(--tw-border-opacity,1));border-width:1px;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.15s;transition-duration:.4s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vehicle-info-header-vin span{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.loading .vehicle-info-header-vin{--tw-scale-x:1.5;--tw-scale-y:1.5;opacity: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));visibility:hidden}.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}}:host{all:initial!important;display:block}*{font-family:Arial}.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))}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.z-40{z-index:40}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.mr-\[16px\]{margin-right:16px}.mt-\[16px\]{margin-top:16px}.size-12{height:3rem;width:3rem}.size-full{height:100%;width:100%}.h-1{height:.25rem}.h-\[100dvh\]{height:100dvh}.h-\[150px\]{height:150px}.w-12{width:3rem}.w-\[100dvw\]{width:100dvw}.w-\[84px\]{width:84px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.-rotate-45{--tw-rotate:-45deg}.-rotate-45,.rotate-45{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))}.rotate-45{--tw-rotate:45deg}.cursor-pointer{cursor:pointer}.flex-wrap{flex-wrap:wrap}.gap-\[16px\]{gap:16px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.overflow-x-auto{overflow-x:auto}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border-b{border-bottom-width:1px}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\[12px\]{padding:12px}.p-\[6px\]{padding:6px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/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)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px);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)}.delay-200{transition-delay:.2s}.hover\:opacity-100:hover{opacity:1}.\[\&_div\]\:hover\:\!opacity-100:hover div{opacity:1!important}.\[\&_img\]\:hover\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-2{margin-bottom:.5rem;margin-top:.5rem}.hidden{display:none}.grow{flex-grow:1}.items-stretch{align-items:stretch}.overflow-auto{overflow:auto}.p-\[16px\]{padding:16px}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.mt-\[32px\]{margin-top:32px}.h-\[25px\]{height:25px}.h-\[50px\]{height:50px}.h-\[8px\]{height:8px}.px-\[16px\]{padding-left:16px;padding-right:16px}.pt-\[16px\]{padding-top:16px}.pt-\[40px\]{padding-top:40px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.z-50{z-index:50}.size-\[100px\]{height:100px;width:100px}.h-auto{height:auto}.max-h-\[100px\]{max-height:100px}.w-auto{width:auto}.max-w-\[100px\]{max-width:100px}
|
|
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}.fixed{position:fixed}.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}}.image-viewer-overlay{background-color:rgba(0,0,0,.4);height:100dvh;left:0;opacity:0;pointer-events:none;position:fixed;top:0;transition-duration:.4s;transition-property:all;width:100dvw;z-index:50}.image-viewer-overlay.active{opacity:1;pointer-events:auto;transition-delay:.2s}.image-viewer-close-btn{align-items:center;cursor:pointer;display:flex;flex-direction:column;float:right;height:3rem;justify-content:center;margin-right:16px;margin-top:16px;width:3rem}.image-viewer-close-line{background-color:#fff;border-radius:9999px;height:.25rem;position:absolute;width:3rem}.image-viewer-close-line.first{transform:rotate(45deg)}.image-viewer-close-line.second{transform:rotate(-45deg)}.image-viewer-expanded-image{border-radius:.5rem;opacity:0;position:fixed;transition-property:all;z-index:50}.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}.mx-auto{margin-left:auto;margin-right:auto}.size-full{height:100%;width:100%}.h-\[150px\]{height:150px}.w-\[84px\]{width:84px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-\[16px\]{gap:16px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-lg{border-radius:.5rem}.border-b{border-bottom-width:1px}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.p-\[12px\]{padding:12px}.p-\[6px\]{padding:6px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.text-center{text-align:center}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/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)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.duration-300{transition-duration:.3s}.hover\:opacity-100:hover{opacity:1}.\[\&_div\]\:hover\:\!opacity-100:hover div{opacity:1!important}.\[\&_img\]\:hover\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-2{margin-bottom:.5rem;margin-top:.5rem}.grow{flex-grow:1}.items-stretch{align-items:stretch}.overflow-auto{overflow:auto}.p-\[16px\]{padding:16px}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.mt-\[32px\]{margin-top:32px}.h-\[25px\]{height:25px}.h-\[50px\]{height:50px}.h-\[8px\]{height:8px}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.px-\[16px\]{padding-left:16px;padding-right:16px}.pt-\[16px\]{padding-top:16px}.pt-\[40px\]{padding-top:40px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.size-\[100px\]{height:100px;width:100px}.h-auto{height:auto}.max-h-\[100px\]{max-height:100px}.w-auto{width:auto}.max-w-\[100px\]{max-width:100px}
|