adp-web-components 0.0.88 → 0.0.90
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/cn-BHnqYtun.js +2597 -0
- package/dist/cjs/contact-us-form.cjs.entry.js +10 -21
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -32
- package/dist/cjs/flexible-container.cjs.entry.js +134 -0
- package/dist/cjs/form-dialog_8.cjs.entry.js +36 -92
- package/dist/cjs/{get-local-language-833c6cb0.js → get-local-language-XsAJEAsO.js} +338 -295
- package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
- package/dist/cjs/information-table.cjs.entry.js +40 -0
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
- package/dist/cjs/part-lookup.cjs.entry.js +14 -21
- package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
- package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
- package/dist/cjs/shift-components.cjs.js +7 -8
- package/dist/cjs/shift-slider.cjs.entry.js +70 -0
- package/dist/cjs/shift-tab-content_7.cjs.entry.js +1487 -0
- package/dist/cjs/shift-tabs_2.cjs.entry.js +301 -0
- package/dist/cjs/{type-34123f2d.js → type-BAD2dFzP.js} +32 -123
- package/dist/cjs/{type-6d925789.js → type-CCsnwaKp.js} +11 -8
- package/dist/cjs/{type-f37ab1af.js → type-DT5vXP0E.js} +4 -4
- package/dist/cjs/{type-4f0e1603.js → vehicle-info-layout-BSAeLW7e.js} +11 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +60 -50
- package/dist/cjs/vin-extractor.cjs.entry.js +22 -32
- package/dist/collection/collection-manifest.json +19 -13
- package/dist/collection/components/components/card-content.js +7 -0
- package/dist/collection/components/components/flexible-container.css +1 -0
- package/dist/collection/components/components/flexible-container.js +317 -0
- package/dist/collection/components/components/information-table.css +1 -0
- package/dist/collection/components/components/information-table.js +137 -0
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/loading-spinner.js +4 -5
- package/dist/collection/components/components/material-card.js +34 -0
- package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
- package/dist/collection/components/components/shift-accordion.js +102 -0
- package/dist/collection/components/components/shift-slider.css +1 -0
- package/dist/collection/components/components/shift-slider.js +95 -0
- package/dist/collection/components/components/shift-tab-content.css +1 -0
- package/dist/collection/components/components/shift-tab-content.js +98 -0
- package/dist/collection/components/components/shift-tabs.css +1 -0
- package/dist/collection/components/components/shift-tabs.js +140 -0
- package/dist/collection/components/components/vehicle-info-layout.js +7 -0
- package/dist/collection/components/form-elements/form-dialog.js +13 -9
- package/dist/collection/components/form-elements/form-input.js +42 -26
- package/dist/collection/components/form-elements/form-select.js +54 -38
- package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
- package/dist/collection/components/form-elements/form-structure-error.js +4 -2
- package/dist/collection/components/form-elements/form-structure.js +29 -13
- package/dist/collection/components/form-elements/form-submit.js +15 -7
- package/dist/collection/components/form-elements/form-text-area.js +33 -20
- package/dist/collection/components/forms/contact-us-form.js +37 -22
- package/dist/collection/components/forms/service-booking-form.js +37 -22
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +40 -27
- package/dist/collection/components/part-lookup/distributor-lookup.js +46 -29
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +54 -35
- package/dist/collection/components/part-lookup/part-lookup.js +39 -23
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +99 -47
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +959 -0
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +590 -0
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +123 -53
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
- package/dist/collection/components/vehicle-lookup/{paint-thickness.js → vehicle-paint-thickness.js} +99 -43
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +3 -0
- package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js} +101 -38
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +3 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +66 -38
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +3 -0
- package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +168 -54
- package/dist/collection/components/vin-extractor/vin-extractor.js +60 -39
- package/dist/collection/global/lib/children-with-tag.js +24 -0
- package/dist/collection/global/lib/container-has-tag.js +28 -0
- package/dist/collection/global/lib/get-local-language.js +15 -5
- package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
- package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
- package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
- package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
- package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
- package/dist/collection/global/types/generated/part/price-dto.js +1 -0
- package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
- package/dist/collection/locale-mapper.js +3 -3
- package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
- package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +9 -6
- package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
- package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
- package/dist/collection/templates/part-lookup/mock-data.js +14 -14
- package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
- 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.d.ts +11 -0
- package/dist/components/flexible-container.js +5 -0
- 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-shadow-input.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/index.js +1 -1
- package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
- package/dist/components/information-table.js +5 -0
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-1vy-Ba6r.js +5 -0
- package/dist/components/p-B6QhQCZi.js +5 -0
- package/dist/components/p-BDkK65_1.js +5 -0
- package/dist/components/p-BK16Cn81.js +5 -0
- package/dist/components/{p-a054ecb1.js → p-BaJpYztb.js} +1 -1
- package/dist/components/p-C-4kx8qU.js +5 -0
- package/dist/components/p-C1F_f1WE.js +5 -0
- package/dist/components/p-CACnUI7c.js +5 -0
- package/dist/components/p-CDOvd2iD.js +5 -0
- package/dist/components/p-CGzOJT7g.js +5 -0
- package/dist/components/p-CINfIgzX.js +5 -0
- package/dist/components/p-CJpwqpuQ.js +5 -0
- package/dist/components/p-CK4E5G0i.js +5 -0
- package/dist/components/p-CUqXnLyM.js +5 -0
- package/dist/components/p-CjWDXQ_q.js +5 -0
- package/dist/components/p-Cl9ct-bZ.js +5 -0
- package/dist/components/p-CqGVdvFp.js +5 -0
- package/dist/components/p-D2bxjSGr.js +5 -0
- package/dist/components/p-D63WC2_Y.js +5 -0
- package/dist/components/p-D7yku_Qi.js +5 -0
- package/dist/components/p-DXHx6lre.js +5 -0
- package/dist/components/p-DXj5zsQK.js +5 -0
- package/dist/components/p-DsCtgcZn.js +5 -0
- package/dist/components/p-DxjQlmaz.js +5 -0
- package/dist/components/p-JtBlsz4j.js +5 -0
- package/dist/components/p-P3fAKtye.js +5 -0
- package/dist/components/p-nxlqujKv.js +5 -0
- package/dist/components/p-vvHN2Olh.js +5 -0
- package/dist/components/p-yQ70lKV2.js +5 -0
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
- package/dist/components/shift-accordion.js +5 -0
- package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
- package/dist/components/shift-slider.js +5 -0
- package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
- package/dist/components/shift-tab-content.js +5 -0
- package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
- package/dist/components/shift-tabs.js +5 -0
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-claimable-items.d.ts +11 -0
- package/dist/components/vehicle-claimable-items.js +5 -0
- package/dist/components/vehicle-item-claim-form.d.ts +11 -0
- package/dist/components/vehicle-item-claim-form.js +5 -0
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-paint-thickness.d.ts +11 -0
- package/dist/components/vehicle-paint-thickness.js +5 -0
- package/dist/components/vehicle-service-history.d.ts +11 -0
- package/dist/components/vehicle-service-history.js +5 -0
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.d.ts +11 -0
- package/dist/components/vehicle-warranty-details.js +5 -0
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/cn-BK16Cn81.js +2595 -0
- package/dist/esm/contact-us-form.entry.js +10 -19
- package/dist/esm/dead-stock-lookup_3.entry.js +15 -30
- package/dist/esm/flexible-container.entry.js +132 -0
- package/dist/esm/form-dialog_8.entry.js +36 -90
- package/dist/esm/{get-local-language-c101a29e.js → get-local-language-BPo-xYwK.js} +339 -296
- package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
- package/dist/esm/information-table.entry.js +38 -0
- package/dist/esm/loader.js +3 -4
- package/dist/esm/loading-spinner.entry.js +6 -8
- package/dist/esm/part-lookup.entry.js +14 -19
- package/dist/esm/service-booking-form.entry.js +10 -19
- package/dist/esm/shift-accordion.entry.js +27 -0
- package/dist/esm/shift-components.js +5 -5
- package/dist/esm/shift-slider.entry.js +68 -0
- package/dist/esm/shift-tab-content_7.entry.js +1479 -0
- package/dist/esm/shift-tabs_2.entry.js +298 -0
- package/dist/esm/{type-da6a6181.js → type-CfLRnI1J.js} +10 -7
- package/dist/esm/{type-a560f317.js → type-D9Rd8Kcd.js} +5 -5
- package/dist/esm/{type-ecf0121e.js → type-DHujxJVp.js} +32 -123
- package/dist/esm/vehicle-info-layout-D1bvY1nt.js +43 -0
- package/dist/esm/vehicle-lookup.entry.js +55 -43
- package/dist/esm/vin-extractor.entry.js +22 -30
- package/dist/locales/errors/ru.json +10 -10
- package/dist/locales/partLookup/deadStock/ru.json +3 -3
- package/dist/locales/partLookup/distributor/ru.json +14 -14
- package/dist/locales/partLookup/manufacturer/ar.json +3 -3
- package/dist/locales/partLookup/manufacturer/en.json +3 -3
- package/dist/locales/partLookup/manufacturer/ku.json +3 -3
- package/dist/locales/partLookup/manufacturer/ru.json +15 -15
- package/dist/locales/partLookup/manufacturer/type.ts +3 -3
- package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +6 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +4 -1
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +6 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +10 -7
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +10 -7
- package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
- package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
- package/dist/locales/vehicleLookup/specification/ru.json +8 -8
- package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
- package/dist/locales/vehicleLookup/warranty/en.json +1 -0
- package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
- package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
- package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
- package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
- package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
- package/dist/shift-components/p-238f5df0.entry.js +5 -0
- package/dist/shift-components/p-389f444c.entry.js +5 -0
- package/dist/shift-components/p-5dd208de.entry.js +5 -0
- package/dist/shift-components/p-5f91eb5f.entry.js +5 -0
- package/dist/shift-components/p-76dd44e9.entry.js +5 -0
- package/dist/shift-components/p-9a51dae0.entry.js +5 -0
- package/dist/shift-components/p-BAMA88Mr.js +5 -0
- package/dist/shift-components/p-BK16Cn81.js +5 -0
- package/dist/shift-components/p-Br0JD1CD.js +5 -0
- package/dist/shift-components/p-CIU9c3pi.js +5 -0
- package/dist/shift-components/p-CikEOqe0.js +6 -0
- package/dist/shift-components/p-CuQ84qxe.js +5 -0
- package/dist/shift-components/p-DHb8KxaG.js +5 -0
- package/dist/shift-components/p-af44ca99.entry.js +5 -0
- package/dist/shift-components/p-b6497f63.entry.js +5 -0
- package/dist/shift-components/p-d0e6cd78.entry.js +5 -0
- package/dist/shift-components/p-f1225504.entry.js +5 -0
- package/dist/shift-components/p-f282c740.entry.js +5 -0
- package/dist/shift-components/p-faabbd23.entry.js +5 -0
- package/dist/shift-components/p-ff0fec09.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/card-content.d.ts +10 -0
- package/dist/types/components/components/flexible-container.d.ts +30 -0
- package/dist/types/components/components/information-table.d.ts +20 -0
- package/dist/types/components/components/material-card.d.ts +16 -0
- package/dist/types/components/components/shift-accordion.d.ts +13 -0
- package/dist/types/components/components/shift-slider.d.ts +11 -0
- package/dist/types/components/components/shift-tab-content.d.ts +12 -0
- package/dist/types/components/components/shift-tabs.d.ts +12 -0
- package/dist/types/components/components/vehicle-info-layout.d.ts +11 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +5 -5
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +5 -5
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +5 -5
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -5
- package/dist/types/components/vehicle-lookup/{dynamic-claim.d.ts → vehicle-claimable-items.d.ts} +31 -22
- package/dist/types/components/vehicle-lookup/{dynamic-redeem.d.ts → vehicle-item-claim-form.d.ts} +34 -10
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +20 -16
- package/dist/types/components/vehicle-lookup/{paint-thickness.d.ts → vehicle-paint-thickness.d.ts} +8 -6
- package/dist/types/components/vehicle-lookup/{service-history.d.ts → vehicle-service-history.d.ts} +7 -6
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -5
- package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +9 -8
- package/dist/types/components.d.ts +1060 -195
- package/dist/types/global/api/partInformation.d.ts +5 -5
- package/dist/types/global/api/vehicleInformation.d.ts +4 -4
- package/dist/types/global/lib/children-with-tag.d.ts +1 -0
- package/dist/types/global/lib/container-has-tag.d.ts +1 -0
- package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
- package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
- package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
- package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
- package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
- package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
- package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
- package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
- package/dist/types/locale-mapper.d.ts +2 -2
- package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
- package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
- package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
- package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +28 -16
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +52 -44
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/package.json +10 -8
- package/LICENSE +0 -21
- package/dist/cjs/app-globals-4aa8f46f.js +0 -46
- package/dist/cjs/cn-f559f9e5.js +0 -2588
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
- package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
- package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
- package/dist/collection/global/types/vehicle-information.js +0 -5
- package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
- package/dist/components/dynamic-claim.js +0 -5
- package/dist/components/dynamic-redeem.js +0 -5
- package/dist/components/p-11b381c5.js +0 -5
- package/dist/components/p-193d8106.js +0 -5
- package/dist/components/p-200d1808.js +0 -5
- package/dist/components/p-226ba896.js +0 -5
- package/dist/components/p-26f6cc29.js +0 -5
- package/dist/components/p-294d8325.js +0 -5
- package/dist/components/p-2acdd0af.js +0 -5
- package/dist/components/p-2fda2f2f.js +0 -5
- package/dist/components/p-3c0afe07.js +0 -5
- package/dist/components/p-48a9b8e5.js +0 -5
- package/dist/components/p-5454a106.js +0 -5
- package/dist/components/p-55c8cd0b.js +0 -5
- package/dist/components/p-6a7bbdf3.js +0 -5
- package/dist/components/p-79ecb709.js +0 -5
- package/dist/components/p-7e46c004.js +0 -5
- package/dist/components/p-8b1d90d7.js +0 -5
- package/dist/components/p-98d9e7ab.js +0 -5
- package/dist/components/p-a3684493.js +0 -5
- package/dist/components/p-a6d70cb6.js +0 -5
- package/dist/components/p-b09904be.js +0 -5
- package/dist/components/p-be50ca5e.js +0 -5
- package/dist/components/p-bffefd15.js +0 -5
- package/dist/components/p-d87dc098.js +0 -5
- package/dist/components/p-da2d6d3a.js +0 -5
- package/dist/components/p-f5eeeb44.js +0 -5
- package/dist/components/paint-thickness.js +0 -5
- package/dist/components/service-history.js +0 -5
- package/dist/components/warranty-details.js +0 -5
- package/dist/esm/app-globals-68faa233.js +0 -44
- package/dist/esm/cn-cc419b94.js +0 -2586
- package/dist/esm/dynamic-claim_6.entry.js +0 -1215
- package/dist/esm/dynamic-redeem.entry.js +0 -206
- package/dist/esm/type-b8db76db.js +0 -34
- package/dist/shift-components/p-232a8be0.entry.js +0 -5
- package/dist/shift-components/p-303060dd.entry.js +0 -5
- package/dist/shift-components/p-3ab6a99b.entry.js +0 -5
- package/dist/shift-components/p-446d908d.js +0 -5
- package/dist/shift-components/p-5b788e6a.entry.js +0 -5
- package/dist/shift-components/p-6723e1a8.js +0 -5
- package/dist/shift-components/p-74a3ad1c.entry.js +0 -5
- package/dist/shift-components/p-7b7d6d0e.entry.js +0 -5
- package/dist/shift-components/p-7fe5bd46.js +0 -5
- package/dist/shift-components/p-88368ab5.entry.js +0 -5
- package/dist/shift-components/p-9474a4da.js +0 -6
- package/dist/shift-components/p-95723679.entry.js +0 -5
- package/dist/shift-components/p-98d9e7ab.js +0 -5
- package/dist/shift-components/p-a0f7ad13.js +0 -5
- package/dist/shift-components/p-a90b4fd3.js +0 -5
- package/dist/shift-components/p-dee0018f.entry.js +0 -5
- package/dist/shift-components/p-e85c3c9f.js +0 -5
- package/dist/shift-components/p-fa9b43e2.entry.js +0 -5
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
- package/dist/types/global/types/part-information.d.ts +0 -53
- package/dist/types/global/types/vehicle-information.d.ts +0 -182
- package/loader/package.json +0 -11
- package/readme.md +0 -15
- /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
- /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
- /package/dist/collection/global/types/{part-information.js → generated/part/branch-dead-stock-dto.js} +0 -0
- /package/dist/components/{p-00a27a58.js → p-B5YdqGVm.js} +0 -0
- /package/dist/components/{p-fab97ac7.js → p-BT4rhLRL.js} +0 -0
- /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
- /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
- /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
- /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
- /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
- /package/dist/shift-components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-3a623f7c.js';
|
|
6
|
-
import { c as cn } from './cn-cc419b94.js';
|
|
7
|
-
import { s as sharedLocalesSchema, b as getSharedLocal } from './get-local-language-c101a29e.js';
|
|
8
|
-
import { a as dynamicRedeemSchema } from './type-da6a6181.js';
|
|
9
|
-
|
|
10
|
-
const dynamicRedeemCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! 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}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.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))}.border{border-width:1px}.outline{outline-style:solid}.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)}:host{all:initial!important;display:block}*{box-sizing:content-box;font-family:Arial;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .dynamic-redeem-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;transition:.35s;width:100%}.dynamic-claim-processor .dynamic-redeem-input:focus{border-bottom-color:#3071a9;transform:scale(1.1) translateY(-10px)}.dynamic-claim-processor-info-box{background:#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);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:start}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:\"\";display:inline-block;height:20px;margin-inline-end:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z\"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.warning-ul{padding-inline-start:2.5rem}.dynamic-claim-button{align-items:center;border:none;border-radius:5px;color:#fff;cursor:pointer;display:flex;font-weight:700;gap:3px;justify-content:center;justify-self:center;outline:none;padding:0 10px 0 0;transition:.3s;width:350px}.dynamic-claim-button.disabled{stroke:#d5d5d5!important;border-color:#d5d5d5;color:#d5d5d5!important;pointer-events:none}.dynamic-claim-button.disabled circle{fill:#d5d5d5!important}.dynamic-claim-button svg{transition:.2s}.claim-button{stroke:#27ae60;fill:#27ae60;background-color:transparent;border:1px solid #27ae60;color:#27ae60}.claim-button circle{fill:#2ecc71}.claim-button:hover{stroke:#fff;fill:#fff;background-color:#2ecc71;color:#fff}.claim-button:hover circle{fill:#fff}.claim-button:active{background-color:#27ae60}.claim-button:active svg{transform:scale(125%)}.static{position:static}.w-full{width:100%}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/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)}.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}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.gap-2{gap:.5rem}.font-semibold{font-weight:600}.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)}.m-\\[3px\\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}";
|
|
11
|
-
const DynamicRedeemStyle0 = dynamicRedeemCss;
|
|
12
|
-
|
|
13
|
-
const DynamicRedeem = class {
|
|
14
|
-
constructor(hostRef) {
|
|
15
|
-
registerInstance(this, hostRef);
|
|
16
|
-
this.closeModal = async () => {
|
|
17
|
-
this.isOpened = false;
|
|
18
|
-
this.item = null;
|
|
19
|
-
await new Promise(r => setTimeout(r, 500));
|
|
20
|
-
this.canceledItems = [];
|
|
21
|
-
this.unInvoicedByBrokerName = null;
|
|
22
|
-
if (this.claimViaBarcodeScanner) {
|
|
23
|
-
this.qrInput.value = '';
|
|
24
|
-
this.qrInput.readOnly = false;
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
this.invoiceInput.value = '';
|
|
28
|
-
this.invoiceInput.readOnly = false;
|
|
29
|
-
this.jobInput.value = '';
|
|
30
|
-
this.jobInput.readOnly = false;
|
|
31
|
-
}
|
|
32
|
-
this.qrCode = null;
|
|
33
|
-
this.invoice = null;
|
|
34
|
-
this.job = null;
|
|
35
|
-
this.readyToClaim = false;
|
|
36
|
-
this.isLoading = false;
|
|
37
|
-
};
|
|
38
|
-
this.inputKeyDown = async (event) => {
|
|
39
|
-
if (event === null || event.key === 'Enter') {
|
|
40
|
-
if (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles)
|
|
41
|
-
return;
|
|
42
|
-
if (event !== null)
|
|
43
|
-
event.preventDefault();
|
|
44
|
-
if (!(this === null || this === void 0 ? void 0 : this.handleClaiming))
|
|
45
|
-
return;
|
|
46
|
-
if (!this.readyToClaim)
|
|
47
|
-
return;
|
|
48
|
-
this.readyToClaim = false;
|
|
49
|
-
if (this.claimViaBarcodeScanner) {
|
|
50
|
-
this.qrInput.readOnly = true;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
this.invoiceInput.readOnly = true;
|
|
54
|
-
this.jobInput.readOnly = true;
|
|
55
|
-
}
|
|
56
|
-
this.isLoading = true;
|
|
57
|
-
this.handleClaiming({ jobNumber: this.job, invoice: this.invoice, qrCode: this.qrCode });
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
this.vin = '';
|
|
61
|
-
this.item = null;
|
|
62
|
-
this.language = 'en';
|
|
63
|
-
this.canceledItems = null;
|
|
64
|
-
this.unInvoicedByBrokerName = null;
|
|
65
|
-
this.handleClaiming = undefined;
|
|
66
|
-
this.loadingStateChange = undefined;
|
|
67
|
-
this.locale = dynamicRedeemSchema.getDefault();
|
|
68
|
-
this.claimViaBarcodeScanner = true;
|
|
69
|
-
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
70
|
-
this.isLoading = false;
|
|
71
|
-
this.internalVin = '';
|
|
72
|
-
this.isOpened = false;
|
|
73
|
-
this.internalItem = null;
|
|
74
|
-
this.confirmServiceCancellation = false;
|
|
75
|
-
this.internalCanceledItem = null;
|
|
76
|
-
this.confirmUnInvoicedTBPVehicles = false;
|
|
77
|
-
this.readyToClaim = false;
|
|
78
|
-
this.qrCode = null;
|
|
79
|
-
this.invoice = null;
|
|
80
|
-
this.job = null;
|
|
81
|
-
}
|
|
82
|
-
async componentWillLoad() {
|
|
83
|
-
await this.changeLanguage(this.language);
|
|
84
|
-
}
|
|
85
|
-
async changeLanguage(newLanguage) {
|
|
86
|
-
this.sharedLocales = await getSharedLocal(newLanguage);
|
|
87
|
-
}
|
|
88
|
-
onIsLoadingChange(newValue) {
|
|
89
|
-
if (this.loadingStateChange)
|
|
90
|
-
this.loadingStateChange(newValue);
|
|
91
|
-
}
|
|
92
|
-
async componentDidLoad() {
|
|
93
|
-
this.dynamicClaimProcessor = this.el.shadowRoot.querySelector('.dynamic-claim-processor');
|
|
94
|
-
if (this.unInvoicedByBrokerName === null) {
|
|
95
|
-
this.confirmUnInvoicedTBPVehicles = true;
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.confirmUnInvoicedTBPVehicles = false;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
async componentDidRender() {
|
|
102
|
-
this.qrInput = this.el.shadowRoot.querySelector('.dynamic-claim-processor #qr-input');
|
|
103
|
-
this.invoiceInput = this.el.shadowRoot.querySelector('.dynamic-claim-processor #invoice-input');
|
|
104
|
-
this.jobInput = this.el.shadowRoot.querySelector('.dynamic-claim-processor #job-input');
|
|
105
|
-
}
|
|
106
|
-
//private focusInput() {
|
|
107
|
-
// setTimeout(() => {
|
|
108
|
-
// this.invoiceInput.focus();
|
|
109
|
-
// }, 100);
|
|
110
|
-
//}
|
|
111
|
-
async changeInternalCanceledItem(newInternalCanceledItem) {
|
|
112
|
-
this.internalCanceledItem = newInternalCanceledItem;
|
|
113
|
-
if (this.internalCanceledItem.length > 0) {
|
|
114
|
-
this.confirmServiceCancellation = false;
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
this.confirmServiceCancellation = true;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
async changeConfirmUnInvoicedTBPVehicles(newUnInvoicedByBrokerName) {
|
|
121
|
-
if (newUnInvoicedByBrokerName === null) {
|
|
122
|
-
this.confirmUnInvoicedTBPVehicles = true;
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
this.confirmUnInvoicedTBPVehicles = false;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
async changeInternalVin(newInternalVin) {
|
|
129
|
-
this.internalVin = newInternalVin;
|
|
130
|
-
}
|
|
131
|
-
async changeInternalItem(newItem) {
|
|
132
|
-
var _a;
|
|
133
|
-
this.isOpened = !!newItem;
|
|
134
|
-
if (newItem)
|
|
135
|
-
this.internalItem = newItem;
|
|
136
|
-
this.claimViaBarcodeScanner = ((_a = this.item) === null || _a === void 0 ? void 0 : _a.claimingMethodEnum) === 1;
|
|
137
|
-
if (newItem) {
|
|
138
|
-
this.closeModalListenerRef = (event) => event.key === 'Escape' && this.quite();
|
|
139
|
-
window.addEventListener('keydown', this.closeModalListenerRef);
|
|
140
|
-
await new Promise(r => setTimeout(r, 300));
|
|
141
|
-
if (this.qrInput)
|
|
142
|
-
this.qrInput.focus();
|
|
143
|
-
if (this.invoiceInput)
|
|
144
|
-
this.invoiceInput.focus();
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
window.removeEventListener('keydown', this.closeModalListenerRef);
|
|
148
|
-
this.quite();
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
async quite() {
|
|
152
|
-
this.closeModal();
|
|
153
|
-
}
|
|
154
|
-
async getQrValue() {
|
|
155
|
-
return this.invoiceInput.value;
|
|
156
|
-
}
|
|
157
|
-
updateReadyToClaim() {
|
|
158
|
-
var _a, _b, _c;
|
|
159
|
-
this.readyToClaim = false;
|
|
160
|
-
if (this.claimViaBarcodeScanner) {
|
|
161
|
-
if (((_a = this.qrCode) === null || _a === void 0 ? void 0 : _a.trim().length) > 0)
|
|
162
|
-
this.readyToClaim = true;
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
if (((_b = this.invoice) === null || _b === void 0 ? void 0 : _b.trim().length) > 0 && ((_c = this.job) === null || _c === void 0 ? void 0 : _c.trim().length) > 0)
|
|
166
|
-
this.readyToClaim = true;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
render() {
|
|
170
|
-
var _a, _b, _c, _d, _e;
|
|
171
|
-
const texts = this.locale;
|
|
172
|
-
const disableInput = !this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles;
|
|
173
|
-
//if (!disableInput) this.focusInput();
|
|
174
|
-
return (h(Host, { key: '706ad2e7bd47f021fede9f84d26b80536be8bc81' }, h("div", { key: 'ca7193d8435b4c3310e7acd1c36404b41718984f', dir: this.sharedLocales.direction, class: cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, h("svg", { key: '7df1adb0730e6d8afa1cf8fe6fe0429eccb6fdeb', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: 'e58b3de8327cb6b387a0ffd9295712d96fc40adf', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '0c8c47556ad9bdb525d9ac55851c89456b71d735', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '51759371c5de86b355e494f2e70b7e2f57e3f788', id: "SVGRepo_iconCarrier" }, h("path", { key: 'e9627caf2abb65bc07f248090869442c29c24218', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '8dfecc221faa6e5d3b037e8469a7d2095f5fdf54', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '85e0b97b4cb3531642e229b10bf814c1a1c83de7', class: "dynamic-claim-processor-wrapper" }, h("div", { key: 'dc064b40635b4df36675d1b62fc108f0708195d0', class: "dynamic-claim-processor-info-box" }, h("div", { key: '74ecab938a8fe5a3d7ee2cbc40eec73faf13c1b6', class: "dynamic-claim-processor-info-box-header" }, h("strong", { key: '753f82b76f0390ee36eb67deba00eede69f274bb', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), h("div", { key: 'e5680b4f20585aa501c820d94e843d843865cdf4', class: "dynamic-claim-processor-info-box-body" }, h("table", { key: 'af50107d93e554cf0c68401b4648767bb15cc1fb', class: "border-separate" }, h("tr", { key: 'ec2732385c8fff309cae0b1ba307abbc4c73db19' }, h("th", { key: '9b86406ed5045f27d10f09ec0830bfe5e8b7edab' }, texts.serviceType), h("td", { key: 'a365a9a1fd56323b68514e321cb291c56d99660e' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), h("th", { key: '5c2f784e078ceddc983727ac6f11de2e3a334b2e' }, texts.name), h("td", { key: '1d1d630e5d02d8c32cfd5411374830e8c6455f60' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), h("tr", { key: 'e30676fc009bcd61efb1caf969de5a29510c0e47' }, h("th", { key: 'eebb5593bb17c714cdb5b1c6ffeb8679a1d2fdd4' }, texts.activationDate), h("td", { key: '22d3f5fa09fa0134dffc2283af09984c808f5351' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), h("th", { key: '48bc58931b6422666372de8671fd3ec029952d79' }, texts.expireDate), h("td", { key: '249194fcf4ccffa95b0191c3b18b1da4df06013d' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), h("tr", { key: '238dc6333af128b19c40c82c423311ef4c0e3001' }, h("th", { key: 'cf7efdb92483f42548dc31dabd0f962329c5c6f0' }, texts.packageCode), h("td", { key: 'eed9a5f7055478e5ba84fd97961b5100875309e6' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.packageCode))))), h("div", { key: '46decfbad5bc2af8ba61f1a53d660abb695b6e02', style: { flex: '1', width: '100%', display: 'flex', flexDirection: 'column', justifyContent: 'space-evenly' } }, (this === null || this === void 0 ? void 0 : this.internalCanceledItem) && Array.isArray(this.internalCanceledItem) && !!this.internalCanceledItem.length && (h("div", { key: 'abc9d109f47c0228a72763c8ade0e48ce6967c7d', class: "admonition warning" }, h("p", { key: '5fdc10d14c30f79db90847eba19a41bd3ed21f35', class: "admonition-title" }, texts.warning), h("div", { key: 'f71a8e0ec8422adb88bda9197ea32e9dd1e2208c', style: { padding: '0 30px' } }, h("p", { key: '3c9de802b0c59662f4dfac4576841790528f879a', class: "my-4" }, texts.skipServicesWarning), h("ul", { key: '1bdfb7f79e6a8c572caf5b9fe4413bc551f95510', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (h("li", { id: name }, name)))), h("div", { key: '20da27df96413cfe3d4763078ef71bebba4d516d', class: "cancel-confirmation-box" }, h("label", { key: '9765a56ee629bb21158668fa3379fe5378408103' }, h("input", { key: '37a5e1d7975ba456153bd31f4fd4e161940a5421', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
|
|
175
|
-
this.confirmServiceCancellation = !this.confirmServiceCancellation;
|
|
176
|
-
} }), texts.confirmSkipServices))))), this.unInvoicedByBrokerName && (h("div", { key: '6c0536af9afab936451b7ab024f2e7eae630f35c', class: "admonition warning" }, h("p", { key: 'a80f896c67ad918f390b4f7141760aefb0d4702b', class: "admonition-title" }, texts.warning), h("div", { key: 'ee70757e585ab60741ceac7986f809d6744f4547', style: { padding: '0 30px' } }, h("p", { key: 'ab36c9f39caf97cc8689c0099f13028256add664', class: "my-4" }, texts.notInvoiced), h("div", { key: '8edd708b7c179a13a1766699b361f61b6e8bc949' }, h("strong", { key: '7438b7fc59ad1b7bd37e2648971bc88c604466b9' }, this.unInvoicedByBrokerName)), h("div", { key: '94f6768a6694f255d93f2f43c0644a6acd5c3803', class: "cancel-confirmation-box" }, h("label", { key: '652327b1199939938d3196fb0eb8a51e917a6879' }, h("input", { key: '0d4ae935295cf3d9c33cd32de8763b2564790835', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
|
|
177
|
-
this.confirmUnInvoicedTBPVehicles = !this.confirmUnInvoicedTBPVehicles;
|
|
178
|
-
} }), texts.confirmNotInvoiced))))), h("div", { key: '619683d7b76280f0d67516a6736a65197719dd24', class: cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, h("div", { key: '9cc284a4f20779516ecf89bedf4a1929ba40c96b', id: "scan-invoice-step", class: cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, h("div", { key: '0c9ad8e4365f2d60ae98cba32385778ea017ef76', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, h("div", { key: 'bb58cf947108caa95d71bf5d65fb57a5f48e1273', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, h("svg", { key: '88e743d5ec9bcc65a7759be104f5ecbfde5fcd08', fill: "#3071a9", height: "100px", width: "100px", version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", stroke: "#ffffff" }, h("g", { key: 'f303a4eeebc8db5256cfa853973e3c4c6faad547', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '4393d242dd410a24ddab98171e35bb083add4e6f', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: 'f538a26bab571d0c34c235bc8680896120149886', id: "SVGRepo_iconCarrier" }, h("g", { key: '3cbd72b1b212602188818f7b2a2176731659ab13' }, h("g", { key: '2a00cb157cd201e899bffa30debacc51bcce185e' }, h("path", { key: '34e9148c033685e59662872a90907eecc3e5e56b', d: "M354.338,34.205h-61.71c-3.354-9.93-12.752-17.102-23.8-17.102h-17.547C243.359,6.451,230.813,0,217.521,0 s-25.839,6.451-33.76,17.102h-17.547c-11.048,0-20.446,7.172-23.8,17.102H80.701c-18.566,0-33.67,15.105-33.67,33.67v359.148 c0,18.566,15.105,33.67,33.67,33.67h171.023c4.427,0,8.017-3.589,8.017-8.017c0-4.427-3.589-8.017-8.017-8.017H80.701 c-9.725,0-17.637-7.912-17.637-17.637V67.875c0-9.725,7.912-17.637,17.637-17.637h60.394v26.188c0,4.427,3.589,8.017,8.017,8.017 H285.93c4.427,0,8.017-3.589,8.017-8.017V50.238h60.391c9.725,0,17.637,7.912,17.637,17.637v230.881 c0,4.427,3.589,8.017,8.017,8.017c4.427,0,8.017-3.589,8.017-8.017V67.875C388.008,49.309,372.904,34.205,354.338,34.205z M277.914,68.409H157.129V42.252c0-0.011,0.001-0.02,0.001-0.031c0-0.005-0.001-0.011-0.001-0.015 c0.009-5.004,4.08-9.071,9.085-9.071h21.846c2.854,0,5.493-1.517,6.929-3.985c4.781-8.213,13.204-13.117,22.532-13.117 s17.751,4.904,22.532,13.117c1.435,2.467,4.075,3.985,6.929,3.985h21.846c4.999,0,9.067,4.059,9.085,9.055 c0,0.011-0.001,0.02-0.001,0.031c0,0.021,0.003,0.041,0.003,0.062V68.409z" }))), h("g", { key: 'a729f0cc7dba742679242094ce1a1cd0b56332e2' }, h("g", { key: '6dcff9d30372fed1e41b041b885b4531f25b9351' }, h("path", { key: '78fa2c3d23282e1e1160de5cccf4473469a4f710', d: "M251.722,410.455H97.269V84.443h17.64c4.427,0,8.017-3.589,8.017-8.017s-3.589-8.017-8.017-8.017H89.253 c-4.427,0-8.017,3.589-8.017,8.017v342.046c0,4.427,3.589,8.017,8.017,8.017h162.47c4.427,0,8.017-3.589,8.017-8.017 C259.739,414.044,256.15,410.455,251.722,410.455z" }))), h("g", { key: '232ce0c24ef3ee015a63b98245fa3d9d552bec8f' }, h("g", { key: '7cb9a67fd83944abb432a65cdd1b3592fb82b943' }, h("path", { key: '4c6762c273b9c0402911092475bbad9e548c1dcd', d: "M345.787,68.409h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.637v214.311 c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017V76.426C353.804,71.999,350.214,68.409,345.787,68.409z" }))), h("g", { key: '289f3007aa2f28cad02783c55e95dbccda9b4058' }, h("g", { key: '7240e1c7293bdc34dec72b049d7b527794a4e220' }, h("path", { key: 'daeabd667c94f1301b7a033c7055bd300dec1840', d: "M371.44,324.944c-51.572,0-93.528,41.956-93.528,93.528S319.869,512,371.44,512s93.528-41.956,93.528-93.528 S423.012,324.944,371.44,324.944z M371.44,495.967c-42.731,0-77.495-34.764-77.495-77.495s34.764-77.495,77.495-77.495 s77.495,34.764,77.495,77.495S414.172,495.967,371.44,495.967z" }))), h("g", { key: 'f68804f7b0f820d249d355c4deca2d3a03f220f4' }, h("g", { key: '845978de82807022e56a8fe32cd0fc76bdba9feb' }, h("path", { key: 'ad2d1871a232fc55ecb770a047f79890c656e958', d: "M217.607,34.205h-0.086c-4.427,0-7.974,3.589-7.974,8.017c0,4.427,3.631,8.017,8.059,8.017 c4.427,0,8.017-3.589,8.017-8.017C225.624,37.794,222.035,34.205,217.607,34.205z" }))), h("g", { key: '31b4cf464d7e0b59c59f984829f8317040cbf2f8' }, h("g", { key: 'c4f6d07675112f1532b78bb54fd8f73dd0c64a91' }, h("path", { key: 'a1aa408793f956f84e93beb4b0b5520b68269c9c', d: "M419.865,387.15c-3.13-3.131-8.207-3.131-11.337,0l-54.19,54.19l-28.536-28.536c-3.131-3.131-8.207-3.131-11.337,0 c-3.131,3.131-3.131,8.207,0,11.337l34.205,34.205c1.565,1.565,3.617,2.348,5.668,2.348s4.103-0.782,5.668-2.348l59.858-59.858 C422.995,395.356,422.995,390.28,419.865,387.15z" }))), h("g", { key: '9311f27d8cef8a17636a24aed4a2e3de5e8ba3df' }, h("g", { key: '80bb5c1ec1e000bb6e897f707a105d543f824bf2' }, h("path", { key: 'fb1af51e9108e93114abb76c1d25474b508ba8dd', d: "M182.781,177.309v-32.338c11.295,1.934,18.171,7.688,18.171,11.889c0,4.427,3.589,8.017,8.017,8.017 s8.017-3.589,8.017-8.017c0-14.171-14.492-25.621-34.205-28.092v-1.036c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 v1.036c-19.713,2.47-34.205,13.92-34.205,28.092c0,20.074,18.829,27.788,34.205,32.461v32.338 c-11.295-1.934-18.171-7.688-18.171-11.889c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 c0,14.171,14.492,25.621,34.205,28.092v1.036c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-1.036 c19.713-2.47,34.205-13.92,34.205-28.092C216.985,189.697,198.157,181.982,182.781,177.309z M166.747,172.411 c-13.524-4.713-18.171-8.963-18.171-15.551c0-2.535,2.236-5.335,6.134-7.68c3.294-1.982,7.473-3.415,12.037-4.198V172.411z M194.818,217.45c-3.294,1.982-7.473,3.415-12.037,4.198v-27.429c13.524,4.713,18.171,8.963,18.171,15.551 C200.952,212.306,198.716,215.105,194.818,217.45z" }))), h("g", { key: 'b388c92747b8e71849d6dfa506184be9260da8be' }, h("g", { key: '663854b3dddd1f906c71cd5eef17b16afe7705a9' }, h("path", { key: 'f39b8ead9bfa8681c91727c9c3360275a89895a6', d: "M294.48,136.818h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,136.818,294.48,136.818z" }))), h("g", { key: '3ec694f6e3f7cfa6370f9a5802801bfab881032d' }, h("g", { key: '46765d5f0bbe3ba1ac433658e96326cd906048e6' }, h("path", { key: '646b6dd27e9498f964782d4fc0fd6244b4c6af7a', d: "M277.378,171.023h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h25.653 c4.427,0,8.017-3.589,8.017-8.017S281.805,171.023,277.378,171.023z" }))), h("g", { key: 'd28793ff30e0facf2840e23f13c5ade2569d7179' }, h("g", { key: '7f0a043e6578ad9c9732ddd2481701d47ca76c5b' }, h("path", { key: 'cd2c27c778288d6ccc637a2e6651fdc0900da891', d: "M294.48,205.228h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,205.228,294.48,205.228z" }))), h("g", { key: 'cd74828a531c95af4bd0c344d5a85fd50d6fae2b' }, h("g", { key: 'd2f40c08fe351f4a61a7254027c05dc941162153' }, h("path", { key: 'aec7687e73e1d555f92f3c77f2dc6e8f24237b67', d: "M157.662,282.188H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,282.188,157.662,282.188z" }))), h("g", { key: 'f9ee81de2a73bb25a36723cb7d2a8fbc514351bf' }, h("g", { key: 'dd7e098c38257b54b61626df681616c24c4537e7' }, h("path", { key: '166c8036abdc4ee9d728616d006dd76362045490', d: "M157.662,350.597H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,350.597,157.662,350.597z" }))), h("g", { key: 'e303e4a9a2e7ff6d69fe2f52ca58ed0029671d03' }, h("g", { key: 'b850bc3be2ff279123844509c5473debf73134e3' }, h("path", { key: '742bc1f0a210bc22fca7da9a386a330cf00a7e8c', d: "M157.662,316.393H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,316.393,157.662,316.393z" }))), h("g", { key: '126f5ec462c639e1dfe97f4bd5dc549798bef0bb' }, h("g", { key: 'dc409e6bb0f3b00bfe759f09d7ac12d5ebeb4082' }, h("path", { key: 'a3155ff16da13098001d406023866d470a7e762b', d: "M294.48,282.188H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,282.188,294.48,282.188z" }))), h("g", { key: '92499a4ae2bbd391176643384e4e37ba4a90242e' }, h("g", { key: '25d5c35a5ed06c80eacf837044ee8f2059c37d79' }, h("path", { key: 'fdfcee28f7333a1e669552912e3de894535e91af', d: "M268.827,350.597h-76.96c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h76.96 c4.427,0,8.017-3.589,8.017-8.017S273.254,350.597,268.827,350.597z" }))), h("g", { key: 'df722a8ebb1baffdff6dc57203b41d80b4a08997' }, h("g", { key: '801ddd7682aa3607ab3d37196e26a1302e35bb94' }, h("path", { key: '83896658722885457c4be264e1d81490c85b7795', d: "M294.48,316.393H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,316.393,294.48,316.393z" }))))), h("div", { key: '8bdec16e8b725b2257ed5e987bd10742c210ae03' }, this.claimViaBarcodeScanner ? texts.scanTheVoucher : texts.enterServiceInfo)), h("div", { key: 'e3a7fa0b1c0753fd295f47f54f281fcb6f06edd5', style: { position: 'absolute' }, class: "loading-wrapper" }, h("div", { key: 'ad79ed32d0e3438d522b5e3fa52963d1638db12f', class: cn('lds-ripple', this.isLoading && 'active') }, h("div", { key: '854c3e40e412fde09066a4a1213ea71bb75b1753' }), h("div", { key: 'd2ce22229a1b3f7a6dfdc373daec8c6406a95006' })), h("div", { key: 'd529047a8ee0377268ba630e293694811dcc9290', class: cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), this.claimViaBarcodeScanner && (h("div", { key: 'ab52d4d3acb7be24eca590d6a9aa8665d1a55aa6', style: { display: 'flex', flexDirection: 'row', gap: '50px', padding: '0 75px' } }, h("input", { key: '01dfdd902fb137a8f845166258bf8731b1501f22', id: "qr-input", dir: "ltr", class: "dynamic-redeem-input", spellcheck: "false", onInput: e => {
|
|
179
|
-
this.qrCode = e.target.value;
|
|
180
|
-
this.updateReadyToClaim();
|
|
181
|
-
}, onKeyDown: this.inputKeyDown, onBlur: () => {
|
|
182
|
-
var _a;
|
|
183
|
-
(_a = this.qrInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
184
|
-
}, autocomplete: "off", disabled: disableInput, placeholder: texts.qrCode, autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))), !this.claimViaBarcodeScanner && (h("div", { key: '90ccc16abb0dbccba17d3af724adf4bac676979b' }, h("div", { key: 'd106a3cffaf3672f08e52d884c1f2bef00a18826', style: { display: 'flex', flexDirection: 'row', gap: '50px', padding: '0 75px' } }, h("input", { key: '6dab16321af8eb1e7728e490e8fd05f90f13d324', id: "invoice-input", dir: "ltr", class: "dynamic-redeem-input", spellcheck: "false", onInput: e => {
|
|
185
|
-
this.invoice = e.target.value;
|
|
186
|
-
this.updateReadyToClaim();
|
|
187
|
-
}, onKeyDown: this.inputKeyDown, autocomplete: "off", disabled: disableInput, placeholder: texts.invoice, autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }), h("input", { key: '8aabb7c71a78b45cd08bdbba6047f3cfc38f6244', id: "job-input", dir: "ltr", class: "dynamic-redeem-input", spellcheck: "false", onInput: e => {
|
|
188
|
-
this.job = e.target.value;
|
|
189
|
-
this.updateReadyToClaim();
|
|
190
|
-
}, onKeyDown: this.inputKeyDown, autocomplete: "off", disabled: disableInput, placeholder: texts.jobNumber, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } })), h("div", { key: 'f2bfc25a80eca04756741d102d7df7444a9f1523', style: { marginTop: '55px' } }, h("button", { key: 'f16976ec5ca2ec3c94fa10571572f90b8fad7501', onClick: () => {
|
|
191
|
-
this.inputKeyDown(null);
|
|
192
|
-
}, class: cn('claim-button', 'dynamic-claim-button', !(this === null || this === void 0 ? void 0 : this.readyToClaim) && 'disabled') }, h("svg", { key: '73178d8123577d3b0fe834fac3a481e23199548a', width: "30px", height: "30px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '362a738d77fe4f9d006ba6aac12d9b4f2575274a', "stroke-width": "0" }), h("g", { key: '5a3b69335433fe43a2a5f88b763c37db7b9c11b5', "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '697faa1dfcb056fc18c17b7cfa05b935ae64e9f6' }, h("circle", { key: 'd792aefab45304801a55a88bc51c0504accb4a49', cx: "12", cy: "12", r: "8", "fill-opacity": "0.24" }), h("path", { key: '6b8c85f0e6339bc411bc3805c0f5c0878bc975fe', d: "M8.5 11L11.3939 13.8939C11.4525 13.9525 11.5475 13.9525 11.6061 13.8939L19.5 6", "stroke-width": "1.2" }))), h("span", { key: '0f223ef655bc40104a45b0b2e0aa6828285572d3' }, texts.claim))))))))))));
|
|
193
|
-
}
|
|
194
|
-
get el() { return getElement(this); }
|
|
195
|
-
static get watchers() { return {
|
|
196
|
-
"language": ["changeLanguage"],
|
|
197
|
-
"isLoading": ["onIsLoadingChange"],
|
|
198
|
-
"canceledItems": ["changeInternalCanceledItem"],
|
|
199
|
-
"unInvoicedByBrokerName": ["changeConfirmUnInvoicedTBPVehicles"],
|
|
200
|
-
"vin": ["changeInternalVin"],
|
|
201
|
-
"item": ["changeInternalItem"]
|
|
202
|
-
}; }
|
|
203
|
-
};
|
|
204
|
-
DynamicRedeem.style = DynamicRedeemStyle0;
|
|
205
|
-
|
|
206
|
-
export { DynamicRedeem as dynamic_redeem };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { y as yupTypeMapper } from './get-local-language-c101a29e.js';
|
|
6
|
-
|
|
7
|
-
const warrantySchema = yupTypeMapper([
|
|
8
|
-
'authorized',
|
|
9
|
-
'unauthorized',
|
|
10
|
-
'activeWarranty',
|
|
11
|
-
'notActiveWarranty',
|
|
12
|
-
'notInvoiced',
|
|
13
|
-
'from',
|
|
14
|
-
'to',
|
|
15
|
-
'pendingSSC',
|
|
16
|
-
'noPendingSSC',
|
|
17
|
-
'checkingTMC',
|
|
18
|
-
'sscCampings',
|
|
19
|
-
'sscTableCode',
|
|
20
|
-
'sscTableDescription',
|
|
21
|
-
'sscTableRepairStatus',
|
|
22
|
-
'sscTableOPCode',
|
|
23
|
-
'sscTablePartNumber',
|
|
24
|
-
]);
|
|
25
|
-
|
|
26
|
-
const accessoriesSchema = yupTypeMapper(['vehicleAccessories', 'noData', 'partNumber', 'description', 'image', 'expand']);
|
|
27
|
-
|
|
28
|
-
const specificationSchema = yupTypeMapper(['vehicleSpecification', 'noData', 'model', 'variant', 'katashiki', 'modelYear', 'sfx', 'productionDate']);
|
|
29
|
-
|
|
30
|
-
const paintThicknessSchema = yupTypeMapper(['paintThickness', 'noData', 'part', 'left', 'right', 'noImageGroups', 'expand']);
|
|
31
|
-
|
|
32
|
-
const ServiceHistorySchema = yupTypeMapper(['serviceHistory', 'noData', 'branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer']);
|
|
33
|
-
|
|
34
|
-
export { ServiceHistorySchema as S, accessoriesSchema as a, paintThicknessSchema as p, specificationSchema as s, warrantySchema as w };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import{r as t,h as e,H as i,g as a}from"./p-9474a4da.js";import{c as o}from"./p-98d9e7ab.js";import{v as r}from"./p-383b4ddf.js";const s="activeCameraId",n=class{constructor(e){t(this,e),this.registerFileUploader=()=>{!this.readSticker||this.codeReader?(this.fileButton=document.querySelector("#"+this.uploaderButtonId),this.fileInput=this.el.shadowRoot.querySelector(".vin-extractor-input"),this.fileButton.removeEventListener("click",this.onFileUploaderClick),this.fileInput.removeEventListener("change",this.onFileUploaderChange),this.fileButton.addEventListener("click",this.onFileUploaderClick),this.fileInput.addEventListener("change",this.onFileUploaderChange)):setTimeout((()=>{this.componentDidLoad()}),100)},this.onFileUploaderClick=()=>{this.fileInput.click()},this.onFileUploaderChange=()=>{var t;const e=null===(t=this.fileInput.files)||void 0===t?void 0:t[0];if(!e)return;const i=new Image,a=new FileReader;a.onload=()=>{i.src=a.result},i.onload=async()=>{this.handleOnProcessing(!0);const t=await this.processCanvasFromSource(i,this.videoCanvas);await this.handleImage(t),this.handleOnProcessing(!1)},a.readAsDataURL(e)},this.triggerCallback=(t,...e)=>{var i;t&&("function"==typeof t?t(...e):this.blazorRef&&"string"==typeof t&&t&&(null===(i=this.blazorRef)||void 0===i||i.invokeMethodAsync(t,...e)))},this.handleError=t=>{this.triggerCallback(this.onError,t)},this.handleExtract=t=>{this.triggerCallback(this.onExtract,t)},this.handleOnProcessing=t=>{this.triggerCallback(this.onProcessing,t)},this.captureFrame=async(t=!1)=>{if(!this.isOpen)return;if(!this.videoPlayer||!this.videoCanvas)return this.componentDidLoad();this.handleOnProcessing(!0),t&&(this.videoPlayer.pause(),this.manualCaptureLoading=!0);const e=await this.processCanvasFromSource(this.videoPlayer,this.videoCanvas);this.handleImage(e),this.manualCapture||(this.frameCaptureTimeoutRef=setTimeout(this.captureFrame,this.captureInterval),this.handleOnProcessing(!1)),t&&setTimeout((()=>{this.videoPlayer.play(),this.manualCaptureLoading=!1,this.handleOnProcessing(!1)}),1e3)},this.handleImage=async t=>{this.readSticker&&await this.stickerHandler(t),this.useOcr&&this.ocrEndpoint&&await this.ocrHandler(t)},this.ocrHandler=async t=>{try{const e=await fetch(this.ocrEndpoint,{method:"POST",headers:{"Content-Type":"application/json"},signal:this.abortController.signal,body:JSON.stringify({image:t.split(",")[1]})});if(!e.ok)throw new Error("Failed to fetch OCR result");this.verbose&&console.log(e);const i=await e.text();(this.skipValidation||i.trim()&&r(i))&&this.handleExtract(i)}catch(t){this.handleError(t)}},this.stickerHandler=async t=>{try{this.verbose&&console.log("try detecting sticker");const e=(await this.codeReader.decodeFromImage(void 0,t)).getText();if(this.verbose&&console.log(e),e.trim())if(this.skipValidation)this.handleExtract(e.trim());else{const t=e.replace(/[qo]/g,"0").replace(/i/g,"1").replace(/ /g,"");17===t.length&&r(t)&&this.handleExtract(t)}}catch(t){this.handleError(t)}},this.openScanner=async()=>{var t;try{null===(t=this.abortController)||void 0===t||t.abort(),this.abortController=new AbortController;const e=await navigator.permissions.query({name:"camera"});if("prompt"===e.state)try{await navigator.mediaDevices.getUserMedia({video:!0})}catch(t){throw new Error("no camera access")}if("denied"===e.state)throw new Error("no camera access");const i=(await navigator.mediaDevices.enumerateDevices()).filter((t=>"videoinput"===t.kind));if(0===i.length)throw new Error("No Camera Found");if(this.videoInputs=i,!i.some((t=>t.deviceId===this.activeCameraId))){const t=i.find((({label:t})=>t.toLowerCase().includes("back")||t.toLowerCase().includes("environment")))||i[0];this.activeCameraId=t.deviceId,localStorage.setItem(s,this.activeCameraId)}await this.startCamera(),this.manualCapture||(this.frameCaptureTimeoutRef=setTimeout(this.captureFrame,this.captureInterval+300)),document&&(document.body.style.overflow="hidden"),this.isCameraReady=!0,this.containerAnimation="show-container"}catch(t){this.handleError(t)}},this.startCamera=async()=>{try{const t={video:{deviceId:this.activeCameraId}};this.streamRef=await navigator.mediaDevices.getUserMedia(t),this.videoPlayer&&(this.videoPlayer.srcObject=this.streamRef,this.videoPlayer.play()),this.manualCaptureLoading=!1}catch(t){throw this.verbose&&console.error(t),new Error("Error accessing camera: ")}},this.closeScanner=()=>{this.isCameraReady=!1,this.abortController.abort(),clearTimeout(this.frameCaptureTimeoutRef),this.codeReader&&this.codeReader.reset(),document&&(document.body.style.overflow="auto"),this.containerAnimation="hide-container"},this.stopCamera=()=>{this.streamRef&&(this.streamRef.getTracks().forEach((t=>t.stop())),this.streamRef=null)},this.switchCamera=()=>{if(this.videoInputs.length>1){const t=this.videoInputs.findIndex((t=>t.deviceId===this.activeCameraId));this.activeCameraId=this.videoInputs[(t+1)%this.videoInputs.length].deviceId,localStorage.setItem(s,this.activeCameraId),this.stopCamera(),this.startCamera(),this.switchRotateDegree+=90}},this.title="",this.captureInterval=2e3,this.verbose=!1,this.useOcr=!1,this.readSticker=!1,this.uploaderButtonId=void 0,this.captureEnvironment=!1,this.manualCapture=!1,this.skipValidation=!1,this.ocrEndpoint=void 0,this.onExtract=void 0,this.onError=void 0,this.onProcessing=void 0,this.onOpenChange=void 0,this.streamRef=void 0,this.isOpen=!1,this.isAnimating=!1,this.isCameraReady=!1,this.switchRotateDegree=0,this.containerAnimation="",this.blazorRef=void 0,this.videoInputs=[],this.manualCaptureLoading=!1,this.activeCameraId=localStorage.getItem(s)||""}async componentDidLoad(){if(this.videoPlayer=this.el.shadowRoot.querySelector(".video-player"),this.videoCanvas=this.el.shadowRoot.querySelector(".video-canvas"),this.abortController=new AbortController,!this.readSticker&&this.uploaderButtonId&&this.registerFileUploader(),this.readSticker){const t="https://unpkg.com/@zxing/library@0.21.3/umd/index.min.js",e=Array.from(document.scripts).some((e=>e.src===t));if(e&&this.uploaderButtonId&&this.registerFileUploader(),e){if(!this.codeReader)try{ZXing&&(this.codeReader=new ZXing.BrowserMultiFormatReader)}catch(t){setTimeout((()=>{this.componentDidLoad()}),100)}}else{const e=document.createElement("script");e.src=t,e.defer=!0,document.head.appendChild(e),e.onload=()=>{ZXing&&(this.codeReader=new ZXing.BrowserMultiFormatReader)}}}}setBlazorRef(t){this.blazorRef=t}async processCanvasFromSource(t,e,i=400){try{const a=t instanceof HTMLImageElement,o=a?t.width:t.videoWidth,r=a?t.height:t.videoHeight;let s=o,n=r;if(Math.max(o,r)>i){const t=i/Math.max(o,r);s=Math.round(o*t),n=Math.round(r*t)}return e.width=s,e.height=n,e.getContext("2d").drawImage(t,0,0,s,n),e.toDataURL("image/png")}catch(t){return this.handleError(t),""}}open(){this.isOpen=!0}async close(){this.isOpen=!1}isOpenHandler(t){t?this.openScanner():this.closeScanner(),this.triggerCallback(this.onOpenChange,t)}QRChanged(t){t&&this.componentDidLoad()}animationHandler(t){t||this.isOpen||this.stopCamera()}render(){const t=this.isOpen&&this.isCameraReady&&(this.useOcr||this.readSticker);return e(i,{key:"611a83a64a7348286b075d9aac3d5040f70fb3db"},e("slot",{key:"cbdafac3a276c304916818154dc6c2a4ed2128fa"}),e("input",Object.assign({key:"687c8b8475341a636726555f49d80a4dedb8819b",class:"vin-extractor-input",type:"file",accept:"image/*"},this.captureEnvironment?{capture:"environment"}:{},{hidden:!0})),e("canvas",{key:"4617cbfe4ef9b556ee9782a5e2072669847a224d",class:"video-canvas hidden"}),!this.uploaderButtonId&&e("div",{key:"ab8039bab4463da0a4cd4e6bf2557f0bc1b424ba",onClick:()=>this.isOpen=!1,"aria-expanded":t.toString(),class:"vin-extractor-background md:transition-all md:duration-300 fixed flex items-center justify-center w-[100dvw] h-[100dvh] top-0 left-0 z-[9999]"},e("div",{key:"f8917f247e4a87c48637085464577806dda8abdd",onClick:t=>t.stopPropagation(),"aria-expanded":t.toString(),onAnimationEnd:()=>this.isAnimating=!1,onAnimationStart:()=>this.isAnimating=!0,class:o("vin-extractor-container md:w-[600px] md:rounded-lg md:overflow-hidden opacity-0 md:h-auto w-full h-full relative transition-all duration-500",this.containerAnimation)},e("div",{key:"714d6f66936923deb7ac901aee37be6dc6faab04",class:"vin-extractor-heading items-center md:py-[8px] w-full md:!opacity-100 md:!translate-x-0 p-[16px] md:bg-white bg-black/30 shadow-md z-10 md:relative absolute top-0 left-0 flex justify-between"},this.videoInputs.length>1?e("button",{type:"button",onClick:this.switchCamera,class:"size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700"},e("svg",{width:"24",height:"24",fill:"none","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg",class:"size-full transition-all duration-300",style:{rotate:`${this.switchRotateDegree}deg`}},e("path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}),e("path",{d:"M21 3v5h-5"}),e("path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}),e("path",{d:"M8 16H3v5"}))):e("div",{class:"size-8"}),e("h1",{key:"c49d5762b90d963e5c9054c65929c2f8cf04c040",class:"text-center md:text-3xl md:text-black text-slate-100 text-xl"},this.title),e("button",{key:"7d9c0b4942144081066e61fdd8402aa8a8a48406",type:"button",onClick:()=>this.isOpen=!1,class:"size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700"},e("svg",{key:"632634653d41188ab2039eb822836a5d8d5a144a",fill:"none","stroke-width":"2",class:"size-full",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"},e("path",{key:"393b8ca5770faee4a87f71b4aac9347c220cb756",d:"M18 6 6 18"}),e("path",{key:"19be7bd00873885765714e2b322f9564ef5bc315",d:"m6 6 12 12"})))),this.manualCapture&&e("button",{key:"2640ef2e9e5cd7acdcce505d601e92bbf1efd212",type:"button",disabled:this.manualCaptureLoading,onClick:this.captureFrame.bind(this,!0),class:"absolute disabled:bg-white/75 outline-none cursor-pointer left-1/2 -translate-x-1/2 flex justify-center items-center h-[60px] py-[10px] w-[100px] rounded-full shadow-lg border border-slate-500 text-slate-500 z-10 bg-white bottom-4"},this.manualCaptureLoading?e("svg",{fill:"none","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",class:"size-full animate-spin",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})):e("svg",{fill:"none","stroke-width":"2",class:"size-full",viewBox:"0 0 24 24",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z"}),e("circle",{cx:"12",cy:"13",r:"3"}))),e("video",{key:"bd4d5d8c0663a8cfbbf6bd1d68f0b21fac2ff9e8",id:"video",autoPlay:!0,playsInline:!0,class:"video-player md:aspect-auto bg-black min-w-full min-h-full object-cover object-center"}))))}get el(){return a(this)}static get watchers(){return{isOpen:["isOpenHandler"],readSticker:["QRChanged"],isAnimating:["animationHandler"]}}};n.style='*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! 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}.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))}.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)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:host{all:initial!important;display:block}*{font-family:Arial}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@keyframes popIn{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(100%)}}@keyframes slideOut{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)}}@keyframes popOut{0%{opacity:1;transform:scale(100%)}to{opacity:0;transform:scale(0)}}.vin-extractor-background{pointer-events:none}@media (max-width:768px){.vin-extractor-container.show-container{animation:slideIn .5s ease-out forwards}.vin-extractor-container.hide-container{animation:slideOut .5s ease-in forwards}.vin-extractor-heading{-webkit-backdrop-filter:blur(6px)!important;backdrop-filter:blur(6px)!important}}.vin-extractor-container[aria-expanded=true]{pointer-events:auto!important}@media (min-width:768px){.vin-extractor-background[aria-expanded=true]{-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:rgba(0,0,0,.4);pointer-events:auto!important}.vin-extractor-container.show-container{animation:popIn .3s ease-out forwards;box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}.vin-extractor-container.hide-container{animation:popOut .3s ease-in forwards;box-shadow:0}}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-4{bottom:1rem}.left-0{left:0}.left-1\\/2{left:50%}.top-0{top:0}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.flex{display:flex}.hidden{display:none}.size-8{height:2rem;width:2rem}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\\[100dvh\\]{height:100dvh}.h-\\[60px\\]{height:60px}.h-full{height:100%}.min-h-full{min-height:100%}.w-\\[100dvw\\]{width:100dvw}.w-\\[100px\\]{width:100px}.w-full{width:100%}.min-w-full{min-width:100%}.-translate-x-1\\/2{--tw-translate-x:-50%;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 spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/30{background-color:rgba(0,0,0,.3)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\\[16px\\]{padding:16px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/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)}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.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)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.hover\\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\\:bg-white\\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\\:relative{position:relative}.md\\:aspect-auto{aspect-ratio:auto}.md\\:h-auto{height:auto}.md\\:w-\\[600px\\]{width:600px}.md\\:\\!translate-x-0{--tw-translate-x:0px!important;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))!important}.md\\:overflow-hidden{overflow:hidden}.md\\:rounded-lg{border-radius:.5rem}.md\\:border-none{border-style:none}.md\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\\:py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.md\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\\:\\!opacity-100{opacity:1!important}.md\\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\\:duration-300{transition-duration:.3s}.md\\:hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}';export{n as vin_extractor}
|