adp-web-components 0.0.89 → 0.0.91
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/activation-icon-DEYW0itX.js +16 -0
- package/dist/cjs/cn-BHnqYtun.js +2597 -0
- package/dist/cjs/contact-us-form.cjs.entry.js +11 -22
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +287 -347
- package/dist/cjs/empty-table-icon-PdTX6gpI.js +16 -0
- package/dist/cjs/flexible-container.cjs.entry.js +131 -0
- package/dist/cjs/form-dialog_8.cjs.entry.js +44 -100
- package/dist/cjs/{get-local-language-e539cfdc.js → get-local-language-AedNCS4v.js} +375 -332
- package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
- package/dist/cjs/information-table.cjs.entry.js +43 -0
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
- package/dist/cjs/material-card-Cd0L1Get.js +43 -0
- package/dist/cjs/part-lookup.cjs.entry.js +39 -25
- 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.cjs.entry.js +42 -0
- package/dist/cjs/shift-tabs_2.cjs.entry.js +332 -0
- package/dist/cjs/{type-3d22f1fc.js → type-A-Wi_ktA.js} +50 -1
- package/dist/cjs/{type-3183db65.js → type-Dm3JBAef.js} +32 -123
- package/dist/cjs/{type-c576b922.js → type-ooYU2cCM.js} +4 -4
- package/dist/cjs/vehicle-accessories_6.cjs.entry.js +1206 -0
- package/dist/cjs/vehicle-info-layout-Dp2Po_uc.js +16 -0
- package/dist/cjs/vehicle-lookup.cjs.entry.js +62 -49
- package/dist/cjs/vin-extractor.cjs.entry.js +24 -34
- 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 +315 -0
- package/dist/collection/components/components/information-table.css +1 -0
- package/dist/collection/components/components/information-table.js +180 -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/form-elements/form-dialog.css +1 -1
- package/dist/collection/components/form-elements/form-dialog.js +16 -12
- package/dist/collection/components/form-elements/form-input.css +1 -1
- package/dist/collection/components/form-elements/form-input.js +45 -29
- package/dist/collection/components/form-elements/form-select.css +1 -1
- package/dist/collection/components/form-elements/form-select.js +57 -41
- package/dist/collection/components/form-elements/form-shadow-input.css +1 -1
- package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
- package/dist/collection/components/form-elements/form-structure-error.css +1 -1
- package/dist/collection/components/form-elements/form-structure-error.js +7 -5
- package/dist/collection/components/form-elements/form-structure.css +1 -1
- package/dist/collection/components/form-elements/form-structure.js +32 -16
- package/dist/collection/components/form-elements/form-submit.css +1 -1
- package/dist/collection/components/form-elements/form-submit.js +18 -10
- package/dist/collection/components/form-elements/form-text-area.css +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +36 -23
- package/dist/collection/components/forms/contact-us/element-mapper.js +1 -1
- package/dist/collection/components/forms/contact-us/form.css +1 -1
- package/dist/collection/components/forms/contact-us-form.js +39 -24
- package/dist/collection/components/forms/service-booking/element-mapper.js +1 -1
- package/dist/collection/components/forms/service-booking-form.js +39 -24
- 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 +179 -188
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +221 -236
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +194 -234
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/part-lookup.js +152 -66
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +4 -4
- 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 +170 -197
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +826 -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 +542 -0
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +171 -98
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +384 -0
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +390 -0
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +145 -181
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -0
- package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +315 -277
- package/dist/collection/components/vin-extractor/vin-extractor.js +72 -42
- 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/{global/lib → features/multi-lingual}/get-local-language.js +16 -10
- 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/features/vehicle-info-layout/vehicle-info-layout.js +7 -0
- 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/triangle-icon.js +6 -0
- 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/parents-with-tag.js +22 -0
- package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
- package/dist/collection/global/types/generated/part/branch-dead-stock-dto.js +1 -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 +10 -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 +99 -16
- 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-B1fdQNyr.js +5 -0
- package/dist/components/p-BK16Cn81.js +5 -0
- package/dist/components/p-BkfCVIF9.js +5 -0
- package/dist/components/p-BsHunqQT.js +5 -0
- package/dist/components/p-BwUMwWdE.js +5 -0
- package/dist/components/p-C4zpDhOi.js +5 -0
- package/dist/components/p-CHE0gMDU.js +5 -0
- package/dist/components/p-CRB_syll.js +5 -0
- package/dist/components/p-CV6-hCEd.js +5 -0
- package/dist/components/p-CYfVWbdE.js +5 -0
- package/dist/components/{p-c981ee34.js → p-CYs-Cfbz.js} +1 -1
- package/dist/components/p-Ce4X3l8Z.js +5 -0
- package/dist/components/p-CffGxxO4.js +5 -0
- package/dist/components/p-CgP_rdz5.js +5 -0
- package/dist/components/p-CmuF1zVa.js +5 -0
- package/dist/components/p-DPxUsrGL.js +5 -0
- package/dist/components/p-DSIG_p-W.js +5 -0
- package/dist/components/p-DXHFdZX_.js +5 -0
- package/dist/components/p-Dkva9a7P.js +5 -0
- package/dist/components/p-DrFf_ORZ.js +5 -0
- package/dist/components/p-DsfktPnM.js +5 -0
- package/dist/components/p-DyWp9Iox.js +5 -0
- package/dist/components/p-Fudjizxb.js +5 -0
- package/dist/components/p-P3fAKtye.js +5 -0
- package/dist/components/p-QtVWfPMe.js +5 -0
- package/dist/components/p-THNpWs_W.js +5 -0
- package/dist/components/p-gwgMa4kM.js +5 -0
- package/dist/components/p-iCYlD4i9.js +5 -0
- package/dist/components/p-kp6CyIhI.js +5 -0
- package/dist/components/p-nBbuIowK.js +5 -0
- package/dist/components/p-piZ41_ho.js +5 -0
- package/dist/components/p-qw7FLuM-.js +5 -0
- package/dist/components/p-vhsj8wEw.js +5 -0
- package/dist/components/p-zDS3r6-j.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/activation-icon-7GJaxZ20.js +14 -0
- package/dist/esm/cn-BK16Cn81.js +2595 -0
- package/dist/esm/contact-us-form.entry.js +11 -20
- package/dist/esm/dead-stock-lookup_3.entry.js +287 -345
- package/dist/esm/empty-table-icon-DvQk12N9.js +14 -0
- package/dist/esm/flexible-container.entry.js +129 -0
- package/dist/esm/form-dialog_8.entry.js +44 -98
- package/dist/esm/{get-local-language-e286080a.js → get-local-language-DuHpVAu5.js} +376 -333
- package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
- package/dist/esm/information-table.entry.js +41 -0
- package/dist/esm/loader.js +3 -4
- package/dist/esm/loading-spinner.entry.js +6 -8
- package/dist/esm/material-card-DiAl-884.js +40 -0
- package/dist/esm/part-lookup.entry.js +39 -23
- 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.entry.js +40 -0
- package/dist/esm/shift-tabs_2.entry.js +329 -0
- package/dist/esm/{type-68307857.js → type-B6613elJ.js} +32 -123
- package/dist/esm/{type-1d1a2052.js → type-CFBDfJID.js} +5 -5
- package/dist/esm/type-CnAEgqjH.js +82 -0
- package/dist/esm/vehicle-accessories_6.entry.js +1199 -0
- package/dist/esm/vehicle-info-layout-CNGGKAia.js +14 -0
- package/dist/esm/vehicle-lookup.entry.js +62 -47
- package/dist/esm/vin-extractor.entry.js +24 -32
- 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 +7 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +5 -1
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +7 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +11 -7
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +11 -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-010b5793.entry.js +5 -0
- package/dist/shift-components/p-03483842.entry.js +5 -0
- package/dist/shift-components/p-0a55771f.entry.js +5 -0
- package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
- package/dist/shift-components/p-20bdbcb5.entry.js +5 -0
- package/dist/shift-components/p-238f5df0.entry.js +5 -0
- package/dist/shift-components/p-42218765.entry.js +5 -0
- package/dist/shift-components/p-526a4ff7.entry.js +5 -0
- package/dist/shift-components/p-701e3fb0.entry.js +5 -0
- package/dist/shift-components/p-7225e52b.entry.js +5 -0
- package/dist/shift-components/p-BK16Cn81.js +5 -0
- package/dist/shift-components/p-BSpTbUWi.js +5 -0
- package/dist/shift-components/p-CC-dsMaG.js +5 -0
- package/dist/shift-components/p-CikEOqe0.js +6 -0
- package/dist/shift-components/p-CsAICJSF.js +5 -0
- package/dist/shift-components/p-CxstRFDI.js +5 -0
- package/dist/shift-components/p-DF2jCW4D.js +5 -0
- package/dist/shift-components/p-DdH9nNoC.js +5 -0
- package/dist/shift-components/p-Wtw8qj6x.js +5 -0
- package/dist/shift-components/p-a76db330.entry.js +5 -0
- package/dist/shift-components/p-d46b0857.entry.js +5 -0
- package/dist/shift-components/p-d843769d.entry.js +5 -0
- package/dist/shift-components/p-ebc23eef.entry.js +5 -0
- package/dist/shift-components/p-ef9ad340.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/card-content.d.ts +10 -0
- package/dist/types/components/components/flexible-container.d.ts +27 -0
- package/dist/types/components/components/information-table.d.ts +22 -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/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 +26 -24
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +25 -26
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +25 -27
- package/dist/types/components/part-lookup/part-lookup.d.ts +17 -12
- 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/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 +25 -29
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +72 -0
- package/dist/types/components/vehicle-lookup/vehicle-item-claim-form.d.ts +54 -0
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +27 -24
- package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +35 -0
- package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +32 -0
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +22 -23
- package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +28 -31
- package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -2
- package/dist/types/components.d.ts +1068 -219
- package/dist/types/features/image-viewer/image-viewer-logic.d.ts +3 -0
- package/dist/types/features/image-viewer/image-viewer.d.ts +7 -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/features/vehicle-info-layout/vehicle-info-layout.d.ts +11 -0
- 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/triangle-icon.d.ts +6 -0
- 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/parents-with-tag.d.ts +1 -0
- package/dist/types/global/lib/recaptcha.d.ts +1 -1
- package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
- 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/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 +4 -4
- package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +32 -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 +56 -46
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/package.json +9 -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/cjs/type-87edb16d.js +0 -53
- 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/paint-thickness.js +0 -414
- package/dist/collection/components/vehicle-lookup/service-history.js +0 -397
- package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
- package/dist/collection/global/api/partInformation.js +0 -32
- package/dist/collection/global/api/vehicleInformation.js +0 -48
- 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-00a27a58.js +0 -5
- package/dist/components/p-0aea36b4.js +0 -5
- package/dist/components/p-0fa9085a.js +0 -5
- package/dist/components/p-1c45c079.js +0 -5
- package/dist/components/p-28cf4dbe.js +0 -5
- package/dist/components/p-29a57e34.js +0 -5
- package/dist/components/p-2c893802.js +0 -5
- package/dist/components/p-3a216a1c.js +0 -5
- package/dist/components/p-48a28736.js +0 -5
- package/dist/components/p-48a9b8e5.js +0 -5
- package/dist/components/p-4ddb3435.js +0 -5
- package/dist/components/p-5709db05.js +0 -5
- package/dist/components/p-5afcb14f.js +0 -5
- package/dist/components/p-7a1dd4fc.js +0 -5
- package/dist/components/p-7d3dd7c2.js +0 -5
- package/dist/components/p-8b1d90d7.js +0 -5
- package/dist/components/p-8cd53e18.js +0 -5
- package/dist/components/p-98d9e7ab.js +0 -5
- package/dist/components/p-aacd560d.js +0 -5
- package/dist/components/p-c4f620e9.js +0 -5
- package/dist/components/p-ca0bda87.js +0 -5
- package/dist/components/p-d3f029ed.js +0 -5
- package/dist/components/p-dfb3925b.js +0 -5
- package/dist/components/p-ec493f9b.js +0 -5
- package/dist/components/p-f437e795.js +0 -5
- package/dist/components/p-fab97ac7.js +0 -5
- package/dist/components/p-ffad35ad.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-885c56ae.js +0 -34
- package/dist/esm/type-dc3e60a4.js +0 -50
- package/dist/shift-components/p-025b3a45.entry.js +0 -5
- package/dist/shift-components/p-07ee30c6.js +0 -5
- package/dist/shift-components/p-232a8be0.entry.js +0 -5
- package/dist/shift-components/p-40e52936.entry.js +0 -5
- package/dist/shift-components/p-446d908d.js +0 -5
- package/dist/shift-components/p-50d68cc4.entry.js +0 -5
- package/dist/shift-components/p-67d3532e.js +0 -5
- package/dist/shift-components/p-69f1a7ff.entry.js +0 -5
- package/dist/shift-components/p-6b3651bd.js +0 -5
- package/dist/shift-components/p-6ec0650f.js +0 -5
- package/dist/shift-components/p-83b755da.entry.js +0 -5
- package/dist/shift-components/p-90bf4148.entry.js +0 -5
- package/dist/shift-components/p-9474a4da.js +0 -6
- package/dist/shift-components/p-98d9e7ab.js +0 -5
- package/dist/shift-components/p-997b9bfb.entry.js +0 -5
- package/dist/shift-components/p-9e11eb3e.entry.js +0 -5
- package/dist/shift-components/p-ab79b6e8.entry.js +0 -5
- package/dist/shift-components/p-c802d527.js +0 -5
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
- package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +0 -65
- package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +0 -48
- package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +0 -39
- package/dist/types/components/vehicle-lookup/service-history.d.ts +0 -34
- 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/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 → features/image-viewer/interface.js} +0 -0
- /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
- /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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { h } from './index-CikEOqe0.js';
|
|
6
|
+
import { c as cn } from './cn-BK16Cn81.js';
|
|
7
|
+
|
|
8
|
+
const VehicleInfoLayout = (props, children) => props.coreOnly ? (h("div", { class: cn({ loading: props.isLoading }) }, children)) : (h("div", { dir: props.direction, part: "vehicle-info-container", class: cn('vehicle-info-container', { loading: props.isLoading }) },
|
|
9
|
+
h("div", { part: "vehicle-info-header", class: "vehicle-info-header" },
|
|
10
|
+
h("strong", { part: "vehicle-info-header-vin", class: "vehicle-info-header-vin load-animation" }, props.isError ? (h("span", { dir: props.direction, style: { color: 'red' } }, props.errorMessage)) : (props.header))),
|
|
11
|
+
h("div", { part: "vehicle-info-body", class: "vehicle-info-body" },
|
|
12
|
+
h("div", { part: "vehicle-info-content", class: "vehicle-info-content" }, children))));
|
|
13
|
+
|
|
14
|
+
export { VehicleInfoLayout as V };
|
|
@@ -2,84 +2,87 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import { r as registerInstance, h, H as Host,
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { c as
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
5
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CikEOqe0.js';
|
|
6
|
+
import { v as validateVin } from './validate-vin-CUREVASG.js';
|
|
7
|
+
import { c as create$3, s as sharedLocalesSchema, g as getLocaleLanguage, a as getSharedLocal } from './get-local-language-DuHpVAu5.js';
|
|
8
|
+
import { S as ServiceHistorySchema, p as paintThicknessSchema, c as claimableItemsSchema, s as specificationSchema, a as accessoriesSchema, w as warrantySchema } from './type-CnAEgqjH.js';
|
|
9
|
+
import { V as VehicleInfoLayout } from './vehicle-info-layout-CNGGKAia.js';
|
|
10
|
+
import './cn-BK16Cn81.js';
|
|
11
11
|
|
|
12
12
|
const vehicleLookupWrapperSchema = create$3({
|
|
13
13
|
warranty: warrantySchema,
|
|
14
14
|
accessories: accessoriesSchema,
|
|
15
|
-
dynamicClaim: dynamicClaimSchema,
|
|
16
15
|
specification: specificationSchema,
|
|
16
|
+
claimableItems: claimableItemsSchema,
|
|
17
17
|
paintThickness: paintThicknessSchema,
|
|
18
18
|
serviceHistory: ServiceHistorySchema,
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
const vehicleLookupCss = "*,: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}.
|
|
22
|
-
const VehicleLookupStyle0 = vehicleLookupCss;
|
|
21
|
+
const vehicleLookupCss = "*,: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}.absolute{position:absolute}.\\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.hidden{display:none}.origin-left{transform-origin:left}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\\!overflow-hidden{overflow:hidden!important}.\\!rounded-\\[4px\\]{border-radius:4px!important}.border{border-width:1px}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.shift-skeleton{border-radius:4px!important;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:4px!important;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.vehicle-info-container{background-color:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{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}";
|
|
23
22
|
|
|
24
23
|
const componentTags = {
|
|
25
|
-
dynamicClaim: 'dynamic-claim',
|
|
26
|
-
paintThickness: 'paint-thickness',
|
|
27
|
-
serviceHistory: 'service-history',
|
|
28
|
-
warrantyDetails: 'warranty-details',
|
|
29
24
|
vehicleAccessories: 'vehicle-accessories',
|
|
30
25
|
vehicleSpecification: 'vehicle-specification',
|
|
26
|
+
vehiclePaintThickness: 'vehicle-paint-thickness',
|
|
27
|
+
vehicleServiceHistory: 'vehicle-service-history',
|
|
28
|
+
vehicleClaimableItems: 'vehicle-claimable-items',
|
|
29
|
+
vehicleWarrantyDetails: 'vehicle-warranty-details',
|
|
31
30
|
};
|
|
32
31
|
const VehicleLookup = class {
|
|
33
32
|
constructor(hostRef) {
|
|
34
33
|
registerInstance(this, hostRef);
|
|
34
|
+
// ====== Start Localization
|
|
35
|
+
this.language = 'en';
|
|
36
|
+
this.locale = sharedLocalesSchema.getDefault();
|
|
37
|
+
// ====== End Localization
|
|
38
|
+
// ====== Wrapper Logic
|
|
39
|
+
this.activeElement = '';
|
|
40
|
+
this.baseUrl = '';
|
|
41
|
+
this.isDev = false;
|
|
42
|
+
this.queryString = '';
|
|
43
|
+
this.blazorErrorStateListener = '';
|
|
44
|
+
this.blazorOnLoadingStateChange = '';
|
|
45
|
+
this.blazorDynamicClaimActivate = '';
|
|
46
|
+
this.wrapperErrorState = '';
|
|
47
|
+
this.currentVin = '';
|
|
48
|
+
this.isError = false;
|
|
49
|
+
this.isLoading = false;
|
|
35
50
|
this.syncErrorAcrossComponents = (newErrorMessage) => {
|
|
51
|
+
this.isError = true;
|
|
52
|
+
this.errorKey = newErrorMessage;
|
|
36
53
|
Object.values(this.componentsList).forEach(element => {
|
|
37
54
|
if (element)
|
|
38
55
|
element.setErrorMessage(newErrorMessage);
|
|
39
56
|
});
|
|
40
57
|
};
|
|
41
58
|
this.loadingStateChangingMiddleware = (newState) => {
|
|
59
|
+
this.isLoading = newState;
|
|
42
60
|
if (this.loadingStateChanged)
|
|
43
61
|
this.loadingStateChanged(newState);
|
|
44
62
|
if (this.blazorRef && this.blazorOnLoadingStateChange)
|
|
45
63
|
this.blazorRef.invokeMethodAsync(this.blazorOnLoadingStateChange, newState);
|
|
46
64
|
};
|
|
47
|
-
this.activeElement = '';
|
|
48
|
-
this.baseUrl = '';
|
|
49
|
-
this.isDev = false;
|
|
50
|
-
this.queryString = '';
|
|
51
|
-
this.language = 'en';
|
|
52
|
-
this.childrenProps = undefined;
|
|
53
|
-
this.errorStateListener = undefined;
|
|
54
|
-
this.blazorErrorStateListener = '';
|
|
55
|
-
this.loadingStateChanged = undefined;
|
|
56
|
-
this.blazorOnLoadingStateChange = '';
|
|
57
|
-
this.dynamicClaimActivate = undefined;
|
|
58
|
-
this.blazorDynamicClaimActivate = '';
|
|
59
|
-
this.wrapperErrorState = '';
|
|
60
|
-
this.blazorRef = undefined;
|
|
61
|
-
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
62
65
|
}
|
|
63
66
|
async componentWillLoad() {
|
|
64
67
|
await this.changeLanguage(this.language);
|
|
65
68
|
}
|
|
66
69
|
async changeLanguage(newLanguage) {
|
|
67
70
|
const localeResponses = await Promise.all([getLocaleLanguage(newLanguage, 'vehicleLookup', vehicleLookupWrapperSchema), getSharedLocal(newLanguage)]);
|
|
68
|
-
this.
|
|
71
|
+
this.locale = localeResponses[1];
|
|
69
72
|
}
|
|
70
73
|
async componentDidLoad() {
|
|
71
|
-
const vehicleClaim = this.el.getElementsByTagName('dynamic-claim')[0];
|
|
72
|
-
const vehicleHistory = this.el.getElementsByTagName('service-history')[0];
|
|
73
|
-
const vehicleThickness = this.el.getElementsByTagName('paint-thickness')[0];
|
|
74
|
-
const vehicleDetails = this.el.getElementsByTagName('warranty-details')[0];
|
|
75
74
|
const vehicleAccessories = this.el.getElementsByTagName('vehicle-accessories')[0];
|
|
75
|
+
const vehicleClaim = this.el.getElementsByTagName('vehicle-claimable-items')[0];
|
|
76
|
+
const vehicleHistory = this.el.getElementsByTagName('vehicle-service-history')[0];
|
|
77
|
+
const vehicleDetails = this.el.getElementsByTagName('vehicle-warranty-details')[0];
|
|
78
|
+
const vehicleThickness = this.el.getElementsByTagName('vehicle-paint-thickness')[0];
|
|
76
79
|
const vehicleSpecification = this.el.getElementsByTagName('vehicle-specification')[0];
|
|
77
80
|
this.componentsList = {
|
|
78
|
-
[componentTags.
|
|
79
|
-
[componentTags.
|
|
80
|
-
[componentTags.
|
|
81
|
-
[componentTags.paintThickness]: vehicleThickness,
|
|
81
|
+
[componentTags.vehicleClaimableItems]: vehicleClaim,
|
|
82
|
+
[componentTags.vehicleServiceHistory]: vehicleHistory,
|
|
83
|
+
[componentTags.vehicleWarrantyDetails]: vehicleDetails,
|
|
82
84
|
[componentTags.vehicleAccessories]: vehicleAccessories,
|
|
85
|
+
[componentTags.vehiclePaintThickness]: vehicleThickness,
|
|
83
86
|
[componentTags.vehicleSpecification]: vehicleSpecification,
|
|
84
87
|
};
|
|
85
88
|
Object.values(this.componentsList).forEach(element => {
|
|
@@ -101,9 +104,11 @@ const VehicleLookup = class {
|
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
handleLoadData(newResponse, activeElement) {
|
|
107
|
+
this.isError = false;
|
|
108
|
+
this.currentVin = newResponse.vin || '';
|
|
104
109
|
Object.values(this.componentsList).forEach(element => {
|
|
105
110
|
if (element !== null && element !== activeElement && newResponse)
|
|
106
|
-
element.
|
|
111
|
+
element.fetchData(newResponse);
|
|
107
112
|
});
|
|
108
113
|
}
|
|
109
114
|
async errorListener(newState) {
|
|
@@ -118,23 +123,23 @@ const VehicleLookup = class {
|
|
|
118
123
|
async fetchVin(vin, headers = {}) {
|
|
119
124
|
const activeElement = this.componentsList[this.activeElement] || null;
|
|
120
125
|
this.wrapperErrorState = '';
|
|
121
|
-
this.componentsList[componentTags.
|
|
126
|
+
this.componentsList[componentTags.vehicleClaimableItems].headers = headers;
|
|
122
127
|
if (!activeElement)
|
|
123
128
|
return;
|
|
124
129
|
if (vin == '')
|
|
125
|
-
return (this.wrapperErrorState = this.
|
|
130
|
+
return (this.wrapperErrorState = this.locale.errors.vinNumberRequired);
|
|
126
131
|
if (!validateVin(vin))
|
|
127
|
-
return (this.wrapperErrorState = this.
|
|
132
|
+
return (this.wrapperErrorState = this.locale.errors.invalidVin);
|
|
128
133
|
activeElement.fetchData(vin, headers);
|
|
129
134
|
}
|
|
130
135
|
render() {
|
|
131
136
|
const props = {
|
|
132
|
-
[componentTags.dynamicClaim]: {},
|
|
133
|
-
[componentTags.paintThickness]: {},
|
|
134
|
-
[componentTags.serviceHistory]: {},
|
|
135
|
-
[componentTags.warrantyDetails]: {},
|
|
136
137
|
[componentTags.vehicleAccessories]: {},
|
|
137
138
|
[componentTags.vehicleSpecification]: {},
|
|
139
|
+
[componentTags.vehicleClaimableItems]: {},
|
|
140
|
+
[componentTags.vehiclePaintThickness]: {},
|
|
141
|
+
[componentTags.vehicleServiceHistory]: {},
|
|
142
|
+
[componentTags.vehicleWarrantyDetails]: {},
|
|
138
143
|
};
|
|
139
144
|
try {
|
|
140
145
|
if (this.childrenProps) {
|
|
@@ -152,7 +157,17 @@ const VehicleLookup = class {
|
|
|
152
157
|
catch (error) {
|
|
153
158
|
console.error(error);
|
|
154
159
|
}
|
|
155
|
-
|
|
160
|
+
if (!Object.values(componentTags).includes(this.activeElement))
|
|
161
|
+
return h("div", { class: "w-full h-[200px] text-[26px] text-red-600 flex items-center justify-center" }, "Invalid tag");
|
|
162
|
+
const componentList = {
|
|
163
|
+
'vehicle-specification': (h("vehicle-specification", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleSpecification]))),
|
|
164
|
+
'vehicle-accessories': (h("vehicle-accessories", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleAccessories]))),
|
|
165
|
+
'vehicle-warranty-details': (h("vehicle-warranty-details", Object.assign({ coreOnly: true, "show-ssc": "true", isDev: this.isDev, "show-warranty": "true", "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleWarrantyDetails]), h("slot", null))),
|
|
166
|
+
'vehicle-service-history': (h("vehicle-service-history", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleServiceHistory]))),
|
|
167
|
+
'vehicle-paint-thickness': (h("vehicle-paint-thickness", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehiclePaintThickness]))),
|
|
168
|
+
'vehicle-claimable-items': (h("vehicle-claimable-items", Object.assign({ coreOnly: true, isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleClaimableItems]))),
|
|
169
|
+
};
|
|
170
|
+
return (h(Host, null, h(VehicleInfoLayout, { isError: this.isError, header: this.currentVin, 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 }))));
|
|
156
171
|
}
|
|
157
172
|
get el() { return getElement(this); }
|
|
158
173
|
static get watchers() { return {
|
|
@@ -160,6 +175,6 @@ const VehicleLookup = class {
|
|
|
160
175
|
"wrapperErrorState": ["errorListener"]
|
|
161
176
|
}; }
|
|
162
177
|
};
|
|
163
|
-
VehicleLookup.style =
|
|
178
|
+
VehicleLookup.style = vehicleLookupCss;
|
|
164
179
|
|
|
165
180
|
export { VehicleLookup as vehicle_lookup };
|
|
@@ -2,18 +2,34 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import { r as registerInstance, h, H as Host,
|
|
6
|
-
import { c as cn } from './cn-
|
|
7
|
-
import { v as validateVin } from './validate-vin-
|
|
5
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-CikEOqe0.js';
|
|
6
|
+
import { c as cn } from './cn-BK16Cn81.js';
|
|
7
|
+
import { v as validateVin } from './validate-vin-CUREVASG.js';
|
|
8
8
|
|
|
9
9
|
const vinExtractorCss = "*,: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))}}";
|
|
10
|
-
const VinExtractorStyle0 = vinExtractorCss;
|
|
11
10
|
|
|
12
11
|
const CAPTURE_INTERVAL = 2000;
|
|
13
12
|
const ACTIVE_CAMERA_ID_KEY = 'activeCameraId';
|
|
14
13
|
const VinExtractor = class {
|
|
15
14
|
constructor(hostRef) {
|
|
16
15
|
registerInstance(this, hostRef);
|
|
16
|
+
this.title = '';
|
|
17
|
+
this.captureInterval = CAPTURE_INTERVAL;
|
|
18
|
+
this.verbose = false;
|
|
19
|
+
this.useOcr = false;
|
|
20
|
+
this.readSticker = false;
|
|
21
|
+
// to explicitly opening camera instead of letting choose from files or new image from camera
|
|
22
|
+
this.captureEnvironment = false;
|
|
23
|
+
this.manualCapture = false;
|
|
24
|
+
this.skipValidation = false;
|
|
25
|
+
this.isOpen = false;
|
|
26
|
+
this.isAnimating = false;
|
|
27
|
+
this.isCameraReady = false;
|
|
28
|
+
this.switchRotateDegree = 0;
|
|
29
|
+
this.containerAnimation = '';
|
|
30
|
+
this.videoInputs = [];
|
|
31
|
+
this.manualCaptureLoading = false;
|
|
32
|
+
this.activeCameraId = localStorage.getItem(ACTIVE_CAMERA_ID_KEY) || '';
|
|
17
33
|
this.registerFileUploader = () => {
|
|
18
34
|
if (this.readSticker && !this.codeReader) {
|
|
19
35
|
setTimeout(() => {
|
|
@@ -241,30 +257,6 @@ const VinExtractor = class {
|
|
|
241
257
|
this.switchRotateDegree += 90;
|
|
242
258
|
}
|
|
243
259
|
};
|
|
244
|
-
this.title = '';
|
|
245
|
-
this.captureInterval = CAPTURE_INTERVAL;
|
|
246
|
-
this.verbose = false;
|
|
247
|
-
this.useOcr = false;
|
|
248
|
-
this.readSticker = false;
|
|
249
|
-
this.uploaderButtonId = undefined;
|
|
250
|
-
this.captureEnvironment = false;
|
|
251
|
-
this.manualCapture = false;
|
|
252
|
-
this.skipValidation = false;
|
|
253
|
-
this.ocrEndpoint = undefined;
|
|
254
|
-
this.onExtract = undefined;
|
|
255
|
-
this.onError = undefined;
|
|
256
|
-
this.onProcessing = undefined;
|
|
257
|
-
this.onOpenChange = undefined;
|
|
258
|
-
this.streamRef = undefined;
|
|
259
|
-
this.isOpen = false;
|
|
260
|
-
this.isAnimating = false;
|
|
261
|
-
this.isCameraReady = false;
|
|
262
|
-
this.switchRotateDegree = 0;
|
|
263
|
-
this.containerAnimation = '';
|
|
264
|
-
this.blazorRef = undefined;
|
|
265
|
-
this.videoInputs = [];
|
|
266
|
-
this.manualCaptureLoading = false;
|
|
267
|
-
this.activeCameraId = localStorage.getItem(ACTIVE_CAMERA_ID_KEY) || '';
|
|
268
260
|
}
|
|
269
261
|
async componentDidLoad() {
|
|
270
262
|
this.videoPlayer = this.el.shadowRoot.querySelector('.video-player');
|
|
@@ -302,7 +294,7 @@ const VinExtractor = class {
|
|
|
302
294
|
}
|
|
303
295
|
}
|
|
304
296
|
}
|
|
305
|
-
setBlazorRef(newBlazorRef) {
|
|
297
|
+
async setBlazorRef(newBlazorRef) {
|
|
306
298
|
this.blazorRef = newBlazorRef;
|
|
307
299
|
}
|
|
308
300
|
async processCanvasFromSource(source, canvas, maxSize = 400) {
|
|
@@ -328,7 +320,7 @@ const VinExtractor = class {
|
|
|
328
320
|
return '';
|
|
329
321
|
}
|
|
330
322
|
}
|
|
331
|
-
open() {
|
|
323
|
+
async open() {
|
|
332
324
|
this.isOpen = true;
|
|
333
325
|
}
|
|
334
326
|
async close() {
|
|
@@ -351,7 +343,7 @@ const VinExtractor = class {
|
|
|
351
343
|
}
|
|
352
344
|
render() {
|
|
353
345
|
const ariaExpanded = this.isOpen && this.isCameraReady && (this.useOcr || this.readSticker);
|
|
354
|
-
return (h(Host, { key: '
|
|
346
|
+
return (h(Host, { key: '03cce1bb83748bfa847f8a1746a459a8540bba99' }, h("slot", { key: '6a9f32187d63d7c4522fd4c57c28db02265d09e2' }), h("input", Object.assign({ key: '2222f50cf3f3ea64b4710412e60e3a26f4b72120', class: "vin-extractor-input", type: "file", accept: "image/*" }, (this.captureEnvironment ? { capture: 'environment' } : {}), { hidden: true })), h("canvas", { key: 'aa1c301c7df4d0087f331dc39b79076d029e3326', class: "video-canvas hidden" }), !this.uploaderButtonId && (h("div", { key: '4f5f59f2ac97028499618953e990932e9e96ac04', onClick: () => (this.isOpen = false), "aria-expanded": ariaExpanded.toString(), class: "vin-extractor-background md:transition-all md:duration-300 fixed flex items-center justify-center w-[100dvw] h-[100dvh] top-0 left-0 z-[9999]" }, h("div", { key: '23df66d4cebc2d7e4112b9b18f0df25988f5bb40', onClick: e => e.stopPropagation(), "aria-expanded": ariaExpanded.toString(), onAnimationEnd: () => (this.isAnimating = false), onAnimationStart: () => (this.isAnimating = true), class: cn('vin-extractor-container md:w-[600px] md:rounded-lg md:overflow-hidden opacity-0 md:h-auto w-full h-full relative transition-all duration-500', this.containerAnimation) }, h("div", { key: 'f136cd98eb71d7a61d8dd2324080e21337661a0f', class: "vin-extractor-heading items-center md:py-[8px] w-full md:!opacity-100 md:!translate-x-0 p-[16px] md:bg-white bg-black/30 shadow-md z-10 md:relative absolute top-0 left-0 flex justify-between" }, this.videoInputs.length > 1 ? (h("button", { type: "button", onClick: this.switchCamera, class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { width: "24", height: "24", fill: "none", "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg", class: "size-full transition-all duration-300", style: { rotate: `${this.switchRotateDegree}deg` } }, h("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }), h("path", { d: "M21 3v5h-5" }), h("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }), h("path", { d: "M8 16H3v5" })))) : (h("div", { class: "size-8" })), h("h1", { key: '2be7e16adae3374d980e16d3df7a412689f7844d', class: "text-center md:text-3xl md:text-black text-slate-100 text-xl" }, this.title), h("button", { key: '36e2cfc2a4084480e380bb0a956e6f16b54db85b', type: "button", onClick: () => (this.isOpen = false), class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { key: '6c35c1dfeb0900bbd080d3bb47477a273bb6daf2', 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" }, h("path", { key: '8dbf2fe729be30fc7810617bbadc349c52356ae6', d: "M18 6 6 18" }), h("path", { key: '11f2ff22067d07784a152acafd7e7d1870211d00', d: "m6 6 12 12" })))), this.manualCapture && (h("button", { key: 'e1e46bde2bb478b1a2c2e4eda0338dc9fa679334', type: "button", disabled: this.manualCaptureLoading, onClick: this.captureFrame.bind(this, true), 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 ? (h("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" }, h("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }))) : (h("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" }, h("path", { d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z" }), h("circle", { cx: "12", cy: "13", r: "3" }))))), h("video", { key: '9d9ede6584f25879b7eb530133eebe193338552a', id: "video", autoPlay: true, playsInline: true, class: "video-player md:aspect-auto bg-black min-w-full min-h-full object-cover object-center" }))))));
|
|
355
347
|
}
|
|
356
348
|
get el() { return getElement(this); }
|
|
357
349
|
static get watchers() { return {
|
|
@@ -360,6 +352,6 @@ const VinExtractor = class {
|
|
|
360
352
|
"isAnimating": ["animationHandler"]
|
|
361
353
|
}; }
|
|
362
354
|
};
|
|
363
|
-
VinExtractor.style =
|
|
355
|
+
VinExtractor.style = vinExtractorCss;
|
|
364
356
|
|
|
365
357
|
export { VinExtractor as vin_extractor };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"noBaseUrl": "Укажите базовый URL",
|
|
3
|
+
"noPartsFound": "Запчасти не найдены",
|
|
4
|
+
"invalidVin": "Недействительный VIN",
|
|
5
|
+
"vinNumberRequired": "Требуется VIN",
|
|
6
|
+
"noServiceAvailable": "Нет доступных сервисов",
|
|
7
|
+
"partNumberRequired": "Требуется номер запчасти",
|
|
8
|
+
"wrongResponseFormat": "Неправильный формат",
|
|
9
|
+
"wrongFormStructure": "Структура формы недействительна.",
|
|
10
|
+
"wildCard": "Произошла неожиданная ошибка, пожалуйста, попробуйте еще раз позже.",
|
|
11
|
+
"requestFailedPleaseTryAgainLater": "Запрос не удался, попробуйте еще раз позже"
|
|
12
12
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
"info": "Информация",
|
|
3
|
+
"distributorStock": "Доступность у Дистрибьютора",
|
|
4
|
+
"availability": "Наличие",
|
|
5
|
+
"notAvailable": "Нет в наличии",
|
|
6
|
+
"partiallyAvailable": "Частично в наличии",
|
|
7
|
+
"available": "В наличии",
|
|
8
|
+
"location": "Расположение",
|
|
9
|
+
"description": "Описание",
|
|
10
|
+
"productGroup": "Группа продукта",
|
|
11
|
+
"localDescription": "$ Описание",
|
|
12
|
+
"dealerPurchasePrice": "Цена закупки для дилера",
|
|
13
|
+
"recommendedRetailPrice": "Рекомендуемая розничная цена",
|
|
14
|
+
"supersededFrom": "Заменен от",
|
|
15
|
+
"supersessions": "Замена запчасти"
|
|
16
16
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"pnc": "PNC",
|
|
7
7
|
"pncName": "PNC اسم $",
|
|
8
8
|
"binCode": "رمز سلة المهملات",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"length": "طول",
|
|
10
|
+
"width": "عرض",
|
|
11
|
+
"height": "ارتفاع",
|
|
12
12
|
"netWeight": "الوزن الصافي",
|
|
13
13
|
"grossWeight": "الوزن الإجمالي",
|
|
14
14
|
"cubicMeasure": "القياس المكعب",
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"pnc": "PNC",
|
|
7
7
|
"pncName": "PNC $ Name",
|
|
8
8
|
"binCode": "Bin Code",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"length": "Length",
|
|
10
|
+
"width": "Width",
|
|
11
|
+
"height": "Height",
|
|
12
12
|
"netWeight": "Net Weight",
|
|
13
13
|
"grossWeight": "Gross Weight",
|
|
14
14
|
"cubicMeasure": "Cubic Measure",
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"pnc": "PNC",
|
|
7
7
|
"pncName": "PNC ناوی $",
|
|
8
8
|
"binCode": "کۆدی بین",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
9
|
+
"length": "درێژی",
|
|
10
|
+
"width": "پانی",
|
|
11
|
+
"height": "بەرزی",
|
|
12
12
|
"netWeight": "کێشی پاک",
|
|
13
13
|
"grossWeight": "کێشی گشتی",
|
|
14
14
|
"cubicMeasure": "پێوانە سێجا",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"origin": "Первоисточник",
|
|
3
|
+
"warrantyPrice": "Цена по гарантии",
|
|
4
|
+
"specialPrice": "Специальная цена",
|
|
5
|
+
"wholesalesPrice": "Оптовая цена",
|
|
6
|
+
"pnc": "PNC",
|
|
7
|
+
"pncName": "PNC $ Имя",
|
|
8
|
+
"binCode": "Бин-код",
|
|
9
|
+
"length": "длина",
|
|
10
|
+
"width": "ширина",
|
|
11
|
+
"height": "высота",
|
|
12
|
+
"netWeight": "Вес нетто",
|
|
13
|
+
"grossWeight": "Вес брутто",
|
|
14
|
+
"cubicMeasure": "Кубическая мера",
|
|
15
|
+
"hsCode": "HS - код",
|
|
16
|
+
"uzHsCode": "UZ HS CODE"
|
|
17
17
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
"vehicleAccessories": "Автомобильные Аксессуары",
|
|
3
|
+
"noData": "Данных нет.",
|
|
4
|
+
"partNumber": "Номер запчасти",
|
|
5
|
+
"description": "Описание",
|
|
6
|
+
"image": "Изображение",
|
|
7
|
+
"expand": "Раскрыть"
|
|
8
8
|
}
|
|
@@ -14,11 +14,15 @@
|
|
|
14
14
|
"pending": "قيد الانتظار",
|
|
15
15
|
"warning": "تحذير",
|
|
16
16
|
"activateNow": "Activate Now",
|
|
17
|
-
"print": "
|
|
18
|
-
"successFulClaimMessage": "
|
|
17
|
+
"print": "مطبعة",
|
|
18
|
+
"successFulClaimMessage": "تم المطالبة بنجاح.",
|
|
19
19
|
"activationRequired": "Activation Required",
|
|
20
20
|
"warrantyAndServicesNotActivated": "Warranty & Services have not been activated for this vehicle.",
|
|
21
|
-
"
|
|
21
|
+
"claimForm": {
|
|
22
|
+
"documentLimitError": "لقد تجاوز المستند الحد الأقصى لحجم الملف: ",
|
|
23
|
+
"documentRequiredError": "من فضلك إملأ حقل المستند.",
|
|
24
|
+
"uploadSingleDocument": "تحميل مستند",
|
|
25
|
+
"uploadMultipleDocument": "تحميل المستندات",
|
|
22
26
|
"serviceType": "نوع الخدمة",
|
|
23
27
|
"name": "اسم",
|
|
24
28
|
"activationDate": "تاريخ التفعيل",
|
|
@@ -18,7 +18,11 @@
|
|
|
18
18
|
"successFulClaimMessage": "Item was claimed successfully.",
|
|
19
19
|
"activationRequired": "Activation Required",
|
|
20
20
|
"warrantyAndServicesNotActivated": "Warranty & Services have not been activated for this vehicle.",
|
|
21
|
-
"
|
|
21
|
+
"claimForm": {
|
|
22
|
+
"documentLimitError": "The document exceeded the file size limit: ",
|
|
23
|
+
"documentRequiredError": "Please Fill the document field.",
|
|
24
|
+
"uploadSingleDocument": "Upload a document",
|
|
25
|
+
"uploadMultipleDocument": "Upload the documents",
|
|
22
26
|
"serviceType": "Service Type",
|
|
23
27
|
"name": "Name",
|
|
24
28
|
"activationDate": "Activation Date",
|