@cling-se/widget 0.9.23 → 0.9.24
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-49655a64.js → AddClientCallout-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-9d765ded.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-dbeaf863.js → Index-06045b22.js} +9 -10
- package/dist/{Index-d60eb16f.js → Index-0932b744.js} +32 -20
- package/dist/{Index-468190f0.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-e813c8cd.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-8ef32146.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-c89d17d9.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-7fe05fe5.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-a3ee21e6.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-4df3c1d2.js → Index-494c3112.js} +300 -147
- package/dist/{Index-d6635896.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-630c21f5.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-9afa091c.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-843f81bd.js → Index-5def7508.js} +17 -12
- package/dist/{Index-5093d646.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-a79cd9b6.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-0f2bf3b1.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-bf0e9351.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-7c60cb32.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-7dec77f5.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-0eb9d45b.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-12a6485f.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-a36c3418.js → Index-c2008029.js} +2 -2
- package/dist/{Index-bb62e92d.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-aad34e7e.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-f640eb29.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-16155aba.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-29147f73.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-0b1a9238.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-bf2ed6a3.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-b66d1e1a.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-96725e56.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-64236029.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-58c45661.js → image-456aa00c.js} +1 -1
- package/dist/{index-b20167b3.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-cf014fd4.js → index-2710ab1c.js} +2 -2
- package/dist/{index-c0b45aa7.js → index-63ab2d14.js} +12 -12
- package/dist/{index-4afc771b.js → index-b8207e2a.js} +1 -1
- package/dist/{index-47e427b4.js → index-e4f936ec.js} +8 -6
- package/dist/{index-0c493549.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +95 -66
- package/dist/{main-8d566a02.js → main-b5eb6366.js} +134 -76
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-36338df7.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-76911d11.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-4ce34a95.js +0 -30
- package/dist/Index-66295ea9.js +0 -28
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { V as r, r as s, m as n, a as i, g as l, C as m, n as c } from "./main-
|
|
2
|
-
import { i as u, S as d } from "./formComponentsInstall-
|
|
1
|
+
import { V as r, r as s, m as n, a as i, g as l, C as m, n as c } from "./main-b5eb6366.js";
|
|
2
|
+
import { i as u, S as d } from "./formComponentsInstall-0e28cca8.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./simplebar.min-
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./BaseDatePicker-
|
|
7
|
-
import "./ErrorCallout-
|
|
8
|
-
import "./IsPremiumPreStep-
|
|
4
|
+
import "./simplebar.min-147772cd.js";
|
|
5
|
+
import "./mapFormMixin-e0c45bbd.js";
|
|
6
|
+
import "./BaseDatePicker-e1efcf48.js";
|
|
7
|
+
import "./ErrorCallout-d6c77efa.js";
|
|
8
|
+
import "./IsPremiumPreStep-f0524e76.js";
|
|
9
9
|
import "./anime.es-e284c852.js";
|
|
10
|
-
import "./image-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./image-456aa00c.js";
|
|
11
|
+
import "./index-b8207e2a.js";
|
|
12
12
|
import "./index-805c56e4.js";
|
|
13
13
|
import "./dom-962579a6.js";
|
|
14
|
-
import "./AddClientCallout-
|
|
15
|
-
import "./ClientAutocomplete-
|
|
16
|
-
import "./SearchApi-
|
|
17
|
-
import "./debounce-
|
|
18
|
-
import "./ClientModal-
|
|
19
|
-
import "./CDropdownItem-
|
|
20
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
21
|
-
import "./CCallout-
|
|
22
|
-
import "./CField-
|
|
14
|
+
import "./AddClientCallout-4afb07ff.js";
|
|
15
|
+
import "./ClientAutocomplete-0f51c1cd.js";
|
|
16
|
+
import "./SearchApi-1cd32dd3.js";
|
|
17
|
+
import "./debounce-97bb38ac.js";
|
|
18
|
+
import "./ClientModal-1bec5a45.js";
|
|
19
|
+
import "./CDropdownItem-cc274799.js";
|
|
20
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js";
|
|
21
|
+
import "./CCallout-1a1feea0.js";
|
|
22
|
+
import "./CField-372bd9c7.js";
|
|
23
23
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
24
24
|
r.use(u);
|
|
25
25
|
const a = r.observable({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e } from "./index-
|
|
2
|
-
import { r as o, n as t } from "./main-
|
|
1
|
+
import { C as e } from "./index-2710ab1c.js";
|
|
2
|
+
import { r as o, n as t } from "./main-b5eb6366.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
4
|
const r = {
|
|
5
5
|
name: "DocLinks",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as t } from "./main-
|
|
1
|
+
import { n as t } from "./main-b5eb6366.js";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "DocModalBase",
|
|
4
4
|
components: {},
|
|
@@ -14,17 +14,17 @@ var a = function() {
|
|
|
14
14
|
return o("div", { staticClass: "doc-modal-base" }, [e.showClose ? o("CButton", { staticClass: "absolute text-gray-500 top-4 right-4", attrs: { circle: "", icon: "x" }, on: { click: function(_) {
|
|
15
15
|
return e.$parent.$emit("close");
|
|
16
16
|
} } }) : e._e(), e._t("default")], 2);
|
|
17
|
-
}, n = [],
|
|
17
|
+
}, n = [], l = /* @__PURE__ */ t(
|
|
18
18
|
s,
|
|
19
19
|
a,
|
|
20
20
|
n,
|
|
21
21
|
!1,
|
|
22
22
|
null,
|
|
23
|
-
"
|
|
23
|
+
"b672a873",
|
|
24
24
|
null,
|
|
25
25
|
null
|
|
26
26
|
);
|
|
27
|
-
const i =
|
|
27
|
+
const i = l.exports;
|
|
28
28
|
export {
|
|
29
29
|
i as D
|
|
30
30
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as d, E as h, c, I as l, F as p, G as a, H as m } from "./main-
|
|
1
|
+
import { n as d, E as h, c, I as l, F as p, G as a, H as m } from "./main-b5eb6366.js";
|
|
2
2
|
const u = {
|
|
3
3
|
i18nOptions: {
|
|
4
4
|
namespaces: "documentPrint",
|
|
@@ -206,7 +206,7 @@ var f = function() {
|
|
|
206
206
|
g,
|
|
207
207
|
!1,
|
|
208
208
|
null,
|
|
209
|
-
"
|
|
209
|
+
"7d66fef4",
|
|
210
210
|
null,
|
|
211
211
|
null
|
|
212
212
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as p, n as u } from "./main-
|
|
1
|
+
import { g as p, n as u } from "./main-b5eb6366.js";
|
|
2
2
|
import { m as g, a as _ } from "./vuex.esm-4a0fff7c.js";
|
|
3
3
|
const f = {
|
|
4
4
|
sv: {
|
|
@@ -99,7 +99,9 @@ const f = {
|
|
|
99
99
|
this.showMessage({
|
|
100
100
|
displayType: "dialog",
|
|
101
101
|
type: "secondary",
|
|
102
|
-
title: this.$t("_common:change", {
|
|
102
|
+
title: this.$t("_common:change", {
|
|
103
|
+
thing: this.$t("_common:signMethod.title").toLowerCase()
|
|
104
|
+
}),
|
|
103
105
|
message: this.$t("confirmChangeMessage", { name: a.name }),
|
|
104
106
|
actions: {
|
|
105
107
|
cancel: {
|
|
@@ -127,19 +129,40 @@ var h = function() {
|
|
|
127
129
|
var t = this, e = t._self._c;
|
|
128
130
|
return e("div", { staticClass: "rounded-lg text-gray-600 pt-4 px-1 pb-1 bg-gray-100 border border-gray-200" }, [e("div", { staticClass: "mb-1 relative leading-5" }, [e("div", { staticClass: "pl-4 pb-1" }, [e("div", { staticClass: "font-medium text-black" }, [t._v(t._s(t.$t("title")))]), e("div", { staticClass: "data-label" }, [t._v(t._s(t.documentName))]), e("div", { staticClass: "grid grid-cols-3 gap-2 pb-1 pt-4", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(200px, 1fr))" } }, [t._l([
|
|
129
131
|
[t.$t("_common:sentByName"), t.sentByName],
|
|
130
|
-
[
|
|
131
|
-
|
|
132
|
-
|
|
132
|
+
[
|
|
133
|
+
t.$t("_components:status.sent"),
|
|
134
|
+
t.$formatDate(t.document.sentAt, "Pp")
|
|
135
|
+
],
|
|
136
|
+
[
|
|
137
|
+
t.$t("_components:replyBy"),
|
|
138
|
+
t.document.status === "sent" && t.$formatDate(t.document.expiresAt)
|
|
139
|
+
],
|
|
140
|
+
[
|
|
141
|
+
t.$t("_components:status.accepted"),
|
|
142
|
+
t.$formatDate(t.document.acceptedAt, "Pp")
|
|
143
|
+
]
|
|
133
144
|
], function([n, s], o) {
|
|
134
145
|
return [s ? e("div", { key: o }, [e("div", { staticClass: "text-gray-900 text-xs", domProps: { textContent: t._s(n) } }), e("div", { staticClass: "text-gray-600 mr-1.5", domProps: { textContent: t._s(s) } })]) : t._e()];
|
|
135
146
|
})], 2)]), t.waitingFor.length ? e("div", { staticClass: "mt-2 inline-flex items-center text-xs font-medium bg-orange-50 border border-orange-200/90 px-1 py-0.5 rounded-full ml-3 text-black/80" }, [e("BaseIcon", { staticClass: "text-orange-500/80", attrs: { type: "info", size: "14" } }), e("div", { staticClass: "px-1.5" }, [t._v(" " + t._s(t.$t("remaining", { count: t.waitingFor.length })) + " ")])], 1) : t._e(), e("BaseIcon", { staticClass: "absolute top-1 right-5 text-gray-500", attrs: { type: "lock", size: "18" } })], 1), e("div", { staticClass: "flex flex-col gap-2 p-2" }, t._l(t.signees, function(n, s) {
|
|
136
147
|
var o, c;
|
|
137
|
-
return e("div", { key: s, staticClass: "bg-white relative text-gray-700 border border-gray-200 rounded-md" }, [e("div", { staticClass: "px-4 py-3" }, [n.didAccept && n.method === "bankId" ? e("BaseIcon", { staticClass: "absolute top-3 right-4", attrs: { type: "bankIdColor", size: "22" } }) : n.didAccept ? e("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t(`_common:documentRole.${n.documentRole}.label`), expression: "$t(`_common:documentRole.${signee.documentRole}.label`)" }], staticClass: "lock-icon absolute right-6 top-4 opacity-70", attrs: { size: 18, type: t.getIconType(n.documentRole) } }) : t._e(), n.didAccept === !1 ? e("div", { staticClass: "absolute right-3 top-3 bg-red-200 border border-red-400/50 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-red-700" }, [t._v(" " + t._s(t.$t("_common:denied").capitalize()) + " ")]) : !n.didAccept && n.method !== "inPerson" ? e("div", { staticClass: "absolute right-3 top-3 bg-orange-50 border border-orange-200/70 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-black/80" }, [t._v(" " + t._s(t.$t("waitingForSign")) + " ")]) : t._e(), e("div", { staticClass: "font-medium text-[15px] text-black pb-1" }, [t._v(t._s(((o = n.response) == null ? void 0 : o.name) || n.name))]), e("div", { staticClass: "grid grid-cols-3 gap-2 py-1", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(190px, 1fr))" } }, [t._l([
|
|
148
|
+
return e("div", { key: s, staticClass: "bg-white relative text-gray-700 border border-gray-200 rounded-md" }, [e("div", { staticClass: "px-4 py-3" }, [n.didAccept && n.method === "bankId" ? e("BaseIcon", { staticClass: "absolute top-3 right-4", attrs: { type: "bankIdColor", size: "22" } }) : n.didAccept ? e("BaseIcon", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t(`_common:documentRole.${n.documentRole}.label`), expression: "$t(`_common:documentRole.${signee.documentRole}.label`)" }], staticClass: "lock-icon absolute right-6 top-4 opacity-70", attrs: { size: 18, type: t.getIconType(n.documentRole) } }) : t._e(), n.didAccept === !1 ? e("div", { staticClass: "absolute right-3 top-3 bg-red-200 border border-red-400/50 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-red-700" }, [t._v(" " + t._s(t.$t("_common:denied").capitalize()) + " ")]) : !n.didAccept && n.method !== "inPerson" ? e("div", { staticClass: "absolute right-3 top-3 bg-orange-50 border border-orange-200/70 rounded-full text-xs py-0.5 px-2 inline-flex font-medium text-black/80" }, [t._v(" " + t._s(t.$t("waitingForSign")) + " ")]) : t._e(), e("div", { staticClass: "font-medium text-[15px] text-black pb-1" }, [t._v(" " + t._s(((o = n.response) == null ? void 0 : o.name) || n.name) + " ")]), e("div", { staticClass: "grid grid-cols-3 gap-2 py-1", staticStyle: { "grid-template-columns": "repeat(auto-fit, minmax(190px, 1fr))" } }, [t._l([
|
|
138
149
|
[t.$t("_common:socialNo").capitalize(), n.socialNo],
|
|
139
|
-
[
|
|
140
|
-
|
|
150
|
+
[
|
|
151
|
+
t.$t("signMethod"),
|
|
152
|
+
t.$t(`_common:signMethod.${n.method}`),
|
|
153
|
+
"signMethod"
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
`${t.$t("_common:date").capitalize()} & ${t.$t(
|
|
157
|
+
"_common:time.time"
|
|
158
|
+
)}`,
|
|
159
|
+
t.$formatDate(n.didAnswerAt, "Pp")
|
|
160
|
+
],
|
|
141
161
|
["IP-" + t.$t("_common:address"), n.ip],
|
|
142
|
-
[
|
|
162
|
+
[
|
|
163
|
+
`${t.$t("_common:browser")}, OS & ${t.$t("_common:device")}`,
|
|
164
|
+
t.getBrowserString(n)
|
|
165
|
+
]
|
|
143
166
|
], function([i, d, m], l) {
|
|
144
167
|
return [d ? e("div", { key: l, staticClass: "text-[13px]" }, [e("div", { staticClass: "text-gray-900", domProps: { textContent: t._s(i) } }), e("div", { staticClass: "flex items-center" }, [e("div", { staticClass: "text-gray-500 mr-1.5", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } } }, [e("div", { staticClass: "underline text-primary-500 font-medium text-xs", attrs: { slot: "trigger" }, domProps: { textContent: t._s(t.$t("_common:change")) }, slot: "trigger" }), t._l([
|
|
145
168
|
...t.feature("bankId") ? ["bankId"] : [],
|
|
@@ -150,7 +173,7 @@ var h = function() {
|
|
|
150
173
|
n.method !== r && t.onUpdate(n, r);
|
|
151
174
|
} } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
|
|
152
175
|
})], 2) : t._e()], 1)]) : t._e()];
|
|
153
|
-
})], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "h-20 mx-4 py-6 border-t border-gray-100" }, [e("img", { staticClass: "h-full", attrs: { src: n.signatureDataURL } })]) : n.didAccept && n.method === "bankId" ? e("div", { staticClass: "bg-gray-300 mx-4 mb-4 text-white/90 flex items-center p-1.5 rounded-md", staticStyle: { background: "linear-gradient(
|
|
176
|
+
})], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "h-20 mx-4 py-6 border-t border-gray-100" }, [e("img", { staticClass: "h-full", attrs: { src: n.signatureDataURL } })]) : n.didAccept && n.method === "bankId" ? e("div", { staticClass: "bg-gray-300 mx-4 mb-4 text-white/90 flex items-center p-1.5 rounded-md", staticStyle: { background: "linear-gradient(", border: "1px solid #35677e" } }, [e("div", { staticClass: "rounded-md w-9 h-9 flex items-center justify-center mr-2 ml-0.5 bg-[#183e4f] border border-[#275369]" }, [e("BaseIcon", { attrs: { type: "bankId", size: "22" } })], 1), e("div", [e("div", { staticClass: "text-xs font-medium", domProps: { textContent: t._s(t.$t("bankIdHint")) } }), e("div", { staticClass: "text-xs opacity-70" }, [t._v(" " + t._s(((c = n.response) == null ? void 0 : c.name) || n.name) + " · " + t._s(n.socialNo) + " ")])])]) : t._e()]);
|
|
154
177
|
}), 0)]);
|
|
155
178
|
}, y = [], b = /* @__PURE__ */ u(
|
|
156
179
|
x,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as m, n as a } from "./main-
|
|
1
|
+
import { g as m, n as a } from "./main-b5eb6366.js";
|
|
2
2
|
import { m as c, a as d } from "./vuex.esm-4a0fff7c.js";
|
|
3
3
|
const l = {
|
|
4
4
|
name: "DocumentSendReminderModal",
|
|
@@ -32,7 +32,10 @@ const l = {
|
|
|
32
32
|
})
|
|
33
33
|
},
|
|
34
34
|
created() {
|
|
35
|
-
const { events: s = [], clients: e = [] } = this.document || {}, n = s.reduce(
|
|
35
|
+
const { events: s = [], clients: e = [] } = this.document || {}, n = s.reduce(
|
|
36
|
+
(t, { code: i, data: o }) => i === "sent" && o && o.clients && o.clients.length ? [...t, ...o.clients.map(({ id: r }) => r)] : t,
|
|
37
|
+
[]
|
|
38
|
+
);
|
|
36
39
|
this.clientsToSend = e.filter(({ id: t }) => n.includes(t)), this.feature("sms") || this.clientsToSend.forEach((t, i) => {
|
|
37
40
|
this.isTypeActive("sms", t) && this.setDeliveryMethod("sms", i);
|
|
38
41
|
}), this.clientsToSend.forEach((t, i) => {
|
|
@@ -60,7 +63,9 @@ const l = {
|
|
|
60
63
|
return e.deliveryTypes.includes(s) && this.canSendType(s, e);
|
|
61
64
|
},
|
|
62
65
|
setDeliveryMethod(s, e) {
|
|
63
|
-
const n = this.clientsToSend[e].deliveryTypes.findIndex(
|
|
66
|
+
const n = this.clientsToSend[e].deliveryTypes.findIndex(
|
|
67
|
+
(t) => t === s
|
|
68
|
+
);
|
|
64
69
|
n > -1 ? this.clientsToSend[e].deliveryTypes.splice(n, 1) : this.clientsToSend[e].deliveryTypes.push(s);
|
|
65
70
|
}
|
|
66
71
|
}
|
|
@@ -68,9 +73,29 @@ const l = {
|
|
|
68
73
|
var p = function() {
|
|
69
74
|
var e = this, n = e._self._c;
|
|
70
75
|
return n("div", { staticClass: "bg-white rounded-xl p-8" }, [n("div", { staticClass: "mb-6 text-lg font-semibold", domProps: { textContent: e._s(e.$t("_common:send", { thing: e.$t("_common:reminder") })) } }), e._l(e.clientsToSend, function(t, i) {
|
|
71
|
-
return n("div", { key: i, staticClass: "border border-gray-200 p-2 rounded-lg mb-3" }, [n("div", { staticClass: "mb-2 pl-1" }, [n("div", { staticClass: "font-medium text-sm" }, [e._v(e._s(t.name || t.companyName))]), t.answer ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("alreadySigned").capitalize()) } }) : t.documentRole === "recipient" ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("cannotSign").capitalize()) } }) : e._e()]), n("div", { staticClass: "flex" }, [n("div", { staticClass: "py-1.5 pl-1.5 rounded-md bg-gray-100 border border-gray-200 items-center flex mr-2" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
76
|
+
return n("div", { key: i, staticClass: "border border-gray-200 p-2 rounded-lg mb-3" }, [n("div", { staticClass: "mb-2 pl-1" }, [n("div", { staticClass: "font-medium text-sm" }, [e._v(" " + e._s(t.name || t.companyName) + " ")]), t.answer ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("alreadySigned").capitalize()) } }) : t.documentRole === "recipient" ? n("div", { staticClass: "text-gray-500 text-xs", domProps: { textContent: e._s(e.$t("cannotSign").capitalize()) } }) : e._e()]), n("div", { staticClass: "flex" }, [n("div", { staticClass: "py-1.5 pl-1.5 rounded-md bg-gray-100 border border-gray-200 items-center flex mr-2" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
77
|
+
...!e.canSendType("sms", t) && {
|
|
78
|
+
content: e.$t("_common:missing", {
|
|
79
|
+
thing: e.$t("_common:phoneNumber")
|
|
80
|
+
})
|
|
81
|
+
}
|
|
82
|
+
}, expression: `{
|
|
83
|
+
...(!canSendType('sms', client) && {
|
|
84
|
+
content: $t('_common:missing', {
|
|
85
|
+
thing: $t('_common:phoneNumber')
|
|
86
|
+
})
|
|
87
|
+
})
|
|
88
|
+
}` }], staticClass: "font-medium mr-2", attrs: { value: e.isTypeActive("sms", t), size: "tiny", disabled: !e.feature("sms") || !e.canSendType("sms", t) }, on: { input: function(o) {
|
|
72
89
|
return e.setDeliveryMethod("sms", i);
|
|
73
|
-
} } }, [e._v(" " + e._s(e.$t("_common:sms")) + " ")])], 1), n("div", { staticClass: "py-1.5 pl-1.5 pr-2.5 rounded-md bg-gray-100 border border-gray-200 items-center flex" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
90
|
+
} } }, [e._v(" " + e._s(e.$t("_common:sms")) + " ")])], 1), n("div", { staticClass: "py-1.5 pl-1.5 pr-2.5 rounded-md bg-gray-100 border border-gray-200 items-center flex" }, [n("CCheckbox", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: {
|
|
91
|
+
...!e.canSendType("email", t) && {
|
|
92
|
+
content: e.$t("_common:missing", { thing: e.$t("_common:email") })
|
|
93
|
+
}
|
|
94
|
+
}, expression: `{
|
|
95
|
+
...(!canSendType('email', client) && {
|
|
96
|
+
content: $t('_common:missing', { thing: $t('_common:email') })
|
|
97
|
+
})
|
|
98
|
+
}` }], staticClass: "font-medium", attrs: { value: e.isTypeActive("email", t), size: "tiny", disabled: !e.canSendType("email", t) }, on: { input: function(o) {
|
|
74
99
|
return e.setDeliveryMethod("email", i);
|
|
75
100
|
} } }, [e._v(" " + e._s(e.$t("_common:email").capitalize()) + " ")])], 1)])]);
|
|
76
101
|
}), n("CButton", { staticClass: "font-semibold mt-8", attrs: { type: "secondary", size: "small", taller: "", icon: "send", wide: "" }, on: { click: e.submit } }, [e._v(" " + e._s(e.$t("_common:send", { thing: e.$t("_common:reminder") })) + " ")])], 2);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-
|
|
2
|
-
import { V as Vn, n as ut, X as bs, b as Ds, p as Ha } from "./main-
|
|
1
|
+
import { t as Uo, F as za, s as $a, d as ys } from "./tippy.esm-f533f77b.js";
|
|
2
|
+
import { V as Vn, n as ut, X as bs, b as Ds, p as Ha } from "./main-b5eb6366.js";
|
|
3
3
|
import { a as ai } from "./dom-962579a6.js";
|
|
4
|
-
import { i as Jo, w as Va } from "./CDropdownItem-
|
|
5
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { i as Jo, w as Va } from "./CDropdownItem-cc274799.js";
|
|
5
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
7
|
-
import { M as Go } from "./ManualPopover-
|
|
8
|
-
import { C as ja } from "./ColorPicker-
|
|
7
|
+
import { M as Go } from "./ManualPopover-8a1e53a5.js";
|
|
8
|
+
import { C as ja } from "./ColorPicker-43c741fb.js";
|
|
9
9
|
import { h as Wa } from "./color-71c20583.js";
|
|
10
10
|
function ee(n) {
|
|
11
11
|
this.content = n;
|
|
@@ -13712,25 +13712,29 @@ var lm = function() {
|
|
|
13712
13712
|
var e = this, t = e._self._c;
|
|
13713
13713
|
return t("ManualPopover", { attrs: { "popover-inner-class": "texteditor-tooltip-dropdown-inner", "popover-class": "no-animation", placement: "bottom-start" }, nativeOn: { mousedown: function(r) {
|
|
13714
13714
|
r.preventDefault();
|
|
13715
|
-
} } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("fontStyle") } }, [t("svg", { attrs: { width: "20", height: "20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "1 4 46 44" } }, [t("path", { attrs: { d: "M 35.005859 7 A 2.0002 2.0002 0 0 0 33.132812 8.28125 L 23.132812 34.28125 A 2.000748 2.000748 0 0 0 26.867188 35.71875 L 29.066406 30 L 40.933594 30 L 43.132812 35.71875 A 2.000748 2.000748 0 1 0 46.867188 34.28125 L 36.867188 8.28125 A 2.0002 2.0002 0 0 0 35.005859 7 z M 10.980469 13 A 2.0002 2.0002 0 0 0 9.1425781 14.257812 L 3.2519531 28.982422 A 2.0002 2.0002 0 0 0 3.0253906 29.550781 L 1.1425781 34.257812 A 2.0002148 2.0002148 0 1 0 4.8574219 35.742188 L 6.3535156 32 L 15.646484 32 L 17.142578 35.742188 A 2.0002149 2.0002149 0 1 0 20.857422 34.257812 L 18.982422 29.572266 A 2.0002 2.0002 0 0 0 18.980469 29.566406 A 2.0002 2.0002 0 0 0 18.744141 28.976562 L 12.857422 14.257812 A 2.0002 2.0002 0 0 0 10.980469 13 z M 35 14.574219 L 39.394531 26 L 30.605469 26 L 35 14.574219 z M 11 20.386719 L 14.044922 28 L 7.9550781 28 L 11 20.386719 z" } })])]), t("div", { staticClass: "flex flex-col w-full text-left texteditor-tooltip-dropdown", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13715
|
+
} } }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("fontStyle") } }, [t("svg", { attrs: { width: "20", height: "20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", viewBox: "1 4 46 44" } }, [t("path", { attrs: { d: "M 35.005859 7 A 2.0002 2.0002 0 0 0 33.132812 8.28125 L 23.132812 34.28125 A 2.000748 2.000748 0 0 0 26.867188 35.71875 L 29.066406 30 L 40.933594 30 L 43.132812 35.71875 A 2.000748 2.000748 0 1 0 46.867188 34.28125 L 36.867188 8.28125 A 2.0002 2.0002 0 0 0 35.005859 7 z M 10.980469 13 A 2.0002 2.0002 0 0 0 9.1425781 14.257812 L 3.2519531 28.982422 A 2.0002 2.0002 0 0 0 3.0253906 29.550781 L 1.1425781 34.257812 A 2.0002148 2.0002148 0 1 0 4.8574219 35.742188 L 6.3535156 32 L 15.646484 32 L 17.142578 35.742188 A 2.0002149 2.0002149 0 1 0 20.857422 34.257812 L 18.982422 29.572266 A 2.0002 2.0002 0 0 0 18.980469 29.566406 A 2.0002 2.0002 0 0 0 18.744141 28.976562 L 12.857422 14.257812 A 2.0002 2.0002 0 0 0 10.980469 13 z M 35 14.574219 L 39.394531 26 L 30.605469 26 L 35 14.574219 z M 11 20.386719 L 14.044922 28 L 7.9550781 28 L 11 20.386719 z" } })])]), t("div", { staticClass: "flex flex-col w-full text-left texteditor-tooltip-dropdown", attrs: { slot: "popover" }, slot: "popover" }, [t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13716
|
+
"is-active": e.editor.isActive("paragraph", { typography: "title" })
|
|
13717
|
+
}, on: { mousedown: function(r) {
|
|
13716
13718
|
r.preventDefault();
|
|
13717
13719
|
}, click: function(r) {
|
|
13718
13720
|
e.editor.chain().focus().setParagraph({ typography: "title" }).run();
|
|
13719
|
-
} } }, [e._v(e._s(e.$t("title")))]), e._l([1, 2, 3], function(r) {
|
|
13721
|
+
} } }, [e._v(" " + e._s(e.$t("title")) + " ")]), e._l([1, 2, 3], function(r) {
|
|
13720
13722
|
return t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], key: `h${r}`, staticClass: "texteditor-tooltip-dropdown-item", class: { "is-active": e.editor.isActive("heading", { level: r }) }, on: { mousedown: function(i) {
|
|
13721
13723
|
i.preventDefault();
|
|
13722
13724
|
}, click: function(i) {
|
|
13723
13725
|
e.editor.chain().focus().setHeading({ level: r }).run();
|
|
13724
|
-
} } }, [e._v(e._s(e.$t(`h${r}`)))]);
|
|
13725
|
-
}), t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13726
|
+
} } }, [e._v(" " + e._s(e.$t(`h${r}`)) + " ")]);
|
|
13727
|
+
}), t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13728
|
+
"is-active": e.editor.isActive("paragraph", { typography: null })
|
|
13729
|
+
}, on: { mousedown: function(r) {
|
|
13726
13730
|
r.preventDefault();
|
|
13727
13731
|
}, click: function(r) {
|
|
13728
13732
|
e.editor.chain().focus().setParagraph({ typography: null }).run();
|
|
13729
|
-
} } }, [e._v(e._s(e.$t("paragraph")))]), e.editor.commands.toggleBlockquote ? t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: { "is-active": e.editor.isActive("blockquote") }, on: { mousedown: function(r) {
|
|
13733
|
+
} } }, [e._v(" " + e._s(e.$t("paragraph")) + " ")]), e.editor.commands.toggleBlockquote ? t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: { "is-active": e.editor.isActive("blockquote") }, on: { mousedown: function(r) {
|
|
13730
13734
|
r.preventDefault();
|
|
13731
13735
|
}, click: function(r) {
|
|
13732
13736
|
e.editor.chain().focus().toggleBlockquote().run();
|
|
13733
|
-
} } }, [e._v(e._s(e.$t("blockquote")))]) : e._e()], 2)]);
|
|
13737
|
+
} } }, [e._v(" " + e._s(e.$t("blockquote")) + " ")]) : e._e()], 2)]);
|
|
13734
13738
|
}, am = [], um = /* @__PURE__ */ ut(
|
|
13735
13739
|
om,
|
|
13736
13740
|
lm,
|
|
@@ -13822,7 +13826,7 @@ var hm = function() {
|
|
|
13822
13826
|
fm,
|
|
13823
13827
|
!1,
|
|
13824
13828
|
null,
|
|
13825
|
-
"
|
|
13829
|
+
"ca634346",
|
|
13826
13830
|
null,
|
|
13827
13831
|
null
|
|
13828
13832
|
);
|
|
@@ -13895,14 +13899,18 @@ const gm = {
|
|
|
13895
13899
|
};
|
|
13896
13900
|
var ym = function() {
|
|
13897
13901
|
var e = this, t = e._self._c;
|
|
13898
|
-
return t("BubbleMenu", { directives: [{ name: "show", rawName: "v-show", value: (e.editor.isFocused || e.linkMenuIsActive) && !e.editor.isActive("image") && !e.editor.isActive("horizontalRule"), expression:
|
|
13902
|
+
return t("BubbleMenu", { directives: [{ name: "show", rawName: "v-show", value: (e.editor.isFocused || e.linkMenuIsActive) && !e.editor.isActive("image") && !e.editor.isActive("horizontalRule"), expression: `
|
|
13903
|
+
(editor.isFocused || linkMenuIsActive) &&
|
|
13904
|
+
!editor.isActive('image') &&
|
|
13905
|
+
!editor.isActive('horizontalRule')
|
|
13906
|
+
` }], attrs: { editor: e.editor, "tippy-options": {
|
|
13899
13907
|
maxWidth: "none"
|
|
13900
13908
|
} } }, [t("div", { staticClass: "menu", class: [
|
|
13901
13909
|
{
|
|
13902
13910
|
"is-bottom": e.isTouchDevice
|
|
13903
13911
|
},
|
|
13904
13912
|
`menu-${e._uid}`
|
|
13905
|
-
] }, [e.linkMenuIsActive ? t("form", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => e.linkMenuIsActive = !1, expression: "() => linkMenuIsActive = false" }], staticClass: "menu-form", on: { submit: function(r) {
|
|
13913
|
+
] }, [e.linkMenuIsActive ? t("form", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => e.linkMenuIsActive = !1, expression: "() => (linkMenuIsActive = false)" }], staticClass: "menu-form", on: { submit: function(r) {
|
|
13906
13914
|
return r.preventDefault(), e.setLink(e.linkUrl);
|
|
13907
13915
|
} } }, [t("input", { directives: [{ name: "model", rawName: "v-model", value: e.linkUrl, expression: "linkUrl" }], ref: "linkInput", staticClass: "menu-input", attrs: { type: "text", placeholder: "https://" }, domProps: { value: e.linkUrl }, on: { keydown: function(r) {
|
|
13908
13916
|
return !r.type.indexOf("key") && e._k(r.keyCode, "esc", 27, r.key, ["Esc", "Escape"]) ? null : e.hideLinkMenu.apply(null, arguments);
|
|
@@ -13951,7 +13959,7 @@ var ym = function() {
|
|
|
13951
13959
|
bm,
|
|
13952
13960
|
!1,
|
|
13953
13961
|
null,
|
|
13954
|
-
"
|
|
13962
|
+
"bdf75eb4",
|
|
13955
13963
|
null,
|
|
13956
13964
|
null
|
|
13957
13965
|
);
|
|
@@ -13959,7 +13967,7 @@ const Cm = Dm.exports;
|
|
|
13959
13967
|
const km = {
|
|
13960
13968
|
components: {
|
|
13961
13969
|
FormInputRow: za,
|
|
13962
|
-
TextTemplates: () => import("./index-
|
|
13970
|
+
TextTemplates: () => import("./index-63ab2d14.js")
|
|
13963
13971
|
},
|
|
13964
13972
|
props: {
|
|
13965
13973
|
editor: {
|
|
@@ -14146,7 +14154,9 @@ const km = {
|
|
|
14146
14154
|
this.popupOpen = !0, this.$refs.inputImgUpload.click();
|
|
14147
14155
|
},
|
|
14148
14156
|
icon: "editorImage",
|
|
14149
|
-
tooltip: this.$t("_common:insert", {
|
|
14157
|
+
tooltip: this.$t("_common:insert", {
|
|
14158
|
+
thing: this.$t("_common:image")
|
|
14159
|
+
})
|
|
14150
14160
|
},
|
|
14151
14161
|
{
|
|
14152
14162
|
hide: !this.editor.commands.insertTable,
|
|
@@ -14168,7 +14178,9 @@ const km = {
|
|
|
14168
14178
|
hide: !this.extensions.mentions,
|
|
14169
14179
|
onClick: () => this.editor.chain().focus().insertContent("@").run(),
|
|
14170
14180
|
icon: "editorMention",
|
|
14171
|
-
tooltip: this.$t("_common:insert", {
|
|
14181
|
+
tooltip: this.$t("_common:insert", {
|
|
14182
|
+
thing: this.$t("_common:reference")
|
|
14183
|
+
})
|
|
14172
14184
|
}
|
|
14173
14185
|
]
|
|
14174
14186
|
};
|
|
@@ -14178,11 +14190,19 @@ const km = {
|
|
|
14178
14190
|
return this.editor.isFocused || this.popupOpen;
|
|
14179
14191
|
},
|
|
14180
14192
|
menuActions() {
|
|
14181
|
-
return this.editor.isActive("table") ? this.tableActions : this.defaultActions.filter(
|
|
14193
|
+
return this.editor.isActive("table") ? this.tableActions : this.defaultActions.filter(
|
|
14194
|
+
(e) => e.hideForMobile ? this.mq !== "sm" : !0
|
|
14195
|
+
);
|
|
14182
14196
|
}
|
|
14183
14197
|
},
|
|
14184
14198
|
methods: {
|
|
14185
|
-
generateStyleInputs({
|
|
14199
|
+
generateStyleInputs({
|
|
14200
|
+
borderColor: n,
|
|
14201
|
+
borderWidth: e,
|
|
14202
|
+
cellPadding: t,
|
|
14203
|
+
headerBackground: r,
|
|
14204
|
+
set: i
|
|
14205
|
+
}) {
|
|
14186
14206
|
const s = /([\d+.]*)(.*)/, o = (u) => (u || "").match(s), l = o(e)[1], a = o(t)[1];
|
|
14187
14207
|
return [
|
|
14188
14208
|
{
|
|
@@ -14202,8 +14222,14 @@ const km = {
|
|
|
14202
14222
|
props: {
|
|
14203
14223
|
value: l
|
|
14204
14224
|
},
|
|
14205
|
-
onIncrease: () => i(
|
|
14206
|
-
|
|
14225
|
+
onIncrease: () => i(
|
|
14226
|
+
"borderWidth",
|
|
14227
|
+
`${parseFloat(l || 0) + 1}px`
|
|
14228
|
+
),
|
|
14229
|
+
onDecrease: () => i(
|
|
14230
|
+
"borderWidth",
|
|
14231
|
+
`${parseFloat(l || 0) - 1}px`
|
|
14232
|
+
)
|
|
14207
14233
|
}
|
|
14208
14234
|
]
|
|
14209
14235
|
},
|
|
@@ -14234,8 +14260,14 @@ const km = {
|
|
|
14234
14260
|
props: {
|
|
14235
14261
|
value: a
|
|
14236
14262
|
},
|
|
14237
|
-
onIncrease: () => i(
|
|
14238
|
-
|
|
14263
|
+
onIncrease: () => i(
|
|
14264
|
+
"cellPadding",
|
|
14265
|
+
`${parseFloat(a || 0) + 1}px`
|
|
14266
|
+
),
|
|
14267
|
+
onDecrease: () => i(
|
|
14268
|
+
"cellPadding",
|
|
14269
|
+
`${parseFloat(a || 0) - 1}px`
|
|
14270
|
+
)
|
|
14239
14271
|
}
|
|
14240
14272
|
]
|
|
14241
14273
|
},
|
|
@@ -14265,7 +14297,11 @@ var wm = function() {
|
|
|
14265
14297
|
return t("portal", { attrs: { to: "modal" } }, [t("transition", { attrs: { name: "slide-vertical", mode: "out-in" } }, [e.shouldShow ? t("div", { key: e.menuActions[0].tooltip, staticClass: "menu" }, [e._l(e.menuActions, function(r, i) {
|
|
14266
14298
|
return [r.type === "divider" && !r.hide ? t("div", { key: "divider-" + i, staticClass: "menu-divider" }) : r.hide ? e._e() : t("div", { directives: [{ name: "click-outside", rawName: "v-click-outside", value: () => {
|
|
14267
14299
|
r.popup && (e.popupOpen = !1);
|
|
14268
|
-
}, expression:
|
|
14300
|
+
}, expression: `
|
|
14301
|
+
() => {
|
|
14302
|
+
if (btn.popup) popupOpen = false
|
|
14303
|
+
}
|
|
14304
|
+
` }], key: i, staticClass: "menu-button", class: {
|
|
14269
14305
|
"is-active": r.active && r.active()
|
|
14270
14306
|
}, attrs: { "data-texteditor-tooltip": r.tooltip }, on: { mousedown: (s) => {
|
|
14271
14307
|
r.popup ? r.onClick() : s.preventDefault();
|
|
@@ -14287,7 +14323,7 @@ var wm = function() {
|
|
|
14287
14323
|
xm,
|
|
14288
14324
|
!1,
|
|
14289
14325
|
null,
|
|
14290
|
-
"
|
|
14326
|
+
"7c55b91c",
|
|
14291
14327
|
null,
|
|
14292
14328
|
null
|
|
14293
14329
|
);
|
|
@@ -14556,7 +14592,9 @@ const Om = {
|
|
|
14556
14592
|
this.navigatedIndex = (this.navigatedIndex + 1) % this.items.length, this.scrollToHighlightedMention();
|
|
14557
14593
|
},
|
|
14558
14594
|
scrollToHighlightedMention() {
|
|
14559
|
-
!this.$refs.mention || !this.$refs.mention[this.navigatedIndex] || this.$refs.mention[this.navigatedIndex].scrollIntoView({
|
|
14595
|
+
!this.$refs.mention || !this.$refs.mention[this.navigatedIndex] || this.$refs.mention[this.navigatedIndex].scrollIntoView({
|
|
14596
|
+
block: "nearest"
|
|
14597
|
+
});
|
|
14560
14598
|
},
|
|
14561
14599
|
enterHandler() {
|
|
14562
14600
|
const n = this.items[this.navigatedIndex];
|
|
@@ -14582,11 +14620,13 @@ var Nm = function() {
|
|
|
14582
14620
|
Fm,
|
|
14583
14621
|
!1,
|
|
14584
14622
|
null,
|
|
14585
|
-
"
|
|
14623
|
+
"10928a97",
|
|
14586
14624
|
null,
|
|
14587
14625
|
null
|
|
14588
14626
|
);
|
|
14589
|
-
const Rm = Bm.exports, Oo = "mention", No = (n, e) => (e || []).filter(
|
|
14627
|
+
const Rm = Bm.exports, Oo = "mention", No = (n, e) => (e || []).filter(
|
|
14628
|
+
({ label: t = "" }) => t.toLowerCase().includes(n.toLowerCase())
|
|
14629
|
+
);
|
|
14590
14630
|
function Lm(n = null) {
|
|
14591
14631
|
let e = [];
|
|
14592
14632
|
const t = typeof n == "function" ? n : () => [];
|
|
@@ -14783,7 +14823,9 @@ const zm = {
|
|
|
14783
14823
|
{
|
|
14784
14824
|
value: "block",
|
|
14785
14825
|
icon: '<rect x="2" y="7" width="19" height="11" rx="0" ry="2"></rect><line x1="2" y1="3" y2="3" x2="21"></line><line x1="2" y1="22" x2="21" y2="22"></line>',
|
|
14786
|
-
tooltip: this.$t("_common:center", {
|
|
14826
|
+
tooltip: this.$t("_common:center", {
|
|
14827
|
+
thing: this.$t("_common:image")
|
|
14828
|
+
}).capitalize()
|
|
14787
14829
|
},
|
|
14788
14830
|
{
|
|
14789
14831
|
value: "right",
|
|
@@ -14817,7 +14859,7 @@ const zm = {
|
|
|
14817
14859
|
},
|
|
14818
14860
|
async openPreview() {
|
|
14819
14861
|
var r;
|
|
14820
|
-
const n = () => import("./FilePreviewModal-
|
|
14862
|
+
const n = () => import("./FilePreviewModal-84d6ab65.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
|
|
14821
14863
|
this.$modal.show(
|
|
14822
14864
|
n,
|
|
14823
14865
|
{
|
|
@@ -14856,7 +14898,7 @@ var $m = function() {
|
|
|
14856
14898
|
Hm,
|
|
14857
14899
|
!1,
|
|
14858
14900
|
null,
|
|
14859
|
-
"
|
|
14901
|
+
"50515611",
|
|
14860
14902
|
null,
|
|
14861
14903
|
null
|
|
14862
14904
|
);
|
|
@@ -16903,10 +16945,17 @@ const Ko = async (n) => {
|
|
|
16903
16945
|
Gg,
|
|
16904
16946
|
Jg
|
|
16905
16947
|
];
|
|
16906
|
-
a && f.push(Qp), c && f.push(tm, nm), o && f.push(Rp), u && f.push(Lp), d && f.push(
|
|
16907
|
-
|
|
16908
|
-
|
|
16909
|
-
|
|
16948
|
+
a && f.push(Qp), c && f.push(tm, nm), o && f.push(Rp), u && f.push(Lp), d && f.push(
|
|
16949
|
+
em.configure({
|
|
16950
|
+
types: ["paragraph", "heading", "list_item", "todo_item", "title"],
|
|
16951
|
+
defaultAlignment: ""
|
|
16952
|
+
})
|
|
16953
|
+
), h && f.push(
|
|
16954
|
+
this.editable ? Kg : Ug,
|
|
16955
|
+
rm,
|
|
16956
|
+
im,
|
|
16957
|
+
sm
|
|
16958
|
+
), r && f.push(Wm(Ko)), i && f.push(Im.call(this, i)), this.editor = new Mf({
|
|
16910
16959
|
editable: this.editable,
|
|
16911
16960
|
content: this.value || "",
|
|
16912
16961
|
extensions: f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as u, X as b, b as S, a7 as _, a8 as f } from "./main-
|
|
1
|
+
import { n as u, X as b, b as S, a7 as _, a8 as f } from "./main-b5eb6366.js";
|
|
2
2
|
import { m as D } from "./vuex.esm-4a0fff7c.js";
|
|
3
3
|
const v = {
|
|
4
4
|
new: {
|
|
@@ -154,7 +154,16 @@ const N = M.exports, A = {
|
|
|
154
154
|
color: {
|
|
155
155
|
type: String,
|
|
156
156
|
default: "gray",
|
|
157
|
-
validator: (s) => [
|
|
157
|
+
validator: (s) => [
|
|
158
|
+
"blue",
|
|
159
|
+
"teal",
|
|
160
|
+
"orange",
|
|
161
|
+
"green",
|
|
162
|
+
"red",
|
|
163
|
+
"purple",
|
|
164
|
+
"gray",
|
|
165
|
+
"primary"
|
|
166
|
+
].indexOf(s) !== -1
|
|
158
167
|
},
|
|
159
168
|
isFuture: {
|
|
160
169
|
type: Boolean,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { V as c, n as a } from "./main-
|
|
2
|
-
import { D as d } from "./DocumentLayout-
|
|
3
|
-
import { f as m } from "./formValidationMixin-
|
|
4
|
-
import { a as l } from "./answerDocumentMixin-
|
|
5
|
-
import { D as f } from "./DocumentVoided-
|
|
6
|
-
import "./debounce-
|
|
7
|
-
import "./CDropdownItem-
|
|
1
|
+
import { V as c, n as a } from "./main-b5eb6366.js";
|
|
2
|
+
import { D as d } from "./DocumentLayout-a659ce2a.js";
|
|
3
|
+
import { f as m } from "./formValidationMixin-cb6f10e2.js";
|
|
4
|
+
import { a as l } from "./answerDocumentMixin-6b6cfdb6.js";
|
|
5
|
+
import { D as f } from "./DocumentVoided-9294f5d4.js";
|
|
6
|
+
import "./debounce-97bb38ac.js";
|
|
7
|
+
import "./CDropdownItem-cc274799.js";
|
|
8
8
|
import "./dom-962579a6.js";
|
|
9
9
|
const p = (t) => {
|
|
10
10
|
var e;
|