@cling-se/widget 0.21.3 → 0.22.0
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 +16 -0
- package/dist/{AddClientCallout-CodlIQwE.js → AddClientCallout-CxbvK6ZG.js} +7 -7
- package/dist/{AnswerModal-J1UhMHpo.js → AnswerModal-vTetGwVn.js} +935 -651
- package/dist/{AttachmentItem-B0_8bPKy.js → AttachmentItem-DSHNRIq_.js} +9 -9
- package/dist/{BaseUpload-DuqbaH9l.js → BaseUpload-CWaM_bb7.js} +2 -2
- package/dist/{BlockMedia-Dy_--7Vj.js → BlockMedia-B1T85G4R.js} +9 -9
- package/dist/{CCallout-CmuwGNSi.js → CCallout-BieMmWa4.js} +5 -5
- package/dist/{CCurrencyDropdown-B8g2vrhq.js → CCurrencyDropdown-DKWtCUE_.js} +3 -3
- package/dist/{CDropdownItem-CM3Ir-XA.js → CDropdownItem-pNNH9fV3.js} +13 -13
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-C1P9Y9Tg.js → CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js} +14 -14
- package/dist/{CPhoneFormat-C0kGNp6W.js → CPhoneFormat-CyrQRGmd.js} +1 -1
- package/dist/{CPhoneInput-BUgER0Oa.js → CPhoneInput-BQHgpUCY.js} +5 -5
- package/dist/{CPriceInput-BQF9nkwR.js → CPriceInput-DnFN-I6p.js} +2 -2
- package/dist/{CSelect-H8jAu9Ae.js → CSelect-DB4-JxH8.js} +5 -5
- package/dist/{CSkeleton-C0XDwN9S.js → CSkeleton-DpRDxR6D.js} +7 -7
- package/dist/{ClientAutocomplete-BoNP8_4h.js → ClientAutocomplete-BjwvkuJ-.js} +19 -19
- package/dist/{ClientModal-DWFXbAOk.js → ClientModal-oBN2VSio.js} +138 -130
- package/dist/{ColorPicker-Bdwc47q6.js → ColorPicker-B5rSvXLV.js} +21 -21
- package/dist/{CompanyModal-CD6ojsz7.js → CompanyModal-QrsUL6Et.js} +13 -13
- package/dist/{ContentWrapper-Do4aBTL8.js → ContentWrapper-Yx-KMsfH.js} +22 -22
- package/dist/{CoverBlockSettings-4MmtvSy8.js → CoverBlockSettings-C8giTiEZ.js} +19 -19
- package/dist/{DocAnswer-CjwxDT6u.js → DocAnswer-Djyhwfrp.js} +2 -2
- package/dist/{DocDetails-BxIsdfgP.js → DocDetails-Dv6noPvB.js} +100 -94
- package/dist/{DocForm-CS9PFRi-.js → DocForm-BFHchJ6w.js} +24 -24
- package/dist/{DocFormSend-wzBPrCIU.js → DocFormSend-K2rbjklj.js} +2 -2
- package/dist/{DocLinks-DExm1cq-.js → DocLinks-DpUl89XR.js} +2 -2
- package/dist/{DocModalBase-CTtPx1oT.js → DocModalBase-BlTZ8CY3.js} +1 -1
- package/dist/{DocPrint-BlnW2EcE.js → DocPrint-Bmfl4Abk.js} +9 -9
- package/dist/{DocReceipt-CDyPZK5d.js → DocReceipt-3wi5YXqR.js} +111 -81
- package/dist/{DocSendReminder-yIYfJPSd.js → DocSendReminder-CHqgC_wM.js} +1 -1
- package/dist/{DocTextEditor-i_xyQACD.js → DocTextEditor-BGzwRwjt.js} +8 -8
- package/dist/{DocTimeline-p1JDm9-T.js → DocTimeline-BG7ldFgR.js} +12 -12
- package/dist/{DocumentClient-D_DZDXb4.js → DocumentClient-CLCAh4lI.js} +5 -5
- package/dist/{DocumentLayout-Q5yx_Q6I.js → DocumentLayout-DHSEYClM.js} +32 -32
- package/dist/{DocumentLogotype-BTLs13IJ.js → DocumentLogotype-0jH2-sr7.js} +8 -8
- package/dist/{DocumentVoided-DQ_dMdFP.js → DocumentVoided-BAS8mATO.js} +1 -1
- package/dist/{EmbedInput-DaMyfqJY.js → EmbedInput-DnSz1tbL.js} +18 -18
- package/dist/{EmbedSettings-Bc1eYQT0.js → EmbedSettings-BQ1kKupC.js} +5 -5
- package/dist/{ErrorCallout-DlQuu1rj.js → ErrorCallout-XMtdcNvE.js} +4 -4
- package/dist/{FilePreviewModal-BU9Sbe30.js → FilePreviewModal-Bv28RVrN.js} +20 -20
- package/dist/{Flag-CO6k_SbL.js → Flag-CcF7qtHi.js} +1 -1
- package/dist/{HeaderSettings-Dc7tbdZd.js → HeaderSettings-SKEJyM9y.js} +20 -20
- package/dist/{ImageSelectModal-d2IEg740.js → ImageSelectModal-BNXs_Rfh.js} +3 -3
- package/dist/{ImageUploadWrapper-B6hVAJaZ.js → ImageUploadWrapper-BmlB0qHZ.js} +23 -23
- package/dist/{Index-B2xKlEgp.js → Index-B1mvOHsr.js} +5 -5
- package/dist/{Index-CXEmMsr7.js → Index-B4EqZ9op.js} +8 -8
- package/dist/{Index-BJFdGM64.js → Index-B8soD6pI.js} +2 -2
- package/dist/{Index-C51ttD-V.js → Index-BDW4tvrc.js} +2 -2
- package/dist/{Index-m4JD2kLy.js → Index-BLC_eYvf.js} +2 -2
- package/dist/{Index-C7lZs4w7.js → Index-BNetDL7G.js} +4 -4
- package/dist/{Index-Br1Beh1t.js → Index-BRIv1n05.js} +4 -4
- package/dist/{Index-vj_4fW0L.js → Index-BS-ERsZ7.js} +28 -28
- package/dist/{Index-hTFQZ8P4.js → Index-BS1J5b8c.js} +3 -3
- package/dist/{Index-CIhXv9Vl.js → Index-B_R1p7cp.js} +1 -1
- package/dist/{Index-OOuia-Qn.js → Index-BbEj20KG.js} +13 -13
- package/dist/{Index-CRyXpadf.js → Index-Bd3gjqXz.js} +6 -6
- package/dist/{Index-FOlkhY4l.js → Index-Bxi4pinD.js} +3 -3
- package/dist/{Index-C8Vaj5ox.js → Index-Bz6vrP4D.js} +4 -4
- package/dist/{Index-CgUYpoRx.js → Index-C2Jql1QC.js} +16 -16
- package/dist/{Index-lrMaEM_k.js → Index-C6r2p8Qd.js} +7 -7
- package/dist/{Index-CpSQ5aXa.js → Index-C9k2n-HK.js} +4 -4
- package/dist/{Index--oU_6qkg.js → Index-CDdxLKdQ.js} +4 -4
- package/dist/{Index-BDxHSXUe.js → Index-CQSkYi57.js} +6 -6
- package/dist/{Index-BFFBTLqx.js → Index-CVoJGfTj.js} +5 -5
- package/dist/{Index-xaM6i_Ur.js → Index-CYjEFdMF.js} +2 -2
- package/dist/{Index-DqyAAbPV.js → Index-Ca6-XJ1q.js} +23 -23
- package/dist/{Index-Cyg7Cxb6.js → Index-CfpNMWEI.js} +5 -5
- package/dist/{Index-DmCgJ6-P.js → Index-Coef67Wb.js} +8 -8
- package/dist/{Index-CTR16GFI.js → Index-DRadSzmh.js} +11 -11
- package/dist/{Index-BlwNDGUd.js → Index-DU19comM.js} +14 -14
- package/dist/{Index-nspOYYbJ.js → Index-DquGwrE6.js} +11 -11
- package/dist/{Index-zwGVqaGe.js → Index-Dz3beMLO.js} +5 -5
- package/dist/{Index-DQ67Jdhz.js → Index-GmMgg4ZI.js} +10 -10
- package/dist/{Index-Bmv9uPyM.js → Index-LNHTL5EH.js} +1 -1
- package/dist/Index-Ra_-tX11.js +106 -0
- package/dist/Index-aOBMRrRj.js +4 -0
- package/dist/{Index-CP9Mwo6E.js → Index-ec9osPpw.js} +4 -4
- package/dist/{Index-4N9vyKBQ.js → Index-mcDMCki9.js} +30 -30
- package/dist/{Index.vue_vue_type_script_lang-C5astrcb.js → Index.vue_vue_type_script_lang-DOtAXSQl.js} +2 -2
- package/dist/{InputToggleRow-BBWZeA_f.js → InputToggleRow-DH7USYPf.js} +9 -9
- package/dist/{ManualPopover-DTwmTCPu.js → ManualPopover-JDRhdC8G.js} +3 -3
- package/dist/{MediaWrapper-Y0DGv4f8.js → MediaWrapper-DdbmCwGw.js} +3 -3
- package/dist/{NotBindingText-FUapTBAD.js → NotBindingText-CwV-MkgL.js} +2 -2
- package/dist/{PackageGroup-ChiyEDwB.js → PackageGroup-CH-8hyAF.js} +10 -10
- package/dist/{PdfTerms-CuQguFsD.js → PdfTerms-BBeN_k6I.js} +4 -4
- package/dist/{PdfViewer-Brnjp6OZ.js → PdfViewer-Du_M79jv.js} +27 -27
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-D5CY66LQ.js → PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js} +1 -1
- package/dist/{PriceHeader-DpCLCW93.js → PriceHeader-Be2QwWzs.js} +25 -25
- package/dist/{SearchApi-iBG9y8ZN.js → SearchApi-dNunyqch.js} +1 -1
- package/dist/{SendForm-CTd08c8d.js → SendForm-BIIwVZwY.js} +143 -130
- package/dist/{Setup-C2kYjDKF.js → Setup-DBbHXz4_.js} +1 -1
- package/dist/{SmartList-BBq3BgJi.js → SmartList-C2JUKK2W.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DyiB_0J-.js → Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js} +35 -35
- package/dist/{TermsSettings-Dj6sTbrm.js → TermsSettings-BZBWd3c9.js} +11 -11
- package/dist/{ThemeColorRow-BiwW-diz.js → ThemeColorRow-7KF7icN8.js} +5 -5
- package/dist/{ToggleBinding-JP15-Wvc.js → ToggleBinding-w8lNunzO.js} +4 -4
- package/dist/{UploadModal-zYfzZsGt.js → UploadModal-BRdimOyC.js} +2 -2
- package/dist/{VideoPlayerInput-zU6Kw9cw.js → VideoPlayerInput-BHmr7HvX.js} +6 -6
- package/dist/{VideoPlayerSettings-D7cfFYht.js → VideoPlayerSettings-fI8gpjks.js} +6 -6
- package/dist/{VideoSelectModal-CjOlhyNV.js → VideoSelectModal-Beq5yE0M.js} +9 -9
- package/dist/{focusDrawerMixin-C0aQjH6-.js → focusDrawerMixin-vhY6JO7g.js} +1 -1
- package/dist/{formDrawerState-CyABAApS.js → formDrawerState-ChHVYfc3.js} +1 -1
- package/dist/{fortnoxTheme-DQVyPRLl.js → fortnoxTheme-BGyYnb8i.js} +1 -1
- package/dist/{helpers-H5tqC2mD.js → helpers-Dw4CluFv.js} +1 -1
- package/dist/{index-EUYwyBFe.js → index-BUPqyA87.js} +6 -6
- package/dist/{index-77ik5EB2.js → index-BcnDsk0Z.js} +1 -1
- package/dist/{index-JV3eF8nv.js → index-C-tsPusW.js} +7 -7
- package/dist/{index-Ze_XZYbW.js → index-CPfrJsi9.js} +13 -13
- package/dist/{index-z_Lljo35.js → index-DJYVhEQt.js} +22 -22
- package/dist/{index-Cp5KfNdY.js → index-DihGX5od.js} +30 -30
- package/dist/{index-6-kWjuuL.js → index-syUJ22zc.js} +25 -28
- package/dist/index.es.js +3 -3
- package/dist/index.umd.js +140 -138
- package/dist/{main-BN-1fMb8.js → main-BBhJGb7I.js} +4908 -4635
- package/dist/{mapFormMixin-CM1I_eW_.js → mapFormMixin-CCKubywa.js} +2 -2
- package/dist/omit-Cdd54eFA.js +56 -0
- package/dist/{publicSenderState-BbL_iSL_.js → publicSenderState-LkIY-kEl.js} +1 -1
- package/dist/{splitpanes--dOqXPIb.js → splitpanes-nCfEUpmu.js} +1 -1
- package/dist/{template-BwkDoewU.js → template-B-Ds8x_U.js} +1 -1
- package/dist/{tippy.esm-BDnfKmn9.js → tippy.esm-DdYqbHFh.js} +66 -66
- package/dist/{useTermsModal-CmEHVDST.js → useTermsModal-Z_pZQ4H2.js} +4 -4
- package/dist/{utils-BVo-Ajwa.js → utils-C3tvmZHk.js} +1 -1
- package/dist/validation-CWxbj-wT.js +40 -0
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-C7fJuk6X.js +0 -4
- package/dist/Index-M2_bF0WP.js +0 -87
- package/dist/omit-D9nqAztq.js +0 -56
- package/dist/validation-BJw9_38H.js +0 -40
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ie, B as O, D as ce, E as P, G as A, r as S, H as de, I as h, J as g, k as B, p as M, K as $e, L as ve, M as z } from "./main-BBhJGb7I.js";
|
|
2
2
|
function H(t, a) {
|
|
3
3
|
var n = Object.keys(t);
|
|
4
4
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -305,10 +305,10 @@ function D(t) {
|
|
|
305
305
|
}) : n, y = w({}, g(l) || {}), F = h(() => {
|
|
306
306
|
const R = g(l);
|
|
307
307
|
return e ? R ? g(R[e]) : void 0 : R;
|
|
308
|
-
}),
|
|
308
|
+
}), k = Oe($, o, e, m, v, c, d, F, n), b = Ee(p, o, v, m, c, d, F), G = {};
|
|
309
309
|
r && Object.entries(r).forEach((R) => {
|
|
310
310
|
let [C, E] = R;
|
|
311
|
-
|
|
311
|
+
G[C] = {
|
|
312
312
|
$invalid: T(E, b, "$invalid"),
|
|
313
313
|
$error: T(E, b, "$error"),
|
|
314
314
|
$pending: T(E, b, "$pending"),
|
|
@@ -326,8 +326,8 @@ function D(t) {
|
|
|
326
326
|
$touch: I,
|
|
327
327
|
$reset: re,
|
|
328
328
|
$silentErrors: ae,
|
|
329
|
-
$commit:
|
|
330
|
-
} = we(
|
|
329
|
+
$commit: N
|
|
330
|
+
} = we(k, b, u), se = e ? h({
|
|
331
331
|
get: () => g(o),
|
|
332
332
|
set: (R) => {
|
|
333
333
|
V.value = !0;
|
|
@@ -343,7 +343,7 @@ function D(t) {
|
|
|
343
343
|
flush: "sync"
|
|
344
344
|
});
|
|
345
345
|
async function le() {
|
|
346
|
-
return I(), c.$rewardEarly && (
|
|
346
|
+
return I(), c.$rewardEarly && (N(), await z()), await z(), new Promise((R) => {
|
|
347
347
|
if (!L.value) return R(!x.value);
|
|
348
348
|
const C = P(L, () => {
|
|
349
349
|
R(!x.value), C();
|
|
@@ -358,7 +358,7 @@ function D(t) {
|
|
|
358
358
|
delete l[R];
|
|
359
359
|
}) : Object.assign(l, y);
|
|
360
360
|
}
|
|
361
|
-
return S(w(w(w({},
|
|
361
|
+
return S(w(w(w({}, k), {}, {
|
|
362
362
|
$model: se,
|
|
363
363
|
$dirty: V,
|
|
364
364
|
$error: ne,
|
|
@@ -371,11 +371,11 @@ function D(t) {
|
|
|
371
371
|
$path: v || Re,
|
|
372
372
|
$silentErrors: ae,
|
|
373
373
|
$validate: le,
|
|
374
|
-
$commit:
|
|
374
|
+
$commit: N
|
|
375
375
|
}, u && {
|
|
376
376
|
$getResultsForChild: ue,
|
|
377
377
|
$clearExternalResults: oe,
|
|
378
|
-
$validationGroups:
|
|
378
|
+
$validationGroups: G
|
|
379
379
|
}), b));
|
|
380
380
|
}
|
|
381
381
|
class be {
|
|
@@ -429,10 +429,10 @@ function Ce(t) {
|
|
|
429
429
|
s.value = s.value.filter(($) => $ !== v), delete e[v];
|
|
430
430
|
}
|
|
431
431
|
n.__vuelidateRemoveInstances = [].concat(n.__vuelidateRemoveInstances || [], i);
|
|
432
|
-
const d =
|
|
433
|
-
|
|
434
|
-
const l =
|
|
435
|
-
return
|
|
432
|
+
const d = B(K, []);
|
|
433
|
+
M(K, n.__vuelidateInjectInstances);
|
|
434
|
+
const l = B(U, []);
|
|
435
|
+
return M(U, n.__vuelidateRemoveInstances), {
|
|
436
436
|
childResults: u,
|
|
437
437
|
sendValidationResultsToParent: d,
|
|
438
438
|
removeValidationResultsFromParent: l
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as
|
|
2
|
-
import { w as
|
|
3
|
-
import { _ as b,
|
|
1
|
+
import { F as $ } from "./Flag-CcF7qtHi.js";
|
|
2
|
+
import { w as L } from "./CDropdownItem-pNNH9fV3.js";
|
|
3
|
+
import { _ as b, aU as S, aV as B, Y as E, a3 as R, b as a, d as i, o, j as n, f as h, ao as v, w as x, e as r, F as y, q as k, X as q, t as m, c as F, s as w, U as g } from "./main-BBhJGb7I.js";
|
|
4
4
|
import { i as P } from "./dom-DOcGU3-g.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
6
|
+
const z = {
|
|
7
7
|
name: "BackgroundsModalList",
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "backgroundsModalList",
|
|
@@ -20,10 +20,10 @@ const T = {
|
|
|
20
20
|
},
|
|
21
21
|
components: {
|
|
22
22
|
Simplebar: B,
|
|
23
|
-
Flag:
|
|
23
|
+
Flag: $
|
|
24
24
|
},
|
|
25
25
|
emits: ["select", "save"],
|
|
26
|
-
mixins: [
|
|
26
|
+
mixins: [L],
|
|
27
27
|
props: {
|
|
28
28
|
/**
|
|
29
29
|
* @param {Object} options Input arguments
|
|
@@ -97,7 +97,7 @@ const T = {
|
|
|
97
97
|
const s = this.query ? this.query : this.defaultQuery, { items: e, total: d } = await this.fetch({ query: s, page: this.page++ });
|
|
98
98
|
this.isLoading = !1, this.noOfResults = this.query ? d : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = d >= this.page * 12;
|
|
99
99
|
},
|
|
100
|
-
scrollHandler:
|
|
100
|
+
scrollHandler: S(async function() {
|
|
101
101
|
const e = this.listElements[this.listElements.length - 9 || 0];
|
|
102
102
|
e && P(e) && this.handleFetch();
|
|
103
103
|
}, 50),
|
|
@@ -115,13 +115,13 @@ const T = {
|
|
|
115
115
|
e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
},
|
|
118
|
+
}, H = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, N = { class: "relative flex w-full shrink-0 py-1" }, O = { style: { overflow: "hidden", flex: "1", height: "100%" } }, j = { style: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, T = ["onClick"], U = ["onMouseenterPassive", "onMouseleavePassive"], G = ["src"], Q = {
|
|
119
119
|
key: 1,
|
|
120
120
|
class: "select-wrapper"
|
|
121
|
-
}, D = { class: "photo__credit" },
|
|
121
|
+
}, D = { class: "photo__credit" }, X = {
|
|
122
122
|
class: "flex w-full items-center justify-center",
|
|
123
123
|
style: { padding: "2em 1em" }
|
|
124
|
-
},
|
|
124
|
+
}, Y = {
|
|
125
125
|
key: 1,
|
|
126
126
|
class: "flex w-full flex-col items-center justify-center text-gray-400"
|
|
127
127
|
}, A = {
|
|
@@ -131,11 +131,11 @@ const T = {
|
|
|
131
131
|
}, J = {
|
|
132
132
|
class: "flex w-full items-center justify-end",
|
|
133
133
|
style: { padding: "4px 4px 4px 8px", "flex-shrink": "0" }
|
|
134
|
-
}, K = { class: "flex-grow text-gray-400" },
|
|
134
|
+
}, K = { class: "flex-grow text-gray-400" }, W = { key: 0 };
|
|
135
135
|
function Z(s, e, d, C, t, c) {
|
|
136
|
-
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"),
|
|
137
|
-
return o(), i("div",
|
|
138
|
-
n("div",
|
|
136
|
+
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), V = a("CButton");
|
|
137
|
+
return o(), i("div", H, [
|
|
138
|
+
n("div", N, [
|
|
139
139
|
h(f, {
|
|
140
140
|
modelValue: t.query,
|
|
141
141
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => t.query = l),
|
|
@@ -149,13 +149,13 @@ function Z(s, e, d, C, t, c) {
|
|
|
149
149
|
}, ["stop"]))
|
|
150
150
|
}, null, 8, ["modelValue", "placeholder"])
|
|
151
151
|
]),
|
|
152
|
-
n("div",
|
|
152
|
+
n("div", O, [
|
|
153
153
|
h(M, {
|
|
154
154
|
ref: "scrollbar",
|
|
155
155
|
style: { width: "100%", height: "100%", padding: "3px 4px" }
|
|
156
156
|
}, {
|
|
157
157
|
default: x(() => [
|
|
158
|
-
n("div",
|
|
158
|
+
n("div", j, [
|
|
159
159
|
!t.items.length && t.isLoading ? (o(), i(y, { key: 0 }, k(12, (l) => n("div", {
|
|
160
160
|
ref_for: !0,
|
|
161
161
|
ref: "listElements",
|
|
@@ -188,14 +188,14 @@ function Z(s, e, d, C, t, c) {
|
|
|
188
188
|
], 40, U)) : r("", !0),
|
|
189
189
|
t.selectedIndex === u ? (o(), i("div", Q)) : r("", !0),
|
|
190
190
|
n("div", D, m(l.userName), 1)
|
|
191
|
-
], 12,
|
|
191
|
+
], 12, T))), 128))
|
|
192
192
|
]),
|
|
193
|
-
n("div",
|
|
193
|
+
n("div", X, [
|
|
194
194
|
t.isLoading ? (o(), F(p, {
|
|
195
195
|
key: 0,
|
|
196
196
|
type: "loader",
|
|
197
197
|
class: "rotateSpin"
|
|
198
|
-
})) : t.allowMoreResults ? r("", !0) : (o(), i("div",
|
|
198
|
+
})) : t.allowMoreResults ? r("", !0) : (o(), i("div", Y, [
|
|
199
199
|
n("div", null, m(s.$t("noMoreResults")), 1),
|
|
200
200
|
s.$i18n.lang !== "en" ? (o(), i("div", A, [
|
|
201
201
|
h(I, {
|
|
@@ -213,12 +213,12 @@ function Z(s, e, d, C, t, c) {
|
|
|
213
213
|
n("div", J, [
|
|
214
214
|
n("div", K, [
|
|
215
215
|
s.mq !== "sm" ? (o(), i(y, { key: 0 }, [
|
|
216
|
-
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div",
|
|
216
|
+
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div", W, m(s.$tc("_common:result", { count: t.noOfResults })), 1)) : r("", !0),
|
|
217
217
|
n("div", null, m(d.creditText), 1)
|
|
218
218
|
], 64)) : r("", !0)
|
|
219
219
|
]),
|
|
220
220
|
g(s.$slots, "footer", {}, () => [
|
|
221
|
-
h(
|
|
221
|
+
h(V, {
|
|
222
222
|
style: { "margin-left": "0.5em" },
|
|
223
223
|
type: "secondary",
|
|
224
224
|
onClick: c.onSave
|
|
@@ -232,7 +232,7 @@ function Z(s, e, d, C, t, c) {
|
|
|
232
232
|
])
|
|
233
233
|
]);
|
|
234
234
|
}
|
|
235
|
-
const ee = /* @__PURE__ */ b(
|
|
235
|
+
const ee = /* @__PURE__ */ b(z, [["render", Z], ["__scopeId", "data-v-3bdac00b"]]), se = {
|
|
236
236
|
name: "BackgroundsModal",
|
|
237
237
|
emits: ["close"]
|
|
238
238
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { B } from "./DocTextEditor-
|
|
5
|
-
import { u as J } from "./index-
|
|
6
|
-
import { r as
|
|
7
|
-
import { S as Q } from "./SmartList-
|
|
8
|
-
import { w as X } from "./CDropdownItem-
|
|
1
|
+
import { a8 as q, bh as I, B as V, b as r, d as f, c as g, J as w, o, j as i, e as C, U as $, ao as k, bi as B, w as p, T as N, _ as x, m as L, as as P, a as G, S as D, f as m, s as M, t as _, l as b, g as T, ar as O, W as U, F as z, q as R, y as j } from "./main-BBhJGb7I.js";
|
|
2
|
+
import { i as W } from "./DocumentLayout-DHSEYClM.js";
|
|
3
|
+
import { _ as H } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
4
|
+
import { B as A } from "./DocTextEditor-BGzwRwjt.js";
|
|
5
|
+
import { u as J } from "./index-CPfrJsi9.js";
|
|
6
|
+
import { r as F, m as K } from "./index-C-tsPusW.js";
|
|
7
|
+
import { S as Q } from "./SmartList-C2JUKK2W.js";
|
|
8
|
+
import { w as X } from "./CDropdownItem-pNNH9fV3.js";
|
|
9
9
|
const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */ q({
|
|
10
10
|
__name: "ContextModal",
|
|
11
11
|
props: {
|
|
@@ -20,11 +20,11 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
20
20
|
};
|
|
21
21
|
return (d, c) => {
|
|
22
22
|
const h = r("VDropdown");
|
|
23
|
-
return w(
|
|
23
|
+
return w(W) ? (o(), f("div", Y, [
|
|
24
24
|
i("div", { onClick: a }, [
|
|
25
25
|
$(d.$slots, "default", {}, void 0, !0)
|
|
26
26
|
]),
|
|
27
|
-
s.value ? (o(), g(
|
|
27
|
+
s.value ? (o(), g(B, {
|
|
28
28
|
key: 0,
|
|
29
29
|
to: w(u)
|
|
30
30
|
}, [
|
|
@@ -48,7 +48,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
48
48
|
}), {
|
|
49
49
|
popper: p(() => [
|
|
50
50
|
i("div", ee, [
|
|
51
|
-
s.value ? (o(), g(
|
|
51
|
+
s.value ? (o(), g(B, {
|
|
52
52
|
key: 0,
|
|
53
53
|
to: w(u)
|
|
54
54
|
}, [
|
|
@@ -67,7 +67,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
67
67
|
}, 16, ["placement", "shown"]));
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
}), se = /* @__PURE__ */
|
|
70
|
+
}), se = /* @__PURE__ */ x(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields: oe } = P({
|
|
71
71
|
getterType: "forms/getField",
|
|
72
72
|
mutationType: "forms/updateField"
|
|
73
73
|
}), ae = {
|
|
@@ -116,9 +116,9 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
116
116
|
},
|
|
117
117
|
name: "TextTemplatesForm",
|
|
118
118
|
components: {
|
|
119
|
-
BaseTextEditor:
|
|
119
|
+
BaseTextEditor: A,
|
|
120
120
|
Spinner: D,
|
|
121
|
-
CField:
|
|
121
|
+
CField: H
|
|
122
122
|
},
|
|
123
123
|
expose: ["canLeave"],
|
|
124
124
|
emits: ["close"],
|
|
@@ -147,11 +147,11 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
147
147
|
},
|
|
148
148
|
validations: {
|
|
149
149
|
name: {
|
|
150
|
-
required:
|
|
150
|
+
required: F,
|
|
151
151
|
maxLength: K(255)
|
|
152
152
|
},
|
|
153
153
|
textContent: {
|
|
154
|
-
required:
|
|
154
|
+
required: F
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
computed: {
|
|
@@ -189,7 +189,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
189
189
|
this.load(), this.predefinedTextContent && (this.textContent = this.predefinedTextContent);
|
|
190
190
|
},
|
|
191
191
|
methods: {
|
|
192
|
-
...
|
|
192
|
+
...L({
|
|
193
193
|
loadTemplate: T.LOAD_TEMPLATE_MESSAGE,
|
|
194
194
|
deleteTemplate: T.DELETE_TEMPLATE_MESSAGE,
|
|
195
195
|
formNewTemplate: T.FORM_NEW_TEMPLATE_MESSAGE,
|
|
@@ -288,7 +288,7 @@ function re(e, t, v, u, s, a) {
|
|
|
288
288
|
onClick: t[5] || (t[5] = (l) => a.validateBeforeSubmit())
|
|
289
289
|
}, {
|
|
290
290
|
default: p(() => [
|
|
291
|
-
|
|
291
|
+
M(_(e.$t("_common:save")), 1)
|
|
292
292
|
]),
|
|
293
293
|
_: 1
|
|
294
294
|
}, 8, ["loading", "disabled"]),
|
|
@@ -302,23 +302,23 @@ function re(e, t, v, u, s, a) {
|
|
|
302
302
|
onClick: t[6] || (t[6] = (l) => a.remove())
|
|
303
303
|
}, {
|
|
304
304
|
default: p(() => [
|
|
305
|
-
|
|
305
|
+
M(_(e.$t("_common:remove")), 1)
|
|
306
306
|
]),
|
|
307
307
|
_: 1
|
|
308
308
|
}, 8, ["loading"])) : C("", !0)
|
|
309
309
|
])) : C("", !0)
|
|
310
310
|
]);
|
|
311
311
|
}
|
|
312
|
-
const de = /* @__PURE__ */
|
|
312
|
+
const de = /* @__PURE__ */ x(ae, [["render", re], ["__scopeId", "data-v-28a504eb"]]), me = {
|
|
313
313
|
name: "TextTemplatesModal",
|
|
314
314
|
components: {
|
|
315
315
|
SmartList: Q,
|
|
316
|
-
BaseTextEditor:
|
|
316
|
+
BaseTextEditor: A
|
|
317
317
|
},
|
|
318
318
|
emits: ["select", "close"],
|
|
319
319
|
mixins: [X],
|
|
320
320
|
setup() {
|
|
321
|
-
return { viewContext:
|
|
321
|
+
return { viewContext: U };
|
|
322
322
|
},
|
|
323
323
|
data() {
|
|
324
324
|
return {
|
|
@@ -393,11 +393,11 @@ function Te(e, t, v, u, s, a) {
|
|
|
393
393
|
]),
|
|
394
394
|
i("div", ce, [
|
|
395
395
|
i("div", he, [
|
|
396
|
-
(o(!0), f(z, null,
|
|
396
|
+
(o(!0), f(z, null, R(l, (S, E) => (o(), f("div", {
|
|
397
397
|
key: S.id,
|
|
398
398
|
class: j([{ selected: E === s.selectedIndex }, "t-list-item w-full truncate"]),
|
|
399
399
|
onMouseoverPassive: () => s.selectedIndex = E,
|
|
400
|
-
onClick: (
|
|
400
|
+
onClick: (xe) => a.onSelect(l[s.selectedIndex].message || "")
|
|
401
401
|
}, _(S.name), 43, fe))), 128))
|
|
402
402
|
]),
|
|
403
403
|
e.mq !== "sm" ? (o(), f("div", ve, [
|
|
@@ -422,7 +422,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
422
422
|
size: "small"
|
|
423
423
|
}, {
|
|
424
424
|
default: p(() => [
|
|
425
|
-
|
|
425
|
+
M(_(e.$t("handle")) + " ", 1),
|
|
426
426
|
m(c, {
|
|
427
427
|
type: "new-window",
|
|
428
428
|
size: "16",
|
|
@@ -437,7 +437,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
437
437
|
onClick: a.openCreateModal
|
|
438
438
|
}, {
|
|
439
439
|
default: p(() => [
|
|
440
|
-
|
|
440
|
+
M(_(e.$t("create", { thing: e.$t("template") })), 1)
|
|
441
441
|
]),
|
|
442
442
|
_: 1
|
|
443
443
|
}, 8, ["onClick"])
|
|
@@ -448,7 +448,7 @@ function Te(e, t, v, u, s, a) {
|
|
|
448
448
|
_: 1
|
|
449
449
|
}, 8, ["items", "query"]);
|
|
450
450
|
}
|
|
451
|
-
const _e = /* @__PURE__ */
|
|
451
|
+
const _e = /* @__PURE__ */ x(me, [["render", Te], ["__scopeId", "data-v-7367885b"]]), ye = {
|
|
452
452
|
name: "TextTemplates",
|
|
453
453
|
components: {
|
|
454
454
|
ContextModal: se,
|
|
@@ -465,12 +465,12 @@ const _e = /* @__PURE__ */ M(me, [["render", Te], ["__scopeId", "data-v-7367885b
|
|
|
465
465
|
this.loadTemplateMessages();
|
|
466
466
|
},
|
|
467
467
|
methods: {
|
|
468
|
-
...
|
|
468
|
+
...L({
|
|
469
469
|
loadTemplateMessages: T.LOAD_TEMPLATE_MESSAGES
|
|
470
470
|
})
|
|
471
471
|
}
|
|
472
472
|
}, Se = { class: "t-list" }, $e = { class: "t-option main" };
|
|
473
|
-
function
|
|
473
|
+
function Me(e, t, v, u, s, a) {
|
|
474
474
|
const n = r("TextTemplatesModal"), d = r("ContextModal");
|
|
475
475
|
return o(), f("div", Se, [
|
|
476
476
|
m(d, {
|
|
@@ -494,7 +494,7 @@ function xe(e, t, v, u, s, a) {
|
|
|
494
494
|
}, 8, ["placement"])
|
|
495
495
|
]);
|
|
496
496
|
}
|
|
497
|
-
const qe = /* @__PURE__ */
|
|
497
|
+
const qe = /* @__PURE__ */ x(ye, [["render", Me]]);
|
|
498
498
|
export {
|
|
499
499
|
qe as default
|
|
500
500
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _, d, o as c, j as o, f as h,
|
|
1
|
+
import { _, d, o as c, j as o, f as h, U as H, w as f, e as k, X as ce, am as ue, b as v, t as l, s as g, de as ee, ag as V, df as Ce, dg as ke, dh as Pe, di as _e, dj as we, c_ as W, aE as X, dk as Se, i as T, u as R, m as Z, as as Te, a as B, ab as $e, g as x, dl as xe, z as $, a5 as de, y as N, v as D, F as S, q as L, x as Q, c as w, aj as Ie, ar as Ee, dm as Me, dn as Ve, dp as Le, W as He, ap as z, dq as U, dr as te, ds as ne, a7 as G, aC as Be, l as J, a0 as Fe, dt as Ue, cV as De, a8 as Oe, al as Re } from "./main-BBhJGb7I.js";
|
|
2
2
|
import { a as P } from "./anime.es-4wvNItHq.js";
|
|
3
|
-
import { _ as Ae } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { C as ze } from "./CSelect-
|
|
5
|
-
import { b as qe } from "./CDropdownItem-
|
|
3
|
+
import { _ as Ae } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
4
|
+
import { C as ze } from "./CSelect-DB4-JxH8.js";
|
|
5
|
+
import { b as qe } from "./CDropdownItem-pNNH9fV3.js";
|
|
6
6
|
import { r as q } from "./regions-BdZt9Srn.js";
|
|
7
7
|
import { a as me, i as pe } from "./validations-ohsJ5nBz.js";
|
|
8
|
-
import { u as je } from "./index-
|
|
9
|
-
import { s as Ne, a as Ze, n as Ye, c as We, r as Qe, e as Ge } from "./index-
|
|
8
|
+
import { u as je } from "./index-CPfrJsi9.js";
|
|
9
|
+
import { s as Ne, a as Ze, n as Ye, c as We, r as Qe, e as Ge } from "./index-C-tsPusW.js";
|
|
10
10
|
import { a as Ke } from "./dom-DOcGU3-g.js";
|
|
11
|
-
const
|
|
11
|
+
const Xe = {
|
|
12
12
|
props: {
|
|
13
13
|
defaultOpen: {
|
|
14
14
|
type: Boolean,
|
|
@@ -71,7 +71,7 @@ const Je = {
|
|
|
71
71
|
t.style.height = typeof e == "number" ? `${e}px` : e;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
},
|
|
74
|
+
}, Je = {
|
|
75
75
|
ref: "inner",
|
|
76
76
|
class: "c-accordion__inner"
|
|
77
77
|
};
|
|
@@ -95,7 +95,7 @@ function et(e, t, n, a, i, r) {
|
|
|
95
95
|
style: ce(r.wrapperStyle),
|
|
96
96
|
class: "c-accordion"
|
|
97
97
|
}, [
|
|
98
|
-
o("div",
|
|
98
|
+
o("div", Je, [
|
|
99
99
|
H(e.$slots, "default")
|
|
100
100
|
], 512)
|
|
101
101
|
], 4)) : k("", !0)
|
|
@@ -104,7 +104,7 @@ function et(e, t, n, a, i, r) {
|
|
|
104
104
|
}, 8, ["onEnter", "onAfterEnter", "onBeforeLeave", "onLeave"])
|
|
105
105
|
]);
|
|
106
106
|
}
|
|
107
|
-
const tt = /* @__PURE__ */ _(
|
|
107
|
+
const tt = /* @__PURE__ */ _(Xe, [["render", et]]), nt = {
|
|
108
108
|
name: "CalloutLegacy",
|
|
109
109
|
i18nOptions: {
|
|
110
110
|
namespaces: "components",
|
|
@@ -179,7 +179,7 @@ function ot(e, t, n, a, i, r) {
|
|
|
179
179
|
}, 8, ["to"])
|
|
180
180
|
]);
|
|
181
181
|
}
|
|
182
|
-
const he = /* @__PURE__ */ _(nt, [["render", ot]]), st = (e) =>
|
|
182
|
+
const he = /* @__PURE__ */ _(nt, [["render", ot]]), st = (e) => X.te(`errors:${e}`) && X.t(`errors:${e}`), lt = "stripe", {
|
|
183
183
|
LOAD_PRICES: re,
|
|
184
184
|
RESET_STRIPE_FORM: ct,
|
|
185
185
|
SET_STRIPE_FORM_VALUE: ut,
|
|
@@ -245,7 +245,6 @@ const he = /* @__PURE__ */ _(nt, [["render", ot]]), st = (e) => J.te(`errors:${e
|
|
|
245
245
|
getProduct: (e, t) => (n) => {
|
|
246
246
|
const a = {
|
|
247
247
|
fortnox: "Fortnox API"
|
|
248
|
-
// apiDocuments,
|
|
249
248
|
// sms,
|
|
250
249
|
// bankId,
|
|
251
250
|
};
|
|
@@ -766,7 +765,7 @@ const Ct = {
|
|
|
766
765
|
return n.src = `https://${t}`, n.id = "stripe-js", e && n.addEventListener("load", (i) => e(null, i), !1), a.parentNode.insertBefore(n, a), !0;
|
|
767
766
|
}, Pt = (e) => kt(() => {
|
|
768
767
|
window.$stripe = Stripe(T.stripe.publishableKey, {
|
|
769
|
-
locale:
|
|
768
|
+
locale: X.lang || "en"
|
|
770
769
|
}), typeof e == "function" && e();
|
|
771
770
|
}), ge = {
|
|
772
771
|
data() {
|
|
@@ -971,7 +970,6 @@ const Ct = {
|
|
|
971
970
|
document: "Documents",
|
|
972
971
|
sms: "SMS",
|
|
973
972
|
bankId: "BankId signatures",
|
|
974
|
-
apiDocument: "API-documents",
|
|
975
973
|
quotaIncluded: "Each month includes a quota of {{count}} per license.",
|
|
976
974
|
quotaExtra: "The cost for each additional one above your quota is {{cost}}."
|
|
977
975
|
},
|
|
@@ -1068,7 +1066,6 @@ const Ct = {
|
|
|
1068
1066
|
document: "Dokument",
|
|
1069
1067
|
sms: "SMS",
|
|
1070
1068
|
bankId: "BankId-signeringar",
|
|
1071
|
-
apiDocument: "API-dokument",
|
|
1072
1069
|
quotaIncluded: "Varje månad inkluderar en kvot om {{ count }} st per licens.",
|
|
1073
1070
|
quotaExtra: "Överskrider du din kvot så tillkommer en styckkostnad om {{ cost }}."
|
|
1074
1071
|
},
|
|
@@ -1328,7 +1325,7 @@ const Ct = {
|
|
|
1328
1325
|
}, Gt = ["textContent"], Kt = {
|
|
1329
1326
|
class: "flex w-full justify-between",
|
|
1330
1327
|
style: { "padding-bottom": "4px" }
|
|
1331
|
-
},
|
|
1328
|
+
}, Xt = { style: { "font-weight": "500", opacity: "0.7" } }, Jt = {
|
|
1332
1329
|
class: "text-right",
|
|
1333
1330
|
style: { opacity: "0.7" }
|
|
1334
1331
|
}, en = {
|
|
@@ -1392,7 +1389,7 @@ const Ct = {
|
|
|
1392
1389
|
}, An = ["href"], zn = ["href"], qn = {
|
|
1393
1390
|
key: 1,
|
|
1394
1391
|
class: "c-flex-row c-align-middle"
|
|
1395
|
-
}, jn = ["textContent"], Nn = { class: "anim-block p-block" }, Zn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, Yn = ["textContent"], Wn = { class: "list-button" }, Qn = ["textContent"], Gn = ["textContent"], Kn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } },
|
|
1392
|
+
}, jn = ["textContent"], Nn = { class: "anim-block p-block" }, Zn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, Yn = ["textContent"], Wn = { class: "list-button" }, Qn = ["textContent"], Gn = ["textContent"], Kn = { style: { "background-color": "white", "border-radius": "calc(0.5 * var(--rem))", padding: "calc(1 * var(--rem))" } }, Xn = ["textContent"], Jn = ["textContent"], er = { style: { padding: "0 calc(1 * var(--rem))" } }, tr = ["textContent"], nr = ["textContent"], rr = ["textContent"];
|
|
1396
1393
|
function ir(e, t, n, a, i, r) {
|
|
1397
1394
|
const s = v("CSwitch"), p = v("CButton"), u = v("CInput"), y = v("CField"), C = v("CIcon"), b = v("CSelect"), M = v("CCheckbox"), A = v("CAccordion"), F = v("modal"), O = de("tooltip");
|
|
1398
1395
|
return c(), d("div", Et, [
|
|
@@ -1479,8 +1476,8 @@ function ir(e, t, n, a, i, r) {
|
|
|
1479
1476
|
])) : k("", !0),
|
|
1480
1477
|
e.formPrices.vatAmount ? (c(), d(S, { key: 1 }, [
|
|
1481
1478
|
o("div", Kt, [
|
|
1482
|
-
o("div",
|
|
1483
|
-
o("div",
|
|
1479
|
+
o("div", Xt, l(e.$t("_common:vat.vat").capitalize()), 1),
|
|
1480
|
+
o("div", Jt, l(r.priceFormat(e.formPrices.vatAmount, { currency: r.currency })), 1)
|
|
1484
1481
|
]),
|
|
1485
1482
|
o("div", en, [
|
|
1486
1483
|
o("div", tn, l(e.$t("_common:vat.incVat", {
|
|
@@ -1932,11 +1929,11 @@ function ir(e, t, n, a, i, r) {
|
|
|
1932
1929
|
o("div", {
|
|
1933
1930
|
style: { "font-size": "calc(1.5 * var(--rem))", "font-weight": "600", padding: "calc(1 * var(--rem))" },
|
|
1934
1931
|
textContent: l(e.$t("reasonableUse.title"))
|
|
1935
|
-
}, null, 8,
|
|
1932
|
+
}, null, 8, Xn),
|
|
1936
1933
|
o("div", {
|
|
1937
1934
|
style: { "font-size": "15px", opacity: "0.75", padding: "0 calc(1 * var(--rem)) calc(2 * var(--rem))" },
|
|
1938
1935
|
textContent: l(e.$t("reasonableUse.text", { brand: e.$t("_common:brand.name") }))
|
|
1939
|
-
}, null, 8,
|
|
1936
|
+
}, null, 8, Jn),
|
|
1940
1937
|
o("div", er, [
|
|
1941
1938
|
(c(!0), d(S, null, L(r.reasonableUseQuotas, (m, E) => (c(), d("div", {
|
|
1942
1939
|
key: E,
|
|
@@ -1963,7 +1960,7 @@ function ir(e, t, n, a, i, r) {
|
|
|
1963
1960
|
})
|
|
1964
1961
|
]);
|
|
1965
1962
|
}
|
|
1966
|
-
const ar = /* @__PURE__ */ _(It, [["render", ir], ["__scopeId", "data-v-
|
|
1963
|
+
const ar = /* @__PURE__ */ _(It, [["render", ir], ["__scopeId", "data-v-b3f95f51"]]), or = {
|
|
1967
1964
|
name: "PremiumStripeSelect",
|
|
1968
1965
|
i18nOptions: {
|
|
1969
1966
|
namespaces: "premiumStripeSelect",
|
|
@@ -2811,7 +2808,7 @@ const ve = /* @__PURE__ */ _(Rr, [["render", Ar]]), zr = {
|
|
|
2811
2808
|
}, qr = { class: "root font-inter" }, jr = { class: "lock-wrapper has-text-white" }, Nr = { style: { width: "100%" } }, Zr = { class: "flex items-center justify-center" }, Yr = { class: "badge-premium" }, Wr = { style: { "text-align": "center" } }, Qr = { class: "title" }, Gr = { class: "sub-title" }, Kr = {
|
|
2812
2809
|
key: 0,
|
|
2813
2810
|
style: { "margin-top": "calc(2 * var(--rem))" }
|
|
2814
|
-
},
|
|
2811
|
+
}, Xr = { style: { "margin-top": "calc(2 * var(--rem))" } }, Jr = { style: { "margin-top": "5px" } };
|
|
2815
2812
|
function ei(e, t, n, a, i, r) {
|
|
2816
2813
|
const s = v("CIcon"), p = v("CalloutLegacy"), u = v("CButton"), y = v("IsPremium");
|
|
2817
2814
|
return c(), d("div", qr, [
|
|
@@ -2835,7 +2832,7 @@ function ei(e, t, n, a, i, r) {
|
|
|
2835
2832
|
H(e.$slots, "content", {}, void 0, !0)
|
|
2836
2833
|
])) : k("", !0)
|
|
2837
2834
|
]),
|
|
2838
|
-
o("div",
|
|
2835
|
+
o("div", Xr, [
|
|
2839
2836
|
h(y, null, {
|
|
2840
2837
|
default: f(({ openUpgradeModal: C, isLegacy: b, showCalloutConvertStripe: M }) => [
|
|
2841
2838
|
o("div", null, [
|
|
@@ -2861,7 +2858,7 @@ function ei(e, t, n, a, i, r) {
|
|
|
2861
2858
|
]),
|
|
2862
2859
|
_: 3
|
|
2863
2860
|
}),
|
|
2864
|
-
o("div",
|
|
2861
|
+
o("div", Jr, [
|
|
2865
2862
|
h(u, {
|
|
2866
2863
|
type: "none",
|
|
2867
2864
|
pattern: "tertiary",
|
|
@@ -3062,7 +3059,7 @@ const ci = /* @__PURE__ */ _(si, [["render", li]]), ui = {
|
|
|
3062
3059
|
try {
|
|
3063
3060
|
Fe("/documentLimitReached", {});
|
|
3064
3061
|
} catch (e) {
|
|
3065
|
-
|
|
3062
|
+
J(e, { showMessage: !1 });
|
|
3066
3063
|
}
|
|
3067
3064
|
},
|
|
3068
3065
|
async mounted() {
|
|
@@ -3101,7 +3098,7 @@ const ci = /* @__PURE__ */ _(si, [["render", li]]), ui = {
|
|
|
3101
3098
|
this.$t("voucherSuccessMessage", { count: this.voucherDocCount })
|
|
3102
3099
|
), this.onUpgrade && typeof this.onUpgrade == "function" && this.onUpgrade(), this.$emit("close");
|
|
3103
3100
|
} catch (e) {
|
|
3104
|
-
|
|
3101
|
+
J(e);
|
|
3105
3102
|
} finally {
|
|
3106
3103
|
this.isLoading = !1;
|
|
3107
3104
|
}
|
|
@@ -3226,7 +3223,7 @@ const gi = /* @__PURE__ */ _(ui, [["render", fi]]), yi = {
|
|
|
3226
3223
|
"Cannot upgrade license as current paymentMethod is not valid"
|
|
3227
3224
|
);
|
|
3228
3225
|
} catch (n) {
|
|
3229
|
-
|
|
3226
|
+
J(n);
|
|
3230
3227
|
}
|
|
3231
3228
|
t && await e();
|
|
3232
3229
|
},
|