@raclettejs/workbench 0.1.32-nightly → 0.1.32-nightly-1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raclettejs/workbench",
3
- "version": "0.1.32-nightly",
3
+ "version": "0.1.32-nightly-1",
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.32-nightly",
36
+ "@raclettejs/core": "^0.1.32-nightly-1",
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.32-nightly",
46
+ "@raclettejs/types": "^0.1.32-nightly-1",
47
47
  "@sinclair/typebox": "0.34.48",
48
48
  "@types/ramda": "0.31.1",
49
49
  "@vueuse/core": "14.2.1",
@@ -57,7 +57,7 @@
57
57
  </template>
58
58
  </BaseDataTable>
59
59
  <!-- Import Selection Dialog -->
60
- <SelectionDialog
60
+ <ImportSelectionDialog
61
61
  v-model="showImportDialog"
62
62
  :items="importableItems"
63
63
  display-attribute="title"
@@ -67,7 +67,7 @@
67
67
  />
68
68
 
69
69
  <!-- Import Summary Dialog -->
70
- <SummaryDialog
70
+ <ImportSummaryDialog
71
71
  v-model="showImportSummary"
72
72
  display-attribute="title"
73
73
  :items="importedItems"
@@ -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 BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
89
+ import { BaseDataTable } from "@raclettejs/core/orchestrator/components"
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 SelectionDialog from "@raclettejs/core/orchestrator/components/dataTable/SelectionDialog.vue"
97
- import SummaryDialog from "@raclettejs/core/orchestrator/components/dataTable/SummaryDialog.vue"
96
+ import { ImportSelectionDialog } from "@raclettejs/core/orchestrator/components"
97
+ import { ImportSummaryDialog } from "@raclettejs/core/orchestrator/components"
98
98
 
99
99
  const { t } = useI18n()
100
100
  const showDeleted = ref(false)
@@ -56,7 +56,7 @@
56
56
  </template>
57
57
  </BaseDataTable>
58
58
  <!-- Import Selection Dialog -->
59
- <SelectionDialog
59
+ <ImportSelectionDialog
60
60
  v-model="showImportDialog"
61
61
  :items="importableItems"
62
62
  display-attribute="description"
@@ -66,7 +66,7 @@
66
66
  />
67
67
 
68
68
  <!-- Import Summary Dialog -->
69
- <SummaryDialog
69
+ <ImportSummaryDialog
70
70
  v-model="showImportSummary"
71
71
  :items="importedItems"
72
72
  display-attribute="description"
@@ -81,7 +81,7 @@
81
81
  </template>
82
82
 
83
83
  <script setup lang="ts">
84
- import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
84
+ import { BaseDataTable } from "@raclettejs/core/orchestrator/components"
85
85
  import { InteractionLink } from "@raclettejs/core"
86
86
  import { usePluginApi } from "@raclettejs/core/orchestrator/composables"
87
87
  import { formatDistance } from "date-fns"
@@ -92,8 +92,9 @@ import {
92
92
  parseAndNormalizeWorkbenchImportJson,
93
93
  resolveWorkbenchImportSelection,
94
94
  } from "@app/lib/jsonTools"
95
- import SelectionDialog from "@raclettejs/core/orchestrator/components/dataTable/SelectionDialog.vue"
96
- import SummaryDialog from "@raclettejs/core/orchestrator/components/dataTable/SummaryDialog.vue"
95
+ import { ImportSelectionDialog } from "@raclettejs/core/orchestrator/components"
96
+ import { ImportSummaryDialog } from "@raclettejs/core/orchestrator/components"
97
+
97
98
  const showDeleted = ref(false)
98
99
  const showImportDialog = ref(false)
99
100
  const showImportSummary = ref(false)
@@ -203,9 +204,7 @@ const interactionLinkTableRows = (relativeDates: boolean) => {
203
204
  }))
204
205
  }
205
206
 
206
- const parsedInteractionLinks = computed(() =>
207
- interactionLinkTableRows(true),
208
- )
207
+ const parsedInteractionLinks = computed(() => interactionLinkTableRows(true))
209
208
 
210
209
  const exportableInteractionLinks = computed(() =>
211
210
  interactionLinkTableRows(false),
@@ -15,7 +15,7 @@
15
15
 
16
16
  <script setup lang="ts">
17
17
  import useWorkbenchPlugins from "@app/composables/useWorkbenchPlugins"
18
- import BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
18
+ import { BaseDataTable } from "@raclettejs/core/orchestrator/components"
19
19
  import type { PluginMetadata } from "@raclettejs/core"
20
20
  import { computed } from "vue"
21
21
  import {
@@ -49,7 +49,7 @@
49
49
  </template>
50
50
  </BaseDataTable>
51
51
  <!-- Import Selection Dialog -->
52
- <SelectionDialog
52
+ <ImportSelectionDialog
53
53
  v-model="showImportDialog"
54
54
  :items="importableItems"
55
55
  display-attribute="title"
@@ -59,7 +59,7 @@
59
59
  />
60
60
 
61
61
  <!-- Import Summary Dialog -->
62
- <SummaryDialog
62
+ <ImportSummaryDialog
63
63
  v-model="showImportSummary"
64
64
  display-attribute="title"
65
65
  :items="importedItems"
@@ -78,15 +78,16 @@ 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 BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
81
+ import { BaseDataTable } from "@raclettejs/core/orchestrator/components"
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 SelectionDialog from "@raclettejs/core/orchestrator/components/dataTable/SelectionDialog.vue"
89
- import SummaryDialog from "@raclettejs/core/orchestrator/components/dataTable/SummaryDialog.vue"
88
+ import { ImportSelectionDialog } from "@raclettejs/core/orchestrator/components"
89
+ import { ImportSummaryDialog } from "@raclettejs/core/orchestrator/components"
90
+
90
91
  const showDeleted = ref(false)
91
92
  const { t } = useI18n()
92
93
  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 BaseDataTable from "@raclettejs/core/orchestrator/components/dataTable/BaseDataTable.vue"
58
+ import { BaseDataTable } from "@raclettejs/core/orchestrator/components"
59
59
  const showDeleted = ref(false)
60
60
 
61
61
  const props = defineProps<{
@@ -108,15 +108,13 @@ const userTableRows = (relativeUpdatedAt: boolean) => {
108
108
  return []
109
109
  }
110
110
 
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
- )
111
+ return Object.values(users.value as { [key: string]: User }).map((user) => ({
112
+ ...user,
113
+ tags: user.tags.map((tag) => tags.value?.[tag]),
114
+ ...(relativeUpdatedAt
115
+ ? { updatedAt: formatDistance(new Date(user.updatedAt), new Date()) }
116
+ : {}),
117
+ }))
120
118
  }
121
119
 
122
120
  const parsedUsers = computed(() => userTableRows(true))