@privateaim/client-vue 0.8.14 → 0.8.16
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/FEntityDelete.d.ts +15 -3
- package/dist/components/FEntityDelete.d.ts.map +1 -1
- package/dist/components/analysis/FAnalyses.d.ts +1 -1
- package/dist/components/analysis/FAnalysis.d.ts +1 -1
- package/dist/components/analysis/FAnalysisBasicForm.vue.d.ts +3 -3
- package/dist/components/analysis/FAnalysisCommand.d.ts +2 -2
- package/dist/components/analysis/FAnalysisImageCommandArguments.vue.d.ts +2 -2
- package/dist/components/analysis/FAnalysisItem.d.ts +8 -8
- package/dist/components/analysis/FAnalysisItemCard.vue.d.ts +23 -11
- package/dist/components/analysis/FAnalysisItemCard.vue.d.ts.map +1 -1
- package/dist/components/analysis/FAnalysisName.d.ts +2 -2
- package/dist/components/analysis/FAnalysisPipeline.vue.d.ts +4 -4
- package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts +101 -89
- package/dist/components/analysis/wizard/FAnalysisWizard.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardLockModal.vue.d.ts +36 -30
- package/dist/components/analysis/wizard/FAnalysisWizardLockModal.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts +48 -42
- package/dist/components/analysis/wizard/FAnalysisWizardStepFiles.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepImage.vue.d.ts +5 -5
- package/dist/components/analysis/wizard/FAnalysisWizardStepNodes.vue.d.ts +42 -36
- package/dist/components/analysis/wizard/FAnalysisWizardStepNodes.vue.d.ts.map +1 -1
- package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts +4 -4
- package/dist/components/analysis/wizard/FAnalysisWizardStepSecurity.vue.d.ts.map +1 -1
- package/dist/components/analysis-bucket/FAnalysisBucket.d.ts +1 -1
- package/dist/components/analysis-bucket-file/FAnalysisBucketFile.vue.d.ts +2 -2
- package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts +45 -39
- package/dist/components/analysis-bucket-file/FAnalysisBucketFileManager.vue.d.ts.map +1 -1
- package/dist/components/analysis-bucket-file/FAnalysisBucketFileUpload.vue.d.ts +4 -4
- package/dist/components/analysis-bucket-file/FAnalysisBucketFiles.d.ts +1 -1
- package/dist/components/analysis-log/FAnalysisLogs.d.ts.map +1 -1
- package/dist/components/analysis-log/index.d.ts +0 -1
- package/dist/components/analysis-log/index.d.ts.map +1 -1
- package/dist/components/analysis-node/FAnalsisNodeApprovalCommand.d.ts +2 -2
- package/dist/components/analysis-node/FAnalysisNode.d.ts +1 -1
- package/dist/components/analysis-node/FAnalysisNodeAssignAction.d.ts +1 -1
- package/dist/components/analysis-node/FAnalysisNodeInCard.vue.d.ts +7 -7
- package/dist/components/analysis-node/FAnalysisNodeManager.vue.d.ts +40 -34
- package/dist/components/analysis-node/FAnalysisNodeManager.vue.d.ts.map +1 -1
- package/dist/components/analysis-permission/FAnalysisPermissionAssignment.d.ts +1 -1
- package/dist/components/analysis-permission/FAnalysisPermissionAssignments.d.ts +1 -1
- package/dist/components/{master-image-event-log/FMasterImageEventLog.d.ts → event/FEvent.d.ts} +4 -4
- package/dist/components/event/FEvent.d.ts.map +1 -0
- package/dist/components/event/FEventActor.vue.d.ts +15 -0
- package/dist/components/event/FEventActor.vue.d.ts.map +1 -0
- package/dist/components/event/FEventExpiring.vue.d.ts +25 -0
- package/dist/components/event/FEventExpiring.vue.d.ts.map +1 -0
- package/dist/components/event/FEventRef.vue.d.ts +25 -0
- package/dist/components/event/FEventRef.vue.d.ts.map +1 -0
- package/dist/components/event/FEvents.vue.d.ts +355 -0
- package/dist/components/event/FEvents.vue.d.ts.map +1 -0
- package/dist/components/event/index.d.ts +6 -0
- package/dist/components/event/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/{analysis-log/FAnalysisLog.d.ts → log/FLog.d.ts} +6 -6
- package/dist/components/log/FLog.d.ts.map +1 -0
- package/dist/components/log/FLogs.vue.d.ts +210 -0
- package/dist/components/log/FLogs.vue.d.ts.map +1 -0
- package/dist/components/log/index.d.ts +3 -0
- package/dist/components/log/index.d.ts.map +1 -0
- package/dist/components/master-image/FMasterImage.d.ts +1 -1
- package/dist/components/master-image/FMasterImagePicker.d.ts +1 -1
- package/dist/components/master-image/FMasterImages.d.ts +1 -1
- package/dist/components/master-image/FMasterImagesSync.d.ts +16 -4
- package/dist/components/master-image/FMasterImagesSync.d.ts.map +1 -1
- package/dist/components/master-image-group/FMasterImageGroups.d.ts +1 -1
- package/dist/components/node/FNodeCrypto.vue.d.ts +2 -5
- package/dist/components/node/FNodeCrypto.vue.d.ts.map +1 -1
- package/dist/components/node/FNodeForm.d.ts +2 -2
- package/dist/components/node/FNodeRegistryProject.d.ts +2 -2
- package/dist/components/node/FNodeRobot.d.ts +2 -2
- package/dist/components/node/FNodes.d.ts +1 -1
- package/dist/components/project/FProject.d.ts +1 -1
- package/dist/components/project/FProjectForm.d.ts +1 -1
- package/dist/components/project/FProjectItem.d.ts +2 -2
- package/dist/components/project/FProjectItemCard.vue.d.ts +15 -3
- package/dist/components/project/FProjectItemCard.vue.d.ts.map +1 -1
- package/dist/components/project/FProjects.d.ts +1 -1
- package/dist/components/project-node/FProjectNode.d.ts +1 -1
- package/dist/components/project-node/FProjectNodeApprovalCommand.d.ts +2 -2
- package/dist/components/project-node/FProjectNodeAssignAction.d.ts +1 -1
- package/dist/components/project-node/FProjectNodeInCard.vue.d.ts +38 -32
- package/dist/components/project-node/FProjectNodeInCard.vue.d.ts.map +1 -1
- package/dist/components/registry/FRegistries.d.ts +1 -1
- package/dist/components/registry/FRegistryCleanup.d.ts +16 -4
- package/dist/components/registry/FRegistryCleanup.d.ts.map +1 -1
- package/dist/components/registry/FRegistryForm.d.ts +1 -1
- package/dist/components/registry/FRegistrySetup.d.ts +16 -4
- package/dist/components/registry/FRegistrySetup.d.ts.map +1 -1
- package/dist/components/registry-project/FRegistryProject.d.ts +1 -1
- package/dist/components/registry-project/FRegistryProjects.d.ts +1 -1
- package/dist/components/utility/search/FSearch.d.ts +1 -1
- package/dist/core/entity-socket/module.d.ts.map +1 -1
- package/dist/core/http-client/index.d.ts +1 -0
- package/dist/core/http-client/index.d.ts.map +1 -1
- package/dist/core/http-client/telemetry/index.d.ts +3 -0
- package/dist/core/http-client/telemetry/index.d.ts.map +1 -0
- package/dist/core/http-client/telemetry/install.d.ts +4 -0
- package/dist/core/http-client/telemetry/install.d.ts.map +1 -0
- package/dist/core/http-client/telemetry/singleton.d.ts +6 -0
- package/dist/core/http-client/telemetry/singleton.d.ts.map +1 -0
- package/dist/index.cjs +1264 -1062
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1264 -1070
- package/dist/index.mjs.map +1 -1
- package/dist/module.d.ts.map +1 -1
- package/dist/type.d.ts +1 -0
- package/dist/type.d.ts.map +1 -1
- package/package.json +23 -20
- package/dist/components/analysis-log/FAnalysisLog.d.ts.map +0 -1
- package/dist/components/master-image-event-log/FMasterImageEventLog.d.ts.map +0 -1
- package/dist/components/master-image-event-log/FMasterImageEventLogs.d.ts +0 -5
- package/dist/components/master-image-event-log/FMasterImageEventLogs.d.ts.map +0 -1
- package/dist/components/master-image-event-log/index.d.ts +0 -3
- package/dist/components/master-image-event-log/index.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { hasOwnProperty as hasOwnProperty$1, isObject as isObject$
|
|
2
|
-
import { hasInjectionContext, inject as inject$1, provide as provide$1, defineComponent, toRef,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import useVuelidate from '@vuelidate/core';
|
|
6
|
-
import { maxLength, minLength, required, helpers } from '@vuelidate/validators';
|
|
7
|
-
import { VCFormSubmit, VCFormInput, buildFormGroup, buildFormSelect, VCFormGroup, buildFormTextarea, buildFormInput, buildFormInputCheckbox } from '@vuecs/form-controls';
|
|
8
|
-
import { ServiceID, buildDomainNamespaceName, DomainEventSubscriptionName, buildDomainChannelName, DomainType, MasterImageCommand, ProjectNodeApprovalCommand, ProjectNodeApprovalStatus, DomainSubType, RegistryAPICommand, registryRobotSecretRegex, RegistryProjectType, NodeType, AnalysisBucketType, AnalysisAPICommand, AnalysisConfigurationStatus, isAnalysisAPICommandExecutable, AnalysisBuildStatus, AnalysisResultStatus, AnalysisRunStatus, AnalysisNodeRunStatus, AnalysisNodeApprovalCommand, AnalysisNodeApprovalStatus } from '@privateaim/core-kit';
|
|
1
|
+
import { hasOwnProperty as hasOwnProperty$1, isObject as isObject$4, merge, createMerger } from 'smob';
|
|
2
|
+
import { hasInjectionContext, inject as inject$1, provide as provide$1, defineComponent, toRef, computed, h, resolveDynamicComponent, isRef, onMounted, onUnmounted, watch, ref, unref, resolveComponent, createElementBlock, openBlock, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, Fragment, renderList, createBlock, reactive, withModifiers, createVNode, withCtx, createTextVNode, nextTick, getCurrentInstance, mergeProps, toDisplayString, normalizeClass, createCommentVNode, shallowRef, shallowReadonly, toValue, getCurrentScope, onScopeDispose, toRaw, withDirectives, vShow, vModelCheckbox, normalizeStyle } from 'vue';
|
|
3
|
+
import { VCTimeago } from '@vuecs/timeago';
|
|
4
|
+
import { LogLevel, LogLevelColor, APIClient as APIClient$1 } from '@privateaim/telemetry-kit';
|
|
9
5
|
import { REALM_MASTER_NAME, EntityDefaultEventName } from '@authup/core-kit';
|
|
10
6
|
import crypto$1 from 'crypto';
|
|
11
7
|
import { buildList, SlotName } from '@vuecs/list-controls';
|
|
12
8
|
import { buildQuery, SortDirection } from 'rapiq';
|
|
13
9
|
import '@authup/kit';
|
|
10
|
+
import { ServiceID, buildDomainNamespaceName, DomainEventSubscriptionName, buildDomainChannelName, DomainType, MasterImageCommand, ProjectNodeApprovalCommand, ProjectNodeApprovalStatus, DomainSubType, RegistryAPICommand, registryRobotSecretRegex, RegistryProjectType, NodeType, AnalysisBucketType, AnalysisAPICommand, AnalysisConfigurationStatus, isAnalysisAPICommandExecutable, AnalysisBuildStatus, AnalysisResultStatus, AnalysisRunStatus, AnalysisNodeRunStatus, AnalysisNodeApprovalCommand, AnalysisNodeApprovalStatus } from '@privateaim/core-kit';
|
|
11
|
+
import { injectHTTPClientAuthenticationHook, inject as inject$2, provide as provide$2, injectStore, 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';
|
|
14
12
|
import { APIClient } from '@privateaim/storage-kit';
|
|
15
13
|
import { ClientManager } from '@authup/core-realtime-kit';
|
|
16
|
-
import {
|
|
14
|
+
import { install as install$1, IVuelidate, useTranslationsForNestedValidations, getSeverity } from '@ilingo/vuelidate';
|
|
15
|
+
import { helpers, maxLength, minLength, required } from '@vuelidate/validators';
|
|
16
|
+
import useVuelidate from '@vuelidate/core';
|
|
17
|
+
import { VCFormSubmit, VCFormInput, buildFormGroup, buildFormSelect, VCFormGroup, buildFormTextarea, buildFormInput, buildFormInputCheckbox } from '@vuecs/form-controls';
|
|
17
18
|
import { VCLink } from '@vuecs/link';
|
|
18
19
|
import { BModal, useModalController } from 'bootstrap-vue-next';
|
|
19
20
|
import { TabContent, WizardButton, FormWizard } from 'vue3-form-wizard';
|
|
@@ -66,7 +67,7 @@ import { TabContent, WizardButton, FormWizard } from 'vue3-form-wizard';
|
|
|
66
67
|
* Author Peter Placzek (tada5hi)
|
|
67
68
|
* For the full copyright and license information,
|
|
68
69
|
* view the LICENSE file that was distributed with this source code.
|
|
69
|
-
*/ function isObject$
|
|
70
|
+
*/ function isObject$3(input) {
|
|
70
71
|
return !!input && typeof input === 'object' && !Array.isArray(input);
|
|
71
72
|
}
|
|
72
73
|
function getPathValue(data, path) {
|
|
@@ -98,7 +99,7 @@ function setPathValue(data, path, value) {
|
|
|
98
99
|
let temp = data;
|
|
99
100
|
let index = 0;
|
|
100
101
|
while(index < parts.length){
|
|
101
|
-
/* istanbul ignore next */ if (!Array.isArray(temp) && !isObject$
|
|
102
|
+
/* istanbul ignore next */ if (!Array.isArray(temp) && !isObject$3(temp)) {
|
|
102
103
|
break;
|
|
103
104
|
}
|
|
104
105
|
const key = parts[index];
|
|
@@ -234,176 +235,119 @@ function installStoreManager(instance, key) {
|
|
|
234
235
|
return manager;
|
|
235
236
|
}
|
|
236
237
|
|
|
237
|
-
var
|
|
238
|
-
components: {
|
|
239
|
-
IVuelidate,
|
|
240
|
-
VCFormInput,
|
|
241
|
-
VCFormSubmit
|
|
242
|
-
},
|
|
238
|
+
var FLog = defineComponent({
|
|
243
239
|
props: {
|
|
244
|
-
|
|
245
|
-
type:
|
|
240
|
+
index: {
|
|
241
|
+
type: Number,
|
|
242
|
+
default: 0
|
|
243
|
+
},
|
|
244
|
+
entity: {
|
|
245
|
+
type: Object,
|
|
246
|
+
required: true
|
|
246
247
|
}
|
|
247
248
|
},
|
|
248
|
-
|
|
249
|
-
'
|
|
250
|
-
'
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
249
|
+
setup (props) {
|
|
250
|
+
const entity = toRef(props, 'entity');
|
|
251
|
+
const index = toRef(props, 'index');
|
|
252
|
+
const isError = computed(()=>[
|
|
253
|
+
LogLevel.ERROR,
|
|
254
|
+
LogLevel.CRITICAL,
|
|
255
|
+
LogLevel.EMERGENCE,
|
|
256
|
+
LogLevel.ALERT,
|
|
257
|
+
LogLevel.WARNING
|
|
258
|
+
].indexOf(entity.value.level) !== -1);
|
|
259
|
+
const isoDate = computed(()=>{
|
|
260
|
+
let date;
|
|
261
|
+
if (typeof entity.value.time === 'string') {
|
|
262
|
+
date = new Date(Math.floor(Number(BigInt(entity.value.time) / 1000000n)));
|
|
263
|
+
} else {
|
|
264
|
+
date = new Date(Math.floor(Number(entity.value.time / 1000000n)));
|
|
265
|
+
}
|
|
266
|
+
return date.toISOString();
|
|
265
267
|
});
|
|
266
|
-
const
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
268
|
+
const color = computed(()=>{
|
|
269
|
+
switch(entity.value.level){
|
|
270
|
+
case LogLevel.EMERGENCE:
|
|
271
|
+
{
|
|
272
|
+
return LogLevelColor.EMERGENCE;
|
|
273
|
+
}
|
|
274
|
+
case LogLevel.ALERT:
|
|
275
|
+
{
|
|
276
|
+
return LogLevelColor.ALERT;
|
|
277
|
+
}
|
|
278
|
+
case LogLevel.CRITICAL:
|
|
279
|
+
{
|
|
280
|
+
return LogLevelColor.CRITICAL;
|
|
281
|
+
}
|
|
282
|
+
case LogLevel.ERROR:
|
|
283
|
+
{
|
|
284
|
+
return LogLevelColor.ERROR;
|
|
285
|
+
}
|
|
286
|
+
case LogLevel.WARNING:
|
|
287
|
+
{
|
|
288
|
+
return LogLevelColor.WARNING;
|
|
289
|
+
}
|
|
290
|
+
case LogLevel.NOTICE:
|
|
291
|
+
{
|
|
292
|
+
return LogLevelColor.NOTICE;
|
|
293
|
+
}
|
|
294
|
+
case LogLevel.INFORMATIONAL:
|
|
295
|
+
{
|
|
296
|
+
return LogLevelColor.INFORMATIONAL;
|
|
297
|
+
}
|
|
298
|
+
case LogLevel.DEBUG:
|
|
299
|
+
{
|
|
300
|
+
return LogLevelColor.DEBUG;
|
|
301
|
+
}
|
|
302
|
+
default:
|
|
303
|
+
{
|
|
304
|
+
return null;
|
|
305
|
+
}
|
|
292
306
|
}
|
|
293
|
-
};
|
|
294
|
-
return {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
+
});
|
|
308
|
+
return ()=>h('div', {
|
|
309
|
+
class: `line line-${index.value + 1}`
|
|
310
|
+
}, [
|
|
311
|
+
h('div', {
|
|
312
|
+
class: 'd-flex flex-row'
|
|
313
|
+
}, [
|
|
314
|
+
h('div', {
|
|
315
|
+
class: 'line-number'
|
|
316
|
+
}, [
|
|
317
|
+
index.value + 1
|
|
318
|
+
]),
|
|
319
|
+
h('div', {
|
|
320
|
+
class: 'line-content d-flex flex-row'
|
|
321
|
+
}, [
|
|
322
|
+
h('div', {
|
|
323
|
+
class: 'line-component',
|
|
324
|
+
style: `color: ${color.value}`
|
|
325
|
+
}, [
|
|
326
|
+
`${entity.value.level}`
|
|
327
|
+
]),
|
|
328
|
+
h('div', {
|
|
329
|
+
class: [
|
|
330
|
+
'line-message',
|
|
331
|
+
{
|
|
332
|
+
error: isError.value
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
}, [
|
|
336
|
+
entity.value.message
|
|
337
|
+
]),
|
|
338
|
+
h('div', {
|
|
339
|
+
class: 'ms-auto'
|
|
340
|
+
}, [
|
|
341
|
+
h(VCTimeago, {
|
|
342
|
+
datetime: isoDate.value
|
|
343
|
+
})
|
|
344
|
+
])
|
|
345
|
+
])
|
|
346
|
+
])
|
|
347
|
+
]);
|
|
307
348
|
}
|
|
308
|
-
return target;
|
|
309
349
|
});
|
|
310
350
|
|
|
311
|
-
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
312
|
-
const _component_VCFormInput = resolveComponent("VCFormInput");
|
|
313
|
-
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
314
|
-
const _component_IVuelidate = resolveComponent("IVuelidate");
|
|
315
|
-
const _component_VCFormSubmit = resolveComponent("VCFormSubmit");
|
|
316
|
-
return openBlock(), createElementBlock("form", {
|
|
317
|
-
onSubmit: _cache[3] || (_cache[3] = withModifiers((...args)=>_ctx.submit && _ctx.submit(...args), [
|
|
318
|
-
"prevent"
|
|
319
|
-
]))
|
|
320
|
-
}, [
|
|
321
|
-
createVNode(_component_IVuelidate, {
|
|
322
|
-
validation: _ctx.vuelidate.name
|
|
323
|
-
}, {
|
|
324
|
-
default: withCtx((props)=>[
|
|
325
|
-
createVNode(_component_VCFormGroup, {
|
|
326
|
-
"validation-messages": props.data,
|
|
327
|
-
"validation-severity": props.severity
|
|
328
|
-
}, {
|
|
329
|
-
label: withCtx(()=>_cache[4] || (_cache[4] = [
|
|
330
|
-
createTextVNode(" Name ")
|
|
331
|
-
])),
|
|
332
|
-
default: withCtx(()=>[
|
|
333
|
-
createVNode(_component_VCFormInput, {
|
|
334
|
-
modelValue: _ctx.vuelidate.name.$model,
|
|
335
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>_ctx.vuelidate.name.$model = $event)
|
|
336
|
-
}, null, 8, [
|
|
337
|
-
"modelValue"
|
|
338
|
-
])
|
|
339
|
-
]),
|
|
340
|
-
_: 2
|
|
341
|
-
}, 1032, [
|
|
342
|
-
"validation-messages",
|
|
343
|
-
"validation-severity"
|
|
344
|
-
])
|
|
345
|
-
]),
|
|
346
|
-
_: 1
|
|
347
|
-
}, 8, [
|
|
348
|
-
"validation"
|
|
349
|
-
]),
|
|
350
|
-
createVNode(_component_IVuelidate, {
|
|
351
|
-
validation: _ctx.vuelidate.password
|
|
352
|
-
}, {
|
|
353
|
-
default: withCtx((props)=>[
|
|
354
|
-
createVNode(_component_VCFormGroup, {
|
|
355
|
-
"validation-messages": props.data,
|
|
356
|
-
"validation-severity": props.severity
|
|
357
|
-
}, {
|
|
358
|
-
label: withCtx(()=>_cache[5] || (_cache[5] = [
|
|
359
|
-
createTextVNode(" Password ")
|
|
360
|
-
])),
|
|
361
|
-
default: withCtx(()=>[
|
|
362
|
-
createVNode(_component_VCFormInput, {
|
|
363
|
-
modelValue: _ctx.vuelidate.password.$model,
|
|
364
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event)=>_ctx.vuelidate.password.$model = $event),
|
|
365
|
-
type: "password"
|
|
366
|
-
}, null, 8, [
|
|
367
|
-
"modelValue"
|
|
368
|
-
])
|
|
369
|
-
]),
|
|
370
|
-
_: 2
|
|
371
|
-
}, 1032, [
|
|
372
|
-
"validation-messages",
|
|
373
|
-
"validation-severity"
|
|
374
|
-
])
|
|
375
|
-
]),
|
|
376
|
-
_: 1
|
|
377
|
-
}, 8, [
|
|
378
|
-
"validation"
|
|
379
|
-
]),
|
|
380
|
-
createVNode(_component_VCFormSubmit, {
|
|
381
|
-
modelValue: _ctx.busy,
|
|
382
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event)=>_ctx.busy = $event),
|
|
383
|
-
invalid: _ctx.vuelidate.$invalid,
|
|
384
|
-
"create-text": "Login",
|
|
385
|
-
"create-button-class": {
|
|
386
|
-
value: "btn btn-sm btn-dark btn-block",
|
|
387
|
-
presets: {
|
|
388
|
-
bootstrap: false
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"create-icon-class": "fa-solid fa-right-to-bracket",
|
|
392
|
-
submit: _ctx.submit
|
|
393
|
-
}, null, 8, [
|
|
394
|
-
"modelValue",
|
|
395
|
-
"invalid",
|
|
396
|
-
"submit"
|
|
397
|
-
])
|
|
398
|
-
], 32);
|
|
399
|
-
}
|
|
400
|
-
var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$q, [
|
|
401
|
-
[
|
|
402
|
-
"render",
|
|
403
|
-
_sfc_render$q
|
|
404
|
-
]
|
|
405
|
-
]);
|
|
406
|
-
|
|
407
351
|
/*
|
|
408
352
|
* Copyright (c) 2024.
|
|
409
353
|
* Author Peter Placzek (tada5hi)
|
|
@@ -543,7 +487,7 @@ function _async_to_generator$1$1(fn) {
|
|
|
543
487
|
});
|
|
544
488
|
};
|
|
545
489
|
}
|
|
546
|
-
function _define_property$
|
|
490
|
+
function _define_property$6(obj, key, value) {
|
|
547
491
|
if (key in obj) {
|
|
548
492
|
Object.defineProperty(obj, key, {
|
|
549
493
|
value: value,
|
|
@@ -566,7 +510,7 @@ function _object_spread$4(target) {
|
|
|
566
510
|
}));
|
|
567
511
|
}
|
|
568
512
|
ownKeys.forEach(function(key) {
|
|
569
|
-
_define_property$
|
|
513
|
+
_define_property$6(target, key, source[key]);
|
|
570
514
|
});
|
|
571
515
|
}
|
|
572
516
|
return target;
|
|
@@ -591,22 +535,6 @@ function _object_spread_props(target, source) {
|
|
|
591
535
|
return target;
|
|
592
536
|
}
|
|
593
537
|
class CryptoAsymmetricAlgorithm {
|
|
594
|
-
buildImportParams() {
|
|
595
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
596
|
-
return {
|
|
597
|
-
name: 'RSA-OAEP',
|
|
598
|
-
hash: 'SHA-256'
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
602
|
-
return {
|
|
603
|
-
name: 'ECDH',
|
|
604
|
-
namedCurve: this.algorithm.namedCurve,
|
|
605
|
-
hash: 'SHA-256'
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
throw new Error('Import params could not be created.');
|
|
609
|
-
}
|
|
610
538
|
generateKeyPair() {
|
|
611
539
|
return _async_to_generator$1$1(function*() {
|
|
612
540
|
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
@@ -625,107 +553,19 @@ class CryptoAsymmetricAlgorithm {
|
|
|
625
553
|
throw new Error('The algorithm is not supported for key generation.');
|
|
626
554
|
}).call(this);
|
|
627
555
|
}
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
exportPrivateKey() {
|
|
643
|
-
return _async_to_generator$1$1(function*() {
|
|
644
|
-
const keyPair = yield this.useKeyPair();
|
|
645
|
-
return exportAsymmetricPrivateKey(keyPair.privateKey);
|
|
646
|
-
}).call(this);
|
|
647
|
-
}
|
|
648
|
-
encrypt(data, remoteKey) {
|
|
649
|
-
return _async_to_generator$1$1(function*() {
|
|
650
|
-
const keyPair = yield this.useKeyPair();
|
|
651
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
652
|
-
return crypto.subtle.encrypt({
|
|
653
|
-
name: 'RSA-OAEP'
|
|
654
|
-
}, remoteKey || keyPair.publicKey, data);
|
|
655
|
-
}
|
|
656
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
657
|
-
if (typeof remoteKey === 'undefined') {
|
|
658
|
-
throw new Error('Remote public key is required.');
|
|
659
|
-
}
|
|
660
|
-
const array = new Uint8Array(16);
|
|
661
|
-
const iv = crypto.getRandomValues(array);
|
|
662
|
-
const key = yield crypto.subtle.deriveKey({
|
|
663
|
-
name: 'ECDH',
|
|
664
|
-
public: remoteKey
|
|
665
|
-
}, keyPair.privateKey, {
|
|
666
|
-
name: 'AES-GCM',
|
|
667
|
-
length: 256
|
|
668
|
-
}, true, [
|
|
669
|
-
'encrypt'
|
|
670
|
-
]);
|
|
671
|
-
const arrayBuffer = yield crypto.subtle.encrypt({
|
|
672
|
-
name: 'AES-GCM',
|
|
673
|
-
length: 256,
|
|
674
|
-
iv
|
|
675
|
-
}, key, data);
|
|
676
|
-
const buffer = Buffer.from(arrayBuffer);
|
|
677
|
-
return Buffer.concat([
|
|
678
|
-
iv,
|
|
679
|
-
buffer
|
|
680
|
-
]);
|
|
681
|
-
}
|
|
682
|
-
throw new Error('Unsupported algorithm for encryption.');
|
|
683
|
-
}).call(this);
|
|
684
|
-
}
|
|
685
|
-
decrypt(data, remoteKey) {
|
|
686
|
-
return _async_to_generator$1$1(function*() {
|
|
687
|
-
const keyPair = yield this.useKeyPair();
|
|
688
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
689
|
-
return crypto.subtle.decrypt({
|
|
690
|
-
name: 'RSA-OAEP'
|
|
691
|
-
}, keyPair.privateKey, data);
|
|
692
|
-
}
|
|
693
|
-
if (this.algorithm.name === AsymmetricCryptoAlgorithmName.ECDH) {
|
|
694
|
-
if (typeof remoteKey === 'undefined') {
|
|
695
|
-
throw new Error('Remote public key is required.');
|
|
696
|
-
}
|
|
697
|
-
const iv = data.slice(0, 16);
|
|
698
|
-
const key = yield crypto.subtle.deriveKey({
|
|
699
|
-
name: 'ECDH',
|
|
700
|
-
public: remoteKey
|
|
701
|
-
}, keyPair.privateKey, {
|
|
702
|
-
name: 'AES-GCM',
|
|
703
|
-
length: 256
|
|
704
|
-
}, true, [
|
|
705
|
-
'decrypt'
|
|
706
|
-
]);
|
|
707
|
-
return crypto.subtle.decrypt({
|
|
708
|
-
name: 'AES-GCM',
|
|
709
|
-
length: 256,
|
|
710
|
-
iv
|
|
711
|
-
}, key, data.slice(16));
|
|
712
|
-
}
|
|
713
|
-
throw new Error('Unsupported algorithm for decryption.');
|
|
714
|
-
}).call(this);
|
|
715
|
-
}
|
|
716
|
-
constructor(algorithm){
|
|
717
|
-
_define_property$1$1(this, "algorithm", void 0);
|
|
718
|
-
_define_property$1$1(this, "keyPair", void 0);
|
|
719
|
-
if (algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
720
|
-
algorithm = _object_spread_props(_object_spread$4({}, algorithm), {
|
|
721
|
-
publicExponent: new Uint8Array([
|
|
722
|
-
1,
|
|
723
|
-
0,
|
|
724
|
-
1
|
|
725
|
-
])
|
|
726
|
-
});
|
|
727
|
-
}
|
|
728
|
-
this.algorithm = algorithm;
|
|
556
|
+
constructor(algorithm){
|
|
557
|
+
_define_property$6(this, "algorithm", void 0);
|
|
558
|
+
_define_property$6(this, "keyPair", void 0);
|
|
559
|
+
if (algorithm.name === AsymmetricCryptoAlgorithmName.RSA_OAEP) {
|
|
560
|
+
algorithm = _object_spread_props(_object_spread$4({}, algorithm), {
|
|
561
|
+
publicExponent: new Uint8Array([
|
|
562
|
+
1,
|
|
563
|
+
0,
|
|
564
|
+
1
|
|
565
|
+
])
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
this.algorithm = algorithm;
|
|
729
569
|
}
|
|
730
570
|
}
|
|
731
571
|
/*
|
|
@@ -734,9 +574,15 @@ class CryptoAsymmetricAlgorithm {
|
|
|
734
574
|
* For the full copyright and license information,
|
|
735
575
|
* view the LICENSE file that was distributed with this source code.
|
|
736
576
|
*/ var PermissionName = /*#__PURE__*/ function(PermissionName) {
|
|
577
|
+
PermissionName["EVENT_CREATE"] = "event_create";
|
|
578
|
+
PermissionName["EVENT_READ"] = "event_read";
|
|
579
|
+
PermissionName["EVENT_DELETE"] = "event_delete";
|
|
737
580
|
PermissionName["BUCKET_CREATE"] = "bucket_create";
|
|
738
581
|
PermissionName["BUCKET_UPDATE"] = "bucket_update";
|
|
739
582
|
PermissionName["BUCKET_DELETE"] = "bucket_delete";
|
|
583
|
+
PermissionName["LOG_CREATE"] = "log_create";
|
|
584
|
+
PermissionName["LOG_DELETE"] = "log_delete";
|
|
585
|
+
PermissionName["LOG_READ"] = "log_read";
|
|
740
586
|
PermissionName["PROJECT_CREATE"] = "project_create";
|
|
741
587
|
PermissionName["PROJECT_DELETE"] = "project_delete";
|
|
742
588
|
PermissionName["PROJECT_UPDATE"] = "project_update";
|
|
@@ -787,14 +633,6 @@ function hexToUTF8(value) {
|
|
|
787
633
|
throw e;
|
|
788
634
|
}
|
|
789
635
|
}
|
|
790
|
-
/*
|
|
791
|
-
* Copyright (c) 2025.
|
|
792
|
-
* Author Peter Placzek (tada5hi)
|
|
793
|
-
* For the full copyright and license information,
|
|
794
|
-
* view the LICENSE file that was distributed with this source code.
|
|
795
|
-
*/ function isObject$3(item) {
|
|
796
|
-
return !!item && typeof item === 'object' && !Array.isArray(item);
|
|
797
|
-
}
|
|
798
636
|
function createNanoID(alphabetOrLen, len) {
|
|
799
637
|
return customAlphabet('0123456789abcdefghijklmnopqrstuvwxyz', 21)();
|
|
800
638
|
}
|
|
@@ -861,7 +699,7 @@ function renderActionCommand(ctx) {
|
|
|
861
699
|
let tag;
|
|
862
700
|
if (ctx.elementType === 'dropDownItem') {
|
|
863
701
|
const component = resolveDynamicComponent('BDropdownItem');
|
|
864
|
-
if (isObject$
|
|
702
|
+
if (isObject$4(component)) {
|
|
865
703
|
tag = component;
|
|
866
704
|
iconClasses.push('ps-1', `text-${ctx.classSuffix}`);
|
|
867
705
|
}
|
|
@@ -1033,7 +871,7 @@ function buildListCreatedHandler(items, cb) {
|
|
|
1033
871
|
return (item, options)=>{
|
|
1034
872
|
options = options || {};
|
|
1035
873
|
let index;
|
|
1036
|
-
if (isObject$
|
|
874
|
+
if (isObject$4(item)) {
|
|
1037
875
|
index = items.value.findIndex((el)=>el.id === item.id);
|
|
1038
876
|
} else {
|
|
1039
877
|
index = -1;
|
|
@@ -1052,7 +890,7 @@ function buildListCreatedHandler(items, cb) {
|
|
|
1052
890
|
}
|
|
1053
891
|
function buildListUpdatedHandler(items, cb) {
|
|
1054
892
|
return (item)=>{
|
|
1055
|
-
if (!isObject$
|
|
893
|
+
if (!isObject$4(item)) {
|
|
1056
894
|
return;
|
|
1057
895
|
}
|
|
1058
896
|
const index = items.value.findIndex((el)=>el.id === item.id);
|
|
@@ -1069,7 +907,7 @@ function buildListUpdatedHandler(items, cb) {
|
|
|
1069
907
|
}
|
|
1070
908
|
function buildListDeletedHandler(items, cb) {
|
|
1071
909
|
return (item)=>{
|
|
1072
|
-
if (!isObject$
|
|
910
|
+
if (!isObject$4(item)) {
|
|
1073
911
|
return;
|
|
1074
912
|
}
|
|
1075
913
|
const index = items.value.findIndex((el)=>el.id === item.id);
|
|
@@ -2242,7 +2080,7 @@ class BaseAPI {
|
|
|
2242
2080
|
* Author Peter Placzek (tada5hi)
|
|
2243
2081
|
* For the full copyright and license information,
|
|
2244
2082
|
* view the LICENSE file that was distributed with this source code.
|
|
2245
|
-
*/ function asyncGeneratorStep$
|
|
2083
|
+
*/ function asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2246
2084
|
try {
|
|
2247
2085
|
var info = gen[key](arg);
|
|
2248
2086
|
var value = info.value;
|
|
@@ -2256,16 +2094,16 @@ class BaseAPI {
|
|
|
2256
2094
|
Promise.resolve(value).then(_next, _throw);
|
|
2257
2095
|
}
|
|
2258
2096
|
}
|
|
2259
|
-
function _async_to_generator$
|
|
2097
|
+
function _async_to_generator$f(fn) {
|
|
2260
2098
|
return function() {
|
|
2261
2099
|
var self = this, args = arguments;
|
|
2262
2100
|
return new Promise(function(resolve, reject) {
|
|
2263
2101
|
var gen = fn.apply(self, args);
|
|
2264
2102
|
function _next(value) {
|
|
2265
|
-
asyncGeneratorStep$
|
|
2103
|
+
asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "next", value);
|
|
2266
2104
|
}
|
|
2267
2105
|
function _throw(err) {
|
|
2268
|
-
asyncGeneratorStep$
|
|
2106
|
+
asyncGeneratorStep$f(gen, resolve, reject, _next, _throw, "throw", err);
|
|
2269
2107
|
}
|
|
2270
2108
|
_next(undefined);
|
|
2271
2109
|
});
|
|
@@ -2273,19 +2111,19 @@ function _async_to_generator$g(fn) {
|
|
|
2273
2111
|
}
|
|
2274
2112
|
class MasterImageGroupAPI extends BaseAPI {
|
|
2275
2113
|
getMany(data) {
|
|
2276
|
-
return _async_to_generator$
|
|
2114
|
+
return _async_to_generator$f(function*() {
|
|
2277
2115
|
const response = yield this.client.get(`master-image-groups${buildQuery(data)}`);
|
|
2278
2116
|
return response.data;
|
|
2279
2117
|
}).call(this);
|
|
2280
2118
|
}
|
|
2281
2119
|
getOne(id) {
|
|
2282
|
-
return _async_to_generator$
|
|
2120
|
+
return _async_to_generator$f(function*() {
|
|
2283
2121
|
const response = yield this.client.delete(`master-image-groups/${id}`);
|
|
2284
2122
|
return response.data;
|
|
2285
2123
|
}).call(this);
|
|
2286
2124
|
}
|
|
2287
2125
|
delete(id) {
|
|
2288
|
-
return _async_to_generator$
|
|
2126
|
+
return _async_to_generator$f(function*() {
|
|
2289
2127
|
const response = yield this.client.delete(`master-image-groups/${id}`);
|
|
2290
2128
|
return response.data;
|
|
2291
2129
|
}).call(this);
|
|
@@ -2296,7 +2134,7 @@ class MasterImageGroupAPI extends BaseAPI {
|
|
|
2296
2134
|
* Author Peter Placzek (tada5hi)
|
|
2297
2135
|
* For the full copyright and license information,
|
|
2298
2136
|
* view the LICENSE file that was distributed with this source code.
|
|
2299
|
-
*/ function asyncGeneratorStep$
|
|
2137
|
+
*/ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2300
2138
|
try {
|
|
2301
2139
|
var info = gen[key](arg);
|
|
2302
2140
|
var value = info.value;
|
|
@@ -2310,16 +2148,16 @@ class MasterImageGroupAPI extends BaseAPI {
|
|
|
2310
2148
|
Promise.resolve(value).then(_next, _throw);
|
|
2311
2149
|
}
|
|
2312
2150
|
}
|
|
2313
|
-
function _async_to_generator$
|
|
2151
|
+
function _async_to_generator$e(fn) {
|
|
2314
2152
|
return function() {
|
|
2315
2153
|
var self = this, args = arguments;
|
|
2316
2154
|
return new Promise(function(resolve, reject) {
|
|
2317
2155
|
var gen = fn.apply(self, args);
|
|
2318
2156
|
function _next(value) {
|
|
2319
|
-
asyncGeneratorStep$
|
|
2157
|
+
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
|
|
2320
2158
|
}
|
|
2321
2159
|
function _throw(err) {
|
|
2322
|
-
asyncGeneratorStep$
|
|
2160
|
+
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
|
|
2323
2161
|
}
|
|
2324
2162
|
_next(undefined);
|
|
2325
2163
|
});
|
|
@@ -2355,25 +2193,25 @@ function _object_spread$3(target) {
|
|
|
2355
2193
|
}
|
|
2356
2194
|
class MasterImageAPI extends BaseAPI {
|
|
2357
2195
|
getMany(data) {
|
|
2358
|
-
return _async_to_generator$
|
|
2196
|
+
return _async_to_generator$e(function*() {
|
|
2359
2197
|
const response = yield this.client.get(`master-images${buildQuery(data)}`);
|
|
2360
2198
|
return response.data;
|
|
2361
2199
|
}).call(this);
|
|
2362
2200
|
}
|
|
2363
2201
|
getOne(id, data) {
|
|
2364
|
-
return _async_to_generator$
|
|
2202
|
+
return _async_to_generator$e(function*() {
|
|
2365
2203
|
const response = yield this.client.get(`master-images/${id}${buildQuery(data)}`);
|
|
2366
2204
|
return response.data;
|
|
2367
2205
|
}).call(this);
|
|
2368
2206
|
}
|
|
2369
2207
|
delete(id) {
|
|
2370
|
-
return _async_to_generator$
|
|
2208
|
+
return _async_to_generator$e(function*() {
|
|
2371
2209
|
const response = yield this.client.delete(`master-images/${id}`);
|
|
2372
2210
|
return response.data;
|
|
2373
2211
|
}).call(this);
|
|
2374
2212
|
}
|
|
2375
2213
|
runCommand(_0) {
|
|
2376
|
-
return _async_to_generator$
|
|
2214
|
+
return _async_to_generator$e(function*(command, data = {}) {
|
|
2377
2215
|
const actionData = _object_spread$3({
|
|
2378
2216
|
command
|
|
2379
2217
|
}, data);
|
|
@@ -2382,72 +2220,6 @@ class MasterImageAPI extends BaseAPI {
|
|
|
2382
2220
|
}).apply(this, arguments);
|
|
2383
2221
|
}
|
|
2384
2222
|
}
|
|
2385
|
-
/*
|
|
2386
|
-
* Copyright (c) 2021-2024.
|
|
2387
|
-
* Author Peter Placzek (tada5hi)
|
|
2388
|
-
* For the full copyright and license information,
|
|
2389
|
-
* view the LICENSE file that was distributed with this source code.
|
|
2390
|
-
*/ function asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2391
|
-
try {
|
|
2392
|
-
var info = gen[key](arg);
|
|
2393
|
-
var value = info.value;
|
|
2394
|
-
} catch (error) {
|
|
2395
|
-
reject(error);
|
|
2396
|
-
return;
|
|
2397
|
-
}
|
|
2398
|
-
if (info.done) {
|
|
2399
|
-
resolve(value);
|
|
2400
|
-
} else {
|
|
2401
|
-
Promise.resolve(value).then(_next, _throw);
|
|
2402
|
-
}
|
|
2403
|
-
}
|
|
2404
|
-
function _async_to_generator$e(fn) {
|
|
2405
|
-
return function() {
|
|
2406
|
-
var self = this, args = arguments;
|
|
2407
|
-
return new Promise(function(resolve, reject) {
|
|
2408
|
-
var gen = fn.apply(self, args);
|
|
2409
|
-
function _next(value) {
|
|
2410
|
-
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "next", value);
|
|
2411
|
-
}
|
|
2412
|
-
function _throw(err) {
|
|
2413
|
-
asyncGeneratorStep$e(gen, resolve, reject, _next, _throw, "throw", err);
|
|
2414
|
-
}
|
|
2415
|
-
_next(undefined);
|
|
2416
|
-
});
|
|
2417
|
-
};
|
|
2418
|
-
}
|
|
2419
|
-
class MasterImageEventLogAPI extends BaseAPI {
|
|
2420
|
-
getMany(options) {
|
|
2421
|
-
return _async_to_generator$e(function*() {
|
|
2422
|
-
const { data: response } = yield this.client.get(`master-image-event-logs${buildQuery(options)}`);
|
|
2423
|
-
return response;
|
|
2424
|
-
}).call(this);
|
|
2425
|
-
}
|
|
2426
|
-
getOne(id) {
|
|
2427
|
-
return _async_to_generator$e(function*() {
|
|
2428
|
-
const { data: response } = yield this.client.get(`master-image-event-logs/${id}`);
|
|
2429
|
-
return response;
|
|
2430
|
-
}).call(this);
|
|
2431
|
-
}
|
|
2432
|
-
delete(id) {
|
|
2433
|
-
return _async_to_generator$e(function*() {
|
|
2434
|
-
const { data: response } = yield this.client.delete(`master-image-event-logs/${id}`);
|
|
2435
|
-
return response;
|
|
2436
|
-
}).call(this);
|
|
2437
|
-
}
|
|
2438
|
-
update(id, data) {
|
|
2439
|
-
return _async_to_generator$e(function*() {
|
|
2440
|
-
const { data: response } = yield this.client.post(`master-image-event-logs/${id}`, data);
|
|
2441
|
-
return response;
|
|
2442
|
-
}).call(this);
|
|
2443
|
-
}
|
|
2444
|
-
create(data) {
|
|
2445
|
-
return _async_to_generator$e(function*() {
|
|
2446
|
-
const { data: response } = yield this.client.post('master-image-event-logs', data);
|
|
2447
|
-
return response;
|
|
2448
|
-
}).call(this);
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
2223
|
function nullifyEmptyObjectProperties(data) {
|
|
2452
2224
|
const keys = Object.keys(data);
|
|
2453
2225
|
for(let i = 0; i < keys.length; i++){
|
|
@@ -2989,35 +2761,29 @@ function _async_to_generator$7(fn) {
|
|
|
2989
2761
|
});
|
|
2990
2762
|
};
|
|
2991
2763
|
}
|
|
2992
|
-
class
|
|
2764
|
+
class AnalysisBucketAPI extends BaseAPI {
|
|
2993
2765
|
getMany(options) {
|
|
2994
2766
|
return _async_to_generator$7(function*() {
|
|
2995
|
-
const response = yield this.client.get(`analysis-
|
|
2767
|
+
const response = yield this.client.get(`analysis-buckets${buildQuery(options)}`);
|
|
2996
2768
|
return response.data;
|
|
2997
2769
|
}).call(this);
|
|
2998
2770
|
}
|
|
2999
2771
|
getOne(id) {
|
|
3000
2772
|
return _async_to_generator$7(function*() {
|
|
3001
|
-
const response = yield this.client.get(`analysis-
|
|
3002
|
-
return response.data;
|
|
3003
|
-
}).call(this);
|
|
3004
|
-
}
|
|
3005
|
-
delete(id) {
|
|
3006
|
-
return _async_to_generator$7(function*() {
|
|
3007
|
-
const response = yield this.client.delete(`analysis-bucket-files/${id}`);
|
|
2773
|
+
const response = yield this.client.get(`analysis-buckets/${id}`);
|
|
3008
2774
|
return response.data;
|
|
3009
2775
|
}).call(this);
|
|
3010
2776
|
}
|
|
3011
|
-
|
|
2777
|
+
create(data) {
|
|
3012
2778
|
return _async_to_generator$7(function*() {
|
|
3013
|
-
const { data: response } = yield this.client.post(
|
|
2779
|
+
const { data: response } = yield this.client.post('analysis-buckets', data);
|
|
3014
2780
|
return response;
|
|
3015
2781
|
}).call(this);
|
|
3016
2782
|
}
|
|
3017
|
-
|
|
2783
|
+
delete(id) {
|
|
3018
2784
|
return _async_to_generator$7(function*() {
|
|
3019
|
-
const
|
|
3020
|
-
return response;
|
|
2785
|
+
const response = yield this.client.delete(`analysis-buckets/${id}`);
|
|
2786
|
+
return response.data;
|
|
3021
2787
|
}).call(this);
|
|
3022
2788
|
}
|
|
3023
2789
|
}
|
|
@@ -3055,34 +2821,34 @@ function _async_to_generator$6(fn) {
|
|
|
3055
2821
|
});
|
|
3056
2822
|
};
|
|
3057
2823
|
}
|
|
3058
|
-
class
|
|
2824
|
+
class AnalysisBucketFileAPI extends BaseAPI {
|
|
3059
2825
|
getMany(options) {
|
|
3060
2826
|
return _async_to_generator$6(function*() {
|
|
3061
|
-
const
|
|
3062
|
-
return response;
|
|
2827
|
+
const response = yield this.client.get(`analysis-bucket-files${buildQuery(options)}`);
|
|
2828
|
+
return response.data;
|
|
3063
2829
|
}).call(this);
|
|
3064
2830
|
}
|
|
3065
2831
|
getOne(id) {
|
|
3066
2832
|
return _async_to_generator$6(function*() {
|
|
3067
|
-
const
|
|
3068
|
-
return response;
|
|
2833
|
+
const response = yield this.client.get(`analysis-bucket-files/${id}`);
|
|
2834
|
+
return response.data;
|
|
3069
2835
|
}).call(this);
|
|
3070
2836
|
}
|
|
3071
2837
|
delete(id) {
|
|
3072
2838
|
return _async_to_generator$6(function*() {
|
|
3073
|
-
const
|
|
3074
|
-
return response;
|
|
2839
|
+
const response = yield this.client.delete(`analysis-bucket-files/${id}`);
|
|
2840
|
+
return response.data;
|
|
3075
2841
|
}).call(this);
|
|
3076
2842
|
}
|
|
3077
2843
|
update(id, data) {
|
|
3078
2844
|
return _async_to_generator$6(function*() {
|
|
3079
|
-
const { data: response } = yield this.client.post(`analysis-
|
|
2845
|
+
const { data: response } = yield this.client.post(`analysis-bucket-files/${id}`, nullifyEmptyObjectProperties(data));
|
|
3080
2846
|
return response;
|
|
3081
2847
|
}).call(this);
|
|
3082
2848
|
}
|
|
3083
2849
|
create(data) {
|
|
3084
2850
|
return _async_to_generator$6(function*() {
|
|
3085
|
-
const { data: response } = yield this.client.post('analysis-
|
|
2851
|
+
const { data: response } = yield this.client.post('analysis-bucket-files', nullifyEmptyObjectProperties(data));
|
|
3086
2852
|
return response;
|
|
3087
2853
|
}).call(this);
|
|
3088
2854
|
}
|
|
@@ -3121,33 +2887,80 @@ function _async_to_generator$5(fn) {
|
|
|
3121
2887
|
});
|
|
3122
2888
|
};
|
|
3123
2889
|
}
|
|
3124
|
-
class
|
|
2890
|
+
class AnalysisLogAPI extends BaseAPI {
|
|
3125
2891
|
getMany(options) {
|
|
3126
2892
|
return _async_to_generator$5(function*() {
|
|
2893
|
+
const { data: response } = yield this.client.get(`analysis-logs${buildQuery(options)}`);
|
|
2894
|
+
return response;
|
|
2895
|
+
}).call(this);
|
|
2896
|
+
}
|
|
2897
|
+
delete(options) {
|
|
2898
|
+
return _async_to_generator$5(function*() {
|
|
2899
|
+
yield this.client.delete(`analysis-logs${buildQuery(options)}`);
|
|
2900
|
+
}).call(this);
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
/*
|
|
2904
|
+
* Copyright (c) 2021-2024.
|
|
2905
|
+
* Author Peter Placzek (tada5hi)
|
|
2906
|
+
* For the full copyright and license information,
|
|
2907
|
+
* view the LICENSE file that was distributed with this source code.
|
|
2908
|
+
*/ function asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, key, arg) {
|
|
2909
|
+
try {
|
|
2910
|
+
var info = gen[key](arg);
|
|
2911
|
+
var value = info.value;
|
|
2912
|
+
} catch (error) {
|
|
2913
|
+
reject(error);
|
|
2914
|
+
return;
|
|
2915
|
+
}
|
|
2916
|
+
if (info.done) {
|
|
2917
|
+
resolve(value);
|
|
2918
|
+
} else {
|
|
2919
|
+
Promise.resolve(value).then(_next, _throw);
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
function _async_to_generator$4(fn) {
|
|
2923
|
+
return function() {
|
|
2924
|
+
var self = this, args = arguments;
|
|
2925
|
+
return new Promise(function(resolve, reject) {
|
|
2926
|
+
var gen = fn.apply(self, args);
|
|
2927
|
+
function _next(value) {
|
|
2928
|
+
asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "next", value);
|
|
2929
|
+
}
|
|
2930
|
+
function _throw(err) {
|
|
2931
|
+
asyncGeneratorStep$4(gen, resolve, reject, _next, _throw, "throw", err);
|
|
2932
|
+
}
|
|
2933
|
+
_next(undefined);
|
|
2934
|
+
});
|
|
2935
|
+
};
|
|
2936
|
+
}
|
|
2937
|
+
class AnalysisNodeAPI extends BaseAPI {
|
|
2938
|
+
getMany(options) {
|
|
2939
|
+
return _async_to_generator$4(function*() {
|
|
3127
2940
|
const { data: response } = yield this.client.get(`analysis-nodes${buildQuery(options)}`);
|
|
3128
2941
|
return response;
|
|
3129
2942
|
}).call(this);
|
|
3130
2943
|
}
|
|
3131
2944
|
getOne(id) {
|
|
3132
|
-
return _async_to_generator$
|
|
2945
|
+
return _async_to_generator$4(function*() {
|
|
3133
2946
|
const { data: response } = yield this.client.get(`analysis-nodes/${id}`);
|
|
3134
2947
|
return response;
|
|
3135
2948
|
}).call(this);
|
|
3136
2949
|
}
|
|
3137
2950
|
delete(id) {
|
|
3138
|
-
return _async_to_generator$
|
|
2951
|
+
return _async_to_generator$4(function*() {
|
|
3139
2952
|
const { data: response } = yield this.client.delete(`analysis-nodes/${id}`);
|
|
3140
2953
|
return response;
|
|
3141
2954
|
}).call(this);
|
|
3142
2955
|
}
|
|
3143
2956
|
update(id, data) {
|
|
3144
|
-
return _async_to_generator$
|
|
2957
|
+
return _async_to_generator$4(function*() {
|
|
3145
2958
|
const { data: response } = yield this.client.post(`analysis-nodes/${id}`, data);
|
|
3146
2959
|
return response;
|
|
3147
2960
|
}).call(this);
|
|
3148
2961
|
}
|
|
3149
2962
|
create(data) {
|
|
3150
|
-
return _async_to_generator$
|
|
2963
|
+
return _async_to_generator$4(function*() {
|
|
3151
2964
|
const { data: response } = yield this.client.post('analysis-nodes', data);
|
|
3152
2965
|
return response;
|
|
3153
2966
|
}).call(this);
|
|
@@ -3158,7 +2971,7 @@ class AnalysisNodeAPI extends BaseAPI {
|
|
|
3158
2971
|
* Author Peter Placzek (tada5hi)
|
|
3159
2972
|
* For the full copyright and license information,
|
|
3160
2973
|
* view the LICENSE file that was distributed with this source code.
|
|
3161
|
-
*/ function asyncGeneratorStep$
|
|
2974
|
+
*/ function asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3162
2975
|
try {
|
|
3163
2976
|
var info = gen[key](arg);
|
|
3164
2977
|
var value = info.value;
|
|
@@ -3172,16 +2985,16 @@ class AnalysisNodeAPI extends BaseAPI {
|
|
|
3172
2985
|
Promise.resolve(value).then(_next, _throw);
|
|
3173
2986
|
}
|
|
3174
2987
|
}
|
|
3175
|
-
function _async_to_generator$
|
|
2988
|
+
function _async_to_generator$3(fn) {
|
|
3176
2989
|
return function() {
|
|
3177
2990
|
var self = this, args = arguments;
|
|
3178
2991
|
return new Promise(function(resolve, reject) {
|
|
3179
2992
|
var gen = fn.apply(self, args);
|
|
3180
2993
|
function _next(value) {
|
|
3181
|
-
asyncGeneratorStep$
|
|
2994
|
+
asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "next", value);
|
|
3182
2995
|
}
|
|
3183
2996
|
function _throw(err) {
|
|
3184
|
-
asyncGeneratorStep$
|
|
2997
|
+
asyncGeneratorStep$3(gen, resolve, reject, _next, _throw, "throw", err);
|
|
3185
2998
|
}
|
|
3186
2999
|
_next(undefined);
|
|
3187
3000
|
});
|
|
@@ -3189,13 +3002,13 @@ function _async_to_generator$4(fn) {
|
|
|
3189
3002
|
}
|
|
3190
3003
|
class AnalysisNodeEventAPI extends BaseAPI {
|
|
3191
3004
|
getMany(options) {
|
|
3192
|
-
return _async_to_generator$
|
|
3005
|
+
return _async_to_generator$3(function*() {
|
|
3193
3006
|
const { data: response } = yield this.client.get(`analysis-node-events${buildQuery(options)}`);
|
|
3194
3007
|
return response;
|
|
3195
3008
|
}).call(this);
|
|
3196
3009
|
}
|
|
3197
3010
|
getOne(id) {
|
|
3198
|
-
return _async_to_generator$
|
|
3011
|
+
return _async_to_generator$3(function*() {
|
|
3199
3012
|
const { data: response } = yield this.client.get(`analysis-node-events/${id}`);
|
|
3200
3013
|
return response;
|
|
3201
3014
|
}).call(this);
|
|
@@ -3206,7 +3019,7 @@ class AnalysisNodeEventAPI extends BaseAPI {
|
|
|
3206
3019
|
* Author Peter Placzek (tada5hi)
|
|
3207
3020
|
* For the full copyright and license information,
|
|
3208
3021
|
* view the LICENSE file that was distributed with this source code.
|
|
3209
|
-
*/ function asyncGeneratorStep$
|
|
3022
|
+
*/ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3210
3023
|
try {
|
|
3211
3024
|
var info = gen[key](arg);
|
|
3212
3025
|
var value = info.value;
|
|
@@ -3220,16 +3033,16 @@ class AnalysisNodeEventAPI extends BaseAPI {
|
|
|
3220
3033
|
Promise.resolve(value).then(_next, _throw);
|
|
3221
3034
|
}
|
|
3222
3035
|
}
|
|
3223
|
-
function _async_to_generator$
|
|
3036
|
+
function _async_to_generator$2(fn) {
|
|
3224
3037
|
return function() {
|
|
3225
3038
|
var self = this, args = arguments;
|
|
3226
3039
|
return new Promise(function(resolve, reject) {
|
|
3227
3040
|
var gen = fn.apply(self, args);
|
|
3228
3041
|
function _next(value) {
|
|
3229
|
-
asyncGeneratorStep$
|
|
3042
|
+
asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "next", value);
|
|
3230
3043
|
}
|
|
3231
3044
|
function _throw(err) {
|
|
3232
|
-
asyncGeneratorStep$
|
|
3045
|
+
asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "throw", err);
|
|
3233
3046
|
}
|
|
3234
3047
|
_next(undefined);
|
|
3235
3048
|
});
|
|
@@ -3237,20 +3050,19 @@ function _async_to_generator$3(fn) {
|
|
|
3237
3050
|
}
|
|
3238
3051
|
class AnalysisNodeLogAPI extends BaseAPI {
|
|
3239
3052
|
getMany() {
|
|
3240
|
-
return _async_to_generator$
|
|
3053
|
+
return _async_to_generator$2(function*(options = {}) {
|
|
3241
3054
|
const { data: response } = yield this.client.get(`analysis-node-logs${buildQuery(options)}`);
|
|
3242
3055
|
return response;
|
|
3243
3056
|
}).apply(this, arguments);
|
|
3244
3057
|
}
|
|
3245
3058
|
delete() {
|
|
3246
|
-
return _async_to_generator$
|
|
3059
|
+
return _async_to_generator$2(function*(options = {}) {
|
|
3247
3060
|
yield this.client.delete(`analysis-node-logs${buildQuery(options)}`);
|
|
3248
3061
|
}).apply(this, arguments);
|
|
3249
3062
|
}
|
|
3250
3063
|
create(data) {
|
|
3251
|
-
return _async_to_generator$
|
|
3252
|
-
|
|
3253
|
-
return response;
|
|
3064
|
+
return _async_to_generator$2(function*() {
|
|
3065
|
+
yield this.client.post('analysis-node-logs', data);
|
|
3254
3066
|
}).call(this);
|
|
3255
3067
|
}
|
|
3256
3068
|
}
|
|
@@ -3259,7 +3071,7 @@ class AnalysisNodeLogAPI extends BaseAPI {
|
|
|
3259
3071
|
* Author Peter Placzek (tada5hi)
|
|
3260
3072
|
* For the full copyright and license information,
|
|
3261
3073
|
* view the LICENSE file that was distributed with this source code.
|
|
3262
|
-
*/ function asyncGeneratorStep$
|
|
3074
|
+
*/ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3263
3075
|
try {
|
|
3264
3076
|
var info = gen[key](arg);
|
|
3265
3077
|
var value = info.value;
|
|
@@ -3273,16 +3085,16 @@ class AnalysisNodeLogAPI extends BaseAPI {
|
|
|
3273
3085
|
Promise.resolve(value).then(_next, _throw);
|
|
3274
3086
|
}
|
|
3275
3087
|
}
|
|
3276
|
-
function _async_to_generator$
|
|
3088
|
+
function _async_to_generator$1(fn) {
|
|
3277
3089
|
return function() {
|
|
3278
3090
|
var self = this, args = arguments;
|
|
3279
3091
|
return new Promise(function(resolve, reject) {
|
|
3280
3092
|
var gen = fn.apply(self, args);
|
|
3281
3093
|
function _next(value) {
|
|
3282
|
-
asyncGeneratorStep$
|
|
3094
|
+
asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "next", value);
|
|
3283
3095
|
}
|
|
3284
3096
|
function _throw(err) {
|
|
3285
|
-
asyncGeneratorStep$
|
|
3097
|
+
asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "throw", err);
|
|
3286
3098
|
}
|
|
3287
3099
|
_next(undefined);
|
|
3288
3100
|
});
|
|
@@ -3290,31 +3102,31 @@ function _async_to_generator$2(fn) {
|
|
|
3290
3102
|
}
|
|
3291
3103
|
class AnalysisPermissionAPI extends BaseAPI {
|
|
3292
3104
|
getMany(options) {
|
|
3293
|
-
return _async_to_generator$
|
|
3105
|
+
return _async_to_generator$1(function*() {
|
|
3294
3106
|
const { data: response } = yield this.client.get(`analysis-permissions${buildQuery(options)}`);
|
|
3295
3107
|
return response;
|
|
3296
3108
|
}).call(this);
|
|
3297
3109
|
}
|
|
3298
3110
|
getOne(id) {
|
|
3299
|
-
return _async_to_generator$
|
|
3111
|
+
return _async_to_generator$1(function*() {
|
|
3300
3112
|
const { data: response } = yield this.client.get(`analysis-permissions/${id}`);
|
|
3301
3113
|
return response;
|
|
3302
3114
|
}).call(this);
|
|
3303
3115
|
}
|
|
3304
3116
|
delete(id) {
|
|
3305
|
-
return _async_to_generator$
|
|
3117
|
+
return _async_to_generator$1(function*() {
|
|
3306
3118
|
const { data: response } = yield this.client.delete(`analysis-permissions/${id}`);
|
|
3307
3119
|
return response;
|
|
3308
3120
|
}).call(this);
|
|
3309
3121
|
}
|
|
3310
3122
|
update(id, data) {
|
|
3311
|
-
return _async_to_generator$
|
|
3123
|
+
return _async_to_generator$1(function*() {
|
|
3312
3124
|
const { data: response } = yield this.client.post(`analysis-permissions/${id}`, data);
|
|
3313
3125
|
return response;
|
|
3314
3126
|
}).call(this);
|
|
3315
3127
|
}
|
|
3316
3128
|
create(data) {
|
|
3317
|
-
return _async_to_generator$
|
|
3129
|
+
return _async_to_generator$1(function*() {
|
|
3318
3130
|
const { data: response } = yield this.client.post('analysis-permissions', data);
|
|
3319
3131
|
return response;
|
|
3320
3132
|
}).call(this);
|
|
@@ -3325,7 +3137,7 @@ class AnalysisPermissionAPI extends BaseAPI {
|
|
|
3325
3137
|
* Author Peter Placzek (tada5hi)
|
|
3326
3138
|
* For the full copyright and license information,
|
|
3327
3139
|
* view the LICENSE file that was distributed with this source code.
|
|
3328
|
-
*/ function asyncGeneratorStep
|
|
3140
|
+
*/ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3329
3141
|
try {
|
|
3330
3142
|
var info = gen[key](arg);
|
|
3331
3143
|
var value = info.value;
|
|
@@ -3339,16 +3151,16 @@ class AnalysisPermissionAPI extends BaseAPI {
|
|
|
3339
3151
|
Promise.resolve(value).then(_next, _throw);
|
|
3340
3152
|
}
|
|
3341
3153
|
}
|
|
3342
|
-
function _async_to_generator
|
|
3154
|
+
function _async_to_generator(fn) {
|
|
3343
3155
|
return function() {
|
|
3344
3156
|
var self = this, args = arguments;
|
|
3345
3157
|
return new Promise(function(resolve, reject) {
|
|
3346
3158
|
var gen = fn.apply(self, args);
|
|
3347
3159
|
function _next(value) {
|
|
3348
|
-
asyncGeneratorStep
|
|
3160
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
3349
3161
|
}
|
|
3350
3162
|
function _throw(err) {
|
|
3351
|
-
asyncGeneratorStep
|
|
3163
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
3352
3164
|
}
|
|
3353
3165
|
_next(undefined);
|
|
3354
3166
|
});
|
|
@@ -3384,7 +3196,7 @@ function _object_spread(target) {
|
|
|
3384
3196
|
}
|
|
3385
3197
|
class ServiceAPI extends BaseAPI {
|
|
3386
3198
|
runCommand(id, command, data) {
|
|
3387
|
-
return _async_to_generator
|
|
3199
|
+
return _async_to_generator(function*() {
|
|
3388
3200
|
data = data || {};
|
|
3389
3201
|
const { data: resultData } = yield this.client.post(`services/${id}/command`, nullifyEmptyObjectProperties(_object_spread({
|
|
3390
3202
|
command
|
|
@@ -3393,68 +3205,8 @@ class ServiceAPI extends BaseAPI {
|
|
|
3393
3205
|
}).call(this);
|
|
3394
3206
|
}
|
|
3395
3207
|
runRegistryCommand(command, data) {
|
|
3396
|
-
return _async_to_generator$1(function*() {
|
|
3397
|
-
return this.runCommand(ServiceID.REGISTRY, command, data);
|
|
3398
|
-
}).call(this);
|
|
3399
|
-
}
|
|
3400
|
-
}
|
|
3401
|
-
/*
|
|
3402
|
-
* Copyright (c) 2021-2024.
|
|
3403
|
-
* Author Peter Placzek (tada5hi)
|
|
3404
|
-
* For the full copyright and license information,
|
|
3405
|
-
* view the LICENSE file that was distributed with this source code.
|
|
3406
|
-
*/ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
3407
|
-
try {
|
|
3408
|
-
var info = gen[key](arg);
|
|
3409
|
-
var value = info.value;
|
|
3410
|
-
} catch (error) {
|
|
3411
|
-
reject(error);
|
|
3412
|
-
return;
|
|
3413
|
-
}
|
|
3414
|
-
if (info.done) {
|
|
3415
|
-
resolve(value);
|
|
3416
|
-
} else {
|
|
3417
|
-
Promise.resolve(value).then(_next, _throw);
|
|
3418
|
-
}
|
|
3419
|
-
}
|
|
3420
|
-
function _async_to_generator(fn) {
|
|
3421
|
-
return function() {
|
|
3422
|
-
var self = this, args = arguments;
|
|
3423
|
-
return new Promise(function(resolve, reject) {
|
|
3424
|
-
var gen = fn.apply(self, args);
|
|
3425
|
-
function _next(value) {
|
|
3426
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
3427
|
-
}
|
|
3428
|
-
function _throw(err) {
|
|
3429
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
3430
|
-
}
|
|
3431
|
-
_next(undefined);
|
|
3432
|
-
});
|
|
3433
|
-
};
|
|
3434
|
-
}
|
|
3435
|
-
class AnalysisBucketAPI extends BaseAPI {
|
|
3436
|
-
getMany(options) {
|
|
3437
|
-
return _async_to_generator(function*() {
|
|
3438
|
-
const response = yield this.client.get(`analysis-buckets${buildQuery(options)}`);
|
|
3439
|
-
return response.data;
|
|
3440
|
-
}).call(this);
|
|
3441
|
-
}
|
|
3442
|
-
getOne(id) {
|
|
3443
|
-
return _async_to_generator(function*() {
|
|
3444
|
-
const response = yield this.client.get(`analysis-buckets/${id}`);
|
|
3445
|
-
return response.data;
|
|
3446
|
-
}).call(this);
|
|
3447
|
-
}
|
|
3448
|
-
create(data) {
|
|
3449
|
-
return _async_to_generator(function*() {
|
|
3450
|
-
const { data: response } = yield this.client.post('analysis-buckets', data);
|
|
3451
|
-
return response;
|
|
3452
|
-
}).call(this);
|
|
3453
|
-
}
|
|
3454
|
-
delete(id) {
|
|
3455
3208
|
return _async_to_generator(function*() {
|
|
3456
|
-
|
|
3457
|
-
return response.data;
|
|
3209
|
+
return this.runCommand(ServiceID.REGISTRY, command, data);
|
|
3458
3210
|
}).call(this);
|
|
3459
3211
|
}
|
|
3460
3212
|
}
|
|
@@ -3478,16 +3230,13 @@ class AnalysisBucketAPI extends BaseAPI {
|
|
|
3478
3230
|
}
|
|
3479
3231
|
class Client extends Client$1 {
|
|
3480
3232
|
constructor(config){
|
|
3481
|
-
super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", void 0), _define_property(this, "
|
|
3233
|
+
super(config), _define_property(this, "masterImage", void 0), _define_property(this, "masterImageGroup", void 0), _define_property(this, "project", void 0), _define_property(this, "projectNode", void 0), _define_property(this, "registry", void 0), _define_property(this, "registryProject", void 0), _define_property(this, "node", void 0), _define_property(this, "analysis", void 0), _define_property(this, "analysisBucket", void 0), _define_property(this, "analysisBucketFile", void 0), _define_property(this, "analysisLog", void 0), _define_property(this, "analysisNode", void 0), _define_property(this, "analysisNodeEvent", void 0), _define_property(this, "analysisNodeLog", void 0), _define_property(this, "analysisPermission", void 0), _define_property(this, "service", void 0);
|
|
3482
3234
|
this.masterImage = new MasterImageAPI({
|
|
3483
3235
|
client: this
|
|
3484
3236
|
});
|
|
3485
3237
|
this.masterImageGroup = new MasterImageGroupAPI({
|
|
3486
3238
|
client: this
|
|
3487
3239
|
});
|
|
3488
|
-
this.masterImageEventLog = new MasterImageEventLogAPI({
|
|
3489
|
-
client: this
|
|
3490
|
-
});
|
|
3491
3240
|
this.project = new ProjectAPI({
|
|
3492
3241
|
client: this
|
|
3493
3242
|
});
|
|
@@ -3544,15 +3293,15 @@ function setupBaseHTTPClient(app, client) {
|
|
|
3544
3293
|
hook.attach(client);
|
|
3545
3294
|
}
|
|
3546
3295
|
|
|
3547
|
-
const symbol$
|
|
3296
|
+
const symbol$2 = Symbol.for('FCoreHTTPClient');
|
|
3548
3297
|
function provideCoreHTTPClient(client, app) {
|
|
3549
|
-
provide$2(symbol$
|
|
3298
|
+
provide$2(symbol$2, client, app);
|
|
3550
3299
|
}
|
|
3551
3300
|
function isCoreHTTPClientUsable(app) {
|
|
3552
|
-
return !!inject$2(symbol$
|
|
3301
|
+
return !!inject$2(symbol$2, app);
|
|
3553
3302
|
}
|
|
3554
3303
|
function injectCoreHTTPClient(app) {
|
|
3555
|
-
const instance = inject$2(symbol$
|
|
3304
|
+
const instance = inject$2(symbol$2, app);
|
|
3556
3305
|
if (!instance) {
|
|
3557
3306
|
throw new Error('The Core HTTP Client is not set.');
|
|
3558
3307
|
}
|
|
@@ -3570,15 +3319,15 @@ function installCoreHTTPClient(app, options) {
|
|
|
3570
3319
|
provideCoreHTTPClient(client, app);
|
|
3571
3320
|
}
|
|
3572
3321
|
|
|
3573
|
-
const symbol = Symbol.for('FStorageHTTPClient');
|
|
3322
|
+
const symbol$1 = Symbol.for('FStorageHTTPClient');
|
|
3574
3323
|
function provideStorageHTTPClient(client, app) {
|
|
3575
|
-
provide$2(symbol, client, app);
|
|
3324
|
+
provide$2(symbol$1, client, app);
|
|
3576
3325
|
}
|
|
3577
3326
|
function isStorageHTTPClientUsable(app) {
|
|
3578
|
-
return !!inject$2(symbol, app);
|
|
3327
|
+
return !!inject$2(symbol$1, app);
|
|
3579
3328
|
}
|
|
3580
3329
|
function injectStorageHTTPClient(app) {
|
|
3581
|
-
const instance = inject$2(symbol, app);
|
|
3330
|
+
const instance = inject$2(symbol$1, app);
|
|
3582
3331
|
if (!instance) {
|
|
3583
3332
|
throw new Error('The Storage HTTP Client is not set.');
|
|
3584
3333
|
}
|
|
@@ -3596,6 +3345,32 @@ function installStorageHTTPClient(app, options) {
|
|
|
3596
3345
|
provideStorageHTTPClient(client, app);
|
|
3597
3346
|
}
|
|
3598
3347
|
|
|
3348
|
+
const symbol = Symbol.for('FTelemetryHTTPClient');
|
|
3349
|
+
function provideTelemetryHTTPClient(client, app) {
|
|
3350
|
+
provide$2(symbol, client, app);
|
|
3351
|
+
}
|
|
3352
|
+
function isTelemetryHTTPClientUsable(app) {
|
|
3353
|
+
return !!inject$2(symbol, app);
|
|
3354
|
+
}
|
|
3355
|
+
function injectTelemetryHTTPClient(app) {
|
|
3356
|
+
const instance = inject$2(symbol, app);
|
|
3357
|
+
if (!instance) {
|
|
3358
|
+
throw new Error('The Telemetry HTTP Client is not set.');
|
|
3359
|
+
}
|
|
3360
|
+
return instance;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
function installTelemetryHTTPClient(app, options) {
|
|
3364
|
+
if (isTelemetryHTTPClientUsable(app)) {
|
|
3365
|
+
return;
|
|
3366
|
+
}
|
|
3367
|
+
const client = new APIClient$1({
|
|
3368
|
+
baseURL: options.baseURL
|
|
3369
|
+
});
|
|
3370
|
+
setupBaseHTTPClient(app, client);
|
|
3371
|
+
provideTelemetryHTTPClient(client, app);
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3599
3374
|
const SocketSymbol = Symbol.for('PSocket');
|
|
3600
3375
|
function isSocketManagerUsable() {
|
|
3601
3376
|
if (!hasInjectionContext()) {
|
|
@@ -3661,10 +3436,22 @@ function createEntitySocket(ctx) {
|
|
|
3661
3436
|
if (event.meta.roomName !== channelName) {
|
|
3662
3437
|
return false;
|
|
3663
3438
|
}
|
|
3664
|
-
if (ctx.target &&
|
|
3439
|
+
if (ctx.target && !targetId.value) {
|
|
3665
3440
|
return false;
|
|
3666
3441
|
}
|
|
3667
|
-
|
|
3442
|
+
if (ctx.target) {
|
|
3443
|
+
if (hasOwnProperty(event.data, 'id')) {
|
|
3444
|
+
if (targetId.value !== event.data.id) {
|
|
3445
|
+
return false;
|
|
3446
|
+
}
|
|
3447
|
+
} else {
|
|
3448
|
+
return false;
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
if (hasOwnProperty(event.data, 'id')) {
|
|
3452
|
+
return event.data.id !== lockId.value;
|
|
3453
|
+
}
|
|
3454
|
+
return true;
|
|
3668
3455
|
};
|
|
3669
3456
|
const handleCreated = (event)=>{
|
|
3670
3457
|
if (!processEvent(event)) {
|
|
@@ -3779,7 +3566,7 @@ function isQuerySortedDescByDate(input) {
|
|
|
3779
3566
|
if (Array.isArray(input)) {
|
|
3780
3567
|
return input.some((el)=>isQuerySortedDescByDate(el));
|
|
3781
3568
|
}
|
|
3782
|
-
if (isObject$
|
|
3569
|
+
if (isObject$4(input)) {
|
|
3783
3570
|
return input.created_at === SortDirection.DESC || input.updated_at === SortDirection.DESC;
|
|
3784
3571
|
}
|
|
3785
3572
|
return typeof input === 'string' && (input === '-created_at' || input === '-updated_at');
|
|
@@ -3962,7 +3749,7 @@ function createListRaw(context) {
|
|
|
3962
3749
|
if (typeof context.socket !== 'boolean' || typeof context.socket === 'undefined' || context.socket) {
|
|
3963
3750
|
const socketContext = {
|
|
3964
3751
|
type: context.type,
|
|
3965
|
-
...isObject$
|
|
3752
|
+
...isObject$4(context.socket) ? context.socket : {}
|
|
3966
3753
|
};
|
|
3967
3754
|
socketContext.onCreated = (entity)=>{
|
|
3968
3755
|
const limit = meta.value?.pagination?.limit;
|
|
@@ -4228,7 +4015,7 @@ function createEntityManager(ctx) {
|
|
|
4228
4015
|
let socketContext = {
|
|
4229
4016
|
type: ctx.type
|
|
4230
4017
|
};
|
|
4231
|
-
if (isObject$
|
|
4018
|
+
if (isObject$4(ctx.socket)) {
|
|
4232
4019
|
socketContext = {
|
|
4233
4020
|
...socketContext,
|
|
4234
4021
|
...ctx.socket
|
|
@@ -4380,7 +4167,7 @@ function createEntityManager(ctx) {
|
|
|
4380
4167
|
}
|
|
4381
4168
|
return typeof content === 'function' ? content() : content;
|
|
4382
4169
|
}
|
|
4383
|
-
if (isObject$
|
|
4170
|
+
if (isObject$4(error) && hasNormalizedSlot('error', ctx.setup.slots)) {
|
|
4384
4171
|
return normalizeSlot('error', error, ctx.setup.slots);
|
|
4385
4172
|
}
|
|
4386
4173
|
return undefined;
|
|
@@ -4480,6 +4267,292 @@ function extractVuelidateResultsFromChild(vuelidate, child, keys) {
|
|
|
4480
4267
|
return result;
|
|
4481
4268
|
}
|
|
4482
4269
|
|
|
4270
|
+
var _sfc_main$v = defineComponent({
|
|
4271
|
+
components: {
|
|
4272
|
+
FLog
|
|
4273
|
+
},
|
|
4274
|
+
props: {
|
|
4275
|
+
query: {
|
|
4276
|
+
type: Object
|
|
4277
|
+
}
|
|
4278
|
+
},
|
|
4279
|
+
setup (props) {
|
|
4280
|
+
const httpClient = injectTelemetryHTTPClient();
|
|
4281
|
+
const meta = ref({
|
|
4282
|
+
pagination: {
|
|
4283
|
+
limit: 50,
|
|
4284
|
+
offset: 0
|
|
4285
|
+
}
|
|
4286
|
+
});
|
|
4287
|
+
const busy = ref(false);
|
|
4288
|
+
const data = ref([]);
|
|
4289
|
+
const resolve = async (query)=>{
|
|
4290
|
+
busy.value = true;
|
|
4291
|
+
const response = await httpClient.log.getMany(query);
|
|
4292
|
+
data.value = response.data;
|
|
4293
|
+
meta.value = {
|
|
4294
|
+
...meta.value,
|
|
4295
|
+
pagination: {
|
|
4296
|
+
...meta.value.pagination,
|
|
4297
|
+
...response.meta
|
|
4298
|
+
}
|
|
4299
|
+
};
|
|
4300
|
+
busy.value = false;
|
|
4301
|
+
};
|
|
4302
|
+
const load = (input)=>resolve({
|
|
4303
|
+
...props.query,
|
|
4304
|
+
pagination: {
|
|
4305
|
+
...props.query?.pagination || {},
|
|
4306
|
+
...input.pagination || {}
|
|
4307
|
+
},
|
|
4308
|
+
filters: {
|
|
4309
|
+
...props.query?.filters || {},
|
|
4310
|
+
...input.filters || {}
|
|
4311
|
+
}
|
|
4312
|
+
});
|
|
4313
|
+
Promise.resolve().then(()=>resolve(props.query));
|
|
4314
|
+
return {
|
|
4315
|
+
busy,
|
|
4316
|
+
data,
|
|
4317
|
+
meta,
|
|
4318
|
+
load
|
|
4319
|
+
};
|
|
4320
|
+
}
|
|
4321
|
+
});
|
|
4322
|
+
|
|
4323
|
+
var _export_sfc = ((sfc, props)=>{
|
|
4324
|
+
const target = sfc.__vccOpts || sfc;
|
|
4325
|
+
for (const [key, val] of props){
|
|
4326
|
+
target[key] = val;
|
|
4327
|
+
}
|
|
4328
|
+
return target;
|
|
4329
|
+
});
|
|
4330
|
+
|
|
4331
|
+
const _hoisted_1$n = {
|
|
4332
|
+
class: "d-flex flex-column gap-1"
|
|
4333
|
+
};
|
|
4334
|
+
const _hoisted_2$k = {
|
|
4335
|
+
class: "log-container"
|
|
4336
|
+
};
|
|
4337
|
+
const _hoisted_3$h = {
|
|
4338
|
+
class: "log-body"
|
|
4339
|
+
};
|
|
4340
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4341
|
+
const _component_FLog = resolveComponent("FLog");
|
|
4342
|
+
return openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
4343
|
+
renderSlot(_ctx.$slots, "default", {}, ()=>[
|
|
4344
|
+
renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
4345
|
+
busy: _ctx.busy,
|
|
4346
|
+
data: _ctx.data,
|
|
4347
|
+
meta: _ctx.meta,
|
|
4348
|
+
load: _ctx.load
|
|
4349
|
+
}))),
|
|
4350
|
+
renderSlot(_ctx.$slots, "body", normalizeProps(guardReactiveProps({
|
|
4351
|
+
busy: _ctx.busy,
|
|
4352
|
+
data: _ctx.data,
|
|
4353
|
+
meta: _ctx.meta,
|
|
4354
|
+
load: _ctx.load
|
|
4355
|
+
})), ()=>[
|
|
4356
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
4357
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
4358
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.data, (item, index)=>{
|
|
4359
|
+
return openBlock(), createBlock(_component_FLog, {
|
|
4360
|
+
key: index,
|
|
4361
|
+
entity: item,
|
|
4362
|
+
index
|
|
4363
|
+
}, null, 8, [
|
|
4364
|
+
"entity",
|
|
4365
|
+
"index"
|
|
4366
|
+
]);
|
|
4367
|
+
}), 128))
|
|
4368
|
+
])
|
|
4369
|
+
]),
|
|
4370
|
+
_cache[0] || (_cache[0] = createElementVNode("div", {
|
|
4371
|
+
class: "d-flex flex-column gap-1"
|
|
4372
|
+
}, null, -1))
|
|
4373
|
+
]),
|
|
4374
|
+
renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({
|
|
4375
|
+
busy: _ctx.busy,
|
|
4376
|
+
data: _ctx.data,
|
|
4377
|
+
meta: _ctx.meta,
|
|
4378
|
+
load: _ctx.load
|
|
4379
|
+
})))
|
|
4380
|
+
])
|
|
4381
|
+
]);
|
|
4382
|
+
}
|
|
4383
|
+
var FLogs = /* @__PURE__ */ _export_sfc(_sfc_main$v, [
|
|
4384
|
+
[
|
|
4385
|
+
"render",
|
|
4386
|
+
_sfc_render$v
|
|
4387
|
+
]
|
|
4388
|
+
]);
|
|
4389
|
+
|
|
4390
|
+
var _sfc_main$u = defineComponent({
|
|
4391
|
+
components: {
|
|
4392
|
+
IVuelidate,
|
|
4393
|
+
VCFormInput,
|
|
4394
|
+
VCFormSubmit
|
|
4395
|
+
},
|
|
4396
|
+
props: {
|
|
4397
|
+
realmId: {
|
|
4398
|
+
type: String
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
4401
|
+
emits: [
|
|
4402
|
+
'done',
|
|
4403
|
+
'failed'
|
|
4404
|
+
],
|
|
4405
|
+
setup (props, { emit }) {
|
|
4406
|
+
const store = injectStore();
|
|
4407
|
+
const realmId = toRef(props, 'realmId');
|
|
4408
|
+
const form = reactive({
|
|
4409
|
+
name: '',
|
|
4410
|
+
password: '',
|
|
4411
|
+
realm_id: ''
|
|
4412
|
+
});
|
|
4413
|
+
if (realmId.value) {
|
|
4414
|
+
form.realm_id = realmId.value;
|
|
4415
|
+
}
|
|
4416
|
+
watch(realmId, (val)=>{
|
|
4417
|
+
form.realm_id = val ?? '';
|
|
4418
|
+
});
|
|
4419
|
+
const vuelidate = useVuelidate({
|
|
4420
|
+
name: {
|
|
4421
|
+
required,
|
|
4422
|
+
minLength: minLength(3),
|
|
4423
|
+
maxLength: maxLength(255)
|
|
4424
|
+
},
|
|
4425
|
+
password: {
|
|
4426
|
+
required,
|
|
4427
|
+
minLength: minLength(3),
|
|
4428
|
+
maxLength: maxLength(255)
|
|
4429
|
+
},
|
|
4430
|
+
realm_id: {}
|
|
4431
|
+
}, form);
|
|
4432
|
+
const busy = ref(false);
|
|
4433
|
+
const submit = async ()=>{
|
|
4434
|
+
try {
|
|
4435
|
+
await store.login({
|
|
4436
|
+
name: form.name,
|
|
4437
|
+
password: form.password,
|
|
4438
|
+
realmId: form.realm_id
|
|
4439
|
+
});
|
|
4440
|
+
emit('done');
|
|
4441
|
+
} catch (e) {
|
|
4442
|
+
if (e instanceof Error) {
|
|
4443
|
+
emit('failed', e);
|
|
4444
|
+
}
|
|
4445
|
+
}
|
|
4446
|
+
};
|
|
4447
|
+
return {
|
|
4448
|
+
vuelidate,
|
|
4449
|
+
form,
|
|
4450
|
+
submit,
|
|
4451
|
+
busy
|
|
4452
|
+
};
|
|
4453
|
+
}
|
|
4454
|
+
});
|
|
4455
|
+
|
|
4456
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4457
|
+
const _component_VCFormInput = resolveComponent("VCFormInput");
|
|
4458
|
+
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
4459
|
+
const _component_IVuelidate = resolveComponent("IVuelidate");
|
|
4460
|
+
const _component_VCFormSubmit = resolveComponent("VCFormSubmit");
|
|
4461
|
+
return openBlock(), createElementBlock("form", {
|
|
4462
|
+
onSubmit: _cache[3] || (_cache[3] = withModifiers((...args)=>_ctx.submit && _ctx.submit(...args), [
|
|
4463
|
+
"prevent"
|
|
4464
|
+
]))
|
|
4465
|
+
}, [
|
|
4466
|
+
createVNode(_component_IVuelidate, {
|
|
4467
|
+
validation: _ctx.vuelidate.name
|
|
4468
|
+
}, {
|
|
4469
|
+
default: withCtx((props)=>[
|
|
4470
|
+
createVNode(_component_VCFormGroup, {
|
|
4471
|
+
"validation-messages": props.data,
|
|
4472
|
+
"validation-severity": props.severity
|
|
4473
|
+
}, {
|
|
4474
|
+
label: withCtx(()=>[
|
|
4475
|
+
..._cache[4] || (_cache[4] = [
|
|
4476
|
+
createTextVNode(" Name ", -1)
|
|
4477
|
+
])
|
|
4478
|
+
]),
|
|
4479
|
+
default: withCtx(()=>[
|
|
4480
|
+
createVNode(_component_VCFormInput, {
|
|
4481
|
+
modelValue: _ctx.vuelidate.name.$model,
|
|
4482
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>_ctx.vuelidate.name.$model = $event)
|
|
4483
|
+
}, null, 8, [
|
|
4484
|
+
"modelValue"
|
|
4485
|
+
])
|
|
4486
|
+
]),
|
|
4487
|
+
_: 2
|
|
4488
|
+
}, 1032, [
|
|
4489
|
+
"validation-messages",
|
|
4490
|
+
"validation-severity"
|
|
4491
|
+
])
|
|
4492
|
+
]),
|
|
4493
|
+
_: 1
|
|
4494
|
+
}, 8, [
|
|
4495
|
+
"validation"
|
|
4496
|
+
]),
|
|
4497
|
+
createVNode(_component_IVuelidate, {
|
|
4498
|
+
validation: _ctx.vuelidate.password
|
|
4499
|
+
}, {
|
|
4500
|
+
default: withCtx((props)=>[
|
|
4501
|
+
createVNode(_component_VCFormGroup, {
|
|
4502
|
+
"validation-messages": props.data,
|
|
4503
|
+
"validation-severity": props.severity
|
|
4504
|
+
}, {
|
|
4505
|
+
label: withCtx(()=>[
|
|
4506
|
+
..._cache[5] || (_cache[5] = [
|
|
4507
|
+
createTextVNode(" Password ", -1)
|
|
4508
|
+
])
|
|
4509
|
+
]),
|
|
4510
|
+
default: withCtx(()=>[
|
|
4511
|
+
createVNode(_component_VCFormInput, {
|
|
4512
|
+
modelValue: _ctx.vuelidate.password.$model,
|
|
4513
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event)=>_ctx.vuelidate.password.$model = $event),
|
|
4514
|
+
type: "password"
|
|
4515
|
+
}, null, 8, [
|
|
4516
|
+
"modelValue"
|
|
4517
|
+
])
|
|
4518
|
+
]),
|
|
4519
|
+
_: 2
|
|
4520
|
+
}, 1032, [
|
|
4521
|
+
"validation-messages",
|
|
4522
|
+
"validation-severity"
|
|
4523
|
+
])
|
|
4524
|
+
]),
|
|
4525
|
+
_: 1
|
|
4526
|
+
}, 8, [
|
|
4527
|
+
"validation"
|
|
4528
|
+
]),
|
|
4529
|
+
createVNode(_component_VCFormSubmit, {
|
|
4530
|
+
modelValue: _ctx.busy,
|
|
4531
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event)=>_ctx.busy = $event),
|
|
4532
|
+
invalid: _ctx.vuelidate.$invalid,
|
|
4533
|
+
"create-text": "Login",
|
|
4534
|
+
"create-button-class": {
|
|
4535
|
+
value: "btn btn-sm btn-dark btn-block",
|
|
4536
|
+
presets: {
|
|
4537
|
+
bootstrap: false
|
|
4538
|
+
}
|
|
4539
|
+
},
|
|
4540
|
+
"create-icon-class": "fa-solid fa-right-to-bracket",
|
|
4541
|
+
submit: _ctx.submit
|
|
4542
|
+
}, null, 8, [
|
|
4543
|
+
"modelValue",
|
|
4544
|
+
"invalid",
|
|
4545
|
+
"submit"
|
|
4546
|
+
])
|
|
4547
|
+
], 32);
|
|
4548
|
+
}
|
|
4549
|
+
var FLoginForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [
|
|
4550
|
+
[
|
|
4551
|
+
"render",
|
|
4552
|
+
_sfc_render$u
|
|
4553
|
+
]
|
|
4554
|
+
]);
|
|
4555
|
+
|
|
4483
4556
|
const FMasterImage = defineComponent({
|
|
4484
4557
|
props: defineEntityManagerProps(),
|
|
4485
4558
|
emits: defineEntityManagerEvents(),
|
|
@@ -4754,6 +4827,10 @@ var FMasterImagePicker = defineComponent({
|
|
|
4754
4827
|
var FEntityDelete = defineComponent({
|
|
4755
4828
|
name: 'FEntityDelete',
|
|
4756
4829
|
props: {
|
|
4830
|
+
service: {
|
|
4831
|
+
type: String,
|
|
4832
|
+
default: 'core'
|
|
4833
|
+
},
|
|
4757
4834
|
elementIcon: {
|
|
4758
4835
|
type: String,
|
|
4759
4836
|
default: 'fa-solid fa-trash'
|
|
@@ -4783,14 +4860,37 @@ var FEntityDelete = defineComponent({
|
|
|
4783
4860
|
default: undefined
|
|
4784
4861
|
}
|
|
4785
4862
|
},
|
|
4863
|
+
emits: [
|
|
4864
|
+
'deleted',
|
|
4865
|
+
'failed'
|
|
4866
|
+
],
|
|
4786
4867
|
setup (props, ctx) {
|
|
4787
|
-
const
|
|
4868
|
+
const coreClient = injectCoreHTTPClient();
|
|
4869
|
+
const telemetryClient = injectTelemetryHTTPClient();
|
|
4870
|
+
const storageClient = injectStorageHTTPClient();
|
|
4788
4871
|
const instance = getCurrentInstance();
|
|
4789
4872
|
const busy = ref(false);
|
|
4790
4873
|
const submit = async ()=>{
|
|
4791
4874
|
if (busy.value) return;
|
|
4792
|
-
|
|
4793
|
-
|
|
4875
|
+
let domainAPI;
|
|
4876
|
+
switch(props.service){
|
|
4877
|
+
case 'core':
|
|
4878
|
+
{
|
|
4879
|
+
domainAPI = coreClient[props.entityType];
|
|
4880
|
+
break;
|
|
4881
|
+
}
|
|
4882
|
+
case 'storage':
|
|
4883
|
+
{
|
|
4884
|
+
domainAPI = storageClient[props.entityType];
|
|
4885
|
+
break;
|
|
4886
|
+
}
|
|
4887
|
+
case 'telemetry':
|
|
4888
|
+
{
|
|
4889
|
+
domainAPI = telemetryClient[props.entityType];
|
|
4890
|
+
break;
|
|
4891
|
+
}
|
|
4892
|
+
}
|
|
4893
|
+
if (!domainAPI) {
|
|
4794
4894
|
return;
|
|
4795
4895
|
}
|
|
4796
4896
|
if (typeof domainAPI.delete !== 'function') {
|
|
@@ -4904,25 +5004,160 @@ var FMasterImagesSync = defineComponent({
|
|
|
4904
5004
|
'Sync'
|
|
4905
5005
|
])
|
|
4906
5006
|
]),
|
|
4907
|
-
h(MasterImageList, {
|
|
4908
|
-
ref: itemList
|
|
4909
|
-
}, {
|
|
4910
|
-
[EntityListSlotName.ITEM_ACTIONS]: (props)=>h(FEntityDelete, {
|
|
4911
|
-
class: 'btn btn-xs btn-danger',
|
|
4912
|
-
elementType: 'button',
|
|
4913
|
-
entityId: props.data.id,
|
|
4914
|
-
entityType: DomainType.MASTER_IMAGE,
|
|
4915
|
-
withText: false,
|
|
4916
|
-
onDeleted (item) {
|
|
4917
|
-
return handleDeleted(item);
|
|
4918
|
-
}
|
|
4919
|
-
})
|
|
4920
|
-
})
|
|
4921
|
-
]);
|
|
5007
|
+
h(MasterImageList, {
|
|
5008
|
+
ref: itemList
|
|
5009
|
+
}, {
|
|
5010
|
+
[EntityListSlotName.ITEM_ACTIONS]: (props)=>h(FEntityDelete, {
|
|
5011
|
+
class: 'btn btn-xs btn-danger',
|
|
5012
|
+
elementType: 'button',
|
|
5013
|
+
entityId: props.data.id,
|
|
5014
|
+
entityType: DomainType.MASTER_IMAGE,
|
|
5015
|
+
withText: false,
|
|
5016
|
+
onDeleted (item) {
|
|
5017
|
+
return handleDeleted(item);
|
|
5018
|
+
}
|
|
5019
|
+
})
|
|
5020
|
+
})
|
|
5021
|
+
]);
|
|
5022
|
+
}
|
|
5023
|
+
});
|
|
5024
|
+
|
|
5025
|
+
var _sfc_main$t = defineComponent({
|
|
5026
|
+
props: {
|
|
5027
|
+
entity: {
|
|
5028
|
+
type: Object,
|
|
5029
|
+
required: true
|
|
5030
|
+
}
|
|
5031
|
+
}
|
|
5032
|
+
});
|
|
5033
|
+
|
|
5034
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5035
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(_ctx.entity)), ()=>[
|
|
5036
|
+
_ctx.entity.actor_type ? (openBlock(), createElementBlock(Fragment, {
|
|
5037
|
+
key: 0
|
|
5038
|
+
}, [
|
|
5039
|
+
createElementVNode("strong", null, toDisplayString(_ctx.entity.actor_type), 1),
|
|
5040
|
+
_cache[0] || (_cache[0] = createElementVNode("br", null, null, -1)),
|
|
5041
|
+
createTextVNode(" " + toDisplayString(_ctx.entity.actor_id), 1)
|
|
5042
|
+
], 64)) : renderSlot(_ctx.$slots, "fallback", {
|
|
5043
|
+
key: 1
|
|
5044
|
+
}, ()=>[
|
|
5045
|
+
_cache[1] || (_cache[1] = createTextVNode(" - ", -1))
|
|
5046
|
+
])
|
|
5047
|
+
]);
|
|
5048
|
+
}
|
|
5049
|
+
var FEventActor = /* @__PURE__ */ _export_sfc(_sfc_main$t, [
|
|
5050
|
+
[
|
|
5051
|
+
"render",
|
|
5052
|
+
_sfc_render$t
|
|
5053
|
+
]
|
|
5054
|
+
]);
|
|
5055
|
+
|
|
5056
|
+
var _sfc_main$s = defineComponent({
|
|
5057
|
+
props: {
|
|
5058
|
+
entity: {
|
|
5059
|
+
type: Object,
|
|
5060
|
+
required: true
|
|
5061
|
+
},
|
|
5062
|
+
direction: {
|
|
5063
|
+
type: String,
|
|
5064
|
+
default: 'column'
|
|
5065
|
+
}
|
|
5066
|
+
}
|
|
5067
|
+
});
|
|
5068
|
+
|
|
5069
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5070
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(_ctx.entity)), ()=>[
|
|
5071
|
+
createElementVNode("div", {
|
|
5072
|
+
class: normalizeClass([
|
|
5073
|
+
"d-flex gap-1 justify-content-center",
|
|
5074
|
+
{
|
|
5075
|
+
"flex-row": _ctx.direction === "row",
|
|
5076
|
+
"flex-column": _ctx.direction === "column"
|
|
5077
|
+
}
|
|
5078
|
+
])
|
|
5079
|
+
}, [
|
|
5080
|
+
createElementVNode("div", null, [
|
|
5081
|
+
createElementVNode("strong", null, toDisplayString(_ctx.entity.ref_type), 1)
|
|
5082
|
+
]),
|
|
5083
|
+
createElementVNode("div", null, [
|
|
5084
|
+
_ctx.entity.ref_id ? (openBlock(), createElementBlock(Fragment, {
|
|
5085
|
+
key: 0
|
|
5086
|
+
}, [
|
|
5087
|
+
createTextVNode(toDisplayString(_ctx.entity.ref_id), 1)
|
|
5088
|
+
], 64)) : createCommentVNode("", true)
|
|
5089
|
+
])
|
|
5090
|
+
], 2)
|
|
5091
|
+
]);
|
|
5092
|
+
}
|
|
5093
|
+
var FEventRef = /* @__PURE__ */ _export_sfc(_sfc_main$s, [
|
|
5094
|
+
[
|
|
5095
|
+
"render",
|
|
5096
|
+
_sfc_render$s
|
|
5097
|
+
]
|
|
5098
|
+
]);
|
|
5099
|
+
|
|
5100
|
+
var _sfc_main$r = defineComponent({
|
|
5101
|
+
props: {
|
|
5102
|
+
entity: {
|
|
5103
|
+
type: Object,
|
|
5104
|
+
required: true
|
|
5105
|
+
},
|
|
5106
|
+
direction: {
|
|
5107
|
+
type: String,
|
|
5108
|
+
default: 'column'
|
|
5109
|
+
}
|
|
4922
5110
|
}
|
|
4923
5111
|
});
|
|
4924
5112
|
|
|
4925
|
-
|
|
5113
|
+
const _hoisted_1$m = {
|
|
5114
|
+
key: 0
|
|
5115
|
+
};
|
|
5116
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5117
|
+
const _component_VCTimeago = resolveComponent("VCTimeago");
|
|
5118
|
+
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(_ctx.entity)), ()=>[
|
|
5119
|
+
createElementVNode("div", {
|
|
5120
|
+
class: normalizeClass([
|
|
5121
|
+
"d-flex justify-content-center gap-1",
|
|
5122
|
+
{
|
|
5123
|
+
"flex-row": _ctx.direction === "row",
|
|
5124
|
+
"flex-column": _ctx.direction === "column"
|
|
5125
|
+
}
|
|
5126
|
+
])
|
|
5127
|
+
}, [
|
|
5128
|
+
createElementVNode("div", null, [
|
|
5129
|
+
createElementVNode("i", {
|
|
5130
|
+
class: normalizeClass([
|
|
5131
|
+
"fa",
|
|
5132
|
+
{
|
|
5133
|
+
"fa-check text-success": _ctx.entity.expiring,
|
|
5134
|
+
"fa-times text-danger": !_ctx.entity.expiring
|
|
5135
|
+
}
|
|
5136
|
+
])
|
|
5137
|
+
}, null, 2)
|
|
5138
|
+
]),
|
|
5139
|
+
_ctx.entity.expiring ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
5140
|
+
createElementVNode("small", null, [
|
|
5141
|
+
_cache[0] || (_cache[0] = createTextVNode(" (", -1)),
|
|
5142
|
+
createVNode(_component_VCTimeago, {
|
|
5143
|
+
datetime: _ctx.entity.expires_at
|
|
5144
|
+
}, null, 8, [
|
|
5145
|
+
"datetime"
|
|
5146
|
+
]),
|
|
5147
|
+
_cache[1] || (_cache[1] = createTextVNode(") ", -1))
|
|
5148
|
+
])
|
|
5149
|
+
])) : createCommentVNode("", true)
|
|
5150
|
+
], 2)
|
|
5151
|
+
]);
|
|
5152
|
+
}
|
|
5153
|
+
var FEventExpiring = /* @__PURE__ */ _export_sfc(_sfc_main$r, [
|
|
5154
|
+
[
|
|
5155
|
+
"render",
|
|
5156
|
+
_sfc_render$r
|
|
5157
|
+
]
|
|
5158
|
+
]);
|
|
5159
|
+
|
|
5160
|
+
var FEvent = defineComponent({
|
|
4926
5161
|
props: {
|
|
4927
5162
|
index: {
|
|
4928
5163
|
type: Number,
|
|
@@ -4938,12 +5173,12 @@ var FMasterImageEventLog = defineComponent({
|
|
|
4938
5173
|
const message = [
|
|
4939
5174
|
'Event '
|
|
4940
5175
|
];
|
|
4941
|
-
message.push(h('strong', `${entity.value.name}`));
|
|
4942
|
-
if (entity.value.
|
|
5176
|
+
message.push(h('strong', `${entity.value.name} (${entity.value.scope})`));
|
|
5177
|
+
if (entity.value.ref_id) {
|
|
4943
5178
|
message.push(h('span', {
|
|
4944
5179
|
class: 'ms-1'
|
|
4945
5180
|
}, [
|
|
4946
|
-
`(${entity.value.
|
|
5181
|
+
`(${entity.value.ref_id})`
|
|
4947
5182
|
]));
|
|
4948
5183
|
}
|
|
4949
5184
|
message.push(' triggered.');
|
|
@@ -4982,83 +5217,100 @@ var FMasterImageEventLog = defineComponent({
|
|
|
4982
5217
|
}
|
|
4983
5218
|
});
|
|
4984
5219
|
|
|
4985
|
-
var
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
5220
|
+
var _sfc_main$q = defineComponent({
|
|
5221
|
+
props: {
|
|
5222
|
+
query: {
|
|
5223
|
+
type: Object
|
|
5224
|
+
}
|
|
5225
|
+
},
|
|
5226
|
+
setup (props) {
|
|
5227
|
+
const httpClient = injectTelemetryHTTPClient();
|
|
5228
|
+
const meta = ref({
|
|
5229
|
+
pagination: {
|
|
5230
|
+
limit: 50,
|
|
5231
|
+
offset: 0
|
|
4997
5232
|
}
|
|
4998
|
-
};
|
|
4999
|
-
const
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
processEvent (event) {
|
|
5011
|
-
return event.meta.roomName !== buildDomainChannelName(DomainType.MASTER_IMAGE_EVENT_LOG);
|
|
5233
|
+
});
|
|
5234
|
+
const busy = ref(false);
|
|
5235
|
+
const data = ref([]);
|
|
5236
|
+
const resolve = async (query)=>{
|
|
5237
|
+
busy.value = true;
|
|
5238
|
+
const response = await httpClient.event.getMany(query);
|
|
5239
|
+
data.value = response.data;
|
|
5240
|
+
meta.value = {
|
|
5241
|
+
...meta.value,
|
|
5242
|
+
pagination: {
|
|
5243
|
+
...meta.value.pagination,
|
|
5244
|
+
...response.meta
|
|
5012
5245
|
}
|
|
5013
|
-
}
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5246
|
+
};
|
|
5247
|
+
busy.value = false;
|
|
5248
|
+
};
|
|
5249
|
+
const load = (input)=>resolve({
|
|
5250
|
+
...props.query,
|
|
5251
|
+
pagination: {
|
|
5252
|
+
...props.query?.pagination || {},
|
|
5253
|
+
...input.pagination || {}
|
|
5020
5254
|
},
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
}
|
|
5025
|
-
});
|
|
5026
|
-
setDefaults({
|
|
5027
|
-
noMore: {
|
|
5028
|
-
content: 'No more logs available...'
|
|
5029
|
-
},
|
|
5030
|
-
item: {
|
|
5031
|
-
content (item, slotProps) {
|
|
5032
|
-
return h(FMasterImageEventLog, {
|
|
5033
|
-
entity: item,
|
|
5034
|
-
index: slotProps.index,
|
|
5035
|
-
onDeleted () {
|
|
5036
|
-
if (slotProps && slotProps.deleted) {
|
|
5037
|
-
slotProps.deleted(item);
|
|
5038
|
-
}
|
|
5039
|
-
},
|
|
5040
|
-
onUpdated: (e)=>{
|
|
5041
|
-
if (slotProps && slotProps.updated) {
|
|
5042
|
-
slotProps.updated(e);
|
|
5043
|
-
}
|
|
5044
|
-
}
|
|
5045
|
-
});
|
|
5255
|
+
filters: {
|
|
5256
|
+
...props.query?.filters || {},
|
|
5257
|
+
...input.filters || {}
|
|
5046
5258
|
}
|
|
5259
|
+
});
|
|
5260
|
+
const handleDeleted = (input)=>{
|
|
5261
|
+
const index = data.value.findIndex((el)=>el.id === input.id);
|
|
5262
|
+
if (index !== -1) {
|
|
5263
|
+
data.value.splice(index, 1);
|
|
5047
5264
|
}
|
|
5048
|
-
}
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
])
|
|
5058
|
-
]);
|
|
5265
|
+
};
|
|
5266
|
+
Promise.resolve().then(()=>resolve(props.query));
|
|
5267
|
+
return {
|
|
5268
|
+
handleDeleted,
|
|
5269
|
+
busy,
|
|
5270
|
+
data,
|
|
5271
|
+
meta,
|
|
5272
|
+
load
|
|
5273
|
+
};
|
|
5059
5274
|
}
|
|
5060
5275
|
});
|
|
5061
5276
|
|
|
5277
|
+
const _hoisted_1$l = {
|
|
5278
|
+
class: "d-flex flex-column gap-1"
|
|
5279
|
+
};
|
|
5280
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5281
|
+
return openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
5282
|
+
renderSlot(_ctx.$slots, "default", {}, ()=>[
|
|
5283
|
+
renderSlot(_ctx.$slots, "header", normalizeProps(guardReactiveProps({
|
|
5284
|
+
busy: _ctx.busy,
|
|
5285
|
+
data: _ctx.data,
|
|
5286
|
+
meta: _ctx.meta,
|
|
5287
|
+
load: _ctx.load,
|
|
5288
|
+
deleted: _ctx.handleDeleted
|
|
5289
|
+
}))),
|
|
5290
|
+
renderSlot(_ctx.$slots, "body", normalizeProps(guardReactiveProps({
|
|
5291
|
+
busy: _ctx.busy,
|
|
5292
|
+
data: _ctx.data,
|
|
5293
|
+
meta: _ctx.meta,
|
|
5294
|
+
load: _ctx.load,
|
|
5295
|
+
deleted: _ctx.handleDeleted
|
|
5296
|
+
}))),
|
|
5297
|
+
renderSlot(_ctx.$slots, "footer", normalizeProps(guardReactiveProps({
|
|
5298
|
+
busy: _ctx.busy,
|
|
5299
|
+
data: _ctx.data,
|
|
5300
|
+
meta: _ctx.meta,
|
|
5301
|
+
load: _ctx.load,
|
|
5302
|
+
deleted: _ctx.handleDeleted
|
|
5303
|
+
})))
|
|
5304
|
+
])
|
|
5305
|
+
]);
|
|
5306
|
+
}
|
|
5307
|
+
var FEvents = /* @__PURE__ */ _export_sfc(_sfc_main$q, [
|
|
5308
|
+
[
|
|
5309
|
+
"render",
|
|
5310
|
+
_sfc_render$q
|
|
5311
|
+
]
|
|
5312
|
+
]);
|
|
5313
|
+
|
|
5062
5314
|
const FProject = defineComponent({
|
|
5063
5315
|
props: defineEntityManagerProps(),
|
|
5064
5316
|
emits: defineEntityManagerEvents(),
|
|
@@ -5331,11 +5583,13 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5331
5583
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.handleDeleted && _ctx.handleDeleted(...args), [
|
|
5332
5584
|
"prevent"
|
|
5333
5585
|
]))
|
|
5334
|
-
},
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5586
|
+
}, [
|
|
5587
|
+
..._cache[2] || (_cache[2] = [
|
|
5588
|
+
createElementVNode("i", {
|
|
5589
|
+
class: "fa fa-minus"
|
|
5590
|
+
}, null, -1)
|
|
5591
|
+
])
|
|
5592
|
+
], 8, _hoisted_1$k)
|
|
5339
5593
|
]),
|
|
5340
5594
|
_: 1
|
|
5341
5595
|
}, 8, [
|
|
@@ -5509,7 +5763,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5509
5763
|
createElementVNode("div", _hoisted_2$j, [
|
|
5510
5764
|
createElementVNode("div", _hoisted_3$g, [
|
|
5511
5765
|
renderSlot(_ctx.$slots, "headerLabel", {}, ()=>[
|
|
5512
|
-
_cache[1] || (_cache[1] = createTextVNode(" Names "))
|
|
5766
|
+
_cache[1] || (_cache[1] = createTextVNode(" Names ", -1))
|
|
5513
5767
|
])
|
|
5514
5768
|
]),
|
|
5515
5769
|
createElementVNode("div", _hoisted_4$g, [
|
|
@@ -6277,15 +6531,14 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6277
6531
|
disabled: _ctx.busy,
|
|
6278
6532
|
class: "btn btn-xs btn-dark"
|
|
6279
6533
|
}, {
|
|
6280
|
-
default: withCtx(()=>
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
]
|
|
6534
|
+
default: withCtx(()=>[
|
|
6535
|
+
..._cache[3] || (_cache[3] = [
|
|
6536
|
+
createElementVNode("i", {
|
|
6537
|
+
class: "fa fa-bars"
|
|
6538
|
+
}, null, -1)
|
|
6539
|
+
])
|
|
6540
|
+
]),
|
|
6541
|
+
_: 1
|
|
6289
6542
|
}, 8, [
|
|
6290
6543
|
"to",
|
|
6291
6544
|
"disabled"
|
|
@@ -6296,11 +6549,13 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6296
6549
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.toggleModal && _ctx.toggleModal(...args), [
|
|
6297
6550
|
"prevent"
|
|
6298
6551
|
]))
|
|
6299
|
-
},
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6552
|
+
}, [
|
|
6553
|
+
..._cache[4] || (_cache[4] = [
|
|
6554
|
+
createElementVNode("i", {
|
|
6555
|
+
class: "fa fa-comment-alt"
|
|
6556
|
+
}, null, -1)
|
|
6557
|
+
])
|
|
6558
|
+
]),
|
|
6304
6559
|
createVNode(_component_FProjectNodeApprovalCommand, {
|
|
6305
6560
|
"entity-id": _ctx.entity.id,
|
|
6306
6561
|
"approval-status": _ctx.entity.approval_status,
|
|
@@ -6833,15 +7088,14 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6833
7088
|
disabled: _ctx.busy,
|
|
6834
7089
|
class: "btn btn-xs btn-dark"
|
|
6835
7090
|
}, {
|
|
6836
|
-
default: withCtx(()=>
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
]
|
|
7091
|
+
default: withCtx(()=>[
|
|
7092
|
+
..._cache[1] || (_cache[1] = [
|
|
7093
|
+
createElementVNode("i", {
|
|
7094
|
+
class: "fa fa-bars"
|
|
7095
|
+
}, null, -1)
|
|
7096
|
+
])
|
|
7097
|
+
]),
|
|
7098
|
+
_: 1
|
|
6845
7099
|
}, 8, [
|
|
6846
7100
|
"to",
|
|
6847
7101
|
"disabled"
|
|
@@ -8130,6 +8384,7 @@ function useEventListener(...args) {
|
|
|
8130
8384
|
tryOnScopeDispose(cleanup);
|
|
8131
8385
|
return stop;
|
|
8132
8386
|
}
|
|
8387
|
+
// @__NO_SIDE_EFFECTS__
|
|
8133
8388
|
function useMounted() {
|
|
8134
8389
|
const isMounted = shallowRef(false);
|
|
8135
8390
|
const instance = getCurrentInstance();
|
|
@@ -8140,6 +8395,7 @@ function useMounted() {
|
|
|
8140
8395
|
}
|
|
8141
8396
|
return isMounted;
|
|
8142
8397
|
}
|
|
8398
|
+
// @__NO_SIDE_EFFECTS__
|
|
8143
8399
|
function useSupported(callback) {
|
|
8144
8400
|
const isMounted = useMounted();
|
|
8145
8401
|
return computed(()=>{
|
|
@@ -8147,6 +8403,7 @@ function useSupported(callback) {
|
|
|
8147
8403
|
return Boolean(callback());
|
|
8148
8404
|
});
|
|
8149
8405
|
}
|
|
8406
|
+
// @__NO_SIDE_EFFECTS__
|
|
8150
8407
|
function usePermission(permissionDesc, options = {}) {
|
|
8151
8408
|
const { controls = false, navigator: navigator1 = defaultNavigator } = options;
|
|
8152
8409
|
const isSupported = useSupported(()=>navigator1 && "permissions" in navigator1);
|
|
@@ -8272,17 +8529,6 @@ var _sfc_main$j = defineComponent({
|
|
|
8272
8529
|
],
|
|
8273
8530
|
setup (props, { emit }) {
|
|
8274
8531
|
const httpClient = injectCoreHTTPClient();
|
|
8275
|
-
const keyTypeOptions = [
|
|
8276
|
-
{
|
|
8277
|
-
id: 'rsa',
|
|
8278
|
-
value: 'RSA'
|
|
8279
|
-
},
|
|
8280
|
-
{
|
|
8281
|
-
id: 'ecdh',
|
|
8282
|
-
value: 'ECDH'
|
|
8283
|
-
}
|
|
8284
|
-
];
|
|
8285
|
-
const keyType = ref('ecdh');
|
|
8286
8532
|
const privateKey = ref(null);
|
|
8287
8533
|
const publicKey = ref(null);
|
|
8288
8534
|
const clipboard = useClipboard();
|
|
@@ -8326,25 +8572,10 @@ var _sfc_main$j = defineComponent({
|
|
|
8326
8572
|
if (busy.value) return;
|
|
8327
8573
|
busy.value = true;
|
|
8328
8574
|
try {
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
namedCurve: 'P-256'
|
|
8334
|
-
};
|
|
8335
|
-
} else {
|
|
8336
|
-
algorithmOptions = {
|
|
8337
|
-
name: 'RSA-OAEP',
|
|
8338
|
-
modulusLength: 2048,
|
|
8339
|
-
hash: 'SHA-256',
|
|
8340
|
-
publicExponent: new Uint8Array([
|
|
8341
|
-
1,
|
|
8342
|
-
0,
|
|
8343
|
-
1
|
|
8344
|
-
])
|
|
8345
|
-
};
|
|
8346
|
-
}
|
|
8347
|
-
const algorithm = new CryptoAsymmetricAlgorithm(algorithmOptions);
|
|
8575
|
+
const algorithm = new CryptoAsymmetricAlgorithm({
|
|
8576
|
+
name: 'ECDH',
|
|
8577
|
+
namedCurve: 'P-256'
|
|
8578
|
+
});
|
|
8348
8579
|
const keyPair = await algorithm.generateKeyPair();
|
|
8349
8580
|
publicKey.value = await exportAsymmetricPublicKey(keyPair.publicKey);
|
|
8350
8581
|
privateKey.value = await exportAsymmetricPrivateKey(keyPair.privateKey);
|
|
@@ -8354,8 +8585,6 @@ var _sfc_main$j = defineComponent({
|
|
|
8354
8585
|
}
|
|
8355
8586
|
};
|
|
8356
8587
|
return {
|
|
8357
|
-
keyType,
|
|
8358
|
-
keyTypeOptions,
|
|
8359
8588
|
busy,
|
|
8360
8589
|
copy,
|
|
8361
8590
|
generate,
|
|
@@ -8406,10 +8635,9 @@ const _hoisted_12 = [
|
|
|
8406
8635
|
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8407
8636
|
const _component_VCFormTextarea = resolveComponent("VCFormTextarea");
|
|
8408
8637
|
const _component_VCFormGroup = resolveComponent("VCFormGroup");
|
|
8409
|
-
const _component_VCFormSelect = resolveComponent("VCFormSelect");
|
|
8410
8638
|
return openBlock(), createElementBlock("div", null, [
|
|
8411
|
-
_cache[
|
|
8412
|
-
_cache[
|
|
8639
|
+
_cache[13] || (_cache[13] = createElementVNode("h6", null, "KeyPair", -1)),
|
|
8640
|
+
_cache[14] || (_cache[14] = createElementVNode("p", null, " The public key of the key pair is used to encrypt data that is transmitted between different nodes through the storage service. ", -1)),
|
|
8413
8641
|
createElementVNode("div", _hoisted_1$g, [
|
|
8414
8642
|
createElementVNode("div", _hoisted_2$g, [
|
|
8415
8643
|
createElementVNode("div", _hoisted_3$d, [
|
|
@@ -8418,7 +8646,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8418
8646
|
}, {
|
|
8419
8647
|
label: withCtx(()=>[
|
|
8420
8648
|
createElementVNode("div", _hoisted_4$d, [
|
|
8421
|
-
_cache[
|
|
8649
|
+
_cache[7] || (_cache[7] = createElementVNode("div", null, " PublicKey ", -1)),
|
|
8422
8650
|
createElementVNode("div", _hoisted_5$a, [
|
|
8423
8651
|
withDirectives(createElementVNode("button", {
|
|
8424
8652
|
type: "button",
|
|
@@ -8426,12 +8654,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8426
8654
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event)=>_ctx.copy("publicKey"), [
|
|
8427
8655
|
"prevent"
|
|
8428
8656
|
]))
|
|
8429
|
-
},
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8657
|
+
}, [
|
|
8658
|
+
..._cache[6] || (_cache[6] = [
|
|
8659
|
+
createElementVNode("i", {
|
|
8660
|
+
class: "fa fa-copy"
|
|
8661
|
+
}, null, -1),
|
|
8662
|
+
createTextVNode(" Copy ", -1)
|
|
8663
|
+
])
|
|
8664
|
+
], 512), [
|
|
8435
8665
|
[
|
|
8436
8666
|
vShow,
|
|
8437
8667
|
!!_ctx.publicKey
|
|
@@ -8458,7 +8688,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8458
8688
|
}, {
|
|
8459
8689
|
label: withCtx(()=>[
|
|
8460
8690
|
createElementVNode("div", _hoisted_7$7, [
|
|
8461
|
-
_cache[
|
|
8691
|
+
_cache[9] || (_cache[9] = createElementVNode("div", null, " PrivateKey ", -1)),
|
|
8462
8692
|
createElementVNode("div", _hoisted_8$6, [
|
|
8463
8693
|
withDirectives(createElementVNode("button", {
|
|
8464
8694
|
type: "button",
|
|
@@ -8466,12 +8696,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8466
8696
|
onClick: _cache[2] || (_cache[2] = withModifiers(($event)=>_ctx.copy("privateKey"), [
|
|
8467
8697
|
"prevent"
|
|
8468
8698
|
]))
|
|
8469
|
-
},
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8699
|
+
}, [
|
|
8700
|
+
..._cache[8] || (_cache[8] = [
|
|
8701
|
+
createElementVNode("i", {
|
|
8702
|
+
class: "fa fa-copy"
|
|
8703
|
+
}, null, -1),
|
|
8704
|
+
createTextVNode(" Copy ", -1)
|
|
8705
|
+
])
|
|
8706
|
+
], 512), [
|
|
8475
8707
|
[
|
|
8476
8708
|
vShow,
|
|
8477
8709
|
!!_ctx.privateKey
|
|
@@ -8492,62 +8724,50 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8492
8724
|
]),
|
|
8493
8725
|
_: 1
|
|
8494
8726
|
}),
|
|
8495
|
-
_ctx.privateKey ? (openBlock(), createElementBlock("div", _hoisted_9$3,
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8727
|
+
_ctx.privateKey ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
|
|
8728
|
+
..._cache[10] || (_cache[10] = [
|
|
8729
|
+
createElementVNode("i", {
|
|
8730
|
+
class: "fa fa-warning"
|
|
8731
|
+
}, null, -1),
|
|
8732
|
+
createTextVNode(" Please copy the key to a safe location, as it is not stored remotely. ", -1)
|
|
8733
|
+
])
|
|
8734
|
+
])) : createCommentVNode("", true)
|
|
8501
8735
|
])
|
|
8502
8736
|
]),
|
|
8503
|
-
createElementVNode("div", null, [
|
|
8504
|
-
createVNode(_component_VCFormGroup, null, {
|
|
8505
|
-
label: withCtx(()=>_cache[12] || (_cache[12] = [
|
|
8506
|
-
createTextVNode(" KeyType ")
|
|
8507
|
-
])),
|
|
8508
|
-
default: withCtx(()=>[
|
|
8509
|
-
createVNode(_component_VCFormSelect, {
|
|
8510
|
-
modelValue: _ctx.keyType,
|
|
8511
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event)=>_ctx.keyType = $event),
|
|
8512
|
-
options: _ctx.keyTypeOptions
|
|
8513
|
-
}, null, 8, [
|
|
8514
|
-
"modelValue",
|
|
8515
|
-
"options"
|
|
8516
|
-
])
|
|
8517
|
-
]),
|
|
8518
|
-
_: 1
|
|
8519
|
-
})
|
|
8520
|
-
]),
|
|
8521
8737
|
createElementVNode("div", _hoisted_10$3, [
|
|
8522
8738
|
createElementVNode("div", null, [
|
|
8523
8739
|
createElementVNode("button", {
|
|
8524
8740
|
disabled: _ctx.busy,
|
|
8525
8741
|
type: "button",
|
|
8526
8742
|
class: "btn btn-primary btn-xs",
|
|
8527
|
-
onClick: _cache[
|
|
8743
|
+
onClick: _cache[4] || (_cache[4] = withModifiers((...args)=>_ctx.save && _ctx.save(...args), [
|
|
8528
8744
|
"prevent"
|
|
8529
8745
|
]))
|
|
8530
|
-
},
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8746
|
+
}, [
|
|
8747
|
+
..._cache[11] || (_cache[11] = [
|
|
8748
|
+
createElementVNode("i", {
|
|
8749
|
+
class: "fa fa-save"
|
|
8750
|
+
}, null, -1),
|
|
8751
|
+
createTextVNode(" Save ", -1)
|
|
8752
|
+
])
|
|
8753
|
+
], 8, _hoisted_11$2)
|
|
8536
8754
|
]),
|
|
8537
8755
|
createElementVNode("div", null, [
|
|
8538
8756
|
createElementVNode("button", {
|
|
8539
8757
|
disabled: _ctx.busy,
|
|
8540
8758
|
type: "button",
|
|
8541
8759
|
class: "btn btn-dark btn-xs",
|
|
8542
|
-
onClick: _cache[
|
|
8760
|
+
onClick: _cache[5] || (_cache[5] = withModifiers((...args)=>_ctx.generate && _ctx.generate(...args), [
|
|
8543
8761
|
"prevent"
|
|
8544
8762
|
]))
|
|
8545
|
-
},
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8763
|
+
}, [
|
|
8764
|
+
..._cache[12] || (_cache[12] = [
|
|
8765
|
+
createElementVNode("i", {
|
|
8766
|
+
class: "fas fa-sync-alt"
|
|
8767
|
+
}, null, -1),
|
|
8768
|
+
createTextVNode(" Generate ", -1)
|
|
8769
|
+
])
|
|
8770
|
+
], 8, _hoisted_12)
|
|
8551
8771
|
])
|
|
8552
8772
|
])
|
|
8553
8773
|
])
|
|
@@ -9130,12 +9350,14 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9130
9350
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.toggleModal && _ctx.toggleModal(...args), [
|
|
9131
9351
|
"prevent"
|
|
9132
9352
|
]))
|
|
9133
|
-
},
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9353
|
+
}, [
|
|
9354
|
+
..._cache[2] || (_cache[2] = [
|
|
9355
|
+
createElementVNode("i", {
|
|
9356
|
+
class: "fa fa-add"
|
|
9357
|
+
}, null, -1),
|
|
9358
|
+
createTextVNode(" Add ", -1)
|
|
9359
|
+
])
|
|
9360
|
+
])
|
|
9139
9361
|
]),
|
|
9140
9362
|
header: withCtx((props)=>[
|
|
9141
9363
|
renderSlot(_ctx.$slots, "header", {
|
|
@@ -9163,11 +9385,13 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9163
9385
|
onClick: withModifiers(($event)=>_ctx.drop(props.data), [
|
|
9164
9386
|
"prevent"
|
|
9165
9387
|
])
|
|
9166
|
-
},
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9388
|
+
}, [
|
|
9389
|
+
..._cache[4] || (_cache[4] = [
|
|
9390
|
+
createElementVNode("i", {
|
|
9391
|
+
class: "fa fa-trash"
|
|
9392
|
+
}, null, -1)
|
|
9393
|
+
])
|
|
9394
|
+
], 8, _hoisted_5$9)
|
|
9171
9395
|
])
|
|
9172
9396
|
])
|
|
9173
9397
|
]),
|
|
@@ -9215,11 +9439,13 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9215
9439
|
onClick: withModifiers(($event)=>props.close(), [
|
|
9216
9440
|
"prevent"
|
|
9217
9441
|
])
|
|
9218
|
-
},
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9442
|
+
}, [
|
|
9443
|
+
..._cache[5] || (_cache[5] = [
|
|
9444
|
+
createElementVNode("i", {
|
|
9445
|
+
class: "fa fa-times"
|
|
9446
|
+
}, null, -1)
|
|
9447
|
+
])
|
|
9448
|
+
], 8, _hoisted_8$5)
|
|
9223
9449
|
])
|
|
9224
9450
|
])
|
|
9225
9451
|
]),
|
|
@@ -9372,12 +9598,14 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9372
9598
|
onClick: withModifiers(props.add, [
|
|
9373
9599
|
"prevent"
|
|
9374
9600
|
])
|
|
9375
|
-
},
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9601
|
+
}, [
|
|
9602
|
+
..._cache[0] || (_cache[0] = [
|
|
9603
|
+
createElementVNode("i", {
|
|
9604
|
+
class: "fa fa-plus me-1"
|
|
9605
|
+
}, null, -1),
|
|
9606
|
+
createTextVNode(" Add ", -1)
|
|
9607
|
+
])
|
|
9608
|
+
], 8, _hoisted_4$b)
|
|
9381
9609
|
])
|
|
9382
9610
|
])
|
|
9383
9611
|
]),
|
|
@@ -9728,9 +9956,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9728
9956
|
"min-items": 0,
|
|
9729
9957
|
onChanged: _ctx.handleItemsBeforeChanged
|
|
9730
9958
|
}, {
|
|
9731
|
-
headerLabel: withCtx(()=>
|
|
9732
|
-
|
|
9733
|
-
|
|
9959
|
+
headerLabel: withCtx(()=>[
|
|
9960
|
+
..._cache[2] || (_cache[2] = [
|
|
9961
|
+
createTextVNode(" Before ", -1)
|
|
9962
|
+
])
|
|
9963
|
+
]),
|
|
9734
9964
|
headerActions: withCtx((props)=>[
|
|
9735
9965
|
createElementVNode("button", {
|
|
9736
9966
|
disabled: _ctx.isBusy,
|
|
@@ -9738,11 +9968,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9738
9968
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event)=>_ctx.resetItemsForPosition("before"), [
|
|
9739
9969
|
"prevent"
|
|
9740
9970
|
]))
|
|
9741
|
-
},
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9971
|
+
}, [
|
|
9972
|
+
..._cache[3] || (_cache[3] = [
|
|
9973
|
+
createElementVNode("i", {
|
|
9974
|
+
class: "fa fa-undo"
|
|
9975
|
+
}, null, -1)
|
|
9976
|
+
])
|
|
9977
|
+
], 8, _hoisted_3$a),
|
|
9746
9978
|
createElementVNode("button", {
|
|
9747
9979
|
class: "btn btn-xs btn-primary",
|
|
9748
9980
|
type: "button",
|
|
@@ -9750,17 +9982,21 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9750
9982
|
onClick: withModifiers(($event)=>props.add(), [
|
|
9751
9983
|
"prevent"
|
|
9752
9984
|
])
|
|
9753
|
-
},
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9985
|
+
}, [
|
|
9986
|
+
..._cache[4] || (_cache[4] = [
|
|
9987
|
+
createElementVNode("i", {
|
|
9988
|
+
class: "fa fa-plus"
|
|
9989
|
+
}, null, -1)
|
|
9990
|
+
])
|
|
9991
|
+
], 8, _hoisted_4$a)
|
|
9992
|
+
]),
|
|
9993
|
+
noItems: withCtx(()=>[
|
|
9994
|
+
..._cache[5] || (_cache[5] = [
|
|
9995
|
+
createElementVNode("div", {
|
|
9996
|
+
class: "alert alert-sm alert-info"
|
|
9997
|
+
}, " No command arguments are selected to be placed between command and entrypoint. ", -1)
|
|
9998
|
+
])
|
|
9758
9999
|
]),
|
|
9759
|
-
noItems: withCtx(()=>_cache[5] || (_cache[5] = [
|
|
9760
|
-
createElementVNode("div", {
|
|
9761
|
-
class: "alert alert-sm alert-info"
|
|
9762
|
-
}, " No command arguments are selected to be placed between command and entrypoint. ", -1)
|
|
9763
|
-
])),
|
|
9764
10000
|
_: 1
|
|
9765
10001
|
}, 8, [
|
|
9766
10002
|
"names",
|
|
@@ -9774,9 +10010,11 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9774
10010
|
"min-items": 0,
|
|
9775
10011
|
onChanged: _ctx.handleItemsAfterChanged
|
|
9776
10012
|
}, {
|
|
9777
|
-
headerLabel: withCtx(()=>
|
|
9778
|
-
|
|
9779
|
-
|
|
10013
|
+
headerLabel: withCtx(()=>[
|
|
10014
|
+
..._cache[6] || (_cache[6] = [
|
|
10015
|
+
createTextVNode(" After ", -1)
|
|
10016
|
+
])
|
|
10017
|
+
]),
|
|
9780
10018
|
headerActions: withCtx((props)=>[
|
|
9781
10019
|
createElementVNode("button", {
|
|
9782
10020
|
disabled: _ctx.isBusy,
|
|
@@ -9784,11 +10022,13 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9784
10022
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event)=>_ctx.resetItemsForPosition("after"), [
|
|
9785
10023
|
"prevent"
|
|
9786
10024
|
]))
|
|
9787
|
-
},
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
|
|
10025
|
+
}, [
|
|
10026
|
+
..._cache[7] || (_cache[7] = [
|
|
10027
|
+
createElementVNode("i", {
|
|
10028
|
+
class: "fa fa-undo"
|
|
10029
|
+
}, null, -1)
|
|
10030
|
+
])
|
|
10031
|
+
], 8, _hoisted_6$6),
|
|
9792
10032
|
createElementVNode("button", {
|
|
9793
10033
|
class: "btn btn-xs btn-primary",
|
|
9794
10034
|
type: "button",
|
|
@@ -9796,17 +10036,21 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9796
10036
|
onClick: withModifiers(($event)=>props.add(), [
|
|
9797
10037
|
"prevent"
|
|
9798
10038
|
])
|
|
9799
|
-
},
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
10039
|
+
}, [
|
|
10040
|
+
..._cache[8] || (_cache[8] = [
|
|
10041
|
+
createElementVNode("i", {
|
|
10042
|
+
class: "fa fa-plus"
|
|
10043
|
+
}, null, -1)
|
|
10044
|
+
])
|
|
10045
|
+
], 8, _hoisted_7$5)
|
|
10046
|
+
]),
|
|
10047
|
+
noItems: withCtx(()=>[
|
|
10048
|
+
..._cache[9] || (_cache[9] = [
|
|
10049
|
+
createElementVNode("div", {
|
|
10050
|
+
class: "alert alert-sm alert-info"
|
|
10051
|
+
}, " No command arguments are selected to be placed after the entrypoint. ", -1)
|
|
10052
|
+
])
|
|
9804
10053
|
]),
|
|
9805
|
-
noItems: withCtx(()=>_cache[9] || (_cache[9] = [
|
|
9806
|
-
createElementVNode("div", {
|
|
9807
|
-
class: "alert alert-sm alert-info"
|
|
9808
|
-
}, " No command arguments are selected to be placed after the entrypoint. ", -1)
|
|
9809
|
-
])),
|
|
9810
10054
|
_: 1
|
|
9811
10055
|
}, 8, [
|
|
9812
10056
|
"names",
|
|
@@ -10078,11 +10322,13 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10078
10322
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args)=>_ctx.drop && _ctx.drop(...args), [
|
|
10079
10323
|
"prevent"
|
|
10080
10324
|
]))
|
|
10081
|
-
},
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10325
|
+
}, [
|
|
10326
|
+
..._cache[3] || (_cache[3] = [
|
|
10327
|
+
createElementVNode("i", {
|
|
10328
|
+
class: "fa fa-trash"
|
|
10329
|
+
}, null, -1)
|
|
10330
|
+
])
|
|
10331
|
+
], 8, _hoisted_5$7)
|
|
10086
10332
|
])
|
|
10087
10333
|
])
|
|
10088
10334
|
], 2);
|
|
@@ -10199,11 +10445,13 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10199
10445
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.drop && _ctx.drop(...args), [
|
|
10200
10446
|
"prevent"
|
|
10201
10447
|
]))
|
|
10202
|
-
},
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10448
|
+
}, [
|
|
10449
|
+
..._cache[1] || (_cache[1] = [
|
|
10450
|
+
createElementVNode("i", {
|
|
10451
|
+
class: "fa fa fa-trash"
|
|
10452
|
+
}, null, -1)
|
|
10453
|
+
])
|
|
10454
|
+
])
|
|
10207
10455
|
])
|
|
10208
10456
|
]);
|
|
10209
10457
|
}
|
|
@@ -10387,12 +10635,14 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10387
10635
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args)=>_ctx.upload && _ctx.upload(...args), [
|
|
10388
10636
|
"prevent"
|
|
10389
10637
|
]))
|
|
10390
|
-
},
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10638
|
+
}, [
|
|
10639
|
+
..._cache[4] || (_cache[4] = [
|
|
10640
|
+
createElementVNode("i", {
|
|
10641
|
+
class: "fa fa-upload"
|
|
10642
|
+
}, null, -1),
|
|
10643
|
+
createTextVNode(" Upload ", -1)
|
|
10644
|
+
])
|
|
10645
|
+
], 8, _hoisted_10$1)
|
|
10396
10646
|
])
|
|
10397
10647
|
])
|
|
10398
10648
|
]);
|
|
@@ -10572,12 +10822,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10572
10822
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.toggleModal && _ctx.toggleModal(...args), [
|
|
10573
10823
|
"prevent"
|
|
10574
10824
|
]))
|
|
10575
|
-
},
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10825
|
+
}, [
|
|
10826
|
+
..._cache[6] || (_cache[6] = [
|
|
10827
|
+
createElementVNode("i", {
|
|
10828
|
+
class: "fa fa-upload"
|
|
10829
|
+
}, null, -1),
|
|
10830
|
+
createTextVNode(" Upload ", -1)
|
|
10831
|
+
])
|
|
10832
|
+
])
|
|
10581
10833
|
])
|
|
10582
10834
|
]),
|
|
10583
10835
|
createElementVNode("div", null, [
|
|
@@ -10618,12 +10870,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10618
10870
|
onClick: _cache[3] || (_cache[3] = withModifiers((...args)=>_ctx.toggleModal && _ctx.toggleModal(...args), [
|
|
10619
10871
|
"prevent"
|
|
10620
10872
|
]))
|
|
10621
|
-
},
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10873
|
+
}, [
|
|
10874
|
+
..._cache[8] || (_cache[8] = [
|
|
10875
|
+
createElementVNode("i", {
|
|
10876
|
+
class: "fa fa-add"
|
|
10877
|
+
}, null, -1),
|
|
10878
|
+
createTextVNode(" Add ", -1)
|
|
10879
|
+
])
|
|
10880
|
+
])
|
|
10627
10881
|
]),
|
|
10628
10882
|
body: withCtx((props)=>[
|
|
10629
10883
|
createElementVNode("div", _hoisted_3$6, [
|
|
@@ -10661,12 +10915,14 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10661
10915
|
onClick: _cache[4] || (_cache[4] = withModifiers((...args)=>_ctx.dropSelected && _ctx.dropSelected(...args), [
|
|
10662
10916
|
"prevent"
|
|
10663
10917
|
]))
|
|
10664
|
-
},
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10918
|
+
}, [
|
|
10919
|
+
..._cache[10] || (_cache[10] = [
|
|
10920
|
+
createElementVNode("i", {
|
|
10921
|
+
class: "fa fa-trash"
|
|
10922
|
+
}, null, -1),
|
|
10923
|
+
createTextVNode(" Delete ", -1)
|
|
10924
|
+
])
|
|
10925
|
+
], 8, _hoisted_5$5)
|
|
10670
10926
|
])
|
|
10671
10927
|
]),
|
|
10672
10928
|
createElementVNode("div", null, [
|
|
@@ -10695,11 +10951,13 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10695
10951
|
onClick: withModifiers(($event)=>props.close(), [
|
|
10696
10952
|
"prevent"
|
|
10697
10953
|
])
|
|
10698
|
-
},
|
|
10699
|
-
|
|
10700
|
-
|
|
10701
|
-
|
|
10702
|
-
|
|
10954
|
+
}, [
|
|
10955
|
+
..._cache[11] || (_cache[11] = [
|
|
10956
|
+
createElementVNode("i", {
|
|
10957
|
+
class: "fa fa-times"
|
|
10958
|
+
}, null, -1)
|
|
10959
|
+
])
|
|
10960
|
+
], 8, _hoisted_8$3)
|
|
10703
10961
|
])
|
|
10704
10962
|
])
|
|
10705
10963
|
]),
|
|
@@ -10839,12 +11097,14 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10839
11097
|
onClick: withModifiers(props.add, [
|
|
10840
11098
|
"prevent"
|
|
10841
11099
|
])
|
|
10842
|
-
},
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
11100
|
+
}, [
|
|
11101
|
+
..._cache[1] || (_cache[1] = [
|
|
11102
|
+
createElementVNode("i", {
|
|
11103
|
+
class: "fa fa-plus me-1"
|
|
11104
|
+
}, null, -1),
|
|
11105
|
+
createTextVNode(" Add ", -1)
|
|
11106
|
+
])
|
|
11107
|
+
], 8, _hoisted_3$5)
|
|
10848
11108
|
])
|
|
10849
11109
|
])
|
|
10850
11110
|
]),
|
|
@@ -10865,12 +11125,14 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10865
11125
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args)=>_ctx.retry && _ctx.retry(...args), [
|
|
10866
11126
|
"prevent"
|
|
10867
11127
|
]))
|
|
10868
|
-
},
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
11128
|
+
}, [
|
|
11129
|
+
..._cache[3] || (_cache[3] = [
|
|
11130
|
+
createElementVNode("i", {
|
|
11131
|
+
class: "fas fa-rotate-right"
|
|
11132
|
+
}, null, -1),
|
|
11133
|
+
createTextVNode(" Retry ", -1)
|
|
11134
|
+
])
|
|
11135
|
+
])
|
|
10874
11136
|
])
|
|
10875
11137
|
]),
|
|
10876
11138
|
_: 1
|
|
@@ -10976,11 +11238,13 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10976
11238
|
"no-close-on-backdrop": true,
|
|
10977
11239
|
"no-close-on-esc": true
|
|
10978
11240
|
}, {
|
|
10979
|
-
header: withCtx(()=>
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
11241
|
+
header: withCtx(()=>[
|
|
11242
|
+
..._cache[2] || (_cache[2] = [
|
|
11243
|
+
createElementVNode("h6", {
|
|
11244
|
+
class: "mb-0"
|
|
11245
|
+
}, " Next Steps ", -1)
|
|
11246
|
+
])
|
|
11247
|
+
]),
|
|
10984
11248
|
default: withCtx(()=>[
|
|
10985
11249
|
_cache[7] || (_cache[7] = createElementVNode("div", {
|
|
10986
11250
|
class: "alert alert-success alert-sm"
|
|
@@ -11004,12 +11268,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11004
11268
|
label: withCtx((props)=>[
|
|
11005
11269
|
createElementVNode("label", {
|
|
11006
11270
|
for: props.id
|
|
11007
|
-
},
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11271
|
+
}, [
|
|
11272
|
+
..._cache[3] || (_cache[3] = [
|
|
11273
|
+
createElementVNode("i", {
|
|
11274
|
+
class: "fa fa-lock"
|
|
11275
|
+
}, null, -1),
|
|
11276
|
+
createTextVNode(" Lock it? ", -1)
|
|
11277
|
+
])
|
|
11278
|
+
], 8, _hoisted_2$6)
|
|
11013
11279
|
]),
|
|
11014
11280
|
_: 1
|
|
11015
11281
|
}, 8, [
|
|
@@ -11017,7 +11283,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11017
11283
|
"disabled",
|
|
11018
11284
|
"onChange"
|
|
11019
11285
|
]),
|
|
11020
|
-
_cache[4] || (_cache[4] = createTextVNode(" In order to build the analysis, the configuration must be locked! "))
|
|
11286
|
+
_cache[4] || (_cache[4] = createTextVNode(" In order to build the analysis, the configuration must be locked! ", -1))
|
|
11021
11287
|
]),
|
|
11022
11288
|
_ctx.lockIt ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
|
|
11023
11289
|
createVNode(_component_VCFormInputCheckbox, {
|
|
@@ -11031,12 +11297,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11031
11297
|
label: withCtx((props)=>[
|
|
11032
11298
|
createElementVNode("label", {
|
|
11033
11299
|
for: props.id
|
|
11034
|
-
},
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11300
|
+
}, [
|
|
11301
|
+
..._cache[5] || (_cache[5] = [
|
|
11302
|
+
createElementVNode("i", {
|
|
11303
|
+
class: "fa fa-wrench"
|
|
11304
|
+
}, null, -1),
|
|
11305
|
+
createTextVNode(" Build it? ", -1)
|
|
11306
|
+
])
|
|
11307
|
+
], 8, _hoisted_4$4)
|
|
11040
11308
|
]),
|
|
11041
11309
|
_: 1
|
|
11042
11310
|
}, 8, [
|
|
@@ -11044,7 +11312,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11044
11312
|
"disabled",
|
|
11045
11313
|
"onChange"
|
|
11046
11314
|
]),
|
|
11047
|
-
_cache[6] || (_cache[6] = createTextVNode(" Be aware that you will then no longer be able to modify the configuration after the build proccess is started. "))
|
|
11315
|
+
_cache[6] || (_cache[6] = createTextVNode(" Be aware that you will then no longer be able to modify the configuration after the build proccess is started. ", -1))
|
|
11048
11316
|
])) : createCommentVNode("", true)
|
|
11049
11317
|
])
|
|
11050
11318
|
]),
|
|
@@ -11058,12 +11326,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11058
11326
|
onClick: withModifiers(($event)=>props.cancel(), [
|
|
11059
11327
|
"prevent"
|
|
11060
11328
|
])
|
|
11061
|
-
},
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11329
|
+
}, [
|
|
11330
|
+
..._cache[8] || (_cache[8] = [
|
|
11331
|
+
createElementVNode("i", {
|
|
11332
|
+
class: "fa fa-abort"
|
|
11333
|
+
}, null, -1),
|
|
11334
|
+
createTextVNode(" Cancel ", -1)
|
|
11335
|
+
])
|
|
11336
|
+
], 8, _hoisted_6$3)
|
|
11067
11337
|
]),
|
|
11068
11338
|
createElementVNode("div", _hoisted_7$2, [
|
|
11069
11339
|
createElementVNode("button", {
|
|
@@ -11511,19 +11781,21 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11511
11781
|
onOnComplete: _ctx.handleWizardFinishedEvent,
|
|
11512
11782
|
onOnError: _ctx.handleWizardErrorEvent
|
|
11513
11783
|
}, {
|
|
11514
|
-
title: withCtx(()=>
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11784
|
+
title: withCtx(()=>[
|
|
11785
|
+
..._cache[0] || (_cache[0] = [
|
|
11786
|
+
createElementVNode("h4", {
|
|
11787
|
+
class: "wizard-title"
|
|
11788
|
+
}, [
|
|
11789
|
+
createElementVNode("i", {
|
|
11790
|
+
class: "fa fa-hat-wizard"
|
|
11791
|
+
}),
|
|
11792
|
+
createTextVNode(" Wizard ")
|
|
11793
|
+
], -1),
|
|
11794
|
+
createElementVNode("p", {
|
|
11795
|
+
class: "category"
|
|
11796
|
+
}, " Analysis configuration step by step ", -1)
|
|
11797
|
+
])
|
|
11798
|
+
]),
|
|
11527
11799
|
footer: withCtx((props)=>[
|
|
11528
11800
|
createElementVNode("div", _hoisted_1$5, [
|
|
11529
11801
|
props.activeTabIndex > 0 ? (openBlock(), createBlock(_component_WizardButton, {
|
|
@@ -11532,13 +11804,12 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11532
11804
|
style: normalizeStyle(props.fillButtonStyle),
|
|
11533
11805
|
onClick: _ctx.prevWizardStep
|
|
11534
11806
|
}, {
|
|
11535
|
-
default: withCtx(()=>
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
]
|
|
11807
|
+
default: withCtx(()=>[
|
|
11808
|
+
..._cache[1] || (_cache[1] = [
|
|
11809
|
+
createTextVNode(" Back ", -1)
|
|
11810
|
+
])
|
|
11811
|
+
]),
|
|
11812
|
+
_: 2
|
|
11542
11813
|
}, 1032, [
|
|
11543
11814
|
"disabled",
|
|
11544
11815
|
"style",
|
|
@@ -11553,13 +11824,12 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11553
11824
|
style: normalizeStyle(props.fillButtonStyle),
|
|
11554
11825
|
onClick: _ctx.nextWizardStep
|
|
11555
11826
|
}, {
|
|
11556
|
-
default: withCtx(()=>
|
|
11557
|
-
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
]
|
|
11827
|
+
default: withCtx(()=>[
|
|
11828
|
+
..._cache[2] || (_cache[2] = [
|
|
11829
|
+
createTextVNode(" Next ", -1)
|
|
11830
|
+
])
|
|
11831
|
+
]),
|
|
11832
|
+
_: 2
|
|
11563
11833
|
}, 1032, [
|
|
11564
11834
|
"disabled",
|
|
11565
11835
|
"style",
|
|
@@ -11571,13 +11841,12 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11571
11841
|
style: normalizeStyle(props.fillButtonStyle),
|
|
11572
11842
|
onClick: _ctx.handleWizardFinishedEvent
|
|
11573
11843
|
}, {
|
|
11574
|
-
default: withCtx(()=>
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
]
|
|
11844
|
+
default: withCtx(()=>[
|
|
11845
|
+
..._cache[3] || (_cache[3] = [
|
|
11846
|
+
createTextVNode(" Finish ", -1)
|
|
11847
|
+
])
|
|
11848
|
+
]),
|
|
11849
|
+
_: 2
|
|
11581
11850
|
}, 1032, [
|
|
11582
11851
|
"disabled",
|
|
11583
11852
|
"style",
|
|
@@ -11798,9 +12067,11 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11798
12067
|
"validation-messages": props.data,
|
|
11799
12068
|
"validation-severity": props.severity
|
|
11800
12069
|
}, {
|
|
11801
|
-
label: withCtx(()=>
|
|
11802
|
-
|
|
11803
|
-
|
|
12070
|
+
label: withCtx(()=>[
|
|
12071
|
+
..._cache[4] || (_cache[4] = [
|
|
12072
|
+
createTextVNode(" Name ", -1)
|
|
12073
|
+
])
|
|
12074
|
+
]),
|
|
11804
12075
|
default: withCtx(()=>[
|
|
11805
12076
|
createVNode(_component_VCFormInput, {
|
|
11806
12077
|
modelValue: _ctx.v$.name.$model,
|
|
@@ -11828,9 +12099,11 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11828
12099
|
"validation-messages": props.data,
|
|
11829
12100
|
"validation-severity": props.severity
|
|
11830
12101
|
}, {
|
|
11831
|
-
label: withCtx(()=>
|
|
11832
|
-
|
|
11833
|
-
|
|
12102
|
+
label: withCtx(()=>[
|
|
12103
|
+
..._cache[5] || (_cache[5] = [
|
|
12104
|
+
createTextVNode(" Description ", -1)
|
|
12105
|
+
])
|
|
12106
|
+
]),
|
|
11834
12107
|
default: withCtx(()=>[
|
|
11835
12108
|
createVNode(_component_VCFormTextarea, {
|
|
11836
12109
|
modelValue: _ctx.v$.description.$model,
|
|
@@ -11858,12 +12131,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11858
12131
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args)=>_ctx.add && _ctx.add(...args), [
|
|
11859
12132
|
"prevent"
|
|
11860
12133
|
]))
|
|
11861
|
-
},
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
12134
|
+
}, [
|
|
12135
|
+
..._cache[6] || (_cache[6] = [
|
|
12136
|
+
createElementVNode("i", {
|
|
12137
|
+
class: "fa fa-plus"
|
|
12138
|
+
}, null, -1),
|
|
12139
|
+
createTextVNode(" create ", -1)
|
|
12140
|
+
])
|
|
12141
|
+
], 8, _hoisted_3$3)
|
|
11867
12142
|
])
|
|
11868
12143
|
]),
|
|
11869
12144
|
!_ctx.projectId ? (openBlock(), createElementBlock("div", _hoisted_4$3, [
|
|
@@ -12467,9 +12742,11 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12467
12742
|
]);
|
|
12468
12743
|
}), 128))
|
|
12469
12744
|
]),
|
|
12470
|
-
noMore: withCtx(()=>
|
|
12471
|
-
|
|
12472
|
-
|
|
12745
|
+
noMore: withCtx(()=>[
|
|
12746
|
+
..._cache[0] || (_cache[0] = [
|
|
12747
|
+
createTextVNode(" No nodes selected for the analysis. ", -1)
|
|
12748
|
+
])
|
|
12749
|
+
]),
|
|
12473
12750
|
_: 1
|
|
12474
12751
|
}, 8, [
|
|
12475
12752
|
"query",
|
|
@@ -12774,15 +13051,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12774
13051
|
disabled: _ctx.busy,
|
|
12775
13052
|
class: "btn btn-xs btn-dark ms-1"
|
|
12776
13053
|
}, {
|
|
12777
|
-
default: withCtx(()=>
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
]
|
|
13054
|
+
default: withCtx(()=>[
|
|
13055
|
+
..._cache[2] || (_cache[2] = [
|
|
13056
|
+
createElementVNode("i", {
|
|
13057
|
+
class: "fa fa-bars"
|
|
13058
|
+
}, null, -1)
|
|
13059
|
+
])
|
|
13060
|
+
]),
|
|
13061
|
+
_: 1
|
|
12786
13062
|
}, 8, [
|
|
12787
13063
|
"to",
|
|
12788
13064
|
"disabled"
|
|
@@ -13036,98 +13312,6 @@ const FAnalysisBucketFileDownload = defineComponent({
|
|
|
13036
13312
|
}
|
|
13037
13313
|
});
|
|
13038
13314
|
|
|
13039
|
-
var FAnalysisLog = defineComponent({
|
|
13040
|
-
props: {
|
|
13041
|
-
index: {
|
|
13042
|
-
type: Number,
|
|
13043
|
-
default: 0
|
|
13044
|
-
},
|
|
13045
|
-
entity: {
|
|
13046
|
-
type: Object,
|
|
13047
|
-
required: true
|
|
13048
|
-
}
|
|
13049
|
-
},
|
|
13050
|
-
setup (props) {
|
|
13051
|
-
const refs = toRefs(props);
|
|
13052
|
-
let message;
|
|
13053
|
-
if (refs.entity.value.error) {
|
|
13054
|
-
const parts = [
|
|
13055
|
-
'An error '
|
|
13056
|
-
];
|
|
13057
|
-
if (refs.entity.value.error_code) {
|
|
13058
|
-
parts.push('with error code ');
|
|
13059
|
-
parts.push(h('strong', refs.entity.value.error_code));
|
|
13060
|
-
parts.push(' ');
|
|
13061
|
-
}
|
|
13062
|
-
parts.push('occurred');
|
|
13063
|
-
message = h('span', parts);
|
|
13064
|
-
} else if (refs.entity.value.status) {
|
|
13065
|
-
message = h('span', [
|
|
13066
|
-
'Event ',
|
|
13067
|
-
h('strong', refs.entity.value.event),
|
|
13068
|
-
' triggered and status changed to ',
|
|
13069
|
-
h('strong', refs.entity.value.status)
|
|
13070
|
-
]);
|
|
13071
|
-
} else {
|
|
13072
|
-
message = h('span', [
|
|
13073
|
-
'Event ',
|
|
13074
|
-
h('strong', refs.entity.value.event),
|
|
13075
|
-
' triggered'
|
|
13076
|
-
]);
|
|
13077
|
-
}
|
|
13078
|
-
return ()=>{
|
|
13079
|
-
let statusMessage;
|
|
13080
|
-
if (refs.entity.value.status_message) {
|
|
13081
|
-
statusMessage = h('div', {
|
|
13082
|
-
class: 'line-status-message'
|
|
13083
|
-
}, [
|
|
13084
|
-
refs.entity.value.status_message.replace(/\n/g, '\t')
|
|
13085
|
-
]);
|
|
13086
|
-
}
|
|
13087
|
-
return h('div', {
|
|
13088
|
-
class: `line line-${refs.index.value + 1}`
|
|
13089
|
-
}, [
|
|
13090
|
-
h('div', {
|
|
13091
|
-
class: 'd-flex flex-row'
|
|
13092
|
-
}, [
|
|
13093
|
-
h('div', {
|
|
13094
|
-
class: 'line-number'
|
|
13095
|
-
}, [
|
|
13096
|
-
refs.index.value + 1
|
|
13097
|
-
]),
|
|
13098
|
-
h('div', {
|
|
13099
|
-
class: 'line-content d-flex flex-row'
|
|
13100
|
-
}, [
|
|
13101
|
-
h('div', {
|
|
13102
|
-
class: `line-component ${refs.entity.value.component}`
|
|
13103
|
-
}, [
|
|
13104
|
-
`${refs.entity.value.component}/${refs.entity.value.command}`
|
|
13105
|
-
]),
|
|
13106
|
-
h('div', {
|
|
13107
|
-
class: [
|
|
13108
|
-
'line-message',
|
|
13109
|
-
{
|
|
13110
|
-
error: refs.entity.value.error
|
|
13111
|
-
}
|
|
13112
|
-
]
|
|
13113
|
-
}, [
|
|
13114
|
-
message
|
|
13115
|
-
]),
|
|
13116
|
-
h('div', {
|
|
13117
|
-
class: 'ms-auto'
|
|
13118
|
-
}, [
|
|
13119
|
-
h(VCTimeago, {
|
|
13120
|
-
datetime: refs.entity.value.created_at
|
|
13121
|
-
})
|
|
13122
|
-
])
|
|
13123
|
-
])
|
|
13124
|
-
]),
|
|
13125
|
-
statusMessage
|
|
13126
|
-
]);
|
|
13127
|
-
};
|
|
13128
|
-
}
|
|
13129
|
-
});
|
|
13130
|
-
|
|
13131
13315
|
var FAnalysisLogs = defineComponent({
|
|
13132
13316
|
props: {
|
|
13133
13317
|
entityId: {
|
|
@@ -13141,61 +13325,44 @@ var FAnalysisLogs = defineComponent({
|
|
|
13141
13325
|
},
|
|
13142
13326
|
setup (props, setup) {
|
|
13143
13327
|
const rootNode = ref(null);
|
|
13144
|
-
const scrollToLastLine = (
|
|
13328
|
+
const scrollToLastLine = (total)=>{
|
|
13145
13329
|
if (!rootNode.value) {
|
|
13146
13330
|
return;
|
|
13147
13331
|
}
|
|
13148
|
-
const el = rootNode.value.getElementsByClassName(`line-${
|
|
13332
|
+
const el = rootNode.value.getElementsByClassName(`line-${total}`)[0];
|
|
13149
13333
|
if (el) {
|
|
13150
13334
|
el.scrollIntoView({
|
|
13151
13335
|
behavior: 'smooth'
|
|
13152
13336
|
});
|
|
13153
13337
|
}
|
|
13154
13338
|
};
|
|
13155
|
-
const
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
13159
|
-
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
setup,
|
|
13167
|
-
loadAll: true,
|
|
13168
|
-
query: {
|
|
13169
|
-
filters: {
|
|
13170
|
-
analysis_id: props.entityId
|
|
13171
|
-
},
|
|
13172
|
-
sort: {
|
|
13173
|
-
created_at: 'ASC'
|
|
13174
|
-
}
|
|
13175
|
-
}
|
|
13176
|
-
});
|
|
13177
|
-
setDefaults({
|
|
13178
|
-
noMore: {
|
|
13179
|
-
content: 'No more logs available...'
|
|
13180
|
-
},
|
|
13181
|
-
item: {
|
|
13182
|
-
content (item, slotProps) {
|
|
13183
|
-
return h(FAnalysisLog, {
|
|
13184
|
-
entity: item,
|
|
13185
|
-
index: slotProps.index,
|
|
13186
|
-
onDeleted () {
|
|
13187
|
-
if (slotProps && slotProps.deleted) {
|
|
13188
|
-
slotProps.deleted(item);
|
|
13189
|
-
}
|
|
13190
|
-
},
|
|
13191
|
-
onUpdated: (e)=>{
|
|
13192
|
-
if (slotProps && slotProps.updated) {
|
|
13193
|
-
slotProps.updated(e);
|
|
13194
|
-
}
|
|
13195
|
-
}
|
|
13196
|
-
});
|
|
13339
|
+
const httpClient = injectCoreHTTPClient();
|
|
13340
|
+
const busy = ref(false);
|
|
13341
|
+
const total = ref(0);
|
|
13342
|
+
const items = ref([]);
|
|
13343
|
+
const load = async (time)=>{
|
|
13344
|
+
const response = await httpClient.analysisLog.getMany({
|
|
13345
|
+
filter: {
|
|
13346
|
+
analysis_id: props.entityId,
|
|
13347
|
+
...time ? {
|
|
13348
|
+
time: `>${time}`
|
|
13349
|
+
} : {}
|
|
13197
13350
|
}
|
|
13351
|
+
});
|
|
13352
|
+
items.value.push(...response.data);
|
|
13353
|
+
if (response.meta.total > items.value.length) {
|
|
13354
|
+
return load(items.value[items.value.length - 1].time);
|
|
13198
13355
|
}
|
|
13356
|
+
total.value = response.meta.total;
|
|
13357
|
+
nextTick(()=>{
|
|
13358
|
+
scrollToLastLine(items.value.length);
|
|
13359
|
+
});
|
|
13360
|
+
return Promise.resolve();
|
|
13361
|
+
};
|
|
13362
|
+
Promise.resolve().then(()=>{
|
|
13363
|
+
busy.value = true;
|
|
13364
|
+
}).then(()=>load()).then(()=>{
|
|
13365
|
+
busy.value = false;
|
|
13199
13366
|
});
|
|
13200
13367
|
return ()=>h('div', {
|
|
13201
13368
|
ref: rootNode,
|
|
@@ -13204,7 +13371,28 @@ var FAnalysisLogs = defineComponent({
|
|
|
13204
13371
|
h('div', {
|
|
13205
13372
|
class: 'log-body'
|
|
13206
13373
|
}, [
|
|
13207
|
-
|
|
13374
|
+
buildList({
|
|
13375
|
+
busy: busy.value,
|
|
13376
|
+
data: items.value,
|
|
13377
|
+
slotItems: setup.slots,
|
|
13378
|
+
noMore: {
|
|
13379
|
+
content: 'No more logs available...'
|
|
13380
|
+
},
|
|
13381
|
+
total: total.value,
|
|
13382
|
+
meta: {
|
|
13383
|
+
total: total.value
|
|
13384
|
+
},
|
|
13385
|
+
body: {
|
|
13386
|
+
item: {
|
|
13387
|
+
content (item, slotProps) {
|
|
13388
|
+
return h(FLog, {
|
|
13389
|
+
entity: item,
|
|
13390
|
+
index: slotProps.index
|
|
13391
|
+
});
|
|
13392
|
+
}
|
|
13393
|
+
}
|
|
13394
|
+
}
|
|
13395
|
+
})
|
|
13208
13396
|
])
|
|
13209
13397
|
]);
|
|
13210
13398
|
}
|
|
@@ -13536,15 +13724,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13536
13724
|
disabled: _ctx.busy,
|
|
13537
13725
|
class: "btn btn-xs btn-dark"
|
|
13538
13726
|
}, {
|
|
13539
|
-
default: withCtx(()=>
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
]
|
|
13727
|
+
default: withCtx(()=>[
|
|
13728
|
+
..._cache[1] || (_cache[1] = [
|
|
13729
|
+
createElementVNode("i", {
|
|
13730
|
+
class: "fa fa-bars"
|
|
13731
|
+
}, null, -1)
|
|
13732
|
+
])
|
|
13733
|
+
]),
|
|
13734
|
+
_: 1
|
|
13548
13735
|
}, 8, [
|
|
13549
13736
|
"to",
|
|
13550
13737
|
"disabled"
|
|
@@ -13706,7 +13893,6 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
13706
13893
|
FAnalysisFileManager: FAnalysisBucketFileManager,
|
|
13707
13894
|
FAnalysisFormFile: FAnalysisFormFile,
|
|
13708
13895
|
FAnalysisItem: FAnalysisItem,
|
|
13709
|
-
FAnalysisLog: FAnalysisLog,
|
|
13710
13896
|
FAnalysisLogs: FAnalysisLogs,
|
|
13711
13897
|
FAnalysisName: FAnalysisName,
|
|
13712
13898
|
FAnalysisNode: FAnalysisNode,
|
|
@@ -13723,12 +13909,17 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
13723
13909
|
FAnalysisPipeline: TrainPipeline,
|
|
13724
13910
|
FAnalysisWizard: FAnalysisWizard,
|
|
13725
13911
|
FEntityDelete: FEntityDelete,
|
|
13912
|
+
FEvent: FEvent,
|
|
13913
|
+
FEventActor: FEventActor,
|
|
13914
|
+
FEventExpiring: FEventExpiring,
|
|
13915
|
+
FEventRef: FEventRef,
|
|
13916
|
+
FEvents: FEvents,
|
|
13726
13917
|
FFromInputList: FFormInputList,
|
|
13727
13918
|
FFromInputListItem: FFormInputListItem,
|
|
13728
13919
|
FItemToggle: FItemToggle,
|
|
13920
|
+
FLog: FLog,
|
|
13921
|
+
FLogs: FLogs,
|
|
13729
13922
|
FMasterImage: FMasterImage,
|
|
13730
|
-
FMasterImageEventLog: FMasterImageEventLog,
|
|
13731
|
-
FMasterImageEventLogs: FMasterImageEventLogs,
|
|
13732
13923
|
FNodeCrypto: FNodeCrypto,
|
|
13733
13924
|
FNodeForm: FNodeForm,
|
|
13734
13925
|
FNodeRegistryProject: FNodeRegistryProject,
|
|
@@ -13774,6 +13965,9 @@ function install(app, options) {
|
|
|
13774
13965
|
installStorageHTTPClient(app, {
|
|
13775
13966
|
baseURL: options.storageURL
|
|
13776
13967
|
});
|
|
13968
|
+
installTelemetryHTTPClient(app, {
|
|
13969
|
+
baseURL: options.telemetryURL
|
|
13970
|
+
});
|
|
13777
13971
|
installSocketManager(app, {
|
|
13778
13972
|
baseURL: options.coreURL
|
|
13779
13973
|
});
|
|
@@ -13803,5 +13997,5 @@ var index = {
|
|
|
13803
13997
|
install
|
|
13804
13998
|
};
|
|
13805
13999
|
|
|
13806
|
-
export { ActionCommandElementType, ElementType, EntityListSlotName, EntityManagerError, FAnalyses, TrainEntity as FAnalysis, FAnalysisBasicForm, FAnalysisBucket, FAnalysisBucketDownload, FAnalysisBucketFileDownload, FAnalysisBucketFiles, FAnalysisFile, FAnalysisBucketFileManager as FAnalysisFileManager, FAnalysisFormFile, FAnalysisItem,
|
|
14000
|
+
export { ActionCommandElementType, ElementType, EntityListSlotName, EntityManagerError, FAnalyses, TrainEntity as FAnalysis, FAnalysisBasicForm, FAnalysisBucket, FAnalysisBucketDownload, FAnalysisBucketFileDownload, FAnalysisBucketFiles, FAnalysisFile, FAnalysisBucketFileManager as FAnalysisFileManager, FAnalysisFormFile, FAnalysisItem, FAnalysisLogs, FAnalysisName, FAnalysisNode, FAnalysisNodeApprovalCommand, FAnalysisNodeApprovalStatus, FAnalysisNodeAssignAction, FAnalysisNodeInCard, FAnalysisNodeManager, FAnalysisNodesProgress as FAnalysisNodeProgress, FAnalysisNodeRunStatus, FAnalysisNodes, FAnalysisPermissionAssignment, FAnalysisPermissionAssignments, TrainPipeline as FAnalysisPipeline, FAnalysisWizard, FEntityDelete, FEvent, FEventActor, FEventExpiring, FEventRef, FEvents, FFormInputList as FFromInputList, FFormInputListItem as FFromInputListItem, FItemToggle, FLog, FLogs, FMasterImage, 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, injectTelemetryHTTPClient, install, installCoreHTTPClient, installSocketManager, installStorageHTTPClient, installTelemetryHTTPClient, installTranslator, isCoreHTTPClientUsable, isQuerySortedDescByDate, isSocketManagerUsable, isStorageHTTPClientUsable, isTelemetryHTTPClientUsable, mergeListOptions, normalizeSlot, provideCoreHTTPClient, provideSocketManager, provideStorageHTTPClient, provideTelemetryHTTPClient, renderActionCommand, renderEntityAssignAction, renderToggleButton, wrapFnWithBusyState };
|
|
13807
14001
|
//# sourceMappingURL=index.mjs.map
|