adp-web-components 0.0.11
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/LICENSE +21 -0
- package/dist/cjs/Loading-ee1a2ceb.js +16 -0
- package/dist/cjs/app-globals-3813fb46.js +9 -0
- package/dist/cjs/cn-f559f9e5.js +2588 -0
- package/dist/cjs/dead-stock-lookup.cjs.entry.js +103 -0
- package/dist/cjs/distributor-lookup.cjs.entry.js +109 -0
- package/dist/cjs/dynamic-claim.cjs.entry.js +306 -0
- package/dist/cjs/dynamic-redeem.cjs.entry.js +145 -0
- package/dist/cjs/form-input.cjs.entry.js +36 -0
- package/dist/cjs/general-inquiry-form.cjs.entry.js +2280 -0
- package/dist/cjs/image-expansion-a9c9c6f7.js +77 -0
- package/dist/cjs/index-d4b5214c.js +1331 -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/manufacturer-lookup.cjs.entry.js +109 -0
- package/dist/cjs/paint-thickness.cjs.entry.js +131 -0
- package/dist/cjs/partInformation-2a6a018b.js +34 -0
- package/dist/cjs/service-history.cjs.entry.js +116 -0
- package/dist/cjs/shift-components.cjs.js +29 -0
- package/dist/cjs/vehicle-accessories.cjs.entry.js +135 -0
- package/dist/cjs/vehicle-specification.cjs.entry.js +111 -0
- package/dist/cjs/vehicleInformation-4c1dcaf2.js +52 -0
- package/dist/cjs/warranty-details.cjs.entry.js +281 -0
- package/dist/collection/collection-manifest.json +23 -0
- package/dist/collection/components/dynamic-claim/dynamic-claim.css +1 -0
- package/dist/collection/components/dynamic-claim/dynamic-claim.js +521 -0
- package/dist/collection/components/dynamic-claim/icons/cancelled.svg +8 -0
- package/dist/collection/components/dynamic-claim/icons/expired.svg +9 -0
- package/dist/collection/components/dynamic-claim/icons/pending.svg +9 -0
- package/dist/collection/components/dynamic-claim/icons/processed.svg +9 -0
- package/dist/collection/components/dynamic-redeem/dynamic-redeem.css +1 -0
- package/dist/collection/components/dynamic-redeem/dynamic-redeem.js +334 -0
- package/dist/collection/components/form-input/form-input.css +1 -0
- package/dist/collection/components/form-input/form-input.js +209 -0
- package/dist/collection/components/general-inquiry-form/general-inquiry-form.css +1 -0
- package/dist/collection/components/general-inquiry-form/general-inquiry-form.js +46 -0
- package/dist/collection/components/paint-thickness/paint-thickness.css +1 -0
- package/dist/collection/components/paint-thickness/paint-thickness.js +323 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -0
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +294 -0
- package/dist/collection/components/part-lookup/distributor-lookup.css +1 -0
- package/dist/collection/components/part-lookup/distributor-lookup.js +299 -0
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -0
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +317 -0
- package/dist/collection/components/parts/Loading.js +10 -0
- package/dist/collection/components/service-history/service-history.css +1 -0
- package/dist/collection/components/service-history/service-history.js +306 -0
- package/dist/collection/components/vehicle-accessories/vehicle-accessories.css +1 -0
- package/dist/collection/components/vehicle-accessories/vehicle-accessories.js +327 -0
- package/dist/collection/components/vehicle-specification/vehicle-specification.css +1 -0
- package/dist/collection/components/vehicle-specification/vehicle-specification.js +301 -0
- package/dist/collection/components/warranty-details/assets/check.svg +4 -0
- package/dist/collection/components/warranty-details/assets/loader.svg +11 -0
- package/dist/collection/components/warranty-details/assets/x-mark.svg +4 -0
- package/dist/collection/components/warranty-details/components/CardsContainer.js +9 -0
- package/dist/collection/components/warranty-details/components/Loading.js +10 -0
- package/dist/collection/components/warranty-details/components/SSCTable.js +13 -0
- package/dist/collection/components/warranty-details/components/StatusCard.js +11 -0
- package/dist/collection/components/warranty-details/warranty-details.css +1 -0
- package/dist/collection/components/warranty-details/warranty-details.js +709 -0
- package/dist/collection/global/api/partInformation.js +30 -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/lib/cn.js +9 -0
- package/dist/collection/global/lib/form-hook.js +118 -0
- package/dist/collection/global/lib/image-expansion.js +69 -0
- package/dist/collection/global/lib/utils.js +7 -0
- package/dist/collection/global/types/components.js +1 -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/mock-data.js +4132 -0
- package/dist/collection/templates/parts/mock-data.js +221 -0
- package/dist/collection/templates/vehicle-lookup.js +218 -0
- package/dist/collection/templates/warranty-mock-data.js +2982 -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-input.d.ts +11 -0
- package/dist/components/form-input.js +5 -0
- package/dist/components/general-inquiry-form.d.ts +11 -0
- package/dist/components/general-inquiry-form.js +5 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +5 -0
- package/dist/components/manufacturer-lookup.d.ts +11 -0
- package/dist/components/manufacturer-lookup.js +5 -0
- package/dist/components/p-2b0cc0c6.js +5 -0
- package/dist/components/p-4dc47f5f.js +5 -0
- package/dist/components/p-50f73226.js +5 -0
- package/dist/components/p-5df9bc5f.js +5 -0
- package/dist/components/p-8375923d.js +5 -0
- package/dist/components/p-98d9e7ab.js +5 -0
- package/dist/components/p-a454210b.js +5 -0
- package/dist/components/p-d265c109.js +5 -0
- package/dist/components/p-d5ff7544.js +5 -0
- package/dist/components/paint-thickness.d.ts +11 -0
- package/dist/components/paint-thickness.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-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/Loading-61648252.js +14 -0
- package/dist/esm/app-globals-8befa224.js +7 -0
- package/dist/esm/cn-cc419b94.js +2586 -0
- package/dist/esm/dead-stock-lookup.entry.js +99 -0
- package/dist/esm/distributor-lookup.entry.js +105 -0
- package/dist/esm/dynamic-claim.entry.js +302 -0
- package/dist/esm/dynamic-redeem.entry.js +141 -0
- package/dist/esm/form-input.entry.js +32 -0
- package/dist/esm/general-inquiry-form.entry.js +2276 -0
- package/dist/esm/image-expansion-08c4bf0d.js +73 -0
- package/dist/esm/index-ef54644b.js +1302 -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/manufacturer-lookup.entry.js +105 -0
- package/dist/esm/paint-thickness.entry.js +127 -0
- package/dist/esm/partInformation-73ece994.js +32 -0
- package/dist/esm/service-history.entry.js +112 -0
- package/dist/esm/shift-components.js +24 -0
- package/dist/esm/vehicle-accessories.entry.js +131 -0
- package/dist/esm/vehicle-specification.entry.js +107 -0
- package/dist/esm/vehicleInformation-f1081f83.js +50 -0
- package/dist/esm/warranty-details.entry.js +277 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/shift-components/index.esm.js +4 -0
- package/dist/shift-components/p-15f86441.entry.js +5 -0
- package/dist/shift-components/p-1ae3a61f.entry.js +5 -0
- package/dist/shift-components/p-517b3e04.js +5 -0
- package/dist/shift-components/p-5df9bc5f.js +5 -0
- package/dist/shift-components/p-65e6ab8e.js +5 -0
- package/dist/shift-components/p-894e7518.entry.js +5 -0
- package/dist/shift-components/p-8c261972.entry.js +5 -0
- package/dist/shift-components/p-8e818568.entry.js +5 -0
- package/dist/shift-components/p-98d9e7ab.js +5 -0
- package/dist/shift-components/p-9bd4471c.entry.js +5 -0
- package/dist/shift-components/p-9f790b14.entry.js +5 -0
- package/dist/shift-components/p-a21e2e2e.js +5 -0
- package/dist/shift-components/p-c113792c.entry.js +5 -0
- package/dist/shift-components/p-d265c109.js +5 -0
- package/dist/shift-components/p-d5ff7544.js +5 -0
- package/dist/shift-components/p-dc9845ed.entry.js +5 -0
- package/dist/shift-components/p-e32b0798.entry.js +5 -0
- package/dist/shift-components/p-e97316d2.js +6 -0
- package/dist/shift-components/p-f759c597.entry.js +5 -0
- package/dist/shift-components/p-feb3df85.entry.js +5 -0
- package/dist/shift-components/shift-components.esm.js +5 -0
- package/dist/types/components/dynamic-claim/dynamic-claim.d.ts +48 -0
- package/dist/types/components/dynamic-redeem/dynamic-redeem.d.ts +34 -0
- package/dist/types/components/form-input/form-input.d.ts +14 -0
- package/dist/types/components/general-inquiry-form/general-inquiry-form.d.ts +21 -0
- package/dist/types/components/paint-thickness/paint-thickness.d.ts +28 -0
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +25 -0
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +23 -0
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +24 -0
- package/dist/types/components/parts/Loading.d.ts +5 -0
- package/dist/types/components/service-history/service-history.d.ts +23 -0
- package/dist/types/components/vehicle-accessories/vehicle-accessories.d.ts +28 -0
- package/dist/types/components/vehicle-specification/vehicle-specification.d.ts +22 -0
- package/dist/types/components/warranty-details/components/CardsContainer.d.ts +8 -0
- package/dist/types/components/warranty-details/components/Loading.d.ts +5 -0
- package/dist/types/components/warranty-details/components/SSCTable.d.ts +6 -0
- package/dist/types/components/warranty-details/components/StatusCard.d.ts +10 -0
- package/dist/types/components/warranty-details/warranty-details.d.ts +51 -0
- package/dist/types/components.d.ts +388 -0
- package/dist/types/global/api/partInformation.d.ts +19 -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 +54 -0
- package/dist/types/global/lib/image-expansion.d.ts +9 -0
- package/dist/types/global/lib/utils.d.ts +1 -0
- package/dist/types/global/types/components.d.ts +4 -0
- package/dist/types/global/types/part-information.d.ts +30 -0
- package/dist/types/global/types/vehicle-information.d.ts +162 -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 +61 -0
- package/readme.md +104 -0
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by ShiftSoftware
|
|
3
|
+
* Copyright (c)
|
|
4
|
+
*/
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
import Loading from "./components/Loading";
|
|
7
|
+
import StatusCard from "./components/StatusCard";
|
|
8
|
+
import Loader from "~assets/loader.svg";
|
|
9
|
+
import CardsContainer from "./components/CardsContainer";
|
|
10
|
+
import SSCTable from "./components/SSCTable";
|
|
11
|
+
import cn from "../../global/lib/cn";
|
|
12
|
+
import { getVehicleInformation } from "../../global/api/vehicleInformation";
|
|
13
|
+
let mockData = {};
|
|
14
|
+
export class WarrantyDetails {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.baseUrl = '';
|
|
17
|
+
this.unauthorizedSscLookupBaseUrl = '';
|
|
18
|
+
this.isDev = false;
|
|
19
|
+
this.showSsc = false;
|
|
20
|
+
this.queryString = '';
|
|
21
|
+
this.unauthorizedSscLookupQueryString = '';
|
|
22
|
+
this.recaptchaKey = '';
|
|
23
|
+
this.showWarranty = false;
|
|
24
|
+
this.cityId = null;
|
|
25
|
+
this.cityIntegrationId = null;
|
|
26
|
+
this.companyId = null;
|
|
27
|
+
this.companyIntegrationId = null;
|
|
28
|
+
this.companyBranchId = null;
|
|
29
|
+
this.companyBranchIntegrationId = null;
|
|
30
|
+
this.userId = null;
|
|
31
|
+
this.brandIntegrationId = null;
|
|
32
|
+
this.customerName = null;
|
|
33
|
+
this.customerPhone = null;
|
|
34
|
+
this.customerEmail = null;
|
|
35
|
+
this.loadingStateChange = undefined;
|
|
36
|
+
this.loadedResponse = undefined;
|
|
37
|
+
this.state = 'idle';
|
|
38
|
+
this.externalVin = null;
|
|
39
|
+
this.errorMessage = null;
|
|
40
|
+
this.showRecaptcha = false;
|
|
41
|
+
this.unInvoicedByBrokerName = null;
|
|
42
|
+
this.vehicleInformation = undefined;
|
|
43
|
+
this.checkingUnauthorizedSSC = false;
|
|
44
|
+
this.recaptchaRes = null;
|
|
45
|
+
}
|
|
46
|
+
handleSettingData(response) {
|
|
47
|
+
var _a, _b, _c;
|
|
48
|
+
if (response.warranty === null)
|
|
49
|
+
response.warranty = {
|
|
50
|
+
warrantyEndDate: '',
|
|
51
|
+
warrantyStartDate: '',
|
|
52
|
+
hasActiveWarranty: false,
|
|
53
|
+
hasExtendedWarranty: false,
|
|
54
|
+
extendedWarrantyEndDate: '',
|
|
55
|
+
extendedWarrantyStartDate: '',
|
|
56
|
+
};
|
|
57
|
+
if (response.ssc === null)
|
|
58
|
+
response.ssc = [];
|
|
59
|
+
this.unInvoicedByBrokerName = null;
|
|
60
|
+
if (((_a = response === null || response === void 0 ? void 0 : response.saleInformation) === null || _a === void 0 ? void 0 : _a.broker) !== null && ((_c = (_b = response === null || response === void 0 ? void 0 : response.saleInformation) === null || _b === void 0 ? void 0 : _b.broker) === null || _c === void 0 ? void 0 : _c.invoiceDate) === null)
|
|
61
|
+
this.unInvoicedByBrokerName = response.saleInformation.broker.brokerName;
|
|
62
|
+
this.vehicleInformation = response;
|
|
63
|
+
}
|
|
64
|
+
async handleInitializingRecaptcha(vin, scopedTimeoutRef) {
|
|
65
|
+
var _a;
|
|
66
|
+
if (((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.isAuthorized) === false && this.showSsc && this.recaptchaKey !== '') {
|
|
67
|
+
grecaptcha.reset();
|
|
68
|
+
await new Promise(r => setTimeout(r, 400));
|
|
69
|
+
this.recaptchaIntervalRef = setInterval(async () => {
|
|
70
|
+
var _a;
|
|
71
|
+
const recaptchaResponse = grecaptcha.getResponse();
|
|
72
|
+
if (recaptchaResponse) {
|
|
73
|
+
clearInterval(this.recaptchaIntervalRef);
|
|
74
|
+
if (this.isDev) {
|
|
75
|
+
this.checkingUnauthorizedSSC = true;
|
|
76
|
+
this.showRecaptcha = false;
|
|
77
|
+
//this.calculateHeight(this.state);
|
|
78
|
+
await new Promise(r => setTimeout(r, 3000));
|
|
79
|
+
this.checkingUnauthorizedSSC = false;
|
|
80
|
+
const hasPendingSSC = Math.random() < 0.5 ? false : true;
|
|
81
|
+
this.recaptchaRes = {
|
|
82
|
+
hasSSC: hasPendingSSC,
|
|
83
|
+
message: hasPendingSSC ? 'This Vehicle has a Pending SSC' : 'No Pending SSC',
|
|
84
|
+
};
|
|
85
|
+
//this.calculateHeight(this.state);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.checkingUnauthorizedSSC = true;
|
|
89
|
+
this.showRecaptcha = false;
|
|
90
|
+
//this.calculateHeight(this.state);
|
|
91
|
+
const response = await fetch(`${this.unauthorizedSscLookupBaseUrl}${vin}/${(_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.sscLogId}?${this.unauthorizedSscLookupQueryString}`, {
|
|
92
|
+
signal: this.abortController.signal,
|
|
93
|
+
headers: {
|
|
94
|
+
'Ssc-Recaptcha-Token': recaptchaResponse,
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
const vinResponse = await response.json();
|
|
98
|
+
if (vinResponse && this.networkTimeoutRef === scopedTimeoutRef) {
|
|
99
|
+
this.checkingUnauthorizedSSC = false;
|
|
100
|
+
const hasPendingSSC = vinResponse.sscLookupStatus === 1;
|
|
101
|
+
this.recaptchaRes = {
|
|
102
|
+
hasSSC: hasPendingSSC,
|
|
103
|
+
message: hasPendingSSC ? 'This Vehicle has a Pending SSC' : 'No Pending SSC',
|
|
104
|
+
};
|
|
105
|
+
//this.calculateHeight(this.state);
|
|
106
|
+
}
|
|
107
|
+
else
|
|
108
|
+
throw new Error('Wrong response format');
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}, 500);
|
|
112
|
+
this.showRecaptcha = true;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.showRecaptcha = false;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
async setData(newData) {
|
|
119
|
+
this.recaptchaRes = null;
|
|
120
|
+
clearTimeout(this.networkTimeoutRef);
|
|
121
|
+
clearInterval(this.recaptchaIntervalRef);
|
|
122
|
+
if (this.abortController)
|
|
123
|
+
this.abortController.abort();
|
|
124
|
+
this.abortController = new AbortController();
|
|
125
|
+
let scopedTimeoutRef;
|
|
126
|
+
const isVinRequest = typeof newData === 'string';
|
|
127
|
+
const vin = isVinRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.vin;
|
|
128
|
+
this.externalVin = vin;
|
|
129
|
+
try {
|
|
130
|
+
if (!vin || vin.trim().length === 0) {
|
|
131
|
+
//this.componentHeight = '0px';
|
|
132
|
+
this.state = 'idle';
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (this.state === 'data' || this.state === 'error') {
|
|
136
|
+
this.state = (this.state + '-loading');
|
|
137
|
+
}
|
|
138
|
+
else
|
|
139
|
+
this.state = 'loading';
|
|
140
|
+
await new Promise(r => {
|
|
141
|
+
scopedTimeoutRef = setTimeout(r, 600);
|
|
142
|
+
this.networkTimeoutRef = scopedTimeoutRef;
|
|
143
|
+
});
|
|
144
|
+
const vehicleResponse = isVinRequest ? await getVehicleInformation(this, { scopedTimeoutRef, vin, mockData }) : newData;
|
|
145
|
+
if (this.networkTimeoutRef === scopedTimeoutRef) {
|
|
146
|
+
if (!vehicleResponse)
|
|
147
|
+
throw new Error('Wrong response format');
|
|
148
|
+
this.handleSettingData(vehicleResponse);
|
|
149
|
+
this.handleInitializingRecaptcha(vin, scopedTimeoutRef);
|
|
150
|
+
}
|
|
151
|
+
this.errorMessage = null;
|
|
152
|
+
this.state = 'data';
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
156
|
+
return;
|
|
157
|
+
this.state = 'error';
|
|
158
|
+
this.vehicleInformation = null;
|
|
159
|
+
this.errorMessage = error.message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
async fetchData(requestedVin = this.externalVin) {
|
|
163
|
+
await this.setData(requestedVin);
|
|
164
|
+
}
|
|
165
|
+
async componentDidLoad() {
|
|
166
|
+
if (this.recaptchaKey !== '') {
|
|
167
|
+
const script = document.createElement('script');
|
|
168
|
+
script.src = 'https://www.google.com/recaptcha/api.js';
|
|
169
|
+
script.async = true;
|
|
170
|
+
script.defer = true;
|
|
171
|
+
script.onload = () => console.log('reCAPTCHA script loaded');
|
|
172
|
+
document.head.appendChild(script);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
//calculateHeight(componentState: string) {
|
|
176
|
+
// if (componentState.includes('loading') && this.componentHeight === '0px') {
|
|
177
|
+
// this.componentHeight = '100px';
|
|
178
|
+
// } else if (componentState !== 'idle') {
|
|
179
|
+
// setTimeout(() => {
|
|
180
|
+
// this.componentHeight = `${this.wrapperRef.clientHeight}px`;
|
|
181
|
+
// }, 50);
|
|
182
|
+
// } else {
|
|
183
|
+
// this.componentHeight = '0px';
|
|
184
|
+
// }
|
|
185
|
+
//}
|
|
186
|
+
async setMockData(newMockData) {
|
|
187
|
+
mockData = newMockData;
|
|
188
|
+
}
|
|
189
|
+
onShowSscChange() {
|
|
190
|
+
//this.calculateHeight(this.state);
|
|
191
|
+
}
|
|
192
|
+
onShowWarrantyChange() {
|
|
193
|
+
//this.calculateHeight(this.state);
|
|
194
|
+
}
|
|
195
|
+
async loadingListener() {
|
|
196
|
+
//this.calculateHeight(newState);
|
|
197
|
+
if (this.loadingStateChange)
|
|
198
|
+
this.loadingStateChange(this.state.includes('loading'));
|
|
199
|
+
}
|
|
200
|
+
render() {
|
|
201
|
+
var _a, _b, _c, _d, _e;
|
|
202
|
+
return (h(Host, { key: '9f7b4391eb2ac41ecb6b620adb733d06cad61e01' }, h("div", { key: 'a120fa5f7b7ec6b586ae1553ddd5f1270b4bafdf', class: "min-h-[100px] warranty" }, h("div", { key: 'a3e41d8aad2f04cd6f0fc7cc0ce952ec80eb67e9' }, h(Loading, { key: '548ba51ad8f41ebba0d4591f22294c4a0ceeddca', isLoading: this.state.includes('loading') }), h("div", { key: 'fa06505b9ad363d070e98c384ca08be6fab23e3a', 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) && (h("div", { key: 'dd5cae430e26d6b99de558414bc54ae61037b6ee', 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) && (h("div", { key: '2aa3678b9daedb664cb83908bab1a3ae79d26ca4', class: "py-4" }, h(StatusCard, { key: '9fb71c4271b607184140207e737f9db6955446a1', desc: this.errorMessage, className: "mx-auto reject-card max-w-500" }), ' ')), this.showWarranty && ['data', 'data-loading'].includes(this.state) && (h(CardsContainer, { key: 'd14715477bfd2a7a07ed203794cdd90bf3dc7f77', 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 })), h("div", { key: '7d24f6ed652cfd6e23ff88471a8c134810909522', style: Object.assign({}, (this.showRecaptcha ? { height: 'auto', padding: '16px 16px 0px 16px' } : { height: '0px' })), class: "recaptcha-container" }, h("slot", { key: '09944b5683a9c564bba4a7bf7b02bf45578b1a01' })), ['data', 'data-loading'].includes(this.state) && this.recaptchaRes && (h("div", { key: '3503fc5ab15f118a4614f0aa4a0cbc98dffd341b', class: cn('recaptcha-response', !this.recaptchaRes.hasSSC ? 'success-card' : 'reject-card ') }, this.recaptchaRes.message)), this.checkingUnauthorizedSSC && (h("div", { key: '2d307b6517e8734a86b366d24550870d141559f5', class: "loading-spinner", style: { marginTop: '20px', flexDirection: 'column' } }, h("div", { key: '3ce58c58e769399b08909d24b49dfb16020beaa4' }, h("strong", { key: '7a09f45c291d5561410116ffb6cfb4de417c51ce' }, "Checking TMC")), h("img", { key: '6ff6d07a3834f1f02d1a54d2d45cfff712d8ec53', class: "spin", src: Loader }))), 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) && (h(SSCTable, { key: 'f67095d616937712e31ed0421811f1cf3c7982ed', ssc: this.vehicleInformation.ssc })))))));
|
|
203
|
+
}
|
|
204
|
+
static get is() { return "warranty-details"; }
|
|
205
|
+
static get encapsulation() { return "shadow"; }
|
|
206
|
+
static get originalStyleUrls() {
|
|
207
|
+
return {
|
|
208
|
+
"$": ["warranty-details.css"]
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
static get styleUrls() {
|
|
212
|
+
return {
|
|
213
|
+
"$": ["warranty-details.css"]
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
static get properties() {
|
|
217
|
+
return {
|
|
218
|
+
"baseUrl": {
|
|
219
|
+
"type": "string",
|
|
220
|
+
"mutable": false,
|
|
221
|
+
"complexType": {
|
|
222
|
+
"original": "string",
|
|
223
|
+
"resolved": "string",
|
|
224
|
+
"references": {}
|
|
225
|
+
},
|
|
226
|
+
"required": false,
|
|
227
|
+
"optional": false,
|
|
228
|
+
"docs": {
|
|
229
|
+
"tags": [],
|
|
230
|
+
"text": ""
|
|
231
|
+
},
|
|
232
|
+
"attribute": "base-url",
|
|
233
|
+
"reflect": false,
|
|
234
|
+
"defaultValue": "''"
|
|
235
|
+
},
|
|
236
|
+
"unauthorizedSscLookupBaseUrl": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"mutable": false,
|
|
239
|
+
"complexType": {
|
|
240
|
+
"original": "string",
|
|
241
|
+
"resolved": "string",
|
|
242
|
+
"references": {}
|
|
243
|
+
},
|
|
244
|
+
"required": false,
|
|
245
|
+
"optional": false,
|
|
246
|
+
"docs": {
|
|
247
|
+
"tags": [],
|
|
248
|
+
"text": ""
|
|
249
|
+
},
|
|
250
|
+
"attribute": "unauthorized-ssc-lookup-base-url",
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"defaultValue": "''"
|
|
253
|
+
},
|
|
254
|
+
"isDev": {
|
|
255
|
+
"type": "boolean",
|
|
256
|
+
"mutable": false,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "boolean",
|
|
259
|
+
"resolved": "boolean",
|
|
260
|
+
"references": {}
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"optional": false,
|
|
264
|
+
"docs": {
|
|
265
|
+
"tags": [],
|
|
266
|
+
"text": ""
|
|
267
|
+
},
|
|
268
|
+
"attribute": "is-dev",
|
|
269
|
+
"reflect": false,
|
|
270
|
+
"defaultValue": "false"
|
|
271
|
+
},
|
|
272
|
+
"showSsc": {
|
|
273
|
+
"type": "boolean",
|
|
274
|
+
"mutable": false,
|
|
275
|
+
"complexType": {
|
|
276
|
+
"original": "boolean",
|
|
277
|
+
"resolved": "boolean",
|
|
278
|
+
"references": {}
|
|
279
|
+
},
|
|
280
|
+
"required": false,
|
|
281
|
+
"optional": false,
|
|
282
|
+
"docs": {
|
|
283
|
+
"tags": [],
|
|
284
|
+
"text": ""
|
|
285
|
+
},
|
|
286
|
+
"attribute": "show-ssc",
|
|
287
|
+
"reflect": false,
|
|
288
|
+
"defaultValue": "false"
|
|
289
|
+
},
|
|
290
|
+
"queryString": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"mutable": false,
|
|
293
|
+
"complexType": {
|
|
294
|
+
"original": "string",
|
|
295
|
+
"resolved": "string",
|
|
296
|
+
"references": {}
|
|
297
|
+
},
|
|
298
|
+
"required": false,
|
|
299
|
+
"optional": false,
|
|
300
|
+
"docs": {
|
|
301
|
+
"tags": [],
|
|
302
|
+
"text": ""
|
|
303
|
+
},
|
|
304
|
+
"attribute": "query-string",
|
|
305
|
+
"reflect": false,
|
|
306
|
+
"defaultValue": "''"
|
|
307
|
+
},
|
|
308
|
+
"unauthorizedSscLookupQueryString": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "string",
|
|
313
|
+
"resolved": "string",
|
|
314
|
+
"references": {}
|
|
315
|
+
},
|
|
316
|
+
"required": false,
|
|
317
|
+
"optional": false,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [],
|
|
320
|
+
"text": ""
|
|
321
|
+
},
|
|
322
|
+
"attribute": "unauthorized-ssc-lookup-query-string",
|
|
323
|
+
"reflect": false,
|
|
324
|
+
"defaultValue": "''"
|
|
325
|
+
},
|
|
326
|
+
"recaptchaKey": {
|
|
327
|
+
"type": "string",
|
|
328
|
+
"mutable": false,
|
|
329
|
+
"complexType": {
|
|
330
|
+
"original": "string",
|
|
331
|
+
"resolved": "string",
|
|
332
|
+
"references": {}
|
|
333
|
+
},
|
|
334
|
+
"required": false,
|
|
335
|
+
"optional": false,
|
|
336
|
+
"docs": {
|
|
337
|
+
"tags": [],
|
|
338
|
+
"text": ""
|
|
339
|
+
},
|
|
340
|
+
"attribute": "recaptcha-key",
|
|
341
|
+
"reflect": false,
|
|
342
|
+
"defaultValue": "''"
|
|
343
|
+
},
|
|
344
|
+
"showWarranty": {
|
|
345
|
+
"type": "boolean",
|
|
346
|
+
"mutable": false,
|
|
347
|
+
"complexType": {
|
|
348
|
+
"original": "boolean",
|
|
349
|
+
"resolved": "boolean",
|
|
350
|
+
"references": {}
|
|
351
|
+
},
|
|
352
|
+
"required": false,
|
|
353
|
+
"optional": false,
|
|
354
|
+
"docs": {
|
|
355
|
+
"tags": [],
|
|
356
|
+
"text": ""
|
|
357
|
+
},
|
|
358
|
+
"attribute": "show-warranty",
|
|
359
|
+
"reflect": false,
|
|
360
|
+
"defaultValue": "false"
|
|
361
|
+
},
|
|
362
|
+
"cityId": {
|
|
363
|
+
"type": "string",
|
|
364
|
+
"mutable": false,
|
|
365
|
+
"complexType": {
|
|
366
|
+
"original": "string",
|
|
367
|
+
"resolved": "string",
|
|
368
|
+
"references": {}
|
|
369
|
+
},
|
|
370
|
+
"required": false,
|
|
371
|
+
"optional": true,
|
|
372
|
+
"docs": {
|
|
373
|
+
"tags": [],
|
|
374
|
+
"text": ""
|
|
375
|
+
},
|
|
376
|
+
"attribute": "city-id",
|
|
377
|
+
"reflect": false,
|
|
378
|
+
"defaultValue": "null"
|
|
379
|
+
},
|
|
380
|
+
"cityIntegrationId": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"mutable": false,
|
|
383
|
+
"complexType": {
|
|
384
|
+
"original": "string",
|
|
385
|
+
"resolved": "string",
|
|
386
|
+
"references": {}
|
|
387
|
+
},
|
|
388
|
+
"required": false,
|
|
389
|
+
"optional": true,
|
|
390
|
+
"docs": {
|
|
391
|
+
"tags": [],
|
|
392
|
+
"text": ""
|
|
393
|
+
},
|
|
394
|
+
"attribute": "city-integration-id",
|
|
395
|
+
"reflect": false,
|
|
396
|
+
"defaultValue": "null"
|
|
397
|
+
},
|
|
398
|
+
"companyId": {
|
|
399
|
+
"type": "string",
|
|
400
|
+
"mutable": false,
|
|
401
|
+
"complexType": {
|
|
402
|
+
"original": "string",
|
|
403
|
+
"resolved": "string",
|
|
404
|
+
"references": {}
|
|
405
|
+
},
|
|
406
|
+
"required": false,
|
|
407
|
+
"optional": true,
|
|
408
|
+
"docs": {
|
|
409
|
+
"tags": [],
|
|
410
|
+
"text": ""
|
|
411
|
+
},
|
|
412
|
+
"attribute": "company-id",
|
|
413
|
+
"reflect": false,
|
|
414
|
+
"defaultValue": "null"
|
|
415
|
+
},
|
|
416
|
+
"companyIntegrationId": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"mutable": false,
|
|
419
|
+
"complexType": {
|
|
420
|
+
"original": "string",
|
|
421
|
+
"resolved": "string",
|
|
422
|
+
"references": {}
|
|
423
|
+
},
|
|
424
|
+
"required": false,
|
|
425
|
+
"optional": true,
|
|
426
|
+
"docs": {
|
|
427
|
+
"tags": [],
|
|
428
|
+
"text": ""
|
|
429
|
+
},
|
|
430
|
+
"attribute": "company-integration-id",
|
|
431
|
+
"reflect": false,
|
|
432
|
+
"defaultValue": "null"
|
|
433
|
+
},
|
|
434
|
+
"companyBranchId": {
|
|
435
|
+
"type": "string",
|
|
436
|
+
"mutable": false,
|
|
437
|
+
"complexType": {
|
|
438
|
+
"original": "string",
|
|
439
|
+
"resolved": "string",
|
|
440
|
+
"references": {}
|
|
441
|
+
},
|
|
442
|
+
"required": false,
|
|
443
|
+
"optional": true,
|
|
444
|
+
"docs": {
|
|
445
|
+
"tags": [],
|
|
446
|
+
"text": ""
|
|
447
|
+
},
|
|
448
|
+
"attribute": "company-branch-id",
|
|
449
|
+
"reflect": false,
|
|
450
|
+
"defaultValue": "null"
|
|
451
|
+
},
|
|
452
|
+
"companyBranchIntegrationId": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"mutable": false,
|
|
455
|
+
"complexType": {
|
|
456
|
+
"original": "string",
|
|
457
|
+
"resolved": "string",
|
|
458
|
+
"references": {}
|
|
459
|
+
},
|
|
460
|
+
"required": false,
|
|
461
|
+
"optional": true,
|
|
462
|
+
"docs": {
|
|
463
|
+
"tags": [],
|
|
464
|
+
"text": ""
|
|
465
|
+
},
|
|
466
|
+
"attribute": "company-branch-integration-id",
|
|
467
|
+
"reflect": false,
|
|
468
|
+
"defaultValue": "null"
|
|
469
|
+
},
|
|
470
|
+
"userId": {
|
|
471
|
+
"type": "string",
|
|
472
|
+
"mutable": false,
|
|
473
|
+
"complexType": {
|
|
474
|
+
"original": "string",
|
|
475
|
+
"resolved": "string",
|
|
476
|
+
"references": {}
|
|
477
|
+
},
|
|
478
|
+
"required": false,
|
|
479
|
+
"optional": true,
|
|
480
|
+
"docs": {
|
|
481
|
+
"tags": [],
|
|
482
|
+
"text": ""
|
|
483
|
+
},
|
|
484
|
+
"attribute": "user-id",
|
|
485
|
+
"reflect": false,
|
|
486
|
+
"defaultValue": "null"
|
|
487
|
+
},
|
|
488
|
+
"brandIntegrationId": {
|
|
489
|
+
"type": "string",
|
|
490
|
+
"mutable": false,
|
|
491
|
+
"complexType": {
|
|
492
|
+
"original": "string",
|
|
493
|
+
"resolved": "string",
|
|
494
|
+
"references": {}
|
|
495
|
+
},
|
|
496
|
+
"required": false,
|
|
497
|
+
"optional": false,
|
|
498
|
+
"docs": {
|
|
499
|
+
"tags": [],
|
|
500
|
+
"text": ""
|
|
501
|
+
},
|
|
502
|
+
"attribute": "brand-integration-id",
|
|
503
|
+
"reflect": false,
|
|
504
|
+
"defaultValue": "null"
|
|
505
|
+
},
|
|
506
|
+
"customerName": {
|
|
507
|
+
"type": "string",
|
|
508
|
+
"mutable": false,
|
|
509
|
+
"complexType": {
|
|
510
|
+
"original": "string",
|
|
511
|
+
"resolved": "string",
|
|
512
|
+
"references": {}
|
|
513
|
+
},
|
|
514
|
+
"required": false,
|
|
515
|
+
"optional": true,
|
|
516
|
+
"docs": {
|
|
517
|
+
"tags": [],
|
|
518
|
+
"text": ""
|
|
519
|
+
},
|
|
520
|
+
"attribute": "customer-name",
|
|
521
|
+
"reflect": false,
|
|
522
|
+
"defaultValue": "null"
|
|
523
|
+
},
|
|
524
|
+
"customerPhone": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"mutable": false,
|
|
527
|
+
"complexType": {
|
|
528
|
+
"original": "string",
|
|
529
|
+
"resolved": "string",
|
|
530
|
+
"references": {}
|
|
531
|
+
},
|
|
532
|
+
"required": false,
|
|
533
|
+
"optional": true,
|
|
534
|
+
"docs": {
|
|
535
|
+
"tags": [],
|
|
536
|
+
"text": ""
|
|
537
|
+
},
|
|
538
|
+
"attribute": "customer-phone",
|
|
539
|
+
"reflect": false,
|
|
540
|
+
"defaultValue": "null"
|
|
541
|
+
},
|
|
542
|
+
"customerEmail": {
|
|
543
|
+
"type": "string",
|
|
544
|
+
"mutable": false,
|
|
545
|
+
"complexType": {
|
|
546
|
+
"original": "string",
|
|
547
|
+
"resolved": "string",
|
|
548
|
+
"references": {}
|
|
549
|
+
},
|
|
550
|
+
"required": false,
|
|
551
|
+
"optional": true,
|
|
552
|
+
"docs": {
|
|
553
|
+
"tags": [],
|
|
554
|
+
"text": ""
|
|
555
|
+
},
|
|
556
|
+
"attribute": "customer-email",
|
|
557
|
+
"reflect": false,
|
|
558
|
+
"defaultValue": "null"
|
|
559
|
+
},
|
|
560
|
+
"loadingStateChange": {
|
|
561
|
+
"type": "unknown",
|
|
562
|
+
"mutable": false,
|
|
563
|
+
"complexType": {
|
|
564
|
+
"original": "(isLoading: boolean) => void",
|
|
565
|
+
"resolved": "(isLoading: boolean) => void",
|
|
566
|
+
"references": {}
|
|
567
|
+
},
|
|
568
|
+
"required": false,
|
|
569
|
+
"optional": true,
|
|
570
|
+
"docs": {
|
|
571
|
+
"tags": [],
|
|
572
|
+
"text": ""
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"loadedResponse": {
|
|
576
|
+
"type": "unknown",
|
|
577
|
+
"mutable": false,
|
|
578
|
+
"complexType": {
|
|
579
|
+
"original": "(response: VehicleInformation) => void",
|
|
580
|
+
"resolved": "(response: VehicleInformation) => void",
|
|
581
|
+
"references": {
|
|
582
|
+
"VehicleInformation": {
|
|
583
|
+
"location": "import",
|
|
584
|
+
"path": "~types/vehicle-information",
|
|
585
|
+
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
"required": false,
|
|
590
|
+
"optional": true,
|
|
591
|
+
"docs": {
|
|
592
|
+
"tags": [],
|
|
593
|
+
"text": ""
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
static get states() {
|
|
599
|
+
return {
|
|
600
|
+
"state": {},
|
|
601
|
+
"externalVin": {},
|
|
602
|
+
"errorMessage": {},
|
|
603
|
+
"showRecaptcha": {},
|
|
604
|
+
"unInvoicedByBrokerName": {},
|
|
605
|
+
"vehicleInformation": {},
|
|
606
|
+
"checkingUnauthorizedSSC": {},
|
|
607
|
+
"recaptchaRes": {}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
static get methods() {
|
|
611
|
+
return {
|
|
612
|
+
"setData": {
|
|
613
|
+
"complexType": {
|
|
614
|
+
"signature": "(newData: VehicleInformation | string) => Promise<void>",
|
|
615
|
+
"parameters": [{
|
|
616
|
+
"name": "newData",
|
|
617
|
+
"type": "string | VehicleInformation",
|
|
618
|
+
"docs": ""
|
|
619
|
+
}],
|
|
620
|
+
"references": {
|
|
621
|
+
"Promise": {
|
|
622
|
+
"location": "global",
|
|
623
|
+
"id": "global::Promise"
|
|
624
|
+
},
|
|
625
|
+
"VehicleInformation": {
|
|
626
|
+
"location": "import",
|
|
627
|
+
"path": "~types/vehicle-information",
|
|
628
|
+
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
629
|
+
},
|
|
630
|
+
"ReturnType": {
|
|
631
|
+
"location": "global",
|
|
632
|
+
"id": "global::ReturnType"
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"return": "Promise<void>"
|
|
636
|
+
},
|
|
637
|
+
"docs": {
|
|
638
|
+
"text": "",
|
|
639
|
+
"tags": []
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
"fetchData": {
|
|
643
|
+
"complexType": {
|
|
644
|
+
"signature": "(requestedVin?: string) => Promise<void>",
|
|
645
|
+
"parameters": [{
|
|
646
|
+
"name": "requestedVin",
|
|
647
|
+
"type": "string",
|
|
648
|
+
"docs": ""
|
|
649
|
+
}],
|
|
650
|
+
"references": {
|
|
651
|
+
"Promise": {
|
|
652
|
+
"location": "global",
|
|
653
|
+
"id": "global::Promise"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"return": "Promise<void>"
|
|
657
|
+
},
|
|
658
|
+
"docs": {
|
|
659
|
+
"text": "",
|
|
660
|
+
"tags": []
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"setMockData": {
|
|
664
|
+
"complexType": {
|
|
665
|
+
"signature": "(newMockData: MockJson<VehicleInformation>) => Promise<void>",
|
|
666
|
+
"parameters": [{
|
|
667
|
+
"name": "newMockData",
|
|
668
|
+
"type": "{ [key: string]: VehicleInformation; }",
|
|
669
|
+
"docs": ""
|
|
670
|
+
}],
|
|
671
|
+
"references": {
|
|
672
|
+
"Promise": {
|
|
673
|
+
"location": "global",
|
|
674
|
+
"id": "global::Promise"
|
|
675
|
+
},
|
|
676
|
+
"MockJson": {
|
|
677
|
+
"location": "import",
|
|
678
|
+
"path": "~types/components",
|
|
679
|
+
"id": "src/global/types/components.ts::MockJson"
|
|
680
|
+
},
|
|
681
|
+
"VehicleInformation": {
|
|
682
|
+
"location": "import",
|
|
683
|
+
"path": "~types/vehicle-information",
|
|
684
|
+
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
"return": "Promise<void>"
|
|
688
|
+
},
|
|
689
|
+
"docs": {
|
|
690
|
+
"text": "",
|
|
691
|
+
"tags": []
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
static get elementRef() { return "el"; }
|
|
697
|
+
static get watchers() {
|
|
698
|
+
return [{
|
|
699
|
+
"propName": "showSsc",
|
|
700
|
+
"methodName": "onShowSscChange"
|
|
701
|
+
}, {
|
|
702
|
+
"propName": "showWarranty",
|
|
703
|
+
"methodName": "onShowWarrantyChange"
|
|
704
|
+
}, {
|
|
705
|
+
"propName": "state",
|
|
706
|
+
"methodName": "loadingListener"
|
|
707
|
+
}];
|
|
708
|
+
}
|
|
709
|
+
}
|