@cling-se/widget 0.9.6 → 0.9.8
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-d8f5bc53.js → AddClientCallout-a45ee0f3.js} +5 -5
- package/dist/{AnswerModal-5f83562b.js → AnswerModal-de2d4e05.js} +3 -3
- package/dist/{AttachmentItem-79eb718b.js → AttachmentItem-3d18f509.js} +3 -3
- package/dist/{BaseDatePicker-ae7aebf1.js → BaseDatePicker-dea04782.js} +43 -43
- package/dist/{BaseInput-2c476604.js → BaseInput-d1686e72.js} +1 -1
- package/dist/{BaseUpload-9e15729d.js → BaseUpload-02c9e78f.js} +2 -2
- package/dist/{BlockMedia-a3f00a2f.js → BlockMedia-620716a2.js} +1 -1
- package/dist/{CCallout-04e2c8c6.js → CCallout-2842d99e.js} +3 -3
- package/dist/{CDropdownItem-5532f8af.js → CDropdownItem-c2f36de9.js} +5 -5
- package/dist/{CField-0bc9de28.js → CField-c089365f.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js → CSlider.vue_vue_type_style_index_0_lang-3de2be04.js} +1 -1
- package/dist/{ClientAutocomplete-e13c2753.js → ClientAutocomplete-1288f9a7.js} +2 -2
- package/dist/{ClientModal-da9fddf9.js → ClientModal-0863a0a5.js} +4 -4
- package/dist/{ColorPicker-06b731b7.js → ColorPicker-e0178aa9.js} +1 -1
- package/dist/{CompanyModal-b7c42f2a.js → CompanyModal-902787de.js} +3 -3
- package/dist/{ContentWrapper-fe4a67bc.js → ContentWrapper-b7748534.js} +11 -11
- package/dist/{CoverBlockSettings-2024e993.js → CoverBlockSettings-e108e279.js} +8 -8
- package/dist/DocAnswer-2c75c7d8.js +46 -0
- package/dist/{DocForm-af03179d.js → DocForm-fdf870ec.js} +80 -50
- package/dist/{DocFormSend-44161541.js → DocFormSend-ad07f927.js} +14 -14
- package/dist/{DocModalBase-9eb0f26f.js → DocModalBase-19bd9218.js} +1 -1
- package/dist/{DocPrint-92d12950.js → DocPrint-065067d3.js} +1 -1
- package/dist/{DocReceipt-4df57e1d.js → DocReceipt-cd92f4bc.js} +1 -1
- package/dist/{DocSendReminder-041af744.js → DocSendReminder-10240571.js} +1 -1
- package/dist/{DocTextEditor-b07dd391.js → DocTextEditor-264eae51.js} +7 -7
- package/dist/{DocTimeline-2ae2ca63.js → DocTimeline-7ca06776.js} +1 -1
- package/dist/{DocumentClient-3a1aecf2.js → DocumentClient-11bb861b.js} +5 -5
- package/dist/{DocumentLayout-ae49ac7a.js → DocumentLayout-2c0dde37.js} +118 -118
- package/dist/{DocumentLogotype-91436523.js → DocumentLogotype-c63e9e2b.js} +16 -16
- package/dist/{EmbedInput-05e22228.js → EmbedInput-f829347b.js} +2 -2
- package/dist/{EmbedSettings-9dabb6d4.js → EmbedSettings-15c9c5d2.js} +3 -3
- package/dist/{ErrorCallout-c7f69cd9.js → ErrorCallout-9b4c45b0.js} +1 -1
- package/dist/{FilePreviewModal-167a40c8.js → FilePreviewModal-3c976c4f.js} +4 -4
- package/dist/{HeaderSettings-e9b177e0.js → HeaderSettings-2bed2e49.js} +13 -13
- package/dist/{ImageSelectModal-8565c461.js → ImageSelectModal-aa8a9196.js} +9 -9
- package/dist/{ImageUploadWrapper-1e61e8da.js → ImageUploadWrapper-191b58cb.js} +2 -2
- package/dist/{Index-ba0c8eaa.js → Index-010b6c77.js} +2 -2
- package/dist/{Index-85e8119e.js → Index-09f3d14a.js} +6 -6
- package/dist/{Index-43899daf.js → Index-27a08871.js} +11 -11
- package/dist/{Index-96a07794.js → Index-2b95c1b1.js} +5 -5
- package/dist/{Index-b6b60b81.js → Index-2d0ce634.js} +8 -8
- package/dist/{Index-72bcad54.js → Index-2efc79a6.js} +4 -4
- package/dist/{Index-6b63686e.js → Index-30a2e82a.js} +4 -4
- package/dist/{Index-84820d3d.js → Index-3af51db0.js} +2 -2
- package/dist/{Index-ee75e74a.js → Index-466ac151.js} +4 -4
- package/dist/{Index-a7a6f91c.js → Index-491ca5f8.js} +8 -8
- package/dist/{Index-0708b238.js → Index-49e83404.js} +5 -5
- package/dist/{Index-8d1c62be.js → Index-4a3e4ff7.js} +4 -4
- package/dist/{Index-f75b1dd5.js → Index-579a4b8e.js} +4 -4
- package/dist/{Index-89addabd.js → Index-584c31f5.js} +14 -14
- package/dist/{Index-1f3de208.js → Index-587512ed.js} +8 -8
- package/dist/{Index-0799eaba.js → Index-68c2e6e8.js} +2 -2
- package/dist/{Index-ca112d97.js → Index-6a834a9a.js} +4 -4
- package/dist/{Index-c53330d6.js → Index-77a0fd51.js} +1 -1
- package/dist/{Index-fc722547.js → Index-7b7f6b0d.js} +4 -4
- package/dist/{Index-c893d091.js → Index-81121ad2.js} +2 -2
- package/dist/{Index-c038406f.js → Index-8c251698.js} +26 -26
- package/dist/{Index-a987a099.js → Index-97ceff4a.js} +6 -6
- package/dist/{Index-eda700f4.js → Index-a0bce09c.js} +4 -4
- package/dist/{Index-27a05d76.js → Index-a8a278df.js} +2 -2
- package/dist/{Index-4446581c.js → Index-b2b13e59.js} +7 -7
- package/dist/{Index-716dbe24.js → Index-b3a5344a.js} +5 -5
- package/dist/{Index-88e175bf.js → Index-b8809785.js} +2 -2
- package/dist/{Index-c58260f8.js → Index-bc0448b7.js} +11 -11
- package/dist/{Index-8b29bd10.js → Index-ca5a3caf.js} +1 -1
- package/dist/{Index-9bbfa37b.js → Index-e49bf365.js} +3 -3
- package/dist/{Index-ecf93915.js → Index-e75fb399.js} +2 -2
- package/dist/{Index-49766088.js → Index-ef1edca1.js} +2 -2
- package/dist/{Index-e728d2f7.js → Index-f7910f63.js} +4 -4
- package/dist/{Index-630600c9.js → Index-fc0c3175.js} +25 -25
- package/dist/{InputToggleRow-483acc75.js → InputToggleRow-ff35c2ce.js} +1 -1
- package/dist/{IsPremiumPreStep-aa08f8c8.js → IsPremiumPreStep-3a45da09.js} +14 -14
- package/dist/{MediaWrapper-ed7db800.js → MediaWrapper-5714c933.js} +3 -3
- package/dist/{NotBindingText-a99b4f85.js → NotBindingText-09b91d96.js} +2 -2
- package/dist/{PackageGroup-8cae78f1.js → PackageGroup-8a819bad.js} +12 -12
- package/dist/{PdfTerms-9c1c806e.js → PdfTerms-8f633637.js} +4 -4
- package/dist/{PdfViewer-1227dda6.js → PdfViewer-c9707701.js} +2 -2
- package/dist/{PlainHtml-647219e9.js → PlainHtml-7e5c2f75.js} +1 -1
- package/dist/{PriceHeader-cfb22169.js → PriceHeader-04f93704.js} +11 -11
- package/dist/{SearchApi-c0067742.js → SearchApi-941492e2.js} +2 -2
- package/dist/{TermsSettings-a0282ad7.js → TermsSettings-ef3ff7bd.js} +6 -6
- package/dist/{ThemeColorRow-71af67bd.js → ThemeColorRow-228b2150.js} +2 -2
- package/dist/{ToggleBinding-16c2879e.js → ToggleBinding-864dd88b.js} +3 -3
- package/dist/{UploadModal-084e3c2e.js → UploadModal-becfcb33.js} +3 -3
- package/dist/{VideoPlayerInput-fe87698e.js → VideoPlayerInput-22f9bd4d.js} +3 -3
- package/dist/{VideoPlayerSettings-06cfaccc.js → VideoPlayerSettings-871ebafc.js} +4 -4
- package/dist/{VideoSelectModal-fa81fb92.js → VideoSelectModal-7702dfef.js} +9 -9
- package/dist/{answerDocumentMixin-ef48c7eb.js → answerDocumentMixin-1cebd720.js} +3 -3
- package/dist/{cssMode-916ae2c1.js → cssMode-ecb6e1c1.js} +7 -7
- package/dist/{focusDrawerMixin-24942dd1.js → focusDrawerMixin-f736add2.js} +1 -1
- package/dist/{formComponentsInstall-2dfa2def.js → formComponentsInstall-2d3f76f6.js} +13 -18
- package/dist/{formValidationMixin-82793652.js → formValidationMixin-e41d906a.js} +1 -1
- package/dist/{freemarker2-6fd30e77.js → freemarker2-307c95a2.js} +7 -7
- package/dist/{handlebars-ff07e526.js → handlebars-81fcee8b.js} +7 -7
- package/dist/{html-5ad143f9.js → html-968ef632.js} +7 -7
- package/dist/{htmlMode-adc834ff.js → htmlMode-8db816bf.js} +7 -7
- package/dist/{index-6eda8be0.js → index-072e7404.js} +4 -4
- package/dist/{index-1f068e8e.js → index-bfbed7c8.js} +3 -3
- package/dist/{index-045c9c73.js → index-df6392e8.js} +10 -10
- package/dist/{index-b3fb8f92.js → index-f44d3569.js} +10 -10
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +422 -422
- package/dist/{javascript-9c241e8d.js → javascript-cea828eb.js} +8 -8
- package/dist/{jsonMode-36a8e1fd.js → jsonMode-9dc70f37.js} +7 -7
- package/dist/{liquid-da99d7af.js → liquid-a15e142f.js} +7 -7
- package/dist/{main-2dc98356.js → main-b6350bc3.js} +864 -775
- package/dist/{mapFormMixin-4ac649c2.js → mapFormMixin-48e32d23.js} +1 -1
- package/dist/{publicSenderState-1db8a50c.js → publicSenderState-8ff674de.js} +1 -1
- package/dist/{python-15d86041.js → python-c1ad439e.js} +7 -7
- package/dist/{razor-19e0207f.js → razor-29ed486f.js} +7 -7
- package/dist/{simplebar.min-9f5e0b8a.js → simplebar.min-bd77544d.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-069f0890.js → template-b8b398df.js} +1 -1
- package/dist/throttle-62e7a6dd.js +18 -0
- package/dist/{tinycolor-78c3e3d5.js → tinycolor-8a716699.js} +1 -1
- package/dist/{tippy.esm-d2a6f864.js → tippy.esm-be0516c8.js} +5 -5
- package/dist/{tsMode-7fcdffc4.js → tsMode-b84b9fe6.js} +7 -7
- package/dist/{typescript-f492bdab.js → typescript-2fb3afdc.js} +7 -7
- package/dist/{utils-aab0bc31.js → utils-c1d2b87e.js} +1 -1
- package/dist/{vuedraggable.umd-eb01eee5.js → vuedraggable.umd-995319fc.js} +48 -48
- package/dist/{xml-976a8723.js → xml-795e735c.js} +7 -7
- package/package.json +1 -1
- package/stats.html +1 -1
- package/dist/throttle-f8ef830f.js +0 -18
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aX as ce, aY as le, aZ as R, a_ as ue, a$ as A, b0 as S, b1 as oe, b2 as Pe, b3 as ze, b4 as be, i as xe, g as u, n as d, C as B, b5 as me, l as z, h as O, b6 as pe, b7 as ye, z as Xe, b8 as He, b9 as je, aW as he, ba as Le, M as c, a3 as P, c as o, aR as p, bb as Oe, bc as we, bd as ge, be as Te, B as Ne, bf as Ze, d as Ce, f as H, a2 as q, S as We, r as ke, ao as De, ad as Me, bg as Ve, aT as E, aU as I, I as W, bh as T, aV as Fe, bi as Je, V as w, bj as k, m as Ye, a as Ge, bk as Re, u as Ae } from "./main-b6350bc3.js";
|
|
2
2
|
import { m as b, a as y } from "./vuex.esm-4a0fff7c.js";
|
|
3
|
-
import "./index-
|
|
3
|
+
import "./index-df6392e8.js";
|
|
4
4
|
import { v as Z } from "./index-805c56e4.js";
|
|
5
|
-
import { d as C, w as j } from "./CDropdownItem-
|
|
6
|
-
import { D as Se, l as Be, g as qe, W as Ee, b as Ie, a as Ke } from "./DocumentLayout-
|
|
7
|
-
import { s as h } from "./simplebar.min-
|
|
8
|
-
import { B as Ue } from "./BlockMedia-
|
|
9
|
-
import { b as Qe, I as K, a as U } from "./IsPremiumPreStep-
|
|
10
|
-
import { c as _e, g as $e } from "./template-
|
|
11
|
-
import { a as et } from "./tinycolor-
|
|
12
|
-
import { m as L } from "./mapFormMixin-
|
|
13
|
-
import { S as tt, C as Q, i as nt } from "./formComponentsInstall-
|
|
14
|
-
import { s as m, f as ft } from "./focusDrawerMixin-
|
|
15
|
-
import { f as rt } from "./formValidationMixin-
|
|
16
|
-
import { F as _, d as st } from "./tippy.esm-
|
|
17
|
-
import { S as vt } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
18
|
-
import { o as at, d as it } from "./vuedraggable.umd-
|
|
5
|
+
import { d as C, w as j } from "./CDropdownItem-c2f36de9.js";
|
|
6
|
+
import { D as Se, l as Be, g as qe, W as Ee, b as Ie, a as Ke } from "./DocumentLayout-2c0dde37.js";
|
|
7
|
+
import { s as h } from "./simplebar.min-bd77544d.js";
|
|
8
|
+
import { B as Ue } from "./BlockMedia-620716a2.js";
|
|
9
|
+
import { b as Qe, I as K, a as U } from "./IsPremiumPreStep-3a45da09.js";
|
|
10
|
+
import { c as _e, g as $e } from "./template-b8b398df.js";
|
|
11
|
+
import { a as et } from "./tinycolor-8a716699.js";
|
|
12
|
+
import { m as L } from "./mapFormMixin-48e32d23.js";
|
|
13
|
+
import { S as tt, C as Q, i as nt } from "./formComponentsInstall-2d3f76f6.js";
|
|
14
|
+
import { s as m, f as ft } from "./focusDrawerMixin-f736add2.js";
|
|
15
|
+
import { f as rt } from "./formValidationMixin-e41d906a.js";
|
|
16
|
+
import { F as _, d as st } from "./tippy.esm-be0516c8.js";
|
|
17
|
+
import { S as vt } from "./CSlider.vue_vue_type_style_index_0_lang-3de2be04.js";
|
|
18
|
+
import { o as at, d as it } from "./vuedraggable.umd-995319fc.js";
|
|
19
19
|
import { s as dt } from "./dom-068d1a7b.js";
|
|
20
|
-
import ct from "./AnswerModal-
|
|
20
|
+
import ct from "./AnswerModal-de2d4e05.js";
|
|
21
21
|
import "./color-71c20583.js";
|
|
22
22
|
import "./anime.es-e284c852.js";
|
|
23
23
|
import "./regions-29ee6964.js";
|
|
24
|
-
import "./BaseDatePicker-
|
|
25
|
-
import "./ErrorCallout-
|
|
26
|
-
import "./AddClientCallout-
|
|
27
|
-
import "./ClientAutocomplete-
|
|
28
|
-
import "./SearchApi-
|
|
29
|
-
import "./ClientModal-
|
|
30
|
-
import "./CCallout-
|
|
31
|
-
import "./CField-
|
|
24
|
+
import "./BaseDatePicker-dea04782.js";
|
|
25
|
+
import "./ErrorCallout-9b4c45b0.js";
|
|
26
|
+
import "./AddClientCallout-a45ee0f3.js";
|
|
27
|
+
import "./ClientAutocomplete-1288f9a7.js";
|
|
28
|
+
import "./SearchApi-941492e2.js";
|
|
29
|
+
import "./ClientModal-0863a0a5.js";
|
|
30
|
+
import "./CCallout-2842d99e.js";
|
|
31
|
+
import "./CField-c089365f.js";
|
|
32
32
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
33
|
-
import "./ColorPicker-
|
|
33
|
+
import "./ColorPicker-e0178aa9.js";
|
|
34
34
|
var lt = ce, ut = le, ot = R;
|
|
35
35
|
function Pt(n, e, t) {
|
|
36
36
|
for (var f = -1, r = e.length, s = {}; ++f < r; ) {
|
|
@@ -405,9 +405,9 @@ const Y1 = {
|
|
|
405
405
|
var G1 = function() {
|
|
406
406
|
var f;
|
|
407
407
|
var e = this, t = e._self._c;
|
|
408
|
-
return t("div", { staticClass: "template-modal font-inter" }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "1em", overflow: "auto", border: "10px solid white", "box-shadow": "rgb(244, 244, 244) 0px 2px 14px 0px inset, rgba(0, 0, 0, 0.09) 0px 8px 35px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px inset", flex: "1 1 auto" } }, [t("simplebar", [e.previewDocument ? t("DocumentLayout", { attrs: { document: e.previewDocument } }) : e._e()], 1)], 1), t("div", { staticStyle: { flex: "0 1 300px", padding: "2em 1em 3em 2em", "font-size": "18px" } }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("div", { staticStyle: { "font-size": "21px", "font-weight": "800", color: "hsl(0, 0%, 0%)" } }, [e._v(" " + e._s(e.meta.name) + " ")]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px", "min-height": "30px", color: "hsl(0, 0%, 27%)" } }, [(f = e.templateStat) != null && f.usedTimes ? [e._v(" " + e._s(e.$t("_common:used").capitalize()) + " " + e._s(e.templateStat.usedTimes) + " " + e._s(e.$t("_common:times", { count: e.templateStat.usedTimes })) + " ")] : e._e()], 2), t("div", { staticStyle: { hyphens: "auto" } }, [e._v(" " + e._s(e.meta.text) + " ")]), t("div", { staticClass: "flex items-center", staticStyle: { "padding-top": "1.5em" } }, [t("div", { staticStyle: { "background-color": "#03f", "border-radius": "50%", width: "2.5em", height: "2.5em", "background-size": "cover", "background-position": "center", "background-repeat": "no-repeat" }, style: {
|
|
408
|
+
return t("div", { staticClass: "template-modal font-inter" }, [t("div", { staticStyle: { "background-color": "white", "border-radius": "1em", overflow: "auto", border: "10px solid white", "box-shadow": "rgb(244, 244, 244) 0px 2px 14px 0px inset, rgba(0, 0, 0, 0.09) 0px 8px 35px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px inset", flex: "1 1 auto" } }, [t("simplebar", [e.previewDocument ? t("DocumentLayout", { attrs: { document: e.previewDocument } }) : e._e()], 1)], 1), t("div", { staticStyle: { flex: "0 1 300px", padding: "2em 1em 3em 2em", "font-size": "18px" } }, [t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("div", { staticStyle: { "font-size": "21px", "font-weight": "800", color: "hsl(0, 0%, 0%)" } }, [e._v(" " + e._s(e.meta.name) + " ")]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px", "min-height": "30px", color: "hsl(0, 0%, 27%)" } }, [(f = e.templateStat) != null && f.usedTimes ? [e._v(" " + e._s(e.$t("_common:used").capitalize()) + " " + e._s(e.templateStat.usedTimes) + " " + e._s(e.$t("_common:times", { count: e.templateStat.usedTimes })) + " ")] : e._e()], 2), t("div", { staticStyle: { hyphens: "auto" } }, [e._v(" " + e._s(e.meta.text) + " ")]), e.meta.author ? t("div", { staticClass: "flex items-center", staticStyle: { "padding-top": "1.5em" } }, [t("div", { staticStyle: { "background-color": "#03f", "border-radius": "50%", width: "2.5em", height: "2.5em", "background-size": "cover", "background-position": "center", "background-repeat": "no-repeat" }, style: {
|
|
409
409
|
backgroundImage: `url(${e.meta.author.avatar})`
|
|
410
|
-
} }), t("div", { staticStyle: { "margin-left": "0.5em" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(e.meta.author.name))]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px" } }, [e.meta.author.templatesCount ? [e._v(" " + e._s(e.meta.author.templatesCount) + " " + e._s(e.$t("_common:template", { count: e.meta.author.templatesCount })) + " ")] : [e._v(e._s(e.$t("_common:template").capitalize()))]], 2)])])]), t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("CButton", { staticStyle: { "margin-bottom": "0.5em" }, attrs: { type: "secondary", wide: "" }, on: { click: e.useSelectedTemplate } }, [e._v(" " + e._s(e.$t("_common:use", { thing: e.$t("_common:template") })) + " ")]), e.showSave ? t("CButton", { attrs: { loading: e.isLoading, type: e.didSave ? "success" : "none", "icon-left": e.didSave ? "check" : void 0, wide: "" }, on: { click: function(r) {
|
|
410
|
+
} }), t("div", { staticStyle: { "margin-left": "0.5em" } }, [t("div", { staticStyle: { "font-weight": "500" } }, [e._v(e._s(e.meta.author.name))]), t("div", { staticStyle: { "font-weight": "400", "font-size": "14px" } }, [e.meta.author.templatesCount ? [e._v(" " + e._s(e.meta.author.templatesCount) + " " + e._s(e.$t("_common:template", { count: e.meta.author.templatesCount })) + " ")] : [e._v(e._s(e.$t("_common:template").capitalize()))]], 2)])]) : e._e()]), t("div", { staticStyle: { "padding-bottom": "2em" } }, [t("CButton", { staticStyle: { "margin-bottom": "0.5em" }, attrs: { type: "secondary", wide: "" }, on: { click: e.useSelectedTemplate } }, [e._v(" " + e._s(e.$t("_common:use", { thing: e.$t("_common:template") })) + " ")]), e.showSave ? t("CButton", { attrs: { loading: e.isLoading, type: e.didSave ? "success" : "none", "icon-left": e.didSave ? "check" : void 0, wide: "" }, on: { click: function(r) {
|
|
411
411
|
e.didSave || e.saveAsTemplate();
|
|
412
412
|
} } }, [e._v(" " + e._s(e.didSave ? e.$t("_common:savedThing", { thing: e.$t("_common:template") }) : e.$t("_common:saveAs", { thing: e.$t("_common:template") })) + " ")]) : e._e()], 1)])]);
|
|
413
413
|
}, R1 = [], A1 = /* @__PURE__ */ d(
|
|
@@ -416,7 +416,7 @@ var G1 = function() {
|
|
|
416
416
|
R1,
|
|
417
417
|
!1,
|
|
418
418
|
null,
|
|
419
|
-
"
|
|
419
|
+
"c23a90b5",
|
|
420
420
|
null,
|
|
421
421
|
null
|
|
422
422
|
);
|
|
@@ -477,6 +477,10 @@ const S1 = A1.exports, B1 = {
|
|
|
477
477
|
filterLanguage: {
|
|
478
478
|
type: String,
|
|
479
479
|
default: () => ["cling", "fortnoxSe"].includes(z.brand) ? "sv" : "en"
|
|
480
|
+
},
|
|
481
|
+
showTemplateAuthor: {
|
|
482
|
+
type: Boolean,
|
|
483
|
+
default: !0
|
|
480
484
|
}
|
|
481
485
|
},
|
|
482
486
|
data() {
|
|
@@ -591,11 +595,14 @@ const S1 = A1.exports, B1 = {
|
|
|
591
595
|
meta: {
|
|
592
596
|
name: e.name,
|
|
593
597
|
text: e.description,
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
598
|
+
...this.showTemplateAuthor ? {
|
|
599
|
+
// Only show author if enabled)
|
|
600
|
+
author: {
|
|
601
|
+
name: this.$t("_common:brand.name"),
|
|
602
|
+
avatar: t[z.brand],
|
|
603
|
+
templatesCount: this.templateGalleryItems.length
|
|
604
|
+
}
|
|
605
|
+
} : {}
|
|
599
606
|
},
|
|
600
607
|
...this.modalProps
|
|
601
608
|
},
|
|
@@ -933,6 +940,10 @@ const l2 = {
|
|
|
933
940
|
type: Boolean,
|
|
934
941
|
default: !1
|
|
935
942
|
},
|
|
943
|
+
showGalleryTemplateAuthor: {
|
|
944
|
+
type: Boolean,
|
|
945
|
+
default: !0
|
|
946
|
+
},
|
|
936
947
|
listExpanded: {
|
|
937
948
|
type: Boolean,
|
|
938
949
|
default: !1
|
|
@@ -1058,7 +1069,7 @@ var u2 = function() {
|
|
|
1058
1069
|
} } }, [e._v(" " + e._s(e.$t("_common:change", { thing: e.$t("_common:name") })) + " ")]), t("CDropdownItem", { attrs: { separator: "" } }), t("CDropdownItem", { attrs: { "icon-props": { size: 16, stroke: "hsl(360, 100%, 60%)" }, "icon-left": "trash" }, on: { click: function(r) {
|
|
1059
1070
|
return e.onRemoveTemplate(f);
|
|
1060
1071
|
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")])], 1)], 1);
|
|
1061
|
-
}), 1)], 1), e.showGallery ? [t("GalleryLogic", { attrs: { "fetch-gallery": e.fetchGallery, "use-template": e.select, "modal-props": e.galleryModalProps }, scopedSlots: e._u([{ key: "default", fn: function({
|
|
1072
|
+
}), 1)], 1), e.showGallery ? [t("GalleryLogic", { attrs: { "fetch-gallery": e.fetchGallery, "use-template": e.select, "show-template-author": e.showGalleryTemplateAuthor, "modal-props": e.galleryModalProps }, scopedSlots: e._u([{ key: "default", fn: function({
|
|
1062
1073
|
galleryItems: f,
|
|
1063
1074
|
categories: r,
|
|
1064
1075
|
activeCategory: s,
|
|
@@ -1083,7 +1094,7 @@ var u2 = function() {
|
|
|
1083
1094
|
o2,
|
|
1084
1095
|
!1,
|
|
1085
1096
|
null,
|
|
1086
|
-
"
|
|
1097
|
+
"8de0763f",
|
|
1087
1098
|
null,
|
|
1088
1099
|
null
|
|
1089
1100
|
);
|
|
@@ -5917,6 +5928,17 @@ var Jn = function() {
|
|
|
5917
5928
|
const Rn = Gn.exports;
|
|
5918
5929
|
const An = {
|
|
5919
5930
|
name: "BlockControlButtons",
|
|
5931
|
+
i18nOptions: {
|
|
5932
|
+
namespace: "blockControlButtons",
|
|
5933
|
+
messages: {
|
|
5934
|
+
en: {
|
|
5935
|
+
hidden: "Hidden"
|
|
5936
|
+
},
|
|
5937
|
+
sv: {
|
|
5938
|
+
hidden: "Dold"
|
|
5939
|
+
}
|
|
5940
|
+
}
|
|
5941
|
+
},
|
|
5920
5942
|
props: {
|
|
5921
5943
|
isVisible: {
|
|
5922
5944
|
type: [Boolean, Object],
|
|
@@ -5940,7 +5962,7 @@ var Sn = function() {
|
|
|
5940
5962
|
var e = this, t = e._self._c;
|
|
5941
5963
|
return t("div", { staticClass: "flex flex-col gap-1 control-root" }, [e.canToggleVisibility ? t("div", { staticClass: "control-button", on: { click: function(f) {
|
|
5942
5964
|
return e.$emit("toggle-visible", !e.isVisible);
|
|
5943
|
-
} } }, [e.isVisible ? e._e() : t("span", { staticClass: "px-1.5 text-xs text-gray-600" }, [e._v("
|
|
5965
|
+
} } }, [e.isVisible ? e._e() : t("span", { staticClass: "px-1.5 text-xs text-gray-600" }, [e._v(" " + e._s(e.$t("hidden")) + " ")]), t("BaseIcon", { class: { "mr-1": !e.isVisible }, attrs: { type: e.isVisible ? "eye" : "eye-off", size: "14" } })], 1) : e._e(), !e.isHidden && e.isMovable ? [t("div", { staticClass: "control-direction" }, [t("div", { staticClass: "control-button", on: { click: function(f) {
|
|
5944
5966
|
return e.$emit("move", "up");
|
|
5945
5967
|
} } }, [t("BaseIcon", { attrs: { type: "chevron-up", size: "16" } })], 1), t("div", { staticClass: "control-button", on: { click: function(f) {
|
|
5946
5968
|
return e.$emit("move", "down");
|
|
@@ -5953,7 +5975,7 @@ var Sn = function() {
|
|
|
5953
5975
|
Bn,
|
|
5954
5976
|
!1,
|
|
5955
5977
|
null,
|
|
5956
|
-
"
|
|
5978
|
+
"79921f13",
|
|
5957
5979
|
null,
|
|
5958
5980
|
null
|
|
5959
5981
|
);
|
|
@@ -6003,16 +6025,16 @@ const In = {
|
|
|
6003
6025
|
return typeof this.isVisible == "boolean" && !this.isVisible;
|
|
6004
6026
|
},
|
|
6005
6027
|
showControls() {
|
|
6006
|
-
return this.disableControls ? !1 : !this.isDragging && this.isHovering ? !0 : this.isHidden;
|
|
6028
|
+
return !this.isEditView || this.disableControls ? !1 : !this.isDragging && this.isHovering ? !0 : this.isHidden;
|
|
6007
6029
|
},
|
|
6008
6030
|
contentClass() {
|
|
6009
|
-
return this.isHidden ? "h-16 overflow-hidden after:bg-gradient-to-b after:from-white/50 after:to-white relative after:absolute after:content-[''] after:inset-0" : "";
|
|
6031
|
+
return this.isHidden ? "h-16 overflow-hidden after:bg-gradient-to-b after:from-white/50 after:to-white relative after:absolute after:content-[''] after:inset-0 after:z-[1]" : "";
|
|
6010
6032
|
}
|
|
6011
6033
|
}
|
|
6012
6034
|
};
|
|
6013
6035
|
var Kn = function() {
|
|
6014
6036
|
var e = this, t = e._self._c;
|
|
6015
|
-
return t("Animation", { staticClass: "w-full" }, [
|
|
6037
|
+
return t("Animation", { staticClass: "w-full" }, [t("div", { staticClass: "block-root", class: [
|
|
6016
6038
|
{
|
|
6017
6039
|
"is-edit-view": e.isEditView,
|
|
6018
6040
|
"is-hovering": e.isHovering,
|
|
@@ -6032,14 +6054,14 @@ var Kn = function() {
|
|
|
6032
6054
|
return e.$emit("move", f);
|
|
6033
6055
|
}, remove: function(f) {
|
|
6034
6056
|
return e.$emit("remove");
|
|
6035
|
-
} } }) : e._e()], 1)
|
|
6057
|
+
} } }) : e._e()], 1)]);
|
|
6036
6058
|
}, Un = [], Qn = /* @__PURE__ */ d(
|
|
6037
6059
|
In,
|
|
6038
6060
|
Kn,
|
|
6039
6061
|
Un,
|
|
6040
6062
|
!1,
|
|
6041
6063
|
null,
|
|
6042
|
-
"
|
|
6064
|
+
"60aa95ad",
|
|
6043
6065
|
null,
|
|
6044
6066
|
null
|
|
6045
6067
|
);
|
|
@@ -6237,6 +6259,10 @@ const ve = (n, e, t = "$children") => {
|
|
|
6237
6259
|
goBack: {
|
|
6238
6260
|
type: Function,
|
|
6239
6261
|
default: null
|
|
6262
|
+
},
|
|
6263
|
+
canShowBanner: {
|
|
6264
|
+
type: Boolean,
|
|
6265
|
+
default: !0
|
|
6240
6266
|
}
|
|
6241
6267
|
},
|
|
6242
6268
|
mixins: [j],
|
|
@@ -6260,7 +6286,7 @@ const ve = (n, e, t = "$children") => {
|
|
|
6260
6286
|
return o(this.docTemplate, "views.read.isEditable", !1);
|
|
6261
6287
|
},
|
|
6262
6288
|
canMove() {
|
|
6263
|
-
return this.isTemplateEditable;
|
|
6289
|
+
return this.isTemplateEditable && this.isEditView;
|
|
6264
6290
|
},
|
|
6265
6291
|
readLayout() {
|
|
6266
6292
|
return o(this.docTemplate, "views.read.nodes", []);
|
|
@@ -6453,7 +6479,7 @@ var y7 = function() {
|
|
|
6453
6479
|
"is-empty": !e.nestedReadLayout.length
|
|
6454
6480
|
},
|
|
6455
6481
|
!e.isEditView && `is-device-${e.previewDevice}`
|
|
6456
|
-
] }, [!e.nestedReadLayout.length && !e.isFixedSidebar ? t("div", { staticClass: "drag-drop-empty-list is-placeholder
|
|
6482
|
+
] }, [!e.nestedReadLayout.length && !e.isFixedSidebar ? t("div", { staticClass: "text-gray-400 drag-drop-empty-list is-placeholder" }, [t("div", { staticStyle: { position: "relative" } }, [e._m(0), t("svg", { staticClass: "drag-drop-illustration", attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 50 50" } }, [t("path", { staticClass: "drag-drop-illustration-finger", attrs: { d: "M8 0a4 4 0 00-2.7 1C4.6 1.6 4 2.7 4 4v21.4c-.4.2-.8.2-1.7 1A7.2 7.2 0 000 31.8c0 2 .8 3.8 1 4.5L4 42s-.1 0 0 0c1.4 3.1 4.5 5 8 5h9c5 0 9-4 9-9V22c0-.8-.1-2-.7-3-.5-1-1.7-2-3.3-2-1 0-2 .4-2.6.9 0-.3-.1-.7-.3-1-.6-1-1.7-1.9-3.1-1.9a4 4 0 00-2.7 1c-.6-1.1-1.7-2-3.3-2-.8 0-1.4.2-2 .6V4a4 4 0 00-4-4z", fill: "#000", "fill-rule": "nonzero" } }), t("path", { staticClass: "drag-drop-illustration-grabbing", attrs: { transform: "translate(0 11)", d: "M14 1c-.8 0-1.8.2-2.6.8l-.9 1a4 4 0 00-5.2.2C4.6 3.6 4 4.7 4 5.9V14c-1.7.7-4 3-4 7 0 2.2.9 4.2 1 4.5L3.9 31c1.5 3.1 4.6 5 8 5H21c5 0 9-4 9-9V9c0-4.4-2.5-5-4-5-.7 0-1.5.1-2.3.7C23 2.5 21.4 2 20 2c-1 0-2 .3-2.6.8l-.6-.9A4 4 0 0014 1z", fill: "#000", "fill-rule": "nonzero" } })])]), t("div", { staticClass: "text-center", staticStyle: { "max-width": "22ch" }, domProps: { innerHTML: e._s(e.$t("emptyBlockPlaceholderLarge")) } })]) : e._e(), t(e.isEditView ? "div" : "simplebar", { tag: "component", staticClass: "w-full h-full" }, [t("WithDimensions", { attrs: { "provide-device": !0 }, on: { width: function(f) {
|
|
6457
6483
|
e.parentSize.width = f;
|
|
6458
6484
|
} }, scopedSlots: e._u([{ key: "default", fn: function({ width: f, height: r }) {
|
|
6459
6485
|
var s, v;
|
|
@@ -6478,9 +6504,9 @@ var y7 = function() {
|
|
|
6478
6504
|
}, "toggle-visible": function(l) {
|
|
6479
6505
|
return e.onBlockToggleVisible(a, l);
|
|
6480
6506
|
} } }, [t("DynamicChapter", { attrs: { "component-name": a.componentName, "component-props": { ...a.props, _document: e._document, _value: a.value }, children: a.children, "parent-size": e.parentSize, "is-visible": a.isVisible, "on-input": ({ key: l, value: x, options: g }) => e.setFormValue({ key: l, value: x, options: g }), "on-remove": ({ key: l }) => e.removeFormValue(l), "on-mount": (l) => e.onAddBlockMount(a.nodeId, l) } })], 1)], 1);
|
|
6481
|
-
}), 1) : e._e(), t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ isProLike: a }) {
|
|
6507
|
+
}), 1) : e._e(), e.canShowBanner ? t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ isProLike: a }) {
|
|
6482
6508
|
return [!e.isEditView && !a ? t("LogoBanner", { attrs: { position: "sticky" } }) : e._e()];
|
|
6483
|
-
} }], null, !0) })], 1);
|
|
6509
|
+
} }], null, !0) }) : e._e()], 1);
|
|
6484
6510
|
} }]) })], 1)], 1)], 1), t("DocumentDrawer", { key: "settingsDrawer", attrs: { id: "settingsDrawer", open: e.drawerState.showRight, fixed: !0, position: "right" }, on: { "update:open": function(f) {
|
|
6485
6511
|
return e.$set(e.drawerState, "showRight", f);
|
|
6486
6512
|
} } }, [t("portal-target", { attrs: { name: "drawer-content" } })], 1)], 1)]);
|
|
@@ -6493,7 +6519,7 @@ var y7 = function() {
|
|
|
6493
6519
|
X7,
|
|
6494
6520
|
!1,
|
|
6495
6521
|
null,
|
|
6496
|
-
"
|
|
6522
|
+
"bc2f56f0",
|
|
6497
6523
|
null,
|
|
6498
6524
|
null
|
|
6499
6525
|
);
|
|
@@ -6550,6 +6576,10 @@ const j7 = H7.exports, N = w.observable({
|
|
|
6550
6576
|
goBack: {
|
|
6551
6577
|
type: Function,
|
|
6552
6578
|
default: null
|
|
6579
|
+
},
|
|
6580
|
+
canShowBanner: {
|
|
6581
|
+
type: Boolean,
|
|
6582
|
+
default: !0
|
|
6553
6583
|
}
|
|
6554
6584
|
},
|
|
6555
6585
|
provide: () => ({ viewSettings: N }),
|
|
@@ -6611,7 +6641,7 @@ const j7 = H7.exports, N = w.observable({
|
|
|
6611
6641
|
};
|
|
6612
6642
|
var L7 = function() {
|
|
6613
6643
|
var e = this, t = e._self._c;
|
|
6614
|
-
return e.document ? t("div", { staticClass: "flex flex-col w-screen bg-white" }, [t("DocumentFormContainer", { attrs: { _document: e.document, view: e.view, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "remove-form-key-value": e.removeDocKeyValue, close: e.close, "go-back": e.goBack }, on: { "update:view": function(f) {
|
|
6644
|
+
return e.document ? t("div", { staticClass: "flex flex-col w-screen bg-white" }, [t("DocumentFormContainer", { attrs: { _document: e.document, view: e.view, "set-form-value": e.setDocValue, "remove-form-value": e.removeDocValue, "remove-form-key-value": e.removeDocKeyValue, close: e.close, "go-back": e.goBack, "can-show-banner": e.canShowBanner }, on: { "update:view": function(f) {
|
|
6615
6645
|
e.view = f;
|
|
6616
6646
|
} } }, [t("template", { slot: "nav-right" }, [t("IsPremium", { scopedSlots: e._u([{ key: "default", fn: function({ canCreateDocument: f }) {
|
|
6617
6647
|
return [t("IsPremiumPreStep", { attrs: { feature: "documents" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: r }) {
|
|
@@ -6995,7 +7025,7 @@ const G7 = {
|
|
|
6995
7025
|
};
|
|
6996
7026
|
var R7 = function() {
|
|
6997
7027
|
var e = this, t = e._self._c;
|
|
6998
|
-
return t("div", { staticClass: "flex flex-col w-full h-full" }, [e.view === "templateSelect" ? t("div", { staticClass: "flex flex-col
|
|
7028
|
+
return t("div", { staticClass: "flex flex-col w-full h-full" }, [e.view === "templateSelect" ? t("div", { staticClass: "flex flex-col w-full h-full" }, [t("div", { staticClass: "relative flex items-center justify-center h-16 border-b border-gray-200" }, [t("CButton", { staticClass: "absolute -translate-y-1/2 top-1/2 left-4", attrs: { icon: "x", circle: "" }, on: { click: e.close } }), t("div", [e._v(e._s(e.$t("selectNavTitle")))])], 1), t("TemplateSelector", { staticClass: "min-h-0 body-scroll", attrs: { "on-use-template": e.onTemplateSelect, "show-gallery": e.feature("templateGallery"), "show-gallery-template-author": !1 } })], 1) : e.view === "editor" ? t("DocumentEditor", { attrs: { document: e.document, "set-doc-value": e.setDocValue, "set-form-value": e.setFormValue, "remove-doc-value": e.removeDocValue, "remove-doc-key-value": e.removeDocKeyValue, "on-save-document": e.onSaveDocument, "is-loading": e.isPosting, close: e.close, "go-back": e.goBack, "can-show-banner": !1 } }) : t("PostSend", { attrs: { document: e.document, "on-send-func": e.close, "on-close-func": e.close } })], 1);
|
|
6999
7029
|
}, A7 = [], S7 = /* @__PURE__ */ d(
|
|
7000
7030
|
G7,
|
|
7001
7031
|
R7,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { V as n, m as r, a as l, g as a, C as i, u as m, n as c } from "./main-
|
|
2
|
-
import { i as u, S as d } from "./formComponentsInstall-
|
|
1
|
+
import { V as n, m as r, a as l, g as a, C as i, u as m, n as c } from "./main-b6350bc3.js";
|
|
2
|
+
import { i as u, S as d } from "./formComponentsInstall-2d3f76f6.js";
|
|
3
3
|
import "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import "./simplebar.min-
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./BaseDatePicker-
|
|
7
|
-
import "./ErrorCallout-
|
|
8
|
-
import "./AddClientCallout-
|
|
9
|
-
import "./ClientAutocomplete-
|
|
10
|
-
import "./SearchApi-
|
|
11
|
-
import "./CDropdownItem-
|
|
12
|
-
import "./ClientModal-
|
|
4
|
+
import "./simplebar.min-bd77544d.js";
|
|
5
|
+
import "./mapFormMixin-48e32d23.js";
|
|
6
|
+
import "./BaseDatePicker-dea04782.js";
|
|
7
|
+
import "./ErrorCallout-9b4c45b0.js";
|
|
8
|
+
import "./AddClientCallout-a45ee0f3.js";
|
|
9
|
+
import "./ClientAutocomplete-1288f9a7.js";
|
|
10
|
+
import "./SearchApi-941492e2.js";
|
|
11
|
+
import "./CDropdownItem-c2f36de9.js";
|
|
12
|
+
import "./ClientModal-0863a0a5.js";
|
|
13
13
|
import "./index-805c56e4.js";
|
|
14
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
15
|
-
import "./CCallout-
|
|
16
|
-
import "./CField-
|
|
14
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-3de2be04.js";
|
|
15
|
+
import "./CCallout-2842d99e.js";
|
|
16
|
+
import "./CField-c089365f.js";
|
|
17
17
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
18
18
|
import "./regions-29ee6964.js";
|
|
19
19
|
n.use(u);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as qo, F as Pa, s as _a, d as Ko } from "./tippy.esm-
|
|
2
|
-
import { V as Vn, n as ut,
|
|
3
|
-
import { i as Uo } from "./CDropdownItem-
|
|
4
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { t as qo, F as Pa, s as _a, d as Ko } from "./tippy.esm-be0516c8.js";
|
|
2
|
+
import { V as Vn, n as ut, a3 as gs, c as ys, p as za } from "./main-b6350bc3.js";
|
|
3
|
+
import { i as Uo } from "./CDropdownItem-c2f36de9.js";
|
|
4
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-3de2be04.js";
|
|
5
5
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
6
|
-
import { C as $a } from "./ColorPicker-
|
|
6
|
+
import { C as $a } from "./ColorPicker-e0178aa9.js";
|
|
7
7
|
import { h as Ha } from "./color-71c20583.js";
|
|
8
8
|
function ee(n) {
|
|
9
9
|
this.content = n;
|
|
@@ -13953,7 +13953,7 @@ const ym = gm.exports;
|
|
|
13953
13953
|
const bm = {
|
|
13954
13954
|
components: {
|
|
13955
13955
|
FormInputRow: Pa,
|
|
13956
|
-
TextTemplates: () => import("./index-
|
|
13956
|
+
TextTemplates: () => import("./index-f44d3569.js")
|
|
13957
13957
|
},
|
|
13958
13958
|
props: {
|
|
13959
13959
|
editor: {
|
|
@@ -14803,7 +14803,7 @@ const Im = {
|
|
|
14803
14803
|
},
|
|
14804
14804
|
async openPreview() {
|
|
14805
14805
|
var r;
|
|
14806
|
-
const n = () => import("./FilePreviewModal-
|
|
14806
|
+
const n = () => import("./FilePreviewModal-3c976c4f.js"), { src: e, title: t } = ((r = this.node) == null ? void 0 : r.attrs) || {};
|
|
14807
14807
|
this.$modal.show(
|
|
14808
14808
|
n,
|
|
14809
14809
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n, V as d } from "./main-
|
|
2
|
-
import { D as u } from "./DocumentLayout-
|
|
3
|
-
import { f as m } from "./formValidationMixin-
|
|
4
|
-
import { a as l } from "./answerDocumentMixin-
|
|
5
|
-
import "./CDropdownItem-
|
|
1
|
+
import { n, V as d } from "./main-b6350bc3.js";
|
|
2
|
+
import { D as u } from "./DocumentLayout-2c0dde37.js";
|
|
3
|
+
import { f as m } from "./formValidationMixin-e41d906a.js";
|
|
4
|
+
import { a as l } from "./answerDocumentMixin-1cebd720.js";
|
|
5
|
+
import "./CDropdownItem-c2f36de9.js";
|
|
6
6
|
import "./dom-068d1a7b.js";
|
|
7
7
|
const f = (s) => {
|
|
8
8
|
var e;
|