@cling-se/widget 0.15.2 → 0.15.5
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/README.md +43 -43
- package/dist/{AddClientCallout-CSxN7XFh.js → AddClientCallout-CrZF5j7A.js} +15 -13
- package/dist/{AnswerModal-DEwMlsT8.js → AnswerModal-C3r9vyki.js} +71 -71
- package/dist/{AttachmentItem-R7YMKqQ2.js → AttachmentItem-BVXrxCnv.js} +20 -13
- package/dist/{BaseDatePicker-Bd1maWgF.js → BaseDatePicker-DxL2l3QC.js} +561 -557
- package/dist/{BaseUpload-C9Jd1JBo.js → BaseUpload-B7259IaQ.js} +3 -3
- package/dist/{BlockMedia-CUCZYVdZ.js → BlockMedia-BSKtZMwa.js} +2 -2
- package/dist/{CCallout-_k7FPbsE.js → CCallout-BNvM6gNJ.js} +4 -5
- package/dist/{CCurrencyDropdown-DejfeYVY.js → CCurrencyDropdown-xmqmb8gW.js} +24 -20
- package/dist/{CDropdownItem-b6ZzOnv-.js → CDropdownItem-DiLisSei.js} +139 -37
- package/dist/{CFormField-BjGICSv5.js → CFormField-DcZVdj3a.js} +3 -4
- package/dist/{CPhoneFormat-Bf2fgYtr.js → CPhoneFormat-BeYxRN0i.js} +1 -1
- package/dist/CPhoneInput-UzZkxbC6.js +138 -0
- package/dist/{CPriceInput-myrETXfz.js → CPriceInput-C2y_3PM7.js} +20 -16
- package/dist/CSelect-BmP1UsQA.js +91 -0
- package/dist/CSkeleton-BNbft-NE.js +55 -0
- package/dist/ClientAutocomplete-BnredOme.js +438 -0
- package/dist/{ClientModal-DSmFJ9bu.js → ClientModal-DNcf4APF.js} +92 -51
- package/dist/{ColorPicker-B1MJicqo.js → ColorPicker-BupC4jvI.js} +2 -2
- package/dist/{CompanyModal-BXs3aAYm.js → CompanyModal-Bh8mEHE1.js} +25 -19
- package/dist/{ContentWrapper-BKWZy4Bp.js → ContentWrapper-Bs3nrJda.js} +63 -55
- package/dist/CoverBlockSettings-WYZsCdky.js +659 -0
- package/dist/{DocAnswer-CaoTYUNh.js → DocAnswer--FfsnnTB.js} +2 -2
- package/dist/{DocDetails-C9EEpNg2.js → DocDetails-Ce7bj-qO.js} +43 -39
- package/dist/{DocForm-Dww8Ust9.js → DocForm-FR_Vlq_C.js} +801 -755
- package/dist/{DocFormSend-DKAqaT50.js → DocFormSend-DcSv3JNg.js} +18 -15
- package/dist/{DocLinks-DFUO03dk.js → DocLinks-Bvhc62aJ.js} +2 -2
- package/dist/{DocModalBase-QZosNhiK.js → DocModalBase-DkfUBRi3.js} +2 -2
- package/dist/{DocPrint--T278pDE.js → DocPrint-BrKY6rOy.js} +3 -3
- package/dist/{DocReceipt-CPg45_I7.js → DocReceipt-oGrM6t_k.js} +29 -22
- package/dist/{DocSendReminder-DQAaiUrs.js → DocSendReminder-veEC_yHK.js} +19 -16
- package/dist/{DocTextEditor-CM1f8eMD.js → DocTextEditor-CNRwxPEx.js} +72 -70
- package/dist/{DocTimeline-Ce0OZgGP.js → DocTimeline-e2Xf_QZ7.js} +38 -34
- package/dist/{DocumentClient-DHU-Rg3r.js → DocumentClient-Dx4Uyxkh.js} +5 -5
- package/dist/{DocumentLayout-GYCBw2F_.js → DocumentLayout-DmjmsTcx.js} +1506 -1538
- package/dist/{DocumentLogotype-Cilc0ElE.js → DocumentLogotype-ddYHM9wn.js} +25 -20
- package/dist/{DocumentVoided-BH8pkv85.js → DocumentVoided-WCk7XuxH.js} +1 -1
- package/dist/{EmbedInput-lMSVQSey.js → EmbedInput-CMueXdFs.js} +25 -21
- package/dist/{EmbedSettings-D65Y2AZL.js → EmbedSettings-BRuLCWr0.js} +13 -11
- package/dist/{ErrorCallout-BBNHzuhf.js → ErrorCallout-CDtZceLU.js} +6 -6
- package/dist/{FilePreviewModal-iPIuaIor.js → FilePreviewModal-BzAUuY58.js} +3 -3
- package/dist/Flag-DkJgyDQK.js +46 -0
- package/dist/{HeaderSettings-WKUIBCfF.js → HeaderSettings-CoKK5Mbt.js} +159 -110
- package/dist/{ImageSelectModal-BTMFM3o9.js → ImageSelectModal-De64vGSr.js} +15 -13
- package/dist/{ImageUploadWrapper-BaLjUZF5.js → ImageUploadWrapper-CE6KTze0.js} +3 -3
- package/dist/{Index-DS1PwlDq.js → Index-50KxppUS.js} +4 -4
- package/dist/{Index-DJeZiYxr.js → Index-B7vVIRFn.js} +7 -7
- package/dist/{Index-ivhPuQy5.js → Index-BUQ75xOU.js} +6 -6
- package/dist/{Index-BUEXgHEE.js → Index-BVKCCkQY.js} +57 -50
- package/dist/{Index-BBTn35Kj.js → Index-BiGT3iEX.js} +21 -17
- package/dist/{Index-B-UWz1IM.js → Index-BoDKKVvL.js} +4 -4
- package/dist/{Index-DrSgVUyo.js → Index-BotY9nbP.js} +2 -2
- package/dist/{Index-B-YqdbQX.js → Index-BwaJW9CY.js} +3 -3
- package/dist/{Index-BepvyGqo.js → Index-ByqCyUgx.js} +9 -9
- package/dist/{Index-Bsv15ctO.js → Index-C7pge7E9.js} +23 -21
- package/dist/{Index-CEaZgZqg.js → Index-CBRJ-AZi.js} +2 -2
- package/dist/{Index-GrrsUUz1.js → Index-CFQMtx5w.js} +5 -5
- package/dist/{Index-CtQo0b8t.js → Index-CJKyHWiO.js} +15 -15
- package/dist/{Index-Dv1fkHWQ.js → Index-CK_5l1kP.js} +2 -2
- package/dist/{Index-BVt3pj58.js → Index-CLc_11Bc.js} +276 -232
- package/dist/{Index-cPIqnY80.js → Index-CTokKHJA.js} +5 -5
- package/dist/Index-Cf45UGbc.js +28 -0
- package/dist/{Index-B51tj7qY.js → Index-CfLPq-yA.js} +5 -5
- package/dist/{Index-B_ta4yT_.js → Index-Ci7y3O0G.js} +7 -7
- package/dist/{Index-ZKkQzVOj.js → Index-CmV8oF4Q.js} +4 -4
- package/dist/{Index-C6tGNKAk.js → Index-CoRuYEYW.js} +5 -5
- package/dist/Index-CtKNyVUB.js +56 -0
- package/dist/{Index-rL3fz1Ew.js → Index-DCf6_Zd2.js} +2 -2
- package/dist/{Index-CEHhYmLe.js → Index-DGdlZzVO.js} +7 -7
- package/dist/{Index-B5XaBVyJ.js → Index-DbKB8sTh.js} +18 -12
- package/dist/{Index-9PMrT3eB.js → Index-DgBOq2MJ.js} +3 -3
- package/dist/{Index-BBOJRRgx.js → Index-DvNxOHHu.js} +6 -6
- package/dist/{Index-DS7xellB.js → Index-M2Mce2_m.js} +124 -123
- package/dist/{Index-2PGn8Pnv.js → Index-QMkjG7hk.js} +4 -4
- package/dist/{Index-oKRUWCcJ.js → Index-QmX5pv-V.js} +17 -15
- package/dist/{Index-0aZtDWyk.js → Index-h5xDFYM9.js} +4 -4
- package/dist/{Index-CtZMlBfK.js → Index-hkGYloih.js} +5 -5
- package/dist/{Index-DK3b6Cv-.js → Index-q3gLm4b1.js} +6 -6
- package/dist/{Index-BQ3kapHk.js → Index-sqI1TF7Z.js} +2 -2
- package/dist/{InputToggleRow-CJF0vwk3.js → InputToggleRow-DLFIMIdx.js} +2 -2
- package/dist/{ManualPopover-CEF7LMpn.js → ManualPopover-Cf8DotlW.js} +13 -11
- package/dist/{MediaWrapper-CM6vWCoZ.js → MediaWrapper-BgWmA3kS.js} +3 -3
- package/dist/{NotBindingText-Cee9yA0M.js → NotBindingText-DhsHxvkX.js} +2 -2
- package/dist/{PackageGroup-CFXogKPM.js → PackageGroup-EbOSxv69.js} +26 -20
- package/dist/PdfTerms-im6uTd5E.js +31 -0
- package/dist/{PdfViewer-Cd0Jm2VB.js → PdfViewer-DY0rcZjo.js} +22 -22
- package/dist/{PlainHtml-CucWAcOU.js → PlainHtml-o031pfp-.js} +1 -1
- package/dist/{PriceHeader-DdMZUaq5.js → PriceHeader-NdFa0Sqs.js} +15 -15
- package/dist/{SearchApi-knNqVduO.js → SearchApi-Bw5E9IPj.js} +2 -2
- package/dist/SendForm-BDY5VDkS.js +1023 -0
- package/dist/{Setup-7HIAWuiK.js → Setup-BsYqPmOm.js} +1 -1
- package/dist/{SmartList-cSmGbybV.js → SmartList-CP2wHig-.js} +1 -1
- package/dist/{TermsSettings-CAB-08E3.js → TermsSettings-CUlSayCJ.js} +20 -13
- package/dist/{ThemeColorRow-DxcMvBGq.js → ThemeColorRow-D3fav4Sl.js} +14 -12
- package/dist/ToggleBinding-B715OVl2.js +42 -0
- package/dist/{UploadModal-CvoSMExA.js → UploadModal-THDJ-UNp.js} +6 -6
- package/dist/{VideoPlayerInput-X5baUH3q.js → VideoPlayerInput-Cm3KoRnR.js} +15 -11
- package/dist/{VideoPlayerSettings-DsIvpufB.js → VideoPlayerSettings-BFAjczuw.js} +3 -3
- package/dist/VideoSelectModal-CzO8EMg9.js +104 -0
- package/dist/{answerDocumentMixin-B8HB1WAX.js → answerDocumentMixin-D12xJRhx.js} +3 -3
- package/dist/{debounce-B2lqFJg2.js → debounce-DLiv1sQX.js} +16 -16
- package/dist/{focusDrawerMixin-B2djM7ql.js → focusDrawerMixin-khaScuSu.js} +1 -1
- package/dist/{formDrawerState-CchCpZRc.js → formDrawerState-CJ6kjaD_.js} +1 -1
- package/dist/{formValidationMixin-Dz9Mabvi.js → formValidationMixin-Bri1WflH.js} +1 -1
- package/dist/{index-Dk6sZCYv.js → index-B0Zu30kF.js} +2 -2
- package/dist/{index-twnaU4rC.js → index-C1Ngv-v3.js} +1 -1
- package/dist/{index-BCrDgR_4.js → index-CMT3coT-.js} +785 -2001
- package/dist/{index-H1Kx9sJM.js → index-DJOUQneq.js} +42 -38
- package/dist/{index-BaGtbWcA.js → index-DLa3QER7.js} +18 -17
- package/dist/{index-kV9OZ5y0.js → index-Dygy9XlG.js} +1 -1
- package/dist/index.es.js +10 -10
- package/dist/index.umd.js +179 -175
- package/dist/{main-CerYX9PA.js → main-U22_wtg0.js} +13008 -11358
- package/dist/{mapFormMixin-Hj1Y7rVt.js → mapFormMixin-BZf4RJIE.js} +1 -1
- package/dist/omit-RBXmF_Fo.js +31 -0
- package/dist/{publicSenderState-t7Gu53cA.js → publicSenderState-DKuvxj4_.js} +1 -1
- package/dist/regions-BdZt9Srn.js +1250 -0
- package/dist/simplebar.min-Bnrne5ZK.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{throttle-B8hI9bkk.js → throttle-Fkuqk26x.js} +2 -2
- package/dist/{tinycolor-BaK26Ky-.js → tinycolor-BZ8wGctU.js} +1 -1
- package/dist/{tippy.esm-BuWRbveV.js → tippy.esm-BJe845c1.js} +246 -240
- package/dist/{utils-Pmm0DT8o.js → utils-BOWVR87A.js} +1 -1
- package/dist/{vuedraggable.umd-Besz6Tlv.js → vuedraggable.umd-CJL8TWxZ.js} +1 -1
- package/package.json +2 -11
- package/dist/CField.vue_vue_type_style_index_0_lang-l0sNRNKZ.js +0 -1
- package/dist/CTabs.vue_vue_type_style_index_0_scoped_e02a6440_lang-l0sNRNKZ.js +0 -1
- package/dist/ClientAutocomplete-DyXQEfcS.js +0 -78
- package/dist/CoverBlockSettings-7Ivt9zN0.js +0 -275
- package/dist/Flag-CwnrA4SV.js +0 -114
- package/dist/Index-B0pgh8nR.js +0 -21
- package/dist/Index-Ccx9wHcb.js +0 -52
- package/dist/PdfTerms-ChtDfzne.js +0 -36
- package/dist/ToggleBinding-CTTYdrkp.js +0 -38
- package/dist/VideoSelectModal-VMcSU3bM.js +0 -100
- package/dist/formComponentsInstall-CdjgjI6y.js +0 -2495
- package/dist/omit-DGBewD2h.js +0 -31
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { w as m } from "./CDropdownItem-
|
|
2
|
-
import { n as o,
|
|
1
|
+
import { w as m } from "./CDropdownItem-DiLisSei.js";
|
|
2
|
+
import { n as o, M as f, S as v, g as i, h as l } from "./main-U22_wtg0.js";
|
|
3
3
|
import { m as h, a as d, b as _ } from "./vuex.esm-DKGl8mcw.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { C as g } from "./CFormField-DcZVdj3a.js";
|
|
5
|
+
import { B as u } from "./DocTextEditor-CNRwxPEx.js";
|
|
6
|
+
import { v as r } from "./index-C1Ngv-v3.js";
|
|
7
|
+
import { S as x } from "./SmartList-CP2wHig-.js";
|
|
8
|
+
const C = {
|
|
8
9
|
mixins: [m],
|
|
9
10
|
props: {
|
|
10
11
|
placement: {
|
|
@@ -26,7 +27,7 @@ const x = {
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
};
|
|
29
|
-
var
|
|
30
|
+
var T = function() {
|
|
30
31
|
var e = this, t = e._self._c;
|
|
31
32
|
return e.mq === "sm" ? t("div", [t("div", { on: { click: e.onOpen } }, [e._t("default")], 2), e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "modal-overlay", on: { click: function(a) {
|
|
32
33
|
return a.target !== a.currentTarget ? null : e.onClose.apply(null, arguments);
|
|
@@ -34,19 +35,21 @@ var C = function() {
|
|
|
34
35
|
return e.onClose();
|
|
35
36
|
}, "update:open": function(a) {
|
|
36
37
|
a ? e.onOpen() : e.onClose();
|
|
37
|
-
} }
|
|
38
|
-
},
|
|
39
|
-
|
|
38
|
+
} }, scopedSlots: e._u([{ key: "popover", fn: function() {
|
|
39
|
+
return [t("div", { staticClass: "popover-container" }, [e.isOpen ? t("portal", { attrs: { to: "modal" } }, [t("div", { staticClass: "overlay" })]) : e._e(), e._t("popover", null, { close: e.onClose })], 2)];
|
|
40
|
+
}, proxy: !0 }], null, !0) }, "v-popover", e.$props, !1), [e._t("default")], 2);
|
|
41
|
+
}, $ = [], S = /* @__PURE__ */ o(
|
|
40
42
|
C,
|
|
41
43
|
T,
|
|
44
|
+
$,
|
|
42
45
|
!1,
|
|
43
46
|
null,
|
|
44
|
-
"
|
|
47
|
+
"ed1712f0"
|
|
45
48
|
);
|
|
46
|
-
const
|
|
49
|
+
const y = S.exports, { mapFields: b } = f({
|
|
47
50
|
getterType: "forms/getField",
|
|
48
51
|
mutationType: "forms/updateField"
|
|
49
|
-
}),
|
|
52
|
+
}), M = {
|
|
50
53
|
i18nOptions: {
|
|
51
54
|
namespaces: "TextTemplatesForm",
|
|
52
55
|
messages: {
|
|
@@ -92,8 +95,9 @@ const S = $.exports, { mapFields: y } = f({
|
|
|
92
95
|
},
|
|
93
96
|
name: "TextTemplatesForm",
|
|
94
97
|
components: {
|
|
95
|
-
BaseTextEditor:
|
|
96
|
-
Spinner: v
|
|
98
|
+
BaseTextEditor: u,
|
|
99
|
+
Spinner: v,
|
|
100
|
+
CField: g
|
|
97
101
|
},
|
|
98
102
|
props: {
|
|
99
103
|
id: {
|
|
@@ -128,7 +132,7 @@ const S = $.exports, { mapFields: y } = f({
|
|
|
128
132
|
isFetching: "templateMessages/isFetching",
|
|
129
133
|
checkFormChanged: "forms/hasChanged"
|
|
130
134
|
}),
|
|
131
|
-
...
|
|
135
|
+
...b({
|
|
132
136
|
templateMessage: "templateMessage",
|
|
133
137
|
name: "templateMessage.name",
|
|
134
138
|
textContent: "templateMessage.message"
|
|
@@ -198,7 +202,7 @@ const S = $.exports, { mapFields: y } = f({
|
|
|
198
202
|
}
|
|
199
203
|
}
|
|
200
204
|
};
|
|
201
|
-
var
|
|
205
|
+
var E = function() {
|
|
202
206
|
var e = this, t = e._self._c;
|
|
203
207
|
return t("div", { staticStyle: { position: "relative" } }, [e.showFixedCloseButton ? t("CButton", { staticClass: "fixed-close-button", attrs: { circle: "", icon: "x" }, on: { click: function(a) {
|
|
204
208
|
return e.$emit("close");
|
|
@@ -215,19 +219,19 @@ var M = function() {
|
|
|
215
219
|
} } }, [e._v(" " + e._s(e.$t("_common:save")) + " ")]), e.id ? t("CButton", { staticStyle: { "margin-top": "calc(1 * var(--rem))" }, attrs: { loading: e.isPosting, type: "secondary", pattern: "tertiary", wide: "" }, on: { click: function(a) {
|
|
216
220
|
return e.remove();
|
|
217
221
|
} } }, [e._v(" " + e._s(e.$t("_common:remove")) + " ")]) : e._e()], 1) : e._e()], 1);
|
|
218
|
-
},
|
|
219
|
-
b,
|
|
222
|
+
}, F = [], w = /* @__PURE__ */ o(
|
|
220
223
|
M,
|
|
221
224
|
E,
|
|
225
|
+
F,
|
|
222
226
|
!1,
|
|
223
227
|
null,
|
|
224
|
-
"
|
|
228
|
+
"9008fe0f"
|
|
225
229
|
);
|
|
226
|
-
const
|
|
230
|
+
const k = w.exports, q = {
|
|
227
231
|
name: "TextTemplatesModal",
|
|
228
232
|
components: {
|
|
229
|
-
SmartList:
|
|
230
|
-
BaseTextEditor:
|
|
233
|
+
SmartList: x,
|
|
234
|
+
BaseTextEditor: u
|
|
231
235
|
},
|
|
232
236
|
mixins: [m],
|
|
233
237
|
data() {
|
|
@@ -253,7 +257,7 @@ const F = w.exports, k = {
|
|
|
253
257
|
},
|
|
254
258
|
openCreateModal() {
|
|
255
259
|
this.close(), this.$modal.show(
|
|
256
|
-
|
|
260
|
+
k,
|
|
257
261
|
{
|
|
258
262
|
predefinedTextContent: "",
|
|
259
263
|
showFixedCloseButton: !0,
|
|
@@ -273,7 +277,7 @@ const F = w.exports, k = {
|
|
|
273
277
|
}
|
|
274
278
|
}
|
|
275
279
|
};
|
|
276
|
-
var
|
|
280
|
+
var A = function() {
|
|
277
281
|
var e = this, t = e._self._c;
|
|
278
282
|
return t("SmartList", { attrs: { items: e.templates, "sort-key": "position", query: e.query }, scopedSlots: e._u([{ key: "default", fn: function({ items: a }) {
|
|
279
283
|
return [t("div", { ref: "modal-container", staticClass: "font-inter t-modal" }, [t("div", { staticClass: "t-nav" }, [t("CInput", { ref: "searchInput", staticClass: "search-input focus:text-gray-500", attrs: { placeholder: e.$t("search"), icon: "search" }, on: { input: function(n) {
|
|
@@ -281,26 +285,26 @@ var q = function() {
|
|
|
281
285
|
} }, model: { value: e.query, callback: function(n) {
|
|
282
286
|
e.query = n;
|
|
283
287
|
}, expression: "query" } })], 1), t("div", { staticClass: "t-main" }, [t("div", { staticClass: "t-list" }, e._l(a, function(n, c) {
|
|
284
|
-
return t("div", { key: n.id, staticClass: "t-list-item truncate-text", class: { selected: c === e.selectedIndex }, on: { "&mouseover": function(
|
|
288
|
+
return t("div", { key: n.id, staticClass: "t-list-item truncate-text", class: { selected: c === e.selectedIndex }, on: { "&mouseover": function(p) {
|
|
285
289
|
e.selectedIndex = c;
|
|
286
|
-
}, click: function(
|
|
290
|
+
}, click: function(p) {
|
|
287
291
|
return e.onSelect(a[e.selectedIndex].message || "");
|
|
288
292
|
} } }, [e._v(" " + e._s(n.name) + " ")]);
|
|
289
293
|
}), 0), e.mq !== "sm" ? t("div", { staticClass: "t-text quill-format" }, [a[e.selectedIndex] ? t("BaseTextEditor", { attrs: { value: a[e.selectedIndex].message || "", editable: !1, extensions: "all", "class-list": "document-form", unstyled: "" } }) : t("div", [e._v(" " + e._s(e.$t("noResults")) + " ")])], 1) : e._e()]), t("div", { staticClass: "t-footer flex w-full items-center justify-between" }, [t("div", { staticStyle: { display: "inline-flex", "align-items": "center" } }), t("div", [t("CButton", { staticClass: "t-footer-button", attrs: { to: { name: "settingsTemplates" }, target: "_blank", size: "small" } }, [e._v(" " + e._s(e.$t("handle")) + " "), t("CIcon", { staticStyle: { "margin-left": "0.5em" }, attrs: { type: "new-window", size: "16" } })], 1), t("CButton", { staticClass: "t-footer-button", attrs: { size: "small" }, on: { click: e.openCreateModal } }, [e._v(" " + e._s(e.$t("create", { thing: e.$t("template") })) + " ")])], 1)])])];
|
|
290
294
|
} }]) });
|
|
291
|
-
},
|
|
292
|
-
k,
|
|
295
|
+
}, L = [], B = /* @__PURE__ */ o(
|
|
293
296
|
q,
|
|
294
297
|
A,
|
|
298
|
+
L,
|
|
295
299
|
!1,
|
|
296
300
|
null,
|
|
297
|
-
"
|
|
301
|
+
"729b0897"
|
|
298
302
|
);
|
|
299
|
-
const
|
|
303
|
+
const O = B.exports, I = {
|
|
300
304
|
name: "TextTemplates",
|
|
301
305
|
components: {
|
|
302
|
-
ContextModal:
|
|
303
|
-
TextTemplatesModal:
|
|
306
|
+
ContextModal: y,
|
|
307
|
+
TextTemplatesModal: O
|
|
304
308
|
},
|
|
305
309
|
inject: {
|
|
306
310
|
viewSettings: {
|
|
@@ -322,7 +326,7 @@ const B = L.exports, O = {
|
|
|
322
326
|
})
|
|
323
327
|
}
|
|
324
328
|
};
|
|
325
|
-
var
|
|
329
|
+
var P = function() {
|
|
326
330
|
var e = this, t = e._self._c;
|
|
327
331
|
return e.viewSettings.isPublicForm ? e._e() : t("div", { staticClass: "t-list" }, [t("ContextModal", { attrs: { "break-point": 1e3, placement: e.placement }, on: { open: function(a) {
|
|
328
332
|
return e.$emit("open");
|
|
@@ -333,15 +337,15 @@ var I = function() {
|
|
|
333
337
|
return e.$emit("select", n);
|
|
334
338
|
} } })];
|
|
335
339
|
} }], null, !1, 1240188552) }, [t("div", { staticClass: "t-option main" }, [e._t("default")], 2)])], 1);
|
|
336
|
-
},
|
|
337
|
-
O,
|
|
340
|
+
}, G = [], N = /* @__PURE__ */ o(
|
|
338
341
|
I,
|
|
339
342
|
P,
|
|
343
|
+
G,
|
|
340
344
|
!1,
|
|
341
345
|
null,
|
|
342
346
|
null
|
|
343
347
|
);
|
|
344
|
-
const
|
|
348
|
+
const J = N.exports;
|
|
345
349
|
export {
|
|
346
|
-
|
|
350
|
+
J as default
|
|
347
351
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { w as
|
|
3
|
-
import { n as a } from "./main-
|
|
4
|
-
import { i as
|
|
5
|
-
import { d
|
|
6
|
-
import { t as
|
|
1
|
+
import { F as n } from "./Flag-DkJgyDQK.js";
|
|
2
|
+
import { w as o } from "./CDropdownItem-DiLisSei.js";
|
|
3
|
+
import { n as a } from "./main-U22_wtg0.js";
|
|
4
|
+
import { i as c } from "./dom-CJxkno7i.js";
|
|
5
|
+
import { d } from "./debounce-DLiv1sQX.js";
|
|
6
|
+
import { t as u } from "./throttle-Fkuqk26x.js";
|
|
7
|
+
import { s as m } from "./simplebar.min-Bnrne5ZK.js";
|
|
7
8
|
const f = {
|
|
8
9
|
name: "BackgroundsModalList",
|
|
9
10
|
i18nOptions: {
|
|
@@ -20,10 +21,10 @@ const f = {
|
|
|
20
21
|
}
|
|
21
22
|
},
|
|
22
23
|
components: {
|
|
23
|
-
simplebar:
|
|
24
|
-
Flag:
|
|
24
|
+
simplebar: m,
|
|
25
|
+
Flag: n
|
|
25
26
|
},
|
|
26
|
-
mixins: [
|
|
27
|
+
mixins: [o],
|
|
27
28
|
props: {
|
|
28
29
|
/**
|
|
29
30
|
* @param {Object} options Input arguments
|
|
@@ -71,7 +72,7 @@ const f = {
|
|
|
71
72
|
}
|
|
72
73
|
},
|
|
73
74
|
created() {
|
|
74
|
-
this.handleFetch(), this.debouncedHandleFetch =
|
|
75
|
+
this.handleFetch(), this.debouncedHandleFetch = d(this.handleFetch, 1e3);
|
|
75
76
|
},
|
|
76
77
|
mounted() {
|
|
77
78
|
this.$refs.scrollbar.scrollElement.addEventListener(
|
|
@@ -95,9 +96,9 @@ const f = {
|
|
|
95
96
|
const i = this.query ? this.query : this.defaultQuery, { items: e, total: t } = await this.fetch({ query: i, page: this.page++ });
|
|
96
97
|
this.isLoading = !1, this.noOfResults = this.query ? t : null, this.items == null ? (this.selectedIndex = null, this.items = e) : this.items = [...this.items, ...e], this.allowMoreResults = t >= this.page * 12;
|
|
97
98
|
},
|
|
98
|
-
scrollHandler:
|
|
99
|
+
scrollHandler: u(async function() {
|
|
99
100
|
const e = this.$refs.item[this.$refs.item.length - 9 || 0];
|
|
100
|
-
e &&
|
|
101
|
+
e && c(e) && this.handleFetch();
|
|
101
102
|
}, 50),
|
|
102
103
|
selectItem(i, e) {
|
|
103
104
|
this.selectedIndex = e, this.$emit("select", i);
|
|
@@ -137,7 +138,7 @@ var h = function() {
|
|
|
137
138
|
p,
|
|
138
139
|
!1,
|
|
139
140
|
null,
|
|
140
|
-
"
|
|
141
|
+
"9643fd00"
|
|
141
142
|
);
|
|
142
143
|
const g = v.exports, _ = {
|
|
143
144
|
name: "BackgroundsModal"
|
|
@@ -157,10 +158,10 @@ var y = function() {
|
|
|
157
158
|
x,
|
|
158
159
|
!1,
|
|
159
160
|
null,
|
|
160
|
-
"
|
|
161
|
+
"1cac16c1"
|
|
161
162
|
);
|
|
162
|
-
const
|
|
163
|
+
const $ = w.exports, L = g, q = $;
|
|
163
164
|
export {
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
q as B,
|
|
166
|
+
L as a
|
|
166
167
|
};
|