adp-web-components 0.0.30 → 0.0.32
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/dead-stock-lookup.cjs.entry.js +16 -4
- package/dist/cjs/distributor-lookup.cjs.entry.js +15 -3
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +21 -13
- package/dist/cjs/dynamic-redeem.cjs.entry.js +1 -1
- package/dist/cjs/{get-local-language-42973450.js → get-local-language-6b6b182f.js} +2 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/manufacturer-lookup.cjs.entry.js +16 -4
- package/dist/cjs/{partInformation-2b4e0593.js → partInformation-16ea1f8e.js} +1 -1
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +45 -6
- package/dist/collection/components/part-lookup/distributor-lookup.js +43 -4
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +45 -6
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +3 -2
- package/dist/collection/components/vehicle-lookup/paint-thickness.js +4 -3
- package/dist/collection/components/vehicle-lookup/service-history.js +2 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +4 -3
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +4 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.js +2 -1
- package/dist/collection/global/api/partInformation.js +1 -1
- package/dist/collection/global/api/vehicleInformation.js +1 -1
- package/dist/collection/global/types/locales/error-schema.js +2 -0
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +0 -9
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/dynamic-claim.js +1 -1
- package/dist/components/dynamic-redeem.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-166573a8.js +5 -0
- package/dist/components/p-27603946.js +5 -0
- package/dist/components/p-41d63f74.js +5 -0
- package/dist/components/p-5d492eec.js +5 -0
- package/dist/components/p-6c720036.js +5 -0
- package/dist/components/p-8b1d90d7.js +5 -0
- package/dist/components/{p-0ae60f32.js → p-9b821a7e.js} +1 -1
- package/dist/components/p-a83ffeb1.js +5 -0
- package/dist/components/p-c76ffad2.js +5 -0
- package/dist/components/{p-6c064413.js → p-e30d8e8f.js} +1 -1
- package/dist/components/p-f99c8b2f.js +5 -0
- package/dist/components/paint-thickness.js +1 -1
- package/dist/components/service-history.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/warranty-details.js +1 -1
- package/dist/esm/dead-stock-lookup.entry.js +16 -4
- package/dist/esm/distributor-lookup.entry.js +15 -3
- package/dist/esm/dynamic-claim_6.entry.js +21 -13
- package/dist/esm/dynamic-redeem.entry.js +1 -1
- package/dist/esm/{get-local-language-85ed0b3b.js → get-local-language-554f1f34.js} +2 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/manufacturer-lookup.entry.js +16 -4
- package/dist/esm/{partInformation-f40b1fe6.js → partInformation-ba1470e1.js} +1 -1
- package/dist/esm/shift-components.js +1 -1
- package/dist/locales/ar.json +4 -12
- package/dist/locales/en.json +4 -12
- package/dist/locales/ku.json +4 -12
- package/dist/shift-components/p-4a5ba0d7.entry.js +5 -0
- package/dist/shift-components/p-60c334c8.entry.js +5 -0
- package/dist/shift-components/p-962897dc.js +5 -0
- package/dist/shift-components/p-9cf24b05.entry.js +5 -0
- package/dist/shift-components/p-a8e5596d.entry.js +5 -0
- package/dist/shift-components/{p-1de8531d.entry.js → p-d075be6d.entry.js} +1 -1
- package/dist/shift-components/p-f99c8b2f.js +5 -0
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +8 -3
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +7 -2
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +7 -2
- package/dist/types/components.d.ts +8 -2
- package/dist/types/global/types/locales/error-schema.d.ts +4 -0
- package/dist/types/global/types/locales/index.d.ts +4 -18
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +0 -18
- package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +0 -18
- package/package.json +1 -1
- package/dist/components/p-1d80419b.js +0 -5
- package/dist/components/p-1ea3089a.js +0 -5
- package/dist/components/p-2e747eb3.js +0 -5
- package/dist/components/p-4f99745c.js +0 -5
- package/dist/components/p-609c2470.js +0 -5
- package/dist/components/p-7360f9b1.js +0 -5
- package/dist/components/p-79ea7639.js +0 -5
- package/dist/components/p-d466b65f.js +0 -5
- package/dist/components/p-eb89583a.js +0 -5
- package/dist/components/p-f691e103.js +0 -5
- package/dist/shift-components/p-062cd94b.entry.js +0 -5
- package/dist/shift-components/p-0e0b69a1.entry.js +0 -5
- package/dist/shift-components/p-2e747eb3.js +0 -5
- package/dist/shift-components/p-c4efbdc3.js +0 -5
- package/dist/shift-components/p-d49f73db.entry.js +0 -5
- package/dist/shift-components/p-e36c54d0.entry.js +0 -5
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8
8
|
|
|
9
9
|
const index = require('./index-846c93d2.js');
|
|
10
|
-
const
|
|
11
|
-
const Loading = require('./Loading-6f4f0127.js');
|
|
10
|
+
const getLocalLanguage = require('./get-local-language-6b6b182f.js');
|
|
12
11
|
const cn = require('./cn-f559f9e5.js');
|
|
12
|
+
const Loading = require('./Loading-6f4f0127.js');
|
|
13
|
+
const partInformation = require('./partInformation-16ea1f8e.js');
|
|
14
|
+
require('./index.esm-c628daeb.js');
|
|
13
15
|
|
|
14
16
|
const deadStockLookupCss = "*,: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{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mb-\\[10px\\]{margin-bottom:10px}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.size-\\[22px\\]{height:22px;width:22px}.h-\\[40px\\]{height:40px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.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))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.rounded-md{border-radius:.375rem}.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))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[20px\\]{padding-left:20px;padding-right:20px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-left{text-align:left}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/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)}.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)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.last\\:border-none:last-child{border-style:none}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}";
|
|
15
17
|
const DeadStockLookupStyle0 = deadStockLookupCss;
|
|
@@ -22,12 +24,20 @@ const DeadStockLookup = class {
|
|
|
22
24
|
this.baseUrl = '';
|
|
23
25
|
this.isDev = false;
|
|
24
26
|
this.queryString = '';
|
|
27
|
+
this.language = 'en';
|
|
25
28
|
this.loadingStateChange = undefined;
|
|
26
29
|
this.loadedResponse = undefined;
|
|
27
30
|
this.state = 'idle';
|
|
28
|
-
this.externalPartNumber = null;
|
|
29
31
|
this.errorMessage = null;
|
|
30
32
|
this.partInformation = undefined;
|
|
33
|
+
this.externalPartNumber = null;
|
|
34
|
+
this.locale = getLocalLanguage.localeSchema.getDefault();
|
|
35
|
+
}
|
|
36
|
+
async componentWillLoad() {
|
|
37
|
+
await this.changeLanguage(this.language);
|
|
38
|
+
}
|
|
39
|
+
async changeLanguage(newLanguage) {
|
|
40
|
+
this.locale = await getLocalLanguage.getLocaleLanguage(newLanguage);
|
|
31
41
|
}
|
|
32
42
|
handleSettingData(response) {
|
|
33
43
|
this.partInformation = response;
|
|
@@ -67,6 +77,7 @@ const DeadStockLookup = class {
|
|
|
67
77
|
catch (error) {
|
|
68
78
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
69
79
|
return;
|
|
80
|
+
console.error(error);
|
|
70
81
|
this.state = 'error';
|
|
71
82
|
this.partInformation = null;
|
|
72
83
|
this.errorMessage = error.message;
|
|
@@ -101,11 +112,12 @@ const DeadStockLookup = class {
|
|
|
101
112
|
}
|
|
102
113
|
render() {
|
|
103
114
|
var _a, _b;
|
|
104
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '6e4ae6ad08a5ddc15fe5146953d1d2a07038835d' }, index.h("div", { key: '85c386f5c877f71d064be8f308e4408c01155eb1', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '71930858160fcaacfe90d18bea2c48bb413c9e9c' }, index.h(Loading.Loading, { key: '4d1f90ee35055e7046b0df380a631b8ca65aa62f', isLoading: this.state.includes('loading') }), index.h("div", { key: 'b5c3e8ec0f8560363f8268e1975c7ca039b6edbb', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '3e928834d4562f5cbe05e451768b668fc9067e61', class: "py-[16px]" }, index.h("div", { key: '6dd21bc59f9636a706f4094364eeab7141a88c52', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '415d90744dd72e7d7f4e65ca2e83e16131f33c62' }, index.h("div", { key: 'a659d9b44da828b63f8896c45dcffff3e9e0931f', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '1e55efab0617d36b8f3b816bc391a828fcd3089c', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Dead stock"), (_b = (_a = this.partInformation) === null || _a === void 0 ? void 0 : _a.deadStock) === null || _b === void 0 ? void 0 :
|
|
105
116
|
_b.map(deadStock => (index.h("div", { key: deadStock.companyIntegrationID, class: "py-[10px] px-[20px]" }, index.h("div", { "aria-expanded": "false", style: { height: closedAccordionHeight }, class: "border shadow transition-all duration-500 overflow-hidden rounded-md mb-[10px] border-[#d6d8dc]" }, index.h("button", { onClick: this.toggleAccordion, style: { height: closedAccordionHeight }, class: "w-full flex px-[10px] justify-between items-center text-slate-800" }, index.h("strong", null, deadStock.companyName), index.h("span", { class: "icon text-slate-800 transition-transform duration-500" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", class: "size-[22px]" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.78 9.78a.75.75 0 0 1-1.06 0L8 7.06 5.28 9.78a.75.75 0 0 1-1.06-1.06l3.25-3.25a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06Z" })))), index.h("div", { class: "content" }, index.h("table", { class: "w-full overflow-auto relative border-collapse" }, index.h("thead", null, index.h("tr", null, index.h("th", { class: "py-[20px] px-[10px] text-left whitespace-nowrap border-b border-[#d6d8dc]" }, "Branch"), index.h("th", { class: "py-[20px] px-[10px] text-left whitespace-nowrap border-b border-[#d6d8dc]" }, "Available Qty"))), index.h("tbody", null, deadStock === null || deadStock === void 0 ? void 0 : deadStock.branchDeadStock.map(branchDeadStock => (index.h("tr", { class: "transition-colors border-b border-[#d6d8dc] last:border-none duration-100 hover:bg-slate-100", key: branchDeadStock.companyBranchIntegrationID }, index.h("td", { class: cn.cn('py-[20px] px-[10px] text-left whitespace-nowrap') }, branchDeadStock.companyBranchName), index.h("td", { class: cn.cn('py-[20px] px-[10px] text-left whitespace-nowrap') }, index.h("strong", null, branchDeadStock.quantity))))))))))))))))))));
|
|
106
117
|
}
|
|
107
118
|
get el() { return index.getElement(this); }
|
|
108
119
|
static get watchers() { return {
|
|
120
|
+
"language": ["changeLanguage"],
|
|
109
121
|
"state": ["loadingListener"]
|
|
110
122
|
}; }
|
|
111
123
|
};
|
|
@@ -9,8 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
9
9
|
const index = require('./index-846c93d2.js');
|
|
10
10
|
const cn = require('./cn-f559f9e5.js');
|
|
11
11
|
const general = require('./general-a1e72036.js');
|
|
12
|
-
const
|
|
12
|
+
const getLocalLanguage = require('./get-local-language-6b6b182f.js');
|
|
13
|
+
const partInformation = require('./partInformation-16ea1f8e.js');
|
|
13
14
|
const Loading = require('./Loading-6f4f0127.js');
|
|
15
|
+
require('./index.esm-c628daeb.js');
|
|
14
16
|
|
|
15
17
|
const distributorLookupCss = "*,: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{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.grid{display:grid}.h-\\[40px\\]{height:40px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.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))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.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))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/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-0{padding-left:0;padding-right:0}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-\\[green\\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\\[orange\\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\\[red\\]{--tw-text-opacity:1;color:rgb(255 0 0/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)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.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}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.last\\:border-none:last-child{border-style:none}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}";
|
|
16
18
|
const DistributorLookupStyle0 = distributorLookupCss;
|
|
@@ -23,13 +25,21 @@ const DistributorLookup = class {
|
|
|
23
25
|
this.isDev = false;
|
|
24
26
|
this.queryString = '';
|
|
25
27
|
this.hiddenFields = '';
|
|
28
|
+
this.language = 'en';
|
|
26
29
|
this.localizationName = '';
|
|
27
30
|
this.loadingStateChange = undefined;
|
|
28
31
|
this.loadedResponse = undefined;
|
|
29
32
|
this.state = 'idle';
|
|
30
|
-
this.externalPartNumber = null;
|
|
31
33
|
this.errorMessage = null;
|
|
32
34
|
this.partInformation = undefined;
|
|
35
|
+
this.externalPartNumber = null;
|
|
36
|
+
this.locale = getLocalLanguage.localeSchema.getDefault();
|
|
37
|
+
}
|
|
38
|
+
async componentWillLoad() {
|
|
39
|
+
await this.changeLanguage(this.language);
|
|
40
|
+
}
|
|
41
|
+
async changeLanguage(newLanguage) {
|
|
42
|
+
this.locale = await getLocalLanguage.getLocaleLanguage(newLanguage);
|
|
33
43
|
}
|
|
34
44
|
handleSettingData(response) {
|
|
35
45
|
this.partInformation = response;
|
|
@@ -69,6 +79,7 @@ const DistributorLookup = class {
|
|
|
69
79
|
catch (error) {
|
|
70
80
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
71
81
|
return;
|
|
82
|
+
console.error(error);
|
|
72
83
|
this.state = 'error';
|
|
73
84
|
this.partInformation = null;
|
|
74
85
|
this.errorMessage = error.message;
|
|
@@ -103,7 +114,7 @@ const DistributorLookup = class {
|
|
|
103
114
|
const displayDistributer = this.partInformation
|
|
104
115
|
? !this.partInformation.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold')
|
|
105
116
|
: false;
|
|
106
|
-
return (index.h(index.Host, { key: '
|
|
117
|
+
return (index.h(index.Host, { key: 'e98cdb5d363200db122ed0100f591462c5f37af2' }, index.h("div", { key: 'f4b850d2247759ed7a060064924e0c48356c1527', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '2fbd7dabccc4949c8d8efd6891addde68a429293' }, index.h(Loading.Loading, { key: 'b1e47d98eef64a800ec9bd3a5b069d289bfeeea2', isLoading: this.state.includes('loading') }), index.h("div", { key: '9679d81255f3e0198f8755904e537de4e6afe552', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '4c1d5123ee5b4236885ba1bf1561de631c0efd3a', class: "py-[16px]" }, index.h("div", { key: '17d40851fb8a76d4737a9d224768c9afa592ecda', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '027820e491b435e9cf8ef47357eeb77d147cd161' }, index.h("div", { key: '741d06d76a2d15ccd2b55e727c628123d16bc185', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '03843816d41d722e92d1cbd902f387096e232185', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Info"), index.h("div", { key: 'f61b2d94e6acfd42f3e033d1d7534aa97f920d64', class: "py-[10px] px-[30px] flex flex-col gap-[15px]" }, index.h("div", { key: '14a2be07f2a55f438960edc2517c629fd76664d6', class: "grid grid-cols-3 gap-[50px]" }, displayedFields.map(({ label, value, key }) => (index.h("div", { key: key, class: "flex flex-col flex-1" }, index.h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), index.h("div", { class: "py-[10px] px-0" }, value))))))), displayDistributer && (index.h("div", { key: 'aadd189054ec8a4ed1136a53b5ce0fb61554370c', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'f8c768548a0d9cac69a36bf20b0d28e6da5d0646', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Distributor Stock"), index.h("div", { key: '207802621ce60285f6fa5548c52bdbbde40197fc', class: "flex flex-col gap-[15px]" }, index.h("table", { key: '8e39bc72148d479caf6d8b9c45381f0d77263d98', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'ea6575025fbe61ccbc854ac42c8ea8cadb3d0fcb', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '48a7230029048265e6be05832095aa6bb2614324' }, ['Location', 'Availability'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, title))))), index.h("tbody", { key: '4c5eea82b7b51363f184e8473ab18ad4a4258494' }, (_c = this.partInformation) === null || _c === void 0 ? void 0 : _c.stockParts.map(stock => (index.h("tr", { class: "transition-colors duration-100 border-b border-[#d6d8dc] last:border-none hover:bg-slate-100", key: stock.locationID }, index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, stock.locationName), index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, index.h("div", { class: cn.cn('text-[red]', {
|
|
107
118
|
'text-[green]': stock.quantityLookUpResult === 'Available',
|
|
108
119
|
'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
|
|
109
120
|
}) }, index.h("strong", null, stock.quantityLookUpResult === 'Available'
|
|
@@ -114,6 +125,7 @@ const DistributorLookup = class {
|
|
|
114
125
|
}
|
|
115
126
|
get el() { return index.getElement(this); }
|
|
116
127
|
static get watchers() { return {
|
|
128
|
+
"language": ["changeLanguage"],
|
|
117
129
|
"state": ["loadingListener"]
|
|
118
130
|
}; }
|
|
119
131
|
};
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-846c93d2.js');
|
|
10
10
|
const cn = require('./cn-f559f9e5.js');
|
|
11
|
-
const getLocalLanguage = require('./get-local-language-
|
|
11
|
+
const getLocalLanguage = require('./get-local-language-6b6b182f.js');
|
|
12
12
|
const Loading$1 = require('./Loading-6f4f0127.js');
|
|
13
13
|
require('./index.esm-c628daeb.js');
|
|
14
14
|
|
|
@@ -53,7 +53,7 @@ const getVehicleInformation = async (component, generalProps, headers = {}) => {
|
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
if (!baseUrl)
|
|
56
|
-
throw new Error('
|
|
56
|
+
throw new Error('noBaseUrl');
|
|
57
57
|
const componentHeaders = Object.assign({}, headers);
|
|
58
58
|
Object.entries(vehicleRequestHeaders).forEach(([componentHeaderKey, headerField]) => {
|
|
59
59
|
if (component[componentHeaderKey])
|
|
@@ -159,6 +159,7 @@ const DynamicClaim = class {
|
|
|
159
159
|
catch (error) {
|
|
160
160
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
161
161
|
return;
|
|
162
|
+
console.error(error);
|
|
162
163
|
this.isLoading = false;
|
|
163
164
|
this.vehicleInformation = null;
|
|
164
165
|
this.errorMessage = error.message;
|
|
@@ -340,7 +341,7 @@ const DynamicClaim = class {
|
|
|
340
341
|
var _a, _b;
|
|
341
342
|
const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
|
|
342
343
|
const texts = this.locale.vehicleLookup.dynamicClaim;
|
|
343
|
-
return (index.h(index.Host, { key: '
|
|
344
|
+
return (index.h(index.Host, { key: 'eae03b35a7067f0df313d4d36c1c610a51cb59e6' }, index.h("dynamic-redeem", { key: '4dca53c053a437120a488fea07f85794dd471031', language: this.language, id: "dynamic-redeem" }), index.h("div", { key: '4293fcc2195e751d4118a9064b30a835f76b5fa7', class: cn.cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, index.h("div", { key: '64b1e5073886f1b96ebaf6bccca921d468b81a1a', class: "dynamic-claim-header" }, index.h("strong", { key: '8d652b2ba5b658d633596b3cb67badd0adfcca4f', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && (index.h("span", { key: 'd43a32b705fb761ccdc990e502aa5b614cc0c37e', dir: this.locale.direction, style: { color: 'red' } }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard)), !this.errorMessage && ((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin))), index.h("div", { key: '774e18ad9e0bdce66813cca712bd152f96f3ba29', class: "dynamic-claim-body" }, index.h("div", { key: 'c8ccffc4f5fa61cb0f620530e5b25db5465b04e9', class: "loading-lane" }, index.h("div", { key: 'c8231fcb02ce2f708c2bbf60e5a812c384b42a80', class: "dynamic-claim-loading-slider" }, index.h("div", { key: 'e333b516efe3e89dcb6411b1ca3770812df4fc4f', class: "dynamic-claim-loading-slider-line" }), index.h("div", { key: '659b9698f22a73127bc3c81f18191a799f6d7303', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), index.h("div", { key: 'b4eb0acb6402db195ff118eb7457fa2efd3f2f6c', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), index.h("div", { key: '1ddbadcb901e64352ac23f9ed272ddb066836a50', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
|
|
344
345
|
let statusClass = '';
|
|
345
346
|
if (item.status === 'pending') {
|
|
346
347
|
if (serviceItems.findIndex(i => i.status === 'pending') === idx)
|
|
@@ -349,7 +350,7 @@ const DynamicClaim = class {
|
|
|
349
350
|
else
|
|
350
351
|
statusClass = item.status;
|
|
351
352
|
return (index.h("div", { key: item.name, class: cn.cn('dynamic-claim-item', statusClass), onMouseLeave: this.onMouseLeave }, index.h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-header load-animation", onMouseEnter: event => this.onMouseEnter(event.target, idx) }, index.h("img", { src: icons[item.status], alt: "status icon" }), index.h("span", null, texts[item.status]), this.activePopupIndex === idx && this.createPopup(item)), index.h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-circle load-animation" }), index.h("p", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-footer load-animation" }, item.name)));
|
|
352
|
-
}), index.h("div", { key: '
|
|
353
|
+
}), index.h("div", { key: 'ce4a02398dcde7edb5435837e7830c0bef2266fd', class: "dynamic-claim-progress-bar" }))))));
|
|
353
354
|
}
|
|
354
355
|
get el() { return index.getElement(this); }
|
|
355
356
|
static get watchers() { return {
|
|
@@ -508,6 +509,7 @@ const PaintThickness = class {
|
|
|
508
509
|
catch (error) {
|
|
509
510
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
510
511
|
return;
|
|
512
|
+
console.error(error);
|
|
511
513
|
this.state = 'error';
|
|
512
514
|
this.vehicleInformation = null;
|
|
513
515
|
this.errorMessage = error.message;
|
|
@@ -527,11 +529,11 @@ const PaintThickness = class {
|
|
|
527
529
|
var _a, _b;
|
|
528
530
|
const texts = this.locale.vehicleLookup.paintThickness;
|
|
529
531
|
const { imageGroups, parts } = (this === null || this === void 0 ? void 0 : this.vehicleInformation) ? (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.paintThickness : { imageGroups: [], parts: [] };
|
|
530
|
-
return (index.h(index.Host, { key: '
|
|
532
|
+
return (index.h(index.Host, { key: '63c26e93dfd02ecf3dedb8c02b90c53217ebac74' }, index.h("div", { key: '1afca3004303df017df436308db4f265f86f73c5', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'a13c70ca9d772e7e344db801e12c119698934dcb' }, index.h(Loading$1.Loading, { key: '8e0ec05cb31af7afd60b5d39c58474d081423c0c', isLoading: this.state.includes('loading') }), index.h("div", { key: '8e26c7228bae3709ec604aa76069023a928d5315', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: 'fbbad92f671914f1de952cb9cf3e3a8d987d3170', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '2e86c841565522c2221084fff77787d36af5f0c9', class: "py-[16px]" }, index.h("div", { key: '73c67505be7dfe19ab2dc833ea6fde5d50a118cc', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '00ef9f81a04ce61409ef0fe2d05c5e53c54e8ec9', class: "flex mt-[12px] w-full max-h-[70dvh] overflow-hidden mx-auto rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'a5b578f25ed757ec44575e842b8dcccbe1c6f852', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.paintThickness), index.h("div", { key: '6312fc77ad4169509bd184f38a78fca84c826a55', class: "h-0 overflow-auto flex-1" }, !parts.length && index.h("div", { key: '6effdd6539fb90f4945352c03de92aefda585735', class: "h-[50px] px-[30px] flex items-center justify-center text-[18px]" }, texts.noData), !!parts.length && (index.h("table", { key: '7b873c31bca0834899609894e901efc871ca3bdc', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'e7525470ad10cbb85e2a648a272fb5e33dde9aee', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: 'ae4518825cf0588211b4a8f22056404aa79aab9a' }, ['part', 'left', 'right'].map(title => (index.h("th", { key: title, class: "px-[15px] min-w-[100px] py-[15px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '68b428b4be79e61ecac8024bc763b69dbae763e2' }, parts.map((part, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: part.part }, ['part', 'left', 'right'].map(key => (index.h("td", { key: part.part + key, class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
|
|
531
533
|
'!border-none': idx === parts.length - 1,
|
|
532
|
-
}) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '
|
|
534
|
+
}) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '8960617e47afdc6db66912cca04729e05b7c0c4f' }, !imageGroups.length && index.h("div", { key: 'ff88633f24dab1ab3e1571b95a285b758d9607c9', class: "h-[40px] px-[30px] flex text-red-500 items-center justify-center text-[18px]" }, texts.noImageGroups), !!imageGroups.length && (index.h("div", { key: '838e0f573b5452a5154a92f5f97f613d610c7bf1', class: "py-[16px] gap-[16px] justify-center flex flex-wrap px-[24px] w-full" }, imageGroups.map(imageGroup => (index.h("div", { class: "shrink-0 rounded-lg shadow-sm border overflow-hidden flex flex-col", key: imageGroup.name }, index.h("h1", { class: "text-center border-b bg-slate-200 font-semibold p-[6px]" }, imageGroup.name), index.h("div", { class: "flex p-[12px] gap-[8px]" }, imageGroup.images.map(image => (index.h("div", { class: "flex gap-[8px]", key: image }, index.h("button", { onClick: ({ target }) => this.openImage(target, image), class: "shrink-0 relative ring-0 outline-none w-fit mx-auto [&_img]:hover:shadow-lg [&_div]:hover:!opacity-100 cursor-pointer" }, index.h("div", { class: "absolute flex-col justify-center gap-[4px] size-full flex items-center pointer-events-none hover:opacity-100 rounded-lg opacity-0 bg-black/40 transition-all duration-300" }, index.h("img", { src: eyeSvg }), index.h("span", { class: "text-white" }, texts.expand)), index.h("img", { class: "w-auto h-[150px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: image }))))))))), index.h("div", { key: '788024dce16b13c1509ae49fe69b5e48e1afc8ba', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-10 left-0 opacity-0 bg-black/40 transition-all duration-400', {
|
|
533
535
|
'pointer-events-auto opacity-100 delay-200': this.expandedImage,
|
|
534
|
-
}) }, index.h("button", { key: '
|
|
536
|
+
}) }, index.h("button", { key: 'f3b66783393492c980e76f875aa8e15dd34467cb', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: '96729fd9b6be1cb392e5e0e990606dc49ec2bdbc', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: 'ba4e7211b3cdb19195855eb353f1e12259039bff', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '7ea590ea5d9783fad22238ccbe5380424dd0c685', alt: "", id: "expanded-image", class: "fixed opacity-0 z-40 transition-all rounded-lg" }))))))))));
|
|
535
537
|
}
|
|
536
538
|
get el() { return index.getElement(this); }
|
|
537
539
|
static get watchers() { return {
|
|
@@ -606,6 +608,7 @@ const ServiceHistory = class {
|
|
|
606
608
|
catch (error) {
|
|
607
609
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
608
610
|
return;
|
|
611
|
+
console.error(error);
|
|
609
612
|
this.state = 'error';
|
|
610
613
|
this.vehicleInformation = null;
|
|
611
614
|
this.errorMessage = error.message;
|
|
@@ -624,7 +627,7 @@ const ServiceHistory = class {
|
|
|
624
627
|
render() {
|
|
625
628
|
var _a, _b, _c, _d;
|
|
626
629
|
const texts = this.locale.vehicleLookup.serviceHistory;
|
|
627
|
-
return (index.h(index.Host, { key: '
|
|
630
|
+
return (index.h(index.Host, { key: 'f89ce7f17b78c775cbcee6a4db109ef3c00e6d29' }, index.h("div", { key: 'd6b942daf06542e542a04d3bb72068c5758c80e9', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'acf33e3e253eb114c443a7d987db2b5e5db1468e' }, index.h(Loading$1.Loading, { key: '74d21f31cf67f9b5959e6ba4af3ebaea10bb6b04', isLoading: this.state.includes('loading') }), index.h("div", { key: '803d65860d980d5bac019b749d75a5692b5dfa06', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '1e9672450bd13031d6079a2ed33e06a40e36a6bc', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'b8b5edb12f6e38919945160d446e004cbc7ad6ba', class: "py-[16px]" }, index.h("div", { key: '9836f3fdca8b2b7307b95305bd26343d177ce52b', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: 'e591ba63512e82b6550aa9aee55a8fa406227b85', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'd0fb2a760d372b9d1bff0470bbd05541a0214d9f', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.serviceHistory), index.h("div", { key: '9d9972cb39d1921b7bb4e4c5bd264c13b62ac0c2', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory.length) && index.h("div", { key: '5c200eb45535a3e310d6aec7eee854a527b379fd', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.serviceHistory.length) && (index.h("table", { key: '5d93b0cd99ca7f38631c36259c9d019b4b5234fd', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'bdd4ccde39e53fcbd15d4ccf27f0d504e1ba9d21', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '83d5b447ef3f5ee92314cb9be124ae316d196c22' }, ['branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: 'f32901ca2350c6fadf44972681f909c2b27b7707' }, (_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.serviceHistory.map((service, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: service.invoiceNumber }, ['branchName', 'companyName', 'invoiceNumber', 'serviceDate', 'serviceType', 'mileage'].map(serviceType => {
|
|
628
631
|
var _a;
|
|
629
632
|
return (index.h("td", { key: service.invoiceNumber + serviceType, class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
|
|
630
633
|
'!border-none': idx === ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceHistory.length) - 1,
|
|
@@ -714,6 +717,7 @@ const VehicleAccessories = class {
|
|
|
714
717
|
catch (error) {
|
|
715
718
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
716
719
|
return;
|
|
720
|
+
console.error(error);
|
|
717
721
|
this.state = 'error';
|
|
718
722
|
this.vehicleInformation = null;
|
|
719
723
|
this.errorMessage = error.message;
|
|
@@ -733,7 +737,7 @@ const VehicleAccessories = class {
|
|
|
733
737
|
var _a, _b;
|
|
734
738
|
const texts = this.locale.vehicleLookup.accessories;
|
|
735
739
|
const accessories = (this === null || this === void 0 ? void 0 : this.vehicleInformation) ? (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.accessories : [];
|
|
736
|
-
return (index.h(index.Host, { key: '
|
|
740
|
+
return (index.h(index.Host, { key: '8387f8bf62bbb81766edf77d7ba3d574fd2e9a80' }, index.h("div", { key: '72db4edce06518b167c149244dbc4355484723cb', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'da38d3c66b219e5b8dfa3ac34ccbf68433f2a8b6' }, index.h(Loading$1.Loading, { key: '38d5e442c8d3874ed9ed4d6b87719529764c5475', isLoading: this.state.includes('loading') }), index.h("div", { key: 'ffd385f36cd49de490da307944d16a8e83bb0287', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '5692dc7da65d0508d6a863af6f9a7a0bb8460727', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'c8b4189075e8240a9ff2059e307dc3c61de705ee', class: "py-[16px]" }, index.h("div", { key: '3c5a383bec835b3f063d958070176e213caa2c15', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '8b0b46c3a428ed30b9c1e70064ca3b5eb36cabff', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '3905912ad4256df37fc7f7cf28b4cdf0ff2a7278', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleAccessories), index.h("div", { key: '49b423073265bf472bdb596b90a745393220584f', class: "h-0 overflow-auto flex-1" }, !accessories.length && index.h("div", { key: 'c464443ec49ae9cff52e8fed7fad1816105bc64b', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!accessories.length && (index.h("table", { key: 'd1ccae2f834f037567d49896a4afcd87d1d3b30b', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '3374f38dd5e063d4a00f7fab248f542f8274f689', class: "top-0 font-bold z-40 sticky bg-white" }, index.h("tr", { key: '01df1c074f587759cd19f9dbe3076a69f4f577b7' }, ['partNumber', 'description', 'image'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '0d7cc7b256753295febea408f45f2ba148773796' }, accessories.map((accessory, idx) => {
|
|
737
741
|
var _a;
|
|
738
742
|
return (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: accessory.partNumber }, ['partNumber', 'description'].map(key => {
|
|
739
743
|
var _a;
|
|
@@ -743,9 +747,9 @@ const VehicleAccessories = class {
|
|
|
743
747
|
}), index.h("td", { class: cn.cn('px-[10px] py-[10px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
|
|
744
748
|
'!border-none': idx === ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceHistory.length) - 1,
|
|
745
749
|
}) }, index.h("button", { onClick: ({ target }) => this.openImage(target, accessory.image), class: "shrink-0 relative ring-0 outline-none w-fit mx-auto [&_img]:hover:shadow-lg [&_div]:hover:!opacity-100 cursor-pointer" }, index.h("div", { class: "absolute flex-col justify-center gap-[4px] size-full flex items-center pointer-events-none hover:opacity-100 rounded-lg opacity-0 bg-black/40 transition-all duration-300" }, index.h("img", { src: eyeSvg }), index.h("span", { class: "text-white" }, texts.expand)), index.h("img", { class: "w-auto h-auto max-w-[133px] max-h-[133px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: accessory.image })))));
|
|
746
|
-
})), index.h("div", { key: '
|
|
750
|
+
})), index.h("div", { key: '6f489e2175f6421e29e476881a417849eb153efe', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-50 left-0 opacity-0 bg-black/40 transition-all duration-400', {
|
|
747
751
|
'pointer-events-auto opacity-100 delay-200': this.expandedImage,
|
|
748
|
-
}) }, index.h("button", { key: '
|
|
752
|
+
}) }, index.h("button", { key: 'a23d0da4f403adba26d021a8b5d70f445b003652', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: '52eaf817c47086baea1b3fabbe9b7918adcb689d', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: '8fb82fd07a285f22f01ba5750f12ca21ee754fec', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '8d5b69444d9a4243af0979b9dfdf1c4891f4ee29', alt: "", id: "expanded-image", class: "fixed opacity-0 z-50 transition-all rounded-lg" })))))))))));
|
|
749
753
|
}
|
|
750
754
|
get el() { return index.getElement(this); }
|
|
751
755
|
static get watchers() { return {
|
|
@@ -815,6 +819,9 @@ const VehicleSpecification = class {
|
|
|
815
819
|
catch (error) {
|
|
816
820
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
817
821
|
return;
|
|
822
|
+
console.log(this.locale);
|
|
823
|
+
console.log(this.locale.errors.wildCard);
|
|
824
|
+
console.error(error);
|
|
818
825
|
this.state = 'error';
|
|
819
826
|
this.vehicleInformation = null;
|
|
820
827
|
this.errorMessage = error.message;
|
|
@@ -833,7 +840,7 @@ const VehicleSpecification = class {
|
|
|
833
840
|
render() {
|
|
834
841
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
835
842
|
const texts = this.locale.vehicleLookup.specification;
|
|
836
|
-
return (index.h(index.Host, { key: '
|
|
843
|
+
return (index.h(index.Host, { key: '808c24a0e4426ba235ab2a56cf094c364ffa4037' }, index.h("div", { key: '86630e0af2c4ff5da706cd4a9c848e004f579bd4', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '708bc41fd7775de8367e08270cf903bf8859642c' }, index.h(Loading$1.Loading, { key: 'c517de944cccd11ad1d6cfd46d29b34ee12ecdd4', isLoading: this.state.includes('loading') }), index.h("div", { key: '20c88cd8d61cd81f7f74ebae0ffe0cd886a7e620', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '235f7b136b0567a251a454ff9f8d91eb7e53d898', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '2b7e78d4a778261e8522d7b69240b7a21c5303ff', class: "py-4" }, index.h("div", { key: '3c68b522c530c5c4840295af772d0f9bf8a34f75', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard, " kk"))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: 'e695fa38bbd41e0313a0e1fe370ce115e852f30a', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'e4abc126ced1d6acd36b8e126c6e97a7e65c97c9', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleSpecification), index.h("div", { key: '3c70ccd45a5d2054caf8c2c625cb8b6e8418de3d', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vehicleSpecification) && index.h("div", { key: '56193f532e238303643d652ea77dde43680ed962', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.vehicleSpecification) && (index.h("table", { key: '54a114b557191c7841304392d94299026b893514', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '07bac84886c74525cb74e6e52fa37a9a4534948f', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '01de975490eafe23c536e7bcfc5cc0ac445563ab' }, ['model', 'variant', 'katashiki', 'modelYear', 'sfx'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '568f0e33eb323c786e7a9c7e574f1ff97c659e57' }, index.h("tr", { key: 'd4c124369cd384c28d314a1d2bbc99c64a60f370' }, index.h("td", { key: 'eb12b5f893f6a408286fa4bd74cf62393822ac4b', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_e = (_d = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.vehicleVariantInfo) === null || _e === void 0 ? void 0 : _e.modelCode) || '...', " ", index.h("br", { key: '103578ebf9a841970388a5c3969218f981897e6c', class: "my-2" }), ((_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _f === void 0 ? void 0 : _f.vehicleSpecification) === null || _g === void 0 ? void 0 : _g.modelDesc) || '...'), index.h("td", { key: '05abca359c9faffa24242a60c22c52efcceb417d', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_j = (_h = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _h === void 0 ? void 0 : _h.identifiers) === null || _j === void 0 ? void 0 : _j.variant) || '...', " ", index.h("br", { key: 'db0c344f6d5d39fc066385ee956be5a8693fc504' }), ((_l = (_k = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _k === void 0 ? void 0 : _k.vehicleSpecification) === null || _l === void 0 ? void 0 : _l.variantDesc) || '...'), ['identifiers.katashiki', 'vehicleVariantInfo.modelYear', 'vehicleVariantInfo.sfx'].map(infoPath => {
|
|
837
844
|
var _a;
|
|
838
845
|
const [place, field] = infoPath.split('.');
|
|
839
846
|
const cellValue = (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a[place][field].toString();
|
|
@@ -1069,6 +1076,7 @@ const WarrantyDetails = class {
|
|
|
1069
1076
|
catch (error) {
|
|
1070
1077
|
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
1071
1078
|
return;
|
|
1079
|
+
console.error(error);
|
|
1072
1080
|
this.state = 'error';
|
|
1073
1081
|
this.vehicleInformation = null;
|
|
1074
1082
|
this.errorMessage = error.message;
|
|
@@ -1096,7 +1104,7 @@ const WarrantyDetails = class {
|
|
|
1096
1104
|
}
|
|
1097
1105
|
render() {
|
|
1098
1106
|
var _a, _b, _c, _d, _e;
|
|
1099
|
-
return (index.h(index.Host, { key: '
|
|
1107
|
+
return (index.h(index.Host, { key: 'c5ef9e5c12c299a79cc8e5ab41795f2a82cfd328' }, index.h("div", { key: 'c269f8934ec54b941bbee7a4846ff426d9da19cd', dir: this.locale.direction, class: "min-h-[100px] warranty" }, index.h("div", { key: '0bfc48e298bcbbb952bccb009c572c0d2eea84ce' }, index.h(Loading, { key: 'e8ff8312212ae2a4adc9248133f49afacbd38e48', isLoading: this.state.includes('loading') }), index.h("div", { key: '03032dc7be0b51a92b9e927d667c209e58abc4eb', class: "transition duration-700", style: { transform: this.state.includes('loading') || this.state === 'idle' ? 'scale(0)' : 'scale(1)', opacity: this.state.includes('loading') ? '0' : '1' } }, (this.showSsc || this.showWarranty) && (index.h("div", { key: 'da11c7d0aad6113e17a6caabce029f1deb8c195e', style: { color: !!this.errorMessage ? 'red' : 'black' }, class: "warranty-vin" }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin)), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'fd2ce5726df86b13b495fc6f3fe48a9f5bb87486', class: "py-4" }, index.h(StatusCard, { key: 'b3fd8f89d2742bb25d12b7773e1361c8b65c9a4e', desc: this.locale.errors[this.errorMessage] || this.locale.errors.wildCard, className: "mx-auto reject-card max-w-500" }), ' ')), this.showWarranty && ['data', 'data-loading'].includes(this.state) && (index.h(CardsContainer, { key: '405411582449ff40db0aeeacffd49b90e7d6e585', locale: this.locale, isAuthorized: (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.isAuthorized, unInvoicedByBrokerName: this.unInvoicedByBrokerName, warranty: (_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.warranty })), index.h("div", { key: '64dac3098fdab7b30439ad14f939e10d2b43ebb5', style: Object.assign({}, (this.showRecaptcha ? { height: 'auto', padding: '16px 16px 0px 16px' } : { height: '0px' })), class: "recaptcha-container" }, index.h("slot", { key: 'f0a25a1ab0ba02c661697a2b986db1f5f60fb012' })), ['data', 'data-loading'].includes(this.state) && this.recaptchaRes && (index.h("div", { key: '260ba78d40cb35bc7afe8afd246fc0ff93b919b4', class: cn.cn('recaptcha-response', !this.recaptchaRes.hasSSC ? 'success-card' : 'reject-card ') }, this.locale.vehicleLookup.warranty[this.recaptchaRes.message])), this.checkingUnauthorizedSSC && (index.h("div", { key: 'e071d2810629426872ae35665e637d5c5190fbe8', class: "loading-spinner", style: { marginTop: '20px', flexDirection: 'column' } }, index.h("div", { key: '3c49a6a0b2fcf56222071faeb372af2ea9107065' }, index.h("strong", { key: 'f699fa9760ce4485a131b57f37513446531cd563' }, this.locale.vehicleLookup.warranty.checkingTMC)), index.h("img", { key: '9466f185766ad803779bc0d1f6e0cdd3e177ee96', class: "spin", src: Loading$1.loaderSvg }))), this.showSsc && ['data', 'data-loading'].includes(this.state) && ((_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.ssc) !== null && !!((_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.ssc.length) && (index.h(SSCTable, { key: 'f42276f6576fabaa984925b023516a4049b4ec37', locale: this.locale, ssc: this.vehicleInformation.ssc })))))));
|
|
1100
1108
|
}
|
|
1101
1109
|
get el() { return index.getElement(this); }
|
|
1102
1110
|
static get watchers() { return {
|
|
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
8
8
|
|
|
9
9
|
const index = require('./index-846c93d2.js');
|
|
10
10
|
const cn = require('./cn-f559f9e5.js');
|
|
11
|
-
const getLocalLanguage = require('./get-local-language-
|
|
11
|
+
const getLocalLanguage = require('./get-local-language-6b6b182f.js');
|
|
12
12
|
require('./index.esm-c628daeb.js');
|
|
13
13
|
|
|
14
14
|
const dynamicRedeemCss = "*,: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}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.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))}.border{border-width:1px}.outline{outline-style:solid}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host{all:initial!important;display:block}*{box-sizing:content-box;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .qr-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;width:100%}.dynamic-claim-processor-info-box{background:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:start}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:\"\";display:inline-block;height:20px;margin-inline-end:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z\"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.warning-ul{padding-inline-start:2.5rem}.static{position:static}.w-full{width:100%}.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}.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-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-4{padding-bottom:1rem;padding-top:1rem}.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-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.m-\\[3px\\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}";
|
|
@@ -8,6 +8,8 @@ require('./index-846c93d2.js');
|
|
|
8
8
|
const index_esm = require('./index.esm-c628daeb.js');
|
|
9
9
|
|
|
10
10
|
const errorsSchema = index_esm.create$3({
|
|
11
|
+
wildCard: index_esm.create$6().required(),
|
|
12
|
+
noBaseUrl: index_esm.create$6().required(),
|
|
11
13
|
noServiceAvailable: index_esm.create$6().required(),
|
|
12
14
|
wrongResponseFormat: index_esm.create$6().required(),
|
|
13
15
|
});
|
|
@@ -80,15 +82,6 @@ const dynamicRedeemSchema = index_esm.create$3({
|
|
|
80
82
|
confirmSkipServices: index_esm.create$6().required(),
|
|
81
83
|
notInvoiced: index_esm.create$6().required(),
|
|
82
84
|
confirmNotInvoiced: index_esm.create$6().required(),
|
|
83
|
-
claimAt: index_esm.create$6().required(),
|
|
84
|
-
redeemingDealer: index_esm.create$6().required(),
|
|
85
|
-
invoiceNumber: index_esm.create$6().required(),
|
|
86
|
-
wip: index_esm.create$6().required(),
|
|
87
|
-
claim: index_esm.create$6().required(),
|
|
88
|
-
processed: index_esm.create$6().required(),
|
|
89
|
-
expired: index_esm.create$6().required(),
|
|
90
|
-
cancelled: index_esm.create$6().required(),
|
|
91
|
-
pending: index_esm.create$6().required(),
|
|
92
85
|
});
|
|
93
86
|
|
|
94
87
|
const ServiceHistorySchema = index_esm.create$3({
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -12,7 +12,7 @@ const appGlobals = require('./app-globals-6d543be0.js');
|
|
|
12
12
|
const defineCustomElements = async (win, options) => {
|
|
13
13
|
if (typeof window === 'undefined') return undefined;
|
|
14
14
|
await appGlobals.globalScripts();
|
|
15
|
-
return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[1,"dead-stock-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"
|
|
15
|
+
return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[1,"dead-stock-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"language":[1],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"language":[1],"localizationName":[1,"localization-name"],"headerTitle":[1,"header-title"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["form-input.cjs",[[0,"form-input",{"name":[1],"label":[1],"class":[1],"isError":[4,"is-error"],"disabled":[4],"labelClass":[1,"label-class"],"errorClass":[1,"error-class"],"errorMessage":[1,"error-message"],"containerClass":[1,"container-class"]}]]],["dynamic-redeem.cjs",[[1,"dynamic-redeem",{"vin":[1],"item":[16],"language":[1],"canceledItems":[16],"unInvoicedByBrokerName":[1,"un-invoiced-by-broker-name"],"handleScanner":[16],"handleQrChanges":[16],"loadingStateChange":[16],"locale":[32],"isLoading":[32],"internalVin":[32],"isOpened":[32],"internalItem":[32],"confirmServiceCancellation":[32],"internalCanceledItem":[32],"confirmUnInvoicedTBPVehicles":[32],"quite":[64],"getQrValue":[64]},null,{"language":["changeLanguage"],"isLoading":["onIsLoadingChange"],"canceledItems":["changeInternalCanceledItem"],"unInvoicedByBrokerName":["changeConfirmUnInvoicedTBPVehicles"],"vin":["changeInternalVin"],"item":["changeInternalItem"]}]]],["dynamic-claim_6.cjs",[[1,"dynamic-claim",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"isIdle":[32],"popupClasses":[32],"isLoading":[32],"externalVin":[32],"errorMessage":[32],"activePopupIndex":[32],"vehicleInformation":[32],"setMockData":[64],"setData":[64],"fetchData":[64],"completeClaim":[64]},null,{"language":["changeLanguage"],"isLoading":["onLoadingChange"],"vehicleInformation":["resetProgressBar"],"popupClasses":["windowScrollListener"]}],[1,"paint-thickness",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"service-history",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-accessories",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-specification",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"warranty-details",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"cityId":[1,"city-id"],"cityIntegrationId":[1,"city-integration-id"],"companyId":[1,"company-id"],"companyIntegrationId":[1,"company-integration-id"],"companyBranchId":[1,"company-branch-id"],"companyBranchIntegrationId":[1,"company-branch-integration-id"],"userId":[1,"user-id"],"brandIntegrationId":[1,"brand-integration-id"],"customerName":[1,"customer-name"],"customerPhone":[1,"customer-phone"],"customerEmail":[1,"customer-email"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalVin":[32],"showRecaptcha":[32],"errorMessage":[32],"unInvoicedByBrokerName":[32],"vehicleInformation":[32],"checkingUnauthorizedSSC":[32],"recaptchaRes":[32],"headers":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
exports.setNonce = index.setNonce;
|