@cling-se/widget 0.19.5 → 0.19.7
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 +12 -0
- package/dist/{AddClientCallout-B3NbV9vX.js → AddClientCallout-BdGevuQo.js} +6 -6
- package/dist/{AnswerModal-C_at-56v.js → AnswerModal-DfjF-RVP.js} +3 -3
- package/dist/{AttachmentItem-C4kyomn3.js → AttachmentItem-BEd3qVAo.js} +17 -17
- package/dist/{BaseUpload-Z3O2bebR.js → BaseUpload-Zm4EX8ir.js} +2 -2
- package/dist/{BlockMedia-BSGtFCsS.js → BlockMedia-ZHaA4OMV.js} +14 -14
- package/dist/CCallout-BlglVZrm.js +124 -0
- package/dist/{CCurrencyDropdown-CyFge_fD.js → CCurrencyDropdown-BzvKsm1N.js} +9 -9
- package/dist/{CDropdownItem-BWmAQwpG.js → CDropdownItem-B5rgSee7.js} +7 -7
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js → CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js} +18 -18
- package/dist/{CPhoneFormat-D-BGsI3p.js → CPhoneFormat-DaDNMlmK.js} +1 -1
- package/dist/{CPhoneInput-Dl7BSG8y.js → CPhoneInput-BUogm59J.js} +18 -18
- package/dist/{CPriceInput-C8Os9b3V.js → CPriceInput-Cd5OHMJS.js} +11 -11
- package/dist/CSelect-CmoAbVkP.js +129 -0
- package/dist/CSkeleton-BF6EYj8H.js +47 -0
- package/dist/{ClientAutocomplete-0XPP0tZr.js → ClientAutocomplete-CHfp4YiV.js} +18 -18
- package/dist/{ClientModal-Ddv5YiOD.js → ClientModal-Com23Qgc.js} +31 -31
- package/dist/{ColorPicker-ClWlJZqh.js → ColorPicker-BzdHtZep.js} +26 -26
- package/dist/{CompanyModal-CdisHhTQ.js → CompanyModal-CGjSgTEJ.js} +16 -16
- package/dist/{ContentWrapper-BZ_ff5l9.js → ContentWrapper-CS-Bh4Bk.js} +21 -21
- package/dist/{CoverBlockSettings-C3F4jTwa.js → CoverBlockSettings-DDHQzLdc.js} +28 -28
- package/dist/{DocAnswer-BkbWkje5.js → DocAnswer-Cmdsw_CW.js} +2 -2
- package/dist/{DocDetails-DxUXsbDV.js → DocDetails-C5Vzh550.js} +28 -28
- package/dist/{DocForm-CABBteE8.js → DocForm-DEUVV11n.js} +994 -960
- package/dist/{DocFormSend-xGIxXjxv.js → DocFormSend-Dt7N3wCz.js} +2 -2
- package/dist/{DocLinks-D01zyA-z.js → DocLinks-C6-Er0rk.js} +2 -2
- package/dist/{DocModalBase-DfrPL4tZ.js → DocModalBase-DbuJwHXi.js} +1 -1
- package/dist/{DocPrint-BSKYDCQc.js → DocPrint-D_uxg7qD.js} +6 -6
- package/dist/{DocReceipt-D5Oqb1cC.js → DocReceipt-D6LP9UAa.js} +16 -16
- package/dist/{DocSendReminder-IbCLg9tW.js → DocSendReminder-DopLhyjz.js} +8 -8
- package/dist/{DocTextEditor-BVba4QPz.js → DocTextEditor-DeZtzbgm.js} +8 -8
- package/dist/{DocTimeline-CaX19zwg.js → DocTimeline-DAWZu_KT.js} +25 -25
- package/dist/{DocumentClient-DSQnO5KJ.js → DocumentClient-kxnT6k9s.js} +7 -7
- package/dist/{DocumentLayout-CkNcKcB_.js → DocumentLayout-DaVz9SGF.js} +68 -68
- package/dist/{DocumentLogotype-DAVtl6S_.js → DocumentLogotype-G-a7gBIC.js} +6 -6
- package/dist/{DocumentVoided-DZYqqkrE.js → DocumentVoided-SG_ShMmc.js} +5 -5
- package/dist/{EmbedInput-BpVkRhg5.js → EmbedInput-CJL5y3Zj.js} +9 -9
- package/dist/{EmbedSettings-BHjex6QD.js → EmbedSettings-B0X6A9Uy.js} +9 -9
- package/dist/{ErrorCallout-B9TlMH-g.js → ErrorCallout-xCSfpQWV.js} +7 -7
- package/dist/{FilePreviewModal-DP6yokyq.js → FilePreviewModal-Da_pMUoO.js} +6 -6
- package/dist/{Flag-D3GdVwWB.js → Flag-wXawyyMO.js} +1 -1
- package/dist/{HeaderSettings-sb4vPDsi.js → HeaderSettings-CD3y6-uY.js} +37 -37
- package/dist/{ImageSelectModal-CicYONc-.js → ImageSelectModal-DatnXHH1.js} +5 -5
- package/dist/{ImageUploadWrapper-CLq06imX.js → ImageUploadWrapper-CwKe3Iq7.js} +33 -33
- package/dist/{Index-2jg0DL-m.js → Index-1WPEpaVr.js} +4 -4
- package/dist/{Index-Dv0eryvg.js → Index-9ZFW8Ka7.js} +4 -4
- package/dist/{Index-Be0qeiZi.js → Index-B53eUt7Y.js} +10 -10
- package/dist/{Index-BrIFaQcB.js → Index-BJf4YdYB.js} +14 -14
- package/dist/{Index-AjcnSKQD.js → Index-BTDQax0X.js} +16 -16
- package/dist/{Index-SXJlaLRr.js → Index-Bb6JZC8l.js} +4 -4
- package/dist/{Index-DdlkzMzM.js → Index-BbVHxVFJ.js} +20 -20
- package/dist/{Index-CoadaoP0.js → Index-BlownK7_.js} +6 -6
- package/dist/{Index-BsM0XvZj.js → Index-BvAqglwa.js} +33 -33
- package/dist/{Index-CzqNrUn3.js → Index-C-EUJjuk.js} +2 -2
- package/dist/{Index-BpObvjSu.js → Index-C2-s62x7.js} +5 -5
- package/dist/{Index-DH9dMzsw.js → Index-COF0evH4.js} +10 -10
- package/dist/{Index-BtECdggQ.js → Index-CQboLS2e.js} +5 -5
- package/dist/{Index-CpGzRzMp.js → Index-CTrX3VRa.js} +5 -5
- package/dist/{Index-BU2qksFA.js → Index-CXjLkK_n.js} +13 -13
- package/dist/{Index-6H0VT88W.js → Index-Ciy9lnhS.js} +3 -3
- package/dist/{Index-BWTeXf8h.js → Index-Cjg3X74T.js} +4 -4
- package/dist/{Index-KZslz-16.js → Index-Ck-_9woY.js} +29 -29
- package/dist/{Index-DGLmjotr.js → Index-Ct735UtM.js} +2 -2
- package/dist/{Index-BePivEDQ.js → Index-D-gJQEAD.js} +3 -3
- package/dist/{Index-Bf3O-9-j.js → Index-DAkq_7Ws.js} +11 -11
- package/dist/{Index-szvZl8G-.js → Index-DOeHci16.js} +6 -6
- package/dist/{Index-BHvpY8xR.js → Index-DfuzxXzD.js} +2 -2
- package/dist/{Index-0JuAv1tp.js → Index-Dfy0PsiW.js} +25 -25
- package/dist/{Index-DO8qwrXi.js → Index-DjfbgA_7.js} +19 -19
- package/dist/{Index-CmDRJ5Xr.js → Index-DkQ8_VkX.js} +8 -8
- package/dist/{Index-DPF_0b3a.js → Index-Dxg4gEKd.js} +18 -18
- package/dist/{Index-DnnRIESN.js → Index-DzdEqsZB.js} +8 -8
- package/dist/{Index--erm1oIh.js → Index-GPliVrhC.js} +5 -5
- package/dist/{Index-RhHHrJtM.js → Index-NnBwJv9v.js} +6 -6
- package/dist/{Index-BIrwUJlj.js → Index-ezY0DbcB.js} +10 -10
- package/dist/Index-qFx0G3fC.js +4 -0
- package/dist/{Index-DijI5XXh.js → Index-yS5OPrJJ.js} +2 -2
- package/dist/{Index-0imHv6b4.js → Index-y_AJP61r.js} +12 -12
- package/dist/{Index.vue_vue_type_script_lang-CXjOi3FM.js → Index.vue_vue_type_script_lang-B3RoDZmC.js} +2 -2
- package/dist/{InputToggleRow-3992FkvA.js → InputToggleRow-D5rvQpAw.js} +11 -11
- package/dist/{ManualPopover-UiHhIKuw.js → ManualPopover-Bd-GsLGT.js} +6 -6
- package/dist/{MediaWrapper-BlaBWAWe.js → MediaWrapper-Ci0XPCcb.js} +3 -3
- package/dist/{NotBindingText-C14r7OLr.js → NotBindingText-DhndGZE3.js} +2 -2
- package/dist/{PackageGroup-ClZiyb95.js → PackageGroup-4Jt9ClVO.js} +17 -17
- package/dist/{PdfTerms-CbVKGNxc.js → PdfTerms-CGeJDJpQ.js} +5 -5
- package/dist/{PdfViewer-B_7DfQr7.js → PdfViewer-o2vb6Fya.js} +78 -78
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js → PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js} +1 -1
- package/dist/{PriceHeader-DRkCMuGD.js → PriceHeader-BsObxLHK.js} +31 -31
- package/dist/{SearchApi-6-uNsMl8.js → SearchApi-ZczKsBb7.js} +1 -1
- package/dist/{SendForm-DnwHPbWV.js → SendForm-D5jqkofo.js} +8 -8
- package/dist/{Setup-Dz3ZCvFw.js → Setup-CdZzn0qW.js} +1 -1
- package/dist/{SmartList-7RooD2fY.js → SmartList-B36ffGAZ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js → Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js} +31 -31
- package/dist/{TermsSettings-BEB2t3Ut.js → TermsSettings-CmAHVOuX.js} +14 -14
- package/dist/{ThemeColorRow-XE9QcVAy.js → ThemeColorRow-CScTIcPB.js} +6 -6
- package/dist/{ToggleBinding-BeXQfpcK.js → ToggleBinding-CVZZlpBR.js} +4 -4
- package/dist/{UploadModal-pRlJXk-Y.js → UploadModal-2tXsmGMM.js} +4 -4
- package/dist/{VideoPlayerInput-qankN5Ed.js → VideoPlayerInput-BDzjZ2St.js} +9 -9
- package/dist/{VideoPlayerSettings-WijGYtE2.js → VideoPlayerSettings-BLAEZw4C.js} +6 -6
- package/dist/{VideoSelectModal-Dhb7CmVu.js → VideoSelectModal-iqgmg85K.js} +16 -16
- package/dist/{focusDrawerMixin-DELQ4Leq.js → focusDrawerMixin-BmyahQiE.js} +1 -1
- package/dist/{formDrawerState-D_OOByIg.js → formDrawerState-B7ASfNsk.js} +1 -1
- package/dist/{helpers-BnYWgq30.js → helpers-BVP2Pul1.js} +5 -5
- package/dist/{index-CFD_4fv_.js → index-B86TZXOh.js} +32 -32
- package/dist/{index-KcSRVleg.js → index-BDb4bM0D.js} +17 -17
- package/dist/{index-BIWUM14f.js → index-BH5vwOzR.js} +3 -3
- package/dist/{index-BGFTOrwb.js → index-Cd4S4J-L.js} +56 -56
- package/dist/{index-DRINkuNg.js → index-CsbYpQqP.js} +44 -43
- package/dist/{index-P4A85Ytd.js → index-D0Qee2OX.js} +34 -34
- package/dist/{index-6175cimw.js → index-DXNrJnEc.js} +7 -7
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +137 -137
- package/dist/{main-q_EWffDQ.js → main-C2Q8_T2Y.js} +11468 -11445
- package/dist/{mapFormMixin-DjPlsXfr.js → mapFormMixin-CjfqZnmd.js} +6 -6
- package/dist/{omit-DWur9Ujv.js → omit-DzlbtNCX.js} +4 -4
- package/dist/{publicSenderState-BkZVvtJm.js → publicSenderState-C3ELW8Cw.js} +3 -3
- package/dist/{splitpanes-BR5qxnsj.js → splitpanes-CuxtOZyV.js} +1 -1
- package/dist/{template-CQlJbqXR.js → template-DzrGrOEa.js} +1 -1
- package/dist/{tippy.esm-BABwSp3j.js → tippy.esm-Bf86qEue.js} +89 -89
- package/dist/{useTermsModal-Bj2B-TdQ.js → useTermsModal-Be4HLDDm.js} +6 -6
- package/dist/{utils-C53ntVIe.js → utils-a_Odlqb5.js} +1 -1
- package/dist/{validation-u_PNxOm8.js → validation-38muBV6x.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/CCallout-DRBCakh2.js +0 -104
- package/dist/CSelect-DXAAKhB6.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js +0 -51
- package/dist/Index-B5zszB2v.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as f, b as m,
|
|
1
|
+
import { o as f, b as m, Y as k, e as S, j as h, d as v, I as R, bY as ee, t as Y, y as J, c as U, f as p, J as T, _ as te } from "./main-C2Q8_T2Y.js";
|
|
2
2
|
const re = "";
|
|
3
3
|
function H(e, t) {
|
|
4
4
|
t === void 0 && (t = {});
|
|
@@ -293,7 +293,7 @@ function we(e) {
|
|
|
293
293
|
b: e & 255
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
var
|
|
296
|
+
var P = {
|
|
297
297
|
aliceblue: "#f0f8ff",
|
|
298
298
|
antiquewhite: "#faebd7",
|
|
299
299
|
aqua: "#00ffff",
|
|
@@ -454,14 +454,14 @@ function ye(e) {
|
|
|
454
454
|
a: r
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"),
|
|
457
|
+
var Ce = "[-\\+]?\\d+%?", _e = "[-\\+]?\\d*\\.\\d+%?", C = "(?:".concat(_e, ")|(?:").concat(Ce, ")"), $ = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), j = "[\\s|\\(]+(".concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")[,|\\s]+(").concat(C, ")\\s*\\)?"), b = {
|
|
458
458
|
CSS_UNIT: new RegExp(C),
|
|
459
|
-
rgb: new RegExp("rgb" +
|
|
460
|
-
rgba: new RegExp("rgba" +
|
|
461
|
-
hsl: new RegExp("hsl" +
|
|
462
|
-
hsla: new RegExp("hsla" +
|
|
463
|
-
hsv: new RegExp("hsv" +
|
|
464
|
-
hsva: new RegExp("hsva" +
|
|
459
|
+
rgb: new RegExp("rgb" + $),
|
|
460
|
+
rgba: new RegExp("rgba" + j),
|
|
461
|
+
hsl: new RegExp("hsl" + $),
|
|
462
|
+
hsla: new RegExp("hsla" + j),
|
|
463
|
+
hsv: new RegExp("hsv" + $),
|
|
464
|
+
hsva: new RegExp("hsva" + j),
|
|
465
465
|
hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
466
466
|
hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
|
|
467
467
|
hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
|
|
@@ -471,8 +471,8 @@ function ke(e) {
|
|
|
471
471
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
472
472
|
return !1;
|
|
473
473
|
var t = !1;
|
|
474
|
-
if (
|
|
475
|
-
e =
|
|
474
|
+
if (P[e])
|
|
475
|
+
e = P[e], t = !0;
|
|
476
476
|
else if (e === "transparent")
|
|
477
477
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
478
478
|
var r = b.rgb.exec(e);
|
|
@@ -584,7 +584,7 @@ var Me = (
|
|
|
584
584
|
return "transparent";
|
|
585
585
|
if (this.a < 1)
|
|
586
586
|
return !1;
|
|
587
|
-
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(
|
|
587
|
+
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(P); r < n.length; r++) {
|
|
588
588
|
var a = n[r], i = a[0], s = a[1];
|
|
589
589
|
if (t === s)
|
|
590
590
|
return i;
|
|
@@ -682,7 +682,7 @@ var Me = (
|
|
|
682
682
|
function y(...e) {
|
|
683
683
|
return new Me(...e);
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function X(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: X(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 = X(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 = X(e, t || this.oldHue);
|
|
730
730
|
},
|
|
731
731
|
isValidHex(e) {
|
|
732
732
|
return y(e).isValid;
|
|
@@ -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 W(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, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x =
|
|
873
|
+
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = W(o - i, 0, n), c = W(u - s, 0, a), l = x / n, M = W(-(c / a) + 1, 0, 1);
|
|
874
874
|
this.onChange({
|
|
875
875
|
h: this.colors.hsv.h,
|
|
876
876
|
s: l,
|
|
@@ -1033,7 +1033,7 @@ const Ue = ["aria-valuenow"], Ve = /* @__PURE__ */ h(
|
|
|
1033
1033
|
), ze = [
|
|
1034
1034
|
Ve
|
|
1035
1035
|
];
|
|
1036
|
-
function
|
|
1036
|
+
function $e(e, t, r, n, a, i) {
|
|
1037
1037
|
return f(), m(
|
|
1038
1038
|
"div",
|
|
1039
1039
|
{
|
|
@@ -1068,9 +1068,9 @@ function Xe(e, t, r, n, a, i) {
|
|
|
1068
1068
|
/* CLASS */
|
|
1069
1069
|
);
|
|
1070
1070
|
}
|
|
1071
|
-
var
|
|
1072
|
-
H(
|
|
1073
|
-
N.render =
|
|
1071
|
+
var je = ".vc-hue{border-radius:2px;bottom:0;left:0;position:absolute;right:0;top:0}.vc-hue--horizontal{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue--vertical{background:linear-gradient(0deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.vc-hue-container{cursor:pointer;height:100%;margin:0 2px;position:relative}.vc-hue-pointer{position:absolute;z-index:2}.vc-hue-picker{background:#fff;border-radius:1px;box-shadow:0 0 2px rgba(0,0,0,.6);cursor:pointer;height:8px;margin-top:1px;transform:translateX(-2px);width:4px}";
|
|
1072
|
+
H(je);
|
|
1073
|
+
N.render = $e;
|
|
1074
1074
|
N.__file = "src/components/hue/hue.vue";
|
|
1075
1075
|
N.install = A;
|
|
1076
1076
|
var O = {
|
|
@@ -1181,7 +1181,7 @@ var O = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const
|
|
1184
|
+
const Xe = { class: "vc-chrome-saturation-wrap" }, We = { 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 = {
|
|
@@ -1215,14 +1215,14 @@ 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",
|
|
1218
|
+
h("div", Xe, [
|
|
1219
1219
|
v(s, {
|
|
1220
1220
|
value: e.colors,
|
|
1221
1221
|
onChange: i.childChange
|
|
1222
1222
|
}, null, 8, ["value", "onChange"])
|
|
1223
1223
|
]),
|
|
1224
|
-
h("div",
|
|
1225
|
-
h("div",
|
|
1224
|
+
h("div", We, [
|
|
1225
|
+
h("div", Pe, [
|
|
1226
1226
|
h("div", Ye, [
|
|
1227
1227
|
h("div", {
|
|
1228
1228
|
"aria-label": `current color is ${e.colors.hex}`,
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { r as k, e as w } from "./index-
|
|
7
|
-
import { s as C, a as R } from "./publicSenderState-
|
|
1
|
+
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js";
|
|
2
|
+
import { C as U } from "./CPhoneInput-BUogm59J.js";
|
|
3
|
+
import { w as v } from "./CDropdownItem-B5rgSee7.js";
|
|
4
|
+
import { _ as F, ag as P, m as S, ah as f, a as M, g as l, e as r, o as y, b as N, j as d, c as V, f as z, t as h, d as i, w as m, x as I, Y as _, y as $, ab as O } from "./main-C2Q8_T2Y.js";
|
|
5
|
+
import { u as E } from "./index-B86TZXOh.js";
|
|
6
|
+
import { r as k, e as w } from "./index-BH5vwOzR.js";
|
|
7
|
+
import { s as C, a as R } from "./publicSenderState-C3ELW8Cw.js";
|
|
8
8
|
const { mapFields: B } = P({
|
|
9
9
|
getterType: "forms/getField",
|
|
10
10
|
mutationType: "forms/updateField"
|
|
@@ -122,7 +122,7 @@ const { mapFields: B } = P({
|
|
|
122
122
|
}
|
|
123
123
|
}, T = { class: "form-client" }, A = { style: { "font-weight": "600", "font-size": "21px", "padding-bottom": "calc(2.5 * var(--rem))" } };
|
|
124
124
|
function D(e, a, c, p, Y, s) {
|
|
125
|
-
const u = r("CButton"),
|
|
125
|
+
const u = r("CButton"), t = r("CInput"), n = r("CField"), g = r("CPhoneInput");
|
|
126
126
|
return y(), N("div", {
|
|
127
127
|
class: $([{
|
|
128
128
|
"full-screen": s.isFullScreen,
|
|
@@ -145,7 +145,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
145
145
|
}, null, 8, ["onClick"])) : z("", !0),
|
|
146
146
|
d("div", T, [
|
|
147
147
|
d("div", A, h(e.$t("_common:edit", { thing: e.$t("_common:company") })), 1),
|
|
148
|
-
i(
|
|
148
|
+
i(n, {
|
|
149
149
|
label: e.$t("_common:companyName").capitalize(),
|
|
150
150
|
validator: p.v$.name,
|
|
151
151
|
messages: s.messages.name,
|
|
@@ -153,7 +153,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
153
153
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
154
154
|
}, {
|
|
155
155
|
default: m(() => [
|
|
156
|
-
i(
|
|
156
|
+
i(t, {
|
|
157
157
|
ref: "name",
|
|
158
158
|
modelValue: e.name,
|
|
159
159
|
"onUpdate:modelValue": a[0] || (a[0] = (o) => e.name = o),
|
|
@@ -164,13 +164,13 @@ function D(e, a, c, p, Y, s) {
|
|
|
164
164
|
]),
|
|
165
165
|
_: 1
|
|
166
166
|
}, 8, ["label", "validator", "messages"]),
|
|
167
|
-
i(
|
|
167
|
+
i(n, {
|
|
168
168
|
label: e.$t("_common:firstName").capitalize(),
|
|
169
169
|
"label-position": "inside",
|
|
170
170
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
171
171
|
}, {
|
|
172
172
|
default: m(() => [
|
|
173
|
-
i(
|
|
173
|
+
i(t, {
|
|
174
174
|
ref: "reference",
|
|
175
175
|
modelValue: e.firstName,
|
|
176
176
|
"onUpdate:modelValue": a[1] || (a[1] = (o) => e.firstName = o),
|
|
@@ -179,12 +179,12 @@ function D(e, a, c, p, Y, s) {
|
|
|
179
179
|
size: "medium",
|
|
180
180
|
"custom-class": "!rounded-l-[7px]"
|
|
181
181
|
}, null, 8, ["modelValue", "disabled", "placeholder"]),
|
|
182
|
-
i(
|
|
182
|
+
i(n, {
|
|
183
183
|
label: e.$t("_common:lastName").capitalize(),
|
|
184
184
|
"label-position": "inside"
|
|
185
185
|
}, {
|
|
186
186
|
default: m(() => [
|
|
187
|
-
i(
|
|
187
|
+
i(t, {
|
|
188
188
|
modelValue: e.lastName,
|
|
189
189
|
"onUpdate:modelValue": a[2] || (a[2] = (o) => e.lastName = o),
|
|
190
190
|
disabled: s.notCurrentUser,
|
|
@@ -197,7 +197,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
197
197
|
]),
|
|
198
198
|
_: 1
|
|
199
199
|
}, 8, ["label"]),
|
|
200
|
-
i(
|
|
200
|
+
i(n, {
|
|
201
201
|
validator: p.v$.email,
|
|
202
202
|
messages: s.messages.email,
|
|
203
203
|
label: e.$t("_common:email").capitalize(),
|
|
@@ -205,7 +205,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
205
205
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
206
206
|
}, {
|
|
207
207
|
default: m(() => [
|
|
208
|
-
i(
|
|
208
|
+
i(t, {
|
|
209
209
|
ref: "email",
|
|
210
210
|
modelValue: e.email,
|
|
211
211
|
"onUpdate:modelValue": a[3] || (a[3] = (o) => e.email = o),
|
|
@@ -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-CjfqZnmd.js";
|
|
2
|
+
import { B as k } from "./BlockMedia-ZHaA4OMV.js";
|
|
3
|
+
import { t as w } from "./template-DzrGrOEa.js";
|
|
4
|
+
import { T as L } from "./DocTextEditor-DeZtzbgm.js";
|
|
5
|
+
import { _ as f, o as l, b as d, B as s, j as p, y as b, l as $, aJ as C, q as S, u as x, s as N, e as i, d as h, w as m, c as u, f as _, D as E } from "./main-C2Q8_T2Y.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
|
|
26
|
+
function j(e, t, n, v, g, o) {
|
|
27
27
|
return ["horizontal"].includes(n.layout) ? (l(), d("div", B, [
|
|
28
28
|
s(e.$slots, "logo"),
|
|
29
29
|
p("div", V, [
|
|
@@ -46,7 +46,7 @@ function z(e, t, n, v, g, o) {
|
|
|
46
46
|
s(e.$slots, "postText")
|
|
47
47
|
], 2));
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const z = /* @__PURE__ */ f(M, [["render", j]]), A = {
|
|
50
50
|
name: "StaticLayout",
|
|
51
51
|
i18nOptions: {
|
|
52
52
|
namespaces: "staticLayout",
|
|
@@ -54,9 +54,9 @@ const I = /* @__PURE__ */ h(M, [["render", z]]), j = {
|
|
|
54
54
|
},
|
|
55
55
|
components: {
|
|
56
56
|
DocumentLogotype: $(
|
|
57
|
-
() => import("./DocumentLogotype-
|
|
57
|
+
() => import("./DocumentLogotype-G-a7gBIC.js")
|
|
58
58
|
),
|
|
59
|
-
StaticComboLayout:
|
|
59
|
+
StaticComboLayout: z,
|
|
60
60
|
TextEditor: L
|
|
61
61
|
},
|
|
62
62
|
emits: ["input"],
|
|
@@ -106,16 +106,16 @@ const I = /* @__PURE__ */ h(M, [["render", z]]), j = {
|
|
|
106
106
|
spanToMustache: x,
|
|
107
107
|
interpolateString: N
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, I = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, U = ["innerHTML"];
|
|
110
110
|
function D(e, t, n, v, g, o) {
|
|
111
111
|
const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
|
|
112
112
|
return l(), d("div", {
|
|
113
|
-
class: b([[`is-layout-${e.layout}`], "dont-break-out flex w-full flex-col
|
|
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
|
+
h(y, { layout: e.layout }, {
|
|
117
117
|
logo: m(() => [
|
|
118
|
-
|
|
118
|
+
h(c, {
|
|
119
119
|
modelValue: e.logotype,
|
|
120
120
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.logotype = a),
|
|
121
121
|
"show-logo": e.showLogo,
|
|
@@ -142,7 +142,7 @@ function D(e, t, n, v, g, o) {
|
|
|
142
142
|
}, null, 8, ["model-value", "mentions", "placeholder"]))
|
|
143
143
|
]),
|
|
144
144
|
documentName: m(() => [
|
|
145
|
-
p("div",
|
|
145
|
+
p("div", I, [
|
|
146
146
|
e.canEdit ? (l(), u(r, {
|
|
147
147
|
key: 0,
|
|
148
148
|
ref: "nameEditor",
|
|
@@ -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 q = /* @__PURE__ */ f(A, [["render", D], ["__scopeId", "data-v-b03d5c66"]]), O = {
|
|
195
195
|
name: "ContentWrapper",
|
|
196
196
|
components: {
|
|
197
|
-
StaticCombo:
|
|
197
|
+
StaticCombo: q,
|
|
198
198
|
BlockMedia: k
|
|
199
199
|
},
|
|
200
200
|
emits: ["input"],
|
|
@@ -228,9 +228,9 @@ const O = /* @__PURE__ */ h(j, [["render", D], ["__scopeId", "data-v-a6f5c563"]]
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}, W = { class: "content-spacing" };
|
|
231
|
-
function
|
|
231
|
+
function J(e, t, n, v, g, o) {
|
|
232
232
|
const c = i("BlockMedia"), r = i("StaticCombo");
|
|
233
|
-
return l(), d("div",
|
|
233
|
+
return l(), d("div", E(e.$attrs, {
|
|
234
234
|
style: { color: o.color, textAlign: o.textAlign },
|
|
235
235
|
class: [{ "has-hover": n.hasHover }, "content-root"]
|
|
236
236
|
}), [
|
|
@@ -238,9 +238,9 @@ function K(e, t, n, v, g, o) {
|
|
|
238
238
|
key: 0,
|
|
239
239
|
media: e.item.media,
|
|
240
240
|
class: "content-media"
|
|
241
|
-
}, null, 8, ["media"])) :
|
|
241
|
+
}, null, 8, ["media"])) : _("", !0),
|
|
242
242
|
p("div", W, [
|
|
243
|
-
|
|
243
|
+
h(r, {
|
|
244
244
|
"has-hover": n.hasHover,
|
|
245
245
|
_document: e._document,
|
|
246
246
|
_value: {
|
|
@@ -257,7 +257,7 @@ function K(e, t, n, v, g, o) {
|
|
|
257
257
|
])
|
|
258
258
|
], 16);
|
|
259
259
|
}
|
|
260
|
-
const Y = /* @__PURE__ */
|
|
260
|
+
const Y = /* @__PURE__ */ f(O, [["render", J], ["__scopeId", "data-v-22ef2030"]]);
|
|
261
261
|
export {
|
|
262
262
|
Y as default
|
|
263
263
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as z } from "./mapFormMixin-
|
|
2
|
-
import { T as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as w,
|
|
5
|
-
import { b as
|
|
6
|
-
const
|
|
1
|
+
import { m as z } from "./mapFormMixin-CjfqZnmd.js";
|
|
2
|
+
import { T as R } from "./ThemeColorRow-CScTIcPB.js";
|
|
3
|
+
import { b as _ } from "./helpers-BVP2Pul1.js";
|
|
4
|
+
import { _ as w, $ as M, o as l, b as u, j as n, D as x, A as f, ab as y, B as $, f as p, y as T, Y as b, e as g, F as V, G as L, c as S, d as v, t as h, v as U, w as k, x as C, an as N, l as B } from "./main-C2Q8_T2Y.js";
|
|
5
|
+
import { b as I } from "./CDropdownItem-B5rgSee7.js";
|
|
6
|
+
const K = {
|
|
7
7
|
name: "CSliderThumb",
|
|
8
8
|
mixins: [M],
|
|
9
9
|
props: {
|
|
@@ -124,7 +124,7 @@ function X(e, t, s, a, r, i) {
|
|
|
124
124
|
}), null, 16, O)
|
|
125
125
|
], 16);
|
|
126
126
|
}
|
|
127
|
-
const A = /* @__PURE__ */ w(
|
|
127
|
+
const A = /* @__PURE__ */ w(K, [["render", X]]), H = {
|
|
128
128
|
name: "CSliderTick",
|
|
129
129
|
props: {
|
|
130
130
|
value: {
|
|
@@ -329,14 +329,14 @@ const j = /* @__PURE__ */ w(H, [["render", Y]]), q = {
|
|
|
329
329
|
if (!(this.min > this.max))
|
|
330
330
|
if (Array.isArray(e)) {
|
|
331
331
|
this.isRange = !0;
|
|
332
|
-
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min :
|
|
332
|
+
const t = typeof e[0] != "number" || isNaN(e[0]) ? this.min : _(e[0], this.min, this.max), s = typeof e[1] != "number" || isNaN(e[1]) ? this.max : _(e[1], this.min, this.max);
|
|
333
333
|
this.internal = {
|
|
334
334
|
value1: this.isThumbReversed ? s : t,
|
|
335
335
|
value2: this.isThumbReversed ? t : s
|
|
336
336
|
};
|
|
337
337
|
} else
|
|
338
338
|
this.isRange = !1, this.internal = {
|
|
339
|
-
value1: isNaN(e) ? this.min :
|
|
339
|
+
value1: isNaN(e) ? this.min : _(e, this.min, this.max),
|
|
340
340
|
value2: null
|
|
341
341
|
};
|
|
342
342
|
},
|
|
@@ -394,7 +394,7 @@ function Q(e, t, s, a, r, i) {
|
|
|
394
394
|
style: b(i.barStyle),
|
|
395
395
|
class: "c-slider-fill"
|
|
396
396
|
}, null, 4),
|
|
397
|
-
s.ticks ? (l(!0), u(V, { key: 0 },
|
|
397
|
+
s.ticks ? (l(!0), u(V, { key: 0 }, L(i.tickValues, (m, P) => (l(), S(o, {
|
|
398
398
|
key: P,
|
|
399
399
|
value: m
|
|
400
400
|
}, null, 8, ["value"]))), 128)) : p("", !0),
|
|
@@ -516,7 +516,7 @@ const oe = /* @__PURE__ */ w(ee, [["render", se], ["__scopeId", "data-v-fe95bfec
|
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
components: {
|
|
519
|
-
ThemeColorRow:
|
|
519
|
+
ThemeColorRow: R,
|
|
520
520
|
DegreePicker: oe
|
|
521
521
|
},
|
|
522
522
|
emits: ["input"],
|
|
@@ -599,11 +599,11 @@ function le(e, t, s, a, r, i) {
|
|
|
599
599
|
]);
|
|
600
600
|
}
|
|
601
601
|
const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54"]]), ue = {
|
|
602
|
-
image:
|
|
603
|
-
() => import("./ImageSelectModal-
|
|
602
|
+
image: B(
|
|
603
|
+
() => import("./ImageSelectModal-DatnXHH1.js")
|
|
604
604
|
),
|
|
605
|
-
video:
|
|
606
|
-
() => import("./VideoSelectModal-
|
|
605
|
+
video: B(
|
|
606
|
+
() => import("./VideoSelectModal-iqgmg85K.js")
|
|
607
607
|
)
|
|
608
608
|
}, me = {
|
|
609
609
|
name: "CoverBlockSettings",
|
|
@@ -629,10 +629,10 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
components: {
|
|
632
|
-
ThemeColorRow:
|
|
632
|
+
ThemeColorRow: R,
|
|
633
633
|
GradientPicker: de,
|
|
634
634
|
CSlider: W,
|
|
635
|
-
CSwitch:
|
|
635
|
+
CSwitch: I
|
|
636
636
|
},
|
|
637
637
|
mixins: [
|
|
638
638
|
z(
|
|
@@ -653,7 +653,7 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
653
653
|
],
|
|
654
654
|
data() {
|
|
655
655
|
return {
|
|
656
|
-
getUnsplashResized:
|
|
656
|
+
getUnsplashResized: N
|
|
657
657
|
};
|
|
658
658
|
},
|
|
659
659
|
methods: {
|
|
@@ -710,21 +710,21 @@ const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-a0f7de54
|
|
|
710
710
|
key: 4,
|
|
711
711
|
class: "d-option",
|
|
712
712
|
style: { "padding-bottom": "0.5em" }
|
|
713
|
-
},
|
|
713
|
+
}, _e = { class: "d-option-title" }, Le = { style: { flex: "1 1 auto" } }, Te = {
|
|
714
714
|
key: 5,
|
|
715
715
|
class: "d-option"
|
|
716
|
-
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } },
|
|
716
|
+
}, Ee = { class: "d-option-title" }, xe = { style: { flex: "1 1 auto" } }, Be = {
|
|
717
717
|
key: 0,
|
|
718
718
|
class: "d-option-row",
|
|
719
719
|
style: { "padding-top": "1em" }
|
|
720
720
|
};
|
|
721
|
-
function
|
|
721
|
+
function Re(e, t, s, a, r, i) {
|
|
722
722
|
const o = g("CButton"), c = g("CSlider"), m = g("ThemeColorRow"), P = g("GradientPicker"), F = g("CSwitch");
|
|
723
723
|
return l(), u("div", he, [
|
|
724
724
|
n("div", ce, [
|
|
725
725
|
n("div", pe, h(e.$t("_common:background").capitalize()), 1),
|
|
726
726
|
n("div", ge, [
|
|
727
|
-
(l(!0), u(V, null,
|
|
727
|
+
(l(!0), u(V, null, L([
|
|
728
728
|
{ label: e.$t("_common:image"), value: "image" },
|
|
729
729
|
{ label: e.$t("_common:color"), value: "color" },
|
|
730
730
|
{ label: e.$t("_common:gradient"), value: "gradient" },
|
|
@@ -755,7 +755,7 @@ function Be(e, t, s, a, r, i) {
|
|
|
755
755
|
e.resourceUrl ? (l(), u("div", fe, [
|
|
756
756
|
n("div", ye, h(e.$t("_common:filter").capitalize()), 1),
|
|
757
757
|
n("div", be, [
|
|
758
|
-
(l(), u(V, null,
|
|
758
|
+
(l(), u(V, null, L([
|
|
759
759
|
"",
|
|
760
760
|
"sepia(30%) brightness(110%) contrast(110%) grayscale(100%)",
|
|
761
761
|
"brightness(110%) contrast(90%) saturate(150%)",
|
|
@@ -816,8 +816,8 @@ function Be(e, t, s, a, r, i) {
|
|
|
816
816
|
onInput: t[4] || (t[4] = (d) => e.gradient = d)
|
|
817
817
|
}, null, 8, ["value"])) : p("", !0),
|
|
818
818
|
["image", "video"].includes(e.type) ? (l(), u("div", Pe, [
|
|
819
|
-
n("div",
|
|
820
|
-
n("div",
|
|
819
|
+
n("div", _e, [
|
|
820
|
+
n("div", Le, h(e.$t("_common:blur").capitalize()), 1),
|
|
821
821
|
v(c, {
|
|
822
822
|
"model-value": e.blur || 0,
|
|
823
823
|
max: 30,
|
|
@@ -840,7 +840,7 @@ function Be(e, t, s, a, r, i) {
|
|
|
840
840
|
"onUpdate:modelValue": i.toggleOverlay
|
|
841
841
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
842
842
|
]),
|
|
843
|
-
e.overlay ? (l(), u("div",
|
|
843
|
+
e.overlay ? (l(), u("div", Be, [
|
|
844
844
|
v(m, {
|
|
845
845
|
value: e.overlayColor || "",
|
|
846
846
|
placement: "top-end",
|
|
@@ -855,7 +855,7 @@ function Be(e, t, s, a, r, i) {
|
|
|
855
855
|
])) : p("", !0)
|
|
856
856
|
]);
|
|
857
857
|
}
|
|
858
|
-
const
|
|
858
|
+
const Ie = /* @__PURE__ */ w(me, [["render", Re], ["__scopeId", "data-v-6f8a8437"]]);
|
|
859
859
|
export {
|
|
860
|
-
|
|
860
|
+
Ie as default
|
|
861
861
|
};
|