@privateaim/client-vue 0.8.10 → 0.8.12

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 (39) hide show
  1. package/dist/components/analysis/FAnalyses.d.ts.map +1 -1
  2. package/dist/components/analysis/FAnalysisItemCard.vue.d.ts.map +1 -1
  3. package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts +345 -13
  4. package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts.map +1 -1
  5. package/dist/components/analysis/wizard/FAnalysisWizardLockModal.vue.d.ts.map +1 -1
  6. package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts +3 -13
  7. package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts.map +1 -1
  8. package/dist/components/analysis/wizard/FAnalysisWizardStepNodes.vue.d.ts.map +1 -1
  9. package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts +346 -0
  10. package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts.map +1 -0
  11. package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts +2 -10
  12. package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts.map +1 -1
  13. package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts +14 -24
  14. package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts.map +1 -1
  15. package/dist/components/analysis-node/FAnalysisNodeManager.vue.d.ts.map +1 -1
  16. package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts +18 -0
  17. package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts.map +1 -0
  18. package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts +86 -0
  19. package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts.map +1 -0
  20. package/dist/components/analysis-permission/index.d.ts +3 -0
  21. package/dist/components/analysis-permission/index.d.ts.map +1 -0
  22. package/dist/components/index.d.ts +1 -0
  23. package/dist/components/index.d.ts.map +1 -1
  24. package/dist/components/project-node/FProjectNodeInCard.vue.d.ts.map +1 -1
  25. package/dist/core/entity-picker/index.d.ts +3 -0
  26. package/dist/core/entity-picker/index.d.ts.map +1 -0
  27. package/dist/core/entity-picker/module.d.ts +48 -0
  28. package/dist/core/entity-picker/module.d.ts.map +1 -0
  29. package/dist/core/entity-picker/types.d.ts +27 -0
  30. package/dist/core/entity-picker/types.d.ts.map +1 -0
  31. package/dist/core/list/module.d.ts.map +1 -1
  32. package/dist/core/list/utils/handlers.d.ts +2 -2
  33. package/dist/core/list/utils/handlers.d.ts.map +1 -1
  34. package/dist/index.cjs +692 -597
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.css +8 -0
  37. package/dist/index.mjs +692 -599
  38. package/dist/index.mjs.map +1 -1
  39. package/package.json +8 -8
package/dist/index.cjs CHANGED
@@ -238,7 +238,7 @@ function installStoreManager(instance, key) {
238
238
  return manager;
239
239
  }
240
240
 
241
- var _sfc_main$p = vue.defineComponent({
241
+ var _sfc_main$q = vue.defineComponent({
242
242
  components: {
243
243
  IVuelidate: vuelidate.IVuelidate,
244
244
  VCFormInput: formControls.VCFormInput,
@@ -312,7 +312,7 @@ var _export_sfc = ((sfc, props)=>{
312
312
  return target;
313
313
  });
314
314
 
315
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
315
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
316
316
  const _component_VCFormInput = vue.resolveComponent("VCFormInput");
317
317
  const _component_VCFormGroup = vue.resolveComponent("VCFormGroup");
318
318
  const _component_IVuelidate = vue.resolveComponent("IVuelidate");
@@ -401,10 +401,10 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
401
401
  ])
402
402
  ], 32);
403
403
  }
404
- var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$p, [
404
+ var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$q, [
405
405
  [
406
406
  "render",
407
- _sfc_render$p
407
+ _sfc_render$q
408
408
  ]
409
409
  ]);
410
410
 
@@ -524,24 +524,16 @@ function arrayBufferToBase64(arrayBuffer) {
524
524
  return btoa(String.fromCharCode.apply(null, new Uint8Array(arrayBuffer)));
525
525
  }
526
526
  function exportAsymmetricPublicKey(key) {
527
- return _exportAsymmetricPublicKey.apply(this, arguments);
528
- }
529
- function _exportAsymmetricPublicKey() {
530
- _exportAsymmetricPublicKey = _async_to_generator$2$1(function*(key) {
527
+ return /*#__PURE__*/ _async_to_generator$2$1(function*() {
531
528
  const exported = yield crypto.subtle.exportKey('spki', key);
532
529
  return `-----BEGIN PUBLIC KEY-----\n${arrayBufferToBase64(exported)}\n-----END PUBLIC KEY-----`;
533
- });
534
- return _exportAsymmetricPublicKey.apply(this, arguments);
530
+ })();
535
531
  }
536
532
  function exportAsymmetricPrivateKey(key) {
537
- return _exportAsymmetricPrivateKey.apply(this, arguments);
538
- }
539
- function _exportAsymmetricPrivateKey() {
540
- _exportAsymmetricPrivateKey = _async_to_generator$2$1(function*(key) {
533
+ return /*#__PURE__*/ _async_to_generator$2$1(function*() {
541
534
  const exported = yield crypto.subtle.exportKey('pkcs8', key);
542
535
  return `-----BEGIN PRIVATE KEY-----\n${arrayBufferToBase64(exported)}\n-----END PRIVATE KEY-----`;
543
- });
544
- return _exportAsymmetricPrivateKey.apply(this, arguments);
536
+ })();
545
537
  }
546
538
  /*
547
539
  * Copyright (c) 2024.
@@ -642,57 +634,52 @@ class CryptoAsymmetricAlgorithm {
642
634
  throw new Error('Import params could not be created.');
643
635
  }
644
636
  generateKeyPair() {
645
- var _this = this;
646
- return _async_to_generator$1$1(function*() {
647
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
648
- _this.keyPair = yield crypto.subtle.generateKey(_this.algorithm, true, [
637
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
638
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
639
+ this.keyPair = yield crypto.subtle.generateKey(this.algorithm, true, [
649
640
  'encrypt',
650
641
  'decrypt'
651
642
  ]);
652
- return _this.keyPair;
643
+ return this.keyPair;
653
644
  }
654
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
655
- _this.keyPair = yield crypto.subtle.generateKey(_this.algorithm, true, [
645
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
646
+ this.keyPair = yield crypto.subtle.generateKey(this.algorithm, true, [
656
647
  'deriveKey'
657
648
  ]);
658
- return _this.keyPair;
649
+ return this.keyPair;
659
650
  }
660
651
  throw new Error('The algorithm is not supported for key generation.');
661
- })();
652
+ }).call(this);
662
653
  }
663
654
  useKeyPair() {
664
- var _this = this;
665
- return _async_to_generator$1$1(function*() {
666
- if (typeof _this.keyPair !== 'undefined') {
667
- return _this.keyPair;
655
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
656
+ if (typeof this.keyPair !== 'undefined') {
657
+ return this.keyPair;
668
658
  }
669
- return _this.generateKeyPair();
670
- })();
659
+ return this.generateKeyPair();
660
+ }).call(this);
671
661
  }
672
662
  exportPublicKey() {
673
- var _this = this;
674
- return _async_to_generator$1$1(function*() {
675
- const keyPair = yield _this.useKeyPair();
663
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
664
+ const keyPair = yield this.useKeyPair();
676
665
  return exportAsymmetricPublicKey(keyPair.publicKey);
677
- })();
666
+ }).call(this);
678
667
  }
679
668
  exportPrivateKey() {
680
- var _this = this;
681
- return _async_to_generator$1$1(function*() {
682
- const keyPair = yield _this.useKeyPair();
669
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
670
+ const keyPair = yield this.useKeyPair();
683
671
  return exportAsymmetricPrivateKey(keyPair.privateKey);
684
- })();
672
+ }).call(this);
685
673
  }
686
674
  encrypt(data, remoteKey) {
687
- var _this = this;
688
- return _async_to_generator$1$1(function*() {
689
- const keyPair = yield _this.useKeyPair();
690
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
675
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
676
+ const keyPair = yield this.useKeyPair();
677
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
691
678
  return crypto.subtle.encrypt({
692
679
  name: 'RSA-OAEP'
693
680
  }, remoteKey || keyPair.publicKey, data);
694
681
  }
695
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
682
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
696
683
  if (typeof remoteKey === 'undefined') {
697
684
  throw new Error('Remote public key is required.');
698
685
  }
@@ -719,18 +706,17 @@ class CryptoAsymmetricAlgorithm {
719
706
  ]);
720
707
  }
721
708
  throw new Error('Unsupported algorithm for encryption.');
722
- })();
709
+ }).call(this);
723
710
  }
724
711
  decrypt(data, remoteKey) {
725
- var _this = this;
726
- return _async_to_generator$1$1(function*() {
727
- const keyPair = yield _this.useKeyPair();
728
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
712
+ return /*#__PURE__*/ _async_to_generator$1$1(function*() {
713
+ const keyPair = yield this.useKeyPair();
714
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
729
715
  return crypto.subtle.decrypt({
730
716
  name: 'RSA-OAEP'
731
717
  }, keyPair.privateKey, data);
732
718
  }
733
- if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
719
+ if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
734
720
  if (typeof remoteKey === 'undefined') {
735
721
  throw new Error('Remote public key is required.');
736
722
  }
@@ -751,7 +737,7 @@ class CryptoAsymmetricAlgorithm {
751
737
  }, key, data.slice(16));
752
738
  }
753
739
  throw new Error('Unsupported algorithm for decryption.');
754
- })();
740
+ }).call(this);
755
741
  }
756
742
  constructor(algorithm){
757
743
  _define_property$1$1(this, "algorithm", void 0);
@@ -793,6 +779,8 @@ class CryptoAsymmetricAlgorithm {
793
779
  PermissionName["ANALYSIS_EXECUTION_STOP"] = "analysis_execution_stop";
794
780
  PermissionName["ANALYSIS_DELETE"] = "analysis_delete";
795
781
  PermissionName["ANALYSIS_RESULT_READ"] = "analysis_result_read";
782
+ PermissionName["ANALYSIS_SELF_MESSAGE_BROKER_USE"] = "analysis_self_message_broker_use";
783
+ PermissionName["ANALYSIS_SELF_STORAGE_USE"] = "analysis_self_storage_use";
796
784
  PermissionName["MASTER_IMAGE_MANAGE"] = "master_image_manage";
797
785
  PermissionName["MASTER_IMAGE_GROUP_MANAGE"] = "master_image_group_manage";
798
786
  PermissionName["SERVICE_MANAGE"] = "service_manage";
@@ -1088,7 +1076,7 @@ function buildListCreatedHandler(items, cb) {
1088
1076
  }
1089
1077
  };
1090
1078
  }
1091
- function buildListUpdatedHandler(items) {
1079
+ function buildListUpdatedHandler(items, cb) {
1092
1080
  return (item)=>{
1093
1081
  if (!smob.isObject(item)) {
1094
1082
  return;
@@ -1099,22 +1087,25 @@ function buildListUpdatedHandler(items) {
1099
1087
  for(let i = 0; i < keys.length; i++){
1100
1088
  items.value[index][keys[i]] = item[keys[i]];
1101
1089
  }
1090
+ if (cb) {
1091
+ cb(items.value[index]);
1092
+ }
1102
1093
  }
1103
1094
  };
1104
1095
  }
1105
1096
  function buildListDeletedHandler(items, cb) {
1106
1097
  return (item)=>{
1107
1098
  if (!smob.isObject(item)) {
1108
- return undefined;
1099
+ return;
1109
1100
  }
1110
1101
  const index = items.value.findIndex((el)=>el.id === item.id);
1111
1102
  if (index !== -1) {
1103
+ const output = items.value[index];
1104
+ items.value.splice(index, 1);
1112
1105
  if (cb) {
1113
- cb(items.value[index]);
1106
+ cb(output);
1114
1107
  }
1115
- return items.value.splice(index, 1).pop();
1116
1108
  }
1117
- return undefined;
1118
1109
  };
1119
1110
  }
1120
1111
 
@@ -2241,25 +2232,22 @@ function _async_to_generator$f(fn) {
2241
2232
  }
2242
2233
  class MasterImageGroupAPI extends BaseAPI {
2243
2234
  getMany(data) {
2244
- var _this = this;
2245
- return _async_to_generator$f(function*() {
2246
- const response = yield _this.client.get(`master-image-groups${rapiq.buildQuery(data)}`);
2235
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2236
+ const response = yield this.client.get(`master-image-groups${rapiq.buildQuery(data)}`);
2247
2237
  return response.data;
2248
- })();
2238
+ }).call(this);
2249
2239
  }
2250
2240
  getOne(id) {
2251
- var _this = this;
2252
- return _async_to_generator$f(function*() {
2253
- const response = yield _this.client.delete(`master-image-groups/${id}`);
2241
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2242
+ const response = yield this.client.delete(`master-image-groups/${id}`);
2254
2243
  return response.data;
2255
- })();
2244
+ }).call(this);
2256
2245
  }
2257
2246
  delete(id) {
2258
- var _this = this;
2259
- return _async_to_generator$f(function*() {
2260
- const response = yield _this.client.delete(`master-image-groups/${id}`);
2247
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2248
+ const response = yield this.client.delete(`master-image-groups/${id}`);
2261
2249
  return response.data;
2262
- })();
2250
+ }).call(this);
2263
2251
  }
2264
2252
  }
2265
2253
  /*
@@ -2326,35 +2314,31 @@ function _object_spread$3(target) {
2326
2314
  }
2327
2315
  class MasterImageAPI extends BaseAPI {
2328
2316
  getMany(data) {
2329
- var _this = this;
2330
- return _async_to_generator$e(function*() {
2331
- const response = yield _this.client.get(`master-images${rapiq.buildQuery(data)}`);
2317
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2318
+ const response = yield this.client.get(`master-images${rapiq.buildQuery(data)}`);
2332
2319
  return response.data;
2333
- })();
2320
+ }).call(this);
2334
2321
  }
2335
2322
  getOne(id, data) {
2336
- var _this = this;
2337
- return _async_to_generator$e(function*() {
2338
- const response = yield _this.client.get(`master-images/${id}${rapiq.buildQuery(data)}`);
2323
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2324
+ const response = yield this.client.get(`master-images/${id}${rapiq.buildQuery(data)}`);
2339
2325
  return response.data;
2340
- })();
2326
+ }).call(this);
2341
2327
  }
2342
2328
  delete(id) {
2343
- var _this = this;
2344
- return _async_to_generator$e(function*() {
2345
- const response = yield _this.client.delete(`master-images/${id}`);
2329
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2330
+ const response = yield this.client.delete(`master-images/${id}`);
2346
2331
  return response.data;
2347
- })();
2332
+ }).call(this);
2348
2333
  }
2349
- runCommand(command, data = {}) {
2350
- var _this = this;
2351
- return _async_to_generator$e(function*() {
2334
+ runCommand(_0) {
2335
+ return /*#__PURE__*/ _async_to_generator$e(function*(command, data = {}) {
2352
2336
  const actionData = _object_spread$3({
2353
2337
  command
2354
2338
  }, data);
2355
- const { data: response } = yield _this.client.post('master-images/command', actionData);
2339
+ const { data: response } = yield this.client.post('master-images/command', actionData);
2356
2340
  return response;
2357
- })();
2341
+ }).apply(this, arguments);
2358
2342
  }
2359
2343
  }
2360
2344
  /*
@@ -2393,39 +2377,34 @@ function _async_to_generator$d(fn) {
2393
2377
  }
2394
2378
  class MasterImageEventLogAPI extends BaseAPI {
2395
2379
  getMany(options) {
2396
- var _this = this;
2397
- return _async_to_generator$d(function*() {
2398
- const { data: response } = yield _this.client.get(`master-image-event-logs${rapiq.buildQuery(options)}`);
2380
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2381
+ const { data: response } = yield this.client.get(`master-image-event-logs${rapiq.buildQuery(options)}`);
2399
2382
  return response;
2400
- })();
2383
+ }).call(this);
2401
2384
  }
2402
2385
  getOne(id) {
2403
- var _this = this;
2404
- return _async_to_generator$d(function*() {
2405
- const { data: response } = yield _this.client.get(`master-image-event-logs/${id}`);
2386
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2387
+ const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
2406
2388
  return response;
2407
- })();
2389
+ }).call(this);
2408
2390
  }
2409
2391
  delete(id) {
2410
- var _this = this;
2411
- return _async_to_generator$d(function*() {
2412
- const { data: response } = yield _this.client.delete(`master-image-event-logs/${id}`);
2392
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2393
+ const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
2413
2394
  return response;
2414
- })();
2395
+ }).call(this);
2415
2396
  }
2416
2397
  update(id, data) {
2417
- var _this = this;
2418
- return _async_to_generator$d(function*() {
2419
- const { data: response } = yield _this.client.post(`master-image-event-logs/${id}`, data);
2398
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2399
+ const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
2420
2400
  return response;
2421
- })();
2401
+ }).call(this);
2422
2402
  }
2423
2403
  create(data) {
2424
- var _this = this;
2425
- return _async_to_generator$d(function*() {
2426
- const { data: response } = yield _this.client.post('master-image-event-logs', data);
2404
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2405
+ const { data: response } = yield this.client.post('master-image-event-logs', data);
2427
2406
  return response;
2428
- })();
2407
+ }).call(this);
2429
2408
  }
2430
2409
  }
2431
2410
  function nullifyEmptyObjectProperties(data) {
@@ -2473,39 +2452,34 @@ function _async_to_generator$c(fn) {
2473
2452
  }
2474
2453
  class ProjectAPI extends BaseAPI {
2475
2454
  getMany(record) {
2476
- var _this = this;
2477
- return _async_to_generator$c(function*() {
2478
- const response = yield _this.client.get(`projects${rapiq.buildQuery(record)}`);
2455
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2456
+ const response = yield this.client.get(`projects${rapiq.buildQuery(record)}`);
2479
2457
  return response.data;
2480
- })();
2458
+ }).call(this);
2481
2459
  }
2482
2460
  getOne(id, requestRecord) {
2483
- var _this = this;
2484
- return _async_to_generator$c(function*() {
2485
- const response = yield _this.client.get(`projects/${id}${rapiq.buildQuery(requestRecord)}`);
2461
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2462
+ const response = yield this.client.get(`projects/${id}${rapiq.buildQuery(requestRecord)}`);
2486
2463
  return response.data;
2487
- })();
2464
+ }).call(this);
2488
2465
  }
2489
2466
  create(data) {
2490
- var _this = this;
2491
- return _async_to_generator$c(function*() {
2492
- const response = yield _this.client.post('projects', nullifyEmptyObjectProperties(data));
2467
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2468
+ const response = yield this.client.post('projects', nullifyEmptyObjectProperties(data));
2493
2469
  return response.data;
2494
- })();
2470
+ }).call(this);
2495
2471
  }
2496
2472
  delete(id) {
2497
- var _this = this;
2498
- return _async_to_generator$c(function*() {
2499
- const response = yield _this.client.delete(`projects/${id}`);
2473
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2474
+ const response = yield this.client.delete(`projects/${id}`);
2500
2475
  return response.data;
2501
- })();
2476
+ }).call(this);
2502
2477
  }
2503
2478
  update(id, data) {
2504
- var _this = this;
2505
- return _async_to_generator$c(function*() {
2506
- const response = yield _this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
2479
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2480
+ const response = yield this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
2507
2481
  return response.data;
2508
- })();
2482
+ }).call(this);
2509
2483
  }
2510
2484
  }
2511
2485
  /*
@@ -2544,39 +2518,34 @@ function _async_to_generator$b(fn) {
2544
2518
  }
2545
2519
  class ProjectNodeAPI extends BaseAPI {
2546
2520
  getMany(data) {
2547
- var _this = this;
2548
- return _async_to_generator$b(function*() {
2549
- const response = yield _this.client.get(`project-nodes${rapiq.buildQuery(data)}`);
2521
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2522
+ const response = yield this.client.get(`project-nodes${rapiq.buildQuery(data)}`);
2550
2523
  return response.data;
2551
- })();
2524
+ }).call(this);
2552
2525
  }
2553
2526
  getOne(id, data) {
2554
- var _this = this;
2555
- return _async_to_generator$b(function*() {
2556
- const response = yield _this.client.get(`project-nodes/${id}${rapiq.buildQuery(data)}`);
2527
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2528
+ const response = yield this.client.get(`project-nodes/${id}${rapiq.buildQuery(data)}`);
2557
2529
  return response.data;
2558
- })();
2530
+ }).call(this);
2559
2531
  }
2560
2532
  create(data) {
2561
- var _this = this;
2562
- return _async_to_generator$b(function*() {
2563
- const response = yield _this.client.post('project-nodes', data);
2533
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2534
+ const response = yield this.client.post('project-nodes', data);
2564
2535
  return response.data;
2565
- })();
2536
+ }).call(this);
2566
2537
  }
2567
2538
  update(id, data) {
2568
- var _this = this;
2569
- return _async_to_generator$b(function*() {
2570
- const response = yield _this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
2539
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2540
+ const response = yield this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
2571
2541
  return response.data;
2572
- })();
2542
+ }).call(this);
2573
2543
  }
2574
2544
  delete(id) {
2575
- var _this = this;
2576
- return _async_to_generator$b(function*() {
2577
- const response = yield _this.client.delete(`project-nodes/${id}`);
2545
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2546
+ const response = yield this.client.delete(`project-nodes/${id}`);
2578
2547
  return response.data;
2579
- })();
2548
+ }).call(this);
2580
2549
  }
2581
2550
  }
2582
2551
  /*
@@ -2615,39 +2584,34 @@ function _async_to_generator$a(fn) {
2615
2584
  }
2616
2585
  class RegistryAPI extends BaseAPI {
2617
2586
  getMany(options) {
2618
- var _this = this;
2619
- return _async_to_generator$a(function*() {
2620
- const response = yield _this.client.get(`registries${rapiq.buildQuery(options)}`);
2587
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2588
+ const response = yield this.client.get(`registries${rapiq.buildQuery(options)}`);
2621
2589
  return response.data;
2622
- })();
2590
+ }).call(this);
2623
2591
  }
2624
2592
  getOne(id, options) {
2625
- var _this = this;
2626
- return _async_to_generator$a(function*() {
2627
- const response = yield _this.client.get(`registries/${id}${rapiq.buildQuery(options)}`);
2593
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2594
+ const response = yield this.client.get(`registries/${id}${rapiq.buildQuery(options)}`);
2628
2595
  return response.data;
2629
- })();
2596
+ }).call(this);
2630
2597
  }
2631
2598
  create(data) {
2632
- var _this = this;
2633
- return _async_to_generator$a(function*() {
2634
- const response = yield _this.client.post('registries', nullifyEmptyObjectProperties(data));
2599
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2600
+ const response = yield this.client.post('registries', nullifyEmptyObjectProperties(data));
2635
2601
  return response.data;
2636
- })();
2602
+ }).call(this);
2637
2603
  }
2638
2604
  update(id, data) {
2639
- var _this = this;
2640
- return _async_to_generator$a(function*() {
2641
- const response = yield _this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
2605
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2606
+ const response = yield this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
2642
2607
  return response.data;
2643
- })();
2608
+ }).call(this);
2644
2609
  }
2645
2610
  delete(id) {
2646
- var _this = this;
2647
- return _async_to_generator$a(function*() {
2648
- const response = yield _this.client.delete(`registries/${id}`);
2611
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2612
+ const response = yield this.client.delete(`registries/${id}`);
2649
2613
  return response.data;
2650
- })();
2614
+ }).call(this);
2651
2615
  }
2652
2616
  }
2653
2617
  /*
@@ -2686,39 +2650,34 @@ function _async_to_generator$9(fn) {
2686
2650
  }
2687
2651
  class RegistryProjectAPI extends BaseAPI {
2688
2652
  getMany(options) {
2689
- var _this = this;
2690
- return _async_to_generator$9(function*() {
2691
- const response = yield _this.client.get(`registry-projects${rapiq.buildQuery(options)}`);
2653
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2654
+ const response = yield this.client.get(`registry-projects${rapiq.buildQuery(options)}`);
2692
2655
  return response.data;
2693
- })();
2656
+ }).call(this);
2694
2657
  }
2695
2658
  getOne(id, options) {
2696
- var _this = this;
2697
- return _async_to_generator$9(function*() {
2698
- const response = yield _this.client.get(`registry-projects/${id}${rapiq.buildQuery(options)}`);
2659
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2660
+ const response = yield this.client.get(`registry-projects/${id}${rapiq.buildQuery(options)}`);
2699
2661
  return response.data;
2700
- })();
2662
+ }).call(this);
2701
2663
  }
2702
2664
  create(data) {
2703
- var _this = this;
2704
- return _async_to_generator$9(function*() {
2705
- const response = yield _this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
2665
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2666
+ const response = yield this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
2706
2667
  return response.data;
2707
- })();
2668
+ }).call(this);
2708
2669
  }
2709
2670
  update(id, data) {
2710
- var _this = this;
2711
- return _async_to_generator$9(function*() {
2712
- const response = yield _this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
2671
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2672
+ const response = yield this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
2713
2673
  return response.data;
2714
- })();
2674
+ }).call(this);
2715
2675
  }
2716
2676
  delete(id) {
2717
- var _this = this;
2718
- return _async_to_generator$9(function*() {
2719
- const response = yield _this.client.delete(`registry-projects/${id}`);
2677
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2678
+ const response = yield this.client.delete(`registry-projects/${id}`);
2720
2679
  return response.data;
2721
- })();
2680
+ }).call(this);
2722
2681
  }
2723
2682
  }
2724
2683
  /*
@@ -2785,48 +2744,42 @@ function _object_spread$2(target) {
2785
2744
  }
2786
2745
  class NodeAPI extends BaseAPI {
2787
2746
  getMany(options) {
2788
- var _this = this;
2789
- return _async_to_generator$8(function*() {
2790
- const response = yield _this.client.get(`nodes${rapiq.buildQuery(options)}`);
2747
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2748
+ const response = yield this.client.get(`nodes${rapiq.buildQuery(options)}`);
2791
2749
  return response.data;
2792
- })();
2750
+ }).call(this);
2793
2751
  }
2794
2752
  getOne(id, options) {
2795
- var _this = this;
2796
- return _async_to_generator$8(function*() {
2797
- const response = yield _this.client.get(`nodes/${id}${rapiq.buildQuery(options)}`);
2753
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2754
+ const response = yield this.client.get(`nodes/${id}${rapiq.buildQuery(options)}`);
2798
2755
  return response.data;
2799
- })();
2756
+ }).call(this);
2800
2757
  }
2801
2758
  create(data) {
2802
- var _this = this;
2803
- return _async_to_generator$8(function*() {
2804
- const response = yield _this.client.post('nodes', nullifyEmptyObjectProperties(data));
2759
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2760
+ const response = yield this.client.post('nodes', nullifyEmptyObjectProperties(data));
2805
2761
  return response.data;
2806
- })();
2762
+ }).call(this);
2807
2763
  }
2808
2764
  update(id, data) {
2809
- var _this = this;
2810
- return _async_to_generator$8(function*() {
2811
- const response = yield _this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
2765
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2766
+ const response = yield this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
2812
2767
  return response.data;
2813
- })();
2768
+ }).call(this);
2814
2769
  }
2815
2770
  delete(id) {
2816
- var _this = this;
2817
- return _async_to_generator$8(function*() {
2818
- const response = yield _this.client.delete(`nodes/${id}`);
2771
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2772
+ const response = yield this.client.delete(`nodes/${id}`);
2819
2773
  return response.data;
2820
- })();
2774
+ }).call(this);
2821
2775
  }
2822
2776
  runCommand(id, task, data) {
2823
- var _this = this;
2824
- return _async_to_generator$8(function*() {
2825
- const response = yield _this.client.post(`nodes/${id}/task`, _object_spread$2({
2777
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2778
+ const response = yield this.client.post(`nodes/${id}/task`, _object_spread$2({
2826
2779
  task
2827
2780
  }, data));
2828
2781
  return response.data;
2829
- })();
2782
+ }).call(this);
2830
2783
  }
2831
2784
  }
2832
2785
  /*
@@ -2906,67 +2859,59 @@ class AnalysisAPI extends BaseAPI {
2906
2859
  return new URL(this.getFilesDownloadPath(id), this.client.getBaseURL()).href;
2907
2860
  }
2908
2861
  getMany(options) {
2909
- var _this = this;
2910
- return _async_to_generator$7(function*() {
2911
- const { data: response } = yield _this.client.get(`analyses${rapiq.buildQuery(options)}`);
2862
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2863
+ const { data: response } = yield this.client.get(`analyses${rapiq.buildQuery(options)}`);
2912
2864
  return response;
2913
- })();
2865
+ }).call(this);
2914
2866
  }
2915
2867
  getOne(id, options, requestConfig) {
2916
- var _this = this;
2917
- return _async_to_generator$7(function*() {
2918
- const { data: response } = yield _this.client.get(`analyses/${id}${rapiq.buildQuery(options)}`, requestConfig);
2868
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2869
+ const { data: response } = yield this.client.get(`analyses/${id}${rapiq.buildQuery(options)}`, requestConfig);
2919
2870
  return response;
2920
- })();
2871
+ }).call(this);
2921
2872
  }
2922
2873
  delete(id) {
2923
- var _this = this;
2924
- return _async_to_generator$7(function*() {
2925
- const { data: response } = yield _this.client.delete(`analyses/${id}`);
2874
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2875
+ const { data: response } = yield this.client.delete(`analyses/${id}`);
2926
2876
  return response;
2927
- })();
2877
+ }).call(this);
2928
2878
  }
2929
2879
  update(id, data) {
2930
- var _this = this;
2931
- return _async_to_generator$7(function*() {
2932
- const { data: response } = yield _this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
2880
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2881
+ const { data: response } = yield this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
2933
2882
  return response;
2934
- })();
2883
+ }).call(this);
2935
2884
  }
2936
2885
  create(data) {
2937
- var _this = this;
2938
- return _async_to_generator$7(function*() {
2939
- const { data: response } = yield _this.client.post('analyses', nullifyEmptyObjectProperties(data));
2886
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2887
+ const { data: response } = yield this.client.post('analyses', nullifyEmptyObjectProperties(data));
2940
2888
  return response;
2941
- })();
2889
+ }).call(this);
2942
2890
  }
2943
- runCommand(id, command, data = {}) {
2944
- var _this = this;
2945
- return _async_to_generator$7(function*() {
2891
+ runCommand(_0, _1) {
2892
+ return /*#__PURE__*/ _async_to_generator$7(function*(id, command, data = {}) {
2946
2893
  const actionData = _object_spread$1({
2947
2894
  command
2948
2895
  }, data);
2949
- const { data: response } = yield _this.client.post(`analyses/${id}/command`, actionData);
2896
+ const { data: response } = yield this.client.post(`analyses/${id}/command`, actionData);
2950
2897
  return response;
2951
- })();
2898
+ }).apply(this, arguments);
2952
2899
  }
2953
2900
  streamFiles(id) {
2954
- var _this = this;
2955
- return _async_to_generator$7(function*() {
2956
- const response = yield _this.client.get(_this.getFilesDownloadPath(id), {
2901
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2902
+ const response = yield this.client.get(this.getFilesDownloadPath(id), {
2957
2903
  responseType: 'stream'
2958
2904
  });
2959
2905
  return response.data;
2960
- })();
2906
+ }).call(this);
2961
2907
  }
2962
2908
  downloadResult(id) {
2963
- var _this = this;
2964
- return _async_to_generator$7(function*() {
2965
- const response = yield _this.client.get(_this.getResultDownloadPath(id), {
2909
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2910
+ const response = yield this.client.get(this.getResultDownloadPath(id), {
2966
2911
  responseType: 'stream'
2967
2912
  });
2968
2913
  return response.data;
2969
- })();
2914
+ }).call(this);
2970
2915
  }
2971
2916
  }
2972
2917
  /*
@@ -3005,39 +2950,34 @@ function _async_to_generator$6(fn) {
3005
2950
  }
3006
2951
  class AnalysisBucketFileAPI extends BaseAPI {
3007
2952
  getMany(options) {
3008
- var _this = this;
3009
- return _async_to_generator$6(function*() {
3010
- const response = yield _this.client.get(`analysis-bucket-files${rapiq.buildQuery(options)}`);
2953
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2954
+ const response = yield this.client.get(`analysis-bucket-files${rapiq.buildQuery(options)}`);
3011
2955
  return response.data;
3012
- })();
2956
+ }).call(this);
3013
2957
  }
3014
2958
  getOne(id) {
3015
- var _this = this;
3016
- return _async_to_generator$6(function*() {
3017
- const response = yield _this.client.get(`analysis-bucket-files/${id}`);
2959
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2960
+ const response = yield this.client.get(`analysis-bucket-files/${id}`);
3018
2961
  return response.data;
3019
- })();
2962
+ }).call(this);
3020
2963
  }
3021
2964
  delete(id) {
3022
- var _this = this;
3023
- return _async_to_generator$6(function*() {
3024
- const response = yield _this.client.delete(`analysis-bucket-files/${id}`);
2965
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2966
+ const response = yield this.client.delete(`analysis-bucket-files/${id}`);
3025
2967
  return response.data;
3026
- })();
2968
+ }).call(this);
3027
2969
  }
3028
2970
  update(id, data) {
3029
- var _this = this;
3030
- return _async_to_generator$6(function*() {
3031
- const { data: response } = yield _this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
2971
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2972
+ const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
3032
2973
  return response;
3033
- })();
2974
+ }).call(this);
3034
2975
  }
3035
2976
  create(data) {
3036
- var _this = this;
3037
- return _async_to_generator$6(function*() {
3038
- const { data: response } = yield _this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
2977
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2978
+ const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
3039
2979
  return response;
3040
- })();
2980
+ }).call(this);
3041
2981
  }
3042
2982
  }
3043
2983
  /*
@@ -3076,39 +3016,34 @@ function _async_to_generator$5(fn) {
3076
3016
  }
3077
3017
  class AnalysisLogAPI extends BaseAPI {
3078
3018
  getMany(options) {
3079
- var _this = this;
3080
- return _async_to_generator$5(function*() {
3081
- const { data: response } = yield _this.client.get(`analysis-logs${rapiq.buildQuery(options)}`);
3019
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3020
+ const { data: response } = yield this.client.get(`analysis-logs${rapiq.buildQuery(options)}`);
3082
3021
  return response;
3083
- })();
3022
+ }).call(this);
3084
3023
  }
3085
3024
  getOne(id) {
3086
- var _this = this;
3087
- return _async_to_generator$5(function*() {
3088
- const { data: response } = yield _this.client.get(`analysis-logs/${id}`);
3025
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3026
+ const { data: response } = yield this.client.get(`analysis-logs/${id}`);
3089
3027
  return response;
3090
- })();
3028
+ }).call(this);
3091
3029
  }
3092
3030
  delete(id) {
3093
- var _this = this;
3094
- return _async_to_generator$5(function*() {
3095
- const { data: response } = yield _this.client.delete(`analysis-logs/${id}`);
3031
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3032
+ const { data: response } = yield this.client.delete(`analysis-logs/${id}`);
3096
3033
  return response;
3097
- })();
3034
+ }).call(this);
3098
3035
  }
3099
3036
  update(id, data) {
3100
- var _this = this;
3101
- return _async_to_generator$5(function*() {
3102
- const { data: response } = yield _this.client.post(`analysis-logs/${id}`, data);
3037
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3038
+ const { data: response } = yield this.client.post(`analysis-logs/${id}`, data);
3103
3039
  return response;
3104
- })();
3040
+ }).call(this);
3105
3041
  }
3106
3042
  create(data) {
3107
- var _this = this;
3108
- return _async_to_generator$5(function*() {
3109
- const { data: response } = yield _this.client.post('analysis-logs', data);
3043
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3044
+ const { data: response } = yield this.client.post('analysis-logs', data);
3110
3045
  return response;
3111
- })();
3046
+ }).call(this);
3112
3047
  }
3113
3048
  }
3114
3049
  /*
@@ -3147,39 +3082,34 @@ function _async_to_generator$4(fn) {
3147
3082
  }
3148
3083
  class TrainStationAPI extends BaseAPI {
3149
3084
  getMany(options) {
3150
- var _this = this;
3151
- return _async_to_generator$4(function*() {
3152
- const { data: response } = yield _this.client.get(`analysis-nodes${rapiq.buildQuery(options)}`);
3085
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3086
+ const { data: response } = yield this.client.get(`analysis-nodes${rapiq.buildQuery(options)}`);
3153
3087
  return response;
3154
- })();
3088
+ }).call(this);
3155
3089
  }
3156
3090
  getOne(id) {
3157
- var _this = this;
3158
- return _async_to_generator$4(function*() {
3159
- const { data: response } = yield _this.client.get(`analysis-nodes/${id}`);
3091
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3092
+ const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
3160
3093
  return response;
3161
- })();
3094
+ }).call(this);
3162
3095
  }
3163
3096
  delete(id) {
3164
- var _this = this;
3165
- return _async_to_generator$4(function*() {
3166
- const { data: response } = yield _this.client.delete(`analysis-nodes/${id}`);
3097
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3098
+ const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
3167
3099
  return response;
3168
- })();
3100
+ }).call(this);
3169
3101
  }
3170
3102
  update(id, data) {
3171
- var _this = this;
3172
- return _async_to_generator$4(function*() {
3173
- const { data: response } = yield _this.client.post(`analysis-nodes/${id}`, data);
3103
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3104
+ const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
3174
3105
  return response;
3175
- })();
3106
+ }).call(this);
3176
3107
  }
3177
3108
  create(data) {
3178
- var _this = this;
3179
- return _async_to_generator$4(function*() {
3180
- const { data: response } = yield _this.client.post('analysis-nodes', data);
3109
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3110
+ const { data: response } = yield this.client.post('analysis-nodes', data);
3181
3111
  return response;
3182
- })();
3112
+ }).call(this);
3183
3113
  }
3184
3114
  }
3185
3115
  /*
@@ -3218,39 +3148,34 @@ function _async_to_generator$3(fn) {
3218
3148
  }
3219
3149
  class AnalysisNodeLogAPI extends BaseAPI {
3220
3150
  getMany(options) {
3221
- var _this = this;
3222
- return _async_to_generator$3(function*() {
3223
- const { data: response } = yield _this.client.get(`analysis-node-logs${rapiq.buildQuery(options)}`);
3151
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3152
+ const { data: response } = yield this.client.get(`analysis-node-logs${rapiq.buildQuery(options)}`);
3224
3153
  return response;
3225
- })();
3154
+ }).call(this);
3226
3155
  }
3227
3156
  getOne(id) {
3228
- var _this = this;
3229
- return _async_to_generator$3(function*() {
3230
- const { data: response } = yield _this.client.get(`analysis-node-logs/${id}`);
3157
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3158
+ const { data: response } = yield this.client.get(`analysis-node-logs/${id}`);
3231
3159
  return response;
3232
- })();
3160
+ }).call(this);
3233
3161
  }
3234
3162
  delete(id) {
3235
- var _this = this;
3236
- return _async_to_generator$3(function*() {
3237
- const { data: response } = yield _this.client.delete(`analysis-node-logs/${id}`);
3163
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3164
+ const { data: response } = yield this.client.delete(`analysis-node-logs/${id}`);
3238
3165
  return response;
3239
- })();
3166
+ }).call(this);
3240
3167
  }
3241
3168
  update(id, data) {
3242
- var _this = this;
3243
- return _async_to_generator$3(function*() {
3244
- const { data: response } = yield _this.client.post(`analysis-node-logs/${id}`, data);
3169
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3170
+ const { data: response } = yield this.client.post(`analysis-node-logs/${id}`, data);
3245
3171
  return response;
3246
- })();
3172
+ }).call(this);
3247
3173
  }
3248
3174
  create(data) {
3249
- var _this = this;
3250
- return _async_to_generator$3(function*() {
3251
- const { data: response } = yield _this.client.post('analysis-node-logs', data);
3175
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3176
+ const { data: response } = yield this.client.post('analysis-node-logs', data);
3252
3177
  return response;
3253
- })();
3178
+ }).call(this);
3254
3179
  }
3255
3180
  }
3256
3181
  /*
@@ -3289,39 +3214,34 @@ function _async_to_generator$2(fn) {
3289
3214
  }
3290
3215
  class AnalysisPermissionAPI extends BaseAPI {
3291
3216
  getMany(options) {
3292
- var _this = this;
3293
- return _async_to_generator$2(function*() {
3294
- const { data: response } = yield _this.client.get(`analysis-permissions${rapiq.buildQuery(options)}`);
3217
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3218
+ const { data: response } = yield this.client.get(`analysis-permissions${rapiq.buildQuery(options)}`);
3295
3219
  return response;
3296
- })();
3220
+ }).call(this);
3297
3221
  }
3298
3222
  getOne(id) {
3299
- var _this = this;
3300
- return _async_to_generator$2(function*() {
3301
- const { data: response } = yield _this.client.get(`analysis-permissions/${id}`);
3223
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3224
+ const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
3302
3225
  return response;
3303
- })();
3226
+ }).call(this);
3304
3227
  }
3305
3228
  delete(id) {
3306
- var _this = this;
3307
- return _async_to_generator$2(function*() {
3308
- const { data: response } = yield _this.client.delete(`analysis-permissions/${id}`);
3229
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3230
+ const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
3309
3231
  return response;
3310
- })();
3232
+ }).call(this);
3311
3233
  }
3312
3234
  update(id, data) {
3313
- var _this = this;
3314
- return _async_to_generator$2(function*() {
3315
- const { data: response } = yield _this.client.post(`analysis-permissions/${id}`, data);
3235
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3236
+ const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
3316
3237
  return response;
3317
- })();
3238
+ }).call(this);
3318
3239
  }
3319
3240
  create(data) {
3320
- var _this = this;
3321
- return _async_to_generator$2(function*() {
3322
- const { data: response } = yield _this.client.post('analysis-permissions', data);
3241
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3242
+ const { data: response } = yield this.client.post('analysis-permissions', data);
3323
3243
  return response;
3324
- })();
3244
+ }).call(this);
3325
3245
  }
3326
3246
  }
3327
3247
  /*
@@ -3388,20 +3308,18 @@ function _object_spread(target) {
3388
3308
  }
3389
3309
  class ServiceAPI extends BaseAPI {
3390
3310
  runCommand(id, command, data) {
3391
- var _this = this;
3392
- return _async_to_generator$1(function*() {
3311
+ return /*#__PURE__*/ _async_to_generator$1(function*() {
3393
3312
  data = data || {};
3394
- const { data: resultData } = yield _this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
3313
+ const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
3395
3314
  command
3396
3315
  }, data)));
3397
3316
  return resultData;
3398
- })();
3317
+ }).call(this);
3399
3318
  }
3400
3319
  runRegistryCommand(command, data) {
3401
- var _this = this;
3402
- return _async_to_generator$1(function*() {
3403
- return _this.runCommand(coreKit.ServiceID.REGISTRY, command, data);
3404
- })();
3320
+ return /*#__PURE__*/ _async_to_generator$1(function*() {
3321
+ return this.runCommand(coreKit.ServiceID.REGISTRY, command, data);
3322
+ }).call(this);
3405
3323
  }
3406
3324
  }
3407
3325
  /*
@@ -3440,32 +3358,28 @@ function _async_to_generator(fn) {
3440
3358
  }
3441
3359
  class AnalysisBucketAPI extends BaseAPI {
3442
3360
  getMany(options) {
3443
- var _this = this;
3444
- return _async_to_generator(function*() {
3445
- const response = yield _this.client.get(`analysis-buckets${rapiq.buildQuery(options)}`);
3361
+ return /*#__PURE__*/ _async_to_generator(function*() {
3362
+ const response = yield this.client.get(`analysis-buckets${rapiq.buildQuery(options)}`);
3446
3363
  return response.data;
3447
- })();
3364
+ }).call(this);
3448
3365
  }
3449
3366
  getOne(id) {
3450
- var _this = this;
3451
- return _async_to_generator(function*() {
3452
- const response = yield _this.client.get(`analysis-buckets/${id}`);
3367
+ return /*#__PURE__*/ _async_to_generator(function*() {
3368
+ const response = yield this.client.get(`analysis-buckets/${id}`);
3453
3369
  return response.data;
3454
- })();
3370
+ }).call(this);
3455
3371
  }
3456
3372
  create(data) {
3457
- var _this = this;
3458
- return _async_to_generator(function*() {
3459
- const { data: response } = yield _this.client.post('analysis-buckets', data);
3373
+ return /*#__PURE__*/ _async_to_generator(function*() {
3374
+ const { data: response } = yield this.client.post('analysis-buckets', data);
3460
3375
  return response;
3461
- })();
3376
+ }).call(this);
3462
3377
  }
3463
3378
  delete(id) {
3464
- var _this = this;
3465
- return _async_to_generator(function*() {
3466
- const response = yield _this.client.delete(`analysis-buckets/${id}`);
3379
+ return /*#__PURE__*/ _async_to_generator(function*() {
3380
+ const response = yield this.client.delete(`analysis-buckets/${id}`);
3467
3381
  return response.data;
3468
- })();
3382
+ }).call(this);
3469
3383
  }
3470
3384
  }
3471
3385
  /*
@@ -3894,11 +3808,21 @@ function createListRaw(context) {
3894
3808
  if (context.onCreated) {
3895
3809
  context.onCreated(cbEntity, meta.value);
3896
3810
  }
3811
+ if (context.setup && typeof context.setup.emit === 'function') {
3812
+ context.setup.emit('created', cbEntity);
3813
+ }
3897
3814
  });
3898
- const handleDeleted = buildListDeletedHandler(data, ()=>{
3815
+ const handleDeleted = buildListDeletedHandler(data, (cbEntity)=>{
3899
3816
  total.value--;
3817
+ if (context.setup && typeof context.setup.emit === 'function') {
3818
+ context.setup.emit('deleted', cbEntity);
3819
+ }
3820
+ });
3821
+ const handleUpdated = buildListUpdatedHandler(data, (cbEntity)=>{
3822
+ if (context.setup && typeof context.setup.emit === 'function') {
3823
+ context.setup.emit('updated', cbEntity);
3824
+ }
3900
3825
  });
3901
- const handleUpdated = buildListUpdatedHandler(data);
3902
3826
  let options = context.props;
3903
3827
  const setDefaults = (defaults)=>{
3904
3828
  options = mergeListOptions(context.props, defaults);
@@ -3980,7 +3904,7 @@ function createListRaw(context) {
3980
3904
  handleDeleted(entity);
3981
3905
  };
3982
3906
  socketContext.onUpdated = (entity)=>{
3983
- handleDeleted(entity);
3907
+ handleUpdated(entity);
3984
3908
  };
3985
3909
  socketContext.realmId = realmId;
3986
3910
  createEntitySocket(socketContext);
@@ -4132,7 +4056,7 @@ function createEntityManager(ctx) {
4132
4056
  if (entity.value) {
4133
4057
  extendObjectProperties(entity.value, value);
4134
4058
  }
4135
- if (ctx.setup && ctx.setup.emit) {
4059
+ if (ctx.setup && typeof ctx.setup.emit === 'function') {
4136
4060
  ctx.setup.emit('updated', entity.value || value);
4137
4061
  }
4138
4062
  if (ctx.onUpdated) {
@@ -5254,7 +5178,7 @@ const FProjectNodeApprovalStatus = vue.defineComponent({
5254
5178
  }
5255
5179
  });
5256
5180
 
5257
- var _sfc_main$o = vue.defineComponent({
5181
+ var _sfc_main$p = vue.defineComponent({
5258
5182
  components: {
5259
5183
  IVuelidate: vuelidate.IVuelidate,
5260
5184
  VCFormInput: formControls.VCFormInput,
@@ -5302,7 +5226,7 @@ var _sfc_main$o = vue.defineComponent({
5302
5226
  const _hoisted_1$k = [
5303
5227
  "disabled"
5304
5228
  ];
5305
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5229
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
5306
5230
  const _component_VCFormInput = vue.resolveComponent("VCFormInput");
5307
5231
  const _component_VCFormGroup = vue.resolveComponent("VCFormGroup");
5308
5232
  const _component_IVuelidate = vue.resolveComponent("IVuelidate");
@@ -5351,10 +5275,10 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5351
5275
  "validation"
5352
5276
  ]);
5353
5277
  }
5354
- var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [
5278
+ var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$p, [
5355
5279
  [
5356
5280
  "render",
5357
- _sfc_render$o
5281
+ _sfc_render$p
5358
5282
  ]
5359
5283
  ]);
5360
5284
 
@@ -5402,7 +5326,7 @@ const FTranslationDefault = vue.defineComponent({
5402
5326
  }
5403
5327
  });
5404
5328
 
5405
- var _sfc_main$n = vue.defineComponent({
5329
+ var _sfc_main$o = vue.defineComponent({
5406
5330
  components: {
5407
5331
  FTranslationDefault,
5408
5332
  FFormInputListItem
@@ -5493,13 +5417,13 @@ const _hoisted_3$g = {
5493
5417
  const _hoisted_4$g = {
5494
5418
  class: "ms-auto"
5495
5419
  };
5496
- const _hoisted_5$c = [
5420
+ const _hoisted_5$d = [
5497
5421
  "disabled"
5498
5422
  ];
5499
5423
  const _hoisted_6$b = {
5500
5424
  class: "d-flex flex-column gap-1"
5501
5425
  };
5502
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5426
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5503
5427
  const _component_FTranslationDefault = vue.resolveComponent("FTranslationDefault");
5504
5428
  const _component_FFormInputListItem = vue.resolveComponent("FFormInputListItem");
5505
5429
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
@@ -5529,7 +5453,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5529
5453
  vue.createVNode(_component_FTranslationDefault, {
5530
5454
  name: "add"
5531
5455
  })
5532
- ], 8, _hoisted_5$c)
5456
+ ], 8, _hoisted_5$d)
5533
5457
  ])
5534
5458
  ])
5535
5459
  ]),
@@ -5569,10 +5493,10 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5569
5493
  ])
5570
5494
  ]);
5571
5495
  }
5572
- var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$n, [
5496
+ var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [
5573
5497
  [
5574
5498
  "render",
5575
- _sfc_render$n
5499
+ _sfc_render$o
5576
5500
  ]
5577
5501
  ]);
5578
5502
 
@@ -5694,7 +5618,7 @@ function renderToggleButton(options) {
5694
5618
  ]);
5695
5619
  }
5696
5620
 
5697
- var _sfc_main$m = vue.defineComponent({
5621
+ var _sfc_main$n = vue.defineComponent({
5698
5622
  props: {
5699
5623
  current: {
5700
5624
  type: String,
@@ -5730,7 +5654,7 @@ var _sfc_main$m = vue.defineComponent({
5730
5654
  }
5731
5655
  });
5732
5656
 
5733
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
5657
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5734
5658
  return vue.renderSlot(_ctx.$slots, "default", {
5735
5659
  toggle: _ctx.toggle,
5736
5660
  active: _ctx.active
@@ -5738,10 +5662,10 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
5738
5662
  vue.createTextVNode(vue.toDisplayString(_ctx.current), 1)
5739
5663
  ]);
5740
5664
  }
5741
- var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [
5665
+ var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$n, [
5742
5666
  [
5743
5667
  "render",
5744
- _sfc_render$m
5668
+ _sfc_render$n
5745
5669
  ]
5746
5670
  ]);
5747
5671
 
@@ -6155,7 +6079,7 @@ const FProjectInForm = vue.defineComponent({
6155
6079
  }
6156
6080
  });
6157
6081
 
6158
- var _sfc_main$l = vue.defineComponent({
6082
+ var _sfc_main$m = vue.defineComponent({
6159
6083
  components: {
6160
6084
  BModal: bootstrapVueNext.BModal,
6161
6085
  FProjectInForm,
@@ -6214,7 +6138,7 @@ const _hoisted_3$f = {
6214
6138
  const _hoisted_4$f = {
6215
6139
  class: "ms-auto d-flex flex-row gap-1"
6216
6140
  };
6217
- const _hoisted_5$b = {
6141
+ const _hoisted_5$c = {
6218
6142
  class: "row"
6219
6143
  };
6220
6144
  const _hoisted_6$a = {
@@ -6235,7 +6159,7 @@ const _hoisted_10$5 = {
6235
6159
  const _hoisted_11$4 = {
6236
6160
  class: "ms-auto"
6237
6161
  };
6238
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6162
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
6239
6163
  const _component_VCLink = vue.resolveComponent("VCLink");
6240
6164
  const _component_FProjectNodeApprovalCommand = vue.resolveComponent("FProjectNodeApprovalCommand");
6241
6165
  const _component_FProjectNodeApprovalStatus = vue.resolveComponent("FProjectNodeApprovalStatus");
@@ -6328,7 +6252,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6328
6252
  vue.renderSlot(_ctx.$slots, "body", {
6329
6253
  data: _ctx.entity
6330
6254
  }, ()=>[
6331
- vue.createElementVNode("div", _hoisted_5$b, [
6255
+ vue.createElementVNode("div", _hoisted_5$c, [
6332
6256
  vue.createElementVNode("div", _hoisted_6$a, [
6333
6257
  _cache[5] || (_cache[5] = vue.createElementVNode("div", null, [
6334
6258
  vue.createElementVNode("strong", null, [
@@ -6454,10 +6378,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6454
6378
  ])
6455
6379
  ]);
6456
6380
  }
6457
- var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$l, [
6381
+ var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$m, [
6458
6382
  [
6459
6383
  "render",
6460
- _sfc_render$l
6384
+ _sfc_render$m
6461
6385
  ]
6462
6386
  ]);
6463
6387
 
@@ -6645,7 +6569,7 @@ const FProjectForm = vue.defineComponent({
6645
6569
  }
6646
6570
  });
6647
6571
 
6648
- var _sfc_main$k = vue.defineComponent({
6572
+ var _sfc_main$l = vue.defineComponent({
6649
6573
  components: {
6650
6574
  AUser: clientWebKit.AUser,
6651
6575
  ARobot: clientWebKit.ARobot
@@ -6658,7 +6582,7 @@ var _sfc_main$k = vue.defineComponent({
6658
6582
  }
6659
6583
  });
6660
6584
 
6661
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6585
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6662
6586
  const _component_AUser = vue.resolveComponent("AUser");
6663
6587
  const _component_ARobot = vue.resolveComponent("ARobot");
6664
6588
  return vue.openBlock(), vue.createElementBlock("div", null, [
@@ -6715,14 +6639,14 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6715
6639
  ], 64))
6716
6640
  ]);
6717
6641
  }
6718
- var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$k, [
6642
+ var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$l, [
6719
6643
  [
6720
6644
  "render",
6721
- _sfc_render$k
6645
+ _sfc_render$l
6722
6646
  ]
6723
6647
  ]);
6724
6648
 
6725
- var _sfc_main$j = vue.defineComponent({
6649
+ var _sfc_main$k = vue.defineComponent({
6726
6650
  components: {
6727
6651
  FProjectCreator,
6728
6652
  FEntityDelete,
@@ -6769,7 +6693,7 @@ const _hoisted_3$e = {
6769
6693
  const _hoisted_4$e = {
6770
6694
  class: "ms-auto"
6771
6695
  };
6772
- const _hoisted_5$a = {
6696
+ const _hoisted_5$b = {
6773
6697
  class: "d-flex justify-content-between flex-row"
6774
6698
  };
6775
6699
  const _hoisted_6$9 = {
@@ -6790,7 +6714,7 @@ const _hoisted_10$4 = {
6790
6714
  const _hoisted_11$3 = {
6791
6715
  class: "ms-auto"
6792
6716
  };
6793
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6717
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6794
6718
  const _component_VCLink = vue.resolveComponent("VCLink");
6795
6719
  const _component_FEntityDelete = vue.resolveComponent("FEntityDelete");
6796
6720
  const _component_FProjectCreator = vue.resolveComponent("FProjectCreator");
@@ -6857,7 +6781,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6857
6781
  vue.renderSlot(_ctx.$slots, "body", {
6858
6782
  data: _ctx.entity
6859
6783
  }, ()=>[
6860
- vue.createElementVNode("div", _hoisted_5$a, [
6784
+ vue.createElementVNode("div", _hoisted_5$b, [
6861
6785
  vue.createElementVNode("div", _hoisted_6$9, [
6862
6786
  _cache[2] || (_cache[2] = vue.createElementVNode("div", null, [
6863
6787
  vue.createElementVNode("strong", null, [
@@ -6941,10 +6865,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6941
6865
  ])
6942
6866
  ]);
6943
6867
  }
6944
- var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$j, [
6868
+ var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$k, [
6945
6869
  [
6946
6870
  "render",
6947
- _sfc_render$j
6871
+ _sfc_render$k
6948
6872
  ]
6949
6873
  ]);
6950
6874
 
@@ -8248,7 +8172,7 @@ function useClipboard(options = {}) {
8248
8172
  };
8249
8173
  }
8250
8174
 
8251
- var _sfc_main$i = vue.defineComponent({
8175
+ var _sfc_main$j = vue.defineComponent({
8252
8176
  props: {
8253
8177
  entity: {
8254
8178
  type: Object,
@@ -8369,7 +8293,7 @@ const _hoisted_3$d = {
8369
8293
  const _hoisted_4$d = {
8370
8294
  class: "d-flex flex-row"
8371
8295
  };
8372
- const _hoisted_5$9 = {
8296
+ const _hoisted_5$a = {
8373
8297
  class: "ms-auto"
8374
8298
  };
8375
8299
  const _hoisted_6$8 = {
@@ -8394,7 +8318,7 @@ const _hoisted_11$2 = [
8394
8318
  const _hoisted_12 = [
8395
8319
  "disabled"
8396
8320
  ];
8397
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8321
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
8398
8322
  const _component_VCFormTextarea = vue.resolveComponent("VCFormTextarea");
8399
8323
  const _component_VCFormGroup = vue.resolveComponent("VCFormGroup");
8400
8324
  const _component_VCFormSelect = vue.resolveComponent("VCFormSelect");
@@ -8410,7 +8334,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8410
8334
  label: vue.withCtx(()=>[
8411
8335
  vue.createElementVNode("div", _hoisted_4$d, [
8412
8336
  _cache[8] || (_cache[8] = vue.createElementVNode("div", null, " PublicKey ", -1)),
8413
- vue.createElementVNode("div", _hoisted_5$9, [
8337
+ vue.createElementVNode("div", _hoisted_5$a, [
8414
8338
  vue.withDirectives(vue.createElementVNode("button", {
8415
8339
  type: "button",
8416
8340
  class: "btn btn-xs btn-dark",
@@ -8544,10 +8468,10 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8544
8468
  ])
8545
8469
  ]);
8546
8470
  }
8547
- var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
8471
+ var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$j, [
8548
8472
  [
8549
8473
  "render",
8550
- _sfc_render$i
8474
+ _sfc_render$j
8551
8475
  ]
8552
8476
  ]);
8553
8477
 
@@ -8952,7 +8876,7 @@ var FAnalysisNodeAssignAction = vue.defineComponent({
8952
8876
  }
8953
8877
  });
8954
8878
 
8955
- var _sfc_main$h = vue.defineComponent({
8879
+ var _sfc_main$i = vue.defineComponent({
8956
8880
  components: {
8957
8881
  FProjectNodes,
8958
8882
  ListPagination: FPagination,
@@ -9071,7 +8995,7 @@ const _hoisted_3$c = {
9071
8995
  const _hoisted_4$c = {
9072
8996
  class: "ms-auto"
9073
8997
  };
9074
- const _hoisted_5$8 = [
8998
+ const _hoisted_5$9 = [
9075
8999
  "disabled",
9076
9000
  "onClick"
9077
9001
  ];
@@ -9093,7 +9017,7 @@ const _hoisted_10$2 = {
9093
9017
  const _hoisted_11$1 = {
9094
9018
  class: "ms-auto"
9095
9019
  };
9096
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9020
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
9097
9021
  const _component_ListSearch = vue.resolveComponent("ListSearch");
9098
9022
  const _component_ListPagination = vue.resolveComponent("ListPagination");
9099
9023
  const _component_FAnalysisNodes = vue.resolveComponent("FAnalysisNodes");
@@ -9158,7 +9082,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9158
9082
  vue.createElementVNode("i", {
9159
9083
  class: "fa fa-trash"
9160
9084
  }, null, -1)
9161
- ]), 8, _hoisted_5$8)
9085
+ ]), 8, _hoisted_5$9)
9162
9086
  ])
9163
9087
  ])
9164
9088
  ]),
@@ -9287,14 +9211,14 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9287
9211
  ])
9288
9212
  ]);
9289
9213
  }
9290
- var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$h, [
9214
+ var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
9291
9215
  [
9292
9216
  "render",
9293
- _sfc_render$h
9217
+ _sfc_render$i
9294
9218
  ]
9295
9219
  ]);
9296
9220
 
9297
- var _sfc_main$g = vue.defineComponent({
9221
+ var _sfc_main$h = vue.defineComponent({
9298
9222
  components: {
9299
9223
  FAnalysisNodeManager
9300
9224
  },
@@ -9334,7 +9258,7 @@ const _hoisted_3$b = {
9334
9258
  const _hoisted_4$b = [
9335
9259
  "onClick"
9336
9260
  ];
9337
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9261
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9338
9262
  const _component_FAnalysisNodeManager = vue.resolveComponent("FAnalysisNodeManager");
9339
9263
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
9340
9264
  vue.createElementVNode("div", null, [
@@ -9381,10 +9305,10 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9381
9305
  ])
9382
9306
  ]);
9383
9307
  }
9384
- var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$g, [
9308
+ var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$h, [
9385
9309
  [
9386
9310
  "render",
9387
- _sfc_render$g
9311
+ _sfc_render$h
9388
9312
  ]
9389
9313
  ]);
9390
9314
 
@@ -9542,7 +9466,7 @@ var FAnalysisImageCommand = vue.defineComponent({
9542
9466
  }
9543
9467
  });
9544
9468
 
9545
- var _sfc_main$f = vue.defineComponent({
9469
+ var _sfc_main$g = vue.defineComponent({
9546
9470
  components: {
9547
9471
  FFormInputList
9548
9472
  },
@@ -9699,7 +9623,7 @@ const _hoisted_4$a = [
9699
9623
  "disabled",
9700
9624
  "onClick"
9701
9625
  ];
9702
- const _hoisted_5$7 = {
9626
+ const _hoisted_5$8 = {
9703
9627
  class: "col"
9704
9628
  };
9705
9629
  const _hoisted_6$6 = [
@@ -9709,7 +9633,7 @@ const _hoisted_7$5 = [
9709
9633
  "disabled",
9710
9634
  "onClick"
9711
9635
  ];
9712
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9636
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9713
9637
  const _component_FFormInputList = vue.resolveComponent("FFormInputList");
9714
9638
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
9715
9639
  vue.createElementVNode("div", _hoisted_2$d, [
@@ -9758,7 +9682,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9758
9682
  "onChanged"
9759
9683
  ])
9760
9684
  ]),
9761
- vue.createElementVNode("div", _hoisted_5$7, [
9685
+ vue.createElementVNode("div", _hoisted_5$8, [
9762
9686
  vue.createVNode(_component_FFormInputList, {
9763
9687
  ref: "itemsAfterVNode",
9764
9688
  names: _ctx.itemsAfter,
@@ -9806,14 +9730,14 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9806
9730
  ])
9807
9731
  ]);
9808
9732
  }
9809
- var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$f, [
9733
+ var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$g, [
9810
9734
  [
9811
9735
  "render",
9812
- _sfc_render$f
9736
+ _sfc_render$g
9813
9737
  ]
9814
9738
  ]);
9815
9739
 
9816
- var _sfc_main$e = vue.defineComponent({
9740
+ var _sfc_main$f = vue.defineComponent({
9817
9741
  components: {
9818
9742
  FAnalysisImageCommandArguments,
9819
9743
  FAnalysisImageCommand,
@@ -9871,7 +9795,7 @@ const _hoisted_1$c = {
9871
9795
  const _hoisted_2$c = {
9872
9796
  class: "mb-2"
9873
9797
  };
9874
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9798
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9875
9799
  const _component_FMasterImagePicker = vue.resolveComponent("FMasterImagePicker");
9876
9800
  const _component_FAnalysisImageCommandArguments = vue.resolveComponent("FAnalysisImageCommandArguments");
9877
9801
  const _component_FAnalysisImageCommand = vue.resolveComponent("FAnalysisImageCommand");
@@ -9940,14 +9864,14 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9940
9864
  ])
9941
9865
  ]);
9942
9866
  }
9943
- var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$e, [
9867
+ var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$f, [
9944
9868
  [
9945
9869
  "render",
9946
- _sfc_render$e
9870
+ _sfc_render$f
9947
9871
  ]
9948
9872
  ]);
9949
9873
 
9950
- var _sfc_main$d = vue.defineComponent({
9874
+ var _sfc_main$e = vue.defineComponent({
9951
9875
  props: {
9952
9876
  entity: {
9953
9877
  type: Object,
@@ -9956,16 +9880,11 @@ var _sfc_main$d = vue.defineComponent({
9956
9880
  filesSelected: {
9957
9881
  type: Array,
9958
9882
  required: true
9959
- },
9960
- fileSelectedId: {
9961
- type: String
9962
9883
  }
9963
9884
  },
9964
9885
  emits: {
9965
9886
  ...defineEntityManagerEvents(),
9966
9887
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9967
- toggle: (_entity)=>true,
9968
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9969
9888
  check: (_entity)=>true
9970
9889
  },
9971
9890
  setup (props, setup) {
@@ -9974,16 +9893,27 @@ var _sfc_main$d = vue.defineComponent({
9974
9893
  props,
9975
9894
  setup
9976
9895
  });
9977
- const busy = vue.ref(false);
9978
9896
  const marked = vue.computed(()=>{
9979
9897
  if (!props.filesSelected) {
9980
9898
  return false;
9981
9899
  }
9982
9900
  return props.filesSelected.findIndex((file)=>manager.data.value && file === manager.data.value.id) !== -1;
9983
9901
  });
9984
- const isMatch = vue.computed(()=>manager.data.value && props.fileSelectedId === manager.data.value.id);
9985
- const toggle = ()=>{
9986
- setup.emit('toggle', manager.data.value);
9902
+ const isMatchRaw = vue.computed(()=>manager.data.value && manager.data.value.root);
9903
+ const isMatch = vue.ref(false);
9904
+ vue.watch(isMatchRaw, (val)=>{
9905
+ isMatch.value = val;
9906
+ });
9907
+ if (manager.data.value) {
9908
+ isMatch.value = manager.data.value.root;
9909
+ }
9910
+ const toggle = async ()=>{
9911
+ if (manager.busy.value || !manager.data.value) {
9912
+ return;
9913
+ }
9914
+ await manager.update({
9915
+ root: !isMatch.value
9916
+ });
9987
9917
  };
9988
9918
  const markToggle = ()=>{
9989
9919
  setup.emit('check', manager.data.value);
@@ -9994,7 +9924,7 @@ var _sfc_main$d = vue.defineComponent({
9994
9924
  markToggle,
9995
9925
  isMatch,
9996
9926
  toggle,
9997
- busy
9927
+ busy: manager.busy
9998
9928
  };
9999
9929
  }
10000
9930
  });
@@ -10005,13 +9935,16 @@ const _hoisted_1$b = {
10005
9935
  const _hoisted_2$b = {
10006
9936
  class: "ms-auto d-flex flex-row me-1"
10007
9937
  };
10008
- const _hoisted_3$9 = {
9938
+ const _hoisted_3$9 = [
9939
+ "disabled"
9940
+ ];
9941
+ const _hoisted_4$9 = {
10009
9942
  class: "ms-1"
10010
9943
  };
10011
- const _hoisted_4$9 = [
9944
+ const _hoisted_5$7 = [
10012
9945
  "disabled"
10013
9946
  ];
10014
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
9947
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
10015
9948
  return vue.openBlock(), vue.createElementBlock("div", {
10016
9949
  class: vue.normalizeClass([
10017
9950
  "card card-file d-flex flex-row align-items-center p-1",
@@ -10030,8 +9963,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10030
9963
  ]),
10031
9964
  vue.createElementVNode("div", _hoisted_2$b, [
10032
9965
  vue.createElementVNode("div", null, [
10033
- !_ctx.fileSelectedId || _ctx.isMatch ? (vue.openBlock(), vue.createElementBlock("button", {
10034
- key: 0,
9966
+ vue.createElementVNode("button", {
10035
9967
  type: "button",
10036
9968
  class: vue.normalizeClass([
10037
9969
  "btn btn-xs",
@@ -10040,6 +9972,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10040
9972
  "btn-warning": _ctx.isMatch
10041
9973
  }
10042
9974
  ]),
9975
+ disabled: _ctx.busy,
10043
9976
  onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args)=>_ctx.toggle && _ctx.toggle(...args), [
10044
9977
  "prevent"
10045
9978
  ]))
@@ -10050,9 +9983,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10050
9983
  "fa fa-times": _ctx.isMatch
10051
9984
  })
10052
9985
  }, null, 2)
10053
- ], 2)) : vue.createCommentVNode("", true)
9986
+ ], 10, _hoisted_3$9)
10054
9987
  ]),
10055
- vue.createElementVNode("div", _hoisted_3$9, [
9988
+ vue.createElementVNode("div", _hoisted_4$9, [
10056
9989
  vue.createElementVNode("button", {
10057
9990
  type: "button",
10058
9991
  class: "btn btn-danger btn-xs",
@@ -10064,15 +9997,15 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10064
9997
  vue.createElementVNode("i", {
10065
9998
  class: "fa fa-trash"
10066
9999
  }, null, -1)
10067
- ]), 8, _hoisted_4$9)
10000
+ ]), 8, _hoisted_5$7)
10068
10001
  ])
10069
10002
  ])
10070
10003
  ], 2);
10071
10004
  }
10072
- var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [
10005
+ var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$e, [
10073
10006
  [
10074
10007
  "render",
10075
- _sfc_render$d
10008
+ _sfc_render$e
10076
10009
  ]
10077
10010
  ]);
10078
10011
 
@@ -10102,7 +10035,7 @@ const FAnalysisBucketFiles = vue.defineComponent({
10102
10035
  }
10103
10036
  });
10104
10037
 
10105
- var _sfc_main$c = vue.defineComponent({
10038
+ var _sfc_main$d = vue.defineComponent({
10106
10039
  props: {
10107
10040
  file: {
10108
10041
  type: Object,
@@ -10146,7 +10079,7 @@ const _hoisted_3$8 = {
10146
10079
  const _hoisted_4$8 = {
10147
10080
  class: "ms-auto"
10148
10081
  };
10149
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10082
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10150
10083
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
10151
10084
  vue.createElementVNode("div", _hoisted_2$a, [
10152
10085
  vue.createElementVNode("span", _hoisted_3$8, vue.toDisplayString(_ctx.path), 1)
@@ -10166,14 +10099,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10166
10099
  ])
10167
10100
  ]);
10168
10101
  }
10169
- var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [
10102
+ var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [
10170
10103
  [
10171
10104
  "render",
10172
- _sfc_render$c
10105
+ _sfc_render$d
10173
10106
  ]
10174
10107
  ]);
10175
10108
 
10176
- var _sfc_main$b = vue.defineComponent({
10109
+ var _sfc_main$c = vue.defineComponent({
10177
10110
  components: {
10178
10111
  FAnalysisFormFile
10179
10112
  },
@@ -10286,7 +10219,7 @@ const _hoisted_9$1 = {
10286
10219
  const _hoisted_10$1 = [
10287
10220
  "disabled"
10288
10221
  ];
10289
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10222
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10290
10223
  const _component_FAnalysisFormFile = vue.resolveComponent("FAnalysisFormFile");
10291
10224
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
10292
10225
  vue.createElementVNode("div", null, [
@@ -10356,14 +10289,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10356
10289
  ])
10357
10290
  ]);
10358
10291
  }
10359
- var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$b, [
10292
+ var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$c, [
10360
10293
  [
10361
10294
  "render",
10362
- _sfc_render$b
10295
+ _sfc_render$c
10363
10296
  ]
10364
10297
  ]);
10365
10298
 
10366
- var _sfc_main$a = vue.defineComponent({
10299
+ var _sfc_main$b = vue.defineComponent({
10367
10300
  components: {
10368
10301
  BModal: bootstrapVueNext.BModal,
10369
10302
  FAnalysisBucketFileUpload,
@@ -10389,16 +10322,7 @@ var _sfc_main$a = vue.defineComponent({
10389
10322
  ],
10390
10323
  setup (props, { emit }) {
10391
10324
  const coreClient = injectCoreHTTPClient();
10392
- const entrypointFile = vue.ref(null);
10393
- if (props.fileEntity) {
10394
- entrypointFile.value = props.fileEntity;
10395
- }
10396
- const entrypointFileId = vue.computed(()=>{
10397
- if (entrypointFile.value) {
10398
- return entrypointFile.value.id;
10399
- }
10400
- return undefined;
10401
- });
10325
+ const entrypointFile = vue.toRef(props, 'fileEntity');
10402
10326
  const modal = vue.ref(false);
10403
10327
  const toggleModal = ()=>{
10404
10328
  modal.value = !modal.value;
@@ -10413,27 +10337,30 @@ var _sfc_main$a = vue.defineComponent({
10413
10337
  bucket_id: props.entity.id
10414
10338
  }
10415
10339
  }));
10416
- const handleCreated = (entity)=>{
10417
- if (fileListNode.value) {
10418
- fileListNode.value.handleCreated(entity);
10340
+ const updateEntrypointFile = (entity)=>{
10341
+ if (entity.root) {
10342
+ emit('setEntrypointFile', entity);
10343
+ return;
10344
+ }
10345
+ if (entrypointFile.value && entrypointFile.value.id === entity.id) {
10346
+ emit('setEntrypointFile', null);
10419
10347
  }
10348
+ };
10349
+ const handleCreated = (entity)=>{
10420
10350
  emit('created', entity);
10351
+ updateEntrypointFile(entity);
10421
10352
  };
10422
10353
  const handleDeleted = (entity)=>{
10423
- if (fileListNode.value) {
10424
- fileListNode.value.handleDeleted(entity);
10425
- }
10426
10354
  const selectedIndex = selected.value.indexOf(entity.id);
10427
10355
  if (selectedIndex !== -1) {
10428
10356
  selected.value.splice(selectedIndex, 1);
10429
10357
  }
10430
10358
  emit('deleted', entity);
10359
+ updateEntrypointFile(entity);
10431
10360
  };
10432
10361
  const handleUpdated = (entity)=>{
10433
- if (fileListNode.value) {
10434
- fileListNode.value.handleUpdated(entity);
10435
- }
10436
10362
  emit('updated', entity);
10363
+ updateEntrypointFile(entity);
10437
10364
  };
10438
10365
  const handleFailed = (e)=>{
10439
10366
  emit('failed', e);
@@ -10475,32 +10402,6 @@ var _sfc_main$a = vue.defineComponent({
10475
10402
  selected.value.splice(index, 1);
10476
10403
  }
10477
10404
  };
10478
- const changeEntryPointFile = async (file)=>{
10479
- if (entrypointFile.value) {
10480
- if (entrypointFile.value.id === file.id) {
10481
- await coreClient.analysisBucketFile.update(file.id, {
10482
- root: false
10483
- });
10484
- entrypointFile.value = null;
10485
- emit('setEntrypointFile', null);
10486
- } else {
10487
- await coreClient.analysisBucketFile.update(entrypointFile.value.id, {
10488
- root: false
10489
- });
10490
- await coreClient.analysisBucketFile.update(file.id, {
10491
- root: true
10492
- });
10493
- entrypointFile.value = file;
10494
- emit('setEntrypointFile', file);
10495
- }
10496
- } else {
10497
- await coreClient.analysisBucketFile.update(file.id, {
10498
- root: true
10499
- });
10500
- entrypointFile.value = file;
10501
- emit('setEntrypointFile', file);
10502
- }
10503
- };
10504
10405
  return {
10505
10406
  busy,
10506
10407
  selected,
@@ -10514,13 +10415,11 @@ var _sfc_main$a = vue.defineComponent({
10514
10415
  handleUploaded,
10515
10416
  handleFileUploaded,
10516
10417
  toggleFile,
10517
- entrypointFile,
10518
- entrypointFileId,
10519
- changeEntryPointFile,
10520
10418
  fileListNode,
10521
10419
  fileListQuery,
10522
10420
  modal,
10523
- toggleModal
10421
+ toggleModal,
10422
+ entrypointFile
10524
10423
  };
10525
10424
  }
10526
10425
  });
@@ -10549,7 +10448,7 @@ const _hoisted_7$3 = {
10549
10448
  const _hoisted_8$3 = [
10550
10449
  "onClick"
10551
10450
  ];
10552
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10451
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10553
10452
  const _component_FAnalysisFile = vue.resolveComponent("FAnalysisFile");
10554
10453
  const _component_FAnalysisBucketFiles = vue.resolveComponent("FAnalysisBucketFiles");
10555
10454
  const _component_FAnalysisBucketFileUpload = vue.resolveComponent("FAnalysisBucketFileUpload");
@@ -10626,19 +10525,15 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10626
10525
  class: "me-1",
10627
10526
  entity: file,
10628
10527
  "files-selected": _ctx.selected,
10629
- "file-selected-id": _ctx.entrypointFileId,
10630
10528
  onCheck: _ctx.toggleFile,
10631
10529
  onUpdated: props.updated,
10632
- onDeleted: props.deleted,
10633
- onToggle: _ctx.changeEntryPointFile
10530
+ onDeleted: props.deleted
10634
10531
  }, null, 8, [
10635
10532
  "entity",
10636
10533
  "files-selected",
10637
- "file-selected-id",
10638
10534
  "onCheck",
10639
10535
  "onUpdated",
10640
- "onDeleted",
10641
- "onToggle"
10536
+ "onDeleted"
10642
10537
  ]);
10643
10538
  }), 128))
10644
10539
  ])
@@ -10720,10 +10615,10 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10720
10615
  ])
10721
10616
  ]);
10722
10617
  }
10723
- var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$a, [
10618
+ var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$b, [
10724
10619
  [
10725
10620
  "render",
10726
- _sfc_render$a
10621
+ _sfc_render$b
10727
10622
  ]
10728
10623
  ]);
10729
10624
 
@@ -10742,7 +10637,7 @@ var FAnalysisBucket = vue.defineComponent({
10742
10637
  }
10743
10638
  });
10744
10639
 
10745
- var _sfc_main$9 = vue.defineComponent({
10640
+ var _sfc_main$a = vue.defineComponent({
10746
10641
  components: {
10747
10642
  FAnalysisBucketFileManager,
10748
10643
  FAnalysisBucket
@@ -10801,7 +10696,7 @@ const _hoisted_3$5 = [
10801
10696
  const _hoisted_4$5 = {
10802
10697
  class: "alert alert-sm alert-warning"
10803
10698
  };
10804
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10699
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10805
10700
  const _component_FAnalysisBucketFileManager = vue.resolveComponent("FAnalysisBucketFileManager");
10806
10701
  const _component_FAnalysisBucket = vue.resolveComponent("FAnalysisBucket");
10807
10702
  return vue.openBlock(), vue.createElementBlock("div", null, [
@@ -10876,14 +10771,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10876
10771
  ])
10877
10772
  ]);
10878
10773
  }
10879
- var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$9, [
10774
+ var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$a, [
10880
10775
  [
10881
10776
  "render",
10882
- _sfc_render$9
10777
+ _sfc_render$a
10883
10778
  ]
10884
10779
  ]);
10885
10780
 
10886
- var _sfc_main$8 = vue.defineComponent({
10781
+ var _sfc_main$9 = vue.defineComponent({
10887
10782
  components: {
10888
10783
  BModal: bootstrapVueNext.BModal
10889
10784
  },
@@ -10965,7 +10860,7 @@ const _hoisted_8$2 = [
10965
10860
  "disabled",
10966
10861
  "onClick"
10967
10862
  ];
10968
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
10863
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10969
10864
  const _component_VCFormInputCheckbox = vue.resolveComponent("VCFormInputCheckbox");
10970
10865
  const _component_BModal = vue.resolveComponent("BModal");
10971
10866
  return vue.openBlock(), vue.createBlock(_component_BModal, {
@@ -11077,7 +10972,180 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
11077
10972
  _: 1
11078
10973
  });
11079
10974
  }
11080
- var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
10975
+ var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$9, [
10976
+ [
10977
+ "render",
10978
+ _sfc_render$9
10979
+ ]
10980
+ ]);
10981
+
10982
+ const FAnalysisPermissionAssignment = vue.defineComponent({
10983
+ props: {
10984
+ analysisId: String,
10985
+ permissionId: String
10986
+ },
10987
+ emits: defineEntityManagerEvents(),
10988
+ async setup (props, setup) {
10989
+ const manager = createEntityManager({
10990
+ type: `${coreKit.DomainType.ANALYSIS_PERMISSION}`,
10991
+ setup,
10992
+ socket: {
10993
+ processEvent (event) {
10994
+ return event.data.permission_id === props.permissionId && event.data.analysis_id === props.analysisId;
10995
+ }
10996
+ }
10997
+ });
10998
+ await manager.resolve({
10999
+ query: {
11000
+ filters: {
11001
+ analysis_id: props.analysisId,
11002
+ permission_id: props.permissionId
11003
+ }
11004
+ }
11005
+ });
11006
+ return ()=>clientWebKit.renderToggleButton({
11007
+ changed: (value)=>{
11008
+ if (value) {
11009
+ return manager.create({
11010
+ analysis_id: props.analysisId,
11011
+ permission_id: props.permissionId
11012
+ });
11013
+ }
11014
+ return manager.delete();
11015
+ },
11016
+ value: !!manager.data.value,
11017
+ isBusy: manager.busy.value
11018
+ });
11019
+ }
11020
+ });
11021
+
11022
+ const FAnalysisPermissionAssignments = vue.defineComponent({
11023
+ props: {
11024
+ ...clientWebKit.defineEntityCollectionVProps(),
11025
+ entityId: {
11026
+ type: String,
11027
+ required: true
11028
+ }
11029
+ },
11030
+ setup (props, { slots, attrs, expose }) {
11031
+ const vNodeRef = vue.ref(null);
11032
+ expose({
11033
+ load: (meta)=>{
11034
+ if (vNodeRef.value) {
11035
+ vNodeRef.value.load(meta);
11036
+ }
11037
+ }
11038
+ });
11039
+ return ()=>vue.h(clientWebKit.APermissions, vue.mergeProps({
11040
+ ref: vNodeRef
11041
+ }, props, attrs), {
11042
+ [listControls.SlotName.ITEM_ACTIONS]: (slotProps)=>vue.h(FAnalysisPermissionAssignment, {
11043
+ analysisId: props.entityId,
11044
+ permissionId: slotProps.data.id,
11045
+ key: slotProps.data.id
11046
+ }),
11047
+ ...slots
11048
+ });
11049
+ }
11050
+ });
11051
+
11052
+ const NAME_PREFIX = '~analysis_self_';
11053
+ var _sfc_main$8 = vue.defineComponent({
11054
+ components: {
11055
+ FPagination,
11056
+ FSearch,
11057
+ FAnalysisPermissionAssignments
11058
+ },
11059
+ props: {
11060
+ entity: {
11061
+ type: Object,
11062
+ required: true
11063
+ }
11064
+ },
11065
+ setup () {
11066
+ const vNode = vue.ref(null);
11067
+ const filters = {
11068
+ name: NAME_PREFIX
11069
+ };
11070
+ const load = async (meta)=>{
11071
+ if (vNode.value) {
11072
+ const name = `${NAME_PREFIX}${meta.filters.name.substring(1)}`;
11073
+ filters.name = name;
11074
+ vNode.value.load({
11075
+ ...meta,
11076
+ filters: {
11077
+ name
11078
+ }
11079
+ });
11080
+ }
11081
+ };
11082
+ return {
11083
+ filters,
11084
+ load,
11085
+ vNode
11086
+ };
11087
+ }
11088
+ });
11089
+
11090
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
11091
+ const _component_FSearch = vue.resolveComponent("FSearch");
11092
+ const _component_FPagination = vue.resolveComponent("FPagination");
11093
+ const _component_FAnalysisPermissionAssignments = vue.resolveComponent("FAnalysisPermissionAssignments");
11094
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
11095
+ _cache[0] || (_cache[0] = vue.createElementVNode("div", null, [
11096
+ vue.createElementVNode("h6", null, [
11097
+ vue.createElementVNode("i", {
11098
+ class: "fa fa-key"
11099
+ }),
11100
+ vue.createTextVNode(" Permissions ")
11101
+ ])
11102
+ ], -1)),
11103
+ _cache[1] || (_cache[1] = vue.createElementVNode("div", {
11104
+ class: "alert alert-sm alert-danger"
11105
+ }, [
11106
+ vue.createElementVNode("i", {
11107
+ class: "fa fa-info pe-1"
11108
+ }),
11109
+ vue.createTextVNode(" The selection of permissions does not "),
11110
+ vue.createElementVNode("b", null, "yet"),
11111
+ vue.createTextVNode(" have any implications."),
11112
+ vue.createElementVNode("br")
11113
+ ], -1)),
11114
+ vue.createVNode(_component_FAnalysisPermissionAssignments, {
11115
+ ref: "vNode",
11116
+ query: {
11117
+ filters: _ctx.filters
11118
+ },
11119
+ "entity-id": _ctx.entity.id
11120
+ }, {
11121
+ header: vue.withCtx((props)=>[
11122
+ vue.createVNode(_component_FSearch, {
11123
+ load: _ctx.load,
11124
+ meta: props.meta
11125
+ }, null, 8, [
11126
+ "load",
11127
+ "meta"
11128
+ ])
11129
+ ]),
11130
+ footer: vue.withCtx((props)=>[
11131
+ vue.createVNode(_component_FPagination, {
11132
+ busy: props.busy,
11133
+ meta: props.meta,
11134
+ load: props.load
11135
+ }, null, 8, [
11136
+ "busy",
11137
+ "meta",
11138
+ "load"
11139
+ ])
11140
+ ]),
11141
+ _: 1
11142
+ }, 8, [
11143
+ "query",
11144
+ "entity-id"
11145
+ ])
11146
+ ], 64);
11147
+ }
11148
+ var FAnalysisWizardStepSecurity = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
11081
11149
  [
11082
11150
  "render",
11083
11151
  _sfc_render$8
@@ -11086,6 +11154,7 @@ var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
11086
11154
 
11087
11155
  var _sfc_main$7 = vue.defineComponent({
11088
11156
  components: {
11157
+ FAnalysisWizardStepSecurity,
11089
11158
  FAnalysisWizardStepFiles,
11090
11159
  FormWizard: vue3FormWizard.FormWizard,
11091
11160
  WizardButton: vue3FormWizard.WizardButton,
@@ -11322,6 +11391,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
11322
11391
  const _component_TabContent = vue.resolveComponent("TabContent");
11323
11392
  const _component_FAnalysisWizardStepFiles = vue.resolveComponent("FAnalysisWizardStepFiles");
11324
11393
  const _component_FAnalysisWizardStepMasterImage = vue.resolveComponent("FAnalysisWizardStepMasterImage");
11394
+ const _component_FAnalysisWizardStepSecurity = vue.resolveComponent("FAnalysisWizardStepSecurity");
11325
11395
  const _component_FormWizard = vue.resolveComponent("FormWizard");
11326
11396
  return vue.openBlock(), vue.createBlock(_component_FormWizard, {
11327
11397
  ref: "wizardNode",
@@ -11459,6 +11529,23 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
11459
11529
  _: 1
11460
11530
  }, 8, [
11461
11531
  "before-change"
11532
+ ]),
11533
+ vue.createVNode(_component_TabContent, {
11534
+ title: "Security",
11535
+ "before-change": _ctx.passWizardStep
11536
+ }, {
11537
+ default: vue.withCtx(()=>[
11538
+ vue.createVNode(_component_FAnalysisWizardStepSecurity, {
11539
+ entity: _ctx.entity,
11540
+ onFailed: _ctx.handleFailed
11541
+ }, null, 8, [
11542
+ "entity",
11543
+ "onFailed"
11544
+ ])
11545
+ ]),
11546
+ _: 1
11547
+ }, 8, [
11548
+ "before-change"
11462
11549
  ])
11463
11550
  ]),
11464
11551
  _: 1
@@ -12487,7 +12574,7 @@ var _sfc_main$1 = vue.defineComponent({
12487
12574
  });
12488
12575
 
12489
12576
  const _hoisted_1$1 = {
12490
- class: "d-flex flex-column w-100"
12577
+ class: "d-flex flex-column analysis-item-card"
12491
12578
  };
12492
12579
  const _hoisted_2$1 = {
12493
12580
  class: "d-flex flex-row align-items-center"
@@ -12519,85 +12606,84 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
12519
12606
  const _component_FAnalysisNodesProgress = vue.resolveComponent("FAnalysisNodesProgress");
12520
12607
  const _component_VCTimeago = vue.resolveComponent("VCTimeago");
12521
12608
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
12522
- vue.createElementVNode("div", null, [
12523
- vue.createElementVNode("div", _hoisted_2$1, [
12524
- vue.createElementVNode("div", _hoisted_3$1, [
12525
- vue.createVNode(_component_FAnalysisName, {
12526
- "entity-id": _ctx.entity.id,
12527
- "entity-name": _ctx.entity.name,
12528
- editable: true,
12529
- onUpdated: _ctx.handleUpdated
12530
- }, {
12531
- default: vue.withCtx((props)=>[
12532
- _cache[1] || (_cache[1] = vue.createElementVNode("i", {
12533
- class: "fas fa-microscope me-1"
12534
- }, null, -1)),
12535
- vue.createVNode(_component_VCLink, {
12536
- to: "/analyses/" + props.entityId
12537
- }, {
12538
- default: vue.withCtx(()=>[
12539
- vue.createTextVNode(vue.toDisplayString(props.nameDisplay), 1)
12540
- ]),
12541
- _: 2
12542
- }, 1032, [
12543
- "to"
12544
- ]),
12545
- props.entityName ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString(props.entityId), 1)) : vue.createCommentVNode("", true)
12546
- ]),
12547
- _: 1
12548
- }, 8, [
12549
- "entity-id",
12550
- "entity-name",
12551
- "onUpdated"
12552
- ])
12553
- ]),
12554
- vue.createElementVNode("div", _hoisted_5$1, [
12555
- vue.renderSlot(_ctx.$slots, "itemActions", {
12556
- data: _ctx.entity
12557
- }, ()=>[
12558
- vue.createElementVNode("button", {
12559
- class: "btn btn-xs btn-dark",
12560
- onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args)=>_ctx.toggleView && _ctx.toggleView(...args), [
12561
- "prevent"
12562
- ]))
12563
- }, [
12564
- vue.createElementVNode("i", {
12565
- class: vue.normalizeClass({
12566
- "fa fa-chevron-down": !_ctx.extendedView,
12567
- "fa fa-chevron-up": _ctx.extendedView
12568
- })
12569
- }, null, 2)
12570
- ]),
12609
+ vue.createElementVNode("div", _hoisted_2$1, [
12610
+ vue.createElementVNode("div", _hoisted_3$1, [
12611
+ vue.createVNode(_component_FAnalysisName, {
12612
+ class: "analysis-item-card-title",
12613
+ "entity-id": _ctx.entity.id,
12614
+ "entity-name": _ctx.entity.name,
12615
+ editable: true,
12616
+ onUpdated: _ctx.handleUpdated
12617
+ }, {
12618
+ default: vue.withCtx((props)=>[
12619
+ _cache[1] || (_cache[1] = vue.createElementVNode("i", {
12620
+ class: "fas fa-microscope me-1"
12621
+ }, null, -1)),
12571
12622
  vue.createVNode(_component_VCLink, {
12572
- to: "/analyses/" + _ctx.entity.id,
12573
- disabled: _ctx.busy,
12574
- class: "btn btn-xs btn-dark ms-1"
12623
+ to: "/analyses/" + props.entityId
12575
12624
  }, {
12576
- default: vue.withCtx(()=>_cache[2] || (_cache[2] = [
12577
- vue.createElementVNode("i", {
12578
- class: "fa fa-bars"
12579
- }, null, -1)
12580
- ])),
12581
- _: 1
12582
- }, 8, [
12583
- "to",
12584
- "disabled"
12625
+ default: vue.withCtx(()=>[
12626
+ vue.createTextVNode(vue.toDisplayString(props.nameDisplay), 1)
12627
+ ]),
12628
+ _: 2
12629
+ }, 1032, [
12630
+ "to"
12585
12631
  ]),
12586
- _ctx.canDelete ? (vue.openBlock(), vue.createBlock(_component_FEntityDelete, {
12587
- key: 0,
12588
- "with-text": false,
12589
- "entity-id": _ctx.entity.id,
12590
- "entity-type": "analysis",
12591
- disabled: _ctx.busy,
12592
- class: "btn btn-xs btn-danger ms-1",
12593
- onDeleted: _ctx.handleDeleted
12594
- }, null, 8, [
12595
- "entity-id",
12596
- "disabled",
12597
- "onDeleted"
12598
- ])) : vue.createCommentVNode("", true)
12599
- ])
12632
+ props.entityName ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$1, vue.toDisplayString(props.entityId), 1)) : vue.createCommentVNode("", true)
12633
+ ]),
12634
+ _: 1
12635
+ }, 8, [
12636
+ "entity-id",
12637
+ "entity-name",
12638
+ "onUpdated"
12600
12639
  ])
12640
+ ]),
12641
+ vue.createElementVNode("div", _hoisted_5$1, [
12642
+ vue.renderSlot(_ctx.$slots, "itemActions", {
12643
+ data: _ctx.entity
12644
+ }, ()=>[
12645
+ vue.createElementVNode("button", {
12646
+ class: "btn btn-xs btn-dark",
12647
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args)=>_ctx.toggleView && _ctx.toggleView(...args), [
12648
+ "prevent"
12649
+ ]))
12650
+ }, [
12651
+ vue.createElementVNode("i", {
12652
+ class: vue.normalizeClass({
12653
+ "fa fa-chevron-down": !_ctx.extendedView,
12654
+ "fa fa-chevron-up": _ctx.extendedView
12655
+ })
12656
+ }, null, 2)
12657
+ ]),
12658
+ vue.createVNode(_component_VCLink, {
12659
+ to: "/analyses/" + _ctx.entity.id,
12660
+ disabled: _ctx.busy,
12661
+ class: "btn btn-xs btn-dark ms-1"
12662
+ }, {
12663
+ default: vue.withCtx(()=>_cache[2] || (_cache[2] = [
12664
+ vue.createElementVNode("i", {
12665
+ class: "fa fa-bars"
12666
+ }, null, -1)
12667
+ ])),
12668
+ _: 1
12669
+ }, 8, [
12670
+ "to",
12671
+ "disabled"
12672
+ ]),
12673
+ _ctx.canDelete ? (vue.openBlock(), vue.createBlock(_component_FEntityDelete, {
12674
+ key: 0,
12675
+ "with-text": false,
12676
+ "entity-id": _ctx.entity.id,
12677
+ "entity-type": "analysis",
12678
+ disabled: _ctx.busy,
12679
+ class: "btn btn-xs btn-danger ms-1",
12680
+ onDeleted: _ctx.handleDeleted
12681
+ }, null, 8, [
12682
+ "entity-id",
12683
+ "disabled",
12684
+ "onDeleted"
12685
+ ])) : vue.createCommentVNode("", true)
12686
+ ], true)
12601
12687
  ])
12602
12688
  ]),
12603
12689
  vue.createVNode(_component_FAnalysisPipeline, {
@@ -12656,6 +12742,10 @@ var FAnalysisItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [
12656
12742
  [
12657
12743
  "render",
12658
12744
  _sfc_render$1
12745
+ ],
12746
+ [
12747
+ "__scopeId",
12748
+ "data-v-56a48fa0"
12659
12749
  ]
12660
12750
  ]);
12661
12751
 
@@ -12728,6 +12818,7 @@ var FAnalyses = vue.defineComponent({
12728
12818
  item: {
12729
12819
  content (item) {
12730
12820
  return vue.h(FAnalysisItem, {
12821
+ key: item.id,
12731
12822
  entity: item,
12732
12823
  onDeleted: handleDeleted,
12733
12824
  onUpdated: handleUpdated,
@@ -13507,6 +13598,8 @@ var components = /*#__PURE__*/Object.freeze({
13507
13598
  FAnalysisNodeProgress: FAnalysisNodesProgress,
13508
13599
  FAnalysisNodeRunStatus: FAnalysisNodeRunStatus,
13509
13600
  FAnalysisNodes: FAnalysisNodes,
13601
+ FAnalysisPermissionAssignment: FAnalysisPermissionAssignment,
13602
+ FAnalysisPermissionAssignments: FAnalysisPermissionAssignments,
13510
13603
  FAnalysisPipeline: TrainPipeline,
13511
13604
  FAnalysisWizard: FAnalysisWizard,
13512
13605
  FEntityDelete: FEntityDelete,
@@ -13617,6 +13710,8 @@ exports.FAnalysisNodeManager = FAnalysisNodeManager;
13617
13710
  exports.FAnalysisNodeProgress = FAnalysisNodesProgress;
13618
13711
  exports.FAnalysisNodeRunStatus = FAnalysisNodeRunStatus;
13619
13712
  exports.FAnalysisNodes = FAnalysisNodes;
13713
+ exports.FAnalysisPermissionAssignment = FAnalysisPermissionAssignment;
13714
+ exports.FAnalysisPermissionAssignments = FAnalysisPermissionAssignments;
13620
13715
  exports.FAnalysisPipeline = TrainPipeline;
13621
13716
  exports.FAnalysisWizard = FAnalysisWizard;
13622
13717
  exports.FEntityDelete = FEntityDelete;