awing-library 2.1.141 → 2.1.142

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.
@@ -87,7 +87,7 @@ var ImportPage = function () {
87
87
  fieldName: 'fileName',
88
88
  type: 'text',
89
89
  disabled: !(tempFile === null || tempFile === void 0 ? void 0 : tempFile.name),
90
- label: 'File',
90
+ label: t('Common.File'),
91
91
  inputProps: {
92
92
  value: tempFile === null || tempFile === void 0 ? void 0 : tempFile.name,
93
93
  readOnly: true,
@@ -117,7 +117,7 @@ var ImportPage = function () {
117
117
  fieldName: 'Page',
118
118
  type: 'text',
119
119
  disabled: !((_a = importData === null || importData === void 0 ? void 0 : importData.pageSelected) === null || _a === void 0 ? void 0 : _a.title),
120
- label: 'Page',
120
+ label: t('Notification.Page'),
121
121
  inputProps: {
122
122
  value: (_b = importData === null || importData === void 0 ? void 0 : importData.pageSelected) === null || _b === void 0 ? void 0 : _b.title,
123
123
  },
@@ -83,7 +83,7 @@ function TagChip(props) {
83
83
  title =
84
84
  (title.length >= constants_1.MAX_TAG_TITLE_LENGTH
85
85
  ? "".concat(title.slice(0, constants_1.MAX_TAG_TITLE_LENGTH - 1), "...")
86
- : title) || "ALL";
86
+ : title) || t("Common.All");
87
87
  return ((0, jsx_runtime_1.jsxs)("span", { children: ["".concat(title, ": "), numOfPreviousPlaces === numOfPlaces ? ((0, jsx_runtime_1.jsx)(TagAll_1.CustomSpan, { color: constants_1.NORMAL_COLOR, children: numOfPlaces })) : numOfPreviousPlaces < numOfPlaces ? ((0, jsx_runtime_1.jsx)(TagAll_1.CustomSpan, { color: constants_1.POSITIVE_COLOR, children: "".concat(numOfPlaces, " (+").concat(numOfPlaces - numOfPreviousPlaces, ")") })) : ((0, jsx_runtime_1.jsx)(TagAll_1.CustomSpan, { color: constants_1.NEGATIVE_COLOR, children: "".concat(numOfPlaces, " (-").concat(numOfPreviousPlaces - numOfPlaces, ")") }))] }));
88
88
  };
89
89
  var getTagInputDetail = function (tag) {
@@ -55,8 +55,11 @@ var languageMap = {
55
55
  "tha": "th",
56
56
  "jpn": "ja",
57
57
  "phl": "tl-ph",
58
+ "vi": "vi",
59
+ "en": "en",
58
60
  "ind": "hi",
59
61
  "mys": "ms",
62
+ "id": "id"
60
63
  };
61
64
  var moment = require('moment');
62
65
  require('moment/locale/vi');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "awing-library",
3
- "version": "2.1.141",
3
+ "version": "2.1.142",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",