@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.
@@ -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,
@@ -17,9 +17,7 @@ const MaterialPdfContent = ({
17
17
  cMapUrl
18
18
  }) => {
19
19
  var _a;
20
- const {
21
- intl: intl$1
22
- } = intl.useRawEliceIntl();
20
+ const intl$1 = intl.useRawEliceIntl();
23
21
  const {
24
22
  materialPdf,
25
23
  status: materialPdfStatus
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var messageTh = {"pdf.status.loading":"การโหลดข้อมูลการเรียนการสอน...","pdf.status.error":"มีปัญหาขณะดึงข้อมูลการเรียนการสอนค่ะ.","pdf.fullScreen":"หน้าจอที่ปรับให้เข้ากับแบบชุด","pdf.download":"ดาวน์โหลด{_termLibraryLecturePage}"};
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,
@@ -13,9 +13,7 @@ const MaterialPdfContent = ({
13
13
  cMapUrl
14
14
  }) => {
15
15
  var _a;
16
- const {
17
- intl
18
- } = useRawEliceIntl();
16
+ const intl = useRawEliceIntl();
19
17
  const {
20
18
  materialPdf,
21
19
  status: materialPdfStatus
@@ -1,3 +1,3 @@
1
- var messageTh = {"pdf.status.loading":"การโหลดข้อมูลการเรียนการสอน...","pdf.status.error":"มีปัญหาขณะดึงข้อมูลการเรียนการสอนค่ะ.","pdf.fullScreen":"หน้าจอที่ปรับให้เข้ากับแบบชุด","pdf.download":"ดาวน์โหลด{_termLibraryLecturePage}"};
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.240508.0-globalization.0",
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.230816.0",
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-alpha.7",
51
+ "@elice/intl": "0.240425.0-rc.0",
52
52
  "@elice/markdown": "^1.220815.0",
53
- "@elice/material-shared-types": "1.240508.0-globalization.0",
54
- "@elice/material-shared-utils": "1.240508.0-globalization.0",
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": "e64474c7cab0b6cb852ba08a2076c88e732eec03"
63
+ "gitHead": "04c7bc30a433e053218d63dedf81d76aa0fe251f"
64
64
  }