@tailor-cms/tce-preview-runtime 2.0.0 → 2.0.2

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @tailor-cms/tce-preview-runtime
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump dependencies and cleanup runtimes to match Tailor X.
8
+ - Updated dependencies
9
+ - @tailor-cms/cek-common@2.0.2
10
+
11
+ ## 2.0.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Fix resetState to include prompt for isQuestion condition.
16
+ - Updated dependencies
17
+ - @tailor-cms/cek-common@2.0.1
18
+
3
19
  ## 2.0.0
4
20
 
5
21
  ### Major Changes
package/package.json CHANGED
@@ -2,28 +2,28 @@
2
2
  "name": "@tailor-cms/tce-preview-runtime",
3
3
  "description": "Preview content element client side runtime",
4
4
  "author": "Studion <info@gostudion.com>",
5
- "version": "2.0.0",
5
+ "version": "2.0.2",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@mdi/font": "^7.4.47",
9
- "@vitejs/plugin-vue": "^6.0.6",
10
- "@vueuse/core": "^14.2.1",
11
- "date-fns": "^4.1.0",
9
+ "@vitejs/plugin-vue": "^6.0.8",
10
+ "@vueuse/core": "^14.3.0",
11
+ "date-fns": "^4.4.0",
12
12
  "lodash-es": "^4.18.1",
13
- "sass": "^1.99.0",
13
+ "sass": "^1.101.6",
14
14
  "split.js": "^1.6.5",
15
- "stringify-object": "^6.0.0",
15
+ "stringify-object": "^7.0.0",
16
16
  "typescript": "^6.0.3",
17
- "vite": "^8.0.10",
17
+ "vite": "^8.1.5",
18
18
  "vite-plugin-vuetify": "^2.1.3",
19
- "vue": "^3.5.33",
20
- "vuetify": "^4.0.6",
21
- "@tailor-cms/cek-common": "^2.0.0"
19
+ "vue": "^3.5.40",
20
+ "vuetify": "^4.1.5",
21
+ "@tailor-cms/cek-common": "^2.0.2"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/lodash-es": "^4.17.12",
25
25
  "@types/stringify-object": "^4.0.5",
26
- "@tailor-cms/eslint-config": "^2.0.0"
26
+ "@tailor-cms/eslint-config": "^2.0.2"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,30 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="56 55.5 912.5 912.5" width="912.5" height="912.5">
2
+ <defs>
3
+ <linearGradient id="loop" x1="100" y1="150" x2="925" y2="500" gradientUnits="userSpaceOnUse">
4
+ <stop offset="0" stop-color="#1fd1b5"/>
5
+ <stop offset=".45" stop-color="#56dd7b"/>
6
+ <stop offset="1" stop-color="#b8e232"/>
7
+ </linearGradient>
8
+ <linearGradient id="button" x1="330" y1="430" x2="700" y2="935" gradientUnits="userSpaceOnUse">
9
+ <stop offset="0" stop-color="#ff5c7a"/>
10
+ <stop offset=".5" stop-color="#f50357"/>
11
+ <stop offset="1" stop-color="#d10049"/>
12
+ </linearGradient>
13
+ <linearGradient id="sheenLoop" x1="0" y1="60" x2="0" y2="330" gradientUnits="userSpaceOnUse">
14
+ <stop offset="0" stop-color="#ffffff" stop-opacity=".18"/>
15
+ <stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
16
+ </linearGradient>
17
+ <linearGradient id="sheenButton" x1="0" y1="420" x2="0" y2="780" gradientUnits="userSpaceOnUse">
18
+ <stop offset="0" stop-color="#ffffff" stop-opacity=".14"/>
19
+ <stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
20
+ </linearGradient>
21
+ </defs>
22
+ <g transform="translate(0 30)" stroke="#263238" stroke-width="70" stroke-linejoin="round" paint-order="stroke">
23
+ <path fill="url(#loop)" fill-rule="evenodd" d="m638.2 88.1c33.7-13.3 68.4-18.6 104-15.9 41.8 3.1 78.8 18.6 111.3 44.9 37 29.9 61.8 67.7 73 114.1 5.7 23.9 7.4 48.1 4.7 72.7-4.7 42.9-21.2 80.8-48.8 113.8-30.5 36.3-69.1 59.8-115.3 70.2-48.3 10.9-94.2 2.1-138.5-18.3-25-11.5-51.1-19.3-78.3-23.5-52.6-8.1-102.8 1.6-151 22.6-19.6 8.5-39.3 16.1-60.2 20.1-44 8.4-86.2 2.8-126.2-16.8-61.9-30.4-101.2-79.4-115.8-147-13.5-63 0-120.8 39-171.8 31.3-41 72.8-67 123.6-77.2 48.7-9.7 95.4-2.9 140.4 17.5 25.1 11.3 51.1 20.3 78.3 25.1 18.4 3.3 37 3.7 55.6 1.9 34.5-3.4 66.3-15.2 97.4-29.5 2.1-1 4.3-1.8 6.8-2.9zm81.5 96.9c-13.7 0.7-27 3.4-39.2 9.6-45.5 23.4-93.5 37.2-144.6 40.7-32.6 2.2-64.7-0.2-96.6-6.8-32.4-6.7-63.4-17.1-92.9-32.2-20.4-10.5-42.4-13.5-64.8-8.9-46.6 9.7-82.2 58.4-74.8 107.7 3.8 24.6 14.7 45.2 33.9 60.6 32.4 26.1 68.2 30.4 105.6 11.6 49.8-25 102.8-35.4 157.9-37.2 23.5-0.8 46.8 1.1 70.1 4.8 34.8 5.5 68.5 14.5 100 30.8 22.4 11.6 45.8 17 70.8 10.3 49.8-13.4 81.5-59.8 71.5-113.4-8.3-44.2-49.6-79.1-96.9-77.6z"/>
24
+ <path stroke="none" fill="url(#sheenLoop)" fill-rule="evenodd" d="m638.2 88.1c33.7-13.3 68.4-18.6 104-15.9 41.8 3.1 78.8 18.6 111.3 44.9 37 29.9 61.8 67.7 73 114.1 5.7 23.9 7.4 48.1 4.7 72.7-4.7 42.9-21.2 80.8-48.8 113.8-30.5 36.3-69.1 59.8-115.3 70.2-48.3 10.9-94.2 2.1-138.5-18.3-25-11.5-51.1-19.3-78.3-23.5-52.6-8.1-102.8 1.6-151 22.6-19.6 8.5-39.3 16.1-60.2 20.1-44 8.4-86.2 2.8-126.2-16.8-61.9-30.4-101.2-79.4-115.8-147-13.5-63 0-120.8 39-171.8 31.3-41 72.8-67 123.6-77.2 48.7-9.7 95.4-2.9 140.4 17.5 25.1 11.3 51.1 20.3 78.3 25.1 18.4 3.3 37 3.7 55.6 1.9 34.5-3.4 66.3-15.2 97.4-29.5 2.1-1 4.3-1.8 6.8-2.9zm81.5 96.9c-13.7 0.7-27 3.4-39.2 9.6-45.5 23.4-93.5 37.2-144.6 40.7-32.6 2.2-64.7-0.2-96.6-6.8-32.4-6.7-63.4-17.1-92.9-32.2-20.4-10.5-42.4-13.5-64.8-8.9-46.6 9.7-82.2 58.4-74.8 107.7 3.8 24.6 14.7 45.2 33.9 60.6 32.4 26.1 68.2 30.4 105.6 11.6 49.8-25 102.8-35.4 157.9-37.2 23.5-0.8 46.8 1.1 70.1 4.8 34.8 5.5 68.5 14.5 100 30.8 22.4 11.6 45.8 17 70.8 10.3 49.8-13.4 81.5-59.8 71.5-113.4-8.3-44.2-49.6-79.1-96.9-77.6z"/>
25
+ <g transform="translate(0 -44)">
26
+ <path fill="url(#button)" fill-rule="evenodd" d="m603.7 915.8c-20.4 8.9-41.3 14.8-62.9 18.1-30.7 4.5-61 2.2-90.5-7.1-83.8-26.6-135.8-83.5-158.1-168-5.6-21.1-6.8-42.7-5-64.3 4.4-52.4 23.9-98.5 59.4-137.6 32.2-35.6 72.2-58.3 118.8-68.4 65.2-14.3 125.3-0.9 179.2 37.9 48.1 34.6 77.6 82.1 89 139.9 13.8 69.8-3.4 132.6-48.1 187.7-22 27.1-49.7 47.2-81.8 61.8zm-1.3-135.9c13.8-17.6 22.4-37.5 24.3-59.7 3.2-35.6-7-67.1-32.6-92.8-27.9-28-61.8-39.4-100.7-33.1-30.9 5-55.8 21.3-74.3 46.5-18.8 25.4-25.6 54.3-20.9 85.5 4 26.5 16.5 49.1 36.7 67 30 26.5 64.6 36.4 104 27 25.5-6.1 46.4-19.8 63.5-40.4z"/>
27
+ <path stroke="none" fill="url(#sheenButton)" fill-rule="evenodd" d="m603.7 915.8c-20.4 8.9-41.3 14.8-62.9 18.1-30.7 4.5-61 2.2-90.5-7.1-83.8-26.6-135.8-83.5-158.1-168-5.6-21.1-6.8-42.7-5-64.3 4.4-52.4 23.9-98.5 59.4-137.6 32.2-35.6 72.2-58.3 118.8-68.4 65.2-14.3 125.3-0.9 179.2 37.9 48.1 34.6 77.6 82.1 89 139.9 13.8 69.8-3.4 132.6-48.1 187.7-22 27.1-49.7 47.2-81.8 61.8zm-1.3-135.9c13.8-17.6 22.4-37.5 24.3-59.7 3.2-35.6-7-67.1-32.6-92.8-27.9-28-61.8-39.4-100.7-33.1-30.9 5-55.8 21.3-74.3 46.5-18.8 25.4-25.6 54.3-20.9 85.5 4 26.5 16.5 49.1 36.7 67 30 26.5 64.6 36.4 104 27 25.5-6.1 46.4-19.8 63.5-40.4z"/>
28
+ </g>
29
+ </g>
30
+ </svg>
@@ -1 +1,30 @@
1
- <svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024"><defs><linearGradient id="P" gradientUnits="userSpaceOnUse"/><linearGradient id="g1" x2="1" href="#P" gradientTransform="matrix(420.219,0,0,210.542,302.125,282.061)"><stop stop-color="#49b3ac"/><stop offset="1" stop-color="#c9d637"/></linearGradient></defs><style>.a{fill:url(#g1);stroke:#263238;paint-order:stroke fill markers;stroke-linejoin:round;stroke-width:70}.b{fill:#f50357;stroke:#263238;paint-order:stroke fill markers;stroke-linejoin:round;stroke-width:70}</style><path class="a" d="m638.2 88.1c33.7-13.3 68.4-18.6 104-15.9 41.8 3.1 78.8 18.6 111.3 44.9 37 29.9 61.8 67.7 73 114.1 5.7 23.9 7.4 48.1 4.7 72.7-4.7 42.9-21.2 80.8-48.8 113.8-30.5 36.3-69.1 59.8-115.3 70.2-48.3 10.9-94.2 2.1-138.5-18.3-25-11.5-51.1-19.3-78.3-23.5-52.6-8.1-102.8 1.6-151 22.6-19.6 8.5-39.3 16.1-60.2 20.1-44 8.4-86.2 2.8-126.2-16.8-61.9-30.4-101.2-79.4-115.8-147-13.5-63 0-120.8 39-171.8 31.3-41 72.8-67 123.6-77.2 48.7-9.7 95.4-2.9 140.4 17.5 25.1 11.3 51.1 20.3 78.3 25.1 18.4 3.3 37 3.7 55.6 1.9 34.5-3.4 66.3-15.2 97.4-29.5 2.1-1 4.3-1.8 6.8-2.9zm81.5 96.9c-13.7 0.7-27 3.4-39.2 9.6-45.5 23.4-93.5 37.2-144.6 40.7-32.6 2.2-64.7-0.2-96.6-6.8-32.4-6.7-63.4-17.1-92.9-32.2-20.4-10.5-42.4-13.5-64.8-8.9-46.6 9.7-82.2 58.4-74.8 107.7 3.8 24.6 14.7 45.2 33.9 60.6 32.4 26.1 68.2 30.4 105.6 11.6 49.8-25 102.8-35.4 157.9-37.2 23.5-0.8 46.8 1.1 70.1 4.8 34.8 5.5 68.5 14.5 100 30.8 22.4 11.6 45.8 17 70.8 10.3 49.8-13.4 81.5-59.8 71.5-113.4-8.3-44.2-49.6-79.1-96.9-77.6z"/><path class="b" d="m603.7 915.8c-20.4 8.9-41.3 14.8-62.9 18.1-30.7 4.5-61 2.2-90.5-7.1-83.8-26.6-135.8-83.5-158.1-168-5.6-21.1-6.8-42.7-5-64.3 4.4-52.4 23.9-98.5 59.4-137.6 32.2-35.6 72.2-58.3 118.8-68.4 65.2-14.3 125.3-0.9 179.2 37.9 48.1 34.6 77.6 82.1 89 139.9 13.8 69.8-3.4 132.6-48.1 187.7-22 27.1-49.7 47.2-81.8 61.8zm-1.3-135.9c13.8-17.6 22.4-37.5 24.3-59.7 3.2-35.6-7-67.1-32.6-92.8-27.9-28-61.8-39.4-100.7-33.1-30.9 5-55.8 21.3-74.3 46.5-18.8 25.4-25.6 54.3-20.9 85.5 4 26.5 16.5 49.1 36.7 67 30 26.5 64.6 36.4 104 27 25.5-6.1 46.4-19.8 63.5-40.4z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
2
+ <defs>
3
+ <linearGradient id="loop" x1="100" y1="150" x2="925" y2="500" gradientUnits="userSpaceOnUse">
4
+ <stop offset="0" stop-color="#1fd1b5"/>
5
+ <stop offset=".45" stop-color="#56dd7b"/>
6
+ <stop offset="1" stop-color="#b8e232"/>
7
+ </linearGradient>
8
+ <linearGradient id="button" x1="330" y1="430" x2="700" y2="935" gradientUnits="userSpaceOnUse">
9
+ <stop offset="0" stop-color="#ff5c7a"/>
10
+ <stop offset=".5" stop-color="#f50357"/>
11
+ <stop offset="1" stop-color="#d10049"/>
12
+ </linearGradient>
13
+ <linearGradient id="sheenLoop" x1="0" y1="60" x2="0" y2="330" gradientUnits="userSpaceOnUse">
14
+ <stop offset="0" stop-color="#ffffff" stop-opacity=".18"/>
15
+ <stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
16
+ </linearGradient>
17
+ <linearGradient id="sheenButton" x1="0" y1="420" x2="0" y2="780" gradientUnits="userSpaceOnUse">
18
+ <stop offset="0" stop-color="#ffffff" stop-opacity=".14"/>
19
+ <stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
20
+ </linearGradient>
21
+ </defs>
22
+ <g transform="translate(0 30)" stroke="#263238" stroke-width="70" stroke-linejoin="round" paint-order="stroke">
23
+ <path fill="url(#loop)" fill-rule="evenodd" d="m638.2 88.1c33.7-13.3 68.4-18.6 104-15.9 41.8 3.1 78.8 18.6 111.3 44.9 37 29.9 61.8 67.7 73 114.1 5.7 23.9 7.4 48.1 4.7 72.7-4.7 42.9-21.2 80.8-48.8 113.8-30.5 36.3-69.1 59.8-115.3 70.2-48.3 10.9-94.2 2.1-138.5-18.3-25-11.5-51.1-19.3-78.3-23.5-52.6-8.1-102.8 1.6-151 22.6-19.6 8.5-39.3 16.1-60.2 20.1-44 8.4-86.2 2.8-126.2-16.8-61.9-30.4-101.2-79.4-115.8-147-13.5-63 0-120.8 39-171.8 31.3-41 72.8-67 123.6-77.2 48.7-9.7 95.4-2.9 140.4 17.5 25.1 11.3 51.1 20.3 78.3 25.1 18.4 3.3 37 3.7 55.6 1.9 34.5-3.4 66.3-15.2 97.4-29.5 2.1-1 4.3-1.8 6.8-2.9zm81.5 96.9c-13.7 0.7-27 3.4-39.2 9.6-45.5 23.4-93.5 37.2-144.6 40.7-32.6 2.2-64.7-0.2-96.6-6.8-32.4-6.7-63.4-17.1-92.9-32.2-20.4-10.5-42.4-13.5-64.8-8.9-46.6 9.7-82.2 58.4-74.8 107.7 3.8 24.6 14.7 45.2 33.9 60.6 32.4 26.1 68.2 30.4 105.6 11.6 49.8-25 102.8-35.4 157.9-37.2 23.5-0.8 46.8 1.1 70.1 4.8 34.8 5.5 68.5 14.5 100 30.8 22.4 11.6 45.8 17 70.8 10.3 49.8-13.4 81.5-59.8 71.5-113.4-8.3-44.2-49.6-79.1-96.9-77.6z"/>
24
+ <path stroke="none" fill="url(#sheenLoop)" fill-rule="evenodd" d="m638.2 88.1c33.7-13.3 68.4-18.6 104-15.9 41.8 3.1 78.8 18.6 111.3 44.9 37 29.9 61.8 67.7 73 114.1 5.7 23.9 7.4 48.1 4.7 72.7-4.7 42.9-21.2 80.8-48.8 113.8-30.5 36.3-69.1 59.8-115.3 70.2-48.3 10.9-94.2 2.1-138.5-18.3-25-11.5-51.1-19.3-78.3-23.5-52.6-8.1-102.8 1.6-151 22.6-19.6 8.5-39.3 16.1-60.2 20.1-44 8.4-86.2 2.8-126.2-16.8-61.9-30.4-101.2-79.4-115.8-147-13.5-63 0-120.8 39-171.8 31.3-41 72.8-67 123.6-77.2 48.7-9.7 95.4-2.9 140.4 17.5 25.1 11.3 51.1 20.3 78.3 25.1 18.4 3.3 37 3.7 55.6 1.9 34.5-3.4 66.3-15.2 97.4-29.5 2.1-1 4.3-1.8 6.8-2.9zm81.5 96.9c-13.7 0.7-27 3.4-39.2 9.6-45.5 23.4-93.5 37.2-144.6 40.7-32.6 2.2-64.7-0.2-96.6-6.8-32.4-6.7-63.4-17.1-92.9-32.2-20.4-10.5-42.4-13.5-64.8-8.9-46.6 9.7-82.2 58.4-74.8 107.7 3.8 24.6 14.7 45.2 33.9 60.6 32.4 26.1 68.2 30.4 105.6 11.6 49.8-25 102.8-35.4 157.9-37.2 23.5-0.8 46.8 1.1 70.1 4.8 34.8 5.5 68.5 14.5 100 30.8 22.4 11.6 45.8 17 70.8 10.3 49.8-13.4 81.5-59.8 71.5-113.4-8.3-44.2-49.6-79.1-96.9-77.6z"/>
25
+ <g transform="translate(0 -44)">
26
+ <path fill="url(#button)" fill-rule="evenodd" d="m603.7 915.8c-20.4 8.9-41.3 14.8-62.9 18.1-30.7 4.5-61 2.2-90.5-7.1-83.8-26.6-135.8-83.5-158.1-168-5.6-21.1-6.8-42.7-5-64.3 4.4-52.4 23.9-98.5 59.4-137.6 32.2-35.6 72.2-58.3 118.8-68.4 65.2-14.3 125.3-0.9 179.2 37.9 48.1 34.6 77.6 82.1 89 139.9 13.8 69.8-3.4 132.6-48.1 187.7-22 27.1-49.7 47.2-81.8 61.8zm-1.3-135.9c13.8-17.6 22.4-37.5 24.3-59.7 3.2-35.6-7-67.1-32.6-92.8-27.9-28-61.8-39.4-100.7-33.1-30.9 5-55.8 21.3-74.3 46.5-18.8 25.4-25.6 54.3-20.9 85.5 4 26.5 16.5 49.1 36.7 67 30 26.5 64.6 36.4 104 27 25.5-6.1 46.4-19.8 63.5-40.4z"/>
27
+ <path stroke="none" fill="url(#sheenButton)" fill-rule="evenodd" d="m603.7 915.8c-20.4 8.9-41.3 14.8-62.9 18.1-30.7 4.5-61 2.2-90.5-7.1-83.8-26.6-135.8-83.5-158.1-168-5.6-21.1-6.8-42.7-5-64.3 4.4-52.4 23.9-98.5 59.4-137.6 32.2-35.6 72.2-58.3 118.8-68.4 65.2-14.3 125.3-0.9 179.2 37.9 48.1 34.6 77.6 82.1 89 139.9 13.8 69.8-3.4 132.6-48.1 187.7-22 27.1-49.7 47.2-81.8 61.8zm-1.3-135.9c13.8-17.6 22.4-37.5 24.3-59.7 3.2-35.6-7-67.1-32.6-92.8-27.9-28-61.8-39.4-100.7-33.1-30.9 5-55.8 21.3-74.3 46.5-18.8 25.4-25.6 54.3-20.9 85.5 4 26.5 16.5 49.1 36.7 67 30 26.5 64.6 36.4 104 27 25.5-6.1 46.4-19.8 63.5-40.4z"/>
28
+ </g>
29
+ </g>
30
+ </svg>
package/src/index.html CHANGED
@@ -2,7 +2,11 @@
2
2
  <html lang="en" class="h-screen overflow-hidden dark">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
7
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
5
8
  <link rel="icon" href="/favicon.ico" />
9
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
6
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
11
  <meta name="description" content="Content Element Kit — development environment for building Tailor CMS content elements" />
8
12
  <title>Content Element Kit</title>
@@ -1,5 +1,5 @@
1
- declare module "*.vue" {
2
- import { DefineComponent } from "vue";
1
+ declare module '*.vue' {
2
+ import { DefineComponent } from 'vue';
3
3
  const component: DefineComponent<{}, {}, any>;
4
4
  export default component;
5
5
  }