powr-sdk-web 5.6.4 → 5.6.7
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/activities/PowrActivityList.js +6 -5
- package/dist/activities/index.js +2 -1
- package/dist/auth/index.js +9 -7
- package/dist/blogs/BlogCard.js +2 -2
- package/dist/blogs/index.js +1 -1
- package/dist/calendar/index.js +1 -1
- package/dist/chat/index.js +6 -6
- package/dist/comments/index.js +4 -4
- package/dist/feeds/admin.js +2 -2
- package/dist/feeds/components/CreatePost.js +2 -2
- package/dist/feeds/components/FeedPost.js +2 -2
- package/dist/feeds/index.js +1 -1
- package/dist/forms/admin.js +3 -3
- package/dist/forms/index.js +2 -2
- package/dist/functions/admin.js +3 -3
- package/dist/invoices/admin.js +3 -3
- package/dist/invoices/index.js +1 -1
- package/dist/likes/index.js +3 -3
- package/dist/notifications/admin.js +3 -3
- package/dist/powrVerify/index.js +2 -2
- package/dist/reviews/index.js +1 -1
- package/dist/slides/admin.js +3 -3
- package/dist/swiper/index.js +1 -1
- package/dist/tasks/admin.js +6 -6
- package/dist/tasks/index.js +7 -7
- package/dist/tools/PowrBaseTools.js +6 -6
- package/dist/tools/PowrToolConfig.js +1 -1
- package/dist/uploader/index.js +2 -2
- package/dist/users/admin.js +1 -1
- package/dist/utils/firebase.js +1 -1
- package/dist/waitlists/admin.js +2 -2
- package/dist/waitlists/index.js +1 -1
- package/package.json +1 -2
- package/dist/activitySubscriptions/admin.js +0 -551
- package/dist/comments/components/UploadModal.js +0 -119
- package/dist/invoice/index.js +0 -140
package/dist/tasks/index.js
CHANGED
|
@@ -254,7 +254,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
254
254
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
255
255
|
var _yield$apiCall, data, ok, _t;
|
|
256
256
|
return _regenerator().w(function (_context) {
|
|
257
|
-
while (1) switch (_context.n) {
|
|
257
|
+
while (1) switch (_context.p = _context.n) {
|
|
258
258
|
case 0:
|
|
259
259
|
_context.p = 0;
|
|
260
260
|
_context.n = 1;
|
|
@@ -292,7 +292,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
292
292
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
293
293
|
var _yield$apiCall2, data, ok, _t2;
|
|
294
294
|
return _regenerator().w(function (_context2) {
|
|
295
|
-
while (1) switch (_context2.n) {
|
|
295
|
+
while (1) switch (_context2.p = _context2.n) {
|
|
296
296
|
case 0:
|
|
297
297
|
_context2.p = 0;
|
|
298
298
|
_context2.n = 1;
|
|
@@ -323,7 +323,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
323
323
|
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(e) {
|
|
324
324
|
var endpoint, method, _yield$apiCall3, data, ok, _t3;
|
|
325
325
|
return _regenerator().w(function (_context3) {
|
|
326
|
-
while (1) switch (_context3.n) {
|
|
326
|
+
while (1) switch (_context3.p = _context3.n) {
|
|
327
327
|
case 0:
|
|
328
328
|
e.preventDefault();
|
|
329
329
|
_context3.p = 1;
|
|
@@ -366,7 +366,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
366
366
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(taskId, isActive) {
|
|
367
367
|
var _yield$apiCall4, data, ok, _t4;
|
|
368
368
|
return _regenerator().w(function (_context4) {
|
|
369
|
-
while (1) switch (_context4.n) {
|
|
369
|
+
while (1) switch (_context4.p = _context4.n) {
|
|
370
370
|
case 0:
|
|
371
371
|
_context4.p = 0;
|
|
372
372
|
_context4.n = 1;
|
|
@@ -405,7 +405,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
405
405
|
var _ref6 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(taskId) {
|
|
406
406
|
var _yield$apiCall5, data, ok, _t5;
|
|
407
407
|
return _regenerator().w(function (_context5) {
|
|
408
|
-
while (1) switch (_context5.n) {
|
|
408
|
+
while (1) switch (_context5.p = _context5.n) {
|
|
409
409
|
case 0:
|
|
410
410
|
_context5.p = 0;
|
|
411
411
|
// Add task to executing set
|
|
@@ -455,7 +455,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
455
455
|
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(taskId) {
|
|
456
456
|
var _yield$apiCall6, data, ok, _t6;
|
|
457
457
|
return _regenerator().w(function (_context6) {
|
|
458
|
-
while (1) switch (_context6.n) {
|
|
458
|
+
while (1) switch (_context6.p = _context6.n) {
|
|
459
459
|
case 0:
|
|
460
460
|
if (confirm('Are you sure you want to delete this task?')) {
|
|
461
461
|
_context6.n = 1;
|
|
@@ -548,7 +548,7 @@ var PowrBaseTasks = function PowrBaseTasks(_ref) {
|
|
|
548
548
|
var _ref8 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(taskId) {
|
|
549
549
|
var _yield$apiCall7, data, ok, _t7;
|
|
550
550
|
return _regenerator().w(function (_context7) {
|
|
551
|
-
while (1) switch (_context7.n) {
|
|
551
|
+
while (1) switch (_context7.p = _context7.n) {
|
|
552
552
|
case 0:
|
|
553
553
|
_context7.p = 0;
|
|
554
554
|
_context7.n = 1;
|
|
@@ -179,7 +179,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
179
179
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
180
180
|
var _yield$apiCall, data, ok, _t;
|
|
181
181
|
return _regenerator().w(function (_context) {
|
|
182
|
-
while (1) switch (_context.n) {
|
|
182
|
+
while (1) switch (_context.p = _context.n) {
|
|
183
183
|
case 0:
|
|
184
184
|
_context.p = 0;
|
|
185
185
|
setLoading(true);
|
|
@@ -221,7 +221,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
221
221
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
222
222
|
var _yield$apiCall2, data, ok, _t2;
|
|
223
223
|
return _regenerator().w(function (_context2) {
|
|
224
|
-
while (1) switch (_context2.n) {
|
|
224
|
+
while (1) switch (_context2.p = _context2.n) {
|
|
225
225
|
case 0:
|
|
226
226
|
_context2.p = 0;
|
|
227
227
|
_context2.n = 1;
|
|
@@ -256,7 +256,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
256
256
|
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(toolId, enabled) {
|
|
257
257
|
var _yield$apiCall3, data, ok, _t3;
|
|
258
258
|
return _regenerator().w(function (_context3) {
|
|
259
|
-
while (1) switch (_context3.n) {
|
|
259
|
+
while (1) switch (_context3.p = _context3.n) {
|
|
260
260
|
case 0:
|
|
261
261
|
_context3.p = 0;
|
|
262
262
|
_context3.n = 1;
|
|
@@ -302,7 +302,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
302
302
|
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(toolId) {
|
|
303
303
|
var _yield$apiCall4, data, ok, _t4;
|
|
304
304
|
return _regenerator().w(function (_context4) {
|
|
305
|
-
while (1) switch (_context4.n) {
|
|
305
|
+
while (1) switch (_context4.p = _context4.n) {
|
|
306
306
|
case 0:
|
|
307
307
|
_context4.p = 0;
|
|
308
308
|
_context4.n = 1;
|
|
@@ -331,7 +331,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
331
331
|
var _ref6 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(toolId, actionId, params) {
|
|
332
332
|
var _yield$apiCall5, data, ok, _t5;
|
|
333
333
|
return _regenerator().w(function (_context5) {
|
|
334
|
-
while (1) switch (_context5.n) {
|
|
334
|
+
while (1) switch (_context5.p = _context5.n) {
|
|
335
335
|
case 0:
|
|
336
336
|
_context5.p = 0;
|
|
337
337
|
_context5.n = 1;
|
|
@@ -406,7 +406,7 @@ var PowrBaseTools = function PowrBaseTools(_ref) {
|
|
|
406
406
|
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(config) {
|
|
407
407
|
var _yield$apiCall6, data, ok, _t6;
|
|
408
408
|
return _regenerator().w(function (_context6) {
|
|
409
|
-
while (1) switch (_context6.n) {
|
|
409
|
+
while (1) switch (_context6.p = _context6.n) {
|
|
410
410
|
case 0:
|
|
411
411
|
_context6.p = 0;
|
|
412
412
|
_context6.n = 1;
|
|
@@ -176,7 +176,7 @@ var PowrToolConfig = function PowrToolConfig(_ref) {
|
|
|
176
176
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
177
177
|
var _t;
|
|
178
178
|
return _regenerator().w(function (_context) {
|
|
179
|
-
while (1) switch (_context.n) {
|
|
179
|
+
while (1) switch (_context.p = _context.n) {
|
|
180
180
|
case 0:
|
|
181
181
|
setLoading(true);
|
|
182
182
|
_context.p = 1;
|
package/dist/uploader/index.js
CHANGED
|
@@ -71,7 +71,7 @@ var PowrBaseUploader = function PowrBaseUploader(_ref) {
|
|
|
71
71
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(file) {
|
|
72
72
|
var formData, _yield$apiCall, data, ok, _t;
|
|
73
73
|
return _regenerator().w(function (_context) {
|
|
74
|
-
while (1) switch (_context.n) {
|
|
74
|
+
while (1) switch (_context.p = _context.n) {
|
|
75
75
|
case 0:
|
|
76
76
|
formData = new FormData();
|
|
77
77
|
formData.append('file', file);
|
|
@@ -110,7 +110,7 @@ var PowrBaseUploader = function PowrBaseUploader(_ref) {
|
|
|
110
110
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(filesList) {
|
|
111
111
|
var uploadedFiles, totalFiles, completedFiles, placeholderFiles, _loop, i, updatedFiles, _t2;
|
|
112
112
|
return _regenerator().w(function (_context3) {
|
|
113
|
-
while (1) switch (_context3.n) {
|
|
113
|
+
while (1) switch (_context3.p = _context3.n) {
|
|
114
114
|
case 0:
|
|
115
115
|
if (!(!filesList || isUploading)) {
|
|
116
116
|
_context3.n = 1;
|
package/dist/users/admin.js
CHANGED
|
@@ -48,7 +48,7 @@ var PowrBaseUsersAdmin = function PowrBaseUsersAdmin(_ref) {
|
|
|
48
48
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
49
49
|
var _yield$apiCall, data, ok, _t;
|
|
50
50
|
return _regenerator().w(function (_context) {
|
|
51
|
-
while (1) switch (_context.n) {
|
|
51
|
+
while (1) switch (_context.p = _context.n) {
|
|
52
52
|
case 0:
|
|
53
53
|
_context.p = 0;
|
|
54
54
|
setLoading(true);
|
package/dist/utils/firebase.js
CHANGED
|
@@ -61,7 +61,7 @@ var fireAsync = /*#__PURE__*/function () {
|
|
|
61
61
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(method, params) {
|
|
62
62
|
var callable, result, _t;
|
|
63
63
|
return _regenerator().w(function (_context) {
|
|
64
|
-
while (1) switch (_context.n) {
|
|
64
|
+
while (1) switch (_context.p = _context.n) {
|
|
65
65
|
case 0:
|
|
66
66
|
callable = (0, _functions.httpsCallable)(functions, method);
|
|
67
67
|
_context.p = 1;
|
package/dist/waitlists/admin.js
CHANGED
|
@@ -58,7 +58,7 @@ var PowrWaitListAdmin = function PowrWaitListAdmin(_ref) {
|
|
|
58
58
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
59
59
|
var _yield$apiCall, data, ok, _t;
|
|
60
60
|
return _regenerator().w(function (_context) {
|
|
61
|
-
while (1) switch (_context.n) {
|
|
61
|
+
while (1) switch (_context.p = _context.n) {
|
|
62
62
|
case 0:
|
|
63
63
|
_context.p = 0;
|
|
64
64
|
setLoading(true);
|
|
@@ -120,7 +120,7 @@ var PowrWaitListAdmin = function PowrWaitListAdmin(_ref) {
|
|
|
120
120
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
121
121
|
var _yield$apiCall2, result, ok, _t2;
|
|
122
122
|
return _regenerator().w(function (_context2) {
|
|
123
|
-
while (1) switch (_context2.n) {
|
|
123
|
+
while (1) switch (_context2.p = _context2.n) {
|
|
124
124
|
case 0:
|
|
125
125
|
if (formData.email) {
|
|
126
126
|
_context2.n = 1;
|
package/dist/waitlists/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var PowrWaitList = function PowrWaitList(_ref) {
|
|
|
45
45
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(e) {
|
|
46
46
|
var _yield$apiCall, data, ok, _t;
|
|
47
47
|
return _regenerator().w(function (_context) {
|
|
48
|
-
while (1) switch (_context.n) {
|
|
48
|
+
while (1) switch (_context.p = _context.n) {
|
|
49
49
|
case 0:
|
|
50
50
|
e.preventDefault();
|
|
51
51
|
setLoading(true);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "powr-sdk-web",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.7",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "babel src -d dist --copy-files",
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
"axios": "^1.7.7",
|
|
31
31
|
"filepond": "*",
|
|
32
32
|
"firebase": "^12.2.1",
|
|
33
|
-
"powr-sdk-web": "^2.1.0",
|
|
34
33
|
"react-filepond": "^7.1.2",
|
|
35
34
|
"react-hook-form": "^7.58.0"
|
|
36
35
|
},
|