@cling-se/widget 0.19.7 → 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 +8 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-sPxYX5tQ.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-o8OHHulg.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CzzOlHB-.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-oZQfFwOj.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-BGPxfM2X.js} +11 -11
- package/dist/{CCallout-BlglVZrm.js → CCallout-CrbMGTIj.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-BnNDP51j.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-E-kRDIiy.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-Bi0MjQdW.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-CIQAVdsB.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-9AwTJm-0.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-agFahtr1.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-BpautzPq.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-GIqd-JU4.js} +18 -18
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-DOHX9Igy.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-DAXKN_b3.js} +49 -49
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-B9F8znY_.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-BvIMVys6.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-DB22RaUr.js} +20 -20
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings--l4fH9mr.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-Bq-4uVbe.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-yxmchgO5.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-CzrR8o22.js} +819 -825
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-Bjc1QDcK.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BXbC-6v3.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-axX_Rlp3.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint-D0IdWsUM.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-4e-RmgeQ.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-L35eZxgk.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-KrfylSV6.js} +4493 -4435
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-Be5CvtcQ.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-Bc4kf2q9.js} +12 -12
- package/dist/DocumentLayout-Oe-ZsHML.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-BFo5UEWS.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-DlQtlO7G.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-B29usQZZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-D-9rcSn0.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout--EnH1Ezu.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-H5Ilg9xN.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-DgZVh3Lf.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-HuM_JwJw.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-CJ-DstAf.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-TYs37LIQ.js} +72 -72
- package/dist/{Index-ezY0DbcB.js → Index-6N_iRlrQ.js} +5 -5
- package/dist/{Index-BJf4YdYB.js → Index-B-PDcQKh.js} +29 -29
- package/dist/{Index-C-EUJjuk.js → Index-B942Auag.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-BLdFyt-s.js} +9 -9
- package/dist/{Index-CXjLkK_n.js → Index-BMpHXgR4.js} +15 -15
- package/dist/{Index-COF0evH4.js → Index-BZ6ZDf9T.js} +6 -6
- package/dist/{Index-y_AJP61r.js → Index-BdnFLjgV.js} +9 -9
- package/dist/{Index-DAkq_7Ws.js → Index-BeOtRIzZ.js} +18 -18
- package/dist/{Index-CTrX3VRa.js → Index-BsRxY7vc.js} +5 -5
- package/dist/{Index-D-gJQEAD.js → Index-CAMAtPVL.js} +6 -6
- package/dist/{Index-C2-s62x7.js → Index-CC4E2CmH.js} +11 -11
- package/dist/{Index-Dxg4gEKd.js → Index-CGus-YwW.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-CLgN5Jzf.js} +2 -2
- package/dist/{Index-Cjg3X74T.js → Index-CTlB43yV.js} +7 -7
- package/dist/{Index-DkQ8_VkX.js → Index-CY2sRfaY.js} +194 -218
- package/dist/{Index-DfuzxXzD.js → Index-CnrSvy6E.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-CrdSdXWN.js} +19 -19
- package/dist/{Index-Ct735UtM.js → Index-CtJfMiZW.js} +2 -2
- package/dist/Index-D4HNTocO.js +4 -0
- package/dist/{Index-Ck-_9woY.js → Index-D5_GLLQH.js} +501 -506
- package/dist/{Index-DzdEqsZB.js → Index-D9sceHk5.js} +16 -16
- package/dist/{Index-Dfy0PsiW.js → Index-DJ11Zra_.js} +29 -29
- package/dist/{Index-DOeHci16.js → Index-DMIjuWSa.js} +7 -7
- package/dist/{Index-Bb6JZC8l.js → Index-DTm59e-A.js} +11 -11
- package/dist/{Index-CQboLS2e.js → Index-DXT_IMjq.js} +8 -8
- package/dist/{Index-GPliVrhC.js → Index-DYUvtCff.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-DYW8T0Hl.js} +27 -27
- package/dist/{Index-BTDQax0X.js → Index-Dg4dwlh_.js} +60 -59
- package/dist/{Index-BlownK7_.js → Index-N88Abomf.js} +7 -7
- package/dist/{Index-9ZFW8Ka7.js → Index-W-Q19E3a.js} +7 -7
- package/dist/{Index-BbVHxVFJ.js → Index-edWEg_rF.js} +33 -33
- package/dist/{Index-B53eUt7Y.js → Index-nRqNPZ3B.js} +15 -15
- package/dist/{Index-1WPEpaVr.js → Index-nTp9wEni.js} +7 -7
- package/dist/{Index-yS5OPrJJ.js → Index-yJRtT77X.js} +2 -2
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-PJPQMT2c.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-DCr_DEm4.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-CpVsmQvn.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-Cj3LBhdR.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-1J0p_k4u.js} +5 -5
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-CqrWEfCT.js} +29 -29
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-DmrPDtae.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-C2EEwUBa.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-B6pRo08V.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-BaREzUxI.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-Bf4jeQVr.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-D5qpHxNU.js} +713 -711
- package/dist/{Setup-CdZzn0qW.js → Setup-Bw8ViFxw.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-CzylvV8N.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-DleoAiSK.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-EoJvsPqK.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-D3blQMiD.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-BteBsRYr.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-Cr5sF3M-.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-BBycKv9w.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-BXXpTWBf.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-B2VPO6q4.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-CCAEZjWO.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-CJyP4ce1.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9s0P7o.js} +4 -4
- package/dist/{index-B86TZXOh.js → index-C3pnyYI4.js} +94 -94
- package/dist/{index-D0Qee2OX.js → index-CBn1mHmK.js} +30 -30
- package/dist/{index-DXNrJnEc.js → index-DAJmNac8.js} +10 -10
- package/dist/{index-Cd4S4J-L.js → index-DYJN9yoF.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-DuXECcGq.js} +25 -25
- package/dist/{index-BH5vwOzR.js → index-XzoHqJIR.js} +9 -9
- package/dist/{index-CsbYpQqP.js → index-_MfZEYgE.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BayUZ9OO.js} +13620 -13669
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-Bx5_nE7g.js} +40 -46
- package/dist/omit-BKJdPM2H.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-CblTasKp.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-DFkgBT3z.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-CvGgzazD.js} +5 -5
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-CYKcJaqz.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-DFmdeFRm.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DTwXcY8_.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-d_jonAPy.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as
|
|
3
|
-
import { w as se } from "./CDropdownItem-
|
|
4
|
-
const re = { class: "w-full" }, le = /* @__PURE__ */
|
|
1
|
+
import { a7 as H, A as h, a2 as K, D, a3 as Q, G as O, d as v, o as m, T as X, e as j, j as u, u as Y, x as z, I as C, bd as _, _ as W, b as G, f as P, ah as M, t as L, w as J, am as V, ak as ee, J as R, be as te, i as E, M as U, q as S, F as A, c as q, n as ae, R as ne, aA as oe } from "./main-BayUZ9OO.js";
|
|
2
|
+
import { e as $ } from "./dom-DOcGU3-g.js";
|
|
3
|
+
import { w as se } from "./CDropdownItem-E-kRDIiy.js";
|
|
4
|
+
const re = { class: "w-full" }, le = /* @__PURE__ */ H({
|
|
5
5
|
__name: "PdfPage",
|
|
6
6
|
props: {
|
|
7
7
|
pdf: {},
|
|
@@ -15,8 +15,8 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
15
15
|
},
|
|
16
16
|
emits: ["pagerendered", "link-clicked", "update:scale", "error"],
|
|
17
17
|
setup(t, { emit: e }) {
|
|
18
|
-
let s, r, f,
|
|
19
|
-
const l = e, w = h(!0), b =
|
|
18
|
+
let s, r, f, d, n;
|
|
19
|
+
const l = e, w = h(!0), b = K("container"), y = h(!1), p = h(null);
|
|
20
20
|
D(
|
|
21
21
|
() => t.scale,
|
|
22
22
|
(a) => {
|
|
@@ -28,13 +28,13 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
28
28
|
n && (n.update({ scale: t.scale, rotation: a }), n.draw());
|
|
29
29
|
}
|
|
30
30
|
), Q(() => {
|
|
31
|
-
s = window.pdfjsViewer.PDFFindController, r = window.pdfjsViewer.PDFLinkService, f = window.pdfjsViewer.PDFPageView,
|
|
32
|
-
}),
|
|
31
|
+
s = window.pdfjsViewer.PDFFindController, r = window.pdfjsViewer.PDFLinkService, f = window.pdfjsViewer.PDFPageView, d = window.pdfjsViewer.EventBus, F();
|
|
32
|
+
}), O(() => {
|
|
33
33
|
n && (n.destroy(), n = null);
|
|
34
34
|
});
|
|
35
35
|
function F() {
|
|
36
36
|
var i;
|
|
37
|
-
const a = new
|
|
37
|
+
const a = new d();
|
|
38
38
|
a.on("pagerendered", (g) => {
|
|
39
39
|
p.value && (p.value(), p.value = null), l("pagerendered", g);
|
|
40
40
|
});
|
|
@@ -55,10 +55,10 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
55
55
|
textLayerMode: t.text ? 1 : 0,
|
|
56
56
|
annotationMode: t.annotation ? 1 : 0
|
|
57
57
|
}), n.setPdfPage(g);
|
|
58
|
-
const
|
|
58
|
+
const T = {
|
|
59
59
|
scrollPageIntoView: (Z) => l("link-clicked", Z)
|
|
60
60
|
};
|
|
61
|
-
return o.setDocument(t.pdf), o.setViewer(
|
|
61
|
+
return o.setDocument(t.pdf), o.setViewer(T), c.setDocument(t.pdf), x(t.scale);
|
|
62
62
|
}).catch((g) => {
|
|
63
63
|
l("error", g), w.value = !1;
|
|
64
64
|
});
|
|
@@ -66,7 +66,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
66
66
|
function k(a = -1, o = -1) {
|
|
67
67
|
return n.update({ scale: 1, rotation: t.rotate }), a === -1 && o === -1 && (a = b.value.offsetWidth), a / n.viewport.width;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function N() {
|
|
70
70
|
var c;
|
|
71
71
|
n.update({ scale: 1, rotation: t.rotate });
|
|
72
72
|
const a = b.value.offsetHeight, o = (c = b.value.parentElement) == null ? void 0 : c.parentElement;
|
|
@@ -78,7 +78,7 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
78
78
|
p.value = () => x(a);
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a =
|
|
81
|
+
y.value = !0, a === "page-width" ? (a = k(), l("update:scale", a)) : a === "page-height" && (a = N(), l("update:scale", a)), n.update({ scale: a, rotation: t.rotate }), await n.draw(), w.value = !1, y.value = !1;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
function B() {
|
|
@@ -86,12 +86,12 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
86
86
|
}
|
|
87
87
|
return (a, o) => (m(), v("div", null, [
|
|
88
88
|
w.value ? X(a.$slots, "loading", { key: 0 }) : j("", !0),
|
|
89
|
-
|
|
89
|
+
u("div", {
|
|
90
90
|
ref_key: "container",
|
|
91
91
|
ref: b,
|
|
92
|
-
class:
|
|
92
|
+
class: z([a.containerClass, "pdfViewer tracking-normal"])
|
|
93
93
|
}, null, 2),
|
|
94
|
-
Y(
|
|
94
|
+
Y(u("div", re, null, 512), [
|
|
95
95
|
[C(_), B]
|
|
96
96
|
])
|
|
97
97
|
]));
|
|
@@ -147,37 +147,37 @@ const re = { class: "w-full" }, le = /* @__PURE__ */ W({
|
|
|
147
147
|
e = Number.parseInt(e), Number.isNaN(e) && (e = this.currentPage), e < 1 && (e = 1), e > this.numPages && (e = this.numPages), e === this.currentPage && typeof ((r = t == null ? void 0 : t.target) == null ? void 0 : r.value) < "u" && (t.target.value = this.currentPage), this.$emit("navigate-to-page", e);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, ue = { class: "ease flex h-full items-center justify-center gap-1 overflow-hidden rounded-full border border-gray-100 bg-white px-1.5 text-gray-500 transition duration-500" }, de = { class: "mr-2 inline-flex items-center gap-2" }, ce = ["value"], fe = { class: "text-sm font-medium" }, ge = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "button-transitions flex items-center"
|
|
153
153
|
}, me = { class: "inline-flex items-center" }, pe = ["value"];
|
|
154
|
-
function ve(t, e, s, r, f,
|
|
154
|
+
function ve(t, e, s, r, f, d) {
|
|
155
155
|
const n = G("CIcon");
|
|
156
156
|
return m(), v("div", {
|
|
157
|
-
class:
|
|
157
|
+
class: z(["pointer-events-none sticky top-0 z-10 flex h-10 w-full translate-y-4", { "translate-y-2": t.mq === "sm" }])
|
|
158
158
|
}, [
|
|
159
|
-
|
|
160
|
-
class:
|
|
159
|
+
u("div", {
|
|
160
|
+
class: z(["pointer-events-auto mx-auto inline-flex items-center justify-center rounded-full bg-gray-300/50 shadow-xl backdrop-blur-md", { "ml-2": t.mq === "sm" }])
|
|
161
161
|
}, [
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
u("div", ue, [
|
|
163
|
+
u("div", de, [
|
|
164
|
+
u("input", {
|
|
165
165
|
class: "w-9 rounded-full border border-solid border-gray-200 bg-gray-100 text-center leading-loose text-gray-500",
|
|
166
166
|
type: "number",
|
|
167
167
|
value: s.currentPage,
|
|
168
|
-
onBlur: e[0] || (e[0] = (...l) =>
|
|
169
|
-
onKeyup: e[1] || (e[1] = M((...l) =>
|
|
168
|
+
onBlur: e[0] || (e[0] = (...l) => d.navigateToPage && d.navigateToPage(...l)),
|
|
169
|
+
onKeyup: e[1] || (e[1] = M((...l) => d.navigateToPage && d.navigateToPage(...l), ["enter"]))
|
|
170
170
|
}, null, 40, ce),
|
|
171
|
-
|
|
171
|
+
u("div", fe, "/ " + L(s.numPages), 1)
|
|
172
172
|
]),
|
|
173
173
|
P(ee, { name: "slide-fade" }, {
|
|
174
174
|
default: J(() => [
|
|
175
175
|
t.mq !== "sm" || f.compactExpand ? (m(), v("div", ge, [
|
|
176
|
-
e[9] || (e[9] =
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
e[9] || (e[9] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
177
|
+
u("div", me, [
|
|
178
|
+
u("button", {
|
|
179
179
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
180
|
-
onClick: e[2] || (e[2] =
|
|
180
|
+
onClick: e[2] || (e[2] = V((l) => d.updateZoom(s.scale - (s.scale > 0.2 ? 0.1 : 0)), ["prevent"]))
|
|
181
181
|
}, [
|
|
182
182
|
P(n, {
|
|
183
183
|
type: "zoomOut",
|
|
@@ -188,13 +188,13 @@ function ve(t, e, s, r, f, u) {
|
|
|
188
188
|
key: s.scale,
|
|
189
189
|
class: "w-12 rounded-md border border-solid border-gray-200 bg-gray-100 text-center leading-loose text-gray-500",
|
|
190
190
|
type: "text",
|
|
191
|
-
value:
|
|
192
|
-
onBlur: e[3] || (e[3] = (...l) =>
|
|
193
|
-
onKeyup: e[4] || (e[4] = M((...l) =>
|
|
191
|
+
value: d.formattedZoom,
|
|
192
|
+
onBlur: e[3] || (e[3] = (...l) => d.onManualZoom && d.onManualZoom(...l)),
|
|
193
|
+
onKeyup: e[4] || (e[4] = M((...l) => d.onManualZoom && d.onManualZoom(...l), ["enter"]))
|
|
194
194
|
}, null, 40, pe)),
|
|
195
|
-
|
|
195
|
+
u("button", {
|
|
196
196
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
197
|
-
onClick: e[5] || (e[5] =
|
|
197
|
+
onClick: e[5] || (e[5] = V((l) => d.updateZoom(s.scale + (s.scale < 2 ? 0.1 : 0)), ["prevent"]))
|
|
198
198
|
}, [
|
|
199
199
|
P(n, {
|
|
200
200
|
type: "zoomIn",
|
|
@@ -202,20 +202,20 @@ function ve(t, e, s, r, f, u) {
|
|
|
202
202
|
})
|
|
203
203
|
])
|
|
204
204
|
]),
|
|
205
|
-
e[10] || (e[10] =
|
|
206
|
-
|
|
205
|
+
e[10] || (e[10] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
206
|
+
u("button", {
|
|
207
207
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
208
|
-
onClick: e[6] || (e[6] =
|
|
208
|
+
onClick: e[6] || (e[6] = V((l) => s.autoZoom ? null : d.updateZoom("page-width"), ["prevent"]))
|
|
209
209
|
}, [
|
|
210
210
|
P(n, {
|
|
211
211
|
type: "boxBox",
|
|
212
212
|
size: "20"
|
|
213
213
|
})
|
|
214
214
|
]),
|
|
215
|
-
e[11] || (e[11] =
|
|
216
|
-
|
|
215
|
+
e[11] || (e[11] = u("div", { class: "h-8 w-px bg-gray-700/10" }, null, -1)),
|
|
216
|
+
u("button", {
|
|
217
217
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
218
|
-
onClick: e[7] || (e[7] =
|
|
218
|
+
onClick: e[7] || (e[7] = V((l) => t.$emit("download"), ["prevent"]))
|
|
219
219
|
}, [
|
|
220
220
|
P(n, {
|
|
221
221
|
type: "download",
|
|
@@ -230,10 +230,10 @@ function ve(t, e, s, r, f, u) {
|
|
|
230
230
|
t.mq === "sm" ? (m(), v("button", {
|
|
231
231
|
key: 0,
|
|
232
232
|
class: "h-10 w-10 rounded-full text-gray-400",
|
|
233
|
-
onClick: e[8] || (e[8] =
|
|
233
|
+
onClick: e[8] || (e[8] = V((l) => f.compactExpand = !f.compactExpand, ["prevent"]))
|
|
234
234
|
}, [
|
|
235
235
|
P(n, {
|
|
236
|
-
class:
|
|
236
|
+
class: z([{ "rotate-180": f.compactExpand }, "duration-500"]),
|
|
237
237
|
type: "chevron-right",
|
|
238
238
|
size: "20"
|
|
239
239
|
}, null, 8, ["class"])
|
|
@@ -241,7 +241,7 @@ function ve(t, e, s, r, f, u) {
|
|
|
241
241
|
], 2)
|
|
242
242
|
], 2);
|
|
243
243
|
}
|
|
244
|
-
const we = /* @__PURE__ */
|
|
244
|
+
const we = /* @__PURE__ */ W(ie, [["render", ve], ["__scopeId", "data-v-8c16cc4d"]]);
|
|
245
245
|
function be(t, e = {}) {
|
|
246
246
|
let s;
|
|
247
247
|
if (typeof t == "string")
|
|
@@ -256,7 +256,7 @@ function be(t, e = {}) {
|
|
|
256
256
|
const ye = { key: 0 }, Pe = {
|
|
257
257
|
key: 0,
|
|
258
258
|
class: "mb-4 grid aspect-[210/297] w-full place-items-center border border-gray-100 bg-gray-50"
|
|
259
|
-
}, he = { class: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, I = "4.10.38", ke = /* @__PURE__ */
|
|
259
|
+
}, he = { class: "mb-4 grid aspect-[210/297] place-items-center border border-gray-100 bg-gray-50" }, I = "4.10.38", ke = /* @__PURE__ */ H({
|
|
260
260
|
__name: "PdfViewer",
|
|
261
261
|
props: {
|
|
262
262
|
src: {},
|
|
@@ -266,7 +266,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
266
266
|
emits: ["numPages", "rendered"],
|
|
267
267
|
setup(t, { emit: e }) {
|
|
268
268
|
let s = !1, r = null;
|
|
269
|
-
const f = e,
|
|
269
|
+
const f = e, d = R("isPdf", !1), n = R("fallbackMode", !1), l = te(null), w = h(!1), b = K("pageComponents"), y = h("page-width"), p = h(!0), F = h(1), k = h(void 0);
|
|
270
270
|
D(
|
|
271
271
|
() => n,
|
|
272
272
|
(a) => {
|
|
@@ -276,27 +276,27 @@ const ye = { key: 0 }, Pe = {
|
|
|
276
276
|
), D(
|
|
277
277
|
() => t.src,
|
|
278
278
|
async (a) => {
|
|
279
|
-
s || (await
|
|
279
|
+
s || (await $(
|
|
280
280
|
`${E.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.min.mjs`
|
|
281
|
-
), await
|
|
281
|
+
), await $(
|
|
282
282
|
`${E.api.baseUrl}/js/pdfjs-dist@${I}/web/pdf_viewer.mjs`
|
|
283
|
-
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${E.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0),
|
|
283
|
+
), window.pdfjsLib.GlobalWorkerOptions.workerSrc = `${E.api.baseUrl}/js/pdfjs-dist@${I}/build/pdf.worker.min.mjs`, s = !0), N(a);
|
|
284
284
|
},
|
|
285
285
|
{ immediate: !0 }
|
|
286
|
-
),
|
|
286
|
+
), O(() => {
|
|
287
287
|
r && (r.disconnect(), r = null);
|
|
288
288
|
});
|
|
289
|
-
const
|
|
289
|
+
const N = async (a) => {
|
|
290
290
|
if (!a) return;
|
|
291
291
|
w.value = !0;
|
|
292
292
|
const o = be(a);
|
|
293
|
-
await
|
|
293
|
+
await U(), o.promise.then((c) => {
|
|
294
294
|
l.value = c, w.value = !1, k.value = c.numPages, f("numPages", c.numPages), f("rendered"), t.toolbar && (k.value ?? 0) > 1 && (r = new IntersectionObserver(
|
|
295
295
|
(i) => {
|
|
296
296
|
i.forEach((g) => {
|
|
297
|
-
var
|
|
297
|
+
var T;
|
|
298
298
|
if (g.isIntersecting) {
|
|
299
|
-
const Z = Number((
|
|
299
|
+
const Z = Number((T = g.target) == null ? void 0 : T.getAttribute("data-page"));
|
|
300
300
|
F.value = Z;
|
|
301
301
|
}
|
|
302
302
|
});
|
|
@@ -305,7 +305,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
305
305
|
rootMargin: "0px",
|
|
306
306
|
threshold: 0.5
|
|
307
307
|
}
|
|
308
|
-
),
|
|
308
|
+
), U(() => {
|
|
309
309
|
var i;
|
|
310
310
|
(i = b.value) == null || i.forEach(
|
|
311
311
|
(g) => r.observe(g.$el)
|
|
@@ -322,7 +322,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
322
322
|
l.value && l.value.getData().then((a) => {
|
|
323
323
|
const o = new Blob([a], { type: "application/pdf" }), c = URL.createObjectURL(o), i = document.createElement("a");
|
|
324
324
|
i.href = c, i.setAttribute("download", "document.pdf"), i.click();
|
|
325
|
-
}).catch(() =>
|
|
325
|
+
}).catch(() => oe("Failed to download PDF"));
|
|
326
326
|
};
|
|
327
327
|
return (a, o) => {
|
|
328
328
|
const c = G("CIcon");
|
|
@@ -330,14 +330,14 @@ const ye = { key: 0 }, Pe = {
|
|
|
330
330
|
key: a.src,
|
|
331
331
|
style: { "--page-border": "0" }
|
|
332
332
|
}, [
|
|
333
|
-
C(
|
|
334
|
-
|
|
333
|
+
C(d) && !C(n) ? (m(), v("pre", ye, [
|
|
334
|
+
S(" ClingPDFReplaceStart:[" + L(a.docFilePath) + `]ClingPDFReplaceEnd
|
|
335
335
|
`, 1),
|
|
336
|
-
|
|
337
|
-
o[3] || (o[3] =
|
|
336
|
+
u("div", null, "This page should have been replaced with URL: " + L(a.src), 1),
|
|
337
|
+
o[3] || (o[3] = S(`
|
|
338
338
|
`))
|
|
339
|
-
])) : (m(), v(
|
|
340
|
-
a.toolbar && !C(n) && !w.value ? (m(),
|
|
339
|
+
])) : (m(), v(A, { key: 1 }, [
|
|
340
|
+
a.toolbar && !C(n) && !w.value ? (m(), q(we, {
|
|
341
341
|
key: 0,
|
|
342
342
|
scale: y.value,
|
|
343
343
|
"onUpdate:scale": o[0] || (o[0] = (i) => y.value = i),
|
|
@@ -348,8 +348,8 @@ const ye = { key: 0 }, Pe = {
|
|
|
348
348
|
onDownload: B,
|
|
349
349
|
onNavigateToPage: x
|
|
350
350
|
}, null, 8, ["scale", "auto-zoom", "current-page", "num-pages"])) : j("", !0),
|
|
351
|
-
|
|
352
|
-
class:
|
|
351
|
+
u("div", {
|
|
352
|
+
class: z(["mx-auto", { "chapter-spacing-x max-w-full": p.value && !C(n) }])
|
|
353
353
|
}, [
|
|
354
354
|
w.value ? (m(), v("div", Pe, [
|
|
355
355
|
P(c, {
|
|
@@ -358,10 +358,10 @@ const ye = { key: 0 }, Pe = {
|
|
|
358
358
|
class: "animate-spin text-gray-400"
|
|
359
359
|
})
|
|
360
360
|
])) : j("", !0),
|
|
361
|
-
|
|
362
|
-
class:
|
|
361
|
+
u("div", {
|
|
362
|
+
class: z({ "overflow-x-auto": !p.value })
|
|
363
363
|
}, [
|
|
364
|
-
(m(!0), v(
|
|
364
|
+
(m(!0), v(A, null, ae(k.value, (i) => (m(), q(le, ne({ ref_for: !0 }, a.$attrs, {
|
|
365
365
|
ref_for: !0,
|
|
366
366
|
ref_key: "pageComponents",
|
|
367
367
|
ref: b,
|
|
@@ -376,7 +376,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
376
376
|
class: "page-shadow"
|
|
377
377
|
}), {
|
|
378
378
|
loading: J(() => [
|
|
379
|
-
|
|
379
|
+
u("div", he, [
|
|
380
380
|
P(c, {
|
|
381
381
|
type: "loader",
|
|
382
382
|
size: "28",
|
|
@@ -392,7 +392,7 @@ const ye = { key: 0 }, Pe = {
|
|
|
392
392
|
]);
|
|
393
393
|
};
|
|
394
394
|
}
|
|
395
|
-
}),
|
|
395
|
+
}), Ve = /* @__PURE__ */ W(ke, [["__scopeId", "data-v-31731741"]]);
|
|
396
396
|
export {
|
|
397
|
-
|
|
397
|
+
Ve as V
|
|
398
398
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a7 as n, d as t, o, T as s, j as a } from "./main-BayUZ9OO.js";
|
|
2
2
|
const r = { class: "quill-format" }, l = ["innerHTML"], d = /* @__PURE__ */ n({
|
|
3
3
|
__name: "PlainHtml",
|
|
4
4
|
props: {
|
|
5
5
|
content: { default: "" }
|
|
6
6
|
},
|
|
7
7
|
setup(c) {
|
|
8
|
-
return (e, i) => (
|
|
8
|
+
return (e, i) => (o(), t("div", r, [
|
|
9
9
|
s(e.$slots, "default", {}, () => [
|
|
10
10
|
a("div", { innerHTML: e.content }, null, 8, l)
|
|
11
11
|
])
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as v } from "./mapFormMixin-
|
|
2
|
-
import { B as A } from "./BlockMedia-
|
|
3
|
-
import {
|
|
4
|
-
import { u as B } from "./DocumentLayout-
|
|
5
|
-
import { t as
|
|
1
|
+
import { m as v } from "./mapFormMixin-Bx5_nE7g.js";
|
|
2
|
+
import { B as A } from "./BlockMedia-BGPxfM2X.js";
|
|
3
|
+
import { _ as b, s as C, ae as u, d as s, o as n, j as a, x as f, e as l, W as w, t as r, q as T, l as N, b as h, c as _, F as V, f as x, R as F, b2 as P } from "./main-BayUZ9OO.js";
|
|
4
|
+
import { u as B } from "./DocumentLayout-Oe-ZsHML.js";
|
|
5
|
+
import { t as D } from "./template-CvGgzazD.js";
|
|
6
6
|
import { s as L } from "./dom-DOcGU3-g.js";
|
|
7
|
-
import { T as j } from "./DocTextEditor-
|
|
7
|
+
import { T as j } from "./DocTextEditor-KrfylSV6.js";
|
|
8
8
|
import { i as M } from "./i18nMessages-Chz_lxGG.js";
|
|
9
9
|
const z = {
|
|
10
10
|
name: "SummaryBottom",
|
|
@@ -37,7 +37,7 @@ const z = {
|
|
|
37
37
|
data() {
|
|
38
38
|
return {
|
|
39
39
|
get: u,
|
|
40
|
-
tinycolor:
|
|
40
|
+
tinycolor: D
|
|
41
41
|
};
|
|
42
42
|
},
|
|
43
43
|
computed: {
|
|
@@ -106,35 +106,35 @@ const z = {
|
|
|
106
106
|
e && L(e);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, W = { class: "summary-bottom-root" }, I = { class: "price-type-string data-text" }, H = {
|
|
110
110
|
key: 0,
|
|
111
111
|
class: "price-deduction-text"
|
|
112
|
-
},
|
|
112
|
+
}, E = {
|
|
113
113
|
key: 0,
|
|
114
114
|
class: "open-acc-wrapper"
|
|
115
115
|
}, $ = {
|
|
116
116
|
key: 0,
|
|
117
117
|
class: "open-acc-item"
|
|
118
|
-
},
|
|
118
|
+
}, q = { class: "open-acc-link" }, O = {
|
|
119
119
|
class: "data-text",
|
|
120
120
|
style: { "font-size": "calc(2 * var(--rem))", "font-weight": "900", "letter-spacing": "1px", "line-height": "1", "padding-bottom": "calc(0.3 * var(--rem))" }
|
|
121
|
-
},
|
|
121
|
+
}, U = {
|
|
122
122
|
key: 2,
|
|
123
123
|
class: "label-text caps price-deduction-text",
|
|
124
124
|
style: { "margin-top": "4px" }
|
|
125
|
-
},
|
|
125
|
+
}, R = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "flex w-full items-center justify-end",
|
|
128
128
|
style: { height: "108px" }
|
|
129
|
-
},
|
|
129
|
+
}, Z = { style: { "text-align": "right", padding: "calc(2 * var(--rem))" } }, G = { style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "900" } }, J = { style: { "background-color": "hsla(0, 0%, 0%, 0.15)", paadding: "calc(1 * var(--rem)) calc(2 * var(--rem))", height: "100%", display: "inline-flex" } }, K = {
|
|
130
130
|
key: 0,
|
|
131
131
|
style: { padding: "calc(2 * var(--rem))", display: "inline-flex", "align-items": "center", "justify-content": "center", "font-weight": "900", "font-size": "calc(2.5 * var(--rem))" }
|
|
132
|
-
},
|
|
132
|
+
}, Q = {
|
|
133
133
|
key: 1,
|
|
134
134
|
style: { display: "flex", "flex-direction": "column", "align-items": "flex-start", "justify-content": "center", padding: "calc(1 * var(--rem)) calc(1 * var(--rem))", "text-align": "left" }
|
|
135
|
-
},
|
|
136
|
-
function
|
|
137
|
-
return n(), s("section",
|
|
135
|
+
}, X = { style: { "font-weight": "900", "font-size": "calc(1.5 * var(--rem))" } };
|
|
136
|
+
function Y(e, o, t, c, d, i) {
|
|
137
|
+
return n(), s("section", W, [
|
|
138
138
|
a("div", {
|
|
139
139
|
style: w([
|
|
140
140
|
{
|
|
@@ -148,20 +148,20 @@ function X(e, o, t, c, d, i) {
|
|
|
148
148
|
]),
|
|
149
149
|
class: "summary-bottom"
|
|
150
150
|
}, [
|
|
151
|
-
t.options.length ? (n(), s("div",
|
|
152
|
-
a("div",
|
|
151
|
+
t.options.length ? (n(), s("div", R, [
|
|
152
|
+
a("div", Z, [
|
|
153
153
|
a("div", G, r(e._document.$t("price.proposal")), 1),
|
|
154
154
|
a("div", null, r(e._document.$t("summaryBottom.chooseFrom")), 1)
|
|
155
155
|
]),
|
|
156
156
|
a("div", J, [
|
|
157
|
-
t.base ? (n(), s("div",
|
|
158
|
-
a("div",
|
|
157
|
+
t.base ? (n(), s("div", Q, [
|
|
158
|
+
a("div", X, r(i.priceFormat(t.base.prices.total, {
|
|
159
159
|
currency: i.currency,
|
|
160
160
|
decimals: 2,
|
|
161
161
|
hideZeroDecimals: !0
|
|
162
162
|
})), 1),
|
|
163
163
|
a("div", null, " + " + r(e._document.$tc("summaryBottom.option", { count: t.options.length })), 1)
|
|
164
|
-
])) : (n(), s("div",
|
|
164
|
+
])) : (n(), s("div", K, r(e._document.$t("summaryBottom.noOfOptions", {
|
|
165
165
|
count: t.options.length
|
|
166
166
|
})), 1))
|
|
167
167
|
]),
|
|
@@ -180,17 +180,17 @@ function X(e, o, t, c, d, i) {
|
|
|
180
180
|
class: f(["flex w-full flex-col", [{ "fixed-price-type-string": i.isSmallScreen }]]),
|
|
181
181
|
style: w([{ "background-color": "hsl(224, 57%, 39%)" }, [i.backgroundSecondary]])
|
|
182
182
|
}, [
|
|
183
|
-
a("div",
|
|
184
|
-
i.isSmallScreen ? l("", !0) : (n(), s("div",
|
|
183
|
+
a("div", I, r(i.priceTypeString), 1),
|
|
184
|
+
i.isSmallScreen ? l("", !0) : (n(), s("div", H, r(i.priceDeductionVatString), 1))
|
|
185
185
|
], 6),
|
|
186
|
-
i.priceType.some((m) => ["openAcc", "openAccMaxPrice"].includes(m)) ? (n(), s("div",
|
|
186
|
+
i.priceType.some((m) => ["openAcc", "openAccMaxPrice"].includes(m)) ? (n(), s("div", E, [
|
|
187
187
|
i.openAccMaxPrice ? (n(), s("div", $, [
|
|
188
188
|
a("div", null, r(e._document.$t("price.maxPrice").capitalize()) + " " + r(e._document.$t("vat.exVat", {
|
|
189
189
|
thing: e._document.$t(`vat.${t.vatType}`)
|
|
190
190
|
})) + ": ", 1),
|
|
191
191
|
a("div", null, r(i.priceFormat(i.openAccMaxPrice, { currency: i.currency })), 1)
|
|
192
192
|
])) : l("", !0),
|
|
193
|
-
a("div",
|
|
193
|
+
a("div", q, [
|
|
194
194
|
T(r(e._document.$t("see").capitalize()) + " ", 1),
|
|
195
195
|
a("span", {
|
|
196
196
|
style: { color: "inherit", cursor: "pointer" },
|
|
@@ -204,18 +204,18 @@ function X(e, o, t, c, d, i) {
|
|
|
204
204
|
key: 1,
|
|
205
205
|
class: f([[{ "justify-end": !i.isSmallScreen }], "flex w-full items-center"])
|
|
206
206
|
}, [
|
|
207
|
-
a("div",
|
|
207
|
+
a("div", O, r(i.priceType.includes("approx") ? e._document.$t("approx").capitalize() : "") + " " + r(i.priceFormat(i.priceTotal, {
|
|
208
208
|
currency: i.currency,
|
|
209
209
|
decimals: 2,
|
|
210
210
|
hideZeroDecimals: !0
|
|
211
211
|
})), 1)
|
|
212
212
|
], 2)),
|
|
213
|
-
i.isSmallScreen ? (n(), s("div",
|
|
213
|
+
i.isSmallScreen ? (n(), s("div", U, r(i.priceDeductionVatString), 1)) : l("", !0)
|
|
214
214
|
], 2))
|
|
215
215
|
], 4)
|
|
216
216
|
]);
|
|
217
217
|
}
|
|
218
|
-
const ee = /* @__PURE__ */ b(z, [["render",
|
|
218
|
+
const ee = /* @__PURE__ */ b(z, [["render", Y], ["__scopeId", "data-v-cdb2b76a"]]), te = {
|
|
219
219
|
name: "SummaryTop",
|
|
220
220
|
i18nOptions: {
|
|
221
221
|
namespaces: "summaryTop",
|
|
@@ -224,7 +224,7 @@ const ee = /* @__PURE__ */ b(z, [["render", X], ["__scopeId", "data-v-cdb2b76a"]
|
|
|
224
224
|
components: {
|
|
225
225
|
TextEditor: j,
|
|
226
226
|
DocumentLogotype: N(
|
|
227
|
-
() => import("./DocumentLogotype-
|
|
227
|
+
() => import("./DocumentLogotype-BFo5UEWS.js")
|
|
228
228
|
)
|
|
229
229
|
},
|
|
230
230
|
emits: ["update:logotype", "update:doc-name"],
|
|
@@ -404,7 +404,7 @@ const Se = /* @__PURE__ */ b(te, [["render", ke], ["__scopeId", "data-v-8f85211e
|
|
|
404
404
|
set(e) {
|
|
405
405
|
this.documentName = e, this.$emit("input", {
|
|
406
406
|
key: "data.name",
|
|
407
|
-
value:
|
|
407
|
+
value: P(e).trim().slice(0, 255)
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as u, X as h, a as f, Y as d, Z as p, $ as m, T as y } from "./main-BayUZ9OO.js";
|
|
2
2
|
const g = {
|
|
3
3
|
name: "SearchApi",
|
|
4
4
|
props: {
|
|
@@ -25,7 +25,7 @@ const g = {
|
|
|
25
25
|
};
|
|
26
26
|
},
|
|
27
27
|
computed: {
|
|
28
|
-
...
|
|
28
|
+
...f({
|
|
29
29
|
allAuthenticatedCRMs: "settings/allAuthenticatedCRMs",
|
|
30
30
|
can: "application/can"
|
|
31
31
|
}),
|
|
@@ -66,7 +66,7 @@ const g = {
|
|
|
66
66
|
},
|
|
67
67
|
async fetchType(t, a, r, e) {
|
|
68
68
|
if (!this.canFetchType(t)) return [];
|
|
69
|
-
const { data: s } = await
|
|
69
|
+
const { data: s } = await m("search", {
|
|
70
70
|
type: t,
|
|
71
71
|
query: a,
|
|
72
72
|
...r !== null && e !== null && { start: r, end: e }
|
|
@@ -88,7 +88,7 @@ const g = {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
|
-
}, { data: l } = await
|
|
91
|
+
}, { data: l } = await p("/document", {
|
|
92
92
|
params: {
|
|
93
93
|
lean: !0,
|
|
94
94
|
filter: encodeURIComponent(JSON.stringify(s)),
|
|
@@ -117,7 +117,7 @@ const g = {
|
|
|
117
117
|
})
|
|
118
118
|
), a;
|
|
119
119
|
},
|
|
120
|
-
triggerSearch:
|
|
120
|
+
triggerSearch: h(async function({ q: a, cb: r, start: e, end: s }) {
|
|
121
121
|
this.isLoading = !0;
|
|
122
122
|
const l = await this.fetch({ query: a, start: e, end: s });
|
|
123
123
|
return this.isLoading = !1, r(l);
|
|
@@ -130,7 +130,7 @@ function A(t, a, r, e, s, l) {
|
|
|
130
130
|
isLoading: s.isLoading
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
const $ = /* @__PURE__ */
|
|
133
|
+
const $ = /* @__PURE__ */ u(g, [["render", A]]);
|
|
134
134
|
export {
|
|
135
135
|
$ as S
|
|
136
136
|
};
|