@cling-se/widget 0.19.6 → 0.19.8
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 +15 -1
- package/dist/{AddClientCallout-DtVRTCr_.js → AddClientCallout-sPxYX5tQ.js} +18 -18
- package/dist/{AnswerModal-ClyWtHBj.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-COoLlAum.js → AttachmentItem-CzzOlHB-.js} +16 -16
- package/dist/{BaseUpload-DlaYaxxr.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-IMu4YO3J.js → BlockMedia-BGPxfM2X.js} +16 -16
- package/dist/{CCallout-C32zwICP.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-D4ZxTioo.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-BuQONogL.js → CDropdownItem-E-kRDIiy.js} +6 -6
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-KdkAe_wn.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +25 -25
- package/dist/{CPhoneFormat-C2K78cmZ.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-DolVFzrL.js → CPhoneInput-9AwTJm-0.js} +21 -21
- package/dist/{CPriceInput-SbRlrDnD.js → CPriceInput-agFahtr1.js} +11 -11
- package/dist/CSelect-BpautzPq.js +129 -0
- package/dist/CSkeleton-GIqd-JU4.js +47 -0
- package/dist/{ClientAutocomplete-vgxEGqNU.js → ClientAutocomplete-DOHX9Igy.js} +26 -26
- package/dist/{ClientModal-B8ip7v99.js → ClientModal-DAXKN_b3.js} +35 -35
- package/dist/{ColorPicker-BrfM9S1s.js → ColorPicker-B9F8znY_.js} +82 -82
- package/dist/{CompanyModal-DJZezqM5.js → CompanyModal-BvIMVys6.js} +27 -27
- package/dist/{ContentWrapper-zJ4MCnSC.js → ContentWrapper-DB22RaUr.js} +24 -24
- package/dist/{CoverBlockSettings-Cz0NUYXX.js → CoverBlockSettings--l4fH9mr.js} +32 -32
- package/dist/{DocAnswer-EWarWnbt.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-CGHN3tbO.js → DocDetails-yxmchgO5.js} +59 -59
- package/dist/{DocForm-BLTap-Bb.js → DocForm-CzrR8o22.js} +1208 -1180
- package/dist/{DocFormSend-_jCPFI9r.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-D9Ok4HvN.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-fQz5UuCF.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-Cua_U7zt.js → DocPrint-D0IdWsUM.js} +19 -19
- package/dist/{DocReceipt-Cg2hiSby.js → DocReceipt-4e-RmgeQ.js} +19 -19
- package/dist/{DocSendReminder-Dh7G9kbZ.js → DocSendReminder-L35eZxgk.js} +12 -12
- package/dist/{DocTextEditor-Ds4Cbg-2.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DpWUMwJE.js → DocTimeline-Be5CvtcQ.js} +18 -18
- package/dist/{DocumentClient-DUqHQVSe.js → DocumentClient-Bc4kf2q9.js} +10 -10
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-BiekV9-j.js → DocumentLogotype-BFo5UEWS.js} +20 -20
- package/dist/{DocumentVoided-D_YMyeV8.js → DocumentVoided-DlQtlO7G.js} +7 -7
- package/dist/{EmbedInput-Crx-LEGc.js → EmbedInput-B29usQZZ.js} +10 -10
- package/dist/{EmbedSettings-xIGtEN7L.js → EmbedSettings-D-9rcSn0.js} +16 -16
- package/dist/{ErrorCallout-D_fUVD4I.js → ErrorCallout--EnH1Ezu.js} +9 -9
- package/dist/{FilePreviewModal-av2lE91B.js → FilePreviewModal-H5Ilg9xN.js} +9 -9
- package/dist/{Flag-CI52SH_9.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-Ip634NWe.js → HeaderSettings-HuM_JwJw.js} +27 -27
- package/dist/{ImageSelectModal-DNtR86H7.js → ImageSelectModal-CJ-DstAf.js} +14 -14
- package/dist/{ImageUploadWrapper-Co43CWCP.js → ImageUploadWrapper-TYs37LIQ.js} +76 -76
- package/dist/{Index-C6KPbnAq.js → Index-6N_iRlrQ.js} +10 -10
- package/dist/{Index-bvCcp9l6.js → Index-B-PDcQKh.js} +34 -34
- package/dist/{Index-CTQyX_63.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-4ZURK6a8.js → Index-BLdFyt-s.js} +12 -12
- package/dist/{Index-CZqJYh7u.js → Index-BMpHXgR4.js} +16 -16
- package/dist/{Index-DGwF2cvQ.js → Index-BZ6ZDf9T.js} +11 -11
- package/dist/{Index-Ci_PUYqE.js → Index-BdnFLjgV.js} +11 -11
- package/dist/{Index-BdW5_mV-.js → Index-BeOtRIzZ.js} +21 -21
- package/dist/Index-BsRxY7vc.js +21 -0
- package/dist/{Index-xVX7aGXv.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-uDG1i8F-.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-CJi8Remu.js → Index-CGus-YwW.js} +26 -26
- package/dist/{Index-C-Suk6Qs.js → Index-CLgN5Jzf.js} +3 -3
- package/dist/{Index-C92jPUcy.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-CmLvcWe3.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-PzcQhAgF.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-Bgm5PHos.js → Index-CrdSdXWN.js} +18 -18
- package/dist/{Index-Bj81gIof.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-chiZsMLh.js → Index-D5_GLLQH.js} +507 -512
- package/dist/{Index-DOiPKAhk.js → Index-D9sceHk5.js} +17 -17
- package/dist/{Index-CV5RbQn5.js → Index-DJ11Zra_.js} +42 -42
- package/dist/{Index-DQbbxV0m.js → Index-DMIjuWSa.js} +9 -9
- package/dist/{Index-BMwBpYpa.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CxAd29-m.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-BF1bZUso.js → Index-DYUvtCff.js} +8 -8
- package/dist/{Index-DKuTOk0t.js → Index-DYW8T0Hl.js} +18 -18
- package/dist/{Index-DWIpdRX-.js → Index-Dg4dwlh_.js} +59 -58
- package/dist/{Index-DOCeODtL.js → Index-N88Abomf.js} +11 -11
- package/dist/{Index-BY2kaUsM.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-DwIfORsz.js → Index-edWEg_rF.js} +29 -29
- package/dist/{Index-DlGSVN83.js → Index-nRqNPZ3B.js} +18 -18
- package/dist/{Index-CeJRMtmh.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-D_X2OZA3.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-WK-YdZ30.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-CWvEi0HF.js → InputToggleRow-DCr_DEm4.js} +9 -9
- package/dist/{ManualPopover-BSX3bOr0.js → ManualPopover-CpVsmQvn.js} +4 -4
- package/dist/{MediaWrapper-D8BXMoDz.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-V-8_5Pln.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-BN5njJA7.js → PackageGroup-CqrWEfCT.js} +17 -17
- package/dist/{PdfTerms-DarzYw1g.js → PdfTerms-DmrPDtae.js} +6 -6
- package/dist/{PdfViewer-DYN758PA.js → PdfViewer-C2EEwUBa.js} +37 -37
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-B3g18l5G.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-B7QoQ2ZO.js → PriceHeader-BaREzUxI.js} +32 -32
- package/dist/{SearchApi-rcvoh3Av.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-DHRq76pb.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-BWMY9S__.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-BpNfmUMA.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-B_f6Nh_O.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +92 -92
- package/dist/{TermsSettings-BTv1dj63.js → TermsSettings-EoJvsPqK.js} +20 -20
- package/dist/{ThemeColorRow-r1ECSrBU.js → ThemeColorRow-D3blQMiD.js} +12 -12
- package/dist/{ToggleBinding-BBF1duBh.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-B_l6gvuJ.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-8e9ooR1p.js → VideoPlayerInput-BBycKv9w.js} +5 -5
- package/dist/{VideoPlayerSettings-CFOPAFlE.js → VideoPlayerSettings-BXXpTWBf.js} +12 -12
- package/dist/{VideoSelectModal-QWkNrFQC.js → VideoSelectModal-B2VPO6q4.js} +15 -15
- package/dist/{focusDrawerMixin-hy76kTBG.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-s4ySD850.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BHIbXt8q.js → helpers-Cf9s0P7o.js} +3 -3
- package/dist/{index-Dbe2ueXc.js → index-C3pnyYI4.js} +90 -90
- package/dist/{index-CGXCI2G7.js → index-CBn1mHmK.js} +36 -36
- package/dist/{index-BTw8ZC8k.js → index-DAJmNac8.js} +6 -6
- package/dist/{index-DpubWmXg.js → index-DYJN9yoF.js} +37 -37
- package/dist/{index-ByEyJueq.js → index-DuXECcGq.js} +31 -31
- package/dist/{index-Cwf2aXw3.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-DjHfCViH.js → index-_MfZEYgE.js} +28 -27
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +154 -159
- package/dist/{main-WDVYC60Z.js → main-BayUZ9OO.js} +14904 -14950
- package/dist/{mapFormMixin-B8xN9LiX.js → mapFormMixin-Bx5_nE7g.js} +36 -42
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-CtB0-WJX.js → publicSenderState-CblTasKp.js} +3 -3
- package/dist/{splitpanes-CwgWVXfp.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-fVxhQbOu.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Ikv5_i_g.js → tippy.esm-CYKcJaqz.js} +222 -224
- package/dist/{useTermsModal-DxXjznop.js → useTermsModal-DFmdeFRm.js} +5 -5
- package/dist/{utils-fXD4AHot.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-Bf4rZ8pa.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/CSelect-BQsWYh8F.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-aq47QhPF.js +0 -51
- package/dist/DocumentLayout-Bth5tpry.js +0 -1434
- package/dist/Index-CFSuI-QL.js +0 -21
- package/dist/Index-DHzaqQH0.js +0 -4
- package/dist/omit-BhJ-wiH8.js +0 -56
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as C } from "./mapFormMixin-
|
|
2
|
-
import { V as F } from "./PdfViewer-
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
1
|
+
import { m as C } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { V as F } from "./PdfViewer-C2EEwUBa.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-BayUZ9OO.js";
|
|
4
|
+
const z = {
|
|
5
5
|
i18nOptions: {
|
|
6
6
|
namespaces: "pdfBlock",
|
|
7
7
|
messages: {
|
|
@@ -21,10 +21,10 @@ const S = {
|
|
|
21
21
|
components: {
|
|
22
22
|
PdfViewer: F,
|
|
23
23
|
FileIcon: g(
|
|
24
|
-
() => import("./Index-
|
|
24
|
+
() => import("./Index-D4HNTocO.js")
|
|
25
25
|
),
|
|
26
26
|
BaseUpload: g(
|
|
27
|
-
() => import("./BaseUpload-
|
|
27
|
+
() => import("./BaseUpload-oZQfFwOj.js")
|
|
28
28
|
)
|
|
29
29
|
},
|
|
30
30
|
mixins: [C(["file"])],
|
|
@@ -55,15 +55,15 @@ const S = {
|
|
|
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
|
}
|
|
@@ -80,28 +80,28 @@ const S = {
|
|
|
80
80
|
}, this.$refs.uploader.remove(e), this.uploadProgress = null;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
}, N = { class: "flex-auto pl-4" },
|
|
84
|
-
function
|
|
85
|
-
const k =
|
|
83
|
+
}, N = { class: "flex-auto pl-4" }, _ = { class: "text-sm text-gray-600" }, E = { key: 1 };
|
|
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 E(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
|
|
@@ -134,27 +134,27 @@ function E(e, s, i, c, o, r) {
|
|
|
134
134
|
}, 8, ["max-size", "onUploadSuccess"])
|
|
135
135
|
], 2)
|
|
136
136
|
], 2)), [
|
|
137
|
-
[
|
|
138
|
-
]) :
|
|
139
|
-
e.file ? (n(), t("div",
|
|
137
|
+
[V, r.showControls]
|
|
138
|
+
]) : f("", !0),
|
|
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
|
})
|
|
145
145
|
}, [
|
|
146
|
-
e.file && e.file.url ? (n(),
|
|
146
|
+
e.file && e.file.url ? (n(), S(U, {
|
|
147
147
|
key: 0,
|
|
148
148
|
src: r.fileUrl,
|
|
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
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as p } from "./PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js";
|
|
2
|
+
import { f as e, aG as c, s as u, q as d, _ as h } from "./main-BayUZ9OO.js";
|
|
3
3
|
import { s as g } from "./dom-DOcGU3-g.js";
|
|
4
4
|
const f = {
|
|
5
5
|
name: "ExtraWorkConstructionPricingListRead",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as a } from "./mapFormMixin-
|
|
2
|
-
import { T as m } from "./DocTextEditor-
|
|
3
|
-
import { _ as c,
|
|
1
|
+
import { m as a } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { T as m } from "./DocTextEditor-KrfylSV6.js";
|
|
3
|
+
import { _ as c, b as r, d, o as i, f as l, ad as p, af as u, ag as _ } from "./main-BayUZ9OO.js";
|
|
4
4
|
const x = {
|
|
5
5
|
name: "TextContent",
|
|
6
6
|
components: {
|
|
@@ -10,14 +10,14 @@ const x = {
|
|
|
10
10
|
computed: {
|
|
11
11
|
value: {
|
|
12
12
|
get() {
|
|
13
|
-
return this.canEdit ?
|
|
13
|
+
return this.canEdit ? u(
|
|
14
14
|
this.content,
|
|
15
15
|
this._document.textTemplateMap,
|
|
16
16
|
this._document._doc
|
|
17
|
-
) :
|
|
17
|
+
) : _(this.content, this._document._doc);
|
|
18
18
|
},
|
|
19
19
|
set(t) {
|
|
20
|
-
this.content =
|
|
20
|
+
this.content = p(t);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -25,10 +25,10 @@ const x = {
|
|
|
25
25
|
class: "quill-format",
|
|
26
26
|
style: { "font-size": "16px" }
|
|
27
27
|
};
|
|
28
|
-
function h(t, e, T,
|
|
29
|
-
const n =
|
|
30
|
-
return
|
|
31
|
-
|
|
28
|
+
function h(t, e, T, v, E, o) {
|
|
29
|
+
const n = r("TextEditor");
|
|
30
|
+
return i(), d("div", f, [
|
|
31
|
+
l(n, {
|
|
32
32
|
ref: "textEditor",
|
|
33
33
|
modelValue: o.value,
|
|
34
34
|
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.value = s),
|
|
@@ -40,7 +40,7 @@ function h(t, e, T, E, v, o) {
|
|
|
40
40
|
}, null, 8, ["modelValue", "placeholder", "mentions"])
|
|
41
41
|
]);
|
|
42
42
|
}
|
|
43
|
-
const
|
|
43
|
+
const I = /* @__PURE__ */ c(x, [["render", h], ["__scopeId", "data-v-2c518eb3"]]);
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
I as default
|
|
46
46
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a7 as h, J as f, H as n, b as k, d, e as i, o as c, j as r, c as y, ah as b, t as B, T as E, _ as g } from "./main-BayUZ9OO.js";
|
|
2
2
|
const w = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "sub-chapter"
|
|
5
|
-
}, C = { class: "sub-chapter-title" }, F = { key: 1 }, I = { class: "sub-chapter-content" }, x = /* @__PURE__ */
|
|
5
|
+
}, C = { class: "sub-chapter-title" }, F = { key: 1 }, I = { class: "sub-chapter-content" }, x = /* @__PURE__ */ h({
|
|
6
6
|
__name: "Index",
|
|
7
7
|
props: {
|
|
8
8
|
title: {},
|
|
@@ -11,34 +11,34 @@ const w = {
|
|
|
11
11
|
title: ""
|
|
12
12
|
}) }
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const o =
|
|
14
|
+
setup(u) {
|
|
15
|
+
const o = u, t = f("viewSettings", { canEdit: !1 }), p = n(
|
|
16
16
|
() => o.hideFromEdit && t.canEdit
|
|
17
|
-
), v =
|
|
17
|
+
), v = n(() => t.canEdit), s = n(() => o.title || ""), m = (l) => {
|
|
18
18
|
var a;
|
|
19
|
-
const e =
|
|
19
|
+
const e = l.target;
|
|
20
20
|
t.setFormValue && t.setFormValue({
|
|
21
21
|
key: (a = o._value) == null ? void 0 : a.title,
|
|
22
22
|
value: (e == null ? void 0 : e.value) || ""
|
|
23
23
|
});
|
|
24
24
|
};
|
|
25
|
-
return (
|
|
26
|
-
const a =
|
|
27
|
-
return p.value ?
|
|
28
|
-
|
|
29
|
-
e[1] || (e[1] =
|
|
30
|
-
v.value && s.value ? (c(),
|
|
25
|
+
return (l, e) => {
|
|
26
|
+
const a = k("CInput");
|
|
27
|
+
return p.value ? i("", !0) : (c(), d("div", w, [
|
|
28
|
+
r("div", C, [
|
|
29
|
+
e[1] || (e[1] = r("span", { class: "sub-chapter-counter primary-pseudo-background" }, null, -1)),
|
|
30
|
+
v.value && s.value ? (c(), y(a, {
|
|
31
31
|
key: 0,
|
|
32
32
|
"model-value": s.value,
|
|
33
33
|
spellcheck: !1,
|
|
34
34
|
static: "",
|
|
35
35
|
class: "preview-title-input",
|
|
36
|
-
onKeydown: e[0] || (e[0] =
|
|
36
|
+
onKeydown: e[0] || (e[0] = b((_) => _.target.blur(), ["enter"])),
|
|
37
37
|
onBlur: m
|
|
38
|
-
}, null, 8, ["model-value"])) : s.value ? (c(),
|
|
38
|
+
}, null, 8, ["model-value"])) : s.value ? (c(), d("div", F, B(s.value), 1)) : i("", !0)
|
|
39
39
|
]),
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
r("div", I, [
|
|
41
|
+
E(l.$slots, "default", {}, void 0, !0)
|
|
42
42
|
])
|
|
43
43
|
]));
|
|
44
44
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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,
|
|
5
|
-
const
|
|
1
|
+
import { m as c } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { I as g } from "./InputToggleRow-DCr_DEm4.js";
|
|
3
|
+
import { C as P } from "./CPriceInput-agFahtr1.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-BayUZ9OO.js";
|
|
5
|
+
const y = {
|
|
6
6
|
i18nOptions: {
|
|
7
7
|
namespaces: "ExtraWorkConstructionPricingListEdit",
|
|
8
8
|
messages: {
|
|
@@ -37,18 +37,18 @@ const v = {
|
|
|
37
37
|
{ type: "number" }
|
|
38
38
|
)
|
|
39
39
|
]
|
|
40
|
-
},
|
|
40
|
+
}, M = {
|
|
41
41
|
class: "flex w-full justify-end",
|
|
42
42
|
style: { position: "relative" }
|
|
43
|
-
},
|
|
43
|
+
}, v = {
|
|
44
44
|
key: 0,
|
|
45
45
|
class: "ex-vat"
|
|
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
|
|
50
|
-
k("div",
|
|
51
|
-
e.workPrice || e.managementPrice ? (
|
|
49
|
+
return d(), p("div", null, [
|
|
50
|
+
k("div", M, [
|
|
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
|
]),
|
|
@@ -134,7 +134,7 @@ function b(e, r, V, w, C, I) {
|
|
|
134
134
|
}, 8, ["display-value", "label"])
|
|
135
135
|
]);
|
|
136
136
|
}
|
|
137
|
-
const N = /* @__PURE__ */ f(
|
|
137
|
+
const N = /* @__PURE__ */ f(y, [["render", b], ["__scopeId", "data-v-3c3dbd58"]]);
|
|
138
138
|
export {
|
|
139
139
|
N as default
|
|
140
140
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as b } from "./useTermsModal-
|
|
1
|
+
import { a7 as k, J as o, H as c, l as h, d as i, o as r, c as v, ao as x, x as T, I as a, j as l, q as y, t as m, am as B, _ as C } from "./main-BayUZ9OO.js";
|
|
2
|
+
import { u as b } from "./useTermsModal-DFmdeFRm.js";
|
|
3
3
|
const g = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "terms-disclaimer"
|
|
6
|
-
}, w = { class: "terms-disclaimer__divider" }, D = /* @__PURE__ */
|
|
6
|
+
}, w = { class: "terms-disclaimer__divider" }, D = /* @__PURE__ */ k({
|
|
7
7
|
__name: "Index",
|
|
8
8
|
props: {
|
|
9
9
|
href: {},
|
|
@@ -13,10 +13,10 @@ const g = {
|
|
|
13
13
|
_document: {}
|
|
14
14
|
},
|
|
15
15
|
setup(e) {
|
|
16
|
-
const { showTermsModal:
|
|
17
|
-
() => s ?
|
|
16
|
+
const { showTermsModal: d } = b(), s = o("isPdf", !1), f = o("_firstBlock", !1), p = o("_lastBlock", !1), n = c(
|
|
17
|
+
() => s ? h(() => import("./PdfTerms-DmrPDtae.js")) : null
|
|
18
18
|
), u = c(() => s && n), _ = () => {
|
|
19
|
-
|
|
19
|
+
d({
|
|
20
20
|
text: e.text,
|
|
21
21
|
_document: e._document,
|
|
22
22
|
termType: e.termType,
|
|
@@ -24,25 +24,25 @@ const g = {
|
|
|
24
24
|
href: e.href
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
|
-
return (t,
|
|
27
|
+
return (t, I) => u.value ? (r(), i("div", {
|
|
28
28
|
key: 0,
|
|
29
|
-
class:
|
|
29
|
+
class: T({
|
|
30
30
|
"break-before-page": a(s) && !a(f),
|
|
31
31
|
"break-after-page": a(s) && !a(p)
|
|
32
32
|
})
|
|
33
33
|
}, [
|
|
34
|
-
(r(), v(
|
|
34
|
+
(r(), v(x(n.value), {
|
|
35
35
|
text: t.text,
|
|
36
36
|
file: t.file
|
|
37
37
|
}, null, 8, ["text", "file"]))
|
|
38
38
|
], 2)) : (r(), i("div", g, [
|
|
39
39
|
l("div", w, [
|
|
40
|
-
y(
|
|
40
|
+
y(m(t._document.$t("chapters.termsDisclaimer.description")) + " ", 1),
|
|
41
41
|
l("a", {
|
|
42
42
|
onClick: B(_, ["prevent"]),
|
|
43
43
|
target: "_blank",
|
|
44
44
|
rel: "noopener"
|
|
45
|
-
},
|
|
45
|
+
}, m(t._document.$t("chapters.termsDisclaimer.termsAndConditions")), 1)
|
|
46
46
|
])
|
|
47
47
|
]));
|
|
48
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as f } from "./mapFormMixin-
|
|
2
|
-
import { f as y } from "./focusDrawerMixin-
|
|
3
|
-
import { g as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { m as f } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { f as y } from "./focusDrawerMixin-CCAEZjWO.js";
|
|
3
|
+
import { g as V } from "./utils-DTwXcY8_.js";
|
|
4
|
+
import { _, l as m, b as l, d as a, o as i, j as r, e as u, W as g, f as c, t as w, x as z, F as P, c as S, w as k } from "./main-BayUZ9OO.js";
|
|
5
5
|
const C = {
|
|
6
6
|
name: "VideoPlayer",
|
|
7
7
|
i18nOptions: {
|
|
@@ -10,10 +10,10 @@ const C = {
|
|
|
10
10
|
},
|
|
11
11
|
components: {
|
|
12
12
|
VideoPlayerSettings: m(
|
|
13
|
-
() => import("./VideoPlayerSettings-
|
|
13
|
+
() => import("./VideoPlayerSettings-BXXpTWBf.js")
|
|
14
14
|
),
|
|
15
15
|
VideoPlayerInput: m(
|
|
16
|
-
() => import("./VideoPlayerInput-
|
|
16
|
+
() => import("./VideoPlayerInput-BBycKv9w.js")
|
|
17
17
|
)
|
|
18
18
|
},
|
|
19
19
|
mixins: [f(["videoPlayer"]), y],
|
|
@@ -49,7 +49,7 @@ const C = {
|
|
|
49
49
|
async handler(e) {
|
|
50
50
|
if (!e || !e.url) return;
|
|
51
51
|
let { width: t, height: s } = e;
|
|
52
|
-
(!t || !s) && ({ width: t, height: s } = await
|
|
52
|
+
(!t || !s) && ({ width: t, height: s } = await V(e.url) || {}), this.videoSize = { width: t, height: s }, this.setAspectRatio();
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
size() {
|
|
@@ -73,11 +73,11 @@ const C = {
|
|
|
73
73
|
this._isNodeRecentlyAdded() && ((e = this.$refs.input) == null || e.focus());
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
},
|
|
76
|
+
}, x = {
|
|
77
77
|
key: 0,
|
|
78
78
|
class: "video-element"
|
|
79
|
-
},
|
|
80
|
-
function
|
|
79
|
+
}, A = { class: "is-placeholder" }, I = { class: "text-gray-600" }, M = ["src"];
|
|
80
|
+
function R(e, t, s, b, d, o) {
|
|
81
81
|
const v = l("VideoPlayerInput"), p = l("VideoPlayerSettings"), h = l("portal");
|
|
82
82
|
return i(), a("div", {
|
|
83
83
|
class: "video-root font-inter",
|
|
@@ -85,16 +85,16 @@ function b(e, t, s, x, d, o) {
|
|
|
85
85
|
onMouseleavePassive: t[2] || (t[2] = (n) => d.showControls = !1)
|
|
86
86
|
}, [
|
|
87
87
|
r("div", {
|
|
88
|
-
class:
|
|
88
|
+
class: z([[`video-is-${o.size}`], "no-drag"])
|
|
89
89
|
}, [
|
|
90
90
|
r("div", {
|
|
91
|
-
style:
|
|
91
|
+
style: g({ paddingTop: d.aspectRatio }),
|
|
92
92
|
class: "video-container"
|
|
93
93
|
}, [
|
|
94
|
-
!o.video.url && e.canEdit ? (i(), a("div",
|
|
95
|
-
r("div",
|
|
96
|
-
r("div",
|
|
97
|
-
|
|
94
|
+
!o.video.url && e.canEdit ? (i(), a("div", x, [
|
|
95
|
+
r("div", A, [
|
|
96
|
+
r("div", I, w(e.$t("subTitle")), 1),
|
|
97
|
+
c(v, {
|
|
98
98
|
ref: "input",
|
|
99
99
|
"model-value": o.video,
|
|
100
100
|
style: { "padding-top": "1em" },
|
|
@@ -110,7 +110,7 @@ function b(e, t, s, x, d, o) {
|
|
|
110
110
|
frameborder: "0",
|
|
111
111
|
allowfullscreen: "",
|
|
112
112
|
class: "video-element"
|
|
113
|
-
}, null, 8,
|
|
113
|
+
}, null, 8, M))
|
|
114
114
|
], 4)
|
|
115
115
|
], 2),
|
|
116
116
|
e.isForm ? (i(), a(P, { key: 0 }, [
|
|
@@ -119,18 +119,18 @@ function b(e, t, s, x, d, o) {
|
|
|
119
119
|
to: "drawer-content"
|
|
120
120
|
}, {
|
|
121
121
|
default: k(() => [
|
|
122
|
-
|
|
122
|
+
c(p, {
|
|
123
123
|
video: o.video,
|
|
124
124
|
size: o.size,
|
|
125
125
|
onInput: o.setValue
|
|
126
126
|
}, null, 8, ["video", "size", "onInput"])
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
|
-
})) :
|
|
130
|
-
], 64)) :
|
|
129
|
+
})) : u("", !0)
|
|
130
|
+
], 64)) : u("", !0)
|
|
131
131
|
], 32);
|
|
132
132
|
}
|
|
133
|
-
const E = /* @__PURE__ */
|
|
133
|
+
const E = /* @__PURE__ */ _(C, [["render", R], ["__scopeId", "data-v-2bb8500e"]]);
|
|
134
134
|
export {
|
|
135
135
|
E as default
|
|
136
136
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { m as o } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { _ as n, l as s, b as r, c as i, o as p } from "./main-BayUZ9OO.js";
|
|
3
|
+
const a = {
|
|
4
|
+
name: "WorkAddressText",
|
|
5
|
+
components: {
|
|
6
|
+
Read: s(() => import("./Index-CLgN5Jzf.js"))
|
|
7
|
+
},
|
|
8
|
+
mixins: [o(["street", "city", "zip"])]
|
|
9
|
+
};
|
|
10
|
+
function c(e, m, d, f, _, l) {
|
|
11
|
+
const t = r("Read");
|
|
12
|
+
return p(), i(t, {
|
|
13
|
+
street: e.street,
|
|
14
|
+
city: e.city,
|
|
15
|
+
zip: e.zip
|
|
16
|
+
}, null, 8, ["street", "city", "zip"]);
|
|
17
|
+
}
|
|
18
|
+
const x = /* @__PURE__ */ n(a, [["render", c]]);
|
|
19
|
+
export {
|
|
20
|
+
x as default
|
|
21
|
+
};
|
|
@@ -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-Bx5_nE7g.js";
|
|
2
|
+
import { I as d } from "./InputToggleRow-DCr_DEm4.js";
|
|
3
|
+
import { _ as m, b as u, c as i, o as p, w as g, j as s } from "./main-BayUZ9OO.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,6 +1,6 @@
|
|
|
1
|
-
import { m as T } from "./mapFormMixin-
|
|
2
|
-
import { f as w } from "./focusDrawerMixin-
|
|
3
|
-
import { _ as k,
|
|
1
|
+
import { m as T } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { f as w } from "./focusDrawerMixin-CCAEZjWO.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-BayUZ9OO.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-BdnFLjgV.js")),
|
|
19
|
+
TermsSettings: l(() => import("./TermsSettings-EoJvsPqK.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" },
|