@erpsquad/common 1.8.49 → 1.8.51
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/_virtual/index/index.esm.js +2 -4
- package/dist/_virtual/index/index.esm.js.map +1 -1
- package/dist/_virtual/index/index.esm3.js +4 -2
- package/dist/_virtual/index/index.esm3.js.map +1 -1
- package/dist/_virtual/index/index.js +1 -1
- package/dist/_virtual/index/index3.js +1 -1
- package/dist/index.esm.js +20 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/node_modules/prop-types/index/index.esm.js +1 -1
- package/dist/node_modules/prop-types/index/index.js +1 -1
- package/dist/node_modules/prop-types/index/index.js.map +1 -1
- package/dist/redux/index.esm.js +20 -5
- package/dist/redux/index.esm.js.map +1 -1
- package/dist/redux/index.js +1 -1
- package/dist/redux/toolkit.d.ts +9 -1
- package/dist/src/redux/toolkit.d.ts +9 -1
- package/dist/style.css +69 -69
- package/package.json +1 -1
package/dist/redux/index.esm.js
CHANGED
|
@@ -3,18 +3,28 @@ import { API_METHOD_GROUPS, createConfiguredApiClient, validateApiClient } from
|
|
|
3
3
|
import { useAppDispatch, useAppSelector, useLibraryDispatch, useLibrarySelector } from "./hooks/index.esm.js";
|
|
4
4
|
import { createModuleSlice } from "./module-reducer/index.esm.js";
|
|
5
5
|
import { createLibraryStore, getLibrarySlices, libraryReducers } from "./store/index.esm.js";
|
|
6
|
-
|
|
7
|
-
import { setCompanies, setError, setLoading } from "@reduxjs/toolkit";
|
|
6
|
+
import { combineReducers, configureStore, createAction, createAsyncThunk, createDraftSafeSelector, createEntityAdapter, createListenerMiddleware, createReducer, createSelector, createSlice, current, isAllOf, isAnyOf, isFulfilled, isPending, isRejected, isRejectedWithValue, nanoid, unwrapResult } from "@reduxjs/toolkit";
|
|
8
7
|
import { fetchLanguages, default as default2, resetHeaderState, resetLanguagesState, setCurrentLanguage, setLanguages, setLanguagesData } from "./slices/headerSlice/index.esm.js";
|
|
9
8
|
import { fetchBom, fetchOptions, default as default3, resetInventoryReportsTitleBarState, setAssemblyItems, setBomData, setItems, setWarehouseLocations } from "./slices/inventoryReportsTitleBarSlice/index.esm.js";
|
|
10
9
|
import { fetchCompanies, default as default4, resetReportsTitleBarState } from "./slices/reportsTitleBarSlice/index.esm.js";
|
|
11
10
|
import { getAllUserAndDepartmentDropdown, resetState, setDepartments, setUsers, sharePage, default as default5 } from "./slices/shareSlice/index.esm.js";
|
|
12
11
|
export {
|
|
13
12
|
API_METHOD_GROUPS,
|
|
13
|
+
combineReducers,
|
|
14
|
+
configureStore,
|
|
15
|
+
createAction,
|
|
16
|
+
createAsyncThunk,
|
|
14
17
|
createConfiguredApiClient,
|
|
18
|
+
createDraftSafeSelector,
|
|
19
|
+
createEntityAdapter,
|
|
15
20
|
createLibraryStore,
|
|
21
|
+
createListenerMiddleware,
|
|
16
22
|
createModuleSlice,
|
|
17
23
|
createParties,
|
|
24
|
+
createReducer,
|
|
25
|
+
createSelector,
|
|
26
|
+
createSlice,
|
|
27
|
+
current,
|
|
18
28
|
fetchBom,
|
|
19
29
|
fetchCompanies,
|
|
20
30
|
fetchLanguages,
|
|
@@ -27,7 +37,14 @@ export {
|
|
|
27
37
|
getOptions,
|
|
28
38
|
default2 as headerSlice,
|
|
29
39
|
default3 as inventoryReportsTitleBarSlice,
|
|
40
|
+
isAllOf,
|
|
41
|
+
isAnyOf,
|
|
42
|
+
isFulfilled,
|
|
43
|
+
isPending,
|
|
44
|
+
isRejected,
|
|
45
|
+
isRejectedWithValue,
|
|
30
46
|
libraryReducers,
|
|
47
|
+
nanoid,
|
|
31
48
|
default4 as reportsTitleBarSlice,
|
|
32
49
|
resetHeaderState,
|
|
33
50
|
resetInventoryReportsTitleBarState,
|
|
@@ -36,18 +53,16 @@ export {
|
|
|
36
53
|
resetState,
|
|
37
54
|
setAssemblyItems,
|
|
38
55
|
setBomData,
|
|
39
|
-
setCompanies,
|
|
40
56
|
setCurrentLanguage,
|
|
41
57
|
setDepartments,
|
|
42
|
-
setError,
|
|
43
58
|
setItems,
|
|
44
59
|
setLanguages,
|
|
45
60
|
setLanguagesData,
|
|
46
|
-
setLoading,
|
|
47
61
|
setUsers,
|
|
48
62
|
setWarehouseLocations,
|
|
49
63
|
sharePage,
|
|
50
64
|
default5 as shareSlice,
|
|
65
|
+
unwrapResult,
|
|
51
66
|
useAppDispatch,
|
|
52
67
|
useAppSelector,
|
|
53
68
|
useLibraryDispatch,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
package/dist/redux/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./actionCreator/index.js"),t=require("./apiConfig/index.js"),r=require("./hooks/index.js"),s=require("./module-reducer/index.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./actionCreator/index.js"),t=require("./apiConfig/index.js"),r=require("./hooks/index.js"),s=require("./module-reducer/index.js"),n=require("./store/index.js"),o=require("@reduxjs/toolkit"),i=require("./slices/headerSlice/index.js"),a=require("./slices/inventoryReportsTitleBarSlice/index.js"),c=require("./slices/reportsTitleBarSlice/index.js"),u=require("./slices/shareSlice/index.js");exports.createParties=e.createParties,exports.getCurrency=e.getCurrency,exports.getItems=e.getItems,exports.getLocation=e.getLocation,exports.getOptions=e.getOptions,exports.API_METHOD_GROUPS=t.API_METHOD_GROUPS,exports.createConfiguredApiClient=t.createConfiguredApiClient,exports.validateApiClient=t.validateApiClient,exports.useAppDispatch=r.useAppDispatch,exports.useAppSelector=r.useAppSelector,exports.useLibraryDispatch=r.useLibraryDispatch,exports.useLibrarySelector=r.useLibrarySelector,exports.createModuleSlice=s.createModuleSlice,exports.createLibraryStore=n.createLibraryStore,exports.getLibrarySlices=n.getLibrarySlices,exports.libraryReducers=n.libraryReducers,Object.defineProperty(exports,"combineReducers",{enumerable:!0,get:function(){return o.combineReducers}}),Object.defineProperty(exports,"configureStore",{enumerable:!0,get:function(){return o.configureStore}}),Object.defineProperty(exports,"createAction",{enumerable:!0,get:function(){return o.createAction}}),Object.defineProperty(exports,"createAsyncThunk",{enumerable:!0,get:function(){return o.createAsyncThunk}}),Object.defineProperty(exports,"createDraftSafeSelector",{enumerable:!0,get:function(){return o.createDraftSafeSelector}}),Object.defineProperty(exports,"createEntityAdapter",{enumerable:!0,get:function(){return o.createEntityAdapter}}),Object.defineProperty(exports,"createListenerMiddleware",{enumerable:!0,get:function(){return o.createListenerMiddleware}}),Object.defineProperty(exports,"createReducer",{enumerable:!0,get:function(){return o.createReducer}}),Object.defineProperty(exports,"createSelector",{enumerable:!0,get:function(){return o.createSelector}}),Object.defineProperty(exports,"createSlice",{enumerable:!0,get:function(){return o.createSlice}}),Object.defineProperty(exports,"current",{enumerable:!0,get:function(){return o.current}}),Object.defineProperty(exports,"isAllOf",{enumerable:!0,get:function(){return o.isAllOf}}),Object.defineProperty(exports,"isAnyOf",{enumerable:!0,get:function(){return o.isAnyOf}}),Object.defineProperty(exports,"isFulfilled",{enumerable:!0,get:function(){return o.isFulfilled}}),Object.defineProperty(exports,"isPending",{enumerable:!0,get:function(){return o.isPending}}),Object.defineProperty(exports,"isRejected",{enumerable:!0,get:function(){return o.isRejected}}),Object.defineProperty(exports,"isRejectedWithValue",{enumerable:!0,get:function(){return o.isRejectedWithValue}}),Object.defineProperty(exports,"nanoid",{enumerable:!0,get:function(){return o.nanoid}}),Object.defineProperty(exports,"unwrapResult",{enumerable:!0,get:function(){return o.unwrapResult}}),exports.fetchLanguages=i.fetchLanguages,exports.headerSlice=i.default,exports.resetHeaderState=i.resetHeaderState,exports.resetLanguagesState=i.resetLanguagesState,exports.setCurrentLanguage=i.setCurrentLanguage,exports.setLanguages=i.setLanguages,exports.setLanguagesData=i.setLanguagesData,exports.fetchBom=a.fetchBom,exports.fetchOptions=a.fetchOptions,exports.inventoryReportsTitleBarSlice=a.default,exports.resetInventoryReportsTitleBarState=a.resetInventoryReportsTitleBarState,exports.setAssemblyItems=a.setAssemblyItems,exports.setBomData=a.setBomData,exports.setItems=a.setItems,exports.setWarehouseLocations=a.setWarehouseLocations,exports.fetchCompanies=c.fetchCompanies,exports.reportsTitleBarSlice=c.default,exports.resetReportsTitleBarState=c.resetReportsTitleBarState,exports.getAllUserAndDepartmentDropdown=u.getAllUserAndDepartmentDropdown,exports.resetState=u.resetState,exports.setDepartments=u.setDepartments,exports.setUsers=u.setUsers,exports.sharePage=u.sharePage,exports.shareSlice=u.default;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/redux/toolkit.d.ts
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Re-export a curated subset of Redux Toolkit APIs so downstream apps
|
|
3
|
+
* can keep importing from `@erpsquad/common/redux` without pulling the
|
|
4
|
+
* entire toolkit namespace into our bundle (which previously confused Rollup).
|
|
5
|
+
*
|
|
6
|
+
* Please add new exports here deliberately to avoid future name collisions.
|
|
7
|
+
*/
|
|
8
|
+
export { configureStore, combineReducers, createAction, createAsyncThunk, createDraftSafeSelector, createEntityAdapter, createListenerMiddleware, createReducer, createSelector, createSlice, current, isAllOf, isAnyOf, isFulfilled, isPending, isRejected, isRejectedWithValue, nanoid, unwrapResult, } from '@reduxjs/toolkit';
|
|
9
|
+
export type { Action, AnyAction, AsyncThunk, AsyncThunkPayloadCreator, AsyncThunkOptions, Draft, PayloadAction, SerializedError, SliceCaseReducers, ThunkAction, ThunkDispatch, } from '@reduxjs/toolkit';
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Re-export a curated subset of Redux Toolkit APIs so downstream apps
|
|
3
|
+
* can keep importing from `@erpsquad/common/redux` without pulling the
|
|
4
|
+
* entire toolkit namespace into our bundle (which previously confused Rollup).
|
|
5
|
+
*
|
|
6
|
+
* Please add new exports here deliberately to avoid future name collisions.
|
|
7
|
+
*/
|
|
8
|
+
export { configureStore, combineReducers, createAction, createAsyncThunk, createDraftSafeSelector, createEntityAdapter, createListenerMiddleware, createReducer, createSelector, createSlice, current, isAllOf, isAnyOf, isFulfilled, isPending, isRejected, isRejectedWithValue, nanoid, unwrapResult, } from '@reduxjs/toolkit';
|
|
9
|
+
export type { Action, AnyAction, AsyncThunk, AsyncThunkPayloadCreator, AsyncThunkOptions, Draft, PayloadAction, SerializedError, SliceCaseReducers, ThunkAction, ThunkDispatch, } from '@reduxjs/toolkit';
|