@elice/material-pdf 1.240521.0 → 1.240522.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.
@@ -7,7 +7,6 @@ var intl = require('@elice/intl');
7
7
  var classnames = require('classnames');
8
8
  var en = require('./locales/en.json.js');
9
9
  var ko = require('./locales/ko.json.js');
10
- var th = require('./locales/th.json.js');
11
10
  var MaterialPdfContent = require('./MaterialPdfContent.js');
12
11
  var MaterialPdf_styled = require('./MaterialPdf.styled.js');
13
12
 
@@ -30,6 +29,6 @@ const MaterialPdf = ({
30
29
  cMapUrl: cMapUrl
31
30
  })));
32
31
  };
33
- var MaterialPdf$1 = new intl.IntlComponentBuilder(MaterialPdf).add('en', en.default).add('ko', ko.default).add('th', th.default).build();
32
+ var MaterialPdf$1 = new intl.IntlComponentBuilder(MaterialPdf).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('./locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('./locales/ja.json.js'); })).build();
34
33
 
35
34
  exports.default = MaterialPdf$1;
@@ -1,3 +1,4 @@
1
1
  export { default as messageEn } from './en.json';
2
2
  export { default as messageKo } from './ko.json';
3
3
  export { default as messageTh } from './th.json';
4
+ export { default as messageJa } from './ja.json';
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ja = {"pdf.status.loading":"ファイルを読み込んでいます...","pdf.status.error":"ファイルの読み込み中にエラーが発生しました。","pdf.fullScreen":"フルスクリーン","pdf.download":"ファイルのダウンロード"};
6
+
7
+ exports.default = ja;
@@ -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":"ดาวน์โหลดไฟล์"};
5
+ var th = {"pdf.status.loading":"กำลังโหลดไฟล์...","pdf.status.error":"เกิดข้อผิดพลาดขณะโหลดไฟล์","pdf.fullScreen":"เต็มหน้าจอ","pdf.download":"ดาวน์โหลดไฟล์"};
6
6
 
7
- exports.default = messageTh;
7
+ exports.default = th;
@@ -3,7 +3,6 @@ import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
3
3
  import classnames from 'classnames';
4
4
  import messageEn from './locales/en.json.js';
5
5
  import messageKo from './locales/ko.json.js';
6
- import messageTh from './locales/th.json.js';
7
6
  import MaterialPdfContent from './MaterialPdfContent.js';
8
7
  import { StyledMaterialPdfWrapper } from './MaterialPdf.styled.js';
9
8
 
@@ -26,6 +25,6 @@ const MaterialPdf = ({
26
25
  cMapUrl: cMapUrl
27
26
  })));
28
27
  };
29
- var MaterialPdf$1 = new IntlComponentBuilder(MaterialPdf).add('en', messageEn).add('ko', messageKo).add('th', messageTh).build();
28
+ var MaterialPdf$1 = new IntlComponentBuilder(MaterialPdf).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
30
29
 
31
30
  export { MaterialPdf$1 as default };
@@ -1,3 +1,4 @@
1
1
  export { default as messageEn } from './en.json';
2
2
  export { default as messageKo } from './ko.json';
3
3
  export { default as messageTh } from './th.json';
4
+ export { default as messageJa } from './ja.json';
@@ -0,0 +1,3 @@
1
+ var ja = {"pdf.status.loading":"ファイルを読み込んでいます...","pdf.status.error":"ファイルの読み込み中にエラーが発生しました。","pdf.fullScreen":"フルスクリーン","pdf.download":"ファイルのダウンロード"};
2
+
3
+ export { ja as default };
@@ -1,3 +1,3 @@
1
- var messageTh = {"pdf.status.loading":"กำลังโหลดไฟล์...","pdf.status.error":"เกิดข้อผิดพลาดขณะโหลดไฟล์","pdf.fullScreen":"เต็มหน้าจอ","pdf.download":"ดาวน์โหลดไฟล์"};
1
+ var th = {"pdf.status.loading":"กำลังโหลดไฟล์...","pdf.status.error":"เกิดข้อผิดพลาดขณะโหลดไฟล์","pdf.fullScreen":"เต็มหน้าจอ","pdf.download":"ดาวน์โหลดไฟล์"};
2
2
 
3
- export { messageTh as default };
3
+ export { th as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-pdf",
3
- "version": "1.240521.0",
3
+ "version": "1.240522.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",
@@ -48,10 +48,10 @@
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-rc.1",
51
+ "@elice/intl": "0.240425.0-rc.2",
52
52
  "@elice/markdown": "^1.220815.0",
53
- "@elice/material-shared-types": "1.240521.0",
54
- "@elice/material-shared-utils": "1.240521.0",
53
+ "@elice/material-shared-types": "1.240522.0",
54
+ "@elice/material-shared-utils": "1.240522.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": "7db81d8d591875a8649e417a7bd18d9cae06d770"
63
+ "gitHead": "19eccc67cf5feb8de8d0f314d82314743b585f83"
64
64
  }