adp-web-components 0.0.34 → 0.0.37

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.
Files changed (117) hide show
  1. package/dist/cjs/{app-globals-6d543be0.js → app-globals-4aa8f46f.js} +13 -0
  2. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +394 -0
  3. package/dist/cjs/dynamic-claim_6.cjs.entry.js +12 -12
  4. package/dist/cjs/dynamic-redeem.cjs.entry.js +4 -4
  5. package/dist/cjs/form-input.cjs.entry.js +1 -1
  6. package/dist/cjs/general-inquiry-form.cjs.entry.js +1 -1
  7. package/dist/cjs/{get-local-language-b48b2f48.js → get-local-language-2acb5afc.js} +51 -1
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/part-lookup.cjs.entry.js +121 -0
  10. package/dist/cjs/shift-components.cjs.js +2 -2
  11. package/dist/cjs/vehicle-lookup.cjs.entry.js +1 -1
  12. package/dist/collection/collection-manifest.json +5 -4
  13. package/dist/collection/components/form-input/form-input.js +1 -1
  14. package/dist/collection/components/general-inquiry-form/general-inquiry-form.js +1 -1
  15. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  16. package/dist/collection/components/part-lookup/dead-stock-lookup.js +4 -3
  17. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  18. package/dist/collection/components/part-lookup/distributor-lookup.js +17 -13
  19. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  20. package/dist/collection/components/part-lookup/manufacturer-lookup.js +18 -18
  21. package/dist/collection/components/part-lookup/part-lookup.css +1 -0
  22. package/dist/collection/components/part-lookup/part-lookup.js +405 -0
  23. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +3 -3
  24. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +4 -4
  25. package/dist/collection/components/vehicle-lookup/paint-thickness.js +4 -4
  26. package/dist/collection/components/vehicle-lookup/service-history.js +2 -2
  27. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +4 -4
  28. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +2 -2
  29. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +2 -2
  30. package/dist/collection/components/vehicle-lookup/warranty-details.js +2 -2
  31. package/dist/collection/global/lib/middleware.js +13 -0
  32. package/dist/collection/global/types/locales/index.js +4 -0
  33. package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +10 -0
  34. package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +21 -0
  35. package/dist/collection/global/types/locales/part-lookup/index.js +13 -0
  36. package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +22 -0
  37. package/dist/components/dead-stock-lookup.js +1 -1
  38. package/dist/components/distributor-lookup.js +1 -1
  39. package/dist/components/dynamic-claim.js +1 -1
  40. package/dist/components/dynamic-redeem.js +1 -1
  41. package/dist/components/form-input.js +1 -1
  42. package/dist/components/general-inquiry-form.js +1 -1
  43. package/dist/components/index.js +1 -1
  44. package/dist/components/manufacturer-lookup.js +1 -1
  45. package/dist/components/{p-f6b68cb6.js → p-09dd6de2.js} +1 -1
  46. package/dist/components/{p-2882d59a.js → p-21dfafba.js} +1 -1
  47. package/dist/components/{p-5adec8c4.js → p-2f02d063.js} +1 -1
  48. package/dist/components/{p-f001d15b.js → p-46262302.js} +1 -1
  49. package/dist/components/{p-e5d74a15.js → p-58a3bbc5.js} +1 -1
  50. package/dist/components/p-5e80276a.js +5 -0
  51. package/dist/components/{p-0cfd2522.js → p-acbea376.js} +1 -1
  52. package/dist/components/p-bfddfd50.js +5 -0
  53. package/dist/components/{p-62a22efb.js → p-c20e4190.js} +1 -1
  54. package/dist/components/{p-1ca0dc4b.js → p-c41b74ea.js} +1 -1
  55. package/dist/components/p-c7747b68.js +5 -0
  56. package/dist/components/{p-093b1fb7.js → p-cb6dc5c3.js} +1 -1
  57. package/dist/components/p-f312b879.js +5 -0
  58. package/dist/components/paint-thickness.js +1 -1
  59. package/dist/components/part-lookup.d.ts +11 -0
  60. package/dist/components/part-lookup.js +5 -0
  61. package/dist/components/service-history.js +1 -1
  62. package/dist/components/vehicle-accessories.js +1 -1
  63. package/dist/components/vehicle-lookup.js +1 -1
  64. package/dist/components/vehicle-specification.js +1 -1
  65. package/dist/components/warranty-details.js +1 -1
  66. package/dist/esm/{app-globals-e6576027.js → app-globals-68faa233.js} +13 -0
  67. package/dist/esm/dead-stock-lookup_3.entry.js +388 -0
  68. package/dist/esm/dynamic-claim_6.entry.js +12 -12
  69. package/dist/esm/dynamic-redeem.entry.js +4 -4
  70. package/dist/esm/form-input.entry.js +1 -1
  71. package/dist/esm/general-inquiry-form.entry.js +1 -1
  72. package/dist/esm/{get-local-language-fff1db0a.js → get-local-language-883f9a8a.js} +51 -1
  73. package/dist/esm/loader.js +2 -2
  74. package/dist/esm/part-lookup.entry.js +117 -0
  75. package/dist/esm/shift-components.js +2 -2
  76. package/dist/esm/vehicle-lookup.entry.js +1 -1
  77. package/dist/locales/ar.json +40 -0
  78. package/dist/locales/en.json +40 -0
  79. package/dist/locales/ku.json +40 -0
  80. package/dist/locales/ru.json +137 -0
  81. package/dist/shift-components/{p-42d320e2.js → p-446d908d.js} +1 -1
  82. package/dist/shift-components/{p-691f64cf.entry.js → p-45cc348b.entry.js} +1 -1
  83. package/dist/shift-components/{p-832fd942.entry.js → p-4f7a3fd9.entry.js} +1 -1
  84. package/dist/shift-components/p-5e46843c.entry.js +5 -0
  85. package/dist/shift-components/{p-3a4e5325.entry.js → p-5f0b9f41.entry.js} +1 -1
  86. package/dist/shift-components/p-954859b9.entry.js +5 -0
  87. package/dist/shift-components/p-c44fe649.js +5 -0
  88. package/dist/shift-components/{p-496a721b.entry.js → p-cde3b164.entry.js} +1 -1
  89. package/dist/shift-components/{p-9120c049.entry.js → p-dc33c5ac.entry.js} +1 -1
  90. package/dist/shift-components/shift-components.esm.js +1 -1
  91. package/dist/types/components/part-lookup/part-lookup.d.ts +43 -0
  92. package/dist/types/components.d.ts +43 -5
  93. package/dist/types/global/types/locales/index.d.ts +84 -2
  94. package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +9 -0
  95. package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +31 -0
  96. package/dist/types/global/types/locales/part-lookup/index.d.ts +79 -0
  97. package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +33 -0
  98. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +1 -1
  99. package/package.json +1 -1
  100. package/dist/cjs/dead-stock-lookup.cjs.entry.js +0 -126
  101. package/dist/cjs/distributor-lookup.cjs.entry.js +0 -134
  102. package/dist/cjs/general-a1e72036.js +0 -13
  103. package/dist/cjs/manufacturer-lookup.cjs.entry.js +0 -133
  104. package/dist/cjs/partInformation-16ea1f8e.js +0 -34
  105. package/dist/components/p-1344d377.js +0 -5
  106. package/dist/components/p-50896586.js +0 -5
  107. package/dist/esm/dead-stock-lookup.entry.js +0 -122
  108. package/dist/esm/distributor-lookup.entry.js +0 -130
  109. package/dist/esm/general-b630a7db.js +0 -11
  110. package/dist/esm/manufacturer-lookup.entry.js +0 -129
  111. package/dist/esm/partInformation-ba1470e1.js +0 -32
  112. package/dist/shift-components/p-0b5958a0.entry.js +0 -5
  113. package/dist/shift-components/p-1344d377.js +0 -5
  114. package/dist/shift-components/p-cbd2ce5c.entry.js +0 -5
  115. package/dist/shift-components/p-e0ea03e8.js +0 -5
  116. package/dist/shift-components/p-eb229fab.entry.js +0 -5
  117. package/dist/shift-components/p-f99c8b2f.js +0 -5
@@ -0,0 +1,405 @@
1
+ /*!
2
+ * Built by ShiftSoftware
3
+ * Copyright (c)
4
+ */
5
+ import { Host, h } from "@stencil/core";
6
+ import cn from "../../global/lib/cn";
7
+ const DEAD_STOCK_TAG = 'dead-stock-lookup';
8
+ const DISTRIBUTOR_TAG = 'distributor-lookup';
9
+ const MANUFACTURER_TAG = 'manufacturer-lookup';
10
+ const componentTags = {
11
+ deadStock: DEAD_STOCK_TAG,
12
+ distributor: DISTRIBUTOR_TAG,
13
+ manufacturer: MANUFACTURER_TAG,
14
+ };
15
+ export class PartLookup {
16
+ constructor() {
17
+ this.loadingStateChangingMiddleware = (newState) => {
18
+ if (this.loadingStateChanged)
19
+ this.loadingStateChanged(newState);
20
+ if (this.blazorRef && this.blazorOnLoadingStateChange)
21
+ this.blazorRef.invokeMethodAsync(this.blazorOnLoadingStateChange, newState);
22
+ };
23
+ this.baseUrl = '';
24
+ this.isDev = false;
25
+ this.queryString = '';
26
+ this.language = 'en';
27
+ this.blazorErrorStateListener = '';
28
+ this.blazorOnLoadingStateChange = '';
29
+ this.childrenProps = '';
30
+ this.activeElement = '';
31
+ this.errorStateListener = undefined;
32
+ this.loadingStateChanged = undefined;
33
+ this.wrapperErrorState = '';
34
+ this.blazorRef = undefined;
35
+ }
36
+ async componentDidLoad() {
37
+ const deadStockLookup = this.el.getElementsByTagName('dead-stock-lookup')[0];
38
+ const distributerLookup = this.el.getElementsByTagName('distributor-lookup')[0];
39
+ const manufacturerLookup = this.el.getElementsByTagName('manufacturer-lookup')[0];
40
+ this.componentsList = {
41
+ [componentTags.deadStock]: deadStockLookup,
42
+ [componentTags.distributor]: distributerLookup,
43
+ [componentTags.manufacturer]: manufacturerLookup,
44
+ };
45
+ Object.values(this.componentsList).forEach(element => {
46
+ if (!element)
47
+ return;
48
+ if (this.loadingStateChanged)
49
+ element.loadingStateChange = this.loadingStateChangingMiddleware;
50
+ element.loadedResponse = newResponse => this.handleLoadData(newResponse, element);
51
+ });
52
+ }
53
+ async errorListener(newState) {
54
+ if (this.errorStateListener)
55
+ this.errorStateListener(newState);
56
+ if (this.blazorRef && this.blazorErrorStateListener)
57
+ this.blazorRef.invokeMethodAsync(this.blazorErrorStateListener, newState);
58
+ }
59
+ async setBlazorRef(newBlazorRef) {
60
+ this.blazorRef = newBlazorRef;
61
+ }
62
+ async fetchPartNumber(partNumber, quantity = '', headers = {}) {
63
+ const activeElement = this.componentsList[this.activeElement] || null;
64
+ this.wrapperErrorState = '';
65
+ if (!activeElement)
66
+ return;
67
+ if (partNumber == '')
68
+ return (this.wrapperErrorState = 'Part Number is Required');
69
+ const searchingText = quantity.trim() || quantity.trim() === '0' ? `${partNumber.trim()}/${quantity.trim()}` : partNumber.trim();
70
+ activeElement.fetchData(searchingText, headers);
71
+ }
72
+ async getPageContext() {
73
+ return { componentsList: this.componentsList };
74
+ }
75
+ handleLoadData(newResponse, activeElement) {
76
+ Object.values(this.componentsList).forEach(element => {
77
+ if (element !== null && element !== activeElement && newResponse)
78
+ element.setData(newResponse);
79
+ });
80
+ }
81
+ render() {
82
+ const props = {
83
+ [componentTags.deadStock]: {},
84
+ [componentTags.distributor]: {},
85
+ [componentTags.manufacturer]: {},
86
+ };
87
+ try {
88
+ if (this.childrenProps) {
89
+ let parsedProps = {};
90
+ if (typeof this.childrenProps === 'string')
91
+ parsedProps = JSON.parse(this.childrenProps);
92
+ else if (typeof this.childrenProps === 'object')
93
+ parsedProps = this.childrenProps;
94
+ Object.keys(props).forEach(key => {
95
+ if (typeof parsedProps[key] === 'object')
96
+ props[key] = parsedProps[key];
97
+ });
98
+ }
99
+ }
100
+ catch (error) {
101
+ console.error(error);
102
+ }
103
+ return (h(Host, { key: '4f3606e44577de61a411c91b2f2915b6ee137c29' }, h("div", { key: '0385456c0c3dd4cf121be90db88354f00aa82a9e', class: cn('w-full', { hidden: this.activeElement !== componentTags.deadStock }) }, h("dead-stock-lookup", Object.assign({ key: '37e10684a4e3558b9c296a9b2257be903964608b', isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.deadStock]))), h("div", { key: '3e49f12b1e6ae001f947f4504927bea108c459c3', class: cn('w-full', { hidden: this.activeElement !== componentTags.distributor }) }, h("distributor-lookup", Object.assign({ key: '069b0f6da84c46b4018e8637e0f9fa4cf51bdd38', isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.distributor]))), h("div", { key: '1c7a6506363cfb69f858fbc432a1fa586d367f4a', class: cn('w-full', { hidden: this.activeElement !== componentTags.manufacturer }) }, h("manufacturer-lookup", Object.assign({ key: '2c9afcc2d8e600f676ca642845a0b3774843bd25', isDev: this.isDev, "base-url": this.baseUrl, language: this.language, "query-string": this.queryString }, props[componentTags.manufacturer]))), h("slot", { key: 'a6f0637b2421bdbb458a5d7322e86012bb944c9a' })));
104
+ }
105
+ static get is() { return "part-lookup"; }
106
+ static get originalStyleUrls() {
107
+ return {
108
+ "$": ["part-lookup.css"]
109
+ };
110
+ }
111
+ static get styleUrls() {
112
+ return {
113
+ "$": ["part-lookup.css"]
114
+ };
115
+ }
116
+ static get properties() {
117
+ return {
118
+ "baseUrl": {
119
+ "type": "string",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "string",
123
+ "resolved": "string",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": ""
131
+ },
132
+ "attribute": "base-url",
133
+ "reflect": false,
134
+ "defaultValue": "''"
135
+ },
136
+ "isDev": {
137
+ "type": "boolean",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "boolean",
141
+ "resolved": "boolean",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": ""
149
+ },
150
+ "attribute": "is-dev",
151
+ "reflect": false,
152
+ "defaultValue": "false"
153
+ },
154
+ "queryString": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "string",
159
+ "resolved": "string",
160
+ "references": {}
161
+ },
162
+ "required": false,
163
+ "optional": false,
164
+ "docs": {
165
+ "tags": [],
166
+ "text": ""
167
+ },
168
+ "attribute": "query-string",
169
+ "reflect": false,
170
+ "defaultValue": "''"
171
+ },
172
+ "language": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "LanguageKeys",
177
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
178
+ "references": {
179
+ "LanguageKeys": {
180
+ "location": "import",
181
+ "path": "~types/locales",
182
+ "id": "src/global/types/locales/index.ts::LanguageKeys"
183
+ }
184
+ }
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": ""
191
+ },
192
+ "attribute": "language",
193
+ "reflect": false,
194
+ "defaultValue": "'en'"
195
+ },
196
+ "blazorErrorStateListener": {
197
+ "type": "string",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "string",
201
+ "resolved": "string",
202
+ "references": {}
203
+ },
204
+ "required": false,
205
+ "optional": false,
206
+ "docs": {
207
+ "tags": [],
208
+ "text": ""
209
+ },
210
+ "attribute": "blazor-error-state-listener",
211
+ "reflect": false,
212
+ "defaultValue": "''"
213
+ },
214
+ "blazorOnLoadingStateChange": {
215
+ "type": "string",
216
+ "mutable": false,
217
+ "complexType": {
218
+ "original": "string",
219
+ "resolved": "string",
220
+ "references": {}
221
+ },
222
+ "required": false,
223
+ "optional": false,
224
+ "docs": {
225
+ "tags": [],
226
+ "text": ""
227
+ },
228
+ "attribute": "blazor-on-loading-state-change",
229
+ "reflect": false,
230
+ "defaultValue": "''"
231
+ },
232
+ "childrenProps": {
233
+ "type": "string",
234
+ "mutable": false,
235
+ "complexType": {
236
+ "original": "string | Object",
237
+ "resolved": "Object | string",
238
+ "references": {
239
+ "Object": {
240
+ "location": "global",
241
+ "id": "global::Object"
242
+ }
243
+ }
244
+ },
245
+ "required": false,
246
+ "optional": true,
247
+ "docs": {
248
+ "tags": [],
249
+ "text": ""
250
+ },
251
+ "attribute": "children-props",
252
+ "reflect": false,
253
+ "defaultValue": "''"
254
+ },
255
+ "activeElement": {
256
+ "type": "string",
257
+ "mutable": false,
258
+ "complexType": {
259
+ "original": "ActiveElement",
260
+ "resolved": "\"\" | \"dead-stock-lookup\" | \"distributor-lookup\" | \"manufacturer-lookup\"",
261
+ "references": {
262
+ "ActiveElement": {
263
+ "location": "local",
264
+ "path": "/home/vsts/work/1/s/src/components/part-lookup/part-lookup.tsx",
265
+ "id": "src/components/part-lookup/part-lookup.tsx::ActiveElement"
266
+ }
267
+ }
268
+ },
269
+ "required": false,
270
+ "optional": true,
271
+ "docs": {
272
+ "tags": [],
273
+ "text": ""
274
+ },
275
+ "attribute": "active-element",
276
+ "reflect": false,
277
+ "defaultValue": "''"
278
+ },
279
+ "errorStateListener": {
280
+ "type": "unknown",
281
+ "mutable": false,
282
+ "complexType": {
283
+ "original": "(newError: string) => void",
284
+ "resolved": "(newError: string) => void",
285
+ "references": {}
286
+ },
287
+ "required": false,
288
+ "optional": true,
289
+ "docs": {
290
+ "tags": [],
291
+ "text": ""
292
+ }
293
+ },
294
+ "loadingStateChanged": {
295
+ "type": "unknown",
296
+ "mutable": false,
297
+ "complexType": {
298
+ "original": "(isLoading: boolean) => void",
299
+ "resolved": "(isLoading: boolean) => void",
300
+ "references": {}
301
+ },
302
+ "required": false,
303
+ "optional": true,
304
+ "docs": {
305
+ "tags": [],
306
+ "text": ""
307
+ }
308
+ }
309
+ };
310
+ }
311
+ static get states() {
312
+ return {
313
+ "wrapperErrorState": {},
314
+ "blazorRef": {}
315
+ };
316
+ }
317
+ static get methods() {
318
+ return {
319
+ "setBlazorRef": {
320
+ "complexType": {
321
+ "signature": "(newBlazorRef: DotNetObjectReference) => Promise<void>",
322
+ "parameters": [{
323
+ "name": "newBlazorRef",
324
+ "type": "{ invokeMethodAsync: (methodName: string, ...args: any[]) => Promise<any>; }",
325
+ "docs": ""
326
+ }],
327
+ "references": {
328
+ "Promise": {
329
+ "location": "global",
330
+ "id": "global::Promise"
331
+ },
332
+ "DotNetObjectReference": {
333
+ "location": "import",
334
+ "path": "~types/components",
335
+ "id": "src/global/types/components.ts::DotNetObjectReference"
336
+ }
337
+ },
338
+ "return": "Promise<void>"
339
+ },
340
+ "docs": {
341
+ "text": "",
342
+ "tags": []
343
+ }
344
+ },
345
+ "fetchPartNumber": {
346
+ "complexType": {
347
+ "signature": "(partNumber: string, quantity?: string, headers?: any) => Promise<string>",
348
+ "parameters": [{
349
+ "name": "partNumber",
350
+ "type": "string",
351
+ "docs": ""
352
+ }, {
353
+ "name": "quantity",
354
+ "type": "string",
355
+ "docs": ""
356
+ }, {
357
+ "name": "headers",
358
+ "type": "any",
359
+ "docs": ""
360
+ }],
361
+ "references": {
362
+ "Promise": {
363
+ "location": "global",
364
+ "id": "global::Promise"
365
+ }
366
+ },
367
+ "return": "Promise<string>"
368
+ },
369
+ "docs": {
370
+ "text": "",
371
+ "tags": []
372
+ }
373
+ },
374
+ "getPageContext": {
375
+ "complexType": {
376
+ "signature": "() => Promise<{ componentsList: ComponentMap; }>",
377
+ "parameters": [],
378
+ "references": {
379
+ "Promise": {
380
+ "location": "global",
381
+ "id": "global::Promise"
382
+ },
383
+ "ComponentMap": {
384
+ "location": "local",
385
+ "path": "/home/vsts/work/1/s/src/components/part-lookup/part-lookup.tsx",
386
+ "id": "src/components/part-lookup/part-lookup.tsx::ComponentMap"
387
+ }
388
+ },
389
+ "return": "Promise<{ componentsList: ComponentMap; }>"
390
+ },
391
+ "docs": {
392
+ "text": "",
393
+ "tags": []
394
+ }
395
+ }
396
+ };
397
+ }
398
+ static get elementRef() { return "el"; }
399
+ static get watchers() {
400
+ return [{
401
+ "propName": "wrapperErrorState",
402
+ "methodName": "errorListener"
403
+ }];
404
+ }
405
+ }
@@ -283,7 +283,7 @@ export class DynamicClaim {
283
283
  var _a, _b;
284
284
  const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
285
285
  const texts = this.locale.vehicleLookup.dynamicClaim;
286
- return (h(Host, { key: 'eae03b35a7067f0df313d4d36c1c610a51cb59e6' }, h("dynamic-redeem", { key: '4dca53c053a437120a488fea07f85794dd471031', language: this.language, id: "dynamic-redeem" }), h("div", { key: '4293fcc2195e751d4118a9064b30a835f76b5fa7', class: cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, h("div", { key: '64b1e5073886f1b96ebaf6bccca921d468b81a1a', class: "dynamic-claim-header" }, h("strong", { key: '8d652b2ba5b658d633596b3cb67badd0adfcca4f', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && (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))), h("div", { key: '774e18ad9e0bdce66813cca712bd152f96f3ba29', class: "dynamic-claim-body" }, h("div", { key: 'c8ccffc4f5fa61cb0f620530e5b25db5465b04e9', class: "loading-lane" }, h("div", { key: 'c8231fcb02ce2f708c2bbf60e5a812c384b42a80', class: "dynamic-claim-loading-slider" }, h("div", { key: 'e333b516efe3e89dcb6411b1ca3770812df4fc4f', class: "dynamic-claim-loading-slider-line" }), h("div", { key: '659b9698f22a73127bc3c81f18191a799f6d7303', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), h("div", { key: 'b4eb0acb6402db195ff118eb7457fa2efd3f2f6c', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), h("div", { key: '1ddbadcb901e64352ac23f9ed272ddb066836a50', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
286
+ return (h(Host, { key: '2af691f7c6ffafa3b84a7981ce9d986c5b21c1f3' }, h("dynamic-redeem", { key: '0b1c8179e3b1cc7a6d4140209cf678bb12c1b4f8', language: this.language, id: "dynamic-redeem" }), h("div", { key: '6b15e6f206f127ee7385e94e4e1da482297e90cb', class: cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, h("div", { key: 'd228d274d0b96cff2109b37f02929227066617dc', class: "dynamic-claim-header" }, h("strong", { key: '4f9345e71eac1cb2a33847fd37ca5943eee13a89', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && (h("span", { key: 'a3993b80232d30a896b62724df3d22d1e8493414', 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))), h("div", { key: '83f813a45ac139da18d6409989a2175e5949b16a', class: "dynamic-claim-body" }, h("div", { key: '94b34411638f21b1c8fe75236708fcf6a064254c', class: "loading-lane" }, h("div", { key: 'a102f0f2798190f9cbefa60edbfa3607916e6ceb', class: "dynamic-claim-loading-slider" }, h("div", { key: 'd13c65732d480313cea205478e850ce33e3f07ca', class: "dynamic-claim-loading-slider-line" }), h("div", { key: '8063bbef60d231c5c9069bbd9cb09ae65a957a1e', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), h("div", { key: '8b0119234750c2d2ad58af63c9d284c6a9cd56a5', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), h("div", { key: 'efbf9252ed01e25fb68e49811ede858208a6c3bc', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
287
287
  let statusClass = '';
288
288
  if (item.status === 'pending') {
289
289
  if (serviceItems.findIndex(i => i.status === 'pending') === idx)
@@ -292,7 +292,7 @@ export class DynamicClaim {
292
292
  else
293
293
  statusClass = item.status;
294
294
  return (h("div", { key: item.name, class: cn('dynamic-claim-item', statusClass), onMouseLeave: this.onMouseLeave }, h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-header load-animation", onMouseEnter: event => this.onMouseEnter(event.target, idx) }, h("img", { src: icons[item.status], alt: "status icon" }), h("span", null, texts[item.status]), this.activePopupIndex === idx && this.createPopup(item)), h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-circle load-animation" }), h("p", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-footer load-animation" }, item.name)));
295
- }), h("div", { key: 'ce4a02398dcde7edb5435837e7830c0bef2266fd', class: "dynamic-claim-progress-bar" }))))));
295
+ }), h("div", { key: '4992b48f37e59d6cb8400267e0498a83ccdc82bd', class: "dynamic-claim-progress-bar" }))))));
296
296
  }
297
297
  static get is() { return "dynamic-claim"; }
298
298
  static get encapsulation() { return "shadow"; }
@@ -366,7 +366,7 @@ export class DynamicClaim {
366
366
  "mutable": false,
367
367
  "complexType": {
368
368
  "original": "LanguageKeys",
369
- "resolved": "\"ar\" | \"en\" | \"ku\"",
369
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
370
370
  "references": {
371
371
  "LanguageKeys": {
372
372
  "location": "import",
@@ -127,11 +127,11 @@ export class DynamicRedeem {
127
127
  const disableInput = !this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles;
128
128
  if (!disableInput)
129
129
  this.focusInput();
130
- return (h(Host, { key: 'ca899101a9c26450da9eb84acfe90b3114ca4231' }, h("div", { key: 'a33432f3509fd5ef9449fbe93f23ddd61a6d211e', dir: this.locale.direction, class: cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, h("svg", { key: '45e3c9aaf9c589029b2db94c2d031d1d5ae09a0f', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '3a48e6bad7078bf54b5667d4192827bf3bc9ddcd', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '788ff371aceb85e226322cf51cd853050a257289', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '0da1a53cbb4f609d5429fd9137ec558dcab153d4', id: "SVGRepo_iconCarrier" }, h("path", { key: '10396b01c5539a7483b289821580bb7745d6fdb8', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: 'd73959366cef77e85ccf49216694ef5b27cddaa5', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: 'e8db86988b6cc6710b31aba19773fcea9da28ec9', class: "dynamic-claim-processor-wrapper" }, h("div", { key: '82173bff656657c1677fe929715b0f8e9f2f857e', class: "dynamic-claim-processor-info-box" }, h("div", { key: '59934f9a2f741fc1510cd01224a28f40c6a05fd3', class: "dynamic-claim-processor-info-box-header" }, h("strong", { key: '64e9771e906e66c257b8306a7c47285a7c844960', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), h("div", { key: '1bc32deaab3847d8df2bf0e113e5d9321a9f835d', class: "dynamic-claim-processor-info-box-body" }, h("table", { key: '0b56a7503ed3a606b6eb23f95ae62816a0080907', class: "border-separate" }, h("tr", { key: '28f08134af987b8ae5418cb9fd6b6fba0caecd36' }, h("th", { key: '9edb864c1ef54e4a4419e9f44e6fce4075c9dc36' }, texts.serviceType), h("td", { key: 'ea4a2a24f61ab833b81c1e6ce45a05cd19bc9e1b' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), h("th", { key: 'a893fb313b6d3f0eb8e975007b7721f6a52920f9' }, texts.name), h("td", { key: '10af8d9ec964866400645349a94f5d40d1f3d525' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), h("tr", { key: '10efd3c9c8f8ebb71f12f8cc086aee5850c8eaad' }, h("th", { key: 'fbea772cc1ff6924c2e13fededaf8479eeacf938' }, texts.activationDate), h("td", { key: '6eadf045b3c6cc384e29e4c21a17e27b48d19f83' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), h("th", { key: 'f38c16928cb337f2adb8119d13bb2b2f725c8235' }, texts.expireDate), h("td", { key: '04d214b1f4cc5f1d22976292743ade4de3796ac9' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), h("tr", { key: '938f2eaa651c12b69803546d4534155d81c97da7' }, h("th", { key: 'd3c5a821fdf2a0bc291f0f005eca0b58777f8dac' }, texts.menuCode), h("td", { key: '3de2547f3d28c901c64a63ecf8ee541efabe59a2' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.menuCode))))), h("div", { key: 'bd2990561d7e1ad281d2c14bad7edb0bfa3a158e', style: { flex: '1', width: '100%', display: 'flex', flexDirection: 'column', justifyContent: 'space-evenly' } }, (this === null || this === void 0 ? void 0 : this.internalCanceledItem) && Array.isArray(this.internalCanceledItem) && !!this.internalCanceledItem.length && (h("div", { key: '69c251119797182331bedb511d7ce505ef730440', class: "admonition warning" }, h("p", { key: '68d9ea5d07d3de1d680e59338da725be62ad8b59', class: "admonition-title" }, texts.warning), h("div", { key: 'c15d908ea237cb8b9af8d0b1b931a39caa870097', style: { padding: '0 30px' } }, h("p", { key: '2fc875649be681ac73ce08df73d164d0c82e071c', class: "my-4" }, texts.skipServicesWarning), h("ul", { key: '8ae88d36ce35e36b0875bb05470a5552c3d6d211', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (h("li", { id: name }, name)))), h("div", { key: 'f62f9d6234d364e92590710b1166b0534b811c47', class: "cancel-confirmation-box" }, h("label", { key: '685032c42428dc2e4e43b3afccde7a4a192d4de6' }, h("input", { key: '73c84800ef65e6c4fd8cac4a7b5497d32742a805', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
130
+ return (h(Host, { key: '9e0834b0d015a04c78e222d1dace141e587b05f0' }, h("div", { key: 'b04217257d133377bbd9da346d2fd1b68afe4aeb', dir: this.locale.direction, class: cn('dynamic-claim-processor', (this === null || this === void 0 ? void 0 : this.isOpened) && 'active') }, h("svg", { key: '93161c65789e759bd6ba991b3ba27f309756d8c9', id: "dynamic-claim-processor-close-icon", onClick: this.closeModal, viewBox: "-0.5 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '29005414c93ce4c8c987eeef9505cba880015884', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: 'a8254bf76b1cd0f4cc8489601cf79a5f46992f7d', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '044c23d1eec52b8913139be277a92a0f27bc56ec', id: "SVGRepo_iconCarrier" }, h("path", { key: '2071bb9933395f25a048e70a4aa65548ca9ca68d', d: "M3 21.32L21 3.32001", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { key: '4926e90429e8517cd68667b445eb12aa6f3c5a7f', d: "M3 3.32001L21 21.32", stroke: "#000000", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '350b073abe9ee9a3f58cc075d6a6002a6f09017e', class: "dynamic-claim-processor-wrapper" }, h("div", { key: '07c0205b788cf6d9c19c49b6f60e0fa16aaa8594', class: "dynamic-claim-processor-info-box" }, h("div", { key: 'cb13978e075f2551aba2d8fd503f747c0f823657', class: "dynamic-claim-processor-info-box-header" }, h("strong", { key: '0233b8a791add6908038d1a2bb71f7b14e0516c9', class: "dynamic-claim-header-vin" }, this === null || this === void 0 ? void 0 : this.internalVin)), h("div", { key: 'da9f9be90ced72ca4f7b83032ea45ed89bd3a356', class: "dynamic-claim-processor-info-box-body" }, h("table", { key: '785cf2ca8fbfab6ac15f380d9dfc599a2facb3c8', class: "border-separate" }, h("tr", { key: '1d51d2355d2cf7035a43b8ef8a58db0b7c57700b' }, h("th", { key: '99d65eea1a5bf369733720bdf32ad209b4ec588d' }, texts.serviceType), h("td", { key: '7d889cf118c6decea02919cfc7ff47e09e3682b3' }, (_a = this === null || this === void 0 ? void 0 : this.internalItem) === null || _a === void 0 ? void 0 : _a.type), h("th", { key: '92b5480c9127f5e3a6e350978ba4b40551fc8877' }, texts.name), h("td", { key: '6bb3baac3650047be60ef1cf49978cbbfbd39018' }, (_b = this === null || this === void 0 ? void 0 : this.internalItem) === null || _b === void 0 ? void 0 : _b.name)), h("tr", { key: '8ca114e0cec800fd12d829d61eb3908db5da6243' }, h("th", { key: '20328b30ab84c5d19d468ba3daf25585344d87de' }, texts.activationDate), h("td", { key: '02be56dadcb39e5740225b133a0a1ffbd15fd977' }, (_c = this === null || this === void 0 ? void 0 : this.internalItem) === null || _c === void 0 ? void 0 : _c.activatedAt), h("th", { key: 'a3e92f01ea2ddb2bfbb8fc2c93354c06387acf05' }, texts.expireDate), h("td", { key: '858160e2a08b1ea41f658bdb15ec87addd31ba4c' }, (_d = this === null || this === void 0 ? void 0 : this.internalItem) === null || _d === void 0 ? void 0 : _d.expiresAt)), h("tr", { key: 'b27e1732f0dcab87f0748fbff6af3aa0ee77dba8' }, h("th", { key: '58cca2e1dfc2ba9e2352ffc151bb7ab412dc2dc6' }, texts.menuCode), h("td", { key: '3f44350813014c12cd6ec8be98ff6575b09fc3b7' }, (_e = this === null || this === void 0 ? void 0 : this.internalItem) === null || _e === void 0 ? void 0 : _e.menuCode))))), h("div", { key: '9098ec6ae9fe1cb7e86837c04c4bd56b0c0ed7eb', style: { flex: '1', width: '100%', display: 'flex', flexDirection: 'column', justifyContent: 'space-evenly' } }, (this === null || this === void 0 ? void 0 : this.internalCanceledItem) && Array.isArray(this.internalCanceledItem) && !!this.internalCanceledItem.length && (h("div", { key: '48ffcf275d946607e0f633d8c0da648614bd019c', class: "admonition warning" }, h("p", { key: '53146d545919d962832b26af141a5d41de325ba7', class: "admonition-title" }, texts.warning), h("div", { key: 'eef812d4dd53e1fab99808f8fb2a08e0c041746b', style: { padding: '0 30px' } }, h("p", { key: '8c7c8bc6210d50aa49a4ab29a54d432efe56e828', class: "my-4" }, texts.skipServicesWarning), h("ul", { key: 'f10734a0bc4cc53f545ce52728e7930e8cc46937', class: "dynamic-claim-processor-to-be-cancelled-list warning-ul my-4 list-disc" }, this.internalCanceledItem.map(({ name }) => (h("li", { id: name }, name)))), h("div", { key: '6929ed41212f6b6cc03961d451ad9f53fe524e4a', class: "cancel-confirmation-box" }, h("label", { key: '8e929d414396739e84e59c8038eb92b40d673a98' }, h("input", { key: '7f2c07215d29459461e558c6d7f3a61019856e40', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
131
131
  this.confirmServiceCancellation = !this.confirmServiceCancellation;
132
- } }), texts.confirmSkipServices))))), true && this.unInvoicedByBrokerName && (h("div", { key: '3e606c5d3d9aa9a9f1e94dc49d1cdaadea8c4676', class: "admonition warning" }, h("p", { key: 'f8691d691a2a7bd45e49ccfef3a03c42ff0b5f4d', class: "admonition-title" }, texts.warning), h("div", { key: '4dd487f09a0f5047d035c258479a0f9cc8fbb166', style: { padding: '0 30px' } }, h("p", { key: 'e7898c98ab73dd532364c62c4c7c10ca1a4b9079', class: "my-4" }, texts.notInvoiced), h("div", { key: '4db96f227355163dc8380a06f7264c06b7410379' }, h("strong", { key: 'acf1bcf8096eceeda7691b2813a2f0ae8f2e71e0' }, this.unInvoicedByBrokerName)), h("div", { key: 'cd56d2feecf74a3417ea7585632d0ad2d8ff22f6', class: "cancel-confirmation-box" }, h("label", { key: '8793465d1df55623853f7c62c53e7f79303bf031' }, h("input", { key: '0169c6a108ac54959ab67e83451766659410bc34', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
132
+ } }), texts.confirmSkipServices))))), true && this.unInvoicedByBrokerName && (h("div", { key: '9c7874ac49eae55fb544589e242ce97ce715a819', class: "admonition warning" }, h("p", { key: '9c5fec7622bcacff06f1b5b7329585022a21d767', class: "admonition-title" }, texts.warning), h("div", { key: 'a9f4612b6abe3672309dfedb9f96aea05230cf44', style: { padding: '0 30px' } }, h("p", { key: '2e34407ccc5dc666c14b7a3b6a30252a3e873e7e', class: "my-4" }, texts.notInvoiced), h("div", { key: '0c974e3bdc0084e0c2861c9fb6488c306e33738a' }, h("strong", { key: '7e38f7433805d69931daa2eff5b8d7885cf9e42d' }, this.unInvoicedByBrokerName)), h("div", { key: '6b7ef5ad872b4d5a54aad31279cb097229f63b35', class: "cancel-confirmation-box" }, h("label", { key: '5b4c78d1cd554ed8eb7360e17de8196423a7304e' }, h("input", { key: '287a6fcdf32f3065f2b0cf3ed87e7c2b8af3fe85', type: "checkbox", class: "confirm-cancellation-input m-[3px] ml-1", onChange: () => {
133
133
  this.confirmUnInvoicedTBPVehicles = !this.confirmUnInvoicedTBPVehicles;
134
- } }), texts.confirmNotInvoiced))))), h("div", { key: 'b74163dfd1bfada8535f135985d8ce0c9f154670', class: cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, h("div", { key: '34f790b72367dc01f3ffd27ab942f8047fcdf3cf', id: "scan-invoice-step", class: cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, h("div", { key: '446982f39168194a9a56fc86c7c7dd839c667e94', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, h("div", { key: '8c28eafc04adb0c3943dd736f652ea159658367c', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, h("svg", { key: 'a7a98fc85906a57c709da365fc4efd9f982282f4', fill: "#3071a9", height: "100px", width: "100px", version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", stroke: "#ffffff" }, h("g", { key: 'f9cbfec564f6682f34a689425f227bec41e082b7', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '66c0e1bdafaf1eb0247a30ac1f3a7109f47a168b', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: '6cc2cc96df5207295619dc1307c2de966a48b59d', id: "SVGRepo_iconCarrier" }, h("g", { key: 'afedc5c6465fcff9f48345291bfb4318a905c013' }, h("g", { key: 'c34bdf5648f76b07e87444cb641a574868c9a327' }, h("path", { key: '4c884464ed129d08e9e55e310f95c02c14e3f6b9', d: "M354.338,34.205h-61.71c-3.354-9.93-12.752-17.102-23.8-17.102h-17.547C243.359,6.451,230.813,0,217.521,0 s-25.839,6.451-33.76,17.102h-17.547c-11.048,0-20.446,7.172-23.8,17.102H80.701c-18.566,0-33.67,15.105-33.67,33.67v359.148 c0,18.566,15.105,33.67,33.67,33.67h171.023c4.427,0,8.017-3.589,8.017-8.017c0-4.427-3.589-8.017-8.017-8.017H80.701 c-9.725,0-17.637-7.912-17.637-17.637V67.875c0-9.725,7.912-17.637,17.637-17.637h60.394v26.188c0,4.427,3.589,8.017,8.017,8.017 H285.93c4.427,0,8.017-3.589,8.017-8.017V50.238h60.391c9.725,0,17.637,7.912,17.637,17.637v230.881 c0,4.427,3.589,8.017,8.017,8.017c4.427,0,8.017-3.589,8.017-8.017V67.875C388.008,49.309,372.904,34.205,354.338,34.205z M277.914,68.409H157.129V42.252c0-0.011,0.001-0.02,0.001-0.031c0-0.005-0.001-0.011-0.001-0.015 c0.009-5.004,4.08-9.071,9.085-9.071h21.846c2.854,0,5.493-1.517,6.929-3.985c4.781-8.213,13.204-13.117,22.532-13.117 s17.751,4.904,22.532,13.117c1.435,2.467,4.075,3.985,6.929,3.985h21.846c4.999,0,9.067,4.059,9.085,9.055 c0,0.011-0.001,0.02-0.001,0.031c0,0.021,0.003,0.041,0.003,0.062V68.409z" }))), h("g", { key: '12afe6335adfb0c2dad77db92f2235678d704543' }, h("g", { key: 'b58403cdd31ef10bfc134ff0c471502c59c16f7b' }, h("path", { key: 'e7eb94f117455903c6ab931567ceeca44ba10256', d: "M251.722,410.455H97.269V84.443h17.64c4.427,0,8.017-3.589,8.017-8.017s-3.589-8.017-8.017-8.017H89.253 c-4.427,0-8.017,3.589-8.017,8.017v342.046c0,4.427,3.589,8.017,8.017,8.017h162.47c4.427,0,8.017-3.589,8.017-8.017 C259.739,414.044,256.15,410.455,251.722,410.455z" }))), h("g", { key: 'a977c62ea68b6373769c026855dc8a4da84e22a6' }, h("g", { key: '878b1c3a4f90504bb964dc03619afeaaf2e820b6' }, h("path", { key: '3efb5a597236dfcb70a972f90ff93d7ac04b9a0b', d: "M345.787,68.409h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.637v214.311 c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017V76.426C353.804,71.999,350.214,68.409,345.787,68.409z" }))), h("g", { key: '9a246407a23df8cae8a2fc02c4ca8af51746316a' }, h("g", { key: '6b3d0d3fb1d41281f8581495539d471787124267' }, h("path", { key: 'b0f52f41515292bb3923575ee0ba46570ce9d9a8', d: "M371.44,324.944c-51.572,0-93.528,41.956-93.528,93.528S319.869,512,371.44,512s93.528-41.956,93.528-93.528 S423.012,324.944,371.44,324.944z M371.44,495.967c-42.731,0-77.495-34.764-77.495-77.495s34.764-77.495,77.495-77.495 s77.495,34.764,77.495,77.495S414.172,495.967,371.44,495.967z" }))), h("g", { key: '8a5d953c8e749662709eb677cd5726d77e642212' }, h("g", { key: '0984d6f1879e798d3d206403bb6fef1bb0a2d516' }, h("path", { key: 'ba9e7188d3af075911a380b90b7151747aa223c3', d: "M217.607,34.205h-0.086c-4.427,0-7.974,3.589-7.974,8.017c0,4.427,3.631,8.017,8.059,8.017 c4.427,0,8.017-3.589,8.017-8.017C225.624,37.794,222.035,34.205,217.607,34.205z" }))), h("g", { key: 'd63b7f69c9408edfb813207090bc48fe2f68077b' }, h("g", { key: '389d0485fb4b6258c5ea865eb3a1802761fca983' }, h("path", { key: '89c4dac4cb4af126f2280b3259eff28b0f4d608c', d: "M419.865,387.15c-3.13-3.131-8.207-3.131-11.337,0l-54.19,54.19l-28.536-28.536c-3.131-3.131-8.207-3.131-11.337,0 c-3.131,3.131-3.131,8.207,0,11.337l34.205,34.205c1.565,1.565,3.617,2.348,5.668,2.348s4.103-0.782,5.668-2.348l59.858-59.858 C422.995,395.356,422.995,390.28,419.865,387.15z" }))), h("g", { key: '6a4c35796ca14efb4df7b6646926037bc7d6caff' }, h("g", { key: '8ee77bef21eda33760f726d9f9e0a50539c42de5' }, h("path", { key: 'e0efd338df732f3bda6e1e7eaf8e507dddea8666', d: "M182.781,177.309v-32.338c11.295,1.934,18.171,7.688,18.171,11.889c0,4.427,3.589,8.017,8.017,8.017 s8.017-3.589,8.017-8.017c0-14.171-14.492-25.621-34.205-28.092v-1.036c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 v1.036c-19.713,2.47-34.205,13.92-34.205,28.092c0,20.074,18.829,27.788,34.205,32.461v32.338 c-11.295-1.934-18.171-7.688-18.171-11.889c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 c0,14.171,14.492,25.621,34.205,28.092v1.036c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-1.036 c19.713-2.47,34.205-13.92,34.205-28.092C216.985,189.697,198.157,181.982,182.781,177.309z M166.747,172.411 c-13.524-4.713-18.171-8.963-18.171-15.551c0-2.535,2.236-5.335,6.134-7.68c3.294-1.982,7.473-3.415,12.037-4.198V172.411z M194.818,217.45c-3.294,1.982-7.473,3.415-12.037,4.198v-27.429c13.524,4.713,18.171,8.963,18.171,15.551 C200.952,212.306,198.716,215.105,194.818,217.45z" }))), h("g", { key: 'f2c63ce29a370df79d4b3d3423fc4a19e81aa453' }, h("g", { key: '4d94d8d7967fb496b9dd5c6357a03878b0730ea7' }, h("path", { key: 'a1bff2a143f0d83e7d49c86304b9a9da92339bae', d: "M294.48,136.818h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,136.818,294.48,136.818z" }))), h("g", { key: '41a0726c0a5734b0346cb4b267e22f208f657ded' }, h("g", { key: '25e2d3dc14c4fd8f9a3358b56b97811474d001b0' }, h("path", { key: 'b23c5bd17211aa10253e2d6d228d3ea15c9450e6', d: "M277.378,171.023h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h25.653 c4.427,0,8.017-3.589,8.017-8.017S281.805,171.023,277.378,171.023z" }))), h("g", { key: 'faa32b63b35ad414b233471242c4ef789dded9fe' }, h("g", { key: '6a375b4b3abe3220e7380de5007f850b87e288ab' }, h("path", { key: '7226e245625c1789c03273f668c7afb13d20da83', d: "M294.48,205.228h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,205.228,294.48,205.228z" }))), h("g", { key: '2e7d78e5086c0083b70e62a6cee9f1a6d6f32fcb' }, h("g", { key: '63d91f0be2f5a2f55dfb12c731d1e8784952833d' }, h("path", { key: '1f62c9709e80ffb4d0a278a5651bc10a60ac4c88', d: "M157.662,282.188H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,282.188,157.662,282.188z" }))), h("g", { key: '5330cbb034f3ca8bcb302e649b93e738d76936bf' }, h("g", { key: 'cff3ef6ac4db629e307bf210cf54f9f3a95078ae' }, h("path", { key: '9e504732e603a0c59ac84056b557c48df14762e1', d: "M157.662,350.597H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,350.597,157.662,350.597z" }))), h("g", { key: '86cb33c866ae14433e8277a8b02f57f547cd643c' }, h("g", { key: '02a5acc2f1c654d58ebee448eaf7d4155742abd2' }, h("path", { key: 'c4769f5ce4a90902f73b1658d1143ab42a423c00', d: "M157.662,316.393H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,316.393,157.662,316.393z" }))), h("g", { key: '02ef9cc91ceda2cf4bc370596c4baf25efa6eb60' }, h("g", { key: '3539387cbe4e0d8f16e1ebccabeaa1b087529bad' }, h("path", { key: 'd7dcd551530535db686cbd0563a34380b1f9aa36', d: "M294.48,282.188H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,282.188,294.48,282.188z" }))), h("g", { key: '8595194f3aaac4dac51f03380afab164f389187d' }, h("g", { key: '3a1215fdd0b0bfde4c2bbe6099ade455cf2bed51' }, h("path", { key: 'a6c2598415826e0561aab2ef14e9aa13d035025c', d: "M268.827,350.597h-76.96c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h76.96 c4.427,0,8.017-3.589,8.017-8.017S273.254,350.597,268.827,350.597z" }))), h("g", { key: 'a7bb2dbcfaf106eec747f247e6d79773ef3f3e7a' }, h("g", { key: '24baa3a1ae8c998f7ab69de766c48c9e4dc97b24' }, h("path", { key: '5e10dde8ce3c657410c7eed8d5f476f86ee47283', d: "M294.48,316.393H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,316.393,294.48,316.393z" }))))), h("div", { key: 'd5a81966d94c2d03fc6fa5874588b23222d488d0' }, texts.scanTheInvoice)), h("div", { key: 'a199ee75b32f576b2bf0b1bebbdf58912299ddb9', style: { position: 'absolute' }, class: "loading-wrapper" }, h("div", { key: '3b19f6f053d4d67f1f49602f8dbc44e544d283da', class: cn('lds-ripple', this.isLoading && 'active') }, h("div", { key: 'a8a9ee0e218a4850a78050bda6da143d3b899602' }), h("div", { key: '588365dbd0343f057bf44582f820ef2c44a89980' })), h("div", { key: '0fef4546cb43dbcdb356a0cdc7971bf38700a398', class: cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), h("input", { key: '421147f0eb93612d7f56a3c9c9f0b62756e3c291', dir: "ltr", class: "qr-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.qrCodeKeyDown, onBlur: () => this.input.focus(), autocomplete: "off", disabled: disableInput, placeholder: "", autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))))))));
134
+ } }), texts.confirmNotInvoiced))))), h("div", { key: '23317721daac926aea70551f3ba51c9d124ab317', class: cn('dynamic-claim-processor-progress', (!this.confirmServiceCancellation || !this.confirmUnInvoicedTBPVehicles) && 'disabled') }, h("div", { key: 'f9601d0cabeef18b467ec95cc9a34061d13b6f4a', id: "scan-invoice-step", class: cn('dynamic-claim-processor-progress-step', this.isLoading && 'processing') }, h("div", { key: '328e694b35d26cc55cc415ec17e7118ede8e79df', style: { position: 'relative', width: '130px', height: '130px', display: 'block', margin: 'auto', marginTop: '15px' } }, h("div", { key: 'abd41fc29d4c6592a403936fa8bb1670f1cd98e2', style: { position: 'absolute' }, class: "scan-invoice-wrapper flex flex-col gap-1 justify-center items-center" }, h("svg", { key: 'f68e70e19472d48425f235a16bcf3c1327cb9271', fill: "#3071a9", height: "100px", width: "100px", version: "1.1", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", stroke: "#ffffff" }, h("g", { key: 'b24c370dccfab6192523cfb8063102da3c874839', id: "SVGRepo_bgCarrier", "stroke-width": "0" }), h("g", { key: '747a333d8557a5362eca428029a2bb808905ce34', id: "SVGRepo_tracerCarrier", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", { key: 'a8beddf4148d7efcdee587cb6d597fe5c3d3977e', id: "SVGRepo_iconCarrier" }, h("g", { key: '91505a088ab4913a575aabb4a57130c47f4e13e0' }, h("g", { key: 'ce23d10dc5fabba0963bc436d6492350ce77ac41' }, h("path", { key: '8a433d73c362aae2924216da9e7f30047aacc620', d: "M354.338,34.205h-61.71c-3.354-9.93-12.752-17.102-23.8-17.102h-17.547C243.359,6.451,230.813,0,217.521,0 s-25.839,6.451-33.76,17.102h-17.547c-11.048,0-20.446,7.172-23.8,17.102H80.701c-18.566,0-33.67,15.105-33.67,33.67v359.148 c0,18.566,15.105,33.67,33.67,33.67h171.023c4.427,0,8.017-3.589,8.017-8.017c0-4.427-3.589-8.017-8.017-8.017H80.701 c-9.725,0-17.637-7.912-17.637-17.637V67.875c0-9.725,7.912-17.637,17.637-17.637h60.394v26.188c0,4.427,3.589,8.017,8.017,8.017 H285.93c4.427,0,8.017-3.589,8.017-8.017V50.238h60.391c9.725,0,17.637,7.912,17.637,17.637v230.881 c0,4.427,3.589,8.017,8.017,8.017c4.427,0,8.017-3.589,8.017-8.017V67.875C388.008,49.309,372.904,34.205,354.338,34.205z M277.914,68.409H157.129V42.252c0-0.011,0.001-0.02,0.001-0.031c0-0.005-0.001-0.011-0.001-0.015 c0.009-5.004,4.08-9.071,9.085-9.071h21.846c2.854,0,5.493-1.517,6.929-3.985c4.781-8.213,13.204-13.117,22.532-13.117 s17.751,4.904,22.532,13.117c1.435,2.467,4.075,3.985,6.929,3.985h21.846c4.999,0,9.067,4.059,9.085,9.055 c0,0.011-0.001,0.02-0.001,0.031c0,0.021,0.003,0.041,0.003,0.062V68.409z" }))), h("g", { key: '47666523cf9347e0f8e155d4610faa685a786e8b' }, h("g", { key: '0f09c5e47bb86983cb31c562e2d7a02c9fe6283b' }, h("path", { key: 'a260800a437176787738fd576ca2223de6e53914', d: "M251.722,410.455H97.269V84.443h17.64c4.427,0,8.017-3.589,8.017-8.017s-3.589-8.017-8.017-8.017H89.253 c-4.427,0-8.017,3.589-8.017,8.017v342.046c0,4.427,3.589,8.017,8.017,8.017h162.47c4.427,0,8.017-3.589,8.017-8.017 C259.739,414.044,256.15,410.455,251.722,410.455z" }))), h("g", { key: 'ae63d4b16681efb4887155e817826ef7a7fe745c' }, h("g", { key: 'c4f6de16ea2bad437253945ccd18140a08ea5584' }, h("path", { key: '8f2134dc62e9f386dc1034d562e1464030486618', d: "M345.787,68.409h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.637v214.311 c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017V76.426C353.804,71.999,350.214,68.409,345.787,68.409z" }))), h("g", { key: '74df7261104bff1da50252bb223a8d08ad5fdfe5' }, h("g", { key: '53ef53041c9f8dc7b8f6eecff10703baa1bee6db' }, h("path", { key: 'cda1f0a75e612da7943bfb10d1edebb7055898e9', d: "M371.44,324.944c-51.572,0-93.528,41.956-93.528,93.528S319.869,512,371.44,512s93.528-41.956,93.528-93.528 S423.012,324.944,371.44,324.944z M371.44,495.967c-42.731,0-77.495-34.764-77.495-77.495s34.764-77.495,77.495-77.495 s77.495,34.764,77.495,77.495S414.172,495.967,371.44,495.967z" }))), h("g", { key: '0e21a4915d6ab6e58991db5e37da2c6911c63b4d' }, h("g", { key: 'a65c9fe8a4629c90fd973c64b25541cd8f28976e' }, h("path", { key: '3777e4081c25ccfcaacf0d9f689ee31114496bbd', d: "M217.607,34.205h-0.086c-4.427,0-7.974,3.589-7.974,8.017c0,4.427,3.631,8.017,8.059,8.017 c4.427,0,8.017-3.589,8.017-8.017C225.624,37.794,222.035,34.205,217.607,34.205z" }))), h("g", { key: '94160dab1c0c48766e0fbc9c4c982eb1359b782b' }, h("g", { key: 'b0c239c6bb69573c10cf3c1ffd3953c9c6b6614c' }, h("path", { key: '8d4509d9aad59197e606acf2bb12fdb413501e2f', d: "M419.865,387.15c-3.13-3.131-8.207-3.131-11.337,0l-54.19,54.19l-28.536-28.536c-3.131-3.131-8.207-3.131-11.337,0 c-3.131,3.131-3.131,8.207,0,11.337l34.205,34.205c1.565,1.565,3.617,2.348,5.668,2.348s4.103-0.782,5.668-2.348l59.858-59.858 C422.995,395.356,422.995,390.28,419.865,387.15z" }))), h("g", { key: '90ae14fd2295e3ccda79cd1d5144a3c9037e7ef2' }, h("g", { key: '05f92bf017c5a9672bfb9b80fe1b3924d0fb60c1' }, h("path", { key: '117eda012c52c0471264be0b112d512db1a1b38d', d: "M182.781,177.309v-32.338c11.295,1.934,18.171,7.688,18.171,11.889c0,4.427,3.589,8.017,8.017,8.017 s8.017-3.589,8.017-8.017c0-14.171-14.492-25.621-34.205-28.092v-1.036c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 v1.036c-19.713,2.47-34.205,13.92-34.205,28.092c0,20.074,18.829,27.788,34.205,32.461v32.338 c-11.295-1.934-18.171-7.688-18.171-11.889c0-4.427-3.589-8.017-8.017-8.017s-8.017,3.589-8.017,8.017 c0,14.171,14.492,25.621,34.205,28.092v1.036c0,4.427,3.589,8.017,8.017,8.017s8.017-3.589,8.017-8.017v-1.036 c19.713-2.47,34.205-13.92,34.205-28.092C216.985,189.697,198.157,181.982,182.781,177.309z M166.747,172.411 c-13.524-4.713-18.171-8.963-18.171-15.551c0-2.535,2.236-5.335,6.134-7.68c3.294-1.982,7.473-3.415,12.037-4.198V172.411z M194.818,217.45c-3.294,1.982-7.473,3.415-12.037,4.198v-27.429c13.524,4.713,18.171,8.963,18.171,15.551 C200.952,212.306,198.716,215.105,194.818,217.45z" }))), h("g", { key: '0bbe9e8a65c3deba1a997653a6a212fc218807cc' }, h("g", { key: '8ae8e29d7d460e8e6b6a8287489d26986a3ab821' }, h("path", { key: 'ba99c674627522ac33d70ea6100c5958e562d620', d: "M294.48,136.818h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,136.818,294.48,136.818z" }))), h("g", { key: '5b9e09a12f0def9cf011d7fe8909d8f2086c04b5' }, h("g", { key: '1ce72824285a08151b3f33737129ced2b63333d7' }, h("path", { key: 'fb939c8b4fb336bd949d719271bbc2dca1840da0', d: "M277.378,171.023h-25.653c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h25.653 c4.427,0,8.017-3.589,8.017-8.017S281.805,171.023,277.378,171.023z" }))), h("g", { key: '1c23413c8ac1fe1b1d6d4bb1c804f948a2fe22cc' }, h("g", { key: '3ccdfde33bf588f2fa038a610848bc0dbfa68c1f' }, h("path", { key: '0adda5a28bebea44b33c5cf887b11b28972f9eef', d: "M294.48,205.228h-42.756c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h42.756 c4.427,0,8.017-3.589,8.017-8.017S298.908,205.228,294.48,205.228z" }))), h("g", { key: '5f1f9eb4e3287e7dde6daa8db7dec6c699a8b5d0' }, h("g", { key: '704aab9638bd52411156cbbc76b1baa1a25b19e5' }, h("path", { key: 'f572ff85113a92c45d9d8155f1f68a79ad747d4a', d: "M157.662,282.188H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,282.188,157.662,282.188z" }))), h("g", { key: 'f02f77ea7ca0ca2d0eb882fe81d053b0248f1725' }, h("g", { key: 'a6ab10765e363f2e25502539e53ee610a8b7aafd' }, h("path", { key: '9f59014caeca9072039da437d8c10afe5574197d', d: "M157.662,350.597H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,350.597,157.662,350.597z" }))), h("g", { key: '682b60122feea993d88be043bc51f442b56a4e76' }, h("g", { key: 'be949e227811b8af7241c07cfc7e611e218df31f' }, h("path", { key: '58f4a85b9039f0bf839e0dda88f64cba1a90b80f', d: "M157.662,316.393H140.56c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h17.102 c4.427,0,8.017-3.589,8.017-8.017S162.089,316.393,157.662,316.393z" }))), h("g", { key: 'f4b6babd17e88e8507d011dda0311616b1bb2202' }, h("g", { key: '59eea65f697e7ac2df5f95ed1cc9f67fd5abcf36' }, h("path", { key: '386481692bae2bca8fb12e70219ef79be1ae8c4f', d: "M294.48,282.188H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,282.188,294.48,282.188z" }))), h("g", { key: 'f4703c204d3d521fb5ab07c0d233008bf18e99b1' }, h("g", { key: 'e8a0825ece9d2707d1754e7d61eaca2021d5ddde' }, h("path", { key: '3f26f62d79ce8f8f44b42f1d4cf03066abf7ea68', d: "M268.827,350.597h-76.96c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017h76.96 c4.427,0,8.017-3.589,8.017-8.017S273.254,350.597,268.827,350.597z" }))), h("g", { key: 'acbf002a7902cb06e31d218621d4c7d3f40ce88d' }, h("g", { key: '585dd449d363add070a696b43ce76a06e9204f85' }, h("path", { key: 'd2352b417a9a25b82d17bbffc3d58dffede07fb0', d: "M294.48,316.393H191.866c-4.427,0-8.017,3.589-8.017,8.017s3.589,8.017,8.017,8.017H294.48 c4.427,0,8.017-3.589,8.017-8.017S298.908,316.393,294.48,316.393z" }))))), h("div", { key: 'c14059cf2cc7ec1c6f6469ff6b98503fe3b7bc12' }, texts.scanTheInvoice)), h("div", { key: '794225f0cb388ae74fd28eeb1b6d68b4f7d93470', style: { position: 'absolute' }, class: "loading-wrapper" }, h("div", { key: '7a58e7359cfb906115e717a04e033504ad5a1e83', class: cn('lds-ripple', this.isLoading && 'active') }, h("div", { key: 'bfe2f78e944fb2ac4ea0de9e0953605da08a8428' }), h("div", { key: 'ff2403222c9510e8eaee20c56494bce1701cdda1' })), h("div", { key: 'e9a811ec65baabb5a6dc8ec224484f49dbf20a7b', class: cn('lds-ripple-loading', this.isLoading && 'active') }, texts.processing))), h("input", { key: '639d18db01761b74522153bcf32689fe38801f49', dir: "ltr", class: "qr-input", spellcheck: "false", onInput: this.onValueChanges, onKeyDown: this.qrCodeKeyDown, onBlur: () => this.input.focus(), autocomplete: "off", disabled: disableInput, placeholder: "", autofocus: true, style: { marginTop: '20px', padding: '10px 0px', fontSize: '16px' } }))))))));
135
135
  }
136
136
  static get is() { return "dynamic-redeem"; }
137
137
  static get encapsulation() { return "shadow"; }
@@ -192,7 +192,7 @@ export class DynamicRedeem {
192
192
  "mutable": false,
193
193
  "complexType": {
194
194
  "original": "LanguageKeys",
195
- "resolved": "\"ar\" | \"en\" | \"ku\"",
195
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
196
196
  "references": {
197
197
  "LanguageKeys": {
198
198
  "location": "import",
@@ -105,11 +105,11 @@ export class PaintThickness {
105
105
  var _a, _b;
106
106
  const texts = this.locale.vehicleLookup.paintThickness;
107
107
  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: [] };
108
- return (h(Host, { key: '63c26e93dfd02ecf3dedb8c02b90c53217ebac74' }, h("div", { key: '1afca3004303df017df436308db4f265f86f73c5', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: 'a13c70ca9d772e7e344db801e12c119698934dcb' }, h(Loading, { key: '8e0ec05cb31af7afd60b5d39c58474d081423c0c', isLoading: this.state.includes('loading') }), h("div", { key: '8e26c7228bae3709ec604aa76069023a928d5315', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: 'fbbad92f671914f1de952cb9cf3e3a8d987d3170', class: 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) && (h("div", { key: '2e86c841565522c2221084fff77787d36af5f0c9', class: "py-[16px]" }, 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) && (h("div", { key: '00ef9f81a04ce61409ef0fe2d05c5e53c54e8ec9', class: "flex mt-[12px] w-full max-h-[70dvh] overflow-hidden mx-auto rounded-[4px] flex-col border border-[#d6d8dc]" }, 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), h("div", { key: '6312fc77ad4169509bd184f38a78fca84c826a55', class: "h-0 overflow-auto flex-1" }, !parts.length && h("div", { key: '6effdd6539fb90f4945352c03de92aefda585735', class: "h-[50px] px-[30px] flex items-center justify-center text-[18px]" }, texts.noData), !!parts.length && (h("table", { key: '7b873c31bca0834899609894e901efc871ca3bdc', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: 'e7525470ad10cbb85e2a648a272fb5e33dde9aee', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: 'ae4518825cf0588211b4a8f22056404aa79aab9a' }, ['part', 'left', 'right'].map(title => (h("th", { key: title, class: "px-[15px] min-w-[100px] py-[15px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: '68b428b4be79e61ecac8024bc763b69dbae763e2' }, parts.map((part, idx) => (h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: part.part }, ['part', 'left', 'right'].map(key => (h("td", { key: part.part + key, class: cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
108
+ return (h(Host, { key: '1e382e152870fe6ed781e7bb1a61d0bc513bd33c' }, h("div", { key: '87f754d6e4231fc8ac96a47d38afeceac4961adb', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: 'ed7ec03eb3564e10d9a85158050c31ec4456b854' }, h(Loading, { key: '1b0d996939d7739f98b704230e0976874faab3ed', isLoading: this.state.includes('loading') }), h("div", { key: '466ef3752e44dc70b7feb76de7e209a57094e90d', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: 'da246e967d6b33c272fc32584e2d7f1e0e83ccd4', class: 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) && (h("div", { key: 'e4dcd6efb6dc64098925031c172ebc4827714d12', class: "py-[16px]" }, h("div", { key: '2bb9d510c170a8e270346c0b7f9eda339ad3d576', 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) && (h("div", { key: 'dbeeb65434cc8e359f47aa85d83ec2855b456219', class: "flex mt-[12px] w-full max-h-[70dvh] overflow-hidden mx-auto rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'ee456914428711989d06c5b612a05b024224d339', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.paintThickness), h("div", { key: 'b8a3f46ae6e09768cd2151f72d7e6e2a13d8308c', class: "h-0 overflow-auto flex-1" }, !parts.length && h("div", { key: 'db8327f2536be13dd32820898e2651ff08af81fd', class: "h-[50px] px-[30px] flex items-center justify-center text-[18px]" }, texts.noData), !!parts.length && (h("table", { key: 'e107871560c319d6c8830bbe8c9e9753dd7500c1', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: '28a54bb79297574e0f1f4f9db9397ce6d8d06a97', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: '35c688c631187bbbbd2610f5532f949d994d8e86' }, ['part', 'left', 'right'].map(title => (h("th", { key: title, class: "px-[15px] min-w-[100px] py-[15px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: '9d925d7ca4bec43400c168492ce6add324eeb74b' }, parts.map((part, idx) => (h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: part.part }, ['part', 'left', 'right'].map(key => (h("td", { key: part.part + key, class: cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
109
109
  '!border-none': idx === parts.length - 1,
110
- }) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: '8960617e47afdc6db66912cca04729e05b7c0c4f' }, !imageGroups.length && h("div", { key: 'ff88633f24dab1ab3e1571b95a285b758d9607c9', class: "h-[40px] px-[30px] flex text-red-500 items-center justify-center text-[18px]" }, texts.noImageGroups), !!imageGroups.length && (h("div", { key: '838e0f573b5452a5154a92f5f97f613d610c7bf1', class: "py-[16px] gap-[16px] justify-center flex flex-wrap px-[24px] w-full" }, imageGroups.map(imageGroup => (h("div", { class: "shrink-0 rounded-lg shadow-sm border overflow-hidden flex flex-col", key: imageGroup.name }, h("h1", { class: "text-center border-b bg-slate-200 font-semibold p-[6px]" }, imageGroup.name), h("div", { class: "flex p-[12px] gap-[8px]" }, imageGroup.images.map(image => (h("div", { class: "flex gap-[8px]", key: image }, 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" }, 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" }, h("img", { src: Eye }), h("span", { class: "text-white" }, texts.expand)), h("img", { class: "w-auto h-[150px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: image }))))))))), h("div", { key: '788024dce16b13c1509ae49fe69b5e48e1afc8ba', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-10 left-0 opacity-0 bg-black/40 transition-all duration-400', {
110
+ }) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: 'cba778359895dc949da8172f106f94380dbb7fb3' }, !imageGroups.length && h("div", { key: '4c76413ca2cc94aee048667c87a0541268cda16a', class: "h-[40px] px-[30px] flex text-red-500 items-center justify-center text-[18px]" }, texts.noImageGroups), !!imageGroups.length && (h("div", { key: 'df5b892b8bc8321fc22d90eb648ef1a0973e25dc', class: "py-[16px] gap-[16px] justify-center flex flex-wrap px-[24px] w-full" }, imageGroups.map(imageGroup => (h("div", { class: "shrink-0 rounded-lg shadow-sm border overflow-hidden flex flex-col", key: imageGroup.name }, h("h1", { class: "text-center border-b bg-slate-200 font-semibold p-[6px]" }, imageGroup.name), h("div", { class: "flex p-[12px] gap-[8px]" }, imageGroup.images.map(image => (h("div", { class: "flex gap-[8px]", key: image }, 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" }, 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" }, h("img", { src: Eye }), h("span", { class: "text-white" }, texts.expand)), h("img", { class: "w-auto h-[150px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: image }))))))))), h("div", { key: 'aab963037ccebcc594fcd95f8145eab95b344c4e', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-10 left-0 opacity-0 bg-black/40 transition-all duration-400', {
111
111
  'pointer-events-auto opacity-100 delay-200': this.expandedImage,
112
- }) }, h("button", { key: 'f3b66783393492c980e76f875aa8e15dd34467cb', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, h("div", { key: '96729fd9b6be1cb392e5e0e990606dc49ec2bdbc', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), h("div", { key: 'ba4e7211b3cdb19195855eb353f1e12259039bff', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), h("img", { key: '7ea590ea5d9783fad22238ccbe5380424dd0c685', alt: "", id: "expanded-image", class: "fixed opacity-0 z-40 transition-all rounded-lg" }))))))))));
112
+ }) }, h("button", { key: 'fa15c8961fea415f14e59d539a64c1446789d5be', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, h("div", { key: 'fd9a22c4c9b0bc3b87dd9831c74467738737f5ea', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), h("div", { key: 'a6a9e793fb57a7afe88bbd80218a9c293e0b24cc', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), h("img", { key: 'c6623b738244c8eeee9d0448014539e67d88b5df', alt: "", id: "expanded-image", class: "fixed opacity-0 z-40 transition-all rounded-lg" }))))))))));
113
113
  }
114
114
  static get is() { return "paint-thickness"; }
115
115
  static get encapsulation() { return "shadow"; }
@@ -184,7 +184,7 @@ export class PaintThickness {
184
184
  "mutable": false,
185
185
  "complexType": {
186
186
  "original": "LanguageKeys",
187
- "resolved": "\"ar\" | \"en\" | \"ku\"",
187
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
188
188
  "references": {
189
189
  "LanguageKeys": {
190
190
  "location": "import",
@@ -88,7 +88,7 @@ export class ServiceHistory {
88
88
  render() {
89
89
  var _a, _b, _c, _d;
90
90
  const texts = this.locale.vehicleLookup.serviceHistory;
91
- return (h(Host, { key: 'f89ce7f17b78c775cbcee6a4db109ef3c00e6d29' }, h("div", { key: 'd6b942daf06542e542a04d3bb72068c5758c80e9', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: 'acf33e3e253eb114c443a7d987db2b5e5db1468e' }, h(Loading, { key: '74d21f31cf67f9b5959e6ba4af3ebaea10bb6b04', isLoading: this.state.includes('loading') }), h("div", { key: '803d65860d980d5bac019b749d75a5692b5dfa06', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: '1e9672450bd13031d6079a2ed33e06a40e36a6bc', class: 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) && (h("div", { key: 'b8b5edb12f6e38919945160d446e004cbc7ad6ba', class: "py-[16px]" }, 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) && (h("div", { key: 'e591ba63512e82b6550aa9aee55a8fa406227b85', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, 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), h("div", { key: '9d9972cb39d1921b7bb4e4c5bd264c13b62ac0c2', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory.length) && 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) && (h("table", { key: '5d93b0cd99ca7f38631c36259c9d019b4b5234fd', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: 'bdd4ccde39e53fcbd15d4ccf27f0d504e1ba9d21', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: '83d5b447ef3f5ee92314cb9be124ae316d196c22' }, ['branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer'].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: 'f32901ca2350c6fadf44972681f909c2b27b7707' }, (_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.serviceHistory.map((service, idx) => (h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: service.invoiceNumber }, ['branchName', 'companyName', 'invoiceNumber', 'serviceDate', 'serviceType', 'mileage'].map(serviceType => {
91
+ return (h(Host, { key: '2979b752e0381f4b40392e2f145207e2fe2494cf' }, h("div", { key: '2874c4f52f522a46eb6e43d65fa07e00f49a8f80', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: '0091ffe170d2ff1cd923a3b095e387a9fd90dea3' }, h(Loading, { key: 'd09927339a44e20d502d662593c940c7f85dd3ec', isLoading: this.state.includes('loading') }), h("div", { key: '937a9a01f833ff5586544e66493c1c52096d9aa3', class: cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: '07231540ca2c58cb561dd50524a809c4759927b7', class: 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) && (h("div", { key: '3887f217d6bb6a29a83ea607134d7cb30a60bc46', class: "py-[16px]" }, h("div", { key: '0206e33c760a9da5cc7bd9cc7d262d40dd5eb0ed', 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) && (h("div", { key: 'e7d14355842f4e96a7e049223e58bc6eb4850999', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'd216d2c492765c6136802226ea476f149ab1f89f', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.serviceHistory), h("div", { key: '06d8bbabdb3dd4709376da4dff8c855cc381a28d', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory.length) && h("div", { key: 'ef9d65cab3af6bf7bbd77eb3e6359889230117c2', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.serviceHistory.length) && (h("table", { key: '4036d60fbddc852f055500dc3de7bd9e21ab6975', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: 'a8f78de49055ccb2eb40a5a91479ecb4909deb3a', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: '9b21c419e30de3067ed6c3670afa395b50c26377' }, ['branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer'].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: 'ec1151d70daae550c8bc36e22c6341cf1a7a867c' }, (_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.serviceHistory.map((service, idx) => (h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: service.invoiceNumber }, ['branchName', 'companyName', 'invoiceNumber', 'serviceDate', 'serviceType', 'mileage'].map(serviceType => {
92
92
  var _a;
93
93
  return (h("td", { key: service.invoiceNumber + serviceType, class: cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
94
94
  '!border-none': idx === ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceHistory.length) - 1,
@@ -168,7 +168,7 @@ export class ServiceHistory {
168
168
  "mutable": false,
169
169
  "complexType": {
170
170
  "original": "LanguageKeys",
171
- "resolved": "\"ar\" | \"en\" | \"ku\"",
171
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
172
172
  "references": {
173
173
  "LanguageKeys": {
174
174
  "location": "import",