@cling-se/widget 0.9.4 → 0.9.6
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/dist/{AddClientCallout-d472aa84.js → AddClientCallout-d8f5bc53.js} +5 -5
- package/dist/{AnswerModal-06487437.js → AnswerModal-5f83562b.js} +248 -248
- package/dist/{AttachmentItem-d98488ee.js → AttachmentItem-79eb718b.js} +8 -8
- package/dist/{BaseDatePicker-8c098701.js → BaseDatePicker-ae7aebf1.js} +43 -43
- package/dist/{BaseInput-2723d613.js → BaseInput-2c476604.js} +1 -1
- package/dist/{BaseUpload-996d74b3.js → BaseUpload-9e15729d.js} +3 -3
- package/dist/{BlockMedia-00907fb6.js → BlockMedia-a3f00a2f.js} +1 -1
- package/dist/{CCallout-ffa95028.js → CCallout-04e2c8c6.js} +6 -6
- package/dist/{CDropdownItem-74672842.js → CDropdownItem-5532f8af.js} +76 -75
- package/dist/{CField-06dd50f1.js → CField-0bc9de28.js} +1 -1
- package/dist/{CSlider.vue_vue_type_style_index_0_lang-f49d85e0.js → CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js} +1 -1
- package/dist/{ClientAutocomplete-f65643dd.js → ClientAutocomplete-e13c2753.js} +4 -4
- package/dist/{ClientModal-d276aabd.js → ClientModal-da9fddf9.js} +16 -16
- package/dist/{ColorPicker-4f6b70af.js → ColorPicker-06b731b7.js} +2 -2
- package/dist/{CompanyModal-30c54ce3.js → CompanyModal-b7c42f2a.js} +8 -8
- package/dist/{ContentWrapper-d5653fef.js → ContentWrapper-fe4a67bc.js} +19 -19
- package/dist/{CoverBlockSettings-2335f3a8.js → CoverBlockSettings-2024e993.js} +19 -19
- package/dist/DocForm-af03179d.js +7012 -0
- package/dist/{DocFormSend-d0c6fa1d.js → DocFormSend-44161541.js} +14 -14
- package/dist/{DocModalBase-f4915a62.js → DocModalBase-9eb0f26f.js} +4 -4
- package/dist/DocPrint-92d12950.js +222 -0
- package/dist/{DocReceipt-d192000e.js → DocReceipt-4df57e1d.js} +1 -1
- package/dist/{DocSendReminder-06d5b34c.js → DocSendReminder-041af744.js} +1 -1
- package/dist/{DocTextEditor-c6d1df3c.js → DocTextEditor-b07dd391.js} +19 -19
- package/dist/{DocTimeline-b4c20f93.js → DocTimeline-2ae2ca63.js} +7 -7
- package/dist/{DocumentClient-c2319f00.js → DocumentClient-3a1aecf2.js} +8 -6
- package/dist/{formValidationMixin-4920ab53.js → DocumentLayout-ae49ac7a.js} +1617 -1709
- package/dist/{DocumentLogotype-1efd1ce9.js → DocumentLogotype-91436523.js} +3 -3
- package/dist/{EmbedInput-654c0477.js → EmbedInput-05e22228.js} +2 -2
- package/dist/{EmbedSettings-b81ec734.js → EmbedSettings-9dabb6d4.js} +10 -10
- package/dist/ErrorCallout-c7f69cd9.js +30 -0
- package/dist/{FilePreviewModal-895bd1bd.js → FilePreviewModal-167a40c8.js} +8 -7
- package/dist/{HeaderSettings-c6dac755.js → HeaderSettings-e9b177e0.js} +29 -29
- package/dist/{ImageSelectModal-7cece54e.js → ImageSelectModal-8565c461.js} +11 -11
- package/dist/{ImageUploadWrapper-53afd31d.js → ImageUploadWrapper-1e61e8da.js} +3 -3
- package/dist/{Index-5cc51230.js → Index-0708b238.js} +12 -12
- package/dist/{Index-82574a41.js → Index-0799eaba.js} +18 -19
- package/dist/{Index-1a7e98d7.js → Index-1f3de208.js} +11 -10
- package/dist/{Index-d8879ca9.js → Index-27a05d76.js} +2 -2
- package/dist/{Index-b15cfd62.js → Index-43899daf.js} +13 -13
- package/dist/{Index-c4de05aa.js → Index-4446581c.js} +10 -9
- package/dist/{Index-01c63c88.js → Index-49766088.js} +2 -2
- package/dist/{Index-caf5cf44.js → Index-630600c9.js} +94 -94
- package/dist/{Index-b14d0f03.js → Index-6b63686e.js} +4 -4
- package/dist/{Index-34c84bab.js → Index-716dbe24.js} +10 -10
- package/dist/{Index-f935c492.js → Index-72bcad54.js} +10 -10
- package/dist/{Index-61f7dc92.js → Index-84820d3d.js} +2 -2
- package/dist/{Index-e749f6f1.js → Index-85e8119e.js} +14 -14
- package/dist/Index-88e175bf.js +54 -0
- package/dist/{Index-e45a0c32.js → Index-89addabd.js} +27 -27
- package/dist/{Index-701f0d05.js → Index-8b29bd10.js} +2 -2
- package/dist/{Index-d45a1eff.js → Index-8d1c62be.js} +4 -4
- package/dist/{Index-63805642.js → Index-96a07794.js} +9 -9
- package/dist/{Index-60fc8a6e.js → Index-9bbfa37b.js} +3 -3
- package/dist/{Index-7443e91c.js → Index-a7a6f91c.js} +31 -31
- package/dist/{Index-8bca2d87.js → Index-a987a099.js} +9 -9
- package/dist/{Index-98e8bb86.js → Index-b6b60b81.js} +8 -8
- package/dist/{Index-5e35f4a2.js → Index-ba0c8eaa.js} +8 -8
- package/dist/{Index-9aaf8b90.js → Index-c038406f.js} +26 -26
- package/dist/Index-c53330d6.js +79 -0
- package/dist/{Index-9233cc83.js → Index-c58260f8.js} +15 -15
- package/dist/{Index-2535f58f.js → Index-c893d091.js} +2 -2
- package/dist/{Index-1d361d01.js → Index-ca112d97.js} +4 -4
- package/dist/{Index-cd76b120.js → Index-e728d2f7.js} +7 -7
- package/dist/{Index-6ef78b7a.js → Index-ecf93915.js} +2 -2
- package/dist/{Index-c7e68382.js → Index-eda700f4.js} +4 -4
- package/dist/{Index-82b5de12.js → Index-ee75e74a.js} +4 -4
- package/dist/{Index-c67218ce.js → Index-f75b1dd5.js} +15 -15
- package/dist/{Index-66c8cbfa.js → Index-fc722547.js} +4 -4
- package/dist/{InputToggleRow-9d8a7da4.js → InputToggleRow-483acc75.js} +5 -5
- package/dist/{IsPremiumPreStep-3a087524.js → IsPremiumPreStep-aa08f8c8.js} +856 -432
- package/dist/{MediaWrapper-d4a4b66f.js → MediaWrapper-ed7db800.js} +3 -3
- package/dist/{NotBindingText-b199006c.js → NotBindingText-a99b4f85.js} +2 -2
- package/dist/{PackageGroup-37ac99b1.js → PackageGroup-8cae78f1.js} +56 -56
- package/dist/{PdfTerms-8b52bb6e.js → PdfTerms-9c1c806e.js} +8 -7
- package/dist/{PdfViewer-38bd8439.js → PdfViewer-1227dda6.js} +5 -4
- package/dist/{PlainHtml-9174cbf6.js → PlainHtml-647219e9.js} +1 -1
- package/dist/PriceHeader-cfb22169.js +337 -0
- package/dist/{SearchApi-2e286be6.js → SearchApi-c0067742.js} +2 -2
- package/dist/{TermsSettings-c74eec79.js → TermsSettings-a0282ad7.js} +11 -11
- package/dist/{ThemeColorRow-3558367b.js → ThemeColorRow-71af67bd.js} +3 -3
- package/dist/{ToggleBinding-6c9c1ac3.js → ToggleBinding-16c2879e.js} +3 -3
- package/dist/{UploadModal-6d0abd77.js → UploadModal-084e3c2e.js} +16 -16
- package/dist/{VideoPlayerInput-77cd86aa.js → VideoPlayerInput-fe87698e.js} +3 -3
- package/dist/{VideoPlayerSettings-b7eb781c.js → VideoPlayerSettings-06cfaccc.js} +12 -12
- package/dist/VideoSelectModal-fa81fb92.js +111 -0
- package/dist/{answerDocumentMixin-66023e62.js → answerDocumentMixin-ef48c7eb.js} +3 -3
- package/dist/{cssMode-8552fc56.js → cssMode-916ae2c1.js} +7 -7
- package/dist/dom-068d1a7b.js +59 -0
- package/dist/{focusDrawerMixin-67462262.js → focusDrawerMixin-24942dd1.js} +1 -1
- package/dist/{formComponentsInstall-ad9c2a83.js → formComponentsInstall-2dfa2def.js} +25 -25
- package/dist/formValidationMixin-82793652.js +49 -0
- package/dist/{freemarker2-7e10a65d.js → freemarker2-6fd30e77.js} +7 -7
- package/dist/{handlebars-8045bfa8.js → handlebars-ff07e526.js} +7 -7
- package/dist/{html-8afcb633.js → html-5ad143f9.js} +7 -7
- package/dist/{htmlMode-1a2d1b48.js → htmlMode-adc834ff.js} +7 -7
- package/dist/{index-3d6d7a03.js → index-045c9c73.js} +31 -31
- package/dist/{index-c48c5eb4.js → index-1f068e8e.js} +3 -3
- package/dist/{index-bf93d7c2.js → index-6eda8be0.js} +7 -7
- package/dist/{index-f805bfce.js → index-b3fb8f92.js} +45 -45
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +565 -561
- package/dist/{javascript-dad5561e.js → javascript-9c241e8d.js} +8 -8
- package/dist/{jsonMode-ce09245f.js → jsonMode-36a8e1fd.js} +7 -7
- package/dist/{liquid-05247459.js → liquid-da99d7af.js} +7 -7
- package/dist/{main-04025a56.js → main-2dc98356.js} +15380 -12891
- package/dist/{mapFormMixin-8d073f99.js → mapFormMixin-4ac649c2.js} +1 -1
- package/dist/{publicSenderState-97108de1.js → publicSenderState-1db8a50c.js} +1 -1
- package/dist/{python-3f3513c5.js → python-15d86041.js} +7 -7
- package/dist/{razor-1f3e9c4e.js → razor-19e0207f.js} +7 -7
- package/dist/simplebar.min-9f5e0b8a.js +71 -0
- package/dist/style.css +2 -2
- package/dist/{template-42a1d852.js → template-069f0890.js} +1 -1
- package/dist/{throttle-a2c1f34d.js → throttle-f8ef830f.js} +2 -2
- package/dist/{tinycolor-88fa380f.js → tinycolor-78c3e3d5.js} +1 -1
- package/dist/{FormInputRow-9819eb71.js → tippy.esm-d2a6f864.js} +285 -285
- package/dist/{tsMode-4c026047.js → tsMode-7fcdffc4.js} +7 -7
- package/dist/{typescript-baf56f67.js → typescript-f492bdab.js} +7 -7
- package/dist/{utils-6670dea6.js → utils-aab0bc31.js} +1 -1
- package/dist/{vuedraggable.umd-d7138234.js → vuedraggable.umd-eb01eee5.js} +41 -41
- package/dist/{xml-ffc6146a.js → xml-976a8723.js} +7 -7
- package/package.json +3 -2
- package/stats.html +1 -1
- package/vite-plugin-library-asset-external/index.js +134 -0
- package/dist/DocForm-9ca24de4.js +0 -6772
- package/dist/ErrorCallout-60d0b3ab.js +0 -30
- package/dist/Index-b020a80c.js +0 -47
- package/dist/Index-e80f5f9c.js +0 -79
- package/dist/PriceHeader-e357afe9.js +0 -336
- package/dist/VideoSelectModal-d2299552.js +0 -111
- package/dist/simplebar.min-3af55aab.js +0 -2429
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as mr } from "./ColorPicker-
|
|
2
|
-
import { F as hr } from "./
|
|
3
|
-
import { C as gr, b as yr } from "./CDropdownItem-
|
|
4
|
-
import { n as Wt,
|
|
5
|
-
import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { C as mr } from "./ColorPicker-06b731b7.js";
|
|
2
|
+
import { F as hr } from "./DocumentLayout-ae49ac7a.js";
|
|
3
|
+
import { C as gr, b as yr } from "./CDropdownItem-5532f8af.js";
|
|
4
|
+
import { n as Wt, o as br, aO as Ct } from "./main-2dc98356.js";
|
|
5
|
+
import { S as wr } from "./CSlider.vue_vue_type_style_index_0_lang-d9c2f582.js";
|
|
6
6
|
const xr = {
|
|
7
7
|
AED: "United Arab Emirates Dirham",
|
|
8
8
|
AFN: "Afghan Afghani",
|
|
@@ -171,11 +171,162 @@ const xr = {
|
|
|
171
171
|
ZMW: "Zambian Kwacha",
|
|
172
172
|
ZWL: "Zimbabwean Dollar"
|
|
173
173
|
};
|
|
174
|
-
|
|
174
|
+
const Dr = {
|
|
175
|
+
name: "CCurrencyDropdown",
|
|
176
|
+
components: {
|
|
177
|
+
CInput: br,
|
|
178
|
+
CDropdown: gr,
|
|
179
|
+
CDropdownItem: yr,
|
|
180
|
+
SmartList: wr
|
|
181
|
+
},
|
|
182
|
+
props: {
|
|
183
|
+
value: {
|
|
184
|
+
type: String,
|
|
185
|
+
required: !0
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
data() {
|
|
189
|
+
return {
|
|
190
|
+
currencies: xr,
|
|
191
|
+
isCurrencyDropdownOpen: !1,
|
|
192
|
+
searchQuery: ""
|
|
193
|
+
};
|
|
194
|
+
},
|
|
195
|
+
computed: {
|
|
196
|
+
internalCurrency: {
|
|
197
|
+
get() {
|
|
198
|
+
return this.value;
|
|
199
|
+
},
|
|
200
|
+
set(t) {
|
|
201
|
+
this.$emit("input", t);
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
selectedValue() {
|
|
205
|
+
return this.internalCurrency ? Ct(this.internalCurrency) : "";
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
watch: {
|
|
209
|
+
isCurrencyDropdownOpen(t) {
|
|
210
|
+
this.$emit("active-change", t), t ? this.$refs.searchCurrencyInput && this.$refs.searchCurrencyInput.focus() : this.searchQuery = "";
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
methods: {
|
|
214
|
+
getCurrencySymbol: Ct
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
var Or = function() {
|
|
218
|
+
var e = this, r = e._self._c;
|
|
219
|
+
return r("SmartList", { attrs: { query: e.searchQuery, items: Object.keys(e.currencies), "default-sort": "asc" }, scopedSlots: e._u([{ key: "default", fn: function({ items: n }) {
|
|
220
|
+
return [r("CDropdown", e._b({ staticClass: "control", attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
|
|
221
|
+
maxWidth: "300px"
|
|
222
|
+
}, scrollable: !0, "max-height": 200 }, on: { "active-change": function(a) {
|
|
223
|
+
e.isCurrencyDropdownOpen = a;
|
|
224
|
+
} }, model: { value: e.internalCurrency, callback: function(a) {
|
|
225
|
+
e.internalCurrency = a;
|
|
226
|
+
}, expression: "internalCurrency" } }, "CDropdown", {
|
|
227
|
+
position: "is-bottom-left",
|
|
228
|
+
...e.$attrs,
|
|
229
|
+
...e.$props
|
|
230
|
+
}, !1), [e._t("default", function() {
|
|
231
|
+
return [r("CButton", { staticClass: "is-left", staticStyle: { width: "100%", "text-align": "left", "min-width": "7em" }, attrs: { "dropdown-icon": !0, raised: "" } }, [e._v(" " + e._s(e.selectedValue) + " ")])];
|
|
232
|
+
}, { slot: "trigger", selectedValue: e.selectedValue }), r("CInput", { ref: "searchCurrencyInput", staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: e.$t("_common:search"), filled: "" }, slot: "header", model: { value: e.searchQuery, callback: function(a) {
|
|
233
|
+
e.searchQuery = a;
|
|
234
|
+
}, expression: "searchQuery" } }), e._l(n, function(a) {
|
|
235
|
+
return r("CDropdownItem", { key: a, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: a } }, [r("div", { staticStyle: { "margin-right": "auto" } }, [e._v(e._s(a))]), r("div", { staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.getCurrencySymbol(a)) + " ")])]);
|
|
236
|
+
})], 2)];
|
|
237
|
+
} }], null, !0) });
|
|
238
|
+
}, Cr = [], Sr = /* @__PURE__ */ Wt(
|
|
239
|
+
Dr,
|
|
240
|
+
Or,
|
|
241
|
+
Cr,
|
|
242
|
+
!1,
|
|
243
|
+
null,
|
|
244
|
+
"0b0912ae",
|
|
245
|
+
null,
|
|
246
|
+
null
|
|
247
|
+
);
|
|
248
|
+
const Tr = Sr.exports;
|
|
249
|
+
const Ar = {
|
|
250
|
+
components: {
|
|
251
|
+
ColorPicker: mr,
|
|
252
|
+
FontPickerDropdown: hr,
|
|
253
|
+
CCurrencyDropdown: Tr,
|
|
254
|
+
FormInputRow: () => Promise.resolve().then(() => Br)
|
|
255
|
+
},
|
|
256
|
+
props: {
|
|
257
|
+
label: {
|
|
258
|
+
type: String,
|
|
259
|
+
default: ""
|
|
260
|
+
},
|
|
261
|
+
infoTooltip: {
|
|
262
|
+
type: String,
|
|
263
|
+
default: ""
|
|
264
|
+
},
|
|
265
|
+
inputs: {
|
|
266
|
+
type: Array,
|
|
267
|
+
required: !0
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
methods: {
|
|
271
|
+
onKeyPressNumberRestrict(t) {
|
|
272
|
+
["-", "+", "e", "E"].includes(t.key) && t.preventDefault();
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
var Er = function() {
|
|
277
|
+
var e = this, r = e._self._c;
|
|
278
|
+
return r("div", { staticStyle: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, [r("div", { staticStyle: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, [r("div", { staticStyle: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, [e._v(" " + e._s(e.label) + " ")]), e.infoTooltip ? r("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.infoTooltip, expression: "infoTooltip" }], staticClass: "info-tooltip", attrs: { width: "13", height: "13", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [r("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })]) : e._e()]), r("div", { staticStyle: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, [e._l(e.inputs, function(n, a) {
|
|
279
|
+
return [n.component === "input" ? r("div", { key: a, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", e._b({ class: {
|
|
280
|
+
slider: n.props.type === "range"
|
|
281
|
+
}, style: [
|
|
282
|
+
n.props.type === "range" && {
|
|
283
|
+
"--progress": `${(n.props.value - n.props.min) * 100 / (n.props.max - n.props.min)}%`
|
|
284
|
+
}
|
|
285
|
+
], on: { input: function(o) {
|
|
286
|
+
n.onInput && n.onInput(o.target.value);
|
|
287
|
+
}, keypress: function(o) {
|
|
288
|
+
n.props.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
289
|
+
} } }, "input", n.props, !1))]) : n.component === "inputSelect" ? r("div", { key: a + "input", staticClass: "input-wrapper" }, [r("input", e._b({ staticStyle: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" }, on: { input: function(o) {
|
|
290
|
+
n.props.input.onInput && n.props.input.onInput(o.target.value);
|
|
291
|
+
}, keypress: function(o) {
|
|
292
|
+
n.props.input.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
293
|
+
} } }, "input", n.props.input, !1)), r("div", { staticClass: "select-wrapper" }, [r("select", e._b({ staticStyle: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" }, on: { input: function(o) {
|
|
294
|
+
n.props.select.onInput && n.props.select.onInput(o.target.value);
|
|
295
|
+
} } }, "select", n.props.select, !1), e._l(n.props.select.options, function(o) {
|
|
296
|
+
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.select.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
297
|
+
}), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "minus" } })], 1), r("div", { staticStyle: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }), r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onIncrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "plus" } })], 1)]) : n.component === "select" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("select", e._b({ on: { input: function(o) {
|
|
298
|
+
n.onInput && n.onInput(o.target.value);
|
|
299
|
+
} } }, "select", n.props, !1), e._l(n.props.options, function(o) {
|
|
300
|
+
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
301
|
+
}), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0,0,0,0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
|
|
302
|
+
return o.preventDefault(), o.stopPropagation(), n.onInput("");
|
|
303
|
+
} } }, [r("BaseIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
|
|
304
|
+
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
305
|
+
} }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", e._b({ staticClass: "currency-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: o }) {
|
|
306
|
+
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
307
|
+
} }], null, !0) }, "CCurrencyDropdown", n.props, !1))], 1) : n.component === "switch" ? r("div", { key: a, staticClass: "input-wrapper switch" }, [r("CSwitch", e._b({ attrs: { size: "tiny", type: "secondary" }, on: { input: (o) => n.onInput && n.onInput(o) } }, "CSwitch", n.props, !1))], 1) : n.component === "popup" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: n.props.width } } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))])]), r("div", e._l(n.props.popup.inputs, function(o, l) {
|
|
308
|
+
return r("FormInputRow", { key: l, attrs: { inputs: o.inputs, label: o.label } });
|
|
309
|
+
}), 1)])], 1) : n.component === "button" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [e._v(" " + e._s(n.props.text) + " ")])]) : [e._v(" " + e._s(n.component) + " ")]];
|
|
310
|
+
})], 2)]);
|
|
311
|
+
}, Pr = [], Rr = /* @__PURE__ */ Wt(
|
|
312
|
+
Ar,
|
|
313
|
+
Er,
|
|
314
|
+
Pr,
|
|
315
|
+
!1,
|
|
316
|
+
null,
|
|
317
|
+
"36f65d63",
|
|
318
|
+
null,
|
|
319
|
+
null
|
|
320
|
+
);
|
|
321
|
+
const Lr = Rr.exports, Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
322
|
+
__proto__: null,
|
|
323
|
+
default: Lr
|
|
324
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
325
|
+
var j = "top", z = "bottom", G = "right", $ = "left", mt = "auto", je = [j, z, G, $], Oe = "start", Ne = "end", Mr = "clippingParents", Kt = "viewport", Me = "popper", kr = "reference", St = /* @__PURE__ */ je.reduce(function(t, e) {
|
|
175
326
|
return t.concat([e + "-" + Oe, e + "-" + Ne]);
|
|
176
327
|
}, []), zt = /* @__PURE__ */ [].concat(je, [mt]).reduce(function(t, e) {
|
|
177
328
|
return t.concat([e, e + "-" + Oe, e + "-" + Ne]);
|
|
178
|
-
}, []),
|
|
329
|
+
}, []), _r = "beforeRead", Ir = "read", Nr = "afterRead", Fr = "beforeMain", jr = "main", $r = "afterMain", Vr = "beforeWrite", Hr = "write", Ur = "afterWrite", Wr = [_r, Ir, Nr, Fr, jr, $r, Vr, Hr, Ur];
|
|
179
330
|
function te(t) {
|
|
180
331
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
181
332
|
}
|
|
@@ -202,7 +353,7 @@ function ht(t) {
|
|
|
202
353
|
var e = Y(t).ShadowRoot;
|
|
203
354
|
return t instanceof e || t instanceof ShadowRoot;
|
|
204
355
|
}
|
|
205
|
-
function
|
|
356
|
+
function Kr(t) {
|
|
206
357
|
var e = t.state;
|
|
207
358
|
Object.keys(e.elements).forEach(function(r) {
|
|
208
359
|
var n = e.styles[r] || {}, a = e.attributes[r] || {}, o = e.elements[r];
|
|
@@ -212,7 +363,7 @@ function kr(t) {
|
|
|
212
363
|
}));
|
|
213
364
|
});
|
|
214
365
|
}
|
|
215
|
-
function
|
|
366
|
+
function zr(t) {
|
|
216
367
|
var e = t.state, r = {
|
|
217
368
|
popper: {
|
|
218
369
|
position: e.options.strategy,
|
|
@@ -240,8 +391,8 @@ const Gt = {
|
|
|
240
391
|
name: "applyStyles",
|
|
241
392
|
enabled: !0,
|
|
242
393
|
phase: "write",
|
|
243
|
-
fn:
|
|
244
|
-
effect:
|
|
394
|
+
fn: Kr,
|
|
395
|
+
effect: zr,
|
|
245
396
|
requires: ["computeStyles"]
|
|
246
397
|
};
|
|
247
398
|
function ee(t) {
|
|
@@ -299,7 +450,7 @@ function qt(t, e) {
|
|
|
299
450
|
function oe(t) {
|
|
300
451
|
return Y(t).getComputedStyle(t);
|
|
301
452
|
}
|
|
302
|
-
function
|
|
453
|
+
function Gr(t) {
|
|
303
454
|
return ["table", "td", "th"].indexOf(te(t)) >= 0;
|
|
304
455
|
}
|
|
305
456
|
function ce(t) {
|
|
@@ -324,7 +475,7 @@ function Tt(t) {
|
|
|
324
475
|
return !K(t) || // https://github.com/popperjs/popper-core/issues/837
|
|
325
476
|
oe(t).position === "fixed" ? null : t.offsetParent;
|
|
326
477
|
}
|
|
327
|
-
function
|
|
478
|
+
function Yr(t) {
|
|
328
479
|
var e = /firefox/i.test(pt()), r = /Trident/i.test(pt());
|
|
329
480
|
if (r && K(t)) {
|
|
330
481
|
var n = oe(t);
|
|
@@ -341,9 +492,9 @@ function Nr(t) {
|
|
|
341
492
|
return null;
|
|
342
493
|
}
|
|
343
494
|
function $e(t) {
|
|
344
|
-
for (var e = Y(t), r = Tt(t); r &&
|
|
495
|
+
for (var e = Y(t), r = Tt(t); r && Gr(r) && oe(r).position === "static"; )
|
|
345
496
|
r = Tt(r);
|
|
346
|
-
return r && (te(r) === "html" || te(r) === "body" && oe(r).position === "static") ? e : r ||
|
|
497
|
+
return r && (te(r) === "html" || te(r) === "body" && oe(r).position === "static") ? e : r || Yr(t) || e;
|
|
347
498
|
}
|
|
348
499
|
function yt(t) {
|
|
349
500
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
@@ -351,7 +502,7 @@ function yt(t) {
|
|
|
351
502
|
function ke(t, e, r) {
|
|
352
503
|
return he(t, tt(e, r));
|
|
353
504
|
}
|
|
354
|
-
function
|
|
505
|
+
function qr(t, e, r) {
|
|
355
506
|
var n = ke(t, e, r);
|
|
356
507
|
return n > r ? r : n;
|
|
357
508
|
}
|
|
@@ -371,41 +522,41 @@ function Jt(t, e) {
|
|
|
371
522
|
return r[n] = t, r;
|
|
372
523
|
}, {});
|
|
373
524
|
}
|
|
374
|
-
var
|
|
525
|
+
var Xr = function(e, r) {
|
|
375
526
|
return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
|
|
376
527
|
placement: r.placement
|
|
377
528
|
})) : e, Zt(typeof e != "number" ? e : Jt(e, je));
|
|
378
529
|
};
|
|
379
|
-
function
|
|
530
|
+
function Zr(t) {
|
|
380
531
|
var e, r = t.state, n = t.name, a = t.options, o = r.elements.arrow, l = r.modifiersData.popperOffsets, c = ee(r.placement), u = yt(c), f = [$, G].indexOf(c) >= 0, p = f ? "height" : "width";
|
|
381
532
|
if (!(!o || !l)) {
|
|
382
|
-
var b =
|
|
533
|
+
var b = Xr(a.padding, r), x = gt(o), h = u === "y" ? j : $, D = u === "y" ? z : G, w = r.rects.reference[p] + r.rects.reference[u] - l[u] - r.rects.popper[p], d = l[u] - r.rects.reference[u], g = $e(o), O = g ? u === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, C = w / 2 - d / 2, i = b[h], S = O - x[p] - b[D], m = O / 2 - x[p] / 2 + C, E = ke(i, m, S), M = u;
|
|
383
534
|
r.modifiersData[n] = (e = {}, e[M] = E, e.centerOffset = E - m, e);
|
|
384
535
|
}
|
|
385
536
|
}
|
|
386
|
-
function
|
|
537
|
+
function Jr(t) {
|
|
387
538
|
var e = t.state, r = t.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
|
|
388
539
|
a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || qt(e.elements.popper, a) && (e.elements.arrow = a));
|
|
389
540
|
}
|
|
390
|
-
const
|
|
541
|
+
const Qr = {
|
|
391
542
|
name: "arrow",
|
|
392
543
|
enabled: !0,
|
|
393
544
|
phase: "main",
|
|
394
|
-
fn:
|
|
395
|
-
effect:
|
|
545
|
+
fn: Zr,
|
|
546
|
+
effect: Jr,
|
|
396
547
|
requires: ["popperOffsets"],
|
|
397
548
|
requiresIfExists: ["preventOverflow"]
|
|
398
549
|
};
|
|
399
550
|
function Te(t) {
|
|
400
551
|
return t.split("-")[1];
|
|
401
552
|
}
|
|
402
|
-
var
|
|
553
|
+
var en = {
|
|
403
554
|
top: "auto",
|
|
404
555
|
right: "auto",
|
|
405
556
|
bottom: "auto",
|
|
406
557
|
left: "auto"
|
|
407
558
|
};
|
|
408
|
-
function
|
|
559
|
+
function tn(t) {
|
|
409
560
|
var e = t.x, r = t.y, n = window, a = n.devicePixelRatio || 1;
|
|
410
561
|
return {
|
|
411
562
|
x: Ce(e * a) / a || 0,
|
|
@@ -443,7 +594,7 @@ function At(t) {
|
|
|
443
594
|
}
|
|
444
595
|
var k = Object.assign({
|
|
445
596
|
position: c
|
|
446
|
-
}, f &&
|
|
597
|
+
}, f && en), L = p === !0 ? tn({
|
|
447
598
|
x: h,
|
|
448
599
|
y: w
|
|
449
600
|
}) : {
|
|
@@ -456,7 +607,7 @@ function At(t) {
|
|
|
456
607
|
}
|
|
457
608
|
return Object.assign({}, k, (e = {}, e[i] = O ? w + "px" : "", e[C] = g ? h + "px" : "", e.transform = "", e));
|
|
458
609
|
}
|
|
459
|
-
function
|
|
610
|
+
function rn(t) {
|
|
460
611
|
var e = t.state, r = t.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, o = r.adaptive, l = o === void 0 ? !0 : o, c = r.roundOffsets, u = c === void 0 ? !0 : c, f = {
|
|
461
612
|
placement: ee(e.placement),
|
|
462
613
|
variation: Te(e.placement),
|
|
@@ -479,17 +630,17 @@ function Kr(t) {
|
|
|
479
630
|
"data-popper-placement": e.placement
|
|
480
631
|
});
|
|
481
632
|
}
|
|
482
|
-
const
|
|
633
|
+
const nn = {
|
|
483
634
|
name: "computeStyles",
|
|
484
635
|
enabled: !0,
|
|
485
636
|
phase: "beforeWrite",
|
|
486
|
-
fn:
|
|
637
|
+
fn: rn,
|
|
487
638
|
data: {}
|
|
488
639
|
};
|
|
489
640
|
var Je = {
|
|
490
641
|
passive: !0
|
|
491
642
|
};
|
|
492
|
-
function
|
|
643
|
+
function an(t) {
|
|
493
644
|
var e = t.state, r = t.instance, n = t.options, a = n.scroll, o = a === void 0 ? !0 : a, l = n.resize, c = l === void 0 ? !0 : l, u = Y(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
494
645
|
return o && f.forEach(function(p) {
|
|
495
646
|
p.addEventListener("scroll", r.update, Je);
|
|
@@ -499,16 +650,16 @@ function Gr(t) {
|
|
|
499
650
|
}), c && u.removeEventListener("resize", r.update, Je);
|
|
500
651
|
};
|
|
501
652
|
}
|
|
502
|
-
const
|
|
653
|
+
const on = {
|
|
503
654
|
name: "eventListeners",
|
|
504
655
|
enabled: !0,
|
|
505
656
|
phase: "write",
|
|
506
657
|
fn: function() {
|
|
507
658
|
},
|
|
508
|
-
effect:
|
|
659
|
+
effect: an,
|
|
509
660
|
data: {}
|
|
510
661
|
};
|
|
511
|
-
var
|
|
662
|
+
var sn = {
|
|
512
663
|
left: "right",
|
|
513
664
|
right: "left",
|
|
514
665
|
bottom: "top",
|
|
@@ -516,16 +667,16 @@ var qr = {
|
|
|
516
667
|
};
|
|
517
668
|
function et(t) {
|
|
518
669
|
return t.replace(/left|right|bottom|top/g, function(e) {
|
|
519
|
-
return
|
|
670
|
+
return sn[e];
|
|
520
671
|
});
|
|
521
672
|
}
|
|
522
|
-
var
|
|
673
|
+
var un = {
|
|
523
674
|
start: "end",
|
|
524
675
|
end: "start"
|
|
525
676
|
};
|
|
526
677
|
function Et(t) {
|
|
527
678
|
return t.replace(/start|end/g, function(e) {
|
|
528
|
-
return
|
|
679
|
+
return un[e];
|
|
529
680
|
});
|
|
530
681
|
}
|
|
531
682
|
function bt(t) {
|
|
@@ -538,7 +689,7 @@ function bt(t) {
|
|
|
538
689
|
function wt(t) {
|
|
539
690
|
return Se(ce(t)).left + bt(t).scrollLeft;
|
|
540
691
|
}
|
|
541
|
-
function
|
|
692
|
+
function ln(t, e) {
|
|
542
693
|
var r = Y(t), n = ce(t), a = r.visualViewport, o = n.clientWidth, l = n.clientHeight, c = 0, u = 0;
|
|
543
694
|
if (a) {
|
|
544
695
|
o = a.width, l = a.height;
|
|
@@ -552,7 +703,7 @@ function Zr(t, e) {
|
|
|
552
703
|
y: u
|
|
553
704
|
};
|
|
554
705
|
}
|
|
555
|
-
function
|
|
706
|
+
function cn(t) {
|
|
556
707
|
var e, r = ce(t), n = bt(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, o = he(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = he(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), c = -n.scrollLeft + wt(t), u = -n.scrollTop;
|
|
557
708
|
return oe(a || r).direction === "rtl" && (c += he(r.clientWidth, a ? a.clientWidth : 0) - o), {
|
|
558
709
|
width: o,
|
|
@@ -585,21 +736,21 @@ function ft(t) {
|
|
|
585
736
|
bottom: t.y + t.height
|
|
586
737
|
});
|
|
587
738
|
}
|
|
588
|
-
function
|
|
739
|
+
function pn(t, e) {
|
|
589
740
|
var r = Se(t, !1, e === "fixed");
|
|
590
741
|
return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
591
742
|
}
|
|
592
743
|
function Pt(t, e, r) {
|
|
593
|
-
return e === Kt ? ft(
|
|
744
|
+
return e === Kt ? ft(ln(t, r)) : ge(e) ? pn(e, r) : ft(cn(ce(t)));
|
|
594
745
|
}
|
|
595
|
-
function
|
|
746
|
+
function fn(t) {
|
|
596
747
|
var e = _e(nt(t)), r = ["absolute", "fixed"].indexOf(oe(t).position) >= 0, n = r && K(t) ? $e(t) : t;
|
|
597
748
|
return ge(n) ? e.filter(function(a) {
|
|
598
749
|
return ge(a) && qt(a, n) && te(a) !== "body";
|
|
599
750
|
}) : [];
|
|
600
751
|
}
|
|
601
|
-
function
|
|
602
|
-
var a = e === "clippingParents" ?
|
|
752
|
+
function dn(t, e, r, n) {
|
|
753
|
+
var a = e === "clippingParents" ? fn(t) : [].concat(e), o = [].concat(a, [r]), l = o[0], c = o.reduce(function(u, f) {
|
|
603
754
|
var p = Pt(t, f, n);
|
|
604
755
|
return u.top = he(p.top, u.top), u.right = tt(p.right, u.right), u.bottom = tt(p.bottom, u.bottom), u.left = he(p.left, u.left), u;
|
|
605
756
|
}, Pt(t, l, n));
|
|
@@ -654,7 +805,7 @@ function er(t) {
|
|
|
654
805
|
}
|
|
655
806
|
function Fe(t, e) {
|
|
656
807
|
e === void 0 && (e = {});
|
|
657
|
-
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ?
|
|
808
|
+
var r = e, n = r.placement, a = n === void 0 ? t.placement : n, o = r.strategy, l = o === void 0 ? t.strategy : o, c = r.boundary, u = c === void 0 ? Mr : c, f = r.rootBoundary, p = f === void 0 ? Kt : f, b = r.elementContext, x = b === void 0 ? Me : b, h = r.altBoundary, D = h === void 0 ? !1 : h, w = r.padding, d = w === void 0 ? 0 : w, g = Zt(typeof d != "number" ? d : Jt(d, je)), O = x === Me ? kr : Me, C = t.rects.popper, i = t.elements[D ? O : x], S = dn(ge(i) ? i : i.contextElement || ce(t.elements.popper), u, p, l), m = Se(t.elements.reference), E = er({
|
|
658
809
|
reference: m,
|
|
659
810
|
element: C,
|
|
660
811
|
strategy: "absolute",
|
|
@@ -674,7 +825,7 @@ function Fe(t, e) {
|
|
|
674
825
|
}
|
|
675
826
|
return R;
|
|
676
827
|
}
|
|
677
|
-
function
|
|
828
|
+
function vn(t, e) {
|
|
678
829
|
e === void 0 && (e = {});
|
|
679
830
|
var r = e, n = r.placement, a = r.boundary, o = r.rootBoundary, l = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? zt : u, p = Te(n), b = p ? c ? St : St.filter(function(D) {
|
|
680
831
|
return Te(D) === p;
|
|
@@ -694,17 +845,17 @@ function rn(t, e) {
|
|
|
694
845
|
return h[D] - h[w];
|
|
695
846
|
});
|
|
696
847
|
}
|
|
697
|
-
function
|
|
848
|
+
function mn(t) {
|
|
698
849
|
if (ee(t) === mt)
|
|
699
850
|
return [];
|
|
700
851
|
var e = et(t);
|
|
701
852
|
return [Et(t), e, Et(e)];
|
|
702
853
|
}
|
|
703
|
-
function
|
|
854
|
+
function hn(t) {
|
|
704
855
|
var e = t.state, r = t.options, n = t.name;
|
|
705
856
|
if (!e.modifiersData[n]._skip) {
|
|
706
|
-
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d), O = g === d, C = u || (O || !D ? [et(d)] :
|
|
707
|
-
return re.concat(ee(q) === mt ?
|
|
857
|
+
for (var a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !0 : l, u = r.fallbackPlacements, f = r.padding, p = r.boundary, b = r.rootBoundary, x = r.altBoundary, h = r.flipVariations, D = h === void 0 ? !0 : h, w = r.allowedAutoPlacements, d = e.options.placement, g = ee(d), O = g === d, C = u || (O || !D ? [et(d)] : mn(d)), i = [d].concat(C).reduce(function(re, q) {
|
|
858
|
+
return re.concat(ee(q) === mt ? vn(e, {
|
|
708
859
|
placement: q,
|
|
709
860
|
boundary: p,
|
|
710
861
|
rootBoundary: b,
|
|
@@ -749,11 +900,11 @@ function an(t) {
|
|
|
749
900
|
e.placement !== B && (e.modifiersData[n]._skip = !0, e.placement = B, e.reset = !0);
|
|
750
901
|
}
|
|
751
902
|
}
|
|
752
|
-
const
|
|
903
|
+
const gn = {
|
|
753
904
|
name: "flip",
|
|
754
905
|
enabled: !0,
|
|
755
906
|
phase: "main",
|
|
756
|
-
fn:
|
|
907
|
+
fn: hn,
|
|
757
908
|
requiresIfExists: ["offset"],
|
|
758
909
|
data: {
|
|
759
910
|
_skip: !1
|
|
@@ -775,7 +926,7 @@ function Lt(t) {
|
|
|
775
926
|
return t[e] >= 0;
|
|
776
927
|
});
|
|
777
928
|
}
|
|
778
|
-
function
|
|
929
|
+
function yn(t) {
|
|
779
930
|
var e = t.state, r = t.name, n = e.rects.reference, a = e.rects.popper, o = e.modifiersData.preventOverflow, l = Fe(e, {
|
|
780
931
|
elementContext: "reference"
|
|
781
932
|
}), c = Fe(e, {
|
|
@@ -791,14 +942,14 @@ function sn(t) {
|
|
|
791
942
|
"data-popper-escaped": b
|
|
792
943
|
});
|
|
793
944
|
}
|
|
794
|
-
const
|
|
945
|
+
const bn = {
|
|
795
946
|
name: "hide",
|
|
796
947
|
enabled: !0,
|
|
797
948
|
phase: "main",
|
|
798
949
|
requiresIfExists: ["preventOverflow"],
|
|
799
|
-
fn:
|
|
950
|
+
fn: yn
|
|
800
951
|
};
|
|
801
|
-
function
|
|
952
|
+
function wn(t, e, r) {
|
|
802
953
|
var n = ee(t), a = [$, j].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, e, {
|
|
803
954
|
placement: t
|
|
804
955
|
})) : r, l = o[0], c = o[1];
|
|
@@ -810,20 +961,20 @@ function ln(t, e, r) {
|
|
|
810
961
|
y: c
|
|
811
962
|
};
|
|
812
963
|
}
|
|
813
|
-
function
|
|
964
|
+
function xn(t) {
|
|
814
965
|
var e = t.state, r = t.options, n = t.name, a = r.offset, o = a === void 0 ? [0, 0] : a, l = zt.reduce(function(p, b) {
|
|
815
|
-
return p[b] =
|
|
966
|
+
return p[b] = wn(b, e.rects, o), p;
|
|
816
967
|
}, {}), c = l[e.placement], u = c.x, f = c.y;
|
|
817
968
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += u, e.modifiersData.popperOffsets.y += f), e.modifiersData[n] = l;
|
|
818
969
|
}
|
|
819
|
-
const
|
|
970
|
+
const Dn = {
|
|
820
971
|
name: "offset",
|
|
821
972
|
enabled: !0,
|
|
822
973
|
phase: "main",
|
|
823
974
|
requires: ["popperOffsets"],
|
|
824
|
-
fn:
|
|
975
|
+
fn: xn
|
|
825
976
|
};
|
|
826
|
-
function
|
|
977
|
+
function On(t) {
|
|
827
978
|
var e = t.state, r = t.name;
|
|
828
979
|
e.modifiersData[r] = er({
|
|
829
980
|
reference: e.rects.reference,
|
|
@@ -832,23 +983,23 @@ function fn(t) {
|
|
|
832
983
|
placement: e.placement
|
|
833
984
|
});
|
|
834
985
|
}
|
|
835
|
-
const
|
|
986
|
+
const Cn = {
|
|
836
987
|
name: "popperOffsets",
|
|
837
988
|
enabled: !0,
|
|
838
989
|
phase: "read",
|
|
839
|
-
fn,
|
|
990
|
+
fn: On,
|
|
840
991
|
data: {}
|
|
841
992
|
};
|
|
842
|
-
function
|
|
993
|
+
function Sn(t) {
|
|
843
994
|
return t === "x" ? "y" : "x";
|
|
844
995
|
}
|
|
845
|
-
function
|
|
996
|
+
function Tn(t) {
|
|
846
997
|
var e = t.state, r = t.options, n = t.name, a = r.mainAxis, o = a === void 0 ? !0 : a, l = r.altAxis, c = l === void 0 ? !1 : l, u = r.boundary, f = r.rootBoundary, p = r.altBoundary, b = r.padding, x = r.tether, h = x === void 0 ? !0 : x, D = r.tetherOffset, w = D === void 0 ? 0 : D, d = Fe(e, {
|
|
847
998
|
boundary: u,
|
|
848
999
|
rootBoundary: f,
|
|
849
1000
|
padding: b,
|
|
850
1001
|
altBoundary: p
|
|
851
|
-
}), g = ee(e.placement), O = Te(e.placement), C = !O, i = yt(g), S =
|
|
1002
|
+
}), g = ee(e.placement), O = Te(e.placement), C = !O, i = yt(g), S = Sn(i), m = e.modifiersData.popperOffsets, E = e.rects.reference, M = e.rects.popper, B = typeof w == "function" ? w(Object.assign({}, e.rects, {
|
|
852
1003
|
placement: e.placement
|
|
853
1004
|
})) : w, R = typeof B == "number" ? {
|
|
854
1005
|
mainAxis: B,
|
|
@@ -869,35 +1020,35 @@ function mn(t) {
|
|
|
869
1020
|
m[i] = Pe, L[i] = Pe - N;
|
|
870
1021
|
}
|
|
871
1022
|
if (c) {
|
|
872
|
-
var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke], Be = [j, $].indexOf(g) !== -1, ze = (Re = k == null ? void 0 : k[S]) != null ? Re : 0, Ge = Be ? Le : ae - E[ue] - M[ue] - ze + R.altAxis, Ye = Be ? ae + E[ue] + M[ue] - ze - R.altAxis : de, qe = h && Be ?
|
|
1023
|
+
var Re, We = i === "x" ? j : $, Ke = i === "x" ? z : G, ae = m[S], ue = S === "y" ? "height" : "width", Le = ae + d[We], de = ae - d[Ke], Be = [j, $].indexOf(g) !== -1, ze = (Re = k == null ? void 0 : k[S]) != null ? Re : 0, Ge = Be ? Le : ae - E[ue] - M[ue] - ze + R.altAxis, Ye = Be ? ae + E[ue] + M[ue] - ze - R.altAxis : de, qe = h && Be ? qr(Ge, ae, Ye) : ke(h ? Ge : Le, ae, h ? Ye : de);
|
|
873
1024
|
m[S] = qe, L[S] = qe - ae;
|
|
874
1025
|
}
|
|
875
1026
|
e.modifiersData[n] = L;
|
|
876
1027
|
}
|
|
877
1028
|
}
|
|
878
|
-
const
|
|
1029
|
+
const An = {
|
|
879
1030
|
name: "preventOverflow",
|
|
880
1031
|
enabled: !0,
|
|
881
1032
|
phase: "main",
|
|
882
|
-
fn:
|
|
1033
|
+
fn: Tn,
|
|
883
1034
|
requiresIfExists: ["offset"]
|
|
884
1035
|
};
|
|
885
|
-
function
|
|
1036
|
+
function En(t) {
|
|
886
1037
|
return {
|
|
887
1038
|
scrollLeft: t.scrollLeft,
|
|
888
1039
|
scrollTop: t.scrollTop
|
|
889
1040
|
};
|
|
890
1041
|
}
|
|
891
|
-
function
|
|
892
|
-
return t === Y(t) || !K(t) ? bt(t) :
|
|
1042
|
+
function Pn(t) {
|
|
1043
|
+
return t === Y(t) || !K(t) ? bt(t) : En(t);
|
|
893
1044
|
}
|
|
894
|
-
function
|
|
1045
|
+
function Rn(t) {
|
|
895
1046
|
var e = t.getBoundingClientRect(), r = Ce(e.width) / t.offsetWidth || 1, n = Ce(e.height) / t.offsetHeight || 1;
|
|
896
1047
|
return r !== 1 || n !== 1;
|
|
897
1048
|
}
|
|
898
|
-
function
|
|
1049
|
+
function Ln(t, e, r) {
|
|
899
1050
|
r === void 0 && (r = !1);
|
|
900
|
-
var n = K(e), a = K(e) &&
|
|
1051
|
+
var n = K(e), a = K(e) && Rn(e), o = ce(e), l = Se(t, a, r), c = {
|
|
901
1052
|
scrollLeft: 0,
|
|
902
1053
|
scrollTop: 0
|
|
903
1054
|
}, u = {
|
|
@@ -905,14 +1056,14 @@ function wn(t, e, r) {
|
|
|
905
1056
|
y: 0
|
|
906
1057
|
};
|
|
907
1058
|
return (n || !n && !r) && ((te(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
908
|
-
xt(o)) && (c =
|
|
1059
|
+
xt(o)) && (c = Pn(e)), K(e) ? (u = Se(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = wt(o))), {
|
|
909
1060
|
x: l.left + c.scrollLeft - u.x,
|
|
910
1061
|
y: l.top + c.scrollTop - u.y,
|
|
911
1062
|
width: l.width,
|
|
912
1063
|
height: l.height
|
|
913
1064
|
};
|
|
914
1065
|
}
|
|
915
|
-
function
|
|
1066
|
+
function Bn(t) {
|
|
916
1067
|
var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
917
1068
|
t.forEach(function(o) {
|
|
918
1069
|
e.set(o.name, o);
|
|
@@ -931,15 +1082,15 @@ function xn(t) {
|
|
|
931
1082
|
r.has(o.name) || a(o);
|
|
932
1083
|
}), n;
|
|
933
1084
|
}
|
|
934
|
-
function
|
|
935
|
-
var e =
|
|
936
|
-
return
|
|
1085
|
+
function Mn(t) {
|
|
1086
|
+
var e = Bn(t);
|
|
1087
|
+
return Wr.reduce(function(r, n) {
|
|
937
1088
|
return r.concat(e.filter(function(a) {
|
|
938
1089
|
return a.phase === n;
|
|
939
1090
|
}));
|
|
940
1091
|
}, []);
|
|
941
1092
|
}
|
|
942
|
-
function
|
|
1093
|
+
function kn(t) {
|
|
943
1094
|
var e;
|
|
944
1095
|
return function() {
|
|
945
1096
|
return e || (e = new Promise(function(r) {
|
|
@@ -949,7 +1100,7 @@ function On(t) {
|
|
|
949
1100
|
})), e;
|
|
950
1101
|
};
|
|
951
1102
|
}
|
|
952
|
-
function
|
|
1103
|
+
function _n(t) {
|
|
953
1104
|
var e = t.reduce(function(r, n) {
|
|
954
1105
|
var a = r[n.name];
|
|
955
1106
|
return r[n.name] = a ? Object.assign({}, a, n, {
|
|
@@ -973,7 +1124,7 @@ function Mt() {
|
|
|
973
1124
|
return !(n && typeof n.getBoundingClientRect == "function");
|
|
974
1125
|
});
|
|
975
1126
|
}
|
|
976
|
-
function
|
|
1127
|
+
function In(t) {
|
|
977
1128
|
t === void 0 && (t = {});
|
|
978
1129
|
var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, a = e.defaultOptions, o = a === void 0 ? Bt : a;
|
|
979
1130
|
return function(c, u, f) {
|
|
@@ -997,7 +1148,7 @@ function Sn(t) {
|
|
|
997
1148
|
reference: ge(c) ? _e(c) : c.contextElement ? _e(c.contextElement) : [],
|
|
998
1149
|
popper: _e(u)
|
|
999
1150
|
};
|
|
1000
|
-
var C =
|
|
1151
|
+
var C = Mn(_n([].concat(n, p.options.modifiers)));
|
|
1001
1152
|
return p.orderedModifiers = C.filter(function(i) {
|
|
1002
1153
|
return i.enabled;
|
|
1003
1154
|
}), D(), h.update();
|
|
@@ -1012,7 +1163,7 @@ function Sn(t) {
|
|
|
1012
1163
|
var g = p.elements, O = g.reference, C = g.popper;
|
|
1013
1164
|
if (Mt(O, C)) {
|
|
1014
1165
|
p.rects = {
|
|
1015
|
-
reference:
|
|
1166
|
+
reference: Ln(O, $e(C), p.options.strategy === "fixed"),
|
|
1016
1167
|
popper: gt(C)
|
|
1017
1168
|
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(R) {
|
|
1018
1169
|
return p.modifiersData[R.name] = Object.assign({}, R.data);
|
|
@@ -1035,7 +1186,7 @@ function Sn(t) {
|
|
|
1035
1186
|
},
|
|
1036
1187
|
// Async and optimistically optimized update – it will not be executed if
|
|
1037
1188
|
// not necessary (debounced to run at most once-per-tick)
|
|
1038
|
-
update:
|
|
1189
|
+
update: kn(function() {
|
|
1039
1190
|
return new Promise(function(d) {
|
|
1040
1191
|
h.forceUpdate(), d(p);
|
|
1041
1192
|
});
|
|
@@ -1072,9 +1223,9 @@ function Sn(t) {
|
|
|
1072
1223
|
return h;
|
|
1073
1224
|
};
|
|
1074
1225
|
}
|
|
1075
|
-
var
|
|
1076
|
-
defaultModifiers:
|
|
1077
|
-
}),
|
|
1226
|
+
var Nn = [on, Cn, nn, Gt, Dn, gn, An, Qr, bn], Fn = /* @__PURE__ */ In({
|
|
1227
|
+
defaultModifiers: Nn
|
|
1228
|
+
}), jn = "tippy-box", tr = "tippy-content", $n = "tippy-backdrop", rr = "tippy-arrow", nr = "tippy-svg-arrow", le = {
|
|
1078
1229
|
passive: !0,
|
|
1079
1230
|
capture: !0
|
|
1080
1231
|
}, ir = function() {
|
|
@@ -1104,13 +1255,13 @@ function kt(t, e) {
|
|
|
1104
1255
|
}, e);
|
|
1105
1256
|
};
|
|
1106
1257
|
}
|
|
1107
|
-
function
|
|
1258
|
+
function Vn(t, e) {
|
|
1108
1259
|
var r = Object.assign({}, t);
|
|
1109
1260
|
return e.forEach(function(n) {
|
|
1110
1261
|
delete r[n];
|
|
1111
1262
|
}), r;
|
|
1112
1263
|
}
|
|
1113
|
-
function
|
|
1264
|
+
function Hn(t) {
|
|
1114
1265
|
return t.split(/\s+/).filter(Boolean);
|
|
1115
1266
|
}
|
|
1116
1267
|
function me(t) {
|
|
@@ -1119,12 +1270,12 @@ function me(t) {
|
|
|
1119
1270
|
function _t(t, e) {
|
|
1120
1271
|
t.indexOf(e) === -1 && t.push(e);
|
|
1121
1272
|
}
|
|
1122
|
-
function
|
|
1273
|
+
function Un(t) {
|
|
1123
1274
|
return t.filter(function(e, r) {
|
|
1124
1275
|
return t.indexOf(e) === r;
|
|
1125
1276
|
});
|
|
1126
1277
|
}
|
|
1127
|
-
function
|
|
1278
|
+
function Wn(t) {
|
|
1128
1279
|
return t.split("-")[0];
|
|
1129
1280
|
}
|
|
1130
1281
|
function rt(t) {
|
|
@@ -1143,17 +1294,17 @@ function it(t) {
|
|
|
1143
1294
|
return Dt(t, e);
|
|
1144
1295
|
});
|
|
1145
1296
|
}
|
|
1146
|
-
function
|
|
1297
|
+
function Kn(t) {
|
|
1147
1298
|
return Dt(t, "NodeList");
|
|
1148
1299
|
}
|
|
1149
|
-
function
|
|
1300
|
+
function zn(t) {
|
|
1150
1301
|
return Dt(t, "MouseEvent");
|
|
1151
1302
|
}
|
|
1152
|
-
function
|
|
1303
|
+
function Gn(t) {
|
|
1153
1304
|
return !!(t && t._tippy && t._tippy.reference === t);
|
|
1154
1305
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return it(t) ? [t] :
|
|
1306
|
+
function Yn(t) {
|
|
1307
|
+
return it(t) ? [t] : Kn(t) ? rt(t) : Array.isArray(t) ? t : rt(document.querySelectorAll(t));
|
|
1157
1308
|
}
|
|
1158
1309
|
function ut(t, e) {
|
|
1159
1310
|
t.forEach(function(r) {
|
|
@@ -1165,14 +1316,14 @@ function Nt(t, e) {
|
|
|
1165
1316
|
r && r.setAttribute("data-state", e);
|
|
1166
1317
|
});
|
|
1167
1318
|
}
|
|
1168
|
-
function
|
|
1319
|
+
function qn(t) {
|
|
1169
1320
|
var e, r = me(t), n = r[0];
|
|
1170
1321
|
return n != null && (e = n.ownerDocument) != null && e.body ? n.ownerDocument : document;
|
|
1171
1322
|
}
|
|
1172
|
-
function
|
|
1323
|
+
function Xn(t, e) {
|
|
1173
1324
|
var r = e.clientX, n = e.clientY;
|
|
1174
1325
|
return t.every(function(a) {
|
|
1175
|
-
var o = a.popperRect, l = a.popperState, c = a.props, u = c.interactiveBorder, f =
|
|
1326
|
+
var o = a.popperRect, l = a.popperState, c = a.props, u = c.interactiveBorder, f = Wn(l.placement), p = l.modifiersData.offset;
|
|
1176
1327
|
if (!p)
|
|
1177
1328
|
return !0;
|
|
1178
1329
|
var b = f === "bottom" ? p.top.y : 0, x = f === "top" ? p.bottom.y : 0, h = f === "right" ? p.left.x : 0, D = f === "left" ? p.right.x : 0, w = o.top - n + b > u, d = n - o.bottom - x > u, g = o.left - r + h > u, O = r - o.right - D > u;
|
|
@@ -1197,32 +1348,32 @@ function Ft(t, e) {
|
|
|
1197
1348
|
var Q = {
|
|
1198
1349
|
isTouch: !1
|
|
1199
1350
|
}, jt = 0;
|
|
1200
|
-
function
|
|
1351
|
+
function Zn() {
|
|
1201
1352
|
Q.isTouch || (Q.isTouch = !0, window.performance && document.addEventListener("mousemove", or));
|
|
1202
1353
|
}
|
|
1203
1354
|
function or() {
|
|
1204
1355
|
var t = performance.now();
|
|
1205
1356
|
t - jt < 20 && (Q.isTouch = !1, document.removeEventListener("mousemove", or)), jt = t;
|
|
1206
1357
|
}
|
|
1207
|
-
function
|
|
1358
|
+
function Jn() {
|
|
1208
1359
|
var t = document.activeElement;
|
|
1209
|
-
if (
|
|
1360
|
+
if (Gn(t)) {
|
|
1210
1361
|
var e = t._tippy;
|
|
1211
1362
|
t.blur && !e.state.isVisible && t.blur();
|
|
1212
1363
|
}
|
|
1213
1364
|
}
|
|
1214
|
-
function
|
|
1215
|
-
document.addEventListener("touchstart",
|
|
1365
|
+
function Qn() {
|
|
1366
|
+
document.addEventListener("touchstart", Zn, le), window.addEventListener("blur", Jn);
|
|
1216
1367
|
}
|
|
1217
|
-
var
|
|
1368
|
+
var ei = typeof window < "u" && typeof document < "u", ti = ei ? (
|
|
1218
1369
|
// @ts-ignore
|
|
1219
1370
|
!!window.msCrypto
|
|
1220
|
-
) : !1,
|
|
1371
|
+
) : !1, ri = {
|
|
1221
1372
|
animateFill: !1,
|
|
1222
1373
|
followCursor: !1,
|
|
1223
1374
|
inlinePositioning: !1,
|
|
1224
1375
|
sticky: !1
|
|
1225
|
-
},
|
|
1376
|
+
}, ni = {
|
|
1226
1377
|
allowHTML: !1,
|
|
1227
1378
|
animation: "fade",
|
|
1228
1379
|
arrow: !0,
|
|
@@ -1280,7 +1431,7 @@ var Un = typeof window < "u" && typeof document < "u", Wn = Un ? (
|
|
|
1280
1431
|
touch: !0,
|
|
1281
1432
|
trigger: "mouseenter focus",
|
|
1282
1433
|
triggerTarget: null
|
|
1283
|
-
},
|
|
1434
|
+
}, ri, ni), ii = Object.keys(U), ai = function(e) {
|
|
1284
1435
|
var r = Object.keys(e);
|
|
1285
1436
|
r.forEach(function(n) {
|
|
1286
1437
|
U[n] = e[n];
|
|
@@ -1297,10 +1448,10 @@ function sr(t) {
|
|
|
1297
1448
|
}, {});
|
|
1298
1449
|
return Object.assign({}, t, r);
|
|
1299
1450
|
}
|
|
1300
|
-
function
|
|
1451
|
+
function oi(t, e) {
|
|
1301
1452
|
var r = e ? Object.keys(sr(Object.assign({}, U, {
|
|
1302
1453
|
plugins: e
|
|
1303
|
-
}))) :
|
|
1454
|
+
}))) : ii, n = r.reduce(function(a, o) {
|
|
1304
1455
|
var l = (t.getAttribute("data-tippy-" + o) || "").trim();
|
|
1305
1456
|
if (!l)
|
|
1306
1457
|
return a;
|
|
@@ -1319,17 +1470,17 @@ function qn(t, e) {
|
|
|
1319
1470
|
function $t(t, e) {
|
|
1320
1471
|
var r = Object.assign({}, e, {
|
|
1321
1472
|
content: ar(e.content, [t])
|
|
1322
|
-
}, e.ignoreAttributes ? {} :
|
|
1473
|
+
}, e.ignoreAttributes ? {} : oi(t, e.plugins));
|
|
1323
1474
|
return r.aria = Object.assign({}, U.aria, r.aria), r.aria = {
|
|
1324
1475
|
expanded: r.aria.expanded === "auto" ? e.interactive : r.aria.expanded,
|
|
1325
1476
|
content: r.aria.content === "auto" ? e.interactive ? null : "describedby" : r.aria.content
|
|
1326
1477
|
}, r;
|
|
1327
1478
|
}
|
|
1328
|
-
var
|
|
1479
|
+
var si = function() {
|
|
1329
1480
|
return "innerHTML";
|
|
1330
1481
|
};
|
|
1331
1482
|
function dt(t, e) {
|
|
1332
|
-
t[
|
|
1483
|
+
t[si()] = e;
|
|
1333
1484
|
}
|
|
1334
1485
|
function Vt(t) {
|
|
1335
1486
|
var e = Ie();
|
|
@@ -1349,13 +1500,13 @@ function vt(t) {
|
|
|
1349
1500
|
return n.classList.contains(rr) || n.classList.contains(nr);
|
|
1350
1501
|
}),
|
|
1351
1502
|
backdrop: r.find(function(n) {
|
|
1352
|
-
return n.classList.contains(
|
|
1503
|
+
return n.classList.contains($n);
|
|
1353
1504
|
})
|
|
1354
1505
|
};
|
|
1355
1506
|
}
|
|
1356
1507
|
function ur(t) {
|
|
1357
1508
|
var e = Ie(), r = Ie();
|
|
1358
|
-
r.className =
|
|
1509
|
+
r.className = jn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
|
|
1359
1510
|
var n = Ie();
|
|
1360
1511
|
n.className = tr, n.setAttribute("data-state", "hidden"), Ht(n, t.props), e.appendChild(r), r.appendChild(n), a(t.props, t.props);
|
|
1361
1512
|
function a(o, l) {
|
|
@@ -1368,9 +1519,9 @@ function ur(t) {
|
|
|
1368
1519
|
};
|
|
1369
1520
|
}
|
|
1370
1521
|
ur.$$tippy = !0;
|
|
1371
|
-
var
|
|
1372
|
-
function
|
|
1373
|
-
var r = $t(t, Object.assign({}, U, sr(It(e)))), n, a, o, l = !1, c = !1, u = !1, f = !1, p, b, x, h = [], D = kt(He, r.interactiveDebounce), w, d =
|
|
1522
|
+
var ui = 1, Qe = [], ct = [];
|
|
1523
|
+
function li(t, e) {
|
|
1524
|
+
var r = $t(t, Object.assign({}, U, sr(It(e)))), n, a, o, l = !1, c = !1, u = !1, f = !1, p, b, x, h = [], D = kt(He, r.interactiveDebounce), w, d = ui++, g = null, O = Un(r.plugins), C = {
|
|
1374
1525
|
// Is the instance currently enabled?
|
|
1375
1526
|
isEnabled: !0,
|
|
1376
1527
|
// Is the tippy currently showing and not transitioning out?
|
|
@@ -1430,7 +1581,7 @@ function Jn(t, e) {
|
|
|
1430
1581
|
}
|
|
1431
1582
|
function V() {
|
|
1432
1583
|
var s = P().parentNode;
|
|
1433
|
-
return s ?
|
|
1584
|
+
return s ? qn(s) : document;
|
|
1434
1585
|
}
|
|
1435
1586
|
function H() {
|
|
1436
1587
|
return vt(m);
|
|
@@ -1542,14 +1693,14 @@ function Jn(t, e) {
|
|
|
1542
1693
|
passive: !0
|
|
1543
1694
|
}), se("touchend", Ue, {
|
|
1544
1695
|
passive: !0
|
|
1545
|
-
})),
|
|
1696
|
+
})), Hn(i.props.trigger).forEach(function(s) {
|
|
1546
1697
|
if (s !== "manual")
|
|
1547
1698
|
switch (se(s, Ee), s) {
|
|
1548
1699
|
case "mouseenter":
|
|
1549
1700
|
se("mouseleave", Ue);
|
|
1550
1701
|
break;
|
|
1551
1702
|
case "focus":
|
|
1552
|
-
se(
|
|
1703
|
+
se(ti ? "focusout" : "blur", Pe);
|
|
1553
1704
|
break;
|
|
1554
1705
|
case "focusin":
|
|
1555
1706
|
se("focusout", Pe);
|
|
@@ -1567,7 +1718,7 @@ function Jn(t, e) {
|
|
|
1567
1718
|
var v, y = !1;
|
|
1568
1719
|
if (!(!i.state.isEnabled || Re(s) || c)) {
|
|
1569
1720
|
var A = ((v = p) == null ? void 0 : v.type) === "focus";
|
|
1570
|
-
p = s, w = s.currentTarget, Z(), !i.state.isVisible &&
|
|
1721
|
+
p = s, w = s.currentTarget, Z(), !i.state.isVisible && zn(s) && Qe.forEach(function(T) {
|
|
1571
1722
|
return T(s);
|
|
1572
1723
|
}), s.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || l) && i.props.hideOnClick !== !1 && i.state.isVisible ? y = !0 : Le(s), s.type === "click" && (l = !y), y && !A && de(s);
|
|
1573
1724
|
}
|
|
@@ -1583,7 +1734,7 @@ function Jn(t, e) {
|
|
|
1583
1734
|
props: r
|
|
1584
1735
|
} : null;
|
|
1585
1736
|
}).filter(Boolean);
|
|
1586
|
-
|
|
1737
|
+
Xn(A, s) && (pe(), de(s));
|
|
1587
1738
|
}
|
|
1588
1739
|
}
|
|
1589
1740
|
function Ue(s) {
|
|
@@ -1653,7 +1804,7 @@ function Jn(t, e) {
|
|
|
1653
1804
|
element: W,
|
|
1654
1805
|
padding: 3
|
|
1655
1806
|
}
|
|
1656
|
-
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance =
|
|
1807
|
+
}), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Fn(xe, m, Object.assign({}, v, {
|
|
1657
1808
|
placement: y,
|
|
1658
1809
|
onFirstUpdate: x,
|
|
1659
1810
|
modifiers: ve
|
|
@@ -1765,17 +1916,17 @@ function Jn(t, e) {
|
|
|
1765
1916
|
function Ae(t, e) {
|
|
1766
1917
|
e === void 0 && (e = {});
|
|
1767
1918
|
var r = U.plugins.concat(e.plugins || []);
|
|
1768
|
-
|
|
1919
|
+
Qn();
|
|
1769
1920
|
var n = Object.assign({}, e, {
|
|
1770
1921
|
plugins: r
|
|
1771
|
-
}), a =
|
|
1772
|
-
var u = c &&
|
|
1922
|
+
}), a = Yn(t), o = a.reduce(function(l, c) {
|
|
1923
|
+
var u = c && li(c, n);
|
|
1773
1924
|
return u && l.push(u), l;
|
|
1774
1925
|
}, []);
|
|
1775
1926
|
return it(t) ? o[0] : o;
|
|
1776
1927
|
}
|
|
1777
1928
|
Ae.defaultProps = U;
|
|
1778
|
-
Ae.setDefaultProps =
|
|
1929
|
+
Ae.setDefaultProps = ai;
|
|
1779
1930
|
Ae.currentInput = Q;
|
|
1780
1931
|
Object.assign({}, Gt, {
|
|
1781
1932
|
effect: function(e) {
|
|
@@ -1794,13 +1945,13 @@ Object.assign({}, Gt, {
|
|
|
1794
1945
|
Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
|
|
1795
1946
|
}
|
|
1796
1947
|
});
|
|
1797
|
-
var
|
|
1948
|
+
var ci = {
|
|
1798
1949
|
mouseover: "mouseenter",
|
|
1799
1950
|
focusin: "focus",
|
|
1800
1951
|
click: "click"
|
|
1801
1952
|
};
|
|
1802
1953
|
function hi(t, e) {
|
|
1803
|
-
var r = [], n = [], a = !1, o = e.target, l =
|
|
1954
|
+
var r = [], n = [], a = !1, o = e.target, l = Vn(e, ["target"]), c = Object.assign({}, l, {
|
|
1804
1955
|
trigger: "manual",
|
|
1805
1956
|
touch: !1
|
|
1806
1957
|
}), u = Object.assign({
|
|
@@ -1813,7 +1964,7 @@ function hi(t, e) {
|
|
|
1813
1964
|
var g = d.target.closest(o);
|
|
1814
1965
|
if (g) {
|
|
1815
1966
|
var O = g.getAttribute("data-tippy-trigger") || e.trigger || U.trigger;
|
|
1816
|
-
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && O.indexOf(
|
|
1967
|
+
if (!g._tippy && !(d.type === "touchstart" && typeof u.touch == "boolean") && !(d.type !== "touchstart" && O.indexOf(ci[d.type]) < 0)) {
|
|
1817
1968
|
var C = Ae(g, u);
|
|
1818
1969
|
C && (n = n.concat(C));
|
|
1819
1970
|
}
|
|
@@ -1885,160 +2036,9 @@ function Ut(t, e) {
|
|
|
1885
2036
|
Ae.setDefaultProps({
|
|
1886
2037
|
render: ur
|
|
1887
2038
|
});
|
|
1888
|
-
const ei = {
|
|
1889
|
-
name: "CCurrencyDropdown",
|
|
1890
|
-
components: {
|
|
1891
|
-
CInput: br,
|
|
1892
|
-
CDropdown: gr,
|
|
1893
|
-
CDropdownItem: yr,
|
|
1894
|
-
SmartList: wr
|
|
1895
|
-
},
|
|
1896
|
-
props: {
|
|
1897
|
-
value: {
|
|
1898
|
-
type: String,
|
|
1899
|
-
required: !0
|
|
1900
|
-
}
|
|
1901
|
-
},
|
|
1902
|
-
data() {
|
|
1903
|
-
return {
|
|
1904
|
-
currencies: xr,
|
|
1905
|
-
isCurrencyDropdownOpen: !1,
|
|
1906
|
-
searchQuery: ""
|
|
1907
|
-
};
|
|
1908
|
-
},
|
|
1909
|
-
computed: {
|
|
1910
|
-
internalCurrency: {
|
|
1911
|
-
get() {
|
|
1912
|
-
return this.value;
|
|
1913
|
-
},
|
|
1914
|
-
set(t) {
|
|
1915
|
-
this.$emit("input", t);
|
|
1916
|
-
}
|
|
1917
|
-
},
|
|
1918
|
-
selectedValue() {
|
|
1919
|
-
return this.internalCurrency ? Ct(this.internalCurrency) : "";
|
|
1920
|
-
}
|
|
1921
|
-
},
|
|
1922
|
-
watch: {
|
|
1923
|
-
isCurrencyDropdownOpen(t) {
|
|
1924
|
-
this.$emit("active-change", t), t ? this.$refs.searchCurrencyInput && this.$refs.searchCurrencyInput.focus() : this.searchQuery = "";
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
methods: {
|
|
1928
|
-
getCurrencySymbol: Ct
|
|
1929
|
-
}
|
|
1930
|
-
};
|
|
1931
|
-
var ti = function() {
|
|
1932
|
-
var e = this, r = e._self._c;
|
|
1933
|
-
return r("SmartList", { attrs: { query: e.searchQuery, items: Object.keys(e.currencies), "default-sort": "asc" }, scopedSlots: e._u([{ key: "default", fn: function({ items: n }) {
|
|
1934
|
-
return [r("CDropdown", e._b({ staticClass: "control", attrs: { size: e.$attrs.size, disabled: e.$attrs.disabled, "menu-styling": {
|
|
1935
|
-
maxWidth: "300px"
|
|
1936
|
-
}, scrollable: !0, "max-height": 200 }, on: { "active-change": function(a) {
|
|
1937
|
-
e.isCurrencyDropdownOpen = a;
|
|
1938
|
-
} }, model: { value: e.internalCurrency, callback: function(a) {
|
|
1939
|
-
e.internalCurrency = a;
|
|
1940
|
-
}, expression: "internalCurrency" } }, "CDropdown", {
|
|
1941
|
-
position: "is-bottom-left",
|
|
1942
|
-
...e.$attrs,
|
|
1943
|
-
...e.$props
|
|
1944
|
-
}, !1), [e._t("default", function() {
|
|
1945
|
-
return [r("CButton", { staticClass: "is-left", staticStyle: { width: "100%", "text-align": "left", "min-width": "7em" }, attrs: { "dropdown-icon": !0, raised: "" } }, [e._v(" " + e._s(e.selectedValue) + " ")])];
|
|
1946
|
-
}, { slot: "trigger", selectedValue: e.selectedValue }), r("CInput", { ref: "searchCurrencyInput", staticStyle: { "margin-bottom": "0.25em" }, attrs: { slot: "header", placeholder: e.$t("_common:search"), filled: "" }, slot: "header", model: { value: e.searchQuery, callback: function(a) {
|
|
1947
|
-
e.searchQuery = a;
|
|
1948
|
-
}, expression: "searchQuery" } }), e._l(n, function(a) {
|
|
1949
|
-
return r("CDropdownItem", { key: a, staticClass: "truncate-text", staticStyle: { "padding-right": "0.5em" }, attrs: { value: a } }, [r("div", { staticStyle: { "margin-right": "auto" } }, [e._v(e._s(a))]), r("div", { staticStyle: { opacity: "0.7" } }, [e._v(" " + e._s(e.getCurrencySymbol(a)) + " ")])]);
|
|
1950
|
-
})], 2)];
|
|
1951
|
-
} }], null, !0) });
|
|
1952
|
-
}, ri = [], ni = /* @__PURE__ */ Wt(
|
|
1953
|
-
ei,
|
|
1954
|
-
ti,
|
|
1955
|
-
ri,
|
|
1956
|
-
!1,
|
|
1957
|
-
null,
|
|
1958
|
-
"0b0912ae",
|
|
1959
|
-
null,
|
|
1960
|
-
null
|
|
1961
|
-
);
|
|
1962
|
-
const ii = ni.exports;
|
|
1963
|
-
const ai = {
|
|
1964
|
-
components: {
|
|
1965
|
-
ColorPicker: mr,
|
|
1966
|
-
FontPickerDropdown: hr,
|
|
1967
|
-
CCurrencyDropdown: ii,
|
|
1968
|
-
FormInputRow: () => Promise.resolve().then(() => ci)
|
|
1969
|
-
},
|
|
1970
|
-
props: {
|
|
1971
|
-
label: {
|
|
1972
|
-
type: String,
|
|
1973
|
-
default: ""
|
|
1974
|
-
},
|
|
1975
|
-
infoTooltip: {
|
|
1976
|
-
type: String,
|
|
1977
|
-
default: ""
|
|
1978
|
-
},
|
|
1979
|
-
inputs: {
|
|
1980
|
-
type: Array,
|
|
1981
|
-
required: !0
|
|
1982
|
-
}
|
|
1983
|
-
},
|
|
1984
|
-
methods: {
|
|
1985
|
-
onKeyPressNumberRestrict(t) {
|
|
1986
|
-
["-", "+", "e", "E"].includes(t.key) && t.preventDefault();
|
|
1987
|
-
}
|
|
1988
|
-
}
|
|
1989
|
-
};
|
|
1990
|
-
var oi = function() {
|
|
1991
|
-
var e = this, r = e._self._c;
|
|
1992
|
-
return r("div", { staticStyle: { position: "relative", display: "flex", width: "100%", "flex-direction": "row", "align-items": "flex-start", "justify-content": "flex-end" } }, [r("div", { staticStyle: { flex: "1 1 40%", width: "62px", margin: "7px 5px", position: "relative", display: "flex", height: "26px", "align-items": "center" } }, [r("div", { staticStyle: { overflow: "hidden", "font-size": "13px", "font-weight": "400", "line-height": "16px", "pointer-events": "none", "text-overflow": "ellipsis", "white-space": "nowrap", "user-select": "none" } }, [e._v(" " + e._s(e.label) + " ")]), e.infoTooltip ? r("svg", { directives: [{ name: "tooltip", rawName: "v-tooltip", value: e.infoTooltip, expression: "infoTooltip" }], staticClass: "info-tooltip", attrs: { width: "13", height: "13", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "square", "stroke-linejoin": "bevel" } }, [r("circle", { attrs: { cx: "12", cy: "12", r: "10" } }), r("line", { attrs: { x1: "12", y1: "16", x2: "12", y2: "12" } }), r("line", { attrs: { x1: "12", y1: "8", x2: "12", y2: "8" } })]) : e._e()]), r("div", { staticStyle: { flex: "1 1 60%", margin: "7px 0 7px 0", width: "1px", display: "flex" } }, [e._l(e.inputs, function(n, a) {
|
|
1993
|
-
return [n.component === "input" ? r("div", { key: a, class: { "input-wrapper": n.props.type !== "range" } }, [r("input", e._b({ class: {
|
|
1994
|
-
slider: n.props.type === "range"
|
|
1995
|
-
}, style: [
|
|
1996
|
-
n.props.type === "range" && {
|
|
1997
|
-
"--progress": `${(n.props.value - n.props.min) * 100 / (n.props.max - n.props.min)}%`
|
|
1998
|
-
}
|
|
1999
|
-
], on: { input: function(o) {
|
|
2000
|
-
n.onInput && n.onInput(o.target.value);
|
|
2001
|
-
}, keypress: function(o) {
|
|
2002
|
-
n.props.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
2003
|
-
} } }, "input", n.props, !1))]) : n.component === "inputSelect" ? r("div", { key: a + "input", staticClass: "input-wrapper" }, [r("input", e._b({ staticStyle: { "border-top-right-radius": "0", "border-bottom-right-radius": "0", "margin-right": "1px" }, on: { input: function(o) {
|
|
2004
|
-
n.props.input.onInput && n.props.input.onInput(o.target.value);
|
|
2005
|
-
}, keypress: function(o) {
|
|
2006
|
-
n.props.input.type === "number" && e.onKeyPressNumberRestrict(o);
|
|
2007
|
-
} } }, "input", n.props.input, !1)), r("div", { staticClass: "select-wrapper" }, [r("select", e._b({ staticStyle: { "border-left": "1px solid #ddd", width: "20px", "border-top-left-radius": "0", "border-bottom-left-radius": "0" }, on: { input: function(o) {
|
|
2008
|
-
n.props.select.onInput && n.props.select.onInput(o.target.value);
|
|
2009
|
-
} } }, "select", n.props.select, !1), e._l(n.props.select.options, function(o) {
|
|
2010
|
-
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.select.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
2011
|
-
}), 0)])]) : n.component === "step" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onDecrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "minus" } })], 1), r("div", { staticStyle: { width: "1px", height: "100%", "background-color": "hsl(0, 0%, 86%)", margin: "0 1px" } }), r("button", { staticStyle: { width: "50%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onIncrease } }, [r("BaseIcon", { staticStyle: { opacity: "0.85" }, attrs: { size: "15", type: "plus" } })], 1)]) : n.component === "select" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("select", e._b({ on: { input: function(o) {
|
|
2012
|
-
n.onInput && n.onInput(o.target.value);
|
|
2013
|
-
} } }, "select", n.props, !1), e._l(n.props.options, function(o) {
|
|
2014
|
-
return r("option", { key: o.value, domProps: { value: o.value, selected: o.value === n.props.value } }, [e._v(" " + e._s(o.label) + " ")]);
|
|
2015
|
-
}), 0)]) : n.component === "color" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: "240px" }, position: n.props.position || "is-top-right", paddingless: "", expanded: "" } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { height: "20px", width: "26px", margin: "0px 3px", "border-radius": "3px", "box-shadow": "inset 0 0 2px rgba(0,0,0,0.3)" }, style: { "background-color": n.props.value } }), r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))]), n.props.value && n.props.showReset ? r("div", { staticClass: "plain-button", staticStyle: { position: "absolute", width: "24px", right: "2px", display: "grid", "place-items": "center", top: "2px", bottom: "2px", "border-radius": "4px" }, on: { click: function(o) {
|
|
2016
|
-
return o.preventDefault(), o.stopPropagation(), n.onInput("");
|
|
2017
|
-
} } }, [r("BaseIcon", { attrs: { type: "reset", size: "14", "stroke-width": "2.5" } })], 1) : e._e()]), r("ColorPicker", e._b({ staticStyle: { "box-shadow": "none" }, on: { input: ({ a: o, hex: l, hex8: c }) => n.onInput && n.onInput(o === 1 ? l : c) } }, "ColorPicker", n.props, !1))], 1)], 1) : n.component === "font" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("FontPickerDropdown", e._b({ staticClass: "font-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedFamily: o }) {
|
|
2018
|
-
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
2019
|
-
} }], null, !0) }, "FontPickerDropdown", n.props, !1))], 1) : n.component === "currency" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CCurrencyDropdown", e._b({ staticClass: "currency-input-wrapper", on: { input: (o) => n.onInput && n.onInput(o) }, scopedSlots: e._u([{ key: "default", fn: function({ selectedValue: o }) {
|
|
2020
|
-
return r("button", { staticClass: "truncate-text" }, [r("span", { staticStyle: { width: "90%", display: "block" } }, [e._v(" " + e._s(o) + " ")])]);
|
|
2021
|
-
} }], null, !0) }, "CCurrencyDropdown", n.props, !1))], 1) : n.component === "switch" ? r("div", { key: a, staticClass: "input-wrapper switch" }, [r("CSwitch", e._b({ attrs: { size: "tiny", type: "secondary" }, on: { input: (o) => n.onInput && n.onInput(o) } }, "CSwitch", n.props, !1))], 1) : n.component === "popup" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("CDropdown", { staticStyle: { width: "100%" }, attrs: { "menu-styling": { width: n.props.width } } }, [r("div", { staticStyle: { height: "26px", display: "flex", "align-items": "center", "flex-wrap": "nowrap", overflow: "hidden", "border-radius": "5px", "font-size": "13px", cursor: "pointer" }, attrs: { slot: "trigger" }, slot: "trigger" }, [r("div", { staticStyle: { padding: "0 5px" } }, [e._v(e._s(n.props.value))])]), r("div", e._l(n.props.popup.inputs, function(o, l) {
|
|
2022
|
-
return r("FormInputRow", { key: l, attrs: { inputs: o.inputs, label: o.label } });
|
|
2023
|
-
}), 1)])], 1) : n.component === "button" ? r("div", { key: a, staticClass: "input-wrapper" }, [r("button", { staticStyle: { width: "100%", height: "100%", display: "flex", "justify-content": "center", "align-items": "center", cursor: "pointer" }, on: { click: n.onClick } }, [e._v(" " + e._s(n.props.text) + " ")])]) : [e._v(" " + e._s(n.component) + " ")]];
|
|
2024
|
-
})], 2)]);
|
|
2025
|
-
}, si = [], ui = /* @__PURE__ */ Wt(
|
|
2026
|
-
ai,
|
|
2027
|
-
oi,
|
|
2028
|
-
si,
|
|
2029
|
-
!1,
|
|
2030
|
-
null,
|
|
2031
|
-
"c4d2c2c7",
|
|
2032
|
-
null,
|
|
2033
|
-
null
|
|
2034
|
-
);
|
|
2035
|
-
const li = ui.exports, ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2036
|
-
__proto__: null,
|
|
2037
|
-
default: li
|
|
2038
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
2039
2039
|
export {
|
|
2040
|
-
|
|
2041
|
-
|
|
2040
|
+
Tr as C,
|
|
2041
|
+
Lr as F,
|
|
2042
2042
|
hi as d,
|
|
2043
2043
|
gi as s,
|
|
2044
2044
|
Ae as t
|