vineanova-redux-artifacts 1.119.353 → 1.119.355
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/CHANGELOG.md +1 -1
- package/dist/actions/commonActions.js +39 -39
- package/dist/hooks/index.js +11 -11
- package/dist/hooks/{useFetchdemoExcelData.js → useFetcheditJobBlocksGrid.js} +6 -6
- package/dist/reducers/index.js +1 -1
- package/dist/sagas/vineaNovaApi.sagas.js +440 -440
- package/dist/selectors/{demoExcelDataSelector.js → editJobBlocksGridSelector.js} +5 -5
- package/dist/selectors/index.js +11 -11
- package/dist/services/apiServices.js +521 -520
- package/package.json +1 -1
- package/src/actions/commonActions.js +9 -9
- package/src/hooks/index.js +1 -1
- package/src/hooks/{useFetchdemoExcelData.js → useFetcheditJobBlocksGrid.js} +5 -5
- package/src/reducers/index.js +1 -1
- package/src/sagas/vineaNovaApi.sagas.js +32 -32
- package/src/selectors/{demoExcelDataSelector.js → editJobBlocksGridSelector.js} +5 -5
- package/src/selectors/index.js +1 -1
- package/src/services/apiServices.js +23 -20
package/CHANGELOG.md
CHANGED
|
@@ -1869,45 +1869,6 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
1869
1869
|
}]
|
|
1870
1870
|
}
|
|
1871
1871
|
},
|
|
1872
|
-
demoExcelData: {
|
|
1873
|
-
get: {
|
|
1874
|
-
REQUEST: [function (payload) {
|
|
1875
|
-
return payload;
|
|
1876
|
-
}, function () {
|
|
1877
|
-
return {
|
|
1878
|
-
reducerName: 'demoExcelData'
|
|
1879
|
-
};
|
|
1880
|
-
}],
|
|
1881
|
-
RECEIVE: [function (payload) {
|
|
1882
|
-
return payload;
|
|
1883
|
-
}, function () {
|
|
1884
|
-
return {
|
|
1885
|
-
reducerName: 'demoExcelData'
|
|
1886
|
-
};
|
|
1887
|
-
}],
|
|
1888
|
-
ERROR: [function (payload) {
|
|
1889
|
-
return payload;
|
|
1890
|
-
}, function () {
|
|
1891
|
-
return {
|
|
1892
|
-
reducerName: 'demoExcelData'
|
|
1893
|
-
};
|
|
1894
|
-
}],
|
|
1895
|
-
CLEARDATA: [function (payload) {
|
|
1896
|
-
return payload;
|
|
1897
|
-
}, function () {
|
|
1898
|
-
return {
|
|
1899
|
-
reducerName: 'demoExcelData'
|
|
1900
|
-
};
|
|
1901
|
-
}],
|
|
1902
|
-
UPDATEPARTIALENTITY: [function (payload) {
|
|
1903
|
-
return payload;
|
|
1904
|
-
}, function () {
|
|
1905
|
-
return {
|
|
1906
|
-
reducerName: 'demoExcelData'
|
|
1907
|
-
};
|
|
1908
|
-
}]
|
|
1909
|
-
}
|
|
1910
|
-
},
|
|
1911
1872
|
healthcheck: {
|
|
1912
1873
|
get: {
|
|
1913
1874
|
REQUEST: [function (payload) {
|
|
@@ -7068,6 +7029,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
7068
7029
|
}]
|
|
7069
7030
|
}
|
|
7070
7031
|
},
|
|
7032
|
+
editJobBlocksGrid: {
|
|
7033
|
+
get: {
|
|
7034
|
+
REQUEST: [function (payload) {
|
|
7035
|
+
return payload;
|
|
7036
|
+
}, function () {
|
|
7037
|
+
return {
|
|
7038
|
+
reducerName: 'editJobBlocksGrid'
|
|
7039
|
+
};
|
|
7040
|
+
}],
|
|
7041
|
+
RECEIVE: [function (payload) {
|
|
7042
|
+
return payload;
|
|
7043
|
+
}, function () {
|
|
7044
|
+
return {
|
|
7045
|
+
reducerName: 'editJobBlocksGrid'
|
|
7046
|
+
};
|
|
7047
|
+
}],
|
|
7048
|
+
ERROR: [function (payload) {
|
|
7049
|
+
return payload;
|
|
7050
|
+
}, function () {
|
|
7051
|
+
return {
|
|
7052
|
+
reducerName: 'editJobBlocksGrid'
|
|
7053
|
+
};
|
|
7054
|
+
}],
|
|
7055
|
+
CLEARDATA: [function (payload) {
|
|
7056
|
+
return payload;
|
|
7057
|
+
}, function () {
|
|
7058
|
+
return {
|
|
7059
|
+
reducerName: 'editJobBlocksGrid'
|
|
7060
|
+
};
|
|
7061
|
+
}],
|
|
7062
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
7063
|
+
return payload;
|
|
7064
|
+
}, function () {
|
|
7065
|
+
return {
|
|
7066
|
+
reducerName: 'editJobBlocksGrid'
|
|
7067
|
+
};
|
|
7068
|
+
}]
|
|
7069
|
+
}
|
|
7070
|
+
},
|
|
7071
7071
|
jobEvents: {
|
|
7072
7072
|
get: {
|
|
7073
7073
|
REQUEST: [function (payload) {
|
package/dist/hooks/index.js
CHANGED
|
@@ -267,17 +267,6 @@ Object.keys(_useFetchnewLoginEventLog).forEach(function (key) {
|
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
|
-
var _useFetchdemoExcelData = require("./useFetchdemoExcelData");
|
|
271
|
-
Object.keys(_useFetchdemoExcelData).forEach(function (key) {
|
|
272
|
-
if (key === "default" || key === "__esModule") return;
|
|
273
|
-
if (key in exports && exports[key] === _useFetchdemoExcelData[key]) return;
|
|
274
|
-
Object.defineProperty(exports, key, {
|
|
275
|
-
enumerable: true,
|
|
276
|
-
get: function get() {
|
|
277
|
-
return _useFetchdemoExcelData[key];
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
});
|
|
281
270
|
var _useFetchhealthcheck = require("./useFetchhealthcheck");
|
|
282
271
|
Object.keys(_useFetchhealthcheck).forEach(function (key) {
|
|
283
272
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -982,6 +971,17 @@ Object.keys(_useFetchjobBlocksBulk).forEach(function (key) {
|
|
|
982
971
|
}
|
|
983
972
|
});
|
|
984
973
|
});
|
|
974
|
+
var _useFetcheditJobBlocksGrid = require("./useFetcheditJobBlocksGrid");
|
|
975
|
+
Object.keys(_useFetcheditJobBlocksGrid).forEach(function (key) {
|
|
976
|
+
if (key === "default" || key === "__esModule") return;
|
|
977
|
+
if (key in exports && exports[key] === _useFetcheditJobBlocksGrid[key]) return;
|
|
978
|
+
Object.defineProperty(exports, key, {
|
|
979
|
+
enumerable: true,
|
|
980
|
+
get: function get() {
|
|
981
|
+
return _useFetcheditJobBlocksGrid[key];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
});
|
|
985
985
|
var _useFetchjobEvents = require("./useFetchjobEvents");
|
|
986
986
|
Object.keys(_useFetchjobEvents).forEach(function (key) {
|
|
987
987
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useFetchEditJobBlocksGrid = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
@@ -17,10 +17,10 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
17
17
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
18
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
19
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20
|
-
var
|
|
20
|
+
var useFetchEditJobBlocksGrid = exports.useFetchEditJobBlocksGrid = function useFetchEditJobBlocksGrid(props) {
|
|
21
21
|
// selectors
|
|
22
|
-
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
23
|
-
var entity = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
22
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getEditJobBlocksGridEntityData);
|
|
23
|
+
var entity = (0, _reactRedux.useSelector)(VineaNovaSelectors.getEditJobBlocksGridEntityMeta);
|
|
24
24
|
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
25
25
|
var _props$queryParams = props.queryParams,
|
|
26
26
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
@@ -29,13 +29,13 @@ var useFetchDemoExcelData = exports.useFetchDemoExcelData = function useFetchDem
|
|
|
29
29
|
var shouldFetch = !(entity !== null && entity !== void 0 && entity.isLoaded) || (entity === null || entity === void 0 ? void 0 : entity.hasError) || (0, _isEmpty["default"])(entity.data);
|
|
30
30
|
(0, _react.useEffect)(function () {
|
|
31
31
|
if (shouldFetch) {
|
|
32
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
32
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.editJobBlocksGrid.get.request({
|
|
33
33
|
queryParams: _objectSpread({}, queryParams)
|
|
34
34
|
}));
|
|
35
35
|
}
|
|
36
36
|
}, [shouldFetch, JSON.stringify(queryParams)]);
|
|
37
37
|
var useQuery = function useQuery(queryParams) {
|
|
38
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
38
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.editJobBlocksGrid.get.request({
|
|
39
39
|
queryParams: _objectSpread({}, queryParams)
|
|
40
40
|
}));
|
|
41
41
|
};
|
package/dist/reducers/index.js
CHANGED
|
@@ -33,7 +33,6 @@ var rootReducer = {
|
|
|
33
33
|
eventLog: (0, _createNamedReducer["default"])('eventLog'),
|
|
34
34
|
eventLogStatus: (0, _createNamedReducer["default"])('eventLogStatus'),
|
|
35
35
|
newLoginEventLog: (0, _createNamedReducer["default"])('newLoginEventLog'),
|
|
36
|
-
demoExcelData: (0, _createNamedReducer["default"])('demoExcelData'),
|
|
37
36
|
healthcheck: (0, _createNamedReducer["default"])('healthcheck'),
|
|
38
37
|
identityAccommodation: (0, _createNamedReducer["default"])('identityAccommodation'),
|
|
39
38
|
identityActivity: (0, _createNamedReducer["default"])('identityActivity'),
|
|
@@ -98,6 +97,7 @@ var rootReducer = {
|
|
|
98
97
|
blocksForJob: (0, _createNamedReducer["default"])('blocksForJob'),
|
|
99
98
|
refreshBlocksForJob: (0, _createNamedReducer["default"])('refreshBlocksForJob'),
|
|
100
99
|
jobBlocksBulk: (0, _createNamedReducer["default"])('jobBlocksBulk'),
|
|
100
|
+
editJobBlocksGrid: (0, _createNamedReducer["default"])('editJobBlocksGrid'),
|
|
101
101
|
jobEvents: (0, _createNamedReducer["default"])('jobEvents'),
|
|
102
102
|
jobSupervisor: (0, _createNamedReducer["default"])('jobSupervisor'),
|
|
103
103
|
supervisorsForJobs: (0, _createNamedReducer["default"])('supervisorsForJobs'),
|