@aswin.dev/editor 0.7.2 → 0.7.4
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/dist/{AccessibilityPanel-EmQ19wiS.js → AccessibilityPanel-COL6Wm7p.js} +1 -1
- package/dist/{AiChatSidebar-DeB0w_32.js → AiChatSidebar-DM2ri7KX.js} +9 -9
- package/dist/{AiFeatureMenu-DoLD5Cde.js → AiFeatureMenu-BrZBJ0R5.js} +5 -5
- package/dist/{BlockA11yBadge-DkNbDvJA.js → BlockA11yBadge-Qs6HtXid.js} +1 -1
- package/dist/{CloudEditor-zo9PjjvY.js → CloudEditor-BRpzzfQn.js} +327 -290
- package/dist/{CollaboratorBar-BsXMY-8e.js → CollaboratorBar-DsRXj3Kn.js} +2 -2
- package/dist/{CommentsSidebar-DIWIa4rS.js → CommentsSidebar-DE6ZsM4D.js} +15 -16
- package/dist/CountdownBlock-Ba3T-i2X.js +1536 -0
- package/dist/CountdownToolbar-B9IAZzeV.js +194 -0
- package/dist/{DesignReferenceSidebar-RDlnhL-6.js → DesignReferenceSidebar-B1iw3Bb7.js} +5 -5
- package/dist/{LoadingTrack-BJ59h9ok.js → LoadingTrack-Ba2pfF57.js} +1 -1
- package/dist/{ModuleBrowserModal-b7HbpByz.js → ModuleBrowserModal-DVnd1dqR.js} +7 -7
- package/dist/{ModulePreviewCanvas-D__YlOLS.js → ModulePreviewCanvas-D9jBAoBQ.js} +47 -42
- package/dist/{ParagraphEditor-B1aYPO-6.js → ParagraphEditor-CO3V0H_V.js} +25 -25
- package/dist/{RichTextEditorContent-BmEVMrkJ.js → RichTextEditorContent-CrqPQdnk.js} +1 -1
- package/dist/{SaveModuleDialog-ClovqI6h.js → SaveModuleDialog-CboNFwIA.js} +3 -3
- package/dist/{NumberWithSuffix-Ca3vNY84.js → SlidingPillSelect-DfcBdJqN.js} +123 -107
- package/dist/{SnapshotHistory-DoqtH0cw.js → SnapshotHistory-C26pvPre.js} +5 -5
- package/dist/{TemplateScoringPanel-DQv2ZAiL.js → TemplateScoringPanel-CS7o62zS.js} +7 -7
- package/dist/{TestEmailModal-iIeYJYsj.js → TestEmailModal-B4OoUWb_.js} +3 -3
- package/dist/{TitleEditor-CTDIwRF_.js → TitleEditor-DU_QWG_m.js} +7 -7
- package/dist/{TplModal-CBq1J1pG.js → TplModal-Dr6Do8oU.js} +1 -1
- package/dist/blockTypeIcons-cRDr36gk.js +189 -0
- package/dist/bundle-stats.json +7 -7
- package/dist/cdn/chunks/{AccessibilityPanel-BeU8nz7A.js → AccessibilityPanel-Csd47zqI.js} +9 -9
- package/dist/cdn/chunks/{AccessibilityPanel-BeU8nz7A.js.map → AccessibilityPanel-Csd47zqI.js.map} +1 -1
- package/dist/cdn/chunks/{AiFeatureMenu-B2mhscyP.js → AiFeatureMenu-BlnZF5pf.js} +6 -6
- package/dist/cdn/chunks/{AiFeatureMenu-B2mhscyP.js.map → AiFeatureMenu-BlnZF5pf.js.map} +1 -1
- package/dist/cdn/chunks/{BlockA11yBadge-C4g77gF0.js → BlockA11yBadge-VY8NqI9n.js} +3 -3
- package/dist/cdn/chunks/{BlockA11yBadge-C4g77gF0.js.map → BlockA11yBadge-VY8NqI9n.js.map} +1 -1
- package/dist/cdn/chunks/{CloudEditor-Btyr0b0_.js → CloudEditor-D0TrKlva.js} +250 -213
- package/dist/cdn/chunks/CloudEditor-D0TrKlva.js.map +1 -0
- package/dist/cdn/chunks/{CollaboratorBar-YBiIjiRh.js → CollaboratorBar-BhMNTI_h.js} +3 -3
- package/dist/cdn/chunks/{CollaboratorBar-YBiIjiRh.js.map → CollaboratorBar-BhMNTI_h.js.map} +1 -1
- package/dist/cdn/chunks/CountdownToolbar-DsP6O1fl.js +196 -0
- package/dist/cdn/chunks/CountdownToolbar-DsP6O1fl.js.map +1 -0
- package/dist/cdn/chunks/{ModuleBrowserModal-C2CDWKW6.js → ModuleBrowserModal-CpYPeiKv.js} +7 -7
- package/dist/cdn/chunks/{ModuleBrowserModal-C2CDWKW6.js.map → ModuleBrowserModal-CpYPeiKv.js.map} +1 -1
- package/dist/cdn/chunks/{ModulePreviewCanvas-Drt8Evai.js → ModulePreviewCanvas-BIYYnqUq.js} +51 -47
- package/dist/cdn/chunks/ModulePreviewCanvas-BIYYnqUq.js.map +1 -0
- package/dist/cdn/chunks/{ParagraphEditor-BA1WbHI7.js → ParagraphEditor-ZV5SYYw8.js} +47 -47
- package/dist/cdn/chunks/{ParagraphEditor-BA1WbHI7.js.map → ParagraphEditor-ZV5SYYw8.js.map} +1 -1
- package/dist/cdn/chunks/{RichTextEditorContent-BtWCA_Oc.js → RichTextEditorContent-Dx05ETtt.js} +4 -4
- package/dist/cdn/chunks/{RichTextEditorContent-BtWCA_Oc.js.map → RichTextEditorContent-Dx05ETtt.js.map} +1 -1
- package/dist/cdn/chunks/{SaveModuleDialog-AwL0tkCV.js → SaveModuleDialog-DJEEK7Wb.js} +23 -23
- package/dist/cdn/chunks/{SaveModuleDialog-AwL0tkCV.js.map → SaveModuleDialog-DJEEK7Wb.js.map} +1 -1
- package/dist/cdn/chunks/{NumberWithSuffix-Ty1bp9vB.js → SlidingPillSelect-BhPCkqVu.js} +132 -116
- package/dist/cdn/chunks/SlidingPillSelect-BhPCkqVu.js.map +1 -0
- package/dist/cdn/chunks/{TitleEditor-DbSyeixS.js → TitleEditor-fu1A87Ld.js} +21 -21
- package/dist/cdn/chunks/{TitleEditor-DbSyeixS.js.map → TitleEditor-fu1A87Ld.js.map} +1 -1
- package/dist/cdn/chunks/blockTypeIcons-CJirTS-q.js +25 -0
- package/dist/cdn/chunks/blockTypeIcons-CJirTS-q.js.map +1 -0
- package/dist/cdn/chunks/{de-RQrZR56a.js → de-BPHtelu7.js} +1 -1
- package/dist/cdn/chunks/{de-RQrZR56a.js.map → de-BPHtelu7.js.map} +1 -1
- package/dist/cdn/chunks/{de-Ce-LbJ2J.js → de-BRDqJwJe.js} +1 -1
- package/dist/cdn/chunks/{de-Ce-LbJ2J.js.map → de-BRDqJwJe.js.map} +1 -1
- package/dist/cdn/chunks/{de-_tooy3Q8.js → de-BsYijc0r.js} +120 -4
- package/dist/cdn/chunks/de-BsYijc0r.js.map +1 -0
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js → emojiData-DUHzsh4j.js} +1 -1
- package/dist/cdn/chunks/{emojiData-EMFlj6FJ.js.map → emojiData-DUHzsh4j.js.map} +1 -1
- package/dist/cdn/chunks/{en-DiCWK5fG.js → en-Cdj_Ikl1.js} +1 -1
- package/dist/cdn/chunks/{en-DiCWK5fG.js.map → en-Cdj_Ikl1.js.map} +1 -1
- package/dist/cdn/chunks/{en-CNqLoIm9.js → en-DMu9hPIC.js} +120 -4
- package/dist/cdn/chunks/en-DMu9hPIC.js.map +1 -0
- package/dist/cdn/chunks/{en-Bl1ecfRF.js → en-DejwuJhw.js} +1 -1
- package/dist/cdn/chunks/{en-Bl1ecfRF.js.map → en-DejwuJhw.js.map} +1 -1
- package/dist/cdn/chunks/{extensions-BVKQw_sp.js → extensions-BbFKsjyT.js} +20 -20
- package/dist/cdn/chunks/{extensions-BVKQw_sp.js.map → extensions-BbFKsjyT.js.map} +1 -1
- package/dist/cdn/chunks/{features-DIBEo4xl.js → features-uApxwJMz.js} +3401 -1520
- package/dist/cdn/chunks/features-uApxwJMz.js.map +1 -0
- package/dist/cdn/chunks/{icons-C1Gg-ov-.js → icons-DZb4EX9m.js} +128 -60
- package/dist/cdn/chunks/icons-DZb4EX9m.js.map +1 -0
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js → liquid.browser-CllF-us3.js} +1 -1
- package/dist/cdn/chunks/{liquid.browser-lQbkge2E.js.map → liquid.browser-CllF-us3.js.map} +1 -1
- package/dist/cdn/chunks/{media-library-BTF_Ko70.js → media-library-B3g52j8R.js} +838 -822
- package/dist/cdn/chunks/media-library-B3g52j8R.js.map +1 -0
- package/dist/cdn/chunks/{pusher-CDbNlZBE.js → pusher-i7-OBujc.js} +1 -1
- package/dist/cdn/chunks/{pusher-CDbNlZBE.js.map → pusher-i7-OBujc.js.map} +1 -1
- package/dist/cdn/chunks/{quality-C5AmotmP.js → quality-Ug5lFGHP.js} +301 -301
- package/dist/cdn/chunks/{quality-C5AmotmP.js.map → quality-Ug5lFGHP.js.map} +1 -1
- package/dist/cdn/chunks/{renderer-D0L44Vlp.js → renderer-jXCdXjV-.js} +12 -12
- package/dist/cdn/chunks/{renderer-D0L44Vlp.js.map → renderer-jXCdXjV-.js.map} +1 -1
- package/dist/cdn/chunks/{src-RKexlYjA.js → src-FMtH5ZvJ.js} +9 -9
- package/dist/cdn/chunks/{src-RKexlYjA.js.map → src-FMtH5ZvJ.js.map} +1 -1
- package/dist/cdn/chunks/{styleConstants-PgmvNBzQ.js → styleConstants-DfcU8u_r.js} +1 -1
- package/dist/cdn/chunks/{styleConstants-PgmvNBzQ.js.map → styleConstants-DfcU8u_r.js.map} +1 -1
- package/dist/cdn/chunks/{styles-CQR6ed13.js → styles-Co9vw4ag.js} +2401 -1339
- package/dist/cdn/chunks/styles-Co9vw4ag.js.map +1 -0
- package/dist/cdn/chunks/{tiptap-CDzAbF2j.js → tiptap-qXOh0vzV.js} +2 -2
- package/dist/cdn/chunks/{tiptap-CDzAbF2j.js.map → tiptap-qXOh0vzV.js.map} +1 -1
- package/dist/cdn/editor.css +1 -1
- package/dist/cdn/editor.js +93 -64
- package/dist/cdn/editor.js.map +1 -1
- package/dist/{cloud-DJG4tb4_.js → cloud-COUuu_KE.js} +1 -1
- package/dist/{de-2LEvILeZ.js → de-CR1qAkAm.js} +119 -3
- package/dist/{dist-BSJvAvH3.js → dist-BUzw1buG.js} +1 -1
- package/dist/{dist-b-XUqAoF.js → dist-BZyY-SS4.js} +1 -1
- package/dist/{dist-Df4ie7vZ.js → dist-BadNx4qo.js} +1 -1
- package/dist/{dist-wfAedlzi.js → dist-BesOh2mk.js} +1 -1
- package/dist/{dist-kZfaVUpW.js → dist-Bz3M4RXG.js} +3 -3
- package/dist/{dist-BvPgo-UK.js → dist-C3T2AKtB.js} +1 -1
- package/dist/{dist-CPVBKMmd.js → dist-C9ckKEZL.js} +1 -1
- package/dist/{dist-DxOoemkW.js → dist-CBItRG-Z.js} +1 -1
- package/dist/{dist-BeFnymxK.js → dist-COSzWQUs.js} +1 -1
- package/dist/{dist-Bmir0gYb.js → dist-DP82Y0rs.js} +254 -136
- package/dist/{dist-CivF9P8b.js → dist-Djgi0A6k.js} +92 -77
- package/dist/{dist-BHAeXaUY.js → dist-DtiDUrX-.js} +1 -1
- package/dist/{dist-HEQ52gTJ.js → dist-Dzt5foyL.js} +1 -1
- package/dist/{en-D2RU2Poj.js → en-jbnp1n6M.js} +119 -3
- package/dist/{extensions-BQ1xXx3d.js → extensions-Bg22D6c8.js} +12 -12
- package/dist/index.d.ts +10 -10
- package/dist/{pencil-BZJPNYWR.js → pencil-Bpimrzzw.js} +5 -2
- package/dist/style.css +1 -1
- package/dist/{styles-CavWjvol.js → styles-DgL0UYj0.js} +2321 -1236
- package/dist/templatical-editor.js +149 -120
- package/dist/{useEditorCore-BGnzcT7p.js → useEditorCore-CSlYQZWx.js} +3890 -3666
- package/dist/useMergeTag-BVL3A4OO.js +34 -0
- package/package.json +7 -7
- package/dist/CountdownBlock-BCi7-DAM.js +0 -92
- package/dist/CountdownToolbar-BuS8p5ju.js +0 -210
- package/dist/blockTypeIcons-QkC6f5UE.js +0 -140
- package/dist/cdn/chunks/CloudEditor-Btyr0b0_.js.map +0 -1
- package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js +0 -93
- package/dist/cdn/chunks/CountdownBlock-B06UZoWe.js.map +0 -1
- package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js +0 -212
- package/dist/cdn/chunks/CountdownToolbar-C9XZr33O.js.map +0 -1
- package/dist/cdn/chunks/ModulePreviewCanvas-Drt8Evai.js.map +0 -1
- package/dist/cdn/chunks/NumberWithSuffix-Ty1bp9vB.js.map +0 -1
- package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js +0 -23
- package/dist/cdn/chunks/blockTypeIcons-pQIkxJzc.js.map +0 -1
- package/dist/cdn/chunks/de-_tooy3Q8.js.map +0 -1
- package/dist/cdn/chunks/en-CNqLoIm9.js.map +0 -1
- package/dist/cdn/chunks/features-DIBEo4xl.js.map +0 -1
- package/dist/cdn/chunks/icons-C1Gg-ov-.js.map +0 -1
- package/dist/cdn/chunks/media-library-BTF_Ko70.js.map +0 -1
- package/dist/cdn/chunks/styles-CQR6ed13.js.map +0 -1
- package/dist/check-DJrpDKO_.js +0 -7
- package/dist/useMergeTag-CfuZq2fF.js +0 -34
- /package/dist/{_plugin-vue_export-helper-Bwh4ceeO.js → _plugin-vue_export-helper-BVAJ4lgT.js} +0 -0
- /package/dist/{clock-ik2pRJKG.js → clock-Ba4p3rJM.js} +0 -0
- /package/dist/{de-D2npYjrZ.js → de-GOtR9DwW.js} +0 -0
- /package/dist/{dist-DvHLtWVP.js → dist-DXa1uAMh.js} +0 -0
- /package/dist/{emojiData-DvQBBzmO.js → emojiData-DrBuvEoP.js} +0 -0
- /package/dist/{en-ib-4h3_o.js → en-dFFQVzNn.js} +0 -0
- /package/dist/{formatRelativeTime-CFDZnEIs.js → formatRelativeTime-BhhO8yCl.js} +0 -0
- /package/dist/{liquid.browser-7Rv0QDiO.js → liquid.browser-BvCyLQII.js} +0 -0
- /package/dist/{scan-line-DlghmhNf.js → scan-line-CzfFJO1o.js} +0 -0
- /package/dist/{send-DDdhIRj8.js → send-D2eSo4GH.js} +0 -0
- /package/dist/{shield-check-OSQ-JVTX.js → shield-check-jkpgcC0-.js} +0 -0
- /package/dist/{sparkles-BN4a-CoF.js → sparkles-Chm5CZfb.js} +0 -0
- /package/dist/{styleConstants-wWRbcuEK.js → styleConstants-34eUKPOZ.js} +0 -0
- /package/dist/{text-align-start-D1weisjS.js → text-align-start-CzBnJsW8.js} +0 -0
- /package/dist/{trash-2-CMWvQ5KX.js → trash-2-CtK2apEH.js} +0 -0
- /package/dist/{triangle-alert-DyidRNX_.js → triangle-alert-KpDVNbpn.js} +0 -0
- /package/dist/{undo-2-Cg8I7obC.js → undo-2-m1EUDbUg.js} +0 -0
- /package/dist/{useCloudI18n-BTTNBk5i.js → useCloudI18n-DOKSZql1.js} +0 -0
- /package/dist/{x-CgIhNcT9.js → x-BkaOMosX.js} +0 -0
|
@@ -9,12 +9,12 @@ var b = /* @__PURE__ */ new WeakMap(), x = (...e) => {
|
|
|
9
9
|
return i && b.has(i) && r in b.get(i) ? b.get(i)[r] : t(...e);
|
|
10
10
|
}, S = typeof window < "u" && typeof document < "u";
|
|
11
11
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
12
|
-
var ee = (e) => e != null, C = Object.prototype.toString, w = (e) => C.call(e) === "[object Object]", T = () => {}, E = /* @__PURE__ */
|
|
13
|
-
function
|
|
12
|
+
var ee = (e) => e != null, C = Object.prototype.toString, w = (e) => C.call(e) === "[object Object]", T = () => {}, E = /* @__PURE__ */ te();
|
|
13
|
+
function te() {
|
|
14
14
|
var e, t;
|
|
15
15
|
return S && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function D(...t) {
|
|
18
18
|
if (t.length !== 1) return u(...t);
|
|
19
19
|
let n = t[0];
|
|
20
20
|
return typeof n == "function" ? e(i(() => ({
|
|
@@ -22,7 +22,7 @@ function O(...t) {
|
|
|
22
22
|
set: T
|
|
23
23
|
}))) : l(n);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function O(e, t) {
|
|
26
26
|
function n(...n) {
|
|
27
27
|
return new Promise((r, i) => {
|
|
28
28
|
Promise.resolve(e(() => t.apply(this, n), {
|
|
@@ -34,8 +34,8 @@ function k(e, t) {
|
|
|
34
34
|
}
|
|
35
35
|
return n;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
38
|
-
function
|
|
37
|
+
var k = (e) => e();
|
|
38
|
+
function A(e, t = {}) {
|
|
39
39
|
let n, r, i = T, a = (e) => {
|
|
40
40
|
clearTimeout(e), i(), i = T;
|
|
41
41
|
}, o;
|
|
@@ -50,26 +50,26 @@ function j(e, t = {}) {
|
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function j(e) {
|
|
54
54
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function M(e) {
|
|
57
57
|
return Array.isArray(e) ? e : [e];
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ne(e) {
|
|
60
60
|
return e || v();
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
return
|
|
62
|
+
function re(e, t = 200, n = {}) {
|
|
63
|
+
return O(A(t, n), e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
let { eventFilter: r =
|
|
67
|
-
return a(e,
|
|
65
|
+
function ie(e, t, n = {}) {
|
|
66
|
+
let { eventFilter: r = k, ...i } = n;
|
|
67
|
+
return a(e, O(r, t), i);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
|
|
69
|
+
function N(e, t = !0, n) {
|
|
70
|
+
ne(n) ? d(e, n) : t ? e() : f(e);
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function P(e, t = 1e3, n = {}) {
|
|
73
73
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, s = null, l = m(!1);
|
|
74
74
|
function u() {
|
|
75
75
|
s &&= (clearInterval(s), null);
|
|
@@ -89,7 +89,7 @@ function F(e, t = 1e3, n = {}) {
|
|
|
89
89
|
resume: f
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function F(e, t, n = {}) {
|
|
93
93
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = m(!1), o;
|
|
94
94
|
function s() {
|
|
95
95
|
o &&= (clearTimeout(o), void 0);
|
|
@@ -108,7 +108,7 @@ function I(e, t, n = {}) {
|
|
|
108
108
|
stop: l
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function I(e = !1, t = {}) {
|
|
112
112
|
let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = o(e), a = m(e);
|
|
113
113
|
function s(e) {
|
|
114
114
|
if (arguments.length) return a.value = e, a.value;
|
|
@@ -119,14 +119,14 @@ function L(e = !1, t = {}) {
|
|
|
119
119
|
}
|
|
120
120
|
return i ? s : [a, s];
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function L(e, t, n = {}) {
|
|
123
123
|
let { debounce: r = 0, maxWait: i = void 0, ...a } = n;
|
|
124
|
-
return
|
|
124
|
+
return ie(e, t, {
|
|
125
125
|
...a,
|
|
126
|
-
eventFilter:
|
|
126
|
+
eventFilter: A(r, { maxWait: i })
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function R(e, t, n) {
|
|
130
130
|
return a(e, t, {
|
|
131
131
|
...n,
|
|
132
132
|
immediate: !0
|
|
@@ -134,21 +134,21 @@ function z(e, t, n) {
|
|
|
134
134
|
}
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.33_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
137
|
-
var
|
|
137
|
+
var z = S ? window : void 0;
|
|
138
138
|
S && window.document, S && window.navigator, S && window.location;
|
|
139
|
-
function
|
|
139
|
+
function B(e) {
|
|
140
140
|
let t = c(e);
|
|
141
141
|
return t?.$el ?? t;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function V(...e) {
|
|
144
144
|
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = p(() => {
|
|
145
|
-
let t =
|
|
145
|
+
let t = M(c(e[0])).filter((e) => e != null);
|
|
146
146
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
147
147
|
});
|
|
148
|
-
return
|
|
149
|
-
n.value?.map((e) =>
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
return R(() => [
|
|
149
|
+
n.value?.map((e) => B(e)) ?? [z].filter((e) => e != null),
|
|
150
|
+
M(c(n.value ? e[1] : e[0])),
|
|
151
|
+
M(g(n.value ? e[2] : e[1])),
|
|
152
152
|
c(n.value ? e[3] : e[2])
|
|
153
153
|
], ([e, n, r, i], a, o) => {
|
|
154
154
|
if (!e?.length || !n?.length || !r?.length) return;
|
|
@@ -158,23 +158,23 @@ function H(...e) {
|
|
|
158
158
|
});
|
|
159
159
|
}, { flush: "post" });
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
function
|
|
163
|
-
let { window: r =
|
|
161
|
+
var H = !1;
|
|
162
|
+
function U(e, t, n = {}) {
|
|
163
|
+
let { window: r = z, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
|
|
164
164
|
if (!r) return s ? {
|
|
165
165
|
stop: T,
|
|
166
166
|
cancel: T,
|
|
167
167
|
trigger: T
|
|
168
168
|
} : T;
|
|
169
|
-
if (E && !
|
|
170
|
-
|
|
169
|
+
if (E && !H) {
|
|
170
|
+
H = !0;
|
|
171
171
|
let e = { passive: !0 };
|
|
172
172
|
Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", T, e)), r.document.documentElement.addEventListener("click", T, e);
|
|
173
173
|
}
|
|
174
174
|
let l = !0, u = (e) => c(i).some((t) => {
|
|
175
175
|
if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
|
|
176
176
|
{
|
|
177
|
-
let n =
|
|
177
|
+
let n = B(t);
|
|
178
178
|
return n && (e.target === n || e.composedPath().includes(n));
|
|
179
179
|
}
|
|
180
180
|
});
|
|
@@ -187,7 +187,7 @@ function W(e, t, n = {}) {
|
|
|
187
187
|
return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
|
|
188
188
|
}
|
|
189
189
|
let p = (n) => {
|
|
190
|
-
let r =
|
|
190
|
+
let r = B(e);
|
|
191
191
|
if (n.target != null && !(!(r instanceof Element) && d(e) && f(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
|
|
192
192
|
if ("detail" in n && n.detail === 0 && (l = !u(n)), !l) {
|
|
193
193
|
l = !0;
|
|
@@ -196,7 +196,7 @@ function W(e, t, n = {}) {
|
|
|
196
196
|
t(n);
|
|
197
197
|
}
|
|
198
198
|
}, m = !1, h = [
|
|
199
|
-
|
|
199
|
+
V(r, "click", (e) => {
|
|
200
200
|
m || (m = !0, setTimeout(() => {
|
|
201
201
|
m = !1;
|
|
202
202
|
}, 0), p(e));
|
|
@@ -204,13 +204,13 @@ function W(e, t, n = {}) {
|
|
|
204
204
|
passive: !0,
|
|
205
205
|
capture: a
|
|
206
206
|
}),
|
|
207
|
-
|
|
208
|
-
let n =
|
|
207
|
+
V(r, "pointerdown", (t) => {
|
|
208
|
+
let n = B(e);
|
|
209
209
|
l = !u(t) && !!(n && !t.composedPath().includes(n));
|
|
210
210
|
}, { passive: !0 }),
|
|
211
|
-
o &&
|
|
211
|
+
o && V(r, "blur", (n) => {
|
|
212
212
|
setTimeout(() => {
|
|
213
|
-
let i =
|
|
213
|
+
let i = B(e);
|
|
214
214
|
r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
|
|
215
215
|
}, 0);
|
|
216
216
|
}, { passive: !0 })
|
|
@@ -225,22 +225,22 @@ function W(e, t, n = {}) {
|
|
|
225
225
|
}
|
|
226
226
|
} : g;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function W() {
|
|
229
229
|
let e = m(!1), t = v();
|
|
230
230
|
return t && d(() => {
|
|
231
231
|
e.value = !0;
|
|
232
232
|
}, t), e;
|
|
233
233
|
}
|
|
234
234
|
/* @__NO_SIDE_EFFECTS__ */
|
|
235
|
-
function
|
|
236
|
-
let t =
|
|
235
|
+
function G(e) {
|
|
236
|
+
let t = W();
|
|
237
237
|
return p(() => (t.value, !!e()));
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
let { window: r =
|
|
239
|
+
function K(e, t, n = {}) {
|
|
240
|
+
let { window: r = z, ...i } = n, o, s = /* @__PURE__ */ G(() => r && "MutationObserver" in r), l = () => {
|
|
241
241
|
o &&= (o.disconnect(), void 0);
|
|
242
242
|
}, u = a(p(() => {
|
|
243
|
-
let t =
|
|
243
|
+
let t = M(c(e)).map(B).filter(ee);
|
|
244
244
|
return new Set(t);
|
|
245
245
|
}), (e) => {
|
|
246
246
|
l(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, i)));
|
|
@@ -256,33 +256,33 @@ function q(e, t, n = {}) {
|
|
|
256
256
|
takeRecords: d
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
|
-
var
|
|
259
|
+
var q = Symbol("vueuse-ssr-width");
|
|
260
260
|
/* @__NO_SIDE_EFFECTS__ */
|
|
261
|
-
function
|
|
262
|
-
let e = n() ? x(
|
|
261
|
+
function J() {
|
|
262
|
+
let e = n() ? x(q, null) : null;
|
|
263
263
|
return typeof e == "number" ? e : void 0;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
let { window: n =
|
|
265
|
+
function Y(e, t = {}) {
|
|
266
|
+
let { window: n = z, ssrWidth: i = /* @__PURE__ */ J() } = t, a = /* @__PURE__ */ G(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = m(typeof i == "number"), s = m(), l = m(!1);
|
|
267
267
|
return r(() => {
|
|
268
268
|
if (o.value) {
|
|
269
269
|
o.value = !a.value, l.value = c(e).split(",").some((e) => {
|
|
270
270
|
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), r = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || r);
|
|
271
|
-
return n && a && (a = i >=
|
|
271
|
+
return n && a && (a = i >= j(n[1])), r && a && (a = i <= j(r[1])), t ? !a : a;
|
|
272
272
|
});
|
|
273
273
|
return;
|
|
274
274
|
}
|
|
275
275
|
a.value && (s.value = n.matchMedia(c(e)), l.value = s.value.matches);
|
|
276
|
-
}),
|
|
276
|
+
}), V(s, "change", (e) => {
|
|
277
277
|
l.value = e.matches;
|
|
278
278
|
}, { passive: !0 }), p(() => l.value);
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
let { window: r =
|
|
280
|
+
function ae(e, t, n = {}) {
|
|
281
|
+
let { window: r = z, ...i } = n, o, s = /* @__PURE__ */ G(() => r && "ResizeObserver" in r), l = () => {
|
|
282
282
|
o &&= (o.disconnect(), void 0);
|
|
283
283
|
}, u = a(p(() => {
|
|
284
284
|
let t = c(e);
|
|
285
|
-
return Array.isArray(t) ? t.map((e) =>
|
|
285
|
+
return Array.isArray(t) ? t.map((e) => B(e)) : [B(t)];
|
|
286
286
|
}), (e) => {
|
|
287
287
|
if (l(), s.value && r) {
|
|
288
288
|
o = new ResizeObserver(t);
|
|
@@ -299,10 +299,10 @@ function ie(e, t, n = {}) {
|
|
|
299
299
|
stop: d
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function oe(e, t = {}) {
|
|
303
303
|
let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: o = !0, updateTiming: s = "sync" } = t, c = m(0), l = m(0), u = m(0), d = m(0), f = m(0), p = m(0), h = m(0), g = m(0);
|
|
304
304
|
function _() {
|
|
305
|
-
let t =
|
|
305
|
+
let t = B(e);
|
|
306
306
|
if (!t) {
|
|
307
307
|
n && (c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, h.value = 0, g.value = 0);
|
|
308
308
|
return;
|
|
@@ -313,10 +313,10 @@ function ae(e, t = {}) {
|
|
|
313
313
|
function v() {
|
|
314
314
|
s === "sync" ? _() : s === "next-frame" && requestAnimationFrame(() => _());
|
|
315
315
|
}
|
|
316
|
-
return
|
|
316
|
+
return ae(e, v), a(() => B(e), (e) => !e && v()), K(e, v, { attributeFilter: ["style", "class"] }), i && V("scroll", v, {
|
|
317
317
|
capture: !0,
|
|
318
318
|
passive: !0
|
|
319
|
-
}), r &&
|
|
319
|
+
}), r && V("resize", v, { passive: !0 }), N(() => {
|
|
320
320
|
o && v();
|
|
321
321
|
}), {
|
|
322
322
|
height: c,
|
|
@@ -330,30 +330,30 @@ function ae(e, t = {}) {
|
|
|
330
330
|
update: v
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function X(e) {
|
|
334
334
|
return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
337
|
-
let t =
|
|
336
|
+
function se(e) {
|
|
337
|
+
let t = Y("(prefers-reduced-motion: reduce)", e);
|
|
338
338
|
return p(() => t.value ? "reduce" : "no-preference");
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Z(e) {
|
|
341
341
|
let t = window.getComputedStyle(e);
|
|
342
342
|
if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0;
|
|
343
343
|
{
|
|
344
344
|
let t = e.parentNode;
|
|
345
|
-
return !t || t.tagName === "BODY" ? !1 :
|
|
345
|
+
return !t || t.tagName === "BODY" ? !1 : Z(t);
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Q(e) {
|
|
349
349
|
let t = e || window.event, n = t.target;
|
|
350
|
-
return
|
|
350
|
+
return Z(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
351
351
|
}
|
|
352
352
|
var $ = /* @__PURE__ */ new WeakMap();
|
|
353
353
|
function ce(e, t = !1) {
|
|
354
354
|
let n = m(t), r = null, i = "";
|
|
355
|
-
a(
|
|
356
|
-
let t =
|
|
355
|
+
a(D(e), (e) => {
|
|
356
|
+
let t = X(c(e));
|
|
357
357
|
if (t) {
|
|
358
358
|
let e = t;
|
|
359
359
|
if ($.get(e) || $.set(e, e.style.overflow), e.style.overflow !== "hidden" && (i = e.style.overflow), e.style.overflow === "hidden") return n.value = !0;
|
|
@@ -361,12 +361,12 @@ function ce(e, t = !1) {
|
|
|
361
361
|
}
|
|
362
362
|
}, { immediate: !0 });
|
|
363
363
|
let o = () => {
|
|
364
|
-
let t =
|
|
365
|
-
!t || n.value || (E && (r =
|
|
366
|
-
|
|
364
|
+
let t = X(c(e));
|
|
365
|
+
!t || n.value || (E && (r = V(t, "touchmove", (e) => {
|
|
366
|
+
Q(e);
|
|
367
367
|
}, { passive: !1 })), t.style.overflow = "hidden", n.value = !0);
|
|
368
368
|
}, s = () => {
|
|
369
|
-
let t =
|
|
369
|
+
let t = X(c(e));
|
|
370
370
|
!t || !n.value || (E && r?.(), t.style.overflow = i, $.delete(t), n.value = !1);
|
|
371
371
|
};
|
|
372
372
|
return y(s), p({
|
|
@@ -378,5 +378,20 @@ function ce(e, t = !1) {
|
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
|
+
function le(e = {}) {
|
|
382
|
+
let { window: t = z, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: o = !0, type: s = "inner" } = e, c = m(n), l = m(r), u = () => {
|
|
383
|
+
if (t) if (s === "outer") c.value = t.outerWidth, l.value = t.outerHeight;
|
|
384
|
+
else if (s === "visual" && t.visualViewport) {
|
|
385
|
+
let { width: e, height: n, scale: r } = t.visualViewport;
|
|
386
|
+
c.value = Math.round(e * r), l.value = Math.round(n * r);
|
|
387
|
+
} else o ? (c.value = t.innerWidth, l.value = t.innerHeight) : (c.value = t.document.documentElement.clientWidth, l.value = t.document.documentElement.clientHeight);
|
|
388
|
+
};
|
|
389
|
+
u(), N(u);
|
|
390
|
+
let d = { passive: !0 };
|
|
391
|
+
return V("resize", u, d), t && s === "visual" && t.visualViewport && V(t.visualViewport, "resize", u, d), i && a(Y("(orientation: portrait)"), () => u()), {
|
|
392
|
+
width: c,
|
|
393
|
+
height: l
|
|
394
|
+
};
|
|
395
|
+
}
|
|
381
396
|
//#endregion
|
|
382
|
-
export {
|
|
397
|
+
export { se as a, re as c, I as d, L as f, Y as i, P as l, oe as n, ce as o, V as r, le as s, U as t, F as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t, i as n } from "./dist-
|
|
1
|
+
import { Gt as e, c as t, i as n } from "./dist-DXa1uAMh.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-text-style/dist/index.js
|
|
3
3
|
var r = 20, i = (e, t = 0) => {
|
|
4
4
|
let n = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gt as e, c as t } from "./dist-
|
|
1
|
+
import { Gt as e, c as t } from "./dist-DXa1uAMh.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.22.5_@tiptap+core@3.22.5_@tiptap+pm@3.22.5_/node_modules/@tiptap/extension-underline/dist/index.js
|
|
3
3
|
var n = t.create({
|
|
4
4
|
name: "underline",
|
|
@@ -57,7 +57,9 @@ var e = {
|
|
|
57
57
|
html: "HTML",
|
|
58
58
|
menu: "Menu",
|
|
59
59
|
table: "Table",
|
|
60
|
-
countdown: "Countdown"
|
|
60
|
+
countdown: "Countdown",
|
|
61
|
+
form: "Form",
|
|
62
|
+
discountCoupon: "Discount coupon"
|
|
61
63
|
},
|
|
62
64
|
sidebar: {
|
|
63
65
|
content: "Content",
|
|
@@ -252,6 +254,106 @@ var e = {
|
|
|
252
254
|
fixedWidth: "Fixed width",
|
|
253
255
|
placeholderColor: "Placeholder color"
|
|
254
256
|
},
|
|
257
|
+
form: {
|
|
258
|
+
tabs: {
|
|
259
|
+
sync: "Sync",
|
|
260
|
+
fields: "Fields",
|
|
261
|
+
button: "Button",
|
|
262
|
+
terms: "Terms"
|
|
263
|
+
},
|
|
264
|
+
sync: { heading: "Pick your marketing platform" },
|
|
265
|
+
fieldTypes: {
|
|
266
|
+
firstName: "First name",
|
|
267
|
+
lastName: "Last name",
|
|
268
|
+
email: "Email",
|
|
269
|
+
phone: "Phone"
|
|
270
|
+
},
|
|
271
|
+
fields: {
|
|
272
|
+
addField: "Add field",
|
|
273
|
+
noMoreFields: "All field types added",
|
|
274
|
+
cancel: "Cancel",
|
|
275
|
+
remove: "Remove field",
|
|
276
|
+
label: "Label",
|
|
277
|
+
labelPlaceholder: "What is your email?",
|
|
278
|
+
optional: "optional",
|
|
279
|
+
placeholder: "Placeholder",
|
|
280
|
+
name: "Field name",
|
|
281
|
+
required: "Field is required",
|
|
282
|
+
blockExisting: "Block existing emails",
|
|
283
|
+
blockExistingHint: "Prevent signing up with the emails you've already collected.",
|
|
284
|
+
blockExistingAll: "Check across all my campaigns",
|
|
285
|
+
blockExistingThis: "Check only this campaign",
|
|
286
|
+
errorMessage: "Error message"
|
|
287
|
+
},
|
|
288
|
+
button: {
|
|
289
|
+
submitText: "Submit button",
|
|
290
|
+
actionOnClick: "Action on click",
|
|
291
|
+
url: "Page URL",
|
|
292
|
+
position: "Position",
|
|
293
|
+
oneLine: "One line",
|
|
294
|
+
twoLines: "Two lines",
|
|
295
|
+
background: "Background",
|
|
296
|
+
textColor: "Text color",
|
|
297
|
+
borderRadius: "Border radius"
|
|
298
|
+
},
|
|
299
|
+
buttonActions: {
|
|
300
|
+
nextStep: "Show next step",
|
|
301
|
+
closePopup: "Close the popup",
|
|
302
|
+
loadPage: "Load new page",
|
|
303
|
+
none: "Do nothing"
|
|
304
|
+
},
|
|
305
|
+
terms: {
|
|
306
|
+
enable: "Show terms",
|
|
307
|
+
content: "Terms content",
|
|
308
|
+
htmlHint: "HTML is allowed. Use links and small print as needed."
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
discountCoupon: {
|
|
312
|
+
description: "Attract customers to subscribe with a discount code.",
|
|
313
|
+
modeNone: "No discount",
|
|
314
|
+
modeAuto: "Discount code",
|
|
315
|
+
modeManual: "Enter Shopify discount manually",
|
|
316
|
+
autoHint: "Auto-generate a unique and non-reusable code for each subscription.",
|
|
317
|
+
selectType: "Select type",
|
|
318
|
+
types: {
|
|
319
|
+
percentageOff: "Percentage off",
|
|
320
|
+
fixedAmount: "Fixed amount",
|
|
321
|
+
freeShipping: "Free shipping"
|
|
322
|
+
},
|
|
323
|
+
value: "Value",
|
|
324
|
+
currencyCode: "Currency",
|
|
325
|
+
expiration: "Set expiration on discount",
|
|
326
|
+
expirationDaysSuffix: "Days",
|
|
327
|
+
tagCustomer: "Add the sent discount code as a tag to the customer",
|
|
328
|
+
combinations: "Combinations",
|
|
329
|
+
combineProduct: "Product discounts",
|
|
330
|
+
combineOrder: "Order discounts",
|
|
331
|
+
combineShipping: "Shipping discounts",
|
|
332
|
+
manualPlaceholder: "Discount code",
|
|
333
|
+
manualFooterLead: "Create a discount",
|
|
334
|
+
manualFooterTail: " in your Shopify admin, and enter it above.",
|
|
335
|
+
manualBlankError: "This field can't be blank",
|
|
336
|
+
confirmationTextLabel: "Confirmation text",
|
|
337
|
+
afterClickLabel: "After click",
|
|
338
|
+
afterClickNone: "Do nothing",
|
|
339
|
+
afterClickLoadPage: "Go to URL",
|
|
340
|
+
afterClickCloseCampaign: "Close campaign",
|
|
341
|
+
afterClickNextStep: "Show next step",
|
|
342
|
+
afterClickPageUrl: "Page URL",
|
|
343
|
+
afterClickUrlPlaceholder: "https://...",
|
|
344
|
+
previewNoDiscount: "No discount",
|
|
345
|
+
previewPercentage: "{value}% off",
|
|
346
|
+
previewFixed: "{value} {currency} off",
|
|
347
|
+
previewAutoUnique: "Unique code per subscription",
|
|
348
|
+
previewManualPrefix: "Code:",
|
|
349
|
+
previewManualUnset: "Enter a Shopify discount code",
|
|
350
|
+
previewExpires: "Expires after {days} day(s)",
|
|
351
|
+
previewTag: "Tag customer with code",
|
|
352
|
+
previewCombinations: "Combines with product / order / shipping discounts",
|
|
353
|
+
previewSampleCode: "THANKYOU20",
|
|
354
|
+
copyCode: "Copy code",
|
|
355
|
+
copyCodeFlash: "Copied"
|
|
356
|
+
},
|
|
255
357
|
divider: {
|
|
256
358
|
style: "Style",
|
|
257
359
|
solid: "Solid",
|
|
@@ -363,7 +465,14 @@ var e = {
|
|
|
363
465
|
expiredImageUrl: "Expired Image URL",
|
|
364
466
|
hideOnExpiry: "Hide when expired",
|
|
365
467
|
setDate: "Set a target date in the settings panel",
|
|
366
|
-
hidden: "Hidden (expired)"
|
|
468
|
+
hidden: "Hidden (expired)",
|
|
469
|
+
style: "Style",
|
|
470
|
+
layout: "Layout",
|
|
471
|
+
animationSpeed: "Animation Speed",
|
|
472
|
+
accentColor: "Accent Color",
|
|
473
|
+
cardGap: "Card Gap",
|
|
474
|
+
cardRadius: "Card Radius",
|
|
475
|
+
enableHoverFx: "Enable hover effects"
|
|
367
476
|
},
|
|
368
477
|
customBlocks: {
|
|
369
478
|
definitionNotFound: "Unknown block type — this block is not registered",
|
|
@@ -425,6 +534,8 @@ var e = {
|
|
|
425
534
|
contentPadding: "Padding",
|
|
426
535
|
appearance: "Appearance",
|
|
427
536
|
backgroundColor: "Background Color",
|
|
537
|
+
backgroundOpacity: "Background Opacity",
|
|
538
|
+
backgroundShadow: "Background Shadow",
|
|
428
539
|
fontFamily: "Font Family",
|
|
429
540
|
preheaderText: "Preheader Text",
|
|
430
541
|
preheaderTextPlaceholder: "Preview text shown after subject line in inbox...",
|
|
@@ -480,7 +591,9 @@ var e = {
|
|
|
480
591
|
stepActions: "Step actions",
|
|
481
592
|
rename: "Rename",
|
|
482
593
|
delete: "Delete",
|
|
483
|
-
renamePrompt: "Step name"
|
|
594
|
+
renamePrompt: "Step name",
|
|
595
|
+
unreachableLabel: "Unreachable step",
|
|
596
|
+
unreachableTooltip: "This step is unreachable. The previous step has no Button or Form block configured with “Show next step” (or equivalent) that leads here."
|
|
484
597
|
}
|
|
485
598
|
},
|
|
486
599
|
mediaLibrary: {
|
|
@@ -689,6 +802,9 @@ var e = {
|
|
|
689
802
|
backgroundImageOnly: "Image only (hide body chrome)",
|
|
690
803
|
options: "Options",
|
|
691
804
|
useOverlay: "Use overlay",
|
|
805
|
+
overlayBlur: "Background blur",
|
|
806
|
+
overlayBlurHint: "Blurs whatever is behind the popup. Drag to 0 for a sharp backdrop.",
|
|
807
|
+
overlayImageOpacity: "Overlay image opacity",
|
|
692
808
|
overlayImage: "Overlay image",
|
|
693
809
|
overlayImagePanelAriaLabel: "Overlay image upload",
|
|
694
810
|
overlayImageDropLineBefore: "Drag your image here or ",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { At as e, C as t, F as n, Ft as r, N as i, T as a, U as o, W as s, _ as c, c as l, d as u, et as d, f, g as p, h as m, jt as h, k as g, m as _, n as v, st as y, u as b, v as x } from "./vue.runtime.esm-bundler-CjauPXjj.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as S, P as C, i as w, j as T } from "./dist-DP82Y0rs.js";
|
|
3
3
|
import { t as E } from "./useI18n-C2xQZ6K9.js";
|
|
4
|
-
import { t as D } from "./useMergeTag-
|
|
5
|
-
import { F as O, Gt as k, _n as A, bn as j, i as M, o as N, p as P, u as F, vn as ee, xn as I } from "./dist-
|
|
6
|
-
import { n as L, t as R } from "./dist-
|
|
4
|
+
import { t as D } from "./useMergeTag-BVL3A4OO.js";
|
|
5
|
+
import { F as O, Gt as k, _n as A, bn as j, i as M, o as N, p as P, u as F, vn as ee, xn as I } from "./dist-DXa1uAMh.js";
|
|
6
|
+
import { n as L, t as R } from "./dist-C9ckKEZL.js";
|
|
7
7
|
//#region src/extensions/FontSize.ts
|
|
8
8
|
var te = M.create({
|
|
9
9
|
name: "fontSize",
|
|
@@ -85,7 +85,7 @@ var te = M.create({
|
|
|
85
85
|
updateAttributes: { type: Function }
|
|
86
86
|
},
|
|
87
87
|
setup(t) {
|
|
88
|
-
let n = t, { syntax: a } = D(), { t: f } = E(), v = _(() =>
|
|
88
|
+
let n = t, { syntax: a } = D(), { t: f } = E(), v = _(() => C(n.node.attrs.value, a)), w = _(() => S(n.node.attrs.value, a)), T = d(!1), O = d(""), k = d(null), A = !1;
|
|
89
89
|
function j() {
|
|
90
90
|
O.value = n.node.attrs.value, A = !1, T.value = !0, g(() => {
|
|
91
91
|
k.value?.focus(), k.value?.select();
|
|
@@ -101,7 +101,7 @@ var te = M.create({
|
|
|
101
101
|
}
|
|
102
102
|
e !== n.node.attrs.value && n.updateAttributes({
|
|
103
103
|
value: e,
|
|
104
|
-
keyword:
|
|
104
|
+
keyword: C(e, a) ? S(e, a) : ""
|
|
105
105
|
}), T.value = !1;
|
|
106
106
|
}
|
|
107
107
|
function N(e) {
|
|
@@ -207,12 +207,12 @@ var G = F.create({
|
|
|
207
207
|
return [{ tag: "span[data-logic-merge-tag]" }];
|
|
208
208
|
},
|
|
209
209
|
renderHTML({ node: e, HTMLAttributes: t }) {
|
|
210
|
-
if (!
|
|
210
|
+
if (!C(e.attrs.value, this.options.syntax)) return [
|
|
211
211
|
"span",
|
|
212
212
|
{},
|
|
213
213
|
e.attrs.value
|
|
214
214
|
];
|
|
215
|
-
let n =
|
|
215
|
+
let n = S(e.attrs.value, this.options.syntax);
|
|
216
216
|
return [
|
|
217
217
|
"span",
|
|
218
218
|
k(t, {
|
|
@@ -236,8 +236,8 @@ var G = F.create({
|
|
|
236
236
|
find: RegExp(this.options.syntax.logic.source + "$", ""),
|
|
237
237
|
handler: ({ state: e, range: t, match: n }) => {
|
|
238
238
|
let r = n[0];
|
|
239
|
-
if (!
|
|
240
|
-
let i =
|
|
239
|
+
if (!C(r, this.options.syntax)) return;
|
|
240
|
+
let i = S(r, this.options.syntax), a = this.type.create({
|
|
241
241
|
value: r,
|
|
242
242
|
keyword: i
|
|
243
243
|
});
|
|
@@ -250,8 +250,8 @@ var G = F.create({
|
|
|
250
250
|
find: new RegExp(this.options.syntax.logic.source, "g"),
|
|
251
251
|
handler: ({ state: e, range: t, match: n }) => {
|
|
252
252
|
let r = n[0];
|
|
253
|
-
if (!
|
|
254
|
-
let i =
|
|
253
|
+
if (!C(r, this.options.syntax)) return;
|
|
254
|
+
let i = S(r, this.options.syntax), a = this.type.create({
|
|
255
255
|
value: r,
|
|
256
256
|
keyword: i
|
|
257
257
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -324,6 +324,16 @@ export { ViewportSize }
|
|
|
324
324
|
export { }
|
|
325
325
|
|
|
326
326
|
|
|
327
|
+
declare module "@tiptap/core" {
|
|
328
|
+
interface Commands<ReturnType> {
|
|
329
|
+
lineHeight: {
|
|
330
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
331
|
+
unsetLineHeight: () => ReturnType;
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
|
|
327
337
|
declare module "@tiptap/core" {
|
|
328
338
|
interface Commands<ReturnType> {
|
|
329
339
|
fontSize: {
|
|
@@ -351,13 +361,3 @@ declare module "@tiptap/core" {
|
|
|
351
361
|
};
|
|
352
362
|
}
|
|
353
363
|
}
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
declare module "@tiptap/core" {
|
|
357
|
-
interface Commands<ReturnType> {
|
|
358
|
-
lineHeight: {
|
|
359
|
-
setLineHeight: (lineHeight: string) => ReturnType;
|
|
360
|
-
unsetLineHeight: () => ReturnType;
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./createLucideIcon-ClREiSx3.js";
|
|
2
|
-
var t = e("
|
|
2
|
+
var t = e("check", [["path", {
|
|
3
|
+
d: "M20 6 9 17l-5-5",
|
|
4
|
+
key: "1gmf2c"
|
|
5
|
+
}]]), n = e("pencil", [["path", {
|
|
3
6
|
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
4
7
|
key: "1a8usu"
|
|
5
8
|
}], ["path", {
|
|
@@ -7,4 +10,4 @@ var t = e("pencil", [["path", {
|
|
|
7
10
|
key: "1mk7zo"
|
|
8
11
|
}]]);
|
|
9
12
|
//#endregion
|
|
10
|
-
export { t };
|
|
13
|
+
export { t as n, n as t };
|