@cling-se/widget 0.16.0 → 0.17.2
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-y-zhsVHD.js → AddClientCallout-TF4dWJwb.js} +4 -4
- package/dist/{AnswerModal-D_Xn8vYp.js → AnswerModal-CLHDa2TD.js} +218 -213
- package/dist/{AttachmentItem-B_QXPkQd.js → AttachmentItem-ICP5nbhT.js} +4 -4
- package/dist/{BaseDatePicker-9mWkLSes.js → BaseDatePicker-wwmiz_b5.js} +2 -2
- package/dist/{BaseUpload-BYr9ceyE.js → BaseUpload-CDZOjohX.js} +2 -2
- package/dist/{BlockMedia-B7df7mkZ.js → BlockMedia-D1JAYF9F.js} +1 -1
- package/dist/{CCallout-PpBctkYi.js → CCallout-dAjcZXrm.js} +1 -1
- package/dist/{CCurrencyDropdown-B4r3UK5p.js → CCurrencyDropdown-CKRgncWy.js} +3 -3
- package/dist/{CDropdownItem-D9qExYxr.js → CDropdownItem-CkSNbSdj.js} +1 -1
- package/dist/{CFormField-CAu3ko8B.js → CFormField-Dw6UM1u6.js} +1 -1
- package/dist/{CPhoneFormat-LZmpWJgi.js → CPhoneFormat-Bd-HZuYo.js} +1 -1
- package/dist/{CPhoneInput-ChuZrAQD.js → CPhoneInput-Dd6cJ4jg.js} +5 -5
- package/dist/{CPriceInput-COrol9j1.js → CPriceInput-CjV95s8E.js} +2 -2
- package/dist/{CSelect-kh9nf3qC.js → CSelect-izVnsQME.js} +1 -1
- package/dist/{CSkeleton-D_ixq6ml.js → CSkeleton-C0TjtLtY.js} +1 -1
- package/dist/{ClientAutocomplete-DHipi8vn.js → ClientAutocomplete-Cfu3abEx.js} +3 -3
- package/dist/{ClientModal-BowPWtr4.js → ClientModal-DjSoPQ9x.js} +7 -7
- package/dist/{ColorPicker-CzbXZiaY.js → ColorPicker-DZP6FIdn.js} +1 -1
- package/dist/{CompanyModal-B9YpDL-m.js → CompanyModal-BYQWdbhG.js} +6 -6
- package/dist/{ContentWrapper-DaZYO-TC.js → ContentWrapper-Bci9pSEp.js} +9 -10
- package/dist/{CoverBlockSettings-BVjSiXAC.js → CoverBlockSettings-wD55bj3k.js} +6 -6
- package/dist/{DocAnswer-D2wP2fWm.js → DocAnswer-B5q-ntKP.js} +2 -2
- package/dist/{DocDetails-BZ7Ra1DH.js → DocDetails-BQuaNZ4b.js} +4 -4
- package/dist/{DocForm-Bf9B4wgW.js → DocForm-QzZ5wqsS.js} +1052 -3339
- package/dist/{DocFormSend-CKgGNEXF.js → DocFormSend-CORtQPhb.js} +2 -2
- package/dist/{DocLinks-D62I0vCP.js → DocLinks-DZPzODUe.js} +2 -2
- package/dist/{DocModalBase-DPDXjuJL.js → DocModalBase-TTALjv6K.js} +1 -1
- package/dist/{DocPrint-RJ0CtTmm.js → DocPrint-BB-KT9ut.js} +1 -1
- package/dist/{DocReceipt-BibIkXtI.js → DocReceipt-CGks1GLS.js} +2 -2
- package/dist/{DocSendReminder-8mxaYS6a.js → DocSendReminder-BBQXJbsV.js} +1 -1
- package/dist/{DocTextEditor-CHSTTDb5.js → DocTextEditor-DFid7uKr.js} +8 -8
- package/dist/{DocTimeline-Pb2mDuSl.js → DocTimeline-4jnYDmBI.js} +2 -2
- package/dist/{DocumentClient-CBVMXCJk.js → DocumentClient-BAAX7Dxk.js} +5 -5
- package/dist/{DocumentLayout-C-wJE5eC.js → DocumentLayout-C4edCFmr.js} +7 -6
- package/dist/{DocumentLogotype-DweKx9A7.js → DocumentLogotype-i7YSQKcH.js} +4 -4
- package/dist/{DocumentVoided-yGVbvKRa.js → DocumentVoided-BvZoMFB_.js} +1 -1
- package/dist/{EmbedInput-Cjfd1wIG.js → EmbedInput-Bij7ER30.js} +3 -3
- package/dist/{EmbedSettings-CdKmydes.js → EmbedSettings-D0oyq4-9.js} +3 -3
- package/dist/{ErrorCallout-CcZpbmta.js → ErrorCallout-CsW3WTZp.js} +1 -1
- package/dist/{FilePreviewModal-Cud7184s.js → FilePreviewModal-Doaawg0l.js} +2 -2
- package/dist/{Flag-BNvniHuq.js → Flag-C4Mf2xUU.js} +1 -1
- package/dist/{HeaderSettings-BJsebJRd.js → HeaderSettings-DwZ54IsK.js} +21 -22
- package/dist/{ImageSelectModal-DLf_eWz1.js → ImageSelectModal-ClFJ5uXM.js} +3 -3
- package/dist/{ImageUploadWrapper-w5ZLifwQ.js → ImageUploadWrapper-DtEp_Pg3.js} +2 -2
- package/dist/{Index-CSpVwK6k.js → Index-2MwnGZ_4.js} +4 -4
- package/dist/{Index-CcPsAtze.js → Index-3CwdeytO.js} +5 -5
- package/dist/{Index-BMH-ouw7.js → Index-B-bSVOoh.js} +4 -4
- package/dist/{Index-D4-f7mTG.js → Index-BDyMp1ib.js} +7 -7
- package/dist/{Index-DY9Tntfh.js → Index-BMgtwHVA.js} +3 -3
- package/dist/{Index-VsRsMadr.js → Index-BTD3hWbY.js} +14 -17
- package/dist/{Index-uY0XMOKH.js → Index-BUbd06rz.js} +8 -8
- package/dist/{Index-DblXQyCy.js → Index-BWnh94_i.js} +2 -2
- package/dist/{Index-DYkN8zVO.js → Index-BdJbs8bM.js} +2 -2
- package/dist/{Index-C3yLVDgc.js → Index-Bv2XrpgK.js} +4 -4
- package/dist/{Index-BlJJ_Hyd.js → Index-BzcZCdHj.js} +2 -2
- package/dist/{Index-Cj7YINSC.js → Index-C00Ay-7P.js} +4 -4
- package/dist/{Index-Cf2bPdtB.js → Index-CHL_6WQH.js} +13 -17
- package/dist/{Index-BQLpCuiY.js → Index-CLyNrkJA.js} +1 -1
- package/dist/{Index-BKoxPM7Q.js → Index-CV57PvUE.js} +4 -4
- package/dist/{Index-B9C1WkCd.js → Index-CbYLDVU5.js} +3 -3
- package/dist/{Index-BDbonb6D.js → Index-Crj4apcP.js} +5 -5
- package/dist/{Index-B5iGQq9Y.js → Index-CryBgLTa.js} +7 -7
- package/dist/{Index-B83yprTa.js → Index-Cv33nreP.js} +4 -4
- package/dist/{Index-CiPhHgfu.js → Index-D0ErQJ2M.js} +33 -34
- package/dist/{Index-C-2vPFaj.js → Index-D8ZnVbsP.js} +4 -4
- package/dist/{Index-D_wcx3Of.js → Index-DPNIJewY.js} +4 -4
- package/dist/{Index-CRM1JC9P.js → Index-DVXhB0Ja.js} +4 -4
- package/dist/{Index-f9sVo8jx.js → Index-DWhQwxeB.js} +14 -18
- package/dist/{Index-DuO2f-vX.js → Index-DX7tomhl.js} +8 -8
- package/dist/{Index-BoHaA_xe.js → Index-D_AdmLWe.js} +13 -21
- package/dist/{Index-CF2U1V_D.js → Index-DgTQzlfK.js} +2 -2
- package/dist/{Index-BvvwWlpY.js → Index-DhapmO-4.js} +5 -5
- package/dist/{Index-DzR0bujJ.js → Index-DjC8joRt.js} +5 -5
- package/dist/{Index-P6z5RLSu.js → Index-Dv4l4LKF.js} +6 -6
- package/dist/{Index-BlFe_sVA.js → Index-EO0rsTmx.js} +49 -34
- package/dist/{Index-BDdcJgub.js → Index-TTFKPIIC.js} +28 -30
- package/dist/{Index-DwgpBl9r.js → Index-cT8oYfLR.js} +1 -1
- package/dist/{Index-0FsmqoRt.js → Index-igPwrQMu.js} +1 -1
- package/dist/{InputToggleRow-CJYPezZy.js → InputToggleRow-BgOubdXs.js} +1 -1
- package/dist/{ManualPopover-Cqoi2dQR.js → ManualPopover-8suun-i9.js} +1 -1
- package/dist/{MediaWrapper-5ArAcMau.js → MediaWrapper-BadblLbS.js} +3 -3
- package/dist/{NotBindingText-DdTbb3O4.js → NotBindingText-D8Blua5a.js} +2 -2
- package/dist/{PackageGroup-BTU_pglB.js → PackageGroup-BxmqH6qI.js} +6 -7
- package/dist/PdfTerms-C6MRk0Ix.js +31 -0
- package/dist/{PdfViewer-DG-MYtZa.js → PdfViewer-DUoiQx_1.js} +26 -17
- package/dist/{PlainHtml-SN-qLxLn.js → PlainHtml-DZ9V0Yuf.js} +1 -1
- package/dist/{PriceHeader-BWnpaBZ0.js → PriceHeader-C3_CoKrL.js} +11 -12
- package/dist/{SearchApi-BnxpIqz-.js → SearchApi-Bg9FwkW0.js} +29 -42
- package/dist/{SendForm-CrNnUYWp.js → SendForm-D-OvqCee.js} +11 -11
- package/dist/{Setup-BloDBZml.js → Setup-CwK4er2y.js} +1 -1
- package/dist/{SmartList-_z7XCf7a.js → SmartList-DofjZjfy.js} +1 -1
- package/dist/{TermsSettings-CtijshXK.js → TermsSettings-B4glHd0I.js} +5 -5
- package/dist/{ThemeColorRow-DThMA_v6.js → ThemeColorRow-BplIaxA2.js} +3 -3
- package/dist/{ToggleBinding-BXdn9i32.js → ToggleBinding-6ntt38Ye.js} +4 -4
- package/dist/{UploadModal-CMblLwJF.js → UploadModal-B6jQzsYA.js} +2 -2
- package/dist/{VideoPlayerInput-Dpan3me5.js → VideoPlayerInput-ryP77WC0.js} +4 -4
- package/dist/{VideoPlayerSettings-Dmmoz0nE.js → VideoPlayerSettings-DJh0JNRI.js} +2 -2
- package/dist/{VideoSelectModal-CrFgVTrD.js → VideoSelectModal-8udQ394X.js} +3 -3
- package/dist/{answerDocumentMixin-C13fhvoV.js → answerDocumentMixin-CF4J_vsp.js} +3 -3
- package/dist/{debounce-4B1-HP-3.js → debounce-CgyZi04Q.js} +1 -1
- package/dist/dom-Ds4ypDrd.js +72 -0
- package/dist/{focusDrawerMixin-CctNs3Uo.js → focusDrawerMixin-DVCJIsb_.js} +1 -1
- package/dist/{formDrawerState-DEg12QaL.js → formDrawerState-BYsq1pB0.js} +1 -1
- package/dist/{formValidationMixin-DXSTeLwK.js → formValidationMixin-Dq7aZhBk.js} +2 -2
- package/dist/{index-DfRihiRe.js → index-2Q8Ejpof.js} +7 -7
- package/dist/{index-4BD0nKeD.js → index-B5-izJkt.js} +1 -1
- package/dist/{index-CtLvzhen.js → index-BQb6k0M8.js} +6 -6
- package/dist/{index-BTvgCLOL.js → index-CR-KQfRE.js} +1 -1
- package/dist/{index-MnjQHyr1.js → index-CogHiXWx.js} +6 -6
- package/dist/{index-D7crCb7w.js → index-lZ1sSNWc.js} +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +1074 -1074
- package/dist/{main-DK3JrX1P.js → main-BpqUyMpC.js} +4689 -4743
- package/dist/mapFormMixin-rxtAFyFK.js +3028 -0
- package/dist/{omit-CqikFKvF.js → omit-C7FeydiO.js} +1 -1
- package/dist/{publicSenderState-DtdMgn5v.js → publicSenderState-C4cIGu3m.js} +1 -1
- package/dist/{simplebar.min-BEjSOYoR.js → simplebar.min-Dm388s-3.js} +1 -1
- package/dist/style.css +2 -2
- package/dist/{throttle-Bbw-Wnk7.js → throttle-CfcsX8nA.js} +2 -2
- package/dist/{tippy.esm-DQb1IUux.js → tippy.esm-C9mV-Rzr.js} +5 -5
- package/dist/{utils-DSw9IgIG.js → utils-CMs9ODO8.js} +1 -1
- package/dist/{vuedraggable.umd-kqbjGStS.js → vuedraggable.umd-CChGnToh.js} +1 -1
- package/package.json +1 -1
- package/dist/PdfTerms-CltyFwWM.js +0 -31
- package/dist/dom-CJxkno7i.js +0 -91
- package/dist/mapFormMixin-_bBfKoX9.js +0 -72
- package/dist/tinycolor-DxfarVSt.js +0 -633
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d
|
|
3
|
-
import { m as
|
|
4
|
-
const
|
|
1
|
+
import { p as u, f as h, i as f, n as m } from "./main-BpqUyMpC.js";
|
|
2
|
+
import { d } from "./debounce-CgyZi04Q.js";
|
|
3
|
+
import { m as p } from "./vuex.esm-DKGl8mcw.js";
|
|
4
|
+
const y = {
|
|
5
5
|
name: "SearchApi",
|
|
6
6
|
props: {
|
|
7
7
|
customSearch: {
|
|
@@ -13,14 +13,12 @@ const A = {
|
|
|
13
13
|
return {
|
|
14
14
|
defaultSearch: {
|
|
15
15
|
project: !0,
|
|
16
|
-
user: !0,
|
|
17
16
|
endCustomer: !1,
|
|
18
17
|
article: !1,
|
|
19
18
|
extensionArticle: !1,
|
|
20
19
|
// Articles in any authenticated CRM
|
|
21
20
|
document: !1
|
|
22
21
|
},
|
|
23
|
-
hasLoadedUsers: !1,
|
|
24
22
|
isLoading: !1,
|
|
25
23
|
emptyQuery: null,
|
|
26
24
|
// String to track last query that was empty, if a new query starts with this string we do not have to search again
|
|
@@ -29,8 +27,7 @@ const A = {
|
|
|
29
27
|
};
|
|
30
28
|
},
|
|
31
29
|
computed: {
|
|
32
|
-
...
|
|
33
|
-
allUsers: "companyUsers/all",
|
|
30
|
+
...p({
|
|
34
31
|
allAuthenticatedCRMs: "settings/allAuthenticatedCRMs",
|
|
35
32
|
can: "application/can"
|
|
36
33
|
}),
|
|
@@ -43,53 +40,43 @@ const A = {
|
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
42
|
methods: {
|
|
46
|
-
...g({
|
|
47
|
-
loadUsers: u.LOAD_COMPANY_USERS
|
|
48
|
-
}),
|
|
49
43
|
canFetchType(t) {
|
|
50
|
-
return t === "endCustomer" ? this.can("endCustomers", "read") :
|
|
44
|
+
return t === "endCustomer" ? this.can("endCustomers", "read") : !0;
|
|
51
45
|
},
|
|
52
46
|
async fetch({ query: t, start: s = null, end: a = null }) {
|
|
53
47
|
const e = this.typesToFetch.reduce(
|
|
54
|
-
(
|
|
48
|
+
(i, n) => ({ ...i, [n]: [] }),
|
|
55
49
|
{}
|
|
56
50
|
), r = t.toLowerCase();
|
|
57
51
|
if (this.emptyQuery && r && r.startsWith(this.emptyQuery) || (this.emptyQuery = null, this.hasSearchedAll = !0, !r))
|
|
58
52
|
return e;
|
|
59
53
|
try {
|
|
60
|
-
const
|
|
61
|
-
(this.typesToFetch || []).forEach((
|
|
62
|
-
|
|
54
|
+
const i = [], n = Object.keys(this.defaultSearch);
|
|
55
|
+
(this.typesToFetch || []).forEach((c) => {
|
|
56
|
+
n.includes(c) && i.push(
|
|
63
57
|
(async () => {
|
|
64
58
|
let o = [];
|
|
65
|
-
|
|
59
|
+
c === "document" ? o = await this.fetchDocuments(r, s, a) : c === "extensionArticle" ? o = await this.fetchExtensionArticles(r, s, a) : o = await this.fetchType(c, r, s, a), e[c] = o;
|
|
66
60
|
})()
|
|
67
61
|
);
|
|
68
|
-
}), await Promise.all(
|
|
62
|
+
}), await Promise.all(i);
|
|
69
63
|
} finally {
|
|
70
64
|
this.isLoading = !1;
|
|
71
65
|
}
|
|
72
66
|
return Object.keys(e).every(
|
|
73
|
-
(
|
|
67
|
+
(i) => e[i].length === 0
|
|
74
68
|
) && this.hasSearchedAll && (this.emptyQuery = r), e;
|
|
75
69
|
},
|
|
76
70
|
async fetchType(t, s, a, e) {
|
|
77
71
|
if (!this.canFetchType(t))
|
|
78
72
|
return [];
|
|
79
|
-
const { data: r } = await
|
|
73
|
+
const { data: r } = await u("search", {
|
|
80
74
|
type: t,
|
|
81
75
|
query: s,
|
|
82
76
|
...a !== null && e !== null && { start: a, end: e }
|
|
83
77
|
});
|
|
84
78
|
return r;
|
|
85
79
|
},
|
|
86
|
-
async fetchUsers(t, s, a) {
|
|
87
|
-
if (!this.canFetchType("user"))
|
|
88
|
-
return [];
|
|
89
|
-
this.hasLoadedUsers || (await this.loadUsers(), this.hasLoadedUsers = !0);
|
|
90
|
-
const r = Object.values(this.allUsers).filter((i) => !!(i.fullName && i.fullName.toLowerCase().includes(t) || i.email && i.email.toLowerCase().includes(t)));
|
|
91
|
-
return s !== null && a !== null ? r.slice(s, a) : r;
|
|
92
|
-
},
|
|
93
80
|
async fetchDocuments(t, s, a) {
|
|
94
81
|
const e = t.replace(/[-[\]{}()*+?.,\\/^$|#]/g, "\\$&"), r = {
|
|
95
82
|
$or: [
|
|
@@ -98,22 +85,22 @@ const A = {
|
|
|
98
85
|
{
|
|
99
86
|
clients: {
|
|
100
87
|
$elemMatch: {
|
|
101
|
-
$or: ["name", "email", "socialNo", "orgNo"].map((
|
|
102
|
-
[
|
|
88
|
+
$or: ["name", "email", "socialNo", "orgNo"].map((n) => ({
|
|
89
|
+
[n]: { $regex: e, $options: "i" }
|
|
103
90
|
}))
|
|
104
91
|
}
|
|
105
92
|
}
|
|
106
93
|
}
|
|
107
94
|
]
|
|
108
|
-
}, { data:
|
|
95
|
+
}, { data: l } = await h("/document", {
|
|
109
96
|
params: {
|
|
110
97
|
lean: !0,
|
|
111
98
|
filter: encodeURIComponent(JSON.stringify(r)),
|
|
112
99
|
fields: "clients,data.name,projectId,docNumber,createdAt",
|
|
113
100
|
...s !== null && a !== null && { skip: s, limit: a - s }
|
|
114
101
|
}
|
|
115
|
-
}), { items:
|
|
116
|
-
return
|
|
102
|
+
}), { items: i = [] } = l || {};
|
|
103
|
+
return i;
|
|
117
104
|
},
|
|
118
105
|
async fetchExtensionArticles(t) {
|
|
119
106
|
const s = [];
|
|
@@ -124,7 +111,7 @@ const A = {
|
|
|
124
111
|
this.hasSearchedAll = !1;
|
|
125
112
|
return;
|
|
126
113
|
}
|
|
127
|
-
const { data: e } = await
|
|
114
|
+
const { data: e } = await f.search(a, {
|
|
128
115
|
query: t,
|
|
129
116
|
type: "article"
|
|
130
117
|
});
|
|
@@ -134,10 +121,10 @@ const A = {
|
|
|
134
121
|
})
|
|
135
122
|
), s;
|
|
136
123
|
},
|
|
137
|
-
triggerSearch:
|
|
124
|
+
triggerSearch: d(async function({ q: s, cb: a, start: e, end: r }) {
|
|
138
125
|
this.isLoading = !0;
|
|
139
|
-
const
|
|
140
|
-
return this.isLoading = !1, a(
|
|
126
|
+
const l = await this.fetch({ query: s, start: e, end: r });
|
|
127
|
+
return this.isLoading = !1, a(l);
|
|
141
128
|
}, 500)
|
|
142
129
|
},
|
|
143
130
|
render() {
|
|
@@ -146,16 +133,16 @@ const A = {
|
|
|
146
133
|
isLoading: this.isLoading
|
|
147
134
|
});
|
|
148
135
|
}
|
|
149
|
-
},
|
|
150
|
-
var
|
|
136
|
+
}, g = null, A = null;
|
|
137
|
+
var S = /* @__PURE__ */ m(
|
|
138
|
+
y,
|
|
139
|
+
g,
|
|
151
140
|
A,
|
|
152
|
-
S,
|
|
153
|
-
w,
|
|
154
141
|
!1,
|
|
155
142
|
null,
|
|
156
143
|
null
|
|
157
144
|
);
|
|
158
|
-
const
|
|
145
|
+
const _ = S.exports;
|
|
159
146
|
export {
|
|
160
|
-
|
|
147
|
+
_ as S
|
|
161
148
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { m as d } from "./mapFormMixin-
|
|
2
|
-
import { I as S, a as w } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { B as f } from "./BaseDatePicker-
|
|
5
|
-
import { C as h, a as y, b as F } from "./CDropdownItem-
|
|
6
|
-
import { E as A } from "./ErrorCallout-
|
|
7
|
-
import { C as O, a as I } from "./ClientModal-
|
|
8
|
-
import { s as B } from "./simplebar.min-
|
|
1
|
+
import { m as d } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
+
import { I as S, a as w } from "./index-CogHiXWx.js";
|
|
3
|
+
import { aC as u, h as $, n as o, b as l, aD as b, v as k, z as D, aE as g, aF as M } from "./main-BpqUyMpC.js";
|
|
4
|
+
import { B as f } from "./BaseDatePicker-wwmiz_b5.js";
|
|
5
|
+
import { C as h, a as y, b as F } from "./CDropdownItem-CkSNbSdj.js";
|
|
6
|
+
import { E as A } from "./ErrorCallout-CsW3WTZp.js";
|
|
7
|
+
import { C as O, a as I } from "./ClientModal-DjSoPQ9x.js";
|
|
8
|
+
import { s as B } from "./simplebar.min-Dm388s-3.js";
|
|
9
9
|
import { b as P, m as c } from "./vuex.esm-DKGl8mcw.js";
|
|
10
|
-
import V from "./AddClientCallout-
|
|
10
|
+
import V from "./AddClientCallout-TF4dWJwb.js";
|
|
11
11
|
function _(n, e) {
|
|
12
12
|
const t = new Date(n.getTime());
|
|
13
13
|
return t.setDate(
|
|
@@ -974,7 +974,7 @@ var ve = function() {
|
|
|
974
974
|
e.setDeliveryMethod("sms", !1), e.setDeliveryMethod("email", !1), e._document.setDirty("isManualDelivery");
|
|
975
975
|
} } }) : e._e()], 1), !e.useSignOrder && !e.isManualDelivery ? t("div", { staticClass: "psuedo-input relative", attrs: { tabindex: "0" }, on: { click: e.openReminders } }, [t("div", { staticClass: "psuedo-input-label" }, [e._v(" " + e._s(e.$t("_common:reminder_plural").capitalize()) + " ")]), t("div", [e._v(" " + e._s(e.noOfReminders ? `${e.noOfReminders} ${e.$i18n.lang === "sv" ? e.$t("_common:unitType.unit") : ""}` : e.$t("_common:disabled").capitalize()) + " ")]), e.noOfReminders ? t("CButton", { staticClass: "absolute right-3 top-3", attrs: { icon: "x", size: "small", type: "none", pattern: "secondary" }, on: { click: function(r) {
|
|
976
976
|
r.preventDefault(), r.stopPropagation(), e.reminders = [];
|
|
977
|
-
} } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? t("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), t("div", { staticClass: "@md:px-8 @xl:px-16 px-4 pb-4" }, [e._t("send", function() {
|
|
977
|
+
} } }) : e._e()], 1) : e._e()], 1), e.clientsAreMissingContactInfo || (a = e.$v.isManualDelivery) != null && a.$invalid ? t("ErrorCallout", { attrs: { message: e.clientsAreMissingContactInfo ? e.$t("clientsAreMissingContactInfo") : e.$t("missingDeliveryMethod"), size: "small" } }) : e._e(), e._t("content")], 2)]), t("div", { staticClass: "@md:px-8 @xl:px-16 px-4 pb-4" }, [e._t("send-header"), e._t("send", function() {
|
|
978
978
|
return [t("IsPremiumPreStep", { attrs: { feature: "bankIdAndSms" }, scopedSlots: e._u([{ key: "default", fn: function({ onClick: r }) {
|
|
979
979
|
return [t("div", { staticClass: "flex" }, [e.showSave ? t("CButton", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.$t("_common:save", {
|
|
980
980
|
thing: e.$t("_common:document").toLowerCase()
|
|
@@ -1015,7 +1015,7 @@ var ve = function() {
|
|
|
1015
1015
|
ge,
|
|
1016
1016
|
!1,
|
|
1017
1017
|
null,
|
|
1018
|
-
"
|
|
1018
|
+
"7df6da42"
|
|
1019
1019
|
);
|
|
1020
1020
|
const De = fe.exports;
|
|
1021
1021
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as m, N as o, n as v } from "./main-
|
|
2
|
-
import { m as c } from "./mapFormMixin-
|
|
3
|
-
import { C as g } from "./CCallout-
|
|
4
|
-
import { C as p, a as u } from "./CDropdownItem-
|
|
5
|
-
import f from "./Index-
|
|
1
|
+
import { f as m, N as o, n as v } from "./main-BpqUyMpC.js";
|
|
2
|
+
import { m as c } from "./mapFormMixin-rxtAFyFK.js";
|
|
3
|
+
import { C as g } from "./CCallout-dAjcZXrm.js";
|
|
4
|
+
import { C as p, a as u } from "./CDropdownItem-CkSNbSdj.js";
|
|
5
|
+
import f from "./Index-Dv4l4LKF.js";
|
|
6
6
|
const h = {
|
|
7
7
|
i18nOptions: {
|
|
8
8
|
namespaces: "terms",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as n } from "./ColorPicker-
|
|
2
|
-
import { M as s } from "./ManualPopover-
|
|
1
|
+
import { C as n } from "./ColorPicker-DZP6FIdn.js";
|
|
2
|
+
import { M as s } from "./ManualPopover-8suun-i9.js";
|
|
3
3
|
import { h as a } from "./color-TdtKxwVa.js";
|
|
4
|
-
import { n as i } from "./main-
|
|
4
|
+
import { n as i } from "./main-BpqUyMpC.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "ThemeColorRow",
|
|
7
7
|
components: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as i } from "./mapFormMixin-
|
|
2
|
-
import { I as t } from "./InputToggleRow-
|
|
3
|
-
import { b as s } from "./CDropdownItem-
|
|
4
|
-
import { n as a } from "./main-
|
|
1
|
+
import { m as i } from "./mapFormMixin-rxtAFyFK.js";
|
|
2
|
+
import { I as t } from "./InputToggleRow-BgOubdXs.js";
|
|
3
|
+
import { b as s } from "./CDropdownItem-CkSNbSdj.js";
|
|
4
|
+
import { n as a } from "./main-BpqUyMpC.js";
|
|
5
5
|
const r = {
|
|
6
6
|
name: "ToggleBinding",
|
|
7
7
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as l, h as o, O as c, n as d } from "./main-
|
|
2
|
-
import m from "./Index-
|
|
1
|
+
import { f as l, h as o, O as c, n as d } from "./main-BpqUyMpC.js";
|
|
2
|
+
import m from "./Index-DgTQzlfK.js";
|
|
3
3
|
import { m as p } from "./vuex.esm-DKGl8mcw.js";
|
|
4
4
|
const u = {
|
|
5
5
|
i18nOptions: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as a } from "./CFormField-
|
|
2
|
-
import { d as l } from "./debounce-
|
|
3
|
-
import { v as r } from "./utils-
|
|
4
|
-
import { n } from "./main-
|
|
1
|
+
import { C as a } from "./CFormField-Dw6UM1u6.js";
|
|
2
|
+
import { d as l } from "./debounce-CgyZi04Q.js";
|
|
3
|
+
import { v as r } from "./utils-CMs9ODO8.js";
|
|
4
|
+
import { n } from "./main-BpqUyMpC.js";
|
|
5
5
|
const o = {
|
|
6
6
|
name: "VideoPlayerInput",
|
|
7
7
|
i18nOptions: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import h from "./VideoPlayerInput-
|
|
2
|
-
import { B as v, a as g } from "./index-
|
|
3
|
-
import { c as y, n as x, q as _ } from "./main-
|
|
1
|
+
import h from "./VideoPlayerInput-ryP77WC0.js";
|
|
2
|
+
import { B as v, a as g } from "./index-2Q8Ejpof.js";
|
|
3
|
+
import { c as y, n as x, q as _ } from "./main-BpqUyMpC.js";
|
|
4
4
|
const V = y.pexels.id, w = {
|
|
5
5
|
name: "VideoSelectModal",
|
|
6
6
|
i18nOptions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as a } from "./CDropdownItem-
|
|
2
|
-
import { b as r } from "./main-
|
|
1
|
+
import { w as a } from "./CDropdownItem-CkSNbSdj.js";
|
|
2
|
+
import { b as r } from "./main-BpqUyMpC.js";
|
|
3
3
|
const m = ({ documentKey: s = "document" } = {}) => ({
|
|
4
4
|
mixins: [a],
|
|
5
5
|
inject: {
|
|
@@ -23,7 +23,7 @@ const m = ({ documentKey: s = "document" } = {}) => ({
|
|
|
23
23
|
const e = r(this, s);
|
|
24
24
|
if (!e || e.isPreview || !(t === "decline" ? !0 : this.isValid()))
|
|
25
25
|
return;
|
|
26
|
-
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-
|
|
26
|
+
const o = this.mq === "sm" ? "100%" : "auto", n = () => import("./AnswerModal-CLHDa2TD.js");
|
|
27
27
|
this.$modal.show(
|
|
28
28
|
n,
|
|
29
29
|
{
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const l = {}, f = {};
|
|
2
|
+
function p(t) {
|
|
3
|
+
if (f[t])
|
|
4
|
+
return;
|
|
5
|
+
if (l[t])
|
|
6
|
+
return l[t];
|
|
7
|
+
const o = new Promise((e, s) => {
|
|
8
|
+
const n = document.createElement("script");
|
|
9
|
+
t.endsWith(".mjs") && (n.type = "module");
|
|
10
|
+
const i = window.setTimeout(() => {
|
|
11
|
+
l[t] = null, s(new Error(`Failed to load ${t} in 20s`));
|
|
12
|
+
}, 2e4);
|
|
13
|
+
n.onload = (a) => {
|
|
14
|
+
i && window.clearTimeout(i), f[t] = !0, l[t] = null, e();
|
|
15
|
+
}, n.onerror = (a) => {
|
|
16
|
+
i && window.clearTimeout(i), l[t] = null, s(a);
|
|
17
|
+
}, n.src = t, document.body.appendChild(n);
|
|
18
|
+
});
|
|
19
|
+
return l[t] = o, o;
|
|
20
|
+
}
|
|
21
|
+
function w(t) {
|
|
22
|
+
const o = t.getBoundingClientRect(), e = window.innerHeight || document.documentElement.clientHeight, s = window.innerWidth || document.documentElement.clientWidth, n = o.top <= e && o.top + o.height >= 0, i = o.left <= s && o.left + o.width >= 0;
|
|
23
|
+
return n && i;
|
|
24
|
+
}
|
|
25
|
+
const u = (t) => {
|
|
26
|
+
const o = /(auto|scroll)/, e = (r, c) => r.parentNode === null ? c : e(r.parentNode, c.concat([r])), s = (r, c) => getComputedStyle(r, null).getPropertyValue(c), n = (r) => s(r, "overflow") + s(r, "overflow-y") + s(r, "overflow-x"), i = (r) => o.test(n(r));
|
|
27
|
+
return ((r) => {
|
|
28
|
+
if (!(r instanceof HTMLElement || r instanceof SVGElement))
|
|
29
|
+
return null;
|
|
30
|
+
const c = e(r.parentNode, []);
|
|
31
|
+
for (let d = 0; d < c.length; d += 1)
|
|
32
|
+
if (i(c[d]))
|
|
33
|
+
return c[d];
|
|
34
|
+
return document.scrollingElement || document.documentElement;
|
|
35
|
+
})(t);
|
|
36
|
+
}, m = (t) => {
|
|
37
|
+
let o = 0;
|
|
38
|
+
for (; t; )
|
|
39
|
+
o += t.offsetTop, t = t.offsetParent;
|
|
40
|
+
return o;
|
|
41
|
+
};
|
|
42
|
+
function h(t, o) {
|
|
43
|
+
let e = t;
|
|
44
|
+
if (typeof e == "string" && (e = document.querySelector(e)), !u(e))
|
|
45
|
+
return;
|
|
46
|
+
const n = {
|
|
47
|
+
offset: 0,
|
|
48
|
+
behavior: "smooth",
|
|
49
|
+
body: u(e),
|
|
50
|
+
// custom option used for choosing parent scroll element
|
|
51
|
+
...o
|
|
52
|
+
}, i = m(e);
|
|
53
|
+
HTMLElement.prototype.scrollTo ? n.body.scrollTo({
|
|
54
|
+
behavior: n.behavior,
|
|
55
|
+
top: i - n.offset
|
|
56
|
+
}) : n.body.scrollTop = i - n.offset;
|
|
57
|
+
}
|
|
58
|
+
const g = (t) => {
|
|
59
|
+
var s;
|
|
60
|
+
const o = (s = t == null ? void 0 : t.getRootNode) == null ? void 0 : s.call(t), e = (o == null ? void 0 : o.toString()) === "[object ShadowRoot]";
|
|
61
|
+
return {
|
|
62
|
+
isShadow: e,
|
|
63
|
+
el: e ? o : document
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
u as a,
|
|
68
|
+
p as e,
|
|
69
|
+
g,
|
|
70
|
+
w as i,
|
|
71
|
+
h as s
|
|
72
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { F as n } from "./Flag-
|
|
2
|
-
import { w as o } from "./CDropdownItem-
|
|
3
|
-
import { n as a } from "./main-
|
|
4
|
-
import { i as c } from "./dom-
|
|
5
|
-
import { d } from "./debounce-
|
|
6
|
-
import { t as u } from "./throttle-
|
|
7
|
-
import { s as m } from "./simplebar.min-
|
|
1
|
+
import { F as n } from "./Flag-C4Mf2xUU.js";
|
|
2
|
+
import { w as o } from "./CDropdownItem-CkSNbSdj.js";
|
|
3
|
+
import { n as a } from "./main-BpqUyMpC.js";
|
|
4
|
+
import { i as c } from "./dom-Ds4ypDrd.js";
|
|
5
|
+
import { d } from "./debounce-CgyZi04Q.js";
|
|
6
|
+
import { t as u } from "./throttle-CfcsX8nA.js";
|
|
7
|
+
import { s as m } from "./simplebar.min-Dm388s-3.js";
|
|
8
8
|
const f = {
|
|
9
9
|
name: "BackgroundsModalList",
|
|
10
10
|
i18nOptions: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { w as m } from "./CDropdownItem-
|
|
2
|
-
import { n as o, M as f, S as v, g as i, h as l } from "./main-
|
|
1
|
+
import { w as m } from "./CDropdownItem-CkSNbSdj.js";
|
|
2
|
+
import { n as o, M as f, S as v, g as i, h as l } from "./main-BpqUyMpC.js";
|
|
3
3
|
import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
|
|
4
|
-
import { C as g } from "./CFormField-
|
|
5
|
-
import { B as u } from "./DocTextEditor-
|
|
6
|
-
import { v as r } from "./index-
|
|
7
|
-
import { S as x } from "./SmartList-
|
|
4
|
+
import { C as g } from "./CFormField-Dw6UM1u6.js";
|
|
5
|
+
import { B as u } from "./DocTextEditor-DFid7uKr.js";
|
|
6
|
+
import { v as r } from "./index-lZ1sSNWc.js";
|
|
7
|
+
import { S as x } from "./SmartList-DofjZjfy.js";
|
|
8
8
|
const C = {
|
|
9
9
|
mixins: [m],
|
|
10
10
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as d,
|
|
1
|
+
import { n as d, bp as F, b as v, bf as I, bq as J, br as K, bs as X, bt as tt, V as B, bu as et, $ as L, bv as rt, c as h, t as at, D as P, d as y, bw as nt, g as m, bx as b, L as x, v as it, by as st, bz as ot, bA as lt, bB as D, p as ct, h as H, I as E, bC as R, W as ut, bD as dt, aH as mt } from "./main-BpqUyMpC.js";
|
|
2
2
|
import { m as C, a as $, b as pt } from "./vuex.esm-DKGl8mcw.js";
|
|
3
3
|
import { a as u } from "./anime.es-BrPTThYb.js";
|
|
4
|
-
import { C as ft } from "./CFormField-
|
|
5
|
-
import { C as ht } from "./CSelect-
|
|
6
|
-
import { b as gt } from "./CDropdownItem-
|
|
4
|
+
import { C as ft } from "./CFormField-Dw6UM1u6.js";
|
|
5
|
+
import { C as ht } from "./CSelect-izVnsQME.js";
|
|
6
|
+
import { b as gt } from "./CDropdownItem-CkSNbSdj.js";
|
|
7
7
|
import { r as S } from "./regions-BdZt9Srn.js";
|
|
8
|
-
import { v as _ } from "./index-
|
|
9
|
-
import { a as yt } from "./dom-
|
|
8
|
+
import { v as _ } from "./index-lZ1sSNWc.js";
|
|
9
|
+
import { a as yt } from "./dom-Ds4ypDrd.js";
|
|
10
10
|
const vt = {
|
|
11
11
|
props: {
|
|
12
12
|
defaultOpen: {
|