scope360-core 0.0.239 → 0.0.241
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
CHANGED
|
@@ -21102,7 +21102,7 @@ const ev = /* @__PURE__ */ OR("line", Ll), PR = { class: "chart-container" }, tv
|
|
|
21102
21102
|
options: r.value
|
|
21103
21103
|
}, null, 8, ["data", "options"]));
|
|
21104
21104
|
}
|
|
21105
|
-
}, CR = (t) => (xn("data-v-
|
|
21105
|
+
}, CR = (t) => (xn("data-v-96946db8"), t = t(), Sn(), t), AR = { class: "account-balance-widget" }, RR = { class: "account-balance-widget__top" }, ER = { class: "account-balance-widget__title-wrapper" }, $R = /* @__PURE__ */ CR(() => /* @__PURE__ */ A("div", { class: "account-balance-widget__title" }, "Account Balance", -1)), IR = {
|
|
21106
21106
|
__name: "AccountBalanceWidget",
|
|
21107
21107
|
props: {
|
|
21108
21108
|
balanceChartData: { type: Array, default: [] },
|
|
@@ -21110,11 +21110,18 @@ const ev = /* @__PURE__ */ OR("line", Ll), PR = { class: "chart-container" }, tv
|
|
|
21110
21110
|
isMask: { type: Boolean, default: !1 }
|
|
21111
21111
|
},
|
|
21112
21112
|
setup(t) {
|
|
21113
|
-
const e = K("week")
|
|
21114
|
-
|
|
21115
|
-
|
|
21116
|
-
|
|
21117
|
-
|
|
21113
|
+
const e = K("week");
|
|
21114
|
+
U({
|
|
21115
|
+
get(s) {
|
|
21116
|
+
console.log(s, "value");
|
|
21117
|
+
const i = s * Qf();
|
|
21118
|
+
return i >= 1e3 || i <= -1e3 ? Be(n.isMask, on(i / 1e3, 2) + "k", { repeat: 3 }) : on(i, 2);
|
|
21119
|
+
},
|
|
21120
|
+
set() {
|
|
21121
|
+
}
|
|
21122
|
+
});
|
|
21123
|
+
const n = t;
|
|
21124
|
+
return (s, i) => (D(), E("div", AR, [
|
|
21118
21125
|
A("div", RR, [
|
|
21119
21126
|
A("div", ER, [
|
|
21120
21127
|
$R,
|
|
@@ -21128,19 +21135,19 @@ const ev = /* @__PURE__ */ OR("line", Ll), PR = { class: "chart-container" }, tv
|
|
|
21128
21135
|
t.isShare ? z("", !0) : (D(), me(k(wa), {
|
|
21129
21136
|
key: 0,
|
|
21130
21137
|
modelValue: e.value,
|
|
21131
|
-
"onUpdate:modelValue":
|
|
21132
|
-
onOnChange:
|
|
21138
|
+
"onUpdate:modelValue": i[0] || (i[0] = (r) => e.value = r),
|
|
21139
|
+
onOnChange: i[1] || (i[1] = (r) => s.$emit("onChange", e.value))
|
|
21133
21140
|
}, null, 8, ["modelValue"]))
|
|
21134
21141
|
]),
|
|
21135
21142
|
ce(k(tv), {
|
|
21136
21143
|
data: t.balanceChartData,
|
|
21137
21144
|
"data-type": "balanceChartData",
|
|
21138
|
-
"ticks-callback":
|
|
21145
|
+
"ticks-callback": s.ticksCallback,
|
|
21139
21146
|
isMask: t.isMask
|
|
21140
21147
|
}, null, 8, ["data", "ticks-callback", "isMask"])
|
|
21141
21148
|
]));
|
|
21142
21149
|
}
|
|
21143
|
-
}, l5 = /* @__PURE__ */ Ue(IR, [["__scopeId", "data-v-
|
|
21150
|
+
}, l5 = /* @__PURE__ */ Ue(IR, [["__scopeId", "data-v-96946db8"]]), nv = (t) => (xn("data-v-313ab42e"), t = t(), Sn(), t), NR = { class: "balance-widget" }, LR = { class: "balance-part" }, FR = { class: "balance-part__top" }, YR = { class: "balance-part__title-wrapper" }, VR = /* @__PURE__ */ nv(() => /* @__PURE__ */ A("div", { class: "balance-part__title" }, "Balance", -1)), BR = { class: "balance-part__content" }, WR = { class: "balance-part__content__wrapper" }, zR = { class: "balance-part__content__count" }, HR = { class: "balance-part__content__bitcoin" }, UR = {
|
|
21144
21151
|
key: 0,
|
|
21145
21152
|
class: "devider"
|
|
21146
21153
|
}, jR = {
|
|
@@ -30124,7 +30131,7 @@ function T5(t, e) {
|
|
|
30124
30131
|
}
|
|
30125
30132
|
function D5(t, e) {
|
|
30126
30133
|
const n = +new Date(e) - +new Date(t), s = Math.floor(n / (1e3 * 60 * 60 * 24));
|
|
30127
|
-
return s === 0 ? "
|
|
30134
|
+
return s === 0 ? "blue-1" : s > 7 ? "blue-3" : "blue-2";
|
|
30128
30135
|
}
|
|
30129
30136
|
function FV(t) {
|
|
30130
30137
|
const e = /^(.*?)(BTC|ETH|USDT|USD|USDC)$/, n = t.match(e);
|