@cling-se/widget 0.19.7 → 0.19.9
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 +18 -0
- package/dist/{AddClientCallout-BdGevuQo.js → AddClientCallout-C400wpa7.js} +19 -19
- package/dist/{AnswerModal-DfjF-RVP.js → AnswerModal-C_vekdpA.js} +80 -80
- package/dist/{AttachmentItem-BEd3qVAo.js → AttachmentItem-CYeH1VVw.js} +14 -14
- package/dist/{BaseUpload-Zm4EX8ir.js → BaseUpload-DGLogqK4.js} +256 -256
- package/dist/{BlockMedia-ZHaA4OMV.js → BlockMedia-Hbm0GWNw.js} +33 -32
- package/dist/{CCallout-BlglVZrm.js → CCallout-BPCwr3uM.js} +15 -15
- package/dist/{CCurrencyDropdown-BzvKsm1N.js → CCurrencyDropdown-CZXWH0mA.js} +13 -13
- package/dist/{CDropdownItem-B5rgSee7.js → CDropdownItem-B9dja0RC.js} +11 -11
- package/dist/{CFormField.vue_vue_type_script_setup_true_lang-CVy64zGe.js → CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js} +17 -17
- package/dist/{CPhoneFormat-DaDNMlmK.js → CPhoneFormat-C1cjsMVZ.js} +1 -1
- package/dist/{CPhoneInput-BUogm59J.js → CPhoneInput-DwcIFaqz.js} +23 -23
- package/dist/{CPriceInput-Cd5OHMJS.js → CPriceInput-C_PfAhRb.js} +12 -12
- package/dist/{CSelect-CmoAbVkP.js → CSelect-D4A_clvT.js} +15 -15
- package/dist/{CSkeleton-BF6EYj8H.js → CSkeleton-h81Vudx0.js} +16 -16
- package/dist/{ClientAutocomplete-CHfp4YiV.js → ClientAutocomplete-B_R7zgvM.js} +24 -24
- package/dist/{ClientModal-Com23Qgc.js → ClientModal-CBJgrb_y.js} +44 -44
- package/dist/{ColorPicker-BzdHtZep.js → ColorPicker-a5yTVc0q.js} +66 -66
- package/dist/{CompanyModal-CGjSgTEJ.js → CompanyModal-sRTrUPOY.js} +18 -18
- package/dist/{ContentWrapper-CS-Bh4Bk.js → ContentWrapper-Cwd6t51-.js} +16 -16
- package/dist/{CoverBlockSettings-DDHQzLdc.js → CoverBlockSettings-8tjji9f1.js} +39 -39
- package/dist/{DocAnswer-Cmdsw_CW.js → DocAnswer-D1ZIH1Hn.js} +4 -4
- package/dist/{DocDetails-C5Vzh550.js → DocDetails-B5_hBzC-.js} +56 -56
- package/dist/{DocForm-DEUVV11n.js → DocForm-BKQvY0Ie.js} +821 -829
- package/dist/{DocFormSend-Dt7N3wCz.js → DocFormSend-z0W-xRJP.js} +11 -11
- package/dist/{DocLinks-C6-Er0rk.js → DocLinks-BgbDU24h.js} +6 -6
- package/dist/{DocModalBase-DbuJwHXi.js → DocModalBase-CNo1u8TK.js} +1 -1
- package/dist/{DocPrint-D_uxg7qD.js → DocPrint--UV846r0.js} +15 -15
- package/dist/{DocReceipt-D6LP9UAa.js → DocReceipt-BAkWIKbC.js} +23 -23
- package/dist/{DocSendReminder-DopLhyjz.js → DocSendReminder-Bk6IVg0R.js} +10 -10
- package/dist/{DocTextEditor-DeZtzbgm.js → DocTextEditor-D5zDbbXV.js} +4499 -4438
- package/dist/{DocTimeline-DAWZu_KT.js → DocTimeline-KG4zJJOW.js} +16 -16
- package/dist/{DocumentClient-kxnT6k9s.js → DocumentClient-CXSxwjOt.js} +12 -12
- package/dist/DocumentLayout-C-V_5p3r.js +595 -0
- package/dist/{DocumentLogotype-G-a7gBIC.js → DocumentLogotype-H0f7bO0E.js} +18 -18
- package/dist/{DocumentVoided-SG_ShMmc.js → DocumentVoided-3F7DChD4.js} +4 -4
- package/dist/{EmbedInput-CJL5y3Zj.js → EmbedInput-iG-cDNzZ.js} +8 -8
- package/dist/{EmbedSettings-B0X6A9Uy.js → EmbedSettings-DhwFGdKH.js} +12 -12
- package/dist/{ErrorCallout-xCSfpQWV.js → ErrorCallout-CyqQ9iRV.js} +10 -10
- package/dist/{FilePreviewModal-Da_pMUoO.js → FilePreviewModal-CEUhUuh4.js} +7 -7
- package/dist/{Flag-wXawyyMO.js → Flag-Bza5Ltob.js} +4 -4
- package/dist/{HeaderSettings-CD3y6-uY.js → HeaderSettings-kEbuiv0n.js} +36 -36
- package/dist/{ImageSelectModal-DatnXHH1.js → ImageSelectModal-MDduQIdS.js} +16 -16
- package/dist/{ImageUploadWrapper-CwKe3Iq7.js → ImageUploadWrapper-CKJXUAkn.js} +72 -72
- package/dist/{Index-BbVHxVFJ.js → Index--_tbiloB.js} +33 -33
- package/dist/{Index-y_AJP61r.js → Index-437smvNJ.js} +11 -11
- package/dist/{Index-ezY0DbcB.js → Index-8CyLDQv2.js} +5 -5
- package/dist/{Index-Cjg3X74T.js → Index-B1tFrOfN.js} +7 -7
- package/dist/{Index-Ct735UtM.js → Index-BFwz1G_7.js} +2 -2
- package/dist/{Index-BlownK7_.js → Index-BXqNV8F_.js} +7 -7
- package/dist/{Index-B53eUt7Y.js → Index-Bege0Vce.js} +15 -15
- package/dist/{Index-BTDQax0X.js → Index-Bg1kzWCp.js} +60 -59
- package/dist/{Index-9ZFW8Ka7.js → Index-C46cWm4W.js} +7 -7
- package/dist/{Index-C2-s62x7.js → Index-CGhWvSf9.js} +11 -11
- package/dist/{Index-D-gJQEAD.js → Index-CHIQWumi.js} +6 -6
- package/dist/{Index-CQboLS2e.js → Index-CNQhKXtr.js} +8 -8
- package/dist/{Index-COF0evH4.js → Index-CUDi4SEx.js} +6 -6
- package/dist/{Index-Bb6JZC8l.js → Index-ClA923dR.js} +11 -11
- package/dist/{Index-1WPEpaVr.js → Index-D2A8evjo.js} +7 -7
- package/dist/{Index-BvAqglwa.js → Index-D4XDugcf.js} +27 -27
- package/dist/{Index-GPliVrhC.js → Index-DB3keB-X.js} +7 -7
- package/dist/{Index-BJf4YdYB.js → Index-DQLLCnjH.js} +29 -29
- package/dist/{Index-Dfy0PsiW.js → Index-DUM-3B1l.js} +29 -29
- package/dist/{Index-Ck-_9woY.js → Index-DdZo8evS.js} +456 -461
- package/dist/{Index-CTrX3VRa.js → Index-Doc7K3kL.js} +5 -5
- package/dist/{Index-DfuzxXzD.js → Index-Dqfwe7SG.js} +2 -2
- package/dist/{Index-NnBwJv9v.js → Index-DtCuzght.js} +9 -9
- package/dist/{Index-DOeHci16.js → Index-DtDRffCY.js} +7 -7
- package/dist/{Index-C-EUJjuk.js → Index-DzKdZg0G.js} +2 -2
- package/dist/{Index-yS5OPrJJ.js → Index-DzugmOmj.js} +2 -2
- package/dist/{Index-DjfbgA_7.js → Index-E7OzmtR_.js} +30 -27
- package/dist/{Index-DkQ8_VkX.js → Index-MmvJQvLm.js} +194 -218
- package/dist/{Index-Dxg4gEKd.js → Index-Rb5n5XoO.js} +18 -18
- package/dist/{Index-DAkq_7Ws.js → Index-dTgmxz_A.js} +18 -18
- package/dist/{Index-Ciy9lnhS.js → Index-eJiQmHhr.js} +2 -2
- package/dist/Index-jQsYOOC3.js +4 -0
- package/dist/{Index-DzdEqsZB.js → Index-rINXTjpt.js} +16 -16
- package/dist/Index-zRXdiRpy.js +49 -0
- package/dist/{Index.vue_vue_type_script_lang-B3RoDZmC.js → Index.vue_vue_type_script_lang-B9979oeS.js} +2 -2
- package/dist/{InputToggleRow-D5rvQpAw.js → InputToggleRow-CO4fZnAC.js} +15 -15
- package/dist/{ManualPopover-Bd-GsLGT.js → ManualPopover-DT4iXoSI.js} +6 -6
- package/dist/{MediaWrapper-Ci0XPCcb.js → MediaWrapper-CP_1JzGI.js} +4 -4
- package/dist/{NotBindingText-DhndGZE3.js → NotBindingText-D9Um3Agp.js} +2 -2
- package/dist/{PackageGroup-4Jt9ClVO.js → PackageGroup-BtH12jVM.js} +103 -103
- package/dist/{PdfTerms-CGeJDJpQ.js → PdfTerms-sQh93Xit.js} +9 -9
- package/dist/{PdfViewer-o2vb6Fya.js → PdfViewer-DMAcTVND.js} +71 -71
- package/dist/{PlainHtml.vue_vue_type_script_setup_true_lang-BtnMqKcE.js → PlainHtml.vue_vue_type_script_setup_true_lang-tY-SurWr.js} +2 -2
- package/dist/{PriceHeader-BsObxLHK.js → PriceHeader-CG6el7O_.js} +31 -31
- package/dist/{SearchApi-ZczKsBb7.js → SearchApi-B39mMGKy.js} +6 -6
- package/dist/{SendForm-D5jqkofo.js → SendForm-F5aQPz8w.js} +780 -778
- package/dist/{Setup-CdZzn0qW.js → Setup-DuHU2eHC.js} +4 -4
- package/dist/{SmartList-B36ffGAZ.js → SmartList-myMj6QGe.js} +1 -1
- package/dist/{Sortable.vue_vue_type_script_setup_true_lang-Di1urzqu.js → Sortable.vue_vue_type_script_setup_true_lang-Bb2Nqdsz.js} +118 -118
- package/dist/{TermsSettings-CmAHVOuX.js → TermsSettings-Cb6Xms3f.js} +16 -16
- package/dist/{ThemeColorRow-CScTIcPB.js → ThemeColorRow-oW3xS1pa.js} +13 -13
- package/dist/{ToggleBinding-CVZZlpBR.js → ToggleBinding-B-F9_nAf.js} +7 -7
- package/dist/{UploadModal-2tXsmGMM.js → UploadModal-eBx4Vqyo.js} +19 -19
- package/dist/{VideoPlayerInput-BDzjZ2St.js → VideoPlayerInput-CtTe4JW4.js} +10 -10
- package/dist/{VideoPlayerSettings-BLAEZw4C.js → VideoPlayerSettings-Cvz5B4JX.js} +9 -9
- package/dist/{VideoSelectModal-iqgmg85K.js → VideoSelectModal-CXI0aN4g.js} +19 -19
- package/dist/{focusDrawerMixin-BmyahQiE.js → focusDrawerMixin-DlcYhFw8.js} +1 -1
- package/dist/{formDrawerState-B7ASfNsk.js → formDrawerState-Cf6Q5cuR.js} +1 -1
- package/dist/{helpers-BVP2Pul1.js → helpers-Cf9wqfZh.js} +4 -4
- package/dist/{index-D0Qee2OX.js → index-BSCAjn53.js} +31 -31
- package/dist/{index-Cd4S4J-L.js → index-BStFMzD9.js} +56 -56
- package/dist/{index-BDb4bM0D.js → index-BytsFarx.js} +24 -24
- package/dist/{index-DXNrJnEc.js → index-Co_PpOtI.js} +10 -10
- package/dist/{index-BH5vwOzR.js → index-DPlBYqKB.js} +9 -9
- package/dist/{index-B86TZXOh.js → index-DsvlNA3Q.js} +94 -94
- package/dist/{index-CsbYpQqP.js → index-r5v1Gv17.js} +57 -57
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +153 -158
- package/dist/{main-C2Q8_T2Y.js → main-BkjAGG46.js} +14298 -14373
- package/dist/{mapFormMixin-CjfqZnmd.js → mapFormMixin-DLFNPgNO.js} +34 -40
- package/dist/omit-CvOSNZN7.js +56 -0
- package/dist/{publicSenderState-C3ELW8Cw.js → publicSenderState-DeC1m0ps.js} +4 -4
- package/dist/{splitpanes-CuxtOZyV.js → splitpanes-CsJipBiG.js} +6 -6
- package/dist/{template-DzrGrOEa.js → template-Cvzvayl5.js} +6 -6
- package/dist/{tippy.esm-Bf86qEue.js → tippy.esm-JEjGtE5F.js} +273 -275
- package/dist/{useTermsModal-Be4HLDDm.js → useTermsModal-D2gYy-TP.js} +7 -7
- package/dist/{utils-a_Odlqb5.js → utils-DarTPA8c.js} +1 -1
- package/dist/{validation-38muBV6x.js → validation-K11g55ZB.js} +4 -4
- package/dist/widget.css +1 -1
- package/package.json +2 -2
- package/dist/DocumentLayout-DaVz9SGF.js +0 -1434
- package/dist/Index-CXjLkK_n.js +0 -49
- package/dist/Index-qFx0G3fC.js +0 -4
- package/dist/omit-DzlbtNCX.js +0 -56
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { F as
|
|
2
|
-
import { w as
|
|
3
|
-
import {
|
|
1
|
+
import { F as L } from "./Flag-Bza5Ltob.js";
|
|
2
|
+
import { w as S } from "./CDropdownItem-B9dja0RC.js";
|
|
3
|
+
import { _ as b, aT as V, aU as B, X as E, a2 as R, b as a, d as i, o, j as n, f as h, an as v, w as x, e as r, F as y, n as k, W as q, t as m, c as F, q as w, T as g } from "./main-BkjAGG46.js";
|
|
4
4
|
import { i as P } from "./dom-DOcGU3-g.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
const
|
|
6
|
+
const T = {
|
|
7
7
|
name: "BackgroundsModalList",
|
|
8
8
|
i18nOptions: {
|
|
9
9
|
namespaces: "backgroundsModalList",
|
|
@@ -19,11 +19,11 @@ const z = {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
components: {
|
|
22
|
-
Simplebar:
|
|
23
|
-
Flag:
|
|
22
|
+
Simplebar: B,
|
|
23
|
+
Flag: L
|
|
24
24
|
},
|
|
25
25
|
emits: ["select", "save"],
|
|
26
|
-
mixins: [
|
|
26
|
+
mixins: [S],
|
|
27
27
|
props: {
|
|
28
28
|
/**
|
|
29
29
|
* @param {Object} options Input arguments
|
|
@@ -52,7 +52,7 @@ const z = {
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
setup() {
|
|
55
|
-
return { listElements:
|
|
55
|
+
return { listElements: R("listElements") };
|
|
56
56
|
},
|
|
57
57
|
data() {
|
|
58
58
|
return {
|
|
@@ -97,7 +97,7 @@ const z = {
|
|
|
97
97
|
const s = this.query ? this.query : this.defaultQuery, { items: e, total: d } = await this.fetch({ query: s, page: this.page++ });
|
|
98
98
|
this.isLoading = !1, this.noOfResults = this.query ? d : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = d >= this.page * 12;
|
|
99
99
|
},
|
|
100
|
-
scrollHandler:
|
|
100
|
+
scrollHandler: V(async function() {
|
|
101
101
|
const e = this.listElements[this.listElements.length - 9 || 0];
|
|
102
102
|
e && P(e) && this.handleFetch();
|
|
103
103
|
}, 50),
|
|
@@ -115,13 +115,13 @@ const z = {
|
|
|
115
115
|
e && (e.readyState === 4 ? e.pause() : e.addEventListener("playing", () => e.pause(), { once: !0 }));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
},
|
|
118
|
+
}, z = { style: { "min-height": "0", display: "flex", "flex-direction": "column", height: "100%" } }, H = { class: "relative flex w-full shrink-0 py-1" }, N = { style: { overflow: "hidden", flex: "1", height: "100%" } }, O = { style: { display: "grid", "grid-template-columns": "repeat(auto-fit, minmax(210px, 1fr))", gap: "2px" } }, j = ["onClick"], U = ["onMouseenterPassive", "onMouseleavePassive"], G = ["src"], Q = {
|
|
119
119
|
key: 1,
|
|
120
120
|
class: "select-wrapper"
|
|
121
|
-
}, D = { class: "photo__credit" },
|
|
121
|
+
}, D = { class: "photo__credit" }, W = {
|
|
122
122
|
class: "flex w-full items-center justify-center",
|
|
123
123
|
style: { padding: "2em 1em" }
|
|
124
|
-
},
|
|
124
|
+
}, X = {
|
|
125
125
|
key: 1,
|
|
126
126
|
class: "flex w-full flex-col items-center justify-center text-gray-400"
|
|
127
127
|
}, A = {
|
|
@@ -131,11 +131,11 @@ const z = {
|
|
|
131
131
|
}, J = {
|
|
132
132
|
class: "flex w-full items-center justify-end",
|
|
133
133
|
style: { padding: "4px 4px 4px 8px", "flex-shrink": "0" }
|
|
134
|
-
},
|
|
134
|
+
}, K = { class: "flex-grow text-gray-400" }, Y = { key: 0 };
|
|
135
135
|
function Z(s, e, d, C, t, c) {
|
|
136
|
-
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"),
|
|
137
|
-
return o(), i("div",
|
|
138
|
-
n("div",
|
|
136
|
+
const f = a("CInput"), p = a("CIcon"), I = a("Flag"), M = a("Simplebar"), $ = a("CButton");
|
|
137
|
+
return o(), i("div", z, [
|
|
138
|
+
n("div", H, [
|
|
139
139
|
h(f, {
|
|
140
140
|
modelValue: t.query,
|
|
141
141
|
"onUpdate:modelValue": e[0] || (e[0] = (l) => t.query = l),
|
|
@@ -149,13 +149,13 @@ function Z(s, e, d, C, t, c) {
|
|
|
149
149
|
}, ["stop"]))
|
|
150
150
|
}, null, 8, ["modelValue", "placeholder"])
|
|
151
151
|
]),
|
|
152
|
-
n("div",
|
|
152
|
+
n("div", N, [
|
|
153
153
|
h(M, {
|
|
154
154
|
ref: "scrollbar",
|
|
155
155
|
style: { width: "100%", height: "100%", padding: "3px 4px" }
|
|
156
156
|
}, {
|
|
157
157
|
default: x(() => [
|
|
158
|
-
n("div",
|
|
158
|
+
n("div", O, [
|
|
159
159
|
!t.items.length && t.isLoading ? (o(), i(y, { key: 0 }, k(12, (l) => n("div", {
|
|
160
160
|
ref_for: !0,
|
|
161
161
|
ref: "listElements",
|
|
@@ -166,7 +166,7 @@ function Z(s, e, d, C, t, c) {
|
|
|
166
166
|
ref_for: !0,
|
|
167
167
|
ref: "listElements",
|
|
168
168
|
key: u,
|
|
169
|
-
style:
|
|
169
|
+
style: q({ backgroundImage: `url(${l.minImage})` }),
|
|
170
170
|
class: "photo",
|
|
171
171
|
onClick: (_) => c.selectItem(l, u)
|
|
172
172
|
}, [
|
|
@@ -184,18 +184,18 @@ function Z(s, e, d, C, t, c) {
|
|
|
184
184
|
muted: "",
|
|
185
185
|
playsInline: "",
|
|
186
186
|
preload: "none"
|
|
187
|
-
}, null, 8,
|
|
188
|
-
], 40,
|
|
187
|
+
}, null, 8, G)
|
|
188
|
+
], 40, U)) : r("", !0),
|
|
189
189
|
t.selectedIndex === u ? (o(), i("div", Q)) : r("", !0),
|
|
190
190
|
n("div", D, m(l.userName), 1)
|
|
191
|
-
], 12,
|
|
191
|
+
], 12, j))), 128))
|
|
192
192
|
]),
|
|
193
|
-
n("div",
|
|
194
|
-
t.isLoading ? (o(),
|
|
193
|
+
n("div", W, [
|
|
194
|
+
t.isLoading ? (o(), F(p, {
|
|
195
195
|
key: 0,
|
|
196
196
|
type: "loader",
|
|
197
197
|
class: "rotateSpin"
|
|
198
|
-
})) : t.allowMoreResults ? r("", !0) : (o(), i("div",
|
|
198
|
+
})) : t.allowMoreResults ? r("", !0) : (o(), i("div", X, [
|
|
199
199
|
n("div", null, m(s.$t("noMoreResults")), 1),
|
|
200
200
|
s.$i18n.lang !== "en" ? (o(), i("div", A, [
|
|
201
201
|
h(I, {
|
|
@@ -211,14 +211,14 @@ function Z(s, e, d, C, t, c) {
|
|
|
211
211
|
}, 512)
|
|
212
212
|
]),
|
|
213
213
|
n("div", J, [
|
|
214
|
-
n("div",
|
|
214
|
+
n("div", K, [
|
|
215
215
|
s.mq !== "sm" ? (o(), i(y, { key: 0 }, [
|
|
216
|
-
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div",
|
|
216
|
+
t.query && t.noOfResults && t.noOfResults > 0 ? (o(), i("div", Y, m(s.$tc("_common:result", { count: t.noOfResults })), 1)) : r("", !0),
|
|
217
217
|
n("div", null, m(d.creditText), 1)
|
|
218
218
|
], 64)) : r("", !0)
|
|
219
219
|
]),
|
|
220
220
|
g(s.$slots, "footer", {}, () => [
|
|
221
|
-
h(
|
|
221
|
+
h($, {
|
|
222
222
|
style: { "margin-left": "0.5em" },
|
|
223
223
|
type: "secondary",
|
|
224
224
|
onClick: c.onSave
|
|
@@ -232,7 +232,7 @@ function Z(s, e, d, C, t, c) {
|
|
|
232
232
|
])
|
|
233
233
|
]);
|
|
234
234
|
}
|
|
235
|
-
const ee = /* @__PURE__ */ b(
|
|
235
|
+
const ee = /* @__PURE__ */ b(T, [["render", Z], ["__scopeId", "data-v-03e5d6b0"]]), se = {
|
|
236
236
|
name: "BackgroundsModal",
|
|
237
237
|
emits: ["close"]
|
|
238
238
|
};
|
|
@@ -263,6 +263,6 @@ function te(s, e, d, C, t, c) {
|
|
|
263
263
|
}
|
|
264
264
|
const le = /* @__PURE__ */ b(se, [["render", te]]), de = ee, ce = le;
|
|
265
265
|
export {
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
de as B,
|
|
267
|
+
ce as a
|
|
268
268
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as H } from "./DocumentLayout-
|
|
3
|
-
import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { B
|
|
5
|
-
import { u as J } from "./index-
|
|
6
|
-
import { r as
|
|
7
|
-
import { S as Q } from "./SmartList-
|
|
8
|
-
import { w as X } from "./CDropdownItem-
|
|
9
|
-
const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */
|
|
1
|
+
import { a7 as q, bg as I, A as V, b as r, d as f, c as g, I as w, o, j as i, e as C, T as $, an as k, bh as F, w as p, R as N, _ as M, m as A, ar as P, a as G, S as D, f as m, q as x, t as _, k as b, g as T, aq as O, V as R, F as z, n as U, x as j } from "./main-BkjAGG46.js";
|
|
2
|
+
import { i as H } from "./DocumentLayout-C-V_5p3r.js";
|
|
3
|
+
import { _ as W } from "./CFormField.vue_vue_type_script_setup_true_lang-HLxgkrxm.js";
|
|
4
|
+
import { B } from "./DocTextEditor-D5zDbbXV.js";
|
|
5
|
+
import { u as J } from "./index-DsvlNA3Q.js";
|
|
6
|
+
import { r as L, m as K } from "./index-DPlBYqKB.js";
|
|
7
|
+
import { S as Q } from "./SmartList-myMj6QGe.js";
|
|
8
|
+
import { w as X } from "./CDropdownItem-B9dja0RC.js";
|
|
9
|
+
const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-container" }, te = /* @__PURE__ */ q({
|
|
10
10
|
__name: "ContextModal",
|
|
11
11
|
props: {
|
|
12
12
|
placement: { default: "top-start" }
|
|
13
13
|
},
|
|
14
14
|
emits: ["show", "hide"],
|
|
15
15
|
setup(e, { emit: t }) {
|
|
16
|
-
const v = t, { rootChild: u } =
|
|
16
|
+
const v = t, { rootChild: u } = I(), s = V(!1), a = () => {
|
|
17
17
|
s.value = !0, v("show");
|
|
18
18
|
}, n = () => {
|
|
19
19
|
s.value = !1, v("hide");
|
|
20
20
|
};
|
|
21
21
|
return (d, c) => {
|
|
22
22
|
const h = r("VDropdown");
|
|
23
|
-
return w(H) ? (
|
|
24
|
-
i("div", { onClick:
|
|
23
|
+
return w(H) ? (o(), f("div", Y, [
|
|
24
|
+
i("div", { onClick: a }, [
|
|
25
25
|
$(d.$slots, "default", {}, void 0, !0)
|
|
26
26
|
]),
|
|
27
|
-
s.value ? (
|
|
27
|
+
s.value ? (o(), g(F, {
|
|
28
28
|
key: 0,
|
|
29
29
|
to: w(u)
|
|
30
30
|
}, [
|
|
@@ -37,18 +37,18 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
37
37
|
])
|
|
38
38
|
])
|
|
39
39
|
], 8, ["to"])) : C("", !0)
|
|
40
|
-
])) : (
|
|
40
|
+
])) : (o(), g(h, N({ key: 1 }, d.$props, {
|
|
41
41
|
placement: d.placement,
|
|
42
42
|
shown: s.value,
|
|
43
43
|
"onUpdate:shown": c[0] || (c[0] = (y) => s.value = y),
|
|
44
44
|
"popper-class": "context-modal-popper",
|
|
45
|
-
onShow:
|
|
45
|
+
onShow: a,
|
|
46
46
|
onHide: n,
|
|
47
47
|
"auto-hide": !1
|
|
48
48
|
}), {
|
|
49
49
|
popper: p(() => [
|
|
50
50
|
i("div", ee, [
|
|
51
|
-
s.value ? (
|
|
51
|
+
s.value ? (o(), g(F, {
|
|
52
52
|
key: 0,
|
|
53
53
|
to: w(u)
|
|
54
54
|
}, [
|
|
@@ -67,10 +67,10 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
67
67
|
}, 16, ["placement", "shown"]));
|
|
68
68
|
};
|
|
69
69
|
}
|
|
70
|
-
}), se = /* @__PURE__ */ M(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields:
|
|
70
|
+
}), se = /* @__PURE__ */ M(te, [["__scopeId", "data-v-71def6ac"]]), { mapFields: oe } = P({
|
|
71
71
|
getterType: "forms/getField",
|
|
72
72
|
mutationType: "forms/updateField"
|
|
73
|
-
}),
|
|
73
|
+
}), ae = {
|
|
74
74
|
i18nOptions: {
|
|
75
75
|
namespaces: "TextTemplatesForm",
|
|
76
76
|
messages: {
|
|
@@ -116,8 +116,8 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
116
116
|
},
|
|
117
117
|
name: "TextTemplatesForm",
|
|
118
118
|
components: {
|
|
119
|
-
BaseTextEditor:
|
|
120
|
-
Spinner:
|
|
119
|
+
BaseTextEditor: B,
|
|
120
|
+
Spinner: D,
|
|
121
121
|
CField: W
|
|
122
122
|
},
|
|
123
123
|
expose: ["canLeave"],
|
|
@@ -147,20 +147,20 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
147
147
|
},
|
|
148
148
|
validations: {
|
|
149
149
|
name: {
|
|
150
|
-
required:
|
|
150
|
+
required: L,
|
|
151
151
|
maxLength: K(255)
|
|
152
152
|
},
|
|
153
153
|
textContent: {
|
|
154
|
-
required:
|
|
154
|
+
required: L
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
computed: {
|
|
158
|
-
...
|
|
158
|
+
...G({
|
|
159
159
|
isPosting: "templateMessages/isPosting",
|
|
160
160
|
isFetching: "templateMessages/isFetching",
|
|
161
161
|
checkFormChanged: "forms/hasChanged"
|
|
162
162
|
}),
|
|
163
|
-
...
|
|
163
|
+
...oe({
|
|
164
164
|
templateMessage: "templateMessage",
|
|
165
165
|
name: "templateMessage.name",
|
|
166
166
|
textContent: "templateMessage.message"
|
|
@@ -189,7 +189,7 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
189
189
|
this.load(), this.predefinedTextContent && (this.textContent = this.predefinedTextContent);
|
|
190
190
|
},
|
|
191
191
|
methods: {
|
|
192
|
-
...
|
|
192
|
+
...A({
|
|
193
193
|
loadTemplate: T.LOAD_TEMPLATE_MESSAGE,
|
|
194
194
|
deleteTemplate: T.DELETE_TEMPLATE_MESSAGE,
|
|
195
195
|
formNewTemplate: T.FORM_NEW_TEMPLATE_MESSAGE,
|
|
@@ -234,22 +234,22 @@ const Y = { key: 0 }, Z = { class: "modal-container" }, ee = { class: "popover-c
|
|
|
234
234
|
class: "flex w-full items-center justify-center",
|
|
235
235
|
style: { padding: "calc(3 * var(--rem)) 0" }
|
|
236
236
|
}, ie = { key: 2 };
|
|
237
|
-
function re(e, t, v, u, s,
|
|
237
|
+
function re(e, t, v, u, s, a) {
|
|
238
238
|
const n = r("CButton"), d = r("Spinner"), c = r("CInput"), h = r("CField"), y = r("BaseTextEditor");
|
|
239
|
-
return
|
|
240
|
-
v.showFixedCloseButton ? (
|
|
239
|
+
return o(), f("div", ne, [
|
|
240
|
+
v.showFixedCloseButton ? (o(), g(n, {
|
|
241
241
|
key: 0,
|
|
242
242
|
class: "fixed-close-button",
|
|
243
243
|
circle: "",
|
|
244
244
|
icon: "x",
|
|
245
245
|
onClick: t[0] || (t[0] = (l) => e.$emit("close"))
|
|
246
246
|
})) : C("", !0),
|
|
247
|
-
e.isFetching ? (
|
|
247
|
+
e.isFetching ? (o(), f("div", le, [
|
|
248
248
|
m(d)
|
|
249
|
-
])) : e.templateMessage !== void 0 ? (
|
|
249
|
+
])) : e.templateMessage !== void 0 ? (o(), f("form", ie, [
|
|
250
250
|
m(h, {
|
|
251
251
|
validator: u.v$.name,
|
|
252
|
-
messages:
|
|
252
|
+
messages: a.messages.name,
|
|
253
253
|
label: e.$t("name.label")
|
|
254
254
|
}, {
|
|
255
255
|
default: p(() => [
|
|
@@ -264,7 +264,7 @@ function re(e, t, v, u, s, o) {
|
|
|
264
264
|
}, 8, ["validator", "messages", "label"]),
|
|
265
265
|
m(h, {
|
|
266
266
|
validator: u.v$.textContent,
|
|
267
|
-
messages:
|
|
267
|
+
messages: a.messages.textContent,
|
|
268
268
|
label: e.$t("textLabel")
|
|
269
269
|
}, {
|
|
270
270
|
default: p(() => [
|
|
@@ -280,26 +280,26 @@ function re(e, t, v, u, s, o) {
|
|
|
280
280
|
}, 8, ["validator", "messages", "label"]),
|
|
281
281
|
m(n, {
|
|
282
282
|
loading: e.isPosting,
|
|
283
|
-
disabled: !
|
|
283
|
+
disabled: !a.hasChanged,
|
|
284
284
|
type: "secondary",
|
|
285
285
|
style: { "margin-top": "calc(1 * var(--rem))" },
|
|
286
286
|
icon: "save",
|
|
287
287
|
wide: "",
|
|
288
|
-
onClick: t[5] || (t[5] = (l) =>
|
|
288
|
+
onClick: t[5] || (t[5] = (l) => a.validateBeforeSubmit())
|
|
289
289
|
}, {
|
|
290
290
|
default: p(() => [
|
|
291
291
|
x(_(e.$t("_common:save")), 1)
|
|
292
292
|
]),
|
|
293
293
|
_: 1
|
|
294
294
|
}, 8, ["loading", "disabled"]),
|
|
295
|
-
v.id ? (
|
|
295
|
+
v.id ? (o(), g(n, {
|
|
296
296
|
key: 0,
|
|
297
297
|
loading: e.isPosting,
|
|
298
298
|
type: "secondary",
|
|
299
299
|
pattern: "tertiary",
|
|
300
300
|
style: { "margin-top": "calc(1 * var(--rem))" },
|
|
301
301
|
wide: "",
|
|
302
|
-
onClick: t[6] || (t[6] = (l) =>
|
|
302
|
+
onClick: t[6] || (t[6] = (l) => a.remove())
|
|
303
303
|
}, {
|
|
304
304
|
default: p(() => [
|
|
305
305
|
x(_(e.$t("_common:remove")), 1)
|
|
@@ -309,16 +309,16 @@ function re(e, t, v, u, s, o) {
|
|
|
309
309
|
])) : C("", !0)
|
|
310
310
|
]);
|
|
311
311
|
}
|
|
312
|
-
const de = /* @__PURE__ */ M(
|
|
312
|
+
const de = /* @__PURE__ */ M(ae, [["render", re], ["__scopeId", "data-v-286de2c9"]]), me = {
|
|
313
313
|
name: "TextTemplatesModal",
|
|
314
314
|
components: {
|
|
315
315
|
SmartList: Q,
|
|
316
|
-
BaseTextEditor:
|
|
316
|
+
BaseTextEditor: B
|
|
317
317
|
},
|
|
318
318
|
emits: ["select", "close"],
|
|
319
319
|
mixins: [X],
|
|
320
320
|
setup() {
|
|
321
|
-
return { viewContext:
|
|
321
|
+
return { viewContext: R };
|
|
322
322
|
},
|
|
323
323
|
data() {
|
|
324
324
|
return {
|
|
@@ -327,7 +327,7 @@ const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9
|
|
|
327
327
|
};
|
|
328
328
|
},
|
|
329
329
|
computed: {
|
|
330
|
-
...
|
|
330
|
+
...O("templateMessages", {
|
|
331
331
|
templateMessages: (e) => e.data
|
|
332
332
|
}),
|
|
333
333
|
templates() {
|
|
@@ -369,10 +369,10 @@ const de = /* @__PURE__ */ M(oe, [["render", re], ["__scopeId", "data-v-286de2c9
|
|
|
369
369
|
key: 0,
|
|
370
370
|
class: "t-text quill-format"
|
|
371
371
|
}, ge = { key: 1 }, Ce = { class: "t-footer flex w-full items-center justify-between" };
|
|
372
|
-
function Te(e, t, v, u, s,
|
|
372
|
+
function Te(e, t, v, u, s, a) {
|
|
373
373
|
const n = r("CInput"), d = r("BaseTextEditor"), c = r("CIcon"), h = r("CButton"), y = r("SmartList");
|
|
374
|
-
return
|
|
375
|
-
items:
|
|
374
|
+
return o(), g(y, {
|
|
375
|
+
items: a.templates,
|
|
376
376
|
"sort-key": "position",
|
|
377
377
|
query: s.query
|
|
378
378
|
}, {
|
|
@@ -393,28 +393,28 @@ function Te(e, t, v, u, s, o) {
|
|
|
393
393
|
]),
|
|
394
394
|
i("div", ce, [
|
|
395
395
|
i("div", he, [
|
|
396
|
-
(
|
|
396
|
+
(o(!0), f(z, null, U(l, (S, E) => (o(), f("div", {
|
|
397
397
|
key: S.id,
|
|
398
|
-
class:
|
|
398
|
+
class: j([{ selected: E === s.selectedIndex }, "t-list-item w-full truncate"]),
|
|
399
399
|
onMouseoverPassive: () => s.selectedIndex = E,
|
|
400
|
-
onClick: (Me) =>
|
|
400
|
+
onClick: (Me) => a.onSelect(l[s.selectedIndex].message || "")
|
|
401
401
|
}, _(S.name), 43, fe))), 128))
|
|
402
402
|
]),
|
|
403
|
-
e.mq !== "sm" ? (
|
|
404
|
-
l[s.selectedIndex] ? (
|
|
403
|
+
e.mq !== "sm" ? (o(), f("div", ve, [
|
|
404
|
+
l[s.selectedIndex] ? (o(), g(d, {
|
|
405
405
|
key: 0,
|
|
406
406
|
"model-value": l[s.selectedIndex].message || "",
|
|
407
407
|
editable: !1,
|
|
408
408
|
extensions: "all",
|
|
409
409
|
"class-list": "document-form",
|
|
410
410
|
unstyled: ""
|
|
411
|
-
}, null, 8, ["model-value"])) : (
|
|
411
|
+
}, null, 8, ["model-value"])) : (o(), f("div", ge, _(e.$t("noResults")), 1))
|
|
412
412
|
])) : C("", !0)
|
|
413
413
|
]),
|
|
414
414
|
i("div", Ce, [
|
|
415
415
|
t[2] || (t[2] = i("div", { style: { display: "inline-flex", "align-items": "center" } }, null, -1)),
|
|
416
416
|
i("div", null, [
|
|
417
|
-
u.viewContext !== "widget" ? (
|
|
417
|
+
u.viewContext !== "widget" ? (o(), g(h, {
|
|
418
418
|
key: 0,
|
|
419
419
|
to: { name: "settingsTemplates" },
|
|
420
420
|
class: "t-footer-button",
|
|
@@ -434,7 +434,7 @@ function Te(e, t, v, u, s, o) {
|
|
|
434
434
|
m(h, {
|
|
435
435
|
class: "t-footer-button",
|
|
436
436
|
size: "small",
|
|
437
|
-
onClick:
|
|
437
|
+
onClick: a.openCreateModal
|
|
438
438
|
}, {
|
|
439
439
|
default: p(() => [
|
|
440
440
|
x(_(e.$t("create", { thing: e.$t("template") })), 1)
|
|
@@ -465,14 +465,14 @@ const _e = /* @__PURE__ */ M(me, [["render", Te], ["__scopeId", "data-v-e354b48d
|
|
|
465
465
|
this.loadTemplateMessages();
|
|
466
466
|
},
|
|
467
467
|
methods: {
|
|
468
|
-
...
|
|
468
|
+
...A({
|
|
469
469
|
loadTemplateMessages: T.LOAD_TEMPLATE_MESSAGES
|
|
470
470
|
})
|
|
471
471
|
}
|
|
472
472
|
}, Se = { class: "t-list" }, $e = { class: "t-option main" };
|
|
473
|
-
function xe(e, t, v, u, s,
|
|
473
|
+
function xe(e, t, v, u, s, a) {
|
|
474
474
|
const n = r("TextTemplatesModal"), d = r("ContextModal");
|
|
475
|
-
return
|
|
475
|
+
return o(), f("div", Se, [
|
|
476
476
|
m(d, {
|
|
477
477
|
"break-point": 1e3,
|
|
478
478
|
placement: v.placement,
|
|
@@ -494,7 +494,7 @@ function xe(e, t, v, u, s, o) {
|
|
|
494
494
|
}, 8, ["placement"])
|
|
495
495
|
]);
|
|
496
496
|
}
|
|
497
|
-
const
|
|
497
|
+
const qe = /* @__PURE__ */ M(ye, [["render", xe]]);
|
|
498
498
|
export {
|
|
499
|
-
|
|
499
|
+
qe as default
|
|
500
500
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as x, m as f, a as b, aA as $, aB as w, g as T, b as h, a4 as D, d as i, o as s, j as n, f as d, t as a, F as L, n as N, e as l, q as B, u as I, aC as u } from "./main-BkjAGG46.js";
|
|
2
2
|
const E = {
|
|
3
3
|
name: "ClientLinks",
|
|
4
4
|
emits: ["close"],
|
|
@@ -30,7 +30,7 @@ const E = {
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
computed: {
|
|
33
|
-
...
|
|
33
|
+
...b({
|
|
34
34
|
docById: "documents2/byId"
|
|
35
35
|
}),
|
|
36
36
|
document() {
|
|
@@ -51,7 +51,7 @@ const E = {
|
|
|
51
51
|
},
|
|
52
52
|
methods: {
|
|
53
53
|
...f({
|
|
54
|
-
loadDocument:
|
|
54
|
+
loadDocument: T.LOAD_DOCUMENT2
|
|
55
55
|
}),
|
|
56
56
|
async copyToClipboard(t) {
|
|
57
57
|
var p, c;
|
|
@@ -64,16 +64,16 @@ const E = {
|
|
|
64
64
|
}, S = {
|
|
65
65
|
class: "font-inter",
|
|
66
66
|
style: { "background-color": "white", "border-radius": "10px", overflow: "hidden" }
|
|
67
|
-
}, V = { style: { padding: "40px 30px", position: "relative" } }, j = { style: { padding: "0 0 2.5em" } },
|
|
67
|
+
}, V = { style: { padding: "40px 30px", position: "relative" } }, j = { style: { padding: "0 0 2.5em" } }, q = ["textContent"], z = ["textContent"], F = ["textContent"], M = { style: { padding: "4px 6px 8px 6px" } }, O = { class: "client-title w-full truncate" }, R = {
|
|
68
68
|
key: 0,
|
|
69
69
|
style: { opacity: "0.5", "padding-left": "0.125ch" }
|
|
70
|
-
},
|
|
70
|
+
}, A = ["textContent"], P = ["href"], G = {
|
|
71
71
|
key: 1,
|
|
72
72
|
style: { padding: "0 0.5ch" }
|
|
73
73
|
}, K = ["href"], U = { style: { display: "flex", position: "relative" } }, W = ["value", "placeholder"], H = { class: "x-hint" }, J = ["textContent"];
|
|
74
74
|
function Q(t, o, y, p, c, r) {
|
|
75
75
|
const k = h("CButton"), _ = h("CPhoneFormat"), m = h("CIcon"), g = D("tooltip");
|
|
76
|
-
return
|
|
76
|
+
return s(), i("div", S, [
|
|
77
77
|
n("div", V, [
|
|
78
78
|
d(k, {
|
|
79
79
|
icon: "x",
|
|
@@ -86,32 +86,32 @@ function Q(t, o, y, p, c, r) {
|
|
|
86
86
|
n("div", {
|
|
87
87
|
class: "x-title",
|
|
88
88
|
textContent: a(t.$t("title"))
|
|
89
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, q),
|
|
90
90
|
n("div", {
|
|
91
91
|
class: "x-text",
|
|
92
92
|
textContent: a(t.$t("text"))
|
|
93
|
-
}, null, 8,
|
|
93
|
+
}, null, 8, z)
|
|
94
94
|
]),
|
|
95
|
-
r.clients.length ? (
|
|
95
|
+
r.clients.length ? (s(!0), i(L, { key: 1 }, N(r.clients, (e, v) => (s(), i("div", {
|
|
96
96
|
key: v,
|
|
97
97
|
class: "client-card"
|
|
98
98
|
}, [
|
|
99
|
-
n("div",
|
|
100
|
-
n("div",
|
|
101
|
-
|
|
102
|
-
e.secondaryTitle ? (
|
|
99
|
+
n("div", M, [
|
|
100
|
+
n("div", O, [
|
|
101
|
+
B(a(e.primaryTitle) + " ", 1),
|
|
102
|
+
e.secondaryTitle ? (s(), i("span", R, "· " + a(e.secondaryTitle), 1)) : l("", !0)
|
|
103
103
|
]),
|
|
104
|
-
e.documentRole ? (
|
|
104
|
+
e.documentRole ? (s(), i("div", {
|
|
105
105
|
key: 0,
|
|
106
106
|
textContent: a(t.$t(`_common:documentRole.${e.documentRole}.label`))
|
|
107
|
-
}, null, 8,
|
|
107
|
+
}, null, 8, A)) : l("", !0),
|
|
108
108
|
n("div", null, [
|
|
109
|
-
e.email ? (
|
|
109
|
+
e.email ? (s(), i("a", {
|
|
110
110
|
key: 0,
|
|
111
111
|
href: `mailto:${e.email}?&body=${e.docLink}`
|
|
112
|
-
}, a(e.email), 9,
|
|
113
|
-
e.email && e.cellphone ? (
|
|
114
|
-
e.cellphone ? (
|
|
112
|
+
}, a(e.email), 9, P)) : l("", !0),
|
|
113
|
+
e.email && e.cellphone ? (s(), i("span", G, "·")) : l("", !0),
|
|
114
|
+
e.cellphone ? (s(), i("a", {
|
|
115
115
|
key: 2,
|
|
116
116
|
href: `sms:${e.cellphone}?&body=${e.docLink}`
|
|
117
117
|
}, [
|
|
@@ -132,9 +132,9 @@ function Q(t, o, y, p, c, r) {
|
|
|
132
132
|
readonly: "readonly",
|
|
133
133
|
class: "link-field w-full truncate"
|
|
134
134
|
}, null, 8, W),
|
|
135
|
-
|
|
135
|
+
I((s(), i("div", {
|
|
136
136
|
class: "clipboard-button",
|
|
137
|
-
onClick: o[1] || (o[1] = (...
|
|
137
|
+
onClick: o[1] || (o[1] = (...C) => r.copyToClipboard && r.copyToClipboard(...C))
|
|
138
138
|
}, [
|
|
139
139
|
d(m, {
|
|
140
140
|
type: "copy",
|
|
@@ -145,11 +145,11 @@ function Q(t, o, y, p, c, r) {
|
|
|
145
145
|
[g, t.$t("tooltip")]
|
|
146
146
|
])
|
|
147
147
|
])
|
|
148
|
-
]))), 128)) : (
|
|
148
|
+
]))), 128)) : (s(), i("div", {
|
|
149
149
|
key: 0,
|
|
150
150
|
style: { padding: "2em", "font-size": "14px", "text-align": "center", color: "hsl(0, 0%, 55%)", border: "1px solid hsl(0, 0%, 88%)", "border-radius": "6px" },
|
|
151
151
|
textContent: a(t.$t("placeholder"))
|
|
152
|
-
}, null, 8,
|
|
152
|
+
}, null, 8, F)),
|
|
153
153
|
n("div", H, [
|
|
154
154
|
d(m, {
|
|
155
155
|
type: "info",
|
|
@@ -164,7 +164,7 @@ function Q(t, o, y, p, c, r) {
|
|
|
164
164
|
])
|
|
165
165
|
]);
|
|
166
166
|
}
|
|
167
|
-
const X = /* @__PURE__ */
|
|
167
|
+
const X = /* @__PURE__ */ x(E, [["render", Q], ["__scopeId", "data-v-d4e8613a"]]), Y = X, ee = ({ id: t }) => {
|
|
168
168
|
var o;
|
|
169
169
|
if (!u.$modal)
|
|
170
170
|
throw Error("Open client modal requires plugin vue-js-modal");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as u,
|
|
1
|
+
import { _ as u, b as h, d as i, o as a, j as e, f as l, t as c, q as g, w as m, al as b, F as k, n as f, W as v, ao as n } from "./main-BkjAGG46.js";
|
|
2
2
|
const y = {
|
|
3
3
|
name: "DocumentGuide",
|
|
4
4
|
i18nOptions: {
|
|
@@ -58,10 +58,10 @@ const y = {
|
|
|
58
58
|
class: "max-w-[95%] md:max-w-lg",
|
|
59
59
|
style: { "background-color": "hsl(212, 90%, 15%)", padding: `calc(3 * var(--rem)) calc(2.5 * var(--rem))
|
|
60
60
|
calc(2.5 * var(--rem)) calc(2.5 * var(--rem))`, "border-radius": "8px", color: "hsla(0, 0%, 100%, 0.8)", "font-size": "16px", position: "relative" }
|
|
61
|
-
}, w = { style: { "padding-left": "calc(1 * var(--rem))" } }, B = { style: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, C = { style: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, z = ["innerHTML"], S = { style: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, F = ["src"],
|
|
62
|
-
function
|
|
61
|
+
}, w = { style: { "padding-left": "calc(1 * var(--rem))" } }, B = { style: { "text-transform": "uppercase", "font-size": "0.75em", "padding-bottom": "0.7em", color: "hsl(321, 100%, 78%)" } }, C = { style: { "font-size": "1.5em", "padding-bottom": "1em", "line-height": "1.4", "font-weight": "500", color: "white", "min-height": "100px" } }, z = ["innerHTML"], S = { style: { width: "100%", "background-color": "hsla(0, 0%, 100%, 0.2)", "line-height": "0", "border-radius": "8px", overflow: "hidden", position: "relative", "padding-bottom": "60%" } }, F = ["src"], L = { style: { "margin-top": "calc(3 * var(--rem))", display: "flex", "justify-content": "flex-end", position: "relative" } }, N = { style: { position: "absolute", display: "grid", gap: "10px", "grid-template-columns": "repeat(5, 1fr)", top: "50%", left: "50%", transform: "translate(-50%, -50%)" } }, T = ["onClick"];
|
|
62
|
+
function j(s, o, A, D, t, G) {
|
|
63
63
|
const p = h("CButton");
|
|
64
|
-
return
|
|
64
|
+
return a(), i("div", _, [
|
|
65
65
|
e("div", x, [
|
|
66
66
|
l(p, {
|
|
67
67
|
size: "small",
|
|
@@ -84,7 +84,7 @@ function N(s, o, T, j, t, D) {
|
|
|
84
84
|
e("div", S, [
|
|
85
85
|
l(b, { name: "slide-prev" }, {
|
|
86
86
|
default: m(() => [
|
|
87
|
-
(
|
|
87
|
+
(a(), i("img", {
|
|
88
88
|
key: t.step,
|
|
89
89
|
src: t.steps[t.step].img,
|
|
90
90
|
style: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%" }
|
|
@@ -93,15 +93,15 @@ function N(s, o, T, j, t, D) {
|
|
|
93
93
|
_: 1
|
|
94
94
|
})
|
|
95
95
|
]),
|
|
96
|
-
e("div",
|
|
97
|
-
e("div",
|
|
98
|
-
(
|
|
96
|
+
e("div", L, [
|
|
97
|
+
e("div", N, [
|
|
98
|
+
(a(!0), i(k, null, f(t.steps, (d, r) => (a(), i("div", {
|
|
99
99
|
key: r,
|
|
100
100
|
style: v([{
|
|
101
101
|
backgroundColor: t.step === r ? "white" : "hsla(0, 0%, 100%, 0.4)"
|
|
102
102
|
}, { width: "8px", height: "8px", "border-radius": "8px", cursor: "pointer" }]),
|
|
103
103
|
onClick: (M) => t.step = r
|
|
104
|
-
}, null, 12,
|
|
104
|
+
}, null, 12, T))), 128))
|
|
105
105
|
]),
|
|
106
106
|
l(p, {
|
|
107
107
|
class: "pulse",
|
|
@@ -119,7 +119,7 @@ function N(s, o, T, j, t, D) {
|
|
|
119
119
|
])
|
|
120
120
|
]);
|
|
121
121
|
}
|
|
122
|
-
const V = /* @__PURE__ */ u(y, [["render",
|
|
122
|
+
const V = /* @__PURE__ */ u(y, [["render", j]]);
|
|
123
123
|
export {
|
|
124
124
|
V as default
|
|
125
125
|
};
|