x25 17.0.2 → 17.0.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/Account/Load.js +6 -2
- package/Account/request.js +2 -2
- package/Async/InitModule.js +7 -1
- package/Async/RouteLoading.js +7 -3
- package/Async/index.js +7 -2
- package/Company/Load.js +10 -5
- package/Header/AccountOptionsContainer.js +8 -4
- package/Header/AdminSelectCompany.js +5 -1
- package/Header/ClientSelectCompany.js +5 -1
- package/Header/Header.js +10 -6
- package/Header/LogoutButton.js +6 -2
- package/Header/util.js +7 -3
- package/Inputs/Business/BankAccount.js +5 -1
- package/Inputs/Business/BankName.js +6 -2
- package/Inputs/Business/CifField.js +7 -3
- package/Inputs/Business/CifFieldContainer.js +6 -2
- package/Inputs/Business/Email.js +1 -1
- package/Inputs/Business/NidField.js +6 -2
- package/Inputs/CaptchaBox.js +8 -4
- package/Inputs/DateInput.js +5 -1
- package/Inputs/DateTemplate.js +5 -1
- package/Inputs/InputTemplate.js +1 -1
- package/Inputs/Selects/County.js +6 -4
- package/Inputs/Selects/Simple.js +5 -1
- package/Messages/Error.js +7 -3
- package/Messages/Loading.js +5 -1
- package/Modal/Delete.js +6 -4
- package/Payment/EstimatePrice/PayBox.js +4 -4
- package/Payment/Modal/BankTransfer.js +3 -3
- package/dev/ErrorBoundary.js +5 -1
- package/dev/TheError.js +1 -1
- package/dev/index.js +7 -1
- package/package.json +5 -5
- package/prod/SentryErrorBoundary.js +13 -21
- package/utility/index.js +0 -12
- package/utility/normalize.js +9 -3
- package/utility/others.js +17 -13
- package/utility/validation/common.js +24 -16
- package/utility/validation/index.js +7 -1
- package/words.js +122 -0
package/words.js
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var DateFormat = "DD.MM.YEAR",
|
|
7
|
+
words = {
|
|
8
|
+
PleaseWait: "Please wait...",
|
|
9
|
+
TryAgain: "Try again",
|
|
10
|
+
LoadingData: "Loading data...",
|
|
11
|
+
ThereWasAProblem: "There was a problem. Try again",
|
|
12
|
+
|
|
13
|
+
NoErrorPassed: "No ErrorBoundary passed to x25",
|
|
14
|
+
ItLoadsSlower: "It seems that it loads slower than usual. Please wait... ",
|
|
15
|
+
|
|
16
|
+
TryingToRecover: "Trying to recover...",
|
|
17
|
+
|
|
18
|
+
SomethingIsNotImmutable: "Something is not immutable. check console",
|
|
19
|
+
|
|
20
|
+
// header
|
|
21
|
+
ConnectionLost: "I lost the connection to server. Try again.",
|
|
22
|
+
Options: "Options",
|
|
23
|
+
TermsAndConditions: "Terms and conditions",
|
|
24
|
+
PrivacyPolicy: "Privacy Policy",
|
|
25
|
+
SelectCompany: "Select company",
|
|
26
|
+
Toggle: "Toggle",
|
|
27
|
+
Settings: "Settings",
|
|
28
|
+
RenewSubscription: "Renew subscription",
|
|
29
|
+
TheSubscriptionWillExpireIn: "The subscription will expire in",
|
|
30
|
+
SignOut: "Sing out",
|
|
31
|
+
NoOptions: "No options",
|
|
32
|
+
|
|
33
|
+
// inputs
|
|
34
|
+
BankAccount: "Bank Account",
|
|
35
|
+
BankName: "Bank Name",
|
|
36
|
+
FiscalID: "Fiscal ID",
|
|
37
|
+
GetDataFromInternet: "Getting the data from the Internet",
|
|
38
|
+
EnterAValidFiscalID: "Please type a valid fiscal ID",
|
|
39
|
+
PersonalID: "Personal ID",
|
|
40
|
+
County: "County",
|
|
41
|
+
Select: "Select",
|
|
42
|
+
|
|
43
|
+
CaptchaDescription: "The purpose of this check is to distinguish a person from a robot. \n This code usually appears when a feature in the application is overused",
|
|
44
|
+
|
|
45
|
+
CaptchaTypeNumbers: "Type numbers from the image below",
|
|
46
|
+
CaptchaVerify: "Verification",
|
|
47
|
+
DateFormat: DateFormat,
|
|
48
|
+
|
|
49
|
+
ErrorNeverExisted: "It may have been deleted or never existed",
|
|
50
|
+
ErrorConnection: "There seems to be a problem with your server or your internet connection\n has been interrupted.",
|
|
51
|
+
|
|
52
|
+
Sentry: {
|
|
53
|
+
TellUs: {
|
|
54
|
+
title: "It seems we have a problem",
|
|
55
|
+
subtitle: "Our team has been announced.",
|
|
56
|
+
subtitle2: "If you want to help us, tell us what happened below.\n It will help us a lot",
|
|
57
|
+
labelName: "Your name",
|
|
58
|
+
labelEmail: "Email",
|
|
59
|
+
labelComments: "What happened?",
|
|
60
|
+
labelClose: "Close",
|
|
61
|
+
labelSubmit: "Send",
|
|
62
|
+
errorGeneric: "An unknown error occurred while sending the report\n Please try again",
|
|
63
|
+
errorFormEntry: "Some fields were invalid. Please correct the errors and try again.",
|
|
64
|
+
successMessage: "Your feedback has been sent. Thanks!"
|
|
65
|
+
},
|
|
66
|
+
Message: "This message appears when the program failed and failed\n to recover. The administrator has been automatically notified about\n this problem. All we have to do is apologize.",
|
|
67
|
+
Button: "Tell us",
|
|
68
|
+
Hint: "Tip: Try refreshing the page - press the key"
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
// validation
|
|
72
|
+
PleaseSelect: "Please select",
|
|
73
|
+
EnterValidPersonalID: "Type a valid personal ID",
|
|
74
|
+
EnterValidFiscalID: "Type a valid fiscal ID",
|
|
75
|
+
EnterValidBankAccount: "Type a valid bank account",
|
|
76
|
+
EnterValidEmail: "Type a valid email",
|
|
77
|
+
EnterValidDate: "Type a valid date (" + DateFormat + ")",
|
|
78
|
+
NumberBetween: "between",
|
|
79
|
+
NumberAnd: "and",
|
|
80
|
+
NumberUpTo: "up to",
|
|
81
|
+
NumberGreaterThan: "grater than",
|
|
82
|
+
NumberMustBe: "Must be a number",
|
|
83
|
+
NumberInteger: "integer",
|
|
84
|
+
NumberFloat: "float",
|
|
85
|
+
Chars: "chars",
|
|
86
|
+
Has: "has",
|
|
87
|
+
TheField: "The field",
|
|
88
|
+
Has6Digits: "The code has 6 digits",
|
|
89
|
+
CodeNotValid: "The code is not valid",
|
|
90
|
+
AddARow: "Add at least a row",
|
|
91
|
+
|
|
92
|
+
message: {
|
|
93
|
+
failPerform: "Could not perform task",
|
|
94
|
+
confirmDelete: "I deleted successfully",
|
|
95
|
+
confirmAdd: "Successfully added",
|
|
96
|
+
confirmUpdate: "Updated data"
|
|
97
|
+
},
|
|
98
|
+
label: {
|
|
99
|
+
modify: "Modify",
|
|
100
|
+
add: "Add",
|
|
101
|
+
remove: "Delete",
|
|
102
|
+
confirmation: "Confirm",
|
|
103
|
+
cancel: "Cancel"
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
Month: {
|
|
107
|
+
0: "January",
|
|
108
|
+
1: "February",
|
|
109
|
+
2: "March",
|
|
110
|
+
3: "April",
|
|
111
|
+
4: "May",
|
|
112
|
+
5: "June",
|
|
113
|
+
6: "July",
|
|
114
|
+
7: "August",
|
|
115
|
+
8: "September",
|
|
116
|
+
9: "October",
|
|
117
|
+
10: "November",
|
|
118
|
+
11: "December"
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
exports.default = words;
|