@privateaim/client-vue 0.8.10 → 0.8.11

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 (36) hide show
  1. package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts +345 -13
  2. package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts.map +1 -1
  3. package/dist/components/analysis/wizard/FAnalysisWizardLockModal.vue.d.ts.map +1 -1
  4. package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts +3 -13
  5. package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts.map +1 -1
  6. package/dist/components/analysis/wizard/FAnalysisWizardStepNodes.vue.d.ts.map +1 -1
  7. package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts +346 -0
  8. package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts.map +1 -0
  9. package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts +2 -10
  10. package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts.map +1 -1
  11. package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts +14 -24
  12. package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts.map +1 -1
  13. package/dist/components/analysis-node/FAnalysisNodeManager.vue.d.ts.map +1 -1
  14. package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts +18 -0
  15. package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts.map +1 -0
  16. package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts +86 -0
  17. package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts.map +1 -0
  18. package/dist/components/analysis-permission/index.d.ts +3 -0
  19. package/dist/components/analysis-permission/index.d.ts.map +1 -0
  20. package/dist/components/index.d.ts +1 -0
  21. package/dist/components/index.d.ts.map +1 -1
  22. package/dist/components/project-node/FProjectNodeInCard.vue.d.ts.map +1 -1
  23. package/dist/core/entity-picker/index.d.ts +3 -0
  24. package/dist/core/entity-picker/index.d.ts.map +1 -0
  25. package/dist/core/entity-picker/module.d.ts +48 -0
  26. package/dist/core/entity-picker/module.d.ts.map +1 -0
  27. package/dist/core/entity-picker/types.d.ts +27 -0
  28. package/dist/core/entity-picker/types.d.ts.map +1 -0
  29. package/dist/core/list/module.d.ts.map +1 -1
  30. package/dist/core/list/utils/handlers.d.ts +1 -1
  31. package/dist/core/list/utils/handlers.d.ts.map +1 -1
  32. package/dist/index.cjs +606 -517
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.mjs +606 -519
  35. package/dist/index.mjs.map +1 -1
  36. 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,6 +1087,7 @@ 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
+ cb(items.value[index]);
1102
1091
  }
1103
1092
  };
1104
1093
  }
@@ -2241,25 +2230,22 @@ function _async_to_generator$f(fn) {
2241
2230
  }
2242
2231
  class MasterImageGroupAPI extends BaseAPI {
2243
2232
  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)}`);
2233
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2234
+ const response = yield this.client.get(`master-image-groups${rapiq.buildQuery(data)}`);
2247
2235
  return response.data;
2248
- })();
2236
+ }).call(this);
2249
2237
  }
2250
2238
  getOne(id) {
2251
- var _this = this;
2252
- return _async_to_generator$f(function*() {
2253
- const response = yield _this.client.delete(`master-image-groups/${id}`);
2239
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2240
+ const response = yield this.client.delete(`master-image-groups/${id}`);
2254
2241
  return response.data;
2255
- })();
2242
+ }).call(this);
2256
2243
  }
2257
2244
  delete(id) {
2258
- var _this = this;
2259
- return _async_to_generator$f(function*() {
2260
- const response = yield _this.client.delete(`master-image-groups/${id}`);
2245
+ return /*#__PURE__*/ _async_to_generator$f(function*() {
2246
+ const response = yield this.client.delete(`master-image-groups/${id}`);
2261
2247
  return response.data;
2262
- })();
2248
+ }).call(this);
2263
2249
  }
2264
2250
  }
2265
2251
  /*
@@ -2326,35 +2312,31 @@ function _object_spread$3(target) {
2326
2312
  }
2327
2313
  class MasterImageAPI extends BaseAPI {
2328
2314
  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)}`);
2315
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2316
+ const response = yield this.client.get(`master-images${rapiq.buildQuery(data)}`);
2332
2317
  return response.data;
2333
- })();
2318
+ }).call(this);
2334
2319
  }
2335
2320
  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)}`);
2321
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2322
+ const response = yield this.client.get(`master-images/${id}${rapiq.buildQuery(data)}`);
2339
2323
  return response.data;
2340
- })();
2324
+ }).call(this);
2341
2325
  }
2342
2326
  delete(id) {
2343
- var _this = this;
2344
- return _async_to_generator$e(function*() {
2345
- const response = yield _this.client.delete(`master-images/${id}`);
2327
+ return /*#__PURE__*/ _async_to_generator$e(function*() {
2328
+ const response = yield this.client.delete(`master-images/${id}`);
2346
2329
  return response.data;
2347
- })();
2330
+ }).call(this);
2348
2331
  }
2349
- runCommand(command, data = {}) {
2350
- var _this = this;
2351
- return _async_to_generator$e(function*() {
2332
+ runCommand(_0) {
2333
+ return /*#__PURE__*/ _async_to_generator$e(function*(command, data = {}) {
2352
2334
  const actionData = _object_spread$3({
2353
2335
  command
2354
2336
  }, data);
2355
- const { data: response } = yield _this.client.post('master-images/command', actionData);
2337
+ const { data: response } = yield this.client.post('master-images/command', actionData);
2356
2338
  return response;
2357
- })();
2339
+ }).apply(this, arguments);
2358
2340
  }
2359
2341
  }
2360
2342
  /*
@@ -2393,39 +2375,34 @@ function _async_to_generator$d(fn) {
2393
2375
  }
2394
2376
  class MasterImageEventLogAPI extends BaseAPI {
2395
2377
  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)}`);
2378
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2379
+ const { data: response } = yield this.client.get(`master-image-event-logs${rapiq.buildQuery(options)}`);
2399
2380
  return response;
2400
- })();
2381
+ }).call(this);
2401
2382
  }
2402
2383
  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}`);
2384
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2385
+ const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
2406
2386
  return response;
2407
- })();
2387
+ }).call(this);
2408
2388
  }
2409
2389
  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}`);
2390
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2391
+ const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
2413
2392
  return response;
2414
- })();
2393
+ }).call(this);
2415
2394
  }
2416
2395
  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);
2396
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2397
+ const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
2420
2398
  return response;
2421
- })();
2399
+ }).call(this);
2422
2400
  }
2423
2401
  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);
2402
+ return /*#__PURE__*/ _async_to_generator$d(function*() {
2403
+ const { data: response } = yield this.client.post('master-image-event-logs', data);
2427
2404
  return response;
2428
- })();
2405
+ }).call(this);
2429
2406
  }
2430
2407
  }
2431
2408
  function nullifyEmptyObjectProperties(data) {
@@ -2473,39 +2450,34 @@ function _async_to_generator$c(fn) {
2473
2450
  }
2474
2451
  class ProjectAPI extends BaseAPI {
2475
2452
  getMany(record) {
2476
- var _this = this;
2477
- return _async_to_generator$c(function*() {
2478
- const response = yield _this.client.get(`projects${rapiq.buildQuery(record)}`);
2453
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2454
+ const response = yield this.client.get(`projects${rapiq.buildQuery(record)}`);
2479
2455
  return response.data;
2480
- })();
2456
+ }).call(this);
2481
2457
  }
2482
2458
  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)}`);
2459
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2460
+ const response = yield this.client.get(`projects/${id}${rapiq.buildQuery(requestRecord)}`);
2486
2461
  return response.data;
2487
- })();
2462
+ }).call(this);
2488
2463
  }
2489
2464
  create(data) {
2490
- var _this = this;
2491
- return _async_to_generator$c(function*() {
2492
- const response = yield _this.client.post('projects', nullifyEmptyObjectProperties(data));
2465
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2466
+ const response = yield this.client.post('projects', nullifyEmptyObjectProperties(data));
2493
2467
  return response.data;
2494
- })();
2468
+ }).call(this);
2495
2469
  }
2496
2470
  delete(id) {
2497
- var _this = this;
2498
- return _async_to_generator$c(function*() {
2499
- const response = yield _this.client.delete(`projects/${id}`);
2471
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2472
+ const response = yield this.client.delete(`projects/${id}`);
2500
2473
  return response.data;
2501
- })();
2474
+ }).call(this);
2502
2475
  }
2503
2476
  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));
2477
+ return /*#__PURE__*/ _async_to_generator$c(function*() {
2478
+ const response = yield this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
2507
2479
  return response.data;
2508
- })();
2480
+ }).call(this);
2509
2481
  }
2510
2482
  }
2511
2483
  /*
@@ -2544,39 +2516,34 @@ function _async_to_generator$b(fn) {
2544
2516
  }
2545
2517
  class ProjectNodeAPI extends BaseAPI {
2546
2518
  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)}`);
2519
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2520
+ const response = yield this.client.get(`project-nodes${rapiq.buildQuery(data)}`);
2550
2521
  return response.data;
2551
- })();
2522
+ }).call(this);
2552
2523
  }
2553
2524
  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)}`);
2525
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2526
+ const response = yield this.client.get(`project-nodes/${id}${rapiq.buildQuery(data)}`);
2557
2527
  return response.data;
2558
- })();
2528
+ }).call(this);
2559
2529
  }
2560
2530
  create(data) {
2561
- var _this = this;
2562
- return _async_to_generator$b(function*() {
2563
- const response = yield _this.client.post('project-nodes', data);
2531
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2532
+ const response = yield this.client.post('project-nodes', data);
2564
2533
  return response.data;
2565
- })();
2534
+ }).call(this);
2566
2535
  }
2567
2536
  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));
2537
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2538
+ const response = yield this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
2571
2539
  return response.data;
2572
- })();
2540
+ }).call(this);
2573
2541
  }
2574
2542
  delete(id) {
2575
- var _this = this;
2576
- return _async_to_generator$b(function*() {
2577
- const response = yield _this.client.delete(`project-nodes/${id}`);
2543
+ return /*#__PURE__*/ _async_to_generator$b(function*() {
2544
+ const response = yield this.client.delete(`project-nodes/${id}`);
2578
2545
  return response.data;
2579
- })();
2546
+ }).call(this);
2580
2547
  }
2581
2548
  }
2582
2549
  /*
@@ -2615,39 +2582,34 @@ function _async_to_generator$a(fn) {
2615
2582
  }
2616
2583
  class RegistryAPI extends BaseAPI {
2617
2584
  getMany(options) {
2618
- var _this = this;
2619
- return _async_to_generator$a(function*() {
2620
- const response = yield _this.client.get(`registries${rapiq.buildQuery(options)}`);
2585
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2586
+ const response = yield this.client.get(`registries${rapiq.buildQuery(options)}`);
2621
2587
  return response.data;
2622
- })();
2588
+ }).call(this);
2623
2589
  }
2624
2590
  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)}`);
2591
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2592
+ const response = yield this.client.get(`registries/${id}${rapiq.buildQuery(options)}`);
2628
2593
  return response.data;
2629
- })();
2594
+ }).call(this);
2630
2595
  }
2631
2596
  create(data) {
2632
- var _this = this;
2633
- return _async_to_generator$a(function*() {
2634
- const response = yield _this.client.post('registries', nullifyEmptyObjectProperties(data));
2597
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2598
+ const response = yield this.client.post('registries', nullifyEmptyObjectProperties(data));
2635
2599
  return response.data;
2636
- })();
2600
+ }).call(this);
2637
2601
  }
2638
2602
  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));
2603
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2604
+ const response = yield this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
2642
2605
  return response.data;
2643
- })();
2606
+ }).call(this);
2644
2607
  }
2645
2608
  delete(id) {
2646
- var _this = this;
2647
- return _async_to_generator$a(function*() {
2648
- const response = yield _this.client.delete(`registries/${id}`);
2609
+ return /*#__PURE__*/ _async_to_generator$a(function*() {
2610
+ const response = yield this.client.delete(`registries/${id}`);
2649
2611
  return response.data;
2650
- })();
2612
+ }).call(this);
2651
2613
  }
2652
2614
  }
2653
2615
  /*
@@ -2686,39 +2648,34 @@ function _async_to_generator$9(fn) {
2686
2648
  }
2687
2649
  class RegistryProjectAPI extends BaseAPI {
2688
2650
  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)}`);
2651
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2652
+ const response = yield this.client.get(`registry-projects${rapiq.buildQuery(options)}`);
2692
2653
  return response.data;
2693
- })();
2654
+ }).call(this);
2694
2655
  }
2695
2656
  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)}`);
2657
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2658
+ const response = yield this.client.get(`registry-projects/${id}${rapiq.buildQuery(options)}`);
2699
2659
  return response.data;
2700
- })();
2660
+ }).call(this);
2701
2661
  }
2702
2662
  create(data) {
2703
- var _this = this;
2704
- return _async_to_generator$9(function*() {
2705
- const response = yield _this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
2663
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2664
+ const response = yield this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
2706
2665
  return response.data;
2707
- })();
2666
+ }).call(this);
2708
2667
  }
2709
2668
  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));
2669
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2670
+ const response = yield this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
2713
2671
  return response.data;
2714
- })();
2672
+ }).call(this);
2715
2673
  }
2716
2674
  delete(id) {
2717
- var _this = this;
2718
- return _async_to_generator$9(function*() {
2719
- const response = yield _this.client.delete(`registry-projects/${id}`);
2675
+ return /*#__PURE__*/ _async_to_generator$9(function*() {
2676
+ const response = yield this.client.delete(`registry-projects/${id}`);
2720
2677
  return response.data;
2721
- })();
2678
+ }).call(this);
2722
2679
  }
2723
2680
  }
2724
2681
  /*
@@ -2785,48 +2742,42 @@ function _object_spread$2(target) {
2785
2742
  }
2786
2743
  class NodeAPI extends BaseAPI {
2787
2744
  getMany(options) {
2788
- var _this = this;
2789
- return _async_to_generator$8(function*() {
2790
- const response = yield _this.client.get(`nodes${rapiq.buildQuery(options)}`);
2745
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2746
+ const response = yield this.client.get(`nodes${rapiq.buildQuery(options)}`);
2791
2747
  return response.data;
2792
- })();
2748
+ }).call(this);
2793
2749
  }
2794
2750
  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)}`);
2751
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2752
+ const response = yield this.client.get(`nodes/${id}${rapiq.buildQuery(options)}`);
2798
2753
  return response.data;
2799
- })();
2754
+ }).call(this);
2800
2755
  }
2801
2756
  create(data) {
2802
- var _this = this;
2803
- return _async_to_generator$8(function*() {
2804
- const response = yield _this.client.post('nodes', nullifyEmptyObjectProperties(data));
2757
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2758
+ const response = yield this.client.post('nodes', nullifyEmptyObjectProperties(data));
2805
2759
  return response.data;
2806
- })();
2760
+ }).call(this);
2807
2761
  }
2808
2762
  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));
2763
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2764
+ const response = yield this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
2812
2765
  return response.data;
2813
- })();
2766
+ }).call(this);
2814
2767
  }
2815
2768
  delete(id) {
2816
- var _this = this;
2817
- return _async_to_generator$8(function*() {
2818
- const response = yield _this.client.delete(`nodes/${id}`);
2769
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2770
+ const response = yield this.client.delete(`nodes/${id}`);
2819
2771
  return response.data;
2820
- })();
2772
+ }).call(this);
2821
2773
  }
2822
2774
  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({
2775
+ return /*#__PURE__*/ _async_to_generator$8(function*() {
2776
+ const response = yield this.client.post(`nodes/${id}/task`, _object_spread$2({
2826
2777
  task
2827
2778
  }, data));
2828
2779
  return response.data;
2829
- })();
2780
+ }).call(this);
2830
2781
  }
2831
2782
  }
2832
2783
  /*
@@ -2906,67 +2857,59 @@ class AnalysisAPI extends BaseAPI {
2906
2857
  return new URL(this.getFilesDownloadPath(id), this.client.getBaseURL()).href;
2907
2858
  }
2908
2859
  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)}`);
2860
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2861
+ const { data: response } = yield this.client.get(`analyses${rapiq.buildQuery(options)}`);
2912
2862
  return response;
2913
- })();
2863
+ }).call(this);
2914
2864
  }
2915
2865
  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);
2866
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2867
+ const { data: response } = yield this.client.get(`analyses/${id}${rapiq.buildQuery(options)}`, requestConfig);
2919
2868
  return response;
2920
- })();
2869
+ }).call(this);
2921
2870
  }
2922
2871
  delete(id) {
2923
- var _this = this;
2924
- return _async_to_generator$7(function*() {
2925
- const { data: response } = yield _this.client.delete(`analyses/${id}`);
2872
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2873
+ const { data: response } = yield this.client.delete(`analyses/${id}`);
2926
2874
  return response;
2927
- })();
2875
+ }).call(this);
2928
2876
  }
2929
2877
  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));
2878
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2879
+ const { data: response } = yield this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
2933
2880
  return response;
2934
- })();
2881
+ }).call(this);
2935
2882
  }
2936
2883
  create(data) {
2937
- var _this = this;
2938
- return _async_to_generator$7(function*() {
2939
- const { data: response } = yield _this.client.post('analyses', nullifyEmptyObjectProperties(data));
2884
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2885
+ const { data: response } = yield this.client.post('analyses', nullifyEmptyObjectProperties(data));
2940
2886
  return response;
2941
- })();
2887
+ }).call(this);
2942
2888
  }
2943
- runCommand(id, command, data = {}) {
2944
- var _this = this;
2945
- return _async_to_generator$7(function*() {
2889
+ runCommand(_0, _1) {
2890
+ return /*#__PURE__*/ _async_to_generator$7(function*(id, command, data = {}) {
2946
2891
  const actionData = _object_spread$1({
2947
2892
  command
2948
2893
  }, data);
2949
- const { data: response } = yield _this.client.post(`analyses/${id}/command`, actionData);
2894
+ const { data: response } = yield this.client.post(`analyses/${id}/command`, actionData);
2950
2895
  return response;
2951
- })();
2896
+ }).apply(this, arguments);
2952
2897
  }
2953
2898
  streamFiles(id) {
2954
- var _this = this;
2955
- return _async_to_generator$7(function*() {
2956
- const response = yield _this.client.get(_this.getFilesDownloadPath(id), {
2899
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2900
+ const response = yield this.client.get(this.getFilesDownloadPath(id), {
2957
2901
  responseType: 'stream'
2958
2902
  });
2959
2903
  return response.data;
2960
- })();
2904
+ }).call(this);
2961
2905
  }
2962
2906
  downloadResult(id) {
2963
- var _this = this;
2964
- return _async_to_generator$7(function*() {
2965
- const response = yield _this.client.get(_this.getResultDownloadPath(id), {
2907
+ return /*#__PURE__*/ _async_to_generator$7(function*() {
2908
+ const response = yield this.client.get(this.getResultDownloadPath(id), {
2966
2909
  responseType: 'stream'
2967
2910
  });
2968
2911
  return response.data;
2969
- })();
2912
+ }).call(this);
2970
2913
  }
2971
2914
  }
2972
2915
  /*
@@ -3005,39 +2948,34 @@ function _async_to_generator$6(fn) {
3005
2948
  }
3006
2949
  class AnalysisBucketFileAPI extends BaseAPI {
3007
2950
  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)}`);
2951
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2952
+ const response = yield this.client.get(`analysis-bucket-files${rapiq.buildQuery(options)}`);
3011
2953
  return response.data;
3012
- })();
2954
+ }).call(this);
3013
2955
  }
3014
2956
  getOne(id) {
3015
- var _this = this;
3016
- return _async_to_generator$6(function*() {
3017
- const response = yield _this.client.get(`analysis-bucket-files/${id}`);
2957
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2958
+ const response = yield this.client.get(`analysis-bucket-files/${id}`);
3018
2959
  return response.data;
3019
- })();
2960
+ }).call(this);
3020
2961
  }
3021
2962
  delete(id) {
3022
- var _this = this;
3023
- return _async_to_generator$6(function*() {
3024
- const response = yield _this.client.delete(`analysis-bucket-files/${id}`);
2963
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2964
+ const response = yield this.client.delete(`analysis-bucket-files/${id}`);
3025
2965
  return response.data;
3026
- })();
2966
+ }).call(this);
3027
2967
  }
3028
2968
  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));
2969
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2970
+ const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
3032
2971
  return response;
3033
- })();
2972
+ }).call(this);
3034
2973
  }
3035
2974
  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));
2975
+ return /*#__PURE__*/ _async_to_generator$6(function*() {
2976
+ const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
3039
2977
  return response;
3040
- })();
2978
+ }).call(this);
3041
2979
  }
3042
2980
  }
3043
2981
  /*
@@ -3076,39 +3014,34 @@ function _async_to_generator$5(fn) {
3076
3014
  }
3077
3015
  class AnalysisLogAPI extends BaseAPI {
3078
3016
  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)}`);
3017
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3018
+ const { data: response } = yield this.client.get(`analysis-logs${rapiq.buildQuery(options)}`);
3082
3019
  return response;
3083
- })();
3020
+ }).call(this);
3084
3021
  }
3085
3022
  getOne(id) {
3086
- var _this = this;
3087
- return _async_to_generator$5(function*() {
3088
- const { data: response } = yield _this.client.get(`analysis-logs/${id}`);
3023
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3024
+ const { data: response } = yield this.client.get(`analysis-logs/${id}`);
3089
3025
  return response;
3090
- })();
3026
+ }).call(this);
3091
3027
  }
3092
3028
  delete(id) {
3093
- var _this = this;
3094
- return _async_to_generator$5(function*() {
3095
- const { data: response } = yield _this.client.delete(`analysis-logs/${id}`);
3029
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3030
+ const { data: response } = yield this.client.delete(`analysis-logs/${id}`);
3096
3031
  return response;
3097
- })();
3032
+ }).call(this);
3098
3033
  }
3099
3034
  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);
3035
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3036
+ const { data: response } = yield this.client.post(`analysis-logs/${id}`, data);
3103
3037
  return response;
3104
- })();
3038
+ }).call(this);
3105
3039
  }
3106
3040
  create(data) {
3107
- var _this = this;
3108
- return _async_to_generator$5(function*() {
3109
- const { data: response } = yield _this.client.post('analysis-logs', data);
3041
+ return /*#__PURE__*/ _async_to_generator$5(function*() {
3042
+ const { data: response } = yield this.client.post('analysis-logs', data);
3110
3043
  return response;
3111
- })();
3044
+ }).call(this);
3112
3045
  }
3113
3046
  }
3114
3047
  /*
@@ -3147,39 +3080,34 @@ function _async_to_generator$4(fn) {
3147
3080
  }
3148
3081
  class TrainStationAPI extends BaseAPI {
3149
3082
  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)}`);
3083
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3084
+ const { data: response } = yield this.client.get(`analysis-nodes${rapiq.buildQuery(options)}`);
3153
3085
  return response;
3154
- })();
3086
+ }).call(this);
3155
3087
  }
3156
3088
  getOne(id) {
3157
- var _this = this;
3158
- return _async_to_generator$4(function*() {
3159
- const { data: response } = yield _this.client.get(`analysis-nodes/${id}`);
3089
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3090
+ const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
3160
3091
  return response;
3161
- })();
3092
+ }).call(this);
3162
3093
  }
3163
3094
  delete(id) {
3164
- var _this = this;
3165
- return _async_to_generator$4(function*() {
3166
- const { data: response } = yield _this.client.delete(`analysis-nodes/${id}`);
3095
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3096
+ const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
3167
3097
  return response;
3168
- })();
3098
+ }).call(this);
3169
3099
  }
3170
3100
  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);
3101
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3102
+ const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
3174
3103
  return response;
3175
- })();
3104
+ }).call(this);
3176
3105
  }
3177
3106
  create(data) {
3178
- var _this = this;
3179
- return _async_to_generator$4(function*() {
3180
- const { data: response } = yield _this.client.post('analysis-nodes', data);
3107
+ return /*#__PURE__*/ _async_to_generator$4(function*() {
3108
+ const { data: response } = yield this.client.post('analysis-nodes', data);
3181
3109
  return response;
3182
- })();
3110
+ }).call(this);
3183
3111
  }
3184
3112
  }
3185
3113
  /*
@@ -3218,39 +3146,34 @@ function _async_to_generator$3(fn) {
3218
3146
  }
3219
3147
  class AnalysisNodeLogAPI extends BaseAPI {
3220
3148
  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)}`);
3149
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3150
+ const { data: response } = yield this.client.get(`analysis-node-logs${rapiq.buildQuery(options)}`);
3224
3151
  return response;
3225
- })();
3152
+ }).call(this);
3226
3153
  }
3227
3154
  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}`);
3155
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3156
+ const { data: response } = yield this.client.get(`analysis-node-logs/${id}`);
3231
3157
  return response;
3232
- })();
3158
+ }).call(this);
3233
3159
  }
3234
3160
  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}`);
3161
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3162
+ const { data: response } = yield this.client.delete(`analysis-node-logs/${id}`);
3238
3163
  return response;
3239
- })();
3164
+ }).call(this);
3240
3165
  }
3241
3166
  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);
3167
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3168
+ const { data: response } = yield this.client.post(`analysis-node-logs/${id}`, data);
3245
3169
  return response;
3246
- })();
3170
+ }).call(this);
3247
3171
  }
3248
3172
  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);
3173
+ return /*#__PURE__*/ _async_to_generator$3(function*() {
3174
+ const { data: response } = yield this.client.post('analysis-node-logs', data);
3252
3175
  return response;
3253
- })();
3176
+ }).call(this);
3254
3177
  }
3255
3178
  }
3256
3179
  /*
@@ -3289,39 +3212,34 @@ function _async_to_generator$2(fn) {
3289
3212
  }
3290
3213
  class AnalysisPermissionAPI extends BaseAPI {
3291
3214
  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)}`);
3215
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3216
+ const { data: response } = yield this.client.get(`analysis-permissions${rapiq.buildQuery(options)}`);
3295
3217
  return response;
3296
- })();
3218
+ }).call(this);
3297
3219
  }
3298
3220
  getOne(id) {
3299
- var _this = this;
3300
- return _async_to_generator$2(function*() {
3301
- const { data: response } = yield _this.client.get(`analysis-permissions/${id}`);
3221
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3222
+ const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
3302
3223
  return response;
3303
- })();
3224
+ }).call(this);
3304
3225
  }
3305
3226
  delete(id) {
3306
- var _this = this;
3307
- return _async_to_generator$2(function*() {
3308
- const { data: response } = yield _this.client.delete(`analysis-permissions/${id}`);
3227
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3228
+ const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
3309
3229
  return response;
3310
- })();
3230
+ }).call(this);
3311
3231
  }
3312
3232
  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);
3233
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3234
+ const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
3316
3235
  return response;
3317
- })();
3236
+ }).call(this);
3318
3237
  }
3319
3238
  create(data) {
3320
- var _this = this;
3321
- return _async_to_generator$2(function*() {
3322
- const { data: response } = yield _this.client.post('analysis-permissions', data);
3239
+ return /*#__PURE__*/ _async_to_generator$2(function*() {
3240
+ const { data: response } = yield this.client.post('analysis-permissions', data);
3323
3241
  return response;
3324
- })();
3242
+ }).call(this);
3325
3243
  }
3326
3244
  }
3327
3245
  /*
@@ -3388,20 +3306,18 @@ function _object_spread(target) {
3388
3306
  }
3389
3307
  class ServiceAPI extends BaseAPI {
3390
3308
  runCommand(id, command, data) {
3391
- var _this = this;
3392
- return _async_to_generator$1(function*() {
3309
+ return /*#__PURE__*/ _async_to_generator$1(function*() {
3393
3310
  data = data || {};
3394
- const { data: resultData } = yield _this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
3311
+ const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
3395
3312
  command
3396
3313
  }, data)));
3397
3314
  return resultData;
3398
- })();
3315
+ }).call(this);
3399
3316
  }
3400
3317
  runRegistryCommand(command, data) {
3401
- var _this = this;
3402
- return _async_to_generator$1(function*() {
3403
- return _this.runCommand(coreKit.ServiceID.REGISTRY, command, data);
3404
- })();
3318
+ return /*#__PURE__*/ _async_to_generator$1(function*() {
3319
+ return this.runCommand(coreKit.ServiceID.REGISTRY, command, data);
3320
+ }).call(this);
3405
3321
  }
3406
3322
  }
3407
3323
  /*
@@ -3440,32 +3356,28 @@ function _async_to_generator(fn) {
3440
3356
  }
3441
3357
  class AnalysisBucketAPI extends BaseAPI {
3442
3358
  getMany(options) {
3443
- var _this = this;
3444
- return _async_to_generator(function*() {
3445
- const response = yield _this.client.get(`analysis-buckets${rapiq.buildQuery(options)}`);
3359
+ return /*#__PURE__*/ _async_to_generator(function*() {
3360
+ const response = yield this.client.get(`analysis-buckets${rapiq.buildQuery(options)}`);
3446
3361
  return response.data;
3447
- })();
3362
+ }).call(this);
3448
3363
  }
3449
3364
  getOne(id) {
3450
- var _this = this;
3451
- return _async_to_generator(function*() {
3452
- const response = yield _this.client.get(`analysis-buckets/${id}`);
3365
+ return /*#__PURE__*/ _async_to_generator(function*() {
3366
+ const response = yield this.client.get(`analysis-buckets/${id}`);
3453
3367
  return response.data;
3454
- })();
3368
+ }).call(this);
3455
3369
  }
3456
3370
  create(data) {
3457
- var _this = this;
3458
- return _async_to_generator(function*() {
3459
- const { data: response } = yield _this.client.post('analysis-buckets', data);
3371
+ return /*#__PURE__*/ _async_to_generator(function*() {
3372
+ const { data: response } = yield this.client.post('analysis-buckets', data);
3460
3373
  return response;
3461
- })();
3374
+ }).call(this);
3462
3375
  }
3463
3376
  delete(id) {
3464
- var _this = this;
3465
- return _async_to_generator(function*() {
3466
- const response = yield _this.client.delete(`analysis-buckets/${id}`);
3377
+ return /*#__PURE__*/ _async_to_generator(function*() {
3378
+ const response = yield this.client.delete(`analysis-buckets/${id}`);
3467
3379
  return response.data;
3468
- })();
3380
+ }).call(this);
3469
3381
  }
3470
3382
  }
3471
3383
  /*
@@ -3894,11 +3806,21 @@ function createListRaw(context) {
3894
3806
  if (context.onCreated) {
3895
3807
  context.onCreated(cbEntity, meta.value);
3896
3808
  }
3809
+ if (context.setup && typeof context.setup.emit === 'function') {
3810
+ context.setup.emit('created', cbEntity);
3811
+ }
3897
3812
  });
3898
- const handleDeleted = buildListDeletedHandler(data, ()=>{
3813
+ const handleDeleted = buildListDeletedHandler(data, (cbEntity)=>{
3899
3814
  total.value--;
3815
+ if (context.setup && typeof context.setup.emit === 'function') {
3816
+ context.setup.emit('deleted', cbEntity);
3817
+ }
3818
+ });
3819
+ const handleUpdated = buildListUpdatedHandler(data, (cbEntity)=>{
3820
+ if (context.setup && typeof context.setup.emit === 'function') {
3821
+ context.setup.emit('updated', cbEntity);
3822
+ }
3900
3823
  });
3901
- const handleUpdated = buildListUpdatedHandler(data);
3902
3824
  let options = context.props;
3903
3825
  const setDefaults = (defaults)=>{
3904
3826
  options = mergeListOptions(context.props, defaults);
@@ -3980,7 +3902,7 @@ function createListRaw(context) {
3980
3902
  handleDeleted(entity);
3981
3903
  };
3982
3904
  socketContext.onUpdated = (entity)=>{
3983
- handleDeleted(entity);
3905
+ handleUpdated(entity);
3984
3906
  };
3985
3907
  socketContext.realmId = realmId;
3986
3908
  createEntitySocket(socketContext);
@@ -4132,7 +4054,7 @@ function createEntityManager(ctx) {
4132
4054
  if (entity.value) {
4133
4055
  extendObjectProperties(entity.value, value);
4134
4056
  }
4135
- if (ctx.setup && ctx.setup.emit) {
4057
+ if (ctx.setup && typeof ctx.setup.emit === 'function') {
4136
4058
  ctx.setup.emit('updated', entity.value || value);
4137
4059
  }
4138
4060
  if (ctx.onUpdated) {
@@ -5254,7 +5176,7 @@ const FProjectNodeApprovalStatus = vue.defineComponent({
5254
5176
  }
5255
5177
  });
5256
5178
 
5257
- var _sfc_main$o = vue.defineComponent({
5179
+ var _sfc_main$p = vue.defineComponent({
5258
5180
  components: {
5259
5181
  IVuelidate: vuelidate.IVuelidate,
5260
5182
  VCFormInput: formControls.VCFormInput,
@@ -5302,7 +5224,7 @@ var _sfc_main$o = vue.defineComponent({
5302
5224
  const _hoisted_1$k = [
5303
5225
  "disabled"
5304
5226
  ];
5305
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5227
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
5306
5228
  const _component_VCFormInput = vue.resolveComponent("VCFormInput");
5307
5229
  const _component_VCFormGroup = vue.resolveComponent("VCFormGroup");
5308
5230
  const _component_IVuelidate = vue.resolveComponent("IVuelidate");
@@ -5351,10 +5273,10 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5351
5273
  "validation"
5352
5274
  ]);
5353
5275
  }
5354
- var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$o, [
5276
+ var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$p, [
5355
5277
  [
5356
5278
  "render",
5357
- _sfc_render$o
5279
+ _sfc_render$p
5358
5280
  ]
5359
5281
  ]);
5360
5282
 
@@ -5402,7 +5324,7 @@ const FTranslationDefault = vue.defineComponent({
5402
5324
  }
5403
5325
  });
5404
5326
 
5405
- var _sfc_main$n = vue.defineComponent({
5327
+ var _sfc_main$o = vue.defineComponent({
5406
5328
  components: {
5407
5329
  FTranslationDefault,
5408
5330
  FFormInputListItem
@@ -5493,13 +5415,13 @@ const _hoisted_3$g = {
5493
5415
  const _hoisted_4$g = {
5494
5416
  class: "ms-auto"
5495
5417
  };
5496
- const _hoisted_5$c = [
5418
+ const _hoisted_5$d = [
5497
5419
  "disabled"
5498
5420
  ];
5499
5421
  const _hoisted_6$b = {
5500
5422
  class: "d-flex flex-column gap-1"
5501
5423
  };
5502
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5424
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
5503
5425
  const _component_FTranslationDefault = vue.resolveComponent("FTranslationDefault");
5504
5426
  const _component_FFormInputListItem = vue.resolveComponent("FFormInputListItem");
5505
5427
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
@@ -5529,7 +5451,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5529
5451
  vue.createVNode(_component_FTranslationDefault, {
5530
5452
  name: "add"
5531
5453
  })
5532
- ], 8, _hoisted_5$c)
5454
+ ], 8, _hoisted_5$d)
5533
5455
  ])
5534
5456
  ])
5535
5457
  ]),
@@ -5569,10 +5491,10 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5569
5491
  ])
5570
5492
  ]);
5571
5493
  }
5572
- var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$n, [
5494
+ var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [
5573
5495
  [
5574
5496
  "render",
5575
- _sfc_render$n
5497
+ _sfc_render$o
5576
5498
  ]
5577
5499
  ]);
5578
5500
 
@@ -5694,7 +5616,7 @@ function renderToggleButton(options) {
5694
5616
  ]);
5695
5617
  }
5696
5618
 
5697
- var _sfc_main$m = vue.defineComponent({
5619
+ var _sfc_main$n = vue.defineComponent({
5698
5620
  props: {
5699
5621
  current: {
5700
5622
  type: String,
@@ -5730,7 +5652,7 @@ var _sfc_main$m = vue.defineComponent({
5730
5652
  }
5731
5653
  });
5732
5654
 
5733
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
5655
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5734
5656
  return vue.renderSlot(_ctx.$slots, "default", {
5735
5657
  toggle: _ctx.toggle,
5736
5658
  active: _ctx.active
@@ -5738,10 +5660,10 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
5738
5660
  vue.createTextVNode(vue.toDisplayString(_ctx.current), 1)
5739
5661
  ]);
5740
5662
  }
5741
- var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [
5663
+ var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$n, [
5742
5664
  [
5743
5665
  "render",
5744
- _sfc_render$m
5666
+ _sfc_render$n
5745
5667
  ]
5746
5668
  ]);
5747
5669
 
@@ -6155,7 +6077,7 @@ const FProjectInForm = vue.defineComponent({
6155
6077
  }
6156
6078
  });
6157
6079
 
6158
- var _sfc_main$l = vue.defineComponent({
6080
+ var _sfc_main$m = vue.defineComponent({
6159
6081
  components: {
6160
6082
  BModal: bootstrapVueNext.BModal,
6161
6083
  FProjectInForm,
@@ -6214,7 +6136,7 @@ const _hoisted_3$f = {
6214
6136
  const _hoisted_4$f = {
6215
6137
  class: "ms-auto d-flex flex-row gap-1"
6216
6138
  };
6217
- const _hoisted_5$b = {
6139
+ const _hoisted_5$c = {
6218
6140
  class: "row"
6219
6141
  };
6220
6142
  const _hoisted_6$a = {
@@ -6235,7 +6157,7 @@ const _hoisted_10$5 = {
6235
6157
  const _hoisted_11$4 = {
6236
6158
  class: "ms-auto"
6237
6159
  };
6238
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6160
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
6239
6161
  const _component_VCLink = vue.resolveComponent("VCLink");
6240
6162
  const _component_FProjectNodeApprovalCommand = vue.resolveComponent("FProjectNodeApprovalCommand");
6241
6163
  const _component_FProjectNodeApprovalStatus = vue.resolveComponent("FProjectNodeApprovalStatus");
@@ -6328,7 +6250,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6328
6250
  vue.renderSlot(_ctx.$slots, "body", {
6329
6251
  data: _ctx.entity
6330
6252
  }, ()=>[
6331
- vue.createElementVNode("div", _hoisted_5$b, [
6253
+ vue.createElementVNode("div", _hoisted_5$c, [
6332
6254
  vue.createElementVNode("div", _hoisted_6$a, [
6333
6255
  _cache[5] || (_cache[5] = vue.createElementVNode("div", null, [
6334
6256
  vue.createElementVNode("strong", null, [
@@ -6454,10 +6376,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6454
6376
  ])
6455
6377
  ]);
6456
6378
  }
6457
- var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$l, [
6379
+ var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$m, [
6458
6380
  [
6459
6381
  "render",
6460
- _sfc_render$l
6382
+ _sfc_render$m
6461
6383
  ]
6462
6384
  ]);
6463
6385
 
@@ -6645,7 +6567,7 @@ const FProjectForm = vue.defineComponent({
6645
6567
  }
6646
6568
  });
6647
6569
 
6648
- var _sfc_main$k = vue.defineComponent({
6570
+ var _sfc_main$l = vue.defineComponent({
6649
6571
  components: {
6650
6572
  AUser: clientWebKit.AUser,
6651
6573
  ARobot: clientWebKit.ARobot
@@ -6658,7 +6580,7 @@ var _sfc_main$k = vue.defineComponent({
6658
6580
  }
6659
6581
  });
6660
6582
 
6661
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6583
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
6662
6584
  const _component_AUser = vue.resolveComponent("AUser");
6663
6585
  const _component_ARobot = vue.resolveComponent("ARobot");
6664
6586
  return vue.openBlock(), vue.createElementBlock("div", null, [
@@ -6715,14 +6637,14 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6715
6637
  ], 64))
6716
6638
  ]);
6717
6639
  }
6718
- var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$k, [
6640
+ var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$l, [
6719
6641
  [
6720
6642
  "render",
6721
- _sfc_render$k
6643
+ _sfc_render$l
6722
6644
  ]
6723
6645
  ]);
6724
6646
 
6725
- var _sfc_main$j = vue.defineComponent({
6647
+ var _sfc_main$k = vue.defineComponent({
6726
6648
  components: {
6727
6649
  FProjectCreator,
6728
6650
  FEntityDelete,
@@ -6769,7 +6691,7 @@ const _hoisted_3$e = {
6769
6691
  const _hoisted_4$e = {
6770
6692
  class: "ms-auto"
6771
6693
  };
6772
- const _hoisted_5$a = {
6694
+ const _hoisted_5$b = {
6773
6695
  class: "d-flex justify-content-between flex-row"
6774
6696
  };
6775
6697
  const _hoisted_6$9 = {
@@ -6790,7 +6712,7 @@ const _hoisted_10$4 = {
6790
6712
  const _hoisted_11$3 = {
6791
6713
  class: "ms-auto"
6792
6714
  };
6793
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6715
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
6794
6716
  const _component_VCLink = vue.resolveComponent("VCLink");
6795
6717
  const _component_FEntityDelete = vue.resolveComponent("FEntityDelete");
6796
6718
  const _component_FProjectCreator = vue.resolveComponent("FProjectCreator");
@@ -6857,7 +6779,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6857
6779
  vue.renderSlot(_ctx.$slots, "body", {
6858
6780
  data: _ctx.entity
6859
6781
  }, ()=>[
6860
- vue.createElementVNode("div", _hoisted_5$a, [
6782
+ vue.createElementVNode("div", _hoisted_5$b, [
6861
6783
  vue.createElementVNode("div", _hoisted_6$9, [
6862
6784
  _cache[2] || (_cache[2] = vue.createElementVNode("div", null, [
6863
6785
  vue.createElementVNode("strong", null, [
@@ -6941,10 +6863,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
6941
6863
  ])
6942
6864
  ]);
6943
6865
  }
6944
- var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$j, [
6866
+ var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$k, [
6945
6867
  [
6946
6868
  "render",
6947
- _sfc_render$j
6869
+ _sfc_render$k
6948
6870
  ]
6949
6871
  ]);
6950
6872
 
@@ -8248,7 +8170,7 @@ function useClipboard(options = {}) {
8248
8170
  };
8249
8171
  }
8250
8172
 
8251
- var _sfc_main$i = vue.defineComponent({
8173
+ var _sfc_main$j = vue.defineComponent({
8252
8174
  props: {
8253
8175
  entity: {
8254
8176
  type: Object,
@@ -8369,7 +8291,7 @@ const _hoisted_3$d = {
8369
8291
  const _hoisted_4$d = {
8370
8292
  class: "d-flex flex-row"
8371
8293
  };
8372
- const _hoisted_5$9 = {
8294
+ const _hoisted_5$a = {
8373
8295
  class: "ms-auto"
8374
8296
  };
8375
8297
  const _hoisted_6$8 = {
@@ -8394,7 +8316,7 @@ const _hoisted_11$2 = [
8394
8316
  const _hoisted_12 = [
8395
8317
  "disabled"
8396
8318
  ];
8397
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8319
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
8398
8320
  const _component_VCFormTextarea = vue.resolveComponent("VCFormTextarea");
8399
8321
  const _component_VCFormGroup = vue.resolveComponent("VCFormGroup");
8400
8322
  const _component_VCFormSelect = vue.resolveComponent("VCFormSelect");
@@ -8410,7 +8332,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8410
8332
  label: vue.withCtx(()=>[
8411
8333
  vue.createElementVNode("div", _hoisted_4$d, [
8412
8334
  _cache[8] || (_cache[8] = vue.createElementVNode("div", null, " PublicKey ", -1)),
8413
- vue.createElementVNode("div", _hoisted_5$9, [
8335
+ vue.createElementVNode("div", _hoisted_5$a, [
8414
8336
  vue.withDirectives(vue.createElementVNode("button", {
8415
8337
  type: "button",
8416
8338
  class: "btn btn-xs btn-dark",
@@ -8544,10 +8466,10 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
8544
8466
  ])
8545
8467
  ]);
8546
8468
  }
8547
- var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
8469
+ var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$j, [
8548
8470
  [
8549
8471
  "render",
8550
- _sfc_render$i
8472
+ _sfc_render$j
8551
8473
  ]
8552
8474
  ]);
8553
8475
 
@@ -8952,7 +8874,7 @@ var FAnalysisNodeAssignAction = vue.defineComponent({
8952
8874
  }
8953
8875
  });
8954
8876
 
8955
- var _sfc_main$h = vue.defineComponent({
8877
+ var _sfc_main$i = vue.defineComponent({
8956
8878
  components: {
8957
8879
  FProjectNodes,
8958
8880
  ListPagination: FPagination,
@@ -9071,7 +8993,7 @@ const _hoisted_3$c = {
9071
8993
  const _hoisted_4$c = {
9072
8994
  class: "ms-auto"
9073
8995
  };
9074
- const _hoisted_5$8 = [
8996
+ const _hoisted_5$9 = [
9075
8997
  "disabled",
9076
8998
  "onClick"
9077
8999
  ];
@@ -9093,7 +9015,7 @@ const _hoisted_10$2 = {
9093
9015
  const _hoisted_11$1 = {
9094
9016
  class: "ms-auto"
9095
9017
  };
9096
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9018
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
9097
9019
  const _component_ListSearch = vue.resolveComponent("ListSearch");
9098
9020
  const _component_ListPagination = vue.resolveComponent("ListPagination");
9099
9021
  const _component_FAnalysisNodes = vue.resolveComponent("FAnalysisNodes");
@@ -9158,7 +9080,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9158
9080
  vue.createElementVNode("i", {
9159
9081
  class: "fa fa-trash"
9160
9082
  }, null, -1)
9161
- ]), 8, _hoisted_5$8)
9083
+ ]), 8, _hoisted_5$9)
9162
9084
  ])
9163
9085
  ])
9164
9086
  ]),
@@ -9287,14 +9209,14 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9287
9209
  ])
9288
9210
  ]);
9289
9211
  }
9290
- var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$h, [
9212
+ var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
9291
9213
  [
9292
9214
  "render",
9293
- _sfc_render$h
9215
+ _sfc_render$i
9294
9216
  ]
9295
9217
  ]);
9296
9218
 
9297
- var _sfc_main$g = vue.defineComponent({
9219
+ var _sfc_main$h = vue.defineComponent({
9298
9220
  components: {
9299
9221
  FAnalysisNodeManager
9300
9222
  },
@@ -9334,7 +9256,7 @@ const _hoisted_3$b = {
9334
9256
  const _hoisted_4$b = [
9335
9257
  "onClick"
9336
9258
  ];
9337
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9259
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
9338
9260
  const _component_FAnalysisNodeManager = vue.resolveComponent("FAnalysisNodeManager");
9339
9261
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
9340
9262
  vue.createElementVNode("div", null, [
@@ -9381,10 +9303,10 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9381
9303
  ])
9382
9304
  ]);
9383
9305
  }
9384
- var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$g, [
9306
+ var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$h, [
9385
9307
  [
9386
9308
  "render",
9387
- _sfc_render$g
9309
+ _sfc_render$h
9388
9310
  ]
9389
9311
  ]);
9390
9312
 
@@ -9542,7 +9464,7 @@ var FAnalysisImageCommand = vue.defineComponent({
9542
9464
  }
9543
9465
  });
9544
9466
 
9545
- var _sfc_main$f = vue.defineComponent({
9467
+ var _sfc_main$g = vue.defineComponent({
9546
9468
  components: {
9547
9469
  FFormInputList
9548
9470
  },
@@ -9699,7 +9621,7 @@ const _hoisted_4$a = [
9699
9621
  "disabled",
9700
9622
  "onClick"
9701
9623
  ];
9702
- const _hoisted_5$7 = {
9624
+ const _hoisted_5$8 = {
9703
9625
  class: "col"
9704
9626
  };
9705
9627
  const _hoisted_6$6 = [
@@ -9709,7 +9631,7 @@ const _hoisted_7$5 = [
9709
9631
  "disabled",
9710
9632
  "onClick"
9711
9633
  ];
9712
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9634
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
9713
9635
  const _component_FFormInputList = vue.resolveComponent("FFormInputList");
9714
9636
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
9715
9637
  vue.createElementVNode("div", _hoisted_2$d, [
@@ -9758,7 +9680,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9758
9680
  "onChanged"
9759
9681
  ])
9760
9682
  ]),
9761
- vue.createElementVNode("div", _hoisted_5$7, [
9683
+ vue.createElementVNode("div", _hoisted_5$8, [
9762
9684
  vue.createVNode(_component_FFormInputList, {
9763
9685
  ref: "itemsAfterVNode",
9764
9686
  names: _ctx.itemsAfter,
@@ -9806,14 +9728,14 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9806
9728
  ])
9807
9729
  ]);
9808
9730
  }
9809
- var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$f, [
9731
+ var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$g, [
9810
9732
  [
9811
9733
  "render",
9812
- _sfc_render$f
9734
+ _sfc_render$g
9813
9735
  ]
9814
9736
  ]);
9815
9737
 
9816
- var _sfc_main$e = vue.defineComponent({
9738
+ var _sfc_main$f = vue.defineComponent({
9817
9739
  components: {
9818
9740
  FAnalysisImageCommandArguments,
9819
9741
  FAnalysisImageCommand,
@@ -9871,7 +9793,7 @@ const _hoisted_1$c = {
9871
9793
  const _hoisted_2$c = {
9872
9794
  class: "mb-2"
9873
9795
  };
9874
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9796
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9875
9797
  const _component_FMasterImagePicker = vue.resolveComponent("FMasterImagePicker");
9876
9798
  const _component_FAnalysisImageCommandArguments = vue.resolveComponent("FAnalysisImageCommandArguments");
9877
9799
  const _component_FAnalysisImageCommand = vue.resolveComponent("FAnalysisImageCommand");
@@ -9940,14 +9862,14 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9940
9862
  ])
9941
9863
  ]);
9942
9864
  }
9943
- var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$e, [
9865
+ var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$f, [
9944
9866
  [
9945
9867
  "render",
9946
- _sfc_render$e
9868
+ _sfc_render$f
9947
9869
  ]
9948
9870
  ]);
9949
9871
 
9950
- var _sfc_main$d = vue.defineComponent({
9872
+ var _sfc_main$e = vue.defineComponent({
9951
9873
  props: {
9952
9874
  entity: {
9953
9875
  type: Object,
@@ -9956,16 +9878,11 @@ var _sfc_main$d = vue.defineComponent({
9956
9878
  filesSelected: {
9957
9879
  type: Array,
9958
9880
  required: true
9959
- },
9960
- fileSelectedId: {
9961
- type: String
9962
9881
  }
9963
9882
  },
9964
9883
  emits: {
9965
9884
  ...defineEntityManagerEvents(),
9966
9885
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9967
- toggle: (_entity)=>true,
9968
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
9969
9886
  check: (_entity)=>true
9970
9887
  },
9971
9888
  setup (props, setup) {
@@ -9974,16 +9891,27 @@ var _sfc_main$d = vue.defineComponent({
9974
9891
  props,
9975
9892
  setup
9976
9893
  });
9977
- const busy = vue.ref(false);
9978
9894
  const marked = vue.computed(()=>{
9979
9895
  if (!props.filesSelected) {
9980
9896
  return false;
9981
9897
  }
9982
9898
  return props.filesSelected.findIndex((file)=>manager.data.value && file === manager.data.value.id) !== -1;
9983
9899
  });
9984
- const isMatch = vue.computed(()=>manager.data.value && props.fileSelectedId === manager.data.value.id);
9985
- const toggle = ()=>{
9986
- setup.emit('toggle', manager.data.value);
9900
+ const isMatchRaw = vue.computed(()=>manager.data.value && manager.data.value.root);
9901
+ const isMatch = vue.ref(false);
9902
+ vue.watch(isMatchRaw, (val)=>{
9903
+ isMatch.value = val;
9904
+ });
9905
+ if (manager.data.value) {
9906
+ isMatch.value = manager.data.value.root;
9907
+ }
9908
+ const toggle = async ()=>{
9909
+ if (manager.busy.value || !manager.data.value) {
9910
+ return;
9911
+ }
9912
+ await manager.update({
9913
+ root: !isMatch.value
9914
+ });
9987
9915
  };
9988
9916
  const markToggle = ()=>{
9989
9917
  setup.emit('check', manager.data.value);
@@ -9994,7 +9922,7 @@ var _sfc_main$d = vue.defineComponent({
9994
9922
  markToggle,
9995
9923
  isMatch,
9996
9924
  toggle,
9997
- busy
9925
+ busy: manager.busy
9998
9926
  };
9999
9927
  }
10000
9928
  });
@@ -10005,13 +9933,16 @@ const _hoisted_1$b = {
10005
9933
  const _hoisted_2$b = {
10006
9934
  class: "ms-auto d-flex flex-row me-1"
10007
9935
  };
10008
- const _hoisted_3$9 = {
9936
+ const _hoisted_3$9 = [
9937
+ "disabled"
9938
+ ];
9939
+ const _hoisted_4$9 = {
10009
9940
  class: "ms-1"
10010
9941
  };
10011
- const _hoisted_4$9 = [
9942
+ const _hoisted_5$7 = [
10012
9943
  "disabled"
10013
9944
  ];
10014
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
9945
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
10015
9946
  return vue.openBlock(), vue.createElementBlock("div", {
10016
9947
  class: vue.normalizeClass([
10017
9948
  "card card-file d-flex flex-row align-items-center p-1",
@@ -10030,8 +9961,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10030
9961
  ]),
10031
9962
  vue.createElementVNode("div", _hoisted_2$b, [
10032
9963
  vue.createElementVNode("div", null, [
10033
- !_ctx.fileSelectedId || _ctx.isMatch ? (vue.openBlock(), vue.createElementBlock("button", {
10034
- key: 0,
9964
+ vue.createElementVNode("button", {
10035
9965
  type: "button",
10036
9966
  class: vue.normalizeClass([
10037
9967
  "btn btn-xs",
@@ -10040,6 +9970,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10040
9970
  "btn-warning": _ctx.isMatch
10041
9971
  }
10042
9972
  ]),
9973
+ disabled: _ctx.busy,
10043
9974
  onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args)=>_ctx.toggle && _ctx.toggle(...args), [
10044
9975
  "prevent"
10045
9976
  ]))
@@ -10050,9 +9981,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10050
9981
  "fa fa-times": _ctx.isMatch
10051
9982
  })
10052
9983
  }, null, 2)
10053
- ], 2)) : vue.createCommentVNode("", true)
9984
+ ], 10, _hoisted_3$9)
10054
9985
  ]),
10055
- vue.createElementVNode("div", _hoisted_3$9, [
9986
+ vue.createElementVNode("div", _hoisted_4$9, [
10056
9987
  vue.createElementVNode("button", {
10057
9988
  type: "button",
10058
9989
  class: "btn btn-danger btn-xs",
@@ -10064,15 +9995,15 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10064
9995
  vue.createElementVNode("i", {
10065
9996
  class: "fa fa-trash"
10066
9997
  }, null, -1)
10067
- ]), 8, _hoisted_4$9)
9998
+ ]), 8, _hoisted_5$7)
10068
9999
  ])
10069
10000
  ])
10070
10001
  ], 2);
10071
10002
  }
10072
- var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [
10003
+ var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$e, [
10073
10004
  [
10074
10005
  "render",
10075
- _sfc_render$d
10006
+ _sfc_render$e
10076
10007
  ]
10077
10008
  ]);
10078
10009
 
@@ -10102,7 +10033,7 @@ const FAnalysisBucketFiles = vue.defineComponent({
10102
10033
  }
10103
10034
  });
10104
10035
 
10105
- var _sfc_main$c = vue.defineComponent({
10036
+ var _sfc_main$d = vue.defineComponent({
10106
10037
  props: {
10107
10038
  file: {
10108
10039
  type: Object,
@@ -10146,7 +10077,7 @@ const _hoisted_3$8 = {
10146
10077
  const _hoisted_4$8 = {
10147
10078
  class: "ms-auto"
10148
10079
  };
10149
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10080
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10150
10081
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
10151
10082
  vue.createElementVNode("div", _hoisted_2$a, [
10152
10083
  vue.createElementVNode("span", _hoisted_3$8, vue.toDisplayString(_ctx.path), 1)
@@ -10166,14 +10097,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10166
10097
  ])
10167
10098
  ]);
10168
10099
  }
10169
- var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [
10100
+ var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [
10170
10101
  [
10171
10102
  "render",
10172
- _sfc_render$c
10103
+ _sfc_render$d
10173
10104
  ]
10174
10105
  ]);
10175
10106
 
10176
- var _sfc_main$b = vue.defineComponent({
10107
+ var _sfc_main$c = vue.defineComponent({
10177
10108
  components: {
10178
10109
  FAnalysisFormFile
10179
10110
  },
@@ -10286,7 +10217,7 @@ const _hoisted_9$1 = {
10286
10217
  const _hoisted_10$1 = [
10287
10218
  "disabled"
10288
10219
  ];
10289
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10220
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10290
10221
  const _component_FAnalysisFormFile = vue.resolveComponent("FAnalysisFormFile");
10291
10222
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
10292
10223
  vue.createElementVNode("div", null, [
@@ -10356,14 +10287,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10356
10287
  ])
10357
10288
  ]);
10358
10289
  }
10359
- var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$b, [
10290
+ var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$c, [
10360
10291
  [
10361
10292
  "render",
10362
- _sfc_render$b
10293
+ _sfc_render$c
10363
10294
  ]
10364
10295
  ]);
10365
10296
 
10366
- var _sfc_main$a = vue.defineComponent({
10297
+ var _sfc_main$b = vue.defineComponent({
10367
10298
  components: {
10368
10299
  BModal: bootstrapVueNext.BModal,
10369
10300
  FAnalysisBucketFileUpload,
@@ -10389,16 +10320,7 @@ var _sfc_main$a = vue.defineComponent({
10389
10320
  ],
10390
10321
  setup (props, { emit }) {
10391
10322
  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
- });
10323
+ const entrypointFile = vue.toRef(props, 'fileEntity');
10402
10324
  const modal = vue.ref(false);
10403
10325
  const toggleModal = ()=>{
10404
10326
  modal.value = !modal.value;
@@ -10413,27 +10335,30 @@ var _sfc_main$a = vue.defineComponent({
10413
10335
  bucket_id: props.entity.id
10414
10336
  }
10415
10337
  }));
10416
- const handleCreated = (entity)=>{
10417
- if (fileListNode.value) {
10418
- fileListNode.value.handleCreated(entity);
10338
+ const updateEntrypointFile = (entity)=>{
10339
+ if (entity.root) {
10340
+ emit('setEntrypointFile', entity);
10341
+ return;
10419
10342
  }
10343
+ if (entrypointFile.value && entrypointFile.value.id === entity.id) {
10344
+ emit('setEntrypointFile', null);
10345
+ }
10346
+ };
10347
+ const handleCreated = (entity)=>{
10420
10348
  emit('created', entity);
10349
+ updateEntrypointFile(entity);
10421
10350
  };
10422
10351
  const handleDeleted = (entity)=>{
10423
- if (fileListNode.value) {
10424
- fileListNode.value.handleDeleted(entity);
10425
- }
10426
10352
  const selectedIndex = selected.value.indexOf(entity.id);
10427
10353
  if (selectedIndex !== -1) {
10428
10354
  selected.value.splice(selectedIndex, 1);
10429
10355
  }
10430
10356
  emit('deleted', entity);
10357
+ updateEntrypointFile(entity);
10431
10358
  };
10432
10359
  const handleUpdated = (entity)=>{
10433
- if (fileListNode.value) {
10434
- fileListNode.value.handleUpdated(entity);
10435
- }
10436
10360
  emit('updated', entity);
10361
+ updateEntrypointFile(entity);
10437
10362
  };
10438
10363
  const handleFailed = (e)=>{
10439
10364
  emit('failed', e);
@@ -10475,32 +10400,6 @@ var _sfc_main$a = vue.defineComponent({
10475
10400
  selected.value.splice(index, 1);
10476
10401
  }
10477
10402
  };
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
10403
  return {
10505
10404
  busy,
10506
10405
  selected,
@@ -10514,13 +10413,11 @@ var _sfc_main$a = vue.defineComponent({
10514
10413
  handleUploaded,
10515
10414
  handleFileUploaded,
10516
10415
  toggleFile,
10517
- entrypointFile,
10518
- entrypointFileId,
10519
- changeEntryPointFile,
10520
10416
  fileListNode,
10521
10417
  fileListQuery,
10522
10418
  modal,
10523
- toggleModal
10419
+ toggleModal,
10420
+ entrypointFile
10524
10421
  };
10525
10422
  }
10526
10423
  });
@@ -10549,7 +10446,7 @@ const _hoisted_7$3 = {
10549
10446
  const _hoisted_8$3 = [
10550
10447
  "onClick"
10551
10448
  ];
10552
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10449
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
10553
10450
  const _component_FAnalysisFile = vue.resolveComponent("FAnalysisFile");
10554
10451
  const _component_FAnalysisBucketFiles = vue.resolveComponent("FAnalysisBucketFiles");
10555
10452
  const _component_FAnalysisBucketFileUpload = vue.resolveComponent("FAnalysisBucketFileUpload");
@@ -10626,19 +10523,15 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10626
10523
  class: "me-1",
10627
10524
  entity: file,
10628
10525
  "files-selected": _ctx.selected,
10629
- "file-selected-id": _ctx.entrypointFileId,
10630
10526
  onCheck: _ctx.toggleFile,
10631
10527
  onUpdated: props.updated,
10632
- onDeleted: props.deleted,
10633
- onToggle: _ctx.changeEntryPointFile
10528
+ onDeleted: props.deleted
10634
10529
  }, null, 8, [
10635
10530
  "entity",
10636
10531
  "files-selected",
10637
- "file-selected-id",
10638
10532
  "onCheck",
10639
10533
  "onUpdated",
10640
- "onDeleted",
10641
- "onToggle"
10534
+ "onDeleted"
10642
10535
  ]);
10643
10536
  }), 128))
10644
10537
  ])
@@ -10720,10 +10613,10 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10720
10613
  ])
10721
10614
  ]);
10722
10615
  }
10723
- var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$a, [
10616
+ var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$b, [
10724
10617
  [
10725
10618
  "render",
10726
- _sfc_render$a
10619
+ _sfc_render$b
10727
10620
  ]
10728
10621
  ]);
10729
10622
 
@@ -10742,7 +10635,7 @@ var FAnalysisBucket = vue.defineComponent({
10742
10635
  }
10743
10636
  });
10744
10637
 
10745
- var _sfc_main$9 = vue.defineComponent({
10638
+ var _sfc_main$a = vue.defineComponent({
10746
10639
  components: {
10747
10640
  FAnalysisBucketFileManager,
10748
10641
  FAnalysisBucket
@@ -10801,7 +10694,7 @@ const _hoisted_3$5 = [
10801
10694
  const _hoisted_4$5 = {
10802
10695
  class: "alert alert-sm alert-warning"
10803
10696
  };
10804
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10697
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
10805
10698
  const _component_FAnalysisBucketFileManager = vue.resolveComponent("FAnalysisBucketFileManager");
10806
10699
  const _component_FAnalysisBucket = vue.resolveComponent("FAnalysisBucket");
10807
10700
  return vue.openBlock(), vue.createElementBlock("div", null, [
@@ -10876,14 +10769,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10876
10769
  ])
10877
10770
  ]);
10878
10771
  }
10879
- var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$9, [
10772
+ var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$a, [
10880
10773
  [
10881
10774
  "render",
10882
- _sfc_render$9
10775
+ _sfc_render$a
10883
10776
  ]
10884
10777
  ]);
10885
10778
 
10886
- var _sfc_main$8 = vue.defineComponent({
10779
+ var _sfc_main$9 = vue.defineComponent({
10887
10780
  components: {
10888
10781
  BModal: bootstrapVueNext.BModal
10889
10782
  },
@@ -10965,7 +10858,7 @@ const _hoisted_8$2 = [
10965
10858
  "disabled",
10966
10859
  "onClick"
10967
10860
  ];
10968
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
10861
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
10969
10862
  const _component_VCFormInputCheckbox = vue.resolveComponent("VCFormInputCheckbox");
10970
10863
  const _component_BModal = vue.resolveComponent("BModal");
10971
10864
  return vue.openBlock(), vue.createBlock(_component_BModal, {
@@ -11077,7 +10970,180 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
11077
10970
  _: 1
11078
10971
  });
11079
10972
  }
11080
- var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
10973
+ var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$9, [
10974
+ [
10975
+ "render",
10976
+ _sfc_render$9
10977
+ ]
10978
+ ]);
10979
+
10980
+ const FAnalysisPermissionAssignment = vue.defineComponent({
10981
+ props: {
10982
+ analysisId: String,
10983
+ permissionId: String
10984
+ },
10985
+ emits: defineEntityManagerEvents(),
10986
+ async setup (props, setup) {
10987
+ const manager = createEntityManager({
10988
+ type: `${coreKit.DomainType.ANALYSIS_PERMISSION}`,
10989
+ setup,
10990
+ socket: {
10991
+ processEvent (event) {
10992
+ return event.data.permission_id === props.permissionId && event.data.analysis_id === props.analysisId;
10993
+ }
10994
+ }
10995
+ });
10996
+ await manager.resolve({
10997
+ query: {
10998
+ filters: {
10999
+ analysis_id: props.analysisId,
11000
+ permission_id: props.permissionId
11001
+ }
11002
+ }
11003
+ });
11004
+ return ()=>clientWebKit.renderToggleButton({
11005
+ changed: (value)=>{
11006
+ if (value) {
11007
+ return manager.create({
11008
+ analysis_id: props.analysisId,
11009
+ permission_id: props.permissionId
11010
+ });
11011
+ }
11012
+ return manager.delete();
11013
+ },
11014
+ value: !!manager.data.value,
11015
+ isBusy: manager.busy.value
11016
+ });
11017
+ }
11018
+ });
11019
+
11020
+ const FAnalysisPermissionAssignments = vue.defineComponent({
11021
+ props: {
11022
+ ...clientWebKit.defineEntityCollectionVProps(),
11023
+ entityId: {
11024
+ type: String,
11025
+ required: true
11026
+ }
11027
+ },
11028
+ setup (props, { slots, attrs, expose }) {
11029
+ const vNodeRef = vue.ref(null);
11030
+ expose({
11031
+ load: (meta)=>{
11032
+ if (vNodeRef.value) {
11033
+ vNodeRef.value.load(meta);
11034
+ }
11035
+ }
11036
+ });
11037
+ return ()=>vue.h(clientWebKit.APermissions, vue.mergeProps({
11038
+ ref: vNodeRef
11039
+ }, props, attrs), {
11040
+ [listControls.SlotName.ITEM_ACTIONS]: (slotProps)=>vue.h(FAnalysisPermissionAssignment, {
11041
+ analysisId: props.entityId,
11042
+ permissionId: slotProps.data.id,
11043
+ key: slotProps.data.id
11044
+ }),
11045
+ ...slots
11046
+ });
11047
+ }
11048
+ });
11049
+
11050
+ const NAME_PREFIX = '~analysis_self_';
11051
+ var _sfc_main$8 = vue.defineComponent({
11052
+ components: {
11053
+ FPagination,
11054
+ FSearch,
11055
+ FAnalysisPermissionAssignments
11056
+ },
11057
+ props: {
11058
+ entity: {
11059
+ type: Object,
11060
+ required: true
11061
+ }
11062
+ },
11063
+ setup () {
11064
+ const vNode = vue.ref(null);
11065
+ const filters = {
11066
+ name: NAME_PREFIX
11067
+ };
11068
+ const load = async (meta)=>{
11069
+ if (vNode.value) {
11070
+ const name = `${NAME_PREFIX}${meta.filters.name.substring(1)}`;
11071
+ filters.name = name;
11072
+ vNode.value.load({
11073
+ ...meta,
11074
+ filters: {
11075
+ name
11076
+ }
11077
+ });
11078
+ }
11079
+ };
11080
+ return {
11081
+ filters,
11082
+ load,
11083
+ vNode
11084
+ };
11085
+ }
11086
+ });
11087
+
11088
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
11089
+ const _component_FSearch = vue.resolveComponent("FSearch");
11090
+ const _component_FPagination = vue.resolveComponent("FPagination");
11091
+ const _component_FAnalysisPermissionAssignments = vue.resolveComponent("FAnalysisPermissionAssignments");
11092
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
11093
+ _cache[0] || (_cache[0] = vue.createElementVNode("div", null, [
11094
+ vue.createElementVNode("h6", null, [
11095
+ vue.createElementVNode("i", {
11096
+ class: "fa fa-key"
11097
+ }),
11098
+ vue.createTextVNode(" Permissions ")
11099
+ ])
11100
+ ], -1)),
11101
+ _cache[1] || (_cache[1] = vue.createElementVNode("div", {
11102
+ class: "alert alert-sm alert-danger"
11103
+ }, [
11104
+ vue.createElementVNode("i", {
11105
+ class: "fa fa-info pe-1"
11106
+ }),
11107
+ vue.createTextVNode(" The selection of permissions does not "),
11108
+ vue.createElementVNode("b", null, "yet"),
11109
+ vue.createTextVNode(" have any implications."),
11110
+ vue.createElementVNode("br")
11111
+ ], -1)),
11112
+ vue.createVNode(_component_FAnalysisPermissionAssignments, {
11113
+ ref: "vNode",
11114
+ query: {
11115
+ filters: _ctx.filters
11116
+ },
11117
+ "entity-id": _ctx.entity.id
11118
+ }, {
11119
+ header: vue.withCtx((props)=>[
11120
+ vue.createVNode(_component_FSearch, {
11121
+ load: _ctx.load,
11122
+ meta: props.meta
11123
+ }, null, 8, [
11124
+ "load",
11125
+ "meta"
11126
+ ])
11127
+ ]),
11128
+ footer: vue.withCtx((props)=>[
11129
+ vue.createVNode(_component_FPagination, {
11130
+ busy: props.busy,
11131
+ meta: props.meta,
11132
+ load: props.load
11133
+ }, null, 8, [
11134
+ "busy",
11135
+ "meta",
11136
+ "load"
11137
+ ])
11138
+ ]),
11139
+ _: 1
11140
+ }, 8, [
11141
+ "query",
11142
+ "entity-id"
11143
+ ])
11144
+ ], 64);
11145
+ }
11146
+ var FAnalysisWizardStepSecurity = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
11081
11147
  [
11082
11148
  "render",
11083
11149
  _sfc_render$8
@@ -11086,6 +11152,7 @@ var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
11086
11152
 
11087
11153
  var _sfc_main$7 = vue.defineComponent({
11088
11154
  components: {
11155
+ FAnalysisWizardStepSecurity,
11089
11156
  FAnalysisWizardStepFiles,
11090
11157
  FormWizard: vue3FormWizard.FormWizard,
11091
11158
  WizardButton: vue3FormWizard.WizardButton,
@@ -11322,6 +11389,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
11322
11389
  const _component_TabContent = vue.resolveComponent("TabContent");
11323
11390
  const _component_FAnalysisWizardStepFiles = vue.resolveComponent("FAnalysisWizardStepFiles");
11324
11391
  const _component_FAnalysisWizardStepMasterImage = vue.resolveComponent("FAnalysisWizardStepMasterImage");
11392
+ const _component_FAnalysisWizardStepSecurity = vue.resolveComponent("FAnalysisWizardStepSecurity");
11325
11393
  const _component_FormWizard = vue.resolveComponent("FormWizard");
11326
11394
  return vue.openBlock(), vue.createBlock(_component_FormWizard, {
11327
11395
  ref: "wizardNode",
@@ -11459,6 +11527,23 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
11459
11527
  _: 1
11460
11528
  }, 8, [
11461
11529
  "before-change"
11530
+ ]),
11531
+ vue.createVNode(_component_TabContent, {
11532
+ title: "Security",
11533
+ "before-change": _ctx.passWizardStep
11534
+ }, {
11535
+ default: vue.withCtx(()=>[
11536
+ vue.createVNode(_component_FAnalysisWizardStepSecurity, {
11537
+ entity: _ctx.entity,
11538
+ onFailed: _ctx.handleFailed
11539
+ }, null, 8, [
11540
+ "entity",
11541
+ "onFailed"
11542
+ ])
11543
+ ]),
11544
+ _: 1
11545
+ }, 8, [
11546
+ "before-change"
11462
11547
  ])
11463
11548
  ]),
11464
11549
  _: 1
@@ -13507,6 +13592,8 @@ var components = /*#__PURE__*/Object.freeze({
13507
13592
  FAnalysisNodeProgress: FAnalysisNodesProgress,
13508
13593
  FAnalysisNodeRunStatus: FAnalysisNodeRunStatus,
13509
13594
  FAnalysisNodes: FAnalysisNodes,
13595
+ FAnalysisPermissionAssignment: FAnalysisPermissionAssignment,
13596
+ FAnalysisPermissionAssignments: FAnalysisPermissionAssignments,
13510
13597
  FAnalysisPipeline: TrainPipeline,
13511
13598
  FAnalysisWizard: FAnalysisWizard,
13512
13599
  FEntityDelete: FEntityDelete,
@@ -13617,6 +13704,8 @@ exports.FAnalysisNodeManager = FAnalysisNodeManager;
13617
13704
  exports.FAnalysisNodeProgress = FAnalysisNodesProgress;
13618
13705
  exports.FAnalysisNodeRunStatus = FAnalysisNodeRunStatus;
13619
13706
  exports.FAnalysisNodes = FAnalysisNodes;
13707
+ exports.FAnalysisPermissionAssignment = FAnalysisPermissionAssignment;
13708
+ exports.FAnalysisPermissionAssignments = FAnalysisPermissionAssignments;
13620
13709
  exports.FAnalysisPipeline = TrainPipeline;
13621
13710
  exports.FAnalysisWizard = FAnalysisWizard;
13622
13711
  exports.FEntityDelete = FEntityDelete;