adp-web-components 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/contact-us-form.cjs.entry.js +26 -4
- package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +2 -2
- package/dist/cjs/dynamic-claim_6.cjs.entry.js +6 -3
- package/dist/cjs/dynamic-redeem.cjs.entry.js +1 -1
- package/dist/cjs/form-dialog_5.cjs.entry.js +344 -0
- package/dist/cjs/form-structure_2.cjs.entry.js +10 -9
- package/dist/cjs/{get-local-language-ebb05d9e.js → get-local-language-d31d6c20.js} +2 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/part-lookup.cjs.entry.js +1 -1
- package/dist/cjs/shift-components.cjs.js +1 -1
- package/dist/cjs/vehicle-lookup.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/form-elements/form-dialog.css +1 -0
- package/dist/collection/components/form-elements/form-dialog.js +137 -0
- package/dist/collection/components/form-elements/form-input.css +1 -1
- package/dist/collection/components/form-elements/form-input.js +38 -1
- package/dist/collection/components/form-elements/form-select.css +1 -1
- package/dist/collection/components/form-elements/form-select.js +30 -3
- package/dist/collection/components/form-elements/form-structure-error.css +1 -1
- package/dist/collection/components/form-elements/form-structure-error.js +1 -1
- package/dist/collection/components/form-elements/form-structure.css +1 -1
- package/dist/collection/components/form-elements/form-structure.js +23 -5
- package/dist/collection/components/form-elements/form-submit.css +1 -1
- package/dist/collection/components/form-elements/form-submit.js +2 -2
- package/dist/collection/components/form-elements/form-text-area.css +1 -1
- package/dist/collection/components/form-elements/form-text-area.js +52 -1
- package/dist/collection/components/forms/contact-us/form.css +1 -1
- package/dist/collection/components/forms/contact-us-form.js +7 -2
- package/dist/collection/components/vehicle-lookup/components/SSCTable.js +3 -1
- package/dist/collection/components/vehicle-lookup/warranty-details.css +1 -1
- package/dist/collection/global/lib/form-hook.js +18 -0
- package/dist/collection/global/types/locales/general.js +1 -0
- package/dist/collection/templates/vehicle-lookup/mock-data.js +27 -9
- package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +27 -9
- package/dist/components/contact-us-form.js +1 -1
- package/dist/components/dead-stock-lookup.js +1 -1
- package/dist/components/distributor-lookup.js +1 -1
- package/dist/components/dynamic-claim.js +1 -1
- package/dist/components/dynamic-redeem.js +1 -1
- package/dist/components/form-dialog.d.ts +11 -0
- package/dist/components/form-dialog.js +5 -0
- package/dist/components/form-input.js +1 -1
- package/dist/components/form-select.js +1 -1
- package/dist/components/form-structure-error.js +1 -1
- package/dist/components/form-structure.js +1 -1
- package/dist/components/form-submit.js +1 -1
- package/dist/components/form-text-area.js +1 -1
- package/dist/components/manufacturer-lookup.js +1 -1
- package/dist/components/p-08dbdea7.js +5 -0
- package/dist/components/p-0a90607f.js +5 -0
- package/dist/components/p-0c8382bd.js +5 -0
- package/dist/components/{p-af8083e5.js → p-1b22cf00.js} +1 -1
- package/dist/components/{p-171807db.js → p-211b8783.js} +1 -1
- package/dist/components/p-342c04e7.js +5 -0
- package/dist/components/{p-344f4417.js → p-40724fe5.js} +1 -1
- package/dist/components/p-5f7ef1e2.js +5 -0
- package/dist/components/{p-8de98849.js → p-7238850d.js} +1 -1
- package/dist/components/{p-08357e63.js → p-896a1743.js} +1 -1
- package/dist/components/{p-62beac88.js → p-8bf65def.js} +1 -1
- package/dist/components/p-92437cb1.js +5 -0
- package/dist/components/{p-0d76f2b9.js → p-92947610.js} +1 -1
- package/dist/components/{p-bb28c098.js → p-a03e7980.js} +1 -1
- package/dist/components/{p-7e62f352.js → p-b22497d5.js} +1 -1
- package/dist/components/p-d5819993.js +5 -0
- package/dist/components/p-dbef5214.js +5 -0
- package/dist/components/{p-ac4a782f.js → p-e84dd0e1.js} +1 -1
- package/dist/components/p-f99ae672.js +5 -0
- package/dist/components/paint-thickness.js +1 -1
- package/dist/components/part-lookup.js +1 -1
- package/dist/components/service-history.js +1 -1
- package/dist/components/vehicle-accessories.js +1 -1
- package/dist/components/vehicle-lookup.js +1 -1
- package/dist/components/vehicle-specification.js +1 -1
- package/dist/components/warranty-details.js +1 -1
- package/dist/esm/contact-us-form.entry.js +26 -4
- package/dist/esm/dead-stock-lookup_3.entry.js +2 -2
- package/dist/esm/dynamic-claim_6.entry.js +6 -3
- package/dist/esm/dynamic-redeem.entry.js +1 -1
- package/dist/esm/form-dialog_5.entry.js +336 -0
- package/dist/esm/form-structure_2.entry.js +10 -9
- package/dist/esm/{get-local-language-50038b04.js → get-local-language-4167379b.js} +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/part-lookup.entry.js +1 -1
- package/dist/esm/shift-components.js +1 -1
- package/dist/esm/vehicle-lookup.entry.js +1 -1
- package/dist/locales/ar.json +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/ku.json +1 -0
- package/dist/locales/ru.json +1 -0
- package/dist/shift-components/p-14cd1066.entry.js +5 -0
- package/dist/shift-components/p-267a7802.entry.js +5 -0
- package/dist/shift-components/{p-49005e96.entry.js → p-54249df3.entry.js} +1 -1
- package/dist/shift-components/{p-b7d8b392.entry.js → p-5431e57b.entry.js} +1 -1
- package/dist/shift-components/{p-983cb144.entry.js → p-8d0a4f46.entry.js} +1 -1
- package/dist/shift-components/p-d0c9c65a.entry.js +5 -0
- package/dist/shift-components/{p-4e5e528c.entry.js → p-d557c08c.entry.js} +1 -1
- package/dist/shift-components/p-e6ec4aa0.entry.js +5 -0
- package/dist/shift-components/{p-b11c327e.js → p-e9b69720.js} +1 -1
- package/dist/shift-components/shift-components.esm.js +1 -1
- package/dist/types/components/form-elements/form-dialog.d.ts +13 -0
- package/dist/types/components/form-elements/form-input.d.ts +8 -2
- package/dist/types/components/form-elements/form-select.d.ts +5 -3
- package/dist/types/components/form-elements/form-structure.d.ts +1 -0
- package/dist/types/components/form-elements/form-text-area.d.ts +8 -2
- package/dist/types/components/forms/contact-us-form.d.ts +1 -0
- package/dist/types/components.d.ts +31 -2
- package/dist/types/global/lib/form-hook.d.ts +10 -1
- package/dist/types/global/types/forms.d.ts +8 -0
- package/dist/types/global/types/locales/general.d.ts +2 -0
- package/dist/types/global/types/locales/index.d.ts +2 -0
- package/dist/types/global/types/vehicle-information.d.ts +6 -1
- package/package.json +1 -1
- package/dist/cjs/form-input_4.cjs.entry.js +0 -256
- package/dist/components/p-5d5842e9.js +0 -5
- package/dist/components/p-638e64fa.js +0 -5
- package/dist/components/p-87da0395.js +0 -5
- package/dist/components/p-9a50bc07.js +0 -5
- package/dist/components/p-aae5c784.js +0 -5
- package/dist/components/p-b400d6f6.js +0 -5
- package/dist/components/p-da2ea879.js +0 -5
- package/dist/components/p-fefbfbe8.js +0 -5
- package/dist/esm/form-input_4.entry.js +0 -249
- package/dist/shift-components/p-6cd76655.entry.js +0 -5
- package/dist/shift-components/p-96570d9d.entry.js +0 -5
- package/dist/shift-components/p-aad6afa6.entry.js +0 -5
- package/dist/shift-components/p-bc1b619c.entry.js +0 -5
|
@@ -1,21 +1,27 @@
|
|
|
1
|
+
import { FormHook } from "../../global/lib/form-hook";
|
|
1
2
|
import { LanguageKeys, Locale } from "../../global/types/locales/index";
|
|
2
|
-
import { FormInputChanges, LocaleFormKeys } from "../../global/types/forms";
|
|
3
|
-
export declare class FormTextArea {
|
|
3
|
+
import { FormElement, FormInputChanges, LocaleFormKeys } from "../../global/types/forms";
|
|
4
|
+
export declare class FormTextArea implements FormElement {
|
|
4
5
|
name: string;
|
|
5
6
|
label: string;
|
|
6
7
|
isError: boolean;
|
|
7
8
|
disabled: boolean;
|
|
9
|
+
form: FormHook<any>;
|
|
8
10
|
isRequired: boolean;
|
|
9
11
|
componentId: string;
|
|
10
12
|
placeholder: string;
|
|
11
13
|
errorMessage: string;
|
|
14
|
+
defaultValue?: string;
|
|
12
15
|
componentClass: string;
|
|
13
16
|
language: LanguageKeys;
|
|
14
17
|
formLocaleName: LocaleFormKeys;
|
|
15
18
|
inputChanges: FormInputChanges;
|
|
16
19
|
locale: Locale;
|
|
17
20
|
el: HTMLElement;
|
|
21
|
+
private inputRef;
|
|
18
22
|
componentWillLoad(): Promise<void>;
|
|
23
|
+
componentDidLoad(): Promise<void>;
|
|
19
24
|
changeLanguage(newLanguage: LanguageKeys): Promise<void>;
|
|
25
|
+
reset(newValue?: string): void;
|
|
20
26
|
render(): any;
|
|
21
27
|
}
|
|
@@ -14,6 +14,7 @@ export declare class ContactUsForm implements FormHookInterface<ContactUs> {
|
|
|
14
14
|
recaptchaKey: string;
|
|
15
15
|
isLoading: boolean;
|
|
16
16
|
renderControl: {};
|
|
17
|
+
errorMessage: string;
|
|
17
18
|
structureObject: StructureObject;
|
|
18
19
|
locale: Locale;
|
|
19
20
|
recaptchaWidget: number | null;
|
|
@@ -9,16 +9,16 @@ import { ErrorKeys, LanguageKeys } from "./global/types/locales/index";
|
|
|
9
9
|
import { PartInformation } from "./global/types/part-information";
|
|
10
10
|
import { DotNetObjectReference, MockJson } from "./global/types/components";
|
|
11
11
|
import { ServiceItem, VehicleInformation } from "./global/types/vehicle-information";
|
|
12
|
-
import { FormElementMapper, FormFieldParams, FormInputChanges, FormSelectFetcher, LocaleFormKeys, StructureObject } from "./global/types/forms";
|
|
13
12
|
import { FormHook } from "./global/lib/form-hook";
|
|
13
|
+
import { FormElementMapper, FormFieldParams, FormInputChanges, FormSelectFetcher, LocaleFormKeys, StructureObject } from "./global/types/forms";
|
|
14
14
|
import { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
15
15
|
import { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/vehicle-lookup";
|
|
16
16
|
export { ErrorKeys, LanguageKeys } from "./global/types/locales/index";
|
|
17
17
|
export { PartInformation } from "./global/types/part-information";
|
|
18
18
|
export { DotNetObjectReference, MockJson } from "./global/types/components";
|
|
19
19
|
export { ServiceItem, VehicleInformation } from "./global/types/vehicle-information";
|
|
20
|
-
export { FormElementMapper, FormFieldParams, FormInputChanges, FormSelectFetcher, LocaleFormKeys, StructureObject } from "./global/types/forms";
|
|
21
20
|
export { FormHook } from "./global/lib/form-hook";
|
|
21
|
+
export { FormElementMapper, FormFieldParams, FormInputChanges, FormSelectFetcher, LocaleFormKeys, StructureObject } from "./global/types/forms";
|
|
22
22
|
export { ActiveElement } from "./components/part-lookup/part-lookup";
|
|
23
23
|
export { ActiveElement as ActiveElement1 } from "./components/vehicle-lookup/vehicle-lookup";
|
|
24
24
|
export namespace Components {
|
|
@@ -88,6 +88,11 @@ export namespace Components {
|
|
|
88
88
|
"unInvoicedByBrokerName"?: string;
|
|
89
89
|
"vin"?: string;
|
|
90
90
|
}
|
|
91
|
+
interface FormDialog {
|
|
92
|
+
"dialogClosed": () => void;
|
|
93
|
+
"errorMessage": string;
|
|
94
|
+
"language": LanguageKeys;
|
|
95
|
+
}
|
|
91
96
|
interface FormInput {
|
|
92
97
|
"class": string;
|
|
93
98
|
"componentClass": string;
|
|
@@ -95,6 +100,7 @@ export namespace Components {
|
|
|
95
100
|
"defaultValue"?: string;
|
|
96
101
|
"disabled": boolean;
|
|
97
102
|
"errorMessage": string;
|
|
103
|
+
"form": FormHook<any>;
|
|
98
104
|
"formLocaleName": LocaleFormKeys;
|
|
99
105
|
"inputChanges": FormInputChanges;
|
|
100
106
|
"inputPreFix": string;
|
|
@@ -114,6 +120,7 @@ export namespace Components {
|
|
|
114
120
|
"disabled": boolean;
|
|
115
121
|
"errorMessage": string;
|
|
116
122
|
"fetcher": FormSelectFetcher;
|
|
123
|
+
"form": FormHook<any>;
|
|
117
124
|
"formLocaleName": string;
|
|
118
125
|
"inputChanges": FormInputChanges;
|
|
119
126
|
"isError": boolean;
|
|
@@ -124,6 +131,7 @@ export namespace Components {
|
|
|
124
131
|
"placeholder": string;
|
|
125
132
|
}
|
|
126
133
|
interface FormStructure {
|
|
134
|
+
"errorMessage": string;
|
|
127
135
|
"form": FormHook<any>;
|
|
128
136
|
"formElementMapper": FormElementMapper;
|
|
129
137
|
"formFieldParams": FormFieldParams;
|
|
@@ -143,8 +151,10 @@ export namespace Components {
|
|
|
143
151
|
interface FormTextArea {
|
|
144
152
|
"componentClass": string;
|
|
145
153
|
"componentId": string;
|
|
154
|
+
"defaultValue"?: string;
|
|
146
155
|
"disabled": boolean;
|
|
147
156
|
"errorMessage": string;
|
|
157
|
+
"form": FormHook<any>;
|
|
148
158
|
"formLocaleName": LocaleFormKeys;
|
|
149
159
|
"inputChanges": FormInputChanges;
|
|
150
160
|
"isError": boolean;
|
|
@@ -310,6 +320,12 @@ declare global {
|
|
|
310
320
|
prototype: HTMLDynamicRedeemElement;
|
|
311
321
|
new (): HTMLDynamicRedeemElement;
|
|
312
322
|
};
|
|
323
|
+
interface HTMLFormDialogElement extends Components.FormDialog, HTMLStencilElement {
|
|
324
|
+
}
|
|
325
|
+
var HTMLFormDialogElement: {
|
|
326
|
+
prototype: HTMLFormDialogElement;
|
|
327
|
+
new (): HTMLFormDialogElement;
|
|
328
|
+
};
|
|
313
329
|
interface HTMLFormInputElement extends Components.FormInput, HTMLStencilElement {
|
|
314
330
|
}
|
|
315
331
|
var HTMLFormInputElement: {
|
|
@@ -400,6 +416,7 @@ declare global {
|
|
|
400
416
|
"distributor-lookup": HTMLDistributorLookupElement;
|
|
401
417
|
"dynamic-claim": HTMLDynamicClaimElement;
|
|
402
418
|
"dynamic-redeem": HTMLDynamicRedeemElement;
|
|
419
|
+
"form-dialog": HTMLFormDialogElement;
|
|
403
420
|
"form-input": HTMLFormInputElement;
|
|
404
421
|
"form-select": HTMLFormSelectElement;
|
|
405
422
|
"form-structure": HTMLFormStructureElement;
|
|
@@ -468,6 +485,11 @@ declare namespace LocalJSX {
|
|
|
468
485
|
"unInvoicedByBrokerName"?: string;
|
|
469
486
|
"vin"?: string;
|
|
470
487
|
}
|
|
488
|
+
interface FormDialog {
|
|
489
|
+
"dialogClosed"?: () => void;
|
|
490
|
+
"errorMessage"?: string;
|
|
491
|
+
"language"?: LanguageKeys;
|
|
492
|
+
}
|
|
471
493
|
interface FormInput {
|
|
472
494
|
"class"?: string;
|
|
473
495
|
"componentClass"?: string;
|
|
@@ -475,6 +497,7 @@ declare namespace LocalJSX {
|
|
|
475
497
|
"defaultValue"?: string;
|
|
476
498
|
"disabled"?: boolean;
|
|
477
499
|
"errorMessage"?: string;
|
|
500
|
+
"form"?: FormHook<any>;
|
|
478
501
|
"formLocaleName"?: LocaleFormKeys;
|
|
479
502
|
"inputChanges"?: FormInputChanges;
|
|
480
503
|
"inputPreFix"?: string;
|
|
@@ -494,6 +517,7 @@ declare namespace LocalJSX {
|
|
|
494
517
|
"disabled"?: boolean;
|
|
495
518
|
"errorMessage"?: string;
|
|
496
519
|
"fetcher"?: FormSelectFetcher;
|
|
520
|
+
"form"?: FormHook<any>;
|
|
497
521
|
"formLocaleName"?: string;
|
|
498
522
|
"inputChanges"?: FormInputChanges;
|
|
499
523
|
"isError"?: boolean;
|
|
@@ -504,6 +528,7 @@ declare namespace LocalJSX {
|
|
|
504
528
|
"placeholder"?: string;
|
|
505
529
|
}
|
|
506
530
|
interface FormStructure {
|
|
531
|
+
"errorMessage"?: string;
|
|
507
532
|
"form"?: FormHook<any>;
|
|
508
533
|
"formElementMapper"?: FormElementMapper;
|
|
509
534
|
"formFieldParams"?: FormFieldParams;
|
|
@@ -523,8 +548,10 @@ declare namespace LocalJSX {
|
|
|
523
548
|
interface FormTextArea {
|
|
524
549
|
"componentClass"?: string;
|
|
525
550
|
"componentId"?: string;
|
|
551
|
+
"defaultValue"?: string;
|
|
526
552
|
"disabled"?: boolean;
|
|
527
553
|
"errorMessage"?: string;
|
|
554
|
+
"form"?: FormHook<any>;
|
|
528
555
|
"formLocaleName"?: LocaleFormKeys;
|
|
529
556
|
"inputChanges"?: FormInputChanges;
|
|
530
557
|
"isError"?: boolean;
|
|
@@ -636,6 +663,7 @@ declare namespace LocalJSX {
|
|
|
636
663
|
"distributor-lookup": DistributorLookup;
|
|
637
664
|
"dynamic-claim": DynamicClaim;
|
|
638
665
|
"dynamic-redeem": DynamicRedeem;
|
|
666
|
+
"form-dialog": FormDialog;
|
|
639
667
|
"form-input": FormInput;
|
|
640
668
|
"form-select": FormSelect;
|
|
641
669
|
"form-structure": FormStructure;
|
|
@@ -661,6 +689,7 @@ declare module "@stencil/core" {
|
|
|
661
689
|
"distributor-lookup": LocalJSX.DistributorLookup & JSXBase.HTMLAttributes<HTMLDistributorLookupElement>;
|
|
662
690
|
"dynamic-claim": LocalJSX.DynamicClaim & JSXBase.HTMLAttributes<HTMLDynamicClaimElement>;
|
|
663
691
|
"dynamic-redeem": LocalJSX.DynamicRedeem & JSXBase.HTMLAttributes<HTMLDynamicRedeemElement>;
|
|
692
|
+
"form-dialog": LocalJSX.FormDialog & JSXBase.HTMLAttributes<HTMLFormDialogElement>;
|
|
664
693
|
"form-input": LocalJSX.FormInput & JSXBase.HTMLAttributes<HTMLFormInputElement>;
|
|
665
694
|
"form-select": LocalJSX.FormSelect & JSXBase.HTMLAttributes<HTMLFormSelectElement>;
|
|
666
695
|
"form-structure": LocalJSX.FormStructure & JSXBase.HTMLAttributes<HTMLFormStructureElement>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { AnyObjectSchema } from 'yup';
|
|
2
|
-
import { Field, FieldType, FormHookInterface, FormStateOptions } from "../types/forms";
|
|
2
|
+
import { Field, FieldType, FormElement, FormHookInterface, FormStateOptions } from "../types/forms";
|
|
3
3
|
export declare class FormHook<T> {
|
|
4
4
|
private isSubmitted;
|
|
5
|
+
private subscribers;
|
|
5
6
|
private context;
|
|
6
7
|
private schemaObject;
|
|
8
|
+
private haltValidation;
|
|
7
9
|
private validationType;
|
|
8
10
|
private subscribedFields;
|
|
9
11
|
formErrors: {
|
|
@@ -11,6 +13,13 @@ export declare class FormHook<T> {
|
|
|
11
13
|
};
|
|
12
14
|
formController: any;
|
|
13
15
|
constructor(context: FormHookInterface<T>, schemaObject: AnyObjectSchema, formStateOptions?: FormStateOptions);
|
|
16
|
+
subscribe: (formName: string, formElement: FormElement) => number;
|
|
17
|
+
unsubscribe: (formName: string) => {
|
|
18
|
+
name: string;
|
|
19
|
+
context: FormElement;
|
|
20
|
+
}[];
|
|
21
|
+
reset(): void;
|
|
22
|
+
resetFormErrorMessage: () => string;
|
|
14
23
|
getFormErrors: () => {
|
|
15
24
|
[key: string]: string;
|
|
16
25
|
};
|
|
@@ -5,6 +5,7 @@ export interface FormHookInterface<T> {
|
|
|
5
5
|
structure: string;
|
|
6
6
|
renderControl: {};
|
|
7
7
|
isLoading: boolean;
|
|
8
|
+
errorMessage: string;
|
|
8
9
|
language: LanguageKeys;
|
|
9
10
|
structureObject: StructureObject;
|
|
10
11
|
formSubmit: (formValues: T) => void;
|
|
@@ -45,4 +46,11 @@ export type Params = {
|
|
|
45
46
|
formLocaleName: LocaleFormKeys;
|
|
46
47
|
};
|
|
47
48
|
export type FormFieldParams = Record<string, Params>;
|
|
49
|
+
export interface FormElement {
|
|
50
|
+
reset: (newValue?: string) => void;
|
|
51
|
+
}
|
|
52
|
+
export type Subscribers = {
|
|
53
|
+
name: string;
|
|
54
|
+
context: FormElement;
|
|
55
|
+
}[];
|
|
48
56
|
export {};
|
|
@@ -48,6 +48,7 @@ export declare const localeSchema: import("yup").ObjectSchema<{
|
|
|
48
48
|
requestFailedPleaseTryAgainLater?: string;
|
|
49
49
|
};
|
|
50
50
|
general: {
|
|
51
|
+
close?: string;
|
|
51
52
|
noSelectOptions?: string;
|
|
52
53
|
};
|
|
53
54
|
lang: string;
|
|
@@ -227,6 +228,7 @@ export declare const localeSchema: import("yup").ObjectSchema<{
|
|
|
227
228
|
requestFailedPleaseTryAgainLater: undefined;
|
|
228
229
|
};
|
|
229
230
|
general: {
|
|
231
|
+
close: undefined;
|
|
230
232
|
noSelectOptions: undefined;
|
|
231
233
|
};
|
|
232
234
|
lang: undefined;
|
|
@@ -105,7 +105,7 @@ export type VehicleSpecification = {
|
|
|
105
105
|
export type SSC = {
|
|
106
106
|
sscCode: string;
|
|
107
107
|
description: string;
|
|
108
|
-
|
|
108
|
+
labors: Labor[];
|
|
109
109
|
repaired: boolean;
|
|
110
110
|
repairDate: string;
|
|
111
111
|
parts: Part[];
|
|
@@ -115,6 +115,11 @@ export type Part = {
|
|
|
115
115
|
partDescription: any;
|
|
116
116
|
isAvailable: boolean;
|
|
117
117
|
};
|
|
118
|
+
export type Labor = {
|
|
119
|
+
laborCode: string;
|
|
120
|
+
laborDescription: string;
|
|
121
|
+
allowedTime: number;
|
|
122
|
+
};
|
|
118
123
|
export interface PaintThickness {
|
|
119
124
|
parts: PaintPart[];
|
|
120
125
|
imageGroups: ImageGroups[];
|