@rocketui/vue 0.2.2-2.alpha.1 → 0.2.2-3.alpha.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/rocket-ui-vue.d.ts +2 -2
- package/dist/rocket-ui-vue.js +521 -521
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as R, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as Z1, Fragment as i1, renderList as o1, normalizeClass as O, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as p, mergeProps as j1, createBlock as E, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as N, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as e1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
|
|
2
2
|
const k2 = {
|
|
3
3
|
mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
|
|
4
4
|
mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
|
|
@@ -7296,7 +7296,7 @@ const k2 = {
|
|
|
7296
7296
|
mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
|
|
7297
7297
|
mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
|
|
7298
7298
|
mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
|
|
7299
|
-
}, B2 = ["height", "viewBox", "width"], b2 = ["d"],
|
|
7299
|
+
}, B2 = ["height", "viewBox", "width"], b2 = ["d"], D = /* @__PURE__ */ R({
|
|
7300
7300
|
__name: "RIcon",
|
|
7301
7301
|
props: {
|
|
7302
7302
|
name: { default: "" },
|
|
@@ -7316,7 +7316,7 @@ const k2 = {
|
|
|
7316
7316
|
}, null, 8, b2)
|
|
7317
7317
|
], 8, B2));
|
|
7318
7318
|
}
|
|
7319
|
-
}), w2 = ["data-state"], y2 = ["onClick"], P2 = { class: "r-accordion__title" }, v2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, M0 = /* @__PURE__ */
|
|
7319
|
+
}), w2 = ["data-state"], y2 = ["onClick"], P2 = { class: "r-accordion__title" }, v2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, M0 = /* @__PURE__ */ R({
|
|
7320
7320
|
__name: "RAccordion",
|
|
7321
7321
|
props: {
|
|
7322
7322
|
accordions: {}
|
|
@@ -7337,25 +7337,25 @@ const k2 = {
|
|
|
7337
7337
|
}
|
|
7338
7338
|
return (A, L) => (m(!0), Z(i1, null, o1(C, (i, e) => (m(), Z("div", {
|
|
7339
7339
|
key: e,
|
|
7340
|
-
class:
|
|
7340
|
+
class: O(["r-accordion", {
|
|
7341
7341
|
"r-accordion--disabled": i.disabled
|
|
7342
7342
|
}]),
|
|
7343
7343
|
"data-state": i.open ? "opened" : "closed"
|
|
7344
7344
|
}, [
|
|
7345
7345
|
S("div", {
|
|
7346
7346
|
class: "r-accordion__header",
|
|
7347
|
-
onClick: (
|
|
7347
|
+
onClick: (t) => M(e)
|
|
7348
7348
|
}, [
|
|
7349
7349
|
f(A.$slots, "title", {}, () => [
|
|
7350
|
-
S("div", P2,
|
|
7350
|
+
S("div", P2, w(i.title), 1)
|
|
7351
7351
|
]),
|
|
7352
7352
|
S("div", v2, [
|
|
7353
|
-
K(
|
|
7353
|
+
K(D, { name: "mdiChevronUp" })
|
|
7354
7354
|
])
|
|
7355
7355
|
], 8, y2),
|
|
7356
7356
|
S("div", T2, [
|
|
7357
7357
|
f(A.$slots, "content", {}, () => [
|
|
7358
|
-
S("span", null,
|
|
7358
|
+
S("span", null, w(i.content), 1)
|
|
7359
7359
|
])
|
|
7360
7360
|
])
|
|
7361
7361
|
], 10, w2))), 128));
|
|
@@ -7366,7 +7366,7 @@ const k2 = {
|
|
|
7366
7366
|
}, _2 = {
|
|
7367
7367
|
key: 0,
|
|
7368
7368
|
class: "r-alert__close"
|
|
7369
|
-
}, A0 = /* @__PURE__ */
|
|
7369
|
+
}, A0 = /* @__PURE__ */ R({
|
|
7370
7370
|
__name: "RAlert",
|
|
7371
7371
|
props: {
|
|
7372
7372
|
type: { default: "info" },
|
|
@@ -7392,12 +7392,12 @@ const k2 = {
|
|
|
7392
7392
|
function i() {
|
|
7393
7393
|
M("close");
|
|
7394
7394
|
}
|
|
7395
|
-
return (e,
|
|
7396
|
-
class:
|
|
7395
|
+
return (e, t) => (m(), Z("div", {
|
|
7396
|
+
class: O(A.value)
|
|
7397
7397
|
}, [
|
|
7398
7398
|
S("div", F2, [
|
|
7399
7399
|
f(e.$slots, "alert-icon", {}, () => [
|
|
7400
|
-
K(
|
|
7400
|
+
K(D, {
|
|
7401
7401
|
name: L.value,
|
|
7402
7402
|
size: 24
|
|
7403
7403
|
}, null, 8, ["name"])
|
|
@@ -7405,13 +7405,13 @@ const k2 = {
|
|
|
7405
7405
|
]),
|
|
7406
7406
|
S("div", R2, [
|
|
7407
7407
|
f(e.$slots, "content", {}, () => [
|
|
7408
|
-
S("p", x2,
|
|
7409
|
-
C.description ? (m(), Z("p", D2,
|
|
7408
|
+
S("p", x2, w(C.title), 1),
|
|
7409
|
+
C.description ? (m(), Z("p", D2, w(C.description), 1)) : p("", !0)
|
|
7410
7410
|
])
|
|
7411
7411
|
]),
|
|
7412
7412
|
C.closable ? (m(), Z("div", _2, [
|
|
7413
7413
|
f(e.$slots, "custom-close", {}, () => [
|
|
7414
|
-
K(
|
|
7414
|
+
K(D, {
|
|
7415
7415
|
class: "r-alert__close__button",
|
|
7416
7416
|
name: "mdiClose",
|
|
7417
7417
|
size: 16,
|
|
@@ -7421,7 +7421,7 @@ const k2 = {
|
|
|
7421
7421
|
])) : p("", !0)
|
|
7422
7422
|
], 2));
|
|
7423
7423
|
}
|
|
7424
|
-
}), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], i0 = /* @__PURE__ */
|
|
7424
|
+
}), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], i0 = /* @__PURE__ */ R({
|
|
7425
7425
|
__name: "RAvatar",
|
|
7426
7426
|
props: {
|
|
7427
7427
|
type: { default: "image" },
|
|
@@ -7442,15 +7442,15 @@ const k2 = {
|
|
|
7442
7442
|
}
|
|
7443
7443
|
return (i, e) => (m(), Z("div", E2, [
|
|
7444
7444
|
S("div", {
|
|
7445
|
-
class:
|
|
7445
|
+
class: O(C.value)
|
|
7446
7446
|
}, [
|
|
7447
7447
|
V.type === "text" ? (m(), Z("p", {
|
|
7448
7448
|
key: 0,
|
|
7449
|
-
class:
|
|
7450
|
-
},
|
|
7449
|
+
class: O(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
|
|
7450
|
+
}, w(L(V.text)), 3)) : (m(), Z("img", {
|
|
7451
7451
|
key: 1,
|
|
7452
7452
|
alt: V.alt,
|
|
7453
|
-
class:
|
|
7453
|
+
class: O(["r-avatar__image", {
|
|
7454
7454
|
[`r-avatar__image--${V.size}`]: !0,
|
|
7455
7455
|
"r-avatar__image--anonymous": M.value
|
|
7456
7456
|
}]),
|
|
@@ -7459,13 +7459,13 @@ const k2 = {
|
|
|
7459
7459
|
], 2),
|
|
7460
7460
|
V.online ? (m(), Z("span", {
|
|
7461
7461
|
key: 0,
|
|
7462
|
-
class:
|
|
7462
|
+
class: O(["r-avatar__online", {
|
|
7463
7463
|
[`r-avatar__online--${V.size}`]: !0
|
|
7464
7464
|
}])
|
|
7465
7465
|
}, null, 2)) : p("", !0)
|
|
7466
7466
|
]));
|
|
7467
7467
|
}
|
|
7468
|
-
}), N2 = ["innerHTML"], e0 = /* @__PURE__ */
|
|
7468
|
+
}), N2 = ["innerHTML"], e0 = /* @__PURE__ */ R({
|
|
7469
7469
|
__name: "RBadge",
|
|
7470
7470
|
props: {
|
|
7471
7471
|
variant: { default: "primary" },
|
|
@@ -7492,19 +7492,19 @@ const k2 = {
|
|
|
7492
7492
|
[V.class]: V.class
|
|
7493
7493
|
}));
|
|
7494
7494
|
return (M, A) => (m(), Z("div", {
|
|
7495
|
-
class:
|
|
7495
|
+
class: O(["r-badge-wrapper group", [V.wrapperClass]])
|
|
7496
7496
|
}, [
|
|
7497
7497
|
S("span", {
|
|
7498
|
-
class:
|
|
7498
|
+
class: O([{ "animate-ping-2": V.animation }, C.value])
|
|
7499
7499
|
}, null, 2),
|
|
7500
7500
|
S("span", {
|
|
7501
|
-
class:
|
|
7501
|
+
class: O(C.value),
|
|
7502
7502
|
innerHTML: V.content
|
|
7503
7503
|
}, null, 10, N2),
|
|
7504
7504
|
f(M.$slots, "default")
|
|
7505
7505
|
], 2));
|
|
7506
7506
|
}
|
|
7507
|
-
}), I2 = ["disabled"], d0 = /* @__PURE__ */
|
|
7507
|
+
}), I2 = ["disabled"], d0 = /* @__PURE__ */ R({
|
|
7508
7508
|
__name: "RButton",
|
|
7509
7509
|
props: {
|
|
7510
7510
|
variant: { default: "default" },
|
|
@@ -7542,9 +7542,9 @@ const k2 = {
|
|
|
7542
7542
|
onClick: i[0] || (i[0] = (e) => L.$emit("click"))
|
|
7543
7543
|
}), [
|
|
7544
7544
|
f(L.$slots, "prepend", {}, () => [
|
|
7545
|
-
V.prependIcon ? (m(),
|
|
7545
|
+
V.prependIcon ? (m(), E(D, {
|
|
7546
7546
|
key: 0,
|
|
7547
|
-
class:
|
|
7547
|
+
class: O(["r-button__prepend-icon", {
|
|
7548
7548
|
"r-button__prepend-icon--only": V.icon
|
|
7549
7549
|
}]),
|
|
7550
7550
|
name: V.prependIcon,
|
|
@@ -7553,7 +7553,7 @@ const k2 = {
|
|
|
7553
7553
|
]),
|
|
7554
7554
|
f(L.$slots, "default"),
|
|
7555
7555
|
f(L.$slots, "append", {}, () => [
|
|
7556
|
-
!V.icon && V.appendIcon ? (m(),
|
|
7556
|
+
!V.icon && V.appendIcon ? (m(), E(D, {
|
|
7557
7557
|
key: 0,
|
|
7558
7558
|
class: "r-button__append-icon",
|
|
7559
7559
|
name: V.appendIcon,
|
|
@@ -7571,7 +7571,7 @@ const k2 = {
|
|
|
7571
7571
|
}, X2 = {
|
|
7572
7572
|
key: 1,
|
|
7573
7573
|
class: "r-checkbox-texts__hint"
|
|
7574
|
-
}, t0 = /* @__PURE__ */
|
|
7574
|
+
}, t0 = /* @__PURE__ */ R({
|
|
7575
7575
|
__name: "RCheckbox",
|
|
7576
7576
|
props: {
|
|
7577
7577
|
id: { default: "" },
|
|
@@ -7599,30 +7599,30 @@ const k2 = {
|
|
|
7599
7599
|
"r-checkbox--indeterminate": A.indeterminate,
|
|
7600
7600
|
"r-checkbox--error": !!C.errorMsg
|
|
7601
7601
|
}));
|
|
7602
|
-
function d
|
|
7603
|
-
C.disabled || (A.checked =
|
|
7602
|
+
function t(d) {
|
|
7603
|
+
C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
|
|
7604
7604
|
}
|
|
7605
|
-
return
|
|
7605
|
+
return $(
|
|
7606
7606
|
() => C.indeterminate,
|
|
7607
|
-
(
|
|
7608
|
-
A.indeterminate =
|
|
7607
|
+
(d) => {
|
|
7608
|
+
A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
|
|
7609
7609
|
},
|
|
7610
7610
|
{
|
|
7611
7611
|
// need immediate to set the state on first render for storybook
|
|
7612
7612
|
// TODO: find a better way to do this
|
|
7613
7613
|
immediate: !0
|
|
7614
7614
|
}
|
|
7615
|
-
),
|
|
7615
|
+
), $(
|
|
7616
7616
|
() => C.modelValue,
|
|
7617
|
-
(
|
|
7618
|
-
A.checked =
|
|
7617
|
+
(d) => {
|
|
7618
|
+
A.checked = d;
|
|
7619
7619
|
},
|
|
7620
7620
|
{
|
|
7621
7621
|
// need immediate to set the state on first render for storybook
|
|
7622
7622
|
// TODO: find a better way to do this
|
|
7623
7623
|
immediate: !0
|
|
7624
7624
|
}
|
|
7625
|
-
), (
|
|
7625
|
+
), (d, l) => (m(), Z("div", Q2, [
|
|
7626
7626
|
S("div", G2, [
|
|
7627
7627
|
S("input", {
|
|
7628
7628
|
id: C.id,
|
|
@@ -7631,13 +7631,13 @@ const k2 = {
|
|
|
7631
7631
|
disabled: C.disabled,
|
|
7632
7632
|
indeterminate: A.indeterminate,
|
|
7633
7633
|
type: "checkbox",
|
|
7634
|
-
onChange:
|
|
7634
|
+
onChange: t
|
|
7635
7635
|
}, null, 40, $2),
|
|
7636
7636
|
S("div", {
|
|
7637
|
-
class:
|
|
7637
|
+
class: O(e.value),
|
|
7638
7638
|
"data-disabled": C.disabled
|
|
7639
7639
|
}, [
|
|
7640
|
-
K(
|
|
7640
|
+
K(D, {
|
|
7641
7641
|
name: i.value,
|
|
7642
7642
|
size: 24
|
|
7643
7643
|
}, null, 8, ["name"])
|
|
@@ -7648,14 +7648,14 @@ const k2 = {
|
|
|
7648
7648
|
class: "r-checkbox-texts__label",
|
|
7649
7649
|
"data-disabled": C.disabled,
|
|
7650
7650
|
for: C.id
|
|
7651
|
-
},
|
|
7651
|
+
}, w(C.label), 9, K2),
|
|
7652
7652
|
C.hideDetails ? p("", !0) : (m(), Z("div", q2, [
|
|
7653
|
-
C.errorMsg ? (m(), Z("p", j2,
|
|
7653
|
+
C.errorMsg ? (m(), Z("p", j2, w(C.errorMsg), 1)) : (m(), Z("p", X2, w(C.hint), 1))
|
|
7654
7654
|
]))
|
|
7655
7655
|
])
|
|
7656
7656
|
]));
|
|
7657
7657
|
}
|
|
7658
|
-
}), Y2 = /* @__PURE__ */
|
|
7658
|
+
}), Y2 = /* @__PURE__ */ R({
|
|
7659
7659
|
__name: "RChip",
|
|
7660
7660
|
props: {
|
|
7661
7661
|
variant: { default: "primary" },
|
|
@@ -7676,22 +7676,22 @@ const k2 = {
|
|
|
7676
7676
|
[`r-chip__${C.variant}--ghost`]: C.ghost,
|
|
7677
7677
|
"r-chip--clearable": C.clearable
|
|
7678
7678
|
}));
|
|
7679
|
-
function L(
|
|
7680
|
-
C.clearable &&
|
|
7679
|
+
function L(t) {
|
|
7680
|
+
C.clearable && t.stopPropagation(), !C.disabled && M("click:chip", t);
|
|
7681
7681
|
}
|
|
7682
|
-
function i(
|
|
7683
|
-
C.disabled || !C.clearable || (
|
|
7682
|
+
function i(t) {
|
|
7683
|
+
C.disabled || !C.clearable || (t.stopPropagation(), M("click:close", t));
|
|
7684
7684
|
}
|
|
7685
7685
|
const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
|
|
7686
|
-
return (
|
|
7687
|
-
class:
|
|
7686
|
+
return (t, d) => (m(), Z("div", {
|
|
7687
|
+
class: O(A.value)
|
|
7688
7688
|
}, [
|
|
7689
7689
|
S("div", {
|
|
7690
7690
|
class: "r-chip__content",
|
|
7691
|
-
onClick:
|
|
7691
|
+
onClick: d[0] || (d[0] = (l) => L(l))
|
|
7692
7692
|
}, [
|
|
7693
|
-
f(
|
|
7694
|
-
C.prependIcon ? (m(),
|
|
7693
|
+
f(t.$slots, "prepend", {}, () => [
|
|
7694
|
+
C.prependIcon ? (m(), E(D, {
|
|
7695
7695
|
key: 0,
|
|
7696
7696
|
"aria-disabled": C.disabled,
|
|
7697
7697
|
class: "r-chip__content__prepend-icon",
|
|
@@ -7700,17 +7700,17 @@ const k2 = {
|
|
|
7700
7700
|
}, null, 8, ["aria-disabled", "name"])) : p("", !0)
|
|
7701
7701
|
]),
|
|
7702
7702
|
S("span", {
|
|
7703
|
-
class:
|
|
7704
|
-
},
|
|
7703
|
+
class: O(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
|
|
7704
|
+
}, w(C.label), 3)
|
|
7705
7705
|
]),
|
|
7706
|
-
f(
|
|
7707
|
-
e.value ? (m(),
|
|
7706
|
+
f(t.$slots, "append", {}, () => [
|
|
7707
|
+
e.value ? (m(), E(D, {
|
|
7708
7708
|
key: 0,
|
|
7709
7709
|
"aria-disabled": C.disabled,
|
|
7710
7710
|
class: "r-chip__content__append-icon",
|
|
7711
7711
|
name: e.value,
|
|
7712
7712
|
size: 12,
|
|
7713
|
-
onClick:
|
|
7713
|
+
onClick: d[1] || (d[1] = (l) => i(l))
|
|
7714
7714
|
}, null, 8, ["aria-disabled", "name"])) : p("", !0)
|
|
7715
7715
|
])
|
|
7716
7716
|
], 2));
|
|
@@ -7743,60 +7743,60 @@ function y1(...H) {
|
|
|
7743
7743
|
Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
|
|
7744
7744
|
const L = [], i = () => {
|
|
7745
7745
|
L.forEach((l) => l()), L.length = 0;
|
|
7746
|
-
}, e = (l, o,
|
|
7746
|
+
}, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = $(
|
|
7747
7747
|
() => [m1(V), J1(A)],
|
|
7748
7748
|
([l, o]) => {
|
|
7749
7749
|
if (i(), !l)
|
|
7750
7750
|
return;
|
|
7751
|
-
const
|
|
7751
|
+
const n = H5(o) ? { ...o } : o;
|
|
7752
7752
|
L.push(
|
|
7753
|
-
...C.flatMap((a) => M.map((u) => e(l, a, u,
|
|
7753
|
+
...C.flatMap((a) => M.map((u) => e(l, a, u, n)))
|
|
7754
7754
|
);
|
|
7755
7755
|
},
|
|
7756
7756
|
{ immediate: !0, flush: "post" }
|
|
7757
|
-
),
|
|
7758
|
-
|
|
7757
|
+
), d = () => {
|
|
7758
|
+
t(), i();
|
|
7759
7759
|
};
|
|
7760
|
-
return J2(
|
|
7760
|
+
return J2(d), d;
|
|
7761
7761
|
}
|
|
7762
7762
|
let Q1 = !1;
|
|
7763
7763
|
function M5(H, V, C = {}) {
|
|
7764
7764
|
const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
|
|
7765
7765
|
if (!M)
|
|
7766
7766
|
return;
|
|
7767
|
-
V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((
|
|
7767
|
+
V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
|
|
7768
7768
|
let e = !0;
|
|
7769
|
-
const
|
|
7769
|
+
const t = (n) => A.some((a) => {
|
|
7770
7770
|
if (typeof a == "string")
|
|
7771
|
-
return Array.from(M.document.querySelectorAll(a)).some((u) => u ===
|
|
7771
|
+
return Array.from(M.document.querySelectorAll(a)).some((u) => u === n.target || n.composedPath().includes(u));
|
|
7772
7772
|
{
|
|
7773
7773
|
const u = m1(a);
|
|
7774
|
-
return u && (
|
|
7774
|
+
return u && (n.target === u || n.composedPath().includes(u));
|
|
7775
7775
|
}
|
|
7776
7776
|
}), l = [
|
|
7777
|
-
y1(M, "click", (
|
|
7777
|
+
y1(M, "click", (n) => {
|
|
7778
7778
|
const a = m1(H);
|
|
7779
|
-
if (!(!a || a ===
|
|
7780
|
-
if (
|
|
7779
|
+
if (!(!a || a === n.target || n.composedPath().includes(a))) {
|
|
7780
|
+
if (n.detail === 0 && (e = !t(n)), !e) {
|
|
7781
7781
|
e = !0;
|
|
7782
7782
|
return;
|
|
7783
7783
|
}
|
|
7784
|
-
V(
|
|
7784
|
+
V(n);
|
|
7785
7785
|
}
|
|
7786
7786
|
}, { passive: !0, capture: L }),
|
|
7787
|
-
y1(M, "pointerdown", (
|
|
7787
|
+
y1(M, "pointerdown", (n) => {
|
|
7788
7788
|
const a = m1(H);
|
|
7789
|
-
e = !
|
|
7789
|
+
e = !t(n) && !!(a && !n.composedPath().includes(a));
|
|
7790
7790
|
}, { passive: !0 }),
|
|
7791
|
-
i && y1(M, "blur", (
|
|
7791
|
+
i && y1(M, "blur", (n) => {
|
|
7792
7792
|
setTimeout(() => {
|
|
7793
7793
|
var a;
|
|
7794
7794
|
const u = m1(H);
|
|
7795
|
-
((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(
|
|
7795
|
+
((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(n);
|
|
7796
7796
|
}, 0);
|
|
7797
7797
|
})
|
|
7798
7798
|
].filter(Boolean);
|
|
7799
|
-
return () => l.forEach((
|
|
7799
|
+
return () => l.forEach((n) => n());
|
|
7800
7800
|
}
|
|
7801
7801
|
const A5 = ["top", "right", "bottom", "left"], r1 = Math.min, M1 = Math.max, f1 = Math.round, J = (H) => ({
|
|
7802
7802
|
x: H,
|
|
@@ -7899,9 +7899,9 @@ function G1(H, V, C) {
|
|
|
7899
7899
|
reference: M,
|
|
7900
7900
|
floating: A
|
|
7901
7901
|
} = H;
|
|
7902
|
-
const L = B1(V), i = _1(V), e = D1(i),
|
|
7902
|
+
const L = B1(V), i = _1(V), e = D1(i), t = L1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
|
|
7903
7903
|
let a;
|
|
7904
|
-
switch (
|
|
7904
|
+
switch (t) {
|
|
7905
7905
|
case "top":
|
|
7906
7906
|
a = {
|
|
7907
7907
|
x: l,
|
|
@@ -7934,10 +7934,10 @@ function G1(H, V, C) {
|
|
|
7934
7934
|
}
|
|
7935
7935
|
switch (u1(V)) {
|
|
7936
7936
|
case "start":
|
|
7937
|
-
a[i] -=
|
|
7937
|
+
a[i] -= n * (C && d ? -1 : 1);
|
|
7938
7938
|
break;
|
|
7939
7939
|
case "end":
|
|
7940
|
-
a[i] +=
|
|
7940
|
+
a[i] += n * (C && d ? -1 : 1);
|
|
7941
7941
|
break;
|
|
7942
7942
|
}
|
|
7943
7943
|
return a;
|
|
@@ -7948,32 +7948,32 @@ const n5 = async (H, V, C) => {
|
|
|
7948
7948
|
strategy: A = "absolute",
|
|
7949
7949
|
middleware: L = [],
|
|
7950
7950
|
platform: i
|
|
7951
|
-
} = C, e = L.filter(Boolean),
|
|
7952
|
-
let
|
|
7951
|
+
} = C, e = L.filter(Boolean), t = await (i.isRTL == null ? void 0 : i.isRTL(V));
|
|
7952
|
+
let d = await i.getElementRects({
|
|
7953
7953
|
reference: H,
|
|
7954
7954
|
floating: V,
|
|
7955
7955
|
strategy: A
|
|
7956
7956
|
}), {
|
|
7957
7957
|
x: l,
|
|
7958
7958
|
y: o
|
|
7959
|
-
} = G1(
|
|
7960
|
-
for (let
|
|
7959
|
+
} = G1(d, M, t), n = M, a = {}, u = 0;
|
|
7960
|
+
for (let k = 0; k < e.length; k++) {
|
|
7961
7961
|
const {
|
|
7962
|
-
name:
|
|
7963
|
-
fn:
|
|
7964
|
-
} = e[
|
|
7962
|
+
name: B,
|
|
7963
|
+
fn: y
|
|
7964
|
+
} = e[k], {
|
|
7965
7965
|
x: P,
|
|
7966
7966
|
y: v,
|
|
7967
|
-
data:
|
|
7968
|
-
reset:
|
|
7969
|
-
} = await
|
|
7967
|
+
data: F,
|
|
7968
|
+
reset: T
|
|
7969
|
+
} = await y({
|
|
7970
7970
|
x: l,
|
|
7971
7971
|
y: o,
|
|
7972
7972
|
initialPlacement: M,
|
|
7973
|
-
placement:
|
|
7973
|
+
placement: n,
|
|
7974
7974
|
strategy: A,
|
|
7975
7975
|
middlewareData: a,
|
|
7976
|
-
rects:
|
|
7976
|
+
rects: d,
|
|
7977
7977
|
platform: i,
|
|
7978
7978
|
elements: {
|
|
7979
7979
|
reference: H,
|
|
@@ -7982,26 +7982,26 @@ const n5 = async (H, V, C) => {
|
|
|
7982
7982
|
});
|
|
7983
7983
|
if (l = P ?? l, o = v ?? o, a = {
|
|
7984
7984
|
...a,
|
|
7985
|
-
[
|
|
7986
|
-
...a[
|
|
7987
|
-
...
|
|
7985
|
+
[B]: {
|
|
7986
|
+
...a[B],
|
|
7987
|
+
...F
|
|
7988
7988
|
}
|
|
7989
|
-
},
|
|
7990
|
-
u++, typeof
|
|
7989
|
+
}, T && u <= 50) {
|
|
7990
|
+
u++, typeof T == "object" && (T.placement && (n = T.placement), T.rects && (d = T.rects === !0 ? await i.getElementRects({
|
|
7991
7991
|
reference: H,
|
|
7992
7992
|
floating: V,
|
|
7993
7993
|
strategy: A
|
|
7994
|
-
}) :
|
|
7994
|
+
}) : T.rects), {
|
|
7995
7995
|
x: l,
|
|
7996
7996
|
y: o
|
|
7997
|
-
} = G1(
|
|
7997
|
+
} = G1(d, n, t)), k = -1;
|
|
7998
7998
|
continue;
|
|
7999
7999
|
}
|
|
8000
8000
|
}
|
|
8001
8001
|
return {
|
|
8002
8002
|
x: l,
|
|
8003
8003
|
y: o,
|
|
8004
|
-
placement:
|
|
8004
|
+
placement: n,
|
|
8005
8005
|
strategy: A,
|
|
8006
8006
|
middlewareData: a
|
|
8007
8007
|
};
|
|
@@ -8015,38 +8015,38 @@ async function k1(H, V) {
|
|
|
8015
8015
|
platform: L,
|
|
8016
8016
|
rects: i,
|
|
8017
8017
|
elements: e,
|
|
8018
|
-
strategy:
|
|
8018
|
+
strategy: t
|
|
8019
8019
|
} = H, {
|
|
8020
|
-
boundary:
|
|
8020
|
+
boundary: d = "clippingAncestors",
|
|
8021
8021
|
rootBoundary: l = "viewport",
|
|
8022
8022
|
elementContext: o = "floating",
|
|
8023
|
-
altBoundary:
|
|
8023
|
+
altBoundary: n = !1,
|
|
8024
8024
|
padding: a = 0
|
|
8025
|
-
} = t1(V, H), u = L2(a),
|
|
8026
|
-
element: (C = await (L.isElement == null ? void 0 : L.isElement(
|
|
8027
|
-
boundary:
|
|
8025
|
+
} = t1(V, H), u = L2(a), B = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
|
|
8026
|
+
element: (C = await (L.isElement == null ? void 0 : L.isElement(B))) == null || C ? B : B.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
|
|
8027
|
+
boundary: d,
|
|
8028
8028
|
rootBoundary: l,
|
|
8029
|
-
strategy:
|
|
8029
|
+
strategy: t
|
|
8030
8030
|
})), P = o === "floating" ? {
|
|
8031
8031
|
...i.floating,
|
|
8032
8032
|
x: M,
|
|
8033
8033
|
y: A
|
|
8034
|
-
} : i.reference, v = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)),
|
|
8034
|
+
} : i.reference, v = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), F = await (L.isElement == null ? void 0 : L.isElement(v)) ? await (L.getScale == null ? void 0 : L.getScale(v)) || {
|
|
8035
8035
|
x: 1,
|
|
8036
8036
|
y: 1
|
|
8037
8037
|
} : {
|
|
8038
8038
|
x: 1,
|
|
8039
8039
|
y: 1
|
|
8040
|
-
},
|
|
8040
|
+
}, T = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
8041
8041
|
rect: P,
|
|
8042
8042
|
offsetParent: v,
|
|
8043
|
-
strategy:
|
|
8043
|
+
strategy: t
|
|
8044
8044
|
}) : P);
|
|
8045
8045
|
return {
|
|
8046
|
-
top: (
|
|
8047
|
-
bottom: (
|
|
8048
|
-
left: (
|
|
8049
|
-
right: (
|
|
8046
|
+
top: (y.top - T.top + u.top) / F.y,
|
|
8047
|
+
bottom: (T.bottom - y.bottom + u.bottom) / F.y,
|
|
8048
|
+
left: (y.left - T.left + u.left) / F.x,
|
|
8049
|
+
right: (T.right - y.right + u.right) / F.x
|
|
8050
8050
|
};
|
|
8051
8051
|
}
|
|
8052
8052
|
const r5 = (H) => ({
|
|
@@ -8060,30 +8060,30 @@ const r5 = (H) => ({
|
|
|
8060
8060
|
rects: L,
|
|
8061
8061
|
platform: i,
|
|
8062
8062
|
elements: e,
|
|
8063
|
-
middlewareData:
|
|
8063
|
+
middlewareData: t
|
|
8064
8064
|
} = V, {
|
|
8065
|
-
element:
|
|
8065
|
+
element: d,
|
|
8066
8066
|
padding: l = 0
|
|
8067
8067
|
} = t1(H, V) || {};
|
|
8068
|
-
if (
|
|
8068
|
+
if (d == null)
|
|
8069
8069
|
return {};
|
|
8070
|
-
const o = L2(l),
|
|
8070
|
+
const o = L2(l), n = {
|
|
8071
8071
|
x: C,
|
|
8072
8072
|
y: M
|
|
8073
|
-
}, a = _1(A), u = D1(a),
|
|
8074
|
-
let
|
|
8075
|
-
(!
|
|
8076
|
-
const
|
|
8073
|
+
}, a = _1(A), u = D1(a), k = await i.getDimensions(d), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", F = L.reference[u] + L.reference[a] - n[a] - L.floating[u], T = n[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
8074
|
+
let W = Q ? Q[v] : 0;
|
|
8075
|
+
(!W || !await (i.isElement == null ? void 0 : i.isElement(Q))) && (W = e.floating[v] || L.floating[u]);
|
|
8076
|
+
const c = F / 2 - T / 2, I = W / 2 - k[u] / 2 - 1, r = r1(o[y], I), h = r1(o[P], I), b = r, _ = W - k[u] - h, s = W / 2 - k[u] / 2 + c, x = v1(b, s, _), U = !t.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < b ? r : h) - k[u] / 2 < 0, j = U ? s < b ? s - b : s - _ : 0;
|
|
8077
8077
|
return {
|
|
8078
|
-
[a]:
|
|
8078
|
+
[a]: n[a] + j,
|
|
8079
8079
|
data: {
|
|
8080
|
-
[a]:
|
|
8081
|
-
centerOffset: s -
|
|
8082
|
-
|
|
8080
|
+
[a]: x,
|
|
8081
|
+
centerOffset: s - x - j,
|
|
8082
|
+
...U && {
|
|
8083
8083
|
alignmentOffset: j
|
|
8084
8084
|
}
|
|
8085
8085
|
},
|
|
8086
|
-
reset:
|
|
8086
|
+
reset: U
|
|
8087
8087
|
};
|
|
8088
8088
|
}
|
|
8089
8089
|
}), a5 = function(H) {
|
|
@@ -8097,50 +8097,50 @@ const r5 = (H) => ({
|
|
|
8097
8097
|
middlewareData: L,
|
|
8098
8098
|
rects: i,
|
|
8099
8099
|
initialPlacement: e,
|
|
8100
|
-
platform:
|
|
8101
|
-
elements:
|
|
8100
|
+
platform: t,
|
|
8101
|
+
elements: d
|
|
8102
8102
|
} = V, {
|
|
8103
8103
|
mainAxis: l = !0,
|
|
8104
8104
|
crossAxis: o = !0,
|
|
8105
|
-
fallbackPlacements:
|
|
8105
|
+
fallbackPlacements: n,
|
|
8106
8106
|
fallbackStrategy: a = "bestFit",
|
|
8107
8107
|
fallbackAxisSideDirection: u = "none",
|
|
8108
|
-
flipAlignment:
|
|
8109
|
-
...
|
|
8108
|
+
flipAlignment: k = !0,
|
|
8109
|
+
...B
|
|
8110
8110
|
} = t1(H, V);
|
|
8111
8111
|
if ((C = L.arrow) != null && C.alignmentOffset)
|
|
8112
8112
|
return {};
|
|
8113
|
-
const
|
|
8114
|
-
!
|
|
8115
|
-
const
|
|
8116
|
-
let
|
|
8117
|
-
if (l &&
|
|
8113
|
+
const y = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), F = n || (P || !k ? [h1(e)] : t5(e));
|
|
8114
|
+
!n && u !== "none" && F.push(...l5(e, k, u, v));
|
|
8115
|
+
const T = [e, ...F], Q = await k1(V, B), W = [];
|
|
8116
|
+
let c = ((M = L.flip) == null ? void 0 : M.overflows) || [];
|
|
8117
|
+
if (l && W.push(Q[y]), o) {
|
|
8118
8118
|
const b = d5(A, i, v);
|
|
8119
|
-
|
|
8119
|
+
W.push(Q[b[0]], Q[b[1]]);
|
|
8120
8120
|
}
|
|
8121
|
-
if (
|
|
8121
|
+
if (c = [...c, {
|
|
8122
8122
|
placement: A,
|
|
8123
|
-
overflows:
|
|
8124
|
-
}], !
|
|
8125
|
-
var
|
|
8126
|
-
const b = (((
|
|
8127
|
-
if (
|
|
8123
|
+
overflows: W
|
|
8124
|
+
}], !W.every((b) => b <= 0)) {
|
|
8125
|
+
var I, r;
|
|
8126
|
+
const b = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, _ = T[b];
|
|
8127
|
+
if (_)
|
|
8128
8128
|
return {
|
|
8129
8129
|
data: {
|
|
8130
8130
|
index: b,
|
|
8131
|
-
overflows:
|
|
8131
|
+
overflows: c
|
|
8132
8132
|
},
|
|
8133
8133
|
reset: {
|
|
8134
|
-
placement:
|
|
8134
|
+
placement: _
|
|
8135
8135
|
}
|
|
8136
8136
|
};
|
|
8137
|
-
let s = (
|
|
8137
|
+
let s = (r = c.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : r.placement;
|
|
8138
8138
|
if (!s)
|
|
8139
8139
|
switch (a) {
|
|
8140
8140
|
case "bestFit": {
|
|
8141
8141
|
var h;
|
|
8142
|
-
const
|
|
8143
|
-
|
|
8142
|
+
const x = (h = c.map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : h[0];
|
|
8143
|
+
x && (s = x);
|
|
8144
8144
|
break;
|
|
8145
8145
|
}
|
|
8146
8146
|
case "initialPlacement":
|
|
@@ -8216,9 +8216,9 @@ async function u5(H, V) {
|
|
|
8216
8216
|
placement: C,
|
|
8217
8217
|
platform: M,
|
|
8218
8218
|
elements: A
|
|
8219
|
-
} = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C),
|
|
8219
|
+
} = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = t1(V, H);
|
|
8220
8220
|
let {
|
|
8221
|
-
mainAxis:
|
|
8221
|
+
mainAxis: n,
|
|
8222
8222
|
crossAxis: a,
|
|
8223
8223
|
alignmentAxis: u
|
|
8224
8224
|
} = typeof o == "number" ? {
|
|
@@ -8231,11 +8231,11 @@ async function u5(H, V) {
|
|
|
8231
8231
|
alignmentAxis: null,
|
|
8232
8232
|
...o
|
|
8233
8233
|
};
|
|
8234
|
-
return e && typeof u == "number" && (a = e === "end" ? u * -1 : u),
|
|
8234
|
+
return e && typeof u == "number" && (a = e === "end" ? u * -1 : u), t ? {
|
|
8235
8235
|
x: a * l,
|
|
8236
|
-
y:
|
|
8236
|
+
y: n * d
|
|
8237
8237
|
} : {
|
|
8238
|
-
x:
|
|
8238
|
+
x: n * d,
|
|
8239
8239
|
y: a * l
|
|
8240
8240
|
};
|
|
8241
8241
|
}
|
|
@@ -8268,41 +8268,41 @@ const S5 = function(H) {
|
|
|
8268
8268
|
mainAxis: L = !0,
|
|
8269
8269
|
crossAxis: i = !1,
|
|
8270
8270
|
limiter: e = {
|
|
8271
|
-
fn: (
|
|
8271
|
+
fn: (B) => {
|
|
8272
8272
|
let {
|
|
8273
|
-
x:
|
|
8273
|
+
x: y,
|
|
8274
8274
|
y: P
|
|
8275
|
-
} =
|
|
8275
|
+
} = B;
|
|
8276
8276
|
return {
|
|
8277
|
-
x:
|
|
8277
|
+
x: y,
|
|
8278
8278
|
y: P
|
|
8279
8279
|
};
|
|
8280
8280
|
}
|
|
8281
8281
|
},
|
|
8282
|
-
...
|
|
8283
|
-
} = t1(H, V),
|
|
8282
|
+
...t
|
|
8283
|
+
} = t1(H, V), d = {
|
|
8284
8284
|
x: C,
|
|
8285
8285
|
y: M
|
|
8286
|
-
}, l = await k1(V,
|
|
8287
|
-
let a =
|
|
8286
|
+
}, l = await k1(V, t), o = B1(L1(A)), n = V2(o);
|
|
8287
|
+
let a = d[n], u = d[o];
|
|
8288
8288
|
if (L) {
|
|
8289
|
-
const
|
|
8289
|
+
const B = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[B], v = a - l[y];
|
|
8290
8290
|
a = v1(P, a, v);
|
|
8291
8291
|
}
|
|
8292
8292
|
if (i) {
|
|
8293
|
-
const
|
|
8293
|
+
const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = u + l[B], v = u - l[y];
|
|
8294
8294
|
u = v1(P, u, v);
|
|
8295
8295
|
}
|
|
8296
|
-
const
|
|
8296
|
+
const k = e.fn({
|
|
8297
8297
|
...V,
|
|
8298
|
-
[
|
|
8298
|
+
[n]: a,
|
|
8299
8299
|
[o]: u
|
|
8300
8300
|
});
|
|
8301
8301
|
return {
|
|
8302
|
-
...
|
|
8302
|
+
...k,
|
|
8303
8303
|
data: {
|
|
8304
|
-
x:
|
|
8305
|
-
y:
|
|
8304
|
+
x: k.x - C,
|
|
8305
|
+
y: k.y - M
|
|
8306
8306
|
}
|
|
8307
8307
|
};
|
|
8308
8308
|
}
|
|
@@ -8311,7 +8311,7 @@ const S5 = function(H) {
|
|
|
8311
8311
|
function C1(H) {
|
|
8312
8312
|
return M2(H) ? (H.nodeName || "").toLowerCase() : "#document";
|
|
8313
8313
|
}
|
|
8314
|
-
function
|
|
8314
|
+
function G(H) {
|
|
8315
8315
|
var V;
|
|
8316
8316
|
return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
|
|
8317
8317
|
}
|
|
@@ -8320,16 +8320,16 @@ function H1(H) {
|
|
|
8320
8320
|
return (V = (M2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
|
|
8321
8321
|
}
|
|
8322
8322
|
function M2(H) {
|
|
8323
|
-
return H instanceof Node || H instanceof
|
|
8323
|
+
return H instanceof Node || H instanceof G(H).Node;
|
|
8324
8324
|
}
|
|
8325
8325
|
function Y(H) {
|
|
8326
|
-
return H instanceof Element || H instanceof
|
|
8326
|
+
return H instanceof Element || H instanceof G(H).Element;
|
|
8327
8327
|
}
|
|
8328
8328
|
function q(H) {
|
|
8329
|
-
return H instanceof HTMLElement || H instanceof
|
|
8329
|
+
return H instanceof HTMLElement || H instanceof G(H).HTMLElement;
|
|
8330
8330
|
}
|
|
8331
8331
|
function z1(H) {
|
|
8332
|
-
return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof
|
|
8332
|
+
return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof G(H).ShadowRoot;
|
|
8333
8333
|
}
|
|
8334
8334
|
function S1(H) {
|
|
8335
8335
|
const {
|
|
@@ -8337,14 +8337,14 @@ function S1(H) {
|
|
|
8337
8337
|
overflowX: C,
|
|
8338
8338
|
overflowY: M,
|
|
8339
8339
|
display: A
|
|
8340
|
-
} =
|
|
8340
|
+
} = z(H);
|
|
8341
8341
|
return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(A);
|
|
8342
8342
|
}
|
|
8343
8343
|
function c5(H) {
|
|
8344
8344
|
return ["table", "td", "th"].includes(C1(H));
|
|
8345
8345
|
}
|
|
8346
8346
|
function E1(H) {
|
|
8347
|
-
const V = W1(), C =
|
|
8347
|
+
const V = W1(), C = z(H);
|
|
8348
8348
|
return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
|
|
8349
8349
|
}
|
|
8350
8350
|
function O5(H) {
|
|
@@ -8362,8 +8362,8 @@ function W1() {
|
|
|
8362
8362
|
function b1(H) {
|
|
8363
8363
|
return ["html", "body", "#document"].includes(C1(H));
|
|
8364
8364
|
}
|
|
8365
|
-
function
|
|
8366
|
-
return
|
|
8365
|
+
function z(H) {
|
|
8366
|
+
return G(H).getComputedStyle(H);
|
|
8367
8367
|
}
|
|
8368
8368
|
function w1(H) {
|
|
8369
8369
|
return Y(H) ? {
|
|
@@ -8393,11 +8393,11 @@ function A2(H) {
|
|
|
8393
8393
|
function F1(H, V, C) {
|
|
8394
8394
|
var M;
|
|
8395
8395
|
V === void 0 && (V = []), C === void 0 && (C = !0);
|
|
8396
|
-
const A = A2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i =
|
|
8396
|
+
const A = A2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = G(A);
|
|
8397
8397
|
return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
|
|
8398
8398
|
}
|
|
8399
8399
|
function i2(H) {
|
|
8400
|
-
const V =
|
|
8400
|
+
const V = z(H);
|
|
8401
8401
|
let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
|
|
8402
8402
|
const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
|
|
8403
8403
|
return e && (C = L, M = i), {
|
|
@@ -8426,14 +8426,14 @@ function A1(H) {
|
|
|
8426
8426
|
}
|
|
8427
8427
|
const p5 = /* @__PURE__ */ J(0);
|
|
8428
8428
|
function d2(H) {
|
|
8429
|
-
const V =
|
|
8429
|
+
const V = G(H);
|
|
8430
8430
|
return !W1() || !V.visualViewport ? p5 : {
|
|
8431
8431
|
x: V.visualViewport.offsetLeft,
|
|
8432
8432
|
y: V.visualViewport.offsetTop
|
|
8433
8433
|
};
|
|
8434
8434
|
}
|
|
8435
8435
|
function f5(H, V, C) {
|
|
8436
|
-
return V === void 0 && (V = !1), !C || V && C !==
|
|
8436
|
+
return V === void 0 && (V = !1), !C || V && C !== G(H) ? !1 : V;
|
|
8437
8437
|
}
|
|
8438
8438
|
function a1(H, V, C, M) {
|
|
8439
8439
|
V === void 0 && (V = !1), C === void 0 && (C = !1);
|
|
@@ -8441,20 +8441,20 @@ function a1(H, V, C, M) {
|
|
|
8441
8441
|
let i = J(1);
|
|
8442
8442
|
V && (M ? Y(M) && (i = A1(M)) : i = A1(H));
|
|
8443
8443
|
const e = f5(L, C, M) ? d2(L) : J(0);
|
|
8444
|
-
let
|
|
8444
|
+
let t = (A.left + e.x) / i.x, d = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
|
|
8445
8445
|
if (L) {
|
|
8446
|
-
const
|
|
8447
|
-
let u =
|
|
8448
|
-
for (; u && M && a !==
|
|
8449
|
-
const
|
|
8450
|
-
|
|
8446
|
+
const n = G(L), a = M && Y(M) ? G(M) : M;
|
|
8447
|
+
let u = n.frameElement;
|
|
8448
|
+
for (; u && M && a !== n; ) {
|
|
8449
|
+
const k = A1(u), B = u.getBoundingClientRect(), y = z(u), P = B.left + (u.clientLeft + parseFloat(y.paddingLeft)) * k.x, v = B.top + (u.clientTop + parseFloat(y.paddingTop)) * k.y;
|
|
8450
|
+
t *= k.x, d *= k.y, l *= k.x, o *= k.y, t += P, d += v, u = G(u).frameElement;
|
|
8451
8451
|
}
|
|
8452
8452
|
}
|
|
8453
8453
|
return g1({
|
|
8454
8454
|
width: l,
|
|
8455
8455
|
height: o,
|
|
8456
|
-
x:
|
|
8457
|
-
y:
|
|
8456
|
+
x: t,
|
|
8457
|
+
y: d
|
|
8458
8458
|
});
|
|
8459
8459
|
}
|
|
8460
8460
|
function h5(H) {
|
|
@@ -8470,16 +8470,16 @@ function h5(H) {
|
|
|
8470
8470
|
scrollLeft: 0,
|
|
8471
8471
|
scrollTop: 0
|
|
8472
8472
|
}, e = J(1);
|
|
8473
|
-
const
|
|
8473
|
+
const t = J(0);
|
|
8474
8474
|
if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
|
|
8475
|
-
const
|
|
8476
|
-
e = A1(C),
|
|
8475
|
+
const d = a1(C);
|
|
8476
|
+
e = A1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
|
|
8477
8477
|
}
|
|
8478
8478
|
return {
|
|
8479
8479
|
width: V.width * e.x,
|
|
8480
8480
|
height: V.height * e.y,
|
|
8481
|
-
x: V.x * e.x - i.scrollLeft * e.x +
|
|
8482
|
-
y: V.y * e.y - i.scrollTop * e.y +
|
|
8481
|
+
x: V.x * e.x - i.scrollLeft * e.x + t.x,
|
|
8482
|
+
y: V.y * e.y - i.scrollTop * e.y + t.y
|
|
8483
8483
|
};
|
|
8484
8484
|
}
|
|
8485
8485
|
function g5(H) {
|
|
@@ -8492,7 +8492,7 @@ function k5(H) {
|
|
|
8492
8492
|
const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = M1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = M1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
|
|
8493
8493
|
let i = -C.scrollLeft + t2(H);
|
|
8494
8494
|
const e = -C.scrollTop;
|
|
8495
|
-
return
|
|
8495
|
+
return z(M).direction === "rtl" && (i += M1(V.clientWidth, M.clientWidth) - A), {
|
|
8496
8496
|
width: A,
|
|
8497
8497
|
height: L,
|
|
8498
8498
|
x: i,
|
|
@@ -8500,27 +8500,27 @@ function k5(H) {
|
|
|
8500
8500
|
};
|
|
8501
8501
|
}
|
|
8502
8502
|
function B5(H, V) {
|
|
8503
|
-
const C =
|
|
8504
|
-
let L = M.clientWidth, i = M.clientHeight, e = 0,
|
|
8503
|
+
const C = G(H), M = H1(H), A = C.visualViewport;
|
|
8504
|
+
let L = M.clientWidth, i = M.clientHeight, e = 0, t = 0;
|
|
8505
8505
|
if (A) {
|
|
8506
8506
|
L = A.width, i = A.height;
|
|
8507
|
-
const
|
|
8508
|
-
(!
|
|
8507
|
+
const d = W1();
|
|
8508
|
+
(!d || d && V === "fixed") && (e = A.offsetLeft, t = A.offsetTop);
|
|
8509
8509
|
}
|
|
8510
8510
|
return {
|
|
8511
8511
|
width: L,
|
|
8512
8512
|
height: i,
|
|
8513
8513
|
x: e,
|
|
8514
|
-
y:
|
|
8514
|
+
y: t
|
|
8515
8515
|
};
|
|
8516
8516
|
}
|
|
8517
8517
|
function b5(H, V) {
|
|
8518
|
-
const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y,
|
|
8518
|
+
const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, t = A * L.x, d = M * L.y;
|
|
8519
8519
|
return {
|
|
8520
8520
|
width: i,
|
|
8521
8521
|
height: e,
|
|
8522
|
-
x:
|
|
8523
|
-
y:
|
|
8522
|
+
x: t,
|
|
8523
|
+
y: d
|
|
8524
8524
|
};
|
|
8525
8525
|
}
|
|
8526
8526
|
function K1(H, V, C) {
|
|
@@ -8543,18 +8543,18 @@ function K1(H, V, C) {
|
|
|
8543
8543
|
}
|
|
8544
8544
|
function m2(H, V) {
|
|
8545
8545
|
const C = d1(H);
|
|
8546
|
-
return C === V || !Y(C) || b1(C) ? !1 :
|
|
8546
|
+
return C === V || !Y(C) || b1(C) ? !1 : z(C).position === "fixed" || m2(C, V);
|
|
8547
8547
|
}
|
|
8548
8548
|
function w5(H, V) {
|
|
8549
8549
|
const C = V.get(H);
|
|
8550
8550
|
if (C)
|
|
8551
8551
|
return C;
|
|
8552
8552
|
let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
|
|
8553
|
-
const L =
|
|
8553
|
+
const L = z(H).position === "fixed";
|
|
8554
8554
|
let i = L ? d1(H) : H;
|
|
8555
8555
|
for (; Y(i) && !b1(i); ) {
|
|
8556
|
-
const e =
|
|
8557
|
-
!
|
|
8556
|
+
const e = z(i), t = E1(i);
|
|
8557
|
+
!t && e.position === "fixed" && (A = null), (L ? !t && !A : !t && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !t && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = d1(i);
|
|
8558
8558
|
}
|
|
8559
8559
|
return V.set(H, M), M;
|
|
8560
8560
|
}
|
|
@@ -8565,15 +8565,15 @@ function y5(H) {
|
|
|
8565
8565
|
rootBoundary: M,
|
|
8566
8566
|
strategy: A
|
|
8567
8567
|
} = H;
|
|
8568
|
-
const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0],
|
|
8568
|
+
const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0], t = i.reduce((d, l) => {
|
|
8569
8569
|
const o = K1(V, l, A);
|
|
8570
|
-
return
|
|
8570
|
+
return d.top = M1(o.top, d.top), d.right = r1(o.right, d.right), d.bottom = r1(o.bottom, d.bottom), d.left = M1(o.left, d.left), d;
|
|
8571
8571
|
}, K1(V, e, A));
|
|
8572
8572
|
return {
|
|
8573
|
-
width:
|
|
8574
|
-
height:
|
|
8575
|
-
x:
|
|
8576
|
-
y:
|
|
8573
|
+
width: t.right - t.left,
|
|
8574
|
+
height: t.bottom - t.top,
|
|
8575
|
+
x: t.left,
|
|
8576
|
+
y: t.top
|
|
8577
8577
|
};
|
|
8578
8578
|
}
|
|
8579
8579
|
function P5(H) {
|
|
@@ -8585,31 +8585,31 @@ function v5(H, V, C) {
|
|
|
8585
8585
|
scrollLeft: 0,
|
|
8586
8586
|
scrollTop: 0
|
|
8587
8587
|
};
|
|
8588
|
-
const
|
|
8588
|
+
const t = J(0);
|
|
8589
8589
|
if (M || !M && !L)
|
|
8590
8590
|
if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
|
|
8591
|
-
const
|
|
8592
|
-
|
|
8591
|
+
const d = a1(V, !0, L, V);
|
|
8592
|
+
t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
|
|
8593
8593
|
} else
|
|
8594
|
-
A && (
|
|
8594
|
+
A && (t.x = t2(A));
|
|
8595
8595
|
return {
|
|
8596
|
-
x: i.left + e.scrollLeft -
|
|
8597
|
-
y: i.top + e.scrollTop -
|
|
8596
|
+
x: i.left + e.scrollLeft - t.x,
|
|
8597
|
+
y: i.top + e.scrollTop - t.y,
|
|
8598
8598
|
width: i.width,
|
|
8599
8599
|
height: i.height
|
|
8600
8600
|
};
|
|
8601
8601
|
}
|
|
8602
8602
|
function q1(H, V) {
|
|
8603
|
-
return !q(H) ||
|
|
8603
|
+
return !q(H) || z(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
|
|
8604
8604
|
}
|
|
8605
8605
|
function l2(H, V) {
|
|
8606
|
-
const C =
|
|
8606
|
+
const C = G(H);
|
|
8607
8607
|
if (!q(H))
|
|
8608
8608
|
return C;
|
|
8609
8609
|
let M = q1(H, V);
|
|
8610
|
-
for (; M && c5(M) &&
|
|
8610
|
+
for (; M && c5(M) && z(M).position === "static"; )
|
|
8611
8611
|
M = q1(M, V);
|
|
8612
|
-
return M && (C1(M) === "html" || C1(M) === "body" &&
|
|
8612
|
+
return M && (C1(M) === "html" || C1(M) === "body" && z(M).position === "static" && !E1(M)) ? C : M || O5(H) || C;
|
|
8613
8613
|
}
|
|
8614
8614
|
const T5 = async function(H) {
|
|
8615
8615
|
let {
|
|
@@ -8628,7 +8628,7 @@ const T5 = async function(H) {
|
|
|
8628
8628
|
};
|
|
8629
8629
|
};
|
|
8630
8630
|
function F5(H) {
|
|
8631
|
-
return
|
|
8631
|
+
return z(H).direction === "rtl";
|
|
8632
8632
|
}
|
|
8633
8633
|
const R5 = {
|
|
8634
8634
|
convertOffsetParentRelativeRectToViewportRelativeRect: h5,
|
|
@@ -8655,7 +8655,7 @@ const R5 = {
|
|
|
8655
8655
|
});
|
|
8656
8656
|
};
|
|
8657
8657
|
var o2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(o2 || {}), X = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(X || {}), n2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(n2 || {});
|
|
8658
|
-
async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
|
|
8658
|
+
async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e, t) {
|
|
8659
8659
|
!H || !V || x5(H, V, {
|
|
8660
8660
|
placement: M,
|
|
8661
8661
|
middleware: [
|
|
@@ -8665,37 +8665,37 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
|
|
|
8665
8665
|
a5(),
|
|
8666
8666
|
Z5()
|
|
8667
8667
|
]
|
|
8668
|
-
}).then(({ x: d, y:
|
|
8669
|
-
var
|
|
8668
|
+
}).then(({ x: d, y: l, placement: o, middlewareData: n }) => {
|
|
8669
|
+
var P, v, F, T;
|
|
8670
8670
|
if (!V)
|
|
8671
8671
|
return;
|
|
8672
|
-
|
|
8673
|
-
const
|
|
8672
|
+
n.flip && V.setAttribute("data-placement", o);
|
|
8673
|
+
const a = (P = H.offsetParent) == null ? void 0 : P.getBoundingClientRect().left, u = (v = H.offsetParent) == null ? void 0 : v.getBoundingClientRect().top, k = (F = H.offsetParent) == null ? void 0 : F.getBoundingClientRect().width, B = (T = H.offsetParent) == null ? void 0 : T.getBoundingClientRect().height, y = Number(u) + Number(B);
|
|
8674
8674
|
if (Object.assign(V.style, {
|
|
8675
|
-
maxWidth: e === "dropdown" ? `${
|
|
8676
|
-
left: e === "dropdown" ? `${
|
|
8677
|
-
top: e === "dropdown" ? `${
|
|
8675
|
+
maxWidth: e === "dropdown" ? `${k}px` : "auto",
|
|
8676
|
+
left: e === "dropdown" ? `${a}px` : `${d}px`,
|
|
8677
|
+
top: e === "dropdown" ? `${y}px` : `${l}px`,
|
|
8678
8678
|
animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
|
|
8679
8679
|
transformOrigin: "start"
|
|
8680
|
-
}), C &&
|
|
8681
|
-
const { x:
|
|
8680
|
+
}), C && n.arrow) {
|
|
8681
|
+
const { x: Q, y: W } = n.arrow, c = {
|
|
8682
8682
|
top: "bottom",
|
|
8683
8683
|
right: "left",
|
|
8684
8684
|
bottom: "top",
|
|
8685
8685
|
left: "right"
|
|
8686
8686
|
/* Right */
|
|
8687
|
-
}[
|
|
8687
|
+
}[o.split("-")[0]];
|
|
8688
8688
|
Object.assign(C.style, {
|
|
8689
|
-
left: d != null ? `${
|
|
8690
|
-
top:
|
|
8689
|
+
left: d != null ? `${Q}px` : "",
|
|
8690
|
+
top: l != null ? `${W}px` : "",
|
|
8691
8691
|
right: "",
|
|
8692
8692
|
bottom: "",
|
|
8693
|
-
[`${
|
|
8693
|
+
[`${c}`]: "-4px"
|
|
8694
8694
|
});
|
|
8695
8695
|
}
|
|
8696
8696
|
});
|
|
8697
8697
|
}
|
|
8698
|
-
const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */
|
|
8698
|
+
const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ R({
|
|
8699
8699
|
__name: "RTooltip",
|
|
8700
8700
|
props: {
|
|
8701
8701
|
placement: { default: o2.Top },
|
|
@@ -8719,35 +8719,35 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8719
8719
|
},
|
|
8720
8720
|
emits: ["show", "hide"],
|
|
8721
8721
|
setup(H, { emit: V }) {
|
|
8722
|
-
const C = H, M = V, A =
|
|
8722
|
+
const C = H, M = V, A = N(), L = N(), i = N();
|
|
8723
8723
|
async function e() {
|
|
8724
|
-
C.disabled || !L.value || (u(), L.value.style.display = "block", M("show"),
|
|
8724
|
+
C.disabled || !L.value || (u(), L.value.style.display = "block", M("show"), d());
|
|
8725
8725
|
}
|
|
8726
|
-
function
|
|
8726
|
+
function t() {
|
|
8727
8727
|
C.disabled || !L.value || (L.value.style.display = "", M("hide"));
|
|
8728
8728
|
}
|
|
8729
|
-
function
|
|
8729
|
+
function d() {
|
|
8730
8730
|
C.autoHide && setTimeout(() => {
|
|
8731
|
-
|
|
8731
|
+
t();
|
|
8732
8732
|
}, C.hideDelay);
|
|
8733
8733
|
}
|
|
8734
8734
|
function l() {
|
|
8735
|
-
C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ?
|
|
8735
|
+
C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ? t() : e());
|
|
8736
8736
|
}
|
|
8737
8737
|
function o() {
|
|
8738
8738
|
C.disabled || C.triggers.includes(X.Hover) && e();
|
|
8739
8739
|
}
|
|
8740
|
-
function
|
|
8741
|
-
C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) &&
|
|
8740
|
+
function n() {
|
|
8741
|
+
C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
|
|
8742
8742
|
}
|
|
8743
8743
|
function a() {
|
|
8744
8744
|
C.triggers.includes(X.Hover) && u();
|
|
8745
8745
|
}
|
|
8746
|
-
function u() {
|
|
8747
|
-
const { placement:
|
|
8748
|
-
|
|
8746
|
+
function u(B) {
|
|
8747
|
+
const { placement: y, offset: P, padding: v, disabled: F, showDelay: T, type: Q } = C;
|
|
8748
|
+
F || D5(A, L, i, y, P, v, T, Q);
|
|
8749
8749
|
}
|
|
8750
|
-
const
|
|
8750
|
+
const k = g(() => ({
|
|
8751
8751
|
"r-tooltip": !0,
|
|
8752
8752
|
"r-tooltip--dark": C.dark && !C.light,
|
|
8753
8753
|
"r-tooltip--light": C.light
|
|
@@ -8758,7 +8758,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8758
8758
|
u();
|
|
8759
8759
|
}), S2(
|
|
8760
8760
|
() => {
|
|
8761
|
-
C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) &&
|
|
8761
|
+
C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && t());
|
|
8762
8762
|
},
|
|
8763
8763
|
{ flush: "post" }
|
|
8764
8764
|
// this is important to avoid infinite loop & for fire on mounted
|
|
@@ -8766,28 +8766,28 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8766
8766
|
C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", u()), M5(
|
|
8767
8767
|
A,
|
|
8768
8768
|
() => {
|
|
8769
|
-
C.outsideClick &&
|
|
8769
|
+
C.outsideClick && t();
|
|
8770
8770
|
},
|
|
8771
8771
|
{
|
|
8772
8772
|
ignore: [L.value]
|
|
8773
8773
|
}
|
|
8774
8774
|
);
|
|
8775
|
-
}), (
|
|
8775
|
+
}), (B, y) => (m(), Z(i1, null, [
|
|
8776
8776
|
S("div", {
|
|
8777
8777
|
ref_key: "trigger",
|
|
8778
8778
|
ref: A,
|
|
8779
8779
|
"aria-disabled": C.disabled,
|
|
8780
|
-
class:
|
|
8780
|
+
class: O(["r-tooltip-trigger", B.triggerClass]),
|
|
8781
8781
|
onClick: l,
|
|
8782
8782
|
onMouseenter: o,
|
|
8783
|
-
onMouseleave:
|
|
8783
|
+
onMouseleave: n,
|
|
8784
8784
|
onMousemove: a
|
|
8785
8785
|
}, [
|
|
8786
|
-
f(
|
|
8786
|
+
f(B.$slots, "default", {
|
|
8787
8787
|
activators: {
|
|
8788
8788
|
click: l,
|
|
8789
8789
|
mouseenter: o,
|
|
8790
|
-
mouseleave:
|
|
8790
|
+
mouseleave: n,
|
|
8791
8791
|
mousemove: a
|
|
8792
8792
|
},
|
|
8793
8793
|
updatePosition: u
|
|
@@ -8797,31 +8797,31 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8797
8797
|
}, null, 8, E5)
|
|
8798
8798
|
])
|
|
8799
8799
|
], 42, _5),
|
|
8800
|
-
(m(),
|
|
8800
|
+
(m(), E(s2, { to: "body" }, [
|
|
8801
8801
|
S("div", {
|
|
8802
8802
|
id: "tooltip",
|
|
8803
8803
|
ref_key: "tooltip",
|
|
8804
8804
|
ref: L,
|
|
8805
|
-
class:
|
|
8805
|
+
class: O([k.value, B.tooltipClass]),
|
|
8806
8806
|
role: "tooltip"
|
|
8807
8807
|
}, [
|
|
8808
|
-
f(
|
|
8809
|
-
hide:
|
|
8808
|
+
f(B.$slots, "content", {
|
|
8809
|
+
hide: t,
|
|
8810
8810
|
updatePosition: u
|
|
8811
8811
|
}, () => [
|
|
8812
8812
|
C.text ? (m(), Z("div", {
|
|
8813
8813
|
key: 0,
|
|
8814
|
-
class:
|
|
8814
|
+
class: O(["r-tooltip__content", {
|
|
8815
8815
|
"r-tooltip__content--dark": C.dark,
|
|
8816
8816
|
"r-tooltip__content--light": C.light
|
|
8817
8817
|
}])
|
|
8818
|
-
},
|
|
8818
|
+
}, w(C.text), 3)) : p("", !0),
|
|
8819
8819
|
C.text ? (m(), Z("div", {
|
|
8820
8820
|
key: 1,
|
|
8821
8821
|
id: "arrow",
|
|
8822
8822
|
ref_key: "arrowElement",
|
|
8823
8823
|
ref: i,
|
|
8824
|
-
class:
|
|
8824
|
+
class: O(["r-tooltip__arrow", {
|
|
8825
8825
|
"r-tooltip__arrow--dark": C.dark,
|
|
8826
8826
|
"r-tooltip__arrow--light": C.light
|
|
8827
8827
|
}])
|
|
@@ -8843,7 +8843,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8843
8843
|
}, X5 = {
|
|
8844
8844
|
key: 1,
|
|
8845
8845
|
class: "r-dropdown-hint"
|
|
8846
|
-
}, Y5 = /* @__PURE__ */
|
|
8846
|
+
}, Y5 = /* @__PURE__ */ R({
|
|
8847
8847
|
__name: "RDropdown",
|
|
8848
8848
|
props: {
|
|
8849
8849
|
options: { default: () => [] },
|
|
@@ -8871,99 +8871,99 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8871
8871
|
},
|
|
8872
8872
|
emits: ["update:modelValue"],
|
|
8873
8873
|
setup(H, { emit: V }) {
|
|
8874
|
-
const C = H, M = V, A =
|
|
8875
|
-
function
|
|
8876
|
-
if (!
|
|
8874
|
+
const C = H, M = V, A = N({}), L = N([]), i = N(!1), e = N("");
|
|
8875
|
+
function t(r) {
|
|
8876
|
+
if (!r || typeof r == "object" || typeof r == "function" || typeof r == "symbol" || typeof r > "u" || Array.isArray(r))
|
|
8877
8877
|
return !0;
|
|
8878
|
-
const [h] = Object == null ? void 0 : Object.keys(
|
|
8878
|
+
const [h] = Object == null ? void 0 : Object.keys(r);
|
|
8879
8879
|
return ["label", "value"].includes(h);
|
|
8880
8880
|
}
|
|
8881
|
-
const
|
|
8882
|
-
const
|
|
8883
|
-
return
|
|
8881
|
+
const d = g(() => {
|
|
8882
|
+
const r = C.options;
|
|
8883
|
+
return t(r[0]) ? r : r.map((h) => ({
|
|
8884
8884
|
value: h,
|
|
8885
8885
|
label: String(h)
|
|
8886
8886
|
}));
|
|
8887
8887
|
}), l = g(() => {
|
|
8888
|
-
const
|
|
8889
|
-
return
|
|
8890
|
-
value:
|
|
8891
|
-
label: String(
|
|
8888
|
+
const r = C.modelValue;
|
|
8889
|
+
return t(r) ? r : {
|
|
8890
|
+
value: r,
|
|
8891
|
+
label: String(r)
|
|
8892
8892
|
};
|
|
8893
|
-
}), o =
|
|
8894
|
-
function u(
|
|
8895
|
-
var
|
|
8896
|
-
if (
|
|
8893
|
+
}), o = N(), n = N(), a = N();
|
|
8894
|
+
function u(r, h, b) {
|
|
8895
|
+
var _, s, x;
|
|
8896
|
+
if (r.stopPropagation(), !C.disabled) {
|
|
8897
8897
|
if (i.value = !0, h && h(), i.value) {
|
|
8898
|
-
(
|
|
8898
|
+
(_ = o.value) == null || _.classList.add("r-dropdown--active"), (s = o.value) == null || s.focus(), (x = n.value) == null || x.focus();
|
|
8899
8899
|
return;
|
|
8900
8900
|
}
|
|
8901
|
-
|
|
8901
|
+
k();
|
|
8902
8902
|
}
|
|
8903
8903
|
}
|
|
8904
|
-
function
|
|
8905
|
-
var
|
|
8906
|
-
i.value = !1, (
|
|
8904
|
+
function k() {
|
|
8905
|
+
var r, h, b;
|
|
8906
|
+
i.value = !1, (r = o.value) == null || r.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = n.value) == null || b.blur();
|
|
8907
8907
|
}
|
|
8908
|
-
function
|
|
8908
|
+
function B(r, h, b, _) {
|
|
8909
8909
|
var s;
|
|
8910
|
-
if (
|
|
8910
|
+
if (r.stopPropagation(), _({ hideDetails: C.hideDetails }), !h.disabled) {
|
|
8911
8911
|
if (C.multiple) {
|
|
8912
|
-
L.value.find((
|
|
8912
|
+
L.value.find((x) => x.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
|
|
8913
8913
|
return;
|
|
8914
8914
|
}
|
|
8915
|
-
|
|
8915
|
+
y(r, h), C.closeOnSelect && (b(), k());
|
|
8916
8916
|
}
|
|
8917
8917
|
}
|
|
8918
|
-
function
|
|
8918
|
+
function y(r, h) {
|
|
8919
8919
|
if (A.value.value === h.value) {
|
|
8920
8920
|
A.value = {}, e.value = "", M("update:modelValue", "");
|
|
8921
8921
|
return;
|
|
8922
8922
|
}
|
|
8923
|
-
e.value = h.label, A.value = h, u(
|
|
8923
|
+
e.value = h.label, A.value = h, u(r), M("update:modelValue", h);
|
|
8924
8924
|
}
|
|
8925
|
-
function P(
|
|
8926
|
-
if (
|
|
8925
|
+
function P(r, h, b) {
|
|
8926
|
+
if (r instanceof KeyboardEvent && r.key !== "Backspace" || e.value !== "")
|
|
8927
8927
|
return;
|
|
8928
|
-
|
|
8929
|
-
const
|
|
8930
|
-
L.value.splice(
|
|
8928
|
+
r.stopPropagation(), b({ hideDetails: C.hideDetails });
|
|
8929
|
+
const _ = L.value.findIndex((s) => s.value === h.value);
|
|
8930
|
+
L.value.splice(_, 1);
|
|
8931
8931
|
}
|
|
8932
|
-
function v(
|
|
8932
|
+
function v(r, h) {
|
|
8933
8933
|
var s;
|
|
8934
8934
|
if (!C.multiple)
|
|
8935
8935
|
return;
|
|
8936
|
-
|
|
8936
|
+
r.stopPropagation(), h({ hideDetails: C.hideDetails });
|
|
8937
8937
|
const b = e.value;
|
|
8938
8938
|
if (b === "")
|
|
8939
8939
|
return;
|
|
8940
|
-
|
|
8940
|
+
d.value.find((x) => x.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
|
|
8941
8941
|
}
|
|
8942
|
-
function
|
|
8942
|
+
function F(r) {
|
|
8943
8943
|
var h;
|
|
8944
|
-
return !
|
|
8944
|
+
return !r || (r == null ? void 0 : r.value) === void 0 || (r == null ? void 0 : r.value) === null ? !1 : C.multiple ? L.value.find((b) => (b == null ? void 0 : b.value) === (r == null ? void 0 : r.value)) : ((h = A.value) == null ? void 0 : h.value) === (r == null ? void 0 : r.value);
|
|
8945
8945
|
}
|
|
8946
|
-
const
|
|
8947
|
-
function
|
|
8946
|
+
const T = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), Q = g(() => !C.searchable);
|
|
8947
|
+
function W() {
|
|
8948
8948
|
l.value ? C.multiple ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
|
|
8949
8949
|
}
|
|
8950
|
-
function
|
|
8951
|
-
C.searchable &&
|
|
8950
|
+
function c(r) {
|
|
8951
|
+
C.searchable && r({ hideDetails: C.hideDetails }), !C.multiple && e.value === "" && (A.value = {}, M("update:modelValue", ""));
|
|
8952
8952
|
}
|
|
8953
|
-
function
|
|
8954
|
-
if (
|
|
8953
|
+
function I(r, h) {
|
|
8954
|
+
if (r.stopPropagation(), h({ hideDetails: C.hideDetails }), C.multiple) {
|
|
8955
8955
|
L.value.splice(0, L.value.length);
|
|
8956
8956
|
return;
|
|
8957
8957
|
}
|
|
8958
8958
|
A.value = {}, e.value = "", M("update:modelValue", "");
|
|
8959
8959
|
}
|
|
8960
8960
|
return X1(() => {
|
|
8961
|
-
|
|
8962
|
-
}),
|
|
8963
|
-
M("update:modelValue",
|
|
8964
|
-
}),
|
|
8965
|
-
|
|
8966
|
-
}), (
|
|
8961
|
+
W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
|
|
8962
|
+
}), $(L, (r) => {
|
|
8963
|
+
M("update:modelValue", r);
|
|
8964
|
+
}), $(() => l.value, (r) => {
|
|
8965
|
+
W();
|
|
8966
|
+
}), (r, h) => (m(), Z("div", {
|
|
8967
8967
|
ref_key: "wrapper",
|
|
8968
8968
|
ref: a,
|
|
8969
8969
|
class: "r-dropdown-wrapper"
|
|
@@ -8978,13 +8978,13 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8978
8978
|
"trigger-class": "w-full",
|
|
8979
8979
|
triggers: ["click"],
|
|
8980
8980
|
type: "dropdown",
|
|
8981
|
-
onHide:
|
|
8981
|
+
onHide: k
|
|
8982
8982
|
}, {
|
|
8983
|
-
default: n1(({ activators: b, updatePosition:
|
|
8983
|
+
default: n1(({ activators: b, updatePosition: _ }) => [
|
|
8984
8984
|
S("div", {
|
|
8985
8985
|
ref_key: "dropdown",
|
|
8986
8986
|
ref: o,
|
|
8987
|
-
class:
|
|
8987
|
+
class: O(["r-dropdown", {
|
|
8988
8988
|
"r-dropdown--disabled": C.disabled,
|
|
8989
8989
|
"r-dropdown--loading": C.loading,
|
|
8990
8990
|
[C.dropdownClass]: C.dropdownClass,
|
|
@@ -8994,54 +8994,54 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
8994
8994
|
role: "select",
|
|
8995
8995
|
onClick: (s) => u(s, b.click)
|
|
8996
8996
|
}, [
|
|
8997
|
-
C.prependIcon ||
|
|
8997
|
+
C.prependIcon || r.$slots.prepend ? (m(), Z("div", {
|
|
8998
8998
|
key: 0,
|
|
8999
|
-
class:
|
|
8999
|
+
class: O(["r-dropdown__prepend-icon", {
|
|
9000
9000
|
"r-dropdown__prepend-icon--active": i.value,
|
|
9001
9001
|
"r-dropdown__prepend-icon--error": C.errorMsg
|
|
9002
9002
|
}])
|
|
9003
9003
|
}, [
|
|
9004
|
-
f(
|
|
9005
|
-
C.prependIcon ? (m(),
|
|
9004
|
+
f(r.$slots, "prepend", {}, () => [
|
|
9005
|
+
C.prependIcon ? (m(), E(D, {
|
|
9006
9006
|
key: 0,
|
|
9007
9007
|
name: C.prependIcon
|
|
9008
9008
|
}, null, 8, ["name"])) : p("", !0)
|
|
9009
9009
|
])
|
|
9010
9010
|
], 2)) : p("", !0),
|
|
9011
9011
|
S("div", I5, [
|
|
9012
|
-
(m(!0), Z(i1, null, o1(L.value, (s,
|
|
9013
|
-
key:
|
|
9014
|
-
index:
|
|
9012
|
+
(m(!0), Z(i1, null, o1(L.value, (s, x) => f(r.$slots, "selection", {
|
|
9013
|
+
key: x,
|
|
9014
|
+
index: x,
|
|
9015
9015
|
option: s,
|
|
9016
9016
|
removeOption: P
|
|
9017
9017
|
}, () => [
|
|
9018
|
-
C.chips ? (m(),
|
|
9018
|
+
C.chips ? (m(), E(Y2, {
|
|
9019
9019
|
key: 1,
|
|
9020
9020
|
clearable: !C.hideChipClear,
|
|
9021
9021
|
label: s.label,
|
|
9022
9022
|
"no-wrap": "",
|
|
9023
9023
|
variant: "info",
|
|
9024
|
-
"onClick:close": (
|
|
9025
|
-
}, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", Q5,
|
|
9024
|
+
"onClick:close": (U) => P(U, s, _)
|
|
9025
|
+
}, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", Q5, w(`${s.label}, `), 1))
|
|
9026
9026
|
])), 128)),
|
|
9027
9027
|
Y1(S("input", {
|
|
9028
9028
|
id: C.id,
|
|
9029
9029
|
ref_key: "input",
|
|
9030
|
-
ref:
|
|
9030
|
+
ref: n,
|
|
9031
9031
|
"onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
|
|
9032
9032
|
autocomplete: C.autocomplete,
|
|
9033
|
-
class:
|
|
9033
|
+
class: O(["r-dropdown__input", {
|
|
9034
9034
|
"r-dropdown__input--loading": C.loading
|
|
9035
9035
|
}]),
|
|
9036
9036
|
disabled: C.disabled,
|
|
9037
9037
|
placeholder: C.placeholder,
|
|
9038
|
-
readonly:
|
|
9038
|
+
readonly: Q.value,
|
|
9039
9039
|
role: "presentation",
|
|
9040
9040
|
type: "text",
|
|
9041
|
-
onInput: e1((s) =>
|
|
9041
|
+
onInput: e1((s) => c(_), ["prevent"]),
|
|
9042
9042
|
onKeydown: [
|
|
9043
|
-
N1((s) => P(s, L.value[L.value.length - 1],
|
|
9044
|
-
N1((s) => v(s,
|
|
9043
|
+
N1((s) => P(s, L.value[L.value.length - 1], _), ["backspace"]),
|
|
9044
|
+
N1((s) => v(s, _), ["enter"])
|
|
9045
9045
|
]
|
|
9046
9046
|
}, null, 42, G5), [
|
|
9047
9047
|
[c2, e.value]
|
|
@@ -9051,22 +9051,22 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9051
9051
|
key: 1,
|
|
9052
9052
|
class: "r-dropdown__clearable",
|
|
9053
9053
|
"data-has-value": (e.value !== "" || L.value.length) && i.value,
|
|
9054
|
-
onClick: (s) =>
|
|
9054
|
+
onClick: (s) => I(s, _)
|
|
9055
9055
|
}, [
|
|
9056
|
-
K(
|
|
9056
|
+
K(D, {
|
|
9057
9057
|
name: "mdiCloseCircle",
|
|
9058
9058
|
size: "18"
|
|
9059
9059
|
})
|
|
9060
9060
|
], 8, $5)) : p("", !0),
|
|
9061
|
-
C.appendIcon ||
|
|
9061
|
+
C.appendIcon || r.$slots.append ? (m(), Z("div", {
|
|
9062
9062
|
key: 2,
|
|
9063
|
-
class:
|
|
9063
|
+
class: O(["r-dropdown__append-icon", {
|
|
9064
9064
|
"r-dropdown__append-icon--active": i.value,
|
|
9065
9065
|
"r-dropdown__append-icon--error": C.errorMsg
|
|
9066
9066
|
}])
|
|
9067
9067
|
}, [
|
|
9068
|
-
f(
|
|
9069
|
-
C.appendIcon ? (m(),
|
|
9068
|
+
f(r.$slots, "append", {}, () => [
|
|
9069
|
+
C.appendIcon ? (m(), E(D, {
|
|
9070
9070
|
key: 0,
|
|
9071
9071
|
name: C.appendIcon
|
|
9072
9072
|
}, null, 8, ["name"])) : p("", !0)
|
|
@@ -9074,68 +9074,68 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9074
9074
|
], 2)) : p("", !0)
|
|
9075
9075
|
], 10, N5)
|
|
9076
9076
|
]),
|
|
9077
|
-
content: n1(({ hide: b, updatePosition:
|
|
9077
|
+
content: n1(({ hide: b, updatePosition: _ }) => [
|
|
9078
9078
|
S("ul", {
|
|
9079
|
-
class:
|
|
9079
|
+
class: O(["r-dropdown-options", {
|
|
9080
9080
|
"r-dropdown-options--active": i.value,
|
|
9081
9081
|
[C.optionsClass]: C.optionsClass
|
|
9082
9082
|
}])
|
|
9083
9083
|
}, [
|
|
9084
|
-
(m(!0), Z(i1, null, o1(
|
|
9084
|
+
(m(!0), Z(i1, null, o1(T.value, (s) => (m(), Z("li", {
|
|
9085
9085
|
key: s.value,
|
|
9086
9086
|
"aria-disabled": s.disabled,
|
|
9087
|
-
class:
|
|
9088
|
-
"r-dropdown-options__option--active":
|
|
9087
|
+
class: O(["r-dropdown-options__option", {
|
|
9088
|
+
"r-dropdown-options__option--active": F(s),
|
|
9089
9089
|
"r-dropdown-options__option--disabled": s.disabled
|
|
9090
9090
|
}]),
|
|
9091
|
-
onClick: e1((
|
|
9091
|
+
onClick: e1((x) => B(x, s, b, _), ["prevent"])
|
|
9092
9092
|
}, [
|
|
9093
|
-
f(
|
|
9094
|
-
isSelected:
|
|
9093
|
+
f(r.$slots, "option", {
|
|
9094
|
+
isSelected: F(s)
|
|
9095
9095
|
}, () => [
|
|
9096
9096
|
S("div", z5, [
|
|
9097
|
-
f(
|
|
9098
|
-
s.prependIcon ? (m(),
|
|
9097
|
+
f(r.$slots, "option-prepend", {}, () => [
|
|
9098
|
+
s.prependIcon ? (m(), E(D, {
|
|
9099
9099
|
key: 0,
|
|
9100
|
-
class:
|
|
9101
|
-
"r-dropdown-options__option__prepend-icon--active":
|
|
9100
|
+
class: O(["r-dropdown-options__option__prepend-icon", {
|
|
9101
|
+
"r-dropdown-options__option__prepend-icon--active": F(s)
|
|
9102
9102
|
}]),
|
|
9103
9103
|
name: s.prependIcon
|
|
9104
9104
|
}, null, 8, ["class", "name"])) : p("", !0)
|
|
9105
9105
|
]),
|
|
9106
9106
|
S("p", {
|
|
9107
|
-
class:
|
|
9108
|
-
"r-dropdown-options__option__label--active":
|
|
9107
|
+
class: O(["r-dropdown-options__option__label", {
|
|
9108
|
+
"r-dropdown-options__option__label--active": F(s)
|
|
9109
9109
|
}])
|
|
9110
|
-
},
|
|
9110
|
+
}, w(s.label), 3)
|
|
9111
9111
|
]),
|
|
9112
|
-
f(
|
|
9113
|
-
|
|
9112
|
+
f(r.$slots, "option-append", {}, () => [
|
|
9113
|
+
F(s) && !C.hideOptionCheckIcon ? (m(), E(D, {
|
|
9114
9114
|
key: 0,
|
|
9115
|
-
class:
|
|
9116
|
-
"r-dropdown-options__option__append-icon--active":
|
|
9115
|
+
class: O(["r-dropdown-options__option__append-icon", {
|
|
9116
|
+
"r-dropdown-options__option__append-icon--active": F(s)
|
|
9117
9117
|
}]),
|
|
9118
9118
|
name: "mdiCheck"
|
|
9119
9119
|
}, null, 8, ["class"])) : p("", !0)
|
|
9120
9120
|
])
|
|
9121
9121
|
])
|
|
9122
9122
|
], 10, U5))), 128)),
|
|
9123
|
-
|
|
9124
|
-
f(
|
|
9125
|
-
R1(
|
|
9123
|
+
T.value.length === 0 ? (m(), Z("li", K5, [
|
|
9124
|
+
f(r.$slots, "not-options", {}, () => [
|
|
9125
|
+
R1(w(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
|
|
9126
9126
|
])
|
|
9127
9127
|
])) : p("", !0)
|
|
9128
9128
|
], 2)
|
|
9129
9129
|
]),
|
|
9130
9130
|
_: 3
|
|
9131
9131
|
}),
|
|
9132
|
-
|
|
9133
|
-
C.errorMsg ? (m(), Z("div", j5,
|
|
9134
|
-
C.hint ? (m(), Z("div", X5,
|
|
9132
|
+
r.$props.hideDetails ? p("", !0) : (m(), Z("div", q5, [
|
|
9133
|
+
C.errorMsg ? (m(), Z("div", j5, w(C.errorMsg), 1)) : p("", !0),
|
|
9134
|
+
C.hint ? (m(), Z("div", X5, w(C.hint), 1)) : p("", !0)
|
|
9135
9135
|
]))
|
|
9136
9136
|
], 512));
|
|
9137
9137
|
}
|
|
9138
|
-
}), J5 = ["id", "for"], r2 = /* @__PURE__ */
|
|
9138
|
+
}), J5 = ["id", "for"], r2 = /* @__PURE__ */ R({
|
|
9139
9139
|
__name: "RLabel",
|
|
9140
9140
|
props: {
|
|
9141
9141
|
id: { default: "" },
|
|
@@ -9150,7 +9150,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9150
9150
|
for: V.for
|
|
9151
9151
|
}, [
|
|
9152
9152
|
f(C.$slots, "default", {}, () => [
|
|
9153
|
-
R1(
|
|
9153
|
+
R1(w(V.text), 1)
|
|
9154
9154
|
])
|
|
9155
9155
|
], 8, J5));
|
|
9156
9156
|
}
|
|
@@ -9163,7 +9163,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9163
9163
|
}, A3 = {
|
|
9164
9164
|
key: 2,
|
|
9165
9165
|
class: "description"
|
|
9166
|
-
}, i3 = { class: "r-dialog__body" }, e3 = { class: "r-dialog__actions" }, m0 = /* @__PURE__ */
|
|
9166
|
+
}, i3 = { class: "r-dialog__body" }, e3 = { class: "r-dialog__actions" }, m0 = /* @__PURE__ */ R({
|
|
9167
9167
|
__name: "RModal",
|
|
9168
9168
|
props: {
|
|
9169
9169
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -9196,13 +9196,13 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9196
9196
|
!C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
|
|
9197
9197
|
}), window.addEventListener("keydown", (e) => {
|
|
9198
9198
|
e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
|
|
9199
|
-
}), (e,
|
|
9200
|
-
class:
|
|
9199
|
+
}), (e, t) => Y1((m(), Z("div", {
|
|
9200
|
+
class: O(["r-modal-overlay", e.overlayClass]),
|
|
9201
9201
|
onClick: e1(i, ["stop"])
|
|
9202
9202
|
}, [
|
|
9203
9203
|
S("div", {
|
|
9204
9204
|
"aria-modal": "true",
|
|
9205
|
-
class:
|
|
9205
|
+
class: O(A.value),
|
|
9206
9206
|
open: C.modelValue,
|
|
9207
9207
|
role: "dialog",
|
|
9208
9208
|
style: x1(L.value)
|
|
@@ -9210,12 +9210,12 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9210
9210
|
S("div", V3, [
|
|
9211
9211
|
f(e.$slots, "header"),
|
|
9212
9212
|
C.icon ? (m(), Z("div", L3, [
|
|
9213
|
-
K(
|
|
9213
|
+
K(D, {
|
|
9214
9214
|
name: C.icon
|
|
9215
9215
|
}, null, 8, ["name"])
|
|
9216
9216
|
])) : p("", !0),
|
|
9217
|
-
C.title ? (m(), Z("div", M3,
|
|
9218
|
-
C.description ? (m(), Z("div", A3,
|
|
9217
|
+
C.title ? (m(), Z("div", M3, w(C.title), 1)) : p("", !0),
|
|
9218
|
+
C.description ? (m(), Z("div", A3, w(C.description), 1)) : p("", !0)
|
|
9219
9219
|
]),
|
|
9220
9220
|
S("div", i3, [
|
|
9221
9221
|
f(e.$slots, "default")
|
|
@@ -9228,7 +9228,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9228
9228
|
[p2, e.modelValue]
|
|
9229
9229
|
]);
|
|
9230
9230
|
}
|
|
9231
|
-
}), d3 = ["data-open"], t3 = ["data-open"], m3 = ["data-open"], l0 = /* @__PURE__ */
|
|
9231
|
+
}), d3 = ["data-open"], t3 = ["data-open"], m3 = ["data-open"], l0 = /* @__PURE__ */ R({
|
|
9232
9232
|
__name: "RSidebar",
|
|
9233
9233
|
props: {
|
|
9234
9234
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -9241,18 +9241,18 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9241
9241
|
setup(H, { emit: V }) {
|
|
9242
9242
|
const C = H, M = V;
|
|
9243
9243
|
return (A, L) => (m(), Z("div", {
|
|
9244
|
-
class:
|
|
9244
|
+
class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
|
|
9245
9245
|
"data-open": C.modelValue
|
|
9246
9246
|
}, [
|
|
9247
9247
|
S("aside", {
|
|
9248
|
-
class:
|
|
9248
|
+
class: O(["r-sidebar", [C.class]]),
|
|
9249
9249
|
"data-open": C.modelValue
|
|
9250
9250
|
}, [
|
|
9251
9251
|
f(A.$slots, "default")
|
|
9252
9252
|
], 10, t3),
|
|
9253
9253
|
C.showTrigger ? (m(), Z("div", {
|
|
9254
9254
|
key: 0,
|
|
9255
|
-
class:
|
|
9255
|
+
class: O(["r-sidebar__trigger", [C.triggerClass]]),
|
|
9256
9256
|
"data-open": C.modelValue,
|
|
9257
9257
|
onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
|
|
9258
9258
|
}, [
|
|
@@ -9265,7 +9265,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9265
9265
|
}), l3 = { class: "r-snackbar__text" }, o3 = {
|
|
9266
9266
|
key: 0,
|
|
9267
9267
|
class: "r-snackbar__close"
|
|
9268
|
-
}, o0 = /* @__PURE__ */
|
|
9268
|
+
}, o0 = /* @__PURE__ */ R({
|
|
9269
9269
|
__name: "RSnackbar",
|
|
9270
9270
|
props: {
|
|
9271
9271
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -9279,7 +9279,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9279
9279
|
emits: ["action", "update:modelValue"],
|
|
9280
9280
|
setup(H, { emit: V }) {
|
|
9281
9281
|
const C = H, M = V;
|
|
9282
|
-
|
|
9282
|
+
$(
|
|
9283
9283
|
() => C.modelValue,
|
|
9284
9284
|
() => {
|
|
9285
9285
|
C.timeout > 0 && C.modelValue && setTimeout(() => {
|
|
@@ -9304,23 +9304,23 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9304
9304
|
info: "mdiInformation"
|
|
9305
9305
|
})[C.variant || "info"]);
|
|
9306
9306
|
return (i, e) => (m(), Z("div", {
|
|
9307
|
-
class:
|
|
9307
|
+
class: O(A.value)
|
|
9308
9308
|
}, [
|
|
9309
9309
|
f(i.$slots, "default", {}, () => [
|
|
9310
|
-
C.variant ? (m(),
|
|
9310
|
+
C.variant ? (m(), E(D, {
|
|
9311
9311
|
key: 0,
|
|
9312
9312
|
class: "r-snackbar__icon",
|
|
9313
9313
|
name: L.value
|
|
9314
9314
|
}, null, 8, ["name"])) : p("", !0)
|
|
9315
9315
|
]),
|
|
9316
|
-
S("div", l3,
|
|
9316
|
+
S("div", l3, w(C.text), 1),
|
|
9317
9317
|
f(i.$slots, "action"),
|
|
9318
9318
|
C.closable ? (m(), Z("div", o3, [
|
|
9319
9319
|
f(i.$slots, "close", {}, () => [
|
|
9320
|
-
K(
|
|
9320
|
+
K(D, {
|
|
9321
9321
|
name: "mdiClose",
|
|
9322
9322
|
size: 16,
|
|
9323
|
-
onClick: e[0] || (e[0] = e1((
|
|
9323
|
+
onClick: e[0] || (e[0] = e1((t) => i.$emit("update:modelValue", !1), ["stop"]))
|
|
9324
9324
|
})
|
|
9325
9325
|
])
|
|
9326
9326
|
])) : p("", !0)
|
|
@@ -9335,7 +9335,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9335
9335
|
}, S3 = {
|
|
9336
9336
|
key: 1,
|
|
9337
9337
|
class: "r-switch-texts__hint"
|
|
9338
|
-
}, n0 = /* @__PURE__ */
|
|
9338
|
+
}, n0 = /* @__PURE__ */ R({
|
|
9339
9339
|
__name: "RSwitch",
|
|
9340
9340
|
props: {
|
|
9341
9341
|
id: { default: "switch" },
|
|
@@ -9361,7 +9361,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9361
9361
|
function i(e) {
|
|
9362
9362
|
C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
|
|
9363
9363
|
}
|
|
9364
|
-
return
|
|
9364
|
+
return $(
|
|
9365
9365
|
() => C.modelValue,
|
|
9366
9366
|
(e) => {
|
|
9367
9367
|
A.checked = e;
|
|
@@ -9371,14 +9371,14 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9371
9371
|
// TODO: find a better way to do this
|
|
9372
9372
|
immediate: !0
|
|
9373
9373
|
}
|
|
9374
|
-
), (e,
|
|
9375
|
-
class:
|
|
9374
|
+
), (e, t) => (m(), Z("div", {
|
|
9375
|
+
class: O(["r-switch-container", {
|
|
9376
9376
|
"r-switch-container--reverse": C.reverse,
|
|
9377
9377
|
"r-switch-container--hide-details": C.hideDetails
|
|
9378
9378
|
}])
|
|
9379
9379
|
}, [
|
|
9380
9380
|
S("div", {
|
|
9381
|
-
class:
|
|
9381
|
+
class: O(L.value)
|
|
9382
9382
|
}, [
|
|
9383
9383
|
S("input", {
|
|
9384
9384
|
id: C.id,
|
|
@@ -9391,7 +9391,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9391
9391
|
r3
|
|
9392
9392
|
], 2),
|
|
9393
9393
|
S("div", {
|
|
9394
|
-
class:
|
|
9394
|
+
class: O(["r-switch-texts", {
|
|
9395
9395
|
[`r-switch-texts--${C.size}`]: !0
|
|
9396
9396
|
}])
|
|
9397
9397
|
}, [
|
|
@@ -9399,9 +9399,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ F({
|
|
|
9399
9399
|
id: `${C.id}-label`,
|
|
9400
9400
|
class: "r-switch-texts__label",
|
|
9401
9401
|
for: C.id
|
|
9402
|
-
},
|
|
9402
|
+
}, w(C.label), 9, a3),
|
|
9403
9403
|
C.hideDetails ? p("", !0) : (m(), Z("div", Z3, [
|
|
9404
|
-
C.errorMsg ? (m(), Z("p", u3,
|
|
9404
|
+
C.errorMsg ? (m(), Z("p", u3, w(C.errorMsg), 1)) : (m(), Z("p", S3, w(C.hint), 1))
|
|
9405
9405
|
]))
|
|
9406
9406
|
], 2)
|
|
9407
9407
|
], 2));
|
|
@@ -9411,7 +9411,7 @@ var l1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON
|
|
|
9411
9411
|
const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
9412
9412
|
key: 0,
|
|
9413
9413
|
class: "r-tab-item__label"
|
|
9414
|
-
}, O3 = /* @__PURE__ */
|
|
9414
|
+
}, O3 = /* @__PURE__ */ R({
|
|
9415
9415
|
__name: "RTabItem",
|
|
9416
9416
|
props: {
|
|
9417
9417
|
id: {},
|
|
@@ -9435,22 +9435,22 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9435
9435
|
})), L = g(() => ({
|
|
9436
9436
|
color: C.color
|
|
9437
9437
|
}));
|
|
9438
|
-
function i(
|
|
9439
|
-
M("update:modelValue",
|
|
9438
|
+
function i(t) {
|
|
9439
|
+
M("update:modelValue", t);
|
|
9440
9440
|
}
|
|
9441
9441
|
function e() {
|
|
9442
9442
|
M("click:icon");
|
|
9443
9443
|
}
|
|
9444
|
-
return (
|
|
9444
|
+
return (t, d) => (m(), Z("button", {
|
|
9445
9445
|
"aria-disabled": C.disabled,
|
|
9446
9446
|
"aria-selected": C.modelValue === C.id,
|
|
9447
|
-
class:
|
|
9447
|
+
class: O(A.value),
|
|
9448
9448
|
disabled: C.disabled,
|
|
9449
9449
|
style: x1(L.value),
|
|
9450
|
-
onClick:
|
|
9450
|
+
onClick: d[0] || (d[0] = e1((l) => i(C.id), ["stop"]))
|
|
9451
9451
|
}, [
|
|
9452
|
-
f(
|
|
9453
|
-
C.variant !== V1(l1).TEXT && C.prependIcon ? (m(),
|
|
9452
|
+
f(t.$slots, "prepend", {}, () => [
|
|
9453
|
+
C.variant !== V1(l1).TEXT && C.prependIcon ? (m(), E(D, {
|
|
9454
9454
|
key: 0,
|
|
9455
9455
|
class: "r-tab-item__prepend-icon",
|
|
9456
9456
|
name: C.prependIcon,
|
|
@@ -9462,12 +9462,12 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9462
9462
|
name: "fade"
|
|
9463
9463
|
}, {
|
|
9464
9464
|
default: n1(() => [
|
|
9465
|
-
C.variant !== V1(l1).ICON ? (m(), Z("span", c3,
|
|
9465
|
+
C.variant !== V1(l1).ICON ? (m(), Z("span", c3, w(C.label), 1)) : p("", !0)
|
|
9466
9466
|
]),
|
|
9467
9467
|
_: 1
|
|
9468
9468
|
}),
|
|
9469
|
-
f(
|
|
9470
|
-
C.variant !== V1(l1).TEXT && C.appendIcon ? (m(),
|
|
9469
|
+
f(t.$slots, "append", {}, () => [
|
|
9470
|
+
C.variant !== V1(l1).TEXT && C.appendIcon ? (m(), E(D, {
|
|
9471
9471
|
key: 0,
|
|
9472
9472
|
class: "r-tab-item__append-icon",
|
|
9473
9473
|
name: C.appendIcon,
|
|
@@ -9477,7 +9477,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9477
9477
|
])
|
|
9478
9478
|
], 14, s3));
|
|
9479
9479
|
}
|
|
9480
|
-
}), r0 = /* @__PURE__ */
|
|
9480
|
+
}), r0 = /* @__PURE__ */ R({
|
|
9481
9481
|
__name: "RTabs",
|
|
9482
9482
|
props: {
|
|
9483
9483
|
tabs: { default: () => [] },
|
|
@@ -9488,13 +9488,13 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9488
9488
|
},
|
|
9489
9489
|
emits: ["update:modelValue", "click:icon"],
|
|
9490
9490
|
setup(H, { emit: V }) {
|
|
9491
|
-
const C = H, M = V, A =
|
|
9491
|
+
const C = H, M = V, A = N(C.modelValue || C.tabs[0].id), L = g(() => ({
|
|
9492
9492
|
"r-tabs": !0,
|
|
9493
9493
|
"r-tabs--block": C.block,
|
|
9494
9494
|
"r-tabs--tile": C.tile,
|
|
9495
9495
|
"r-tabs--scrollable": C.scrollable
|
|
9496
9496
|
}));
|
|
9497
|
-
|
|
9497
|
+
$(
|
|
9498
9498
|
() => A.value,
|
|
9499
9499
|
() => {
|
|
9500
9500
|
M("update:modelValue", A.value);
|
|
@@ -9503,23 +9503,23 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9503
9503
|
function i() {
|
|
9504
9504
|
M("click:icon");
|
|
9505
9505
|
}
|
|
9506
|
-
return (e,
|
|
9507
|
-
class:
|
|
9506
|
+
return (e, t) => (m(), Z("div", {
|
|
9507
|
+
class: O(L.value)
|
|
9508
9508
|
}, [
|
|
9509
9509
|
f(e.$slots, "default", {}, () => [
|
|
9510
|
-
(m(!0), Z(i1, null, o1(C.tabs, (
|
|
9511
|
-
id:
|
|
9510
|
+
(m(!0), Z(i1, null, o1(C.tabs, (d, l) => (m(), E(O3, {
|
|
9511
|
+
id: d.id,
|
|
9512
9512
|
key: l,
|
|
9513
9513
|
modelValue: A.value,
|
|
9514
|
-
"onUpdate:modelValue":
|
|
9514
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => A.value = o),
|
|
9515
9515
|
active: l === A.value,
|
|
9516
|
-
"append-icon":
|
|
9516
|
+
"append-icon": d.appendIcon,
|
|
9517
9517
|
block: e.block,
|
|
9518
|
-
disabled:
|
|
9519
|
-
label:
|
|
9520
|
-
"prepend-icon":
|
|
9518
|
+
disabled: d.disabled,
|
|
9519
|
+
label: d.label,
|
|
9520
|
+
"prepend-icon": d.prependIcon,
|
|
9521
9521
|
tile: e.tile,
|
|
9522
|
-
variant:
|
|
9522
|
+
variant: d.variant,
|
|
9523
9523
|
"onClick:icon": i
|
|
9524
9524
|
}, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
|
|
9525
9525
|
])
|
|
@@ -9534,7 +9534,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9534
9534
|
}, k3 = {
|
|
9535
9535
|
key: 1,
|
|
9536
9536
|
class: "r-textarea__hint"
|
|
9537
|
-
}, a0 = /* @__PURE__ */
|
|
9537
|
+
}, a0 = /* @__PURE__ */ R({
|
|
9538
9538
|
__name: "RTextArea",
|
|
9539
9539
|
props: {
|
|
9540
9540
|
id: { default: "" },
|
|
@@ -9554,7 +9554,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9554
9554
|
function L(i) {
|
|
9555
9555
|
M("update:modelValue", i.target.value);
|
|
9556
9556
|
}
|
|
9557
|
-
return
|
|
9557
|
+
return $(
|
|
9558
9558
|
() => C.modelValue,
|
|
9559
9559
|
(i) => {
|
|
9560
9560
|
A.value = i;
|
|
@@ -9563,7 +9563,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9563
9563
|
immediate: !0
|
|
9564
9564
|
}
|
|
9565
9565
|
), (i, e) => (m(), Z("div", p3, [
|
|
9566
|
-
C.label ? (m(),
|
|
9566
|
+
C.label ? (m(), E(r2, {
|
|
9567
9567
|
key: 0,
|
|
9568
9568
|
id: `${C.id}-label`,
|
|
9569
9569
|
class: "r-textarea__label",
|
|
@@ -9582,7 +9582,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9582
9582
|
onInput: L
|
|
9583
9583
|
}), null, 16, f3),
|
|
9584
9584
|
C.hideDetails ? p("", !0) : (m(), Z("div", h3, [
|
|
9585
|
-
C.errorMsg ? (m(), Z("p", g3,
|
|
9585
|
+
C.errorMsg ? (m(), Z("p", g3, w(C.errorMsg), 1)) : (m(), Z("p", k3, w(C.hint), 1))
|
|
9586
9586
|
]))
|
|
9587
9587
|
]));
|
|
9588
9588
|
}
|
|
@@ -9595,7 +9595,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9595
9595
|
}, v3 = {
|
|
9596
9596
|
key: 1,
|
|
9597
9597
|
class: "r-textfield__hint"
|
|
9598
|
-
}, Z0 = /* @__PURE__ */
|
|
9598
|
+
}, Z0 = /* @__PURE__ */ R({
|
|
9599
9599
|
__name: "RTextfield",
|
|
9600
9600
|
props: {
|
|
9601
9601
|
id: { default: "" },
|
|
@@ -9625,106 +9625,106 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9625
9625
|
"click:clear"
|
|
9626
9626
|
],
|
|
9627
9627
|
setup(H, { emit: V }) {
|
|
9628
|
-
const C = H, M = V, A =
|
|
9628
|
+
const C = H, M = V, A = N(), L = Z1({
|
|
9629
9629
|
value: ""
|
|
9630
|
-
}), i =
|
|
9630
|
+
}), i = N(C.type), e = {
|
|
9631
9631
|
password: "mdiLock",
|
|
9632
9632
|
email: "mdiEmailOutline",
|
|
9633
9633
|
tel: "mdiPhone",
|
|
9634
9634
|
url: "mdiLink",
|
|
9635
9635
|
number: "mdiNumeric",
|
|
9636
9636
|
text: ""
|
|
9637
|
-
},
|
|
9638
|
-
var
|
|
9639
|
-
return (
|
|
9640
|
-
}),
|
|
9641
|
-
const { disabled:
|
|
9637
|
+
}, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
|
|
9638
|
+
var c;
|
|
9639
|
+
return (c = C.errorMsg) == null ? void 0 : c.length;
|
|
9640
|
+
}), n = g(() => C.clearable && l.value), a = g(() => {
|
|
9641
|
+
const { disabled: c, loading: I } = C;
|
|
9642
9642
|
return {
|
|
9643
9643
|
"r-textfield": !0,
|
|
9644
9644
|
"r-textfield--error": o.value,
|
|
9645
|
-
"r-textfield--loading":
|
|
9646
|
-
"r-textfield--disabled":
|
|
9647
|
-
"r-textfield--clearable":
|
|
9648
|
-
"r-textfield--focus":
|
|
9649
|
-
"r-textfield--filled":
|
|
9645
|
+
"r-textfield--loading": I,
|
|
9646
|
+
"r-textfield--disabled": c,
|
|
9647
|
+
"r-textfield--clearable": n.value,
|
|
9648
|
+
"r-textfield--focus": t.value,
|
|
9649
|
+
"r-textfield--filled": d.value
|
|
9650
9650
|
};
|
|
9651
9651
|
}), u = g(() => ({
|
|
9652
9652
|
"r-textfield__prepend-icon": !0,
|
|
9653
9653
|
"r-textfield__prepend-icon--loading": C.loading,
|
|
9654
|
-
"r-textfield__prepend-icon--error": o.value &&
|
|
9655
|
-
})),
|
|
9654
|
+
"r-textfield__prepend-icon--error": o.value && d.value
|
|
9655
|
+
})), k = g(() => ({
|
|
9656
9656
|
"r-textfield__append-icon": !0,
|
|
9657
|
-
"r-textfield__append-icon--clear":
|
|
9657
|
+
"r-textfield__append-icon--clear": n.value,
|
|
9658
9658
|
"r-textfield__append-icon--error": o.value
|
|
9659
|
-
})),
|
|
9660
|
-
const { prependIcon:
|
|
9661
|
-
return
|
|
9662
|
-
}),
|
|
9663
|
-
const { appendIcon:
|
|
9664
|
-
return
|
|
9659
|
+
})), B = g(() => {
|
|
9660
|
+
const { prependIcon: c, type: I } = C;
|
|
9661
|
+
return c === "none" ? "" : c || e[I];
|
|
9662
|
+
}), y = g(() => {
|
|
9663
|
+
const { appendIcon: c, type: I } = C;
|
|
9664
|
+
return c === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(I) ? "mdiClose" : I === "password" && i.value === "password" ? "mdiEyeOutline" : I === "password" && i.value === "text" ? "mdiEyeOffOutline" : c;
|
|
9665
9665
|
});
|
|
9666
|
-
function P(
|
|
9667
|
-
|
|
9666
|
+
function P(c) {
|
|
9667
|
+
t.value = !0, M("focus", c);
|
|
9668
9668
|
}
|
|
9669
|
-
function v(
|
|
9670
|
-
|
|
9669
|
+
function v(c) {
|
|
9670
|
+
t.value = !1, M("blur", c);
|
|
9671
9671
|
}
|
|
9672
|
-
function
|
|
9673
|
-
L.value =
|
|
9672
|
+
function F(c) {
|
|
9673
|
+
L.value = c.target.value, M("input", c);
|
|
9674
9674
|
}
|
|
9675
|
-
function
|
|
9676
|
-
var
|
|
9677
|
-
if (
|
|
9678
|
-
L.value = "", (
|
|
9675
|
+
function T() {
|
|
9676
|
+
var c;
|
|
9677
|
+
if (n.value) {
|
|
9678
|
+
L.value = "", (c = A.value) == null || c.focus(), M("click:clear", {
|
|
9679
9679
|
value: i.value === "number" ? +L.value : L.value
|
|
9680
9680
|
});
|
|
9681
9681
|
return;
|
|
9682
9682
|
}
|
|
9683
9683
|
M("click:icon", {
|
|
9684
9684
|
value: i.value === "number" ? +L.value : L.value
|
|
9685
|
-
}), C.type === "password" &&
|
|
9685
|
+
}), C.type === "password" && Q();
|
|
9686
9686
|
}
|
|
9687
|
-
function
|
|
9687
|
+
function Q() {
|
|
9688
9688
|
i.value = i.value === "password" ? "text" : "password";
|
|
9689
9689
|
}
|
|
9690
|
-
function
|
|
9691
|
-
var
|
|
9692
|
-
(
|
|
9690
|
+
function W() {
|
|
9691
|
+
var c;
|
|
9692
|
+
(c = A.value) == null || c.focus();
|
|
9693
9693
|
}
|
|
9694
|
-
return
|
|
9694
|
+
return $(
|
|
9695
9695
|
() => C.modelValue,
|
|
9696
|
-
(
|
|
9697
|
-
L.value =
|
|
9696
|
+
(c) => {
|
|
9697
|
+
L.value = c;
|
|
9698
9698
|
},
|
|
9699
9699
|
{
|
|
9700
9700
|
immediate: !0
|
|
9701
9701
|
}
|
|
9702
|
-
),
|
|
9702
|
+
), $(
|
|
9703
9703
|
() => L.value,
|
|
9704
|
-
(
|
|
9704
|
+
(c) => {
|
|
9705
9705
|
M(
|
|
9706
9706
|
"update:modelValue",
|
|
9707
|
-
i.value === "number" ? +
|
|
9707
|
+
i.value === "number" ? +c : c
|
|
9708
9708
|
);
|
|
9709
9709
|
}
|
|
9710
|
-
), (
|
|
9711
|
-
C.label ? (m(),
|
|
9710
|
+
), (c, I) => (m(), Z("div", B3, [
|
|
9711
|
+
C.label ? (m(), E(r2, {
|
|
9712
9712
|
key: 0,
|
|
9713
9713
|
id: `${C.id}-label`,
|
|
9714
9714
|
class: "r-textfield__label",
|
|
9715
9715
|
for: C.id,
|
|
9716
9716
|
text: C.label,
|
|
9717
|
-
onClick:
|
|
9717
|
+
onClick: W
|
|
9718
9718
|
}, null, 8, ["id", "for", "text"])) : p("", !0),
|
|
9719
9719
|
S("div", b3, [
|
|
9720
9720
|
S("div", {
|
|
9721
|
-
class:
|
|
9721
|
+
class: O(a.value)
|
|
9722
9722
|
}, [
|
|
9723
|
-
f(
|
|
9724
|
-
|
|
9723
|
+
f(c.$slots, "prepend"),
|
|
9724
|
+
B.value && !c.$slots.prepend ? (m(), E(D, {
|
|
9725
9725
|
key: 0,
|
|
9726
|
-
class:
|
|
9727
|
-
name:
|
|
9726
|
+
class: O(u.value),
|
|
9727
|
+
name: B.value,
|
|
9728
9728
|
size: 20
|
|
9729
9729
|
}, null, 8, ["class", "name"])) : p("", !0),
|
|
9730
9730
|
S("input", {
|
|
@@ -9741,20 +9741,20 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9741
9741
|
value: L.value,
|
|
9742
9742
|
onBlur: v,
|
|
9743
9743
|
onFocus: P,
|
|
9744
|
-
onInput:
|
|
9744
|
+
onInput: F
|
|
9745
9745
|
}, null, 40, w3),
|
|
9746
|
-
o.value ? p("", !0) : f(
|
|
9747
|
-
|
|
9746
|
+
o.value ? p("", !0) : f(c.$slots, "append", { key: 1 }),
|
|
9747
|
+
y.value && !c.$slots.append || o.value ? (m(), E(D, {
|
|
9748
9748
|
key: 2,
|
|
9749
|
-
class:
|
|
9750
|
-
name: `${
|
|
9749
|
+
class: O(k.value),
|
|
9750
|
+
name: `${y.value}`,
|
|
9751
9751
|
size: 20,
|
|
9752
|
-
onClick:
|
|
9752
|
+
onClick: T
|
|
9753
9753
|
}, null, 8, ["class", "name"])) : p("", !0)
|
|
9754
9754
|
], 2),
|
|
9755
9755
|
C.hideDetails ? p("", !0) : (m(), Z("div", y3, [
|
|
9756
|
-
C.errorMsg ? (m(), Z("p", P3,
|
|
9757
|
-
!C.errorMsg && C.hint ? (m(), Z("p", v3,
|
|
9756
|
+
C.errorMsg ? (m(), Z("p", P3, w(C.errorMsg), 1)) : p("", !0),
|
|
9757
|
+
!C.errorMsg && C.hint ? (m(), Z("p", v3, w(C.hint), 1)) : p("", !0)
|
|
9758
9758
|
]))
|
|
9759
9759
|
])
|
|
9760
9760
|
]));
|
|
@@ -9762,7 +9762,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9762
9762
|
}), T3 = { class: "r-breadcrumb" }, F3 = {
|
|
9763
9763
|
key: 0,
|
|
9764
9764
|
class: "r-breadcrumb__title"
|
|
9765
|
-
}, u0 = /* @__PURE__ */
|
|
9765
|
+
}, u0 = /* @__PURE__ */ R({
|
|
9766
9766
|
__name: "RBreadcrumb",
|
|
9767
9767
|
props: {
|
|
9768
9768
|
items: { default: () => [] },
|
|
@@ -9783,17 +9783,17 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9783
9783
|
}, {
|
|
9784
9784
|
default: n1(() => [
|
|
9785
9785
|
f(C.$slots, "item-icon", {}, () => [
|
|
9786
|
-
L.icon ? (m(),
|
|
9786
|
+
L.icon ? (m(), E(D, {
|
|
9787
9787
|
key: 0,
|
|
9788
9788
|
name: L.icon
|
|
9789
9789
|
}, null, 8, ["name"])) : p("", !0)
|
|
9790
9790
|
]),
|
|
9791
|
-
L.onlyIcon ? p("", !0) : (m(), Z("span", F3,
|
|
9791
|
+
L.onlyIcon ? p("", !0) : (m(), Z("span", F3, w(L.title), 1))
|
|
9792
9792
|
]),
|
|
9793
9793
|
_: 2
|
|
9794
9794
|
}, 1032, ["to"]),
|
|
9795
9795
|
f(C.$slots, "custom-seperator", {}, () => [
|
|
9796
|
-
i !== C.items.length - 1 && V.seperator ? (m(),
|
|
9796
|
+
i !== C.items.length - 1 && V.seperator ? (m(), E(D, {
|
|
9797
9797
|
key: 0,
|
|
9798
9798
|
class: "r-breadcrumb__separator",
|
|
9799
9799
|
name: V.seperator
|
|
@@ -9833,7 +9833,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9833
9833
|
Y3,
|
|
9834
9834
|
J3,
|
|
9835
9835
|
C0
|
|
9836
|
-
], S0 = /* @__PURE__ */
|
|
9836
|
+
], S0 = /* @__PURE__ */ R({
|
|
9837
9837
|
__name: "RPagination",
|
|
9838
9838
|
props: {
|
|
9839
9839
|
page: { default: 1 },
|
|
@@ -9846,30 +9846,30 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9846
9846
|
},
|
|
9847
9847
|
emits: ["update:page", "update:perPage", "update:info"],
|
|
9848
9848
|
setup(H, { emit: V }) {
|
|
9849
|
-
const C = H, M = V, A =
|
|
9849
|
+
const C = H, M = V, A = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), i = g(() => ({
|
|
9850
9850
|
start: C.page * C.perPage - C.perPage,
|
|
9851
9851
|
end: C.page * C.perPage
|
|
9852
9852
|
}));
|
|
9853
|
-
|
|
9853
|
+
$(() => i.value, () => {
|
|
9854
9854
|
M("update:info", i.value);
|
|
9855
9855
|
});
|
|
9856
|
-
function e(
|
|
9857
|
-
|
|
9856
|
+
function e(d) {
|
|
9857
|
+
d < 1 || d > L.value || M("update:page", d);
|
|
9858
9858
|
}
|
|
9859
|
-
function
|
|
9860
|
-
M("update:perPage",
|
|
9859
|
+
function t({ value: d }) {
|
|
9860
|
+
M("update:perPage", d);
|
|
9861
9861
|
}
|
|
9862
|
-
return (
|
|
9863
|
-
class:
|
|
9862
|
+
return (d, l) => (m(), Z("div", {
|
|
9863
|
+
class: O(["r-pagination", [`r-pagination--${C.position}`]])
|
|
9864
9864
|
}, [
|
|
9865
9865
|
S("div", R3, [
|
|
9866
9866
|
S("div", x3, [
|
|
9867
|
-
S("span", null,
|
|
9867
|
+
S("span", null, w(C.itemsPerPageText), 1),
|
|
9868
9868
|
K(Y5, {
|
|
9869
9869
|
modelValue: A.value,
|
|
9870
9870
|
"onUpdate:modelValue": [
|
|
9871
9871
|
l[0] || (l[0] = (o) => A.value = o),
|
|
9872
|
-
|
|
9872
|
+
t
|
|
9873
9873
|
],
|
|
9874
9874
|
class: "w-24",
|
|
9875
9875
|
"hide-details": "",
|
|
@@ -9877,15 +9877,15 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9877
9877
|
options: C.perPageOptions
|
|
9878
9878
|
}, null, 8, ["modelValue", "options"])
|
|
9879
9879
|
]),
|
|
9880
|
-
S("span", D3,
|
|
9880
|
+
S("span", D3, w(C.infoText), 1),
|
|
9881
9881
|
S("button", {
|
|
9882
9882
|
class: "r-pagination__paginator__first",
|
|
9883
9883
|
disabled: C.page === 1,
|
|
9884
9884
|
onClick: l[1] || (l[1] = (o) => e(1))
|
|
9885
9885
|
}, [
|
|
9886
|
-
f(
|
|
9886
|
+
f(d.$slots, "first", {}, () => [
|
|
9887
9887
|
(m(), Z("svg", {
|
|
9888
|
-
class:
|
|
9888
|
+
class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
|
|
9889
9889
|
fill: "none",
|
|
9890
9890
|
height: "20",
|
|
9891
9891
|
stroke: "#000000",
|
|
@@ -9903,9 +9903,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9903
9903
|
disabled: C.page === 1,
|
|
9904
9904
|
onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
|
|
9905
9905
|
}, [
|
|
9906
|
-
f(
|
|
9906
|
+
f(d.$slots, "prev", {}, () => [
|
|
9907
9907
|
(m(), Z("svg", {
|
|
9908
|
-
class:
|
|
9908
|
+
class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
|
|
9909
9909
|
fill: "none",
|
|
9910
9910
|
height: "20",
|
|
9911
9911
|
stroke: "#000000",
|
|
@@ -9923,9 +9923,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9923
9923
|
disabled: C.page === L.value,
|
|
9924
9924
|
onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
|
|
9925
9925
|
}, [
|
|
9926
|
-
f(
|
|
9926
|
+
f(d.$slots, "next", {}, () => [
|
|
9927
9927
|
(m(), Z("svg", {
|
|
9928
|
-
class:
|
|
9928
|
+
class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
|
|
9929
9929
|
fill: "none",
|
|
9930
9930
|
height: "20",
|
|
9931
9931
|
stroke: "#000000",
|
|
@@ -9943,9 +9943,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9943
9943
|
disabled: C.page === L.value,
|
|
9944
9944
|
onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
|
|
9945
9945
|
}, [
|
|
9946
|
-
f(
|
|
9946
|
+
f(d.$slots, "last", {}, () => [
|
|
9947
9947
|
(m(), Z("svg", {
|
|
9948
|
-
class:
|
|
9948
|
+
class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
|
|
9949
9949
|
fill: "none",
|
|
9950
9950
|
height: "20",
|
|
9951
9951
|
stroke: "#000000",
|
|
@@ -9961,7 +9961,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9961
9961
|
])
|
|
9962
9962
|
], 2));
|
|
9963
9963
|
}
|
|
9964
|
-
}), V0 = ["value"], s0 = /* @__PURE__ */
|
|
9964
|
+
}), V0 = ["value"], s0 = /* @__PURE__ */ R({
|
|
9965
9965
|
__name: "RProgressbar",
|
|
9966
9966
|
props: {
|
|
9967
9967
|
value: { default: 0 },
|
|
@@ -9978,7 +9978,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9978
9978
|
value: V.value
|
|
9979
9979
|
}, null, 12, V0));
|
|
9980
9980
|
}
|
|
9981
|
-
}), O1 = "rocket-ui:r-item-group", c0 = /* @__PURE__ */
|
|
9981
|
+
}), O1 = "rocket-ui:r-item-group", c0 = /* @__PURE__ */ R({
|
|
9982
9982
|
__name: "RItemGroup",
|
|
9983
9983
|
props: {
|
|
9984
9984
|
modelValue: { default: () => [] },
|
|
@@ -9991,33 +9991,33 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
9991
9991
|
},
|
|
9992
9992
|
emits: ["update:modelValue"],
|
|
9993
9993
|
setup(H, { emit: V }) {
|
|
9994
|
-
const C = H, M = V, A =
|
|
9994
|
+
const C = H, M = V, A = N(C.as ?? "div"), L = N(C.modelValue), i = g(() => C.selectedClass);
|
|
9995
9995
|
s1(`${O1}:selectedClass`, i.value);
|
|
9996
9996
|
function e(l) {
|
|
9997
9997
|
return L.value.includes(l);
|
|
9998
9998
|
}
|
|
9999
9999
|
s1(`${O1}:isSelected`, e);
|
|
10000
|
-
function
|
|
10001
|
-
C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((
|
|
10000
|
+
function t(l, o) {
|
|
10001
|
+
C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((n) => n !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
|
|
10002
10002
|
}
|
|
10003
|
-
s1(`${O1}:select`,
|
|
10004
|
-
function
|
|
10003
|
+
s1(`${O1}:select`, t);
|
|
10004
|
+
function d() {
|
|
10005
10005
|
return C.disabled;
|
|
10006
10006
|
}
|
|
10007
|
-
return s1(`${O1}:isDisabled`,
|
|
10007
|
+
return s1(`${O1}:isDisabled`, d), $(() => C.modelValue, () => {
|
|
10008
10008
|
L.value = C.modelValue;
|
|
10009
|
-
}), (l, o) => (m(),
|
|
10009
|
+
}), (l, o) => (m(), E(g2(A.value), null, {
|
|
10010
10010
|
default: n1(() => [
|
|
10011
10011
|
f(l.$slots, "default", {
|
|
10012
10012
|
isSelected: e,
|
|
10013
|
-
select:
|
|
10013
|
+
select: t,
|
|
10014
10014
|
selected: L.value
|
|
10015
10015
|
})
|
|
10016
10016
|
]),
|
|
10017
10017
|
_: 3
|
|
10018
10018
|
}));
|
|
10019
10019
|
}
|
|
10020
|
-
}), p1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */
|
|
10020
|
+
}), p1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ R({
|
|
10021
10021
|
__name: "RItem",
|
|
10022
10022
|
props: {
|
|
10023
10023
|
value: { default: null },
|
|
@@ -10028,13 +10028,13 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
|
|
|
10028
10028
|
function e() {
|
|
10029
10029
|
V.disabled || A(V.value, !C(V.value));
|
|
10030
10030
|
}
|
|
10031
|
-
function
|
|
10031
|
+
function t() {
|
|
10032
10032
|
V.disabled || A(V.value, !0);
|
|
10033
10033
|
}
|
|
10034
|
-
return (
|
|
10034
|
+
return (d, l) => f(d.$slots, "default", {
|
|
10035
10035
|
disabled: V1(L)(V.value),
|
|
10036
10036
|
isSelected: V1(C)(V.value),
|
|
10037
|
-
select:
|
|
10037
|
+
select: t,
|
|
10038
10038
|
selectedClass: i.value,
|
|
10039
10039
|
toggle: e
|
|
10040
10040
|
});
|
|
@@ -10050,7 +10050,7 @@ export {
|
|
|
10050
10050
|
t0 as RCheckbox,
|
|
10051
10051
|
Y2 as RChip,
|
|
10052
10052
|
Y5 as RDropdown,
|
|
10053
|
-
|
|
10053
|
+
D as RIcon,
|
|
10054
10054
|
O0 as RItem,
|
|
10055
10055
|
c0 as RItemGroup,
|
|
10056
10056
|
r2 as RLabel,
|