@elice/material-survey 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.
- package/cjs/components/material-survey/MaterialSurvey.js +1 -2
- package/cjs/components/material-survey/locales/index.d.ts +1 -0
- package/cjs/components/material-survey/locales/ja.json.js +7 -0
- package/cjs/components/material-survey/locales/th.json.js +2 -2
- package/cjs/components/material-survey-edit/MaterialSurveyEdit.js +1 -2
- package/cjs/components/material-survey-edit/locales/index.d.ts +1 -0
- package/cjs/components/material-survey-edit/locales/ja.json.js +7 -0
- package/cjs/components/material-survey-edit/locales/th.json.js +2 -2
- package/es/components/material-survey/MaterialSurvey.js +1 -2
- package/es/components/material-survey/locales/index.d.ts +1 -0
- package/es/components/material-survey/locales/ja.json.js +3 -0
- package/es/components/material-survey/locales/th.json.js +2 -2
- package/es/components/material-survey-edit/MaterialSurveyEdit.js +1 -2
- package/es/components/material-survey-edit/locales/index.d.ts +1 -0
- package/es/components/material-survey-edit/locales/ja.json.js +3 -0
- package/es/components/material-survey-edit/locales/th.json.js +2 -2
- package/package.json +5 -5
|
@@ -11,7 +11,6 @@ var styled = require('styled-components');
|
|
|
11
11
|
var MaterialSurveyContext = require('./context/MaterialSurveyContext.js');
|
|
12
12
|
var en = require('./locales/en.json.js');
|
|
13
13
|
var ko = require('./locales/ko.json.js');
|
|
14
|
-
var th = require('./locales/th.json.js');
|
|
15
14
|
var MaterialSurveyShimmer = require('./MaterialSurveyShimmer.js');
|
|
16
15
|
var MaterialSurveyInfo = require('./MaterialSurveyInfo.js');
|
|
17
16
|
|
|
@@ -93,6 +92,6 @@ const MaterialSurveyContainer = ({
|
|
|
93
92
|
onNext: onNext
|
|
94
93
|
}, React.createElement(MaterialSurvey, null)));
|
|
95
94
|
};
|
|
96
|
-
var MaterialSurvey$1 = new intl.IntlComponentBuilder(MaterialSurveyContainer).add('en', en.default).add('ko', ko.default).
|
|
95
|
+
var MaterialSurvey$1 = new intl.IntlComponentBuilder(MaterialSurveyContainer).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();
|
|
97
96
|
|
|
98
97
|
exports.default = MaterialSurvey$1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ja = {"materialSurvey.error":"アンケートの取得に失敗しました。","materialSurvey.submit":"提出","materialSurvey.submittedAnswer":"提出された回答","materialSurvey.next":"次の質問 >","materialSurvey.myAnswer":"私の答え","materialSurvey.empty.title":"調査は現在準備中です。","materialSurvey.empty.description":"調査投稿後にもう一度ご確認ください!","materialSurvey.survey.empty.title":"調査は現在準備中です。","materialSurvey.survey.empty.description":"調査投稿後にもう一度ご確認ください!","materialSurvey.submitStatus.success":"提出済","materialSurvey.submitStatus.failure":"提出に失敗しました。","materialSurvey.resultStatus.submitted":"提出済","materialSurvey.text.placeholder":"回答を入力してください"};
|
|
6
|
+
|
|
7
|
+
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"materialSurvey.error":"ไม่สามารถเรียกดูแบบสำรวจได้","materialSurvey.submit":"ส่งใบสมัคร","materialSurvey.submittedAnswer":"ฉันสามารถตอบคำถามเช่นนี้ได้","materialSurvey.next":"คำถามถัดไป >","materialSurvey.myAnswer":"คำตอบของฉัน","materialSurvey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialSurvey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialSurvey.survey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialSurvey.survey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialSurvey.submitStatus.success":"เสนอ","materialSurvey.submitStatus.failure":"การส่งล้มเหลว","materialSurvey.resultStatus.submitted":"เสนอ","materialSurvey.text.placeholder":"กรุณากรอกคำตอบ"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -10,7 +10,6 @@ var editValue = require('./utils/editValue.js');
|
|
|
10
10
|
var context = require('./context.js');
|
|
11
11
|
var en = require('./locales/en.json.js');
|
|
12
12
|
var ko = require('./locales/ko.json.js');
|
|
13
|
-
var th = require('./locales/th.json.js');
|
|
14
13
|
var MaterialSurveyEditContent = require('./MaterialSurveyEditContent.js');
|
|
15
14
|
|
|
16
15
|
//
|
|
@@ -89,6 +88,6 @@ const MaterialSurveyEdit = React.forwardRef(({
|
|
|
89
88
|
}
|
|
90
89
|
}, React.createElement(reactHookForm.FormProvider, Object.assign({}, useFormMethods), React.createElement(MaterialSurveyEditContent.default, null)))));
|
|
91
90
|
});
|
|
92
|
-
var MaterialSurveyEdit$1 = new intl.IntlComponentBuilder(MaterialSurveyEdit).add('en', en.default).add('ko', ko.default).
|
|
91
|
+
var MaterialSurveyEdit$1 = new intl.IntlComponentBuilder(MaterialSurveyEdit).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();
|
|
93
92
|
|
|
94
93
|
exports.default = MaterialSurveyEdit$1;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ja = {"common.option":"オプション {number}","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","content.title":"質問","content.title.errorMessage.required":"質問を記入してください。","content.title.placeholder":"質問を入力してください。","content.description.title":"詳細な内容","content.description.placeholder":"詳細な質問の説明や画像などを入力してください。","content.option.title":"回答","content.option.tooltip.disabled":"質問が公開されているか、{_termPathRoleStudent}さんが質問を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された質問を確認できます。","content.option.select.items.selectOne":"シングルチョイス","content.option.select.items.selectMultiple":"マルチプルチョイス","content.option.select.items.text":"短い回答","option.common.select.errorMessage.required":"オプションを入力してください。","option.common.select.placeholder":"オプションを入力してください","option.common.select.tooltip.minOptionInfoItem":"少なくとも2つのオプションを入力する必要があります。","option.common.select.tooltip.maxOptionInfoItem":"20個以上のオプションを入力することはできません。","option.common.select.addButton":"オプションを追加する"};
|
|
6
|
+
|
|
7
|
+
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var th = {"common.option":"ตัวเลือก {number}","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","content.title":"คำถาม","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.placeholder":"กรุณากรอกคำถาม","content.description.title":"เนื้อหาอย่างละเอียด","content.description.placeholder":"กรุณากรอกคำอธิบายข้อความหรือรูปภาพอย่างละเอียด ฯลฯ","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้เมื่อคำถามเป็นสาธารณะหรือมี {_termPathRoleStudent} ที่ส่งคำถามแล้ว\nคุณสามารถตรวจสอบคำถามที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้","content.option.select.items.selectOne":"เลือกเดียว","content.option.select.items.selectMultiple":"ตัวเลือกหลายอย่าง","content.option.select.items.text":"คำตอบสั้นๆ","option.common.select.errorMessage.required":"กรุณากรอกตัวเลือก","option.common.select.placeholder":"ป้อนตัวเลือก","option.common.select.tooltip.minOptionInfoItem":"คุณต้องป้อนตัวเลือกอย่างน้อย 2 ตัวเลือก","option.common.select.tooltip.maxOptionInfoItem":"คุณไม่สามารถป้อนตัวเลือกได้มากกว่า 20 ตัวเลือก","option.common.select.addButton":"เพิ่มตัวเลือก"};
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = th;
|
|
@@ -7,7 +7,6 @@ import styled from 'styled-components';
|
|
|
7
7
|
import { MaterialSurveyProvider, useMaterialSurveyState, useMaterialSurveyDispatch } from './context/MaterialSurveyContext.js';
|
|
8
8
|
import messageEn from './locales/en.json.js';
|
|
9
9
|
import messageKo from './locales/ko.json.js';
|
|
10
|
-
import messageTh from './locales/th.json.js';
|
|
11
10
|
import MaterialSurveyShimmer from './MaterialSurveyShimmer.js';
|
|
12
11
|
import MaterialSurveyInfo from './MaterialSurveyInfo.js';
|
|
13
12
|
|
|
@@ -89,6 +88,6 @@ const MaterialSurveyContainer = ({
|
|
|
89
88
|
onNext: onNext
|
|
90
89
|
}, React.createElement(MaterialSurvey, null)));
|
|
91
90
|
};
|
|
92
|
-
var MaterialSurvey$1 = new IntlComponentBuilder(MaterialSurveyContainer).add('en', messageEn).add('ko', messageKo).
|
|
91
|
+
var MaterialSurvey$1 = new IntlComponentBuilder(MaterialSurveyContainer).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
93
92
|
|
|
94
93
|
export { MaterialSurvey$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var ja = {"materialSurvey.error":"アンケートの取得に失敗しました。","materialSurvey.submit":"提出","materialSurvey.submittedAnswer":"提出された回答","materialSurvey.next":"次の質問 >","materialSurvey.myAnswer":"私の答え","materialSurvey.empty.title":"調査は現在準備中です。","materialSurvey.empty.description":"調査投稿後にもう一度ご確認ください!","materialSurvey.survey.empty.title":"調査は現在準備中です。","materialSurvey.survey.empty.description":"調査投稿後にもう一度ご確認ください!","materialSurvey.submitStatus.success":"提出済","materialSurvey.submitStatus.failure":"提出に失敗しました。","materialSurvey.resultStatus.submitted":"提出済","materialSurvey.text.placeholder":"回答を入力してください"};
|
|
2
|
+
|
|
3
|
+
export { ja as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"materialSurvey.error":"ไม่สามารถเรียกดูแบบสำรวจได้","materialSurvey.submit":"ส่งใบสมัคร","materialSurvey.submittedAnswer":"ฉันสามารถตอบคำถามเช่นนี้ได้","materialSurvey.next":"คำถามถัดไป >","materialSurvey.myAnswer":"คำตอบของฉัน","materialSurvey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialSurvey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialSurvey.survey.empty.title":"การสำรวจกำลังเตรียมการอยู่ค่ะ","materialSurvey.survey.empty.description":"โปรดตรวจสอบอีกครั้งหลังจากโพสต์แบบสำรวจ!","materialSurvey.submitStatus.success":"เสนอ","materialSurvey.submitStatus.failure":"การส่งล้มเหลว","materialSurvey.resultStatus.submitted":"เสนอ","materialSurvey.text.placeholder":"กรุณากรอกคำตอบ"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { th as default };
|
|
@@ -6,7 +6,6 @@ import { manipulateValue, restoreValue } from './utils/editValue.js';
|
|
|
6
6
|
import MaterialSurveyEditContext from './context.js';
|
|
7
7
|
import messageEn from './locales/en.json.js';
|
|
8
8
|
import messageKo from './locales/ko.json.js';
|
|
9
|
-
import messageTh from './locales/th.json.js';
|
|
10
9
|
import MaterialSurveyEditContent from './MaterialSurveyEditContent.js';
|
|
11
10
|
|
|
12
11
|
//
|
|
@@ -85,6 +84,6 @@ const MaterialSurveyEdit = forwardRef(({
|
|
|
85
84
|
}
|
|
86
85
|
}, React.createElement(FormProvider, Object.assign({}, useFormMethods), React.createElement(MaterialSurveyEditContent, null)))));
|
|
87
86
|
});
|
|
88
|
-
var MaterialSurveyEdit$1 = new IntlComponentBuilder(MaterialSurveyEdit).add('en', messageEn).add('ko', messageKo).
|
|
87
|
+
var MaterialSurveyEdit$1 = new IntlComponentBuilder(MaterialSurveyEdit).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
89
88
|
|
|
90
89
|
export { MaterialSurveyEdit$1 as default };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var ja = {"common.option":"オプション {number}","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","content.title":"質問","content.title.errorMessage.required":"質問を記入してください。","content.title.placeholder":"質問を入力してください。","content.description.title":"詳細な内容","content.description.placeholder":"詳細な質問の説明や画像などを入力してください。","content.option.title":"回答","content.option.tooltip.disabled":"質問が公開されているか、{_termPathRoleStudent}さんが質問を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された質問を確認できます。","content.option.select.items.selectOne":"シングルチョイス","content.option.select.items.selectMultiple":"マルチプルチョイス","content.option.select.items.text":"短い回答","option.common.select.errorMessage.required":"オプションを入力してください。","option.common.select.placeholder":"オプションを入力してください","option.common.select.tooltip.minOptionInfoItem":"少なくとも2つのオプションを入力する必要があります。","option.common.select.tooltip.maxOptionInfoItem":"20個以上のオプションを入力することはできません。","option.common.select.addButton":"オプションを追加する"};
|
|
2
|
+
|
|
3
|
+
export { ja as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = {"common.option":"ตัวเลือก {number}","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","content.title":"คำถาม","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.placeholder":"กรุณากรอกคำถาม","content.description.title":"เนื้อหาอย่างละเอียด","content.description.placeholder":"กรุณากรอกคำอธิบายข้อความหรือรูปภาพอย่างละเอียด ฯลฯ","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้เมื่อคำถามเป็นสาธารณะหรือมี {_termPathRoleStudent} ที่ส่งคำถามแล้ว\nคุณสามารถตรวจสอบคำถามที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้","content.option.select.items.selectOne":"เลือกเดียว","content.option.select.items.selectMultiple":"ตัวเลือกหลายอย่าง","content.option.select.items.text":"คำตอบสั้นๆ","option.common.select.errorMessage.required":"กรุณากรอกตัวเลือก","option.common.select.placeholder":"ป้อนตัวเลือก","option.common.select.tooltip.minOptionInfoItem":"คุณต้องป้อนตัวเลือกอย่างน้อย 2 ตัวเลือก","option.common.select.tooltip.maxOptionInfoItem":"คุณไม่สามารถป้อนตัวเลือกได้มากกว่า 20 ตัวเลือก","option.common.select.addButton":"เพิ่มตัวเลือก"};
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { th as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-survey",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240522.0",
|
|
4
4
|
"description": "User view and editing components of Elice material survey",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"@elice/design-tokens": "^1.220803.0",
|
|
51
51
|
"@elice/icons": "^1.230814.0",
|
|
52
52
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
53
|
-
"@elice/intl": "0.240425.0-rc.
|
|
53
|
+
"@elice/intl": "0.240425.0-rc.2",
|
|
54
54
|
"@elice/markdown": "^1.220815.0",
|
|
55
|
-
"@elice/material-shared-types": "1.
|
|
56
|
-
"@elice/material-shared-utils": "1.
|
|
55
|
+
"@elice/material-shared-types": "1.240522.0",
|
|
56
|
+
"@elice/material-shared-utils": "1.240522.0",
|
|
57
57
|
"@elice/types": "^1.240208.0",
|
|
58
58
|
"@types/classnames": "^2.3.1",
|
|
59
59
|
"@types/react": "~17.0.9",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"react-use": "^17.2.4",
|
|
64
64
|
"styled-components": "^5.3.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "19eccc67cf5feb8de8d0f314d82314743b585f83"
|
|
67
67
|
}
|