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,198 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-cac905b0.js';
|
|
6
|
-
import { c as cn } from './cn-cc419b94.js';
|
|
7
|
-
import { l as localeSchema, g as getLocaleLanguage } from './get-local-language-9f948ba1.js';
|
|
8
|
-
|
|
9
|
-
function validateVin(vin) {
|
|
10
|
-
const TransliterationTable = {
|
|
11
|
-
0: 0,
|
|
12
|
-
1: 1,
|
|
13
|
-
2: 2,
|
|
14
|
-
3: 3,
|
|
15
|
-
4: 4,
|
|
16
|
-
5: 5,
|
|
17
|
-
6: 6,
|
|
18
|
-
7: 7,
|
|
19
|
-
8: 8,
|
|
20
|
-
9: 9,
|
|
21
|
-
A: 1,
|
|
22
|
-
B: 2,
|
|
23
|
-
C: 3,
|
|
24
|
-
D: 4,
|
|
25
|
-
E: 5,
|
|
26
|
-
F: 6,
|
|
27
|
-
G: 7,
|
|
28
|
-
H: 8,
|
|
29
|
-
J: 1,
|
|
30
|
-
K: 2,
|
|
31
|
-
L: 3,
|
|
32
|
-
M: 4,
|
|
33
|
-
N: 5,
|
|
34
|
-
P: 7,
|
|
35
|
-
R: 9,
|
|
36
|
-
S: 2,
|
|
37
|
-
T: 3,
|
|
38
|
-
U: 4,
|
|
39
|
-
V: 5,
|
|
40
|
-
W: 6,
|
|
41
|
-
X: 7,
|
|
42
|
-
Y: 8,
|
|
43
|
-
Z: 9,
|
|
44
|
-
};
|
|
45
|
-
const WeightTable = [8, 7, 6, 5, 4, 3, 2, 10, 0, 9, 8, 7, 6, 5, 4, 3, 2];
|
|
46
|
-
let sum = 0;
|
|
47
|
-
let valid = true;
|
|
48
|
-
for (let i = 0; i < vin.length; i++) {
|
|
49
|
-
const char = vin[i].toUpperCase();
|
|
50
|
-
const value = TransliterationTable[char];
|
|
51
|
-
if (value === undefined) {
|
|
52
|
-
valid = false;
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
const weight = WeightTable[i];
|
|
56
|
-
const product = value * weight;
|
|
57
|
-
sum = sum + product;
|
|
58
|
-
}
|
|
59
|
-
let reminder = (sum % 11).toString();
|
|
60
|
-
if (reminder === '10')
|
|
61
|
-
reminder = 'X';
|
|
62
|
-
if (vin[8] != reminder) {
|
|
63
|
-
valid = false;
|
|
64
|
-
}
|
|
65
|
-
return valid;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
const vehicleLookupCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{display:block}*{font-family:Arial}.static{position:static}.hidden{display:none}.w-full{width:100%}.mx-auto{margin-left:auto;margin-right:auto}.flex{display:flex}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-\\[20px\\]{font-size:20px}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\!duration-700{transition-duration:.7s!important}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mt-\\[12px\\]{margin-top:12px}.table{display:table}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.border-b{border-bottom-width:1px}.\\!border-none{border-style:none!important}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}";
|
|
69
|
-
const VehicleLookupStyle0 = vehicleLookupCss;
|
|
70
|
-
|
|
71
|
-
const componentTags = {
|
|
72
|
-
dynamicClaim: 'dynamic-claim',
|
|
73
|
-
paintThickness: 'paint-thickness',
|
|
74
|
-
serviceHistory: 'service-history',
|
|
75
|
-
warrantyDetails: 'warranty-details',
|
|
76
|
-
vehicleAccessories: 'vehicle-accessories',
|
|
77
|
-
vehicleSpecification: 'vehicle-specification',
|
|
78
|
-
};
|
|
79
|
-
const VehicleLookup = class {
|
|
80
|
-
constructor(hostRef) {
|
|
81
|
-
registerInstance(this, hostRef);
|
|
82
|
-
this.syncErrorAcrossComponents = (newErrorMessage) => {
|
|
83
|
-
Object.values(this.componentsList).forEach(element => {
|
|
84
|
-
if (element)
|
|
85
|
-
element.setErrorMessage(newErrorMessage);
|
|
86
|
-
});
|
|
87
|
-
};
|
|
88
|
-
this.loadingStateChangingMiddleware = (newState) => {
|
|
89
|
-
if (this.loadingStateChanged)
|
|
90
|
-
this.loadingStateChanged(newState);
|
|
91
|
-
if (this.blazorRef && this.blazorOnLoadingStateChange)
|
|
92
|
-
this.blazorRef.invokeMethodAsync(this.blazorOnLoadingStateChange, newState);
|
|
93
|
-
};
|
|
94
|
-
this.activeElement = '';
|
|
95
|
-
this.baseUrl = '';
|
|
96
|
-
this.isDev = false;
|
|
97
|
-
this.queryString = '';
|
|
98
|
-
this.language = 'en';
|
|
99
|
-
this.blazorErrorStateListener = '';
|
|
100
|
-
this.childrenProps = undefined;
|
|
101
|
-
this.blazorOnLoadingStateChange = '';
|
|
102
|
-
this.errorStateListener = undefined;
|
|
103
|
-
this.loadingStateChanged = undefined;
|
|
104
|
-
this.wrapperErrorState = '';
|
|
105
|
-
this.blazorRef = undefined;
|
|
106
|
-
this.locale = localeSchema.getDefault();
|
|
107
|
-
}
|
|
108
|
-
async componentWillLoad() {
|
|
109
|
-
await this.changeLanguage(this.language);
|
|
110
|
-
}
|
|
111
|
-
async changeLanguage(newLanguage) {
|
|
112
|
-
this.locale = await getLocaleLanguage(newLanguage);
|
|
113
|
-
}
|
|
114
|
-
async componentDidLoad() {
|
|
115
|
-
const vehicleClaim = this.el.getElementsByTagName('dynamic-claim')[0];
|
|
116
|
-
const vehicleHistory = this.el.getElementsByTagName('service-history')[0];
|
|
117
|
-
const vehicleThickness = this.el.getElementsByTagName('paint-thickness')[0];
|
|
118
|
-
const vehicleDetails = this.el.getElementsByTagName('warranty-details')[0];
|
|
119
|
-
const vehicleAccessories = this.el.getElementsByTagName('vehicle-accessories')[0];
|
|
120
|
-
const vehicleSpecification = this.el.getElementsByTagName('vehicle-specification')[0];
|
|
121
|
-
this.componentsList = {
|
|
122
|
-
[componentTags.dynamicClaim]: vehicleClaim,
|
|
123
|
-
[componentTags.serviceHistory]: vehicleHistory,
|
|
124
|
-
[componentTags.warrantyDetails]: vehicleDetails,
|
|
125
|
-
[componentTags.paintThickness]: vehicleThickness,
|
|
126
|
-
[componentTags.vehicleAccessories]: vehicleAccessories,
|
|
127
|
-
[componentTags.vehicleSpecification]: vehicleSpecification,
|
|
128
|
-
};
|
|
129
|
-
Object.values(this.componentsList).forEach(element => {
|
|
130
|
-
if (!element)
|
|
131
|
-
return;
|
|
132
|
-
element.errorCallback = this.syncErrorAcrossComponents;
|
|
133
|
-
element.loadingStateChange = this.loadingStateChangingMiddleware;
|
|
134
|
-
element.loadedResponse = newResponse => this.handleLoadData(newResponse, element);
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
handleLoadData(newResponse, activeElement) {
|
|
138
|
-
Object.values(this.componentsList).forEach(element => {
|
|
139
|
-
if (element !== null && element !== activeElement && newResponse)
|
|
140
|
-
element.setData(newResponse);
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
async errorListener(newState) {
|
|
144
|
-
if (this.errorStateListener)
|
|
145
|
-
this.errorStateListener(newState);
|
|
146
|
-
if (this.blazorRef && this.blazorErrorStateListener)
|
|
147
|
-
this.blazorRef.invokeMethodAsync(this.blazorErrorStateListener, newState);
|
|
148
|
-
}
|
|
149
|
-
async setBlazorRef(newBlazorRef) {
|
|
150
|
-
this.blazorRef = newBlazorRef;
|
|
151
|
-
}
|
|
152
|
-
async fetchVin(vin, headers = {}) {
|
|
153
|
-
const activeElement = this.componentsList[this.activeElement] || null;
|
|
154
|
-
this.wrapperErrorState = '';
|
|
155
|
-
if (!activeElement)
|
|
156
|
-
return;
|
|
157
|
-
if (vin == '')
|
|
158
|
-
return (this.wrapperErrorState = this.locale.errors.vinNumberRequired);
|
|
159
|
-
if (!validateVin(vin))
|
|
160
|
-
return (this.wrapperErrorState = this.locale.errors.invalidVin);
|
|
161
|
-
activeElement.fetchData(vin, headers);
|
|
162
|
-
}
|
|
163
|
-
render() {
|
|
164
|
-
const props = {
|
|
165
|
-
[componentTags.dynamicClaim]: {},
|
|
166
|
-
[componentTags.paintThickness]: {},
|
|
167
|
-
[componentTags.serviceHistory]: {},
|
|
168
|
-
[componentTags.warrantyDetails]: {},
|
|
169
|
-
[componentTags.vehicleAccessories]: {},
|
|
170
|
-
[componentTags.vehicleSpecification]: {},
|
|
171
|
-
};
|
|
172
|
-
try {
|
|
173
|
-
if (this.childrenProps) {
|
|
174
|
-
let parsedProps = {};
|
|
175
|
-
if (typeof this.childrenProps === 'string')
|
|
176
|
-
parsedProps = JSON.parse(this.childrenProps);
|
|
177
|
-
else if (typeof this.childrenProps === 'object')
|
|
178
|
-
parsedProps = this.childrenProps;
|
|
179
|
-
Object.keys(props).forEach(key => {
|
|
180
|
-
if (typeof parsedProps[key] === 'object')
|
|
181
|
-
props[key] = parsedProps[key];
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
catch (error) {
|
|
186
|
-
console.error(error);
|
|
187
|
-
}
|
|
188
|
-
return (h(Host, { key: '75201b91877c418ddeef449e3c6256f6dc60a984' }, h("div", { key: '2dd95e37c0e936f89f94e956047704a8c4749c15', class: cn('w-full', { hidden: this.activeElement !== componentTags.vehicleSpecification }) }, h("vehicle-specification", Object.assign({ key: 'ad97cecf378efad35f2993ef1987cb18fd5bf3ff', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleSpecification]))), h("div", { key: 'e3d3c14763f8a51dd167b11d164f04e8fd9e7bf1', class: cn('w-full', { hidden: this.activeElement !== componentTags.vehicleAccessories }) }, h("vehicle-accessories", Object.assign({ key: '0de7956d92b4d0e7debf8d053b9933c742b56762', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleAccessories]))), h("div", { key: 'e9a2821bee17a79ae7d5241a20a3bac10c0afb6d', class: cn('w-full', { hidden: this.activeElement !== componentTags.warrantyDetails }) }, h("warranty-details", Object.assign({ key: 'b583c642374f67c13cce9ebaa2f28163eb678199', "show-ssc": "true", "show-warranty": "true", "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.warrantyDetails]), h("slot", { key: 'fee1d41338bb4370d1c889df2fe60d0f76d2bb6e' }))), h("div", { key: '49c59df18cc6653157661959e56127461a2f5ad7', class: cn('w-full', { hidden: this.activeElement !== componentTags.serviceHistory }) }, h("service-history", Object.assign({ key: '7bef2e630345e1ab67d6800ab4e031f23bdf5be8', language: this.language, "base-url": this.baseUrl, "query-string": this.queryString }, props[componentTags.serviceHistory]))), h("div", { key: '3c8b825594eb3a3440a37e43d7ce0f999bc2172e', class: cn('w-full', { hidden: this.activeElement !== componentTags.paintThickness }) }, h("paint-thickness", Object.assign({ key: 'cf0d1303c29ec3dc9c8f454a89fd0c573f09c732', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.paintThickness]))), h("div", { key: 'f6ed735c9a43c16d29e62611d3a3899dbe1f589d', class: cn('w-full', { hidden: this.activeElement !== componentTags.dynamicClaim }) }, h("dynamic-claim", Object.assign({ key: 'd611e97dba942504b2ad09adc112399b101d4b5f' }, props[componentTags.dynamicClaim], { language: this.language, "base-url": this.baseUrl, "query-string": this.queryString })))));
|
|
189
|
-
}
|
|
190
|
-
get el() { return getElement(this); }
|
|
191
|
-
static get watchers() { return {
|
|
192
|
-
"language": ["changeLanguage"],
|
|
193
|
-
"wrapperErrorState": ["errorListener"]
|
|
194
|
-
}; }
|
|
195
|
-
};
|
|
196
|
-
VehicleLookup.style = VehicleLookupStyle0;
|
|
197
|
-
|
|
198
|
-
export { VehicleLookup as vehicle_lookup };
|
package/dist/index.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './esm/index.js';
|
package/dist/locales/ar.json
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lang": "ar",
|
|
3
|
-
"direction": "rtl",
|
|
4
|
-
"language": "arabic",
|
|
5
|
-
"noData": "لا توجد بيانات متاحة.",
|
|
6
|
-
"general": {
|
|
7
|
-
"close": "أغلق",
|
|
8
|
-
"submit": "تقديم",
|
|
9
|
-
"noSelectOptions": "لا يوجد خيارات.",
|
|
10
|
-
"formSubmittedSuccessfully": "تم إرسال النموذج بنجاح."
|
|
11
|
-
},
|
|
12
|
-
"errors": {
|
|
13
|
-
"noBaseUrl": "من فضلك قدم base-url",
|
|
14
|
-
"invalidVin": "رقم الشانسی غير صالح",
|
|
15
|
-
"vinNumberRequired": "رقم الشانسی مطلوب",
|
|
16
|
-
"partNumberRequired": "رقم القطعة مطلوب",
|
|
17
|
-
"wrongResponseFormat": "تنسيق الرد خاطئ",
|
|
18
|
-
"noPartsFound": "لم يتم العثور على أجزاء",
|
|
19
|
-
"noServiceAvailable": "لا توجد خدمة متاحة",
|
|
20
|
-
"wrongFormStructure": "بنية النموذج غير صالحة.",
|
|
21
|
-
"wildCard": "حدث خطأ غير متوقع، يرجى المحاولة مرة أخرى لاحقًا.",
|
|
22
|
-
"requestFailedPleaseTryAgainLater": "فشل الطلب، يرجى المحاولة مرة أخرى لاحقًا"
|
|
23
|
-
},
|
|
24
|
-
"generalTicketTypes": {
|
|
25
|
-
"TLP": "TLP",
|
|
26
|
-
"Complaint": "شكوى",
|
|
27
|
-
"PartInquiry": "PartInquiry",
|
|
28
|
-
"SalesCampaign": "SalesCampaign",
|
|
29
|
-
"GeneralInquiry": "استفسار عام",
|
|
30
|
-
"ServiceCampaign": "ServiceCampaign",
|
|
31
|
-
"InstallmentPayment": "InstallmentPayment",
|
|
32
|
-
"ServicePriceInquiry": "ServicePriceInquiry"
|
|
33
|
-
},
|
|
34
|
-
"forms": {
|
|
35
|
-
"reCaptchaIsRequired": "مطلوب الكابتشا",
|
|
36
|
-
"inputValueIsIncorrect": "قيمة الحقل غير صحيحة.",
|
|
37
|
-
|
|
38
|
-
"contactUs": {
|
|
39
|
-
"fullName": "الاسم الكامل",
|
|
40
|
-
"fullNameIsRequired": "الاسم الكامل مطلوب.",
|
|
41
|
-
"fullNameMinimum": "الاسم الكامل يجب أن يتكون من 3 أحرف أو أكثر.",
|
|
42
|
-
"emailAddress": "البريد الإلكتروني",
|
|
43
|
-
"emailAddressNotValid": "يرجى إدخال عنوان بريد إلكتروني صالح.",
|
|
44
|
-
"city": "مدينة",
|
|
45
|
-
"selectCity": "اختر مدينة.",
|
|
46
|
-
"cityIsRequired": "المدينة مطلوبة.",
|
|
47
|
-
"phoneNumber": "رقم الهاتف",
|
|
48
|
-
"phoneNumberIsRequired": "رقم الهاتف مطلوب.",
|
|
49
|
-
"phoneNumberFormatInvalid": "تنسيق رقم الهاتف غير صالح.",
|
|
50
|
-
"inquiryType": "نوع الاستفسار",
|
|
51
|
-
"selectInquiryType": "حدد نوع الاستفسار",
|
|
52
|
-
"inquiryTypeIsRequired": "نوع الاستفسار مطلوب.",
|
|
53
|
-
"writeAMessage": "اكتب رسالة",
|
|
54
|
-
"leaveUsMessage": "اترك لنا رسالة",
|
|
55
|
-
"messageIsRequired": "الرسالة مطلوبة."
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"vehicleLookup": {
|
|
59
|
-
"warranty": {
|
|
60
|
-
"authorized": "مُصرح به",
|
|
61
|
-
"unauthorized": "غير مصرح به",
|
|
62
|
-
"activeWarranty": "لديه ضمان نشط",
|
|
63
|
-
"notActiveWarranty": "لا يوجد ضمان نشط",
|
|
64
|
-
"notInvoiced": "الضمان غير فعال لأن هذه المركبة لم يتم إصدار فاتورة لها من قبل شريك الأعمال الموثوق به التالي: ",
|
|
65
|
-
"from": "من",
|
|
66
|
-
"to": "الى",
|
|
67
|
-
"pendingSSC": "هذه السيارة لديها حملة خدمة خاصة معلقة",
|
|
68
|
-
"noPendingSSC": "لا توجد حملة خدمة خاصة معلقة",
|
|
69
|
-
"checkingTMC": "فحص TMC",
|
|
70
|
-
"sscCampings": "حملات الخدمة الخاصة",
|
|
71
|
-
"sscTableCode": "شفرة",
|
|
72
|
-
"sscTableDescription": "وصف",
|
|
73
|
-
"sscTableRepairStatus": "حالة الإصلاح",
|
|
74
|
-
"sscTableOPCode": "أكواد OP",
|
|
75
|
-
"sscTablePartNumber": "رقم القطعة"
|
|
76
|
-
},
|
|
77
|
-
"specification": {
|
|
78
|
-
"vehicleSpecification": "مواصفات السيارة",
|
|
79
|
-
"noData": "لا توجد بيانات متاحة.",
|
|
80
|
-
"model": "الموديل",
|
|
81
|
-
"variant": "أنواع",
|
|
82
|
-
"katashiki": "Katashiki",
|
|
83
|
-
"modelYear": "سنة الموديل",
|
|
84
|
-
"sfx": "SFX",
|
|
85
|
-
"productionDate": "سنة الإنتاج"
|
|
86
|
-
},
|
|
87
|
-
"accessories": {
|
|
88
|
-
"vehicleAccessories": "إكسسوارات المركبات",
|
|
89
|
-
"noData": "لا توجد بيانات متاحة.",
|
|
90
|
-
"partNumber": "رقم القطعة",
|
|
91
|
-
"description": "وصف",
|
|
92
|
-
"image": "صورة",
|
|
93
|
-
"expand": "تکبیر"
|
|
94
|
-
},
|
|
95
|
-
"serviceHistory": {
|
|
96
|
-
"serviceHistory": "سجل الخدمة",
|
|
97
|
-
"noData": "لا توجد بيانات متاحة.",
|
|
98
|
-
"branch": "فرع",
|
|
99
|
-
"dealer": "تاجر",
|
|
100
|
-
"invoiceNumber": "رقم الفاتورة",
|
|
101
|
-
"date": "تاريخ",
|
|
102
|
-
"serviceType": "نوع الخدمة",
|
|
103
|
-
"odometer": "عداد المسافات"
|
|
104
|
-
},
|
|
105
|
-
"paintThickness": {
|
|
106
|
-
"paintThickness": "سمك الطلاء",
|
|
107
|
-
"noData": "لا توجد بيانات متاحة.",
|
|
108
|
-
"part": "جزء",
|
|
109
|
-
"left": "يسار",
|
|
110
|
-
"right": "يمين",
|
|
111
|
-
"noImageGroups": "لا تتوفر مجموعات صور.",
|
|
112
|
-
"expand": "تکبیر"
|
|
113
|
-
},
|
|
114
|
-
"dynamicClaim": {
|
|
115
|
-
"serviceType": "نوع الخدمة",
|
|
116
|
-
"activationDate": "تاريخ التفعيل",
|
|
117
|
-
"expireDate": "تاريخ انتهاء الصلاحية",
|
|
118
|
-
"claimAt": "المطالبة في",
|
|
119
|
-
"redeemingDealer": "استرداد التاجر",
|
|
120
|
-
"invoiceNumber": "رقم الفاتورة",
|
|
121
|
-
"wip": "WIP",
|
|
122
|
-
"menuCode": "كود القائمة",
|
|
123
|
-
"claim": "مطالبة",
|
|
124
|
-
"processed": "تمت معالجته",
|
|
125
|
-
"expired": "منتهي الصلاحية",
|
|
126
|
-
"cancelled": "تم الغاء",
|
|
127
|
-
"pending": "قيد الانتظار",
|
|
128
|
-
"warning": "تحذير"
|
|
129
|
-
},
|
|
130
|
-
"dynamicRedeem": {
|
|
131
|
-
"serviceType": "نوع الخدمة",
|
|
132
|
-
"name": "اسم",
|
|
133
|
-
"activationDate": "تاريخ التفعيل",
|
|
134
|
-
"expireDate": "تاريخ انتهاء الصلاحية",
|
|
135
|
-
"menuCode": "كود القائمة",
|
|
136
|
-
"scanTheInvoice": "مسح الفاتورة",
|
|
137
|
-
"processing": "يعالج ...",
|
|
138
|
-
"warning": "تحذير",
|
|
139
|
-
"skipServicesWarning": "الخدمات التالية لا تزال 'معلقة' وسيتم وضع علامة 'ملغاة' عليها.",
|
|
140
|
-
"confirmSkipServices": "تأكيد وضع علامة 'ملغاة' على الخدمات المذكورة أعلاه.",
|
|
141
|
-
"notInvoiced": "لم يتم إصدار فاتورة لهذه المركبة بعد من قبل شريك الأعمال الموثوق به التالي:",
|
|
142
|
-
"confirmNotInvoiced": "تأكيد المطالبة دون فاتورة شريك الأعمال الموثوق به"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"partLookup": {
|
|
146
|
-
"deadStock": {
|
|
147
|
-
"deadStock": "مخزون ميت",
|
|
148
|
-
"branch": "فرع",
|
|
149
|
-
"availableQuantity": "الكمية المتوفرة"
|
|
150
|
-
},
|
|
151
|
-
"distributor": {
|
|
152
|
-
"info": "معلومات",
|
|
153
|
-
"distributorStock": "موزع الأسهم",
|
|
154
|
-
"availability": "التوفر",
|
|
155
|
-
"notAvailable": "غير متوفر",
|
|
156
|
-
"partiallyAvailable": "متاح جزئيا",
|
|
157
|
-
"available": "متوفر",
|
|
158
|
-
"location": "موقع",
|
|
159
|
-
"description": "وصف",
|
|
160
|
-
"productGroup": "مجموعة المنتجات",
|
|
161
|
-
"localDescription": "وصف $",
|
|
162
|
-
"dealerPurchasePrice": "سعر شراء التاجر",
|
|
163
|
-
"recommendedRetailPrice": "سعر التجزئة الموصى به",
|
|
164
|
-
"supersededFrom": "تم استبداله من",
|
|
165
|
-
"supersessions": "البدائل"
|
|
166
|
-
},
|
|
167
|
-
"manufacturer": {
|
|
168
|
-
"origin": "أصل",
|
|
169
|
-
"warrantyPrice": "سعر الضمان",
|
|
170
|
-
"specialPrice": "سعر خاص",
|
|
171
|
-
"wholesalesPrice": "سعر الجملة",
|
|
172
|
-
"pnc": "PNC",
|
|
173
|
-
"pncName": "PNC اسم $",
|
|
174
|
-
"binCode": "رمز سلة المهملات",
|
|
175
|
-
"dimension1": "البعد 1",
|
|
176
|
-
"dimension2": "البعد 2",
|
|
177
|
-
"dimension3": "البعد 3",
|
|
178
|
-
"netWeight": "الوزن الصافي",
|
|
179
|
-
"grossWeight": "الوزن الإجمالي",
|
|
180
|
-
"cubicMeasure": "القياس المكعب",
|
|
181
|
-
"hsCode": "رمز HS",
|
|
182
|
-
"uzHsCode": "رمز UZ HS"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
package/dist/locales/en.json
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"lang": "en",
|
|
3
|
-
"direction": "ltr",
|
|
4
|
-
"language": "english",
|
|
5
|
-
"noData": "No data is available.",
|
|
6
|
-
"general": {
|
|
7
|
-
"close": "Close",
|
|
8
|
-
"submit": "Submit",
|
|
9
|
-
"noSelectOptions": "There is no options.",
|
|
10
|
-
"formSubmittedSuccessfully": "Form Submitted Successfully."
|
|
11
|
-
},
|
|
12
|
-
"errors": {
|
|
13
|
-
"invalidVin": "Invalid VIN",
|
|
14
|
-
"noPartsFound": "No parts found",
|
|
15
|
-
"noBaseUrl": "Please provide base-url",
|
|
16
|
-
"vinNumberRequired": "VIN is required",
|
|
17
|
-
"noServiceAvailable": "No Service Available",
|
|
18
|
-
"wrongResponseFormat": "Wrong response format",
|
|
19
|
-
"partNumberRequired": "Part Number is Required",
|
|
20
|
-
"wrongFormStructure": "The form structure in invalid.",
|
|
21
|
-
"wildCard": "An unexpected error occurred please try again later.",
|
|
22
|
-
"requestFailedPleaseTryAgainLater": "Request failed please try again later"
|
|
23
|
-
},
|
|
24
|
-
"generalTicketTypes": {
|
|
25
|
-
"TLP": "TLP",
|
|
26
|
-
"Complaint": "Complaint",
|
|
27
|
-
"PartInquiry": "PartInquiry",
|
|
28
|
-
"SalesCampaign": "SalesCampaign",
|
|
29
|
-
"GeneralInquiry": "General Inquiry",
|
|
30
|
-
"ServiceCampaign": "ServiceCampaign",
|
|
31
|
-
"InstallmentPayment": "InstallmentPayment",
|
|
32
|
-
"ServicePriceInquiry": "ServicePriceInquiry"
|
|
33
|
-
},
|
|
34
|
-
"forms": {
|
|
35
|
-
"reCaptchaIsRequired": "Required Captcha",
|
|
36
|
-
"inputValueIsIncorrect": "Field value is incorrect.",
|
|
37
|
-
|
|
38
|
-
"contactUs": {
|
|
39
|
-
"fullName": "Full Name",
|
|
40
|
-
"fullNameIsRequired": "Full Name is required.",
|
|
41
|
-
"fullNameMinimum": "Full Name must be 3 characters or more.",
|
|
42
|
-
"emailAddress": "Email Address",
|
|
43
|
-
"emailAddressNotValid": "Please enter a valid email address.",
|
|
44
|
-
"city": "City",
|
|
45
|
-
"selectCity": "Select a city.",
|
|
46
|
-
"cityIsRequired": "City is required.",
|
|
47
|
-
"phoneNumber": "Phone Number",
|
|
48
|
-
"phoneNumberIsRequired": "Phone Number is Required.",
|
|
49
|
-
"phoneNumberFormatInvalid": "Phone Number format is invalid.",
|
|
50
|
-
"inquiryType": "Inquiry Type",
|
|
51
|
-
"selectInquiryType": "Select Inquiry Type",
|
|
52
|
-
"inquiryTypeIsRequired": "Inquiry Type is required.",
|
|
53
|
-
"writeAMessage": "Write a Message",
|
|
54
|
-
"leaveUsMessage": "Leave us a Message",
|
|
55
|
-
"messageIsRequired": "Message is required."
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"vehicleLookup": {
|
|
59
|
-
"warranty": {
|
|
60
|
-
"authorized": "Authorized",
|
|
61
|
-
"unauthorized": "Unauthorized",
|
|
62
|
-
"activeWarranty": "Has Active Warranty",
|
|
63
|
-
"notActiveWarranty": "Doesn't Have Active Warranty",
|
|
64
|
-
"notInvoiced": "Warranty is not Active because this Vehicle is not Invoiced by the following Trusted Business Partner: ",
|
|
65
|
-
"from": "Form",
|
|
66
|
-
"to": "To",
|
|
67
|
-
"pendingSSC": "This Vehicle has a Pending SSC",
|
|
68
|
-
"noPendingSSC": "No Pending SSC",
|
|
69
|
-
"checkingTMC": "Checking TMC",
|
|
70
|
-
"sscCampings": "SSC Campings",
|
|
71
|
-
"sscTableCode": "Code",
|
|
72
|
-
"sscTableDescription": "Description",
|
|
73
|
-
"sscTableRepairStatus": "Repair Status",
|
|
74
|
-
"sscTableOPCode": "OP-Codes",
|
|
75
|
-
"sscTablePartNumber": "Part Number"
|
|
76
|
-
},
|
|
77
|
-
"specification": {
|
|
78
|
-
"vehicleSpecification": "Vehicle Specifications",
|
|
79
|
-
"noData": "No data is available.",
|
|
80
|
-
"model": "Model",
|
|
81
|
-
"variant": "Variant",
|
|
82
|
-
"katashiki": "Katashiki",
|
|
83
|
-
"modelYear": "Model Year",
|
|
84
|
-
"sfx": "SFX",
|
|
85
|
-
"productionDate": "Production Year"
|
|
86
|
-
},
|
|
87
|
-
"accessories": {
|
|
88
|
-
"vehicleAccessories": "Vehicle Accessories",
|
|
89
|
-
"noData": "No data is available.",
|
|
90
|
-
"partNumber": "Part Number",
|
|
91
|
-
"description": "Description",
|
|
92
|
-
"image": "Image",
|
|
93
|
-
"expand": "Expand"
|
|
94
|
-
},
|
|
95
|
-
"serviceHistory": {
|
|
96
|
-
"serviceHistory": "Service History",
|
|
97
|
-
"noData": "No data is available.",
|
|
98
|
-
"branch": "Branch",
|
|
99
|
-
"dealer": "Dealer",
|
|
100
|
-
"invoiceNumber": "Invoice No.",
|
|
101
|
-
"date": "Date",
|
|
102
|
-
"serviceType": "Service Type",
|
|
103
|
-
"odometer": "Odometer"
|
|
104
|
-
},
|
|
105
|
-
"paintThickness": {
|
|
106
|
-
"paintThickness": "Paint Thickness",
|
|
107
|
-
"noData": "No data is available.",
|
|
108
|
-
"part": "Part",
|
|
109
|
-
"left": "Left",
|
|
110
|
-
"right": "Right",
|
|
111
|
-
"noImageGroups": "No image groups are available.",
|
|
112
|
-
"expand": "Expand"
|
|
113
|
-
},
|
|
114
|
-
"dynamicClaim": {
|
|
115
|
-
"serviceType": "Service Type",
|
|
116
|
-
"activationDate": "Activation Date",
|
|
117
|
-
"expireDate": "Expiry Date",
|
|
118
|
-
"claimAt": "Claimed At",
|
|
119
|
-
"redeemingDealer": "Redeeming Dealer",
|
|
120
|
-
"invoiceNumber": "Invoice Number",
|
|
121
|
-
"wip": "WIP",
|
|
122
|
-
"menuCode": "Menu Code",
|
|
123
|
-
"claim": "Claim",
|
|
124
|
-
"processed": "Processed",
|
|
125
|
-
"expired": "Expired",
|
|
126
|
-
"cancelled": "Cancelled",
|
|
127
|
-
"pending": "Pending",
|
|
128
|
-
"warning": "Warning"
|
|
129
|
-
},
|
|
130
|
-
"dynamicRedeem": {
|
|
131
|
-
"serviceType": "Service Type",
|
|
132
|
-
"name": "Name",
|
|
133
|
-
"activationDate": "Activation Date",
|
|
134
|
-
"expireDate": "Expiry Date",
|
|
135
|
-
"menuCode": "Menu Code",
|
|
136
|
-
"scanTheInvoice": "Scan the Invoice",
|
|
137
|
-
"processing": "Processing ...",
|
|
138
|
-
"warning": "Warning",
|
|
139
|
-
"skipServicesWarning": "the following Services Are still 'Pending' and they will be marked as 'Cancelled'.",
|
|
140
|
-
"confirmSkipServices": "Confirm Marking the above services as 'Cancelled'.",
|
|
141
|
-
"notInvoiced": "This Vehicle is not yet invoiced by the following Trusted Business Partner:",
|
|
142
|
-
"confirmNotInvoiced": "Confirm Claiming without Trusted Business Partner Invoice"
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
"partLookup": {
|
|
146
|
-
"deadStock": {
|
|
147
|
-
"deadStock": "Dead Stock",
|
|
148
|
-
"branch": "Branch",
|
|
149
|
-
"availableQuantity": "Available Qty"
|
|
150
|
-
},
|
|
151
|
-
"distributor": {
|
|
152
|
-
"info": "Info",
|
|
153
|
-
"distributorStock": "Distributor Stock",
|
|
154
|
-
"availability": "Availability",
|
|
155
|
-
"notAvailable": "Not Available",
|
|
156
|
-
"partiallyAvailable": "Partially Available",
|
|
157
|
-
"available": "Available",
|
|
158
|
-
"location": "Location",
|
|
159
|
-
"description": "Description",
|
|
160
|
-
"productGroup": "Product Group",
|
|
161
|
-
"localDescription": "$ Description",
|
|
162
|
-
"dealerPurchasePrice": "Dealer Purchase price",
|
|
163
|
-
"recommendedRetailPrice": "Recommended Retail price",
|
|
164
|
-
"supersededFrom": "Superseded From",
|
|
165
|
-
"supersessions": "Supersessions"
|
|
166
|
-
},
|
|
167
|
-
"manufacturer": {
|
|
168
|
-
"origin": "Origin",
|
|
169
|
-
"warrantyPrice": "Warranty Price",
|
|
170
|
-
"specialPrice": "Special Price",
|
|
171
|
-
"wholesalesPrice": "Wholesales Price",
|
|
172
|
-
"pnc": "PNC",
|
|
173
|
-
"pncName": "PNC $ Name",
|
|
174
|
-
"binCode": "Bin Code",
|
|
175
|
-
"dimension1": "Dimension 1",
|
|
176
|
-
"dimension2": "Dimension 2",
|
|
177
|
-
"dimension3": "Dimension 3",
|
|
178
|
-
"netWeight": "Net Weight",
|
|
179
|
-
"grossWeight": "Gross Weight",
|
|
180
|
-
"cubicMeasure": "Cubic Measure",
|
|
181
|
-
"hsCode": "HS Code",
|
|
182
|
-
"uzHsCode": "UZ HS Code"
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|