acsi-core 1.2.40 → 1.2.42
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/Login/apiClient/index.d.ts +5 -5
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/redux/commons/action.d.ts +1 -0
- package/dist/services/accountService.d.ts +6 -6
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -42,6 +42,7 @@ var setTenant = createAction("common/setTenant");
|
|
|
42
42
|
var setAddTenant = createAction("common/setAddTenant");
|
|
43
43
|
var setTeam = createAction("common/setTeam");
|
|
44
44
|
var setIsFirstCalendar = createAction("common/setIsFirstCalendar");
|
|
45
|
+
var setStandards = createAction("common/setStandards");
|
|
45
46
|
|
|
46
47
|
var REQUEST_ORIGIN = process.env.REACT_APP_REQUEST_ORIGIN || "";
|
|
47
48
|
var ADMIN_ORIGIN = process.env.REACT_APP_ADMIN_ORIGIN || "";
|
|
@@ -1767,14 +1768,15 @@ var apiUpload = axios.create({
|
|
|
1767
1768
|
});
|
|
1768
1769
|
});
|
|
1769
1770
|
|
|
1771
|
+
var IDP_URL = "" + process.env.REACT_APP_IDP_API_URL;
|
|
1770
1772
|
var apiLoginGoogle = function apiLoginGoogle(body) {
|
|
1771
|
-
return api.post(
|
|
1773
|
+
return api.post(IDP_URL + "/api/Auth/login", body);
|
|
1772
1774
|
};
|
|
1773
1775
|
var apiSendEmailCode = function apiSendEmailCode(body) {
|
|
1774
|
-
return api.post(
|
|
1776
|
+
return api.post(IDP_URL + "/api/Auth/send-code-email", body);
|
|
1775
1777
|
};
|
|
1776
1778
|
var apiCheckEmailCode = function apiCheckEmailCode(params) {
|
|
1777
|
-
return api.get(
|
|
1779
|
+
return api.get(IDP_URL + "/api/Auth/check-code-email", {
|
|
1778
1780
|
params: params
|
|
1779
1781
|
});
|
|
1780
1782
|
};
|
|
@@ -2800,7 +2802,8 @@ var initialState = {
|
|
|
2800
2802
|
academy: null,
|
|
2801
2803
|
menuCollapse: false,
|
|
2802
2804
|
isRefetchSidebar: false,
|
|
2803
|
-
isFirstCalendar: false
|
|
2805
|
+
isFirstCalendar: false,
|
|
2806
|
+
standards: []
|
|
2804
2807
|
};
|
|
2805
2808
|
var commonReducer = createReducer(initialState, function (builder) {
|
|
2806
2809
|
builder.addCase(setLoading, function (state, action) {
|
|
@@ -2827,6 +2830,8 @@ var commonReducer = createReducer(initialState, function (builder) {
|
|
|
2827
2830
|
state.user.currentTeamId = action.payload;
|
|
2828
2831
|
}).addCase(setIsFirstCalendar, function (state) {
|
|
2829
2832
|
state.isFirstCalendar = !state.isFirstCalendar;
|
|
2833
|
+
}).addCase(setStandards, function (state, action) {
|
|
2834
|
+
state.standards = action.payload;
|
|
2830
2835
|
});
|
|
2831
2836
|
});
|
|
2832
2837
|
|
|
@@ -3634,5 +3639,5 @@ var timeSpanToUtc = (function (time, timezone, format) {
|
|
|
3634
3639
|
|
|
3635
3640
|
var historyCore = createBrowserHistory();
|
|
3636
3641
|
|
|
3637
|
-
export { ACCESS_TOKEN, AmplitudeEvent, BASE_URL, CommonDialog, ConfirmDialog, CoreButton, CoreInput$1 as CoreCheckbox, CoreError, CoreInput, CoreInputCompact, CoreModal, CoreRadio, CoreRange, CoreSearch, CoreSelect, CoreSelectCompact, CoreTextArea, CoreTitleInput, CoreTooltip, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_TIME_MIN_VALUE, LayoutContext, Loading, Login, MarkdownRenderer as MarkdownLatexRender, NotFound, OPENSALT_BASE_URL, ORGANIZATION_TEAM, ORGANIZATION_TENANT, RichContentRenderer, Role, TIMEZONE_ID, api, apiUpload, firstCheckToken, getAccessToken, getErrorMessage, getImageUrl, getTimeZoneId, historyCore, initSentry, initializeAmplitude, setAddTenant, setAlert, setIsFirstCalendar, setIsRefetchSidebar, setLoading, setLoadingPage, setMenuCollapse, setTeam, setTenant, setUser, store, timeSpanToLocalMoment, timeSpanToUtc, useAmplitude, useGoogleSignOut, utcToLocalTime };
|
|
3642
|
+
export { ACCESS_TOKEN, AmplitudeEvent, BASE_URL, CommonDialog, ConfirmDialog, CoreButton, CoreInput$1 as CoreCheckbox, CoreError, CoreInput, CoreInputCompact, CoreModal, CoreRadio, CoreRange, CoreSearch, CoreSelect, CoreSelectCompact, CoreTextArea, CoreTitleInput, CoreTooltip, CustomAsyncSelect, CustomCreatable, CustomPagination, CustomSelect, CustomSelectOption, DATE_TIME_MIN_VALUE, LayoutContext, Loading, Login, MarkdownRenderer as MarkdownLatexRender, NotFound, OPENSALT_BASE_URL, ORGANIZATION_TEAM, ORGANIZATION_TENANT, RichContentRenderer, Role, TIMEZONE_ID, api, apiUpload, firstCheckToken, getAccessToken, getErrorMessage, getImageUrl, getTimeZoneId, historyCore, initSentry, initializeAmplitude, setAddTenant, setAlert, setIsFirstCalendar, setIsRefetchSidebar, setLoading, setLoadingPage, setMenuCollapse, setStandards, setTeam, setTenant, setUser, store, timeSpanToLocalMoment, timeSpanToUtc, useAmplitude, useGoogleSignOut, utcToLocalTime };
|
|
3638
3643
|
//# sourceMappingURL=index.modern.js.map
|