@cling-se/widget 0.21.4 → 0.22.2
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/CHANGELOG.md +22 -0
- package/dist/{AddClientCallout-BjeE7RY6.js → AddClientCallout-CtfDZ5iE.js} +7 -7
- package/dist/{AnswerModal-BLo3hOrK.js → AnswerModal-DER90JgH.js} +935 -651
- package/dist/{AttachmentItem-B4T7akns.js → AttachmentItem-CFxoxFwU.js} +9 -9
- package/dist/{BaseUpload-B-_Rpir0.js → BaseUpload-D3vsnEbC.js} +2 -2
- package/dist/{BlockMedia-szLlyTVn.js → BlockMedia-CrmRCTpi.js} +1 -1
- package/dist/{CCallout-wp8bWld3.js → CCallout-B86E6HJd.js} +5 -5
- package/dist/{CCurrencyDropdown-CH0M7LFZ.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
- package/dist/{CDropdownItem-llOP71-u.js → CDropdownItem-BU65rYaX.js} +8 -8
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B2c0pGnW.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +13 -13
- package/dist/{CPhoneFormat-BqLsCDaG.js → CPhoneFormat-CSys3pPM.js} +1 -1
- package/dist/{CPhoneInput-DDnmhr17.js → CPhoneInput-hF_VGitf.js} +5 -5
- package/dist/{CPriceInput-eaRaU9Ey.js → CPriceInput-CLM3EzaL.js} +2 -2
- package/dist/{CSelect-DDYAe8O9.js → CSelect-DsoRaNYd.js} +5 -5
- package/dist/{CSkeleton-BORdEFf8.js → CSkeleton-B0wL3--W.js} +7 -7
- package/dist/{ClientAutocomplete-DAwttq8D.js → ClientAutocomplete-qkpa-KG_.js} +16 -16
- package/dist/{ClientModal-C3UbUFjz.js → ClientModal-BHUD-VYM.js} +135 -127
- package/dist/{ColorPicker-D4Y4g8RF.js → ColorPicker-uVefUdOd.js} +21 -21
- package/dist/{CompanyModal-BvzLn9gU.js → CompanyModal-C38jvSZX.js} +66 -67
- package/dist/{ContentWrapper-oh1FnZea.js → ContentWrapper-Du0rszAK.js} +15 -15
- package/dist/{CoverBlockSettings-CW7PisRO.js → CoverBlockSettings-DqKNt5cM.js} +19 -19
- package/dist/{DocAnswer-scOVyvez.js → DocAnswer-Bm6FQnu7.js} +2 -2
- package/dist/{DocDetails-BKudQ3RU.js → DocDetails-Cg1EQ2xc.js} +100 -94
- package/dist/{DocForm-YI0UG4lv.js → DocForm-DUjeY7qQ.js} +440 -438
- package/dist/{DocFormSend-DK7zxycs.js → DocFormSend-B8x93Oo_.js} +2 -2
- package/dist/{DocLinks-CPhh8hox.js → DocLinks-bnZCCfQJ.js} +2 -2
- package/dist/{DocModalBase-C7vrvkFq.js → DocModalBase-CwuAA5_c.js} +1 -1
- package/dist/{DocPrint-tfB_Hw8V.js → DocPrint-DkmwNCYi.js} +9 -9
- package/dist/{DocReceipt-DoWB1suw.js → DocReceipt-BzrwYz7z.js} +111 -81
- package/dist/{DocSendReminder-DcezTbmh.js → DocSendReminder--ZuTWwRa.js} +1 -1
- package/dist/{DocTextEditor-Ci_Wegua.js → DocTextEditor-CblX6a9b.js} +8 -8
- package/dist/{DocTimeline-DwZyNRtc.js → DocTimeline-C3cx2eIz.js} +6 -6
- package/dist/{DocumentClient-BZPHT4vS.js → DocumentClient-B9yEPQ1U.js} +5 -5
- package/dist/{DocumentLayout-DwifYYit.js → DocumentLayout-BMgU3m7Q.js} +32 -32
- package/dist/{DocumentLogotype-D6DPT-i9.js → DocumentLogotype-BBA1HLK3.js} +31 -34
- package/dist/{DocumentVoided--b4zfli2.js → DocumentVoided-AL_vXoWD.js} +1 -1
- package/dist/{EmbedInput-DmAlziaD.js → EmbedInput-BHy9NMjl.js} +18 -18
- package/dist/{EmbedSettings-DZuM3vpE.js → EmbedSettings-DwcY0r8D.js} +5 -5
- package/dist/{ErrorCallout-DT3qQJOP.js → ErrorCallout-DKV9zW1H.js} +4 -4
- package/dist/{FilePreviewModal-BuPbzrFy.js → FilePreviewModal-DEoFvxri.js} +2 -2
- package/dist/{Flag-U3wm6frF.js → Flag-BZ7C12iN.js} +1 -1
- package/dist/{HeaderSettings-CC5rJ-UY.js → HeaderSettings-Bsj1JZNt.js} +20 -20
- package/dist/{ImageSelectModal-BiWCVyYs.js → ImageSelectModal-Dd9le6p5.js} +3 -3
- package/dist/{ImageUploadWrapper-CLJwtgVQ.js → ImageUploadWrapper-DY9TKhpB.js} +23 -23
- package/dist/{Index-DZzmEObV.js → Index-4ZB096MF.js} +9 -9
- package/dist/{Index-B0js1lQ9.js → Index-B1HU3FW8.js} +11 -11
- package/dist/{Index-hzFkpPtu.js → Index-B3S-W2Du.js} +26 -26
- package/dist/{Index-cb83jmmP.js → Index-B8v_k79U.js} +4 -4
- package/dist/{Index-jCDreJV4.js → Index-BPua2gSJ.js} +5 -5
- package/dist/{Index-UkLmXQf7.js → Index-BSDQejtT.js} +10 -10
- package/dist/{Index-Bh58_V98.js → Index-BW4sv9So.js} +5 -5
- package/dist/{Index-gZpXuLSM.js → Index-BWog4DkS.js} +2 -2
- package/dist/{Index-DIfpkUtR.js → Index-BZ5ZfAMl.js} +8 -8
- package/dist/Index-BfMZgBeX.js +4 -0
- package/dist/{Index-BBnlZtoe.js → Index-Bx8Dt9rr.js} +5 -5
- package/dist/{Index-BQUdVuCj.js → Index-C9W7656O.js} +8 -8
- package/dist/{Index-DwAyOR71.js → Index-CB7F-c3z.js} +3 -3
- package/dist/{Index-ZNidoNys.js → Index-CEg8sUf6.js} +2 -2
- package/dist/{Index-z6FhBfRg.js → Index-CEm7_7xb.js} +2 -2
- package/dist/{Index-011UWI-5.js → Index-CGDHE6Q9.js} +3 -3
- package/dist/{Index-Dmd9h-QW.js → Index-CadObAqC.js} +3 -3
- package/dist/{Index-C-Y_FGIG.js → Index-Cazuortx.js} +30 -30
- package/dist/{Index-BPE5xozF.js → Index-Cfh_uoVu.js} +1 -1
- package/dist/{Index-D8T4ZAGK.js → Index-D9S6btwh.js} +4 -4
- package/dist/{Index-BOxSyAOT.js → Index-DCeSSD89.js} +4 -4
- package/dist/{Index-C8tXlpnc.js → Index-DLzhjgNh.js} +4 -4
- package/dist/{Index-BbINQ0SU.js → Index-Da3NMw99.js} +1 -1
- package/dist/{Index-06RLiHU7.js → Index-DiQG7Yys.js} +8 -8
- package/dist/{Index-DND_3eOV.js → Index-DkuudM32.js} +14 -14
- package/dist/{Index-C6eCTYlb.js → Index-DpNsBSK5.js} +7 -7
- package/dist/{Index-BNrnEteM.js → Index-DsAM46X9.js} +6 -6
- package/dist/{Index-BZ3G8u4L.js → Index-IOHmUaDV.js} +16 -16
- package/dist/{Index-HpvIqyQK.js → Index-N95Kg_Bu.js} +4 -4
- package/dist/Index-T8YnqXUP.js +106 -0
- package/dist/{Index-C9yjlO_o.js → Index-bSfn5DlT.js} +13 -13
- package/dist/{Index-AOzEiDJ6.js → Index-hOzI3WwH.js} +2 -2
- package/dist/{Index-Lr-w-2nq.js → Index-lxyzCTwv.js} +28 -28
- package/dist/{Index-DspgGnIy.js → Index-usMDK34R.js} +6 -6
- package/dist/{Index.vue_vue_type_script_lang-FRTEgjSK.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
- package/dist/{InputToggleRow-DrAFt_YF.js → InputToggleRow-DX08yhB8.js} +9 -9
- package/dist/{ManualPopover-BZr_lfqJ.js → ManualPopover-DjkDQLEk.js} +3 -3
- package/dist/{MediaWrapper-CuCltxOM.js → MediaWrapper-BRDS1uEY.js} +3 -3
- package/dist/{NotBindingText-D6QNyf03.js → NotBindingText-gttVLkSY.js} +2 -2
- package/dist/{PackageGroup-DonphykF.js → PackageGroup-DqCNizOl.js} +10 -10
- package/dist/{PdfTerms-BRwmINkR.js → PdfTerms-9EF-oTZV.js} +4 -4
- package/dist/{PdfViewer-DpmlfAfl.js → PdfViewer-fgokwyxy.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BeenXnHV.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
- package/dist/{PriceHeader-Cdh8apAZ.js → PriceHeader-DBiTZGL4.js} +25 -25
- package/dist/{SearchApi-B2ED3FdK.js → SearchApi-DP2NKS7Z.js} +1 -1
- package/dist/{SendForm-Bz1AN65o.js → SendForm-Dx-meiU3.js} +451 -421
- package/dist/{Setup-BIa-5REE.js → Setup-KZckFxmn.js} +1 -1
- package/dist/{SmartList-C9DXNnNX.js → SmartList-C7tf3UFs.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DPxTkygS.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +35 -35
- package/dist/{TermsSettings-BQC-y2g4.js → TermsSettings-O43bydwI.js} +11 -11
- package/dist/{ThemeColorRow-B1L2qfGx.js → ThemeColorRow-BiIviRnJ.js} +5 -5
- package/dist/{ToggleBinding-C2ct7wmC.js → ToggleBinding-DNh6J5WO.js} +4 -4
- package/dist/{UploadModal-CCy7i-cN.js → UploadModal-BLnwHEtM.js} +2 -2
- package/dist/{VideoPlayerInput-BluC_uCy.js → VideoPlayerInput-CDSsWKbt.js} +6 -6
- package/dist/{VideoPlayerSettings-DvoFmiks.js → VideoPlayerSettings-9e0rWXBn.js} +6 -6
- package/dist/{VideoSelectModal-yfI6keDu.js → VideoSelectModal-DdmGQUJs.js} +9 -9
- package/dist/{focusDrawerMixin-BS0v03Pf.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
- package/dist/{formDrawerState-DNNzOR3a.js → formDrawerState-VO67JhNj.js} +1 -1
- package/dist/{fortnoxTheme-DbdQ_k4_.js → fortnoxTheme-C6LfSfkU.js} +1 -1
- package/dist/{helpers-vOT4bDZk.js → helpers-DdvMGJyI.js} +1 -1
- package/dist/{index-aqgR0F9F.js → index--tMYYuEo.js} +30 -30
- package/dist/{index-C_k-2pHu.js → index-BtdoM5zU.js} +7 -7
- package/dist/{index-BinehglS.js → index-C6t6B42B.js} +26 -25
- package/dist/{index-DIxSHthq.js → index-CYrm4Bbf.js} +1 -1
- package/dist/{index-DSDwk2v_.js → index-Cn5TO9wL.js} +6 -6
- package/dist/{index-Cm9MF5Ro.js → index-DrxPFi0q.js} +22 -22
- package/dist/{index-BtZlk67X.js → index-SreRcZHY.js} +13 -13
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +151 -149
- package/dist/{main-CCA1EgK_.js → main-BI2UvBxx.js} +8359 -8142
- package/dist/{mapFormMixin-DarsdTYn.js → mapFormMixin-DmIyfVCN.js} +2 -2
- package/dist/omit-FBv_EXqi.js +56 -0
- package/dist/{splitpanes-B5GGsG65.js → splitpanes-CpTZw8TJ.js} +1 -1
- package/dist/{template-BTmi3cQk.js → template-B4OhhS85.js} +1 -1
- package/dist/{tippy.esm-Cc-sUEuY.js → tippy.esm-D5nfFX7g.js} +66 -66
- package/dist/{useTermsModal-CdnGQsw8.js → useTermsModal-CvdV0cT0.js} +4 -4
- package/dist/{utils-DLVtsRRz.js → utils-Blt-S487.js} +1 -1
- package/dist/validation-ZZ0eQUj2.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-1MRJMA0V.js +0 -4
- package/dist/Index-DGkk540X.js +0 -87
- package/dist/omit-sqUJ46Re.js +0 -56
- package/dist/publicSenderState-CSYveOTQ.js +0 -21
- package/dist/validation-DGxGtXMe.js +0 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a7 as S,
|
|
2
|
-
import "./template-
|
|
3
|
-
import { C as ye, a as he } from "./CDropdownItem-
|
|
4
|
-
import "./helpers-
|
|
1
|
+
import { a7 as S, B as x, d as g, o as u, j as B, X as w, _ as I, p as J, k as N, b$ as X, n as A, c0 as E, b, c as v, e as L, w as y, F, q as V, T as $, ap as O, i as Z, A as ee, a4 as te, E as R, s as P, t as p, J as k, r as oe, a6 as ne, aA as ae, I as _, c1 as se, bt as le, bu as re, c2 as ie, U as j, Y as ce, a2 as ue, f as C, c3 as de, c4 as me, a3 as pe, y as fe } from "./main-BI2UvBxx.js";
|
|
2
|
+
import "./template-B4OhhS85.js";
|
|
3
|
+
import { C as ye, a as he } from "./CDropdownItem-BU65rYaX.js";
|
|
4
|
+
import "./helpers-DdvMGJyI.js";
|
|
5
5
|
const ve = (e, t, o) => {
|
|
6
6
|
const n = e[t];
|
|
7
7
|
return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((s, a) => {
|
|
@@ -26,12 +26,12 @@ const ve = (e, t, o) => {
|
|
|
26
26
|
n[0] || (n[0] = B("div", { class: "c-loading-body" }, null, -1))
|
|
27
27
|
]));
|
|
28
28
|
}
|
|
29
|
-
}),
|
|
29
|
+
}), W = /* @__PURE__ */ I(be, [["__scopeId", "data-v-70f204ee"]]), q = (e) => {
|
|
30
30
|
const t = Symbol(e);
|
|
31
|
-
return [(s) =>
|
|
31
|
+
return [(s) => J(t, s), (s) => N(t, s), t];
|
|
32
32
|
}, [_e, ke] = q("DocumentWidth"), [xe, tt] = q("DocumentHeight");
|
|
33
33
|
function we(e) {
|
|
34
|
-
const { width: t, height: o } =
|
|
34
|
+
const { width: t, height: o } = X(e);
|
|
35
35
|
return _e(t), xe(o), { width: t, height: o };
|
|
36
36
|
}
|
|
37
37
|
function Ie() {
|
|
@@ -40,8 +40,8 @@ function Ie() {
|
|
|
40
40
|
const Ce = {
|
|
41
41
|
name: "DynamicChapter",
|
|
42
42
|
components: {
|
|
43
|
-
DynamicChapter:
|
|
44
|
-
LoadingBlock:
|
|
43
|
+
DynamicChapter: A(() => Promise.resolve().then(() => Pe)),
|
|
44
|
+
LoadingBlock: W
|
|
45
45
|
},
|
|
46
46
|
provide() {
|
|
47
47
|
return this.level !== 0 ? {} : {
|
|
@@ -104,12 +104,12 @@ const Ce = {
|
|
|
104
104
|
},
|
|
105
105
|
data() {
|
|
106
106
|
return {
|
|
107
|
-
component:
|
|
107
|
+
component: E(W)
|
|
108
108
|
};
|
|
109
109
|
},
|
|
110
110
|
computed: {
|
|
111
111
|
loader() {
|
|
112
|
-
return () => ve(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-
|
|
112
|
+
return () => ve(/* @__PURE__ */ Object.assign({ "../blocks/answer/Index.vue": () => import("./Index-B3S-W2Du.js"), "../blocks/attachments/Index.vue": () => import("./Index-DiQG7Yys.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-BSDQejtT.js"), "../blocks/custom/Index.vue": () => import("./Index-B1HU3FW8.js"), "../blocks/docChapter/Index.vue": () => import("./Index-CEg8sUf6.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-DpNsBSK5.js"), "../blocks/docParties/Index.vue": () => import("./Index-bSfn5DlT.js"), "../blocks/embed/Index.vue": () => import("./Index-BW4sv9So.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-BPua2gSJ.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-B8v_k79U.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-N95Kg_Bu.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-DsAM46X9.js"), "../blocks/header/Index.vue": () => import("./Index-lxyzCTwv.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-Cfh_uoVu.js"), "../blocks/notBinding/Index.vue": () => import("./Index-DCeSSD89.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-C9W7656O.js"), "../blocks/pdf/Index.vue": () => import("./Index-BZ5ZfAMl.js"), "../blocks/presentation/Index.vue": () => import("./Index-IOHmUaDV.js"), "../blocks/terms/Index.vue": () => import("./Index-T8YnqXUP.js"), "../blocks/textContent/Index.vue": () => import("./Index-CB7F-c3z.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-DkuudM32.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-CGDHE6Q9.js") }), `../blocks/${this.componentName}/Index.vue`, 4);
|
|
113
113
|
},
|
|
114
114
|
isPdfPrintAndPdfBlock() {
|
|
115
115
|
var e, t;
|
|
@@ -122,7 +122,7 @@ const Ce = {
|
|
|
122
122
|
},
|
|
123
123
|
mounted() {
|
|
124
124
|
this.loader().then(() => {
|
|
125
|
-
this.component = A(
|
|
125
|
+
this.component = E(A(() => this.loader()));
|
|
126
126
|
}).catch((e) => {
|
|
127
127
|
console.log(e);
|
|
128
128
|
});
|
|
@@ -179,20 +179,20 @@ const G = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.f
|
|
|
179
179
|
700: { label: "Bold", value: "700" },
|
|
180
180
|
800: { label: "Extra Bold", value: "800" },
|
|
181
181
|
900: { label: "Black", value: "900" }
|
|
182
|
-
},
|
|
183
|
-
const o = document.getElementById(
|
|
182
|
+
}, U = (e) => `font-${e.replace(/\s+/g, "-").toLowerCase()}`, Fe = (e, t = !1) => {
|
|
183
|
+
const o = document.getElementById(U(e));
|
|
184
184
|
return o !== null && o.getAttribute(Q) === t.toString();
|
|
185
185
|
}, Ve = (e, t = !1) => {
|
|
186
186
|
const o = document.head || document.getElementsByTagName("head")[0], n = document.createElement("link");
|
|
187
|
-
n.id =
|
|
187
|
+
n.id = U(e), n.setAttribute("rel", "stylesheet"), n.setAttribute(Q, t.toString());
|
|
188
188
|
let s = `${Le}?family=${e.replace(/\s/gi, "+")}`;
|
|
189
189
|
return t ? s += `&text=${e}` : s += ":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic", s += "&display=swap", n.setAttribute("href", s), o.appendChild(n), n;
|
|
190
|
-
},
|
|
190
|
+
}, z = (e, t = !1) => {
|
|
191
191
|
e && !Fe(e, t) && Ve(e, t);
|
|
192
192
|
}, H = (e = {}) => {
|
|
193
193
|
if (!(typeof e != "object" || !e))
|
|
194
194
|
for (const t in e)
|
|
195
|
-
t === "fontFamily" ?
|
|
195
|
+
t === "fontFamily" ? z(e[t]) : typeof e[t] == "object" && H(e[t]);
|
|
196
196
|
}, K = /* @__PURE__ */ S({
|
|
197
197
|
__name: "FontDropdownItem",
|
|
198
198
|
props: {
|
|
@@ -209,7 +209,7 @@ const G = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.f
|
|
|
209
209
|
fontFamily: `'${t.source.family}'`
|
|
210
210
|
}), a = ee();
|
|
211
211
|
return a && (o.value = n(a.proxy, "CDropdown")), te(() => {
|
|
212
|
-
|
|
212
|
+
z(t.source.family, !0);
|
|
213
213
|
}), R(
|
|
214
214
|
() => t.source,
|
|
215
215
|
(l) => {
|
|
@@ -256,11 +256,11 @@ m.load = async () => {
|
|
|
256
256
|
m.list = await Oe(), m.fetchedAt = Date.now(), e(!1);
|
|
257
257
|
}), await m.loading);
|
|
258
258
|
};
|
|
259
|
-
const
|
|
259
|
+
const Y = (e = []) => (e || []).filter((t) => !!M[t]).map((t) => M[t]), ot = async (e) => {
|
|
260
260
|
if (!e || typeof e != "string") return {};
|
|
261
261
|
!m.list.length && !m.error && await m.load();
|
|
262
262
|
const { variants: t } = m.list.find((o) => o.family === e) || {};
|
|
263
|
-
return
|
|
263
|
+
return Y(t || []);
|
|
264
264
|
}, je = /* @__PURE__ */ S({
|
|
265
265
|
__name: "VirtualFontsList",
|
|
266
266
|
props: {
|
|
@@ -338,7 +338,7 @@ const J = (e = []) => (e || []).filter((t) => !!M[t]).map((t) => M[t]), ot = asy
|
|
|
338
338
|
set(e) {
|
|
339
339
|
const { family: t, variants: o = [] } = e || {};
|
|
340
340
|
let { weight: n = "400" } = this.modelValue || {};
|
|
341
|
-
const s =
|
|
341
|
+
const s = Y(o), a = s.map((l) => l.value);
|
|
342
342
|
a.length && !a.includes(`${n}`) && (n = a.reduce(
|
|
343
343
|
(l, i) => Math.abs(i - n) < Math.abs(l - n) ? i : l
|
|
344
344
|
)), this.$emit("update:modelValue", {
|
|
@@ -366,7 +366,7 @@ const J = (e = []) => (e || []).filter((t) => !!M[t]).map((t) => M[t]), ot = asy
|
|
|
366
366
|
m.load();
|
|
367
367
|
}
|
|
368
368
|
};
|
|
369
|
-
function
|
|
369
|
+
function Ae(e, t, o, n, s, a) {
|
|
370
370
|
const l = b("CButton"), i = b("CInput"), r = b("VirtualFontsList"), c = b("CDropdown");
|
|
371
371
|
return u(), v(c, $({
|
|
372
372
|
position: "is-bottom-left",
|
|
@@ -422,9 +422,9 @@ function We(e, t, o, n, s, a) {
|
|
|
422
422
|
_: 3
|
|
423
423
|
}, 16, ["modelValue", "size", "disabled", "max-height"]);
|
|
424
424
|
}
|
|
425
|
-
const nt = /* @__PURE__ */ I(Te, [["render",
|
|
425
|
+
const nt = /* @__PURE__ */ I(Te, [["render", Ae]]), T = de(me), at = T.smallerOrEqual("sm"), Ee = T.between("md", "lg"), We = T.greaterOrEqual("lg");
|
|
426
426
|
_(
|
|
427
|
-
() =>
|
|
427
|
+
() => Ee.value || We.value
|
|
428
428
|
);
|
|
429
429
|
function Me({
|
|
430
430
|
minWidthPx: e,
|
|
@@ -485,7 +485,7 @@ function Ge(e, t, o, n, s, a) {
|
|
|
485
485
|
_: 1
|
|
486
486
|
})) : L("", !0);
|
|
487
487
|
}
|
|
488
|
-
const Qe = /* @__PURE__ */ I(qe, [["render", Ge]]),
|
|
488
|
+
const Qe = /* @__PURE__ */ I(qe, [["render", Ge]]), Ue = /* @__PURE__ */ S({
|
|
489
489
|
__name: "DocumentStyleContainer",
|
|
490
490
|
props: {
|
|
491
491
|
inputStyle: {}
|
|
@@ -532,11 +532,11 @@ const Qe = /* @__PURE__ */ I(qe, [["render", Ge]]), ze = /* @__PURE__ */ S({
|
|
|
532
532
|
j(h.$slots, "default")
|
|
533
533
|
], 6));
|
|
534
534
|
}
|
|
535
|
-
}),
|
|
535
|
+
}), ze = {
|
|
536
536
|
name: "DocumentLayout",
|
|
537
537
|
components: {
|
|
538
538
|
DynamicChapter: G,
|
|
539
|
-
DocumentStyleContainer:
|
|
539
|
+
DocumentStyleContainer: Ue
|
|
540
540
|
},
|
|
541
541
|
props: {
|
|
542
542
|
document: {
|
|
@@ -578,18 +578,18 @@ function Ke(e, t, o, n, s, a) {
|
|
|
578
578
|
}, 8, ["input-style"])
|
|
579
579
|
]);
|
|
580
580
|
}
|
|
581
|
-
const
|
|
581
|
+
const Ye = /* @__PURE__ */ I(ze, [["render", Ke]]), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
582
582
|
__proto__: null,
|
|
583
|
-
default:
|
|
583
|
+
default: Ye
|
|
584
584
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
585
585
|
export {
|
|
586
|
-
|
|
586
|
+
Ye as D,
|
|
587
587
|
nt as F,
|
|
588
|
-
|
|
588
|
+
Ue as _,
|
|
589
589
|
G as a,
|
|
590
590
|
st as b,
|
|
591
591
|
ot as g,
|
|
592
592
|
at as i,
|
|
593
|
-
|
|
593
|
+
z as l,
|
|
594
594
|
Ie as u
|
|
595
595
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as
|
|
3
|
-
import { _ as v, m as b, a as k, l as L, b as d, d as p, e as u, o as i, f as n, w as s, q as r, t as m, F as D, c as I, j as g, W as P, g as V } from "./main-CCA1EgK_.js";
|
|
1
|
+
import { C as _, a as w } from "./CDropdownItem-BU65rYaX.js";
|
|
2
|
+
import { _ as C, m as v, a as k, n as L, b as d, d as p, e as u, o as l, f as n, w as s, s as r, t as m, F as b, c as D, j as g, X as I, g as V } from "./main-BI2UvBxx.js";
|
|
4
3
|
const B = {
|
|
5
4
|
name: "DocumentLogotype",
|
|
6
5
|
components: {
|
|
7
|
-
CDropdown:
|
|
8
|
-
CDropdownItem:
|
|
6
|
+
CDropdown: w,
|
|
7
|
+
CDropdownItem: _,
|
|
9
8
|
ImageUploadWrapper: L(
|
|
10
|
-
() => import("./ImageUploadWrapper-
|
|
9
|
+
() => import("./ImageUploadWrapper-DY9TKhpB.js")
|
|
11
10
|
)
|
|
12
11
|
},
|
|
13
12
|
inject: {
|
|
@@ -46,48 +45,46 @@ const B = {
|
|
|
46
45
|
}
|
|
47
46
|
},
|
|
48
47
|
methods: {
|
|
49
|
-
...
|
|
48
|
+
...v({
|
|
50
49
|
updateCompany: V.DO_UPDATE_CURRENT_COMPANY
|
|
51
50
|
}),
|
|
52
51
|
initUpload() {
|
|
53
52
|
this.$refs.uploadWrapper && this.$refs.uploadWrapper.onClick();
|
|
54
53
|
},
|
|
55
54
|
async setLogotype({ response: o }) {
|
|
56
|
-
const { publicId:
|
|
57
|
-
|
|
55
|
+
const { publicId: t, url: e } = o || {};
|
|
56
|
+
e && this.$emit("update:modelValue", e), !this.companyLogotype && t && await this.postLogo(t);
|
|
58
57
|
},
|
|
59
58
|
async postLogo(o) {
|
|
60
|
-
|
|
61
|
-
const e = { LogotypePublicId: o };
|
|
62
|
-
this.viewSettings.isPublicForm ? _({ company: e }) : await this.updateCompany({ body: e });
|
|
59
|
+
this.isPosting || await this.updateCompany({ body: { LogotypePublicId: o } });
|
|
63
60
|
}
|
|
64
61
|
}
|
|
65
|
-
},
|
|
62
|
+
}, P = {
|
|
66
63
|
key: 0,
|
|
67
64
|
style: { display: "inline-block", width: "fit-content", "will-change": "opacity", "z-index": "3" }
|
|
68
|
-
},
|
|
65
|
+
}, U = {
|
|
69
66
|
key: 0,
|
|
70
67
|
class: "logo",
|
|
71
68
|
style: { "min-height": "35px" }
|
|
72
|
-
},
|
|
69
|
+
}, W = ["src"], E = {
|
|
73
70
|
key: 1,
|
|
74
71
|
style: { display: "inline-block" }
|
|
75
72
|
}, N = ["src"];
|
|
76
|
-
function
|
|
77
|
-
const y = d("CButton"),
|
|
78
|
-
return a.viewSettings.canEdit ? (
|
|
73
|
+
function S(o, t, e, z, A, a) {
|
|
74
|
+
const y = d("CButton"), i = d("CDropdownItem"), h = d("CDropdown"), f = d("ImageUploadWrapper");
|
|
75
|
+
return a.viewSettings.canEdit ? (l(), p("div", P, [
|
|
79
76
|
n(h, { position: "is-bottom-right" }, {
|
|
80
77
|
trigger: s(() => [
|
|
81
|
-
a.logotype &&
|
|
78
|
+
a.logotype && e.showLogo ? (l(), p("div", U, [
|
|
82
79
|
g("img", {
|
|
83
80
|
src: a.logotype,
|
|
84
81
|
alt: "",
|
|
85
82
|
width: "150",
|
|
86
83
|
class: "hover:outline-primary-500 hover:outline hover:outline-2"
|
|
87
|
-
}, null, 8,
|
|
88
|
-
])) : (
|
|
84
|
+
}, null, 8, W)
|
|
85
|
+
])) : (l(), D(y, {
|
|
89
86
|
key: 1,
|
|
90
|
-
style:
|
|
87
|
+
style: I(!e.hasHover && { visibility: "hidden", pointerEvents: "none" }),
|
|
91
88
|
loading: o.isPosting,
|
|
92
89
|
type: "text",
|
|
93
90
|
size: "normal",
|
|
@@ -101,28 +98,28 @@ function z(o, e, t, A, F, a) {
|
|
|
101
98
|
}, 8, ["style", "loading"]))
|
|
102
99
|
]),
|
|
103
100
|
default: s(() => [
|
|
104
|
-
n(
|
|
105
|
-
value:
|
|
101
|
+
n(i, {
|
|
102
|
+
value: e.showLogo,
|
|
106
103
|
"close-on-click": !1,
|
|
107
104
|
toggle: "",
|
|
108
|
-
onInput:
|
|
105
|
+
onInput: t[0] || (t[0] = (c) => o.$emit("update:show-logo", c))
|
|
109
106
|
}, {
|
|
110
107
|
default: s(() => [
|
|
111
108
|
r(m(o.$t("_common:show", { thing: o.$t("_common:logotype") })), 1)
|
|
112
109
|
]),
|
|
113
110
|
_: 1
|
|
114
111
|
}, 8, ["value"]),
|
|
115
|
-
|
|
116
|
-
n(
|
|
117
|
-
n(
|
|
112
|
+
e.showLogo ? (l(), p(b, { key: 0 }, [
|
|
113
|
+
n(i, { separator: !0 }),
|
|
114
|
+
n(i, { onClick: a.initUpload }, {
|
|
118
115
|
default: s(() => [
|
|
119
116
|
r(m(o.$t("_common:change", { thing: o.$t("_common:logotype") })), 1)
|
|
120
117
|
]),
|
|
121
118
|
_: 1
|
|
122
119
|
}, 8, ["onClick"]),
|
|
123
|
-
n(
|
|
124
|
-
disabled: !
|
|
125
|
-
onClick:
|
|
120
|
+
n(i, {
|
|
121
|
+
disabled: !e.modelValue,
|
|
122
|
+
onClick: t[1] || (t[1] = (c) => o.$emit("update:modelValue", ""))
|
|
126
123
|
}, {
|
|
127
124
|
default: s(() => [
|
|
128
125
|
r(m(o.$t("_common:reset")), 1)
|
|
@@ -138,7 +135,7 @@ function z(o, e, t, A, F, a) {
|
|
|
138
135
|
"on-image-upload": a.setLogotype,
|
|
139
136
|
"upload-options": { maxWidth: 500, maxHeight: 300 }
|
|
140
137
|
}, null, 8, ["on-image-upload"])
|
|
141
|
-
])) :
|
|
138
|
+
])) : e.showLogo ? (l(), p("div", E, [
|
|
142
139
|
g("img", {
|
|
143
140
|
src: a.logotype,
|
|
144
141
|
alt: "",
|
|
@@ -146,7 +143,7 @@ function z(o, e, t, A, F, a) {
|
|
|
146
143
|
}, null, 8, N)
|
|
147
144
|
])) : u("", !0);
|
|
148
145
|
}
|
|
149
|
-
const
|
|
146
|
+
const H = /* @__PURE__ */ C(B, [["render", S], ["__scopeId", "data-v-d072cd9f"]]);
|
|
150
147
|
export {
|
|
151
|
-
|
|
148
|
+
H as default
|
|
152
149
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as f } from "./index-
|
|
3
|
-
import { af as h, _ as b,
|
|
1
|
+
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js";
|
|
2
|
+
import { u as f } from "./index-SreRcZHY.js";
|
|
3
|
+
import { af as h, _ as b, Y as g, b as d, c as w, o as V, w as l, f as o, s as _, t as v, X as y } from "./main-BI2UvBxx.js";
|
|
4
4
|
const z = (e) => {
|
|
5
|
-
const
|
|
5
|
+
const s = new DOMParser().parseFromString(e, "text/html"), [i] = h(s, "body.children") || [];
|
|
6
6
|
return !i || i.tagName !== "IFRAME" ? {} : Array.from(i.attributes).reduce(
|
|
7
|
-
(
|
|
7
|
+
(a, { name: n, value: r }) => ({ ...a, [n]: r }),
|
|
8
8
|
{}
|
|
9
9
|
);
|
|
10
10
|
}, I = (e) => {
|
|
11
11
|
if (typeof e != "object" || !e) return "";
|
|
12
12
|
const t = document.createElement("iframe");
|
|
13
|
-
return Object.keys(e).forEach((
|
|
13
|
+
return Object.keys(e).forEach((s) => t.setAttribute(s, e[s])), t.hasAttribute("src") ? t.outerHTML : "";
|
|
14
14
|
}, F = (e) => /^(?: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
15
|
e
|
|
16
16
|
), x = {
|
|
@@ -97,12 +97,12 @@ const z = (e) => {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
function A(e, t,
|
|
100
|
+
function A(e, t, s, i, a, n) {
|
|
101
101
|
const r = d("CInput"), m = d("CField"), c = d("CButton");
|
|
102
102
|
return V(), w(m, {
|
|
103
|
-
grouped: !
|
|
103
|
+
grouped: !s.isDrawerMode,
|
|
104
104
|
style: y(
|
|
105
|
-
|
|
105
|
+
s.isDrawerMode && {
|
|
106
106
|
display: "flex",
|
|
107
107
|
flexDirection: "column",
|
|
108
108
|
alignItems: "flex-start"
|
|
@@ -119,15 +119,15 @@ function A(e, t, a, i, s, n) {
|
|
|
119
119
|
default: l(() => [
|
|
120
120
|
o(r, {
|
|
121
121
|
ref: "input",
|
|
122
|
-
modelValue:
|
|
122
|
+
modelValue: a.iFrameTplString,
|
|
123
123
|
"onUpdate:modelValue": [
|
|
124
|
-
t[0] || (t[0] = (u) =>
|
|
124
|
+
t[0] || (t[0] = (u) => a.iFrameTplString = u),
|
|
125
125
|
n.onInput
|
|
126
126
|
],
|
|
127
|
-
placeholder:
|
|
128
|
-
size:
|
|
129
|
-
loading:
|
|
130
|
-
filled:
|
|
127
|
+
placeholder: a.inputPlaceholder,
|
|
128
|
+
size: s.isDrawerMode ? "small" : void 0,
|
|
129
|
+
loading: a.isLoading,
|
|
130
|
+
filled: s.isDrawerMode,
|
|
131
131
|
"auto-resize": !0,
|
|
132
132
|
type: "textarea",
|
|
133
133
|
expanded: ""
|
|
@@ -136,10 +136,10 @@ function A(e, t, a, i, s, n) {
|
|
|
136
136
|
_: 1
|
|
137
137
|
}, 8, ["validator", "messages"]),
|
|
138
138
|
o(c, {
|
|
139
|
-
disabled:
|
|
140
|
-
size:
|
|
139
|
+
disabled: a.isLoading,
|
|
140
|
+
size: s.isDrawerMode ? "small" : void 0,
|
|
141
141
|
type: "secondary",
|
|
142
|
-
onClick: t[1] || (t[1] = (u) => n.validateInput(
|
|
142
|
+
onClick: t[1] || (t[1] = (u) => n.validateInput(a.iFrameTplString))
|
|
143
143
|
}, {
|
|
144
144
|
default: l(() => [
|
|
145
145
|
_(v(e.$t("_common:add")), 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as h } from "./CDropdownItem-
|
|
2
|
-
import z from "./EmbedInput-
|
|
3
|
-
import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f,
|
|
1
|
+
import { b as h } from "./CDropdownItem-BU65rYaX.js";
|
|
2
|
+
import z from "./EmbedInput-BHy9NMjl.js";
|
|
3
|
+
import { _ as g, b as d, d as o, o as a, j as s, f as r, t as n, e as _, F as f, q as b, y } from "./main-BI2UvBxx.js";
|
|
4
4
|
const C = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -58,7 +58,7 @@ const C = {
|
|
|
58
58
|
key: 0,
|
|
59
59
|
style: { display: "flex", "flex-direction": "row", "flex-wrap": "wrap", "padding-top": "5px" }
|
|
60
60
|
}, F = ["onClick"], $ = ["innerHTML"];
|
|
61
|
-
function
|
|
61
|
+
function D(e, i, l, T, x, m) {
|
|
62
62
|
const p = d("EmbedInput"), u = d("CSwitch");
|
|
63
63
|
return a(), o("div", H, [
|
|
64
64
|
s("div", S, [
|
|
@@ -97,7 +97,7 @@ function x(e, i, l, D, T, m) {
|
|
|
97
97
|
])
|
|
98
98
|
]);
|
|
99
99
|
}
|
|
100
|
-
const j = /* @__PURE__ */ g(C, [["render",
|
|
100
|
+
const j = /* @__PURE__ */ g(C, [["render", D], ["__scopeId", "data-v-5d470b38"]]);
|
|
101
101
|
export {
|
|
102
102
|
j as default
|
|
103
103
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a7 as n,
|
|
2
|
-
const
|
|
1
|
+
import { a7 as n, aA as i, I as a, b as m, d as p, o as d, j as t, f as _, t as u, y as r, X as y, _ as f } from "./main-BI2UvBxx.js";
|
|
2
|
+
const v = /* @__PURE__ */ n({
|
|
3
3
|
__name: "ErrorCallout",
|
|
4
4
|
props: {
|
|
5
5
|
message: {},
|
|
@@ -11,7 +11,7 @@ const y = /* @__PURE__ */ n({
|
|
|
11
11
|
const c = m("CIcon");
|
|
12
12
|
return d(), p("div", {
|
|
13
13
|
class: r([[l.value], "flex items-center"]),
|
|
14
|
-
style:
|
|
14
|
+
style: y([{ "margin-top": "calc(1 * var(--rem))" }, [o.value]]),
|
|
15
15
|
"data-type": "error-callout"
|
|
16
16
|
}, [
|
|
17
17
|
t("div", {
|
|
@@ -28,7 +28,7 @@ const y = /* @__PURE__ */ n({
|
|
|
28
28
|
], 6);
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
}), z = /* @__PURE__ */ v
|
|
31
|
+
}), z = /* @__PURE__ */ f(v, [["__scopeId", "data-v-d939f7b4"]]);
|
|
32
32
|
export {
|
|
33
33
|
z as E
|
|
34
34
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as f } from "./PdfViewer-
|
|
2
|
-
import { _ as h, S as k, b as m,
|
|
1
|
+
import { V as f } from "./PdfViewer-fgokwyxy.js";
|
|
2
|
+
import { _ as h, S as k, b as m, a5 as y, d as i, o, j as n, t as x, v as a, y as v, c as g, e as w, an as I } from "./main-BI2UvBxx.js";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as S } from "./mapFormMixin-
|
|
2
|
-
import { T as F } from "./ThemeColorRow-
|
|
3
|
-
import U from "./VideoPlayerInput-
|
|
4
|
-
import j from "./ImageUploadWrapper-
|
|
5
|
-
import { B as P, a as H } from "./index-
|
|
6
|
-
import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p,
|
|
7
|
-
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { b as K } from "./CDropdownItem-
|
|
9
|
-
import { t as
|
|
10
|
-
const
|
|
1
|
+
import { m as S } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { T as F } from "./ThemeColorRow-BiIviRnJ.js";
|
|
3
|
+
import U from "./VideoPlayerInput-CDSsWKbt.js";
|
|
4
|
+
import j from "./ImageUploadWrapper-DY9TKhpB.js";
|
|
5
|
+
import { B as P, a as H } from "./index-DrxPFi0q.js";
|
|
6
|
+
import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p, s as w, t as h, j as l, e as z, X as B, F as _, q as A, au as $, a6 as V, i as L, b7 as R, a1 as O, U as D, v as q, an as T, b8 as W, ai as N, y as M } from "./main-BI2UvBxx.js";
|
|
7
|
+
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js";
|
|
8
|
+
import { b as K } from "./CDropdownItem-BU65rYaX.js";
|
|
9
|
+
import { t as X } from "./template-B4OhhS85.js";
|
|
10
|
+
const G = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
13
13
|
namespaces: "mediaSelectModal",
|
|
@@ -165,10 +165,10 @@ const J = {
|
|
|
165
165
|
}, this.preferredColor && (e.preferredColor = this.preferredColor), this.$emit("input", e), this.$emit("close");
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, J = {
|
|
169
169
|
class: "flex w-full items-center justify-center",
|
|
170
170
|
style: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }
|
|
171
|
-
},
|
|
171
|
+
}, Q = { class: "inline-flex items-center justify-center" }, Y = ["innerHTML"], Z = { class: "max-md:!hidden" }, ee = {
|
|
172
172
|
key: 1,
|
|
173
173
|
class: "flex w-full flex-col items-center justify-center"
|
|
174
174
|
}, te = { style: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, oe = { style: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, ie = ["src"], se = {
|
|
@@ -187,14 +187,14 @@ function ue(e, t, r, n, s, o) {
|
|
|
187
187
|
onClose: t[2] || (t[2] = (i) => e.$emit("close"))
|
|
188
188
|
}, {
|
|
189
189
|
header: c(() => [
|
|
190
|
-
l("div",
|
|
190
|
+
l("div", J, [
|
|
191
191
|
(a(!0), u(_, null, A(s.tabs, (i, y) => (a(), x(d, {
|
|
192
192
|
key: y,
|
|
193
193
|
style: B([{ "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, s.activeTab === i.value && { opacity: 1 }]),
|
|
194
194
|
onClick: (f) => s.activeTab = i.value
|
|
195
195
|
}, {
|
|
196
196
|
default: c(() => [
|
|
197
|
-
l("span",
|
|
197
|
+
l("span", Q, [
|
|
198
198
|
l("div", {
|
|
199
199
|
innerHTML: i.icon
|
|
200
200
|
}, null, 8, Y),
|
|
@@ -307,7 +307,7 @@ function ue(e, t, r, n, s, o) {
|
|
|
307
307
|
_: 1
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
const me = /* @__PURE__ */ I(
|
|
310
|
+
const me = /* @__PURE__ */ I(G, [["render", ue], ["__scopeId", "data-v-4d755736"]]), he = {
|
|
311
311
|
name: "CRadioButton",
|
|
312
312
|
components: {
|
|
313
313
|
CButton: O
|
|
@@ -343,7 +343,7 @@ function ge(e, t, r, n, s, o) {
|
|
|
343
343
|
}, {
|
|
344
344
|
default: c(() => [
|
|
345
345
|
D(e.$slots, "default"),
|
|
346
|
-
|
|
346
|
+
q(l("input", {
|
|
347
347
|
ref: "input",
|
|
348
348
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.computedValue = m),
|
|
349
349
|
disabled: e.disabledOrUndefined,
|
|
@@ -356,7 +356,7 @@ function ge(e, t, r, n, s, o) {
|
|
|
356
356
|
onFocus: t[2] || (t[2] = (m) => s.isFocused = !0),
|
|
357
357
|
onBlur: t[3] || (t[3] = (m) => s.isFocused = !1)
|
|
358
358
|
}, null, 40, pe), [
|
|
359
|
-
[
|
|
359
|
+
[W, e.computedValue]
|
|
360
360
|
])
|
|
361
361
|
]),
|
|
362
362
|
_: 3
|
|
@@ -505,7 +505,7 @@ const ye = /* @__PURE__ */ I(he, [["render", ge]]), ve = {
|
|
|
505
505
|
this._document.isDirty(this._value.textAlign) || (this.textAlign = e === "center" ? e : "left");
|
|
506
506
|
},
|
|
507
507
|
backgroundColor(e) {
|
|
508
|
-
this._document.isDirty(this._value.textColor) || (this.textColor =
|
|
508
|
+
this._document.isDirty(this._value.textColor) || (this.textColor = X.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
methods: {
|
|
@@ -714,7 +714,7 @@ function Fe(e, t, r, n, s, o) {
|
|
|
714
714
|
], 64))
|
|
715
715
|
]);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const We = /* @__PURE__ */ I(ve, [["render", Fe], ["__scopeId", "data-v-77fc05c3"]]);
|
|
718
718
|
export {
|
|
719
|
-
|
|
719
|
+
We as default
|
|
720
720
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _ from "./ImageUploadWrapper-
|
|
2
|
-
import { B as I, a as B } from "./index-
|
|
3
|
-
import { _ as k, b as n, c as U, o as v, w as a, f as l,
|
|
1
|
+
import _ from "./ImageUploadWrapper-DY9TKhpB.js";
|
|
2
|
+
import { B as I, a as B } from "./index-DrxPFi0q.js";
|
|
3
|
+
import { _ as k, b as n, c as U, o as v, w as a, f as l, s as i, t as m, au as C, a6 as p, i as u } from "./main-BI2UvBxx.js";
|
|
4
4
|
const S = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|