@raclettejs/workbench 0.1.37 → 0.1.39
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/CHANGELOG.md +15 -3
- package/i18n/en-EU.json +0 -1
- package/package.json +3 -3
- package/plugins/pacifico__compositions/frontend/widgets/CompositionListWidget.vue +25 -6
- package/plugins/pacifico__interactionLinks/frontend/widgets/InteractionLinkListWidget.vue +32 -7
- package/plugins/pacifico__tags/frontend/widgets/TagListWidget.vue +26 -8
- package/plugins/pacifico__users/frontend/widgets/UserListWidget.vue +32 -7
- package/plugins/raclette__cache/frontend/widgets/CacheListWidget.vue +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,17 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## [0.1.
|
|
10
|
+
## [0.1.39] - 2026-06-29 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.38...v0.1.39" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
### Patch Changes
|
|
14
14
|
|
|
15
|
-
-
|
|
15
|
+
- hotfix: fixed build script to include init files
|
|
16
16
|
- Updated dependencies
|
|
17
|
-
- @raclettejs/core@0.1.
|
|
17
|
+
- @raclettejs/core@0.1.39
|
|
18
|
+
|
|
19
|
+
## [0.1.38] - 2026-06-29 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.37...v0.1.38" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- workbench lists now have deletion confirm dialog
|
|
18
24
|
|
|
19
25
|
## [0.1.37] - 2026-06-25 <a href="https://gitlab.com/raclettejs/core-dev/-/compare/v0.1.36...v0.1.37" target="_blank" rel="noopener"><b>Overview of all changes</b></a>
|
|
20
26
|
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- fix: json importer and exporter fixed for workbench datatypes. Export selection reset after filter reset
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- @raclettejs/core@0.1.37
|
|
32
|
+
|
|
21
33
|
### Fixed
|
|
22
34
|
|
|
23
35
|
- Importer can now properly import compositions and interactionLinks
|
package/i18n/en-EU.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raclettejs/workbench",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "racletteJS Workbench - used to configure your application, for dev and prod",
|
|
6
6
|
"repository": "https://gitlab.com/raclettejs/workbench",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
".": "./index.ts"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@raclettejs/core": "0.1.
|
|
36
|
+
"@raclettejs/core": "0.1.39",
|
|
37
37
|
"@vueuse/integrations": "14.2.1",
|
|
38
38
|
"fuse.js": "7.1.0",
|
|
39
39
|
"three": "0.183.2",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@emnapi/core": "1.9.2",
|
|
44
44
|
"@emnapi/runtime": "1.9.2",
|
|
45
45
|
"@eslint/js": "9.35.0",
|
|
46
|
-
"@raclettejs/types": "0.1.
|
|
46
|
+
"@raclettejs/types": "0.1.39",
|
|
47
47
|
"@sinclair/typebox": "0.34.48",
|
|
48
48
|
"@types/ramda": "0.31.1",
|
|
49
49
|
"@vueuse/core": "14.2.1",
|
|
@@ -11,7 +11,28 @@
|
|
|
11
11
|
:data-name="$t('workbench.compositionList.dataName')"
|
|
12
12
|
:show-filters="true"
|
|
13
13
|
:items-deleted="showDeleted"
|
|
14
|
+
:toolbar-indicators="
|
|
15
|
+
showDeleted
|
|
16
|
+
? [
|
|
17
|
+
{
|
|
18
|
+
id: 'deleted',
|
|
19
|
+
label: $t('core.showDeleted'),
|
|
20
|
+
color: 'error',
|
|
21
|
+
icon: 'mdi-delete-outline',
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
: []
|
|
25
|
+
"
|
|
14
26
|
:on-file-loaded="handleFileUpload"
|
|
27
|
+
:confirm-delete="true"
|
|
28
|
+
:get-delete-confirm-message="
|
|
29
|
+
(item) =>
|
|
30
|
+
$t('core.baseDataTable.confirmDeleteMessage', { name: item.title })
|
|
31
|
+
"
|
|
32
|
+
:get-hard-delete-confirm-message="
|
|
33
|
+
(item) =>
|
|
34
|
+
$t('core.baseDataTable.confirmHardDeleteMessage', { name: item.title })
|
|
35
|
+
"
|
|
15
36
|
>
|
|
16
37
|
<template #toolbar-end>
|
|
17
38
|
<v-btn
|
|
@@ -65,12 +86,9 @@
|
|
|
65
86
|
/>
|
|
66
87
|
</template>
|
|
67
88
|
<template #row-actions="{ item }">
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
variant="text"
|
|
72
|
-
color="error"
|
|
73
|
-
@click.stop.prevent="deleteComposition(item)"
|
|
89
|
+
<BaseDataTableConfirmDeleteBtn
|
|
90
|
+
:item="item"
|
|
91
|
+
@delete="deleteComposition"
|
|
74
92
|
/>
|
|
75
93
|
</template>
|
|
76
94
|
</BaseDataTable>
|
|
@@ -109,6 +127,7 @@ import { computed, watch, ref } from "vue"
|
|
|
109
127
|
import type { Composition } from "@raclettejs/core"
|
|
110
128
|
import { formatDistance } from "date-fns"
|
|
111
129
|
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
130
|
+
import BaseDataTableConfirmDeleteBtn from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTableConfirmDeleteBtn.vue"
|
|
112
131
|
import { useI18n } from "vue-i18n"
|
|
113
132
|
import { recordsFromStore } from "@app/lib/workbenchListTransfer"
|
|
114
133
|
import { useWorkbenchTableActions } from "@app/composables/useWorkbenchTableActions"
|
|
@@ -11,7 +11,32 @@
|
|
|
11
11
|
:data-name="$t('workbench.interactionLinkList.dataName')"
|
|
12
12
|
:show-filters="true"
|
|
13
13
|
:items-deleted="showDeleted"
|
|
14
|
+
:toolbar-indicators="
|
|
15
|
+
showDeleted
|
|
16
|
+
? [
|
|
17
|
+
{
|
|
18
|
+
id: 'deleted',
|
|
19
|
+
label: $t('core.showDeleted'),
|
|
20
|
+
color: 'error',
|
|
21
|
+
icon: 'mdi-delete-outline',
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
: []
|
|
25
|
+
"
|
|
14
26
|
:on-file-loaded="handleFileUpload"
|
|
27
|
+
:confirm-delete="true"
|
|
28
|
+
:get-delete-confirm-message="
|
|
29
|
+
(item) =>
|
|
30
|
+
$t('core.baseDataTable.confirmDeleteMessage', {
|
|
31
|
+
name: item.composition || item._id,
|
|
32
|
+
})
|
|
33
|
+
"
|
|
34
|
+
:get-hard-delete-confirm-message="
|
|
35
|
+
(item) =>
|
|
36
|
+
$t('core.baseDataTable.confirmHardDeleteMessage', {
|
|
37
|
+
name: item.composition || item._id,
|
|
38
|
+
})
|
|
39
|
+
"
|
|
15
40
|
>
|
|
16
41
|
<template #toolbar-end>
|
|
17
42
|
<v-btn
|
|
@@ -60,12 +85,9 @@
|
|
|
60
85
|
/>
|
|
61
86
|
</template>
|
|
62
87
|
<template #row-actions="{ item }">
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
variant="text"
|
|
67
|
-
color="error"
|
|
68
|
-
@click.stop.prevent="deleteInteractionLink(item)"
|
|
88
|
+
<BaseDataTableConfirmDeleteBtn
|
|
89
|
+
:item="item"
|
|
90
|
+
@delete="deleteInteractionLink"
|
|
69
91
|
/>
|
|
70
92
|
</template>
|
|
71
93
|
</BaseDataTable>
|
|
@@ -96,8 +118,11 @@
|
|
|
96
118
|
|
|
97
119
|
<script setup lang="ts">
|
|
98
120
|
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
121
|
+
import BaseDataTableConfirmDeleteBtn from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTableConfirmDeleteBtn.vue"
|
|
99
122
|
import { InteractionLink } from "@raclettejs/core"
|
|
100
|
-
import {
|
|
123
|
+
import {
|
|
124
|
+
usePluginApi,
|
|
125
|
+
} from "@raclettejs/core/orchestrator/composables"
|
|
101
126
|
import { formatDistance } from "date-fns"
|
|
102
127
|
import { computed, ref, watch } from "vue"
|
|
103
128
|
import { useI18n } from "vue-i18n"
|
|
@@ -11,7 +11,28 @@
|
|
|
11
11
|
:data-name="$t('workbench.tagList.dataName')"
|
|
12
12
|
:show-filters="true"
|
|
13
13
|
:items-deleted="showDeleted"
|
|
14
|
+
:toolbar-indicators="
|
|
15
|
+
showDeleted
|
|
16
|
+
? [
|
|
17
|
+
{
|
|
18
|
+
id: 'deleted',
|
|
19
|
+
label: $t('core.showDeleted'),
|
|
20
|
+
color: 'error',
|
|
21
|
+
icon: 'mdi-delete-outline',
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
: []
|
|
25
|
+
"
|
|
14
26
|
:on-file-loaded="handleFileUpload"
|
|
27
|
+
:confirm-delete="true"
|
|
28
|
+
:get-delete-confirm-message="
|
|
29
|
+
(item) =>
|
|
30
|
+
$t('core.baseDataTable.confirmDeleteMessage', { name: item.title })
|
|
31
|
+
"
|
|
32
|
+
:get-hard-delete-confirm-message="
|
|
33
|
+
(item) =>
|
|
34
|
+
$t('core.baseDataTable.confirmHardDeleteMessage', { name: item.title })
|
|
35
|
+
"
|
|
15
36
|
>
|
|
16
37
|
<template #toolbar-end>
|
|
17
38
|
<v-btn
|
|
@@ -53,13 +74,7 @@
|
|
|
53
74
|
/>
|
|
54
75
|
</template>
|
|
55
76
|
<template #row-actions="{ item }">
|
|
56
|
-
<
|
|
57
|
-
icon="mdi-delete"
|
|
58
|
-
size="small"
|
|
59
|
-
variant="text"
|
|
60
|
-
color="error"
|
|
61
|
-
@click.stop.prevent="deleteTag(item)"
|
|
62
|
-
/>
|
|
77
|
+
<BaseDataTableConfirmDeleteBtn :item="item" @delete="deleteTag" />
|
|
63
78
|
</template>
|
|
64
79
|
</BaseDataTable>
|
|
65
80
|
<!-- Import Selection Dialog -->
|
|
@@ -88,11 +103,14 @@
|
|
|
88
103
|
</template>
|
|
89
104
|
|
|
90
105
|
<script setup lang="ts">
|
|
91
|
-
import {
|
|
106
|
+
import {
|
|
107
|
+
usePluginApi,
|
|
108
|
+
} from "@raclettejs/core/orchestrator/composables"
|
|
92
109
|
import { computed, ref, watch } from "vue"
|
|
93
110
|
import type { Tag } from "@raclettejs/core"
|
|
94
111
|
import { useI18n } from "vue-i18n"
|
|
95
112
|
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
113
|
+
import BaseDataTableConfirmDeleteBtn from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTableConfirmDeleteBtn.vue"
|
|
96
114
|
import { formatDistance } from "date-fns"
|
|
97
115
|
import { recordsFromStore } from "@app/lib/workbenchListTransfer"
|
|
98
116
|
import { useWorkbenchTableActions } from "@app/composables/useWorkbenchTableActions"
|
|
@@ -11,6 +11,31 @@
|
|
|
11
11
|
:data-name="$t('workbench.userList.dataName')"
|
|
12
12
|
:show-filters="true"
|
|
13
13
|
:items-deleted="showDeleted"
|
|
14
|
+
:toolbar-indicators="
|
|
15
|
+
showDeleted
|
|
16
|
+
? [
|
|
17
|
+
{
|
|
18
|
+
id: 'deleted',
|
|
19
|
+
label: $t('core.showDeleted'),
|
|
20
|
+
color: 'error',
|
|
21
|
+
icon: 'mdi-delete-outline',
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
: []
|
|
25
|
+
"
|
|
26
|
+
:confirm-delete="true"
|
|
27
|
+
:get-delete-confirm-message="
|
|
28
|
+
(item) =>
|
|
29
|
+
$t('core.baseDataTable.confirmDeleteMessage', {
|
|
30
|
+
name: item.email || item._id,
|
|
31
|
+
})
|
|
32
|
+
"
|
|
33
|
+
:get-hard-delete-confirm-message="
|
|
34
|
+
(item) =>
|
|
35
|
+
$t('core.baseDataTable.confirmHardDeleteMessage', {
|
|
36
|
+
name: item.email || item._id,
|
|
37
|
+
})
|
|
38
|
+
"
|
|
14
39
|
>
|
|
15
40
|
<template #toolbar-end>
|
|
16
41
|
<v-btn
|
|
@@ -56,13 +81,10 @@
|
|
|
56
81
|
/>
|
|
57
82
|
</template>
|
|
58
83
|
<template #row-actions="{ item }">
|
|
59
|
-
<
|
|
84
|
+
<BaseDataTableConfirmDeleteBtn
|
|
60
85
|
v-if="item._id !== $user?._id"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
variant="text"
|
|
64
|
-
color="error"
|
|
65
|
-
@click.stop.prevent="deleteUser(item)"
|
|
86
|
+
:item="item"
|
|
87
|
+
@delete="deleteUser"
|
|
66
88
|
/>
|
|
67
89
|
</template>
|
|
68
90
|
</BaseDataTable>
|
|
@@ -70,12 +92,15 @@
|
|
|
70
92
|
</template>
|
|
71
93
|
|
|
72
94
|
<script setup lang="ts">
|
|
73
|
-
import {
|
|
95
|
+
import {
|
|
96
|
+
usePluginApi,
|
|
97
|
+
} from "@raclettejs/core/orchestrator/composables"
|
|
74
98
|
import { computed, watch, ref } from "vue"
|
|
75
99
|
import type { User } from "@raclettejs/core"
|
|
76
100
|
import { formatDistance } from "date-fns"
|
|
77
101
|
import { useI18n } from "vue-i18n"
|
|
78
102
|
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
103
|
+
import BaseDataTableConfirmDeleteBtn from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTableConfirmDeleteBtn.vue"
|
|
79
104
|
import { recordsFromStore } from "@app/lib/workbenchListTransfer"
|
|
80
105
|
import { useWorkbenchTableActions } from "@app/composables/useWorkbenchTableActions"
|
|
81
106
|
const showDeleted = ref(false)
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
:data-name="$t('workbench.cacheList.dataName')"
|
|
18
18
|
:show-filters="true"
|
|
19
19
|
:show-actions-column="true"
|
|
20
|
-
:actions-header-title="$t('workbench.cacheList.tableActions')"
|
|
21
20
|
:group-by="listAllKeys ? 'keyGroup' : undefined"
|
|
22
21
|
item-value="_id"
|
|
23
22
|
:row-click-handler="openDetail"
|