@cling-se/widget 0.19.2 → 0.19.4
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 +21 -5
- package/dist/{AddClientCallout-CrgtDE1g.js → AddClientCallout-BfBl04bU.js} +10 -10
- package/dist/{AnswerModal-DuUrRtqb.js → AnswerModal-BSakBDNJ.js} +3 -3
- package/dist/{AttachmentItem-B4pQcy2G.js → AttachmentItem-BLGn1ILf.js} +14 -14
- package/dist/{BaseUpload-gG2x6qjE.js → BaseUpload-CUaYnXBn.js} +2 -2
- package/dist/{BlockMedia-CYObh8R1.js → BlockMedia-CbsL1ZZR.js} +14 -14
- package/dist/{CCallout-DB1Nhq1P.js → CCallout-BezZlOfm.js} +2 -2
- package/dist/{CCurrencyDropdown-RSxDL1y1.js → CCurrencyDropdown-xdp_13tB.js} +6 -6
- package/dist/{CDropdownItem-CaJPL0ix.js → CDropdownItem-CjTBhP8h.js} +14 -14
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-X4qDeN9V.js → CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js} +13 -13
- package/dist/{CPhoneFormat-Dz1pdvII.js → CPhoneFormat-CdD0NkFL.js} +1 -1
- package/dist/{CPhoneInput-DFfTxDLw.js → CPhoneInput-CgV-rBLW.js} +12 -12
- package/dist/{CPriceInput-BmE0LJnD.js → CPriceInput-VMyB3kTX.js} +5 -5
- package/dist/{CSelect-Cn56hnV9.js → CSelect-BpZYcMEc.js} +6 -6
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-_22gmUxz.js → CSkeleton.vue_vue_type_script_setup_true_lang-vOwtNEFo.js} +1 -1
- package/dist/{ClientAutocomplete-UKNKeyMB.js → ClientAutocomplete-DAlOBlRj.js} +19 -19
- package/dist/{ClientModal-CotFxQD1.js → ClientModal-B5J8NblQ.js} +24 -24
- package/dist/{ColorPicker-oojW4s7y.js → ColorPicker-BBPCRucQ.js} +17 -17
- package/dist/{CompanyModal-V2220EcL.js → CompanyModal-D0iOqYPp.js} +10 -10
- package/dist/{ContentWrapper-CFy6DQXN.js → ContentWrapper-Jp2A9A1G.js} +19 -19
- package/dist/{CoverBlockSettings-BXvitGdc.js → CoverBlockSettings-UVNE3YWj.js} +33 -33
- package/dist/{DocAnswer-CgPt3olH.js → DocAnswer-BDqoRdYy.js} +2 -2
- package/dist/{DocDetails-9xooRg_h.js → DocDetails-CQHUQYVe.js} +57 -57
- package/dist/{DocForm-DRtOSARY.js → DocForm-BU4Mx9Fi.js} +26 -26
- package/dist/{DocFormSend-D9jjIIaI.js → DocFormSend-DXtfCSEG.js} +2 -2
- package/dist/{DocLinks-pIOEJLej.js → DocLinks-zF-W4hpD.js} +2 -2
- package/dist/{DocModalBase-DsbOe6s8.js → DocModalBase-CneXY73m.js} +1 -1
- package/dist/{DocPrint-CufRKk8F.js → DocPrint-DQkI5BgD.js} +11 -11
- package/dist/{DocReceipt-COp7VQoL.js → DocReceipt-DJfBiwUr.js} +12 -12
- package/dist/{DocSendReminder-CSMXARbK.js → DocSendReminder-CSxB-KWG.js} +13 -13
- package/dist/{DocTextEditor-qn8x9msY.js → DocTextEditor-CSqqlABA.js} +8 -8
- package/dist/{DocTimeline-mvp8lUIg.js → DocTimeline-CDTh_czd.js} +19 -19
- package/dist/{DocumentClient-DZT6zDsS.js → DocumentClient-COSPT21G.js} +5 -5
- package/dist/{DocumentLayout-DIIWy6Kp.js → DocumentLayout-CweRWvIc.js} +31 -31
- package/dist/{DocumentLogotype-C0mDZen6.js → DocumentLogotype-D0cjO9XC.js} +4 -4
- package/dist/{DocumentVoided-DY1BXdGV.js → DocumentVoided-BuNs74Da.js} +1 -1
- package/dist/{EmbedInput-PF-tVkB-.js → EmbedInput-BohNHou7.js} +8 -8
- package/dist/{EmbedSettings-BFyKpzVW.js → EmbedSettings-DrgFPrd-.js} +20 -20
- package/dist/{ErrorCallout-DPblHW_2.js → ErrorCallout-BVWDsp2J.js} +1 -1
- package/dist/{FilePreviewModal-1vVcdnf1.js → FilePreviewModal-BVEsg1jk.js} +10 -10
- package/dist/{Flag-fwtXqNpB.js → Flag-B0cEHRlt.js} +1 -1
- package/dist/{HeaderSettings-DZOtWZHq.js → HeaderSettings-CGaJ7akp.js} +35 -35
- package/dist/{ImageSelectModal-B6Jqrbf3.js → ImageSelectModal-D2A6akvb.js} +3 -3
- package/dist/{ImageUploadWrapper-CEEWW2j8.js → ImageUploadWrapper-BHqbK12Z.js} +2 -2
- package/dist/{Index-CfQEgESe.js → Index--WcKCsGG.js} +10 -10
- package/dist/{Index-D4wt-YQi.js → Index-3Yts7KXY.js} +17 -17
- package/dist/{Index-D4kmYP6x.js → Index-6zEMdU6I.js} +4 -4
- package/dist/{Index-CeTaCDWy.js → Index-B518kuyT.js} +7 -7
- package/dist/{Index-CbrRH1cg.js → Index-BGKHEKp8.js} +4 -4
- package/dist/{Index-DAWMYVSD.js → Index-BNzgoLmd.js} +5 -5
- package/dist/{Index-seZctaMp.js → Index-BPKB1HUJ.js} +1 -1
- package/dist/{Index-DWG7xRvo.js → Index-BSlfSspe.js} +13 -13
- package/dist/{Index-B6E6PWu_.js → Index-C4ajjo5G.js} +1 -1
- package/dist/{Index-DB62deaJ.js → Index-CAG_M3hA.js} +12 -12
- package/dist/{Index-C136ZEg_.js → Index-CEBnyO4l.js} +5 -5
- package/dist/{Index-sjlKuUSd.js → Index-CFpRQnNq.js} +6 -6
- package/dist/{Index-CBbwapNp.js → Index-CLFDz6SJ.js} +10 -10
- package/dist/{Index-DkHUMd8Z.js → Index-CN6ts_Xp.js} +19 -19
- package/dist/{Index-JEWUmlkg.js → Index-CSiHZutC.js} +10 -10
- package/dist/{Index-DFjDWZY4.js → Index-CXMNxdAF.js} +6 -6
- package/dist/Index-C_pXu_0v.js +52 -0
- package/dist/{Index-2gnLGDcw.js → Index-Cxc5s2dg.js} +7 -7
- package/dist/{Index-Da0cMAVE.js → Index-CzTIqHwe.js} +3 -3
- package/dist/{Index-LAJf5GLZ.js → Index-D05FW5AK.js} +24 -23
- package/dist/{Index-TgF7lPPU.js → Index-D5YE8uWt.js} +2 -2
- package/dist/{Index-BQRVfmgK.js → Index-DPVl5ugc.js} +4 -4
- package/dist/{Index-BhgC3bA-.js → Index-DRaKysrP.js} +16 -16
- package/dist/{Index-x30NL1ak.js → Index-DU1wpDH9.js} +2 -2
- package/dist/{Index-B9TW_3VU.js → Index-Dbmv21li.js} +3 -3
- package/dist/{Index-CLzQRC9I.js → Index-DmOHKqoS.js} +2 -2
- package/dist/{Index-BSdHkKHY.js → Index-DylKlBB9.js} +2 -2
- package/dist/{Index-B0WE-byN.js → Index-I98TuKi1.js} +19 -19
- package/dist/{Index-Ca1_yAOy.js → Index-K56XRGlg.js} +20 -20
- package/dist/{Index--8EOf9hJ.js → Index-LuLYEISf.js} +22 -22
- package/dist/{Index-D1KygVAh.js → Index-Y4-687rr.js} +4 -4
- package/dist/{Index-CjBjSGV_.js → Index-eczQUYpI.js} +4 -4
- package/dist/{Index-IWfava8z.js → Index-to2qkBy9.js} +3 -3
- package/dist/Index-yMgZ5Gcs.js +4 -0
- package/dist/{Index.vue_vue_type_script_lang-DUOQ65ER.js → Index.vue_vue_type_script_lang-V786MsVt.js} +2 -2
- package/dist/{InputToggleRow--pdwGLsH.js → InputToggleRow-TizMrUy3.js} +5 -5
- package/dist/{ManualPopover-B0usSqJO.js → ManualPopover-D5s82nTD.js} +5 -5
- package/dist/{MediaWrapper-BEYMTyYM.js → MediaWrapper-B8QJIu96.js} +5 -5
- package/dist/{NotBindingText-CpqgmLoC.js → NotBindingText-CRNgx9DB.js} +2 -2
- package/dist/{PackageGroup-CMYRtKe-.js → PackageGroup-BSF-af5b.js} +23 -23
- package/dist/{PdfTerms-CzAb7PPK.js → PdfTerms-DZiOm01r.js} +6 -6
- package/dist/{PdfViewer-BAQgKuG3.js → PdfViewer-C4KmWufw.js} +59 -59
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-Cv9FYvAz.js → PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js} +1 -1
- package/dist/{PriceHeader-C6TFY6m5.js → PriceHeader-9PyzP2JW.js} +74 -74
- package/dist/{SearchApi-CNUGushn.js → SearchApi-Dqw0KfAD.js} +3 -3
- package/dist/{SendForm-BUtznAeM.js → SendForm-DwIGeVAZ.js} +11 -11
- package/dist/{Setup-oLjBz_no.js → Setup-2CQuTokL.js} +1 -1
- package/dist/{SmartList-D3U0tawP.js → SmartList-DlivOpMQ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-ByJiDH0d.js → Sortable.vue_vue_type_script_setup_true_lang-B8DZEh_u.js} +92 -92
- package/dist/{TermsSettings-CSvgk5vt.js → TermsSettings-C3HFNpbX.js} +17 -17
- package/dist/{ThemeColorRow-NvhS0tg6.js → ThemeColorRow-j7lkaEKS.js} +8 -8
- package/dist/{ToggleBinding-X2eS4_Wx.js → ToggleBinding-BTBbFc-F.js} +4 -4
- package/dist/{UploadModal-C5Ii7LYO.js → UploadModal-DEwQZ_8a.js} +8 -8
- package/dist/{VideoPlayerInput-mkXShtpw.js → VideoPlayerInput-32LiwyOw.js} +7 -7
- package/dist/{VideoPlayerSettings-DMcuQpvF.js → VideoPlayerSettings-DkzjgwLt.js} +2 -2
- package/dist/{VideoSelectModal-D3fWwXWx.js → VideoSelectModal-DmEmB4Cx.js} +10 -10
- package/dist/{focusDrawerMixin-C9WRUJeU.js → focusDrawerMixin-D13Ms6Jk.js} +1 -1
- package/dist/{formDrawerState-BOOnUKbp.js → formDrawerState-CRhWaymS.js} +1 -1
- package/dist/{helpers-Ctc-8Ivh.js → helpers-B86zZNtk.js} +1 -1
- package/dist/{index-CtwkLQTr.js → index-BiwH6W9z.js} +27 -27
- package/dist/{index-DFP76wdh.js → index-D3TD9uhN.js} +34 -34
- package/dist/{index-CwiX__Q5.js → index-DAIb9mjE.js} +1 -1
- package/dist/{index-HNXe8XE1.js → index-Db7Oe7W3.js} +7 -18
- package/dist/{index-7gtuQbt6.js → index-Kb9qkTlP.js} +21 -21
- package/dist/{index-DJfG07S3.js → index-h9L0RGv3.js} +5 -5
- package/dist/{index-CONHp4Ru.js → index-tXDuIxx9.js} +41 -41
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +145 -145
- package/dist/{main-Gbowfaz3.js → main-Dr3neB7n.js} +9140 -9186
- package/dist/{mapFormMixin-BVUKFYiu.js → mapFormMixin-Bkpm1wEf.js} +15 -15
- package/dist/omit-Ciu7kNcD.js +56 -0
- package/dist/{publicSenderState-D_QGEW7Y.js → publicSenderState-CEfzhj0R.js} +1 -1
- package/dist/{splitpanes-waq5qrut.js → splitpanes-AhZAy_Th.js} +1 -1
- package/dist/{template-CMWe6aHn.js → template-MfjSWRyx.js} +1 -1
- package/dist/{tippy.esm-CCLce-Jo.js → tippy.esm-CJxvo3UM.js} +5 -5
- package/dist/{useTermsModal-BQAddgqh.js → useTermsModal-Bp1LFsXg.js} +6 -6
- package/dist/{utils-CwQZqXJo.js → utils-DgTzzSIp.js} +1 -1
- package/dist/{validation-DD9-b5-h.js → validation-J27tpgZs.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +5 -5
- package/dist/Index-C4HS9Oou.js +0 -52
- package/dist/Index-DtMQQRiG.js +0 -4
- package/dist/omit-opdAy1KI.js +0 -56
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as _ } from "./publicSenderState-
|
|
2
|
-
import { C as w, a as C } from "./CDropdownItem-
|
|
3
|
-
import { _ as v, z as b, m as k, a as L, g as D, e as d, o as i, b as p, d as n, w as s, s as u, c as I, l as P,
|
|
1
|
+
import { a as _ } from "./publicSenderState-CEfzhj0R.js";
|
|
2
|
+
import { C as w, a as C } from "./CDropdownItem-CjTBhP8h.js";
|
|
3
|
+
import { _ as v, z as b, m as k, a as L, g as D, e as d, o as i, b as p, d as n, w as s, s as u, c as I, l as P, H as r, v as m, F as V, f as g } from "./main-Dr3neB7n.js";
|
|
4
4
|
const B = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
7
|
CDropdown: w,
|
|
8
8
|
CDropdownItem: C,
|
|
9
9
|
ImageUploadWrapper: b(
|
|
10
|
-
() => import("./ImageUploadWrapper-
|
|
10
|
+
() => import("./ImageUploadWrapper-BHqbK12Z.js")
|
|
11
11
|
)
|
|
12
12
|
},
|
|
13
13
|
inject: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { u as f } from "./index-
|
|
3
|
-
import {
|
|
1
|
+
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js";
|
|
2
|
+
import { u as f } from "./index-tXDuIxx9.js";
|
|
3
|
+
import { A as h, _ as b, ab as g, e as d, o as w, c as v, w as l, d as o, H as V, v as _, l as y } from "./main-Dr3neB7n.js";
|
|
4
4
|
const z = (e) => {
|
|
5
5
|
const a = new DOMParser().parseFromString(e, "text/html"), [i] = h(a, "body.children") || [];
|
|
6
6
|
return !i || i.tagName !== "IFRAME" ? {} : Array.from(i.attributes).reduce(
|
|
@@ -11,9 +11,9 @@ const z = (e) => {
|
|
|
11
11
|
if (typeof e != "object" || !e) return "";
|
|
12
12
|
const t = document.createElement("iframe");
|
|
13
13
|
return Object.keys(e).forEach((a) => t.setAttribute(a, e[a])), t.hasAttribute("src") ? t.outerHTML : "";
|
|
14
|
-
},
|
|
14
|
+
}, A = (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
|
+
), F = {
|
|
17
17
|
name: "EmbedInput",
|
|
18
18
|
i18nOptions: {
|
|
19
19
|
namespaces: "embedInput",
|
|
@@ -67,7 +67,7 @@ const z = (e) => {
|
|
|
67
67
|
},
|
|
68
68
|
validations() {
|
|
69
69
|
return {
|
|
70
|
-
embed: { isValid: (e) => e &&
|
|
70
|
+
embed: { isValid: (e) => e && A(e.src) }
|
|
71
71
|
};
|
|
72
72
|
},
|
|
73
73
|
computed: {
|
|
@@ -97,7 +97,7 @@ const z = (e) => {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
|
-
function
|
|
100
|
+
function x(e, t, a, i, s, n) {
|
|
101
101
|
const r = d("CInput"), m = d("CField"), c = d("CButton");
|
|
102
102
|
return w(), v(m, {
|
|
103
103
|
grouped: !a.isDrawerMode,
|
|
@@ -150,7 +150,7 @@ function A(e, t, a, i, s, n) {
|
|
|
150
150
|
_: 1
|
|
151
151
|
}, 8, ["grouped", "style"]);
|
|
152
152
|
}
|
|
153
|
-
const S = /* @__PURE__ */ b(
|
|
153
|
+
const S = /* @__PURE__ */ b(F, [["render", x]]);
|
|
154
154
|
export {
|
|
155
155
|
S as default
|
|
156
156
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as h } from "./CDropdownItem-
|
|
2
|
-
import z from "./EmbedInput-
|
|
3
|
-
import { _ as g, e as d, o, b as
|
|
1
|
+
import { b as h } from "./CDropdownItem-CjTBhP8h.js";
|
|
2
|
+
import z from "./EmbedInput-BohNHou7.js";
|
|
3
|
+
import { _ as g, e as d, o, b as a, s, v as n, d as r, F as _, k as f, n as b, f as y } from "./main-Dr3neB7n.js";
|
|
4
4
|
const C = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -22,9 +22,9 @@ const C = {
|
|
|
22
22
|
EmbedInput: z,
|
|
23
23
|
CSwitch: h
|
|
24
24
|
},
|
|
25
|
-
emits: ["
|
|
25
|
+
emits: ["update:modelValue", "update:size"],
|
|
26
26
|
props: {
|
|
27
|
-
|
|
27
|
+
modelValue: {
|
|
28
28
|
type: Object,
|
|
29
29
|
default: () => ({})
|
|
30
30
|
},
|
|
@@ -51,53 +51,53 @@ const C = {
|
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
}, H = { class: "d-root" }, S = { class: "d-option" },
|
|
54
|
+
}, H = { class: "d-root" }, S = { class: "d-option" }, V = { class: "d-option-title" }, M = {
|
|
55
55
|
class: "text-gray-600",
|
|
56
56
|
style: { "padding-bottom": "1em" }
|
|
57
57
|
}, k = { class: "d-option" }, w = { class: "d-option-title" }, E = { style: { flex: "1 1 auto" } }, B = {
|
|
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 D(e,
|
|
62
|
-
const p = d("EmbedInput"),
|
|
63
|
-
return o(),
|
|
61
|
+
function D(e, i, l, T, x, m) {
|
|
62
|
+
const p = d("EmbedInput"), u = d("CSwitch");
|
|
63
|
+
return o(), a("div", H, [
|
|
64
64
|
s("div", S, [
|
|
65
|
-
s("div",
|
|
66
|
-
s("div",
|
|
65
|
+
s("div", V, n(e.$t("title").capitalize()), 1),
|
|
66
|
+
s("div", M, n(e.$t("subTitle")), 1),
|
|
67
67
|
r(p, {
|
|
68
|
-
"model-value": l.
|
|
68
|
+
"model-value": l.modelValue,
|
|
69
69
|
"is-drawer-mode": !0,
|
|
70
|
-
"onUpdate:modelValue":
|
|
70
|
+
"onUpdate:modelValue": i[0] || (i[0] = (t) => e.$emit("update:modelValue", t))
|
|
71
71
|
}, null, 8, ["model-value"])
|
|
72
72
|
]),
|
|
73
73
|
s("div", k, [
|
|
74
74
|
s("div", w, [
|
|
75
75
|
s("div", E, n(e.$t("responsiveSize")), 1),
|
|
76
|
-
r(
|
|
76
|
+
r(u, {
|
|
77
77
|
"model-value": !!l.size,
|
|
78
78
|
size: "small",
|
|
79
79
|
type: "secondary",
|
|
80
80
|
style: { "margin-right": "0" },
|
|
81
|
-
"onUpdate:modelValue":
|
|
81
|
+
"onUpdate:modelValue": i[1] || (i[1] = (t) => e.$emit("update:size", t ? "small" : null))
|
|
82
82
|
}, null, 8, ["model-value"])
|
|
83
83
|
]),
|
|
84
|
-
l.size ? (o(),
|
|
85
|
-
(o(!0),
|
|
84
|
+
l.size ? (o(), a("div", B, [
|
|
85
|
+
(o(!0), a(_, null, f(m.sizeOptions, ({ value: t, svg: v }, c) => (o(), a("div", {
|
|
86
86
|
key: c,
|
|
87
87
|
class: "size-option",
|
|
88
88
|
onClick: (I) => e.$emit("update:size", t)
|
|
89
89
|
}, [
|
|
90
|
-
(o(),
|
|
90
|
+
(o(), a("svg", {
|
|
91
91
|
class: b([{ "is-active": l.size === t }, "size-option-image"]),
|
|
92
92
|
viewBox: "0 0 99 65",
|
|
93
|
-
innerHTML:
|
|
93
|
+
innerHTML: v
|
|
94
94
|
}, null, 10, $))
|
|
95
95
|
], 8, F))), 128))
|
|
96
96
|
])) : y("", !0)
|
|
97
97
|
])
|
|
98
98
|
]);
|
|
99
99
|
}
|
|
100
|
-
const G = /* @__PURE__ */ g(C, [["render", D], ["__scopeId", "data-v-
|
|
100
|
+
const G = /* @__PURE__ */ g(C, [["render", D], ["__scopeId", "data-v-157de8e2"]]);
|
|
101
101
|
export {
|
|
102
102
|
G as default
|
|
103
103
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as c, u as i, i as a, o as m, b as p, s as t, d, v as u, n as r, l as _, e as v, _ as y } from "./main-
|
|
1
|
+
import { h as c, u as i, i as a, o as m, b as p, s as t, d, v as u, n as r, l as _, e as v, _ as y } from "./main-Dr3neB7n.js";
|
|
2
2
|
const g = /* @__PURE__ */ c({
|
|
3
3
|
__name: "ErrorCallout",
|
|
4
4
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as w } from "./PdfViewer-
|
|
2
|
-
import { _ as h,
|
|
1
|
+
import { V as w } from "./PdfViewer-C4KmWufw.js";
|
|
2
|
+
import { _ as h, S as k, e as m, ac as y, o, b as i, s as n, v as x, O as a, n as v, c as g, f as c, ad as I } from "./main-Dr3neB7n.js";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
@@ -59,12 +59,12 @@ const C = {
|
|
|
59
59
|
}, M = {
|
|
60
60
|
class: "truncate-text",
|
|
61
61
|
style: { "align-items": "center", display: "flex" }
|
|
62
|
-
}, B = { class: "truncate-text" }, P = { style: { display: "flex" } }, V = ["href"],
|
|
62
|
+
}, B = { class: "truncate-text" }, P = { style: { display: "flex" } }, V = ["href"], j = {
|
|
63
63
|
key: 1,
|
|
64
64
|
class: "pdf-root"
|
|
65
|
-
},
|
|
65
|
+
}, E = ["src"];
|
|
66
66
|
function G(t, e, r, S, s, u) {
|
|
67
|
-
const
|
|
67
|
+
const p = m("Spinner"), f = m("VuePdf"), l = y("tooltip");
|
|
68
68
|
return o(), i("div", L, [
|
|
69
69
|
e[11] || (e[11] = n("div", { class: "image-modal-overlay" }, null, -1)),
|
|
70
70
|
n("div", b, [
|
|
@@ -172,12 +172,12 @@ function G(t, e, r, S, s, u) {
|
|
|
172
172
|
style: { position: "relative" },
|
|
173
173
|
onClick: e[6] || (e[6] = (d) => t.$emit("close"))
|
|
174
174
|
}, [
|
|
175
|
-
s.isLoading ? (o(), g(
|
|
175
|
+
s.isLoading ? (o(), g(p, {
|
|
176
176
|
key: 0,
|
|
177
177
|
size: "50px",
|
|
178
178
|
style: { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }
|
|
179
|
-
})) :
|
|
180
|
-
u.isPdf ? (o(), i("div",
|
|
179
|
+
})) : c("", !0),
|
|
180
|
+
u.isPdf ? (o(), i("div", j, [
|
|
181
181
|
(o(), g(f, {
|
|
182
182
|
key: this.currentIndex,
|
|
183
183
|
src: r.list[s.currentIndex].url,
|
|
@@ -188,12 +188,12 @@ function G(t, e, r, S, s, u) {
|
|
|
188
188
|
onClick: e[4] || (e[4] = I(() => {
|
|
189
189
|
}, ["stop"]))
|
|
190
190
|
}, null, 8, ["src"]))
|
|
191
|
-
])) : s.isLoading ?
|
|
191
|
+
])) : s.isLoading ? c("", !0) : (o(), i("img", {
|
|
192
192
|
key: 2,
|
|
193
193
|
src: r.list[s.currentIndex].url,
|
|
194
194
|
class: "modal-image",
|
|
195
195
|
onLoad: e[5] || (e[5] = (d) => s.isLoading = !1)
|
|
196
|
-
}, null, 40,
|
|
196
|
+
}, null, 40, E))
|
|
197
197
|
])
|
|
198
198
|
]);
|
|
199
199
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as F } from "./mapFormMixin-
|
|
2
|
-
import { T as U } from "./ThemeColorRow-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { B as
|
|
6
|
-
import { p as S, _ as A,
|
|
7
|
-
import { _ as
|
|
8
|
-
import { b as
|
|
9
|
-
import { t as G } from "./template-
|
|
10
|
-
const T = S.unsplash.id,
|
|
1
|
+
import { m as F } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { T as U } from "./ThemeColorRow-j7lkaEKS.js";
|
|
3
|
+
import H from "./VideoPlayerInput-32LiwyOw.js";
|
|
4
|
+
import P from "./ImageUploadWrapper-BHqbK12Z.js";
|
|
5
|
+
import { B as j, a as $ } from "./index-BiwH6W9z.js";
|
|
6
|
+
import { p as S, _ as A, ag as V, ao as R, e as g, o as a, c as x, w as c, s as l, b as u, F as _, k as L, l as z, v as h, d as p, H as w, f as B, a0 as O, aU as D, K as W, O as q, ad as M, aV as N, n as I, J as K } from "./main-Dr3neB7n.js";
|
|
7
|
+
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js";
|
|
8
|
+
import { b as J } from "./CDropdownItem-CjTBhP8h.js";
|
|
9
|
+
import { t as G } from "./template-MfjSWRyx.js";
|
|
10
|
+
const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
13
13
|
namespaces: "mediaSelectModal",
|
|
@@ -27,10 +27,10 @@ const T = S.unsplash.id, J = S.pexels.id, Q = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
components: {
|
|
30
|
-
BackgroundModal:
|
|
30
|
+
BackgroundModal: j,
|
|
31
31
|
BackgroundList: $,
|
|
32
|
-
VideoPlayerInput:
|
|
33
|
-
ImageUploadWrapper:
|
|
32
|
+
VideoPlayerInput: H,
|
|
33
|
+
ImageUploadWrapper: P
|
|
34
34
|
},
|
|
35
35
|
emits: ["input", "close"],
|
|
36
36
|
props: {
|
|
@@ -104,7 +104,7 @@ const T = S.unsplash.id, J = S.pexels.id, Q = {
|
|
|
104
104
|
async fetchVideo({ query: e, page: t }) {
|
|
105
105
|
const { data: r } = await V.get("https://api.pexels.com/videos/search", {
|
|
106
106
|
headers: {
|
|
107
|
-
Authorization:
|
|
107
|
+
Authorization: Q
|
|
108
108
|
},
|
|
109
109
|
params: {
|
|
110
110
|
page: t,
|
|
@@ -165,10 +165,10 @@ const T = S.unsplash.id, J = S.pexels.id, Q = {
|
|
|
165
165
|
}, this.preferredColor && (e.preferredColor = this.preferredColor), this.$emit("input", e), this.$emit("close");
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, Y = {
|
|
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
|
+
}, Z = { class: "inline-flex items-center justify-center" }, ee = ["innerHTML"], te = { class: "max-md:!hidden" }, oe = {
|
|
172
172
|
key: 1,
|
|
173
173
|
class: "flex w-full flex-col items-center justify-center"
|
|
174
174
|
}, ie = { style: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, se = { 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))" } }, le = ["src"], re = {
|
|
@@ -187,14 +187,14 @@ function he(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", Y, [
|
|
191
191
|
(a(!0), u(_, null, L(s.tabs, (i, y) => (a(), x(d, {
|
|
192
192
|
key: y,
|
|
193
|
-
style:
|
|
193
|
+
style: z([{ "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", Z, [
|
|
198
198
|
l("div", {
|
|
199
199
|
innerHTML: i.icon
|
|
200
200
|
}, null, 8, ee),
|
|
@@ -234,7 +234,7 @@ function he(e, t, r, n, s, o) {
|
|
|
234
234
|
key: 0,
|
|
235
235
|
src: s.customVideo.url,
|
|
236
236
|
class: "custom-video-preview"
|
|
237
|
-
}, null, 8, le)) :
|
|
237
|
+
}, null, 8, le)) : B("", !0)
|
|
238
238
|
]),
|
|
239
239
|
p(C, {
|
|
240
240
|
modelValue: s.customVideo,
|
|
@@ -274,7 +274,7 @@ function he(e, t, r, n, s, o) {
|
|
|
274
274
|
}, null, 8, de)) : (a(), u("div", ce, [
|
|
275
275
|
p(d, {
|
|
276
276
|
loading: !!i && i < 100,
|
|
277
|
-
style:
|
|
277
|
+
style: z(s.customImage && { opacity: 0.5 }),
|
|
278
278
|
"icon-left": "upload",
|
|
279
279
|
type: "none"
|
|
280
280
|
}, {
|
|
@@ -307,7 +307,7 @@ function he(e, t, r, n, s, o) {
|
|
|
307
307
|
_: 1
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
const pe = /* @__PURE__ */ A(
|
|
310
|
+
const pe = /* @__PURE__ */ A(X, [["render", he], ["__scopeId", "data-v-e6251bf7"]]), ge = {
|
|
311
311
|
name: "CRadioButton",
|
|
312
312
|
components: {
|
|
313
313
|
CButton: O
|
|
@@ -339,7 +339,7 @@ function ve(e, t, r, n, s, o) {
|
|
|
339
339
|
class: I([[{ "is-disabled": e.disabled, "is-focused": s.isFocused }], "c-radio radio button"]),
|
|
340
340
|
disabled: e.disabledOrUndefined,
|
|
341
341
|
onClick: e.focus,
|
|
342
|
-
onKeydown: t[4] || (t[4] =
|
|
342
|
+
onKeydown: t[4] || (t[4] = K(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
|
|
343
343
|
}, {
|
|
344
344
|
default: c(() => [
|
|
345
345
|
W(e.$slots, "default"),
|
|
@@ -368,8 +368,8 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
368
368
|
components: {
|
|
369
369
|
ThemeColorRow: U,
|
|
370
370
|
CRadioButton: fe,
|
|
371
|
-
CSwitch:
|
|
372
|
-
CField:
|
|
371
|
+
CSwitch: J,
|
|
372
|
+
CField: E
|
|
373
373
|
},
|
|
374
374
|
mixins: [
|
|
375
375
|
F(
|
|
@@ -542,10 +542,10 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
542
542
|
}, Le = {
|
|
543
543
|
class: "d-option",
|
|
544
544
|
style: { "padding-bottom": "0.5em" }
|
|
545
|
-
},
|
|
545
|
+
}, ze = {
|
|
546
546
|
key: 0,
|
|
547
547
|
class: "d-option"
|
|
548
|
-
},
|
|
548
|
+
}, Be = { class: "d-option-title" }, Ie = { style: { flex: "1 1 auto" } }, Ae = {
|
|
549
549
|
key: 0,
|
|
550
550
|
class: "d-option-row",
|
|
551
551
|
style: { "padding-top": "1em" }
|
|
@@ -556,7 +556,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
556
556
|
class: "d-option-title",
|
|
557
557
|
style: { "margin-top": "calc(0.5 * var(--rem))" }
|
|
558
558
|
}, Ue = ["innerHTML"];
|
|
559
|
-
function
|
|
559
|
+
function He(e, t, r, n, s, o) {
|
|
560
560
|
const d = g("CButton"), m = g("ThemeColorRow"), C = g("CSwitch"), k = g("CRadioButton"), b = g("CField");
|
|
561
561
|
return a(), u("div", Ce, [
|
|
562
562
|
l("div", ke, [
|
|
@@ -594,7 +594,7 @@ function Pe(e, t, r, n, s, o) {
|
|
|
594
594
|
l("div", _e, [
|
|
595
595
|
l("div", Ve, h(e.$t("_common:background").capitalize()), 1),
|
|
596
596
|
l("div", {
|
|
597
|
-
style:
|
|
597
|
+
style: z({
|
|
598
598
|
backgroundImage: `url(${o.background || o.theme.background})`
|
|
599
599
|
}),
|
|
600
600
|
class: "d-option-button-image",
|
|
@@ -614,8 +614,8 @@ function Pe(e, t, r, n, s, o) {
|
|
|
614
614
|
_: 1
|
|
615
615
|
}, 8, ["value"])
|
|
616
616
|
]),
|
|
617
|
-
e.layout === "price" ? (a(), u("div",
|
|
618
|
-
l("div",
|
|
617
|
+
e.layout === "price" ? (a(), u("div", ze, [
|
|
618
|
+
l("div", Be, [
|
|
619
619
|
l("div", Ie, h(e.$t(
|
|
620
620
|
"components:account.documentForm.settings.priceSummaryBackground"
|
|
621
621
|
)), 1),
|
|
@@ -640,7 +640,7 @@ function Pe(e, t, r, n, s, o) {
|
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["value"])
|
|
643
|
-
])) :
|
|
643
|
+
])) : B("", !0)
|
|
644
644
|
])) : (a(), u(_, { key: 1 }, [
|
|
645
645
|
e.layout !== "center" ? (a(), u("div", Me, [
|
|
646
646
|
p(m, {
|
|
@@ -657,7 +657,7 @@ function Pe(e, t, r, n, s, o) {
|
|
|
657
657
|
]),
|
|
658
658
|
_: 1
|
|
659
659
|
}, 8, ["value"])
|
|
660
|
-
])) :
|
|
660
|
+
])) : B("", !0),
|
|
661
661
|
l("div", Te, [
|
|
662
662
|
p(m, {
|
|
663
663
|
value: e.textColor || "",
|
|
@@ -714,7 +714,7 @@ function Pe(e, t, r, n, s, o) {
|
|
|
714
714
|
], 64))
|
|
715
715
|
]);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const Ke = /* @__PURE__ */ A(we, [["render", He], ["__scopeId", "data-v-bccd31d9"]]);
|
|
718
718
|
export {
|
|
719
|
-
|
|
719
|
+
Ke 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, p as U,
|
|
1
|
+
import _ from "./ImageUploadWrapper-BHqbK12Z.js";
|
|
2
|
+
import { B as I, a as B } from "./index-BiwH6W9z.js";
|
|
3
|
+
import { _ as k, p as U, ag as i, ao as v, e as n, o as C, c as S, w as a, d as l, H as m, v as p } from "./main-Dr3neB7n.js";
|
|
4
4
|
const u = U.unsplash.id, $ = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import re from "./BaseUpload-
|
|
2
|
-
import { o as w, c as y,
|
|
1
|
+
import re from "./BaseUpload-CUaYnXBn.js";
|
|
2
|
+
import { o as w, c as y, K as B, e as T, d as R, w as $, F as Et, k as Ct, ah as nt, O as Bt, P as Ut, L as st, ad as Rt, f as mt, _ as kt, b as Ft, s as pt, H as ae, v as he, au as ce } from "./main-Dr3neB7n.js";
|
|
3
3
|
function Tt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import b from "./FilePreviewModal-
|
|
3
|
-
import { _ as F, S, z as g,
|
|
1
|
+
import { m as C } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import b from "./FilePreviewModal-BVEsg1jk.js";
|
|
3
|
+
import { _ as F, K as S, z as g, aw as z, o as i, b as p, d as c, w, s as v, F as y, k as A, H as B, v as _, f as $, e as l, c as U } from "./main-Dr3neB7n.js";
|
|
4
4
|
const j = {
|
|
5
5
|
name: "FilePreviewWrapper",
|
|
6
6
|
props: {
|
|
@@ -57,9 +57,9 @@ const V = /* @__PURE__ */ F(j, [["render", M]]), L = {
|
|
|
57
57
|
components: {
|
|
58
58
|
FilePreviewWrapper: V,
|
|
59
59
|
BaseUpload: g(
|
|
60
|
-
() => import("./BaseUpload-
|
|
60
|
+
() => import("./BaseUpload-CUaYnXBn.js")
|
|
61
61
|
),
|
|
62
|
-
AttachmentItem: g(() => import("./AttachmentItem-
|
|
62
|
+
AttachmentItem: g(() => import("./AttachmentItem-BLGn1ILf.js"))
|
|
63
63
|
},
|
|
64
64
|
mixins: [C(["attachments"])],
|
|
65
65
|
data() {
|
|
@@ -89,7 +89,7 @@ const V = /* @__PURE__ */ F(j, [["render", M]]), L = {
|
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
methods: {
|
|
92
|
-
immutable:
|
|
92
|
+
immutable: z,
|
|
93
93
|
async onUploadSuccess(e) {
|
|
94
94
|
const { id: t, displayName: o, url: r, mime: n } = e.response;
|
|
95
95
|
if (!t) throw new Error("Could not read id from uploaded file");
|
|
@@ -119,7 +119,7 @@ function R(e, t, o, r, n, s) {
|
|
|
119
119
|
c(x, { list: s.cAttachments }, {
|
|
120
120
|
default: w(({ openModal: u, isImageOrPdf: h }) => [
|
|
121
121
|
v("div", null, [
|
|
122
|
-
(i(!0), p(y, null,
|
|
122
|
+
(i(!0), p(y, null, A(s.cAttachments, (m, d) => (i(), U(a, {
|
|
123
123
|
key: d,
|
|
124
124
|
"is-image-or-pdf": h(m.mime),
|
|
125
125
|
attachment: m,
|
|
@@ -153,7 +153,7 @@ function R(e, t, o, r, n, s) {
|
|
|
153
153
|
onClick: t[1] || (t[1] = () => e.$refs.uploader ? e.$refs.uploader.open() : null)
|
|
154
154
|
}, {
|
|
155
155
|
default: w(() => [
|
|
156
|
-
|
|
156
|
+
B(_(e.$t("_common:upload", { thing: e.$t("_common:file") })), 1)
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
})
|
|
@@ -167,7 +167,7 @@ function R(e, t, o, r, n, s) {
|
|
|
167
167
|
]))
|
|
168
168
|
]);
|
|
169
169
|
}
|
|
170
|
-
const
|
|
170
|
+
const K = /* @__PURE__ */ F(L, [["render", R]]);
|
|
171
171
|
export {
|
|
172
|
-
|
|
172
|
+
K as default
|
|
173
173
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { m as O } from "./mapFormMixin-
|
|
2
|
-
import {
|
|
3
|
-
import { M as F, g as J } from "./splitpanes-
|
|
4
|
-
import { a as z } from "./DocumentLayout-
|
|
5
|
-
import { e as
|
|
1
|
+
import { m as O } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { D as y, aK as $, bk as _, A as k, d as n, ab as B, _ as C, e as l, o as c, b as u, s as f, F as S, k as N, n as V, v as b, l as L, bl as A, c as T, w as p, ad as P, bm as I, bn as v, bo as w, f as x, H as R } from "./main-Dr3neB7n.js";
|
|
3
|
+
import { M as F, g as J } from "./splitpanes-AhZAy_Th.js";
|
|
4
|
+
import { a as z } from "./DocumentLayout-CweRWvIc.js";
|
|
5
|
+
import { e as j } from "./dom-DOcGU3-g.js";
|
|
6
6
|
const W = `
|
|
7
7
|
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{box-sizing:border-box;font-family:sans-serif}*,::after,::before{box-sizing:inherit}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,p,pre{margin:0}button{background:0 0;padding:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset{margin:0;padding:0}ol,ul{margin:0}*,::after,::before{border-width:0;border-style:solid;border-color:#dae1e7}img{border-style:solid}[type=button],[type=reset],[type=submit],button{border-radius:0}textarea{resize:vertical}img{max-width:100%;height:auto}button,input,optgroup,select,textarea{font-family:inherit}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:inherit;opacity:.5}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:inherit;opacity:.5}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:inherit;opacity:.5}input::placeholder,textarea::placeholder{color:inherit;opacity:.5}[role=button],button{cursor:pointer}table{border-collapse:collapse}
|
|
8
|
-
`,
|
|
8
|
+
`, K = (t, { _document: e, id: o, firstRender: a }) => `
|
|
9
9
|
<!DOCTYPE html>
|
|
10
10
|
<html>
|
|
11
11
|
<head>
|
|
@@ -102,7 +102,7 @@ const W = `
|
|
|
102
102
|
} = {}) {
|
|
103
103
|
if (!this.$refs.iframe) return;
|
|
104
104
|
const e = this._document.getRawData();
|
|
105
|
-
this.setUsedPathValues(), this.$refs.iframe.srcdoc =
|
|
105
|
+
this.setUsedPathValues(), this.$refs.iframe.srcdoc = K({
|
|
106
106
|
html: y(this.html, e),
|
|
107
107
|
css: y(this.css, e),
|
|
108
108
|
javascript: y(this.javascript, e)
|
|
@@ -173,7 +173,7 @@ const W = `
|
|
|
173
173
|
class: "h-0 w-full"
|
|
174
174
|
}, null);
|
|
175
175
|
}
|
|
176
|
-
},
|
|
176
|
+
}, q = {
|
|
177
177
|
name: "MonacoEditor",
|
|
178
178
|
emits: ["change", "input"],
|
|
179
179
|
props: {
|
|
@@ -272,7 +272,7 @@ const W = `
|
|
|
272
272
|
},
|
|
273
273
|
methods: {
|
|
274
274
|
async loadMonaco() {
|
|
275
|
-
await
|
|
275
|
+
await j("https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs/loader.js");
|
|
276
276
|
const t = {
|
|
277
277
|
paths: {
|
|
278
278
|
vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.33.0/min/vs"
|
|
@@ -280,7 +280,7 @@ const W = `
|
|
|
280
280
|
};
|
|
281
281
|
await new Promise((e, o) => {
|
|
282
282
|
window.require.config(t), window.require(["vs/editor/editor.main"], e, o);
|
|
283
|
-
}), await
|
|
283
|
+
}), await j("https://cdn.jsdelivr.net/npm/emmet-monaco-es@5.1.0/dist/emmet-monaco.js");
|
|
284
284
|
},
|
|
285
285
|
initMonaco() {
|
|
286
286
|
window.emmetMonaco.emmetHTML(window.monaco), window.emmetMonaco.emmetCSS(window.monaco);
|
|
@@ -349,10 +349,10 @@ const W = `
|
|
|
349
349
|
icons: Y
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
|
-
},
|
|
352
|
+
}, G = { class: "tabs-root" }, Q = ["onClick"], X = ["innerHTML"], tt = ["textContent"];
|
|
353
353
|
function et(t, e, o, a, i, s) {
|
|
354
354
|
const m = l("CIcon");
|
|
355
|
-
return c(), u("div",
|
|
355
|
+
return c(), u("div", G, [
|
|
356
356
|
f("div", {
|
|
357
357
|
class: "simple-btn",
|
|
358
358
|
onClick: e[0] || (e[0] = (r) => t.$emit("close"))
|
|
@@ -362,7 +362,7 @@ function et(t, e, o, a, i, s) {
|
|
|
362
362
|
size: "18"
|
|
363
363
|
})
|
|
364
364
|
]),
|
|
365
|
-
(c(!0), u(
|
|
365
|
+
(c(!0), u(S, null, N(o.items, (r) => (c(), u("div", {
|
|
366
366
|
key: r.value,
|
|
367
367
|
class: V([{
|
|
368
368
|
"tab-item-active": o.modelValue === r.value
|
|
@@ -380,11 +380,11 @@ function et(t, e, o, a, i, s) {
|
|
|
380
380
|
viewBox: "0 0 32 32",
|
|
381
381
|
style: { "margin-right": "0.5em" },
|
|
382
382
|
innerHTML: i.icons[r.value]
|
|
383
|
-
}, null, 8,
|
|
383
|
+
}, null, 8, X)),
|
|
384
384
|
f("span", {
|
|
385
385
|
textContent: b(r.text)
|
|
386
386
|
}, null, 8, tt)
|
|
387
|
-
], 10,
|
|
387
|
+
], 10, Q))), 128)),
|
|
388
388
|
f("div", {
|
|
389
389
|
style: { "margin-left": "auto" },
|
|
390
390
|
class: "simple-btn",
|
|
@@ -404,7 +404,7 @@ const ot = /* @__PURE__ */ C(Z, [["render", et], ["__scopeId", "data-v-477b66fe"
|
|
|
404
404
|
name: "CustomModal",
|
|
405
405
|
components: {
|
|
406
406
|
Tabs: ot,
|
|
407
|
-
MonacoEditor:
|
|
407
|
+
MonacoEditor: q,
|
|
408
408
|
Splitpanes: F,
|
|
409
409
|
Pane: J,
|
|
410
410
|
CustomView: E
|
|
@@ -637,7 +637,7 @@ function ut(t, e, o, a, i, s) {
|
|
|
637
637
|
_document: t._document,
|
|
638
638
|
style: { width: "100%", "min-height": "0" }
|
|
639
639
|
}, null, 8, ["html", "css", "javascript", "_document"])) : x("", !0),
|
|
640
|
-
t.isForm ? (c(), u(
|
|
640
|
+
t.isForm ? (c(), u(S, { key: 1 }, [
|
|
641
641
|
t.canEdit && !s.isEdited ? (c(), u("div", lt, [
|
|
642
642
|
f("div", {
|
|
643
643
|
style: { "font-weight": "500", "margin-bottom": "0.25em", opacity: "0.98" },
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as u } from "./mapFormMixin-
|
|
2
|
-
import { _ as r, z as t, o, c as i, e as m } from "./main-
|
|
1
|
+
import { m as u } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { _ as r, z as t, o, c as i, e as m } from "./main-Dr3neB7n.js";
|
|
3
3
|
const d = {
|
|
4
4
|
name: "EstimatedTimeToComplete",
|
|
5
5
|
components: {
|
|
6
|
-
Read: t(() => import("./Index-
|
|
7
|
-
Edit: t(() => import("./Index-
|
|
6
|
+
Read: t(() => import("./Index-DU1wpDH9.js")),
|
|
7
|
+
Edit: t(() => import("./Index-I98TuKi1.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [u(["noOfTimeUnits", "timeUnit"])]
|