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
|
@@ -10,21 +10,13 @@ import themes from "./contact-us/themes.json";
|
|
|
10
10
|
import { contactUsElements } from "./contact-us/element-mapper";
|
|
11
11
|
export class ContactUsForm {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.recaptchaWidget = null;
|
|
14
|
-
this.form = new FormHook(this, contactUsSchema);
|
|
15
|
-
this.theme = undefined;
|
|
16
|
-
this.baseUrl = undefined;
|
|
17
|
-
this.brandId = undefined;
|
|
18
13
|
this.queryString = '';
|
|
19
14
|
this.language = 'en';
|
|
20
15
|
this.structure = '["submit.Submit"]';
|
|
21
16
|
this.recaptchaKey = '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA';
|
|
22
|
-
this.errorCallback = undefined;
|
|
23
|
-
this.successCallback = undefined;
|
|
24
|
-
this.loadingChanges = undefined;
|
|
25
|
-
this.isLoading = undefined;
|
|
26
17
|
this.renderControl = {};
|
|
27
|
-
this.
|
|
18
|
+
this.recaptchaWidget = null;
|
|
19
|
+
this.form = new FormHook(this, contactUsSchema);
|
|
28
20
|
}
|
|
29
21
|
async componentDidLoad() {
|
|
30
22
|
try {
|
|
@@ -76,9 +68,9 @@ export class ContactUsForm {
|
|
|
76
68
|
}
|
|
77
69
|
}
|
|
78
70
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '1884a7df751cf38d35ff7bb458da4cacb8ba4718', class: cn({
|
|
80
72
|
[`contact-us-${this.theme}`]: this.theme,
|
|
81
|
-
}) }, h("form-structure", { key: '
|
|
73
|
+
}) }, h("form-structure", { key: 'af6fa00de3a6149ff98cd1578e4684b6b9762862', themes: themes, form: this.form, theme: this.theme, language: this.language, isLoading: this.isLoading, errorMessage: this.errorMessage, renderControl: this.renderControl, formElementMapper: contactUsElements }, h("slot", { key: '293f206ca8a13e2276d9a52739967c775b8878e5' }))));
|
|
82
74
|
}
|
|
83
75
|
static get is() { return "contact-us-form"; }
|
|
84
76
|
static get originalStyleUrls() {
|
|
@@ -95,6 +87,7 @@ export class ContactUsForm {
|
|
|
95
87
|
return {
|
|
96
88
|
"theme": {
|
|
97
89
|
"type": "string",
|
|
90
|
+
"attribute": "theme",
|
|
98
91
|
"mutable": false,
|
|
99
92
|
"complexType": {
|
|
100
93
|
"original": "string",
|
|
@@ -107,11 +100,13 @@ export class ContactUsForm {
|
|
|
107
100
|
"tags": [],
|
|
108
101
|
"text": ""
|
|
109
102
|
},
|
|
110
|
-
"
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
111
105
|
"reflect": false
|
|
112
106
|
},
|
|
113
107
|
"baseUrl": {
|
|
114
108
|
"type": "string",
|
|
109
|
+
"attribute": "base-url",
|
|
115
110
|
"mutable": false,
|
|
116
111
|
"complexType": {
|
|
117
112
|
"original": "string",
|
|
@@ -124,11 +119,13 @@ export class ContactUsForm {
|
|
|
124
119
|
"tags": [],
|
|
125
120
|
"text": ""
|
|
126
121
|
},
|
|
127
|
-
"
|
|
122
|
+
"getter": false,
|
|
123
|
+
"setter": false,
|
|
128
124
|
"reflect": false
|
|
129
125
|
},
|
|
130
126
|
"brandId": {
|
|
131
127
|
"type": "string",
|
|
128
|
+
"attribute": "brand-id",
|
|
132
129
|
"mutable": false,
|
|
133
130
|
"complexType": {
|
|
134
131
|
"original": "string",
|
|
@@ -141,11 +138,13 @@ export class ContactUsForm {
|
|
|
141
138
|
"tags": [],
|
|
142
139
|
"text": ""
|
|
143
140
|
},
|
|
144
|
-
"
|
|
141
|
+
"getter": false,
|
|
142
|
+
"setter": false,
|
|
145
143
|
"reflect": false
|
|
146
144
|
},
|
|
147
145
|
"queryString": {
|
|
148
146
|
"type": "string",
|
|
147
|
+
"attribute": "query-string",
|
|
149
148
|
"mutable": false,
|
|
150
149
|
"complexType": {
|
|
151
150
|
"original": "string",
|
|
@@ -158,12 +157,14 @@ export class ContactUsForm {
|
|
|
158
157
|
"tags": [],
|
|
159
158
|
"text": ""
|
|
160
159
|
},
|
|
161
|
-
"
|
|
160
|
+
"getter": false,
|
|
161
|
+
"setter": false,
|
|
162
162
|
"reflect": false,
|
|
163
163
|
"defaultValue": "''"
|
|
164
164
|
},
|
|
165
165
|
"language": {
|
|
166
166
|
"type": "string",
|
|
167
|
+
"attribute": "language",
|
|
167
168
|
"mutable": false,
|
|
168
169
|
"complexType": {
|
|
169
170
|
"original": "LanguageKeys",
|
|
@@ -182,12 +183,14 @@ export class ContactUsForm {
|
|
|
182
183
|
"tags": [],
|
|
183
184
|
"text": ""
|
|
184
185
|
},
|
|
185
|
-
"
|
|
186
|
+
"getter": false,
|
|
187
|
+
"setter": false,
|
|
186
188
|
"reflect": false,
|
|
187
189
|
"defaultValue": "'en'"
|
|
188
190
|
},
|
|
189
191
|
"structure": {
|
|
190
192
|
"type": "string",
|
|
193
|
+
"attribute": "structure",
|
|
191
194
|
"mutable": false,
|
|
192
195
|
"complexType": {
|
|
193
196
|
"original": "string",
|
|
@@ -200,12 +203,14 @@ export class ContactUsForm {
|
|
|
200
203
|
"tags": [],
|
|
201
204
|
"text": ""
|
|
202
205
|
},
|
|
203
|
-
"
|
|
206
|
+
"getter": false,
|
|
207
|
+
"setter": false,
|
|
204
208
|
"reflect": false,
|
|
205
209
|
"defaultValue": "'[\"submit.Submit\"]'"
|
|
206
210
|
},
|
|
207
211
|
"recaptchaKey": {
|
|
208
212
|
"type": "string",
|
|
213
|
+
"attribute": "recaptcha-key",
|
|
209
214
|
"mutable": false,
|
|
210
215
|
"complexType": {
|
|
211
216
|
"original": "string",
|
|
@@ -218,12 +223,14 @@ export class ContactUsForm {
|
|
|
218
223
|
"tags": [],
|
|
219
224
|
"text": ""
|
|
220
225
|
},
|
|
221
|
-
"
|
|
226
|
+
"getter": false,
|
|
227
|
+
"setter": false,
|
|
222
228
|
"reflect": false,
|
|
223
229
|
"defaultValue": "'6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'"
|
|
224
230
|
},
|
|
225
231
|
"errorCallback": {
|
|
226
232
|
"type": "unknown",
|
|
233
|
+
"attribute": "error-callback",
|
|
227
234
|
"mutable": false,
|
|
228
235
|
"complexType": {
|
|
229
236
|
"original": "(error: any) => void",
|
|
@@ -235,10 +242,13 @@ export class ContactUsForm {
|
|
|
235
242
|
"docs": {
|
|
236
243
|
"tags": [],
|
|
237
244
|
"text": ""
|
|
238
|
-
}
|
|
245
|
+
},
|
|
246
|
+
"getter": false,
|
|
247
|
+
"setter": false
|
|
239
248
|
},
|
|
240
249
|
"successCallback": {
|
|
241
250
|
"type": "unknown",
|
|
251
|
+
"attribute": "success-callback",
|
|
242
252
|
"mutable": false,
|
|
243
253
|
"complexType": {
|
|
244
254
|
"original": "(values: any) => void",
|
|
@@ -250,10 +260,13 @@ export class ContactUsForm {
|
|
|
250
260
|
"docs": {
|
|
251
261
|
"tags": [],
|
|
252
262
|
"text": ""
|
|
253
|
-
}
|
|
263
|
+
},
|
|
264
|
+
"getter": false,
|
|
265
|
+
"setter": false
|
|
254
266
|
},
|
|
255
267
|
"loadingChanges": {
|
|
256
268
|
"type": "unknown",
|
|
269
|
+
"attribute": "loading-changes",
|
|
257
270
|
"mutable": false,
|
|
258
271
|
"complexType": {
|
|
259
272
|
"original": "(loading: boolean) => void",
|
|
@@ -265,7 +278,9 @@ export class ContactUsForm {
|
|
|
265
278
|
"docs": {
|
|
266
279
|
"tags": [],
|
|
267
280
|
"text": ""
|
|
268
|
-
}
|
|
281
|
+
},
|
|
282
|
+
"getter": false,
|
|
283
|
+
"setter": false
|
|
269
284
|
}
|
|
270
285
|
};
|
|
271
286
|
}
|
|
@@ -10,21 +10,13 @@ import themes from "./service-booking/themes.json";
|
|
|
10
10
|
import { contactUsElements } from "./service-booking/element-mapper";
|
|
11
11
|
export class ContactUsForm {
|
|
12
12
|
constructor() {
|
|
13
|
-
this.recaptchaWidget = null;
|
|
14
|
-
this.form = new FormHook(this, contactUsSchema);
|
|
15
|
-
this.theme = undefined;
|
|
16
|
-
this.baseUrl = undefined;
|
|
17
|
-
this.brandId = undefined;
|
|
18
13
|
this.queryString = '';
|
|
19
14
|
this.language = 'en';
|
|
20
15
|
this.structure = '["submit.Submit"]';
|
|
21
16
|
this.recaptchaKey = '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA';
|
|
22
|
-
this.errorCallback = undefined;
|
|
23
|
-
this.successCallback = undefined;
|
|
24
|
-
this.loadingChanges = undefined;
|
|
25
|
-
this.isLoading = undefined;
|
|
26
17
|
this.renderControl = {};
|
|
27
|
-
this.
|
|
18
|
+
this.recaptchaWidget = null;
|
|
19
|
+
this.form = new FormHook(this, contactUsSchema);
|
|
28
20
|
}
|
|
29
21
|
async componentDidLoad() {
|
|
30
22
|
try {
|
|
@@ -76,9 +68,9 @@ export class ContactUsForm {
|
|
|
76
68
|
}
|
|
77
69
|
}
|
|
78
70
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '292c9ec06fece64eb628ad95e2f0e3d0cc3b4f97', class: cn({
|
|
80
72
|
[`contact-us-${this.theme}`]: this.theme,
|
|
81
|
-
}) }, h("form-structure", { key: '
|
|
73
|
+
}) }, h("form-structure", { key: 'a5199f4514b7f0b7d977fd1b291e18f48e33bb55', themes: themes, form: this.form, theme: this.theme, language: this.language, isLoading: this.isLoading, errorMessage: this.errorMessage, renderControl: this.renderControl, formElementMapper: contactUsElements }, h("slot", { key: 'e7a6ab6f3364542be19c8b005c85b9b61481e75c' }))));
|
|
82
74
|
}
|
|
83
75
|
static get is() { return "service-booking-form"; }
|
|
84
76
|
static get originalStyleUrls() {
|
|
@@ -95,6 +87,7 @@ export class ContactUsForm {
|
|
|
95
87
|
return {
|
|
96
88
|
"theme": {
|
|
97
89
|
"type": "string",
|
|
90
|
+
"attribute": "theme",
|
|
98
91
|
"mutable": false,
|
|
99
92
|
"complexType": {
|
|
100
93
|
"original": "string",
|
|
@@ -107,11 +100,13 @@ export class ContactUsForm {
|
|
|
107
100
|
"tags": [],
|
|
108
101
|
"text": ""
|
|
109
102
|
},
|
|
110
|
-
"
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false,
|
|
111
105
|
"reflect": false
|
|
112
106
|
},
|
|
113
107
|
"baseUrl": {
|
|
114
108
|
"type": "string",
|
|
109
|
+
"attribute": "base-url",
|
|
115
110
|
"mutable": false,
|
|
116
111
|
"complexType": {
|
|
117
112
|
"original": "string",
|
|
@@ -124,11 +119,13 @@ export class ContactUsForm {
|
|
|
124
119
|
"tags": [],
|
|
125
120
|
"text": ""
|
|
126
121
|
},
|
|
127
|
-
"
|
|
122
|
+
"getter": false,
|
|
123
|
+
"setter": false,
|
|
128
124
|
"reflect": false
|
|
129
125
|
},
|
|
130
126
|
"brandId": {
|
|
131
127
|
"type": "string",
|
|
128
|
+
"attribute": "brand-id",
|
|
132
129
|
"mutable": false,
|
|
133
130
|
"complexType": {
|
|
134
131
|
"original": "string",
|
|
@@ -141,11 +138,13 @@ export class ContactUsForm {
|
|
|
141
138
|
"tags": [],
|
|
142
139
|
"text": ""
|
|
143
140
|
},
|
|
144
|
-
"
|
|
141
|
+
"getter": false,
|
|
142
|
+
"setter": false,
|
|
145
143
|
"reflect": false
|
|
146
144
|
},
|
|
147
145
|
"queryString": {
|
|
148
146
|
"type": "string",
|
|
147
|
+
"attribute": "query-string",
|
|
149
148
|
"mutable": false,
|
|
150
149
|
"complexType": {
|
|
151
150
|
"original": "string",
|
|
@@ -158,12 +157,14 @@ export class ContactUsForm {
|
|
|
158
157
|
"tags": [],
|
|
159
158
|
"text": ""
|
|
160
159
|
},
|
|
161
|
-
"
|
|
160
|
+
"getter": false,
|
|
161
|
+
"setter": false,
|
|
162
162
|
"reflect": false,
|
|
163
163
|
"defaultValue": "''"
|
|
164
164
|
},
|
|
165
165
|
"language": {
|
|
166
166
|
"type": "string",
|
|
167
|
+
"attribute": "language",
|
|
167
168
|
"mutable": false,
|
|
168
169
|
"complexType": {
|
|
169
170
|
"original": "LanguageKeys",
|
|
@@ -182,12 +183,14 @@ export class ContactUsForm {
|
|
|
182
183
|
"tags": [],
|
|
183
184
|
"text": ""
|
|
184
185
|
},
|
|
185
|
-
"
|
|
186
|
+
"getter": false,
|
|
187
|
+
"setter": false,
|
|
186
188
|
"reflect": false,
|
|
187
189
|
"defaultValue": "'en'"
|
|
188
190
|
},
|
|
189
191
|
"structure": {
|
|
190
192
|
"type": "string",
|
|
193
|
+
"attribute": "structure",
|
|
191
194
|
"mutable": false,
|
|
192
195
|
"complexType": {
|
|
193
196
|
"original": "string",
|
|
@@ -200,12 +203,14 @@ export class ContactUsForm {
|
|
|
200
203
|
"tags": [],
|
|
201
204
|
"text": ""
|
|
202
205
|
},
|
|
203
|
-
"
|
|
206
|
+
"getter": false,
|
|
207
|
+
"setter": false,
|
|
204
208
|
"reflect": false,
|
|
205
209
|
"defaultValue": "'[\"submit.Submit\"]'"
|
|
206
210
|
},
|
|
207
211
|
"recaptchaKey": {
|
|
208
212
|
"type": "string",
|
|
213
|
+
"attribute": "recaptcha-key",
|
|
209
214
|
"mutable": false,
|
|
210
215
|
"complexType": {
|
|
211
216
|
"original": "string",
|
|
@@ -218,12 +223,14 @@ export class ContactUsForm {
|
|
|
218
223
|
"tags": [],
|
|
219
224
|
"text": ""
|
|
220
225
|
},
|
|
221
|
-
"
|
|
226
|
+
"getter": false,
|
|
227
|
+
"setter": false,
|
|
222
228
|
"reflect": false,
|
|
223
229
|
"defaultValue": "'6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'"
|
|
224
230
|
},
|
|
225
231
|
"errorCallback": {
|
|
226
232
|
"type": "unknown",
|
|
233
|
+
"attribute": "error-callback",
|
|
227
234
|
"mutable": false,
|
|
228
235
|
"complexType": {
|
|
229
236
|
"original": "(error: any) => void",
|
|
@@ -235,10 +242,13 @@ export class ContactUsForm {
|
|
|
235
242
|
"docs": {
|
|
236
243
|
"tags": [],
|
|
237
244
|
"text": ""
|
|
238
|
-
}
|
|
245
|
+
},
|
|
246
|
+
"getter": false,
|
|
247
|
+
"setter": false
|
|
239
248
|
},
|
|
240
249
|
"successCallback": {
|
|
241
250
|
"type": "unknown",
|
|
251
|
+
"attribute": "success-callback",
|
|
242
252
|
"mutable": false,
|
|
243
253
|
"complexType": {
|
|
244
254
|
"original": "(values: any) => void",
|
|
@@ -250,10 +260,13 @@ export class ContactUsForm {
|
|
|
250
260
|
"docs": {
|
|
251
261
|
"tags": [],
|
|
252
262
|
"text": ""
|
|
253
|
-
}
|
|
263
|
+
},
|
|
264
|
+
"getter": false,
|
|
265
|
+
"setter": false
|
|
254
266
|
},
|
|
255
267
|
"loadingChanges": {
|
|
256
268
|
"type": "unknown",
|
|
269
|
+
"attribute": "loading-changes",
|
|
257
270
|
"mutable": false,
|
|
258
271
|
"complexType": {
|
|
259
272
|
"original": "(loading: boolean) => void",
|
|
@@ -265,7 +278,9 @@ export class ContactUsForm {
|
|
|
265
278
|
"docs": {
|
|
266
279
|
"tags": [],
|
|
267
280
|
"text": ""
|
|
268
|
-
}
|
|
281
|
+
},
|
|
282
|
+
"getter": false,
|
|
283
|
+
"setter": false
|
|
269
284
|
}
|
|
270
285
|
};
|
|
271
286
|
}
|
|
@@ -15,12 +15,8 @@ export class DeadStockLookup {
|
|
|
15
15
|
this.isDev = false;
|
|
16
16
|
this.queryString = '';
|
|
17
17
|
this.language = 'en';
|
|
18
|
-
this.errorCallback = undefined;
|
|
19
|
-
this.loadingStateChange = undefined;
|
|
20
|
-
this.loadedResponse = undefined;
|
|
21
18
|
this.state = 'idle';
|
|
22
19
|
this.errorMessage = null;
|
|
23
|
-
this.partInformation = undefined;
|
|
24
20
|
this.externalPartNumber = null;
|
|
25
21
|
this.sharedLocales = sharedLocalesSchema.getDefault();
|
|
26
22
|
this.locale = deadStockSchema.getDefault();
|
|
@@ -112,7 +108,7 @@ export class DeadStockLookup {
|
|
|
112
108
|
render() {
|
|
113
109
|
var _a, _b, _c, _d;
|
|
114
110
|
const texts = this.locale;
|
|
115
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '3fec3888689394f9db82d44339ff6a86badcfaa4' }, h("div", { key: '0e9e27129627b72541387787e3cbabd0b4d8fb96', dir: this.sharedLocales.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: '62f97371c993f42e0f091f7aa1e4a32545f5ad81' }, h("loading-spinner", { key: '97c5e08fc754cc3a0ef022dc1bc70956c147c338', isLoading: this.state.includes('loading') }), h("div", { key: '1643eaab14e0177f8a7ff9586907e0c071b10e0b', class: cn('transition-all !duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (h("div", { key: '2724636511c921e033d2178f863e888af41b738d', class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { key: '52f99d234eed68a33e8cf7314d7a67fba2c13954', 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: '198ae83d4a1713ae01c906a544db255735f81fbc' }, h("div", { key: '399cdf7a50fbf3852ab9fd47aae187166adc64eb', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: '05fa0b6b01a8a39baa031e4b5fd89698814cef42', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.deadStock), !((_b = (_a = this.partInformation) === null || _a === void 0 ? void 0 : _a.deadStock) === null || _b === void 0 ? void 0 : _b.length) && h("div", { key: '7cf88d6e6e2eeb4ee5ab8dcc1e8b5418ba35568e', class: "h-[80px] flex items-center justify-center text-[18px]" }, this.sharedLocales.noData), (_d = (_c = this.partInformation) === null || _c === void 0 ? void 0 : _c.deadStock) === null || _d === void 0 ? void 0 :
|
|
116
112
|
_d.map(deadStock => (h("div", { key: deadStock.companyIntegrationID, class: "py-[10px] px-[20px]" }, h("div", { "aria-expanded": "false", style: { height: closedAccordionHeight }, class: "border shadow transition-all duration-500 overflow-hidden rounded-md mb-[10px] border-[#d6d8dc]" }, h("button", { onClick: this.toggleAccordion, style: { height: closedAccordionHeight }, class: "w-full flex px-[10px] justify-between items-center text-slate-800" }, h("strong", null, deadStock.companyName), h("span", { class: "icon text-slate-800 transition-transform duration-500" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", class: "size-[22px]" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.78 9.78a.75.75 0 0 1-1.06 0L8 7.06 5.28 9.78a.75.75 0 0 1-1.06-1.06l3.25-3.25a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06Z" })))), h("div", { class: "content" }, h("table", { class: "w-full overflow-auto relative border-collapse" }, h("thead", null, h("tr", null, h("th", { class: "py-[20px] px-[10px] text-start whitespace-nowrap border-b border-[#d6d8dc]" }, texts.branch), h("th", { class: "py-[20px] px-[10px] text-start whitespace-nowrap border-b border-[#d6d8dc]" }, texts.availableQuantity))), h("tbody", null, deadStock === null || deadStock === void 0 ? void 0 : deadStock.branchDeadStock.map(branchDeadStock => (h("tr", { class: "transition-colors border-b border-[#d6d8dc] last:border-none duration-100 hover:bg-slate-100", key: branchDeadStock.companyBranchIntegrationID }, h("td", { class: cn('py-[20px] px-[10px] text-start whitespace-nowrap') }, branchDeadStock.companyBranchName), h("td", { class: cn('py-[20px] px-[10px] text-start whitespace-nowrap') }, h("strong", null, branchDeadStock.quantity))))))))))))))))))));
|
|
117
113
|
}
|
|
118
114
|
static get is() { return "dead-stock-lookup"; }
|
|
@@ -131,6 +127,7 @@ export class DeadStockLookup {
|
|
|
131
127
|
return {
|
|
132
128
|
"baseUrl": {
|
|
133
129
|
"type": "string",
|
|
130
|
+
"attribute": "base-url",
|
|
134
131
|
"mutable": false,
|
|
135
132
|
"complexType": {
|
|
136
133
|
"original": "string",
|
|
@@ -143,12 +140,14 @@ export class DeadStockLookup {
|
|
|
143
140
|
"tags": [],
|
|
144
141
|
"text": ""
|
|
145
142
|
},
|
|
146
|
-
"
|
|
143
|
+
"getter": false,
|
|
144
|
+
"setter": false,
|
|
147
145
|
"reflect": false,
|
|
148
146
|
"defaultValue": "''"
|
|
149
147
|
},
|
|
150
148
|
"isDev": {
|
|
151
149
|
"type": "boolean",
|
|
150
|
+
"attribute": "is-dev",
|
|
152
151
|
"mutable": false,
|
|
153
152
|
"complexType": {
|
|
154
153
|
"original": "boolean",
|
|
@@ -161,12 +160,14 @@ export class DeadStockLookup {
|
|
|
161
160
|
"tags": [],
|
|
162
161
|
"text": ""
|
|
163
162
|
},
|
|
164
|
-
"
|
|
163
|
+
"getter": false,
|
|
164
|
+
"setter": false,
|
|
165
165
|
"reflect": false,
|
|
166
166
|
"defaultValue": "false"
|
|
167
167
|
},
|
|
168
168
|
"queryString": {
|
|
169
169
|
"type": "string",
|
|
170
|
+
"attribute": "query-string",
|
|
170
171
|
"mutable": false,
|
|
171
172
|
"complexType": {
|
|
172
173
|
"original": "string",
|
|
@@ -179,12 +180,14 @@ export class DeadStockLookup {
|
|
|
179
180
|
"tags": [],
|
|
180
181
|
"text": ""
|
|
181
182
|
},
|
|
182
|
-
"
|
|
183
|
+
"getter": false,
|
|
184
|
+
"setter": false,
|
|
183
185
|
"reflect": false,
|
|
184
186
|
"defaultValue": "''"
|
|
185
187
|
},
|
|
186
188
|
"language": {
|
|
187
189
|
"type": "string",
|
|
190
|
+
"attribute": "language",
|
|
188
191
|
"mutable": false,
|
|
189
192
|
"complexType": {
|
|
190
193
|
"original": "LanguageKeys",
|
|
@@ -203,12 +206,14 @@ export class DeadStockLookup {
|
|
|
203
206
|
"tags": [],
|
|
204
207
|
"text": ""
|
|
205
208
|
},
|
|
206
|
-
"
|
|
209
|
+
"getter": false,
|
|
210
|
+
"setter": false,
|
|
207
211
|
"reflect": false,
|
|
208
212
|
"defaultValue": "'en'"
|
|
209
213
|
},
|
|
210
214
|
"errorCallback": {
|
|
211
215
|
"type": "unknown",
|
|
216
|
+
"attribute": "error-callback",
|
|
212
217
|
"mutable": false,
|
|
213
218
|
"complexType": {
|
|
214
219
|
"original": "(errorMessage: ErrorKeys) => void",
|
|
@@ -226,10 +231,13 @@ export class DeadStockLookup {
|
|
|
226
231
|
"docs": {
|
|
227
232
|
"tags": [],
|
|
228
233
|
"text": ""
|
|
229
|
-
}
|
|
234
|
+
},
|
|
235
|
+
"getter": false,
|
|
236
|
+
"setter": false
|
|
230
237
|
},
|
|
231
238
|
"loadingStateChange": {
|
|
232
239
|
"type": "unknown",
|
|
240
|
+
"attribute": "loading-state-change",
|
|
233
241
|
"mutable": false,
|
|
234
242
|
"complexType": {
|
|
235
243
|
"original": "(isLoading: boolean) => void",
|
|
@@ -241,19 +249,22 @@ export class DeadStockLookup {
|
|
|
241
249
|
"docs": {
|
|
242
250
|
"tags": [],
|
|
243
251
|
"text": ""
|
|
244
|
-
}
|
|
252
|
+
},
|
|
253
|
+
"getter": false,
|
|
254
|
+
"setter": false
|
|
245
255
|
},
|
|
246
256
|
"loadedResponse": {
|
|
247
257
|
"type": "unknown",
|
|
258
|
+
"attribute": "loaded-response",
|
|
248
259
|
"mutable": false,
|
|
249
260
|
"complexType": {
|
|
250
|
-
"original": "(response:
|
|
251
|
-
"resolved": "(response:
|
|
261
|
+
"original": "(response: PartLookupDTO) => void",
|
|
262
|
+
"resolved": "(response: PartLookupDTO) => void",
|
|
252
263
|
"references": {
|
|
253
|
-
"
|
|
264
|
+
"PartLookupDTO": {
|
|
254
265
|
"location": "import",
|
|
255
|
-
"path": "~types/part-
|
|
256
|
-
"id": "src/global/types/part-
|
|
266
|
+
"path": "~types/generated/part/part-lookup-dto",
|
|
267
|
+
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
257
268
|
}
|
|
258
269
|
}
|
|
259
270
|
},
|
|
@@ -262,7 +273,9 @@ export class DeadStockLookup {
|
|
|
262
273
|
"docs": {
|
|
263
274
|
"tags": [],
|
|
264
275
|
"text": ""
|
|
265
|
-
}
|
|
276
|
+
},
|
|
277
|
+
"getter": false,
|
|
278
|
+
"setter": false
|
|
266
279
|
}
|
|
267
280
|
};
|
|
268
281
|
}
|
|
@@ -280,10 +293,10 @@ export class DeadStockLookup {
|
|
|
280
293
|
return {
|
|
281
294
|
"setData": {
|
|
282
295
|
"complexType": {
|
|
283
|
-
"signature": "(newData:
|
|
296
|
+
"signature": "(newData: PartLookupDTO | string, headers?: any) => Promise<void>",
|
|
284
297
|
"parameters": [{
|
|
285
298
|
"name": "newData",
|
|
286
|
-
"type": "string |
|
|
299
|
+
"type": "string | PartLookupDTO",
|
|
287
300
|
"docs": ""
|
|
288
301
|
}, {
|
|
289
302
|
"name": "headers",
|
|
@@ -295,10 +308,10 @@ export class DeadStockLookup {
|
|
|
295
308
|
"location": "global",
|
|
296
309
|
"id": "global::Promise"
|
|
297
310
|
},
|
|
298
|
-
"
|
|
311
|
+
"PartLookupDTO": {
|
|
299
312
|
"location": "import",
|
|
300
|
-
"path": "~types/part-
|
|
301
|
-
"id": "src/global/types/part-
|
|
313
|
+
"path": "~types/generated/part/part-lookup-dto",
|
|
314
|
+
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
302
315
|
},
|
|
303
316
|
"ReturnType": {
|
|
304
317
|
"location": "global",
|
|
@@ -365,10 +378,10 @@ export class DeadStockLookup {
|
|
|
365
378
|
},
|
|
366
379
|
"setMockData": {
|
|
367
380
|
"complexType": {
|
|
368
|
-
"signature": "(newMockData: MockJson<
|
|
381
|
+
"signature": "(newMockData: MockJson<PartLookupDTO>) => Promise<void>",
|
|
369
382
|
"parameters": [{
|
|
370
383
|
"name": "newMockData",
|
|
371
|
-
"type": "{ [key: string]:
|
|
384
|
+
"type": "{ [key: string]: PartLookupDTO; }",
|
|
372
385
|
"docs": ""
|
|
373
386
|
}],
|
|
374
387
|
"references": {
|
|
@@ -381,10 +394,10 @@ export class DeadStockLookup {
|
|
|
381
394
|
"path": "~types/components",
|
|
382
395
|
"id": "src/global/types/components.ts::MockJson"
|
|
383
396
|
},
|
|
384
|
-
"
|
|
397
|
+
"PartLookupDTO": {
|
|
385
398
|
"location": "import",
|
|
386
|
-
"path": "~types/part-
|
|
387
|
-
"id": "src/global/types/part-
|
|
399
|
+
"path": "~types/generated/part/part-lookup-dto",
|
|
400
|
+
"id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
|
|
388
401
|
}
|
|
389
402
|
},
|
|
390
403
|
"return": "Promise<void>"
|