@cling-se/widget 0.22.0 → 0.22.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-CxbvK6ZG.js → AddClientCallout-CtfDZ5iE.js} +4 -4
- package/dist/{AnswerModal-vTetGwVn.js → AnswerModal-DER90JgH.js} +4 -4
- package/dist/{AttachmentItem-DSHNRIq_.js → AttachmentItem-CFxoxFwU.js} +11 -11
- package/dist/{BaseUpload-CWaM_bb7.js → BaseUpload-D3vsnEbC.js} +2 -2
- package/dist/{BlockMedia-B1T85G4R.js → BlockMedia-CrmRCTpi.js} +9 -9
- package/dist/{CCallout-BieMmWa4.js → CCallout-B86E6HJd.js} +1 -1
- package/dist/{CCurrencyDropdown-DKWtCUE_.js → CCurrencyDropdown-B2L-Pv3G.js} +3 -3
- package/dist/{CDropdownItem-pNNH9fV3.js → CDropdownItem-BU65rYaX.js} +7 -7
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-B57OaS--.js → CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js} +4 -4
- package/dist/{CPhoneFormat-CyrQRGmd.js → CPhoneFormat-CSys3pPM.js} +1 -1
- package/dist/{CPhoneInput-BQHgpUCY.js → CPhoneInput-hF_VGitf.js} +5 -5
- package/dist/{CPriceInput-DnFN-I6p.js → CPriceInput-CLM3EzaL.js} +2 -2
- package/dist/{CSelect-DB4-JxH8.js → CSelect-DsoRaNYd.js} +1 -1
- package/dist/{CSkeleton-DpRDxR6D.js → CSkeleton-B0wL3--W.js} +1 -1
- package/dist/{ClientAutocomplete-BjwvkuJ-.js → ClientAutocomplete-qkpa-KG_.js} +7 -7
- package/dist/{ClientModal-oBN2VSio.js → ClientModal-BHUD-VYM.js} +16 -16
- package/dist/{ColorPicker-B5rSvXLV.js → ColorPicker-uVefUdOd.js} +1 -1
- package/dist/{CompanyModal-QrsUL6Et.js → CompanyModal-C38jvSZX.js} +68 -69
- package/dist/{ContentWrapper-Yx-KMsfH.js → ContentWrapper-Du0rszAK.js} +15 -15
- package/dist/{CoverBlockSettings-C8giTiEZ.js → CoverBlockSettings-DqKNt5cM.js} +7 -7
- package/dist/{DocAnswer-Djyhwfrp.js → DocAnswer-Bm6FQnu7.js} +2 -2
- package/dist/{DocDetails-Dv6noPvB.js → DocDetails-Cg1EQ2xc.js} +4 -4
- package/dist/{DocForm-BFHchJ6w.js → DocForm-DUjeY7qQ.js} +440 -438
- package/dist/{DocFormSend-K2rbjklj.js → DocFormSend-B8x93Oo_.js} +2 -2
- package/dist/{DocLinks-DpUl89XR.js → DocLinks-bnZCCfQJ.js} +2 -2
- package/dist/{DocModalBase-BlTZ8CY3.js → DocModalBase-CwuAA5_c.js} +1 -1
- package/dist/{DocPrint-Bmfl4Abk.js → DocPrint-DkmwNCYi.js} +1 -1
- package/dist/{DocReceipt-3wi5YXqR.js → DocReceipt-BzrwYz7z.js} +2 -2
- package/dist/{DocSendReminder-CHqgC_wM.js → DocSendReminder--ZuTWwRa.js} +1 -1
- package/dist/{DocTextEditor-BGzwRwjt.js → DocTextEditor-CblX6a9b.js} +8 -8
- package/dist/{DocTimeline-BG7ldFgR.js → DocTimeline-C3cx2eIz.js} +8 -8
- package/dist/{DocumentClient-CLCAh4lI.js → DocumentClient-B9yEPQ1U.js} +5 -5
- package/dist/{DocumentLayout-DHSEYClM.js → DocumentLayout-BMgU3m7Q.js} +5 -5
- package/dist/{DocumentLogotype-0jH2-sr7.js → DocumentLogotype-BBA1HLK3.js} +28 -31
- package/dist/{DocumentVoided-BAS8mATO.js → DocumentVoided-AL_vXoWD.js} +1 -1
- package/dist/{EmbedInput-DnSz1tbL.js → EmbedInput-BHy9NMjl.js} +3 -3
- package/dist/{EmbedSettings-BQ1kKupC.js → EmbedSettings-DwcY0r8D.js} +3 -3
- package/dist/{ErrorCallout-XMtdcNvE.js → ErrorCallout-DKV9zW1H.js} +1 -1
- package/dist/{FilePreviewModal-Bv28RVrN.js → FilePreviewModal-DEoFvxri.js} +20 -20
- package/dist/{Flag-CcF7qtHi.js → Flag-BZ7C12iN.js} +1 -1
- package/dist/{HeaderSettings-SKEJyM9y.js → HeaderSettings-Bsj1JZNt.js} +9 -9
- package/dist/{ImageSelectModal-BNXs_Rfh.js → ImageSelectModal-Dd9le6p5.js} +3 -3
- package/dist/{ImageUploadWrapper-BmlB0qHZ.js → ImageUploadWrapper-DY9TKhpB.js} +2 -2
- package/dist/{Index-Dz3beMLO.js → Index-4ZB096MF.js} +8 -8
- package/dist/{Index-DRadSzmh.js → Index-B1HU3FW8.js} +3 -3
- package/dist/{Index-Ca6-XJ1q.js → Index-B3S-W2Du.js} +14 -14
- package/dist/{Index-BNetDL7G.js → Index-B8v_k79U.js} +4 -4
- package/dist/{Index-CfpNMWEI.js → Index-BPua2gSJ.js} +4 -4
- package/dist/{Index-GmMgg4ZI.js → Index-BSDQejtT.js} +7 -7
- package/dist/{Index-B1mvOHsr.js → Index-BW4sv9So.js} +5 -5
- package/dist/{Index-BDW4tvrc.js → Index-BWog4DkS.js} +2 -2
- package/dist/{Index-B4EqZ9op.js → Index-BZ5ZfAMl.js} +5 -5
- package/dist/Index-BfMZgBeX.js +4 -0
- package/dist/{Index-CVoJGfTj.js → Index-Bx8Dt9rr.js} +2 -2
- package/dist/{Index-Coef67Wb.js → Index-C9W7656O.js} +5 -5
- package/dist/{Index-ec9osPpw.js → Index-CB7F-c3z.js} +4 -4
- package/dist/{Index-B8soD6pI.js → Index-CEg8sUf6.js} +2 -2
- package/dist/{Index-BLC_eYvf.js → Index-CEm7_7xb.js} +2 -2
- package/dist/{Index-Bxi4pinD.js → Index-CGDHE6Q9.js} +3 -3
- package/dist/{Index-BS1J5b8c.js → Index-CadObAqC.js} +3 -3
- package/dist/{Index-mcDMCki9.js → Index-Cazuortx.js} +15 -15
- package/dist/{Index-LNHTL5EH.js → Index-Cfh_uoVu.js} +1 -1
- package/dist/{Index-CDdxLKdQ.js → Index-D9S6btwh.js} +4 -4
- package/dist/{Index-C9k2n-HK.js → Index-DCeSSD89.js} +4 -4
- package/dist/{Index-BRIv1n05.js → Index-DLzhjgNh.js} +4 -4
- package/dist/{Index-B_R1p7cp.js → Index-Da3NMw99.js} +1 -1
- package/dist/{Index-DquGwrE6.js → Index-DiQG7Yys.js} +8 -8
- package/dist/{Index-DU19comM.js → Index-DkuudM32.js} +6 -6
- package/dist/{Index-C6r2p8Qd.js → Index-DpNsBSK5.js} +3 -3
- package/dist/{Index-Bd3gjqXz.js → Index-DsAM46X9.js} +4 -4
- package/dist/{Index-C2Jql1QC.js → Index-IOHmUaDV.js} +8 -8
- package/dist/{Index-Bz6vrP4D.js → Index-N95Kg_Bu.js} +4 -4
- package/dist/{Index-Ra_-tX11.js → Index-T8YnqXUP.js} +7 -7
- package/dist/{Index-BbEj20KG.js → Index-bSfn5DlT.js} +8 -8
- package/dist/{Index-CYjEFdMF.js → Index-hOzI3WwH.js} +2 -2
- package/dist/{Index-BS-ERsZ7.js → Index-lxyzCTwv.js} +9 -9
- package/dist/{Index-CQSkYi57.js → Index-usMDK34R.js} +6 -6
- package/dist/{Index.vue_vue_type_script_lang-DOtAXSQl.js → Index.vue_vue_type_script_lang-CyrjCnmM.js} +2 -2
- package/dist/{InputToggleRow-DH7USYPf.js → InputToggleRow-DX08yhB8.js} +1 -1
- package/dist/{ManualPopover-JDRhdC8G.js → ManualPopover-DjkDQLEk.js} +1 -1
- package/dist/{MediaWrapper-DdbmCwGw.js → MediaWrapper-BRDS1uEY.js} +3 -3
- package/dist/{NotBindingText-CwV-MkgL.js → NotBindingText-gttVLkSY.js} +2 -2
- package/dist/{PackageGroup-CH-8hyAF.js → PackageGroup-DqCNizOl.js} +5 -5
- package/dist/{PdfTerms-BBeN_k6I.js → PdfTerms-9EF-oTZV.js} +2 -2
- package/dist/{PdfViewer-Du_M79jv.js → PdfViewer-fgokwyxy.js} +2 -2
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BKJdTPrg.js → PlainHtml.vue_vue_type_script_setup_true_lang-wz4hWvo8.js} +1 -1
- package/dist/{PriceHeader-Be2QwWzs.js → PriceHeader-DBiTZGL4.js} +7 -7
- package/dist/{SearchApi-dNunyqch.js → SearchApi-DP2NKS7Z.js} +1 -1
- package/dist/{SendForm-BIIwVZwY.js → SendForm-Dx-meiU3.js} +535 -514
- package/dist/{Setup-DBbHXz4_.js → Setup-KZckFxmn.js} +1 -1
- package/dist/{SmartList-C2JUKK2W.js → SmartList-C7tf3UFs.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-CzrvSsIg.js → Sortable.vue_vue_type_script_setup_true_lang-CKwuc60B.js} +1 -1
- package/dist/{TermsSettings-BZBWd3c9.js → TermsSettings-O43bydwI.js} +5 -5
- package/dist/{ThemeColorRow-7KF7icN8.js → ThemeColorRow-BiIviRnJ.js} +3 -3
- package/dist/{ToggleBinding-w8lNunzO.js → ToggleBinding-DNh6J5WO.js} +4 -4
- package/dist/{UploadModal-BRdimOyC.js → UploadModal-BLnwHEtM.js} +2 -2
- package/dist/{VideoPlayerInput-BHmr7HvX.js → VideoPlayerInput-CDSsWKbt.js} +4 -4
- package/dist/{VideoPlayerSettings-fI8gpjks.js → VideoPlayerSettings-9e0rWXBn.js} +2 -2
- package/dist/{VideoSelectModal-Beq5yE0M.js → VideoSelectModal-DdmGQUJs.js} +3 -3
- package/dist/{focusDrawerMixin-vhY6JO7g.js → focusDrawerMixin-Cz1mPbI5.js} +1 -1
- package/dist/{formDrawerState-ChHVYfc3.js → formDrawerState-VO67JhNj.js} +1 -1
- package/dist/{fortnoxTheme-BGyYnb8i.js → fortnoxTheme-C6LfSfkU.js} +1 -1
- package/dist/{helpers-Dw4CluFv.js → helpers-DdvMGJyI.js} +1 -1
- package/dist/{index-DihGX5od.js → index--tMYYuEo.js} +8 -8
- package/dist/{index-C-tsPusW.js → index-BtdoM5zU.js} +1 -1
- package/dist/{index-syUJ22zc.js → index-C6t6B42B.js} +8 -7
- package/dist/{index-BcnDsk0Z.js → index-CYrm4Bbf.js} +1 -1
- package/dist/{index-BUPqyA87.js → index-Cn5TO9wL.js} +1 -1
- package/dist/{index-DJYVhEQt.js → index-DrxPFi0q.js} +3 -3
- package/dist/{index-CPfrJsi9.js → index-SreRcZHY.js} +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +149 -149
- package/dist/{main-BBhJGb7I.js → main-BI2UvBxx.js} +4953 -4997
- package/dist/{mapFormMixin-CCKubywa.js → mapFormMixin-DmIyfVCN.js} +2 -2
- package/dist/{omit-Cdd54eFA.js → omit-FBv_EXqi.js} +1 -1
- package/dist/{splitpanes-nCfEUpmu.js → splitpanes-CpTZw8TJ.js} +1 -1
- package/dist/{template-B-Ds8x_U.js → template-B4OhhS85.js} +1 -1
- package/dist/{tippy.esm-DdYqbHFh.js → tippy.esm-D5nfFX7g.js} +5 -5
- package/dist/{useTermsModal-Z_pZQ4H2.js → useTermsModal-CvdV0cT0.js} +4 -4
- package/dist/{utils-C3tvmZHk.js → utils-Blt-S487.js} +1 -1
- package/dist/{validation-CWxbj-wT.js → validation-ZZ0eQUj2.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/dist/Index-aOBMRrRj.js +0 -4
- package/dist/publicSenderState-LkIY-kEl.js +0 -21
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { C as
|
|
3
|
-
import { w as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { e as
|
|
7
|
-
|
|
8
|
-
const { mapFields: B } = S({
|
|
1
|
+
import { _ as g } from "./CFormField.vue_vue_type_script_setup_true_lang-d4-FghaL.js";
|
|
2
|
+
import { C as b } from "./CPhoneInput-hF_VGitf.js";
|
|
3
|
+
import { w as U } from "./CDropdownItem-BU65rYaX.js";
|
|
4
|
+
import { _ as v, m as F, aq as f, ar as S, a as P, b as r, d as M, o as y, j as d, c as N, e as V, f as l, t as h, w as n, s as z, X as I, an as _, y as $, g as i } from "./main-BI2UvBxx.js";
|
|
5
|
+
import { u as O } from "./index-SreRcZHY.js";
|
|
6
|
+
import { e as E, r as w } from "./index-BtdoM5zU.js";
|
|
7
|
+
const { mapFields: R } = S({
|
|
9
8
|
getterType: "forms/getField",
|
|
10
9
|
mutationType: "forms/updateField"
|
|
11
|
-
}),
|
|
10
|
+
}), k = {
|
|
12
11
|
name: "CompanyModal",
|
|
13
12
|
components: {
|
|
14
|
-
CPhoneInput:
|
|
15
|
-
CField:
|
|
13
|
+
CPhoneInput: b,
|
|
14
|
+
CField: g
|
|
16
15
|
},
|
|
17
16
|
emits: ["close"],
|
|
18
|
-
mixins: [
|
|
17
|
+
mixins: [U],
|
|
19
18
|
props: {
|
|
20
19
|
inputFocusOnMount: {
|
|
21
20
|
type: String,
|
|
@@ -28,7 +27,7 @@ const { mapFields: B } = S({
|
|
|
28
27
|
},
|
|
29
28
|
setup() {
|
|
30
29
|
return {
|
|
31
|
-
v$:
|
|
30
|
+
v$: O()
|
|
32
31
|
};
|
|
33
32
|
},
|
|
34
33
|
data() {
|
|
@@ -41,18 +40,18 @@ const { mapFields: B } = S({
|
|
|
41
40
|
required: w
|
|
42
41
|
},
|
|
43
42
|
email: {
|
|
44
|
-
email:
|
|
43
|
+
email: E
|
|
45
44
|
}
|
|
46
45
|
},
|
|
47
46
|
computed: {
|
|
48
|
-
...
|
|
47
|
+
...P({
|
|
49
48
|
isPostingCompany: "companies/isPosting",
|
|
50
49
|
isPostingUser: "companyUsers/isPosting",
|
|
51
50
|
hasChanged: "forms/hasChanged",
|
|
52
51
|
companyRegion: "application/companyRegion",
|
|
53
52
|
can: "application/can"
|
|
54
53
|
}),
|
|
55
|
-
...
|
|
54
|
+
...R({
|
|
56
55
|
company: "company",
|
|
57
56
|
user: "companyUser",
|
|
58
57
|
name: "company.name",
|
|
@@ -96,22 +95,22 @@ const { mapFields: B } = S({
|
|
|
96
95
|
this.$refs[this.inputFocusOnMount] ? this.$refs[this.inputFocusOnMount].$el.querySelector("input").focus() : this.$refs.name.$el.querySelector("input").focus();
|
|
97
96
|
},
|
|
98
97
|
methods: {
|
|
99
|
-
...
|
|
100
|
-
formEditCompany:
|
|
101
|
-
formEditCompanyUser:
|
|
102
|
-
formSubmitCompany:
|
|
103
|
-
formSubmitCompanyUser:
|
|
104
|
-
setForm:
|
|
105
|
-
showMessage:
|
|
98
|
+
...F({
|
|
99
|
+
formEditCompany: i.FORM_EDIT_COMPANY,
|
|
100
|
+
formEditCompanyUser: i.FORM_EDIT_COMPANY_USER,
|
|
101
|
+
formSubmitCompany: i.FORM_SUBMIT_COMPANY,
|
|
102
|
+
formSubmitCompanyUser: i.FORM_SUBMIT_COMPANY_USER,
|
|
103
|
+
setForm: i.SET_FORM,
|
|
104
|
+
showMessage: i.SHOW_MESSAGE
|
|
106
105
|
}),
|
|
107
106
|
loadForm() {
|
|
108
|
-
this.
|
|
107
|
+
this.formEditCompany({ props: ["name"] }), this.formEditCompanyUser({
|
|
109
108
|
id: this.documentCompanyUserId,
|
|
110
109
|
props: ["id", "firstname", "lastname", "cellphone", "email"]
|
|
111
|
-
})
|
|
110
|
+
});
|
|
112
111
|
},
|
|
113
112
|
async save() {
|
|
114
|
-
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0,
|
|
113
|
+
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, await Promise.all([
|
|
115
114
|
...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
|
|
116
115
|
...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
|
|
117
116
|
]), this.$emit("close"), this.isLoading = !1);
|
|
@@ -120,43 +119,43 @@ const { mapFields: B } = S({
|
|
|
120
119
|
this.$emit("close");
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
|
-
},
|
|
124
|
-
function
|
|
125
|
-
const u = r("CButton"),
|
|
126
|
-
return y(),
|
|
127
|
-
class:
|
|
128
|
-
"full-screen":
|
|
122
|
+
}, q = { class: "form-client" }, B = { style: { "font-weight": "600", "font-size": "21px", "padding-bottom": "calc(2.5 * var(--rem))" } };
|
|
123
|
+
function T(e, a, c, p, A, o) {
|
|
124
|
+
const u = r("CButton"), m = r("CInput"), t = r("CField"), C = r("CPhoneInput");
|
|
125
|
+
return y(), M("div", {
|
|
126
|
+
class: $([{
|
|
127
|
+
"full-screen": o.isFullScreen,
|
|
129
128
|
"modal-overlay": !0
|
|
130
129
|
}, "font-inter"]),
|
|
131
|
-
onClickPassive: a[5] || (a[5] =
|
|
130
|
+
onClickPassive: a[5] || (a[5] = _((...s) => o.close && o.close(...s), ["self"]))
|
|
132
131
|
}, [
|
|
133
132
|
d("div", {
|
|
134
|
-
style:
|
|
133
|
+
style: I(!o.isFullScreen && { padding: "calc(3 * var(--rem))" }),
|
|
135
134
|
class: "modal-container"
|
|
136
135
|
}, [
|
|
137
|
-
|
|
136
|
+
o.isFullScreen ? (y(), N(u, {
|
|
138
137
|
key: 0,
|
|
139
138
|
class: "modal-close",
|
|
140
139
|
pattern: "tertiary",
|
|
141
140
|
type: "none",
|
|
142
141
|
circle: "",
|
|
143
142
|
icon: "x",
|
|
144
|
-
onClick:
|
|
145
|
-
}, null, 8, ["onClick"])) :
|
|
146
|
-
d("div",
|
|
147
|
-
d("div",
|
|
148
|
-
|
|
143
|
+
onClick: o.close
|
|
144
|
+
}, null, 8, ["onClick"])) : V("", !0),
|
|
145
|
+
d("div", q, [
|
|
146
|
+
d("div", B, h(e.$t("_common:edit", { thing: e.$t("_common:company") })), 1),
|
|
147
|
+
l(t, {
|
|
149
148
|
label: e.$t("_common:companyName").capitalize(),
|
|
150
149
|
validator: p.v$.name,
|
|
151
|
-
messages:
|
|
150
|
+
messages: o.messages.name,
|
|
152
151
|
"label-position": "inside",
|
|
153
152
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
154
153
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
|
|
154
|
+
default: n(() => [
|
|
155
|
+
l(m, {
|
|
157
156
|
ref: "name",
|
|
158
157
|
modelValue: e.name,
|
|
159
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
158
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => e.name = s),
|
|
160
159
|
disabled: c.isPublicForm ? !1 : !e.can("company", "modify"),
|
|
161
160
|
placeholder: e.$t("_common:companyName").capitalize(),
|
|
162
161
|
size: "medium"
|
|
@@ -164,30 +163,30 @@ function D(e, a, c, p, Y, s) {
|
|
|
164
163
|
]),
|
|
165
164
|
_: 1
|
|
166
165
|
}, 8, ["label", "validator", "messages"]),
|
|
167
|
-
|
|
166
|
+
l(t, {
|
|
168
167
|
label: e.$t("_common:firstName").capitalize(),
|
|
169
168
|
"label-position": "inside",
|
|
170
169
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
171
170
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
|
|
171
|
+
default: n(() => [
|
|
172
|
+
l(m, {
|
|
174
173
|
ref: "reference",
|
|
175
174
|
modelValue: e.firstName,
|
|
176
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
177
|
-
disabled:
|
|
175
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => e.firstName = s),
|
|
176
|
+
disabled: o.notCurrentUser,
|
|
178
177
|
placeholder: e.$t("_common:firstName").capitalize(),
|
|
179
178
|
size: "medium",
|
|
180
179
|
"custom-class": "!rounded-l-[7px]"
|
|
181
180
|
}, null, 8, ["modelValue", "disabled", "placeholder"]),
|
|
182
|
-
|
|
181
|
+
l(t, {
|
|
183
182
|
label: e.$t("_common:lastName").capitalize(),
|
|
184
183
|
"label-position": "inside"
|
|
185
184
|
}, {
|
|
186
|
-
default:
|
|
187
|
-
|
|
185
|
+
default: n(() => [
|
|
186
|
+
l(m, {
|
|
188
187
|
modelValue: e.lastName,
|
|
189
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
190
|
-
disabled:
|
|
188
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => e.lastName = s),
|
|
189
|
+
disabled: o.notCurrentUser,
|
|
191
190
|
placeholder: e.$t("_common:lastName").capitalize(),
|
|
192
191
|
size: "medium"
|
|
193
192
|
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
@@ -197,18 +196,18 @@ function D(e, a, c, p, Y, s) {
|
|
|
197
196
|
]),
|
|
198
197
|
_: 1
|
|
199
198
|
}, 8, ["label"]),
|
|
200
|
-
|
|
199
|
+
l(t, {
|
|
201
200
|
validator: p.v$.email,
|
|
202
|
-
messages:
|
|
201
|
+
messages: o.messages.email,
|
|
203
202
|
label: e.$t("_common:email").capitalize(),
|
|
204
203
|
"label-position": "inside",
|
|
205
204
|
style: { "margin-bottom": "calc(1.5 * var(--rem))" }
|
|
206
205
|
}, {
|
|
207
|
-
default:
|
|
208
|
-
|
|
206
|
+
default: n(() => [
|
|
207
|
+
l(m, {
|
|
209
208
|
ref: "email",
|
|
210
209
|
modelValue: e.email,
|
|
211
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
210
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => e.email = s),
|
|
212
211
|
modelModifiers: { trim: !0 },
|
|
213
212
|
disabled: !c.isPublicForm,
|
|
214
213
|
placeholder: e.$t("_common:email").capitalize(),
|
|
@@ -217,26 +216,26 @@ function D(e, a, c, p, Y, s) {
|
|
|
217
216
|
]),
|
|
218
217
|
_: 1
|
|
219
218
|
}, 8, ["validator", "messages", "label"]),
|
|
220
|
-
|
|
219
|
+
l(C, {
|
|
221
220
|
ref: "cellphone",
|
|
222
221
|
modelValue: e.cellphone,
|
|
223
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
222
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => e.cellphone = s),
|
|
224
223
|
"default-region": e.companyRegion,
|
|
225
|
-
disabled:
|
|
224
|
+
disabled: o.notCurrentUser,
|
|
226
225
|
label: e.$t("_common:cellphone").capitalize(),
|
|
227
226
|
"label-position": "inside",
|
|
228
227
|
size: "medium"
|
|
229
228
|
}, null, 8, ["modelValue", "default-region", "disabled", "label"]),
|
|
230
|
-
|
|
231
|
-
loading:
|
|
229
|
+
l(u, {
|
|
230
|
+
loading: o.isPosting,
|
|
232
231
|
type: "secondary",
|
|
233
232
|
wide: "",
|
|
234
233
|
size: "medium",
|
|
235
234
|
style: { "margin-top": "calc(3 * var(--rem))" },
|
|
236
|
-
onClick:
|
|
235
|
+
onClick: o.save
|
|
237
236
|
}, {
|
|
238
|
-
default:
|
|
239
|
-
|
|
237
|
+
default: n(() => [
|
|
238
|
+
z(h(e.$t("_common:save", { thing: e.$t("_common:company") })), 1)
|
|
240
239
|
]),
|
|
241
240
|
_: 1
|
|
242
241
|
}, 8, ["loading", "onClick"])
|
|
@@ -244,7 +243,7 @@ function D(e, a, c, p, Y, s) {
|
|
|
244
243
|
], 4)
|
|
245
244
|
], 34);
|
|
246
245
|
}
|
|
247
|
-
const
|
|
246
|
+
const W = /* @__PURE__ */ v(k, [["render", T], ["__scopeId", "data-v-3e33357c"]]);
|
|
248
247
|
export {
|
|
249
|
-
|
|
248
|
+
W as default
|
|
250
249
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as T } from "./mapFormMixin-
|
|
2
|
-
import { B as k } from "./BlockMedia-
|
|
3
|
-
import { t as w } from "./template-
|
|
4
|
-
import { T as L } from "./DocTextEditor-
|
|
5
|
-
import { _ as
|
|
1
|
+
import { m as T } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { B as k } from "./BlockMedia-CrmRCTpi.js";
|
|
3
|
+
import { t as w } from "./template-B4OhhS85.js";
|
|
4
|
+
import { T as L } from "./DocTextEditor-CblX6a9b.js";
|
|
5
|
+
import { _ as f, d, o as l, U as s, j as p, y as b, ah as $, ae as C, ag as S, n as x, b4 as N, b as i, f as h, w as m, c as u, e as _, T as E } from "./main-BI2UvBxx.js";
|
|
6
6
|
import { i as F } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const M = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -23,7 +23,7 @@ const M = {
|
|
|
23
23
|
class: "flex w-full flex-col justify-center",
|
|
24
24
|
style: { flex: "1 1 auto" }
|
|
25
25
|
};
|
|
26
|
-
function j(e, t, n,
|
|
26
|
+
function j(e, t, n, g, v, o) {
|
|
27
27
|
return ["horizontal"].includes(n.layout) ? (l(), d("div", B, [
|
|
28
28
|
s(e.$slots, "logo"),
|
|
29
29
|
p("div", V, [
|
|
@@ -46,7 +46,7 @@ function j(e, t, n, v, g, o) {
|
|
|
46
46
|
s(e.$slots, "postText")
|
|
47
47
|
], 2));
|
|
48
48
|
}
|
|
49
|
-
const U = /* @__PURE__ */
|
|
49
|
+
const U = /* @__PURE__ */ f(M, [["render", j]]), z = {
|
|
50
50
|
name: "StaticLayout",
|
|
51
51
|
i18nOptions: {
|
|
52
52
|
namespaces: "staticLayout",
|
|
@@ -54,7 +54,7 @@ const U = /* @__PURE__ */ h(M, [["render", j]]), z = {
|
|
|
54
54
|
},
|
|
55
55
|
components: {
|
|
56
56
|
DocumentLogotype: x(
|
|
57
|
-
() => import("./DocumentLogotype-
|
|
57
|
+
() => import("./DocumentLogotype-BBA1HLK3.js")
|
|
58
58
|
),
|
|
59
59
|
StaticComboLayout: U,
|
|
60
60
|
TextEditor: L
|
|
@@ -107,15 +107,15 @@ const U = /* @__PURE__ */ h(M, [["render", j]]), z = {
|
|
|
107
107
|
interpolateString: $
|
|
108
108
|
}
|
|
109
109
|
}, A = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, I = ["innerHTML"];
|
|
110
|
-
function D(e, t, n,
|
|
110
|
+
function D(e, t, n, g, v, o) {
|
|
111
111
|
const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
|
|
112
112
|
return l(), d("div", {
|
|
113
113
|
class: b([[`is-layout-${e.layout}`], "dont-break-out hyphens-auto flex w-full flex-col break-words"]),
|
|
114
114
|
style: { "word-wrap": "break-word", "word-break": "break-word" }
|
|
115
115
|
}, [
|
|
116
|
-
|
|
116
|
+
h(y, { layout: e.layout }, {
|
|
117
117
|
logo: m(() => [
|
|
118
|
-
|
|
118
|
+
h(c, {
|
|
119
119
|
modelValue: e.logotype,
|
|
120
120
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.logotype = a),
|
|
121
121
|
"show-logo": e.showLogo,
|
|
@@ -191,7 +191,7 @@ function D(e, t, n, v, g, o) {
|
|
|
191
191
|
}, 8, ["layout"])
|
|
192
192
|
], 2);
|
|
193
193
|
}
|
|
194
|
-
const O = /* @__PURE__ */
|
|
194
|
+
const O = /* @__PURE__ */ f(z, [["render", D], ["__scopeId", "data-v-71f38644"]]), q = {
|
|
195
195
|
name: "ContentWrapper",
|
|
196
196
|
components: {
|
|
197
197
|
StaticCombo: O,
|
|
@@ -228,7 +228,7 @@ const O = /* @__PURE__ */ h(z, [["render", D], ["__scopeId", "data-v-71f38644"]]
|
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
}, W = { class: "content-spacing" };
|
|
231
|
-
function P(e, t, n,
|
|
231
|
+
function P(e, t, n, g, v, o) {
|
|
232
232
|
const c = i("BlockMedia"), r = i("StaticCombo");
|
|
233
233
|
return l(), d("div", E(e.$attrs, {
|
|
234
234
|
style: { color: o.color, textAlign: o.textAlign },
|
|
@@ -240,7 +240,7 @@ function P(e, t, n, v, g, o) {
|
|
|
240
240
|
class: "content-media"
|
|
241
241
|
}, null, 8, ["media"])) : _("", !0),
|
|
242
242
|
p("div", W, [
|
|
243
|
-
|
|
243
|
+
h(r, {
|
|
244
244
|
"has-hover": n.hasHover,
|
|
245
245
|
_document: e._document,
|
|
246
246
|
_value: {
|
|
@@ -257,7 +257,7 @@ function P(e, t, n, v, g, o) {
|
|
|
257
257
|
])
|
|
258
258
|
], 16);
|
|
259
259
|
}
|
|
260
|
-
const Y = /* @__PURE__ */
|
|
260
|
+
const Y = /* @__PURE__ */ f(q, [["render", P], ["__scopeId", "data-v-2f78775e"]]);
|
|
261
261
|
export {
|
|
262
262
|
Y as default
|
|
263
263
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as z } from "./mapFormMixin-
|
|
2
|
-
import { T as B } from "./ThemeColorRow-
|
|
3
|
-
import { b as T } from "./helpers-
|
|
4
|
-
import { _ as w, N as U, d as u, o as l, j as n, T as x,
|
|
5
|
-
import { b as I } from "./CDropdownItem-
|
|
1
|
+
import { m as z } from "./mapFormMixin-DmIyfVCN.js";
|
|
2
|
+
import { T as B } from "./ThemeColorRow-BiIviRnJ.js";
|
|
3
|
+
import { b as T } from "./helpers-DdvMGJyI.js";
|
|
4
|
+
import { _ as w, N as U, d as u, o as l, j as n, T as x, ai as f, an as y, e as p, U as $, X as b, y as L, b as g, f as v, c as S, F as V, q as _, t as h, ad as M, w as k, s as C, n as R, au as N } from "./main-BI2UvBxx.js";
|
|
5
|
+
import { b as I } from "./CDropdownItem-BU65rYaX.js";
|
|
6
6
|
const K = {
|
|
7
7
|
name: "CSliderThumb",
|
|
8
8
|
mixins: [U],
|
|
@@ -600,10 +600,10 @@ function le(e, t, s, a, r, i) {
|
|
|
600
600
|
}
|
|
601
601
|
const de = /* @__PURE__ */ w(ne, [["render", le], ["__scopeId", "data-v-415e3658"]]), ue = {
|
|
602
602
|
image: R(
|
|
603
|
-
() => import("./ImageSelectModal-
|
|
603
|
+
() => import("./ImageSelectModal-Dd9le6p5.js")
|
|
604
604
|
),
|
|
605
605
|
video: R(
|
|
606
|
-
() => import("./VideoSelectModal-
|
|
606
|
+
() => import("./VideoSelectModal-DdmGQUJs.js")
|
|
607
607
|
)
|
|
608
608
|
}, me = {
|
|
609
609
|
name: "CoverBlockSettings",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import n from "./AnswerModal-
|
|
2
|
-
import { _ as t, b as c, c as r, o as s } from "./main-
|
|
1
|
+
import n from "./AnswerModal-DER90JgH.js";
|
|
2
|
+
import { _ as t, b as c, c as r, o as s } from "./main-BI2UvBxx.js";
|
|
3
3
|
const u = {
|
|
4
4
|
components: {
|
|
5
5
|
AnswerModal: n
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as L } from "./DocumentVoided-
|
|
2
|
-
import { w as A, C as I, a as V } from "./CDropdownItem-
|
|
3
|
-
import {
|
|
4
|
-
import { C as U } from "./CPhoneFormat-
|
|
1
|
+
import { D as L } from "./DocumentVoided-AL_vXoWD.js";
|
|
2
|
+
import { w as A, C as I, a as V } from "./CDropdownItem-BU65rYaX.js";
|
|
3
|
+
import { a7 as B, d as s, o as n, j as o, U as P, F as _, q as N, e as d, c as y, t as i, w as v, J as j, y as x, _ as $, ba as S, af as q, b as p, f as b, s as w, aE as E, bb as O, bc as T, bd as M } from "./main-BI2UvBxx.js";
|
|
4
|
+
import { C as U } from "./CPhoneFormat-CSys3pPM.js";
|
|
5
5
|
const J = { style: { "margin-bottom": "1em", border: "1px solid hsl(0, 0%, 84%)", "border-radius": "3px" } }, G = { class: "flex items-center p-4" }, H = { class: "mb-1" }, K = { class: "flex flex-col space-y-1 text-sm" }, Q = ["href"], W = ["href"], R = /* @__PURE__ */ B({
|
|
6
6
|
__name: "PublicContactDetails",
|
|
7
7
|
props: {
|