@tailor-cms/tce-preview-runtime 0.4.0 → 0.5.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailor-cms/tce-preview-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@lukeed/uuid": "^2.0.1",
|
|
6
6
|
"@mdi/font": "7.2.96",
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"lodash": "^4.17.21",
|
|
12
12
|
"sass": "1.68.0",
|
|
13
13
|
"split.js": "1.6.5",
|
|
14
|
+
"stringify-object": "^5.0.0",
|
|
14
15
|
"typescript": "5.2.2",
|
|
15
16
|
"universal-cookie": "^6.1.3",
|
|
16
17
|
"vite": "4.4.9",
|
|
17
18
|
"vite-plugin-vuetify": "1.0.2",
|
|
18
19
|
"vue": "3.3.4",
|
|
19
20
|
"vue-tsc": "1.8.13",
|
|
20
|
-
"vue3-ts-jsoneditor": "2.9.0",
|
|
21
21
|
"vuetify": "3.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import logoUrl from '../assets/logo.png';
|
|
3
3
|
import { useGlobalState } from '../state';
|
|
4
|
+
import { version } from './../../package.json';
|
|
4
5
|
|
|
5
6
|
const { showEdit, showDisplay, showBothComponents } = useGlobalState();
|
|
6
7
|
</script>
|
|
@@ -20,7 +21,7 @@ const { showEdit, showDisplay, showBothComponents } = useGlobalState();
|
|
|
20
21
|
density="compact"
|
|
21
22
|
variant="tonal"
|
|
22
23
|
>
|
|
23
|
-
|
|
24
|
+
{{ version }}
|
|
24
25
|
</v-chip>
|
|
25
26
|
</v-app-bar-title>
|
|
26
27
|
<v-spacer />
|
|
@@ -12,13 +12,11 @@
|
|
|
12
12
|
<v-icon color="orange-darken-3" icon="mdi-update" size="18" start />
|
|
13
13
|
<div class="text-body-1">{{ item.raw.title }}</div>
|
|
14
14
|
</v-card-title>
|
|
15
|
-
<v-card-text
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
mode="text"
|
|
21
|
-
/>
|
|
15
|
+
<v-card-text
|
|
16
|
+
v-show="isExpanded(item) || index === 0"
|
|
17
|
+
class="text-indigo-darken-4 bg-blue-grey-lighten-5 py-2 ma-3"
|
|
18
|
+
>
|
|
19
|
+
<pre>{{ stringifyObject(item.raw.data, { indent: ' ' }) }}</pre>
|
|
22
20
|
</v-card-text>
|
|
23
21
|
</v-card>
|
|
24
22
|
</template>
|
|
@@ -27,7 +25,7 @@
|
|
|
27
25
|
</template>
|
|
28
26
|
|
|
29
27
|
<script setup lang="ts">
|
|
30
|
-
import
|
|
28
|
+
import stringifyObject from 'stringify-object';
|
|
31
29
|
|
|
32
30
|
defineProps<{ changes: any[] }>();
|
|
33
31
|
</script>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
:model-value="progress"
|
|
13
13
|
class="my-3"
|
|
14
14
|
/>
|
|
15
|
-
<div class="font-weight-bold">Beta preview
|
|
15
|
+
<div class="font-weight-bold">Beta preview v{{ version }}</div>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
</div>
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
<script lang="ts">
|
|
23
23
|
import logoUrl from '../assets/logo.png';
|
|
24
|
+
import { version } from './../../package.json';
|
|
24
25
|
|
|
25
26
|
export default {
|
|
26
27
|
props: {
|
|
@@ -49,6 +50,9 @@ export default {
|
|
|
49
50
|
interval: 0,
|
|
50
51
|
progress: 0,
|
|
51
52
|
}),
|
|
53
|
+
computed: {
|
|
54
|
+
version: () => version,
|
|
55
|
+
},
|
|
52
56
|
mounted() {
|
|
53
57
|
this.setColor();
|
|
54
58
|
if (!this.isFirstBoot) return;
|