@cling-se/widget 0.15.2 → 0.15.5
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/README.md +43 -43
- package/dist/{AddClientCallout-CSxN7XFh.js → AddClientCallout-CrZF5j7A.js} +15 -13
- package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-C3r9vyki.js} +71 -71
- package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BVXrxCnv.js} +20 -13
- package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-DxL2l3QC.js} +561 -557
- package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-B7259IaQ.js} +3 -3
- package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-BSKtZMwa.js} +2 -2
- package/dist/{CCallout-_k7FPbsE.js → CCallout-BNvM6gNJ.js} +4 -5
- package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-xmqmb8gW.js} +24 -20
- package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-DiLisSei.js} +139 -37
- package/dist/{CFormField-BjGICSv5.js → CFormField-DcZVdj3a.js} +3 -4
- package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-BeYxRN0i.js} +1 -1
- package/dist/CPhoneInput-UzZkxbC6.js +138 -0
- package/dist/{CPriceInput-myrETXfz.js → CPriceInput-C2y_3PM7.js} +20 -16
- package/dist/CSelect-BmP1UsQA.js +91 -0
- package/dist/CSkeleton-BNbft-NE.js +55 -0
- package/dist/ClientAutocomplete-BnredOme.js +438 -0
- package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DNcf4APF.js} +92 -51
- package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-BupC4jvI.js} +2 -2
- package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Bh8mEHE1.js} +25 -19
- package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-Bs3nrJda.js} +63 -55
- package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
- package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer--FfsnnTB.js} +2 -2
- package/dist/{DocDetails-C9EEpNg2.js → DocDetails-Ce7bj-qO.js} +43 -39
- package/dist/{DocForm-Dww8Ust9.js → DocForm-FR_Vlq_C.js} +801 -755
- package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-DcSv3JNg.js} +18 -15
- package/dist/{DocLinks-DFUO03dk.js → DocLinks-Bvhc62aJ.js} +2 -2
- package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-DkfUBRi3.js} +2 -2
- package/dist/{DocPrint--T278pDE.js → DocPrint-BrKY6rOy.js} +3 -3
- package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-oGrM6t_k.js} +29 -22
- package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-veEC_yHK.js} +19 -16
- package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-CNRwxPEx.js} +72 -70
- package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-e2Xf_QZ7.js} +38 -34
- package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-Dx4Uyxkh.js} +5 -5
- package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-DmjmsTcx.js} +1506 -1538
- package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-ddYHM9wn.js} +25 -20
- package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-WCk7XuxH.js} +1 -1
- package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-CMueXdFs.js} +25 -21
- package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BRuLCWr0.js} +13 -11
- package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CDtZceLU.js} +6 -6
- package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-BzAUuY58.js} +3 -3
- package/dist/Flag-DkJgyDQK.js +46 -0
- package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-CoKK5Mbt.js} +159 -110
- package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-De64vGSr.js} +15 -13
- package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
- package/dist/{Index-DS1PwlDq.js → Index-50KxppUS.js} +4 -4
- package/dist/{Index-DJeZiYxr.js → Index-B7vVIRFn.js} +7 -7
- package/dist/{Index-ivhPuQy5.js → Index-BUQ75xOU.js} +6 -6
- package/dist/{Index-BUEXgHEE.js → Index-BVKCCkQY.js} +57 -50
- package/dist/{Index-BBTn35Kj.js → Index-BiGT3iEX.js} +21 -17
- package/dist/{Index-B-UWz1IM.js → Index-BoDKKVvL.js} +4 -4
- package/dist/{Index-DrSgVUyo.js → Index-BotY9nbP.js} +2 -2
- package/dist/{Index-B-YqdbQX.js → Index-BwaJW9CY.js} +3 -3
- package/dist/{Index-BepvyGqo.js → Index-ByqCyUgx.js} +9 -9
- package/dist/{Index-Bsv15ctO.js → Index-C7pge7E9.js} +23 -21
- package/dist/{Index-CEaZgZqg.js → Index-CBRJ-AZi.js} +2 -2
- package/dist/{Index-GrrsUUz1.js → Index-CFQMtx5w.js} +5 -5
- package/dist/{Index-CtQo0b8t.js → Index-CJKyHWiO.js} +15 -15
- package/dist/{Index-Dv1fkHWQ.js → Index-CK_5l1kP.js} +2 -2
- package/dist/{Index-BVt3pj58.js → Index-CLc_11Bc.js} +276 -232
- package/dist/{Index-cPIqnY80.js → Index-CTokKHJA.js} +5 -5
- package/dist/Index-Cf45UGbc.js +28 -0
- package/dist/{Index-B51tj7qY.js → Index-CfLPq-yA.js} +5 -5
- package/dist/{Index-B_ta4yT_.js → Index-Ci7y3O0G.js} +7 -7
- package/dist/{Index-ZKkQzVOj.js → Index-CmV8oF4Q.js} +4 -4
- package/dist/{Index-C6tGNKAk.js → Index-CoRuYEYW.js} +5 -5
- package/dist/Index-CtKNyVUB.js +56 -0
- package/dist/{Index-rL3fz1Ew.js → Index-DCf6_Zd2.js} +2 -2
- package/dist/{Index-CEHhYmLe.js → Index-DGdlZzVO.js} +7 -7
- package/dist/{Index-B5XaBVyJ.js → Index-DbKB8sTh.js} +18 -12
- package/dist/{Index-9PMrT3eB.js → Index-DgBOq2MJ.js} +3 -3
- package/dist/{Index-BBOJRRgx.js → Index-DvNxOHHu.js} +6 -6
- package/dist/{Index-DS7xellB.js → Index-M2Mce2_m.js} +124 -123
- package/dist/{Index-2PGn8Pnv.js → Index-QMkjG7hk.js} +4 -4
- package/dist/{Index-oKRUWCcJ.js → Index-QmX5pv-V.js} +17 -15
- package/dist/{Index-0aZtDWyk.js → Index-h5xDFYM9.js} +4 -4
- package/dist/{Index-CtZMlBfK.js → Index-hkGYloih.js} +5 -5
- package/dist/{Index-DK3b6Cv-.js → Index-q3gLm4b1.js} +6 -6
- package/dist/{Index-BQ3kapHk.js → Index-sqI1TF7Z.js} +2 -2
- package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-DLFIMIdx.js} +2 -2
- package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-Cf8DotlW.js} +13 -11
- package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-BgWmA3kS.js} +3 -3
- package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-DhsHxvkX.js} +2 -2
- package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-EbOSxv69.js} +26 -20
- package/dist/PdfTerms-im6uTd5E.js +31 -0
- package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-DY0rcZjo.js} +22 -22
- package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-o031pfp-.js} +1 -1
- package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-NdFa0Sqs.js} +15 -15
- package/dist/{SearchApi-knNqVduO.js → SearchApi-Bw5E9IPj.js} +2 -2
- package/dist/SendForm-BDY5VDkS.js +1023 -0
- package/dist/{Setup-7HIAWuiK.js → Setup-BsYqPmOm.js} +1 -1
- package/dist/{SmartList-cSmGbybV.js → SmartList-CP2wHig-.js} +1 -1
- package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-CUlSayCJ.js} +20 -13
- package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-D3fav4Sl.js} +14 -12
- package/dist/ToggleBinding-B715OVl2.js +42 -0
- package/dist/{UploadModal-CvoSMExA.js → UploadModal-THDJ-UNp.js} +6 -6
- package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
- package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
- package/dist/VideoSelectModal-CzO8EMg9.js +104 -0
- package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-D12xJRhx.js} +3 -3
- package/dist/{debounce-B2lqFJg2.js → debounce-DLiv1sQX.js} +16 -16
- package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-khaScuSu.js} +1 -1
- package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-CJ6kjaD_.js} +1 -1
- package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Bri1WflH.js} +1 -1
- package/dist/{index-Dk6sZCYv.js → index-B0Zu30kF.js} +2 -2
- package/dist/{index-twnaU4rC.js → index-C1Ngv-v3.js} +1 -1
- package/dist/{index-BCrDgR_4.js → index-CMT3coT-.js} +785 -2001
- package/dist/{index-H1Kx9sJM.js → index-DJOUQneq.js} +42 -38
- package/dist/{index-BaGtbWcA.js → index-DLa3QER7.js} +18 -17
- package/dist/{index-kV9OZ5y0.js → index-Dygy9XlG.js} +1 -1
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +179 -175
- package/dist/{main-CerYX9PA.js → main-U22_wtg0.js} +13008 -11358
- package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-BZf4RJIE.js} +1 -1
- package/dist/omit-RBXmF_Fo.js +31 -0
- package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-DKuvxj4_.js} +1 -1
- package/dist/regions-BdZt9Srn.js +1250 -0
- package/dist/simplebar.min-Bnrne5ZK.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{throttle-B8hI9bkk.js → throttle-Fkuqk26x.js} +2 -2
- package/dist/{tinycolor-BaK26Ky-.js → tinycolor-BZ8wGctU.js} +1 -1
- package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-BJe845c1.js} +246 -240
- package/dist/{utils-Pmm0DT8o.js → utils-BOWVR87A.js} +1 -1
- package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
- package/package.json +2 -11
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
- package/dist/CoverBlockSettings-7Ivt9zN0.js +0 -275
- package/dist/Flag-CwnrA4SV.js +0 -114
- package/dist/Index-B0pgh8nR.js +0 -21
- package/dist/Index-Ccx9wHcb.js +0 -52
- package/dist/PdfTerms-ChtDfzne.js +0 -36
- package/dist/ToggleBinding-CTTYdrkp.js +0 -38
- package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
- package/dist/formComponentsInstall-CdjgjI6y.js +0 -2495
- package/dist/omit-DGBewD2h.js +0 -31
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { a } from "./publicSenderState-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { a } from "./publicSenderState-DKuvxj4_.js";
|
|
2
|
+
import { C as s, a as r } from "./CDropdownItem-DiLisSei.js";
|
|
3
|
+
import { g as l, n as p } from "./main-U22_wtg0.js";
|
|
4
|
+
import { m as c, a as m } from "./vuex.esm-DKGl8mcw.js";
|
|
5
|
+
const u = {
|
|
5
6
|
name: "DocumentLogotype",
|
|
6
7
|
components: {
|
|
7
|
-
|
|
8
|
+
CDropdown: s,
|
|
9
|
+
CDropdownItem: r,
|
|
10
|
+
ImageUploadWrapper: () => import("./ImageUploadWrapper-CE6KTze0.js")
|
|
8
11
|
},
|
|
9
12
|
inject: {
|
|
10
13
|
viewSettings: {
|
|
@@ -33,7 +36,7 @@ const c = {
|
|
|
33
36
|
}
|
|
34
37
|
},
|
|
35
38
|
computed: {
|
|
36
|
-
...
|
|
39
|
+
...c({
|
|
37
40
|
isPosting: "companies/isPosting"
|
|
38
41
|
}),
|
|
39
42
|
logotype() {
|
|
@@ -41,8 +44,8 @@ const c = {
|
|
|
41
44
|
}
|
|
42
45
|
},
|
|
43
46
|
methods: {
|
|
44
|
-
...
|
|
45
|
-
updateCompany:
|
|
47
|
+
...m({
|
|
48
|
+
updateCompany: l.DO_UPDATE_CURRENT_COMPANY
|
|
46
49
|
}),
|
|
47
50
|
initUpload() {
|
|
48
51
|
this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
|
|
@@ -59,29 +62,31 @@ const c = {
|
|
|
59
62
|
}
|
|
60
63
|
}
|
|
61
64
|
};
|
|
62
|
-
var
|
|
65
|
+
var d = function() {
|
|
63
66
|
var t = this, o = t._self._c;
|
|
64
67
|
return t.viewSettings.canEdit ? o("ImageUploadWrapper", { ref: "uploadWrapper", staticStyle: { display: "inline-block", width: "fit-content", "will-change": "opacity", "z-index": "3" }, attrs: { "on-image-upload": t.setLogotype, "upload-options": { maxWidth: 500, maxHeight: 300 } }, scopedSlots: t._u([{ key: "default", fn: function({ progress: n }) {
|
|
65
68
|
return [o("CDropdown", { attrs: { position: "is-bottom-right" }, nativeOn: { click: function(i) {
|
|
66
69
|
i.stopPropagation();
|
|
67
|
-
} }
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
} }, scopedSlots: t._u([{ key: "trigger", fn: function() {
|
|
71
|
+
return [t.logotype && t.showLogo ? o("div", { staticClass: "logo", staticStyle: { "min-height": "35px" } }, [o("img", { staticClass: "hover:outline-primary-500 hover:outline hover:outline-2", attrs: { src: t.logotype, alt: "", width: "150" } })]) : o("CButton", { staticClass: "button-logo", style: !t.hasHover && {
|
|
72
|
+
visibility: "hidden",
|
|
73
|
+
pointerEvents: "none"
|
|
74
|
+
}, attrs: { loading: !!n && n < 100 || t.isPosting, type: "text", size: "normal", pattern: "secondary" } }, [t._v(" " + t._s(t.$t("_common:logo").capitalize()) + " ")])];
|
|
75
|
+
}, proxy: !0 }], null, !0) }, [o("CDropdownItem", { attrs: { value: t.showLogo, "close-on-click": !1, toggle: "" }, on: { input: function(i) {
|
|
71
76
|
return t.$emit("update:show-logo", i);
|
|
72
77
|
} } }, [t._v(" " + t._s(t.$t("_common:show", { thing: t.$t("_common:logotype") })) + " ")]), t.showLogo ? [o("CDropdownItem", { attrs: { separator: !0 } }), o("CDropdownItem", { on: { click: t.initUpload } }, [t._v(" " + t._s(t.$t("_common:change", { thing: t.$t("_common:logotype") })) + " ")]), o("CDropdownItem", { attrs: { disabled: !t.value }, on: { click: function(i) {
|
|
73
78
|
return t.$emit("input", "");
|
|
74
79
|
} } }, [t._v(" " + t._s(t.$t("_common:reset")) + " ")])] : t._e()], 2)];
|
|
75
|
-
} }], null, !1,
|
|
76
|
-
},
|
|
77
|
-
c,
|
|
78
|
-
m,
|
|
80
|
+
} }], null, !1, 4142946360) }) : t.showLogo ? o("div", { staticStyle: { display: "inline-block" } }, [o("img", { attrs: { src: t.logotype, alt: "", width: "150" } })]) : t._e();
|
|
81
|
+
}, g = [], y = /* @__PURE__ */ p(
|
|
79
82
|
u,
|
|
83
|
+
d,
|
|
84
|
+
g,
|
|
80
85
|
!1,
|
|
81
86
|
null,
|
|
82
|
-
"
|
|
87
|
+
"b1150b03"
|
|
83
88
|
);
|
|
84
|
-
const
|
|
89
|
+
const w = y.exports;
|
|
85
90
|
export {
|
|
86
|
-
|
|
91
|
+
w as default
|
|
87
92
|
};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { d } from "./
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { C as d } from "./CFormField-DcZVdj3a.js";
|
|
2
|
+
import { d as o } from "./debounce-DLiv1sQX.js";
|
|
3
|
+
import { b as l, n as m } from "./main-U22_wtg0.js";
|
|
4
|
+
const u = (t) => {
|
|
5
|
+
const i = new DOMParser().parseFromString(t, "text/html"), [s] = l(i, "body.children") || [];
|
|
6
|
+
return !s || s.tagName !== "IFRAME" ? {} : Array.from(s.attributes).reduce(
|
|
7
|
+
(a, { name: r, value: n }) => ({ ...a, [r]: n }),
|
|
7
8
|
{}
|
|
8
9
|
);
|
|
9
|
-
},
|
|
10
|
+
}, c = (t) => {
|
|
10
11
|
if (typeof t != "object" || !t)
|
|
11
12
|
return "";
|
|
12
13
|
const e = document.createElement("iframe");
|
|
13
14
|
return Object.keys(t).forEach((i) => e.setAttribute(i, t[i])), e.hasAttribute("src") ? e.outerHTML : "";
|
|
14
|
-
},
|
|
15
|
+
}, p = (t) => /^(?:https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/gi.test(
|
|
15
16
|
t
|
|
16
|
-
),
|
|
17
|
+
), f = {
|
|
17
18
|
name: "EmbedInput",
|
|
18
19
|
i18nOptions: {
|
|
19
20
|
namespaces: "embedInput",
|
|
@@ -36,6 +37,9 @@ const m = (t) => {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
},
|
|
40
|
+
components: {
|
|
41
|
+
CField: d
|
|
42
|
+
},
|
|
39
43
|
props: {
|
|
40
44
|
value: {
|
|
41
45
|
type: Object,
|
|
@@ -58,7 +62,7 @@ const m = (t) => {
|
|
|
58
62
|
},
|
|
59
63
|
validations() {
|
|
60
64
|
return {
|
|
61
|
-
embed: { isValid: (t) => t &&
|
|
65
|
+
embed: { isValid: (t) => t && p(t.src) }
|
|
62
66
|
};
|
|
63
67
|
},
|
|
64
68
|
computed: {
|
|
@@ -72,42 +76,42 @@ const m = (t) => {
|
|
|
72
76
|
value: {
|
|
73
77
|
immediate: !0,
|
|
74
78
|
handler(t) {
|
|
75
|
-
this.embed = Object.assign({}, t), this.iFrameTplString =
|
|
79
|
+
this.embed = Object.assign({}, t), this.iFrameTplString = c(this.embed);
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
82
|
},
|
|
79
83
|
methods: {
|
|
80
|
-
onInput:
|
|
84
|
+
onInput: o(function(e) {
|
|
81
85
|
this.$v.$reset(), e && this.validateInput(e);
|
|
82
86
|
}, 500),
|
|
83
87
|
async validateInput(t) {
|
|
84
|
-
this.isLoading = !0, this.embed = await
|
|
88
|
+
this.isLoading = !0, this.embed = await u(t), this.embed.src || (this.embed.src = t), this.$v.$invalid || this.$emit("input", this.embed), this.isLoading = !1, this.$v.$touch();
|
|
85
89
|
},
|
|
86
90
|
focus() {
|
|
87
91
|
this.$refs.input && this.$refs.input.focus();
|
|
88
92
|
}
|
|
89
93
|
}
|
|
90
94
|
};
|
|
91
|
-
var
|
|
95
|
+
var h = function() {
|
|
92
96
|
var e = this, i = e._self._c;
|
|
93
97
|
return i("CField", { style: e.isDrawerMode && {
|
|
94
98
|
display: "flex",
|
|
95
99
|
flexDirection: "column",
|
|
96
100
|
alignItems: "flex-start"
|
|
97
|
-
}, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(
|
|
98
|
-
e.iFrameTplString =
|
|
99
|
-
}, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(
|
|
101
|
+
}, attrs: { grouped: !e.isDrawerMode } }, [i("CField", { staticStyle: { width: "100%" }, attrs: { validator: e.$v.embed, messages: e.messages.embed, expanded: "" } }, [i("CInput", { ref: "input", attrs: { placeholder: e.inputPlaceholder, size: e.isDrawerMode ? "small" : void 0, loading: e.isLoading, filled: e.isDrawerMode, "auto-resize": !0, type: "textarea", expanded: "" }, on: { input: e.onInput }, model: { value: e.iFrameTplString, callback: function(s) {
|
|
102
|
+
e.iFrameTplString = s;
|
|
103
|
+
}, expression: "iFrameTplString" } })], 1), i("CButton", { attrs: { disabled: e.isLoading, size: e.isDrawerMode ? "small" : void 0, type: "secondary" }, on: { click: function(s) {
|
|
100
104
|
return e.validateInput(e.iFrameTplString);
|
|
101
105
|
} } }, [e._v(" " + e._s(e.$t("_common:add")) + " ")])], 1);
|
|
102
|
-
},
|
|
103
|
-
p,
|
|
106
|
+
}, b = [], w = /* @__PURE__ */ m(
|
|
104
107
|
f,
|
|
105
108
|
h,
|
|
109
|
+
b,
|
|
106
110
|
!1,
|
|
107
111
|
null,
|
|
108
112
|
null
|
|
109
113
|
);
|
|
110
|
-
const
|
|
114
|
+
const F = w.exports;
|
|
111
115
|
export {
|
|
112
|
-
|
|
116
|
+
F as default
|
|
113
117
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import n from "./
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { b as n } from "./CDropdownItem-DiLisSei.js";
|
|
2
|
+
import l from "./EmbedInput-CMueXdFs.js";
|
|
3
|
+
import { n as o } from "./main-U22_wtg0.js";
|
|
4
|
+
const r = {
|
|
4
5
|
i18nOptions: {
|
|
5
6
|
namespaces: "embedSettings",
|
|
6
7
|
messages: {
|
|
@@ -18,7 +19,8 @@ const o = {
|
|
|
18
19
|
},
|
|
19
20
|
name: "EmbedSettings",
|
|
20
21
|
components: {
|
|
21
|
-
EmbedInput:
|
|
22
|
+
EmbedInput: l,
|
|
23
|
+
CSwitch: n
|
|
22
24
|
},
|
|
23
25
|
props: {
|
|
24
26
|
value: {
|
|
@@ -49,24 +51,24 @@ const o = {
|
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
53
|
};
|
|
52
|
-
var
|
|
54
|
+
var d = function() {
|
|
53
55
|
var e = this, t = e._self._c;
|
|
54
56
|
return t("div", { staticClass: "d-root" }, [t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [e._v(e._s(e.$t("title").capitalize()))]), t("div", { staticClass: "text-gray-600", staticStyle: { "padding-bottom": "1em" } }, [e._v(" " + e._s(e.$t("subTitle")) + " ")]), t("EmbedInput", { attrs: { value: e.value, "is-drawer-mode": !0 }, on: { input: function(i) {
|
|
55
57
|
return e.$emit("input", i);
|
|
56
58
|
} } })], 1), t("div", { staticClass: "d-option" }, [t("div", { staticClass: "d-option-title" }, [t("div", { staticStyle: { flex: "1 1 auto" } }, [e._v(" " + e._s(e.$t("responsiveSize")) + " ")]), t("CSwitch", { staticStyle: { "margin-right": "0" }, attrs: { value: !!e.size, size: "small", type: "secondary" }, on: { input: (i) => e.$emit("update:size", i ? "small" : null) } })], 1), e.size ? t("div", { staticStyle: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" } }, e._l(e.sizeOptions, function({ value: i, svg: s }, a) {
|
|
57
|
-
return t("div", { key: a, staticClass: "size-option", on: { click: function(
|
|
59
|
+
return t("div", { key: a, staticClass: "size-option", on: { click: function(c) {
|
|
58
60
|
return e.$emit("update:size", i);
|
|
59
61
|
} } }, [t("svg", { staticClass: "size-option-image", class: { "is-active": e.size === i }, attrs: { viewBox: "0 0 99 65" }, domProps: { innerHTML: e._s(s) } })]);
|
|
60
62
|
}), 0) : e._e()])]);
|
|
61
|
-
},
|
|
62
|
-
o,
|
|
63
|
+
}, v = [], p = /* @__PURE__ */ o(
|
|
63
64
|
r,
|
|
64
65
|
d,
|
|
66
|
+
v,
|
|
65
67
|
!1,
|
|
66
68
|
null,
|
|
67
|
-
"
|
|
69
|
+
"82f950b0"
|
|
68
70
|
);
|
|
69
|
-
const
|
|
71
|
+
const g = p.exports;
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
g as default
|
|
72
74
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as c, y as l, x as a, n } from "./main-U22_wtg0.js";
|
|
2
2
|
const o = /* @__PURE__ */ c({
|
|
3
3
|
__name: "ErrorCallout",
|
|
4
4
|
props: {
|
|
5
5
|
message: null,
|
|
6
6
|
size: { default: "normal" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const s = l(), t =
|
|
8
|
+
setup(r) {
|
|
9
|
+
const s = l(), t = a(() => s.style), e = a(() => s.class);
|
|
10
10
|
return { __sfc: !0, attrs: s, staticStyle: t, staticClass: e };
|
|
11
11
|
}
|
|
12
12
|
});
|
|
@@ -19,9 +19,9 @@ var i = function() {
|
|
|
19
19
|
_,
|
|
20
20
|
!1,
|
|
21
21
|
null,
|
|
22
|
-
"
|
|
22
|
+
"abccd2a4"
|
|
23
23
|
);
|
|
24
|
-
const
|
|
24
|
+
const u = m.exports;
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
u as E
|
|
27
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as n } from "./PdfViewer-
|
|
2
|
-
import { n as o, S as r } from "./main-
|
|
1
|
+
import { V as n } from "./PdfViewer-DY0rcZjo.js";
|
|
2
|
+
import { n as o, S as r } from "./main-U22_wtg0.js";
|
|
3
3
|
const a = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
@@ -73,7 +73,7 @@ var l = function() {
|
|
|
73
73
|
d,
|
|
74
74
|
!1,
|
|
75
75
|
null,
|
|
76
|
-
"
|
|
76
|
+
"677d587e"
|
|
77
77
|
);
|
|
78
78
|
const p = c.exports;
|
|
79
79
|
export {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { n as r } from "./main-U22_wtg0.js";
|
|
2
|
+
const i = {
|
|
3
|
+
name: "FlagIcon",
|
|
4
|
+
props: {
|
|
5
|
+
region: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: null
|
|
8
|
+
},
|
|
9
|
+
title: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
isSquared: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
mounted() {
|
|
19
|
+
var a, l;
|
|
20
|
+
const n = "FLAG_ICONS", e = (l = (a = this.$el).getRootNode) == null ? void 0 : l.call(a), o = (e == null ? void 0 : e.toString()) === "[object ShadowRoot]" ? e : document.head;
|
|
21
|
+
if (o.querySelector(`#${n}`))
|
|
22
|
+
return;
|
|
23
|
+
const t = document.createElement("link");
|
|
24
|
+
t.id = n, t.rel = "stylesheet", t.type = "text/css", t.href = "https://www.unpkg.com/flag-icons@6.6.6/css/flag-icons.min.css", t.media = "all", o.appendChild(t);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var c = function() {
|
|
28
|
+
var e = this, s = e._self._c;
|
|
29
|
+
return e.region ? s("span", { staticClass: "fi", class: [
|
|
30
|
+
`fi-${e.region.toLowerCase()}`,
|
|
31
|
+
{
|
|
32
|
+
fis: e.isSquared
|
|
33
|
+
}
|
|
34
|
+
], attrs: { title: e.title || e.region } }) : e._e();
|
|
35
|
+
}, d = [], f = /* @__PURE__ */ r(
|
|
36
|
+
i,
|
|
37
|
+
c,
|
|
38
|
+
d,
|
|
39
|
+
!1,
|
|
40
|
+
null,
|
|
41
|
+
null
|
|
42
|
+
);
|
|
43
|
+
const u = f.exports;
|
|
44
|
+
export {
|
|
45
|
+
u as F
|
|
46
|
+
};
|