@cling-se/widget 0.9.23 → 0.9.24
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-49655a64.js → AddClientCallout-4afb07ff.js} +5 -5
- package/dist/{AnswerModal-6f4004e1.js → AnswerModal-2b11381b.js} +84 -27
- package/dist/{AttachmentItem-e3bfcd82.js → AttachmentItem-c666fb74.js} +7 -5
- package/dist/{BaseDatePicker-d04f761f.js → BaseDatePicker-e1efcf48.js} +1 -1
- package/dist/{BaseInput-e14e8b12.js → BaseInput-44c3af54.js} +6 -2
- package/dist/{BaseUpload-0fa8ad72.js → BaseUpload-740b1f88.js} +28 -11
- package/dist/{BlockMedia-b49a63f3.js → BlockMedia-f5086397.js} +5 -3
- package/dist/{CCallout-baeb732f.js → CCallout-1a1feea0.js} +6 -9
- package/dist/{CDropdownItem-e0cecd02.js → CDropdownItem-cc274799.js} +3 -3
- package/dist/{CField-c10f5951.js → CField-372bd9c7.js} +18 -4
- package/dist/{CPhoneFormat-636103a1.js → CPhoneFormat-b273a499.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-d964f857.js → CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js} +4 -2
- package/dist/{ClientAutocomplete-28bf2076.js → ClientAutocomplete-0f51c1cd.js} +3 -3
- package/dist/{ClientModal-b94206f4.js → ClientModal-1bec5a45.js} +34 -19
- package/dist/{ColorPicker-b5a7f700.js → ColorPicker-43c741fb.js} +2 -2
- package/dist/{CompanyModal-c47e7c55.js → CompanyModal-adec1d7e.js} +8 -5
- package/dist/{ContentWrapper-8293109f.js → ContentWrapper-48e69342.js} +40 -27
- package/dist/{CoverBlockSettings-2242d653.js → CoverBlockSettings-c0a57bee.js} +49 -34
- package/dist/{DocAnswer-75f53dd5.js → DocAnswer-f0f7d55d.js} +4 -4
- package/dist/{DocDetails-1bdecff4.js → DocDetails-0e25552f.js} +71 -46
- package/dist/{DocForm-263bac20.js → DocForm-2ab0c521.js} +515 -291
- package/dist/{DocFormSend-5b098ca6.js → DocFormSend-e60808ca.js} +18 -18
- package/dist/{DocLinks-500b61b0.js → DocLinks-20719644.js} +2 -2
- package/dist/{DocModalBase-b64e792b.js → DocModalBase-039f53c2.js} +4 -4
- package/dist/{DocPrint-555475c6.js → DocPrint-aafc72e2.js} +2 -2
- package/dist/{DocReceipt-5a393f79.js → DocReceipt-641b141c.js} +33 -10
- package/dist/{DocSendReminder-8d875174.js → DocSendReminder-aabc0994.js} +30 -5
- package/dist/{DocTextEditor-7fd7ca5f.js → DocTextEditor-3eb97671.js} +86 -37
- package/dist/{DocTimeline-0273acd1.js → DocTimeline-9d765ded.js} +11 -2
- package/dist/{DocumentClient-342454c2.js → DocumentClient-8d59d823.js} +7 -7
- package/dist/{DocumentLayout-00ec1c6f.js → DocumentLayout-a659ce2a.js} +31 -11
- package/dist/{DocumentLogotype-137fd8f5.js → DocumentLogotype-393d1610.js} +8 -8
- package/dist/{DocumentVoided-584cbee7.js → DocumentVoided-9294f5d4.js} +1 -1
- package/dist/{EmbedInput-19362c0b.js → EmbedInput-e6a9ee21.js} +2 -2
- package/dist/{EmbedSettings-cbffd133.js → EmbedSettings-e31ccfdc.js} +7 -7
- package/dist/ErrorCallout-d6c77efa.js +30 -0
- package/dist/{FilePreviewModal-80a5f1fc.js → FilePreviewModal-84d6ab65.js} +6 -6
- package/dist/{HeaderSettings-e5e52b5a.js → HeaderSettings-51d44d2d.js} +65 -63
- package/dist/{ImageSelectModal-f54699a2.js → ImageSelectModal-051e0929.js} +27 -27
- package/dist/{ImageUploadWrapper-d4291dd3.js → ImageUploadWrapper-dcceec48.js} +11 -5
- package/dist/{Index-dbeaf863.js → Index-06045b22.js} +9 -10
- package/dist/{Index-d60eb16f.js → Index-0932b744.js} +32 -20
- package/dist/{Index-468190f0.js → Index-20c0168b.js} +15 -15
- package/dist/{Index-e813c8cd.js → Index-3571dbbe.js} +2 -2
- package/dist/{Index-8ef32146.js → Index-36ba2c7c.js} +20 -16
- package/dist/{Index-c89d17d9.js → Index-39d0e781.js} +17 -17
- package/dist/{Index-7fe05fe5.js → Index-3bdfc806.js} +3 -3
- package/dist/{Index-a3ee21e6.js → Index-3cb4cf49.js} +4 -4
- package/dist/Index-42639492.js +28 -0
- package/dist/{Index-4df3c1d2.js → Index-494c3112.js} +300 -147
- package/dist/{Index-d6635896.js → Index-51ceb867.js} +20 -16
- package/dist/{Index-630c21f5.js → Index-54695ef1.js} +13 -11
- package/dist/{Index-9afa091c.js → Index-5b2c568a.js} +13 -11
- package/dist/{Index-843f81bd.js → Index-5def7508.js} +17 -12
- package/dist/{Index-5093d646.js → Index-5ead0dc5.js} +2 -2
- package/dist/{Index-a79cd9b6.js → Index-652a82d0.js} +6 -6
- package/dist/{Index-0f2bf3b1.js → Index-75922cfc.js} +13 -13
- package/dist/{Index-bf0e9351.js → Index-9a162ce6.js} +2 -2
- package/dist/{Index-7c60cb32.js → Index-a94f257f.js} +56 -31
- package/dist/{Index-7dec77f5.js → Index-a98c290d.js} +21 -18
- package/dist/{Index-0eb9d45b.js → Index-b33109a3.js} +13 -9
- package/dist/{Index-12a6485f.js → Index-c1aa1453.js} +3 -3
- package/dist/{Index-a36c3418.js → Index-c2008029.js} +2 -2
- package/dist/{Index-bb62e92d.js → Index-c4942c4e.js} +22 -27
- package/dist/{Index-aad34e7e.js → Index-c5983b2b.js} +13 -15
- package/dist/{Index-f640eb29.js → Index-c8ded03a.js} +2 -2
- package/dist/{Index-16155aba.js → Index-cc56dad6.js} +7 -7
- package/dist/{Index-29147f73.js → Index-d77ba606.js} +51 -43
- package/dist/{Index-4c78a308.js → Index-d7a7de69.js} +24 -17
- package/dist/{Index-0b1a9238.js → Index-e8a3b12b.js} +4 -4
- package/dist/{Index-bf2ed6a3.js → Index-e9da5a9c.js} +3 -3
- package/dist/{Index-b66d1e1a.js → Index-f36accd7.js} +4 -4
- package/dist/{Index-96725e56.js → Index-fd6da129.js} +7 -7
- package/dist/{Index-64236029.js → Index-fdb53118.js} +6 -9
- package/dist/{InputToggleRow-40b7b57e.js → InputToggleRow-79bbd6c6.js} +4 -4
- package/dist/{IsPremiumPreStep-d2ceb183.js → IsPremiumPreStep-f0524e76.js} +81 -36
- package/dist/{ManualPopover-58c3f059.js → ManualPopover-8a1e53a5.js} +5 -2
- package/dist/{MediaWrapper-0e3ff436.js → MediaWrapper-b128c707.js} +3 -3
- package/dist/{NotBindingText-38e6e74c.js → NotBindingText-561df6d3.js} +2 -2
- package/dist/{PackageGroup-6e6dd719.js → PackageGroup-3eaff6a7.js} +184 -69
- package/dist/{PdfTerms-3be0f8d1.js → PdfTerms-27d7ea41.js} +8 -8
- package/dist/{PdfViewer-991eb731.js → PdfViewer-5b2bcbb5.js} +2 -2
- package/dist/{PlainHtml-4aaf6438.js → PlainHtml-c743e90e.js} +1 -1
- package/dist/{PriceHeader-f3e7b525.js → PriceHeader-287b8219.js} +48 -32
- package/dist/{SearchApi-2523a5fb.js → SearchApi-1cd32dd3.js} +40 -20
- package/dist/{Setup-2849b519.js → Setup-647c8d19.js} +1 -1
- package/dist/{TermsSettings-6d3dfe8d.js → TermsSettings-28e00bdf.js} +11 -11
- package/dist/{ThemeColorRow-a33d04b5.js → ThemeColorRow-87aad7e1.js} +4 -4
- package/dist/{ToggleBinding-7c726915.js → ToggleBinding-86912659.js} +3 -3
- package/dist/{UploadModal-814fc3af.js → UploadModal-4065d410.js} +16 -14
- package/dist/{VideoPlayerInput-fa0774c1.js → VideoPlayerInput-1b402e91.js} +3 -3
- package/dist/{VideoPlayerSettings-ff82938f.js → VideoPlayerSettings-4dcca863.js} +5 -5
- package/dist/{VideoSelectModal-7b213a09.js → VideoSelectModal-4f9def15.js} +32 -36
- package/dist/{answerDocumentMixin-b2488be9.js → answerDocumentMixin-6b6cfdb6.js} +3 -3
- package/dist/{debounce-0451fa9d.js → debounce-97bb38ac.js} +1 -1
- package/dist/{focusDrawerMixin-0d406532.js → focusDrawerMixin-0d00dfeb.js} +1 -1
- package/dist/{formComponentsInstall-9c59efba.js → formComponentsInstall-0e28cca8.js} +210 -168
- package/dist/{formDrawerState-6c57d51e.js → formDrawerState-68670778.js} +1 -1
- package/dist/{formValidationMixin-7603171e.js → formValidationMixin-cb6f10e2.js} +1 -1
- package/dist/{image-58c45661.js → image-456aa00c.js} +1 -1
- package/dist/{index-b20167b3.js → index-1f6e36c5.js} +4 -4
- package/dist/{index-cf014fd4.js → index-2710ab1c.js} +2 -2
- package/dist/{index-c0b45aa7.js → index-63ab2d14.js} +12 -12
- package/dist/{index-4afc771b.js → index-b8207e2a.js} +1 -1
- package/dist/{index-47e427b4.js → index-e4f936ec.js} +8 -6
- package/dist/{index-0c493549.js → index-ea1c7f84.js} +17 -9
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +95 -66
- package/dist/{main-8d566a02.js → main-b5eb6366.js} +134 -76
- package/dist/{mapFormMixin-4446a1bd.js → mapFormMixin-e0c45bbd.js} +1 -1
- package/dist/{publicSenderState-02c0c9eb.js → publicSenderState-4163b1b6.js} +1 -1
- package/dist/{simplebar.min-d30d6e1f.js → simplebar.min-147772cd.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{template-e04cc32f.js → template-6e93622c.js} +7 -7
- package/dist/{throttle-b0a5ba09.js → throttle-7a7a1299.js} +2 -2
- package/dist/{tinycolor-c6f29f33.js → tinycolor-bb8652ea.js} +1 -1
- package/dist/{tippy.esm-2cb937d0.js → tippy.esm-f533f77b.js} +8 -8
- package/dist/{utils-36338df7.js → utils-066c47a5.js} +1 -1
- package/dist/{vuedraggable.umd-a0d21ce9.js → vuedraggable.umd-76911d11.js} +1 -1
- package/package.json +2 -2
- package/dist/ErrorCallout-4ce34a95.js +0 -30
- package/dist/Index-66295ea9.js +0 -28
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as o } from "./ClientAutocomplete-
|
|
2
|
-
import { m as r } from "./mapFormMixin-
|
|
3
|
-
import { n as s } from "./main-
|
|
4
|
-
import "./SearchApi-
|
|
5
|
-
import "./debounce-
|
|
1
|
+
import { C as o } from "./ClientAutocomplete-0f51c1cd.js";
|
|
2
|
+
import { m as r } from "./mapFormMixin-e0c45bbd.js";
|
|
3
|
+
import { n as s } from "./main-b5eb6366.js";
|
|
4
|
+
import "./SearchApi-1cd32dd3.js";
|
|
5
|
+
import "./debounce-97bb38ac.js";
|
|
6
6
|
import "./vuex.esm-4a0fff7c.js";
|
|
7
7
|
const i = {
|
|
8
8
|
i18nOptions: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as nt } from "./anime.es-e284c852.js";
|
|
2
|
-
import { al as At, h as Ct, n as ot, am as Tt, H as ft, an as Ft, ao as kt, ap as It, g as xt } from "./main-
|
|
2
|
+
import { al as At, h as Ct, n as ot, am as Tt, H as ft, an as Ft, ao as kt, ap as It, g as xt } from "./main-b5eb6366.js";
|
|
3
3
|
import { a as Mt } from "./vuex.esm-4a0fff7c.js";
|
|
4
|
-
import { m as dt } from "./mapFormMixin-
|
|
5
|
-
import { C as Rt } from "./CField-
|
|
4
|
+
import { m as dt } from "./mapFormMixin-e0c45bbd.js";
|
|
5
|
+
import { C as Rt } from "./CField-372bd9c7.js";
|
|
6
6
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
7
7
|
const Dt = () => {
|
|
8
8
|
const m = window.location.host.split(".");
|
|
@@ -82,7 +82,31 @@ const Ut = [
|
|
|
82
82
|
gradFourXPos: [85, 80, 75, 70, 95],
|
|
83
83
|
gradFourYPos: [90, 100, 120, 100, 85],
|
|
84
84
|
update() {
|
|
85
|
-
m.style.setProperty(
|
|
85
|
+
m.style.setProperty(
|
|
86
|
+
"--gradOneXPos",
|
|
87
|
+
`${m.gradOneXPos}%`
|
|
88
|
+
), m.style.setProperty(
|
|
89
|
+
"--gradOneYPos",
|
|
90
|
+
`${m.gradOneYPos}%`
|
|
91
|
+
), m.style.setProperty(
|
|
92
|
+
"--gradTwoXPos",
|
|
93
|
+
`${m.gradTwoXPos}%`
|
|
94
|
+
), m.style.setProperty(
|
|
95
|
+
"--gradTwoYPos",
|
|
96
|
+
`${m.gradTwoYPos}%`
|
|
97
|
+
), m.style.setProperty(
|
|
98
|
+
"--gradThreeXPos",
|
|
99
|
+
`${m.gradThreeXPos}%`
|
|
100
|
+
), m.style.setProperty(
|
|
101
|
+
"--gradThreeYPos",
|
|
102
|
+
`${m.gradThreeYPos}%`
|
|
103
|
+
), m.style.setProperty(
|
|
104
|
+
"--gradFourXPos",
|
|
105
|
+
`${m.gradFourXPos}%`
|
|
106
|
+
), m.style.setProperty(
|
|
107
|
+
"--gradFourYPos",
|
|
108
|
+
`${m.gradFourYPos}%`
|
|
109
|
+
);
|
|
86
110
|
}
|
|
87
111
|
});
|
|
88
112
|
},
|
|
@@ -113,14 +137,27 @@ const Ut = [
|
|
|
113
137
|
var Nt = function() {
|
|
114
138
|
var r = this, n = r._self._c;
|
|
115
139
|
return n("div", { staticClass: "f-feedback" }, [n("div", { ref: "feedbackBg", staticClass: "f-bg" }), n("div", { staticClass: "f-container" }, [n("transition", { attrs: { css: !1, mode: "out-in" }, on: { enter: r.enter, leave: r.leave } }, [r.page === "start" ? n("div", { key: "start", ref: "start", staticClass: "flex flex-col items-center justify-center w-full", staticStyle: { transition: "opacity 250ms" } }, [n("div", { staticStyle: { "padding-bottom": "calc(1.5 * var(--rem))", "font-size": "14px", "font-weight": "500" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.start.title")) } }), n("div", [n("CButton", { staticClass: "feedback-btn", attrs: { "icon-left": "thumbsdown", size: "small", pattern: "secondary" }, on: { click: function(g) {
|
|
116
|
-
return r.submitFeedback({
|
|
140
|
+
return r.submitFeedback({
|
|
141
|
+
type: "enjoyedExperience",
|
|
142
|
+
data: { value: !1 }
|
|
143
|
+
});
|
|
117
144
|
} } }, [r._v(r._s(r._document.$t("answerFeedback.start.no")))]), n("CButton", { staticClass: "feedback-btn", staticStyle: { "margin-left": "calc(0.75 * var(--rem))" }, attrs: { "icon-left": "thumbsup", size: "small", pattern: "secondary" }, on: { click: function(g) {
|
|
118
|
-
return r.submitFeedback({
|
|
119
|
-
|
|
145
|
+
return r.submitFeedback({
|
|
146
|
+
type: "enjoyedExperience",
|
|
147
|
+
data: { value: !0 }
|
|
148
|
+
});
|
|
149
|
+
} } }, [r._v(r._s(r._document.$t("answerFeedback.start.yes")))])], 1)]) : r.page === "intermediate" ? n("div", { key: "intermediate", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.intermediate.title")) } })])]) : r.page === "positive" ? n("div", { key: "positive", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.yes.title")) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerFeedback.yes.text")) } })]), n("CButton", { staticClass: "a-btn", staticStyle: { "margin-bottom": "0.5em" }, attrs: { type: "secondary", wide: "", tag: "a", href: "/register?utm_source=document&utm_medium=feedback-modal&utm_campaign=signup&utm_content=positive-exp", target: "_blank" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.yes.action")) } }), n("CButton", { staticClass: "a-btn", attrs: { wide: "", tag: "a", href: `https://${r.$t(
|
|
150
|
+
"_common:brand.domain"
|
|
151
|
+
)}?utm_source=document&utm_medium=feedback-modal&utm_campaign=learn-more&utm_content=positive-exp`, target: "_blank" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.yes.secondary")) } })], 1) : r.page === "negative" ? n("div", { key: "negative", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.no.start.title")) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerFeedback.no.start.text")) } }), n("CInput", { staticClass: "input-style", staticStyle: { margin: "2em 0" }, attrs: { placeholder: r._document.$t("answerFeedback.no.start.placeholder"), type: "textarea" }, model: { value: r.whatToImprove, callback: function(g) {
|
|
120
152
|
r.whatToImprove = g;
|
|
121
153
|
}, expression: "whatToImprove" } })], 1), n("CButton", { staticClass: "a-btn", attrs: { wide: "" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.no.start.action")) }, on: { click: function(g) {
|
|
122
|
-
return r.submitFeedback({
|
|
123
|
-
|
|
154
|
+
return r.submitFeedback({
|
|
155
|
+
type: "whatToImprove",
|
|
156
|
+
data: { value: r.whatToImprove }
|
|
157
|
+
});
|
|
158
|
+
} } })], 1) : r.page === "negative.success" ? n("div", { key: "success", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.no.success.title")) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerFeedback.no.success.text")) } })]), n("CButton", { staticClass: "a-btn", staticStyle: { "margin-bottom": "0.5em" }, attrs: { tag: "a", href: `https://${r.$t(
|
|
159
|
+
"_common:brand.domain"
|
|
160
|
+
)}?utm_source=document&utm_medium=feedback-modal&utm_campaign=learn-more&utm_content=negative-exp`, target: "_blank", wide: "", type: "secondary" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.no.success.action")) } }), n("CButton", { staticClass: "a-btn", attrs: { wide: "" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.no.success.secondary")) }, on: { click: function(g) {
|
|
124
161
|
return r.$emit("close");
|
|
125
162
|
} } })], 1) : r.page === "custom" ? n("div", { key: "success", staticStyle: { height: "100%", display: "flex", "flex-direction": "column" } }, [n("div", { staticStyle: { flex: "1 1 auto", display: "flex", "flex-direction": "column", "justify-content": "center", "align-items": "center" } }, [n("div", { staticClass: "f-title", domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.title")) } }), n("div", { domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.text")) } })]), n("CButton", { staticClass: "a-btn", attrs: { type: "secondary", wide: "" }, domProps: { textContent: r._s(r._document.$t("answerFeedback.custom.action")) }, on: { click: function(g) {
|
|
126
163
|
return r.$emit("close");
|
|
@@ -131,7 +168,7 @@ var Nt = function() {
|
|
|
131
168
|
Ot,
|
|
132
169
|
!1,
|
|
133
170
|
null,
|
|
134
|
-
"
|
|
171
|
+
"85673b2c",
|
|
135
172
|
null,
|
|
136
173
|
null
|
|
137
174
|
);
|
|
@@ -524,14 +561,12 @@ const Vt = {
|
|
|
524
561
|
this.type === "text" && this.drawText(this.text);
|
|
525
562
|
},
|
|
526
563
|
saveSignature(m = {}) {
|
|
527
|
-
const {
|
|
528
|
-
type: r = "image/png",
|
|
529
|
-
trim: n = !0,
|
|
530
|
-
encoderOptions: g
|
|
531
|
-
} = m || {}, l = { isEmpty: !1, data: void 0 };
|
|
564
|
+
const { type: r = "image/png", trim: n = !0, encoderOptions: g } = m || {}, l = { isEmpty: !1, data: void 0 };
|
|
532
565
|
if (!this.validTypes.includes(r)) {
|
|
533
566
|
const f = this.validTypes.join(", ");
|
|
534
|
-
throw new Error(
|
|
567
|
+
throw new Error(
|
|
568
|
+
`The Image type is incorrect! We only support ${f} types.`
|
|
569
|
+
);
|
|
535
570
|
}
|
|
536
571
|
if (this.signaturePad.isEmpty())
|
|
537
572
|
return { ...l, isEmpty: !0 };
|
|
@@ -585,7 +620,12 @@ const Vt = {
|
|
|
585
620
|
const r = document.createElement("canvas"), n = r.getContext("2d");
|
|
586
621
|
r.width = m.width, r.height = m.height, n.drawImage(m, 0, 0);
|
|
587
622
|
let g = r.width, l = r.height;
|
|
588
|
-
const f = { x: [], y: [] }, d = n.getImageData(
|
|
623
|
+
const f = { x: [], y: [] }, d = n.getImageData(
|
|
624
|
+
0,
|
|
625
|
+
0,
|
|
626
|
+
r.width,
|
|
627
|
+
r.height
|
|
628
|
+
);
|
|
589
629
|
let c = 0;
|
|
590
630
|
for (let h = 0; h < l; h++)
|
|
591
631
|
for (let a = 0; a < g; a++)
|
|
@@ -638,7 +678,10 @@ function qt({ rel: m, href: r, crossorigin: n = !1 }) {
|
|
|
638
678
|
const Zt = [
|
|
639
679
|
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
|
|
640
680
|
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: !0 },
|
|
641
|
-
{
|
|
681
|
+
{
|
|
682
|
+
rel: "stylesheet",
|
|
683
|
+
href: "https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap"
|
|
684
|
+
}
|
|
642
685
|
], te = {
|
|
643
686
|
name: "SignatureAnswer",
|
|
644
687
|
components: {
|
|
@@ -705,7 +748,9 @@ const Zt = [
|
|
|
705
748
|
this.$emit("complete");
|
|
706
749
|
},
|
|
707
750
|
focusName() {
|
|
708
|
-
this.$nextTick(
|
|
751
|
+
this.$nextTick(
|
|
752
|
+
() => this.$refs.nameInput ? this.$refs.nameInput.focus() : null
|
|
753
|
+
);
|
|
709
754
|
}
|
|
710
755
|
}
|
|
711
756
|
};
|
|
@@ -730,7 +775,7 @@ var ee = function() {
|
|
|
730
775
|
re,
|
|
731
776
|
!1,
|
|
732
777
|
null,
|
|
733
|
-
"
|
|
778
|
+
"333ceee9",
|
|
734
779
|
null,
|
|
735
780
|
null
|
|
736
781
|
);
|
|
@@ -3427,7 +3472,9 @@ const ue = {
|
|
|
3427
3472
|
this.view = "new", await ft(1e3), this.view = "waiting", await ft(1e3), this.view = "signing", await ft(1e3), this.onComplete();
|
|
3428
3473
|
return;
|
|
3429
3474
|
}
|
|
3430
|
-
const { id: r, autoStartToken: n, qrCodeData: g } = await m({
|
|
3475
|
+
const { id: r, autoStartToken: n, qrCodeData: g } = await m({
|
|
3476
|
+
body: { isAccepted: !0 }
|
|
3477
|
+
});
|
|
3431
3478
|
n && (this.autoStartToken = n), g && (this.qrCode = g), this.signAnswerId = r, this.startPolling(), this.isMobile && this.triggerAutoStart();
|
|
3432
3479
|
return;
|
|
3433
3480
|
} catch (r) {
|
|
@@ -3456,7 +3503,9 @@ const ue = {
|
|
|
3456
3503
|
this.stopPolling(), this.$emit("complete");
|
|
3457
3504
|
},
|
|
3458
3505
|
onCanceled() {
|
|
3459
|
-
this.stopPolling(), this.view = "canceled", this.errorMessage = this._document.$t(
|
|
3506
|
+
this.stopPolling(), this.view = "canceled", this.errorMessage = this._document.$t(
|
|
3507
|
+
"answerModal.bankId.component.signingInterrupted"
|
|
3508
|
+
);
|
|
3460
3509
|
},
|
|
3461
3510
|
onError(m) {
|
|
3462
3511
|
var n, g;
|
|
@@ -3509,7 +3558,7 @@ var ce = function() {
|
|
|
3509
3558
|
color: { dark: "#000000" }
|
|
3510
3559
|
} } }) : r._e()] : r._e(), n("Animation", { staticClass: "w-full" }, [n("div", { key: "a", staticClass: "text-sm text-gray-500 pt-4 min-h-[20px]", domProps: { textContent: r._s((g = r.viewText[r.view]) == null ? void 0 : g.spinnerText) } }), !r.isMobile && ["new", "waiting", "started"].includes(r.view) ? n("CButton", { key: "b", staticClass: "mt-4", attrs: { type: "none", pattern: "secondary", size: "small" }, on: { click: r.triggerAutoStart } }, [r._v(" " + r._s(r._document.$t("answerModal.bankId.component.startOnThisDevice")) + " ")]) : r._e()], 1), ["form", "new", "waiting", "started"].includes(r.view) ? r._e() : n("div", [n("transition", { attrs: { name: "pop-in" } }, [n("div", { staticClass: "bankid-popup", on: { click: () => {
|
|
3511
3560
|
r.view = "form", r.isLoading = !1;
|
|
3512
|
-
} } }, [n("div", { staticClass: "flex flex-col items-center justify-center", staticStyle: { "background-color": "#183e4f", padding: "calc(2.5 * var(--rem)) calc(3 * var(--rem))
|
|
3561
|
+
} } }, [n("div", { staticClass: "flex flex-col items-center justify-center", staticStyle: { "background-color": "#183e4f", padding: "calc(2.5 * var(--rem)) calc(3 * var(--rem))" } }, [n("BaseIcon", { staticClass: "text-white", attrs: { type: "bankId", size: "34" } }), n("div", { staticClass: "pt-4 text-sm font-medium text-white opacity-75", domProps: { textContent: r._s(r.viewText[r.view].text) } })], 1), n("div", { staticClass: "flex flex-col items-center justify-center w-full text-center", staticStyle: { padding: "calc(3 * var(--rem)) calc(2 * var(--rem))" } }, [r.view === "signing" ? [n("div", { staticClass: "spinner" }), n("div", { staticClass: "pt-8 text-gray-500", domProps: { textContent: r._s(r.viewText[r.view].spinnerText) } })] : ["error", "canceled"].includes(r.view) ? [n("BaseIcon", { staticClass: "mb-2.5 text-gray-400", attrs: { type: "error", size: "22" } }), n("div", { staticStyle: { "font-size": "14px" }, domProps: { textContent: r._s(r.errorMessage) } }), n("CButton", { staticStyle: { "margin-top": "calc(2.5 * var(--rem))", padding: "1em", height: "initial" }, attrs: { loading: r.isLoading, type: "none", pattern: "secondary", size: "small" }, on: { click: function(l) {
|
|
3513
3562
|
r.view = "form";
|
|
3514
3563
|
} } }, [r._v(" " + r._s(r._document.$t("tryAgain")) + " ")])] : r._e()], 2)])])], 1)], 2);
|
|
3515
3564
|
}, le = [], he = /* @__PURE__ */ ot(
|
|
@@ -3518,7 +3567,7 @@ var ce = function() {
|
|
|
3518
3567
|
le,
|
|
3519
3568
|
!1,
|
|
3520
3569
|
null,
|
|
3521
|
-
"
|
|
3570
|
+
"70ee74c1",
|
|
3522
3571
|
null,
|
|
3523
3572
|
null
|
|
3524
3573
|
);
|
|
@@ -3628,9 +3677,17 @@ const ye = {
|
|
|
3628
3677
|
return (m = this.signee.answerMethod) == null ? void 0 : m.accept;
|
|
3629
3678
|
},
|
|
3630
3679
|
successStrings() {
|
|
3631
|
-
const m = this.signee.email ? this._document.$t(`answerModal.${this.answerType}.success.text`, {
|
|
3680
|
+
const m = this.signee.email ? this._document.$t(`answerModal.${this.answerType}.success.text`, {
|
|
3681
|
+
email: this.signee.email
|
|
3682
|
+
}) : this._document.$t(
|
|
3683
|
+
`answerModal.${this.answerType}.success.textFallback`
|
|
3684
|
+
), r = this.signee.email ? this._document.$t("answerModal.successTextSingle", {
|
|
3685
|
+
email: this.signee.email
|
|
3686
|
+
}) : this._document.$t("answerModal.successTextFallbackSingle"), n = this._document.remainingSignatures === 0 ? r : m;
|
|
3632
3687
|
return {
|
|
3633
|
-
title: this._document.$t(
|
|
3688
|
+
title: this._document.$t(
|
|
3689
|
+
`answerModal.${this.answerType}.success.title`
|
|
3690
|
+
),
|
|
3634
3691
|
text: n
|
|
3635
3692
|
};
|
|
3636
3693
|
}
|
|
@@ -3734,7 +3791,7 @@ var we = function() {
|
|
|
3734
3791
|
xe,
|
|
3735
3792
|
!1,
|
|
3736
3793
|
null,
|
|
3737
|
-
"
|
|
3794
|
+
"bdc0e1a1",
|
|
3738
3795
|
null,
|
|
3739
3796
|
null
|
|
3740
3797
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import a from "./Index-
|
|
2
|
-
import { n as r } from "./main-
|
|
3
|
-
import "./tinycolor-
|
|
1
|
+
import a from "./Index-c2008029.js";
|
|
2
|
+
import { n as r } from "./main-b5eb6366.js";
|
|
3
|
+
import "./tinycolor-bb8652ea.js";
|
|
4
4
|
const i = {
|
|
5
5
|
name: "AttachmentsItem",
|
|
6
6
|
components: {
|
|
@@ -45,7 +45,9 @@ var s = function() {
|
|
|
45
45
|
if (n.target !== n.currentTarget)
|
|
46
46
|
return null;
|
|
47
47
|
t.isEditing || t.$emit("click");
|
|
48
|
-
} } }, [t.isImageOrPdf && t.attachment.mime.startsWith("image") ? e("img", { staticClass: "pointer-events-none attachment-preview", attrs: { src: t.attachment.url } }) : e("div", { staticClass: "pointer-events-none attachment-icon" }, [e("FileIcon", { attrs: { mime: t.attachment.mime, size: 40 } })], 1), t.isEditing ? e("CField", { staticClass: "flex items-center w-full", attrs: { grouped: "" } }, [e("CInput", { ref: "input", attrs: { value: t.attachment.name, placeholder: t.$t(
|
|
48
|
+
} } }, [t.isImageOrPdf && t.attachment.mime.startsWith("image") ? e("img", { staticClass: "pointer-events-none attachment-preview", attrs: { src: t.attachment.url } }) : e("div", { staticClass: "pointer-events-none attachment-icon" }, [e("FileIcon", { attrs: { mime: t.attachment.mime, size: 40 } })], 1), t.isEditing ? e("CField", { staticClass: "flex items-center w-full", attrs: { grouped: "" } }, [e("CInput", { ref: "input", attrs: { value: t.attachment.name, placeholder: t.$t(
|
|
49
|
+
"components:account.documentForm.attachments.fileNamePlaceholder"
|
|
50
|
+
), filled: "", expanded: "" }, on: { input: function(n) {
|
|
49
51
|
return t.$emit("input", { ...t.attachment, name: n });
|
|
50
52
|
}, blur: function(n) {
|
|
51
53
|
t.isEditing = !1;
|
|
@@ -64,7 +66,7 @@ var s = function() {
|
|
|
64
66
|
o,
|
|
65
67
|
!1,
|
|
66
68
|
null,
|
|
67
|
-
"
|
|
69
|
+
"7fafdca2",
|
|
68
70
|
null,
|
|
69
71
|
null
|
|
70
72
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as ki, W as vi, j as Mi, n as Si, q as bi, a9 as Yi, aa as Oi, a7 as xi } from "./main-
|
|
1
|
+
import { a5 as ki, W as vi, j as Mi, n as Si, q as bi, a9 as Yi, aa as Oi, a7 as xi } from "./main-b5eb6366.js";
|
|
2
2
|
var fs = { exports: {} };
|
|
3
3
|
//! moment.js
|
|
4
4
|
//! version : 2.29.4
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as h, P as m } from "./main-
|
|
1
|
+
import { n as h, P as m } from "./main-b5eb6366.js";
|
|
2
2
|
function d(t, e, i) {
|
|
3
3
|
this.$children.forEach((n) => {
|
|
4
4
|
n.$options.componentName === t ? n.$emit(...[e].concat(i)) : d.apply(n, [t, e].concat([i]));
|
|
@@ -287,7 +287,11 @@ const v = {
|
|
|
287
287
|
return;
|
|
288
288
|
}
|
|
289
289
|
const { minRows: i, maxRows: n } = t;
|
|
290
|
-
this.textareaCalcStyle = c(
|
|
290
|
+
this.textareaCalcStyle = c(
|
|
291
|
+
this.$refs.textarea,
|
|
292
|
+
i,
|
|
293
|
+
n
|
|
294
|
+
);
|
|
291
295
|
}
|
|
292
296
|
}
|
|
293
297
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as we, j as De, n as $e, ab as ye, J as ve } from "./main-
|
|
1
|
+
import { W as we, j as De, n as $e, ab as ye, J as ve } from "./main-b5eb6366.js";
|
|
2
2
|
/*!
|
|
3
3
|
* Compressor.js v1.1.1
|
|
4
4
|
* https://fengyuanchen.github.io/compressorjs
|
|
@@ -1698,7 +1698,7 @@ const Qe = {
|
|
|
1698
1698
|
name: "BaseUpload",
|
|
1699
1699
|
components: {
|
|
1700
1700
|
FileUpload: Ve,
|
|
1701
|
-
UploadModal: () => import("./UploadModal-
|
|
1701
|
+
UploadModal: () => import("./UploadModal-4065d410.js")
|
|
1702
1702
|
},
|
|
1703
1703
|
props: {
|
|
1704
1704
|
// Optional function to handle any errors
|
|
@@ -1795,9 +1795,13 @@ const Qe = {
|
|
|
1795
1795
|
n.append("file", s.file, s.file.name);
|
|
1796
1796
|
const { data: a } = await ye.post("/file", n, {
|
|
1797
1797
|
onUploadProgress: (d) => {
|
|
1798
|
-
const c = this.files.filter(
|
|
1798
|
+
const c = this.files.filter(
|
|
1799
|
+
(m) => m.id === s.id
|
|
1800
|
+
);
|
|
1799
1801
|
if (c.length) {
|
|
1800
|
-
const m = c[0], y = m, g = Math.round(
|
|
1802
|
+
const m = c[0], y = m, g = Math.round(
|
|
1803
|
+
d.loaded * 100 / d.total
|
|
1804
|
+
);
|
|
1801
1805
|
y.progress = g, this.$refs.upload.update(m, y);
|
|
1802
1806
|
}
|
|
1803
1807
|
},
|
|
@@ -1829,13 +1833,17 @@ const Qe = {
|
|
|
1829
1833
|
if (this.modalOpen && (this.modalOpen = !1), this.createThumbnails && s && !s.thumbnailId && s.file && s.type.substr(0, 6) === "image/" && !["image/heic", "image/heif"].includes(s.type) && !n)
|
|
1830
1834
|
return s.error = "thumbnail", new Promise(async (a, l) => {
|
|
1831
1835
|
try {
|
|
1832
|
-
const { id: d } = await this.generateThumbnail(
|
|
1836
|
+
const { id: d } = await this.generateThumbnail(
|
|
1837
|
+
s.file
|
|
1838
|
+
), c = s;
|
|
1833
1839
|
return c.thumbnailId = d, c.error = "", this.$refs.upload.update(s, c), a();
|
|
1834
1840
|
} catch (d) {
|
|
1835
1841
|
return l(d);
|
|
1836
1842
|
}
|
|
1837
1843
|
}).catch((a) => {
|
|
1838
|
-
this.$refs.upload.update(s, {
|
|
1844
|
+
this.$refs.upload.update(s, {
|
|
1845
|
+
error: a.code || a.error || a.message || a
|
|
1846
|
+
});
|
|
1839
1847
|
});
|
|
1840
1848
|
if (s && s.file && s.type.substr(0, 6) === "image/" && !["image/heic", "image/heif"].includes(s.type) && !s.hasCompressed)
|
|
1841
1849
|
return s.error = "compressor", new Promise(async (a, l) => {
|
|
@@ -1846,7 +1854,9 @@ const Qe = {
|
|
|
1846
1854
|
return l(d);
|
|
1847
1855
|
}
|
|
1848
1856
|
}).catch((a) => {
|
|
1849
|
-
this.$refs.upload.update(s, {
|
|
1857
|
+
this.$refs.upload.update(s, {
|
|
1858
|
+
error: a.code || a.error || a.message || a
|
|
1859
|
+
});
|
|
1850
1860
|
});
|
|
1851
1861
|
if (s && !s.active && !s.success && !s.error && this.autostartUpload && (s.active = !0), s && s.success && !n.success && this.$emit("upload-success", s), s && s.error && s.error !== "thumbnail" && s.error !== "compressor" && (!n || !n.error)) {
|
|
1852
1862
|
if (this.onError)
|
|
@@ -1856,11 +1866,15 @@ const Qe = {
|
|
|
1856
1866
|
switch (s.error) {
|
|
1857
1867
|
case "extension": {
|
|
1858
1868
|
const l = this.extensions.replace(/,/g, ", ");
|
|
1859
|
-
a = this.$t("errors.extension", {
|
|
1869
|
+
a = this.$t("errors.extension", {
|
|
1870
|
+
extensions: l
|
|
1871
|
+
});
|
|
1860
1872
|
break;
|
|
1861
1873
|
}
|
|
1862
1874
|
case "size": {
|
|
1863
|
-
a = this.$t("errors.size", {
|
|
1875
|
+
a = this.$t("errors.size", {
|
|
1876
|
+
maxFileSize: `${this.maxSize / 1e6} MB`
|
|
1877
|
+
});
|
|
1864
1878
|
break;
|
|
1865
1879
|
}
|
|
1866
1880
|
case "ECONNREFUSED": {
|
|
@@ -1884,7 +1898,10 @@ const Qe = {
|
|
|
1884
1898
|
maxWidth: this.thumbnailMaxWidth,
|
|
1885
1899
|
maxHeight: this.thumbnailMaxHeight,
|
|
1886
1900
|
success: (d) => {
|
|
1887
|
-
const c = new FormData(), m = this.appendToFilename(
|
|
1901
|
+
const c = new FormData(), m = this.appendToFilename(
|
|
1902
|
+
d.name,
|
|
1903
|
+
"_thumbnail"
|
|
1904
|
+
);
|
|
1888
1905
|
return c.append("file", d, m), ye.post("/file", c).then((y) => n(y.data)).catch((y) => a(y));
|
|
1889
1906
|
},
|
|
1890
1907
|
error: (d) => a(d)
|
|
@@ -1954,7 +1971,7 @@ var Ze = function() {
|
|
|
1954
1971
|
et,
|
|
1955
1972
|
!1,
|
|
1956
1973
|
null,
|
|
1957
|
-
"
|
|
1974
|
+
"b289601f",
|
|
1958
1975
|
null,
|
|
1959
1976
|
null
|
|
1960
1977
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as s, b as i } from "./main-
|
|
1
|
+
import { n as s, b as i } from "./main-b5eb6366.js";
|
|
2
2
|
import { g as d } from "./color-71c20583.js";
|
|
3
3
|
const n = {
|
|
4
4
|
name: "BlockMedia",
|
|
@@ -45,7 +45,9 @@ const n = {
|
|
|
45
45
|
} = this.media || {}, o = d(l);
|
|
46
46
|
return {
|
|
47
47
|
backgroundPosition: `center ${t}%`,
|
|
48
|
-
...!["color", "gradient"].includes(this.type) && {
|
|
48
|
+
...!["color", "gradient"].includes(this.type) && {
|
|
49
|
+
filter: `${a || ""}`
|
|
50
|
+
},
|
|
49
51
|
...e && this.type === "color" && { backgroundColor: e },
|
|
50
52
|
...r && this.type === "image" && { backgroundImage: `url(${r})` },
|
|
51
53
|
...o && this.type === "gradient" && { backgroundImage: o }
|
|
@@ -62,7 +64,7 @@ var c = function() {
|
|
|
62
64
|
u,
|
|
63
65
|
!1,
|
|
64
66
|
null,
|
|
65
|
-
"
|
|
67
|
+
"f8df70ee",
|
|
66
68
|
null,
|
|
67
69
|
null
|
|
68
70
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { n as s, d as a } from "./main-b5eb6366.js";
|
|
2
|
+
import "./CSlider.vue_vue_type_style_index_0_lang-ef031b7b.js";
|
|
3
3
|
const i = {
|
|
4
4
|
name: "CCallout",
|
|
5
5
|
components: {
|
|
6
|
-
CButton:
|
|
6
|
+
CButton: a
|
|
7
7
|
},
|
|
8
8
|
props: {
|
|
9
9
|
title: String,
|
|
@@ -26,23 +26,20 @@ const i = {
|
|
|
26
26
|
};
|
|
27
27
|
var n = function() {
|
|
28
28
|
var t = this, e = t._self._c;
|
|
29
|
-
return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [
|
|
30
|
-
`is-${t.type}`,
|
|
31
|
-
`is-${t.size}`
|
|
32
|
-
] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(.5 * var(--rem))", position: "absolute", top: "calc(.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(c) {
|
|
29
|
+
return e("transition", { attrs: { name: "fade" } }, [t.legacy ? e("article", { staticClass: "message", class: [`is-${t.type}`, `is-${t.size}`] }, [e("section", { staticClass: "message-body", style: { padding: t.padding } }, [t.title ? e("header", { staticClass: "message-header" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), e("div", { staticClass: "media" }, [e("div", { staticClass: "media-content" }, [t._t("default")], 2)])]), t.closable ? e("CButton", { staticStyle: { right: "calc(0.5 * var(--rem))", position: "absolute", top: "calc(0.5 * var(--rem))" }, attrs: { type: t.type, size: "small", pattern: "secondary", circle: "", icon: "x" }, on: { click: function(o) {
|
|
33
30
|
return t.$emit("close");
|
|
34
31
|
} } }) : t._e()], 1) : e("div", { staticClass: "flex p-4 border border-gray-200 rounded-md bg-gray-50" }, [t.icon ? e("div", { staticClass: "mr-3 -mt-px" }, [e("BaseIcon", { attrs: { type: t.icon, size: "16" } })], 1) : t._e(), e("div", [e("div", [t._t("title", function() {
|
|
35
32
|
return [e("div", { staticClass: "font-medium" }, [t._v(t._s(t.title))])];
|
|
36
33
|
})], 2), e("div", { staticClass: "text-gray-800" }, [t._t("default", function() {
|
|
37
34
|
return [e("div", { staticClass: "mb-2 text-gray-500" }, [t._v(t._s(t.text))])];
|
|
38
35
|
})], 2)])])]);
|
|
39
|
-
}, l = [], r = /* @__PURE__ */
|
|
36
|
+
}, l = [], r = /* @__PURE__ */ s(
|
|
40
37
|
i,
|
|
41
38
|
n,
|
|
42
39
|
l,
|
|
43
40
|
!1,
|
|
44
41
|
null,
|
|
45
|
-
"
|
|
42
|
+
"d41b9cf0",
|
|
46
43
|
null,
|
|
47
44
|
null
|
|
48
45
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as f, j as m, n as p } from "./main-
|
|
1
|
+
import { V as f, j as m, n as p } from "./main-b5eb6366.js";
|
|
2
2
|
class v {
|
|
3
3
|
constructor({ defaults: e = { width: 800, height: 600 }, delay: i = 50 } = {}) {
|
|
4
4
|
this._width = e.width, this._height = e.height, this._delay = i, this._timer = null, this._initialized = !1, this._handler = this._handleResize.bind(this);
|
|
@@ -500,8 +500,8 @@ const E = {
|
|
|
500
500
|
},
|
|
501
501
|
methods: {
|
|
502
502
|
/**
|
|
503
|
-
|
|
504
|
-
|
|
503
|
+
* Click listener, select the item.
|
|
504
|
+
*/
|
|
505
505
|
selectItem() {
|
|
506
506
|
this.isClickable && (this.parent.selectItem(this.value, { closeOnClick: this.closeOnClick }), this.$emit("click"), typeof this.value == "boolean" && this.$emit("input", !this.value));
|
|
507
507
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n } from "./main-
|
|
1
|
+
import { n } from "./main-b5eb6366.js";
|
|
2
2
|
import "./CField.vue_vue_type_style_index_0_lang-4ed993c7.js";
|
|
3
3
|
const l = {
|
|
4
4
|
name: "CFieldBody",
|
|
@@ -11,7 +11,17 @@ const l = {
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
render(e) {
|
|
14
|
-
return e(
|
|
14
|
+
return e(
|
|
15
|
+
"div",
|
|
16
|
+
{ attrs: { class: "field-body" } },
|
|
17
|
+
this.$slots.default.map((s) => s.tag ? this.message ? e(
|
|
18
|
+
"c-field",
|
|
19
|
+
{ attrs: { message: this.message, type: this.type } },
|
|
20
|
+
[s]
|
|
21
|
+
) : e("c-field", { attrs: { type: this.type } }, [
|
|
22
|
+
s
|
|
23
|
+
]) : s)
|
|
24
|
+
);
|
|
15
25
|
}
|
|
16
26
|
}, a = null, o = null;
|
|
17
27
|
var r = /* @__PURE__ */ n(
|
|
@@ -119,7 +129,9 @@ const u = r.exports, p = {
|
|
|
119
129
|
},
|
|
120
130
|
numberInputClasses() {
|
|
121
131
|
if (this.$slots.default) {
|
|
122
|
-
const e = this.$slots.default.filter(
|
|
132
|
+
const e = this.$slots.default.filter(
|
|
133
|
+
(s) => s.tag && s.tag.toLowerCase().indexOf("numberinput") >= 0
|
|
134
|
+
)[0];
|
|
123
135
|
if (e) {
|
|
124
136
|
const s = ["has-numberinput"], t = e.componentOptions.propsData.controlsPosition, i = e.componentOptions.propsData.size;
|
|
125
137
|
return t && s.push(`has-numberinput-${t}`), i && s.push(`has-numberinput-${i}`), s;
|
|
@@ -143,7 +155,9 @@ const u = r.exports, p = {
|
|
|
143
155
|
}
|
|
144
156
|
},
|
|
145
157
|
mounted() {
|
|
146
|
-
this.horizontal && this.$el.querySelectorAll(
|
|
158
|
+
this.horizontal && this.$el.querySelectorAll(
|
|
159
|
+
".input, .select, .button, .textarea, .c-slider"
|
|
160
|
+
).length > 0 && (this.fieldLabelSize = "is-normal");
|
|
147
161
|
},
|
|
148
162
|
methods: {
|
|
149
163
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as s, ag as r } from "./main-
|
|
1
|
+
import { n as s, ag as r } from "./main-b5eb6366.js";
|
|
2
2
|
const o = {
|
|
3
3
|
name: "SmartList",
|
|
4
4
|
props: {
|
|
@@ -42,7 +42,9 @@ const o = {
|
|
|
42
42
|
return this.query && (t = this.filterMethod ? this.filterMethod(this.query, this.items) : this.searchedItems), (this.sortBy || this.defaultSort) && (t = this.sortMethod ? this.sortMethod(this.sort, this.searchedItems) : this.sortedItems), t;
|
|
43
43
|
},
|
|
44
44
|
searchedItems() {
|
|
45
|
-
return this.items.filter((t) => typeof t == "object" ? Object.keys(t).some(
|
|
45
|
+
return this.items.filter((t) => typeof t == "object" ? Object.keys(t).some(
|
|
46
|
+
(e) => String(t[e]).toLowerCase().includes(this.query.toLowerCase())
|
|
47
|
+
) : String(t).toLowerCase().includes(this.query.toLowerCase()));
|
|
46
48
|
},
|
|
47
49
|
sortedItems() {
|
|
48
50
|
return this.searchedItems.slice().sort((t, e) => (typeof t == "object" && typeof e == "object" && (t = t[this.sortBy], e = e[this.sortBy]), (t === e ? 0 : r(t, e)) * this.sortOrder));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as o } from "./SearchApi-
|
|
2
|
-
import { n as l, w as c } from "./main-
|
|
1
|
+
import { S as o } from "./SearchApi-1cd32dd3.js";
|
|
2
|
+
import { n as l, w as c } from "./main-b5eb6366.js";
|
|
3
3
|
const i = {
|
|
4
4
|
i18nOptions: {
|
|
5
5
|
namespaces: "components",
|
|
@@ -70,7 +70,7 @@ var u = function() {
|
|
|
70
70
|
d,
|
|
71
71
|
!1,
|
|
72
72
|
null,
|
|
73
|
-
"
|
|
73
|
+
"7407276e",
|
|
74
74
|
null,
|
|
75
75
|
null
|
|
76
76
|
);
|