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
|
@@ -3,99 +3,53 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
|
-
import cn from "../../global/lib/cn";
|
|
7
|
-
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../global/lib/get-local-language";
|
|
8
|
-
import { getVehicleInformation } from "../../global/api/vehicleInformation";
|
|
9
6
|
import specificationSchema from "../../locales/vehicleLookup/specification/type";
|
|
10
|
-
|
|
7
|
+
import { MaterialCard, MaterialCardChildren } from "../components/material-card";
|
|
8
|
+
import { VehicleInfoLayout } from "../../features/vehicle-info-layout/index";
|
|
9
|
+
import { setVehicleLookupData, setVehicleLookupErrorState } from "../../features/vehicle-lookup-component/vehicle-lookup-api-integration";
|
|
10
|
+
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../features/multi-lingual/index";
|
|
11
11
|
export class VehicleSpecification {
|
|
12
12
|
constructor() {
|
|
13
|
-
|
|
14
|
-
this.isDev = false;
|
|
15
|
-
this.queryString = '';
|
|
13
|
+
// ====== Start Localization
|
|
16
14
|
this.language = 'en';
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.vehicleInformation = undefined;
|
|
15
|
+
this.locale = Object.assign({ sharedLocales: sharedLocalesSchema.getDefault() }, specificationSchema.getDefault());
|
|
16
|
+
// ====== End Localization
|
|
17
|
+
// ====== Start Vehicle info layout prop
|
|
18
|
+
this.coreOnly = false;
|
|
19
|
+
this.headers = {};
|
|
20
|
+
this.queryString = '';
|
|
21
|
+
this.isError = false;
|
|
22
|
+
this.isLoading = false;
|
|
26
23
|
}
|
|
27
24
|
async componentWillLoad() {
|
|
28
25
|
await this.changeLanguage(this.language);
|
|
29
26
|
}
|
|
30
27
|
async changeLanguage(newLanguage) {
|
|
31
|
-
const
|
|
32
|
-
this.locale =
|
|
33
|
-
this.sharedLocales = localeResponses[1];
|
|
28
|
+
const [sharedLocales, locale] = await Promise.all([getSharedLocal(newLanguage), getLocaleLanguage(newLanguage, 'vehicleLookup.specification', specificationSchema)]);
|
|
29
|
+
this.locale = Object.assign({ sharedLocales }, locale);
|
|
34
30
|
}
|
|
35
|
-
async
|
|
36
|
-
|
|
37
|
-
if (this.abortController)
|
|
38
|
-
this.abortController.abort();
|
|
39
|
-
this.abortController = new AbortController();
|
|
40
|
-
let scopedTimeoutRef;
|
|
41
|
-
const isVinRequest = typeof newData === 'string';
|
|
42
|
-
const vin = isVinRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.vin;
|
|
43
|
-
this.externalVin = vin;
|
|
44
|
-
try {
|
|
45
|
-
if (!vin || vin.trim().length === 0) {
|
|
46
|
-
this.state = 'idle';
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (this.state === 'data' || this.state === 'error') {
|
|
50
|
-
this.state = (this.state + '-loading');
|
|
51
|
-
}
|
|
52
|
-
else
|
|
53
|
-
this.state = 'loading';
|
|
54
|
-
await new Promise(r => {
|
|
55
|
-
scopedTimeoutRef = setTimeout(r, 700);
|
|
56
|
-
this.networkTimeoutRef = scopedTimeoutRef;
|
|
57
|
-
});
|
|
58
|
-
const vehicleResponse = isVinRequest ? await getVehicleInformation(this, { scopedTimeoutRef, vin, mockData }, headers) : newData;
|
|
59
|
-
if (this.networkTimeoutRef === scopedTimeoutRef) {
|
|
60
|
-
if (!vehicleResponse)
|
|
61
|
-
throw new Error('wrongResponseFormat');
|
|
62
|
-
this.vehicleInformation = vehicleResponse;
|
|
63
|
-
}
|
|
64
|
-
this.errorMessage = null;
|
|
65
|
-
this.state = 'data';
|
|
66
|
-
}
|
|
67
|
-
catch (error) {
|
|
68
|
-
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
69
|
-
return;
|
|
70
|
-
if (this.errorCallback)
|
|
71
|
-
this.errorCallback(error.message);
|
|
72
|
-
console.error(error);
|
|
73
|
-
this.setErrorMessage(error.message);
|
|
74
|
-
}
|
|
31
|
+
async setMockData(newMockData) {
|
|
32
|
+
this.mockData = newMockData;
|
|
75
33
|
}
|
|
76
|
-
async
|
|
77
|
-
this
|
|
78
|
-
this.vehicleInformation = null;
|
|
79
|
-
this.errorMessage = message;
|
|
34
|
+
async fetchData(newData, headers = {}) {
|
|
35
|
+
await setVehicleLookupData(this, newData, headers);
|
|
80
36
|
}
|
|
81
|
-
async
|
|
82
|
-
|
|
37
|
+
async setErrorMessage(message) {
|
|
38
|
+
setVehicleLookupErrorState(this, message);
|
|
83
39
|
}
|
|
84
|
-
|
|
40
|
+
onLoadingChange(newValue) {
|
|
85
41
|
if (this.loadingStateChange)
|
|
86
|
-
this.loadingStateChange(
|
|
87
|
-
}
|
|
88
|
-
async setMockData(newMockData) {
|
|
89
|
-
mockData = newMockData;
|
|
42
|
+
this.loadingStateChange(newValue);
|
|
90
43
|
}
|
|
44
|
+
// ====== End Vehicle Lookup Component Shared Logic
|
|
91
45
|
render() {
|
|
92
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
46
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14;
|
|
93
47
|
const texts = this.locale;
|
|
94
48
|
let productionDate = null;
|
|
95
49
|
try {
|
|
96
|
-
if ((_b = (_a = this.
|
|
97
|
-
const productionDateObj = new Date((_d = (_c = this.
|
|
98
|
-
productionDate = productionDateObj.toLocaleDateString(this.sharedLocales.language, {
|
|
50
|
+
if ((_b = (_a = this.vehicleLookup) === null || _a === void 0 ? void 0 : _a.vehicleSpecification) === null || _b === void 0 ? void 0 : _b.productionDate) {
|
|
51
|
+
const productionDateObj = new Date((_d = (_c = this.vehicleLookup) === null || _c === void 0 ? void 0 : _c.vehicleSpecification) === null || _d === void 0 ? void 0 : _d.productionDate);
|
|
52
|
+
productionDate = productionDateObj.toLocaleDateString(this.locale.sharedLocales.language, {
|
|
99
53
|
year: 'numeric',
|
|
100
54
|
month: 'long',
|
|
101
55
|
});
|
|
@@ -104,16 +58,7 @@ export class VehicleSpecification {
|
|
|
104
58
|
catch (error) {
|
|
105
59
|
productionDate = null;
|
|
106
60
|
}
|
|
107
|
-
|
|
108
|
-
return (h(Host, { key: 'f315fa7f2bc8ec5923f6bf7e4519a236b0b67bb4' }, h("div", { key: 'e8973c17b5966a966a6b0e69f1539799209e0dff', dir: this.sharedLocales.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: '760977bf8f0d4ed49e794e8c46704da61a0cad70' }, h("loading-spinner", { key: 'f20d2747661dd752594766989ebcadcc235fb6a8', isLoading: this.state.includes('loading') }), h("div", { key: 'e8e167fe0c98c665d7df44c946abce1fc50b3f2f', class: cn('transition-all !duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: 'e99d6771b52c6adcb28052cef01d45fcc79f7008', class: cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.vin), ['error', 'error-loading'].includes(this.state) && (h("div", { key: '22bfff998bb790be07b7bb493c84cc0179a5a63f', class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { key: 'b59524ce791207c8ad6605b61c431789914d070b', class: "px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.sharedLocales.errors[this.errorMessage] || this.sharedLocales.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: 'e8391cbd43705b5fc461af0c9394035f4e5734e0', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'a5d36861a83798590ed6095c726be2a045b5055b', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleSpecification), h("div", { key: '085c2fb10f1b8284a3281b2a61871916a3164211', class: "h-0 overflow-auto flex-1" }, !((_f = this.vehicleInformation) === null || _f === void 0 ? void 0 : _f.vehicleSpecification) && h("div", { key: 'b2ac41c2576cdce2d8e8e99046123902d6eb4b68', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_g = this.vehicleInformation) === null || _g === void 0 ? void 0 : _g.vehicleSpecification) && (h("table", { key: '6a58a68e12f31dbebb692e3f8763303a6570a164', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: 'a66babf491edc6610f9512cee381f7db093d24b1', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: '398f1f70e42a6ebf7202ee10e741a8c837be96c5' }, ['model', 'variant', 'katashiki', 'modelYear', ...(!!productionDate ? ['productionDate'] : []), 'sfx'].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: 'aec5824281b29c5831c4397a5e3a8f09ce606042' }, h("tr", { key: '63c5a78c05968b5948460a2e6176ad9e79ecdd02' }, h("td", { key: '3d1471f47a3b6da8c5e24bfef30e3630e374d4c7', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_j = (_h = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _h === void 0 ? void 0 : _h.vehicleVariantInfo) === null || _j === void 0 ? void 0 : _j.modelCode) || '...', " ", h("br", { key: '8d3fcac27a2895624b2efe2e401e8267e1d393fe', class: "my-2" }), ((_l = (_k = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _k === void 0 ? void 0 : _k.vehicleSpecification) === null || _l === void 0 ? void 0 : _l.modelDesc) || '...'), h("td", { key: '906cd8cf29236e5f97f9c81d75b5a0df461bd403', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_o = (_m = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _m === void 0 ? void 0 : _m.identifiers) === null || _o === void 0 ? void 0 : _o.variant) || '...', " ", h("br", { key: '501a988bc9a756ddaea0b82c6b87c3d9b1ff7c67' }), ((_q = (_p = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _p === void 0 ? void 0 : _p.vehicleSpecification) === null || _q === void 0 ? void 0 : _q.variantDesc) || '...'), ['identifiers.katashiki', 'vehicleVariantInfo.modelYear', ...(!!productionDate ? [getProductionDate] : []), 'vehicleVariantInfo.sfx'].map(infoPath => {
|
|
109
|
-
var _a;
|
|
110
|
-
if (typeof infoPath === 'function')
|
|
111
|
-
return infoPath();
|
|
112
|
-
const [place, field] = infoPath.split('.');
|
|
113
|
-
const targetPlace = (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a[place];
|
|
114
|
-
const cellValue = targetPlace && targetPlace[field] ? targetPlace[field].toString() : '';
|
|
115
|
-
return (h("td", { key: infoPath, class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, cellValue.trim() ? cellValue : '...'));
|
|
116
|
-
})))))))))))));
|
|
61
|
+
return (h(Host, { key: 'e674d7d74ee7f2068ee925e89ba97ec9b7a735af' }, h(VehicleInfoLayout, { key: 'ae5968c1c65d5dda04d7aa7cccb9a1f88e490417', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_e = this.vehicleLookup) === null || _e === void 0 ? void 0 : _e.vin, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("flexible-container", { key: '5199c84f543d33313f3e4af45e4c4e107740ff0e' }, h("div", { key: 'f0f32d1ddcaa23ad8574b33d3d2720f2b8ef1f96', class: "flex p-[16px] [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, h(MaterialCard, { key: 'c34c7b4cddf43b2ae31d2045365bf938a96d25df', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.model, minWidth: "300px" }, h(MaterialCardChildren, { key: '7bcd754484053eece5c3dbed42a722253b6f2ff0', class: "text-center", hidden: !((_h = (_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _f === void 0 ? void 0 : _f.vehicleVariantInfo) === null || _g === void 0 ? void 0 : _g.modelCode) === null || _h === void 0 ? void 0 : _h.trim()) && !((_l = (_k = (_j = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _j === void 0 ? void 0 : _j.vehicleSpecification) === null || _k === void 0 ? void 0 : _k.modelDescription) === null || _l === void 0 ? void 0 : _l.trim()) }, ((_p = (_o = (_m = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _m === void 0 ? void 0 : _m.vehicleVariantInfo) === null || _o === void 0 ? void 0 : _o.modelCode) === null || _p === void 0 ? void 0 : _p.trim()) || '', " ", h("br", { key: '114eab2c04bb77a82a368c5dfc123db2a36c0229', class: "my-2" }), ((_s = (_r = (_q = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _q === void 0 ? void 0 : _q.vehicleSpecification) === null || _r === void 0 ? void 0 : _r.modelDescription) === null || _s === void 0 ? void 0 : _s.trim()) || '')), h(MaterialCard, { key: '978e563e80d14878b107ad003ddc55ec099d826c', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.variant, minWidth: "300px" }, h(MaterialCardChildren, { key: 'cb1f139f13757b8602353c77344fc6f346e6b1d9', class: "text-center", hidden: !((_v = (_u = (_t = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _t === void 0 ? void 0 : _t.identifiers) === null || _u === void 0 ? void 0 : _u.variant) === null || _v === void 0 ? void 0 : _v.trim()) && !((_y = (_x = (_w = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _w === void 0 ? void 0 : _w.vehicleSpecification) === null || _x === void 0 ? void 0 : _x.variantDescription) === null || _y === void 0 ? void 0 : _y.trim()) }, ((_1 = (_0 = (_z = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _z === void 0 ? void 0 : _z.identifiers) === null || _0 === void 0 ? void 0 : _0.variant) === null || _1 === void 0 ? void 0 : _1.trim()) || '', " ", h("br", { key: '8fea51f040b12d8f1d8f7ffa432e5d7863948ff5' }), ((_4 = (_3 = (_2 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _2 === void 0 ? void 0 : _2.vehicleSpecification) === null || _3 === void 0 ? void 0 : _3.variantDescription) === null || _4 === void 0 ? void 0 : _4.trim()) || '')), h(MaterialCard, { key: '00bc5bc232b2efb17ec32d268d3498004aa379df', desc: ((_7 = (_6 = (_5 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _5 === void 0 ? void 0 : _5.identifiers) === null || _6 === void 0 ? void 0 : _6.katashiki) === null || _7 === void 0 ? void 0 : _7.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.katashiki, minWidth: "250px" }), h(MaterialCard, { key: 'f5058701919b33eec556d574af4e804c65722670', desc: ((_11 = (_10 = (_9 = (_8 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _8 === void 0 ? void 0 : _8.vehicleVariantInfo) === null || _9 === void 0 ? void 0 : _9.modelYear) === null || _10 === void 0 ? void 0 : _10.toString()) === null || _11 === void 0 ? void 0 : _11.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.modelYear, minWidth: "250px" }), h(MaterialCard, { key: 'f6adc4d167558192b8cbf560bba2bc2ac8336c66', desc: !!productionDate ? productionDate : '', title: texts === null || texts === void 0 ? void 0 : texts.productionDate, minWidth: "250px" }), h(MaterialCard, { key: 'ca93b8687aad5fdc1d53252de2bd010365b8a92f', desc: ((_14 = (_13 = (_12 = this === null || this === void 0 ? void 0 : this.vehicleLookup) === null || _12 === void 0 ? void 0 : _12.vehicleVariantInfo) === null || _13 === void 0 ? void 0 : _13.sfx) === null || _14 === void 0 ? void 0 : _14.trim()) || '', title: texts === null || texts === void 0 ? void 0 : texts.sfx, minWidth: "250px" }))))));
|
|
117
62
|
}
|
|
118
63
|
static get is() { return "vehicle-specification"; }
|
|
119
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -129,13 +74,20 @@ export class VehicleSpecification {
|
|
|
129
74
|
}
|
|
130
75
|
static get properties() {
|
|
131
76
|
return {
|
|
132
|
-
"
|
|
77
|
+
"language": {
|
|
133
78
|
"type": "string",
|
|
79
|
+
"attribute": "language",
|
|
134
80
|
"mutable": false,
|
|
135
81
|
"complexType": {
|
|
136
|
-
"original": "
|
|
137
|
-
"resolved": "
|
|
138
|
-
"references": {
|
|
82
|
+
"original": "LanguageKeys",
|
|
83
|
+
"resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
|
|
84
|
+
"references": {
|
|
85
|
+
"LanguageKeys": {
|
|
86
|
+
"location": "import",
|
|
87
|
+
"path": "~features/multi-lingual",
|
|
88
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
139
91
|
},
|
|
140
92
|
"required": false,
|
|
141
93
|
"optional": false,
|
|
@@ -143,12 +95,14 @@ export class VehicleSpecification {
|
|
|
143
95
|
"tags": [],
|
|
144
96
|
"text": ""
|
|
145
97
|
},
|
|
146
|
-
"
|
|
98
|
+
"getter": false,
|
|
99
|
+
"setter": false,
|
|
147
100
|
"reflect": false,
|
|
148
|
-
"defaultValue": "''"
|
|
101
|
+
"defaultValue": "'en'"
|
|
149
102
|
},
|
|
150
|
-
"
|
|
103
|
+
"coreOnly": {
|
|
151
104
|
"type": "boolean",
|
|
105
|
+
"attribute": "core-only",
|
|
152
106
|
"mutable": false,
|
|
153
107
|
"complexType": {
|
|
154
108
|
"original": "boolean",
|
|
@@ -161,12 +115,33 @@ export class VehicleSpecification {
|
|
|
161
115
|
"tags": [],
|
|
162
116
|
"text": ""
|
|
163
117
|
},
|
|
164
|
-
"
|
|
118
|
+
"getter": false,
|
|
119
|
+
"setter": false,
|
|
165
120
|
"reflect": false,
|
|
166
121
|
"defaultValue": "false"
|
|
167
122
|
},
|
|
168
|
-
"
|
|
123
|
+
"isDev": {
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"attribute": "is-dev",
|
|
126
|
+
"mutable": false,
|
|
127
|
+
"complexType": {
|
|
128
|
+
"original": "boolean",
|
|
129
|
+
"resolved": "boolean",
|
|
130
|
+
"references": {}
|
|
131
|
+
},
|
|
132
|
+
"required": false,
|
|
133
|
+
"optional": false,
|
|
134
|
+
"docs": {
|
|
135
|
+
"tags": [],
|
|
136
|
+
"text": ""
|
|
137
|
+
},
|
|
138
|
+
"getter": false,
|
|
139
|
+
"setter": false,
|
|
140
|
+
"reflect": false
|
|
141
|
+
},
|
|
142
|
+
"baseUrl": {
|
|
169
143
|
"type": "string",
|
|
144
|
+
"attribute": "base-url",
|
|
170
145
|
"mutable": false,
|
|
171
146
|
"complexType": {
|
|
172
147
|
"original": "string",
|
|
@@ -179,23 +154,37 @@ export class VehicleSpecification {
|
|
|
179
154
|
"tags": [],
|
|
180
155
|
"text": ""
|
|
181
156
|
},
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
157
|
+
"getter": false,
|
|
158
|
+
"setter": false,
|
|
159
|
+
"reflect": false
|
|
185
160
|
},
|
|
186
|
-
"
|
|
161
|
+
"headers": {
|
|
162
|
+
"type": "unknown",
|
|
163
|
+
"attribute": "headers",
|
|
164
|
+
"mutable": false,
|
|
165
|
+
"complexType": {
|
|
166
|
+
"original": "object",
|
|
167
|
+
"resolved": "object",
|
|
168
|
+
"references": {}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": false,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": ""
|
|
175
|
+
},
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
178
|
+
"defaultValue": "{}"
|
|
179
|
+
},
|
|
180
|
+
"queryString": {
|
|
187
181
|
"type": "string",
|
|
182
|
+
"attribute": "query-string",
|
|
188
183
|
"mutable": false,
|
|
189
184
|
"complexType": {
|
|
190
|
-
"original": "
|
|
191
|
-
"resolved": "
|
|
192
|
-
"references": {
|
|
193
|
-
"LanguageKeys": {
|
|
194
|
-
"location": "import",
|
|
195
|
-
"path": "~types/locale",
|
|
196
|
-
"id": "src/global/types/locale.ts::LanguageKeys"
|
|
197
|
-
}
|
|
198
|
-
}
|
|
185
|
+
"original": "string",
|
|
186
|
+
"resolved": "string",
|
|
187
|
+
"references": {}
|
|
199
188
|
},
|
|
200
189
|
"required": false,
|
|
201
190
|
"optional": false,
|
|
@@ -203,12 +192,14 @@ export class VehicleSpecification {
|
|
|
203
192
|
"tags": [],
|
|
204
193
|
"text": ""
|
|
205
194
|
},
|
|
206
|
-
"
|
|
195
|
+
"getter": false,
|
|
196
|
+
"setter": false,
|
|
207
197
|
"reflect": false,
|
|
208
|
-
"defaultValue": "'
|
|
198
|
+
"defaultValue": "''"
|
|
209
199
|
},
|
|
210
200
|
"errorCallback": {
|
|
211
201
|
"type": "unknown",
|
|
202
|
+
"attribute": "error-callback",
|
|
212
203
|
"mutable": false,
|
|
213
204
|
"complexType": {
|
|
214
205
|
"original": "(errorMessage: ErrorKeys) => void",
|
|
@@ -216,20 +207,23 @@ export class VehicleSpecification {
|
|
|
216
207
|
"references": {
|
|
217
208
|
"ErrorKeys": {
|
|
218
209
|
"location": "import",
|
|
219
|
-
"path": "~
|
|
220
|
-
"id": "src/
|
|
210
|
+
"path": "~features/multi-lingual",
|
|
211
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys"
|
|
221
212
|
}
|
|
222
213
|
}
|
|
223
214
|
},
|
|
224
215
|
"required": false,
|
|
225
|
-
"optional":
|
|
216
|
+
"optional": true,
|
|
226
217
|
"docs": {
|
|
227
218
|
"tags": [],
|
|
228
219
|
"text": ""
|
|
229
|
-
}
|
|
220
|
+
},
|
|
221
|
+
"getter": false,
|
|
222
|
+
"setter": false
|
|
230
223
|
},
|
|
231
224
|
"loadingStateChange": {
|
|
232
225
|
"type": "unknown",
|
|
226
|
+
"attribute": "loading-state-change",
|
|
233
227
|
"mutable": false,
|
|
234
228
|
"complexType": {
|
|
235
229
|
"original": "(isLoading: boolean) => void",
|
|
@@ -241,19 +235,22 @@ export class VehicleSpecification {
|
|
|
241
235
|
"docs": {
|
|
242
236
|
"tags": [],
|
|
243
237
|
"text": ""
|
|
244
|
-
}
|
|
238
|
+
},
|
|
239
|
+
"getter": false,
|
|
240
|
+
"setter": false
|
|
245
241
|
},
|
|
246
242
|
"loadedResponse": {
|
|
247
243
|
"type": "unknown",
|
|
244
|
+
"attribute": "loaded-response",
|
|
248
245
|
"mutable": false,
|
|
249
246
|
"complexType": {
|
|
250
|
-
"original": "(response:
|
|
251
|
-
"resolved": "(response:
|
|
247
|
+
"original": "(response: VehicleLookupDTO) => void",
|
|
248
|
+
"resolved": "(response: VehicleLookupDTO) => void",
|
|
252
249
|
"references": {
|
|
253
|
-
"
|
|
250
|
+
"VehicleLookupDTO": {
|
|
254
251
|
"location": "import",
|
|
255
|
-
"path": "~types/vehicle-
|
|
256
|
-
"id": "src/global/types/vehicle-
|
|
252
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
253
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
257
254
|
}
|
|
258
255
|
}
|
|
259
256
|
},
|
|
@@ -262,62 +259,29 @@ export class VehicleSpecification {
|
|
|
262
259
|
"docs": {
|
|
263
260
|
"tags": [],
|
|
264
261
|
"text": ""
|
|
265
|
-
}
|
|
262
|
+
},
|
|
263
|
+
"getter": false,
|
|
264
|
+
"setter": false
|
|
266
265
|
}
|
|
267
266
|
};
|
|
268
267
|
}
|
|
269
268
|
static get states() {
|
|
270
269
|
return {
|
|
271
|
-
"sharedLocales": {},
|
|
272
270
|
"locale": {},
|
|
273
|
-
"
|
|
274
|
-
"externalVin": {},
|
|
271
|
+
"isError": {},
|
|
275
272
|
"errorMessage": {},
|
|
276
|
-
"
|
|
273
|
+
"isLoading": {},
|
|
274
|
+
"vehicleLookup": {}
|
|
277
275
|
};
|
|
278
276
|
}
|
|
279
277
|
static get methods() {
|
|
280
278
|
return {
|
|
281
|
-
"
|
|
282
|
-
"complexType": {
|
|
283
|
-
"signature": "(newData: VehicleInformation | string, headers?: any) => Promise<void>",
|
|
284
|
-
"parameters": [{
|
|
285
|
-
"name": "newData",
|
|
286
|
-
"type": "string | VehicleInformation",
|
|
287
|
-
"docs": ""
|
|
288
|
-
}, {
|
|
289
|
-
"name": "headers",
|
|
290
|
-
"type": "any",
|
|
291
|
-
"docs": ""
|
|
292
|
-
}],
|
|
293
|
-
"references": {
|
|
294
|
-
"Promise": {
|
|
295
|
-
"location": "global",
|
|
296
|
-
"id": "global::Promise"
|
|
297
|
-
},
|
|
298
|
-
"VehicleInformation": {
|
|
299
|
-
"location": "import",
|
|
300
|
-
"path": "~types/vehicle-information",
|
|
301
|
-
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
302
|
-
},
|
|
303
|
-
"ReturnType": {
|
|
304
|
-
"location": "global",
|
|
305
|
-
"id": "global::ReturnType"
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
"return": "Promise<void>"
|
|
309
|
-
},
|
|
310
|
-
"docs": {
|
|
311
|
-
"text": "",
|
|
312
|
-
"tags": []
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
"setErrorMessage": {
|
|
279
|
+
"setMockData": {
|
|
316
280
|
"complexType": {
|
|
317
|
-
"signature": "(
|
|
281
|
+
"signature": "(newMockData: VehicleLookupMock) => Promise<void>",
|
|
318
282
|
"parameters": [{
|
|
319
|
-
"name": "
|
|
320
|
-
"type": "
|
|
283
|
+
"name": "newMockData",
|
|
284
|
+
"type": "{ [key: string]: VehicleLookupDTO; }",
|
|
321
285
|
"docs": ""
|
|
322
286
|
}],
|
|
323
287
|
"references": {
|
|
@@ -325,10 +289,10 @@ export class VehicleSpecification {
|
|
|
325
289
|
"location": "global",
|
|
326
290
|
"id": "global::Promise"
|
|
327
291
|
},
|
|
328
|
-
"
|
|
292
|
+
"VehicleLookupMock": {
|
|
329
293
|
"location": "import",
|
|
330
|
-
"path": "~
|
|
331
|
-
"id": "src/
|
|
294
|
+
"path": "~features/vehicle-lookup-component",
|
|
295
|
+
"id": "src/features/vehicle-lookup-component/index.ts::VehicleLookupMock"
|
|
332
296
|
}
|
|
333
297
|
},
|
|
334
298
|
"return": "Promise<void>"
|
|
@@ -340,10 +304,10 @@ export class VehicleSpecification {
|
|
|
340
304
|
},
|
|
341
305
|
"fetchData": {
|
|
342
306
|
"complexType": {
|
|
343
|
-
"signature": "(
|
|
307
|
+
"signature": "(newData: VehicleLookupDTO | string, headers?: any) => Promise<void>",
|
|
344
308
|
"parameters": [{
|
|
345
|
-
"name": "
|
|
346
|
-
"type": "string",
|
|
309
|
+
"name": "newData",
|
|
310
|
+
"type": "string | VehicleLookupDTO",
|
|
347
311
|
"docs": ""
|
|
348
312
|
}, {
|
|
349
313
|
"name": "headers",
|
|
@@ -354,6 +318,11 @@ export class VehicleSpecification {
|
|
|
354
318
|
"Promise": {
|
|
355
319
|
"location": "global",
|
|
356
320
|
"id": "global::Promise"
|
|
321
|
+
},
|
|
322
|
+
"VehicleLookupDTO": {
|
|
323
|
+
"location": "import",
|
|
324
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
325
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
357
326
|
}
|
|
358
327
|
},
|
|
359
328
|
"return": "Promise<void>"
|
|
@@ -363,12 +332,12 @@ export class VehicleSpecification {
|
|
|
363
332
|
"tags": []
|
|
364
333
|
}
|
|
365
334
|
},
|
|
366
|
-
"
|
|
335
|
+
"setErrorMessage": {
|
|
367
336
|
"complexType": {
|
|
368
|
-
"signature": "(
|
|
337
|
+
"signature": "(message: ErrorKeys) => Promise<void>",
|
|
369
338
|
"parameters": [{
|
|
370
|
-
"name": "
|
|
371
|
-
"type": "
|
|
339
|
+
"name": "message",
|
|
340
|
+
"type": "\"noBaseUrl\" | \"invalidVin\" | \"vinNumberRequired\" | \"partNumberRequired\" | \"wrongResponseFormat\" | \"noPartsFound\" | \"noServiceAvailable\" | \"wrongFormStructure\" | \"wildCard\" | \"requestFailedPleaseTryAgainLater\"",
|
|
372
341
|
"docs": ""
|
|
373
342
|
}],
|
|
374
343
|
"references": {
|
|
@@ -376,15 +345,10 @@ export class VehicleSpecification {
|
|
|
376
345
|
"location": "global",
|
|
377
346
|
"id": "global::Promise"
|
|
378
347
|
},
|
|
379
|
-
"
|
|
380
|
-
"location": "import",
|
|
381
|
-
"path": "~types/components",
|
|
382
|
-
"id": "src/global/types/components.ts::MockJson"
|
|
383
|
-
},
|
|
384
|
-
"VehicleInformation": {
|
|
348
|
+
"ErrorKeys": {
|
|
385
349
|
"location": "import",
|
|
386
|
-
"path": "~
|
|
387
|
-
"id": "src/
|
|
350
|
+
"path": "~features/multi-lingual",
|
|
351
|
+
"id": "src/features/multi-lingual/index.ts::ErrorKeys"
|
|
388
352
|
}
|
|
389
353
|
},
|
|
390
354
|
"return": "Promise<void>"
|
|
@@ -402,8 +366,8 @@ export class VehicleSpecification {
|
|
|
402
366
|
"propName": "language",
|
|
403
367
|
"methodName": "changeLanguage"
|
|
404
368
|
}, {
|
|
405
|
-
"propName": "
|
|
406
|
-
"methodName": "
|
|
369
|
+
"propName": "isLoading",
|
|
370
|
+
"methodName": "onLoadingChange"
|
|
407
371
|
}];
|
|
408
372
|
}
|
|
409
373
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.collapse{visibility:collapse}.absolute{left:0;position:absolute;top:0}.\!relative{position:relative!important}.relative{position:relative}.sticky{position:sticky}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0{height:0;height:0!important}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.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))}.flex-wrap{flex-wrap:wrap}.\!overflow-hidden{overflow:hidden!important}.\!rounded-\[4px\]{border-radius:4px!important}.border{border-width:1px}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pr-1{padding-right:4px}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.font-semibold{font-weight:600}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition:all;transition-duration:.3s}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-1000{transition-duration:1s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.success-card{background:#d0e7de!important;background-color:#d0e7de;border-color:#a2d0bb!important;border-color:#a2d0bb;color:#0b3521!important;color:#0b3521}.reject-card{background:#f7d7d8!important;background-color:#f7d7d8;border-color:#f2aeb5!important;border-color:#f2aeb5;color:#58151c!important;color:#58151c}.shift-skeleton{border-radius:4px!important;position:relative!important}.loading .shift-skeleton,.loading.shift-skeleton{overflow:hidden!important;pointer-events:none!important;position:relative!important}.shift-skeleton:after{background:linear-gradient(-45deg,#d4d8de,#e2e5e9,#d4d8de);background-size:300% 300%;border-radius:4px!important;content:"";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transform-origin:left;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;z-index:10}.loading .shift-skeleton:after,.loading.shift-skeleton:after{--tw-scale-x:1;animation:shimmer 2s ease-in-out infinite;opacity:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes shimmer{0%{background-position:100% 0}50%{background-position:0 100%}to{background-position:100% 0}}.vehicle-info-container{background-color:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);overflow:hidden;padding:0;position:relative;transition-duration:.5s;transition-property:all}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:ease-in-out}.vehicle-info-content{transition-duration:.5s;transition-property:all;width:100%}.vehicle-info-header{align-items:center;background-color:#f6f6f6;border:1px solid #ededed;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.5s;transition-property:all}.vehicle-info-header-vin span{color:#ef4444}.loading .vehicle-info-header-vin{opacity:0;transform:scale(1.5);visibility:hidden}:host{all:initial!important;display:block}*{font-family:Arial}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .3s ease-in forwards;opacity:0}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fade-out{animation:fadeIn .3s ease-in forwards;opacity:1}.loading-spinner{align-items:center;display:flex;height:100%;justify-content:center;pointer-events:none;transition:all;transition-duration:.1s;width:100%}.loading-spinner img{height:40px;width:40px}.warranty{overflow:hidden;position:relative;transition:all;transition-duration:.3s}.hide{opacity:0}.card{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1));border:1px solid;border-color:rgb(203 213 225/var(--tw-border-opacity,1));border-radius:6px;color:rgb(15 23 42/var(--tw-text-opacity,1));flex-shrink:0;gap:8px;padding:8px 12px}.card,.card p{align-items:center;display:flex}.card p{flex:1 1 0%;font-size:16px;height:25px;margin:0;padding-left:50px}.card p.no-padding{padding-left:4px}.card img{height:25px;width:25px}.recaptcha-response{border:1px solid;border-radius:8px;font-size:20px;margin:16px auto 0;padding:8px 16px;width:-moz-fit-content;width:fit-content}.warning-card{background:#fcf8e3;border-color:#faebcc!important;color:#8a6d3b}.span-entire-1st-row{grid-column:1/3;grid-row:1/3}.span-entire-2nd-row{grid-column:1/3;grid-row:2/3}.tags-container,.warranty-tags{max-width:1000px}.warranty-tags{display:grid;gap:12px;grid-template-columns:1fr 1fr}.pt-3,.py-3{padding-top:12px}.pb-3,.py-3{padding-bottom:12px}.pt-4,.py-4{padding-top:16px}.pb-4,.py-4{padding-bottom:16px}.max-w-500{max-width:500px}.mt-4,.my-4{margin-bottom:16px;margin-top:16px}.warranty *{box-sizing:border-box}.wrapper-table{border:1px solid #d6d8dc;border-radius:4px;display:flex;flex-direction:column;margin-top:12px;max-height:70vh;overflow:hidden}.ssc-table-container{flex:1 1 0%;height:0;overflow:auto}.wrapper-table .header{align-items:center;background:#e1e3e5;color:#383c43;display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:100%}.ssc-table{border-collapse:collapse;overflow:auto;position:relative;width:100%}.ssc-table thead{background-color:#fff;font-weight:700;position:sticky;top:0}.ssc-table td,.ssc-table th{border-bottom:1px solid #d6d8dc;padding:10px 20px;text-align:center;transition:all;transition-duration:.3s;white-space:nowrap}.ssc-table tr:hover{background:#f4f4f4}.ssc-table tr:last-child td{border:none}.table-cell-container{align-items:center;display:flex;gap:8px;justify-content:center;width:100%}.table-cell-labors-container,.table-cell-parts-container{flex-wrap:wrap}.table-cell-labors-container div,.table-cell-parts-container div{border-radius:4px;font-size:14px;padding:4px 8px}.table-cell-labors-container div.success,.table-cell-parts-container div.success{background:#d0e7de}.table-cell-labors-container div.reject,.table-cell-parts-container div.reject{background:#f7d7d8}.table-status-icon{height:20px;width:20px}.warranty-vin{font-size:20px;padding-top:4px;text-align:center}.recaptcha-container{display:flex;justify-content:center;overflow:hidden}.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}.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}.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}.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}.gap-2{gap:.5rem}
|