adp-web-components 0.1.78 → 0.1.80
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/dead-stock-lookup_3.cjs.entry.js +11 -11
- package/dist/cjs/decode-time-offset-CY6JVxX3.js +37 -0
- package/dist/cjs/flexible-container.cjs.entry.js +1 -1
- package/dist/cjs/form-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/form-dialog_13.cjs.entry.js +1354 -0
- package/dist/cjs/{form-input-C3gQ_Noj.js → form-input-DH-U4kEM.js} +8 -6
- package/dist/cjs/form-input_4.cjs.entry.js +15 -18
- package/dist/cjs/form-switch.cjs.entry.js +5 -5
- package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/general-form.cjs.entry.js +83 -0
- package/dist/cjs/general-inquiry-form.cjs.entry.js +19 -19
- package/dist/cjs/{get-language-from-url-Bqqqxz28.js → get-language-from-url-D5rCyA1u.js} +18 -4
- package/dist/cjs/{get-local-language-PewhmlEg.js → get-local-language-D02WksZl.js} +2 -2
- package/dist/cjs/information-table.cjs.entry.js +1 -1
- package/dist/{esm/index-BILW0yP6.js → cjs/loader-icon-j5dMQ4bN.js} +16 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +6 -6
- package/dist/cjs/part-lookup.cjs.entry.js +5 -5
- package/dist/cjs/{loader-icon-ToaEwO9B.js → phone-validator-D6nzYTs8.js} +14 -18
- package/dist/cjs/service-booking-form.cjs.entry.js +19 -19
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/shift-tab-content.cjs.entry.js +1 -1
- package/dist/cjs/shift-tabs_2.cjs.entry.js +10 -10
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +19 -19
- package/dist/cjs/{state-object-C1tgQfnz.js → state-object-B2D8PkT8.js} +21 -9
- package/dist/cjs/test-drive-form.cjs.entry.js +19 -19
- package/dist/cjs/{type-BSH0OxyO.js → type-BkehR16K.js} +1 -1
- package/dist/cjs/{type-BvWomz0N.js → type-CjTn3Uuy.js} +1 -1
- package/dist/cjs/{type-CFTS0FUJ.js → type-DhEJjKzj.js} +1 -1
- package/dist/cjs/{types-B3WMBBhs.js → types-DV_cOCRi.js} +18 -0
- package/dist/cjs/{validation-DEdJb-KL.js → validation-N-XMdEIM.js} +15 -2
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +24 -24
- package/dist/cjs/vehicle-lookup.cjs.entry.js +4 -4
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +17 -17
- package/dist/cjs/{white-loader-55klC_ZH.js → white-loader-kSznMo_u.js} +4 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/components/flexible-container.css +1 -1
- package/dist/collection/components/components/information-table.css +1 -1
- package/dist/collection/components/components/loading-spinner.css +1 -1
- package/dist/collection/components/components/shift-tab-content.css +1 -1
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/form-elements/form-checkbox.js +1 -1
- package/dist/collection/components/form-elements/form-date-picker-legacy.js +4 -4
- package/dist/collection/components/form-elements/form-dialog.js +3 -3
- package/dist/collection/components/form-elements/form-file.js +608 -0
- package/dist/collection/components/form-elements/form-input.js +2 -2
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-phone-number.js +2 -2
- package/dist/collection/components/form-elements/form-picker-input.js +2 -2
- package/dist/collection/components/form-elements/form-select.js +1 -1
- package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
- package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
- package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
- package/dist/collection/components/form-elements/form-stepper.js +1 -1
- package/dist/collection/components/form-elements/form-structure-error.js +1 -1
- package/dist/collection/components/form-elements/form-submit.js +2 -2
- package/dist/collection/components/form-elements/form-switch.js +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +2 -2
- package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
- package/dist/collection/components/form-elements/form-vin-input.js +2 -2
- package/dist/collection/components/forms/defaults/mappers.js +13 -1
- package/dist/collection/components/forms/defaults/validation.js +9 -1
- package/dist/collection/components/forms/general-form.js +490 -0
- package/dist/collection/components/forms/general-inquiry.js +2 -2
- package/dist/collection/components/forms/service-booking.js +2 -2
- package/dist/collection/components/forms/ssc-lookup.js +2 -2
- package/dist/collection/components/forms/test-drive.js +2 -2
- package/dist/collection/components/forms/vehicle-quotation.js +2 -2
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
- package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
- package/dist/collection/components/part-lookup/part-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +4 -4
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +8 -8
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +4 -4
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/features/form-hook/form-hook.js +18 -4
- package/dist/collection/features/form-hook/functions.js +8 -0
- package/dist/collection/features/form-hook/inputs/form-input.js +7 -5
- 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.d.ts +11 -0
- package/dist/components/form-file.js +5 -0
- 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.d.ts +11 -0
- package/dist/components/general-form.js +5 -0
- package/dist/components/general-inquiry-form.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-DLsR20_B.js → p-8IdtkeX1.js} +1 -1
- package/dist/components/p-B14TvlWp.js +5 -0
- package/dist/components/{p-B4IN85i9.js → p-B68P3DtP.js} +1 -1
- package/dist/components/p-B807sG0U.js +5 -0
- package/dist/components/p-B882WrlQ.js +5 -0
- package/dist/components/p-B9Kquvk4.js +5 -0
- package/dist/components/p-BFaCcwNv.js +5 -0
- package/dist/components/p-BN3IFAWI.js +5 -0
- package/dist/components/p-BeL46S5b.js +5 -0
- package/dist/components/p-BiRjebkj.js +5 -0
- package/dist/components/p-Bsnu7u9K.js +5 -0
- package/dist/components/{p-CKmHT-QE.js → p-BxeKiQ5h.js} +1 -1
- package/dist/components/p-CPGswmtd.js +5 -0
- package/dist/components/p-CXoG03EM.js +5 -0
- package/dist/components/{p-R7ARfZoC.js → p-CXzb5oyt.js} +1 -1
- package/dist/components/{p-CRsaHzS7.js → p-CZ_bF39p.js} +1 -1
- package/dist/components/p-CeUdMJED.js +5 -0
- package/dist/components/{p-ChRCBwh-.js → p-CjZxWPIE.js} +1 -1
- package/dist/components/{p-FGM9oY6C.js → p-CqTxdwgo.js} +1 -1
- package/dist/components/{p-C_89017x.js → p-CvoSPdhp.js} +1 -1
- package/dist/components/p-D0oHH_yi.js +5 -0
- package/dist/components/p-D7ZYsC-o.js +5 -0
- package/dist/components/p-DKzEP2g4.js +5 -0
- package/dist/components/p-DN4c_zdE.js +5 -0
- package/dist/components/{p-BzUPQ6H3.js → p-DOS_lP0E.js} +1 -1
- package/dist/components/p-DSTKQdoW.js +5 -0
- package/dist/components/p-DT2OVZtH.js +5 -0
- package/dist/components/p-DY9gBU2J.js +5 -0
- package/dist/components/p-D_bnut2e.js +5 -0
- package/dist/components/p-DhQjm81u.js +5 -0
- package/dist/components/p-Dj3_tuTX.js +5 -0
- package/dist/components/p-DtCTkfsR.js +5 -0
- package/dist/components/p-DwyZCgYl.js +5 -0
- package/dist/components/p-JSG4fAIl.js +5 -0
- package/dist/components/p-MdiEjk1X.js +5 -0
- package/dist/components/p-QsYqPaPW.js +5 -0
- package/dist/components/p-VufjPJkT.js +5 -0
- package/dist/{shift-components/p-CWP4hZcw.js → components/p-YQJevg3-.js} +1 -1
- package/dist/components/p-aHqL2KKd.js +5 -0
- package/dist/components/p-dM4PJkDk.js +5 -0
- package/dist/components/{p-BD-FgNDo.js → p-gEeo-RSf.js} +1 -1
- package/dist/components/p-rvbbkr0i.js +5 -0
- package/dist/components/{p-TSe2YuoV.js → p-zyFVlTck.js} +1 -1
- 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-slider.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/dead-stock-lookup_3.entry.js +11 -11
- package/dist/esm/{decode-time-offset-Cfi43WoV.js → decode-time-offset-DFZOybyr.js} +1 -1
- package/dist/esm/flexible-container.entry.js +1 -1
- package/dist/esm/form-checkbox.entry.js +5 -5
- package/dist/esm/form-date-picker.entry.js +5 -5
- package/dist/esm/form-dialog_13.entry.js +1340 -0
- package/dist/esm/{form-input-C5O2h7ti.js → form-input-DKjuSVBS.js} +8 -6
- package/dist/esm/form-input_4.entry.js +14 -17
- package/dist/esm/form-switch.entry.js +5 -5
- package/dist/esm/form-time-picker.entry.js +6 -6
- package/dist/esm/general-form.entry.js +81 -0
- package/dist/esm/general-inquiry-form.entry.js +11 -11
- package/dist/esm/{get-language-from-url-Ba709Um1.js → get-language-from-url-fGWv4JfI.js} +18 -4
- package/dist/esm/{get-local-language-DFjoRspr.js → get-local-language-DtdpsfQH.js} +2 -2
- package/dist/esm/information-table.entry.js +1 -1
- package/dist/{cjs/index-D5c513Xn.js → esm/loader-icon-DM4Vm5gX.js} +12 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/manufacturer-part-lookup.entry.js +6 -6
- package/dist/esm/part-lookup.entry.js +5 -5
- package/dist/esm/{loader-icon-BUXaFxSO.js → phone-validator-CW0vHN1w.js} +13 -16
- package/dist/esm/service-booking-form.entry.js +10 -10
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/shift-tab-content.entry.js +1 -1
- package/dist/esm/shift-tabs_2.entry.js +10 -10
- package/dist/esm/ssc-lookup-form.entry.js +10 -10
- package/dist/esm/{state-object-BA8Hnuoh.js → state-object-D__N3A52.js} +17 -5
- package/dist/esm/test-drive-form.entry.js +10 -10
- package/dist/esm/{type-DDlXvsYW.js → type-8o_W9bXK.js} +1 -1
- package/dist/esm/{type-Dw5qeiT3.js → type-C2SCytyp.js} +1 -1
- package/dist/esm/{type-DwvmWsdz.js → type-DCLi-Gh3.js} +1 -1
- package/dist/esm/{types-CWP4hZcw.js → types-BDhR4pDq.js} +18 -1
- package/dist/esm/{validation-iKTmTjB0.js → validation-CjIBF497.js} +11 -3
- package/dist/esm/vehicle-accessories_7.entry.js +24 -24
- package/dist/esm/vehicle-lookup.entry.js +4 -4
- package/dist/esm/vehicle-quotation-form.entry.js +7 -7
- package/dist/esm/{white-loader-BpnYQ3A6.js → white-loader-CG4JPVdv.js} +4 -1
- package/dist/shift-components/{p-c6959721.entry.js → p-00514dfd.entry.js} +1 -1
- package/dist/shift-components/{p-0faa9bc7.entry.js → p-136ce48d.entry.js} +1 -1
- package/dist/shift-components/p-16eb4c57.entry.js +5 -0
- package/dist/shift-components/p-2cb2cf2c.entry.js +5 -0
- package/dist/shift-components/{p-027cb758.entry.js → p-31193ab5.entry.js} +1 -1
- package/dist/shift-components/p-37bbc653.entry.js +5 -0
- package/dist/shift-components/p-3c5f015c.entry.js +5 -0
- package/dist/shift-components/p-3eb1890a.entry.js +5 -0
- package/dist/shift-components/{p-70017eaf.entry.js → p-49803ea5.entry.js} +1 -1
- package/dist/shift-components/p-6f563241.entry.js +5 -0
- package/dist/shift-components/p-6fca3b48.entry.js +5 -0
- package/dist/shift-components/p-7PtHUjhE.js +5 -0
- package/dist/shift-components/{p-e0ce0597.entry.js → p-9b910889.entry.js} +1 -1
- package/dist/shift-components/{p-c75631eb.entry.js → p-9d25df8c.entry.js} +1 -1
- package/dist/{components/p-DkIqSrtn.js → shift-components/p-BDhR4pDq.js} +1 -1
- package/dist/shift-components/p-BffuX06w.js +5 -0
- package/dist/shift-components/{p-Birh6Z1w.js → p-BrJd1o0-.js} +1 -1
- package/dist/shift-components/{p-XyQhTm0V.js → p-Cv7m_MLQ.js} +1 -1
- package/dist/shift-components/p-D-IGTVAo.js +5 -0
- package/dist/shift-components/p-DCHyQw_L.js +5 -0
- package/dist/shift-components/{p-ZgT-eNvW.js → p-DFsecEMm.js} +1 -1
- package/dist/shift-components/p-DOaMIJLj.js +5 -0
- package/dist/shift-components/p-D_IVXzoK.js +5 -0
- package/dist/shift-components/{p-DJSST74z.js → p-DyLtxN1c.js} +1 -1
- package/dist/shift-components/p-a6ad0fdf.entry.js +5 -0
- package/dist/shift-components/{p-9b895f00.entry.js → p-b1f9f6e3.entry.js} +1 -1
- package/dist/shift-components/p-baa868f8.entry.js +5 -0
- package/dist/shift-components/p-d26ff83d.entry.js +5 -0
- package/dist/shift-components/p-d915cd1c.entry.js +5 -0
- package/dist/shift-components/{p-074e4e31.entry.js → p-dcde6026.entry.js} +1 -1
- package/dist/shift-components/p-e2d72fb9.entry.js +5 -0
- package/dist/shift-components/{p-074d156e.entry.js → p-fa57b412.entry.js} +1 -1
- package/dist/shift-components/p-fd8ec358.entry.js +5 -0
- package/dist/shift-components/{p-BVrQRz1r.js → p-nGZ6Nphz.js} +1 -1
- package/dist/shift-components/p-zqc-VRCh.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/form-elements/form-file.d.ts +52 -0
- package/dist/types/components/forms/defaults/mappers.d.ts +10 -0
- package/dist/types/components/forms/defaults/validation.d.ts +6 -0
- package/dist/types/components/forms/general-form.d.ts +40 -0
- package/dist/types/components.d.ts +136 -0
- package/dist/types/features/form-hook/form-hook.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cjs/decode-time-offset-DqzP0mck.js +0 -37
- package/dist/cjs/form-dialog_12.cjs.entry.js +0 -1092
- package/dist/components/p-1rMNgTmN.js +0 -5
- package/dist/components/p-5y4OeEh5.js +0 -5
- package/dist/components/p-B7jki48I.js +0 -5
- package/dist/components/p-BDorSYsl.js +0 -5
- package/dist/components/p-BI-RaMUW.js +0 -5
- package/dist/components/p-BdHM2JNo.js +0 -5
- package/dist/components/p-BfYWRQqS.js +0 -5
- package/dist/components/p-Bx3oB_px.js +0 -5
- package/dist/components/p-BzD7w6vv.js +0 -5
- package/dist/components/p-CA80NnNb.js +0 -5
- package/dist/components/p-CW9-cijc.js +0 -5
- package/dist/components/p-CulaExZZ.js +0 -5
- package/dist/components/p-CvR5UOI8.js +0 -5
- package/dist/components/p-D5oaVEZk.js +0 -5
- package/dist/components/p-DArD2CFn.js +0 -5
- package/dist/components/p-DETXwIlB.js +0 -5
- package/dist/components/p-DGirJnhP.js +0 -5
- package/dist/components/p-DHSj0x8N.js +0 -5
- package/dist/components/p-DfcSO_Lp.js +0 -5
- package/dist/components/p-Dxb6_It9.js +0 -5
- package/dist/components/p-OzpzJAse.js +0 -5
- package/dist/components/p-SffSBcMo.js +0 -5
- package/dist/components/p-fNVz39Xz.js +0 -5
- package/dist/components/p-h4hnAK_n.js +0 -5
- package/dist/components/p-kcv3fNWl.js +0 -5
- package/dist/components/p-mpwCz5yf.js +0 -5
- package/dist/components/p-rb0wr9GD.js +0 -5
- package/dist/components/p-tFW3Rzil.js +0 -5
- package/dist/esm/form-dialog_12.entry.js +0 -1079
- package/dist/shift-components/p-472951d3.entry.js +0 -5
- package/dist/shift-components/p-7987323f.entry.js +0 -5
- package/dist/shift-components/p-89f00e9b.entry.js +0 -5
- package/dist/shift-components/p-916ece0b.entry.js +0 -5
- package/dist/shift-components/p-9ec92261.entry.js +0 -5
- package/dist/shift-components/p-BAltXAam.js +0 -5
- package/dist/shift-components/p-BILW0yP6.js +0 -5
- package/dist/shift-components/p-Bp-HDfJB.js +0 -5
- package/dist/shift-components/p-CK-8T86o.js +0 -5
- package/dist/shift-components/p-CjY50XS3.js +0 -5
- package/dist/shift-components/p-CyHfimfF.js +0 -5
- package/dist/shift-components/p-DqkWfr2C.js +0 -5
- package/dist/shift-components/p-b1bace88.entry.js +0 -5
- package/dist/shift-components/p-b3d50c22.entry.js +0 -5
- package/dist/shift-components/p-b6d44745.entry.js +0 -5
- package/dist/shift-components/p-c19b26bb.entry.js +0 -5
- package/dist/shift-components/p-d36de486.entry.js +0 -5
- package/dist/shift-components/p-e665d41c.entry.js +0 -5
- package/dist/shift-components/p-fd8a5f5d.entry.js +0 -5
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
5
|
import { r as registerInstance, h, H as Host, a as getElement } from './index-Bf4Ol6Qt.js';
|
|
6
|
-
import { f as functionHooks
|
|
6
|
+
import { f as functionHooks } from './phone-validator-CW0vHN1w.js';
|
|
7
7
|
import { c as cn } from './cn-BK16Cn81.js';
|
|
8
|
-
import { g as getFormValidations } from './validation-
|
|
9
|
-
import { s as sharedFormLocalesSchema } from './types-
|
|
10
|
-
import { g as getLanguageFromUrl } from './get-language-from-url-
|
|
11
|
-
import {
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
8
|
+
import { g as getFormValidations } from './validation-CjIBF497.js';
|
|
9
|
+
import { s as sharedFormLocalesSchema } from './types-BDhR4pDq.js';
|
|
10
|
+
import { g as getLanguageFromUrl } from './get-language-from-url-fGWv4JfI.js';
|
|
11
|
+
import { L as LoaderIcon } from './loader-icon-DM4Vm5gX.js';
|
|
12
|
+
import { a as getDefaultStateObject, g as getFormMappers } from './state-object-D__N3A52.js';
|
|
13
|
+
import './get-local-language-DtdpsfQH.js';
|
|
14
14
|
import './validate-vin-CUREVASG.js';
|
|
15
15
|
import './calendar-days-icon-Dz291Fau.js';
|
|
16
|
-
import './decode-time-offset-
|
|
16
|
+
import './decode-time-offset-DFZOybyr.js';
|
|
17
17
|
import './get-nested-value-D0IHkGuC.js';
|
|
18
18
|
|
|
19
19
|
const styleCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}.flex{display:flex}.grid{display:grid}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host{all:initial!important;display:block;font-family:inherit!important}@keyframes form-loading-spin{to{transform:rotate(1turn)}}.form-loader-container .img{animation:form-loading-spin 2s linear infinite;height:32px;width:32px}*{-webkit-user-select:none;-moz-user-select:none;user-select:none}#vehicle-wrapper{display:flex;flex-direction:column}@media (min-width:640px){#vehicle-wrapper{align-items:center;display:grid;gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.h-full{height:100%}.min-h-\\[150px\\]{min-height:150px}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-500{transition-duration:.5s}.\\!h-auto{height:auto!important}.min-w-full{min-width:100%}.resize{resize:both}.overflow-hidden{overflow:hidden}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\\!transition-none{transition-property:none!important}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-0{transition-duration:0s!important}.\\!duration-500{transition-duration:.5s!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.fixed{position:fixed}.bottom-4{bottom:1rem}.left-1\\/2{left:50%}.z-10{z-index:10}.z-\\[9999\\]{z-index:9999}.hidden{display:none}.aspect-video{aspect-ratio:16/9}.size-8{height:2rem;width:2rem}.size-\\[32px\\]{height:32px;width:32px}.size-full{height:100%;width:100%}.h-\\[100dvh\\]{height:100dvh}.h-\\[60px\\]{height:60px}.min-h-full{min-height:100%}.w-\\[100dvw\\]{width:100dvw}.w-\\[100px\\]{width:100px}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.justify-between{justify-content:space-between}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-slate-500{--tw-border-opacity:1;border-color:rgb(100 116 139/var(--tw-border-opacity,1))}.border-slate-600{--tw-border-opacity:1;border-color:rgb(71 85 105/var(--tw-border-opacity,1))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity,1))}.bg-black\\/30{background-color:rgba(0,0,0,.3)}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.object-center{object-position:center}.p-1{padding:.25rem}.p-\\[16px\\]{padding:16px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-slate-100{--tw-text-opacity:1;color:rgb(241 245 249/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.shadow,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.hover\\:border-slate-700:hover{--tw-border-opacity:1;border-color:rgb(51 65 85/var(--tw-border-opacity,1))}.hover\\:bg-slate-300:hover{--tw-bg-opacity:1;background-color:rgb(203 213 225/var(--tw-bg-opacity,1))}.hover\\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.disabled\\:bg-white\\/75:disabled{background-color:hsla(0,0%,100%,.75)}@media (min-width:768px){.md\\:relative{position:relative}.md\\:h-auto{height:auto}.md\\:w-\\[600px\\]{width:600px}.md\\:\\!translate-x-0{--tw-translate-x:0px!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.md\\:overflow-hidden{overflow:hidden}.md\\:rounded-lg{border-radius:.5rem}.md\\:border-none{border-style:none}.md\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.md\\:py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.md\\:text-\\[24px\\]{font-size:24px}.md\\:text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity,1))}.md\\:\\!opacity-100{opacity:1!important}.md\\:transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.md\\:duration-300{transition-duration:.3s}.md\\:hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}}";
|
|
@@ -66,9 +66,9 @@ const TestDriveForm = class {
|
|
|
66
66
|
// #endregion
|
|
67
67
|
render() {
|
|
68
68
|
var _a, _b;
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '2353989b53f18976572f14a9c2f6823c41fced0e' }, h("div", { key: 'fe23585f74538c6d2375b3e7b5f9dd12468aed74', part: cn('shift-form', (_b = (_a = this.structure) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.theme, this.theme) }, h("div", { key: '3ed9ea83fc1f8fa08a8f232a34f43a37975bab94', part: "form-container", class: "relative min-h-[150px]" }, h("div", { key: '7dad270bfa72442a919f630bd5be3c9fd6392bf9', part: "form-loader-container", class: cn('form-loader-container absolute top-0 left-0 w-full h-full pointer-events-none flex justify-center items-center transition-opacity duration-500', {
|
|
70
70
|
'opacity-0': this.structureRendered,
|
|
71
|
-
}) }, h(LoaderIcon, { key: '
|
|
71
|
+
}) }, h(LoaderIcon, { key: 'dcf0b0df5bc32481ce64b87d19601b9514e1b79d', part: "form-loader-icon", class: "img" })), h("flexible-container", { key: '60ae12bbac048ac27793be56e96c05a4fe8665fd', onlyForMounting: true, isOpened: this.structureRendered }, !!this.form && (h("form-structure", { key: 'b1fcc783644950e0053ef4ee9ec624aee972e73f', form: this.form, fields: this.fields, formId: this.formId, formLocale: this.locale, structure: this.structure, isLoading: this.isLoading, language: this.localeLanguage, errorMessage: this.errorMessage, formElementMapper: elementMapper, successMessage: this.locale['Form submitted successfully.'] || 'Form submitted successfully.' }, h("slot", { key: '84583cbfdf794d171d0d45ffa3d36815ec3cf5f5' }))))))));
|
|
72
72
|
}
|
|
73
73
|
get el() { return getElement(this); }
|
|
74
74
|
static get watchers() { return {
|
|
@@ -1542,6 +1542,23 @@ for (const method of ['validate', 'validateSync']) Schema.prototype[`${method}At
|
|
|
1542
1542
|
for (const alias of ['equals', 'is']) Schema.prototype[alias] = Schema.prototype.oneOf;
|
|
1543
1543
|
for (const alias of ['not', 'nope']) Schema.prototype[alias] = Schema.prototype.notOneOf;
|
|
1544
1544
|
|
|
1545
|
+
const returnsTrue = () => true;
|
|
1546
|
+
function create$8(spec) {
|
|
1547
|
+
return new MixedSchema(spec);
|
|
1548
|
+
}
|
|
1549
|
+
class MixedSchema extends Schema {
|
|
1550
|
+
constructor(spec) {
|
|
1551
|
+
super(typeof spec === 'function' ? {
|
|
1552
|
+
type: 'mixed',
|
|
1553
|
+
check: spec
|
|
1554
|
+
} : Object.assign({
|
|
1555
|
+
type: 'mixed',
|
|
1556
|
+
check: returnsTrue
|
|
1557
|
+
}, spec));
|
|
1558
|
+
}
|
|
1559
|
+
}
|
|
1560
|
+
create$8.prototype = MixedSchema.prototype;
|
|
1561
|
+
|
|
1545
1562
|
/**
|
|
1546
1563
|
* This file is a modified version of the file from the following repository:
|
|
1547
1564
|
* Date.parse with progressive enhancement for ISO 8601 <https://github.com/csnover/js-iso8601>
|
|
@@ -2448,4 +2465,4 @@ const languageMapper = {
|
|
|
2448
2465
|
ru: RUSSIAN_JSON_FILE,
|
|
2449
2466
|
};
|
|
2450
2467
|
|
|
2451
|
-
export { create$5 as a, create$6 as b, create$3 as c, sharedLocalesSchema as d, errorsSchema as e, formsSchema as f, globalSchema as g, languageMapper as l, sharedFormLocalesSchema as s, yupTypeMapper as y };
|
|
2468
|
+
export { create$5 as a, create$6 as b, create$3 as c, sharedLocalesSchema as d, errorsSchema as e, formsSchema as f, globalSchema as g, create$8 as h, languageMapper as l, sharedFormLocalesSchema as s, yupTypeMapper as y };
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
* Built by ShiftSoftware
|
|
3
3
|
* Copyright (c)
|
|
4
4
|
*/
|
|
5
|
-
import { c as create$3, a as create$5, b as create$6 } from './types-
|
|
5
|
+
import { c as create$3, a as create$5, b as create$6 } from './types-BDhR4pDq.js';
|
|
6
6
|
import { v as validateVin } from './validate-vin-CUREVASG.js';
|
|
7
7
|
|
|
8
8
|
const label = (name) => `${name}-label`;
|
|
9
9
|
const format = (name) => `${name}-format`;
|
|
10
10
|
const require = (name) => `${name}-require`;
|
|
11
|
+
const size = (name) => `${name}-size`;
|
|
12
|
+
const max = (name) => `${name}-max`;
|
|
11
13
|
const placeholder = (name) => `${name}-placeholder`;
|
|
12
14
|
const meta = (name) => ({ label: label(name), placeholder: placeholder(name) });
|
|
13
15
|
const condition = (name) => `$${name}Required`;
|
|
14
|
-
const y = { label, format, require, condition, placeholder, meta };
|
|
16
|
+
const y = { label, format, require, condition, placeholder, meta, size, max };
|
|
15
17
|
const getFormValidations = (stateObject, extraFields = {}) => {
|
|
16
18
|
return create$3(Object.assign({ name: create$6()
|
|
17
19
|
.meta(meta('name'))
|
|
@@ -56,6 +58,12 @@ const getFormValidations = (stateObject, extraFields = {}) => {
|
|
|
56
58
|
is: true,
|
|
57
59
|
otherwise: schema => schema.optional(),
|
|
58
60
|
then: schema => schema.required(y.require('vehicle')),
|
|
61
|
+
}), vacancyId: create$6()
|
|
62
|
+
.meta(meta('vacancyId'))
|
|
63
|
+
.when(y.condition('vacancyId'), {
|
|
64
|
+
is: true,
|
|
65
|
+
otherwise: schema => schema.optional(),
|
|
66
|
+
then: schema => schema.required(y.require('vacancyId')),
|
|
59
67
|
}), companyBranchId: create$6()
|
|
60
68
|
.meta(meta('companyBranchId'))
|
|
61
69
|
.when(y.condition('companyBranchId'), {
|
|
@@ -119,4 +127,4 @@ const getFormValidations = (stateObject, extraFields = {}) => {
|
|
|
119
127
|
}) }, extraFields));
|
|
120
128
|
};
|
|
121
129
|
|
|
122
|
-
export { getFormValidations as g, y };
|
|
130
|
+
export { max as a, format as f, getFormValidations as g, meta as m, require as r, size as s, y };
|