@cling-se/widget 0.19.13 → 0.20.1
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 +18 -0
- package/README.internal.md +5 -5
- package/dist/{AddClientCallout-Da7NOVA5.js → AddClientCallout-DOzqL6Ei.js} +4 -4
- package/dist/{AnswerModal-B2ApEIfo.js → AnswerModal-aoQoCe3o.js} +679 -681
- package/dist/{AttachmentItem-BM_DzA34.js → AttachmentItem-DTqI5mwy.js} +4 -4
- package/dist/{BaseUpload-CGVbfe4H.js → BaseUpload-nxVqZX3O.js} +2 -2
- package/dist/{BlockMedia-Dza5TjFS.js → BlockMedia-BYVRSrze.js} +1 -1
- package/dist/{CCallout-BpHUnBsq.js → CCallout-Db9YEwws.js} +1 -1
- package/dist/{CCurrencyDropdown-Glt0CY7w.js → CCurrencyDropdown-sRqig-2P.js} +3 -3
- package/dist/{CDropdownItem-rpcdHW76.js → CDropdownItem-CZO28TQW.js} +96 -96
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-vyObNdUP.js → CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js} +2 -2
- package/dist/{CPhoneFormat-uxMRSGaN.js → CPhoneFormat-CUtvNKnk.js} +1 -1
- package/dist/{CPhoneInput-DnigKWiR.js → CPhoneInput-kOcllgTr.js} +5 -5
- package/dist/{CPriceInput-BNVWpxMd.js → CPriceInput-3X1Et9ny.js} +2 -2
- package/dist/{CSelect-ioLMsxK3.js → CSelect-DVCPHAdo.js} +1 -1
- package/dist/{CSkeleton-BsApoNUe.js → CSkeleton-Bxdz5nlu.js} +1 -1
- package/dist/{ClientAutocomplete-Dof0Wnp9.js → ClientAutocomplete-DCphFPmv.js} +3 -3
- package/dist/{ClientModal-CVsZrXLV.js → ClientModal-oTn-trfu.js} +218 -248
- package/dist/{ColorPicker-Ca2a0Dib.js → ColorPicker-Bs_kXTFe.js} +1 -1
- package/dist/{CompanyModal-C6AUjpnI.js → CompanyModal-DzXAdbGd.js} +7 -7
- package/dist/{ContentWrapper-wTfXDKX-.js → ContentWrapper-2wh0OBB0.js} +6 -6
- package/dist/{CoverBlockSettings-BkWhPlN2.js → CoverBlockSettings-DSOoms9U.js} +7 -7
- package/dist/{DocAnswer-DoRmk17c.js → DocAnswer-B529e1E2.js} +2 -2
- package/dist/{DocDetails-D_E3lERC.js → DocDetails-BHqTgx1H.js} +4 -4
- package/dist/{DocForm-DbpjRBRm.js → DocForm-DOdyjHWA.js} +99 -97
- package/dist/{DocFormSend-DN2k9giy.js → DocFormSend-DfrWjvTy.js} +2 -2
- package/dist/{DocLinks-BvtcG9-D.js → DocLinks-BRJnZ1rA.js} +2 -2
- package/dist/{DocModalBase-D_LZXbIj.js → DocModalBase-Cf-C2hVQ.js} +1 -1
- package/dist/{DocPrint-BrjeZaPK.js → DocPrint-OVtsohie.js} +1 -1
- package/dist/{DocReceipt-BXAGCO6L.js → DocReceipt-tmBbom2x.js} +2 -2
- package/dist/{DocSendReminder-BtcutNHV.js → DocSendReminder-C6fGp2qu.js} +1 -1
- package/dist/{DocTextEditor-DYrnRt6O.js → DocTextEditor-D3EjoBGe.js} +171 -148
- package/dist/{DocTimeline-AZQVm00F.js → DocTimeline-CChHnG2Q.js} +2 -2
- package/dist/{DocumentClient-BTsdprjd.js → DocumentClient-kV1ps0P5.js} +5 -5
- package/dist/{DocumentLayout-DbXHslTY.js → DocumentLayout-B2vKSnWD.js} +21 -21
- package/dist/{DocumentLogotype-B6ENzX02.js → DocumentLogotype-BldUocoJ.js} +4 -4
- package/dist/{DocumentVoided-B9AHAIvl.js → DocumentVoided-rZxx0TDM.js} +1 -1
- package/dist/{EmbedInput-BN6DFeq0.js → EmbedInput-C-bORXEJ.js} +3 -3
- package/dist/{EmbedSettings-DD9uIXDi.js → EmbedSettings-CaRoWZzj.js} +3 -3
- package/dist/{ErrorCallout-BFezjCn3.js → ErrorCallout-BQkcHI49.js} +1 -1
- package/dist/{FilePreviewModal-CXE7RahY.js → FilePreviewModal-egIS6jnw.js} +2 -2
- package/dist/{Flag-BCe6xe-D.js → Flag-DUrDD56m.js} +1 -1
- package/dist/{HeaderSettings-Uyr0qhas.js → HeaderSettings-Cfql7vW5.js} +9 -9
- package/dist/{ImageSelectModal-CSW3shsb.js → ImageSelectModal-3U22LhEN.js} +3 -3
- package/dist/{ImageUploadWrapper-DyunQdxO.js → ImageUploadWrapper-DWmlB4Ha.js} +2 -2
- package/dist/{Index-BRhtJdqU.js → Index-38AEfgHb.js} +4 -4
- package/dist/{Index-DAnljErU.js → Index-7rnf6UDQ.js} +6 -6
- package/dist/{Index-BUwF7tDs.js → Index-BepK484N.js} +3 -3
- package/dist/{Index-r-bi4xvP.js → Index-BlBA6eMl.js} +4 -4
- package/dist/{Index-CdtKkfEh.js → Index-BuPSt_Hb.js} +8 -8
- package/dist/{Index-B8EGrohn.js → Index-C2jLt_-J.js} +4 -4
- package/dist/{Index-DRVJFBy_.js → Index-CKisxkqL.js} +3 -3
- package/dist/{Index-BcPpzfWP.js → Index-CN1flEMh.js} +1 -1
- package/dist/{Index-D91m2xKm.js → Index-CRAk8dmP.js} +26 -17
- package/dist/{Index-BieU1ZTV.js → Index-CZFXyZp-.js} +2 -2
- package/dist/{Index-BGVViv6b.js → Index-C_2Gf2Da.js} +46 -37
- package/dist/{Index-ziuExFyj.js → Index-CcOeCvOe.js} +5 -5
- package/dist/{Index-DI91U3g3.js → Index-CcSq7dWo.js} +1 -1
- package/dist/{Index-Ch2Y3XbD.js → Index-Ckr5i1Li.js} +258 -240
- package/dist/{Index-VRzwBnM4.js → Index-Cl7KBtZX.js} +4 -4
- package/dist/{Index-CpZWI-QN.js → Index-CyAAbl1D.js} +14 -14
- package/dist/{Index-DMDWW0zp.js → Index-CyYFJf0D.js} +5 -5
- package/dist/Index-D05o3s14.js +4 -0
- package/dist/{Index-jSpfKPKP.js → Index-D1PUyqFa.js} +8 -8
- package/dist/{Index-32_BJudF.js → Index-DAI1qHEl.js} +3 -3
- package/dist/{Index-DaXHQaxr.js → Index-DAcRb0rT.js} +4 -4
- package/dist/{Index-BGsQAzCd.js → Index-DCWl_6gz.js} +9 -9
- package/dist/{Index-DH5l8DHo.js → Index-DGq9TdPd.js} +4 -4
- package/dist/{Index-Bh5sjhBw.js → Index-DIlbkelD.js} +1 -1
- package/dist/{Index-wb02iXXO.js → Index-DR3O2rVd.js} +5 -5
- package/dist/{Index-CgdCQDsv.js → Index-DSTJ0ZME.js} +7 -7
- package/dist/{Index-BmoysUi1.js → Index-DUKDykzl.js} +2 -2
- package/dist/{Index-Dssz58AL.js → Index-DfMMDolH.js} +3 -3
- package/dist/{Index-C-rVXB4u.js → Index-DikWyKIw.js} +2 -2
- package/dist/{Index-CATlFu8B.js → Index-Dn_EZ_k2.js} +2 -2
- package/dist/{Index-CLdIolDF.js → Index-STi0ufm3.js} +2 -2
- package/dist/{Index-DBozFV2a.js → Index-l8RB4z_B.js} +4 -4
- package/dist/{Index-DKKc3zZQ.js → Index-phqgcko1.js} +6 -6
- package/dist/{Index-Cnnkb8ey.js → Index-xKr7qP9f.js} +4 -4
- package/dist/{Index.vue_vue_type_script_lang-CUl4C9jx.js → Index.vue_vue_type_script_lang-DsCnlKNn.js} +2 -2
- package/dist/{InputToggleRow-e1gC6XnA.js → InputToggleRow-BiyZz3ua.js} +1 -1
- package/dist/{ManualPopover-BbqVfuJE.js → ManualPopover-CFwiZHZw.js} +1 -1
- package/dist/{MediaWrapper-Bqy-cGev.js → MediaWrapper-B6flFwa-.js} +3 -3
- package/dist/{NotBindingText-_GKq6jSE.js → NotBindingText-CyfRBqiL.js} +2 -2
- package/dist/{PackageGroup-IiQ0mqWg.js → PackageGroup-DDgLD4Yb.js} +5 -5
- package/dist/{PdfTerms-CO7SxSke.js → PdfTerms-zEPJCgb-.js} +2 -2
- package/dist/{PdfViewer-apckUEAj.js → PdfViewer-BNFYiBMf.js} +2 -2
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-gCh1Q-qi.js → PlainHtml.vue_vue_type_script_setup_true_lang-CPGJZjFh.js} +1 -1
- package/dist/{PriceHeader-CXP09nZ6.js → PriceHeader-B9Mk_GDV.js} +7 -7
- package/dist/{SearchApi-CQOtHW43.js → SearchApi-BsSeYGH9.js} +1 -1
- package/dist/{SendForm-C3v06Gwx.js → SendForm-Ci2s-FsJ.js} +8 -8
- package/dist/{Setup-Dr37DSNY.js → Setup-C5uQOyWH.js} +1 -1
- package/dist/{SmartList-Opr_24HD.js → SmartList-BglLgQmN.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DtvYuVUg.js → Sortable.vue_vue_type_script_setup_true_lang-C-Uy1WwV.js} +1 -1
- package/dist/{TermsSettings-P8IWZn08.js → TermsSettings-BUXZ0GDb.js} +34 -32
- package/dist/{ThemeColorRow-BdXx5ClL.js → ThemeColorRow-EJd126k7.js} +3 -3
- package/dist/{ToggleBinding-BZyqWBnB.js → ToggleBinding-Bxx2OzYq.js} +4 -4
- package/dist/{UploadModal-6E9HzkQ0.js → UploadModal-BjrFM0lw.js} +13 -11
- package/dist/{VideoPlayerInput-DRcDC2q-.js → VideoPlayerInput-o2GX5-Ma.js} +4 -4
- package/dist/{VideoPlayerSettings-Dw7zEg1k.js → VideoPlayerSettings-DXSwsMJl.js} +2 -2
- package/dist/{VideoSelectModal-DIV9-62A.js → VideoSelectModal-BI0-L5dG.js} +3 -3
- package/dist/{focusDrawerMixin-CrKt75PZ.js → focusDrawerMixin-Dz9oC1MR.js} +1 -1
- package/dist/{formDrawerState-BesayjqS.js → formDrawerState-0vhg7tV-.js} +1 -1
- package/dist/fortnoxTheme-B0DA1l7P.js +8 -0
- package/dist/{helpers-DOdzW9pA.js → helpers-Dkn2xKzv.js} +1 -1
- package/dist/{index-DINik6UH.js → index-Bw8qzZRS.js} +1 -1
- package/dist/{index-DWwjiiMe.js → index-D-NDkjvk.js} +1 -1
- package/dist/{index-BHg-4y6B.js → index-DI9iTlQc.js} +8 -8
- package/dist/{index-DNQzIGHD.js → index-DNBN1EEl.js} +642 -565
- package/dist/{index-BnjVWyGe.js → index-Dkh_SXlu.js} +3 -3
- package/dist/{index-DDfG6A20.js → index-c4rO163H.js} +1 -1
- package/dist/{index-Cl5j-fNE.js → index-dqh4rth1.js} +1 -1
- package/dist/index.es.js +3 -33
- package/dist/index.umd.js +142 -142
- package/dist/{main-C18owm58.js → main-DAjWLLG0.js} +5116 -5085
- package/dist/{mapFormMixin-bA_KI0pt.js → mapFormMixin-CFaAoXxf.js} +4 -4
- package/dist/{omit-BVoDlsuC.js → omit-5nzNft5F.js} +2 -2
- package/dist/{publicSenderState-BR7541Fw.js → publicSenderState-BaH8Utk8.js} +1 -1
- package/dist/{splitpanes-OUpaQjCW.js → splitpanes-CxaAqPCT.js} +1 -1
- package/dist/{template-Y3wS95il.js → template-CHAQR6C-.js} +1 -1
- package/dist/{tippy.esm-CQD-ZLcV.js → tippy.esm-DYmyPdOc.js} +5 -5
- package/dist/{useTermsModal-DS9T_NyM.js → useTermsModal-aIBQHQEU.js} +4 -4
- package/dist/{utils-DwKlp8_z.js → utils-CiYKHNqS.js} +1 -1
- package/dist/{validation-b_jF-CIN.js → validation-BRPTZqtn.js} +2 -2
- package/dist/validations-ohsJ5nBz.js +34 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-DEBrME_f.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as N } from "./CSkeleton-
|
|
2
|
-
import { _ as b, b4 as D, b5 as S, b as y, a4 as O, d as l, o as a, j as o, x as u, c as w, e as _, F as k, f as v, q as B, t as h, u as q, a as A, T as j, n as F, af as V, aD as H, w as L } from "./main-
|
|
1
|
+
import { C as N } from "./CSkeleton-Bxdz5nlu.js";
|
|
2
|
+
import { _ as b, b4 as D, b5 as S, b as y, a4 as O, d as l, o as a, j as o, x as u, c as w, e as _, F as k, f as v, q as B, t as h, u as q, a as A, T as j, n as F, af as V, aD as H, w as L } from "./main-DAjWLLG0.js";
|
|
3
3
|
const G = {
|
|
4
4
|
name: "EventItem",
|
|
5
5
|
components: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as f } from "./DocumentLayout-
|
|
2
|
-
import { _ as s, r as _, b as c, d as V, o, T as y, c as u } from "./main-
|
|
3
|
-
import "./template-
|
|
4
|
-
import { u as D } from "./validation-
|
|
5
|
-
import { D as F } from "./DocumentVoided-
|
|
1
|
+
import { D as f } from "./DocumentLayout-B2vKSnWD.js";
|
|
2
|
+
import { _ as s, r as _, b as c, d as V, o, T as y, c as u } from "./main-DAjWLLG0.js";
|
|
3
|
+
import "./template-CHAQR6C-.js";
|
|
4
|
+
import { u as D } from "./validation-BRPTZqtn.js";
|
|
5
|
+
import { D as F } from "./DocumentVoided-rZxx0TDM.js";
|
|
6
6
|
const r = _({
|
|
7
7
|
canEdit: !1,
|
|
8
8
|
isForm: !1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a7 as S, A as x, d as g, o as u, j as B, W as w, _ as I, p as X, J as N, b_ as Y, l as W, b$ as A, b, c as v, e as L, w as y, F, n as V, R as $, ap as O, i as Z, z as ee, a3 as te, D as R,
|
|
2
|
-
import "./template-
|
|
3
|
-
import { C as ye, a as he } from "./CDropdownItem-
|
|
4
|
-
import "./helpers-
|
|
1
|
+
import { a7 as S, A as x, d as g, o as u, j as B, W as w, _ as I, p as X, J as N, b_ as Y, l as W, b$ as A, b, c as v, e as L, w as y, F, n as V, R as $, ap as O, i as Z, z as ee, a3 as te, D as R, q as P, t as p, I as k, r as oe, a5 as ne, az as ae, H as _, c0 as se, bs as le, bt as re, c1 as ie, T as j, X as ce, a1 as ue, f as C, c2 as de, c3 as me, a2 as pe, x as fe } from "./main-DAjWLLG0.js";
|
|
2
|
+
import "./template-CHAQR6C-.js";
|
|
3
|
+
import { C as ye, a as he } from "./CDropdownItem-CZO28TQW.js";
|
|
4
|
+
import "./helpers-Dkn2xKzv.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) => {
|
|
@@ -109,7 +109,7 @@ const Ce = {
|
|
|
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-Ckr5i1Li.js"), "../blocks/attachments/Index.vue": () => import("./Index-CRAk8dmP.js"), "../blocks/coverBlock/Index.vue": () => import("./Index-DSTJ0ZME.js"), "../blocks/custom/Index.vue": () => import("./Index-CKisxkqL.js"), "../blocks/docChapter/Index.vue": () => import("./Index-STi0ufm3.js"), "../blocks/docChapterSub/Index.vue": () => import("./Index-CN1flEMh.js"), "../blocks/docParties/Index.vue": () => import("./Index-BuPSt_Hb.js"), "../blocks/embed/Index.vue": () => import("./Index-DR3O2rVd.js"), "../blocks/estimatedTimeToCompleteText/Index.vue": () => import("./Index-BlBA6eMl.js"), "../blocks/estimatedWorkStartAndEndAtText/Index.vue": () => import("./Index-38AEfgHb.js"), "../blocks/extraWorkConstructionPricingList/Index.vue": () => import("./Index-l8RB4z_B.js"), "../blocks/extraWorkTimeImpactText/Index.vue": () => import("./Index-DGq9TdPd.js"), "../blocks/header/Index.vue": () => import("./Index-DCWl_6gz.js"), "../blocks/multiGroupPricing/Index.vue": () => import("./Index-CcSq7dWo.js"), "../blocks/notBinding/Index.vue": () => import("./Index-DAcRb0rT.js"), "../blocks/packageGroup/Index.vue": () => import("./Index-CcOeCvOe.js"), "../blocks/pdf/Index.vue": () => import("./Index-C_2Gf2Da.js"), "../blocks/presentation/Index.vue": () => import("./Index-D1PUyqFa.js"), "../blocks/terms/Index.vue": () => import("./Index-CyYFJf0D.js"), "../blocks/textContent/Index.vue": () => import("./Index-DAI1qHEl.js"), "../blocks/videoPlayer/Index.vue": () => import("./Index-phqgcko1.js"), "../blocks/workAddressText/Index.vue": () => import("./Index-DfMMDolH.js") }), `../blocks/${this.componentName}/Index.vue`, 4);
|
|
113
113
|
},
|
|
114
114
|
isPdfPrintAndPdfBlock() {
|
|
115
115
|
var e, t;
|
|
@@ -166,10 +166,10 @@ function Se(e, t, o, n, s, a) {
|
|
|
166
166
|
_: 1
|
|
167
167
|
}, 16, ["class", "enable-spacing-x", "pdf-spacing-x", "enable-spacing-y", "onInput", "onRemove"])) : L("", !0);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const G = /* @__PURE__ */ I(Ce, [["render", Se]]), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
170
170
|
__proto__: null,
|
|
171
|
-
default:
|
|
172
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
171
|
+
default: G
|
|
172
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = "data-is-preview", De = Z.google.fontsKey, Be = "https://www.googleapis.com/webfonts/v1/webfonts", Le = "https://fonts.googleapis.com/css", M = {
|
|
173
173
|
100: { label: "Thin", value: "100" },
|
|
174
174
|
200: { label: "Extra Light", value: "200" },
|
|
175
175
|
300: { label: "Light", value: "300" },
|
|
@@ -179,12 +179,12 @@ const z = /* @__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(
|
|
184
|
-
return o !== null && o.getAttribute(
|
|
182
|
+
}, z = (e) => `font-${e.replace(/\s+/g, "-").toLowerCase()}`, Fe = (e, t = !1) => {
|
|
183
|
+
const o = document.getElementById(z(e));
|
|
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 = z(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
|
}, U = (e, t = !1) => {
|
|
@@ -283,11 +283,11 @@ const J = (e = []) => (e || []).filter((t) => !!M[t]).map((t) => M[t]), ot = asy
|
|
|
283
283
|
itemHeight: 35
|
|
284
284
|
});
|
|
285
285
|
return (c, f) => (u(), g("div", $(k(i), { style: a.value }), [
|
|
286
|
-
B("div", re(
|
|
286
|
+
B("div", le(re(k(r))), [
|
|
287
287
|
(u(!0), g(F, null, V(k(l), (d) => (u(), v(K, {
|
|
288
288
|
key: d.index,
|
|
289
289
|
source: d.data
|
|
290
|
-
},
|
|
290
|
+
}, ie({ _: 2 }, [
|
|
291
291
|
c.$slots.footer ? {
|
|
292
292
|
name: "footer",
|
|
293
293
|
fn: y(() => [
|
|
@@ -477,7 +477,7 @@ const Re = ({ json: e, prefix: t = "" } = {}) => Object.keys(e || {}).map((o) =>
|
|
|
477
477
|
jsonToCss: Re
|
|
478
478
|
}
|
|
479
479
|
};
|
|
480
|
-
function
|
|
480
|
+
function Ge(e, t, o, n, s, a) {
|
|
481
481
|
return o.json ? (u(), v(O("style"), { key: 0 }, {
|
|
482
482
|
default: y(() => [
|
|
483
483
|
P(p(a.jsonToCss({ json: o.json, prefix: o.prefix })), 1)
|
|
@@ -485,7 +485,7 @@ function ze(e, t, o, n, s, a) {
|
|
|
485
485
|
_: 1
|
|
486
486
|
})) : L("", !0);
|
|
487
487
|
}
|
|
488
|
-
const
|
|
488
|
+
const Qe = /* @__PURE__ */ I(qe, [["render", Ge]]), ze = /* @__PURE__ */ S({
|
|
489
489
|
__name: "DocumentStyleContainer",
|
|
490
490
|
props: {
|
|
491
491
|
inputStyle: {}
|
|
@@ -525,7 +525,7 @@ const Ge = /* @__PURE__ */ I(qe, [["render", ze]]), Qe = /* @__PURE__ */ S({
|
|
|
525
525
|
]),
|
|
526
526
|
_: 1
|
|
527
527
|
})),
|
|
528
|
-
C(
|
|
528
|
+
C(Qe, {
|
|
529
529
|
json: h.inputStyle,
|
|
530
530
|
prefix: `.${r.value}.${r.value}.${r.value} `
|
|
531
531
|
}, null, 8, ["json", "prefix"]),
|
|
@@ -535,8 +535,8 @@ const Ge = /* @__PURE__ */ I(qe, [["render", ze]]), Qe = /* @__PURE__ */ S({
|
|
|
535
535
|
}), Ue = {
|
|
536
536
|
name: "DocumentLayout",
|
|
537
537
|
components: {
|
|
538
|
-
DynamicChapter:
|
|
539
|
-
DocumentStyleContainer:
|
|
538
|
+
DynamicChapter: G,
|
|
539
|
+
DocumentStyleContainer: ze
|
|
540
540
|
},
|
|
541
541
|
props: {
|
|
542
542
|
document: {
|
|
@@ -585,8 +585,8 @@ const Je = /* @__PURE__ */ I(Ue, [["render", Ke]]), st = /* @__PURE__ */ Object.
|
|
|
585
585
|
export {
|
|
586
586
|
Je as D,
|
|
587
587
|
nt as F,
|
|
588
|
-
|
|
589
|
-
|
|
588
|
+
ze as _,
|
|
589
|
+
G as a,
|
|
590
590
|
st as b,
|
|
591
591
|
ot as g,
|
|
592
592
|
at as i,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as _ } from "./publicSenderState-
|
|
2
|
-
import { C as w, a as C } from "./CDropdownItem-
|
|
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-
|
|
1
|
+
import { s as _ } from "./publicSenderState-BaH8Utk8.js";
|
|
2
|
+
import { C as w, a as C } from "./CDropdownItem-CZO28TQW.js";
|
|
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-DAjWLLG0.js";
|
|
4
4
|
const B = {
|
|
5
5
|
name: "DocumentLogotype",
|
|
6
6
|
components: {
|
|
7
7
|
CDropdown: C,
|
|
8
8
|
CDropdownItem: w,
|
|
9
9
|
ImageUploadWrapper: L(
|
|
10
|
-
() => import("./ImageUploadWrapper-
|
|
10
|
+
() => import("./ImageUploadWrapper-DWmlB4Ha.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 { af as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-
|
|
1
|
+
import { _ as p } from "./CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js";
|
|
2
|
+
import { u as f } from "./index-D-NDkjvk.js";
|
|
3
|
+
import { af as h, _ as b, X as g, b as d, c as w, o as V, w as l, f as o, q as _, t as v, W as y } from "./main-DAjWLLG0.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(
|
|
@@ -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, n as b, x as y } from "./main-
|
|
1
|
+
import { b as h } from "./CDropdownItem-CZO28TQW.js";
|
|
2
|
+
import z from "./EmbedInput-C-bORXEJ.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, n as b, x as y } from "./main-DAjWLLG0.js";
|
|
4
4
|
const C = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "embedSettings",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as n, az as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as v, _ as y } from "./main-
|
|
1
|
+
import { a7 as n, az as i, H as a, b as m, d as p, o as d, j as t, f as _, t as u, x as r, W as v, _ as y } from "./main-DAjWLLG0.js";
|
|
2
2
|
const f = /* @__PURE__ */ n({
|
|
3
3
|
__name: "ErrorCallout",
|
|
4
4
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as c } from "./PdfViewer-
|
|
2
|
-
import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, an as I } from "./main-
|
|
1
|
+
import { V as c } from "./PdfViewer-BNFYiBMf.js";
|
|
2
|
+
import { _ as h, S as k, b as m, a4 as y, d as i, o, j as n, t as x, u as a, x as v, c as g, e as w, an as I } from "./main-DAjWLLG0.js";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
@@ -1,12 +1,12 @@
|
|
|
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, q as w, t as h, j as l, e as z, W as B, F as _, n as A, au as $, a5 as V, i as L, b6 as R, a0 as O, T as D, u as W, an as T, b7 as q, ai as N, x as M } from "./main-
|
|
7
|
-
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { b as K } from "./CDropdownItem-
|
|
9
|
-
import { t as G } from "./template-
|
|
1
|
+
import { m as S } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { T as F } from "./ThemeColorRow-EJd126k7.js";
|
|
3
|
+
import U from "./VideoPlayerInput-o2GX5-Ma.js";
|
|
4
|
+
import j from "./ImageUploadWrapper-DWmlB4Ha.js";
|
|
5
|
+
import { B as P, a as H } from "./index-Dkh_SXlu.js";
|
|
6
|
+
import { _ as I, b as g, c as x, o as a, w as c, d as u, f as p, q as w, t as h, j as l, e as z, W as B, F as _, n as A, au as $, a5 as V, i as L, b6 as R, a0 as O, T as D, u as W, an as T, b7 as q, ai as N, x as M } from "./main-DAjWLLG0.js";
|
|
7
|
+
import { _ as E } from "./CFormField.vue_vue_type_script_setup_true_lang-DoO3uBt-.js";
|
|
8
|
+
import { b as K } from "./CDropdownItem-CZO28TQW.js";
|
|
9
|
+
import { t as G } from "./template-CHAQR6C-.js";
|
|
10
10
|
const J = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
@@ -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, q as i, t as m, au as C, a5 as p, i as u } from "./main-
|
|
1
|
+
import _ from "./ImageUploadWrapper-DWmlB4Ha.js";
|
|
2
|
+
import { B as I, a as B } from "./index-Dkh_SXlu.js";
|
|
3
|
+
import { _ as k, b as n, c as U, o as v, w as a, f as l, q as i, t as m, au as C, a5 as p, i as u } from "./main-DAjWLLG0.js";
|
|
4
4
|
const S = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import re from "./BaseUpload-
|
|
2
|
-
import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-
|
|
1
|
+
import re from "./BaseUpload-nxVqZX3O.js";
|
|
2
|
+
import { c as y, o as w, T as B, b as T, f as R, w as $, F as Et, n as Ct, ap as nt, u as Bt, v as Ut, R as st, e as ft, an as Rt, _ as kt, d as Ft, j as pt, q as ae, t as he, aB as ce } from "./main-DAjWLLG0.js";
|
|
3
3
|
function Tt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { _ as p, l as e, b as o, c as a, o as s } from "./main-
|
|
1
|
+
import { m as i } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { _ as p, l as e, b as o, c as a, o as s } from "./main-DAjWLLG0.js";
|
|
3
3
|
const u = {
|
|
4
4
|
name: "EstimatedWorkStartAndEndAtText",
|
|
5
5
|
components: {
|
|
6
|
-
Read: e(() => import("./Index-
|
|
7
|
-
Edit: e(() => import("./Index-
|
|
6
|
+
Read: e(() => import("./Index-Dn_EZ_k2.js")),
|
|
7
|
+
Edit: e(() => import("./Index-BepK484N.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [i(["startAt", "endAt"])]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { C as S } from "./CSelect-
|
|
3
|
-
import { b as A } from "./CDropdownItem-
|
|
4
|
-
import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, q as l, t as n, w as k, F as V, n as y, aI as E } from "./main-
|
|
5
|
-
import { u as O } from "./index-
|
|
6
|
-
import { a as d } from "./index-
|
|
1
|
+
import { m as D } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { C as S } from "./CSelect-DVCPHAdo.js";
|
|
3
|
+
import { b as A } from "./CDropdownItem-CZO28TQW.js";
|
|
4
|
+
import { _ as U, b as v, d as u, o as p, f as h, e as f, j as i, q as l, t as n, w as k, F as V, n as y, aI as E } from "./main-DAjWLLG0.js";
|
|
5
|
+
import { u as O } from "./index-D-NDkjvk.js";
|
|
6
|
+
import { a as d } from "./index-Bw8qzZRS.js";
|
|
7
7
|
const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 : !0, C = {
|
|
8
8
|
name: "ExtraWorkTimeImpactTextEdit",
|
|
9
9
|
i18nOptions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { I as d } from "./InputToggleRow-
|
|
3
|
-
import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-
|
|
1
|
+
import { m as o } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { I as d } from "./InputToggleRow-BiyZz3ua.js";
|
|
3
|
+
import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-DAjWLLG0.js";
|
|
4
4
|
const A = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "estimatedTimeStartEnd",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as u } from "./mapFormMixin-
|
|
2
|
-
import { _ as r, l as t, b as o, c as i, o as m } from "./main-
|
|
1
|
+
import { m as u } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { _ as r, l as t, b as o, c as i, o as m } from "./main-DAjWLLG0.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-DikWyKIw.js")),
|
|
7
|
+
Edit: t(() => import("./Index-C2jLt_-J.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [u(["noOfTimeUnits", "timeUnit"])]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as E } from "./mapFormMixin-
|
|
2
|
-
import { C as z } from "./CCallout-
|
|
3
|
-
import { C as K, a as B } from "./CDropdownItem-
|
|
4
|
-
import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, q as b, x as V, l as M, e as y, w as h, f as w, n as I, af as N } from "./main-
|
|
5
|
-
import { C as O } from "./CPhoneFormat-
|
|
1
|
+
import { m as E } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { C as z } from "./CCallout-Db9YEwws.js";
|
|
3
|
+
import { C as K, a as B } from "./CDropdownItem-CZO28TQW.js";
|
|
4
|
+
import { _ as A, b as v, d as c, o as n, j as g, t as u, c as f, F as C, q as b, x as V, l as M, e as y, w as h, f as w, n as I, af as N } from "./main-DAjWLLG0.js";
|
|
5
|
+
import { C as O } from "./CPhoneFormat-CUtvNKnk.js";
|
|
6
6
|
const $ = {
|
|
7
7
|
name: "DocPartiesItem",
|
|
8
8
|
components: {
|
|
@@ -53,10 +53,10 @@ function L(e, o, t, i, s, l) {
|
|
|
53
53
|
}
|
|
54
54
|
const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5a104f72"]]), T = {
|
|
55
55
|
client: M(
|
|
56
|
-
() => import("./ClientModal-
|
|
56
|
+
() => import("./ClientModal-oTn-trfu.js").then((e) => e.b)
|
|
57
57
|
),
|
|
58
58
|
company: M(
|
|
59
|
-
() => import("./CompanyModal-
|
|
59
|
+
() => import("./CompanyModal-DzXAdbGd.js")
|
|
60
60
|
)
|
|
61
61
|
}, G = {
|
|
62
62
|
i18nOptions: {
|
|
@@ -69,7 +69,7 @@ const R = /* @__PURE__ */ A($, [["render", L], ["__scopeId", "data-v-5a104f72"]]
|
|
|
69
69
|
CDropdown: B,
|
|
70
70
|
CDropdownItem: K,
|
|
71
71
|
AddClientCallout: M(
|
|
72
|
-
() => import("./AddClientCallout-
|
|
72
|
+
() => import("./AddClientCallout-DOzqL6Ei.js")
|
|
73
73
|
)
|
|
74
74
|
},
|
|
75
75
|
emits: ["input"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as s } from "./mapFormMixin-
|
|
2
|
-
import { I as u } from "./InputToggleRow-
|
|
3
|
-
import { C as f } from "./CSelect-
|
|
4
|
-
import { _ as h, b as m, c as T, o as c, w as l, f as a, j as n, t as i } from "./main-
|
|
1
|
+
import { m as s } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { I as u } from "./InputToggleRow-BiyZz3ua.js";
|
|
3
|
+
import { C as f } from "./CSelect-DVCPHAdo.js";
|
|
4
|
+
import { _ as h, b as m, c as T, o as c, w as l, f as a, j as n, t as i } from "./main-DAjWLLG0.js";
|
|
5
5
|
const U = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "estimatedTimeToCompleteText",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as O } from "./mapFormMixin-
|
|
2
|
-
import { f as a, bn as C, af as k, aT as U, ah as v, u as $, I as B, be as N, d as u, o as d, X as A, _ as M, b as l, j as f, F as j, n as I, x as S, t as b, W as V, bo as P, c as L, w as p, an as R, e as y, q as F, bp as w, bq as x, br as J } from "./main-
|
|
3
|
-
import { g as q, M as W } from "./splitpanes-
|
|
1
|
+
import { m as O } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import { f as a, bn as C, af as k, aT as U, ah as v, u as $, I as B, be as N, d as u, o as d, X as A, _ as M, b as l, j as f, F as j, n as I, x as S, t as b, W as V, bo as P, c as L, w as p, an as R, e as y, q as F, bp as w, bq as x, br as J } from "./main-DAjWLLG0.js";
|
|
3
|
+
import { g as q, M as W } from "./splitpanes-CxaAqPCT.js";
|
|
4
4
|
import { e as z } from "./dom-DOcGU3-g.js";
|
|
5
5
|
const K = `
|
|
6
6
|
/*! 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}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as f, J as h, H as n, b as k, d as r, e as d, o as c, j as i, c as y, ai as b, t as B, T as E, _ as g } from "./main-
|
|
1
|
+
import { a7 as f, J as h, H as n, b as k, d as r, e as d, o as c, j as i, c as y, ai as b, t as B, T as E, _ as g } from "./main-DAjWLLG0.js";
|
|
2
2
|
const w = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "sub-chapter"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import k from "./FilePreviewModal-
|
|
3
|
-
import { _ as F, T as S, ab as A, l as g, b as i, d as p, o as l, f as c, e as B, w, j as v, F as y, n as U, c as $, q as j, t as _, ac as z } from "./main-
|
|
1
|
+
import { m as C } from "./mapFormMixin-CFaAoXxf.js";
|
|
2
|
+
import k from "./FilePreviewModal-egIS6jnw.js";
|
|
3
|
+
import { _ as F, T as S, ab as A, l as g, b as i, d as p, o as l, f as c, e as B, w, j as v, F as y, n as U, c as $, q as j, t as _, ac as z } from "./main-DAjWLLG0.js";
|
|
4
4
|
const M = {
|
|
5
5
|
name: "FilePreviewWrapper",
|
|
6
6
|
props: {
|
|
@@ -46,10 +46,10 @@ const M = {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
function V(e, t, o, r,
|
|
49
|
+
function V(e, t, o, r, a, s) {
|
|
50
50
|
return S(e.$slots, "default", {
|
|
51
|
-
openModal: (
|
|
52
|
-
isImageOrPdf: (
|
|
51
|
+
openModal: (n) => s.FilePreviewModal(n),
|
|
52
|
+
isImageOrPdf: (n) => s.isImage(n) || s.isPdf(n)
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
|
|
@@ -57,9 +57,9 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
|
|
|
57
57
|
components: {
|
|
58
58
|
FilePreviewWrapper: L,
|
|
59
59
|
BaseUpload: g(
|
|
60
|
-
() => import("./BaseUpload-
|
|
60
|
+
() => import("./BaseUpload-nxVqZX3O.js")
|
|
61
61
|
),
|
|
62
|
-
AttachmentItem: g(() => import("./AttachmentItem-
|
|
62
|
+
AttachmentItem: g(() => import("./AttachmentItem-DTqI5mwy.js"))
|
|
63
63
|
},
|
|
64
64
|
mixins: [C(["attachments"])],
|
|
65
65
|
data() {
|
|
@@ -94,15 +94,24 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
|
|
|
94
94
|
methods: {
|
|
95
95
|
immutable: A,
|
|
96
96
|
async onUploadSuccess(e) {
|
|
97
|
-
const {
|
|
97
|
+
const {
|
|
98
|
+
id: t,
|
|
99
|
+
displayName: o,
|
|
100
|
+
url: r,
|
|
101
|
+
mime: a,
|
|
102
|
+
hash: s,
|
|
103
|
+
algorithm: n
|
|
104
|
+
} = e.response;
|
|
98
105
|
if (!t) throw new Error("Could not read id from uploaded file");
|
|
99
106
|
this.attachments = [
|
|
100
107
|
...this.attachments,
|
|
101
108
|
{
|
|
102
109
|
fileId: t,
|
|
103
110
|
name: o,
|
|
104
|
-
mime:
|
|
105
|
-
url: r
|
|
111
|
+
mime: a,
|
|
112
|
+
url: r,
|
|
113
|
+
hash: s,
|
|
114
|
+
algorithm: n
|
|
106
115
|
}
|
|
107
116
|
], this.$refs.uploader.remove(e);
|
|
108
117
|
},
|
|
@@ -116,13 +125,13 @@ const L = /* @__PURE__ */ F(M, [["render", V]]), N = {
|
|
|
116
125
|
key: 1,
|
|
117
126
|
class: "flex items-center justify-center space-x-2 border border-gray-200 p-2 sm:p-4"
|
|
118
127
|
}, R = { class: "text-gray-500" };
|
|
119
|
-
function W(e, t, o, r,
|
|
120
|
-
const
|
|
128
|
+
function W(e, t, o, r, a, s) {
|
|
129
|
+
const n = i("AttachmentItem"), x = i("FilePreviewWrapper"), P = i("BaseUpload"), I = i("CButton"), b = i("CIcon");
|
|
121
130
|
return l(), p("div", E, [
|
|
122
131
|
c(x, { list: s.cAttachments }, {
|
|
123
132
|
default: w(({ openModal: u, isImageOrPdf: h }) => [
|
|
124
133
|
v("div", null, [
|
|
125
|
-
(l(!0), p(y, null, U(s.cAttachments, (m, d) => (l(), $(
|
|
134
|
+
(l(!0), p(y, null, U(s.cAttachments, (m, d) => (l(), $(n, {
|
|
126
135
|
key: d,
|
|
127
136
|
"is-image-or-pdf": h(m.mime),
|
|
128
137
|
attachment: m,
|
|
@@ -139,11 +148,11 @@ function W(e, t, o, r, n, s) {
|
|
|
139
148
|
e.canEdit ? (l(), p(y, { key: 0 }, [
|
|
140
149
|
c(P, {
|
|
141
150
|
ref: "uploader",
|
|
142
|
-
modelValue:
|
|
143
|
-
"onUpdate:modelValue": t[0] || (t[0] = (u) =>
|
|
151
|
+
modelValue: a.newFiles,
|
|
152
|
+
"onUpdate:modelValue": t[0] || (t[0] = (u) => a.newFiles = u),
|
|
144
153
|
"recent-modal": s.showRecentModal,
|
|
145
154
|
"autostart-upload": !0,
|
|
146
|
-
"max-size":
|
|
155
|
+
"max-size": a.maxFileSize,
|
|
147
156
|
extensions: "png,gif,jpg,jpeg,svg,bmp,heic,heif,pdf,txt,odp,ods,odt,rtf,doc,docx,xls,xlsx,ppt,pptx,csv,ogv,mp4,webm,m4v,ogg,mp3,wav,zip,rar,json,7z,mpeg,oga,ogv,vsd,weba,webm,webp,xml,gz,tif,jfif,dwg,dwf,dwfx,dwt,msg,ai,psd,md,markdown,mdown,markdn",
|
|
148
157
|
accept: "*",
|
|
149
158
|
onUploadSuccess: s.onUploadSuccess
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { f as e, aH as c, s as u, q as d, _ as h } from "./main-
|
|
1
|
+
import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-CPGJZjFh.js";
|
|
2
|
+
import { f as e, aH as c, s as u, q as d, _ as h } from "./main-DAjWLLG0.js";
|
|
3
3
|
import { s as g } from "./dom-DOcGU3-g.js";
|
|
4
4
|
const f = {
|
|
5
5
|
name: "ExtraWorkConstructionPricingListRead",
|