@dhis2/ui-forms 8.15.0-alpha.1 → 8.15.0-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -63,15 +63,17 @@ var _translations27 = _interopRequireDefault(require("./uk/translations.json"));
63
63
 
64
64
  var _translations28 = _interopRequireDefault(require("./ur/translations.json"));
65
65
 
66
- var _translations29 = _interopRequireDefault(require("./uz/translations.json"));
66
+ var _translations29 = _interopRequireDefault(require("./uz_Latn/translations.json"));
67
67
 
68
- var _translations30 = _interopRequireDefault(require("./uz_Latn/translations.json"));
68
+ var _translations30 = _interopRequireDefault(require("./uz_UZ_Cyrl/translations.json"));
69
69
 
70
- var _translations31 = _interopRequireDefault(require("./vi/translations.json"));
70
+ var _translations31 = _interopRequireDefault(require("./uz_UZ_Latn/translations.json"));
71
71
 
72
- var _translations32 = _interopRequireDefault(require("./zh/translations.json"));
72
+ var _translations32 = _interopRequireDefault(require("./vi/translations.json"));
73
73
 
74
- var _translations33 = _interopRequireDefault(require("./zh_CN/translations.json"));
74
+ var _translations33 = _interopRequireDefault(require("./zh/translations.json"));
75
+
76
+ var _translations34 = _interopRequireDefault(require("./zh_CN/translations.json"));
75
77
 
76
78
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
77
79
 
@@ -141,15 +143,17 @@ _d2I18n.default.addResources('uk', namespace, _translations27.default);
141
143
 
142
144
  _d2I18n.default.addResources('ur', namespace, _translations28.default);
143
145
 
144
- _d2I18n.default.addResources('uz', namespace, _translations29.default);
146
+ _d2I18n.default.addResources('uz_Latn', namespace, _translations29.default);
147
+
148
+ _d2I18n.default.addResources('uz_UZ_Cyrl', namespace, _translations30.default);
145
149
 
146
- _d2I18n.default.addResources('uz_Latn', namespace, _translations30.default);
150
+ _d2I18n.default.addResources('uz_UZ_Latn', namespace, _translations31.default);
147
151
 
148
- _d2I18n.default.addResources('vi', namespace, _translations31.default);
152
+ _d2I18n.default.addResources('vi', namespace, _translations32.default);
149
153
 
150
- _d2I18n.default.addResources('zh', namespace, _translations32.default);
154
+ _d2I18n.default.addResources('zh', namespace, _translations33.default);
151
155
 
152
- _d2I18n.default.addResources('zh_CN', namespace, _translations33.default);
156
+ _d2I18n.default.addResources('zh_CN', namespace, _translations34.default);
153
157
 
154
158
  var _default = _d2I18n.default;
155
159
  exports.default = _default;
@@ -19,12 +19,12 @@
19
19
  "Password should contain at least one UPPERCASE letter": "Пароль таркибида камида 1 та БОШ ҳарф бўлиши лозим",
20
20
  "Password should contain at least one number": "Пароль таркибида камида 1 та рақам бўлиши лозим",
21
21
  "Password should have at least one special character": "Пароль таркибида камида 1 та махсус белги бўлиши лозим",
22
- "Please provide a username between 4 and 255 characters": "",
23
22
  "Please provide a valid email address": "Илтимос, амалдаги е-почта манзилини кўрсатинг",
24
23
  "Please provide a value": "",
25
24
  "Please provide a round number without decimals": "",
26
25
  "Please provide a valid international phone number.": "",
27
26
  "Please provide a number": "",
28
27
  "Please provide a string": "",
29
- "Please provide a valid url": "Илтимос, ҳақиқий URL манзилни кўрсатинг"
28
+ "Please provide a valid url": "Илтимос, ҳақиқий URL манзилни кўрсатинг",
29
+ "Please provide a username between 4 and 255 characters long and possibly separated by . _ - or @": ""
30
30
  }
@@ -0,0 +1,30 @@
1
+ {
2
+ "Upload file": "Faylni yuklash",
3
+ "Upload files": "",
4
+ "Remove": "Олиб ташлаш",
5
+ "Please provide an alpha-numeric value": "",
6
+ "Please provide a boolean value": "",
7
+ "Please enter between {{lowerBound}} and {{upperBound}} characters": "",
8
+ "Please make sure the value of this input matches the value in \"{{otherField}}\".": "Ushbu yozuvning qiymati \"{{otherField}}\" dagi qiymatga mos kelishiga ishonch hosil qiling.",
9
+ "Please enter a maximum of {{upperBound}} characters": "",
10
+ "Please enter a number with a maximum of {{upperBound}}": "",
11
+ "Please enter at least {{lowerBound}} characters": "",
12
+ "Please enter a number of at least {{lowerBound}}": "",
13
+ "Number cannot be less than {{lowerBound}} or more than {{upperBound}}": "",
14
+ "Please make sure the value of this input matches the pattern {{patternString}}.": "",
15
+ "Password should be a string": "",
16
+ "Password should be at least 8 characters long": "Parol kamida 8 ta belgidan iborat boʼlishi lozim",
17
+ "Password should be no longer than 34 characters": "Parol 34 ta belgidan oshmasligi lozim",
18
+ "Password should contain at least one lowercase letter": "Parol tarkibida kamida 1 ta kichik harf boʼlishi lozim",
19
+ "Password should contain at least one UPPERCASE letter": "Parol tarkibida kamida 1 ta BOSh harf boʼlishi lozim",
20
+ "Password should contain at least one number": "Parol tarkibida kamida 1 ta raqam boʼlishi lozim",
21
+ "Password should have at least one special character": "Parol tarkibida kamida 1 ta maxsus belgi boʼlishi lozim",
22
+ "Please provide a valid email address": "Iltimos, amaldagi ye-pochta manzilini koʼrsating",
23
+ "Please provide a value": "",
24
+ "Please provide a round number without decimals": "",
25
+ "Please provide a valid international phone number.": "",
26
+ "Please provide a number": "",
27
+ "Please provide a string": "",
28
+ "Please provide a valid url": "Iltimos, haqiqiy URL manzilni koʼrsating",
29
+ "Please provide a username between 4 and 255 characters long and possibly separated by . _ - or @": ""
30
+ }
@@ -35,8 +35,9 @@ import tetTranslations from './tet/translations.json';
35
35
  import tgTranslations from './tg/translations.json';
36
36
  import ukTranslations from './uk/translations.json';
37
37
  import urTranslations from './ur/translations.json';
38
- import uzTranslations from './uz/translations.json';
39
38
  import uz_LatnTranslations from './uz_Latn/translations.json';
39
+ import uz_UZ_CyrlTranslations from './uz_UZ_Cyrl/translations.json';
40
+ import uz_UZ_LatnTranslations from './uz_UZ_Latn/translations.json';
40
41
  import viTranslations from './vi/translations.json';
41
42
  import zhTranslations from './zh/translations.json';
42
43
  import zh_CNTranslations from './zh_CN/translations.json';
@@ -69,8 +70,9 @@ i18n.addResources('tet', namespace, tetTranslations);
69
70
  i18n.addResources('tg', namespace, tgTranslations);
70
71
  i18n.addResources('uk', namespace, ukTranslations);
71
72
  i18n.addResources('ur', namespace, urTranslations);
72
- i18n.addResources('uz', namespace, uzTranslations);
73
73
  i18n.addResources('uz_Latn', namespace, uz_LatnTranslations);
74
+ i18n.addResources('uz_UZ_Cyrl', namespace, uz_UZ_CyrlTranslations);
75
+ i18n.addResources('uz_UZ_Latn', namespace, uz_UZ_LatnTranslations);
74
76
  i18n.addResources('vi', namespace, viTranslations);
75
77
  i18n.addResources('zh', namespace, zhTranslations);
76
78
  i18n.addResources('zh_CN', namespace, zh_CNTranslations);
@@ -19,12 +19,12 @@
19
19
  "Password should contain at least one UPPERCASE letter": "Пароль таркибида камида 1 та БОШ ҳарф бўлиши лозим",
20
20
  "Password should contain at least one number": "Пароль таркибида камида 1 та рақам бўлиши лозим",
21
21
  "Password should have at least one special character": "Пароль таркибида камида 1 та махсус белги бўлиши лозим",
22
- "Please provide a username between 4 and 255 characters": "",
23
22
  "Please provide a valid email address": "Илтимос, амалдаги е-почта манзилини кўрсатинг",
24
23
  "Please provide a value": "",
25
24
  "Please provide a round number without decimals": "",
26
25
  "Please provide a valid international phone number.": "",
27
26
  "Please provide a number": "",
28
27
  "Please provide a string": "",
29
- "Please provide a valid url": "Илтимос, ҳақиқий URL манзилни кўрсатинг"
28
+ "Please provide a valid url": "Илтимос, ҳақиқий URL манзилни кўрсатинг",
29
+ "Please provide a username between 4 and 255 characters long and possibly separated by . _ - or @": ""
30
30
  }
@@ -0,0 +1,30 @@
1
+ {
2
+ "Upload file": "Faylni yuklash",
3
+ "Upload files": "",
4
+ "Remove": "Олиб ташлаш",
5
+ "Please provide an alpha-numeric value": "",
6
+ "Please provide a boolean value": "",
7
+ "Please enter between {{lowerBound}} and {{upperBound}} characters": "",
8
+ "Please make sure the value of this input matches the value in \"{{otherField}}\".": "Ushbu yozuvning qiymati \"{{otherField}}\" dagi qiymatga mos kelishiga ishonch hosil qiling.",
9
+ "Please enter a maximum of {{upperBound}} characters": "",
10
+ "Please enter a number with a maximum of {{upperBound}}": "",
11
+ "Please enter at least {{lowerBound}} characters": "",
12
+ "Please enter a number of at least {{lowerBound}}": "",
13
+ "Number cannot be less than {{lowerBound}} or more than {{upperBound}}": "",
14
+ "Please make sure the value of this input matches the pattern {{patternString}}.": "",
15
+ "Password should be a string": "",
16
+ "Password should be at least 8 characters long": "Parol kamida 8 ta belgidan iborat boʼlishi lozim",
17
+ "Password should be no longer than 34 characters": "Parol 34 ta belgidan oshmasligi lozim",
18
+ "Password should contain at least one lowercase letter": "Parol tarkibida kamida 1 ta kichik harf boʼlishi lozim",
19
+ "Password should contain at least one UPPERCASE letter": "Parol tarkibida kamida 1 ta BOSh harf boʼlishi lozim",
20
+ "Password should contain at least one number": "Parol tarkibida kamida 1 ta raqam boʼlishi lozim",
21
+ "Password should have at least one special character": "Parol tarkibida kamida 1 ta maxsus belgi boʼlishi lozim",
22
+ "Please provide a valid email address": "Iltimos, amaldagi ye-pochta manzilini koʼrsating",
23
+ "Please provide a value": "",
24
+ "Please provide a round number without decimals": "",
25
+ "Please provide a valid international phone number.": "",
26
+ "Please provide a number": "",
27
+ "Please provide a string": "",
28
+ "Please provide a valid url": "Iltimos, haqiqiy URL manzilni koʼrsating",
29
+ "Please provide a username between 4 and 255 characters long and possibly separated by . _ - or @": ""
30
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/ui-forms",
3
- "version": "8.15.0-alpha.1",
3
+ "version": "8.15.0-alpha.3",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "sideEffects": [
@@ -8,6 +8,7 @@
8
8
  "build/cjs/locales/index.js"
9
9
  ],
10
10
  "exports": {
11
+ "types": "./types/index.d.ts",
11
12
  "import": "./build/es/index.js",
12
13
  "require": "./build/cjs/index.js"
13
14
  },
@@ -34,15 +35,15 @@
34
35
  },
35
36
  "dependencies": {
36
37
  "@dhis2/prop-types": "^3.1.2",
37
- "@dhis2-ui/button": "8.15.0-alpha.1",
38
- "@dhis2-ui/checkbox": "8.15.0-alpha.1",
39
- "@dhis2-ui/field": "8.15.0-alpha.1",
40
- "@dhis2-ui/file-input": "8.15.0-alpha.1",
41
- "@dhis2-ui/input": "8.15.0-alpha.1",
42
- "@dhis2-ui/radio": "8.15.0-alpha.1",
43
- "@dhis2-ui/select": "8.15.0-alpha.1",
44
- "@dhis2-ui/switch": "8.15.0-alpha.1",
45
- "@dhis2-ui/text-area": "8.15.0-alpha.1",
38
+ "@dhis2-ui/button": "8.15.0-alpha.3",
39
+ "@dhis2-ui/checkbox": "8.15.0-alpha.3",
40
+ "@dhis2-ui/field": "8.15.0-alpha.3",
41
+ "@dhis2-ui/file-input": "8.15.0-alpha.3",
42
+ "@dhis2-ui/input": "8.15.0-alpha.3",
43
+ "@dhis2-ui/radio": "8.15.0-alpha.3",
44
+ "@dhis2-ui/select": "8.15.0-alpha.3",
45
+ "@dhis2-ui/switch": "8.15.0-alpha.3",
46
+ "@dhis2-ui/text-area": "8.15.0-alpha.3",
46
47
  "classnames": "^2.3.1",
47
48
  "final-form": "^4.20.2",
48
49
  "prop-types": "^15.7.2",