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
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}!async function(){const t="https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap";if(!document.querySelector(`link[href="${t}"]`)){const n=document.createElement("link");n.rel="stylesheet",n.href=t,document.head.appendChild(n),console.log("✅ Noto Kufi Arabic and Nunito Fonts loaded globally.")}window.blazorInvoke||(window.blazorInvoke=async function(t,n,...e){const o=document.querySelector(t);if(o)if("function"==typeof o[n])try{return await o[n](...e)}catch(e){console.error(`Error invoking function "${n}" on element "${t}":`,e)}else console.error(`Function "${n}" not found on the element.`);else console.error(`Element with selector "${t}" not found.`)},window.blazorInvokeSet=async function(t,n,e){const o=document.querySelector(t);if(o)try{return o[n]=e}catch(t){console.error(`Setting field ${n} failed to set value: ${e}:`,t)}else console.error(`Element with selector "${t}" not found.`)},console.log("Global blazorInvoke initialized."))}();var n,e=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&e(t,n))},s=(t,n)=>n in t,i=(t,n)=>(0,console.error)(t,n),r=new Map,c=new Map,u="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},d={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},h=t=>Promise.resolve(t),p=(()=>{try{return!!a.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!a.document&&Object.getOwnPropertyDescriptor(a.document.adoptedStyleSheets,"length").writable)(),m=!1,y=[],b=[],w=(t,n)=>e=>{t.push(e),m||(m=!0,n&&4&d.u?j(g):d.raf(g))},$=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){i(t)}t.length=0},g=()=>{$(y),$(b),(m=y.length>0)&&d.raf(g)},j=t=>h().then(t),O=w(b,!0);function S(){const t=this.attachShadow({mode:"open"});void 0===n&&(n=null),n&&(v?t.adoptedStyleSheets.push(n):t.adoptedStyleSheets=[...t.adoptedStyleSheets,n])}var k=t=>{const n=x(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!E(t,M(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&x(t,"childNodes").length&&k(t)}};function N(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||M(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...N(o.childNodes,n,e)]}return s}var E=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)M(l)!==n||!e&&l["s-sr"]||o.push(l);return o},C=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,M=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function x(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function T(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var A,L,R=new WeakMap,F=t=>"sc-"+t.p,P=t=>"object"==(t=typeof t)||"function"===t,D=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!P(o))&&(o+=""),i&&r?c[c.length-1].v+=o:c.push(i?H(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,U);const f=H(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=l,f.O=s,f},H=(t,n)=>({u:0,S:t,v:null!=n?n:null,k:null,$:null,m:null,j:null,O:null}),z={},U={forEach:(t,n)=>t.map(_).forEach(n),map:(t,n)=>t.map(_).map(n).map(W)},_=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.v}),W=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),D(t.vtag,n,...t.vchildren||[])}const n=H(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},B=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},V=(t,n)=>null==t||P(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,q=t=>{var n;return null==(n=o(t))?void 0:n.$hostElement$},G=(t,n,e,l,i,r)=>{if(e===l)return;let c=s(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,o=K(e);let s=K(l);n.remove(...o.filter((t=>t&&!s.includes(t)))),n.add(...s.filter((t=>t&&!o.includes(t))))}else if("style"===n){for(const n in e)l&&null!=l[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in l)e&&l[n]===e[n]||(n.includes("-")?t.style.setProperty(n,l[n]):t.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&mt(l,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const e=n.slice(5);let s;{const n=o(t);if(n&&n.o&&n.o.t){const t=n.o.t[e];t&&t[1]&&(s=t[1])}}return s||(s=e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(s)||t.removeAttribute(s):t.setAttribute(s,!0===l?"":l))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=l}catch(t){}return}{const o=P(l);if((c||o&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[n]!==l&&(t[n]=l);else{const o=null==l?"":l;"list"===n?c=!1:null!=e&&t[n]===o||("function"==typeof t.__lookupSetter__(n)?t[n]=o:t.setAttribute(n,o))}}catch(t){}let s=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,s=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(n)||(s?t.removeAttributeNS(f,n):t.removeAttribute(n)):(!c||4&r||i)&&!o&&1===t.nodeType&&(l=!0===l?"":l,s?t.setAttributeNS(f,n,l):t.setAttribute(n,l))}}else if(n="-"===n[2]?n.slice(3):s(a,u)?u.slice(2):u[2]+n.slice(3),e||l){const o=n.endsWith(Y);n=n.replace(Z,""),e&&d.rel(t,n,e,o),l&&d.ael(t,n,l,o)}},I=/\s/,K=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(I):[]),Y="Capture",Z=RegExp(Y+"$"),J=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.m||{},s=n.m||{};for(const t of Q(Object.keys(l)))t in s||G(o,t,l[t],void 0,e,n.u);for(const t of Q(Object.keys(s)))G(o,t,l[t],s[t],e,n.u)};function Q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var X=!1,tt=!1,nt=!1,et=!1,ot=[],lt=[],st=(t,n,e)=>{var o;const l=n.$[e];let s,i,r,c=0;if(X||(nt=!0,"slot"===l.S&&(l.u|=l.$?2:1)),null!=l.v)s=l.k=a.document.createTextNode(l.v);else if(1&l.u)s=l.k=a.document.createTextNode(""),J(null,l,et);else{if(et||(et="svg"===l.S),!a.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=a.document.createElementNS(et?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!X&&2&l.u?"slot-fb":l.S),et&&"foreignObject"===l.S&&(et=!1),J(null,l,et),l.$){const n="template"===l.S?s.content:s;for(c=0;c<l.$.length;++c)i=st(t,l,c),i&&n.appendChild(i)}"svg"===l.S?et=!1:"foreignObject"===s.tagName&&(et=!0)}return s["s-hn"]=L,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=A,s["s-sn"]=l.O||"",s["s-rf"]=null==(o=l.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===M(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.$&&t.$[e],r&&r.S===l.S&&t.k&&it(t.k)),s},it=t=>{d.u|=1;const n=t.closest(L.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(yt(n,t,null!=e?e:null),t["s-sh"]=void 0,nt=!0)}d.u&=-2},rt=(t,n)=>{d.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===L&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==L&&o["s-ol"]&&(yt(at(o).parentNode,o,at(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),n&&rt(o,n)}d.u&=-2},ct=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===L&&(r=r.shadowRoot),"template"===e.S&&(r=r.content);l<=s;++l)o[l]&&(i=st(null,e,l),i&&(o[l].k=i,yt(r,i,at(n))))},ut=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;vt(n),t&&(tt=!0,t["s-ol"]?t["s-ol"].remove():rt(t,!0),t.remove())}}},ft=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),at=t=>t&&t["s-ol"]||t,dt=(t,n,e=!1)=>{const o=n.k=t.k,l=t.$,s=n.$,i=n.S,r=n.v;let c;null==r?(et="svg"===i||"foreignObject"!==i&&et,"slot"!==i||X||t.O!==n.O&&(n.k["s-sn"]=n.O||"",it(n.k.parentElement)),J(t,n,et),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],h=n[a],p=o.length-1,v=o[0],m=o[p];const y="template"===e.S?t.content:t;for(;r<=a&&c<=p;)if(null==d)d=n[++r];else if(null==h)h=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--p];else if(ft(d,v,l))dt(d,v,l),d=n[++r],v=o[++c];else if(ft(h,m,l))dt(h,m,l),h=n[--a],m=o[--p];else if(ft(d,m,l))"slot"!==d.S&&"slot"!==m.S||rt(d.k.parentNode,!1),dt(d,m,l),yt(y,d.k,h.k.nextSibling),d=n[++r],m=o[--p];else if(ft(h,v,l))"slot"!==d.S&&"slot"!==m.S||rt(h.k.parentNode,!1),dt(h,v,l),yt(y,h.k,d.k),h=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.S!==v.S?s=st(n&&n[c],e,u):(dt(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=st(n&&n[c],e,c),v=o[++c]),s&&yt(at(d.k).parentNode,s,at(d.k))}r>a?ct(t,null==o[p+1]?null:o[p+1].k,e,o,c,p):c>p&&ut(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),ct(o,null,n,s,0,s.length-1)):!e&&null!==l&&ut(l,0,l.length-1),et&&"svg"===i&&(et=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},ht=[],pt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(C(n,l)){let e=ht.find((t=>t.N===n));tt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],ht.push({C:t,N:n})),n["s-sr"]&&ht.map((t=>{C(t.N,n["s-sn"])&&(e=ht.find((t=>t.N===n)),e&&!t.C&&(t.C=e.C))}))}else ht.some((t=>t.N===n))||ht.push({N:n})}1===t.nodeType&&pt(t)}},vt=t=>{t.m&&t.m.ref&&ot.push((()=>t.m.ref(null))),t.$&&t.$.map(vt)},mt=(t,n)=>{lt.push((()=>t(n)))},yt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=M(t)||"";return{slotNode:N(x(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},bt=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},wt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);bt(t,t.T);const e=()=>$t(t,n);if(!n)return O(e);queueMicrotask((()=>{e()}))},$t=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.A&&(t.A=!1,Ct(o,"connectedCallback",void 0,e)),t.u|=256,t.L&&(t.L.map((([t,n])=>Ct(o,t,n,e))),t.L=void 0),t.R.length&&t.R.forEach((t=>t(e))),l=Ct(o,"componentWillLoad",void 0,e)):l=Ct(o,"componentWillUpdate",void 0,e),l=gt(l,(()=>Ct(o,"componentWillRender",void 0,e))),gt(l,(()=>Ot(t,o,n)))},gt=(t,n)=>jt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ot=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,l=((t,n)=>{var e,o,l;const s=F(n),i=c.get(s);if(!a.document)return s;if(t=11===t.nodeType?t:a.document,i)if("string"==typeof i){let l,r=R.get(t=t.head||t);if(r||R.set(t,r=new Set),!r.has(s)){l=a.document.createElement("style"),l.textContent=i;const c=null!=(e=d.F)?e:T(a.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=u),r&&r.add(s)}}else{let n=R.get(t);if(n||R.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}return s})(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);St(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>kt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},St=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,f=t.P||H(null,null),h=(t=>t&&t.S===z)(n)?n:D(null,null,n);if(L=c.tagName,u.D&&(h.m=h.m||{},u.D.forEach((([t,n])=>{h.m[n]=c[t]}))),e&&h.m)for(const t of Object.keys(h.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.m[t]=c[t]);if(h.S=null,h.u|=4,t.P=h,h.k=f.k=c.shadowRoot||c,X=!(!(1&u.u)||128&u.u),A=c["s-cr"],tt=!1,dt(f,h,e),d.u|=1,nt){pt(h.k);for(const t of ht){const n=t.N;if(!n["s-ol"]&&a.document){const t=a.document.createTextNode("");t["s-nr"]=n,yt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ht){const n=t.N,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(yt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=a.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,yt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(tt&&k(h.k),d.u&=-2,ht.length=0,!X&&!(1&u.u)&&c["s-cr"]){const t=h.k.__childNodes||h.k.childNodes;for(const n of t)if(n["s-hn"]!==L&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=a.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],yt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}A=void 0,ot.forEach((t=>t())),ot.length=0,lt.forEach((t=>t())),lt.length=0})(t,n,o)}catch(n){i(n,t.$hostElement$)}return null},kt=t=>{const n=t.$hostElement$,e=t.i,o=t.T;Ct(e,"componentDidRender",void 0,n),64&t.u?Ct(e,"componentDidUpdate",void 0,n):(t.u|=64,Mt(n),Ct(e,"componentDidLoad",void 0,n),t.H(n),o||Et()),t.U(n),t.M&&(t.M(),t.M=void 0),512&t.u&&j((()=>wt(t,!1))),t.u&=-517},Nt=t=>{var n;{const e=o(t),l=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return l&&2==(18&e.u)&&wt(e,!1),l}},Et=()=>{j((()=>(t=>{const n=d.ce("appload",{detail:{namespace:"shift-components"}});return t.dispatchEvent(n),n})(a)))},Ct=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){i(t,o)}},Mt=t=>t.classList.add("hydrated"),xt=(t,n,e,l)=>{const s=o(t);if(!s)return;if(!s)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=s.$hostElement$,c=s.l.get(n),u=s.u,f=s.i;if(e=V(e,l.t[n][0]),!(8&u&&void 0!==c||e===c||Number.isNaN(c)&&Number.isNaN(e))){if(s.l.set(n,e),l._){const t=l._[n];t&&t.map((t=>{try{const[[o,l]]=Object.entries(t);(128&u||1&l)&&(f?f[o](e,c,n):s.R.push((()=>{s.i[o](e,c,n)})))}catch(t){i(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(e,c,n)&&!(16&u))return;16&u||wt(s,!1)}}},Tt=(n,e,l)=>{var s,i;const r=n.prototype;{n.watchers&&!e._&&(e._=B(n.watchers)),n.deserializers&&!e.W&&(e.W=n.deserializers),n.serializers&&!e.B&&(e.B=n.serializers);const c=Object.entries(null!=(s=e.t)?s:{});if(c.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(e.t[n][0]|=2048),c&&(e.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&e.t[n][0]))return((t,n)=>o(this).l.get(n))(0,n);const t=o(this),l=t?t.i:r;if(!l)return;return l[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=o(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,V(t,s)),void xt(this,n,t=32&s?this[n]:i.$hostElement$[n],e);{if(!(1&l&&4096&e.t[n][0]))return xt(this,n,t,e),void(1&l&&!i.i&&i.R.push((()=>{4096&e.t[n][0]&&i.i[n]!==i.l.get(n)&&(i.i[n]=t)})));const o=()=>{const o=i.i[n];!i.l.get(n)&&o&&i.l.set(n,o),i.i[n]=V(t,s),xt(this,n,i.i[n],e)};i.i?o():i.R.push((()=>{o()}))}}}})}else 1&l&&64&s&&Object.defineProperty(r,n,{value(...t){var e;const l=o(this);return null==(e=null==l?void 0:l.V)?void 0:e.then((()=>{var e;return null==(e=l.i)?void 0:e[n](...t)}))}})})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){d.jmp((()=>{var i;const u=t.get(n),f=o(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const o=f.i,r=null==(i=e._)?void 0:i[n];null==r||r.forEach((e=>{const[[i,r]]=Object.entries(e);null!=o[i]&&(128&t||1&r)&&o[i].call(o,s,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],h=d&&null===s&&void 0===this[u];d&&(s=null!==s&&"false"!==s);const p=Object.getOwnPropertyDescriptor(r,u);h||s==this[u]||p.get&&!p.set||(this[u]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e._)?i:{}),...c.filter((([t,n])=>31&n[0])).map((([n,o])=>{var l;const s=o[1]||n;return t.set(s,n),512&o[0]&&(null==(l=e.D)||l.push([n,s])),s}))]))}}return n},At=(t,n)=>{Ct(t,"connectedCallback",void 0,n)},Lt=(t,n)=>{Ct(t,"disconnectedCallback",void 0,n||t)},Rt=(t,n={})=>{var e;if(!a.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],s=n.exclude||[],f=a.customElements,h=a.document.head,v=h.querySelector("meta[charset]"),m=a.document.createElement("style"),y=[];let b,w=!0;Object.assign(d,n),d.h=new URL(n.resourcesUrl||"./",a.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{var e,u;const h={u:n[0],p:n[1],t:n[2],q:n[3]};4&h.u&&($=!0),h.t=n[2],h.q=n[3],h.D=[],h._=B(n[4]),h.B=null!=(e=n[5])?e:{},h.W=null!=(u=n[6])?u:{};const v=h.p,m=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,G:new Map};e.V=new Promise((t=>e.U=t)),e.I=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.R=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,h),1&h.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${h.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(t,h)}connectedCallback(){const t=o(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ft(this,t,h.q)),b&&(clearTimeout(b),b=null),w?y.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const n=o(t);if(!n)return;const e=n.o,l=()=>{};if(1&n.u)Ft(t,n,e.q),(null==n?void 0:n.i)?At(n.i,t):(null==n?void 0:n.I)&&n.I.then((()=>At(n.i,t)));else{n.u|=1,12&e.u&&(t=>{if(!a.document)return;const n=t["s-cr"]=a.document.createComment("");n["s-cn"]=!0,yt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){bt(n,n.T=e);break}}e.t&&Object.entries(e.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.K){const l=((t,n)=>{const e=t.p.replace(/-/g,"_"),o=t.K;if(!o)return;const l=r.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(r.set(o,t),t[e])),(t=>{i(t,n.$hostElement$)}))
|
|
6
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.p}#${n.Y}" was not found`);o.isProxied||(e._=B(o.watchers),e.B=o.serializers,e.W=o.deserializers,Tt(o,e,2),o.isProxied=!0);const s=()=>{};n.u|=8;try{new o(n)}catch(n){i(n,t)}n.u&=-9,n.u|=128,s(),4&e.u?n.A=!0:At(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=F(e);if(!c.has(n)){const o=()=>{};((t,n,e)=>{let o=c.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,c.set(t,o)})(n,t,!!(1&e.u)),o()}}}const l=n.T,s=()=>wt(n,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()}catch(e){i(e,t),n.M&&(n.M(),n.M=void 0),n.H&&n.H(t)}})(t,n,e)}l()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const n=o(t);(null==n?void 0:n.Z)&&(n.Z.map((t=>t())),n.Z=void 0),(null==n?void 0:n.i)?Lt(n.i,t):(null==n?void 0:n.I)&&n.I.then((()=>Lt(n.i,t)))}R.has(t)&&R.delete(t),t.shadowRoot&&R.has(t.shadowRoot)&&R.delete(t.shadowRoot)})(this))),d.raf((()=>{var t;const n=o(this);if(!n)return;const e=y.findIndex((t=>t===this));e>-1&&y.splice(e,1),(null==(t=null==n?void 0:n.P)?void 0:t.k)instanceof Node&&!n.P.k.isConnected&&delete n.P.k}))}componentOnReady(){var t;return null==(t=o(this))?void 0:t.I}};h.K=t[0],s.includes(v)||f.get(v)||(l.push(v),f.define(v,Tt(m,h,1)))}))})),l.length>0&&($&&(m.textContent+=u),m.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(e=d.F)?e:T(a.document);null!=t&&m.setAttribute("nonce",t),h.insertBefore(m,v?v.nextSibling:h.firstChild)}w=!1,y.length?y.map((t=>t.connectedCallback())):d.jmp((()=>b=setTimeout(Et,30)))},Ft=(t,n,e)=>{e&&a.document&&e.map((([e,o,l])=>{const s=Dt(a.document,t,e),i=Pt(n,l),r=Ht(e);d.ael(s,o,i,r),(n.Z=n.Z||[]).push((()=>d.rel(s,o,i,r)))}))},Pt=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.L=t.L||[]).push([n,e])}catch(n){i(n,t.$hostElement$)}},Dt=(t,n,e)=>4&e?t:n,Ht=t=>({passive:!!(1&t),capture:!!(2&t)}),zt=t=>d.F=t;export{z as H,Rt as b,Nt as f,q as g,D as h,h as p,l as r,zt as s}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{d as e}from"./p-
|
|
5
|
+
import{d as e}from"./p-DwFWMVcD.js";function t({offsets:t,type:r,date:a=e.startOfDay(new Date)}){if(t.length>0&&(a=e.addYears(a,t[0])),t.length>1&&(a=e.addMonths(a,t[1])),t.length>2&&(a=e.addDays(a,t[2])),t.length>3&&(a=e.addHours(a,t[3])),t.length>4&&(a=e.addMinutes(a,t[4])),t.length>5&&(a=e.addSeconds(a,t[5])),r)switch(r){case"date":return e.format(a,"yyyy-MM-dd");case"time":return e.format(a,"HH:mm");case"datetime-local":return e.format(a,"yyyy-MM-dd'T'HH:mm");default:return a}return a}export{t as d}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
function n(n){return n?"string"==typeof n?(n.startsWith("?")?n.slice(1):n).split("&").filter(Boolean).map((n=>n.trim())):Object.entries(n).filter((([n,o])=>null!=o)).map((([n,o])=>`${encodeURIComponent(n)}=${encodeURIComponent(String(o))}`)):[]}function o(o,t={}){const e=function(n){let o;try{o="string"==typeof n?JSON.parse(n):n}catch(t){o={url:n}}return o}(o),l={Accept:"application/json","Content-Type":"application/json","Accept-Language":(null==t?void 0:t.language)||"en"},i=[...n(null==t?void 0:t.query),...n(null==e?void 0:e.query)].join("&"),c=i?`?${i}`:"",u=(null==e?void 0:e.method)||(null==t?void 0:t.method)||"GET",d={method:u,signal:null==t?void 0:t.signal,headers:Object.assign(Object.assign(Object.assign({},l),(null==e?void 0:e.headers)||{}),(null==t?void 0:t.headers)||{})};return"GET"!==u&&(d.body=JSON.stringify(Object.assign(Object.assign({},(null==t?void 0:t.body)||{}),(null==e?void 0:e.body)||{}))),fetch(`${e.url+((null==t?void 0:t.additionalPath)||"")}${c}`,d)}export{o as f}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{h as r}from"./p-
|
|
5
|
+
import{h as r}from"./p-Cg4V9l26.js";import{c as a}from"./p-BK16Cn81.js";const e=({label:e,isRequired:l,name:s})=>!!e&&r("div",{part:a("form-input-label",{[`${s}-label`]:!!s}),class:"form-input-label"},e,l&&r("span",{part:a("form-input-label-required-star",{[`${s}-label-required-star`]:!!s}),class:"form-input-label-required-star"},"*"));export{e as F}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import{h as e}from"./p-Cg4V9l26.js";import{L as l,d as a}from"./p-DwFWMVcD.js";import{c as i}from"./p-BK16Cn81.js";import{C as o}from"./p-BpCf2ue6.js";import{d as n}from"./p-CiA8HlYO.js";import{g as r}from"./p-D0IHkGuC.js";const t={};let u="";const c=({form:a})=>{var o,n,r,c;a.addWatcher("vehicle");let v=a.getValue("vehicle");const d=!!v,s=null===(o=a.context.vehicleList)||void 0===o?void 0:o.find((e=>e.value===v));let p;s?(p=null===(n=null==s?void 0:s.meta)||void 0===n?void 0:n.image,v=s.value):a.context.vehicleList&&a.context.vehicleList[0]&&(p=null===(c=null===(r=a.context.vehicleList[0])||void 0===r?void 0:r.meta)||void 0===c?void 0:c.image,v=a.context.vehicleList[0].value);let g=!1;return t[v]?u=t[v]:a&&p&&v&&(((e,l,a)=>{fetch(l).then((e=>e.blob())).then((l=>{const i=new FileReader;i.onloadend=()=>{t[a]=i.result,e.rerender({rerenderForm:!0})},i.readAsDataURL(l)})).catch((e=>{console.log(e)}))})(a,p,v),g=!0),e("flexible-container",{isOpened:d},e("div",{style:{"min-height":"60px"},part:"vehicle-image-wrapper",class:i("vehicle-image-wrapper",{loading:g})},e("div",{part:i("vehicle-image-loading-wrapper",{"vehicle-image-active-loading-wrapper":g}),class:i("loading-wrapper vehicle-image-loading-wrapper",{"vehicle-image-active-loading-wrapper":g})},e(l,{part:"vehicle-image-loader-icon",class:"img vehicle-image-loader-icon"})),e("img",{alt:"vehicle image",part:"vehicle-image",src:u,style:{"border-radius":"6px",transition:"opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);",opacity:g?"0":"1"}})))},v=(e,l)=>"string"==typeof l?r(e,l):l.map((l=>r(e,l))).find((e=>null!=e)),d=(l={})=>Object.assign({submit:({props:l})=>e("form-submit",Object.assign({key:null==l?void 0:l.name},l)),inputPreview:({props:l})=>e("form-input-preview",Object.assign({key:null==l?void 0:l.name},l)),fileUploader:({props:l})=>e("form-file",Object.assign({key:null==l?void 0:l.name},l)),formStepper:({props:l,language:a})=>e("form-stepper",Object.assign({key:null==l?void 0:l.name,language:a},l)),back:({props:l})=>e("form-stepper-control",Object.assign({key:null==l?void 0:l.name},l)),stepperSubmit:({props:l})=>e("form-stepper-submit",Object.assign({key:(null==l?void 0:l.step)||(null==l?void 0:l.name)},l)),name:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name},l)),lastName:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name},l)),email:({props:l})=>e("form-input",Object.assign({key:null==l?void 0:l.name,type:"email"},l)),message:({props:l})=>e("form-text-area",Object.assign({key:null==l?void 0:l.name},l)),file:({props:l})=>e("form-file",Object.assign({key:null==l?void 0:l.name},l)),vin:({props:l})=>e("form-vin-input",Object.assign({key:null==l?void 0:l.name},l)),vehicleImage:({form:l})=>e(c,{form:l}),phone:({props:l,isLoading:a})=>e("form-phone-number",Object.assign({key:null==l?void 0:l.name,isLoading:a},l)),vehicle:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{searchable:!0,fetcher:async({signal:e,context:i})=>{var o,n;const r=null===(o=new URLSearchParams(window.location.search).get(null==a?void 0:a.vehicleIdQueryParam)||"")||void 0===o?void 0:o.toLowerCase(),t=a.vehicleApi,u=await fetch(t,{signal:e,headers:{"Accept-Language":l}});let c,d=-1;return(null==a?void 0:a.dynamic)?(c=((e,l)=>{const a=[];return v(e,l.items).forEach((e=>{const i=v(e,l["item-value"]),o=v(e,l["item-label"]),n={value:(null==l?void 0:l.useNamedValue)?o:i,label:o};n.meta=Object.assign({},e),a.push(n)})),a})(await u.json(),a),c.forEach(((e,l)=>{var i,o;a.defaultValue||!r||(null===(i=null==e?void 0:e.label)||void 0===i?void 0:i.toLowerCase())!==r&&(null===(o=`${e.value}`)||void 0===o?void 0:o.toLowerCase())!==r||(d=l)}))):(null==a?void 0:a.vehiclesApiStrapiFormat)?(c=(await u.json()).data,c=c.map(((e,l)=>{var i,o,n,t,u;return a.defaultValue||!r||(null===(i=null==e?void 0:e.GradeName)||void 0===i?void 0:i.toLowerCase())!==r&&(null===(o=`${e.id}`)||void 0===o?void 0:o.toLowerCase())!==r||(d=l),{label:e.attributes.GradeName,value:(null==a?void 0:a.useNamedValue)?`${(null==e?void 0:e.GradeName)||(null===(n=null==e?void 0:e.attributes)||void 0===n?void 0:n.GradeName)}`:`${e.id}`,meta:Object.assign(Object.assign({},e),{image:(null===(t=null==e?void 0:e.Cover)||void 0===t?void 0:t.url)||(null===(u=e.attributes.Cover.data.attributes)||void 0===u?void 0:u.url)})}}))):(c=await u.json(),c=c.map(((e,l)=>{var i,o;return a.defaultValue||!r||(null===(i=null==e?void 0:e.Title)||void 0===i?void 0:i.toLowerCase())!==r&&(null===(o=`${e.ID}`)||void 0===o?void 0:o.toLowerCase())!==r||(d=l),{label:e.Title,value:(null==a?void 0:a.useNamedValue)?`${e.Title}`:`${e.ID}`,meta:Object.assign(Object.assign({},e),{image:e.Image})}}))),i.defaultValue=(null==a?void 0:a.defaultValue)?null==a?void 0:a.defaultValue:d>-1?null===(n=c[d])||void 0===n?void 0:n.value:"",c},language:l})),companyBranchId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const i=null==a?void 0:a.branchApi,o=await fetch(i,{signal:e,headers:{"Accept-Language":l}});return(await o.json()).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),vacancyId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const i=null==a?void 0:a.vacancyApi,o=await fetch(i,{signal:e,headers:{"Accept-Language":l}});return(await o.json()).map((e=>({label:e.Title,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),cityId:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,searchable:!0,fetcher:async({signal:e})=>{const i=null==a?void 0:a.cityApi,o=await fetch(i,{signal:e,headers:{"Accept-Language":l}});return(await o.json()).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)})))},language:l})),date:({props:l})=>e("form-picker-input",Object.assign({type:"date"},l,{icon:e(o,null)})),time:({language:l,props:i})=>e("form-select",Object.assign({key:null==i?void 0:i.name},i,{clearable:!0,fetcher:async()=>{const e=[];if(Array.isArray(i.span)&&Array.isArray(i.min)&&Array.isArray(i.max)&&i.format){let l=n({offsets:i.min});const o=n({offsets:i.max});for(;a.isBefore(l,o)||a.isEqual(l,o);)e.push({value:a.format(l,i.format),label:a.format(l,i.format)}),l=n({offsets:i.span,date:l})}return e},language:l})),year:({language:l,props:a})=>{const i=(null==a?void 0:a.min)||(new Date).getFullYear()-20,o=(null==a?void 0:a.max)||(new Date).getFullYear(),n=[];for(let e=i;e<=o;e++)n.push({value:`${e}`,label:`${e}`});return e("form-select",Object.assign({key:null==a?void 0:a.name},a,{clearable:!0,fetcher:async({language:e})=>{var l,i,o,r,t,u,c,v;let d=[...n];return(null==a?void 0:a.firstOption)&&(d=[{label:(null===(i=null===(l=null==a?void 0:a.firstOption)||void 0===l?void 0:l.label)||void 0===i?void 0:i[e])||"",value:(null===(r=null===(o=null==a?void 0:a.firstOption)||void 0===o?void 0:o.value)||void 0===r?void 0:r[e])||""},...d]),(null==a?void 0:a.lastOption)&&(d=[...d,{label:(null===(u=null===(t=null==a?void 0:a.lastOption)||void 0===t?void 0:t.label)||void 0===u?void 0:u[e])||"",value:(null===(v=null===(c=null==a?void 0:a.lastOption)||void 0===c?void 0:c.value)||void 0===v?void 0:v[e])||""}]),d},language:l}))},currentVehicleBrand:({form:l,language:a,props:i,locale:o})=>e("form-select",Object.assign({key:null==i?void 0:i.name},i,{searchable:!0,fetcher:async({signal:e})=>{var a;const i=null===(a=l.context.structure)||void 0===a?void 0:a.data.currentVehiclesApi,n=await fetch(i,{signal:e,headers:{"Accept-Language":"en"}});return[...(await n.json()).filter((e=>"Other"!==e.name)).map((e=>({label:e.Name,value:`${e.ID}`,meta:Object.assign({},e)}))),{value:"Other",label:o.Other}]},language:a})),currentVehicleModel:({form:l,language:a,props:i,locale:o})=>{l.addWatcher("currentVehicleBrand");const n=null==l?void 0:l.getValue("currentVehicleBrand");return e("form-select",Object.assign({},i,{searchable:!0,key:null==i?void 0:i.name,fetcher:async({})=>{var e,a;if(!n)return[];const i=null===(a=null===(e=l.context.currentVehicleBrandList)||void 0===e?void 0:e.find((e=>e.value===n)))||void 0===a?void 0:a.meta;return i?[...i.Models.map((e=>({label:e.Name,value:`${e.ID}`}))),{value:"Other",label:o.Other}]:[]},language:a,resetKey:n,fetcherKey:n,isRequired:"Other"!==n,isDisabled:!n||"Other"===n}))},ownVehicle:({language:l,props:a})=>e("form-select",Object.assign({key:null==a?void 0:a.name},a,{fetcher:async({})=>{var e,i,o,n;return[{value:"yes",label:null===(i=null===(e=null==a?void 0:a.localization)||void 0===e?void 0:e[l])||void 0===i?void 0:i.yes},{value:"no",label:null===(n=null===(o=null==a?void 0:a.localization)||void 0===o?void 0:o[l])||void 0===n?void 0:n.no}]},language:l})),conditionalCurrentVehicleBrand:({form:l,language:a,props:i,locale:o})=>{l.addWatcher("ownVehicle");const n="yes"===(null==l?void 0:l.getValue("ownVehicle"));return e("form-select",Object.assign({key:null==i?void 0:i.name},i,{searchable:!0,fetcher:async({signal:e})=>{const l=null==i?void 0:i.brandApi,a=await fetch(l,{signal:e,headers:{"Accept-Language":"en"}});return[...(await a.json()).filter((e=>"Other"!==e.name)).map((e=>({label:e.Name,value:(null==i?void 0:i.useNamedValue)?e.Name:`${e.ID}`,meta:Object.assign({},e)}))),{value:"Other",label:o.Other}]},language:a,resetKey:n,isRequired:n,isDisabled:!n}))},conditionalCurrentVehicleModel:({form:l,language:a,props:i,locale:o})=>{l.addWatcher("ownVehicle"),l.addWatcher("conditionalCurrentVehicleBrand");const n="yes"===(null==l?void 0:l.getValue("ownVehicle")),r=null==l?void 0:l.getValue("conditionalCurrentVehicleBrand");return e("form-select",Object.assign({},i,{searchable:!0,fetcher:async({})=>{var e,a;if(!r)return[];const n=null===(a=null===(e=l.context.conditionalCurrentVehicleBrandList)||void 0===e?void 0:e.find((e=>e.value===r)))||void 0===a?void 0:a.meta;return n?[...n.Models.map((e=>({label:e.Name,value:(null==i?void 0:i.useNamedValue)?e.Name:`${e.ID}`}))),{value:"Other",label:o.Other}]:[]},key:null==i?void 0:i.name,language:a,resetKey:r,fetcherKey:r,isRequired:n&&"Other"!==r,isDisabled:!r||"Other"===r}))}},l);export{d as g}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import{h as t}from"./p-
|
|
5
|
+
import{h as t}from"./p-Cg4V9l26.js";import{c as o}from"./p-BK16Cn81.js";const i=o=>t("svg",{fill:"none",width:"24",height:"24","stroke-width":"2",viewBox:"0 0 24 24",class:o.class,stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M11 12H3"}),t("path",{d:"M16 6H3"}),t("path",{d:"M16 18H3"}),t("path",{d:"m19 10-4 4"}),t("path",{d:"m15 10 4 4"})),n=(o,i=[])=>{var n;return t("div",{style:{flex:"1",display:"flex",width:o.width,flexDirection:"column",minWidth:o.minWidth,maxWidth:o.maxWidth},class:o.class},t("strong",{style:{padding:"10px 0",fontWeight:"bold",marginBottom:"8px",borderBottom:"1px solid gray"}},o.title),t("flexible-container",null,i.length?i:t(l,{hidden:""===(null===(n=null==o?void 0:o.desc)||void 0===n?void 0:n.trim())},o.desc||t("p",null," "))))},l=(i,n)=>{const l={"transition-duration":"0ms !important",opacity:i.hidden?"0":"1"};return t("div",{style:{width:"100%"},class:o("shift-skeleton",i.class)},t("div",{style:l},n))};export{i as E,n as M,l as a}
|