@inntechcorp/it-design 2.2.62 → 2.2.63
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/calendar/index.d.ts +2 -2
- package/dist/calendar/styled.d.ts +3 -1
- package/dist/datepicker/styled.d.ts +2 -2
- package/dist/enums/enum.d.ts +4 -0
- package/dist/helpers/datetime/FormatDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDate.d.ts +0 -1
- package/dist/helpers/datetime/FormatSimpleDateTime.d.ts +0 -1
- package/dist/helpers/datetime/FormatTime.d.ts +2 -2
- package/dist/helpers/datetime/dayjsSetup.d.ts +2 -0
- package/dist/hooks/useConnectionStatus.d.ts +3 -2
- package/dist/index.cjs.js +504 -475
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +15 -11
- package/dist/index.esm.js +503 -474
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/itd.json +223 -224
- package/dist/types/CalendarProps.d.ts +4 -4
- package/dist/types/DatePickerProps.d.ts +2 -2
- package/package.json +2 -3
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"weekdaysLong":[
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
3
|
+
"Sunday",
|
|
4
|
+
"Monday",
|
|
5
|
+
"Tuesday",
|
|
6
|
+
"Wednesday",
|
|
7
|
+
"Thursday",
|
|
8
|
+
"Friday",
|
|
9
|
+
"Saturday"
|
|
10
10
|
],
|
|
11
11
|
"weekdaysShort":[
|
|
12
|
-
"
|
|
12
|
+
"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"
|
|
13
13
|
],
|
|
14
14
|
"months":[
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
15
|
+
"January",
|
|
16
|
+
"February",
|
|
17
|
+
"March",
|
|
18
|
+
"April",
|
|
19
|
+
"May",
|
|
20
|
+
"June",
|
|
21
|
+
"July",
|
|
22
|
+
"August",
|
|
23
|
+
"September",
|
|
24
|
+
"October",
|
|
25
|
+
"November",
|
|
26
|
+
"December"
|
|
27
27
|
],
|
|
28
|
-
"firstDay":
|
|
29
|
-
"format": "DD/
|
|
28
|
+
"firstDay": 0,
|
|
29
|
+
"format": "MM/DD/YYYY"
|
|
30
30
|
}
|
package/dist/locales/itd.json
CHANGED
|
@@ -1,307 +1,306 @@
|
|
|
1
1
|
{
|
|
2
|
-
"success": "
|
|
3
|
-
"error": "
|
|
2
|
+
"success": "Success",
|
|
3
|
+
"error": "Error",
|
|
4
4
|
"table": {
|
|
5
|
-
"noData": "
|
|
5
|
+
"noData": "No Data"
|
|
6
6
|
},
|
|
7
7
|
"placeholders": {
|
|
8
|
-
"username": "
|
|
9
|
-
"email": "E-
|
|
10
|
-
"password": "
|
|
11
|
-
"confirmPassword": "
|
|
12
|
-
"typeYourNoteHere": "
|
|
13
|
-
"selectGender": "
|
|
14
|
-
"selectLanguage": "
|
|
15
|
-
"selectCountry": "
|
|
16
|
-
"birthday": "
|
|
17
|
-
"multipleSelection": "
|
|
8
|
+
"username": "Username",
|
|
9
|
+
"email": "E-Mail",
|
|
10
|
+
"password": "Password",
|
|
11
|
+
"confirmPassword": "Confirm password",
|
|
12
|
+
"typeYourNoteHere": "Type your note here",
|
|
13
|
+
"selectGender": "Select Gender",
|
|
14
|
+
"selectLanguage": "Select Language",
|
|
15
|
+
"selectCountry": "Select Country",
|
|
16
|
+
"birthday": "Birthday",
|
|
17
|
+
"multipleSelection": "Selected ({{- count}})"
|
|
18
18
|
},
|
|
19
19
|
"options": {
|
|
20
|
-
"all": "
|
|
21
|
-
"male": "
|
|
22
|
-
"female": "
|
|
20
|
+
"all": "All",
|
|
21
|
+
"male": "Male",
|
|
22
|
+
"female": "Female",
|
|
23
23
|
"languages": {
|
|
24
|
-
"turkish": "
|
|
25
|
-
"english": "
|
|
24
|
+
"turkish": "Turkish",
|
|
25
|
+
"english": "English"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"buttons": {
|
|
29
|
-
"submit": "
|
|
30
|
-
"reset": "
|
|
29
|
+
"submit": "Submit",
|
|
30
|
+
"reset": "Reset"
|
|
31
31
|
},
|
|
32
32
|
"errors": {
|
|
33
|
-
"required": "
|
|
34
|
-
"minLength": "
|
|
35
|
-
"maxLength": "
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"fieldMustBeDifferent": "Bu alan şunlarla aynı olmamalıdır: {{- fields}}"
|
|
33
|
+
"required": "This field is required!",
|
|
34
|
+
"minLength": "Should contain at least {{- length}} characters",
|
|
35
|
+
"maxLength": "Is too long. Max size is {{- length}}",
|
|
36
|
+
"passwordRule": "Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",
|
|
37
|
+
"invalidEmailAddress": "Invalid email address",
|
|
38
|
+
"passwordsDontMatch": "The two passwords that you entered do not match!",
|
|
39
|
+
"usernameRule": "Only English letters, digits and symbols (-_.). No space is allowed",
|
|
40
|
+
"wrongTCIdentity": "Wrong TC Identity Number",
|
|
41
|
+
"fieldMustBeTheSame": "This field must be the same as: {{- fields}}",
|
|
42
|
+
"siteUsernameRule": "Only English lowercase letters, digits and symbols (-_.). No space is allowed, no uppercase letters are allowed",
|
|
43
|
+
"adminUsernameRule": "Only English letters and digits. No symbols (-_. vs) and no space is allowed",
|
|
44
|
+
"invalidURL": "Invalid URL",
|
|
45
|
+
"fieldMustBeDifferent": "This field must be different from: {{- fields}}"
|
|
47
46
|
},
|
|
48
47
|
"uploader": {
|
|
49
|
-
"header": "
|
|
50
|
-
"hint": "
|
|
51
|
-
"fileUploading": "
|
|
52
|
-
"info": "
|
|
53
|
-
"delete": "
|
|
54
|
-
"preview": "
|
|
55
|
-
"error": "
|
|
56
|
-
"fileFormatError": "
|
|
57
|
-
"fileSizeError": "
|
|
58
|
-
"fileUploadSuccess": "
|
|
59
|
-
"fileUploadFailed": "
|
|
60
|
-
"removeFileSuccess": "
|
|
61
|
-
"browserDoesntSupportDND": "
|
|
62
|
-
"calculating": "
|
|
63
|
-
"removeFile": "
|
|
64
|
-
"areYouSureToDeleteThisFile": "
|
|
65
|
-
"yes": "
|
|
66
|
-
"no": "
|
|
48
|
+
"header": "Drag and drop an file",
|
|
49
|
+
"hint": "or Browse to choose a file",
|
|
50
|
+
"fileUploading": "File uploading...",
|
|
51
|
+
"info": "Total: {{- total}} - {{- estimated}} s remaining.",
|
|
52
|
+
"delete": "Delete",
|
|
53
|
+
"preview": "Preview",
|
|
54
|
+
"error": "Error",
|
|
55
|
+
"fileFormatError": "You can only upload {{fileFormat}} file",
|
|
56
|
+
"fileSizeError": "File must smaller than {{fileSize}}",
|
|
57
|
+
"fileUploadSuccess": "File successfully uploaded.",
|
|
58
|
+
"fileUploadFailed": "File upload failed!",
|
|
59
|
+
"removeFileSuccess": "File successfully delete!",
|
|
60
|
+
"browserDoesntSupportDND": "Browser doesn't support drag and drop!",
|
|
61
|
+
"calculating": "Calculating...",
|
|
62
|
+
"removeFile": "Remove File",
|
|
63
|
+
"areYouSureToDeleteThisFile": "Are you sure to delete this file?",
|
|
64
|
+
"yes": "Yes",
|
|
65
|
+
"no": "No"
|
|
67
66
|
},
|
|
68
67
|
"results": {
|
|
69
68
|
"authentication": {
|
|
70
|
-
"title": "
|
|
71
|
-
"subtitle": "
|
|
72
|
-
"button": "
|
|
69
|
+
"title": "You Need To Sign In",
|
|
70
|
+
"subtitle": "You need to login to access this page. Please login by clicking the button below.",
|
|
71
|
+
"button": "LOGIN"
|
|
73
72
|
}
|
|
74
73
|
},
|
|
75
74
|
"currencies": {
|
|
76
|
-
"TRY": "
|
|
75
|
+
"TRY": "Turkish Lira",
|
|
77
76
|
"EUR": "Euro",
|
|
78
|
-
"USD": "
|
|
77
|
+
"USD": "Dollar"
|
|
79
78
|
},
|
|
80
79
|
"countries": {
|
|
81
|
-
"af": "
|
|
82
|
-
"al": "
|
|
83
|
-
"dz": "
|
|
80
|
+
"af": "Afghanistan",
|
|
81
|
+
"al": "Albania",
|
|
82
|
+
"dz": "Algeria",
|
|
84
83
|
"ad": "Andorra",
|
|
85
84
|
"ao": "Angola",
|
|
86
|
-
"ag": "Antigua
|
|
87
|
-
"ar": "
|
|
88
|
-
"am": "
|
|
89
|
-
"au": "
|
|
90
|
-
"at": "
|
|
91
|
-
"az": "
|
|
92
|
-
"bs": "
|
|
93
|
-
"bh": "
|
|
94
|
-
"bd": "
|
|
85
|
+
"ag": "Antigua and Barbuda",
|
|
86
|
+
"ar": "Argentina",
|
|
87
|
+
"am": "Armenia",
|
|
88
|
+
"au": "Australia",
|
|
89
|
+
"at": "Austria",
|
|
90
|
+
"az": "Azerbaijan",
|
|
91
|
+
"bs": "Bahamas",
|
|
92
|
+
"bh": "Bahrain",
|
|
93
|
+
"bd": "Bangladesh",
|
|
95
94
|
"bb": "Barbados",
|
|
96
|
-
"by": "
|
|
97
|
-
"be": "
|
|
95
|
+
"by": "Belarus",
|
|
96
|
+
"be": "Belgium",
|
|
98
97
|
"bz": "Belize",
|
|
99
98
|
"bj": "Benin",
|
|
100
99
|
"bt": "Bhutan",
|
|
101
|
-
"bo": "
|
|
102
|
-
"ba": "
|
|
103
|
-
"bw": "
|
|
104
|
-
"br": "
|
|
105
|
-
"bn": "Brunei",
|
|
106
|
-
"bg": "
|
|
100
|
+
"bo": "Bolivia",
|
|
101
|
+
"ba": "Bosnia and Herzegovina",
|
|
102
|
+
"bw": "Botswana",
|
|
103
|
+
"br": "Brazil",
|
|
104
|
+
"bn": "Brunei Darussalam",
|
|
105
|
+
"bg": "Bulgaria",
|
|
107
106
|
"bf": "Burkina Faso",
|
|
108
107
|
"bi": "Burundi",
|
|
109
|
-
"cv": "
|
|
110
|
-
"kh": "
|
|
111
|
-
"cm": "
|
|
112
|
-
"ca": "
|
|
113
|
-
"cf": "
|
|
114
|
-
"td": "
|
|
115
|
-
"cl": "
|
|
116
|
-
"cn": "
|
|
117
|
-
"co": "
|
|
118
|
-
"km": "
|
|
119
|
-
"cg": "
|
|
120
|
-
"cd": "
|
|
121
|
-
"cr": "
|
|
122
|
-
"ci": "
|
|
123
|
-
"hr": "
|
|
124
|
-
"cu": "
|
|
125
|
-
"cw": "
|
|
126
|
-
"cy": "
|
|
127
|
-
"cz": "
|
|
128
|
-
"dk": "
|
|
129
|
-
"dj": "
|
|
130
|
-
"dm": "
|
|
131
|
-
"do": "
|
|
132
|
-
"ec": "
|
|
133
|
-
"eg": "
|
|
108
|
+
"cv": "Cabo Verde",
|
|
109
|
+
"kh": "Cambodia",
|
|
110
|
+
"cm": "Cameroon",
|
|
111
|
+
"ca": "Canada",
|
|
112
|
+
"cf": "Central African Republic",
|
|
113
|
+
"td": "Chad",
|
|
114
|
+
"cl": "Chile",
|
|
115
|
+
"cn": "China",
|
|
116
|
+
"co": "Colombia",
|
|
117
|
+
"km": "Comoros",
|
|
118
|
+
"cg": "Congo",
|
|
119
|
+
"cd": "Congo, Democratic",
|
|
120
|
+
"cr": "Costa Rica",
|
|
121
|
+
"ci": "Côte d'Ivoire",
|
|
122
|
+
"hr": "Croatia",
|
|
123
|
+
"cu": "Cuba",
|
|
124
|
+
"cw": "Curacao",
|
|
125
|
+
"cy": "Cyprus",
|
|
126
|
+
"cz": "Czechia",
|
|
127
|
+
"dk": "Denmark",
|
|
128
|
+
"dj": "Djibouti",
|
|
129
|
+
"dm": "Dominica",
|
|
130
|
+
"do": "Dominican Republic",
|
|
131
|
+
"ec": "Ecuador",
|
|
132
|
+
"eg": "Egypt",
|
|
134
133
|
"sv": "El Salvador",
|
|
135
|
-
"gq": "
|
|
136
|
-
"er": "
|
|
137
|
-
"ee": "
|
|
138
|
-
"sz": "
|
|
139
|
-
"et": "
|
|
134
|
+
"gq": "Equatorial Guinea",
|
|
135
|
+
"er": "Eritrea",
|
|
136
|
+
"ee": "Estonia",
|
|
137
|
+
"sz": "Eswatini",
|
|
138
|
+
"et": "Ethiopia",
|
|
140
139
|
"fj": "Fiji",
|
|
141
|
-
"fi": "
|
|
142
|
-
"fr": "
|
|
140
|
+
"fi": "Finland",
|
|
141
|
+
"fr": "France",
|
|
143
142
|
"ga": "Gabon",
|
|
144
143
|
"gm": "Gambia",
|
|
145
|
-
"ge": "
|
|
146
|
-
"de": "
|
|
147
|
-
"gh": "
|
|
148
|
-
"gr": "
|
|
144
|
+
"ge": "Georgia",
|
|
145
|
+
"de": "Germany",
|
|
146
|
+
"gh": "Ghana",
|
|
147
|
+
"gr": "Greece",
|
|
149
148
|
"gd": "Grenada",
|
|
150
149
|
"gt": "Guatemala",
|
|
151
|
-
"gn": "
|
|
150
|
+
"gn": "Guinea",
|
|
152
151
|
"gw": "Guinea-Bissau",
|
|
153
152
|
"gy": "Guyana",
|
|
154
153
|
"ht": "Haiti",
|
|
155
154
|
"hn": "Honduras",
|
|
156
|
-
"hu": "
|
|
157
|
-
"is": "
|
|
158
|
-
"in": "
|
|
159
|
-
"id": "
|
|
160
|
-
"ir": "
|
|
161
|
-
"iq": "
|
|
155
|
+
"hu": "Hungary",
|
|
156
|
+
"is": "Iceland",
|
|
157
|
+
"in": "India",
|
|
158
|
+
"id": "Indonesia",
|
|
159
|
+
"ir": "Iran",
|
|
160
|
+
"iq": "Iraq",
|
|
162
161
|
"ie": "Ireland",
|
|
163
|
-
"il": "
|
|
164
|
-
"it": "
|
|
165
|
-
"jm": "
|
|
166
|
-
"jp": "
|
|
167
|
-
"jo": "
|
|
168
|
-
"kz": "
|
|
162
|
+
"il": "Israel",
|
|
163
|
+
"it": "Italy",
|
|
164
|
+
"jm": "Jamaica",
|
|
165
|
+
"jp": "Japan",
|
|
166
|
+
"jo": "Jordan",
|
|
167
|
+
"kz": "Kazakhstan",
|
|
169
168
|
"ke": "Kenya",
|
|
170
169
|
"ki": "Kiribati",
|
|
171
|
-
"kp": "
|
|
172
|
-
"kr": "
|
|
173
|
-
"kw": "
|
|
174
|
-
"kg": "
|
|
175
|
-
"la": "
|
|
176
|
-
"lv": "
|
|
177
|
-
"lb": "
|
|
170
|
+
"kp": "North Korea",
|
|
171
|
+
"kr": "South Korea",
|
|
172
|
+
"kw": "Kuwait",
|
|
173
|
+
"kg": "Kyrgyzstan",
|
|
174
|
+
"la": "Lao People's",
|
|
175
|
+
"lv": "Latvia",
|
|
176
|
+
"lb": "Lebanon",
|
|
178
177
|
"ls": "Lesotho",
|
|
179
|
-
"lr": "
|
|
178
|
+
"lr": "Liberia",
|
|
180
179
|
"ly": "Libya",
|
|
181
|
-
"li": "
|
|
182
|
-
"lt": "
|
|
183
|
-
"lu": "
|
|
184
|
-
"mg": "
|
|
185
|
-
"mw": "
|
|
186
|
-
"my": "
|
|
187
|
-
"mv": "
|
|
180
|
+
"li": "Liechtenstein",
|
|
181
|
+
"lt": "Lithuania",
|
|
182
|
+
"lu": "Luxembourg",
|
|
183
|
+
"mg": "Madagascar",
|
|
184
|
+
"mw": "Malawi",
|
|
185
|
+
"my": "Malaysia",
|
|
186
|
+
"mv": "Maldives",
|
|
188
187
|
"ml": "Mali",
|
|
189
188
|
"mt": "Malta",
|
|
190
|
-
"mh": "Marshall
|
|
191
|
-
"mr": "
|
|
189
|
+
"mh": "Marshall Islands",
|
|
190
|
+
"mr": "Mauritania",
|
|
192
191
|
"mu": "Mauritius",
|
|
193
|
-
"mx": "
|
|
194
|
-
"fm": "
|
|
195
|
-
"md": "Moldova",
|
|
196
|
-
"mc": "
|
|
197
|
-
"mn": "
|
|
198
|
-
"me": "
|
|
199
|
-
"ma": "
|
|
200
|
-
"mz": "
|
|
192
|
+
"mx": "Mexico",
|
|
193
|
+
"fm": "Micronesia",
|
|
194
|
+
"md": "Moldova, Republic of",
|
|
195
|
+
"mc": "Monaco",
|
|
196
|
+
"mn": "Mongolia",
|
|
197
|
+
"me": "Montenegro",
|
|
198
|
+
"ma": "Morocco",
|
|
199
|
+
"mz": "Mozambique",
|
|
201
200
|
"mm": "Myanmar",
|
|
202
|
-
"na": "
|
|
201
|
+
"na": "Namibia",
|
|
203
202
|
"nr": "Nauru",
|
|
204
203
|
"np": "Nepal",
|
|
205
|
-
"nl": "
|
|
206
|
-
"nz": "
|
|
207
|
-
"ni": "
|
|
208
|
-
"ne": "
|
|
209
|
-
"ng": "
|
|
210
|
-
"mk": "
|
|
211
|
-
"no": "
|
|
212
|
-
"om": "
|
|
204
|
+
"nl": "Netherlands",
|
|
205
|
+
"nz": "New Zealand",
|
|
206
|
+
"ni": "Nicaragua",
|
|
207
|
+
"ne": "Niger",
|
|
208
|
+
"ng": "Nigeria",
|
|
209
|
+
"mk": "North Macedonia",
|
|
210
|
+
"no": "Norway",
|
|
211
|
+
"om": "Oman",
|
|
213
212
|
"pk": "Pakistan",
|
|
214
213
|
"pw": "Palau",
|
|
215
214
|
"pa": "Panama",
|
|
216
|
-
"pg": "Papua
|
|
215
|
+
"pg": "Papua New Guinea",
|
|
217
216
|
"py": "Paraguay",
|
|
218
217
|
"pe": "Peru",
|
|
219
|
-
"ph": "
|
|
220
|
-
"pl": "
|
|
221
|
-
"pt": "
|
|
222
|
-
"qa": "
|
|
223
|
-
"ro": "
|
|
224
|
-
"ru": "
|
|
225
|
-
"rw": "
|
|
226
|
-
"kn": "Saint Kitts
|
|
218
|
+
"ph": "Philippines",
|
|
219
|
+
"pl": "Poland",
|
|
220
|
+
"pt": "Portugal",
|
|
221
|
+
"qa": "Qatar",
|
|
222
|
+
"ro": "Romania",
|
|
223
|
+
"ru": "Russian Federation",
|
|
224
|
+
"rw": "Rwanda",
|
|
225
|
+
"kn": "Saint Kitts and Nevis",
|
|
227
226
|
"lc": "Saint Lucia",
|
|
228
227
|
"vc": "Saint Vincent",
|
|
229
228
|
"ws": "Samoa",
|
|
230
229
|
"sm": "San Marino",
|
|
231
230
|
"st": "Sao Tome and Principe",
|
|
232
|
-
"sa": "
|
|
231
|
+
"sa": "Saudi Arabia",
|
|
233
232
|
"sn": "Senegal",
|
|
234
|
-
"rs": "
|
|
235
|
-
"sc": "
|
|
233
|
+
"rs": "Serbia",
|
|
234
|
+
"sc": "Seychelles",
|
|
236
235
|
"sl": "Sierra Leone",
|
|
237
|
-
"sg": "
|
|
238
|
-
"sk": "
|
|
239
|
-
"si": "
|
|
240
|
-
"sb": "Solomon
|
|
241
|
-
"so": "
|
|
242
|
-
"za": "
|
|
243
|
-
"ss": "
|
|
244
|
-
"es": "
|
|
236
|
+
"sg": "Singapore",
|
|
237
|
+
"sk": "Slovakia",
|
|
238
|
+
"si": "Slovenia",
|
|
239
|
+
"sb": "Solomon Islands",
|
|
240
|
+
"so": "Somalia",
|
|
241
|
+
"za": "South Africa",
|
|
242
|
+
"ss": "South Sudan",
|
|
243
|
+
"es": "Spain",
|
|
245
244
|
"lk": "Sri Lanka",
|
|
246
245
|
"sd": "Sudan",
|
|
247
|
-
"sr": "
|
|
248
|
-
"se": "
|
|
249
|
-
"ch": "
|
|
250
|
-
"sy": "
|
|
251
|
-
"tj": "
|
|
252
|
-
"tw": "
|
|
253
|
-
"tz": "
|
|
254
|
-
"th": "
|
|
255
|
-
"tl": "
|
|
246
|
+
"sr": "Suriname",
|
|
247
|
+
"se": "Sweden",
|
|
248
|
+
"ch": "Switzerland",
|
|
249
|
+
"sy": "Syrian Arab Republic",
|
|
250
|
+
"tj": "Tajikistan",
|
|
251
|
+
"tw": "Taiwan",
|
|
252
|
+
"tz": "Tanzania",
|
|
253
|
+
"th": "Thailand",
|
|
254
|
+
"tl": "Timor-Leste",
|
|
256
255
|
"tg": "Togo",
|
|
257
256
|
"to": "Tonga",
|
|
258
|
-
"tt": "Trinidad
|
|
259
|
-
"tn": "
|
|
260
|
-
"tr": "
|
|
261
|
-
"tm": "
|
|
257
|
+
"tt": "Trinidad and Tobago",
|
|
258
|
+
"tn": "Tunisia",
|
|
259
|
+
"tr": "Turkey",
|
|
260
|
+
"tm": "Turkmenistan",
|
|
262
261
|
"tv": "Tuvalu",
|
|
263
262
|
"ug": "Uganda",
|
|
264
|
-
"ua": "
|
|
265
|
-
"ae": "
|
|
266
|
-
"gb": "
|
|
267
|
-
"us": "
|
|
263
|
+
"ua": "Ukraine",
|
|
264
|
+
"ae": "United Arab Emirates",
|
|
265
|
+
"gb": "United Kingdom",
|
|
266
|
+
"us": "United States of America",
|
|
268
267
|
"uy": "Uruguay",
|
|
269
|
-
"uz": "
|
|
268
|
+
"uz": "Uzbekistan",
|
|
270
269
|
"vu": "Vanuatu",
|
|
271
270
|
"ve": "Venezuela",
|
|
272
|
-
"vn": "
|
|
271
|
+
"vn": "Viet Nam",
|
|
273
272
|
"ye": "Yemen",
|
|
274
|
-
"zm": "
|
|
275
|
-
"zw": "
|
|
273
|
+
"zm": "Zambia",
|
|
274
|
+
"zw": "Zimbabwe"
|
|
276
275
|
},
|
|
277
276
|
"calendar": {
|
|
278
277
|
"weekdaysLong":[
|
|
279
|
-
"
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
278
|
+
"Sunday",
|
|
279
|
+
"Monday",
|
|
280
|
+
"Tuesday",
|
|
281
|
+
"Wednesday",
|
|
282
|
+
"Thursday",
|
|
283
|
+
"Friday",
|
|
284
|
+
"Saturday"
|
|
286
285
|
],
|
|
287
286
|
"weekdaysShort":[
|
|
288
|
-
"
|
|
287
|
+
"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"
|
|
289
288
|
],
|
|
290
289
|
"months":[
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
290
|
+
"January",
|
|
291
|
+
"February",
|
|
292
|
+
"March",
|
|
293
|
+
"April",
|
|
294
|
+
"May",
|
|
295
|
+
"June",
|
|
296
|
+
"July",
|
|
297
|
+
"August",
|
|
298
|
+
"September",
|
|
299
|
+
"October",
|
|
300
|
+
"November",
|
|
301
|
+
"December"
|
|
303
302
|
],
|
|
304
|
-
"firstDay":
|
|
305
|
-
"format": "DD/
|
|
303
|
+
"firstDay": 0,
|
|
304
|
+
"format": "MM/DD/YYYY"
|
|
306
305
|
}
|
|
307
|
-
}
|
|
306
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
2
|
import { ChildrenProps } from "./ChildrenProps";
|
|
3
3
|
import { InputVariant } from "./InputProps";
|
|
4
4
|
import { ITDSize } from "./ITDProps";
|
|
@@ -15,17 +15,17 @@ export type CalendarProps = {
|
|
|
15
15
|
suffix?: ChildrenProps;
|
|
16
16
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
17
17
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
18
|
-
disabledDate: (date:
|
|
18
|
+
disabledDate: (date: dayjs.Dayjs) => boolean;
|
|
19
19
|
};
|
|
20
20
|
export type CalendarValueProps = {
|
|
21
21
|
localizated: string;
|
|
22
22
|
global: string;
|
|
23
23
|
};
|
|
24
24
|
export type CalendarDayProps = {
|
|
25
|
-
date:
|
|
25
|
+
date: dayjs.Dayjs;
|
|
26
26
|
today?: boolean;
|
|
27
27
|
selected?: boolean;
|
|
28
28
|
current?: boolean;
|
|
29
29
|
disabled?: boolean;
|
|
30
|
-
handleClick: (date:
|
|
30
|
+
handleClick: (date: dayjs.Dayjs) => void;
|
|
31
31
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import dayjs from "dayjs";
|
|
2
2
|
import { CalendarValueProps } from "./CalendarProps";
|
|
3
3
|
import { ChildrenProps } from "./ChildrenProps";
|
|
4
4
|
import { InputVariant } from "./InputProps";
|
|
@@ -18,5 +18,5 @@ export type DatePickerProps = {
|
|
|
18
18
|
suffix?: ChildrenProps;
|
|
19
19
|
onChange?: ((value: CalendarValueProps) => void) | null;
|
|
20
20
|
onUpdate?: ((value: any, update: any, validation: boolean) => void) | null;
|
|
21
|
-
disabledDate?: (date:
|
|
21
|
+
disabledDate?: (date: dayjs.Dayjs) => boolean;
|
|
22
22
|
};
|