adp-web-components 0.3.10 → 0.3.13
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/{add-icon-CF5SHPFy.js → add-icon-BaoMAIgg.js} +2 -4
- package/dist/cjs/{app-globals-CLG2l7G2.js → app-globals-DBRBLgev.js} +3 -2
- package/dist/cjs/arrow-icon-CJX1aUJ8.js +11 -0
- package/dist/cjs/arrow-up-icon-B3Z5Myqt.js +11 -0
- package/dist/cjs/calendar-days-icon-CsHz2cgV.js +11 -0
- package/dist/cjs/{check-icon-BZSYrNhm.js → check-icon-CqTKjw2o.js} +2 -3
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +54 -48
- package/dist/cjs/{decode-time-offset-iH1ebYUR.js → decode-time-offset-DOSaziv5.js} +1 -1
- package/dist/cjs/{fetch-from-CDC_gRf3.js → fetch-from-BNNXW9VC.js} +1 -1
- package/dist/cjs/flexible-container.cjs.entry.js +14 -8
- package/dist/cjs/form-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-date-picker.cjs.entry.js +12 -10
- package/dist/cjs/form-dialog_13.cjs.entry.js +191 -113
- package/dist/cjs/{form-error-message-BVlrmjov.js → form-error-message-K-KI154V.js} +4 -5
- package/dist/cjs/{form-input-cvIkC0L1.js → form-input-PYkIVe7J.js} +10 -10
- package/dist/cjs/{form-input-label-CVEi7sIh.js → form-input-label-uhneFYXO.js} +4 -6
- package/dist/cjs/form-input_7.cjs.entry.js +57 -41
- package/dist/cjs/form-switch.cjs.entry.js +6 -6
- package/dist/cjs/form-time-picker.cjs.entry.js +13 -11
- package/dist/cjs/{functions-DfKzlH6K.js → functions-Bu1AQDD2.js} +16 -14
- package/dist/cjs/general-form.cjs.entry.js +18 -14
- package/dist/cjs/general-inquiry-form.cjs.entry.js +18 -14
- package/dist/cjs/{get-custom-classes-for-portal-DKFBTajH.js → get-custom-classes-for-portal-NNOxAU3P.js} +3 -4
- package/dist/cjs/{get-language-from-url-CFD-qrqi.js → get-language-from-url-p2OXldYh.js} +5 -4
- package/dist/cjs/{get-local-language-rENgkS8G.js → get-local-language-BR0p0bBg.js} +2 -2
- package/dist/cjs/{get-mock-files-CzWl-czX.js → get-mock-files-Dljv5P4k.js} +2 -2
- package/dist/cjs/{index-H5Wezxcv.js → index-Bi6W8dMN.js} +492 -270
- package/dist/cjs/information-table.cjs.entry.js +8 -10
- package/dist/cjs/{loader-icon-DO2Fu65-.js → loader-icon-By94sKO7.js} +2 -10
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/loading-spinner.cjs.entry.js +4 -4
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +10 -8
- package/dist/cjs/{mappers-CoVG3ogT.js → mappers-DF2WCWpn.js} +10 -14
- package/dist/cjs/{material-card-DyHk88WR.js → material-card-BqsZgRVE.js} +4 -12
- package/dist/cjs/part-lookup.cjs.entry.js +11 -7
- package/dist/cjs/qr-code-scan-B-8WHa22.js +11 -0
- package/dist/cjs/service-booking-form.cjs.entry.js +18 -14
- package/dist/cjs/shift-accordion.cjs.entry.js +4 -4
- package/dist/cjs/shift-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/shift-components.cjs.js +4 -4
- package/dist/cjs/shift-slider.cjs.entry.js +7 -5
- package/dist/cjs/shift-switch.cjs.entry.js +4 -4
- package/dist/cjs/shift-tab-content.cjs.entry.js +7 -5
- package/dist/cjs/shift-tabs_2.cjs.entry.js +25 -25
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +18 -14
- package/dist/cjs/test-drive-form.cjs.entry.js +18 -14
- package/dist/cjs/{triangle-alert-B9UanYfs.js → triangle-alert-CN15U99s.js} +3 -11
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +119 -178
- package/dist/cjs/vehicle-info-layout-sV6altzn.js +12 -0
- package/dist/cjs/vehicle-lookup.cjs.entry.js +19 -10
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +30 -30
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/components/empty.css +1 -1
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/flexible-container.js +10 -10
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/information-table.js +12 -20
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/loading-spinner.js +3 -3
- package/dist/collection/components/components/shift-accordion.css +1 -1
- package/dist/collection/components/components/shift-accordion.js +5 -6
- package/dist/collection/components/components/shift-checkbox.js +13 -14
- package/dist/collection/components/components/shift-portal.css +1 -1
- package/dist/collection/components/components/shift-portal.js +3 -4
- package/dist/collection/components/components/shift-select-dropdown.css +1 -1
- package/dist/collection/components/components/shift-select-dropdown.js +23 -24
- package/dist/collection/components/components/shift-select.css +1 -1
- package/dist/collection/components/components/shift-select.js +47 -43
- package/dist/collection/components/components/shift-slider.js +3 -4
- package/dist/collection/components/components/shift-switch.js +13 -14
- package/dist/collection/components/components/shift-tab-content.css +1 -1
- package/dist/collection/components/components/shift-tab-content.js +3 -4
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/components/shift-tabs.js +10 -12
- package/dist/collection/components/form-elements/VehicleImageViewer.js +1 -1
- package/dist/collection/components/form-elements/form-checkbox.js +17 -17
- package/dist/collection/components/form-elements/form-date-picker-legacy.js +26 -27
- package/dist/collection/components/form-elements/form-dialog.js +7 -8
- package/dist/collection/components/form-elements/form-file.js +114 -60
- package/dist/collection/components/form-elements/form-input-preview.js +8 -8
- package/dist/collection/components/form-elements/form-input.js +30 -32
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-phone-number.js +26 -26
- package/dist/collection/components/form-elements/form-picker-input.js +37 -38
- package/dist/collection/components/form-elements/form-select.js +38 -37
- package/dist/collection/components/form-elements/form-shadow-input.js +8 -8
- package/dist/collection/components/form-elements/form-stepper-control.js +17 -17
- package/dist/collection/components/form-elements/form-stepper-submit.js +19 -19
- package/dist/collection/components/form-elements/form-stepper.js +13 -12
- package/dist/collection/components/form-elements/form-structure-error.js +4 -3
- package/dist/collection/components/form-elements/form-structure.js +16 -16
- package/dist/collection/components/form-elements/form-submit.js +16 -16
- package/dist/collection/components/form-elements/form-switch.js +17 -17
- package/dist/collection/components/form-elements/form-text-area.js +22 -22
- package/dist/collection/components/form-elements/form-time-picker-legacy.js +26 -26
- package/dist/collection/components/form-elements/form-vin-input.js +32 -32
- package/dist/collection/components/forms/defaults/mappers.js +4 -4
- package/dist/collection/components/forms/general-form.js +22 -29
- package/dist/collection/components/forms/general-inquiry.js +22 -29
- package/dist/collection/components/forms/service-booking.js +22 -29
- package/dist/collection/components/forms/ssc-lookup.js +22 -29
- package/dist/collection/components/forms/test-drive.js +22 -29
- package/dist/collection/components/forms/vehicle-quotation/VehicleImageViewer.js +1 -1
- package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +13 -13
- package/dist/collection/components/forms/vehicle-quotation.js +22 -27
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +41 -29
- package/dist/collection/components/part-lookup/distributor-lookup.js +49 -36
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +41 -29
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +24 -20
- package/dist/collection/components/part-lookup/part-lookup.js +39 -34
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
- package/dist/collection/components/vehicle-lookup/components/claimable-trace-modal.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +36 -27
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +56 -41
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +21 -21
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +34 -34
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +35 -26
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +38 -29
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +35 -26
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +35 -26
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +67 -55
- package/dist/collection/components/vin-extractor/vin-extractor.js +27 -26
- package/dist/collection/features/form-hook/form-hook.js +4 -3
- package/dist/collection/features/form-hook/functions.js +13 -11
- package/dist/collection/features/form-hook/inputs/form-input.js +10 -10
- package/dist/collection/global/lib/fetch-from.js +1 -1
- package/dist/collection/global/lib/get-custom-classes-for-portal.js +1 -1
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.js +1 -0
- package/dist/collection/templates/vehicle-lookup/mock-data.js +3 -2
- 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-checkbox.js +1 -1
- package/dist/components/form-date-picker.js +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-file.js +1 -1
- package/dist/components/form-input-preview.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-phone-number.js +1 -1
- package/dist/components/form-picker-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-stepper-control.js +1 -1
- package/dist/components/form-stepper-submit.js +1 -1
- package/dist/components/form-stepper.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-switch.js +1 -1
- package/dist/components/form-text-area.js +1 -1
- package/dist/components/form-time-picker.js +1 -1
- package/dist/components/form-vin-input.js +1 -1
- package/dist/components/general-form.js +1 -1
- package/dist/components/general-inquiry-form.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.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/manufacturer-part-lookup.js +1 -1
- package/dist/components/p-50EIzP4j.js +5 -0
- package/dist/components/p-8EOK_QhL.js +5 -0
- package/dist/components/p-B3Vlmu9F.js +5 -0
- package/dist/components/p-B42vuL_p.js +5 -0
- package/dist/components/p-B8g3fLoh.js +5 -0
- package/dist/components/p-BDHTK4yJ.js +5 -0
- package/dist/components/p-BDlZ35Dv.js +5 -0
- package/dist/components/p-BFAzCUQY.js +5 -0
- package/dist/components/p-BHYsBcpG.js +5 -0
- package/dist/components/p-BIeJEFM6.js +5 -0
- package/dist/components/p-BMxw31OW.js +5 -0
- package/dist/components/p-BNs9PHd8.js +5 -0
- package/dist/components/p-BP6R1nYk.js +5 -0
- package/dist/components/p-BcRom3sV.js +5 -0
- package/dist/components/p-BjLQXN9e.js +5 -0
- package/dist/components/{p-CyHSA0jj.js → p-BsgLxjfx.js} +1 -1
- package/dist/components/p-BshR1DsJ.js +5 -0
- package/dist/components/p-C24AOawm.js +5 -0
- package/dist/components/p-C55Gk63d.js +5 -0
- package/dist/components/p-CD1XArUc.js +5 -0
- package/dist/components/p-CK6WFXQF.js +5 -0
- package/dist/components/p-CKrwCtec.js +5 -0
- package/dist/components/p-CLkGfAsm.js +5 -0
- package/dist/components/{p-nQWwKabJ.js → p-CMgPnaDZ.js} +1 -1
- package/dist/components/p-CRJSM0nN.js +5 -0
- package/dist/components/p-CjByjVT0.js +5 -0
- package/dist/components/p-Cl-rntc3.js +5 -0
- package/dist/components/{p-Dl7l7tdl.js → p-ClDpIRF9.js} +1 -1
- package/dist/components/p-Cmq7s1Gl.js +5 -0
- package/dist/components/p-CnZZ3ASF.js +5 -0
- package/dist/components/{p-CRxLIkuy.js → p-CoAe_PpX.js} +1 -1
- package/dist/components/{p-i9Qh8W9F.js → p-CtyIp56a.js} +1 -1
- package/dist/components/p-CvcaE6Ss.js +5 -0
- package/dist/components/{p-X95dYnNe.js → p-D-0CfzDk.js} +1 -1
- package/dist/components/p-DBErZTaY.js +5 -0
- package/dist/components/p-DJ0awYVE.js +5 -0
- package/dist/components/p-DNZ31iYw.js +5 -0
- package/dist/components/p-DWGSY0dp.js +5 -0
- package/dist/components/p-DbAAihIH.js +5 -0
- package/dist/components/p-DlG98nFs.js +5 -0
- package/dist/components/p-Dv_BQG7D.js +5 -0
- package/dist/components/{p-C-oReaYu.js → p-DzfwEYqx.js} +1 -1
- package/dist/components/{p-Bk0lC2Er.js → p-G9UmKW9m.js} +1 -1
- package/dist/components/p-Hlqj6HsH.js +5 -0
- package/dist/components/p-Wv20cFTm.js +5 -0
- package/dist/components/p-dRP9cgZF.js +5 -0
- package/dist/components/p-ubqjXh5U.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-checkbox.js +1 -1
- package/dist/components/shift-portal.js +1 -1
- package/dist/components/shift-select-dropdown.js +1 -1
- package/dist/components/shift-select.js +1 -1
- package/dist/components/shift-slider.js +1 -1
- package/dist/components/shift-switch.js +1 -1
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.js +1 -1
- package/dist/components/ssc-lookup-form.js +1 -1
- package/dist/components/test-drive-form.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-quotation-form.js +1 -1
- package/dist/components/vehicle-sale-information.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/{add-icon-1FhDJgrT.js → add-icon-DxQVyX6U.js} +2 -4
- package/dist/esm/app-globals-ci3rJxmu.js +10 -0
- package/dist/esm/arrow-icon-DRTeN2D5.js +9 -0
- package/dist/esm/arrow-up-icon-FAYFxG6c.js +9 -0
- package/dist/esm/calendar-days-icon-BOy0a_W-.js +9 -0
- package/dist/esm/{check-icon-mzFBdGKX.js → check-icon-BYK1ESZG.js} +2 -3
- package/dist/esm/dead-stock-lookup_3.entry.js +54 -48
- package/dist/esm/{decode-time-offset-Yzmqcv0-.js → decode-time-offset-ChO_PV6l.js} +1 -1
- package/dist/esm/{fetch-from-CJnc-a42.js → fetch-from-Cmq7s1Gl.js} +1 -1
- package/dist/esm/flexible-container.entry.js +14 -8
- package/dist/esm/form-checkbox.entry.js +6 -6
- package/dist/esm/form-date-picker.entry.js +12 -10
- package/dist/esm/form-dialog_13.entry.js +191 -113
- package/dist/esm/{form-error-message-7rL_3zgN.js → form-error-message-YvMHko71.js} +4 -5
- package/dist/esm/{form-input-Dcr-Pd8b.js → form-input-DAgayhNz.js} +10 -10
- package/dist/esm/{form-input-label-C4MUngYi.js → form-input-label-cuvgzRcH.js} +4 -6
- package/dist/esm/form-input_7.entry.js +57 -41
- package/dist/esm/form-switch.entry.js +6 -6
- package/dist/esm/form-time-picker.entry.js +13 -11
- package/dist/esm/{functions-D5F-Ha2E.js → functions-DHzedl_R.js} +16 -14
- package/dist/esm/general-form.entry.js +18 -14
- package/dist/esm/general-inquiry-form.entry.js +18 -14
- package/dist/esm/{get-custom-classes-for-portal-8uDhq9VB.js → get-custom-classes-for-portal-C4LvwyrX.js} +3 -4
- package/dist/esm/{get-language-from-url-BGvsZ8gr.js → get-language-from-url-U4hZ4dwn.js} +5 -4
- package/dist/esm/{get-local-language-Ni37hOJT.js → get-local-language-TRD6vPH7.js} +2 -2
- package/dist/esm/{get-mock-files-CTROnpSS.js → get-mock-files-K2mWecRb.js} +2 -2
- package/dist/esm/{index-jNkxdTjc.js → index-Cg4V9l26.js} +493 -270
- package/dist/esm/information-table.entry.js +8 -10
- package/dist/esm/{loader-icon-C9goMj-j.js → loader-icon-B2ls1yXl.js} +2 -10
- package/dist/esm/loader.js +4 -4
- package/dist/esm/loading-spinner.entry.js +4 -4
- package/dist/esm/manufacturer-part-lookup.entry.js +10 -8
- package/dist/esm/{mappers-CA3VC0xY.js → mappers-CeTQZn37.js} +10 -14
- package/dist/esm/{material-card-ZydeukMY.js → material-card-BMtefyp-.js} +4 -12
- package/dist/esm/part-lookup.entry.js +11 -7
- package/dist/esm/qr-code-scan-CktgNBSD.js +9 -0
- package/dist/esm/service-booking-form.entry.js +18 -14
- package/dist/esm/shift-accordion.entry.js +4 -4
- package/dist/esm/shift-checkbox.entry.js +5 -5
- package/dist/esm/shift-components.js +5 -5
- package/dist/esm/shift-slider.entry.js +7 -5
- package/dist/esm/shift-switch.entry.js +4 -4
- package/dist/esm/shift-tab-content.entry.js +7 -5
- package/dist/esm/shift-tabs_2.entry.js +25 -25
- package/dist/esm/ssc-lookup-form.entry.js +18 -14
- package/dist/esm/test-drive-form.entry.js +18 -14
- package/dist/esm/{triangle-alert-CVJ0-eRT.js → triangle-alert-D4H9aWiT.js} +3 -11
- package/dist/esm/vehicle-accessories_7.entry.js +119 -178
- package/dist/esm/vehicle-info-layout-DQ12Civq.js +10 -0
- package/dist/esm/vehicle-lookup.entry.js +19 -10
- package/dist/esm/vehicle-quotation-form.entry.js +30 -30
- package/dist/integration-manifest.json +14 -21
- package/dist/shift-components/p-031f2ae6.entry.js +5 -0
- package/dist/shift-components/p-0578b913.entry.js +5 -0
- package/dist/shift-components/{p-CyHqRBNl.js → p-08Pl1Pmo.js} +1 -1
- package/dist/{components/p-CJVlKa4a.js → shift-components/p-0dd7911f.entry.js} +1 -1
- package/dist/shift-components/p-10511716.entry.js +5 -0
- package/dist/shift-components/p-1500556f.entry.js +5 -0
- package/dist/shift-components/p-214259ae.entry.js +5 -0
- package/dist/shift-components/p-22648595.entry.js +5 -0
- package/dist/shift-components/p-23df4ed2.entry.js +5 -0
- package/dist/shift-components/p-2f904561.entry.js +5 -0
- package/dist/shift-components/p-332ebda4.entry.js +5 -0
- package/dist/shift-components/p-3fcb1657.entry.js +5 -0
- package/dist/shift-components/p-46e5146f.entry.js +5 -0
- package/dist/shift-components/{p-dff52f51.entry.js → p-61ecc144.entry.js} +1 -1
- package/dist/shift-components/p-6b82a9b3.entry.js +5 -0
- package/dist/shift-components/p-7a41a739.entry.js +5 -0
- package/dist/shift-components/p-960fedbb.entry.js +5 -0
- package/dist/shift-components/p-981d1f44.entry.js +5 -0
- package/dist/shift-components/p-9c950549.entry.js +5 -0
- package/dist/shift-components/{p-BqIKtMjz.js → p-B8RCucpl.js} +1 -1
- package/dist/shift-components/{p-Dax5QQIX.js → p-BBmr0kTe.js} +1 -1
- package/dist/shift-components/{p-DqLLLv_z.js → p-BG5y01yj.js} +1 -1
- package/dist/shift-components/p-BLdwm9KB.js +5 -0
- package/dist/shift-components/{p-D7tlaAVX.js → p-BVDXHvth.js} +1 -1
- package/dist/shift-components/p-BY1wHcOT.js +5 -0
- package/dist/shift-components/{p-CRXqIT0k.js → p-BaC5C1YJ.js} +1 -1
- package/dist/shift-components/{p-BYqBwpb9.js → p-BpCf2ue6.js} +1 -1
- package/dist/shift-components/{p-WjikIqgU.js → p-BtLpOQVM.js} +1 -1
- package/dist/shift-components/{p-BAVCXWzv.js → p-CC1CaPP4.js} +1 -1
- package/dist/shift-components/{p-BUeE5BHf.js → p-CRd5RAng.js} +1 -1
- package/dist/shift-components/p-Cg4V9l26.js +6 -0
- package/dist/shift-components/{p-DLnQ2n2n.js → p-CiA8HlYO.js} +1 -1
- package/dist/shift-components/p-Cmq7s1Gl.js +5 -0
- package/dist/shift-components/{p-gbZBovQk.js → p-CtUQMviL.js} +1 -1
- package/dist/shift-components/p-D2XgNV12.js +5 -0
- package/dist/shift-components/p-DlBduQTw.js +5 -0
- package/dist/shift-components/{p-Dkfzp2fH.js → p-Dvl1mJ6N.js} +1 -1
- package/dist/shift-components/{p-CAlGd4kD.js → p-DwFWMVcD.js} +1 -1
- package/dist/shift-components/{p-6CGlGx2z.js → p-FFH7sR1n.js} +1 -1
- package/dist/shift-components/p-a4086c90.entry.js +5 -0
- package/dist/shift-components/p-a55ceb19.entry.js +5 -0
- package/dist/shift-components/p-b611f72e.entry.js +5 -0
- package/dist/shift-components/p-bc966aa0.entry.js +5 -0
- package/dist/shift-components/p-d33c83ac.entry.js +5 -0
- package/dist/shift-components/p-e979caa9.entry.js +5 -0
- package/dist/shift-components/p-fa39d151.entry.js +5 -0
- package/dist/shift-components/p-fe7ece41.entry.js +5 -0
- package/dist/shift-components/{p-BPBFbh5T.js → p-rsylYLbj.js} +1 -1
- package/dist/shift-components/p-yhCrSkom.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/stencil-docs.d.ts +37 -0
- package/dist/stencil-docs.json +552 -434
- package/dist/types/components/components/shift-select.d.ts +1 -1
- package/dist/types/components/form-elements/form-file.d.ts +3 -0
- package/dist/types/components/part-lookup/part-lookup.d.ts +1 -1
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +1 -1
- package/dist/types/components.d.ts +675 -122
- package/dist/types/features/multi-lingual/types.d.ts +4 -4
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +2 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.d.ts +9 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.d.ts +25 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.d.ts +8 -0
- package/dist/types/locales/forms/type.d.ts +4 -4
- package/dist/types/locales/partLookup/distributor/type.d.ts +8 -8
- package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
- package/dist/types/locales/partLookup/wrapper-type.d.ts +14 -14
- package/dist/types/locales/vehicleLookup/accessories/type.d.ts +6 -6
- package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +10 -10
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +8 -8
- package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +28 -28
- package/dist/types/stencil-public-runtime.d.ts +158 -6
- package/package.json +11 -3
- package/dist/cjs/arrow-icon-ZTqfmBmE.js +0 -12
- package/dist/cjs/arrow-up-icon-eGUQ8IBP.js +0 -12
- package/dist/cjs/calendar-days-icon-Ugslrikt.js +0 -21
- package/dist/cjs/qr-code-scan-DIO-qSdh.js +0 -22
- package/dist/cjs/vehicle-info-layout-DSEDx5Ah.js +0 -17
- package/dist/components/p-29N0dbLz.js +0 -5
- package/dist/components/p-5xxH8tbS.js +0 -5
- package/dist/components/p-9i0_UJRs.js +0 -5
- package/dist/components/p-9t4GxAn6.js +0 -5
- package/dist/components/p-B0q_TtAs.js +0 -5
- package/dist/components/p-B3GZNjni.js +0 -5
- package/dist/components/p-B82T4Hkf.js +0 -5
- package/dist/components/p-B9UMGz5l.js +0 -5
- package/dist/components/p-BKEmXOAB.js +0 -5
- package/dist/components/p-BO45PIaz.js +0 -5
- package/dist/components/p-BYUpn8lm.js +0 -5
- package/dist/components/p-Bl19uBGg.js +0 -5
- package/dist/components/p-ByVBkYAW.js +0 -5
- package/dist/components/p-Bz6DMlPf.js +0 -5
- package/dist/components/p-C9ZOfr_w.js +0 -5
- package/dist/components/p-CAz4JeZW.js +0 -5
- package/dist/components/p-CDSPKvU1.js +0 -5
- package/dist/components/p-CJ9S-Asv.js +0 -5
- package/dist/components/p-CJnc-a42.js +0 -5
- package/dist/components/p-CSgwIdIr.js +0 -5
- package/dist/components/p-C_8HkL6G.js +0 -5
- package/dist/components/p-C_IRqEhE.js +0 -5
- package/dist/components/p-CeGDfcYR.js +0 -5
- package/dist/components/p-CeJEEQYu.js +0 -5
- package/dist/components/p-Cnkkomtx.js +0 -5
- package/dist/components/p-D8rN5WIR.js +0 -5
- package/dist/components/p-DLCfMh59.js +0 -5
- package/dist/components/p-DT4kh-pu.js +0 -5
- package/dist/components/p-DeN_jzI1.js +0 -5
- package/dist/components/p-DwIMCfpC.js +0 -5
- package/dist/components/p-PCwMfpZi.js +0 -5
- package/dist/components/p-VimEBeIa.js +0 -5
- package/dist/components/p-Ycq41Fdn.js +0 -5
- package/dist/components/p-a7ph9yIa.js +0 -5
- package/dist/components/p-aQWi8aKM.js +0 -5
- package/dist/components/p-ecmObcUU.js +0 -5
- package/dist/components/p-k759Go4_.js +0 -5
- package/dist/components/p-ywf-N3VN.js +0 -5
- package/dist/esm/app-globals-iQ64oiU-.js +0 -9
- package/dist/esm/arrow-icon-CpbG2bMD.js +0 -10
- package/dist/esm/arrow-up-icon-CSgSH4zF.js +0 -10
- package/dist/esm/calendar-days-icon-FhJhuU8S.js +0 -19
- package/dist/esm/qr-code-scan-DUAfaPLZ.js +0 -20
- package/dist/esm/vehicle-info-layout-iwnuxQFr.js +0 -15
- package/dist/shift-components/p-1f9c801c.entry.js +0 -5
- package/dist/shift-components/p-33484b98.entry.js +0 -5
- package/dist/shift-components/p-37f0d7f7.entry.js +0 -5
- package/dist/shift-components/p-40f0ba9e.entry.js +0 -5
- package/dist/shift-components/p-4f20eeac.entry.js +0 -5
- package/dist/shift-components/p-5936fb9c.entry.js +0 -5
- package/dist/shift-components/p-5b7d5e05.entry.js +0 -5
- package/dist/shift-components/p-5ce6a1c0.entry.js +0 -5
- package/dist/shift-components/p-62f175f2.entry.js +0 -5
- package/dist/shift-components/p-67e9a531.entry.js +0 -5
- package/dist/shift-components/p-6e65d13b.entry.js +0 -5
- package/dist/shift-components/p-74eed800.entry.js +0 -5
- package/dist/shift-components/p-8c30b865.entry.js +0 -5
- package/dist/shift-components/p-B03BLbR_.js +0 -5
- package/dist/shift-components/p-B8VkFyfR.js +0 -5
- package/dist/shift-components/p-CJnc-a42.js +0 -5
- package/dist/shift-components/p-DI7VJflN.js +0 -5
- package/dist/shift-components/p-a0137183.entry.js +0 -5
- package/dist/shift-components/p-a08944e6.entry.js +0 -5
- package/dist/shift-components/p-a8693d7c.entry.js +0 -5
- package/dist/shift-components/p-abc043a4.entry.js +0 -5
- package/dist/shift-components/p-aeb00243.entry.js +0 -5
- package/dist/shift-components/p-b717911c.entry.js +0 -5
- package/dist/shift-components/p-c9608074.entry.js +0 -5
- package/dist/shift-components/p-d8f10684.entry.js +0 -5
- package/dist/shift-components/p-dc1a4f60.entry.js +0 -5
- package/dist/shift-components/p-dd24ce5f.entry.js +0 -5
- package/dist/shift-components/p-e797e560.entry.js +0 -5
- package/dist/shift-components/p-f155c990.entry.js +0 -5
- package/dist/shift-components/p-jNkxdTjc.js +0 -6
- package/dist/shift-components/p-jnXfhMAx.js +0 -5
- package/dist/shift-components/p-zUjGUnSs.js +0 -5
- /package/dist/components/{p-DN4c_zdE.js → p-5NIYyHI-.js} +0 -0
- /package/dist/components/{p-Cgt5s_xn.js → p-B6xZ__mT.js} +0 -0
- /package/dist/components/{p-DHfdaMCZ.js → p-BA1Id0rV.js} +0 -0
- /package/dist/components/{p-C1xgsXlk.js → p-BacLEn39.js} +0 -0
- /package/dist/components/{p-JSG4fAIl.js → p-BcYtRtiU.js} +0 -0
- /package/dist/components/{p-BG8YXzND.js → p-ByNlQjpu.js} +0 -0
- /package/dist/components/{p-BMqwfA7R.js → p-ByRA9Jio.js} +0 -0
- /package/dist/components/{p-BlqCKH24.js → p-BzsXkZqy.js} +0 -0
- /package/dist/components/{p-iTJ5pT2w.js → p-CILGkcfa.js} +0 -0
- /package/dist/components/{p-BHy4oEqB.js → p-CLdijNKL.js} +0 -0
- /package/dist/components/{p-8u5uhwdg.js → p-D9mmIizU.js} +0 -0
- /package/dist/components/{p-uiE7emGF.js → p-DRhkO-Ac.js} +0 -0
- /package/dist/components/{p-Co_hK-X8.js → p-D_ukwEEB.js} +0 -0
- /package/dist/components/{p-piZ41_ho.js → p-Df4xlD1R.js} +0 -0
- /package/dist/components/{p-Ce4X3l8Z.js → p-MGQ2O9as.js} +0 -0
- /package/dist/components/{p-pnQgLSsX.js → p-_nGOa2Au.js} +0 -0
- /package/dist/components/{p-ClpSwIg-.js → p-d7wdNFwt.js} +0 -0
|
@@ -67,9 +67,9 @@ export class SSCLookupForm {
|
|
|
67
67
|
// #endregion
|
|
68
68
|
render() {
|
|
69
69
|
var _a, _b;
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: 'f9efa6bfdad64cf8ec7613ae9c245ba7ff61b22b', translate: "no" }, h("div", { key: 'c52a74f4b29b30476b77201a66abf81487f560eb', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: '068a2662ba4c042bc5bfbeac72e685817e1a37d2', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: 'e8a08b325e81c9f5b4c1ce7976e747ec6c1d679c', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
71
71
|
'opacity-0': this.structureRendered,
|
|
72
|
-
}) }, h(LoaderIcon, { key: '
|
|
72
|
+
}) }, h(LoaderIcon, { key: '4ca121d0fa731a27a5bcfc2702dd4c5891a518bf', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '3f37cf6049ddac0c3552066bcf7425a607872b23', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'ab4b4dc0d541c002efdc317d506f2fcabdda9944', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '1a79f36ea2169f9c45ea88d98fba32e33693350d' }))))))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "ssc-lookup-form"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,6 @@ export class SSCLookupForm {
|
|
|
87
87
|
return {
|
|
88
88
|
"language": {
|
|
89
89
|
"type": "string",
|
|
90
|
-
"attribute": "language",
|
|
91
90
|
"mutable": true,
|
|
92
91
|
"complexType": {
|
|
93
92
|
"original": "LanguageKeys",
|
|
@@ -96,7 +95,8 @@ export class SSCLookupForm {
|
|
|
96
95
|
"LanguageKeys": {
|
|
97
96
|
"location": "import",
|
|
98
97
|
"path": "~features/multi-lingual",
|
|
99
|
-
"id": "src/features/multi-lingual/index.ts::LanguageKeys"
|
|
98
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys",
|
|
99
|
+
"referenceLocation": "LanguageKeys"
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
},
|
|
@@ -108,11 +108,11 @@ export class SSCLookupForm {
|
|
|
108
108
|
},
|
|
109
109
|
"getter": false,
|
|
110
110
|
"setter": false,
|
|
111
|
-
"reflect": true
|
|
111
|
+
"reflect": true,
|
|
112
|
+
"attribute": "language"
|
|
112
113
|
},
|
|
113
114
|
"gistId": {
|
|
114
115
|
"type": "string",
|
|
115
|
-
"attribute": "gist-id",
|
|
116
116
|
"mutable": false,
|
|
117
117
|
"complexType": {
|
|
118
118
|
"original": "string",
|
|
@@ -127,11 +127,11 @@ export class SSCLookupForm {
|
|
|
127
127
|
},
|
|
128
128
|
"getter": false,
|
|
129
129
|
"setter": false,
|
|
130
|
-
"reflect": false
|
|
130
|
+
"reflect": false,
|
|
131
|
+
"attribute": "gist-id"
|
|
131
132
|
},
|
|
132
133
|
"extraHeader": {
|
|
133
134
|
"type": "unknown",
|
|
134
|
-
"attribute": "extra-header",
|
|
135
135
|
"mutable": false,
|
|
136
136
|
"complexType": {
|
|
137
137
|
"original": "object",
|
|
@@ -149,7 +149,6 @@ export class SSCLookupForm {
|
|
|
149
149
|
},
|
|
150
150
|
"extraPayload": {
|
|
151
151
|
"type": "unknown",
|
|
152
|
-
"attribute": "extra-payload",
|
|
153
152
|
"mutable": false,
|
|
154
153
|
"complexType": {
|
|
155
154
|
"original": "object",
|
|
@@ -167,7 +166,6 @@ export class SSCLookupForm {
|
|
|
167
166
|
},
|
|
168
167
|
"structureUrl": {
|
|
169
168
|
"type": "string",
|
|
170
|
-
"attribute": "structure-url",
|
|
171
169
|
"mutable": false,
|
|
172
170
|
"complexType": {
|
|
173
171
|
"original": "string",
|
|
@@ -182,11 +180,11 @@ export class SSCLookupForm {
|
|
|
182
180
|
},
|
|
183
181
|
"getter": false,
|
|
184
182
|
"setter": false,
|
|
185
|
-
"reflect": false
|
|
183
|
+
"reflect": false,
|
|
184
|
+
"attribute": "structure-url"
|
|
186
185
|
},
|
|
187
186
|
"loadingChanges": {
|
|
188
187
|
"type": "unknown",
|
|
189
|
-
"attribute": "loading-changes",
|
|
190
188
|
"mutable": false,
|
|
191
189
|
"complexType": {
|
|
192
190
|
"original": "(loading: boolean) => void",
|
|
@@ -204,7 +202,6 @@ export class SSCLookupForm {
|
|
|
204
202
|
},
|
|
205
203
|
"errorCallback": {
|
|
206
204
|
"type": "unknown",
|
|
207
|
-
"attribute": "error-callback",
|
|
208
205
|
"mutable": false,
|
|
209
206
|
"complexType": {
|
|
210
207
|
"original": "(error: any, message: string) => Promise<void | boolean>",
|
|
@@ -227,7 +224,6 @@ export class SSCLookupForm {
|
|
|
227
224
|
},
|
|
228
225
|
"successCallback": {
|
|
229
226
|
"type": "unknown",
|
|
230
|
-
"attribute": "success-callback",
|
|
231
227
|
"mutable": false,
|
|
232
228
|
"complexType": {
|
|
233
229
|
"original": "(data: any, message?: string) => Promise<void | boolean>",
|
|
@@ -250,7 +246,6 @@ export class SSCLookupForm {
|
|
|
250
246
|
},
|
|
251
247
|
"stepChangeCallback": {
|
|
252
248
|
"type": "unknown",
|
|
253
|
-
"attribute": "step-change-callback",
|
|
254
249
|
"mutable": false,
|
|
255
250
|
"complexType": {
|
|
256
251
|
"original": "(step: number, currentForm?: any) => void",
|
|
@@ -268,7 +263,6 @@ export class SSCLookupForm {
|
|
|
268
263
|
},
|
|
269
264
|
"structure": {
|
|
270
265
|
"type": "unknown",
|
|
271
|
-
"attribute": "structure",
|
|
272
266
|
"mutable": true,
|
|
273
267
|
"complexType": {
|
|
274
268
|
"original": "FormElementStructure<any> | undefined",
|
|
@@ -277,7 +271,8 @@ export class SSCLookupForm {
|
|
|
277
271
|
"FormElementStructure": {
|
|
278
272
|
"location": "import",
|
|
279
273
|
"path": "~features/form-hook",
|
|
280
|
-
"id": "src/features/form-hook/index.ts::FormElementStructure"
|
|
274
|
+
"id": "src/features/form-hook/index.ts::FormElementStructure",
|
|
275
|
+
"referenceLocation": "FormElementStructure"
|
|
281
276
|
}
|
|
282
277
|
}
|
|
283
278
|
},
|
|
@@ -292,7 +287,6 @@ export class SSCLookupForm {
|
|
|
292
287
|
},
|
|
293
288
|
"fields": {
|
|
294
289
|
"type": "unknown",
|
|
295
|
-
"attribute": "fields",
|
|
296
290
|
"mutable": true,
|
|
297
291
|
"complexType": {
|
|
298
292
|
"original": "object",
|
|
@@ -310,7 +304,6 @@ export class SSCLookupForm {
|
|
|
310
304
|
},
|
|
311
305
|
"formReadyCallback": {
|
|
312
306
|
"type": "unknown",
|
|
313
|
-
"attribute": "form-ready-callback",
|
|
314
307
|
"mutable": false,
|
|
315
308
|
"complexType": {
|
|
316
309
|
"original": "() => void",
|
|
@@ -328,7 +321,6 @@ export class SSCLookupForm {
|
|
|
328
321
|
},
|
|
329
322
|
"theme": {
|
|
330
323
|
"type": "string",
|
|
331
|
-
"attribute": "theme",
|
|
332
324
|
"mutable": false,
|
|
333
325
|
"complexType": {
|
|
334
326
|
"original": "string",
|
|
@@ -343,11 +335,11 @@ export class SSCLookupForm {
|
|
|
343
335
|
},
|
|
344
336
|
"getter": false,
|
|
345
337
|
"setter": false,
|
|
346
|
-
"reflect": false
|
|
338
|
+
"reflect": false,
|
|
339
|
+
"attribute": "theme"
|
|
347
340
|
},
|
|
348
341
|
"formId": {
|
|
349
342
|
"type": "string",
|
|
350
|
-
"attribute": "form-id",
|
|
351
343
|
"mutable": false,
|
|
352
344
|
"complexType": {
|
|
353
345
|
"original": "string",
|
|
@@ -362,11 +354,11 @@ export class SSCLookupForm {
|
|
|
362
354
|
},
|
|
363
355
|
"getter": false,
|
|
364
356
|
"setter": false,
|
|
365
|
-
"reflect": false
|
|
357
|
+
"reflect": false,
|
|
358
|
+
"attribute": "form-id"
|
|
366
359
|
},
|
|
367
360
|
"isDev": {
|
|
368
361
|
"type": "boolean",
|
|
369
|
-
"attribute": "is-dev",
|
|
370
362
|
"mutable": false,
|
|
371
363
|
"complexType": {
|
|
372
364
|
"original": "boolean",
|
|
@@ -382,11 +374,11 @@ export class SSCLookupForm {
|
|
|
382
374
|
"getter": false,
|
|
383
375
|
"setter": false,
|
|
384
376
|
"reflect": false,
|
|
377
|
+
"attribute": "is-dev",
|
|
385
378
|
"defaultValue": "false"
|
|
386
379
|
},
|
|
387
380
|
"disableScrollToTop": {
|
|
388
381
|
"type": "boolean",
|
|
389
|
-
"attribute": "disable-scroll-to-top",
|
|
390
382
|
"mutable": false,
|
|
391
383
|
"complexType": {
|
|
392
384
|
"original": "boolean",
|
|
@@ -401,11 +393,11 @@ export class SSCLookupForm {
|
|
|
401
393
|
},
|
|
402
394
|
"getter": false,
|
|
403
395
|
"setter": false,
|
|
404
|
-
"reflect": false
|
|
396
|
+
"reflect": false,
|
|
397
|
+
"attribute": "disable-scroll-to-top"
|
|
405
398
|
},
|
|
406
399
|
"isMobileForm": {
|
|
407
400
|
"type": "boolean",
|
|
408
|
-
"attribute": "is-mobile-form",
|
|
409
401
|
"mutable": false,
|
|
410
402
|
"complexType": {
|
|
411
403
|
"original": "boolean",
|
|
@@ -421,11 +413,11 @@ export class SSCLookupForm {
|
|
|
421
413
|
"getter": false,
|
|
422
414
|
"setter": false,
|
|
423
415
|
"reflect": false,
|
|
416
|
+
"attribute": "is-mobile-form",
|
|
424
417
|
"defaultValue": "false"
|
|
425
418
|
},
|
|
426
419
|
"getMobileToken": {
|
|
427
420
|
"type": "unknown",
|
|
428
|
-
"attribute": "get-mobile-token",
|
|
429
421
|
"mutable": false,
|
|
430
422
|
"complexType": {
|
|
431
423
|
"original": "() => string",
|
|
@@ -467,7 +459,8 @@ export class SSCLookupForm {
|
|
|
467
459
|
"FormHook": {
|
|
468
460
|
"location": "import",
|
|
469
461
|
"path": "~features/form-hook",
|
|
470
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
462
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
463
|
+
"referenceLocation": "FormHook"
|
|
471
464
|
}
|
|
472
465
|
},
|
|
473
466
|
"return": "Promise<FormHook<any>>"
|
|
@@ -56,9 +56,9 @@ export class TestDriveForm {
|
|
|
56
56
|
// #endregion
|
|
57
57
|
render() {
|
|
58
58
|
var _a, _b;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '5266e1b30cb4759dc10011eaf264c568baac2a36', translate: "no" }, h("div", { key: '5d801974606cbcdbe834d95abcb7ff5d5e85e00d', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: 'c0e58b6f678685b4e69021401b772294b913ec64', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '28b515d0216c1166ceeb5937a7a7b047698f9227', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
60
60
|
'opacity-0': this.structureRendered,
|
|
61
|
-
}) }, h(LoaderIcon, { key: '
|
|
61
|
+
}) }, h(LoaderIcon, { key: '8e195e515962ce2b6efd49e11ce366b3703f52d3', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '5df846b3997a92d786f47cf09c0cc2e5d325e3e5', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: '40ff429b10d3a8addbc8bc803bfcd4ebc0f5eac0', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '924762fabdd688dda23233a82a4604f4e51a9210' }))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "test-drive-form"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,7 +76,6 @@ export class TestDriveForm {
|
|
|
76
76
|
return {
|
|
77
77
|
"language": {
|
|
78
78
|
"type": "string",
|
|
79
|
-
"attribute": "language",
|
|
80
79
|
"mutable": true,
|
|
81
80
|
"complexType": {
|
|
82
81
|
"original": "LanguageKeys",
|
|
@@ -85,7 +84,8 @@ export class TestDriveForm {
|
|
|
85
84
|
"LanguageKeys": {
|
|
86
85
|
"location": "import",
|
|
87
86
|
"path": "~features/multi-lingual",
|
|
88
|
-
"id": "src/features/multi-lingual/index.ts::LanguageKeys"
|
|
87
|
+
"id": "src/features/multi-lingual/index.ts::LanguageKeys",
|
|
88
|
+
"referenceLocation": "LanguageKeys"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -97,11 +97,11 @@ export class TestDriveForm {
|
|
|
97
97
|
},
|
|
98
98
|
"getter": false,
|
|
99
99
|
"setter": false,
|
|
100
|
-
"reflect": true
|
|
100
|
+
"reflect": true,
|
|
101
|
+
"attribute": "language"
|
|
101
102
|
},
|
|
102
103
|
"gistId": {
|
|
103
104
|
"type": "string",
|
|
104
|
-
"attribute": "gist-id",
|
|
105
105
|
"mutable": false,
|
|
106
106
|
"complexType": {
|
|
107
107
|
"original": "string",
|
|
@@ -116,11 +116,11 @@ export class TestDriveForm {
|
|
|
116
116
|
},
|
|
117
117
|
"getter": false,
|
|
118
118
|
"setter": false,
|
|
119
|
-
"reflect": false
|
|
119
|
+
"reflect": false,
|
|
120
|
+
"attribute": "gist-id"
|
|
120
121
|
},
|
|
121
122
|
"extraHeader": {
|
|
122
123
|
"type": "unknown",
|
|
123
|
-
"attribute": "extra-header",
|
|
124
124
|
"mutable": false,
|
|
125
125
|
"complexType": {
|
|
126
126
|
"original": "object",
|
|
@@ -138,7 +138,6 @@ export class TestDriveForm {
|
|
|
138
138
|
},
|
|
139
139
|
"extraPayload": {
|
|
140
140
|
"type": "unknown",
|
|
141
|
-
"attribute": "extra-payload",
|
|
142
141
|
"mutable": false,
|
|
143
142
|
"complexType": {
|
|
144
143
|
"original": "object",
|
|
@@ -156,7 +155,6 @@ export class TestDriveForm {
|
|
|
156
155
|
},
|
|
157
156
|
"structureUrl": {
|
|
158
157
|
"type": "string",
|
|
159
|
-
"attribute": "structure-url",
|
|
160
158
|
"mutable": false,
|
|
161
159
|
"complexType": {
|
|
162
160
|
"original": "string",
|
|
@@ -171,11 +169,11 @@ export class TestDriveForm {
|
|
|
171
169
|
},
|
|
172
170
|
"getter": false,
|
|
173
171
|
"setter": false,
|
|
174
|
-
"reflect": false
|
|
172
|
+
"reflect": false,
|
|
173
|
+
"attribute": "structure-url"
|
|
175
174
|
},
|
|
176
175
|
"loadingChanges": {
|
|
177
176
|
"type": "unknown",
|
|
178
|
-
"attribute": "loading-changes",
|
|
179
177
|
"mutable": false,
|
|
180
178
|
"complexType": {
|
|
181
179
|
"original": "(loading: boolean) => void",
|
|
@@ -193,7 +191,6 @@ export class TestDriveForm {
|
|
|
193
191
|
},
|
|
194
192
|
"errorCallback": {
|
|
195
193
|
"type": "unknown",
|
|
196
|
-
"attribute": "error-callback",
|
|
197
194
|
"mutable": false,
|
|
198
195
|
"complexType": {
|
|
199
196
|
"original": "(error: any, message: string) => Promise<void | boolean>",
|
|
@@ -216,7 +213,6 @@ export class TestDriveForm {
|
|
|
216
213
|
},
|
|
217
214
|
"successCallback": {
|
|
218
215
|
"type": "unknown",
|
|
219
|
-
"attribute": "success-callback",
|
|
220
216
|
"mutable": false,
|
|
221
217
|
"complexType": {
|
|
222
218
|
"original": "(data: any, message?: string) => Promise<void | boolean>",
|
|
@@ -239,7 +235,6 @@ export class TestDriveForm {
|
|
|
239
235
|
},
|
|
240
236
|
"stepChangeCallback": {
|
|
241
237
|
"type": "unknown",
|
|
242
|
-
"attribute": "step-change-callback",
|
|
243
238
|
"mutable": false,
|
|
244
239
|
"complexType": {
|
|
245
240
|
"original": "(step: number, currentForm?: any) => void",
|
|
@@ -257,7 +252,6 @@ export class TestDriveForm {
|
|
|
257
252
|
},
|
|
258
253
|
"structure": {
|
|
259
254
|
"type": "unknown",
|
|
260
|
-
"attribute": "structure",
|
|
261
255
|
"mutable": true,
|
|
262
256
|
"complexType": {
|
|
263
257
|
"original": "FormElementStructure<any> | undefined",
|
|
@@ -266,7 +260,8 @@ export class TestDriveForm {
|
|
|
266
260
|
"FormElementStructure": {
|
|
267
261
|
"location": "import",
|
|
268
262
|
"path": "~features/form-hook",
|
|
269
|
-
"id": "src/features/form-hook/index.ts::FormElementStructure"
|
|
263
|
+
"id": "src/features/form-hook/index.ts::FormElementStructure",
|
|
264
|
+
"referenceLocation": "FormElementStructure"
|
|
270
265
|
}
|
|
271
266
|
}
|
|
272
267
|
},
|
|
@@ -281,7 +276,6 @@ export class TestDriveForm {
|
|
|
281
276
|
},
|
|
282
277
|
"fields": {
|
|
283
278
|
"type": "unknown",
|
|
284
|
-
"attribute": "fields",
|
|
285
279
|
"mutable": true,
|
|
286
280
|
"complexType": {
|
|
287
281
|
"original": "object",
|
|
@@ -299,7 +293,6 @@ export class TestDriveForm {
|
|
|
299
293
|
},
|
|
300
294
|
"formReadyCallback": {
|
|
301
295
|
"type": "unknown",
|
|
302
|
-
"attribute": "form-ready-callback",
|
|
303
296
|
"mutable": false,
|
|
304
297
|
"complexType": {
|
|
305
298
|
"original": "() => void",
|
|
@@ -317,7 +310,6 @@ export class TestDriveForm {
|
|
|
317
310
|
},
|
|
318
311
|
"theme": {
|
|
319
312
|
"type": "string",
|
|
320
|
-
"attribute": "theme",
|
|
321
313
|
"mutable": false,
|
|
322
314
|
"complexType": {
|
|
323
315
|
"original": "string",
|
|
@@ -332,11 +324,11 @@ export class TestDriveForm {
|
|
|
332
324
|
},
|
|
333
325
|
"getter": false,
|
|
334
326
|
"setter": false,
|
|
335
|
-
"reflect": false
|
|
327
|
+
"reflect": false,
|
|
328
|
+
"attribute": "theme"
|
|
336
329
|
},
|
|
337
330
|
"formId": {
|
|
338
331
|
"type": "string",
|
|
339
|
-
"attribute": "form-id",
|
|
340
332
|
"mutable": false,
|
|
341
333
|
"complexType": {
|
|
342
334
|
"original": "string",
|
|
@@ -351,11 +343,11 @@ export class TestDriveForm {
|
|
|
351
343
|
},
|
|
352
344
|
"getter": false,
|
|
353
345
|
"setter": false,
|
|
354
|
-
"reflect": false
|
|
346
|
+
"reflect": false,
|
|
347
|
+
"attribute": "form-id"
|
|
355
348
|
},
|
|
356
349
|
"isDev": {
|
|
357
350
|
"type": "boolean",
|
|
358
|
-
"attribute": "is-dev",
|
|
359
351
|
"mutable": false,
|
|
360
352
|
"complexType": {
|
|
361
353
|
"original": "boolean",
|
|
@@ -371,11 +363,11 @@ export class TestDriveForm {
|
|
|
371
363
|
"getter": false,
|
|
372
364
|
"setter": false,
|
|
373
365
|
"reflect": false,
|
|
366
|
+
"attribute": "is-dev",
|
|
374
367
|
"defaultValue": "false"
|
|
375
368
|
},
|
|
376
369
|
"disableScrollToTop": {
|
|
377
370
|
"type": "boolean",
|
|
378
|
-
"attribute": "disable-scroll-to-top",
|
|
379
371
|
"mutable": false,
|
|
380
372
|
"complexType": {
|
|
381
373
|
"original": "boolean",
|
|
@@ -390,11 +382,11 @@ export class TestDriveForm {
|
|
|
390
382
|
},
|
|
391
383
|
"getter": false,
|
|
392
384
|
"setter": false,
|
|
393
|
-
"reflect": false
|
|
385
|
+
"reflect": false,
|
|
386
|
+
"attribute": "disable-scroll-to-top"
|
|
394
387
|
},
|
|
395
388
|
"isMobileForm": {
|
|
396
389
|
"type": "boolean",
|
|
397
|
-
"attribute": "is-mobile-form",
|
|
398
390
|
"mutable": false,
|
|
399
391
|
"complexType": {
|
|
400
392
|
"original": "boolean",
|
|
@@ -410,11 +402,11 @@ export class TestDriveForm {
|
|
|
410
402
|
"getter": false,
|
|
411
403
|
"setter": false,
|
|
412
404
|
"reflect": false,
|
|
405
|
+
"attribute": "is-mobile-form",
|
|
413
406
|
"defaultValue": "false"
|
|
414
407
|
},
|
|
415
408
|
"getMobileToken": {
|
|
416
409
|
"type": "unknown",
|
|
417
|
-
"attribute": "get-mobile-token",
|
|
418
410
|
"mutable": false,
|
|
419
411
|
"complexType": {
|
|
420
412
|
"original": "() => string",
|
|
@@ -456,7 +448,8 @@ export class TestDriveForm {
|
|
|
456
448
|
"FormHook": {
|
|
457
449
|
"location": "import",
|
|
458
450
|
"path": "~features/form-hook",
|
|
459
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
451
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
452
|
+
"referenceLocation": "FormHook"
|
|
460
453
|
}
|
|
461
454
|
},
|
|
462
455
|
"return": "Promise<FormHook<any>>"
|
|
@@ -27,7 +27,7 @@ export const VehicleImageViewer = ({ form }) => {
|
|
|
27
27
|
var _a, _b, _c, _d;
|
|
28
28
|
form.addWatcher('vehicle');
|
|
29
29
|
let vehicleId = form.getValue('vehicle');
|
|
30
|
-
|
|
30
|
+
const openContainer = !!vehicleId;
|
|
31
31
|
const selectedVehicle = (_a = form.context['vehicleList']) === null || _a === void 0 ? void 0 : _a.find(vehicle => vehicle.value === vehicleId);
|
|
32
32
|
let imSrc;
|
|
33
33
|
if (selectedVehicle) {
|
|
@@ -11,14 +11,14 @@ export const vehicleQuotationElements = {
|
|
|
11
11
|
},
|
|
12
12
|
'phone': ({ props, isLoading }) => h("form-phone-number", Object.assign({ isLoading: isLoading }, props)),
|
|
13
13
|
'vehicle': ({ form, language, props }) => {
|
|
14
|
-
var _a;
|
|
14
|
+
var _a, _b;
|
|
15
15
|
const fetcher = async ({ signal }) => {
|
|
16
|
-
var _a, _b, _c;
|
|
17
|
-
const vehicleEndpoint = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data.vehicleApi;
|
|
16
|
+
var _a, _b, _c, _d;
|
|
17
|
+
const vehicleEndpoint = (_b = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.vehicleApi;
|
|
18
18
|
const response = await fetch(vehicleEndpoint, { signal, headers: { 'Accept-Language': language } });
|
|
19
|
-
if ((
|
|
19
|
+
if ((_d = (_c = form.context.structure) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.vehiclesApiStrapiFormat) {
|
|
20
20
|
const res = await response.json();
|
|
21
|
-
|
|
21
|
+
const options = res.data;
|
|
22
22
|
return options.map(vehicle => {
|
|
23
23
|
var _a, _b, _c, _d, _e, _f;
|
|
24
24
|
return ({
|
|
@@ -40,7 +40,7 @@ export const vehicleQuotationElements = {
|
|
|
40
40
|
let defaultValue;
|
|
41
41
|
if (!props.defaultValue) {
|
|
42
42
|
const params = new URLSearchParams(window.location.search);
|
|
43
|
-
defaultValue = params.get((_a = form.context.structure
|
|
43
|
+
defaultValue = params.get((_b = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.vehicleIdQueryParam);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
defaultValue = props.defaultValue;
|
|
@@ -49,8 +49,8 @@ export const vehicleQuotationElements = {
|
|
|
49
49
|
},
|
|
50
50
|
'dealer': ({ form, language, props }) => {
|
|
51
51
|
const fetcher = async ({ signal }) => {
|
|
52
|
-
var _a;
|
|
53
|
-
const dealerEndpoint = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data.dealerApi;
|
|
52
|
+
var _a, _b;
|
|
53
|
+
const dealerEndpoint = (_b = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.dealerApi;
|
|
54
54
|
const response = await fetch(dealerEndpoint, { signal, headers: { 'Accept-Language': language } });
|
|
55
55
|
const options = (await response.json()).map(dealer => ({
|
|
56
56
|
label: dealer.Name,
|
|
@@ -118,8 +118,8 @@ export const vehicleQuotationElements = {
|
|
|
118
118
|
form.addWatcher('ownVehicle');
|
|
119
119
|
const ownVehicle = form.getValue('ownVehicle') === 'yes';
|
|
120
120
|
const fetcher = async ({ signal }) => {
|
|
121
|
-
var _a;
|
|
122
|
-
const currentVehiclesEndpoint = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data.currentVehiclesApi;
|
|
121
|
+
var _a, _b;
|
|
122
|
+
const currentVehiclesEndpoint = (_b = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.currentVehiclesApi;
|
|
123
123
|
const response = await fetch(currentVehiclesEndpoint, { signal, headers: { 'Accept-Language': 'en' } });
|
|
124
124
|
const options = (await response.json()).filter(vehicle => vehicle.name !== 'Other');
|
|
125
125
|
return [
|
|
@@ -149,7 +149,7 @@ export const vehicleQuotationElements = {
|
|
|
149
149
|
if (!selectedBrand)
|
|
150
150
|
return [];
|
|
151
151
|
return [
|
|
152
|
-
...selectedBrand
|
|
152
|
+
...selectedBrand.Models.map(model => ({ label: model.Name, value: `${model.ID}` })),
|
|
153
153
|
{
|
|
154
154
|
value: 'Other',
|
|
155
155
|
label: locale.Other,
|
|
@@ -164,8 +164,8 @@ export const vehicleQuotationElements = {
|
|
|
164
164
|
'contact information': ({ locale }) => h("h1", { part: "section-title" }, locale['Contact Information']),
|
|
165
165
|
'city': ({ form, language, props }) => {
|
|
166
166
|
const fetcher = async ({ signal }) => {
|
|
167
|
-
var _a;
|
|
168
|
-
const cityEndpoint = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data.cityApi;
|
|
167
|
+
var _a, _b;
|
|
168
|
+
const cityEndpoint = (_b = (_a = form.context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.cityApi;
|
|
169
169
|
const response = await fetch(cityEndpoint, { signal, headers: { 'Accept-Language': language } });
|
|
170
170
|
const options = (await response.json()).map(city => ({
|
|
171
171
|
label: city.Name,
|