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
|
@@ -23,9 +23,9 @@ export class FormSubmit {
|
|
|
23
23
|
var _a, _b;
|
|
24
24
|
const [locale, language] = this.form.getFormLocale();
|
|
25
25
|
const submitText = ((_b = (_a = this.localization) === null || _a === void 0 ? void 0 : _a[language]) === null || _b === void 0 ? void 0 : _b.label) || getNestedValue(locale, this.submitTextKey) || getNestedValue(locale, 'sharedFormLocales.submit') || 'Submit';
|
|
26
|
-
return (h("button", { key: '
|
|
26
|
+
return (h("button", { key: 'a85cf57ba5903a284241cc34115032d4b3832900', type: "submit", formnovalidate: true, part: buttonSubscriberKey, disabled: this.isLoading, class: cn('form-submit', {
|
|
27
27
|
loading: this.isLoading,
|
|
28
|
-
}) }, h("div", { key: '
|
|
28
|
+
}) }, h("div", { key: '241ed0b5aafab2578074ed6a8003a1d8c0c744be', part: "form-submit-text", class: "opacity-0 form-submit-text-style" }, submitText), h("div", { key: '4c3e8e22b0d4b2fb7b32ec8af69b7720ce5993ac', part: "form-submit-text", class: "form-submit-text-style form-submit-text-position" }, submitText), h("div", { key: '2c22bacbcfa9f7fafd9cd6ff4cba3ac383bcbf14', part: "form-submit-loading-container", class: "form-submit-loading-container" }, h("img", { key: '7ce2e00f49d93aa9ff9ca51493f33edd5c289741', part: "form-submit-loading-icon", class: "form-submit-loading-icon", src: Loader }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "form-submit"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -42,7 +42,6 @@ export class FormSubmit {
|
|
|
42
42
|
return {
|
|
43
43
|
"language": {
|
|
44
44
|
"type": "string",
|
|
45
|
-
"attribute": "language",
|
|
46
45
|
"mutable": false,
|
|
47
46
|
"complexType": {
|
|
48
47
|
"original": "string",
|
|
@@ -57,11 +56,11 @@ export class FormSubmit {
|
|
|
57
56
|
},
|
|
58
57
|
"getter": false,
|
|
59
58
|
"setter": false,
|
|
60
|
-
"reflect": false
|
|
59
|
+
"reflect": false,
|
|
60
|
+
"attribute": "language"
|
|
61
61
|
},
|
|
62
62
|
"wrapperId": {
|
|
63
63
|
"type": "string",
|
|
64
|
-
"attribute": "wrapper-id",
|
|
65
64
|
"mutable": false,
|
|
66
65
|
"complexType": {
|
|
67
66
|
"original": "string",
|
|
@@ -76,11 +75,11 @@ export class FormSubmit {
|
|
|
76
75
|
},
|
|
77
76
|
"getter": false,
|
|
78
77
|
"setter": false,
|
|
79
|
-
"reflect": false
|
|
78
|
+
"reflect": false,
|
|
79
|
+
"attribute": "wrapper-id"
|
|
80
80
|
},
|
|
81
81
|
"isLoading": {
|
|
82
82
|
"type": "boolean",
|
|
83
|
-
"attribute": "is-loading",
|
|
84
83
|
"mutable": false,
|
|
85
84
|
"complexType": {
|
|
86
85
|
"original": "boolean",
|
|
@@ -95,11 +94,11 @@ export class FormSubmit {
|
|
|
95
94
|
},
|
|
96
95
|
"getter": false,
|
|
97
96
|
"setter": false,
|
|
98
|
-
"reflect": false
|
|
97
|
+
"reflect": false,
|
|
98
|
+
"attribute": "is-loading"
|
|
99
99
|
},
|
|
100
100
|
"form": {
|
|
101
101
|
"type": "unknown",
|
|
102
|
-
"attribute": "form",
|
|
103
102
|
"mutable": false,
|
|
104
103
|
"complexType": {
|
|
105
104
|
"original": "FormHook<any>",
|
|
@@ -108,7 +107,8 @@ export class FormSubmit {
|
|
|
108
107
|
"FormHook": {
|
|
109
108
|
"location": "import",
|
|
110
109
|
"path": "~features/form-hook",
|
|
111
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
110
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
111
|
+
"referenceLocation": "FormHook"
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
@@ -123,7 +123,6 @@ export class FormSubmit {
|
|
|
123
123
|
},
|
|
124
124
|
"wrapperClass": {
|
|
125
125
|
"type": "string",
|
|
126
|
-
"attribute": "wrapper-class",
|
|
127
126
|
"mutable": false,
|
|
128
127
|
"complexType": {
|
|
129
128
|
"original": "string",
|
|
@@ -138,11 +137,11 @@ export class FormSubmit {
|
|
|
138
137
|
},
|
|
139
138
|
"getter": false,
|
|
140
139
|
"setter": false,
|
|
141
|
-
"reflect": false
|
|
140
|
+
"reflect": false,
|
|
141
|
+
"attribute": "wrapper-class"
|
|
142
142
|
},
|
|
143
143
|
"submitTextKey": {
|
|
144
144
|
"type": "string",
|
|
145
|
-
"attribute": "submit-text-key",
|
|
146
145
|
"mutable": false,
|
|
147
146
|
"complexType": {
|
|
148
147
|
"original": "string",
|
|
@@ -158,20 +157,21 @@ export class FormSubmit {
|
|
|
158
157
|
"getter": false,
|
|
159
158
|
"setter": false,
|
|
160
159
|
"reflect": false,
|
|
160
|
+
"attribute": "submit-text-key",
|
|
161
161
|
"defaultValue": "'submit'"
|
|
162
162
|
},
|
|
163
163
|
"localization": {
|
|
164
164
|
"type": "unknown",
|
|
165
|
-
"attribute": "localization",
|
|
166
165
|
"mutable": false,
|
|
167
166
|
"complexType": {
|
|
168
167
|
"original": "FormInputLocalization",
|
|
169
|
-
"resolved": "
|
|
168
|
+
"resolved": "T",
|
|
170
169
|
"references": {
|
|
171
170
|
"FormInputLocalization": {
|
|
172
171
|
"location": "import",
|
|
173
172
|
"path": "~features/form-hook",
|
|
174
|
-
"id": "src/features/form-hook/index.ts::FormInputLocalization"
|
|
173
|
+
"id": "src/features/form-hook/index.ts::FormInputLocalization",
|
|
174
|
+
"referenceLocation": "FormInputLocalization"
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
},
|
|
@@ -28,7 +28,7 @@ export class FormSwitch {
|
|
|
28
28
|
render() {
|
|
29
29
|
const { disabled, meta, errorMessage, isError } = this.form.getInputState(this.name);
|
|
30
30
|
const { label, errorTextMessage } = getInputLocalization(this, meta, errorMessage);
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'dcf40c8bd8872f725164b01d048bfeb548a8471f', translate: "no" }, h("div", { key: '810b62f22fa5eb7cd74b5105e6a15827696b5a9f', part: `${this.name}`, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, disabled) }, h("div", { key: 'a46261c165ee722afdfa9c53bd81d82916d2b4b2', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h("shift-switch", { key: '5d4c91f496ab2eed5eb3b3297dc16032344413ca', name: this.name, label: label, class: "form-switch" })), h(FormErrorMessage, { key: '6cf3d4ef84657eb0df3ae5da1c96782832e356d9', name: this.name, isError: isError, errorMessage: errorTextMessage }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "form-switch"; }
|
|
34
34
|
static get originalStyleUrls() {
|
|
@@ -45,7 +45,6 @@ export class FormSwitch {
|
|
|
45
45
|
return {
|
|
46
46
|
"name": {
|
|
47
47
|
"type": "string",
|
|
48
|
-
"attribute": "name",
|
|
49
48
|
"mutable": false,
|
|
50
49
|
"complexType": {
|
|
51
50
|
"original": "string",
|
|
@@ -60,11 +59,11 @@ export class FormSwitch {
|
|
|
60
59
|
},
|
|
61
60
|
"getter": false,
|
|
62
61
|
"setter": false,
|
|
63
|
-
"reflect": false
|
|
62
|
+
"reflect": false,
|
|
63
|
+
"attribute": "name"
|
|
64
64
|
},
|
|
65
65
|
"wrapperId": {
|
|
66
66
|
"type": "string",
|
|
67
|
-
"attribute": "wrapper-id",
|
|
68
67
|
"mutable": false,
|
|
69
68
|
"complexType": {
|
|
70
69
|
"original": "string",
|
|
@@ -79,11 +78,11 @@ export class FormSwitch {
|
|
|
79
78
|
},
|
|
80
79
|
"getter": false,
|
|
81
80
|
"setter": false,
|
|
82
|
-
"reflect": false
|
|
81
|
+
"reflect": false,
|
|
82
|
+
"attribute": "wrapper-id"
|
|
83
83
|
},
|
|
84
84
|
"form": {
|
|
85
85
|
"type": "unknown",
|
|
86
|
-
"attribute": "form",
|
|
87
86
|
"mutable": false,
|
|
88
87
|
"complexType": {
|
|
89
88
|
"original": "FormHook<any>",
|
|
@@ -92,7 +91,8 @@ export class FormSwitch {
|
|
|
92
91
|
"FormHook": {
|
|
93
92
|
"location": "import",
|
|
94
93
|
"path": "~features/form-hook",
|
|
95
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
94
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
95
|
+
"referenceLocation": "FormHook"
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
},
|
|
@@ -107,7 +107,6 @@ export class FormSwitch {
|
|
|
107
107
|
},
|
|
108
108
|
"inputPrefix": {
|
|
109
109
|
"type": "string",
|
|
110
|
-
"attribute": "input-prefix",
|
|
111
110
|
"mutable": false,
|
|
112
111
|
"complexType": {
|
|
113
112
|
"original": "string",
|
|
@@ -122,11 +121,11 @@ export class FormSwitch {
|
|
|
122
121
|
},
|
|
123
122
|
"getter": false,
|
|
124
123
|
"setter": false,
|
|
125
|
-
"reflect": false
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"attribute": "input-prefix"
|
|
126
126
|
},
|
|
127
127
|
"wrapperClass": {
|
|
128
128
|
"type": "string",
|
|
129
|
-
"attribute": "wrapper-class",
|
|
130
129
|
"mutable": false,
|
|
131
130
|
"complexType": {
|
|
132
131
|
"original": "string",
|
|
@@ -141,11 +140,11 @@ export class FormSwitch {
|
|
|
141
140
|
},
|
|
142
141
|
"getter": false,
|
|
143
142
|
"setter": false,
|
|
144
|
-
"reflect": false
|
|
143
|
+
"reflect": false,
|
|
144
|
+
"attribute": "wrapper-class"
|
|
145
145
|
},
|
|
146
146
|
"type": {
|
|
147
147
|
"type": "string",
|
|
148
|
-
"attribute": "type",
|
|
149
148
|
"mutable": false,
|
|
150
149
|
"complexType": {
|
|
151
150
|
"original": "string",
|
|
@@ -161,11 +160,11 @@ export class FormSwitch {
|
|
|
161
160
|
"getter": false,
|
|
162
161
|
"setter": false,
|
|
163
162
|
"reflect": false,
|
|
163
|
+
"attribute": "type",
|
|
164
164
|
"defaultValue": "'text'"
|
|
165
165
|
},
|
|
166
166
|
"defaultChecked": {
|
|
167
167
|
"type": "boolean",
|
|
168
|
-
"attribute": "default-checked",
|
|
169
168
|
"mutable": false,
|
|
170
169
|
"complexType": {
|
|
171
170
|
"original": "boolean",
|
|
@@ -180,20 +179,21 @@ export class FormSwitch {
|
|
|
180
179
|
},
|
|
181
180
|
"getter": false,
|
|
182
181
|
"setter": false,
|
|
183
|
-
"reflect": false
|
|
182
|
+
"reflect": false,
|
|
183
|
+
"attribute": "default-checked"
|
|
184
184
|
},
|
|
185
185
|
"localization": {
|
|
186
186
|
"type": "unknown",
|
|
187
|
-
"attribute": "localization",
|
|
188
187
|
"mutable": false,
|
|
189
188
|
"complexType": {
|
|
190
189
|
"original": "FormInputLocalization",
|
|
191
|
-
"resolved": "
|
|
190
|
+
"resolved": "T",
|
|
192
191
|
"references": {
|
|
193
192
|
"FormInputLocalization": {
|
|
194
193
|
"location": "import",
|
|
195
194
|
"path": "~features/form-hook",
|
|
196
|
-
"id": "src/features/form-hook/index.ts::FormInputLocalization"
|
|
195
|
+
"id": "src/features/form-hook/index.ts::FormInputLocalization",
|
|
196
|
+
"referenceLocation": "FormInputLocalization"
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -17,7 +17,7 @@ export class FormTextArea {
|
|
|
17
17
|
this.onStaticValueChange(this.staticValue, false);
|
|
18
18
|
}
|
|
19
19
|
async onStaticValueChange(newStaticValue, notInitialLoad = true) {
|
|
20
|
-
if (
|
|
20
|
+
if (newStaticValue) {
|
|
21
21
|
this.defaultValue = newStaticValue;
|
|
22
22
|
this.inputRef.value = newStaticValue;
|
|
23
23
|
}
|
|
@@ -40,9 +40,9 @@ export class FormTextArea {
|
|
|
40
40
|
const { disabled, isRequired, meta, isError, errorMessage } = this.form.getInputState(this.name);
|
|
41
41
|
const { label, placeholder, errorTextMessage } = getInputLocalization(this, meta, errorMessage);
|
|
42
42
|
const isDisabled = disabled || this.isLoading || !!this.staticValue || this.isDisabled;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '75fea3c3ef08a69178d04f05efaeeb1ade984995', translate: "no" }, h("label", { key: 'ba47f79b79c9d81a0d69dad93d8d2bbecf2bbef8', part: `form-textarea ${this.name}`, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: 'e08798f29b492dc6e492228efa33c08cc1ba5604', name: this.name, isRequired: isRequired, label: label }), h("div", { key: 'de18c4bf760cf910bd4a0324c3a2614645c209b8', part: `${this.name}-container form-input-container`, class: "form-input-container" }, h("textarea", { key: '33eef35badb027ede34621801aaff4a93eaebfb0', name: this.name, disabled: isDisabled, placeholder: placeholder, part: `${this.name}-textarea form-input-textarea`, class: cn('form-input-style form-input-textarea-style', partKeyPrefix + this.name, {
|
|
44
44
|
'form-input-error-style': isError,
|
|
45
|
-
}) }, this.defaultValue)), h("div", { key: '
|
|
45
|
+
}) }, this.defaultValue)), h("div", { key: 'a42ca91b4a2d789333eacb66495feb975ea93c12', class: "-mt-1" }, h(FormErrorMessage, { key: 'bba535b0816c1713757117afb857f6f58962fdd6', name: this.name, isError: isError, errorMessage: errorTextMessage })))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "form-text-area"; }
|
|
48
48
|
static get originalStyleUrls() {
|
|
@@ -59,7 +59,6 @@ export class FormTextArea {
|
|
|
59
59
|
return {
|
|
60
60
|
"name": {
|
|
61
61
|
"type": "string",
|
|
62
|
-
"attribute": "name",
|
|
63
62
|
"mutable": false,
|
|
64
63
|
"complexType": {
|
|
65
64
|
"original": "string",
|
|
@@ -74,11 +73,11 @@ export class FormTextArea {
|
|
|
74
73
|
},
|
|
75
74
|
"getter": false,
|
|
76
75
|
"setter": false,
|
|
77
|
-
"reflect": false
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"attribute": "name"
|
|
78
78
|
},
|
|
79
79
|
"wrapperId": {
|
|
80
80
|
"type": "string",
|
|
81
|
-
"attribute": "wrapper-id",
|
|
82
81
|
"mutable": false,
|
|
83
82
|
"complexType": {
|
|
84
83
|
"original": "string",
|
|
@@ -93,11 +92,11 @@ export class FormTextArea {
|
|
|
93
92
|
},
|
|
94
93
|
"getter": false,
|
|
95
94
|
"setter": false,
|
|
96
|
-
"reflect": false
|
|
95
|
+
"reflect": false,
|
|
96
|
+
"attribute": "wrapper-id"
|
|
97
97
|
},
|
|
98
98
|
"form": {
|
|
99
99
|
"type": "unknown",
|
|
100
|
-
"attribute": "form",
|
|
101
100
|
"mutable": false,
|
|
102
101
|
"complexType": {
|
|
103
102
|
"original": "FormHook<any>",
|
|
@@ -106,7 +105,8 @@ export class FormTextArea {
|
|
|
106
105
|
"FormHook": {
|
|
107
106
|
"location": "import",
|
|
108
107
|
"path": "~features/form-hook",
|
|
109
|
-
"id": "src/features/form-hook/index.ts::FormHook"
|
|
108
|
+
"id": "src/features/form-hook/index.ts::FormHook",
|
|
109
|
+
"referenceLocation": "FormHook"
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
},
|
|
@@ -121,7 +121,6 @@ export class FormTextArea {
|
|
|
121
121
|
},
|
|
122
122
|
"isLoading": {
|
|
123
123
|
"type": "boolean",
|
|
124
|
-
"attribute": "is-loading",
|
|
125
124
|
"mutable": false,
|
|
126
125
|
"complexType": {
|
|
127
126
|
"original": "boolean",
|
|
@@ -136,11 +135,11 @@ export class FormTextArea {
|
|
|
136
135
|
},
|
|
137
136
|
"getter": false,
|
|
138
137
|
"setter": false,
|
|
139
|
-
"reflect": false
|
|
138
|
+
"reflect": false,
|
|
139
|
+
"attribute": "is-loading"
|
|
140
140
|
},
|
|
141
141
|
"defaultValue": {
|
|
142
142
|
"type": "string",
|
|
143
|
-
"attribute": "default-value",
|
|
144
143
|
"mutable": false,
|
|
145
144
|
"complexType": {
|
|
146
145
|
"original": "string",
|
|
@@ -155,11 +154,11 @@ export class FormTextArea {
|
|
|
155
154
|
},
|
|
156
155
|
"getter": false,
|
|
157
156
|
"setter": false,
|
|
158
|
-
"reflect": false
|
|
157
|
+
"reflect": false,
|
|
158
|
+
"attribute": "default-value"
|
|
159
159
|
},
|
|
160
160
|
"wrapperClass": {
|
|
161
161
|
"type": "string",
|
|
162
|
-
"attribute": "wrapper-class",
|
|
163
162
|
"mutable": false,
|
|
164
163
|
"complexType": {
|
|
165
164
|
"original": "string",
|
|
@@ -174,11 +173,11 @@ export class FormTextArea {
|
|
|
174
173
|
},
|
|
175
174
|
"getter": false,
|
|
176
175
|
"setter": false,
|
|
177
|
-
"reflect": false
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"attribute": "wrapper-class"
|
|
178
178
|
},
|
|
179
179
|
"staticValue": {
|
|
180
180
|
"type": "string",
|
|
181
|
-
"attribute": "static-value",
|
|
182
181
|
"mutable": false,
|
|
183
182
|
"complexType": {
|
|
184
183
|
"original": "string",
|
|
@@ -193,11 +192,11 @@ export class FormTextArea {
|
|
|
193
192
|
},
|
|
194
193
|
"getter": false,
|
|
195
194
|
"setter": false,
|
|
196
|
-
"reflect": false
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"attribute": "static-value"
|
|
197
197
|
},
|
|
198
198
|
"isDisabled": {
|
|
199
199
|
"type": "boolean",
|
|
200
|
-
"attribute": "is-disabled",
|
|
201
200
|
"mutable": false,
|
|
202
201
|
"complexType": {
|
|
203
202
|
"original": "boolean",
|
|
@@ -212,20 +211,21 @@ export class FormTextArea {
|
|
|
212
211
|
},
|
|
213
212
|
"getter": false,
|
|
214
213
|
"setter": false,
|
|
215
|
-
"reflect": false
|
|
214
|
+
"reflect": false,
|
|
215
|
+
"attribute": "is-disabled"
|
|
216
216
|
},
|
|
217
217
|
"localization": {
|
|
218
218
|
"type": "unknown",
|
|
219
|
-
"attribute": "localization",
|
|
220
219
|
"mutable": false,
|
|
221
220
|
"complexType": {
|
|
222
221
|
"original": "FormInputLocalization",
|
|
223
|
-
"resolved": "
|
|
222
|
+
"resolved": "T",
|
|
224
223
|
"references": {
|
|
225
224
|
"FormInputLocalization": {
|
|
226
225
|
"location": "import",
|
|
227
226
|
"path": "~features/form-hook",
|
|
228
|
-
"id": "src/features/form-hook/index.ts::FormInputLocalization"
|
|
227
|
+
"id": "src/features/form-hook/index.ts::FormInputLocalization",
|
|
228
|
+
"referenceLocation": "FormInputLocalization"
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
},
|
|
@@ -133,22 +133,22 @@ export class FormTimePicker {
|
|
|
133
133
|
const step = this.minuteStep || 1;
|
|
134
134
|
const hours = Array.from({ length: 24 }, (_, i) => i);
|
|
135
135
|
const minutes = Array.from({ length: Math.ceil(60 / step) }, (_, i) => i * step);
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '531f05495dcb842b02259be1dd246b085902c7ca', translate: "no" }, h("label", { key: 'da56fb2ab71167c24126b028b5546c93eede38a7', part: this.name, id: this.wrapperId, class: cn('form-input-label-container', this.wrapperClass, { disabled: isDisabled }) }, h(FormInputLabel, { key: 'dc697930d653e4042d8f1a43a16423cb1de4cb44', isRequired: isRequired, label: label }), h("form-shadow-input", { key: 'c51b50c6b552b062cd1ed6083e01a9565b39fbf8', name: this.name, form: this.form, value: this.selectedValue }), h("div", { key: '5a6eef5711c40aea7830684db09492d5b33d6501', part: `${this.name}-container form-input-container`, class: cn('form-input-container', { open: this.isOpen }) }, h("input", { key: '73a0f9b482f3f4e80d42b2fe30ca72f79a47508d', type: "text", readOnly: true, disabled: isDisabled, value: this.selectedValue, onClick: this.toggleDropdown, part: `${this.name}-input form-input`, placeholder: placeholder || (meta === null || meta === void 0 ? void 0 : meta.placeholder), class: cn('form-input-style form-input-select', {
|
|
137
137
|
'form-input-error-style': isError,
|
|
138
|
-
}) }), h("span", { key: '
|
|
138
|
+
}) }), h("span", { key: 'ff46dcfdba3d4ed426b31cf0513f6d0caef328bc', part: `${this.name}-icon form-time-picker-icon`, class: "form-input-icon form-input-icon-end" }, h("svg", { key: '6b1e4184d5c2677fa3ef85c674079f966210bff4', "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", class: "size-full" }, h("circle", { key: 'daabb0622489f1d541f7db0370bc27199f0da4ee', cx: "12", cy: "12", r: "10" }), h("polyline", { key: '9ba43f2e34c558ab17e089d5876195836cbeae9b', points: "12 6 12 12 16 14" }))), h("div", { key: '8c90c6d52272232c6a21893f9d59854c4adad8c3', part: `${this.name}-dropdown form-time-picker-dropdown`, class: cn('form-picker-dropdown', {
|
|
139
139
|
upwards: this.openUpwards,
|
|
140
140
|
downwards: !this.openUpwards,
|
|
141
|
-
}) }, h("div", { key: '
|
|
141
|
+
}) }, h("div", { key: '693fb1067a4f28165660daf7fa147ee8898db359', class: "form-time-picker-columns" }, h("div", { key: '0f601ad6d4aca836d83002261f715c37f55d6c90', class: "form-time-picker-column form-time-picker-hours" }, h("div", { key: '5a919fcb4da6c9207133c73bc5a58fd65502b31f', class: "form-time-picker-column-header" }, "HH"), hours.map(hour => {
|
|
142
142
|
const hourDisabled = this.isHourDisabled(hour);
|
|
143
143
|
return (h("button", { type: "button", disabled: hourDisabled, onClick: () => this.selectHour(hour), part: cn('form-time-picker-option', { 'form-time-picker-option-selected': hour === selectedHour }), class: cn('form-time-picker-option', {
|
|
144
144
|
selected: hour === selectedHour,
|
|
145
145
|
}) }, String(hour).padStart(2, '0')));
|
|
146
|
-
})), h("div", { key: '
|
|
146
|
+
})), h("div", { key: '74bcf6a766f0265c06d6ee7ef265be5379428b65', class: "form-time-picker-column form-time-picker-minutes" }, h("div", { key: '776f3c930d59af1dfbe3daf1d56772f27b2b33bf', class: "form-time-picker-column-header" }, "MM"), minutes.map(minute => {
|
|
147
147
|
const minuteDisabled = selectedHour >= 0 ? this.isMinuteDisabled(selectedHour, minute) : false;
|
|
148
148
|
return (h("button", { type: "button", disabled: minuteDisabled, onClick: () => this.selectMinute(minute), part: cn('form-time-picker-option', { 'form-time-picker-option-selected': minute === selectedMinute }), class: cn('form-time-picker-option', {
|
|
149
149
|
selected: minute === selectedMinute,
|
|
150
150
|
}) }, String(minute).padStart(2, '0')));
|
|
151
|
-
}))))), h(FormErrorMessage, { key: '
|
|
151
|
+
}))))), h(FormErrorMessage, { key: '26bab2c7a6c10dde29b89c49915ae4b80e29dc4f', name: this.name, isError: isError, errorMessage: locale[errorMessage] || errorMessage }))));
|
|
152
152
|
}
|
|
153
153
|
static get is() { return "form-time-picker"; }
|
|
154
154
|
static get originalStyleUrls() {
|
|
@@ -165,7 +165,6 @@ export class FormTimePicker {
|
|
|
165
165
|
return {
|
|
166
166
|
"name": {
|
|
167
167
|
"type": "string",
|
|
168
|
-
"attribute": "name",
|
|
169
168
|
"mutable": false,
|
|
170
169
|
"complexType": {
|
|
171
170
|
"original": "string",
|
|
@@ -180,11 +179,11 @@ export class FormTimePicker {
|
|
|
180
179
|
},
|
|
181
180
|
"getter": false,
|
|
182
181
|
"setter": false,
|
|
183
|
-
"reflect": false
|
|
182
|
+
"reflect": false,
|
|
183
|
+
"attribute": "name"
|
|
184
184
|
},
|
|
185
185
|
"wrapperId": {
|
|
186
186
|
"type": "string",
|
|
187
|
-
"attribute": "wrapper-id",
|
|
188
187
|
"mutable": false,
|
|
189
188
|
"complexType": {
|
|
190
189
|
"original": "string",
|
|
@@ -199,11 +198,11 @@ export class FormTimePicker {
|
|
|
199
198
|
},
|
|
200
199
|
"getter": false,
|
|
201
200
|
"setter": false,
|
|
202
|
-
"reflect": false
|
|
201
|
+
"reflect": false,
|
|
202
|
+
"attribute": "wrapper-id"
|
|
203
203
|
},
|
|
204
204
|
"isLoading": {
|
|
205
205
|
"type": "boolean",
|
|
206
|
-
"attribute": "is-loading",
|
|
207
206
|
"mutable": false,
|
|
208
207
|
"complexType": {
|
|
209
208
|
"original": "boolean",
|
|
@@ -218,11 +217,11 @@ export class FormTimePicker {
|
|
|
218
217
|
},
|
|
219
218
|
"getter": false,
|
|
220
219
|
"setter": false,
|
|
221
|
-
"reflect": false
|
|
220
|
+
"reflect": false,
|
|
221
|
+
"attribute": "is-loading"
|
|
222
222
|
},
|
|
223
223
|
"isDisabled": {
|
|
224
224
|
"type": "boolean",
|
|
225
|
-
"attribute": "is-disabled",
|
|
226
225
|
"mutable": false,
|
|
227
226
|
"complexType": {
|
|
228
227
|
"original": "boolean",
|
|
@@ -237,11 +236,11 @@ export class FormTimePicker {
|
|
|
237
236
|
},
|
|
238
237
|
"getter": false,
|
|
239
238
|
"setter": false,
|
|
240
|
-
"reflect": false
|
|
239
|
+
"reflect": false,
|
|
240
|
+
"attribute": "is-disabled"
|
|
241
241
|
},
|
|
242
242
|
"form": {
|
|
243
243
|
"type": "unknown",
|
|
244
|
-
"attribute": "form",
|
|
245
244
|
"mutable": false,
|
|
246
245
|
"complexType": {
|
|
247
246
|
"original": "FormHook<any>",
|
|
@@ -250,7 +249,8 @@ export class FormTimePicker {
|
|
|
250
249
|
"FormHook": {
|
|
251
250
|
"location": "import",
|
|
252
251
|
"path": "~features/form-hook/form-hook",
|
|
253
|
-
"id": "src/features/form-hook/form-hook.ts::FormHook"
|
|
252
|
+
"id": "src/features/form-hook/form-hook.ts::FormHook",
|
|
253
|
+
"referenceLocation": "FormHook"
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
},
|
|
@@ -265,7 +265,6 @@ export class FormTimePicker {
|
|
|
265
265
|
},
|
|
266
266
|
"wrapperClass": {
|
|
267
267
|
"type": "string",
|
|
268
|
-
"attribute": "wrapper-class",
|
|
269
268
|
"mutable": false,
|
|
270
269
|
"complexType": {
|
|
271
270
|
"original": "string",
|
|
@@ -280,11 +279,11 @@ export class FormTimePicker {
|
|
|
280
279
|
},
|
|
281
280
|
"getter": false,
|
|
282
281
|
"setter": false,
|
|
283
|
-
"reflect": false
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"attribute": "wrapper-class"
|
|
284
284
|
},
|
|
285
285
|
"staticValue": {
|
|
286
286
|
"type": "string",
|
|
287
|
-
"attribute": "static-value",
|
|
288
287
|
"mutable": false,
|
|
289
288
|
"complexType": {
|
|
290
289
|
"original": "string",
|
|
@@ -299,11 +298,11 @@ export class FormTimePicker {
|
|
|
299
298
|
},
|
|
300
299
|
"getter": false,
|
|
301
300
|
"setter": false,
|
|
302
|
-
"reflect": false
|
|
301
|
+
"reflect": false,
|
|
302
|
+
"attribute": "static-value"
|
|
303
303
|
},
|
|
304
304
|
"defaultValue": {
|
|
305
305
|
"type": "string",
|
|
306
|
-
"attribute": "default-value",
|
|
307
306
|
"mutable": true,
|
|
308
307
|
"complexType": {
|
|
309
308
|
"original": "string",
|
|
@@ -318,11 +317,11 @@ export class FormTimePicker {
|
|
|
318
317
|
},
|
|
319
318
|
"getter": false,
|
|
320
319
|
"setter": false,
|
|
321
|
-
"reflect": false
|
|
320
|
+
"reflect": false,
|
|
321
|
+
"attribute": "default-value"
|
|
322
322
|
},
|
|
323
323
|
"minTime": {
|
|
324
324
|
"type": "string",
|
|
325
|
-
"attribute": "min-time",
|
|
326
325
|
"mutable": false,
|
|
327
326
|
"complexType": {
|
|
328
327
|
"original": "string",
|
|
@@ -337,11 +336,11 @@ export class FormTimePicker {
|
|
|
337
336
|
},
|
|
338
337
|
"getter": false,
|
|
339
338
|
"setter": false,
|
|
340
|
-
"reflect": false
|
|
339
|
+
"reflect": false,
|
|
340
|
+
"attribute": "min-time"
|
|
341
341
|
},
|
|
342
342
|
"maxTime": {
|
|
343
343
|
"type": "string",
|
|
344
|
-
"attribute": "max-time",
|
|
345
344
|
"mutable": false,
|
|
346
345
|
"complexType": {
|
|
347
346
|
"original": "string",
|
|
@@ -356,11 +355,11 @@ export class FormTimePicker {
|
|
|
356
355
|
},
|
|
357
356
|
"getter": false,
|
|
358
357
|
"setter": false,
|
|
359
|
-
"reflect": false
|
|
358
|
+
"reflect": false,
|
|
359
|
+
"attribute": "max-time"
|
|
360
360
|
},
|
|
361
361
|
"minuteStep": {
|
|
362
362
|
"type": "number",
|
|
363
|
-
"attribute": "minute-step",
|
|
364
363
|
"mutable": false,
|
|
365
364
|
"complexType": {
|
|
366
365
|
"original": "number",
|
|
@@ -376,6 +375,7 @@ export class FormTimePicker {
|
|
|
376
375
|
"getter": false,
|
|
377
376
|
"setter": false,
|
|
378
377
|
"reflect": false,
|
|
378
|
+
"attribute": "minute-step",
|
|
379
379
|
"defaultValue": "1"
|
|
380
380
|
}
|
|
381
381
|
};
|