adp-web-components 0.0.90 → 0.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/activation-icon-DEYW0itX.js +16 -0
- package/dist/cjs/contact-us-form.cjs.entry.js +4 -4
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +282 -325
- package/dist/cjs/empty-table-icon-PdTX6gpI.js +16 -0
- package/dist/cjs/flexible-container.cjs.entry.js +43 -46
- package/dist/cjs/form-dialog_8.cjs.entry.js +12 -12
- package/dist/cjs/{get-local-language-XsAJEAsO.js → get-local-language-AedNCS4v.js} +38 -38
- package/dist/cjs/information-table.cjs.entry.js +6 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/material-card-Cd0L1Get.js +43 -0
- package/dist/cjs/part-lookup.cjs.entry.js +32 -11
- package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-tab-content.cjs.entry.js +42 -0
- package/dist/cjs/shift-tabs_2.cjs.entry.js +266 -235
- package/dist/cjs/{vehicle-info-layout-BSAeLW7e.js → type-A-Wi_ktA.js} +48 -9
- package/dist/cjs/{type-BAD2dFzP.js → type-Dm3JBAef.js} +1 -1
- package/dist/cjs/{type-DT5vXP0E.js → type-ooYU2cCM.js} +1 -1
- package/dist/cjs/vehicle-accessories_6.cjs.entry.js +1206 -0
- package/dist/cjs/vehicle-info-layout-Dp2Po_uc.js +16 -0
- package/dist/cjs/vehicle-lookup.cjs.entry.js +19 -16
- package/dist/cjs/vin-extractor.cjs.entry.js +3 -3
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/flexible-container.js +34 -36
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/information-table.js +45 -2
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/material-card.js +2 -2
- package/dist/collection/components/components/shift-tab-content.css +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/form-elements/form-dialog.js +6 -6
- package/dist/collection/components/form-elements/form-input.js +4 -4
- package/dist/collection/components/form-elements/form-select.js +6 -6
- package/dist/collection/components/form-elements/form-structure-error.js +4 -4
- package/dist/collection/components/form-elements/form-structure.js +3 -3
- package/dist/collection/components/form-elements/form-submit.js +5 -5
- package/dist/collection/components/form-elements/form-text-area.js +4 -4
- package/dist/collection/components/forms/contact-us/element-mapper.js +1 -1
- package/dist/collection/components/forms/contact-us-form.js +4 -4
- package/dist/collection/components/forms/service-booking/element-mapper.js +1 -1
- package/dist/collection/components/forms/service-booking-form.js +4 -4
- package/dist/collection/components/part-lookup/components/dead-stock-item.js +15 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +153 -175
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +192 -224
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +165 -224
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/part-lookup.js +127 -57
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
- package/dist/collection/components/vehicle-lookup/components/claimable-item-popover.js +73 -0
- package/dist/collection/components/vehicle-lookup/components/claimable-item.js +27 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +108 -187
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +371 -504
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +271 -319
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +59 -56
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +106 -192
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +106 -176
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +104 -168
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -3
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +198 -274
- package/dist/collection/components/vin-extractor/vin-extractor.js +13 -4
- package/dist/collection/{global/lib/image-expansion.js → features/image-viewer/image-viewer-logic.js} +15 -11
- package/dist/collection/features/image-viewer/image-viewer.js +9 -0
- package/dist/collection/features/image-viewer/index.js +7 -0
- package/dist/collection/features/image-viewer/interface.js +1 -0
- package/dist/collection/{global/lib → features/multi-lingual}/get-local-language.js +1 -5
- package/dist/collection/features/multi-lingual/index.js +7 -0
- package/dist/collection/features/multi-lingual/interface.js +1 -0
- package/dist/collection/{global/types/locale.js → features/multi-lingual/types.js} +6 -0
- package/dist/collection/features/part-lookup-components/index.js +7 -0
- package/dist/collection/features/part-lookup-components/interface.js +1 -0
- package/dist/collection/features/part-lookup-components/part-lookup-api-integration.js +84 -0
- package/dist/collection/features/part-lookup-components/types.js +1 -0
- package/dist/collection/features/vehicle-info-layout/index.js +6 -0
- package/dist/collection/features/vehicle-info-layout/interface.js +1 -0
- package/dist/collection/{components/components → features/vehicle-info-layout}/vehicle-info-layout.js +1 -1
- package/dist/collection/features/vehicle-lookup-component/index.js +7 -0
- package/dist/collection/features/vehicle-lookup-component/interface.js +1 -0
- package/dist/collection/features/vehicle-lookup-component/types.js +17 -0
- package/dist/collection/features/vehicle-lookup-component/vehicle-lookup-api-integration.js +87 -0
- package/dist/collection/global/assets/activation-icon.js +6 -0
- package/dist/collection/global/assets/add-icon.js +6 -0
- package/dist/collection/global/assets/alert-icon.js +6 -0
- package/dist/collection/global/assets/arrow-up-icon.js +6 -0
- package/dist/collection/global/assets/attach-icon.js +6 -0
- package/dist/collection/global/assets/check-icon.js +6 -0
- package/dist/collection/global/assets/empty-table-icon.js +6 -0
- package/dist/collection/global/assets/form-submit-svg.js +6 -0
- package/dist/collection/global/assets/print-icon.js +6 -0
- package/dist/collection/global/assets/triangle-icon.js +6 -0
- package/dist/collection/global/lib/parents-with-tag.js +22 -0
- package/dist/collection/locales/vehicleLookup/claimableItems/type.js +2 -1
- package/dist/collection/templates/part-lookup/mock-data.js +85 -2
- 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.js +1 -1
- 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-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/information-table.js +1 -1
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-B1fdQNyr.js +5 -0
- package/dist/components/{p-C-4kx8qU.js → p-BkfCVIF9.js} +1 -1
- package/dist/components/{p-B6QhQCZi.js → p-BsHunqQT.js} +1 -1
- package/dist/components/p-BwUMwWdE.js +5 -0
- package/dist/components/p-C4zpDhOi.js +5 -0
- package/dist/components/p-CHE0gMDU.js +5 -0
- package/dist/components/p-CRB_syll.js +5 -0
- package/dist/components/{p-D7yku_Qi.js → p-CV6-hCEd.js} +1 -1
- package/dist/components/p-CYfVWbdE.js +5 -0
- package/dist/components/{p-BaJpYztb.js → p-CYs-Cfbz.js} +1 -1
- package/dist/components/p-Ce4X3l8Z.js +5 -0
- package/dist/components/p-CffGxxO4.js +5 -0
- package/dist/components/p-CgP_rdz5.js +5 -0
- package/dist/components/p-CmuF1zVa.js +5 -0
- package/dist/components/p-DPxUsrGL.js +5 -0
- package/dist/components/{p-CK4E5G0i.js → p-DSIG_p-W.js} +1 -1
- package/dist/components/p-DXHFdZX_.js +5 -0
- package/dist/components/p-Dkva9a7P.js +5 -0
- package/dist/components/p-DrFf_ORZ.js +5 -0
- package/dist/components/p-DsfktPnM.js +5 -0
- package/dist/components/{p-CjWDXQ_q.js → p-DyWp9Iox.js} +1 -1
- package/dist/components/{p-JtBlsz4j.js → p-Fudjizxb.js} +1 -1
- package/dist/components/p-QtVWfPMe.js +5 -0
- package/dist/components/p-THNpWs_W.js +5 -0
- package/dist/components/p-gwgMa4kM.js +5 -0
- package/dist/components/p-iCYlD4i9.js +5 -0
- package/dist/components/p-kp6CyIhI.js +5 -0
- package/dist/components/{p-D63WC2_Y.js → p-nBbuIowK.js} +1 -1
- package/dist/components/p-piZ41_ho.js +5 -0
- package/dist/components/p-qw7FLuM-.js +5 -0
- package/dist/components/p-vhsj8wEw.js +5 -0
- package/dist/components/p-zDS3r6-j.js +5 -0
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/shift-accordion.js +1 -1
- package/dist/components/shift-slider.js +1 -1
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-claimable-items.js +1 -1
- package/dist/components/vehicle-item-claim-form.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-paint-thickness.js +1 -1
- package/dist/components/vehicle-service-history.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/vehicle-warranty-details.js +1 -1
- package/dist/components/vin-extractor.js +1 -1
- package/dist/esm/activation-icon-7GJaxZ20.js +14 -0
- package/dist/esm/contact-us-form.entry.js +4 -4
- package/dist/esm/dead-stock-lookup_3.entry.js +283 -326
- package/dist/esm/empty-table-icon-DvQk12N9.js +14 -0
- package/dist/esm/flexible-container.entry.js +43 -46
- package/dist/esm/form-dialog_8.entry.js +12 -12
- package/dist/esm/{get-local-language-BPo-xYwK.js → get-local-language-DuHpVAu5.js} +38 -38
- package/dist/esm/information-table.entry.js +6 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/material-card-DiAl-884.js +40 -0
- package/dist/esm/part-lookup.entry.js +32 -11
- package/dist/esm/service-booking-form.entry.js +4 -4
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-tab-content.entry.js +40 -0
- package/dist/esm/shift-tabs_2.entry.js +266 -235
- package/dist/esm/{type-DHujxJVp.js → type-B6613elJ.js} +1 -1
- package/dist/esm/{type-D9Rd8Kcd.js → type-CFBDfJID.js} +1 -1
- package/dist/esm/type-CnAEgqjH.js +82 -0
- package/dist/esm/vehicle-accessories_6.entry.js +1199 -0
- package/dist/esm/vehicle-info-layout-CNGGKAia.js +14 -0
- package/dist/esm/vehicle-lookup.entry.js +14 -11
- package/dist/esm/vin-extractor.entry.js +3 -3
- package/dist/locales/vehicleLookup/claimableItems/ar.json +2 -1
- package/dist/locales/vehicleLookup/claimableItems/en.json +2 -1
- package/dist/locales/vehicleLookup/claimableItems/ku.json +2 -1
- package/dist/locales/vehicleLookup/claimableItems/ru.json +2 -1
- package/dist/locales/vehicleLookup/claimableItems/type.ts +2 -1
- package/dist/shift-components/p-010b5793.entry.js +5 -0
- package/dist/shift-components/{p-b6497f63.entry.js → p-03483842.entry.js} +1 -1
- package/dist/shift-components/p-0a55771f.entry.js +5 -0
- package/dist/shift-components/p-20bdbcb5.entry.js +5 -0
- package/dist/shift-components/p-42218765.entry.js +5 -0
- package/dist/shift-components/p-526a4ff7.entry.js +5 -0
- package/dist/shift-components/p-701e3fb0.entry.js +5 -0
- package/dist/shift-components/p-7225e52b.entry.js +5 -0
- package/dist/shift-components/p-BSpTbUWi.js +5 -0
- package/dist/shift-components/{p-DHb8KxaG.js → p-CC-dsMaG.js} +1 -1
- package/dist/shift-components/{p-CIU9c3pi.js → p-CsAICJSF.js} +1 -1
- package/dist/shift-components/p-CxstRFDI.js +5 -0
- package/dist/shift-components/{p-CuQ84qxe.js → p-DF2jCW4D.js} +1 -1
- package/dist/shift-components/p-DdH9nNoC.js +5 -0
- package/dist/shift-components/p-Wtw8qj6x.js +5 -0
- package/dist/shift-components/p-a76db330.entry.js +5 -0
- package/dist/shift-components/{p-f282c740.entry.js → p-d46b0857.entry.js} +1 -1
- package/dist/shift-components/p-d843769d.entry.js +5 -0
- package/dist/shift-components/p-ebc23eef.entry.js +5 -0
- package/dist/shift-components/p-ef9ad340.entry.js +5 -0
- package/dist/shift-components/p-fyqwD4fB.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/flexible-container.d.ts +2 -5
- package/dist/types/components/components/information-table.d.ts +2 -0
- package/dist/types/components/components/material-card.d.ts +1 -1
- package/dist/types/components/form-elements/form-dialog.d.ts +1 -2
- package/dist/types/components/form-elements/form-input.d.ts +1 -2
- package/dist/types/components/form-elements/form-select.d.ts +1 -2
- package/dist/types/components/form-elements/form-structure-error.d.ts +1 -2
- package/dist/types/components/form-elements/form-structure.d.ts +2 -3
- package/dist/types/components/form-elements/form-submit.d.ts +1 -1
- package/dist/types/components/form-elements/form-text-area.d.ts +1 -1
- package/dist/types/components/forms/contact-us-form.d.ts +1 -1
- package/dist/types/components/forms/service-booking-form.d.ts +1 -1
- package/dist/types/components/part-lookup/components/dead-stock-item.d.ts +14 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +25 -23
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +23 -24
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +23 -25
- package/dist/types/components/part-lookup/part-lookup.d.ts +17 -12
- package/dist/types/components/vehicle-lookup/components/claimable-item-popover.d.ts +17 -0
- package/dist/types/components/vehicle-lookup/components/claimable-item.d.ts +12 -0
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +23 -28
- package/dist/types/components/vehicle-lookup/vehicle-claimable-items.d.ts +53 -55
- package/dist/types/components/vehicle-lookup/vehicle-item-claim-form.d.ts +35 -53
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +8 -9
- package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +23 -29
- package/dist/types/components/vehicle-lookup/vehicle-service-history.d.ts +20 -23
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +20 -22
- package/dist/types/components/vehicle-lookup/vehicle-warranty-details.d.ts +27 -31
- package/dist/types/components/vin-extractor/vin-extractor.d.ts +2 -2
- package/dist/types/components.d.ts +145 -161
- package/dist/types/features/image-viewer/image-viewer-logic.d.ts +3 -0
- package/dist/types/features/image-viewer/image-viewer.d.ts +7 -0
- package/dist/types/features/image-viewer/index.d.ts +3 -0
- package/dist/types/features/image-viewer/interface.d.ts +5 -0
- package/dist/types/features/multi-lingual/get-local-language.d.ts +4 -0
- package/dist/types/features/multi-lingual/index.d.ts +3 -0
- package/dist/types/features/multi-lingual/interface.d.ts +8 -0
- package/dist/types/{global/lib/get-local-language.d.ts → features/multi-lingual/types.d.ts} +17 -6
- package/dist/types/features/part-lookup-components/index.d.ts +3 -0
- package/dist/types/features/part-lookup-components/interface.d.ts +25 -0
- package/dist/types/features/part-lookup-components/part-lookup-api-integration.d.ts +14 -0
- package/dist/types/features/part-lookup-components/types.d.ts +3 -0
- package/dist/types/features/vehicle-info-layout/index.d.ts +2 -0
- package/dist/types/features/vehicle-info-layout/interface.d.ts +3 -0
- package/dist/types/{components/components → features/vehicle-info-layout}/vehicle-info-layout.d.ts +3 -3
- package/dist/types/features/vehicle-lookup-component/index.d.ts +3 -0
- package/dist/types/features/vehicle-lookup-component/interface.d.ts +24 -0
- package/dist/types/features/vehicle-lookup-component/types.d.ts +17 -0
- package/dist/types/features/vehicle-lookup-component/vehicle-lookup-api-integration.d.ts +15 -0
- package/dist/types/global/assets/activation-icon.d.ts +6 -0
- package/dist/types/global/assets/add-icon.d.ts +6 -0
- package/dist/types/global/assets/alert-icon.d.ts +6 -0
- package/dist/types/global/assets/arrow-up-icon.d.ts +6 -0
- package/dist/types/global/assets/attach-icon.d.ts +6 -0
- package/dist/types/global/assets/check-icon.d.ts +6 -0
- package/dist/types/global/assets/empty-table-icon.d.ts +6 -0
- package/dist/types/global/assets/form-submit-svg.d.ts +6 -0
- package/dist/types/global/assets/print-icon.d.ts +6 -0
- package/dist/types/global/assets/triangle-icon.d.ts +6 -0
- package/dist/types/global/lib/parents-with-tag.d.ts +1 -0
- package/dist/types/global/lib/recaptcha.d.ts +1 -1
- package/dist/types/global/types/components.d.ts +0 -1
- package/dist/types/global/types/forms.d.ts +1 -1
- package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +8 -4
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +6 -4
- package/package.json +1 -2
- package/dist/cjs/shift-tab-content_7.cjs.entry.js +0 -1487
- package/dist/cjs/type-CCsnwaKp.js +0 -56
- package/dist/collection/global/api/partInformation.js +0 -32
- package/dist/collection/global/api/vehicleInformation.js +0 -48
- package/dist/components/p-1vy-Ba6r.js +0 -5
- package/dist/components/p-B5YdqGVm.js +0 -5
- package/dist/components/p-BDkK65_1.js +0 -5
- package/dist/components/p-BT4rhLRL.js +0 -5
- package/dist/components/p-C1F_f1WE.js +0 -5
- package/dist/components/p-CACnUI7c.js +0 -5
- package/dist/components/p-CDOvd2iD.js +0 -5
- package/dist/components/p-CGzOJT7g.js +0 -5
- package/dist/components/p-CINfIgzX.js +0 -5
- package/dist/components/p-CJpwqpuQ.js +0 -5
- package/dist/components/p-CUqXnLyM.js +0 -5
- package/dist/components/p-Cl9ct-bZ.js +0 -5
- package/dist/components/p-CqGVdvFp.js +0 -5
- package/dist/components/p-D2bxjSGr.js +0 -5
- package/dist/components/p-DXHx6lre.js +0 -5
- package/dist/components/p-DXj5zsQK.js +0 -5
- package/dist/components/p-DsCtgcZn.js +0 -5
- package/dist/components/p-DxjQlmaz.js +0 -5
- package/dist/components/p-nxlqujKv.js +0 -5
- package/dist/components/p-vvHN2Olh.js +0 -5
- package/dist/components/p-yQ70lKV2.js +0 -5
- package/dist/esm/shift-tab-content_7.entry.js +0 -1479
- package/dist/esm/type-CfLRnI1J.js +0 -53
- package/dist/esm/vehicle-info-layout-D1bvY1nt.js +0 -43
- package/dist/shift-components/p-389f444c.entry.js +0 -5
- package/dist/shift-components/p-5dd208de.entry.js +0 -5
- package/dist/shift-components/p-5f91eb5f.entry.js +0 -5
- package/dist/shift-components/p-76dd44e9.entry.js +0 -5
- package/dist/shift-components/p-9a51dae0.entry.js +0 -5
- package/dist/shift-components/p-BAMA88Mr.js +0 -5
- package/dist/shift-components/p-Br0JD1CD.js +0 -5
- package/dist/shift-components/p-af44ca99.entry.js +0 -5
- package/dist/shift-components/p-d0e6cd78.entry.js +0 -5
- package/dist/shift-components/p-f1225504.entry.js +0 -5
- package/dist/shift-components/p-faabbd23.entry.js +0 -5
- package/dist/shift-components/p-ff0fec09.entry.js +0 -5
- package/dist/types/global/api/partInformation.d.ts +0 -19
- package/dist/types/global/api/vehicleInformation.d.ts +0 -33
- package/dist/types/global/lib/image-expansion.d.ts +0 -9
- package/dist/types/global/types/locale.d.ts +0 -11
- /package/dist/collection/{components/vehicle-lookup → global}/assets/activationRequired.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/cancelled.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/check.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/expired.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/pending.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/processed.svg +0 -0
- /package/dist/collection/{components/vehicle-lookup → global}/assets/x-mark.svg +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
|
-
import { SharedLocales } from "../../global/lib/get-local-language";
|
|
3
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
4
2
|
import generalSchema from "../../locales/general/type";
|
|
3
|
+
import { LanguageKeys, SharedLocales } from "../../features/multi-lingual/index";
|
|
5
4
|
export declare class FormInput {
|
|
6
5
|
errorMessage: string;
|
|
7
6
|
dialogClosed: () => void;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
3
|
-
import { SharedLocales } from "../../global/lib/get-local-language";
|
|
4
3
|
import { InputParams } from "../../global/types/general";
|
|
5
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
6
4
|
import { FormElement, LocaleFormKeys } from "../../global/types/forms";
|
|
7
5
|
import formWrapperSchema from "../../locales/forms/wrapper-type";
|
|
6
|
+
import { LanguageKeys, SharedLocales } from "../../features/multi-lingual/index";
|
|
8
7
|
export declare class FormInput implements FormElement {
|
|
9
8
|
label: string;
|
|
10
9
|
class: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
3
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
4
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
5
3
|
import { FormElement, FormSelectFetcher, FormSelectItem, LocaleFormKeys } from "../../global/types/forms";
|
|
6
4
|
import generalSchema from "../../locales/general/type";
|
|
7
5
|
import formWrapperSchema from "../../locales/forms/wrapper-type";
|
|
6
|
+
import { ErrorKeys, LanguageKeys, SharedLocales } from "../../features/multi-lingual/index";
|
|
8
7
|
export declare class FormSelect implements FormElement {
|
|
9
8
|
name: string;
|
|
10
9
|
label: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SharedLocales } from "../../
|
|
2
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
1
|
+
import { LanguageKeys, SharedLocales } from "../../features/multi-lingual/index";
|
|
3
2
|
export declare class FormStructureError {
|
|
4
3
|
language: LanguageKeys;
|
|
5
4
|
sharedLocales: SharedLocales;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
1
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
2
|
-
import { SharedLocales } from "../../global/lib/get-local-language";
|
|
3
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
4
3
|
import { FormElementMapper, StructureObject } from "../../global/types/forms";
|
|
5
4
|
import generalSchema from "../../locales/general/type";
|
|
6
|
-
import {
|
|
5
|
+
import { LanguageKeys, SharedLocales } from "../../features/multi-lingual/index";
|
|
7
6
|
export declare class FormStructure {
|
|
8
7
|
theme: string;
|
|
9
8
|
themes: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
3
2
|
import { FormFieldParams, StructureObject } from "../../global/types/forms";
|
|
4
3
|
import generalSchema from "../../locales/general/type";
|
|
4
|
+
import { LanguageKeys } from "../../features/multi-lingual/types";
|
|
5
5
|
export declare class FormSubmit {
|
|
6
6
|
isLoading: boolean;
|
|
7
7
|
params: FormFieldParams;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InferType } from 'yup';
|
|
2
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
3
3
|
import { InputParams } from "../../global/types/general";
|
|
4
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
5
4
|
import { FormElement, LocaleFormKeys } from "../../global/types/forms";
|
|
6
5
|
import formWrapperSchema from "../../locales/forms/wrapper-type";
|
|
6
|
+
import { LanguageKeys } from "../../features/multi-lingual/index";
|
|
7
7
|
export declare class FormTextArea implements FormElement {
|
|
8
8
|
label: string;
|
|
9
9
|
isError: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
2
1
|
import { FormHookInterface } from "../../global/types/forms";
|
|
3
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
4
3
|
import { ContactUs } from './contact-us/validations';
|
|
4
|
+
import { LanguageKeys } from "../../features/multi-lingual/index";
|
|
5
5
|
export declare class ContactUsForm implements FormHookInterface<ContactUs> {
|
|
6
6
|
theme: string;
|
|
7
7
|
baseUrl: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
2
1
|
import { FormHookInterface } from "../../global/types/forms";
|
|
3
2
|
import { FormHook } from "../../global/lib/form-hook";
|
|
4
3
|
import { ContactUs } from './service-booking/validations';
|
|
4
|
+
import { LanguageKeys } from "../../features/multi-lingual/index";
|
|
5
5
|
export declare class ContactUsForm implements FormHookInterface<ContactUs> {
|
|
6
6
|
theme: string;
|
|
7
7
|
baseUrl: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
import deadStockSchema from "../../../locales/partLookup/deadStock/type";
|
|
3
|
+
import { ComponentLocale } from "../../../features/multi-lingual/index";
|
|
4
|
+
import { DeadStockDTO } from "../../../global/types/generated/part/dead-stock-dto";
|
|
5
|
+
interface DeadStockItemProps {
|
|
6
|
+
key?: string;
|
|
7
|
+
icon?: Node;
|
|
8
|
+
isOpened?: boolean;
|
|
9
|
+
item?: DeadStockDTO;
|
|
10
|
+
toggleAccordion: (name: string) => void;
|
|
11
|
+
locale: ComponentLocale<typeof deadStockSchema>;
|
|
12
|
+
}
|
|
13
|
+
export declare const DeadStockItem: FunctionalComponent<DeadStockItemProps>;
|
|
14
|
+
export {};
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { InferType } from 'yup';
|
|
2
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
3
|
-
import { AppStates, MockJson } from "../../global/types/components";
|
|
4
|
-
import { PartLookupDTO } from "../../global/types/generated/part/part-lookup-dto";
|
|
5
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
6
|
-
import { PartInformationInterface } from "../../global/api/partInformation";
|
|
7
1
|
import deadStockSchema from "../../locales/partLookup/deadStock/type";
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
import { VehicleInfoLayoutInterface } from "../../features/vehicle-info-layout/index";
|
|
3
|
+
import { PartLookupComponent, PartLookupMock } from "../../features/part-lookup-components/index";
|
|
4
|
+
import { ComponentLocale, ErrorKeys, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
|
|
5
|
+
import { PartLookupDTO } from "../../global/types/generated/part/part-lookup-dto";
|
|
6
|
+
export declare class DeadStockLookup implements MultiLingual, VehicleInfoLayoutInterface, PartLookupComponent {
|
|
7
|
+
language: LanguageKeys;
|
|
8
|
+
locale: ComponentLocale<typeof deadStockSchema>;
|
|
9
|
+
componentWillLoad(): Promise<void>;
|
|
10
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
11
|
+
coreOnly: boolean;
|
|
10
12
|
isDev: boolean;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
headers: object;
|
|
11
15
|
queryString: string;
|
|
12
|
-
|
|
13
|
-
errorCallback: (errorMessage: ErrorKeys) => void;
|
|
16
|
+
errorCallback?: (errorMessage: ErrorKeys) => void;
|
|
14
17
|
loadingStateChange?: (isLoading: boolean) => void;
|
|
15
18
|
loadedResponse?: (response: PartLookupDTO) => void;
|
|
16
|
-
|
|
19
|
+
searchString: string;
|
|
20
|
+
isError: boolean;
|
|
17
21
|
errorMessage?: ErrorKeys;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
partLookup?: PartLookupDTO;
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
mockData: any;
|
|
22
26
|
abortController: AbortController;
|
|
23
27
|
networkTimeoutRef: ReturnType<typeof setTimeout>;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
27
|
-
private handleSettingData;
|
|
28
|
-
setData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
28
|
+
setMockData(newMockData: PartLookupMock): Promise<void>;
|
|
29
|
+
fetchData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
29
30
|
setErrorMessage(message: ErrorKeys): Promise<void>;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
onLoadingChange(newValue: boolean): void;
|
|
32
|
+
openedAccordions: string[];
|
|
33
|
+
newItemsHasBeenRendered: boolean;
|
|
34
|
+
loadingListener(newIsLoading: boolean): Promise<void>;
|
|
33
35
|
private toggleAccordion;
|
|
34
36
|
render(): any;
|
|
35
37
|
}
|
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import { InferType } from 'yup';
|
|
2
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
3
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
4
|
-
import { AppStates, MockJson } from "../../global/types/components";
|
|
5
1
|
import { PartLookupDTO } from "../../global/types/generated/part/part-lookup-dto";
|
|
6
|
-
import { PartInformationInterface } from "../../global/api/partInformation";
|
|
7
2
|
import distributerSchema from "../../locales/partLookup/distributor/type";
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { VehicleInfoLayoutInterface } from "../../features/vehicle-info-layout/index";
|
|
4
|
+
import { PartLookupComponent, PartLookupMock } from "../../features/part-lookup-components/index";
|
|
5
|
+
import { ComponentLocale, ErrorKeys, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
|
|
6
|
+
export declare class DistributorLookup implements MultiLingual, VehicleInfoLayoutInterface, PartLookupComponent {
|
|
7
|
+
language: LanguageKeys;
|
|
8
|
+
locale: ComponentLocale<typeof distributerSchema>;
|
|
9
|
+
componentWillLoad(): Promise<void>;
|
|
10
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
11
|
+
coreOnly: boolean;
|
|
10
12
|
isDev: boolean;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
headers: object;
|
|
11
15
|
queryString: string;
|
|
12
|
-
|
|
13
|
-
language: LanguageKeys;
|
|
14
|
-
localizationName?: string;
|
|
15
|
-
errorCallback: (errorMessage: string) => void;
|
|
16
|
+
errorCallback?: (errorMessage: ErrorKeys) => void;
|
|
16
17
|
loadingStateChange?: (isLoading: boolean) => void;
|
|
17
18
|
loadedResponse?: (response: PartLookupDTO) => void;
|
|
18
|
-
|
|
19
|
+
searchString: string;
|
|
20
|
+
isError: boolean;
|
|
19
21
|
errorMessage?: ErrorKeys;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
partLookup?: PartLookupDTO;
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
mockData: any;
|
|
24
26
|
abortController: AbortController;
|
|
25
27
|
networkTimeoutRef: ReturnType<typeof setTimeout>;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
29
|
-
private handleSettingData;
|
|
30
|
-
setData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
28
|
+
setMockData(newMockData: PartLookupMock): Promise<void>;
|
|
29
|
+
fetchData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
31
30
|
setErrorMessage(message: ErrorKeys): Promise<void>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
onLoadingChange(newValue: boolean): void;
|
|
32
|
+
hiddenFields?: string;
|
|
33
|
+
localizationName?: string;
|
|
35
34
|
render(): any;
|
|
36
35
|
}
|
|
@@ -1,37 +1,35 @@
|
|
|
1
|
-
import { InferType } from 'yup';
|
|
2
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
3
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
4
|
-
import { AppStates, MockJson } from "../../global/types/components";
|
|
5
1
|
import { PartLookupDTO } from "../../global/types/generated/part/part-lookup-dto";
|
|
6
|
-
import { PartInformationInterface } from "../../global/api/partInformation";
|
|
7
2
|
import manufacturerSchema from "../../locales/partLookup/manufacturer/type";
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { VehicleInfoLayoutInterface } from "../../features/vehicle-info-layout/index";
|
|
4
|
+
import { PartLookupComponent, PartLookupMock } from "../../features/part-lookup-components/index";
|
|
5
|
+
import { ComponentLocale, ErrorKeys, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
|
|
6
|
+
export declare class ManufacturerLookup implements MultiLingual, VehicleInfoLayoutInterface, PartLookupComponent {
|
|
7
|
+
language: LanguageKeys;
|
|
8
|
+
locale: ComponentLocale<typeof manufacturerSchema>;
|
|
9
|
+
componentWillLoad(): Promise<void>;
|
|
10
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
11
|
+
coreOnly: boolean;
|
|
10
12
|
isDev: boolean;
|
|
13
|
+
baseUrl: string;
|
|
14
|
+
headers: object;
|
|
11
15
|
queryString: string;
|
|
12
|
-
|
|
13
|
-
language: LanguageKeys;
|
|
14
|
-
localizationName?: string;
|
|
15
|
-
headerTitle: string;
|
|
16
|
-
errorCallback: (errorMessage: string) => void;
|
|
16
|
+
errorCallback?: (errorMessage: ErrorKeys) => void;
|
|
17
17
|
loadingStateChange?: (isLoading: boolean) => void;
|
|
18
18
|
loadedResponse?: (response: PartLookupDTO) => void;
|
|
19
|
-
|
|
19
|
+
searchString: string;
|
|
20
|
+
isError: boolean;
|
|
20
21
|
errorMessage?: ErrorKeys;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
partLookup?: PartLookupDTO;
|
|
24
|
+
el: HTMLElement;
|
|
25
|
+
mockData: any;
|
|
25
26
|
abortController: AbortController;
|
|
26
27
|
networkTimeoutRef: ReturnType<typeof setTimeout>;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
30
|
-
private handleSettingData;
|
|
31
|
-
setData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
28
|
+
setMockData(newMockData: PartLookupMock): Promise<void>;
|
|
29
|
+
fetchData(newData: PartLookupDTO | string, headers?: any): Promise<void>;
|
|
32
30
|
setErrorMessage(message: ErrorKeys): Promise<void>;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
onLoadingChange(newValue: boolean): void;
|
|
32
|
+
hiddenFields: string;
|
|
33
|
+
localizationName?: string;
|
|
36
34
|
render(): any;
|
|
37
35
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
2
|
-
import { DotNetObjectReference } from "../../global/types/components";
|
|
3
1
|
import { DeadStockLookup } from './dead-stock-lookup';
|
|
4
2
|
import { DistributorLookup } from './distributor-lookup';
|
|
5
3
|
import { ManufacturerLookup } from './manufacturer-lookup';
|
|
6
|
-
import { SharedLocales } from "../../
|
|
4
|
+
import { ErrorKeys, LanguageKeys, MultiLingual, SharedLocales } from "../../features/multi-lingual/index";
|
|
5
|
+
import { DotNetObjectReference } from "../../global/types/components";
|
|
6
|
+
import { PartLookupDTO } from "../../global/types/generated/part/part-lookup-dto";
|
|
7
7
|
declare const componentTags: {
|
|
8
8
|
readonly deadStock: "dead-stock-lookup";
|
|
9
9
|
readonly distributor: "distributor-lookup";
|
|
@@ -15,26 +15,31 @@ export type ComponentMap = {
|
|
|
15
15
|
[componentTags.manufacturer]: ManufacturerLookup;
|
|
16
16
|
};
|
|
17
17
|
export type ActiveElement = (typeof componentTags)[keyof typeof componentTags] | '';
|
|
18
|
-
export declare class PartLookup {
|
|
18
|
+
export declare class PartLookup implements MultiLingual {
|
|
19
|
+
language: LanguageKeys;
|
|
20
|
+
locale: SharedLocales;
|
|
21
|
+
componentWillLoad(): Promise<void>;
|
|
22
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
23
|
+
activeElement?: ActiveElement;
|
|
19
24
|
baseUrl: string;
|
|
25
|
+
isDev: boolean;
|
|
20
26
|
queryString: string;
|
|
21
|
-
language: LanguageKeys;
|
|
22
|
-
blazorErrorStateListener: string;
|
|
23
27
|
childrenProps?: string | Object;
|
|
24
|
-
|
|
25
|
-
activeElement?: ActiveElement;
|
|
28
|
+
blazorErrorStateListener: string;
|
|
26
29
|
errorStateListener?: (newError: string) => void;
|
|
30
|
+
blazorOnLoadingStateChange: string;
|
|
27
31
|
loadingStateChanged?: (isLoading: boolean) => void;
|
|
32
|
+
errorKey: ErrorKeys;
|
|
28
33
|
wrapperErrorState: string;
|
|
34
|
+
isError: boolean;
|
|
35
|
+
header: string;
|
|
36
|
+
isLoading: boolean;
|
|
29
37
|
blazorRef?: DotNetObjectReference;
|
|
30
|
-
sharedLocales: SharedLocales;
|
|
31
38
|
el: HTMLElement;
|
|
32
39
|
private componentsList;
|
|
33
|
-
componentWillLoad(): Promise<void>;
|
|
34
|
-
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
35
40
|
componentDidLoad(): Promise<void>;
|
|
36
41
|
private syncErrorAcrossComponents;
|
|
37
|
-
|
|
42
|
+
handleLoadData(newResponse: PartLookupDTO, activeElement: any): void;
|
|
38
43
|
private loadingStateChangingMiddleware;
|
|
39
44
|
errorListener(newState: any): Promise<void>;
|
|
40
45
|
setBlazorRef(newBlazorRef: DotNetObjectReference): Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
2
|
+
import { VehicleServiceItemDTO } from "../../../global/types/generated/vehicle-lookup/vehicle-service-item-dto";
|
|
3
|
+
import dynamicClaimSchema from "../../../locales/vehicleLookup/claimableItems/type";
|
|
4
|
+
import { ComponentLocale } from "../../../features/multi-lingual/index";
|
|
5
|
+
type ClaimableItemPopoverProps = {
|
|
6
|
+
showPopover: boolean;
|
|
7
|
+
item: VehicleServiceItemDTO;
|
|
8
|
+
claim: (item: VehicleServiceItemDTO) => void;
|
|
9
|
+
locale: ComponentLocale<typeof dynamicClaimSchema>;
|
|
10
|
+
targetLocation: {
|
|
11
|
+
left: number;
|
|
12
|
+
bottom: number;
|
|
13
|
+
top: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const ClaimableItemPopover: FunctionalComponent<ClaimableItemPopoverProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InferType } from 'yup';
|
|
2
|
+
import { FunctionalComponent } from '../../../stencil-public-runtime';
|
|
3
|
+
import { VehicleServiceItemDTO } from "../../../global/types/generated/vehicle-lookup/vehicle-service-item-dto";
|
|
4
|
+
import dynamicClaimSchema from "../../../locales/vehicleLookup/claimableItems/type";
|
|
5
|
+
type ClaimableItemProps = {
|
|
6
|
+
addStatusClass: boolean;
|
|
7
|
+
item: VehicleServiceItemDTO;
|
|
8
|
+
locale: InferType<typeof dynamicClaimSchema>;
|
|
9
|
+
setClaimableItemPopover: (showPopover: boolean, claimableItem?: VehicleServiceItemDTO, claimableItemPopoverRef?: HTMLDivElement) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const ClaimableItem: FunctionalComponent<ClaimableItemProps>;
|
|
12
|
+
export {};
|
|
@@ -1,40 +1,35 @@
|
|
|
1
|
-
import { InferType } from 'yup';
|
|
2
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
3
|
-
import { AppStates, MockJson } from "../../global/types/components";
|
|
4
1
|
import { VehicleLookupDTO } from "../../global/types/generated/vehicle-lookup/vehicle-lookup-dto";
|
|
5
|
-
import { ImageViewerInterface } from "../../global/lib/image-expansion";
|
|
6
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
7
2
|
import accessoriesSchema from "../../locales/vehicleLookup/accessories/type";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
import { VehicleInfoLayoutInterface } from "../../features/vehicle-info-layout/index";
|
|
4
|
+
import { ImageViewerInterface } from "../../features/image-viewer/index";
|
|
5
|
+
import { VehicleLookupComponent, VehicleLookupMock } from "../../features/vehicle-lookup-component/index";
|
|
6
|
+
import { ComponentLocale, ErrorKeys, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
|
|
7
|
+
export declare class VehicleAccessories implements MultiLingual, VehicleInfoLayoutInterface, ImageViewerInterface, VehicleLookupComponent {
|
|
8
|
+
language: LanguageKeys;
|
|
9
|
+
locale: ComponentLocale<typeof accessoriesSchema>;
|
|
10
|
+
componentWillLoad(): Promise<void>;
|
|
11
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
11
12
|
coreOnly: boolean;
|
|
13
|
+
expandedImage?: string;
|
|
14
|
+
originalImage: HTMLImageElement;
|
|
15
|
+
isDev: boolean;
|
|
16
|
+
baseUrl: string;
|
|
17
|
+
headers: object;
|
|
12
18
|
queryString: string;
|
|
13
|
-
|
|
14
|
-
errorCallback: (errorMessage: ErrorKeys) => void;
|
|
19
|
+
errorCallback?: (errorMessage: ErrorKeys) => void;
|
|
15
20
|
loadingStateChange?: (isLoading: boolean) => void;
|
|
16
21
|
loadedResponse?: (response: VehicleLookupDTO) => void;
|
|
17
|
-
|
|
18
|
-
locale: InferType<typeof accessoriesSchema>;
|
|
19
|
-
state: AppStates;
|
|
20
|
-
externalVin?: string;
|
|
21
|
-
expandedImage?: string;
|
|
22
|
+
isError: boolean;
|
|
22
23
|
errorMessage?: ErrorKeys;
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
isLoading: boolean;
|
|
25
|
+
vehicleLookup?: VehicleLookupDTO;
|
|
26
|
+
el: HTMLElement;
|
|
27
|
+
mockData: any;
|
|
25
28
|
abortController: AbortController;
|
|
26
29
|
networkTimeoutRef: ReturnType<typeof setTimeout>;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
30
|
-
private handleSettingData;
|
|
31
|
-
setData(newData: VehicleLookupDTO | string, headers?: any): Promise<void>;
|
|
30
|
+
setMockData(newMockData: VehicleLookupMock): Promise<void>;
|
|
31
|
+
fetchData(newData: VehicleLookupDTO | string, headers?: any): Promise<void>;
|
|
32
32
|
setErrorMessage(message: ErrorKeys): Promise<void>;
|
|
33
|
-
|
|
34
|
-
loadingListener(): Promise<void>;
|
|
35
|
-
setMockData(newMockData: MockJson<VehicleLookupDTO>): Promise<void>;
|
|
36
|
-
closeImageListener: (event?: KeyboardEvent) => void;
|
|
37
|
-
openImage: (target: HTMLImageElement, imageSrc: string) => void;
|
|
38
|
-
closeImage: (event?: KeyboardEvent) => void;
|
|
33
|
+
onLoadingChange(newValue: boolean): void;
|
|
39
34
|
render(): any;
|
|
40
35
|
}
|
|
@@ -1,74 +1,72 @@
|
|
|
1
|
-
import { InferType } from 'yup';
|
|
2
|
-
import { ErrorKeys, SharedLocales } from "../../global/lib/get-local-language";
|
|
3
|
-
import { LanguageKeys } from "../../global/types/locale";
|
|
4
|
-
import { MockJson } from "../../global/types/components";
|
|
5
1
|
import { VehicleLookupDTO } from "../../global/types/generated/vehicle-lookup/vehicle-lookup-dto";
|
|
6
2
|
import { VehicleServiceItemDTO } from "../../global/types/generated/vehicle-lookup/vehicle-service-item-dto";
|
|
7
|
-
import {
|
|
3
|
+
import { VehicleInfoLayoutInterface } from "../../features/vehicle-info-layout/index";
|
|
4
|
+
import { VehicleLookupComponent } from "../../features/vehicle-lookup-component/index";
|
|
5
|
+
import { ComponentLocale, ErrorKeys, LanguageKeys, MultiLingual } from "../../features/multi-lingual/index";
|
|
6
|
+
import { ClaimFormPayload, VehicleItemClaimForm } from './vehicle-item-claim-form';
|
|
8
7
|
import dynamicClaimSchema from "../../locales/vehicleLookup/claimableItems/type";
|
|
9
|
-
import {
|
|
10
|
-
export declare class VehicleClaimableItems implements
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
import { VehicleLookupMock } from "../../features/vehicle-lookup-component/types";
|
|
9
|
+
export declare class VehicleClaimableItems implements MultiLingual, VehicleInfoLayoutInterface, VehicleLookupComponent {
|
|
10
|
+
language: LanguageKeys;
|
|
11
|
+
locale: ComponentLocale<typeof dynamicClaimSchema>;
|
|
12
|
+
componentWillLoad(): Promise<void>;
|
|
13
|
+
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
14
|
+
coreOnly: boolean;
|
|
13
15
|
isDev: boolean;
|
|
16
|
+
baseUrl: string;
|
|
17
|
+
headers: object;
|
|
14
18
|
queryString: string;
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
uploadMultipleDocumentsAtTheForm: boolean;
|
|
20
|
+
errorCallback?: (errorMessage: ErrorKeys) => void;
|
|
21
|
+
loadingStateChange?: (isLoading: boolean) => void;
|
|
22
|
+
loadedResponse?: (response: VehicleLookupDTO) => void;
|
|
23
|
+
isError: boolean;
|
|
24
|
+
errorMessage?: ErrorKeys;
|
|
25
|
+
isLoading: boolean;
|
|
26
|
+
vehicleLookup?: VehicleLookupDTO;
|
|
27
|
+
el: HTMLElement;
|
|
28
|
+
mockData: any;
|
|
29
|
+
abortController: AbortController;
|
|
30
|
+
networkTimeoutRef: ReturnType<typeof setTimeout>;
|
|
31
|
+
setMockData(newMockData: VehicleLookupMock): Promise<void>;
|
|
32
|
+
fetchData(newData: VehicleLookupDTO | string, headers?: any): Promise<void>;
|
|
33
|
+
setErrorMessage(message: ErrorKeys): Promise<void>;
|
|
34
|
+
onLoadingChange(newValue: boolean): void;
|
|
17
35
|
print?: (claimResponse: any) => void;
|
|
18
36
|
maximumDocumentFileSizeInMb: number;
|
|
19
37
|
claimEndPoint: string;
|
|
20
|
-
errorCallback: (errorMessage: ErrorKeys) => void;
|
|
21
|
-
loadingStateChange?: (isLoading: boolean) => void;
|
|
22
|
-
loadedResponse?: (response: VehicleLookupDTO) => void;
|
|
23
38
|
activate?: (vehicleInformation: VehicleLookupDTO) => void;
|
|
24
|
-
sharedLocales: SharedLocales;
|
|
25
|
-
locale: InferType<typeof dynamicClaimSchema>;
|
|
26
39
|
activeTab: string;
|
|
27
|
-
isError: boolean;
|
|
28
|
-
showPopup: boolean;
|
|
29
|
-
isLoading: boolean;
|
|
30
|
-
externalVin?: string;
|
|
31
40
|
showPrintBox: boolean;
|
|
32
|
-
errorMessage?: ErrorKeys;
|
|
33
41
|
tabAnimationLoading: boolean;
|
|
34
|
-
activePopupIndex: null | number;
|
|
35
|
-
tabs: VehicleServiceItemDTO['group'][];
|
|
36
42
|
lastSuccessfulClaimResponse: any;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
cachedClaimItem: VehicleServiceItemDTO;
|
|
46
|
-
progressBar: HTMLElement;
|
|
47
|
-
popupPositionRef: HTMLElement;
|
|
43
|
+
showClaimableItemPopover: boolean;
|
|
44
|
+
selectedClaimItem?: VehicleServiceItemDTO;
|
|
45
|
+
tabs: VehicleServiceItemDTO['group'][];
|
|
46
|
+
popoverTargetLocation: {
|
|
47
|
+
left: number;
|
|
48
|
+
bottom: number;
|
|
49
|
+
top: number;
|
|
50
|
+
};
|
|
48
51
|
claimForm: VehicleItemClaimForm;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
+
private claimableItemPopoverRef;
|
|
53
|
+
private progressBar;
|
|
54
|
+
private claimableItemsBox;
|
|
55
|
+
private tabAnimationTimeoutRef;
|
|
56
|
+
private getServiceItems;
|
|
57
|
+
private parseGroupData;
|
|
58
|
+
private updateProgressBar;
|
|
52
59
|
componentDidLoad(): Promise<void>;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
resetProgressBar(): void;
|
|
61
|
-
windowScrollListener(newValue: any): void;
|
|
62
|
-
onMouseLeave: () => void;
|
|
63
|
-
onMouseEnter: (dynamicClaimItemHeader: HTMLElement, idx: number) => void;
|
|
64
|
-
calculatePopupPos(root: ShadowRoot): void;
|
|
65
|
-
removeLoadAnimationClass(event: AnimationEvent): void;
|
|
60
|
+
disconnectedCallback(): Promise<void>;
|
|
61
|
+
onVehicleChange(): Promise<void>;
|
|
62
|
+
private onActiveTabChange;
|
|
63
|
+
private activateClaimItem;
|
|
64
|
+
private printLastClaimResponse;
|
|
65
|
+
updatePopoverLocation: () => void;
|
|
66
|
+
setClaimableItemPopover: (showPopover: boolean, claimableItem?: VehicleServiceItemDTO, claimableItemPopoverRef?: HTMLDivElement) => void;
|
|
66
67
|
completeClaim(response: any): Promise<void>;
|
|
68
|
+
handleClaim: ({ documents, ...payload }: ClaimFormPayload) => Promise<void>;
|
|
69
|
+
handleDevClaim: ({ documents }: ClaimFormPayload) => Promise<void>;
|
|
67
70
|
claim(item: VehicleServiceItemDTO): Promise<void>;
|
|
68
|
-
private handleClaiming;
|
|
69
|
-
private openRedeem;
|
|
70
|
-
private getServiceItems;
|
|
71
|
-
private onActiveTabChange;
|
|
72
|
-
createPopup(item: VehicleServiceItemDTO): any;
|
|
73
71
|
render(): any;
|
|
74
72
|
}
|