adp-web-components 0.0.95 → 0.0.97
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-BpfeU8T4.js +13 -0
- package/dist/cjs/app-globals-D2j2HjfX.js +11 -0
- package/dist/cjs/arrow-up-icon-B_nvUxUm.js +12 -0
- package/dist/cjs/check-icon-gbrTPAKV.js +12 -0
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -17
- package/dist/cjs/demo-form.cjs.entry.js +214 -0
- package/dist/cjs/{empty-table-icon-PdTX6gpI.js → empty-table-icon-BKTk1lZZ.js} +1 -1
- package/dist/cjs/flexible-container.cjs.entry.js +2 -2
- package/dist/cjs/form-checkbox_3.cjs.entry.js +109 -0
- package/dist/cjs/form-dialog_8.cjs.entry.js +230 -287
- package/dist/cjs/form-input-label-B4EsaC9R.js +30 -0
- package/dist/cjs/{get-local-language-CCn1p4nM.js → get-local-language-C_B5UpUK.js} +233 -15
- package/dist/cjs/{index-BjyafrBw.js → index-CW-dkZVH.js} +185 -115
- package/dist/cjs/information-table.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/{material-card-Cd0L1Get.js → material-card-DFd5SQVC.js} +1 -1
- package/dist/cjs/part-lookup.cjs.entry.js +5 -5
- package/dist/cjs/{type-ZkbQVCRR.js → phone-validator-DI1aq9s6.js} +1637 -1837
- package/dist/cjs/{print-icon-C4ASnhAO.js → print-icon-CeXvXhF8.js} +1 -1
- package/dist/cjs/shift-accordion.cjs.entry.js +2 -2
- package/dist/cjs/shift-checkbox.cjs.entry.js +33 -0
- package/dist/cjs/shift-components.cjs.js +5 -4
- package/dist/cjs/shift-slider.cjs.entry.js +3 -3
- package/dist/cjs/shift-switch.cjs.entry.js +32 -0
- package/dist/cjs/shift-tab-content.cjs.entry.js +3 -3
- package/dist/cjs/shift-tabs_2.cjs.entry.js +19 -24
- package/dist/cjs/{type-D8rizwvZ.js → type-Bv0xlV1X.js} +1 -1
- package/dist/cjs/{type-CWFawTeP.js → type-ovX9euBp.js} +1 -1
- package/dist/cjs/vehicle-accessories_6.cjs.entry.js +30 -33
- package/dist/cjs/{vehicle-info-layout-Dp2Po_uc.js → vehicle-info-layout-CvgBHkXb.js} +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +5 -5
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +444 -0
- package/dist/cjs/vin-extractor.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +9 -4
- package/dist/collection/components/components/empty.css +1 -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-accordion.css +1 -1
- package/dist/collection/components/components/shift-checkbox.js +216 -0
- package/dist/collection/components/components/shift-slider.css +1 -1
- package/dist/collection/components/components/shift-slider.js +1 -1
- package/dist/collection/components/components/shift-switch.js +215 -0
- package/dist/collection/components/components/shift-tab-content.css +1 -1
- package/dist/collection/components/components/shift-tab-content.js +1 -1
- package/dist/collection/components/components/shift-tabs.css +1 -1
- package/dist/collection/components/components/shift-tabs.js +2 -2
- package/dist/collection/components/form-elements/components/form-error-message.js +9 -0
- package/dist/collection/components/form-elements/components/form-input-label.js +10 -0
- package/dist/collection/components/form-elements/components/form-input-prefix.js +10 -0
- package/dist/collection/components/form-elements/form-checkbox.js +188 -0
- package/dist/collection/components/form-elements/form-dialog.js +75 -51
- package/dist/collection/components/form-elements/form-input.js +43 -172
- package/dist/collection/components/form-elements/form-inputs.css +1 -0
- package/dist/collection/components/form-elements/form-phone-number.js +251 -0
- package/dist/collection/components/form-elements/form-select.js +152 -117
- package/dist/collection/components/form-elements/form-shadow-input.js +7 -5
- package/dist/collection/components/form-elements/form-structure-error.js +3 -3
- package/dist/collection/components/form-elements/form-structure.js +63 -110
- package/dist/collection/components/form-elements/form-submit.js +74 -63
- package/dist/collection/components/form-elements/form-switch.js +188 -0
- package/dist/collection/components/form-elements/form-text-area.js +27 -160
- package/dist/collection/components/forms/demo/element-mapper.js +41 -0
- package/dist/collection/components/forms/demo/structure.js +15 -0
- package/dist/collection/components/forms/demo/themes.css +1 -0
- package/dist/collection/components/forms/demo/validations.js +34 -0
- package/dist/collection/components/forms/{service-booking-form.js → demo-form.js} +164 -101
- package/dist/collection/components/forms/vehicle-quotation/VehicleImageViewer.js +50 -0
- package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +139 -0
- package/dist/collection/components/forms/vehicle-quotation/structure.js +34 -0
- package/dist/collection/components/forms/{service-booking/form.css → vehicle-quotation/themes.css} +1 -1
- package/dist/collection/components/forms/vehicle-quotation/validations.js +42 -0
- package/dist/collection/components/forms/vehicle-quotation.js +327 -0
- 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/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 -11
- 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-lookup.js +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.js +5 -3
- 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.css +1 -1
- package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
- package/dist/collection/{global/lib → features/form-hook}/form-hook.js +72 -11
- package/dist/collection/features/form-hook/gist-loader.js +25 -0
- package/dist/collection/features/form-hook/index.js +11 -0
- package/dist/collection/features/form-hook/interface.js +1 -0
- package/dist/collection/features/form-hook/phone-validator.js +11 -0
- package/dist/collection/features/form-hook/render-structure.js +36 -0
- package/dist/collection/features/multi-lingual/get-local-language.js +5 -0
- package/dist/collection/features/multi-lingual/types.js +2 -0
- package/dist/collection/global/assets/add-icon.js +1 -1
- package/dist/collection/global/assets/loader-icon.js +6 -0
- package/dist/collection/global/assets/tick-icon.js +6 -0
- package/dist/collection/global/lib/fetch-json.js +12 -0
- package/dist/collection/global/lib/get-language-from-url.js +17 -0
- package/dist/collection/global/lib/get-nested-value.js +9 -0
- package/dist/collection/global/lib/parse-loose-json.js +23 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-inspection-dto.js +1 -0
- package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-inspection-panel-dto.js +1 -0
- package/dist/collection/locale-mapper.js +10 -2
- package/dist/collection/locales/forms/contactUs/type.js +6 -2
- package/dist/collection/locales/forms/demo/type.js +30 -0
- package/dist/collection/locales/forms/type.js +3 -1
- package/dist/collection/locales/forms/vehicleQuotation/type.js +40 -0
- package/dist/collection/locales/general/type.js +1 -1
- package/dist/collection/locales/generalTicketTypes/type.js +1 -10
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/{service-booking-form.d.ts → demo-form.d.ts} +4 -4
- package/dist/components/demo-form.js +5 -0
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/flexible-container.js +1 -1
- package/dist/components/form-checkbox.d.ts +11 -0
- package/dist/components/form-checkbox.js +5 -0
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-phone-number.d.ts +11 -0
- package/dist/components/form-phone-number.js +5 -0
- package/dist/components/form-select.js +1 -1
- package/dist/components/form-shadow-input.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.d.ts +11 -0
- package/dist/components/form-switch.js +5 -0
- package/dist/components/form-text-area.js +1 -1
- 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/{p-B68G_Ld3.js → p-1_IG0jXf.js} +1 -1
- package/dist/components/p-B2MwZoPq.js +5 -0
- package/dist/components/p-B2beUAyz.js +5 -0
- package/dist/components/p-B3Uao1Ha.js +5 -0
- package/dist/components/p-BC0ykyCl.js +5 -0
- package/dist/components/p-BGTo_J4_.js +5 -0
- package/dist/components/{p-DOmV6aKY.js → p-BJ7Y_0HH.js} +1 -1
- package/dist/components/p-BXBJhfKx.js +5 -0
- package/dist/components/p-BXfdBBWy.js +5 -0
- package/dist/components/p-B_Awuajg.js +5 -0
- package/dist/components/p-BziBwpva.js +5 -0
- package/dist/components/p-C-I1G2GL.js +5 -0
- package/dist/components/p-CGKHe5aV.js +5 -0
- package/dist/components/p-CQnGszy6.js +5 -0
- package/dist/components/p-C_jDd3e_.js +5 -0
- package/dist/components/p-C_ozk0lR.js +5 -0
- package/dist/components/p-Cgt5s_xn.js +5 -0
- package/dist/components/p-Chfe8TId.js +5 -0
- package/dist/components/p-CnHfmo0x.js +5 -0
- package/dist/components/p-Cs2-cikp.js +5 -0
- package/dist/components/p-CtOrqs6B.js +5 -0
- package/dist/components/p-D0IHkGuC.js +5 -0
- package/dist/components/p-D3BMiplT.js +5 -0
- package/dist/components/p-D9VJI-bd.js +5 -0
- package/dist/components/p-DB29Litl.js +5 -0
- package/dist/components/p-DC7E4vgR.js +5 -0
- package/dist/components/p-DLNC6ubn.js +5 -0
- package/dist/components/p-DRK0oYuz.js +5 -0
- package/dist/components/p-DRnxC_Dv.js +5 -0
- package/dist/components/p-DW3sRsIe.js +5 -0
- package/dist/components/p-DijSwhFz.js +5 -0
- package/dist/components/p-DkCCdt6S.js +5 -0
- package/dist/components/p-Dn3zEIrl.js +5 -0
- package/dist/components/p-DvwR_CeT.js +5 -0
- package/dist/components/p-M7q3SKiP.js +5 -0
- package/dist/components/p-Xrfzb9z7.js +5 -0
- package/dist/components/p-nDe1Tx7N.js +5 -0
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/shift-accordion.js +1 -1
- package/dist/components/{contact-us-form.d.ts → shift-checkbox.d.ts} +4 -4
- package/dist/components/shift-checkbox.js +5 -0
- package/dist/components/shift-slider.js +1 -1
- package/dist/components/shift-switch.d.ts +11 -0
- package/dist/components/shift-switch.js +5 -0
- package/dist/components/shift-tab-content.js +1 -1
- package/dist/components/shift-tabs.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.d.ts +11 -0
- package/dist/components/vehicle-quotation-form.js +5 -0
- 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-BYuh_IBk.js +11 -0
- package/dist/esm/app-globals-FlE3HjBb.js +9 -0
- package/dist/esm/arrow-up-icon-DxOdc6k0.js +10 -0
- package/dist/esm/check-icon-DVWsrBK6.js +10 -0
- package/dist/esm/dead-stock-lookup_3.entry.js +14 -16
- package/dist/esm/demo-form.entry.js +212 -0
- package/dist/esm/{empty-table-icon-DvQk12N9.js → empty-table-icon-CBc6OV9P.js} +1 -1
- package/dist/esm/flexible-container.entry.js +2 -2
- package/dist/esm/form-checkbox_3.entry.js +105 -0
- package/dist/esm/form-dialog_8.entry.js +230 -287
- package/dist/esm/form-input-label-D5w5EH3F.js +26 -0
- package/dist/esm/{get-local-language-BOB5F5ZP.js → get-local-language-uS6vNigf.js} +231 -16
- package/dist/esm/{index-CikEOqe0.js → index-BnEa9hGL.js} +184 -114
- package/dist/esm/information-table.entry.js +2 -2
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loading-spinner.entry.js +2 -2
- package/dist/esm/{material-card-DiAl-884.js → material-card-KRdYdM6Z.js} +1 -1
- package/dist/esm/part-lookup.entry.js +5 -5
- package/dist/esm/{type-DQUNYPN-.js → phone-validator-CDkKaNS8.js} +1635 -1834
- package/dist/esm/{print-icon-Dn5kQmLo.js → print-icon-FGeHkj8F.js} +1 -1
- package/dist/esm/shift-accordion.entry.js +2 -2
- package/dist/esm/shift-checkbox.entry.js +31 -0
- package/dist/esm/shift-components.js +5 -4
- package/dist/esm/shift-slider.entry.js +3 -3
- package/dist/esm/shift-switch.entry.js +30 -0
- package/dist/esm/shift-tab-content.entry.js +3 -3
- package/dist/esm/shift-tabs_2.entry.js +17 -22
- package/dist/esm/{type-CUrex2XJ.js → type-Ct-uDjGf.js} +1 -1
- package/dist/esm/{type-BfKkCp-Z.js → type-DmjYUDuJ.js} +1 -1
- package/dist/esm/vehicle-accessories_6.entry.js +30 -33
- package/dist/esm/{vehicle-info-layout-CNGGKAia.js → vehicle-info-layout-gB294hFH.js} +1 -1
- package/dist/esm/vehicle-lookup.entry.js +5 -5
- package/dist/esm/vehicle-quotation-form.entry.js +442 -0
- package/dist/esm/vin-extractor.entry.js +3 -3
- package/dist/locales/forms/ar.json +8 -1
- package/dist/locales/forms/contactUs/ar.json +5 -1
- package/dist/locales/forms/contactUs/en.json +5 -1
- package/dist/locales/forms/contactUs/ku.json +5 -1
- package/dist/locales/forms/contactUs/ru.json +5 -1
- package/dist/locales/forms/contactUs/type.ts +26 -19
- package/dist/locales/forms/demo/ar.json +24 -0
- package/dist/locales/forms/demo/en.json +24 -0
- package/dist/locales/forms/demo/ku.json +24 -0
- package/dist/locales/forms/demo/ru.json +24 -0
- package/dist/locales/forms/demo/type.ts +31 -0
- package/dist/locales/forms/en.json +8 -1
- package/dist/locales/forms/ku.json +8 -1
- package/dist/locales/forms/ru.json +5 -1
- package/dist/locales/forms/type.ts +4 -1
- package/dist/locales/forms/vehicleQuotation/ar.json +34 -0
- package/dist/locales/forms/vehicleQuotation/en.json +34 -0
- package/dist/locales/forms/vehicleQuotation/ku.json +34 -0
- package/dist/locales/forms/vehicleQuotation/ru.json +34 -0
- package/dist/locales/forms/vehicleQuotation/type.ts +38 -0
- package/dist/locales/general/ar.json +0 -1
- package/dist/locales/general/en.json +0 -1
- package/dist/locales/general/ku.json +0 -1
- package/dist/locales/general/ru.json +0 -1
- package/dist/locales/general/type.ts +1 -1
- package/dist/locales/generalTicketTypes/ar.json +0 -2
- package/dist/locales/generalTicketTypes/en.json +0 -2
- package/dist/locales/generalTicketTypes/ku.json +0 -2
- package/dist/locales/generalTicketTypes/ru.json +0 -2
- package/dist/locales/generalTicketTypes/type.ts +1 -10
- package/dist/shift-components/p-0788630d.entry.js +5 -0
- package/dist/shift-components/{p-0c8bbdd0.entry.js → p-087fef54.entry.js} +1 -1
- package/dist/shift-components/p-203a857e.entry.js +5 -0
- package/dist/shift-components/p-3901EPA-.js +5 -0
- package/dist/shift-components/p-540f78fd.entry.js +5 -0
- package/dist/shift-components/p-54d04a69.entry.js +5 -0
- package/dist/shift-components/p-5595a43e.entry.js +5 -0
- package/dist/shift-components/p-6153b149.entry.js +5 -0
- package/dist/shift-components/{p-277c8a5b.entry.js → p-82cd67f3.entry.js} +1 -1
- package/dist/shift-components/p-8d9be2dc.entry.js +5 -0
- package/dist/shift-components/p-9464bc69.entry.js +5 -0
- package/dist/shift-components/{p-B8ZR3r4y.js → p-B-n4m635.js} +1 -1
- package/dist/shift-components/{p-DzSZ47FV.js → p-BK6OxaNt.js} +1 -1
- package/dist/shift-components/{p-Wtw8qj6x.js → p-BWuXL_w2.js} +1 -1
- package/dist/shift-components/p-Beoi5LCx.js +5 -0
- package/dist/shift-components/p-BgARsXBh.js +5 -0
- package/dist/shift-components/p-BnEa9hGL.js +6 -0
- package/dist/shift-components/p-BuKksSjk.js +5 -0
- package/dist/shift-components/p-Bzq1Jrq5.js +5 -0
- package/dist/shift-components/p-DB9dXavJ.js +5 -0
- package/dist/shift-components/p-DL_G203I.js +5 -0
- package/dist/shift-components/{p-Bx6q5cq-.js → p-DpQp5gau.js} +1 -1
- package/dist/shift-components/p-acd07f69.entry.js +5 -0
- package/dist/shift-components/p-b0ebebd3.entry.js +5 -0
- package/dist/shift-components/p-b8ae2d0d.entry.js +5 -0
- package/dist/shift-components/p-bc10e8d1.entry.js +5 -0
- package/dist/shift-components/p-c46ecd64.entry.js +5 -0
- package/dist/shift-components/p-dec7a90a.entry.js +5 -0
- package/dist/shift-components/p-e298ef79.entry.js +5 -0
- package/dist/shift-components/{p-238f5df0.entry.js → p-e67ec123.entry.js} +1 -1
- package/dist/shift-components/p-eL99WkVm.js +5 -0
- package/dist/shift-components/p-jtkSIgt7.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/components/shift-checkbox.d.ts +15 -0
- package/dist/types/components/components/shift-switch.d.ts +15 -0
- package/dist/types/components/form-elements/components/form-error-message.d.ts +7 -0
- package/dist/types/components/form-elements/components/form-input-label.d.ts +7 -0
- package/dist/types/components/form-elements/components/form-input-prefix.d.ts +7 -0
- package/dist/types/components/form-elements/form-checkbox.d.ts +17 -0
- package/dist/types/components/form-elements/form-dialog.d.ts +7 -9
- package/dist/types/components/form-elements/form-input.d.ts +8 -19
- package/dist/types/components/form-elements/form-phone-number.d.ts +23 -0
- package/dist/types/components/form-elements/form-select.d.ts +19 -19
- package/dist/types/components/form-elements/form-shadow-input.d.ts +1 -1
- package/dist/types/components/form-elements/form-structure.d.ts +11 -19
- package/dist/types/components/form-elements/form-submit.d.ts +9 -10
- package/dist/types/components/form-elements/form-switch.d.ts +17 -0
- package/dist/types/components/form-elements/form-text-area.d.ts +5 -15
- package/dist/types/components/forms/demo/element-mapper.d.ts +6 -0
- package/dist/types/components/forms/demo/structure.d.ts +12 -0
- package/dist/types/components/forms/demo/validations.d.ts +32 -0
- package/dist/types/components/forms/demo-form.d.ts +41 -0
- package/dist/types/components/forms/vehicle-quotation/VehicleImageViewer.d.ts +8 -0
- package/dist/types/components/forms/vehicle-quotation/element-mapper.d.ts +6 -0
- package/dist/types/components/forms/vehicle-quotation/structure.d.ts +0 -0
- package/dist/types/components/forms/vehicle-quotation/validations.d.ts +34 -0
- package/dist/types/components/forms/vehicle-quotation.d.ts +38 -0
- package/dist/types/components.d.ts +321 -234
- package/dist/types/features/form-hook/form-hook.d.ts +57 -0
- package/dist/types/features/form-hook/gist-loader.d.ts +2 -0
- package/dist/types/features/form-hook/index.d.ts +7 -0
- package/dist/types/features/form-hook/inputs/form-input.d.ts +4 -0
- package/dist/types/features/form-hook/inputs/form-select.d.ts +12 -0
- package/dist/types/features/form-hook/interface.d.ts +79 -0
- package/dist/types/features/form-hook/phone-validator.d.ts +9 -0
- package/dist/types/features/form-hook/render-structure.d.ts +3 -0
- package/dist/types/features/multi-lingual/get-local-language.d.ts +2 -1
- package/dist/types/features/multi-lingual/types.d.ts +33 -0
- package/dist/types/global/assets/add-icon.d.ts +1 -0
- package/dist/types/global/assets/loader-icon.d.ts +6 -0
- package/dist/types/global/assets/tick-icon.d.ts +6 -0
- package/dist/types/global/lib/fetch-json.d.ts +1 -0
- package/dist/types/global/lib/get-language-from-url.d.ts +2 -0
- package/dist/types/global/lib/get-nested-value.d.ts +1 -0
- package/dist/types/global/lib/parse-loose-json.d.ts +1 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-inspection-dto.d.ts +6 -0
- package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-inspection-panel-dto.d.ts +7 -0
- package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +2 -2
- package/dist/types/locale-mapper.d.ts +3 -1
- package/dist/types/locales/forms/contactUs/type.d.ts +9 -0
- package/dist/types/locales/forms/demo/type.d.ts +49 -0
- package/dist/types/locales/forms/type.d.ts +13 -0
- package/dist/types/locales/forms/vehicleQuotation/type.d.ts +68 -0
- package/dist/types/locales/forms/wrapper-type.d.ts +21 -0
- package/dist/types/locales/general/type.d.ts +0 -2
- package/dist/types/locales/generalTicketTypes/type.d.ts +0 -4
- package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +2 -2
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +2 -2
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/package.json +5 -3
- package/dist/cjs/contact-us-form.cjs.entry.js +0 -198
- package/dist/cjs/service-booking-form.cjs.entry.js +0 -198
- package/dist/collection/components/form-elements/form-dialog.css +0 -1
- package/dist/collection/components/form-elements/form-input.css +0 -1
- package/dist/collection/components/form-elements/form-select.css +0 -1
- package/dist/collection/components/form-elements/form-shadow-input.css +0 -1
- package/dist/collection/components/form-elements/form-structure-error.css +0 -1
- package/dist/collection/components/form-elements/form-structure.css +0 -1
- package/dist/collection/components/form-elements/form-submit.css +0 -1
- package/dist/collection/components/form-elements/form-text-area.css +0 -1
- package/dist/collection/components/forms/contact-us/element-mapper.js +0 -88
- package/dist/collection/components/forms/contact-us/form.css +0 -1
- package/dist/collection/components/forms/contact-us/validations.js +0 -19
- package/dist/collection/components/forms/contact-us-form.js +0 -295
- package/dist/collection/components/forms/service-booking/element-mapper.js +0 -88
- package/dist/collection/components/forms/service-booking/validations.js +0 -19
- package/dist/collection/global/lib/validate-form-structure.js +0 -47
- package/dist/components/contact-us-form.js +0 -5
- package/dist/components/p-0PjZRWut.js +0 -5
- package/dist/components/p-11ylorNL.js +0 -5
- package/dist/components/p-B2qqkU3A.js +0 -5
- package/dist/components/p-B6j7vssc.js +0 -5
- package/dist/components/p-BF4ShuLZ.js +0 -5
- package/dist/components/p-BGe0MyLF.js +0 -5
- package/dist/components/p-BKq17ywX.js +0 -5
- package/dist/components/p-BSP1ayje.js +0 -5
- package/dist/components/p-BVPVJguA.js +0 -5
- package/dist/components/p-BhjL0HMA.js +0 -5
- package/dist/components/p-BjSLaXGX.js +0 -5
- package/dist/components/p-Bm8G-DAp.js +0 -5
- package/dist/components/p-CIaM3UPL.js +0 -5
- package/dist/components/p-CcP_EtCu.js +0 -5
- package/dist/components/p-CtpTKsfq.js +0 -5
- package/dist/components/p-D8xszt8E.js +0 -5
- package/dist/components/p-DXGHyX7G.js +0 -5
- package/dist/components/p-Di5SfFwc.js +0 -5
- package/dist/components/p-DyaIfEgq.js +0 -5
- package/dist/components/p-P3fAKtye.js +0 -5
- package/dist/components/p-QMinV6Ic.js +0 -5
- package/dist/components/p-TyreGxpg.js +0 -5
- package/dist/components/p-alw0x13e.js +0 -5
- package/dist/components/p-eQuyMB7o.js +0 -5
- package/dist/components/p-x0cm6Jgv.js +0 -5
- package/dist/components/service-booking-form.js +0 -5
- package/dist/esm/contact-us-form.entry.js +0 -196
- package/dist/esm/service-booking-form.entry.js +0 -196
- package/dist/shift-components/p-03f093e0.entry.js +0 -5
- package/dist/shift-components/p-077e4c82.entry.js +0 -5
- package/dist/shift-components/p-42218765.entry.js +0 -5
- package/dist/shift-components/p-43a8b998.entry.js +0 -5
- package/dist/shift-components/p-55558c0f.entry.js +0 -5
- package/dist/shift-components/p-55c5a5ea.entry.js +0 -5
- package/dist/shift-components/p-701e3fb0.entry.js +0 -5
- package/dist/shift-components/p-8d7b1edb.entry.js +0 -5
- package/dist/shift-components/p-BSpTbUWi.js +0 -5
- package/dist/shift-components/p-CTkDt6jM.js +0 -5
- package/dist/shift-components/p-CikEOqe0.js +0 -6
- package/dist/shift-components/p-DPgWys0Y.js +0 -5
- package/dist/shift-components/p-bc419485.entry.js +0 -5
- package/dist/shift-components/p-e8e37708.entry.js +0 -5
- package/dist/shift-components/p-f1181125.entry.js +0 -5
- package/dist/shift-components/p-f760aaa3.entry.js +0 -5
- package/dist/shift-components/p-fyqwD4fB.js +0 -5
- package/dist/types/components/forms/contact-us/element-mapper.d.ts +0 -3
- package/dist/types/components/forms/contact-us/validations.d.ts +0 -26
- package/dist/types/components/forms/contact-us-form.d.ts +0 -32
- package/dist/types/components/forms/service-booking/element-mapper.d.ts +0 -3
- package/dist/types/components/forms/service-booking/validations.d.ts +0 -26
- package/dist/types/components/forms/service-booking-form.d.ts +0 -32
- package/dist/types/global/lib/form-hook.d.ts +0 -47
- package/dist/types/global/lib/validate-form-structure.d.ts +0 -3
- package/dist/types/global/types/forms.d.ts +0 -64
- package/dist/types/global/types/general.d.ts +0 -23
- /package/dist/collection/{global/types/forms.js → features/form-hook/inputs/form-input.js} +0 -0
- /package/dist/collection/{global/types/general.js → features/form-hook/inputs/form-select.js} +0 -0
|
@@ -8,10 +8,10 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { ErrorKeys, LanguageKeys, SharedLocales } from "./features/multi-lingual/index";
|
|
9
9
|
import { PartLookupDTO } from "./global/types/generated/part/part-lookup-dto";
|
|
10
10
|
import { PartLookupMock } from "./features/part-lookup-components/index";
|
|
11
|
-
import { FormHook } from "./
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { FormElementMapper, FormElementStructure, FormHook, FormSelectFetcher } from "./features/form-hook/index";
|
|
12
|
+
import { demoElementNames } from "./components/forms/demo/element-mapper";
|
|
13
|
+
import { FormHook as FormHook1 } from "./features/form-hook/form-hook";
|
|
14
|
+
import { AsYouType } from "libphonenumber-js";
|
|
15
15
|
import { InformationTableColumn } from "./components/components/information-table";
|
|
16
16
|
import { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
17
17
|
import { DotNetObjectReference } from "./global/types/components";
|
|
@@ -23,13 +23,14 @@ import { VehicleServiceItemDTO } from "./global/types/generated/vehicle-lookup/v
|
|
|
23
23
|
import { ClaimFormType } from "./locales/vehicleLookup/claimableItems/type";
|
|
24
24
|
import { ClaimFormPayload } from "./components/vehicle-lookup/vehicle-item-claim-form";
|
|
25
25
|
import { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/vehicle-lookup";
|
|
26
|
+
import { vehicleQuotationElementNames } from "./components/forms/vehicle-quotation/element-mapper";
|
|
26
27
|
export { ErrorKeys, LanguageKeys, SharedLocales } from "./features/multi-lingual/index";
|
|
27
28
|
export { PartLookupDTO } from "./global/types/generated/part/part-lookup-dto";
|
|
28
29
|
export { PartLookupMock } from "./features/part-lookup-components/index";
|
|
29
|
-
export { FormHook } from "./
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
30
|
+
export { FormElementMapper, FormElementStructure, FormHook, FormSelectFetcher } from "./features/form-hook/index";
|
|
31
|
+
export { demoElementNames } from "./components/forms/demo/element-mapper";
|
|
32
|
+
export { FormHook as FormHook1 } from "./features/form-hook/form-hook";
|
|
33
|
+
export { AsYouType } from "libphonenumber-js";
|
|
33
34
|
export { InformationTableColumn } from "./components/components/information-table";
|
|
34
35
|
export { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
35
36
|
export { DotNetObjectReference } from "./global/types/components";
|
|
@@ -41,31 +42,8 @@ export { VehicleServiceItemDTO } from "./global/types/generated/vehicle-lookup/v
|
|
|
41
42
|
export { ClaimFormType } from "./locales/vehicleLookup/claimableItems/type";
|
|
42
43
|
export { ClaimFormPayload } from "./components/vehicle-lookup/vehicle-item-claim-form";
|
|
43
44
|
export { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/vehicle-lookup";
|
|
45
|
+
export { vehicleQuotationElementNames } from "./components/forms/vehicle-quotation/element-mapper";
|
|
44
46
|
export namespace Components {
|
|
45
|
-
interface ContactUsForm {
|
|
46
|
-
"baseUrl": string;
|
|
47
|
-
"brandId": string;
|
|
48
|
-
"errorCallback": (error: any) => void;
|
|
49
|
-
/**
|
|
50
|
-
* @default 'en'
|
|
51
|
-
*/
|
|
52
|
-
"language": LanguageKeys;
|
|
53
|
-
"loadingChanges": (loading: boolean) => void;
|
|
54
|
-
/**
|
|
55
|
-
* @default ''
|
|
56
|
-
*/
|
|
57
|
-
"queryString": string;
|
|
58
|
-
/**
|
|
59
|
-
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
60
|
-
*/
|
|
61
|
-
"recaptchaKey": string;
|
|
62
|
-
/**
|
|
63
|
-
* @default '["submit.Submit"]'
|
|
64
|
-
*/
|
|
65
|
-
"structure": string;
|
|
66
|
-
"successCallback": (values: any) => void;
|
|
67
|
-
"theme": string;
|
|
68
|
-
}
|
|
69
47
|
interface DeadStockLookup {
|
|
70
48
|
"baseUrl": string;
|
|
71
49
|
/**
|
|
@@ -92,6 +70,28 @@ export namespace Components {
|
|
|
92
70
|
"setErrorMessage": (message: ErrorKeys) => Promise<void>;
|
|
93
71
|
"setMockData": (newMockData: PartLookupMock) => Promise<void>;
|
|
94
72
|
}
|
|
73
|
+
interface DemoForm {
|
|
74
|
+
"baseUrl": string;
|
|
75
|
+
"brandId": string;
|
|
76
|
+
"errorCallback": (error: any) => void;
|
|
77
|
+
"gistId"?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @default 'en'
|
|
80
|
+
*/
|
|
81
|
+
"language": LanguageKeys;
|
|
82
|
+
"loadingChanges": (loading: boolean) => void;
|
|
83
|
+
/**
|
|
84
|
+
* @default ''
|
|
85
|
+
*/
|
|
86
|
+
"queryString": string;
|
|
87
|
+
/**
|
|
88
|
+
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
89
|
+
*/
|
|
90
|
+
"recaptchaKey": string;
|
|
91
|
+
"structure": FormElementStructure<demoElementNames> | undefined;
|
|
92
|
+
"successCallback": (data: any) => void;
|
|
93
|
+
"theme": string;
|
|
94
|
+
}
|
|
95
95
|
interface DistributorLookup {
|
|
96
96
|
"baseUrl": string;
|
|
97
97
|
/**
|
|
@@ -146,50 +146,71 @@ export namespace Components {
|
|
|
146
146
|
*/
|
|
147
147
|
"stopAnimation"?: boolean;
|
|
148
148
|
}
|
|
149
|
+
interface FormCheckbox {
|
|
150
|
+
"defaultChecked": boolean;
|
|
151
|
+
"form": FormHook<any>;
|
|
152
|
+
"inputPrefix": string;
|
|
153
|
+
"name": string;
|
|
154
|
+
/**
|
|
155
|
+
* @default 'text'
|
|
156
|
+
*/
|
|
157
|
+
"type": string;
|
|
158
|
+
"wrapperClass": string;
|
|
159
|
+
"wrapperId": string;
|
|
160
|
+
}
|
|
149
161
|
interface FormDialog {
|
|
162
|
+
"closeText": string;
|
|
150
163
|
"dialogClosed": () => void;
|
|
151
|
-
"
|
|
164
|
+
"form": FormHook<any>;
|
|
165
|
+
"isError": boolean;
|
|
166
|
+
"message": string;
|
|
167
|
+
}
|
|
168
|
+
interface FormInput {
|
|
169
|
+
"defaultValue": string;
|
|
170
|
+
"form": FormHook<any>;
|
|
171
|
+
"inputPrefix": string;
|
|
172
|
+
"isLoading"?: boolean;
|
|
173
|
+
"name": string;
|
|
152
174
|
/**
|
|
153
|
-
* @default '
|
|
175
|
+
* @default 'text'
|
|
154
176
|
*/
|
|
155
|
-
"
|
|
177
|
+
"type": string;
|
|
178
|
+
"wrapperClass": string;
|
|
179
|
+
"wrapperId": string;
|
|
156
180
|
}
|
|
157
|
-
interface
|
|
158
|
-
"
|
|
159
|
-
"errorMessage": string;
|
|
181
|
+
interface FormPhoneNumber {
|
|
182
|
+
"defaultValue": string;
|
|
160
183
|
"form": FormHook<any>;
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"isError": boolean;
|
|
165
|
-
"isRequired": boolean;
|
|
166
|
-
"label": string;
|
|
184
|
+
"inputPrefix": string;
|
|
185
|
+
"isLoading"?: boolean;
|
|
186
|
+
"name": string;
|
|
167
187
|
/**
|
|
168
|
-
* @default '
|
|
188
|
+
* @default 'text'
|
|
169
189
|
*/
|
|
170
|
-
"
|
|
171
|
-
"
|
|
190
|
+
"type": string;
|
|
191
|
+
"validator": AsYouType;
|
|
172
192
|
"wrapperClass": string;
|
|
173
193
|
"wrapperId": string;
|
|
174
194
|
}
|
|
175
195
|
interface FormSelect {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
196
|
+
/**
|
|
197
|
+
* @default false
|
|
198
|
+
*/
|
|
199
|
+
"clearable": boolean;
|
|
200
|
+
"defaultValue": string;
|
|
201
|
+
"fetcher": FormSelectFetcher<any>;
|
|
202
|
+
"fetcherKey": any;
|
|
179
203
|
"form": FormHook<any>;
|
|
180
|
-
"
|
|
181
|
-
"
|
|
204
|
+
"isDisabled": boolean;
|
|
205
|
+
"isLoading": boolean;
|
|
182
206
|
"isRequired": boolean;
|
|
183
|
-
"label": string;
|
|
184
207
|
/**
|
|
185
208
|
* @default 'en'
|
|
186
209
|
*/
|
|
187
210
|
"language": LanguageKeys;
|
|
188
211
|
"name": string;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
*/
|
|
192
|
-
"placeholder": string;
|
|
212
|
+
"resetKey": any;
|
|
213
|
+
"searchable": boolean;
|
|
193
214
|
"wrapperClass": string;
|
|
194
215
|
"wrapperId": string;
|
|
195
216
|
}
|
|
@@ -201,25 +222,18 @@ export namespace Components {
|
|
|
201
222
|
interface FormStructure {
|
|
202
223
|
"errorMessage": string;
|
|
203
224
|
"form": FormHook<any>;
|
|
204
|
-
"formElementMapper": FormElementMapper<any>;
|
|
205
|
-
"isLoading": boolean;
|
|
206
|
-
/**
|
|
207
|
-
* @default 'en'
|
|
208
|
-
*/
|
|
209
|
-
"language": LanguageKeys;
|
|
225
|
+
"formElementMapper": FormElementMapper<any, any>;
|
|
210
226
|
/**
|
|
211
227
|
* @default {}
|
|
212
228
|
*/
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
* @default '["submit.Submit"]'
|
|
216
|
-
*/
|
|
217
|
-
"structure": string;
|
|
218
|
-
"theme": string;
|
|
229
|
+
"formLocale": any;
|
|
230
|
+
"isLoading": boolean;
|
|
219
231
|
/**
|
|
220
|
-
* @default
|
|
232
|
+
* @default 'en'
|
|
221
233
|
*/
|
|
222
|
-
"
|
|
234
|
+
"language": LanguageKeys;
|
|
235
|
+
"structure": FormElementStructure<any>;
|
|
236
|
+
"successMessage": string;
|
|
223
237
|
}
|
|
224
238
|
interface FormStructureError {
|
|
225
239
|
/**
|
|
@@ -228,29 +242,29 @@ export namespace Components {
|
|
|
228
242
|
"language": LanguageKeys;
|
|
229
243
|
}
|
|
230
244
|
interface FormSubmit {
|
|
245
|
+
"form": FormHook<any>;
|
|
231
246
|
"isLoading": boolean;
|
|
247
|
+
"language"?: string;
|
|
248
|
+
"submitTextKey"?: string;
|
|
249
|
+
"wrapperClass": string;
|
|
250
|
+
"wrapperId": string;
|
|
251
|
+
}
|
|
252
|
+
interface FormSwitch {
|
|
253
|
+
"defaultChecked": boolean;
|
|
254
|
+
"form": FormHook<any>;
|
|
255
|
+
"inputPrefix": string;
|
|
256
|
+
"name": string;
|
|
232
257
|
/**
|
|
233
|
-
* @default '
|
|
234
|
-
*/
|
|
235
|
-
"language": LanguageKeys;
|
|
236
|
-
/**
|
|
237
|
-
* @default {}
|
|
258
|
+
* @default 'text'
|
|
238
259
|
*/
|
|
239
|
-
"
|
|
240
|
-
"
|
|
260
|
+
"type": string;
|
|
261
|
+
"wrapperClass": string;
|
|
262
|
+
"wrapperId": string;
|
|
241
263
|
}
|
|
242
264
|
interface FormTextArea {
|
|
243
|
-
"
|
|
265
|
+
"defaultValue": string;
|
|
244
266
|
"form": FormHook<any>;
|
|
245
|
-
"
|
|
246
|
-
"inputParams": InputParams;
|
|
247
|
-
"isError": boolean;
|
|
248
|
-
"isRequired": boolean;
|
|
249
|
-
"label": string;
|
|
250
|
-
/**
|
|
251
|
-
* @default 'en'
|
|
252
|
-
*/
|
|
253
|
-
"language": LanguageKeys;
|
|
267
|
+
"name": string;
|
|
254
268
|
"wrapperClass": string;
|
|
255
269
|
"wrapperId": string;
|
|
256
270
|
}
|
|
@@ -350,39 +364,37 @@ export namespace Components {
|
|
|
350
364
|
"queryString": string;
|
|
351
365
|
"setBlazorRef": (newBlazorRef: DotNetObjectReference) => Promise<void>;
|
|
352
366
|
}
|
|
353
|
-
interface ServiceBookingForm {
|
|
354
|
-
"baseUrl": string;
|
|
355
|
-
"brandId": string;
|
|
356
|
-
"errorCallback": (error: any) => void;
|
|
357
|
-
/**
|
|
358
|
-
* @default 'en'
|
|
359
|
-
*/
|
|
360
|
-
"language": LanguageKeys;
|
|
361
|
-
"loadingChanges": (loading: boolean) => void;
|
|
362
|
-
/**
|
|
363
|
-
* @default ''
|
|
364
|
-
*/
|
|
365
|
-
"queryString": string;
|
|
366
|
-
/**
|
|
367
|
-
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
368
|
-
*/
|
|
369
|
-
"recaptchaKey": string;
|
|
370
|
-
/**
|
|
371
|
-
* @default '["submit.Submit"]'
|
|
372
|
-
*/
|
|
373
|
-
"structure": string;
|
|
374
|
-
"successCallback": (values: any) => void;
|
|
375
|
-
"theme": string;
|
|
376
|
-
}
|
|
377
367
|
interface ShiftAccordion {
|
|
378
368
|
"accordionClasses"?: string;
|
|
379
369
|
"accordionContentClasses"?: string;
|
|
380
370
|
"items": AccordionItem[];
|
|
381
371
|
}
|
|
372
|
+
interface ShiftCheckbox {
|
|
373
|
+
"checked": boolean;
|
|
374
|
+
"componentClass": string;
|
|
375
|
+
"componentId": string;
|
|
376
|
+
"disabled": boolean;
|
|
377
|
+
"getInputRef": () => Promise<HTMLInputElement>;
|
|
378
|
+
"getIsChecked": () => Promise<boolean>;
|
|
379
|
+
"label": string;
|
|
380
|
+
"name": string;
|
|
381
|
+
"onChange"?: (event: Event) => void;
|
|
382
|
+
}
|
|
382
383
|
interface ShiftSlider {
|
|
383
384
|
"activeIndex": number;
|
|
384
385
|
"components": (() => Node)[];
|
|
385
386
|
}
|
|
387
|
+
interface ShiftSwitch {
|
|
388
|
+
"checked": boolean;
|
|
389
|
+
"componentClass": string;
|
|
390
|
+
"componentId": string;
|
|
391
|
+
"disabled": boolean;
|
|
392
|
+
"getInputRef": () => Promise<HTMLInputElement>;
|
|
393
|
+
"getIsChecked": () => Promise<boolean>;
|
|
394
|
+
"label": string;
|
|
395
|
+
"name": string;
|
|
396
|
+
"onChange"?: (event: Event) => void;
|
|
397
|
+
}
|
|
386
398
|
interface ShiftTabContent {
|
|
387
399
|
"activeComponent": string;
|
|
388
400
|
"components": { [key: string]: Node };
|
|
@@ -545,6 +557,18 @@ export namespace Components {
|
|
|
545
557
|
"setErrorMessage": (message: ErrorKeys) => Promise<void>;
|
|
546
558
|
"setMockData": (newMockData: VehicleLookupMock) => Promise<void>;
|
|
547
559
|
}
|
|
560
|
+
interface VehicleQuotationForm {
|
|
561
|
+
"errorCallback": (error: any) => void;
|
|
562
|
+
"gistId"?: string;
|
|
563
|
+
/**
|
|
564
|
+
* @default 'en'
|
|
565
|
+
*/
|
|
566
|
+
"language": LanguageKeys;
|
|
567
|
+
"loadingChanges": (loading: boolean) => void;
|
|
568
|
+
"structure": FormElementStructure<vehicleQuotationElementNames> | undefined;
|
|
569
|
+
"structureUrl"?: string;
|
|
570
|
+
"successCallback": (data: any) => void;
|
|
571
|
+
}
|
|
548
572
|
interface VehicleServiceHistory {
|
|
549
573
|
"baseUrl": string;
|
|
550
574
|
/**
|
|
@@ -732,18 +756,18 @@ export namespace Components {
|
|
|
732
756
|
}
|
|
733
757
|
}
|
|
734
758
|
declare global {
|
|
735
|
-
interface HTMLContactUsFormElement extends Components.ContactUsForm, HTMLStencilElement {
|
|
736
|
-
}
|
|
737
|
-
var HTMLContactUsFormElement: {
|
|
738
|
-
prototype: HTMLContactUsFormElement;
|
|
739
|
-
new (): HTMLContactUsFormElement;
|
|
740
|
-
};
|
|
741
759
|
interface HTMLDeadStockLookupElement extends Components.DeadStockLookup, HTMLStencilElement {
|
|
742
760
|
}
|
|
743
761
|
var HTMLDeadStockLookupElement: {
|
|
744
762
|
prototype: HTMLDeadStockLookupElement;
|
|
745
763
|
new (): HTMLDeadStockLookupElement;
|
|
746
764
|
};
|
|
765
|
+
interface HTMLDemoFormElement extends Components.DemoForm, HTMLStencilElement {
|
|
766
|
+
}
|
|
767
|
+
var HTMLDemoFormElement: {
|
|
768
|
+
prototype: HTMLDemoFormElement;
|
|
769
|
+
new (): HTMLDemoFormElement;
|
|
770
|
+
};
|
|
747
771
|
interface HTMLDistributorLookupElement extends Components.DistributorLookup, HTMLStencilElement {
|
|
748
772
|
}
|
|
749
773
|
var HTMLDistributorLookupElement: {
|
|
@@ -756,6 +780,12 @@ declare global {
|
|
|
756
780
|
prototype: HTMLFlexibleContainerElement;
|
|
757
781
|
new (): HTMLFlexibleContainerElement;
|
|
758
782
|
};
|
|
783
|
+
interface HTMLFormCheckboxElement extends Components.FormCheckbox, HTMLStencilElement {
|
|
784
|
+
}
|
|
785
|
+
var HTMLFormCheckboxElement: {
|
|
786
|
+
prototype: HTMLFormCheckboxElement;
|
|
787
|
+
new (): HTMLFormCheckboxElement;
|
|
788
|
+
};
|
|
759
789
|
interface HTMLFormDialogElement extends Components.FormDialog, HTMLStencilElement {
|
|
760
790
|
}
|
|
761
791
|
var HTMLFormDialogElement: {
|
|
@@ -768,6 +798,12 @@ declare global {
|
|
|
768
798
|
prototype: HTMLFormInputElement;
|
|
769
799
|
new (): HTMLFormInputElement;
|
|
770
800
|
};
|
|
801
|
+
interface HTMLFormPhoneNumberElement extends Components.FormPhoneNumber, HTMLStencilElement {
|
|
802
|
+
}
|
|
803
|
+
var HTMLFormPhoneNumberElement: {
|
|
804
|
+
prototype: HTMLFormPhoneNumberElement;
|
|
805
|
+
new (): HTMLFormPhoneNumberElement;
|
|
806
|
+
};
|
|
771
807
|
interface HTMLFormSelectElement extends Components.FormSelect, HTMLStencilElement {
|
|
772
808
|
}
|
|
773
809
|
var HTMLFormSelectElement: {
|
|
@@ -798,6 +834,12 @@ declare global {
|
|
|
798
834
|
prototype: HTMLFormSubmitElement;
|
|
799
835
|
new (): HTMLFormSubmitElement;
|
|
800
836
|
};
|
|
837
|
+
interface HTMLFormSwitchElement extends Components.FormSwitch, HTMLStencilElement {
|
|
838
|
+
}
|
|
839
|
+
var HTMLFormSwitchElement: {
|
|
840
|
+
prototype: HTMLFormSwitchElement;
|
|
841
|
+
new (): HTMLFormSwitchElement;
|
|
842
|
+
};
|
|
801
843
|
interface HTMLFormTextAreaElement extends Components.FormTextArea, HTMLStencilElement {
|
|
802
844
|
}
|
|
803
845
|
var HTMLFormTextAreaElement: {
|
|
@@ -828,24 +870,30 @@ declare global {
|
|
|
828
870
|
prototype: HTMLPartLookupElement;
|
|
829
871
|
new (): HTMLPartLookupElement;
|
|
830
872
|
};
|
|
831
|
-
interface HTMLServiceBookingFormElement extends Components.ServiceBookingForm, HTMLStencilElement {
|
|
832
|
-
}
|
|
833
|
-
var HTMLServiceBookingFormElement: {
|
|
834
|
-
prototype: HTMLServiceBookingFormElement;
|
|
835
|
-
new (): HTMLServiceBookingFormElement;
|
|
836
|
-
};
|
|
837
873
|
interface HTMLShiftAccordionElement extends Components.ShiftAccordion, HTMLStencilElement {
|
|
838
874
|
}
|
|
839
875
|
var HTMLShiftAccordionElement: {
|
|
840
876
|
prototype: HTMLShiftAccordionElement;
|
|
841
877
|
new (): HTMLShiftAccordionElement;
|
|
842
878
|
};
|
|
879
|
+
interface HTMLShiftCheckboxElement extends Components.ShiftCheckbox, HTMLStencilElement {
|
|
880
|
+
}
|
|
881
|
+
var HTMLShiftCheckboxElement: {
|
|
882
|
+
prototype: HTMLShiftCheckboxElement;
|
|
883
|
+
new (): HTMLShiftCheckboxElement;
|
|
884
|
+
};
|
|
843
885
|
interface HTMLShiftSliderElement extends Components.ShiftSlider, HTMLStencilElement {
|
|
844
886
|
}
|
|
845
887
|
var HTMLShiftSliderElement: {
|
|
846
888
|
prototype: HTMLShiftSliderElement;
|
|
847
889
|
new (): HTMLShiftSliderElement;
|
|
848
890
|
};
|
|
891
|
+
interface HTMLShiftSwitchElement extends Components.ShiftSwitch, HTMLStencilElement {
|
|
892
|
+
}
|
|
893
|
+
var HTMLShiftSwitchElement: {
|
|
894
|
+
prototype: HTMLShiftSwitchElement;
|
|
895
|
+
new (): HTMLShiftSwitchElement;
|
|
896
|
+
};
|
|
849
897
|
interface HTMLShiftTabContentElement extends Components.ShiftTabContent, HTMLStencilElement {
|
|
850
898
|
}
|
|
851
899
|
var HTMLShiftTabContentElement: {
|
|
@@ -888,6 +936,12 @@ declare global {
|
|
|
888
936
|
prototype: HTMLVehiclePaintThicknessElement;
|
|
889
937
|
new (): HTMLVehiclePaintThicknessElement;
|
|
890
938
|
};
|
|
939
|
+
interface HTMLVehicleQuotationFormElement extends Components.VehicleQuotationForm, HTMLStencilElement {
|
|
940
|
+
}
|
|
941
|
+
var HTMLVehicleQuotationFormElement: {
|
|
942
|
+
prototype: HTMLVehicleQuotationFormElement;
|
|
943
|
+
new (): HTMLVehicleQuotationFormElement;
|
|
944
|
+
};
|
|
891
945
|
interface HTMLVehicleServiceHistoryElement extends Components.VehicleServiceHistory, HTMLStencilElement {
|
|
892
946
|
}
|
|
893
947
|
var HTMLVehicleServiceHistoryElement: {
|
|
@@ -913,25 +967,29 @@ declare global {
|
|
|
913
967
|
new (): HTMLVinExtractorElement;
|
|
914
968
|
};
|
|
915
969
|
interface HTMLElementTagNameMap {
|
|
916
|
-
"contact-us-form": HTMLContactUsFormElement;
|
|
917
970
|
"dead-stock-lookup": HTMLDeadStockLookupElement;
|
|
971
|
+
"demo-form": HTMLDemoFormElement;
|
|
918
972
|
"distributor-lookup": HTMLDistributorLookupElement;
|
|
919
973
|
"flexible-container": HTMLFlexibleContainerElement;
|
|
974
|
+
"form-checkbox": HTMLFormCheckboxElement;
|
|
920
975
|
"form-dialog": HTMLFormDialogElement;
|
|
921
976
|
"form-input": HTMLFormInputElement;
|
|
977
|
+
"form-phone-number": HTMLFormPhoneNumberElement;
|
|
922
978
|
"form-select": HTMLFormSelectElement;
|
|
923
979
|
"form-shadow-input": HTMLFormShadowInputElement;
|
|
924
980
|
"form-structure": HTMLFormStructureElement;
|
|
925
981
|
"form-structure-error": HTMLFormStructureErrorElement;
|
|
926
982
|
"form-submit": HTMLFormSubmitElement;
|
|
983
|
+
"form-switch": HTMLFormSwitchElement;
|
|
927
984
|
"form-text-area": HTMLFormTextAreaElement;
|
|
928
985
|
"information-table": HTMLInformationTableElement;
|
|
929
986
|
"loading-spinner": HTMLLoadingSpinnerElement;
|
|
930
987
|
"manufacturer-lookup": HTMLManufacturerLookupElement;
|
|
931
988
|
"part-lookup": HTMLPartLookupElement;
|
|
932
|
-
"service-booking-form": HTMLServiceBookingFormElement;
|
|
933
989
|
"shift-accordion": HTMLShiftAccordionElement;
|
|
990
|
+
"shift-checkbox": HTMLShiftCheckboxElement;
|
|
934
991
|
"shift-slider": HTMLShiftSliderElement;
|
|
992
|
+
"shift-switch": HTMLShiftSwitchElement;
|
|
935
993
|
"shift-tab-content": HTMLShiftTabContentElement;
|
|
936
994
|
"shift-tabs": HTMLShiftTabsElement;
|
|
937
995
|
"vehicle-accessories": HTMLVehicleAccessoriesElement;
|
|
@@ -939,6 +997,7 @@ declare global {
|
|
|
939
997
|
"vehicle-item-claim-form": HTMLVehicleItemClaimFormElement;
|
|
940
998
|
"vehicle-lookup": HTMLVehicleLookupElement;
|
|
941
999
|
"vehicle-paint-thickness": HTMLVehiclePaintThicknessElement;
|
|
1000
|
+
"vehicle-quotation-form": HTMLVehicleQuotationFormElement;
|
|
942
1001
|
"vehicle-service-history": HTMLVehicleServiceHistoryElement;
|
|
943
1002
|
"vehicle-specification": HTMLVehicleSpecificationElement;
|
|
944
1003
|
"vehicle-warranty-details": HTMLVehicleWarrantyDetailsElement;
|
|
@@ -946,30 +1005,6 @@ declare global {
|
|
|
946
1005
|
}
|
|
947
1006
|
}
|
|
948
1007
|
declare namespace LocalJSX {
|
|
949
|
-
interface ContactUsForm {
|
|
950
|
-
"baseUrl"?: string;
|
|
951
|
-
"brandId"?: string;
|
|
952
|
-
"errorCallback"?: (error: any) => void;
|
|
953
|
-
/**
|
|
954
|
-
* @default 'en'
|
|
955
|
-
*/
|
|
956
|
-
"language"?: LanguageKeys;
|
|
957
|
-
"loadingChanges"?: (loading: boolean) => void;
|
|
958
|
-
/**
|
|
959
|
-
* @default ''
|
|
960
|
-
*/
|
|
961
|
-
"queryString"?: string;
|
|
962
|
-
/**
|
|
963
|
-
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
964
|
-
*/
|
|
965
|
-
"recaptchaKey"?: string;
|
|
966
|
-
/**
|
|
967
|
-
* @default '["submit.Submit"]'
|
|
968
|
-
*/
|
|
969
|
-
"structure"?: string;
|
|
970
|
-
"successCallback"?: (values: any) => void;
|
|
971
|
-
"theme"?: string;
|
|
972
|
-
}
|
|
973
1008
|
interface DeadStockLookup {
|
|
974
1009
|
"baseUrl"?: string;
|
|
975
1010
|
/**
|
|
@@ -993,6 +1028,28 @@ declare namespace LocalJSX {
|
|
|
993
1028
|
*/
|
|
994
1029
|
"queryString"?: string;
|
|
995
1030
|
}
|
|
1031
|
+
interface DemoForm {
|
|
1032
|
+
"baseUrl"?: string;
|
|
1033
|
+
"brandId"?: string;
|
|
1034
|
+
"errorCallback"?: (error: any) => void;
|
|
1035
|
+
"gistId"?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* @default 'en'
|
|
1038
|
+
*/
|
|
1039
|
+
"language"?: LanguageKeys;
|
|
1040
|
+
"loadingChanges"?: (loading: boolean) => void;
|
|
1041
|
+
/**
|
|
1042
|
+
* @default ''
|
|
1043
|
+
*/
|
|
1044
|
+
"queryString"?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
1047
|
+
*/
|
|
1048
|
+
"recaptchaKey"?: string;
|
|
1049
|
+
"structure"?: FormElementStructure<demoElementNames> | undefined;
|
|
1050
|
+
"successCallback"?: (data: any) => void;
|
|
1051
|
+
"theme"?: string;
|
|
1052
|
+
}
|
|
996
1053
|
interface DistributorLookup {
|
|
997
1054
|
"baseUrl"?: string;
|
|
998
1055
|
/**
|
|
@@ -1041,50 +1098,71 @@ declare namespace LocalJSX {
|
|
|
1041
1098
|
*/
|
|
1042
1099
|
"stopAnimation"?: boolean;
|
|
1043
1100
|
}
|
|
1101
|
+
interface FormCheckbox {
|
|
1102
|
+
"defaultChecked"?: boolean;
|
|
1103
|
+
"form"?: FormHook<any>;
|
|
1104
|
+
"inputPrefix"?: string;
|
|
1105
|
+
"name"?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* @default 'text'
|
|
1108
|
+
*/
|
|
1109
|
+
"type"?: string;
|
|
1110
|
+
"wrapperClass"?: string;
|
|
1111
|
+
"wrapperId"?: string;
|
|
1112
|
+
}
|
|
1044
1113
|
interface FormDialog {
|
|
1114
|
+
"closeText"?: string;
|
|
1045
1115
|
"dialogClosed"?: () => void;
|
|
1046
|
-
"
|
|
1116
|
+
"form"?: FormHook<any>;
|
|
1117
|
+
"isError"?: boolean;
|
|
1118
|
+
"message"?: string;
|
|
1119
|
+
}
|
|
1120
|
+
interface FormInput {
|
|
1121
|
+
"defaultValue"?: string;
|
|
1122
|
+
"form"?: FormHook<any>;
|
|
1123
|
+
"inputPrefix"?: string;
|
|
1124
|
+
"isLoading"?: boolean;
|
|
1125
|
+
"name"?: string;
|
|
1047
1126
|
/**
|
|
1048
|
-
* @default '
|
|
1127
|
+
* @default 'text'
|
|
1049
1128
|
*/
|
|
1050
|
-
"
|
|
1129
|
+
"type"?: string;
|
|
1130
|
+
"wrapperClass"?: string;
|
|
1131
|
+
"wrapperId"?: string;
|
|
1051
1132
|
}
|
|
1052
|
-
interface
|
|
1053
|
-
"
|
|
1054
|
-
"errorMessage"?: string;
|
|
1133
|
+
interface FormPhoneNumber {
|
|
1134
|
+
"defaultValue"?: string;
|
|
1055
1135
|
"form"?: FormHook<any>;
|
|
1056
|
-
"
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"isError"?: boolean;
|
|
1060
|
-
"isRequired"?: boolean;
|
|
1061
|
-
"label"?: string;
|
|
1136
|
+
"inputPrefix"?: string;
|
|
1137
|
+
"isLoading"?: boolean;
|
|
1138
|
+
"name"?: string;
|
|
1062
1139
|
/**
|
|
1063
|
-
* @default '
|
|
1140
|
+
* @default 'text'
|
|
1064
1141
|
*/
|
|
1065
|
-
"
|
|
1066
|
-
"
|
|
1142
|
+
"type"?: string;
|
|
1143
|
+
"validator"?: AsYouType;
|
|
1067
1144
|
"wrapperClass"?: string;
|
|
1068
1145
|
"wrapperId"?: string;
|
|
1069
1146
|
}
|
|
1070
1147
|
interface FormSelect {
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1148
|
+
/**
|
|
1149
|
+
* @default false
|
|
1150
|
+
*/
|
|
1151
|
+
"clearable"?: boolean;
|
|
1152
|
+
"defaultValue"?: string;
|
|
1153
|
+
"fetcher"?: FormSelectFetcher<any>;
|
|
1154
|
+
"fetcherKey"?: any;
|
|
1074
1155
|
"form"?: FormHook<any>;
|
|
1075
|
-
"
|
|
1076
|
-
"
|
|
1156
|
+
"isDisabled"?: boolean;
|
|
1157
|
+
"isLoading"?: boolean;
|
|
1077
1158
|
"isRequired"?: boolean;
|
|
1078
|
-
"label"?: string;
|
|
1079
1159
|
/**
|
|
1080
1160
|
* @default 'en'
|
|
1081
1161
|
*/
|
|
1082
1162
|
"language"?: LanguageKeys;
|
|
1083
1163
|
"name"?: string;
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
*/
|
|
1087
|
-
"placeholder"?: string;
|
|
1164
|
+
"resetKey"?: any;
|
|
1165
|
+
"searchable"?: boolean;
|
|
1088
1166
|
"wrapperClass"?: string;
|
|
1089
1167
|
"wrapperId"?: string;
|
|
1090
1168
|
}
|
|
@@ -1096,25 +1174,18 @@ declare namespace LocalJSX {
|
|
|
1096
1174
|
interface FormStructure {
|
|
1097
1175
|
"errorMessage"?: string;
|
|
1098
1176
|
"form"?: FormHook<any>;
|
|
1099
|
-
"formElementMapper"?: FormElementMapper<any>;
|
|
1100
|
-
"isLoading"?: boolean;
|
|
1101
|
-
/**
|
|
1102
|
-
* @default 'en'
|
|
1103
|
-
*/
|
|
1104
|
-
"language"?: LanguageKeys;
|
|
1177
|
+
"formElementMapper"?: FormElementMapper<any, any>;
|
|
1105
1178
|
/**
|
|
1106
1179
|
* @default {}
|
|
1107
1180
|
*/
|
|
1108
|
-
"
|
|
1109
|
-
|
|
1110
|
-
* @default '["submit.Submit"]'
|
|
1111
|
-
*/
|
|
1112
|
-
"structure"?: string;
|
|
1113
|
-
"theme"?: string;
|
|
1181
|
+
"formLocale"?: any;
|
|
1182
|
+
"isLoading"?: boolean;
|
|
1114
1183
|
/**
|
|
1115
|
-
* @default
|
|
1184
|
+
* @default 'en'
|
|
1116
1185
|
*/
|
|
1117
|
-
"
|
|
1186
|
+
"language"?: LanguageKeys;
|
|
1187
|
+
"structure"?: FormElementStructure<any>;
|
|
1188
|
+
"successMessage"?: string;
|
|
1118
1189
|
}
|
|
1119
1190
|
interface FormStructureError {
|
|
1120
1191
|
/**
|
|
@@ -1123,29 +1194,29 @@ declare namespace LocalJSX {
|
|
|
1123
1194
|
"language"?: LanguageKeys;
|
|
1124
1195
|
}
|
|
1125
1196
|
interface FormSubmit {
|
|
1197
|
+
"form"?: FormHook<any>;
|
|
1126
1198
|
"isLoading"?: boolean;
|
|
1199
|
+
"language"?: string;
|
|
1200
|
+
"submitTextKey"?: string;
|
|
1201
|
+
"wrapperClass"?: string;
|
|
1202
|
+
"wrapperId"?: string;
|
|
1203
|
+
}
|
|
1204
|
+
interface FormSwitch {
|
|
1205
|
+
"defaultChecked"?: boolean;
|
|
1206
|
+
"form"?: FormHook<any>;
|
|
1207
|
+
"inputPrefix"?: string;
|
|
1208
|
+
"name"?: string;
|
|
1127
1209
|
/**
|
|
1128
|
-
* @default '
|
|
1210
|
+
* @default 'text'
|
|
1129
1211
|
*/
|
|
1130
|
-
"
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
*/
|
|
1134
|
-
"params"?: FormFieldParams;
|
|
1135
|
-
"structureElement"?: StructureObject;
|
|
1212
|
+
"type"?: string;
|
|
1213
|
+
"wrapperClass"?: string;
|
|
1214
|
+
"wrapperId"?: string;
|
|
1136
1215
|
}
|
|
1137
1216
|
interface FormTextArea {
|
|
1138
|
-
"
|
|
1217
|
+
"defaultValue"?: string;
|
|
1139
1218
|
"form"?: FormHook<any>;
|
|
1140
|
-
"
|
|
1141
|
-
"inputParams"?: InputParams;
|
|
1142
|
-
"isError"?: boolean;
|
|
1143
|
-
"isRequired"?: boolean;
|
|
1144
|
-
"label"?: string;
|
|
1145
|
-
/**
|
|
1146
|
-
* @default 'en'
|
|
1147
|
-
*/
|
|
1148
|
-
"language"?: LanguageKeys;
|
|
1219
|
+
"name"?: string;
|
|
1149
1220
|
"wrapperClass"?: string;
|
|
1150
1221
|
"wrapperId"?: string;
|
|
1151
1222
|
}
|
|
@@ -1239,39 +1310,33 @@ declare namespace LocalJSX {
|
|
|
1239
1310
|
*/
|
|
1240
1311
|
"queryString"?: string;
|
|
1241
1312
|
}
|
|
1242
|
-
interface ServiceBookingForm {
|
|
1243
|
-
"baseUrl"?: string;
|
|
1244
|
-
"brandId"?: string;
|
|
1245
|
-
"errorCallback"?: (error: any) => void;
|
|
1246
|
-
/**
|
|
1247
|
-
* @default 'en'
|
|
1248
|
-
*/
|
|
1249
|
-
"language"?: LanguageKeys;
|
|
1250
|
-
"loadingChanges"?: (loading: boolean) => void;
|
|
1251
|
-
/**
|
|
1252
|
-
* @default ''
|
|
1253
|
-
*/
|
|
1254
|
-
"queryString"?: string;
|
|
1255
|
-
/**
|
|
1256
|
-
* @default '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'
|
|
1257
|
-
*/
|
|
1258
|
-
"recaptchaKey"?: string;
|
|
1259
|
-
/**
|
|
1260
|
-
* @default '["submit.Submit"]'
|
|
1261
|
-
*/
|
|
1262
|
-
"structure"?: string;
|
|
1263
|
-
"successCallback"?: (values: any) => void;
|
|
1264
|
-
"theme"?: string;
|
|
1265
|
-
}
|
|
1266
1313
|
interface ShiftAccordion {
|
|
1267
1314
|
"accordionClasses"?: string;
|
|
1268
1315
|
"accordionContentClasses"?: string;
|
|
1269
1316
|
"items"?: AccordionItem[];
|
|
1270
1317
|
}
|
|
1318
|
+
interface ShiftCheckbox {
|
|
1319
|
+
"checked"?: boolean;
|
|
1320
|
+
"componentClass"?: string;
|
|
1321
|
+
"componentId"?: string;
|
|
1322
|
+
"disabled"?: boolean;
|
|
1323
|
+
"label"?: string;
|
|
1324
|
+
"name"?: string;
|
|
1325
|
+
"onChange"?: (event: Event) => void;
|
|
1326
|
+
}
|
|
1271
1327
|
interface ShiftSlider {
|
|
1272
1328
|
"activeIndex"?: number;
|
|
1273
1329
|
"components"?: (() => Node)[];
|
|
1274
1330
|
}
|
|
1331
|
+
interface ShiftSwitch {
|
|
1332
|
+
"checked"?: boolean;
|
|
1333
|
+
"componentClass"?: string;
|
|
1334
|
+
"componentId"?: string;
|
|
1335
|
+
"disabled"?: boolean;
|
|
1336
|
+
"label"?: string;
|
|
1337
|
+
"name"?: string;
|
|
1338
|
+
"onChange"?: (event: Event) => void;
|
|
1339
|
+
}
|
|
1275
1340
|
interface ShiftTabContent {
|
|
1276
1341
|
"activeComponent"?: string;
|
|
1277
1342
|
"components"?: { [key: string]: Node };
|
|
@@ -1417,6 +1482,18 @@ declare namespace LocalJSX {
|
|
|
1417
1482
|
*/
|
|
1418
1483
|
"queryString"?: string;
|
|
1419
1484
|
}
|
|
1485
|
+
interface VehicleQuotationForm {
|
|
1486
|
+
"errorCallback"?: (error: any) => void;
|
|
1487
|
+
"gistId"?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* @default 'en'
|
|
1490
|
+
*/
|
|
1491
|
+
"language"?: LanguageKeys;
|
|
1492
|
+
"loadingChanges"?: (loading: boolean) => void;
|
|
1493
|
+
"structure"?: FormElementStructure<vehicleQuotationElementNames> | undefined;
|
|
1494
|
+
"structureUrl"?: string;
|
|
1495
|
+
"successCallback"?: (data: any) => void;
|
|
1496
|
+
}
|
|
1420
1497
|
interface VehicleServiceHistory {
|
|
1421
1498
|
"baseUrl"?: string;
|
|
1422
1499
|
/**
|
|
@@ -1591,25 +1668,29 @@ declare namespace LocalJSX {
|
|
|
1591
1668
|
"verbose"?: boolean;
|
|
1592
1669
|
}
|
|
1593
1670
|
interface IntrinsicElements {
|
|
1594
|
-
"contact-us-form": ContactUsForm;
|
|
1595
1671
|
"dead-stock-lookup": DeadStockLookup;
|
|
1672
|
+
"demo-form": DemoForm;
|
|
1596
1673
|
"distributor-lookup": DistributorLookup;
|
|
1597
1674
|
"flexible-container": FlexibleContainer;
|
|
1675
|
+
"form-checkbox": FormCheckbox;
|
|
1598
1676
|
"form-dialog": FormDialog;
|
|
1599
1677
|
"form-input": FormInput;
|
|
1678
|
+
"form-phone-number": FormPhoneNumber;
|
|
1600
1679
|
"form-select": FormSelect;
|
|
1601
1680
|
"form-shadow-input": FormShadowInput;
|
|
1602
1681
|
"form-structure": FormStructure;
|
|
1603
1682
|
"form-structure-error": FormStructureError;
|
|
1604
1683
|
"form-submit": FormSubmit;
|
|
1684
|
+
"form-switch": FormSwitch;
|
|
1605
1685
|
"form-text-area": FormTextArea;
|
|
1606
1686
|
"information-table": InformationTable;
|
|
1607
1687
|
"loading-spinner": LoadingSpinner;
|
|
1608
1688
|
"manufacturer-lookup": ManufacturerLookup;
|
|
1609
1689
|
"part-lookup": PartLookup;
|
|
1610
|
-
"service-booking-form": ServiceBookingForm;
|
|
1611
1690
|
"shift-accordion": ShiftAccordion;
|
|
1691
|
+
"shift-checkbox": ShiftCheckbox;
|
|
1612
1692
|
"shift-slider": ShiftSlider;
|
|
1693
|
+
"shift-switch": ShiftSwitch;
|
|
1613
1694
|
"shift-tab-content": ShiftTabContent;
|
|
1614
1695
|
"shift-tabs": ShiftTabs;
|
|
1615
1696
|
"vehicle-accessories": VehicleAccessories;
|
|
@@ -1617,6 +1698,7 @@ declare namespace LocalJSX {
|
|
|
1617
1698
|
"vehicle-item-claim-form": VehicleItemClaimForm;
|
|
1618
1699
|
"vehicle-lookup": VehicleLookup;
|
|
1619
1700
|
"vehicle-paint-thickness": VehiclePaintThickness;
|
|
1701
|
+
"vehicle-quotation-form": VehicleQuotationForm;
|
|
1620
1702
|
"vehicle-service-history": VehicleServiceHistory;
|
|
1621
1703
|
"vehicle-specification": VehicleSpecification;
|
|
1622
1704
|
"vehicle-warranty-details": VehicleWarrantyDetails;
|
|
@@ -1627,25 +1709,29 @@ export { LocalJSX as JSX };
|
|
|
1627
1709
|
declare module "@stencil/core" {
|
|
1628
1710
|
export namespace JSX {
|
|
1629
1711
|
interface IntrinsicElements {
|
|
1630
|
-
"contact-us-form": LocalJSX.ContactUsForm & JSXBase.HTMLAttributes<HTMLContactUsFormElement>;
|
|
1631
1712
|
"dead-stock-lookup": LocalJSX.DeadStockLookup & JSXBase.HTMLAttributes<HTMLDeadStockLookupElement>;
|
|
1713
|
+
"demo-form": LocalJSX.DemoForm & JSXBase.HTMLAttributes<HTMLDemoFormElement>;
|
|
1632
1714
|
"distributor-lookup": LocalJSX.DistributorLookup & JSXBase.HTMLAttributes<HTMLDistributorLookupElement>;
|
|
1633
1715
|
"flexible-container": LocalJSX.FlexibleContainer & JSXBase.HTMLAttributes<HTMLFlexibleContainerElement>;
|
|
1716
|
+
"form-checkbox": LocalJSX.FormCheckbox & JSXBase.HTMLAttributes<HTMLFormCheckboxElement>;
|
|
1634
1717
|
"form-dialog": LocalJSX.FormDialog & JSXBase.HTMLAttributes<HTMLFormDialogElement>;
|
|
1635
1718
|
"form-input": LocalJSX.FormInput & JSXBase.HTMLAttributes<HTMLFormInputElement>;
|
|
1719
|
+
"form-phone-number": LocalJSX.FormPhoneNumber & JSXBase.HTMLAttributes<HTMLFormPhoneNumberElement>;
|
|
1636
1720
|
"form-select": LocalJSX.FormSelect & JSXBase.HTMLAttributes<HTMLFormSelectElement>;
|
|
1637
1721
|
"form-shadow-input": LocalJSX.FormShadowInput & JSXBase.HTMLAttributes<HTMLFormShadowInputElement>;
|
|
1638
1722
|
"form-structure": LocalJSX.FormStructure & JSXBase.HTMLAttributes<HTMLFormStructureElement>;
|
|
1639
1723
|
"form-structure-error": LocalJSX.FormStructureError & JSXBase.HTMLAttributes<HTMLFormStructureErrorElement>;
|
|
1640
1724
|
"form-submit": LocalJSX.FormSubmit & JSXBase.HTMLAttributes<HTMLFormSubmitElement>;
|
|
1725
|
+
"form-switch": LocalJSX.FormSwitch & JSXBase.HTMLAttributes<HTMLFormSwitchElement>;
|
|
1641
1726
|
"form-text-area": LocalJSX.FormTextArea & JSXBase.HTMLAttributes<HTMLFormTextAreaElement>;
|
|
1642
1727
|
"information-table": LocalJSX.InformationTable & JSXBase.HTMLAttributes<HTMLInformationTableElement>;
|
|
1643
1728
|
"loading-spinner": LocalJSX.LoadingSpinner & JSXBase.HTMLAttributes<HTMLLoadingSpinnerElement>;
|
|
1644
1729
|
"manufacturer-lookup": LocalJSX.ManufacturerLookup & JSXBase.HTMLAttributes<HTMLManufacturerLookupElement>;
|
|
1645
1730
|
"part-lookup": LocalJSX.PartLookup & JSXBase.HTMLAttributes<HTMLPartLookupElement>;
|
|
1646
|
-
"service-booking-form": LocalJSX.ServiceBookingForm & JSXBase.HTMLAttributes<HTMLServiceBookingFormElement>;
|
|
1647
1731
|
"shift-accordion": LocalJSX.ShiftAccordion & JSXBase.HTMLAttributes<HTMLShiftAccordionElement>;
|
|
1732
|
+
"shift-checkbox": LocalJSX.ShiftCheckbox & JSXBase.HTMLAttributes<HTMLShiftCheckboxElement>;
|
|
1648
1733
|
"shift-slider": LocalJSX.ShiftSlider & JSXBase.HTMLAttributes<HTMLShiftSliderElement>;
|
|
1734
|
+
"shift-switch": LocalJSX.ShiftSwitch & JSXBase.HTMLAttributes<HTMLShiftSwitchElement>;
|
|
1649
1735
|
"shift-tab-content": LocalJSX.ShiftTabContent & JSXBase.HTMLAttributes<HTMLShiftTabContentElement>;
|
|
1650
1736
|
"shift-tabs": LocalJSX.ShiftTabs & JSXBase.HTMLAttributes<HTMLShiftTabsElement>;
|
|
1651
1737
|
"vehicle-accessories": LocalJSX.VehicleAccessories & JSXBase.HTMLAttributes<HTMLVehicleAccessoriesElement>;
|
|
@@ -1653,6 +1739,7 @@ declare module "@stencil/core" {
|
|
|
1653
1739
|
"vehicle-item-claim-form": LocalJSX.VehicleItemClaimForm & JSXBase.HTMLAttributes<HTMLVehicleItemClaimFormElement>;
|
|
1654
1740
|
"vehicle-lookup": LocalJSX.VehicleLookup & JSXBase.HTMLAttributes<HTMLVehicleLookupElement>;
|
|
1655
1741
|
"vehicle-paint-thickness": LocalJSX.VehiclePaintThickness & JSXBase.HTMLAttributes<HTMLVehiclePaintThicknessElement>;
|
|
1742
|
+
"vehicle-quotation-form": LocalJSX.VehicleQuotationForm & JSXBase.HTMLAttributes<HTMLVehicleQuotationFormElement>;
|
|
1656
1743
|
"vehicle-service-history": LocalJSX.VehicleServiceHistory & JSXBase.HTMLAttributes<HTMLVehicleServiceHistoryElement>;
|
|
1657
1744
|
"vehicle-specification": LocalJSX.VehicleSpecification & JSXBase.HTMLAttributes<HTMLVehicleSpecificationElement>;
|
|
1658
1745
|
"vehicle-warranty-details": LocalJSX.VehicleWarrantyDetails & JSXBase.HTMLAttributes<HTMLVehicleWarrantyDetailsElement>;
|