@cling-se/widget 0.9.3 → 0.9.5
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/dist/{AddClientCallout-746899d9.js → AddClientCallout-e4e9874f.js} +5 -5
- package/dist/{AnswerModal-fdfea0f8.js → AnswerModal-acd3b9c0.js} +248 -248
- package/dist/{AttachmentItem-5671c64d.js → AttachmentItem-34e91526.js} +8 -8
- package/dist/{BaseDatePicker-a9240306.js → BaseDatePicker-581297bc.js} +43 -43
- package/dist/{BaseInput-d3c3688b.js → BaseInput-29d88150.js} +1 -1
- package/dist/{BaseUpload-8e7a2b72.js → BaseUpload-84d3b68b.js} +27 -26
- package/dist/{BlockMedia-b613a2a4.js → BlockMedia-319932b8.js} +1 -1
- package/dist/{CCallout-e9ff903a.js → CCallout-88ae9c08.js} +6 -6
- package/dist/{CDropdownItem-05d84f95.js → CDropdownItem-d46bf062.js} +76 -75
- package/dist/{CField-cd4dcae9.js → CField-be05883b.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-383db616.js → CSlider.vue_vue_type_style_index_0_lang-df4c839e.js} +1 -1
- package/dist/{ClientAutocomplete-421a2216.js → ClientAutocomplete-68f76bfc.js} +4 -4
- package/dist/{ClientModal-11341b1c.js → ClientModal-73086005.js} +16 -16
- package/dist/{ColorPicker-f90939b5.js → ColorPicker-11ee76f0.js} +2 -2
- package/dist/{CompanyModal-2bfd21b8.js → CompanyModal-0fec4480.js} +8 -8
- package/dist/{ContentWrapper-4aae35b2.js → ContentWrapper-fba78b6f.js} +19 -19
- package/dist/{CoverBlockSettings-1f917be3.js → CoverBlockSettings-7ffa15b1.js} +19 -19
- package/dist/{DocForm-0891c6b2.js → DocForm-e56b3a0c.js} +1208 -832
- package/dist/{DocFormSend-2b35999d.js → DocFormSend-cdc4eaf8.js} +14 -14
- package/dist/{DocModalBase-225e2f2d.js → DocModalBase-e473b946.js} +4 -4
- package/dist/DocPrint-6d8b1f14.js +222 -0
- package/dist/{DocReceipt-1391c17a.js → DocReceipt-c8a543f8.js} +1 -1
- package/dist/{DocSendReminder-c488842d.js → DocSendReminder-70effa09.js} +1 -1
- package/dist/{DocTextEditor-2538e1ab.js → DocTextEditor-cce51e7c.js} +19 -19
- package/dist/{DocTimeline-69ada0de.js → DocTimeline-c2cbd773.js} +11 -11
- package/dist/{DocumentClient-74b8f25b.js → DocumentClient-611c8c1c.js} +8 -6
- package/dist/{formValidationMixin-df38771c.js → DocumentLayout-86c367d1.js} +1617 -1709
- package/dist/{DocumentLogotype-e89b53fb.js → DocumentLogotype-441a9fdb.js} +3 -3
- package/dist/{EmbedInput-b7fefe5e.js → EmbedInput-a5938c25.js} +2 -2
- package/dist/{EmbedSettings-4957252f.js → EmbedSettings-141ab53c.js} +10 -10
- package/dist/ErrorCallout-7dea37df.js +30 -0
- package/dist/{FilePreviewModal-75693619.js → FilePreviewModal-875fd8c9.js} +8 -7
- package/dist/{HeaderSettings-9b69eada.js → HeaderSettings-0364b6df.js} +29 -29
- package/dist/{ImageSelectModal-94d4dc7f.js → ImageSelectModal-2d3a69db.js} +11 -11
- package/dist/{ImageUploadWrapper-a144b042.js → ImageUploadWrapper-7c70045f.js} +4 -4
- package/dist/{Index-023c3119.js → Index-006a27da.js} +10 -10
- package/dist/{Index-ec8d534f.js → Index-0313a553.js} +2 -2
- package/dist/{Index-4563d3fa.js → Index-06bd31c3.js} +26 -26
- package/dist/Index-07ae23ce.js +54 -0
- package/dist/{Index-62936c19.js → Index-0f4c9eb4.js} +34 -34
- package/dist/{Index-3dff19dd.js → Index-1e0cf88a.js} +10 -9
- package/dist/{Index-37a9183b.js → Index-1fc54467.js} +4 -4
- package/dist/{Index-abb8c6e4.js → Index-205dd368.js} +14 -14
- package/dist/{Index-b7def77a.js → Index-245f88ff.js} +10 -10
- package/dist/{Index-9a243eb8.js → Index-28bdb859.js} +2 -2
- package/dist/{Index-90492f19.js → Index-2a0c06b1.js} +3 -3
- package/dist/{Index-2cb8fa22.js → Index-3d84a32c.js} +9 -9
- package/dist/{Index-9ffe9766.js → Index-418c517f.js} +4 -4
- package/dist/{Index-f9b5f03c.js → Index-5196628a.js} +27 -27
- package/dist/{Index-dbe97658.js → Index-532b8844.js} +2 -2
- package/dist/{Index-96f39afc.js → Index-53348c92.js} +4 -4
- package/dist/{Index-cec7d4f1.js → Index-54962a1e.js} +15 -15
- package/dist/{Index-a37beb03.js → Index-5de564da.js} +2 -2
- package/dist/{Index-d68a28da.js → Index-6f957f7e.js} +15 -15
- package/dist/{Index-304c45be.js → Index-710d1132.js} +8 -8
- package/dist/{Index-a86ea774.js → Index-7a2f20fd.js} +9 -9
- package/dist/{Index-693005f0.js → Index-818ef607.js} +4 -4
- package/dist/Index-875e7805.js +79 -0
- package/dist/{Index-f453850f.js → Index-889b6a45.js} +18 -19
- package/dist/{Index-a554b58c.js → Index-8975cd1e.js} +4 -4
- package/dist/{Index-97d1f2f3.js → Index-affdb14c.js} +11 -10
- package/dist/{Index-3ee2e944.js → Index-b80ab22f.js} +2 -2
- package/dist/{Index-53da7be8.js → Index-ba48e68b.js} +8 -8
- package/dist/{Index-35387450.js → Index-beb43a1a.js} +95 -95
- package/dist/{Index-00ef9241.js → Index-c746dc64.js} +13 -13
- package/dist/{Index-1bafafca.js → Index-cf54ef50.js} +2 -2
- package/dist/{Index-4440fe3d.js → Index-dbf5c34c.js} +4 -4
- package/dist/{Index-bcc478b3.js → Index-fa01557d.js} +12 -12
- package/dist/{Index-78f13416.js → Index-ff60354c.js} +7 -7
- package/dist/{InputToggleRow-68320d9f.js → InputToggleRow-c520bed9.js} +5 -5
- package/dist/IsPremiumPreStep-d4739d6a.js +2443 -0
- package/dist/{MediaWrapper-c50879c2.js → MediaWrapper-722723f7.js} +3 -3
- package/dist/{NotBindingText-8f2d9244.js → NotBindingText-613399b6.js} +2 -2
- package/dist/{PackageGroup-2c49e99b.js → PackageGroup-1085c76c.js} +56 -56
- package/dist/{PdfTerms-94153a5f.js → PdfTerms-f98a6f75.js} +8 -7
- package/dist/{PdfViewer-701ad40e.js → PdfViewer-096bbf00.js} +5 -4
- package/dist/{PlainHtml-04a6d7f9.js → PlainHtml-752bc8d6.js} +1 -1
- package/dist/PriceHeader-e25df5eb.js +337 -0
- package/dist/{SearchApi-ffe5b697.js → SearchApi-20629627.js} +2 -2
- package/dist/{TermsSettings-b1bf19e9.js → TermsSettings-4cc4a9ee.js} +11 -11
- package/dist/{ThemeColorRow-913497f6.js → ThemeColorRow-c292abc6.js} +3 -3
- package/dist/{ToggleBinding-6518935d.js → ToggleBinding-406175fb.js} +3 -3
- package/dist/{UploadModal-3c399d25.js → UploadModal-0cbd0c8f.js} +16 -16
- package/dist/{VideoPlayerInput-b54845a4.js → VideoPlayerInput-d7b5fe4b.js} +3 -3
- package/dist/{VideoPlayerSettings-496e9e79.js → VideoPlayerSettings-51c75143.js} +12 -12
- package/dist/VideoSelectModal-e34cde4b.js +111 -0
- package/dist/{answerDocumentMixin-0e5e4dbb.js → answerDocumentMixin-574c5304.js} +3 -3
- package/dist/assets/article-options-10291.png +0 -0
- package/dist/assets/bg-base-13048.png +0 -0
- package/dist/assets/bg-pro-81076.png +0 -0
- package/dist/assets/bg-start-20630.png +0 -0
- package/dist/assets/blank-10674.png +0 -0
- package/dist/assets/block-options-17322.png +0 -0
- package/dist/assets/columnGallery.image-24825.png +0 -0
- package/dist/assets/doc-send-94456.png +0 -0
- package/dist/assets/drag-block-17194.png +0 -0
- package/dist/assets/headerCircularGradient.image-13878.png +0 -0
- package/dist/assets/roiCalculator.image-14704.png +0 -0
- package/dist/assets/text-bubble-53861.png +0 -0
- package/dist/{cssMode-c0865919.js → cssMode-eda08630.js} +19 -15
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-298861bc.js → focusDrawerMixin-72f8dd7a.js} +1 -1
- package/dist/{formComponentsInstall-1be6791d.js → formComponentsInstall-3f1c6477.js} +40 -40
- package/dist/formValidationMixin-d4e84872.js +49 -0
- package/dist/{freemarker2-85dde97c.js → freemarker2-42cdfba5.js} +23 -19
- package/dist/{handlebars-6aa1e52b.js → handlebars-b4515777.js} +15 -11
- package/dist/{html-f0c735cd.js → html-ea5d1845.js} +18 -14
- package/dist/{htmlMode-7b3bd7c9.js → htmlMode-1cc3531d.js} +23 -19
- package/dist/{index-1ef6f423.js → index-07377b76.js} +45 -45
- package/dist/index-676b9274.js +17 -0
- package/dist/{index-431938de.js → index-762349d7.js} +7 -7
- package/dist/{index-30808a2c.js → index-7adda710.js} +31 -31
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -533
- package/dist/{javascript-9c54ad9e.js → javascript-185ef2e0.js} +15 -11
- package/dist/{jsonMode-1d1176fa.js → jsonMode-59ea4e99.js} +23 -19
- package/dist/{liquid-0738c73d.js → liquid-517f2a7c.js} +18 -14
- package/dist/{main-2d9b8259.js → main-95207159.js} +15376 -12887
- package/dist/{mapFormMixin-308bbdab.js → mapFormMixin-a245a297.js} +1 -1
- package/dist/{publicSenderState-9eecb11f.js → publicSenderState-bea5980b.js} +1 -1
- package/dist/{python-588c9e64.js → python-eb6703d8.js} +15 -11
- package/dist/{razor-fbaa1d21.js → razor-4c5b7deb.js} +22 -18
- package/dist/simplebar.min-97b539d6.js +71 -0
- package/dist/style.css +2 -2
- package/dist/template-b3af7583.js +528 -0
- package/dist/{throttle-d7bed81a.js → throttle-a0ce8f66.js} +2 -2
- package/dist/{tinycolor-ef496244.js → tinycolor-65e7dc2e.js} +1 -1
- package/dist/{FormInputRow-09d450e3.js → tippy.esm-3c111ba9.js} +285 -285
- package/dist/{tsMode-c1de8e10.js → tsMode-a4a0e653.js} +19 -15
- package/dist/{typescript-737827aa.js → typescript-aeab7849.js} +15 -11
- package/dist/{utils-69c41ae9.js → utils-580c7144.js} +1 -1
- package/dist/{vuedraggable.umd-67b8cddf.js → vuedraggable.umd-2c22e5f8.js} +41 -41
- package/dist/{xml-30e811a1.js → xml-098907e6.js} +18 -14
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/ErrorCallout-42e45ec0.js +0 -30
- package/dist/Index-42e26b46.js +0 -79
- package/dist/Index-f2b66b79.js +0 -47
- package/dist/IsPremiumPreStep-0c7032a3.js +0 -1919
- package/dist/PriceHeader-7f92d5a7.js +0 -336
- package/dist/VideoSelectModal-3a566398.js +0 -111
- package/dist/index-6d08eac3.js +0 -14
- package/dist/simplebar.min-75960401.js +0 -2429
- package/dist/template-b877debf.js +0 -526
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { k as h, n as f, j as g } from "./main-95207159.js";
|
|
2
|
+
import { B as _, a as y } from "./index-762349d7.js";
|
|
3
|
+
import x from "./VideoPlayerInput-d7b5fe4b.js";
|
|
4
|
+
import "./CDropdownItem-d46bf062.js";
|
|
5
|
+
import "./throttle-a0ce8f66.js";
|
|
6
|
+
import "./dom-068d1a7b.js";
|
|
7
|
+
import "./simplebar.min-97b539d6.js";
|
|
8
|
+
import "./utils-580c7144.js";
|
|
9
|
+
const V = h.pexels.id, b = {
|
|
10
|
+
name: "VideoSelectModal",
|
|
11
|
+
i18nOptions: {
|
|
12
|
+
namespaces: "videoSelectModal",
|
|
13
|
+
messages: {
|
|
14
|
+
en: {
|
|
15
|
+
creditVideos: "Videos from {{thing}}",
|
|
16
|
+
tabLink: "Use link"
|
|
17
|
+
},
|
|
18
|
+
sv: {
|
|
19
|
+
creditVideos: "Videor från {{thing}}",
|
|
20
|
+
tabLink: "Egen länk"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
components: {
|
|
25
|
+
BackgroundModal: _,
|
|
26
|
+
BackgroundList: y,
|
|
27
|
+
VideoPlayerInput: x
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
activeTab: "pexels",
|
|
32
|
+
selectedVideo: null,
|
|
33
|
+
customVideo: null
|
|
34
|
+
};
|
|
35
|
+
},
|
|
36
|
+
methods: {
|
|
37
|
+
async fetch({ query: a, page: t }) {
|
|
38
|
+
const { data: e } = await g.get("https://api.pexels.com/videos/search", {
|
|
39
|
+
headers: {
|
|
40
|
+
Authorization: V
|
|
41
|
+
},
|
|
42
|
+
params: {
|
|
43
|
+
page: t,
|
|
44
|
+
per_page: 12,
|
|
45
|
+
query: a
|
|
46
|
+
}
|
|
47
|
+
}), s = (o, i) => o.height < i.height || o.width < i.width ? -1 : 1, u = (o) => (o.find(({ height: i }) => i > 1e3 && i < 1200) || {}).link;
|
|
48
|
+
return {
|
|
49
|
+
items: (e.videos || []).map(({
|
|
50
|
+
id: o,
|
|
51
|
+
image: i,
|
|
52
|
+
video_files: c = [],
|
|
53
|
+
user: d
|
|
54
|
+
}) => {
|
|
55
|
+
const { sd: m, hd: p } = (c || []).sort(s).reduce((r, l) => (r[l.quality] && l.link && r[l.quality].push(l.link), r), { sd: [], hd: [] }), [v] = m;
|
|
56
|
+
let n = u(c);
|
|
57
|
+
return n || ([n] = p.length ? p : m.slice(-1)), {
|
|
58
|
+
id: `${o}`,
|
|
59
|
+
image: i,
|
|
60
|
+
minImage: i,
|
|
61
|
+
video: n,
|
|
62
|
+
minVideo: v,
|
|
63
|
+
userName: d.name,
|
|
64
|
+
userLink: d.link
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
total: e.total_results
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
selectVideo(a) {
|
|
71
|
+
const {
|
|
72
|
+
id: t,
|
|
73
|
+
image: e,
|
|
74
|
+
video: s
|
|
75
|
+
} = a || {};
|
|
76
|
+
this.selectedVideo = {
|
|
77
|
+
id: t,
|
|
78
|
+
url: s,
|
|
79
|
+
thumbnail: e,
|
|
80
|
+
provider: "pexels"
|
|
81
|
+
};
|
|
82
|
+
},
|
|
83
|
+
onSave() {
|
|
84
|
+
const a = this.activeTab === "pexels" ? this.selectedVideo : this.customVideo;
|
|
85
|
+
this.$emit("input", a), this.$parent && this.$parent.$emit("input", a), this.$emit("close");
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
var w = function() {
|
|
90
|
+
var t = this, e = t._self._c;
|
|
91
|
+
return e("BackgroundModal", [e("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }, attrs: { slot: "header" }, slot: "header" }, [e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "pexels" && { opacity: 1 }, on: { click: function(s) {
|
|
92
|
+
t.activeTab = "pexels";
|
|
93
|
+
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { xmlns: "http://www.w3.org/2000/svg", width: "28", height: "28", viewBox: "0 0 32 32" } }, [e("path", { attrs: { d: "M2 0h28a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z", fill: "#05A081" } }), e("path", { attrs: { d: "M13 21h3.863v-3.752h1.167a3.124 3.124 0 1 0 0-6.248H13v10zm5.863 2H11V9h7.03a5.124 5.124 0 0 1 .833 10.18V23z", fill: "#fff" } })]), t._v(" " + t._s(t.$t("_common:video").capitalize()) + " ")])]), e("CButton", { staticStyle: { "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, style: t.activeTab === "customUrl" && { opacity: 1 }, on: { click: function(s) {
|
|
94
|
+
t.activeTab = "customUrl";
|
|
95
|
+
} } }, [e("span", { staticStyle: { display: "inline-flex", "align-items": "center" } }, [e("svg", { staticStyle: { "margin-right": "calc(0.5 * var(--rem))" }, attrs: { width: "28", height: "28", xmlns: "http://www.w3.org/2000/svg", version: "1.1", x: "0", y: "0", "xml:space": "preserve", viewBox: "0 0 71.412 50" } }, [e("g", { attrs: { transform: "scale(.58824)" } }, [e("path", { attrs: { d: "M118.9 13.3c-1.4-5.2-5.5-9.3-10.7-10.7C98.7 0 60.7 0 60.7 0s-38 0-47.5 2.5C8.1 3.9 3.9 8.1 2.5 13.3 0 22.8 0 42.5 0 42.5s0 19.8 2.5 29.2C3.9 76.9 8 81 13.2 82.4 22.8 85 60.7 85 60.7 85s38 0 47.5-2.5c5.2-1.4 9.3-5.5 10.7-10.7 2.5-9.5 2.5-29.2 2.5-29.2s.1-19.8-2.5-29.3z", fill: "red", "fill-opacity": "1" } }), e("path", { attrs: { fill: "#fff", d: "M80.2 42.5L48.6 24.3v36.4z" } })])]), t._v(" " + t._s(t.$t("tabLink").capitalize()) + " ")])])], 1), t.activeTab === "pexels" ? e("BackgroundList", { attrs: { fetch: t.fetch, "credit-text": t.$t("creditVideos", { thing: "Pexels" }), "default-query": "nature" }, on: { select: t.selectVideo } }, [e("CButton", { staticStyle: { "margin-left": "0.5em" }, attrs: { slot: "footer", disable: !t.selectedVideo, type: "secondary" }, on: { click: t.onSave }, slot: "footer" }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1) : e("div", { staticClass: "flex flex-col items-center justify-center w-full" }, [e("div", { staticStyle: { "max-width": "500px", width: "100%", margin: "0 auto", "padding-top": "calc(3 * var(--rem))" } }, [e("div", { staticStyle: { position: "relative", width: "100%", "padding-top": "56.25%", "background-color": "hsl(var(--gray-color-100) / 1)", "border-radius": "0.5em", "margin-bottom": "calc(1.5 * var(--rem))" } }, [t.customVideo ? e("iframe", { staticClass: "custom-video-preview", attrs: { src: t.customVideo.url } }) : t._e()]), e("VideoPlayerInput", { attrs: { filled: !0, "video-options": { background: !0 } }, model: { value: t.customVideo, callback: function(s) {
|
|
96
|
+
t.customVideo = s;
|
|
97
|
+
}, expression: "customVideo" } }, [e("CButton", { attrs: { disable: !t.customVideo, type: "secondary" }, on: { click: t.onSave } }, [t._v(" " + t._s(t.$t("_common:save")) + " ")])], 1)], 1)])], 1);
|
|
98
|
+
}, k = [], S = /* @__PURE__ */ f(
|
|
99
|
+
b,
|
|
100
|
+
w,
|
|
101
|
+
k,
|
|
102
|
+
!1,
|
|
103
|
+
null,
|
|
104
|
+
"8d77a3bb",
|
|
105
|
+
null,
|
|
106
|
+
null
|
|
107
|
+
);
|
|
108
|
+
const j = S.exports;
|
|
109
|
+
export {
|
|
110
|
+
j as default
|
|
111
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "./main-
|
|
2
|
-
import { w as l } from "./CDropdownItem-
|
|
1
|
+
import { b as r } from "./main-95207159.js";
|
|
2
|
+
import { w as l } from "./CDropdownItem-d46bf062.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
4
|
mixins: [l],
|
|
5
5
|
inject: {
|
|
@@ -26,7 +26,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
26
26
|
const o = t === "decline" ? !0 : this.isValid();
|
|
27
27
|
if (!i.isPreview && !o)
|
|
28
28
|
return;
|
|
29
|
-
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-
|
|
29
|
+
const n = this.mq === "sm" ? "100%" : "auto", a = () => import("./AnswerModal-acd3b9c0.js");
|
|
30
30
|
this.$modal.show(
|
|
31
31
|
a,
|
|
32
32
|
{
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var Fe = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var E = (e, n, i) => (Fe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as je } from "./Index-
|
|
5
|
-
import "./mapFormMixin-
|
|
6
|
-
import "./main-
|
|
7
|
-
import "./throttle-
|
|
8
|
-
import "./CDropdownItem-
|
|
4
|
+
import { m as je } from "./Index-06bd31c3.js";
|
|
5
|
+
import "./mapFormMixin-a245a297.js";
|
|
6
|
+
import "./main-95207159.js";
|
|
7
|
+
import "./throttle-a0ce8f66.js";
|
|
8
|
+
import "./CDropdownItem-d46bf062.js";
|
|
9
9
|
import "./splitpanes-ba7897bf.js";
|
|
10
|
-
import "./
|
|
11
|
-
import "./template-
|
|
10
|
+
import "./DocumentLayout-86c367d1.js";
|
|
11
|
+
import "./template-b3af7583.js";
|
|
12
|
+
import "/Users/max.antonsson/Documents/Github/cling-vue/widget/dist/assets/headerCircularGradient.image-13878.png";
|
|
13
|
+
import "/Users/max.antonsson/Documents/Github/cling-vue/widget/dist/assets/columnGallery.image-24825.png";
|
|
14
|
+
import "/Users/max.antonsson/Documents/Github/cling-vue/widget/dist/assets/roiCalculator.image-14704.png";
|
|
15
|
+
import "/Users/max.antonsson/Documents/Github/cling-vue/widget/dist/assets/blank-10674.png";
|
|
12
16
|
/*!-----------------------------------------------------------------------------
|
|
13
17
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
14
18
|
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
|
|
@@ -1294,7 +1298,7 @@ function ut(e) {
|
|
|
1294
1298
|
}
|
|
1295
1299
|
return n.Function;
|
|
1296
1300
|
}
|
|
1297
|
-
var
|
|
1301
|
+
var yt = class {
|
|
1298
1302
|
constructor(e) {
|
|
1299
1303
|
this._worker = e;
|
|
1300
1304
|
}
|
|
@@ -1310,7 +1314,7 @@ var Et = class {
|
|
|
1310
1314
|
};
|
|
1311
1315
|
});
|
|
1312
1316
|
}
|
|
1313
|
-
},
|
|
1317
|
+
}, It = class {
|
|
1314
1318
|
constructor(e) {
|
|
1315
1319
|
this._worker = e;
|
|
1316
1320
|
}
|
|
@@ -1321,7 +1325,7 @@ var Et = class {
|
|
|
1321
1325
|
return a.map(j);
|
|
1322
1326
|
}));
|
|
1323
1327
|
}
|
|
1324
|
-
},
|
|
1328
|
+
}, Rt = class {
|
|
1325
1329
|
constructor(e) {
|
|
1326
1330
|
this._worker = e;
|
|
1327
1331
|
}
|
|
@@ -1410,7 +1414,7 @@ var gt = class {
|
|
|
1410
1414
|
});
|
|
1411
1415
|
}
|
|
1412
1416
|
};
|
|
1413
|
-
function
|
|
1417
|
+
function Pt(e) {
|
|
1414
1418
|
const n = [], i = [], r = new ze(e);
|
|
1415
1419
|
n.push(r);
|
|
1416
1420
|
const t = (...o) => r.getLanguageServiceWorker(...o);
|
|
@@ -1432,10 +1436,10 @@ export {
|
|
|
1432
1436
|
nt as DefinitionAdapter,
|
|
1433
1437
|
Be as DiagnosticsAdapter,
|
|
1434
1438
|
ct as DocumentColorAdapter,
|
|
1435
|
-
|
|
1439
|
+
It as DocumentFormattingEditProvider,
|
|
1436
1440
|
tt as DocumentHighlightAdapter,
|
|
1437
|
-
|
|
1438
|
-
|
|
1441
|
+
yt as DocumentLinkAdapter,
|
|
1442
|
+
Rt as DocumentRangeFormattingEditProvider,
|
|
1439
1443
|
st as DocumentSymbolAdapter,
|
|
1440
1444
|
dt as FoldingRangeAdapter,
|
|
1441
1445
|
Ze as HoverAdapter,
|
|
@@ -1445,7 +1449,7 @@ export {
|
|
|
1445
1449
|
ze as WorkerManager,
|
|
1446
1450
|
A as fromPosition,
|
|
1447
1451
|
De as fromRange,
|
|
1448
|
-
|
|
1452
|
+
Pt as setupMode,
|
|
1449
1453
|
_ as toRange,
|
|
1450
1454
|
j as toTextEdit
|
|
1451
1455
|
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const c = {}, u = {};
|
|
2
|
+
function m(t) {
|
|
3
|
+
if (u[t])
|
|
4
|
+
return;
|
|
5
|
+
if (c[t])
|
|
6
|
+
return c[t];
|
|
7
|
+
const e = new Promise((r, n) => {
|
|
8
|
+
const s = document.createElement("script"), i = window.setTimeout(() => {
|
|
9
|
+
c[t] = null, n(new Error(`Failed to load ${t} in 20s`));
|
|
10
|
+
}, 2e4);
|
|
11
|
+
s.onload = () => {
|
|
12
|
+
i && window.clearTimeout(i), u[t] = !0, c[t] = null, r();
|
|
13
|
+
}, s.onerror = (d) => {
|
|
14
|
+
i && window.clearTimeout(i), c[t] = null, n(d);
|
|
15
|
+
}, s.src = t, document.body.appendChild(s);
|
|
16
|
+
});
|
|
17
|
+
return c[t] = e, e;
|
|
18
|
+
}
|
|
19
|
+
function w(t) {
|
|
20
|
+
const e = t.getBoundingClientRect(), r = window.innerHeight || document.documentElement.clientHeight, n = window.innerWidth || document.documentElement.clientWidth, s = e.top <= r && e.top + e.height >= 0, i = e.left <= n && e.left + e.width >= 0;
|
|
21
|
+
return s && i;
|
|
22
|
+
}
|
|
23
|
+
const a = (t) => {
|
|
24
|
+
const e = /(auto|scroll)/, r = (o, l) => o.parentNode === null ? l : r(o.parentNode, l.concat([o])), n = (o, l) => getComputedStyle(o, null).getPropertyValue(l), s = (o) => n(o, "overflow") + n(o, "overflow-y") + n(o, "overflow-x"), i = (o) => e.test(s(o));
|
|
25
|
+
return ((o) => {
|
|
26
|
+
if (!(o instanceof HTMLElement || o instanceof SVGElement))
|
|
27
|
+
return null;
|
|
28
|
+
const l = r(o.parentNode, []);
|
|
29
|
+
for (let f = 0; f < l.length; f += 1)
|
|
30
|
+
if (i(l[f]))
|
|
31
|
+
return l[f];
|
|
32
|
+
return document.scrollingElement || document.documentElement;
|
|
33
|
+
})(t);
|
|
34
|
+
}, p = (t) => {
|
|
35
|
+
let e = 0;
|
|
36
|
+
for (; t; )
|
|
37
|
+
e += t.offsetTop, t = t.offsetParent;
|
|
38
|
+
return e;
|
|
39
|
+
};
|
|
40
|
+
function h(t, e) {
|
|
41
|
+
let r = t;
|
|
42
|
+
typeof r == "string" && (r = document.querySelector(r));
|
|
43
|
+
const n = {
|
|
44
|
+
offset: 0,
|
|
45
|
+
behavior: "smooth",
|
|
46
|
+
body: a(r),
|
|
47
|
+
// custom option used for choosing parent scroll element
|
|
48
|
+
...e
|
|
49
|
+
}, s = p(r);
|
|
50
|
+
HTMLElement.prototype.scrollTo ? n.body.scrollTo({
|
|
51
|
+
behavior: n.behavior,
|
|
52
|
+
top: s - n.offset
|
|
53
|
+
}) : n.body.scrollTop = s - n.offset;
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
m as e,
|
|
57
|
+
w as i,
|
|
58
|
+
h as s
|
|
59
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { b as H, m as f } from "./vuex.esm-4a0fff7c.js";
|
|
2
|
-
import { s as q } from "./simplebar.min-
|
|
3
|
-
import { m as u } from "./mapFormMixin-
|
|
4
|
-
import { B as O } from "./BaseDatePicker-
|
|
5
|
-
import { E as j } from "./ErrorCallout-
|
|
6
|
-
import { n as r,
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { c as J, r as Z, g as ee, C as p, b as h, e as m } from "./CDropdownItem-
|
|
10
|
-
import { S as te } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
11
|
-
import { C as _ } from "./CCallout-
|
|
12
|
-
import { C as z } from "./CField-
|
|
2
|
+
import { s as q } from "./simplebar.min-97b539d6.js";
|
|
3
|
+
import { m as u } from "./mapFormMixin-a245a297.js";
|
|
4
|
+
import { B as O } from "./BaseDatePicker-581297bc.js";
|
|
5
|
+
import { E as j } from "./ErrorCallout-7dea37df.js";
|
|
6
|
+
import { n as r, aA as I, aB as v, h as K, b as d, aC as W, l as X, aD as U, aE as Q, o as T, aF as P, aG as R, c as M, A as y } from "./main-95207159.js";
|
|
7
|
+
import G from "./AddClientCallout-e4e9874f.js";
|
|
8
|
+
import Y from "./ClientModal-73086005.js";
|
|
9
|
+
import { c as J, r as Z, g as ee, C as p, b as h, e as m } from "./CDropdownItem-d46bf062.js";
|
|
10
|
+
import { S as te } from "./CSlider.vue_vue_type_style_index_0_lang-df4c839e.js";
|
|
11
|
+
import { C as _ } from "./CCallout-88ae9c08.js";
|
|
12
|
+
import { C as z } from "./CField-be05883b.js";
|
|
13
13
|
import { r as o } from "./regions-29ee6964.js";
|
|
14
14
|
const ie = {
|
|
15
15
|
name: "DocumentSendReminderItem",
|
|
@@ -117,7 +117,7 @@ const re = ae.exports, oe = {
|
|
|
117
117
|
};
|
|
118
118
|
var le = function() {
|
|
119
119
|
var e = this, i = e._self._c;
|
|
120
|
-
return i("div", { staticStyle: { "background-color": "white", "border-radius": "0.
|
|
120
|
+
return i("div", { staticStyle: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(2 * var(--rem))", "font-size": "16px" } }, [i("div", { staticStyle: { "font-size": "1.25em", "font-weight": "700", "margin-bottom": "0.25em", "text-align": "center" } }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), i("div", { staticClass: "text-center text-gray-600", staticStyle: { "max-width": "calc(20 * var(--rem))", margin: "0 auto calc(2 * var(--rem)) auto" } }, [e._v(" " + e._s(e.$t("description")) + " ")]), e._l([
|
|
121
121
|
{ type: "notViewed", fallbackKey: "viewed" },
|
|
122
122
|
{ type: "notAnswered", fallbackKey: "reminder" },
|
|
123
123
|
{ type: "expires", fallbackKey: "expires" }
|
|
@@ -125,7 +125,7 @@ var le = function() {
|
|
|
125
125
|
return i("DocumentSendReminderItem", { key: n, attrs: { label: e.$t(s.type), value: e.reminders[s.type] ? e.reminders[s.type].sendDays : 0, done: e.reminders[s.type] && e.reminders[s.type].status === "successful" }, on: { input: function(a) {
|
|
126
126
|
return e.setReminder(e.reminders[s.type] || s.fallbackKey, a);
|
|
127
127
|
} } });
|
|
128
|
-
}), i("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { "margin-top": "2.
|
|
128
|
+
}), i("div", { staticClass: "flex items-center justify-center w-full", staticStyle: { "margin-top": "calc(2.5 * var(--rem))" } }, [i("CButton", { attrs: { type: "secondary", expanded: "" }, on: { click: function(s) {
|
|
129
129
|
return e.$emit("close");
|
|
130
130
|
} } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")])], 1)], 2);
|
|
131
131
|
}, de = [], ce = /* @__PURE__ */ r(
|
|
@@ -139,15 +139,15 @@ var le = function() {
|
|
|
139
139
|
null
|
|
140
140
|
);
|
|
141
141
|
const ue = ce.exports;
|
|
142
|
-
function
|
|
142
|
+
function E(t, e) {
|
|
143
143
|
const i = new Date(t.getTime());
|
|
144
144
|
return i.setDate(t.getDate() + (7 + e - t.getDay() - 1) % 7 + 1), i.setHours(8, 0, 0, 0), i;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function N(t) {
|
|
147
147
|
const e = new Date(t.getTime());
|
|
148
148
|
return e.setDate(e.getDate() + 1), e.setHours(10, 0, 0, 0), e;
|
|
149
149
|
}
|
|
150
|
-
let b =
|
|
150
|
+
let b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
|
|
151
151
|
const me = {
|
|
152
152
|
name: "DocumentSendLater",
|
|
153
153
|
i18nOptions: {
|
|
@@ -232,7 +232,7 @@ const me = {
|
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
created() {
|
|
235
|
-
b =
|
|
235
|
+
b = N(/* @__PURE__ */ new Date()), C = E(/* @__PURE__ */ new Date(), 1);
|
|
236
236
|
},
|
|
237
237
|
methods: {
|
|
238
238
|
setTime(t) {
|
|
@@ -274,7 +274,7 @@ var pe = function() {
|
|
|
274
274
|
return i("div", { key: n, staticClass: "bg-gray-50 border border-gray-200 p-4 rounded-md mb-4 cursor-pointer flex items-center justify-between text-sm hover:bg-gray-100 hover:border-gray-300 active:bg-gray-200 active:border-gray-400 select-none", on: { click: () => e.onSendAt(s[0]) } }, [i("div", { staticClass: "font-medium" }, [e._v(e._s(e.$t(s[1])))]), i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$formatDate(s[0], "p, d MMM")) + " ")])]);
|
|
275
275
|
}), 0)]), i("div", { staticClass: "px-8 py-6 bg-gray-100 border-t border-gray-200", class: e.showCustom ? "" : "cursor-pointer hover:bg-gray-200", on: { click: function(s) {
|
|
276
276
|
e.showCustom = !0;
|
|
277
|
-
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("BaseIcon", { staticClass: "mr-2 text-primary-500", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "1.
|
|
277
|
+
} } }, [i("div", { staticClass: "flex items-center text-sm" }, [i("BaseIcon", { staticClass: "text-primary-500 mr-2", attrs: { type: "calendar", size: "18" } }), i("div", { staticClass: "font-medium", domProps: { textContent: e._s(e.$t("custom.title")) } })], 1), i("Animation", [i("div", { directives: [{ name: "show", rawName: "v-show", value: e.showCustom, expression: "showCustom" }], staticClass: "mt-4" }, [i("div", { staticClass: "grid grid-cols-2 gap-4" }, [i("BaseDatePicker", { attrs: { value: e.sendAt }, on: { input: e.setDate } }), i("CInput", { attrs: { value: e.$formatDate(e.sendAt, "HH:mm"), clearable: !1, type: "time" }, on: { input: e.setTime } })], 1), e.$v.$invalid ? i("div", { staticClass: "error-wrapper" }, [i("BaseIcon", { staticClass: "mr-2 text-primary-500", attrs: { type: "calendar" } }), e._v(" " + e._s(e.$t("custom.invalid")) + " ")], 1) : e._e(), i("CButton", { staticStyle: { "margin-top": "calc(1.5 * var(--rem))" }, attrs: { loading: e.isPostingDocument || e.isPostingProject, type: "secondary", wide: "" }, on: { click: function(s) {
|
|
278
278
|
return e.onSendAt(e.sendAt);
|
|
279
279
|
} } }, [e._v(" " + e._s(e.$t("_common:send")) + " " + e._s(e.$formatDate(e.sendAt, "d MMM - p")) + " ")])], 1)])], 1)]);
|
|
280
280
|
}, he = [], fe = /* @__PURE__ */ r(
|
|
@@ -283,7 +283,7 @@ var pe = function() {
|
|
|
283
283
|
he,
|
|
284
284
|
!1,
|
|
285
285
|
null,
|
|
286
|
-
"
|
|
286
|
+
"3b80f637",
|
|
287
287
|
null,
|
|
288
288
|
null
|
|
289
289
|
);
|
|
@@ -340,13 +340,13 @@ var ye = function() {
|
|
|
340
340
|
return n.preventDefault(), n.stopPropagation(), e.$emit("move", -1);
|
|
341
341
|
} } }), i("CButton", { staticClass: "rc-order__button down", attrs: { type: "none", pattern: "primary", circle: "", raised: "", size: "small", icon: "plus" }, on: { click: function(n) {
|
|
342
342
|
return n.preventDefault(), n.stopPropagation(), e.$emit("move", 1);
|
|
343
|
-
} } }), i("div", { staticClass: "rc-order" }, [e._v(" " + e._s(e.client.signOrder) + " ")])], 1) : i("BaseIcon", { staticClass: "text-primary-500", staticStyle: { "margin-right": "8px", flex: "0 0 18px" }, attrs: { type: e.isSender ? "send" : ["signee", "approver"].includes(e.client.documentRole) ? "pen-tool" : "eye", size: "18" } })], 1), i("div", { staticClass: "rc-data truncate-text" }, [e.client.name || e.client.companyName ? i("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.client.name || e.client.companyName) + " ")]) : e.isSender ? i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:empty", { thing: e.$t("_common:reference") })) + " ")]) : i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:missing", { thing: e.$t("_common:name") })) + " ")]), i("div", { staticClass: "text-gray-700", staticStyle: { "font-size": "12px" } }, [e.isSender ? [e.isSender ? i("span", [e._v(" " + e._s(e.$t("_common:documentRole.sender.description")) + " ")]) : e._e(), e.client.documentRole === "signee" ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e()] : [((s = e.client.answerMethod) == null ? void 0 : s.accept) === "inPerson" ? i("span", { staticClass: "text-red-500" }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + ": "), i("span", [e._v(" " + e._s(e.$t("_common:signMethod.inPerson")) + " ")])]) : e._e(), e.client.documentRole ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e(), e.client.email ? i("span", [e._v(e._s(e.client.email))]) : e._e(), e.client.cellphone ? i("span", [e._v(e._s(e.client.cellphone))]) : e._e()]], 2)])], e.rightButton ? i("transition", { attrs: { name: "fade-100" } }, [e.isHover || e.isDropdownOpen ? [e.isSender ? i("CDropdown", { ref: "dropdown", staticStyle: { position: "absolute", right: "0.
|
|
343
|
+
} } }), i("div", { staticClass: "rc-order" }, [e._v(" " + e._s(e.client.signOrder) + " ")])], 1) : i("BaseIcon", { staticClass: "text-primary-500", staticStyle: { "margin-right": "8px", flex: "0 0 18px" }, attrs: { type: e.isSender ? "send" : ["signee", "approver"].includes(e.client.documentRole) ? "pen-tool" : "eye", size: "18" } })], 1), i("div", { staticClass: "rc-data truncate-text" }, [e.client.name || e.client.companyName ? i("div", { staticStyle: { "font-weight": "500" } }, [e._v(" " + e._s(e.client.name || e.client.companyName) + " ")]) : e.isSender ? i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:empty", { thing: e.$t("_common:reference") })) + " ")]) : i("div", { staticClass: "text-gray-500" }, [e._v(" " + e._s(e.$t("_common:missing", { thing: e.$t("_common:name") })) + " ")]), i("div", { staticClass: "text-gray-700", staticStyle: { "font-size": "12px" } }, [e.isSender ? [e.isSender ? i("span", [e._v(" " + e._s(e.$t("_common:documentRole.sender.description")) + " ")]) : e._e(), e.client.documentRole === "signee" ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e()] : [((s = e.client.answerMethod) == null ? void 0 : s.accept) === "inPerson" ? i("span", { staticClass: "text-red-500" }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + ": "), i("span", [e._v(" " + e._s(e.$t("_common:signMethod.inPerson")) + " ")])]) : e._e(), e.client.documentRole ? i("span", [e._v(" " + e._s(e.$t(`_common:documentRole.${e.client.documentRole}.description`)) + " ")]) : e._e(), e.client.email ? i("span", [e._v(e._s(e.client.email))]) : e._e(), e.client.cellphone ? i("span", [e._v(e._s(e.client.cellphone))]) : e._e()]], 2)])], e.rightButton ? i("transition", { attrs: { name: "fade-100" } }, [e.isHover || e.isDropdownOpen ? [e.isSender ? i("CDropdown", { ref: "dropdown", staticStyle: { position: "absolute", right: "calc(0.5 * var(--rem))" }, attrs: { position: "is-bottom-left", "menu-styling": {
|
|
344
344
|
width: "220px"
|
|
345
345
|
} }, on: { "active-change": function(n) {
|
|
346
346
|
e.isDropdownOpen = n;
|
|
347
347
|
} }, nativeOn: { click: function(n) {
|
|
348
348
|
n.stopPropagation();
|
|
349
|
-
} } }, [i("CButton", { attrs: { slot: "trigger", circle: "", size: "small", type: "none", pattern: "secondary", raised: "", icon: "more-horizontal" }, slot: "trigger" }), e._t("dropdownOptions")], 2) : i("CButton", { staticStyle: { position: "absolute", right: "0.
|
|
349
|
+
} } }, [i("CButton", { attrs: { slot: "trigger", circle: "", size: "small", type: "none", pattern: "secondary", raised: "", icon: "more-horizontal" }, slot: "trigger" }), e._t("dropdownOptions")], 2) : i("CButton", { staticStyle: { position: "absolute", right: "calc(0.5 * var(--rem))" }, attrs: { circle: "", size: "small", icon: "x", type: "none", pattern: "secondary", raised: "" }, on: { click: function(n) {
|
|
350
350
|
return n.stopPropagation(), e.$emit("remove");
|
|
351
351
|
} } })] : e._e()], 2) : e._e()], 2);
|
|
352
352
|
}, _e = [], be = /* @__PURE__ */ r(
|
|
@@ -355,7 +355,7 @@ var ye = function() {
|
|
|
355
355
|
_e,
|
|
356
356
|
!1,
|
|
357
357
|
null,
|
|
358
|
-
"
|
|
358
|
+
"4102ea12",
|
|
359
359
|
null,
|
|
360
360
|
null
|
|
361
361
|
);
|
|
@@ -450,7 +450,7 @@ const Ce = {
|
|
|
450
450
|
};
|
|
451
451
|
var we = function() {
|
|
452
452
|
var e = this, i = e._self._c;
|
|
453
|
-
return e.senderClientData ? i("RecipientBlockItem", { staticClass: "first-of-group last-of-group", staticStyle: { display: "inline-flex", width: "auto", "padding-right": "2em", "min-width": "220px" }, attrs: { client: e.senderClientData, "right-button": e.allowSenderSign, "is-sender": !0 } }, [i("template", { slot: "dropdownOptions" }, [i("CDropdownItem", { attrs: { value: !!e.senderClient, "close-on-click": !1, toggle: "" }, on: { input: e.toggleSenderSign } }, [e._v(" " + e._s(e.$t("toggle.label")) + " ")]), e.senderClient ? [i("CDropdownItem", { attrs: { separator: "" } }), i("div", { staticClass: "
|
|
453
|
+
return e.senderClientData ? i("RecipientBlockItem", { staticClass: "first-of-group last-of-group", staticStyle: { display: "inline-flex", width: "auto", "padding-right": "2em", "min-width": "220px" }, attrs: { client: e.senderClientData, "right-button": e.allowSenderSign, "is-sender": !0 } }, [i("template", { slot: "dropdownOptions" }, [i("CDropdownItem", { attrs: { value: !!e.senderClient, "close-on-click": !1, toggle: "" }, on: { input: e.toggleSenderSign } }, [e._v(" " + e._s(e.$t("toggle.label")) + " ")]), e.senderClient ? [i("CDropdownItem", { attrs: { separator: "" } }), i("div", { staticClass: "text-gray-400", staticStyle: { "font-size": "13px", padding: "calc(0.5 * var(--rem)) 0 calc(0.25 * var(--rem)) calc(1 * var(--rem))", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("_common:signMethod.title")) + " ")]), e._l([
|
|
454
454
|
"login",
|
|
455
455
|
"signature",
|
|
456
456
|
...e.feature("bankId") ? ["bankId"] : []
|
|
@@ -458,14 +458,14 @@ var we = function() {
|
|
|
458
458
|
return i("CDropdownItem", { key: s, attrs: { "icon-right": e.get(e.senderClient, "answerMethod.accept") === s ? "check" : "" }, on: { click: function(n) {
|
|
459
459
|
return e.setSenderMethod(s);
|
|
460
460
|
} } }, [e._v(" " + e._s(e.$t(`_common:signMethod.${s}`)) + " ")]);
|
|
461
|
-
})] : i("div", { staticClass: "
|
|
461
|
+
})] : i("div", { staticClass: "text-gray-700 bg-gray-100", staticStyle: { padding: "calc(0.5 * var(--rem))", margin: "calc(0.5 * var(--rem))", "font-size": "13px", "border-radius": "4px", "line-height": "1.25", "font-weight": "500" } }, [e._v(" " + e._s(e.$t("toggle.description")) + " ")])], 2)], 2) : e._e();
|
|
462
462
|
}, xe = [], $e = /* @__PURE__ */ r(
|
|
463
463
|
Ce,
|
|
464
464
|
we,
|
|
465
465
|
xe,
|
|
466
466
|
!1,
|
|
467
467
|
null,
|
|
468
|
-
"
|
|
468
|
+
"f5277e62",
|
|
469
469
|
null,
|
|
470
470
|
null
|
|
471
471
|
);
|
|
@@ -561,7 +561,7 @@ const Ve = {
|
|
|
561
561
|
messages: De
|
|
562
562
|
},
|
|
563
563
|
components: {
|
|
564
|
-
AddClientCallout:
|
|
564
|
+
AddClientCallout: G,
|
|
565
565
|
RecipientBlockItem: L,
|
|
566
566
|
SenderBlockItem: Se
|
|
567
567
|
},
|
|
@@ -638,7 +638,7 @@ const Ve = {
|
|
|
638
638
|
openClientModal(t = 0) {
|
|
639
639
|
const e = d(this, `clients[${t}].signOrder`);
|
|
640
640
|
this.$modal.show(
|
|
641
|
-
|
|
641
|
+
Y,
|
|
642
642
|
{
|
|
643
643
|
documentClientIndex: t,
|
|
644
644
|
...this.useSignOrder && {
|
|
@@ -990,17 +990,17 @@ const li = Re.exports, Me = {
|
|
|
990
990
|
var ze = function() {
|
|
991
991
|
var e = this, i = e._self._c;
|
|
992
992
|
return i("CField", e._b({ attrs: { label: e.label, "custom-class": e.customClass, type: e.type, message: e.firstErrorMessage } }, "CField", { ...e.$attrs, ...e.$props }, !1), [e._t("default")], 2);
|
|
993
|
-
},
|
|
993
|
+
}, Ee = [], Ne = /* @__PURE__ */ r(
|
|
994
994
|
Me,
|
|
995
995
|
ze,
|
|
996
|
-
|
|
996
|
+
Ee,
|
|
997
997
|
!1,
|
|
998
998
|
null,
|
|
999
999
|
null,
|
|
1000
1000
|
null,
|
|
1001
1001
|
null
|
|
1002
1002
|
);
|
|
1003
|
-
const Le =
|
|
1003
|
+
const Le = Ne.exports, He = {
|
|
1004
1004
|
name: "CSkeleton",
|
|
1005
1005
|
functional: !0,
|
|
1006
1006
|
props: {
|
|
@@ -1406,7 +1406,7 @@ var Xe = function() {
|
|
|
1406
1406
|
null,
|
|
1407
1407
|
null
|
|
1408
1408
|
);
|
|
1409
|
-
const
|
|
1409
|
+
const Ge = Qe.exports, Ye = {
|
|
1410
1410
|
name: "CRadio",
|
|
1411
1411
|
mixins: [R]
|
|
1412
1412
|
};
|
|
@@ -1420,7 +1420,7 @@ var Je = function() {
|
|
|
1420
1420
|
e.computedValue = e.nativeValue;
|
|
1421
1421
|
} } }), i("span", { staticClass: "check", class: `is-${e.type}` }), i("span", { staticClass: "control-label" }, [e._t("default")], 2)]);
|
|
1422
1422
|
}, Ze = [], et = /* @__PURE__ */ r(
|
|
1423
|
-
|
|
1423
|
+
Ye,
|
|
1424
1424
|
Je,
|
|
1425
1425
|
Ze,
|
|
1426
1426
|
!1,
|
|
@@ -1641,7 +1641,7 @@ var ct = function() {
|
|
|
1641
1641
|
ut,
|
|
1642
1642
|
!1,
|
|
1643
1643
|
null,
|
|
1644
|
-
"
|
|
1644
|
+
"839e1835",
|
|
1645
1645
|
null,
|
|
1646
1646
|
null
|
|
1647
1647
|
);
|
|
@@ -1828,7 +1828,7 @@ var ft = function() {
|
|
|
1828
1828
|
gt,
|
|
1829
1829
|
!1,
|
|
1830
1830
|
null,
|
|
1831
|
-
"
|
|
1831
|
+
"08518f65",
|
|
1832
1832
|
null,
|
|
1833
1833
|
null
|
|
1834
1834
|
);
|
|
@@ -1939,7 +1939,7 @@ const V = Ct.exports, wt = {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
};
|
|
1941
1941
|
var xt = function(e, i) {
|
|
1942
|
-
return e("div", { class: [i.data.class, i.data.staticClass], staticStyle: { padding: "0.75em 1em", display: "flex", "align-items": "flex-start", "border-radius": "0.6em", "background-color": "hsl(
|
|
1942
|
+
return e("div", { class: [i.data.class, i.data.staticClass], staticStyle: { padding: "0.75em 1em", display: "flex", "align-items": "flex-start", "border-radius": "0.6em", "background-color": "hsl(var(--gray-color-100) / 1)" }, style: { ...i.data.staticStyle } }, [e("div", { class: [
|
|
1943
1943
|
`has-background-${i.props.type}`
|
|
1944
1944
|
], staticStyle: { display: "inline-block", padding: "0.5em", "border-radius": "0.45em", "font-weight": "700", color: "white", "line-height": "1", "font-size": "12px", "margin-right": "1.25em" } }, [i._v(" " + i._s(i.props.badge || i.parent.$t("components:cling.message.tip")) + " ")]), e("div", { staticStyle: { color: "hsl(0, 0%, 25%)" } }, [i.props.text ? [i._v(" " + i._s(i.props.text) + " ")] : i._e(), i._t("default")], 2)]);
|
|
1945
1945
|
}, $t = [], St = /* @__PURE__ */ r(
|
|
@@ -1948,7 +1948,7 @@ var xt = function(e, i) {
|
|
|
1948
1948
|
$t,
|
|
1949
1949
|
!0,
|
|
1950
1950
|
null,
|
|
1951
|
-
"
|
|
1951
|
+
"a14c1e41",
|
|
1952
1952
|
null,
|
|
1953
1953
|
null
|
|
1954
1954
|
);
|
|
@@ -2235,7 +2235,7 @@ var Rt = function() {
|
|
|
2235
2235
|
null,
|
|
2236
2236
|
null
|
|
2237
2237
|
);
|
|
2238
|
-
const
|
|
2238
|
+
const Et = zt.exports, Nt = {
|
|
2239
2239
|
name: "CSliderTick",
|
|
2240
2240
|
props: {
|
|
2241
2241
|
value: {
|
|
@@ -2266,7 +2266,7 @@ var Lt = function() {
|
|
|
2266
2266
|
var e = this, i = e._self._c;
|
|
2267
2267
|
return i("div", { staticClass: "c-slider-tick", class: { "is-tick-hidden": e.hidden }, style: e.getTickStyle(e.position) }, [e.$slots.default ? i("span", { staticClass: "c-slider-tick-label" }, [e._t("default")], 2) : e._e()]);
|
|
2268
2268
|
}, Ht = [], qt = /* @__PURE__ */ r(
|
|
2269
|
-
|
|
2269
|
+
Nt,
|
|
2270
2270
|
Lt,
|
|
2271
2271
|
Ht,
|
|
2272
2272
|
!1,
|
|
@@ -2278,7 +2278,7 @@ var Lt = function() {
|
|
|
2278
2278
|
const jt = qt.exports, Kt = {
|
|
2279
2279
|
name: "CSlider",
|
|
2280
2280
|
components: {
|
|
2281
|
-
CSliderThumb:
|
|
2281
|
+
CSliderThumb: Et,
|
|
2282
2282
|
CSliderTick: jt
|
|
2283
2283
|
},
|
|
2284
2284
|
props: {
|
|
@@ -2482,7 +2482,7 @@ var Wt = function() {
|
|
|
2482
2482
|
);
|
|
2483
2483
|
const B = Ut.exports;
|
|
2484
2484
|
function di(t) {
|
|
2485
|
-
t.component(w.name, w), t.component("CAutocomplete",
|
|
2485
|
+
t.component(w.name, w), t.component("CAutocomplete", Ge), t.component(y.name, y), t.component(x.name, x), t.component($.name, $), t.component(p.name, p), t.component(h.name, h), t.component(S.name, S), t.component(_.name, _), t.component(k.name, k), t.component(D.name, D), t.component(V.name, V), t.component("CField", Le), t.component(F.name, F), t.component(A.name, A), t.component(B.name, B);
|
|
2486
2486
|
}
|
|
2487
2487
|
export {
|
|
2488
2488
|
Le as C,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { h as n } from "./main-95207159.js";
|
|
2
|
+
import { s as l } from "./dom-068d1a7b.js";
|
|
3
|
+
const s = (r) => {
|
|
4
|
+
var i;
|
|
5
|
+
const t = [];
|
|
6
|
+
return (i = r.$options) != null && i.validations && t.push(r), r.$children && r.$children.forEach((o) => t.push(...s(o))), t;
|
|
7
|
+
}, m = {
|
|
8
|
+
provide() {
|
|
9
|
+
return {
|
|
10
|
+
formValidation: {
|
|
11
|
+
isFormValid: this.isFormValid,
|
|
12
|
+
scrollToInvalidInput: this.scrollToInvalidInput
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
data() {
|
|
17
|
+
return {
|
|
18
|
+
_formItems: []
|
|
19
|
+
};
|
|
20
|
+
},
|
|
21
|
+
created() {
|
|
22
|
+
this._formItems = s(this);
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
_getInvalidInputs() {
|
|
26
|
+
return this._formItems.filter((r) => {
|
|
27
|
+
var t;
|
|
28
|
+
return (t = r.$v) == null ? void 0 : t.$invalid;
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
isFormValid() {
|
|
32
|
+
return this._formItems.every((r) => {
|
|
33
|
+
var t, i;
|
|
34
|
+
return (t = r.$v) == null || t.$touch(), !((i = r.$v) != null && i.$invalid);
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
scrollToInvalidInput({ offset: r = 0 } = {}) {
|
|
38
|
+
try {
|
|
39
|
+
const [t] = this._getInvalidInputs();
|
|
40
|
+
t != null && t.$el && l(t.$el, { offset: r });
|
|
41
|
+
} catch (t) {
|
|
42
|
+
n(t);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
m as f
|
|
49
|
+
};
|