adp-web-components 0.0.65 → 0.0.67
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/app-globals-4aa8f46f.js +46 -0
- package/dist/cjs/cn-f559f9e5.js +2588 -0
- package/dist/cjs/contact-us-form.cjs.entry.js +209 -0
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +445 -0
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +1180 -0
- package/dist/cjs/dynamic-redeem.cjs.entry.js +156 -0
- package/dist/cjs/form-dialog_8.cjs.entry.js +503 -0
- package/dist/cjs/get-local-language-ec0e41e0.js +2381 -0
- package/dist/cjs/index-603d8f32.js +1610 -0
- package/dist/cjs/index.cjs.js +6 -0
- package/dist/cjs/loader-baf2418b.js +9 -0
- package/dist/cjs/loader.cjs.js +19 -0
- package/dist/cjs/loading-spinner.cjs.entry.js +27 -0
- package/dist/cjs/part-lookup.cjs.entry.js +129 -0
- package/dist/cjs/service-booking-form.cjs.entry.js +209 -0
- package/dist/cjs/shift-components.cjs.js +29 -0
- package/dist/cjs/urls-9077b31c.js +4874 -0
- package/dist/cjs/vehicle-lookup.cjs.entry.js +203 -0
- package/dist/collection/collection-manifest.json +35 -0
- package/dist/collection/components/components/loading-spinner.css +1 -0
- package/dist/collection/components/components/loading-spinner.js +47 -0
- package/dist/collection/components/form-elements/form-dialog.css +1 -0
- package/dist/collection/components/form-elements/form-dialog.js +137 -0
- package/dist/collection/components/form-elements/form-input.css +1 -0
- package/dist/collection/components/form-elements/form-input.js +323 -0
- package/dist/collection/components/form-elements/form-select.css +1 -0
- package/dist/collection/components/form-elements/form-select.js +400 -0
- package/dist/collection/components/form-elements/form-shadow-input.css +1 -0
- package/dist/collection/components/form-elements/form-shadow-input.js +100 -0
- package/dist/collection/components/form-elements/form-structure-error.css +1 -0
- package/dist/collection/components/form-elements/form-structure-error.js +72 -0
- package/dist/collection/components/form-elements/form-structure.css +1 -0
- package/dist/collection/components/form-elements/form-structure.js +269 -0
- package/dist/collection/components/form-elements/form-submit.css +1 -0
- package/dist/collection/components/form-elements/form-submit.js +140 -0
- package/dist/collection/components/form-elements/form-text-area.css +1 -0
- package/dist/collection/components/form-elements/form-text-area.js +264 -0
- package/dist/collection/components/forms/contact-us/element-mapper.js +87 -0
- package/dist/collection/components/forms/contact-us/form.css +1 -0
- package/dist/collection/components/forms/contact-us/validations.js +19 -0
- package/dist/collection/components/forms/contact-us-form.js +280 -0
- package/dist/collection/components/forms/service-booking/element-mapper.js +87 -0
- package/dist/collection/components/forms/service-booking/form.css +1 -0
- package/dist/collection/components/forms/service-booking/validations.js +19 -0
- package/dist/collection/components/forms/service-booking-form.js +280 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +405 -0
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -0
- package/dist/collection/components/part-lookup/distributor-lookup.js +470 -0
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -0
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +468 -0
- package/dist/collection/components/part-lookup/part-lookup.css +1 -0
- package/dist/collection/components/part-lookup/part-lookup.js +376 -0
- package/dist/collection/components/vehicle-lookup/assets/cancelled.svg +8 -0
- package/dist/collection/components/vehicle-lookup/assets/check.svg +4 -0
- package/dist/collection/components/vehicle-lookup/assets/expired.svg +9 -0
- package/dist/collection/components/vehicle-lookup/assets/loader.svg +11 -0
- package/dist/collection/components/vehicle-lookup/assets/pending.svg +9 -0
- package/dist/collection/components/vehicle-lookup/assets/processed.svg +9 -0
- package/dist/collection/components/vehicle-lookup/assets/x-mark.svg +4 -0
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +13 -0
- package/dist/collection/components/vehicle-lookup/components/Loading.js +10 -0
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +16 -0
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +11 -0
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +1 -0
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +662 -0
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +1 -0
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +373 -0
- package/dist/collection/components/vehicle-lookup/paint-thickness.css +1 -0
- package/dist/collection/components/vehicle-lookup/paint-thickness.js +410 -0
- package/dist/collection/components/vehicle-lookup/service-history.css +1 -0
- package/dist/collection/components/vehicle-lookup/service-history.js +393 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +414 -0
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +406 -0
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -0
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +405 -0
- package/dist/collection/components/vehicle-lookup/warranty-details.css +1 -0
- package/dist/collection/components/vehicle-lookup/warranty-details.js +780 -0
- package/dist/collection/global/api/partInformation.js +32 -0
- package/dist/collection/global/api/urls.js +6 -0
- package/dist/collection/global/api/vehicleInformation.js +48 -0
- package/dist/collection/global/assets/eye.svg +5 -0
- package/dist/collection/global/assets/loader.svg +11 -0
- package/dist/collection/global/assets/white-loader.svg +11 -0
- package/dist/collection/global/lib/cn.js +9 -0
- package/dist/collection/global/lib/form-hook.js +162 -0
- package/dist/collection/global/lib/general.js +9 -0
- package/dist/collection/global/lib/get-local-language.js +20 -0
- package/dist/collection/global/lib/image-expansion.js +69 -0
- package/dist/collection/global/lib/middleware.js +39 -0
- package/dist/collection/global/lib/recaptcha.js +25 -0
- package/dist/collection/global/lib/utils.js +7 -0
- package/dist/collection/global/lib/validate-form-structure.js +47 -0
- package/dist/collection/global/lib/validate-vin.js +62 -0
- package/dist/collection/global/types/components.js +1 -0
- package/dist/collection/global/types/forms.js +1 -0
- package/dist/collection/global/types/general.js +1 -0
- package/dist/collection/global/types/locales/error-schema.js +17 -0
- package/dist/collection/global/types/locales/forms/contact-us-schema.js +24 -0
- package/dist/collection/global/types/locales/forms/index.js +11 -0
- package/dist/collection/global/types/locales/general.js +11 -0
- package/dist/collection/global/types/locales/index.js +33 -0
- package/dist/collection/global/types/locales/inquiryTypes.js +15 -0
- package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +10 -0
- package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +21 -0
- package/dist/collection/global/types/locales/part-lookup/index.js +13 -0
- package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +22 -0
- package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +13 -0
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +21 -0
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +19 -0
- package/dist/collection/global/types/locales/vehicle-lookup/index.js +21 -0
- package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +14 -0
- package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +15 -0
- package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +15 -0
- package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +23 -0
- package/dist/collection/global/types/part-information.js +1 -0
- package/dist/collection/global/types/vehicle-information.js +5 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/templates/part-lookup/mock-data.js +199 -0
- package/dist/collection/templates/vehicle-lookup/mock-data.js +4165 -0
- package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +285 -0
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +3064 -0
- package/dist/components/contact-us-form.d.ts +11 -0
- package/dist/components/contact-us-form.js +5 -0
- package/dist/components/dead-stock-lookup.d.ts +11 -0
- package/dist/components/dead-stock-lookup.js +5 -0
- package/dist/components/distributor-lookup.d.ts +11 -0
- package/dist/components/distributor-lookup.js +5 -0
- package/dist/components/dynamic-claim.d.ts +11 -0
- package/dist/components/dynamic-claim.js +5 -0
- package/dist/components/dynamic-redeem.d.ts +11 -0
- package/dist/components/dynamic-redeem.js +5 -0
- package/dist/components/form-dialog.d.ts +11 -0
- package/dist/components/form-dialog.js +5 -0
- package/dist/components/form-input.d.ts +11 -0
- package/dist/components/form-input.js +5 -0
- package/dist/components/form-select.d.ts +11 -0
- package/dist/components/form-select.js +5 -0
- package/dist/components/form-shadow-input.d.ts +11 -0
- package/dist/components/form-shadow-input.js +5 -0
- package/dist/components/form-structure-error.d.ts +11 -0
- package/dist/components/form-structure-error.js +5 -0
- package/dist/components/form-structure.d.ts +11 -0
- package/dist/components/form-structure.js +5 -0
- package/dist/components/form-submit.d.ts +11 -0
- package/dist/components/form-submit.js +5 -0
- package/dist/components/form-text-area.d.ts +11 -0
- package/dist/components/form-text-area.js +5 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +5 -0
- package/dist/components/loading-spinner.d.ts +11 -0
- package/dist/components/loading-spinner.js +5 -0
- package/dist/components/manufacturer-lookup.d.ts +11 -0
- package/dist/components/manufacturer-lookup.js +5 -0
- package/dist/components/p-00d97183.js +5 -0
- package/dist/components/p-1e9e4abd.js +5 -0
- package/dist/components/p-1f001d39.js +5 -0
- package/dist/components/p-1fe65d6e.js +5 -0
- package/dist/components/p-3f19382d.js +5 -0
- package/dist/components/p-5b4b3060.js +5 -0
- package/dist/components/p-5d3cc3c1.js +5 -0
- package/dist/components/p-6055174a.js +5 -0
- package/dist/components/p-6e3ab655.js +5 -0
- package/dist/components/p-73a5d441.js +5 -0
- package/dist/components/p-75476014.js +5 -0
- package/dist/components/p-810e84ab.js +5 -0
- package/dist/components/p-8b1d90d7.js +5 -0
- package/dist/components/p-927296bb.js +5 -0
- package/dist/components/p-932ff922.js +5 -0
- package/dist/components/p-98d9e7ab.js +5 -0
- package/dist/components/p-a21e2e2e.js +5 -0
- package/dist/components/p-a2c14be5.js +5 -0
- package/dist/components/p-a57338da.js +5 -0
- package/dist/components/p-bacd1638.js +5 -0
- package/dist/components/p-c526513b.js +5 -0
- package/dist/components/p-cb600b18.js +5 -0
- package/dist/components/p-ceea200f.js +5 -0
- package/dist/components/p-cefc0575.js +5 -0
- package/dist/components/p-d5ff7544.js +5 -0
- package/dist/components/p-e2158fc6.js +5 -0
- package/dist/components/p-fab97ac7.js +5 -0
- package/dist/components/paint-thickness.d.ts +11 -0
- package/dist/components/paint-thickness.js +5 -0
- package/dist/components/part-lookup.d.ts +11 -0
- package/dist/components/part-lookup.js +5 -0
- package/dist/components/service-booking-form.d.ts +11 -0
- package/dist/components/service-booking-form.js +5 -0
- package/dist/components/service-history.d.ts +11 -0
- package/dist/components/service-history.js +5 -0
- package/dist/components/vehicle-accessories.d.ts +11 -0
- package/dist/components/vehicle-accessories.js +5 -0
- package/dist/components/vehicle-lookup.d.ts +11 -0
- package/dist/components/vehicle-lookup.js +5 -0
- package/dist/components/vehicle-specification.d.ts +11 -0
- package/dist/components/vehicle-specification.js +5 -0
- package/dist/components/warranty-details.d.ts +11 -0
- package/dist/components/warranty-details.js +5 -0
- package/dist/esm/app-globals-68faa233.js +44 -0
- package/dist/esm/cn-cc419b94.js +2586 -0
- package/dist/esm/contact-us-form.entry.js +205 -0
- package/dist/esm/dead-stock-lookup_3.entry.js +439 -0
- package/dist/esm/dynamic-claim_6.entry.js +1171 -0
- package/dist/esm/dynamic-redeem.entry.js +152 -0
- package/dist/esm/form-dialog_8.entry.js +492 -0
- package/dist/esm/get-local-language-98c26a89.js +2376 -0
- package/dist/esm/index-cac905b0.js +1581 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/loader-027b88af.js +7 -0
- package/dist/esm/loader.js +15 -0
- package/dist/esm/loading-spinner.entry.js +23 -0
- package/dist/esm/part-lookup.entry.js +125 -0
- package/dist/esm/service-booking-form.entry.js +205 -0
- package/dist/esm/shift-components.js +24 -0
- package/dist/esm/urls-e22234f9.js +4870 -0
- package/dist/esm/vehicle-lookup.entry.js +199 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/locales/ar.json +185 -0
- package/dist/locales/en.json +185 -0
- package/dist/locales/ku.json +185 -0
- package/dist/locales/ru.json +185 -0
- package/dist/shift-components/index.esm.js +4 -0
- package/dist/shift-components/p-014f3fba.entry.js +5 -0
- package/dist/shift-components/p-0739b7d7.entry.js +5 -0
- package/dist/shift-components/p-446d908d.js +5 -0
- package/dist/shift-components/p-46878289.entry.js +5 -0
- package/dist/shift-components/p-62c8eed3.entry.js +5 -0
- package/dist/shift-components/p-65102e7a.js +6 -0
- package/dist/shift-components/p-65a5ebdf.entry.js +5 -0
- package/dist/shift-components/p-87f8fbb3.entry.js +5 -0
- package/dist/shift-components/p-8830682d.entry.js +5 -0
- package/dist/shift-components/p-932ff922.js +5 -0
- package/dist/shift-components/p-98d9e7ab.js +5 -0
- package/dist/shift-components/p-a21e2e2e.js +5 -0
- package/dist/shift-components/p-c06844c1.js +5 -0
- package/dist/shift-components/p-da1511a0.entry.js +5 -0
- package/dist/shift-components/p-f68052c1.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +5 -0
- package/dist/types/components/components/loading-spinner.d.ts +4 -0
- package/dist/types/components/form-elements/form-dialog.d.ts +13 -0
- package/dist/types/components/form-elements/form-input.d.ts +28 -0
- package/dist/types/components/form-elements/form-select.d.ts +39 -0
- package/dist/types/components/form-elements/form-shadow-input.d.ts +9 -0
- package/dist/types/components/form-elements/form-structure-error.d.ts +8 -0
- package/dist/types/components/form-elements/form-structure.d.ts +23 -0
- package/dist/types/components/form-elements/form-submit.d.ts +12 -0
- package/dist/types/components/form-elements/form-text-area.d.ts +24 -0
- package/dist/types/components/forms/contact-us/element-mapper.d.ts +3 -0
- package/dist/types/components/forms/contact-us/validations.d.ts +26 -0
- package/dist/types/components/forms/contact-us-form.d.ts +32 -0
- package/dist/types/components/forms/service-booking/element-mapper.d.ts +3 -0
- package/dist/types/components/forms/service-booking/validations.d.ts +26 -0
- package/dist/types/components/forms/service-booking-form.d.ts +32 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +31 -0
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +32 -0
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +33 -0
- package/dist/types/components/part-lookup/part-lookup.d.ts +43 -0
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +10 -0
- package/dist/types/components/vehicle-lookup/components/Loading.d.ts +5 -0
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +8 -0
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +12 -0
- package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +57 -0
- package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +39 -0
- package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +35 -0
- package/dist/types/components/vehicle-lookup/service-history.d.ts +30 -0
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +35 -0
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +53 -0
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +29 -0
- package/dist/types/components/vehicle-lookup/warranty-details.d.ts +57 -0
- package/dist/types/components.d.ts +764 -0
- package/dist/types/global/api/partInformation.d.ts +19 -0
- package/dist/types/global/api/urls.d.ts +2 -0
- package/dist/types/global/api/vehicleInformation.d.ts +33 -0
- package/dist/types/global/lib/cn.d.ts +2 -0
- package/dist/types/global/lib/form-hook.d.ts +47 -0
- package/dist/types/global/lib/general.d.ts +1 -0
- package/dist/types/global/lib/get-local-language.d.ts +2 -0
- package/dist/types/global/lib/image-expansion.d.ts +9 -0
- package/dist/types/global/lib/middleware.d.ts +0 -0
- package/dist/types/global/lib/recaptcha.d.ts +16 -0
- package/dist/types/global/lib/utils.d.ts +1 -0
- package/dist/types/global/lib/validate-form-structure.d.ts +3 -0
- package/dist/types/global/lib/validate-vin.d.ts +1 -0
- package/dist/types/global/types/components.d.ts +7 -0
- package/dist/types/global/types/forms.d.ts +63 -0
- package/dist/types/global/types/general.d.ts +23 -0
- package/dist/types/global/types/locales/error-schema.d.ts +23 -0
- package/dist/types/global/types/locales/forms/contact-us-schema.d.ts +37 -0
- package/dist/types/global/types/locales/forms/index.d.ts +45 -0
- package/dist/types/global/types/locales/general.d.ts +11 -0
- package/dist/types/global/types/locales/index.d.ts +382 -0
- package/dist/types/global/types/locales/inquiryTypes.d.ts +19 -0
- package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +9 -0
- package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +31 -0
- package/dist/types/global/types/locales/part-lookup/index.d.ts +79 -0
- package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +33 -0
- package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +15 -0
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +31 -0
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +27 -0
- package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +173 -0
- package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +17 -0
- package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +19 -0
- package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +19 -0
- package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +35 -0
- package/dist/types/global/types/part-information.d.ts +53 -0
- package/dist/types/global/types/vehicle-information.d.ts +172 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/loader/cdn.js +5 -0
- package/loader/index.cjs.js +5 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +5 -0
- package/loader/index.js +6 -0
- package/loader/package.json +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,199 @@
|
|
|
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-98c26a89.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%}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.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}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.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}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.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}.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}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.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))}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}";
|
|
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
|
+
this.componentsList[componentTags.dynamicClaim].headers = headers;
|
|
156
|
+
if (!activeElement)
|
|
157
|
+
return;
|
|
158
|
+
if (vin == '')
|
|
159
|
+
return (this.wrapperErrorState = this.locale.errors.vinNumberRequired);
|
|
160
|
+
if (!validateVin(vin))
|
|
161
|
+
return (this.wrapperErrorState = this.locale.errors.invalidVin);
|
|
162
|
+
activeElement.fetchData(vin, headers);
|
|
163
|
+
}
|
|
164
|
+
render() {
|
|
165
|
+
const props = {
|
|
166
|
+
[componentTags.dynamicClaim]: {},
|
|
167
|
+
[componentTags.paintThickness]: {},
|
|
168
|
+
[componentTags.serviceHistory]: {},
|
|
169
|
+
[componentTags.warrantyDetails]: {},
|
|
170
|
+
[componentTags.vehicleAccessories]: {},
|
|
171
|
+
[componentTags.vehicleSpecification]: {},
|
|
172
|
+
};
|
|
173
|
+
try {
|
|
174
|
+
if (this.childrenProps) {
|
|
175
|
+
let parsedProps = {};
|
|
176
|
+
if (typeof this.childrenProps === 'string')
|
|
177
|
+
parsedProps = JSON.parse(this.childrenProps);
|
|
178
|
+
else if (typeof this.childrenProps === 'object')
|
|
179
|
+
parsedProps = this.childrenProps;
|
|
180
|
+
Object.keys(props).forEach(key => {
|
|
181
|
+
if (typeof parsedProps[key] === 'object')
|
|
182
|
+
props[key] = parsedProps[key];
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
catch (error) {
|
|
187
|
+
console.error(error);
|
|
188
|
+
}
|
|
189
|
+
return (h(Host, { key: 'aee8f14d7065c7fbf834cb1052ee27b11198e474' }, h("div", { key: '0c6b307f5718b8f264439696e720f08d0edc4cec', class: cn('w-full', { hidden: this.activeElement !== componentTags.vehicleSpecification }) }, h("vehicle-specification", Object.assign({ key: 'aa0ce7dbaf992558bc239807bf061ac348a258e8', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleSpecification]))), h("div", { key: '96b2781d65d32548d9254d74be9460ac1850c01e', class: cn('w-full', { hidden: this.activeElement !== componentTags.vehicleAccessories }) }, h("vehicle-accessories", Object.assign({ key: 'b4c72cea572d4d5a4772553d74feeadd23378c45', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.vehicleAccessories]))), h("div", { key: '194822f63c6f626da08699681ba433e6ea8961e5', class: cn('w-full', { hidden: this.activeElement !== componentTags.warrantyDetails }) }, h("warranty-details", Object.assign({ key: '0c43d1d288df8082c37ff1cf3f55c2862ccbc7f8', "show-ssc": "true", "show-warranty": "true", "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.warrantyDetails]), h("slot", { key: '77f21effd0e286d27d8de03831c3d9cf49b3a776' }))), h("div", { key: '0f73cb4bd19af4ef8768f8ca274e199ad097c27b', class: cn('w-full', { hidden: this.activeElement !== componentTags.serviceHistory }) }, h("service-history", Object.assign({ key: 'f11d292b88ac18976b11434c636504b5d478f918', language: this.language, "base-url": this.baseUrl, "query-string": this.queryString }, props[componentTags.serviceHistory]))), h("div", { key: '32b50f6dd7f90a86ed96153dd0f814467731fb6e', class: cn('w-full', { hidden: this.activeElement !== componentTags.paintThickness }) }, h("paint-thickness", Object.assign({ key: 'b50407e2095ce9a1ec0da58e9e436345dada5f31', "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.paintThickness]))), h("div", { key: '476a554bf84f597397c3c4f452e25f8b6bbf8055', class: cn('w-full', { hidden: this.activeElement !== componentTags.dynamicClaim }) }, h("dynamic-claim", Object.assign({ key: 'e731e1750221c1b6cd454bc209fc9fd2b8f83857' }, props[componentTags.dynamicClaim], { language: this.language, "base-url": this.baseUrl, "query-string": this.queryString })))));
|
|
190
|
+
}
|
|
191
|
+
get el() { return getElement(this); }
|
|
192
|
+
static get watchers() { return {
|
|
193
|
+
"language": ["changeLanguage"],
|
|
194
|
+
"wrapperErrorState": ["errorListener"]
|
|
195
|
+
}; }
|
|
196
|
+
};
|
|
197
|
+
VehicleLookup.style = VehicleLookupStyle0;
|
|
198
|
+
|
|
199
|
+
export { VehicleLookup as vehicle_lookup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./cjs/index.cjs.js');
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './esm/index.js';
|
|
@@ -0,0 +1,185 @@
|
|
|
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
|
+
"jobNumber": "Job Number",
|
|
122
|
+
"packageCode": "كود القائمة",
|
|
123
|
+
"claim": "مطالبة",
|
|
124
|
+
"processed": "تمت معالجته",
|
|
125
|
+
"expired": "منتهي الصلاحية",
|
|
126
|
+
"cancelled": "تم الغاء",
|
|
127
|
+
"pending": "قيد الانتظار",
|
|
128
|
+
"warning": "تحذير"
|
|
129
|
+
},
|
|
130
|
+
"dynamicRedeem": {
|
|
131
|
+
"serviceType": "نوع الخدمة",
|
|
132
|
+
"name": "اسم",
|
|
133
|
+
"activationDate": "تاريخ التفعيل",
|
|
134
|
+
"expireDate": "تاريخ انتهاء الصلاحية",
|
|
135
|
+
"packageCode": "كود القائمة",
|
|
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
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
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
|
+
"jobNumber": "Job Number",
|
|
122
|
+
"packageCode": "Package 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
|
+
"packageCode": "Package 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
|
+
}
|