@aswin.dev/editor 0.7.0 → 0.7.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 (169) hide show
  1. package/README.md +3 -3
  2. package/dist/{AccessibilityPanel-CvQGLdu6.js → AccessibilityPanel-COL6Wm7p.js} +37 -37
  3. package/dist/{AiChatSidebar-B3SJIKG_.js → AiChatSidebar-DWGPVtvC.js} +68 -68
  4. package/dist/{AiFeatureMenu-BLLKoOos.js → AiFeatureMenu-duUFSfDf.js} +22 -22
  5. package/dist/{BlockA11yBadge-CXDLqkcJ.js → BlockA11yBadge-Qs6HtXid.js} +12 -12
  6. package/dist/CloudEditor-CFldoCOb.js +1207 -0
  7. package/dist/{CollaboratorBar-DuPYW5iF.js → CollaboratorBar-Bw-lbt61.js} +21 -21
  8. package/dist/CommentsSidebar-BaD5F53-.js +436 -0
  9. package/dist/CountdownBlock-DaYGxKqo.js +92 -0
  10. package/dist/CountdownToolbar-Dg4F8MTk.js +210 -0
  11. package/dist/{DesignReferenceSidebar-B8V_F2yF.js → DesignReferenceSidebar-BSH7uNP_.js} +58 -58
  12. package/dist/{LoadingTrack-B0CWFHXQ.js → LoadingTrack-Ba2pfF57.js} +2 -2
  13. package/dist/{ModuleBrowserModal-DrUFMTDx.js → ModuleBrowserModal-6phxZSKI.js} +80 -80
  14. package/dist/ModulePreviewCanvas-BW8L3eQX.js +108 -0
  15. package/dist/{NumberWithSuffix-DkXUez9t.js → NumberWithSuffix-BpUzQOJt.js} +87 -87
  16. package/dist/{ParagraphEditor-D75wl3BX.js → ParagraphEditor-DNSzAB-I.js} +182 -182
  17. package/dist/{RichTextEditorContent-DYkIauIk.js → RichTextEditorContent-CrqPQdnk.js} +38 -38
  18. package/dist/{SaveModuleDialog-FZ9lxY7_.js → SaveModuleDialog-zMQTpez7.js} +28 -28
  19. package/dist/{SnapshotHistory-BR3eV120.js → SnapshotHistory-Do-A5rYU.js} +45 -50
  20. package/dist/{TemplateScoringPanel-4GTNHej5.js → TemplateScoringPanel-CS7o62zS.js} +75 -75
  21. package/dist/{TestEmailModal--ue5w9fT.js → TestEmailModal-DGj_9V1u.js} +28 -28
  22. package/dist/{TitleEditor-fStSADI-.js → TitleEditor-C7IDnAoS.js} +68 -68
  23. package/dist/{TplModal-BwSfxIHf.js → TplModal-BAsVzcTb.js} +14 -14
  24. package/dist/{accessibility-e8JYu_zd.js → accessibility-BU09xZrQ.js} +1 -1
  25. package/dist/{blockTypeIcons-BcTrDjmH.js → blockTypeIcons-C6LDKvmd.js} +19 -5
  26. package/dist/bundle-stats.json +7 -7
  27. package/dist/{check-Da05j8yl.js → check-DJrpDKO_.js} +1 -1
  28. package/dist/{chevron-down-R2uY34iD.js → chevron-down-C5oBUhT8.js} +1 -1
  29. package/dist/chevron-right-BqCptpdp.js +10 -0
  30. package/dist/{circle-alert-DZuGWPX-.js → circle-alert-ZQQc98HC.js} +1 -1
  31. package/dist/{clock-CRp2sIub.js → clock-ik2pRJKG.js} +1 -1
  32. package/dist/{cloud-DEk_b4CR.js → cloud-6ZmAvF0j.js} +485 -427
  33. package/dist/{createLucideIcon-C3pa2siy.js → createLucideIcon-ClREiSx3.js} +6 -6
  34. package/dist/{de-Brqvgr43.js → de-DWcgp-7T.js} +209 -1
  35. package/dist/{dist-BaQIYPsn.js → dist-BUzw1buG.js} +1 -1
  36. package/dist/{dist-DjviJBCi.js → dist-BZyY-SS4.js} +1 -1
  37. package/dist/{dist-D6uC2xhi.js → dist-BadNx4qo.js} +1 -1
  38. package/dist/{dist-aRzjfSRN.js → dist-BesOh2mk.js} +1 -1
  39. package/dist/{dist-D90y8dvT.js → dist-Bz3M4RXG.js} +3 -3
  40. package/dist/dist-C04s_fLA.js +563 -0
  41. package/dist/{dist-DDJIWTRY.js → dist-C3T2AKtB.js} +1 -1
  42. package/dist/{dist-BFawx6IS.js → dist-C9ckKEZL.js} +51 -51
  43. package/dist/{dist-us-RpCWN.js → dist-CBItRG-Z.js} +1 -1
  44. package/dist/{dist-wzMIGj-D.js → dist-COSzWQUs.js} +1 -1
  45. package/dist/dist-CivF9P8b.js +382 -0
  46. package/dist/{dist-Cp0zXPAD.js → dist-DtiDUrX-.js} +1 -1
  47. package/dist/{dist-KoBJjK1G.js → dist-Dzt5foyL.js} +1 -1
  48. package/dist/{en-WDVp87TE.js → en-Cxd4fhNm.js} +209 -1
  49. package/dist/{extensions-CUcl9Ok4.js → extensions-D__hOlV1.js} +106 -106
  50. package/dist/{image-up-MBZKKg9p.js → image-up-DT7gcJLN.js} +1 -1
  51. package/dist/index.d.ts +88 -11
  52. package/dist/{info-CJEC7piy.js → info-BSPGcsSM.js} +1 -1
  53. package/dist/keys-CvX8D-8C.js +10 -0
  54. package/dist/{loader-circle-DsY5Yg33.js → loader-circle-Balo8p3d.js} +1 -1
  55. package/dist/{message-circle-yElBbR2C.js → message-circle-B39qAHxs.js} +1 -1
  56. package/dist/pencil-BZJPNYWR.js +10 -0
  57. package/dist/{refresh-cw-CE_AGtn8.js → refresh-cw-DwDqGUM0.js} +1 -1
  58. package/dist/{scan-line-D0vcUekt.js → scan-line-CzfFJO1o.js} +1 -1
  59. package/dist/{send-DH4oDQqC.js → send-D2eSo4GH.js} +1 -1
  60. package/dist/{shield-check-CfJgs2Hd.js → shield-check-jkpgcC0-.js} +1 -1
  61. package/dist/{sparkles-CvRXGqFs.js → sparkles-Chm5CZfb.js} +1 -1
  62. package/dist/style.css +1 -1
  63. package/dist/styleConstants-34eUKPOZ.js +55 -0
  64. package/dist/styles-B4tjX5SP.js +5224 -0
  65. package/dist/templatical-editor.js +189 -126
  66. package/dist/{text-align-start-BT9VUDxK.js → text-align-start-CzBnJsW8.js} +1 -1
  67. package/dist/{trash-2-DbP2Y6t2.js → trash-2-CtK2apEH.js} +1 -1
  68. package/dist/{triangle-alert-aOXceTSe.js → triangle-alert-KpDVNbpn.js} +1 -1
  69. package/dist/{useCloudI18n-BuIwR6OE.js → useCloudI18n-DOKSZql1.js} +2 -2
  70. package/dist/{useEditorCore-C6ost42Q.js → useEditorCore-wslttMH-.js} +2425 -2250
  71. package/dist/{useI18n-lb2DHDiu.js → useI18n-C2xQZ6K9.js} +2 -2
  72. package/dist/{useMergeTag-CBwKnnNB.js → useMergeTag-DX0XG5V9.js} +5 -5
  73. package/dist/{vue.runtime.esm-bundler-DpvJL-nX.js → vue.runtime.esm-bundler-CjauPXjj.js} +1 -1
  74. package/dist/{x-u2oVmjN_.js → x-BkaOMosX.js} +1 -1
  75. package/package.json +10 -10
  76. package/dist/CloudEditor-BCz1ZTYC.js +0 -1172
  77. package/dist/CommentsSidebar-B1pvJdqF.js +0 -441
  78. package/dist/CountdownBlock-BNSj1jvJ.js +0 -92
  79. package/dist/CountdownToolbar-ClJr2GzL.js +0 -210
  80. package/dist/ModulePreviewCanvas-CHdOwV_4.js +0 -106
  81. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js +0 -97
  82. package/dist/cdn/chunks/AccessibilityPanel-B6DOjojm.js.map +0 -1
  83. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js +0 -59
  84. package/dist/cdn/chunks/AiFeatureMenu-qEdB2fZJ.js.map +0 -1
  85. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js +0 -33
  86. package/dist/cdn/chunks/BlockA11yBadge-DcEZftf6.js.map +0 -1
  87. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js +0 -1143
  88. package/dist/cdn/chunks/CloudEditor-D2GsEC_n.js.map +0 -1
  89. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js +0 -51
  90. package/dist/cdn/chunks/CollaboratorBar--nO7TX6b.js.map +0 -1
  91. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js +0 -93
  92. package/dist/cdn/chunks/CountdownBlock-5YdT1uUu.js.map +0 -1
  93. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js +0 -212
  94. package/dist/cdn/chunks/CountdownToolbar-DXPXrbAA.js.map +0 -1
  95. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js +0 -195
  96. package/dist/cdn/chunks/ModuleBrowserModal-DxoPp81s.js.map +0 -1
  97. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js +0 -107
  98. package/dist/cdn/chunks/ModulePreviewCanvas-CoLdb4ar.js.map +0 -1
  99. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js +0 -423
  100. package/dist/cdn/chunks/NumberWithSuffix-CE3NrZhH.js.map +0 -1
  101. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js +0 -544
  102. package/dist/cdn/chunks/ParagraphEditor-B6Ygu-Mq.js.map +0 -1
  103. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js +0 -106
  104. package/dist/cdn/chunks/RichTextEditorContent-DL_y2SrR.js.map +0 -1
  105. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js +0 -119
  106. package/dist/cdn/chunks/SaveModuleDialog-B0TnO_o9.js.map +0 -1
  107. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js +0 -171
  108. package/dist/cdn/chunks/TitleEditor-BHpfxvwy.js.map +0 -1
  109. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js +0 -22
  110. package/dist/cdn/chunks/blockTypeIcons-BzzY9_kA.js.map +0 -1
  111. package/dist/cdn/chunks/de-Ce-LbJ2J.js +0 -89
  112. package/dist/cdn/chunks/de-Ce-LbJ2J.js.map +0 -1
  113. package/dist/cdn/chunks/de-D8CnZxV9.js +0 -523
  114. package/dist/cdn/chunks/de-D8CnZxV9.js.map +0 -1
  115. package/dist/cdn/chunks/de-RQrZR56a.js +0 -209
  116. package/dist/cdn/chunks/de-RQrZR56a.js.map +0 -1
  117. package/dist/cdn/chunks/draggable-Bcb86AsV.js +0 -11572
  118. package/dist/cdn/chunks/draggable-Bcb86AsV.js.map +0 -1
  119. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js +0 -19
  120. package/dist/cdn/chunks/emojiData-EMFlj6FJ.js.map +0 -1
  121. package/dist/cdn/chunks/en-8FHaQv4V.js +0 -523
  122. package/dist/cdn/chunks/en-8FHaQv4V.js.map +0 -1
  123. package/dist/cdn/chunks/en-Bl1ecfRF.js +0 -209
  124. package/dist/cdn/chunks/en-Bl1ecfRF.js.map +0 -1
  125. package/dist/cdn/chunks/en-DiCWK5fG.js +0 -89
  126. package/dist/cdn/chunks/en-DiCWK5fG.js.map +0 -1
  127. package/dist/cdn/chunks/extensions-DIxF31tA.js +0 -598
  128. package/dist/cdn/chunks/extensions-DIxF31tA.js.map +0 -1
  129. package/dist/cdn/chunks/features-DEMb13KS.js +0 -6814
  130. package/dist/cdn/chunks/features-DEMb13KS.js.map +0 -1
  131. package/dist/cdn/chunks/icons-CsLTcirh.js +0 -700
  132. package/dist/cdn/chunks/icons-CsLTcirh.js.map +0 -1
  133. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js +0 -3279
  134. package/dist/cdn/chunks/liquid.browser-lQbkge2E.js.map +0 -1
  135. package/dist/cdn/chunks/media-library-CVaNvhpM.js +0 -6014
  136. package/dist/cdn/chunks/media-library-CVaNvhpM.js.map +0 -1
  137. package/dist/cdn/chunks/pusher-CDbNlZBE.js +0 -2508
  138. package/dist/cdn/chunks/pusher-CDbNlZBE.js.map +0 -1
  139. package/dist/cdn/chunks/quality-BaBfc54_.js +0 -1456
  140. package/dist/cdn/chunks/quality-BaBfc54_.js.map +0 -1
  141. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js +0 -32
  142. package/dist/cdn/chunks/readableTextColor-DhoK4XiZ.js.map +0 -1
  143. package/dist/cdn/chunks/renderer-CUxvx7ro.js +0 -548
  144. package/dist/cdn/chunks/renderer-CUxvx7ro.js.map +0 -1
  145. package/dist/cdn/chunks/rolldown-runtime-BNuo_Jkg.js +0 -20
  146. package/dist/cdn/chunks/src-CRaqN-p8.js +0 -497
  147. package/dist/cdn/chunks/src-CRaqN-p8.js.map +0 -1
  148. package/dist/cdn/chunks/styleConstants-DP1VOca8.js +0 -57
  149. package/dist/cdn/chunks/styleConstants-DP1VOca8.js.map +0 -1
  150. package/dist/cdn/chunks/styles-BHJULjNR.js +0 -2947
  151. package/dist/cdn/chunks/styles-BHJULjNR.js.map +0 -1
  152. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js +0 -14654
  153. package/dist/cdn/chunks/tiptap-ZhwKyFp7.js.map +0 -1
  154. package/dist/cdn/editor.css +0 -2
  155. package/dist/cdn/editor.js +0 -250
  156. package/dist/cdn/editor.js.map +0 -1
  157. package/dist/dist-B1IR0bpH.js +0 -326
  158. package/dist/dist-DJmnUmW9.js +0 -362
  159. package/dist/keys-ciNfSSGj.js +0 -10
  160. package/dist/styleConstants-fWzlIIwN.js +0 -55
  161. package/dist/styles-DEXEkBvg.js +0 -3176
  162. /package/dist/{_plugin-vue_export-helper-B0hnzhyu.js → _plugin-vue_export-helper-BVAJ4lgT.js} +0 -0
  163. /package/dist/{de-DCaaCE5s.js → de-GOtR9DwW.js} +0 -0
  164. /package/dist/{dist-iLBdeBDR.js → dist-DXa1uAMh.js} +0 -0
  165. /package/dist/{emojiData-PQyVa4bU.js → emojiData-DrBuvEoP.js} +0 -0
  166. /package/dist/{en-DXCyK4-X.js → en-dFFQVzNn.js} +0 -0
  167. /package/dist/{formatRelativeTime-BOEf47hq.js → formatRelativeTime-BhhO8yCl.js} +0 -0
  168. /package/dist/{liquid.browser-CdMv1BTn.js → liquid.browser-BvCyLQII.js} +0 -0
  169. /package/dist/{readableTextColor-CY3SiRnt.js → readableTextColor-DVuzNX1y.js} +0 -0
@@ -1,8 +1,8 @@
1
- import { D as e, E as t, H as n, L as r, M as i, Mt as a, Ot as o, R as s, S as c, _ as l, b as u, f as d, g as f, h as p, it as m, m as h, s as g, u as _, y as v } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import { D as y, T as b } from "./keys-ciNfSSGj.js";
3
- import { t as x } from "./useI18n-lb2DHDiu.js";
4
- import { t as S } from "./createLucideIcon-C3pa2siy.js";
5
- import { t as C } from "./x-u2oVmjN_.js";
1
+ import { B as e, C as t, D as n, Ft as r, N as i, O as a, R as o, W as s, _ as c, b as l, c as u, d, g as f, h as p, jt as m, p as h, st as g, v as _, x as v } from "./vue.runtime.esm-bundler-CjauPXjj.js";
2
+ import { D as y, k as b } from "./keys-CvX8D-8C.js";
3
+ import { t as x } from "./useI18n-C2xQZ6K9.js";
4
+ import { t as S } from "./createLucideIcon-ClREiSx3.js";
5
+ import { t as C } from "./x-BkaOMosX.js";
6
6
  var w = S("bold", [["path", {
7
7
  d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",
8
8
  key: "mg9rjx"
@@ -40,9 +40,9 @@ var w = S("bold", [["path", {
40
40
  }, A = ["aria-label"], j = { class: "tpl:p-5" }, M = { class: "tpl:mb-4 tpl:last:mb-0" }, N = {
41
41
  for: "tpl-link-dialog-url",
42
42
  class: "tpl:mb-1.5 tpl:block tpl:text-xs tpl:font-medium tpl:tracking-wide tpl:text-[var(--tpl-text-muted)] tpl:uppercase"
43
- }, P = ["placeholder"], F = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, I = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, L = /* @__PURE__ */ c({
43
+ }, P = ["placeholder"], F = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-t tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-elevated)] tpl:px-5 tpl:py-4" }, I = { class: "tpl:ml-auto tpl:flex tpl:gap-2" }, L = /* @__PURE__ */ t({
44
44
  __name: "RichTextLinkDialog",
45
- props: /* @__PURE__ */ e({
45
+ props: /* @__PURE__ */ a({
46
46
  visible: { type: Boolean },
47
47
  isEditingLink: { type: Boolean }
48
48
  }, {
@@ -51,60 +51,60 @@ var w = S("bold", [["path", {
51
51
  dialogRef: { required: !0 },
52
52
  dialogRefModifiers: {}
53
53
  }),
54
- emits: /* @__PURE__ */ e([
54
+ emits: /* @__PURE__ */ a([
55
55
  "close",
56
56
  "insert",
57
57
  "remove",
58
58
  "keydown"
59
59
  ], ["update:linkUrl", "update:dialogRef"]),
60
- setup(e, { emit: r }) {
61
- let c = s(e, "linkUrl"), v = s(e, "dialogRef"), S = r, w = t(b, null), T = t(y, null), { t: E } = x();
62
- return (t, r) => (i(), p(d, { to: "body" }, [e.visible ? (i(), l("div", {
60
+ setup(t, { emit: a }) {
61
+ let o = e(t, "linkUrl"), l = e(t, "dialogRef"), S = a, w = n(y, null), T = n(b, null), { t: E } = x();
62
+ return (e, n) => (i(), f(h, { to: "body" }, [t.visible ? (i(), _("div", {
63
63
  key: 0,
64
- "data-tpl-theme": m(T),
64
+ "data-tpl-theme": g(T),
65
65
  class: "tpl tpl-link-dialog tpl:fixed tpl:inset-0 tpl:z-modal tpl:flex tpl:items-center tpl:justify-center",
66
- style: o(m(w)),
67
- onClick: r[6] ||= _((e) => S("close"), ["self"])
68
- }, [h("div", {
69
- ref: (e) => v.value = e,
66
+ style: m(g(w)),
67
+ onClick: n[6] ||= d((e) => S("close"), ["self"])
68
+ }, [p("div", {
69
+ ref: (e) => l.value = e,
70
70
  role: "dialog",
71
71
  "aria-modal": "true",
72
72
  "aria-labelledby": "tpl-link-dialog-title",
73
73
  class: "tpl:w-[400px] tpl:overflow-hidden tpl:rounded-lg tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:shadow-lg"
74
74
  }, [
75
- h("div", O, [h("h4", k, a(e.isEditingLink ? m(E).linkDialog.editLink : m(E).linkDialog.insertLink), 1), h("button", {
75
+ p("div", O, [p("h4", k, r(t.isEditingLink ? g(E).linkDialog.editLink : g(E).linkDialog.insertLink), 1), p("button", {
76
76
  type: "button",
77
- "aria-label": m(E).linkDialog.cancel,
77
+ "aria-label": g(E).linkDialog.cancel,
78
78
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
79
- onClick: r[0] ||= (e) => S("close")
80
- }, [u(m(C), {
79
+ onClick: n[0] ||= (e) => S("close")
80
+ }, [v(g(C), {
81
81
  size: 16,
82
82
  "stroke-width": 2
83
83
  })], 8, A)]),
84
- h("div", j, [h("div", M, [h("label", N, a(m(E).linkDialog.urlLabel), 1), n(h("input", {
84
+ p("div", j, [p("div", M, [p("label", N, r(g(E).linkDialog.urlLabel), 1), s(p("input", {
85
85
  id: "tpl-link-dialog-url",
86
- "onUpdate:modelValue": r[1] ||= (e) => c.value = e,
86
+ "onUpdate:modelValue": n[1] ||= (e) => o.value = e,
87
87
  type: "url",
88
88
  class: "tpl:w-full tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:transition-all tpl:duration-150 tpl:outline-none tpl:placeholder:text-[var(--tpl-text-dim)] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]",
89
- placeholder: m(E).linkDialog.urlPlaceholder,
89
+ placeholder: g(E).linkDialog.urlPlaceholder,
90
90
  autofocus: "",
91
- onKeydown: r[2] ||= (e) => S("keydown", e)
92
- }, null, 40, P), [[g, c.value]])])]),
93
- h("div", F, [e.isEditingLink ? (i(), l("button", {
91
+ onKeydown: n[2] ||= (e) => S("keydown", e)
92
+ }, null, 40, P), [[u, o.value]])])]),
93
+ p("div", F, [t.isEditingLink ? (i(), _("button", {
94
94
  key: 0,
95
95
  type: "button",
96
96
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-danger)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-danger)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-danger-light)]",
97
- onClick: r[3] ||= (e) => S("remove")
98
- }, a(m(E).linkDialog.removeLink), 1)) : f("", !0), h("div", I, [h("button", {
97
+ onClick: n[3] ||= (e) => S("remove")
98
+ }, r(g(E).linkDialog.removeLink), 1)) : c("", !0), p("div", I, [p("button", {
99
99
  type: "button",
100
100
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-transparent tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)]",
101
- onClick: r[4] ||= (e) => S("close")
102
- }, a(m(E).linkDialog.cancel), 1), h("button", {
101
+ onClick: n[4] ||= (e) => S("close")
102
+ }, r(g(E).linkDialog.cancel), 1), p("button", {
103
103
  type: "button",
104
104
  class: "tpl:inline-flex tpl:cursor-pointer tpl:items-center tpl:rounded-md tpl:border-none tpl:bg-[var(--tpl-primary)] tpl:px-4 tpl:py-2 tpl:text-[13px] tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-primary-hover)] tpl:text-[var(--tpl-bg)]",
105
- onClick: r[5] ||= (e) => S("insert")
106
- }, a(e.isEditingLink ? m(E).linkDialog.updateLink : m(E).linkDialog.insertLink), 1)])])
107
- ], 512)], 12, D)) : f("", !0)]));
105
+ onClick: n[5] ||= (e) => S("insert")
106
+ }, r(t.isEditingLink ? g(E).linkDialog.updateLink : g(E).linkDialog.insertLink), 1)])])
107
+ ], 512)], 12, D)) : c("", !0)]));
108
108
  }
109
109
  }), R = {
110
110
  key: 0,
@@ -112,7 +112,7 @@ var w = S("bold", [["path", {
112
112
  }, z = { class: "tpl:animate-pulse tpl:text-[var(--tpl-text-dim)]" }, B = {
113
113
  key: 1,
114
114
  class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:p-2 tpl:text-center tpl:text-xs tpl:border-[var(--tpl-danger)] tpl:text-[var(--tpl-text-muted)]"
115
- }, V = /* @__PURE__ */ c({
115
+ }, V = /* @__PURE__ */ t({
116
116
  __name: "RichTextEditorContent",
117
117
  props: {
118
118
  editor: {},
@@ -122,15 +122,15 @@ var w = S("bold", [["path", {
122
122
  },
123
123
  emits: ["retry"],
124
124
  setup(e, { emit: t }) {
125
- let n = t, { t: o } = x();
126
- return (t, s) => e.isLoading ? (i(), l("div", R, [h("div", z, a(m(o).errors.editorLoading), 1)])) : e.initError ? (i(), l("div", B, [v(a(m(o).errors.editorLoadFailed) + " ", 1), h("button", {
125
+ let n = t, { t: a } = x();
126
+ return (t, s) => e.isLoading ? (i(), _("div", R, [p("div", z, r(g(a).errors.editorLoading), 1)])) : e.initError ? (i(), _("div", B, [l(r(g(a).errors.editorLoadFailed) + " ", 1), p("button", {
127
127
  class: "tpl:ml-1 tpl:cursor-pointer tpl:border-none tpl:bg-transparent tpl:p-0 tpl:underline tpl:text-[var(--tpl-primary)]",
128
128
  onClick: s[0] ||= (e) => n("retry")
129
- }, a(m(o).errors.retry), 1)])) : e.editorContent && e.editor ? (i(), p(r(e.editorContent), {
129
+ }, r(g(a).errors.retry), 1)])) : e.editorContent && e.editor ? (i(), f(o(e.editorContent), {
130
130
  key: 2,
131
131
  editor: e.editor,
132
132
  class: "tpl-text-editable tpl:min-h-[1.5em] tpl:rounded tpl:border tpl:border-dashed tpl:border-[var(--tpl-primary)] tpl:p-2"
133
- }, null, 8, ["editor"])) : f("", !0);
133
+ }, null, 8, ["editor"])) : c("", !0);
134
134
  }
135
135
  });
136
136
  //#endregion
@@ -1,10 +1,10 @@
1
- import { Dt as e, H as t, M as n, Mt as r, Ot as i, P as a, Q as o, S as s, V as c, _ as l, b as u, d, g as f, h as p, it as m, m as h, p as g, s as _, y as v, z as y } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-C6ost42Q.js";
3
- import { C as b, O as x, m as S } from "./keys-ciNfSSGj.js";
4
- import { t as ee } from "./useI18n-lb2DHDiu.js";
5
- import { t as te } from "./loader-circle-DsY5Yg33.js";
6
- import { n as ne } from "./useCloudI18n-BuIwR6OE.js";
7
- import { t as C } from "./TplModal-BwSfxIHf.js";
1
+ import { At as e, C as t, F as n, Ft as r, N as i, U as a, V as o, W as s, _ as c, b as l, c as u, et as d, f, g as p, h as m, jt as h, m as g, st as _, v, x as y } from "./vue.runtime.esm-bundler-CjauPXjj.js";
2
+ import "./useEditorCore-wslttMH-.js";
3
+ import { A as b, T as x, m as ee } from "./keys-CvX8D-8C.js";
4
+ import { t as te } from "./useI18n-C2xQZ6K9.js";
5
+ import { t as ne } from "./loader-circle-Balo8p3d.js";
6
+ import { n as S } from "./useCloudI18n-DOKSZql1.js";
7
+ import { t as C } from "./TplModal-BAsVzcTb.js";
8
8
  //#region src/cloud/components/SaveModuleDialog.vue?vue&type=script&setup=true&lang.ts
9
9
  var w = ["aria-busy"], T = {
10
10
  id: "tpl-save-module-title",
@@ -20,20 +20,20 @@ var w = ["aria-busy"], T = {
20
20
  }, P = { class: "tpl:flex tpl:justify-end tpl:gap-2" }, F = ["disabled"], I = ["disabled"], L = {
21
21
  key: 0,
22
22
  class: "tpl:flex tpl:items-center tpl:gap-1.5"
23
- }, re = { key: 1 }, R = /* @__PURE__ */ s({
23
+ }, re = { key: 1 }, R = /* @__PURE__ */ t({
24
24
  __name: "SaveModuleDialog",
25
25
  props: {
26
26
  visible: { type: Boolean },
27
27
  preSelectedBlockId: {}
28
28
  },
29
29
  emits: ["close", "saved"],
30
- setup(s, { emit: R }) {
31
- let z = s, B = R, { t: V } = ee(), { t: H } = ne(), U = x(S, "SaveModuleDialog"), W = x(b, "SaveModuleDialog"), G = o(""), K = o(/* @__PURE__ */ new Set()), q = o(!1), J = o(null), Y = g(() => U.content.value.blocks);
30
+ setup(t, { emit: R }) {
31
+ let z = t, B = R, { t: V } = te(), { t: H } = S(), U = b(ee, "SaveModuleDialog"), W = b(x, "SaveModuleDialog"), G = d(""), K = d(/* @__PURE__ */ new Set()), q = d(!1), J = d(null), Y = g(() => U.content.value.blocks);
32
32
  function X(e, t) {
33
33
  let n = e.type;
34
34
  return `${V.blocks[n] ?? e.type} ${t + 1}`;
35
35
  }
36
- y(() => z.visible, (e) => {
36
+ o(() => z.visible, (e) => {
37
37
  e && (G.value = "", J.value = null, K.value = new Set(z.preSelectedBlockId ? [z.preSelectedBlockId] : []));
38
38
  });
39
39
  function ie(e) {
@@ -60,12 +60,12 @@ var w = ["aria-busy"], T = {
60
60
  function ae(e) {
61
61
  e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q()), e.key === "Escape" && $();
62
62
  }
63
- return (o, g) => (n(), p(C, {
64
- visible: s.visible,
63
+ return (o, d) => (i(), p(C, {
64
+ visible: t.visible,
65
65
  onClose: $,
66
66
  onKeydown: ae
67
67
  }, {
68
- default: c(() => [h("div", {
68
+ default: a(() => [m("div", {
69
69
  role: "dialog",
70
70
  "aria-modal": "true",
71
71
  "aria-busy": q.value,
@@ -76,44 +76,44 @@ var w = ["aria-busy"], T = {
76
76
  "box-shadow": "var(--tpl-shadow-xl)"
77
77
  }
78
78
  }, [
79
- h("h3", T, r(m(H).modules.saveAsModule), 1),
80
- h("div", E, [h("label", D, r(m(H).modules.moduleName), 1), t(h("input", {
81
- "onUpdate:modelValue": g[0] ||= (e) => G.value = e,
79
+ m("h3", T, r(_(H).modules.saveAsModule), 1),
80
+ m("div", E, [m("label", D, r(_(H).modules.moduleName), 1), s(m("input", {
81
+ "onUpdate:modelValue": d[0] ||= (e) => G.value = e,
82
82
  type: "text",
83
- placeholder: m(H).modules.moduleNamePlaceholder,
83
+ placeholder: _(H).modules.moduleNamePlaceholder,
84
84
  class: "tpl:h-9 tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1 tpl:text-sm tpl:shadow-xs tpl:outline-none tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]",
85
85
  disabled: q.value
86
- }, null, 8, O), [[_, G.value]])]),
87
- h("div", k, [h("label", A, r(m(H).modules.selectBlocks), 1), h("div", j, [(n(!0), l(d, null, a(Y.value, (e, t) => (n(), l("label", {
86
+ }, null, 8, O), [[u, G.value]])]),
87
+ m("div", k, [m("label", A, r(_(H).modules.selectBlocks), 1), m("div", j, [(i(!0), v(f, null, n(Y.value, (e, t) => (i(), v("label", {
88
88
  key: e.id,
89
89
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:rounded-sm tpl:px-2 tpl:py-1.5 tpl:text-sm tpl:transition-colors tpl:duration-100",
90
- style: i({
90
+ style: h({
91
91
  color: "var(--tpl-text)",
92
92
  backgroundColor: K.value.has(e.id) ? "var(--tpl-primary-light)" : "transparent"
93
93
  })
94
- }, [h("input", {
94
+ }, [m("input", {
95
95
  type: "checkbox",
96
96
  checked: K.value.has(e.id),
97
97
  class: "tpl:accent-[var(--tpl-primary)]",
98
98
  disabled: q.value,
99
99
  onChange: (t) => ie(e.id)
100
- }, null, 40, M), v(" " + r(X(e, t)), 1)], 4))), 128))])]),
101
- J.value ? (n(), l("p", N, r(J.value), 1)) : f("", !0),
102
- h("div", P, [h("button", {
100
+ }, null, 40, M), l(" " + r(X(e, t)), 1)], 4))), 128))])]),
101
+ J.value ? (i(), v("p", N, r(J.value), 1)) : c("", !0),
102
+ m("div", P, [m("button", {
103
103
  type: "button",
104
104
  class: e(["tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)]", { "tpl:cursor-not-allowed tpl:opacity-50": q.value }]),
105
105
  disabled: q.value,
106
106
  onClick: $
107
- }, r(m(H).modules.cancel), 11, F), h("button", {
107
+ }, r(_(H).modules.cancel), 11, F), m("button", {
108
108
  type: "button",
109
109
  class: "tpl:cursor-pointer tpl:rounded-md tpl:px-3 tpl:py-1.5 tpl:text-sm tpl:font-medium tpl:shadow-xs 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)]",
110
110
  disabled: !Z.value,
111
111
  onClick: Q
112
- }, [q.value ? (n(), l("span", L, [u(m(te), {
112
+ }, [q.value ? (i(), v("span", L, [y(_(ne), {
113
113
  class: "tpl:animate-spin",
114
114
  size: 12,
115
115
  "stroke-width": 2
116
- }), v(" " + r(m(H).modules.saving), 1)])) : (n(), l("span", re, r(m(H).modules.save), 1))], 8, I)])
116
+ }), l(" " + r(_(H).modules.saving), 1)])) : (i(), v("span", re, r(_(H).modules.save), 1))], 8, I)])
117
117
  ], 8, w)]),
118
118
  _: 1
119
119
  }, 8, ["visible"]));
@@ -1,39 +1,34 @@
1
- import { Dt as e, M as t, Mt as n, P as r, Q as i, S as a, V as o, _ as s, b as c, d as l, g as u, it as d, m as f, p, t as m, u as h, z as g } from "./vue.runtime.esm-bundler-DpvJL-nX.js";
2
- import "./useEditorCore-C6ost42Q.js";
3
- import { t as _ } from "./dist-B1IR0bpH.js";
4
- import { t as v } from "./useI18n-lb2DHDiu.js";
5
- import { t as y } from "./createLucideIcon-C3pa2siy.js";
6
- import { t as b } from "./chevron-down-R2uY34iD.js";
7
- import { t as x } from "./clock-CRp2sIub.js";
8
- import { t as S } from "./loader-circle-DsY5Yg33.js";
9
- import { n as C } from "./useCloudI18n-BuIwR6OE.js";
10
- import { t as w } from "./formatRelativeTime-BOEf47hq.js";
11
- var T = y("chevron-left", [["path", {
12
- d: "m15 18-6-6 6-6",
13
- key: "1wnfg3"
14
- }]]), E = y("chevron-right", [["path", {
15
- d: "m9 18 6-6-6-6",
16
- key: "mthhwq"
17
- }]]), D = ["disabled", "title"], O = ["title"], k = {
1
+ import { At as e, C as t, F as n, Ft as r, N as i, U as a, V as o, _ as s, d as c, et as l, f as u, h as d, m as f, st as p, t as m, v as h, x as g } from "./vue.runtime.esm-bundler-CjauPXjj.js";
2
+ import "./useEditorCore-wslttMH-.js";
3
+ import { t as _ } from "./dist-CivF9P8b.js";
4
+ import { t as v } from "./useI18n-C2xQZ6K9.js";
5
+ import { t as y } from "./chevron-down-C5oBUhT8.js";
6
+ import { n as b, t as x } from "./chevron-right-BqCptpdp.js";
7
+ import { t as S } from "./clock-ik2pRJKG.js";
8
+ import { t as C } from "./loader-circle-Balo8p3d.js";
9
+ import { n as w } from "./useCloudI18n-DOKSZql1.js";
10
+ import { t as T } from "./formatRelativeTime-BhhO8yCl.js";
11
+ //#region src/cloud/components/SnapshotHistory.vue?vue&type=script&setup=true&lang.ts
12
+ var E = ["disabled", "title"], D = ["title"], O = {
18
13
  key: 0,
19
14
  class: "tpl-scale-in tpl:absolute tpl:top-full tpl:left-1/2 tpl:z-50 tpl:mt-2 tpl:w-72 tpl:-translate-x-1/2 tpl:overflow-hidden tpl:rounded-[var(--tpl-radius)] tpl:bg-[var(--tpl-bg-elevated)] tpl:border tpl:border-[var(--tpl-border)] tpl:shadow-[var(--tpl-shadow-lg)]",
20
15
  style: {
21
16
  "backdrop-filter": "blur(8px)",
22
17
  "-webkit-backdrop-filter": "blur(8px)"
23
18
  }
24
- }, A = { class: "tpl:border-b tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)] tpl:border-[var(--tpl-border)]" }, j = {
19
+ }, k = { class: "tpl:border-b tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-semibold tpl:text-[var(--tpl-text)] tpl:border-[var(--tpl-border)]" }, A = {
25
20
  key: 0,
26
21
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:py-8"
27
- }, M = {
22
+ }, j = {
28
23
  key: 1,
29
24
  class: "tpl:px-3 tpl:py-6 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
30
- }, N = {
25
+ }, M = {
31
26
  key: 2,
32
27
  class: "tpl:max-h-64 tpl:overflow-y-auto"
33
- }, P = ["disabled", "onClick"], F = { class: "tpl:flex tpl:flex-col tpl:gap-0.5" }, I = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, L = {
28
+ }, N = ["disabled", "onClick"], P = { class: "tpl:flex tpl:flex-col tpl:gap-0.5" }, F = { class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, I = {
34
29
  key: 0,
35
30
  class: "tpl:rounded tpl:px-1 tpl:py-0.5 tpl:text-[10px] tpl:font-normal tpl:bg-[var(--tpl-bg-active)] tpl:text-[var(--tpl-text-muted)]"
36
- }, R = ["disabled", "title"], z = /* @__PURE__ */ a({
31
+ }, L = ["disabled", "title"], R = /* @__PURE__ */ t({
37
32
  __name: "SnapshotHistory",
38
33
  props: {
39
34
  snapshots: {},
@@ -41,12 +36,12 @@ var T = y("chevron-left", [["path", {
41
36
  isRestoring: { type: Boolean }
42
37
  },
43
38
  emits: ["load", "navigate"],
44
- setup(a, { emit: y }) {
45
- let z = a, B = y, { format: V } = v(), { t: H } = C(), U = i(!1), W = i(null), G = i(-1);
46
- g(() => z.snapshots.length, () => {
39
+ setup(t, { emit: R }) {
40
+ let z = t, B = R, { format: V } = v(), { t: H } = w(), U = l(!1), W = l(null), G = l(-1);
41
+ o(() => z.snapshots.length, () => {
47
42
  G.value = -1;
48
43
  });
49
- let K = p(() => G.value > 0 && z.snapshots.length > 0 && !z.isRestoring), q = p(() => G.value < z.snapshots.length - 1 && z.snapshots.length > 0 && !z.isRestoring);
44
+ let K = f(() => G.value > 0 && z.snapshots.length > 0 && !z.isRestoring), q = f(() => G.value < z.snapshots.length - 1 && z.snapshots.length > 0 && !z.isRestoring);
50
45
  function J() {
51
46
  K.value && (G.value--, B("navigate", z.snapshots[G.value]));
52
47
  }
@@ -61,7 +56,7 @@ var T = y("chevron-left", [["path", {
61
56
  t !== -1 && (G.value = t, B("navigate", z.snapshots[t])), U.value = !1;
62
57
  }
63
58
  function Q(e) {
64
- let t = w(e, H.snapshotHistory, V, 7);
59
+ let t = T(e, H.snapshotHistory, V, 7);
65
60
  return t === null ? new Date(e).toLocaleDateString(void 0, {
66
61
  month: "short",
67
62
  day: "numeric",
@@ -71,57 +66,57 @@ var T = y("chevron-left", [["path", {
71
66
  }
72
67
  return _(W, () => {
73
68
  U.value = !1;
74
- }), (i, p) => (t(), s("div", {
69
+ }), (o, l) => (i(), h("div", {
75
70
  ref_key: "dropdownRef",
76
71
  ref: W,
77
72
  class: "tpl:relative tpl:flex tpl:items-center tpl:gap-0.5"
78
73
  }, [
79
- f("button", {
74
+ d("button", {
80
75
  class: "tpl:flex tpl:size-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:transition-colors tpl:duration-150 hover:tpl:bg-[var(--tpl-bg-hover)] disabled:tpl:cursor-not-allowed disabled:tpl:opacity-30 disabled:hover:tpl:bg-transparent tpl:text-[var(--tpl-text-muted)]",
81
76
  disabled: !q.value,
82
- title: d(H).snapshotHistory.olderSnapshot,
83
- onClick: h(Y, ["stop"])
84
- }, [c(d(T), {
77
+ title: p(H).snapshotHistory.olderSnapshot,
78
+ onClick: c(Y, ["stop"])
79
+ }, [g(p(b), {
85
80
  size: 14,
86
81
  "stroke-width": 2
87
- })], 8, D),
88
- f("button", {
82
+ })], 8, E),
83
+ d("button", {
89
84
  class: "tpl:flex tpl:h-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:gap-0.5 tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:px-1.5 tpl:transition-colors tpl:duration-150 hover:tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)]",
90
- title: d(H).snapshotHistory.tooltip,
91
- onClick: h(X, ["stop"])
92
- }, [c(d(x), {
85
+ title: p(H).snapshotHistory.tooltip,
86
+ onClick: c(X, ["stop"])
87
+ }, [g(p(S), {
93
88
  size: 16,
94
89
  "stroke-width": 1.5
95
- }), c(d(b), {
90
+ }), g(p(y), {
96
91
  class: e(["tpl:transition-transform tpl:duration-150", { "tpl:rotate-180": U.value }]),
97
92
  size: 10,
98
93
  "stroke-width": 2
99
- }, null, 8, ["class"])], 8, O),
100
- c(m, { name: "tpl-dropdown" }, {
101
- default: o(() => [U.value ? (t(), s("div", k, [f("div", A, n(d(H).snapshotHistory.dropdownTitle), 1), a.isLoading ? (t(), s("div", j, [c(d(S), {
94
+ }, null, 8, ["class"])], 8, D),
95
+ g(m, { name: "tpl-dropdown" }, {
96
+ default: a(() => [U.value ? (i(), h("div", O, [d("div", k, r(p(H).snapshotHistory.dropdownTitle), 1), t.isLoading ? (i(), h("div", A, [g(p(C), {
102
97
  class: "tpl:animate-spin tpl:text-[var(--tpl-primary)]",
103
98
  size: 20,
104
99
  "stroke-width": 2
105
- })])) : a.snapshots.length === 0 ? (t(), s("div", M, n(d(H).snapshotHistory.noSnapshots), 1)) : (t(), s("div", N, [(t(!0), s(l, null, r(a.snapshots, (e) => (t(), s("button", {
100
+ })])) : t.snapshots.length === 0 ? (i(), h("div", j, r(p(H).snapshotHistory.noSnapshots), 1)) : (i(), h("div", M, [(i(!0), h(u, null, n(t.snapshots, (e) => (i(), h("button", {
106
101
  key: e.id,
107
102
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:border-b tpl:border-b-[var(--tpl-border-light)] tpl:border-l-2 tpl:border-l-transparent tpl:px-3 tpl:py-2.5 tpl:text-left tpl:transition-all tpl:duration-150 last:tpl:border-b-0 hover:tpl:border-l-[var(--tpl-primary)] hover:tpl:bg-[var(--tpl-bg-hover)]",
108
103
  style: { "background-color": "transparent" },
109
- disabled: a.isRestoring,
104
+ disabled: t.isRestoring,
110
105
  onClick: (t) => Z(e.id)
111
- }, [f("div", F, [f("div", I, [f("span", null, n(Q(e.created_at)), 1), e.is_autosave ? (t(), s("span", L, n(d(H).snapshotHistory.auto), 1)) : u("", !0)])])], 8, P))), 128))]))])) : u("", !0)]),
106
+ }, [d("div", P, [d("div", F, [d("span", null, r(Q(e.created_at)), 1), e.is_autosave ? (i(), h("span", I, r(p(H).snapshotHistory.auto), 1)) : s("", !0)])])], 8, N))), 128))]))])) : s("", !0)]),
112
107
  _: 1
113
108
  }),
114
- f("button", {
109
+ d("button", {
115
110
  class: "tpl:flex tpl:size-7 tpl:shrink-0 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border-none tpl:bg-transparent tpl:transition-colors tpl:duration-150 hover:tpl:bg-[var(--tpl-bg-hover)] disabled:tpl:cursor-not-allowed disabled:tpl:opacity-30 disabled:hover:tpl:bg-transparent tpl:text-[var(--tpl-text-muted)]",
116
111
  disabled: !K.value,
117
- title: d(H).snapshotHistory.newerSnapshot,
118
- onClick: h(J, ["stop"])
119
- }, [c(d(E), {
112
+ title: p(H).snapshotHistory.newerSnapshot,
113
+ onClick: c(J, ["stop"])
114
+ }, [g(p(x), {
120
115
  size: 14,
121
116
  "stroke-width": 2
122
- })], 8, R)
117
+ })], 8, L)
123
118
  ], 512));
124
119
  }
125
120
  });
126
121
  //#endregion
127
- export { z as default };
122
+ export { R as default };