@raclettejs/workbench 0.1.32-nightly-1 → 0.1.33-canary.0
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/package.json +3 -3
- package/plugins/pacifico__compositions/frontend/widgets/CompositionListWidget.vue +3 -3
- package/plugins/pacifico__interactionLinks/frontend/widgets/InteractionLinkListWidget.vue +3 -4
- package/plugins/pacifico__plugins/frontend/widgets/PluginListWidget.vue +1 -1
- package/plugins/pacifico__tags/frontend/widgets/TagListWidget.vue +3 -4
- package/plugins/pacifico__users/frontend/widgets/UserListWidget.vue +10 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raclettejs/workbench",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33-canary.0",
|
|
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.33-canary.0",
|
|
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.33-canary.0",
|
|
47
47
|
"@sinclair/typebox": "0.34.48",
|
|
48
48
|
"@types/ramda": "0.31.1",
|
|
49
49
|
"@vueuse/core": "14.2.1",
|
|
@@ -86,15 +86,15 @@ import { usePluginApi } from "@raclettejs/core/orchestrator/composables"
|
|
|
86
86
|
import { computed, watch, ref } from "vue"
|
|
87
87
|
import type { Composition } from "@raclettejs/core"
|
|
88
88
|
import { formatDistance } from "date-fns"
|
|
89
|
-
import
|
|
89
|
+
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
90
90
|
import { useI18n } from "vue-i18n"
|
|
91
91
|
import {
|
|
92
92
|
mapJsonValues,
|
|
93
93
|
parseAndNormalizeWorkbenchImportJson,
|
|
94
94
|
resolveWorkbenchImportSelection,
|
|
95
95
|
} from "@app/lib/jsonTools"
|
|
96
|
-
import
|
|
97
|
-
import
|
|
96
|
+
import ImportSelectionDialog from "@raclettejs/core/orchestrator/components/dataImport/ImportSelectionDialog.vue"
|
|
97
|
+
import ImportSummaryDialog from "@raclettejs/core/orchestrator/components/dataImport/ImportSummaryDialog.vue"
|
|
98
98
|
|
|
99
99
|
const { t } = useI18n()
|
|
100
100
|
const showDeleted = ref(false)
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
</template>
|
|
82
82
|
|
|
83
83
|
<script setup lang="ts">
|
|
84
|
-
import
|
|
84
|
+
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
85
85
|
import { InteractionLink } from "@raclettejs/core"
|
|
86
86
|
import { usePluginApi } from "@raclettejs/core/orchestrator/composables"
|
|
87
87
|
import { formatDistance } from "date-fns"
|
|
@@ -92,9 +92,8 @@ import {
|
|
|
92
92
|
parseAndNormalizeWorkbenchImportJson,
|
|
93
93
|
resolveWorkbenchImportSelection,
|
|
94
94
|
} from "@app/lib/jsonTools"
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
|
|
95
|
+
import ImportSelectionDialog from "@raclettejs/core/orchestrator/components/dataImport/ImportSelectionDialog.vue"
|
|
96
|
+
import ImportSummaryDialog from "@raclettejs/core/orchestrator/components/dataImport/ImportSummaryDialog.vue"
|
|
98
97
|
const showDeleted = ref(false)
|
|
99
98
|
const showImportDialog = ref(false)
|
|
100
99
|
const showImportSummary = ref(false)
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
<script setup lang="ts">
|
|
17
17
|
import useWorkbenchPlugins from "@app/composables/useWorkbenchPlugins"
|
|
18
|
-
import
|
|
18
|
+
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
19
19
|
import type { PluginMetadata } from "@raclettejs/core"
|
|
20
20
|
import { computed } from "vue"
|
|
21
21
|
import {
|
|
@@ -78,16 +78,15 @@ import { usePluginApi } from "@raclettejs/core/orchestrator/composables"
|
|
|
78
78
|
import { computed, ref, watch } from "vue"
|
|
79
79
|
import type { Tag } from "@raclettejs/core"
|
|
80
80
|
import { useI18n } from "vue-i18n"
|
|
81
|
-
import
|
|
81
|
+
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
82
82
|
import { formatDistance } from "date-fns"
|
|
83
83
|
import {
|
|
84
84
|
mapJsonValues,
|
|
85
85
|
parseAndNormalizeWorkbenchImportJson,
|
|
86
86
|
resolveWorkbenchImportSelection,
|
|
87
87
|
} from "@app/lib/jsonTools"
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
|
|
88
|
+
import ImportSelectionDialog from "@raclettejs/core/orchestrator/components/dataImport/ImportSelectionDialog.vue"
|
|
89
|
+
import ImportSummaryDialog from "@raclettejs/core/orchestrator/components/dataImport/SummaryDImportSummaryDialogialog.vue"
|
|
91
90
|
const showDeleted = ref(false)
|
|
92
91
|
const { t } = useI18n()
|
|
93
92
|
const showImportDialog = ref(false)
|
|
@@ -55,7 +55,7 @@ import { computed, watch, ref } from "vue"
|
|
|
55
55
|
import type { User } from "@raclettejs/core"
|
|
56
56
|
import { formatDistance } from "date-fns"
|
|
57
57
|
import { useI18n } from "vue-i18n"
|
|
58
|
-
import
|
|
58
|
+
import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
|
|
59
59
|
const showDeleted = ref(false)
|
|
60
60
|
|
|
61
61
|
const props = defineProps<{
|
|
@@ -108,13 +108,15 @@ const userTableRows = (relativeUpdatedAt: boolean) => {
|
|
|
108
108
|
return []
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
return Object.values(users.value as { [key: string]: User }).map(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
return Object.values(users.value as { [key: string]: User }).map(
|
|
112
|
+
(user) => ({
|
|
113
|
+
...user,
|
|
114
|
+
tags: user.tags.map((tag) => tags.value?.[tag]),
|
|
115
|
+
...(relativeUpdatedAt
|
|
116
|
+
? { updatedAt: formatDistance(new Date(user.updatedAt), new Date()) }
|
|
117
|
+
: {}),
|
|
118
|
+
}),
|
|
119
|
+
)
|
|
118
120
|
}
|
|
119
121
|
|
|
120
122
|
const parsedUsers = computed(() => userTableRows(true))
|