@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.
- package/dist/components/analysis/FAnalyses.d.ts.map +1 -1
- package/dist/components/analysis/FAnalysisItemCard.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts +345 -13
- package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardLockModal.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts +3 -13
- package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepNodes.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts +346 -0
- package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts.map +1 -0
- package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts +2 -10
- package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts.map +1 -1
- package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts +14 -24
- package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts.map +1 -1
- package/dist/components/analysis-node/FAnalysisNodeManager.vue.d.ts.map +1 -1
- package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts +18 -0
- package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts.map +1 -0
- package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts +86 -0
- package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts.map +1 -0
- package/dist/components/analysis-permission/index.d.ts +3 -0
- package/dist/components/analysis-permission/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/project-node/FProjectNodeInCard.vue.d.ts.map +1 -1
- package/dist/core/entity-picker/index.d.ts +3 -0
- package/dist/core/entity-picker/index.d.ts.map +1 -0
- package/dist/core/entity-picker/module.d.ts +48 -0
- package/dist/core/entity-picker/module.d.ts.map +1 -0
- package/dist/core/entity-picker/types.d.ts +27 -0
- package/dist/core/entity-picker/types.d.ts.map +1 -0
- package/dist/core/list/module.d.ts.map +1 -1
- package/dist/core/list/utils/handlers.d.ts +2 -2
- package/dist/core/list/utils/handlers.d.ts.map +1 -1
- package/dist/index.cjs +692 -597
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +8 -0
- package/dist/index.mjs +692 -599
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { hasOwnProperty as hasOwnProperty$1, isObject as isObject$5, merge, createMerger } from 'smob';
|
|
2
2
|
import { hasInjectionContext, inject as inject$1, provide as provide$1, defineComponent, toRef, reactive, watch, ref, resolveComponent, createElementBlock, openBlock, withModifiers, createVNode, withCtx, createTextVNode, h, resolveDynamicComponent, computed, isRef, onMounted, onUnmounted, unref, nextTick, getCurrentInstance, mergeProps, createBlock, createElementVNode, renderSlot, createCommentVNode, Fragment, renderList, toDisplayString, normalizeClass, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, toRaw, withDirectives, vShow, vModelCheckbox, normalizeStyle, toRefs } from 'vue';
|
|
3
|
-
import { injectStore, injectHTTPClientAuthenticationHook, inject as inject$2, provide as provide$2, storeToRefs, injectStoreDispatcher, StoreDispatcherEventName, useTranslation, TranslatorTranslationDefaultKey, TranslatorTranslationGroup, usePermissionCheck, ATitle, ASearch, APagination, createFormSubmitTranslations, buildFormSubmitWithTranslations, ARobot, AUser, ARealms, ARobotForm } from '@authup/client-web-kit';
|
|
3
|
+
import { injectStore, injectHTTPClientAuthenticationHook, inject as inject$2, provide as provide$2, storeToRefs, injectStoreDispatcher, StoreDispatcherEventName, useTranslation, TranslatorTranslationDefaultKey, TranslatorTranslationGroup, usePermissionCheck, ATitle, ASearch, APagination, createFormSubmitTranslations, buildFormSubmitWithTranslations, ARobot, AUser, ARealms, ARobotForm, renderToggleButton as renderToggleButton$1, defineEntityCollectionVProps, APermissions } from '@authup/client-web-kit';
|
|
4
4
|
import { IVuelidate, install as install$1, useTranslationsForNestedValidations, getSeverity } from '@ilingo/vuelidate';
|
|
5
5
|
import useVuelidate from '@vuelidate/core';
|
|
6
6
|
import { maxLength, minLength, required, helpers } from '@vuelidate/validators';
|
|
@@ -234,7 +234,7 @@ function installStoreManager(instance, key) {
|
|
|
234
234
|
return manager;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
var _sfc_main$
|
|
237
|
+
var _sfc_main$q = defineComponent({
|
|
238
238
|
components: {
|
|
239
239
|
IVuelidate,
|
|
240
240
|
VCFormInput,
|
|
@@ -308,7 +308,7 @@ var _export_sfc = ((sfc, props)=>{
|
|
|
308
308
|
return target;
|
|
309
309
|
});
|
|
310
310
|
|
|
311
|
-
function _sfc_render$
|
|
311
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
312
312
|
const _component_VCFormInput = resolveComponent("VCFormInput");
|
|
313
313
|
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
314
314
|
const _component_IVuelidate = resolveComponent("IVuelidate");
|
|
@@ -397,10 +397,10 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
397
397
|
])
|
|
398
398
|
], 32);
|
|
399
399
|
}
|
|
400
|
-
var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
400
|
+
var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$q, [
|
|
401
401
|
[
|
|
402
402
|
"render",
|
|
403
|
-
_sfc_render$
|
|
403
|
+
_sfc_render$q
|
|
404
404
|
]
|
|
405
405
|
]);
|
|
406
406
|
|
|
@@ -520,24 +520,16 @@ function arrayBufferToBase64(arrayBuffer) {
|
|
|
520
520
|
return btoa(String.fromCharCode.apply(null, new Uint8Array(arrayBuffer)));
|
|
521
521
|
}
|
|
522
522
|
function exportAsymmetricPublicKey(key) {
|
|
523
|
-
return
|
|
524
|
-
}
|
|
525
|
-
function _exportAsymmetricPublicKey() {
|
|
526
|
-
_exportAsymmetricPublicKey = _async_to_generator$2$1(function*(key) {
|
|
523
|
+
return /*#__PURE__*/ _async_to_generator$2$1(function*() {
|
|
527
524
|
const exported = yield crypto.subtle.exportKey('spki', key);
|
|
528
525
|
return `-----BEGIN PUBLIC KEY-----\n${arrayBufferToBase64(exported)}\n-----END PUBLIC KEY-----`;
|
|
529
|
-
});
|
|
530
|
-
return _exportAsymmetricPublicKey.apply(this, arguments);
|
|
526
|
+
})();
|
|
531
527
|
}
|
|
532
528
|
function exportAsymmetricPrivateKey(key) {
|
|
533
|
-
return
|
|
534
|
-
}
|
|
535
|
-
function _exportAsymmetricPrivateKey() {
|
|
536
|
-
_exportAsymmetricPrivateKey = _async_to_generator$2$1(function*(key) {
|
|
529
|
+
return /*#__PURE__*/ _async_to_generator$2$1(function*() {
|
|
537
530
|
const exported = yield crypto.subtle.exportKey('pkcs8', key);
|
|
538
531
|
return `-----BEGIN PRIVATE KEY-----\n${arrayBufferToBase64(exported)}\n-----END PRIVATE KEY-----`;
|
|
539
|
-
});
|
|
540
|
-
return _exportAsymmetricPrivateKey.apply(this, arguments);
|
|
532
|
+
})();
|
|
541
533
|
}
|
|
542
534
|
/*
|
|
543
535
|
* Copyright (c) 2024.
|
|
@@ -638,57 +630,52 @@ class CryptoAsymmetricAlgorithm {
|
|
|
638
630
|
throw new Error('Import params could not be created.');
|
|
639
631
|
}
|
|
640
632
|
generateKeyPair() {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
_this.keyPair = yield crypto.subtle.generateKey(_this.algorithm, true, [
|
|
633
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
634
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
635
|
+
this.keyPair = yield crypto.subtle.generateKey(this.algorithm, true, [
|
|
645
636
|
'encrypt',
|
|
646
637
|
'decrypt'
|
|
647
638
|
]);
|
|
648
|
-
return
|
|
639
|
+
return this.keyPair;
|
|
649
640
|
}
|
|
650
|
-
if (
|
|
651
|
-
|
|
641
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
642
|
+
this.keyPair = yield crypto.subtle.generateKey(this.algorithm, true, [
|
|
652
643
|
'deriveKey'
|
|
653
644
|
]);
|
|
654
|
-
return
|
|
645
|
+
return this.keyPair;
|
|
655
646
|
}
|
|
656
647
|
throw new Error('The algorithm is not supported for key generation.');
|
|
657
|
-
})();
|
|
648
|
+
}).call(this);
|
|
658
649
|
}
|
|
659
650
|
useKeyPair() {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
return _this.keyPair;
|
|
651
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
652
|
+
if (typeof this.keyPair !== 'undefined') {
|
|
653
|
+
return this.keyPair;
|
|
664
654
|
}
|
|
665
|
-
return
|
|
666
|
-
})();
|
|
655
|
+
return this.generateKeyPair();
|
|
656
|
+
}).call(this);
|
|
667
657
|
}
|
|
668
658
|
exportPublicKey() {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
const keyPair = yield _this.useKeyPair();
|
|
659
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
660
|
+
const keyPair = yield this.useKeyPair();
|
|
672
661
|
return exportAsymmetricPublicKey(keyPair.publicKey);
|
|
673
|
-
})();
|
|
662
|
+
}).call(this);
|
|
674
663
|
}
|
|
675
664
|
exportPrivateKey() {
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
const keyPair = yield _this.useKeyPair();
|
|
665
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
666
|
+
const keyPair = yield this.useKeyPair();
|
|
679
667
|
return exportAsymmetricPrivateKey(keyPair.privateKey);
|
|
680
|
-
})();
|
|
668
|
+
}).call(this);
|
|
681
669
|
}
|
|
682
670
|
encrypt(data, remoteKey) {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
671
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
672
|
+
const keyPair = yield this.useKeyPair();
|
|
673
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
687
674
|
return crypto.subtle.encrypt({
|
|
688
675
|
name: 'RSA-OAEP'
|
|
689
676
|
}, remoteKey || keyPair.publicKey, data);
|
|
690
677
|
}
|
|
691
|
-
if (
|
|
678
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
692
679
|
if (typeof remoteKey === 'undefined') {
|
|
693
680
|
throw new Error('Remote public key is required.');
|
|
694
681
|
}
|
|
@@ -715,18 +702,17 @@ class CryptoAsymmetricAlgorithm {
|
|
|
715
702
|
]);
|
|
716
703
|
}
|
|
717
704
|
throw new Error('Unsupported algorithm for encryption.');
|
|
718
|
-
})();
|
|
705
|
+
}).call(this);
|
|
719
706
|
}
|
|
720
707
|
decrypt(data, remoteKey) {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
if (_this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
708
|
+
return /*#__PURE__*/ _async_to_generator$1$1(function*() {
|
|
709
|
+
const keyPair = yield this.useKeyPair();
|
|
710
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
725
711
|
return crypto.subtle.decrypt({
|
|
726
712
|
name: 'RSA-OAEP'
|
|
727
713
|
}, keyPair.privateKey, data);
|
|
728
714
|
}
|
|
729
|
-
if (
|
|
715
|
+
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
730
716
|
if (typeof remoteKey === 'undefined') {
|
|
731
717
|
throw new Error('Remote public key is required.');
|
|
732
718
|
}
|
|
@@ -747,7 +733,7 @@ class CryptoAsymmetricAlgorithm {
|
|
|
747
733
|
}, key, data.slice(16));
|
|
748
734
|
}
|
|
749
735
|
throw new Error('Unsupported algorithm for decryption.');
|
|
750
|
-
})();
|
|
736
|
+
}).call(this);
|
|
751
737
|
}
|
|
752
738
|
constructor(algorithm){
|
|
753
739
|
_define_property$1$1(this, "algorithm", void 0);
|
|
@@ -789,6 +775,8 @@ class CryptoAsymmetricAlgorithm {
|
|
|
789
775
|
PermissionName["ANALYSIS_EXECUTION_STOP"] = "analysis_execution_stop";
|
|
790
776
|
PermissionName["ANALYSIS_DELETE"] = "analysis_delete";
|
|
791
777
|
PermissionName["ANALYSIS_RESULT_READ"] = "analysis_result_read";
|
|
778
|
+
PermissionName["ANALYSIS_SELF_MESSAGE_BROKER_USE"] = "analysis_self_message_broker_use";
|
|
779
|
+
PermissionName["ANALYSIS_SELF_STORAGE_USE"] = "analysis_self_storage_use";
|
|
792
780
|
PermissionName["MASTER_IMAGE_MANAGE"] = "master_image_manage";
|
|
793
781
|
PermissionName["MASTER_IMAGE_GROUP_MANAGE"] = "master_image_group_manage";
|
|
794
782
|
PermissionName["SERVICE_MANAGE"] = "service_manage";
|
|
@@ -1084,7 +1072,7 @@ function buildListCreatedHandler(items, cb) {
|
|
|
1084
1072
|
}
|
|
1085
1073
|
};
|
|
1086
1074
|
}
|
|
1087
|
-
function buildListUpdatedHandler(items) {
|
|
1075
|
+
function buildListUpdatedHandler(items, cb) {
|
|
1088
1076
|
return (item)=>{
|
|
1089
1077
|
if (!isObject$5(item)) {
|
|
1090
1078
|
return;
|
|
@@ -1095,22 +1083,25 @@ function buildListUpdatedHandler(items) {
|
|
|
1095
1083
|
for(let i = 0; i < keys.length; i++){
|
|
1096
1084
|
items.value[index][keys[i]] = item[keys[i]];
|
|
1097
1085
|
}
|
|
1086
|
+
if (cb) {
|
|
1087
|
+
cb(items.value[index]);
|
|
1088
|
+
}
|
|
1098
1089
|
}
|
|
1099
1090
|
};
|
|
1100
1091
|
}
|
|
1101
1092
|
function buildListDeletedHandler(items, cb) {
|
|
1102
1093
|
return (item)=>{
|
|
1103
1094
|
if (!isObject$5(item)) {
|
|
1104
|
-
return
|
|
1095
|
+
return;
|
|
1105
1096
|
}
|
|
1106
1097
|
const index = items.value.findIndex((el)=>el.id === item.id);
|
|
1107
1098
|
if (index !== -1) {
|
|
1099
|
+
const output = items.value[index];
|
|
1100
|
+
items.value.splice(index, 1);
|
|
1108
1101
|
if (cb) {
|
|
1109
|
-
cb(
|
|
1102
|
+
cb(output);
|
|
1110
1103
|
}
|
|
1111
|
-
return items.value.splice(index, 1).pop();
|
|
1112
1104
|
}
|
|
1113
|
-
return undefined;
|
|
1114
1105
|
};
|
|
1115
1106
|
}
|
|
1116
1107
|
|
|
@@ -2237,25 +2228,22 @@ function _async_to_generator$f(fn) {
|
|
|
2237
2228
|
}
|
|
2238
2229
|
class MasterImageGroupAPI extends BaseAPI {
|
|
2239
2230
|
getMany(data) {
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
const response = yield _this.client.get(`master-image-groups${buildQuery(data)}`);
|
|
2231
|
+
return /*#__PURE__*/ _async_to_generator$f(function*() {
|
|
2232
|
+
const response = yield this.client.get(`master-image-groups${buildQuery(data)}`);
|
|
2243
2233
|
return response.data;
|
|
2244
|
-
})();
|
|
2234
|
+
}).call(this);
|
|
2245
2235
|
}
|
|
2246
2236
|
getOne(id) {
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
const response = yield _this.client.delete(`master-image-groups/${id}`);
|
|
2237
|
+
return /*#__PURE__*/ _async_to_generator$f(function*() {
|
|
2238
|
+
const response = yield this.client.delete(`master-image-groups/${id}`);
|
|
2250
2239
|
return response.data;
|
|
2251
|
-
})();
|
|
2240
|
+
}).call(this);
|
|
2252
2241
|
}
|
|
2253
2242
|
delete(id) {
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
const response = yield _this.client.delete(`master-image-groups/${id}`);
|
|
2243
|
+
return /*#__PURE__*/ _async_to_generator$f(function*() {
|
|
2244
|
+
const response = yield this.client.delete(`master-image-groups/${id}`);
|
|
2257
2245
|
return response.data;
|
|
2258
|
-
})();
|
|
2246
|
+
}).call(this);
|
|
2259
2247
|
}
|
|
2260
2248
|
}
|
|
2261
2249
|
/*
|
|
@@ -2322,35 +2310,31 @@ function _object_spread$3(target) {
|
|
|
2322
2310
|
}
|
|
2323
2311
|
class MasterImageAPI extends BaseAPI {
|
|
2324
2312
|
getMany(data) {
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
const response = yield _this.client.get(`master-images${buildQuery(data)}`);
|
|
2313
|
+
return /*#__PURE__*/ _async_to_generator$e(function*() {
|
|
2314
|
+
const response = yield this.client.get(`master-images${buildQuery(data)}`);
|
|
2328
2315
|
return response.data;
|
|
2329
|
-
})();
|
|
2316
|
+
}).call(this);
|
|
2330
2317
|
}
|
|
2331
2318
|
getOne(id, data) {
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
const response = yield _this.client.get(`master-images/${id}${buildQuery(data)}`);
|
|
2319
|
+
return /*#__PURE__*/ _async_to_generator$e(function*() {
|
|
2320
|
+
const response = yield this.client.get(`master-images/${id}${buildQuery(data)}`);
|
|
2335
2321
|
return response.data;
|
|
2336
|
-
})();
|
|
2322
|
+
}).call(this);
|
|
2337
2323
|
}
|
|
2338
2324
|
delete(id) {
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
const response = yield _this.client.delete(`master-images/${id}`);
|
|
2325
|
+
return /*#__PURE__*/ _async_to_generator$e(function*() {
|
|
2326
|
+
const response = yield this.client.delete(`master-images/${id}`);
|
|
2342
2327
|
return response.data;
|
|
2343
|
-
})();
|
|
2328
|
+
}).call(this);
|
|
2344
2329
|
}
|
|
2345
|
-
runCommand(
|
|
2346
|
-
|
|
2347
|
-
return _async_to_generator$e(function*() {
|
|
2330
|
+
runCommand(_0) {
|
|
2331
|
+
return /*#__PURE__*/ _async_to_generator$e(function*(command, data = {}) {
|
|
2348
2332
|
const actionData = _object_spread$3({
|
|
2349
2333
|
command
|
|
2350
2334
|
}, data);
|
|
2351
|
-
const { data: response } = yield
|
|
2335
|
+
const { data: response } = yield this.client.post('master-images/command', actionData);
|
|
2352
2336
|
return response;
|
|
2353
|
-
})();
|
|
2337
|
+
}).apply(this, arguments);
|
|
2354
2338
|
}
|
|
2355
2339
|
}
|
|
2356
2340
|
/*
|
|
@@ -2389,39 +2373,34 @@ function _async_to_generator$d(fn) {
|
|
|
2389
2373
|
}
|
|
2390
2374
|
class MasterImageEventLogAPI extends BaseAPI {
|
|
2391
2375
|
getMany(options) {
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
const { data: response } = yield _this.client.get(`master-image-event-logs${buildQuery(options)}`);
|
|
2376
|
+
return /*#__PURE__*/ _async_to_generator$d(function*() {
|
|
2377
|
+
const { data: response } = yield this.client.get(`master-image-event-logs${buildQuery(options)}`);
|
|
2395
2378
|
return response;
|
|
2396
|
-
})();
|
|
2379
|
+
}).call(this);
|
|
2397
2380
|
}
|
|
2398
2381
|
getOne(id) {
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
const { data: response } = yield _this.client.get(`master-image-event-logs/${id}`);
|
|
2382
|
+
return /*#__PURE__*/ _async_to_generator$d(function*() {
|
|
2383
|
+
const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
|
|
2402
2384
|
return response;
|
|
2403
|
-
})();
|
|
2385
|
+
}).call(this);
|
|
2404
2386
|
}
|
|
2405
2387
|
delete(id) {
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
const { data: response } = yield _this.client.delete(`master-image-event-logs/${id}`);
|
|
2388
|
+
return /*#__PURE__*/ _async_to_generator$d(function*() {
|
|
2389
|
+
const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
|
|
2409
2390
|
return response;
|
|
2410
|
-
})();
|
|
2391
|
+
}).call(this);
|
|
2411
2392
|
}
|
|
2412
2393
|
update(id, data) {
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
const { data: response } = yield _this.client.post(`master-image-event-logs/${id}`, data);
|
|
2394
|
+
return /*#__PURE__*/ _async_to_generator$d(function*() {
|
|
2395
|
+
const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
|
|
2416
2396
|
return response;
|
|
2417
|
-
})();
|
|
2397
|
+
}).call(this);
|
|
2418
2398
|
}
|
|
2419
2399
|
create(data) {
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
const { data: response } = yield _this.client.post('master-image-event-logs', data);
|
|
2400
|
+
return /*#__PURE__*/ _async_to_generator$d(function*() {
|
|
2401
|
+
const { data: response } = yield this.client.post('master-image-event-logs', data);
|
|
2423
2402
|
return response;
|
|
2424
|
-
})();
|
|
2403
|
+
}).call(this);
|
|
2425
2404
|
}
|
|
2426
2405
|
}
|
|
2427
2406
|
function nullifyEmptyObjectProperties(data) {
|
|
@@ -2469,39 +2448,34 @@ function _async_to_generator$c(fn) {
|
|
|
2469
2448
|
}
|
|
2470
2449
|
class ProjectAPI extends BaseAPI {
|
|
2471
2450
|
getMany(record) {
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
const response = yield _this.client.get(`projects${buildQuery(record)}`);
|
|
2451
|
+
return /*#__PURE__*/ _async_to_generator$c(function*() {
|
|
2452
|
+
const response = yield this.client.get(`projects${buildQuery(record)}`);
|
|
2475
2453
|
return response.data;
|
|
2476
|
-
})();
|
|
2454
|
+
}).call(this);
|
|
2477
2455
|
}
|
|
2478
2456
|
getOne(id, requestRecord) {
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
const response = yield _this.client.get(`projects/${id}${buildQuery(requestRecord)}`);
|
|
2457
|
+
return /*#__PURE__*/ _async_to_generator$c(function*() {
|
|
2458
|
+
const response = yield this.client.get(`projects/${id}${buildQuery(requestRecord)}`);
|
|
2482
2459
|
return response.data;
|
|
2483
|
-
})();
|
|
2460
|
+
}).call(this);
|
|
2484
2461
|
}
|
|
2485
2462
|
create(data) {
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
const response = yield _this.client.post('projects', nullifyEmptyObjectProperties(data));
|
|
2463
|
+
return /*#__PURE__*/ _async_to_generator$c(function*() {
|
|
2464
|
+
const response = yield this.client.post('projects', nullifyEmptyObjectProperties(data));
|
|
2489
2465
|
return response.data;
|
|
2490
|
-
})();
|
|
2466
|
+
}).call(this);
|
|
2491
2467
|
}
|
|
2492
2468
|
delete(id) {
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
const response = yield _this.client.delete(`projects/${id}`);
|
|
2469
|
+
return /*#__PURE__*/ _async_to_generator$c(function*() {
|
|
2470
|
+
const response = yield this.client.delete(`projects/${id}`);
|
|
2496
2471
|
return response.data;
|
|
2497
|
-
})();
|
|
2472
|
+
}).call(this);
|
|
2498
2473
|
}
|
|
2499
2474
|
update(id, data) {
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
const response = yield _this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
|
|
2475
|
+
return /*#__PURE__*/ _async_to_generator$c(function*() {
|
|
2476
|
+
const response = yield this.client.post(`projects/${id}`, nullifyEmptyObjectProperties(data));
|
|
2503
2477
|
return response.data;
|
|
2504
|
-
})();
|
|
2478
|
+
}).call(this);
|
|
2505
2479
|
}
|
|
2506
2480
|
}
|
|
2507
2481
|
/*
|
|
@@ -2540,39 +2514,34 @@ function _async_to_generator$b(fn) {
|
|
|
2540
2514
|
}
|
|
2541
2515
|
class ProjectNodeAPI extends BaseAPI {
|
|
2542
2516
|
getMany(data) {
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
const response = yield _this.client.get(`project-nodes${buildQuery(data)}`);
|
|
2517
|
+
return /*#__PURE__*/ _async_to_generator$b(function*() {
|
|
2518
|
+
const response = yield this.client.get(`project-nodes${buildQuery(data)}`);
|
|
2546
2519
|
return response.data;
|
|
2547
|
-
})();
|
|
2520
|
+
}).call(this);
|
|
2548
2521
|
}
|
|
2549
2522
|
getOne(id, data) {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
const response = yield _this.client.get(`project-nodes/${id}${buildQuery(data)}`);
|
|
2523
|
+
return /*#__PURE__*/ _async_to_generator$b(function*() {
|
|
2524
|
+
const response = yield this.client.get(`project-nodes/${id}${buildQuery(data)}`);
|
|
2553
2525
|
return response.data;
|
|
2554
|
-
})();
|
|
2526
|
+
}).call(this);
|
|
2555
2527
|
}
|
|
2556
2528
|
create(data) {
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
const response = yield _this.client.post('project-nodes', data);
|
|
2529
|
+
return /*#__PURE__*/ _async_to_generator$b(function*() {
|
|
2530
|
+
const response = yield this.client.post('project-nodes', data);
|
|
2560
2531
|
return response.data;
|
|
2561
|
-
})();
|
|
2532
|
+
}).call(this);
|
|
2562
2533
|
}
|
|
2563
2534
|
update(id, data) {
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
const response = yield _this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
|
|
2535
|
+
return /*#__PURE__*/ _async_to_generator$b(function*() {
|
|
2536
|
+
const response = yield this.client.post(`project-nodes/${id}`, nullifyEmptyObjectProperties(data));
|
|
2567
2537
|
return response.data;
|
|
2568
|
-
})();
|
|
2538
|
+
}).call(this);
|
|
2569
2539
|
}
|
|
2570
2540
|
delete(id) {
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
const response = yield _this.client.delete(`project-nodes/${id}`);
|
|
2541
|
+
return /*#__PURE__*/ _async_to_generator$b(function*() {
|
|
2542
|
+
const response = yield this.client.delete(`project-nodes/${id}`);
|
|
2574
2543
|
return response.data;
|
|
2575
|
-
})();
|
|
2544
|
+
}).call(this);
|
|
2576
2545
|
}
|
|
2577
2546
|
}
|
|
2578
2547
|
/*
|
|
@@ -2611,39 +2580,34 @@ function _async_to_generator$a(fn) {
|
|
|
2611
2580
|
}
|
|
2612
2581
|
class RegistryAPI extends BaseAPI {
|
|
2613
2582
|
getMany(options) {
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
const response = yield _this.client.get(`registries${buildQuery(options)}`);
|
|
2583
|
+
return /*#__PURE__*/ _async_to_generator$a(function*() {
|
|
2584
|
+
const response = yield this.client.get(`registries${buildQuery(options)}`);
|
|
2617
2585
|
return response.data;
|
|
2618
|
-
})();
|
|
2586
|
+
}).call(this);
|
|
2619
2587
|
}
|
|
2620
2588
|
getOne(id, options) {
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
const response = yield _this.client.get(`registries/${id}${buildQuery(options)}`);
|
|
2589
|
+
return /*#__PURE__*/ _async_to_generator$a(function*() {
|
|
2590
|
+
const response = yield this.client.get(`registries/${id}${buildQuery(options)}`);
|
|
2624
2591
|
return response.data;
|
|
2625
|
-
})();
|
|
2592
|
+
}).call(this);
|
|
2626
2593
|
}
|
|
2627
2594
|
create(data) {
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
const response = yield _this.client.post('registries', nullifyEmptyObjectProperties(data));
|
|
2595
|
+
return /*#__PURE__*/ _async_to_generator$a(function*() {
|
|
2596
|
+
const response = yield this.client.post('registries', nullifyEmptyObjectProperties(data));
|
|
2631
2597
|
return response.data;
|
|
2632
|
-
})();
|
|
2598
|
+
}).call(this);
|
|
2633
2599
|
}
|
|
2634
2600
|
update(id, data) {
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
const response = yield _this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
|
|
2601
|
+
return /*#__PURE__*/ _async_to_generator$a(function*() {
|
|
2602
|
+
const response = yield this.client.post(`registries/${id}`, nullifyEmptyObjectProperties(data));
|
|
2638
2603
|
return response.data;
|
|
2639
|
-
})();
|
|
2604
|
+
}).call(this);
|
|
2640
2605
|
}
|
|
2641
2606
|
delete(id) {
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
const response = yield _this.client.delete(`registries/${id}`);
|
|
2607
|
+
return /*#__PURE__*/ _async_to_generator$a(function*() {
|
|
2608
|
+
const response = yield this.client.delete(`registries/${id}`);
|
|
2645
2609
|
return response.data;
|
|
2646
|
-
})();
|
|
2610
|
+
}).call(this);
|
|
2647
2611
|
}
|
|
2648
2612
|
}
|
|
2649
2613
|
/*
|
|
@@ -2682,39 +2646,34 @@ function _async_to_generator$9(fn) {
|
|
|
2682
2646
|
}
|
|
2683
2647
|
class RegistryProjectAPI extends BaseAPI {
|
|
2684
2648
|
getMany(options) {
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
const response = yield _this.client.get(`registry-projects${buildQuery(options)}`);
|
|
2649
|
+
return /*#__PURE__*/ _async_to_generator$9(function*() {
|
|
2650
|
+
const response = yield this.client.get(`registry-projects${buildQuery(options)}`);
|
|
2688
2651
|
return response.data;
|
|
2689
|
-
})();
|
|
2652
|
+
}).call(this);
|
|
2690
2653
|
}
|
|
2691
2654
|
getOne(id, options) {
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
const response = yield _this.client.get(`registry-projects/${id}${buildQuery(options)}`);
|
|
2655
|
+
return /*#__PURE__*/ _async_to_generator$9(function*() {
|
|
2656
|
+
const response = yield this.client.get(`registry-projects/${id}${buildQuery(options)}`);
|
|
2695
2657
|
return response.data;
|
|
2696
|
-
})();
|
|
2658
|
+
}).call(this);
|
|
2697
2659
|
}
|
|
2698
2660
|
create(data) {
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
const response = yield _this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
|
|
2661
|
+
return /*#__PURE__*/ _async_to_generator$9(function*() {
|
|
2662
|
+
const response = yield this.client.post('registry-projects', nullifyEmptyObjectProperties(data));
|
|
2702
2663
|
return response.data;
|
|
2703
|
-
})();
|
|
2664
|
+
}).call(this);
|
|
2704
2665
|
}
|
|
2705
2666
|
update(id, data) {
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
const response = yield _this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
|
|
2667
|
+
return /*#__PURE__*/ _async_to_generator$9(function*() {
|
|
2668
|
+
const response = yield this.client.post(`registry-projects/${id}`, nullifyEmptyObjectProperties(data));
|
|
2709
2669
|
return response.data;
|
|
2710
|
-
})();
|
|
2670
|
+
}).call(this);
|
|
2711
2671
|
}
|
|
2712
2672
|
delete(id) {
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
const response = yield _this.client.delete(`registry-projects/${id}`);
|
|
2673
|
+
return /*#__PURE__*/ _async_to_generator$9(function*() {
|
|
2674
|
+
const response = yield this.client.delete(`registry-projects/${id}`);
|
|
2716
2675
|
return response.data;
|
|
2717
|
-
})();
|
|
2676
|
+
}).call(this);
|
|
2718
2677
|
}
|
|
2719
2678
|
}
|
|
2720
2679
|
/*
|
|
@@ -2781,48 +2740,42 @@ function _object_spread$2(target) {
|
|
|
2781
2740
|
}
|
|
2782
2741
|
class NodeAPI extends BaseAPI {
|
|
2783
2742
|
getMany(options) {
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
const response = yield _this.client.get(`nodes${buildQuery(options)}`);
|
|
2743
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2744
|
+
const response = yield this.client.get(`nodes${buildQuery(options)}`);
|
|
2787
2745
|
return response.data;
|
|
2788
|
-
})();
|
|
2746
|
+
}).call(this);
|
|
2789
2747
|
}
|
|
2790
2748
|
getOne(id, options) {
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
const response = yield _this.client.get(`nodes/${id}${buildQuery(options)}`);
|
|
2749
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2750
|
+
const response = yield this.client.get(`nodes/${id}${buildQuery(options)}`);
|
|
2794
2751
|
return response.data;
|
|
2795
|
-
})();
|
|
2752
|
+
}).call(this);
|
|
2796
2753
|
}
|
|
2797
2754
|
create(data) {
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
const response = yield _this.client.post('nodes', nullifyEmptyObjectProperties(data));
|
|
2755
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2756
|
+
const response = yield this.client.post('nodes', nullifyEmptyObjectProperties(data));
|
|
2801
2757
|
return response.data;
|
|
2802
|
-
})();
|
|
2758
|
+
}).call(this);
|
|
2803
2759
|
}
|
|
2804
2760
|
update(id, data) {
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
const response = yield _this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
|
|
2761
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2762
|
+
const response = yield this.client.post(`nodes/${id}`, nullifyEmptyObjectProperties(data));
|
|
2808
2763
|
return response.data;
|
|
2809
|
-
})();
|
|
2764
|
+
}).call(this);
|
|
2810
2765
|
}
|
|
2811
2766
|
delete(id) {
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
const response = yield _this.client.delete(`nodes/${id}`);
|
|
2767
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2768
|
+
const response = yield this.client.delete(`nodes/${id}`);
|
|
2815
2769
|
return response.data;
|
|
2816
|
-
})();
|
|
2770
|
+
}).call(this);
|
|
2817
2771
|
}
|
|
2818
2772
|
runCommand(id, task, data) {
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
const response = yield _this.client.post(`nodes/${id}/task`, _object_spread$2({
|
|
2773
|
+
return /*#__PURE__*/ _async_to_generator$8(function*() {
|
|
2774
|
+
const response = yield this.client.post(`nodes/${id}/task`, _object_spread$2({
|
|
2822
2775
|
task
|
|
2823
2776
|
}, data));
|
|
2824
2777
|
return response.data;
|
|
2825
|
-
})();
|
|
2778
|
+
}).call(this);
|
|
2826
2779
|
}
|
|
2827
2780
|
}
|
|
2828
2781
|
/*
|
|
@@ -2902,67 +2855,59 @@ class AnalysisAPI extends BaseAPI {
|
|
|
2902
2855
|
return new URL(this.getFilesDownloadPath(id), this.client.getBaseURL()).href;
|
|
2903
2856
|
}
|
|
2904
2857
|
getMany(options) {
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
const { data: response } = yield _this.client.get(`analyses${buildQuery(options)}`);
|
|
2858
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2859
|
+
const { data: response } = yield this.client.get(`analyses${buildQuery(options)}`);
|
|
2908
2860
|
return response;
|
|
2909
|
-
})();
|
|
2861
|
+
}).call(this);
|
|
2910
2862
|
}
|
|
2911
2863
|
getOne(id, options, requestConfig) {
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
const { data: response } = yield _this.client.get(`analyses/${id}${buildQuery(options)}`, requestConfig);
|
|
2864
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2865
|
+
const { data: response } = yield this.client.get(`analyses/${id}${buildQuery(options)}`, requestConfig);
|
|
2915
2866
|
return response;
|
|
2916
|
-
})();
|
|
2867
|
+
}).call(this);
|
|
2917
2868
|
}
|
|
2918
2869
|
delete(id) {
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
const { data: response } = yield _this.client.delete(`analyses/${id}`);
|
|
2870
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2871
|
+
const { data: response } = yield this.client.delete(`analyses/${id}`);
|
|
2922
2872
|
return response;
|
|
2923
|
-
})();
|
|
2873
|
+
}).call(this);
|
|
2924
2874
|
}
|
|
2925
2875
|
update(id, data) {
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
const { data: response } = yield _this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
|
|
2876
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2877
|
+
const { data: response } = yield this.client.post(`analyses/${id}`, nullifyEmptyObjectProperties(data));
|
|
2929
2878
|
return response;
|
|
2930
|
-
})();
|
|
2879
|
+
}).call(this);
|
|
2931
2880
|
}
|
|
2932
2881
|
create(data) {
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
const { data: response } = yield _this.client.post('analyses', nullifyEmptyObjectProperties(data));
|
|
2882
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2883
|
+
const { data: response } = yield this.client.post('analyses', nullifyEmptyObjectProperties(data));
|
|
2936
2884
|
return response;
|
|
2937
|
-
})();
|
|
2885
|
+
}).call(this);
|
|
2938
2886
|
}
|
|
2939
|
-
runCommand(
|
|
2940
|
-
|
|
2941
|
-
return _async_to_generator$7(function*() {
|
|
2887
|
+
runCommand(_0, _1) {
|
|
2888
|
+
return /*#__PURE__*/ _async_to_generator$7(function*(id, command, data = {}) {
|
|
2942
2889
|
const actionData = _object_spread$1({
|
|
2943
2890
|
command
|
|
2944
2891
|
}, data);
|
|
2945
|
-
const { data: response } = yield
|
|
2892
|
+
const { data: response } = yield this.client.post(`analyses/${id}/command`, actionData);
|
|
2946
2893
|
return response;
|
|
2947
|
-
})();
|
|
2894
|
+
}).apply(this, arguments);
|
|
2948
2895
|
}
|
|
2949
2896
|
streamFiles(id) {
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
const response = yield _this.client.get(_this.getFilesDownloadPath(id), {
|
|
2897
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2898
|
+
const response = yield this.client.get(this.getFilesDownloadPath(id), {
|
|
2953
2899
|
responseType: 'stream'
|
|
2954
2900
|
});
|
|
2955
2901
|
return response.data;
|
|
2956
|
-
})();
|
|
2902
|
+
}).call(this);
|
|
2957
2903
|
}
|
|
2958
2904
|
downloadResult(id) {
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
const response = yield _this.client.get(_this.getResultDownloadPath(id), {
|
|
2905
|
+
return /*#__PURE__*/ _async_to_generator$7(function*() {
|
|
2906
|
+
const response = yield this.client.get(this.getResultDownloadPath(id), {
|
|
2962
2907
|
responseType: 'stream'
|
|
2963
2908
|
});
|
|
2964
2909
|
return response.data;
|
|
2965
|
-
})();
|
|
2910
|
+
}).call(this);
|
|
2966
2911
|
}
|
|
2967
2912
|
}
|
|
2968
2913
|
/*
|
|
@@ -3001,39 +2946,34 @@ function _async_to_generator$6(fn) {
|
|
|
3001
2946
|
}
|
|
3002
2947
|
class AnalysisBucketFileAPI extends BaseAPI {
|
|
3003
2948
|
getMany(options) {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
const response = yield _this.client.get(`analysis-bucket-files${buildQuery(options)}`);
|
|
2949
|
+
return /*#__PURE__*/ _async_to_generator$6(function*() {
|
|
2950
|
+
const response = yield this.client.get(`analysis-bucket-files${buildQuery(options)}`);
|
|
3007
2951
|
return response.data;
|
|
3008
|
-
})();
|
|
2952
|
+
}).call(this);
|
|
3009
2953
|
}
|
|
3010
2954
|
getOne(id) {
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
const response = yield _this.client.get(`analysis-bucket-files/${id}`);
|
|
2955
|
+
return /*#__PURE__*/ _async_to_generator$6(function*() {
|
|
2956
|
+
const response = yield this.client.get(`analysis-bucket-files/${id}`);
|
|
3014
2957
|
return response.data;
|
|
3015
|
-
})();
|
|
2958
|
+
}).call(this);
|
|
3016
2959
|
}
|
|
3017
2960
|
delete(id) {
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
const response = yield _this.client.delete(`analysis-bucket-files/${id}`);
|
|
2961
|
+
return /*#__PURE__*/ _async_to_generator$6(function*() {
|
|
2962
|
+
const response = yield this.client.delete(`analysis-bucket-files/${id}`);
|
|
3021
2963
|
return response.data;
|
|
3022
|
-
})();
|
|
2964
|
+
}).call(this);
|
|
3023
2965
|
}
|
|
3024
2966
|
update(id, data) {
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
const { data: response } = yield _this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
|
|
2967
|
+
return /*#__PURE__*/ _async_to_generator$6(function*() {
|
|
2968
|
+
const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
|
|
3028
2969
|
return response;
|
|
3029
|
-
})();
|
|
2970
|
+
}).call(this);
|
|
3030
2971
|
}
|
|
3031
2972
|
create(data) {
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
const { data: response } = yield _this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
|
|
2973
|
+
return /*#__PURE__*/ _async_to_generator$6(function*() {
|
|
2974
|
+
const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
|
|
3035
2975
|
return response;
|
|
3036
|
-
})();
|
|
2976
|
+
}).call(this);
|
|
3037
2977
|
}
|
|
3038
2978
|
}
|
|
3039
2979
|
/*
|
|
@@ -3072,39 +3012,34 @@ function _async_to_generator$5(fn) {
|
|
|
3072
3012
|
}
|
|
3073
3013
|
class AnalysisLogAPI extends BaseAPI {
|
|
3074
3014
|
getMany(options) {
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
const { data: response } = yield _this.client.get(`analysis-logs${buildQuery(options)}`);
|
|
3015
|
+
return /*#__PURE__*/ _async_to_generator$5(function*() {
|
|
3016
|
+
const { data: response } = yield this.client.get(`analysis-logs${buildQuery(options)}`);
|
|
3078
3017
|
return response;
|
|
3079
|
-
})();
|
|
3018
|
+
}).call(this);
|
|
3080
3019
|
}
|
|
3081
3020
|
getOne(id) {
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
const { data: response } = yield _this.client.get(`analysis-logs/${id}`);
|
|
3021
|
+
return /*#__PURE__*/ _async_to_generator$5(function*() {
|
|
3022
|
+
const { data: response } = yield this.client.get(`analysis-logs/${id}`);
|
|
3085
3023
|
return response;
|
|
3086
|
-
})();
|
|
3024
|
+
}).call(this);
|
|
3087
3025
|
}
|
|
3088
3026
|
delete(id) {
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
const { data: response } = yield _this.client.delete(`analysis-logs/${id}`);
|
|
3027
|
+
return /*#__PURE__*/ _async_to_generator$5(function*() {
|
|
3028
|
+
const { data: response } = yield this.client.delete(`analysis-logs/${id}`);
|
|
3092
3029
|
return response;
|
|
3093
|
-
})();
|
|
3030
|
+
}).call(this);
|
|
3094
3031
|
}
|
|
3095
3032
|
update(id, data) {
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
const { data: response } = yield _this.client.post(`analysis-logs/${id}`, data);
|
|
3033
|
+
return /*#__PURE__*/ _async_to_generator$5(function*() {
|
|
3034
|
+
const { data: response } = yield this.client.post(`analysis-logs/${id}`, data);
|
|
3099
3035
|
return response;
|
|
3100
|
-
})();
|
|
3036
|
+
}).call(this);
|
|
3101
3037
|
}
|
|
3102
3038
|
create(data) {
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
const { data: response } = yield _this.client.post('analysis-logs', data);
|
|
3039
|
+
return /*#__PURE__*/ _async_to_generator$5(function*() {
|
|
3040
|
+
const { data: response } = yield this.client.post('analysis-logs', data);
|
|
3106
3041
|
return response;
|
|
3107
|
-
})();
|
|
3042
|
+
}).call(this);
|
|
3108
3043
|
}
|
|
3109
3044
|
}
|
|
3110
3045
|
/*
|
|
@@ -3143,39 +3078,34 @@ function _async_to_generator$4(fn) {
|
|
|
3143
3078
|
}
|
|
3144
3079
|
class TrainStationAPI extends BaseAPI {
|
|
3145
3080
|
getMany(options) {
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
const { data: response } = yield _this.client.get(`analysis-nodes${buildQuery(options)}`);
|
|
3081
|
+
return /*#__PURE__*/ _async_to_generator$4(function*() {
|
|
3082
|
+
const { data: response } = yield this.client.get(`analysis-nodes${buildQuery(options)}`);
|
|
3149
3083
|
return response;
|
|
3150
|
-
})();
|
|
3084
|
+
}).call(this);
|
|
3151
3085
|
}
|
|
3152
3086
|
getOne(id) {
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
const { data: response } = yield _this.client.get(`analysis-nodes/${id}`);
|
|
3087
|
+
return /*#__PURE__*/ _async_to_generator$4(function*() {
|
|
3088
|
+
const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
|
|
3156
3089
|
return response;
|
|
3157
|
-
})();
|
|
3090
|
+
}).call(this);
|
|
3158
3091
|
}
|
|
3159
3092
|
delete(id) {
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
const { data: response } = yield _this.client.delete(`analysis-nodes/${id}`);
|
|
3093
|
+
return /*#__PURE__*/ _async_to_generator$4(function*() {
|
|
3094
|
+
const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
|
|
3163
3095
|
return response;
|
|
3164
|
-
})();
|
|
3096
|
+
}).call(this);
|
|
3165
3097
|
}
|
|
3166
3098
|
update(id, data) {
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
const { data: response } = yield _this.client.post(`analysis-nodes/${id}`, data);
|
|
3099
|
+
return /*#__PURE__*/ _async_to_generator$4(function*() {
|
|
3100
|
+
const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
|
|
3170
3101
|
return response;
|
|
3171
|
-
})();
|
|
3102
|
+
}).call(this);
|
|
3172
3103
|
}
|
|
3173
3104
|
create(data) {
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
const { data: response } = yield _this.client.post('analysis-nodes', data);
|
|
3105
|
+
return /*#__PURE__*/ _async_to_generator$4(function*() {
|
|
3106
|
+
const { data: response } = yield this.client.post('analysis-nodes', data);
|
|
3177
3107
|
return response;
|
|
3178
|
-
})();
|
|
3108
|
+
}).call(this);
|
|
3179
3109
|
}
|
|
3180
3110
|
}
|
|
3181
3111
|
/*
|
|
@@ -3214,39 +3144,34 @@ function _async_to_generator$3(fn) {
|
|
|
3214
3144
|
}
|
|
3215
3145
|
class AnalysisNodeLogAPI extends BaseAPI {
|
|
3216
3146
|
getMany(options) {
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
const { data: response } = yield _this.client.get(`analysis-node-logs${buildQuery(options)}`);
|
|
3147
|
+
return /*#__PURE__*/ _async_to_generator$3(function*() {
|
|
3148
|
+
const { data: response } = yield this.client.get(`analysis-node-logs${buildQuery(options)}`);
|
|
3220
3149
|
return response;
|
|
3221
|
-
})();
|
|
3150
|
+
}).call(this);
|
|
3222
3151
|
}
|
|
3223
3152
|
getOne(id) {
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
const { data: response } = yield _this.client.get(`analysis-node-logs/${id}`);
|
|
3153
|
+
return /*#__PURE__*/ _async_to_generator$3(function*() {
|
|
3154
|
+
const { data: response } = yield this.client.get(`analysis-node-logs/${id}`);
|
|
3227
3155
|
return response;
|
|
3228
|
-
})();
|
|
3156
|
+
}).call(this);
|
|
3229
3157
|
}
|
|
3230
3158
|
delete(id) {
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
const { data: response } = yield _this.client.delete(`analysis-node-logs/${id}`);
|
|
3159
|
+
return /*#__PURE__*/ _async_to_generator$3(function*() {
|
|
3160
|
+
const { data: response } = yield this.client.delete(`analysis-node-logs/${id}`);
|
|
3234
3161
|
return response;
|
|
3235
|
-
})();
|
|
3162
|
+
}).call(this);
|
|
3236
3163
|
}
|
|
3237
3164
|
update(id, data) {
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
const { data: response } = yield _this.client.post(`analysis-node-logs/${id}`, data);
|
|
3165
|
+
return /*#__PURE__*/ _async_to_generator$3(function*() {
|
|
3166
|
+
const { data: response } = yield this.client.post(`analysis-node-logs/${id}`, data);
|
|
3241
3167
|
return response;
|
|
3242
|
-
})();
|
|
3168
|
+
}).call(this);
|
|
3243
3169
|
}
|
|
3244
3170
|
create(data) {
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
const { data: response } = yield _this.client.post('analysis-node-logs', data);
|
|
3171
|
+
return /*#__PURE__*/ _async_to_generator$3(function*() {
|
|
3172
|
+
const { data: response } = yield this.client.post('analysis-node-logs', data);
|
|
3248
3173
|
return response;
|
|
3249
|
-
})();
|
|
3174
|
+
}).call(this);
|
|
3250
3175
|
}
|
|
3251
3176
|
}
|
|
3252
3177
|
/*
|
|
@@ -3285,39 +3210,34 @@ function _async_to_generator$2(fn) {
|
|
|
3285
3210
|
}
|
|
3286
3211
|
class AnalysisPermissionAPI extends BaseAPI {
|
|
3287
3212
|
getMany(options) {
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
const { data: response } = yield _this.client.get(`analysis-permissions${buildQuery(options)}`);
|
|
3213
|
+
return /*#__PURE__*/ _async_to_generator$2(function*() {
|
|
3214
|
+
const { data: response } = yield this.client.get(`analysis-permissions${buildQuery(options)}`);
|
|
3291
3215
|
return response;
|
|
3292
|
-
})();
|
|
3216
|
+
}).call(this);
|
|
3293
3217
|
}
|
|
3294
3218
|
getOne(id) {
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
const { data: response } = yield _this.client.get(`analysis-permissions/${id}`);
|
|
3219
|
+
return /*#__PURE__*/ _async_to_generator$2(function*() {
|
|
3220
|
+
const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
|
|
3298
3221
|
return response;
|
|
3299
|
-
})();
|
|
3222
|
+
}).call(this);
|
|
3300
3223
|
}
|
|
3301
3224
|
delete(id) {
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
const { data: response } = yield _this.client.delete(`analysis-permissions/${id}`);
|
|
3225
|
+
return /*#__PURE__*/ _async_to_generator$2(function*() {
|
|
3226
|
+
const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
|
|
3305
3227
|
return response;
|
|
3306
|
-
})();
|
|
3228
|
+
}).call(this);
|
|
3307
3229
|
}
|
|
3308
3230
|
update(id, data) {
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
const { data: response } = yield _this.client.post(`analysis-permissions/${id}`, data);
|
|
3231
|
+
return /*#__PURE__*/ _async_to_generator$2(function*() {
|
|
3232
|
+
const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
|
|
3312
3233
|
return response;
|
|
3313
|
-
})();
|
|
3234
|
+
}).call(this);
|
|
3314
3235
|
}
|
|
3315
3236
|
create(data) {
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
const { data: response } = yield _this.client.post('analysis-permissions', data);
|
|
3237
|
+
return /*#__PURE__*/ _async_to_generator$2(function*() {
|
|
3238
|
+
const { data: response } = yield this.client.post('analysis-permissions', data);
|
|
3319
3239
|
return response;
|
|
3320
|
-
})();
|
|
3240
|
+
}).call(this);
|
|
3321
3241
|
}
|
|
3322
3242
|
}
|
|
3323
3243
|
/*
|
|
@@ -3384,20 +3304,18 @@ function _object_spread(target) {
|
|
|
3384
3304
|
}
|
|
3385
3305
|
class ServiceAPI extends BaseAPI {
|
|
3386
3306
|
runCommand(id, command, data) {
|
|
3387
|
-
|
|
3388
|
-
return _async_to_generator$1(function*() {
|
|
3307
|
+
return /*#__PURE__*/ _async_to_generator$1(function*() {
|
|
3389
3308
|
data = data || {};
|
|
3390
|
-
const { data: resultData } = yield
|
|
3309
|
+
const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
|
|
3391
3310
|
command
|
|
3392
3311
|
}, data)));
|
|
3393
3312
|
return resultData;
|
|
3394
|
-
})();
|
|
3313
|
+
}).call(this);
|
|
3395
3314
|
}
|
|
3396
3315
|
runRegistryCommand(command, data) {
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
})();
|
|
3316
|
+
return /*#__PURE__*/ _async_to_generator$1(function*() {
|
|
3317
|
+
return this.runCommand(ServiceID.REGISTRY, command, data);
|
|
3318
|
+
}).call(this);
|
|
3401
3319
|
}
|
|
3402
3320
|
}
|
|
3403
3321
|
/*
|
|
@@ -3436,32 +3354,28 @@ function _async_to_generator(fn) {
|
|
|
3436
3354
|
}
|
|
3437
3355
|
class AnalysisBucketAPI extends BaseAPI {
|
|
3438
3356
|
getMany(options) {
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
const response = yield _this.client.get(`analysis-buckets${buildQuery(options)}`);
|
|
3357
|
+
return /*#__PURE__*/ _async_to_generator(function*() {
|
|
3358
|
+
const response = yield this.client.get(`analysis-buckets${buildQuery(options)}`);
|
|
3442
3359
|
return response.data;
|
|
3443
|
-
})();
|
|
3360
|
+
}).call(this);
|
|
3444
3361
|
}
|
|
3445
3362
|
getOne(id) {
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
const response = yield _this.client.get(`analysis-buckets/${id}`);
|
|
3363
|
+
return /*#__PURE__*/ _async_to_generator(function*() {
|
|
3364
|
+
const response = yield this.client.get(`analysis-buckets/${id}`);
|
|
3449
3365
|
return response.data;
|
|
3450
|
-
})();
|
|
3366
|
+
}).call(this);
|
|
3451
3367
|
}
|
|
3452
3368
|
create(data) {
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
const { data: response } = yield _this.client.post('analysis-buckets', data);
|
|
3369
|
+
return /*#__PURE__*/ _async_to_generator(function*() {
|
|
3370
|
+
const { data: response } = yield this.client.post('analysis-buckets', data);
|
|
3456
3371
|
return response;
|
|
3457
|
-
})();
|
|
3372
|
+
}).call(this);
|
|
3458
3373
|
}
|
|
3459
3374
|
delete(id) {
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
const response = yield _this.client.delete(`analysis-buckets/${id}`);
|
|
3375
|
+
return /*#__PURE__*/ _async_to_generator(function*() {
|
|
3376
|
+
const response = yield this.client.delete(`analysis-buckets/${id}`);
|
|
3463
3377
|
return response.data;
|
|
3464
|
-
})();
|
|
3378
|
+
}).call(this);
|
|
3465
3379
|
}
|
|
3466
3380
|
}
|
|
3467
3381
|
/*
|
|
@@ -3890,11 +3804,21 @@ function createListRaw(context) {
|
|
|
3890
3804
|
if (context.onCreated) {
|
|
3891
3805
|
context.onCreated(cbEntity, meta.value);
|
|
3892
3806
|
}
|
|
3807
|
+
if (context.setup && typeof context.setup.emit === 'function') {
|
|
3808
|
+
context.setup.emit('created', cbEntity);
|
|
3809
|
+
}
|
|
3893
3810
|
});
|
|
3894
|
-
const handleDeleted = buildListDeletedHandler(data, ()=>{
|
|
3811
|
+
const handleDeleted = buildListDeletedHandler(data, (cbEntity)=>{
|
|
3895
3812
|
total.value--;
|
|
3813
|
+
if (context.setup && typeof context.setup.emit === 'function') {
|
|
3814
|
+
context.setup.emit('deleted', cbEntity);
|
|
3815
|
+
}
|
|
3816
|
+
});
|
|
3817
|
+
const handleUpdated = buildListUpdatedHandler(data, (cbEntity)=>{
|
|
3818
|
+
if (context.setup && typeof context.setup.emit === 'function') {
|
|
3819
|
+
context.setup.emit('updated', cbEntity);
|
|
3820
|
+
}
|
|
3896
3821
|
});
|
|
3897
|
-
const handleUpdated = buildListUpdatedHandler(data);
|
|
3898
3822
|
let options = context.props;
|
|
3899
3823
|
const setDefaults = (defaults)=>{
|
|
3900
3824
|
options = mergeListOptions(context.props, defaults);
|
|
@@ -3976,7 +3900,7 @@ function createListRaw(context) {
|
|
|
3976
3900
|
handleDeleted(entity);
|
|
3977
3901
|
};
|
|
3978
3902
|
socketContext.onUpdated = (entity)=>{
|
|
3979
|
-
|
|
3903
|
+
handleUpdated(entity);
|
|
3980
3904
|
};
|
|
3981
3905
|
socketContext.realmId = realmId;
|
|
3982
3906
|
createEntitySocket(socketContext);
|
|
@@ -4128,7 +4052,7 @@ function createEntityManager(ctx) {
|
|
|
4128
4052
|
if (entity.value) {
|
|
4129
4053
|
extendObjectProperties(entity.value, value);
|
|
4130
4054
|
}
|
|
4131
|
-
if (ctx.setup && ctx.setup.emit) {
|
|
4055
|
+
if (ctx.setup && typeof ctx.setup.emit === 'function') {
|
|
4132
4056
|
ctx.setup.emit('updated', entity.value || value);
|
|
4133
4057
|
}
|
|
4134
4058
|
if (ctx.onUpdated) {
|
|
@@ -5250,7 +5174,7 @@ const FProjectNodeApprovalStatus = defineComponent({
|
|
|
5250
5174
|
}
|
|
5251
5175
|
});
|
|
5252
5176
|
|
|
5253
|
-
var _sfc_main$
|
|
5177
|
+
var _sfc_main$p = defineComponent({
|
|
5254
5178
|
components: {
|
|
5255
5179
|
IVuelidate,
|
|
5256
5180
|
VCFormInput,
|
|
@@ -5298,7 +5222,7 @@ var _sfc_main$o = defineComponent({
|
|
|
5298
5222
|
const _hoisted_1$k = [
|
|
5299
5223
|
"disabled"
|
|
5300
5224
|
];
|
|
5301
|
-
function _sfc_render$
|
|
5225
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5302
5226
|
const _component_VCFormInput = resolveComponent("VCFormInput");
|
|
5303
5227
|
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
5304
5228
|
const _component_IVuelidate = resolveComponent("IVuelidate");
|
|
@@ -5347,10 +5271,10 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5347
5271
|
"validation"
|
|
5348
5272
|
]);
|
|
5349
5273
|
}
|
|
5350
|
-
var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5274
|
+
var FFormInputListItem = /* @__PURE__ */ _export_sfc(_sfc_main$p, [
|
|
5351
5275
|
[
|
|
5352
5276
|
"render",
|
|
5353
|
-
_sfc_render$
|
|
5277
|
+
_sfc_render$p
|
|
5354
5278
|
]
|
|
5355
5279
|
]);
|
|
5356
5280
|
|
|
@@ -5398,7 +5322,7 @@ const FTranslationDefault = defineComponent({
|
|
|
5398
5322
|
}
|
|
5399
5323
|
});
|
|
5400
5324
|
|
|
5401
|
-
var _sfc_main$
|
|
5325
|
+
var _sfc_main$o = defineComponent({
|
|
5402
5326
|
components: {
|
|
5403
5327
|
FTranslationDefault,
|
|
5404
5328
|
FFormInputListItem
|
|
@@ -5489,13 +5413,13 @@ const _hoisted_3$g = {
|
|
|
5489
5413
|
const _hoisted_4$g = {
|
|
5490
5414
|
class: "ms-auto"
|
|
5491
5415
|
};
|
|
5492
|
-
const _hoisted_5$
|
|
5416
|
+
const _hoisted_5$d = [
|
|
5493
5417
|
"disabled"
|
|
5494
5418
|
];
|
|
5495
5419
|
const _hoisted_6$b = {
|
|
5496
5420
|
class: "d-flex flex-column gap-1"
|
|
5497
5421
|
};
|
|
5498
|
-
function _sfc_render$
|
|
5422
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5499
5423
|
const _component_FTranslationDefault = resolveComponent("FTranslationDefault");
|
|
5500
5424
|
const _component_FFormInputListItem = resolveComponent("FFormInputListItem");
|
|
5501
5425
|
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
@@ -5525,7 +5449,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5525
5449
|
createVNode(_component_FTranslationDefault, {
|
|
5526
5450
|
name: "add"
|
|
5527
5451
|
})
|
|
5528
|
-
], 8, _hoisted_5$
|
|
5452
|
+
], 8, _hoisted_5$d)
|
|
5529
5453
|
])
|
|
5530
5454
|
])
|
|
5531
5455
|
]),
|
|
@@ -5565,10 +5489,10 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5565
5489
|
])
|
|
5566
5490
|
]);
|
|
5567
5491
|
}
|
|
5568
|
-
var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5492
|
+
var FFormInputList = /* @__PURE__ */ _export_sfc(_sfc_main$o, [
|
|
5569
5493
|
[
|
|
5570
5494
|
"render",
|
|
5571
|
-
_sfc_render$
|
|
5495
|
+
_sfc_render$o
|
|
5572
5496
|
]
|
|
5573
5497
|
]);
|
|
5574
5498
|
|
|
@@ -5690,7 +5614,7 @@ function renderToggleButton(options) {
|
|
|
5690
5614
|
]);
|
|
5691
5615
|
}
|
|
5692
5616
|
|
|
5693
|
-
var _sfc_main$
|
|
5617
|
+
var _sfc_main$n = defineComponent({
|
|
5694
5618
|
props: {
|
|
5695
5619
|
current: {
|
|
5696
5620
|
type: String,
|
|
@@ -5726,7 +5650,7 @@ var _sfc_main$m = defineComponent({
|
|
|
5726
5650
|
}
|
|
5727
5651
|
});
|
|
5728
5652
|
|
|
5729
|
-
function _sfc_render$
|
|
5653
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5730
5654
|
return renderSlot(_ctx.$slots, "default", {
|
|
5731
5655
|
toggle: _ctx.toggle,
|
|
5732
5656
|
active: _ctx.active
|
|
@@ -5734,10 +5658,10 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5734
5658
|
createTextVNode(toDisplayString(_ctx.current), 1)
|
|
5735
5659
|
]);
|
|
5736
5660
|
}
|
|
5737
|
-
var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5661
|
+
var FItemToggle = /* @__PURE__ */ _export_sfc(_sfc_main$n, [
|
|
5738
5662
|
[
|
|
5739
5663
|
"render",
|
|
5740
|
-
_sfc_render$
|
|
5664
|
+
_sfc_render$n
|
|
5741
5665
|
]
|
|
5742
5666
|
]);
|
|
5743
5667
|
|
|
@@ -6151,7 +6075,7 @@ const FProjectInForm = defineComponent({
|
|
|
6151
6075
|
}
|
|
6152
6076
|
});
|
|
6153
6077
|
|
|
6154
|
-
var _sfc_main$
|
|
6078
|
+
var _sfc_main$m = defineComponent({
|
|
6155
6079
|
components: {
|
|
6156
6080
|
BModal,
|
|
6157
6081
|
FProjectInForm,
|
|
@@ -6210,7 +6134,7 @@ const _hoisted_3$f = {
|
|
|
6210
6134
|
const _hoisted_4$f = {
|
|
6211
6135
|
class: "ms-auto d-flex flex-row gap-1"
|
|
6212
6136
|
};
|
|
6213
|
-
const _hoisted_5$
|
|
6137
|
+
const _hoisted_5$c = {
|
|
6214
6138
|
class: "row"
|
|
6215
6139
|
};
|
|
6216
6140
|
const _hoisted_6$a = {
|
|
@@ -6231,7 +6155,7 @@ const _hoisted_10$5 = {
|
|
|
6231
6155
|
const _hoisted_11$4 = {
|
|
6232
6156
|
class: "ms-auto"
|
|
6233
6157
|
};
|
|
6234
|
-
function _sfc_render$
|
|
6158
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6235
6159
|
const _component_VCLink = resolveComponent("VCLink");
|
|
6236
6160
|
const _component_FProjectNodeApprovalCommand = resolveComponent("FProjectNodeApprovalCommand");
|
|
6237
6161
|
const _component_FProjectNodeApprovalStatus = resolveComponent("FProjectNodeApprovalStatus");
|
|
@@ -6324,7 +6248,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6324
6248
|
renderSlot(_ctx.$slots, "body", {
|
|
6325
6249
|
data: _ctx.entity
|
|
6326
6250
|
}, ()=>[
|
|
6327
|
-
createElementVNode("div", _hoisted_5$
|
|
6251
|
+
createElementVNode("div", _hoisted_5$c, [
|
|
6328
6252
|
createElementVNode("div", _hoisted_6$a, [
|
|
6329
6253
|
_cache[5] || (_cache[5] = createElementVNode("div", null, [
|
|
6330
6254
|
createElementVNode("strong", null, [
|
|
@@ -6450,10 +6374,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6450
6374
|
])
|
|
6451
6375
|
]);
|
|
6452
6376
|
}
|
|
6453
|
-
var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6377
|
+
var FProjectNodeInCard = /* @__PURE__ */ _export_sfc(_sfc_main$m, [
|
|
6454
6378
|
[
|
|
6455
6379
|
"render",
|
|
6456
|
-
_sfc_render$
|
|
6380
|
+
_sfc_render$m
|
|
6457
6381
|
]
|
|
6458
6382
|
]);
|
|
6459
6383
|
|
|
@@ -6641,7 +6565,7 @@ const FProjectForm = defineComponent({
|
|
|
6641
6565
|
}
|
|
6642
6566
|
});
|
|
6643
6567
|
|
|
6644
|
-
var _sfc_main$
|
|
6568
|
+
var _sfc_main$l = defineComponent({
|
|
6645
6569
|
components: {
|
|
6646
6570
|
AUser,
|
|
6647
6571
|
ARobot
|
|
@@ -6654,7 +6578,7 @@ var _sfc_main$k = defineComponent({
|
|
|
6654
6578
|
}
|
|
6655
6579
|
});
|
|
6656
6580
|
|
|
6657
|
-
function _sfc_render$
|
|
6581
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6658
6582
|
const _component_AUser = resolveComponent("AUser");
|
|
6659
6583
|
const _component_ARobot = resolveComponent("ARobot");
|
|
6660
6584
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -6711,14 +6635,14 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6711
6635
|
], 64))
|
|
6712
6636
|
]);
|
|
6713
6637
|
}
|
|
6714
|
-
var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6638
|
+
var FProjectCreator = /* @__PURE__ */ _export_sfc(_sfc_main$l, [
|
|
6715
6639
|
[
|
|
6716
6640
|
"render",
|
|
6717
|
-
_sfc_render$
|
|
6641
|
+
_sfc_render$l
|
|
6718
6642
|
]
|
|
6719
6643
|
]);
|
|
6720
6644
|
|
|
6721
|
-
var _sfc_main$
|
|
6645
|
+
var _sfc_main$k = defineComponent({
|
|
6722
6646
|
components: {
|
|
6723
6647
|
FProjectCreator,
|
|
6724
6648
|
FEntityDelete,
|
|
@@ -6765,7 +6689,7 @@ const _hoisted_3$e = {
|
|
|
6765
6689
|
const _hoisted_4$e = {
|
|
6766
6690
|
class: "ms-auto"
|
|
6767
6691
|
};
|
|
6768
|
-
const _hoisted_5$
|
|
6692
|
+
const _hoisted_5$b = {
|
|
6769
6693
|
class: "d-flex justify-content-between flex-row"
|
|
6770
6694
|
};
|
|
6771
6695
|
const _hoisted_6$9 = {
|
|
@@ -6786,7 +6710,7 @@ const _hoisted_10$4 = {
|
|
|
6786
6710
|
const _hoisted_11$3 = {
|
|
6787
6711
|
class: "ms-auto"
|
|
6788
6712
|
};
|
|
6789
|
-
function _sfc_render$
|
|
6713
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6790
6714
|
const _component_VCLink = resolveComponent("VCLink");
|
|
6791
6715
|
const _component_FEntityDelete = resolveComponent("FEntityDelete");
|
|
6792
6716
|
const _component_FProjectCreator = resolveComponent("FProjectCreator");
|
|
@@ -6853,7 +6777,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6853
6777
|
renderSlot(_ctx.$slots, "body", {
|
|
6854
6778
|
data: _ctx.entity
|
|
6855
6779
|
}, ()=>[
|
|
6856
|
-
createElementVNode("div", _hoisted_5$
|
|
6780
|
+
createElementVNode("div", _hoisted_5$b, [
|
|
6857
6781
|
createElementVNode("div", _hoisted_6$9, [
|
|
6858
6782
|
_cache[2] || (_cache[2] = createElementVNode("div", null, [
|
|
6859
6783
|
createElementVNode("strong", null, [
|
|
@@ -6937,10 +6861,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6937
6861
|
])
|
|
6938
6862
|
]);
|
|
6939
6863
|
}
|
|
6940
|
-
var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6864
|
+
var FProjectItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$k, [
|
|
6941
6865
|
[
|
|
6942
6866
|
"render",
|
|
6943
|
-
_sfc_render$
|
|
6867
|
+
_sfc_render$k
|
|
6944
6868
|
]
|
|
6945
6869
|
]);
|
|
6946
6870
|
|
|
@@ -8244,7 +8168,7 @@ function useClipboard(options = {}) {
|
|
|
8244
8168
|
};
|
|
8245
8169
|
}
|
|
8246
8170
|
|
|
8247
|
-
var _sfc_main$
|
|
8171
|
+
var _sfc_main$j = defineComponent({
|
|
8248
8172
|
props: {
|
|
8249
8173
|
entity: {
|
|
8250
8174
|
type: Object,
|
|
@@ -8365,7 +8289,7 @@ const _hoisted_3$d = {
|
|
|
8365
8289
|
const _hoisted_4$d = {
|
|
8366
8290
|
class: "d-flex flex-row"
|
|
8367
8291
|
};
|
|
8368
|
-
const _hoisted_5$
|
|
8292
|
+
const _hoisted_5$a = {
|
|
8369
8293
|
class: "ms-auto"
|
|
8370
8294
|
};
|
|
8371
8295
|
const _hoisted_6$8 = {
|
|
@@ -8390,7 +8314,7 @@ const _hoisted_11$2 = [
|
|
|
8390
8314
|
const _hoisted_12 = [
|
|
8391
8315
|
"disabled"
|
|
8392
8316
|
];
|
|
8393
|
-
function _sfc_render$
|
|
8317
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8394
8318
|
const _component_VCFormTextarea = resolveComponent("VCFormTextarea");
|
|
8395
8319
|
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
8396
8320
|
const _component_VCFormSelect = resolveComponent("VCFormSelect");
|
|
@@ -8406,7 +8330,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8406
8330
|
label: withCtx(()=>[
|
|
8407
8331
|
createElementVNode("div", _hoisted_4$d, [
|
|
8408
8332
|
_cache[8] || (_cache[8] = createElementVNode("div", null, " PublicKey ", -1)),
|
|
8409
|
-
createElementVNode("div", _hoisted_5$
|
|
8333
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
8410
8334
|
withDirectives(createElementVNode("button", {
|
|
8411
8335
|
type: "button",
|
|
8412
8336
|
class: "btn btn-xs btn-dark",
|
|
@@ -8540,10 +8464,10 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8540
8464
|
])
|
|
8541
8465
|
]);
|
|
8542
8466
|
}
|
|
8543
|
-
var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8467
|
+
var FNodeCrypto = /* @__PURE__ */ _export_sfc(_sfc_main$j, [
|
|
8544
8468
|
[
|
|
8545
8469
|
"render",
|
|
8546
|
-
_sfc_render$
|
|
8470
|
+
_sfc_render$j
|
|
8547
8471
|
]
|
|
8548
8472
|
]);
|
|
8549
8473
|
|
|
@@ -8948,7 +8872,7 @@ var FAnalysisNodeAssignAction = defineComponent({
|
|
|
8948
8872
|
}
|
|
8949
8873
|
});
|
|
8950
8874
|
|
|
8951
|
-
var _sfc_main$
|
|
8875
|
+
var _sfc_main$i = defineComponent({
|
|
8952
8876
|
components: {
|
|
8953
8877
|
FProjectNodes,
|
|
8954
8878
|
ListPagination: FPagination,
|
|
@@ -9067,7 +8991,7 @@ const _hoisted_3$c = {
|
|
|
9067
8991
|
const _hoisted_4$c = {
|
|
9068
8992
|
class: "ms-auto"
|
|
9069
8993
|
};
|
|
9070
|
-
const _hoisted_5$
|
|
8994
|
+
const _hoisted_5$9 = [
|
|
9071
8995
|
"disabled",
|
|
9072
8996
|
"onClick"
|
|
9073
8997
|
];
|
|
@@ -9089,7 +9013,7 @@ const _hoisted_10$2 = {
|
|
|
9089
9013
|
const _hoisted_11$1 = {
|
|
9090
9014
|
class: "ms-auto"
|
|
9091
9015
|
};
|
|
9092
|
-
function _sfc_render$
|
|
9016
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9093
9017
|
const _component_ListSearch = resolveComponent("ListSearch");
|
|
9094
9018
|
const _component_ListPagination = resolveComponent("ListPagination");
|
|
9095
9019
|
const _component_FAnalysisNodes = resolveComponent("FAnalysisNodes");
|
|
@@ -9154,7 +9078,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9154
9078
|
createElementVNode("i", {
|
|
9155
9079
|
class: "fa fa-trash"
|
|
9156
9080
|
}, null, -1)
|
|
9157
|
-
]), 8, _hoisted_5$
|
|
9081
|
+
]), 8, _hoisted_5$9)
|
|
9158
9082
|
])
|
|
9159
9083
|
])
|
|
9160
9084
|
]),
|
|
@@ -9283,14 +9207,14 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9283
9207
|
])
|
|
9284
9208
|
]);
|
|
9285
9209
|
}
|
|
9286
|
-
var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9210
|
+
var FAnalysisNodeManager = /* @__PURE__ */ _export_sfc(_sfc_main$i, [
|
|
9287
9211
|
[
|
|
9288
9212
|
"render",
|
|
9289
|
-
_sfc_render$
|
|
9213
|
+
_sfc_render$i
|
|
9290
9214
|
]
|
|
9291
9215
|
]);
|
|
9292
9216
|
|
|
9293
|
-
var _sfc_main$
|
|
9217
|
+
var _sfc_main$h = defineComponent({
|
|
9294
9218
|
components: {
|
|
9295
9219
|
FAnalysisNodeManager
|
|
9296
9220
|
},
|
|
@@ -9330,7 +9254,7 @@ const _hoisted_3$b = {
|
|
|
9330
9254
|
const _hoisted_4$b = [
|
|
9331
9255
|
"onClick"
|
|
9332
9256
|
];
|
|
9333
|
-
function _sfc_render$
|
|
9257
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9334
9258
|
const _component_FAnalysisNodeManager = resolveComponent("FAnalysisNodeManager");
|
|
9335
9259
|
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
9336
9260
|
createElementVNode("div", null, [
|
|
@@ -9377,10 +9301,10 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9377
9301
|
])
|
|
9378
9302
|
]);
|
|
9379
9303
|
}
|
|
9380
|
-
var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9304
|
+
var FAnalysisWizardStepNodes = /* @__PURE__ */ _export_sfc(_sfc_main$h, [
|
|
9381
9305
|
[
|
|
9382
9306
|
"render",
|
|
9383
|
-
_sfc_render$
|
|
9307
|
+
_sfc_render$h
|
|
9384
9308
|
]
|
|
9385
9309
|
]);
|
|
9386
9310
|
|
|
@@ -9538,7 +9462,7 @@ var FAnalysisImageCommand = defineComponent({
|
|
|
9538
9462
|
}
|
|
9539
9463
|
});
|
|
9540
9464
|
|
|
9541
|
-
var _sfc_main$
|
|
9465
|
+
var _sfc_main$g = defineComponent({
|
|
9542
9466
|
components: {
|
|
9543
9467
|
FFormInputList
|
|
9544
9468
|
},
|
|
@@ -9695,7 +9619,7 @@ const _hoisted_4$a = [
|
|
|
9695
9619
|
"disabled",
|
|
9696
9620
|
"onClick"
|
|
9697
9621
|
];
|
|
9698
|
-
const _hoisted_5$
|
|
9622
|
+
const _hoisted_5$8 = {
|
|
9699
9623
|
class: "col"
|
|
9700
9624
|
};
|
|
9701
9625
|
const _hoisted_6$6 = [
|
|
@@ -9705,7 +9629,7 @@ const _hoisted_7$5 = [
|
|
|
9705
9629
|
"disabled",
|
|
9706
9630
|
"onClick"
|
|
9707
9631
|
];
|
|
9708
|
-
function _sfc_render$
|
|
9632
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9709
9633
|
const _component_FFormInputList = resolveComponent("FFormInputList");
|
|
9710
9634
|
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
9711
9635
|
createElementVNode("div", _hoisted_2$d, [
|
|
@@ -9754,7 +9678,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9754
9678
|
"onChanged"
|
|
9755
9679
|
])
|
|
9756
9680
|
]),
|
|
9757
|
-
createElementVNode("div", _hoisted_5$
|
|
9681
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
9758
9682
|
createVNode(_component_FFormInputList, {
|
|
9759
9683
|
ref: "itemsAfterVNode",
|
|
9760
9684
|
names: _ctx.itemsAfter,
|
|
@@ -9802,14 +9726,14 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9802
9726
|
])
|
|
9803
9727
|
]);
|
|
9804
9728
|
}
|
|
9805
|
-
var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9729
|
+
var FAnalysisImageCommandArguments = /* @__PURE__ */ _export_sfc(_sfc_main$g, [
|
|
9806
9730
|
[
|
|
9807
9731
|
"render",
|
|
9808
|
-
_sfc_render$
|
|
9732
|
+
_sfc_render$g
|
|
9809
9733
|
]
|
|
9810
9734
|
]);
|
|
9811
9735
|
|
|
9812
|
-
var _sfc_main$
|
|
9736
|
+
var _sfc_main$f = defineComponent({
|
|
9813
9737
|
components: {
|
|
9814
9738
|
FAnalysisImageCommandArguments,
|
|
9815
9739
|
FAnalysisImageCommand,
|
|
@@ -9867,7 +9791,7 @@ const _hoisted_1$c = {
|
|
|
9867
9791
|
const _hoisted_2$c = {
|
|
9868
9792
|
class: "mb-2"
|
|
9869
9793
|
};
|
|
9870
|
-
function _sfc_render$
|
|
9794
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9871
9795
|
const _component_FMasterImagePicker = resolveComponent("FMasterImagePicker");
|
|
9872
9796
|
const _component_FAnalysisImageCommandArguments = resolveComponent("FAnalysisImageCommandArguments");
|
|
9873
9797
|
const _component_FAnalysisImageCommand = resolveComponent("FAnalysisImageCommand");
|
|
@@ -9936,14 +9860,14 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9936
9860
|
])
|
|
9937
9861
|
]);
|
|
9938
9862
|
}
|
|
9939
|
-
var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9863
|
+
var FAnalysisWizardStepMasterImage = /* @__PURE__ */ _export_sfc(_sfc_main$f, [
|
|
9940
9864
|
[
|
|
9941
9865
|
"render",
|
|
9942
|
-
_sfc_render$
|
|
9866
|
+
_sfc_render$f
|
|
9943
9867
|
]
|
|
9944
9868
|
]);
|
|
9945
9869
|
|
|
9946
|
-
var _sfc_main$
|
|
9870
|
+
var _sfc_main$e = defineComponent({
|
|
9947
9871
|
props: {
|
|
9948
9872
|
entity: {
|
|
9949
9873
|
type: Object,
|
|
@@ -9952,16 +9876,11 @@ var _sfc_main$d = defineComponent({
|
|
|
9952
9876
|
filesSelected: {
|
|
9953
9877
|
type: Array,
|
|
9954
9878
|
required: true
|
|
9955
|
-
},
|
|
9956
|
-
fileSelectedId: {
|
|
9957
|
-
type: String
|
|
9958
9879
|
}
|
|
9959
9880
|
},
|
|
9960
9881
|
emits: {
|
|
9961
9882
|
...defineEntityManagerEvents(),
|
|
9962
9883
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9963
|
-
toggle: (_entity)=>true,
|
|
9964
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9965
9884
|
check: (_entity)=>true
|
|
9966
9885
|
},
|
|
9967
9886
|
setup (props, setup) {
|
|
@@ -9970,16 +9889,27 @@ var _sfc_main$d = defineComponent({
|
|
|
9970
9889
|
props,
|
|
9971
9890
|
setup
|
|
9972
9891
|
});
|
|
9973
|
-
const busy = ref(false);
|
|
9974
9892
|
const marked = computed(()=>{
|
|
9975
9893
|
if (!props.filesSelected) {
|
|
9976
9894
|
return false;
|
|
9977
9895
|
}
|
|
9978
9896
|
return props.filesSelected.findIndex((file)=>manager.data.value && file === manager.data.value.id) !== -1;
|
|
9979
9897
|
});
|
|
9980
|
-
const
|
|
9981
|
-
const
|
|
9982
|
-
|
|
9898
|
+
const isMatchRaw = computed(()=>manager.data.value && manager.data.value.root);
|
|
9899
|
+
const isMatch = ref(false);
|
|
9900
|
+
watch(isMatchRaw, (val)=>{
|
|
9901
|
+
isMatch.value = val;
|
|
9902
|
+
});
|
|
9903
|
+
if (manager.data.value) {
|
|
9904
|
+
isMatch.value = manager.data.value.root;
|
|
9905
|
+
}
|
|
9906
|
+
const toggle = async ()=>{
|
|
9907
|
+
if (manager.busy.value || !manager.data.value) {
|
|
9908
|
+
return;
|
|
9909
|
+
}
|
|
9910
|
+
await manager.update({
|
|
9911
|
+
root: !isMatch.value
|
|
9912
|
+
});
|
|
9983
9913
|
};
|
|
9984
9914
|
const markToggle = ()=>{
|
|
9985
9915
|
setup.emit('check', manager.data.value);
|
|
@@ -9990,7 +9920,7 @@ var _sfc_main$d = defineComponent({
|
|
|
9990
9920
|
markToggle,
|
|
9991
9921
|
isMatch,
|
|
9992
9922
|
toggle,
|
|
9993
|
-
busy
|
|
9923
|
+
busy: manager.busy
|
|
9994
9924
|
};
|
|
9995
9925
|
}
|
|
9996
9926
|
});
|
|
@@ -10001,13 +9931,16 @@ const _hoisted_1$b = {
|
|
|
10001
9931
|
const _hoisted_2$b = {
|
|
10002
9932
|
class: "ms-auto d-flex flex-row me-1"
|
|
10003
9933
|
};
|
|
10004
|
-
const _hoisted_3$9 =
|
|
9934
|
+
const _hoisted_3$9 = [
|
|
9935
|
+
"disabled"
|
|
9936
|
+
];
|
|
9937
|
+
const _hoisted_4$9 = {
|
|
10005
9938
|
class: "ms-1"
|
|
10006
9939
|
};
|
|
10007
|
-
const
|
|
9940
|
+
const _hoisted_5$7 = [
|
|
10008
9941
|
"disabled"
|
|
10009
9942
|
];
|
|
10010
|
-
function _sfc_render$
|
|
9943
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10011
9944
|
return openBlock(), createElementBlock("div", {
|
|
10012
9945
|
class: normalizeClass([
|
|
10013
9946
|
"card card-file d-flex flex-row align-items-center p-1",
|
|
@@ -10026,8 +9959,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10026
9959
|
]),
|
|
10027
9960
|
createElementVNode("div", _hoisted_2$b, [
|
|
10028
9961
|
createElementVNode("div", null, [
|
|
10029
|
-
|
|
10030
|
-
key: 0,
|
|
9962
|
+
createElementVNode("button", {
|
|
10031
9963
|
type: "button",
|
|
10032
9964
|
class: normalizeClass([
|
|
10033
9965
|
"btn btn-xs",
|
|
@@ -10036,6 +9968,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10036
9968
|
"btn-warning": _ctx.isMatch
|
|
10037
9969
|
}
|
|
10038
9970
|
]),
|
|
9971
|
+
disabled: _ctx.busy,
|
|
10039
9972
|
onClick: _cache[1] || (_cache[1] = withModifiers((...args)=>_ctx.toggle && _ctx.toggle(...args), [
|
|
10040
9973
|
"prevent"
|
|
10041
9974
|
]))
|
|
@@ -10046,9 +9979,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10046
9979
|
"fa fa-times": _ctx.isMatch
|
|
10047
9980
|
})
|
|
10048
9981
|
}, null, 2)
|
|
10049
|
-
],
|
|
9982
|
+
], 10, _hoisted_3$9)
|
|
10050
9983
|
]),
|
|
10051
|
-
createElementVNode("div",
|
|
9984
|
+
createElementVNode("div", _hoisted_4$9, [
|
|
10052
9985
|
createElementVNode("button", {
|
|
10053
9986
|
type: "button",
|
|
10054
9987
|
class: "btn btn-danger btn-xs",
|
|
@@ -10060,15 +9993,15 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10060
9993
|
createElementVNode("i", {
|
|
10061
9994
|
class: "fa fa-trash"
|
|
10062
9995
|
}, null, -1)
|
|
10063
|
-
]), 8,
|
|
9996
|
+
]), 8, _hoisted_5$7)
|
|
10064
9997
|
])
|
|
10065
9998
|
])
|
|
10066
9999
|
], 2);
|
|
10067
10000
|
}
|
|
10068
|
-
var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10001
|
+
var FAnalysisFile = /* @__PURE__ */ _export_sfc(_sfc_main$e, [
|
|
10069
10002
|
[
|
|
10070
10003
|
"render",
|
|
10071
|
-
_sfc_render$
|
|
10004
|
+
_sfc_render$e
|
|
10072
10005
|
]
|
|
10073
10006
|
]);
|
|
10074
10007
|
|
|
@@ -10098,7 +10031,7 @@ const FAnalysisBucketFiles = defineComponent({
|
|
|
10098
10031
|
}
|
|
10099
10032
|
});
|
|
10100
10033
|
|
|
10101
|
-
var _sfc_main$
|
|
10034
|
+
var _sfc_main$d = defineComponent({
|
|
10102
10035
|
props: {
|
|
10103
10036
|
file: {
|
|
10104
10037
|
type: Object,
|
|
@@ -10142,7 +10075,7 @@ const _hoisted_3$8 = {
|
|
|
10142
10075
|
const _hoisted_4$8 = {
|
|
10143
10076
|
class: "ms-auto"
|
|
10144
10077
|
};
|
|
10145
|
-
function _sfc_render$
|
|
10078
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10146
10079
|
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
10147
10080
|
createElementVNode("div", _hoisted_2$a, [
|
|
10148
10081
|
createElementVNode("span", _hoisted_3$8, toDisplayString(_ctx.path), 1)
|
|
@@ -10162,14 +10095,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10162
10095
|
])
|
|
10163
10096
|
]);
|
|
10164
10097
|
}
|
|
10165
|
-
var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10098
|
+
var FAnalysisFormFile = /* @__PURE__ */ _export_sfc(_sfc_main$d, [
|
|
10166
10099
|
[
|
|
10167
10100
|
"render",
|
|
10168
|
-
_sfc_render$
|
|
10101
|
+
_sfc_render$d
|
|
10169
10102
|
]
|
|
10170
10103
|
]);
|
|
10171
10104
|
|
|
10172
|
-
var _sfc_main$
|
|
10105
|
+
var _sfc_main$c = defineComponent({
|
|
10173
10106
|
components: {
|
|
10174
10107
|
FAnalysisFormFile
|
|
10175
10108
|
},
|
|
@@ -10282,7 +10215,7 @@ const _hoisted_9$1 = {
|
|
|
10282
10215
|
const _hoisted_10$1 = [
|
|
10283
10216
|
"disabled"
|
|
10284
10217
|
];
|
|
10285
|
-
function _sfc_render$
|
|
10218
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10286
10219
|
const _component_FAnalysisFormFile = resolveComponent("FAnalysisFormFile");
|
|
10287
10220
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
10288
10221
|
createElementVNode("div", null, [
|
|
@@ -10352,14 +10285,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10352
10285
|
])
|
|
10353
10286
|
]);
|
|
10354
10287
|
}
|
|
10355
|
-
var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10288
|
+
var FAnalysisBucketFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$c, [
|
|
10356
10289
|
[
|
|
10357
10290
|
"render",
|
|
10358
|
-
_sfc_render$
|
|
10291
|
+
_sfc_render$c
|
|
10359
10292
|
]
|
|
10360
10293
|
]);
|
|
10361
10294
|
|
|
10362
|
-
var _sfc_main$
|
|
10295
|
+
var _sfc_main$b = defineComponent({
|
|
10363
10296
|
components: {
|
|
10364
10297
|
BModal,
|
|
10365
10298
|
FAnalysisBucketFileUpload,
|
|
@@ -10385,16 +10318,7 @@ var _sfc_main$a = defineComponent({
|
|
|
10385
10318
|
],
|
|
10386
10319
|
setup (props, { emit }) {
|
|
10387
10320
|
const coreClient = injectCoreHTTPClient();
|
|
10388
|
-
const entrypointFile =
|
|
10389
|
-
if (props.fileEntity) {
|
|
10390
|
-
entrypointFile.value = props.fileEntity;
|
|
10391
|
-
}
|
|
10392
|
-
const entrypointFileId = computed(()=>{
|
|
10393
|
-
if (entrypointFile.value) {
|
|
10394
|
-
return entrypointFile.value.id;
|
|
10395
|
-
}
|
|
10396
|
-
return undefined;
|
|
10397
|
-
});
|
|
10321
|
+
const entrypointFile = toRef(props, 'fileEntity');
|
|
10398
10322
|
const modal = ref(false);
|
|
10399
10323
|
const toggleModal = ()=>{
|
|
10400
10324
|
modal.value = !modal.value;
|
|
@@ -10409,27 +10333,30 @@ var _sfc_main$a = defineComponent({
|
|
|
10409
10333
|
bucket_id: props.entity.id
|
|
10410
10334
|
}
|
|
10411
10335
|
}));
|
|
10412
|
-
const
|
|
10413
|
-
if (
|
|
10414
|
-
|
|
10336
|
+
const updateEntrypointFile = (entity)=>{
|
|
10337
|
+
if (entity.root) {
|
|
10338
|
+
emit('setEntrypointFile', entity);
|
|
10339
|
+
return;
|
|
10340
|
+
}
|
|
10341
|
+
if (entrypointFile.value && entrypointFile.value.id === entity.id) {
|
|
10342
|
+
emit('setEntrypointFile', null);
|
|
10415
10343
|
}
|
|
10344
|
+
};
|
|
10345
|
+
const handleCreated = (entity)=>{
|
|
10416
10346
|
emit('created', entity);
|
|
10347
|
+
updateEntrypointFile(entity);
|
|
10417
10348
|
};
|
|
10418
10349
|
const handleDeleted = (entity)=>{
|
|
10419
|
-
if (fileListNode.value) {
|
|
10420
|
-
fileListNode.value.handleDeleted(entity);
|
|
10421
|
-
}
|
|
10422
10350
|
const selectedIndex = selected.value.indexOf(entity.id);
|
|
10423
10351
|
if (selectedIndex !== -1) {
|
|
10424
10352
|
selected.value.splice(selectedIndex, 1);
|
|
10425
10353
|
}
|
|
10426
10354
|
emit('deleted', entity);
|
|
10355
|
+
updateEntrypointFile(entity);
|
|
10427
10356
|
};
|
|
10428
10357
|
const handleUpdated = (entity)=>{
|
|
10429
|
-
if (fileListNode.value) {
|
|
10430
|
-
fileListNode.value.handleUpdated(entity);
|
|
10431
|
-
}
|
|
10432
10358
|
emit('updated', entity);
|
|
10359
|
+
updateEntrypointFile(entity);
|
|
10433
10360
|
};
|
|
10434
10361
|
const handleFailed = (e)=>{
|
|
10435
10362
|
emit('failed', e);
|
|
@@ -10471,32 +10398,6 @@ var _sfc_main$a = defineComponent({
|
|
|
10471
10398
|
selected.value.splice(index, 1);
|
|
10472
10399
|
}
|
|
10473
10400
|
};
|
|
10474
|
-
const changeEntryPointFile = async (file)=>{
|
|
10475
|
-
if (entrypointFile.value) {
|
|
10476
|
-
if (entrypointFile.value.id === file.id) {
|
|
10477
|
-
await coreClient.analysisBucketFile.update(file.id, {
|
|
10478
|
-
root: false
|
|
10479
|
-
});
|
|
10480
|
-
entrypointFile.value = null;
|
|
10481
|
-
emit('setEntrypointFile', null);
|
|
10482
|
-
} else {
|
|
10483
|
-
await coreClient.analysisBucketFile.update(entrypointFile.value.id, {
|
|
10484
|
-
root: false
|
|
10485
|
-
});
|
|
10486
|
-
await coreClient.analysisBucketFile.update(file.id, {
|
|
10487
|
-
root: true
|
|
10488
|
-
});
|
|
10489
|
-
entrypointFile.value = file;
|
|
10490
|
-
emit('setEntrypointFile', file);
|
|
10491
|
-
}
|
|
10492
|
-
} else {
|
|
10493
|
-
await coreClient.analysisBucketFile.update(file.id, {
|
|
10494
|
-
root: true
|
|
10495
|
-
});
|
|
10496
|
-
entrypointFile.value = file;
|
|
10497
|
-
emit('setEntrypointFile', file);
|
|
10498
|
-
}
|
|
10499
|
-
};
|
|
10500
10401
|
return {
|
|
10501
10402
|
busy,
|
|
10502
10403
|
selected,
|
|
@@ -10510,13 +10411,11 @@ var _sfc_main$a = defineComponent({
|
|
|
10510
10411
|
handleUploaded,
|
|
10511
10412
|
handleFileUploaded,
|
|
10512
10413
|
toggleFile,
|
|
10513
|
-
entrypointFile,
|
|
10514
|
-
entrypointFileId,
|
|
10515
|
-
changeEntryPointFile,
|
|
10516
10414
|
fileListNode,
|
|
10517
10415
|
fileListQuery,
|
|
10518
10416
|
modal,
|
|
10519
|
-
toggleModal
|
|
10417
|
+
toggleModal,
|
|
10418
|
+
entrypointFile
|
|
10520
10419
|
};
|
|
10521
10420
|
}
|
|
10522
10421
|
});
|
|
@@ -10545,7 +10444,7 @@ const _hoisted_7$3 = {
|
|
|
10545
10444
|
const _hoisted_8$3 = [
|
|
10546
10445
|
"onClick"
|
|
10547
10446
|
];
|
|
10548
|
-
function _sfc_render$
|
|
10447
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10549
10448
|
const _component_FAnalysisFile = resolveComponent("FAnalysisFile");
|
|
10550
10449
|
const _component_FAnalysisBucketFiles = resolveComponent("FAnalysisBucketFiles");
|
|
10551
10450
|
const _component_FAnalysisBucketFileUpload = resolveComponent("FAnalysisBucketFileUpload");
|
|
@@ -10622,19 +10521,15 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10622
10521
|
class: "me-1",
|
|
10623
10522
|
entity: file,
|
|
10624
10523
|
"files-selected": _ctx.selected,
|
|
10625
|
-
"file-selected-id": _ctx.entrypointFileId,
|
|
10626
10524
|
onCheck: _ctx.toggleFile,
|
|
10627
10525
|
onUpdated: props.updated,
|
|
10628
|
-
onDeleted: props.deleted
|
|
10629
|
-
onToggle: _ctx.changeEntryPointFile
|
|
10526
|
+
onDeleted: props.deleted
|
|
10630
10527
|
}, null, 8, [
|
|
10631
10528
|
"entity",
|
|
10632
10529
|
"files-selected",
|
|
10633
|
-
"file-selected-id",
|
|
10634
10530
|
"onCheck",
|
|
10635
10531
|
"onUpdated",
|
|
10636
|
-
"onDeleted"
|
|
10637
|
-
"onToggle"
|
|
10532
|
+
"onDeleted"
|
|
10638
10533
|
]);
|
|
10639
10534
|
}), 128))
|
|
10640
10535
|
])
|
|
@@ -10716,10 +10611,10 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10716
10611
|
])
|
|
10717
10612
|
]);
|
|
10718
10613
|
}
|
|
10719
|
-
var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10614
|
+
var FAnalysisBucketFileManager = /* @__PURE__ */ _export_sfc(_sfc_main$b, [
|
|
10720
10615
|
[
|
|
10721
10616
|
"render",
|
|
10722
|
-
_sfc_render$
|
|
10617
|
+
_sfc_render$b
|
|
10723
10618
|
]
|
|
10724
10619
|
]);
|
|
10725
10620
|
|
|
@@ -10738,7 +10633,7 @@ var FAnalysisBucket = defineComponent({
|
|
|
10738
10633
|
}
|
|
10739
10634
|
});
|
|
10740
10635
|
|
|
10741
|
-
var _sfc_main$
|
|
10636
|
+
var _sfc_main$a = defineComponent({
|
|
10742
10637
|
components: {
|
|
10743
10638
|
FAnalysisBucketFileManager,
|
|
10744
10639
|
FAnalysisBucket
|
|
@@ -10797,7 +10692,7 @@ const _hoisted_3$5 = [
|
|
|
10797
10692
|
const _hoisted_4$5 = {
|
|
10798
10693
|
class: "alert alert-sm alert-warning"
|
|
10799
10694
|
};
|
|
10800
|
-
function _sfc_render$
|
|
10695
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10801
10696
|
const _component_FAnalysisBucketFileManager = resolveComponent("FAnalysisBucketFileManager");
|
|
10802
10697
|
const _component_FAnalysisBucket = resolveComponent("FAnalysisBucket");
|
|
10803
10698
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -10872,14 +10767,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10872
10767
|
])
|
|
10873
10768
|
]);
|
|
10874
10769
|
}
|
|
10875
|
-
var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10770
|
+
var FAnalysisWizardStepFiles = /* @__PURE__ */ _export_sfc(_sfc_main$a, [
|
|
10876
10771
|
[
|
|
10877
10772
|
"render",
|
|
10878
|
-
_sfc_render$
|
|
10773
|
+
_sfc_render$a
|
|
10879
10774
|
]
|
|
10880
10775
|
]);
|
|
10881
10776
|
|
|
10882
|
-
var _sfc_main$
|
|
10777
|
+
var _sfc_main$9 = defineComponent({
|
|
10883
10778
|
components: {
|
|
10884
10779
|
BModal
|
|
10885
10780
|
},
|
|
@@ -10961,7 +10856,7 @@ const _hoisted_8$2 = [
|
|
|
10961
10856
|
"disabled",
|
|
10962
10857
|
"onClick"
|
|
10963
10858
|
];
|
|
10964
|
-
function _sfc_render$
|
|
10859
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10965
10860
|
const _component_VCFormInputCheckbox = resolveComponent("VCFormInputCheckbox");
|
|
10966
10861
|
const _component_BModal = resolveComponent("BModal");
|
|
10967
10862
|
return openBlock(), createBlock(_component_BModal, {
|
|
@@ -11073,7 +10968,180 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11073
10968
|
_: 1
|
|
11074
10969
|
});
|
|
11075
10970
|
}
|
|
11076
|
-
var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10971
|
+
var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$9, [
|
|
10972
|
+
[
|
|
10973
|
+
"render",
|
|
10974
|
+
_sfc_render$9
|
|
10975
|
+
]
|
|
10976
|
+
]);
|
|
10977
|
+
|
|
10978
|
+
const FAnalysisPermissionAssignment = defineComponent({
|
|
10979
|
+
props: {
|
|
10980
|
+
analysisId: String,
|
|
10981
|
+
permissionId: String
|
|
10982
|
+
},
|
|
10983
|
+
emits: defineEntityManagerEvents(),
|
|
10984
|
+
async setup (props, setup) {
|
|
10985
|
+
const manager = createEntityManager({
|
|
10986
|
+
type: `${DomainType.ANALYSIS_PERMISSION}`,
|
|
10987
|
+
setup,
|
|
10988
|
+
socket: {
|
|
10989
|
+
processEvent (event) {
|
|
10990
|
+
return event.data.permission_id === props.permissionId && event.data.analysis_id === props.analysisId;
|
|
10991
|
+
}
|
|
10992
|
+
}
|
|
10993
|
+
});
|
|
10994
|
+
await manager.resolve({
|
|
10995
|
+
query: {
|
|
10996
|
+
filters: {
|
|
10997
|
+
analysis_id: props.analysisId,
|
|
10998
|
+
permission_id: props.permissionId
|
|
10999
|
+
}
|
|
11000
|
+
}
|
|
11001
|
+
});
|
|
11002
|
+
return ()=>renderToggleButton$1({
|
|
11003
|
+
changed: (value)=>{
|
|
11004
|
+
if (value) {
|
|
11005
|
+
return manager.create({
|
|
11006
|
+
analysis_id: props.analysisId,
|
|
11007
|
+
permission_id: props.permissionId
|
|
11008
|
+
});
|
|
11009
|
+
}
|
|
11010
|
+
return manager.delete();
|
|
11011
|
+
},
|
|
11012
|
+
value: !!manager.data.value,
|
|
11013
|
+
isBusy: manager.busy.value
|
|
11014
|
+
});
|
|
11015
|
+
}
|
|
11016
|
+
});
|
|
11017
|
+
|
|
11018
|
+
const FAnalysisPermissionAssignments = defineComponent({
|
|
11019
|
+
props: {
|
|
11020
|
+
...defineEntityCollectionVProps(),
|
|
11021
|
+
entityId: {
|
|
11022
|
+
type: String,
|
|
11023
|
+
required: true
|
|
11024
|
+
}
|
|
11025
|
+
},
|
|
11026
|
+
setup (props, { slots, attrs, expose }) {
|
|
11027
|
+
const vNodeRef = ref(null);
|
|
11028
|
+
expose({
|
|
11029
|
+
load: (meta)=>{
|
|
11030
|
+
if (vNodeRef.value) {
|
|
11031
|
+
vNodeRef.value.load(meta);
|
|
11032
|
+
}
|
|
11033
|
+
}
|
|
11034
|
+
});
|
|
11035
|
+
return ()=>h(APermissions, mergeProps({
|
|
11036
|
+
ref: vNodeRef
|
|
11037
|
+
}, props, attrs), {
|
|
11038
|
+
[SlotName.ITEM_ACTIONS]: (slotProps)=>h(FAnalysisPermissionAssignment, {
|
|
11039
|
+
analysisId: props.entityId,
|
|
11040
|
+
permissionId: slotProps.data.id,
|
|
11041
|
+
key: slotProps.data.id
|
|
11042
|
+
}),
|
|
11043
|
+
...slots
|
|
11044
|
+
});
|
|
11045
|
+
}
|
|
11046
|
+
});
|
|
11047
|
+
|
|
11048
|
+
const NAME_PREFIX = '~analysis_self_';
|
|
11049
|
+
var _sfc_main$8 = defineComponent({
|
|
11050
|
+
components: {
|
|
11051
|
+
FPagination,
|
|
11052
|
+
FSearch,
|
|
11053
|
+
FAnalysisPermissionAssignments
|
|
11054
|
+
},
|
|
11055
|
+
props: {
|
|
11056
|
+
entity: {
|
|
11057
|
+
type: Object,
|
|
11058
|
+
required: true
|
|
11059
|
+
}
|
|
11060
|
+
},
|
|
11061
|
+
setup () {
|
|
11062
|
+
const vNode = ref(null);
|
|
11063
|
+
const filters = {
|
|
11064
|
+
name: NAME_PREFIX
|
|
11065
|
+
};
|
|
11066
|
+
const load = async (meta)=>{
|
|
11067
|
+
if (vNode.value) {
|
|
11068
|
+
const name = `${NAME_PREFIX}${meta.filters.name.substring(1)}`;
|
|
11069
|
+
filters.name = name;
|
|
11070
|
+
vNode.value.load({
|
|
11071
|
+
...meta,
|
|
11072
|
+
filters: {
|
|
11073
|
+
name
|
|
11074
|
+
}
|
|
11075
|
+
});
|
|
11076
|
+
}
|
|
11077
|
+
};
|
|
11078
|
+
return {
|
|
11079
|
+
filters,
|
|
11080
|
+
load,
|
|
11081
|
+
vNode
|
|
11082
|
+
};
|
|
11083
|
+
}
|
|
11084
|
+
});
|
|
11085
|
+
|
|
11086
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11087
|
+
const _component_FSearch = resolveComponent("FSearch");
|
|
11088
|
+
const _component_FPagination = resolveComponent("FPagination");
|
|
11089
|
+
const _component_FAnalysisPermissionAssignments = resolveComponent("FAnalysisPermissionAssignments");
|
|
11090
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
11091
|
+
_cache[0] || (_cache[0] = createElementVNode("div", null, [
|
|
11092
|
+
createElementVNode("h6", null, [
|
|
11093
|
+
createElementVNode("i", {
|
|
11094
|
+
class: "fa fa-key"
|
|
11095
|
+
}),
|
|
11096
|
+
createTextVNode(" Permissions ")
|
|
11097
|
+
])
|
|
11098
|
+
], -1)),
|
|
11099
|
+
_cache[1] || (_cache[1] = createElementVNode("div", {
|
|
11100
|
+
class: "alert alert-sm alert-danger"
|
|
11101
|
+
}, [
|
|
11102
|
+
createElementVNode("i", {
|
|
11103
|
+
class: "fa fa-info pe-1"
|
|
11104
|
+
}),
|
|
11105
|
+
createTextVNode(" The selection of permissions does not "),
|
|
11106
|
+
createElementVNode("b", null, "yet"),
|
|
11107
|
+
createTextVNode(" have any implications."),
|
|
11108
|
+
createElementVNode("br")
|
|
11109
|
+
], -1)),
|
|
11110
|
+
createVNode(_component_FAnalysisPermissionAssignments, {
|
|
11111
|
+
ref: "vNode",
|
|
11112
|
+
query: {
|
|
11113
|
+
filters: _ctx.filters
|
|
11114
|
+
},
|
|
11115
|
+
"entity-id": _ctx.entity.id
|
|
11116
|
+
}, {
|
|
11117
|
+
header: withCtx((props)=>[
|
|
11118
|
+
createVNode(_component_FSearch, {
|
|
11119
|
+
load: _ctx.load,
|
|
11120
|
+
meta: props.meta
|
|
11121
|
+
}, null, 8, [
|
|
11122
|
+
"load",
|
|
11123
|
+
"meta"
|
|
11124
|
+
])
|
|
11125
|
+
]),
|
|
11126
|
+
footer: withCtx((props)=>[
|
|
11127
|
+
createVNode(_component_FPagination, {
|
|
11128
|
+
busy: props.busy,
|
|
11129
|
+
meta: props.meta,
|
|
11130
|
+
load: props.load
|
|
11131
|
+
}, null, 8, [
|
|
11132
|
+
"busy",
|
|
11133
|
+
"meta",
|
|
11134
|
+
"load"
|
|
11135
|
+
])
|
|
11136
|
+
]),
|
|
11137
|
+
_: 1
|
|
11138
|
+
}, 8, [
|
|
11139
|
+
"query",
|
|
11140
|
+
"entity-id"
|
|
11141
|
+
])
|
|
11142
|
+
], 64);
|
|
11143
|
+
}
|
|
11144
|
+
var FAnalysisWizardStepSecurity = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
|
|
11077
11145
|
[
|
|
11078
11146
|
"render",
|
|
11079
11147
|
_sfc_render$8
|
|
@@ -11082,6 +11150,7 @@ var FAnalysisWizardLockModal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [
|
|
|
11082
11150
|
|
|
11083
11151
|
var _sfc_main$7 = defineComponent({
|
|
11084
11152
|
components: {
|
|
11153
|
+
FAnalysisWizardStepSecurity,
|
|
11085
11154
|
FAnalysisWizardStepFiles,
|
|
11086
11155
|
FormWizard,
|
|
11087
11156
|
WizardButton,
|
|
@@ -11318,6 +11387,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11318
11387
|
const _component_TabContent = resolveComponent("TabContent");
|
|
11319
11388
|
const _component_FAnalysisWizardStepFiles = resolveComponent("FAnalysisWizardStepFiles");
|
|
11320
11389
|
const _component_FAnalysisWizardStepMasterImage = resolveComponent("FAnalysisWizardStepMasterImage");
|
|
11390
|
+
const _component_FAnalysisWizardStepSecurity = resolveComponent("FAnalysisWizardStepSecurity");
|
|
11321
11391
|
const _component_FormWizard = resolveComponent("FormWizard");
|
|
11322
11392
|
return openBlock(), createBlock(_component_FormWizard, {
|
|
11323
11393
|
ref: "wizardNode",
|
|
@@ -11455,6 +11525,23 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11455
11525
|
_: 1
|
|
11456
11526
|
}, 8, [
|
|
11457
11527
|
"before-change"
|
|
11528
|
+
]),
|
|
11529
|
+
createVNode(_component_TabContent, {
|
|
11530
|
+
title: "Security",
|
|
11531
|
+
"before-change": _ctx.passWizardStep
|
|
11532
|
+
}, {
|
|
11533
|
+
default: withCtx(()=>[
|
|
11534
|
+
createVNode(_component_FAnalysisWizardStepSecurity, {
|
|
11535
|
+
entity: _ctx.entity,
|
|
11536
|
+
onFailed: _ctx.handleFailed
|
|
11537
|
+
}, null, 8, [
|
|
11538
|
+
"entity",
|
|
11539
|
+
"onFailed"
|
|
11540
|
+
])
|
|
11541
|
+
]),
|
|
11542
|
+
_: 1
|
|
11543
|
+
}, 8, [
|
|
11544
|
+
"before-change"
|
|
11458
11545
|
])
|
|
11459
11546
|
]),
|
|
11460
11547
|
_: 1
|
|
@@ -12483,7 +12570,7 @@ var _sfc_main$1 = defineComponent({
|
|
|
12483
12570
|
});
|
|
12484
12571
|
|
|
12485
12572
|
const _hoisted_1$1 = {
|
|
12486
|
-
class: "d-flex flex-column
|
|
12573
|
+
class: "d-flex flex-column analysis-item-card"
|
|
12487
12574
|
};
|
|
12488
12575
|
const _hoisted_2$1 = {
|
|
12489
12576
|
class: "d-flex flex-row align-items-center"
|
|
@@ -12515,85 +12602,84 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12515
12602
|
const _component_FAnalysisNodesProgress = resolveComponent("FAnalysisNodesProgress");
|
|
12516
12603
|
const _component_VCTimeago = resolveComponent("VCTimeago");
|
|
12517
12604
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
12518
|
-
createElementVNode("div",
|
|
12519
|
-
createElementVNode("div",
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12523
|
-
|
|
12524
|
-
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
createVNode(_component_VCLink, {
|
|
12532
|
-
to: "/analyses/" + props.entityId
|
|
12533
|
-
}, {
|
|
12534
|
-
default: withCtx(()=>[
|
|
12535
|
-
createTextVNode(toDisplayString(props.nameDisplay), 1)
|
|
12536
|
-
]),
|
|
12537
|
-
_: 2
|
|
12538
|
-
}, 1032, [
|
|
12539
|
-
"to"
|
|
12540
|
-
]),
|
|
12541
|
-
props.entityName ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(props.entityId), 1)) : createCommentVNode("", true)
|
|
12542
|
-
]),
|
|
12543
|
-
_: 1
|
|
12544
|
-
}, 8, [
|
|
12545
|
-
"entity-id",
|
|
12546
|
-
"entity-name",
|
|
12547
|
-
"onUpdated"
|
|
12548
|
-
])
|
|
12549
|
-
]),
|
|
12550
|
-
createElementVNode("div", _hoisted_5$1, [
|
|
12551
|
-
renderSlot(_ctx.$slots, "itemActions", {
|
|
12552
|
-
data: _ctx.entity
|
|
12553
|
-
}, ()=>[
|
|
12554
|
-
createElementVNode("button", {
|
|
12555
|
-
class: "btn btn-xs btn-dark",
|
|
12556
|
-
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.toggleView && _ctx.toggleView(...args), [
|
|
12557
|
-
"prevent"
|
|
12558
|
-
]))
|
|
12559
|
-
}, [
|
|
12560
|
-
createElementVNode("i", {
|
|
12561
|
-
class: normalizeClass({
|
|
12562
|
-
"fa fa-chevron-down": !_ctx.extendedView,
|
|
12563
|
-
"fa fa-chevron-up": _ctx.extendedView
|
|
12564
|
-
})
|
|
12565
|
-
}, null, 2)
|
|
12566
|
-
]),
|
|
12605
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
12606
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
12607
|
+
createVNode(_component_FAnalysisName, {
|
|
12608
|
+
class: "analysis-item-card-title",
|
|
12609
|
+
"entity-id": _ctx.entity.id,
|
|
12610
|
+
"entity-name": _ctx.entity.name,
|
|
12611
|
+
editable: true,
|
|
12612
|
+
onUpdated: _ctx.handleUpdated
|
|
12613
|
+
}, {
|
|
12614
|
+
default: withCtx((props)=>[
|
|
12615
|
+
_cache[1] || (_cache[1] = createElementVNode("i", {
|
|
12616
|
+
class: "fas fa-microscope me-1"
|
|
12617
|
+
}, null, -1)),
|
|
12567
12618
|
createVNode(_component_VCLink, {
|
|
12568
|
-
to: "/analyses/" +
|
|
12569
|
-
disabled: _ctx.busy,
|
|
12570
|
-
class: "btn btn-xs btn-dark ms-1"
|
|
12619
|
+
to: "/analyses/" + props.entityId
|
|
12571
12620
|
}, {
|
|
12572
|
-
default: withCtx(()=>
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
}, 8, [
|
|
12579
|
-
"to",
|
|
12580
|
-
"disabled"
|
|
12621
|
+
default: withCtx(()=>[
|
|
12622
|
+
createTextVNode(toDisplayString(props.nameDisplay), 1)
|
|
12623
|
+
]),
|
|
12624
|
+
_: 2
|
|
12625
|
+
}, 1032, [
|
|
12626
|
+
"to"
|
|
12581
12627
|
]),
|
|
12582
|
-
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
onDeleted: _ctx.handleDeleted
|
|
12590
|
-
}, null, 8, [
|
|
12591
|
-
"entity-id",
|
|
12592
|
-
"disabled",
|
|
12593
|
-
"onDeleted"
|
|
12594
|
-
])) : createCommentVNode("", true)
|
|
12595
|
-
])
|
|
12628
|
+
props.entityName ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(props.entityId), 1)) : createCommentVNode("", true)
|
|
12629
|
+
]),
|
|
12630
|
+
_: 1
|
|
12631
|
+
}, 8, [
|
|
12632
|
+
"entity-id",
|
|
12633
|
+
"entity-name",
|
|
12634
|
+
"onUpdated"
|
|
12596
12635
|
])
|
|
12636
|
+
]),
|
|
12637
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
12638
|
+
renderSlot(_ctx.$slots, "itemActions", {
|
|
12639
|
+
data: _ctx.entity
|
|
12640
|
+
}, ()=>[
|
|
12641
|
+
createElementVNode("button", {
|
|
12642
|
+
class: "btn btn-xs btn-dark",
|
|
12643
|
+
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.toggleView && _ctx.toggleView(...args), [
|
|
12644
|
+
"prevent"
|
|
12645
|
+
]))
|
|
12646
|
+
}, [
|
|
12647
|
+
createElementVNode("i", {
|
|
12648
|
+
class: normalizeClass({
|
|
12649
|
+
"fa fa-chevron-down": !_ctx.extendedView,
|
|
12650
|
+
"fa fa-chevron-up": _ctx.extendedView
|
|
12651
|
+
})
|
|
12652
|
+
}, null, 2)
|
|
12653
|
+
]),
|
|
12654
|
+
createVNode(_component_VCLink, {
|
|
12655
|
+
to: "/analyses/" + _ctx.entity.id,
|
|
12656
|
+
disabled: _ctx.busy,
|
|
12657
|
+
class: "btn btn-xs btn-dark ms-1"
|
|
12658
|
+
}, {
|
|
12659
|
+
default: withCtx(()=>_cache[2] || (_cache[2] = [
|
|
12660
|
+
createElementVNode("i", {
|
|
12661
|
+
class: "fa fa-bars"
|
|
12662
|
+
}, null, -1)
|
|
12663
|
+
])),
|
|
12664
|
+
_: 1
|
|
12665
|
+
}, 8, [
|
|
12666
|
+
"to",
|
|
12667
|
+
"disabled"
|
|
12668
|
+
]),
|
|
12669
|
+
_ctx.canDelete ? (openBlock(), createBlock(_component_FEntityDelete, {
|
|
12670
|
+
key: 0,
|
|
12671
|
+
"with-text": false,
|
|
12672
|
+
"entity-id": _ctx.entity.id,
|
|
12673
|
+
"entity-type": "analysis",
|
|
12674
|
+
disabled: _ctx.busy,
|
|
12675
|
+
class: "btn btn-xs btn-danger ms-1",
|
|
12676
|
+
onDeleted: _ctx.handleDeleted
|
|
12677
|
+
}, null, 8, [
|
|
12678
|
+
"entity-id",
|
|
12679
|
+
"disabled",
|
|
12680
|
+
"onDeleted"
|
|
12681
|
+
])) : createCommentVNode("", true)
|
|
12682
|
+
], true)
|
|
12597
12683
|
])
|
|
12598
12684
|
]),
|
|
12599
12685
|
createVNode(_component_FAnalysisPipeline, {
|
|
@@ -12652,6 +12738,10 @@ var FAnalysisItemCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [
|
|
|
12652
12738
|
[
|
|
12653
12739
|
"render",
|
|
12654
12740
|
_sfc_render$1
|
|
12741
|
+
],
|
|
12742
|
+
[
|
|
12743
|
+
"__scopeId",
|
|
12744
|
+
"data-v-56a48fa0"
|
|
12655
12745
|
]
|
|
12656
12746
|
]);
|
|
12657
12747
|
|
|
@@ -12724,6 +12814,7 @@ var FAnalyses = defineComponent({
|
|
|
12724
12814
|
item: {
|
|
12725
12815
|
content (item) {
|
|
12726
12816
|
return h(FAnalysisItem, {
|
|
12817
|
+
key: item.id,
|
|
12727
12818
|
entity: item,
|
|
12728
12819
|
onDeleted: handleDeleted,
|
|
12729
12820
|
onUpdated: handleUpdated,
|
|
@@ -13503,6 +13594,8 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
13503
13594
|
FAnalysisNodeProgress: FAnalysisNodesProgress,
|
|
13504
13595
|
FAnalysisNodeRunStatus: FAnalysisNodeRunStatus,
|
|
13505
13596
|
FAnalysisNodes: FAnalysisNodes,
|
|
13597
|
+
FAnalysisPermissionAssignment: FAnalysisPermissionAssignment,
|
|
13598
|
+
FAnalysisPermissionAssignments: FAnalysisPermissionAssignments,
|
|
13506
13599
|
FAnalysisPipeline: TrainPipeline,
|
|
13507
13600
|
FAnalysisWizard: FAnalysisWizard,
|
|
13508
13601
|
FEntityDelete: FEntityDelete,
|
|
@@ -13586,5 +13679,5 @@ var index = {
|
|
|
13586
13679
|
install
|
|
13587
13680
|
};
|
|
13588
13681
|
|
|
13589
|
-
export { ActionCommandElementType, ElementType, EntityListSlotName, EntityManagerError, FAnalyses, TrainEntity as FAnalysis, FAnalysisBasicForm, FAnalysisBucket, FAnalysisBucketDownload, FAnalysisBucketFileDownload, FAnalysisBucketFiles, FAnalysisFile, FAnalysisBucketFileManager as FAnalysisFileManager, FAnalysisFormFile, FAnalysisItem, FAnalysisLog, FAnalysisLogs, FAnalysisName, FAnalysisNode, FAnalysisNodeApprovalCommand, FAnalysisNodeApprovalStatus, FAnalysisNodeAssignAction, FAnalysisNodeInCard, FAnalysisNodeManager, FAnalysisNodesProgress as FAnalysisNodeProgress, FAnalysisNodeRunStatus, FAnalysisNodes, TrainPipeline as FAnalysisPipeline, FAnalysisWizard, FEntityDelete, FFormInputList as FFromInputList, FFormInputListItem as FFromInputListItem, FItemToggle, FMasterImage, FMasterImageEventLog, FMasterImageEventLogs, FNodeCrypto, FNodeForm, FNodeRegistryProject, FNodeRobot as FNodeRobotEntity, FNodes, FPagination, FProject, FProjectCreator, FProjectForm, FProjectInForm, FProjectItem, FProjectItemCard, FProjectNode, FProjectNodeApprovalCommand, FProjectNodeApprovalStatus, FProjectNodeAssignAction, FProjectNodeInCard, FProjectNodes, FProjects, FSearch, FTitle, FTranslation, FTranslationDefault, FLoginForm as LoginForm, MasterImageGroupList, MasterImageList, FMasterImagePicker as MasterImagePicker, FMasterImagesSync as MasterImagesSync, FRegistryCleanup as RegistryCleanup, FRegistryForm as RegistryForm, RegistryList, RegistryProjectDetails, FRegistryProjectForm as RegistryProjectForm, FRegistryProjects as RegistryProjectList, FRegistrySetup as RegistrySetup, alphaNumHyphenUnderscore$1 as alphaNumHyphenUnderscore, alphaWithUpperNumHyphenUnderScore, buildEntityManagerSlotProps, buildListCreatedHandler, buildListDeletedHandler, buildListUpdatedHandler, createEntityManager, createList, createListRaw, index as default, defineEntityManagerEvents, defineEntityManagerProps, defineListEvents, defineListProps, extendObjectProperties, extractVuelidateResultsFromChild, hasNormalizedSlot, initFormAttributesFromSource, injectCoreHTTPClient, injectSocketManager, injectStorageHTTPClient, install, installCoreHTTPClient, installSocketManager, installStorageHTTPClient, installTranslator, isCoreHTTPClientUsable, isQuerySortedDescByDate, isSocketManagerUsable, isStorageHTTPClientUsable, mergeListOptions, normalizeSlot, provideCoreHTTPClient, provideSocketManager, provideStorageHTTPClient, renderActionCommand, renderEntityAssignAction, renderToggleButton, wrapFnWithBusyState };
|
|
13682
|
+
export { ActionCommandElementType, ElementType, EntityListSlotName, EntityManagerError, FAnalyses, TrainEntity as FAnalysis, FAnalysisBasicForm, FAnalysisBucket, FAnalysisBucketDownload, FAnalysisBucketFileDownload, FAnalysisBucketFiles, FAnalysisFile, FAnalysisBucketFileManager as FAnalysisFileManager, FAnalysisFormFile, FAnalysisItem, FAnalysisLog, FAnalysisLogs, FAnalysisName, FAnalysisNode, FAnalysisNodeApprovalCommand, FAnalysisNodeApprovalStatus, FAnalysisNodeAssignAction, FAnalysisNodeInCard, FAnalysisNodeManager, FAnalysisNodesProgress as FAnalysisNodeProgress, FAnalysisNodeRunStatus, FAnalysisNodes, FAnalysisPermissionAssignment, FAnalysisPermissionAssignments, TrainPipeline as FAnalysisPipeline, FAnalysisWizard, FEntityDelete, FFormInputList as FFromInputList, FFormInputListItem as FFromInputListItem, FItemToggle, FMasterImage, FMasterImageEventLog, FMasterImageEventLogs, FNodeCrypto, FNodeForm, FNodeRegistryProject, FNodeRobot as FNodeRobotEntity, FNodes, FPagination, FProject, FProjectCreator, FProjectForm, FProjectInForm, FProjectItem, FProjectItemCard, FProjectNode, FProjectNodeApprovalCommand, FProjectNodeApprovalStatus, FProjectNodeAssignAction, FProjectNodeInCard, FProjectNodes, FProjects, FSearch, FTitle, FTranslation, FTranslationDefault, FLoginForm as LoginForm, MasterImageGroupList, MasterImageList, FMasterImagePicker as MasterImagePicker, FMasterImagesSync as MasterImagesSync, FRegistryCleanup as RegistryCleanup, FRegistryForm as RegistryForm, RegistryList, RegistryProjectDetails, FRegistryProjectForm as RegistryProjectForm, FRegistryProjects as RegistryProjectList, FRegistrySetup as RegistrySetup, alphaNumHyphenUnderscore$1 as alphaNumHyphenUnderscore, alphaWithUpperNumHyphenUnderScore, buildEntityManagerSlotProps, buildListCreatedHandler, buildListDeletedHandler, buildListUpdatedHandler, createEntityManager, createList, createListRaw, index as default, defineEntityManagerEvents, defineEntityManagerProps, defineListEvents, defineListProps, extendObjectProperties, extractVuelidateResultsFromChild, hasNormalizedSlot, initFormAttributesFromSource, injectCoreHTTPClient, injectSocketManager, injectStorageHTTPClient, install, installCoreHTTPClient, installSocketManager, installStorageHTTPClient, installTranslator, isCoreHTTPClientUsable, isQuerySortedDescByDate, isSocketManagerUsable, isStorageHTTPClientUsable, mergeListOptions, normalizeSlot, provideCoreHTTPClient, provideSocketManager, provideStorageHTTPClient, renderActionCommand, renderEntityAssignAction, renderToggleButton, wrapFnWithBusyState };
|
|
13590
13683
|
//# sourceMappingURL=index.mjs.map
|