adp-web-components 0.0.63 → 0.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/cjs/app-globals-4aa8f46f.js +0 -46
- package/dist/cjs/cn-f559f9e5.js +0 -2588
- package/dist/cjs/contact-us-form.cjs.entry.js +0 -209
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +0 -445
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1154
- package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -156
- package/dist/cjs/form-dialog_8.cjs.entry.js +0 -503
- package/dist/cjs/get-local-language-18a7ccf5.js +0 -2380
- package/dist/cjs/index-603d8f32.js +0 -1610
- package/dist/cjs/index.cjs.js +0 -6
- package/dist/cjs/loader-baf2418b.js +0 -9
- package/dist/cjs/loader.cjs.js +0 -19
- package/dist/cjs/loading-spinner.cjs.entry.js +0 -27
- package/dist/cjs/part-lookup.cjs.entry.js +0 -129
- package/dist/cjs/service-booking-form.cjs.entry.js +0 -209
- package/dist/cjs/shift-components.cjs.js +0 -29
- package/dist/cjs/urls-9077b31c.js +0 -4874
- package/dist/cjs/vehicle-lookup.cjs.entry.js +0 -202
- package/dist/collection/collection-manifest.json +0 -35
- package/dist/collection/components/components/loading-spinner.css +0 -1
- package/dist/collection/components/components/loading-spinner.js +0 -47
- package/dist/collection/components/form-elements/form-dialog.css +0 -1
- package/dist/collection/components/form-elements/form-dialog.js +0 -137
- package/dist/collection/components/form-elements/form-input.css +0 -1
- package/dist/collection/components/form-elements/form-input.js +0 -323
- package/dist/collection/components/form-elements/form-select.css +0 -1
- package/dist/collection/components/form-elements/form-select.js +0 -400
- package/dist/collection/components/form-elements/form-shadow-input.css +0 -1
- package/dist/collection/components/form-elements/form-shadow-input.js +0 -100
- package/dist/collection/components/form-elements/form-structure-error.css +0 -1
- package/dist/collection/components/form-elements/form-structure-error.js +0 -72
- package/dist/collection/components/form-elements/form-structure.css +0 -1
- package/dist/collection/components/form-elements/form-structure.js +0 -269
- package/dist/collection/components/form-elements/form-submit.css +0 -1
- package/dist/collection/components/form-elements/form-submit.js +0 -140
- package/dist/collection/components/form-elements/form-text-area.css +0 -1
- package/dist/collection/components/form-elements/form-text-area.js +0 -264
- package/dist/collection/components/forms/contact-us/element-mapper.js +0 -87
- package/dist/collection/components/forms/contact-us/form.css +0 -1
- package/dist/collection/components/forms/contact-us/validations.js +0 -19
- package/dist/collection/components/forms/contact-us-form.js +0 -280
- package/dist/collection/components/forms/service-booking/element-mapper.js +0 -87
- package/dist/collection/components/forms/service-booking/form.css +0 -1
- package/dist/collection/components/forms/service-booking/validations.js +0 -19
- package/dist/collection/components/forms/service-booking-form.js +0 -280
- package/dist/collection/components/part-lookup/dead-stock-lookup.css +0 -1
- package/dist/collection/components/part-lookup/dead-stock-lookup.js +0 -405
- package/dist/collection/components/part-lookup/distributor-lookup.css +0 -1
- package/dist/collection/components/part-lookup/distributor-lookup.js +0 -470
- package/dist/collection/components/part-lookup/manufacturer-lookup.css +0 -1
- package/dist/collection/components/part-lookup/manufacturer-lookup.js +0 -468
- package/dist/collection/components/part-lookup/part-lookup.css +0 -1
- package/dist/collection/components/part-lookup/part-lookup.js +0 -376
- package/dist/collection/components/vehicle-lookup/assets/cancelled.svg +0 -8
- package/dist/collection/components/vehicle-lookup/assets/check.svg +0 -4
- package/dist/collection/components/vehicle-lookup/assets/expired.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/loader.svg +0 -11
- package/dist/collection/components/vehicle-lookup/assets/pending.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/processed.svg +0 -9
- package/dist/collection/components/vehicle-lookup/assets/x-mark.svg +0 -4
- package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +0 -10
- package/dist/collection/components/vehicle-lookup/components/Loading.js +0 -10
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -16
- package/dist/collection/components/vehicle-lookup/components/StatusCard.js +0 -11
- package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -625
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
- package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -373
- package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
- package/dist/collection/components/vehicle-lookup/paint-thickness.js +0 -410
- package/dist/collection/components/vehicle-lookup/service-history.css +0 -1
- package/dist/collection/components/vehicle-lookup/service-history.js +0 -393
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +0 -414
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +0 -405
- package/dist/collection/components/vehicle-lookup/vehicle-specification.css +0 -1
- package/dist/collection/components/vehicle-lookup/vehicle-specification.js +0 -389
- package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.js +0 -780
- package/dist/collection/global/api/partInformation.js +0 -32
- package/dist/collection/global/api/urls.js +0 -6
- package/dist/collection/global/api/vehicleInformation.js +0 -48
- package/dist/collection/global/assets/eye.svg +0 -5
- package/dist/collection/global/assets/loader.svg +0 -11
- package/dist/collection/global/assets/white-loader.svg +0 -11
- package/dist/collection/global/lib/cn.js +0 -9
- package/dist/collection/global/lib/form-hook.js +0 -162
- package/dist/collection/global/lib/general.js +0 -9
- package/dist/collection/global/lib/get-local-language.js +0 -20
- package/dist/collection/global/lib/image-expansion.js +0 -69
- package/dist/collection/global/lib/middleware.js +0 -39
- package/dist/collection/global/lib/recaptcha.js +0 -25
- package/dist/collection/global/lib/utils.js +0 -7
- package/dist/collection/global/lib/validate-form-structure.js +0 -47
- package/dist/collection/global/lib/validate-vin.js +0 -62
- package/dist/collection/global/types/components.js +0 -1
- package/dist/collection/global/types/forms.js +0 -1
- package/dist/collection/global/types/general.js +0 -1
- package/dist/collection/global/types/locales/error-schema.js +0 -17
- package/dist/collection/global/types/locales/forms/contact-us-schema.js +0 -24
- package/dist/collection/global/types/locales/forms/index.js +0 -11
- package/dist/collection/global/types/locales/general.js +0 -11
- package/dist/collection/global/types/locales/index.js +0 -33
- package/dist/collection/global/types/locales/inquiryTypes.js +0 -15
- package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +0 -10
- package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +0 -21
- package/dist/collection/global/types/locales/part-lookup/index.js +0 -13
- package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +0 -22
- package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +0 -13
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +0 -21
- package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +0 -19
- package/dist/collection/global/types/locales/vehicle-lookup/index.js +0 -21
- package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +0 -14
- package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +0 -15
- package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +0 -14
- package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +0 -23
- package/dist/collection/global/types/part-information.js +0 -1
- package/dist/collection/global/types/vehicle-information.js +0 -5
- package/dist/collection/index.js +0 -1
- package/dist/collection/templates/part-lookup/mock-data.js +0 -199
- package/dist/collection/templates/vehicle-lookup/mock-data.js +0 -4146
- package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +0 -3000
- package/dist/components/contact-us-form.d.ts +0 -11
- package/dist/components/contact-us-form.js +0 -5
- package/dist/components/dead-stock-lookup.d.ts +0 -11
- package/dist/components/dead-stock-lookup.js +0 -5
- package/dist/components/distributor-lookup.d.ts +0 -11
- package/dist/components/distributor-lookup.js +0 -5
- package/dist/components/dynamic-claim.d.ts +0 -11
- package/dist/components/dynamic-claim.js +0 -5
- package/dist/components/dynamic-redeem.d.ts +0 -11
- package/dist/components/dynamic-redeem.js +0 -5
- package/dist/components/form-dialog.d.ts +0 -11
- package/dist/components/form-dialog.js +0 -5
- package/dist/components/form-input.d.ts +0 -11
- package/dist/components/form-input.js +0 -5
- package/dist/components/form-select.d.ts +0 -11
- package/dist/components/form-select.js +0 -5
- package/dist/components/form-shadow-input.d.ts +0 -11
- package/dist/components/form-shadow-input.js +0 -5
- package/dist/components/form-structure-error.d.ts +0 -11
- package/dist/components/form-structure-error.js +0 -5
- package/dist/components/form-structure.d.ts +0 -11
- package/dist/components/form-structure.js +0 -5
- package/dist/components/form-submit.d.ts +0 -11
- package/dist/components/form-submit.js +0 -5
- package/dist/components/form-text-area.d.ts +0 -11
- package/dist/components/form-text-area.js +0 -5
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -5
- package/dist/components/loading-spinner.d.ts +0 -11
- package/dist/components/loading-spinner.js +0 -5
- package/dist/components/manufacturer-lookup.d.ts +0 -11
- package/dist/components/manufacturer-lookup.js +0 -5
- package/dist/components/p-0470fc51.js +0 -5
- package/dist/components/p-0cdfba30.js +0 -5
- package/dist/components/p-389eed80.js +0 -5
- package/dist/components/p-478117f0.js +0 -5
- package/dist/components/p-59e10e25.js +0 -5
- package/dist/components/p-69d1c33e.js +0 -5
- package/dist/components/p-6ec80da4.js +0 -5
- package/dist/components/p-6f732895.js +0 -5
- package/dist/components/p-75476014.js +0 -5
- package/dist/components/p-8b1d90d7.js +0 -5
- package/dist/components/p-8fa24168.js +0 -5
- package/dist/components/p-91129e05.js +0 -5
- package/dist/components/p-932ff922.js +0 -5
- package/dist/components/p-98d9e7ab.js +0 -5
- package/dist/components/p-a21e2e2e.js +0 -5
- package/dist/components/p-a793dc44.js +0 -5
- package/dist/components/p-aa673a70.js +0 -5
- package/dist/components/p-bf73c370.js +0 -5
- package/dist/components/p-c603ac5e.js +0 -5
- package/dist/components/p-cbaa5de0.js +0 -5
- package/dist/components/p-d0546e1e.js +0 -5
- package/dist/components/p-d43ef8c9.js +0 -5
- package/dist/components/p-d5ff7544.js +0 -5
- package/dist/components/p-d65dfa98.js +0 -5
- package/dist/components/p-d74f3ad8.js +0 -5
- package/dist/components/p-eec2a223.js +0 -5
- package/dist/components/p-fab97ac7.js +0 -5
- package/dist/components/paint-thickness.d.ts +0 -11
- package/dist/components/paint-thickness.js +0 -5
- package/dist/components/part-lookup.d.ts +0 -11
- package/dist/components/part-lookup.js +0 -5
- package/dist/components/service-booking-form.d.ts +0 -11
- package/dist/components/service-booking-form.js +0 -5
- package/dist/components/service-history.d.ts +0 -11
- package/dist/components/service-history.js +0 -5
- package/dist/components/vehicle-accessories.d.ts +0 -11
- package/dist/components/vehicle-accessories.js +0 -5
- package/dist/components/vehicle-lookup.d.ts +0 -11
- package/dist/components/vehicle-lookup.js +0 -5
- package/dist/components/vehicle-specification.d.ts +0 -11
- package/dist/components/vehicle-specification.js +0 -5
- package/dist/components/warranty-details.d.ts +0 -11
- package/dist/components/warranty-details.js +0 -5
- package/dist/esm/app-globals-68faa233.js +0 -44
- package/dist/esm/cn-cc419b94.js +0 -2586
- package/dist/esm/contact-us-form.entry.js +0 -205
- package/dist/esm/dead-stock-lookup_3.entry.js +0 -439
- package/dist/esm/dynamic-claim_6.entry.js +0 -1145
- package/dist/esm/dynamic-redeem.entry.js +0 -152
- package/dist/esm/form-dialog_8.entry.js +0 -492
- package/dist/esm/get-local-language-40614e53.js +0 -2375
- package/dist/esm/index-cac905b0.js +0 -1581
- package/dist/esm/index.js +0 -4
- package/dist/esm/loader-027b88af.js +0 -7
- package/dist/esm/loader.js +0 -15
- package/dist/esm/loading-spinner.entry.js +0 -23
- package/dist/esm/part-lookup.entry.js +0 -125
- package/dist/esm/service-booking-form.entry.js +0 -205
- package/dist/esm/shift-components.js +0 -24
- package/dist/esm/urls-e22234f9.js +0 -4870
- package/dist/esm/vehicle-lookup.entry.js +0 -198
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/locales/ar.json +0 -184
- package/dist/locales/en.json +0 -184
- package/dist/locales/ku.json +0 -184
- package/dist/locales/ru.json +0 -184
- package/dist/shift-components/index.esm.js +0 -4
- package/dist/shift-components/p-116b1698.entry.js +0 -5
- package/dist/shift-components/p-227d01ce.entry.js +0 -5
- package/dist/shift-components/p-2cf52456.entry.js +0 -5
- package/dist/shift-components/p-33561513.entry.js +0 -5
- package/dist/shift-components/p-446d908d.js +0 -5
- package/dist/shift-components/p-5bbbff4a.entry.js +0 -5
- package/dist/shift-components/p-65102e7a.js +0 -6
- package/dist/shift-components/p-777ff030.entry.js +0 -5
- package/dist/shift-components/p-932ff922.js +0 -5
- package/dist/shift-components/p-98d9e7ab.js +0 -5
- package/dist/shift-components/p-a21e2e2e.js +0 -5
- package/dist/shift-components/p-b131a56e.entry.js +0 -5
- package/dist/shift-components/p-c7d01b2c.entry.js +0 -5
- package/dist/shift-components/p-eab3606c.js +0 -5
- package/dist/shift-components/p-fda56efb.entry.js +0 -5
- package/dist/shift-components/shift-components.esm.js +0 -5
- package/dist/types/components/components/loading-spinner.d.ts +0 -4
- package/dist/types/components/form-elements/form-dialog.d.ts +0 -13
- package/dist/types/components/form-elements/form-input.d.ts +0 -28
- package/dist/types/components/form-elements/form-select.d.ts +0 -39
- package/dist/types/components/form-elements/form-shadow-input.d.ts +0 -9
- package/dist/types/components/form-elements/form-structure-error.d.ts +0 -8
- package/dist/types/components/form-elements/form-structure.d.ts +0 -23
- package/dist/types/components/form-elements/form-submit.d.ts +0 -12
- package/dist/types/components/form-elements/form-text-area.d.ts +0 -24
- package/dist/types/components/forms/contact-us/element-mapper.d.ts +0 -3
- package/dist/types/components/forms/contact-us/validations.d.ts +0 -26
- package/dist/types/components/forms/contact-us-form.d.ts +0 -32
- package/dist/types/components/forms/service-booking/element-mapper.d.ts +0 -3
- package/dist/types/components/forms/service-booking/validations.d.ts +0 -26
- package/dist/types/components/forms/service-booking-form.d.ts +0 -32
- package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +0 -31
- package/dist/types/components/part-lookup/distributor-lookup.d.ts +0 -32
- package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +0 -33
- package/dist/types/components/part-lookup/part-lookup.d.ts +0 -43
- package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +0 -10
- package/dist/types/components/vehicle-lookup/components/Loading.d.ts +0 -5
- package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -8
- package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +0 -12
- package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +0 -55
- package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +0 -39
- package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +0 -35
- package/dist/types/components/vehicle-lookup/service-history.d.ts +0 -30
- package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +0 -35
- package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +0 -53
- package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +0 -29
- package/dist/types/components/vehicle-lookup/warranty-details.d.ts +0 -57
- package/dist/types/components.d.ts +0 -760
- package/dist/types/global/api/partInformation.d.ts +0 -19
- package/dist/types/global/api/urls.d.ts +0 -2
- package/dist/types/global/api/vehicleInformation.d.ts +0 -33
- package/dist/types/global/lib/cn.d.ts +0 -2
- package/dist/types/global/lib/form-hook.d.ts +0 -47
- package/dist/types/global/lib/general.d.ts +0 -1
- package/dist/types/global/lib/get-local-language.d.ts +0 -2
- package/dist/types/global/lib/image-expansion.d.ts +0 -9
- package/dist/types/global/lib/middleware.d.ts +0 -0
- package/dist/types/global/lib/recaptcha.d.ts +0 -16
- package/dist/types/global/lib/utils.d.ts +0 -1
- package/dist/types/global/lib/validate-form-structure.d.ts +0 -3
- package/dist/types/global/lib/validate-vin.d.ts +0 -1
- package/dist/types/global/types/components.d.ts +0 -7
- package/dist/types/global/types/forms.d.ts +0 -63
- package/dist/types/global/types/general.d.ts +0 -23
- package/dist/types/global/types/locales/error-schema.d.ts +0 -23
- package/dist/types/global/types/locales/forms/contact-us-schema.d.ts +0 -37
- package/dist/types/global/types/locales/forms/index.d.ts +0 -45
- package/dist/types/global/types/locales/general.d.ts +0 -11
- package/dist/types/global/types/locales/index.d.ts +0 -380
- package/dist/types/global/types/locales/inquiryTypes.d.ts +0 -19
- package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +0 -9
- package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +0 -31
- package/dist/types/global/types/locales/part-lookup/index.d.ts +0 -79
- package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +0 -33
- package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +0 -15
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +0 -31
- package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +0 -27
- package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +0 -171
- package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +0 -17
- package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +0 -19
- package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +0 -17
- package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +0 -35
- package/dist/types/global/types/part-information.d.ts +0 -53
- package/dist/types/global/types/vehicle-information.d.ts +0 -167
- package/dist/types/index.d.ts +0 -10
- package/dist/types/stencil-public-runtime.d.ts +0 -1680
- package/loader/cdn.js +0 -5
- package/loader/index.cjs.js +0 -5
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -5
- package/loader/index.js +0 -6
- package/loader/package.json +0 -11
|
@@ -1,625 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built by ShiftSoftware
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*/
|
|
5
|
-
import { Host, h } from "@stencil/core";
|
|
6
|
-
import cn from "../../global/lib/cn";
|
|
7
|
-
import { getLocaleLanguage } from "../../global/lib/get-local-language";
|
|
8
|
-
import expiredIcon from "./assets/expired.svg";
|
|
9
|
-
import pendingIcon from "./assets/pending.svg";
|
|
10
|
-
import cancelledIcon from "./assets/cancelled.svg";
|
|
11
|
-
import processedIcon from "./assets/processed.svg";
|
|
12
|
-
import { localeSchema } from "../../global/types/locales/index";
|
|
13
|
-
import { getVehicleInformation } from "../../global/api/vehicleInformation";
|
|
14
|
-
let mockData = {};
|
|
15
|
-
const icons = {
|
|
16
|
-
expired: expiredIcon,
|
|
17
|
-
pending: pendingIcon,
|
|
18
|
-
processed: processedIcon,
|
|
19
|
-
cancelled: cancelledIcon,
|
|
20
|
-
};
|
|
21
|
-
export class DynamicClaim {
|
|
22
|
-
constructor() {
|
|
23
|
-
this.pendingItemHighlighted = false;
|
|
24
|
-
this.onMouseLeave = () => {
|
|
25
|
-
clearTimeout(this.timeoutRef);
|
|
26
|
-
this.popupClasses = '';
|
|
27
|
-
this.timeoutRef = setTimeout(() => {
|
|
28
|
-
this.activePopupIndex = null;
|
|
29
|
-
}, 400);
|
|
30
|
-
};
|
|
31
|
-
this.onMouseEnter = (dynamicClaimItemHeader, idx) => {
|
|
32
|
-
clearTimeout(this.timeoutRef);
|
|
33
|
-
this.activePopupIndex = idx;
|
|
34
|
-
this.timeoutRef = setTimeout(() => {
|
|
35
|
-
const positionRef = dynamicClaimItemHeader.querySelector('.popup-position-ref');
|
|
36
|
-
this.popupPositionRef = positionRef;
|
|
37
|
-
this.calculatePopupPos(this.el.shadowRoot);
|
|
38
|
-
this.popupClasses = 'show';
|
|
39
|
-
}, 50);
|
|
40
|
-
};
|
|
41
|
-
this.baseUrl = undefined;
|
|
42
|
-
this.isDev = false;
|
|
43
|
-
this.queryString = '';
|
|
44
|
-
this.language = 'en';
|
|
45
|
-
this.errorCallback = undefined;
|
|
46
|
-
this.loadingStateChange = undefined;
|
|
47
|
-
this.loadedResponse = undefined;
|
|
48
|
-
this.locale = localeSchema.getDefault();
|
|
49
|
-
this.isIdle = true;
|
|
50
|
-
this.popupClasses = '';
|
|
51
|
-
this.isLoading = false;
|
|
52
|
-
this.externalVin = null;
|
|
53
|
-
this.errorMessage = null;
|
|
54
|
-
this.activePopupIndex = null;
|
|
55
|
-
this.vehicleInformation = undefined;
|
|
56
|
-
}
|
|
57
|
-
async componentWillLoad() {
|
|
58
|
-
await this.changeLanguage(this.language);
|
|
59
|
-
}
|
|
60
|
-
async changeLanguage(newLanguage) {
|
|
61
|
-
this.locale = await getLocaleLanguage(newLanguage);
|
|
62
|
-
}
|
|
63
|
-
async componentDidLoad() {
|
|
64
|
-
this.dynamicClaimBody = this.el.shadowRoot.querySelector('.dynamic-claim-body');
|
|
65
|
-
this.dynamicRedeem = this.el.shadowRoot.getElementById('dynamic-redeem');
|
|
66
|
-
this.dynamicClaimProgressBar = this.el.shadowRoot.querySelector('.dynamic-claim-progress-bar');
|
|
67
|
-
}
|
|
68
|
-
async setMockData(newMockData) {
|
|
69
|
-
mockData = newMockData;
|
|
70
|
-
}
|
|
71
|
-
async setData(newData, headers = {}) {
|
|
72
|
-
clearTimeout(this.networkTimeoutRef);
|
|
73
|
-
if (this.abortController)
|
|
74
|
-
this.abortController.abort();
|
|
75
|
-
this.abortController = new AbortController();
|
|
76
|
-
let scopedTimeoutRef;
|
|
77
|
-
const isVinRequest = typeof newData === 'string';
|
|
78
|
-
const vin = isVinRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.vin;
|
|
79
|
-
this.externalVin = vin;
|
|
80
|
-
try {
|
|
81
|
-
if (!vin || vin.trim().length === 0) {
|
|
82
|
-
this.isIdle = true;
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
this.isLoading = true;
|
|
86
|
-
this.isIdle = false;
|
|
87
|
-
await new Promise(r => {
|
|
88
|
-
scopedTimeoutRef = setTimeout(r, 1000);
|
|
89
|
-
this.networkTimeoutRef = scopedTimeoutRef;
|
|
90
|
-
});
|
|
91
|
-
const vehicleResponse = isVinRequest ? await getVehicleInformation(this, { scopedTimeoutRef, vin, mockData }, headers) : newData;
|
|
92
|
-
if (this.networkTimeoutRef === scopedTimeoutRef) {
|
|
93
|
-
if (!vehicleResponse)
|
|
94
|
-
throw new Error('wrongResponseFormat');
|
|
95
|
-
if (!Array.isArray(vehicleResponse.serviceItems))
|
|
96
|
-
throw new Error('noServiceAvailable');
|
|
97
|
-
this.vehicleInformation = vehicleResponse;
|
|
98
|
-
}
|
|
99
|
-
this.errorMessage = null;
|
|
100
|
-
this.isLoading = false;
|
|
101
|
-
}
|
|
102
|
-
catch (error) {
|
|
103
|
-
if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
|
|
104
|
-
return;
|
|
105
|
-
if (this.errorCallback)
|
|
106
|
-
this.errorCallback(error.message);
|
|
107
|
-
console.error(error);
|
|
108
|
-
this.setErrorMessage(error.message);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
async setErrorMessage(message) {
|
|
112
|
-
this.isIdle = false;
|
|
113
|
-
this.isLoading = false;
|
|
114
|
-
this.vehicleInformation = null;
|
|
115
|
-
this.errorMessage = message;
|
|
116
|
-
}
|
|
117
|
-
async fetchData(requestedVin = this.externalVin, headers = {}) {
|
|
118
|
-
await this.setData(requestedVin, headers);
|
|
119
|
-
}
|
|
120
|
-
onLoadingChange(newValue) {
|
|
121
|
-
if (this.loadingStateChange)
|
|
122
|
-
this.loadingStateChange(newValue);
|
|
123
|
-
this.setLoadingUi(newValue);
|
|
124
|
-
}
|
|
125
|
-
async setLoadingUi(isLoading) {
|
|
126
|
-
if (!isLoading) {
|
|
127
|
-
this.dynamicClaimProgressBar.style.width = '0';
|
|
128
|
-
await new Promise(r => setTimeout(r, 200));
|
|
129
|
-
this.updateProgressBar();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
updateProgressBar() {
|
|
133
|
-
var _a;
|
|
134
|
-
const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
|
|
135
|
-
if (serviceItems.filter(x => x.status === 'pending').length === 0) {
|
|
136
|
-
if (serviceItems.length === 0)
|
|
137
|
-
this.dynamicClaimProgressBar.style.width = '0%';
|
|
138
|
-
else
|
|
139
|
-
this.dynamicClaimProgressBar.style.width = '100%';
|
|
140
|
-
this.dynamicClaimBody.scrollTo({
|
|
141
|
-
left: this.dynamicClaimBody.scrollWidth,
|
|
142
|
-
behavior: 'smooth',
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
else {
|
|
146
|
-
const firstPendingItem = serviceItems.find(x => x.status === 'pending');
|
|
147
|
-
const firstPendingItemIndex = serviceItems.indexOf(firstPendingItem) + 1;
|
|
148
|
-
const firstPendingItemRef = this.dynamicClaimBody.getElementsByClassName('dynamic-claim-item')[firstPendingItemIndex - 1];
|
|
149
|
-
this.dynamicClaimProgressBar.style.width = (firstPendingItemIndex / serviceItems.length - 1 / (serviceItems.length * 2)) * 100 + '%';
|
|
150
|
-
this.dynamicClaimBody.scrollTo({
|
|
151
|
-
left: firstPendingItemRef.offsetLeft - firstPendingItemRef.clientWidth * 3,
|
|
152
|
-
behavior: 'smooth',
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
resetProgressBar() {
|
|
157
|
-
setTimeout(() => {
|
|
158
|
-
this.updateProgressBar();
|
|
159
|
-
}, 100);
|
|
160
|
-
}
|
|
161
|
-
windowScrollListener(newValue) {
|
|
162
|
-
if (newValue) {
|
|
163
|
-
this.scrollListenerRef = () => this.calculatePopupPos(this.el.shadowRoot);
|
|
164
|
-
window.addEventListener('scroll', this.scrollListenerRef);
|
|
165
|
-
this.dynamicClaimBody.addEventListener('scroll', this.scrollListenerRef);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
window.removeEventListener('scroll', this.scrollListenerRef);
|
|
169
|
-
this.dynamicClaimBody.removeEventListener('scroll', this.scrollListenerRef);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
calculatePopupPos(root) {
|
|
173
|
-
const popupPositionRef = root.querySelector('.popup-position-ref');
|
|
174
|
-
let { x, y } = popupPositionRef.getBoundingClientRect();
|
|
175
|
-
const popupContainer = popupPositionRef.querySelector('.popup-container');
|
|
176
|
-
const { width } = popupContainer.getBoundingClientRect();
|
|
177
|
-
const popupInfo = popupContainer.querySelector('.dynamic-claim-item-popup-info');
|
|
178
|
-
const windowWidth = window.innerWidth; // Get the viewport's width
|
|
179
|
-
popupContainer.style.top = `${y}px`;
|
|
180
|
-
popupContainer.style.left = `${x - width / 2}px`;
|
|
181
|
-
const offsetFromLeft = x - width / 2; // Distance from left side of the viewport
|
|
182
|
-
const offsetFromRight = windowWidth - (x + width / 2); // Distance from right side of the viewport
|
|
183
|
-
let movingNeeded = 0;
|
|
184
|
-
let horizontalMargin = 16;
|
|
185
|
-
if (offsetFromRight < horizontalMargin)
|
|
186
|
-
movingNeeded = offsetFromRight - horizontalMargin;
|
|
187
|
-
else if (offsetFromLeft < horizontalMargin)
|
|
188
|
-
movingNeeded = Math.abs(offsetFromLeft - horizontalMargin);
|
|
189
|
-
popupInfo.style.transform = `translateX(${movingNeeded}px)`;
|
|
190
|
-
}
|
|
191
|
-
removeLoadAnimationClass(event) {
|
|
192
|
-
const component = event.target;
|
|
193
|
-
component.classList.remove('load-animation');
|
|
194
|
-
}
|
|
195
|
-
async completeClaim() {
|
|
196
|
-
var _a;
|
|
197
|
-
const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
|
|
198
|
-
const item = this.cachedClaimItem;
|
|
199
|
-
const serviceDataClone = JSON.parse(JSON.stringify(serviceItems));
|
|
200
|
-
const index = serviceItems.indexOf(item);
|
|
201
|
-
const pendingItemsBefore = serviceDataClone.slice(0, index).filter(x => x.status === 'pending');
|
|
202
|
-
serviceDataClone[index].status = 'processed';
|
|
203
|
-
pendingItemsBefore.forEach(function (otherItem) {
|
|
204
|
-
otherItem.status = 'cancelled';
|
|
205
|
-
});
|
|
206
|
-
this.pendingItemHighlighted = false;
|
|
207
|
-
const vehicleDataClone = JSON.parse(JSON.stringify(this.vehicleInformation));
|
|
208
|
-
vehicleDataClone.serviceItems = serviceDataClone;
|
|
209
|
-
this.vehicleInformation = JSON.parse(JSON.stringify(vehicleDataClone));
|
|
210
|
-
}
|
|
211
|
-
claim(item) {
|
|
212
|
-
var _a;
|
|
213
|
-
const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
|
|
214
|
-
const vinDataClone = JSON.parse(JSON.stringify(serviceItems));
|
|
215
|
-
const index = serviceItems.indexOf(item);
|
|
216
|
-
//Find other items before this item that have status 'pending'
|
|
217
|
-
let pendingItemsBefore = vinDataClone.slice(0, index).filter(x => x.status === 'pending');
|
|
218
|
-
this.cachedClaimItem = item;
|
|
219
|
-
if (item.maximumMileage === null) {
|
|
220
|
-
pendingItemsBefore = [];
|
|
221
|
-
}
|
|
222
|
-
this.onMouseLeave();
|
|
223
|
-
this.openRedeem(item, pendingItemsBefore);
|
|
224
|
-
}
|
|
225
|
-
async handleRedeemScanner() {
|
|
226
|
-
if (this.isDev) {
|
|
227
|
-
this.dynamicRedeem.handleScanner = async (_) => {
|
|
228
|
-
await new Promise(r => setTimeout(r, 500));
|
|
229
|
-
this.dynamicRedeem.quite();
|
|
230
|
-
this.completeClaim();
|
|
231
|
-
this.dynamicRedeem.handleScanner = null;
|
|
232
|
-
};
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
this.dynamicRedeem.handleScanner = async (code) => {
|
|
236
|
-
try {
|
|
237
|
-
const vehicleInformation = this.vehicleInformation;
|
|
238
|
-
const payload = {
|
|
239
|
-
vin: vehicleInformation.vin,
|
|
240
|
-
brandIntegrationID: vehicleInformation.identifiers.brandIntegrationID,
|
|
241
|
-
invoice: code,
|
|
242
|
-
saleInformation: vehicleInformation.saleInformation,
|
|
243
|
-
serviceItem: this.dynamicRedeem.item,
|
|
244
|
-
cancelledServiceItems: this.dynamicRedeem.canceledItems,
|
|
245
|
-
};
|
|
246
|
-
const response = await fetch('/api/vehicle/swift-claim', {
|
|
247
|
-
method: 'POST',
|
|
248
|
-
headers: {
|
|
249
|
-
'Content-Type': 'application/json',
|
|
250
|
-
},
|
|
251
|
-
body: JSON.stringify(payload),
|
|
252
|
-
});
|
|
253
|
-
const data = await response.json();
|
|
254
|
-
if (!data.Success) {
|
|
255
|
-
alert(data.Message);
|
|
256
|
-
this.dynamicRedeem.quite();
|
|
257
|
-
this.dynamicRedeem.handleScanner = null;
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
this.dynamicRedeem.quite();
|
|
261
|
-
this.completeClaim();
|
|
262
|
-
this.dynamicRedeem.handleScanner = null;
|
|
263
|
-
}
|
|
264
|
-
catch (error) {
|
|
265
|
-
console.error(error);
|
|
266
|
-
alert(this.locale.errors.requestFailedPleaseTryAgainLater);
|
|
267
|
-
this.dynamicRedeem.quite();
|
|
268
|
-
this.dynamicRedeem.handleScanner = null;
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
openRedeem(item, oldItems) {
|
|
274
|
-
var _a, _b, _c, _d, _e;
|
|
275
|
-
const vehicleInformation = this.vehicleInformation;
|
|
276
|
-
this.dynamicRedeem.vin = vehicleInformation === null || vehicleInformation === void 0 ? void 0 : vehicleInformation.vin;
|
|
277
|
-
this.dynamicRedeem.item = item;
|
|
278
|
-
this.dynamicRedeem.canceledItems = oldItems;
|
|
279
|
-
if (((_a = vehicleInformation === null || vehicleInformation === void 0 ? void 0 : vehicleInformation.saleInformation) === null || _a === void 0 ? void 0 : _a.broker) !== null && ((_c = (_b = vehicleInformation === null || vehicleInformation === void 0 ? void 0 : vehicleInformation.saleInformation) === null || _b === void 0 ? void 0 : _b.broker) === null || _c === void 0 ? void 0 : _c.invoiceDate) === null)
|
|
280
|
-
this.dynamicRedeem.unInvoicedByBrokerName = (_e = (_d = vehicleInformation === null || vehicleInformation === void 0 ? void 0 : vehicleInformation.saleInformation) === null || _d === void 0 ? void 0 : _d.broker) === null || _e === void 0 ? void 0 : _e.brokerName;
|
|
281
|
-
else
|
|
282
|
-
this.dynamicRedeem.unInvoicedByBrokerName = null;
|
|
283
|
-
this.handleRedeemScanner();
|
|
284
|
-
}
|
|
285
|
-
createPopup(item) {
|
|
286
|
-
const texts = this.locale.vehicleLookup.dynamicClaim;
|
|
287
|
-
return (h("div", { dir: this.locale.direction, class: "popup-position-ref" }, h("div", { class: "popup-container" }, h("div", { class: cn('dynamic-claim-item-popup-info-triangle', this.popupClasses) }, h("div", { class: "dynamic-claim-item-popup-info-triangle-up" }), h("div", { class: "dynamic-claim-item-popup-info-triangle-up2" })), h("div", { class: cn('dynamic-claim-item-popup-info', this.popupClasses) }, h("table", null, h("tbody", null, h("tr", null, h("th", null, texts.serviceType), h("td", null, item.type.charAt(0).toUpperCase() + item.type.slice(1))), h("tr", null, h("th", null, texts.activationDate), h("td", null, item.activatedAt)), h("tr", null, h("th", null, texts.expireDate), h("td", null, item.expiresAt)), h("tr", null, h("th", null, texts.claimAt), h("td", null, item.redeemDate)), h("tr", null, h("th", null, texts.redeemingDealer), h("td", null, item.dealerName)), h("tr", null, h("th", null, texts.invoiceNumber), h("td", null, item.invoiceNumber)), h("tr", null, h("th", null, texts.wip), h("td", null, item.wip)), h("tr", null, h("th", null, texts.claim), h("td", null, item.menuCode)))), item.status === 'pending' && (h("button", { onClick: () => this.claim(item), class: "claim-button dynamic-claim-button" }, h("svg", { width: "30px", height: "30px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "stroke-width": "0" }), h("g", { "stroke-linecap": "round", "stroke-linejoin": "round" }), h("g", null, h("circle", { cx: "12", cy: "12", r: "8", "fill-opacity": "0.24" }), h("path", { d: "M8.5 11L11.3939 13.8939C11.4525 13.9525 11.5475 13.9525 11.6061 13.8939L19.5 6", "stroke-width": "1.2" }))), h("span", null, texts.claim)))))));
|
|
288
|
-
}
|
|
289
|
-
render() {
|
|
290
|
-
var _a, _b;
|
|
291
|
-
const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
|
|
292
|
-
const texts = this.locale.vehicleLookup.dynamicClaim;
|
|
293
|
-
console.log(this.errorMessage);
|
|
294
|
-
return (h(Host, { key: '9e0409c5591453b63e9a835a454e952752e22013' }, h("dynamic-redeem", { key: '66a516c29ffffdf5eec666501556c85d6e532929', language: this.language, id: "dynamic-redeem" }), h("div", { key: '87faef21ecc2f9d2a7cddde1ab9c919ff57ef6e0', class: cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, h("div", { key: '0093412ac6128b142007f0be466fcd7a28dccebe', class: "dynamic-claim-header" }, h("strong", { key: '4f947ae43e1e1a2b6c4548f3d4d7f5ac9671bd8a', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && (h("span", { key: 'ade34635ef2f7dc56d23424abc489a52fce57ae2', 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: 'd19c9904e00841683880afa09dbec00d6e1414b8', class: "dynamic-claim-body" }, h("div", { key: '196f37e4c5389b5dc24ce2cf03f9b86559c78549', class: "loading-lane" }, h("div", { key: '21fa82864e31a0d88228f5c199fefafc139c74d0', class: "dynamic-claim-loading-slider" }, h("div", { key: '46314ebc827b182693bd117313fd1882cdeef467', class: "dynamic-claim-loading-slider-line" }), h("div", { key: 'f5dea0ec0a48afc68f825dbe9920038a7865c826', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), h("div", { key: '71c71d5ff95bc0dc5e9880ad81645a6a37c26593', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), h("div", { key: '18357ef88627c6d9bba393ba4d0ee67e01454fa8', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
|
|
295
|
-
let statusClass = '';
|
|
296
|
-
if (item.status === 'pending') {
|
|
297
|
-
if (serviceItems.findIndex(i => i.status === 'pending') === idx)
|
|
298
|
-
statusClass = item.status;
|
|
299
|
-
}
|
|
300
|
-
else
|
|
301
|
-
statusClass = item.status;
|
|
302
|
-
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)));
|
|
303
|
-
}), h("div", { key: '2762fc231f14343438f628afa1feae4929cc2c9f', class: "dynamic-claim-progress-bar" }))))));
|
|
304
|
-
}
|
|
305
|
-
static get is() { return "dynamic-claim"; }
|
|
306
|
-
static get encapsulation() { return "shadow"; }
|
|
307
|
-
static get originalStyleUrls() {
|
|
308
|
-
return {
|
|
309
|
-
"$": ["dynamic-claim.css"]
|
|
310
|
-
};
|
|
311
|
-
}
|
|
312
|
-
static get styleUrls() {
|
|
313
|
-
return {
|
|
314
|
-
"$": ["dynamic-claim.css"]
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
static get properties() {
|
|
318
|
-
return {
|
|
319
|
-
"baseUrl": {
|
|
320
|
-
"type": "string",
|
|
321
|
-
"mutable": false,
|
|
322
|
-
"complexType": {
|
|
323
|
-
"original": "string",
|
|
324
|
-
"resolved": "string",
|
|
325
|
-
"references": {}
|
|
326
|
-
},
|
|
327
|
-
"required": false,
|
|
328
|
-
"optional": false,
|
|
329
|
-
"docs": {
|
|
330
|
-
"tags": [],
|
|
331
|
-
"text": ""
|
|
332
|
-
},
|
|
333
|
-
"attribute": "base-url",
|
|
334
|
-
"reflect": false
|
|
335
|
-
},
|
|
336
|
-
"isDev": {
|
|
337
|
-
"type": "boolean",
|
|
338
|
-
"mutable": false,
|
|
339
|
-
"complexType": {
|
|
340
|
-
"original": "boolean",
|
|
341
|
-
"resolved": "boolean",
|
|
342
|
-
"references": {}
|
|
343
|
-
},
|
|
344
|
-
"required": false,
|
|
345
|
-
"optional": false,
|
|
346
|
-
"docs": {
|
|
347
|
-
"tags": [],
|
|
348
|
-
"text": ""
|
|
349
|
-
},
|
|
350
|
-
"attribute": "is-dev",
|
|
351
|
-
"reflect": false,
|
|
352
|
-
"defaultValue": "false"
|
|
353
|
-
},
|
|
354
|
-
"queryString": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"mutable": false,
|
|
357
|
-
"complexType": {
|
|
358
|
-
"original": "string",
|
|
359
|
-
"resolved": "string",
|
|
360
|
-
"references": {}
|
|
361
|
-
},
|
|
362
|
-
"required": false,
|
|
363
|
-
"optional": false,
|
|
364
|
-
"docs": {
|
|
365
|
-
"tags": [],
|
|
366
|
-
"text": ""
|
|
367
|
-
},
|
|
368
|
-
"attribute": "query-string",
|
|
369
|
-
"reflect": false,
|
|
370
|
-
"defaultValue": "''"
|
|
371
|
-
},
|
|
372
|
-
"language": {
|
|
373
|
-
"type": "string",
|
|
374
|
-
"mutable": false,
|
|
375
|
-
"complexType": {
|
|
376
|
-
"original": "LanguageKeys",
|
|
377
|
-
"resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
|
|
378
|
-
"references": {
|
|
379
|
-
"LanguageKeys": {
|
|
380
|
-
"location": "import",
|
|
381
|
-
"path": "~types/locales",
|
|
382
|
-
"id": "src/global/types/locales/index.ts::LanguageKeys"
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"required": false,
|
|
387
|
-
"optional": false,
|
|
388
|
-
"docs": {
|
|
389
|
-
"tags": [],
|
|
390
|
-
"text": ""
|
|
391
|
-
},
|
|
392
|
-
"attribute": "language",
|
|
393
|
-
"reflect": false,
|
|
394
|
-
"defaultValue": "'en'"
|
|
395
|
-
},
|
|
396
|
-
"errorCallback": {
|
|
397
|
-
"type": "unknown",
|
|
398
|
-
"mutable": false,
|
|
399
|
-
"complexType": {
|
|
400
|
-
"original": "(errorMessage: ErrorKeys) => void",
|
|
401
|
-
"resolved": "(errorMessage: ErrorKeys) => void",
|
|
402
|
-
"references": {
|
|
403
|
-
"ErrorKeys": {
|
|
404
|
-
"location": "import",
|
|
405
|
-
"path": "~types/locales",
|
|
406
|
-
"id": "src/global/types/locales/index.ts::ErrorKeys"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
"required": false,
|
|
411
|
-
"optional": false,
|
|
412
|
-
"docs": {
|
|
413
|
-
"tags": [],
|
|
414
|
-
"text": ""
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
"loadingStateChange": {
|
|
418
|
-
"type": "unknown",
|
|
419
|
-
"mutable": false,
|
|
420
|
-
"complexType": {
|
|
421
|
-
"original": "(isLoading: boolean) => void",
|
|
422
|
-
"resolved": "(isLoading: boolean) => void",
|
|
423
|
-
"references": {}
|
|
424
|
-
},
|
|
425
|
-
"required": false,
|
|
426
|
-
"optional": true,
|
|
427
|
-
"docs": {
|
|
428
|
-
"tags": [],
|
|
429
|
-
"text": ""
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
"loadedResponse": {
|
|
433
|
-
"type": "unknown",
|
|
434
|
-
"mutable": false,
|
|
435
|
-
"complexType": {
|
|
436
|
-
"original": "(response: VehicleInformation) => void",
|
|
437
|
-
"resolved": "(response: VehicleInformation) => void",
|
|
438
|
-
"references": {
|
|
439
|
-
"VehicleInformation": {
|
|
440
|
-
"location": "import",
|
|
441
|
-
"path": "~types/vehicle-information",
|
|
442
|
-
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"required": false,
|
|
447
|
-
"optional": true,
|
|
448
|
-
"docs": {
|
|
449
|
-
"tags": [],
|
|
450
|
-
"text": ""
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
};
|
|
454
|
-
}
|
|
455
|
-
static get states() {
|
|
456
|
-
return {
|
|
457
|
-
"locale": {},
|
|
458
|
-
"isIdle": {},
|
|
459
|
-
"popupClasses": {},
|
|
460
|
-
"isLoading": {},
|
|
461
|
-
"externalVin": {},
|
|
462
|
-
"errorMessage": {},
|
|
463
|
-
"activePopupIndex": {},
|
|
464
|
-
"vehicleInformation": {}
|
|
465
|
-
};
|
|
466
|
-
}
|
|
467
|
-
static get methods() {
|
|
468
|
-
return {
|
|
469
|
-
"setMockData": {
|
|
470
|
-
"complexType": {
|
|
471
|
-
"signature": "(newMockData: MockJson<VehicleInformation>) => Promise<void>",
|
|
472
|
-
"parameters": [{
|
|
473
|
-
"name": "newMockData",
|
|
474
|
-
"type": "{ [key: string]: VehicleInformation; }",
|
|
475
|
-
"docs": ""
|
|
476
|
-
}],
|
|
477
|
-
"references": {
|
|
478
|
-
"Promise": {
|
|
479
|
-
"location": "global",
|
|
480
|
-
"id": "global::Promise"
|
|
481
|
-
},
|
|
482
|
-
"MockJson": {
|
|
483
|
-
"location": "import",
|
|
484
|
-
"path": "~types/components",
|
|
485
|
-
"id": "src/global/types/components.ts::MockJson"
|
|
486
|
-
},
|
|
487
|
-
"VehicleInformation": {
|
|
488
|
-
"location": "import",
|
|
489
|
-
"path": "~types/vehicle-information",
|
|
490
|
-
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"return": "Promise<void>"
|
|
494
|
-
},
|
|
495
|
-
"docs": {
|
|
496
|
-
"text": "",
|
|
497
|
-
"tags": []
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"setData": {
|
|
501
|
-
"complexType": {
|
|
502
|
-
"signature": "(newData: VehicleInformation | string, headers?: any) => Promise<void>",
|
|
503
|
-
"parameters": [{
|
|
504
|
-
"name": "newData",
|
|
505
|
-
"type": "string | VehicleInformation",
|
|
506
|
-
"docs": ""
|
|
507
|
-
}, {
|
|
508
|
-
"name": "headers",
|
|
509
|
-
"type": "any",
|
|
510
|
-
"docs": ""
|
|
511
|
-
}],
|
|
512
|
-
"references": {
|
|
513
|
-
"Promise": {
|
|
514
|
-
"location": "global",
|
|
515
|
-
"id": "global::Promise"
|
|
516
|
-
},
|
|
517
|
-
"VehicleInformation": {
|
|
518
|
-
"location": "import",
|
|
519
|
-
"path": "~types/vehicle-information",
|
|
520
|
-
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
521
|
-
},
|
|
522
|
-
"ReturnType": {
|
|
523
|
-
"location": "global",
|
|
524
|
-
"id": "global::ReturnType"
|
|
525
|
-
}
|
|
526
|
-
},
|
|
527
|
-
"return": "Promise<void>"
|
|
528
|
-
},
|
|
529
|
-
"docs": {
|
|
530
|
-
"text": "",
|
|
531
|
-
"tags": []
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
"setErrorMessage": {
|
|
535
|
-
"complexType": {
|
|
536
|
-
"signature": "(message: ErrorKeys) => Promise<void>",
|
|
537
|
-
"parameters": [{
|
|
538
|
-
"name": "message",
|
|
539
|
-
"type": "OptionalKeys<{ wildCard: string; noBaseUrl: string; invalidVin: string; noPartsFound: string; vinNumberRequired: string; wrongFormStructure: string; partNumberRequired: string; noServiceAvailable: string; wrongResponseFormat: string; requestFailedPleaseTryAgainLater: string; }>",
|
|
540
|
-
"docs": ""
|
|
541
|
-
}],
|
|
542
|
-
"references": {
|
|
543
|
-
"Promise": {
|
|
544
|
-
"location": "global",
|
|
545
|
-
"id": "global::Promise"
|
|
546
|
-
},
|
|
547
|
-
"ErrorKeys": {
|
|
548
|
-
"location": "import",
|
|
549
|
-
"path": "~types/locales",
|
|
550
|
-
"id": "src/global/types/locales/index.ts::ErrorKeys"
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
"return": "Promise<void>"
|
|
554
|
-
},
|
|
555
|
-
"docs": {
|
|
556
|
-
"text": "",
|
|
557
|
-
"tags": []
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"fetchData": {
|
|
561
|
-
"complexType": {
|
|
562
|
-
"signature": "(requestedVin?: string, headers?: any) => Promise<void>",
|
|
563
|
-
"parameters": [{
|
|
564
|
-
"name": "requestedVin",
|
|
565
|
-
"type": "string",
|
|
566
|
-
"docs": ""
|
|
567
|
-
}, {
|
|
568
|
-
"name": "headers",
|
|
569
|
-
"type": "any",
|
|
570
|
-
"docs": ""
|
|
571
|
-
}],
|
|
572
|
-
"references": {
|
|
573
|
-
"Promise": {
|
|
574
|
-
"location": "global",
|
|
575
|
-
"id": "global::Promise"
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
"return": "Promise<void>"
|
|
579
|
-
},
|
|
580
|
-
"docs": {
|
|
581
|
-
"text": "",
|
|
582
|
-
"tags": []
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
"completeClaim": {
|
|
586
|
-
"complexType": {
|
|
587
|
-
"signature": "() => Promise<void>",
|
|
588
|
-
"parameters": [],
|
|
589
|
-
"references": {
|
|
590
|
-
"Promise": {
|
|
591
|
-
"location": "global",
|
|
592
|
-
"id": "global::Promise"
|
|
593
|
-
},
|
|
594
|
-
"VehicleInformation": {
|
|
595
|
-
"location": "import",
|
|
596
|
-
"path": "~types/vehicle-information",
|
|
597
|
-
"id": "src/global/types/vehicle-information.ts::VehicleInformation"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
"return": "Promise<void>"
|
|
601
|
-
},
|
|
602
|
-
"docs": {
|
|
603
|
-
"text": "",
|
|
604
|
-
"tags": []
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
static get elementRef() { return "el"; }
|
|
610
|
-
static get watchers() {
|
|
611
|
-
return [{
|
|
612
|
-
"propName": "language",
|
|
613
|
-
"methodName": "changeLanguage"
|
|
614
|
-
}, {
|
|
615
|
-
"propName": "isLoading",
|
|
616
|
-
"methodName": "onLoadingChange"
|
|
617
|
-
}, {
|
|
618
|
-
"propName": "vehicleInformation",
|
|
619
|
-
"methodName": "resetProgressBar"
|
|
620
|
-
}, {
|
|
621
|
-
"propName": "popupClasses",
|
|
622
|
-
"methodName": "windowScrollListener"
|
|
623
|
-
}];
|
|
624
|
-
}
|
|
625
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.outline{outline-style:solid}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host{all:initial!important;display:block}*{box-sizing:content-box;font-family:Arial;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .qr-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;width:100%}.dynamic-claim-processor-info-box{background:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:start}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:"";display:inline-block;height:20px;margin-inline-end:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.warning-ul{padding-inline-start:2.5rem}.static{position:static}.w-full{width:100%}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\[12px\]{margin-top:12px}.h-0{height:0}.h-\[40px\]{height:40px}.h-\[80px\]{height:80px}.max-h-\[70dvh\]{max-height:70dvh}.min-h-\[100px\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\[4px\]{border-radius:4px}.rounded-\[8px\]{border-radius:8px}.border-b{border-bottom-width:1px}.border-\[\#d6d8dc\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\[\#e1e3e5\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\[10px\]{padding-left:10px;padding-right:10px}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[20px\]{padding-bottom:20px;padding-top:20px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.pt-\[4px\]{padding-top:4px}.text-center{text-align:center}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.font-bold{font-weight:700}.text-\[\#383c43\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-700{transition-duration:.7s!important}.duration-300{transition-duration:.3s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.m-\[3px\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}
|