@live-change/task-frontend 0.9.32 → 0.9.34
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/front/src/Index.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex flex-row w-full justify-
|
|
3
|
-
<div class="surface-
|
|
2
|
+
<div class="flex flex-row w-full justify-evenly">
|
|
3
|
+
<div class="bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border px-4 py-1">
|
|
4
4
|
|
|
5
5
|
<div>
|
|
6
6
|
<h2>Built shelters</h2>
|
|
@@ -16,23 +16,23 @@
|
|
|
16
16
|
Size:
|
|
17
17
|
</div>
|
|
18
18
|
<div class="pl-2">
|
|
19
|
-
<div class="flex flex-row
|
|
20
|
-
<label for="role" class="mr-2 w-
|
|
19
|
+
<div class="flex flex-row items-center">
|
|
20
|
+
<label for="role" class="mr-2 w-20 text-right">Width:</label>
|
|
21
21
|
<InputNumber v-model="data.size.width" mode="decimal"
|
|
22
22
|
showButtons :min="3" :max="9" />
|
|
23
23
|
</div>
|
|
24
|
-
<div class="flex flex-row
|
|
25
|
-
<label for="role" class="mr-2 w-
|
|
24
|
+
<div class="flex flex-row items-center">
|
|
25
|
+
<label for="role" class="mr-2 w-20 text-right">Height:</label>
|
|
26
26
|
<InputNumber v-model="data.size.height" mode="decimal" showButtons :min="3" :max="9" />
|
|
27
27
|
</div>
|
|
28
|
-
<div class="flex flex-row
|
|
29
|
-
<label for="role" class="mr-2 w-
|
|
28
|
+
<div class="flex flex-row items-center">
|
|
29
|
+
<label for="role" class="mr-2 w-20 text-right">Length:</label>
|
|
30
30
|
<InputNumber v-model="data.size.length" mode="decimal" showButtons :min="3" :max="9" />
|
|
31
31
|
</div>
|
|
32
32
|
|
|
33
|
-
<div class="flex flex-row
|
|
34
|
-
<label for="role" class="mr-2 w-
|
|
35
|
-
<Dropdown id="role" class="w-
|
|
33
|
+
<div class="flex flex-row items-center">
|
|
34
|
+
<label for="role" class="mr-2 w-20">Wood type:</label>
|
|
35
|
+
<Dropdown id="role" class="w-56" v-model="data.woodType" placeholder="Select a Wood type"
|
|
36
36
|
:options="definition.properties.woodType.options" />
|
|
37
37
|
</div>
|
|
38
38
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
</command-form>
|
|
45
45
|
</div>
|
|
46
|
-
<!-- <div class="surface-
|
|
46
|
+
<!-- <div class="bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border px-4 py-1">
|
|
47
47
|
<h2>Root</h2>
|
|
48
48
|
<pre>{{ tasksRoot }}</pre>
|
|
49
49
|
<h2>Tasks</h2>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex flex-row w-full justify-
|
|
3
|
-
<div class="surface-
|
|
2
|
+
<div class="flex flex-row w-full justify-evenly">
|
|
3
|
+
<div class="bg-surface-0 dark:bg-surface-900 shadow-sm rounded-border px-4 py-1 w-full">
|
|
4
4
|
<h2>Tasks</h2>
|
|
5
5
|
<Task v-for="task in rootTasks" :key="task.id" :task="task" :tasks="tasks" :task-types="taskTypes" />
|
|
6
6
|
<!-- <pre>{{ rootTasks }}</pre>-->
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="text-lg flex flex-row justify-
|
|
4
|
-
<div class="flex flex-row
|
|
3
|
+
<div class="text-lg flex flex-row justify-between flex-wrap" :class="taskColor">
|
|
4
|
+
<div class="flex flex-row items-center mr-4">
|
|
5
5
|
<i :class="['pi', icon, taskColor]" style="font-size: 1rem" />
|
|
6
6
|
<div :class="['ml-2']">{{ label }}</div>
|
|
7
7
|
</div>
|
|
8
|
-
<div v-if="task?.progress && task?.state !== 'done'" class="w-
|
|
8
|
+
<div v-if="task?.progress && task?.state !== 'done'" class="w-32 mr-4 grow" style="max-width: 50vw">
|
|
9
9
|
<ProgressBar :value="Math.floor((100 * taskData.progress.current / taskData.progress.total))" />
|
|
10
10
|
</div>
|
|
11
|
-
<div v-if="task?.retries?.length && taskData.retries.length < taskData.maxRetries" class="mr-
|
|
11
|
+
<div v-if="task?.retries?.length && taskData.retries.length < taskData.maxRetries" class="mr-4">
|
|
12
12
|
<i class="pi pi-replay" />
|
|
13
13
|
{{ taskData.retries.length }} / {{ taskData.maxRetries }}
|
|
14
14
|
</div>
|
|
15
15
|
<div>{{ task?.state !== 'done' ? (task?.progress?.action || task?.state) : 'done' }}</div>
|
|
16
16
|
</div>
|
|
17
|
-
<div v-for="retry in task?.retries" class="ml-
|
|
17
|
+
<div v-for="retry in task?.retries" class="ml-6 flex flex-row justify-between text-red-800">
|
|
18
18
|
{{ retry.error }} at {{ d(retry.failedAt, 'shortestTime')}}
|
|
19
19
|
</div>
|
|
20
20
|
<!-- <pre>{{ taskData.progress }}</pre>-->
|
|
21
21
|
<div v-if="taskResultComponent && taskData.result" class="m-2">
|
|
22
22
|
<component :is="taskResultComponent" :task="task" :result="taskData.result" :taskType="taskType" />
|
|
23
23
|
</div>
|
|
24
|
-
<div class="ml-
|
|
24
|
+
<div class="ml-6">
|
|
25
25
|
<Task v-for="task in childTasks" :key="taskData.id" :task="task" :tasks="allTasks" :taskTypes="taskTypes" />
|
|
26
26
|
</div>
|
|
27
27
|
</div>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Dialog v-model:visible="visible" modal>
|
|
3
3
|
<template #container="{ closeCallback }">
|
|
4
|
-
<div class="surface-
|
|
4
|
+
<div class="bg-surface-0 dark:bg-surface-900 rounded-border shadow-md p-4 overflow-y-auto" style="max-height: 70vh">
|
|
5
5
|
|
|
6
6
|
<div class="text-xl mb-2">
|
|
7
7
|
Task <strong>{{ taskData?.name }}</strong> {{ taskData?.state }}
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
-
<div class="my-
|
|
10
|
+
<div class="my-4" v-if="!noClose">
|
|
11
11
|
<Button icon="pi pi-times" label="Close" class="w-full" @click="close" />
|
|
12
12
|
</div>
|
|
13
13
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/task-frontend",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.34",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; node server/start.js localDev --enableSessions --initScript ./init.js",
|
|
@@ -35,41 +35,41 @@
|
|
|
35
35
|
"@codemirror/language": "6.10.1",
|
|
36
36
|
"@dotenvx/dotenvx": "0.27.0",
|
|
37
37
|
"@fortawesome/fontawesome-free": "^6.7.2",
|
|
38
|
-
"@live-change/access-control-frontend": "^0.9.
|
|
39
|
-
"@live-change/access-control-service": "^0.9.
|
|
40
|
-
"@live-change/backup-service": "^0.9.
|
|
41
|
-
"@live-change/blog-frontend": "^0.9.
|
|
42
|
-
"@live-change/blog-service": "^0.9.
|
|
43
|
-
"@live-change/cli": "^0.9.
|
|
44
|
-
"@live-change/content-frontend": "^0.9.
|
|
45
|
-
"@live-change/content-service": "^0.9.
|
|
46
|
-
"@live-change/dao": "^0.9.
|
|
47
|
-
"@live-change/dao-vue3": "^0.9.
|
|
48
|
-
"@live-change/dao-websocket": "^0.9.
|
|
49
|
-
"@live-change/db-client": "^0.9.
|
|
50
|
-
"@live-change/email-service": "^0.9.
|
|
51
|
-
"@live-change/framework": "^0.9.
|
|
52
|
-
"@live-change/frontend-auto-form": "^0.9.
|
|
53
|
-
"@live-change/frontend-base": "^0.9.
|
|
54
|
-
"@live-change/geoip-service": "^0.9.
|
|
55
|
-
"@live-change/image-frontend": "^0.9.
|
|
56
|
-
"@live-change/locale-settings-service": "^0.9.
|
|
57
|
-
"@live-change/password-authentication-service": "^0.9.
|
|
58
|
-
"@live-change/prosemirror-service": "^0.9.
|
|
59
|
-
"@live-change/secret-code-service": "^0.9.
|
|
60
|
-
"@live-change/secret-link-service": "^0.9.
|
|
61
|
-
"@live-change/session-service": "^0.9.
|
|
62
|
-
"@live-change/task-service": "^0.9.
|
|
63
|
-
"@live-change/upload-frontend": "^0.9.
|
|
64
|
-
"@live-change/url-frontend": "^0.9.
|
|
65
|
-
"@live-change/url-service": "^0.9.
|
|
66
|
-
"@live-change/user-frontend": "^0.9.
|
|
67
|
-
"@live-change/user-identification-service": "^0.9.
|
|
68
|
-
"@live-change/user-service": "^0.9.
|
|
69
|
-
"@live-change/vote-service": "^0.9.
|
|
70
|
-
"@live-change/vue3-components": "^0.9.
|
|
71
|
-
"@live-change/vue3-ssr": "^0.9.
|
|
72
|
-
"@live-change/wysiwyg-frontend": "^0.9.
|
|
38
|
+
"@live-change/access-control-frontend": "^0.9.34",
|
|
39
|
+
"@live-change/access-control-service": "^0.9.34",
|
|
40
|
+
"@live-change/backup-service": "^0.9.34",
|
|
41
|
+
"@live-change/blog-frontend": "^0.9.34",
|
|
42
|
+
"@live-change/blog-service": "^0.9.34",
|
|
43
|
+
"@live-change/cli": "^0.9.34",
|
|
44
|
+
"@live-change/content-frontend": "^0.9.34",
|
|
45
|
+
"@live-change/content-service": "^0.9.34",
|
|
46
|
+
"@live-change/dao": "^0.9.34",
|
|
47
|
+
"@live-change/dao-vue3": "^0.9.34",
|
|
48
|
+
"@live-change/dao-websocket": "^0.9.34",
|
|
49
|
+
"@live-change/db-client": "^0.9.34",
|
|
50
|
+
"@live-change/email-service": "^0.9.34",
|
|
51
|
+
"@live-change/framework": "^0.9.34",
|
|
52
|
+
"@live-change/frontend-auto-form": "^0.9.34",
|
|
53
|
+
"@live-change/frontend-base": "^0.9.34",
|
|
54
|
+
"@live-change/geoip-service": "^0.9.34",
|
|
55
|
+
"@live-change/image-frontend": "^0.9.34",
|
|
56
|
+
"@live-change/locale-settings-service": "^0.9.34",
|
|
57
|
+
"@live-change/password-authentication-service": "^0.9.34",
|
|
58
|
+
"@live-change/prosemirror-service": "^0.9.34",
|
|
59
|
+
"@live-change/secret-code-service": "^0.9.34",
|
|
60
|
+
"@live-change/secret-link-service": "^0.9.34",
|
|
61
|
+
"@live-change/session-service": "^0.9.34",
|
|
62
|
+
"@live-change/task-service": "^0.9.34",
|
|
63
|
+
"@live-change/upload-frontend": "^0.9.34",
|
|
64
|
+
"@live-change/url-frontend": "^0.9.34",
|
|
65
|
+
"@live-change/url-service": "^0.9.34",
|
|
66
|
+
"@live-change/user-frontend": "^0.9.34",
|
|
67
|
+
"@live-change/user-identification-service": "^0.9.34",
|
|
68
|
+
"@live-change/user-service": "^0.9.34",
|
|
69
|
+
"@live-change/vote-service": "^0.9.34",
|
|
70
|
+
"@live-change/vue3-components": "^0.9.34",
|
|
71
|
+
"@live-change/vue3-ssr": "^0.9.34",
|
|
72
|
+
"@live-change/wysiwyg-frontend": "^0.9.34",
|
|
73
73
|
"@vueuse/core": "^12.3.0",
|
|
74
74
|
"codeceptjs-assert": "^0.0.5",
|
|
75
75
|
"compression": "^1.7.5",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"pretty-bytes": "^6.1.1",
|
|
80
80
|
"primeflex": "^3.3.1",
|
|
81
81
|
"primeicons": "^7.0.0",
|
|
82
|
-
"primevue": "^
|
|
82
|
+
"primevue": "^4.2.5",
|
|
83
83
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
84
84
|
"rollup-plugin-visualizer": "5.14.0",
|
|
85
85
|
"serialize-javascript": "^6.0.2",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"vue3-scroll-border": "0.1.6"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@live-change/codeceptjs-helper": "^0.9.
|
|
94
|
+
"@live-change/codeceptjs-helper": "^0.9.34",
|
|
95
95
|
"codeceptjs": "^3.6.10",
|
|
96
96
|
"generate-password": "1.7.1",
|
|
97
97
|
"playwright": "1.49.1",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
103
103
|
"license": "ISC",
|
|
104
104
|
"description": "",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "e5f22de77fe6a3c0a0e1b91d17593e195aaae3b3"
|
|
106
106
|
}
|