@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,15 +1,15 @@
|
|
|
1
|
-
import { C as W } from "./ClientAutocomplete-
|
|
2
|
-
import { _ as
|
|
3
|
-
import { w as E, C as te, a as oe } from "./CDropdownItem-
|
|
4
|
-
import { _ as
|
|
5
|
-
import { C as
|
|
1
|
+
import { C as W } from "./ClientAutocomplete-BjwvkuJ-.js";
|
|
2
|
+
import { _ as z, b7 as j, d as g, o as p, v as L, j as i, b8 as H, ao as N, y, U as Z, aj as G, a as B, as as P, ab as K, a7 as J, b as f, f as a, c as b, e as v, t as r, w as l, F, q as I, s as C, m as Y, ar as Q, ag as k, aH as X, b9 as _, g as q, z as x, i as ee } from "./main-BBhJGb7I.js";
|
|
3
|
+
import { w as E, C as te, a as oe } from "./CDropdownItem-pNNH9fV3.js";
|
|
4
|
+
import { _ as ae } from "./CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js";
|
|
5
|
+
import { C as le } from "./CPhoneInput-BQHgpUCY.js";
|
|
6
6
|
import { i as V, a as A } from "./validations-ohsJ5nBz.js";
|
|
7
|
-
import { u as ne } from "./index-
|
|
8
|
-
import { a as $, r as ie, e as se } from "./index-
|
|
9
|
-
import { o as re } from "./omit-
|
|
7
|
+
import { u as ne } from "./index-CPfrJsi9.js";
|
|
8
|
+
import { a as $, r as ie, e as se } from "./index-C-tsPusW.js";
|
|
9
|
+
import { o as re } from "./omit-Cdd54eFA.js";
|
|
10
10
|
const de = {
|
|
11
11
|
name: "CRadio",
|
|
12
|
-
mixins: [
|
|
12
|
+
mixins: [j]
|
|
13
13
|
}, me = ["disabled"], ue = ["disabled", "required", "name", "value"], pe = { class: "control-label" };
|
|
14
14
|
function ce(e, t, s, u, c, n) {
|
|
15
15
|
return p(), g("label", {
|
|
@@ -17,9 +17,9 @@ function ce(e, t, s, u, c, n) {
|
|
|
17
17
|
class: y([[`is-${e.size}`, { "is-disabled": e.disabled }], "b-radio radio"]),
|
|
18
18
|
disabled: e.disabledOrUndefined,
|
|
19
19
|
onClick: t[2] || (t[2] = (...h) => e.focus && e.focus(...h)),
|
|
20
|
-
onKeydown: t[3] || (t[3] =
|
|
20
|
+
onKeydown: t[3] || (t[3] = G(N((h) => e.$refs.label.click(), ["prevent"]), ["enter"]))
|
|
21
21
|
}, [
|
|
22
|
-
|
|
22
|
+
L(i("input", {
|
|
23
23
|
ref: "input",
|
|
24
24
|
"onUpdate:modelValue": t[0] || (t[0] = (h) => e.computedValue = h),
|
|
25
25
|
disabled: e.disabledOrUndefined,
|
|
@@ -30,17 +30,17 @@ function ce(e, t, s, u, c, n) {
|
|
|
30
30
|
onClick: t[1] || (t[1] = N(() => {
|
|
31
31
|
}, ["stop"]))
|
|
32
32
|
}, null, 8, ue), [
|
|
33
|
-
[
|
|
33
|
+
[H, e.computedValue]
|
|
34
34
|
]),
|
|
35
35
|
i("span", {
|
|
36
36
|
class: y([`is-${e.type}`, "check"])
|
|
37
37
|
}, null, 2),
|
|
38
38
|
i("span", pe, [
|
|
39
|
-
|
|
39
|
+
Z(e.$slots, "default")
|
|
40
40
|
])
|
|
41
41
|
], 42, me);
|
|
42
42
|
}
|
|
43
|
-
const fe = /* @__PURE__ */
|
|
43
|
+
const fe = /* @__PURE__ */ z(de, [["render", ce]]), ge = {
|
|
44
44
|
sv: {
|
|
45
45
|
title: "Mottagare",
|
|
46
46
|
updateButton: "Spara mottagare",
|
|
@@ -88,6 +88,10 @@ const fe = /* @__PURE__ */ F(de, [["render", ce]]), ge = {
|
|
|
88
88
|
title: "BankId",
|
|
89
89
|
content: "Samma säkerhetsgrad som bankerna har."
|
|
90
90
|
},
|
|
91
|
+
freja: {
|
|
92
|
+
title: "Freja eID+",
|
|
93
|
+
content: "Högsta säkerhetsnivån i Freja."
|
|
94
|
+
},
|
|
91
95
|
signature: {
|
|
92
96
|
title: "Standard",
|
|
93
97
|
content: "Bevisnivå: IP-adress, tidpunkt och enhet."
|
|
@@ -145,6 +149,10 @@ const fe = /* @__PURE__ */ F(de, [["render", ce]]), ge = {
|
|
|
145
149
|
title: "BankID",
|
|
146
150
|
content: "Same level of proof as the banks use."
|
|
147
151
|
},
|
|
152
|
+
freja: {
|
|
153
|
+
title: "Freja eID+",
|
|
154
|
+
content: "Highest security level in Freja."
|
|
155
|
+
},
|
|
148
156
|
signature: {
|
|
149
157
|
title: "Signature",
|
|
150
158
|
content: "Level of proof: IP address, timestamp and device."
|
|
@@ -169,8 +177,8 @@ const fe = /* @__PURE__ */ F(de, [["render", ce]]), ge = {
|
|
|
169
177
|
CCheckbox: K,
|
|
170
178
|
CDropdown: oe,
|
|
171
179
|
CDropdownItem: te,
|
|
172
|
-
CField:
|
|
173
|
-
CPhoneInput:
|
|
180
|
+
CField: ae,
|
|
181
|
+
CPhoneInput: le,
|
|
174
182
|
CRadio: fe
|
|
175
183
|
},
|
|
176
184
|
emits: [
|
|
@@ -342,18 +350,18 @@ const fe = /* @__PURE__ */ F(de, [["render", ce]]), ge = {
|
|
|
342
350
|
}, we = { class: "type-toggle" }, ke = { style: { "line-height": "1.25", padding: "4px 0" } }, $e = { style: { "font-size": "12px", opacity: "0.7" } }, Ve = { style: { "line-height": "1.25", padding: "4px 0" } }, Ne = { style: { "font-size": "12px", opacity: "0.7" } }, Me = {
|
|
343
351
|
class: "flex items-center justify-center",
|
|
344
352
|
style: { "margin-bottom": "calc(2.5 * var(--rem))" }
|
|
345
|
-
}, Se = { class: "type-toggle" }, Oe = { key: 0 },
|
|
353
|
+
}, Se = { class: "type-toggle" }, Oe = { key: 0 }, Fe = {
|
|
346
354
|
key: 0,
|
|
347
355
|
class: "dropdown-field-wrapper flex min-w-0 flex-col"
|
|
348
|
-
}, Ie = { class: "my-1 text-sm text-gray-600" },
|
|
356
|
+
}, Ie = { class: "my-1 text-sm text-gray-600" }, ze = { class: "py-1 leading-5" }, Re = { class: "text-xs opacity-70" }, Ue = { style: { "line-height": "1.25", padding: "4px 0" } }, De = { style: { "font-size": "12px", opacity: "0.7" } }, qe = {
|
|
349
357
|
key: 1,
|
|
350
358
|
class: "dropdown-field-wrapper flex min-w-0 flex-col"
|
|
351
359
|
}, Ae = { class: "my-1 text-sm text-gray-600" }, Be = { class: "max-w-[calc(16_*_var(--rem))] py-1 leading-5" }, Pe = { class: "truncate text-xs opacity-70" }, Ee = { style: { "line-height": "1.25", padding: "4px 0" } }, Te = {
|
|
352
360
|
class: "max-w-[calc(12_*_var(--rem))] truncate",
|
|
353
361
|
style: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" }
|
|
354
362
|
}, We = { style: { "margin-top": "calc(3 * var(--rem))" } };
|
|
355
|
-
function
|
|
356
|
-
const h = f("ClientAutocomplete"), d = f("CField"), m = f("CInput"), M = f("Animation"), R = f("CPhoneInput"), w = f("CButton"), S = f("CDropdownItem"), O = f("CDropdown"), T = f("CCheckbox"),
|
|
363
|
+
function je(e, t, s, u, c, n) {
|
|
364
|
+
const h = f("ClientAutocomplete"), d = f("CField"), m = f("CInput"), M = f("Animation"), R = f("CPhoneInput"), w = f("CButton"), S = f("CDropdownItem"), O = f("CDropdown"), T = f("CCheckbox"), U = f("CRadio");
|
|
357
365
|
return p(), g("div", ye, [
|
|
358
366
|
s.simpleForm ? (p(), g("form", {
|
|
359
367
|
key: 0,
|
|
@@ -372,15 +380,15 @@ function Le(e, t, s, u, c, n) {
|
|
|
372
380
|
}, r(e.$t("_common:company").capitalize()), 3)
|
|
373
381
|
])
|
|
374
382
|
]),
|
|
375
|
-
|
|
383
|
+
a(d, {
|
|
376
384
|
label: n.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(),
|
|
377
385
|
validator: u.v$.name,
|
|
378
386
|
messages: n.messages.name,
|
|
379
387
|
"label-position": "inside",
|
|
380
388
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
381
389
|
}, {
|
|
382
|
-
default:
|
|
383
|
-
|
|
390
|
+
default: l(() => [
|
|
391
|
+
a(h, {
|
|
384
392
|
ref: "name",
|
|
385
393
|
modelValue: e.name,
|
|
386
394
|
"onUpdate:modelValue": t[2] || (t[2] = (o) => e.name = o),
|
|
@@ -392,8 +400,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
392
400
|
]),
|
|
393
401
|
_: 1
|
|
394
402
|
}, 8, ["label", "validator", "messages"]),
|
|
395
|
-
|
|
396
|
-
default:
|
|
403
|
+
a(M, null, {
|
|
404
|
+
default: l(() => [
|
|
397
405
|
n.isIndivid ? v("", !0) : (p(), b(d, {
|
|
398
406
|
key: 0,
|
|
399
407
|
validator: u.v$.reference,
|
|
@@ -402,8 +410,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
402
410
|
"label-position": "inside",
|
|
403
411
|
class: "pb-4"
|
|
404
412
|
}, {
|
|
405
|
-
default:
|
|
406
|
-
|
|
413
|
+
default: l(() => [
|
|
414
|
+
a(m, {
|
|
407
415
|
ref: "reference",
|
|
408
416
|
modelValue: e.reference,
|
|
409
417
|
"onUpdate:modelValue": t[4] || (t[4] = (o) => e.reference = o),
|
|
@@ -415,15 +423,15 @@ function Le(e, t, s, u, c, n) {
|
|
|
415
423
|
]),
|
|
416
424
|
_: 1
|
|
417
425
|
}),
|
|
418
|
-
|
|
426
|
+
a(d, {
|
|
419
427
|
validator: u.v$.email,
|
|
420
428
|
messages: n.messages.email,
|
|
421
429
|
label: e.$t("_common:email").capitalize(),
|
|
422
430
|
"label-position": "inside",
|
|
423
431
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
424
432
|
}, {
|
|
425
|
-
default:
|
|
426
|
-
|
|
433
|
+
default: l(() => [
|
|
434
|
+
a(m, {
|
|
427
435
|
ref: "email",
|
|
428
436
|
modelValue: e.email,
|
|
429
437
|
"onUpdate:modelValue": t[5] || (t[5] = (o) => e.email = o),
|
|
@@ -433,7 +441,7 @@ function Le(e, t, s, u, c, n) {
|
|
|
433
441
|
]),
|
|
434
442
|
_: 1
|
|
435
443
|
}, 8, ["validator", "messages", "label"]),
|
|
436
|
-
|
|
444
|
+
a(R, {
|
|
437
445
|
ref: "cellphone",
|
|
438
446
|
modelValue: e.cellphone,
|
|
439
447
|
"onUpdate:modelValue": t[6] || (t[6] = (o) => e.cellphone = o),
|
|
@@ -449,8 +457,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
449
457
|
expanded: "",
|
|
450
458
|
style: { "margin-bottom": "calc(1 * var(--rem))", "margin-top": "calc(0.75 * var(--rem))" }
|
|
451
459
|
}, {
|
|
452
|
-
trigger:
|
|
453
|
-
|
|
460
|
+
trigger: l(() => [
|
|
461
|
+
a(w, {
|
|
454
462
|
"dropdown-icon": !0,
|
|
455
463
|
"icon-props": {
|
|
456
464
|
stroke: "hsl(0, 0%, 50%)"
|
|
@@ -461,7 +469,7 @@ function Le(e, t, s, u, c, n) {
|
|
|
461
469
|
pattern: "secondary",
|
|
462
470
|
style: { width: "100%" }
|
|
463
471
|
}, {
|
|
464
|
-
default:
|
|
472
|
+
default: l(() => [
|
|
465
473
|
i("div", ke, [
|
|
466
474
|
i("div", null, r(e.$t(`_common:documentRole.${s.documentRole}.description`)), 1),
|
|
467
475
|
i("div", $e, r(e.$t(`_common:documentRole.${s.documentRole}.label`)), 1)
|
|
@@ -470,16 +478,16 @@ function Le(e, t, s, u, c, n) {
|
|
|
470
478
|
_: 1
|
|
471
479
|
}, 8, ["icon-left"])
|
|
472
480
|
]),
|
|
473
|
-
default:
|
|
474
|
-
(p(), g(
|
|
481
|
+
default: l(() => [
|
|
482
|
+
(p(), g(F, null, I(["signee", "recipient", "approver"], (o) => a(S, {
|
|
475
483
|
key: o,
|
|
476
484
|
"icon-left": o === "signee" ? "pen-tool" : "eye",
|
|
477
485
|
"icon-props": {
|
|
478
486
|
stroke: "hsl(0, 0%, 50%)"
|
|
479
487
|
},
|
|
480
|
-
onClick: (
|
|
488
|
+
onClick: (D) => e.$emit("update:document-role", o)
|
|
481
489
|
}, {
|
|
482
|
-
default:
|
|
490
|
+
default: l(() => [
|
|
483
491
|
i("div", Ve, [
|
|
484
492
|
i("div", null, r(e.$t(`_common:documentRole.${o}.description`)), 1),
|
|
485
493
|
i("div", Ne, r(e.$t(`_common:documentRole.${o}.label`)), 1)
|
|
@@ -490,19 +498,19 @@ function Le(e, t, s, u, c, n) {
|
|
|
490
498
|
]),
|
|
491
499
|
_: 1
|
|
492
500
|
})) : v("", !0),
|
|
493
|
-
|
|
501
|
+
a(w, {
|
|
494
502
|
type: "secondary",
|
|
495
503
|
pattern: "tertiary",
|
|
496
504
|
size: "small",
|
|
497
505
|
"icon-left": "arrow-right",
|
|
498
506
|
onClick: t[8] || (t[8] = (o) => e.$emit("show-more"))
|
|
499
507
|
}, {
|
|
500
|
-
default:
|
|
508
|
+
default: l(() => [
|
|
501
509
|
C(r(e.$t("showMore").capitalize()), 1)
|
|
502
510
|
]),
|
|
503
511
|
_: 1
|
|
504
512
|
}),
|
|
505
|
-
|
|
513
|
+
a(w, {
|
|
506
514
|
loading: e.isPosting,
|
|
507
515
|
"native-type": "submit",
|
|
508
516
|
type: "secondary",
|
|
@@ -511,7 +519,7 @@ function Le(e, t, s, u, c, n) {
|
|
|
511
519
|
class: "mt-4",
|
|
512
520
|
style: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0, 0, 0, 0.1)" }
|
|
513
521
|
}, {
|
|
514
|
-
default:
|
|
522
|
+
default: l(() => [
|
|
515
523
|
C(r(e.$t("updateButton")), 1)
|
|
516
524
|
]),
|
|
517
525
|
_: 1
|
|
@@ -532,20 +540,20 @@ function Le(e, t, s, u, c, n) {
|
|
|
532
540
|
}, r(e.$t("_common:company").capitalize()), 3)
|
|
533
541
|
])
|
|
534
542
|
]),
|
|
535
|
-
|
|
543
|
+
a(d, {
|
|
536
544
|
class: "flex",
|
|
537
545
|
grouped: ""
|
|
538
546
|
}, {
|
|
539
|
-
default:
|
|
540
|
-
|
|
547
|
+
default: l(() => [
|
|
548
|
+
a(d, {
|
|
541
549
|
label: n.isIndivid ? e.$t("_common:name").capitalize() : e.$t("_common:company").capitalize(),
|
|
542
550
|
validator: u.v$.name,
|
|
543
551
|
messages: n.messages.name,
|
|
544
552
|
"label-position": "inside",
|
|
545
553
|
expanded: ""
|
|
546
554
|
}, {
|
|
547
|
-
default:
|
|
548
|
-
|
|
555
|
+
default: l(() => [
|
|
556
|
+
a(h, {
|
|
549
557
|
ref: "name",
|
|
550
558
|
modelValue: e.name,
|
|
551
559
|
"onUpdate:modelValue": t[12] || (t[12] = (o) => e.name = o),
|
|
@@ -557,15 +565,15 @@ function Le(e, t, s, u, c, n) {
|
|
|
557
565
|
]),
|
|
558
566
|
_: 1
|
|
559
567
|
}, 8, ["label", "validator", "messages"]),
|
|
560
|
-
|
|
568
|
+
a(d, {
|
|
561
569
|
label: n.isIndivid ? e.$t("_common:socialNo").capitalize() : e.$t("_common:orgNoShort").capitalize(),
|
|
562
570
|
validator: u.v$.orgNo,
|
|
563
571
|
messages: n.isIndivid ? n.messages.orgNo : n.messages.realOrgNo,
|
|
564
572
|
"label-position": "inside",
|
|
565
573
|
expanded: ""
|
|
566
574
|
}, {
|
|
567
|
-
default:
|
|
568
|
-
|
|
575
|
+
default: l(() => [
|
|
576
|
+
a(m, {
|
|
569
577
|
ref: "orgNo",
|
|
570
578
|
modelValue: n.orgNo,
|
|
571
579
|
"onUpdate:modelValue": t[14] || (t[14] = (o) => n.orgNo = o),
|
|
@@ -577,8 +585,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
577
585
|
]),
|
|
578
586
|
_: 1
|
|
579
587
|
}),
|
|
580
|
-
|
|
581
|
-
default:
|
|
588
|
+
a(M, null, {
|
|
589
|
+
default: l(() => [
|
|
582
590
|
e.type && !n.isIndivid ? (p(), b(d, {
|
|
583
591
|
key: 0,
|
|
584
592
|
validator: u.v$.reference,
|
|
@@ -587,8 +595,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
587
595
|
"label-position": "inside",
|
|
588
596
|
class: "pb-4"
|
|
589
597
|
}, {
|
|
590
|
-
default:
|
|
591
|
-
|
|
598
|
+
default: l(() => [
|
|
599
|
+
a(m, {
|
|
592
600
|
ref: "reference",
|
|
593
601
|
modelValue: e.reference,
|
|
594
602
|
"onUpdate:modelValue": t[15] || (t[15] = (o) => e.reference = o),
|
|
@@ -601,13 +609,13 @@ function Le(e, t, s, u, c, n) {
|
|
|
601
609
|
key: 1,
|
|
602
610
|
style: { "padding-left": "0.5em", "margin-bottom": "calc(2 * var(--rem))" }
|
|
603
611
|
}, {
|
|
604
|
-
default:
|
|
605
|
-
|
|
612
|
+
default: l(() => [
|
|
613
|
+
a(T, {
|
|
606
614
|
modelValue: e.reverseVat,
|
|
607
615
|
"onUpdate:modelValue": t[16] || (t[16] = (o) => e.reverseVat = o),
|
|
608
616
|
size: "normal"
|
|
609
617
|
}, {
|
|
610
|
-
default:
|
|
618
|
+
default: l(() => [
|
|
611
619
|
C(r(e.$t("_common:vat.reverseVat")), 1)
|
|
612
620
|
]),
|
|
613
621
|
_: 1
|
|
@@ -618,12 +626,12 @@ function Le(e, t, s, u, c, n) {
|
|
|
618
626
|
]),
|
|
619
627
|
_: 1
|
|
620
628
|
}),
|
|
621
|
-
|
|
629
|
+
a(d, {
|
|
622
630
|
class: "flex",
|
|
623
631
|
grouped: ""
|
|
624
632
|
}, {
|
|
625
|
-
default:
|
|
626
|
-
|
|
633
|
+
default: l(() => [
|
|
634
|
+
a(d, {
|
|
627
635
|
validator: u.v$.email,
|
|
628
636
|
messages: n.messages.email,
|
|
629
637
|
label: e.$t("_common:email").capitalize(),
|
|
@@ -631,8 +639,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
631
639
|
class: "flex-1",
|
|
632
640
|
expanded: ""
|
|
633
641
|
}, {
|
|
634
|
-
default:
|
|
635
|
-
|
|
642
|
+
default: l(() => [
|
|
643
|
+
a(m, {
|
|
636
644
|
ref: "email",
|
|
637
645
|
modelValue: e.email,
|
|
638
646
|
"onUpdate:modelValue": t[17] || (t[17] = (o) => e.email = o),
|
|
@@ -642,7 +650,7 @@ function Le(e, t, s, u, c, n) {
|
|
|
642
650
|
]),
|
|
643
651
|
_: 1
|
|
644
652
|
}, 8, ["validator", "messages", "label"]),
|
|
645
|
-
|
|
653
|
+
a(R, {
|
|
646
654
|
modelValue: e.cellphone,
|
|
647
655
|
"onUpdate:modelValue": t[18] || (t[18] = (o) => e.cellphone = o),
|
|
648
656
|
region: e.cellphoneRegion,
|
|
@@ -656,12 +664,12 @@ function Le(e, t, s, u, c, n) {
|
|
|
656
664
|
]),
|
|
657
665
|
_: 1
|
|
658
666
|
}),
|
|
659
|
-
|
|
667
|
+
a(d, {
|
|
660
668
|
label: e.$t("_common:address").capitalize(),
|
|
661
669
|
"label-position": "inside"
|
|
662
670
|
}, {
|
|
663
|
-
default:
|
|
664
|
-
|
|
671
|
+
default: l(() => [
|
|
672
|
+
a(m, {
|
|
665
673
|
ref: "street",
|
|
666
674
|
modelValue: e.street,
|
|
667
675
|
"onUpdate:modelValue": t[20] || (t[20] = (o) => e.street = o),
|
|
@@ -670,14 +678,14 @@ function Le(e, t, s, u, c, n) {
|
|
|
670
678
|
]),
|
|
671
679
|
_: 1
|
|
672
680
|
}, 8, ["label"]),
|
|
673
|
-
|
|
681
|
+
a(d, {
|
|
674
682
|
class: "force-two flex",
|
|
675
683
|
grouped: ""
|
|
676
684
|
}, {
|
|
677
|
-
default:
|
|
678
|
-
|
|
679
|
-
default:
|
|
680
|
-
|
|
685
|
+
default: l(() => [
|
|
686
|
+
a(d, { expanded: "" }, {
|
|
687
|
+
default: l(() => [
|
|
688
|
+
a(m, {
|
|
681
689
|
ref: "zip",
|
|
682
690
|
modelValue: e.zip,
|
|
683
691
|
"onUpdate:modelValue": t[21] || (t[21] = (o) => e.zip = o),
|
|
@@ -686,9 +694,9 @@ function Le(e, t, s, u, c, n) {
|
|
|
686
694
|
]),
|
|
687
695
|
_: 1
|
|
688
696
|
}),
|
|
689
|
-
|
|
690
|
-
default:
|
|
691
|
-
|
|
697
|
+
a(d, { expanded: "" }, {
|
|
698
|
+
default: l(() => [
|
|
699
|
+
a(m, {
|
|
692
700
|
ref: "city",
|
|
693
701
|
modelValue: e.city,
|
|
694
702
|
"onUpdate:modelValue": t[22] || (t[22] = (o) => e.city = o),
|
|
@@ -700,9 +708,9 @@ function Le(e, t, s, u, c, n) {
|
|
|
700
708
|
]),
|
|
701
709
|
_: 1
|
|
702
710
|
}),
|
|
703
|
-
|
|
704
|
-
default:
|
|
705
|
-
|
|
711
|
+
a(d, { class: "flex" }, {
|
|
712
|
+
default: l(() => [
|
|
713
|
+
a(U, {
|
|
706
714
|
modelValue: e.separateWorkAddress,
|
|
707
715
|
"onUpdate:modelValue": t[23] || (t[23] = (o) => e.separateWorkAddress = o),
|
|
708
716
|
"native-value": !1,
|
|
@@ -710,12 +718,12 @@ function Le(e, t, s, u, c, n) {
|
|
|
710
718
|
size: "small",
|
|
711
719
|
style: { "margin-bottom": "0.5em" }
|
|
712
720
|
}, {
|
|
713
|
-
default:
|
|
721
|
+
default: l(() => [
|
|
714
722
|
C(r(e.$t("seperateWorkAddress.false")), 1)
|
|
715
723
|
]),
|
|
716
724
|
_: 1
|
|
717
725
|
}, 8, ["modelValue"]),
|
|
718
|
-
|
|
726
|
+
a(U, {
|
|
719
727
|
modelValue: e.separateWorkAddress,
|
|
720
728
|
"onUpdate:modelValue": t[24] || (t[24] = (o) => e.separateWorkAddress = o),
|
|
721
729
|
"native-value": !0,
|
|
@@ -723,7 +731,7 @@ function Le(e, t, s, u, c, n) {
|
|
|
723
731
|
size: "small",
|
|
724
732
|
style: { "margin-bottom": "0.5em" }
|
|
725
733
|
}, {
|
|
726
|
-
default:
|
|
734
|
+
default: l(() => [
|
|
727
735
|
C(r(e.$t("seperateWorkAddress.true")), 1)
|
|
728
736
|
]),
|
|
729
737
|
_: 1
|
|
@@ -731,14 +739,14 @@ function Le(e, t, s, u, c, n) {
|
|
|
731
739
|
]),
|
|
732
740
|
_: 1
|
|
733
741
|
}),
|
|
734
|
-
|
|
735
|
-
default:
|
|
742
|
+
a(M, null, {
|
|
743
|
+
default: l(() => [
|
|
736
744
|
e.type && e.separateWorkAddress ? (p(), g("div", Oe, [
|
|
737
|
-
|
|
745
|
+
a(d, {
|
|
738
746
|
label: e.$t("_common:addressWork").capitalize() + ` ( ${e.$t("workAddressSubLabel")} )`
|
|
739
747
|
}, {
|
|
740
|
-
default:
|
|
741
|
-
|
|
748
|
+
default: l(() => [
|
|
749
|
+
a(m, {
|
|
742
750
|
ref: "workStreet",
|
|
743
751
|
modelValue: e.workStreet,
|
|
744
752
|
"onUpdate:modelValue": t[25] || (t[25] = (o) => e.workStreet = o),
|
|
@@ -747,14 +755,14 @@ function Le(e, t, s, u, c, n) {
|
|
|
747
755
|
]),
|
|
748
756
|
_: 1
|
|
749
757
|
}, 8, ["label"]),
|
|
750
|
-
|
|
758
|
+
a(d, {
|
|
751
759
|
class: "force-two flex",
|
|
752
760
|
grouped: ""
|
|
753
761
|
}, {
|
|
754
|
-
default:
|
|
755
|
-
|
|
756
|
-
default:
|
|
757
|
-
|
|
762
|
+
default: l(() => [
|
|
763
|
+
a(d, { expanded: "" }, {
|
|
764
|
+
default: l(() => [
|
|
765
|
+
a(m, {
|
|
758
766
|
ref: "workZip",
|
|
759
767
|
modelValue: e.workZip,
|
|
760
768
|
"onUpdate:modelValue": t[26] || (t[26] = (o) => e.workZip = o),
|
|
@@ -764,9 +772,9 @@ function Le(e, t, s, u, c, n) {
|
|
|
764
772
|
]),
|
|
765
773
|
_: 1
|
|
766
774
|
}),
|
|
767
|
-
|
|
768
|
-
default:
|
|
769
|
-
|
|
775
|
+
a(d, { expanded: "" }, {
|
|
776
|
+
default: l(() => [
|
|
777
|
+
a(m, {
|
|
770
778
|
ref: "workCity",
|
|
771
779
|
modelValue: e.workCity,
|
|
772
780
|
"onUpdate:modelValue": t[27] || (t[27] = (o) => e.workCity = o),
|
|
@@ -788,15 +796,15 @@ function Le(e, t, s, u, c, n) {
|
|
|
788
796
|
grouped: "",
|
|
789
797
|
class: "flex pt-4"
|
|
790
798
|
}, {
|
|
791
|
-
default:
|
|
792
|
-
s.documentRole ? (p(), g("div",
|
|
799
|
+
default: l(() => [
|
|
800
|
+
s.documentRole ? (p(), g("div", Fe, [
|
|
793
801
|
i("div", Ie, r(e.$t("_common:documentRole.title")), 1),
|
|
794
|
-
|
|
802
|
+
a(O, {
|
|
795
803
|
expanded: "",
|
|
796
804
|
style: { "margin-bottom": "calc(1 * var(--rem))" }
|
|
797
805
|
}, {
|
|
798
|
-
trigger:
|
|
799
|
-
|
|
806
|
+
trigger: l(() => [
|
|
807
|
+
a(w, {
|
|
800
808
|
"dropdown-icon": !0,
|
|
801
809
|
"icon-props": {
|
|
802
810
|
stroke: "hsl(0, 0%, 50%)"
|
|
@@ -807,8 +815,8 @@ function Le(e, t, s, u, c, n) {
|
|
|
807
815
|
pattern: "secondary",
|
|
808
816
|
expanded: ""
|
|
809
817
|
}, {
|
|
810
|
-
default:
|
|
811
|
-
i("div",
|
|
818
|
+
default: l(() => [
|
|
819
|
+
i("div", ze, [
|
|
812
820
|
i("div", null, r(e.$t(`_common:documentRole.${s.documentRole}.description`)), 1),
|
|
813
821
|
i("div", Re, r(e.$t(`_common:documentRole.${s.documentRole}.label`)), 1)
|
|
814
822
|
])
|
|
@@ -816,19 +824,19 @@ function Le(e, t, s, u, c, n) {
|
|
|
816
824
|
_: 1
|
|
817
825
|
}, 8, ["icon-left"])
|
|
818
826
|
]),
|
|
819
|
-
default:
|
|
820
|
-
(p(), g(
|
|
827
|
+
default: l(() => [
|
|
828
|
+
(p(), g(F, null, I(["signee", "recipient", "approver"], (o) => a(S, {
|
|
821
829
|
key: o,
|
|
822
830
|
"icon-left": o === "signee" ? "pen-tool" : "eye",
|
|
823
831
|
"icon-props": {
|
|
824
832
|
stroke: "hsl(0, 0%, 50%)"
|
|
825
833
|
},
|
|
826
|
-
onClick: (
|
|
834
|
+
onClick: (D) => e.$emit("update:document-role", o)
|
|
827
835
|
}, {
|
|
828
|
-
default:
|
|
829
|
-
i("div",
|
|
836
|
+
default: l(() => [
|
|
837
|
+
i("div", Ue, [
|
|
830
838
|
i("div", null, r(e.$t(`_common:documentRole.${o}.description`)), 1),
|
|
831
|
-
i("div",
|
|
839
|
+
i("div", De, r(e.$t(`_common:documentRole.${o}.label`)), 1)
|
|
832
840
|
])
|
|
833
841
|
]),
|
|
834
842
|
_: 2
|
|
@@ -837,21 +845,21 @@ function Le(e, t, s, u, c, n) {
|
|
|
837
845
|
_: 1
|
|
838
846
|
})
|
|
839
847
|
])) : v("", !0),
|
|
840
|
-
s.answerMethod ? (p(), g("div",
|
|
848
|
+
s.answerMethod ? (p(), g("div", qe, [
|
|
841
849
|
i("div", Ae, r(e.$t("_common:signMethod.title")), 1),
|
|
842
|
-
|
|
850
|
+
a(O, {
|
|
843
851
|
expanded: "",
|
|
844
852
|
style: { "margin-bottom": "calc(1 * var(--rem))" }
|
|
845
853
|
}, {
|
|
846
|
-
trigger:
|
|
847
|
-
|
|
854
|
+
trigger: l(() => [
|
|
855
|
+
a(w, {
|
|
848
856
|
"dropdown-icon": !0,
|
|
849
857
|
class: "is-left",
|
|
850
858
|
type: "none",
|
|
851
859
|
pattern: "secondary",
|
|
852
860
|
expanded: ""
|
|
853
861
|
}, {
|
|
854
|
-
default:
|
|
862
|
+
default: l(() => [
|
|
855
863
|
i("div", Be, [
|
|
856
864
|
i("div", null, r(e.$t(`signMethod.${s.answerMethod.accept}.title`)), 1),
|
|
857
865
|
i("div", Pe, r(e.$t(`signMethod.${s.answerMethod.accept}.content`)), 1)
|
|
@@ -860,15 +868,15 @@ function Le(e, t, s, u, c, n) {
|
|
|
860
868
|
_: 1
|
|
861
869
|
})
|
|
862
870
|
]),
|
|
863
|
-
default:
|
|
864
|
-
(p(!0), g(
|
|
871
|
+
default: l(() => [
|
|
872
|
+
(p(!0), g(F, null, I(s.signOptions, (o) => (p(), b(S, {
|
|
865
873
|
key: o,
|
|
866
|
-
onClick: (
|
|
874
|
+
onClick: (D) => e.$emit("update:answer-method", {
|
|
867
875
|
...s.answerMethod,
|
|
868
876
|
accept: o
|
|
869
877
|
})
|
|
870
878
|
}, {
|
|
871
|
-
default:
|
|
879
|
+
default: l(() => [
|
|
872
880
|
i("div", Ee, [
|
|
873
881
|
i("div", null, r(e.$t(`signMethod.${o}.title`)), 1),
|
|
874
882
|
i("div", Te, r(e.$t(`signMethod.${o}.content`)), 1)
|
|
@@ -884,14 +892,14 @@ function Le(e, t, s, u, c, n) {
|
|
|
884
892
|
_: 1
|
|
885
893
|
})) : v("", !0),
|
|
886
894
|
i("div", We, [
|
|
887
|
-
|
|
895
|
+
a(w, {
|
|
888
896
|
loading: e.isPosting,
|
|
889
897
|
type: "secondary",
|
|
890
898
|
wide: "",
|
|
891
899
|
style: { padding: "16px", "border-radius": "8px", height: "100%", "font-size": "14px", "font-weight": "600", "box-shadow": "0 2px 4px -1px rgba(0, 0, 0, 0.1)" },
|
|
892
900
|
onClick: n.validateForm
|
|
893
901
|
}, {
|
|
894
|
-
default:
|
|
902
|
+
default: l(() => [
|
|
895
903
|
C(r(e.$t("updateButton")), 1)
|
|
896
904
|
]),
|
|
897
905
|
_: 1
|
|
@@ -900,10 +908,10 @@ function Le(e, t, s, u, c, n) {
|
|
|
900
908
|
], 2))
|
|
901
909
|
]);
|
|
902
910
|
}
|
|
903
|
-
const
|
|
911
|
+
const Le = /* @__PURE__ */ z(ve, [["render", je], ["__scopeId", "data-v-f7a3ed19"]]), { mapFields: He } = P({
|
|
904
912
|
getterType: "forms/getField",
|
|
905
913
|
mutationType: "forms/updateField"
|
|
906
|
-
}),
|
|
914
|
+
}), Ze = {
|
|
907
915
|
name: "ClientModal",
|
|
908
916
|
i18nOptions: {
|
|
909
917
|
namespaces: "clientModal",
|
|
@@ -935,7 +943,7 @@ const je = /* @__PURE__ */ F(ve, [["render", Le], ["__scopeId", "data-v-f7a3ed19
|
|
|
935
943
|
}
|
|
936
944
|
},
|
|
937
945
|
components: {
|
|
938
|
-
FormClient:
|
|
946
|
+
FormClient: Le
|
|
939
947
|
},
|
|
940
948
|
emits: ["close"],
|
|
941
949
|
mixins: [E],
|
|
@@ -985,7 +993,7 @@ const je = /* @__PURE__ */ F(ve, [["render", Le], ["__scopeId", "data-v-f7a3ed19
|
|
|
985
993
|
};
|
|
986
994
|
},
|
|
987
995
|
computed: {
|
|
988
|
-
...
|
|
996
|
+
...He({
|
|
989
997
|
endCustomer: "endCustomer"
|
|
990
998
|
}),
|
|
991
999
|
...Q("forms", {
|
|
@@ -1026,8 +1034,8 @@ const je = /* @__PURE__ */ F(ve, [["render", Le], ["__scopeId", "data-v-f7a3ed19
|
|
|
1026
1034
|
},
|
|
1027
1035
|
methods: {
|
|
1028
1036
|
...Y({
|
|
1029
|
-
saveClient:
|
|
1030
|
-
showMessage:
|
|
1037
|
+
saveClient: q.FORM_SUBMIT_ENDCUSTOMER,
|
|
1038
|
+
showMessage: q.SHOW_MESSAGE
|
|
1031
1039
|
}),
|
|
1032
1040
|
omit: re,
|
|
1033
1041
|
loadForm(e = {}) {
|
|
@@ -1098,15 +1106,15 @@ const je = /* @__PURE__ */ F(ve, [["render", Le], ["__scopeId", "data-v-f7a3ed19
|
|
|
1098
1106
|
});
|
|
1099
1107
|
}
|
|
1100
1108
|
}
|
|
1101
|
-
},
|
|
1109
|
+
}, Ge = { class: "max-sm:h-initial relative mx-auto flex flex-col items-center rounded-xl bg-white p-10 text-lg max-sm:min-h-full max-sm:w-full max-sm:rounded-none max-sm:pt-16" };
|
|
1102
1110
|
function Ke(e, t, s, u, c, n) {
|
|
1103
1111
|
const h = f("CButton"), d = f("FormClient");
|
|
1104
1112
|
return p(), g("div", {
|
|
1105
1113
|
class: "font-primary fixed inset-0 z-[1000] grid place-items-center overflow-auto bg-black bg-opacity-10 max-sm:block max-sm:min-h-full max-sm:w-full max-sm:overflow-auto sm:py-4",
|
|
1106
1114
|
onClickPassive: t[5] || (t[5] = N((...m) => n.close && n.close(...m), ["self"]))
|
|
1107
1115
|
}, [
|
|
1108
|
-
i("div",
|
|
1109
|
-
|
|
1116
|
+
i("div", Ge, [
|
|
1117
|
+
a(h, {
|
|
1110
1118
|
class: y([c.showMore ? "" : "sm:!hidden", "z-2 absolute right-4 top-4"]),
|
|
1111
1119
|
pattern: "tertiary",
|
|
1112
1120
|
type: "none",
|
|
@@ -1114,7 +1122,7 @@ function Ke(e, t, s, u, c, n) {
|
|
|
1114
1122
|
icon: "x",
|
|
1115
1123
|
onClick: n.close
|
|
1116
1124
|
}, null, 8, ["class", "onClick"]),
|
|
1117
|
-
|
|
1125
|
+
a(d, {
|
|
1118
1126
|
"document-role": c.storedNewClient.documentRole,
|
|
1119
1127
|
"onUpdate:documentRole": t[0] || (t[0] = (m) => c.storedNewClient.documentRole = m),
|
|
1120
1128
|
"answer-method": c.storedNewClient.answerMethod,
|
|
@@ -1147,7 +1155,7 @@ function Ke(e, t, s, u, c, n) {
|
|
|
1147
1155
|
class: "mt-4 text-sm",
|
|
1148
1156
|
onClick: n.removeClient
|
|
1149
1157
|
}, {
|
|
1150
|
-
default:
|
|
1158
|
+
default: l(() => [
|
|
1151
1159
|
C(r(e.$t("_common:remove")), 1)
|
|
1152
1160
|
]),
|
|
1153
1161
|
_: 1
|
|
@@ -1155,12 +1163,12 @@ function Ke(e, t, s, u, c, n) {
|
|
|
1155
1163
|
])
|
|
1156
1164
|
], 32);
|
|
1157
1165
|
}
|
|
1158
|
-
const Je = /* @__PURE__ */
|
|
1166
|
+
const Je = /* @__PURE__ */ z(Ze, [["render", Ke]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1159
1167
|
__proto__: null,
|
|
1160
1168
|
default: Je
|
|
1161
1169
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1162
1170
|
export {
|
|
1163
1171
|
Je as C,
|
|
1164
1172
|
fe as a,
|
|
1165
|
-
|
|
1173
|
+
lt as b
|
|
1166
1174
|
};
|