@cling-se/widget 0.19.7 → 0.19.9
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/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-C400wpa7.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-C_vekdpA.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CYeH1VVw.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-DGLogqK4.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-Hbm0GWNw.js} +33 -32
- package/dist/{CCallout-BlglVZrm.js → CCallout-BPCwr3uM.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-CZXWH0mA.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-B9dja0RC.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-C1cjsMVZ.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-DwcIFaqz.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-C_PfAhRb.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-D4A_clvT.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-h81Vudx0.js} +16 -16
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-B_R7zgvM.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-CBJgrb_y.js} +44 -44
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-a5yTVc0q.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-sRTrUPOY.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-Cwd6t51-.js} +16 -16
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings-8tjji9f1.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-D1ZIH1Hn.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-B5_hBzC-.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-BKQvY0Ie.js} +821 -829
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-z0W-xRJP.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BgbDU24h.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-CNo1u8TK.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint--UV846r0.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-BAkWIKbC.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-Bk6IVg0R.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-D5zDbbXV.js} +4499 -4438
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-KG4zJJOW.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-CXSxwjOt.js} +12 -12
- package/dist/DocumentLayout-C-V_5p3r.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-H0f7bO0E.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-3F7DChD4.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-iG-cDNzZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-DhwFGdKH.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout-CyqQ9iRV.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-CEUhUuh4.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-Bza5Ltob.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-kEbuiv0n.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-MDduQIdS.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-CKJXUAkn.js} +72 -72
- package/dist/{Index-BbVHxVFJ.js → Index--_tbiloB.js} +33 -33
- package/dist/{Index-y_AJP61r.js → Index-437smvNJ.js} +11 -11
- package/dist/{Index-ezY0DbcB.js → Index-8CyLDQv2.js} +5 -5
- package/dist/{Index-Cjg3X74T.js → Index-B1tFrOfN.js} +7 -7
- package/dist/{Index-Ct735UtM.js → Index-BFwz1G_7.js} +2 -2
- package/dist/{Index-BlownK7_.js → Index-BXqNV8F_.js} +7 -7
- package/dist/{Index-B53eUt7Y.js → Index-Bege0Vce.js} +15 -15
- package/dist/{Index-BTDQax0X.js → Index-Bg1kzWCp.js} +60 -59
- package/dist/{Index-9ZFW8Ka7.js → Index-C46cWm4W.js} +7 -7
- package/dist/{Index-C2-s62x7.js → Index-CGhWvSf9.js} +11 -11
- package/dist/{Index-D-gJQEAD.js → Index-CHIQWumi.js} +6 -6
- package/dist/{Index-CQboLS2e.js → Index-CNQhKXtr.js} +8 -8
- package/dist/{Index-COF0evH4.js → Index-CUDi4SEx.js} +6 -6
- package/dist/{Index-Bb6JZC8l.js → Index-ClA923dR.js} +11 -11
- package/dist/{Index-1WPEpaVr.js → Index-D2A8evjo.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-D4XDugcf.js} +27 -27
- package/dist/{Index-GPliVrhC.js → Index-DB3keB-X.js} +7 -7
- package/dist/{Index-BJf4YdYB.js → Index-DQLLCnjH.js} +29 -29
- package/dist/{Index-Dfy0PsiW.js → Index-DUM-3B1l.js} +29 -29
- package/dist/{Index-Ck-_9woY.js → Index-DdZo8evS.js} +456 -461
- package/dist/{Index-CTrX3VRa.js → Index-Doc7K3kL.js} +5 -5
- package/dist/{Index-DfuzxXzD.js → Index-Dqfwe7SG.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-DtCuzght.js} +9 -9
- package/dist/{Index-DOeHci16.js → Index-DtDRffCY.js} +7 -7
- package/dist/{Index-C-EUJjuk.js → Index-DzKdZg0G.js} +2 -2
- package/dist/{Index-yS5OPrJJ.js → Index-DzugmOmj.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-E7OzmtR_.js} +30 -27
- package/dist/{Index-DkQ8_VkX.js → Index-MmvJQvLm.js} +194 -218
- package/dist/{Index-Dxg4gEKd.js → Index-Rb5n5XoO.js} +18 -18
- package/dist/{Index-DAkq_7Ws.js → Index-dTgmxz_A.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-eJiQmHhr.js} +2 -2
- package/dist/Index-jQsYOOC3.js +4 -0
- package/dist/{Index-DzdEqsZB.js → Index-rINXTjpt.js} +16 -16
- package/dist/Index-zRXdiRpy.js +49 -0
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-B9979oeS.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-CO4fZnAC.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-DT4iXoSI.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-CP_1JzGI.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-D9Um3Agp.js} +2 -2
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-BtH12jVM.js} +103 -103
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-sQh93Xit.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-DMAcTVND.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-CG6el7O_.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-B39mMGKy.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-F5aQPz8w.js} +780 -778
- package/dist/{Setup-CdZzn0qW.js → Setup-DuHU2eHC.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-myMj6QGe.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-Bb2Nqdsz.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-Cb6Xms3f.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-oW3xS1pa.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-B-F9_nAf.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-eBx4Vqyo.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-CtTe4JW4.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-Cvz5B4JX.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-CXI0aN4g.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-DlcYhFw8.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-Cf6Q5cuR.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9wqfZh.js} +4 -4
- package/dist/{index-D0Qee2OX.js → index-BSCAjn53.js} +31 -31
- package/dist/{index-Cd4S4J-L.js → index-BStFMzD9.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-BytsFarx.js} +24 -24
- package/dist/{index-DXNrJnEc.js → index-Co_PpOtI.js} +10 -10
- package/dist/{index-BH5vwOzR.js → index-DPlBYqKB.js} +9 -9
- package/dist/{index-B86TZXOh.js → index-DsvlNA3Q.js} +94 -94
- package/dist/{index-CsbYpQqP.js → index-r5v1Gv17.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BkjAGG46.js} +14298 -14373
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-DLFNPgNO.js} +34 -40
- package/dist/omit-CvOSNZN7.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-DeC1m0ps.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-CsJipBiG.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-Cvzvayl5.js} +6 -6
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-JEjGtE5F.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-D2gYy-TP.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DarTPA8c.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-K11g55ZB.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-CXjLkK_n.js +0 -49
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { _ as u, l as r,
|
|
1
|
+
import { m as c } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { _ as u, l as r, b as t, c as o, o as a } from "./main-BkjAGG46.js";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: r(() => import("./Index-
|
|
7
|
-
Edit: r(() => import("./Index-
|
|
6
|
+
Read: r(() => import("./Index-DzKdZg0G.js")),
|
|
7
|
+
Edit: r(() => import("./Index-CUDi4SEx.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [
|
|
@@ -17,13 +17,13 @@ const s = {
|
|
|
17
17
|
]
|
|
18
18
|
};
|
|
19
19
|
function d(e, n, k, g, l, _) {
|
|
20
|
-
const m =
|
|
21
|
-
return e.canEdit ? (
|
|
20
|
+
const m = t("Edit"), p = t("Read");
|
|
21
|
+
return e.canEdit ? (a(), o(m, {
|
|
22
22
|
key: 0,
|
|
23
23
|
_document: e._document,
|
|
24
24
|
_value: e._value,
|
|
25
25
|
onInput: n[0] || (n[0] = (i) => e.$emit("input", i))
|
|
26
|
-
}, null, 8, ["_document", "_value"])) : (
|
|
26
|
+
}, null, 8, ["_document", "_value"])) : (a(), o(p, {
|
|
27
27
|
key: 1,
|
|
28
28
|
_document: e._document,
|
|
29
29
|
"work-price": e.workPrice,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as T } from "./mapFormMixin-
|
|
2
|
-
import { f as w } from "./focusDrawerMixin-
|
|
3
|
-
import { _ as k, l,
|
|
1
|
+
import { m as T } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { f as w } from "./focusDrawerMixin-DlcYhFw8.js";
|
|
3
|
+
import { _ as k, l, b as s, a4 as C, d as p, e as n, o as r, f as u, F as g, u as F, c as d, w as S } from "./main-BkjAGG46.js";
|
|
4
4
|
const _ = {
|
|
5
5
|
name: "Terms",
|
|
6
6
|
i18nOptions: {
|
|
@@ -15,8 +15,8 @@ const _ = {
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
components: {
|
|
18
|
-
Read: l(() => import("./Index-
|
|
19
|
-
TermsSettings: l(() => import("./TermsSettings-
|
|
18
|
+
Read: l(() => import("./Index-437smvNJ.js")),
|
|
19
|
+
TermsSettings: l(() => import("./TermsSettings-Cb6Xms3f.js"))
|
|
20
20
|
},
|
|
21
21
|
emits: ["input"],
|
|
22
22
|
mixins: [
|
|
@@ -36,8 +36,8 @@ const _ = {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
function B(e, t, i, D, m, a) {
|
|
39
|
-
const c =
|
|
40
|
-
return e.isForm || a.hasTerms ? (
|
|
39
|
+
const c = s("Read"), f = s("CButton"), v = s("TermsSettings"), h = s("portal"), y = C("tooltip");
|
|
40
|
+
return e.isForm || a.hasTerms ? (r(), p("div", {
|
|
41
41
|
key: 0,
|
|
42
42
|
onMouseoverPassive: t[2] || (t[2] = (o) => m.showControls = !0),
|
|
43
43
|
onMouseleavePassive: t[3] || (t[3] = (o) => m.showControls = !1),
|
|
@@ -51,8 +51,8 @@ function B(e, t, i, D, m, a) {
|
|
|
51
51
|
text: e.text,
|
|
52
52
|
onInput: t[0] || (t[0] = (o) => e.$emit("input", o))
|
|
53
53
|
}, null, 8, ["_document", "href", "term-type", "file", "text"]),
|
|
54
|
-
e.isForm ? (
|
|
55
|
-
a.hasTerms ? n("", !0) :
|
|
54
|
+
e.isForm ? (r(), p(g, { key: 0 }, [
|
|
55
|
+
a.hasTerms ? n("", !0) : F((r(), d(f, {
|
|
56
56
|
key: 0,
|
|
57
57
|
"icon-props": { size: 18 },
|
|
58
58
|
pattern: "secondary",
|
|
@@ -65,11 +65,11 @@ function B(e, t, i, D, m, a) {
|
|
|
65
65
|
}, null, 8, ["onClick"])), [
|
|
66
66
|
[y, e.$t("noneSelected")]
|
|
67
67
|
]),
|
|
68
|
-
e.showDrawer ? (
|
|
68
|
+
e.showDrawer ? (r(), d(h, {
|
|
69
69
|
key: 1,
|
|
70
70
|
to: "drawer-content"
|
|
71
71
|
}, {
|
|
72
|
-
default:
|
|
72
|
+
default: S(() => [
|
|
73
73
|
u(v, {
|
|
74
74
|
_document: e._document,
|
|
75
75
|
_value: { term: "data.terms" },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as o } from "./mapFormMixin-
|
|
2
|
-
import { I as d } from "./InputToggleRow-
|
|
3
|
-
import { _ as m,
|
|
1
|
+
import { m as o } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { I as d } from "./InputToggleRow-CO4fZnAC.js";
|
|
3
|
+
import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-BkjAGG46.js";
|
|
4
4
|
const A = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "estimatedTimeStartEnd",
|
|
@@ -26,9 +26,9 @@ const A = {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}, v = { style: { display: "inline-flex" } }, f = ["value", "max"], y = ["value", "min"];
|
|
29
|
-
function
|
|
29
|
+
function b(t, e, D, w, I, n) {
|
|
30
30
|
const r = u("InputToggleRow");
|
|
31
|
-
return
|
|
31
|
+
return p(), i(r, {
|
|
32
32
|
"display-value": t.startAt && t.endAt ? `${t.$formatDate(t.startAt)} → ${t.$formatDate(t.endAt)}` : t.$t("_common:add"),
|
|
33
33
|
label: t.$t("label"),
|
|
34
34
|
"show-clear": !!(t.startAt && t.endAt),
|
|
@@ -64,7 +64,7 @@ function D(t, e, b, w, I, n) {
|
|
|
64
64
|
_: 1
|
|
65
65
|
}, 8, ["display-value", "label", "show-clear"]);
|
|
66
66
|
}
|
|
67
|
-
const T = /* @__PURE__ */ m(A, [["render",
|
|
67
|
+
const T = /* @__PURE__ */ m(A, [["render", b]]);
|
|
68
68
|
export {
|
|
69
69
|
T as default
|
|
70
70
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as l } from "./mapFormMixin-
|
|
2
|
-
import { u as c } from "./index-
|
|
3
|
-
import { _ as v, l as p,
|
|
1
|
+
import { m as l } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { u as c } from "./index-DsvlNA3Q.js";
|
|
3
|
+
import { _ as v, l as p, b as s, c as i, o as n } from "./main-BkjAGG46.js";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "PackageGroupBlock",
|
|
6
6
|
components: {
|
|
7
7
|
PackageGroupRead: p(
|
|
8
|
-
() => import("./PackageGroup-
|
|
8
|
+
() => import("./PackageGroup-BtH12jVM.js")
|
|
9
9
|
),
|
|
10
|
-
PackageGroupEdit: p(() => import("./Index-
|
|
10
|
+
PackageGroupEdit: p(() => import("./Index-DdZo8evS.js"))
|
|
11
11
|
},
|
|
12
12
|
emits: ["input", "remove"],
|
|
13
13
|
mixins: [l(["type", "packages"])],
|
|
@@ -51,8 +51,8 @@ const g = {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
function k(e, o, _, a, t, u) {
|
|
54
|
-
const d =
|
|
55
|
-
return e.canEdit ? (
|
|
54
|
+
const d = s("PackageGroupEdit"), m = s("PackageGroupRead");
|
|
55
|
+
return e.canEdit ? (n(), i(d, {
|
|
56
56
|
key: 0,
|
|
57
57
|
"persisted-group": t.persistedGroup,
|
|
58
58
|
"onUpdate:persistedGroup": o[0] || (o[0] = (r) => t.persistedGroup = r),
|
|
@@ -61,7 +61,7 @@ function k(e, o, _, a, t, u) {
|
|
|
61
61
|
validator: a.v$,
|
|
62
62
|
onInput: o[1] || (o[1] = (r) => e.$emit("input", r)),
|
|
63
63
|
onRemove: o[2] || (o[2] = (r) => e.$emit("remove", r))
|
|
64
|
-
}, null, 8, ["persisted-group", "_document", "_value", "validator"])) : (
|
|
64
|
+
}, null, 8, ["persisted-group", "_document", "_value", "validator"])) : (n(), i(m, {
|
|
65
65
|
key: 1,
|
|
66
66
|
_document: e._document,
|
|
67
67
|
_value: u.valuePaths,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { I as g } from "./InputToggleRow-
|
|
3
|
-
import { C as P } from "./CPriceInput-
|
|
4
|
-
import { _ as f,
|
|
1
|
+
import { m as c } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { I as g } from "./InputToggleRow-CO4fZnAC.js";
|
|
3
|
+
import { C as P } from "./CPriceInput-C_PfAhRb.js";
|
|
4
|
+
import { _ as f, b as u, d as p, o as d, j as k, f as a, e as $, t, w as n, q as m } from "./main-BkjAGG46.js";
|
|
5
5
|
const y = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
@@ -46,9 +46,9 @@ const y = {
|
|
|
46
46
|
};
|
|
47
47
|
function b(e, r, V, w, C, I) {
|
|
48
48
|
const s = u("CPriceInput"), i = u("InputToggleRow"), l = u("CInput");
|
|
49
|
-
return
|
|
49
|
+
return d(), p("div", null, [
|
|
50
50
|
k("div", M, [
|
|
51
|
-
e.workPrice || e.managementPrice ? (
|
|
51
|
+
e.workPrice || e.managementPrice ? (d(), p("div", v, t(e.$t("_common:vat.exVat", {
|
|
52
52
|
thing: e.$t("_common:vat.sharedTitle")
|
|
53
53
|
}).capitalize()), 1)) : $("", !0)
|
|
54
54
|
]),
|
|
@@ -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,
|
|
1
|
+
import { m as s } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { I as u } from "./InputToggleRow-CO4fZnAC.js";
|
|
3
|
+
import { C as f } from "./CSelect-D4A_clvT.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-BkjAGG46.js";
|
|
5
5
|
const U = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "estimatedTimeToCompleteText",
|
|
@@ -28,10 +28,10 @@ const U = {
|
|
|
28
28
|
created() {
|
|
29
29
|
this.timeUnit || (this.timeUnit = "day");
|
|
30
30
|
}
|
|
31
|
-
}, $ = { value: "hour" }, w = { value: "day" }, v = { value: "week" },
|
|
32
|
-
function
|
|
33
|
-
const r = m("CSelect"),
|
|
34
|
-
return
|
|
31
|
+
}, $ = { value: "hour" }, w = { value: "day" }, v = { value: "week" }, b = { value: "month" };
|
|
32
|
+
function y(e, o, C, _, g, O) {
|
|
33
|
+
const r = m("CSelect"), p = m("CInput"), d = m("InputToggleRow");
|
|
34
|
+
return c(), T(d, {
|
|
35
35
|
"display-value": e.noOfTimeUnits && e.timeUnit ? `${e.noOfTimeUnits} ${e.$t(`_common:${e.timeUnit}`, {
|
|
36
36
|
count: e.noOfTimeUnits
|
|
37
37
|
})}` : e.$t("_common:add"),
|
|
@@ -40,7 +40,7 @@ function C(e, o, _, b, g, O) {
|
|
|
40
40
|
onRemove: o[2] || (o[2] = (t) => e.noOfTimeUnits = null)
|
|
41
41
|
}, {
|
|
42
42
|
default: l(() => [
|
|
43
|
-
a(
|
|
43
|
+
a(p, {
|
|
44
44
|
modelValue: e.noOfTimeUnits,
|
|
45
45
|
"onUpdate:modelValue": o[1] || (o[1] = (t) => e.noOfTimeUnits = t),
|
|
46
46
|
modelModifiers: { number: !0 },
|
|
@@ -59,7 +59,7 @@ function C(e, o, _, b, g, O) {
|
|
|
59
59
|
n("option", $, i(e.$t("_common:hour_other")), 1),
|
|
60
60
|
n("option", w, i(e.$t("_common:day_other")), 1),
|
|
61
61
|
n("option", v, i(e.$t("_common:week_other")), 1),
|
|
62
|
-
n("option",
|
|
62
|
+
n("option", b, i(e.$t("_common:month_other")), 1)
|
|
63
63
|
]),
|
|
64
64
|
_: 1
|
|
65
65
|
}, 8, ["modelValue", "placeholder"])
|
|
@@ -70,7 +70,7 @@ function C(e, o, _, b, g, O) {
|
|
|
70
70
|
_: 1
|
|
71
71
|
}, 8, ["display-value", "label", "show-clear"]);
|
|
72
72
|
}
|
|
73
|
-
const S = /* @__PURE__ */ h(U, [["render",
|
|
73
|
+
const S = /* @__PURE__ */ h(U, [["render", y]]);
|
|
74
74
|
export {
|
|
75
75
|
S as default
|
|
76
76
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { _ as c, l as e,
|
|
1
|
+
import { m as r } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { _ as c, l as e, b as i, c as m, e as u, o as a } from "./main-BkjAGG46.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
name: "NotBinding",
|
|
5
5
|
components: {
|
|
6
|
-
Edit: e(() => import("./ToggleBinding-
|
|
7
|
-
Read: e(() => import("./NotBindingText-
|
|
6
|
+
Edit: e(() => import("./ToggleBinding-B-F9_nAf.js")),
|
|
7
|
+
Read: e(() => import("./NotBindingText-D9Um3Agp.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [r()]
|
|
11
11
|
};
|
|
12
12
|
function f(n, o, l, B, $, g) {
|
|
13
13
|
var t;
|
|
14
|
-
const d =
|
|
15
|
-
return n.canEdit ? (
|
|
14
|
+
const d = i("Edit"), s = i("Read");
|
|
15
|
+
return n.canEdit ? (a(), m(d, {
|
|
16
16
|
key: 0,
|
|
17
17
|
_document: n._document,
|
|
18
18
|
_value: { notBinding: "data.notBinding" },
|
|
19
19
|
onInput: o[0] || (o[0] = (p) => n.$emit("input", p))
|
|
20
|
-
}, null, 8, ["_document"])) : (t = n._document.data) != null && t.notBinding ? (
|
|
20
|
+
}, null, 8, ["_document"])) : (t = n._document.data) != null && t.notBinding ? (a(), m(s, { key: 1 })) : u("", !0);
|
|
21
21
|
}
|
|
22
22
|
const y = /* @__PURE__ */ c(_, [["render", f]]);
|
|
23
23
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _,
|
|
2
|
-
import { m as T } from "./mapFormMixin-
|
|
3
|
-
import { u as R } from "./DocumentLayout-
|
|
4
|
-
import { C as V } from "./CCallout-
|
|
5
|
-
import { T as W } from "./DocTextEditor-
|
|
6
|
-
import { w as N } from "./CDropdownItem-
|
|
1
|
+
import { _, b as h, a4 as D, u as B, d as a, o as i, f as p, w as v, e as c, c as f, j as t, F as y, n as C, W as w, t as m, x as k, q as x, m as A, a as O, g as S, l as $, al as F, i as q, ap as H, by as L, bz as U, bA as I, af as M } from "./main-BkjAGG46.js";
|
|
2
|
+
import { m as T } from "./mapFormMixin-DLFNPgNO.js";
|
|
3
|
+
import { u as R } from "./DocumentLayout-C-V_5p3r.js";
|
|
4
|
+
import { C as V } from "./CCallout-BPCwr3uM.js";
|
|
5
|
+
import { T as W } from "./DocTextEditor-D5zDbbXV.js";
|
|
6
|
+
import { w as N } from "./CDropdownItem-B9dja0RC.js";
|
|
7
7
|
const G = {
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "components",
|
|
@@ -35,14 +35,14 @@ const G = {
|
|
|
35
35
|
return n === "google" ? this.$t("seeTypeReviews", { type: n.capitalize() }) : (n === "website" && (n = this.$t("_common:website").capitalize()), ["facebook", "instagram", "reco", "linkedin"].includes(n) && (n = n.capitalize()), this.$t("visitOur", { type: n }));
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
},
|
|
38
|
+
}, Q = ["href"], X = {
|
|
39
39
|
key: 0,
|
|
40
40
|
class: "website-icon",
|
|
41
41
|
width: "18",
|
|
42
42
|
height: "18",
|
|
43
43
|
viewBox: "0 0 146 146",
|
|
44
44
|
xmlns: "http://www.w3.org/2000/svg"
|
|
45
|
-
},
|
|
45
|
+
}, Y = {
|
|
46
46
|
key: 2,
|
|
47
47
|
class: "instagram-icon",
|
|
48
48
|
width: "18",
|
|
@@ -56,7 +56,7 @@ const G = {
|
|
|
56
56
|
width: "18",
|
|
57
57
|
height: "18",
|
|
58
58
|
viewBox: "0 0 24 24"
|
|
59
|
-
},
|
|
59
|
+
}, K = {
|
|
60
60
|
key: 4,
|
|
61
61
|
class: "google-icon",
|
|
62
62
|
width: "20",
|
|
@@ -65,7 +65,7 @@ const G = {
|
|
|
65
65
|
"aria-label": "Google",
|
|
66
66
|
role: "img",
|
|
67
67
|
viewBox: "0 0 512 512"
|
|
68
|
-
},
|
|
68
|
+
}, Z = {
|
|
69
69
|
key: 5,
|
|
70
70
|
class: "reco-icon",
|
|
71
71
|
width: "20",
|
|
@@ -88,7 +88,7 @@ function ee(n, s, e, g, r, l) {
|
|
|
88
88
|
class: "text-gray-400"
|
|
89
89
|
}, {
|
|
90
90
|
default: v(() => [
|
|
91
|
-
e.type === "website" ? (i(), a("svg",
|
|
91
|
+
e.type === "website" ? (i(), a("svg", X, s[0] || (s[0] = [
|
|
92
92
|
t("g", {
|
|
93
93
|
transform: "translate(8 8)",
|
|
94
94
|
fill: "none",
|
|
@@ -126,7 +126,7 @@ function ee(n, s, e, g, r, l) {
|
|
|
126
126
|
type: "linkedin",
|
|
127
127
|
class: "linkedin-icon"
|
|
128
128
|
})) : c("", !0),
|
|
129
|
-
e.type === "instagram" ? (i(), a("svg",
|
|
129
|
+
e.type === "instagram" ? (i(), a("svg", Y, s[1] || (s[1] = [
|
|
130
130
|
t("path", { d: "M256 49.471c67.266 0 75.233.257 101.8 1.469 24.562 1.121 37.9 5.224 46.778 8.674a78.052 78.052 0 0 1 28.966 18.845 78.052 78.052 0 0 1 18.845 28.966c3.45 8.877 7.554 22.216 8.674 46.778 1.212 26.565 1.469 34.532 1.469 101.8s-.257 75.233-1.469 101.8c-1.121 24.562-5.225 37.9-8.674 46.778a83.427 83.427 0 0 1-47.811 47.811c-8.877 3.45-22.216 7.554-46.778 8.674-26.56 1.212-34.527 1.469-101.8 1.469s-75.237-.257-101.8-1.469c-24.562-1.121-37.9-5.225-46.778-8.674a78.051 78.051 0 0 1-28.966-18.845 78.053 78.053 0 0 1-18.845-28.966c-3.45-8.877-7.554-22.216-8.674-46.778-1.212-26.564-1.469-34.532-1.469-101.8s.257-75.233 1.469-101.8c1.121-24.562 5.224-37.9 8.674-46.778a78.052 78.052 0 0 1 18.847-28.967 78.053 78.053 0 0 1 28.966-18.845c8.877-3.45 22.216-7.554 46.778-8.674 26.565-1.212 34.532-1.469 101.8-1.469m0-45.391c-68.418 0-77 .29-103.866 1.516-26.815 1.224-45.127 5.482-61.151 11.71a123.488 123.488 0 0 0-44.62 29.057A123.488 123.488 0 0 0 17.3 90.982c-6.223 16.025-10.481 34.337-11.7 61.152C4.369 179 4.079 187.582 4.079 256s.29 77 1.521 103.866c1.224 26.815 5.482 45.127 11.71 61.151a123.489 123.489 0 0 0 29.057 44.62 123.486 123.486 0 0 0 44.62 29.057c16.025 6.228 34.337 10.486 61.151 11.71 26.87 1.226 35.449 1.516 103.866 1.516s77-.29 103.866-1.516c26.815-1.224 45.127-5.482 61.151-11.71a128.817 128.817 0 0 0 73.677-73.677c6.228-16.025 10.486-34.337 11.71-61.151 1.226-26.87 1.516-35.449 1.516-103.866s-.29-77-1.516-103.866c-1.224-26.815-5.482-45.127-11.71-61.151a123.486 123.486 0 0 0-29.057-44.62A123.487 123.487 0 0 0 421.018 17.3c-16.025-6.223-34.337-10.481-61.152-11.7C333 4.369 324.418 4.079 256 4.079z" }, null, -1),
|
|
131
131
|
t("path", { d: "M256 126.635A129.365 129.365 0 1 0 385.365 256 129.365 129.365 0 0 0 256 126.635zm0 213.338A83.973 83.973 0 1 1 339.974 256 83.974 83.974 0 0 1 256 339.973z" }, null, -1),
|
|
132
132
|
t("circle", {
|
|
@@ -138,7 +138,7 @@ function ee(n, s, e, g, r, l) {
|
|
|
138
138
|
e.type === "facebook" ? (i(), a("svg", J, s[2] || (s[2] = [
|
|
139
139
|
t("path", { d: "M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z" }, null, -1)
|
|
140
140
|
]))) : c("", !0),
|
|
141
|
-
e.type === "google" ? (i(), a("svg",
|
|
141
|
+
e.type === "google" ? (i(), a("svg", K, s[3] || (s[3] = [
|
|
142
142
|
t("rect", {
|
|
143
143
|
width: "512",
|
|
144
144
|
height: "512",
|
|
@@ -162,7 +162,7 @@ function ee(n, s, e, g, r, l) {
|
|
|
162
162
|
d: "M153 219c22-69 116-109 179-50l55-54c-78-75-230-72-297 55z"
|
|
163
163
|
}, null, -1)
|
|
164
164
|
]))) : c("", !0),
|
|
165
|
-
e.type === "reco" ? (i(), a("svg",
|
|
165
|
+
e.type === "reco" ? (i(), a("svg", Z, s[4] || (s[4] = [
|
|
166
166
|
t("path", {
|
|
167
167
|
d: "M17.035792 77.21013c.134576 3.81669.650037 7.69152 1.569666 11.59061 8.363034 35.45799 47.039175 59.7296 88.485526 55.77833L89.860598 67.77959l-72.824806 9.43054zm.973286-12.68806l69.398537-7.67594-9.671508-43.10794C45.59368 17.85816 22.942511 38.77825 18.009081 64.52207zm143.02734-15.81978c-14.905342-21.89837-43.103385-36.14241-73.073905-35.69191L99.84883 55.47005l61.187588-6.76776zm5.240304 9.18169l-63.451888 8.21679 21.060817 75.23232c33.769528-10.10888 54.05118-39.73898 46.562981-71.4878-.976607-4.14067-2.383129-8.13748-4.17191-11.96131zm-54.317558 104.49575C61.065612 167.89817 11.730953 136.16134 1.767118 91.49354-8.196717 46.82575 24.983374 6.14176 75.876925.62332c50.893551-5.51844 100.22821 26.21839 110.192045 70.88619 9.963835 44.66779-23.216255 85.35178-74.109806 90.87022z",
|
|
168
168
|
fill: "#000",
|
|
@@ -172,7 +172,7 @@ function ee(n, s, e, g, r, l) {
|
|
|
172
172
|
]),
|
|
173
173
|
_: 1
|
|
174
174
|
})
|
|
175
|
-
], 8,
|
|
175
|
+
], 8, Q)), [
|
|
176
176
|
[u, {
|
|
177
177
|
content: l.tooltipText,
|
|
178
178
|
popperClass: "simple small",
|
|
@@ -487,7 +487,7 @@ const Me = /* @__PURE__ */ _(ge, [["render", xe], ["__scopeId", "data-v-06c5f50d
|
|
|
487
487
|
};
|
|
488
488
|
},
|
|
489
489
|
computed: {
|
|
490
|
-
...
|
|
490
|
+
...O({
|
|
491
491
|
isPostingDocument: "documents2/isPosting"
|
|
492
492
|
})
|
|
493
493
|
},
|
|
@@ -495,7 +495,7 @@ const Me = /* @__PURE__ */ _(ge, [["render", xe], ["__scopeId", "data-v-06c5f50d
|
|
|
495
495
|
this.internalValue = this._document.personalMessage || "";
|
|
496
496
|
},
|
|
497
497
|
methods: {
|
|
498
|
-
...
|
|
498
|
+
...A({
|
|
499
499
|
saveDocument: S.DO_SAVE_DYNDOC,
|
|
500
500
|
// DO SAVE ACTION TO AVOID FORM CLEAR
|
|
501
501
|
loadDocumentForm: S.LOAD_DOCUMENT2_FORM
|
|
@@ -568,10 +568,10 @@ const $e = /* @__PURE__ */ _(Ie, [["render", Se]]), ze = {
|
|
|
568
568
|
AvatarContact: Me,
|
|
569
569
|
CCallout: V,
|
|
570
570
|
IsPremium: $(
|
|
571
|
-
() => import("./index-
|
|
571
|
+
() => import("./index-r5v1Gv17.js").then((n) => n.i).then((n) => n.IsPremium)
|
|
572
572
|
),
|
|
573
573
|
IsPremiumPreStep: $(
|
|
574
|
-
() => import("./index-
|
|
574
|
+
() => import("./index-r5v1Gv17.js").then((n) => n.i).then((n) => n.IsPremiumPreStep)
|
|
575
575
|
)
|
|
576
576
|
},
|
|
577
577
|
mixins: [T([])],
|
|
@@ -808,7 +808,7 @@ function Ne(n, s, e, g, r, l) {
|
|
|
808
808
|
_: 1
|
|
809
809
|
}, 8, ["name"]);
|
|
810
810
|
}
|
|
811
|
-
const Ge = /* @__PURE__ */ _(je, [["render", Ne], ["__scopeId", "data-v-ef137c26"]]), z = q.api.baseUrl,
|
|
811
|
+
const Ge = /* @__PURE__ */ _(je, [["render", Ne], ["__scopeId", "data-v-ef137c26"]]), z = q.api.baseUrl, Qe = {
|
|
812
812
|
props: {
|
|
813
813
|
albums: {
|
|
814
814
|
type: Array,
|
|
@@ -846,28 +846,28 @@ const Ge = /* @__PURE__ */ _(je, [["render", Ne], ["__scopeId", "data-v-ef137c26
|
|
|
846
846
|
return s.href || `${z}/file/${s.publicId}/download`;
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
},
|
|
849
|
+
}, Xe = { class: "album-wrapper" }, Ye = ["onClick"], Je = { class: "ref-wrapper" }, Ke = { class: "ref-bg-wrapper" }, Ze = { class: "ref-title" }, et = { class: "ref-data" };
|
|
850
850
|
function tt(n, s, e, g, r, l) {
|
|
851
|
-
return i(), a("div",
|
|
851
|
+
return i(), a("div", Xe, [
|
|
852
852
|
(i(!0), a(y, null, C(e.albums, (o, d) => (i(), a("div", {
|
|
853
853
|
key: d,
|
|
854
854
|
style: { flex: "1 0 50%" },
|
|
855
855
|
onClick: (u) => l.show(o)
|
|
856
856
|
}, [
|
|
857
857
|
t("div", Je, [
|
|
858
|
-
t("div",
|
|
858
|
+
t("div", Ke, [
|
|
859
859
|
t("div", {
|
|
860
860
|
style: w({ backgroundImage: `url(${l.getThumbnailPath(o)})` }),
|
|
861
861
|
class: "ref-bg"
|
|
862
862
|
}, null, 4)
|
|
863
863
|
]),
|
|
864
|
-
t("div",
|
|
864
|
+
t("div", Ze, m(o.name), 1),
|
|
865
865
|
t("div", et, m(n.$tc("image", { count: o.CompanyReferenceItems.length })), 1)
|
|
866
866
|
])
|
|
867
|
-
], 8,
|
|
867
|
+
], 8, Ye))), 128))
|
|
868
868
|
]);
|
|
869
869
|
}
|
|
870
|
-
const nt = /* @__PURE__ */ _(
|
|
870
|
+
const nt = /* @__PURE__ */ _(Qe, [["render", tt], ["__scopeId", "data-v-5e645a95"]]), st = {
|
|
871
871
|
i18nOptions: {
|
|
872
872
|
namespaces: "Presentation",
|
|
873
873
|
messages: {
|
|
@@ -1071,7 +1071,7 @@ function mt(n, s, e, g, r, l) {
|
|
|
1071
1071
|
class: "presentation-wrapper"
|
|
1072
1072
|
}, [
|
|
1073
1073
|
t("div", lt, m(l.activeBlock.title), 1),
|
|
1074
|
-
(i(), f(
|
|
1074
|
+
(i(), f(H(l.activeBlock.component), L(U({ ...l.activeBlock.props, _document: n._document })), null, 16))
|
|
1075
1075
|
])) : c("", !0)
|
|
1076
1076
|
]),
|
|
1077
1077
|
_: 1
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { m as u } from "./mapFormMixin-
|
|
2
|
-
import { _ as r, l as t, o, c as i,
|
|
1
|
+
import { m as u } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { _ as r, l as t, b as o, c as i, o as m } from "./main-BkjAGG46.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-Dqfwe7SG.js")),
|
|
7
|
+
Edit: t(() => import("./Index-ClA923dR.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [u(["noOfTimeUnits", "timeUnit"])]
|
|
11
11
|
};
|
|
12
12
|
function c(n, e, l, f, _, E) {
|
|
13
|
-
const s =
|
|
14
|
-
return n.canEdit ? (
|
|
13
|
+
const s = o("Edit"), a = o("Read");
|
|
14
|
+
return n.canEdit ? (m(), i(s, {
|
|
15
15
|
key: 0,
|
|
16
16
|
_document: n._document,
|
|
17
17
|
_value: n._value,
|
|
18
18
|
onInput: e[0] || (e[0] = (p) => n.$emit("input", p))
|
|
19
|
-
}, null, 8, ["_document", "_value"])) : (
|
|
19
|
+
}, null, 8, ["_document", "_value"])) : (m(), i(a, {
|
|
20
20
|
key: 1,
|
|
21
21
|
"no-of-time-units": n.noOfTimeUnits,
|
|
22
22
|
"time-unit": n.timeUnit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import { V as F } from "./PdfViewer-
|
|
3
|
-
import { _ as
|
|
1
|
+
import { m as C } from "./mapFormMixin-DLFNPgNO.js";
|
|
2
|
+
import { V as F } from "./PdfViewer-DMAcTVND.js";
|
|
3
|
+
import { _ as x, l as g, b as d, d as t, o as n, u as I, e as f, v as V, x as p, j as a, f as m, t as u, w as P, F as h, q as v, c as S, i as y, y as b } from "./main-BkjAGG46.js";
|
|
4
4
|
const z = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "pdfBlock",
|
|
@@ -21,10 +21,10 @@ const z = {
|
|
|
21
21
|
components: {
|
|
22
22
|
PdfViewer: F,
|
|
23
23
|
FileIcon: g(
|
|
24
|
-
() => import("./Index-
|
|
24
|
+
() => import("./Index-jQsYOOC3.js")
|
|
25
25
|
),
|
|
26
26
|
BaseUpload: g(
|
|
27
|
-
() => import("./BaseUpload-
|
|
27
|
+
() => import("./BaseUpload-DGLogqK4.js")
|
|
28
28
|
)
|
|
29
29
|
},
|
|
30
30
|
mixins: [C(["file"])],
|
|
@@ -55,15 +55,15 @@ const z = {
|
|
|
55
55
|
// Fetch the file from API instead of AWS directly
|
|
56
56
|
fileUrl() {
|
|
57
57
|
if (!this.file || !this.file.url) return null;
|
|
58
|
-
if (this.file.url.startsWith(
|
|
58
|
+
if (this.file.url.startsWith(y.api.baseUrl)) return this.file.url;
|
|
59
59
|
try {
|
|
60
60
|
const { hostname: e } = new URL(this.file.url);
|
|
61
|
-
if (Object.keys(
|
|
62
|
-
(i) => e.includes(
|
|
61
|
+
if (Object.keys(b).some(
|
|
62
|
+
(i) => e.includes(b[i].domain)
|
|
63
63
|
)) return this.file.url;
|
|
64
64
|
} catch {
|
|
65
65
|
}
|
|
66
|
-
return `${
|
|
66
|
+
return `${y.api.baseUrl}/public/fileProxy?url=${encodeURIComponent(
|
|
67
67
|
this.file.url
|
|
68
68
|
)}`;
|
|
69
69
|
}
|
|
@@ -81,27 +81,27 @@ const z = {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}, N = { class: "flex-auto pl-4" }, _ = { class: "text-sm text-gray-600" }, E = { key: 1 };
|
|
84
|
-
function
|
|
85
|
-
const k =
|
|
84
|
+
function O(e, s, i, c, o, r) {
|
|
85
|
+
const k = d("FileIcon"), w = d("CButton"), B = d("BaseUpload"), U = d("PdfViewer");
|
|
86
86
|
return n(), t("div", {
|
|
87
87
|
style: { position: "relative" },
|
|
88
88
|
class: "font-inter print-no-margin",
|
|
89
89
|
onMouseover: s[2] || (s[2] = (l) => o.isHover = !0),
|
|
90
90
|
onMouseleave: s[3] || (s[3] = (l) => o.isHover = !1)
|
|
91
91
|
}, [
|
|
92
|
-
e.canEdit ?
|
|
92
|
+
e.canEdit ? I((n(), t("div", {
|
|
93
93
|
key: 0,
|
|
94
|
-
class:
|
|
94
|
+
class: p([!!e.file && "absolute left-0 right-0 top-2 z-10", "chapter-spacing-x pointer-events-none mx-auto flex max-w-full items-center justify-center"])
|
|
95
95
|
}, [
|
|
96
96
|
a("div", {
|
|
97
|
-
class:
|
|
97
|
+
class: p([!!e.file && "border border-gray-200 !p-2 shadow-lg", "pointer-events-auto flex w-full max-w-[95%] items-center rounded-lg bg-gray-100 !p-4 text-left"])
|
|
98
98
|
}, [
|
|
99
|
-
|
|
99
|
+
m(k, { mime: "application/pdf" }),
|
|
100
100
|
a("div", N, [
|
|
101
101
|
s[4] || (s[4] = a("div", { class: "font-medium" }, "PDF", -1)),
|
|
102
|
-
a("div", _,
|
|
102
|
+
a("div", _, u(e.$t("embedded")) + " " + u(o.numPages ? e.$t("numOfPages", { numPages: o.numPages }) : ""), 1)
|
|
103
103
|
]),
|
|
104
|
-
|
|
104
|
+
m(B, {
|
|
105
105
|
ref: "uploader",
|
|
106
106
|
"autostart-upload": !0,
|
|
107
107
|
"background-drop": !1,
|
|
@@ -112,19 +112,19 @@ function H(e, s, i, c, o, r) {
|
|
|
112
112
|
onUploadSuccess: r.onUploadSuccess,
|
|
113
113
|
style: { display: "contents" }
|
|
114
114
|
}, {
|
|
115
|
-
default:
|
|
116
|
-
|
|
115
|
+
default: P(({ openFilePicker: l }) => [
|
|
116
|
+
m(w, {
|
|
117
117
|
type: e.file ? "none" : "secondary",
|
|
118
118
|
pattern: e.file ? "secondary" : "primary",
|
|
119
119
|
disabled: o.uploadProgress !== null,
|
|
120
120
|
style: { "z-index": "2" },
|
|
121
121
|
onClick: l
|
|
122
122
|
}, {
|
|
123
|
-
default:
|
|
124
|
-
o.uploadProgress !== null ? (n(), t(
|
|
125
|
-
|
|
126
|
-
], 64)) : (n(), t(
|
|
127
|
-
|
|
123
|
+
default: P(() => [
|
|
124
|
+
o.uploadProgress !== null ? (n(), t(h, { key: 0 }, [
|
|
125
|
+
v(u(`${o.uploadProgress}% ${e.$t("_common:uploading")}`), 1)
|
|
126
|
+
], 64)) : (n(), t(h, { key: 1 }, [
|
|
127
|
+
v(u(e.file ? e.$t("_common:change", { thing: e.$t("_common:file") }) : e.$t("upload")), 1)
|
|
128
128
|
], 64))
|
|
129
129
|
]),
|
|
130
130
|
_: 2
|
|
@@ -135,10 +135,10 @@ function H(e, s, i, c, o, r) {
|
|
|
135
135
|
], 2)
|
|
136
136
|
], 2)), [
|
|
137
137
|
[V, r.showControls]
|
|
138
|
-
]) :
|
|
138
|
+
]) : f("", !0),
|
|
139
139
|
e.file ? (n(), t("div", E, [
|
|
140
140
|
a("div", {
|
|
141
|
-
class:
|
|
141
|
+
class: p({
|
|
142
142
|
"break-before-page": r.isPdf && !r._firstBlock,
|
|
143
143
|
"break-after-page": r.isPdf && !r._lastBlock
|
|
144
144
|
})
|
|
@@ -149,12 +149,12 @@ function H(e, s, i, c, o, r) {
|
|
|
149
149
|
toolbar: !e.canEdit,
|
|
150
150
|
"doc-file-path": `${e._value.file}.url`,
|
|
151
151
|
onNumPages: s[1] || (s[1] = (l) => o.numPages = l)
|
|
152
|
-
}, null, 8, ["src", "toolbar", "doc-file-path"])) :
|
|
152
|
+
}, null, 8, ["src", "toolbar", "doc-file-path"])) : f("", !0)
|
|
153
153
|
], 2)
|
|
154
|
-
])) :
|
|
154
|
+
])) : f("", !0)
|
|
155
155
|
], 32);
|
|
156
156
|
}
|
|
157
|
-
const M = /* @__PURE__ */
|
|
157
|
+
const M = /* @__PURE__ */ x(z, [["render", O]]);
|
|
158
158
|
export {
|
|
159
159
|
M as default
|
|
160
160
|
};
|