@finmars/ui 1.0.72 → 1.0.73
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/finmars-ui.css +1 -1
- package/dist/finmars-ui.es.js +74 -62
- package/package.json +1 -1
package/dist/finmars-ui.es.js
CHANGED
|
@@ -12695,7 +12695,7 @@ function va(e) {
|
|
|
12695
12695
|
r += t.charAt(n[a] % 62);
|
|
12696
12696
|
return r.slice(0, e);
|
|
12697
12697
|
}
|
|
12698
|
-
function
|
|
12698
|
+
function FR(e, t) {
|
|
12699
12699
|
let n = e.toString().split("e");
|
|
12700
12700
|
return n = Math.round(+(n[0] + "e" + (n[1] ? +n[1] - t : -t))), n = n.toString().split("e"), +(n[0] + "e" + (n[1] ? +n[1] - +t : t));
|
|
12701
12701
|
}
|
|
@@ -28420,10 +28420,10 @@ var rg = { exports: {} };
|
|
|
28420
28420
|
});
|
|
28421
28421
|
})(rg);
|
|
28422
28422
|
var lR = rg.exports;
|
|
28423
|
-
const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h-20 h-20 py-3 px-[22px] gap-x-4 border-b-[1px] border-[var(--outline-variant)] border-solid" }, dR = { class: "
|
|
28423
|
+
const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h-20 h-20 py-3 px-[22px] gap-x-4 border-b-[1px] border-[var(--outline-variant)] border-solid" }, dR = { class: "notifications" }, fR = { class: "notifications__content" }, vR = { class: "fm-message__header" }, mR = { class: "fm-message__section" }, hR = { class: "fm-message__date" }, pR = { class: "fm-message__title" }, gR = { class: "fm-message__text" }, yR = { class: "relative pt-2 flex justify-center items-center" }, bR = {
|
|
28424
28424
|
key: 1,
|
|
28425
|
-
class: "
|
|
28426
|
-
},
|
|
28425
|
+
class: "no-messages"
|
|
28426
|
+
}, wR = ["href"], SR = ["href"], xR = { class: "text-h5" }, CR = ["href"], _R = {
|
|
28427
28427
|
__name: "Header",
|
|
28428
28428
|
props: {
|
|
28429
28429
|
notifications: {
|
|
@@ -28498,36 +28498,48 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
28498
28498
|
w(Nt, {
|
|
28499
28499
|
modelValue: r.notifications,
|
|
28500
28500
|
"onUpdate:modelValue": o[0] || (o[0] = (l) => r.notifications = l),
|
|
28501
|
-
activator: "parent"
|
|
28501
|
+
activator: "parent",
|
|
28502
|
+
"max-height": "320"
|
|
28502
28503
|
}, {
|
|
28503
28504
|
default: ne(() => {
|
|
28504
|
-
var l;
|
|
28505
|
+
var l, c;
|
|
28505
28506
|
return [
|
|
28506
28507
|
X("div", dR, [
|
|
28507
|
-
(
|
|
28508
|
-
|
|
28509
|
-
|
|
28510
|
-
|
|
28511
|
-
|
|
28512
|
-
|
|
28513
|
-
|
|
28514
|
-
|
|
28515
|
-
|
|
28516
|
-
|
|
28517
|
-
|
|
28518
|
-
|
|
28519
|
-
|
|
28520
|
-
|
|
28521
|
-
|
|
28522
|
-
|
|
28523
|
-
|
|
28524
|
-
|
|
28525
|
-
|
|
28526
|
-
])),
|
|
28527
|
-
|
|
28528
|
-
|
|
28508
|
+
X("div", {
|
|
28509
|
+
class: $e([
|
|
28510
|
+
"notifications__body",
|
|
28511
|
+
"scroll-variant-thin",
|
|
28512
|
+
{ "notifications__body--empty": !((l = e.notifications) != null && l.length) }
|
|
28513
|
+
])
|
|
28514
|
+
}, [
|
|
28515
|
+
X("div", fR, [
|
|
28516
|
+
(c = e.notifications) != null && c.length ? (j(), J(fe, { key: 0 }, [
|
|
28517
|
+
(j(!0), J(fe, null, qe(e.notifications, (s, f) => (j(), J("div", {
|
|
28518
|
+
class: "fm-message",
|
|
28519
|
+
key: f
|
|
28520
|
+
}, [
|
|
28521
|
+
X("div", vR, [
|
|
28522
|
+
X("div", mR, ce(a[s.section]), 1),
|
|
28523
|
+
X("div", hR, ce(i(s.created)), 1)
|
|
28524
|
+
]),
|
|
28525
|
+
X("div", pR, ce(s.title), 1),
|
|
28526
|
+
X("div", gR, ce(s.description), 1)
|
|
28527
|
+
]))), 128)),
|
|
28528
|
+
X("div", yR, [
|
|
28529
|
+
w(ze, {
|
|
28530
|
+
href: "/home",
|
|
28531
|
+
type: "secondary",
|
|
28532
|
+
disabled: ""
|
|
28533
|
+
}, {
|
|
28534
|
+
default: ne(() => o[8] || (o[8] = [
|
|
28535
|
+
De("Show ALL")
|
|
28536
|
+
])),
|
|
28537
|
+
_: 1
|
|
28538
|
+
})
|
|
28539
|
+
])
|
|
28540
|
+
], 64)) : (j(), J("div", bR, "No new messages"))
|
|
28529
28541
|
])
|
|
28530
|
-
],
|
|
28542
|
+
], 2)
|
|
28531
28543
|
])
|
|
28532
28544
|
];
|
|
28533
28545
|
}),
|
|
@@ -28553,13 +28565,13 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
28553
28565
|
itemSize: "large",
|
|
28554
28566
|
title: "Documentation"
|
|
28555
28567
|
})
|
|
28556
|
-
], 8,
|
|
28568
|
+
], 8, wR),
|
|
28557
28569
|
X("a", { href: e.apiReferenceUrl }, [
|
|
28558
28570
|
w(nn, {
|
|
28559
28571
|
itemSize: "large",
|
|
28560
28572
|
title: "API Reference"
|
|
28561
28573
|
})
|
|
28562
|
-
], 8,
|
|
28574
|
+
], 8, SR)
|
|
28563
28575
|
]),
|
|
28564
28576
|
_: 1
|
|
28565
28577
|
}, 8, ["modelValue"])
|
|
@@ -28598,7 +28610,7 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
28598
28610
|
default: ne(() => [
|
|
28599
28611
|
w(Mm, { image: e.avatar }, {
|
|
28600
28612
|
default: ne(() => [
|
|
28601
|
-
X("span",
|
|
28613
|
+
X("span", xR, ce(e.letters), 1)
|
|
28602
28614
|
]),
|
|
28603
28615
|
_: 1
|
|
28604
28616
|
}, 8, ["image"]),
|
|
@@ -28661,7 +28673,7 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
28661
28673
|
onClick: o[6] || (o[6] = (l) => n("security")),
|
|
28662
28674
|
title: "Log Out"
|
|
28663
28675
|
})
|
|
28664
|
-
], 8,
|
|
28676
|
+
], 8, CR)
|
|
28665
28677
|
]),
|
|
28666
28678
|
_: 1
|
|
28667
28679
|
}, 8, ["modelValue"])
|
|
@@ -28670,7 +28682,7 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
28670
28682
|
})
|
|
28671
28683
|
]));
|
|
28672
28684
|
}
|
|
28673
|
-
},
|
|
28685
|
+
}, kR = /* @__PURE__ */ Ie(_R, [["__scopeId", "data-v-4d63b5c9"]]), rU = [
|
|
28674
28686
|
{
|
|
28675
28687
|
key: "dashboard",
|
|
28676
28688
|
label: "Dashboard",
|
|
@@ -29373,18 +29385,18 @@ const sR = /* @__PURE__ */ dt(lR), cR = { class: "flex w-full items-center max-h
|
|
|
29373
29385
|
]
|
|
29374
29386
|
}
|
|
29375
29387
|
];
|
|
29376
|
-
var
|
|
29377
|
-
function
|
|
29378
|
-
return
|
|
29388
|
+
var AR = ro;
|
|
29389
|
+
function $R(e, t) {
|
|
29390
|
+
return AR(t, function(n) {
|
|
29379
29391
|
return e[n];
|
|
29380
29392
|
});
|
|
29381
29393
|
}
|
|
29382
|
-
var
|
|
29383
|
-
function
|
|
29384
|
-
return e == null ? [] :
|
|
29394
|
+
var IR = $R, TR = IR, ER = to;
|
|
29395
|
+
function OR(e) {
|
|
29396
|
+
return e == null ? [] : TR(e, ER(e));
|
|
29385
29397
|
}
|
|
29386
|
-
var
|
|
29387
|
-
const
|
|
29398
|
+
var PR = OR;
|
|
29399
|
+
const MR = /* @__PURE__ */ dt(PR), BR = Symbol(), aU = {
|
|
29388
29400
|
install: (e) => {
|
|
29389
29401
|
let t = {};
|
|
29390
29402
|
const n = (i) => {
|
|
@@ -29425,19 +29437,19 @@ const OR = /* @__PURE__ */ dt(ER), PR = Symbol(), nU = {
|
|
|
29425
29437
|
u.destroy && u.destroy();
|
|
29426
29438
|
}, a = () => {
|
|
29427
29439
|
if (!Qe(t)) {
|
|
29428
|
-
for (const i of
|
|
29440
|
+
for (const i of MR(t))
|
|
29429
29441
|
i.destroy && i.destroy();
|
|
29430
29442
|
t = {};
|
|
29431
29443
|
}
|
|
29432
29444
|
};
|
|
29433
|
-
e.config.globalProperties.$openDialog = n, e.config.globalProperties.$closeDialog = r, e.config.globalProperties.$closeDialogs = a, e.provide(
|
|
29445
|
+
e.config.globalProperties.$openDialog = n, e.config.globalProperties.$closeDialog = r, e.config.globalProperties.$closeDialogs = a, e.provide(BR, { $openDialog: n, $closeDialog: r, $closeDialogs: a });
|
|
29434
29446
|
}
|
|
29435
29447
|
};
|
|
29436
|
-
function
|
|
29448
|
+
function iU(e) {
|
|
29437
29449
|
const { app: t = {} } = e, { config: n = {} } = t, { globalProperties: r = {} } = n, { $openDialog: a, $closeDialog: i, $closeDialogs: u } = r;
|
|
29438
29450
|
return { $openDialog: a, $closeDialog: i, $closeDialogs: u };
|
|
29439
29451
|
}
|
|
29440
|
-
function
|
|
29452
|
+
function LR(e) {
|
|
29441
29453
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
|
|
29442
29454
|
var r = e.get(t);
|
|
29443
29455
|
r ? r.push(n) : e.set(t, [n]);
|
|
@@ -29453,7 +29465,7 @@ function MR(e) {
|
|
|
29453
29465
|
});
|
|
29454
29466
|
} };
|
|
29455
29467
|
}
|
|
29456
|
-
const
|
|
29468
|
+
const VR = Symbol(), bn = LR(), q0 = {
|
|
29457
29469
|
on: bn.on.bind(bn),
|
|
29458
29470
|
once: (e, t) => {
|
|
29459
29471
|
function n() {
|
|
@@ -29464,28 +29476,28 @@ const BR = Symbol(), bn = MR(), q0 = {
|
|
|
29464
29476
|
off: bn.off.bind(bn),
|
|
29465
29477
|
emit: bn.emit.bind(bn),
|
|
29466
29478
|
clear: bn.all.clear.bind(bn)
|
|
29467
|
-
},
|
|
29479
|
+
}, uU = {
|
|
29468
29480
|
install: (e) => {
|
|
29469
|
-
e.config.globalProperties.$emitter = q0, e.provide(
|
|
29481
|
+
e.config.globalProperties.$emitter = q0, e.provide(VR, { $emitter: q0 });
|
|
29470
29482
|
}
|
|
29471
29483
|
};
|
|
29472
|
-
function
|
|
29484
|
+
function oU(e) {
|
|
29473
29485
|
const { app: t = {} } = e, { config: n = {} } = t, { globalProperties: r = {} } = n, { $emitter: a } = r;
|
|
29474
29486
|
return { $emitter: a };
|
|
29475
29487
|
}
|
|
29476
|
-
const
|
|
29488
|
+
const lU = {
|
|
29477
29489
|
// @ts-ignore
|
|
29478
29490
|
install(e, t = {}) {
|
|
29479
29491
|
let n = "";
|
|
29480
29492
|
t.componentNamePrefix && typeof t.componentNamePrefix == "string" ? n = t.componentNamePrefix : t.componentNamePrefix === void 0 && (n = "Fm");
|
|
29481
29493
|
const r = gg();
|
|
29482
|
-
e.use(r), e.component(`${n}NavigationPortal`, PM), e.component(`${n}Navigation`, Yc), e.component(`${n}Header`,
|
|
29494
|
+
e.use(r), e.component(`${n}NavigationPortal`, PM), e.component(`${n}Navigation`, Yc), e.component(`${n}Header`, kR), e.component(`${n}Avatar`, Mm), e.component(`${n}Badge`, f3), e.component(`${n}Button`, ze), e.component(`${n}Checkbox`, Un), e.component(`${n}Chip`, Ha), e.component(`${n}DateEditor`, hh), e.component(`${n}DatePicker`, mh), e.component(`${n}Dialog`, ng), e.component(`${n}Icon`, ct), e.component(`${n}IconButton`, Et), e.component(`${n}ItemPicker`, Wc), e.component(`${n}Logo`, M1), e.component(`${n}MenuItem`, nn), e.component(`${n}Menu`, Nt), e.component(`${n}FmPagination`, jM), e.component(`${n}ProgressCircular`, dc), e.component(`${n}ProgressLinear`, ki), e.component(`${n}Radio`, HM), e.component(`${n}RadioGroup`, WM), e.component(`${n}RangeSlider`, XM), e.component(`${n}Search`, ZM), e.component(`${n}Select`, ta), e.component(`${n}SelectActivator`, L1), e.component(`${n}Slider`, lB), e.component(`${n}TextField`, on), e.component(`${n}Tooltip`, Ks), e.component(`${n}VSelect`, eB), e.component(`${n}Tabs`, cB), e.component(`${n}FileUpload`, UB), e.component(`${n}TransferList`, aL), e.component(`${n}InputDate`, br), e.component(`${n}FilterEditor`, Y1), e.component(`${n}FilterToolbar`, XF), e.component(`${n}Switch`, JF), e.component(`${n}Breadcrumbs`, rR), e.directive("FmHtml", E1), e.directive("Ripple", Jt), e.directive("ClickOutside", vv), e.directive("Mutate", pv), e.directive("Resize", gv), e.directive("Intersect", Is), e.directive("Scroll", cy), e.directive("Tooltip", Ky);
|
|
29483
29495
|
}
|
|
29484
29496
|
};
|
|
29485
29497
|
export {
|
|
29486
29498
|
vv as ClickOutside,
|
|
29487
|
-
|
|
29488
|
-
|
|
29499
|
+
BR as FM_DIALOGS_KEY,
|
|
29500
|
+
VR as FM_VUEBUS_KEY,
|
|
29489
29501
|
Mm as FmAvatar,
|
|
29490
29502
|
f3 as FmBadge,
|
|
29491
29503
|
rR as FmBreadcrumbs,
|
|
@@ -29499,7 +29511,7 @@ export {
|
|
|
29499
29511
|
UB as FmFileUpload,
|
|
29500
29512
|
Y1 as FmFilterEditor,
|
|
29501
29513
|
XF as FmFilterToolbar,
|
|
29502
|
-
|
|
29514
|
+
kR as FmHeader,
|
|
29503
29515
|
E1 as FmHtml,
|
|
29504
29516
|
ct as FmIcon,
|
|
29505
29517
|
Et as FmIconButton,
|
|
@@ -29530,17 +29542,17 @@ export {
|
|
|
29530
29542
|
eB as FmVSelect,
|
|
29531
29543
|
Is as Intersect,
|
|
29532
29544
|
pv as Mutate,
|
|
29533
|
-
|
|
29545
|
+
rU as NavigationRoutes,
|
|
29534
29546
|
gv as Resize,
|
|
29535
29547
|
Jt as Ripple,
|
|
29536
29548
|
cy as Scroll,
|
|
29537
29549
|
Ky as Tooltip,
|
|
29538
|
-
|
|
29550
|
+
aU as dialogs,
|
|
29539
29551
|
$k as formatFileSize,
|
|
29540
29552
|
va as getRandomString,
|
|
29541
|
-
|
|
29542
|
-
|
|
29543
|
-
|
|
29544
|
-
|
|
29545
|
-
|
|
29553
|
+
FR as round,
|
|
29554
|
+
iU as storeDialogs,
|
|
29555
|
+
oU as storeVueBus,
|
|
29556
|
+
lU as uiComponentsPlugin,
|
|
29557
|
+
uU as vueBus
|
|
29546
29558
|
};
|