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
|
@@ -26,7 +26,11 @@ export class FormFile {
|
|
|
26
26
|
this.openFilePicker = () => {
|
|
27
27
|
if (!this.fileInput)
|
|
28
28
|
return;
|
|
29
|
-
|
|
29
|
+
// Only clear the input value, so re-picking the same file still fires a change event.
|
|
30
|
+
// Visible state is left alone until a file actually arrives — clearing it here would
|
|
31
|
+
// swap the upload failure for a "required" error while the picker is still open, and
|
|
32
|
+
// would wipe a valid selection if the user cancels.
|
|
33
|
+
this.fileInput.value = '';
|
|
30
34
|
this.fileInput.click();
|
|
31
35
|
};
|
|
32
36
|
this.handleFileChange = async (event) => {
|
|
@@ -43,7 +47,17 @@ export class FormFile {
|
|
|
43
47
|
try {
|
|
44
48
|
if (this.signUrl) {
|
|
45
49
|
const signedFiles = await this.requestSignedUpload(limited);
|
|
46
|
-
this.form.pendingRequests[this.name] = async () =>
|
|
50
|
+
this.form.pendingRequests[this.name] = async () => {
|
|
51
|
+
try {
|
|
52
|
+
await this.uploadToSignedUrl(limited, signedFiles);
|
|
53
|
+
}
|
|
54
|
+
catch (error) {
|
|
55
|
+
console.error(error);
|
|
56
|
+
this.setUploadError(error);
|
|
57
|
+
this.form.rerender({ inputName: this.name, rerenderForm: true });
|
|
58
|
+
throw error;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
47
61
|
}
|
|
48
62
|
this.uploadState = 'success';
|
|
49
63
|
this.syncValue([...limited]);
|
|
@@ -51,16 +65,9 @@ export class FormFile {
|
|
|
51
65
|
target.files = dataTransfer.files;
|
|
52
66
|
}
|
|
53
67
|
catch (error) {
|
|
54
|
-
this.sasFiles = [];
|
|
55
68
|
console.error(error);
|
|
56
69
|
target.files = dataTransfer.files;
|
|
57
|
-
|
|
58
|
-
this.uploadState = 'error';
|
|
59
|
-
this.failedText = this.getFailureText(locale, language);
|
|
60
|
-
this.syncValue();
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
if (this.fileInput)
|
|
63
|
-
this.fileInput.value = [];
|
|
70
|
+
this.setUploadError(error);
|
|
64
71
|
}
|
|
65
72
|
finally {
|
|
66
73
|
this.stopGlobalLoading();
|
|
@@ -120,10 +127,13 @@ export class FormFile {
|
|
|
120
127
|
this.form.unsubscribe(this.name);
|
|
121
128
|
}
|
|
122
129
|
reset() {
|
|
130
|
+
var _a, _b;
|
|
123
131
|
this.stopGlobalLoading();
|
|
124
132
|
if (this.fileInput)
|
|
125
133
|
this.fileInput.value = '';
|
|
134
|
+
(_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.pendingRequests) === null || _b === void 0 ? true : delete _b[this.name];
|
|
126
135
|
this.fileName = '';
|
|
136
|
+
this.failedText = '';
|
|
127
137
|
this.uploadState = 'idle';
|
|
128
138
|
}
|
|
129
139
|
startGlobalLoading() {
|
|
@@ -153,6 +163,51 @@ export class FormFile {
|
|
|
153
163
|
var _a, _b, _c, _d;
|
|
154
164
|
return ((_b = (_a = this.localization) === null || _a === void 0 ? void 0 : _a[language]) === null || _b === void 0 ? void 0 : _b.failure) || ((_d = (_c = locale === null || locale === void 0 ? void 0 : locale.sharedFormLocales) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d.wildCard) || 'Upload failed. Please try again.';
|
|
155
165
|
}
|
|
166
|
+
// Tagged so setUploadError knows the text came from the server and is safe to show,
|
|
167
|
+
// unlike a network-level "Failed to fetch".
|
|
168
|
+
async responseError(response) {
|
|
169
|
+
const error = new Error(await this.getResponseError(response));
|
|
170
|
+
error.fromServer = true;
|
|
171
|
+
return error;
|
|
172
|
+
}
|
|
173
|
+
async getResponseError(response) {
|
|
174
|
+
var _a, _b, _c, _d, _e;
|
|
175
|
+
const [locale, language] = this.form.getFormLocale();
|
|
176
|
+
const fallback = this.getFailureText(locale, language);
|
|
177
|
+
const raw = await response.text().catch(() => '');
|
|
178
|
+
if (!raw.trim())
|
|
179
|
+
return fallback;
|
|
180
|
+
const contentType = response.headers.get('content-type') || '';
|
|
181
|
+
if (contentType.includes('json') || raw.trimStart().startsWith('{')) {
|
|
182
|
+
try {
|
|
183
|
+
const parsed = JSON.parse(raw);
|
|
184
|
+
const message = (_a = parsed === null || parsed === void 0 ? void 0 : parsed.message) !== null && _a !== void 0 ? _a : parsed === null || parsed === void 0 ? void 0 : parsed.Message;
|
|
185
|
+
const text = (_d = (_c = (_b = message === null || message === void 0 ? void 0 : message.body) !== null && _b !== void 0 ? _b : message === null || message === void 0 ? void 0 : message.Body) !== null && _c !== void 0 ? _c : message === null || message === void 0 ? void 0 : message.title) !== null && _d !== void 0 ? _d : message === null || message === void 0 ? void 0 : message.Title;
|
|
186
|
+
if (typeof text === 'string' && text.trim())
|
|
187
|
+
return text.trim();
|
|
188
|
+
}
|
|
189
|
+
catch (_f) {
|
|
190
|
+
// fall through to the localized fallback
|
|
191
|
+
}
|
|
192
|
+
return fallback;
|
|
193
|
+
}
|
|
194
|
+
// Blob storage answers with XML: <Error><Code>..</Code><Message>..</Message></Error>
|
|
195
|
+
const xmlMessage = (_e = raw.match(/<Message>([\s\S]*?)<\/Message>/)) === null || _e === void 0 ? void 0 : _e[1];
|
|
196
|
+
const text = (xmlMessage || raw).trim().split('\n')[0].trim();
|
|
197
|
+
return text && text.length <= 300 ? text : fallback;
|
|
198
|
+
}
|
|
199
|
+
setUploadError(error) {
|
|
200
|
+
var _a, _b;
|
|
201
|
+
const [locale, language] = this.form.getFormLocale();
|
|
202
|
+
const message = typeof error === 'string' ? error : (error === null || error === void 0 ? void 0 : error.fromServer) ? error === null || error === void 0 ? void 0 : error.message : '';
|
|
203
|
+
(_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.pendingRequests) === null || _b === void 0 ? true : delete _b[this.name];
|
|
204
|
+
this.sasFiles = [];
|
|
205
|
+
this.uploadState = 'error';
|
|
206
|
+
this.failedText = (message === null || message === void 0 ? void 0 : message.trim()) || this.getFailureText(locale, language);
|
|
207
|
+
this.syncValue();
|
|
208
|
+
if (this.fileInput)
|
|
209
|
+
this.fileInput.value = '';
|
|
210
|
+
}
|
|
156
211
|
matchesAccept(value) {
|
|
157
212
|
var _a;
|
|
158
213
|
if (!this.accept)
|
|
@@ -184,12 +239,16 @@ export class FormFile {
|
|
|
184
239
|
const resolved = (value === null || value === void 0 ? void 0 : value[0]) || '';
|
|
185
240
|
this.fileName = typeof resolved === 'string' ? resolved : resolved === null || resolved === void 0 ? void 0 : resolved.name;
|
|
186
241
|
// @ts-ignore
|
|
187
|
-
(_a = this.form) === null || _a === void 0 ? void 0 : _a.validateForm(this.name,
|
|
242
|
+
(_a = this.form) === null || _a === void 0 ? void 0 : _a.validateForm(this.name, value ? value : [], false);
|
|
188
243
|
(_b = this.form) === null || _b === void 0 ? void 0 : _b.rerender({ inputName: this.name, rerenderForm: true });
|
|
189
244
|
}
|
|
190
245
|
async requestSignedUpload(files) {
|
|
191
246
|
var _a, _b, _c;
|
|
192
|
-
const
|
|
247
|
+
const [, language] = this.form.getFormLocale();
|
|
248
|
+
// Send an explicit single-value Accept-Language, matching every other backend call.
|
|
249
|
+
// Left unset, the browser sends its own weighted header (`en-US,en;q=0.9`) whenever more
|
|
250
|
+
// than one language is configured, which the backend cannot parse.
|
|
251
|
+
const formHeaders = { 'Content-Type': 'application/json', 'Accept-Language': language || 'en' };
|
|
193
252
|
const recaptchaKey = (_c = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.context.structure) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.recaptchaKey;
|
|
194
253
|
if (grecaptcha && recaptchaKey) {
|
|
195
254
|
const token = await grecaptcha.execute(recaptchaKey, { action: 'submit' });
|
|
@@ -211,7 +270,7 @@ export class FormFile {
|
|
|
211
270
|
method: this.signMethod || 'POST',
|
|
212
271
|
});
|
|
213
272
|
if (!response.ok)
|
|
214
|
-
throw
|
|
273
|
+
throw await this.responseError(response);
|
|
215
274
|
const json = await response.json();
|
|
216
275
|
const list = (json === null || json === void 0 ? void 0 : json.entity) || (json === null || json === void 0 ? void 0 : json.Entity) || json;
|
|
217
276
|
const arr = Array.isArray(list) ? list : Array.isArray(json) ? json : [];
|
|
@@ -233,21 +292,16 @@ export class FormFile {
|
|
|
233
292
|
return signedFiles;
|
|
234
293
|
}
|
|
235
294
|
async uploadToSignedUrl(files, signedFiles) {
|
|
236
|
-
files
|
|
295
|
+
await Promise.all((files || []).map(async (file, idx) => {
|
|
237
296
|
var _a, _b;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
catch (error) {
|
|
248
|
-
console.error(error);
|
|
249
|
-
}
|
|
250
|
-
});
|
|
297
|
+
const response = await fetch((_a = signedFiles === null || signedFiles === void 0 ? void 0 : signedFiles[idx]) === null || _a === void 0 ? void 0 : _a.uploadUrl, {
|
|
298
|
+
method: 'PUT',
|
|
299
|
+
headers: Object.assign({ 'Content-Type': file.type || 'application/octet-stream', 'x-ms-blob-type': 'BlockBlob' }, (_b = signedFiles === null || signedFiles === void 0 ? void 0 : signedFiles[idx]) === null || _b === void 0 ? void 0 : _b.headers),
|
|
300
|
+
body: file,
|
|
301
|
+
});
|
|
302
|
+
if (!response.ok)
|
|
303
|
+
throw await this.responseError(response);
|
|
304
|
+
}));
|
|
251
305
|
}
|
|
252
306
|
render() {
|
|
253
307
|
const { disabled, isRequired, meta, isError, errorMessage } = this.form.getInputState(this.name);
|
|
@@ -259,11 +313,11 @@ export class FormFile {
|
|
|
259
313
|
const isErrorState = this.uploadState !== 'uploading' && (!!this.failedText || isError);
|
|
260
314
|
// @ts-ignore
|
|
261
315
|
window === null || window === void 0 ? void 0 : window.s = this.form;
|
|
262
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: '2e6fff41c02c74c27bdf7090d1db741d2d2d1f3f', translate: "no" }, h("label", { key: 'd223e629794d4c3006733ec9b34e2c6fe1227319', part: `form-file ${this.name}`, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: disableInput }) }, h(FormInputLabel, { key: '4584e81d3f039b241a3926cdc31937a2a6932d27', name: this.name, isRequired: isRequired, label: label }), h("div", { key: '2eb0dec1c916ee2268f6e6e2f121777b688861b8', part: `${this.name}-container form-input-container`, class: cn('form-input-container') }, h("input", { key: 'a2fc3290827b89875f50ef5664d21e96473badbc', type: "file", name: this.name, accept: this.accept, disabled: disableInput, multiple: this.maxUpload > 1, onChange: this.handleFileChange, part: `${this.name}-file-input form-file-input`, class: cn('form-file-input', `${partKeyPrefix}${this.name}-input`) }), h("button", { key: '38b6b6b841981077cca8e252d76adeeed6af826f', type: "button", disabled: disableInput, onClick: this.openFilePicker, part: `${this.name}-file-trigger form-file-trigger form-input`, title: showSpinner ? this.getLoadingText(locale, language) : displayText, class: cn('form-file-trigger form-input-style', {
|
|
263
317
|
'form-input-error-style': isErrorState,
|
|
264
318
|
'form-file-trigger-loading': showSpinner,
|
|
265
319
|
'form-file-trigger-success': this.uploadState === 'success',
|
|
266
|
-
}) }, h("span", { key: '
|
|
320
|
+
}) }, h("span", { key: '0eb7c3f4b5c1fee1b26fc2f12c5858bd7594eead', part: `${this.name}-file-text form-file-text`, class: "form-file-text" }, showSpinner ? this.getLoadingText(locale, language) : displayText), h("span", { key: 'f0b0d94b7d9016566d2ad06459fbe787fca31f6b', part: `${this.name}-file-icon form-file-icon`, class: "form-file-icon" }, showSpinner && h(LoaderIcon, { key: 'f8f0e6fd9df60dc092c00ee7ad4a9552df5c02cc', class: "form-file-spinner" }), !showSpinner && this.uploadState === 'success' && h(TickIcon, { key: '1ab155ccc1383f9d5c77f966b50b9945ba84a82e', class: "form-file-success-icon" })))), h(FormErrorMessage, { key: '69689beddd7f5da29c99c410922fa589d8f849be', name: this.name, isError: isErrorState, errorMessage: this.failedText || errorTextMessage }))));
|
|
267
321
|
}
|
|
268
322
|
static get is() { return "form-file"; }
|
|
269
323
|
static get originalStyleUrls() {
|
|
@@ -280,7 +334,6 @@ export class FormFile {
|
|
|
280
334
|
return {
|
|
281
335
|
"name": {
|
|
282
336
|
"type": "string",
|
|
283
|
-
"attribute": "name",
|
|
284
337
|
"mutable": false,
|
|
285
338
|
"complexType": {
|
|
286
339
|
"original": "string",
|
|
@@ -295,11 +348,11 @@ export class FormFile {
|
|
|
295
348
|
},
|
|
296
349
|
"getter": false,
|
|
297
350
|
"setter": false,
|
|
298
|
-
"reflect": false
|
|
351
|
+
"reflect": false,
|
|
352
|
+
"attribute": "name"
|
|
299
353
|
},
|
|
300
354
|
"wrapperId": {
|
|
301
355
|
"type": "string",
|
|
302
|
-
"attribute": "wrapper-id",
|
|
303
356
|
"mutable": false,
|
|
304
357
|
"complexType": {
|
|
305
358
|
"original": "string",
|
|
@@ -314,11 +367,11 @@ export class FormFile {
|
|
|
314
367
|
},
|
|
315
368
|
"getter": false,
|
|
316
369
|
"setter": false,
|
|
317
|
-
"reflect": false
|
|
370
|
+
"reflect": false,
|
|
371
|
+
"attribute": "wrapper-id"
|
|
318
372
|
},
|
|
319
373
|
"form": {
|
|
320
374
|
"type": "unknown",
|
|
321
|
-
"attribute": "form",
|
|
322
375
|
"mutable": false,
|
|
323
376
|
"complexType": {
|
|
324
377
|
"original": "FormHook<any>",
|
|
@@ -327,7 +380,8 @@ export class FormFile {
|
|
|
327
380
|
"FormHook": {
|
|
328
381
|
"location": "import",
|
|
329
382
|
"path": "~features/form-hook",
|
|
330
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
383
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
384
|
+
"referenceLocation": "FormHook"
|
|
331
385
|
}
|
|
332
386
|
}
|
|
333
387
|
},
|
|
@@ -342,7 +396,6 @@ export class FormFile {
|
|
|
342
396
|
},
|
|
343
397
|
"isLoading": {
|
|
344
398
|
"type": "boolean",
|
|
345
|
-
"attribute": "is-loading",
|
|
346
399
|
"mutable": false,
|
|
347
400
|
"complexType": {
|
|
348
401
|
"original": "boolean",
|
|
@@ -357,11 +410,11 @@ export class FormFile {
|
|
|
357
410
|
},
|
|
358
411
|
"getter": false,
|
|
359
412
|
"setter": false,
|
|
360
|
-
"reflect": false
|
|
413
|
+
"reflect": false,
|
|
414
|
+
"attribute": "is-loading"
|
|
361
415
|
},
|
|
362
416
|
"wrapperClass": {
|
|
363
417
|
"type": "string",
|
|
364
|
-
"attribute": "wrapper-class",
|
|
365
418
|
"mutable": false,
|
|
366
419
|
"complexType": {
|
|
367
420
|
"original": "string",
|
|
@@ -376,11 +429,11 @@ export class FormFile {
|
|
|
376
429
|
},
|
|
377
430
|
"getter": false,
|
|
378
431
|
"setter": false,
|
|
379
|
-
"reflect": false
|
|
432
|
+
"reflect": false,
|
|
433
|
+
"attribute": "wrapper-class"
|
|
380
434
|
},
|
|
381
435
|
"isDisabled": {
|
|
382
436
|
"type": "boolean",
|
|
383
|
-
"attribute": "is-disabled",
|
|
384
437
|
"mutable": false,
|
|
385
438
|
"complexType": {
|
|
386
439
|
"original": "boolean",
|
|
@@ -395,11 +448,11 @@ export class FormFile {
|
|
|
395
448
|
},
|
|
396
449
|
"getter": false,
|
|
397
450
|
"setter": false,
|
|
398
|
-
"reflect": false
|
|
451
|
+
"reflect": false,
|
|
452
|
+
"attribute": "is-disabled"
|
|
399
453
|
},
|
|
400
454
|
"accept": {
|
|
401
455
|
"type": "string",
|
|
402
|
-
"attribute": "accept",
|
|
403
456
|
"mutable": false,
|
|
404
457
|
"complexType": {
|
|
405
458
|
"original": "string",
|
|
@@ -414,11 +467,11 @@ export class FormFile {
|
|
|
414
467
|
},
|
|
415
468
|
"getter": false,
|
|
416
469
|
"setter": false,
|
|
417
|
-
"reflect": false
|
|
470
|
+
"reflect": false,
|
|
471
|
+
"attribute": "accept"
|
|
418
472
|
},
|
|
419
473
|
"maxSize": {
|
|
420
474
|
"type": "number",
|
|
421
|
-
"attribute": "max-size",
|
|
422
475
|
"mutable": false,
|
|
423
476
|
"complexType": {
|
|
424
477
|
"original": "number",
|
|
@@ -433,11 +486,11 @@ export class FormFile {
|
|
|
433
486
|
},
|
|
434
487
|
"getter": false,
|
|
435
488
|
"setter": false,
|
|
436
|
-
"reflect": false
|
|
489
|
+
"reflect": false,
|
|
490
|
+
"attribute": "max-size"
|
|
437
491
|
},
|
|
438
492
|
"required": {
|
|
439
493
|
"type": "boolean",
|
|
440
|
-
"attribute": "required",
|
|
441
494
|
"mutable": false,
|
|
442
495
|
"complexType": {
|
|
443
496
|
"original": "boolean",
|
|
@@ -452,11 +505,11 @@ export class FormFile {
|
|
|
452
505
|
},
|
|
453
506
|
"getter": false,
|
|
454
507
|
"setter": false,
|
|
455
|
-
"reflect": false
|
|
508
|
+
"reflect": false,
|
|
509
|
+
"attribute": "required"
|
|
456
510
|
},
|
|
457
511
|
"signUrl": {
|
|
458
512
|
"type": "string",
|
|
459
|
-
"attribute": "sign-url",
|
|
460
513
|
"mutable": false,
|
|
461
514
|
"complexType": {
|
|
462
515
|
"original": "string",
|
|
@@ -471,11 +524,11 @@ export class FormFile {
|
|
|
471
524
|
},
|
|
472
525
|
"getter": false,
|
|
473
526
|
"setter": false,
|
|
474
|
-
"reflect": false
|
|
527
|
+
"reflect": false,
|
|
528
|
+
"attribute": "sign-url"
|
|
475
529
|
},
|
|
476
530
|
"maxUpload": {
|
|
477
531
|
"type": "number",
|
|
478
|
-
"attribute": "max-upload",
|
|
479
532
|
"mutable": false,
|
|
480
533
|
"complexType": {
|
|
481
534
|
"original": "number",
|
|
@@ -491,11 +544,11 @@ export class FormFile {
|
|
|
491
544
|
"getter": false,
|
|
492
545
|
"setter": false,
|
|
493
546
|
"reflect": false,
|
|
547
|
+
"attribute": "max-upload",
|
|
494
548
|
"defaultValue": "1"
|
|
495
549
|
},
|
|
496
550
|
"signMethod": {
|
|
497
551
|
"type": "string",
|
|
498
|
-
"attribute": "sign-method",
|
|
499
552
|
"mutable": false,
|
|
500
553
|
"complexType": {
|
|
501
554
|
"original": "'POST' | 'PUT'",
|
|
@@ -511,11 +564,11 @@ export class FormFile {
|
|
|
511
564
|
"getter": false,
|
|
512
565
|
"setter": false,
|
|
513
566
|
"reflect": false,
|
|
567
|
+
"attribute": "sign-method",
|
|
514
568
|
"defaultValue": "'POST'"
|
|
515
569
|
},
|
|
516
570
|
"signPrefix": {
|
|
517
571
|
"type": "string",
|
|
518
|
-
"attribute": "sign-prefix",
|
|
519
572
|
"mutable": false,
|
|
520
573
|
"complexType": {
|
|
521
574
|
"original": "string",
|
|
@@ -530,11 +583,11 @@ export class FormFile {
|
|
|
530
583
|
},
|
|
531
584
|
"getter": false,
|
|
532
585
|
"setter": false,
|
|
533
|
-
"reflect": false
|
|
586
|
+
"reflect": false,
|
|
587
|
+
"attribute": "sign-prefix"
|
|
534
588
|
},
|
|
535
589
|
"accountName": {
|
|
536
590
|
"type": "string",
|
|
537
|
-
"attribute": "account-name",
|
|
538
591
|
"mutable": false,
|
|
539
592
|
"complexType": {
|
|
540
593
|
"original": "string",
|
|
@@ -549,11 +602,11 @@ export class FormFile {
|
|
|
549
602
|
},
|
|
550
603
|
"getter": false,
|
|
551
604
|
"setter": false,
|
|
552
|
-
"reflect": false
|
|
605
|
+
"reflect": false,
|
|
606
|
+
"attribute": "account-name"
|
|
553
607
|
},
|
|
554
608
|
"containerName": {
|
|
555
609
|
"type": "string",
|
|
556
|
-
"attribute": "container-name",
|
|
557
610
|
"mutable": false,
|
|
558
611
|
"complexType": {
|
|
559
612
|
"original": "string",
|
|
@@ -568,20 +621,21 @@ export class FormFile {
|
|
|
568
621
|
},
|
|
569
622
|
"getter": false,
|
|
570
623
|
"setter": false,
|
|
571
|
-
"reflect": false
|
|
624
|
+
"reflect": false,
|
|
625
|
+
"attribute": "container-name"
|
|
572
626
|
},
|
|
573
627
|
"localization": {
|
|
574
628
|
"type": "unknown",
|
|
575
|
-
"attribute": "localization",
|
|
576
629
|
"mutable": false,
|
|
577
630
|
"complexType": {
|
|
578
631
|
"original": "FormInputLocalization<{\n uploading?: string;\n upload?: string;\n failure?: string;\n success?: string;\n }>",
|
|
579
|
-
"resolved": "{
|
|
632
|
+
"resolved": "{ uploading?: string; upload?: string; failure?: string; success?: string; }",
|
|
580
633
|
"references": {
|
|
581
634
|
"FormInputLocalization": {
|
|
582
635
|
"location": "import",
|
|
583
636
|
"path": "~features/form-hook",
|
|
584
|
-
"id": "src/features/form-hook/index.ts::FormInputLocalization"
|
|
637
|
+
"id": "src/features/form-hook/index.ts::FormInputLocalization",
|
|
638
|
+
"referenceLocation": "FormInputLocalization"
|
|
585
639
|
}
|
|
586
640
|
}
|
|
587
641
|
},
|
|
@@ -48,7 +48,6 @@ export class FormStepper {
|
|
|
48
48
|
return {
|
|
49
49
|
"name": {
|
|
50
50
|
"type": "string",
|
|
51
|
-
"attribute": "name",
|
|
52
51
|
"mutable": false,
|
|
53
52
|
"complexType": {
|
|
54
53
|
"original": "string",
|
|
@@ -63,11 +62,11 @@ export class FormStepper {
|
|
|
63
62
|
},
|
|
64
63
|
"getter": false,
|
|
65
64
|
"setter": false,
|
|
66
|
-
"reflect": false
|
|
65
|
+
"reflect": false,
|
|
66
|
+
"attribute": "name"
|
|
67
67
|
},
|
|
68
68
|
"props": {
|
|
69
69
|
"type": "any",
|
|
70
|
-
"attribute": "props",
|
|
71
70
|
"mutable": false,
|
|
72
71
|
"complexType": {
|
|
73
72
|
"original": "any",
|
|
@@ -83,11 +82,11 @@ export class FormStepper {
|
|
|
83
82
|
"getter": false,
|
|
84
83
|
"setter": false,
|
|
85
84
|
"reflect": false,
|
|
85
|
+
"attribute": "props",
|
|
86
86
|
"defaultValue": "{}"
|
|
87
87
|
},
|
|
88
88
|
"form": {
|
|
89
89
|
"type": "unknown",
|
|
90
|
-
"attribute": "form",
|
|
91
90
|
"mutable": false,
|
|
92
91
|
"complexType": {
|
|
93
92
|
"original": "FormHook<any>",
|
|
@@ -96,7 +95,8 @@ export class FormStepper {
|
|
|
96
95
|
"FormHook": {
|
|
97
96
|
"location": "import",
|
|
98
97
|
"path": "~features/form-hook",
|
|
99
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
98
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
99
|
+
"referenceLocation": "FormHook"
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
},
|
|
@@ -111,16 +111,16 @@ export class FormStepper {
|
|
|
111
111
|
},
|
|
112
112
|
"localization": {
|
|
113
113
|
"type": "unknown",
|
|
114
|
-
"attribute": "localization",
|
|
115
114
|
"mutable": false,
|
|
116
115
|
"complexType": {
|
|
117
116
|
"original": "FormInputLocalization<{ value?: string }>",
|
|
118
|
-
"resolved": "{
|
|
117
|
+
"resolved": "{ value?: string; }",
|
|
119
118
|
"references": {
|
|
120
119
|
"FormInputLocalization": {
|
|
121
120
|
"location": "import",
|
|
122
121
|
"path": "~features/form-hook",
|
|
123
|
-
"id": "src/features/form-hook/index.ts::FormInputLocalization"
|
|
122
|
+
"id": "src/features/form-hook/index.ts::FormInputLocalization",
|
|
123
|
+
"referenceLocation": "FormInputLocalization"
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
},
|