@cling-se/widget 0.14.2 → 0.14.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/.eslintrc.cjs +4 -4
- package/README.md +40 -40
- package/package.json +1 -1
- package/tsconfig.json +26 -26
- package/tsconfig.node.json +10 -10
- package/tsconfig.paths.json +17 -17
- package/vite.config.ts +61 -61
- package/dist/AddClientCallout-BP2ip0A4.js +0 -46
- package/dist/AnswerModal-C8i3ldB_.js +0 -3869
- package/dist/AttachmentItem-BrvrAMae.js +0 -78
- package/dist/BaseDatePicker-BSkAllLg.js +0 -3183
- package/dist/BaseUpload-J2v3G0-q.js +0 -1977
- package/dist/BlockMedia-CAgKbN_k.js +0 -76
- package/dist/CCallout-D5Nk5DgN.js +0 -59
- package/dist/CCurrencyDropdown-CGYQfYSD.js +0 -246
- package/dist/CDropdownItem-DGES8E6l.js +0 -538
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CFormField-CE4rV3cr.js +0 -241
- package/dist/CPhoneFormat-DXPrTit9.js +0 -62
- package/dist/CPriceInput-CYsf1n6T.js +0 -112
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-DPgOfPg1.js +0 -78
- package/dist/ClientModal-Dznh8Vvn.js +0 -625
- package/dist/ColorPicker-CWQEE8VR.js +0 -2879
- package/dist/CompanyModal-CeZ3GgLu.js +0 -141
- package/dist/ContentWrapper-DW7VHTdA.js +0 -183
- package/dist/CoverBlockSettings-DNSdXFgF.js +0 -275
- package/dist/DocAnswer-CPttkKAJ.js +0 -36
- package/dist/DocDetails-BCwWW_kM.js +0 -246
- package/dist/DocForm-BPjC08Ic.js +0 -7273
- package/dist/DocFormSend-BaC8IJCu.js +0 -143
- package/dist/DocLinks-DN-S8MY_.js +0 -38
- package/dist/DocModalBase-bFJp0T2Y.js +0 -28
- package/dist/DocPrint-Ci7Jyh-C.js +0 -240
- package/dist/DocReceipt-BYlXr6eS.js +0 -210
- package/dist/DocSendReminder-DFx4934a.js +0 -137
- package/dist/DocTextEditor-idQMnlIF.js +0 -17177
- package/dist/DocTimeline-ZmGSVRUB.js +0 -481
- package/dist/DocumentClient-DTRlyvLO.js +0 -136
- package/dist/DocumentLayout-BJAyNjNa.js +0 -4909
- package/dist/DocumentLogotype-pDJRc6Hj.js +0 -87
- package/dist/DocumentVoided-DfKewfe4.js +0 -25
- package/dist/EmbedInput-7hLNsnEV.js +0 -113
- package/dist/EmbedSettings-CpL24RhA.js +0 -72
- package/dist/ErrorCallout-CdJCe67q.js +0 -28
- package/dist/FilePreviewModal-B7qT3I7F.js +0 -81
- package/dist/Flag-DwW19zju.js +0 -114
- package/dist/HeaderSettings-C8SuuAwv.js +0 -392
- package/dist/ImageSelectModal-CAOh3YHc.js +0 -84
- package/dist/ImageUploadWrapper-21yldsj9.js +0 -1604
- package/dist/Index-B0BgYtWI.js +0 -150
- package/dist/Index-BC1AhlQ9.js +0 -98
- package/dist/Index-BZi6r2UN.js +0 -144
- package/dist/Index-BsD09y_2.js +0 -84
- package/dist/Index-Bu9SdKLP.js +0 -31
- package/dist/Index-BvsqZh2A.js +0 -26
- package/dist/Index-Bz4qd9uO.js +0 -55
- package/dist/Index-C--GiPc1.js +0 -171
- package/dist/Index-CC7qF0br.js +0 -77
- package/dist/Index-CGxOvTF4.js +0 -2402
- package/dist/Index-CI7_ktvb.js +0 -70
- package/dist/Index-COJZmxkX.js +0 -32
- package/dist/Index-CObEQ6G-.js +0 -140
- package/dist/Index-CP2bsXd-.js +0 -52
- package/dist/Index-CSvZBLnp.js +0 -49
- package/dist/Index-Ci-hGBbC.js +0 -33
- package/dist/Index-Ckzq1cEJ.js +0 -69
- package/dist/Index-CoIh5y2F.js +0 -62
- package/dist/Index-Couda8BX.js +0 -21
- package/dist/Index-CvXt3dm6.js +0 -292
- package/dist/Index-D95MNzAZ.js +0 -58
- package/dist/Index-DB5EG4EI.js +0 -223
- package/dist/Index-DDvRihXA.js +0 -24
- package/dist/Index-DIAntwBs.js +0 -61
- package/dist/Index-DUdJNcDT.js +0 -25
- package/dist/Index-DfANvO5d.js +0 -154
- package/dist/Index-Ds1Jv5Mr.js +0 -559
- package/dist/Index-FIWsRGmh.js +0 -57
- package/dist/Index-M3b7S4YX.js +0 -25
- package/dist/Index-NoN1_539.js +0 -642
- package/dist/Index-UGFm4yxI.js +0 -107
- package/dist/Index-aCBe0dXx.js +0 -754
- package/dist/Index-kJFtpJEP.js +0 -46
- package/dist/Index-rQKoLISX.js +0 -45
- package/dist/InputToggleRow-Ct8rvqAF.js +0 -57
- package/dist/ManualPopover-B0vp9ydC.js +0 -54
- package/dist/MediaWrapper-hmofOPLv.js +0 -23
- package/dist/NotBindingText-COpJPwHe.js +0 -32
- package/dist/PackageGroup-BdtslJL-.js +0 -699
- package/dist/PdfTerms-EDStBDhn.js +0 -36
- package/dist/PdfViewer-D1_Roqu2.js +0 -374
- package/dist/PlainHtml-C3JPvt4o.js +0 -20
- package/dist/PriceHeader-BdfozyN8.js +0 -339
- package/dist/SearchApi-CQtYh98a.js +0 -161
- package/dist/Setup-DHHMT6xu.js +0 -50
- package/dist/SmartList-BXeRj5NC.js +0 -83
- package/dist/TermsSettings-D1tDAu-r.js +0 -102
- package/dist/ThemeColorRow-HUN-QPY_.js +0 -63
- package/dist/ToggleBinding-CRoVM6Nw.js +0 -38
- package/dist/UploadModal-BD3pIiPT.js +0 -95
- package/dist/VideoPlayerInput-QFJfPoCf.js +0 -93
- package/dist/VideoPlayerSettings-CGq--niu.js +0 -61
- package/dist/VideoSelectModal-B61rBqdH.js +0 -100
- package/dist/anime.es-BrPTThYb.js +0 -858
- package/dist/answerDocumentMixin-DiONfM1s.js +0 -51
- package/dist/color-TdtKxwVa.js +0 -19
- package/dist/debounce-BIchuVwa.js +0 -84
- package/dist/dom-CJxkno7i.js +0 -91
- package/dist/favicon.ico +0 -0
- package/dist/focusDrawerMixin-CzvgKsOZ.js +0 -22
- package/dist/formComponentsInstall-EQLbqYqI.js +0 -2494
- package/dist/formDrawerState-CiKGHdNH.js +0 -20
- package/dist/formValidationMixin-5BVcxu38.js +0 -49
- package/dist/i18nMessages-Chz_lxGG.js +0 -17
- package/dist/index-BYTRIZIz.js +0 -81
- package/dist/index-Be__C37A.js +0 -102
- package/dist/index-CUydiL8B.js +0 -3919
- package/dist/index-DH6SCEKQ.js +0 -166
- package/dist/index-gtVGRKIX.js +0 -347
- package/dist/index-tNIrTnCx.js +0 -492
- package/dist/index.es.js +0 -35
- package/dist/index.umd.js +0 -3148
- package/dist/main-Bp2qcma0.js +0 -56697
- package/dist/mapFormMixin-Ce3_WIKw.js +0 -72
- package/dist/omit-21u5fFMx.js +0 -31
- package/dist/publicSenderState-BcN9kJJr.js +0 -21
- package/dist/splitpanes-BHUVsCZF.js +0 -382
- package/dist/style.css +0 -4
- package/dist/throttle-CfPxqhW_.js +0 -18
- package/dist/tinycolor-DNK6zGoq.js +0 -633
- package/dist/tippy.esm-B5TcTBWX.js +0 -1799
- package/dist/utils-GzwJPAEe.js +0 -108
- package/dist/vuedraggable.umd-2pmrPYml.js +0 -3161
- package/dist/vuex.esm-DKGl8mcw.js +0 -467
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { V as s } from "./main-Bp2qcma0.js";
|
|
2
|
-
const e = s.observable({
|
|
3
|
-
isFixed: !1,
|
|
4
|
-
// Worded according to CSS property (show as fixed drawer)
|
|
5
|
-
showLeft: !1,
|
|
6
|
-
savedLeftState: !1,
|
|
7
|
-
openSection: null
|
|
8
|
-
});
|
|
9
|
-
e.setLeft = (t) => {
|
|
10
|
-
e.showLeft = !!t, e.savedLeftState = e.showLeft;
|
|
11
|
-
};
|
|
12
|
-
e.toggleLeft = () => {
|
|
13
|
-
e.showLeft = !e.showLeft, e.savedLeftState = e.showLeft;
|
|
14
|
-
};
|
|
15
|
-
e.useSavedLeftState = () => {
|
|
16
|
-
e.showLeft = e.savedLeftState;
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
e as s
|
|
20
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { h as n } from "./main-Bp2qcma0.js";
|
|
2
|
-
import { s as l } from "./dom-CJxkno7i.js";
|
|
3
|
-
const s = (r) => {
|
|
4
|
-
var i;
|
|
5
|
-
const t = [];
|
|
6
|
-
return (i = r.$options) != null && i.validations && t.push(r), r.$children && r.$children.forEach((o) => t.push(...s(o))), t;
|
|
7
|
-
}, m = {
|
|
8
|
-
provide() {
|
|
9
|
-
return {
|
|
10
|
-
formValidation: {
|
|
11
|
-
isFormValid: this.isFormValid,
|
|
12
|
-
scrollToInvalidInput: this.scrollToInvalidInput
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
},
|
|
16
|
-
data() {
|
|
17
|
-
return {
|
|
18
|
-
_formItems: []
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
created() {
|
|
22
|
-
this._formItems = s(this);
|
|
23
|
-
},
|
|
24
|
-
methods: {
|
|
25
|
-
_getInvalidInputs() {
|
|
26
|
-
return this._formItems.filter((r) => {
|
|
27
|
-
var t;
|
|
28
|
-
return (t = r.$v) == null ? void 0 : t.$invalid;
|
|
29
|
-
});
|
|
30
|
-
},
|
|
31
|
-
isFormValid() {
|
|
32
|
-
return this._formItems.every((r) => {
|
|
33
|
-
var t, i;
|
|
34
|
-
return (t = r.$v) == null || t.$touch(), !((i = r.$v) != null && i.$invalid);
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
scrollToInvalidInput({ offset: r = 0 } = {}) {
|
|
38
|
-
try {
|
|
39
|
-
const [t] = this._getInvalidInputs();
|
|
40
|
-
t != null && t.$el && l(t.$el, { offset: r });
|
|
41
|
-
} catch (t) {
|
|
42
|
-
n(t);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
m as f
|
|
49
|
-
};
|
package/dist/index-BYTRIZIz.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { n as i, D as n } from "./main-Bp2qcma0.js";
|
|
2
|
-
const o = {
|
|
3
|
-
name: "DocumentGuide",
|
|
4
|
-
i18nOptions: {
|
|
5
|
-
namespaces: "documentGuide",
|
|
6
|
-
messages: {
|
|
7
|
-
en: {
|
|
8
|
-
title: "Quick tour",
|
|
9
|
-
steps: {
|
|
10
|
-
addBlocks: "Add document blocks from the left sidebar.",
|
|
11
|
-
textFormatting: "Select some text and formatting options will appear.",
|
|
12
|
-
editBlocks: `Adjust a block's appearance by clicking on the <span class="dg-button-icon appearance"></span> button.`,
|
|
13
|
-
changeProduct: `Change a product's quantity by clicking on the <span class="dg-button-icon cog"></span> button.`,
|
|
14
|
-
send: `Once you're done, hit <span class="dg-button-text">Send</span>`
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
sv: {
|
|
18
|
-
title: "Snabbguide",
|
|
19
|
-
steps: {
|
|
20
|
-
addBlocks: "Lägg till dokumentblock ifrån vänstra sidomenyn.",
|
|
21
|
-
textFormatting: "Markera en bit text för att få upp formateringsmenyn.",
|
|
22
|
-
editBlocks: 'Ändra utseendet på ett block genom att klicka på <span class="dg-button-icon appearance"></span> knappen.',
|
|
23
|
-
changeProduct: 'Ändra en varas antal genom att klicka på <span class="dg-button-icon cog"></span> knappen.',
|
|
24
|
-
send: 'När du är klar, klicka på <span class="dg-button-text">Skicka</span>'
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
data() {
|
|
30
|
-
return {
|
|
31
|
-
step: 0,
|
|
32
|
-
steps: [
|
|
33
|
-
{
|
|
34
|
-
title: this.$t("steps.addBlocks"),
|
|
35
|
-
img: n("/account/onboarding/drag-block.png")
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
title: this.$t("steps.textFormatting"),
|
|
39
|
-
img: n("/account/onboarding/text-bubble.png")
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
title: this.$t("steps.editBlocks"),
|
|
43
|
-
img: n("/account/onboarding/block-options.png")
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
title: this.$t("steps.changeProduct"),
|
|
47
|
-
img: n("/account/onboarding/article-options.png")
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: this.$t("steps.send"),
|
|
51
|
-
img: n("/account/onboarding/doc-send.png")
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
var c = function() {
|
|
58
|
-
var t = this, e = t._self._c;
|
|
59
|
-
return e("div", { staticStyle: { position: "fixed", left: "0", top: "0", right: "0", bottom: "0", "background-color": "hsla(0, 0%, 0%, 0.2)", padding: "calc(4 * var(--rem)) 0", display: "grid", "place-items": "center", "z-index": "9999" } }, [e("div", { staticClass: "max-w-[95%] md:max-w-lg", staticStyle: { "background-color": "hsl(212, 90%, 15%)", padding: "calc(3 * var(--rem)) calc(2.5 * var(--rem))", "border-radius": "8px", color: "hsla(0, 0%, 100%, 0.8)", "font-size": "16px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "calc(1 * var(--rem))", top: "calc(1 * var(--rem))" }, attrs: { size: "small", type: "none", pattern: "tertiary", circle: "", icon: "x" }, on: { click: function(s) {
|
|
60
|
-
return t.$emit("close");
|
|
61
|
-
} } }), e("div", { staticStyle: { "padding-left": "calc(1 * var(--rem))" } }, [e("div", { staticStyle: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, [t._v(" " + t._s(t.$t("title")) + " ")]), e("div", { staticStyle: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, [t._v(" " + t._s(t.step + 1) + ". "), e("span", { domProps: { innerHTML: t._s(t.steps[t.step].title) } })])]), e("div", { staticStyle: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, [e("transition", { attrs: { name: "slide-prev" } }, [e("img", { key: t.step, staticStyle: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }, attrs: { src: t.steps[t.step].img } })])], 1), e("div", { staticStyle: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, [e("div", { staticStyle: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, t._l(t.steps, function(s, a) {
|
|
62
|
-
return e("div", { key: a, staticStyle: { width: "8px", height: "8px", "border-radius": "8px", cursor: "pointer" }, style: {
|
|
63
|
-
backgroundColor: t.step === a ? "white" : "hsla(0, 0%, 100%, 0.4)"
|
|
64
|
-
}, on: { click: function(d) {
|
|
65
|
-
t.step = a;
|
|
66
|
-
} } });
|
|
67
|
-
}), 0), e("CButton", { staticClass: "pulse", staticStyle: { "border-radius": "5px", "animation-duration": "0.2s" }, attrs: { type: "secondary", "icon-right": "arrow-right" }, on: { click: function(s) {
|
|
68
|
-
t.step === t.steps.length - 1 ? t.$emit("close") : t.step++;
|
|
69
|
-
} } }, [t._v(" " + t._s(t.step === t.steps.length - 1 ? t.$t("_common:done").capitalize() : t.$t("_common:next").capitalize()) + " ")])], 1)], 1)]);
|
|
70
|
-
}, r = [], l = /* @__PURE__ */ i(
|
|
71
|
-
o,
|
|
72
|
-
c,
|
|
73
|
-
r,
|
|
74
|
-
!1,
|
|
75
|
-
null,
|
|
76
|
-
null
|
|
77
|
-
);
|
|
78
|
-
const m = l.exports;
|
|
79
|
-
export {
|
|
80
|
-
m as default
|
|
81
|
-
};
|
package/dist/index-Be__C37A.js
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { g as s, N as l, O as r, n as d, V as n } from "./main-Bp2qcma0.js";
|
|
2
|
-
import { m as p, a as c } from "./vuex.esm-DKGl8mcw.js";
|
|
3
|
-
const m = {
|
|
4
|
-
name: "ClientLinks",
|
|
5
|
-
props: {
|
|
6
|
-
id: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: !0
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
i18nOptions: {
|
|
12
|
-
namespaces: "ClientLinks",
|
|
13
|
-
messages: {
|
|
14
|
-
en: {
|
|
15
|
-
title: "Document links",
|
|
16
|
-
text: "Share the document links below with your recipients. Each recipient has their own unique link.",
|
|
17
|
-
copied: "Link copied to clipboard",
|
|
18
|
-
tooltip: "Copy link",
|
|
19
|
-
placeholder: "No links available.",
|
|
20
|
-
hint: "Note that visting a link will trigger a viewed event in the events timeline."
|
|
21
|
-
},
|
|
22
|
-
sv: {
|
|
23
|
-
title: "Dokumentlänkar",
|
|
24
|
-
text: "Dela dokumentlänkarna nedan med dina mottagare. Varje mottagare har sin egen unika länk.",
|
|
25
|
-
copied: "Länk kopierat till urklipp",
|
|
26
|
-
tooltip: "Kopiera länk",
|
|
27
|
-
placeholder: "Inga länkar finns tillgängliga.",
|
|
28
|
-
hint: "Notera att ett sidbesök på en länk kommer att skapa en visad-händelse i tidslinjen."
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
...p({
|
|
34
|
-
docById: "documents2/byId"
|
|
35
|
-
}),
|
|
36
|
-
document() {
|
|
37
|
-
return this.docById(this.id);
|
|
38
|
-
},
|
|
39
|
-
clients() {
|
|
40
|
-
if (!this.document)
|
|
41
|
-
return [];
|
|
42
|
-
const { clients: o } = this.document;
|
|
43
|
-
return o.map((t) => ({
|
|
44
|
-
...t,
|
|
45
|
-
primaryTitle: t.name,
|
|
46
|
-
secondaryTitle: t.type === "company" ? t.companyName : ""
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
created() {
|
|
51
|
-
this.loadDocument({ id: this.id });
|
|
52
|
-
},
|
|
53
|
-
methods: {
|
|
54
|
-
...c({
|
|
55
|
-
loadDocument: s.LOAD_DOCUMENT2
|
|
56
|
-
}),
|
|
57
|
-
async copyToClipboard(o) {
|
|
58
|
-
var i, a;
|
|
59
|
-
(i = o.target.previousElementSibling) == null || i.select();
|
|
60
|
-
const t = (a = o.target.previousElementSibling) == null ? void 0 : a.value;
|
|
61
|
-
if (!t)
|
|
62
|
-
return;
|
|
63
|
-
await l(t) && r("info", this.$t("copied"));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
var u = function() {
|
|
68
|
-
var t = this, e = t._self._c;
|
|
69
|
-
return e("div", { staticClass: "font-inter", staticStyle: { "background-color": "white", "border-radius": "10px", overflow: "hidden" } }, [e("div", { staticStyle: { padding: "40px 30px", position: "relative" } }, [e("CButton", { staticStyle: { position: "absolute", right: "1em", top: "1em", color: "hsl(0, 0%, 55%)" }, attrs: { icon: "x", circle: "", size: "normal" }, on: { click: function(i) {
|
|
70
|
-
return t.$emit("close");
|
|
71
|
-
} } }), e("div", { staticStyle: { padding: "0 0 2.5em" } }, [e("div", { staticClass: "x-title", domProps: { textContent: t._s(t.$t("title")) } }), e("div", { staticClass: "x-text", domProps: { textContent: t._s(t.$t("text")) } })]), t.clients.length ? t._l(t.clients, function(i, a) {
|
|
72
|
-
return e("div", { key: a, staticClass: "client-card" }, [e("div", { staticStyle: { padding: "4px 6px 8px 6px" } }, [e("div", { staticClass: "client-title truncate-text" }, [t._v(" " + t._s(i.primaryTitle) + " "), i.secondaryTitle ? e("span", { staticStyle: { opacity: "0.5", "padding-left": "0.125ch" } }, [t._v("· " + t._s(i.secondaryTitle))]) : t._e()]), i.documentRole ? e("div", { domProps: { textContent: t._s(t.$t(`_common:documentRole.${i.documentRole}.label`)) } }) : t._e(), e("div", [i.email ? e("a", { attrs: { href: `mailto:${i.email}?&body=${i.docLink}` } }, [t._v(t._s(i.email))]) : t._e(), i.email && i.cellphone ? e("span", { staticStyle: { padding: "0 0.5ch" } }, [t._v("·")]) : t._e(), i.cellphone ? e("a", { attrs: { href: `sms:${i.cellphone}?&body=${i.docLink}` } }, [e("CPhoneFormat", { attrs: { phone: i.cellphone, region: i.cellphoneRegion } })], 1) : t._e()])]), e("div", { staticStyle: { display: "flex", position: "relative" } }, [e("input", { ref: "key", refInFor: !0, staticClass: "link-field truncate-text", attrs: { placeholder: t.$t("placeholder"), type: "text", readonly: "readonly" }, domProps: { value: i.docLink } }), e("div", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: t.$t("tooltip"), expression: "$t('tooltip')" }], staticClass: "clipboard-button", on: { click: t.copyToClipboard } }, [e("CIcon", { staticStyle: { "pointer-events": "none" }, attrs: { type: "copy", size: "17" } })], 1)])]);
|
|
73
|
-
}) : e("div", { staticStyle: { padding: "2em", "font-size": "14px", "text-align": "center", color: "hsl(0, 0%, 55%)", border: "1px solid hsl(0, 0%, 88%)", "border-radius": "6px" }, domProps: { textContent: t._s(t.$t("placeholder")) } }), e("div", { staticClass: "x-hint" }, [e("CIcon", { staticClass: "text-primary-500", staticStyle: { flex: "0 0 auto", "margin-right": "8px", "margin-top": "3px" }, attrs: { type: "info", size: "16" } }), e("div", { domProps: { textContent: t._s(t.$t("hint")) } })], 1)], 2)]);
|
|
74
|
-
}, h = [], y = /* @__PURE__ */ d(
|
|
75
|
-
m,
|
|
76
|
-
u,
|
|
77
|
-
h,
|
|
78
|
-
!1,
|
|
79
|
-
null,
|
|
80
|
-
"8273cadb"
|
|
81
|
-
);
|
|
82
|
-
const v = y.exports, g = v, _ = ({ id: o }) => {
|
|
83
|
-
if (!n.prototype.$modal)
|
|
84
|
-
throw Error("Open client modal requires plugin vue-js-modal");
|
|
85
|
-
n.prototype.$modal.show(
|
|
86
|
-
g,
|
|
87
|
-
{
|
|
88
|
-
id: o
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
adaptive: !0,
|
|
92
|
-
maxWidth: 400,
|
|
93
|
-
width: "90%",
|
|
94
|
-
height: "auto",
|
|
95
|
-
scrollable: !0
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
};
|
|
99
|
-
export {
|
|
100
|
-
g as C,
|
|
101
|
-
_ as o
|
|
102
|
-
};
|