@nerdjs/sales-kit 2.0.25 → 2.0.27
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/entities/quote/index.d.ts +3 -1
- package/dist/entities/quote/index.js +3 -1
- package/dist/entities/quote/index.js.map +1 -1
- package/dist/entities/quoteResponse/helper.d.ts +37 -0
- package/dist/entities/quoteResponse/helper.js +10 -0
- package/dist/entities/quoteResponse/helper.js.map +1 -1
- package/dist/hooks/quote/constants.d.ts +1 -1
- package/dist/hooks/quote/constants.js +1 -1
- package/dist/hooks/quote/constants.js.map +1 -1
- package/dist/hooks/tender/constants.d.ts +51 -78
- package/dist/hooks/tender/constants.js +2 -20
- package/dist/hooks/tender/constants.js.map +1 -1
- package/dist/hooks/tender/form.js +1 -1
- package/dist/hooks/tender/helpers.d.ts +2 -1
- package/dist/hooks/tender/helpers.js +190 -91
- package/dist/hooks/tender/helpers.js.map +1 -1
- package/dist/redux/quote/quoteEndpoints.d.ts +17 -85
- package/dist/redux/quote/quoteEndpoints.js +13 -4
- package/dist/redux/quote/quoteEndpoints.js.map +1 -1
- package/dist/redux/quote/quoteHooks.d.ts +28 -13
- package/dist/redux/quote/quoteSelector.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/quote/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/entities/quote/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAClD,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -2,4 +2,41 @@ import QuoteResponse_Entity from "./quoteResponse";
|
|
|
2
2
|
export default class QuoteResponse extends QuoteResponse_Entity {
|
|
3
3
|
static fromList(quoteResponsesJSON: unknown): Array<QuoteResponse>;
|
|
4
4
|
toJson(): string;
|
|
5
|
+
private getStop;
|
|
6
|
+
getPickupStop(): {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
type: string;
|
|
10
|
+
date?: string | null | undefined;
|
|
11
|
+
city: string;
|
|
12
|
+
state: string;
|
|
13
|
+
zip: string;
|
|
14
|
+
address: {
|
|
15
|
+
locationId?: number | null | undefined;
|
|
16
|
+
line1?: string | null | undefined;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
zip: string;
|
|
20
|
+
latitude: number;
|
|
21
|
+
longitude: number;
|
|
22
|
+
};
|
|
23
|
+
} | undefined;
|
|
24
|
+
getDeliveryStop(): {
|
|
25
|
+
id: number;
|
|
26
|
+
name: string;
|
|
27
|
+
type: string;
|
|
28
|
+
date?: string | null | undefined;
|
|
29
|
+
city: string;
|
|
30
|
+
state: string;
|
|
31
|
+
zip: string;
|
|
32
|
+
address: {
|
|
33
|
+
locationId?: number | null | undefined;
|
|
34
|
+
line1?: string | null | undefined;
|
|
35
|
+
city: string;
|
|
36
|
+
state: string;
|
|
37
|
+
zip: string;
|
|
38
|
+
latitude: number;
|
|
39
|
+
longitude: number;
|
|
40
|
+
};
|
|
41
|
+
} | undefined;
|
|
5
42
|
}
|
|
@@ -12,5 +12,15 @@ export default class QuoteResponse extends QuoteResponse_Entity {
|
|
|
12
12
|
toJson() {
|
|
13
13
|
return JSON.stringify(this);
|
|
14
14
|
}
|
|
15
|
+
getStop(stopType) {
|
|
16
|
+
const stop = this.stops.find((stop) => stop.type === stopType);
|
|
17
|
+
return stop;
|
|
18
|
+
}
|
|
19
|
+
getPickupStop() {
|
|
20
|
+
return this.getStop("shipper");
|
|
21
|
+
}
|
|
22
|
+
getDeliveryStop() {
|
|
23
|
+
return this.getStop("consignee");
|
|
24
|
+
}
|
|
15
25
|
}
|
|
16
26
|
//# sourceMappingURL=helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/quoteResponse/helper.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,iBAAiB,CAAC;AACnD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB;IAC7D,MAAM,CAAC,QAAQ,CAAC,kBAA2B;QACzC,MAAM,cAAc,GAAoB,EAAE,CAAC;QAC3C,IAAI,kBAAkB;YACpB,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC;gBAC/B,kBAAkB,CAAC,OAAO,CAAC,CAAC,iBAAiB,EAAE,EAAE;oBAC/C,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAC5D,CAAC,CAAC,CAAC;QACP,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/entities/quoteResponse/helper.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,iBAAiB,CAAC;AACnD,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,oBAAoB;IAC7D,MAAM,CAAC,QAAQ,CAAC,kBAA2B;QACzC,MAAM,cAAc,GAAoB,EAAE,CAAC;QAC3C,IAAI,kBAAkB;YACpB,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC;gBAC/B,kBAAkB,CAAC,OAAO,CAAC,CAAC,iBAAiB,EAAE,EAAE;oBAC/C,cAAc,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC;gBAC5D,CAAC,CAAC,CAAC;QACP,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;IACO,OAAO,CAAC,QAAiC;QAC/C,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;QAC/D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACjC,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -3,7 +3,7 @@ import { ReactElement } from "react";
|
|
|
3
3
|
import * as yup from "yup";
|
|
4
4
|
export declare const LTL = "LTL";
|
|
5
5
|
export declare const TL = "TL";
|
|
6
|
-
export declare const STANDARD_IM = "Standard IM";
|
|
6
|
+
export declare const STANDARD_IM = "Standard IM Service";
|
|
7
7
|
export declare const EXPEDITED_IM = "Expedited IM Service";
|
|
8
8
|
export declare const loadTypeOptions: (customerPortal: boolean) => string[];
|
|
9
9
|
export declare const DRY = "Dry";
|
|
@@ -3,7 +3,7 @@ import { amber, green, red } from "@mui/material/colors";
|
|
|
3
3
|
import * as yup from "yup";
|
|
4
4
|
export const LTL = "LTL";
|
|
5
5
|
export const TL = "TL";
|
|
6
|
-
export const STANDARD_IM = "Standard IM";
|
|
6
|
+
export const STANDARD_IM = "Standard IM Service";
|
|
7
7
|
export const EXPEDITED_IM = "Expedited IM Service";
|
|
8
8
|
export const loadTypeOptions = (customerPortal) => customerPortal ? [LTL, TL] : [LTL, TL, STANDARD_IM, EXPEDITED_IM];
|
|
9
9
|
export const DRY = "Dry";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/hooks/quote/constants.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,KAAK,GAA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CAAC,MAAM,CAAC;QAChB,gBAAgB,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;QAClE,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC;YAC1B,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;SAC/D,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;IACzD,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,KAAK;CAChB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,OAAO,GAClB,sFAAsF,CAAC;AACzF,MAAM,CAAC,MAAM,MAAM,GACjB,sFAAsF,CAAC"}
|
|
@@ -17,31 +17,27 @@ export declare const tenderBodyStep2: (customerPortal: boolean) => yup.ObjectSch
|
|
|
17
17
|
} & {
|
|
18
18
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
19
19
|
} & {
|
|
20
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
20
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
21
21
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
22
22
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
23
23
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
24
|
-
|
|
25
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
26
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
24
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
27
25
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
28
26
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
29
27
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
30
|
-
|
|
31
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
32
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
28
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
33
29
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
34
30
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
35
31
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
36
|
-
|
|
37
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
38
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
32
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
39
33
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
40
34
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
41
35
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
37
|
+
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
38
|
+
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
39
|
+
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
40
|
+
}>>[] | undefined>;
|
|
45
41
|
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
46
42
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
47
43
|
} & {
|
|
@@ -50,31 +46,27 @@ export declare const tenderBodyStep2: (customerPortal: boolean) => yup.ObjectSch
|
|
|
50
46
|
} & {
|
|
51
47
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
52
48
|
} & {
|
|
53
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
49
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
50
|
+
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
51
|
+
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
52
|
+
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
53
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
54
54
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
55
55
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
56
56
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
57
|
-
|
|
58
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
59
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
57
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
60
58
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
61
59
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
62
60
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
63
|
-
|
|
64
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
65
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
61
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
66
62
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
67
63
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
68
64
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
69
|
-
|
|
70
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
71
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
65
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
72
66
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
73
67
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
74
68
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
75
|
-
|
|
76
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
77
|
-
}>[] | undefined>;
|
|
69
|
+
}>>[] | undefined>;
|
|
78
70
|
}>, import("yup/lib/object").AssertsShape<{
|
|
79
71
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
80
72
|
} & {
|
|
@@ -83,31 +75,27 @@ export declare const tenderBodyStep2: (customerPortal: boolean) => yup.ObjectSch
|
|
|
83
75
|
} & {
|
|
84
76
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
85
77
|
} & {
|
|
86
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
78
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
87
79
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
88
80
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
89
81
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
90
|
-
|
|
91
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
92
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
82
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
93
83
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
94
84
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
95
85
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
96
|
-
|
|
97
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
98
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
86
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
99
87
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
100
88
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
101
89
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
102
|
-
|
|
103
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
104
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
90
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
105
91
|
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
106
92
|
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
107
93
|
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
94
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
95
|
+
type: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
96
|
+
locationId: yup.NumberSchema<number | undefined, import("yup/lib/types").AnyObject, number | undefined>;
|
|
97
|
+
referenceNumber: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
98
|
+
}>>[] | undefined>;
|
|
111
99
|
}>>;
|
|
112
100
|
export declare const tenderBodyStep3: (customerPortal: boolean) => yup.ObjectSchema<{
|
|
113
101
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
@@ -117,27 +105,22 @@ export declare const tenderBodyStep3: (customerPortal: boolean) => yup.ObjectSch
|
|
|
117
105
|
} & {
|
|
118
106
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
119
107
|
} & {
|
|
120
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
108
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
109
|
+
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
110
|
+
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
111
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
121
112
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
122
113
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
123
|
-
|
|
124
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
125
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
114
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
126
115
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
127
116
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
128
|
-
|
|
129
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
130
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
117
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
131
118
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
132
119
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
133
|
-
|
|
134
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
135
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
120
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
136
121
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
137
122
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
138
|
-
|
|
139
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
140
|
-
}>[] | undefined>;
|
|
123
|
+
}>>[] | undefined>;
|
|
141
124
|
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
142
125
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
143
126
|
} & {
|
|
@@ -146,27 +129,22 @@ export declare const tenderBodyStep3: (customerPortal: boolean) => yup.ObjectSch
|
|
|
146
129
|
} & {
|
|
147
130
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
148
131
|
} & {
|
|
149
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
132
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
150
133
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
151
134
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
152
|
-
|
|
153
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
154
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
135
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
155
136
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
156
137
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
157
|
-
|
|
158
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
159
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
138
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
160
139
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
161
140
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
162
|
-
|
|
163
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
164
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
141
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
165
142
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
166
143
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
144
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
145
|
+
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
146
|
+
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
147
|
+
}>>[] | undefined>;
|
|
170
148
|
}>, import("yup/lib/object").AssertsShape<{
|
|
171
149
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
172
150
|
} & {
|
|
@@ -175,26 +153,21 @@ export declare const tenderBodyStep3: (customerPortal: boolean) => yup.ObjectSch
|
|
|
175
153
|
} & {
|
|
176
154
|
[x: string]: yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>;
|
|
177
155
|
} & {
|
|
178
|
-
tenderStops: yup.ArraySchema<import("yup/lib/object").
|
|
156
|
+
tenderStops: yup.ArraySchema<yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
157
|
+
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
158
|
+
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
159
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
179
160
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
180
161
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
181
|
-
|
|
182
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
183
|
-
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
162
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
184
163
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
185
164
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
186
|
-
|
|
187
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
188
|
-
}>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
165
|
+
}>>>, import("yup/lib/types").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
189
166
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
190
167
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
191
|
-
|
|
192
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
193
|
-
}>[] | undefined, import("yup/lib/object").AssertsShape<{
|
|
168
|
+
}>>[] | undefined, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
194
169
|
locationId: import("yup/lib/number").RequiredNumberSchema<number | undefined, import("yup/lib/types").AnyObject>;
|
|
195
170
|
referenceNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
196
|
-
|
|
197
|
-
date: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
198
|
-
}>[] | undefined>;
|
|
171
|
+
}>>[] | undefined>;
|
|
199
172
|
}>>;
|
|
200
173
|
export declare const documentDescriptions: string[];
|
|
@@ -11,7 +11,7 @@ export const tenderBodyStep1 = (customerPortal) => yup.object().shape({
|
|
|
11
11
|
: "Pro number is required"),
|
|
12
12
|
});
|
|
13
13
|
export const tenderBodyStep2 = (customerPortal) => tenderBodyStep1(customerPortal).concat(yup.object().shape({
|
|
14
|
-
tenderStops: yup.array().of(yup.object({
|
|
14
|
+
tenderStops: yup.array().of(yup.object().shape({
|
|
15
15
|
type: yup.string(),
|
|
16
16
|
locationId: yup
|
|
17
17
|
.number()
|
|
@@ -27,18 +27,10 @@ export const tenderBodyStep2 = (customerPortal) => tenderBodyStep1(customerPorta
|
|
|
27
27
|
is: "shipper",
|
|
28
28
|
then: yup.string().required("Reference number is required"),
|
|
29
29
|
}),
|
|
30
|
-
timeFrom: yup.string().when("type", {
|
|
31
|
-
is: "shipper",
|
|
32
|
-
then: yup.string().required("Appointment time is required"),
|
|
33
|
-
}),
|
|
34
|
-
date: yup.string().when("type", {
|
|
35
|
-
is: "shipper",
|
|
36
|
-
then: yup.string().required("Appointment date is required"),
|
|
37
|
-
}),
|
|
38
30
|
})),
|
|
39
31
|
}));
|
|
40
32
|
export const tenderBodyStep3 = (customerPortal) => tenderBodyStep1(customerPortal).concat(yup.object().shape({
|
|
41
|
-
tenderStops: yup.array().of(yup.object({
|
|
33
|
+
tenderStops: yup.array().of(yup.object().shape({
|
|
42
34
|
locationId: yup
|
|
43
35
|
.number()
|
|
44
36
|
.transform((value) => (isNaN(value) ? undefined : value))
|
|
@@ -46,16 +38,6 @@ export const tenderBodyStep3 = (customerPortal) => tenderBodyStep1(customerPorta
|
|
|
46
38
|
referenceNumber: yup
|
|
47
39
|
.string()
|
|
48
40
|
.required("Reference number is required"),
|
|
49
|
-
timeFrom: yup.string().required("Appointment time is required"),
|
|
50
|
-
date: yup.string().when("dateFrom", {
|
|
51
|
-
is: undefined,
|
|
52
|
-
then: yup.string().required("Appointment date is required"),
|
|
53
|
-
otherwise: yup.string().when("dateTo", {
|
|
54
|
-
is: undefined,
|
|
55
|
-
then: yup.string().required("Appointment date is required"),
|
|
56
|
-
otherwise: yup.string(),
|
|
57
|
-
}),
|
|
58
|
-
}),
|
|
59
41
|
})),
|
|
60
42
|
}));
|
|
61
43
|
export const documentDescriptions = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/hooks/tender/const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,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;aACxD,QAAQ,CAAC,sBAAsB,CAAC;QACnC,eAAe,EAAE,GAAG;aACjB,MAAM,EAAE;aACR,QAAQ,CAAC,8BAA8B,CAAC;KAC5C,CAAC,CACH;CACF,CAAC,CACH,CAAC;AAEJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,YAAY;IACZ,mBAAmB;IACnB,iBAAiB;IACjB,KAAK;IACL,WAAW;IACX,aAAa;IACb,SAAS;IACT,iBAAiB;IACjB,YAAY;IACZ,iCAAiC;IACjC,4BAA4B;IAC5B,eAAe;IACf,cAAc;IACd,oBAAoB;IACpB,iCAAiC;IACjC,wBAAwB;IACxB,yBAAyB;IACzB,0BAA0B;IAC1B,6BAA6B;IAC7B,0BAA0B;CAC3B,CAAC"}
|
|
@@ -5,7 +5,8 @@ import { ServiceLevel_Entity } from "../../entities/quoteResponse/quoteResponse"
|
|
|
5
5
|
import { Path_Entity } from "../../entities/path";
|
|
6
6
|
interface DateTimeCellProps extends GridRenderEditCellParams<{
|
|
7
7
|
date?: string;
|
|
8
|
-
|
|
8
|
+
timeFrom?: string;
|
|
9
|
+
timeTo?: string;
|
|
9
10
|
dateRange?: {
|
|
10
11
|
from: string;
|
|
11
12
|
to: string;
|