@cling-se/widget 0.15.1 → 0.15.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-XGs5vmVP.js → AddClientCallout-8s5a1_CZ.js} +3 -3
- package/dist/{AnswerModal-Djvpd4kg.js → AnswerModal-Cnp43tGo.js} +3 -3
- package/dist/{AttachmentItem-C_5E8Fa4.js → AttachmentItem-BP85gcjP.js} +6 -4
- package/dist/{BaseDatePicker-BpGzPBp_.js → BaseDatePicker-C27CsTzy.js} +486 -482
- package/dist/{BaseUpload-Dm5C-j0L.js → BaseUpload-DnhS3hGx.js} +2 -2
- package/dist/{BlockMedia-DbiVw803.js → BlockMedia-D4nhek2s.js} +1 -1
- package/dist/{CCallout-DL9smLC_.js → CCallout-CQjRcxpC.js} +1 -1
- package/dist/{CCurrencyDropdown--RshYh6V.js → CCurrencyDropdown-BT01qBGg.js} +24 -20
- package/dist/{CDropdownItem-Bzbrlurh.js → CDropdownItem-BSPNul90.js} +1 -1
- package/dist/{CFormField-DABM0TLB.js → CFormField-Cz_jNazS.js} +1 -1
- package/dist/{CPhoneFormat-BhzciB_P.js → CPhoneFormat-C017AoM0.js} +1 -1
- package/dist/{CPriceInput-DVZ4OVfI.js → CPriceInput-jktMjvwx.js} +20 -16
- package/dist/ClientAutocomplete-B3z6RPXr.js +82 -0
- package/dist/{ClientModal-BSUhx0YR.js → ClientModal-DLtFhJya.js} +31 -25
- package/dist/{ColorPicker-BpTmTnpR.js → ColorPicker-MQmVGbvm.js} +1 -1
- package/dist/{CompanyModal-C7LZybS4.js → CompanyModal-Qx5xMku0.js} +4 -4
- package/dist/{ContentWrapper-DlRJSB1H.js → ContentWrapper-B9NQqp2q.js} +63 -55
- package/dist/{CoverBlockSettings-Cxxex_lN.js → CoverBlockSettings-Bcz_W5I3.js} +5 -5
- package/dist/{DocAnswer-B-MxL_1t.js → DocAnswer-BlxFv_Gc.js} +2 -2
- package/dist/{DocDetails-DjBrxQ_R.js → DocDetails-dGcYGJpp.js} +42 -38
- package/dist/{DocForm-Beoj5wra.js → DocForm-C6o_XBcW.js} +915 -879
- package/dist/{DocFormSend-D_v5NC6u.js → DocFormSend-_prtxNIf.js} +11 -7
- package/dist/{DocLinks-CojBcyHP.js → DocLinks-Dp495SCS.js} +2 -2
- package/dist/{DocModalBase-BgduKHWe.js → DocModalBase-B0wYq3ft.js} +1 -1
- package/dist/{DocPrint-BCscbY6G.js → DocPrint-CURxofeU.js} +1 -1
- package/dist/{DocReceipt-Dxn5vcAc.js → DocReceipt-DgGcBRVH.js} +5 -3
- package/dist/{DocSendReminder-YpVUkgYH.js → DocSendReminder-CPty4svi.js} +1 -1
- package/dist/{DocTextEditor-In_CaKPA.js → DocTextEditor-BYsXFRLg.js} +67 -63
- package/dist/{DocTimeline-DU9nUQUH.js → DocTimeline-CHg1QykR.js} +7 -5
- package/dist/{DocumentClient-D5Eo9CcZ.js → DocumentClient-CZ6N73pQ.js} +5 -5
- package/dist/{DocumentLayout-BQ-wP5NB.js → DocumentLayout-CiszuoQc.js} +277 -271
- package/dist/{DocumentLogotype-CDG2k8N2.js → DocumentLogotype-BgFCWcwC.js} +17 -15
- package/dist/{DocumentVoided-B-bk6BHd.js → DocumentVoided-DT2hhHk2.js} +1 -1
- package/dist/{EmbedInput-8xfYdX6Q.js → EmbedInput-aLmvzK1I.js} +2 -2
- package/dist/{EmbedSettings-CzNKHRWA.js → EmbedSettings-BZipciy9.js} +2 -2
- package/dist/ErrorCallout-CNxSDsr_.js +27 -0
- package/dist/{FilePreviewModal-Dq8oaKBy.js → FilePreviewModal-DxdksQiy.js} +2 -2
- package/dist/{Flag-Fs-s9E60.js → Flag-3OyFDPsP.js} +1 -1
- package/dist/{HeaderSettings-DdmyTypr.js → HeaderSettings-DeoSRi6O.js} +18 -14
- package/dist/{ImageSelectModal-BXyTJKrO.js → ImageSelectModal-DvQz2VPi.js} +13 -11
- package/dist/{ImageUploadWrapper-B8D5l07p.js → ImageUploadWrapper-CNQRdHF9.js} +2 -2
- package/dist/{Index-BnCsHbZ1.js → Index-3bD76d9q.js} +6 -6
- package/dist/{Index-SkCtzHwt.js → Index-B0n1UOOA.js} +4 -4
- package/dist/{Index-BU8ft1y6.js → Index-B3Q09phm.js} +4 -4
- package/dist/{Index-V2Givdp2.js → Index-B9_POjpY.js} +5 -5
- package/dist/{Index-CgRP1XiQ.js → Index-BDCgilFk.js} +2 -2
- package/dist/{Index-Dl-EHPWj.js → Index-BEpKb8IR.js} +3 -3
- package/dist/{Index-YDDq9NSQ.js → Index-BIv8flFB.js} +8 -8
- package/dist/{Index-BcL9ebMW.js → Index-BNJ2KHKc.js} +2 -2
- package/dist/{Index-0aodZg_n.js → Index-BeMeWDIf.js} +5 -5
- package/dist/{Index-hz-7LKR4.js → Index-BglKAnNq.js} +21 -17
- package/dist/{Index-9uS4_N--.js → Index-BiVwDgqW.js} +2 -2
- package/dist/{Index-DmUOBV3i.js → Index-BjdxeF4C.js} +2 -2
- package/dist/{Index-BowtUux0.js → Index-C-CE21WK.js} +5 -5
- package/dist/{Index-B8_vIbXh.js → Index-CDKq7Fx6.js} +4 -4
- package/dist/{Index-CkqDhbLd.js → Index-CJeSVpRh.js} +2 -2
- package/dist/{Index-C8SV-RPw.js → Index-CPjAXBMU.js} +5 -5
- package/dist/{Index-BiApZ1Ic.js → Index-CTk6Nh-I.js} +7 -7
- package/dist/{Index-CqB099xV.js → Index-CTqdaykO.js} +3 -3
- package/dist/{Index-DPo796kj.js → Index-CWj2vDHc.js} +17 -15
- package/dist/{Index-NagcpUmI.js → Index-CXibuEkU.js} +1 -1
- package/dist/{Index-BMY2m8rD.js → Index-CePHdKi2.js} +4 -4
- package/dist/{Index-Db_zxCDU.js → Index-Cfc0Q0AG.js} +5 -5
- package/dist/Index-Ch5j2tqD.js +41 -0
- package/dist/{Index-DLSht_p3.js → Index-CjfCyQlB.js} +4 -4
- package/dist/{Index-BDA5wus0.js → Index-Cr6DlYGN.js} +2 -2
- package/dist/{Index-wpr5rBje.js → Index-CvRNeJ4U.js} +7 -7
- package/dist/{Index-B8XLiKic.js → Index-D-l3i9vY.js} +3 -3
- package/dist/{Index-C8Gsbm1Z.js → Index-D1NwTUs-.js} +5 -5
- package/dist/{Index-EGUIgf2A.js → Index-FC1UsElU.js} +4 -4
- package/dist/{Index-C2ZwmSbs.js → Index-PUFeH_1z.js} +4 -4
- package/dist/{Index-DcGgVbKe.js → Index-S3LqU0A0.js} +9 -7
- package/dist/{Index-C-OSub91.js → Index-jIIHHGh3.js} +376 -350
- package/dist/{Index-BYsgDllD.js → Index-q04Dwxrr.js} +17 -15
- package/dist/{Index-B68-YXDK.js → Index-w5DWfGOc.js} +4 -4
- package/dist/{InputToggleRow-J8fqDcd7.js → InputToggleRow-CvHvRdsn.js} +1 -1
- package/dist/{ManualPopover-BkAZ-cLE.js → ManualPopover-DxE-6-Sp.js} +13 -11
- package/dist/{MediaWrapper-BUQroqgd.js → MediaWrapper-DNi80fbw.js} +3 -3
- package/dist/{NotBindingText-DEjIIRIy.js → NotBindingText-D2rYFVxr.js} +2 -2
- package/dist/{PackageGroup-BXsk0x4O.js → PackageGroup-6ar8HjPo.js} +8 -8
- package/dist/{PdfTerms-vLidfDfk.js → PdfTerms-B-lbU_6H.js} +2 -2
- package/dist/{PdfViewer-Cyl_FcY1.js → PdfViewer-B5qbLLtd.js} +21 -21
- package/dist/PlainHtml-CIMtcn2F.js +27 -0
- package/dist/{PriceHeader-BV254rc3.js → PriceHeader-BSpj_-5M.js} +6 -6
- package/dist/{SearchApi-HLHEy8AM.js → SearchApi-Cwgf52EV.js} +2 -2
- package/dist/{Setup-DuCP6m5-.js → Setup-CRmiH9lD.js} +1 -1
- package/dist/{SmartList-C0IKb8qw.js → SmartList-D6AvxfSL.js} +1 -1
- package/dist/{TermsSettings-bHhM9dtD.js → TermsSettings-DEO1O460.js} +7 -5
- package/dist/{ThemeColorRow-MgU9X4Tj.js → ThemeColorRow-Cy1NKEIG.js} +14 -12
- package/dist/{ToggleBinding-gjKO_LN5.js → ToggleBinding-BvIUt1Jx.js} +8 -6
- package/dist/{UploadModal-QuXCJkzY.js → UploadModal-C1j-GeMD.js} +4 -4
- package/dist/{VideoPlayerInput-XebqdCEO.js → VideoPlayerInput-BmbrquN6.js} +3 -3
- package/dist/{VideoPlayerSettings-DMxguTAv.js → VideoPlayerSettings-B7HpBoWX.js} +2 -2
- package/dist/VideoSelectModal-CeaG2tME.js +104 -0
- package/dist/{answerDocumentMixin-BaVqM_ri.js → answerDocumentMixin-AcDG8Byi.js} +3 -3
- package/dist/{debounce-DUUqRe1d.js → debounce-HJoaSvIY.js} +1 -1
- package/dist/{focusDrawerMixin-BFQK8OUc.js → focusDrawerMixin-CBYjpEGL.js} +1 -1
- package/dist/{formComponentsInstall-qLhjQ7Rl.js → formComponentsInstall-DMoWrprH.js} +229 -223
- package/dist/{formDrawerState-BT31echi.js → formDrawerState-DYSBcjo4.js} +1 -1
- package/dist/{formValidationMixin-DWRJGUXb.js → formValidationMixin-Dqlhg0R2.js} +1 -1
- package/dist/{index-CLbtIs9u.js → index-CFe1BJZJ.js} +1 -1
- package/dist/{index-Dpx08x9s.js → index-CFwLDxbi.js} +5 -5
- package/dist/{index-BYMG8jiP.js → index-CFx0cpeM.js} +1 -1
- package/dist/{index-CO1KeOmj.js → index-CKZmpLr6.js} +69 -45
- package/dist/{index-Dsxyi-7P.js → index-CLOsPxCh.js} +14 -12
- package/dist/{index-DSOWfTTb.js → index-zzCfHTf8.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +142 -142
- package/dist/{main-CRQiO-g7.js → main-BIwKzAN8.js} +7329 -7275
- package/dist/{mapFormMixin-C9fs0AV5.js → mapFormMixin-e2PJ431T.js} +1 -1
- package/dist/{omit-tP4ZEy3Q.js → omit-CpamclWf.js} +3 -3
- package/dist/{publicSenderState-CApNsACD.js → publicSenderState-D-_7UwjT.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-B4S8Wjwz.js → throttle-B2yMLA5N.js} +2 -2
- package/dist/{tinycolor-PkULT0yA.js → tinycolor-vIxz4Xgi.js} +1 -1
- package/dist/{tippy.esm-C5HrjSHu.js → tippy.esm-DiOYviyf.js} +57 -53
- package/dist/{utils-j0eN0bhD.js → utils-CFXqaEy7.js} +1 -1
- package/dist/{vuedraggable.umd-BPB1Hmn2.js → vuedraggable.umd-DDT8qZBI.js} +1 -1
- package/package.json +1 -1
- package/dist/ClientAutocomplete-C9yyFzJ9.js +0 -78
- package/dist/ErrorCallout-Bh8OsLfY.js +0 -28
- package/dist/Index-CVSBD1f6.js +0 -31
- package/dist/PlainHtml-SVyW9vV2.js +0 -20
- package/dist/VideoSelectModal-B5AlGSUz.js +0 -100
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import { V as n, m as r, a as
|
|
3
|
-
n.use(
|
|
1
|
+
import { i as l, S as s } from "./formComponentsInstall-DMoWrprH.js";
|
|
2
|
+
import { V as n, m as r, a as u, g as i, C as c, n as m } from "./main-BIwKzAN8.js";
|
|
3
|
+
n.use(l);
|
|
4
4
|
const a = n.observable({
|
|
5
5
|
canEdit: !1,
|
|
6
6
|
isForm: !0,
|
|
@@ -9,7 +9,7 @@ const a = n.observable({
|
|
|
9
9
|
}), d = {
|
|
10
10
|
name: "DocFormSend",
|
|
11
11
|
components: {
|
|
12
|
-
SendForm:
|
|
12
|
+
SendForm: s
|
|
13
13
|
},
|
|
14
14
|
provide: () => ({ viewSettings: a, allowSenderSign: !1 }),
|
|
15
15
|
// TODO maybe not needed
|
|
@@ -90,8 +90,8 @@ const a = n.observable({
|
|
|
90
90
|
this.setDocValue && (a.setFormValue = this.setDocValue), this.removeDocValue && (a.removeFormValue = this.removeDocValue);
|
|
91
91
|
},
|
|
92
92
|
methods: {
|
|
93
|
-
...
|
|
94
|
-
saveDocument:
|
|
93
|
+
...u({
|
|
94
|
+
saveDocument: i.SAVE_DYNDOC_FORM
|
|
95
95
|
// loadCompanyUser: global.LOAD_COMPANY_USER,
|
|
96
96
|
}),
|
|
97
97
|
async initDoc() {
|
|
@@ -128,7 +128,11 @@ var f = function() {
|
|
|
128
128
|
clients: "clients",
|
|
129
129
|
reminders: "data.reminders",
|
|
130
130
|
name: "data.name"
|
|
131
|
-
}, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-edit-clients": e.allowEditClients, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" }
|
|
131
|
+
}, "show-name": e.showName, "show-save": e.showSave, "show-schedule": e.showSchedule, "allow-edit-clients": e.allowEditClients, "allow-manual-delivery": e.allowManualDelivery, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "on-save-document": e.onSaveDocument, "use-scroll": "" }, scopedSlots: e._u([{ key: "content", fn: function() {
|
|
132
|
+
return [e.contentSlot ? o("div", { domProps: { innerHTML: e._s(e.contentSlot) } }) : e._e()];
|
|
133
|
+
}, proxy: !0 }, { key: "footer", fn: function() {
|
|
134
|
+
return [e.footerSlot ? o("div", { domProps: { innerHTML: e._s(e.footerSlot) } }) : e._e()];
|
|
135
|
+
}, proxy: !0 }], null, !1, 2490720261) }) : o("div", { staticClass: "grid h-full w-full place-items-center" }, [o("CIcon", { staticClass: "animate-spin text-gray-400", attrs: { type: "loader", size: 28 } })], 1);
|
|
132
136
|
}, p = [], h = /* @__PURE__ */ m(
|
|
133
137
|
d,
|
|
134
138
|
f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as p, n as u } from "./main-
|
|
1
|
+
import { g as p, n as u } from "./main-BIwKzAN8.js";
|
|
2
2
|
import { m as g, a as _ } from "./vuex.esm-DKGl8mcw.js";
|
|
3
3
|
const f = {
|
|
4
4
|
sv: {
|
|
@@ -166,11 +166,13 @@ var h = function() {
|
|
|
166
166
|
t.getBrowserString(n)
|
|
167
167
|
]
|
|
168
168
|
], function([i, d, m], l) {
|
|
169
|
-
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: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.signOptions.length > 1 && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } }
|
|
169
|
+
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: "mr-1.5 text-gray-500", domProps: { textContent: t._s(d) } }), m === "signMethod" && n.method && t.allowSignMethodUpdate && t.signOptions.length > 1 && t.document.status !== "accepted" && n.didAccept === void 0 ? e("CDropdown", { attrs: { "append-to-body": !0, "menu-styling": { width: "180px" } }, scopedSlots: t._u([{ key: "trigger", fn: function() {
|
|
170
|
+
return [e("div", { staticClass: "text-primary-500 text-xs font-medium underline", domProps: { textContent: t._s(t.$t("_common:change")) } })];
|
|
171
|
+
}, proxy: !0 }], null, !0) }, t._l(t.signOptions, function(r) {
|
|
170
172
|
return e("CDropdownItem", { key: r, attrs: { "icon-right": n.method === r ? "check" : "" }, on: { click: function(D) {
|
|
171
173
|
n.method !== r && t.onUpdate(n, r);
|
|
172
174
|
} } }, [t._v(" " + t._s(t.$t(`_common:signMethod.${r}`)) + " ")]);
|
|
173
|
-
})
|
|
175
|
+
}), 1) : t._e()], 1)]) : t._e()];
|
|
174
176
|
})], 2)], 1), n.signatureDataURL ? e("div", { staticClass: "mx-4 h-20 border-t border-gray-100 py-6" }, [e("img", { staticClass: "h-full", attrs: { src: n.signatureDataURL } })]) : n.didAccept && n.method === "bankId" ? e("div", { staticClass: "mx-4 mb-4 flex items-center rounded-md bg-gray-300 p-1.5 text-white/90", staticStyle: { border: "1px solid #35677e" }, style: "background: linear-gradient(45deg,hsl(200deg 35% 17%),hsl(199deg 25% 30%));" }, [e("div", { staticClass: "ml-0.5 mr-2 flex h-9 w-9 items-center justify-center rounded-md border border-[#275369] bg-[#183e4f]" }, [e("CIcon", { 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()]);
|
|
175
177
|
}), 0)]);
|
|
176
178
|
}, y = [], b = /* @__PURE__ */ u(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { V as Vn, n as ut,
|
|
1
|
+
import { V as Vn, n as ut, ai as ys, b as bs, x as _a, p as $a } from "./main-BIwKzAN8.js";
|
|
2
2
|
import { g as jn } from "./dom-CJxkno7i.js";
|
|
3
|
-
import { t as Uo, F as Ha, s as Va, d as Ds } from "./tippy.esm-
|
|
4
|
-
import { i as Jo, w as ja } from "./CDropdownItem-
|
|
3
|
+
import { t as Uo, F as Ha, s as Va, d as Ds } from "./tippy.esm-DiOYviyf.js";
|
|
4
|
+
import { i as Jo, w as ja } from "./CDropdownItem-BSPNul90.js";
|
|
5
5
|
import "./CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js";
|
|
7
|
-
import { C as Wa } from "./ColorPicker-
|
|
8
|
-
import { M as Go } from "./ManualPopover-
|
|
7
|
+
import { C as Wa } from "./ColorPicker-MQmVGbvm.js";
|
|
8
|
+
import { M as Go } from "./ManualPopover-DxE-6-Sp.js";
|
|
9
9
|
import { h as qa } from "./color-TdtKxwVa.js";
|
|
10
10
|
function ee(n) {
|
|
11
11
|
this.content = n;
|
|
@@ -13720,45 +13720,47 @@ var am = function() {
|
|
|
13720
13720
|
var e = this, t = e._self._c;
|
|
13721
13721
|
return t("ManualPopover", { attrs: { placement: e.showPicker ? "right" : e.isTouchDevice ? "bottom" : "top", "popover-inner-class": "!bg-white texteditor-tooltip-dropdown-inner is-color-menu", "popover-class": "no-animation" }, on: { hide: e.closePicker }, nativeOn: { mousedown: function(r) {
|
|
13722
13722
|
r.preventDefault();
|
|
13723
|
-
} }
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
r
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
"
|
|
13743
|
-
|
|
13744
|
-
|
|
13745
|
-
|
|
13746
|
-
|
|
13747
|
-
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
r
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13723
|
+
} }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
13724
|
+
return [t("div", { staticClass: "flex bg-white text-[15px] text-white/70" }, [e.showPicker ? t("div", { on: { mousedown: function(r) {
|
|
13725
|
+
r.stopPropagation();
|
|
13726
|
+
}, click: function(r) {
|
|
13727
|
+
r.stopPropagation();
|
|
13728
|
+
} } }, [t("ColorPicker", { ref: "colorPicker", staticClass: "!p-0 !shadow-none", attrs: { value: e.internalColor }, on: { input: function(r) {
|
|
13729
|
+
return e.setColor(r);
|
|
13730
|
+
} } })], 1) : [e._l([
|
|
13731
|
+
"auto",
|
|
13732
|
+
"#0a5cff",
|
|
13733
|
+
"#3022f1",
|
|
13734
|
+
"#915cee",
|
|
13735
|
+
"#f65a5a",
|
|
13736
|
+
"#ff7b22",
|
|
13737
|
+
"#fcc136",
|
|
13738
|
+
"#4caf50",
|
|
13739
|
+
"#5d5d5b",
|
|
13740
|
+
"#111111"
|
|
13741
|
+
], function(r, i) {
|
|
13742
|
+
return t("div", { key: i, staticClass: "color-option-button", class: {
|
|
13743
|
+
"is-active": e.currentColor === r || !e.currentColor && r === "auto"
|
|
13744
|
+
}, style: {
|
|
13745
|
+
backgroundColor: r === "auto" ? "hsl(0, 0%, 85%)" : r
|
|
13746
|
+
}, attrs: { "data-texteditor-tooltip": r === "auto" ? `Auto ${e.$t("_common:color")}` : !1 }, on: { mousedown: function(s) {
|
|
13747
|
+
s.preventDefault();
|
|
13748
|
+
}, click: function(s) {
|
|
13749
|
+
return s.preventDefault(), s.stopPropagation(), e.setColor(r === "auto" ? "" : r);
|
|
13750
|
+
} } }, [r === "auto" ? t("CIcon", { attrs: { type: "star", size: "14", fill: "hsl(0, 0%, 30%)", stroke: "hsl(0, 0%, 30%)" } }) : e._e()], 1);
|
|
13751
|
+
}), t("div", { staticClass: "color-option-button", on: { mousedown: function(r) {
|
|
13752
|
+
r.preventDefault();
|
|
13753
|
+
}, click: function(r) {
|
|
13754
|
+
return r.preventDefault(), r.stopPropagation(), e.openPicker.apply(null, arguments);
|
|
13755
|
+
} } }, [t("svg", { attrs: { width: "100%", height: "100%", viewBox: "0 0 100 100" } }, [t("defs", [t("filter", { attrs: { id: "blur", "color-interpolation-filters": "linear", x: "-50%", y: "-50%", width: "200%", height: "200%" } }, [t("feGaussianBlur", { attrs: { in: "SourceGraphic", stdDeviation: "9" } })], 1), t("mask", { attrs: { id: "circle" } }, [t("circle", { attrs: { cx: "50", cy: "50", r: "50", fill: "white" } })])]), t("g", { attrs: { mask: "url(#circle)", filter: "url(#blur)" } }, [t("rect", { attrs: { x: "-10", width: "110", height: "110", fill: "blue" } }), t("rect", { attrs: { x: "50", width: "60", height: "110", fill: "yellow" } }), t("polygon", { attrs: { points: "50,50, 60,110, 40,110", fill: "#0f8" } }), t("polygon", { attrs: { points: "0,0, 100,0, 100,20, 50,50, 0,20", fill: "red" } }), t("polygon", { attrs: { points: "0,10, 50,50, 0,30", fill: "#f0f" } }), t("polygon", { attrs: { points: "100,10, 100,30, 50,50", fill: "#f80" } })])])])]], 2)];
|
|
13756
|
+
}, proxy: !0 }]) }, [t("button", { staticClass: "menu-button", attrs: { "data-texteditor-tooltip": e.$t("_common:color").capitalize() } }, [t("svg", { attrs: { fill: e.editor.getAttributes("textStyle").color, viewBox: "0 0 24 24", width: "20", height: "20", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" } }, [t("path", { attrs: { d: "M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z" } })])])]);
|
|
13755
13757
|
}, um = [], cm = /* @__PURE__ */ ut(
|
|
13756
13758
|
lm,
|
|
13757
13759
|
am,
|
|
13758
13760
|
um,
|
|
13759
13761
|
!1,
|
|
13760
13762
|
null,
|
|
13761
|
-
"
|
|
13763
|
+
"5b3042bc"
|
|
13762
13764
|
);
|
|
13763
13765
|
const dm = cm.exports, hm = {
|
|
13764
13766
|
name: "TextEditorFontStyleMenu",
|
|
@@ -13799,29 +13801,31 @@ var fm = function() {
|
|
|
13799
13801
|
var e = this, t = e._self._c;
|
|
13800
13802
|
return t("ManualPopover", { attrs: { "popover-inner-class": "texteditor-tooltip-dropdown-inner", "popover-class": "no-animation", placement: "bottom-start" }, nativeOn: { mousedown: function(r) {
|
|
13801
13803
|
r.preventDefault();
|
|
13802
|
-
} }
|
|
13803
|
-
"
|
|
13804
|
-
|
|
13805
|
-
r
|
|
13806
|
-
|
|
13807
|
-
|
|
13808
|
-
|
|
13809
|
-
|
|
13810
|
-
|
|
13811
|
-
|
|
13812
|
-
|
|
13813
|
-
|
|
13814
|
-
|
|
13815
|
-
"
|
|
13816
|
-
|
|
13817
|
-
r
|
|
13818
|
-
|
|
13819
|
-
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13804
|
+
} }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
13805
|
+
return [t("div", { staticClass: "texteditor-tooltip-dropdown flex w-full flex-col text-left" }, [t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13806
|
+
"is-active": e.editor.isActive("paragraph", { typography: "title" })
|
|
13807
|
+
}, on: { mousedown: function(r) {
|
|
13808
|
+
r.preventDefault();
|
|
13809
|
+
}, click: function(r) {
|
|
13810
|
+
e.editor.chain().focus().setParagraph({ typography: "title" }).run();
|
|
13811
|
+
} } }, [e._v(" " + e._s(e.$t("title")) + " ")]), e._l([1, 2, 3], function(r) {
|
|
13812
|
+
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) {
|
|
13813
|
+
i.preventDefault();
|
|
13814
|
+
}, click: function(i) {
|
|
13815
|
+
e.editor.chain().focus().setHeading({ level: r }).run();
|
|
13816
|
+
} } }, [e._v(" " + e._s(e.$t(`h${r}`)) + " ")]);
|
|
13817
|
+
}), t("div", { directives: [{ name: "close-popover", rawName: "v-close-popover" }], staticClass: "texteditor-tooltip-dropdown-item", class: {
|
|
13818
|
+
"is-active": e.editor.isActive("paragraph", { typography: null })
|
|
13819
|
+
}, on: { mousedown: function(r) {
|
|
13820
|
+
r.preventDefault();
|
|
13821
|
+
}, click: function(r) {
|
|
13822
|
+
e.editor.chain().focus().setParagraph({ typography: null }).run();
|
|
13823
|
+
} } }, [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) {
|
|
13824
|
+
r.preventDefault();
|
|
13825
|
+
}, click: function(r) {
|
|
13826
|
+
e.editor.chain().focus().toggleBlockquote().run();
|
|
13827
|
+
} } }, [e._v(" " + e._s(e.$t("blockquote")) + " ")]) : e._e()], 2)];
|
|
13828
|
+
}, proxy: !0 }]) }, [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" } })])])]);
|
|
13825
13829
|
}, pm = [], mm = /* @__PURE__ */ ut(
|
|
13826
13830
|
hm,
|
|
13827
13831
|
fm,
|
|
@@ -13963,7 +13967,7 @@ var bm = function() {
|
|
|
13963
13967
|
const km = Cm.exports, wm = {
|
|
13964
13968
|
components: {
|
|
13965
13969
|
FormInputRow: Ha,
|
|
13966
|
-
TextTemplates: () => import("./index-
|
|
13970
|
+
TextTemplates: () => import("./index-CLOsPxCh.js")
|
|
13967
13971
|
},
|
|
13968
13972
|
mixins: [ja],
|
|
13969
13973
|
props: {
|
|
@@ -14864,7 +14868,7 @@ const zm = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, _m = q.cr
|
|
|
14864
14868
|
},
|
|
14865
14869
|
async openPreview() {
|
|
14866
14870
|
var r;
|
|
14867
|
-
const n = () => import("./FilePreviewModal-
|
|
14871
|
+
const n = () => import("./FilePreviewModal-DxdksQiy.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
|
|
14868
14872
|
this.$modal.show(
|
|
14869
14873
|
n,
|
|
14870
14874
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as u,
|
|
1
|
+
import { n as u, ag as f, ah as _, ai as b, b as S } from "./main-BIwKzAN8.js";
|
|
2
2
|
import { m as D } from "./vuex.esm-DKGl8mcw.js";
|
|
3
|
-
const
|
|
3
|
+
const k = {
|
|
4
4
|
name: "DynamicLink",
|
|
5
5
|
props: {
|
|
6
6
|
template: {
|
|
@@ -14,12 +14,12 @@ const w = {
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
|
-
var
|
|
17
|
+
var w = function() {
|
|
18
18
|
var t = this, e = t._self._c;
|
|
19
19
|
return e(t.transformed, { tag: "component" });
|
|
20
20
|
}, z = [], T = /* @__PURE__ */ u(
|
|
21
|
-
w,
|
|
22
21
|
k,
|
|
22
|
+
w,
|
|
23
23
|
z,
|
|
24
24
|
!1,
|
|
25
25
|
null,
|
|
@@ -466,7 +466,9 @@ const U = V.exports, K = {
|
|
|
466
466
|
};
|
|
467
467
|
var J = function() {
|
|
468
468
|
var t = this, e = t._self._c;
|
|
469
|
-
return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" }
|
|
469
|
+
return e("div", { class: { "p-8": t.viewType !== "mount" } }, [e("DocumentTimeline", { attrs: { document: t.document, size: "large" }, scopedSlots: t._u([{ key: "header", fn: function() {
|
|
470
|
+
return [t.showHeader ? e("div", { staticClass: "mb-4 border-b pb-4" }, [e("div", { staticClass: "mb-2" }, [e("div", { staticClass: "text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:document").capitalize()) } }), e("div", { staticClass: "text-lg font-semibold" }, [t._v(t._s(t.document.name))])]), e("div", { staticClass: "-ml-2 inline-flex items-center" }, [e("div", { staticClass: "mr-1.5 py-1 pl-2 text-xs text-gray-600", domProps: { textContent: t._s(t.$t("_common:status.status")) } }), e("StatusBadge", { attrs: { status: t.document.status } })], 1)]) : t._e()];
|
|
471
|
+
}, proxy: !0 }]) })], 1);
|
|
470
472
|
}, Q = [], W = /* @__PURE__ */ u(
|
|
471
473
|
K,
|
|
472
474
|
J,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as u } from "./answerDocumentMixin-
|
|
2
|
-
import { D as m } from "./DocumentLayout-
|
|
3
|
-
import { f as d } from "./formValidationMixin-
|
|
4
|
-
import { V as l, n as a } from "./main-
|
|
5
|
-
import { D as f } from "./DocumentVoided-
|
|
1
|
+
import { a as u } from "./answerDocumentMixin-AcDG8Byi.js";
|
|
2
|
+
import { D as m } from "./DocumentLayout-CiszuoQc.js";
|
|
3
|
+
import { f as d } from "./formValidationMixin-Dqlhg0R2.js";
|
|
4
|
+
import { V as l, n as a } from "./main-BIwKzAN8.js";
|
|
5
|
+
import { D as f } from "./DocumentVoided-DT2hhHk2.js";
|
|
6
6
|
const p = (s) => {
|
|
7
7
|
var e;
|
|
8
8
|
return (e = window == null ? void 0 : window.parent) == null ? void 0 : e.postMessage(s, "*");
|