@templatical/editor 0.14.0 → 0.15.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.
Files changed (153) hide show
  1. package/dist/{AiChatSidebar-J8iO_sX7.js → AiChatSidebar-BIKvYREk.js} +57 -56
  2. package/dist/{AiFeatureMenu-F2diEDgV.js → AiFeatureMenu-CU6kTMTf.js} +20 -20
  3. package/dist/{BlockIssueBadge-a-qlByxF.js → BlockIssueBadge-B3xVgMTh.js} +11 -11
  4. package/dist/{CloudEditor-CDjtwb4i.js → CloudEditor-DRPxvUEj.js} +470 -468
  5. package/dist/{CollaboratorBar-B_EnJLtW.js → CollaboratorBar-DMSjd3HZ.js} +20 -20
  6. package/dist/{CommentsSidebar-DaP9BA_r.js → CommentsSidebar-D_tSGvTX.js} +154 -153
  7. package/dist/CountdownBlock-apiYUhkQ.js +92 -0
  8. package/dist/CountdownToolbar-CS0axcjz.js +210 -0
  9. package/dist/{DesignReferenceSidebar-BHRlTqlT.js → DesignReferenceSidebar-DWYK9nTk.js} +58 -57
  10. package/dist/{IssuesPanel-u7ee3Wrl.js → IssuesPanel-CR1MPaDE.js} +40 -40
  11. package/dist/{LoadingTrack-CV3ID80N.js → LoadingTrack-DsecR8Rw.js} +1 -1
  12. package/dist/MergeTagSuggestion-CH2SUxBo.js +1327 -0
  13. package/dist/{ModuleBrowserModal-DOsdaS6s.js → ModuleBrowserModal-BOzleijA.js} +60 -59
  14. package/dist/{ModulePreviewCanvas-Cx4MOJ0X.js → ModulePreviewCanvas-Cg99Pbde.js} +29 -29
  15. package/dist/{NumberWithSuffix-D2mW_DhT.js → NumberWithSuffix-CrA6quxx.js} +143 -142
  16. package/dist/{ParagraphEditor-DMzkVnST.js → ParagraphEditor-8jnzoL0A.js} +250 -247
  17. package/dist/{RichTextEditorContent-CRCxCwKf.js → RichTextEditorContent-BqLHIZY7.js} +45 -44
  18. package/dist/{SaveModuleDialog-DuEKgumL.js → SaveModuleDialog-Cy2XyjYT.js} +38 -37
  19. package/dist/{SnapshotHistory-CVgiNJtE.js → SnapshotHistory-cfxmOsJu.js} +34 -33
  20. package/dist/{TemplateScoringPanel-lm0_9nYi.js → TemplateScoringPanel-CZ62rGHz.js} +83 -82
  21. package/dist/{TestEmailModal-WBMdiW5S.js → TestEmailModal-sr1MaMVX.js} +22 -21
  22. package/dist/{TitleEditor-eyT0h-Sa.js → TitleEditor-CvGTprIg.js} +46 -45
  23. package/dist/{TplModal-tjQ7OB0g.js → TplModal-BtKB-0Bx.js} +14 -13
  24. package/dist/{blockTypeIcons-DdB3uTKD.js → blockTypeIcons-BxEbbev5.js} +2 -2
  25. package/dist/bundle-stats.json +8 -8
  26. package/dist/cdn/chunks/{AiFeatureMenu-D7rB2SBs.js → AiFeatureMenu-fDUpv_-s.js} +5 -5
  27. package/dist/cdn/chunks/{AiFeatureMenu-D7rB2SBs.js.map → AiFeatureMenu-fDUpv_-s.js.map} +1 -1
  28. package/dist/cdn/chunks/{BlockIssueBadge-DHOe0pgx.js → BlockIssueBadge-Byce0j0W.js} +3 -3
  29. package/dist/cdn/chunks/{BlockIssueBadge-DHOe0pgx.js.map → BlockIssueBadge-Byce0j0W.js.map} +1 -1
  30. package/dist/cdn/chunks/{CloudEditor-DNed_Ym0.js → CloudEditor-B4m8ldiE.js} +89 -89
  31. package/dist/cdn/chunks/{CloudEditor-DNed_Ym0.js.map → CloudEditor-B4m8ldiE.js.map} +1 -1
  32. package/dist/cdn/chunks/{CollaboratorBar-sj_9Lee3.js → CollaboratorBar-LnLmjxw_.js} +4 -4
  33. package/dist/cdn/chunks/{CollaboratorBar-sj_9Lee3.js.map → CollaboratorBar-LnLmjxw_.js.map} +1 -1
  34. package/dist/cdn/chunks/{CountdownBlock-C1Ikjpn4.js → CountdownBlock-DxTuMRBM.js} +3 -3
  35. package/dist/cdn/chunks/{CountdownBlock-C1Ikjpn4.js.map → CountdownBlock-DxTuMRBM.js.map} +1 -1
  36. package/dist/cdn/chunks/{CountdownToolbar-j1G_X8rB.js → CountdownToolbar-DUrVfQZH.js} +4 -4
  37. package/dist/cdn/chunks/{CountdownToolbar-j1G_X8rB.js.map → CountdownToolbar-DUrVfQZH.js.map} +1 -1
  38. package/dist/cdn/chunks/{IssuesPanel-CTOf3PsH.js → IssuesPanel-CHl90k4h.js} +4 -4
  39. package/dist/cdn/chunks/{IssuesPanel-CTOf3PsH.js.map → IssuesPanel-CHl90k4h.js.map} +1 -1
  40. package/dist/cdn/chunks/MergeTagSuggestion-BsCAo4Co.js +213 -0
  41. package/dist/cdn/chunks/MergeTagSuggestion-BsCAo4Co.js.map +1 -0
  42. package/dist/cdn/chunks/{ModuleBrowserModal-DCh88-rr.js → ModuleBrowserModal-DW0iQW0J.js} +6 -6
  43. package/dist/cdn/chunks/{ModuleBrowserModal-DCh88-rr.js.map → ModuleBrowserModal-DW0iQW0J.js.map} +1 -1
  44. package/dist/cdn/chunks/{ModulePreviewCanvas-DJqvTKmg.js → ModulePreviewCanvas-Cxo8v8t1.js} +3 -3
  45. package/dist/cdn/chunks/{ModulePreviewCanvas-DJqvTKmg.js.map → ModulePreviewCanvas-Cxo8v8t1.js.map} +1 -1
  46. package/dist/cdn/chunks/{NumberWithSuffix-Bu45XWSl.js → NumberWithSuffix-CnSRmUMK.js} +6 -6
  47. package/dist/cdn/chunks/{NumberWithSuffix-Bu45XWSl.js.map → NumberWithSuffix-CnSRmUMK.js.map} +1 -1
  48. package/dist/cdn/chunks/{ParagraphEditor-DwZqLJp2.js → ParagraphEditor-iG5cDjH0.js} +25 -23
  49. package/dist/cdn/chunks/{ParagraphEditor-DwZqLJp2.js.map → ParagraphEditor-iG5cDjH0.js.map} +1 -1
  50. package/dist/cdn/chunks/{RichTextEditorContent-CIuZ-2DV.js → RichTextEditorContent-DQpgeGMj.js} +4 -4
  51. package/dist/cdn/chunks/{RichTextEditorContent-CIuZ-2DV.js.map → RichTextEditorContent-DQpgeGMj.js.map} +1 -1
  52. package/dist/cdn/chunks/{SaveModuleDialog-Bep0X2s_.js → SaveModuleDialog-sJQXg2Mh.js} +3 -3
  53. package/dist/cdn/chunks/{SaveModuleDialog-Bep0X2s_.js.map → SaveModuleDialog-sJQXg2Mh.js.map} +1 -1
  54. package/dist/cdn/chunks/{TitleEditor-DO1-h3RY.js → TitleEditor-C8qIn9Oi.js} +12 -11
  55. package/dist/cdn/chunks/TitleEditor-C8qIn9Oi.js.map +1 -0
  56. package/dist/cdn/chunks/{blockTypeIcons-8o24HVJu.js → blockTypeIcons-DySnOpPo.js} +3 -3
  57. package/dist/cdn/chunks/{blockTypeIcons-8o24HVJu.js.map → blockTypeIcons-DySnOpPo.js.map} +1 -1
  58. package/dist/cdn/chunks/{draggable-kPCz_3zM.js → draggable-kG-D5Xsm.js} +6 -6
  59. package/dist/cdn/chunks/draggable-kG-D5Xsm.js.map +1 -0
  60. package/dist/cdn/chunks/extensions-C2pTX899.js +421 -0
  61. package/dist/cdn/chunks/extensions-C2pTX899.js.map +1 -0
  62. package/dist/cdn/chunks/{features-CkTMVylx.js → features-CHE3YjQE.js} +886 -837
  63. package/dist/cdn/chunks/features-CHE3YjQE.js.map +1 -0
  64. package/dist/cdn/chunks/{icons-9zjCuoJx.js → icons-M4uqBV-_.js} +26 -26
  65. package/dist/cdn/chunks/{icons-9zjCuoJx.js.map → icons-M4uqBV-_.js.map} +1 -1
  66. package/dist/cdn/chunks/{liquid.browser-DKKBzRQu.js → liquid.browser-BJOEu6Cg.js} +693 -678
  67. package/dist/cdn/chunks/liquid.browser-BJOEu6Cg.js.map +1 -0
  68. package/dist/cdn/chunks/{media-library-DMRIPx4g.js → media-library-Bqr15VN2.js} +33 -33
  69. package/dist/cdn/chunks/{media-library-DMRIPx4g.js.map → media-library-Bqr15VN2.js.map} +1 -1
  70. package/dist/cdn/chunks/{pusher-CdEqyLwF.js → pusher-CIwiKF8H.js} +4 -4
  71. package/dist/cdn/chunks/{pusher-CdEqyLwF.js.map → pusher-CIwiKF8H.js.map} +1 -1
  72. package/dist/cdn/chunks/{quality-CyeUgs_c.js → quality-DJZ_fqc2.js} +112 -112
  73. package/dist/cdn/chunks/{quality-CyeUgs_c.js.map → quality-DJZ_fqc2.js.map} +1 -1
  74. package/dist/cdn/chunks/{renderer-BIKUEKDD.js → renderer-CyzTR1Vq.js} +20 -20
  75. package/dist/cdn/chunks/renderer-CyzTR1Vq.js.map +1 -0
  76. package/dist/cdn/chunks/{src-pDy_imWG.js → src-q-SBgWx7.js} +5 -5
  77. package/dist/cdn/chunks/{src-pDy_imWG.js.map → src-q-SBgWx7.js.map} +1 -1
  78. package/dist/cdn/chunks/{styles-D4Bd3SCx.js → styles-PWISdaws.js} +1484 -1344
  79. package/dist/cdn/chunks/styles-PWISdaws.js.map +1 -0
  80. package/dist/cdn/chunks/{tiptap-BlLFFU3M.js → tiptap-DF9PEiqH.js} +6859 -6823
  81. package/dist/cdn/chunks/tiptap-DF9PEiqH.js.map +1 -0
  82. package/dist/cdn/editor.css +1 -1
  83. package/dist/cdn/editor.js +35 -35
  84. package/dist/cdn/editor.js.map +1 -1
  85. package/dist/{check-CYJwFmjy.js → check-rl7ok6uJ.js} +1 -1
  86. package/dist/{chevron-down-C5l-DzAA.js → chevron-down-BKe__NOD.js} +1 -1
  87. package/dist/{circle-alert-wf5HUFZY.js → circle-alert-C8xmpMsK.js} +1 -1
  88. package/dist/{clock-Bj0bQw-K.js → clock-BW4JuDCN.js} +1 -1
  89. package/dist/{cloud-CoFDm9YA.js → cloud-BQusL53H.js} +208 -208
  90. package/dist/createLucideIcon-Dx-EjR9r.js +43 -0
  91. package/dist/{dist-CLpPNKy9.js → dist-B5Sov3sS.js} +7 -7
  92. package/dist/dist-BEWiuOMi.js +251 -0
  93. package/dist/{dist-CrQZ_af9.js → dist-BFmE-7hB.js} +2 -2
  94. package/dist/{dist-U5vfDdYI.js → dist-BMoa33wT.js} +2 -2
  95. package/dist/{dist-BctFrpeA.js → dist-BibU4HNl.js} +74 -65
  96. package/dist/{dist-Dd3ibRZm.js → dist-BsCGIDSt.js} +103 -102
  97. package/dist/dist-CNLKj9wa.js +5 -0
  98. package/dist/{dist-BX3gGwL8.js → dist-CNXDNYQn.js} +728 -694
  99. package/dist/{dist-Bn703mnA.js → dist-COG3IdPK.js} +3 -3
  100. package/dist/{dist-B7w6xTU6.js → dist-CQZxDvFw.js} +3 -3
  101. package/dist/{dist-34OcyoK1.js → dist-CRsjOQM-.js} +2 -2
  102. package/dist/dist-CTT6WYJ6.js +134 -0
  103. package/dist/dist-Cqa6aeAJ.js +5 -0
  104. package/dist/{dist-ChMninLH.js → dist-SXJJ2v41.js} +2 -2
  105. package/dist/{dist-CyjyYg52.js → dist-itdjZraK.js} +28 -23
  106. package/dist/extensions-DwaZAqm6.js +423 -0
  107. package/dist/{image-up-x8-WXfsx.js → image-up-BwBCmQ4P.js} +1 -1
  108. package/dist/{info-RS_fGcGi.js → info-TCn7uWR5.js} +1 -1
  109. package/dist/{keys-DgYXDafq.js → keys-Cv8-8GsD.js} +1 -1
  110. package/dist/{liquid.browser-CVjP5Mex.js → liquid.browser-DZLtv26k.js} +692 -677
  111. package/dist/{list-checks-Bf7XdDyv.js → list-checks-CSrOWNgq.js} +1 -1
  112. package/dist/{loader-circle-CLZ0_FvW.js → loader-circle-BLmicnPG.js} +1 -1
  113. package/dist/{message-circle-B-1bN9ab.js → message-circle-C9hHMQCI.js} +1 -1
  114. package/dist/{refresh-cw-CWKWqJYG.js → refresh-cw-D1JQ1LNa.js} +1 -1
  115. package/dist/runtime-dom.esm-bundler-BzuoCyNp.js +523 -0
  116. package/dist/{scan-line-BtK5dEai.js → scan-line-DgijVq9y.js} +1 -1
  117. package/dist/{send-Cn1IUdzh.js → send-DjPdq69F.js} +1 -1
  118. package/dist/{shield-check-CrvMk4Ea.js → shield-check-Bqluu8FS.js} +1 -1
  119. package/dist/{sparkles-CgfjwvnG.js → sparkles-M4azPVSP.js} +1 -1
  120. package/dist/style.css +1 -1
  121. package/dist/styles-B2OrgEnn.js +4164 -0
  122. package/dist/templatical-editor.js +127 -126
  123. package/dist/{text-align-start-C3r_Rnvy.js → text-align-start-CMya5pCQ.js} +11 -11
  124. package/dist/{trash-2-CjERg4x9.js → trash-2-C-81rkLS.js} +1 -1
  125. package/dist/{triangle-alert-Chkny574.js → triangle-alert-BuRWnynk.js} +1 -1
  126. package/dist/{upload-e5kDRkPb.js → upload-CWBIoLd4.js} +1 -1
  127. package/dist/{useAliveFlag-cUQj9rmB.js → useAliveFlag-CECL_OUb.js} +1 -1
  128. package/dist/{useCloudI18n-CYJKqXtI.js → useCloudI18n-AKCy98qD.js} +2 -2
  129. package/dist/{useEditorCore-8JxXDOA4.js → useEditorCore-DJeOXVxQ.js} +1407 -1365
  130. package/dist/{useI18n-BWqM8i78.js → useI18n-C-TDeJBt.js} +2 -2
  131. package/dist/{useMergeTag-NHC4ylza.js → useMergeTag-DSrBY0-2.js} +5 -5
  132. package/dist/usePopoverRoot-DKUDnr55.js +8 -0
  133. package/dist/{vue.runtime.esm-bundler-BPa483TZ.js → vue.runtime.esm-bundler-l0XAqiyv.js} +626 -1147
  134. package/dist/{x-DiPIbccg.js → x-CQSvXnGR.js} +1 -1
  135. package/package.json +26 -26
  136. package/dist/CountdownBlock-DtAokAVw.js +0 -92
  137. package/dist/CountdownToolbar-Dtqgwy0g.js +0 -210
  138. package/dist/cdn/chunks/TitleEditor-DO1-h3RY.js.map +0 -1
  139. package/dist/cdn/chunks/draggable-kPCz_3zM.js.map +0 -1
  140. package/dist/cdn/chunks/extensions-iwBXnEwq.js +0 -605
  141. package/dist/cdn/chunks/extensions-iwBXnEwq.js.map +0 -1
  142. package/dist/cdn/chunks/features-CkTMVylx.js.map +0 -1
  143. package/dist/cdn/chunks/liquid.browser-DKKBzRQu.js.map +0 -1
  144. package/dist/cdn/chunks/renderer-BIKUEKDD.js.map +0 -1
  145. package/dist/cdn/chunks/styles-D4Bd3SCx.js.map +0 -1
  146. package/dist/cdn/chunks/tiptap-BlLFFU3M.js.map +0 -1
  147. package/dist/createLucideIcon-Bad2kKE0.js +0 -43
  148. package/dist/dist-CADDCv0o.js +0 -5
  149. package/dist/dist-CGvz7vkq.js +0 -5
  150. package/dist/dist-DuCzdgDA.js +0 -382
  151. package/dist/extensions-J439b7y7.js +0 -1720
  152. package/dist/styles-BUwDOWd3.js +0 -4022
  153. package/dist/usePopoverRoot-B1sdY4es.js +0 -8
@@ -0,0 +1,210 @@
1
+ import { A as e, Et as t, O as n, Ot as r, R as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
+ import { t as m } from "./useI18n-C-TDeJBt.js";
3
+ import { f as h } from "./styleConstants-lGobwiLH.js";
4
+ import { i as g, n as _, r as v, t as y } from "./NumberWithSuffix-CrA6quxx.js";
5
+ //#region src/components/toolbar/CheckboxItem.vue?vue&type=script&setup=true&lang.ts
6
+ var b = { class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:text-[12px] tpl:text-[var(--tpl-text)]" }, x = ["checked"], S = /* @__PURE__ */ a({
7
+ __name: "CheckboxItem",
8
+ props: {
9
+ modelValue: { type: Boolean },
10
+ label: {}
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(e, { emit: t }) {
14
+ let i = t;
15
+ return (t, a) => (n(), s("label", b, [o("input", {
16
+ type: "checkbox",
17
+ class: "tpl:size-3.5 tpl:cursor-pointer tpl:accent-[var(--tpl-primary)]",
18
+ checked: e.modelValue,
19
+ onChange: a[0] ||= (e) => i("update:modelValue", e.target.checked)
20
+ }, null, 40, x), u(" " + r(e.label), 1)]));
21
+ }
22
+ }), C = ["value"], w = ["value"], T = ["value"], E = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, D = ["value"], O = { value: "" }, k = ["value"], A = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, j = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-3" }, M = { class: "tpl:grid tpl:grid-cols-2 tpl:gap-2" }, N = [
23
+ "value",
24
+ "placeholder",
25
+ "onInput"
26
+ ], P = ["value", "placeholder"], F = ["value"], I = /* @__PURE__ */ a({
27
+ __name: "CountdownToolbar",
28
+ props: {
29
+ block: {},
30
+ fontFamilies: {}
31
+ },
32
+ emits: ["update"],
33
+ setup(a, { emit: u }) {
34
+ let b = u, { t: x } = m(), I = [
35
+ "UTC",
36
+ "America/New_York",
37
+ "America/Chicago",
38
+ "America/Denver",
39
+ "America/Los_Angeles",
40
+ "Europe/London",
41
+ "Europe/Berlin",
42
+ "Europe/Paris",
43
+ "Europe/Moscow",
44
+ "Asia/Dubai",
45
+ "Asia/Kolkata",
46
+ "Asia/Shanghai",
47
+ "Asia/Tokyo",
48
+ "Australia/Sydney",
49
+ "Pacific/Auckland"
50
+ ], L = [
51
+ {
52
+ value: ":",
53
+ label: ":"
54
+ },
55
+ {
56
+ value: "-",
57
+ label: "-"
58
+ },
59
+ {
60
+ value: " ",
61
+ label: "␣"
62
+ }
63
+ ], R = [
64
+ "Days",
65
+ "Hours",
66
+ "Minutes",
67
+ "Seconds"
68
+ ], z = p(() => R.map((e) => ({
69
+ unit: e,
70
+ showKey: `show${e}`,
71
+ labelKey: `label${e}`,
72
+ translationKey: e.toLowerCase()
73
+ })));
74
+ function B(e, t) {
75
+ b("update", { [e]: t });
76
+ }
77
+ return (u, p) => (n(), s(f, null, [
78
+ c(_, { label: d(x).countdown.targetDate }, {
79
+ default: i(() => [o("input", {
80
+ type: "datetime-local",
81
+ class: t(d(h)),
82
+ value: a.block.targetDate,
83
+ onInput: p[0] ||= (e) => B("targetDate", e.target.value)
84
+ }, null, 42, C)]),
85
+ _: 1
86
+ }, 8, ["label"]),
87
+ c(_, { label: d(x).countdown.timezone }, {
88
+ default: i(() => [o("select", {
89
+ class: t(d(h)),
90
+ value: a.block.timezone,
91
+ onChange: p[1] ||= (e) => B("timezone", e.target.value)
92
+ }, [(n(), s(f, null, e(I, (e) => o("option", {
93
+ key: e,
94
+ value: e
95
+ }, r(e), 9, T)), 64))], 42, w)]),
96
+ _: 1
97
+ }, 8, ["label"]),
98
+ c(_, { label: d(x).countdown.display }, {
99
+ default: i(() => [o("div", E, [(n(!0), s(f, null, e(z.value, (e) => (n(), l(S, {
100
+ key: e.unit,
101
+ "model-value": a.block[e.showKey],
102
+ label: d(x).countdown[e.translationKey],
103
+ "onUpdate:modelValue": (t) => B(e.showKey, t)
104
+ }, null, 8, [
105
+ "model-value",
106
+ "label",
107
+ "onUpdate:modelValue"
108
+ ]))), 128))])]),
109
+ _: 1
110
+ }, 8, ["label"]),
111
+ c(_, { label: d(x).countdown.separator }, {
112
+ default: i(() => [c(v, {
113
+ options: L,
114
+ "model-value": a.block.separator,
115
+ "onUpdate:modelValue": p[2] ||= (e) => B("separator", e)
116
+ }, null, 8, ["model-value"])]),
117
+ _: 1
118
+ }, 8, ["label"]),
119
+ c(_, { label: d(x).countdown.fontFamily }, {
120
+ default: i(() => [o("select", {
121
+ class: t(d(h)),
122
+ value: a.block.fontFamily || "",
123
+ onChange: p[3] ||= (e) => B("fontFamily", e.target.value || void 0)
124
+ }, [o("option", O, r(d(x).countdown.inheritFont), 1), (n(!0), s(f, null, e(a.fontFamilies, (e) => (n(), s("option", {
125
+ key: e.value,
126
+ value: e.value
127
+ }, r(e.label), 9, k))), 128))], 42, D)]),
128
+ _: 1
129
+ }, 8, ["label"]),
130
+ o("div", A, [c(_, { label: d(x).countdown.digitFontSize }, {
131
+ default: i(() => [c(y, {
132
+ "model-value": a.block.digitFontSize,
133
+ min: 12,
134
+ max: 72,
135
+ suffix: "px",
136
+ "onUpdate:modelValue": p[4] ||= (e) => B("digitFontSize", e)
137
+ }, null, 8, ["model-value"])]),
138
+ _: 1
139
+ }, 8, ["label"]), c(_, { label: d(x).countdown.labelFontSize }, {
140
+ default: i(() => [c(y, {
141
+ "model-value": a.block.labelFontSize,
142
+ min: 8,
143
+ max: 24,
144
+ suffix: "px",
145
+ "onUpdate:modelValue": p[5] ||= (e) => B("labelFontSize", e)
146
+ }, null, 8, ["model-value"])]),
147
+ _: 1
148
+ }, 8, ["label"])]),
149
+ o("div", j, [c(_, { label: d(x).countdown.digitColor }, {
150
+ default: i(() => [c(g, {
151
+ "model-value": a.block.digitColor,
152
+ "onUpdate:modelValue": p[6] ||= (e) => B("digitColor", e)
153
+ }, null, 8, ["model-value"])]),
154
+ _: 1
155
+ }, 8, ["label"]), c(_, { label: d(x).countdown.labelColor }, {
156
+ default: i(() => [c(g, {
157
+ "model-value": a.block.labelColor,
158
+ "onUpdate:modelValue": p[7] ||= (e) => B("labelColor", e)
159
+ }, null, 8, ["model-value"])]),
160
+ _: 1
161
+ }, 8, ["label"])]),
162
+ c(_, { label: d(x).countdown.background }, {
163
+ default: i(() => [c(g, {
164
+ "model-value": a.block.backgroundColor,
165
+ "onUpdate:modelValue": p[8] ||= (e) => B("backgroundColor", e)
166
+ }, null, 8, ["model-value"])]),
167
+ _: 1
168
+ }, 8, ["label"]),
169
+ c(_, { label: d(x).countdown.labels }, {
170
+ default: i(() => [o("div", M, [(n(!0), s(f, null, e(z.value, (e) => (n(), s("input", {
171
+ key: e.unit,
172
+ type: "text",
173
+ class: t(d(h)),
174
+ value: a.block[e.labelKey],
175
+ placeholder: d(x).countdown[e.translationKey],
176
+ onInput: (t) => B(e.labelKey, t.target.value)
177
+ }, null, 42, N))), 128))])]),
178
+ _: 1
179
+ }, 8, ["label"]),
180
+ c(_, { label: d(x).countdown.expiry }, {
181
+ default: i(() => [o("input", {
182
+ type: "text",
183
+ class: t(d(h)),
184
+ value: a.block.expiredMessage,
185
+ placeholder: d(x).countdown.expiredMessagePlaceholder,
186
+ onInput: p[9] ||= (e) => B("expiredMessage", e.target.value)
187
+ }, null, 42, P)]),
188
+ _: 1
189
+ }, 8, ["label"]),
190
+ c(_, { label: d(x).countdown.expiredImageUrl }, {
191
+ default: i(() => [o("input", {
192
+ type: "url",
193
+ class: t(d(h)),
194
+ value: a.block.expiredImageUrl,
195
+ placeholder: "https://...",
196
+ onInput: p[10] ||= (e) => B("expiredImageUrl", e.target.value)
197
+ }, null, 42, F)]),
198
+ _: 1
199
+ }, 8, ["label"]),
200
+ c(S, {
201
+ "model-value": a.block.hideOnExpiry,
202
+ label: d(x).countdown.hideOnExpiry,
203
+ class: "tpl:mb-3.5",
204
+ "onUpdate:modelValue": p[11] ||= (e) => B("hideOnExpiry", e)
205
+ }, null, 8, ["model-value", "label"])
206
+ ], 64));
207
+ }
208
+ });
209
+ //#endregion
210
+ export { I as default };
@@ -1,15 +1,16 @@
1
- import { A as e, B as t, D as n, L as r, X as i, _ as a, a as ee, at as te, b as o, d as ne, f as s, h as c, m as l, ot as u, p as re, rt as d, st as f, t as ie, v as p, z as ae } from "./vue.runtime.esm-bundler-BPa483TZ.js";
1
+ import { Dt as e, Et as t, I as n, O as r, Ot as i, R as ee, T as a, Y as o, _ as s, c, d as l, h as u, l as te, m as d, nt as f, s as ne, u as p, z as re } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
+ import { a as ie, t as ae } from "./runtime-dom.esm-bundler-BzuoCyNp.js";
2
3
  import "./timeouts-Bmi_yePw.js";
3
- import { L as m, m as oe, r as se } from "./keys-DgYXDafq.js";
4
- import { t as h } from "./createLucideIcon-Bad2kKE0.js";
5
- import { t as ce } from "./circle-alert-wf5HUFZY.js";
6
- import { t as g } from "./image-up-x8-WXfsx.js";
7
- import { t as _ } from "./upload-e5kDRkPb.js";
8
- import { t as v } from "./x-DiPIbccg.js";
9
- import { t as le } from "./LoadingTrack-CV3ID80N.js";
4
+ import { L as m, m as oe, r as se } from "./keys-Cv8-8GsD.js";
5
+ import { t as h } from "./createLucideIcon-Dx-EjR9r.js";
6
+ import { t as ce } from "./circle-alert-C8xmpMsK.js";
7
+ import { t as g } from "./image-up-BwBCmQ4P.js";
8
+ import { t as _ } from "./upload-CWBIoLd4.js";
9
+ import { t as v } from "./x-CQSvXnGR.js";
10
+ import { t as le } from "./LoadingTrack-DsecR8Rw.js";
10
11
  import { t as y } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
- import { n as ue } from "./useCloudI18n-CYJKqXtI.js";
12
- import { u as de } from "./cloud-CoFDm9YA.js";
12
+ import { n as ue } from "./useCloudI18n-AKCy98qD.js";
13
+ import { u as de } from "./cloud-BQusL53H.js";
13
14
  var fe = h("file-image", [
14
15
  ["path", {
15
16
  d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
@@ -71,19 +72,19 @@ var fe = h("file-image", [
71
72
  }, ge = { class: "tpl:text-xs tpl:leading-snug tpl:text-[var(--tpl-text)]" }, _e = { class: "tpl:flex tpl:gap-2" }, ve = {
72
73
  key: 1,
73
74
  class: "tpl:flex tpl:items-start tpl:gap-2 tpl:rounded-lg tpl:px-3 tpl:py-2 tpl:text-xs tpl:bg-[var(--tpl-danger-light)] tpl:text-[var(--tpl-danger)]"
74
- }, ye = ["disabled"], be = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, z = /*#__PURE__*/ y(/* @__PURE__ */ o({
75
+ }, ye = ["disabled"], be = { class: "tpl:m-0 tpl:pt-1 tpl:text-center tpl:text-[11px] tpl:text-[var(--tpl-text-dim)]" }, z = /*#__PURE__*/ y(/* @__PURE__ */ s({
75
76
  __name: "DesignReferenceSidebar",
76
77
  props: {
77
78
  visible: { type: Boolean },
78
79
  hasExistingBlocks: { type: Boolean }
79
80
  },
80
81
  emits: ["close", "apply"],
81
- setup(o, { emit: h }) {
82
- let y = o, z = h, { t: B } = ue(), xe = m(oe, "DesignReferenceSidebar"), V = de({
82
+ setup(s, { emit: h }) {
83
+ let y = s, z = h, { t: B } = ue(), xe = m(oe, "DesignReferenceSidebar"), V = de({
83
84
  authManager: m(se, "DesignReferenceSidebar"),
84
85
  getTemplateId: () => xe.state.template?.id ?? null,
85
86
  onApply: (e) => z("apply", e)
86
- }), H = i(null), U = i("image"), W = i(null), G = i(""), K = i(null), q = i(!1), J = i(!1), Y = ne(() => V.isGenerating.value ? !1 : W.value !== null);
87
+ }), H = o(null), U = o("image"), W = o(null), G = o(""), K = o(null), q = o(!1), J = o(!1), Y = ne(() => !V.isGenerating.value && W.value !== null);
87
88
  function X(e) {
88
89
  U.value = e, Q();
89
90
  }
@@ -139,11 +140,11 @@ var fe = h("file-image", [
139
140
  function Ee() {
140
141
  q.value = !1;
141
142
  }
142
- return r(() => y.visible, (e) => {
143
+ return n(() => y.visible, (e) => {
143
144
  e || (q.value = !1);
144
- }), n(() => {
145
+ }), a(() => {
145
146
  K.value &&= (URL.revokeObjectURL(K.value), null);
146
- }), (n, r) => (e(), re(ie, {
147
+ }), (n, a) => (r(), te(ae, {
147
148
  "enter-active-class": "tpl-design-slide-enter-active",
148
149
  "enter-from-class": "tpl:translate-x-full",
149
150
  "enter-to-class": "tpl:translate-x-0",
@@ -151,74 +152,74 @@ var fe = h("file-image", [
151
152
  "leave-from-class": "tpl:translate-x-0",
152
153
  "leave-to-class": "tpl:translate-x-full"
153
154
  }, {
154
- default: ae(() => [o.visible ? (e(), c("div", pe, [s("div", me, [s("div", he, [p(d(g), {
155
+ default: ee(() => [s.visible ? (r(), l("div", pe, [c("div", me, [c("div", he, [u(f(g), {
155
156
  size: 13,
156
157
  "stroke-width": 2
157
- }), s("span", null, f(d(B).designReference.title), 1)]), s("button", {
158
+ }), c("span", null, i(f(B).designReference.title), 1)]), c("button", {
158
159
  class: "tpl:rounded-md tpl:p-0.5 tpl:transition-colors tpl:duration-150 tpl:text-[var(--tpl-text-muted)]",
159
- onClick: r[0] ||= (e) => z("close")
160
- }, [p(d(v), {
160
+ onClick: a[0] ||= (e) => z("close")
161
+ }, [u(f(v), {
161
162
  size: 14,
162
163
  "stroke-width": 2
163
- })])]), s("div", x, [d(V).isGenerating.value ? (e(), c("div", S, [s("div", C, [p(le), s("p", w, f(d(B).designReference.generating), 1)])])) : (e(), c("div", T, [
164
- s("div", E, [s("button", {
164
+ })])]), c("div", x, [f(V).isGenerating.value ? (r(), l("div", S, [c("div", C, [u(le), c("p", w, i(f(B).designReference.generating), 1)])])) : (r(), l("div", T, [
165
+ c("div", E, [c("button", {
165
166
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
166
- style: u({
167
+ style: e({
167
168
  backgroundColor: U.value === "image" ? "var(--tpl-bg)" : "transparent",
168
169
  color: U.value === "image" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
169
170
  boxShadow: U.value === "image" ? "var(--tpl-shadow)" : "none"
170
171
  }),
171
- onClick: r[1] ||= (e) => X("image")
172
- }, [p(d(fe), {
172
+ onClick: a[1] ||= (e) => X("image")
173
+ }, [u(f(fe), {
173
174
  size: 12,
174
175
  "stroke-width": 2
175
- }), a(" " + f(d(B).designReference.uploadImage), 1)], 4), s("button", {
176
+ }), d(" " + i(f(B).designReference.uploadImage), 1)], 4), c("button", {
176
177
  class: "tpl:flex tpl:flex-1 tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-2 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
177
- style: u({
178
+ style: e({
178
179
  backgroundColor: U.value === "pdf" ? "var(--tpl-bg)" : "transparent",
179
180
  color: U.value === "pdf" ? "var(--tpl-primary)" : "var(--tpl-text-muted)",
180
181
  boxShadow: U.value === "pdf" ? "var(--tpl-shadow)" : "none"
181
182
  }),
182
- onClick: r[2] ||= (e) => X("pdf")
183
- }, [p(d(b), {
183
+ onClick: a[2] ||= (e) => X("pdf")
184
+ }, [u(f(b), {
184
185
  size: 12,
185
186
  "stroke-width": 2
186
- }), a(" " + f(d(B).designReference.uploadPdf), 1)], 4)]),
187
- s("div", null, [W.value ? (e(), c("div", D, [s("div", O, [K.value ? (e(), c("img", {
187
+ }), d(" " + i(f(B).designReference.uploadPdf), 1)], 4)]),
188
+ c("div", null, [W.value ? (r(), l("div", D, [c("div", O, [K.value ? (r(), l("img", {
188
189
  key: 0,
189
190
  src: K.value,
190
191
  alt: W.value.name,
191
192
  class: "tpl:h-auto tpl:max-h-48 tpl:w-full tpl:object-contain"
192
- }, null, 8, k)) : (e(), c("div", A, [p(d(b), {
193
+ }, null, 8, k)) : (r(), l("div", A, [u(f(b), {
193
194
  size: 32,
194
195
  "stroke-width": 1.5,
195
196
  class: "tpl:text-[var(--tpl-text-dim)]"
196
- }), s("span", j, f(W.value.name), 1)])), s("button", {
197
+ }), c("span", j, i(W.value.name), 1)])), c("button", {
197
198
  class: "tpl:absolute tpl:top-2 tpl:right-2 tpl:rounded-full tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:shadow-[var(--tpl-shadow)]",
198
199
  onClick: Q
199
- }, [p(d(v), {
200
+ }, [u(f(v), {
200
201
  size: 12,
201
202
  "stroke-width": 2
202
- })])])])) : (e(), c("div", {
203
+ })])])])) : (r(), l("div", {
203
204
  key: 1,
204
205
  class: "tpl-design-dropzone tpl:flex tpl:cursor-pointer tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius)] tpl:border-2 tpl:border-dashed tpl:px-4 tpl:py-8 tpl:transition-colors tpl:duration-150",
205
- style: u({
206
+ style: e({
206
207
  borderColor: J.value ? "var(--tpl-primary)" : "var(--tpl-border-light)",
207
208
  backgroundColor: J.value ? "var(--tpl-primary-light)" : "var(--tpl-bg)"
208
209
  }),
209
- onClick: r[3] ||= (e) => H.value?.click(),
210
+ onClick: a[3] ||= (e) => H.value?.click(),
210
211
  onDragover: Ce,
211
212
  onDragleave: we,
212
213
  onDrop: Te
213
214
  }, [
214
- p(d(_), {
215
+ u(f(_), {
215
216
  size: 24,
216
217
  "stroke-width": 1.5,
217
218
  class: "tpl:text-[var(--tpl-text-dim)]"
218
219
  }),
219
- s("span", M, f(d(B).designReference.dropHint), 1),
220
- s("span", N, f(U.value === "image" ? d(B).designReference.acceptedImages : d(B).designReference.acceptedPdf), 1)
221
- ], 36)), s("input", {
220
+ c("span", M, i(f(B).designReference.dropHint), 1),
221
+ c("span", N, i(U.value === "image" ? f(B).designReference.acceptedImages : f(B).designReference.acceptedPdf), 1)
222
+ ], 36)), c("input", {
222
223
  ref_key: "fileInput",
223
224
  ref: H,
224
225
  type: "file",
@@ -226,36 +227,36 @@ var fe = h("file-image", [
226
227
  accept: U.value === "image" ? "image/png,image/jpeg,image/webp" : "application/pdf",
227
228
  onChange: Se
228
229
  }, null, 40, P)]),
229
- s("div", F, [s("label", I, f(d(B).designReference.promptLabel), 1), t(s("textarea", {
230
- "onUpdate:modelValue": r[4] ||= (e) => G.value = e,
231
- class: te(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
232
- placeholder: d(B).designReference.promptPlaceholder,
230
+ c("div", F, [c("label", I, i(f(B).designReference.promptLabel), 1), re(c("textarea", {
231
+ "onUpdate:modelValue": a[4] ||= (e) => G.value = e,
232
+ class: t(["tpl:min-h-[72px] tpl:w-full tpl:resize-none tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:px-3 tpl:py-2 tpl:font-sans tpl:text-sm tpl:outline-none tpl:transition-colors tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", ["tpl-design-prompt-input"]]),
233
+ placeholder: f(B).designReference.promptPlaceholder,
233
234
  rows: "3"
234
- }, null, 8, L), [[ee, G.value]])]),
235
- q.value ? (e(), c("div", R, [s("p", ge, f(d(B).designReference.replaceWarning), 1), s("div", _e, [s("button", {
235
+ }, null, 8, L), [[ie, G.value]])]),
236
+ q.value ? (r(), l("div", R, [c("p", ge, i(f(B).designReference.replaceWarning), 1), c("div", _e, [c("button", {
236
237
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:text-[var(--tpl-text-muted)] tpl:border tpl:border-[var(--tpl-border)]",
237
238
  style: { "background-color": "transparent" },
238
239
  onClick: Ee
239
- }, f(d(B).designReference.replaceCancel), 1), s("button", {
240
+ }, i(f(B).designReference.replaceCancel), 1), c("button", {
240
241
  class: "tpl:flex-1 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
241
242
  onClick: $
242
- }, f(d(B).designReference.replaceConfirm), 1)])])) : l("", !0),
243
- d(V).error.value ? (e(), c("div", ve, [p(d(ce), {
243
+ }, i(f(B).designReference.replaceConfirm), 1)])])) : p("", !0),
244
+ f(V).error.value ? (r(), l("div", ve, [u(f(ce), {
244
245
  size: 14,
245
246
  "stroke-width": 2,
246
247
  class: "tpl:mt-0.5 tpl:shrink-0"
247
- }), s("span", null, f(d(B).designReference.error), 1)])) : l("", !0),
248
- q.value ? l("", !0) : (e(), c("button", {
248
+ }), c("span", null, i(f(B).designReference.error), 1)])) : p("", !0),
249
+ q.value ? p("", !0) : (r(), l("button", {
249
250
  key: 2,
250
251
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:px-4 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:opacity-90 tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50 tpl:bg-[var(--tpl-primary)] tpl:text-[var(--tpl-bg)]",
251
252
  disabled: !Y.value,
252
253
  onClick: $
253
- }, [p(d(g), {
254
+ }, [u(f(g), {
254
255
  size: 16,
255
256
  "stroke-width": 2
256
- }), a(" " + f(d(B).designReference.generate), 1)], 8, ye)),
257
- s("p", be, f(d(B).aiMenu.disclaimer), 1)
258
- ]))])])) : l("", !0)]),
257
+ }), d(" " + i(f(B).designReference.generate), 1)], 8, ye)),
258
+ c("p", be, i(f(B).aiMenu.disclaimer), 1)
259
+ ]))])])) : p("", !0)]),
259
260
  _: 1
260
261
  }));
261
262
  }
@@ -1,11 +1,11 @@
1
- import { A as e, F as t, M as n, _ as r, at as i, b as a, d as o, f as s, h as c, l, m as u, p as d, rt as f, st as p, v as m, w as h } from "./vue.runtime.esm-bundler-BPa483TZ.js";
2
- import { N as g, m as _ } from "./keys-DgYXDafq.js";
3
- import { t as v } from "./useI18n-BWqM8i78.js";
4
- import { t as y } from "./createLucideIcon-Bad2kKE0.js";
5
- import { t as b } from "./circle-alert-wf5HUFZY.js";
6
- import { t as x } from "./info-RS_fGcGi.js";
7
- import { t as S } from "./list-checks-Bf7XdDyv.js";
8
- import { t as C } from "./triangle-alert-Chkny574.js";
1
+ import { A as e, Et as t, N as n, O as r, Ot as i, _ as a, c as o, d as s, h as c, l, m as u, nt as d, r as f, s as p, u as m, x as h } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
+ import { N as g, m as _ } from "./keys-Cv8-8GsD.js";
3
+ import { t as v } from "./useI18n-C-TDeJBt.js";
4
+ import { t as y } from "./createLucideIcon-Dx-EjR9r.js";
5
+ import { t as b } from "./circle-alert-C8xmpMsK.js";
6
+ import { t as x } from "./info-TCn7uWR5.js";
7
+ import { t as S } from "./list-checks-CSrOWNgq.js";
8
+ import { t as C } from "./triangle-alert-BuRWnynk.js";
9
9
  var w = y("arrow-right", [["path", {
10
10
  d: "M5 12h14",
11
11
  key: "1ays0h"
@@ -27,81 +27,81 @@ var w = y("arrow-right", [["path", {
27
27
  }, P = { class: "tpl:m-0 tpl:mb-2 tpl:text-xs tpl:text-[var(--tpl-text)]" }, F = { class: "tpl:m-0 tpl:mb-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, I = { class: "tpl:flex tpl:gap-1.5" }, L = ["onClick"], R = ["title", "onClick"], z = /* @__PURE__ */ a({
28
28
  __name: "IssuesPanel",
29
29
  setup(a) {
30
- let { t: y, format: z } = v(), B = h(g, null), V = h(_, null), H = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "error")), U = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "warning")), W = o(() => (B?.issues.value ?? []).filter((e) => e.severity === "info")), G = o(() => H.value.length + U.value.length + W.value.length);
30
+ let { t: y, format: z } = v(), B = h(g, null), V = h(_, null), H = p(() => (B?.issues.value ?? []).filter((e) => e.severity === "error")), U = p(() => (B?.issues.value ?? []).filter((e) => e.severity === "warning")), W = p(() => (B?.issues.value ?? []).filter((e) => e.severity === "info")), G = p(() => H.value.length + U.value.length + W.value.length);
31
31
  function K(e) {
32
32
  V && e.blockId && V.selectBlock(e.blockId);
33
33
  }
34
34
  function q(e) {
35
35
  B?.applyFix(e);
36
36
  }
37
- return (a, o) => (e(), c("div", E, [s("header", D, [
38
- m(f(S), {
37
+ return (a, p) => (r(), s("div", E, [o("header", D, [
38
+ c(d(S), {
39
39
  size: 16,
40
40
  "stroke-width": 1.5
41
41
  }),
42
- s("h3", O, p(f(y).issues.panelTitle), 1),
43
- G.value > 0 ? (e(), c("span", {
42
+ o("h3", O, i(d(y).issues.panelTitle), 1),
43
+ G.value > 0 ? (r(), s("span", {
44
44
  key: 0,
45
45
  class: "tpl:ml-auto tpl:rounded-full tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-0.5 tpl:text-[11px] tpl:text-[var(--tpl-text-muted)]",
46
- title: f(z)(f(y).issues.issueCountTooltip, { count: G.value })
47
- }, p(G.value), 9, k)) : u("", !0)
48
- ]), !f(B) || f(B).unavailable.value ? (e(), c("div", A)) : G.value === 0 ? (e(), c("div", j, p(f(y).issues.emptyState), 1)) : (e(!0), c(l, { key: 2 }, n([
46
+ title: d(z)(d(y).issues.issueCountTooltip, { count: G.value })
47
+ }, i(G.value), 9, k)) : m("", !0)
48
+ ]), !d(B) || d(B).unavailable.value ? (r(), s("div", A)) : G.value === 0 ? (r(), s("div", j, i(d(y).issues.emptyState), 1)) : (r(!0), s(f, { key: 2 }, e([
49
49
  {
50
50
  key: "errors",
51
- title: f(y).issues.groupErrors,
52
- icon: f(b),
51
+ title: d(y).issues.groupErrors,
52
+ icon: d(b),
53
53
  items: H.value,
54
54
  tone: "tpl:text-[var(--tpl-danger)]"
55
55
  },
56
56
  {
57
57
  key: "warnings",
58
- title: f(y).issues.groupWarnings,
59
- icon: f(C),
58
+ title: d(y).issues.groupWarnings,
59
+ icon: d(C),
60
60
  items: U.value,
61
61
  tone: "tpl:text-[var(--tpl-warning)]"
62
62
  },
63
63
  {
64
64
  key: "info",
65
- title: f(y).issues.groupInfo,
66
- icon: f(x),
65
+ title: d(y).issues.groupInfo,
66
+ icon: d(x),
67
67
  items: W.value,
68
68
  tone: "tpl:text-[var(--tpl-text-muted)]"
69
69
  }
70
- ], (a) => (e(), c("section", { key: a.key }, [a.items.length > 0 ? (e(), c("header", {
70
+ ], (a) => (r(), s("section", { key: a.key }, [a.items.length > 0 ? (r(), s("header", {
71
71
  key: 0,
72
- class: i(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-[11px] tpl:font-semibold tpl:uppercase tpl:tracking-wide", a.tone])
72
+ class: t(["tpl:mb-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-[11px] tpl:font-semibold tpl:uppercase tpl:tracking-wide", a.tone])
73
73
  }, [
74
- (e(), d(t(a.icon), {
74
+ (r(), l(n(a.icon), {
75
75
  size: 12,
76
76
  "stroke-width": 2
77
77
  })),
78
- r(" " + p(a.title) + " ", 1),
79
- s("span", M, p(a.items.length), 1)
80
- ], 2)) : u("", !0), a.items.length > 0 ? (e(), c("ul", N, [(e(!0), c(l, null, n(a.items, (t) => (e(), c("li", {
81
- key: `${t.ruleId}-${t.blockId ?? "template"}`,
78
+ u(" " + i(a.title) + " ", 1),
79
+ o("span", M, i(a.items.length), 1)
80
+ ], 2)) : m("", !0), a.items.length > 0 ? (r(), s("ul", N, [(r(!0), s(f, null, e(a.items, (e) => (r(), s("li", {
81
+ key: `${e.ruleId}-${e.blockId ?? "template"}`,
82
82
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:p-3"
83
83
  }, [
84
- s("p", P, p(t.message), 1),
85
- s("p", F, p(t.ruleId), 1),
86
- s("div", I, [t.blockId ? (e(), c("button", {
84
+ o("p", P, i(e.message), 1),
85
+ o("p", F, i(e.ruleId), 1),
86
+ o("div", I, [e.blockId ? (r(), s("button", {
87
87
  key: 0,
88
88
  type: "button",
89
89
  class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:px-2 tpl:py-1 tpl:text-[11px] tpl:font-medium tpl:text-[var(--tpl-text)]",
90
- onClick: (e) => K(t)
91
- }, [m(f(w), {
90
+ onClick: (t) => K(e)
91
+ }, [c(d(w), {
92
92
  size: 10,
93
93
  "stroke-width": 2
94
- }), r(" " + p(f(y).issues.jump), 1)], 8, L)) : u("", !0), t.fix ? (e(), c("button", {
94
+ }), u(" " + i(d(y).issues.jump), 1)], 8, L)) : m("", !0), e.fix ? (r(), s("button", {
95
95
  key: 1,
96
96
  type: "button",
97
97
  class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded-md tpl:bg-[var(--tpl-primary)] tpl:px-2 tpl:py-1 tpl:text-[11px] tpl:font-medium tpl:text-white",
98
- title: t.fix.description,
99
- onClick: (e) => q(t)
100
- }, [m(f(T), {
98
+ title: e.fix.description,
99
+ onClick: (t) => q(e)
100
+ }, [c(d(T), {
101
101
  size: 10,
102
102
  "stroke-width": 2
103
- }), r(" " + p(f(y).issues.fix), 1)], 8, R)) : u("", !0)])
104
- ]))), 128))])) : u("", !0)]))), 128))]));
103
+ }), u(" " + i(d(y).issues.fix), 1)], 8, R)) : m("", !0)])
104
+ ]))), 128))])) : m("", !0)]))), 128))]));
105
105
  }
106
106
  });
107
107
  //#endregion
@@ -1,4 +1,4 @@
1
- import { A as e, h as t } from "./vue.runtime.esm-bundler-BPa483TZ.js";
1
+ import { O as e, d as t } from "./vue.runtime.esm-bundler-l0XAqiyv.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  //#region src/components/LoadingTrack.vue
4
4
  var r = {}, i = { class: "tpl-loading-track" };