scope360-core 0.0.162 → 0.0.163
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/scope360-core.js +145 -145
- package/dist/scope360-core.js.map +1 -1
- package/dist/scope360-core.umd.cjs +1 -1
- package/dist/scope360-core.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/scope360-core.js
CHANGED
|
@@ -2,7 +2,7 @@ import './style.css';
|
|
|
2
2
|
var Qb = Object.defineProperty;
|
|
3
3
|
var Jb = (t, e, n) => e in t ? Qb(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
4
4
|
var Z = (t, e, n) => (Jb(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
5
|
-
import { defineAsyncComponent as ew, openBlock as D, createBlock as pe, resolveDynamicComponent as $o, unref as M, computed as U, createElementBlock as R, normalizeStyle as Ct, normalizeClass as de, createCommentVNode as H, toDisplayString as ae, withKeys as ge, withModifiers as
|
|
5
|
+
import { defineAsyncComponent as ew, openBlock as D, createBlock as pe, resolveDynamicComponent as $o, unref as M, computed as U, createElementBlock as R, normalizeStyle as Ct, normalizeClass as de, createCommentVNode as H, toDisplayString as ae, withKeys as ge, withModifiers as ke, renderSlot as ce, createVNode as ue, withDirectives as jt, Fragment as ve, renderList as Ae, vShow as Bn, Transition as si, withCtx as Se, createTextVNode as He, mergeModels as Lt, ref as K, useModel as un, createElementVNode as O, vModelDynamic as tw, vModelRadio as nw, pushScopeId as bn, popScopeId as wn, watch as _n, vModelCheckbox as sw, reactive as kr, defineComponent as Ft, useSlots as xr, toRef as co, onMounted as Bt, nextTick as us, onUnmounted as ma, mergeProps as Zt, isRef as Kf, createSlots as ln, normalizeProps as Nt, guardReactiveProps as an, Teleport as iw, h as ho, render as ud, onBeforeUpdate as rw, getCurrentScope as Zg, onScopeDispose as Xg, vModelText as aw, version as ow, shallowRef as Kg, toRaw as cd, isProxy as Qg, readonly as lw, customRef as uw } from "vue";
|
|
6
6
|
const cw = (t, e) => {
|
|
7
7
|
const n = t[e];
|
|
8
8
|
return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((s, i) => {
|
|
@@ -897,10 +897,10 @@ function Pw(t, e, n, s, i, r) {
|
|
|
897
897
|
onFocus: e[14] || (e[14] = (a) => t.activate()),
|
|
898
898
|
onBlur: e[15] || (e[15] = (a) => t.searchable ? !1 : t.deactivate()),
|
|
899
899
|
onKeydown: [
|
|
900
|
-
e[16] || (e[16] = ge(
|
|
901
|
-
e[17] || (e[17] = ge(
|
|
900
|
+
e[16] || (e[16] = ge(ke((a) => t.pointerForward(), ["self", "prevent"]), ["down"])),
|
|
901
|
+
e[17] || (e[17] = ge(ke((a) => t.pointerBackward(), ["self", "prevent"]), ["up"]))
|
|
902
902
|
],
|
|
903
|
-
onKeypress: e[18] || (e[18] = ge(
|
|
903
|
+
onKeypress: e[18] || (e[18] = ge(ke((a) => t.addPointerElement(a), ["stop", "self"]), ["enter", "tab"])),
|
|
904
904
|
onKeyup: e[19] || (e[19] = ge((a) => t.deactivate(), ["esc"])),
|
|
905
905
|
role: "combobox",
|
|
906
906
|
"aria-owns": "listbox-" + t.id
|
|
@@ -909,7 +909,7 @@ function Pw(t, e, n, s, i, r) {
|
|
|
909
909
|
ue(
|
|
910
910
|
"div",
|
|
911
911
|
{
|
|
912
|
-
onMousedown: e[1] || (e[1] =
|
|
912
|
+
onMousedown: e[1] || (e[1] = ke((a) => t.toggle(), ["prevent", "stop"])),
|
|
913
913
|
class: "multiselect__select"
|
|
914
914
|
},
|
|
915
915
|
null,
|
|
@@ -949,8 +949,8 @@ function Pw(t, e, n, s, i, r) {
|
|
|
949
949
|
}, null, 8, ["textContent"]),
|
|
950
950
|
ue("i", {
|
|
951
951
|
tabindex: "1",
|
|
952
|
-
onKeypress: ge(
|
|
953
|
-
onMousedown:
|
|
952
|
+
onKeypress: ge(ke((l) => t.removeElement(a), ["prevent"]), ["enter"]),
|
|
953
|
+
onMousedown: ke((l) => t.removeElement(a), ["prevent"]),
|
|
954
954
|
class: "multiselect__tag-icon"
|
|
955
955
|
}, null, 40, ["onKeypress", "onMousedown"])
|
|
956
956
|
]))
|
|
@@ -972,7 +972,7 @@ function Pw(t, e, n, s, i, r) {
|
|
|
972
972
|
]) : H("v-if", !0)
|
|
973
973
|
]),
|
|
974
974
|
ue(si, { name: "multiselect__loading" }, {
|
|
975
|
-
default:
|
|
975
|
+
default: Se(() => [
|
|
976
976
|
ce(t.$slots, "loading", {}, () => [
|
|
977
977
|
jt(ue(
|
|
978
978
|
"div",
|
|
@@ -1002,15 +1002,15 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1002
1002
|
disabled: n.disabled,
|
|
1003
1003
|
tabindex: n.tabindex,
|
|
1004
1004
|
onInput: e[2] || (e[2] = (a) => t.updateSearch(a.target.value)),
|
|
1005
|
-
onFocus: e[3] || (e[3] =
|
|
1006
|
-
onBlur: e[4] || (e[4] =
|
|
1005
|
+
onFocus: e[3] || (e[3] = ke((a) => t.activate(), ["prevent"])),
|
|
1006
|
+
onBlur: e[4] || (e[4] = ke((a) => t.deactivate(), ["prevent"])),
|
|
1007
1007
|
onKeyup: e[5] || (e[5] = ge((a) => t.deactivate(), ["esc"])),
|
|
1008
1008
|
onKeydown: [
|
|
1009
|
-
e[6] || (e[6] = ge(
|
|
1010
|
-
e[7] || (e[7] = ge(
|
|
1011
|
-
e[9] || (e[9] = ge(
|
|
1009
|
+
e[6] || (e[6] = ge(ke((a) => t.pointerForward(), ["prevent"]), ["down"])),
|
|
1010
|
+
e[7] || (e[7] = ge(ke((a) => t.pointerBackward(), ["prevent"]), ["up"])),
|
|
1011
|
+
e[9] || (e[9] = ge(ke((a) => t.removeLastElement(), ["stop"]), ["delete"]))
|
|
1012
1012
|
],
|
|
1013
|
-
onKeypress: e[8] || (e[8] = ge(
|
|
1013
|
+
onKeypress: e[8] || (e[8] = ge(ke((a) => t.addPointerElement(a), ["prevent", "stop", "self"]), ["enter"])),
|
|
1014
1014
|
class: "multiselect__input",
|
|
1015
1015
|
"aria-controls": "listbox-" + t.id
|
|
1016
1016
|
}, null, 44, ["name", "id", "placeholder", "value", "disabled", "tabindex", "aria-controls"])) : H("v-if", !0),
|
|
@@ -1019,7 +1019,7 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1019
1019
|
{
|
|
1020
1020
|
key: 1,
|
|
1021
1021
|
class: "multiselect__single",
|
|
1022
|
-
onMousedown: e[10] || (e[10] =
|
|
1022
|
+
onMousedown: e[10] || (e[10] = ke((...a) => t.toggle && t.toggle(...a), ["prevent"]))
|
|
1023
1023
|
},
|
|
1024
1024
|
[
|
|
1025
1025
|
ce(t.$slots, "singleLabel", { option: r.singleValue }, () => [
|
|
@@ -1038,7 +1038,7 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1038
1038
|
{
|
|
1039
1039
|
key: 2,
|
|
1040
1040
|
class: "multiselect__placeholder",
|
|
1041
|
-
onMousedown: e[11] || (e[11] =
|
|
1041
|
+
onMousedown: e[11] || (e[11] = ke((...a) => t.toggle && t.toggle(...a), ["prevent"]))
|
|
1042
1042
|
},
|
|
1043
1043
|
[
|
|
1044
1044
|
ce(t.$slots, "placeholder", {}, () => [
|
|
@@ -1057,14 +1057,14 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1057
1057
|
/* NEED_PATCH */
|
|
1058
1058
|
),
|
|
1059
1059
|
ue(si, { name: "multiselect" }, {
|
|
1060
|
-
default:
|
|
1060
|
+
default: Se(() => [
|
|
1061
1061
|
jt(ue(
|
|
1062
1062
|
"div",
|
|
1063
1063
|
{
|
|
1064
1064
|
class: "multiselect__content-wrapper",
|
|
1065
1065
|
onFocus: e[12] || (e[12] = (...a) => t.activate && t.activate(...a)),
|
|
1066
1066
|
tabindex: "-1",
|
|
1067
|
-
onMousedown: e[13] || (e[13] =
|
|
1067
|
+
onMousedown: e[13] || (e[13] = ke(() => {
|
|
1068
1068
|
}, ["prevent"])),
|
|
1069
1069
|
style: { maxHeight: t.optimizedHeight + "px" },
|
|
1070
1070
|
ref: "list"
|
|
@@ -1100,8 +1100,8 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1100
1100
|
a && (a.$isLabel || a.$isDisabled) ? H("v-if", !0) : (D(), pe("span", {
|
|
1101
1101
|
key: 0,
|
|
1102
1102
|
class: [t.optionHighlight(o, a), "multiselect__option"],
|
|
1103
|
-
onClick:
|
|
1104
|
-
onMouseenter:
|
|
1103
|
+
onClick: ke((l) => t.select(a), ["stop"]),
|
|
1104
|
+
onMouseenter: ke((l) => t.pointerSet(o), ["self"]),
|
|
1105
1105
|
"data-select": a && a.isTag ? t.tagPlaceholder : r.selectLabelText,
|
|
1106
1106
|
"data-selected": r.selectedLabelText,
|
|
1107
1107
|
"data-deselect": r.deselectLabelText
|
|
@@ -1125,8 +1125,8 @@ function Pw(t, e, n, s, i, r) {
|
|
|
1125
1125
|
"data-select": t.groupSelect && r.selectGroupLabelText,
|
|
1126
1126
|
"data-deselect": t.groupSelect && r.deselectGroupLabelText,
|
|
1127
1127
|
class: [t.groupHighlight(o, a), "multiselect__option"],
|
|
1128
|
-
onMouseenter:
|
|
1129
|
-
onMousedown:
|
|
1128
|
+
onMouseenter: ke((l) => t.groupSelect && t.pointerSet(o), ["self"]),
|
|
1129
|
+
onMousedown: ke((l) => t.selectGroup(a), ["prevent"])
|
|
1130
1130
|
}, [
|
|
1131
1131
|
ce(t.$slots, "option", {
|
|
1132
1132
|
option: a,
|
|
@@ -6042,7 +6042,7 @@ const Vx = ({
|
|
|
6042
6042
|
k.clearable && !k.$slots["clear-icon"] && t.inputValue && !k.disabled && !k.readonly ? (D(), pe(M(wy), {
|
|
6043
6043
|
key: 3,
|
|
6044
6044
|
class: "dp__clear_icon dp__input_icons",
|
|
6045
|
-
onClick: L[3] || (L[3] =
|
|
6045
|
+
onClick: L[3] || (L[3] = ke((oe) => ee(oe), ["prevent"]))
|
|
6046
6046
|
})) : H("", !0)
|
|
6047
6047
|
])) : H("", !0)
|
|
6048
6048
|
]);
|
|
@@ -6285,11 +6285,11 @@ const Vx = ({
|
|
|
6285
6285
|
role: "dialog",
|
|
6286
6286
|
tabindex: "0",
|
|
6287
6287
|
onKeydown: [
|
|
6288
|
-
ge(
|
|
6289
|
-
I[0] || (I[0] = ge(
|
|
6290
|
-
I[1] || (I[1] = ge(
|
|
6291
|
-
I[2] || (I[2] = ge(
|
|
6292
|
-
I[3] || (I[3] = ge(
|
|
6288
|
+
ge(ke(ee, ["prevent"]), ["esc"]),
|
|
6289
|
+
I[0] || (I[0] = ge(ke((b) => L(b), ["prevent"]), ["left"])),
|
|
6290
|
+
I[1] || (I[1] = ge(ke((b) => L(b), ["prevent"]), ["up"])),
|
|
6291
|
+
I[2] || (I[2] = ge(ke((b) => L(b), ["prevent"]), ["down"])),
|
|
6292
|
+
I[3] || (I[3] = ge(ke((b) => L(b), ["prevent"]), ["right"]))
|
|
6293
6293
|
]
|
|
6294
6294
|
}, [
|
|
6295
6295
|
O("div", {
|
|
@@ -6318,8 +6318,8 @@ const Vx = ({
|
|
|
6318
6318
|
tabindex: "0",
|
|
6319
6319
|
onClick: (Ie) => $(Y),
|
|
6320
6320
|
onKeydown: [
|
|
6321
|
-
ge(
|
|
6322
|
-
ge(
|
|
6321
|
+
ge(ke((Ie) => $(Y), ["prevent"]), ["enter"]),
|
|
6322
|
+
ge(ke((Ie) => $(Y), ["prevent"]), ["space"])
|
|
6323
6323
|
],
|
|
6324
6324
|
onMouseover: (Ie) => Q(Y.value)
|
|
6325
6325
|
}, [
|
|
@@ -6412,8 +6412,8 @@ const Vx = ({
|
|
|
6412
6412
|
"aria-disabled": i.disabled || void 0,
|
|
6413
6413
|
onClick: r[0] || (r[0] = (a) => i.$emit("activate")),
|
|
6414
6414
|
onKeydown: [
|
|
6415
|
-
r[1] || (r[1] = ge(
|
|
6416
|
-
r[2] || (r[2] = ge(
|
|
6415
|
+
r[1] || (r[1] = ge(ke((a) => i.$emit("activate"), ["prevent"]), ["enter"])),
|
|
6416
|
+
r[2] || (r[2] = ge(ke((a) => i.$emit("activate"), ["prevent"]), ["space"]))
|
|
6417
6417
|
]
|
|
6418
6418
|
}, [
|
|
6419
6419
|
O("span", {
|
|
@@ -6452,7 +6452,7 @@ const Vx = ({
|
|
|
6452
6452
|
disabled: t.isDisabled(!1),
|
|
6453
6453
|
onActivate: g[0] || (g[0] = (T) => p(!1))
|
|
6454
6454
|
}, {
|
|
6455
|
-
default:
|
|
6455
|
+
default: Se(() => [
|
|
6456
6456
|
m.$slots["arrow-left"] ? ce(m.$slots, "arrow-left", { key: 0 }) : H("", !0),
|
|
6457
6457
|
m.$slots["arrow-left"] ? H("", !0) : (D(), pe(M(_h), { key: 1 }))
|
|
6458
6458
|
]),
|
|
@@ -6481,7 +6481,7 @@ const Vx = ({
|
|
|
6481
6481
|
disabled: t.isDisabled(!0),
|
|
6482
6482
|
onActivate: g[3] || (g[3] = (T) => p(!0))
|
|
6483
6483
|
}, {
|
|
6484
|
-
default:
|
|
6484
|
+
default: Se(() => [
|
|
6485
6485
|
m.$slots["arrow-right"] ? ce(m.$slots, "arrow-right", { key: 0 }) : H("", !0),
|
|
6486
6486
|
m.$slots["arrow-right"] ? H("", !0) : (D(), pe(M(vh), { key: 1 }))
|
|
6487
6487
|
]),
|
|
@@ -6491,7 +6491,7 @@ const Vx = ({
|
|
|
6491
6491
|
name: M(d)(t.showYearPicker),
|
|
6492
6492
|
css: M(c)
|
|
6493
6493
|
}, {
|
|
6494
|
-
default:
|
|
6494
|
+
default: Se(() => [
|
|
6495
6495
|
t.showYearPicker ? (D(), pe(Lo, {
|
|
6496
6496
|
key: 0,
|
|
6497
6497
|
items: t.items,
|
|
@@ -6505,7 +6505,7 @@ const Vx = ({
|
|
|
6505
6505
|
onToggle: h,
|
|
6506
6506
|
onSelected: g[4] || (g[4] = (T) => f(T))
|
|
6507
6507
|
}, ln({
|
|
6508
|
-
"button-icon":
|
|
6508
|
+
"button-icon": Se(() => [
|
|
6509
6509
|
m.$slots["calendar-icon"] ? ce(m.$slots, "calendar-icon", { key: 0 }) : H("", !0),
|
|
6510
6510
|
m.$slots["calendar-icon"] ? H("", !0) : (D(), pe(M(pa), { key: 1 }))
|
|
6511
6511
|
]),
|
|
@@ -6513,7 +6513,7 @@ const Vx = ({
|
|
|
6513
6513
|
}, [
|
|
6514
6514
|
m.$slots["year-overlay-value"] ? {
|
|
6515
6515
|
name: "item",
|
|
6516
|
-
fn:
|
|
6516
|
+
fn: Se(({ item: T }) => [
|
|
6517
6517
|
ce(m.$slots, "year-overlay-value", {
|
|
6518
6518
|
text: T.text,
|
|
6519
6519
|
value: T.value
|
|
@@ -6781,7 +6781,7 @@ const Vx = ({
|
|
|
6781
6781
|
collapse: S.collapse,
|
|
6782
6782
|
stretch: ""
|
|
6783
6783
|
}, {
|
|
6784
|
-
default:
|
|
6784
|
+
default: Se(({ instance: E }) => [
|
|
6785
6785
|
S.$slots["month-year"] ? ce(S.$slots, "month-year", Nt(Zt({ key: 0 }, {
|
|
6786
6786
|
year: M(u),
|
|
6787
6787
|
months: M(o)(E),
|
|
@@ -6803,7 +6803,7 @@ const Vx = ({
|
|
|
6803
6803
|
onSelected: (z) => M(y)(z, E),
|
|
6804
6804
|
onHoverValue: (z) => M(g)(z, E)
|
|
6805
6805
|
}, {
|
|
6806
|
-
header:
|
|
6806
|
+
header: Se(() => [
|
|
6807
6807
|
ue(Iy, Zt(S.$props, {
|
|
6808
6808
|
items: M(l)(E),
|
|
6809
6809
|
instance: E,
|
|
@@ -6816,7 +6816,7 @@ const Vx = ({
|
|
|
6816
6816
|
}), ln({ _: 2 }, [
|
|
6817
6817
|
Ae(M(r), (z, X) => ({
|
|
6818
6818
|
name: z,
|
|
6819
|
-
fn:
|
|
6819
|
+
fn: Se(($) => [
|
|
6820
6820
|
ce(S.$slots, z, Nt(an($)))
|
|
6821
6821
|
])
|
|
6822
6822
|
}))
|
|
@@ -6897,7 +6897,7 @@ const Vx = ({
|
|
|
6897
6897
|
}, ln({ _: 2 }, [
|
|
6898
6898
|
d.$slots["year-overlay-value"] ? {
|
|
6899
6899
|
name: "item",
|
|
6900
|
-
fn:
|
|
6900
|
+
fn: Se(({ item: f }) => [
|
|
6901
6901
|
ce(d.$slots, "year-overlay-value", {
|
|
6902
6902
|
text: f.text,
|
|
6903
6903
|
value: f.value
|
|
@@ -6985,10 +6985,10 @@ const Vx = ({
|
|
|
6985
6985
|
const N = i.disabledTimesConfig(i.order, V === "hours" ? q : void 0);
|
|
6986
6986
|
return N[V] ? !!((Te = N[V]) != null && Te.includes(q)) : !0;
|
|
6987
6987
|
}, k = (V) => {
|
|
6988
|
-
const q = i.is24 ? 24 : 12, Te = V === "hours" ? q : 60, N = +i[`${V}GridIncrement`], ne = V === "hours" && !i.is24 ? N : 0,
|
|
6988
|
+
const q = i.is24 ? 24 : 12, Te = V === "hours" ? q : 60, N = +i[`${V}GridIncrement`], ne = V === "hours" && !i.is24 ? N : 0, xe = [];
|
|
6989
6989
|
for (let Ce = ne; Ce < Te; Ce += N)
|
|
6990
|
-
|
|
6991
|
-
return V === "hours" && !i.is24 &&
|
|
6990
|
+
xe.push({ value: Ce, text: Ce < 10 ? `0${Ce}` : `${Ce}` });
|
|
6991
|
+
return V === "hours" && !i.is24 && xe.push({ value: 0, text: "12" }), na(xe, (Ce) => ({ active: !1, disabled: u.value.times[V].includes(Ce.value) || !oe(Ce.value, V) || C(V, Ce.value) || x(V, Ce.value) }));
|
|
6992
6992
|
}, L = (V) => V >= 0 ? V : 59, Q = (V) => V >= 0 ? V : 23, oe = (V, q) => {
|
|
6993
6993
|
const Te = i.minTime ? w(gc(i.minTime)) : null, N = i.maxTime ? w(gc(i.maxTime)) : null, ne = w(
|
|
6994
6994
|
gc(
|
|
@@ -7014,7 +7014,7 @@ const Vx = ({
|
|
|
7014
7014
|
if (V && i.arrowNavigation) {
|
|
7015
7015
|
Array.isArray(y.value[q]) ? y.value[q][Te] = V : y.value[q] = [V];
|
|
7016
7016
|
const N = y.value.reduce(
|
|
7017
|
-
(ne,
|
|
7017
|
+
(ne, xe) => xe.map((Ce, _e) => [...ne[_e] || [], xe[_e]]),
|
|
7018
7018
|
[]
|
|
7019
7019
|
);
|
|
7020
7020
|
a(i.closeTimePickerBtn), g.value && (N[1] = N[1].concat(g.value)), r(N, i.order);
|
|
@@ -7024,7 +7024,7 @@ const Vx = ({
|
|
|
7024
7024
|
var Te;
|
|
7025
7025
|
return V.disabled ? H("", !0) : (D(), R("div", uS, [
|
|
7026
7026
|
(D(!0), R(ve, null, Ae($.value, (N, ne) => {
|
|
7027
|
-
var
|
|
7027
|
+
var xe, Ce, _e;
|
|
7028
7028
|
return D(), R("div", {
|
|
7029
7029
|
key: ne,
|
|
7030
7030
|
class: de(X.value)
|
|
@@ -7043,11 +7043,11 @@ const Vx = ({
|
|
|
7043
7043
|
dp__tp_inline_btn_top: V.timePickerInline,
|
|
7044
7044
|
dp__inc_dec_button_disabled: S.value(N.type)
|
|
7045
7045
|
}),
|
|
7046
|
-
"aria-label": (
|
|
7046
|
+
"aria-label": (xe = M(o)) == null ? void 0 : xe.incrementValue(N.type),
|
|
7047
7047
|
tabindex: "0",
|
|
7048
7048
|
onKeydown: [
|
|
7049
|
-
ge(
|
|
7050
|
-
ge(
|
|
7049
|
+
ge(ke((le) => b(N.type), ["prevent"]), ["enter"]),
|
|
7050
|
+
ge(ke((le) => b(N.type), ["prevent"]), ["space"])
|
|
7051
7051
|
],
|
|
7052
7052
|
onClick: (le) => b(N.type)
|
|
7053
7053
|
}, [
|
|
@@ -7074,8 +7074,8 @@ const Vx = ({
|
|
|
7074
7074
|
disabled: J(N.type),
|
|
7075
7075
|
tabindex: "0",
|
|
7076
7076
|
onKeydown: [
|
|
7077
|
-
ge(
|
|
7078
|
-
ge(
|
|
7077
|
+
ge(ke((le) => I(N.type), ["prevent"]), ["enter"]),
|
|
7078
|
+
ge(ke((le) => I(N.type), ["prevent"]), ["space"])
|
|
7079
7079
|
],
|
|
7080
7080
|
onClick: (le) => I(N.type)
|
|
7081
7081
|
}, [
|
|
@@ -7102,8 +7102,8 @@ const Vx = ({
|
|
|
7102
7102
|
"aria-label": (_e = M(o)) == null ? void 0 : _e.decrementValue(N.type),
|
|
7103
7103
|
tabindex: "0",
|
|
7104
7104
|
onKeydown: [
|
|
7105
|
-
ge(
|
|
7106
|
-
ge(
|
|
7105
|
+
ge(ke((le) => b(N.type, !1), ["prevent"]), ["enter"]),
|
|
7106
|
+
ge(ke((le) => b(N.type, !1), ["prevent"]), ["space"])
|
|
7107
7107
|
],
|
|
7108
7108
|
onClick: (le) => b(N.type, !1)
|
|
7109
7109
|
}, [
|
|
@@ -7135,8 +7135,8 @@ const Vx = ({
|
|
|
7135
7135
|
tabindex: "0",
|
|
7136
7136
|
onClick: Y,
|
|
7137
7137
|
onKeydown: [
|
|
7138
|
-
ge(
|
|
7139
|
-
ge(
|
|
7138
|
+
ge(ke(Y, ["prevent"]), ["enter"]),
|
|
7139
|
+
ge(ke(Y, ["prevent"]), ["space"])
|
|
7140
7140
|
]
|
|
7141
7141
|
}, ae(m.value), 41, _S))
|
|
7142
7142
|
])),
|
|
@@ -7145,7 +7145,7 @@ const Vx = ({
|
|
|
7145
7145
|
name: M(h)(p[N.type]),
|
|
7146
7146
|
css: M(f)
|
|
7147
7147
|
}, {
|
|
7148
|
-
default:
|
|
7148
|
+
default: Se(() => [
|
|
7149
7149
|
p[N.type] ? (D(), pe(Lo, {
|
|
7150
7150
|
key: 0,
|
|
7151
7151
|
items: k(N.type),
|
|
@@ -7156,11 +7156,11 @@ const Vx = ({
|
|
|
7156
7156
|
config: V.config,
|
|
7157
7157
|
"arrow-navigation": V.arrowNavigation,
|
|
7158
7158
|
"aria-labels": V.ariaLabels,
|
|
7159
|
-
onSelected: (
|
|
7160
|
-
onToggle: (
|
|
7161
|
-
onResetFlow: q[0] || (q[0] = (
|
|
7159
|
+
onSelected: (xe) => Qe(N.type, xe),
|
|
7160
|
+
onToggle: (xe) => I(N.type),
|
|
7161
|
+
onResetFlow: q[0] || (q[0] = (xe) => V.$emit("reset-flow"))
|
|
7162
7162
|
}, ln({
|
|
7163
|
-
"button-icon":
|
|
7163
|
+
"button-icon": Se(() => [
|
|
7164
7164
|
V.$slots["clock-icon"] ? ce(V.$slots, "clock-icon", { key: 0 }) : H("", !0),
|
|
7165
7165
|
V.$slots["clock-icon"] ? H("", !0) : (D(), pe($o(V.timePickerInline ? M(pa) : M(bh)), { key: 1 }))
|
|
7166
7166
|
]),
|
|
@@ -7168,10 +7168,10 @@ const Vx = ({
|
|
|
7168
7168
|
}, [
|
|
7169
7169
|
V.$slots[`${N.type}-overlay-value`] ? {
|
|
7170
7170
|
name: "item",
|
|
7171
|
-
fn:
|
|
7171
|
+
fn: Se(({ item: xe }) => [
|
|
7172
7172
|
ce(V.$slots, `${N.type}-overlay-value`, {
|
|
7173
|
-
text:
|
|
7174
|
-
value:
|
|
7173
|
+
text: xe.text,
|
|
7174
|
+
value: xe.value
|
|
7175
7175
|
})
|
|
7176
7176
|
]),
|
|
7177
7177
|
key: "0"
|
|
@@ -7272,7 +7272,7 @@ const Vx = ({
|
|
|
7272
7272
|
name: M(f)(x.value),
|
|
7273
7273
|
css: M(p) && !k.timePickerInline
|
|
7274
7274
|
}, {
|
|
7275
|
-
default:
|
|
7275
|
+
default: Se(() => {
|
|
7276
7276
|
var oe;
|
|
7277
7277
|
return [
|
|
7278
7278
|
x.value || k.timePicker || k.timePickerInline ? (D(), R("div", {
|
|
@@ -7329,7 +7329,7 @@ const Vx = ({
|
|
|
7329
7329
|
}), ln({ _: 2 }, [
|
|
7330
7330
|
Ae(M(z), (F, b) => ({
|
|
7331
7331
|
name: F,
|
|
7332
|
-
fn:
|
|
7332
|
+
fn: Se((_) => [
|
|
7333
7333
|
ce(k.$slots, F, Nt(an(_)))
|
|
7334
7334
|
])
|
|
7335
7335
|
}))
|
|
@@ -7492,7 +7492,7 @@ const Vx = ({
|
|
|
7492
7492
|
"multi-calendars": 0,
|
|
7493
7493
|
stretch: ""
|
|
7494
7494
|
}, {
|
|
7495
|
-
default:
|
|
7495
|
+
default: Se(() => [
|
|
7496
7496
|
ue(Yy, Zt(h.$props, {
|
|
7497
7497
|
hours: M(o).hours,
|
|
7498
7498
|
minutes: M(o).minutes,
|
|
@@ -7507,7 +7507,7 @@ const Vx = ({
|
|
|
7507
7507
|
}), ln({ _: 2 }, [
|
|
7508
7508
|
Ae(M(a), (p, m) => ({
|
|
7509
7509
|
name: p,
|
|
7510
|
-
fn:
|
|
7510
|
+
fn: Se((g) => [
|
|
7511
7511
|
ce(h.$slots, p, Nt(an(g)))
|
|
7512
7512
|
])
|
|
7513
7513
|
}))
|
|
@@ -7622,7 +7622,7 @@ const Vx = ({
|
|
|
7622
7622
|
onActivate: F[0] || (F[0] = (j) => M(m)(!1, !0)),
|
|
7623
7623
|
onSetRef: F[1] || (F[1] = (j) => Q(j, 0))
|
|
7624
7624
|
}, {
|
|
7625
|
-
default:
|
|
7625
|
+
default: Se(() => [
|
|
7626
7626
|
I.$slots["arrow-left"] ? ce(I.$slots, "arrow-left", { key: 0 }) : H("", !0),
|
|
7627
7627
|
I.$slots["arrow-left"] ? H("", !0) : (D(), pe(M(_h), { key: 1 }))
|
|
7628
7628
|
]),
|
|
@@ -7645,8 +7645,8 @@ const Vx = ({
|
|
|
7645
7645
|
"aria-label": j.ariaLabel,
|
|
7646
7646
|
onClick: j.toggle,
|
|
7647
7647
|
onKeydown: [
|
|
7648
|
-
ge(
|
|
7649
|
-
ge(
|
|
7648
|
+
ge(ke(j.toggle, ["prevent"]), ["enter"]),
|
|
7649
|
+
ge(ke(j.toggle, ["prevent"]), ["space"])
|
|
7650
7650
|
]
|
|
7651
7651
|
}, [
|
|
7652
7652
|
I.$slots[j.type] ? ce(I.$slots, j.type, {
|
|
@@ -7662,7 +7662,7 @@ const Vx = ({
|
|
|
7662
7662
|
name: M(h)(j.showSelectionGrid),
|
|
7663
7663
|
css: M(f)
|
|
7664
7664
|
}, {
|
|
7665
|
-
default:
|
|
7665
|
+
default: Se(() => [
|
|
7666
7666
|
j.showSelectionGrid ? (D(), pe(Lo, {
|
|
7667
7667
|
key: 0,
|
|
7668
7668
|
items: j.items,
|
|
@@ -7680,7 +7680,7 @@ const Vx = ({
|
|
|
7680
7680
|
onSelected: j.updateModelValue,
|
|
7681
7681
|
onToggle: j.toggle
|
|
7682
7682
|
}, ln({
|
|
7683
|
-
"button-icon":
|
|
7683
|
+
"button-icon": Se(() => [
|
|
7684
7684
|
I.$slots["calendar-icon"] ? ce(I.$slots, "calendar-icon", { key: 0 }) : H("", !0),
|
|
7685
7685
|
I.$slots["calendar-icon"] ? H("", !0) : (D(), pe(M(pa), { key: 1 }))
|
|
7686
7686
|
]),
|
|
@@ -7688,7 +7688,7 @@ const Vx = ({
|
|
|
7688
7688
|
}, [
|
|
7689
7689
|
I.$slots[`${j.type}-overlay-value`] ? {
|
|
7690
7690
|
name: "item",
|
|
7691
|
-
fn:
|
|
7691
|
+
fn: Se(({ item: Qe }) => [
|
|
7692
7692
|
ce(I.$slots, `${j.type}-overlay-value`, {
|
|
7693
7693
|
text: Qe.text,
|
|
7694
7694
|
value: Qe.value
|
|
@@ -7698,14 +7698,14 @@ const Vx = ({
|
|
|
7698
7698
|
} : void 0,
|
|
7699
7699
|
I.$slots[`${j.type}-overlay`] ? {
|
|
7700
7700
|
name: "overlay",
|
|
7701
|
-
fn:
|
|
7701
|
+
fn: Se(() => [
|
|
7702
7702
|
ce(I.$slots, `${j.type}-overlay`, Nt(an(z.value(j.type))))
|
|
7703
7703
|
]),
|
|
7704
7704
|
key: "1"
|
|
7705
7705
|
} : void 0,
|
|
7706
7706
|
I.$slots[`${j.type}-overlay-header`] ? {
|
|
7707
7707
|
name: "header",
|
|
7708
|
-
fn:
|
|
7708
|
+
fn: Se(() => [
|
|
7709
7709
|
ce(I.$slots, `${j.type}-overlay-header`, {
|
|
7710
7710
|
toggle: j.toggle
|
|
7711
7711
|
})
|
|
@@ -7724,7 +7724,7 @@ const Vx = ({
|
|
|
7724
7724
|
disabled: M(g)(!1),
|
|
7725
7725
|
onActivate: F[2] || (F[2] = (j) => M(m)(!1, !0))
|
|
7726
7726
|
}, {
|
|
7727
|
-
default:
|
|
7727
|
+
default: Se(() => [
|
|
7728
7728
|
I.$slots["arrow-up"] ? ce(I.$slots, "arrow-up", { key: 0 }) : H("", !0),
|
|
7729
7729
|
I.$slots["arrow-up"] ? H("", !0) : (D(), pe(M(wh), { key: 1 }))
|
|
7730
7730
|
]),
|
|
@@ -7738,7 +7738,7 @@ const Vx = ({
|
|
|
7738
7738
|
onActivate: F[3] || (F[3] = (j) => M(m)(!0, !0)),
|
|
7739
7739
|
onSetRef: F[4] || (F[4] = (j) => Q(j, I.disableYearSelect ? 2 : 3))
|
|
7740
7740
|
}, {
|
|
7741
|
-
default:
|
|
7741
|
+
default: Se(() => [
|
|
7742
7742
|
I.$slots[I.vertical ? "arrow-down" : "arrow-right"] ? ce(I.$slots, I.vertical ? "arrow-down" : "arrow-right", { key: 0 }) : H("", !0),
|
|
7743
7743
|
I.$slots[I.vertical ? "arrow-down" : "arrow-right"] ? H("", !0) : (D(), pe($o(I.vertical ? M(kh) : M(vh)), { key: 1 }))
|
|
7744
7744
|
]),
|
|
@@ -7820,12 +7820,12 @@ const Vx = ({
|
|
|
7820
7820
|
})), ee = U(() => (q) => i.hideOffsetDates ? q.current : !0), C = (q) => Os(q, "yyyy-MM-dd"), k = async (q, Te, N) => {
|
|
7821
7821
|
const ne = Vt(p.value[Te][N]);
|
|
7822
7822
|
if (ne) {
|
|
7823
|
-
const { width:
|
|
7823
|
+
const { width: xe, height: Ce } = ne.getBoundingClientRect();
|
|
7824
7824
|
h.value = q.value;
|
|
7825
|
-
let _e = { left: `${
|
|
7825
|
+
let _e = { left: `${xe / 2}px` }, le = -50;
|
|
7826
7826
|
if (await us(), v.value[0]) {
|
|
7827
7827
|
const { left: sn, width: zt } = v.value[0].getBoundingClientRect();
|
|
7828
|
-
sn < 0 && (_e = { left: "0" }, le = 0, T.value.left = `${
|
|
7828
|
+
sn < 0 && (_e = { left: "0" }, le = 0, T.value.left = `${xe / 2}px`), window.innerWidth < sn + zt && (_e = { right: "0" }, le = 0, T.value.left = `${zt - xe / 2}px`);
|
|
7829
7829
|
}
|
|
7830
7830
|
f.value = {
|
|
7831
7831
|
bottom: `${Ce}px`,
|
|
@@ -7834,10 +7834,10 @@ const Vx = ({
|
|
|
7834
7834
|
}, s("tooltip-open", q.marker);
|
|
7835
7835
|
}
|
|
7836
7836
|
}, L = async (q, Te, N) => {
|
|
7837
|
-
var ne,
|
|
7837
|
+
var ne, xe;
|
|
7838
7838
|
if (x.value && d.value.enabled && d.value.dragSelect)
|
|
7839
7839
|
return s("select-date", q);
|
|
7840
|
-
s("set-hover-date", q), (
|
|
7840
|
+
s("set-hover-date", q), (xe = (ne = q.marker) == null ? void 0 : ne.tooltip) != null && xe.length && await k(q, Te, N);
|
|
7841
7841
|
}, Q = (q) => {
|
|
7842
7842
|
h.value && (h.value = null, f.value = JSON.parse(JSON.stringify({ bottom: "", left: "", transform: "" })), s("tooltip-close", q.marker));
|
|
7843
7843
|
}, oe = (q) => {
|
|
@@ -7877,18 +7877,18 @@ const Vx = ({
|
|
|
7877
7877
|
}, [
|
|
7878
7878
|
O("div", CS, [
|
|
7879
7879
|
q.weekNumbers ? (D(), R("div", AS, ae(q.weekNumName), 1)) : H("", !0),
|
|
7880
|
-
(D(!0), R(ve, null, Ae(S.value, (ne,
|
|
7880
|
+
(D(!0), R(ve, null, Ae(S.value, (ne, xe) => {
|
|
7881
7881
|
var Ce, _e;
|
|
7882
7882
|
return D(), R("div", {
|
|
7883
|
-
key:
|
|
7883
|
+
key: xe,
|
|
7884
7884
|
class: "dp__calendar_header_item",
|
|
7885
7885
|
role: "gridcell",
|
|
7886
|
-
"aria-label": (_e = (Ce = M(l)) == null ? void 0 : Ce.weekDay) == null ? void 0 : _e.call(Ce,
|
|
7886
|
+
"aria-label": (_e = (Ce = M(l)) == null ? void 0 : Ce.weekDay) == null ? void 0 : _e.call(Ce, xe)
|
|
7887
7887
|
}, [
|
|
7888
7888
|
q.$slots["calendar-header"] ? ce(q.$slots, "calendar-header", {
|
|
7889
7889
|
key: 0,
|
|
7890
7890
|
day: ne,
|
|
7891
|
-
index:
|
|
7891
|
+
index: xe
|
|
7892
7892
|
}) : H("", !0),
|
|
7893
7893
|
q.$slots["calendar-header"] ? H("", !0) : (D(), R(ve, { key: 1 }, [
|
|
7894
7894
|
He(ae(ne), 1)
|
|
@@ -7901,7 +7901,7 @@ const Vx = ({
|
|
|
7901
7901
|
name: y.value,
|
|
7902
7902
|
css: !!q.transitions
|
|
7903
7903
|
}, {
|
|
7904
|
-
default:
|
|
7904
|
+
default: Se(() => {
|
|
7905
7905
|
var ne;
|
|
7906
7906
|
return [
|
|
7907
7907
|
g.value ? (D(), R("div", {
|
|
@@ -7909,17 +7909,17 @@ const Vx = ({
|
|
|
7909
7909
|
class: "dp__calendar",
|
|
7910
7910
|
role: "rowgroup",
|
|
7911
7911
|
"aria-label": ((ne = M(l)) == null ? void 0 : ne.calendarDays) || void 0,
|
|
7912
|
-
onMouseleave: Te[1] || (Te[1] = (
|
|
7912
|
+
onMouseleave: Te[1] || (Te[1] = (xe) => x.value = !1)
|
|
7913
7913
|
}, [
|
|
7914
|
-
(D(!0), R(ve, null, Ae(P.value, (
|
|
7914
|
+
(D(!0), R(ve, null, Ae(P.value, (xe, Ce) => (D(), R("div", {
|
|
7915
7915
|
key: Ce,
|
|
7916
7916
|
class: "dp__calendar_row",
|
|
7917
7917
|
role: "row"
|
|
7918
7918
|
}, [
|
|
7919
7919
|
q.weekNumbers ? (D(), R("div", IS, [
|
|
7920
|
-
O("div", NS, ae(j(
|
|
7920
|
+
O("div", NS, ae(j(xe.days)), 1)
|
|
7921
7921
|
])) : H("", !0),
|
|
7922
|
-
(D(!0), R(ve, null, Ae(
|
|
7922
|
+
(D(!0), R(ve, null, Ae(xe.days, (_e, le) => {
|
|
7923
7923
|
var sn, zt, Ls;
|
|
7924
7924
|
return D(), R("div", {
|
|
7925
7925
|
id: C(_e.value),
|
|
@@ -7932,7 +7932,7 @@ const Vx = ({
|
|
|
7932
7932
|
"aria-disabled": _e.classData.dp__cell_disabled || void 0,
|
|
7933
7933
|
"aria-label": (zt = (sn = M(l)) == null ? void 0 : sn.day) == null ? void 0 : zt.call(sn, _e),
|
|
7934
7934
|
tabindex: "0",
|
|
7935
|
-
onClick:
|
|
7935
|
+
onClick: ke((Yt) => Ie(Yt, _e), ["prevent"]),
|
|
7936
7936
|
onKeydown: [
|
|
7937
7937
|
ge((Yt) => q.$emit("select-date", _e), ["enter"]),
|
|
7938
7938
|
ge((Yt) => q.$emit("handle-space", _e), ["space"])
|
|
@@ -8150,7 +8150,7 @@ const Vx = ({
|
|
|
8150
8150
|
});
|
|
8151
8151
|
}
|
|
8152
8152
|
return Re;
|
|
8153
|
-
},
|
|
8153
|
+
}, xe = (W, re) => {
|
|
8154
8154
|
const we = [], Re = new Date(re, W), se = new Date(re, W + 1, 0), Me = t.weekStart, De = As(Re, { weekStartsOn: Me }), Fs = (gs) => {
|
|
8155
8155
|
const zi = ne(gs, W);
|
|
8156
8156
|
if (we.push({ days: zi }), !we[we.length - 1].days.some(
|
|
@@ -8244,7 +8244,7 @@ const Vx = ({
|
|
|
8244
8244
|
time: l,
|
|
8245
8245
|
disabledTimesConfig: A,
|
|
8246
8246
|
validateTime: S,
|
|
8247
|
-
getCalendarDays:
|
|
8247
|
+
getCalendarDays: xe,
|
|
8248
8248
|
getMarker: q,
|
|
8249
8249
|
handleScroll: Ie,
|
|
8250
8250
|
handleSwipe: V,
|
|
@@ -8363,7 +8363,7 @@ const Vx = ({
|
|
|
8363
8363
|
"multi-calendars": M(z).count,
|
|
8364
8364
|
collapse: F.collapse
|
|
8365
8365
|
}, {
|
|
8366
|
-
default:
|
|
8366
|
+
default: Se(({ instance: _, index: Y }) => [
|
|
8367
8367
|
F.disableMonthYearSelect ? H("", !0) : (D(), pe(OS, Zt({
|
|
8368
8368
|
key: 0,
|
|
8369
8369
|
ref: (j) => {
|
|
@@ -8382,7 +8382,7 @@ const Vx = ({
|
|
|
8382
8382
|
}), ln({ _: 2 }, [
|
|
8383
8383
|
Ae(M(C), (j, Ie) => ({
|
|
8384
8384
|
name: j,
|
|
8385
|
-
fn:
|
|
8385
|
+
fn: Se((Qe) => [
|
|
8386
8386
|
ce(F.$slots, j, Nt(an(Qe)))
|
|
8387
8387
|
])
|
|
8388
8388
|
}))
|
|
@@ -8408,7 +8408,7 @@ const Vx = ({
|
|
|
8408
8408
|
}), ln({ _: 2 }, [
|
|
8409
8409
|
Ae(M(ee), (j, Ie) => ({
|
|
8410
8410
|
name: j,
|
|
8411
|
-
fn:
|
|
8411
|
+
fn: Se((Qe) => [
|
|
8412
8412
|
ce(F.$slots, j, Nt(an({ ...Qe })))
|
|
8413
8413
|
])
|
|
8414
8414
|
}))
|
|
@@ -8439,7 +8439,7 @@ const Vx = ({
|
|
|
8439
8439
|
}), ln({ _: 2 }, [
|
|
8440
8440
|
Ae(M(k), (_, Y) => ({
|
|
8441
8441
|
name: _,
|
|
8442
|
-
fn:
|
|
8442
|
+
fn: Se((j) => [
|
|
8443
8443
|
ce(F.$slots, _, Nt(an(j)))
|
|
8444
8444
|
])
|
|
8445
8445
|
}))
|
|
@@ -8563,7 +8563,7 @@ const Vx = ({
|
|
|
8563
8563
|
collapse: T.collapse,
|
|
8564
8564
|
stretch: ""
|
|
8565
8565
|
}, {
|
|
8566
|
-
default:
|
|
8566
|
+
default: Se(({ instance: P }) => [
|
|
8567
8567
|
O("div", {
|
|
8568
8568
|
class: "dp-quarter-picker-wrap",
|
|
8569
8569
|
style: Ct({ minHeight: `${M(l).modeHeight}px` })
|
|
@@ -8581,7 +8581,7 @@ const Vx = ({
|
|
|
8581
8581
|
}), ln({ _: 2 }, [
|
|
8582
8582
|
Ae(M(a), (S, A) => ({
|
|
8583
8583
|
name: S,
|
|
8584
|
-
fn:
|
|
8584
|
+
fn: Se((E) => [
|
|
8585
8585
|
ce(T.$slots, S, Nt(an(E)))
|
|
8586
8586
|
])
|
|
8587
8587
|
}))
|
|
@@ -8681,8 +8681,8 @@ const Vx = ({
|
|
|
8681
8681
|
y.value = !0, v(), window.addEventListener("resize", v);
|
|
8682
8682
|
const N = Vt(r);
|
|
8683
8683
|
if (N && !d.value.enabled && !h.value.enabled && (o(!0), B()), N) {
|
|
8684
|
-
const ne = (
|
|
8685
|
-
f.value.allowPreventDefault &&
|
|
8684
|
+
const ne = (xe) => {
|
|
8685
|
+
f.value.allowPreventDefault && xe.preventDefault(), Pi(xe, f.value, !0);
|
|
8686
8686
|
};
|
|
8687
8687
|
N.addEventListener("pointerdown", ne), N.addEventListener("mousedown", ne);
|
|
8688
8688
|
}
|
|
@@ -8733,14 +8733,14 @@ const Vx = ({
|
|
|
8733
8733
|
}, Y = () => {
|
|
8734
8734
|
B(), s("time-picker-close");
|
|
8735
8735
|
}, j = (N) => {
|
|
8736
|
-
var ne,
|
|
8737
|
-
(ne = w.value) == null || ne.toggleTimePicker(!1, !1), (
|
|
8736
|
+
var ne, xe, Ce;
|
|
8737
|
+
(ne = w.value) == null || ne.toggleTimePicker(!1, !1), (xe = w.value) == null || xe.toggleMonthPicker(!1, !1, N), (Ce = w.value) == null || Ce.toggleYearPicker(!1, !1, N);
|
|
8738
8738
|
}, Ie = (N, ne = 0) => {
|
|
8739
|
-
var
|
|
8740
|
-
return N === "month" ? (
|
|
8739
|
+
var xe, Ce, _e;
|
|
8740
|
+
return N === "month" ? (xe = w.value) == null ? void 0 : xe.toggleMonthPicker(!1, !0, ne) : N === "year" ? (Ce = w.value) == null ? void 0 : Ce.toggleYearPicker(!1, !0, ne) : N === "time" ? (_e = w.value) == null ? void 0 : _e.toggleTimePicker(!0, !1) : j(ne);
|
|
8741
8741
|
}, Qe = (N, ...ne) => {
|
|
8742
|
-
var
|
|
8743
|
-
(
|
|
8742
|
+
var xe, Ce;
|
|
8743
|
+
(xe = w.value) != null && xe[N] && ((Ce = w.value) == null || Ce[N](...ne));
|
|
8744
8744
|
}, V = () => {
|
|
8745
8745
|
Qe("selectCurrentDate");
|
|
8746
8746
|
}, q = (N, ne) => {
|
|
@@ -8754,23 +8754,23 @@ const Vx = ({
|
|
|
8754
8754
|
},
|
|
8755
8755
|
switchView: Ie
|
|
8756
8756
|
}), (N, ne) => {
|
|
8757
|
-
var
|
|
8757
|
+
var xe, Ce, _e;
|
|
8758
8758
|
return D(), R("div", {
|
|
8759
8759
|
id: N.uid ? `dp-menu-${N.uid}` : void 0,
|
|
8760
8760
|
ref_key: "dpMenuRef",
|
|
8761
8761
|
ref: r,
|
|
8762
8762
|
tabindex: "0",
|
|
8763
8763
|
role: "dialog",
|
|
8764
|
-
"aria-label": (
|
|
8764
|
+
"aria-label": (xe = N.ariaLabels) == null ? void 0 : xe.menu,
|
|
8765
8765
|
class: de(J.value),
|
|
8766
8766
|
onMouseleave: Te,
|
|
8767
8767
|
onClick: I,
|
|
8768
8768
|
onKeydown: [
|
|
8769
8769
|
ge(F, ["esc"]),
|
|
8770
|
-
ne[18] || (ne[18] = ge(
|
|
8771
|
-
ne[19] || (ne[19] = ge(
|
|
8772
|
-
ne[20] || (ne[20] = ge(
|
|
8773
|
-
ne[21] || (ne[21] = ge(
|
|
8770
|
+
ne[18] || (ne[18] = ge(ke((le) => b("left"), ["prevent"]), ["left"])),
|
|
8771
|
+
ne[19] || (ne[19] = ge(ke((le) => b("up"), ["prevent"]), ["up"])),
|
|
8772
|
+
ne[20] || (ne[20] = ge(ke((le) => b("down"), ["prevent"]), ["down"])),
|
|
8773
|
+
ne[21] || (ne[21] = ge(ke((le) => b("right"), ["prevent"]), ["right"])),
|
|
8774
8774
|
_
|
|
8775
8775
|
]
|
|
8776
8776
|
}, [
|
|
@@ -8811,10 +8811,10 @@ const Vx = ({
|
|
|
8811
8811
|
type: "button",
|
|
8812
8812
|
style: Ct(le.style || {}),
|
|
8813
8813
|
class: de(["dp__btn dp--preset-range", { "dp--preset-range-collapsed": t.collapse }]),
|
|
8814
|
-
onClick:
|
|
8814
|
+
onClick: ke((zt) => q(le.value, le.noTz), ["prevent"]),
|
|
8815
8815
|
onKeydown: [
|
|
8816
|
-
ge(
|
|
8817
|
-
ge(
|
|
8816
|
+
ge(ke((zt) => q(le.value, le.noTz), ["prevent"]), ["enter"]),
|
|
8817
|
+
ge(ke((zt) => q(le.value, le.noTz), ["prevent"]), ["space"])
|
|
8818
8818
|
]
|
|
8819
8819
|
}, ae(le.label), 47, KS))
|
|
8820
8820
|
], 64))), 128))
|
|
@@ -8854,7 +8854,7 @@ const Vx = ({
|
|
|
8854
8854
|
}), ln({ _: 2 }, [
|
|
8855
8855
|
Ae(L.value, (le, sn) => ({
|
|
8856
8856
|
name: le,
|
|
8857
|
-
fn:
|
|
8857
|
+
fn: Se((zt) => [
|
|
8858
8858
|
ce(N.$slots, le, Nt(an({ ...zt })))
|
|
8859
8859
|
])
|
|
8860
8860
|
}))
|
|
@@ -8882,7 +8882,7 @@ const Vx = ({
|
|
|
8882
8882
|
}), ln({ _: 2 }, [
|
|
8883
8883
|
Ae(M(k), (le, sn) => ({
|
|
8884
8884
|
name: le,
|
|
8885
|
-
fn:
|
|
8885
|
+
fn: Se((zt) => [
|
|
8886
8886
|
ce(N.$slots, le, Nt(an({ ...zt })))
|
|
8887
8887
|
])
|
|
8888
8888
|
}))
|
|
@@ -8959,13 +8959,13 @@ const Vx = ({
|
|
|
8959
8959
|
_(i.modelValue), us().then(() => {
|
|
8960
8960
|
if (!A.value.enabled) {
|
|
8961
8961
|
const se = J(f.value);
|
|
8962
|
-
se == null || se.addEventListener("scroll", ne), window == null || window.addEventListener("resize",
|
|
8962
|
+
se == null || se.addEventListener("scroll", ne), window == null || window.addEventListener("resize", xe);
|
|
8963
8963
|
}
|
|
8964
8964
|
}), A.value.enabled && (a.value = !0), window == null || window.addEventListener("keyup", Ce), window == null || window.addEventListener("keydown", _e);
|
|
8965
8965
|
}), ma(() => {
|
|
8966
8966
|
if (!A.value.enabled) {
|
|
8967
8967
|
const se = J(f.value);
|
|
8968
|
-
se == null || se.removeEventListener("scroll", ne), window == null || window.removeEventListener("resize",
|
|
8968
|
+
se == null || se.removeEventListener("scroll", ne), window == null || window.removeEventListener("resize", xe);
|
|
8969
8969
|
}
|
|
8970
8970
|
window == null || window.removeEventListener("keyup", Ce), window == null || window.removeEventListener("keydown", _e);
|
|
8971
8971
|
});
|
|
@@ -9007,7 +9007,7 @@ const Vx = ({
|
|
|
9007
9007
|
disabled: !i.teleport || A.value.enabled
|
|
9008
9008
|
})), Te = U(() => ({ class: "dp__outer_menu_wrap" })), N = U(() => A.value.enabled && (i.timePicker || i.monthPicker || i.yearPicker || i.quarterPicker)), ne = () => {
|
|
9009
9009
|
a.value && (E.value.closeOnScroll ? Nn() : oe());
|
|
9010
|
-
},
|
|
9010
|
+
}, xe = () => {
|
|
9011
9011
|
var se;
|
|
9012
9012
|
a.value && oe();
|
|
9013
9013
|
const Me = (se = c.value) == null ? void 0 : se.$el.getBoundingClientRect().width;
|
|
@@ -9106,18 +9106,18 @@ const Vx = ({
|
|
|
9106
9106
|
}), ln({ _: 2 }, [
|
|
9107
9107
|
Ae(M(C), (De, Fs) => ({
|
|
9108
9108
|
name: De,
|
|
9109
|
-
fn:
|
|
9109
|
+
fn: Se((gs) => [
|
|
9110
9110
|
ce(se.$slots, De, Nt(an(gs)))
|
|
9111
9111
|
])
|
|
9112
9112
|
}))
|
|
9113
9113
|
]), 1040, ["input-value", "is-menu-open", "onSetEmptyDate"]),
|
|
9114
9114
|
(D(), pe($o(se.teleport ? iw : "div"), Nt(an(q.value)), {
|
|
9115
|
-
default:
|
|
9115
|
+
default: Se(() => [
|
|
9116
9116
|
ue(si, {
|
|
9117
9117
|
name: M($)(M(k)),
|
|
9118
9118
|
css: M(B) && !M(A).enabled
|
|
9119
9119
|
}, {
|
|
9120
|
-
default:
|
|
9120
|
+
default: Se(() => [
|
|
9121
9121
|
a.value ? (D(), R("div", Zt({
|
|
9122
9122
|
key: 0,
|
|
9123
9123
|
ref_key: "dpWrapMenuRef",
|
|
@@ -9158,7 +9158,7 @@ const Vx = ({
|
|
|
9158
9158
|
}), ln({ _: 2 }, [
|
|
9159
9159
|
Ae(M(ee), (De, Fs) => ({
|
|
9160
9160
|
name: De,
|
|
9161
|
-
fn:
|
|
9161
|
+
fn: Se((gs) => [
|
|
9162
9162
|
ce(se.$slots, De, Nt(an({ ...gs })))
|
|
9163
9163
|
])
|
|
9164
9164
|
}))
|
|
@@ -11479,7 +11479,7 @@ const n5 = {
|
|
|
11479
11479
|
(a = e.action) != null && a.label ? (o = e.action) == null || o.callback() : (u = (l = n.value) == null ? void 0 : l.parentElement) == null || u.remove();
|
|
11480
11480
|
}, i = U(() => e.type === "success" ? "check-circle-fill" : "circle-close"), r = U(() => e.type === "success" ? "-success" : e.type === "info" ? "-info" : "-error");
|
|
11481
11481
|
return (a, o) => (D(), pe(si, null, {
|
|
11482
|
-
default:
|
|
11482
|
+
default: Se(() => {
|
|
11483
11483
|
var l;
|
|
11484
11484
|
return [
|
|
11485
11485
|
O("div", {
|
|
@@ -11610,10 +11610,10 @@ const n5 = {
|
|
|
11610
11610
|
t.label ? (D(), R("div", zM, ae(t.label), 1)) : H("", !0),
|
|
11611
11611
|
O("div", {
|
|
11612
11612
|
class: de(["scope-dropzone", { "-over": r.value, "-full-width": t.fullWidth }]),
|
|
11613
|
-
onDragover: f[0] || (f[0] =
|
|
11613
|
+
onDragover: f[0] || (f[0] = ke((p) => r.value = !0, ["prevent"])),
|
|
11614
11614
|
onDragend: f[1] || (f[1] = (p) => r.value = !1),
|
|
11615
11615
|
onDragleave: f[2] || (f[2] = (p) => r.value = !1),
|
|
11616
|
-
onDrop:
|
|
11616
|
+
onDrop: ke(l, ["prevent"])
|
|
11617
11617
|
}, [
|
|
11618
11618
|
O("div", HM, [
|
|
11619
11619
|
ue(M(Ke), { icon: "file-bend" }),
|
|
@@ -11698,7 +11698,7 @@ const n5 = {
|
|
|
11698
11698
|
"sidebar-popup-container__icon-wrapper",
|
|
11699
11699
|
{ "-is-active": i.value }
|
|
11700
11700
|
]),
|
|
11701
|
-
onClick:
|
|
11701
|
+
onClick: ke(c, ["stop"]),
|
|
11702
11702
|
name: "popup-icon-wrapper"
|
|
11703
11703
|
}, [
|
|
11704
11704
|
ue(Ke, { icon: "pop-up_opener" })
|
|
@@ -19476,7 +19476,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19476
19476
|
O("div", uA, [
|
|
19477
19477
|
cA,
|
|
19478
19478
|
ue(M(cs), { alternative: "" }, {
|
|
19479
|
-
default:
|
|
19479
|
+
default: Se(() => [
|
|
19480
19480
|
He("Reflects your deposit growth over the previous date. One of the most reliable indicator of profit for a trader. ")
|
|
19481
19481
|
]),
|
|
19482
19482
|
_: 1
|
|
@@ -19527,7 +19527,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19527
19527
|
O("div", pA, [
|
|
19528
19528
|
gA,
|
|
19529
19529
|
ue(M(cs), { alternative: "" }, {
|
|
19530
|
-
default:
|
|
19530
|
+
default: Se(() => [
|
|
19531
19531
|
He("Reflects your deposit size in US Dollars and BTC equivalent and growth over the previous date. One of the most reliable indicator of profit for a trader.")
|
|
19532
19532
|
]),
|
|
19533
19533
|
_: 1
|
|
@@ -19575,7 +19575,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19575
19575
|
O("div", SA, [
|
|
19576
19576
|
TA,
|
|
19577
19577
|
ue(M(cs), { alternative: "" }, {
|
|
19578
|
-
default:
|
|
19578
|
+
default: Se(() => [
|
|
19579
19579
|
He(" This widget allows you to set a personal profit goal expressed in $ for a certain period "),
|
|
19580
19580
|
MA,
|
|
19581
19581
|
He(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19636,7 +19636,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19636
19636
|
O("div", $A, [
|
|
19637
19637
|
IA,
|
|
19638
19638
|
ue(M(cs), { alternative: "" }, {
|
|
19639
|
-
default:
|
|
19639
|
+
default: Se(() => [
|
|
19640
19640
|
He("Displays profitable days on green, losing days in red and trading days without significant profit or loss in blue. Also when you click on a specific date, more detailed information about trading day is displayed. "),
|
|
19641
19641
|
NA,
|
|
19642
19642
|
He("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19719,7 +19719,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19719
19719
|
O("div", sE, [
|
|
19720
19720
|
iE,
|
|
19721
19721
|
ue(M(cs), { alternative: "" }, {
|
|
19722
|
-
default:
|
|
19722
|
+
default: Se(() => [
|
|
19723
19723
|
He("The amount of total commissions and fees for the selected previous period including the current date. This widget also shows commission to profit ratio in $/% and average amount of fees per trade."),
|
|
19724
19724
|
rE,
|
|
19725
19725
|
He("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19766,7 +19766,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19766
19766
|
O("div", _E, [
|
|
19767
19767
|
vE,
|
|
19768
19768
|
ue(M(cs), { alternative: "" }, {
|
|
19769
|
-
default:
|
|
19769
|
+
default: Se(() => [
|
|
19770
19770
|
He("The amount of profit for the selected previous period including the current date. This widget shows the growth or loss of the deposit in %. The widget is available as a line graph."),
|
|
19771
19771
|
bE,
|
|
19772
19772
|
He(" Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19818,7 +19818,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19818
19818
|
O("div", TE, [
|
|
19819
19819
|
ME,
|
|
19820
19820
|
ue(M(cs), { alternative: "" }, {
|
|
19821
|
-
default:
|
|
19821
|
+
default: Se(() => [
|
|
19822
19822
|
He("The amount of profit in $ and % for the selected previous period including the current date. This widget also shows the amount of profit and loss separately."),
|
|
19823
19823
|
DE,
|
|
19824
19824
|
He("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19892,7 +19892,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19892
19892
|
O("div", VE, [
|
|
19893
19893
|
WE,
|
|
19894
19894
|
ue(M(cs), { alternative: "" }, {
|
|
19895
|
-
default:
|
|
19895
|
+
default: Se(() => [
|
|
19896
19896
|
He("Displays 3 most profitable trades of the selected period. You can also see the trading pair and trade profit to balance ratio. "),
|
|
19897
19897
|
BE,
|
|
19898
19898
|
He("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -19945,7 +19945,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19945
19945
|
O("div", eR, [
|
|
19946
19946
|
tR,
|
|
19947
19947
|
ue(M(cs), { alternative: "" }, {
|
|
19948
|
-
default:
|
|
19948
|
+
default: Se(() => [
|
|
19949
19949
|
He("This widget displays number of total winning & trades. Also it indicates the average number of trades for selected period. ")
|
|
19950
19950
|
]),
|
|
19951
19951
|
_: 1
|
|
@@ -19991,7 +19991,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
19991
19991
|
O("div", mR, [
|
|
19992
19992
|
pR,
|
|
19993
19993
|
ue(M(cs), { alternative: "" }, {
|
|
19994
|
-
default:
|
|
19994
|
+
default: Se(() => [
|
|
19995
19995
|
He("This widget displays the percentage of successful trades and the average RR. "),
|
|
19996
19996
|
gR,
|
|
19997
19997
|
He("Pay attention: in the widget, we calculate Net PNL excluding entry and exit commissions, as well as funding ")
|
|
@@ -20011,7 +20011,7 @@ const A_ = /* @__PURE__ */ iA("line", Rl), rA = { class: "chart-container" }, E_
|
|
|
20011
20011
|
O("div", kR, [
|
|
20012
20012
|
xR,
|
|
20013
20013
|
ue(M(cs), { alternative: "" }, {
|
|
20014
|
-
default:
|
|
20014
|
+
default: Se(() => [
|
|
20015
20015
|
He("The risk/reward ratio - marks the prospective reward a trader can earn for every dollar they risk on a trade. ")
|
|
20016
20016
|
]),
|
|
20017
20017
|
_: 1
|
|
@@ -22832,7 +22832,7 @@ const HL = { class: "calendar-dropdown" }, UL = { class: "calendar-dropdown__out
|
|
|
22832
22832
|
return (h, f) => (D(), R("div", HL, [
|
|
22833
22833
|
O("div", {
|
|
22834
22834
|
class: de(["calendar-dropdown__outer", { "-active": o.value }]),
|
|
22835
|
-
onClick: l
|
|
22835
|
+
onClick: ke(l, ["prevent", "stop"])
|
|
22836
22836
|
}, [
|
|
22837
22837
|
O("div", UL, [
|
|
22838
22838
|
ue(M(Ke), { icon: "calendar" }),
|
|
@@ -22877,7 +22877,7 @@ const HL = { class: "calendar-dropdown" }, UL = { class: "calendar-dropdown__out
|
|
|
22877
22877
|
]) : H("", !0)
|
|
22878
22878
|
]));
|
|
22879
22879
|
}
|
|
22880
|
-
}, eF = /* @__PURE__ */ Ue(JL, [["__scopeId", "data-v-
|
|
22880
|
+
}, eF = /* @__PURE__ */ Ue(JL, [["__scopeId", "data-v-4a9eb9ec"]]), tF = { class: "period-dropdown" }, nF = { class: "period-dropdown__outer__left" }, sF = { class: "period-dropdown__outer__current" }, iF = {
|
|
22881
22881
|
key: 0,
|
|
22882
22882
|
class: "period-dropdown__inner"
|
|
22883
22883
|
}, rF = ["onClick"], aF = {
|
|
@@ -22921,7 +22921,7 @@ const HL = { class: "calendar-dropdown" }, UL = { class: "calendar-dropdown__out
|
|
|
22921
22921
|
return (l, u) => (D(), R("div", tF, [
|
|
22922
22922
|
O("div", {
|
|
22923
22923
|
class: de(["period-dropdown__outer", { "-active": r.value }]),
|
|
22924
|
-
onClick: a
|
|
22924
|
+
onClick: ke(a, ["prevent", "stop"])
|
|
22925
22925
|
}, [
|
|
22926
22926
|
O("div", nF, [
|
|
22927
22927
|
ue(M(Ke), { icon: "clock" }),
|
|
@@ -22953,7 +22953,7 @@ const HL = { class: "calendar-dropdown" }, UL = { class: "calendar-dropdown__out
|
|
|
22953
22953
|
]) : H("", !0)
|
|
22954
22954
|
]));
|
|
22955
22955
|
}
|
|
22956
|
-
}, va = /* @__PURE__ */ Ue(aF, [["__scopeId", "data-v-
|
|
22956
|
+
}, va = /* @__PURE__ */ Ue(aF, [["__scopeId", "data-v-9fb265ca"]]), oF = { class: "progress-line-container" }, lF = { class: "progress-line" }, uF = { class: "progress-line__part" }, cF = { class: "progress-digits" }, dF = { class: "progress-digits__value" }, hF = { class: "progress-digits__value" }, fF = { class: "progress-digits__value" }, mF = {
|
|
22957
22957
|
__name: "ProgressLine",
|
|
22958
22958
|
props: {
|
|
22959
22959
|
drawdown: Number,
|