acsi-core 0.1.38 → 0.1.39
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/index.d.ts +2 -2
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/redux/commons/action.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const historyCore: import("history").History<unknown>;
|
|
2
|
-
import { setLoading, setAlert, setTenant, setAddTenant, setTeam, setUser, setMenuCollapse, setIsRefetchSidebar } from "./redux/commons/action";
|
|
2
|
+
import { setLoading, setAlert, setTenant, setAddTenant, setTeam, setUser, setMenuCollapse, setIsRefetchSidebar, setLoadingPage } from "./redux/commons/action";
|
|
3
3
|
import { BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, OPENSALT_BASE_URL, ORGANIZATION_TEAM, ORGANIZATION_TENANT } from "./utils/constants";
|
|
4
4
|
import Login from "./containers/Login/views/Login";
|
|
5
5
|
import store from "./store";
|
|
@@ -22,4 +22,4 @@ import CustomSelect from "./components/Selects/CustomSelect";
|
|
|
22
22
|
import CustomAsyncSelect from "./components/Selects/CustomAsyncSelect";
|
|
23
23
|
import CustomCreatable from "./components/Selects/CustomCreatable";
|
|
24
24
|
import CustomSelectOption from "./components/Selects/CustomSelectOption";
|
|
25
|
-
export { setLoading, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, Login, getAccessToken, store, historyCore, setAlert, setUser, setTenant, setAddTenant, setTeam, setMenuCollapse, setIsRefetchSidebar, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, ToastContainer, toast, Role, CustomPagination, useGoogleSignOut, CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput, getErrorMessage, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption, GoogleOAuthProvider };
|
|
25
|
+
export { setLoading, setLoadingPage, BASE_URL, OPENSALT_BASE_URL, ACCESS_TOKEN, DATE_TIME_MIN_VALUE, ORGANIZATION_TEAM, ORGANIZATION_TENANT, firstCheckToken, Login, getAccessToken, store, historyCore, setAlert, setUser, setTenant, setAddTenant, setTeam, setMenuCollapse, setIsRefetchSidebar, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, ToastContainer, toast, Role, CustomPagination, useGoogleSignOut, CoreButton, CoreInput, CoreSelect, CoreCheckbox, CoreRadio, CoreError, CoreModal, CoreRange, CoreTextArea, CoreSearch, CoreSelectCompact, CoreInputCompact, CoreTitleInput, getErrorMessage, CustomSelect, CustomAsyncSelect, CustomCreatable, CustomSelectOption, GoogleOAuthProvider };
|
package/dist/index.js
CHANGED
|
@@ -19,6 +19,7 @@ var fa = require('react-icons/fa');
|
|
|
19
19
|
var CreatableSelect = _interopDefault(require('react-select/creatable'));
|
|
20
20
|
|
|
21
21
|
var setLoading = toolkit.createAction("common/setLoading");
|
|
22
|
+
var setLoadingPage = toolkit.createAction("common/setLoadingPage");
|
|
22
23
|
var setAlert = toolkit.createAction("common/setAlert");
|
|
23
24
|
var setUser = toolkit.createAction("common/setUser");
|
|
24
25
|
var setLanguage = toolkit.createAction("common/setLanguage");
|
|
@@ -551,6 +552,7 @@ function combineReducers(reducers) {
|
|
|
551
552
|
|
|
552
553
|
var initialState = {
|
|
553
554
|
isLoading: false,
|
|
555
|
+
isLoadingPage: false,
|
|
554
556
|
alert: {
|
|
555
557
|
type: "",
|
|
556
558
|
message: ""
|
|
@@ -563,6 +565,8 @@ var initialState = {
|
|
|
563
565
|
var commonReducer = toolkit.createReducer(initialState, function (builder) {
|
|
564
566
|
builder.addCase(setLoading, function (state, action) {
|
|
565
567
|
state.isLoading = action.payload;
|
|
568
|
+
}).addCase(setLoadingPage, function (state, action) {
|
|
569
|
+
state.isLoadingPage = action.payload;
|
|
566
570
|
}).addCase(setAlert, function (state, action) {
|
|
567
571
|
state.alert = action.payload;
|
|
568
572
|
}).addCase(setUser, function (state, action) {
|
|
@@ -2139,6 +2143,7 @@ exports.setAddTenant = setAddTenant;
|
|
|
2139
2143
|
exports.setAlert = setAlert;
|
|
2140
2144
|
exports.setIsRefetchSidebar = setIsRefetchSidebar;
|
|
2141
2145
|
exports.setLoading = setLoading;
|
|
2146
|
+
exports.setLoadingPage = setLoadingPage;
|
|
2142
2147
|
exports.setMenuCollapse = setMenuCollapse;
|
|
2143
2148
|
exports.setTeam = setTeam;
|
|
2144
2149
|
exports.setTenant = setTenant;
|