@cling-se/widget 0.12.1 → 0.12.3
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/{AddClientCallout-9a08f2ce.js → AddClientCallout-751ed5aa.js} +7 -7
- package/dist/{AnswerModal-50c8347c.js → AnswerModal-581cee38.js} +128 -169
- package/dist/{AttachmentItem-9bd7dbfb.js → AttachmentItem-811ac040.js} +6 -6
- package/dist/{BaseDatePicker-01dfa5b2.js → BaseDatePicker-95f61f10.js} +2 -2
- package/dist/{BaseInput-39893fdd.js → BaseInput-2316a974.js} +1 -1
- package/dist/{BaseUpload-d8b864b3.js → BaseUpload-bf946607.js} +2 -2
- package/dist/{BlockMedia-5812545c.js → BlockMedia-a2018340.js} +1 -1
- package/dist/{CCallout-3bfbca46.js → CCallout-25a66bee.js} +4 -4
- package/dist/{CDropdownItem-4e64b91f.js → CDropdownItem-46ef817a.js} +2 -2
- package/dist/{CField-5dbb89e1.js → CField-d83a443d.js} +1 -1
- package/dist/{CPhoneFormat-c0be2b4f.js → CPhoneFormat-195e1576.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-0e241327.js → CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js} +1 -1
- package/dist/{ClientAutocomplete-debd7fb5.js → ClientAutocomplete-5f619f92.js} +2 -2
- package/dist/{ClientModal-b2b26491.js → ClientModal-72bc0977.js} +11 -11
- package/dist/{ColorPicker-554004b4.js → ColorPicker-b815929f.js} +2 -2
- package/dist/{CompanyModal-2e0706de.js → CompanyModal-0ea79ac1.js} +3 -3
- package/dist/{ContentWrapper-78c03285.js → ContentWrapper-c7e2a8f2.js} +19 -19
- package/dist/{CoverBlockSettings-a10af3d7.js → CoverBlockSettings-b42b5f8a.js} +17 -17
- package/dist/{DocAnswer-dbb8d156.js → DocAnswer-0a2cd242.js} +4 -4
- package/dist/{DocDetails-60cd0e54.js → DocDetails-a06afb2b.js} +29 -29
- package/dist/{DocForm-e452f0cd.js → DocForm-ab0c0845.js} +88 -85
- package/dist/{DocFormSend-2be90d32.js → DocFormSend-315100bf.js} +19 -19
- package/dist/{DocLinks-1d6bf0d6.js → DocLinks-0667287d.js} +2 -2
- package/dist/{DocModalBase-af969452.js → DocModalBase-b7819a9e.js} +7 -7
- package/dist/{DocPrint-62066899.js → DocPrint-d79f92b7.js} +13 -13
- package/dist/{DocReceipt-2d26b906.js → DocReceipt-34fb36ed.js} +7 -7
- package/dist/{DocSendReminder-d0bd58b6.js → DocSendReminder-eb36b1ae.js} +6 -6
- package/dist/{DocTextEditor-6a7d926d.js → DocTextEditor-7b551ddf.js} +16 -16
- package/dist/{DocTimeline-da4ad72b.js → DocTimeline-3422972c.js} +4 -4
- package/dist/{DocumentClient-40b9d019.js → DocumentClient-a13c009e.js} +7 -7
- package/dist/{DocumentLayout-b33f7eca.js → DocumentLayout-4ef4eb0c.js} +6 -6
- package/dist/{DocumentLogotype-7ee57f11.js → DocumentLogotype-d0a0f8dc.js} +9 -9
- package/dist/{DocumentVoided-0b031bd6.js → DocumentVoided-e99fe2b3.js} +2 -2
- package/dist/{EmbedInput-0c1b25a5.js → EmbedInput-84cbb26b.js} +2 -2
- package/dist/{EmbedSettings-4e11febb.js → EmbedSettings-03092756.js} +3 -3
- package/dist/{ErrorCallout-2ca69cec.js → ErrorCallout-5207a92e.js} +1 -1
- package/dist/{FilePreviewModal-318cd4e6.js → FilePreviewModal-f811bc63.js} +8 -8
- package/dist/{Flag-e27c8311.js → Flag-4e6e51fe.js} +1 -1
- package/dist/{HeaderSettings-ccffab13.js → HeaderSettings-35726563.js} +24 -24
- package/dist/{ImageSelectModal-b33e02f0.js → ImageSelectModal-6143f099.js} +8 -8
- package/dist/{ImageUploadWrapper-2958e38a.js → ImageUploadWrapper-299c58fe.js} +5 -5
- package/dist/{Index-ca5d5938.js → Index-0623b53d.js} +6 -6
- package/dist/{Index-6c850deb.js → Index-09486dc6.js} +2 -2
- package/dist/{Index-e4b6c044.js → Index-16a1a69c.js} +6 -6
- package/dist/{Index-fe86d6ed.js → Index-189c8b44.js} +4 -4
- package/dist/{Index-52048bd8.js → Index-1fe7f785.js} +4 -4
- package/dist/{Index-e5d8ace1.js → Index-2e1f9e1b.js} +4 -4
- package/dist/{Index-86295fa6.js → Index-3e5de61c.js} +7 -7
- package/dist/{Index-c0ba3ccf.js → Index-3f027683.js} +5 -5
- package/dist/{Index-321c45b2.js → Index-47059b84.js} +1 -1
- package/dist/{Index-8c8da99b.js → Index-538e57e9.js} +6 -6
- package/dist/{Index-8415c404.js → Index-539d4217.js} +4 -4
- package/dist/{Index-a156fa7b.js → Index-55922e6a.js} +2 -2
- package/dist/{Index-57ff2c4d.js → Index-63683f50.js} +14 -14
- package/dist/{Index-63d1c186.js → Index-728ec7d7.js} +6 -6
- package/dist/{Index-a28b89d6.js → Index-72e44ff5.js} +4 -4
- package/dist/{Index-cd9016c9.js → Index-7353209e.js} +6 -6
- package/dist/{Index-352290be.js → Index-775c3d2f.js} +2 -2
- package/dist/{Index-3aa7ab5a.js → Index-805d2fc2.js} +9 -9
- package/dist/{Index-a4be2350.js → Index-91b55567.js} +2 -2
- package/dist/{Index-f9dce241.js → Index-98ab8892.js} +10 -10
- package/dist/{Index-56ef7197.js → Index-9c98f176.js} +7 -7
- package/dist/{Index-21bf7267.js → Index-b8e2e1b8.js} +3 -3
- package/dist/{Index-0b42facb.js → Index-ba6b2169.js} +4 -4
- package/dist/{Index-d91e72e4.js → Index-bbfc58aa.js} +4 -4
- package/dist/{Index-9359fe90.js → Index-c1f31c24.js} +2 -2
- package/dist/{Index-25438497.js → Index-c7c41ec0.js} +2 -2
- package/dist/{Index-e423aff0.js → Index-caa773f2.js} +9 -9
- package/dist/{Index-ad8b2d21.js → Index-cdeffca2.js} +41 -41
- package/dist/{Index-dd365704.js → Index-cfa5b251.js} +19 -19
- package/dist/{Index-03c094df.js → Index-e99b0408.js} +5 -5
- package/dist/{Index-1189a031.js → Index-f21adb8b.js} +1 -1
- package/dist/{Index-df1b0ce1.js → Index-f7a41581.js} +9 -9
- package/dist/{Index-7fc7f137.js → Index-f97205f6.js} +4 -4
- package/dist/{Index-29366cec.js → Index-fb3d4460.js} +24 -24
- package/dist/{InputToggleRow-73b2eb3e.js → InputToggleRow-9eae9950.js} +6 -6
- package/dist/{IsPremiumPreStep-3409b0b1.js → IsPremiumPreStep-b4094114.js} +27 -27
- package/dist/{ManualPopover-aabff26d.js → ManualPopover-279c34d7.js} +1 -1
- package/dist/{MediaWrapper-f69bd386.js → MediaWrapper-28900be4.js} +3 -3
- package/dist/{NotBindingText-297c0757.js → NotBindingText-03ed1896.js} +2 -2
- package/dist/{PackageGroup-c8b0ea48.js → PackageGroup-a09157ce.js} +20 -20
- package/dist/{PdfTerms-23875b7a.js → PdfTerms-40cf2e44.js} +5 -5
- package/dist/{PdfViewer-bb3115a5.js → PdfViewer-022d9820.js} +4 -4
- package/dist/{PlainHtml-084a2060.js → PlainHtml-816cdcfd.js} +1 -1
- package/dist/{PriceHeader-3e081e28.js → PriceHeader-c5d1c5a5.js} +37 -37
- package/dist/{SearchApi-54afc953.js → SearchApi-2cf7a417.js} +2 -2
- package/dist/{Setup-6fc1e279.js → Setup-f675b31a.js} +2 -2
- package/dist/{TermsSettings-d08a2850.js → TermsSettings-4865f58c.js} +7 -7
- package/dist/{ThemeColorRow-06cba9a4.js → ThemeColorRow-88778196.js} +4 -4
- package/dist/{ToggleBinding-ef903ffb.js → ToggleBinding-664e9183.js} +3 -3
- package/dist/{UploadModal-b1000887.js → UploadModal-9de4a0c5.js} +8 -8
- package/dist/{VideoPlayerInput-d457e93f.js → VideoPlayerInput-a6db7b6f.js} +3 -3
- package/dist/{VideoPlayerSettings-6d3e4247.js → VideoPlayerSettings-bb6e5389.js} +4 -4
- package/dist/{VideoSelectModal-cd78d125.js → VideoSelectModal-5476aa27.js} +15 -15
- package/dist/answerDocumentMixin-564758ae.js +51 -0
- package/dist/{debounce-c329e921.js → debounce-fb89e666.js} +1 -1
- package/dist/{focusDrawerMixin-a2d32b5e.js → focusDrawerMixin-9822a344.js} +1 -1
- package/dist/{formComponentsInstall-bc0a5a0c.js → formComponentsInstall-cd69ac70.js} +41 -41
- package/dist/{formDrawerState-e755d0ef.js → formDrawerState-889851ba.js} +1 -1
- package/dist/{formValidationMixin-64e2fd25.js → formValidationMixin-de96de9e.js} +1 -1
- package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
- package/dist/{index-3ad3f370.js → index-286fbf2e.js} +1 -1
- package/dist/{index-fbb0197d.js → index-28cc6cae.js} +13 -13
- package/dist/{index-a8e0d9a4.js → index-39b8ba31.js} +3 -3
- package/dist/{index-252c1b85.js → index-67306b4a.js} +14 -14
- package/dist/{index-4edd6331.js → index-6c4051cc.js} +1 -1
- package/dist/{index-7cae1b9c.js → index-e9650c8b.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +141 -141
- package/dist/{main-83016097.js → main-1ef64f74.js} +6108 -6309
- package/dist/{mapFormMixin-3946f304.js → mapFormMixin-37d8b2ce.js} +1 -1
- package/dist/{publicSenderState-c8c8dd01.js → publicSenderState-ed17e82f.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-79d7f6e6.js → throttle-4a44697d.js} +2 -2
- package/dist/{tinycolor-dbe7bbc8.js → tinycolor-6fefbbd2.js} +1 -1
- package/dist/{tippy.esm-46a552eb.js → tippy.esm-cddf5c5a.js} +6 -6
- package/dist/{utils-bbbf8074.js → utils-ebaac977.js} +1 -1
- package/dist/{vuedraggable.umd-344678d6.js → vuedraggable.umd-fcf03933.js} +1 -1
- package/package.json +2 -2
- package/dist/answerDocumentMixin-93535108.js +0 -54
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { b as a } from "./main-1ef64f74.js";
|
|
2
|
+
import { w as r } from "./CDropdownItem-46ef817a.js";
|
|
3
|
+
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
|
+
mixins: [r],
|
|
5
|
+
inject: {
|
|
6
|
+
formValidation: { default: null }
|
|
7
|
+
},
|
|
8
|
+
methods: {
|
|
9
|
+
isValid() {
|
|
10
|
+
const { isFormValid: t, scrollToInvalidInput: i } = this.formValidation || this;
|
|
11
|
+
return !t || !i || t() ? !0 : i({ offset: 120 });
|
|
12
|
+
},
|
|
13
|
+
isAnswerModalOpen() {
|
|
14
|
+
const t = this.$modal.getOpenInstances();
|
|
15
|
+
return t && t.length && t.some((i) => {
|
|
16
|
+
var e;
|
|
17
|
+
return ((e = i.modalAttrs) == null ? void 0 : e.name) === "AnswerModal";
|
|
18
|
+
});
|
|
19
|
+
},
|
|
20
|
+
onAnswer(t = "accept", i = {}) {
|
|
21
|
+
if (this.isAnswerModalOpen())
|
|
22
|
+
return;
|
|
23
|
+
const e = a(this, s);
|
|
24
|
+
if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
|
|
25
|
+
return;
|
|
26
|
+
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-581cee38.js");
|
|
27
|
+
this.$modal.show(
|
|
28
|
+
n,
|
|
29
|
+
{
|
|
30
|
+
mode: t,
|
|
31
|
+
_document: e,
|
|
32
|
+
fullScreen: o === "100%",
|
|
33
|
+
calcHeight: !!i.calcHeight
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "AnswerModal",
|
|
37
|
+
adaptive: !0,
|
|
38
|
+
height: "auto",
|
|
39
|
+
width: "90%",
|
|
40
|
+
maxWidth: 420,
|
|
41
|
+
classes: "overflow-visible",
|
|
42
|
+
transition: "modal-soft",
|
|
43
|
+
clickToClose: !1
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
m as a
|
|
51
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { b as H, m as g } from "./vuex.esm-4a0fff7c.js";
|
|
2
|
-
import { s as q, F as j } from "./Flag-
|
|
3
|
-
import { m } from "./mapFormMixin-
|
|
4
|
-
import { B as I } from "./BaseDatePicker-
|
|
5
|
-
import { E as K } from "./ErrorCallout-
|
|
6
|
-
import { I as W, a as X, r as l } from "./IsPremiumPreStep-
|
|
7
|
-
import { n as o, aw as O, ax as v, h as U, b as c, ay as Q, r as Y, az as G, aA as J, s as T, aB as P, aC as R, d as M, F as y } from "./main-
|
|
8
|
-
import Z from "./AddClientCallout-
|
|
9
|
-
import ee from "./ClientModal-
|
|
10
|
-
import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-
|
|
11
|
-
import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
12
|
-
import { C as _ } from "./CCallout-
|
|
13
|
-
import { C as z } from "./CField-
|
|
2
|
+
import { s as q, F as j } from "./Flag-4e6e51fe.js";
|
|
3
|
+
import { m } from "./mapFormMixin-37d8b2ce.js";
|
|
4
|
+
import { B as I } from "./BaseDatePicker-95f61f10.js";
|
|
5
|
+
import { E as K } from "./ErrorCallout-5207a92e.js";
|
|
6
|
+
import { I as W, a as X, r as l } from "./IsPremiumPreStep-b4094114.js";
|
|
7
|
+
import { n as o, aw as O, ax as v, h as U, b as c, ay as Q, r as Y, az as G, aA as J, s as T, aB as P, aC as R, d as M, F as y } from "./main-1ef64f74.js";
|
|
8
|
+
import Z from "./AddClientCallout-751ed5aa.js";
|
|
9
|
+
import ee from "./ClientModal-72bc0977.js";
|
|
10
|
+
import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-46ef817a.js";
|
|
11
|
+
import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js";
|
|
12
|
+
import { C as _ } from "./CCallout-25a66bee.js";
|
|
13
|
+
import { C as z } from "./CField-d83a443d.js";
|
|
14
14
|
const ae = {
|
|
15
15
|
name: "DocumentSendReminderItem",
|
|
16
16
|
props: {
|
|
@@ -30,9 +30,9 @@ const ae = {
|
|
|
30
30
|
};
|
|
31
31
|
var re = function() {
|
|
32
32
|
var e = this, i = e._self._c;
|
|
33
|
-
return i("div", { staticClass: "flex items-center bg-gray-100
|
|
33
|
+
return i("div", { staticClass: "mb-4 flex min-h-[2.5em] select-none items-center rounded-md bg-gray-100 px-4 py-2 text-sm font-medium" }, [i("div", { staticClass: "mr-6 flex-auto select-none text-gray-700" }, [e._v(" " + e._s(e.label) + " ")]), i("div", { staticClass: "flex flex-nowrap items-center justify-center text-sm" }, [e.done ? i("span", { staticClass: "text-green-500" }, [i("BaseIcon", { attrs: { type: "check", size: "18" } }), e._v(" " + e._s(e.$t("sent")) + " ")], 1) : [i("CButton", { staticClass: "!h-6 !w-6 bg-white", attrs: { icon: "minus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
|
|
34
34
|
e.$emit("input", Math.max(e.value - 1, 0));
|
|
35
|
-
} } }), i("div", { staticClass: "py-4 text-
|
|
35
|
+
} } }), i("div", { staticClass: "min-w-[8ch] py-4 text-center text-sm font-medium text-gray-800" }, [e.value ? [e._v(" " + e._s(e.$tc("day", { count: Number(e.value) })) + " ")] : i("span", { staticClass: "text-xs text-gray-500" }, [e._v(" " + e._s(e.$t("disabled").capitalize()) + " ")])], 2), i("CButton", { staticClass: "!h-6 !w-6 bg-white", attrs: { icon: "plus", size: "small", circle: "", raised: "" }, on: { click: function(s) {
|
|
36
36
|
return e.$emit("input", e.value + 1);
|
|
37
37
|
} } })]], 2)]);
|
|
38
38
|
}, oe = [], le = /* @__PURE__ */ o(
|
|
@@ -132,7 +132,7 @@ var ue = function() {
|
|
|
132
132
|
return i("DocumentSendReminderItem", { key: n, attrs: { label: e.$t(s.type), value: e.reminders[s.type] ? e.reminders[s.type].sendDays : 0, done: e.reminders[s.type] && e.reminders[s.type].status === "successful" }, on: { input: function(a) {
|
|
133
133
|
return e.setReminder(e.reminders[s.type] || s.fallbackKey, a);
|
|
134
134
|
} } });
|
|
135
|
-
}), i("div", { staticClass: "flex items-center justify-center
|
|
135
|
+
}), i("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
|
|
136
136
|
return e.$emit("close");
|
|
137
137
|
} } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
|
|
138
138
|
}, me = [], pe = /* @__PURE__ */ o(
|
|
@@ -278,14 +278,14 @@ const fe = {
|
|
|
278
278
|
};
|
|
279
279
|
var ge = function() {
|
|
280
280
|
var e = this, i = e._self._c;
|
|
281
|
-
return i("div", { staticClass: "
|
|
281
|
+
return i("div", { staticClass: "overflow-hidden rounded-xl bg-white" }, [i("div", { staticClass: "px-6 pb-3 pt-8" }, [i("div", { staticClass: "text-md text-center font-semibold" }, [e._v(" " + e._s(e.$t("title")) + " ")]), i("div", { staticClass: "pt-8" }, e._l([
|
|
282
282
|
[e.tomorrowMorning, "tomorrowMorning"],
|
|
283
283
|
[e.mondayMorning, "mondayMorning"]
|
|
284
284
|
], function(s, n) {
|
|
285
|
-
return i("div", { key: n, staticClass: "
|
|
286
|
-
}), 0)]), i("div", { staticClass: "
|
|
285
|
+
return i("div", { key: n, staticClass: "mb-4 flex cursor-pointer select-none items-center justify-between rounded-md border border-gray-200 bg-gray-50 p-4 text-sm hover:border-gray-300 hover:bg-gray-100 active:border-gray-400 active:bg-gray-200", on: { click: () => e.onSendAt(s[0]) } }, [i("div", { staticClass: "font-medium" }, [e._v(e._s(e.$t(s[1])))]), i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$formatDate(s[0], "p, d MMM")) + " ")])]);
|
|
286
|
+
}), 0)]), i("div", { staticClass: "border-t border-gray-200 bg-gray-100 px-8 py-6", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
|
|
287
287
|
e.showCustom = !0;
|
|
288
|
-
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("BaseIcon", { staticClass: "
|
|
288
|
+
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("BaseIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument, type: "secondary", wide: "" }, on: { click: function(s) {
|
|
289
289
|
return e.onSendAt(e.sendAt);
|
|
290
290
|
} } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
|
|
291
291
|
}, ve = [], ye = /* @__PURE__ */ o(
|
|
@@ -294,7 +294,7 @@ var ge = function() {
|
|
|
294
294
|
ve,
|
|
295
295
|
!1,
|
|
296
296
|
null,
|
|
297
|
-
"
|
|
297
|
+
"f68debf4",
|
|
298
298
|
null,
|
|
299
299
|
null
|
|
300
300
|
);
|
|
@@ -334,7 +334,7 @@ const be = {
|
|
|
334
334
|
var Ce = function() {
|
|
335
335
|
var s;
|
|
336
336
|
var e = this, i = e._self._c;
|
|
337
|
-
return i("div", { staticClass: "flex items-center
|
|
337
|
+
return i("div", { staticClass: "rc-card flex items-center", class: {
|
|
338
338
|
"is-hover": e.isHover,
|
|
339
339
|
"has-controls": e.isOrder
|
|
340
340
|
}, staticStyle: { "padding-left": "8px" }, on: { click: function(n) {
|
|
@@ -366,7 +366,7 @@ var Ce = function() {
|
|
|
366
366
|
xe,
|
|
367
367
|
!1,
|
|
368
368
|
null,
|
|
369
|
-
"
|
|
369
|
+
"bf545f05",
|
|
370
370
|
null,
|
|
371
371
|
null
|
|
372
372
|
);
|
|
@@ -472,14 +472,14 @@ var $e = function() {
|
|
|
472
472
|
return i("CDropdownItem", { key: s, attrs: { "icon-right": e.get(e.senderClient, "answerMethod.accept") === s ? "check" : "" }, on: { click: function(n) {
|
|
473
473
|
return e.setSenderMethod(s);
|
|
474
474
|
} } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
|
|
475
|
-
})] : i("div", { staticClass: "
|
|
475
|
+
})] : i("div", { staticClass: "bg-gray-100 text-gray-700", staticStyle: { padding: "calc(0.5 * var(--rem))", margin: "calc(0.5 * var(--rem))", "font-size": "13px", "border-radius": "4px", "line-height": "1.25", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("toggle.description")) + " ")])], 2)], 2) : e._e();
|
|
476
476
|
}, ke = [], De = /* @__PURE__ */ o(
|
|
477
477
|
Se,
|
|
478
478
|
$e,
|
|
479
479
|
ke,
|
|
480
480
|
!1,
|
|
481
481
|
null,
|
|
482
|
-
"
|
|
482
|
+
"9f98b35e",
|
|
483
483
|
null,
|
|
484
484
|
null
|
|
485
485
|
);
|
|
@@ -667,8 +667,8 @@ const Be = {
|
|
|
667
667
|
};
|
|
668
668
|
var Ie = function() {
|
|
669
669
|
var e = this, i = e._self._c;
|
|
670
|
-
return i("div", [e.compact ? e._e() : [i("div", { staticClass: "
|
|
671
|
-
return [n > 0 && s.signOrder !== e.sortedClients[n - 1].signOrder ? i("div", { key: n, staticClass: "h-2 pl-6" }, [i("div", { staticClass: "h-full w-0.5 rounded-sm
|
|
670
|
+
return i("div", [e.compact ? e._e() : [i("div", { staticClass: "pb-0.5 text-xs font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("_common:from").capitalize()) + ": ")]), i("SenderBlockItem", { attrs: { _document: e._document, _value: { senderClient: "senderClient" }, "set-form-value": e.setFormValue, "default-add-sender-client": e.defaultAddSenderClient } })], i("div", { staticClass: "block-title flex pb-0.5 pt-2 text-xs text-gray-500", class: { "block-title__line": !e.compact } }, [e.compact ? e._e() : i("div", { staticClass: "font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("_common:to").capitalize()) + ": ")]), e.clients && e.clients.length ? i("div", { staticClass: "ml-auto inline-flex items-center justify-end" }, [i("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("signOrder.tooltip"), expression: "$t('signOrder.tooltip')" }], staticClass: "mr-1", attrs: { type: "info", size: "14" } }), i("div", { staticClass: "mr-2 font-medium" }, [e._v(" " + e._s(e.$t("signOrder.label")) + " ")]), i("CSwitch", { staticClass: "!mr-0", attrs: { value: e.useSignOrder, size: "tiny", type: "success" }, on: { input: e.toggleSignOrder } })], 1) : e._e()]), e.clients && e.clients.length ? [e.useSignOrder ? i("transition-group", { staticClass: "list-move", attrs: { name: "list-move" } }, [e._l(e.sortedClients, function(s, n) {
|
|
671
|
+
return [n > 0 && s.signOrder !== e.sortedClients[n - 1].signOrder ? i("div", { key: n, staticClass: "h-2 pl-6" }, [i("div", { staticClass: "bg-primary-500 h-full w-0.5 rounded-sm" })]) : e._e(), i("div", { key: s._uniqueId, staticClass: "mb-0.5 mt-px" }, [i("RecipientBlockItem", { class: {
|
|
672
672
|
"first-of-group": n === 0 || n > 0 && s.signOrder !== e.sortedClients[n - 1].signOrder,
|
|
673
673
|
"last-of-group": n === e.sortedClients.length - 1 || e.sortedClients[n + 1] && s.signOrder !== e.sortedClients[n + 1].signOrder
|
|
674
674
|
}, attrs: { client: s, "is-order": e.useSignOrder, compact: e.compact }, on: { move: function(a) {
|
|
@@ -679,7 +679,7 @@ var Ie = function() {
|
|
|
679
679
|
return e.removeClient(s.index);
|
|
680
680
|
} } })], 1)];
|
|
681
681
|
})], 2) : e._l(e.clients, function(s, n) {
|
|
682
|
-
return i("RecipientBlockItem", { key: s._uniqueId, staticClass: "
|
|
682
|
+
return i("RecipientBlockItem", { key: s._uniqueId, staticClass: "mb-0.5 mt-px", class: {
|
|
683
683
|
"first-of-group": n === 0,
|
|
684
684
|
"last-of-group": n === e.clients.length - 1
|
|
685
685
|
}, attrs: { "is-order": e.useSignOrder, compact: e.compact, client: s }, on: { open: function(a) {
|
|
@@ -689,7 +689,7 @@ var Ie = function() {
|
|
|
689
689
|
} } });
|
|
690
690
|
}), e.compact ? e._e() : i("CButton", { staticClass: "is-thinner !text-sm", attrs: { type: "secondary", pattern: "tertiary", "icon-left": "plus", size: "normal" }, on: { click: function(s) {
|
|
691
691
|
return e.openClientModal(e.clients.length);
|
|
692
|
-
} } }, [e._v(" " + e._s(e.$t("addButton")) + " ")])] : e.$view === "widget" || this.viewSettings.isPublicForm ? i("CButton", { staticClass: "
|
|
692
|
+
} } }, [e._v(" " + e._s(e.$t("addButton")) + " ")])] : e.$view === "widget" || this.viewSettings.isPublicForm ? i("CButton", { staticClass: "!px-4 font-medium", attrs: { type: "secondary", raised: "", size: "small", taller: "", "icon-left": "person" }, on: { click: function(s) {
|
|
693
693
|
return e.openClientModal(e.clients.length);
|
|
694
694
|
} } }, [e._v(" " + e._s(e.$t("addFirstButton")) + " ")]) : e.compact ? e._e() : i("AddClientCallout", { attrs: { compact: !0 }, on: { add: function(s) {
|
|
695
695
|
return e.openClientModal(e.clients.length);
|
|
@@ -700,7 +700,7 @@ var Ie = function() {
|
|
|
700
700
|
Oe,
|
|
701
701
|
!1,
|
|
702
702
|
null,
|
|
703
|
-
"
|
|
703
|
+
"c3186725",
|
|
704
704
|
null,
|
|
705
705
|
null
|
|
706
706
|
);
|
|
@@ -940,17 +940,17 @@ var Me = function() {
|
|
|
940
940
|
var e = this, i = e._self._c;
|
|
941
941
|
return i("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canUseBankId: s, canUseSms: n }) {
|
|
942
942
|
var a;
|
|
943
|
-
return [i("div", { staticClass: "
|
|
943
|
+
return [i("div", { staticClass: "@container flex h-full flex-col" }, [i(e.useScroll ? "Simplebar" : "div", { tag: "component", staticClass: "main-container" }, [i("div", { staticClass: "@md:px-8 @md:pb-8 @xl:px-16 @xl:pb-16 relative px-4 pb-4 pt-6" }, [i("div", { staticClass: "pb-4 text-lg font-bold" }, [e._v(" " + e._s(e.$t("title")) + " ")]), e.showName ? i("div", { staticClass: "mb-6" }, [i("div", { staticClass: "pb-0.5 text-xs font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("nameLabel")) + " ")]), i("CInput", { attrs: { placeholder: e.$t("namePlaceholder"), filled: "" }, model: { value: e.name, callback: function(r) {
|
|
944
944
|
e.name = r;
|
|
945
945
|
}, expression: "name" } })], 1) : e._e(), i("div", { staticClass: "mb-6" }, [i("RecipientBlock", { attrs: { _value: {
|
|
946
946
|
clients: "clients"
|
|
947
|
-
}, _document: e._document, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "default-add-sender-client": e.documentSenderSign, "is-public-form": e.isPublicForm } })], 1), e._t("default"), e.defaultAnswerMethod && e.signMethods.length > 1 ? i("div", { staticClass: "mb-8" }, [i("div", { staticClass: "block-title
|
|
948
|
-
return i("div", { key: r.value, staticClass: "flex border-2 border-transparent hover:
|
|
947
|
+
}, _document: e._document, "set-form-value": e.setFormValue, "remove-form-value": e.removeFormValue, "default-add-sender-client": e.documentSenderSign, "is-public-form": e.isPublicForm } })], 1), e._t("default"), e.defaultAnswerMethod && e.signMethods.length > 1 ? i("div", { staticClass: "mb-8" }, [i("div", { staticClass: "block-title pb-0.5 text-xs font-medium text-gray-900" }, [e._v(" " + e._s(e.$t("signMethod.title")) + " "), i("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("signMethod.tooltip"), expression: "$t('signMethod.tooltip')" }], staticClass: "ml-px text-gray-500", attrs: { type: "info", size: "14" } })], 1), i("div", { staticClass: "cb-card-group" }, e._l(e.signMethods, function(r) {
|
|
948
|
+
return i("div", { key: r.value, staticClass: "cb-card flex border-2 border-transparent hover:border-gray-300/30 hover:bg-gray-200", class: {
|
|
949
949
|
checked: e.defaultAnswerMethod.accept === r.value
|
|
950
950
|
}, on: { click: function(d) {
|
|
951
951
|
e.defaultAnswerMethod.accept !== r.value && e.setAnswerMethod(r.value);
|
|
952
|
-
} } }, [i("CRadio", { staticClass: "
|
|
953
|
-
}), 0)]) : e._e(), i("div", { staticClass: "grid items-center gap-2", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [i("div", [i("BaseDatePicker", { staticClass: "
|
|
952
|
+
} } }, [i("CRadio", { staticClass: "sign-radio pointer-events-none mr-3", attrs: { value: e.defaultAnswerMethod.accept, "native-value": r.value, type: "secondary", size: "small" } }), i("div", { staticClass: "flex-grow" }, [i("div", { staticClass: "cb-card-title flex items-center justify-between" }, [e._v(" " + e._s(r.title) + " "), r.value === "bankId" && !s ? i("div", { staticClass: "bg-primary-500 ml-2 rounded-full px-1.5 py-1 text-[10px] font-semibold leading-none text-white" }, [e._v(" Pro ")]) : e._e()]), i("div", { directives: [{ name: "show", rawName: "v-show", value: e.defaultAnswerMethod.accept === r.value, expression: "defaultAnswerMethod.accept === signMethod.value" }], staticClass: "cb-card-body" }, [e._v(" " + e._s(r.content) + " ")])])], 1);
|
|
953
|
+
}), 0)]) : e._e(), i("div", { staticClass: "grid items-center gap-2", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [i("div", [i("BaseDatePicker", { staticClass: "psuedo-input relative", attrs: { "custom-el": !0, direction: "end", tabindex: "0" }, model: { value: e.expiresAt, callback: function(r) {
|
|
954
954
|
e.expiresAt = r;
|
|
955
955
|
}, expression: "expiresAt" } }, [i("div", { staticClass: "psuedo-input-label" }, [e._v(e._s(e.$t("validityPeriod")))]), i("div", [e._v(" " + e._s(e.expiresAt ? e.$formatDate(e.expiresAt) : e.$t("_common:disabled").capitalize()) + " ")]), e.expiresAt ? i("CButton", { staticClass: "absolute right-3 top-3 z-10", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
|
|
956
956
|
r.preventDefault(), r.stopPropagation(), e.expiresAt = void 0, e._document.setDirty("expiresAt");
|
|
@@ -958,13 +958,13 @@ var Me = function() {
|
|
|
958
958
|
return e.setDeliveryMethod("email", !e.emailActivated);
|
|
959
959
|
} } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")]), e.feature("sms") ? i("CDropdownItem", { attrs: { value: e.smsActivated, "close-on-click": !1, toggle: "" }, on: { click: function(r) {
|
|
960
960
|
return e.setDeliveryMethod("sms", !e.smsActivated);
|
|
961
|
-
} } }, [e._v(" " + e._s(e.$t("_common:sms")) + " "), n ? e._e() : i("div", { staticClass: "ml-2 text-[10px] font-semibold
|
|
961
|
+
} } }, [e._v(" " + e._s(e.$t("_common:sms")) + " "), n ? e._e() : i("div", { staticClass: "bg-primary-500 ml-2 rounded-full px-1.5 py-1 text-[10px] font-semibold leading-none text-white" }, [e._v(" Pro ")])]) : e._e(), e.allowManualDelivery ? i("CDropdownItem", { attrs: { value: "", tooltip: {
|
|
962
962
|
content: e.$t("manualDeliveryTooltip")
|
|
963
963
|
} }, domProps: { textContent: e._s(e.$t("manualDelivery")) }, on: { click: () => {
|
|
964
964
|
e.setDeliveryMethod("sms", !1), e.setDeliveryMethod("email", !1), e._document.setDirty("isManualDelivery");
|
|
965
|
-
} } }) : e._e()], 1), !e.useSignOrder && !e.isManualDelivery ? i("div", { staticClass: "
|
|
965
|
+
} } }) : e._e()], 1), !e.useSignOrder && !e.isManualDelivery ? i("div", { staticClass: "psuedo-input relative", attrs: { tabindex: "0" }, on: { click: e.openReminders } }, [i("div", { staticClass: "psuedo-input-label" }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), i("div", [e._v(" " + e._s(e.noOfReminders ? `${e.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()) + " ")]), e.noOfReminders ? i("CButton", { staticClass: "absolute right-3 top-3", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
|
|
966
966
|
r.preventDefault(), r.stopPropagation(), e.reminders = [];
|
|
967
|
-
} } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? i("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), i("div", { staticClass: "
|
|
967
|
+
} } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? i("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), i("div", { staticClass: "@md:px-8 @xl:px-16 px-4 pb-4" }, [e._t("send", function() {
|
|
968
968
|
return [i("IsPremiumPreStep", { attrs: { feature: "bankIdAndSms" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: r }) {
|
|
969
969
|
return [i("div", { staticClass: "flex" }, [e.showSave ? i("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("_common:save", {
|
|
970
970
|
thing: e.$t("_common:document").toLowerCase()
|
|
@@ -972,9 +972,9 @@ var Me = function() {
|
|
|
972
972
|
$t('_common:save', {
|
|
973
973
|
thing: $t('_common:document').toLowerCase()
|
|
974
974
|
})
|
|
975
|
-
` }], staticClass: "w-12
|
|
975
|
+
` }], staticClass: "mr-2 w-12", attrs: { loading: e.isPosting, type: "none", icon: "save", pattern: "secondary" }, on: { click: function(d) {
|
|
976
976
|
return e.doSaveDocument({ doSend: !1 });
|
|
977
|
-
} } }) : e._e(), e.showSchedule && !e.useSignOrder && !e.isManualDelivery ? i("CButton", { staticClass: "mr-2 w-12
|
|
977
|
+
} } }) : e._e(), e.showSchedule && !e.useSignOrder && !e.isManualDelivery ? i("CButton", { staticClass: "@md:w-auto mr-2 w-12", staticStyle: { padding: "14px 16px", "border-radius": "8px", height: "initial", "font-size": "14px", "font-weight": "600" }, attrs: { disabled: e.isPosting || !e.clients.length, type: "none", pattern: "secondary" }, on: { click: e.openSendLater } }, [i("span", { staticClass: "@md:!block !hidden", domProps: { textContent: e._s(e.$t("scheduledTooltip")) } }), i("BaseIcon", { staticClass: "@md:!hidden", attrs: { type: "calendar", size: "16" } })], 1) : e._e(), i("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$v.$invalid ? {
|
|
978
978
|
content: e.clients.length ? e.$t("missingDeliveryMethod") : e.$t(
|
|
979
979
|
"components:account.documentForm.clients.errorMessage"
|
|
980
980
|
)
|
|
@@ -1000,7 +1000,7 @@ var Me = function() {
|
|
|
1000
1000
|
ze,
|
|
1001
1001
|
!1,
|
|
1002
1002
|
null,
|
|
1003
|
-
"
|
|
1003
|
+
"45742846",
|
|
1004
1004
|
null,
|
|
1005
1005
|
null
|
|
1006
1006
|
);
|
|
@@ -1679,7 +1679,7 @@ var pt = function() {
|
|
|
1679
1679
|
ht,
|
|
1680
1680
|
!1,
|
|
1681
1681
|
null,
|
|
1682
|
-
"
|
|
1682
|
+
"e2ce5684",
|
|
1683
1683
|
null,
|
|
1684
1684
|
null
|
|
1685
1685
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as n } from "./debounce-
|
|
2
|
-
import { t as o } from "./throttle-
|
|
3
|
-
import { n as r } from "./main-
|
|
1
|
+
import { d as n } from "./debounce-fb89e666.js";
|
|
2
|
+
import { t as o } from "./throttle-4a44697d.js";
|
|
3
|
+
import { n as r } from "./main-1ef64f74.js";
|
|
4
4
|
import { i as c } from "./dom-962579a6.js";
|
|
5
|
-
import { w as d } from "./CDropdownItem-
|
|
6
|
-
import { s as u, F as m } from "./Flag-
|
|
5
|
+
import { w as d } from "./CDropdownItem-46ef817a.js";
|
|
6
|
+
import { s as u, F as m } from "./Flag-4e6e51fe.js";
|
|
7
7
|
const f = {
|
|
8
8
|
name: "BackgroundsModalList",
|
|
9
9
|
i18nOptions: {
|
|
@@ -116,9 +116,9 @@ const f = {
|
|
|
116
116
|
};
|
|
117
117
|
var h = function() {
|
|
118
118
|
var e = this, t = e._self._c;
|
|
119
|
-
return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "flex
|
|
119
|
+
return t("div", { staticStyle: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, [t("div", { staticClass: "relative flex w-full", staticStyle: { padding: "4px 0", "flex-shrink": "0" } }, [t("CInput", { staticClass: "flex-grow", staticStyle: { "border-bottom": "1px solid hsl(0, 0%, 92%)" }, attrs: { placeholder: e.$t("searchPlaceholder"), reset: !0, icon: "search", size: "medium" }, model: { value: e.query, callback: function(s) {
|
|
120
120
|
e.query = s;
|
|
121
|
-
}, expression: "query" } }), e.$i18n.lang !== "en" ? t("div", { staticClass: "
|
|
121
|
+
}, expression: "query" } }), e.$i18n.lang !== "en" ? t("div", { staticClass: "absolute right-0 top-1/2 mr-6 hidden -translate-y-1/2 items-center text-gray-400 md:flex" }, [t("Flag", { staticClass: "mr-1", attrs: { region: "GB" } }), e._v(" Sök på "), t("b", { staticClass: "ml-1" }, [e._v("engelska")])], 1) : e._e()], 1), t("div", { staticStyle: { overflow: "hidden", flex: "1", height: "100%" } }, [t("simplebar", { ref: "scrollbar", staticStyle: { width: "100%", height: "100%", padding: "3px 4px" } }, [t("div", { staticStyle: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, [!e.items.length && e.isLoading ? e._l(12, function(s) {
|
|
122
122
|
return t("div", { key: s, ref: "item", refInFor: !0, staticClass: "photo" });
|
|
123
123
|
}) : e._e(), e._l(e.items, function(s, i) {
|
|
124
124
|
return t("div", { key: i, ref: "item", refInFor: !0, staticClass: "photo", style: { backgroundImage: `url(${s.minImage})` }, on: { click: function(a) {
|
|
@@ -128,7 +128,7 @@ var h = function() {
|
|
|
128
128
|
}, "&mouseleave": function(a) {
|
|
129
129
|
return e.pauseVideo(i);
|
|
130
130
|
} } }, [t("video", { ref: "video", refInFor: !0, attrs: { src: s.minVideo || s.video, loop: "", muted: "", playsInline: "", preload: "none" }, domProps: { muted: !0 } })]) : e._e(), e.selectedIndex === i ? t("div", { staticClass: "select-wrapper" }) : e._e(), t("div", { staticClass: "photo__credit" }, [e._v(e._s(s.userName))])]);
|
|
131
|
-
})], 2), t("div", { staticClass: "flex items-center justify-center
|
|
131
|
+
})], 2), t("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "2em 1em" } }, [e.isLoading ? t("BaseIcon", { staticClass: "rotateSpin", attrs: { type: "loader" } }) : e.allowMoreResults ? e._e() : t("div", { staticClass: "flex w-full flex-col items-center justify-center text-gray-400" }, [t("div", [e._v(" " + e._s(e.$t("noMoreResults")) + " ")]), e.$i18n.lang !== "en" ? t("div", { staticClass: "flex flex-col items-center text-center", staticStyle: { "padding-top": "3.2rem" } }, [t("Flag", { staticClass: "mb-1 h-8 w-8", attrs: { region: "GB" } }), e._v(" Glöm inte att sökordet måste vara på engelska ")], 1) : e._e()])], 1)])], 1), t("div", { staticClass: "flex w-full items-center justify-end", staticStyle: { padding: "4px 4px 4px 8px", "flex-shrink": "0" } }, [t("div", { staticClass: "flex-grow text-gray-400" }, [e.mq !== "sm" ? [e.query && e.noOfResults && e.noOfResults > 0 ? t("div", [e._v(" " + e._s(e.$tc("_common:result", { count: e.noOfResults })) + " ")]) : e._e(), t("div", [e._v(" " + e._s(e.creditText) + " ")])] : e._e()], 2), e._t("footer", function() {
|
|
132
132
|
return [t("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "secondary" }, on: { click: e.onSave } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])];
|
|
133
133
|
})], 2)]);
|
|
134
134
|
}, p = [], _ = /* @__PURE__ */ r(
|
|
@@ -137,7 +137,7 @@ var h = function() {
|
|
|
137
137
|
p,
|
|
138
138
|
!1,
|
|
139
139
|
null,
|
|
140
|
-
"
|
|
140
|
+
"47f429c5",
|
|
141
141
|
null,
|
|
142
142
|
null
|
|
143
143
|
);
|
|
@@ -147,11 +147,11 @@ const g = {
|
|
|
147
147
|
};
|
|
148
148
|
var y = function() {
|
|
149
149
|
var e = this, t = e._self._c;
|
|
150
|
-
return t("div", { staticClass: "font-primary
|
|
150
|
+
return t("div", { staticClass: "font-primary fixed inset-0 z-[1000] flex items-center justify-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto", on: { click: function(s) {
|
|
151
151
|
return s.target !== s.currentTarget ? null : e.$emit("close");
|
|
152
|
-
} } }, [t("div", { staticClass: "relative flex
|
|
152
|
+
} } }, [t("div", { staticClass: "relative flex h-[90%] max-h-[700px] w-[90%] max-w-3xl flex-col rounded-lg bg-white max-sm:h-full max-sm:max-h-full max-sm:w-full max-sm:rounded-none", on: { click: function(s) {
|
|
153
153
|
s.stopPropagation();
|
|
154
|
-
} } }, [t("CButton", { staticClass: "absolute
|
|
154
|
+
} } }, [t("CButton", { staticClass: "absolute right-3 top-3 z-10", attrs: { pattern: "tertiary", type: "none", size: "small", circle: "", icon: "x" }, on: { click: function(s) {
|
|
155
155
|
return e.$emit("close");
|
|
156
156
|
} } }), e._t("header"), e._t("default")], 2)]);
|
|
157
157
|
}, x = [], w = /* @__PURE__ */ r(
|
|
@@ -160,7 +160,7 @@ var y = function() {
|
|
|
160
160
|
x,
|
|
161
161
|
!1,
|
|
162
162
|
null,
|
|
163
|
-
"
|
|
163
|
+
"4a6a378b",
|
|
164
164
|
null,
|
|
165
165
|
null
|
|
166
166
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-
|
|
2
|
-
import "./main-
|
|
1
|
+
import { C as e, P as u, a as P, I as C, s as I } from "./IsPremiumPreStep-b4094114.js";
|
|
2
|
+
import "./main-1ef64f74.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
import "./anime.es-e284c852.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-286fbf2e.js";
|
|
6
6
|
import "./index-805c56e4.js";
|
|
7
7
|
import "./dom-962579a6.js";
|
|
8
8
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { m as f, a as m, b as _ } from "./vuex.esm-4a0fff7c.js";
|
|
2
|
-
import { n as o, A as v, S as h, g as l, h as i } from "./main-
|
|
3
|
-
import { w as d } from "./CDropdownItem-
|
|
4
|
-
import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { B as p } from "./DocTextEditor-
|
|
2
|
+
import { n as o, A as v, S as h, g as l, h as i } from "./main-1ef64f74.js";
|
|
3
|
+
import { w as d } from "./CDropdownItem-46ef817a.js";
|
|
4
|
+
import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-1bfafbea.js";
|
|
5
|
+
import { B as p } from "./DocTextEditor-7b551ddf.js";
|
|
6
6
|
import { v as r } from "./index-805c56e4.js";
|
|
7
|
-
import "./tippy.esm-
|
|
8
|
-
import "./ColorPicker-
|
|
9
|
-
import "./DocumentLayout-
|
|
10
|
-
import "./debounce-
|
|
7
|
+
import "./tippy.esm-cddf5c5a.js";
|
|
8
|
+
import "./ColorPicker-b815929f.js";
|
|
9
|
+
import "./DocumentLayout-4ef4eb0c.js";
|
|
10
|
+
import "./debounce-fb89e666.js";
|
|
11
11
|
import "./dom-962579a6.js";
|
|
12
12
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
13
|
-
import "./ManualPopover-
|
|
13
|
+
import "./ManualPopover-279c34d7.js";
|
|
14
14
|
import "./color-71c20583.js";
|
|
15
15
|
const g = {
|
|
16
16
|
props: {
|
|
@@ -49,7 +49,7 @@ var C = function() {
|
|
|
49
49
|
T,
|
|
50
50
|
!1,
|
|
51
51
|
null,
|
|
52
|
-
"
|
|
52
|
+
"4ea2fd3b",
|
|
53
53
|
null,
|
|
54
54
|
null
|
|
55
55
|
);
|
|
@@ -213,7 +213,7 @@ var M = function() {
|
|
|
213
213
|
var e = this, t = e._self._c;
|
|
214
214
|
return t("div", { staticStyle: { position: "relative" } }, [e.showFixedCloseButton ? t("CButton", { staticClass: "fixed-close-button", attrs: { circle: "", icon: "x" }, on: { click: function(a) {
|
|
215
215
|
return e.$emit("close");
|
|
216
|
-
} } }) : e._e(), e.isFetching ? t("div", { staticClass: "flex items-center justify-center
|
|
216
|
+
} } }) : e._e(), e.isFetching ? t("div", { staticClass: "flex w-full items-center justify-center", staticStyle: { padding: "calc(3 * var(--rem)) 0" } }, [t("Spinner")], 1) : e.templateMessage !== void 0 ? t("form", [t("CField", { attrs: { validator: e.$v.name, messages: e.messages.name, label: e.$t("name.label") } }, [t("CInput", { attrs: { placeholder: e.$t("name.placeholder") }, on: { blur: function(a) {
|
|
217
217
|
return e.$v.name.$touch();
|
|
218
218
|
} }, model: { value: e.name, callback: function(a) {
|
|
219
219
|
e.name = a;
|
|
@@ -232,7 +232,7 @@ var M = function() {
|
|
|
232
232
|
E,
|
|
233
233
|
!1,
|
|
234
234
|
null,
|
|
235
|
-
"
|
|
235
|
+
"bec2c0c3",
|
|
236
236
|
null,
|
|
237
237
|
null
|
|
238
238
|
);
|
|
@@ -300,7 +300,7 @@ var k = function() {
|
|
|
300
300
|
}, click: function(u) {
|
|
301
301
|
return e.onSelect(a[e.selectedIndex].message || "");
|
|
302
302
|
} } }, [e._v(" " + e._s(n.name) + " ")]);
|
|
303
|
-
}), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "flex items-center justify-between
|
|
303
|
+
}), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "t-footer flex w-full items-center justify-between" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("BaseIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
|
|
304
304
|
} }]) });
|
|
305
305
|
}, q = [], L = /* @__PURE__ */ o(
|
|
306
306
|
A,
|
|
@@ -308,7 +308,7 @@ var k = function() {
|
|
|
308
308
|
q,
|
|
309
309
|
!1,
|
|
310
310
|
null,
|
|
311
|
-
"
|
|
311
|
+
"4d29320a",
|
|
312
312
|
null,
|
|
313
313
|
null
|
|
314
314
|
);
|