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
|
@@ -145,7 +145,7 @@ export class VinExtractor {
|
|
|
145
145
|
const text = result.getText();
|
|
146
146
|
if (this.verbose)
|
|
147
147
|
console.log(text);
|
|
148
|
-
if (
|
|
148
|
+
if (text.trim()) {
|
|
149
149
|
if (this.skipValidation)
|
|
150
150
|
this.handleExtract(text.trim());
|
|
151
151
|
else {
|
|
@@ -509,7 +509,7 @@ export class VinExtractor {
|
|
|
509
509
|
}
|
|
510
510
|
render() {
|
|
511
511
|
const ariaExpanded = this.isOpen && this.isCameraReady && (this.useOcr || this.readSticker);
|
|
512
|
-
return (h(Host, { key: '
|
|
512
|
+
return (h(Host, { key: '1ff8673b1b5b558e48195ff4a5dffb601f4df400', translate: "no" }, h("slot", { key: '141632d549023a8844e00f368800413c3d3f5ae1' }), h("input", Object.assign({ key: 'b31c624aa5645e2c3b072e8670f3320780282916', class: "vin-extractor-input", type: "file", accept: "image/*", "aria-label": "Upload VIN image" }, (this.captureEnvironment ? { capture: 'environment' } : {}), { hidden: true })), h("canvas", { key: 'f2548d3165543fb393162b1380519384e10b3756', class: "video-canvas hidden", "aria-hidden": "true" }), !this.uploaderButtonId && (h("div", { key: '19a2bcef94d35d577372da276191fc45dbd3f2f4', onClick: () => (this.isOpen = false), role: "dialog", "aria-modal": ariaExpanded.toString(), "aria-label": this.title || 'VIN Scanner', "aria-hidden": (!ariaExpanded).toString(), class: "vin-extractor-background md:transition-all md:duration-300 fixed flex items-center justify-center w-[100dvw] h-[100dvh] top-0 left-0 z-[9999]" }, h("div", { key: '0cf4f673cc4bb488f94fda3e6266f8149beee2e7', role: "document", onClick: e => e.stopPropagation(), "aria-expanded": ariaExpanded.toString(), onAnimationEnd: () => (this.isAnimating = false), onAnimationStart: () => (this.isAnimating = true), class: cn('vin-extractor-container md:w-[600px] md:rounded-lg md:overflow-hidden opacity-0 md:h-auto w-full h-full relative transition-all duration-500', this.containerAnimation) }, h("div", { key: '15125671c2538fc857adb272ad6415a11b9f95c3', class: "vin-extractor-heading items-center md:py-[8px] w-full md:!opacity-100 md:!translate-x-0 p-[16px] md:bg-white bg-black/30 shadow-md z-10 md:relative absolute top-0 left-0 flex justify-between" }, this.videoInputs.length > 1 ? (h("button", { type: "button", "aria-label": "Switch camera", onClick: this.switchCamera, class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { width: "24", height: "24", fill: "none", "stroke-width": "2", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg", class: "size-full transition-all duration-300", style: { rotate: `${this.switchRotateDegree}deg` } }, h("path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" }), h("path", { d: "M21 3v5h-5" }), h("path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" }), h("path", { d: "M8 16H3v5" })))) : (h("div", { class: "size-8", "aria-hidden": "true" })), h("h1", { key: '068bbeb6ad3d6d498fdc2b72ce5083a8adca922f', class: "text-center text-[18px] md:text-[24px] md:text-black text-slate-100 form-input-label", part: "form-input-label" }, this.title), h("button", { key: '407c763fd76550e9c72cb619d6bb92ba254edafa', type: "button", "aria-label": "Close scanner", onClick: () => (this.isOpen = false), class: "size-[32px] md:border-none md:bg-white md:hover:bg-slate-100 bg-slate-100 rounded-lg p-1 hover:text-slate-700 border transition-colors duration-300 hover:bg-slate-300 border-slate-600 text-slate-600 hover:border-slate-700" }, h("svg", { key: '438fb370d3d9a68dd80f7cbf567456212b2d1698', fill: "none", "stroke-width": "2", class: "size-full", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '3f13795d2a48d2208dd411e038cbd5bdb07dc242', d: "M18 6 6 18" }), h("path", { key: 'a8d4b792a4af01680cb9d1d09f0bd1d53916ba0b', d: "m6 6 12 12" })))), this.manualCapture && !!this.manualCaptureHint && !this.manualCaptureLoading && (h("p", { key: 'f46d1cdd7b28b4490c512a07aa7bccaf84195da3', "aria-hidden": "true", class: "vin-extractor-manual-capture-hint absolute left-1/2 -translate-x-1/2 bottom-[88px] z-10 m-0 px-3 py-1 rounded-full bg-black/55 text-white text-center text-[13px] leading-[1.3] whitespace-nowrap pointer-events-none" }, this.manualCaptureHint)), this.manualCapture && (h("button", { key: '820b7e82b3eb09fc70bf866f037dd998b8610e38', type: "button", part: "vin-extractor-capture-button", disabled: this.manualCaptureLoading, onClick: this.captureFrame.bind(this, true), "aria-label": this.manualCaptureLoading ? 'Capturing...' : this.manualCaptureLabel || 'Capture VIN', class: cn('vin-extractor-capture-button absolute disabled:bg-white/75 outline-none cursor-pointer left-1/2 -translate-x-1/2 flex justify-center items-center h-[60px] py-[10px] rounded-full shadow-lg border border-slate-500 text-slate-500 z-10 bg-white bottom-4', this.manualCaptureLabel ? 'px-6 min-w-[140px] gap-2 text-[15px] font-medium whitespace-nowrap' : 'w-[100px]') }, this.manualCaptureLoading ? (h("svg", { fill: "none", "stroke-width": "2", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg", class: cn('animate-spin animate-spin-v', this.manualCaptureLabel ? 'size-[22px]' : 'size-full') }, h("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" }))) : this.manualCaptureLabel ? (h("span", null, this.manualCaptureLabel)) : (h("svg", { fill: "none", "stroke-width": "2", class: "size-full", "aria-hidden": "true", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z" }), h("circle", { cx: "12", cy: "13", r: "3" }))))), h("video", { key: '7306ed5a622ba2963f9c41438069f367bc98180a', autoPlay: true, id: "video", playsInline: true, "aria-label": "Camera preview", class: "video-player aspect-video bg-black min-w-full min-h-full object-cover object-center" }))))));
|
|
513
513
|
}
|
|
514
514
|
static get is() { return "vin-extractor"; }
|
|
515
515
|
static get encapsulation() { return "shadow"; }
|
|
@@ -527,7 +527,6 @@ export class VinExtractor {
|
|
|
527
527
|
return {
|
|
528
528
|
"title": {
|
|
529
529
|
"type": "string",
|
|
530
|
-
"attribute": "title",
|
|
531
530
|
"mutable": false,
|
|
532
531
|
"complexType": {
|
|
533
532
|
"original": "string",
|
|
@@ -543,11 +542,11 @@ export class VinExtractor {
|
|
|
543
542
|
"getter": false,
|
|
544
543
|
"setter": false,
|
|
545
544
|
"reflect": false,
|
|
545
|
+
"attribute": "title",
|
|
546
546
|
"defaultValue": "''"
|
|
547
547
|
},
|
|
548
548
|
"captureInterval": {
|
|
549
549
|
"type": "number",
|
|
550
|
-
"attribute": "capture-interval",
|
|
551
550
|
"mutable": false,
|
|
552
551
|
"complexType": {
|
|
553
552
|
"original": "number",
|
|
@@ -563,11 +562,11 @@ export class VinExtractor {
|
|
|
563
562
|
"getter": false,
|
|
564
563
|
"setter": false,
|
|
565
564
|
"reflect": false,
|
|
566
|
-
"
|
|
565
|
+
"attribute": "capture-interval",
|
|
566
|
+
"defaultValue": "2000"
|
|
567
567
|
},
|
|
568
568
|
"verbose": {
|
|
569
569
|
"type": "boolean",
|
|
570
|
-
"attribute": "verbose",
|
|
571
570
|
"mutable": false,
|
|
572
571
|
"complexType": {
|
|
573
572
|
"original": "boolean",
|
|
@@ -583,11 +582,11 @@ export class VinExtractor {
|
|
|
583
582
|
"getter": false,
|
|
584
583
|
"setter": false,
|
|
585
584
|
"reflect": false,
|
|
585
|
+
"attribute": "verbose",
|
|
586
586
|
"defaultValue": "false"
|
|
587
587
|
},
|
|
588
588
|
"useOcr": {
|
|
589
589
|
"type": "boolean",
|
|
590
|
-
"attribute": "use-ocr",
|
|
591
590
|
"mutable": false,
|
|
592
591
|
"complexType": {
|
|
593
592
|
"original": "boolean",
|
|
@@ -603,11 +602,11 @@ export class VinExtractor {
|
|
|
603
602
|
"getter": false,
|
|
604
603
|
"setter": false,
|
|
605
604
|
"reflect": false,
|
|
605
|
+
"attribute": "use-ocr",
|
|
606
606
|
"defaultValue": "false"
|
|
607
607
|
},
|
|
608
608
|
"readSticker": {
|
|
609
609
|
"type": "boolean",
|
|
610
|
-
"attribute": "read-sticker",
|
|
611
610
|
"mutable": false,
|
|
612
611
|
"complexType": {
|
|
613
612
|
"original": "boolean",
|
|
@@ -623,11 +622,11 @@ export class VinExtractor {
|
|
|
623
622
|
"getter": false,
|
|
624
623
|
"setter": false,
|
|
625
624
|
"reflect": false,
|
|
625
|
+
"attribute": "read-sticker",
|
|
626
626
|
"defaultValue": "false"
|
|
627
627
|
},
|
|
628
628
|
"uploaderButtonId": {
|
|
629
629
|
"type": "string",
|
|
630
|
-
"attribute": "uploader-button-id",
|
|
631
630
|
"mutable": false,
|
|
632
631
|
"complexType": {
|
|
633
632
|
"original": "string",
|
|
@@ -642,11 +641,11 @@ export class VinExtractor {
|
|
|
642
641
|
},
|
|
643
642
|
"getter": false,
|
|
644
643
|
"setter": false,
|
|
645
|
-
"reflect": false
|
|
644
|
+
"reflect": false,
|
|
645
|
+
"attribute": "uploader-button-id"
|
|
646
646
|
},
|
|
647
647
|
"captureEnvironment": {
|
|
648
648
|
"type": "boolean",
|
|
649
|
-
"attribute": "capture-environment",
|
|
650
649
|
"mutable": false,
|
|
651
650
|
"complexType": {
|
|
652
651
|
"original": "boolean",
|
|
@@ -662,11 +661,11 @@ export class VinExtractor {
|
|
|
662
661
|
"getter": false,
|
|
663
662
|
"setter": false,
|
|
664
663
|
"reflect": false,
|
|
664
|
+
"attribute": "capture-environment",
|
|
665
665
|
"defaultValue": "false"
|
|
666
666
|
},
|
|
667
667
|
"manualCapture": {
|
|
668
668
|
"type": "boolean",
|
|
669
|
-
"attribute": "manual-capture",
|
|
670
669
|
"mutable": false,
|
|
671
670
|
"complexType": {
|
|
672
671
|
"original": "boolean",
|
|
@@ -682,11 +681,11 @@ export class VinExtractor {
|
|
|
682
681
|
"getter": false,
|
|
683
682
|
"setter": false,
|
|
684
683
|
"reflect": false,
|
|
684
|
+
"attribute": "manual-capture",
|
|
685
685
|
"defaultValue": "false"
|
|
686
686
|
},
|
|
687
687
|
"skipValidation": {
|
|
688
688
|
"type": "boolean",
|
|
689
|
-
"attribute": "skip-validation",
|
|
690
689
|
"mutable": false,
|
|
691
690
|
"complexType": {
|
|
692
691
|
"original": "boolean",
|
|
@@ -702,11 +701,11 @@ export class VinExtractor {
|
|
|
702
701
|
"getter": false,
|
|
703
702
|
"setter": false,
|
|
704
703
|
"reflect": false,
|
|
704
|
+
"attribute": "skip-validation",
|
|
705
705
|
"defaultValue": "false"
|
|
706
706
|
},
|
|
707
707
|
"manualCaptureLabel": {
|
|
708
708
|
"type": "string",
|
|
709
|
-
"attribute": "manual-capture-label",
|
|
710
709
|
"mutable": false,
|
|
711
710
|
"complexType": {
|
|
712
711
|
"original": "string",
|
|
@@ -722,11 +721,11 @@ export class VinExtractor {
|
|
|
722
721
|
"getter": false,
|
|
723
722
|
"setter": false,
|
|
724
723
|
"reflect": false,
|
|
724
|
+
"attribute": "manual-capture-label",
|
|
725
725
|
"defaultValue": "''"
|
|
726
726
|
},
|
|
727
727
|
"manualCaptureHint": {
|
|
728
728
|
"type": "string",
|
|
729
|
-
"attribute": "manual-capture-hint",
|
|
730
729
|
"mutable": false,
|
|
731
730
|
"complexType": {
|
|
732
731
|
"original": "string",
|
|
@@ -742,11 +741,11 @@ export class VinExtractor {
|
|
|
742
741
|
"getter": false,
|
|
743
742
|
"setter": false,
|
|
744
743
|
"reflect": false,
|
|
744
|
+
"attribute": "manual-capture-hint",
|
|
745
745
|
"defaultValue": "''"
|
|
746
746
|
},
|
|
747
747
|
"ocrEndpoint": {
|
|
748
748
|
"type": "string",
|
|
749
|
-
"attribute": "ocr-endpoint",
|
|
750
749
|
"mutable": false,
|
|
751
750
|
"complexType": {
|
|
752
751
|
"original": "string",
|
|
@@ -761,11 +760,11 @@ export class VinExtractor {
|
|
|
761
760
|
},
|
|
762
761
|
"getter": false,
|
|
763
762
|
"setter": false,
|
|
764
|
-
"reflect": false
|
|
763
|
+
"reflect": false,
|
|
764
|
+
"attribute": "ocr-endpoint"
|
|
765
765
|
},
|
|
766
766
|
"onExtract": {
|
|
767
767
|
"type": "string",
|
|
768
|
-
"attribute": "on-extract",
|
|
769
768
|
"mutable": false,
|
|
770
769
|
"complexType": {
|
|
771
770
|
"original": "((vin: string) => void) | string",
|
|
@@ -780,11 +779,11 @@ export class VinExtractor {
|
|
|
780
779
|
},
|
|
781
780
|
"getter": false,
|
|
782
781
|
"setter": false,
|
|
783
|
-
"reflect": false
|
|
782
|
+
"reflect": false,
|
|
783
|
+
"attribute": "on-extract"
|
|
784
784
|
},
|
|
785
785
|
"onError": {
|
|
786
786
|
"type": "string",
|
|
787
|
-
"attribute": "on-error",
|
|
788
787
|
"mutable": false,
|
|
789
788
|
"complexType": {
|
|
790
789
|
"original": "((newError: Error) => void) | string",
|
|
@@ -804,11 +803,11 @@ export class VinExtractor {
|
|
|
804
803
|
},
|
|
805
804
|
"getter": false,
|
|
806
805
|
"setter": false,
|
|
807
|
-
"reflect": false
|
|
806
|
+
"reflect": false,
|
|
807
|
+
"attribute": "on-error"
|
|
808
808
|
},
|
|
809
809
|
"onProcessing": {
|
|
810
810
|
"type": "string",
|
|
811
|
-
"attribute": "on-processing",
|
|
812
811
|
"mutable": false,
|
|
813
812
|
"complexType": {
|
|
814
813
|
"original": "((vin: string) => void) | string",
|
|
@@ -823,11 +822,11 @@ export class VinExtractor {
|
|
|
823
822
|
},
|
|
824
823
|
"getter": false,
|
|
825
824
|
"setter": false,
|
|
826
|
-
"reflect": false
|
|
825
|
+
"reflect": false,
|
|
826
|
+
"attribute": "on-processing"
|
|
827
827
|
},
|
|
828
828
|
"onOpenChange": {
|
|
829
829
|
"type": "string",
|
|
830
|
-
"attribute": "on-open-change",
|
|
831
830
|
"mutable": false,
|
|
832
831
|
"complexType": {
|
|
833
832
|
"original": "((newError: boolean) => void) | string",
|
|
@@ -842,7 +841,8 @@ export class VinExtractor {
|
|
|
842
841
|
},
|
|
843
842
|
"getter": false,
|
|
844
843
|
"setter": false,
|
|
845
|
-
"reflect": false
|
|
844
|
+
"reflect": false,
|
|
845
|
+
"attribute": "on-open-change"
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
}
|
|
@@ -878,7 +878,8 @@ export class VinExtractor {
|
|
|
878
878
|
"DotNetObjectReference": {
|
|
879
879
|
"location": "import",
|
|
880
880
|
"path": "~features/blazor-ref",
|
|
881
|
-
"id": "src/features/blazor-ref/index.ts::DotNetObjectReference"
|
|
881
|
+
"id": "src/features/blazor-ref/index.ts::DotNetObjectReference",
|
|
882
|
+
"referenceLocation": "DotNetObjectReference"
|
|
882
883
|
}
|
|
883
884
|
},
|
|
884
885
|
"return": "Promise<void>"
|
|
@@ -120,7 +120,7 @@ export class FormHook {
|
|
|
120
120
|
const formObject = Object.fromEntries(formData.entries());
|
|
121
121
|
const elements = form.querySelectorAll('[name]');
|
|
122
122
|
elements.forEach(el => {
|
|
123
|
-
var _a;
|
|
123
|
+
var _a, _b, _c;
|
|
124
124
|
const elementContext = (_a = this.subscribers.find(sub => sub.name === el.name)) === null || _a === void 0 ? void 0 : _a.context;
|
|
125
125
|
if (elementContext && (elementContext === null || elementContext === void 0 ? void 0 : elementContext.getValue)) {
|
|
126
126
|
formObject[el.name] = elementContext.getValue();
|
|
@@ -133,7 +133,7 @@ export class FormHook {
|
|
|
133
133
|
if (el.type === 'file') {
|
|
134
134
|
// @ts-ignore
|
|
135
135
|
const files = Array.from((el === null || el === void 0 ? void 0 : el.files) || []);
|
|
136
|
-
const signs = this.subscribers.find(sub => sub.name === (el === null || el === void 0 ? void 0 : el.name)).context.sasFiles;
|
|
136
|
+
const signs = (_c = (_b = this.subscribers.find(sub => sub.name === (el === null || el === void 0 ? void 0 : el.name))) === null || _b === void 0 ? void 0 : _b.context) === null || _c === void 0 ? void 0 : _c.sasFiles;
|
|
137
137
|
const parsed = files.map((file, idx) => (signs === null || signs === void 0 ? void 0 : signs[idx])
|
|
138
138
|
? Object.assign({ name: file.name, size: file.size, type: file.type, lastModified: file.lastModified }, signs[idx]) : file);
|
|
139
139
|
// @ts-ignore
|
|
@@ -144,6 +144,7 @@ export class FormHook {
|
|
|
144
144
|
return Object.assign(Object.assign({}, this.cachedValues), formObject);
|
|
145
145
|
};
|
|
146
146
|
this.focusFirstInput = (errorFields) => {
|
|
147
|
+
var _a;
|
|
147
148
|
if (errorFields.length) {
|
|
148
149
|
const formDom = this.context.el.shadowRoot || this.context.el;
|
|
149
150
|
const domElements = errorFields.map(field => formDom.querySelector(`*[name="${field.name}"]`)).filter(dom => dom);
|
|
@@ -156,7 +157,7 @@ export class FormHook {
|
|
|
156
157
|
});
|
|
157
158
|
if (sortedDomElements[0]) {
|
|
158
159
|
if (sortedDomElements[0].hidden) {
|
|
159
|
-
sortedDomElements[0].parentElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
160
|
+
(_a = sortedDomElements[0].parentElement) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
160
161
|
}
|
|
161
162
|
else
|
|
162
163
|
sortedDomElements[0].focus();
|
|
@@ -38,10 +38,12 @@ export const formSuccessHandler = async (formContext, data) => {
|
|
|
38
38
|
formContext.form.openDialog();
|
|
39
39
|
if (!formContext.disableScrollToTop) {
|
|
40
40
|
const formDom = formContext.el.shadowRoot || formContext.el;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
const targetElement = formDom instanceof ShadowRoot ? formDom.firstElementChild : formDom;
|
|
42
|
+
if (targetElement) {
|
|
43
|
+
const yOffset = -100;
|
|
44
|
+
const y = targetElement.getBoundingClientRect().top + window.pageYOffset + yOffset;
|
|
45
|
+
window.scrollTo({ top: Math.max(y, 0), behavior: 'smooth' });
|
|
46
|
+
}
|
|
45
47
|
}
|
|
46
48
|
};
|
|
47
49
|
export const formDidLoadHandler = async (formContext, validator) => {
|
|
@@ -100,7 +102,7 @@ export const getMarketingValues = (structure) => {
|
|
|
100
102
|
return {};
|
|
101
103
|
const marketingValues = {};
|
|
102
104
|
marketingQueryParams.forEach(param => {
|
|
103
|
-
if (
|
|
105
|
+
if (params.get(param))
|
|
104
106
|
marketingValues[param] = params.get(param);
|
|
105
107
|
});
|
|
106
108
|
return marketingValues;
|
|
@@ -115,14 +117,14 @@ export const onFormSubmit = async ({ context, formValues, middleware, afterSucce
|
|
|
115
117
|
}
|
|
116
118
|
});
|
|
117
119
|
const hasAdditionalData = !!((_b = (_a = context.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.truncatedFields) && !!((_e = Object.keys((_d = (_c = context.structure) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.truncatedFields)) === null || _e === void 0 ? void 0 : _e.length);
|
|
118
|
-
|
|
120
|
+
const additionalData = {};
|
|
119
121
|
const marketingValues = getMarketingValues(context === null || context === void 0 ? void 0 : context.structure);
|
|
120
122
|
let payload = Object.assign({}, formValues);
|
|
121
123
|
if ((_g = (_f = context.structure) === null || _f === void 0 ? void 0 : _f.data) === null || _g === void 0 ? void 0 : _g.extraPayload)
|
|
122
124
|
payload = Object.assign(Object.assign({}, payload), (_j = (_h = context.structure) === null || _h === void 0 ? void 0 : _h.data) === null || _j === void 0 ? void 0 : _j.extraPayload);
|
|
123
125
|
if (hasAdditionalData)
|
|
124
126
|
payload.additionalData = Object.assign({}, additionalData);
|
|
125
|
-
if (
|
|
127
|
+
if (context === null || context === void 0 ? void 0 : context.extraPayload)
|
|
126
128
|
payload = Object.assign(Object.assign({}, payload), context === null || context === void 0 ? void 0 : context.extraPayload);
|
|
127
129
|
if (hasAdditionalData) {
|
|
128
130
|
Object.entries((_l = (_k = context.structure) === null || _k === void 0 ? void 0 : _k.data) === null || _l === void 0 ? void 0 : _l.truncatedFields).forEach(([oldKey, truncateValue]) => {
|
|
@@ -135,11 +137,11 @@ export const onFormSubmit = async ({ context, formValues, middleware, afterSucce
|
|
|
135
137
|
}
|
|
136
138
|
else if (typeof truncateValue === 'string' && truncateValue) {
|
|
137
139
|
if (oldKey.startsWith('parse date: ')) {
|
|
138
|
-
|
|
140
|
+
const tempKey = oldKey.replaceAll('parse date: ', '');
|
|
139
141
|
payload[tempKey] = parse(payload[tempKey], truncateValue, new Date());
|
|
140
142
|
}
|
|
141
143
|
else if (oldKey.startsWith('format date: ')) {
|
|
142
|
-
|
|
144
|
+
const tempKey = oldKey.replaceAll('format date: ', '');
|
|
143
145
|
payload[tempKey] = formatISO(payload[tempKey]);
|
|
144
146
|
}
|
|
145
147
|
else {
|
|
@@ -154,9 +156,9 @@ export const onFormSubmit = async ({ context, formValues, middleware, afterSucce
|
|
|
154
156
|
'Brand': (_o = (_m = context.structure) === null || _m === void 0 ? void 0 : _m.data) === null || _o === void 0 ? void 0 : _o.brandId,
|
|
155
157
|
'Accept-Language': context.localeLanguage || 'en',
|
|
156
158
|
};
|
|
157
|
-
if (
|
|
159
|
+
if (context === null || context === void 0 ? void 0 : context.extraHeader)
|
|
158
160
|
header = Object.assign(Object.assign({}, header), context === null || context === void 0 ? void 0 : context.extraHeader);
|
|
159
|
-
if (
|
|
161
|
+
if ((_q = (_p = context.structure) === null || _p === void 0 ? void 0 : _p.data) === null || _q === void 0 ? void 0 : _q.extraHeader)
|
|
160
162
|
header = Object.assign(Object.assign({}, header), (_s = (_r = context.structure) === null || _r === void 0 ? void 0 : _r.data) === null || _s === void 0 ? void 0 : _s.extraHeader);
|
|
161
163
|
let requestEndpoint = '';
|
|
162
164
|
// @ts-ignore
|
|
@@ -5,23 +5,23 @@
|
|
|
5
5
|
import { y } from "../../../components/forms/defaults/validation";
|
|
6
6
|
import { getNestedValue } from "../../../global/lib/get-nested-value";
|
|
7
7
|
export const getInputLocalization = (context, meta, errorMessage) => {
|
|
8
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
9
|
-
const [locale, language] = (_a = context === null || context === void 0 ? void 0 : context.form) === null || _a === void 0 ? void 0 : _a.getFormLocale();
|
|
10
|
-
const label = ((
|
|
11
|
-
const placeholder = ((
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
9
|
+
const [locale, language] = (_b = (_a = context === null || context === void 0 ? void 0 : context.form) === null || _a === void 0 ? void 0 : _a.getFormLocale()) !== null && _b !== void 0 ? _b : [];
|
|
10
|
+
const label = ((_d = (_c = context === null || context === void 0 ? void 0 : context.localization) === null || _c === void 0 ? void 0 : _c[language]) === null || _d === void 0 ? void 0 : _d.label) || getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.label) || (meta === null || meta === void 0 ? void 0 : meta.label);
|
|
11
|
+
const placeholder = ((_f = (_e = context === null || context === void 0 ? void 0 : context.localization) === null || _e === void 0 ? void 0 : _e[language]) === null || _f === void 0 ? void 0 : _f.placeholder) || getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.placeholder) || (meta === null || meta === void 0 ? void 0 : meta.placeholder);
|
|
12
12
|
let localizationErrorMessage = '';
|
|
13
13
|
if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.format('')))
|
|
14
|
-
localizationErrorMessage = (
|
|
14
|
+
localizationErrorMessage = (_h = (_g = context === null || context === void 0 ? void 0 : context.localization) === null || _g === void 0 ? void 0 : _g[language]) === null || _h === void 0 ? void 0 : _h.format;
|
|
15
15
|
if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.size('')))
|
|
16
|
-
localizationErrorMessage = (
|
|
16
|
+
localizationErrorMessage = (_k = (_j = context === null || context === void 0 ? void 0 : context.localization) === null || _j === void 0 ? void 0 : _j[language]) === null || _k === void 0 ? void 0 : _k.size;
|
|
17
17
|
else if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.require('')))
|
|
18
|
-
localizationErrorMessage = (
|
|
18
|
+
localizationErrorMessage = (_m = (_l = context === null || context === void 0 ? void 0 : context.localization) === null || _l === void 0 ? void 0 : _l[language]) === null || _m === void 0 ? void 0 : _m.require;
|
|
19
19
|
else if (errorMessage === 'minMessage')
|
|
20
|
-
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((
|
|
20
|
+
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_p = (_o = context === null || context === void 0 ? void 0 : context.localization) === null || _o === void 0 ? void 0 : _o[language]) === null || _p === void 0 ? void 0 : _p.minMessage) || 'Min date is $minDate$');
|
|
21
21
|
else if (errorMessage === 'maxMessage')
|
|
22
|
-
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((
|
|
22
|
+
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_r = (_q = context === null || context === void 0 ? void 0 : context.localization) === null || _q === void 0 ? void 0 : _q[language]) === null || _r === void 0 ? void 0 : _r.maxMessage) || 'Max date is $maxDate$');
|
|
23
23
|
else if (errorMessage === 'betweenMessage')
|
|
24
|
-
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((
|
|
24
|
+
localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_t = (_s = context === null || context === void 0 ? void 0 : context.localization) === null || _s === void 0 ? void 0 : _s[language]) === null || _t === void 0 ? void 0 : _t.betweenMessage) || 'Must be between $minDate$ and $maxDate$');
|
|
25
25
|
const errorTextMessage = localizationErrorMessage || locale[errorMessage] || errorMessage;
|
|
26
26
|
return { label, placeholder, errorTextMessage };
|
|
27
27
|
};
|
|
@@ -30,7 +30,7 @@ export function parseEndpointObject(endpoint) {
|
|
|
30
30
|
return endpointObject;
|
|
31
31
|
}
|
|
32
32
|
export function fetchFrom(endpoint, props = {}) {
|
|
33
|
-
|
|
33
|
+
const endpointObject = parseEndpointObject(endpoint);
|
|
34
34
|
const defaultHeaders = {
|
|
35
35
|
'Accept': 'application/json',
|
|
36
36
|
'Content-Type': 'application/json',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2784,7 +2784,8 @@ const mockData = {
|
|
|
2784
2784
|
],
|
|
2785
2785
|
},
|
|
2786
2786
|
{
|
|
2787
|
-
serviceType:
|
|
2787
|
+
serviceType:
|
|
2788
|
+
'Fist Service (1000 KM) Fist Service (1000 KM) Fist Service (1000 KM) Fist Service (1000 KM) Fist Service (1000 KM) Fist Service (1000 KM) Fist Service (1000 KM)',
|
|
2788
2789
|
serviceDate: '2023-11-28',
|
|
2789
2790
|
mileage: 2165,
|
|
2790
2791
|
companyName: 'SAS',
|
|
@@ -4847,7 +4848,7 @@ const mockData = {
|
|
|
4847
4848
|
],
|
|
4848
4849
|
basicModelCode: null,
|
|
4849
4850
|
},
|
|
4850
|
-
BLOCKEDNOTALLOC01: {
|
|
4851
|
+
'BLOCKEDNOTALLOC01': {
|
|
4851
4852
|
saleInformation: {
|
|
4852
4853
|
countryID: null,
|
|
4853
4854
|
countryName: null,
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{D as o,d as s}from"./p-
|
|
5
|
+
import{D as o,d as s}from"./p-DJ0awYVE.js";const a=o,p=s;export{a as DeadStockLookup,p as defineCustomElement}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{D as o,d as s}from"./p-
|
|
5
|
+
import{D as o,d as s}from"./p-B3Vlmu9F.js";const m=o,p=s;export{m as DistributorLookup,p as defineCustomElement}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{F as o,d as s}from"./p-
|
|
5
|
+
import{F as o,d as s}from"./p-BcRom3sV.js";const m=o,p=s;export{m as FlexibleContainer,p as defineCustomElement}
|