@gen3/frontend 0.10.55 → 0.10.57

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.
Files changed (73) hide show
  1. package/dist/cjs/index.js +118 -70
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/Content/TextContent.d.ts +6 -2
  4. package/dist/dts/components/Content/TextContent.d.ts.map +1 -1
  5. package/dist/dts/components/Content/TextContent.js +25 -4
  6. package/dist/dts/components/Content/TextContent.js.map +1 -1
  7. package/dist/dts/components/Login/LoginAccountButton.d.ts +4 -1
  8. package/dist/dts/components/Login/LoginAccountButton.d.ts.map +1 -1
  9. package/dist/dts/components/Login/LoginAccountButton.js +5 -2
  10. package/dist/dts/components/Login/LoginAccountButton.js.map +1 -1
  11. package/dist/dts/components/Login/LoginButton.d.ts.map +1 -1
  12. package/dist/dts/components/Login/LoginButton.js +4 -2
  13. package/dist/dts/components/Login/LoginButton.js.map +1 -1
  14. package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
  15. package/dist/dts/components/Login/LoginPanel.js +1 -4
  16. package/dist/dts/components/Login/LoginPanel.js.map +1 -1
  17. package/dist/dts/features/Navigation/Footer/FooterColumn.d.ts.map +1 -1
  18. package/dist/dts/features/Navigation/Footer/FooterColumn.js +3 -2
  19. package/dist/dts/features/Navigation/Footer/FooterColumn.js.map +1 -1
  20. package/dist/dts/features/Navigation/NavigationBar.d.ts.map +1 -1
  21. package/dist/dts/features/Navigation/NavigationBar.js +1 -1
  22. package/dist/dts/features/Navigation/NavigationBar.js.map +1 -1
  23. package/dist/dts/features/Navigation/NavigationBarButton.d.ts +2 -1
  24. package/dist/dts/features/Navigation/NavigationBarButton.d.ts.map +1 -1
  25. package/dist/dts/features/Navigation/NavigationBarButton.js +5 -4
  26. package/dist/dts/features/Navigation/NavigationBarButton.js.map +1 -1
  27. package/dist/dts/features/Navigation/NavigationLogo.js +1 -1
  28. package/dist/dts/features/Navigation/TopBar.d.ts.map +1 -1
  29. package/dist/dts/features/Navigation/TopBar.js +2 -1
  30. package/dist/dts/features/Navigation/TopBar.js.map +1 -1
  31. package/dist/dts/features/Navigation/types.d.ts +7 -6
  32. package/dist/dts/features/Navigation/types.d.ts.map +1 -1
  33. package/dist/dts/utils/mergeDefaultTailwindClassnames.d.ts +1 -0
  34. package/dist/dts/utils/mergeDefaultTailwindClassnames.d.ts.map +1 -1
  35. package/dist/dts/utils/mergeDefaultTailwindClassnames.js +1 -0
  36. package/dist/dts/utils/mergeDefaultTailwindClassnames.js.map +1 -1
  37. package/dist/esm/index.js +118 -70
  38. package/dist/esm/index.js.map +1 -1
  39. package/dist/index.d.ts +12 -7
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +1 -1
  42. package/dist/dts/components/jobs/JobMonitor.d.ts +0 -2
  43. package/dist/dts/components/jobs/JobMonitor.d.ts.map +0 -1
  44. package/dist/dts/components/jobs/JobMonitor.js +0 -40
  45. package/dist/dts/components/jobs/JobMonitor.js.map +0 -1
  46. package/dist/dts/components/jobs/JobsList.d.ts +0 -6
  47. package/dist/dts/components/jobs/JobsList.d.ts.map +0 -1
  48. package/dist/dts/components/jobs/JobsList.js +0 -30
  49. package/dist/dts/components/jobs/JobsList.js.map +0 -1
  50. package/dist/dts/components/jobs/JobsModal.d.ts +0 -6
  51. package/dist/dts/components/jobs/JobsModal.d.ts.map +0 -1
  52. package/dist/dts/components/jobs/JobsModal.js +0 -10
  53. package/dist/dts/components/jobs/JobsModal.js.map +0 -1
  54. package/dist/dts/components/jobs/index.d.ts +0 -5
  55. package/dist/dts/components/jobs/index.d.ts.map +0 -1
  56. package/dist/dts/components/jobs/index.js +0 -5
  57. package/dist/dts/components/jobs/index.js.map +0 -1
  58. package/dist/dts/features/CohortBuilder/downloads/CohortDispatchActionButton.d.ts +0 -46
  59. package/dist/dts/features/CohortBuilder/downloads/CohortDispatchActionButton.d.ts.map +0 -1
  60. package/dist/dts/features/CohortBuilder/downloads/CohortDispatchActionButton.js +0 -44
  61. package/dist/dts/features/CohortBuilder/downloads/CohortDispatchActionButton.js.map +0 -1
  62. package/dist/dts/features/CohortBuilder/downloads/actions/TwoStepActionButton.d.ts +0 -42
  63. package/dist/dts/features/CohortBuilder/downloads/actions/TwoStepActionButton.d.ts.map +0 -1
  64. package/dist/dts/features/CohortBuilder/downloads/actions/TwoStepActionButton.js +0 -218
  65. package/dist/dts/features/CohortBuilder/downloads/actions/TwoStepActionButton.js.map +0 -1
  66. package/dist/dts/features/CohortBuilder/downloads/actions/sowerActions.d.ts +0 -2
  67. package/dist/dts/features/CohortBuilder/downloads/actions/sowerActions.d.ts.map +0 -1
  68. package/dist/dts/features/CohortBuilder/downloads/actions/sowerActions.js +0 -12
  69. package/dist/dts/features/CohortBuilder/downloads/actions/sowerActions.js.map +0 -1
  70. package/dist/dts/services/SowerJobsMonitor.d.ts +0 -30
  71. package/dist/dts/services/SowerJobsMonitor.d.ts.map +0 -1
  72. package/dist/dts/services/SowerJobsMonitor.js +0 -236
  73. package/dist/dts/services/SowerJobsMonitor.js.map +0 -1
@@ -1,236 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
- return new (P || (P = Promise))(function (resolve, reject) {
15
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
- step((generator = generator.apply(thisArg, _arguments || [])).next());
19
- });
20
- };
21
- var __generator = (this && this.__generator) || function (thisArg, body) {
22
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
23
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
- function verb(n) { return function (v) { return step([n, v]); }; }
25
- function step(op) {
26
- if (f) throw new TypeError("Generator is already executing.");
27
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
- if (y = 0, t) op = [op[0] & 2, t.value];
30
- switch (op[0]) {
31
- case 0: case 1: t = op; break;
32
- case 4: _.label++; return { value: op[1], done: false };
33
- case 5: _.label++; y = op[1]; op = [0]; continue;
34
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
- default:
36
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
- if (t[2]) _.ops.pop();
41
- _.trys.pop(); continue;
42
- }
43
- op = body.call(thisArg, _);
44
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
- }
47
- };
48
- import { notifications } from '@mantine/notifications';
49
- import { coreStore, sowerApi, addSowerJob, removeSowerJob, } from '@gen3/core';
50
- var SowerJobsMonitor = /** @class */ (function () {
51
- function SowerJobsMonitor(config) {
52
- if (config === void 0) { config = {}; }
53
- this.pollingInterval = null;
54
- this.isPolling = false;
55
- this.config = __assign(__assign({}, SowerJobsMonitor.DEFAULT_CONFIG), config);
56
- this.checkAndUpdatePolling();
57
- }
58
- SowerJobsMonitor.getInstance = function (config) {
59
- if (!SowerJobsMonitor.instance) {
60
- SowerJobsMonitor.instance = new SowerJobsMonitor(config);
61
- }
62
- else if (config) {
63
- // Update config if provided
64
- SowerJobsMonitor.instance.updateConfig(config);
65
- }
66
- return SowerJobsMonitor.instance;
67
- };
68
- SowerJobsMonitor.prototype.updateConfig = function (newConfig) {
69
- this.config = __assign(__assign({}, this.config), newConfig);
70
- // If polling is active, restart it with new interval
71
- if (this.isPolling) {
72
- this.stopMonitoring();
73
- this.startMonitoring();
74
- }
75
- if (this.config.debug) {
76
- console.log('Monitor config updated:', this.config);
77
- }
78
- };
79
- SowerJobsMonitor.prototype.getConfig = function () {
80
- return __assign({}, this.config);
81
- };
82
- SowerJobsMonitor.prototype.registerJob = function (jobId, config) {
83
- coreStore.dispatch(addSowerJob({
84
- jobId: jobId,
85
- config: config,
86
- part: 1,
87
- timestamp: Date.now(),
88
- }));
89
- // Start polling when a job is registered
90
- this.startPollingIfNeeded();
91
- };
92
- SowerJobsMonitor.prototype.getPendingActions = function () {
93
- var state = coreStore.getState();
94
- return state.sowerJobsList.jobIds;
95
- };
96
- SowerJobsMonitor.prototype.startPollingIfNeeded = function () {
97
- var pendingActions = this.getPendingActions();
98
- if (Object.keys(pendingActions).length > 0 && !this.isPolling) {
99
- this.startMonitoring();
100
- }
101
- };
102
- SowerJobsMonitor.prototype.stopPollingIfNoJobs = function () {
103
- var pendingActions = this.getPendingActions();
104
- if (Object.keys(pendingActions).length === 0 && this.isPolling) {
105
- this.stopMonitoring();
106
- }
107
- };
108
- SowerJobsMonitor.prototype.checkAndUpdatePolling = function () {
109
- var pendingActions = this.getPendingActions();
110
- if (Object.keys(pendingActions).length > 0 && !this.isPolling) {
111
- this.startMonitoring();
112
- }
113
- else if (Object.keys(pendingActions).length === 0 && this.isPolling) {
114
- this.stopMonitoring();
115
- }
116
- };
117
- SowerJobsMonitor.prototype.checkJobStatus = function (jobId, pendingAction) {
118
- return __awaiter(this, void 0, void 0, function () {
119
- var response, status_1, error_1;
120
- return __generator(this, function (_a) {
121
- switch (_a.label) {
122
- case 0:
123
- _a.trys.push([0, 2, , 3]);
124
- return [4 /*yield*/, coreStore.dispatch(sowerApi.endpoints.getSowerJobStatus.initiate(jobId))];
125
- case 1:
126
- response = _a.sent();
127
- if ('data' in response) {
128
- status_1 = response.data;
129
- if ((status_1 === null || status_1 === void 0 ? void 0 : status_1.status) === 'completed' && pendingAction.part === 1) {
130
- this.executeStep2(pendingAction);
131
- this.stopPollingIfNoJobs();
132
- }
133
- else if ((status_1 === null || status_1 === void 0 ? void 0 : status_1.status) === 'failed') {
134
- this.handleError(jobId, 'Job failed');
135
- this.stopPollingIfNoJobs();
136
- }
137
- }
138
- return [3 /*break*/, 3];
139
- case 2:
140
- error_1 = _a.sent();
141
- this.handleError(jobId, 'Failed to check job status');
142
- this.stopPollingIfNoJobs();
143
- return [3 /*break*/, 3];
144
- case 3: return [2 /*return*/];
145
- }
146
- });
147
- });
148
- };
149
- SowerJobsMonitor.prototype.executeStep2 = function (pendingAction) {
150
- return __awaiter(this, void 0, void 0, function () {
151
- var action, error_2;
152
- return __generator(this, function (_a) {
153
- switch (_a.label) {
154
- case 0:
155
- _a.trys.push([0, 2, , 3]);
156
- action = pendingAction.config.sendJobAction.actionFunction;
157
- return [4 /*yield*/, action({
158
- parameters: pendingAction.config.sendJobAction.parameters,
159
- })];
160
- case 1:
161
- _a.sent();
162
- notifications.show({
163
- title: 'Success',
164
- message: 'Action completed successfully',
165
- color: 'green',
166
- });
167
- coreStore.dispatch(removeSowerJob(pendingAction.jobId));
168
- return [3 /*break*/, 3];
169
- case 2:
170
- error_2 = _a.sent();
171
- this.handleError(pendingAction.jobId, 'Failed to complete second step');
172
- return [3 /*break*/, 3];
173
- case 3: return [2 /*return*/];
174
- }
175
- });
176
- });
177
- };
178
- SowerJobsMonitor.prototype.handleError = function (jobId, message) {
179
- notifications.show({
180
- title: 'Error',
181
- message: message,
182
- color: 'red',
183
- });
184
- coreStore.dispatch(removeSowerJob(jobId));
185
- };
186
- SowerJobsMonitor.prototype.startMonitoring = function () {
187
- var _this = this;
188
- if (!this.isPolling) {
189
- this.isPolling = true;
190
- this.pollingInterval = setInterval(function () {
191
- var pendingActions = _this.getPendingActions();
192
- if (Object.keys(pendingActions).length === 0) {
193
- _this.stopMonitoring();
194
- return;
195
- }
196
- Object.entries(pendingActions).forEach(function (_a) { return __awaiter(_this, [_a], void 0, function (_b) {
197
- var jobId = _b[0], action = _b[1];
198
- return __generator(this, function (_c) {
199
- switch (_c.label) {
200
- case 0: return [4 /*yield*/, this.checkJobStatus(jobId, action)];
201
- case 1:
202
- _c.sent();
203
- return [2 /*return*/];
204
- }
205
- });
206
- }); });
207
- }, this.config.pollingInterval);
208
- if (this.config.debug) {
209
- console.log("Polling started with interval: ".concat(this.config.pollingInterval, "ms"));
210
- }
211
- }
212
- };
213
- SowerJobsMonitor.prototype.stopMonitoring = function () {
214
- if (this.pollingInterval) {
215
- clearInterval(this.pollingInterval);
216
- this.pollingInterval = null;
217
- this.isPolling = false;
218
- if (this.config.debug) {
219
- console.log('Polling stopped');
220
- }
221
- }
222
- };
223
- SowerJobsMonitor.prototype.cleanup = function () {
224
- if (this.pollingInterval) {
225
- clearInterval(this.pollingInterval);
226
- }
227
- };
228
- SowerJobsMonitor.DEFAULT_CONFIG = {
229
- pollingInterval: 5000, // 5 seconds default
230
- maxRetries: 3,
231
- debug: false,
232
- };
233
- return SowerJobsMonitor;
234
- }());
235
- export { SowerJobsMonitor };
236
- //# sourceMappingURL=SowerJobsMonitor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SowerJobsMonitor.js","sourceRoot":"","sources":["../../../src/services/SowerJobsMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OA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