@movalib/movalib-commons 1.18.0 → 1.19.0
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.
|
@@ -103,7 +103,11 @@ export declare enum PartsApplicationType {
|
|
|
103
103
|
FRONT_REAR = "FTRR",
|
|
104
104
|
LEFT = "LT",
|
|
105
105
|
RIGHT = "RT",
|
|
106
|
-
LEFT_RIGHT = "LTRT"
|
|
106
|
+
LEFT_RIGHT = "LTRT",
|
|
107
|
+
FRONT_LEFT = "FTLT",
|
|
108
|
+
FRONT_RIGHT = "FTRT",
|
|
109
|
+
REAR_LEFT = "RRLT",
|
|
110
|
+
REAR_RIGHT = "RRRT"
|
|
107
111
|
}
|
|
108
112
|
export declare enum APIMethod {
|
|
109
113
|
GET = "GET",
|
|
@@ -118,6 +118,10 @@ var PartsApplicationType;
|
|
|
118
118
|
PartsApplicationType["LEFT"] = "LT";
|
|
119
119
|
PartsApplicationType["RIGHT"] = "RT";
|
|
120
120
|
PartsApplicationType["LEFT_RIGHT"] = "LTRT";
|
|
121
|
+
PartsApplicationType["FRONT_LEFT"] = "FTLT";
|
|
122
|
+
PartsApplicationType["FRONT_RIGHT"] = "FTRT";
|
|
123
|
+
PartsApplicationType["REAR_LEFT"] = "RRLT";
|
|
124
|
+
PartsApplicationType["REAR_RIGHT"] = "RRRT";
|
|
121
125
|
})(PartsApplicationType = exports.PartsApplicationType || (exports.PartsApplicationType = {}));
|
|
122
126
|
var APIMethod;
|
|
123
127
|
(function (APIMethod) {
|
|
@@ -17,7 +17,7 @@ export declare const getDayOfWeek: (index: number) => DayOfWeek | undefined;
|
|
|
17
17
|
export declare const getFrenchDayLabel: (day: DayOfWeek | undefined) => "Lundi" | "Mardi" | "Mercredi" | "Jeudi" | "Vendredi" | "Samedi" | "Dimanche" | undefined;
|
|
18
18
|
export declare const flexLeftRow: CSSProperties;
|
|
19
19
|
export declare const capitalizeFirstLetter: (str: string) => string;
|
|
20
|
-
export declare const getApplicationShortLabel: (application: PartsApplicationType | undefined) => "" | "AV" | "AR" | "AV + AR" | "G" | "D" | "G + D";
|
|
20
|
+
export declare const getApplicationShortLabel: (application: PartsApplicationType | undefined) => "" | "AV" | "AR" | "AV + AR" | "G" | "D" | "G + D" | "AVG" | "AVD" | "ARG" | "ARD";
|
|
21
21
|
export declare const flexEnd: CSSProperties;
|
|
22
22
|
export declare const flexCenter: CSSProperties;
|
|
23
23
|
export declare const isEmpty: (data: Object) => boolean;
|
|
@@ -144,6 +144,10 @@ var getApplicationShortLabel = function (application) {
|
|
|
144
144
|
case Enums_1.PartsApplicationType.LEFT: return "G";
|
|
145
145
|
case Enums_1.PartsApplicationType.RIGHT: return "D";
|
|
146
146
|
case Enums_1.PartsApplicationType.LEFT_RIGHT: return "G + D";
|
|
147
|
+
case Enums_1.PartsApplicationType.FRONT_LEFT: return "AVG";
|
|
148
|
+
case Enums_1.PartsApplicationType.FRONT_RIGHT: return "AVD";
|
|
149
|
+
case Enums_1.PartsApplicationType.REAR_LEFT: return "ARG";
|
|
150
|
+
case Enums_1.PartsApplicationType.REAR_RIGHT: return "ARD";
|
|
147
151
|
}
|
|
148
152
|
}
|
|
149
153
|
return "";
|
package/package.json
CHANGED
package/src/helpers/Enums.ts
CHANGED
|
@@ -115,7 +115,11 @@ export enum PartsApplicationType {
|
|
|
115
115
|
FRONT_REAR = "FTRR",
|
|
116
116
|
LEFT = "LT",
|
|
117
117
|
RIGHT = "RT",
|
|
118
|
-
LEFT_RIGHT = "LTRT"
|
|
118
|
+
LEFT_RIGHT = "LTRT",
|
|
119
|
+
FRONT_LEFT = "FTLT",
|
|
120
|
+
FRONT_RIGHT = "FTRT",
|
|
121
|
+
REAR_LEFT = "RRLT",
|
|
122
|
+
REAR_RIGHT = "RRRT"
|
|
119
123
|
}
|
|
120
124
|
|
|
121
125
|
export enum APIMethod {
|
package/src/helpers/Tools.ts
CHANGED
|
@@ -155,6 +155,10 @@ export const getApplicationShortLabel = (application:PartsApplicationType | unde
|
|
|
155
155
|
case PartsApplicationType.LEFT: return "G";
|
|
156
156
|
case PartsApplicationType.RIGHT: return "D";
|
|
157
157
|
case PartsApplicationType.LEFT_RIGHT: return "G + D";
|
|
158
|
+
case PartsApplicationType.FRONT_LEFT: return "AVG";
|
|
159
|
+
case PartsApplicationType.FRONT_RIGHT: return "AVD";
|
|
160
|
+
case PartsApplicationType.REAR_LEFT: return "ARG";
|
|
161
|
+
case PartsApplicationType.REAR_RIGHT: return "ARD";
|
|
158
162
|
}
|
|
159
163
|
}
|
|
160
164
|
return "";
|