@cling-se/widget 0.12.2 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddClientCallout-55d62947.js → AddClientCallout-96e94ad9.js} +7 -7
- package/dist/{AnswerModal-b6711c04.js → AnswerModal-6990ea17.js} +225 -266
- package/dist/{AttachmentItem-ae30a5f1.js → AttachmentItem-0d327381.js} +6 -6
- package/dist/{BaseDatePicker-eb8f882d.js → BaseDatePicker-e2e1ea6e.js} +2 -2
- package/dist/{BaseInput-2937b370.js → BaseInput-d9c734b0.js} +1 -1
- package/dist/{BaseUpload-43e14bd0.js → BaseUpload-9efbce6d.js} +2 -2
- package/dist/{BlockMedia-8360c785.js → BlockMedia-70d92534.js} +1 -1
- package/dist/{CCallout-0151c27a.js → CCallout-419f1eac.js} +4 -4
- package/dist/{CDropdownItem-b1e4c6f3.js → CDropdownItem-60893039.js} +2 -2
- package/dist/{CField-fdd6dcfd.js → CField-2e027461.js} +1 -1
- package/dist/{CPhoneFormat-df833bce.js → CPhoneFormat-b0670312.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-55e6c2fe.js → CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js} +1 -1
- package/dist/{ClientAutocomplete-205a7590.js → ClientAutocomplete-44998c42.js} +2 -2
- package/dist/{ClientModal-68127a2f.js → ClientModal-d4ebef77.js} +11 -11
- package/dist/{ColorPicker-43c3cfaf.js → ColorPicker-cd9e1cc0.js} +2 -2
- package/dist/{CompanyModal-71ebe768.js → CompanyModal-36820c26.js} +3 -3
- package/dist/{ContentWrapper-8f8bee09.js → ContentWrapper-520e4761.js} +19 -19
- package/dist/{CoverBlockSettings-d5369ff3.js → CoverBlockSettings-0251d18f.js} +17 -17
- package/dist/{DocAnswer-5e76d312.js → DocAnswer-dad0bf7f.js} +4 -4
- package/dist/{DocDetails-66a88018.js → DocDetails-31009b60.js} +29 -29
- package/dist/{DocForm-6bd82138.js → DocForm-3e6d9d83.js} +88 -85
- package/dist/{DocFormSend-c216bd22.js → DocFormSend-3b8e9604.js} +19 -19
- package/dist/{DocLinks-c970a046.js → DocLinks-1467ba01.js} +2 -2
- package/dist/{DocModalBase-cbaaa05d.js → DocModalBase-c596787a.js} +7 -7
- package/dist/{DocPrint-8151565c.js → DocPrint-3970f8e8.js} +13 -13
- package/dist/{DocReceipt-493488a1.js → DocReceipt-dd5c7d5b.js} +7 -7
- package/dist/{DocSendReminder-ffc469ba.js → DocSendReminder-a3909a71.js} +6 -6
- package/dist/{DocTextEditor-4892f553.js → DocTextEditor-f0223af8.js} +16 -16
- package/dist/{DocTimeline-7a10530a.js → DocTimeline-9b29e5f6.js} +4 -4
- package/dist/{DocumentClient-414f097b.js → DocumentClient-f77bc578.js} +46 -32
- package/dist/{DocumentLayout-2cca22a1.js → DocumentLayout-9cc2a08e.js} +6 -6
- package/dist/{DocumentLogotype-e77e7f40.js → DocumentLogotype-20216f74.js} +9 -9
- package/dist/{DocumentVoided-09d10c10.js → DocumentVoided-1198114e.js} +2 -2
- package/dist/{EmbedInput-25566df2.js → EmbedInput-df3aa286.js} +2 -2
- package/dist/{EmbedSettings-167509c0.js → EmbedSettings-b71e059b.js} +3 -3
- package/dist/{ErrorCallout-42eae3f2.js → ErrorCallout-a39eba4d.js} +1 -1
- package/dist/{FilePreviewModal-8e1122db.js → FilePreviewModal-b5edeee0.js} +8 -8
- package/dist/{Flag-38700bb4.js → Flag-c7a354cd.js} +1 -1
- package/dist/{HeaderSettings-081d2355.js → HeaderSettings-db6e32c8.js} +24 -24
- package/dist/{ImageSelectModal-6a1cd80d.js → ImageSelectModal-856e363b.js} +8 -8
- package/dist/{ImageUploadWrapper-9a6f033f.js → ImageUploadWrapper-24dadc15.js} +5 -5
- package/dist/{Index-0e0ad8c0.js → Index-007a1233.js} +5 -5
- package/dist/{Index-a934610b.js → Index-0099e82e.js} +1 -1
- package/dist/{Index-9502eaff.js → Index-014d0ac2.js} +47 -41
- package/dist/{Index-39261a3a.js → Index-12ea21c5.js} +1 -1
- package/dist/{Index-3e206913.js → Index-139b1013.js} +2 -2
- package/dist/{Index-79894831.js → Index-1bf76a16.js} +4 -4
- package/dist/{Index-8e921bc3.js → Index-3378fcf6.js} +4 -4
- package/dist/{Index-c25f3084.js → Index-34978d11.js} +2 -2
- package/dist/{Index-54fd8589.js → Index-3889e134.js} +4 -4
- package/dist/{Index-d1ab5e5c.js → Index-40083942.js} +14 -14
- package/dist/{Index-8f01dd46.js → Index-4e675d8a.js} +4 -4
- package/dist/{Index-bf5c0b5b.js → Index-4f25825f.js} +10 -10
- package/dist/{Index-b62d0ef2.js → Index-4f9afe72.js} +6 -6
- package/dist/{Index-1273cdc7.js → Index-5355b449.js} +7 -7
- package/dist/{Index-7114ff1a.js → Index-54a78fad.js} +6 -6
- package/dist/{Index-34195119.js → Index-607f6640.js} +6 -6
- package/dist/{Index-4a8142d1.js → Index-6d22d9d1.js} +2 -2
- package/dist/{Index-b925e767.js → Index-73cee68c.js} +5 -5
- package/dist/{Index-fdaebd99.js → Index-75368b48.js} +2 -2
- package/dist/{Index-7c04c559.js → Index-7b2e5ac5.js} +24 -24
- package/dist/{Index-a75ce263.js → Index-8ac2ed05.js} +4 -4
- package/dist/{Index-4369488e.js → Index-9891ee1a.js} +6 -6
- package/dist/{Index-915af180.js → Index-99ac0ac2.js} +4 -4
- package/dist/{Index-2c33f7e6.js → Index-a5a82682.js} +9 -9
- package/dist/{Index-a8e9faf7.js → Index-b5480383.js} +9 -9
- package/dist/{Index-ddb1face.js → Index-bc5f3ca9.js} +4 -4
- package/dist/{Index-88084849.js → Index-c551781f.js} +6 -6
- package/dist/{Index-c55a7553.js → Index-cada810e.js} +7 -7
- package/dist/{Index-860a7def.js → Index-d689466d.js} +2 -2
- package/dist/{Index-ba70d622.js → Index-dcbfb822.js} +2 -2
- package/dist/{Index-614cfe86.js → Index-dd5f8fc7.js} +9 -9
- package/dist/{Index-b0b08a5f.js → Index-ef955a66.js} +3 -3
- package/dist/{Index-f5620e99.js → Index-f05fe2a1.js} +4 -4
- package/dist/{Index-ae9bb0e5.js → Index-f06fcb76.js} +48 -38
- package/dist/{InputToggleRow-afcabf8b.js → InputToggleRow-a9229972.js} +6 -6
- package/dist/{IsPremiumPreStep-231700e7.js → IsPremiumPreStep-4e9e2883.js} +27 -27
- package/dist/{ManualPopover-07af41a9.js → ManualPopover-720770bb.js} +1 -1
- package/dist/{MediaWrapper-3f16a687.js → MediaWrapper-90c72ae5.js} +3 -3
- package/dist/{NotBindingText-4ba4eb33.js → NotBindingText-832d5350.js} +2 -2
- package/dist/{PackageGroup-bb70a242.js → PackageGroup-22cbb76c.js} +87 -73
- package/dist/{PdfTerms-73cdcc78.js → PdfTerms-ce2d5d5e.js} +5 -5
- package/dist/{PdfViewer-0ca6548a.js → PdfViewer-ebff4b6c.js} +4 -4
- package/dist/{PlainHtml-834d9eb9.js → PlainHtml-faae67a3.js} +1 -1
- package/dist/{PriceHeader-27bc4ab4.js → PriceHeader-67ac2108.js} +37 -37
- package/dist/{SearchApi-e24cb043.js → SearchApi-d90fd0d2.js} +2 -2
- package/dist/{Setup-38eb90ad.js → Setup-88387515.js} +2 -2
- package/dist/{TermsSettings-0566ebc2.js → TermsSettings-82f18edc.js} +7 -7
- package/dist/{ThemeColorRow-6bb39c8c.js → ThemeColorRow-ca0c7f34.js} +4 -4
- package/dist/{ToggleBinding-b399a2d3.js → ToggleBinding-87b13b54.js} +3 -3
- package/dist/{UploadModal-69feba8c.js → UploadModal-9c6b64dc.js} +8 -8
- package/dist/{VideoPlayerInput-0289e1ad.js → VideoPlayerInput-87ae1e67.js} +3 -3
- package/dist/{VideoPlayerSettings-cc63392e.js → VideoPlayerSettings-ab7c9dd9.js} +4 -4
- package/dist/{VideoSelectModal-c98090a3.js → VideoSelectModal-b9c128a2.js} +15 -15
- package/dist/answerDocumentMixin-1a04710f.js +51 -0
- package/dist/{debounce-ceac3c0c.js → debounce-5f4cc346.js} +1 -1
- package/dist/{focusDrawerMixin-6b40c0e4.js → focusDrawerMixin-fcfab690.js} +1 -1
- package/dist/{formComponentsInstall-4bc1ca62.js → formComponentsInstall-f2198c99.js} +41 -41
- package/dist/{formDrawerState-2389a9f5.js → formDrawerState-6ff961ac.js} +1 -1
- package/dist/{formValidationMixin-198347ab.js → formValidationMixin-5882b9a7.js} +1 -1
- package/dist/{i18nMessages-45c6bfd6.js → i18nMessages-6b279c15.js} +4 -2
- package/dist/{index-4e8daf4c.js → index-069b282b.js} +3 -3
- package/dist/{index-323657a2.js → index-09727136.js} +1 -1
- package/dist/{index-2e4624f0.js → index-383fefaf.js} +1 -1
- package/dist/{index-df8dbf78.js → index-525e4866.js} +13 -13
- package/dist/{index-f44b504d.js → index-7fa7534f.js} +14 -14
- package/dist/{index-e3f717e9.js → index-9d8996e9.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +144 -144
- package/dist/{main-e7c2bb1b.js → main-0ba93efc.js} +6037 -6233
- package/dist/{mapFormMixin-cb52494b.js → mapFormMixin-46fe94a8.js} +1 -1
- package/dist/{publicSenderState-60a99040.js → publicSenderState-644bb177.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-27be8808.js → throttle-61f5ee70.js} +2 -2
- package/dist/{tinycolor-314fba6f.js → tinycolor-4773d945.js} +1 -1
- package/dist/{tippy.esm-4fc6fa67.js → tippy.esm-b5320973.js} +6 -6
- package/dist/{utils-e42920bb.js → utils-8d533496.js} +1 -1
- package/dist/{vuedraggable.umd-945498e7.js → vuedraggable.umd-37bf712b.js} +1 -1
- package/package.json +2 -2
- package/dist/answerDocumentMixin-a2c8c0c9.js +0 -54
|
@@ -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-c7a354cd.js";
|
|
3
|
+
import { m } from "./mapFormMixin-46fe94a8.js";
|
|
4
|
+
import { B as I } from "./BaseDatePicker-e2e1ea6e.js";
|
|
5
|
+
import { E as K } from "./ErrorCallout-a39eba4d.js";
|
|
6
|
+
import { I as W, a as X, r as l } from "./IsPremiumPreStep-4e9e2883.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-0ba93efc.js";
|
|
8
|
+
import Z from "./AddClientCallout-96e94ad9.js";
|
|
9
|
+
import ee from "./ClientModal-d4ebef77.js";
|
|
10
|
+
import { c as te, r as ie, g as se, C as h, a as f, b as p } from "./CDropdownItem-60893039.js";
|
|
11
|
+
import { S as ne } from "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
|
|
12
|
+
import { C as _ } from "./CCallout-419f1eac.js";
|
|
13
|
+
import { C as z } from "./CField-2e027461.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,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-4e9e2883.js";
|
|
2
|
+
import "./main-0ba93efc.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
import "./anime.es-e284c852.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-9d8996e9.js";
|
|
6
6
|
import "./index-805c56e4.js";
|
|
7
7
|
import "./dom-962579a6.js";
|
|
8
8
|
export {
|
|
@@ -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-5f4cc346.js";
|
|
2
|
+
import { t as o } from "./throttle-61f5ee70.js";
|
|
3
|
+
import { n as r } from "./main-0ba93efc.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-60893039.js";
|
|
6
|
+
import { s as u, F as m } from "./Flag-c7a354cd.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,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-0ba93efc.js";
|
|
3
|
+
import { w as d } from "./CDropdownItem-60893039.js";
|
|
4
|
+
import { S as x } from "./CSlider.vue_vue_type_style_index_0_lang-852dfd0e.js";
|
|
5
|
+
import { B as p } from "./DocTextEditor-f0223af8.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-b5320973.js";
|
|
8
|
+
import "./ColorPicker-cd9e1cc0.js";
|
|
9
|
+
import "./DocumentLayout-9cc2a08e.js";
|
|
10
|
+
import "./debounce-5f4cc346.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-720770bb.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
|
);
|