@elice/material-pdf 1.240508.0-globalization.0 → 1.240514.0
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/cjs/components/material-pdf/MaterialPdf.js +1 -5
- package/cjs/components/material-pdf/MaterialPdfContent.js +1 -3
- package/cjs/components/material-pdf/locales/th.json.js +1 -1
- package/es/components/material-pdf/MaterialPdf.js +1 -5
- package/es/components/material-pdf/MaterialPdfContent.js +1 -3
- package/es/components/material-pdf/locales/th.json.js +1 -1
- package/package.json +6 -6
|
@@ -21,11 +21,7 @@ const MaterialPdf = ({
|
|
|
21
21
|
//
|
|
22
22
|
//
|
|
23
23
|
//
|
|
24
|
-
return React.createElement(intl.RawEliceIntlProvider, {
|
|
25
|
-
value: {
|
|
26
|
-
intl: __intl
|
|
27
|
-
}
|
|
28
|
-
}, React.createElement(MaterialPdf_styled.StyledMaterialPdfWrapper, {
|
|
24
|
+
return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialPdf_styled.StyledMaterialPdfWrapper, {
|
|
29
25
|
className: classnames(prefixCls, className)
|
|
30
26
|
}, React.createElement(MaterialPdfContent.default, {
|
|
31
27
|
materialPdfId: materialPdfId,
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var messageTh = {"pdf.status.loading":"
|
|
5
|
+
var messageTh = {"pdf.status.loading":"กำลังโหลดไฟล์...","pdf.status.error":"เกิดข้อผิดพลาดขณะโหลดไฟล์","pdf.fullScreen":"เต็มหน้าจอ","pdf.download":"ดาวน์โหลดไฟล์"};
|
|
6
6
|
|
|
7
7
|
exports.default = messageTh;
|
|
@@ -17,11 +17,7 @@ const MaterialPdf = ({
|
|
|
17
17
|
//
|
|
18
18
|
//
|
|
19
19
|
//
|
|
20
|
-
return React.createElement(RawEliceIntlProvider, {
|
|
21
|
-
value: {
|
|
22
|
-
intl: __intl
|
|
23
|
-
}
|
|
24
|
-
}, React.createElement(StyledMaterialPdfWrapper, {
|
|
20
|
+
return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(StyledMaterialPdfWrapper, {
|
|
25
21
|
className: classnames(prefixCls, className)
|
|
26
22
|
}, React.createElement(MaterialPdfContent, {
|
|
27
23
|
materialPdfId: materialPdfId,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var messageTh = {"pdf.status.loading":"
|
|
1
|
+
var messageTh = {"pdf.status.loading":"กำลังโหลดไฟล์...","pdf.status.error":"เกิดข้อผิดพลาดขณะโหลดไฟล์","pdf.fullScreen":"เต็มหน้าจอ","pdf.download":"ดาวน์โหลดไฟล์"};
|
|
2
2
|
|
|
3
3
|
export { messageTh as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-pdf",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240514.0",
|
|
4
4
|
"description": "User view and editing components of Elice material PDF",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@elice/api-client": "^1.230815.0",
|
|
47
|
-
"@elice/blocks": "^1.
|
|
47
|
+
"@elice/blocks": "^1.240514.0",
|
|
48
48
|
"@elice/design-tokens": "^1.220803.0",
|
|
49
49
|
"@elice/icons": "^1.230814.0",
|
|
50
50
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
51
|
-
"@elice/intl": "0.240425.0-
|
|
51
|
+
"@elice/intl": "0.240425.0-rc.0",
|
|
52
52
|
"@elice/markdown": "^1.220815.0",
|
|
53
|
-
"@elice/material-shared-types": "1.
|
|
54
|
-
"@elice/material-shared-utils": "1.
|
|
53
|
+
"@elice/material-shared-types": "1.240514.0",
|
|
54
|
+
"@elice/material-shared-utils": "1.240514.0",
|
|
55
55
|
"@elice/types": "^1.240208.0",
|
|
56
56
|
"@types/classnames": "^2.3.1",
|
|
57
57
|
"@types/react": "~17.0.9",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react-use": "^17.2.4",
|
|
61
61
|
"styled-components": "^5.3.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "04c7bc30a433e053218d63dedf81d76aa0fe251f"
|
|
64
64
|
}
|