adp-web-components 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cn-BHnqYtun.js +2597 -0
- package/dist/cjs/contact-us-form.cjs.entry.js +11 -22
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -32
- package/dist/cjs/flexible-container.cjs.entry.js +134 -0
- package/dist/cjs/form-dialog_8.cjs.entry.js +44 -100
- package/dist/cjs/{get-local-language-e539cfdc.js → get-local-language-XsAJEAsO.js} +338 -295
- package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
- package/dist/cjs/information-table.cjs.entry.js +40 -0
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
- package/dist/cjs/part-lookup.cjs.entry.js +14 -21
- package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
- package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
- package/dist/cjs/shift-components.cjs.js +7 -8
- package/dist/cjs/shift-slider.cjs.entry.js +70 -0
- package/dist/cjs/shift-tab-content_7.cjs.entry.js +1487 -0
- package/dist/cjs/shift-tabs_2.cjs.entry.js +301 -0
- package/dist/cjs/{type-3183db65.js → type-BAD2dFzP.js} +32 -123
- package/dist/cjs/{type-87edb16d.js → type-CCsnwaKp.js} +11 -8
- package/dist/cjs/{type-c576b922.js → type-DT5vXP0E.js} +4 -4
- package/dist/cjs/{type-3d22f1fc.js → vehicle-info-layout-BSAeLW7e.js} +11 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +60 -50
- package/dist/cjs/vin-extractor.cjs.entry.js +22 -32
- package/dist/collection/collection-manifest.json +19 -13
- package/dist/collection/components/components/card-content.js +7 -0
- package/dist/collection/components/components/flexible-container.css +1 -0
- package/dist/collection/components/components/flexible-container.js +317 -0
- package/dist/collection/components/components/information-table.css +1 -0
- package/dist/collection/components/components/information-table.js +137 -0
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/loading-spinner.js +4 -5
- package/dist/collection/components/components/material-card.js +34 -0
- package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
- package/dist/collection/components/components/shift-accordion.js +102 -0
- package/dist/collection/components/components/shift-slider.css +1 -0
- package/dist/collection/components/components/shift-slider.js +95 -0
- package/dist/collection/components/components/shift-tab-content.css +1 -0
- package/dist/collection/components/components/shift-tab-content.js +98 -0
- package/dist/collection/components/components/shift-tabs.css +1 -0
- package/dist/collection/components/components/shift-tabs.js +140 -0
- package/dist/collection/components/components/vehicle-info-layout.js +7 -0
- package/dist/collection/components/form-elements/form-dialog.css +1 -1
- package/dist/collection/components/form-elements/form-dialog.js +13 -9
- package/dist/collection/components/form-elements/form-input.css +1 -1
- package/dist/collection/components/form-elements/form-input.js +42 -26
- package/dist/collection/components/form-elements/form-select.css +1 -1
- package/dist/collection/components/form-elements/form-select.js +54 -38
- 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 +4 -2
- package/dist/collection/components/form-elements/form-structure.css +1 -1
- package/dist/collection/components/form-elements/form-structure.js +29 -13
- package/dist/collection/components/form-elements/form-submit.css +1 -1
- package/dist/collection/components/form-elements/form-submit.js +15 -7
- package/dist/collection/components/form-elements/form-text-area.css +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +33 -20
- package/dist/collection/components/forms/contact-us/form.css +1 -1
- package/dist/collection/components/forms/contact-us-form.js +37 -22
- package/dist/collection/components/forms/service-booking-form.js +37 -22
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +40 -27
- package/dist/collection/components/part-lookup/distributor-lookup.js +46 -29
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +54 -35
- package/dist/collection/components/part-lookup/part-lookup.js +39 -23
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +99 -47
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +959 -0
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +590 -0
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +123 -53
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
- package/dist/collection/components/vehicle-lookup/{paint-thickness.js → vehicle-paint-thickness.js} +99 -43
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +3 -0
- package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js} +101 -38
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +3 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +66 -38
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +3 -0
- package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +168 -54
- package/dist/collection/components/vin-extractor/vin-extractor.js +60 -39
- package/dist/collection/global/lib/children-with-tag.js +24 -0
- package/dist/collection/global/lib/container-has-tag.js +28 -0
- package/dist/collection/global/lib/get-local-language.js +15 -5
- package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
- package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
- package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
- package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
- package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
- package/dist/collection/global/types/generated/part/price-dto.js +1 -0
- package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
- package/dist/collection/locale-mapper.js +3 -3
- package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
- package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +9 -6
- package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
- package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
- package/dist/collection/templates/part-lookup/mock-data.js +14 -14
- package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
- package/dist/components/contact-us-form.js +1 -1
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/flexible-container.d.ts +11 -0
- package/dist/components/flexible-container.js +5 -0
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-select.js +1 -1
- package/dist/components/form-shadow-input.js +1 -1
- package/dist/components/form-structure-error.js +1 -1
- package/dist/components/form-structure.js +1 -1
- package/dist/components/form-submit.js +1 -1
- package/dist/components/form-text-area.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
- package/dist/components/information-table.js +5 -0
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-1vy-Ba6r.js +5 -0
- package/dist/components/p-B6QhQCZi.js +5 -0
- package/dist/components/p-BDkK65_1.js +5 -0
- package/dist/components/p-BK16Cn81.js +5 -0
- package/dist/components/{p-c981ee34.js → p-BaJpYztb.js} +1 -1
- package/dist/components/p-C-4kx8qU.js +5 -0
- package/dist/components/p-C1F_f1WE.js +5 -0
- package/dist/components/p-CACnUI7c.js +5 -0
- package/dist/components/p-CDOvd2iD.js +5 -0
- package/dist/components/p-CGzOJT7g.js +5 -0
- package/dist/components/p-CINfIgzX.js +5 -0
- package/dist/components/p-CJpwqpuQ.js +5 -0
- package/dist/components/p-CK4E5G0i.js +5 -0
- package/dist/components/p-CUqXnLyM.js +5 -0
- package/dist/components/p-CjWDXQ_q.js +5 -0
- package/dist/components/p-Cl9ct-bZ.js +5 -0
- package/dist/components/p-CqGVdvFp.js +5 -0
- package/dist/components/p-D2bxjSGr.js +5 -0
- package/dist/components/p-D63WC2_Y.js +5 -0
- package/dist/components/p-D7yku_Qi.js +5 -0
- package/dist/components/p-DXHx6lre.js +5 -0
- package/dist/components/p-DXj5zsQK.js +5 -0
- package/dist/components/p-DsCtgcZn.js +5 -0
- package/dist/components/p-DxjQlmaz.js +5 -0
- package/dist/components/p-JtBlsz4j.js +5 -0
- package/dist/components/p-P3fAKtye.js +5 -0
- package/dist/components/p-nxlqujKv.js +5 -0
- package/dist/components/p-vvHN2Olh.js +5 -0
- package/dist/components/p-yQ70lKV2.js +5 -0
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
- package/dist/components/shift-accordion.js +5 -0
- package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
- package/dist/components/shift-slider.js +5 -0
- package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
- package/dist/components/shift-tab-content.js +5 -0
- package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
- package/dist/components/shift-tabs.js +5 -0
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-claimable-items.d.ts +11 -0
- package/dist/components/vehicle-claimable-items.js +5 -0
- package/dist/components/vehicle-item-claim-form.d.ts +11 -0
- package/dist/components/vehicle-item-claim-form.js +5 -0
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-paint-thickness.d.ts +11 -0
- package/dist/components/vehicle-paint-thickness.js +5 -0
- package/dist/components/vehicle-service-history.d.ts +11 -0
- package/dist/components/vehicle-service-history.js +5 -0
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.d.ts +11 -0
- package/dist/components/vehicle-warranty-details.js +5 -0
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/cn-BK16Cn81.js +2595 -0
- package/dist/esm/contact-us-form.entry.js +11 -20
- package/dist/esm/dead-stock-lookup_3.entry.js +15 -30
- package/dist/esm/flexible-container.entry.js +132 -0
- package/dist/esm/form-dialog_8.entry.js +44 -98
- package/dist/esm/{get-local-language-e286080a.js → get-local-language-BPo-xYwK.js} +339 -296
- package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
- package/dist/esm/information-table.entry.js +38 -0
- package/dist/esm/loader.js +3 -4
- package/dist/esm/loading-spinner.entry.js +6 -8
- package/dist/esm/part-lookup.entry.js +14 -19
- package/dist/esm/service-booking-form.entry.js +10 -19
- package/dist/esm/shift-accordion.entry.js +27 -0
- package/dist/esm/shift-components.js +5 -5
- package/dist/esm/shift-slider.entry.js +68 -0
- package/dist/esm/shift-tab-content_7.entry.js +1479 -0
- package/dist/esm/shift-tabs_2.entry.js +298 -0
- package/dist/esm/{type-dc3e60a4.js → type-CfLRnI1J.js} +10 -7
- package/dist/esm/{type-1d1a2052.js → type-D9Rd8Kcd.js} +5 -5
- package/dist/esm/{type-68307857.js → type-DHujxJVp.js} +32 -123
- package/dist/esm/vehicle-info-layout-D1bvY1nt.js +43 -0
- package/dist/esm/vehicle-lookup.entry.js +55 -43
- package/dist/esm/vin-extractor.entry.js +22 -30
- package/dist/locales/errors/ru.json +10 -10
- package/dist/locales/partLookup/deadStock/ru.json +3 -3
- package/dist/locales/partLookup/distributor/ru.json +14 -14
- package/dist/locales/partLookup/manufacturer/ar.json +3 -3
- package/dist/locales/partLookup/manufacturer/en.json +3 -3
- package/dist/locales/partLookup/manufacturer/ku.json +3 -3
- package/dist/locales/partLookup/manufacturer/ru.json +15 -15
- package/dist/locales/partLookup/manufacturer/type.ts +3 -3
- package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +6 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +4 -1
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +6 -3
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +10 -7
- package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +10 -7
- package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
- package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
- package/dist/locales/vehicleLookup/specification/ru.json +8 -8
- package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
- package/dist/locales/vehicleLookup/warranty/en.json +1 -0
- package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
- package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
- package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
- package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
- package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
- package/dist/shift-components/p-238f5df0.entry.js +5 -0
- package/dist/shift-components/p-389f444c.entry.js +5 -0
- package/dist/shift-components/p-5dd208de.entry.js +5 -0
- package/dist/shift-components/p-5f91eb5f.entry.js +5 -0
- package/dist/shift-components/p-76dd44e9.entry.js +5 -0
- package/dist/shift-components/p-9a51dae0.entry.js +5 -0
- package/dist/shift-components/p-BAMA88Mr.js +5 -0
- package/dist/shift-components/p-BK16Cn81.js +5 -0
- package/dist/shift-components/p-Br0JD1CD.js +5 -0
- package/dist/shift-components/p-CIU9c3pi.js +5 -0
- package/dist/shift-components/p-CikEOqe0.js +6 -0
- package/dist/shift-components/p-CuQ84qxe.js +5 -0
- package/dist/shift-components/p-DHb8KxaG.js +5 -0
- package/dist/shift-components/p-af44ca99.entry.js +5 -0
- package/dist/shift-components/p-b6497f63.entry.js +5 -0
- package/dist/shift-components/p-d0e6cd78.entry.js +5 -0
- package/dist/shift-components/p-f1225504.entry.js +5 -0
- package/dist/shift-components/p-f282c740.entry.js +5 -0
- package/dist/shift-components/p-faabbd23.entry.js +5 -0
- package/dist/shift-components/p-ff0fec09.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/card-content.d.ts +10 -0
- package/dist/types/components/components/flexible-container.d.ts +30 -0
- package/dist/types/components/components/information-table.d.ts +20 -0
- package/dist/types/components/components/material-card.d.ts +16 -0
- package/dist/types/components/components/shift-accordion.d.ts +13 -0
- package/dist/types/components/components/shift-slider.d.ts +11 -0
- package/dist/types/components/components/shift-tab-content.d.ts +12 -0
- package/dist/types/components/components/shift-tabs.d.ts +12 -0
- package/dist/types/components/components/vehicle-info-layout.d.ts +11 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +5 -5
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +5 -5
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +5 -5
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -5
- package/dist/types/components/vehicle-lookup/{dynamic-claim.d.ts → vehicle-claimable-items.d.ts} +31 -22
- package/dist/types/components/vehicle-lookup/{dynamic-redeem.d.ts → vehicle-item-claim-form.d.ts} +34 -10
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +20 -16
- package/dist/types/components/vehicle-lookup/{paint-thickness.d.ts → vehicle-paint-thickness.d.ts} +8 -6
- package/dist/types/components/vehicle-lookup/{service-history.d.ts → vehicle-service-history.d.ts} +7 -6
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -5
- package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +9 -8
- package/dist/types/components.d.ts +1060 -195
- package/dist/types/global/api/partInformation.d.ts +5 -5
- package/dist/types/global/api/vehicleInformation.d.ts +4 -4
- package/dist/types/global/lib/children-with-tag.d.ts +1 -0
- package/dist/types/global/lib/container-has-tag.d.ts +1 -0
- package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
- package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
- package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
- package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
- package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
- package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
- package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
- package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
- package/dist/types/locale-mapper.d.ts +2 -2
- package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
- package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
- package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
- package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +28 -16
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +52 -44
- package/dist/types/stencil-public-runtime.d.ts +23 -1
- package/package.json +10 -8
- package/LICENSE +0 -21
- package/dist/cjs/app-globals-4aa8f46f.js +0 -46
- package/dist/cjs/cn-f559f9e5.js +0 -2588
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
- package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
- package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
- package/dist/collection/global/types/vehicle-information.js +0 -5
- package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
- package/dist/components/dynamic-claim.js +0 -5
- package/dist/components/dynamic-redeem.js +0 -5
- package/dist/components/p-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-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/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/global/types/part-information.d.ts +0 -53
- package/dist/types/global/types/vehicle-information.d.ts +0 -182
- package/loader/package.json +0 -11
- package/readme.md +0 -15
- /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
- /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
- /package/dist/collection/global/types/{part-information.js → generated/part/branch-dead-stock-dto.js} +0 -0
- /package/dist/components/{p-00a27a58.js → p-B5YdqGVm.js} +0 -0
- /package/dist/components/{p-fab97ac7.js → p-BT4rhLRL.js} +0 -0
- /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
- /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
- /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
- /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
- /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
- /package/dist/shift-components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js}
RENAMED
|
@@ -3,26 +3,23 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
|
-
import cn from "../../global/lib/cn";
|
|
7
6
|
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../global/lib/get-local-language";
|
|
8
7
|
import { getVehicleInformation } from "../../global/api/vehicleInformation";
|
|
9
8
|
import ServiceHistorySchema from "../../locales/vehicleLookup/serviceHistory/type";
|
|
9
|
+
import { VehicleInfoLayout } from "../components/vehicle-info-layout";
|
|
10
10
|
let mockData = {};
|
|
11
|
-
export class
|
|
11
|
+
export class VehicleServiceHistory {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.baseUrl = '';
|
|
14
14
|
this.isDev = false;
|
|
15
15
|
this.queryString = '';
|
|
16
|
+
this.coreOnly = false;
|
|
16
17
|
this.language = 'en';
|
|
17
|
-
this.errorCallback = undefined;
|
|
18
|
-
this.loadingStateChange = undefined;
|
|
19
|
-
this.loadedResponse = undefined;
|
|
20
18
|
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
21
19
|
this.locale = ServiceHistorySchema.getDefault();
|
|
22
20
|
this.state = 'idle';
|
|
23
21
|
this.externalVin = null;
|
|
24
22
|
this.errorMessage = null;
|
|
25
|
-
this.vehicleInformation = undefined;
|
|
26
23
|
}
|
|
27
24
|
async componentWillLoad() {
|
|
28
25
|
await this.changeLanguage(this.language);
|
|
@@ -94,31 +91,61 @@ export class ServiceHistory {
|
|
|
94
91
|
mockData = newMockData;
|
|
95
92
|
}
|
|
96
93
|
render() {
|
|
97
|
-
var _a, _b
|
|
94
|
+
var _a, _b;
|
|
98
95
|
const texts = this.locale;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
96
|
+
const isLoading = this.state.includes('loading');
|
|
97
|
+
const isError = this.state.includes('error');
|
|
98
|
+
const tableHeaders = [
|
|
99
|
+
{
|
|
100
|
+
width: 400,
|
|
101
|
+
key: 'branchName',
|
|
102
|
+
label: texts.branch,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
width: 200,
|
|
106
|
+
key: 'companyName',
|
|
107
|
+
label: texts.dealer,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
width: 200,
|
|
111
|
+
key: 'invoiceNumber',
|
|
112
|
+
label: texts.invoiceNumber,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
width: 200,
|
|
116
|
+
key: 'serviceDate',
|
|
117
|
+
label: texts.date,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
width: 400,
|
|
121
|
+
key: 'serviceType',
|
|
122
|
+
label: texts.serviceType,
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
width: 200,
|
|
126
|
+
key: 'mileage',
|
|
127
|
+
label: texts.odometer,
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
return (h(Host, { key: '5eb3927b6b36c1c1fa5fa607891b55389253c7ce' }, h(VehicleInfoLayout, { key: 'fe8b1ee4b20765a16768765e082d10c329bdb58c', isError: isError, isLoading: isLoading, coreOnly: this.coreOnly, vin: (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin, direction: this.sharedLocales.direction, errorMessage: this.sharedLocales.errors[this.errorMessage] || this.sharedLocales.errors.wildCard }, h("div", { key: '4b8ced24df8852152a63c140ee585126679689cd', class: "overflow-x-auto" }, h("information-table", { key: '69d7209ace58e6c151085e898354acbc833edf4a', rows: ((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory) || [], headers: tableHeaders, isLoading: isLoading })))));
|
|
105
131
|
}
|
|
106
|
-
static get is() { return "service-history"; }
|
|
132
|
+
static get is() { return "vehicle-service-history"; }
|
|
107
133
|
static get encapsulation() { return "shadow"; }
|
|
108
134
|
static get originalStyleUrls() {
|
|
109
135
|
return {
|
|
110
|
-
"$": ["service-history.css"]
|
|
136
|
+
"$": ["vehicle-service-history.css"]
|
|
111
137
|
};
|
|
112
138
|
}
|
|
113
139
|
static get styleUrls() {
|
|
114
140
|
return {
|
|
115
|
-
"$": ["service-history.css"]
|
|
141
|
+
"$": ["vehicle-service-history.css"]
|
|
116
142
|
};
|
|
117
143
|
}
|
|
118
144
|
static get properties() {
|
|
119
145
|
return {
|
|
120
146
|
"baseUrl": {
|
|
121
147
|
"type": "string",
|
|
148
|
+
"attribute": "base-url",
|
|
122
149
|
"mutable": false,
|
|
123
150
|
"complexType": {
|
|
124
151
|
"original": "string",
|
|
@@ -131,12 +158,14 @@ export class ServiceHistory {
|
|
|
131
158
|
"tags": [],
|
|
132
159
|
"text": ""
|
|
133
160
|
},
|
|
134
|
-
"
|
|
161
|
+
"getter": false,
|
|
162
|
+
"setter": false,
|
|
135
163
|
"reflect": false,
|
|
136
164
|
"defaultValue": "''"
|
|
137
165
|
},
|
|
138
166
|
"isDev": {
|
|
139
167
|
"type": "boolean",
|
|
168
|
+
"attribute": "is-dev",
|
|
140
169
|
"mutable": false,
|
|
141
170
|
"complexType": {
|
|
142
171
|
"original": "boolean",
|
|
@@ -149,12 +178,14 @@ export class ServiceHistory {
|
|
|
149
178
|
"tags": [],
|
|
150
179
|
"text": ""
|
|
151
180
|
},
|
|
152
|
-
"
|
|
181
|
+
"getter": false,
|
|
182
|
+
"setter": false,
|
|
153
183
|
"reflect": false,
|
|
154
184
|
"defaultValue": "false"
|
|
155
185
|
},
|
|
156
186
|
"queryString": {
|
|
157
187
|
"type": "string",
|
|
188
|
+
"attribute": "query-string",
|
|
158
189
|
"mutable": false,
|
|
159
190
|
"complexType": {
|
|
160
191
|
"original": "string",
|
|
@@ -167,12 +198,34 @@ export class ServiceHistory {
|
|
|
167
198
|
"tags": [],
|
|
168
199
|
"text": ""
|
|
169
200
|
},
|
|
170
|
-
"
|
|
201
|
+
"getter": false,
|
|
202
|
+
"setter": false,
|
|
171
203
|
"reflect": false,
|
|
172
204
|
"defaultValue": "''"
|
|
173
205
|
},
|
|
206
|
+
"coreOnly": {
|
|
207
|
+
"type": "boolean",
|
|
208
|
+
"attribute": "core-only",
|
|
209
|
+
"mutable": false,
|
|
210
|
+
"complexType": {
|
|
211
|
+
"original": "boolean",
|
|
212
|
+
"resolved": "boolean",
|
|
213
|
+
"references": {}
|
|
214
|
+
},
|
|
215
|
+
"required": false,
|
|
216
|
+
"optional": false,
|
|
217
|
+
"docs": {
|
|
218
|
+
"tags": [],
|
|
219
|
+
"text": ""
|
|
220
|
+
},
|
|
221
|
+
"getter": false,
|
|
222
|
+
"setter": false,
|
|
223
|
+
"reflect": false,
|
|
224
|
+
"defaultValue": "false"
|
|
225
|
+
},
|
|
174
226
|
"language": {
|
|
175
227
|
"type": "string",
|
|
228
|
+
"attribute": "language",
|
|
176
229
|
"mutable": false,
|
|
177
230
|
"complexType": {
|
|
178
231
|
"original": "LanguageKeys",
|
|
@@ -191,12 +244,14 @@ export class ServiceHistory {
|
|
|
191
244
|
"tags": [],
|
|
192
245
|
"text": ""
|
|
193
246
|
},
|
|
194
|
-
"
|
|
247
|
+
"getter": false,
|
|
248
|
+
"setter": false,
|
|
195
249
|
"reflect": false,
|
|
196
250
|
"defaultValue": "'en'"
|
|
197
251
|
},
|
|
198
252
|
"errorCallback": {
|
|
199
253
|
"type": "unknown",
|
|
254
|
+
"attribute": "error-callback",
|
|
200
255
|
"mutable": false,
|
|
201
256
|
"complexType": {
|
|
202
257
|
"original": "(errorMessage: ErrorKeys) => void",
|
|
@@ -214,10 +269,13 @@ export class ServiceHistory {
|
|
|
214
269
|
"docs": {
|
|
215
270
|
"tags": [],
|
|
216
271
|
"text": ""
|
|
217
|
-
}
|
|
272
|
+
},
|
|
273
|
+
"getter": false,
|
|
274
|
+
"setter": false
|
|
218
275
|
},
|
|
219
276
|
"loadingStateChange": {
|
|
220
277
|
"type": "unknown",
|
|
278
|
+
"attribute": "loading-state-change",
|
|
221
279
|
"mutable": false,
|
|
222
280
|
"complexType": {
|
|
223
281
|
"original": "(isLoading: boolean) => void",
|
|
@@ -229,19 +287,22 @@ export class ServiceHistory {
|
|
|
229
287
|
"docs": {
|
|
230
288
|
"tags": [],
|
|
231
289
|
"text": ""
|
|
232
|
-
}
|
|
290
|
+
},
|
|
291
|
+
"getter": false,
|
|
292
|
+
"setter": false
|
|
233
293
|
},
|
|
234
294
|
"loadedResponse": {
|
|
235
295
|
"type": "unknown",
|
|
296
|
+
"attribute": "loaded-response",
|
|
236
297
|
"mutable": false,
|
|
237
298
|
"complexType": {
|
|
238
|
-
"original": "(response:
|
|
239
|
-
"resolved": "(response:
|
|
299
|
+
"original": "(response: VehicleLookupDTO) => void",
|
|
300
|
+
"resolved": "(response: VehicleLookupDTO) => void",
|
|
240
301
|
"references": {
|
|
241
|
-
"
|
|
302
|
+
"VehicleLookupDTO": {
|
|
242
303
|
"location": "import",
|
|
243
|
-
"path": "~types/vehicle-
|
|
244
|
-
"id": "src/global/types/vehicle-
|
|
304
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
305
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
245
306
|
}
|
|
246
307
|
}
|
|
247
308
|
},
|
|
@@ -250,7 +311,9 @@ export class ServiceHistory {
|
|
|
250
311
|
"docs": {
|
|
251
312
|
"tags": [],
|
|
252
313
|
"text": ""
|
|
253
|
-
}
|
|
314
|
+
},
|
|
315
|
+
"getter": false,
|
|
316
|
+
"setter": false
|
|
254
317
|
}
|
|
255
318
|
};
|
|
256
319
|
}
|
|
@@ -268,10 +331,10 @@ export class ServiceHistory {
|
|
|
268
331
|
return {
|
|
269
332
|
"setData": {
|
|
270
333
|
"complexType": {
|
|
271
|
-
"signature": "(newData:
|
|
334
|
+
"signature": "(newData: VehicleLookupDTO | string, headers?: any) => Promise<void>",
|
|
272
335
|
"parameters": [{
|
|
273
336
|
"name": "newData",
|
|
274
|
-
"type": "string |
|
|
337
|
+
"type": "string | VehicleLookupDTO",
|
|
275
338
|
"docs": ""
|
|
276
339
|
}, {
|
|
277
340
|
"name": "headers",
|
|
@@ -283,10 +346,10 @@ export class ServiceHistory {
|
|
|
283
346
|
"location": "global",
|
|
284
347
|
"id": "global::Promise"
|
|
285
348
|
},
|
|
286
|
-
"
|
|
349
|
+
"VehicleLookupDTO": {
|
|
287
350
|
"location": "import",
|
|
288
|
-
"path": "~types/vehicle-
|
|
289
|
-
"id": "src/global/types/vehicle-
|
|
351
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
352
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
290
353
|
},
|
|
291
354
|
"ReturnType": {
|
|
292
355
|
"location": "global",
|
|
@@ -353,10 +416,10 @@ export class ServiceHistory {
|
|
|
353
416
|
},
|
|
354
417
|
"setMockData": {
|
|
355
418
|
"complexType": {
|
|
356
|
-
"signature": "(newMockData: MockJson<
|
|
419
|
+
"signature": "(newMockData: MockJson<VehicleLookupDTO>) => Promise<void>",
|
|
357
420
|
"parameters": [{
|
|
358
421
|
"name": "newMockData",
|
|
359
|
-
"type": "{ [key: string]:
|
|
422
|
+
"type": "{ [key: string]: VehicleLookupDTO; }",
|
|
360
423
|
"docs": ""
|
|
361
424
|
}],
|
|
362
425
|
"references": {
|
|
@@ -369,10 +432,10 @@ export class ServiceHistory {
|
|
|
369
432
|
"path": "~types/components",
|
|
370
433
|
"id": "src/global/types/components.ts::MockJson"
|
|
371
434
|
},
|
|
372
|
-
"
|
|
435
|
+
"VehicleLookupDTO": {
|
|
373
436
|
"location": "import",
|
|
374
|
-
"path": "~types/vehicle-
|
|
375
|
-
"id": "src/global/types/vehicle-
|
|
437
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
438
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
376
439
|
}
|
|
377
440
|
},
|
|
378
441
|
"return": "Promise<void>"
|
|
@@ -1 +1,3 @@
|
|
|
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: }
|
|
1
|
+
@tailwind base;@tailwind utilities;@tailwind components;.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}}*,: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: }
|
|
2
|
+
|
|
3
|
+
/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.invisible{visibility:hidden}.absolute{position:absolute}.\!relative{position:relative!important}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.block{display:block}.flex{display:flex}.h-\[54px\]{height:54px}.origin-left{transform-origin:left}.scale-\[1\.5\]{--tw-scale-x:1.5;--tw-scale-y:1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.\!overflow-hidden{overflow:hidden!important}.overflow-hidden{overflow:hidden}.\!rounded-\[4px\]{border-radius:4px!important}.rounded-\[5px\]{border-radius:5px}.border{border-width:1px}.border-\[\#dcdcdc\]{--tw-border-opacity:1;border-color:rgb(220 220 220/var(--tw-border-opacity,1))}.border-\[\#ededed\]{--tw-border-opacity:1;border-color:rgb(237 237 237/var(--tw-border-opacity,1))}.bg-\[\#f6f6f6\]{--tw-bg-opacity:1;background-color:rgb(246 246 246/var(--tw-bg-opacity,1))}.bg-\[\#fdfdfd\]{--tw-bg-opacity:1;background-color:rgb(253 253 253/var(--tw-bg-opacity,1))}.p-0{padding:0}.text-center{text-align:center}.text-\[16px\]{font-size:16px}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-\[inset_0_1px_3px_rgba\(0\2c 0\2c 0\2c 0\.05\)\2c 0_1px_0_rgba\(255\2c 255\2c 255\2c 0\.1\)\]{--tw-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);--tw-shadow-colored:inset 0 1px 3px var(--tw-shadow-color),0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-\[0\.4s\]{transition-duration:.4s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.vehicle-info-container{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);--tw-shadow-colored:inset 0 1px 3px var(--tw-shadow-color),0 1px 0 var(--tw-shadow-color);background-color:rgb(253 253 253/var(--tw-bg-opacity,1));border-color:rgb(220 220 220/var(--tw-border-opacity,1));border-radius:5px;border-width:1px;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);overflow:hidden;padding:0;position:relative;transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#f6f6f6;border-radius:5px;border-top:1px solid #dcdcdc;border-top-left-radius:0;border-top-right-radius:0}::-webkit-scrollbar-thumb{background:#c5c5c5;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.hide-scroll ::-webkit-scrollbar-thumb,.hide-scroll::-webkit-scrollbar-thumb,.loading ::-webkit-scrollbar-thumb{background:transparent}.vehicle-info-body{display:flex;flex-direction:column;overflow:hidden;position:relative;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vehicle-info-content{transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%}.vehicle-info-header{--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(246 246 246/var(--tw-bg-opacity,1));border-color:rgb(237 237 237/var(--tw-border-opacity,1));border-width:1px;display:flex;height:54px;justify-content:center;text-align:center}.vehicle-info-header-vin{display:inline-block;font-size:16px;transition-duration:.15s;transition-duration:.4s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.vehicle-info-header-vin span{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.loading .vehicle-info-header-vin{--tw-scale-x:1.5;--tw-scale-y:1.5;opacity:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));visibility:hidden}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.h-\[200px\]{height:200px}.w-full{width:100%}.text-\[26px\]{font-size:26px}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.z-40{z-index:40}.float-right{float:right}.mx-auto{margin-left:auto;margin-right:auto}.mr-\[16px\]{margin-right:16px}.mt-\[16px\]{margin-top:16px}.size-12{height:3rem;width:3rem}.size-full{height:100%;width:100%}.h-1{height:.25rem}.h-\[100dvh\]{height:100dvh}.h-\[150px\]{height:150px}.w-12{width:3rem}.w-\[100dvw\]{width:100dvw}.w-\[84px\]{width:84px}.w-fit{width:fit-content}.max-w-full{max-width:100%}.shrink-0{flex-shrink:0}.-rotate-45{--tw-rotate:-45deg}.-rotate-45,.rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg}.cursor-pointer{cursor:pointer}.flex-wrap{flex-wrap:wrap}.gap-\[16px\]{gap:16px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.overflow-x-auto{overflow-x:auto}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border-b{border-bottom-width:1px}.bg-black\/40{background-color:rgba(0,0,0,.4)}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-\[12px\]{padding:12px}.p-\[6px\]{padding:6px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.font-semibold{font-weight:600}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.delay-200{transition-delay:.2s}.hover\:opacity-100:hover{opacity:1}.\[\&_div\]\:hover\:\!opacity-100:hover div{opacity:1!important}.\[\&_img\]\:hover\:shadow-lg:hover img{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-2{margin-bottom:.5rem;margin-top:.5rem}.hidden{display:none}.grow{flex-grow:1}.items-stretch{align-items:stretch}.overflow-auto{overflow:auto}.p-\[16px\]{padding:16px}@media (min-width:768px){.md\:justify-between{justify-content:space-between}}.\[\&\>div\]\:grow>div{flex-grow:1}.mt-\[32px\]{margin-top:32px}.h-\[25px\]{height:25px}.h-\[50px\]{height:50px}.h-\[8px\]{height:8px}.px-\[16px\]{padding-left:16px;padding-right:16px}.pt-\[16px\]{padding-top:16px}.pt-\[40px\]{padding-top:40px}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}
|
|
@@ -3,26 +3,24 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { Host, h } from "@stencil/core";
|
|
6
|
-
import cn from "../../global/lib/cn";
|
|
7
6
|
import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../global/lib/get-local-language";
|
|
8
7
|
import { getVehicleInformation } from "../../global/api/vehicleInformation";
|
|
9
8
|
import specificationSchema from "../../locales/vehicleLookup/specification/type";
|
|
9
|
+
import { VehicleInfoLayout } from "../components/vehicle-info-layout";
|
|
10
|
+
import { MaterialCard, MaterialCardChildren } from "../components/material-card";
|
|
10
11
|
let mockData = {};
|
|
11
12
|
export class VehicleSpecification {
|
|
12
13
|
constructor() {
|
|
13
14
|
this.baseUrl = '';
|
|
14
15
|
this.isDev = false;
|
|
15
16
|
this.queryString = '';
|
|
17
|
+
this.coreOnly = false;
|
|
16
18
|
this.language = 'en';
|
|
17
|
-
this.errorCallback = undefined;
|
|
18
|
-
this.loadingStateChange = undefined;
|
|
19
|
-
this.loadedResponse = undefined;
|
|
20
19
|
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
21
20
|
this.locale = specificationSchema.getDefault();
|
|
22
21
|
this.state = 'idle';
|
|
23
22
|
this.externalVin = null;
|
|
24
23
|
this.errorMessage = null;
|
|
25
|
-
this.vehicleInformation = undefined;
|
|
26
24
|
}
|
|
27
25
|
async componentWillLoad() {
|
|
28
26
|
await this.changeLanguage(this.language);
|
|
@@ -89,7 +87,7 @@ export class VehicleSpecification {
|
|
|
89
87
|
mockData = newMockData;
|
|
90
88
|
}
|
|
91
89
|
render() {
|
|
92
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
90
|
+
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
91
|
const texts = this.locale;
|
|
94
92
|
let productionDate = null;
|
|
95
93
|
try {
|
|
@@ -104,16 +102,9 @@ export class VehicleSpecification {
|
|
|
104
102
|
catch (error) {
|
|
105
103
|
productionDate = null;
|
|
106
104
|
}
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
})))))))))))));
|
|
105
|
+
const isLoading = this.state.includes('loading');
|
|
106
|
+
const isError = this.state.includes('error');
|
|
107
|
+
return (h(Host, { key: '863b3f6d3ed1c3ea0dfefc3887077e385d0d7d71' }, h(VehicleInfoLayout, { key: 'f38e7f4b6af4450669dfa1492c1cdf8a3f2dda51', isError: isError, isLoading: isLoading, coreOnly: this.coreOnly, vin: (_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.vin, direction: this.sharedLocales.direction, errorMessage: this.sharedLocales.errors[this.errorMessage] || this.sharedLocales.errors.wildCard }, h("flexible-container", { key: '611abb8a37f1f9944a98e96385873f278ec3c704' }, h("div", { key: 'cd8625253b8e5e74957ce17ae330c156f2731808', class: "flex p-[16px] [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, h(MaterialCard, { key: 'ee0be608d2f2ce20b788cc7722d22c715b74ecf5', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.model, minWidth: "300px" }, h(MaterialCardChildren, { key: 'f854b24d7569b8f0665ef75d56902c14ae83d130', class: "text-center", hidden: !((_h = (_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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.vehicleInformation) === 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.vehicleInformation) === 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: 'd7a1ac0fe1dd88df25aa0be22d10c6c51b448007', class: "my-2" }), ((_s = (_r = (_q = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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: '1765b30393fb3eacf790ed58e8f8ab397a351f7d', class: "grow", title: texts === null || texts === void 0 ? void 0 : texts.variant, minWidth: "300px" }, h(MaterialCardChildren, { key: '3c6fe5b2d6f0a450136e5da3494e39459a18de2b', class: "text-center", hidden: !((_v = (_u = (_t = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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.vehicleInformation) === 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.vehicleInformation) === 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: '79ed2de9b07475871a451de5383cba964da9e01a' }), ((_4 = (_3 = (_2 = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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: 'e3102ca4529a36e3362a6ae19cff1ae60084c7c1', desc: ((_7 = (_6 = (_5 = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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: '0c0040ce51cb6918b64552037ef53a7700090b5a', desc: ((_11 = (_10 = (_9 = (_8 = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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: 'a12d374ebd194ea4da8ff52aacd07f9d089a8aef', desc: !!productionDate ? productionDate : '...', title: texts === null || texts === void 0 ? void 0 : texts.productionDate, minWidth: "250px" }), h(MaterialCard, { key: 'f45f31b5b372a500de26763e29999f886ca88a81', desc: ((_14 = (_13 = (_12 = this === null || this === void 0 ? void 0 : this.vehicleInformation) === 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
108
|
}
|
|
118
109
|
static get is() { return "vehicle-specification"; }
|
|
119
110
|
static get encapsulation() { return "shadow"; }
|
|
@@ -131,6 +122,7 @@ export class VehicleSpecification {
|
|
|
131
122
|
return {
|
|
132
123
|
"baseUrl": {
|
|
133
124
|
"type": "string",
|
|
125
|
+
"attribute": "base-url",
|
|
134
126
|
"mutable": false,
|
|
135
127
|
"complexType": {
|
|
136
128
|
"original": "string",
|
|
@@ -143,12 +135,14 @@ export class VehicleSpecification {
|
|
|
143
135
|
"tags": [],
|
|
144
136
|
"text": ""
|
|
145
137
|
},
|
|
146
|
-
"
|
|
138
|
+
"getter": false,
|
|
139
|
+
"setter": false,
|
|
147
140
|
"reflect": false,
|
|
148
141
|
"defaultValue": "''"
|
|
149
142
|
},
|
|
150
143
|
"isDev": {
|
|
151
144
|
"type": "boolean",
|
|
145
|
+
"attribute": "is-dev",
|
|
152
146
|
"mutable": false,
|
|
153
147
|
"complexType": {
|
|
154
148
|
"original": "boolean",
|
|
@@ -161,12 +155,14 @@ export class VehicleSpecification {
|
|
|
161
155
|
"tags": [],
|
|
162
156
|
"text": ""
|
|
163
157
|
},
|
|
164
|
-
"
|
|
158
|
+
"getter": false,
|
|
159
|
+
"setter": false,
|
|
165
160
|
"reflect": false,
|
|
166
161
|
"defaultValue": "false"
|
|
167
162
|
},
|
|
168
163
|
"queryString": {
|
|
169
164
|
"type": "string",
|
|
165
|
+
"attribute": "query-string",
|
|
170
166
|
"mutable": false,
|
|
171
167
|
"complexType": {
|
|
172
168
|
"original": "string",
|
|
@@ -179,12 +175,34 @@ export class VehicleSpecification {
|
|
|
179
175
|
"tags": [],
|
|
180
176
|
"text": ""
|
|
181
177
|
},
|
|
182
|
-
"
|
|
178
|
+
"getter": false,
|
|
179
|
+
"setter": false,
|
|
183
180
|
"reflect": false,
|
|
184
181
|
"defaultValue": "''"
|
|
185
182
|
},
|
|
183
|
+
"coreOnly": {
|
|
184
|
+
"type": "boolean",
|
|
185
|
+
"attribute": "core-only",
|
|
186
|
+
"mutable": false,
|
|
187
|
+
"complexType": {
|
|
188
|
+
"original": "boolean",
|
|
189
|
+
"resolved": "boolean",
|
|
190
|
+
"references": {}
|
|
191
|
+
},
|
|
192
|
+
"required": false,
|
|
193
|
+
"optional": false,
|
|
194
|
+
"docs": {
|
|
195
|
+
"tags": [],
|
|
196
|
+
"text": ""
|
|
197
|
+
},
|
|
198
|
+
"getter": false,
|
|
199
|
+
"setter": false,
|
|
200
|
+
"reflect": false,
|
|
201
|
+
"defaultValue": "false"
|
|
202
|
+
},
|
|
186
203
|
"language": {
|
|
187
204
|
"type": "string",
|
|
205
|
+
"attribute": "language",
|
|
188
206
|
"mutable": false,
|
|
189
207
|
"complexType": {
|
|
190
208
|
"original": "LanguageKeys",
|
|
@@ -203,12 +221,14 @@ export class VehicleSpecification {
|
|
|
203
221
|
"tags": [],
|
|
204
222
|
"text": ""
|
|
205
223
|
},
|
|
206
|
-
"
|
|
224
|
+
"getter": false,
|
|
225
|
+
"setter": false,
|
|
207
226
|
"reflect": false,
|
|
208
227
|
"defaultValue": "'en'"
|
|
209
228
|
},
|
|
210
229
|
"errorCallback": {
|
|
211
230
|
"type": "unknown",
|
|
231
|
+
"attribute": "error-callback",
|
|
212
232
|
"mutable": false,
|
|
213
233
|
"complexType": {
|
|
214
234
|
"original": "(errorMessage: ErrorKeys) => void",
|
|
@@ -226,10 +246,13 @@ export class VehicleSpecification {
|
|
|
226
246
|
"docs": {
|
|
227
247
|
"tags": [],
|
|
228
248
|
"text": ""
|
|
229
|
-
}
|
|
249
|
+
},
|
|
250
|
+
"getter": false,
|
|
251
|
+
"setter": false
|
|
230
252
|
},
|
|
231
253
|
"loadingStateChange": {
|
|
232
254
|
"type": "unknown",
|
|
255
|
+
"attribute": "loading-state-change",
|
|
233
256
|
"mutable": false,
|
|
234
257
|
"complexType": {
|
|
235
258
|
"original": "(isLoading: boolean) => void",
|
|
@@ -241,19 +264,22 @@ export class VehicleSpecification {
|
|
|
241
264
|
"docs": {
|
|
242
265
|
"tags": [],
|
|
243
266
|
"text": ""
|
|
244
|
-
}
|
|
267
|
+
},
|
|
268
|
+
"getter": false,
|
|
269
|
+
"setter": false
|
|
245
270
|
},
|
|
246
271
|
"loadedResponse": {
|
|
247
272
|
"type": "unknown",
|
|
273
|
+
"attribute": "loaded-response",
|
|
248
274
|
"mutable": false,
|
|
249
275
|
"complexType": {
|
|
250
|
-
"original": "(response:
|
|
251
|
-
"resolved": "(response:
|
|
276
|
+
"original": "(response: VehicleLookupDTO) => void",
|
|
277
|
+
"resolved": "(response: VehicleLookupDTO) => void",
|
|
252
278
|
"references": {
|
|
253
|
-
"
|
|
279
|
+
"VehicleLookupDTO": {
|
|
254
280
|
"location": "import",
|
|
255
|
-
"path": "~types/vehicle-
|
|
256
|
-
"id": "src/global/types/vehicle-
|
|
281
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
282
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
257
283
|
}
|
|
258
284
|
}
|
|
259
285
|
},
|
|
@@ -262,7 +288,9 @@ export class VehicleSpecification {
|
|
|
262
288
|
"docs": {
|
|
263
289
|
"tags": [],
|
|
264
290
|
"text": ""
|
|
265
|
-
}
|
|
291
|
+
},
|
|
292
|
+
"getter": false,
|
|
293
|
+
"setter": false
|
|
266
294
|
}
|
|
267
295
|
};
|
|
268
296
|
}
|
|
@@ -280,10 +308,10 @@ export class VehicleSpecification {
|
|
|
280
308
|
return {
|
|
281
309
|
"setData": {
|
|
282
310
|
"complexType": {
|
|
283
|
-
"signature": "(newData:
|
|
311
|
+
"signature": "(newData: VehicleLookupDTO | string, headers?: any) => Promise<void>",
|
|
284
312
|
"parameters": [{
|
|
285
313
|
"name": "newData",
|
|
286
|
-
"type": "string |
|
|
314
|
+
"type": "string | VehicleLookupDTO",
|
|
287
315
|
"docs": ""
|
|
288
316
|
}, {
|
|
289
317
|
"name": "headers",
|
|
@@ -295,10 +323,10 @@ export class VehicleSpecification {
|
|
|
295
323
|
"location": "global",
|
|
296
324
|
"id": "global::Promise"
|
|
297
325
|
},
|
|
298
|
-
"
|
|
326
|
+
"VehicleLookupDTO": {
|
|
299
327
|
"location": "import",
|
|
300
|
-
"path": "~types/vehicle-
|
|
301
|
-
"id": "src/global/types/vehicle-
|
|
328
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
329
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
302
330
|
},
|
|
303
331
|
"ReturnType": {
|
|
304
332
|
"location": "global",
|
|
@@ -365,10 +393,10 @@ export class VehicleSpecification {
|
|
|
365
393
|
},
|
|
366
394
|
"setMockData": {
|
|
367
395
|
"complexType": {
|
|
368
|
-
"signature": "(newMockData: MockJson<
|
|
396
|
+
"signature": "(newMockData: MockJson<VehicleLookupDTO>) => Promise<void>",
|
|
369
397
|
"parameters": [{
|
|
370
398
|
"name": "newMockData",
|
|
371
|
-
"type": "{ [key: string]:
|
|
399
|
+
"type": "{ [key: string]: VehicleLookupDTO; }",
|
|
372
400
|
"docs": ""
|
|
373
401
|
}],
|
|
374
402
|
"references": {
|
|
@@ -381,10 +409,10 @@ export class VehicleSpecification {
|
|
|
381
409
|
"path": "~types/components",
|
|
382
410
|
"id": "src/global/types/components.ts::MockJson"
|
|
383
411
|
},
|
|
384
|
-
"
|
|
412
|
+
"VehicleLookupDTO": {
|
|
385
413
|
"location": "import",
|
|
386
|
-
"path": "~types/vehicle-
|
|
387
|
-
"id": "src/global/types/vehicle-
|
|
414
|
+
"path": "~types/generated/vehicle-lookup/vehicle-lookup-dto",
|
|
415
|
+
"id": "src/global/types/generated/vehicle-lookup/vehicle-lookup-dto.ts::VehicleLookupDTO"
|
|
388
416
|
}
|
|
389
417
|
},
|
|
390
418
|
"return": "Promise<void>"
|