@crystaldesign/diva-archive 24.11.0-beta.35 → 24.11.0-beta.37
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/build/esm/index.js +15 -15
- package/package.json +2 -2
package/build/esm/index.js
CHANGED
|
@@ -435,7 +435,7 @@ function openEmailAction(sendEmail, t, action, organization, user) {
|
|
|
435
435
|
}
|
|
436
436
|
function sendToIwoFurnAction(apiConfig, jwt, toggleLoading, setReloadPage, openModal, t) {
|
|
437
437
|
return /*#__PURE__*/function () {
|
|
438
|
-
var _ref3 = _asyncToGenerator(
|
|
438
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(item) {
|
|
439
439
|
var result;
|
|
440
440
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
441
441
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -480,7 +480,7 @@ function placeOrderAction(_ref4) {
|
|
|
480
480
|
t = _ref4.t,
|
|
481
481
|
action = _ref4.action;
|
|
482
482
|
return /*#__PURE__*/function () {
|
|
483
|
-
var _ref5 = _asyncToGenerator(
|
|
483
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3(item, id, updateOne) {
|
|
484
484
|
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
485
485
|
while (1) switch (_context3.prev = _context3.next) {
|
|
486
486
|
case 0:
|
|
@@ -497,7 +497,7 @@ function placeOrderAction(_ref4) {
|
|
|
497
497
|
action: action,
|
|
498
498
|
item: item,
|
|
499
499
|
callback: function () {
|
|
500
|
-
var _callback = _asyncToGenerator(
|
|
500
|
+
var _callback = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(success) {
|
|
501
501
|
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
502
502
|
while (1) switch (_context2.prev = _context2.next) {
|
|
503
503
|
case 0:
|
|
@@ -553,7 +553,7 @@ function setArchivedAction(_ref6) {
|
|
|
553
553
|
t = _ref6.t,
|
|
554
554
|
trashed = _ref6.trashed;
|
|
555
555
|
return /*#__PURE__*/function () {
|
|
556
|
-
var _ref7 = _asyncToGenerator(
|
|
556
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(item, id, updateOne, deleteOne) {
|
|
557
557
|
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
558
558
|
while (1) switch (_context5.prev = _context5.next) {
|
|
559
559
|
case 0:
|
|
@@ -568,7 +568,7 @@ function setArchivedAction(_ref6) {
|
|
|
568
568
|
reject: true,
|
|
569
569
|
title: t(trashed ? 'order.restore' : 'order.delete'),
|
|
570
570
|
callback: function () {
|
|
571
|
-
var _callback2 = _asyncToGenerator(
|
|
571
|
+
var _callback2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4(accepted) {
|
|
572
572
|
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
573
573
|
while (1) switch (_context4.prev = _context4.next) {
|
|
574
574
|
case 0:
|
|
@@ -610,7 +610,7 @@ function deleteAction(_ref8) {
|
|
|
610
610
|
t = _ref8.t,
|
|
611
611
|
trashed = _ref8.trashed;
|
|
612
612
|
return /*#__PURE__*/function () {
|
|
613
|
-
var _ref9 = _asyncToGenerator(
|
|
613
|
+
var _ref9 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7(item, id, updateOne, deleteOne) {
|
|
614
614
|
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
615
615
|
while (1) switch (_context7.prev = _context7.next) {
|
|
616
616
|
case 0:
|
|
@@ -627,7 +627,7 @@ function deleteAction(_ref8) {
|
|
|
627
627
|
divaNr: item.DivaNr
|
|
628
628
|
}),
|
|
629
629
|
callback: function () {
|
|
630
|
-
var _callback3 = _asyncToGenerator(
|
|
630
|
+
var _callback3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(accepted) {
|
|
631
631
|
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
632
632
|
while (1) switch (_context6.prev = _context6.next) {
|
|
633
633
|
case 0:
|
|
@@ -729,7 +729,7 @@ function sendToIwofurn(_x16, _x17, _x18, _x19, _x20) {
|
|
|
729
729
|
return _sendToIwofurn.apply(this, arguments);
|
|
730
730
|
}
|
|
731
731
|
function _sendToIwofurn() {
|
|
732
|
-
_sendToIwofurn = _asyncToGenerator(
|
|
732
|
+
_sendToIwofurn = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8(apiConfig, jwt, divaNr, version, toggleLoading) {
|
|
733
733
|
var result;
|
|
734
734
|
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
735
735
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -768,7 +768,7 @@ function setOrdered(_x21, _x22, _x23, _x24, _x25) {
|
|
|
768
768
|
return _setOrdered.apply(this, arguments);
|
|
769
769
|
}
|
|
770
770
|
function _setOrdered() {
|
|
771
|
-
_setOrdered = _asyncToGenerator(
|
|
771
|
+
_setOrdered = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(apiConfig, organizationId, jwt, divaNr, documentVersion) {
|
|
772
772
|
var body;
|
|
773
773
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
774
774
|
while (1) switch (_context9.prev = _context9.next) {
|
|
@@ -811,7 +811,7 @@ function setArchived(_x26, _x27, _x28, _x29) {
|
|
|
811
811
|
return _setArchived.apply(this, arguments);
|
|
812
812
|
}
|
|
813
813
|
function _setArchived() {
|
|
814
|
-
_setArchived = _asyncToGenerator(
|
|
814
|
+
_setArchived = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee10(apiConfig, jwt, divaNr, archived) {
|
|
815
815
|
var result;
|
|
816
816
|
return _regeneratorRuntime.wrap(function _callee10$(_context10) {
|
|
817
817
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -847,7 +847,7 @@ function deleteBasket(_x30, _x31, _x32, _x33) {
|
|
|
847
847
|
return _deleteBasket.apply(this, arguments);
|
|
848
848
|
}
|
|
849
849
|
function _deleteBasket() {
|
|
850
|
-
_deleteBasket = _asyncToGenerator(
|
|
850
|
+
_deleteBasket = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee11(apiConfig, jwt, divaNr, archived) {
|
|
851
851
|
var result;
|
|
852
852
|
return _regeneratorRuntime.wrap(function _callee11$(_context11) {
|
|
853
853
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -911,7 +911,7 @@ function useArchive(_ref) {
|
|
|
911
911
|
}
|
|
912
912
|
};
|
|
913
913
|
var fetchHistory = /*#__PURE__*/function () {
|
|
914
|
-
var _ref2 = _asyncToGenerator(
|
|
914
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(divaNr, version) {
|
|
915
915
|
var response;
|
|
916
916
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
917
917
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -1165,7 +1165,7 @@ function SubRow$1 (_ref) {
|
|
|
1165
1165
|
}), row.cells.flatMap(function (cell) {
|
|
1166
1166
|
var cells = [];
|
|
1167
1167
|
if (cell.column.fixed) {
|
|
1168
|
-
cells.push(
|
|
1168
|
+
cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread({}, cell.getCellProps({
|
|
1169
1169
|
style: {
|
|
1170
1170
|
width: 1,
|
|
1171
1171
|
padding: 0,
|
|
@@ -1174,7 +1174,7 @@ function SubRow$1 (_ref) {
|
|
|
1174
1174
|
zIndex: 4
|
|
1175
1175
|
}
|
|
1176
1176
|
}))));
|
|
1177
|
-
cells.push(
|
|
1177
|
+
cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps({
|
|
1178
1178
|
style: {
|
|
1179
1179
|
width: 1,
|
|
1180
1180
|
padding: 0,
|
|
@@ -1196,7 +1196,7 @@ function SubRow$1 (_ref) {
|
|
|
1196
1196
|
})
|
|
1197
1197
|
})));
|
|
1198
1198
|
}
|
|
1199
|
-
cells.push(
|
|
1199
|
+
cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps({
|
|
1200
1200
|
style: {
|
|
1201
1201
|
width: cell.column.width,
|
|
1202
1202
|
padding: cell.column.padding,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-archive",
|
|
3
|
-
"version": "24.11.0-beta.
|
|
3
|
+
"version": "24.11.0-beta.37",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^5.15.0",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
},
|
|
24
24
|
"module": "build/esm/index.js",
|
|
25
25
|
"types": "./build/types/archive/src/index.d.ts",
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "5d97d8aefbfe3433ca9884a39d60174a9ffc2db5"
|
|
27
27
|
}
|