@cling-se/widget 0.19.3 → 0.19.4
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 -2
- package/dist/{AddClientCallout-DuuNDL4D.js → AddClientCallout-BfBl04bU.js} +10 -10
- package/dist/{AnswerModal-D3EqaCFZ.js → AnswerModal-BSakBDNJ.js} +3 -3
- package/dist/{AttachmentItem-kRFxlzlC.js → AttachmentItem-BLGn1ILf.js} +14 -14
- package/dist/{BaseUpload-BxYInU7o.js → BaseUpload-CUaYnXBn.js} +2 -2
- package/dist/{BlockMedia--73N_Of0.js → BlockMedia-CbsL1ZZR.js} +14 -14
- package/dist/{CCallout-ChKgPAm2.js → CCallout-BezZlOfm.js} +2 -2
- package/dist/{CCurrencyDropdown-GcQqVqCs.js → CCurrencyDropdown-xdp_13tB.js} +6 -6
- package/dist/{CDropdownItem-CrGOya-D.js → CDropdownItem-CjTBhP8h.js} +14 -14
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CyUMgjqE.js → CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js} +13 -13
- package/dist/{CPhoneFormat-d9r8v4kT.js → CPhoneFormat-CdD0NkFL.js} +1 -1
- package/dist/{CPhoneInput-DbDLU0AC.js → CPhoneInput-CgV-rBLW.js} +12 -12
- package/dist/{CPriceInput-BqOw7bdS.js → CPriceInput-VMyB3kTX.js} +5 -5
- package/dist/{CSelect-BwpgSn0z.js → CSelect-BpZYcMEc.js} +6 -6
- package/dist/{CSkeleton.vue_vue_type_script_setup_true_lang-C3CzyV_p.js → CSkeleton.vue_vue_type_script_setup_true_lang-vOwtNEFo.js} +1 -1
- package/dist/{ClientAutocomplete-CvpqyHTG.js → ClientAutocomplete-DAlOBlRj.js} +19 -19
- package/dist/{ClientModal-CYTMaWid.js → ClientModal-B5J8NblQ.js} +24 -24
- package/dist/{ColorPicker-CEpFbxOm.js → ColorPicker-BBPCRucQ.js} +17 -17
- package/dist/{CompanyModal-BN3P5pxH.js → CompanyModal-D0iOqYPp.js} +10 -10
- package/dist/{ContentWrapper-CxL1K8Pf.js → ContentWrapper-Jp2A9A1G.js} +19 -19
- package/dist/{CoverBlockSettings-buQlTBr8.js → CoverBlockSettings-UVNE3YWj.js} +33 -33
- package/dist/{DocAnswer-DniRIWLM.js → DocAnswer-BDqoRdYy.js} +2 -2
- package/dist/{DocDetails-DQlItuAy.js → DocDetails-CQHUQYVe.js} +57 -57
- package/dist/{DocForm-DPnYrMM6.js → DocForm-BU4Mx9Fi.js} +26 -26
- package/dist/{DocFormSend-DDWp03Z4.js → DocFormSend-DXtfCSEG.js} +2 -2
- package/dist/{DocLinks-B_WHyJXJ.js → DocLinks-zF-W4hpD.js} +2 -2
- package/dist/{DocModalBase-DMoFbE_V.js → DocModalBase-CneXY73m.js} +1 -1
- package/dist/{DocPrint-CJnCR4sj.js → DocPrint-DQkI5BgD.js} +11 -11
- package/dist/{DocReceipt-CLEzesSd.js → DocReceipt-DJfBiwUr.js} +12 -12
- package/dist/{DocSendReminder-eVB0EpW3.js → DocSendReminder-CSxB-KWG.js} +13 -13
- package/dist/{DocTextEditor-DiiBwSqL.js → DocTextEditor-CSqqlABA.js} +8 -8
- package/dist/{DocTimeline-bTf4PXFt.js → DocTimeline-CDTh_czd.js} +19 -19
- package/dist/{DocumentClient-BliWFKWD.js → DocumentClient-COSPT21G.js} +5 -5
- package/dist/{DocumentLayout-BYF8MkQ6.js → DocumentLayout-CweRWvIc.js} +31 -31
- package/dist/{DocumentLogotype-CoAoOKFT.js → DocumentLogotype-D0cjO9XC.js} +4 -4
- package/dist/{DocumentVoided-BoE_3xZ-.js → DocumentVoided-BuNs74Da.js} +1 -1
- package/dist/{EmbedInput-BY9Tk0Fn.js → EmbedInput-BohNHou7.js} +8 -8
- package/dist/{EmbedSettings-o4XPxFEg.js → EmbedSettings-DrgFPrd-.js} +3 -3
- package/dist/{ErrorCallout-YB_Cq8zQ.js → ErrorCallout-BVWDsp2J.js} +1 -1
- package/dist/{FilePreviewModal-Bb88xu1a.js → FilePreviewModal-BVEsg1jk.js} +10 -10
- package/dist/{Flag-BxyVrkyQ.js → Flag-B0cEHRlt.js} +1 -1
- package/dist/{HeaderSettings-bLIJeluc.js → HeaderSettings-CGaJ7akp.js} +35 -35
- package/dist/{ImageSelectModal-BvJoFbVg.js → ImageSelectModal-D2A6akvb.js} +3 -3
- package/dist/{ImageUploadWrapper-Cg5PXmyH.js → ImageUploadWrapper-BHqbK12Z.js} +2 -2
- package/dist/{Index-B1W3BsnU.js → Index--WcKCsGG.js} +10 -10
- package/dist/{Index-4EhAq9jD.js → Index-3Yts7KXY.js} +17 -17
- package/dist/{Index-DxOS1Bcc.js → Index-6zEMdU6I.js} +4 -4
- package/dist/{Index-BV5EPUqw.js → Index-B518kuyT.js} +7 -7
- package/dist/{Index-DaDw8sm-.js → Index-BGKHEKp8.js} +4 -4
- package/dist/{Index-u8OyhXD6.js → Index-BNzgoLmd.js} +5 -5
- package/dist/{Index-8buSki3l.js → Index-BPKB1HUJ.js} +1 -1
- package/dist/{Index-D6qezTjd.js → Index-BSlfSspe.js} +13 -13
- package/dist/{Index-D0m02lsA.js → Index-C4ajjo5G.js} +1 -1
- package/dist/{Index-Y--RuSty.js → Index-CAG_M3hA.js} +12 -12
- package/dist/{Index-CmKBuzvS.js → Index-CEBnyO4l.js} +5 -5
- package/dist/{Index-I_htzZi9.js → Index-CFpRQnNq.js} +6 -6
- package/dist/{Index-CLmpmEm1.js → Index-CLFDz6SJ.js} +10 -10
- package/dist/{Index-BBIJa9tx.js → Index-CN6ts_Xp.js} +19 -19
- package/dist/{Index-Cfuzo8uM.js → Index-CSiHZutC.js} +10 -10
- package/dist/{Index-PIl16ugG.js → Index-CXMNxdAF.js} +6 -6
- package/dist/Index-C_pXu_0v.js +52 -0
- package/dist/{Index-2i28IE9s.js → Index-Cxc5s2dg.js} +7 -7
- package/dist/{Index-yczwn2__.js → Index-CzTIqHwe.js} +3 -3
- package/dist/{Index-tSL4w68e.js → Index-D05FW5AK.js} +24 -23
- package/dist/{Index-B9QJAmKi.js → Index-D5YE8uWt.js} +2 -2
- package/dist/{Index-DFutxc_k.js → Index-DPVl5ugc.js} +4 -4
- package/dist/{Index-7wOqPn5F.js → Index-DRaKysrP.js} +16 -16
- package/dist/{Index-BHE3BADD.js → Index-DU1wpDH9.js} +2 -2
- package/dist/{Index-nbUT4Y0t.js → Index-Dbmv21li.js} +3 -3
- package/dist/{Index-Bpz-Fyp-.js → Index-DmOHKqoS.js} +2 -2
- package/dist/{Index-Btz58lgU.js → Index-DylKlBB9.js} +2 -2
- package/dist/{Index-BVvlz0QZ.js → Index-I98TuKi1.js} +19 -19
- package/dist/{Index-Sdko3L9J.js → Index-K56XRGlg.js} +20 -20
- package/dist/{Index-DA_DXCrr.js → Index-LuLYEISf.js} +22 -22
- package/dist/{Index-BPkIQhtP.js → Index-Y4-687rr.js} +4 -4
- package/dist/{Index-BfTkhsEB.js → Index-eczQUYpI.js} +4 -4
- package/dist/{Index-CKm-Ab2J.js → Index-to2qkBy9.js} +3 -3
- package/dist/Index-yMgZ5Gcs.js +4 -0
- package/dist/{Index.vue_vue_type_script_lang-DQvhsOS6.js → Index.vue_vue_type_script_lang-V786MsVt.js} +2 -2
- package/dist/{InputToggleRow-d20mUVX2.js → InputToggleRow-TizMrUy3.js} +5 -5
- package/dist/{ManualPopover-Cj5mxzND.js → ManualPopover-D5s82nTD.js} +5 -5
- package/dist/{MediaWrapper-DWUR2K0S.js → MediaWrapper-B8QJIu96.js} +5 -5
- package/dist/{NotBindingText-Dj7llcNG.js → NotBindingText-CRNgx9DB.js} +2 -2
- package/dist/{PackageGroup-BNuMEute.js → PackageGroup-BSF-af5b.js} +23 -23
- package/dist/{PdfTerms-DdHFdJF8.js → PdfTerms-DZiOm01r.js} +6 -6
- package/dist/{PdfViewer-w58AEZEU.js → PdfViewer-C4KmWufw.js} +59 -59
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-DAy6tOo4.js → PlainHtml.vue_vue_type_script_setup_true_lang-Tt5bu7Nw.js} +1 -1
- package/dist/{PriceHeader-BBSS5378.js → PriceHeader-9PyzP2JW.js} +74 -74
- package/dist/{SearchApi-DiNXQk3K.js → SearchApi-Dqw0KfAD.js} +3 -3
- package/dist/{SendForm-CRCrqy3V.js → SendForm-DwIGeVAZ.js} +11 -11
- package/dist/{Setup-ClnyQJWX.js → Setup-2CQuTokL.js} +1 -1
- package/dist/{SmartList-ICs2gnpw.js → SmartList-DlivOpMQ.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-DJO7tWIs.js → Sortable.vue_vue_type_script_setup_true_lang-B8DZEh_u.js} +92 -92
- package/dist/{TermsSettings-BDBrMOTk.js → TermsSettings-C3HFNpbX.js} +17 -17
- package/dist/{ThemeColorRow-ye4CbnQe.js → ThemeColorRow-j7lkaEKS.js} +8 -8
- package/dist/{ToggleBinding-CCVOOpHC.js → ToggleBinding-BTBbFc-F.js} +4 -4
- package/dist/{UploadModal-CE3Gyz8g.js → UploadModal-DEwQZ_8a.js} +8 -8
- package/dist/{VideoPlayerInput-DcYaE3Xn.js → VideoPlayerInput-32LiwyOw.js} +7 -7
- package/dist/{VideoPlayerSettings-DTP_f2k2.js → VideoPlayerSettings-DkzjgwLt.js} +2 -2
- package/dist/{VideoSelectModal-D4VpAg8Z.js → VideoSelectModal-DmEmB4Cx.js} +10 -10
- package/dist/{focusDrawerMixin-Dmt0M_ez.js → focusDrawerMixin-D13Ms6Jk.js} +1 -1
- package/dist/{formDrawerState-BTI6RBrh.js → formDrawerState-CRhWaymS.js} +1 -1
- package/dist/{helpers-BipYFMq7.js → helpers-B86zZNtk.js} +1 -1
- package/dist/{index-Bei9XuEH.js → index-BiwH6W9z.js} +27 -27
- package/dist/{index-CrYE_wD5.js → index-D3TD9uhN.js} +34 -34
- package/dist/{index-CAX6ZePf.js → index-DAIb9mjE.js} +1 -1
- package/dist/{index-mN_zKU2T.js → index-Db7Oe7W3.js} +7 -18
- package/dist/{index-k3WjZPJe.js → index-Kb9qkTlP.js} +21 -21
- package/dist/{index-BsNrnPKD.js → index-h9L0RGv3.js} +5 -5
- package/dist/{index-BLB7xfoK.js → index-tXDuIxx9.js} +41 -41
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +145 -145
- package/dist/{main-C3pW_mbm.js → main-Dr3neB7n.js} +9140 -9186
- package/dist/{mapFormMixin-CxDDheFN.js → mapFormMixin-Bkpm1wEf.js} +15 -15
- package/dist/omit-Ciu7kNcD.js +56 -0
- package/dist/{publicSenderState-CDeVVN6w.js → publicSenderState-CEfzhj0R.js} +1 -1
- package/dist/{splitpanes-Co3TdG3A.js → splitpanes-AhZAy_Th.js} +1 -1
- package/dist/{template-CERxPxb1.js → template-MfjSWRyx.js} +1 -1
- package/dist/{tippy.esm-x-zxHTNy.js → tippy.esm-CJxvo3UM.js} +5 -5
- package/dist/{useTermsModal-C01kFCTx.js → useTermsModal-Bp1LFsXg.js} +6 -6
- package/dist/{utils-BIrpSTl7.js → utils-DgTzzSIp.js} +1 -1
- package/dist/{validation-uD43rMVf.js → validation-J27tpgZs.js} +2 -2
- package/dist/widget.css +1 -1
- package/package.json +5 -5
- package/dist/Index-C8LrEVrS.js +0 -52
- package/dist/Index-CtDVS-ts.js +0 -4
- package/dist/omit-CCSRNlMn.js +0 -56
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { S as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { c as P, r as z, g as N } from "./helpers-
|
|
1
|
+
import { S as O } from "./SearchApi-Dqw0KfAD.js";
|
|
2
|
+
import { _ as b, I as H, a2 as E, a3 as F, o as d, b as c, d as V, L as S, J as m, ad as v, w as p, O as $, P as T, s as w, l as C, K as y, f, F as x, k as L, n as A, a1 as _, e as g, v as h, aH as D, c as I, H as R } from "./main-Dr3neB7n.js";
|
|
3
|
+
import { c as P, r as z, g as N } from "./helpers-B86zZNtk.js";
|
|
4
4
|
const q = {
|
|
5
5
|
name: "CAutocomplete",
|
|
6
6
|
components: {
|
|
7
|
-
CInput:
|
|
7
|
+
CInput: H
|
|
8
8
|
},
|
|
9
|
-
mixins: [
|
|
9
|
+
mixins: [E, F],
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: {
|
|
12
12
|
type: [Number, String],
|
|
@@ -382,7 +382,7 @@ function j(e, t, i, l, s, o) {
|
|
|
382
382
|
onIconRightClick: o.rightIconClick,
|
|
383
383
|
onIconClick: t[4] || (t[4] = (n) => e.$emit("icon-click", n))
|
|
384
384
|
}), null, 16, ["modelValue", "size", "loading", "rounded", "icon", "icon-right", "icon-right-clickable", "icon-pack", "maxlength", "autocomplete", "onUpdate:modelValue", "onFocus", "onBlur", "onKeydown", "onIconRightClick"]),
|
|
385
|
-
V(
|
|
385
|
+
V(_, { name: "fade" }, {
|
|
386
386
|
default: p(() => [
|
|
387
387
|
$(w("div", {
|
|
388
388
|
ref: "dropdown",
|
|
@@ -396,7 +396,7 @@ function j(e, t, i, l, s, o) {
|
|
|
396
396
|
o.hasHeaderSlot ? (d(), c("div", M, [
|
|
397
397
|
y(e.$slots, "header")
|
|
398
398
|
])) : f("", !0),
|
|
399
|
-
(d(!0), c(x, null,
|
|
399
|
+
(d(!0), c(x, null, L(i.data, (n, u) => (d(), c("a", {
|
|
400
400
|
key: u,
|
|
401
401
|
class: A([{ "is-hovered": n === s.hovered }, "dropdown-item"]),
|
|
402
402
|
onClick: (k) => o.setSelected(n, void 0, k)
|
|
@@ -424,15 +424,15 @@ function j(e, t, i, l, s, o) {
|
|
|
424
424
|
})
|
|
425
425
|
], 16);
|
|
426
426
|
}
|
|
427
|
-
const
|
|
427
|
+
const J = /* @__PURE__ */ b(q, [["render", j]]), X = {
|
|
428
428
|
i18nOptions: {
|
|
429
429
|
namespaces: "components",
|
|
430
430
|
keyPrefix: "account.documentForm.clients"
|
|
431
431
|
},
|
|
432
432
|
name: "ClientAutocomplete",
|
|
433
433
|
components: {
|
|
434
|
-
SearchApi:
|
|
435
|
-
CAutocomplete:
|
|
434
|
+
SearchApi: O,
|
|
435
|
+
CAutocomplete: J
|
|
436
436
|
},
|
|
437
437
|
props: {
|
|
438
438
|
searchEnabled: {
|
|
@@ -472,21 +472,21 @@ const Y = /* @__PURE__ */ B(q, [["render", j]]), G = {
|
|
|
472
472
|
}));
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, Y = { style: { "line-height": "1.5" } }, G = { style: { "font-weight": "500" } }, Z = {
|
|
476
476
|
class: "text-gray-600",
|
|
477
477
|
style: { "font-size": "14px" }
|
|
478
478
|
}, ee = { key: 0 }, te = { key: 0 };
|
|
479
479
|
function ie(e, t, i, l, s, o) {
|
|
480
480
|
const a = g("CButton"), n = g("CAutocomplete"), u = g("SearchApi");
|
|
481
|
-
return d(),
|
|
482
|
-
default: p(({ fetch: k, isLoading:
|
|
481
|
+
return d(), I(u, { "custom-search": { endCustomer: !0 } }, {
|
|
482
|
+
default: p(({ fetch: k, isLoading: B }) => [
|
|
483
483
|
V(n, S({
|
|
484
484
|
placeholder: e.$t("search.placeholder"),
|
|
485
485
|
...e.$attrs,
|
|
486
486
|
...e.$props
|
|
487
487
|
}, {
|
|
488
488
|
data: s.results,
|
|
489
|
-
loading: i.showLoading &&
|
|
489
|
+
loading: i.showLoading && B,
|
|
490
490
|
filled: i.filled,
|
|
491
491
|
expanded: "",
|
|
492
492
|
"keep-first": "",
|
|
@@ -494,14 +494,14 @@ function ie(e, t, i, l, s, o) {
|
|
|
494
494
|
onSelect: t[1] || (t[1] = (r) => e.$emit("setClient", s.convertToNewClient(r)))
|
|
495
495
|
}), {
|
|
496
496
|
default: p(({ option: r }) => [
|
|
497
|
-
w("div",
|
|
498
|
-
w("div",
|
|
497
|
+
w("div", Y, [
|
|
498
|
+
w("div", G, h(r.name || r.email), 1),
|
|
499
499
|
w("div", Z, h(r.reference ? `${r.reference} · ` : "") + " " + h(r.workStreet || r.street || " "), 1)
|
|
500
500
|
])
|
|
501
501
|
]),
|
|
502
502
|
footer: p(() => [
|
|
503
503
|
i.searchEnabled && i.showEmpty ? (d(), c("div", ee, [
|
|
504
|
-
s.searchQuery && !s.results.length ? (d(),
|
|
504
|
+
s.searchQuery && !s.results.length ? (d(), I(a, {
|
|
505
505
|
key: 0,
|
|
506
506
|
type: "secondary",
|
|
507
507
|
pattern: "tertiary",
|
|
@@ -525,8 +525,8 @@ function ie(e, t, i, l, s, o) {
|
|
|
525
525
|
_: 1
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
-
const le = /* @__PURE__ */
|
|
528
|
+
const le = /* @__PURE__ */ b(X, [["render", ie]]);
|
|
529
529
|
export {
|
|
530
530
|
le as C,
|
|
531
|
-
|
|
531
|
+
J as a
|
|
532
532
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { C as L } from "./ClientAutocomplete-
|
|
2
|
-
import { _ as z,
|
|
3
|
-
import { C as oe, a as ne, w as
|
|
4
|
-
import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { C as ae } from "./CPhoneInput-
|
|
6
|
-
import { u as ie } from "./index-
|
|
7
|
-
import { r as se, a as $, e as re } from "./index-
|
|
8
|
-
import { o as de } from "./omit-
|
|
1
|
+
import { C as L } from "./ClientAutocomplete-DAlOBlRj.js";
|
|
2
|
+
import { _ as z, aU as j, o as f, b as h, O as Z, aV as H, s as i, ad as N, n as y, K as Y, J as G, ai as B, ap as K, m as P, ak as J, v as r, d as n, w as a, c as b, f as v, F as O, k as F, H as C, e as g, A as k, aj as Q, N as X, p as _, a as x, g as q, be as ee, aH as te } from "./main-Dr3neB7n.js";
|
|
3
|
+
import { C as oe, a as ne, w as E } from "./CDropdownItem-CjTBhP8h.js";
|
|
4
|
+
import { _ as le } from "./CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js";
|
|
5
|
+
import { C as ae } from "./CPhoneInput-CgV-rBLW.js";
|
|
6
|
+
import { u as ie } from "./index-tXDuIxx9.js";
|
|
7
|
+
import { r as se, a as $, e as re } from "./index-DAIb9mjE.js";
|
|
8
|
+
import { o as de } from "./omit-Ciu7kNcD.js";
|
|
9
9
|
const me = {
|
|
10
10
|
name: "CRadio",
|
|
11
11
|
mixins: [j]
|
|
@@ -16,7 +16,7 @@ function fe(e, t, s, d, u, l) {
|
|
|
16
16
|
class: y([[`is-${e.size}`, { "is-disabled": e.disabled }], "b-radio radio"]),
|
|
17
17
|
disabled: e.disabledOrUndefined,
|
|
18
18
|
onClick: t[2] || (t[2] = (...c) => e.focus && e.focus(...c)),
|
|
19
|
-
onKeydown: t[3] || (t[3] =
|
|
19
|
+
onKeydown: t[3] || (t[3] = G(N((c) => e.$refs.label.click(), ["prevent"]), ["enter"]))
|
|
20
20
|
}, [
|
|
21
21
|
Z(i("input", {
|
|
22
22
|
ref: "input",
|
|
@@ -29,13 +29,13 @@ function fe(e, t, s, d, u, l) {
|
|
|
29
29
|
onClick: t[1] || (t[1] = N(() => {
|
|
30
30
|
}, ["stop"]))
|
|
31
31
|
}, null, 8, pe), [
|
|
32
|
-
[
|
|
32
|
+
[H, e.computedValue]
|
|
33
33
|
]),
|
|
34
34
|
i("span", {
|
|
35
35
|
class: y([`is-${e.type}`, "check"])
|
|
36
36
|
}, null, 2),
|
|
37
37
|
i("span", ce, [
|
|
38
|
-
|
|
38
|
+
Y(e.$slots, "default")
|
|
39
39
|
])
|
|
40
40
|
], 42, ue);
|
|
41
41
|
}
|
|
@@ -210,7 +210,7 @@ const he = {
|
|
|
210
210
|
"update:answer-method",
|
|
211
211
|
"submit"
|
|
212
212
|
],
|
|
213
|
-
mixins: [
|
|
213
|
+
mixins: [E],
|
|
214
214
|
props: {
|
|
215
215
|
requireReference: {
|
|
216
216
|
type: Boolean,
|
|
@@ -313,7 +313,7 @@ const he = {
|
|
|
313
313
|
reverseVat: "endCustomer.reverseVat",
|
|
314
314
|
doUpdateEndCustomer: "endCustomer.doUpdateEndCustomer"
|
|
315
315
|
}),
|
|
316
|
-
...
|
|
316
|
+
...P({
|
|
317
317
|
isPosting: "endCustomers/isPosting",
|
|
318
318
|
companyRegion: "application/companyRegion",
|
|
319
319
|
feature: "application/feature"
|
|
@@ -378,7 +378,7 @@ const he = {
|
|
|
378
378
|
}, ze = { class: "my-1 text-sm text-gray-600" }, Re = { class: "py-1 leading-5" }, De = { class: "text-xs opacity-70" }, Ue = { style: { "line-height": "1.25", padding: "4px 0" } }, qe = { style: { "font-size": "12px", opacity: "0.7" } }, Ae = {
|
|
379
379
|
key: 1,
|
|
380
380
|
class: "dropdown-field-wrapper flex min-w-0 flex-col"
|
|
381
|
-
}, Be = { class: "my-1 text-sm text-gray-600" },
|
|
381
|
+
}, Be = { class: "my-1 text-sm text-gray-600" }, Pe = { class: "max-w-[calc(16_*_var(--rem))] py-1 leading-5" }, Ee = { class: "truncate text-xs opacity-70" }, Te = { style: { "line-height": "1.25", padding: "4px 0" } }, We = {
|
|
382
382
|
class: "max-w-[calc(12_*_var(--rem))] truncate",
|
|
383
383
|
style: { "font-size": "12px", opacity: "0.7", "text-wrap": "wrap" }
|
|
384
384
|
}, Le = { style: { "margin-top": "calc(3 * var(--rem))" } };
|
|
@@ -882,9 +882,9 @@ function je(e, t, s, d, u, l) {
|
|
|
882
882
|
expanded: ""
|
|
883
883
|
}, {
|
|
884
884
|
default: a(() => [
|
|
885
|
-
i("div",
|
|
885
|
+
i("div", Pe, [
|
|
886
886
|
i("div", null, r(e.$t(`signMethod.${s.answerMethod.accept}.title`)), 1),
|
|
887
|
-
i("div",
|
|
887
|
+
i("div", Ee, r(e.$t(`signMethod.${s.answerMethod.accept}.content`)), 1)
|
|
888
888
|
])
|
|
889
889
|
]),
|
|
890
890
|
_: 1
|
|
@@ -930,10 +930,10 @@ function je(e, t, s, d, u, l) {
|
|
|
930
930
|
], 2))
|
|
931
931
|
]);
|
|
932
932
|
}
|
|
933
|
-
const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields:
|
|
933
|
+
const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec"]]), { mapFields: He } = B({
|
|
934
934
|
getterType: "forms/getField",
|
|
935
935
|
mutationType: "forms/updateField"
|
|
936
|
-
}),
|
|
936
|
+
}), Ye = {
|
|
937
937
|
name: "ClientModal",
|
|
938
938
|
i18nOptions: {
|
|
939
939
|
namespaces: "clientModal",
|
|
@@ -968,7 +968,7 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
968
968
|
FormClient: Ze
|
|
969
969
|
},
|
|
970
970
|
emits: ["close"],
|
|
971
|
-
mixins: [
|
|
971
|
+
mixins: [E],
|
|
972
972
|
props: {
|
|
973
973
|
documentClientIndex: {
|
|
974
974
|
type: Number,
|
|
@@ -1017,13 +1017,13 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
1017
1017
|
};
|
|
1018
1018
|
},
|
|
1019
1019
|
computed: {
|
|
1020
|
-
...
|
|
1020
|
+
...He({
|
|
1021
1021
|
endCustomer: "endCustomer"
|
|
1022
1022
|
}),
|
|
1023
1023
|
...Q("forms", {
|
|
1024
1024
|
formData: (e) => e.document2
|
|
1025
1025
|
}),
|
|
1026
|
-
...
|
|
1026
|
+
...P({
|
|
1027
1027
|
can: "application/can",
|
|
1028
1028
|
feature: "application/feature",
|
|
1029
1029
|
defaultClientType: "endCustomers/defaultClientType"
|
|
@@ -1128,14 +1128,14 @@ const Ze = /* @__PURE__ */ z(ye, [["render", je], ["__scopeId", "data-v-a49b2cec
|
|
|
1128
1128
|
});
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
|
-
},
|
|
1131
|
+
}, 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" };
|
|
1132
1132
|
function Ke(e, t, s, d, u, l) {
|
|
1133
1133
|
const c = g("CButton"), m = g("FormClient");
|
|
1134
1134
|
return f(), h("div", {
|
|
1135
1135
|
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",
|
|
1136
1136
|
onClickPassive: t[4] || (t[4] = N((...p) => l.close && l.close(...p), ["self"]))
|
|
1137
1137
|
}, [
|
|
1138
|
-
i("div",
|
|
1138
|
+
i("div", Ge, [
|
|
1139
1139
|
n(c, {
|
|
1140
1140
|
class: y([u.showMore ? "" : "sm:!hidden", "z-2 absolute right-4 top-4"]),
|
|
1141
1141
|
pattern: "tertiary",
|
|
@@ -1177,7 +1177,7 @@ function Ke(e, t, s, d, u, l) {
|
|
|
1177
1177
|
])
|
|
1178
1178
|
], 32);
|
|
1179
1179
|
}
|
|
1180
|
-
const Je = /* @__PURE__ */ z(
|
|
1180
|
+
const Je = /* @__PURE__ */ z(Ye, [["render", Ke]]), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1181
1181
|
__proto__: null,
|
|
1182
1182
|
default: Je
|
|
1183
1183
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as f, b as m, l as k, e as S, s as h, d as v,
|
|
1
|
+
import { o as f, b as m, l as k, e as S, s as h, d as v, O as R, bX as ee, v as Y, n as J, c as U, f as p, P as T, _ as te } from "./main-Dr3neB7n.js";
|
|
2
2
|
const re = "";
|
|
3
3
|
function H(e, t) {
|
|
4
4
|
t === void 0 && (t = {});
|
|
@@ -199,7 +199,7 @@ function pe(e, t, r) {
|
|
|
199
199
|
b: d(r, 255) * 255
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function G(e, t, r) {
|
|
203
203
|
e = d(e, 255), t = d(t, 255), r = d(r, 255);
|
|
204
204
|
var n = Math.max(e, t, r), a = Math.min(e, t, r), i = 0, s = 0, o = (n + a) / 2;
|
|
205
205
|
if (n === a)
|
|
@@ -293,7 +293,7 @@ function we(e) {
|
|
|
293
293
|
b: e & 255
|
|
294
294
|
};
|
|
295
295
|
}
|
|
296
|
-
var
|
|
296
|
+
var W = {
|
|
297
297
|
aliceblue: "#f0f8ff",
|
|
298
298
|
antiquewhite: "#faebd7",
|
|
299
299
|
aqua: "#00ffff",
|
|
@@ -471,8 +471,8 @@ function ke(e) {
|
|
|
471
471
|
if (e = e.trim().toLowerCase(), e.length === 0)
|
|
472
472
|
return !1;
|
|
473
473
|
var t = !1;
|
|
474
|
-
if (
|
|
475
|
-
e =
|
|
474
|
+
if (W[e])
|
|
475
|
+
e = W[e], t = !0;
|
|
476
476
|
else if (e === "transparent")
|
|
477
477
|
return { r: 0, g: 0, b: 0, a: 0, format: "name" };
|
|
478
478
|
var r = b.rgb.exec(e);
|
|
@@ -539,10 +539,10 @@ var Me = (
|
|
|
539
539
|
var t = q(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.v * 100);
|
|
540
540
|
return this.a === 1 ? "hsv(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsva(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
541
541
|
}, e.prototype.toHsl = function() {
|
|
542
|
-
var t =
|
|
542
|
+
var t = G(this.r, this.g, this.b);
|
|
543
543
|
return { h: t.h * 360, s: t.s, l: t.l, a: this.a };
|
|
544
544
|
}, e.prototype.toHslString = function() {
|
|
545
|
-
var t =
|
|
545
|
+
var t = G(this.r, this.g, this.b), r = Math.round(t.h * 360), n = Math.round(t.s * 100), a = Math.round(t.l * 100);
|
|
546
546
|
return this.a === 1 ? "hsl(".concat(r, ", ").concat(n, "%, ").concat(a, "%)") : "hsla(".concat(r, ", ").concat(n, "%, ").concat(a, "%, ").concat(this.roundA, ")");
|
|
547
547
|
}, e.prototype.toHex = function(t) {
|
|
548
548
|
return t === void 0 && (t = !1), K(this.r, this.g, this.b, t);
|
|
@@ -584,7 +584,7 @@ var Me = (
|
|
|
584
584
|
return "transparent";
|
|
585
585
|
if (this.a < 1)
|
|
586
586
|
return !1;
|
|
587
|
-
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(
|
|
587
|
+
for (var t = "#" + K(this.r, this.g, this.b, !1), r = 0, n = Object.entries(W); r < n.length; r++) {
|
|
588
588
|
var a = n[r], i = a[0], s = a[1];
|
|
589
589
|
if (t === s)
|
|
590
590
|
return i;
|
|
@@ -827,11 +827,11 @@ function Te(e, t, r, n, a, i) {
|
|
|
827
827
|
id: i.labelId,
|
|
828
828
|
for: r.label,
|
|
829
829
|
class: "vc-input__label"
|
|
830
|
-
},
|
|
830
|
+
}, Y(i.labelSpanText), 9, Re),
|
|
831
831
|
h(
|
|
832
832
|
"span",
|
|
833
833
|
Ee,
|
|
834
|
-
|
|
834
|
+
Y(r.desc),
|
|
835
835
|
1
|
|
836
836
|
/* TEXT */
|
|
837
837
|
)
|
|
@@ -842,7 +842,7 @@ H(Le);
|
|
|
842
842
|
F.render = Te;
|
|
843
843
|
F.__file = "src/components/editable-input/editable-input.vue";
|
|
844
844
|
F.install = A;
|
|
845
|
-
function
|
|
845
|
+
function P(e, t, r) {
|
|
846
846
|
return t < r ? e < t ? t : e > r ? r : e : e < r ? r : e > t ? t : e;
|
|
847
847
|
}
|
|
848
848
|
var B = {
|
|
@@ -870,7 +870,7 @@ var B = {
|
|
|
870
870
|
const { container: r } = this.$refs;
|
|
871
871
|
if (!r)
|
|
872
872
|
return;
|
|
873
|
-
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x =
|
|
873
|
+
const n = r.clientWidth, a = r.clientHeight, i = r.getBoundingClientRect().left + window.pageXOffset, s = r.getBoundingClientRect().top + window.pageYOffset, o = e.pageX || (e.touches ? e.touches[0].pageX : 0), u = e.pageY || (e.touches ? e.touches[0].pageY : 0), x = P(o - i, 0, n), c = P(u - s, 0, a), l = x / n, M = P(-(c / a) + 1, 0, 1);
|
|
874
874
|
this.onChange({
|
|
875
875
|
h: this.colors.hsv.h,
|
|
876
876
|
s: l,
|
|
@@ -1181,7 +1181,7 @@ var O = {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
};
|
|
1184
|
-
const je = { class: "vc-chrome-saturation-wrap" },
|
|
1184
|
+
const je = { class: "vc-chrome-saturation-wrap" }, Pe = { class: "vc-chrome-body" }, We = { class: "vc-chrome-controls" }, Ye = { class: "vc-chrome-color-wrap" }, Ge = ["aria-label"], qe = { class: "vc-chrome-sliders" }, Ke = { class: "vc-chrome-hue-wrap" }, Ze = {
|
|
1185
1185
|
key: 0,
|
|
1186
1186
|
class: "vc-chrome-alpha-wrap"
|
|
1187
1187
|
}, Je = {
|
|
@@ -1221,14 +1221,14 @@ function pt(e, t, r, n, a, i) {
|
|
|
1221
1221
|
onChange: i.childChange
|
|
1222
1222
|
}, null, 8, ["value", "onChange"])
|
|
1223
1223
|
]),
|
|
1224
|
-
h("div",
|
|
1225
|
-
h("div",
|
|
1226
|
-
h("div",
|
|
1224
|
+
h("div", Pe, [
|
|
1225
|
+
h("div", We, [
|
|
1226
|
+
h("div", Ye, [
|
|
1227
1227
|
h("div", {
|
|
1228
1228
|
"aria-label": `current color is ${e.colors.hex}`,
|
|
1229
1229
|
class: "vc-chrome-active-color",
|
|
1230
1230
|
style: k({ background: i.activeColor })
|
|
1231
|
-
}, null, 12,
|
|
1231
|
+
}, null, 12, Ge),
|
|
1232
1232
|
r.disableAlpha ? p("v-if", !0) : (f(), U(o, { key: 0 }))
|
|
1233
1233
|
]),
|
|
1234
1234
|
h("div", qe, [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { C as U } from "./CPhoneInput-
|
|
3
|
-
import { w as v } from "./CDropdownItem-
|
|
4
|
-
import { _ as F,
|
|
5
|
-
import { u as E } from "./index-
|
|
6
|
-
import { r as k, e as w } from "./index-
|
|
7
|
-
import { s as C, a as
|
|
8
|
-
const { mapFields:
|
|
1
|
+
import { _ as b } from "./CFormField.vue_vue_type_script_setup_true_lang-Cif8PyTV.js";
|
|
2
|
+
import { C as U } from "./CPhoneInput-CgV-rBLW.js";
|
|
3
|
+
import { w as v } from "./CDropdownItem-CjTBhP8h.js";
|
|
4
|
+
import { _ as F, ai as P, m as S, aj as f, a as M, g as l, e as r, o as y, b as N, s as d, c as V, f as z, v as h, d as i, w as m, H as I, l as _, n as $, ad as O } from "./main-Dr3neB7n.js";
|
|
5
|
+
import { u as E } from "./index-tXDuIxx9.js";
|
|
6
|
+
import { r as k, e as w } from "./index-DAIb9mjE.js";
|
|
7
|
+
import { s as C, a as R } from "./publicSenderState-CEfzhj0R.js";
|
|
8
|
+
const { mapFields: B } = P({
|
|
9
9
|
getterType: "forms/getField",
|
|
10
10
|
mutationType: "forms/updateField"
|
|
11
11
|
}), q = {
|
|
@@ -52,7 +52,7 @@ const { mapFields: R } = P({
|
|
|
52
52
|
companyRegion: "application/companyRegion",
|
|
53
53
|
can: "application/can"
|
|
54
54
|
}),
|
|
55
|
-
...
|
|
55
|
+
...B({
|
|
56
56
|
company: "company",
|
|
57
57
|
user: "companyUser",
|
|
58
58
|
name: "company.name",
|
|
@@ -111,7 +111,7 @@ const { mapFields: R } = P({
|
|
|
111
111
|
}));
|
|
112
112
|
},
|
|
113
113
|
async save() {
|
|
114
|
-
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ?
|
|
114
|
+
this.v$.$touch(), !this.v$.$invalid && (this.isLoading = !0, this.isPublicForm ? R({ company: this.company, user: this.user }) : await Promise.all([
|
|
115
115
|
...this.hasChanged("company") ? [this.formSubmitCompany()] : [],
|
|
116
116
|
...this.hasChanged("companyUser") && this.currentUserId === this.documentCompanyUserId ? [this.formSubmitCompanyUser()] : []
|
|
117
117
|
]), this.$emit("close"), this.isLoading = !1);
|
|
@@ -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
|
|
5
|
-
import { _ as h, o as l, b as d,
|
|
1
|
+
import { m as T } from "./mapFormMixin-Bkpm1wEf.js";
|
|
2
|
+
import { B as k } from "./BlockMedia-CbsL1ZZR.js";
|
|
3
|
+
import { t as w } from "./template-MfjSWRyx.js";
|
|
4
|
+
import { T as L } from "./DocTextEditor-CSqqlABA.js";
|
|
5
|
+
import { _ as h, o as l, b as d, K as s, s as p, n as b, z as $, aI as C, B as S, E as x, D as N, e as i, d as f, w as m, c as u, f as E, L as _ } from "./main-Dr3neB7n.js";
|
|
6
6
|
import { i as F } from "./i18nMessages-Chz_lxGG.js";
|
|
7
7
|
const M = {
|
|
8
8
|
name: "StaticComboLayout",
|
|
@@ -46,18 +46,18 @@ function z(e, t, n, v, g, o) {
|
|
|
46
46
|
s(e.$slots, "postText")
|
|
47
47
|
], 2));
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const I = /* @__PURE__ */ h(M, [["render", z]]), j = {
|
|
50
50
|
name: "StaticLayout",
|
|
51
51
|
i18nOptions: {
|
|
52
52
|
namespaces: "staticLayout",
|
|
53
53
|
messages: F
|
|
54
54
|
},
|
|
55
55
|
components: {
|
|
56
|
-
DocumentLogotype:
|
|
57
|
-
() => import("./DocumentLogotype-
|
|
56
|
+
DocumentLogotype: $(
|
|
57
|
+
() => import("./DocumentLogotype-D0cjO9XC.js")
|
|
58
58
|
),
|
|
59
|
-
StaticComboLayout:
|
|
60
|
-
TextEditor:
|
|
59
|
+
StaticComboLayout: I,
|
|
60
|
+
TextEditor: L
|
|
61
61
|
},
|
|
62
62
|
emits: ["input"],
|
|
63
63
|
mixins: [
|
|
@@ -93,7 +93,7 @@ const j = /* @__PURE__ */ h(M, [["render", z]]), A = {
|
|
|
93
93
|
set(e) {
|
|
94
94
|
this.documentName = e, this.$emit("input", {
|
|
95
95
|
key: "data.name",
|
|
96
|
-
value:
|
|
96
|
+
value: C(e).trim().slice(0, 255)
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -102,11 +102,11 @@ const j = /* @__PURE__ */ h(M, [["render", z]]), A = {
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
methods: {
|
|
105
|
-
mustacheToSpan:
|
|
105
|
+
mustacheToSpan: S,
|
|
106
106
|
spanToMustache: x,
|
|
107
107
|
interpolateString: N
|
|
108
108
|
}
|
|
109
|
-
},
|
|
109
|
+
}, A = { style: { "font-size": "calc(2 * var(--rem))", "font-weight": "700", margin: "calc(1 * var(--rem)) 0" } }, U = ["innerHTML"];
|
|
110
110
|
function D(e, t, n, v, g, o) {
|
|
111
111
|
const c = i("DocumentLogotype"), r = i("TextEditor"), y = i("StaticComboLayout");
|
|
112
112
|
return l(), d("div", {
|
|
@@ -143,7 +143,7 @@ function D(e, t, n, v, g, o) {
|
|
|
143
143
|
}, null, 8, ["model-value", "mentions", "placeholder"]))
|
|
144
144
|
]),
|
|
145
145
|
documentName: m(() => [
|
|
146
|
-
p("div",
|
|
146
|
+
p("div", A, [
|
|
147
147
|
e.canEdit ? (l(), u(r, {
|
|
148
148
|
key: 0,
|
|
149
149
|
ref: "nameEditor",
|
|
@@ -193,7 +193,7 @@ function D(e, t, n, v, g, o) {
|
|
|
193
193
|
}, 8, ["layout"])
|
|
194
194
|
], 2);
|
|
195
195
|
}
|
|
196
|
-
const O = /* @__PURE__ */ h(
|
|
196
|
+
const O = /* @__PURE__ */ h(j, [["render", D], ["__scopeId", "data-v-9c0b02ef"]]), q = {
|
|
197
197
|
name: "ContentWrapper",
|
|
198
198
|
components: {
|
|
199
199
|
StaticCombo: O,
|
|
@@ -230,9 +230,9 @@ const O = /* @__PURE__ */ h(A, [["render", D], ["__scopeId", "data-v-9c0b02ef"]]
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}, W = { class: "content-spacing" };
|
|
233
|
-
function
|
|
233
|
+
function K(e, t, n, v, g, o) {
|
|
234
234
|
const c = i("BlockMedia"), r = i("StaticCombo");
|
|
235
|
-
return l(), d("div",
|
|
235
|
+
return l(), d("div", _(e.$attrs, {
|
|
236
236
|
style: { color: o.color, textAlign: o.textAlign },
|
|
237
237
|
class: [{ "has-hover": n.hasHover }, "content-root"]
|
|
238
238
|
}), [
|
|
@@ -240,7 +240,7 @@ function P(e, t, n, v, g, o) {
|
|
|
240
240
|
key: 0,
|
|
241
241
|
media: e.item.media,
|
|
242
242
|
class: "content-media"
|
|
243
|
-
}, null, 8, ["media"])) :
|
|
243
|
+
}, null, 8, ["media"])) : E("", !0),
|
|
244
244
|
p("div", W, [
|
|
245
245
|
f(r, {
|
|
246
246
|
"has-hover": n.hasHover,
|
|
@@ -259,7 +259,7 @@ function P(e, t, n, v, g, o) {
|
|
|
259
259
|
])
|
|
260
260
|
], 16);
|
|
261
261
|
}
|
|
262
|
-
const Y = /* @__PURE__ */ h(q, [["render",
|
|
262
|
+
const Y = /* @__PURE__ */ h(q, [["render", K], ["__scopeId", "data-v-22ef2030"]]);
|
|
263
263
|
export {
|
|
264
264
|
Y as default
|
|
265
265
|
};
|