adp-web-components 0.0.64 → 0.0.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/package.json +1 -1
- package/dist/cjs/app-globals-4aa8f46f.js +0 -46
- package/dist/cjs/cn-f559f9e5.js +0 -2588
- package/dist/cjs/contact-us-form.cjs.entry.js +0 -209
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +0 -445
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1170
- package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -156
- package/dist/cjs/form-dialog_8.cjs.entry.js +0 -503
- package/dist/cjs/get-local-language-927b0db0.js +0 -2381
- package/dist/cjs/index-603d8f32.js +0 -1610
- package/dist/cjs/index.cjs.js +0 -6
- package/dist/cjs/loader-baf2418b.js +0 -9
- package/dist/cjs/loader.cjs.js +0 -19
- package/dist/cjs/loading-spinner.cjs.entry.js +0 -27
- package/dist/cjs/part-lookup.cjs.entry.js +0 -129
- package/dist/cjs/service-booking-form.cjs.entry.js +0 -209
- package/dist/cjs/shift-components.cjs.js +0 -29
- package/dist/cjs/urls-9077b31c.js +0 -4874
- package/dist/cjs/vehicle-lookup.cjs.entry.js +0 -202
- package/dist/collection/collection-manifest.json +0 -35
- package/dist/collection/components/components/loading-spinner.css +0 -1
- package/dist/collection/components/components/loading-spinner.js +0 -47
- package/dist/collection/components/form-elements/form-dialog.css +0 -1
- package/dist/collection/components/form-elements/form-dialog.js +0 -137
- package/dist/collection/components/form-elements/form-input.css +0 -1
- package/dist/collection/components/form-elements/form-input.js +0 -323
- package/dist/collection/components/form-elements/form-select.css +0 -1
- package/dist/collection/components/form-elements/form-select.js +0 -400
- package/dist/collection/components/form-elements/form-shadow-input.css +0 -1
- package/dist/collection/components/form-elements/form-shadow-input.js +0 -100
- package/dist/collection/components/form-elements/form-structure-error.css +0 -1
- package/dist/collection/components/form-elements/form-structure-error.js +0 -72
- package/dist/collection/components/form-elements/form-structure.css +0 -1
- package/dist/collection/components/form-elements/form-structure.js +0 -269
- package/dist/collection/components/form-elements/form-submit.css +0 -1
- package/dist/collection/components/form-elements/form-submit.js +0 -140
- package/dist/collection/components/form-elements/form-text-area.css +0 -1
- package/dist/collection/components/form-elements/form-text-area.js +0 -264
- package/dist/collection/components/forms/contact-us/element-mapper.js +0 -87
- 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 -280
- package/dist/collection/components/forms/service-booking/element-mapper.js +0 -87
- package/dist/collection/components/forms/service-booking/form.css +0 -1
- package/dist/collection/components/forms/service-booking/validations.js +0 -19
- package/dist/collection/components/forms/service-booking-form.js +0 -280
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +0 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +0 -405
- package/dist/collection/components/part-lookup/distributor-lookup.css +0 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +0 -470
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +0 -1
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +0 -468
- package/dist/collection/components/part-lookup/part-lookup.css +0 -1
- package/dist/collection/components/part-lookup/part-lookup.js +0 -376
- package/dist/collection/components/vehicle-lookup/assets/cancelled.svg +0 -8
- package/dist/collection/components/vehicle-lookup/assets/check.svg +0 -4
- package/dist/collection/components/vehicle-lookup/assets/expired.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/loader.svg +0 -11
- package/dist/collection/components/vehicle-lookup/assets/pending.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/processed.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/x-mark.svg +0 -4
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +0 -10
- package/dist/collection/components/vehicle-lookup/components/Loading.js +0 -10
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -16
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +0 -11
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -625
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -373
- package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
- package/dist/collection/components/vehicle-lookup/paint-thickness.js +0 -410
- package/dist/collection/components/vehicle-lookup/service-history.css +0 -1
- package/dist/collection/components/vehicle-lookup/service-history.js +0 -393
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +0 -414
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +0 -405
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +0 -405
- package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.js +0 -780
- package/dist/collection/global/api/partInformation.js +0 -32
- package/dist/collection/global/api/urls.js +0 -6
- package/dist/collection/global/api/vehicleInformation.js +0 -48
- package/dist/collection/global/assets/eye.svg +0 -5
- package/dist/collection/global/assets/loader.svg +0 -11
- package/dist/collection/global/assets/white-loader.svg +0 -11
- package/dist/collection/global/lib/cn.js +0 -9
- package/dist/collection/global/lib/form-hook.js +0 -162
- package/dist/collection/global/lib/general.js +0 -9
- package/dist/collection/global/lib/get-local-language.js +0 -20
- package/dist/collection/global/lib/image-expansion.js +0 -69
- package/dist/collection/global/lib/middleware.js +0 -39
- package/dist/collection/global/lib/recaptcha.js +0 -25
- package/dist/collection/global/lib/utils.js +0 -7
- package/dist/collection/global/lib/validate-form-structure.js +0 -47
- package/dist/collection/global/lib/validate-vin.js +0 -62
- package/dist/collection/global/types/components.js +0 -1
- package/dist/collection/global/types/forms.js +0 -1
- package/dist/collection/global/types/general.js +0 -1
- package/dist/collection/global/types/locales/error-schema.js +0 -17
- package/dist/collection/global/types/locales/forms/contact-us-schema.js +0 -24
- package/dist/collection/global/types/locales/forms/index.js +0 -11
- package/dist/collection/global/types/locales/general.js +0 -11
- package/dist/collection/global/types/locales/index.js +0 -33
- package/dist/collection/global/types/locales/inquiryTypes.js +0 -15
- package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +0 -10
- package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +0 -21
- package/dist/collection/global/types/locales/part-lookup/index.js +0 -13
- package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +0 -22
- package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +0 -13
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +0 -21
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +0 -19
- package/dist/collection/global/types/locales/vehicle-lookup/index.js +0 -21
- package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +0 -14
- package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +0 -15
- package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +0 -15
- package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +0 -23
- package/dist/collection/global/types/part-information.js +0 -1
- package/dist/collection/global/types/vehicle-information.js +0 -5
- package/dist/collection/index.js +0 -1
- package/dist/collection/templates/part-lookup/mock-data.js +0 -199
- package/dist/collection/templates/vehicle-lookup/mock-data.js +0 -4165
- package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +0 -3000
- package/dist/components/contact-us-form.d.ts +0 -11
- package/dist/components/contact-us-form.js +0 -5
- package/dist/components/dead-stock-lookup.d.ts +0 -11
- package/dist/components/dead-stock-lookup.js +0 -5
- package/dist/components/distributor-lookup.d.ts +0 -11
- package/dist/components/distributor-lookup.js +0 -5
- package/dist/components/dynamic-claim.d.ts +0 -11
- package/dist/components/dynamic-claim.js +0 -5
- package/dist/components/dynamic-redeem.d.ts +0 -11
- package/dist/components/dynamic-redeem.js +0 -5
- package/dist/components/form-dialog.d.ts +0 -11
- package/dist/components/form-dialog.js +0 -5
- package/dist/components/form-input.d.ts +0 -11
- package/dist/components/form-input.js +0 -5
- package/dist/components/form-select.d.ts +0 -11
- package/dist/components/form-select.js +0 -5
- package/dist/components/form-shadow-input.d.ts +0 -11
- package/dist/components/form-shadow-input.js +0 -5
- package/dist/components/form-structure-error.d.ts +0 -11
- package/dist/components/form-structure-error.js +0 -5
- package/dist/components/form-structure.d.ts +0 -11
- package/dist/components/form-structure.js +0 -5
- package/dist/components/form-submit.d.ts +0 -11
- package/dist/components/form-submit.js +0 -5
- package/dist/components/form-text-area.d.ts +0 -11
- package/dist/components/form-text-area.js +0 -5
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -5
- package/dist/components/loading-spinner.d.ts +0 -11
- package/dist/components/loading-spinner.js +0 -5
- package/dist/components/manufacturer-lookup.d.ts +0 -11
- package/dist/components/manufacturer-lookup.js +0 -5
- package/dist/components/p-01a60c8e.js +0 -5
- package/dist/components/p-03ca6b85.js +0 -5
- package/dist/components/p-11e905aa.js +0 -5
- package/dist/components/p-2e7ae444.js +0 -5
- package/dist/components/p-44f7385b.js +0 -5
- package/dist/components/p-4bdd257d.js +0 -5
- package/dist/components/p-5b5994b7.js +0 -5
- package/dist/components/p-694357f2.js +0 -5
- package/dist/components/p-704d0d50.js +0 -5
- package/dist/components/p-75476014.js +0 -5
- package/dist/components/p-769837da.js +0 -5
- package/dist/components/p-795bd4fb.js +0 -5
- package/dist/components/p-7d44e969.js +0 -5
- package/dist/components/p-822360ad.js +0 -5
- package/dist/components/p-8a0c9244.js +0 -5
- package/dist/components/p-8b1d90d7.js +0 -5
- package/dist/components/p-91e526bd.js +0 -5
- package/dist/components/p-932ff922.js +0 -5
- package/dist/components/p-98d9e7ab.js +0 -5
- package/dist/components/p-9a1668ef.js +0 -5
- package/dist/components/p-a21e2e2e.js +0 -5
- package/dist/components/p-b8bb9e86.js +0 -5
- package/dist/components/p-c08fb055.js +0 -5
- package/dist/components/p-d5ff7544.js +0 -5
- package/dist/components/p-d6dd8770.js +0 -5
- package/dist/components/p-ec497dac.js +0 -5
- package/dist/components/p-fab97ac7.js +0 -5
- package/dist/components/paint-thickness.d.ts +0 -11
- package/dist/components/paint-thickness.js +0 -5
- package/dist/components/part-lookup.d.ts +0 -11
- package/dist/components/part-lookup.js +0 -5
- package/dist/components/service-booking-form.d.ts +0 -11
- package/dist/components/service-booking-form.js +0 -5
- package/dist/components/service-history.d.ts +0 -11
- package/dist/components/service-history.js +0 -5
- package/dist/components/vehicle-accessories.d.ts +0 -11
- package/dist/components/vehicle-accessories.js +0 -5
- package/dist/components/vehicle-lookup.d.ts +0 -11
- package/dist/components/vehicle-lookup.js +0 -5
- package/dist/components/vehicle-specification.d.ts +0 -11
- package/dist/components/vehicle-specification.js +0 -5
- package/dist/components/warranty-details.d.ts +0 -11
- package/dist/components/warranty-details.js +0 -5
- package/dist/esm/app-globals-68faa233.js +0 -44
- package/dist/esm/cn-cc419b94.js +0 -2586
- package/dist/esm/contact-us-form.entry.js +0 -205
- package/dist/esm/dead-stock-lookup_3.entry.js +0 -439
- package/dist/esm/dynamic-claim_6.entry.js +0 -1161
- package/dist/esm/dynamic-redeem.entry.js +0 -152
- package/dist/esm/form-dialog_8.entry.js +0 -492
- package/dist/esm/get-local-language-9f948ba1.js +0 -2376
- package/dist/esm/index-cac905b0.js +0 -1581
- package/dist/esm/index.js +0 -4
- package/dist/esm/loader-027b88af.js +0 -7
- package/dist/esm/loader.js +0 -15
- package/dist/esm/loading-spinner.entry.js +0 -23
- package/dist/esm/part-lookup.entry.js +0 -125
- package/dist/esm/service-booking-form.entry.js +0 -205
- package/dist/esm/shift-components.js +0 -24
- package/dist/esm/urls-e22234f9.js +0 -4870
- package/dist/esm/vehicle-lookup.entry.js +0 -198
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/locales/ar.json +0 -185
- package/dist/locales/en.json +0 -185
- package/dist/locales/ku.json +0 -185
- package/dist/locales/ru.json +0 -185
- package/dist/shift-components/index.esm.js +0 -4
- package/dist/shift-components/p-0a36abe1.entry.js +0 -5
- package/dist/shift-components/p-102b7ce6.entry.js +0 -5
- package/dist/shift-components/p-172a640a.js +0 -5
- package/dist/shift-components/p-43a41164.entry.js +0 -5
- package/dist/shift-components/p-446d908d.js +0 -5
- package/dist/shift-components/p-65102e7a.js +0 -6
- package/dist/shift-components/p-678fdf8a.entry.js +0 -5
- package/dist/shift-components/p-78ca0788.entry.js +0 -5
- package/dist/shift-components/p-932ff922.js +0 -5
- package/dist/shift-components/p-98d9e7ab.js +0 -5
- package/dist/shift-components/p-a21e2e2e.js +0 -5
- package/dist/shift-components/p-adf4369b.entry.js +0 -5
- package/dist/shift-components/p-b20a4b26.entry.js +0 -5
- package/dist/shift-components/p-df5bd4cc.entry.js +0 -5
- package/dist/shift-components/p-fe255b2e.entry.js +0 -5
- package/dist/shift-components/shift-components.esm.js +0 -5
- package/dist/types/components/components/loading-spinner.d.ts +0 -4
- package/dist/types/components/form-elements/form-dialog.d.ts +0 -13
- package/dist/types/components/form-elements/form-input.d.ts +0 -28
- package/dist/types/components/form-elements/form-select.d.ts +0 -39
- package/dist/types/components/form-elements/form-shadow-input.d.ts +0 -9
- package/dist/types/components/form-elements/form-structure-error.d.ts +0 -8
- package/dist/types/components/form-elements/form-structure.d.ts +0 -23
- package/dist/types/components/form-elements/form-submit.d.ts +0 -12
- package/dist/types/components/form-elements/form-text-area.d.ts +0 -24
- 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/components/part-lookup/dead-stock-lookup.d.ts +0 -31
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +0 -32
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +0 -33
- package/dist/types/components/part-lookup/part-lookup.d.ts +0 -43
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +0 -10
- package/dist/types/components/vehicle-lookup/components/Loading.d.ts +0 -5
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -8
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +0 -12
- package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +0 -55
- package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +0 -39
- package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +0 -35
- package/dist/types/components/vehicle-lookup/service-history.d.ts +0 -30
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +0 -35
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +0 -53
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +0 -29
- package/dist/types/components/vehicle-lookup/warranty-details.d.ts +0 -57
- package/dist/types/components.d.ts +0 -760
- package/dist/types/global/api/partInformation.d.ts +0 -19
- package/dist/types/global/api/urls.d.ts +0 -2
- package/dist/types/global/api/vehicleInformation.d.ts +0 -33
- package/dist/types/global/lib/cn.d.ts +0 -2
- package/dist/types/global/lib/form-hook.d.ts +0 -47
- package/dist/types/global/lib/general.d.ts +0 -1
- package/dist/types/global/lib/get-local-language.d.ts +0 -2
- package/dist/types/global/lib/image-expansion.d.ts +0 -9
- package/dist/types/global/lib/middleware.d.ts +0 -0
- package/dist/types/global/lib/recaptcha.d.ts +0 -16
- package/dist/types/global/lib/utils.d.ts +0 -1
- package/dist/types/global/lib/validate-form-structure.d.ts +0 -3
- package/dist/types/global/lib/validate-vin.d.ts +0 -1
- package/dist/types/global/types/components.d.ts +0 -7
- package/dist/types/global/types/forms.d.ts +0 -63
- package/dist/types/global/types/general.d.ts +0 -23
- package/dist/types/global/types/locales/error-schema.d.ts +0 -23
- package/dist/types/global/types/locales/forms/contact-us-schema.d.ts +0 -37
- package/dist/types/global/types/locales/forms/index.d.ts +0 -45
- package/dist/types/global/types/locales/general.d.ts +0 -11
- package/dist/types/global/types/locales/index.d.ts +0 -382
- package/dist/types/global/types/locales/inquiryTypes.d.ts +0 -19
- package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +0 -9
- package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +0 -31
- package/dist/types/global/types/locales/part-lookup/index.d.ts +0 -79
- package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +0 -33
- package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +0 -15
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +0 -31
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +0 -27
- package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +0 -173
- package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +0 -17
- package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +0 -19
- package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +0 -19
- package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +0 -35
- package/dist/types/global/types/part-information.d.ts +0 -53
- package/dist/types/global/types/vehicle-information.d.ts +0 -168
- package/dist/types/index.d.ts +0 -10
- package/dist/types/stencil-public-runtime.d.ts +0 -1680
- package/loader/cdn.js +0 -5
- package/loader/index.cjs.js +0 -5
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -5
- package/loader/index.js +0 -6
- package/loader/package.json +0 -11
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
import { FormsSchema } from "./forms";
|
|
7
|
-
import { generalSchema } from "./general";
|
|
8
|
-
import { errorsSchema } from "./error-schema";
|
|
9
|
-
import { partLookupSchema } from "./part-lookup";
|
|
10
|
-
import { vehicleLookupSchema } from "./vehicle-lookup";
|
|
11
|
-
import { generalTicketTypesSchema } from "./inquiryTypes";
|
|
12
|
-
export const ARABIC_JSON_FILE = 'ar.json';
|
|
13
|
-
export const ENGLISH_JSON_FILE = 'en.json';
|
|
14
|
-
export const KURDISH_JSON_FILE = 'ku.json';
|
|
15
|
-
export const RUSSIAN_JSON_FILE = 'ru.json';
|
|
16
|
-
export const languageMapper = {
|
|
17
|
-
ar: ARABIC_JSON_FILE,
|
|
18
|
-
en: ENGLISH_JSON_FILE,
|
|
19
|
-
ku: KURDISH_JSON_FILE,
|
|
20
|
-
ru: RUSSIAN_JSON_FILE,
|
|
21
|
-
};
|
|
22
|
-
export const localeSchema = object({
|
|
23
|
-
forms: FormsSchema,
|
|
24
|
-
errors: errorsSchema,
|
|
25
|
-
general: generalSchema,
|
|
26
|
-
lang: string().required(),
|
|
27
|
-
noData: string().required(),
|
|
28
|
-
partLookup: partLookupSchema,
|
|
29
|
-
language: string().required(),
|
|
30
|
-
direction: string().required(),
|
|
31
|
-
vehicleLookup: vehicleLookupSchema,
|
|
32
|
-
generalTicketTypes: generalTicketTypesSchema,
|
|
33
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const generalTicketTypesSchema = object({
|
|
7
|
-
TLP: string().required(),
|
|
8
|
-
Complaint: string().required(),
|
|
9
|
-
PartInquiry: string().required(),
|
|
10
|
-
SalesCampaign: string().required(),
|
|
11
|
-
GeneralInquiry: string().required(),
|
|
12
|
-
ServiceCampaign: string().required(),
|
|
13
|
-
InstallmentPayment: string().required(),
|
|
14
|
-
ServicePriceInquiry: string().required(),
|
|
15
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const distributorSchema = object({
|
|
7
|
-
info: string().required(),
|
|
8
|
-
distributorStock: string().required(),
|
|
9
|
-
availability: string().required(),
|
|
10
|
-
notAvailable: string().required(),
|
|
11
|
-
partiallyAvailable: string().required(),
|
|
12
|
-
available: string().required(),
|
|
13
|
-
location: string().required(),
|
|
14
|
-
description: string().required(),
|
|
15
|
-
productGroup: string().required(),
|
|
16
|
-
localDescription: string().required(),
|
|
17
|
-
dealerPurchasePrice: string().required(),
|
|
18
|
-
recommendedRetailPrice: string().required(),
|
|
19
|
-
supersededFrom: string().required(),
|
|
20
|
-
supersessions: string().required(),
|
|
21
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object } from "yup";
|
|
6
|
-
import { deadStockSchema } from "./dead-stock-schema";
|
|
7
|
-
import { distributorSchema } from "./distributor-schema";
|
|
8
|
-
import { manufacturerSchema } from "./manufacturer-schema";
|
|
9
|
-
export const partLookupSchema = object({
|
|
10
|
-
deadStock: deadStockSchema,
|
|
11
|
-
distributor: distributorSchema,
|
|
12
|
-
manufacturer: manufacturerSchema,
|
|
13
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const manufacturerSchema = object({
|
|
7
|
-
origin: string().required(),
|
|
8
|
-
warrantyPrice: string().required(),
|
|
9
|
-
specialPrice: string().required(),
|
|
10
|
-
wholesalesPrice: string().required(),
|
|
11
|
-
pnc: string().required(),
|
|
12
|
-
pncName: string().required(),
|
|
13
|
-
binCode: string().required(),
|
|
14
|
-
dimension1: string().required(),
|
|
15
|
-
dimension2: string().required(),
|
|
16
|
-
dimension3: string().required(),
|
|
17
|
-
netWeight: string().required(),
|
|
18
|
-
grossWeight: string().required(),
|
|
19
|
-
cubicMeasure: string().required(),
|
|
20
|
-
hsCode: string().required(),
|
|
21
|
-
uzHsCode: string().required(),
|
|
22
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const accessoriesSchema = object({
|
|
7
|
-
vehicleAccessories: string().required(),
|
|
8
|
-
noData: string().required(),
|
|
9
|
-
partNumber: string().required(),
|
|
10
|
-
description: string().required(),
|
|
11
|
-
image: string().required(),
|
|
12
|
-
expand: string().required(),
|
|
13
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const dynamicClaimSchema = object({
|
|
7
|
-
serviceType: string().required(),
|
|
8
|
-
activationDate: string().required(),
|
|
9
|
-
expireDate: string().required(),
|
|
10
|
-
claimAt: string().required(),
|
|
11
|
-
redeemingDealer: string().required(),
|
|
12
|
-
invoiceNumber: string().required(),
|
|
13
|
-
wip: string().required(),
|
|
14
|
-
menuCode: string().required(),
|
|
15
|
-
claim: string().required(),
|
|
16
|
-
processed: string().required(),
|
|
17
|
-
expired: string().required(),
|
|
18
|
-
cancelled: string().required(),
|
|
19
|
-
pending: string().required(),
|
|
20
|
-
warning: string().required(),
|
|
21
|
-
});
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const dynamicRedeemSchema = object({
|
|
7
|
-
serviceType: string().required(),
|
|
8
|
-
name: string().required(),
|
|
9
|
-
activationDate: string().required(),
|
|
10
|
-
expireDate: string().required(),
|
|
11
|
-
menuCode: string().required(),
|
|
12
|
-
scanTheInvoice: string().required(),
|
|
13
|
-
processing: string().required(),
|
|
14
|
-
warning: string().required(),
|
|
15
|
-
skipServicesWarning: string().required(),
|
|
16
|
-
confirmSkipServices: string().required(),
|
|
17
|
-
notInvoiced: string().required(),
|
|
18
|
-
confirmNotInvoiced: string().required(),
|
|
19
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object } from "yup";
|
|
6
|
-
import { warrantySchema } from "./warranty-schema";
|
|
7
|
-
import { accessoriesSchema } from "./accessories-schema";
|
|
8
|
-
import { dynamicClaimSchema } from "./dynamic-claim-schema";
|
|
9
|
-
import { specificationSchema } from "./specification-schema";
|
|
10
|
-
import { dynamicRedeemSchema } from "./dynamic-redeem-schema";
|
|
11
|
-
import { ServiceHistorySchema } from "./service-history-schema";
|
|
12
|
-
import { paintThicknessSchema } from "./paint-thickness-schema";
|
|
13
|
-
export const vehicleLookupSchema = object({
|
|
14
|
-
warranty: warrantySchema,
|
|
15
|
-
accessories: accessoriesSchema,
|
|
16
|
-
dynamicClaim: dynamicClaimSchema,
|
|
17
|
-
dynamicRedeem: dynamicRedeemSchema,
|
|
18
|
-
specification: specificationSchema,
|
|
19
|
-
serviceHistory: ServiceHistorySchema,
|
|
20
|
-
paintThickness: paintThicknessSchema,
|
|
21
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const paintThicknessSchema = object({
|
|
7
|
-
paintThickness: string().required(),
|
|
8
|
-
noData: string().required(),
|
|
9
|
-
part: string().required(),
|
|
10
|
-
left: string().required(),
|
|
11
|
-
right: string().required(),
|
|
12
|
-
noImageGroups: string().required(),
|
|
13
|
-
expand: string().required(),
|
|
14
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const ServiceHistorySchema = object({
|
|
7
|
-
serviceHistory: string().required(),
|
|
8
|
-
noData: string().required(),
|
|
9
|
-
branch: string().required(),
|
|
10
|
-
dealer: string().required(),
|
|
11
|
-
invoiceNumber: string().required(),
|
|
12
|
-
date: string().required(),
|
|
13
|
-
serviceType: string().required(),
|
|
14
|
-
odometer: string().required(),
|
|
15
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const specificationSchema = object({
|
|
7
|
-
vehicleSpecification: string().required(),
|
|
8
|
-
noData: string().required(),
|
|
9
|
-
model: string().required(),
|
|
10
|
-
variant: string().required(),
|
|
11
|
-
katashiki: string().required(),
|
|
12
|
-
modelYear: string().required(),
|
|
13
|
-
sfx: string().required(),
|
|
14
|
-
productionDate: string().required(),
|
|
15
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { object, string } from "yup";
|
|
6
|
-
export const warrantySchema = object({
|
|
7
|
-
authorized: string().required(),
|
|
8
|
-
unauthorized: string().required(),
|
|
9
|
-
activeWarranty: string().required(),
|
|
10
|
-
notActiveWarranty: string().required(),
|
|
11
|
-
notInvoiced: string().required(),
|
|
12
|
-
from: string().required(),
|
|
13
|
-
to: string().required(),
|
|
14
|
-
pendingSSC: string().required(),
|
|
15
|
-
noPendingSSC: string().required(),
|
|
16
|
-
checkingTMC: string().required(),
|
|
17
|
-
sscCampings: string().required(),
|
|
18
|
-
sscTableCode: string().required(),
|
|
19
|
-
sscTableDescription: string().required(),
|
|
20
|
-
sscTableRepairStatus: string().required(),
|
|
21
|
-
sscTableOPCode: string().required(),
|
|
22
|
-
sscTablePartNumber: string().required(),
|
|
23
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/collection/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
const mockData = {
|
|
2
|
-
'SU00302474': {
|
|
3
|
-
partNumber: 'SU00302474',
|
|
4
|
-
partDescription: 'CLAMP',
|
|
5
|
-
localDescription: 'Неприменимо',
|
|
6
|
-
group: 'F',
|
|
7
|
-
pnc: '',
|
|
8
|
-
pncLocalName: '',
|
|
9
|
-
binCode: null,
|
|
10
|
-
dimension1: 80,
|
|
11
|
-
dimension2: 50,
|
|
12
|
-
dimension3: 15,
|
|
13
|
-
netWeight: 250,
|
|
14
|
-
grossWeight: null,
|
|
15
|
-
cubicMeasure: 600,
|
|
16
|
-
hsCode: null,
|
|
17
|
-
uzhsCode: null,
|
|
18
|
-
origin: 'JP',
|
|
19
|
-
supersededTo: ['1110109263', '137410PH00', '138010PH00', '139350PH00'],
|
|
20
|
-
stockParts: [],
|
|
21
|
-
prices: [
|
|
22
|
-
{
|
|
23
|
-
countryIntegrationID: 'TM',
|
|
24
|
-
countryName: 'Turkmenistan ',
|
|
25
|
-
regionIntegrationID: 'TK',
|
|
26
|
-
regionName: 'Turkmenistan ',
|
|
27
|
-
warrantyPrice: {
|
|
28
|
-
value: 2.4875,
|
|
29
|
-
currecntySymbol: '$',
|
|
30
|
-
cultureName: 'en-US',
|
|
31
|
-
formattedValue: '$12.49',
|
|
32
|
-
},
|
|
33
|
-
purchasePrice: {
|
|
34
|
-
value: 2.4875,
|
|
35
|
-
currecntySymbol: '$',
|
|
36
|
-
cultureName: 'en-US',
|
|
37
|
-
formattedValue: '$22.49',
|
|
38
|
-
},
|
|
39
|
-
retailPrice: {
|
|
40
|
-
value: 2.4875,
|
|
41
|
-
currecntySymbol: '$',
|
|
42
|
-
cultureName: 'en-US',
|
|
43
|
-
formattedValue: '$21.49',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
countryIntegrationID: 'TJ',
|
|
48
|
-
countryName: 'Tajikistan',
|
|
49
|
-
regionIntegrationID: 'TJ',
|
|
50
|
-
regionName: 'Tajikistan',
|
|
51
|
-
warrantyPrice: {
|
|
52
|
-
value: 2.4875,
|
|
53
|
-
currecntySymbol: '$',
|
|
54
|
-
cultureName: 'en-US',
|
|
55
|
-
formattedValue: null,
|
|
56
|
-
},
|
|
57
|
-
purchasePrice: {
|
|
58
|
-
value: 2.4875,
|
|
59
|
-
currecntySymbol: '$',
|
|
60
|
-
cultureName: 'en-US',
|
|
61
|
-
formattedValue: '$23.49',
|
|
62
|
-
},
|
|
63
|
-
retailPrice: {
|
|
64
|
-
value: 2.4875,
|
|
65
|
-
currecntySymbol: '$',
|
|
66
|
-
cultureName: 'en-US',
|
|
67
|
-
formattedValue: '$22.49',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
countryIntegrationID: 'UZ',
|
|
72
|
-
countryName: 'Uzbekistan',
|
|
73
|
-
regionIntegrationID: 'UZ',
|
|
74
|
-
regionName: 'Uzbekistan',
|
|
75
|
-
warrantyPrice: {
|
|
76
|
-
value: 2.4875,
|
|
77
|
-
currecntySymbol: '$',
|
|
78
|
-
cultureName: 'en-US',
|
|
79
|
-
formattedValue: '$23.49',
|
|
80
|
-
},
|
|
81
|
-
purchasePrice: {
|
|
82
|
-
value: 2.4875,
|
|
83
|
-
currecntySymbol: '$',
|
|
84
|
-
cultureName: 'en-US',
|
|
85
|
-
formattedValue: '$42.49',
|
|
86
|
-
},
|
|
87
|
-
retailPrice: {
|
|
88
|
-
value: 2.4875,
|
|
89
|
-
currecntySymbol: '$',
|
|
90
|
-
cultureName: 'en-US',
|
|
91
|
-
formattedValue: null,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
],
|
|
95
|
-
deadStock: null,
|
|
96
|
-
},
|
|
97
|
-
'0400007660/1': {
|
|
98
|
-
partNumber: '0400007660',
|
|
99
|
-
partDescription: 'REPLACEMENT KIT,',
|
|
100
|
-
localDescription: 'Неприменимо',
|
|
101
|
-
group: 'J',
|
|
102
|
-
pnc: '',
|
|
103
|
-
pncLocalName: '',
|
|
104
|
-
binCode: null,
|
|
105
|
-
dimension1: 75,
|
|
106
|
-
dimension2: 60,
|
|
107
|
-
dimension3: 10,
|
|
108
|
-
netWeight: 226,
|
|
109
|
-
grossWeight: null,
|
|
110
|
-
cubicMeasure: 450,
|
|
111
|
-
hsCode: null,
|
|
112
|
-
uzhsCode: null,
|
|
113
|
-
origin: 'JP',
|
|
114
|
-
supersededTo: ['1110109263', '137410PH00', '138010PH00', '139350PH00'],
|
|
115
|
-
stockParts: [
|
|
116
|
-
{
|
|
117
|
-
quantityLookUpResult: 'Available',
|
|
118
|
-
locationID: 'UZ-UZ-BS',
|
|
119
|
-
locationName: 'Besten Stock',
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
prices: [
|
|
123
|
-
{
|
|
124
|
-
countryIntegrationID: 'TM',
|
|
125
|
-
countryName: 'Turkmenistan ',
|
|
126
|
-
regionIntegrationID: 'TK',
|
|
127
|
-
regionName: 'Turkmenistan ',
|
|
128
|
-
warrantyPrice: {
|
|
129
|
-
value: 2.4875,
|
|
130
|
-
currecntySymbol: '$',
|
|
131
|
-
cultureName: 'en-US',
|
|
132
|
-
formattedValue: '$24.49',
|
|
133
|
-
},
|
|
134
|
-
purchasePrice: {
|
|
135
|
-
value: 2.4875,
|
|
136
|
-
currecntySymbol: '$',
|
|
137
|
-
cultureName: 'en-US',
|
|
138
|
-
formattedValue: '$25.49',
|
|
139
|
-
},
|
|
140
|
-
retailPrice: {
|
|
141
|
-
value: 2.4875,
|
|
142
|
-
currecntySymbol: '$',
|
|
143
|
-
cultureName: 'en-US',
|
|
144
|
-
formattedValue: '$23.49',
|
|
145
|
-
},
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
countryIntegrationID: 'TJ',
|
|
149
|
-
countryName: 'Tajikistan',
|
|
150
|
-
regionIntegrationID: 'TJ',
|
|
151
|
-
regionName: 'Tajikistan',
|
|
152
|
-
warrantyPrice: {
|
|
153
|
-
value: 2.4875,
|
|
154
|
-
currecntySymbol: '$',
|
|
155
|
-
cultureName: 'en-US',
|
|
156
|
-
formattedValue: '$25.49',
|
|
157
|
-
},
|
|
158
|
-
purchasePrice: {
|
|
159
|
-
value: 2.4875,
|
|
160
|
-
currecntySymbol: '$',
|
|
161
|
-
cultureName: 'en-US',
|
|
162
|
-
formattedValue: '$26.49',
|
|
163
|
-
},
|
|
164
|
-
retailPrice: {
|
|
165
|
-
value: 2.4875,
|
|
166
|
-
currecntySymbol: '$',
|
|
167
|
-
cultureName: 'en-US',
|
|
168
|
-
formattedValue: '$22.49',
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
countryIntegrationID: 'UZ',
|
|
173
|
-
countryName: 'Uzbekistan',
|
|
174
|
-
regionIntegrationID: 'UZ',
|
|
175
|
-
regionName: 'Uzbekistan',
|
|
176
|
-
warrantyPrice: {
|
|
177
|
-
value: 2.4875,
|
|
178
|
-
currecntySymbol: '$',
|
|
179
|
-
cultureName: 'en-US',
|
|
180
|
-
formattedValue: '$26.49',
|
|
181
|
-
},
|
|
182
|
-
purchasePrice: {
|
|
183
|
-
value: 2.4875,
|
|
184
|
-
currecntySymbol: '$',
|
|
185
|
-
cultureName: 'en-US',
|
|
186
|
-
formattedValue: '$21.49',
|
|
187
|
-
},
|
|
188
|
-
retailPrice: {
|
|
189
|
-
value: 2.4875,
|
|
190
|
-
currecntySymbol: '$',
|
|
191
|
-
cultureName: 'en-US',
|
|
192
|
-
formattedValue: '$21.49',
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
],
|
|
196
|
-
deadStock: null,
|
|
197
|
-
logId: 'd864e3b6-4b6b-4d22-be99-7d64063446eb',
|
|
198
|
-
},
|
|
199
|
-
};
|