iglooform 2.5.9 → 2.5.10
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/es/form/hstep/style/index.less +1 -6
- package/es/form/hsteps/index.js +13 -2
- package/es/form/hsteps/style/index.less +24 -2
- package/es/form/section/style/index.less +4 -0
- package/es/input/input-number.js +85 -1
- package/es/input/phone-number.js +80 -20
- package/es/locale/en-US/messages.json +4 -0
- package/es/locale/format-message.js +2 -2
- package/es/locale/id-ID/messages.json +13 -9
- package/es/locale/locale-provider.js +2 -2
- package/es/locale/th-TH/messages.json +13 -9
- package/es/locale/vi-VN/messages.json +13 -9
- package/es/locale/zh-CN/messages.json +13 -9
- package/es/locale/zh-TW/messages.json +4 -0
- package/es/types.d.ts +4 -0
- package/es/upload/style/index.less +2 -0
- package/lib/form/hstep/style/index.less +1 -6
- package/lib/form/hsteps/index.js +13 -2
- package/lib/form/hsteps/style/index.less +24 -2
- package/lib/form/section/style/index.less +4 -0
- package/lib/input/input-number.js +86 -1
- package/lib/input/phone-number.js +78 -18
- package/lib/locale/en-US/messages.json +4 -0
- package/lib/locale/format-message.js +2 -2
- package/lib/locale/id-ID/messages.json +13 -9
- package/lib/locale/locale-provider.js +2 -2
- package/lib/locale/th-TH/messages.json +13 -9
- package/lib/locale/vi-VN/messages.json +13 -9
- package/lib/locale/zh-CN/messages.json +13 -9
- package/lib/locale/zh-TW/messages.json +4 -0
- package/lib/types.d.ts +4 -0
- package/lib/upload/style/index.less +2 -0
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
.igloo-hstep-container {
|
|
48
48
|
width: 100%;
|
|
49
49
|
padding: 24px 16px;
|
|
50
|
+
margin-top: 0;
|
|
50
51
|
|
|
51
52
|
.igloo-hstep-content {
|
|
52
53
|
margin-top: 24px;
|
|
@@ -59,12 +60,6 @@
|
|
|
59
60
|
margin-left: 16px;
|
|
60
61
|
margin-right: 16px;
|
|
61
62
|
}
|
|
62
|
-
|
|
63
|
-
.igloo-hstep-label {
|
|
64
|
-
margin-bottom: 8px;
|
|
65
|
-
font-size: 16px;
|
|
66
|
-
line-height: 24px;
|
|
67
|
-
}
|
|
68
63
|
}
|
|
69
64
|
|
|
70
65
|
.igloo-hstep-button-container {
|
package/es/form/hsteps/index.js
CHANGED
|
@@ -234,6 +234,13 @@ var HSteps = function HSteps(_ref) {
|
|
|
234
234
|
'igloo-hsteps-bar-item': true,
|
|
235
235
|
'igloo-hsteps-bar-item-current': index === current
|
|
236
236
|
}),
|
|
237
|
+
style: {
|
|
238
|
+
cursor: index < current ? 'pointer' : 'default'
|
|
239
|
+
},
|
|
240
|
+
onClick: function onClick() {
|
|
241
|
+
if (index >= current) return;
|
|
242
|
+
setCurrent(index);
|
|
243
|
+
},
|
|
237
244
|
children: [index < current && _jsx(SuccessFilled, {
|
|
238
245
|
className: 'igloo-hsteps-bar-item-icon'
|
|
239
246
|
}), _jsx(Typography, {
|
|
@@ -279,6 +286,10 @@ var HSteps = function HSteps(_ref) {
|
|
|
279
286
|
children: [withReview && !md && _jsxs(Typography, {
|
|
280
287
|
className: "igloo-hstep-label",
|
|
281
288
|
level: "h3a",
|
|
289
|
+
style: {
|
|
290
|
+
display: 'flex',
|
|
291
|
+
justifyContent: 'space-between'
|
|
292
|
+
},
|
|
282
293
|
children: [_jsx("span", {
|
|
283
294
|
className: "igloo-hstep-label-text",
|
|
284
295
|
children: formatMessage({
|
|
@@ -302,8 +313,8 @@ var HSteps = function HSteps(_ref) {
|
|
|
302
313
|
}, (step === null || step === void 0 ? void 0 : step.key) || (step === null || step === void 0 ? void 0 : step.name));
|
|
303
314
|
}), _jsxs("div", {
|
|
304
315
|
className: "igloo-hsteps-confirmation",
|
|
305
|
-
children: [
|
|
306
|
-
level:
|
|
316
|
+
children: [_jsx(Typography, {
|
|
317
|
+
level: md ? 'h3a' : 'h4',
|
|
307
318
|
wrapElement: "div",
|
|
308
319
|
children: formatMessage({
|
|
309
320
|
id: 'Review and Submit'
|
|
@@ -55,8 +55,30 @@
|
|
|
55
55
|
.igloo-hsteps-content {
|
|
56
56
|
width: 100%;
|
|
57
57
|
|
|
58
|
-
.igloo-hsteps-confirmation {
|
|
59
|
-
|
|
58
|
+
.igloo-hsteps-confirmation-container {
|
|
59
|
+
background: #ffffff;
|
|
60
|
+
padding: 24px 16px;
|
|
61
|
+
|
|
62
|
+
.igloo-hsteps-confirmation {
|
|
63
|
+
padding: 16px;
|
|
64
|
+
margin-top: 8px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.igloo-hstep-container {
|
|
68
|
+
width: 100%;
|
|
69
|
+
padding: 16px;
|
|
70
|
+
border-radius: 10px;
|
|
71
|
+
|
|
72
|
+
&:not(:first-child) {
|
|
73
|
+
margin-top: 24px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.igloo-hstep-label {
|
|
77
|
+
margin-bottom: 8px;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
line-height: 24px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
60
82
|
}
|
|
61
83
|
}
|
|
62
84
|
|
package/es/input/input-number.js
CHANGED
|
@@ -10,6 +10,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import omit from 'omit.js';
|
|
12
12
|
import formMethods from '../utils/form-methods';
|
|
13
|
+
import { staticFormatMessage } from '../locale';
|
|
13
14
|
import './style/index.less';
|
|
14
15
|
|
|
15
16
|
var IglooInputNumber = function IglooInputNumber(props) {
|
|
@@ -39,6 +40,88 @@ var IglooInputNumber = function IglooInputNumber(props) {
|
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
IglooInputNumber.formItemPropsHandler = function (config) {
|
|
43
|
+
var length = config.length,
|
|
44
|
+
maxLength = config.maxLength,
|
|
45
|
+
minLength = config.minLength,
|
|
46
|
+
label = config.label,
|
|
47
|
+
idType = config.idType;
|
|
48
|
+
var rules = [];
|
|
49
|
+
|
|
50
|
+
if (length !== undefined) {
|
|
51
|
+
rules.push({
|
|
52
|
+
validator: function validator(_, value) {
|
|
53
|
+
if (value === undefined || value === null || String(value).length === length) return Promise.resolve();
|
|
54
|
+
return Promise.reject(staticFormatMessage({
|
|
55
|
+
id: '{label} must be {length} digits.',
|
|
56
|
+
values: {
|
|
57
|
+
length: length,
|
|
58
|
+
label: label
|
|
59
|
+
}
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (maxLength !== undefined && minLength !== undefined) {
|
|
66
|
+
rules.push({
|
|
67
|
+
validator: function validator(_, value) {
|
|
68
|
+
if (value === undefined || value === null || String(value).length >= minLength && String(value).length <= maxLength) return Promise.resolve();
|
|
69
|
+
return Promise.reject(staticFormatMessage({
|
|
70
|
+
id: '{label} must be {minLength} - {maxLength} digits.',
|
|
71
|
+
values: {
|
|
72
|
+
maxLength: maxLength,
|
|
73
|
+
minLength: minLength,
|
|
74
|
+
label: label
|
|
75
|
+
}
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (maxLength !== undefined && minLength === undefined) {
|
|
82
|
+
rules.push({
|
|
83
|
+
validator: function validator(_, value) {
|
|
84
|
+
if (value === undefined || value === null || String(value).length <= maxLength) return Promise.resolve();
|
|
85
|
+
return Promise.reject(staticFormatMessage({
|
|
86
|
+
id: '{label} must be less than {maxLength} digits.',
|
|
87
|
+
values: {
|
|
88
|
+
maxLength: maxLength,
|
|
89
|
+
label: label
|
|
90
|
+
}
|
|
91
|
+
}));
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (maxLength === undefined && minLength !== undefined) {
|
|
97
|
+
rules.push({
|
|
98
|
+
validator: function validator(_, value) {
|
|
99
|
+
if (value === undefined || value === null || String(value).length >= minLength) return Promise.resolve();
|
|
100
|
+
return Promise.reject(staticFormatMessage({
|
|
101
|
+
id: '{label} must be at least {minLength} digits.',
|
|
102
|
+
values: {
|
|
103
|
+
minLength: minLength,
|
|
104
|
+
label: label
|
|
105
|
+
}
|
|
106
|
+
}));
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (idType === 'KTP') {
|
|
112
|
+
rules.push({
|
|
113
|
+
validator: function validator(rule, value) {
|
|
114
|
+
if (!/^((1[1-9])|(21)|([37][1-6])|(5[1-4])|(6[1-5])|([8-9][1-2]))[0-9]{4}(([0-6][0-9])|(7[0-1]))((0[1-9])|(1[0-2]))[0-9]{6}$/.test(value)) {
|
|
115
|
+
return Promise.reject(staticFormatMessage({
|
|
116
|
+
id: 'Invalid KTP Number.'
|
|
117
|
+
}));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return Promise.resolve();
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
42
125
|
return {
|
|
43
126
|
getValueFromEvent: function getValueFromEvent(e) {
|
|
44
127
|
var value = e.target.value;
|
|
@@ -49,7 +132,8 @@ IglooInputNumber.formItemPropsHandler = function (config) {
|
|
|
49
132
|
}
|
|
50
133
|
|
|
51
134
|
return str ? parseFloat(str) : undefined;
|
|
52
|
-
}
|
|
135
|
+
},
|
|
136
|
+
rules: rules
|
|
53
137
|
};
|
|
54
138
|
};
|
|
55
139
|
|
package/es/input/phone-number.js
CHANGED
|
@@ -14,11 +14,11 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
15
|
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
-
import { useState,
|
|
17
|
+
import { useState, useEffect } from 'react';
|
|
18
18
|
import classnames from 'classnames';
|
|
19
19
|
import invariant from 'invariant';
|
|
20
20
|
import Select from '../select';
|
|
21
|
-
import { staticFormatMessage
|
|
21
|
+
import { staticFormatMessage as formatMessage } from '../locale';
|
|
22
22
|
import './style/index';
|
|
23
23
|
|
|
24
24
|
var PhoneNumber = function PhoneNumber(_ref) {
|
|
@@ -29,13 +29,6 @@ var PhoneNumber = function PhoneNumber(_ref) {
|
|
|
29
29
|
value = _ref.value,
|
|
30
30
|
formChangeProps = _ref.onChange,
|
|
31
31
|
style = _ref.style;
|
|
32
|
-
|
|
33
|
-
var _useContext = useContext(LocaleContext),
|
|
34
|
-
formatMessage = _useContext.formatMessage;
|
|
35
|
-
|
|
36
|
-
formatMessage({
|
|
37
|
-
id: 'Numbers only, please omit " " or "-".'
|
|
38
|
-
});
|
|
39
32
|
invariant(Array.isArray(areaCode) ? areaCode.length : true, 'areaCode cant be an empty array');
|
|
40
33
|
invariant(areaCode != undefined, 'areaCode must be set');
|
|
41
34
|
|
|
@@ -95,22 +88,89 @@ var PhoneNumber = function PhoneNumber(_ref) {
|
|
|
95
88
|
|
|
96
89
|
PhoneNumber.formItemPropsHandler = function (_ref2) {
|
|
97
90
|
var areaCode = _ref2.areaCode,
|
|
98
|
-
phoneNumber = _ref2.phoneNumber
|
|
91
|
+
phoneNumber = _ref2.phoneNumber,
|
|
92
|
+
length = _ref2.length,
|
|
93
|
+
maxLength = _ref2.maxLength,
|
|
94
|
+
minLength = _ref2.minLength,
|
|
95
|
+
label = _ref2.label;
|
|
96
|
+
var rules = [{
|
|
97
|
+
validator: function validator(rule, value) {
|
|
98
|
+
if (!value) return Promise.resolve();
|
|
99
|
+
var phoneNumber = value.phoneNumber;
|
|
100
|
+
var pattern = /^[0-9]*$/;
|
|
101
|
+
return pattern.test(phoneNumber) ? Promise.resolve() : Promise.reject(formatMessage({
|
|
102
|
+
id: 'Numbers only, please omit " " or "-".'
|
|
103
|
+
}));
|
|
104
|
+
}
|
|
105
|
+
}];
|
|
106
|
+
|
|
107
|
+
if (length !== undefined) {
|
|
108
|
+
rules.push({
|
|
109
|
+
validator: function validator(_, value) {
|
|
110
|
+
if (value === undefined || value === null || value.phoneNumber.length === length) return Promise.resolve();
|
|
111
|
+
return Promise.reject(formatMessage({
|
|
112
|
+
id: '{label} must be {length} digits.',
|
|
113
|
+
values: {
|
|
114
|
+
length: length,
|
|
115
|
+
label: label
|
|
116
|
+
}
|
|
117
|
+
}));
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (maxLength !== undefined && minLength !== undefined) {
|
|
123
|
+
rules.push({
|
|
124
|
+
validator: function validator(_, value) {
|
|
125
|
+
if (value === undefined || value === null || value.phoneNumber.length >= minLength && value.phoneNumber.length <= maxLength) return Promise.resolve();
|
|
126
|
+
return Promise.reject(formatMessage({
|
|
127
|
+
id: '{label} must be {minLength} - {maxLength} digits.',
|
|
128
|
+
values: {
|
|
129
|
+
maxLength: maxLength,
|
|
130
|
+
minLength: minLength,
|
|
131
|
+
label: label
|
|
132
|
+
}
|
|
133
|
+
}));
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (maxLength !== undefined && minLength === undefined) {
|
|
139
|
+
rules.push({
|
|
140
|
+
validator: function validator(_, value) {
|
|
141
|
+
if (value === undefined || value === null || value.phoneNumber.length <= maxLength) return Promise.resolve();
|
|
142
|
+
return Promise.reject(formatMessage({
|
|
143
|
+
id: '{label} must be less than {maxLength} digits.',
|
|
144
|
+
values: {
|
|
145
|
+
maxLength: maxLength,
|
|
146
|
+
label: label
|
|
147
|
+
}
|
|
148
|
+
}));
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (maxLength === undefined && minLength !== undefined) {
|
|
154
|
+
rules.push({
|
|
155
|
+
validator: function validator(_, value) {
|
|
156
|
+
if (value === undefined || value === null || value.phoneNumber.length >= minLength) return Promise.resolve();
|
|
157
|
+
return Promise.reject(formatMessage({
|
|
158
|
+
id: '{label} must be at least {minLength} digits.',
|
|
159
|
+
values: {
|
|
160
|
+
minLength: minLength,
|
|
161
|
+
label: label
|
|
162
|
+
}
|
|
163
|
+
}));
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
|
|
99
168
|
return {
|
|
100
169
|
initialValue: phoneNumber ? {
|
|
101
170
|
areaCode: Array.isArray(areaCode) ? areaCode[0] : areaCode,
|
|
102
171
|
phoneNumber: phoneNumber
|
|
103
172
|
} : undefined,
|
|
104
|
-
rules:
|
|
105
|
-
validator: function validator(rule, value) {
|
|
106
|
-
if (!value) return Promise.resolve();
|
|
107
|
-
var phoneNumber = value.phoneNumber;
|
|
108
|
-
var pattern = /^[0-9]*$/;
|
|
109
|
-
return pattern.test(phoneNumber) ? Promise.resolve() : Promise.reject(staticFormatMessage({
|
|
110
|
-
id: 'Numbers only, please omit " " or "-".'
|
|
111
|
-
}));
|
|
112
|
-
}
|
|
113
|
-
}],
|
|
173
|
+
rules: rules,
|
|
114
174
|
previewFormater: function previewFormater(_ref3) {
|
|
115
175
|
var areaCode = _ref3.areaCode,
|
|
116
176
|
phoneNumber = _ref3.phoneNumber;
|
|
@@ -86,5 +86,9 @@
|
|
|
86
86
|
"{count} files attached.": "{count} files attached.",
|
|
87
87
|
"{currentStep} of {allSteps}": "{currentStep} of {allSteps}",
|
|
88
88
|
"{doneNumber} files imported.": "{doneNumber} files imported.",
|
|
89
|
+
"{label} must be at least {minLength} digits.": "{label} must be at least {minLength} digits.",
|
|
90
|
+
"{label} must be less than {maxLength} digits.": "{label} must be less than {maxLength} digits.",
|
|
91
|
+
"{label} must be {length} digits.": "{label} must be {length} digits.",
|
|
92
|
+
"{label} must be {minLength} - {maxLength} digits.": "{label} must be {minLength} - {maxLength} digits.",
|
|
89
93
|
"{processingNumber} files in progress...": "{processingNumber} files in progress..."
|
|
90
94
|
}
|
|
@@ -9,10 +9,10 @@ var formatMessage = function formatMessage(props) {
|
|
|
9
9
|
values = props.values;
|
|
10
10
|
|
|
11
11
|
if (!values || !Object.keys(values).length) {
|
|
12
|
-
return locale[id];
|
|
12
|
+
return locale[id] || id;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
return locale[id].replaceAll(/\{(.+?)\}/g, function (_, name) {
|
|
15
|
+
return (locale[id] || id).replaceAll(/\{(.+?)\}/g, function (_, name) {
|
|
16
16
|
return values[name];
|
|
17
17
|
});
|
|
18
18
|
};
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"Edit": "Ubah",
|
|
27
27
|
"Error Report": "Laporan Kesalahan",
|
|
28
28
|
"Filter": "Saring",
|
|
29
|
-
"I agree to the Igloo": "",
|
|
29
|
+
"I agree to the Igloo": "Saya setuju dengan Igloo",
|
|
30
30
|
"I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.": "Saya menyatakan bahwa pernyataan yang saya jelaskan di atas adalah benar. Selanjutnya saya nyatakan bahwa kerugian yang terjadi merupakan ketidaksengajaan, dan terjadi tanpa perencanaan atau hasil musyawarah dengan pihak lain.",
|
|
31
31
|
"Import": "Impor",
|
|
32
32
|
"It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "Direkomendasikan untuk memilih tidak lebih dari {colMax} metrik untuk memastikan sudut pandang default dari setiap isi kolom.",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"No preview for this file. Only support image, video or PDF file.": "Tidak ada pratinjau untuk file ini. Hanya mendukung file gambar, video atau PDF.",
|
|
39
39
|
"Numbers only, please omit \" \" or \"-\".": "Angka saja, harap hilangkan \" \" atau \"-\".",
|
|
40
40
|
"OK": "oke",
|
|
41
|
-
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "",
|
|
41
|
+
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "Setelah Anda puas dengan hal di atas, dan Anda telah mencentang kotak di bawah, silakan lanjutkan dan kirimkan aktivasi Anda.",
|
|
42
42
|
"Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "Jika Anda puas dengan apa yang telah disampaikan, dan Anda telah memeriksa deklarasi tersebut, silakan lanjutkan dan ajukan klaim Anda.",
|
|
43
43
|
"Optional": "Pilihan",
|
|
44
44
|
"Other Reason": "Alasan lain",
|
|
45
45
|
"Please enter a valid date.": "Silakan tulis tanggal valid",
|
|
46
46
|
"Please enter a valid time.": "Harap masukkan waktu yang valid",
|
|
47
|
-
"Please input a date after {date}": "",
|
|
48
|
-
"Please input a date before {date}": "",
|
|
49
|
-
"Please read and agree to Igloo Terms of Use and Privacy Policy": "",
|
|
47
|
+
"Please input a date after {date}": "Harap masukkan tanggal setelah {date}",
|
|
48
|
+
"Please input a date before {date}": "Harap masukkan tanggal sebelum {date}",
|
|
49
|
+
"Please read and agree to Igloo Terms of Use and Privacy Policy": "Harap baca dan setujui Persyaratan Penggunaan dan Kebijakan Privasi Igloo",
|
|
50
50
|
"Please select": "Silahkan pilih",
|
|
51
51
|
"Please select a file type": "Silakan pilih tipe dokumen",
|
|
52
52
|
"Please take a moment to review what you’ve told us above.": "Mohon luangkan waktu sejenak untuk meninjau ulang seluruh data yang Anda telah sampaikan sebelumnya .",
|
|
53
53
|
"Previous": "Sebelumnya",
|
|
54
|
-
"Privacy Policy": "",
|
|
54
|
+
"Privacy Policy": "Kebijakan pribadi",
|
|
55
55
|
"Processing": "Sedang diproses",
|
|
56
56
|
"Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "Perkembangan terkait proses belum dapat diperbarui saat ini. Jangan khawatir! Semua data Anda masih dalam proses .",
|
|
57
57
|
"Quantity of files should be less than {limit}": "Jumlah dokumen tidak bisa lebih dari {limit}",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"Reset All Filters": "Setel ulang filter",
|
|
63
63
|
"Result": "Hasil",
|
|
64
64
|
"Result: Success {success_num}; Error {fail_num}": "Hasil: Sukses {success_num}; Kesalahan {fail_num}",
|
|
65
|
-
"Review and Submit": "",
|
|
65
|
+
"Review and Submit": "Tinjau dan Kirim",
|
|
66
66
|
"Rows per page": "Baris per halaman",
|
|
67
67
|
"Search": "Mencari",
|
|
68
68
|
"Searching...": "Mencari...",
|
|
69
69
|
"Select All": "Pilih Semua",
|
|
70
70
|
"Send OTP": "Kirim OTP",
|
|
71
71
|
"Submit": "Ajukan",
|
|
72
|
-
"Terms of Use": "",
|
|
72
|
+
"Terms of Use": "Syarat Penggunaan",
|
|
73
73
|
"The file type is not supported.": "Jenis file tidak didukung.",
|
|
74
74
|
"There are no options available currently": "Tidak ada opsi yang tersedia saat ini",
|
|
75
75
|
"This Month": "Bulan ini",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"Uploading": "Mengunggah",
|
|
78
78
|
"We support CSV or XLSX files (less than 20M each).": "Kami mendukung file CSV atau XLSX (Ukuran maksimal 20 MB) .",
|
|
79
79
|
"Yes, Close": "Ya, Tutup",
|
|
80
|
-
"and": "",
|
|
80
|
+
"and": "dan",
|
|
81
81
|
"browse": "Telusuri",
|
|
82
82
|
"or": "atau",
|
|
83
83
|
"{beginIndex}-{endIndex} of {total}": "{beginIndex}-{endIndex} dari {total}",
|
|
@@ -86,5 +86,9 @@
|
|
|
86
86
|
"{count} files attached.": "{count} file terlampir.",
|
|
87
87
|
"{currentStep} of {allSteps}": "{currentStep} dari {allSteps}",
|
|
88
88
|
"{doneNumber} files imported.": "{doneNumber} data terunggah.",
|
|
89
|
+
"{label} must be at least {minLength} digits.": "{label} minimal harus {minLength} digit.",
|
|
90
|
+
"{label} must be less than {maxLength} digits.": "{label} harus kurang dari {maxLength} digit.",
|
|
91
|
+
"{label} must be {length} digits.": "{label} harus {length} digit.",
|
|
92
|
+
"{label} must be {minLength} - {maxLength} digits.": "{label} harus {minLength} - {maxLength} digit.",
|
|
89
93
|
"{processingNumber} files in progress...": "{processingNumber} data dalam proses..."
|
|
90
94
|
}
|
|
@@ -54,10 +54,10 @@ var LocaleProvider = function LocaleProvider(_ref) {
|
|
|
54
54
|
values = _ref2.values;
|
|
55
55
|
|
|
56
56
|
if (!values || !Object.keys(values).length) {
|
|
57
|
-
return locale[id];
|
|
57
|
+
return locale[id] || id;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
return locale[id].replaceAll(/\{(.+?)\}/g, function (_, name) {
|
|
60
|
+
return (locale[id] || id).replaceAll(/\{(.+?)\}/g, function (_, name) {
|
|
61
61
|
return values[name];
|
|
62
62
|
});
|
|
63
63
|
};
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"Edit": "แก้ไข",
|
|
27
27
|
"Error Report": "รายงานข้อผิดพลาด",
|
|
28
28
|
"Filter": "กรอง",
|
|
29
|
-
"I agree to the Igloo": "",
|
|
29
|
+
"I agree to the Igloo": "ฉันเห็นด้วยกับกระท่อมน้ำแข็ง",
|
|
30
30
|
"I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.": "ข้าพเจ้ายืนยันว่าข้อความที่ข้าพเจ้าได้อธิบายข้างต้นนั้นเป็นความจริง และยืนยันว่าความเสียหายที่เกิดขึ้นนั้นเกิดจากอุบัติเหตุ ปราศจากการวางแผน หรือ การเห็นพ้องร่วมกันกับฝ่ายอื่น",
|
|
31
31
|
"Import": "นำเข้า",
|
|
32
32
|
"It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "แนะนำให้เลือกจำนวนไม่เกิน {colMax} เพื่อให้แน่ใจว่ามองเห็นค่าเริ่มต้นของข้อมูลแต่ละคอลัมน์",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"No preview for this file. Only support image, video or PDF file.": "ไม่มีการแสดงตัวอย่างสำหรับไฟล์นี้ รองรับเฉพาะรูปภาพ, วิดีโอ หรือ ไฟล์ PDF",
|
|
39
39
|
"Numbers only, please omit \" \" or \"-\".": "ตัวเลขเท่านั้น โปรดเว้น \" \" หรือ \"-\"",
|
|
40
40
|
"OK": "ตกลง",
|
|
41
|
-
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "",
|
|
41
|
+
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "เมื่อคุณพอใจกับสิ่งด้านบนแล้ว และคุณได้ทำเครื่องหมายที่ช่องด้านล่างแล้ว โปรดดำเนินการต่อและส่งการเปิดใช้งานของคุณ",
|
|
42
42
|
"Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "หากตรวจสอบแล้วและต้องการยืนยันข้อมูลข้างต้น กรุณากดดำเนินการต่อและยืนยันการเคลมของคุณ",
|
|
43
43
|
"Optional": "ไม่จำเป็น",
|
|
44
44
|
"Other Reason": "เหตุผลอื่น",
|
|
45
45
|
"Please enter a valid date.": "กรุณากรอกวันที่ถูกต้อง",
|
|
46
46
|
"Please enter a valid time.": "กรุณากรอกเวลาที่ถูกต้อง",
|
|
47
|
-
"Please input a date after {date}": "",
|
|
48
|
-
"Please input a date before {date}": "",
|
|
49
|
-
"Please read and agree to Igloo Terms of Use and Privacy Policy": "",
|
|
47
|
+
"Please input a date after {date}": "กรุณาใส่วันที่หลัง {date}",
|
|
48
|
+
"Please input a date before {date}": "กรุณาใส่วันที่ก่อน {date}",
|
|
49
|
+
"Please read and agree to Igloo Terms of Use and Privacy Policy": "โปรดอ่านและยอมรับข้อกำหนดการใช้งานและนโยบายความเป็นส่วนตัวของ Igloo",
|
|
50
50
|
"Please select": "โปรดเลือก",
|
|
51
51
|
"Please select a file type": "โปรดเลือกประเภทไฟล์",
|
|
52
52
|
"Please take a moment to review what you’ve told us above.": "กรุณาอ่านทบทวนข้อมูลที่คุณกรอกก่อนกดยืนยัน",
|
|
53
53
|
"Previous": "ก่อนหน้านี้",
|
|
54
|
-
"Privacy Policy": "",
|
|
54
|
+
"Privacy Policy": "นโยบายความเป็นส่วนตัว",
|
|
55
55
|
"Processing": "กำลังประมวลผล",
|
|
56
56
|
"Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "ไม่สามารถอัปเดตการประมวลผลได้ในขณะนี้ ไม่ต้องกังวล! ไฟล์ของคุณทั้งหมดกำลังอยู่ระหว่างดำเนินการ",
|
|
57
57
|
"Quantity of files should be less than {limit}": "จำนวนไฟล์ควรน้อยกว่า {limit}",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"Reset All Filters": "รีเซทตัวกรอง",
|
|
63
63
|
"Result": "ผลลัพธ์",
|
|
64
64
|
"Result: Success {success_num}; Error {fail_num}": "ผลลัพธ์: สำเร็จ {success_num}; ข้อผิดพลาด {fail_num}",
|
|
65
|
-
"Review and Submit": "",
|
|
65
|
+
"Review and Submit": "ตรวจสอบและส่ง",
|
|
66
66
|
"Rows per page": "แถวต่อหน้า",
|
|
67
67
|
"Search": "ค้นหา",
|
|
68
68
|
"Searching...": "กำลังค้นหา...",
|
|
69
69
|
"Select All": "เลือกทั้งหมด",
|
|
70
70
|
"Send OTP": "ส่ง OTP",
|
|
71
71
|
"Submit": "ส่ง/ยืนยัน",
|
|
72
|
-
"Terms of Use": "",
|
|
72
|
+
"Terms of Use": "ข้อกำหนดการใช้งาน",
|
|
73
73
|
"The file type is not supported.": "ประเภทไฟล์ไม่รองรับ",
|
|
74
74
|
"There are no options available currently": "ไม่มีตัวเลือกในขณะนี้",
|
|
75
75
|
"This Month": "เดือนนี้",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"Uploading": "กำลังอัพโหลด",
|
|
78
78
|
"We support CSV or XLSX files (less than 20M each).": "เรารองรับ CSV หรือ XLSX ไฟล์ (แต่ละไฟล์ขนาดไฟล์ต้องไม่เกิน 20M)",
|
|
79
79
|
"Yes, Close": "ใช่, ปิด",
|
|
80
|
-
"and": "",
|
|
80
|
+
"and": "และ",
|
|
81
81
|
"browse": "ค้นหา",
|
|
82
82
|
"or": "หรือ",
|
|
83
83
|
"{beginIndex}-{endIndex} of {total}": "{beginIndex}-{endIndex} ของ {total}",
|
|
@@ -86,5 +86,9 @@
|
|
|
86
86
|
"{count} files attached.": "{count} ไฟล์ที่แนบมา",
|
|
87
87
|
"{currentStep} of {allSteps}": "{currentStep} จาก {allSteps}",
|
|
88
88
|
"{doneNumber} files imported.": "{doneNumber} ไฟล์นำเข้าเสร็จแล้ว",
|
|
89
|
+
"{label} must be at least {minLength} digits.": "{label} ต้องมีอย่างน้อย {minLength} หลัก",
|
|
90
|
+
"{label} must be less than {maxLength} digits.": "{label} ต้องน้อยกว่า {maxLength} หลัก",
|
|
91
|
+
"{label} must be {length} digits.": "{label} ต้องเป็น {length} หลัก",
|
|
92
|
+
"{label} must be {minLength} - {maxLength} digits.": "{label} ต้องเป็น {minLength} - {maxLength} หลัก",
|
|
89
93
|
"{processingNumber} files in progress...": "{processingNumber} ไฟล์กำลังดำเนินการ..."
|
|
90
94
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"Edit": "Sửa",
|
|
27
27
|
"Error Report": "Báo cáo lỗi",
|
|
28
28
|
"Filter": "Lọc",
|
|
29
|
-
"I agree to the Igloo": "",
|
|
29
|
+
"I agree to the Igloo": "Tôi đồng ý với Igloo",
|
|
30
30
|
"I declare that the statements I have described above are true. I further declare that the loss occured was accidental, without planning or consensus with other parties.": "Tôi tuyên bố rằng những điều tôi đã mô tả ở trên là đúng sự thật. Tôi tuyên bố thêm rằng tổn thất xảy ra là do ngẫu nhiên, không có kế hoạch hoặc sự đồng thuận với các bên khác.",
|
|
31
31
|
"Import": "Nhập",
|
|
32
32
|
"It is recommended to select no more than {colMax} metrics to ensure the default visibility of each column input.": "Vui lòng chọn không quá {colMax} cột.",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"No preview for this file. Only support image, video or PDF file.": "Không có bản xem trước cho tệp này. Chỉ hỗ trợ hình ảnh, video hoặc tệp PDF.",
|
|
39
39
|
"Numbers only, please omit \" \" or \"-\".": "Chỉ số, vui lòng bỏ qua \" \" hoặc \"-\".",
|
|
40
40
|
"OK": "Vâng",
|
|
41
|
-
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "",
|
|
41
|
+
"Once you’re happy with the above, and you’ve checked the box below, please go ahead and submit your activation.": "Khi bạn hài lòng với những điều trên và đã chọn hộp bên dưới, hãy tiếp tục và gửi kích hoạt của bạn.",
|
|
42
42
|
"Once you’re happy with the above, and you’ve checked the declaration, please go ahead and submit your claim.": "Vui lòng xác nhận và gửi yêu cầu bồi thường.",
|
|
43
43
|
"Optional": "Không bắt buộc",
|
|
44
44
|
"Other Reason": "Lý do khác",
|
|
45
45
|
"Please enter a valid date.": "Vui lòng nhập đúng ngày:",
|
|
46
46
|
"Please enter a valid time.": "Vui lòng nhập thời gian hợp lệ.",
|
|
47
|
-
"Please input a date after {date}": "",
|
|
48
|
-
"Please input a date before {date}": "",
|
|
49
|
-
"Please read and agree to Igloo Terms of Use and Privacy Policy": "",
|
|
47
|
+
"Please input a date after {date}": "Vui lòng nhập ngày sau {date}",
|
|
48
|
+
"Please input a date before {date}": "Vui lòng nhập ngày trước {date}",
|
|
49
|
+
"Please read and agree to Igloo Terms of Use and Privacy Policy": "Vui lòng đọc và đồng ý với Điều khoản sử dụng và Chính sách quyền riêng tư của Igloo",
|
|
50
50
|
"Please select": "Xin hãy lựa chọn",
|
|
51
51
|
"Please select a file type": "Vui lòng chọn loại tệp tin:",
|
|
52
52
|
"Please take a moment to review what you’ve told us above.": "Vui lòng kiểm tra lại thông tin đã nhập",
|
|
53
53
|
"Previous": "Trước",
|
|
54
|
-
"Privacy Policy": "",
|
|
54
|
+
"Privacy Policy": "Chính sách bảo mật",
|
|
55
55
|
"Processing": "Đang xử lý",
|
|
56
56
|
"Processing progress cannot be updated at the moment. Don’t worry! All your file data are still in progress.": "Dữ liệu chưa được cập nhật và đang trong quá trình xử lý.",
|
|
57
57
|
"Quantity of files should be less than {limit}": "Số lượng tệp tin không vượt quá {limit}",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"Reset All Filters": "Xóa lọc",
|
|
63
63
|
"Result": "Kết quả",
|
|
64
64
|
"Result: Success {success_num}; Error {fail_num}": "Kết quả: sự thành công {success_num}; lỗi {fail_num}",
|
|
65
|
-
"Review and Submit": "",
|
|
65
|
+
"Review and Submit": "Xem lại và gửi",
|
|
66
66
|
"Rows per page": "Dòng trên trang",
|
|
67
67
|
"Search": "Tìm kiếm",
|
|
68
68
|
"Searching...": "Đang tìm kiếm...",
|
|
69
69
|
"Select All": "Chọn tất cả",
|
|
70
70
|
"Send OTP": "Gửi OTP",
|
|
71
71
|
"Submit": "Gửi",
|
|
72
|
-
"Terms of Use": "",
|
|
72
|
+
"Terms of Use": "Điều khoản sử dụng",
|
|
73
73
|
"The file type is not supported.": "Loại tệp không được hỗ trợ.",
|
|
74
74
|
"There are no options available currently": "Hiện tại không có tùy chọn nào",
|
|
75
75
|
"This Month": "Tháng này",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"Uploading": "Đang tải lên",
|
|
78
78
|
"We support CSV or XLSX files (less than 20M each).": "Hỗ trợ .CSV hoặc .XLSX (file nhỏ hơn 20MB)",
|
|
79
79
|
"Yes, Close": "Đóng",
|
|
80
|
-
"and": "",
|
|
80
|
+
"and": "và",
|
|
81
81
|
"browse": "duyệt",
|
|
82
82
|
"or": "hoặc",
|
|
83
83
|
"{beginIndex}-{endIndex} of {total}": "{beginIndex}-{endIndex} trên {total}",
|
|
@@ -86,5 +86,9 @@
|
|
|
86
86
|
"{count} files attached.": "{count} tập tin đính kèm.",
|
|
87
87
|
"{currentStep} of {allSteps}": "{currentStep} trong {allSteps}",
|
|
88
88
|
"{doneNumber} files imported.": "{doneNumber} tệp đã được nhập.",
|
|
89
|
+
"{label} must be at least {minLength} digits.": "{label} phải có ít nhất {minLength} chữ số.",
|
|
90
|
+
"{label} must be less than {maxLength} digits.": "{label} phải có ít hơn {maxLength} chữ số.",
|
|
91
|
+
"{label} must be {length} digits.": "{label} phải là {length} chữ số.",
|
|
92
|
+
"{label} must be {minLength} - {maxLength} digits.": "{label} phải là {minLength} - {maxLength} chữ số.",
|
|
89
93
|
"{processingNumber} files in progress...": "{processingNumber} đang được xử lý..."
|
|
90
94
|
}
|