@movalib/movalib-commons 1.64.4 → 1.64.6
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/index.d.ts +61 -61
- package/dist/index.js +102 -101
- package/dist/src/helpers/Enums.d.ts +10 -0
- package/dist/src/helpers/Enums.js +12 -1
- package/dist/src/helpers/Tools.d.ts +2 -1
- package/dist/src/helpers/Tools.js +22 -1
- package/dist/src/models/Garage.d.ts +1 -2
- package/dist/src/models/Garage.js +1 -2
- package/dist/src/models/Operation.d.ts +3 -2
- package/dist/src/models/Operation.js +2 -1
- package/dist/src/models/Prestation.d.ts +2 -1
- package/dist/src/models/Prestation.js +3 -1
- package/dist/src/models/User.d.ts +3 -3
- package/dist/src/models/User.js +7 -7
- package/dist/src/services/GarageService.d.ts +0 -1
- package/dist/src/services/GarageService.js +0 -7
- package/index.ts +105 -87
- package/package.json +1 -1
- package/src/helpers/Enums.ts +11 -2
- package/src/helpers/Tools.ts +34 -5
- package/src/models/Operation.ts +31 -19
- package/src/models/Prestation.ts +65 -49
package/dist/index.d.ts
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
7
|
-
export {
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as AddressFields } from './src/AddressFields';
|
|
10
|
-
export { default as ScheduleFields } from './src/ScheduleFields';
|
|
11
|
-
export { default as VehicleFullCard } from './src/components/vehicle/VehicleFullCard';
|
|
12
|
-
export { default as MovaDigitalPassport } from './src/MovaDigitalPassport';
|
|
13
|
-
export { default as Loader } from './src/Loader';
|
|
14
|
-
export { default as MovaDialog } from './src/MovaDialog';
|
|
15
|
-
export { default as QRCode } from './src/QRCode';
|
|
16
|
-
export { default as VehiclePlateField, regexPlate, oldRegexPlate } from './src/components/vehicle/VehiclePlateField';
|
|
17
|
-
export { default as TestButton } from './src/TestButton';
|
|
18
|
-
export { default as MovaSnackbar } from './src/MovaSnackbar';
|
|
19
|
-
export { default as MovaLogin } from './src/MovaLogin';
|
|
20
|
-
export { default as MovaSignUp } from './src/MovaSignUp';
|
|
21
|
-
export { default as MovaCopyright } from './src/MovaCopyright';
|
|
22
|
-
export { default as MovaVehicleTireField } from './src/MovaVehicleTireField';
|
|
23
|
-
export { default as ConfirmationDialog } from './src/ConfirmationDialog';
|
|
24
|
-
export { default as GenderSelector } from './src/GenderSelector';
|
|
25
|
-
export { default as ActivateAccount } from './src/components/singup/ActivateAccount';
|
|
26
|
-
export { QrCodePLVContainer } from './src/components/QrCodePLVContainer/QrCodePLVContainer';
|
|
27
|
-
export { PLVComponent, PrintSize } from './src/components/QrCodePLVContainer/PLVComponent';
|
|
28
|
-
export { LinkedDocumentDialog } from './src/components/LinkedDocumentDialog';
|
|
29
|
-
export { default as MovaTable } from './src/components/MovaTable/MovaTable';
|
|
1
|
+
export { default as AuthenticationService } from "./src/services/AuthenticationService";
|
|
2
|
+
export { default as GarageService } from "./src/services/GarageService";
|
|
3
|
+
export { default as UserService } from "./src/services/UserService";
|
|
4
|
+
export { default as VehicleService } from "./src/services/VehicleService";
|
|
5
|
+
export { default as AccountValidation } from "./src/AccountValidation";
|
|
6
|
+
export { default as AddressFields } from "./src/AddressFields";
|
|
7
|
+
export { LinkedDocumentDialog } from "./src/components/LinkedDocumentDialog";
|
|
8
|
+
export { default as MovaTable } from "./src/components/MovaTable/MovaTable";
|
|
30
9
|
export { default as MovaTableBack } from "./src/components/MovaTableBack/MovaTableBack";
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as
|
|
37
|
-
export { default as
|
|
38
|
-
export { default as
|
|
39
|
-
export { default as
|
|
40
|
-
export { default as
|
|
41
|
-
export { default as
|
|
42
|
-
export { default as
|
|
43
|
-
export { default as
|
|
44
|
-
export { default as
|
|
45
|
-
export { default as
|
|
46
|
-
export { default as
|
|
47
|
-
export { default as
|
|
48
|
-
export { default as
|
|
49
|
-
export { default as
|
|
50
|
-
export { default as
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
10
|
+
export { PLVComponent, PrintSize, } from "./src/components/QrCodePLVContainer/PLVComponent";
|
|
11
|
+
export { QrCodePLVContainer } from "./src/components/QrCodePLVContainer/QrCodePLVContainer";
|
|
12
|
+
export { default as ActivateAccount } from "./src/components/singup/ActivateAccount";
|
|
13
|
+
export { default as VehicleFullCard } from "./src/components/vehicle/VehicleFullCard";
|
|
14
|
+
export { default as VehiclePlateField, oldRegexPlate, regexPlate, } from "./src/components/vehicle/VehiclePlateField";
|
|
15
|
+
export { default as ConfirmationDialog } from "./src/ConfirmationDialog";
|
|
16
|
+
export { default as DialogForgotPassword } from "./src/DialogForgotPassword";
|
|
17
|
+
export { default as GaragePLV } from "./src/GaragePLV";
|
|
18
|
+
export { default as GenderSelector } from "./src/GenderSelector";
|
|
19
|
+
export { default as IbanInput } from "./src/IbanInput";
|
|
20
|
+
export { default as Loader } from "./src/Loader";
|
|
21
|
+
export { default as MovaCopyright } from "./src/MovaCopyright";
|
|
22
|
+
export { default as MovaDialog } from "./src/MovaDialog";
|
|
23
|
+
export { default as MovaDigitalPassport } from "./src/MovaDigitalPassport";
|
|
24
|
+
export { default as MovaLogin } from "./src/MovaLogin";
|
|
25
|
+
export { default as MovaSignUp } from "./src/MovaSignUp";
|
|
26
|
+
export { default as MovaSnackbar } from "./src/MovaSnackbar";
|
|
27
|
+
export { default as MovaVehicleTireField } from "./src/MovaVehicleTireField";
|
|
28
|
+
export { default as QRCode } from "./src/QRCode";
|
|
29
|
+
export { default as ScheduleFields } from "./src/ScheduleFields";
|
|
30
|
+
export { default as TestButton } from "./src/TestButton";
|
|
31
|
+
export { default as Logger } from "./src/helpers/Logger";
|
|
32
|
+
export { default as Absence } from "./src/models/Absence";
|
|
33
|
+
export { default as Address } from "./src/models/Address";
|
|
34
|
+
export { default as CategoryPrestation } from "./src/models/CategoryPrestation";
|
|
35
|
+
export { default as Customer } from "./src/models/Customer";
|
|
36
|
+
export { default as Document } from "./src/models/Document";
|
|
37
|
+
export { default as Employee } from "./src/models/Employee";
|
|
38
|
+
export { default as Event } from "./src/models/Event";
|
|
39
|
+
export { default as Garage } from "./src/models/Garage";
|
|
40
|
+
export { default as Operation } from "./src/models/Operation";
|
|
41
|
+
export { default as Prestation } from "./src/models/Prestation";
|
|
42
|
+
export { default as Product } from "./src/models/Product";
|
|
43
|
+
export { default as Role } from "./src/models/Role";
|
|
44
|
+
export { default as Schedule } from "./src/models/Schedule";
|
|
45
|
+
export { default as Subscription } from "./src/models/Subscription";
|
|
46
|
+
export { default as Supplier } from "./src/models/Supplier";
|
|
47
|
+
export { default as User } from "./src/models/User";
|
|
48
|
+
export { default as Vehicle } from "./src/models/Vehicle";
|
|
49
|
+
export { default as VehicleGarage } from "./src/models/VehicleGarage";
|
|
50
|
+
export { default as VehicleTire } from "./src/models/VehicleTire";
|
|
51
|
+
export type { APIRequest, APIResponse } from "./src/helpers/ApiHelper";
|
|
52
|
+
export type { AddressFieldName, MovaFormField, MovaInterval, MovaLoginForm, MovaUserSignUpForm, MovaVehicleForm, } from "./src/helpers/Types";
|
|
53
|
+
export type { DayInterval, DaySchedule } from "./src/ScheduleFields";
|
|
54
|
+
export { API_BASE_URL, request } from "./src/helpers/ApiHelper";
|
|
55
|
+
export { deleteCookie, readCookie } from "./src/helpers/CookieUtils";
|
|
56
|
+
export { formatDateByTimezone, getLongFormattedDateTime, } from "./src/helpers/DateUtils";
|
|
57
|
+
export { capitalizeFirstLetter, findScheduleByDayOfWeek, flexLeftRow, formatPhoneNumber, formatVehiclePlate, formatVehicleTire, getApplicationShortLabel, getApplicationsShortLabels, getDayOfWeekLabel, getFormattedIntervals, getFormattedSchedule, isEmpty, isSafariOniOS, validateField, } from "./src/helpers/Tools";
|
|
58
|
+
export { validateEmail, validatePhoneNumber, validateText, } from "./src/helpers/Validator";
|
|
59
|
+
export { APIMethod, CountryCode, CustomerType, DateFormatTypes, DayOfWeek, DigitalPassportIndex, DocumentState, DocumentType, EventState, EventType, Gender, MovaAppType, OrderPreference, OrderState, PartsApplicationType, PrestationState, PrestationType, ProductType, RegistrationState, RoleType, SecondaryPartsApplicationType, SlotAlgorithm, SubscriptionPaymentInterval, SubscriptionState, SubscriptionType, VehiclePlateFormat as VehiclePlateType, } from "./src/helpers/Enums";
|
|
60
|
+
export { openDialogPrint } from "./src/utils/DialogPrint";
|
|
61
|
+
export { getQrCodeBase64 } from "./src/utils/getQRCodeBase64";
|
|
62
|
+
export { StyledToggleButton, StyledToggleButtonGroup, } from "./src/style/styled";
|
package/dist/index.js
CHANGED
|
@@ -4,171 +4,172 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.StyledToggleButtonGroup = exports.StyledToggleButton = exports.getQrCodeBase64 = exports.openDialogPrint = exports.
|
|
7
|
+
exports.User = exports.Supplier = exports.Subscription = exports.Schedule = exports.Role = exports.Product = exports.Prestation = exports.Operation = exports.Garage = exports.Event = exports.Employee = exports.Document = exports.Customer = exports.CategoryPrestation = exports.Address = exports.Absence = exports.Logger = exports.TestButton = exports.ScheduleFields = exports.QRCode = exports.MovaVehicleTireField = exports.MovaSnackbar = exports.MovaSignUp = exports.MovaLogin = exports.MovaDigitalPassport = exports.MovaDialog = exports.MovaCopyright = exports.Loader = exports.IbanInput = exports.GenderSelector = exports.GaragePLV = exports.DialogForgotPassword = exports.ConfirmationDialog = exports.regexPlate = exports.oldRegexPlate = exports.VehiclePlateField = exports.VehicleFullCard = exports.ActivateAccount = exports.QrCodePLVContainer = exports.PrintSize = exports.PLVComponent = exports.MovaTableBack = exports.MovaTable = exports.LinkedDocumentDialog = exports.AddressFields = exports.AccountValidation = exports.VehicleService = exports.UserService = exports.GarageService = exports.AuthenticationService = void 0;
|
|
8
|
+
exports.SubscriptionState = exports.SubscriptionPaymentInterval = exports.SlotAlgorithm = exports.SecondaryPartsApplicationType = exports.RoleType = exports.RegistrationState = exports.ProductType = exports.PrestationType = exports.PrestationState = exports.PartsApplicationType = exports.OrderState = exports.OrderPreference = exports.MovaAppType = exports.Gender = exports.EventType = exports.EventState = exports.DocumentType = exports.DocumentState = exports.DigitalPassportIndex = exports.DayOfWeek = exports.DateFormatTypes = exports.CustomerType = exports.CountryCode = exports.APIMethod = exports.validateText = exports.validatePhoneNumber = exports.validateEmail = exports.validateField = exports.isSafariOniOS = exports.isEmpty = exports.getFormattedSchedule = exports.getFormattedIntervals = exports.getDayOfWeekLabel = exports.getApplicationsShortLabels = exports.getApplicationShortLabel = exports.formatVehicleTire = exports.formatVehiclePlate = exports.formatPhoneNumber = exports.flexLeftRow = exports.findScheduleByDayOfWeek = exports.capitalizeFirstLetter = exports.getLongFormattedDateTime = exports.formatDateByTimezone = exports.readCookie = exports.deleteCookie = exports.request = exports.API_BASE_URL = exports.VehicleTire = exports.VehicleGarage = exports.Vehicle = void 0;
|
|
9
|
+
exports.StyledToggleButtonGroup = exports.StyledToggleButton = exports.getQrCodeBase64 = exports.openDialogPrint = exports.VehiclePlateType = exports.SubscriptionType = void 0;
|
|
10
10
|
// Export des services
|
|
11
|
-
var VehicleService_1 = require("./src/services/VehicleService");
|
|
12
|
-
Object.defineProperty(exports, "VehicleService", { enumerable: true, get: function () { return __importDefault(VehicleService_1).default; } });
|
|
13
11
|
var AuthenticationService_1 = require("./src/services/AuthenticationService");
|
|
14
12
|
Object.defineProperty(exports, "AuthenticationService", { enumerable: true, get: function () { return __importDefault(AuthenticationService_1).default; } });
|
|
15
13
|
var GarageService_1 = require("./src/services/GarageService");
|
|
16
14
|
Object.defineProperty(exports, "GarageService", { enumerable: true, get: function () { return __importDefault(GarageService_1).default; } });
|
|
17
15
|
var UserService_1 = require("./src/services/UserService");
|
|
18
16
|
Object.defineProperty(exports, "UserService", { enumerable: true, get: function () { return __importDefault(UserService_1).default; } });
|
|
17
|
+
var VehicleService_1 = require("./src/services/VehicleService");
|
|
18
|
+
Object.defineProperty(exports, "VehicleService", { enumerable: true, get: function () { return __importDefault(VehicleService_1).default; } });
|
|
19
19
|
// Export des composants
|
|
20
|
-
var DialogForgotPassword_1 = require("./src/DialogForgotPassword");
|
|
21
|
-
Object.defineProperty(exports, "DialogForgotPassword", { enumerable: true, get: function () { return __importDefault(DialogForgotPassword_1).default; } });
|
|
22
|
-
var IbanInput_1 = require("./src/IbanInput");
|
|
23
|
-
Object.defineProperty(exports, "IbanInput", { enumerable: true, get: function () { return __importDefault(IbanInput_1).default; } });
|
|
24
|
-
var GaragePLV_1 = require("./src/GaragePLV");
|
|
25
|
-
Object.defineProperty(exports, "GaragePLV", { enumerable: true, get: function () { return __importDefault(GaragePLV_1).default; } });
|
|
26
20
|
var AccountValidation_1 = require("./src/AccountValidation");
|
|
27
21
|
Object.defineProperty(exports, "AccountValidation", { enumerable: true, get: function () { return __importDefault(AccountValidation_1).default; } });
|
|
28
22
|
var AddressFields_1 = require("./src/AddressFields");
|
|
29
23
|
Object.defineProperty(exports, "AddressFields", { enumerable: true, get: function () { return __importDefault(AddressFields_1).default; } });
|
|
30
|
-
var
|
|
31
|
-
Object.defineProperty(exports, "
|
|
24
|
+
var LinkedDocumentDialog_1 = require("./src/components/LinkedDocumentDialog");
|
|
25
|
+
Object.defineProperty(exports, "LinkedDocumentDialog", { enumerable: true, get: function () { return LinkedDocumentDialog_1.LinkedDocumentDialog; } });
|
|
26
|
+
var MovaTable_1 = require("./src/components/MovaTable/MovaTable");
|
|
27
|
+
Object.defineProperty(exports, "MovaTable", { enumerable: true, get: function () { return __importDefault(MovaTable_1).default; } });
|
|
28
|
+
var MovaTableBack_1 = require("./src/components/MovaTableBack/MovaTableBack");
|
|
29
|
+
Object.defineProperty(exports, "MovaTableBack", { enumerable: true, get: function () { return __importDefault(MovaTableBack_1).default; } });
|
|
30
|
+
var PLVComponent_1 = require("./src/components/QrCodePLVContainer/PLVComponent");
|
|
31
|
+
Object.defineProperty(exports, "PLVComponent", { enumerable: true, get: function () { return PLVComponent_1.PLVComponent; } });
|
|
32
|
+
Object.defineProperty(exports, "PrintSize", { enumerable: true, get: function () { return PLVComponent_1.PrintSize; } });
|
|
33
|
+
var QrCodePLVContainer_1 = require("./src/components/QrCodePLVContainer/QrCodePLVContainer");
|
|
34
|
+
Object.defineProperty(exports, "QrCodePLVContainer", { enumerable: true, get: function () { return QrCodePLVContainer_1.QrCodePLVContainer; } });
|
|
35
|
+
var ActivateAccount_1 = require("./src/components/singup/ActivateAccount");
|
|
36
|
+
Object.defineProperty(exports, "ActivateAccount", { enumerable: true, get: function () { return __importDefault(ActivateAccount_1).default; } });
|
|
32
37
|
var VehicleFullCard_1 = require("./src/components/vehicle/VehicleFullCard");
|
|
33
38
|
Object.defineProperty(exports, "VehicleFullCard", { enumerable: true, get: function () { return __importDefault(VehicleFullCard_1).default; } });
|
|
34
|
-
var
|
|
35
|
-
Object.defineProperty(exports, "
|
|
39
|
+
var VehiclePlateField_1 = require("./src/components/vehicle/VehiclePlateField");
|
|
40
|
+
Object.defineProperty(exports, "VehiclePlateField", { enumerable: true, get: function () { return __importDefault(VehiclePlateField_1).default; } });
|
|
41
|
+
Object.defineProperty(exports, "oldRegexPlate", { enumerable: true, get: function () { return VehiclePlateField_1.oldRegexPlate; } });
|
|
42
|
+
Object.defineProperty(exports, "regexPlate", { enumerable: true, get: function () { return VehiclePlateField_1.regexPlate; } });
|
|
43
|
+
var ConfirmationDialog_1 = require("./src/ConfirmationDialog");
|
|
44
|
+
Object.defineProperty(exports, "ConfirmationDialog", { enumerable: true, get: function () { return __importDefault(ConfirmationDialog_1).default; } });
|
|
45
|
+
var DialogForgotPassword_1 = require("./src/DialogForgotPassword");
|
|
46
|
+
Object.defineProperty(exports, "DialogForgotPassword", { enumerable: true, get: function () { return __importDefault(DialogForgotPassword_1).default; } });
|
|
47
|
+
var GaragePLV_1 = require("./src/GaragePLV");
|
|
48
|
+
Object.defineProperty(exports, "GaragePLV", { enumerable: true, get: function () { return __importDefault(GaragePLV_1).default; } });
|
|
49
|
+
var GenderSelector_1 = require("./src/GenderSelector");
|
|
50
|
+
Object.defineProperty(exports, "GenderSelector", { enumerable: true, get: function () { return __importDefault(GenderSelector_1).default; } });
|
|
51
|
+
var IbanInput_1 = require("./src/IbanInput");
|
|
52
|
+
Object.defineProperty(exports, "IbanInput", { enumerable: true, get: function () { return __importDefault(IbanInput_1).default; } });
|
|
36
53
|
var Loader_1 = require("./src/Loader");
|
|
37
54
|
Object.defineProperty(exports, "Loader", { enumerable: true, get: function () { return __importDefault(Loader_1).default; } });
|
|
55
|
+
var MovaCopyright_1 = require("./src/MovaCopyright");
|
|
56
|
+
Object.defineProperty(exports, "MovaCopyright", { enumerable: true, get: function () { return __importDefault(MovaCopyright_1).default; } });
|
|
38
57
|
var MovaDialog_1 = require("./src/MovaDialog");
|
|
39
58
|
Object.defineProperty(exports, "MovaDialog", { enumerable: true, get: function () { return __importDefault(MovaDialog_1).default; } });
|
|
40
|
-
var
|
|
41
|
-
Object.defineProperty(exports, "
|
|
42
|
-
var VehiclePlateField_1 = require("./src/components/vehicle/VehiclePlateField");
|
|
43
|
-
Object.defineProperty(exports, "VehiclePlateField", { enumerable: true, get: function () { return __importDefault(VehiclePlateField_1).default; } });
|
|
44
|
-
Object.defineProperty(exports, "regexPlate", { enumerable: true, get: function () { return VehiclePlateField_1.regexPlate; } });
|
|
45
|
-
Object.defineProperty(exports, "oldRegexPlate", { enumerable: true, get: function () { return VehiclePlateField_1.oldRegexPlate; } });
|
|
46
|
-
var TestButton_1 = require("./src/TestButton");
|
|
47
|
-
Object.defineProperty(exports, "TestButton", { enumerable: true, get: function () { return __importDefault(TestButton_1).default; } });
|
|
48
|
-
var MovaSnackbar_1 = require("./src/MovaSnackbar");
|
|
49
|
-
Object.defineProperty(exports, "MovaSnackbar", { enumerable: true, get: function () { return __importDefault(MovaSnackbar_1).default; } });
|
|
59
|
+
var MovaDigitalPassport_1 = require("./src/MovaDigitalPassport");
|
|
60
|
+
Object.defineProperty(exports, "MovaDigitalPassport", { enumerable: true, get: function () { return __importDefault(MovaDigitalPassport_1).default; } });
|
|
50
61
|
var MovaLogin_1 = require("./src/MovaLogin");
|
|
51
62
|
Object.defineProperty(exports, "MovaLogin", { enumerable: true, get: function () { return __importDefault(MovaLogin_1).default; } });
|
|
52
63
|
var MovaSignUp_1 = require("./src/MovaSignUp");
|
|
53
64
|
Object.defineProperty(exports, "MovaSignUp", { enumerable: true, get: function () { return __importDefault(MovaSignUp_1).default; } });
|
|
54
|
-
var
|
|
55
|
-
Object.defineProperty(exports, "
|
|
65
|
+
var MovaSnackbar_1 = require("./src/MovaSnackbar");
|
|
66
|
+
Object.defineProperty(exports, "MovaSnackbar", { enumerable: true, get: function () { return __importDefault(MovaSnackbar_1).default; } });
|
|
56
67
|
var MovaVehicleTireField_1 = require("./src/MovaVehicleTireField");
|
|
57
68
|
Object.defineProperty(exports, "MovaVehicleTireField", { enumerable: true, get: function () { return __importDefault(MovaVehicleTireField_1).default; } });
|
|
58
|
-
var
|
|
59
|
-
Object.defineProperty(exports, "
|
|
60
|
-
var
|
|
61
|
-
Object.defineProperty(exports, "
|
|
62
|
-
var
|
|
63
|
-
Object.defineProperty(exports, "
|
|
64
|
-
var QrCodePLVContainer_1 = require("./src/components/QrCodePLVContainer/QrCodePLVContainer");
|
|
65
|
-
Object.defineProperty(exports, "QrCodePLVContainer", { enumerable: true, get: function () { return QrCodePLVContainer_1.QrCodePLVContainer; } });
|
|
66
|
-
var PLVComponent_1 = require("./src/components/QrCodePLVContainer/PLVComponent");
|
|
67
|
-
Object.defineProperty(exports, "PLVComponent", { enumerable: true, get: function () { return PLVComponent_1.PLVComponent; } });
|
|
68
|
-
Object.defineProperty(exports, "PrintSize", { enumerable: true, get: function () { return PLVComponent_1.PrintSize; } });
|
|
69
|
-
var LinkedDocumentDialog_1 = require("./src/components/LinkedDocumentDialog");
|
|
70
|
-
Object.defineProperty(exports, "LinkedDocumentDialog", { enumerable: true, get: function () { return LinkedDocumentDialog_1.LinkedDocumentDialog; } });
|
|
71
|
-
var MovaTable_1 = require("./src/components/MovaTable/MovaTable");
|
|
72
|
-
Object.defineProperty(exports, "MovaTable", { enumerable: true, get: function () { return __importDefault(MovaTable_1).default; } });
|
|
73
|
-
var MovaTableBack_1 = require("./src/components/MovaTableBack/MovaTableBack");
|
|
74
|
-
Object.defineProperty(exports, "MovaTableBack", { enumerable: true, get: function () { return __importDefault(MovaTableBack_1).default; } });
|
|
69
|
+
var QRCode_1 = require("./src/QRCode");
|
|
70
|
+
Object.defineProperty(exports, "QRCode", { enumerable: true, get: function () { return __importDefault(QRCode_1).default; } });
|
|
71
|
+
var ScheduleFields_1 = require("./src/ScheduleFields");
|
|
72
|
+
Object.defineProperty(exports, "ScheduleFields", { enumerable: true, get: function () { return __importDefault(ScheduleFields_1).default; } });
|
|
73
|
+
var TestButton_1 = require("./src/TestButton");
|
|
74
|
+
Object.defineProperty(exports, "TestButton", { enumerable: true, get: function () { return __importDefault(TestButton_1).default; } });
|
|
75
75
|
// Export des classes
|
|
76
|
-
var
|
|
77
|
-
Object.defineProperty(exports, "
|
|
76
|
+
var Logger_1 = require("./src/helpers/Logger");
|
|
77
|
+
Object.defineProperty(exports, "Logger", { enumerable: true, get: function () { return __importDefault(Logger_1).default; } });
|
|
78
78
|
var Absence_1 = require("./src/models/Absence");
|
|
79
79
|
Object.defineProperty(exports, "Absence", { enumerable: true, get: function () { return __importDefault(Absence_1).default; } });
|
|
80
|
+
var Address_1 = require("./src/models/Address");
|
|
81
|
+
Object.defineProperty(exports, "Address", { enumerable: true, get: function () { return __importDefault(Address_1).default; } });
|
|
82
|
+
var CategoryPrestation_1 = require("./src/models/CategoryPrestation");
|
|
83
|
+
Object.defineProperty(exports, "CategoryPrestation", { enumerable: true, get: function () { return __importDefault(CategoryPrestation_1).default; } });
|
|
84
|
+
var Customer_1 = require("./src/models/Customer");
|
|
85
|
+
Object.defineProperty(exports, "Customer", { enumerable: true, get: function () { return __importDefault(Customer_1).default; } });
|
|
86
|
+
var Document_1 = require("./src/models/Document");
|
|
87
|
+
Object.defineProperty(exports, "Document", { enumerable: true, get: function () { return __importDefault(Document_1).default; } });
|
|
80
88
|
var Employee_1 = require("./src/models/Employee");
|
|
81
89
|
Object.defineProperty(exports, "Employee", { enumerable: true, get: function () { return __importDefault(Employee_1).default; } });
|
|
82
|
-
var
|
|
83
|
-
Object.defineProperty(exports, "
|
|
84
|
-
var
|
|
85
|
-
Object.defineProperty(exports, "
|
|
86
|
-
var Prestation_1 = require("./src/models/Prestation");
|
|
87
|
-
Object.defineProperty(exports, "Prestation", { enumerable: true, get: function () { return __importDefault(Prestation_1).default; } });
|
|
90
|
+
var Event_1 = require("./src/models/Event");
|
|
91
|
+
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return __importDefault(Event_1).default; } });
|
|
92
|
+
var Garage_1 = require("./src/models/Garage");
|
|
93
|
+
Object.defineProperty(exports, "Garage", { enumerable: true, get: function () { return __importDefault(Garage_1).default; } });
|
|
88
94
|
var Operation_1 = require("./src/models/Operation");
|
|
89
95
|
Object.defineProperty(exports, "Operation", { enumerable: true, get: function () { return __importDefault(Operation_1).default; } });
|
|
90
|
-
var
|
|
91
|
-
Object.defineProperty(exports, "
|
|
92
|
-
var
|
|
93
|
-
Object.defineProperty(exports, "
|
|
94
|
-
var User_1 = require("./src/models/User");
|
|
95
|
-
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return __importDefault(User_1).default; } });
|
|
96
|
+
var Prestation_1 = require("./src/models/Prestation");
|
|
97
|
+
Object.defineProperty(exports, "Prestation", { enumerable: true, get: function () { return __importDefault(Prestation_1).default; } });
|
|
98
|
+
var Product_1 = require("./src/models/Product");
|
|
99
|
+
Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return __importDefault(Product_1).default; } });
|
|
96
100
|
var Role_1 = require("./src/models/Role");
|
|
97
101
|
Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return __importDefault(Role_1).default; } });
|
|
98
|
-
var
|
|
99
|
-
Object.defineProperty(exports, "
|
|
102
|
+
var Schedule_1 = require("./src/models/Schedule");
|
|
103
|
+
Object.defineProperty(exports, "Schedule", { enumerable: true, get: function () { return __importDefault(Schedule_1).default; } });
|
|
104
|
+
var Subscription_1 = require("./src/models/Subscription");
|
|
105
|
+
Object.defineProperty(exports, "Subscription", { enumerable: true, get: function () { return __importDefault(Subscription_1).default; } });
|
|
106
|
+
var Supplier_1 = require("./src/models/Supplier");
|
|
107
|
+
Object.defineProperty(exports, "Supplier", { enumerable: true, get: function () { return __importDefault(Supplier_1).default; } });
|
|
108
|
+
var User_1 = require("./src/models/User");
|
|
109
|
+
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return __importDefault(User_1).default; } });
|
|
100
110
|
var Vehicle_1 = require("./src/models/Vehicle");
|
|
101
111
|
Object.defineProperty(exports, "Vehicle", { enumerable: true, get: function () { return __importDefault(Vehicle_1).default; } });
|
|
102
|
-
var Document_1 = require("./src/models/Document");
|
|
103
|
-
Object.defineProperty(exports, "Document", { enumerable: true, get: function () { return __importDefault(Document_1).default; } });
|
|
104
|
-
var Garage_1 = require("./src/models/Garage");
|
|
105
|
-
Object.defineProperty(exports, "Garage", { enumerable: true, get: function () { return __importDefault(Garage_1).default; } });
|
|
106
112
|
var VehicleGarage_1 = require("./src/models/VehicleGarage");
|
|
107
113
|
Object.defineProperty(exports, "VehicleGarage", { enumerable: true, get: function () { return __importDefault(VehicleGarage_1).default; } });
|
|
108
|
-
var Schedule_1 = require("./src/models/Schedule");
|
|
109
|
-
Object.defineProperty(exports, "Schedule", { enumerable: true, get: function () { return __importDefault(Schedule_1).default; } });
|
|
110
|
-
var Event_1 = require("./src/models/Event");
|
|
111
|
-
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return __importDefault(Event_1).default; } });
|
|
112
114
|
var VehicleTire_1 = require("./src/models/VehicleTire");
|
|
113
115
|
Object.defineProperty(exports, "VehicleTire", { enumerable: true, get: function () { return __importDefault(VehicleTire_1).default; } });
|
|
114
|
-
var CategoryPrestation_1 = require("./src/models/CategoryPrestation");
|
|
115
|
-
Object.defineProperty(exports, "CategoryPrestation", { enumerable: true, get: function () { return __importDefault(CategoryPrestation_1).default; } });
|
|
116
116
|
// Export des méthodes utilitaires
|
|
117
|
+
var ApiHelper_1 = require("./src/helpers/ApiHelper");
|
|
118
|
+
Object.defineProperty(exports, "API_BASE_URL", { enumerable: true, get: function () { return ApiHelper_1.API_BASE_URL; } });
|
|
119
|
+
Object.defineProperty(exports, "request", { enumerable: true, get: function () { return ApiHelper_1.request; } });
|
|
117
120
|
var CookieUtils_1 = require("./src/helpers/CookieUtils");
|
|
118
|
-
Object.defineProperty(exports, "readCookie", { enumerable: true, get: function () { return CookieUtils_1.readCookie; } });
|
|
119
121
|
Object.defineProperty(exports, "deleteCookie", { enumerable: true, get: function () { return CookieUtils_1.deleteCookie; } });
|
|
122
|
+
Object.defineProperty(exports, "readCookie", { enumerable: true, get: function () { return CookieUtils_1.readCookie; } });
|
|
123
|
+
var DateUtils_1 = require("./src/helpers/DateUtils");
|
|
124
|
+
Object.defineProperty(exports, "formatDateByTimezone", { enumerable: true, get: function () { return DateUtils_1.formatDateByTimezone; } });
|
|
125
|
+
Object.defineProperty(exports, "getLongFormattedDateTime", { enumerable: true, get: function () { return DateUtils_1.getLongFormattedDateTime; } });
|
|
120
126
|
var Tools_1 = require("./src/helpers/Tools");
|
|
121
|
-
Object.defineProperty(exports, "validateField", { enumerable: true, get: function () { return Tools_1.validateField; } });
|
|
122
|
-
Object.defineProperty(exports, "formatVehicleTire", { enumerable: true, get: function () { return Tools_1.formatVehicleTire; } });
|
|
123
|
-
Object.defineProperty(exports, "formatVehiclePlate", { enumerable: true, get: function () { return Tools_1.formatVehiclePlate; } });
|
|
124
|
-
Object.defineProperty(exports, "isEmpty", { enumerable: true, get: function () { return Tools_1.isEmpty; } });
|
|
125
|
-
Object.defineProperty(exports, "getApplicationShortLabel", { enumerable: true, get: function () { return Tools_1.getApplicationShortLabel; } });
|
|
126
127
|
Object.defineProperty(exports, "capitalizeFirstLetter", { enumerable: true, get: function () { return Tools_1.capitalizeFirstLetter; } });
|
|
128
|
+
Object.defineProperty(exports, "findScheduleByDayOfWeek", { enumerable: true, get: function () { return Tools_1.findScheduleByDayOfWeek; } });
|
|
127
129
|
Object.defineProperty(exports, "flexLeftRow", { enumerable: true, get: function () { return Tools_1.flexLeftRow; } });
|
|
128
130
|
Object.defineProperty(exports, "formatPhoneNumber", { enumerable: true, get: function () { return Tools_1.formatPhoneNumber; } });
|
|
129
|
-
Object.defineProperty(exports, "
|
|
130
|
-
Object.defineProperty(exports, "
|
|
131
|
-
Object.defineProperty(exports, "
|
|
131
|
+
Object.defineProperty(exports, "formatVehiclePlate", { enumerable: true, get: function () { return Tools_1.formatVehiclePlate; } });
|
|
132
|
+
Object.defineProperty(exports, "formatVehicleTire", { enumerable: true, get: function () { return Tools_1.formatVehicleTire; } });
|
|
133
|
+
Object.defineProperty(exports, "getApplicationShortLabel", { enumerable: true, get: function () { return Tools_1.getApplicationShortLabel; } });
|
|
134
|
+
Object.defineProperty(exports, "getApplicationsShortLabels", { enumerable: true, get: function () { return Tools_1.getApplicationsShortLabels; } });
|
|
132
135
|
Object.defineProperty(exports, "getDayOfWeekLabel", { enumerable: true, get: function () { return Tools_1.getDayOfWeekLabel; } });
|
|
136
|
+
Object.defineProperty(exports, "getFormattedIntervals", { enumerable: true, get: function () { return Tools_1.getFormattedIntervals; } });
|
|
137
|
+
Object.defineProperty(exports, "getFormattedSchedule", { enumerable: true, get: function () { return Tools_1.getFormattedSchedule; } });
|
|
138
|
+
Object.defineProperty(exports, "isEmpty", { enumerable: true, get: function () { return Tools_1.isEmpty; } });
|
|
133
139
|
Object.defineProperty(exports, "isSafariOniOS", { enumerable: true, get: function () { return Tools_1.isSafariOniOS; } });
|
|
134
|
-
Object.defineProperty(exports, "
|
|
140
|
+
Object.defineProperty(exports, "validateField", { enumerable: true, get: function () { return Tools_1.validateField; } });
|
|
135
141
|
var Validator_1 = require("./src/helpers/Validator");
|
|
142
|
+
Object.defineProperty(exports, "validateEmail", { enumerable: true, get: function () { return Validator_1.validateEmail; } });
|
|
136
143
|
Object.defineProperty(exports, "validatePhoneNumber", { enumerable: true, get: function () { return Validator_1.validatePhoneNumber; } });
|
|
137
144
|
Object.defineProperty(exports, "validateText", { enumerable: true, get: function () { return Validator_1.validateText; } });
|
|
138
|
-
Object.defineProperty(exports, "validateEmail", { enumerable: true, get: function () { return Validator_1.validateEmail; } });
|
|
139
|
-
var DateUtils_1 = require("./src/helpers/DateUtils");
|
|
140
|
-
Object.defineProperty(exports, "formatDateByTimezone", { enumerable: true, get: function () { return DateUtils_1.formatDateByTimezone; } });
|
|
141
|
-
Object.defineProperty(exports, "getLongFormattedDateTime", { enumerable: true, get: function () { return DateUtils_1.getLongFormattedDateTime; } });
|
|
142
|
-
var ApiHelper_1 = require("./src/helpers/ApiHelper");
|
|
143
|
-
Object.defineProperty(exports, "request", { enumerable: true, get: function () { return ApiHelper_1.request; } });
|
|
144
|
-
Object.defineProperty(exports, "API_BASE_URL", { enumerable: true, get: function () { return ApiHelper_1.API_BASE_URL; } });
|
|
145
145
|
// Export des enums
|
|
146
146
|
var Enums_1 = require("./src/helpers/Enums");
|
|
147
|
+
Object.defineProperty(exports, "APIMethod", { enumerable: true, get: function () { return Enums_1.APIMethod; } });
|
|
148
|
+
Object.defineProperty(exports, "CountryCode", { enumerable: true, get: function () { return Enums_1.CountryCode; } });
|
|
147
149
|
Object.defineProperty(exports, "CustomerType", { enumerable: true, get: function () { return Enums_1.CustomerType; } });
|
|
148
|
-
Object.defineProperty(exports, "
|
|
149
|
-
Object.defineProperty(exports, "MovaAppType", { enumerable: true, get: function () { return Enums_1.MovaAppType; } });
|
|
150
|
+
Object.defineProperty(exports, "DateFormatTypes", { enumerable: true, get: function () { return Enums_1.DateFormatTypes; } });
|
|
150
151
|
Object.defineProperty(exports, "DayOfWeek", { enumerable: true, get: function () { return Enums_1.DayOfWeek; } });
|
|
151
|
-
Object.defineProperty(exports, "EventState", { enumerable: true, get: function () { return Enums_1.EventState; } });
|
|
152
|
-
Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return Enums_1.EventType; } });
|
|
153
|
-
Object.defineProperty(exports, "DocumentType", { enumerable: true, get: function () { return Enums_1.DocumentType; } });
|
|
154
152
|
Object.defineProperty(exports, "DigitalPassportIndex", { enumerable: true, get: function () { return Enums_1.DigitalPassportIndex; } });
|
|
155
153
|
Object.defineProperty(exports, "DocumentState", { enumerable: true, get: function () { return Enums_1.DocumentState; } });
|
|
154
|
+
Object.defineProperty(exports, "DocumentType", { enumerable: true, get: function () { return Enums_1.DocumentType; } });
|
|
155
|
+
Object.defineProperty(exports, "EventState", { enumerable: true, get: function () { return Enums_1.EventState; } });
|
|
156
|
+
Object.defineProperty(exports, "EventType", { enumerable: true, get: function () { return Enums_1.EventType; } });
|
|
156
157
|
Object.defineProperty(exports, "Gender", { enumerable: true, get: function () { return Enums_1.Gender; } });
|
|
157
|
-
Object.defineProperty(exports, "
|
|
158
|
-
Object.defineProperty(exports, "PartsApplicationType", { enumerable: true, get: function () { return Enums_1.PartsApplicationType; } });
|
|
159
|
-
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return Enums_1.ProductType; } });
|
|
158
|
+
Object.defineProperty(exports, "MovaAppType", { enumerable: true, get: function () { return Enums_1.MovaAppType; } });
|
|
160
159
|
Object.defineProperty(exports, "OrderPreference", { enumerable: true, get: function () { return Enums_1.OrderPreference; } });
|
|
161
160
|
Object.defineProperty(exports, "OrderState", { enumerable: true, get: function () { return Enums_1.OrderState; } });
|
|
161
|
+
Object.defineProperty(exports, "PartsApplicationType", { enumerable: true, get: function () { return Enums_1.PartsApplicationType; } });
|
|
162
|
+
Object.defineProperty(exports, "PrestationState", { enumerable: true, get: function () { return Enums_1.PrestationState; } });
|
|
163
|
+
Object.defineProperty(exports, "PrestationType", { enumerable: true, get: function () { return Enums_1.PrestationType; } });
|
|
164
|
+
Object.defineProperty(exports, "ProductType", { enumerable: true, get: function () { return Enums_1.ProductType; } });
|
|
165
|
+
Object.defineProperty(exports, "RegistrationState", { enumerable: true, get: function () { return Enums_1.RegistrationState; } });
|
|
166
|
+
Object.defineProperty(exports, "RoleType", { enumerable: true, get: function () { return Enums_1.RoleType; } });
|
|
167
|
+
Object.defineProperty(exports, "SecondaryPartsApplicationType", { enumerable: true, get: function () { return Enums_1.SecondaryPartsApplicationType; } });
|
|
162
168
|
Object.defineProperty(exports, "SlotAlgorithm", { enumerable: true, get: function () { return Enums_1.SlotAlgorithm; } });
|
|
163
|
-
Object.defineProperty(exports, "VehiclePlateType", { enumerable: true, get: function () { return Enums_1.VehiclePlateFormat; } });
|
|
164
169
|
Object.defineProperty(exports, "SubscriptionPaymentInterval", { enumerable: true, get: function () { return Enums_1.SubscriptionPaymentInterval; } });
|
|
165
|
-
Object.defineProperty(exports, "RegistrationState", { enumerable: true, get: function () { return Enums_1.RegistrationState; } });
|
|
166
|
-
Object.defineProperty(exports, "PrestationType", { enumerable: true, get: function () { return Enums_1.PrestationType; } });
|
|
167
|
-
Object.defineProperty(exports, "PrestationState", { enumerable: true, get: function () { return Enums_1.PrestationState; } });
|
|
168
|
-
Object.defineProperty(exports, "CountryCode", { enumerable: true, get: function () { return Enums_1.CountryCode; } });
|
|
169
170
|
Object.defineProperty(exports, "SubscriptionState", { enumerable: true, get: function () { return Enums_1.SubscriptionState; } });
|
|
170
171
|
Object.defineProperty(exports, "SubscriptionType", { enumerable: true, get: function () { return Enums_1.SubscriptionType; } });
|
|
171
|
-
Object.defineProperty(exports, "
|
|
172
|
+
Object.defineProperty(exports, "VehiclePlateType", { enumerable: true, get: function () { return Enums_1.VehiclePlateFormat; } });
|
|
172
173
|
// Export des utils
|
|
173
174
|
var DialogPrint_1 = require("./src/utils/DialogPrint");
|
|
174
175
|
Object.defineProperty(exports, "openDialogPrint", { enumerable: true, get: function () { return DialogPrint_1.openDialogPrint; } });
|
|
@@ -12,6 +12,16 @@ export declare enum SubscriptionState {
|
|
|
12
12
|
PAUSED = "PAUSED",
|
|
13
13
|
CANCELED = "CANCELED"
|
|
14
14
|
}
|
|
15
|
+
export declare enum SecondaryPartsApplicationType {
|
|
16
|
+
HOOD = "HOOD",
|
|
17
|
+
ROOF = "ROOF",
|
|
18
|
+
DOOR = "DOOR",
|
|
19
|
+
FENDER = "FENDER",
|
|
20
|
+
JAMB = "JAMB",
|
|
21
|
+
UNDERBODY = "UNDERBODY",
|
|
22
|
+
BUMPER = "BUMPER",
|
|
23
|
+
TRUNK = "TRUNK"
|
|
24
|
+
}
|
|
15
25
|
export declare enum CountryCode {
|
|
16
26
|
FR = "FR"
|
|
17
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RoleType = exports.MovaAppType = exports.DocumentType = exports.QuoteState = exports.DocumentState = exports.DayOfWeek = exports.EventType = exports.EventState = exports.DigitalPassportIndex = exports.Gender = exports.DateFormatTypes = exports.APIMethod = exports.PartsApplicationType = exports.ProductType = exports.OrderPreference = exports.OrderState = exports.SlotAlgorithm = exports.VehiclePlateFormat = exports.RegistrationState = exports.SubscriptionPaymentInterval = exports.PrestationType = exports.PrestationState = exports.CountryCode = exports.SubscriptionState = exports.SubscriptionType = exports.CustomerType = void 0;
|
|
3
|
+
exports.RoleType = exports.MovaAppType = exports.DocumentType = exports.QuoteState = exports.DocumentState = exports.DayOfWeek = exports.EventType = exports.EventState = exports.DigitalPassportIndex = exports.Gender = exports.DateFormatTypes = exports.APIMethod = exports.PartsApplicationType = exports.ProductType = exports.OrderPreference = exports.OrderState = exports.SlotAlgorithm = exports.VehiclePlateFormat = exports.RegistrationState = exports.SubscriptionPaymentInterval = exports.PrestationType = exports.PrestationState = exports.CountryCode = exports.SecondaryPartsApplicationType = exports.SubscriptionState = exports.SubscriptionType = exports.CustomerType = void 0;
|
|
4
4
|
var CustomerType;
|
|
5
5
|
(function (CustomerType) {
|
|
6
6
|
CustomerType["INDIVIDUAL"] = "INDIVIDUAL";
|
|
@@ -18,6 +18,17 @@ var SubscriptionState;
|
|
|
18
18
|
SubscriptionState["PAUSED"] = "PAUSED";
|
|
19
19
|
SubscriptionState["CANCELED"] = "CANCELED";
|
|
20
20
|
})(SubscriptionState = exports.SubscriptionState || (exports.SubscriptionState = {}));
|
|
21
|
+
var SecondaryPartsApplicationType;
|
|
22
|
+
(function (SecondaryPartsApplicationType) {
|
|
23
|
+
SecondaryPartsApplicationType["HOOD"] = "HOOD";
|
|
24
|
+
SecondaryPartsApplicationType["ROOF"] = "ROOF";
|
|
25
|
+
SecondaryPartsApplicationType["DOOR"] = "DOOR";
|
|
26
|
+
SecondaryPartsApplicationType["FENDER"] = "FENDER";
|
|
27
|
+
SecondaryPartsApplicationType["JAMB"] = "JAMB";
|
|
28
|
+
SecondaryPartsApplicationType["UNDERBODY"] = "UNDERBODY";
|
|
29
|
+
SecondaryPartsApplicationType["BUMPER"] = "BUMPER";
|
|
30
|
+
SecondaryPartsApplicationType["TRUNK"] = "TRUNK";
|
|
31
|
+
})(SecondaryPartsApplicationType = exports.SecondaryPartsApplicationType || (exports.SecondaryPartsApplicationType = {}));
|
|
21
32
|
var CountryCode;
|
|
22
33
|
(function (CountryCode) {
|
|
23
34
|
CountryCode["FR"] = "FR";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from "react";
|
|
2
2
|
import Schedule from "../models/Schedule";
|
|
3
3
|
import VehicleTire from "../models/VehicleTire";
|
|
4
|
-
import { DayOfWeek, PartsApplicationType } from "./Enums";
|
|
4
|
+
import { DayOfWeek, PartsApplicationType, SecondaryPartsApplicationType } from "./Enums";
|
|
5
5
|
import { MovaFormField, MovaInterval } from "./Types";
|
|
6
6
|
export declare const getApplicationsShortLabels: (applications: PartsApplicationType[] | undefined) => string;
|
|
7
7
|
export declare const flexStart: CSSProperties;
|
|
@@ -21,6 +21,7 @@ export declare const getFrenchDayLabel: (day: DayOfWeek | undefined) => "Lundi"
|
|
|
21
21
|
export declare const flexLeftRow: CSSProperties;
|
|
22
22
|
export declare const capitalizeFirstLetter: (str: string) => string;
|
|
23
23
|
export declare const getApplicationShortLabel: (application: PartsApplicationType | undefined) => "" | "AV" | "AR" | "AV + AR" | "G" | "D" | "G + D" | "AVG" | "AVD" | "ARG" | "ARD";
|
|
24
|
+
export declare const getApplicationSecondaryLabel: (secondaryApplication: SecondaryPartsApplicationType) => string;
|
|
24
25
|
export declare const flexEnd: CSSProperties;
|
|
25
26
|
export declare const flexCenter: CSSProperties;
|
|
26
27
|
export declare const isEmpty: (data: Object) => boolean;
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.validateField = exports.formatVehicleTireStr = exports.formatVehicleTire = exports.formatVehiclePlate = exports.isEmpty = exports.flexCenter = exports.flexEnd = exports.getApplicationShortLabel = exports.capitalizeFirstLetter = exports.flexLeftRow = exports.getFrenchDayLabel = exports.getDayOfWeek = exports.findScheduleByDayOfWeek = exports.formatTime = exports.getFormattedIntervals = exports.getFormattedSchedule = exports.formatPhoneNumber = exports.getDayOfWeekIndex = exports.getDayOfWeekLabel = exports.FR_WEEK_DAYS = exports.isInvalidPhoneNumber = exports.isInvalidMobileNumber = exports.isSafariOniOS = exports.flexStart = exports.getApplicationsShortLabels = void 0;
|
|
6
|
+
exports.validateField = exports.formatVehicleTireStr = exports.formatVehicleTire = exports.formatVehiclePlate = exports.isEmpty = exports.flexCenter = exports.flexEnd = exports.getApplicationSecondaryLabel = exports.getApplicationShortLabel = exports.capitalizeFirstLetter = exports.flexLeftRow = exports.getFrenchDayLabel = exports.getDayOfWeek = exports.findScheduleByDayOfWeek = exports.formatTime = exports.getFormattedIntervals = exports.getFormattedSchedule = exports.formatPhoneNumber = exports.getDayOfWeekIndex = exports.getDayOfWeekLabel = exports.FR_WEEK_DAYS = exports.isInvalidPhoneNumber = exports.isInvalidMobileNumber = exports.isSafariOniOS = exports.flexStart = exports.getApplicationsShortLabels = void 0;
|
|
7
7
|
var max_1 = __importDefault(require("libphonenumber-js/max"));
|
|
8
8
|
var Enums_1 = require("./Enums");
|
|
9
9
|
var getApplicationsShortLabels = function (applications) {
|
|
@@ -252,6 +252,27 @@ var getApplicationShortLabel = function (application) {
|
|
|
252
252
|
return "";
|
|
253
253
|
};
|
|
254
254
|
exports.getApplicationShortLabel = getApplicationShortLabel;
|
|
255
|
+
var getApplicationSecondaryLabel = function (secondaryApplication) {
|
|
256
|
+
switch (secondaryApplication) {
|
|
257
|
+
case Enums_1.SecondaryPartsApplicationType.HOOD:
|
|
258
|
+
return "Capot";
|
|
259
|
+
case Enums_1.SecondaryPartsApplicationType.ROOF:
|
|
260
|
+
return "Toit";
|
|
261
|
+
case Enums_1.SecondaryPartsApplicationType.DOOR:
|
|
262
|
+
return "Portière";
|
|
263
|
+
case Enums_1.SecondaryPartsApplicationType.TRUNK:
|
|
264
|
+
return "Coffre";
|
|
265
|
+
case Enums_1.SecondaryPartsApplicationType.FENDER:
|
|
266
|
+
return "Aile";
|
|
267
|
+
case Enums_1.SecondaryPartsApplicationType.JAMB:
|
|
268
|
+
return "Montant";
|
|
269
|
+
case Enums_1.SecondaryPartsApplicationType.UNDERBODY:
|
|
270
|
+
return "Bas de caisse";
|
|
271
|
+
case Enums_1.SecondaryPartsApplicationType.BUMPER:
|
|
272
|
+
return "Pare-chocs";
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
exports.getApplicationSecondaryLabel = getApplicationSecondaryLabel;
|
|
255
276
|
exports.flexEnd = {
|
|
256
277
|
display: "flex",
|
|
257
278
|
justifyContent: "end",
|
|
@@ -58,11 +58,10 @@ export default class Garage {
|
|
|
58
58
|
billingActive?: boolean;
|
|
59
59
|
billingToken?: string;
|
|
60
60
|
billingSimulationActive?: boolean;
|
|
61
|
-
demoBillingActive?: boolean;
|
|
62
61
|
appId?: number;
|
|
63
62
|
quoteRequestStart?: Date;
|
|
64
63
|
companyRegistrationNumber?: string;
|
|
65
64
|
establishmentRegistrationNumber?: string;
|
|
66
65
|
reopeningDate?: Date;
|
|
67
|
-
constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], dayPeriodFastServiceExcluded: boolean, loanerVehicleFastServiceExcluded: boolean, fastServiceThreshold: number, timezone: string, vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, customStyle?: string, subscription?: Subscription, partialWorkforce?: number, mailCustomization?: boolean, billingActive?: boolean, billingToken?: string, billingSimulationActive?: boolean, appId?: number, establishmentRegistrationNumber?: string, companyRegistrationNumber?: string, quoteRequestStart?: Date, reopeningDate?: Date
|
|
66
|
+
constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], dayPeriodFastServiceExcluded: boolean, loanerVehicleFastServiceExcluded: boolean, fastServiceThreshold: number, timezone: string, vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, customStyle?: string, subscription?: Subscription, partialWorkforce?: number, mailCustomization?: boolean, billingActive?: boolean, billingToken?: string, billingSimulationActive?: boolean, appId?: number, establishmentRegistrationNumber?: string, companyRegistrationNumber?: string, quoteRequestStart?: Date, reopeningDate?: Date);
|
|
68
67
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var Garage = /** @class */ (function () {
|
|
4
|
-
function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, billingSimulationActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, quoteRequestStart, reopeningDate
|
|
4
|
+
function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, billingSimulationActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, quoteRequestStart, reopeningDate) {
|
|
5
5
|
this.id = id;
|
|
6
6
|
this.adminId = adminId;
|
|
7
7
|
this.name = name;
|
|
@@ -35,7 +35,6 @@ var Garage = /** @class */ (function () {
|
|
|
35
35
|
this.companyRegistrationNumber = companyRegistrationNumber;
|
|
36
36
|
this.establishmentRegistrationNumber = establishmentRegistrationNumber;
|
|
37
37
|
this.reopeningDate = reopeningDate;
|
|
38
|
-
this.demoBillingActive = demoBillingActive;
|
|
39
38
|
}
|
|
40
39
|
return Garage;
|
|
41
40
|
}());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PartsApplicationType } from "../helpers/Enums";
|
|
1
|
+
import { PartsApplicationType, SecondaryPartsApplicationType } from "../helpers/Enums";
|
|
2
2
|
import Product from "./Product";
|
|
3
3
|
export default class Operation {
|
|
4
4
|
id: number;
|
|
@@ -7,5 +7,6 @@ export default class Operation {
|
|
|
7
7
|
description: string;
|
|
8
8
|
application?: PartsApplicationType;
|
|
9
9
|
products?: Product[];
|
|
10
|
-
|
|
10
|
+
secondaryApplication?: SecondaryPartsApplicationType;
|
|
11
|
+
constructor(id: number, code: string, name: string, description: string, application: PartsApplicationType, products: Product[], secondaryApplication?: SecondaryPartsApplicationType);
|
|
11
12
|
}
|