adp-web-components 0.1.63 → 0.1.65
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/calendar-days-icon-C2lFWgOC.js +21 -0
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +4 -4
- package/dist/cjs/flexible-container.cjs.entry.js +1 -1
- package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/form-dialog_8.cjs.entry.js +82 -12
- package/dist/cjs/form-input-C3gQ_Noj.js +30 -0
- package/dist/cjs/form-input_4.cjs.entry.js +5 -5
- package/dist/cjs/form-switch.cjs.entry.js +2 -2
- package/dist/cjs/form-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/general-inquiry-form.cjs.entry.js +5 -4
- package/dist/cjs/{get-language-from-url-CfLHbGsq.js → get-language-from-url-DSzX4HQt.js} +28 -2
- package/dist/cjs/{get-local-language-CG40OoLK.js → get-local-language-Dg4NoIS3.js} +1 -1
- package/dist/cjs/information-table.cjs.entry.js +1 -1
- package/dist/cjs/{loader-icon-CoLnzFJQ.js → loader-icon-CuX6MMCz.js} +2 -2
- 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 +3 -3
- package/dist/cjs/part-lookup.cjs.entry.js +2 -2
- package/dist/cjs/service-booking-form.cjs.entry.js +5 -4
- 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 +2 -2
- package/dist/cjs/ssc-lookup-form.cjs.entry.js +5 -4
- package/dist/cjs/{state-object-C1OC85SG.js → state-object-CF8B11jN.js} +3 -14
- package/dist/cjs/test-drive-form.cjs.entry.js +5 -4
- package/dist/cjs/{type-NRLY9OsL.js → type-CFTS0FUJ.js} +1 -1
- package/dist/cjs/vehicle-accessories_7.cjs.entry.js +67 -39
- package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
- package/dist/cjs/vehicle-quotation-form.cjs.entry.js +3 -3
- 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-input.js +1 -1
- package/dist/collection/components/form-elements/form-inputs.css +1 -1
- package/dist/collection/components/form-elements/form-phone-number.js +1 -1
- package/dist/collection/components/form-elements/form-picker-input.js +74 -4
- package/dist/collection/components/form-elements/form-select.js +1 -1
- package/dist/collection/components/form-elements/form-submit.js +1 -1
- package/dist/collection/components/form-elements/form-switch.js +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +1 -1
- package/dist/collection/components/form-elements/form-vin-input.js +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
- 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/part-lookup.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
- package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
- 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-paint-thickness.js +54 -23
- 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-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 +28 -2
- package/dist/collection/features/form-hook/inputs/form-input.js +11 -5
- package/dist/collection/locales/vehicleLookup/paintThickness/type.js +1 -1
- package/dist/collection/templates/vehicle-lookup/mock-data.js +151 -0
- 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-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-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-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-B19X_CF1.js +5 -0
- package/dist/components/p-B2a8uX7T.js +5 -0
- package/dist/components/{p-K0JAT1Gz.js → p-B57WakIM.js} +1 -1
- package/dist/components/p-B7jki48I.js +5 -0
- package/dist/components/p-BHy4oEqB.js +5 -0
- package/dist/components/{p-D3aoGLFX.js → p-BIC3d6Ov.js} +1 -1
- package/dist/components/{p-CrUnNyzK.js → p-BNyznUe-.js} +1 -1
- package/dist/components/{p-Cjj1G4D2.js → p-BYljzn0U.js} +1 -1
- package/dist/components/{p-aJdysKHK.js → p-Berl3lBf.js} +1 -1
- package/dist/components/p-BkeYwUEq.js +5 -0
- package/dist/components/{p-BXt8N0qj.js → p-BoWlZcMf.js} +1 -1
- package/dist/components/{p-DTYO6O3a.js → p-BusOb8CS.js} +1 -1
- package/dist/components/{p-Bgg84Jga.js → p-BvoqX-UE.js} +1 -1
- package/dist/components/p-CDTvzwTY.js +5 -0
- package/dist/components/{p-Cz2GJXgI.js → p-CER4Pheq.js} +1 -1
- package/dist/components/p-CQPuGDXK.js +5 -0
- package/dist/components/{p-clgmN8l6.js → p-CZR_dhss.js} +1 -1
- package/dist/components/{p-DRb1hBHP.js → p-CltIjIMm.js} +1 -1
- package/dist/components/p-Cuetkv8o.js +5 -0
- package/dist/components/{p-DnkuFboF.js → p-CySGW7iY.js} +1 -1
- package/dist/components/p-D0H_8SPq.js +5 -0
- package/dist/components/{p-D0XGI6mk.js → p-DB5-A386.js} +1 -1
- package/dist/components/{p-C6hyNnHw.js → p-DQwW1E6K.js} +1 -1
- package/dist/components/p-DhBzYkFu.js +5 -0
- package/dist/components/{p-5agmhwm7.js → p-Dj_pLI-h.js} +1 -1
- package/dist/components/{p-D39ljWpy.js → p-DpbkJnGN.js} +1 -1
- package/dist/components/{p-36-IaSKm.js → p-DvetWVua.js} +1 -1
- package/dist/components/{p-D4rNtEH9.js → p-DytpC46q.js} +1 -1
- package/dist/components/p-IEw0MkDz.js +5 -0
- package/dist/components/{p-BPrc_-Uw.js → p-KyfVRsK2.js} +1 -1
- package/dist/components/{p-BkRUZTAo.js → p-LW3xCG8Q.js} +1 -1
- package/dist/components/p-Qtg6lXyy.js +5 -0
- package/dist/components/p-ZVjx4uJn.js +5 -0
- package/dist/components/{p-DpfBI1eP.js → p-iP7VpsnR.js} +1 -1
- package/dist/components/{p-DBPcMct2.js → p-s2oTgMeK.js} +1 -1
- package/dist/components/p-yFO55rJh.js +5 -0
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-booking-form.js +1 -1
- package/dist/components/shift-accordion.js +1 -1
- package/dist/components/shift-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/calendar-days-icon-Dz291Fau.js +19 -0
- package/dist/esm/dead-stock-lookup_3.entry.js +4 -4
- package/dist/esm/flexible-container.entry.js +1 -1
- package/dist/esm/form-checkbox.entry.js +2 -2
- package/dist/esm/form-date-picker.entry.js +1 -1
- package/dist/esm/form-dialog_8.entry.js +82 -12
- package/dist/esm/form-input-C5O2h7ti.js +28 -0
- package/dist/esm/form-input_4.entry.js +5 -5
- package/dist/esm/form-switch.entry.js +2 -2
- package/dist/esm/form-time-picker.entry.js +1 -1
- package/dist/esm/general-inquiry-form.entry.js +5 -4
- package/dist/esm/{get-language-from-url-DS2wH9wf.js → get-language-from-url-WEiw5juk.js} +28 -2
- package/dist/esm/{get-local-language-VdAZpG-2.js → get-local-language-0eL9OdiD.js} +1 -1
- package/dist/esm/information-table.entry.js +1 -1
- package/dist/esm/{loader-icon-QHxzLM80.js → loader-icon-BHdGKquc.js} +2 -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 +3 -3
- package/dist/esm/part-lookup.entry.js +2 -2
- package/dist/esm/service-booking-form.entry.js +5 -4
- 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 +2 -2
- package/dist/esm/ssc-lookup-form.entry.js +5 -4
- package/dist/esm/{state-object-B5sDOkr3.js → state-object-CAFQi04C.js} +2 -13
- package/dist/esm/test-drive-form.entry.js +5 -4
- package/dist/esm/{type-DjjDy8yE.js → type-DwvmWsdz.js} +1 -1
- package/dist/esm/vehicle-accessories_7.entry.js +67 -39
- package/dist/esm/vehicle-lookup.entry.js +3 -3
- package/dist/esm/vehicle-quotation-form.entry.js +3 -3
- package/dist/locales/vehicleLookup/paintThickness/ar.json +3 -1
- package/dist/locales/vehicleLookup/paintThickness/en.json +3 -1
- package/dist/locales/vehicleLookup/paintThickness/ku.json +3 -1
- package/dist/locales/vehicleLookup/paintThickness/ru.json +3 -1
- package/dist/locales/vehicleLookup/paintThickness/type.ts +1 -1
- package/dist/shift-components/{p-bc928bcf.entry.js → p-0134a745.entry.js} +1 -1
- package/dist/shift-components/p-022893c3.entry.js +5 -0
- package/dist/shift-components/{p-aa5fbfe8.entry.js → p-0230eeec.entry.js} +1 -1
- package/dist/shift-components/p-2098f537.entry.js +5 -0
- package/dist/shift-components/p-2e702500.entry.js +5 -0
- package/dist/shift-components/p-40805d99.entry.js +5 -0
- package/dist/shift-components/{p-aab59b34.entry.js → p-441e7852.entry.js} +1 -1
- package/dist/shift-components/p-63030db9.entry.js +5 -0
- package/dist/shift-components/{p-7a9dc564.entry.js → p-66b62d67.entry.js} +1 -1
- package/dist/shift-components/{p-69a9617b.entry.js → p-90163080.entry.js} +1 -1
- package/dist/shift-components/p-90ba2531.entry.js +5 -0
- package/dist/shift-components/{p-6035ad7f.entry.js → p-9dff0448.entry.js} +1 -1
- package/dist/shift-components/p-Birh6Z1w.js +5 -0
- package/dist/shift-components/p-Bp-HDfJB.js +5 -0
- package/dist/shift-components/p-Cb09ao5s.js +5 -0
- package/dist/shift-components/{p-CYuX6By7.js → p-DOFP2TpT.js} +1 -1
- package/dist/shift-components/p-DucILGwe.js +5 -0
- package/dist/shift-components/{p-D43Y2KJZ.js → p-DwmDD4Xa.js} +1 -1
- package/dist/shift-components/p-a1fcb73b.entry.js +5 -0
- package/dist/shift-components/{p-3c07dae0.entry.js → p-a68d74aa.entry.js} +1 -1
- package/dist/shift-components/{p-caed63eb.entry.js → p-b7ac407f.entry.js} +1 -1
- package/dist/shift-components/{p-35e4059b.entry.js → p-d1eb421f.entry.js} +1 -1
- package/dist/shift-components/p-d4f055ed.entry.js +5 -0
- package/dist/shift-components/p-e688b7ae.entry.js +5 -0
- package/dist/shift-components/{p-4ca85ba8.entry.js → p-f14b2f49.entry.js} +1 -1
- package/dist/shift-components/{p-82d7784e.entry.js → p-f6d08443.entry.js} +1 -1
- package/dist/shift-components/p-fbde0055.entry.js +5 -0
- package/dist/shift-components/p-no7IC1jn.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/form-elements/form-picker-input.d.ts +5 -0
- package/dist/types/components/vehicle-lookup/vehicle-paint-thickness.d.ts +4 -0
- package/dist/types/features/form-hook/form-hook.d.ts +3 -5
- package/dist/types/features/form-hook/inputs/form-input.d.ts +3 -0
- package/dist/types/features/form-hook/interface.d.ts +3 -0
- package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +6 -2
- package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +6 -2
- package/package.json +1 -1
- package/dist/cjs/form-input-D5dWFwoN.js +0 -24
- package/dist/components/p-78hsxToT.js +0 -5
- package/dist/components/p-A7iMsEel.js +0 -5
- package/dist/components/p-B1K4fRUA.js +0 -5
- package/dist/components/p-C7H6IjZ0.js +0 -5
- package/dist/components/p-D205nHLN.js +0 -5
- package/dist/components/p-DZ29hUTN.js +0 -5
- package/dist/components/p-Di7kQptP.js +0 -5
- package/dist/components/p-DppYpL5T.js +0 -5
- package/dist/components/p-DsFbXACB.js +0 -5
- package/dist/components/p-DzJYZ-yg.js +0 -5
- package/dist/components/p-e7OMZxZr.js +0 -5
- package/dist/components/p-rAxWdX54.js +0 -5
- package/dist/components/p-v09Fe7HV.js +0 -5
- package/dist/esm/form-input-qOEP7NyE.js +0 -22
- package/dist/shift-components/p-1eb4562c.entry.js +0 -5
- package/dist/shift-components/p-2b8d01e8.entry.js +0 -5
- package/dist/shift-components/p-3ab64036.entry.js +0 -5
- package/dist/shift-components/p-59296309.entry.js +0 -5
- package/dist/shift-components/p-5VF5nWjO.js +0 -5
- package/dist/shift-components/p-5d6ca023.entry.js +0 -5
- package/dist/shift-components/p-5e1772f7.entry.js +0 -5
- package/dist/shift-components/p-6ab35401.entry.js +0 -5
- package/dist/shift-components/p-82cc9e0d.entry.js +0 -5
- package/dist/shift-components/p-BqVN5MXa.js +0 -5
- package/dist/shift-components/p-BtuVI_PX.js +0 -5
- package/dist/shift-components/p-DgUKb8cO.js +0 -5
- package/dist/shift-components/p-bac28415.entry.js +0 -5
- package/dist/shift-components/p-e3cd1038.entry.js +0 -5
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
var index = require('./index-CmK48vN3.js');
|
|
8
8
|
require('./types-B3WMBBhs.js');
|
|
9
9
|
var index$1 = require('./index-D5c513Xn.js');
|
|
10
|
-
var loaderIcon = require('./loader-icon-
|
|
10
|
+
var loaderIcon = require('./loader-icon-CuX6MMCz.js');
|
|
11
11
|
var cn = require('./cn-BHnqYtun.js');
|
|
12
|
+
var calendarDaysIcon = require('./calendar-days-icon-C2lFWgOC.js');
|
|
12
13
|
var decodeTimeOffset = require('./decode-time-offset-DqzP0mck.js');
|
|
13
14
|
var getNestedValue = require('./get-nested-value-lW6t7V4I.js');
|
|
14
15
|
|
|
@@ -60,18 +61,6 @@ const VehicleImageViewer = ({ form }) => {
|
|
|
60
61
|
index.h("img", { alt: "vehicle image", part: "vehicle-image", src: imageSrcBase64, style: { 'border-radius': '6px', 'transition': 'opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);', 'opacity': isLoading ? '0' : '1' } }))));
|
|
61
62
|
};
|
|
62
63
|
|
|
63
|
-
const CalendarDaysIcon = props => (index.h("svg", Object.assign({ fill: "none" }, props, { "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", xmlns: "http://www.w3.org/2000/svg" }),
|
|
64
|
-
index.h("path", { d: "M8 2v4" }),
|
|
65
|
-
index.h("path", { d: "M16 2v4" }),
|
|
66
|
-
index.h("rect", { width: "18", height: "18", x: "3", y: "4", rx: "2" }),
|
|
67
|
-
index.h("path", { d: "M3 10h18" }),
|
|
68
|
-
index.h("path", { d: "M8 14h.01" }),
|
|
69
|
-
index.h("path", { d: "M12 14h.01" }),
|
|
70
|
-
index.h("path", { d: "M16 14h.01" }),
|
|
71
|
-
index.h("path", { d: "M8 18h.01" }),
|
|
72
|
-
index.h("path", { d: "M12 18h.01" }),
|
|
73
|
-
index.h("path", { d: "M16 18h.01" })));
|
|
74
|
-
|
|
75
64
|
const populateItems = (data, setup, hasMeta) => {
|
|
76
65
|
const options = [];
|
|
77
66
|
const baseOptions = getNestedValue.getNestedValue(data, setup.items);
|
|
@@ -170,7 +159,7 @@ const getFormMappers = (stateObject, extraMappers = {}) => (Object.assign({ subm
|
|
|
170
159
|
return options;
|
|
171
160
|
};
|
|
172
161
|
return index.h("form-select", Object.assign({}, props, { clearable: true, searchable: true, fetcher: fetcher, language: language }));
|
|
173
|
-
}, date: ({ props }) => index.h("form-picker-input", Object.assign({ type: "date" }, props, { icon: index.h(CalendarDaysIcon, null) })), time: ({ language, props }) => {
|
|
162
|
+
}, date: ({ props }) => index.h("form-picker-input", Object.assign({ type: "date" }, props, { icon: index.h(calendarDaysIcon.CalendarDaysIcon, null) })), time: ({ language, props }) => {
|
|
174
163
|
const fetcher = async () => {
|
|
175
164
|
const options = [];
|
|
176
165
|
if (Array.isArray(props.span) && Array.isArray(props.min) && Array.isArray(props.max) && props.format) {
|
|
@@ -5,15 +5,16 @@
|
|
|
5
5
|
'use strict';
|
|
6
6
|
|
|
7
7
|
var index = require('./index-CmK48vN3.js');
|
|
8
|
-
var loaderIcon = require('./loader-icon-
|
|
8
|
+
var loaderIcon = require('./loader-icon-CuX6MMCz.js');
|
|
9
9
|
var cn = require('./cn-BHnqYtun.js');
|
|
10
10
|
var validation$1 = require('./validation-DEdJb-KL.js');
|
|
11
11
|
var types = require('./types-B3WMBBhs.js');
|
|
12
|
-
var getLanguageFromUrl = require('./get-language-from-url-
|
|
13
|
-
var stateObject$1 = require('./state-object-
|
|
14
|
-
require('./get-local-language-
|
|
12
|
+
var getLanguageFromUrl = require('./get-language-from-url-DSzX4HQt.js');
|
|
13
|
+
var stateObject$1 = require('./state-object-CF8B11jN.js');
|
|
14
|
+
require('./get-local-language-Dg4NoIS3.js');
|
|
15
15
|
require('./index-D5c513Xn.js');
|
|
16
16
|
require('./validate-vin-CJDIXpJO.js');
|
|
17
|
+
require('./calendar-days-icon-C2lFWgOC.js');
|
|
17
18
|
require('./decode-time-offset-DqzP0mck.js');
|
|
18
19
|
require('./get-nested-value-lW6t7V4I.js');
|
|
19
20
|
|
|
@@ -30,7 +30,7 @@ const accessoriesSchema = types.yupTypeMapper(['vehicleAccessories', 'noData', '
|
|
|
30
30
|
|
|
31
31
|
const specificationSchema = types.yupTypeMapper(['vehicleSpecification', 'noData', 'model', 'variant', 'katashiki', 'modelYear', 'sfx', 'productionDate']);
|
|
32
32
|
|
|
33
|
-
const paintThicknessSchema = types.yupTypeMapper(['paintThickness', 'noData', '
|
|
33
|
+
const paintThicknessSchema = types.yupTypeMapper(['paintThickness', 'noData', 'panel', 'position', 'left', 'right', 'inspectionDate', 'noImageGroups', 'expand']);
|
|
34
34
|
|
|
35
35
|
const ServiceHistorySchema = types.yupTypeMapper([
|
|
36
36
|
'serviceHistory',
|