mario-core 2.9.417-feedback → 2.9.417-release
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/dist/containers/User/hooks/useCSVImportTab.d.ts +0 -2
- package/dist/index.js +115 -151
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +115 -151
- package/dist/index.modern.js.map +1 -1
- package/dist/services/csvImportService.d.ts +0 -2
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- package/dist/utils/constants.d.ts +0 -4
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2189,7 +2189,6 @@ var save_new_password = "Save new password";
|
|
|
2189
2189
|
var teacher_code = "Teacher code";
|
|
2190
2190
|
var number_of_conversations = "Number of conversations";
|
|
2191
2191
|
var number_of_expected_conversations_based_on_the_goal = "Number of expected conversations based on the goal";
|
|
2192
|
-
var check_in = "Check-in";
|
|
2193
2192
|
var lang_us = {
|
|
2194
2193
|
dashboard: dashboard,
|
|
2195
2194
|
user: user,
|
|
@@ -4395,8 +4394,7 @@ var lang_us = {
|
|
|
4395
4394
|
save_new_password: save_new_password,
|
|
4396
4395
|
teacher_code: teacher_code,
|
|
4397
4396
|
number_of_conversations: number_of_conversations,
|
|
4398
|
-
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal
|
|
4399
|
-
check_in: check_in
|
|
4397
|
+
number_of_expected_conversations_based_on_the_goal: number_of_expected_conversations_based_on_the_goal
|
|
4400
4398
|
};
|
|
4401
4399
|
|
|
4402
4400
|
var dashboard$1 = "Dashboard";
|
|
@@ -4414,7 +4412,7 @@ var cancel$1 = "Cancel";
|
|
|
4414
4412
|
var hey$1 = "Hey";
|
|
4415
4413
|
var readiness_to_learn$1 = "Readiness to Learn";
|
|
4416
4414
|
var high_impact_learning_strategies$1 = "High Impact Learning Strategies";
|
|
4417
|
-
var check_in
|
|
4415
|
+
var check_in = "Check In";
|
|
4418
4416
|
var check_ins$1 = "Check Ins";
|
|
4419
4417
|
var reflection$1 = "Reflection";
|
|
4420
4418
|
var conferences$1 = "Conferences";
|
|
@@ -6567,7 +6565,7 @@ var lang_uk = {
|
|
|
6567
6565
|
readiness_to_learn: readiness_to_learn$1,
|
|
6568
6566
|
high_impact_learning_strategies: high_impact_learning_strategies$1,
|
|
6569
6567
|
"1_to_1": "1 to 1",
|
|
6570
|
-
check_in: check_in
|
|
6568
|
+
check_in: check_in,
|
|
6571
6569
|
check_ins: check_ins$1,
|
|
6572
6570
|
reflection: reflection$1,
|
|
6573
6571
|
conferences: conferences$1,
|
|
@@ -8771,7 +8769,7 @@ var cancel$2 = "إلغاء";
|
|
|
8771
8769
|
var hey$2 = "مرحبًا";
|
|
8772
8770
|
var readiness_to_learn$2 = "الاستعداد للتعلم";
|
|
8773
8771
|
var high_impact_learning_strategies$2 = "استراتيجيات التعلم عالية التأثير";
|
|
8774
|
-
var check_in$
|
|
8772
|
+
var check_in$1 = "تسجيل الحضور";
|
|
8775
8773
|
var check_ins$2 = "عمليات تسجيل الحضور";
|
|
8776
8774
|
var reflection$2 = "التفكير";
|
|
8777
8775
|
var conferences$2 = "اللقاءات";
|
|
@@ -10954,7 +10952,7 @@ var lang_ar = {
|
|
|
10954
10952
|
readiness_to_learn: readiness_to_learn$2,
|
|
10955
10953
|
high_impact_learning_strategies: high_impact_learning_strategies$2,
|
|
10956
10954
|
"1_to_1": "1 إلى 1",
|
|
10957
|
-
check_in: check_in$
|
|
10955
|
+
check_in: check_in$1,
|
|
10958
10956
|
check_ins: check_ins$2,
|
|
10959
10957
|
reflection: reflection$2,
|
|
10960
10958
|
conferences: conferences$2,
|
|
@@ -13190,7 +13188,7 @@ var cancel$3 = "Cancelar";
|
|
|
13190
13188
|
var hey$3 = "Hola";
|
|
13191
13189
|
var readiness_to_learn$3 = "Preparación para el aprendizaje";
|
|
13192
13190
|
var high_impact_learning_strategies$3 = "Estrategias de aprendizaje de alto impacto";
|
|
13193
|
-
var check_in$
|
|
13191
|
+
var check_in$2 = "Registro";
|
|
13194
13192
|
var check_ins$3 = "Registro de entrada";
|
|
13195
13193
|
var reflection$3 = "Reflexión";
|
|
13196
13194
|
var conferences$3 = "Conferencias";
|
|
@@ -15373,7 +15371,7 @@ var lang_es = {
|
|
|
15373
15371
|
readiness_to_learn: readiness_to_learn$3,
|
|
15374
15372
|
high_impact_learning_strategies: high_impact_learning_strategies$3,
|
|
15375
15373
|
"1_to_1": "1 a 1",
|
|
15376
|
-
check_in: check_in$
|
|
15374
|
+
check_in: check_in$2,
|
|
15377
15375
|
check_ins: check_ins$3,
|
|
15378
15376
|
reflection: reflection$3,
|
|
15379
15377
|
conferences: conferences$3,
|
|
@@ -17609,7 +17607,7 @@ var cancel$4 = "取消";
|
|
|
17609
17607
|
var hey$4 = "您好";
|
|
17610
17608
|
var readiness_to_learn$4 = "准备学习";
|
|
17611
17609
|
var high_impact_learning_strategies$4 = "高效学习策略";
|
|
17612
|
-
var check_in$
|
|
17610
|
+
var check_in$3 = "签到";
|
|
17613
17611
|
var check_ins$4 = "签到";
|
|
17614
17612
|
var reflection$4 = "反思";
|
|
17615
17613
|
var conferences$4 = "讨论会";
|
|
@@ -19792,7 +19790,7 @@ var lang_zh = {
|
|
|
19792
19790
|
readiness_to_learn: readiness_to_learn$4,
|
|
19793
19791
|
high_impact_learning_strategies: high_impact_learning_strategies$4,
|
|
19794
19792
|
"1_to_1": "一对一",
|
|
19795
|
-
check_in: check_in$
|
|
19793
|
+
check_in: check_in$3,
|
|
19796
19794
|
check_ins: check_ins$4,
|
|
19797
19795
|
reflection: reflection$4,
|
|
19798
19796
|
conferences: conferences$4,
|
|
@@ -22168,12 +22166,6 @@ var LANGUAGES = [{
|
|
|
22168
22166
|
var DEFAULT_LANGUAGE_CODE = "en-US";
|
|
22169
22167
|
var SUPPORTED_LANGUAGES_CODE = ["en-US", "en-GB", "ar", "es", "zh"];
|
|
22170
22168
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
22171
|
-
var CsvImportType;
|
|
22172
|
-
|
|
22173
|
-
(function (CsvImportType) {
|
|
22174
|
-
CsvImportType[CsvImportType["Teacher"] = 0] = "Teacher";
|
|
22175
|
-
CsvImportType[CsvImportType["Admin"] = 1] = "Admin";
|
|
22176
|
-
})(CsvImportType || (CsvImportType = {}));
|
|
22177
22169
|
|
|
22178
22170
|
var resources$5 = {
|
|
22179
22171
|
"en-US": {
|
|
@@ -39658,7 +39650,7 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
39658
39650
|
|
|
39659
39651
|
var onSuccessGoogle = function onSuccessGoogle(res) {
|
|
39660
39652
|
if (!!(res !== null && res !== void 0 && res.accessToken)) {
|
|
39661
|
-
var _hostName$split, _email$split;
|
|
39653
|
+
var _hostName$split, _email$split, _extensionEmail$split, _extensionEmail$split2;
|
|
39662
39654
|
|
|
39663
39655
|
var _res$profileObj = res.profileObj,
|
|
39664
39656
|
email = _res$profileObj.email,
|
|
@@ -39671,8 +39663,15 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
39671
39663
|
var hostName = window.location.hostname;
|
|
39672
39664
|
var subDomain = (_hostName$split = hostName.split(".marioforme.com")) === null || _hostName$split === void 0 ? void 0 : _hostName$split[0];
|
|
39673
39665
|
var emailDomain = (_email$split = email.split("@")) === null || _email$split === void 0 ? void 0 : _email$split[1];
|
|
39666
|
+
var matchExtension = extensionEmail === null || extensionEmail === void 0 ? void 0 : (_extensionEmail$split = extensionEmail.split(",")) === null || _extensionEmail$split === void 0 ? void 0 : (_extensionEmail$split2 = _extensionEmail$split.map(function (x) {
|
|
39667
|
+
return x.trim();
|
|
39668
|
+
})) === null || _extensionEmail$split2 === void 0 ? void 0 : _extensionEmail$split2.filter(function (x) {
|
|
39669
|
+
return x;
|
|
39670
|
+
}).some(function (ext) {
|
|
39671
|
+
return emailDomain.includes(ext);
|
|
39672
|
+
});
|
|
39674
39673
|
|
|
39675
|
-
if (!emailDomain.includes(subDomain) && !
|
|
39674
|
+
if (!emailDomain.includes(subDomain) && !matchExtension) {
|
|
39676
39675
|
alert("The email address you used does not match the login information in the database. Please check that you are using your school assigned email address to log into MARIO for Me. If you have further trouble please notify your school site administrator");
|
|
39677
39676
|
return;
|
|
39678
39677
|
}
|
|
@@ -41315,14 +41314,7 @@ var BlockCreatePassword = function BlockCreatePassword() {
|
|
|
41315
41314
|
className: "" + styles["img-login-rectangle"]
|
|
41316
41315
|
}), React.createElement("p", {
|
|
41317
41316
|
className: "" + styles["title-login"]
|
|
41318
|
-
}, "You cannot regenerate the password"))))
|
|
41319
|
-
lg: 4,
|
|
41320
|
-
md: 4,
|
|
41321
|
-
className: "" + styles["img-box"]
|
|
41322
|
-
}, React.createElement("img", {
|
|
41323
|
-
src: "/images/img-login.png",
|
|
41324
|
-
className: "" + styles["img-login"]
|
|
41325
|
-
})));
|
|
41317
|
+
}, "You cannot regenerate the password")))));
|
|
41326
41318
|
});
|
|
41327
41319
|
};
|
|
41328
41320
|
|
|
@@ -45848,9 +45840,6 @@ var importUsersCSV = function importUsersCSV(formData) {
|
|
|
45848
45840
|
var downloadTemplateFileUser = function downloadTemplateFileUser() {
|
|
45849
45841
|
return api.get(CSV_FILE_TEACHER + "/download-template-file-user");
|
|
45850
45842
|
};
|
|
45851
|
-
var validateCsvApi = function validateCsvApi(formData, type) {
|
|
45852
|
-
return api.post(CSV_FILE_TEACHER + "/validate-csv-template-student/" + type, formData);
|
|
45853
|
-
};
|
|
45854
45843
|
|
|
45855
45844
|
var CSVType;
|
|
45856
45845
|
|
|
@@ -49647,7 +49636,7 @@ var style$2 = {
|
|
|
49647
49636
|
color: "#fff",
|
|
49648
49637
|
fontWeight: 500,
|
|
49649
49638
|
fontSize: "14px",
|
|
49650
|
-
height: "
|
|
49639
|
+
height: "100%",
|
|
49651
49640
|
justifyContent: "center"
|
|
49652
49641
|
};
|
|
49653
49642
|
|
|
@@ -49746,19 +49735,15 @@ var useCSVImportTab = function useCSVImportTab() {
|
|
|
49746
49735
|
studentDataFile = _useState5[0],
|
|
49747
49736
|
setStudentDataFile = _useState5[1];
|
|
49748
49737
|
|
|
49749
|
-
var _useState6 = useState([]),
|
|
49750
|
-
errorsValidate = _useState6[0],
|
|
49751
|
-
setErrorsValidate = _useState6[1];
|
|
49752
|
-
|
|
49753
49738
|
var isCheckDomainIBS = true;
|
|
49754
49739
|
|
|
49755
|
-
var
|
|
49756
|
-
defaultTeacher =
|
|
49757
|
-
setDefaultTeacher =
|
|
49740
|
+
var _useState6 = useState(0),
|
|
49741
|
+
defaultTeacher = _useState6[0],
|
|
49742
|
+
setDefaultTeacher = _useState6[1];
|
|
49758
49743
|
|
|
49759
|
-
var
|
|
49760
|
-
fileName =
|
|
49761
|
-
setFileName =
|
|
49744
|
+
var _useState7 = useState(""),
|
|
49745
|
+
fileName = _useState7[0],
|
|
49746
|
+
setFileName = _useState7[1];
|
|
49762
49747
|
|
|
49763
49748
|
useEffect(function () {
|
|
49764
49749
|
document.title = title$5;
|
|
@@ -49803,10 +49788,10 @@ var useCSVImportTab = function useCSVImportTab() {
|
|
|
49803
49788
|
|
|
49804
49789
|
var upload = useCallback(function (file) {
|
|
49805
49790
|
try {
|
|
49806
|
-
var
|
|
49791
|
+
var _exit2 = false;
|
|
49807
49792
|
|
|
49808
|
-
var _temp12 = function _temp12(
|
|
49809
|
-
if (
|
|
49793
|
+
var _temp12 = function _temp12(_result2) {
|
|
49794
|
+
if (_exit2) return _result2;
|
|
49810
49795
|
dispatch(setLoading(false));
|
|
49811
49796
|
var inputId = document.getElementById(id$1);
|
|
49812
49797
|
var input = document.getElementById('import-student');
|
|
@@ -49820,114 +49805,103 @@ var useCSVImportTab = function useCSVImportTab() {
|
|
|
49820
49805
|
dispatch(setLoading(true));
|
|
49821
49806
|
|
|
49822
49807
|
var _temp13 = _catch(function () {
|
|
49808
|
+
function _temp9(_result) {
|
|
49809
|
+
if (_exit2) return _result;
|
|
49810
|
+
dispatch(setAlert({
|
|
49811
|
+
type: "success",
|
|
49812
|
+
message: "Import CSV successfully"
|
|
49813
|
+
}));
|
|
49814
|
+
}
|
|
49815
|
+
|
|
49823
49816
|
var formData = new FormData();
|
|
49824
49817
|
formData.append("file", file, file.name);
|
|
49825
|
-
var typeOfCsv = type === CSVType$1.AllUser ? CsvImportType.Admin : CsvImportType.Teacher;
|
|
49826
|
-
return Promise.resolve(validateCsvApi(formData, typeOfCsv)).then(function (res) {
|
|
49827
|
-
var _exit2 = false;
|
|
49828
|
-
|
|
49829
|
-
function _temp9(_result2) {
|
|
49830
|
-
if (_exit2) return _result2;
|
|
49831
|
-
dispatch(setAlert({
|
|
49832
|
-
type: "success",
|
|
49833
|
-
message: "Import CSV successfully"
|
|
49834
|
-
}));
|
|
49835
|
-
}
|
|
49836
49818
|
|
|
49837
|
-
|
|
49838
|
-
|
|
49839
|
-
|
|
49840
|
-
|
|
49841
|
-
|
|
49842
|
-
|
|
49843
|
-
|
|
49844
|
-
|
|
49845
|
-
|
|
49846
|
-
|
|
49847
|
-
var fileText = fileTextRaw.trim();
|
|
49848
|
-
var rows = fileText.split("\n").map(function (row) {
|
|
49849
|
-
return row.trim();
|
|
49850
|
-
});
|
|
49851
|
-
var headerIndex = rows.findIndex(function (row) {
|
|
49852
|
-
return row.split(",").includes("First Name");
|
|
49853
|
-
});
|
|
49819
|
+
var _temp8 = function () {
|
|
49820
|
+
if (type == CSVType$1.AllUser) {
|
|
49821
|
+
return Promise.resolve(file.text()).then(function (fileTextRaw) {
|
|
49822
|
+
var fileText = fileTextRaw.trim();
|
|
49823
|
+
var rows = fileText.split("\n").map(function (row) {
|
|
49824
|
+
return row.trim();
|
|
49825
|
+
});
|
|
49826
|
+
var headerIndex = rows.findIndex(function (row) {
|
|
49827
|
+
return row.split(",").includes("First Name");
|
|
49828
|
+
});
|
|
49854
49829
|
|
|
49855
|
-
|
|
49856
|
-
|
|
49857
|
-
|
|
49830
|
+
if (headerIndex === 0) {
|
|
49831
|
+
throw new Error("Invalid CSV: Missing header row.");
|
|
49832
|
+
}
|
|
49858
49833
|
|
|
49859
|
-
|
|
49860
|
-
|
|
49861
|
-
|
|
49862
|
-
|
|
49863
|
-
|
|
49864
|
-
|
|
49865
|
-
|
|
49834
|
+
fileText = rows.slice(headerIndex).join("\n");
|
|
49835
|
+
var parsedData = Papa.parse(fileText, {
|
|
49836
|
+
header: true,
|
|
49837
|
+
skipEmptyLines: true
|
|
49838
|
+
});
|
|
49839
|
+
var header = parsedData.meta.fields;
|
|
49840
|
+
var dataRows = parsedData.data;
|
|
49866
49841
|
|
|
49867
|
-
|
|
49868
|
-
|
|
49869
|
-
|
|
49870
|
-
|
|
49871
|
-
|
|
49872
|
-
|
|
49873
|
-
|
|
49874
|
-
|
|
49875
|
-
|
|
49842
|
+
if (!!!dataRows.length) {
|
|
49843
|
+
dispatch(setLoading(false));
|
|
49844
|
+
dispatch(setAlert({
|
|
49845
|
+
type: "danger",
|
|
49846
|
+
message: 'The file has no data or some column names are misformed.'
|
|
49847
|
+
}));
|
|
49848
|
+
_exit2 = true;
|
|
49849
|
+
return;
|
|
49850
|
+
}
|
|
49876
49851
|
|
|
49877
|
-
|
|
49878
|
-
|
|
49852
|
+
var chunkSize = 10;
|
|
49853
|
+
var chunks = [];
|
|
49879
49854
|
|
|
49880
|
-
|
|
49881
|
-
|
|
49882
|
-
|
|
49883
|
-
|
|
49884
|
-
|
|
49885
|
-
});
|
|
49855
|
+
for (var _i = 0; _i < dataRows.length; _i += chunkSize) {
|
|
49856
|
+
var chunkData = dataRows.slice(_i, _i + chunkSize);
|
|
49857
|
+
var valuesOnly = chunkData.map(function (row) {
|
|
49858
|
+
return Object.values(row).map(function (v) {
|
|
49859
|
+
return (v != null ? v : "").toString().trim();
|
|
49886
49860
|
});
|
|
49861
|
+
});
|
|
49887
49862
|
|
|
49888
|
-
|
|
49889
|
-
|
|
49890
|
-
}
|
|
49891
|
-
|
|
49892
|
-
console.log({
|
|
49893
|
-
valuesOnly: valuesOnly
|
|
49894
|
-
});
|
|
49895
|
-
chunks.push(valuesOnly);
|
|
49863
|
+
if (header) {
|
|
49864
|
+
valuesOnly.unshift(header);
|
|
49896
49865
|
}
|
|
49897
49866
|
|
|
49898
|
-
|
|
49899
|
-
|
|
49900
|
-
chunks: chunks[i]
|
|
49901
|
-
})).then(function () {
|
|
49902
|
-
return Promise.resolve(new Promise(function (res) {
|
|
49903
|
-
return setTimeout(res, 500);
|
|
49904
|
-
})).then(function () {});
|
|
49905
|
-
});
|
|
49867
|
+
console.log({
|
|
49868
|
+
valuesOnly: valuesOnly
|
|
49906
49869
|
});
|
|
49870
|
+
chunks.push(valuesOnly);
|
|
49871
|
+
}
|
|
49907
49872
|
|
|
49908
|
-
|
|
49873
|
+
var _temp5 = _forTo(chunks, function (i) {
|
|
49874
|
+
return Promise.resolve(importChunkFileUsers({
|
|
49875
|
+
chunks: chunks[i]
|
|
49876
|
+
})).then(function () {
|
|
49877
|
+
return Promise.resolve(new Promise(function (res) {
|
|
49878
|
+
return setTimeout(res, 500);
|
|
49879
|
+
})).then(function () {});
|
|
49880
|
+
});
|
|
49909
49881
|
});
|
|
49910
|
-
} else {
|
|
49911
|
-
var _temp14 = function () {
|
|
49912
|
-
if (isCheckDomainIBS) {
|
|
49913
|
-
var _temp15 = function () {
|
|
49914
|
-
if (type == CSVType$1.ClassReflection) {
|
|
49915
|
-
return Promise.resolve(importClassReflectionCSV$1(formData)).then(function () {});
|
|
49916
|
-
}
|
|
49917
|
-
}();
|
|
49918
|
-
|
|
49919
|
-
if (_temp15 && _temp15.then) return _temp15.then(function () {});
|
|
49920
|
-
} else {
|
|
49921
|
-
return Promise.resolve(importCSV$1(formData, type.toString())).then(function () {});
|
|
49922
|
-
}
|
|
49923
|
-
}();
|
|
49924
49882
|
|
|
49925
|
-
if (
|
|
49926
|
-
}
|
|
49927
|
-
}
|
|
49883
|
+
if (_temp5 && _temp5.then) return _temp5.then(function () {});
|
|
49884
|
+
});
|
|
49885
|
+
} else {
|
|
49886
|
+
var _temp14 = function () {
|
|
49887
|
+
if (isCheckDomainIBS) {
|
|
49888
|
+
var _temp15 = function () {
|
|
49889
|
+
if (type == CSVType$1.ClassReflection) {
|
|
49890
|
+
return Promise.resolve(importClassReflectionCSV$1(formData)).then(function () {});
|
|
49891
|
+
}
|
|
49892
|
+
}();
|
|
49928
49893
|
|
|
49929
|
-
|
|
49930
|
-
|
|
49894
|
+
if (_temp15 && _temp15.then) return _temp15.then(function () {});
|
|
49895
|
+
} else {
|
|
49896
|
+
return Promise.resolve(importCSV$1(formData, type.toString())).then(function () {});
|
|
49897
|
+
}
|
|
49898
|
+
}();
|
|
49899
|
+
|
|
49900
|
+
if (_temp14 && _temp14.then) return _temp14.then(function () {});
|
|
49901
|
+
}
|
|
49902
|
+
}();
|
|
49903
|
+
|
|
49904
|
+
return _temp8 && _temp8.then ? _temp8.then(_temp9) : _temp9(_temp8);
|
|
49931
49905
|
}, function (err) {
|
|
49932
49906
|
var _err$response, _err$response$data;
|
|
49933
49907
|
|
|
@@ -50082,9 +50056,7 @@ var useCSVImportTab = function useCSVImportTab() {
|
|
|
50082
50056
|
defaultTeacher: defaultTeacher,
|
|
50083
50057
|
fileName: fileName,
|
|
50084
50058
|
onStudentSubmit: onStudentSubmit,
|
|
50085
|
-
downloadTemplateUser: downloadTemplateUser
|
|
50086
|
-
errorsValidate: errorsValidate,
|
|
50087
|
-
setErrorsValidate: setErrorsValidate
|
|
50059
|
+
downloadTemplateUser: downloadTemplateUser
|
|
50088
50060
|
};
|
|
50089
50061
|
};
|
|
50090
50062
|
|
|
@@ -50111,8 +50083,7 @@ var CSVImport = function CSVImport() {
|
|
|
50111
50083
|
setArrStudent = _useCSVImportTab.setArrStudent,
|
|
50112
50084
|
buttons = _useCSVImportTab.buttons,
|
|
50113
50085
|
upload = _useCSVImportTab.upload,
|
|
50114
|
-
downloadTemplateUser = _useCSVImportTab.downloadTemplateUser
|
|
50115
|
-
errorsValidate = _useCSVImportTab.errorsValidate;
|
|
50086
|
+
downloadTemplateUser = _useCSVImportTab.downloadTemplateUser;
|
|
50116
50087
|
|
|
50117
50088
|
var _useTranslation = useTranslation(),
|
|
50118
50089
|
t = _useTranslation.t;
|
|
@@ -50165,9 +50136,9 @@ var CSVImport = function CSVImport() {
|
|
|
50165
50136
|
accept: "text/csv"
|
|
50166
50137
|
}), React.createElement(Col, {
|
|
50167
50138
|
md: 6,
|
|
50168
|
-
className: "mb-2 d-flex
|
|
50139
|
+
className: "mb-2 d-flex align-items-end"
|
|
50169
50140
|
}, React.createElement(Row, {
|
|
50170
|
-
className: "w-100
|
|
50141
|
+
className: "w-100"
|
|
50171
50142
|
}, React.createElement(Col, {
|
|
50172
50143
|
md: 12,
|
|
50173
50144
|
className: ""
|
|
@@ -50196,9 +50167,7 @@ var CSVImport = function CSVImport() {
|
|
|
50196
50167
|
})))), React.createElement(Col, {
|
|
50197
50168
|
md: 6,
|
|
50198
50169
|
className: "mb-2"
|
|
50199
|
-
}, React.createElement(Row, {
|
|
50200
|
-
className: "flex-column"
|
|
50201
|
-
}, React.createElement(Col, {
|
|
50170
|
+
}, React.createElement(Row, null, React.createElement(Col, {
|
|
50202
50171
|
md: 12,
|
|
50203
50172
|
className: "mb-2 text-right"
|
|
50204
50173
|
}, React.createElement(Button, {
|
|
@@ -50228,12 +50197,7 @@ var CSVImport = function CSVImport() {
|
|
|
50228
50197
|
return setType(button.type);
|
|
50229
50198
|
}
|
|
50230
50199
|
});
|
|
50231
|
-
}))
|
|
50232
|
-
return React.createElement(ErrorHandler, {
|
|
50233
|
-
key: index,
|
|
50234
|
-
text: error
|
|
50235
|
-
});
|
|
50236
|
-
}))));
|
|
50200
|
+
})))));
|
|
50237
50201
|
}))) );
|
|
50238
50202
|
};
|
|
50239
50203
|
|