@cling-se/widget 0.19.7 → 0.19.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-sPxYX5tQ.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CzzOlHB-.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-BGPxfM2X.js} +11 -11
- package/dist/{CCallout-BlglVZrm.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-E-kRDIiy.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-9AwTJm-0.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-agFahtr1.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-BpautzPq.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-GIqd-JU4.js} +18 -18
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-DOHX9Igy.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-DAXKN_b3.js} +49 -49
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-B9F8znY_.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-BvIMVys6.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-DB22RaUr.js} +20 -20
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings--l4fH9mr.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-yxmchgO5.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-CzrR8o22.js} +819 -825
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint-D0IdWsUM.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-4e-RmgeQ.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-L35eZxgk.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-Be5CvtcQ.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-Bc4kf2q9.js} +12 -12
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-BFo5UEWS.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-DlQtlO7G.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-B29usQZZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-D-9rcSn0.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout--EnH1Ezu.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-H5Ilg9xN.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-HuM_JwJw.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-CJ-DstAf.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-TYs37LIQ.js} +72 -72
- package/dist/{Index-ezY0DbcB.js → Index-6N_iRlrQ.js} +5 -5
- package/dist/{Index-BJf4YdYB.js → Index-B-PDcQKh.js} +29 -29
- package/dist/{Index-C-EUJjuk.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-BLdFyt-s.js} +9 -9
- package/dist/{Index-CXjLkK_n.js → Index-BMpHXgR4.js} +15 -15
- package/dist/{Index-COF0evH4.js → Index-BZ6ZDf9T.js} +6 -6
- package/dist/{Index-y_AJP61r.js → Index-BdnFLjgV.js} +9 -9
- package/dist/{Index-DAkq_7Ws.js → Index-BeOtRIzZ.js} +18 -18
- package/dist/{Index-CTrX3VRa.js → Index-BsRxY7vc.js} +5 -5
- package/dist/{Index-D-gJQEAD.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-C2-s62x7.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-Dxg4gEKd.js → Index-CGus-YwW.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-CLgN5Jzf.js} +2 -2
- package/dist/{Index-Cjg3X74T.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-DkQ8_VkX.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-DfuzxXzD.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-CrdSdXWN.js} +19 -19
- package/dist/{Index-Ct735UtM.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-Ck-_9woY.js → Index-D5_GLLQH.js} +501 -506
- package/dist/{Index-DzdEqsZB.js → Index-D9sceHk5.js} +16 -16
- package/dist/{Index-Dfy0PsiW.js → Index-DJ11Zra_.js} +29 -29
- package/dist/{Index-DOeHci16.js → Index-DMIjuWSa.js} +7 -7
- package/dist/{Index-Bb6JZC8l.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CQboLS2e.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-GPliVrhC.js → Index-DYUvtCff.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-DYW8T0Hl.js} +27 -27
- package/dist/{Index-BTDQax0X.js → Index-Dg4dwlh_.js} +60 -59
- package/dist/{Index-BlownK7_.js → Index-N88Abomf.js} +7 -7
- package/dist/{Index-9ZFW8Ka7.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-BbVHxVFJ.js → Index-edWEg_rF.js} +33 -33
- package/dist/{Index-B53eUt7Y.js → Index-nRqNPZ3B.js} +15 -15
- package/dist/{Index-1WPEpaVr.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-yS5OPrJJ.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-DCr_DEm4.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-CpVsmQvn.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-CqrWEfCT.js} +29 -29
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-DmrPDtae.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-C2EEwUBa.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-BaREzUxI.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-CdZzn0qW.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-EoJvsPqK.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-D3blQMiD.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-BBycKv9w.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-BXXpTWBf.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-B2VPO6q4.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9s0P7o.js} +4 -4
- package/dist/{index-B86TZXOh.js → index-C3pnyYI4.js} +94 -94
- package/dist/{index-D0Qee2OX.js → index-CBn1mHmK.js} +30 -30
- package/dist/{index-DXNrJnEc.js → index-DAJmNac8.js} +10 -10
- package/dist/{index-Cd4S4J-L.js → index-DYJN9yoF.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-DuXECcGq.js} +25 -25
- package/dist/{index-BH5vwOzR.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-CsbYpQqP.js → index-_MfZEYgE.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BayUZ9OO.js} +13620 -13669
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-Bx5_nE7g.js} +40 -46
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-CblTasKp.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-CYKcJaqz.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-DFmdeFRm.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as m, o as f, W as k, b as S, j as h, f as v, u as R, c2 as ee, t as Y, x as J, e as p, c as U, v as T, _ as te } from "./main-BayUZ9OO.js";
|
|
2
2
|
const re = "";
|
|
3
3
|
function H(e, t) {
|
|
4
4
|
t === void 0 && (t = {});
|
|
@@ -63,8 +63,8 @@ function ae(e, t, r, n, a, i) {
|
|
|
63
63
|
/* STYLE */
|
|
64
64
|
);
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
H(
|
|
66
|
+
var oe = ".vc-checkerboard{background-size:contain;bottom:0;left:0;position:absolute;right:0;top:0}";
|
|
67
|
+
H(oe);
|
|
68
68
|
E.render = ae;
|
|
69
69
|
E.__file = "src/components/checkboard/checkboard.vue";
|
|
70
70
|
E.install = A;
|
|
@@ -92,13 +92,13 @@ var D = {
|
|
|
92
92
|
const { container: r } = this.$refs;
|
|
93
93
|
if (!r)
|
|
94
94
|
return;
|
|
95
|
-
const n = r.clientWidth, a = r.getBoundingClientRect().left + window.pageXOffset,
|
|
96
|
-
let
|
|
97
|
-
|
|
95
|
+
const n = r.clientWidth, a = r.getBoundingClientRect().left + window.pageXOffset, o = (e.pageX || (e.touches ? e.touches[0].pageX : 0)) - a;
|
|
96
|
+
let s;
|
|
97
|
+
o < 0 ? s = 0 : o > n ? s = 1 : s = Math.round(o * 100 / n) / 100, this.colors.a !== s && this.$emit("change", {
|
|
98
98
|
h: this.colors.hsl.h,
|
|
99
99
|
s: this.colors.hsl.s,
|
|
100
100
|
l: this.colors.hsl.l,
|
|
101
|
-
a:
|
|
101
|
+
a: s,
|
|
102
102
|
source: "rgba"
|
|
103
103
|
});
|
|
104
104
|
},
|
|
@@ -113,7 +113,7 @@ var D = {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
|
-
const
|
|
116
|
+
const se = { class: "vc-alpha" }, he = { class: "vc-alpha-checkboard-wrap" }, le = /* @__PURE__ */ h(
|
|
117
117
|
"div",
|
|
118
118
|
{ class: "vc-alpha-picker" },
|
|
119
119
|
null,
|
|
@@ -123,10 +123,10 @@ const oe = { class: "vc-alpha" }, he = { class: "vc-alpha-checkboard-wrap" }, le
|
|
|
123
123
|
le
|
|
124
124
|
];
|
|
125
125
|
function ue(e, t, r, n, a, i) {
|
|
126
|
-
const
|
|
127
|
-
return f(), m("div",
|
|
126
|
+
const o = S("Checkboard");
|
|
127
|
+
return f(), m("div", se, [
|
|
128
128
|
h("div", he, [
|
|
129
|
-
v(
|
|
129
|
+
v(o)
|
|
130
130
|
]),
|
|
131
131
|
h(
|
|
132
132
|
"div",
|
|
@@ -143,9 +143,9 @@ function ue(e, t, r, n, a, i) {
|
|
|
143
143
|
{
|
|
144
144
|
ref: "container",
|
|
145
145
|
class: "vc-alpha-container",
|
|
146
|
-
onMousedown: t[0] || (t[0] = (...
|
|
147
|
-
onTouchmove: t[1] || (t[1] = (...
|
|
148
|
-
onTouchstart: t[2] || (t[2] = (...
|
|
146
|
+
onMousedown: t[0] || (t[0] = (...s) => i.handleMouseDown && i.handleMouseDown(...s)),
|
|
147
|
+
onTouchmove: t[1] || (t[1] = (...s) => i.handleChange && i.handleChange(...s)),
|
|
148
|
+
onTouchstart: t[2] || (t[2] = (...s) => i.handleChange && i.handleChange(...s))
|
|
149
149
|
},
|
|
150
150
|
[
|
|
151
151
|
h(
|
|
@@ -201,12 +201,12 @@ function pe(e, t, r) {
|
|
|
201
201
|
}
|
|
202
202
|
function G(e, t, r) {
|
|
203
203
|
e = d(e, 255), t = d(t, 255), r = d(r, 255);
|
|
204
|
-
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0,
|
|
204
|
+
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = 0, s = (n + a) / 2;
|
|
205
205
|
if (n === a)
|
|
206
|
-
|
|
206
|
+
o = 0, i = 0;
|
|
207
207
|
else {
|
|
208
208
|
var u = n - a;
|
|
209
|
-
switch (
|
|
209
|
+
switch (o = s > 0.5 ? u / (2 - n - a) : u / (n + a), n) {
|
|
210
210
|
case e:
|
|
211
211
|
i = (t - r) / u + (t < r ? 6 : 0);
|
|
212
212
|
break;
|
|
@@ -219,7 +219,7 @@ function G(e, t, r) {
|
|
|
219
219
|
}
|
|
220
220
|
i /= 6;
|
|
221
221
|
}
|
|
222
|
-
return { h: i, s, l:
|
|
222
|
+
return { h: i, s: o, l: s };
|
|
223
223
|
}
|
|
224
224
|
function z(e, t, r) {
|
|
225
225
|
return r < 0 && (r += 1), r > 1 && (r -= 1), r < 1 / 6 ? e + (t - e) * (6 * r) : r < 1 / 2 ? t : r < 2 / 3 ? e + (t - e) * (2 / 3 - r) * 6 : e;
|
|
@@ -229,35 +229,35 @@ function ve(e, t, r) {
|
|
|
229
229
|
if (e = d(e, 360), t = d(t, 100), r = d(r, 100), t === 0)
|
|
230
230
|
a = r, i = r, n = r;
|
|
231
231
|
else {
|
|
232
|
-
var
|
|
233
|
-
n = z(
|
|
232
|
+
var o = r < 0.5 ? r * (1 + t) : r + t - r * t, s = 2 * r - o;
|
|
233
|
+
n = z(s, o, e + 1 / 3), a = z(s, o, e), i = z(s, o, e - 1 / 3);
|
|
234
234
|
}
|
|
235
235
|
return { r: n * 255, g: a * 255, b: i * 255 };
|
|
236
236
|
}
|
|
237
237
|
function q(e, t, r) {
|
|
238
238
|
e = d(e, 255), t = d(t, 255), r = d(r, 255);
|
|
239
|
-
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0,
|
|
239
|
+
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, o = n, s = n - a, u = n === 0 ? 0 : s / n;
|
|
240
240
|
if (n === a)
|
|
241
241
|
i = 0;
|
|
242
242
|
else {
|
|
243
243
|
switch (n) {
|
|
244
244
|
case e:
|
|
245
|
-
i = (t - r) /
|
|
245
|
+
i = (t - r) / s + (t < r ? 6 : 0);
|
|
246
246
|
break;
|
|
247
247
|
case t:
|
|
248
|
-
i = (r - e) /
|
|
248
|
+
i = (r - e) / s + 2;
|
|
249
249
|
break;
|
|
250
250
|
case r:
|
|
251
|
-
i = (e - t) /
|
|
251
|
+
i = (e - t) / s + 4;
|
|
252
252
|
break;
|
|
253
253
|
}
|
|
254
254
|
i /= 6;
|
|
255
255
|
}
|
|
256
|
-
return { h: i, s: u, v:
|
|
256
|
+
return { h: i, s: u, v: o };
|
|
257
257
|
}
|
|
258
258
|
function be(e, t, r) {
|
|
259
259
|
e = d(e, 360) * 6, t = d(t, 100), r = d(r, 100);
|
|
260
|
-
var n = Math.floor(e), a = e - n, i = r * (1 - t),
|
|
260
|
+
var n = Math.floor(e), a = e - n, i = r * (1 - t), o = r * (1 - a * t), s = r * (1 - (1 - a) * t), u = n % 6, x = [r, o, i, i, s, r][u], c = [s, r, r, o, i, i][u], l = [i, i, s, r, r, o][u];
|
|
261
261
|
return { r: x * 255, g: c * 255, b: l * 255 };
|
|
262
262
|
}
|
|
263
263
|
function K(e, t, r, n) {
|
|
@@ -444,10 +444,10 @@ var P = {
|
|
|
444
444
|
yellowgreen: "#9acd32"
|
|
445
445
|
};
|
|
446
446
|
function ye(e) {
|
|
447
|
-
var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, i = null,
|
|
448
|
-
return typeof e == "string" && (e = ke(e)), typeof e == "object" && (w(e.r) && w(e.g) && w(e.b) ? (t = pe(e.r, e.g, e.b),
|
|
449
|
-
ok:
|
|
450
|
-
format: e.format ||
|
|
447
|
+
var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, a = null, i = null, o = !1, s = !1;
|
|
448
|
+
return typeof e == "string" && (e = ke(e)), typeof e == "object" && (w(e.r) && w(e.g) && w(e.b) ? (t = pe(e.r, e.g, e.b), o = !0, s = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : w(e.h) && w(e.s) && w(e.v) ? (n = I(e.s), a = I(e.v), t = be(e.h, n, a), o = !0, s = "hsv") : w(e.h) && w(e.s) && w(e.l) && (n = I(e.s), i = I(e.l), t = ve(e.h, n, i), o = !0, s = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (r = e.a)), r = Q(r), {
|
|
449
|
+
ok: o,
|
|
450
|
+
format: e.format || s,
|
|
451
451
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
452
452
|
g: Math.min(255, Math.max(t.g, 0)),
|
|
453
453
|
b: Math.min(255, Math.max(t.b, 0)),
|
|
@@ -523,8 +523,8 @@ var Me = (
|
|
|
523
523
|
var t = this.toRgb();
|
|
524
524
|
return (t.r * 299 + t.g * 587 + t.b * 114) / 1e3;
|
|
525
525
|
}, e.prototype.getLuminance = function() {
|
|
526
|
-
var t = this.toRgb(), r, n, a, i = t.r / 255,
|
|
527
|
-
return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4),
|
|
526
|
+
var t = this.toRgb(), r, n, a, i = t.r / 255, o = t.g / 255, s = t.b / 255;
|
|
527
|
+
return i <= 0.03928 ? r = i / 12.92 : r = Math.pow((i + 0.055) / 1.055, 2.4), o <= 0.03928 ? n = o / 12.92 : n = Math.pow((o + 0.055) / 1.055, 2.4), s <= 0.03928 ? a = s / 12.92 : a = Math.pow((s + 0.055) / 1.055, 2.4), 0.2126 * r + 0.7152 * n + 0.0722 * a;
|
|
528
528
|
}, e.prototype.getAlpha = function() {
|
|
529
529
|
return this.a;
|
|
530
530
|
}, e.prototype.setAlpha = function(t) {
|
|
@@ -585,8 +585,8 @@ var Me = (
|
|
|
585
585
|
if (this.a < 1)
|
|
586
586
|
return !1;
|
|
587
587
|
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(P); r < n.length; r++) {
|
|
588
|
-
var a = n[r], i = a[0],
|
|
589
|
-
if (t ===
|
|
588
|
+
var a = n[r], i = a[0], o = a[1];
|
|
589
|
+
if (t === o)
|
|
590
590
|
return i;
|
|
591
591
|
}
|
|
592
592
|
return !1;
|
|
@@ -630,13 +630,13 @@ var Me = (
|
|
|
630
630
|
return r.h = n < 0 ? 360 + n : n, new e(r);
|
|
631
631
|
}, e.prototype.mix = function(t, r) {
|
|
632
632
|
r === void 0 && (r = 50);
|
|
633
|
-
var n = this.toRgb(), a = new e(t).toRgb(), i = r / 100,
|
|
633
|
+
var n = this.toRgb(), a = new e(t).toRgb(), i = r / 100, o = {
|
|
634
634
|
r: (a.r - n.r) * i + n.r,
|
|
635
635
|
g: (a.g - n.g) * i + n.g,
|
|
636
636
|
b: (a.b - n.b) * i + n.b,
|
|
637
637
|
a: (a.a - n.a) * i + n.a
|
|
638
638
|
};
|
|
639
|
-
return new e(
|
|
639
|
+
return new e(o);
|
|
640
640
|
}, e.prototype.analogous = function(t, r) {
|
|
641
641
|
t === void 0 && (t = 6), r === void 0 && (r = 30);
|
|
642
642
|
var n = this.toHsl(), a = 360 / r, i = [this];
|
|
@@ -648,9 +648,9 @@ var Me = (
|
|
|
648
648
|
return t.h = (t.h + 180) % 360, new e(t);
|
|
649
649
|
}, e.prototype.monochromatic = function(t) {
|
|
650
650
|
t === void 0 && (t = 6);
|
|
651
|
-
for (var r = this.toHsv(), n = r.h, a = r.s, i = r.v,
|
|
652
|
-
|
|
653
|
-
return
|
|
651
|
+
for (var r = this.toHsv(), n = r.h, a = r.s, i = r.v, o = [], s = 1 / t; t--; )
|
|
652
|
+
o.push(new e({ h: n, s: a, v: i })), i = (i + s) % 1;
|
|
653
|
+
return o;
|
|
654
654
|
}, e.prototype.splitcomplement = function() {
|
|
655
655
|
var t = this.toHsl(), r = t.h;
|
|
656
656
|
return [
|
|
@@ -671,8 +671,8 @@ var Me = (
|
|
|
671
671
|
}, e.prototype.tetrad = function() {
|
|
672
672
|
return this.polyad(4);
|
|
673
673
|
}, e.prototype.polyad = function(t) {
|
|
674
|
-
for (var r = this.toHsl(), n = r.h, a = [this], i = 360 / t,
|
|
675
|
-
a.push(new e({ h: (n +
|
|
674
|
+
for (var r = this.toHsl(), n = r.h, a = [this], i = 360 / t, o = 1; o < t; o++)
|
|
675
|
+
a.push(new e({ h: (n + o * i) % 360, s: r.s, l: r.l }));
|
|
676
676
|
return a;
|
|
677
677
|
}, e.prototype.equals = function(t) {
|
|
678
678
|
return this.toRgbString() === new e(t).toRgbString();
|
|
@@ -682,7 +682,7 @@ var Me = (
|
|
|
682
682
|
function y(...e) {
|
|
683
683
|
return new Me(...e);
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function W(e, t) {
|
|
686
686
|
const r = e && e.a;
|
|
687
687
|
let n;
|
|
688
688
|
e && e.hsl ? n = y(e.hsl) : e && e.hex && e.hex.length > 0 ? n = y(e.hex) : e && e.hsv ? n = y(e.hsv) : e && e.rgba ? n = y(e.rgba) : e && e.rgb ? n = y(e.rgb) : n = y(e), n && (n._a === void 0 || n._a === null) && n.setAlpha(r || n.getAlpha());
|
|
@@ -706,7 +706,7 @@ var Se = {
|
|
|
706
706
|
props: ["modelValue"],
|
|
707
707
|
data() {
|
|
708
708
|
return {
|
|
709
|
-
val:
|
|
709
|
+
val: W(this.modelValue)
|
|
710
710
|
};
|
|
711
711
|
},
|
|
712
712
|
computed: {
|
|
@@ -721,12 +721,12 @@ var Se = {
|
|
|
721
721
|
},
|
|
722
722
|
watch: {
|
|
723
723
|
modelValue(e) {
|
|
724
|
-
this.val =
|
|
724
|
+
this.val = W(e);
|
|
725
725
|
}
|
|
726
726
|
},
|
|
727
727
|
methods: {
|
|
728
728
|
colorChange(e, t) {
|
|
729
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
729
|
+
this.oldHue = this.colors.hsl.h, this.colors = W(e, t || this.oldHue);
|
|
730
730
|
},
|
|
731
731
|
isValidHex(e) {
|
|
732
732
|
return y(e).isValid;
|
|
@@ -815,11 +815,11 @@ function Te(e, t, r, n, a, i) {
|
|
|
815
815
|
return f(), m("div", He, [
|
|
816
816
|
R(h("input", {
|
|
817
817
|
ref: "input",
|
|
818
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
818
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => i.val = o),
|
|
819
819
|
"aria-labelledby": i.labelId,
|
|
820
820
|
class: "vc-input__input",
|
|
821
|
-
onKeydown: t[1] || (t[1] = (...
|
|
822
|
-
onInput: t[2] || (t[2] = (...
|
|
821
|
+
onKeydown: t[1] || (t[1] = (...o) => i.handleKeyDown && i.handleKeyDown(...o)),
|
|
822
|
+
onInput: t[2] || (t[2] = (...o) => i.update && i.update(...o))
|
|
823
823
|
}, null, 40, Ae), [
|
|
824
824
|
[ee, i.val]
|
|
825
825
|
]),
|
|
@@ -842,7 +842,7 @@ H(Le);
|
|
|
842
842
|
F.render = Te;
|
|
843
843
|
F.__file = "src/components/editable-input/editable-input.vue";
|
|
844
844
|
F.install = A;
|
|
845
|
-
function
|
|
845
|
+
function X(e, t, r) {
|
|
846
846
|
return t < r ? e < t ? t : e > r ? r : e : e < r ? r : e > t ? t : e;
|
|
847
847
|
}
|
|
848
848
|
var B = {
|
|
@@ -870,7 +870,7 @@ var B = {
|
|
|
870
870
|
const { container: r } = this.$refs;
|
|
871
871
|
if (!r)
|
|
872
872
|
return;
|
|
873
|
-
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset,
|
|
873
|
+
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = X(s - i, 0, n), c = X(u - o, 0, a), l = x / n, M = X(-(c / a) + 1, 0, 1);
|
|
874
874
|
this.onChange({
|
|
875
875
|
h: this.colors.hsv.h,
|
|
876
876
|
s: l,
|
|
@@ -921,9 +921,9 @@ function Ne(e, t, r, n, a, i) {
|
|
|
921
921
|
ref: "container",
|
|
922
922
|
class: "vc-saturation",
|
|
923
923
|
style: k({ background: i.bgColor }),
|
|
924
|
-
onMousedown: t[0] || (t[0] = (...
|
|
925
|
-
onTouchmove: t[1] || (t[1] = (...
|
|
926
|
-
onTouchstart: t[2] || (t[2] = (...
|
|
924
|
+
onMousedown: t[0] || (t[0] = (...o) => i.handleMouseDown && i.handleMouseDown(...o)),
|
|
925
|
+
onTouchmove: t[1] || (t[1] = (...o) => i.handleChange && i.handleChange(...o)),
|
|
926
|
+
onTouchstart: t[2] || (t[2] = (...o) => i.handleChange && i.handleChange(...o))
|
|
927
927
|
},
|
|
928
928
|
[
|
|
929
929
|
Ie,
|
|
@@ -997,7 +997,7 @@ var N = {
|
|
|
997
997
|
const { container: r } = this.$refs;
|
|
998
998
|
if (!r)
|
|
999
999
|
return;
|
|
1000
|
-
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset,
|
|
1000
|
+
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, o = r.getBoundingClientRect().top + window.pageYOffset, s = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = s - i, c = u - o;
|
|
1001
1001
|
let l, M;
|
|
1002
1002
|
this.direction === "vertical" ? (c < 0 ? l = 360 : c > a ? l = 0 : (M = -(c * 100 / a) + 100, l = 360 * M / 100), this.colors.hsl.h !== l && this.$emit("change", {
|
|
1003
1003
|
h: l,
|
|
@@ -1047,9 +1047,9 @@ function $e(e, t, r, n, a, i) {
|
|
|
1047
1047
|
"aria-valuenow": i.colors.hsl.h,
|
|
1048
1048
|
"aria-valuemin": "0",
|
|
1049
1049
|
"aria-valuemax": "360",
|
|
1050
|
-
onMousedown: t[0] || (t[0] = (...
|
|
1051
|
-
onTouchmove: t[1] || (t[1] = (...
|
|
1052
|
-
onTouchstart: t[2] || (t[2] = (...
|
|
1050
|
+
onMousedown: t[0] || (t[0] = (...o) => i.handleMouseDown && i.handleMouseDown(...o)),
|
|
1051
|
+
onTouchmove: t[1] || (t[1] = (...o) => i.handleChange && i.handleChange(...o)),
|
|
1052
|
+
onTouchstart: t[2] || (t[2] = (...o) => i.handleChange && i.handleChange(...o))
|
|
1053
1053
|
}, [
|
|
1054
1054
|
h(
|
|
1055
1055
|
"div",
|
|
@@ -1181,7 +1181,7 @@ var O = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const
|
|
1184
|
+
const We = { class: "vc-chrome-saturation-wrap" }, Xe = { class: "vc-chrome-body" }, Pe = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
|
|
1185
1185
|
key: 0,
|
|
1186
1186
|
class: "vc-chrome-alpha-wrap"
|
|
1187
1187
|
}, Je = {
|
|
@@ -1190,7 +1190,7 @@ const Xe = { class: "vc-chrome-saturation-wrap" }, We = { class: "vc-chrome-body
|
|
|
1190
1190
|
}, Qe = { class: "vc-chrome-fields" }, et = { class: "vc-chrome-field" }, tt = { class: "vc-chrome-fields" }, rt = { class: "vc-chrome-field" }, nt = { class: "vc-chrome-field" }, it = { class: "vc-chrome-field" }, at = {
|
|
1191
1191
|
key: 0,
|
|
1192
1192
|
class: "vc-chrome-field"
|
|
1193
|
-
},
|
|
1193
|
+
}, ot = { class: "vc-chrome-fields" }, st = { class: "vc-chrome-field" }, ht = { class: "vc-chrome-field" }, lt = { class: "vc-chrome-field" }, ct = {
|
|
1194
1194
|
key: 0,
|
|
1195
1195
|
class: "vc-chrome-field"
|
|
1196
1196
|
}, ut = { class: "vc-chrome-toggle-icon" }, dt = /* @__PURE__ */ h(
|
|
@@ -1206,7 +1206,7 @@ const Xe = { class: "vc-chrome-saturation-wrap" }, We = { class: "vc-chrome-body
|
|
|
1206
1206
|
dt
|
|
1207
1207
|
], gt = { class: "vc-chrome-toggle-icon-highlight" };
|
|
1208
1208
|
function pt(e, t, r, n, a, i) {
|
|
1209
|
-
const
|
|
1209
|
+
const o = S("Saturation"), s = S("Checkboard"), u = S("Hue"), x = S("Alpha"), c = S("EdIn");
|
|
1210
1210
|
return f(), m(
|
|
1211
1211
|
"div",
|
|
1212
1212
|
{
|
|
@@ -1215,13 +1215,13 @@ function pt(e, t, r, n, a, i) {
|
|
|
1215
1215
|
class: J(["vc-chrome", [r.disableAlpha ? "vc-chrome__disable-alpha" : ""]])
|
|
1216
1216
|
},
|
|
1217
1217
|
[
|
|
1218
|
-
h("div",
|
|
1219
|
-
v(
|
|
1218
|
+
h("div", We, [
|
|
1219
|
+
v(o, {
|
|
1220
1220
|
value: e.colors,
|
|
1221
1221
|
onChange: i.childChange
|
|
1222
1222
|
}, null, 8, ["value", "onChange"])
|
|
1223
1223
|
]),
|
|
1224
|
-
h("div",
|
|
1224
|
+
h("div", Xe, [
|
|
1225
1225
|
h("div", Pe, [
|
|
1226
1226
|
h("div", Ye, [
|
|
1227
1227
|
h("div", {
|
|
@@ -1229,7 +1229,7 @@ function pt(e, t, r, n, a, i) {
|
|
|
1229
1229
|
class: "vc-chrome-active-color",
|
|
1230
1230
|
style: k({ background: i.activeColor })
|
|
1231
1231
|
}, null, 12, Ge),
|
|
1232
|
-
r.disableAlpha ? p("v-if", !0) : (f(), U(
|
|
1232
|
+
r.disableAlpha ? p("v-if", !0) : (f(), U(s, { key: 0 }))
|
|
1233
1233
|
]),
|
|
1234
1234
|
h("div", qe, [
|
|
1235
1235
|
h("div", Ke, [
|
|
@@ -1315,10 +1315,10 @@ function pt(e, t, r, n, a, i) {
|
|
|
1315
1315
|
]),
|
|
1316
1316
|
R(h(
|
|
1317
1317
|
"div",
|
|
1318
|
-
|
|
1318
|
+
ot,
|
|
1319
1319
|
[
|
|
1320
1320
|
p(" hsla "),
|
|
1321
|
-
h("div",
|
|
1321
|
+
h("div", st, [
|
|
1322
1322
|
v(c, {
|
|
1323
1323
|
label: "h",
|
|
1324
1324
|
value: i.hsl.h,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { C as U } from "./CPhoneInput-
|
|
3
|
-
import { w as v } from "./CDropdownItem-
|
|
4
|
-
import { _ as F,
|
|
5
|
-
import { u as E } from "./index-
|
|
6
|
-
import {
|
|
7
|
-
import { s as
|
|
8
|
-
const { mapFields:
|
|
1
|
+
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js";
|
|
2
|
+
import { C as U } from "./CPhoneInput-9AwTJm-0.js";
|
|
3
|
+
import { w as v } from "./CDropdownItem-E-kRDIiy.js";
|
|
4
|
+
import { _ as F, m as P, ap as f, aq as S, a as M, b as r, d as N, o as y, j as d, c as V, e as z, f as i, t as h, w as m, q as I, W as _, am as $, x as O, g as l } from "./main-BayUZ9OO.js";
|
|
5
|
+
import { u as E } from "./index-C3pnyYI4.js";
|
|
6
|
+
import { e as k, r as w } from "./index-XzoHqJIR.js";
|
|
7
|
+
import { s as q, a as C } from "./publicSenderState-CblTasKp.js";
|
|
8
|
+
const { mapFields: R } = S({
|
|
9
9
|
getterType: "forms/getField",
|
|
10
10
|
mutationType: "forms/updateField"
|
|
11
|
-
}),
|
|
11
|
+
}), B = {
|
|
12
12
|
name: "CompanyModal",
|
|
13
13
|
components: {
|
|
14
14
|
CPhoneInput: U,
|
|
@@ -38,21 +38,21 @@ const { mapFields: B } = P({
|
|
|
38
38
|
},
|
|
39
39
|
validations: {
|
|
40
40
|
name: {
|
|
41
|
-
required:
|
|
41
|
+
required: w
|
|
42
42
|
},
|
|
43
43
|
email: {
|
|
44
|
-
email:
|
|
44
|
+
email: k
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
computed: {
|
|
48
|
-
...
|
|
48
|
+
...M({
|
|
49
49
|
isPostingCompany: "companies/isPosting",
|
|
50
50
|
isPostingUser: "companyUsers/isPosting",
|
|
51
51
|
hasChanged: "forms/hasChanged",
|
|
52
52
|
companyRegion: "application/companyRegion",
|
|
53
53
|
can: "application/can"
|
|
54
54
|
}),
|
|
55
|
-
...
|
|
55
|
+
...R({
|
|
56
56
|
company: "company",
|
|
57
57
|
user: "companyUser",
|
|
58
58
|
name: "company.name",
|
|
@@ -96,7 +96,7 @@ const { mapFields: B } = P({
|
|
|
96
96
|
this.$refs[this.inputFocusOnMount] ? this.$refs[this.inputFocusOnMount].$el.querySelector("input").focus() : this.$refs.name.$el.querySelector("input").focus();
|
|
97
97
|
},
|
|
98
98
|
methods: {
|
|
99
|
-
...
|
|
99
|
+
...P({
|
|
100
100
|
formEditCompany: l.FORM_EDIT_COMPANY,
|
|
101
101
|
formEditCompanyUser: l.FORM_EDIT_COMPANY_USER,
|
|
102
102
|
formSubmitCompany: l.FORM_SUBMIT_COMPANY,
|
|
@@ -111,7 +111,7 @@ const { mapFields: B } = P({
|
|
|
111
111
|
}));
|
|
112
112
|
},
|
|
113
113
|
async save() {
|
|
114
|
-
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ?
|
|
114
|
+
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? q({ company: this.company, user: this.user }) : await Promise.all([
|
|
115
115
|
...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
|
|
116
116
|
...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
|
|
117
117
|
]), this.$emit("close"), this.isLoading = !1);
|
|
@@ -124,11 +124,11 @@ const { mapFields: B } = P({
|
|
|
124
124
|
function D(e, a, c, p, Y, s) {
|
|
125
125
|
const u = r("CButton"), t = r("CInput"), n = r("CField"), g = r("CPhoneInput");
|
|
126
126
|
return y(), N("div", {
|
|
127
|
-
class:
|
|
127
|
+
class: O([{
|
|
128
128
|
"full-screen": s.isFullScreen,
|
|
129
129
|
"modal-overlay": !0
|
|
130
130
|
}, "font-inter"]),
|
|
131
|
-
onClickPassive: a[5] || (a[5] =
|
|
131
|
+
onClickPassive: a[5] || (a[5] = $((...o) => s.close && s.close(...o), ["self"]))
|
|
132
132
|
}, [
|
|
133
133
|
d("div", {
|
|
134
134
|
style: _(!s.isFullScreen && { padding: "calc(3 * var(--rem))" }),
|
|
@@ -244,7 +244,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
244
244
|
], 4)
|
|
245
245
|
], 34);
|
|
246
246
|
}
|
|
247
|
-
const Q = /* @__PURE__ */ F(
|
|
247
|
+
const Q = /* @__PURE__ */ F(B, [["render", D], ["__scopeId", "data-v-cfd3117b"]]);
|
|
248
248
|
export {
|
|
249
249
|
Q as default
|
|
250
250
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as T } from "./mapFormMixin-
|
|
2
|
-
import { B as k } from "./BlockMedia-
|
|
3
|
-
import { t as w } from "./template-
|
|
4
|
-
import { T as L } from "./DocTextEditor-
|
|
5
|
-
import { _ as
|
|
1
|
+
import { m as T } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { B as k } from "./BlockMedia-BGPxfM2X.js";
|
|
3
|
+
import { t as w } from "./template-CvGgzazD.js";
|
|
4
|
+
import { T as L } from "./DocTextEditor-KrfylSV6.js";
|
|
5
|
+
import { _ as h, d, o as l, T as s, j as p, x as b, ag as $, ad as x, af as C, l as S, b2 as N, b as i, f, w as m, c as u, e as _, R as E } from "./main-BayUZ9OO.js";
|
|
6
6
|
import { i as F } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const M = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -23,7 +23,7 @@ const M = {
|
|
|
23
23
|
class: "flex w-full flex-col justify-center",
|
|
24
24
|
style: { flex: "1 1 auto" }
|
|
25
25
|
};
|
|
26
|
-
function j(e, t, n,
|
|
26
|
+
function j(e, t, n, g, v, o) {
|
|
27
27
|
return ["horizontal"].includes(n.layout) ? (l(), d("div", B, [
|
|
28
28
|
s(e.$slots, "logo"),
|
|
29
29
|
p("div", V, [
|
|
@@ -46,15 +46,15 @@ function j(e, t, n, v, g, o) {
|
|
|
46
46
|
s(e.$slots, "postText")
|
|
47
47
|
], 2));
|
|
48
48
|
}
|
|
49
|
-
const z = /* @__PURE__ */
|
|
49
|
+
const z = /* @__PURE__ */ h(M, [["render", j]]), A = {
|
|
50
50
|
name: "StaticLayout",
|
|
51
51
|
i18nOptions: {
|
|
52
52
|
namespaces: "staticLayout",
|
|
53
53
|
messages: F
|
|
54
54
|
},
|
|
55
55
|
components: {
|
|
56
|
-
DocumentLogotype:
|
|
57
|
-
() => import("./DocumentLogotype-
|
|
56
|
+
DocumentLogotype: S(
|
|
57
|
+
() => import("./DocumentLogotype-BFo5UEWS.js")
|
|
58
58
|
),
|
|
59
59
|
StaticComboLayout: z,
|
|
60
60
|
TextEditor: L
|
|
@@ -93,7 +93,7 @@ const z = /* @__PURE__ */ f(M, [["render", j]]), A = {
|
|
|
93
93
|
set(e) {
|
|
94
94
|
this.documentName = e, this.$emit("input", {
|
|
95
95
|
key: "data.name",
|
|
96
|
-
value:
|
|
96
|
+
value: N(e).trim().slice(0, 255)
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -102,20 +102,20 @@ const z = /* @__PURE__ */ f(M, [["render", j]]), A = {
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
methods: {
|
|
105
|
-
mustacheToSpan:
|
|
105
|
+
mustacheToSpan: C,
|
|
106
106
|
spanToMustache: x,
|
|
107
|
-
interpolateString:
|
|
107
|
+
interpolateString: $
|
|
108
108
|
}
|
|
109
109
|
}, I = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, U = ["innerHTML"];
|
|
110
|
-
function D(e, t, n,
|
|
110
|
+
function D(e, t, n, g, v, o) {
|
|
111
111
|
const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
|
|
112
112
|
return l(), d("div", {
|
|
113
113
|
class: b([[`is-layout-${e.layout}`], "dont-break-out hyphens-auto flex w-full flex-col break-words"]),
|
|
114
114
|
style: { "word-wrap": "break-word", "word-break": "break-word" }
|
|
115
115
|
}, [
|
|
116
|
-
|
|
116
|
+
f(y, { layout: e.layout }, {
|
|
117
117
|
logo: m(() => [
|
|
118
|
-
|
|
118
|
+
f(c, {
|
|
119
119
|
modelValue: e.logotype,
|
|
120
120
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.logotype = a),
|
|
121
121
|
"show-logo": e.showLogo,
|
|
@@ -191,10 +191,10 @@ function D(e, t, n, v, g, o) {
|
|
|
191
191
|
}, 8, ["layout"])
|
|
192
192
|
], 2);
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const O = /* @__PURE__ */ h(A, [["render", D], ["__scopeId", "data-v-b03d5c66"]]), q = {
|
|
195
195
|
name: "ContentWrapper",
|
|
196
196
|
components: {
|
|
197
|
-
StaticCombo:
|
|
197
|
+
StaticCombo: O,
|
|
198
198
|
BlockMedia: k
|
|
199
199
|
},
|
|
200
200
|
emits: ["input"],
|
|
@@ -228,7 +228,7 @@ const q = /* @__PURE__ */ f(A, [["render", D], ["__scopeId", "data-v-b03d5c66"]]
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}, W = { class: "content-spacing" };
|
|
231
|
-
function
|
|
231
|
+
function P(e, t, n, g, v, o) {
|
|
232
232
|
const c = i("BlockMedia"), r = i("StaticCombo");
|
|
233
233
|
return l(), d("div", E(e.$attrs, {
|
|
234
234
|
style: { color: o.color, textAlign: o.textAlign },
|
|
@@ -240,7 +240,7 @@ function J(e, t, n, v, g, o) {
|
|
|
240
240
|
class: "content-media"
|
|
241
241
|
}, null, 8, ["media"])) : _("", !0),
|
|
242
242
|
p("div", W, [
|
|
243
|
-
|
|
243
|
+
f(r, {
|
|
244
244
|
"has-hover": n.hasHover,
|
|
245
245
|
_document: e._document,
|
|
246
246
|
_value: {
|
|
@@ -257,7 +257,7 @@ function J(e, t, n, v, g, o) {
|
|
|
257
257
|
])
|
|
258
258
|
], 16);
|
|
259
259
|
}
|
|
260
|
-
const Y = /* @__PURE__ */
|
|
260
|
+
const Y = /* @__PURE__ */ h(q, [["render", P], ["__scopeId", "data-v-22ef2030"]]);
|
|
261
261
|
export {
|
|
262
262
|
Y as default
|
|
263
263
|
};
|