@nubisco/ui 1.8.2 → 1.9.0
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/components/Shell.vue.d.ts +8 -6
- package/dist/components/Shell.vue.d.ts.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +60 -56
- package/dist/index.mjs.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +4 -2
package/dist/index.mjs
CHANGED
|
@@ -17091,10 +17091,13 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17091
17091
|
}, null, -1)]])) : c("", !0)])) : c("", !0), u("span", BKt, j(t.label), 1)], 42, LKt))), 128)), !e.options || e.options.length === 0 ? (T(), l("div", VKt, " No options ")) : c("", !0)], 12, IKt)) : c("", !0)]))], 64);
|
|
17092
17092
|
};
|
|
17093
17093
|
}
|
|
17094
|
-
}), HKt = { class: "nb-shell" }, UKt = { class: "nb-shell__sidebar" }, WKt = { class: "nb-shell__sidebar-logo" }, GKt = { class: "nb-shell__sidebar-nav" }, KKt = { class: "nb-shell__sidebar-bottom" }, qKt = { class: "nb-shell__body" }, JKt = {
|
|
17094
|
+
}), HKt = { class: "nb-shell" }, UKt = { class: "nb-shell__sidebar" }, WKt = { class: "nb-shell__sidebar-logo" }, GKt = { class: "nb-shell__sidebar-nav" }, KKt = { class: "nb-shell__sidebar-bottom" }, qKt = { class: "nb-shell__body" }, JKt = {
|
|
17095
17095
|
key: 0,
|
|
17096
|
+
class: "nb-shell__notification"
|
|
17097
|
+
}, YKt = { class: "nb-shell__topbar" }, XKt = { class: "nb-shell__topbar-left" }, ZKt = { class: "nb-shell__topbar-right" }, QKt = {
|
|
17098
|
+
key: 1,
|
|
17096
17099
|
class: "nb-shell__fixedbar"
|
|
17097
|
-
},
|
|
17100
|
+
}, $Kt = { class: "nb-shell__main" }, R9 = /* @__PURE__ */ B(/* @__PURE__ */ m({
|
|
17098
17101
|
__name: "Shell",
|
|
17099
17102
|
props: {
|
|
17100
17103
|
inspectorVisible: {
|
|
@@ -17123,9 +17126,10 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17123
17126
|
u("div", KKt, [O(t.$slots, "sidebar-bottom", {}, void 0, !0)])
|
|
17124
17127
|
]),
|
|
17125
17128
|
u("div", qKt, [
|
|
17126
|
-
|
|
17127
|
-
|
|
17128
|
-
|
|
17129
|
+
t.$slots.notification ? (T(), l("div", JKt, [O(t.$slots, "notification", {}, void 0, !0)])) : c("", !0),
|
|
17130
|
+
u("div", YKt, [u("div", XKt, [O(t.$slots, "topbar-left", {}, void 0, !0)]), u("div", ZKt, [O(t.$slots, "topbar-right", {}, void 0, !0)])]),
|
|
17131
|
+
s.value ? (T(), l("div", QKt, [O(t.$slots, "fixedbar", {}, void 0, !0)])) : c("", !0),
|
|
17132
|
+
u("main", $Kt, [O(t.$slots, "default", {}, void 0, !0)])
|
|
17129
17133
|
]),
|
|
17130
17134
|
u("aside", { class: b(["nb-shell__inspector", {
|
|
17131
17135
|
"nb-shell__inspector--visible": e.inspectorVisible,
|
|
@@ -17133,7 +17137,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17133
17137
|
}]) }, [O(t.$slots, "inspector", {}, void 0, !0)], 2)
|
|
17134
17138
|
]));
|
|
17135
17139
|
}
|
|
17136
|
-
}), [["__scopeId", "data-v-
|
|
17140
|
+
}), [["__scopeId", "data-v-33837448"]]), z9 = /* @__PURE__ */ B(/* @__PURE__ */ m({
|
|
17137
17141
|
__name: "SidebarLink",
|
|
17138
17142
|
props: {
|
|
17139
17143
|
to: { default: void 0 },
|
|
@@ -17176,10 +17180,10 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17176
17180
|
"data-tooltip"
|
|
17177
17181
|
]));
|
|
17178
17182
|
}
|
|
17179
|
-
}), [["__scopeId", "data-v-eee9f206"]]),
|
|
17183
|
+
}), [["__scopeId", "data-v-eee9f206"]]), eqt = { class: "nb-slider__field-box" }, tqt = {
|
|
17180
17184
|
key: 0,
|
|
17181
17185
|
class: "nb-slider__inner-header"
|
|
17182
|
-
},
|
|
17186
|
+
}, nqt = { class: "nb-slider__inner-label" }, rqt = { class: "nb-slider__track-labels" }, iqt = { class: "nb-slider__track-label" }, aqt = { class: "nb-slider__track-label" }, B9 = /* @__PURE__ */ B(/* @__PURE__ */ m({
|
|
17183
17187
|
__name: "Slider",
|
|
17184
17188
|
props: {
|
|
17185
17189
|
modelValue: {},
|
|
@@ -17340,7 +17344,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17340
17344
|
default: L(() => [d(j(e.label), 1)]),
|
|
17341
17345
|
_: 1
|
|
17342
17346
|
})) : c("", !0),
|
|
17343
|
-
u("div",
|
|
17347
|
+
u("div", eqt, [e.variant === "fluid" && e.label ? (T(), l("div", tqt, [u("label", nqt, j(e.label), 1)])) : c("", !0), f(p, {
|
|
17344
17348
|
dir: "row",
|
|
17345
17349
|
align: "center",
|
|
17346
17350
|
gap: "sm",
|
|
@@ -17402,7 +17406,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17402
17406
|
style: x({ left: `${_(m.value)}%` }),
|
|
17403
17407
|
onMousedown: r[0] ||= z((e) => se(null, e), ["stop"]),
|
|
17404
17408
|
onTouchstartPassive: r[1] ||= z((e) => ce(null, e), ["stop"])
|
|
17405
|
-
}, null, 36))], 544), u("div",
|
|
17409
|
+
}, null, 36))], 544), u("div", rqt, [u("span", iqt, j(e.min), 1), u("span", aqt, j(e.max), 1)])]),
|
|
17406
17410
|
_: 1
|
|
17407
17411
|
}, 8, ["class"]),
|
|
17408
17412
|
e.showInput ? (T(), s(o, {
|
|
@@ -17456,14 +17460,14 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17456
17460
|
return e.Small = "sm", e.Medium = "md", e.Large = "lg", e;
|
|
17457
17461
|
}(V9 || {}), H9 = /* @__PURE__ */ function(e) {
|
|
17458
17462
|
return e.Primary = "primary", e.Secondary = "secondary", e;
|
|
17459
|
-
}(H9 || {}),
|
|
17463
|
+
}(H9 || {}), oqt = {
|
|
17460
17464
|
key: 0,
|
|
17461
17465
|
class: "nb-switch-label"
|
|
17462
|
-
},
|
|
17466
|
+
}, sqt = ["for"], cqt = [
|
|
17463
17467
|
"id",
|
|
17464
17468
|
"name",
|
|
17465
17469
|
"disabled"
|
|
17466
|
-
],
|
|
17470
|
+
], lqt = /* @__PURE__ */ B(/* @__PURE__ */ m({
|
|
17467
17471
|
__name: "Switch",
|
|
17468
17472
|
props: /* @__PURE__ */ _({
|
|
17469
17473
|
id: {
|
|
@@ -17513,7 +17517,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17513
17517
|
align: "center",
|
|
17514
17518
|
gap: "sm"
|
|
17515
17519
|
}, {
|
|
17516
|
-
default: L(() => [e.label ? (T(), l("span",
|
|
17520
|
+
default: L(() => [e.label ? (T(), l("span", oqt, j(e.label), 1)) : c("", !0), u("label", v({
|
|
17517
17521
|
for: `${M(r)}-input`,
|
|
17518
17522
|
class: d.value
|
|
17519
17523
|
}, i.value, { onClick: o[1] ||= z(() => {}, ["stop"]) }), [ae(u("input", {
|
|
@@ -17522,15 +17526,15 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17522
17526
|
name: e.name,
|
|
17523
17527
|
type: "checkbox",
|
|
17524
17528
|
disabled: e.disabled
|
|
17525
|
-
}, null, 8,
|
|
17529
|
+
}, null, 8, cqt), [[F, t.value]]), o[2] ||= u("div", { class: "slider round" }, null, -1)], 16, sqt)]),
|
|
17526
17530
|
_: 1
|
|
17527
17531
|
}, 8, ["id", "class"]);
|
|
17528
17532
|
};
|
|
17529
17533
|
}
|
|
17530
|
-
}), [["__scopeId", "data-v-20099917"]]),
|
|
17534
|
+
}), [["__scopeId", "data-v-20099917"]]), uqt = {
|
|
17531
17535
|
key: 0,
|
|
17532
17536
|
class: "nb-text-input__overlay-wrap"
|
|
17533
|
-
},
|
|
17537
|
+
}, dqt = ["innerHTML"], fqt = [
|
|
17534
17538
|
"id",
|
|
17535
17539
|
"value",
|
|
17536
17540
|
"placeholder",
|
|
@@ -17538,7 +17542,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17538
17542
|
"readonly",
|
|
17539
17543
|
"name",
|
|
17540
17544
|
"maxlength"
|
|
17541
|
-
],
|
|
17545
|
+
], pqt = [
|
|
17542
17546
|
"id",
|
|
17543
17547
|
"value",
|
|
17544
17548
|
"placeholder",
|
|
@@ -17546,7 +17550,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17546
17550
|
"readonly",
|
|
17547
17551
|
"name",
|
|
17548
17552
|
"maxlength"
|
|
17549
|
-
],
|
|
17553
|
+
], mqt = [
|
|
17550
17554
|
"id",
|
|
17551
17555
|
"placeholder",
|
|
17552
17556
|
"disabled",
|
|
@@ -17554,7 +17558,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17554
17558
|
"name",
|
|
17555
17559
|
"maxlength",
|
|
17556
17560
|
"rows"
|
|
17557
|
-
],
|
|
17561
|
+
], hqt = [
|
|
17558
17562
|
"id",
|
|
17559
17563
|
"type",
|
|
17560
17564
|
"placeholder",
|
|
@@ -17566,17 +17570,17 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17566
17570
|
"max",
|
|
17567
17571
|
"step",
|
|
17568
17572
|
"maxlength"
|
|
17569
|
-
],
|
|
17573
|
+
], gqt = {
|
|
17570
17574
|
key: 2,
|
|
17571
17575
|
class: "nb-text-input__actions"
|
|
17572
|
-
},
|
|
17576
|
+
}, _qt = {
|
|
17573
17577
|
key: 0,
|
|
17574
17578
|
class: "nb-text-input__inner-header"
|
|
17575
|
-
},
|
|
17579
|
+
}, vqt = ["for"], yqt = {
|
|
17576
17580
|
key: 0,
|
|
17577
17581
|
class: "nb-text-input__asterisk",
|
|
17578
17582
|
"aria-hidden": "true"
|
|
17579
|
-
},
|
|
17583
|
+
}, bqt = [
|
|
17580
17584
|
"id",
|
|
17581
17585
|
"type",
|
|
17582
17586
|
"placeholder",
|
|
@@ -17685,13 +17689,13 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17685
17689
|
])) : c("", !0),
|
|
17686
17690
|
u("div", { class: b(["nb-text-input__field-wrapper", D.value]) }, [
|
|
17687
17691
|
O(t.$slots, "leading", {}, void 0, !0),
|
|
17688
|
-
g.value ? (T(), l("div",
|
|
17692
|
+
g.value ? (T(), l("div", uqt, [u("div", {
|
|
17689
17693
|
ref_key: "mirrorRef",
|
|
17690
17694
|
ref: f,
|
|
17691
17695
|
class: "nb-text-input__mirror",
|
|
17692
17696
|
"aria-hidden": "true",
|
|
17693
17697
|
innerHTML: _.value
|
|
17694
|
-
}, null, 8,
|
|
17698
|
+
}, null, 8, dqt), e.multiline ? (T(), l("textarea", v({
|
|
17695
17699
|
key: 0,
|
|
17696
17700
|
id: h.value,
|
|
17697
17701
|
ref_key: "nativeRef",
|
|
@@ -17711,7 +17715,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17711
17715
|
onFocus: r[1] ||= (e) => p.value = !0,
|
|
17712
17716
|
onBlur: r[2] ||= (e) => p.value = !1,
|
|
17713
17717
|
onScroll: x
|
|
17714
|
-
}), null, 16,
|
|
17718
|
+
}), null, 16, fqt)) : (T(), l("input", v({
|
|
17715
17719
|
key: 1,
|
|
17716
17720
|
id: h.value,
|
|
17717
17721
|
ref_key: "nativeRef",
|
|
@@ -17729,7 +17733,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17729
17733
|
onInput: r[3] ||= (e) => i.value = e.target.value,
|
|
17730
17734
|
onFocus: r[4] ||= (e) => p.value = !0,
|
|
17731
17735
|
onBlur: r[5] ||= (e) => p.value = !1
|
|
17732
|
-
}), null, 16,
|
|
17736
|
+
}), null, 16, pqt))])) : (T(), l(n, { key: 1 }, [e.multiline ? ae((T(), l("textarea", v({
|
|
17733
17737
|
key: 0,
|
|
17734
17738
|
id: h.value,
|
|
17735
17739
|
ref_key: "nativeRef",
|
|
@@ -17745,7 +17749,7 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17745
17749
|
rows: e.rows,
|
|
17746
17750
|
onFocus: r[7] ||= (e) => p.value = !0,
|
|
17747
17751
|
onBlur: r[8] ||= (e) => p.value = !1
|
|
17748
|
-
}), null, 16,
|
|
17752
|
+
}), null, 16, mqt)), [[ne, i.value]]) : ae((T(), l("input", v({
|
|
17749
17753
|
key: 1,
|
|
17750
17754
|
id: h.value,
|
|
17751
17755
|
ref_key: "nativeRef",
|
|
@@ -17765,9 +17769,9 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17765
17769
|
maxlength: e.maxlength,
|
|
17766
17770
|
onFocus: r[10] ||= (e) => p.value = !0,
|
|
17767
17771
|
onBlur: r[11] ||= (e) => p.value = !1
|
|
17768
|
-
}), null, 16,
|
|
17772
|
+
}), null, 16, hqt)), [[I, i.value]])], 64)),
|
|
17769
17773
|
O(t.$slots, "trailing", {}, void 0, !0),
|
|
17770
|
-
t.$slots.actions ? (T(), l("div",
|
|
17774
|
+
t.$slots.actions ? (T(), l("div", gqt, [O(t.$slots, "actions", {}, void 0, !0)])) : c("", !0)
|
|
17771
17775
|
], 2),
|
|
17772
17776
|
w.value ? (T(), s(j9, {
|
|
17773
17777
|
key: 2,
|
|
@@ -17781,11 +17785,11 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17781
17785
|
], 64)) : e.variant === "fluid" ? (T(), l("div", {
|
|
17782
17786
|
key: 1,
|
|
17783
17787
|
class: b(["nb-text-input__field-wrapper", D.value])
|
|
17784
|
-
}, [e.label || t.$slots.label ? (T(), l("div",
|
|
17788
|
+
}, [e.label || t.$slots.label ? (T(), l("div", _qt, [t.$slots.label ? O(t.$slots, "label", { key: 0 }, void 0, !0) : (T(), l("label", {
|
|
17785
17789
|
key: 1,
|
|
17786
17790
|
for: h.value,
|
|
17787
17791
|
class: b(["nb-text-input__inner-label", { "nb-text-input__inner-label--required": e.required }])
|
|
17788
|
-
}, [d(j(e.label) + " ", 1), e.required ? (T(), l("span",
|
|
17792
|
+
}, [d(j(e.label) + " ", 1), e.required ? (T(), l("span", yqt, "*")) : c("", !0)], 10, vqt)), w.value ? (T(), s(j9, {
|
|
17789
17793
|
key: 2,
|
|
17790
17794
|
variant: S.value,
|
|
17791
17795
|
"icon-only": "",
|
|
@@ -17812,15 +17816,15 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17812
17816
|
maxlength: e.maxlength,
|
|
17813
17817
|
onFocus: r[13] ||= (e) => p.value = !0,
|
|
17814
17818
|
onBlur: r[14] ||= (e) => p.value = !1
|
|
17815
|
-
}), null, 16,
|
|
17819
|
+
}), null, 16, bqt), [[I, i.value]])], 2)) : c("", !0)]),
|
|
17816
17820
|
_: 3
|
|
17817
17821
|
}, 8, ["class"]);
|
|
17818
17822
|
};
|
|
17819
17823
|
}
|
|
17820
|
-
}), [["__scopeId", "data-v-47052634"]]),
|
|
17824
|
+
}), [["__scopeId", "data-v-47052634"]]), xqt = ["aria-live"], Sqt = { class: "nb-toast__icon" }, Cqt = { class: "nb-toast__body" }, wqt = {
|
|
17821
17825
|
key: 0,
|
|
17822
17826
|
class: "nb-toast__title"
|
|
17823
|
-
},
|
|
17827
|
+
}, Tqt = { class: "nb-toast__message" }, W9 = /* @__PURE__ */ B(/* @__PURE__ */ m({
|
|
17824
17828
|
__name: "Toast",
|
|
17825
17829
|
props: {
|
|
17826
17830
|
variant: { default: "info" },
|
|
@@ -17857,13 +17861,13 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17857
17861
|
onMouseenter: m,
|
|
17858
17862
|
onMouseleave: h
|
|
17859
17863
|
}, [
|
|
17860
|
-
u("div",
|
|
17864
|
+
u("div", Sqt, [f(m5, {
|
|
17861
17865
|
name: a[e.variant],
|
|
17862
17866
|
size: 16
|
|
17863
17867
|
}, null, 8, ["name"])]),
|
|
17864
|
-
u("div",
|
|
17865
|
-
e.title ? (T(), l("p",
|
|
17866
|
-
u("p",
|
|
17868
|
+
u("div", Cqt, [
|
|
17869
|
+
e.title ? (T(), l("p", wqt, j(e.title), 1)) : c("", !0),
|
|
17870
|
+
u("p", Tqt, j(e.message), 1),
|
|
17867
17871
|
e.cta ? (T(), l("button", {
|
|
17868
17872
|
key: 1,
|
|
17869
17873
|
class: "nb-toast__cta",
|
|
@@ -17889,9 +17893,9 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17889
17893
|
animationPlayState: i.value ? "paused" : "running"
|
|
17890
17894
|
})
|
|
17891
17895
|
}, null, 4)) : c("", !0)
|
|
17892
|
-
], 42,
|
|
17896
|
+
], 42, xqt));
|
|
17893
17897
|
}
|
|
17894
|
-
}), [["__scopeId", "data-v-12959c2e"]]),
|
|
17898
|
+
}), [["__scopeId", "data-v-12959c2e"]]), Eqt = {
|
|
17895
17899
|
NbAiLabel: fe,
|
|
17896
17900
|
NbBadge: ge,
|
|
17897
17901
|
NbBreadcrumbs: xe,
|
|
@@ -17915,11 +17919,11 @@ var w9 = /* @__PURE__ */ function(e) {
|
|
|
17915
17919
|
NbShell: R9,
|
|
17916
17920
|
NbSidebarLink: z9,
|
|
17917
17921
|
NbSlider: B9,
|
|
17918
|
-
NbSwitch:
|
|
17922
|
+
NbSwitch: lqt,
|
|
17919
17923
|
NbTextInput: U9,
|
|
17920
17924
|
NbToast: W9
|
|
17921
|
-
},
|
|
17922
|
-
Object.entries(
|
|
17925
|
+
}, Dqt = { install(e) {
|
|
17926
|
+
Object.entries(Eqt).forEach(([t, n]) => {
|
|
17923
17927
|
e.component(t, n);
|
|
17924
17928
|
});
|
|
17925
17929
|
} };
|
|
@@ -17932,7 +17936,7 @@ function G9(e) {
|
|
|
17932
17936
|
}
|
|
17933
17937
|
//#endregion
|
|
17934
17938
|
//#region src/directives/ToolTip.directive.ts
|
|
17935
|
-
var
|
|
17939
|
+
var Oqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Set(), q9 = (e) => {
|
|
17936
17940
|
if (Array.isArray(e)) return e.map((e) => q9(e)).join("");
|
|
17937
17941
|
if (!e || typeof e != "object" || !e.component) return "";
|
|
17938
17942
|
let { component: t, props: n = {}, children: r, content: i } = e, a = r === void 0 ? i : r, o = Object.entries(n).map(([e, t]) => `${e}="${G9(String(t))}"`).join(" "), s = Array.isArray(a) ? q9(a) : a === void 0 ? "" : G9(String(a));
|
|
@@ -17945,7 +17949,7 @@ var Dqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Se
|
|
|
17945
17949
|
mounted(e, t) {
|
|
17946
17950
|
let n;
|
|
17947
17951
|
e.__showTooltip__ = () => {
|
|
17948
|
-
clearTimeout(n), e.__tooltipBinding__ &&
|
|
17952
|
+
clearTimeout(n), e.__tooltipBinding__ && kqt(e, e.__tooltipBinding__);
|
|
17949
17953
|
}, e.__hideTooltip__ = (t = 150) => {
|
|
17950
17954
|
n = setTimeout(() => {
|
|
17951
17955
|
Z9(e, t <= 0);
|
|
@@ -17955,7 +17959,7 @@ var Dqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Se
|
|
|
17955
17959
|
}, e.__tooltipBinding__ = t.value, e.__showHandler__ = () => e.__showTooltip__?.(), e.__hideHandler__ = () => e.__hideTooltip__?.(), e.addEventListener("mouseenter", e.__showHandler__), e.addEventListener("mouseleave", e.__hideHandler__), e.addEventListener("mousemove", e.__mouseMove__), window.addEventListener("scroll", e.__hideHandler__);
|
|
17956
17960
|
},
|
|
17957
17961
|
updated(e, t) {
|
|
17958
|
-
e.__tooltipBinding__ = t.value, t.value ? e.tooltipElement &&
|
|
17962
|
+
e.__tooltipBinding__ = t.value, t.value ? e.tooltipElement && Aqt(e, t.value) : Z9(e, !0);
|
|
17959
17963
|
},
|
|
17960
17964
|
unmounted(e) {
|
|
17961
17965
|
Z9(e, !0), e.__showHandler__ && e.removeEventListener("mouseenter", e.__showHandler__), e.__hideHandler__ && e.removeEventListener("mouseleave", e.__hideHandler__), e.__hideHandler__ && window.removeEventListener("scroll", e.__hideHandler__);
|
|
@@ -17967,7 +17971,7 @@ var Dqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Se
|
|
|
17967
17971
|
<div class="nb-tooltip-body">${J9(t)}</div>
|
|
17968
17972
|
<div class="nb-tooltip-tip">${J9(n)}</div>
|
|
17969
17973
|
</div>
|
|
17970
|
-
`,
|
|
17974
|
+
`, kqt = (e, { header: t, body: n, tip: r, flavor: i = "default", delay: a = 400, animationTime: o = 300, position: s, overflowOnly: c, classExtra: l }) => {
|
|
17971
17975
|
let u = e.tooltipElement;
|
|
17972
17976
|
if (u && u.remove(), c) {
|
|
17973
17977
|
let t = e.getBoundingClientRect();
|
|
@@ -17986,7 +17990,7 @@ var Dqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Se
|
|
|
17986
17990
|
clearTimeout(e.__showTimer__), n && (t ? n.remove() : (n.style.animation = "tooltipDisappear 200ms ease-in-out forwards", setTimeout(() => {
|
|
17987
17991
|
n.remove();
|
|
17988
17992
|
}, 200)), K9.delete(e));
|
|
17989
|
-
},
|
|
17993
|
+
}, Aqt = (e, { header: t, body: n, tip: r, position: i }) => {
|
|
17990
17994
|
let a = e.tooltipElement;
|
|
17991
17995
|
a && (a.innerHTML = X9({
|
|
17992
17996
|
header: t,
|
|
@@ -18013,19 +18017,19 @@ var Dqt = /* @__PURE__ */ se({ default: () => Y9 }), K9 = /* @__PURE__ */ new Se
|
|
|
18013
18017
|
break;
|
|
18014
18018
|
}
|
|
18015
18019
|
t && (t.style.top = `${l}px`, t.style.left = `${u}px`);
|
|
18016
|
-
},
|
|
18017
|
-
Object.values(
|
|
18020
|
+
}, jqt = /* @__PURE__ */ Object.assign({ "./ToolTip.directive.ts": Oqt }), Mqt = { install(e) {
|
|
18021
|
+
Object.values(jqt).forEach((t) => {
|
|
18018
18022
|
typeof t.default == "function" && t.default(e);
|
|
18019
18023
|
});
|
|
18020
|
-
} }, $9 = /* @__PURE__ */ Object.assign({}),
|
|
18024
|
+
} }, $9 = /* @__PURE__ */ Object.assign({}), Nqt = { install(e) {
|
|
18021
18025
|
Object.keys($9).forEach((t) => {
|
|
18022
18026
|
let n = `Nb${t.replace(/(.+\/)(\w+)(\.vue)$/, "$2")}`, r = $9[t];
|
|
18023
18027
|
e.component(n, r.default);
|
|
18024
18028
|
});
|
|
18025
|
-
} },
|
|
18026
|
-
e.use(
|
|
18029
|
+
} }, Pqt = { install(e) {
|
|
18030
|
+
e.use(Dqt), e.use(Mqt);
|
|
18027
18031
|
} };
|
|
18028
18032
|
//#endregion
|
|
18029
|
-
export { ge as NbBadge, xe as NbBreadcrumbs, h5 as NbButton, g5 as NbCheckbox, _5 as NbColorStrip, b5 as NbFlag, x5 as NbGrid, m5 as NbIcon, D9 as NbJsonTree, k9 as NbLabel, j9 as NbMessage, M9 as NbModal, N9 as NbNumberInput, P9 as NbPanel, I9 as NbRadio, L9 as NbSelect, R9 as NbShell, z9 as NbSidebarLink, B9 as NbSlider, U9 as NbTextInput, W9 as NbToast,
|
|
18033
|
+
export { ge as NbBadge, xe as NbBreadcrumbs, h5 as NbButton, g5 as NbCheckbox, _5 as NbColorStrip, b5 as NbFlag, x5 as NbGrid, m5 as NbIcon, D9 as NbJsonTree, k9 as NbLabel, j9 as NbMessage, M9 as NbModal, N9 as NbNumberInput, P9 as NbPanel, I9 as NbRadio, L9 as NbSelect, R9 as NbShell, z9 as NbSidebarLink, B9 as NbSlider, U9 as NbTextInput, W9 as NbToast, Nqt as NubiscoUILabs, Pqt as default, Y9 as nbTooltipDirective };
|
|
18030
18034
|
|
|
18031
18035
|
//# sourceMappingURL=index.mjs.map
|