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