@cling-se/widget 0.19.5 → 0.19.7
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 +12 -0
- package/dist/{AddClientCallout-B3NbV9vX.js → AddClientCallout-BdGevuQo.js} +6 -6
- package/dist/{AnswerModal-C_at-56v.js → AnswerModal-DfjF-RVP.js} +3 -3
- package/dist/{AttachmentItem-C4kyomn3.js → AttachmentItem-BEd3qVAo.js} +17 -17
- package/dist/{BaseUpload-Z3O2bebR.js → BaseUpload-Zm4EX8ir.js} +2 -2
- package/dist/{BlockMedia-BSGtFCsS.js → BlockMedia-ZHaA4OMV.js} +14 -14
- package/dist/CCallout-BlglVZrm.js +124 -0
- package/dist/{CCurrencyDropdown-CyFge_fD.js → CCurrencyDropdown-BzvKsm1N.js} +9 -9
- package/dist/{CDropdownItem-BWmAQwpG.js → CDropdownItem-B5rgSee7.js} +7 -7
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-DzcNo15Q.js → CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js} +18 -18
- package/dist/{CPhoneFormat-D-BGsI3p.js → CPhoneFormat-DaDNMlmK.js} +1 -1
- package/dist/{CPhoneInput-Dl7BSG8y.js → CPhoneInput-BUogm59J.js} +18 -18
- package/dist/{CPriceInput-C8Os9b3V.js → CPriceInput-Cd5OHMJS.js} +11 -11
- package/dist/CSelect-CmoAbVkP.js +129 -0
- package/dist/CSkeleton-BF6EYj8H.js +47 -0
- package/dist/{ClientAutocomplete-0XPP0tZr.js → ClientAutocomplete-CHfp4YiV.js} +18 -18
- package/dist/{ClientModal-Ddv5YiOD.js → ClientModal-Com23Qgc.js} +31 -31
- package/dist/{ColorPicker-ClWlJZqh.js → ColorPicker-BzdHtZep.js} +26 -26
- package/dist/{CompanyModal-CdisHhTQ.js → CompanyModal-CGjSgTEJ.js} +16 -16
- package/dist/{ContentWrapper-BZ_ff5l9.js → ContentWrapper-CS-Bh4Bk.js} +21 -21
- package/dist/{CoverBlockSettings-C3F4jTwa.js → CoverBlockSettings-DDHQzLdc.js} +28 -28
- package/dist/{DocAnswer-BkbWkje5.js → DocAnswer-Cmdsw_CW.js} +2 -2
- package/dist/{DocDetails-DxUXsbDV.js → DocDetails-C5Vzh550.js} +28 -28
- package/dist/{DocForm-CABBteE8.js → DocForm-DEUVV11n.js} +994 -960
- package/dist/{DocFormSend-xGIxXjxv.js → DocFormSend-Dt7N3wCz.js} +2 -2
- package/dist/{DocLinks-D01zyA-z.js → DocLinks-C6-Er0rk.js} +2 -2
- package/dist/{DocModalBase-DfrPL4tZ.js → DocModalBase-DbuJwHXi.js} +1 -1
- package/dist/{DocPrint-BSKYDCQc.js → DocPrint-D_uxg7qD.js} +6 -6
- package/dist/{DocReceipt-D5Oqb1cC.js → DocReceipt-D6LP9UAa.js} +16 -16
- package/dist/{DocSendReminder-IbCLg9tW.js → DocSendReminder-DopLhyjz.js} +8 -8
- package/dist/{DocTextEditor-BVba4QPz.js → DocTextEditor-DeZtzbgm.js} +8 -8
- package/dist/{DocTimeline-CaX19zwg.js → DocTimeline-DAWZu_KT.js} +25 -25
- package/dist/{DocumentClient-DSQnO5KJ.js → DocumentClient-kxnT6k9s.js} +7 -7
- package/dist/{DocumentLayout-CkNcKcB_.js → DocumentLayout-DaVz9SGF.js} +68 -68
- package/dist/{DocumentLogotype-DAVtl6S_.js → DocumentLogotype-G-a7gBIC.js} +6 -6
- package/dist/{DocumentVoided-DZYqqkrE.js → DocumentVoided-SG_ShMmc.js} +5 -5
- package/dist/{EmbedInput-BpVkRhg5.js → EmbedInput-CJL5y3Zj.js} +9 -9
- package/dist/{EmbedSettings-BHjex6QD.js → EmbedSettings-B0X6A9Uy.js} +9 -9
- package/dist/{ErrorCallout-B9TlMH-g.js → ErrorCallout-xCSfpQWV.js} +7 -7
- package/dist/{FilePreviewModal-DP6yokyq.js → FilePreviewModal-Da_pMUoO.js} +6 -6
- package/dist/{Flag-D3GdVwWB.js → Flag-wXawyyMO.js} +1 -1
- package/dist/{HeaderSettings-sb4vPDsi.js → HeaderSettings-CD3y6-uY.js} +37 -37
- package/dist/{ImageSelectModal-CicYONc-.js → ImageSelectModal-DatnXHH1.js} +5 -5
- package/dist/{ImageUploadWrapper-CLq06imX.js → ImageUploadWrapper-CwKe3Iq7.js} +33 -33
- package/dist/{Index-2jg0DL-m.js → Index-1WPEpaVr.js} +4 -4
- package/dist/{Index-Dv0eryvg.js → Index-9ZFW8Ka7.js} +4 -4
- package/dist/{Index-Be0qeiZi.js → Index-B53eUt7Y.js} +10 -10
- package/dist/{Index-BrIFaQcB.js → Index-BJf4YdYB.js} +14 -14
- package/dist/{Index-AjcnSKQD.js → Index-BTDQax0X.js} +16 -16
- package/dist/{Index-SXJlaLRr.js → Index-Bb6JZC8l.js} +4 -4
- package/dist/{Index-DdlkzMzM.js → Index-BbVHxVFJ.js} +20 -20
- package/dist/{Index-CoadaoP0.js → Index-BlownK7_.js} +6 -6
- package/dist/{Index-BsM0XvZj.js → Index-BvAqglwa.js} +33 -33
- package/dist/{Index-CzqNrUn3.js → Index-C-EUJjuk.js} +2 -2
- package/dist/{Index-BpObvjSu.js → Index-C2-s62x7.js} +5 -5
- package/dist/{Index-DH9dMzsw.js → Index-COF0evH4.js} +10 -10
- package/dist/{Index-BtECdggQ.js → Index-CQboLS2e.js} +5 -5
- package/dist/{Index-CpGzRzMp.js → Index-CTrX3VRa.js} +5 -5
- package/dist/{Index-BU2qksFA.js → Index-CXjLkK_n.js} +13 -13
- package/dist/{Index-6H0VT88W.js → Index-Ciy9lnhS.js} +3 -3
- package/dist/{Index-BWTeXf8h.js → Index-Cjg3X74T.js} +4 -4
- package/dist/{Index-KZslz-16.js → Index-Ck-_9woY.js} +29 -29
- package/dist/{Index-DGLmjotr.js → Index-Ct735UtM.js} +2 -2
- package/dist/{Index-BePivEDQ.js → Index-D-gJQEAD.js} +3 -3
- package/dist/{Index-Bf3O-9-j.js → Index-DAkq_7Ws.js} +11 -11
- package/dist/{Index-szvZl8G-.js → Index-DOeHci16.js} +6 -6
- package/dist/{Index-BHvpY8xR.js → Index-DfuzxXzD.js} +2 -2
- package/dist/{Index-0JuAv1tp.js → Index-Dfy0PsiW.js} +25 -25
- package/dist/{Index-DO8qwrXi.js → Index-DjfbgA_7.js} +19 -19
- package/dist/{Index-CmDRJ5Xr.js → Index-DkQ8_VkX.js} +8 -8
- package/dist/{Index-DPF_0b3a.js → Index-Dxg4gEKd.js} +18 -18
- package/dist/{Index-DnnRIESN.js → Index-DzdEqsZB.js} +8 -8
- package/dist/{Index--erm1oIh.js → Index-GPliVrhC.js} +5 -5
- package/dist/{Index-RhHHrJtM.js → Index-NnBwJv9v.js} +6 -6
- package/dist/{Index-BIrwUJlj.js → Index-ezY0DbcB.js} +10 -10
- package/dist/Index-qFx0G3fC.js +4 -0
- package/dist/{Index-DijI5XXh.js → Index-yS5OPrJJ.js} +2 -2
- package/dist/{Index-0imHv6b4.js → Index-y_AJP61r.js} +12 -12
- package/dist/{Index.vue_vue_type_script_lang-CXjOi3FM.js → Index.vue_vue_type_script_lang-B3RoDZmC.js} +2 -2
- package/dist/{InputToggleRow-3992FkvA.js → InputToggleRow-D5rvQpAw.js} +11 -11
- package/dist/{ManualPopover-UiHhIKuw.js → ManualPopover-Bd-GsLGT.js} +6 -6
- package/dist/{MediaWrapper-BlaBWAWe.js → MediaWrapper-Ci0XPCcb.js} +3 -3
- package/dist/{NotBindingText-C14r7OLr.js → NotBindingText-DhndGZE3.js} +2 -2
- package/dist/{PackageGroup-ClZiyb95.js → PackageGroup-4Jt9ClVO.js} +17 -17
- package/dist/{PdfTerms-CbVKGNxc.js → PdfTerms-CGeJDJpQ.js} +5 -5
- package/dist/{PdfViewer-B_7DfQr7.js → PdfViewer-o2vb6Fya.js} +78 -78
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BM9WSi7y.js → PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js} +1 -1
- package/dist/{PriceHeader-DRkCMuGD.js → PriceHeader-BsObxLHK.js} +31 -31
- package/dist/{SearchApi-6-uNsMl8.js → SearchApi-ZczKsBb7.js} +1 -1
- package/dist/{SendForm-DnwHPbWV.js → SendForm-D5jqkofo.js} +8 -8
- package/dist/{Setup-Dz3ZCvFw.js → Setup-CdZzn0qW.js} +1 -1
- package/dist/{SmartList-7RooD2fY.js → SmartList-B36ffGAZ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-cAzUeXVM.js → Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js} +31 -31
- package/dist/{TermsSettings-BEB2t3Ut.js → TermsSettings-CmAHVOuX.js} +14 -14
- package/dist/{ThemeColorRow-XE9QcVAy.js → ThemeColorRow-CScTIcPB.js} +6 -6
- package/dist/{ToggleBinding-BeXQfpcK.js → ToggleBinding-CVZZlpBR.js} +4 -4
- package/dist/{UploadModal-pRlJXk-Y.js → UploadModal-2tXsmGMM.js} +4 -4
- package/dist/{VideoPlayerInput-qankN5Ed.js → VideoPlayerInput-BDzjZ2St.js} +9 -9
- package/dist/{VideoPlayerSettings-WijGYtE2.js → VideoPlayerSettings-BLAEZw4C.js} +6 -6
- package/dist/{VideoSelectModal-Dhb7CmVu.js → VideoSelectModal-iqgmg85K.js} +16 -16
- package/dist/{focusDrawerMixin-DELQ4Leq.js → focusDrawerMixin-BmyahQiE.js} +1 -1
- package/dist/{formDrawerState-D_OOByIg.js → formDrawerState-B7ASfNsk.js} +1 -1
- package/dist/{helpers-BnYWgq30.js → helpers-BVP2Pul1.js} +5 -5
- package/dist/{index-CFD_4fv_.js → index-B86TZXOh.js} +32 -32
- package/dist/{index-KcSRVleg.js → index-BDb4bM0D.js} +17 -17
- package/dist/{index-BIWUM14f.js → index-BH5vwOzR.js} +3 -3
- package/dist/{index-BGFTOrwb.js → index-Cd4S4J-L.js} +56 -56
- package/dist/{index-DRINkuNg.js → index-CsbYpQqP.js} +44 -43
- package/dist/{index-P4A85Ytd.js → index-D0Qee2OX.js} +34 -34
- package/dist/{index-6175cimw.js → index-DXNrJnEc.js} +7 -7
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +137 -137
- package/dist/{main-q_EWffDQ.js → main-C2Q8_T2Y.js} +11468 -11445
- package/dist/{mapFormMixin-DjPlsXfr.js → mapFormMixin-CjfqZnmd.js} +6 -6
- package/dist/{omit-DWur9Ujv.js → omit-DzlbtNCX.js} +4 -4
- package/dist/{publicSenderState-BkZVvtJm.js → publicSenderState-C3ELW8Cw.js} +3 -3
- package/dist/{splitpanes-BR5qxnsj.js → splitpanes-CuxtOZyV.js} +1 -1
- package/dist/{template-CQlJbqXR.js → template-DzrGrOEa.js} +1 -1
- package/dist/{tippy.esm-BABwSp3j.js → tippy.esm-Bf86qEue.js} +89 -89
- package/dist/{useTermsModal-Bj2B-TdQ.js → useTermsModal-Be4HLDDm.js} +6 -6
- package/dist/{utils-C53ntVIe.js → utils-a_Odlqb5.js} +1 -1
- package/dist/{validation-u_PNxOm8.js → validation-38muBV6x.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/CCallout-DRBCakh2.js +0 -104
- package/dist/CSelect-DXAAKhB6.js +0 -98
- package/dist/CSkeleton.vue_vue_type_script_setup_true_lang-D_ZP_7FL.js +0 -51
- package/dist/Index-B5zszB2v.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as p } from "./PdfViewer-
|
|
2
|
-
import { _ as h, S as k, e as m,
|
|
1
|
+
import { V as p } from "./PdfViewer-o2vb6Fya.js";
|
|
2
|
+
import { _ as h, S as k, e as m, aa as y, o, b as i, j as n, t as x, I as a, y as v, c as g, f as w, ab as I } from "./main-C2Q8_T2Y.js";
|
|
3
3
|
const C = {
|
|
4
4
|
name: "FilesPreviewModal",
|
|
5
5
|
components: {
|
|
@@ -64,7 +64,7 @@ const C = {
|
|
|
64
64
|
class: "pdf-root"
|
|
65
65
|
}, E = ["src"];
|
|
66
66
|
function G(t, e, r, S, s, u) {
|
|
67
|
-
const
|
|
67
|
+
const c = m("Spinner"), f = m("VuePdf"), l = y("tooltip");
|
|
68
68
|
return o(), i("div", L, [
|
|
69
69
|
e[11] || (e[11] = n("div", { class: "image-modal-overlay" }, null, -1)),
|
|
70
70
|
n("div", b, [
|
|
@@ -172,11 +172,11 @@ function G(t, e, r, S, s, u) {
|
|
|
172
172
|
style: { position: "relative" },
|
|
173
173
|
onClick: e[6] || (e[6] = (d) => t.$emit("close"))
|
|
174
174
|
}, [
|
|
175
|
-
s.isLoading ? (o(), g(
|
|
175
|
+
s.isLoading ? (o(), g(c, {
|
|
176
176
|
key: 0,
|
|
177
177
|
size: "50px",
|
|
178
178
|
style: { position: "absolute", left: "50%", top: "50%", transform: "translate(-50%, -50%)" }
|
|
179
|
-
})) :
|
|
179
|
+
})) : w("", !0),
|
|
180
180
|
u.isPdf ? (o(), i("div", j, [
|
|
181
181
|
(o(), g(f, {
|
|
182
182
|
key: this.currentIndex,
|
|
@@ -188,7 +188,7 @@ function G(t, e, r, S, s, u) {
|
|
|
188
188
|
onClick: e[4] || (e[4] = I(() => {
|
|
189
189
|
}, ["stop"]))
|
|
190
190
|
}, null, 8, ["src"]))
|
|
191
|
-
])) : s.isLoading ?
|
|
191
|
+
])) : s.isLoading ? w("", !0) : (o(), i("img", {
|
|
192
192
|
key: 2,
|
|
193
193
|
src: r.list[s.currentIndex].url,
|
|
194
194
|
class: "modal-image",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as F } from "./mapFormMixin-
|
|
2
|
-
import { T as U } from "./ThemeColorRow-
|
|
3
|
-
import
|
|
4
|
-
import P from "./ImageUploadWrapper-
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { _ as
|
|
8
|
-
import { b as
|
|
9
|
-
import { t as
|
|
10
|
-
const T = S.unsplash.id,
|
|
1
|
+
import { m as F } from "./mapFormMixin-CjfqZnmd.js";
|
|
2
|
+
import { T as U } from "./ThemeColorRow-CScTIcPB.js";
|
|
3
|
+
import j from "./VideoPlayerInput-BDzjZ2St.js";
|
|
4
|
+
import P from "./ImageUploadWrapper-CwKe3Iq7.js";
|
|
5
|
+
import { B as H, a as $ } from "./index-D0Qee2OX.js";
|
|
6
|
+
import { h as S, _ as A, ae as V, an as R, e as g, o as a, c as x, w as c, j as l, b as u, F as _, G as L, Y as B, t as h, d as p, x as w, f as I, X as O, aV as D, B as W, I as q, ab as M, aW as N, y as z, A as E } from "./main-C2Q8_T2Y.js";
|
|
7
|
+
import { _ as K } from "./CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js";
|
|
8
|
+
import { b as G } from "./CDropdownItem-B5rgSee7.js";
|
|
9
|
+
import { t as X } from "./template-DzrGrOEa.js";
|
|
10
|
+
const T = S.unsplash.id, Y = S.pexels.id, J = {
|
|
11
11
|
name: "MediaSelectModal",
|
|
12
12
|
i18nOptions: {
|
|
13
13
|
namespaces: "mediaSelectModal",
|
|
@@ -27,9 +27,9 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
components: {
|
|
30
|
-
BackgroundModal:
|
|
30
|
+
BackgroundModal: H,
|
|
31
31
|
BackgroundList: $,
|
|
32
|
-
VideoPlayerInput:
|
|
32
|
+
VideoPlayerInput: j,
|
|
33
33
|
ImageUploadWrapper: P
|
|
34
34
|
},
|
|
35
35
|
emits: ["input", "close"],
|
|
@@ -104,7 +104,7 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
104
104
|
async fetchVideo({ query: e, page: t }) {
|
|
105
105
|
const { data: r } = await V.get("https://api.pexels.com/videos/search", {
|
|
106
106
|
headers: {
|
|
107
|
-
Authorization:
|
|
107
|
+
Authorization: Y
|
|
108
108
|
},
|
|
109
109
|
params: {
|
|
110
110
|
page: t,
|
|
@@ -165,7 +165,7 @@ const T = S.unsplash.id, Q = S.pexels.id, X = {
|
|
|
165
165
|
}, this.preferredColor && (e.preferredColor = this.preferredColor), this.$emit("input", e), this.$emit("close");
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, Q = {
|
|
169
169
|
class: "flex w-full items-center justify-center",
|
|
170
170
|
style: { padding: "calc(0.25 * var(--rem)) calc(1 * var(--rem))", "border-bottom": "1px solid hsl(0, 0%, 88%)" }
|
|
171
171
|
}, Z = { class: "inline-flex items-center justify-center" }, ee = ["innerHTML"], te = { class: "max-md:!hidden" }, oe = {
|
|
@@ -187,10 +187,10 @@ function he(e, t, r, n, s, o) {
|
|
|
187
187
|
onClose: t[2] || (t[2] = (i) => e.$emit("close"))
|
|
188
188
|
}, {
|
|
189
189
|
header: c(() => [
|
|
190
|
-
l("div",
|
|
190
|
+
l("div", Q, [
|
|
191
191
|
(a(!0), u(_, null, L(s.tabs, (i, y) => (a(), x(d, {
|
|
192
192
|
key: y,
|
|
193
|
-
style:
|
|
193
|
+
style: B([{ "font-size": "15px", "font-weight": "700", opacity: "0.5", "box-shadow": "none" }, s.activeTab === i.value && { opacity: 1 }]),
|
|
194
194
|
onClick: (f) => s.activeTab = i.value
|
|
195
195
|
}, {
|
|
196
196
|
default: c(() => [
|
|
@@ -234,7 +234,7 @@ function he(e, t, r, n, s, o) {
|
|
|
234
234
|
key: 0,
|
|
235
235
|
src: s.customVideo.url,
|
|
236
236
|
class: "custom-video-preview"
|
|
237
|
-
}, null, 8, le)) :
|
|
237
|
+
}, null, 8, le)) : I("", !0)
|
|
238
238
|
]),
|
|
239
239
|
p(C, {
|
|
240
240
|
modelValue: s.customVideo,
|
|
@@ -274,7 +274,7 @@ function he(e, t, r, n, s, o) {
|
|
|
274
274
|
}, null, 8, de)) : (a(), u("div", ce, [
|
|
275
275
|
p(d, {
|
|
276
276
|
loading: !!i && i < 100,
|
|
277
|
-
style:
|
|
277
|
+
style: B(s.customImage && { opacity: 0.5 }),
|
|
278
278
|
"icon-left": "upload",
|
|
279
279
|
type: "none"
|
|
280
280
|
}, {
|
|
@@ -307,7 +307,7 @@ function he(e, t, r, n, s, o) {
|
|
|
307
307
|
_: 1
|
|
308
308
|
});
|
|
309
309
|
}
|
|
310
|
-
const pe = /* @__PURE__ */ A(
|
|
310
|
+
const pe = /* @__PURE__ */ A(J, [["render", he], ["__scopeId", "data-v-e6251bf7"]]), ge = {
|
|
311
311
|
name: "CRadioButton",
|
|
312
312
|
components: {
|
|
313
313
|
CButton: O
|
|
@@ -329,17 +329,17 @@ const pe = /* @__PURE__ */ A(X, [["render", he], ["__scopeId", "data-v-e6251bf7"
|
|
|
329
329
|
function ve(e, t, r, n, s, o) {
|
|
330
330
|
const d = g("CButton");
|
|
331
331
|
return a(), u("div", {
|
|
332
|
-
class:
|
|
332
|
+
class: z([{ "is-expanded": r.expanded }, "control"])
|
|
333
333
|
}, [
|
|
334
334
|
p(d, {
|
|
335
335
|
ref: "label",
|
|
336
336
|
tag: "label",
|
|
337
337
|
type: e.newValue === e.nativeValue ? r.type : null,
|
|
338
338
|
size: e.size,
|
|
339
|
-
class:
|
|
339
|
+
class: z([[{ "is-disabled": e.disabled, "is-focused": s.isFocused }], "c-radio radio button"]),
|
|
340
340
|
disabled: e.disabledOrUndefined,
|
|
341
341
|
onClick: e.focus,
|
|
342
|
-
onKeydown: t[4] || (t[4] =
|
|
342
|
+
onKeydown: t[4] || (t[4] = E(M((m) => e.$refs.$el.label.click(), ["prevent"]), ["enter"]))
|
|
343
343
|
}, {
|
|
344
344
|
default: c(() => [
|
|
345
345
|
W(e.$slots, "default"),
|
|
@@ -368,8 +368,8 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
368
368
|
components: {
|
|
369
369
|
ThemeColorRow: U,
|
|
370
370
|
CRadioButton: fe,
|
|
371
|
-
CSwitch:
|
|
372
|
-
CField:
|
|
371
|
+
CSwitch: G,
|
|
372
|
+
CField: K
|
|
373
373
|
},
|
|
374
374
|
mixins: [
|
|
375
375
|
F(
|
|
@@ -505,7 +505,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
505
505
|
this._document.isDirty(this._value.textAlign) || (this.textAlign = e === "center" ? e : "left");
|
|
506
506
|
},
|
|
507
507
|
backgroundColor(e) {
|
|
508
|
-
this._document.isDirty(this._value.textColor) || (this.textColor =
|
|
508
|
+
this._document.isDirty(this._value.textColor) || (this.textColor = X.readability(e, "#fff") < 1.8 ? "#111111" : "#FFFFFF");
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
methods: {
|
|
@@ -542,10 +542,10 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
542
542
|
}, Le = {
|
|
543
543
|
class: "d-option",
|
|
544
544
|
style: { "padding-bottom": "0.5em" }
|
|
545
|
-
},
|
|
545
|
+
}, Be = {
|
|
546
546
|
key: 0,
|
|
547
547
|
class: "d-option"
|
|
548
|
-
},
|
|
548
|
+
}, Ie = { class: "d-option-title" }, ze = { style: { flex: "1 1 auto" } }, Ae = {
|
|
549
549
|
key: 0,
|
|
550
550
|
class: "d-option-row",
|
|
551
551
|
style: { "padding-top": "1em" }
|
|
@@ -556,7 +556,7 @@ const fe = /* @__PURE__ */ A(ge, [["render", ve]]), we = {
|
|
|
556
556
|
class: "d-option-title",
|
|
557
557
|
style: { "margin-top": "calc(0.5 * var(--rem))" }
|
|
558
558
|
}, Ue = ["innerHTML"];
|
|
559
|
-
function
|
|
559
|
+
function je(e, t, r, n, s, o) {
|
|
560
560
|
const d = g("CButton"), m = g("ThemeColorRow"), C = g("CSwitch"), k = g("CRadioButton"), b = g("CField");
|
|
561
561
|
return a(), u("div", Ce, [
|
|
562
562
|
l("div", ke, [
|
|
@@ -594,7 +594,7 @@ function He(e, t, r, n, s, o) {
|
|
|
594
594
|
l("div", _e, [
|
|
595
595
|
l("div", Ve, h(e.$t("_common:background").capitalize()), 1),
|
|
596
596
|
l("div", {
|
|
597
|
-
style:
|
|
597
|
+
style: B({
|
|
598
598
|
backgroundImage: `url(${o.background || o.theme.background})`
|
|
599
599
|
}),
|
|
600
600
|
class: "d-option-button-image",
|
|
@@ -614,9 +614,9 @@ function He(e, t, r, n, s, o) {
|
|
|
614
614
|
_: 1
|
|
615
615
|
}, 8, ["value"])
|
|
616
616
|
]),
|
|
617
|
-
e.layout === "price" ? (a(), u("div",
|
|
618
|
-
l("div",
|
|
619
|
-
l("div",
|
|
617
|
+
e.layout === "price" ? (a(), u("div", Be, [
|
|
618
|
+
l("div", Ie, [
|
|
619
|
+
l("div", ze, h(e.$t(
|
|
620
620
|
"components:account.documentForm.settings.priceSummaryBackground"
|
|
621
621
|
)), 1),
|
|
622
622
|
p(C, {
|
|
@@ -640,7 +640,7 @@ function He(e, t, r, n, s, o) {
|
|
|
640
640
|
]),
|
|
641
641
|
_: 1
|
|
642
642
|
}, 8, ["value"])
|
|
643
|
-
])) :
|
|
643
|
+
])) : I("", !0)
|
|
644
644
|
])) : (a(), u(_, { key: 1 }, [
|
|
645
645
|
e.layout !== "center" ? (a(), u("div", Me, [
|
|
646
646
|
p(m, {
|
|
@@ -657,7 +657,7 @@ function He(e, t, r, n, s, o) {
|
|
|
657
657
|
]),
|
|
658
658
|
_: 1
|
|
659
659
|
}, 8, ["value"])
|
|
660
|
-
])) :
|
|
660
|
+
])) : I("", !0),
|
|
661
661
|
l("div", Te, [
|
|
662
662
|
p(m, {
|
|
663
663
|
value: e.textColor || "",
|
|
@@ -688,7 +688,7 @@ function He(e, t, r, n, s, o) {
|
|
|
688
688
|
],
|
|
689
689
|
"native-value": i,
|
|
690
690
|
type: e.textAlign ? "secondary" : "none",
|
|
691
|
-
class:
|
|
691
|
+
class: z(!e.textAlign && "text-gray-400"),
|
|
692
692
|
size: "small"
|
|
693
693
|
}, {
|
|
694
694
|
default: c(() => [
|
|
@@ -714,7 +714,7 @@ function He(e, t, r, n, s, o) {
|
|
|
714
714
|
], 64))
|
|
715
715
|
]);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const Ee = /* @__PURE__ */ A(we, [["render", je], ["__scopeId", "data-v-bccd31d9"]]);
|
|
718
718
|
export {
|
|
719
|
-
|
|
719
|
+
Ee as default
|
|
720
720
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import _ from "./ImageUploadWrapper-
|
|
2
|
-
import { B as I, a as B } from "./index-
|
|
3
|
-
import { _ as k,
|
|
1
|
+
import _ from "./ImageUploadWrapper-CwKe3Iq7.js";
|
|
2
|
+
import { B as I, a as B } from "./index-D0Qee2OX.js";
|
|
3
|
+
import { _ as k, h as U, ae as i, an as v, e as n, o as C, c as S, w as a, d as l, x as m, t as p } from "./main-C2Q8_T2Y.js";
|
|
4
4
|
const u = U.unsplash.id, $ = {
|
|
5
5
|
name: "ImageSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
@@ -113,7 +113,7 @@ function w(e, t, r, o, y, s) {
|
|
|
113
113
|
_: 1
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
const
|
|
116
|
+
const b = /* @__PURE__ */ k($, [["render", w], ["__scopeId", "data-v-b5f43c6b"]]);
|
|
117
117
|
export {
|
|
118
|
-
|
|
118
|
+
b as default
|
|
119
119
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import re from "./BaseUpload-
|
|
2
|
-
import { o as w, c as y,
|
|
1
|
+
import re from "./BaseUpload-Zm4EX8ir.js";
|
|
2
|
+
import { o as w, c as y, B, e as T, d as R, w as $, F as Et, G as Ct, af as nt, I as Bt, J as Ut, D as st, ab as Rt, f as mt, _ as kt, b as Ft, j as pt, x as ae, t as he, av as ce } from "./main-C2Q8_T2Y.js";
|
|
3
3
|
function Tt(t, e) {
|
|
4
4
|
var i = Object.keys(t);
|
|
5
5
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -169,7 +169,7 @@ function bt(t, e, i) {
|
|
|
169
169
|
A(t[o]) ? s[o] = e[o] : it(e[o]) ? it(t[o]) ? s[o] = bt(t[o], e[o], i[o]) : s[o] = t[o] ? e[o] : i[o] : e[o] === !0 || e[o] === !1 ? s[o] = !!t[o] : s[o] = t[o];
|
|
170
170
|
}), s) : t ? e : i;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function J(t) {
|
|
173
173
|
var e = Number(t);
|
|
174
174
|
return Number.isNaN(e) ? t : e;
|
|
175
175
|
}
|
|
@@ -393,14 +393,14 @@ function Ht(t) {
|
|
|
393
393
|
var e = t.size, i = t.aspectRatio, s = t.ignoreMinimum, o = t.sizeRestrictions;
|
|
394
394
|
return !!((e.correctRatio || b(e) >= i.minimum && b(e) <= i.maximum) && e.height <= o.maxHeight && e.width <= o.maxWidth && e.width && e.height && (s || e.height >= o.minHeight && e.width >= o.minWidth));
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function jt(t, e) {
|
|
397
397
|
return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
|
|
398
398
|
}
|
|
399
399
|
function P(t) {
|
|
400
400
|
var e = t.width, i = t.height, s = t.sizeRestrictions, o = { minimum: t.aspectRatio && t.aspectRatio.minimum || 0, maximum: t.aspectRatio && t.aspectRatio.maximum || 1 / 0 }, n = { width: Math.max(s.minWidth, Math.min(s.maxWidth, e)), height: Math.max(s.minHeight, Math.min(s.maxHeight, i)) };
|
|
401
401
|
function a(c, l) {
|
|
402
402
|
return l === void 0 && (l = !1), c.reduce(function(u, d) {
|
|
403
|
-
return Ht({ size: d, aspectRatio: o, sizeRestrictions: s, ignoreMinimum: l }) && (!u ||
|
|
403
|
+
return Ht({ size: d, aspectRatio: o, sizeRestrictions: s, ignoreMinimum: l }) && (!u || jt(d, { width: e, height: i }) < jt(u, { width: e, height: i })) ? d : u;
|
|
404
404
|
}, null);
|
|
405
405
|
}
|
|
406
406
|
var h = [];
|
|
@@ -480,7 +480,7 @@ function Ee(t) {
|
|
|
480
480
|
var l = b(s);
|
|
481
481
|
return a = { height: l > o ? s.height : s.width / o, width: l > o ? s.height * o : s.width }, { left: s.width / 2 - a.width / 2, top: s.height / 2 - a.height / 2, width: a.width, height: a.height };
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function K(t, e) {
|
|
484
484
|
return Qt(t, H(e));
|
|
485
485
|
}
|
|
486
486
|
function Ce(t) {
|
|
@@ -488,8 +488,8 @@ function Ce(t) {
|
|
|
488
488
|
l = x(l, { left: c.left || 0, top: c.top || 0 });
|
|
489
489
|
var g = { stencil: { minimum: Math.max(o.minWidth ? o.minWidth / u.width : 0, o.minHeight ? o.minHeight / u.height : 0), maximum: Math.min(o.maxWidth ? o.maxWidth / u.width : 1 / 0, o.maxHeight ? o.maxHeight / u.height : 1 / 0, Y(u, a)) }, area: { maximum: Y(l, n({ visibleArea: l, type: "resize" })) } };
|
|
490
490
|
r.factor && p && (r.factor < 1 ? (f = Math.max(r.factor, g.stencil.minimum)) > 1 && (f = 1) : r.factor > 1 && (f = Math.min(r.factor, Math.min(g.area.maximum, g.stencil.maximum))) < 1 && (f = 1)), f && (l = W(l, f, r.center));
|
|
491
|
-
var E = i.left - s.left,
|
|
492
|
-
return l = S(l = x(l, N(l, { left: a.left !== void 0 ? a.left - E * f : void 0, top: a.top !== void 0 ? a.top - _ * f : void 0, bottom: a.bottom !== void 0 ? a.bottom + G * f : void 0, right: a.right !== void 0 ? a.right +
|
|
491
|
+
var E = i.left - s.left, j = s.width + s.left - (i.width + i.left), _ = i.top - s.top, G = s.height + s.top - (i.height + i.top);
|
|
492
|
+
return l = S(l = x(l, N(l, { left: a.left !== void 0 ? a.left - E * f : void 0, top: a.top !== void 0 ? a.top - _ * f : void 0, bottom: a.bottom !== void 0 ? a.bottom + G * f : void 0, right: a.right !== void 0 ? a.right + j * f : void 0 })), n({ visibleArea: l, type: "move" })), u.width = u.width * f, u.height = u.height * f, u.left = l.left + E * f, u.top = l.top + _ * f, u = S(u, at(H(l), a)), r.factor && p && h && (r.factor > 1 ? d = Math.min(g.area.maximum, r.factor) / f : r.factor < 1 && (d = Math.max(u.height / l.height, u.width / l.width, r.factor / f)), d !== 1 && (l = x(l = S(l = W(l, d, r.factor > 1 ? r.center : M(u)), n({ visibleArea: l, type: "move" })), ot(N(u, H(l)))))), { coordinates: u, visibleArea: l };
|
|
493
493
|
}
|
|
494
494
|
function Te(t) {
|
|
495
495
|
var e = t.aspectRatio, i = t.getAreaRestrictions, s = t.coordinates, o = t.visibleArea, n = t.sizeRestrictions, a = t.positionRestrictions, h = t.imageSize, r = t.previousImageSize, c = t.angle, l = m({}, s), u = m({}, o), d = U(M(m({ left: 0, top: 0 }, r)), c);
|
|
@@ -503,7 +503,7 @@ function We(t) {
|
|
|
503
503
|
}
|
|
504
504
|
return { coordinates: r, visibleArea: c };
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Lt(t) {
|
|
507
507
|
var e = t.directions, i = t.coordinates, s = t.positionRestrictions, o = s === void 0 ? {} : s, n = t.sizeRestrictions, a = t.preserveRatio, h = t.compensate, r = m({}, e), c = D(i, r).width, l = D(i, r).height;
|
|
508
508
|
c < 0 && (r.left < 0 && r.right < 0 ? (r.left = -(i.width - n.minWidth) / (r.left / r.right), r.right = -(i.width - n.minWidth) / (r.right / r.left)) : r.left < 0 ? r.left = -(i.width - n.minWidth) : r.right < 0 && (r.right = -(i.width - n.minWidth))), l < 0 && (r.top < 0 && r.bottom < 0 ? (r.top = -(i.height - n.minHeight) / (r.top / r.bottom), r.bottom = -(i.height - n.minHeight) / (r.bottom / r.top)) : r.top < 0 ? r.top = -(i.height - n.minHeight) : r.bottom < 0 && (r.bottom = -(i.height - n.minHeight)));
|
|
509
509
|
var u = Z(D(i, r), o);
|
|
@@ -576,7 +576,7 @@ xt.render = function(t, e, i, s, o, n) {
|
|
|
576
576
|
return [R("div", { class: n.classes.root }, null, 2)];
|
|
577
577
|
}), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
578
578
|
};
|
|
579
|
-
var ut = O("vue-bounding-box"), He = ["east", "west", null],
|
|
579
|
+
var ut = O("vue-bounding-box"), He = ["east", "west", null], je = ["south", "north", null], Jt = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
|
|
580
580
|
return { eastNorth: !0, north: !0, westNorth: !0, west: !0, westSouth: !0, south: !0, eastSouth: !0, east: !0 };
|
|
581
581
|
} }, handlersComponent: { type: [Object, String], default: function() {
|
|
582
582
|
return St;
|
|
@@ -595,7 +595,7 @@ var ut = O("vue-bounding-box"), He = ["east", "west", null], Le = ["south", "nor
|
|
|
595
595
|
} }, resizable: { type: Boolean, default: !0 } }, data: function() {
|
|
596
596
|
var t = [];
|
|
597
597
|
return He.forEach(function(e) {
|
|
598
|
-
|
|
598
|
+
je.forEach(function(i) {
|
|
599
599
|
if (e !== i) {
|
|
600
600
|
var s = Xt(e, i), o = s.name, n = s.classname;
|
|
601
601
|
t.push({ name: o, classname: n, verticalDirection: i, horizontalDirection: e });
|
|
@@ -637,7 +637,7 @@ var ut = O("vue-bounding-box"), He = ["east", "west", null], Le = ["south", "nor
|
|
|
637
637
|
var s, o = t.shift(), n = o.left, a = o.top, h = { left: 0, right: 0, top: 0, bottom: 0 };
|
|
638
638
|
e === "west" ? h.left -= n : e === "east" && (h.right += n), i === "north" ? h.top -= a : i === "south" && (h.bottom += a), !i && e ? s = "width" : i && !e && (s = "height"), this.resizable && this.$emit("resize", new de(h, { allowedDirections: { left: e === "west" || !e, right: e === "east" || !e, bottom: i === "south" || !i, top: i === "north" || !i }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: s }));
|
|
639
639
|
} }, emits: ["resize", "resize-end"] };
|
|
640
|
-
|
|
640
|
+
Jt.render = function(t, e, i, s, o, n) {
|
|
641
641
|
return w(), y("div", { ref: "box", class: n.classes.root, style: n.style }, [B(t.$slots, "default"), R("div", null, [(w(!0), y(Et, null, Ct(n.lineNodes, function(a) {
|
|
642
642
|
return w(), y(nt(a.component), { key: a.name, "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, position: a.name, disabled: a.disabled, onDrag: function(h) {
|
|
643
643
|
return n.onHandlerDrag(h, a.horizontalDirection, a.verticalDirection);
|
|
@@ -652,8 +652,8 @@ Kt.render = function(t, e, i, s, o, n) {
|
|
|
652
652
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "horizontal-position", "vertical-position", "disabled", "onDrag"]))], 6);
|
|
653
653
|
}), 128))], 6);
|
|
654
654
|
};
|
|
655
|
-
var
|
|
656
|
-
return { default:
|
|
655
|
+
var Le = O("vue-draggable-area"), Kt = { name: "DraggableArea", props: { movable: { type: Boolean, default: !0 }, activationDistance: { type: Number, default: 20 } }, computed: { classnames: function() {
|
|
656
|
+
return { default: Le() };
|
|
657
657
|
} }, beforeMount: function() {
|
|
658
658
|
window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
|
|
659
659
|
}, beforeUnmount: function() {
|
|
@@ -690,7 +690,7 @@ var je = O("vue-draggable-area"), Jt = { name: "DraggableArea", props: { movable
|
|
|
690
690
|
}, processEnd: function() {
|
|
691
691
|
this.touches.length && this.$emit("move-end"), this.touches = [];
|
|
692
692
|
} }, emits: ["move", "move-end"] };
|
|
693
|
-
|
|
693
|
+
Kt.render = function(t, e, i, s, o, n) {
|
|
694
694
|
return w(), y("div", { ref: "container", onTouchstart: e[1] || (e[1] = function() {
|
|
695
695
|
return n.onTouchStart && n.onTouchStart.apply(n, arguments);
|
|
696
696
|
}), onMousedown: e[2] || (e[2] = function() {
|
|
@@ -748,9 +748,9 @@ function Be(t) {
|
|
|
748
748
|
r++;
|
|
749
749
|
}
|
|
750
750
|
if (n && (s = n + 10, function(f, p, g) {
|
|
751
|
-
var E,
|
|
752
|
-
for (E = p, g += p; E < g; E++)
|
|
753
|
-
return
|
|
751
|
+
var E, j = "";
|
|
752
|
+
for (E = p, g += p; E < g; E++) j += String.fromCharCode(f.getUint8(E));
|
|
753
|
+
return j;
|
|
754
754
|
}(i, n + 4, 4) === "Exif")) {
|
|
755
755
|
var c = i.getUint16(s);
|
|
756
756
|
if (((o = c === 18761) || c === 19789) && i.getUint16(s + 2, o) === 42) {
|
|
@@ -905,7 +905,7 @@ ne.render = function(t, e, i, s, o, n) {
|
|
|
905
905
|
var a = T("preview");
|
|
906
906
|
return w(), y(a, st(t.$attrs, { fill: !0 }), null, 16);
|
|
907
907
|
};
|
|
908
|
-
var ft = O("vue-rectangle-stencil"), se = { name: "RectangleStencil", components: { StencilPreview: ne, BoundingBox:
|
|
908
|
+
var ft = O("vue-rectangle-stencil"), se = { name: "RectangleStencil", components: { StencilPreview: ne, BoundingBox: Jt, DraggableArea: Kt }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
|
|
909
909
|
return St;
|
|
910
910
|
} }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
|
|
911
911
|
return xt;
|
|
@@ -943,7 +943,7 @@ se.render = function(t, e, i, s, o, n) {
|
|
|
943
943
|
}), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
944
944
|
}), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
|
|
945
945
|
};
|
|
946
|
-
var Ue = ["transitions"],
|
|
946
|
+
var Ue = ["transitions"], L = O("vue-advanced-cropper"), oe = { name: "Cropper", components: { BackgroundWrapper: zt }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
|
|
947
947
|
return se;
|
|
948
948
|
} }, backgroundWrapperComponent: { type: [Object, String], default: function() {
|
|
949
949
|
return zt;
|
|
@@ -958,7 +958,7 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
958
958
|
n.widthFrozen && (r.left = 0, r.right = 0), n.heightFrozen && (r.top = 0, r.bottom = 0), I.forEach(function(V) {
|
|
959
959
|
c[V] || (r[V] = 0);
|
|
960
960
|
});
|
|
961
|
-
var l = D(a, r =
|
|
961
|
+
var l = D(a, r = Lt({ coordinates: a, directions: r, sizeRestrictions: n, positionRestrictions: o })).width, u = D(a, r).height, d = h.preserveRatio ? b(a) : lt(l / u, s);
|
|
962
962
|
if (d) {
|
|
963
963
|
var f = h.respectDirection;
|
|
964
964
|
if (f || (f = a.width >= a.height || d === 1 ? "width" : "height"), f === "width") {
|
|
@@ -968,13 +968,13 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
968
968
|
r.bottom = tt(p, E, g), r.top = tt(p, g, E);
|
|
969
969
|
} else c.bottom ? r.bottom = p : c.top ? r.top = p : c.right ? r.right = 0 : c.left && (r.left = 0);
|
|
970
970
|
} else if (f === "height") {
|
|
971
|
-
var
|
|
971
|
+
var j = a.width - u * d;
|
|
972
972
|
if (c.left && c.right) {
|
|
973
973
|
var _ = r.left, G = r.right;
|
|
974
|
-
r.left = -tt(
|
|
975
|
-
} else c.left ? r.left = -
|
|
974
|
+
r.left = -tt(j, _, G), r.right = -tt(j, G, _);
|
|
975
|
+
} else c.left ? r.left = -j : c.right ? r.right = -j : c.top ? r.top = 0 : c.bottom && (r.bottom = 0);
|
|
976
976
|
}
|
|
977
|
-
r =
|
|
977
|
+
r = Lt({ directions: r, coordinates: a, sizeRestrictions: n, positionRestrictions: o, preserveRatio: !0, compensate: h.compensate });
|
|
978
978
|
}
|
|
979
979
|
return l = D(a, r).width, u = D(a, r).height, (d = h.preserveRatio ? b(a) : lt(l / u, s)) && Math.abs(d - l / u) > 1e-3 && I.forEach(function(V) {
|
|
980
980
|
c[V] || (r[V] = 0);
|
|
@@ -1022,7 +1022,7 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1022
1022
|
return { enabled: this.transitionsActive, timingFunction: "ease-in-out", time: 350 };
|
|
1023
1023
|
}, sizeRestrictions: function() {
|
|
1024
1024
|
if (this.boundaries.width && this.boundaries.height && this.imageSize.width && this.imageSize.height) {
|
|
1025
|
-
var t = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: A(this.minWidth) ? 0 :
|
|
1025
|
+
var t = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: A(this.minWidth) ? 0 : J(this.minWidth), minHeight: A(this.minHeight) ? 0 : J(this.minHeight), maxWidth: A(this.maxWidth) ? 1 / 0 : J(this.maxWidth), maxHeight: A(this.maxHeight) ? 1 / 0 : J(this.maxHeight) });
|
|
1026
1026
|
if (t = function(s) {
|
|
1027
1027
|
var o = s.areaRestrictions, n = s.sizeRestrictions, a = s.boundaries, h = s.positionRestrictions, r = m(m({}, n), { minWidth: n.minWidth !== void 0 ? n.minWidth : 0, minHeight: n.minHeight !== void 0 ? n.minHeight : 0, maxWidth: n.maxWidth !== void 0 ? n.maxWidth : 1 / 0, maxHeight: n.maxHeight !== void 0 ? n.maxHeight : 1 / 0 });
|
|
1028
1028
|
h.left !== void 0 && h.right !== void 0 && (r.maxWidth = Math.min(r.maxWidth, h.right - h.left)), h.bottom !== void 0 && h.top !== void 0 && (r.maxHeight = Math.min(r.maxHeight, h.bottom - h.top));
|
|
@@ -1038,7 +1038,7 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1038
1038
|
}, positionRestrictions: function() {
|
|
1039
1039
|
return this.positionRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction });
|
|
1040
1040
|
}, classes: function() {
|
|
1041
|
-
return { cropper:
|
|
1041
|
+
return { cropper: L(), image: z(L("image"), this.imageClass), stencil: L("stencil"), boundaries: z(L("boundaries"), this.boundariesClass), stretcher: z(L("stretcher")), background: z(L("background"), this.backgroundClass), foreground: z(L("foreground"), this.foregroundClass), imageWrapper: z(L("image-wrapper")), cropperWrapper: z(L("cropper-wrapper")) };
|
|
1042
1042
|
}, stencilCoordinates: function() {
|
|
1043
1043
|
if (this.initialized) {
|
|
1044
1044
|
var t = this.coordinates, e = t.width, i = t.height, s = t.left, o = t.top;
|
|
@@ -1119,7 +1119,7 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1119
1119
|
return this.roundResult ? function(e) {
|
|
1120
1120
|
var i = e.coordinates, s = e.sizeRestrictions, o = e.positionRestrictions, n = { width: Math.round(i.width), height: Math.round(i.height), left: Math.round(i.left), top: Math.round(i.top) };
|
|
1121
1121
|
return n.width > s.maxWidth ? n.width = Math.floor(i.width) : n.width < s.minWidth && (n.width = Math.ceil(i.width)), n.height > s.maxHeight ? n.height = Math.floor(i.height) : n.height < s.minHeight && (n.height = Math.ceil(i.height)), S(n, o);
|
|
1122
|
-
}(v(v({}, this.getPublicProperties()), {}, { positionRestrictions:
|
|
1122
|
+
}(v(v({}, this.getPublicProperties()), {}, { positionRestrictions: K(this.positionRestrictions, this.visibleArea), coordinates: t })) : t;
|
|
1123
1123
|
}, processAutoZoom: function(t, e, i, s) {
|
|
1124
1124
|
var o = this.autoZoomAlgorithm;
|
|
1125
1125
|
o || (o = this.stencilSize ? ze : this.autoZoom ? Re : Ae);
|
|
@@ -1174,7 +1174,7 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1174
1174
|
}, update: function() {
|
|
1175
1175
|
this.$emit("change", this.getResult());
|
|
1176
1176
|
}, applyTransform: function(t) {
|
|
1177
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], i = this.visibleArea && e ? we(this.sizeRestrictions, this.visibleArea) : this.sizeRestrictions, s = this.visibleArea && e ?
|
|
1177
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], i = this.visibleArea && e ? we(this.sizeRestrictions, this.visibleArea) : this.sizeRestrictions, s = this.visibleArea && e ? K(this.positionRestrictions, this.visibleArea) : this.positionRestrictions;
|
|
1178
1178
|
return ye({ transform: t, coordinates: this.coordinates, imageSize: this.imageSize, sizeRestrictions: i, positionRestrictions: s, aspectRatio: this.getAspectRatio(), visibleArea: this.visibleArea });
|
|
1179
1179
|
}, resetCoordinates: function() {
|
|
1180
1180
|
var t = this;
|
|
@@ -1313,13 +1313,13 @@ var Ue = ["transitions"], j = O("vue-advanced-cropper"), oe = { name: "Cropper",
|
|
|
1313
1313
|
}, onMove: function(t) {
|
|
1314
1314
|
var e = this;
|
|
1315
1315
|
this.transitionsOptions.enabled || this.awaitRender(function() {
|
|
1316
|
-
e.coordinates = e.moveAlgorithm(v(v({}, e.getPublicProperties()), {}, { positionRestrictions:
|
|
1316
|
+
e.coordinates = e.moveAlgorithm(v(v({}, e.getPublicProperties()), {}, { positionRestrictions: K(e.positionRestrictions, e.visibleArea), coordinates: e.coordinates, event: e.normalizeEvent(t) })), e.onChange();
|
|
1317
1317
|
});
|
|
1318
1318
|
}, onResize: function(t) {
|
|
1319
1319
|
var e = this;
|
|
1320
1320
|
this.transitionsOptions.enabled || this.stencilSize && !this.autoZoom || this.awaitRender(function() {
|
|
1321
1321
|
var i = e.sizeRestrictions, s = Math.min(e.coordinates.width, e.coordinates.height, 20 * e.coefficient);
|
|
1322
|
-
e.coordinates = e.resizeAlgorithm(v(v({}, e.getPublicProperties()), {}, { positionRestrictions:
|
|
1322
|
+
e.coordinates = e.resizeAlgorithm(v(v({}, e.getPublicProperties()), {}, { positionRestrictions: K(e.positionRestrictions, e.visibleArea), sizeRestrictions: { maxWidth: Math.min(i.maxWidth, e.visibleArea.width), maxHeight: Math.min(i.maxHeight, e.visibleArea.height), minWidth: Math.max(i.minWidth, s), minHeight: Math.max(i.minHeight, s) }, event: e.normalizeEvent(t) })), e.onChange(), e.ticking = !1;
|
|
1323
1323
|
});
|
|
1324
1324
|
}, onManipulateImage: function(t) {
|
|
1325
1325
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -1579,7 +1579,7 @@ function Ze(t, e, i, s, o, n) {
|
|
|
1579
1579
|
])
|
|
1580
1580
|
]);
|
|
1581
1581
|
}
|
|
1582
|
-
const
|
|
1582
|
+
const Je = /* @__PURE__ */ kt(qe, [["render", Ze], ["__scopeId", "data-v-714387c8"]]);
|
|
1583
1583
|
export {
|
|
1584
|
-
|
|
1584
|
+
Je as default
|
|
1585
1585
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as r } from "./mapFormMixin-
|
|
2
|
-
import { _ as c,
|
|
1
|
+
import { m as r } from "./mapFormMixin-CjfqZnmd.js";
|
|
2
|
+
import { _ as c, l as e, o as i, c as m, f as u, e as a } from "./main-C2Q8_T2Y.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
name: "NotBinding",
|
|
5
5
|
components: {
|
|
6
|
-
Edit: e(() => import("./ToggleBinding-
|
|
7
|
-
Read: e(() => import("./NotBindingText-
|
|
6
|
+
Edit: e(() => import("./ToggleBinding-CVZZlpBR.js")),
|
|
7
|
+
Read: e(() => import("./NotBindingText-DhndGZE3.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [r()]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as c } from "./mapFormMixin-
|
|
2
|
-
import { _ as u,
|
|
1
|
+
import { m as c } from "./mapFormMixin-CjfqZnmd.js";
|
|
2
|
+
import { _ as u, l as r, o as t, c as o, e as a } from "./main-C2Q8_T2Y.js";
|
|
3
3
|
const s = {
|
|
4
4
|
name: "ExtraWorkConstructionPricingList",
|
|
5
5
|
components: {
|
|
6
|
-
Read: r(() => import("./Index-
|
|
7
|
-
Edit: r(() => import("./Index-
|
|
6
|
+
Read: r(() => import("./Index-C-EUJjuk.js")),
|
|
7
|
+
Edit: r(() => import("./Index-COF0evH4.js"))
|
|
8
8
|
},
|
|
9
9
|
emits: ["input"],
|
|
10
10
|
mixins: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as D } from "./mapFormMixin-
|
|
2
|
-
import { C as S } from "./CSelect-
|
|
3
|
-
import { b as A } from "./CDropdownItem-
|
|
4
|
-
import { _ as U, e as v, o as u, b as p, d as h,
|
|
5
|
-
import { u as O } from "./index-
|
|
6
|
-
import { a as d } from "./index-
|
|
1
|
+
import { m as D } from "./mapFormMixin-CjfqZnmd.js";
|
|
2
|
+
import { C as S } from "./CSelect-CmoAbVkP.js";
|
|
3
|
+
import { b as A } from "./CDropdownItem-B5rgSee7.js";
|
|
4
|
+
import { _ as U, e as v, o as u, b as p, d as h, j as i, x as l, t as n, w as k, F as V, G as y, f, aC as E } from "./main-C2Q8_T2Y.js";
|
|
5
|
+
import { u as O } from "./index-B86TZXOh.js";
|
|
6
|
+
import { a as d } from "./index-BH5vwOzR.js";
|
|
7
7
|
const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 : !0, C = {
|
|
8
8
|
name: "ExtraWorkTimeImpactTextEdit",
|
|
9
9
|
i18nOptions: {
|
|
@@ -117,7 +117,7 @@ const $ = (t, e) => t ? E(e.workStartAt || /* @__PURE__ */ new Date(), t) >= 0 :
|
|
|
117
117
|
this.$emit("input", { key: e, value: void 0 });
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
}, T = { style: { position: "relative" } }, b = { key: 0 }, I = { class: "inline-form" }, F = ["value", "max"], M = ["value", "min"], _ = { value: "extend" }, q = { value: "shorten" }, B = ["value"],
|
|
120
|
+
}, T = { style: { position: "relative" } }, b = { key: 0 }, I = { class: "inline-form" }, F = ["value", "max"], M = ["value", "min"], _ = { value: "extend" }, q = { value: "shorten" }, B = ["value"], j = { value: "days" }, z = { value: "weeks" }, N = { value: "months" };
|
|
121
121
|
function L(t, e, w, a, s, m) {
|
|
122
122
|
const g = v("CSwitch"), c = v("CSelect");
|
|
123
123
|
return u(), p("div", T, [
|
|
@@ -191,9 +191,9 @@ function L(t, e, w, a, s, m) {
|
|
|
191
191
|
onBlur: e[6] || (e[6] = (o) => a.v$.timeUnit.$touch())
|
|
192
192
|
}, {
|
|
193
193
|
default: k(() => [
|
|
194
|
-
i("option",
|
|
195
|
-
i("option",
|
|
196
|
-
i("option",
|
|
194
|
+
i("option", j, n(t.$t("_common:day_other")), 1),
|
|
195
|
+
i("option", z, n(t.$t("_common:week_other")), 1),
|
|
196
|
+
i("option", N, n(t.$t("_common:month_other")), 1)
|
|
197
197
|
]),
|
|
198
198
|
_: 1
|
|
199
199
|
}, 8, ["modelValue", "placeholder"]),
|